mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-13 14:47:21 +00:00
Changed all icons of AI Studio to Lucide (#1187)
This commit is contained in:
1 parent
9a676101f7
commit
7ef26cd5c8
352 files changed
+6261
-1620
No files matched your search
@@ -64,7 +64,7 @@
|
||||
Immediate="@true"
|
||||
Validation="@this.dataSourceValidation.ValidatingName"
|
||||
Adornment="Adornment.Start"
|
||||
AdornmentIcon="@Icons.Material.Filled.Lightbulb"
|
||||
AdornmentIcon="@AppIcons.NAME"
|
||||
AdornmentColor="Color.Info"
|
||||
UserAttributes="@SPELLCHECK_ATTRIBUTES"
|
||||
Variant="Variant.Outlined"
|
||||
@@ -93,12 +93,12 @@
|
||||
</MudAlert>
|
||||
}
|
||||
@* No adornment: the field shows the chosen entry together with its icon, see the entries below. They use the size and spacing of ProviderLabel, so a logo and a Material icon line up. *@
|
||||
<MudSelect @ref="@this.providerSelect" T="string" Value="@this.SelectedProviderKey" ValueChanged="@this.SelectProvider" Text="@this.SelectedProviderText" Placeholder="@T("Please choose a mail server")" Label="@T("Provider")" Class="mb-3" OpenIcon="@Icons.Material.Filled.ExpandMore" Validation="@this.ValidateOrganizationProvider">
|
||||
<MudSelect @ref="@this.providerSelect" T="string" Value="@this.SelectedProviderKey" ValueChanged="@this.SelectProvider" Text="@this.SelectedProviderText" Placeholder="@T("Please choose a mail server")" Label="@T("Provider")" Class="mb-3" OpenIcon="@AppIcons.EXPAND_MORE" Validation="@this.ValidateOrganizationProvider">
|
||||
@if (!this.AllowsOnlyOrganizationMailServers)
|
||||
{
|
||||
<MudSelectItem T="string" Value="@string.Empty">
|
||||
<MudStack Row="@true" AlignItems="AlignItems.Center" Spacing="1">
|
||||
<MudIcon Icon="@Icons.Material.Filled.Edit" Color="Color.Info"/>
|
||||
<MudIcon Icon="@AppIcons.CUSTOM_ENTRY" Color="Color.Info"/>
|
||||
<span>@T("Another provider")</span>
|
||||
</MudStack>
|
||||
</MudSelectItem>
|
||||
@@ -107,7 +107,7 @@
|
||||
{
|
||||
<MudSelectItem T="string" Value="@GetProviderKey(organizationProvider)">
|
||||
<MudStack Row="@true" AlignItems="AlignItems.Center" Spacing="1">
|
||||
<MudIcon Icon="@Icons.Material.Filled.Business" Color="Color.Info"/>
|
||||
<MudIcon Icon="@AppIcons.ORGANIZATION" Color="Color.Info"/>
|
||||
<span>@organizationProvider.Name</span>
|
||||
</MudStack>
|
||||
</MudSelectItem>
|
||||
@@ -120,7 +120,7 @@
|
||||
<MudStack Row="@true" AlignItems="AlignItems.Center" Spacing="1">
|
||||
@if (string.IsNullOrEmpty(template.IconUrl))
|
||||
{
|
||||
<MudIcon Icon="@Icons.Material.Filled.Email" Color="Color.Info"/>
|
||||
<MudIcon Icon="@AppIcons.EMAIL" Color="Color.Info"/>
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -175,7 +175,7 @@
|
||||
@* Settings AI Studio fills in wait behind a button, so the sign-in follows the choice of the provider directly: *@
|
||||
@if (this.AreServerSettingsFilledIn)
|
||||
{
|
||||
<MudButton OnClick="@this.ToggleServerDetails" Variant="Variant.Text" Color="Color.Primary" StartIcon="@Icons.Material.Filled.Dns" Class="@this.ServerDetailsButtonClass">
|
||||
<MudButton OnClick="@this.ToggleServerDetails" Variant="Variant.Text" Color="Color.Primary" StartIcon="@AppIcons.SERVER" Class="@this.ServerDetailsButtonClass">
|
||||
@(this.showServerDetails ? T("Hide Server Details") : T("Show Server Details"))
|
||||
</MudButton>
|
||||
}
|
||||
@@ -197,7 +197,7 @@
|
||||
ReadOnly="@(!this.CanChangeSource || this.AllowsOnlyOrganizationMailServers)"
|
||||
Validation="@this.ValidateHost"
|
||||
Adornment="Adornment.Start"
|
||||
AdornmentIcon="@Icons.Material.Filled.Dns"
|
||||
AdornmentIcon="@AppIcons.SERVER"
|
||||
AdornmentColor="Color.Info"
|
||||
Variant="Variant.Outlined"
|
||||
UserAttributes="@SPELLCHECK_ATTRIBUTES"/>
|
||||
@@ -214,7 +214,7 @@
|
||||
Variant="Variant.Outlined"/>
|
||||
</MudStack>
|
||||
|
||||
<MudSelect T="MailboxTransportSecurity" Value="@this.dataTransportSecurity" ValueChanged="@this.SelectTransportSecurity" Text="@this.dataTransportSecurity.Name" Label="@T("Encryption")" Class="mt-3" ReadOnly="@this.AllowsOnlyOrganizationMailServers" OpenIcon="@Icons.Material.Filled.ExpandMore" AdornmentColor="Color.Info" Adornment="Adornment.Start" AdornmentIcon="@Icons.Material.Filled.Lock" Validation="@DataSourceValidation.ValidateMailboxTransportSecurity">
|
||||
<MudSelect T="MailboxTransportSecurity" Value="@this.dataTransportSecurity" ValueChanged="@this.SelectTransportSecurity" Text="@this.dataTransportSecurity.Name" Label="@T("Encryption")" Class="mt-3" ReadOnly="@this.AllowsOnlyOrganizationMailServers" OpenIcon="@AppIcons.EXPAND_MORE" AdornmentColor="Color.Info" Adornment="Adornment.Start" AdornmentIcon="@AppIcons.ENCRYPTION" Validation="@DataSourceValidation.ValidateMailboxTransportSecurity">
|
||||
@foreach (var transportSecurity in ConfigurationSelectDataFactory.GetMailboxTransportSecurityData())
|
||||
{
|
||||
<MudSelectItem T="MailboxTransportSecurity" Value="@transportSecurity.Value">
|
||||
@@ -239,7 +239,7 @@
|
||||
ReadOnly="@(!this.CanChangeSource)"
|
||||
Validation="@DataSourceValidation.ValidateMailboxUsername"
|
||||
Adornment="Adornment.Start"
|
||||
AdornmentIcon="@Icons.Material.Filled.Person2"
|
||||
AdornmentIcon="@AppIcons.USERNAME"
|
||||
AdornmentColor="Color.Info"
|
||||
Variant="Variant.Outlined"
|
||||
UserAttributes="@SPELLCHECK_ATTRIBUTES"/>
|
||||
@@ -286,7 +286,7 @@
|
||||
ReadOnly="@true"
|
||||
HelperText="@(this.CanChangeSource ? T("Test the connection to select another folder.") : string.Empty)"
|
||||
Adornment="Adornment.Start"
|
||||
AdornmentIcon="@Icons.Material.Filled.Folder"
|
||||
AdornmentIcon="@AppIcons.FOLDER"
|
||||
Variant="Variant.Outlined"/>
|
||||
}
|
||||
@if (!string.IsNullOrWhiteSpace(this.folderIssue))
|
||||
@@ -301,7 +301,7 @@
|
||||
<MudTextSwitch @bind-Value="@this.dataIncludeSentAndDrafts" Color="Color.Primary" Label="@T("Include sent mails and drafts?")" LabelOn="@T("Yes, also index the sent mails and the drafts")" LabelOff="@T("No, only index the selected folder and its subfolders")"/>
|
||||
}
|
||||
|
||||
<MudSelect T="MailboxMaxAge" @bind-Value="@this.dataMaxAge" Text="@this.dataMaxAge.Name" Label="@T("Period")" Class="mb-1 mt-3" OpenIcon="@Icons.Material.Filled.ExpandMore" AdornmentColor="Color.Info" Adornment="Adornment.Start" AdornmentIcon="@Icons.Material.Filled.DateRange">
|
||||
<MudSelect T="MailboxMaxAge" @bind-Value="@this.dataMaxAge" Text="@this.dataMaxAge.Name" Label="@T("Period")" Class="mb-1 mt-3" OpenIcon="@AppIcons.EXPAND_MORE" AdornmentColor="Color.Info" Adornment="Adornment.Start" AdornmentIcon="@AppIcons.DATE_RANGE">
|
||||
@foreach (var maxAge in ConfigurationSelectDataFactory.GetMailboxMaxAgeData())
|
||||
{
|
||||
<MudSelectItem T="MailboxMaxAge" Value="@maxAge.Value">
|
||||
@@ -328,7 +328,7 @@
|
||||
Validation="@DataSourceValidation.ValidateMailboxMaxAttachmentSize"
|
||||
HelperText="@T("Of a larger attachment, only the name is indexed.")"
|
||||
Adornment="Adornment.Start"
|
||||
AdornmentIcon="@Icons.Material.Filled.AttachFile"
|
||||
AdornmentIcon="@AppIcons.ATTACH_FILE"
|
||||
AdornmentColor="Color.Info"
|
||||
Variant="Variant.Outlined"/>
|
||||
}
|
||||
@@ -336,7 +336,7 @@
|
||||
<MudJustifiedText Typo="Typo.body1" Class="mb-3 mt-3">
|
||||
@T("In order for the AI to be able to determine the appropriate data at any time, you must choose an embedding provider.")
|
||||
</MudJustifiedText>
|
||||
<MudSelect @ref="@this.embeddingSelect" @bind-Value="@this.dataEmbeddingId" Label="@T("Embedding")" Class="mb-3" OpenIcon="@Icons.Material.Filled.ExpandMore" AdornmentColor="Color.Info" Adornment="Adornment.Start" Validation="@this.dataSourceValidation.ValidateEmbeddingProviderAccess">
|
||||
<MudSelect @ref="@this.embeddingSelect" @bind-Value="@this.dataEmbeddingId" Label="@T("Embedding")" Class="mb-3" OpenIcon="@AppIcons.EXPAND_MORE" AdornmentColor="Color.Info" Adornment="Adornment.Start" Validation="@this.dataSourceValidation.ValidateEmbeddingProviderAccess">
|
||||
@foreach (var provider in this.SettingsManager.GetAllEmbeddingProviders())
|
||||
{
|
||||
<MudSelectItem Value="@provider.Id">
|
||||
@@ -359,7 +359,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
<MudSelect @ref="@this.confidenceLevelSelect" T="ConfidenceLevel" @bind-Value="@this.dataConfidenceLevel" Text="@this.ConfidenceLevelText" Placeholder="@T("Please select a level")" Label="@T("Required provider confidence level")" Class="mb-1 mt-3" OpenIcon="@Icons.Material.Filled.ExpandMore" AdornmentColor="Color.Info" Adornment="Adornment.Start" Validation="@this.dataSourceValidation.ValidateMailboxConfidenceLevel">
|
||||
<MudSelect @ref="@this.confidenceLevelSelect" T="ConfidenceLevel" @bind-Value="@this.dataConfidenceLevel" Text="@this.ConfidenceLevelText" Placeholder="@T("Please select a level")" Label="@T("Required provider confidence level")" Class="mb-1 mt-3" OpenIcon="@AppIcons.EXPAND_MORE" AdornmentColor="Color.Info" Adornment="Adornment.Start" Validation="@this.dataSourceValidation.ValidateMailboxConfidenceLevel">
|
||||
@foreach (var level in ConfigurationSelectDataFactory.GetMailboxConfidenceLevelsData())
|
||||
{
|
||||
<MudSelectItem T="ConfidenceLevel" Value="@level.Value">
|
||||
@@ -374,7 +374,7 @@
|
||||
<OutboundDataRestrictionSelection @bind-Value="@this.dataOutboundDataRestriction" Label="@T("Where a chat may send data after reading mails")" Explanation="@T("Mails come from strangers and may contain instructions meant for the AI. This setting decides where a chat may still send data once it has read from this mailbox. Mind that opening a link can be enough to set something off, e.g., to confirm a subscription, an order, or a payment.")" OrganizationMinimum="@this.MinimumOutboundDataRestriction"/>
|
||||
|
||||
<MudStack Class="mb-3">
|
||||
<MudButton OnClick="@this.ToggleExpertSettings" Variant="Variant.Text" Color="Color.Primary" StartIcon="@Icons.Material.Filled.Tune">
|
||||
<MudButton OnClick="@this.ToggleExpertSettings" Variant="Variant.Text" Color="Color.Primary" StartIcon="@AppIcons.ADVANCED_SETTINGS">
|
||||
@(this.showExpertSettings ? T("Hide Expert Settings") : T("Show Expert Settings"))
|
||||
</MudButton>
|
||||
<MudDivider/>
|
||||
@@ -394,7 +394,7 @@
|
||||
HelperText="@this.MaxChunkTokenLengthHelperText"
|
||||
Variant="Variant.Outlined"
|
||||
Adornment="Adornment.Start"
|
||||
AdornmentIcon="@Icons.Material.Filled.FormatListNumbered"
|
||||
AdornmentIcon="@AppIcons.NUMERIC_LIMIT"
|
||||
AdornmentColor="Color.Info"/>
|
||||
<MudNumericField
|
||||
@ref="@this.chunkOverlapTokenLengthField"
|
||||
@@ -408,7 +408,7 @@
|
||||
HelperText="@this.ChunkOverlapTokenLengthHelperText"
|
||||
Variant="Variant.Outlined"
|
||||
Adornment="Adornment.Start"
|
||||
AdornmentIcon="@Icons.Material.Filled.CompareArrows"
|
||||
AdornmentIcon="@AppIcons.TOKEN_OVERLAP"
|
||||
AdornmentColor="Color.Info"/>
|
||||
<MudNumericField
|
||||
T="ushort"
|
||||
@@ -418,7 +418,7 @@
|
||||
Variant="Variant.Outlined"
|
||||
Step="10"
|
||||
Adornment="Adornment.Start"
|
||||
AdornmentIcon="@Icons.Material.Filled.Search"
|
||||
AdornmentIcon="@AppIcons.SEARCH"
|
||||
AdornmentColor="Color.Info"/>
|
||||
</MudCollapse>
|
||||
</MudStack>
|
||||
|
||||
Reference in new issue
Block a user