mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 00:07:21 +00:00
Added file patterns and exclusions to folder data sources (#1057)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
249fc778a2
commit
031874cebf
75 files changed
+4808
-589
No files matched your search
@@ -0,0 +1,35 @@
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace AIStudio.Components;
|
||||
|
||||
/// <summary>
|
||||
/// A small button below a field, which puts the default value back into that field.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The button takes a row of its own, aligned to the right. Next to the field, it took away the width
|
||||
/// the field needs, wrapped or got cut off with a longer text, and every field of a form ended at
|
||||
/// another place, depending on the length of its button.
|
||||
/// </remarks>
|
||||
public partial class RestoreDefaultButton : ComponentBase
|
||||
{
|
||||
/// <summary>
|
||||
/// The text on the button, e.g., "Restore default".
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public string Text { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Puts the default value back into the field.
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public EventCallback OnClick { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public bool Disabled { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The CSS classes of the row, e.g., for the space below it.
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public string Class { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in new issue
Block a user