-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev-2311' into components
- Loading branch information
Showing
129 changed files
with
3,541 additions
and
1,363 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
| ||
|
||
namespace AXOpen.Base.Dialogs | ||
{ | ||
public interface IAlert: IDialog | ||
{ | ||
} | ||
} |
16 changes: 0 additions & 16 deletions
16
src/base/src/AXOpen.Base.Abstractions/Dialogs/IAlertDialogService.cs
This file was deleted.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
src/base/src/AXOpen.Base.Abstractions/Dialogs/IAlertService.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,16 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
|
||
namespace AXOpen.Base.Dialogs | ||
{ | ||
public interface IAlertService | ||
{ | ||
public event EventHandler? AlertDialogChanged; | ||
public void AddAlertDialog(eAlertType type, string title, string message, int time); | ||
public void AddAlertDialog(IAlertToast toast); | ||
public List<IAlertToast> GetAlertDialogs(); | ||
public void RemoveAlertDialog(IAlertToast toast); | ||
public void RemoveAllAlertDialogs(); | ||
} | ||
} |
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
7 changes: 7 additions & 0 deletions
7
src/base/src/AXOpen.Base.Abstractions/Dialogs/IModalDialog.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,7 @@ | ||
| ||
namespace AXOpen.Base.Dialogs | ||
{ | ||
public interface IModalDialog : IDialog | ||
{ | ||
} | ||
} |
8 changes: 0 additions & 8 deletions
8
src/base/src/AXOpen.Base.Abstractions/Dialogs/IsAlertDialogType.cs
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
src/base/src/AXOpen.Base.Abstractions/Dialogs/IsModalDialogType.cs
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
....Abstractions/Dialogs/eAlertDialogType.cs → ...n.Base.Abstractions/Dialogs/eAlertType.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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Debug live on PLC", | ||
"type": "plc-debug", | ||
"request": "launch", | ||
"program": "${workspaceFolder}", | ||
"ip": "10.10.10.115" | ||
} | ||
] | ||
} |
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
61 changes: 61 additions & 0 deletions
61
src/core/app/ix-blazor/axopencore.blazor/Pages/AxoDialogs/AxoDialogTestView.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,61 @@ | ||
@namespace axopencore | ||
@using AXOpen.Core; | ||
@using AXSharp.Connector; | ||
@using Microsoft.AspNetCore.Components.Authorization | ||
@inherits RenderableComplexComponentBase<AxoDialogExamples.AxoDialogTest> | ||
@implements IDisposable; | ||
|
||
<div class="border border-2 m-1 rounded"> | ||
<h5>@Component.Symbol</h5> | ||
|
||
<div style="display: flex; justify-content: space-between;"> | ||
<div style="flex: 1;"> | ||
<RenderableContentControl Context="@Component._restoreDialog" Presentation="Control" /> | ||
</div> | ||
|
||
<div style="flex: 1;"> | ||
<RenderableContentControl Context="@Component._callDialog" Presentation="Control" /> | ||
</div> | ||
|
||
<div style="flex: 1;"> | ||
<RenderableContentControl Context="@Component._callDialogInSequnce" Presentation="Control" /> | ||
<RenderableContentControl Context="@Component._iterationStep" Presentation="Control" /> | ||
</div> | ||
|
||
<div style="flex: 1;"> | ||
<RenderableContentControl Context="@Component._alertInSequnce" Presentation="Control" /> | ||
<RenderableContentControl Context="@Component._alertIterationStep" Presentation="Control" /> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="accordion" id="accordionExample"> | ||
<div class="accordion-item"> | ||
<h3 class="accordion-header" id="headingOne"> | ||
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> | ||
Dialog Section | ||
</button> | ||
</h3> | ||
<div id="collapseOne" class="accordion-collapse collapse show" aria-labelledby="headingOne" data-bs-parent="#accordionExample"> | ||
<div class="accordion-body"> | ||
<div class="border border-2 m-1 rounded"> | ||
<RenderableContentControl Context="@Component._dialog" Presentation="Control" /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="accordion-item"> | ||
<h3 class="accordion-header" id="headingTwo"> | ||
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo"> | ||
Alert Dialog Section | ||
</button> | ||
</h3> | ||
<div id="collapseTwo" class="accordion-collapse collapse" aria-labelledby="headingTwo" data-bs-parent="#accordionExample"> | ||
<div class="accordion-body"> | ||
<div class="border border-2 m-1 rounded"> | ||
<RenderableContentControl Context="@Component._alertDialog" Presentation="Control" /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
41 changes: 41 additions & 0 deletions
41
src/core/app/ix-blazor/axopencore.blazor/Pages/AxoDialogs/AxoDialogsView.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 @@ | ||
@namespace axopencore | ||
@using AXOpen.Core; | ||
@using AXSharp.Connector; | ||
@using Microsoft.AspNetCore.Components.Authorization | ||
@inherits RenderableComplexComponentBase<AxoDialogExamples.Dialogs> | ||
@implements IDisposable; | ||
|
||
<div class="border border-1 rounded m-0"> | ||
<h4>@Component.Symbol</h4> | ||
|
||
<div class="border border-2 m-1 rounded"> | ||
<div style="display: flex; justify-content: space-between;"> | ||
<div style="flex: 1;"> | ||
<RenderableContentControl Context="@Component._invokeRestoreAll" Presentation="Control" /> | ||
</div> | ||
|
||
<div style="flex: 1;"> | ||
<RenderableContentControl Context="@Component._invokeCallAll" Presentation="Control" /> | ||
</div> | ||
|
||
<div style="flex: 1;"> | ||
<RenderableContentControl Context="@Component._invokeSequnceAll" Presentation="Control" /> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="border border-2 m-1 rounded border-warning"> | ||
<div style="display: flex; justify-content: space-between;"> | ||
<div style="flex: 1;"> | ||
<axopencore.AxoDialogTestView Component="@Component.AA" /> | ||
</div> | ||
|
||
<div style="flex: 1;"> | ||
<axopencore.AxoDialogTestView Component="@Component.BB" /> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
|
8 changes: 8 additions & 0 deletions
8
src/core/app/ix-blazor/axopencore.blazor/Pages/AxoDialogs/DialogExamplesControl.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,8 @@ | ||
@page "/DialogExamplesControl" | ||
@using axopencore | ||
@using AXOpen.Core | ||
@using AXOpen.Core.Blazor.AxoDialogs | ||
|
||
<axopencore.AxoDialogsView Component="@Entry.Plc.D_111" /> | ||
|
||
<axopencore.AxoDialogsView Component="@Entry.Plc.D_222" /> |
10 changes: 10 additions & 0 deletions
10
src/core/app/ix-blazor/axopencore.blazor/Pages/AxoDialogs/DialogExamplesHandling_1.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,10 @@ | ||
@page "/DialogExamplesHandling_1" | ||
@using axopencore | ||
@using AXOpen.Core | ||
@using AXOpen.Core.Blazor.AxoDialogs | ||
|
||
<h3>Dialog Examples Handling</h3> | ||
|
||
<AxoDialogLocator LocatorPath="dialog1" ObservedObjects="new[] {Entry.Plc.D_111}"></AxoDialogLocator> | ||
|
||
<AXOpen.Core.Blazor.Dialogs.AxoAlertLocator ObservedObjects="new [] {Entry.Plc.D_111}"></AXOpen.Core.Blazor.Dialogs.AxoAlertLocator> |
10 changes: 10 additions & 0 deletions
10
src/core/app/ix-blazor/axopencore.blazor/Pages/AxoDialogs/DialogExamplesHandling_2.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,10 @@ | ||
@page "/DialogExamplesHandling_2" | ||
@using axopencore | ||
@using AXOpen.Core | ||
@using AXOpen.Core.Blazor.AxoDialogs | ||
|
||
<h3>Dialog Examples Handling 1 and 2</h3> | ||
|
||
<AxoDialogLocator LocatorPath="dialog2" DisplayInModalWindow="false" ObservedObjects="new [] { Entry.Plc.D_222, Entry.Plc.D_111}"></AxoDialogLocator> | ||
|
||
<AXOpen.Core.Blazor.Dialogs.AxoAlertLocator ObservedObjects="new [] { Entry.Plc.D_222}"></AXOpen.Core.Blazor.Dialogs.AxoAlertLocator> |
Oops, something went wrong.