mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 00:07:21 +00:00
Added PowerPoint templates to the Slide Assistant (#1055)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
8c5cfa78b6
commit
6eb23ebbcb
136 files changed
+16535
-522
No files matched your search
@@ -0,0 +1,39 @@
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace AIStudio.Components;
|
||||
|
||||
/// <summary>
|
||||
/// A single, dense panel which hides content most users do not need, such as advanced options
|
||||
/// or the source code of a generated plugin.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Unlike the ExpansionPanel component, it brings its own panel list, so it stands anywhere in a
|
||||
/// form. The header text comes from the caller, which keeps the translation with the caller as
|
||||
/// well.
|
||||
/// </remarks>
|
||||
public partial class CompactExpansionPanel : ComponentBase
|
||||
{
|
||||
[Parameter]
|
||||
public string HeaderText { get; set; } = string.Empty;
|
||||
|
||||
[Parameter]
|
||||
public string HeaderIcon { get; set; } = Icons.Material.Filled.Tune;
|
||||
|
||||
[Parameter]
|
||||
public Color IconColor { get; set; } = Color.Inherit;
|
||||
|
||||
/// <summary>
|
||||
/// Class names for the surrounding panel list, separated by space, e.g., for its margins.
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public string Class { get; set; } = string.Empty;
|
||||
|
||||
[Parameter]
|
||||
public bool Expanded { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public EventCallback<bool> ExpandedChanged { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public RenderFragment? ChildContent { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user