Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/ui-mock/visual-baseline/r-p8-projects-interim.mock.ts
T

237 lines
7.3 KiB
TypeScript

export const mockPage =
{
"descriptionKey": "mock.r-p8.projects.description",
"id": "r-p8-projects-interim",
"registries": {
"breadcrumbs": [
{
"href": "/:tenant/projects",
"id": "projects",
"labelKey": "mock.r-p8.projects.nav.board"
}
],
"sidebar": [
{
"href": "/:tenant/projects",
"id": "r-p8-projects-board",
"labelKey": "mock.r-p8.projects.nav.board",
"permission": "projects.read_own"
},
{
"href": "/:tenant/projects/list",
"id": "r-p8-projects-list",
"labelKey": "mock.r-p8.projects.nav.list",
"permission": "projects.read_own"
}
]
},
"route": "/:tenant/projects",
"state": {
"data": {
"activity": [
{
"labelKey": "mock.r-p8.projects.activity.board",
"meta": "/:tenant/projects"
},
{
"labelKey": "mock.r-p8.projects.activity.list",
"meta": "/:tenant/projects/list"
},
{
"labelKey": "mock.r-p8.projects.activity.detail",
"meta": "/:tenant/projects/:id"
},
{
"labelKey": "mock.r-p8.projects.activity.admin",
"meta": "pipelines / lost-reasons"
}
],
"cards": [
{
"labelKey": "mock.r-p8.projects.metrics.stages",
"trend": "flat",
"value": "4"
},
{
"labelKey": "mock.r-p8.projects.metrics.projects",
"trend": "flat",
"value": "3"
},
{
"labelKey": "mock.r-p8.projects.metrics.designStatus",
"trend": "flat",
"value": "interim"
}
],
"designStatus": "interim",
"screenRoute": "/:tenant/projects",
"viewModel": {
"data": {
"canAdmin": true,
"canChangeStage": true,
"canDelete": false,
"canWrite": true,
"columns": [
{
"aggregateValue": "12.500,00 €",
"aggregateVisible": true,
"cards": [
{
"appointmentIso": "2026-07-22T08:00:00.000Z",
"appointmentTitle": "Vor-Ort-Termin",
"canRedo": false,
"deadlineIso": "2026-07-30T00:00:00.000Z",
"detailHref": "/:tenant/projects/projekt-1",
"id": "projekt-1",
"isStuck": false,
"ownerLabel": "Rafael Referenz",
"prioritaet": "hoch",
"prioritaetLabelKey": "projects.priority.hoch",
"projektname": "Wärmepumpe Familie Muster",
"projektNummer": "P-00001",
"projekttyp": "Wärmepumpe",
"startIso": "2026-07-14T00:00:00.000Z",
"stuckDays": null,
"subtitle": "Familie Muster · Musterstadt",
"tags": [],
"undoUntilIso": null,
"value": "12.500,00 €",
"valueVisible": true
}
],
"color": "#2563eb",
"projectCount": 1,
"stageId": "stage-neu",
"stageKind": "offen",
"stageName": "Neu",
"winProbability": 25
},
{
"aggregateValue": null,
"aggregateVisible": false,
"cards": [
{
"appointmentIso": null,
"appointmentTitle": null,
"canRedo": false,
"deadlineIso": "2026-07-10T00:00:00.000Z",
"detailHref": "/:tenant/projects/projekt-2",
"id": "projekt-2",
"isStuck": true,
"ownerLabel": null,
"prioritaet": "normal",
"prioritaetLabelKey": "projects.priority.normal",
"projektname": "Badsanierung Beispiel GmbH",
"projektNummer": "P-00002",
"projekttyp": null,
"startIso": null,
"stuckDays": null,
"subtitle": null,
"tags": [],
"undoUntilIso": null,
"value": null,
"valueVisible": false
}
],
"color": "#f59e0b",
"projectCount": 1,
"stageId": "stage-angebot",
"stageKind": "offen",
"stageName": "Angebot",
"winProbability": 60
},
{
"aggregateValue": "8.900,00 €",
"aggregateVisible": true,
"cards": [
{
"appointmentIso": null,
"appointmentTitle": null,
"canRedo": false,
"deadlineIso": null,
"detailHref": "/:tenant/projects/projekt-3",
"id": "projekt-3",
"isStuck": false,
"ownerLabel": "Rafael Referenz",
"prioritaet": "dringend",
"prioritaetLabelKey": "projects.priority.dringend",
"projektname": "Solarthermie Nachrüstung",
"projektNummer": "P-00003",
"projekttyp": null,
"startIso": null,
"stuckDays": null,
"subtitle": null,
"tags": [],
"undoUntilIso": "2026-07-16T09:00:00.000Z",
"value": "8.900,00 €",
"valueVisible": true
}
],
"color": "#16a34a",
"projectCount": 1,
"stageId": "stage-gewonnen",
"stageKind": "gewonnen",
"stageName": "Gewonnen",
"winProbability": 100
},
{
"aggregateValue": "0,00 €",
"aggregateVisible": true,
"cards": [],
"color": "#dc2626",
"projectCount": 0,
"stageId": "stage-verloren",
"stageKind": "verloren",
"stageName": "Verloren",
"winProbability": 0
}
],
"generatedAtIso": "2026-07-15T09:00:00.000Z",
"lostReasons": [
{
"id": "lost-preis",
"name": "Preis"
},
{
"id": "lost-wettbewerber",
"name": "Wettbewerber"
}
],
"lostStageId": "stage-verloren",
"openStages": [
{
"id": "stage-neu",
"name": "Neu"
},
{
"id": "stage-angebot",
"name": "Angebot"
}
],
"pipelineId": "pipeline-sales",
"pipelineName": "Vertrieb (SHK)",
"pipelines": [
{
"id": "pipeline-sales",
"name": "Vertrieb (SHK)",
"typHint": "sales"
},
{
"id": "pipeline-auftrag",
"name": "Aufträge",
"typHint": "auftrag"
}
],
"sseHref": "/:tenant/projects/pipelines/pipeline-sales/stream",
"wonStageId": "stage-gewonnen"
},
"status": "ready"
}
},
"status": "ready"
},
"titleKey": "mock.r-p8.projects.title"
}
;
export default mockPage;