@abyss-project/commons-front-core 17.0.0 → 17.2.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 +18 -1
- package/catalog/captures-plan.ts +116 -103
- package/catalog/catalog-entries.ts +148 -140
- package/catalog/pages/DeliveryHistory.tsx +66 -0
- package/catalog/pages/DeliverySubscriptions.tsx +110 -0
- package/catalog/pages/ScheduledTasks.tsx +117 -0
- package/catalog/pages/index.ts +165 -159
- package/catalog/specs/captures.spec.ts +145 -91
- package/catalog/specs/write-capture-index.ts +81 -76
- package/dist/{CookieConsentSettings-CTAyLGkm.js → CookieConsentSettings-DHpcYTa2.js} +1 -1
- package/dist/{Surface-76bwVL_Z.js → Surface-BUxzLLhb.js} +500 -90
- package/dist/{Tabs-D2bdAWGo.js → Tabs-D7TDtprO.js} +99 -99
- package/dist/components/business/Deliveries/DeliveryHistory.component.d.ts +8 -0
- package/dist/components/business/Deliveries/DeliveryHistory.component.spec.d.ts +1 -0
- package/dist/components/business/Deliveries/DeliverySubscriptionForm.d.ts +23 -0
- package/dist/components/business/Deliveries/DeliverySubscriptions.component.d.ts +9 -0
- package/dist/components/business/Deliveries/DeliverySubscriptions.component.spec.d.ts +1 -0
- package/dist/components/business/Deliveries/ScheduledTaskForm.d.ts +21 -0
- package/dist/components/business/Deliveries/ScheduledTasks.component.d.ts +9 -0
- package/dist/components/business/Deliveries/ScheduledTasks.component.spec.d.ts +1 -0
- package/dist/components/business/Deliveries/deliveries.logic.d.ts +35 -0
- package/dist/components/business/Deliveries/deliveries.logic.spec.d.ts +1 -0
- package/dist/components/business/Deliveries/deliveries.types.d.ts +65 -0
- package/dist/components/business/Deliveries/test-support/deliveries.fixtures.d.ts +19 -0
- package/dist/components/business/Deliveries/test-support/row-menu.d.ts +4 -0
- package/dist/components/business/Deliveries/use-paged-list.hook.d.ts +25 -0
- package/dist/components/business/index.d.ts +4 -0
- package/dist/cookie-consent.js +2 -2
- package/dist/design-system-toasts.spec.d.ts +1 -0
- package/dist/{design-theme-B1PgRGnU.js → design-theme-Bc2sMuUP.js} +7098 -7010
- package/dist/{editors-NTlXfUf3.js → editors-CGj-vsZu.js} +2264 -2243
- package/dist/editors.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +432 -18
- package/dist/{index-D-75Bwy8.js → index-5lpeThh7.js} +2 -2
- package/dist/{index-BEm81V4i.js → index-853Jaoqw.js} +3 -3
- package/dist/{index-BH6GeV66.js → index-B4PJ4K6l.js} +2 -2
- package/dist/{index-DDsn4UyZ.js → index-BISOeVc7.js} +2 -2
- package/dist/{index-Bt3EOSkY.js → index-BS3QPrVM.js} +4 -4
- package/dist/{index-DmtNuZcU.js → index-BVsU-XEb.js} +2 -2
- package/dist/{index-VntY82At.js → index-Bxpp4VC9.js} +2 -2
- package/dist/{index-DloK9ass.js → index-CNfYiPB9.js} +2 -2
- package/dist/{index-BIQNTPCh.js → index-CONaN903.js} +2 -2
- package/dist/{index-C-pVBVRm.js → index-CTsQY6zW.js} +3 -3
- package/dist/{index-DTfxCpd4.js → index-CYmjv9TK.js} +4 -4
- package/dist/{index-CHsTUwr0.js → index-DKMFAW5f.js} +1 -1
- package/dist/{index-MiIytQo8.js → index-DOrEPYZN.js} +3 -3
- package/dist/{index-DGKfXQr5.js → index-DfnEQYyW.js} +2 -2
- package/dist/{index-DeB1ImKD.js → index-DrgdyC6J.js} +2 -2
- package/dist/{index-DXSxiqo1.js → index-DvrKcy8f.js} +2 -2
- package/dist/{index-7ovesCC_.js → index-DxZ1bG6u.js} +2 -2
- package/dist/{index-BHFYCrDl.js → index-DykCZUJc.js} +4 -4
- package/dist/{index-Dr3sF4q3.js → index-YX_yu3BN.js} +2 -2
- package/dist/{index-rHl9uQvG.js → index-_3uQ1KPn.js} +3 -3
- package/dist/{index-BKbESj9f.js → index-a62vDo6s.js} +2 -2
- package/dist/index.js +11825 -10044
- package/dist/legacy/components/Spotlight/ProjectLinkSelector/ProjectLinkSelector.component.spec.d.ts +1 -0
- package/dist/legacy.js +209 -210
- package/dist/translations/en.d.ts +206 -1
- package/dist/translations/fr.d.ts +206 -1
- package/package.json +9 -6
- package/scripts/check-auth-entry-isolation.cjs +1 -2
- package/test-results/catalog/.last-run.json +4 -0
- package/vite.config.ts +3 -3
- package/scripts/check-external-react-toastify.cjs +0 -104
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { DeliverySubscriptions } from '../../src/components/business/Deliveries/DeliverySubscriptions.component';
|
|
2
|
+
import type { DeliverySubscriptionsProps } from '../../src/components/business/Deliveries/deliveries.types';
|
|
3
|
+
import {
|
|
4
|
+
EVENT_TYPES_BY_SOURCE,
|
|
5
|
+
SOURCES,
|
|
6
|
+
deliveryFormat,
|
|
7
|
+
page,
|
|
8
|
+
source,
|
|
9
|
+
subscription,
|
|
10
|
+
} from '../../src/components/business/Deliveries/test-support/deliveries.fixtures';
|
|
11
|
+
import { Example, LastEvent, Showcase, useEventLog } from '../frame';
|
|
12
|
+
|
|
13
|
+
const PERMISSIONS = {
|
|
14
|
+
canCreate: true,
|
|
15
|
+
canUpdate: true,
|
|
16
|
+
canDelete: true,
|
|
17
|
+
canResetSecret: true,
|
|
18
|
+
canReadHistory: true,
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
const POPULATED = [
|
|
22
|
+
subscription(),
|
|
23
|
+
subscription({
|
|
24
|
+
id: 'sub-2',
|
|
25
|
+
source: source('FORM'),
|
|
26
|
+
eventTypes: ['FORM_SUBMISSION'],
|
|
27
|
+
url: 'https://discord.com/api/webhooks/1234/abcd',
|
|
28
|
+
format: deliveryFormat('DISCORD'),
|
|
29
|
+
consecutiveFailures: 3,
|
|
30
|
+
}),
|
|
31
|
+
subscription({
|
|
32
|
+
id: 'sub-3',
|
|
33
|
+
source: source('STORAGE'),
|
|
34
|
+
eventTypes: ['STORAGE_UPLOAD', 'STORAGE_DELETE'],
|
|
35
|
+
url: 'https://files.example.com/hooks/storage',
|
|
36
|
+
isEnabled: false,
|
|
37
|
+
disabledAt: new Date('2026-11-02T08:00:00Z'),
|
|
38
|
+
consecutiveFailures: 10,
|
|
39
|
+
}),
|
|
40
|
+
];
|
|
41
|
+
|
|
42
|
+
const secretFor = (id: string) => `whsec_catalog_${id}_do-not-use`;
|
|
43
|
+
|
|
44
|
+
export const DeliverySubscriptionsPage = () => {
|
|
45
|
+
const { log } = useEventLog();
|
|
46
|
+
const base = (
|
|
47
|
+
list: DeliverySubscriptionsProps['list'],
|
|
48
|
+
): DeliverySubscriptionsProps => ({
|
|
49
|
+
sources: SOURCES,
|
|
50
|
+
eventTypesBySource: EVENT_TYPES_BY_SOURCE,
|
|
51
|
+
list,
|
|
52
|
+
create: async (body) => {
|
|
53
|
+
log(`créer ${body.url}`);
|
|
54
|
+
return {
|
|
55
|
+
deliverySubscription: subscription({ id: 'sub-new', url: body.url }),
|
|
56
|
+
secret: secretFor('new'),
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
update: async (id, body) => {
|
|
60
|
+
log(`modifier ${id}`);
|
|
61
|
+
return subscription({ id, ...body });
|
|
62
|
+
},
|
|
63
|
+
remove: async (id) => log(`supprimer ${id}`),
|
|
64
|
+
resetSecret: async (id) => {
|
|
65
|
+
log(`secret ${id}`);
|
|
66
|
+
return {
|
|
67
|
+
deliverySubscription: subscription({ id }),
|
|
68
|
+
secret: secretFor(id),
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
onOpenHistory: (row) => log(`historique ${row.id}`),
|
|
72
|
+
flowUrl: 'https://flow.abyss.example/deliveries',
|
|
73
|
+
permissions: PERMISSIONS,
|
|
74
|
+
});
|
|
75
|
+
return (
|
|
76
|
+
<Showcase
|
|
77
|
+
family="Métier"
|
|
78
|
+
name="DeliverySubscriptions"
|
|
79
|
+
description="Les abonnements de livraison d'un périmètre : liste, création et édition en panneau, secret affiché une seule fois, activation, suppression confirmée. Les données et les actions passent par des props."
|
|
80
|
+
>
|
|
81
|
+
<Example title="Peuplé" maxWidth={1100}>
|
|
82
|
+
<DeliverySubscriptions {...base(async () => page(POPULATED))} />
|
|
83
|
+
</Example>
|
|
84
|
+
<Example title="Vide" maxWidth={1100}>
|
|
85
|
+
<DeliverySubscriptions {...base(async () => page([]))} />
|
|
86
|
+
</Example>
|
|
87
|
+
<Example title="En cours de chargement" maxWidth={1100}>
|
|
88
|
+
<DeliverySubscriptions {...base(() => new Promise(() => undefined))} />
|
|
89
|
+
</Example>
|
|
90
|
+
<Example title="Le chargement a échoué" maxWidth={1100}>
|
|
91
|
+
<DeliverySubscriptions
|
|
92
|
+
{...base(() => Promise.reject(new Error('Flow indisponible')))}
|
|
93
|
+
/>
|
|
94
|
+
</Example>
|
|
95
|
+
<Example title="Lecture seule" maxWidth={1100}>
|
|
96
|
+
<DeliverySubscriptions
|
|
97
|
+
{...base(async () => page(POPULATED))}
|
|
98
|
+
permissions={{
|
|
99
|
+
canCreate: false,
|
|
100
|
+
canUpdate: false,
|
|
101
|
+
canDelete: false,
|
|
102
|
+
canResetSecret: false,
|
|
103
|
+
canReadHistory: true,
|
|
104
|
+
}}
|
|
105
|
+
/>
|
|
106
|
+
</Example>
|
|
107
|
+
<LastEvent />
|
|
108
|
+
</Showcase>
|
|
109
|
+
);
|
|
110
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { ScheduledTasks } from '../../src/components/business/Deliveries/ScheduledTasks.component';
|
|
2
|
+
import type { ScheduledTasksProps } from '../../src/components/business/Deliveries/deliveries.types';
|
|
3
|
+
import {
|
|
4
|
+
page,
|
|
5
|
+
runStatus,
|
|
6
|
+
scheduledTask,
|
|
7
|
+
taskRun,
|
|
8
|
+
} from '../../src/components/business/Deliveries/test-support/deliveries.fixtures';
|
|
9
|
+
import { Example, LastEvent, Showcase, useEventLog } from '../frame';
|
|
10
|
+
|
|
11
|
+
const PERMISSIONS = {
|
|
12
|
+
canCreate: true,
|
|
13
|
+
canUpdate: true,
|
|
14
|
+
canDelete: true,
|
|
15
|
+
canRegenerateSecret: true,
|
|
16
|
+
canTrigger: true,
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const POPULATED = [
|
|
20
|
+
scheduledTask(),
|
|
21
|
+
scheduledTask({
|
|
22
|
+
id: 'task-2',
|
|
23
|
+
name: 'Rapport hebdomadaire',
|
|
24
|
+
schedule: '@weekly',
|
|
25
|
+
isEnabled: false,
|
|
26
|
+
lastRunAt: null,
|
|
27
|
+
}),
|
|
28
|
+
scheduledTask({
|
|
29
|
+
id: 'task-3',
|
|
30
|
+
name: 'Synchronisation des factures',
|
|
31
|
+
schedule: '*/15 * * * *',
|
|
32
|
+
consecutiveFailures: 4,
|
|
33
|
+
}),
|
|
34
|
+
];
|
|
35
|
+
|
|
36
|
+
const RUNS = [
|
|
37
|
+
taskRun(),
|
|
38
|
+
taskRun({
|
|
39
|
+
id: 'run-2',
|
|
40
|
+
scheduledFor: new Date('2026-11-01T03:00:00Z'),
|
|
41
|
+
status: runStatus('FAILED'),
|
|
42
|
+
responseCode: 500,
|
|
43
|
+
durationMs: 1204,
|
|
44
|
+
}),
|
|
45
|
+
taskRun({
|
|
46
|
+
id: 'run-3',
|
|
47
|
+
scheduledFor: new Date('2026-10-31T03:00:00Z'),
|
|
48
|
+
status: runStatus('TIMED_OUT'),
|
|
49
|
+
responseCode: null,
|
|
50
|
+
durationMs: 30000,
|
|
51
|
+
}),
|
|
52
|
+
];
|
|
53
|
+
|
|
54
|
+
export const ScheduledTasksPage = () => {
|
|
55
|
+
const { log } = useEventLog();
|
|
56
|
+
const base = (list: ScheduledTasksProps['list']): ScheduledTasksProps => ({
|
|
57
|
+
list,
|
|
58
|
+
create: async (body) => {
|
|
59
|
+
log(`créer ${body.name}`);
|
|
60
|
+
return {
|
|
61
|
+
scheduledTask: scheduledTask({ id: 'task-new', isEnabled: false }),
|
|
62
|
+
secret: 'cron_catalog_new_do-not-use',
|
|
63
|
+
};
|
|
64
|
+
},
|
|
65
|
+
update: async (id, body) => {
|
|
66
|
+
log(`modifier ${id}`);
|
|
67
|
+
return scheduledTask({ id, ...body });
|
|
68
|
+
},
|
|
69
|
+
remove: async (id) => log(`supprimer ${id}`),
|
|
70
|
+
regenerateSecret: async (id) => {
|
|
71
|
+
log(`secret ${id}`);
|
|
72
|
+
return {
|
|
73
|
+
scheduledTask: scheduledTask({ id }),
|
|
74
|
+
secret: 'cron_catalog_regenerated_do-not-use',
|
|
75
|
+
};
|
|
76
|
+
},
|
|
77
|
+
trigger: async (id) => log(`lancer ${id}`),
|
|
78
|
+
listRuns: async () => page(RUNS),
|
|
79
|
+
permissions: PERMISSIONS,
|
|
80
|
+
flowUrl: 'https://flow.abyss.example/scheduled-tasks',
|
|
81
|
+
});
|
|
82
|
+
return (
|
|
83
|
+
<Showcase
|
|
84
|
+
family="Métier"
|
|
85
|
+
name="ScheduledTasks"
|
|
86
|
+
description="Les tâches planifiées d'un périmètre : liste, création et édition en panneau, « lancer maintenant », secret affiché une seule fois et historique des exécutions."
|
|
87
|
+
>
|
|
88
|
+
<Example title="Peuplé" maxWidth={1100}>
|
|
89
|
+
<ScheduledTasks {...base(async () => page(POPULATED))} />
|
|
90
|
+
</Example>
|
|
91
|
+
<Example title="Vide" maxWidth={1100}>
|
|
92
|
+
<ScheduledTasks {...base(async () => page([]))} />
|
|
93
|
+
</Example>
|
|
94
|
+
<Example title="En cours de chargement" maxWidth={1100}>
|
|
95
|
+
<ScheduledTasks {...base(() => new Promise(() => undefined))} />
|
|
96
|
+
</Example>
|
|
97
|
+
<Example title="Le chargement a échoué" maxWidth={1100}>
|
|
98
|
+
<ScheduledTasks
|
|
99
|
+
{...base(() => Promise.reject(new Error('Flow indisponible')))}
|
|
100
|
+
/>
|
|
101
|
+
</Example>
|
|
102
|
+
<Example title="Lecture seule" maxWidth={1100}>
|
|
103
|
+
<ScheduledTasks
|
|
104
|
+
{...base(async () => page(POPULATED))}
|
|
105
|
+
permissions={{
|
|
106
|
+
canCreate: false,
|
|
107
|
+
canUpdate: false,
|
|
108
|
+
canDelete: false,
|
|
109
|
+
canRegenerateSecret: false,
|
|
110
|
+
canTrigger: false,
|
|
111
|
+
}}
|
|
112
|
+
/>
|
|
113
|
+
</Example>
|
|
114
|
+
<LastEvent />
|
|
115
|
+
</Showcase>
|
|
116
|
+
);
|
|
117
|
+
};
|
package/catalog/pages/index.ts
CHANGED
|
@@ -1,159 +1,165 @@
|
|
|
1
|
-
import type { ComponentType } from 'react';
|
|
2
|
-
import { AccordionPage } from './Accordion';
|
|
3
|
-
import { AccountMenuPage } from './AccountMenu';
|
|
4
|
-
import { ActionBarPage } from './ActionBar';
|
|
5
|
-
import { AmbientBackgroundPage } from './AmbientBackground';
|
|
6
|
-
import { AnchoredPanelPage } from './AnchoredPanel';
|
|
7
|
-
import { AppShellPage } from './AppShell';
|
|
8
|
-
import { AvatarPage } from './Avatar';
|
|
9
|
-
import { BarChartPage } from './BarChart';
|
|
10
|
-
import { BottomSheetPage } from './BottomSheet';
|
|
11
|
-
import { BreadcrumbsPage } from './Breadcrumbs';
|
|
12
|
-
import { CalloutPage } from './Callout';
|
|
13
|
-
import { ChartThemePage } from './ChartTheme';
|
|
14
|
-
import { CloudImportPage } from './CloudImport';
|
|
15
|
-
import { ColorFieldPage } from './ColorField';
|
|
16
|
-
import { CommandPalettePage } from './CommandPalette';
|
|
17
|
-
import { ComboboxFieldPage } from './ComboboxField';
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
import { AccordionPage } from './Accordion';
|
|
3
|
+
import { AccountMenuPage } from './AccountMenu';
|
|
4
|
+
import { ActionBarPage } from './ActionBar';
|
|
5
|
+
import { AmbientBackgroundPage } from './AmbientBackground';
|
|
6
|
+
import { AnchoredPanelPage } from './AnchoredPanel';
|
|
7
|
+
import { AppShellPage } from './AppShell';
|
|
8
|
+
import { AvatarPage } from './Avatar';
|
|
9
|
+
import { BarChartPage } from './BarChart';
|
|
10
|
+
import { BottomSheetPage } from './BottomSheet';
|
|
11
|
+
import { BreadcrumbsPage } from './Breadcrumbs';
|
|
12
|
+
import { CalloutPage } from './Callout';
|
|
13
|
+
import { ChartThemePage } from './ChartTheme';
|
|
14
|
+
import { CloudImportPage } from './CloudImport';
|
|
15
|
+
import { ColorFieldPage } from './ColorField';
|
|
16
|
+
import { CommandPalettePage } from './CommandPalette';
|
|
17
|
+
import { ComboboxFieldPage } from './ComboboxField';
|
|
18
|
+
import { DeliveryHistoryPage } from './DeliveryHistory';
|
|
19
|
+
import { DeliverySubscriptionsPage } from './DeliverySubscriptions';
|
|
20
|
+
import { ScheduledTasksPage } from './ScheduledTasks';
|
|
21
|
+
import { ConfirmDialogPage } from './ConfirmDialog';
|
|
22
|
+
import { ConfirmDialogWarningPage } from './ConfirmDialogWarning';
|
|
23
|
+
import { ContextSelectorPage } from './ContextSelector';
|
|
24
|
+
import { CopyFieldPage } from './CopyField';
|
|
25
|
+
import { LineChartPage } from './LineChart';
|
|
26
|
+
import { PaginationPage } from './Pagination';
|
|
27
|
+
import { AvatarGroupPage } from './AvatarGroup';
|
|
28
|
+
import { TeamAvatarPage } from './TeamAvatar';
|
|
29
|
+
import { UserPickerPage } from './UserPicker';
|
|
30
|
+
import { CompanySearchFieldPage } from './CompanySearchField';
|
|
31
|
+
import { EntityImageFieldPage } from './EntityImageField';
|
|
32
|
+
import { DataTablePage } from './DataTable';
|
|
33
|
+
import { DateFieldPage } from './DateField';
|
|
34
|
+
import { DateRangeFieldPage } from './DateRangeField';
|
|
35
|
+
import { DrawerPage } from './Drawer';
|
|
36
|
+
import { DropZonePage } from './DropZone';
|
|
37
|
+
import { ExpressionSearchPage } from './ExpressionSearch';
|
|
38
|
+
import { FacetPanelPage } from './FacetPanel';
|
|
39
|
+
import { FilterBarPage } from './FilterBar';
|
|
40
|
+
import { FormFieldPage } from './FormField';
|
|
41
|
+
import { PasswordFieldPage } from './PasswordField';
|
|
42
|
+
import { ErrorBoundaryPage } from './ErrorBoundary';
|
|
43
|
+
import { CookieConsentPage } from './CookieConsent';
|
|
44
|
+
import { ImportButtonPage } from './ImportButton';
|
|
45
|
+
import { ImportFromCloudModalPage } from './ImportFromCloudModal';
|
|
46
|
+
import { InfectedDownloadModalPage } from './InfectedDownloadModal';
|
|
47
|
+
import { KeyValueListPage } from './KeyValueList';
|
|
48
|
+
import { MarkdownEditorPage } from './MarkdownEditor';
|
|
49
|
+
import { MenuPage } from './Menu';
|
|
50
|
+
import { MethodBadgePage } from './MethodBadge';
|
|
51
|
+
import { MobileShellPage } from './MobileShell';
|
|
52
|
+
import { ModalPage } from './Modal';
|
|
53
|
+
import { NotificationsMenuPage } from './NotificationsMenu';
|
|
54
|
+
import { NumberFieldPage } from './NumberField';
|
|
55
|
+
import { PageHeaderPage } from './PageHeader';
|
|
56
|
+
import { PdfEditorPage } from './PdfEditor';
|
|
57
|
+
import { PageStatePage } from './PageState';
|
|
58
|
+
import { PreviewDrawerPage } from './PreviewDrawer';
|
|
59
|
+
import { ProductTourPage } from './ProductTour';
|
|
60
|
+
import { QRCodeModalPage } from './QRCodeModal';
|
|
61
|
+
import { RichSelectPage } from './RichSelect';
|
|
62
|
+
import { RoleBadgePage } from './RoleBadge';
|
|
63
|
+
import { ScanBadgePage } from './ScanBadge';
|
|
64
|
+
import { SceneDesktopPage } from './SceneDesktop';
|
|
65
|
+
import { SceneMobilePage } from './SceneMobile';
|
|
66
|
+
import { SectionPage } from './Section';
|
|
67
|
+
import { SegmentedControlPage } from './SegmentedControl';
|
|
68
|
+
import { SettingsRowPage } from './SettingsRow';
|
|
69
|
+
import { SeverityBadgePage } from './SeverityBadge';
|
|
70
|
+
import { SparklinePage } from './Sparkline';
|
|
71
|
+
import { SplitViewPage } from './SplitView';
|
|
72
|
+
import { StatTilePage } from './StatTile';
|
|
73
|
+
import { StatusBadgePage } from './StatusBadge';
|
|
74
|
+
import { SurfacePage } from './Surface';
|
|
75
|
+
import { SwipeDeckPage } from './SwipeDeck';
|
|
76
|
+
import { TabsPage } from './Tabs';
|
|
77
|
+
import { ToastPage } from './Toast';
|
|
78
|
+
import { ToolbarPage } from './Toolbar';
|
|
79
|
+
import { ToolIconPage } from './ToolIcon';
|
|
80
|
+
import { UsageMeterPage } from './UsageMeter';
|
|
81
|
+
import { ValueMenuPage } from './ValueMenu';
|
|
82
|
+
|
|
83
|
+
/** Every catalog page, by the `component` URL parameter (`catalog-entries.ts`). */
|
|
84
|
+
export const CATALOG_PAGES: Record<string, ComponentType> = {
|
|
85
|
+
Accordion: AccordionPage,
|
|
86
|
+
AccountMenu: AccountMenuPage,
|
|
87
|
+
ActionBar: ActionBarPage,
|
|
88
|
+
AmbientBackground: AmbientBackgroundPage,
|
|
89
|
+
AnchoredPanel: AnchoredPanelPage,
|
|
90
|
+
AppShell: AppShellPage,
|
|
91
|
+
Avatar: AvatarPage,
|
|
92
|
+
BarChart: BarChartPage,
|
|
93
|
+
BottomSheet: BottomSheetPage,
|
|
94
|
+
Breadcrumbs: BreadcrumbsPage,
|
|
95
|
+
Callout: CalloutPage,
|
|
96
|
+
ChartTheme: ChartThemePage,
|
|
97
|
+
CloudImport: CloudImportPage,
|
|
98
|
+
DeliveryHistory: DeliveryHistoryPage,
|
|
99
|
+
DeliverySubscriptions: DeliverySubscriptionsPage,
|
|
100
|
+
ScheduledTasks: ScheduledTasksPage,
|
|
101
|
+
ColorField: ColorFieldPage,
|
|
102
|
+
CommandPalette: CommandPalettePage,
|
|
103
|
+
ComboboxField: ComboboxFieldPage,
|
|
104
|
+
ConfirmDialog: ConfirmDialogPage,
|
|
105
|
+
ConfirmDialogWarning: ConfirmDialogWarningPage,
|
|
106
|
+
ContextSelector: ContextSelectorPage,
|
|
107
|
+
CopyField: CopyFieldPage,
|
|
108
|
+
LineChart: LineChartPage,
|
|
109
|
+
Pagination: PaginationPage,
|
|
110
|
+
AvatarGroup: AvatarGroupPage,
|
|
111
|
+
TeamAvatar: TeamAvatarPage,
|
|
112
|
+
UserPicker: UserPickerPage,
|
|
113
|
+
CompanySearchField: CompanySearchFieldPage,
|
|
114
|
+
EntityImageField: EntityImageFieldPage,
|
|
115
|
+
DataTable: DataTablePage,
|
|
116
|
+
DateField: DateFieldPage,
|
|
117
|
+
DateRangeField: DateRangeFieldPage,
|
|
118
|
+
Drawer: DrawerPage,
|
|
119
|
+
DropZone: DropZonePage,
|
|
120
|
+
ExpressionSearch: ExpressionSearchPage,
|
|
121
|
+
FacetPanel: FacetPanelPage,
|
|
122
|
+
FilterBar: FilterBarPage,
|
|
123
|
+
FormField: FormFieldPage,
|
|
124
|
+
PasswordField: PasswordFieldPage,
|
|
125
|
+
ErrorBoundary: ErrorBoundaryPage,
|
|
126
|
+
CookieConsent: CookieConsentPage,
|
|
127
|
+
ImportButton: ImportButtonPage,
|
|
128
|
+
ImportFromCloudModal: ImportFromCloudModalPage,
|
|
129
|
+
InfectedDownloadModal: InfectedDownloadModalPage,
|
|
130
|
+
KeyValueList: KeyValueListPage,
|
|
131
|
+
MarkdownEditor: MarkdownEditorPage,
|
|
132
|
+
Menu: MenuPage,
|
|
133
|
+
MethodBadge: MethodBadgePage,
|
|
134
|
+
MobileShell: MobileShellPage,
|
|
135
|
+
Modal: ModalPage,
|
|
136
|
+
NotificationsMenu: NotificationsMenuPage,
|
|
137
|
+
NumberField: NumberFieldPage,
|
|
138
|
+
PageHeader: PageHeaderPage,
|
|
139
|
+
PdfEditor: PdfEditorPage,
|
|
140
|
+
PageState: PageStatePage,
|
|
141
|
+
PreviewDrawer: PreviewDrawerPage,
|
|
142
|
+
ProductTour: ProductTourPage,
|
|
143
|
+
QRCodeModal: QRCodeModalPage,
|
|
144
|
+
RichSelect: RichSelectPage,
|
|
145
|
+
RoleBadge: RoleBadgePage,
|
|
146
|
+
ScanBadge: ScanBadgePage,
|
|
147
|
+
SceneDesktop: SceneDesktopPage,
|
|
148
|
+
SceneMobile: SceneMobilePage,
|
|
149
|
+
Section: SectionPage,
|
|
150
|
+
SegmentedControl: SegmentedControlPage,
|
|
151
|
+
SettingsRow: SettingsRowPage,
|
|
152
|
+
SeverityBadge: SeverityBadgePage,
|
|
153
|
+
Sparkline: SparklinePage,
|
|
154
|
+
SplitView: SplitViewPage,
|
|
155
|
+
StatTile: StatTilePage,
|
|
156
|
+
StatusBadge: StatusBadgePage,
|
|
157
|
+
Surface: SurfacePage,
|
|
158
|
+
SwipeDeck: SwipeDeckPage,
|
|
159
|
+
Tabs: TabsPage,
|
|
160
|
+
Toast: ToastPage,
|
|
161
|
+
Toolbar: ToolbarPage,
|
|
162
|
+
ToolIcon: ToolIconPage,
|
|
163
|
+
UsageMeter: UsageMeterPage,
|
|
164
|
+
ValueMenu: ValueMenuPage,
|
|
165
|
+
};
|