Files
strangler-fig-demo/portal-frontend/src/app/case-detail/case-actions/case-actions.ts
T
eho 3b04c9fae3 feat(portal-frontend): implement record-assessment form and closurePending display
Owned-mode form embedded in case-actions where the redirect link
isn't used. verifiedItems is comma-split client-side for convenience
only; the server re-validates everything regardless. closurePending
renders as a neutral success note (ADR-001), never as an error. 422
InvariantViolationResponse surfaces invariant+message verbatim in a
banner, matching the edit-details form's approach.
2026-07-31 09:08:22 +02:00

19 lines
625 B
TypeScript

import { Component, input, output } from '@angular/core';
import { ActionLink, CaseDetailActions } from '../case-detail.types';
import { RecordAssessmentForm } from '../record-assessment-form/record-assessment-form';
@Component({
selector: 'app-case-actions',
imports: [RecordAssessmentForm],
templateUrl: './case-actions.html',
styleUrl: './case-actions.css',
})
export class CaseActions {
readonly actions = input.required<CaseDetailActions>();
readonly takeOwnershipRequested = output<ActionLink>();
readonly releaseOwnershipRequested = output<ActionLink>();
readonly savedRequested = output<void>();
}