mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 15:27:21 +00:00
24 lines
1008 B
Plaintext
24 lines
1008 B
Plaintext
@using AIStudio.Settings
|
|
@using AIStudio.Settings.DataModel
|
|
@inherits MSGComponentBase
|
|
|
|
<MudSelect T="OutboundDataRestriction" Value="@this.Value" ValueChanged="@this.ValueChanged" Text="@this.Value.GetName()" Label="@this.Label" Class="mb-1" OpenIcon="@Icons.Material.Filled.ExpandMore" AdornmentColor="Color.Info" Adornment="Adornment.Start" AdornmentIcon="@Icons.Material.Filled.Shield">
|
|
@foreach (var restriction in ConfigurationSelectDataFactory.GetOutboundDataRestrictionData(this.Minimum))
|
|
{
|
|
<MudSelectItem T="OutboundDataRestriction" Value="@restriction.Value">
|
|
@restriction.Name
|
|
</MudSelectItem>
|
|
}
|
|
</MudSelect>
|
|
<MudJustifiedText Typo="Typo.body2" Class="mb-1">
|
|
@this.Value.GetDescription()
|
|
</MudJustifiedText>
|
|
@if (this.LimitationText is { } limitationText)
|
|
{
|
|
<MudJustifiedText Typo="Typo.body2" Class="mb-1">
|
|
@limitationText
|
|
</MudJustifiedText>
|
|
}
|
|
<MudJustifiedText Typo="Typo.body2" Class="mb-6">
|
|
@this.Explanation
|
|
</MudJustifiedText> |