@abyss-project/commons-front-core 18.1.5 → 20.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/CHANGELOG.md +38 -0
- package/catalog/pages/DeliveryHistory.tsx +142 -79
- package/catalog/pages/DeliverySubscriptions.tsx +127 -127
- package/catalog/pages/ScheduledTasks.tsx +117 -117
- package/catalog/specs/captures.spec.ts +145 -145
- package/catalog/specs/write-capture-index.ts +81 -81
- package/dist/{CookieConsentSettings-D97TY138.js → CookieConsentSettings-iQ9XTosT.js} +1 -1
- package/dist/{Surface-CN1zQYLJ.js → Surface-DmHRzUtQ.js} +437 -169
- package/dist/{Tabs-CxD9y18t.js → Tabs-CxBeR0D-.js} +672 -665
- package/dist/components/business/Deliveries/ArchiveBodyNotes.d.ts +14 -0
- package/dist/components/business/Deliveries/ArchiveDialogs.d.ts +42 -0
- package/dist/components/business/Deliveries/DeliveryArchive.component.d.ts +19 -0
- package/dist/components/business/Deliveries/DeliveryArchive.component.spec.d.ts +1 -0
- package/dist/components/business/Deliveries/archive.logic.d.ts +122 -0
- package/dist/components/business/Deliveries/archive.logic.spec.d.ts +1 -0
- package/dist/components/business/Deliveries/deliveries.types.d.ts +30 -1
- package/dist/components/business/Deliveries/test-support/archive-actions.d.ts +3 -0
- package/dist/components/business/Deliveries/test-support/deliveries.fixtures.d.ts +18 -1
- package/dist/components/business/Deliveries/use-loaded.hook.d.ts +20 -0
- package/dist/components/data/DataTable/DataTableDesktop.d.ts +1 -1
- package/dist/components/data/DataTable/data-table.types.d.ts +5 -0
- package/dist/components/data/FacetPanel/FacetPanel.d.ts +3 -0
- package/dist/components/inputs/SegmentedControl/SegmentedControl.d.ts +8 -2
- package/dist/cookie-consent.js +2 -2
- package/dist/{design-theme-GGVSCauN.js → design-theme--v6CDR8w.js} +1 -1
- package/dist/{editors-BRtoE-Cn.js → editors-BmRsTu0H.js} +27 -27
- package/dist/editors.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +284 -16
- package/dist/{index-CgkFRcYO.js → index-BAH9H4GE.js} +3 -3
- package/dist/{index-55MhbV8A.js → index-BGAmhhJZ.js} +2 -2
- package/dist/{index-BgAY2Bpn.js → index-BTwuilx5.js} +3 -3
- package/dist/{index-lORwPFbG.js → index-Buo7Iim6.js} +4 -4
- package/dist/{index-JUTxkZGl.js → index-BwugEq4x.js} +2 -2
- package/dist/{index-Dq2PY8Hf.js → index-CI0SMeOa.js} +2 -2
- package/dist/{index-CVroXVVA.js → index-CJjWI7qL.js} +3 -3
- package/dist/{index-BcqlvUH-.js → index-CSl9Kc0V.js} +2 -2
- package/dist/{index-q5HxJPvO.js → index-ChCpWPzk.js} +4 -4
- package/dist/{index-BnrtBuyz.js → index-ClEFydIA.js} +2 -2
- package/dist/{index-VycSBSHm.js → index-CsZJyqSF.js} +2 -2
- package/dist/{index-f3rEzQD4.js → index-Cv8TWKKk.js} +2 -2
- package/dist/{index-4vozr_pR.js → index-DLIvsZA_.js} +2 -2
- package/dist/{index-m8hFXXte.js → index-DVyE9B4I.js} +2 -2
- package/dist/{index-BYjWj9Ll.js → index-DYdLhNjl.js} +3 -3
- package/dist/{index-0DnqWmbq.js → index-Dco3zEwV.js} +2 -2
- package/dist/{index-CoXRWuEB.js → index-DnweGlM_.js} +2 -2
- package/dist/{index-7GZ8XIqj.js → index-DsxBk5OJ.js} +1 -1
- package/dist/{index-BAt93dsR.js → index-DuLb3GSj.js} +4 -4
- package/dist/{index-zQdz10Oj.js → index-RjzeFVe-.js} +2 -2
- package/dist/{index-oZ7WObJR.js → index-ZL-d1iKb.js} +2 -2
- package/dist/index.js +10375 -9460
- package/dist/legacy/components/Chips/index.d.ts +0 -2
- package/dist/legacy.js +1235 -1258
- package/dist/translations/en.d.ts +134 -0
- package/dist/translations/fr.d.ts +134 -0
- package/package.json +6 -6
- package/dist/legacy/components/Chips/ApplicationWebhookTypeChip/ApplicationWebhookTypeChip.component.d.ts +0 -7
- package/dist/legacy/components/Chips/ApplicationWebhookTypeChip/index.d.ts +0 -1
- package/dist/legacy/components/Chips/WebhookTypeChip/WebhookTypeChip.component.d.ts +0 -7
- package/dist/legacy/components/Chips/WebhookTypeChip/index.d.ts +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface ArchivedBodyNoticeProps {
|
|
2
|
+
/** Opens the rehydration on the day of the row; absent for a viewer who may not write. */
|
|
3
|
+
onRehydrate?: () => void;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Where the body of a delivery would be, once it is archived: it says so and offers to bring the
|
|
7
|
+
* day back. No empty block stands in for the body.
|
|
8
|
+
*/
|
|
9
|
+
export declare function ArchivedBodyNotice({ onRehydrate }: ArchivedBodyNoticeProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
/** The chip of a row whose body comes from a rehydration, with the day its lease ends when known (the hour is in the archive section: the chip must fit a table cell). */
|
|
11
|
+
export declare function RehydratedBadge({ leaseEnd }: {
|
|
12
|
+
leaseEnd: Date | null;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { IRehydrationJob } from '@abyss-project/flow';
|
|
2
|
+
import { ApiRefusal } from './archive.logic';
|
|
3
|
+
import { DeliveryArchiveActions } from './deliveries.types';
|
|
4
|
+
interface SkippedDaysProps {
|
|
5
|
+
refusal: Pick<ApiRefusal, 'skippedDays'>;
|
|
6
|
+
}
|
|
7
|
+
/** The requested days a rehydration does not cover, each with its reason. */
|
|
8
|
+
export declare function SkippedDays({ refusal }: SkippedDaysProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
interface RehydrateDialogProps {
|
|
10
|
+
actions: Pick<DeliveryArchiveActions, 'estimate' | 'rehydrate'>;
|
|
11
|
+
/** The `YYYY-MM-DD` day the range starts on (« Remettre en ligne » from a row), if any. */
|
|
12
|
+
initialDay: string | null;
|
|
13
|
+
onClose(): void;
|
|
14
|
+
/** The job was created: the host reloads its jobs and its rows. */
|
|
15
|
+
onDone(): void;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* « Remettre en ligne »: the range, the estimate Flow gives for it (days brought back, size,
|
|
19
|
+
* rows, days it skips and why), the lease within what the plan grants, then the request.
|
|
20
|
+
* A refusal is said in words inside the dialog.
|
|
21
|
+
*/
|
|
22
|
+
export declare function RehydrateDialog({ actions, initialDay, onClose, onDone, }: RehydrateDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
interface ExtendDialogProps {
|
|
24
|
+
job: IRehydrationJob;
|
|
25
|
+
actions: Pick<DeliveryArchiveActions, 'extend'>;
|
|
26
|
+
onClose(): void;
|
|
27
|
+
onDone(): void;
|
|
28
|
+
}
|
|
29
|
+
/** Extends the lease of a job by whole days, up to the limit the job states for itself. */
|
|
30
|
+
export declare function ExtendDialog({ job, actions, onClose, onDone, }: ExtendDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
interface PurgeDialogProps {
|
|
32
|
+
actions: Pick<DeliveryArchiveActions, 'purge'>;
|
|
33
|
+
onClose(): void;
|
|
34
|
+
/** The number of archived days that were destroyed. */
|
|
35
|
+
onDone(purgedDays: number): void;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* « Supprimer de l'archive »: a range of days, then a confirmation that names the range and says
|
|
39
|
+
* it cannot be undone. A failed purge is said inside the confirmation, which stays open.
|
|
40
|
+
*/
|
|
41
|
+
export declare function PurgeDialog({ actions, onClose, onDone }: PurgeDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { DeliveryArchiveActions } from './deliveries.types';
|
|
3
|
+
interface DeliveryArchiveProps {
|
|
4
|
+
actions: DeliveryArchiveActions;
|
|
5
|
+
canManage: boolean;
|
|
6
|
+
/** Whether the viewer may destroy days for good: the right that deletes the subscription itself. */
|
|
7
|
+
canPurge: boolean;
|
|
8
|
+
/** The `YYYY-MM-DD` day to bring back, when the panel is opened from an archived row. */
|
|
9
|
+
rehydrateDay: string | null;
|
|
10
|
+
/** The rows of the history may have changed: the host reloads them. */
|
|
11
|
+
onChanged(): void;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The « Archive » section of a history: the archived days, the rehydrations with their state, and
|
|
15
|
+
* for a viewer who may write the subscription the actions that bring days back, extend or release
|
|
16
|
+
* a lease; and, for a viewer who may delete it, destroy days for good.
|
|
17
|
+
*/
|
|
18
|
+
export declare const DeliveryArchive: FC<DeliveryArchiveProps>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { IntlShape } from 'react-intl';
|
|
2
|
+
import { IDelivery, IRehydrationJob, IRehydrationSkippedDay, RehydrationFailureReason, RehydrationJobState, RehydrationRefusalReason, RehydrationSkipReason } from '@abyss-project/flow';
|
|
3
|
+
import { StatusTone } from '../../meaning/StatusBadge/StatusBadge';
|
|
4
|
+
/**
|
|
5
|
+
* The Flow enums are types only here (the SDK is an optional peer): `${Enum}` is the union of the
|
|
6
|
+
* values, which the code below compares and indexes by.
|
|
7
|
+
*/
|
|
8
|
+
export type JobStateValue = `${RehydrationJobState}`;
|
|
9
|
+
export type RefusalReasonValue = `${RehydrationRefusalReason}`;
|
|
10
|
+
export type SkipReasonValue = `${RehydrationSkipReason}`;
|
|
11
|
+
export type FailureReasonValue = `${RehydrationFailureReason}`;
|
|
12
|
+
/**
|
|
13
|
+
* Days a delivery or a run keeps its body online: `DELIVERY_BODY_ONLINE_DAYS` of the Flow SDK,
|
|
14
|
+
* which cannot be imported as a value here. A replay is refused from this age.
|
|
15
|
+
*/
|
|
16
|
+
export declare const BODY_ONLINE_DAYS = 30;
|
|
17
|
+
/** Code of the refusal of a replay from that age (`Code.deliveryReplayWindowExpired`). */
|
|
18
|
+
export declare const REPLAY_WINDOW_EXPIRED_CODE = "delivery_replay_window_expired";
|
|
19
|
+
export declare enum BodyState {
|
|
20
|
+
/** The body is on the row. */
|
|
21
|
+
Online = "online",
|
|
22
|
+
/** The body left the row for the archive and no rehydration brought it back. */
|
|
23
|
+
Archived = "archived",
|
|
24
|
+
/** The body shown comes from a rehydration of the archive. */
|
|
25
|
+
Rehydrated = "rehydrated"
|
|
26
|
+
}
|
|
27
|
+
export interface ArchivableRow {
|
|
28
|
+
detailArchivedAt: Date | string | null;
|
|
29
|
+
rehydrated: boolean;
|
|
30
|
+
}
|
|
31
|
+
export declare const bodyState: (row: ArchivableRow) => BodyState;
|
|
32
|
+
export declare enum ReplayOffer {
|
|
33
|
+
/** Nothing to offer: the delivery has not ended. */
|
|
34
|
+
Hidden = "hidden",
|
|
35
|
+
Available = "available",
|
|
36
|
+
/** Shown disabled, with the reason: the body is archived, replay is possible for 30 days. */
|
|
37
|
+
WindowExpired = "window-expired"
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* What a row offers for a replay. A row from 30 days of age, whose body is archived or comes from
|
|
41
|
+
* a rehydration (always past the window) shows the action disabled and says why. The age is the
|
|
42
|
+
* one of the API (`now - createdAt >= 30 days`).
|
|
43
|
+
*/
|
|
44
|
+
export declare const replayOffer: (delivery: IDelivery, now: Date) => ReplayOffer;
|
|
45
|
+
/** The `YYYY-MM-DD` (UTC) day of an instant: the unit of the archive. */
|
|
46
|
+
export declare const utcDayOf: (value: Date | string) => string;
|
|
47
|
+
/**
|
|
48
|
+
* A day of the archive (`YYYY-MM-DD`, or an instant) in the viewer's language, read in UTC as the
|
|
49
|
+
* archive cuts its days.
|
|
50
|
+
*/
|
|
51
|
+
export declare const formatUtcDay: (intl: Pick<IntlShape, "formatDate">, value: Date | string) => string;
|
|
52
|
+
/** A queued, filling or active job: it can be released. */
|
|
53
|
+
export declare const isJobLive: (job: IRehydrationJob) => boolean;
|
|
54
|
+
/**
|
|
55
|
+
* When the lease that serves a rehydrated row ends: the latest `effectiveExpiresAt` among the
|
|
56
|
+
* serving jobs whose range holds the row's UTC day; `null` when none does (the row does not carry
|
|
57
|
+
* its lease, it is read from the jobs).
|
|
58
|
+
*/
|
|
59
|
+
export declare const leaseEndFor: (jobs: IRehydrationJob[], instant: Date | string) => Date | null;
|
|
60
|
+
export declare enum ExtensionBlock {
|
|
61
|
+
/** The lease is not open: a queued job has none, an ended one is over. */
|
|
62
|
+
NotOpen = "not-open",
|
|
63
|
+
Exhausted = "exhausted",
|
|
64
|
+
AtLimit = "at-limit"
|
|
65
|
+
}
|
|
66
|
+
export type ExtensionRoom = {
|
|
67
|
+
maxDays: number;
|
|
68
|
+
} | {
|
|
69
|
+
blocked: ExtensionBlock;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* How many days an extension may add: from the lease end up to `maxExpiresAt`, in whole days,
|
|
73
|
+
* and only while extensions remain.
|
|
74
|
+
*/
|
|
75
|
+
export declare const extensionRoom: (job: IRehydrationJob) => ExtensionRoom;
|
|
76
|
+
/** The new end of the lease for an extension of `days` days, ISO 8601. */
|
|
77
|
+
export declare const extendedExpiry: (job: IRehydrationJob, days: number) => string;
|
|
78
|
+
/** Percent of the segments read, 0 to 100. */
|
|
79
|
+
export declare const jobProgress: (job: IRehydrationJob) => number;
|
|
80
|
+
export declare const jobStateTone: (state: RehydrationJobState) => StatusTone;
|
|
81
|
+
/**
|
|
82
|
+
* The `YYYY-MM-DD` of a date picked in the calendar: the day the viewer sees, taken as the UTC
|
|
83
|
+
* day of the archive.
|
|
84
|
+
*/
|
|
85
|
+
export declare const calendarDay: (date: Date) => string;
|
|
86
|
+
/** The picked days as the instants a rehydration asks for: the first day's start to the last day's end (UTC). */
|
|
87
|
+
export declare const rehydrationRange: (from: Date, to: Date) => {
|
|
88
|
+
rangeStart: string;
|
|
89
|
+
rangeEnd: string;
|
|
90
|
+
};
|
|
91
|
+
/** A `YYYY-MM-DD` day as a date in the viewer's calendar (noon, out of reach of a zone shift). */
|
|
92
|
+
export declare const calendarDateOf: (day: string) => Date;
|
|
93
|
+
/** What the API answered when it refused: read from `{ error: { code, params } }`. */
|
|
94
|
+
export interface ApiRefusal {
|
|
95
|
+
/** `null` when the request got no answer. */
|
|
96
|
+
status: number | null;
|
|
97
|
+
code: string | null;
|
|
98
|
+
/** `params.reason` of a rehydration or purge refusal. */
|
|
99
|
+
reason: string | null;
|
|
100
|
+
skippedDays: IRehydrationSkippedDay[];
|
|
101
|
+
}
|
|
102
|
+
export declare const readApiRefusal: (error: unknown) => ApiRefusal;
|
|
103
|
+
/**
|
|
104
|
+
* The translation key that says a refusal of an archive route in words, never the server's own
|
|
105
|
+
* English: the reason it named; a 503 is the plan that could not be read, nothing done; a 502 is
|
|
106
|
+
* an archive that did not answer, nothing changed, try again later (the purge says its own 502 with
|
|
107
|
+
* `purgeRefusalMessageId`). Anything else is the generic failure.
|
|
108
|
+
*/
|
|
109
|
+
export declare const refusalMessageId: (refusal: ApiRefusal) => string;
|
|
110
|
+
/**
|
|
111
|
+
* The sentence of a refused PURGE: like `refusalMessageId`, except for a 502, which is the archive
|
|
112
|
+
* lost midway: part of the days is already deleted, repeating the purge finishes it.
|
|
113
|
+
*/
|
|
114
|
+
export declare const purgeRefusalMessageId: (refusal: ApiRefusal) => string;
|
|
115
|
+
/** Whether a replay was refused because the delivery is past the window. */
|
|
116
|
+
export declare const isReplayWindowExpired: (error: unknown) => boolean;
|
|
117
|
+
/**
|
|
118
|
+
* The sentence of a failed delete of a subscription or a task: Flow answers 502 when it could not
|
|
119
|
+
* delete every archive object; the ones already deleted stay so, and repeating the call finishes.
|
|
120
|
+
* `null` for any other failure.
|
|
121
|
+
*/
|
|
122
|
+
export declare const deleteFailureMessageId: (error: unknown) => string | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BasePaginate, DeliveryEventType, FlowDeliverySource, ICreateDeliverySubscriptionBody, ICreateScheduledTaskBody, IDelivery, IDeliverySubscription, IPaginateDeliveryQuery, IPaginateDeliverySubscriptionQuery, IPaginateScheduledTaskQuery, IPaginateScheduledTaskRunQuery, IScheduledTask, IScheduledTaskRun, IUpdateDeliverySubscriptionBody, IUpdateScheduledTaskBody } from '@abyss-project/flow';
|
|
1
|
+
import { BasePaginate, DeliveryEventType, FlowDeliverySource, ICreateDeliverySubscriptionBody, ICreateScheduledTaskBody, ICreateRehydrationBody, ICreateRehydrationData, IDelivery, IDeliverySubscription, IEstimateRehydrationData, IEstimateRehydrationQuery, IArchivedDay, IListRehydrationData, IPurgeArchiveBody, IPurgeArchiveData, IRehydrationJob, IPaginateDeliveryQuery, IPaginateDeliverySubscriptionQuery, IPaginateScheduledTaskQuery, IPaginateScheduledTaskRunQuery, IScheduledTask, IScheduledTaskRun, IUpdateDeliverySubscriptionBody, IUpdateScheduledTaskBody } from '@abyss-project/flow';
|
|
2
2
|
/**
|
|
3
3
|
* The Deliveries components are data-agnostic: every datum and every action goes through a prop
|
|
4
4
|
* that returns a promise, so each service front binds its own Flow SDK calls (scope included) and
|
|
@@ -44,12 +44,41 @@ export interface DeliverySubscriptionsProps {
|
|
|
44
44
|
flowUrl?: string;
|
|
45
45
|
permissions: DeliverySubscriptionPermissions;
|
|
46
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* The archive of one subscription's history, past the 30 days where a delivery keeps its body:
|
|
49
|
+
* what is archived, what is brought back online (rehydration) and what is destroyed. The host
|
|
50
|
+
* binds each call to its own route and unwraps the `data` of the answer.
|
|
51
|
+
*/
|
|
52
|
+
export interface DeliveryArchiveActions {
|
|
53
|
+
/** The archived days, oldest first. */
|
|
54
|
+
listDays(): Promise<IArchivedDay[]>;
|
|
55
|
+
/** The rehydrations of the subscription, newest first. */
|
|
56
|
+
listRehydrations(): Promise<IListRehydrationData>;
|
|
57
|
+
estimate(query: IEstimateRehydrationQuery): Promise<IEstimateRehydrationData>;
|
|
58
|
+
rehydrate(body: ICreateRehydrationBody): Promise<ICreateRehydrationData>;
|
|
59
|
+
/** `expiresAt` is the new end of the lease, ISO 8601. */
|
|
60
|
+
extend(jobId: string, expiresAt: string): Promise<IRehydrationJob>;
|
|
61
|
+
release(jobId: string): Promise<IRehydrationJob>;
|
|
62
|
+
purge(body: IPurgeArchiveBody): Promise<IPurgeArchiveData>;
|
|
63
|
+
}
|
|
47
64
|
export interface DeliveryHistoryProps {
|
|
48
65
|
list(params: IPaginateDeliveryQuery): Promise<BasePaginate<IDelivery>>;
|
|
49
66
|
get(id: string): Promise<IDelivery>;
|
|
50
67
|
/** A replay is a new attempt with the same delivery id. */
|
|
51
68
|
replayDelivery(id: string): Promise<void>;
|
|
52
69
|
canReplay: boolean;
|
|
70
|
+
/** The archive of the subscription: the « Archive » section reads it, the detail of an archived delivery opens it. */
|
|
71
|
+
archive: DeliveryArchiveActions;
|
|
72
|
+
/**
|
|
73
|
+
* Whether the viewer may write the subscription: without it the archive is read-only (no
|
|
74
|
+
* rehydration, extension, release or purge is drawn).
|
|
75
|
+
*/
|
|
76
|
+
canManageArchive: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Whether the viewer may destroy archived days for good: the right that deletes the subscription
|
|
79
|
+
* (a purge destroys history the way its deletion does), which is not always the right to write it.
|
|
80
|
+
*/
|
|
81
|
+
canPurgeArchive: boolean;
|
|
53
82
|
/**
|
|
54
83
|
* The subscription whose deliveries are listed: its full URL and its events head the screen.
|
|
55
84
|
* Without it, the header names no subscription.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BasePaginate, DeliveryEventType, DeliveryFormat, DeliveryStatus, FlowDeliverySource, IDelivery, IDeliverySubscription, IScheduledTask, IScheduledTaskRun, ScheduledTaskRunStatus } from '@abyss-project/flow';
|
|
1
|
+
import { BasePaginate, DeliveryEventType, DeliveryFormat, DeliveryStatus, FlowDeliverySource, IArchivedDay, IDelivery, IDeliverySubscription, IRehydrationJob, IScheduledTask, IScheduledTaskRun, ScheduledTaskRunStatus } from '@abyss-project/flow';
|
|
2
2
|
/**
|
|
3
3
|
* Fixtures shared by the specs and the catalog pages. The Flow enums are types only here (the SDK
|
|
4
4
|
* is an optional peer), so their values are written as strings and cast.
|
|
@@ -12,8 +12,25 @@ export declare const SOURCES: FlowDeliverySource[];
|
|
|
12
12
|
/** The shape of `DELIVERY_EVENT_TYPES_BY_SOURCE` of the Flow SDK, for the sources above. */
|
|
13
13
|
export declare const EVENT_TYPES_BY_SOURCE: Record<FlowDeliverySource, DeliveryEventType[]>;
|
|
14
14
|
export declare const page: <T>(data: T[]) => BasePaginate<T>;
|
|
15
|
+
/**
|
|
16
|
+
* An instant `days` before now. A delivery's age decides whether it can be replayed (30 days), so
|
|
17
|
+
* the deliveries of the fixtures are dated from the clock: a fixed date would age past the window.
|
|
18
|
+
*/
|
|
19
|
+
export declare const daysAgo: (days: number) => Date;
|
|
15
20
|
export declare const subscription: (overrides?: Partial<IDeliverySubscription>) => IDeliverySubscription;
|
|
16
21
|
export declare const delivery: (overrides?: Partial<IDelivery>) => IDelivery;
|
|
17
22
|
export declare const failedDelivery: (overrides?: Partial<IDelivery>) => IDelivery;
|
|
18
23
|
export declare const scheduledTask: (overrides?: Partial<IScheduledTask>) => IScheduledTask;
|
|
19
24
|
export declare const taskRun: (overrides?: Partial<IScheduledTaskRun>) => IScheduledTaskRun;
|
|
25
|
+
/** A delivery past 30 days: its row keeps date, status and code, its body is in the archive. */
|
|
26
|
+
export declare const archivedDelivery: (overrides?: Partial<IDelivery>) => IDelivery;
|
|
27
|
+
/** An archived delivery whose body a rehydration brought back. */
|
|
28
|
+
export declare const rehydratedDelivery: (overrides?: Partial<IDelivery>) => IDelivery;
|
|
29
|
+
export declare const archivedDay: (overrides?: Partial<IArchivedDay>) => IArchivedDay;
|
|
30
|
+
export declare const rehydrationJob: (overrides?: Partial<IRehydrationJob>) => IRehydrationJob;
|
|
31
|
+
/** The rejection of a call Flow refused: the axios error with Flow's `{ error: { code, params } }` body. */
|
|
32
|
+
export declare const apiError: (status: number, error?: {
|
|
33
|
+
code?: string;
|
|
34
|
+
message?: string;
|
|
35
|
+
params?: Record<string, unknown>;
|
|
36
|
+
}) => Error;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare enum LoadedStatus {
|
|
2
|
+
Loading = "loading",
|
|
3
|
+
Ready = "ready",
|
|
4
|
+
Error = "error"
|
|
5
|
+
}
|
|
6
|
+
export interface Loaded<T> {
|
|
7
|
+
status: LoadedStatus;
|
|
8
|
+
data: T | null;
|
|
9
|
+
/** The reason of the failure, for the host to word. */
|
|
10
|
+
error: unknown;
|
|
11
|
+
/** Loads again, keeping the data on screen meanwhile. */
|
|
12
|
+
reload(): void;
|
|
13
|
+
/** After a failure: back to the loading state, then loads again. */
|
|
14
|
+
retry(): void;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* One value fed by a promise. An answer that arrives after a newer request, or after the unmount,
|
|
18
|
+
* is dropped. `enabled` false loads nothing (the status stays loading).
|
|
19
|
+
*/
|
|
20
|
+
export declare function useLoaded<T>(load: () => Promise<T>, enabled?: boolean): Loaded<T>;
|
|
@@ -3,4 +3,4 @@ import { DataTableProps } from './data-table.types';
|
|
|
3
3
|
* The table form of `DataTable`, from 768 px up. From 768 to 1199 px (next to the icon rail) the
|
|
4
4
|
* `Optional` columns are hidden.
|
|
5
5
|
*/
|
|
6
|
-
export declare function DataTableDesktop<T>({ columns: allColumns, rows, getRowId, density, selection, sort, onRowClick, loading, empty, label, animateAdded, }: DataTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function DataTableDesktop<T>({ columns: allColumns, rows, getRowId, density, selection, sort, onRowClick, renderExpanded, loading, empty, label, animateAdded, }: DataTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -74,6 +74,11 @@ export interface DataTableProps<T> {
|
|
|
74
74
|
selection?: DataTableSelection;
|
|
75
75
|
sort?: DataTableSort;
|
|
76
76
|
onRowClick?(row: T): void;
|
|
77
|
+
/**
|
|
78
|
+
* What unfolds directly under a row from 768 px up, across all its columns; `null` or `false` keeps it folded.
|
|
79
|
+
* The caller holds which row is open. Below 768 px, `mobileRow` shows it.
|
|
80
|
+
*/
|
|
81
|
+
renderExpanded?(row: T): ReactNode;
|
|
77
82
|
loading: boolean;
|
|
78
83
|
/** Shown in place of the rows when there is none and nothing loads. */
|
|
79
84
|
empty: ReactNode;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export interface FacetValue {
|
|
2
|
+
/** The value as an expression writes it (`OPEN`); ticking it writes this, never the label. */
|
|
2
3
|
value: string;
|
|
4
|
+
/** The value as the reader sees it (`Ouvert`); the value itself when absent. */
|
|
5
|
+
label?: string;
|
|
3
6
|
count: number;
|
|
4
7
|
}
|
|
5
8
|
export interface Facet {
|
|
@@ -9,7 +9,8 @@ export interface SegmentedOption<V extends string> {
|
|
|
9
9
|
* Needs an `icon`; without one the label is shown anyway.
|
|
10
10
|
*/
|
|
11
11
|
iconOnly?: boolean;
|
|
12
|
-
|
|
12
|
+
/** Shown beside the label: a number as it is, or already formatted for the reader (« 1 000 »). */
|
|
13
|
+
count?: number | string;
|
|
13
14
|
/** Rendered as `data-testid` on the segment. */
|
|
14
15
|
testId?: string;
|
|
15
16
|
/** Accessible name of the segment when the visible label is not enough (an abbreviation). */
|
|
@@ -24,10 +25,15 @@ export interface SegmentedControlProps<V extends string> {
|
|
|
24
25
|
ariaLabel: string;
|
|
25
26
|
/** Rendered as `data-testid` on the group (the element carrying `ariaLabel`). */
|
|
26
27
|
testId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Wrap the segments onto more rows at every width, as the band does below 768 px, instead of
|
|
30
|
+
* scrolling sideways: for a narrow column whose segments would not all fit.
|
|
31
|
+
*/
|
|
32
|
+
wrap?: boolean;
|
|
27
33
|
}
|
|
28
34
|
/**
|
|
29
35
|
* A segmented choice (`.seg`): one option is selected at a time. A `radiogroup` with a roving tab
|
|
30
36
|
* stop: Tab enters on the selected option, arrow keys move the selection (wrapping), Home and End
|
|
31
37
|
* jump to the ends.
|
|
32
38
|
*/
|
|
33
|
-
export declare function SegmentedControl<V extends string>({ options, value, onChange, ariaLabel, testId, }: SegmentedControlProps<V>): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
export declare function SegmentedControl<V extends string>({ options, value, onChange, ariaLabel, testId, wrap, }: SegmentedControlProps<V>): import("react/jsx-runtime").JSX.Element;
|
package/dist/cookie-consent.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as o, g as a, h as n, e as C, i as t, f as i, j as r, k as A, C as E, b as O, c as S, D as _, R as k, o as I, m as c, l as d, n as N, r as T, p as l, u as f, d as D, a as R, w as V } from "./CookieConsentSettings-
|
|
2
|
-
import { f as p } from "./Surface-
|
|
1
|
+
import { A as o, g as a, h as n, e as C, i as t, f as i, j as r, k as A, C as E, b as O, c as S, D as _, R as k, o as I, m as c, l as d, n as N, r as T, p as l, u as f, d as D, a as R, w as V } from "./CookieConsentSettings-iQ9XTosT.js";
|
|
2
|
+
import { f as p } from "./Surface-DmHRzUtQ.js";
|
|
3
3
|
export {
|
|
4
4
|
o as AbyssCookieConsentProvider,
|
|
5
5
|
a as CONSENT_VALIDITY_DAYS,
|
|
@@ -2,7 +2,7 @@ import { B as Mt, C as DW, D as PW, F as KW, f as WW, m as af, n as b3, G as BW,
|
|
|
2
2
|
import { W as JW, r as zW, C as ZW } from "./index-D7cgykJH.js";
|
|
3
3
|
import * as ga from "react";
|
|
4
4
|
import PT, { useRef as gt, useEffect as xr, useState as Pr, useCallback as xe, useMemo as Ye, useLayoutEffect as fE, createContext as no, forwardRef as ms, createElement as Tr, useContext as ji, memo as Kt, cloneElement as $W, Component as dE, Fragment as t2, isValidElement as eB } from "react";
|
|
5
|
-
import { u as tB, l as qc, y as rB, L as hE, n as gE, x as pE, v as vE, E as mE, F as bE, O as nB, P as iB, N as aB, r as oB } from "./Surface-
|
|
5
|
+
import { u as tB, l as qc, y as rB, L as hE, n as gE, x as pE, v as vE, E as mE, F as bE, O as nB, P as iB, N as aB, r as oB } from "./Surface-DmHRzUtQ.js";
|
|
6
6
|
import KT from "@mui/icons-material/InsertDriveFile";
|
|
7
7
|
import sB from "@mui/icons-material/Image";
|
|
8
8
|
import uB from "@mui/icons-material/PictureAsPdf";
|
|
@@ -9,14 +9,14 @@ import { c as Dn } from "./clsx-OuTLNxxd.js";
|
|
|
9
9
|
import { c as UO, d as Ca, e as PG, f as Az, g as hO, h as _z, j as FO, k as ZO, l as uO, m as mO, n as qz, o as pO, p as VO, q as AG, s as QO, t as WO, v as NO, w as bO, x as _G, y as RO, z as MO, S as SO, B as TO } from "./index-C27b790L.js";
|
|
10
10
|
import { styled as bt, useTheme as JO } from "@mui/material/styles";
|
|
11
11
|
import { useIntl as zl } from "react-intl";
|
|
12
|
-
import { s as NU, d as ys, D as ds, p as C, h as El, c as Zo, e as uo, a as _d, b as GO, t as Ru, j as Z0, i as vo, o as bF, g as PQ, k as yO, u as BO } from "./Surface-
|
|
12
|
+
import { s as NU, d as ys, D as ds, p as C, h as El, c as Zo, e as uo, a as _d, b as GO, t as Ru, j as Z0, i as vo, o as bF, g as PQ, k as yO, u as BO } from "./Surface-DmHRzUtQ.js";
|
|
13
13
|
import pl from "@mui/material/Button";
|
|
14
14
|
import fM from "@mui/material/Checkbox";
|
|
15
15
|
import zV from "@mui/material/CircularProgress";
|
|
16
16
|
import mo from "@mui/material/FormControlLabel";
|
|
17
17
|
import Qp from "@mui/material/OutlinedInput";
|
|
18
18
|
import DM from "@mui/material/Switch";
|
|
19
|
-
import { R as wR, F as Wp, C as RF, a as MF, h as Mu, S as iZ, D as $z, k as XO, T as YO, N as wM, A as kO,
|
|
19
|
+
import { R as wR, F as Wp, C as RF, a as MF, h as Mu, S as iZ, D as $z, k as XO, T as YO, N as wM, A as kO, d as zO, e as LO, j as fO } from "./Tabs-CxBeR0D-.js";
|
|
20
20
|
import { PDFDocument as Kc, PDFTextField as t9, PDFCheckBox as e9, PDFDropdown as l9, PDFRadioGroup as n9, PDFOptionList as DO, degrees as IR, StandardFonts as SN, BlendMode as wO, rgb as IO } from "pdf-lib";
|
|
21
21
|
import * as qG from "pdfjs-dist";
|
|
22
22
|
import xO from "@mui/icons-material/OpenInNew";
|
|
@@ -14225,7 +14225,7 @@ function Ut(l) {
|
|
|
14225
14225
|
return new jH(rS.define(l));
|
|
14226
14226
|
}
|
|
14227
14227
|
function rc(l) {
|
|
14228
|
-
return import("./index-
|
|
14228
|
+
return import("./index-Dco3zEwV.js").then((t) => t.sql({ dialect: t[l] }));
|
|
14229
14229
|
}
|
|
14230
14230
|
const f7 = [
|
|
14231
14231
|
// New-style language modes
|
|
@@ -14233,7 +14233,7 @@ const f7 = [
|
|
|
14233
14233
|
name: "C",
|
|
14234
14234
|
extensions: ["c", "h", "ino"],
|
|
14235
14235
|
load() {
|
|
14236
|
-
return import("./index-
|
|
14236
|
+
return import("./index-BGAmhhJZ.js").then((l) => l.cpp());
|
|
14237
14237
|
}
|
|
14238
14238
|
}),
|
|
14239
14239
|
/* @__PURE__ */ A.of({
|
|
@@ -14241,7 +14241,7 @@ const f7 = [
|
|
|
14241
14241
|
alias: ["cpp"],
|
|
14242
14242
|
extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
|
|
14243
14243
|
load() {
|
|
14244
|
-
return import("./index-
|
|
14244
|
+
return import("./index-BGAmhhJZ.js").then((l) => l.cpp());
|
|
14245
14245
|
}
|
|
14246
14246
|
}),
|
|
14247
14247
|
/* @__PURE__ */ A.of({
|
|
@@ -14256,14 +14256,14 @@ const f7 = [
|
|
|
14256
14256
|
name: "CSS",
|
|
14257
14257
|
extensions: ["css"],
|
|
14258
14258
|
load() {
|
|
14259
|
-
return import("./index-
|
|
14259
|
+
return import("./index-ClEFydIA.js").then((l) => l.css());
|
|
14260
14260
|
}
|
|
14261
14261
|
}),
|
|
14262
14262
|
/* @__PURE__ */ A.of({
|
|
14263
14263
|
name: "Go",
|
|
14264
14264
|
extensions: ["go"],
|
|
14265
14265
|
load() {
|
|
14266
|
-
return import("./index-
|
|
14266
|
+
return import("./index-CsZJyqSF.js").then((l) => l.go());
|
|
14267
14267
|
}
|
|
14268
14268
|
}),
|
|
14269
14269
|
/* @__PURE__ */ A.of({
|
|
@@ -14271,14 +14271,14 @@ const f7 = [
|
|
|
14271
14271
|
alias: ["xhtml"],
|
|
14272
14272
|
extensions: ["html", "htm", "handlebars", "hbs"],
|
|
14273
14273
|
load() {
|
|
14274
|
-
return import("./index-
|
|
14274
|
+
return import("./index-ChCpWPzk.js").then((l) => l.html());
|
|
14275
14275
|
}
|
|
14276
14276
|
}),
|
|
14277
14277
|
/* @__PURE__ */ A.of({
|
|
14278
14278
|
name: "Java",
|
|
14279
14279
|
extensions: ["java"],
|
|
14280
14280
|
load() {
|
|
14281
|
-
return import("./index-
|
|
14281
|
+
return import("./index-ZL-d1iKb.js").then((l) => l.java());
|
|
14282
14282
|
}
|
|
14283
14283
|
}),
|
|
14284
14284
|
/* @__PURE__ */ A.of({
|
|
@@ -14286,7 +14286,7 @@ const f7 = [
|
|
|
14286
14286
|
alias: ["ecmascript", "js", "node"],
|
|
14287
14287
|
extensions: ["js", "mjs", "cjs"],
|
|
14288
14288
|
load() {
|
|
14289
|
-
return import("./index-
|
|
14289
|
+
return import("./index-BwugEq4x.js").then((l) => l.javascript());
|
|
14290
14290
|
}
|
|
14291
14291
|
}),
|
|
14292
14292
|
/* @__PURE__ */ A.of({
|
|
@@ -14294,28 +14294,28 @@ const f7 = [
|
|
|
14294
14294
|
alias: ["json5"],
|
|
14295
14295
|
extensions: ["json", "map"],
|
|
14296
14296
|
load() {
|
|
14297
|
-
return import("./index-
|
|
14297
|
+
return import("./index-CSl9Kc0V.js").then((l) => l.json());
|
|
14298
14298
|
}
|
|
14299
14299
|
}),
|
|
14300
14300
|
/* @__PURE__ */ A.of({
|
|
14301
14301
|
name: "JSX",
|
|
14302
14302
|
extensions: ["jsx"],
|
|
14303
14303
|
load() {
|
|
14304
|
-
return import("./index-
|
|
14304
|
+
return import("./index-BwugEq4x.js").then((l) => l.javascript({ jsx: !0 }));
|
|
14305
14305
|
}
|
|
14306
14306
|
}),
|
|
14307
14307
|
/* @__PURE__ */ A.of({
|
|
14308
14308
|
name: "LESS",
|
|
14309
14309
|
extensions: ["less"],
|
|
14310
14310
|
load() {
|
|
14311
|
-
return import("./index-
|
|
14311
|
+
return import("./index-DYdLhNjl.js").then((l) => l.less());
|
|
14312
14312
|
}
|
|
14313
14313
|
}),
|
|
14314
14314
|
/* @__PURE__ */ A.of({
|
|
14315
14315
|
name: "Liquid",
|
|
14316
14316
|
extensions: ["liquid"],
|
|
14317
14317
|
load() {
|
|
14318
|
-
return import("./index-
|
|
14318
|
+
return import("./index-CJjWI7qL.js").then((l) => l.liquid());
|
|
14319
14319
|
}
|
|
14320
14320
|
}),
|
|
14321
14321
|
/* @__PURE__ */ A.of({
|
|
@@ -14328,7 +14328,7 @@ const f7 = [
|
|
|
14328
14328
|
name: "Markdown",
|
|
14329
14329
|
extensions: ["md", "markdown", "mkd"],
|
|
14330
14330
|
load() {
|
|
14331
|
-
return import("./index-
|
|
14331
|
+
return import("./index-DLIvsZA_.js").then((l) => l.markdown());
|
|
14332
14332
|
}
|
|
14333
14333
|
}),
|
|
14334
14334
|
/* @__PURE__ */ A.of({
|
|
@@ -14347,7 +14347,7 @@ const f7 = [
|
|
|
14347
14347
|
name: "PHP",
|
|
14348
14348
|
extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
|
|
14349
14349
|
load() {
|
|
14350
|
-
return import("./index-
|
|
14350
|
+
return import("./index-BAH9H4GE.js").then((l) => l.php());
|
|
14351
14351
|
}
|
|
14352
14352
|
}),
|
|
14353
14353
|
/* @__PURE__ */ A.of({
|
|
@@ -14368,28 +14368,28 @@ const f7 = [
|
|
|
14368
14368
|
extensions: ["BUILD", "bzl", "py", "pyw"],
|
|
14369
14369
|
filename: /^(BUCK|BUILD)$/,
|
|
14370
14370
|
load() {
|
|
14371
|
-
return import("./index-
|
|
14371
|
+
return import("./index-CI0SMeOa.js").then((l) => l.python());
|
|
14372
14372
|
}
|
|
14373
14373
|
}),
|
|
14374
14374
|
/* @__PURE__ */ A.of({
|
|
14375
14375
|
name: "Rust",
|
|
14376
14376
|
extensions: ["rs"],
|
|
14377
14377
|
load() {
|
|
14378
|
-
return import("./index-
|
|
14378
|
+
return import("./index-DnweGlM_.js").then((l) => l.rust());
|
|
14379
14379
|
}
|
|
14380
14380
|
}),
|
|
14381
14381
|
/* @__PURE__ */ A.of({
|
|
14382
14382
|
name: "Sass",
|
|
14383
14383
|
extensions: ["sass"],
|
|
14384
14384
|
load() {
|
|
14385
|
-
return import("./index-
|
|
14385
|
+
return import("./index-BTwuilx5.js").then((l) => l.sass({ indented: !0 }));
|
|
14386
14386
|
}
|
|
14387
14387
|
}),
|
|
14388
14388
|
/* @__PURE__ */ A.of({
|
|
14389
14389
|
name: "SCSS",
|
|
14390
14390
|
extensions: ["scss"],
|
|
14391
14391
|
load() {
|
|
14392
|
-
return import("./index-
|
|
14392
|
+
return import("./index-BTwuilx5.js").then((l) => l.sass());
|
|
14393
14393
|
}
|
|
14394
14394
|
}),
|
|
14395
14395
|
/* @__PURE__ */ A.of({
|
|
@@ -14409,7 +14409,7 @@ const f7 = [
|
|
|
14409
14409
|
name: "TSX",
|
|
14410
14410
|
extensions: ["tsx"],
|
|
14411
14411
|
load() {
|
|
14412
|
-
return import("./index-
|
|
14412
|
+
return import("./index-BwugEq4x.js").then((l) => l.javascript({ jsx: !0, typescript: !0 }));
|
|
14413
14413
|
}
|
|
14414
14414
|
}),
|
|
14415
14415
|
/* @__PURE__ */ A.of({
|
|
@@ -14417,14 +14417,14 @@ const f7 = [
|
|
|
14417
14417
|
alias: ["ts"],
|
|
14418
14418
|
extensions: ["ts", "mts", "cts"],
|
|
14419
14419
|
load() {
|
|
14420
|
-
return import("./index-
|
|
14420
|
+
return import("./index-BwugEq4x.js").then((l) => l.javascript({ typescript: !0 }));
|
|
14421
14421
|
}
|
|
14422
14422
|
}),
|
|
14423
14423
|
/* @__PURE__ */ A.of({
|
|
14424
14424
|
name: "WebAssembly",
|
|
14425
14425
|
extensions: ["wat", "wast"],
|
|
14426
14426
|
load() {
|
|
14427
|
-
return import("./index-
|
|
14427
|
+
return import("./index-DVyE9B4I.js").then((l) => l.wast());
|
|
14428
14428
|
}
|
|
14429
14429
|
}),
|
|
14430
14430
|
/* @__PURE__ */ A.of({
|
|
@@ -14432,7 +14432,7 @@ const f7 = [
|
|
|
14432
14432
|
alias: ["rss", "wsdl", "xsd"],
|
|
14433
14433
|
extensions: ["xml", "xsl", "xsd", "svg"],
|
|
14434
14434
|
load() {
|
|
14435
|
-
return import("./index-
|
|
14435
|
+
return import("./index-Cv8TWKKk.js").then((l) => l.xml());
|
|
14436
14436
|
}
|
|
14437
14437
|
}),
|
|
14438
14438
|
/* @__PURE__ */ A.of({
|
|
@@ -14440,7 +14440,7 @@ const f7 = [
|
|
|
14440
14440
|
alias: ["yml"],
|
|
14441
14441
|
extensions: ["yaml", "yml"],
|
|
14442
14442
|
load() {
|
|
14443
|
-
return import("./index-
|
|
14443
|
+
return import("./index-RjzeFVe-.js").then((l) => l.yaml());
|
|
14444
14444
|
}
|
|
14445
14445
|
}),
|
|
14446
14446
|
// Legacy modes ported from CodeMirror 5
|
|
@@ -15236,13 +15236,13 @@ const f7 = [
|
|
|
15236
15236
|
name: "Vue",
|
|
15237
15237
|
extensions: ["vue"],
|
|
15238
15238
|
load() {
|
|
15239
|
-
return import("./index-
|
|
15239
|
+
return import("./index-Buo7Iim6.js").then((l) => l.vue());
|
|
15240
15240
|
}
|
|
15241
15241
|
}),
|
|
15242
15242
|
/* @__PURE__ */ A.of({
|
|
15243
15243
|
name: "Angular Template",
|
|
15244
15244
|
load() {
|
|
15245
|
-
return import("./index-
|
|
15245
|
+
return import("./index-DuLb3GSj.js").then((l) => l.angular());
|
|
15246
15246
|
}
|
|
15247
15247
|
})
|
|
15248
15248
|
], D7 = "#e5c07b", y5 = "#e06c75", w7 = "#56b6c2", I7 = "#ffffff", kp = "#abb2bf", f2 = "#7d8799", x7 = "#61afef", g7 = "#98c379", B5 = "#d19a66", C7 = "#c678dd", E7 = "#21252b", X5 = "#2c313a", Y5 = "#282c34", HN = "#353a42", O7 = "#3E4451", k5 = "#528bff", j7 = /* @__PURE__ */ At.theme({
|
package/dist/editors.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as o, R as s, S as r, M as t, O as i, K as n, Y as d, U as g, W as p, X as E, V as l, Z as f } from "./editors-
|
|
1
|
+
import { Q as o, R as s, S as r, M as t, O as i, K as n, Y as d, U as g, W as p, X as E, V as l, Z as f } from "./editors-BmRsTu0H.js";
|
|
2
2
|
export {
|
|
3
3
|
o as CodeEditor,
|
|
4
4
|
s as ExpressionCodeEditor,
|