135 lines
3.9 KiB
TypeScript
135 lines
3.9 KiB
TypeScript
export const mockPage =
|
|
{
|
|
"descriptionKey": "mock.ak-ui-02.detail.description",
|
|
"id": "ak-ui-02-email-detail-interim",
|
|
"registries": {
|
|
"breadcrumbs": [
|
|
{
|
|
"href": "/mock",
|
|
"id": "mock",
|
|
"labelKey": "mock.root"
|
|
},
|
|
{
|
|
"href": "/mock/ak-ui-02/emails/msg-1",
|
|
"id": "ak-ui-02-email-detail",
|
|
"labelKey": "mock.ak-ui-02.detail.label"
|
|
}
|
|
]
|
|
},
|
|
"route": "/mock/ak-ui-02/emails/msg-1",
|
|
"state": {
|
|
"data": {
|
|
"activity": [
|
|
{
|
|
"labelKey": "mock.ak-ui-02.detail.activity.thread",
|
|
"meta": "thread"
|
|
},
|
|
{
|
|
"labelKey": "mock.ak-ui-02.detail.activity.linkDialog",
|
|
"meta": "dialog"
|
|
},
|
|
{
|
|
"labelKey": "mock.ak-ui-02.detail.activity.importDialog",
|
|
"meta": "dialog"
|
|
},
|
|
{
|
|
"labelKey": "mock.ak-ui-02.detail.activity.toggleRead",
|
|
"meta": "action"
|
|
}
|
|
],
|
|
"cards": [
|
|
{
|
|
"labelKey": "mock.ak-ui-02.detail.metrics.threadLength",
|
|
"trend": "flat",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"labelKey": "mock.ak-ui-02.detail.metrics.attachments",
|
|
"trend": "flat",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"labelKey": "mock.ak-ui-02.detail.metrics.designStatus",
|
|
"trend": "flat",
|
|
"value": "interim"
|
|
}
|
|
],
|
|
"designStatus": "interim",
|
|
"screenRoute": "/emails/:id",
|
|
"viewModel": {
|
|
"data": {
|
|
"allowExternalImages": false,
|
|
"attachments": [
|
|
{
|
|
"attachmentId": "att-1",
|
|
"downloadHref": null,
|
|
"filename": "angebot.pdf",
|
|
"importedFileId": null,
|
|
"sizeBytes": 245760
|
|
}
|
|
],
|
|
"backHref": "/mock/ak-ui-02/emails",
|
|
"canWrite": true,
|
|
"focusedId": "msg-1",
|
|
"forwardHref": "/mock/ak-ui-02/emails/new?forward=msg-1",
|
|
"mailbox": {
|
|
"emailAddress": "sales@demo-pro.example",
|
|
"provider": "gmail"
|
|
},
|
|
"match": {
|
|
"confidence": "manual",
|
|
"isManual": true,
|
|
"links": [
|
|
{
|
|
"href": "/mock/ak-ui-02/contacts/contact-1",
|
|
"id": "contact-1",
|
|
"type": "kontakt"
|
|
}
|
|
],
|
|
"sourceKey": "emailInbox.detail.match.manual"
|
|
},
|
|
"replyHref": "/mock/ak-ui-02/emails/new?replyTo=msg-1",
|
|
"subject": "Fixture thread subject",
|
|
"thread": [
|
|
{
|
|
"blockedImageCount": 0,
|
|
"ccSummary": null,
|
|
"collapsedByDefault": true,
|
|
"direction": "outbound",
|
|
"fromAddress": "sales@demo-pro.example",
|
|
"fromName": "Demo Pro",
|
|
"id": "msg-0",
|
|
"isFocused": false,
|
|
"isRead": true,
|
|
"safeBodyHtml": "<p>Guten Tag, anbei unser Angebot.</p>",
|
|
"sentAt": "2026-07-01T10:00:00.000Z",
|
|
"subject": "Fixture original subject",
|
|
"toSummary": "buero@demo-pro.example"
|
|
},
|
|
{
|
|
"blockedImageCount": 2,
|
|
"ccSummary": null,
|
|
"collapsedByDefault": false,
|
|
"direction": "inbound",
|
|
"fromAddress": "buero@demo-pro.example",
|
|
"fromName": "Sandra Vogel",
|
|
"id": "msg-1",
|
|
"isFocused": true,
|
|
"isRead": false,
|
|
"safeBodyHtml": "<p>Vielen Dank, wir pruefen das Angebot.</p>",
|
|
"sentAt": "2026-07-02T09:30:00.000Z",
|
|
"subject": "Fixture thread subject",
|
|
"toSummary": "sales@demo-pro.example"
|
|
}
|
|
]
|
|
},
|
|
"status": "ready"
|
|
}
|
|
},
|
|
"status": "ready"
|
|
},
|
|
"titleKey": "mock.ak-ui-02.detail.title"
|
|
}
|
|
;
|
|
export default mockPage;
|