@abyss-project/commons-front-core 9.1.1 → 9.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/README.md +63 -0
- package/catalog/catalog-entries.ts +12 -0
- package/catalog/pages/AmbientBackground.tsx +83 -0
- package/catalog/pages/AvatarGroup.tsx +45 -0
- package/catalog/pages/BarChart.tsx +127 -0
- package/catalog/pages/CompanySearchField.tsx +113 -0
- package/catalog/pages/ConfirmDialog.tsx +43 -1
- package/catalog/pages/ConfirmDialogWarning.tsx +45 -0
- package/catalog/pages/CopyField.tsx +24 -1
- package/catalog/pages/EntityImageField.tsx +124 -0
- package/catalog/pages/LineChart.tsx +138 -0
- package/catalog/pages/Pagination.tsx +52 -0
- package/catalog/pages/Section.tsx +16 -2
- package/catalog/pages/TeamAvatar.tsx +40 -0
- package/catalog/pages/UserPicker.tsx +124 -0
- package/catalog/pages/index.ts +20 -0
- package/dist/{AbyssCookieConsentProvider-B7-F6osY.js → AbyssCookieConsentProvider-CeDdkoPq.js} +104 -36
- package/dist/{CookieConsentSettings.component-DxQL4ULz.js → CookieConsentSettings.component-tJE0g-SS.js} +1 -1
- package/dist/components/data/BarChart/BarChart.d.ts +47 -0
- package/dist/components/data/BarChart/BarChart.spec.d.ts +1 -0
- package/dist/components/data/DataTable/DataTableDesktop.d.ts +1 -1
- package/dist/components/data/DataTable/DataTableMobile.d.ts +1 -1
- package/dist/components/data/DataTable/data-table.types.d.ts +6 -0
- package/dist/components/data/LineChart/LineChart.d.ts +44 -0
- package/dist/components/data/LineChart/LineChart.spec.d.ts +1 -0
- package/dist/components/data/LineChart/line-chart-ticks.d.ts +31 -0
- package/dist/components/data/LineChart/line-chart-ticks.spec.d.ts +1 -0
- package/dist/components/data/Pagination/Pagination.d.ts +16 -0
- package/dist/components/data/Pagination/Pagination.spec.d.ts +1 -0
- package/dist/components/data/chart-series-tone.d.ts +21 -0
- package/dist/components/data/chart-series-tone.spec.d.ts +1 -0
- package/dist/components/data/index.d.ts +4 -0
- package/dist/components/inputs/ColorField/ColorField.d.ts +8 -5
- package/dist/components/inputs/CompanySearchField/CompanySearchField.d.ts +24 -0
- package/dist/components/inputs/CompanySearchField/CompanySearchField.spec.d.ts +1 -0
- package/dist/components/inputs/CompanySearchField/pappers-company.d.ts +18 -0
- package/dist/components/inputs/CopyField/CopyField.d.ts +22 -6
- package/dist/components/inputs/EntityImageField/EntityImageField.d.ts +47 -0
- package/dist/components/inputs/EntityImageField/EntityImageField.spec.d.ts +1 -0
- package/dist/components/inputs/UserPicker/UserPicker.d.ts +50 -0
- package/dist/components/inputs/UserPicker/UserPicker.spec.d.ts +1 -0
- package/dist/components/inputs/index.d.ts +3 -0
- package/dist/components/layers/ConfirmDialog/ConfirmDialog.d.ts +6 -2
- package/dist/components/layers/ConfirmDialog/useConfirmDialog.d.ts +21 -0
- package/dist/components/layers/ConfirmDialog/useConfirmDialog.spec.d.ts +1 -0
- package/dist/components/layers/index.d.ts +1 -0
- package/dist/components/meaning/AvatarGroup/AvatarGroup.d.ts +22 -0
- package/dist/components/meaning/AvatarGroup/AvatarGroup.spec.d.ts +1 -0
- package/dist/components/meaning/TeamAvatar/TeamAvatar.d.ts +14 -0
- package/dist/components/meaning/TeamAvatar/TeamAvatar.spec.d.ts +1 -0
- package/dist/components/meaning/index.d.ts +2 -0
- package/dist/components/structure/AmbientBackground/AmbientBackground.d.ts +24 -0
- package/dist/components/structure/AmbientBackground/AmbientBackground.spec.d.ts +1 -0
- package/dist/components/structure/Section/Section.d.ts +10 -2
- package/dist/components/structure/index.d.ts +1 -0
- package/dist/cookie-consent.js +2 -2
- package/dist/design-theme-D3DQFMu-.js +27614 -0
- package/dist/hooks/use-rich-intl.hook.d.ts +68 -0
- package/dist/{index-uLh81uFU.js → index-3wZ_n-X5.js} +2 -2
- package/dist/{index-BuQlif6i.js → index-7E3aXufv.js} +2 -2
- package/dist/{index-iQhqBjKY.js → index-9E4QhCRp.js} +2 -2
- package/dist/{index-BtzB7aR_.js → index-B7yu6Zm9.js} +2 -2
- package/dist/{index-DkcMwm_T.js → index-BK4lWFRR.js} +3 -3
- package/dist/{index-2zbZ2URx.js → index-BTfe4Sz-.js} +3 -3
- package/dist/{index-CspGahq0.js → index-BbwAoYtC.js} +4 -4
- package/dist/{index-Waz6-pQr.js → index-BcUA-oDy.js} +4 -4
- package/dist/{index-CTP0QoCT.js → index-BfICcXrk.js} +3 -3
- package/dist/{index-DflXNluH.js → index-By24n0PI.js} +2 -2
- package/dist/{index-C5OyIHCq.js → index-CMyNL_Kk.js} +2 -2
- package/dist/{index-BloHDADq.js → index-CNMUrFys.js} +35281 -47311
- package/dist/{index-BMM6rvML.js → index-CTkBexi5.js} +2 -2
- package/dist/{index-Bhhwuj39.js → index-CUoOFhRH.js} +2 -2
- package/dist/{index-RkXYGPSf.js → index-CZvosKer.js} +4 -4
- package/dist/{index-uGXjK3xv.js → index-CzkoqdQK.js} +3 -3
- package/dist/{index-CsyAu658.js → index-D3QW807K.js} +2 -2
- package/dist/{index-IooWxH41.js → index-D6Gkj-V6.js} +2 -2
- package/dist/{index-Dew1ymFy.js → index-DYUdQPwj.js} +2 -2
- package/dist/{index-jhW25X__.js → index-DeoE1f9Z.js} +2 -2
- package/dist/{index-BXtPl6pH.js → index-F67JSDx7.js} +1 -1
- package/dist/{index-BAcf97X_.js → index-rpW-_Gh4.js} +2 -2
- package/dist/index.js +5979 -4545
- package/dist/legacy/components/CompanySearchAutocomplete/CompanySearchAutocomplete.d.ts +2 -14
- package/dist/legacy/components/Layouts/AbyssFamilyBanner/AbyssFamilyBanner.component.d.ts +3 -7
- package/dist/legacy/utils/file.utils.d.ts +1 -2
- package/dist/legacy.js +107 -107
- package/dist/theme/tokens/choice-swatches.d.ts +12 -0
- package/dist/theme/tokens/choice-swatches.spec.d.ts +1 -0
- package/dist/theme/tokens/index.d.ts +1 -0
- package/dist/theme/tokens/semantic.d.ts +4 -1
- package/dist/translations/en.d.ts +34 -0
- package/dist/translations/fr.d.ts +34 -0
- package/dist/utils/family.d.ts +12 -0
- package/dist/utils/file.utils.d.ts +10 -0
- package/dist/utils/file.utils.spec.d.ts +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/package.json +1 -1
- package/dist/design-theme-BztWe75w.js +0 -15490
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
nom_entreprise: string;
|
|
5
|
-
date_creation: string;
|
|
6
|
-
forme_juridique?: string;
|
|
7
|
-
domaine_activite?: string;
|
|
8
|
-
siege?: {
|
|
9
|
-
adresse?: string;
|
|
10
|
-
code_postal?: string;
|
|
11
|
-
ville?: string;
|
|
12
|
-
departement?: string;
|
|
13
|
-
pays?: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
2
|
+
import { PappersCompany } from '../../../components/inputs/CompanySearchField/pappers-company';
|
|
3
|
+
export type { PappersCompany };
|
|
16
4
|
export interface CompanySearchAutocompleteProps {
|
|
17
5
|
value: string;
|
|
18
6
|
onInputChange: (value: string) => void;
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { CurrentFamilyInfo, CurrentFamilyStatus } from '../../../../utils/family';
|
|
3
|
+
export type { CurrentFamilyInfo };
|
|
2
4
|
export type FamilyBannerVariant = 'footer' | 'settings';
|
|
3
|
-
export type FamilyBannerStatus =
|
|
4
|
-
export type CurrentFamilyInfo = {
|
|
5
|
-
id: string;
|
|
6
|
-
name: string;
|
|
7
|
-
role: string;
|
|
8
|
-
status: FamilyBannerStatus;
|
|
9
|
-
};
|
|
5
|
+
export type FamilyBannerStatus = CurrentFamilyStatus;
|
|
10
6
|
type Props = {
|
|
11
7
|
currentFamily?: CurrentFamilyInfo | null;
|
|
12
8
|
abyssUrl?: string;
|
package/dist/legacy.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { aE as e, aF as o, R as t, M as r, Q as i, aO as b, Z as n, aI as A, $ as l, a6 as C, aB as S, ac as p, ad as u, aQ as y, b0 as c, a$ as d, aJ as g, aC as T, aY as P, aZ as I, aV as h, ay as _, Y as L, ae as
|
|
2
|
-
import { A as
|
|
3
|
-
import { C as
|
|
4
|
-
import {
|
|
1
|
+
import { aE as e, aF as o, R as t, M as r, Q as i, aO as b, Z as n, aI as A, $ as l, a6 as C, aB as S, ac as p, ad as u, aQ as y, b0 as c, a$ as d, aJ as g, aC as T, aY as P, aZ as I, aV as h, ay as _, Y as L, ae as m, a_ as E, aW as O, af as R, bk as D, _ as f, bn as k, bt as B, ap as M, aH as v, al as F, ak as N, aD as x, aG as U, aX as W, V as w, a5 as Q, a4 as H, bM as G, bo as V, bP as Y, ag as j, ai as z, ah as X, aa as K, a9 as Z, a8 as q, bV as J, at as $, aS as aa, aR as sa, aw as ea, ax as oa, ab as ta, aj as ra, bQ as ia, bT as ba, bN as na, bO as Aa, aT as la, aL as Ca, X as Sa, ar as pa, aq as ua, av as ya, a0 as ca, aU as da, au as ga, O as Ta, bS as Pa, bL as Ia, bl as ha, bm as _a, K as La, W as ma, an as Ea, ao as Oa, a1 as Ra, am as Da, aM as fa, bv as ka, bu as Ba, bq as Ma, b8 as va, b9 as Fa, ba as Na, bd as xa, bi as Ua, bg as Wa, b7 as wa, b6 as Qa, b3 as Ha, bb as Ga, b2 as Va, b5 as Ya, bj as ja, bc as za, b4 as Xa, bh as Ka, U as Za, S as qa, aK as Ja, aN as $a, aP as as, a2 as ss, a3 as es, bH as os, b1 as ts, br as rs, by as is, aA as bs, bA as ns, bJ as As, bD as ls, bB as Cs, bC as Ss, bf as ps, be as us, bU as ys, as as cs, bR as ds, bw as gs, bE as Ts, bs as Ps, bp as Is, bK as hs, bx as _s, bG as Ls, bI as ms, bz as Es, bF as Os, az as Rs, a7 as Ds, bW as fs } from "./index-CNMUrFys.js";
|
|
2
|
+
import { A as Bs, h as Ms, c as vs, C as Fs, D as Ns, R as xs, V as Us, p as Ws, T as ws, H as Qs, d as Hs, I as Gs, J as Vs, F as Ys, G as js, y as zs, B as Xs, f as Ks, L as Zs, M as qs, W as Js, X as $s, P as ae, Q as se, Y as ee, Z as oe, x as te, n as re, m as ie, z as be, E as ne, o as Ae, q as le, r as Ce, e as Se, v as pe, N as ue, O as ye, U as ce, K as de, S as ge, u as Te, b as Pe, a as Ie, w as he } from "./AbyssCookieConsentProvider-CeDdkoPq.js";
|
|
3
|
+
import { C as Le } from "./CookieConsentSettings.component-tJE0g-SS.js";
|
|
4
|
+
import { bw as Ee, ab as Oe, bv as Re, bu as De, bx as fe, a9 as ke, aa as Be, a3 as Me, a4 as ve, a7 as Fe, al as Ne, bz as xe, a6 as Ue, am as We, bA as we, bB as Qe, ap as He, a8 as Ge, an as Ve, a5 as Ye, ao as je, by as ze } from "./design-theme-D3DQFMu-.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
Ee as ABYSS_SERVICE_CONFIG,
|
|
7
7
|
e as ABYSS_SIDEBAR_WIDTH,
|
|
8
8
|
o as ABYSS_SIDEBAR_WIDTH_COLLAPSED,
|
|
9
9
|
t as AVATAR_BASE_SX,
|
|
@@ -14,7 +14,7 @@ export {
|
|
|
14
14
|
A as AbyssBillingPlan,
|
|
15
15
|
l as AbyssCashFlowChart,
|
|
16
16
|
C as AbyssCommandPalette,
|
|
17
|
-
|
|
17
|
+
Bs as AbyssCookieConsentProvider,
|
|
18
18
|
S as AbyssDashboardLayout,
|
|
19
19
|
p as AbyssDatePicker,
|
|
20
20
|
u as AbyssDateTimePicker,
|
|
@@ -28,46 +28,46 @@ export {
|
|
|
28
28
|
h as AbyssLayoutNotifications,
|
|
29
29
|
_ as AbyssLayoutProvider,
|
|
30
30
|
L as AbyssLineChart,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
Oe as AbyssLoadingScreen,
|
|
32
|
+
m as AbyssMarkdownEditor,
|
|
33
|
+
E as AbyssMenuItem,
|
|
34
|
+
Ms as AbyssModal,
|
|
35
35
|
O as AbyssNotifications,
|
|
36
36
|
R as AbyssNumberField,
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
D as AbyssPendingInvitations,
|
|
38
|
+
f as AbyssPieChart,
|
|
39
39
|
k as AbyssQuotaGauge,
|
|
40
40
|
B as AbyssQuotaOffer,
|
|
41
41
|
M as AbyssScopeSwitcher,
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
v as AbyssSearchBar,
|
|
43
|
+
F as AbyssSelectOrganization,
|
|
44
44
|
N as AbyssSelectProject,
|
|
45
|
-
|
|
45
|
+
Re as AbyssServiceChip,
|
|
46
46
|
De as AbyssServiceSelect,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
fe as AbyssServiceSingleSelect,
|
|
48
|
+
x as AbyssSidebar,
|
|
49
|
+
ke as AbyssTable,
|
|
50
50
|
U as AbyssThemeToggle,
|
|
51
|
-
|
|
51
|
+
W as AbyssToast,
|
|
52
52
|
w as AccountTransactionsRow,
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
Q as ApplicationSentinelTypeChip,
|
|
54
|
+
H as ApplicationWebhookTypeChip,
|
|
55
55
|
G as BILLING_ACCOUNT_STATUS_COLORS,
|
|
56
56
|
V as BUBBLE_MAX_WIDTH,
|
|
57
57
|
vs as COOKIE_NAME,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
Y as CREDIT_TRANSACTION_TYPE_COLORS,
|
|
59
|
+
j as CloudImport,
|
|
60
|
+
z as CloudImportFile,
|
|
61
|
+
X as CloudImportFolder,
|
|
62
62
|
K as ColorPalette,
|
|
63
63
|
Z as ColorPicker,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
q as CompanySearchAutocomplete,
|
|
65
|
+
Be as ConfirmModal,
|
|
66
|
+
J as ConfirmModalContextProvider,
|
|
67
67
|
$ as ContextSelector,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
Fs as CookieConsentBanner,
|
|
69
|
+
Le as CookieConsentSettings,
|
|
70
|
+
Ns as DEFAULT_PRIVACY_HREF,
|
|
71
71
|
aa as DRAWER_WIDTH_COLLAPSED,
|
|
72
72
|
sa as DRAWER_WIDTH_EXPANDED,
|
|
73
73
|
ea as DashboardLayout,
|
|
@@ -75,7 +75,7 @@ export {
|
|
|
75
75
|
ta as DatePeriodPicker,
|
|
76
76
|
ra as DropZone,
|
|
77
77
|
ia as EUR_TRANSACTION_TYPE_COLORS,
|
|
78
|
-
|
|
78
|
+
Me as ErrorInfoBox,
|
|
79
79
|
ba as GROUP_COLORS,
|
|
80
80
|
na as INVOICE_STATUS_COLORS,
|
|
81
81
|
Aa as INVOICE_TYPE_COLORS,
|
|
@@ -92,120 +92,120 @@ export {
|
|
|
92
92
|
Ta as OrganizationAvatar,
|
|
93
93
|
Pa as PAGE_ICONS,
|
|
94
94
|
Ia as PLAN_TIER_COLORS,
|
|
95
|
-
|
|
95
|
+
Fe as PasswordInput,
|
|
96
96
|
ha as PdfEditor,
|
|
97
97
|
_a as PdfOperationType,
|
|
98
98
|
La as ProjectAvatar,
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
ma as ProjectCard,
|
|
100
|
+
Ea as ProjectCategoryBadge,
|
|
101
101
|
Oa as ProjectLinkSelector,
|
|
102
102
|
Ra as ProjectStatusChip,
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
Da as ProjectTagChip,
|
|
104
|
+
fa as QRCodeModal,
|
|
105
105
|
ka as QUOTA_SERVICE_META,
|
|
106
|
-
|
|
106
|
+
Ne as QuotaOfferState,
|
|
107
107
|
Ba as QuotaReachedDialog,
|
|
108
108
|
Ma as QuotaSegmentKind,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
109
|
+
xs as ReconcileAction,
|
|
110
|
+
xe as SuccessInfoBox,
|
|
111
|
+
va as SupportActionButtons,
|
|
112
|
+
Fa as SupportActivityLog,
|
|
113
113
|
Na as SupportAttachmentsPanel,
|
|
114
|
-
|
|
114
|
+
xa as SupportCategoryChip,
|
|
115
115
|
Ua as SupportCategoryGroupCards,
|
|
116
|
-
|
|
116
|
+
Wa as SupportCategorySelect,
|
|
117
117
|
wa as SupportMessageInput,
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
Qa as SupportMessageThread,
|
|
119
|
+
Ha as SupportPriorityChip,
|
|
120
120
|
Ga as SupportSidebar,
|
|
121
121
|
Va as SupportStatusBadge,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
122
|
+
Ya as SupportTicketCreateForm,
|
|
123
|
+
ja as SupportTicketCreateStepper,
|
|
124
|
+
za as SupportTicketDetail,
|
|
125
|
+
Xa as SupportTicketList,
|
|
126
126
|
Ka as SupportTopBar,
|
|
127
127
|
Za as UserAvatar,
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
qa as UserAvatarList,
|
|
129
|
+
Ja as UserSettings,
|
|
130
130
|
$a as UserSettingsModal,
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
Us as VALIDITY_DAYS,
|
|
132
|
+
Ue as WarnInfoBox,
|
|
133
133
|
as as WaterParticles,
|
|
134
134
|
ss as WebhookResponseCodeChip,
|
|
135
135
|
es as WebhookTypeChip,
|
|
136
|
-
|
|
136
|
+
Ws as amber,
|
|
137
137
|
os as bioluminescentPulse,
|
|
138
|
-
|
|
138
|
+
ws as brand,
|
|
139
139
|
ts as buildAbyssFamilyMenuSection,
|
|
140
140
|
rs as buildQuotaAxis,
|
|
141
141
|
is as buildQuotaServiceChipSx,
|
|
142
142
|
Qs as chipColors,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
Hs as clearCookie,
|
|
144
|
+
Gs as colorPool,
|
|
145
|
+
Vs as colorPoolExtended,
|
|
146
146
|
Ys as colors,
|
|
147
147
|
bs as createAbyssLayoutStore,
|
|
148
148
|
ns as createAbyssTheme,
|
|
149
|
-
|
|
149
|
+
js as cyan,
|
|
150
150
|
zs as darkCustom,
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
151
|
+
Xs as darkPalette,
|
|
152
|
+
We as deriveQuotaOfferState,
|
|
153
|
+
we as duration,
|
|
154
154
|
Qe as easing,
|
|
155
155
|
As as fadeIn,
|
|
156
|
-
|
|
156
|
+
Ks as flattenTranslations,
|
|
157
157
|
ls as fontFamily,
|
|
158
158
|
Cs as fontSize,
|
|
159
159
|
Ss as fontWeight,
|
|
160
160
|
ps as getCategoryConfig,
|
|
161
161
|
us as getCategoryGroup,
|
|
162
162
|
ys as getFileColor,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
163
|
+
He as getFileIcon,
|
|
164
|
+
cs as getLanguageFlag,
|
|
165
|
+
Zs as getPoolColor,
|
|
166
166
|
qs as getPoolColorExtended,
|
|
167
|
-
|
|
168
|
-
|
|
167
|
+
ds as getProjectColor,
|
|
168
|
+
gs as getQuotaServiceColor,
|
|
169
169
|
Ge as getServiceConfig,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
170
|
+
Js as glassDark,
|
|
171
|
+
$s as glassLight,
|
|
172
|
+
ae as glow,
|
|
173
|
+
se as glowCyan,
|
|
174
|
+
ee as gradientsDark,
|
|
175
|
+
oe as gradientsLight,
|
|
176
|
+
te as green,
|
|
177
|
+
Ts as iconSize,
|
|
178
|
+
re as indigo,
|
|
179
|
+
ie as legacyTokens,
|
|
180
|
+
be as lightCustom,
|
|
181
|
+
ne as lightPalette,
|
|
182
|
+
Ps as markerRatio,
|
|
183
|
+
Ae as neutral,
|
|
184
184
|
Ve as offersAction,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
185
|
+
Is as placeBubble,
|
|
186
|
+
hs as pulseGlow,
|
|
187
|
+
le as purple,
|
|
188
|
+
Ye as radius,
|
|
189
|
+
Ce as readCookie,
|
|
190
|
+
Se as reconcile,
|
|
191
|
+
pe as red,
|
|
192
|
+
_s as renderQuotaServiceIcon,
|
|
193
|
+
ue as shadow,
|
|
194
|
+
ye as shadowLight,
|
|
195
|
+
Ls as shimmer,
|
|
196
|
+
je as shouldSuggestModule,
|
|
197
197
|
ms as slideInUp,
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
198
|
+
ce as social,
|
|
199
|
+
de as tagColorPool,
|
|
200
|
+
ge as textShadow,
|
|
201
|
+
Es as theme,
|
|
202
|
+
ze as transition,
|
|
203
|
+
Os as typographyVariants,
|
|
204
|
+
Te as useAbyssCookieConsent,
|
|
205
|
+
Rs as useAbyssLayoutStore,
|
|
206
206
|
Ds as useCommandPaletteHotkey,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
207
|
+
fs as useConfirm,
|
|
208
|
+
Pe as useCookieConsent,
|
|
209
|
+
Ie as useOptionalAbyssCookieConsent,
|
|
210
|
+
he as writeCookie
|
|
211
211
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Oklch } from './oklch';
|
|
2
|
+
/** Lightness and chroma shared by every choice swatch: only the hue tells them apart. */
|
|
3
|
+
export declare const CHOICE_SWATCH_TONE: Omit<Oklch, 'h'>;
|
|
4
|
+
/** Hues of the choice swatches, around the wheel from the brand hue. */
|
|
5
|
+
export declare const CHOICE_SWATCH_HUES: readonly [266, 296, 326, 356, 26, 56, 86, 116, 146, 176, 206, 236];
|
|
6
|
+
/**
|
|
7
|
+
* The twelve choice swatches, as lowercase `#rrggbb`: `CHOICE_SWATCH_TONE` at each of
|
|
8
|
+
* `CHOICE_SWATCH_HUES`, converted by `oklchToHex`. Written out rather than computed: hosts store
|
|
9
|
+
* the picked value, so it must never drift with a change of the conversion (`choice-swatches.spec.ts`
|
|
10
|
+
* checks each value against its source).
|
|
11
|
+
*/
|
|
12
|
+
export declare const CHOICE_SWATCHES: readonly string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { Oklch } from './oklch';
|
|
2
2
|
import { ThemeMode } from './primitives';
|
|
3
|
-
export declare const SEMANTIC_TOKENS: readonly ["bg.canvas", "bg.sidebar", "bg.surface", "bg.raised", "bg.hover", "border.subtle", "border.strong", "border.control", "text.primary", "text.secondary", "text.muted", "accent", "accent.text", "accent.on", "focus.ring", "brand", "brand.gradientFrom", "brand.gradientTo", "status.success", "status.warning", "status.danger", "status.info", "status.highlight", "status.neutral", "status.success.soft", "status.warning.soft", "status.danger.soft", "status.info.soft", "status.highlight.soft", "status.neutral.soft", "overlay.scrim", "paper", "paper.on"];
|
|
3
|
+
export declare const SEMANTIC_TOKENS: readonly ["bg.canvas", "bg.sidebar", "bg.surface", "bg.raised", "bg.hover", "border.subtle", "border.strong", "border.control", "text.primary", "text.secondary", "text.muted", "accent", "accent.text", "accent.on", "focus.ring", "brand", "brand.gradientFrom", "brand.gradientTo", "status.success", "status.warning", "status.danger", "status.info", "status.highlight", "status.neutral", "status.success.soft", "status.warning.soft", "status.danger.soft", "status.info.soft", "status.highlight.soft", "status.neutral.soft", "overlay.scrim", "paper", "paper.on", "data.series.1", "data.series.2", "data.series.3", "data.series.4", "data.series.5", "data.series.6"];
|
|
4
4
|
export type SemanticToken = (typeof SEMANTIC_TOKENS)[number];
|
|
5
|
+
/** The data series colors, in the order a chart hands them to its series. */
|
|
6
|
+
export declare const DATA_SERIES_TOKENS: readonly ["data.series.1", "data.series.2", "data.series.3", "data.series.4", "data.series.5", "data.series.6"];
|
|
7
|
+
export type DataSeriesToken = (typeof DATA_SERIES_TOKENS)[number];
|
|
5
8
|
export declare const semanticTokens: Record<ThemeMode, Record<SemanticToken, Oklch>>;
|
|
6
9
|
/** Every semantic token of a mode, converted to sRGB hexadecimal ('#rrggbb' or '#rrggbbaa'). */
|
|
7
10
|
export declare function resolveTokens(mode: ThemeMode): Record<SemanticToken, string>;
|
|
@@ -1596,6 +1596,24 @@ declare const _default: {
|
|
|
1596
1596
|
hide: string;
|
|
1597
1597
|
copied: string;
|
|
1598
1598
|
'copy-failed': string;
|
|
1599
|
+
'load-failed': string;
|
|
1600
|
+
};
|
|
1601
|
+
'entity-image-field': {
|
|
1602
|
+
uploading: string;
|
|
1603
|
+
};
|
|
1604
|
+
'user-picker': {
|
|
1605
|
+
loading: string;
|
|
1606
|
+
clear: string;
|
|
1607
|
+
open: string;
|
|
1608
|
+
close: string;
|
|
1609
|
+
};
|
|
1610
|
+
'company-search-field': {
|
|
1611
|
+
label: string;
|
|
1612
|
+
placeholder: string;
|
|
1613
|
+
loading: string;
|
|
1614
|
+
error: string;
|
|
1615
|
+
created: string;
|
|
1616
|
+
clear: string;
|
|
1599
1617
|
};
|
|
1600
1618
|
'context-selector': {
|
|
1601
1619
|
personal: string;
|
|
@@ -1711,6 +1729,22 @@ declare const _default: {
|
|
|
1711
1729
|
};
|
|
1712
1730
|
};
|
|
1713
1731
|
data: {
|
|
1732
|
+
pagination: {
|
|
1733
|
+
previous: string;
|
|
1734
|
+
next: string;
|
|
1735
|
+
page: string;
|
|
1736
|
+
position: string;
|
|
1737
|
+
};
|
|
1738
|
+
'line-chart': {
|
|
1739
|
+
x: string;
|
|
1740
|
+
'no-value': string;
|
|
1741
|
+
empty: string;
|
|
1742
|
+
};
|
|
1743
|
+
'bar-chart': {
|
|
1744
|
+
category: string;
|
|
1745
|
+
'no-value': string;
|
|
1746
|
+
empty: string;
|
|
1747
|
+
};
|
|
1714
1748
|
'data-table': {
|
|
1715
1749
|
'select-all': string;
|
|
1716
1750
|
'select-row': string;
|
|
@@ -1596,6 +1596,24 @@ declare const _default: {
|
|
|
1596
1596
|
hide: string;
|
|
1597
1597
|
copied: string;
|
|
1598
1598
|
'copy-failed': string;
|
|
1599
|
+
'load-failed': string;
|
|
1600
|
+
};
|
|
1601
|
+
'entity-image-field': {
|
|
1602
|
+
uploading: string;
|
|
1603
|
+
};
|
|
1604
|
+
'user-picker': {
|
|
1605
|
+
loading: string;
|
|
1606
|
+
clear: string;
|
|
1607
|
+
open: string;
|
|
1608
|
+
close: string;
|
|
1609
|
+
};
|
|
1610
|
+
'company-search-field': {
|
|
1611
|
+
label: string;
|
|
1612
|
+
placeholder: string;
|
|
1613
|
+
loading: string;
|
|
1614
|
+
error: string;
|
|
1615
|
+
created: string;
|
|
1616
|
+
clear: string;
|
|
1599
1617
|
};
|
|
1600
1618
|
'context-selector': {
|
|
1601
1619
|
personal: string;
|
|
@@ -1711,6 +1729,22 @@ declare const _default: {
|
|
|
1711
1729
|
};
|
|
1712
1730
|
};
|
|
1713
1731
|
data: {
|
|
1732
|
+
pagination: {
|
|
1733
|
+
previous: string;
|
|
1734
|
+
next: string;
|
|
1735
|
+
page: string;
|
|
1736
|
+
position: string;
|
|
1737
|
+
};
|
|
1738
|
+
'line-chart': {
|
|
1739
|
+
x: string;
|
|
1740
|
+
'no-value': string;
|
|
1741
|
+
empty: string;
|
|
1742
|
+
};
|
|
1743
|
+
'bar-chart': {
|
|
1744
|
+
category: string;
|
|
1745
|
+
'no-value': string;
|
|
1746
|
+
empty: string;
|
|
1747
|
+
};
|
|
1714
1748
|
'data-table': {
|
|
1715
1749
|
'select-all': string;
|
|
1716
1750
|
'select-row': string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where the user stands toward their family organization: `none` without one, `pending` while the
|
|
3
|
+
* invitation waits for an answer, `active` as a member, `owner` as its creator.
|
|
4
|
+
*/
|
|
5
|
+
export type CurrentFamilyStatus = 'none' | 'pending' | 'active' | 'owner';
|
|
6
|
+
/** The family organization of the current user, as the family entry points read it. */
|
|
7
|
+
export type CurrentFamilyInfo = {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
role: string;
|
|
11
|
+
status: CurrentFamilyStatus;
|
|
12
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SvgIconComponent } from '@mui/icons-material';
|
|
2
|
+
/** The icon of a file by its MIME type; a generic file icon when the type is absent or unknown. */
|
|
3
|
+
export declare const getFileIcon: (mimeType: string | null) => SvgIconComponent;
|
|
4
|
+
/**
|
|
5
|
+
* A CSS colour reading the design tokens: `var(--abyss-data-series-n)` or `var(--abyss-text-muted)`.
|
|
6
|
+
* It follows the theme through the `--abyss-*` variables, so the host renders under
|
|
7
|
+
* `AbyssThemeProvider` or `DesignCssVariables`; being a variable, it is not a color MUI's `alpha()`
|
|
8
|
+
* can read: tint it with `color-mix()`.
|
|
9
|
+
*/
|
|
10
|
+
export declare const getFileColor: (mimeType: string | null) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/utils/index.d.ts
CHANGED