mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 02:27:21 +00:00
Outbound data restrictions after searching data sources (#1106)
This commit is contained in:
1 parent
7ba5f01388
commit
8c5cfa78b6
61 files changed
+1389
-143
No files matched your search
@@ -0,0 +1,24 @@
|
||||
@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>
|
||||
Reference in new issue
Block a user