2024-09-09 13:08:16 +00:00
|
|
|
@attribute [Route(Routes.ASSISTANT_MY_TASKS)]
|
2025-03-12 10:31:01 +00:00
|
|
|
@inherits AssistantBaseCore<AIStudio.Dialogs.Settings.SettingsDialogMyTasks>
|
2024-09-09 13:08:16 +00:00
|
|
|
|
2026-04-16 14:48:47 +00:00
|
|
|
<ProfileFormSelection Validation="@this.ValidateProfile" @bind-Profile="@this.CurrentProfile"/>
|
2025-04-27 07:06:05 +00:00
|
|
|
<MudTextField T="string" @bind-Text="@this.inputText" Validation="@this.ValidatingText" AdornmentIcon="@Icons.Material.Filled.DocumentScanner" Adornment="Adornment.Start" Label="@T("Text or email")" Variant="Variant.Outlined" Lines="12" AutoGrow="@true" MaxLines="24" Class="mb-3" UserAttributes="@USER_INPUT_ATTRIBUTES"/>
|
2026-07-09 11:07:11 +00:00
|
|
|
<MudText Typo="Typo.h6" Class="mb-1 mt-1">@T("Attach documents")</MudText>
|
|
|
|
|
<MudJustifiedText Typo="Typo.body1" Class="mb-2">
|
|
|
|
|
@T("You can enter text, attach one or more documents, or use both. At least one input is required.")
|
|
|
|
|
</MudJustifiedText>
|
|
|
|
|
<div class="mb-3">
|
|
|
|
|
<AttachDocuments Name="My Tasks Documents" Layer="@DropLayers.ASSISTANTS" @bind-DocumentPaths="@this.loadedDocumentPaths" OnChange="@this.OnDocumentsChanged" CatchAllDocuments="true" UseSmallForm="false" Provider="@this.ProviderSettings"/>
|
|
|
|
|
</div>
|
2025-04-27 07:06:05 +00:00
|
|
|
<EnumSelection T="CommonLanguages" NameFunc="@(language => language.NameSelectingOptional())" @bind-Value="@this.selectedTargetLanguage" Icon="@Icons.Material.Filled.Translate" Label="@T("Target language")" AllowOther="@true" OtherValue="CommonLanguages.OTHER" @bind-OtherInput="@this.customTargetLanguage" ValidateOther="@this.ValidateCustomLanguage" LabelOther="@T("Custom target language")" />
|
2026-04-16 14:48:47 +00:00
|
|
|
<ProviderSelection @bind-ProviderSettings="@this.ProviderSettings" ValidateProvider="@this.ValidatingProvider"/>
|