Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Code style refactor (#11)
Leendert de Borst013ce9fadbf1
diff --git a/src/AliasVault.Api/Controllers/AuthenticatedRequestController.cs b/src/AliasVault.Api/Controllers/AuthenticatedRequestController.csindex c8c5e68ac..45586e241 100644--- a/src/AliasVault.Api/Controllers/AuthenticatedRequestController.cs+++ b/src/AliasVault.Api/Controllers/AuthenticatedRequestController.cs@@ -14,9 +14,6 @@ using Microsoft.AspNetCore.Mvc;/// <summary>/// Base controller for requests that require authentication./// </summary>-/// <remarks>-/// Initializes a new instance of the <see cref="AuthenticatedRequestController"/> class.-/// </remarks>/// <param name="userManager">UserManager instance.</param>[Route("api/[controller]")][ApiController]diff --git a/src/AliasVault.WebApp/Auth/Components/InputTextField.razor b/src/AliasVault.WebApp/Auth/Components/InputTextField.razorindex 4ca195285..3c5152a52 100644--- a/src/AliasVault.WebApp/Auth/Components/InputTextField.razor+++ b/src/AliasVault.WebApp/Auth/Components/InputTextField.razor@@ -9,10 +9,33 @@class="bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500" />@code {+ /// <summary>+ /// Gets or sets the ID of the input field.+ /// </summary>[Parameter] public string Id { get; set; } = null!;++ /// <summary>+ /// Gets or sets the value of the input field.+ /// </summary>[Parameter] public string Value { get; set; } = null!;- [Parameter] public EventCallback<string> ValueChanged { get; set; }++ /// <summary>+ /// Gets or sets the event callback that is triggered when the value changes.+ /// </summary>+ [Parameter] public EventCallback<string?> ValueChanged { get; set; }++ /// <summary>+ /// Gets or sets the expression that identifies the value property.+ /// </summary>[Parameter] public Expression<Func<string>> ValueExpression { get; set; } = null!;++ /// <summary>+ /// Gets or sets the placeholder text for the input field.+ /// </summary>[Parameter] public string Placeholder { get; set; } = null!;- [Parameter(CaptureUnmatchedValues = true)] public Dictionary<string, object> AdditionalAttributes { get; set; } = new();++ /// <summary>+ /// Gets or sets additional attributes for the input field.+ /// </summary>+ [Parameter(CaptureUnmatchedValues = true)] public Dictionary<string, object?> AdditionalAttributes { get; set; } = new();}