Reception Mode

Wizard step component for selecting document reception mode. Supports electronic reception via EVO web, MDelivery home delivery, and personal pickup at office. Handles strict record form restrictions and original documents requirements.

Interactive Demo

Configure the component options and interact with FodReceptionMode. Toggle document and paper reception options to see how the component adapts.

Electronic Reception

The generated document can be viewed and downloaded directly from the EVO web

Paper Reception

Configuration

Mock IDs: 1, 32, 45, 78, 99

Current State

Live state of the component based on user selection.

Request Data

Electronic Enabled: True
Paper Type: None
State: SelectingMethod
Is Valid: True
Requires Original: False

Configuration State

Show Electronic: True
Has Paper Options: True
Requires Paper: False
Config Valid: True

Wizard Integration

FodReceptionMode stores selection in SharedData for conditional step visibility. Based on the selection, subsequent wizard steps (FodDelivery or FodAppointment) are shown or hidden.

Selection Next Step SharedData Key
Electronic only Skip to next general step ReceptionMode_ElectronicEnabled = true
Home Delivery (MDelivery) FodDelivery step ReceptionMode_HasHomeDelivery = true
Personal Pickup FodAppointment step ReceptionMode_HasPersonalPickup = true

API Reference - Parameters

Parameters for the FodReceptionMode component.

Parameter Type Required Description
Configuration ReceptionModeConfiguration Yes Configuration for available options and restrictions.
InitialRequest ReceptionModeRequest? No Pre-populated request data for edit scenarios.
OnReceptionModeChanged EventCallback<ReceptionModeRequest> No Invoked when selection changes.
OnValidationChanged EventCallback<bool> No Invoked when validation state changes.
CssClass string? No Additional CSS class to apply.

API Reference - Configuration Properties

Properties of the ReceptionModeConfiguration object.

Property Type Default Description
GeneratesElectronicDocument bool true Shows/hides electronic option.
OnStrictRecordForm bool false Forces paper-only mode.
MustShowOriginal bool false Shows original documents warning.
AllowHomeDelivery bool true Enables MDelivery option.
AllowPersonalPickup bool true Enables personal pickup option.
EvoPortalUrl string https://evo.gov.md/ EVO web portal URL.

Usage Examples

Common usage patterns for FodReceptionMode.

razor
@using Fod.ServiceComponents.ReceptionMode
@using Fod.ServiceComponents.ReceptionMode.Models

<FodReceptionMode Configuration="@_configuration"
                  OnReceptionModeChanged="HandleSelectionChanged" />

@code {
    private ReceptionModeConfiguration _configuration = new()
    {
        GeneratesElectronicDocument = true,
        AllowHomeDelivery = true,
        AllowPersonalPickup = true
    };

    private void HandleSelectionChanged(ReceptionModeRequest request)
    {
        Console.WriteLine($"Selected: {request.PaperReceptionType}");
    }
}
razor
<FodReceptionMode Configuration="@_strictConfig" />

@code {
    private ReceptionModeConfiguration _strictConfig = new()
    {
        GeneratesElectronicDocument = false,
        OnStrictRecordForm = true,
        AllowHomeDelivery = true,
        AllowPersonalPickup = true
    };
}

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.