-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
7,178 additions
and
13,159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<Project> | ||
<PropertyGroup> | ||
|
||
<AbpVersion>8.0.0</AbpVersion> | ||
<AbpLeptonXThemeVersion>3.0.0</AbpLeptonXThemeVersion> | ||
<BlazoriseVersion>1.3.2</BlazoriseVersion> | ||
<AbpVersion>8.1.3</AbpVersion> | ||
<AbpLeptonXThemeVersion>3.1.*-*</AbpLeptonXThemeVersion> | ||
<BlazoriseVersion>1.5.0</BlazoriseVersion> | ||
|
||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...c/EasyAbp.AbpHelper.Gui.Application.Contracts/AbpCli/Switch/Dtos/AbpSwitchToPreRcInput.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
using EasyAbp.AbpHelper.Gui.Shared.Dtos; | ||
using JetBrains.Annotations; | ||
|
||
namespace EasyAbp.AbpHelper.Gui.AbpCli.Switch.Dtos | ||
{ | ||
[Serializable] | ||
public class AbpSwitchToPreRcInput : InputDtoWithDirectory | ||
{ | ||
public AbpSwitchToPreRcInput() | ||
{ | ||
} | ||
|
||
public AbpSwitchToPreRcInput([NotNull] string directory) : base(directory) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
dotnet/src/EasyAbp.AbpHelper.Gui.Blazor/Pages/AbpCli/Components/Switch/SwitchToPreRc.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
@using Volo.Abp.AspNetCore.Components.Web | ||
@using EasyAbp.AbpHelper.Gui.Localization | ||
@using EasyAbp.AbpHelper.Gui.AbpCli.Switch.Dtos; | ||
@using EasyAbp.AbpHelper.Gui.Blazor.Pages.Shared; | ||
@inherits ExecutableComponentBaseWithDirectory<AbpSwitchToPreRcInput> | ||
@inject AbpBlazorMessageLocalizerHelper<GuiResource> Lh | ||
|
||
<Card Class="mb-4"> | ||
<CardBody> | ||
<Alert Color="Color.Info" Visible> | ||
<AlertDescription> | ||
<Icon Name="IconName.QuestionCircle" /> @L["Info:FunctionIsBasedOnAbpCliPart1"] | ||
</AlertDescription> | ||
<AlertMessage> | ||
<Icon Name="IconName.ExternalLinkSquareAlt"/> | ||
<Link To="https://docs.abp.io/en/abp/latest/CLI#switch-to-prerc" Target="Target.Blank" Style="text-decoration: none"> | ||
@L["Info:FunctionIsBasedOnAbpCliPart2_Document"] | ||
</Link> | ||
</AlertMessage> | ||
<AlertDescription> | ||
@L["Info:FunctionIsBasedOnAbpCliPart3"] | ||
</AlertDescription> | ||
</Alert> | ||
<Form> | ||
<Validations @ref="ValidationsRef" Model="Input" ValidateOnLoad="false"> | ||
<Validation MessageLocalizer="@Lh.Localize"> | ||
<Field> | ||
<FieldLabel>@L["Directory"]</FieldLabel> | ||
<TextEdit @bind-Text="Input.Directory" Autofocus="true"> | ||
<Feedback> | ||
<ValidationError/> | ||
</Feedback> | ||
</TextEdit> | ||
</Field> | ||
</Validation> | ||
|
||
<SubmitButton Block="true" Clicked="@ExecuteAsync" SaveResourceKey="Button:Execute" /> | ||
</Validations> | ||
</Form> | ||
</CardBody> | ||
</Card> |
17 changes: 17 additions & 0 deletions
17
...et/src/EasyAbp.AbpHelper.Gui.Blazor/Pages/AbpCli/Components/Switch/SwitchToPreRc.razor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System.Threading.Tasks; | ||
using EasyAbp.AbpHelper.Gui.AbpCli.Switch; | ||
using Microsoft.AspNetCore.Components; | ||
|
||
namespace EasyAbp.AbpHelper.Gui.Blazor.Pages.AbpCli.Components.Switch | ||
{ | ||
public partial class SwitchToPreRc | ||
{ | ||
[Inject] | ||
private IAbpCliSwitchAppService Service { get; set; } | ||
|
||
protected override async Task InternalExecuteAsync() | ||
{ | ||
await Service.SwitchToPreRcAsync(Input); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"version": "2.11.0", | ||
"version": "2.12.0", | ||
"name": "easyabp-abphelper-gui", | ||
"private": true, | ||
"dependencies": { | ||
"@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~3.0.0", | ||
"@abp/aspnetcore.components.server.leptonxlitetheme": "~3.0.0" | ||
"@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~3.1.0", | ||
"@abp/aspnetcore.components.server.leptonxlitetheme": "~3.1.0" | ||
} | ||
} |
Oops, something went wrong.