mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 20:27:21 +00:00
Improved the dialogs for local data sources and the Batch Processing assistant (#1096)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
149395c1a0
commit
f7e6ceb915
45 files changed
+2514
-361
No files matched your search
@@ -4,7 +4,7 @@
|
||||
{
|
||||
<MudTextField
|
||||
T="string"
|
||||
Text="@this.Text()"
|
||||
Text="@(this.ExpandToContent ? this.EditingText : this.Text())"
|
||||
TextChanged="@this.InternalUpdate"
|
||||
Disabled="@this.IsDisabled"
|
||||
Adornment="@this.IconAdornment"
|
||||
@@ -14,6 +14,7 @@
|
||||
Lines="@this.NumLines"
|
||||
AutoGrow="@this.AutoGrow"
|
||||
MaxLines="@this.GetMaxLines"
|
||||
Class="@this.InputClass"
|
||||
Immediate="@true"
|
||||
Validation="@this.Validation"
|
||||
Underline="false"
|
||||
@@ -25,20 +26,26 @@ else
|
||||
<div>
|
||||
<MudTextField
|
||||
T="string"
|
||||
Text="@this.Text()"
|
||||
Text="@(this.ExpandToContent ? this.EditingText : this.Text())"
|
||||
TextChanged="@this.InternalUpdate"
|
||||
Disabled="@this.IsDisabled"
|
||||
Adornment="@this.IconAdornment"
|
||||
AdornmentIcon="@this.Icon"
|
||||
Adornment="@(this.ResetButtonIconOnly ? Adornment.End : this.IconAdornment)"
|
||||
AdornmentIcon="@(this.ResetButtonIconOnly ? Icons.Material.Filled.Restore : this.Icon)"
|
||||
OnAdornmentClick="@this.ResetAdornmentClick"
|
||||
AdornmentAriaLabel="@(this.ResetButtonIconOnly ? this.ResetButtonText : null)"
|
||||
AdornmentColor="@this.IconColor"
|
||||
UserAttributes="@SPELLCHECK_ATTRIBUTES"
|
||||
Lines="@this.NumLines"
|
||||
AutoGrow="@this.AutoGrow"
|
||||
MaxLines="@this.GetMaxLines"
|
||||
Class="@this.InputClass"
|
||||
Immediate="@true"
|
||||
Validation="@this.Validation"
|
||||
Underline="false"
|
||||
/>
|
||||
<RestoreDefaultButton Text="@this.ResetButtonText" Disabled="@this.IsDisabled" OnClick="@this.ResetTextAsync"/>
|
||||
@if (!this.ResetButtonIconOnly)
|
||||
{
|
||||
<RestoreDefaultButton Text="@this.ResetButtonText" Disabled="@this.IsDisabled" OnClick="@this.ResetTextAsync"/>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
Reference in new issue
Block a user