Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/ui-mock/visual-baseline/va-p26b-customer-portal-interim.html
T

402 lines
18 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>UI Mock: mock.va-p26b.interim.title</title>
<style>
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
.mock-main { padding: 32px; }
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
.mock-activity { margin: 0; padding: 0; list-style: none; }
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
</style>
</head>
<body data-ui-mock-route="/:tenant/upload" data-ui-mock-status="ready">
<div class="mock-shell" data-ui-mock-page="va-p26b-customer-portal-interim">
<nav class="mock-nav" aria-label="Mock sidebar">
<div class="mock-brand">HiveGrid mock</div>
<a class="mock-link" data-active="true" href="/:tenant/upload">mock.va-p26b.interim.nav.upload</a>
<a class="mock-link" data-active="false" href="/:tenant/settings">mock.va-p26b.interim.nav.settings</a>
<a class="mock-link" data-active="false" href="/:tenant/settings/customer-portal">mock.va-p26b.interim.nav.admin</a>
</nav>
<main class="mock-main">
<div class="mock-breadcrumbs"><span>mock.va-p26a.interim.nav.dashboard</span><span>/</span><span>mock.va-p26b.interim.nav.upload</span></div>
<header class="mock-header">
<div>
<h1 class="mock-title">mock.va-p26b.interim.title</h1>
<p class="mock-description">mock.va-p26b.interim.description</p>
</div>
<div class="mock-status">Ready</div>
</header>
<section class="mock-grid" aria-label="Mock metrics">
<article class="mock-card">
<p class="mock-card-label">mock.va-p26b.interim.metrics.routes</p>
<p class="mock-card-value">5</p>
<div class="mock-card-trend">Flat</div>
</article>
<article class="mock-card">
<p class="mock-card-label">mock.va-p26b.interim.metrics.viewModels</p>
<p class="mock-card-value">3</p>
<div class="mock-card-trend">Flat</div>
</article>
<article class="mock-card">
<p class="mock-card-label">mock.va-p26b.interim.metrics.inbox</p>
<p class="mock-card-value">2</p>
<div class="mock-card-trend">Flat</div>
</article>
</section>
<section class="mock-card" aria-label="Mock activity">
<ul class="mock-activity">
<li><span>mock.va-p26b.interim.activity.upload</span><span>multi-file + AV</span></li>
<li><span>mock.va-p26b.interim.activity.complaint</span><span>portal_form</span></li>
<li><span>mock.va-p26b.interim.activity.subcontractor</span><span>project-isolated</span></li>
<li><span>mock.va-p26b.interim.activity.inbox</span><span>7-day persistent</span></li>
<li><span>mock.va-p26b.interim.activity.lifecycle</span><span>export + delete</span></li>
</ul>
</section>
<section class="mock-state" aria-label="Mock state payload">
<strong>Serialized state</strong>
<pre>{
&quot;activity&quot;: 5,
&quot;cards&quot;: 3,
&quot;status&quot;: &quot;Ready&quot;
}</pre>
</section>
<script type="application/json" id="mock-page-state">{
&quot;data&quot;: {
&quot;activity&quot;: [
{
&quot;labelKey&quot;: &quot;mock.va-p26b.interim.activity.upload&quot;,
&quot;meta&quot;: &quot;multi-file + AV&quot;
},
{
&quot;labelKey&quot;: &quot;mock.va-p26b.interim.activity.complaint&quot;,
&quot;meta&quot;: &quot;portal_form&quot;
},
{
&quot;labelKey&quot;: &quot;mock.va-p26b.interim.activity.subcontractor&quot;,
&quot;meta&quot;: &quot;project-isolated&quot;
},
{
&quot;labelKey&quot;: &quot;mock.va-p26b.interim.activity.inbox&quot;,
&quot;meta&quot;: &quot;7-day persistent&quot;
},
{
&quot;labelKey&quot;: &quot;mock.va-p26b.interim.activity.lifecycle&quot;,
&quot;meta&quot;: &quot;export + delete&quot;
}
],
&quot;cards&quot;: [
{
&quot;labelKey&quot;: &quot;mock.va-p26b.interim.metrics.routes&quot;,
&quot;trend&quot;: &quot;flat&quot;,
&quot;value&quot;: &quot;5&quot;
},
{
&quot;labelKey&quot;: &quot;mock.va-p26b.interim.metrics.viewModels&quot;,
&quot;trend&quot;: &quot;flat&quot;,
&quot;value&quot;: &quot;3&quot;
},
{
&quot;labelKey&quot;: &quot;mock.va-p26b.interim.metrics.inbox&quot;,
&quot;trend&quot;: &quot;flat&quot;,
&quot;value&quot;: &quot;2&quot;
}
],
&quot;designStatus&quot;: &quot;interim&quot;,
&quot;screenRoutes&quot;: [
&quot;/:tenant/upload&quot;,
&quot;/:tenant/projects/:projectId&quot;,
&quot;/:tenant/settings&quot;,
&quot;/:tenant/settings/customer-portal&quot;,
&quot;/:tenant/customer-portal/inbox&quot;
],
&quot;surfaces&quot;: [
&quot;interactions&quot;,
&quot;lifecycle&quot;,
&quot;admin&quot;
],
&quot;viewModels&quot;: {
&quot;admin&quot;: {
&quot;data&quot;: {
&quot;accessRows&quot;: [
{
&quot;active&quot;: true,
&quot;canSeeOtherSubcontractors&quot;: false,
&quot;canUpload&quot;: true,
&quot;companyName&quot;: &quot;Subbau GmbH&quot;,
&quot;id&quot;: &quot;access-1&quot;,
&quot;portalUserId&quot;: &quot;portal-subcontractor&quot;,
&quot;portalUserLabel&quot;: &quot;Sven Subunternehmen&quot;,
&quot;projectId&quot;: &quot;project-1&quot;,
&quot;projectLabel&quot;: &quot;P-1001 · Heizung Familie Kunde&quot;,
&quot;roleLabel&quot;: &quot;Elektrik&quot;,
&quot;validUntil&quot;: &quot;2026-08-16T23:59:59.999Z&quot;,
&quot;viewerKind&quot;: &quot;subcontractor&quot;,
&quot;visibleDocumentTypes&quot;: [
&quot;installation_plan&quot;
],
&quot;visibleStageIds&quot;: [
&quot;stage-installation&quot;
]
}
],
&quot;autoReleaseRules&quot;: [
{
&quot;documentType&quot;: &quot;invoice&quot;,
&quot;enabled&quot;: true,
&quot;id&quot;: &quot;rule-1&quot;,
&quot;projectType&quot;: &quot;installation&quot;
}
],
&quot;configuration&quot;: {
&quot;autoReleaseRuleCount&quot;: 1,
&quot;brandingLogoConfigured&quot;: false,
&quot;brandingLogoPreviewHref&quot;: null,
&quot;emailTemplateHref&quot;: &quot;/acme/settings/customer-portal/email-templates&quot;,
&quot;enabledProjectTypes&quot;: [
&quot;installation&quot;
],
&quot;imprintUrl&quot;: &quot;https://example.test/impressum&quot;,
&quot;inactivityDisableMonths&quot;: 24,
&quot;legalLinksComplete&quot;: true,
&quot;lifecycleMode&quot;: &quot;project&quot;,
&quot;privacyUrl&quot;: &quot;https://example.test/datenschutz&quot;,
&quot;projectAutoCloseMonths&quot;: 12,
&quot;published&quot;: true,
&quot;statusEmailsEnabled&quot;: true,
&quot;termsUrl&quot;: &quot;https://example.test/agb&quot;,
&quot;uploadMaxFiles&quot;: 10,
&quot;uploadMaxFileSizeBytes&quot;: 52428800,
&quot;visibleStageCount&quot;: 1
},
&quot;frozen&quot;: false,
&quot;inbox&quot;: [
{
&quot;bundledCount&quot;: 1,
&quot;expiresAt&quot;: &quot;2026-07-23T09:45:00.000Z&quot;,
&quot;id&quot;: &quot;inbox-complaint&quot;,
&quot;kind&quot;: &quot;complaint&quot;,
&quot;occurredAt&quot;: &quot;2026-07-16T09:45:00.000Z&quot;,
&quot;ownerLabel&quot;: &quot;Projektleitung&quot;,
&quot;portalUserLabel&quot;: &quot;Karla Kunde&quot;,
&quot;priority&quot;: 400,
&quot;projectLabel&quot;: &quot;P-1001 · Heizung Familie Kunde&quot;,
&quot;status&quot;: &quot;open&quot;,
&quot;titleKey&quot;: &quot;customerPortal.admin.inbox.kinds.complaint&quot;
},
{
&quot;bundledCount&quot;: 3,
&quot;expiresAt&quot;: &quot;2026-07-23T09:30:00.000Z&quot;,
&quot;id&quot;: &quot;inbox-upload&quot;,
&quot;kind&quot;: &quot;upload&quot;,
&quot;occurredAt&quot;: &quot;2026-07-16T09:30:00.000Z&quot;,
&quot;ownerLabel&quot;: null,
&quot;portalUserLabel&quot;: &quot;Karla Kunde&quot;,
&quot;priority&quot;: 300,
&quot;projectLabel&quot;: &quot;P-1001 · Heizung Familie Kunde&quot;,
&quot;status&quot;: &quot;open&quot;,
&quot;titleKey&quot;: &quot;customerPortal.admin.inbox.kinds.upload&quot;
}
],
&quot;permissions&quot;: {
&quot;canAdminister&quot;: true,
&quot;canDeleteUsers&quot;: true,
&quot;canManageAccess&quot;: true,
&quot;canManageActivity&quot;: true,
&quot;canManageUsers&quot;: true,
&quot;canRead&quot;: true,
&quot;canReadActivity&quot;: true
},
&quot;projectOptions&quot;: [
{
&quot;id&quot;: &quot;project-1&quot;,
&quot;label&quot;: &quot;P-1001 · Heizung Familie Kunde&quot;,
&quot;projectType&quot;: &quot;installation&quot;
}
],
&quot;stages&quot;: [
{
&quot;customerLabel&quot;: &quot;Montage vor Ort&quot;,
&quot;stageId&quot;: &quot;stage-installation&quot;,
&quot;stageLabel&quot;: &quot;Montage&quot;,
&quot;visible&quot;: true
}
],
&quot;users&quot;: [
{
&quot;canResendInvitation&quot;: false,
&quot;email&quot;: &quot;sven@example.test&quot;,
&quot;id&quot;: &quot;portal-subcontractor&quot;,
&quot;kind&quot;: &quot;subcontractor&quot;,
&quot;lastActivityAt&quot;: &quot;2026-07-16T09:15:00.000Z&quot;,
&quot;name&quot;: &quot;Sven Subunternehmen&quot;,
&quot;projectCount&quot;: 1,
&quot;status&quot;: &quot;active&quot;
}
]
},
&quot;status&quot;: &quot;ready&quot;
},
&quot;interactions&quot;: {
&quot;data&quot;: {
&quot;acceptedMimeTypes&quot;: [
&quot;image/jpeg&quot;,
&quot;application/pdf&quot;,
&quot;audio/mpeg&quot;
],
&quot;canSubmitComplaint&quot;: true,
&quot;canUpload&quot;: true,
&quot;complaintForm&quot;: {
&quot;fields&quot;: [
{
&quot;key&quot;: &quot;subject&quot;,
&quot;label&quot;: &quot;Betreff&quot;,
&quot;options&quot;: [],
&quot;required&quot;: true,
&quot;type&quot;: &quot;text&quot;
},
{
&quot;key&quot;: &quot;description&quot;,
&quot;label&quot;: &quot;Beschreibung&quot;,
&quot;options&quot;: [],
&quot;required&quot;: true,
&quot;type&quot;: &quot;textarea&quot;
}
],
&quot;formId&quot;: &quot;form-complaint&quot;,
&quot;formName&quot;: &quot;Reklamation melden&quot;,
&quot;formSlug&quot;: &quot;reklamation&quot;,
&quot;gdprConsentLabel&quot;: &quot;Ich stimme der Verarbeitung zur Bearbeitung zu.&quot;,
&quot;submitAction&quot;: &quot;/acme/projects/project-1/complaints/form-complaint&quot;,
&quot;submitLabel&quot;: &quot;Reklamation senden&quot;
},
&quot;frozen&quot;: false,
&quot;maxFiles&quot;: 10,
&quot;maxFileSizeBytes&quot;: 52428800,
&quot;projectId&quot;: &quot;project-1&quot;,
&quot;projectLabel&quot;: &quot;P-1001 · Heizung Familie Kunde&quot;,
&quot;uploadAction&quot;: &quot;/acme/projects/project-1/upload&quot;,
&quot;uploads&quot;: [
{
&quot;category&quot;: &quot;photo&quot;,
&quot;createdAt&quot;: &quot;2026-07-16T09:30:00.000Z&quot;,
&quot;errorMessageKey&quot;: null,
&quot;filename&quot;: &quot;baustelle.jpg&quot;,
&quot;id&quot;: &quot;upload-1&quot;,
&quot;sizeBytes&quot;: 1572864,
&quot;status&quot;: &quot;clean&quot;
}
],
&quot;viewerKind&quot;: &quot;customer&quot;
},
&quot;status&quot;: &quot;ready&quot;
},
&quot;lifecycle&quot;: {
&quot;data&quot;: {
&quot;actions&quot;: {
&quot;canCancelDeletion&quot;: false,
&quot;canRequestDeletion&quot;: true,
&quot;canRequestExport&quot;: true,
&quot;canUpdatePreferences&quot;: true
},
&quot;deletionRequest&quot;: null,
&quot;exportJobs&quot;: [
{
&quot;downloadHref&quot;: &quot;/acme/exports/export-1&quot;,
&quot;expiresAt&quot;: &quot;2026-07-17T08:00:00.000Z&quot;,
&quot;id&quot;: &quot;export-1&quot;,
&quot;progressPercent&quot;: 100,
&quot;requestedAt&quot;: &quot;2026-07-16T08:00:00.000Z&quot;,
&quot;status&quot;: &quot;ready&quot;
}
],
&quot;frozen&quot;: false,
&quot;notificationPreferences&quot;: [
{
&quot;emailEnabled&quot;: true,
&quot;eventType&quot;: &quot;status_mail&quot;,
&quot;mutedUntil&quot;: null
},
{
&quot;emailEnabled&quot;: true,
&quot;eventType&quot;: &quot;lifecycle&quot;,
&quot;mutedUntil&quot;: null
}
],
&quot;profile&quot;: {
&quot;email&quot;: &quot;karla@example.test&quot;,
&quot;locale&quot;: &quot;de-DE&quot;,
&quot;name&quot;: &quot;Karla Kunde&quot;,
&quot;phone&quot;: &quot;+49 30 1234567&quot;
}
},
&quot;status&quot;: &quot;ready&quot;
}
}
},
&quot;status&quot;: &quot;ready&quot;
}</script>
<script type="application/json" id="mock-page-registries">{
&quot;breadcrumbs&quot;: [
{
&quot;href&quot;: &quot;/:tenant&quot;,
&quot;id&quot;: &quot;portal&quot;,
&quot;labelKey&quot;: &quot;mock.va-p26a.interim.nav.dashboard&quot;
},
{
&quot;href&quot;: &quot;/:tenant/upload&quot;,
&quot;id&quot;: &quot;upload&quot;,
&quot;labelKey&quot;: &quot;mock.va-p26b.interim.nav.upload&quot;
}
],
&quot;portals&quot;: [
{
&quot;id&quot;: &quot;customer-portal-p26b&quot;,
&quot;labelKey&quot;: &quot;mock.va-p26b.interim.title&quot;,
&quot;order&quot;: 1,
&quot;slot&quot;: &quot;customer-portal&quot;
}
],
&quot;sidebar&quot;: [
{
&quot;href&quot;: &quot;/:tenant/upload&quot;,
&quot;id&quot;: &quot;va-p26b-upload&quot;,
&quot;labelKey&quot;: &quot;mock.va-p26b.interim.nav.upload&quot;
},
{
&quot;href&quot;: &quot;/:tenant/settings&quot;,
&quot;id&quot;: &quot;va-p26b-settings&quot;,
&quot;labelKey&quot;: &quot;mock.va-p26b.interim.nav.settings&quot;
},
{
&quot;href&quot;: &quot;/:tenant/settings/customer-portal&quot;,
&quot;id&quot;: &quot;va-p26b-admin&quot;,
&quot;labelKey&quot;: &quot;mock.va-p26b.interim.nav.admin&quot;
}
]
}</script>
</main>
</div>
</body>
</html>