272 lines
7.7 KiB
TypeScript
272 lines
7.7 KiB
TypeScript
export const mockPage =
|
|
{
|
|
"descriptionKey": "mock.r-p11b.dashboard.description",
|
|
"id": "r-p11b-dashboard-interim",
|
|
"registries": {
|
|
"breadcrumbs": [
|
|
{
|
|
"href": "/mock",
|
|
"id": "mock",
|
|
"labelKey": "mock.root"
|
|
},
|
|
{
|
|
"href": "/mock/r-p11b/dashboard",
|
|
"id": "r-p11b-dashboard",
|
|
"labelKey": "mock.r-p11b.dashboard.label"
|
|
}
|
|
],
|
|
"mobile": [
|
|
{
|
|
"href": "/mock/r-p11b/dashboard",
|
|
"id": "r-p11b-dashboard",
|
|
"labelKey": "mock.r-p11b.dashboard.label",
|
|
"priority": 1
|
|
}
|
|
],
|
|
"sidebar": [
|
|
{
|
|
"href": "/mock/phase-c",
|
|
"id": "phase-c-home",
|
|
"labelKey": "mock.phase-c.home"
|
|
},
|
|
{
|
|
"href": "/mock/r-p11b/dashboard",
|
|
"id": "r-p11b-dashboard",
|
|
"labelKey": "mock.r-p11b.dashboard.label"
|
|
}
|
|
]
|
|
},
|
|
"route": "/mock/r-p11b/dashboard",
|
|
"state": {
|
|
"data": {
|
|
"activeRole": "gf",
|
|
"canCustomize": true,
|
|
"generatedAt": "2026-07-12T08:00:00.000Z",
|
|
"layout": {
|
|
"descriptionKey": "app.dashboard.roles.gf.description",
|
|
"mobileFirst": false,
|
|
"nameKey": "app.dashboard.roles.gf.name",
|
|
"role": "gf",
|
|
"widgets": [
|
|
{
|
|
"chart": null,
|
|
"descriptionKey": "app.dashboard.widgets.orderIntake.description",
|
|
"domain": "sales",
|
|
"items": [],
|
|
"key": "sales.order_intake",
|
|
"kind": "trend",
|
|
"loadingMode": "lazy",
|
|
"metrics": [
|
|
{
|
|
"labelKey": "app.dashboard.metrics.orderIntakeCurrentMonth",
|
|
"value": "42.000,00 €"
|
|
},
|
|
{
|
|
"labelKey": "app.dashboard.metrics.orderIntakeTrailingYear",
|
|
"value": "318.000,00 €"
|
|
}
|
|
],
|
|
"period": "quarter",
|
|
"position": {
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"series": {
|
|
"hasComparison": true,
|
|
"points": [
|
|
{
|
|
"comparisonValue": 18000,
|
|
"id": "2026-05",
|
|
"value": 21000
|
|
},
|
|
{
|
|
"comparisonValue": 30000,
|
|
"id": "2026-06",
|
|
"value": 35000
|
|
},
|
|
{
|
|
"comparisonValue": 26000,
|
|
"id": "2026-07",
|
|
"value": 42000
|
|
}
|
|
],
|
|
"valueFormat": "currency"
|
|
},
|
|
"size": {
|
|
"h": 3,
|
|
"w": 8
|
|
},
|
|
"titleKey": "app.dashboard.widgets.orderIntake.title",
|
|
"visible": true
|
|
},
|
|
{
|
|
"chart": null,
|
|
"descriptionKey": "app.dashboard.widgets.salesKpis.description",
|
|
"domain": "sales",
|
|
"items": [],
|
|
"key": "sales.kpis",
|
|
"kind": "kpi",
|
|
"loadingMode": "lazy",
|
|
"metrics": [
|
|
{
|
|
"labelKey": "app.dashboard.metrics.openProjects",
|
|
"value": "7"
|
|
},
|
|
{
|
|
"labelKey": "app.dashboard.metrics.wonProjects",
|
|
"value": "3"
|
|
}
|
|
],
|
|
"period": "30d",
|
|
"position": {
|
|
"x": 8,
|
|
"y": 0
|
|
},
|
|
"series": null,
|
|
"size": {
|
|
"h": 2,
|
|
"w": 4
|
|
},
|
|
"titleKey": "app.dashboard.widgets.salesKpis.title",
|
|
"visible": true
|
|
},
|
|
{
|
|
"chart": {
|
|
"points": [
|
|
{
|
|
"color": "#94a3b8",
|
|
"id": "not_due",
|
|
"labelKey": "app.dashboard.receivables.notDue",
|
|
"value": 35500
|
|
},
|
|
{
|
|
"color": "#64748b",
|
|
"id": "overdue_1_30",
|
|
"labelKey": "app.dashboard.receivables.overdue1To30",
|
|
"value": 8000
|
|
},
|
|
{
|
|
"color": "#475569",
|
|
"id": "overdue_31_60",
|
|
"labelKey": "app.dashboard.receivables.overdue31To60",
|
|
"value": 3000
|
|
},
|
|
{
|
|
"color": "#d97706",
|
|
"id": "overdue_61_90",
|
|
"labelKey": "app.dashboard.receivables.overdue61To90",
|
|
"value": 1000
|
|
},
|
|
{
|
|
"color": "#b91c1c",
|
|
"id": "overdue_90_plus",
|
|
"labelKey": "app.dashboard.receivables.overdue90Plus",
|
|
"value": 500
|
|
}
|
|
],
|
|
"valueFormat": "currency"
|
|
},
|
|
"descriptionKey": "app.dashboard.widgets.receivables.description",
|
|
"domain": "finance",
|
|
"items": [],
|
|
"key": "finance.receivables",
|
|
"kind": "chart",
|
|
"loadingMode": "lazy",
|
|
"metrics": [
|
|
{
|
|
"labelKey": "app.dashboard.metrics.openReceivables",
|
|
"value": "48.000,00 €"
|
|
},
|
|
{
|
|
"labelKey": "app.dashboard.metrics.overdueReceivables",
|
|
"value": "12.500,00 €"
|
|
}
|
|
],
|
|
"period": "30d",
|
|
"position": {
|
|
"x": 0,
|
|
"y": 3
|
|
},
|
|
"series": null,
|
|
"size": {
|
|
"h": 3,
|
|
"w": 8
|
|
},
|
|
"titleKey": "app.dashboard.widgets.receivables.title",
|
|
"visible": true
|
|
},
|
|
{
|
|
"chart": null,
|
|
"descriptionKey": "app.dashboard.widgets.salesForecast.description",
|
|
"domain": "sales",
|
|
"items": [],
|
|
"key": "sales.forecast",
|
|
"kind": "trend",
|
|
"loadingMode": "lazy",
|
|
"metrics": [
|
|
{
|
|
"labelKey": "app.dashboard.metrics.forecast",
|
|
"value": "125.000,00 €"
|
|
}
|
|
],
|
|
"period": "quarter",
|
|
"position": {
|
|
"x": 8,
|
|
"y": 3
|
|
},
|
|
"series": null,
|
|
"size": {
|
|
"h": 2,
|
|
"w": 4
|
|
},
|
|
"titleKey": "app.dashboard.widgets.salesForecast.title",
|
|
"visible": true
|
|
},
|
|
{
|
|
"chart": {
|
|
"points": [
|
|
{
|
|
"color": "#2563eb",
|
|
"id": "stage-1",
|
|
"labelKey": "mock.r-p11b.dashboard.stage.qualified",
|
|
"value": 4
|
|
},
|
|
{
|
|
"color": "#d97706",
|
|
"id": "stage-2",
|
|
"labelKey": "mock.r-p11b.dashboard.stage.offer",
|
|
"value": 2
|
|
}
|
|
]
|
|
},
|
|
"descriptionKey": "app.dashboard.widgets.stageDistribution.description",
|
|
"domain": "projects",
|
|
"items": [],
|
|
"key": "projects.stage_distribution",
|
|
"kind": "chart",
|
|
"loadingMode": "lazy",
|
|
"metrics": [],
|
|
"period": "30d",
|
|
"position": {
|
|
"x": 0,
|
|
"y": 3
|
|
},
|
|
"series": null,
|
|
"size": {
|
|
"h": 3,
|
|
"w": 8
|
|
},
|
|
"titleKey": "app.dashboard.widgets.stageDistribution.title",
|
|
"visible": true
|
|
}
|
|
]
|
|
},
|
|
"streamUrl": "/mock/r-p11b/dashboard/stream"
|
|
},
|
|
"status": "ready"
|
|
},
|
|
"titleKey": "mock.r-p11b.dashboard.title"
|
|
}
|
|
;
|
|
export default mockPage;
|