Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@

<!-- Framework-Agnostic Packages -->
<ItemGroup>
<PackageVersion Include="Inxton.Operon" Version="0.3.0-alpha.114" />
<PackageVersion Include="Inxton.Operon" Version="0.3.0-alpha.133" />
<PackageVersion Include="Cake.DocFx" Version="1.0.0" />
<PackageVersion Include="Octokit" Version="13.0.1" />
<PackageVersion Include="Octokit.Extensions" Version="1.0.7" />
<PackageVersion Include="Cake.Frosting" Version="5.0.0" />
<PackageVersion Include="Cake.Powershell" Version="4.0.0" />
<PackageVersion Include="Google.Protobuf" Version="3.32.0" />
<PackageVersion Include="Google.Protobuf" Version="3.33.1" />
<PackageVersion Include="CliWrap" Version="3.6.7" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" />
<PackageVersion Include="NuGet.Configuration" Version="6.12.1" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace AXSharp.Presentation.Blazor.Controls.Templates.Base
{
public static class FormatConstants
{
public const string TimeFormat = @"ss\.FFF";

public const string LTimeFormat = @"ss\.FFF";

public const string TimeOfDayFormat = @"hh\:mm\:ss";

public const string LTimeOfDayFormat = @"hh\:mm\:ss";
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@using AXSharp.Presentation.Blazor.Controls.Templates.Base
@inherits TemplateBaseOnline<TimeSpan>

<OnlinerTimeControlView Onliner="Onliner" IsReadOnly="IsReadOnly" PollingInterval="PollingInterval" HideLabel="@HideLabel" Unit="@Unit" Format="@Format" />
<OnlinerTimeControlView Onliner="Onliner" IsReadOnly="IsReadOnly" PollingInterval="PollingInterval" HideLabel="@HideLabel" Unit="@Unit" Format="@(Format != null ? Format : FormatConstants.LTimeFormat)" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@using AXSharp.Presentation.Blazor.Controls.Templates.Base
@inherits TemplateBaseOnline<TimeSpan>

<OnlinerTimeOfDayControlView Onliner="Onliner" IsReadOnly="IsReadOnly" PollingInterval="PollingInterval" HideLabel="@HideLabel" Unit="@Unit" Format="@Format" />
<OnlinerTimeOfDayControlView Onliner="Onliner" IsReadOnly="IsReadOnly" PollingInterval="PollingInterval" HideLabel="@HideLabel" Unit="@Unit" Format="@(Format != null ? Format : FormatConstants.LTimeOfDayFormat)" />
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@using System.Globalization;
@using System.Text.RegularExpressions;
@using AXSharp.Presentation.Blazor.Controls.Templates.Base
@inherits TemplateBaseOnline<TimeSpan>

<TemplateView OnlinerSymbol="@OnlinerSymbol" FailureReason="@Onliner.AccessStatus.FailureReason" ToolTipOrHumanReadable="@ToolTipOrHumanReadable" Symbol="@Symbol">
<Operon.Components.BaseInput @bind-Value="@Value" Label="@GetLabel()" IsReadOnly="@IsReadOnly" AccessStatus="@AccessStatus" OnFocusIn="() => HasFocus = true" OnFocusOut="() => HasFocus = false" HideLabel="@HideLabel" Unit="@Unit" Format="@Format" />
<Operon.Components.BaseInput @bind-Value="@Value" Label="@GetLabel()" IsReadOnly="@IsReadOnly" AccessStatus="@AccessStatus" OnFocusIn="() => HasFocus = true" OnFocusOut="() => HasFocus = false" HideLabel="@HideLabel" Unit="@Unit" Format="@(Format != null ? Format : FormatConstants.TimeFormat)" />
</TemplateView>
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@using System.Globalization
@using AXSharp.Presentation.Blazor.Controls.Templates.Base
@using Microsoft.AspNetCore.Components
@using AXSharp.Presentation.Blazor.Controls.Templates
@inherits TemplateBaseOnline<TimeSpan>

<TemplateView OnlinerSymbol="@OnlinerSymbol" FailureReason="@Onliner.AccessStatus.FailureReason" ToolTipOrHumanReadable="@ToolTipOrHumanReadable" Symbol="@Symbol">
<Operon.Components.BaseInput @bind-Value="@Value" Label="@GetLabel()" IsReadOnly="@IsReadOnly" AccessStatus="@AccessStatus" OnFocusIn="() => HasFocus = true" OnFocusOut="() => HasFocus = false" HideLabel="@HideLabel" Unit="@Unit" Format="@Format" />
<Operon.Components.BaseInput @bind-Value="@Value" Label="@GetLabel()" IsReadOnly="@IsReadOnly" AccessStatus="@AccessStatus" OnFocusIn="() => HasFocus = true" OnFocusOut="() => HasFocus = false" HideLabel="@HideLabel" Unit="@Unit" Format="@(Format != null ? Format : FormatConstants.TimeOfDayFormat)" />
</TemplateView>
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@using AXSharp.Presentation.Blazor.Controls.Templates.Base
@inherits TemplateBaseOnline<TimeSpan>

<OnlinerTimeDisplayView Onliner="Onliner" IsReadOnly="IsReadOnly" PollingInterval="PollingInterval" HideLabel="@HideLabel" Unit="@Unit" Format="@Format" />
<OnlinerTimeDisplayView Onliner="Onliner" IsReadOnly="IsReadOnly" PollingInterval="PollingInterval" HideLabel="@HideLabel" Unit="@Unit" Format="@(Format != null ? Format : FormatConstants.LTimeFormat)" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@using AXSharp.Presentation.Blazor.Controls.Templates.Base
@inherits TemplateBaseOnline<TimeSpan>

<OnlinerTimeOfDayDisplayView Onliner="Onliner" IsReadOnly="IsReadOnly" PollingInterval="PollingInterval" HideLabel="@HideLabel" Unit="@Unit" Format="@Format" />
<OnlinerTimeOfDayDisplayView Onliner="Onliner" IsReadOnly="IsReadOnly" PollingInterval="PollingInterval" HideLabel="@HideLabel" Unit="@Unit" Format="@(Format != null ? Format : FormatConstants.LTimeOfDayFormat)" />
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@using System.Globalization;
@using AXSharp.Presentation.Blazor.Controls.Templates.Base
@inherits TemplateBaseOnline<TimeSpan>

<TemplateView OnlinerSymbol="@OnlinerSymbol" FailureReason="@Onliner.AccessStatus.FailureReason" ToolTipOrHumanReadable="@ToolTipOrHumanReadable" Symbol="@Symbol">
<Operon.Components.BaseInput @bind-Value="@Value" Label="@GetLabel()" IsReadOnly="true" AccessStatus="@AccessStatus" OnFocusIn="() => HasFocus = true" OnFocusOut="() => HasFocus = false" HideLabel="@HideLabel" Unit="@Unit" Format="@Format" />
<Operon.Components.BaseInput @bind-Value="@Value" Label="@GetLabel()" IsReadOnly="true" AccessStatus="@AccessStatus" OnFocusIn="() => HasFocus = true" OnFocusOut="() => HasFocus = false" HideLabel="@HideLabel" Unit="@Unit" Format="@(Format != null ? Format : FormatConstants.TimeFormat)" />
</TemplateView>
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@using System.Globalization;
@using AXSharp.Presentation.Blazor.Controls.Templates.Base
@inherits TemplateBaseOnline<TimeSpan>

<TemplateView OnlinerSymbol="@OnlinerSymbol" FailureReason="@Onliner.AccessStatus.FailureReason" ToolTipOrHumanReadable="@ToolTipOrHumanReadable" Symbol="@Symbol">
<Operon.Components.BaseInput @bind-Value="@Value" Label="@GetLabel()" IsReadOnly="true" AccessStatus="@AccessStatus" OnFocusIn="() => HasFocus = true" OnFocusOut="() => HasFocus = false" HideLabel="@HideLabel" Unit="@Unit" Format="@Format" />
<Operon.Components.BaseInput @bind-Value="@Value" Label="@GetLabel()" IsReadOnly="true" AccessStatus="@AccessStatus" OnFocusIn="() => HasFocus = true" OnFocusOut="() => HasFocus = false" HideLabel="@HideLabel" Unit="@Unit" Format="@(Format != null ? Format : FormatConstants.LTimeOfDayFormat)" />
</TemplateView>
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@using AXSharp.Presentation.Blazor.Controls.Templates.Base
@inherits TemplateBaseShadow<TimeSpan>

<OnlinerTimeOfDayShadowControlView Onliner="Onliner" IsReadOnly="IsReadOnly" PollingInterval="PollingInterval" HideLabel="@HideLabel" Unit="@Unit" Format="@Format" />
<OnlinerTimeOfDayShadowControlView Onliner="Onliner" IsReadOnly="IsReadOnly" PollingInterval="PollingInterval" HideLabel="@HideLabel" Unit="@Unit" Format="@(Format != null ? Format : FormatConstants.LTimeOfDayFormat)" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@using AXSharp.Presentation.Blazor.Controls.Templates.Base
@inherits TemplateBaseShadow<TimeSpan>

<OnlinerTimeShadowControlView Onliner="Onliner" IsReadOnly="IsReadOnly" PollingInterval="PollingInterval" HideLabel="@HideLabel" Unit="@Unit" Format="@Format" />
<OnlinerTimeShadowControlView Onliner="Onliner" IsReadOnly="IsReadOnly" PollingInterval="PollingInterval" HideLabel="@HideLabel" Unit="@Unit" Format="@(Format != null ? Format : FormatConstants.LTimeFormat)" />
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@using System.Globalization;
@using AXSharp.Presentation.Blazor.Controls.Templates.Base
@inherits TemplateBaseShadow<TimeSpan>

<TemplateView OnlinerSymbol="@OnlinerSymbol" FailureReason="@Onliner.AccessStatus.FailureReason" ToolTipOrHumanReadable="@ToolTipOrHumanReadable" Symbol="@Symbol">
<Operon.Components.BaseInput @bind-Value="@Onliner.Shadow" Label="@GetLabel()" IsReadOnly="@IsReadOnly" AccessStatus="@AccessStatus" OnFocusIn="() => HasFocus = true" OnFocusOut="() => HasFocus = false" HideLabel="@HideLabel" Unit="@Unit" Format="@Format" />
<Operon.Components.BaseInput @bind-Value="@Onliner.Shadow" Label="@GetLabel()" IsReadOnly="@IsReadOnly" AccessStatus="@AccessStatus" OnFocusIn="() => HasFocus = true" OnFocusOut="() => HasFocus = false" HideLabel="@HideLabel" Unit="@Unit" Format="@(Format != null ? Format : FormatConstants.TimeOfDayFormat)" />
</TemplateView>
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@using System.Globalization;
@using AXSharp.Presentation.Blazor.Controls.Templates.Base
@inherits TemplateBaseShadow<TimeSpan>

<TemplateView OnlinerSymbol="@OnlinerSymbol" FailureReason="@Onliner.AccessStatus.FailureReason" ToolTipOrHumanReadable="@ToolTipOrHumanReadable" Symbol="@Symbol">
<Operon.Components.BaseInput @bind-Value="@Onliner.Shadow" Label="@GetLabel()" IsReadOnly="@IsReadOnly" AccessStatus="@AccessStatus" OnFocusIn="() => HasFocus = true" OnFocusOut="() => HasFocus = false" HideLabel="@HideLabel" Unit="@Unit" Format="@Format" />
</TemplateView>
<Operon.Components.BaseInput @bind-Value="@Onliner.Shadow" Label="@GetLabel()" IsReadOnly="@IsReadOnly" AccessStatus="@AccessStatus" OnFocusIn="() => HasFocus = true" OnFocusOut="() => HasFocus = false" HideLabel="@HideLabel" Unit="@Unit" Format="@(Format != null ? Format : FormatConstants.TimeFormat)" />
</TemplateView>
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@using AXSharp.Presentation.Blazor.Controls.Templates.Base
@inherits TemplateBaseShadow<TimeSpan>

<OnlinerTimeOfDayShadowDisplayView Onliner="Onliner" IsReadOnly="IsReadOnly" PollingInterval="PollingInterval" HideLabel="@HideLabel" Unit="@Unit" Format="@Format" />
<OnlinerTimeOfDayShadowDisplayView Onliner="Onliner" IsReadOnly="IsReadOnly" PollingInterval="PollingInterval" HideLabel="@HideLabel" Unit="@Unit" Format="@(Format != null ? Format : FormatConstants.LTimeOfDayFormat)" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@using AXSharp.Presentation.Blazor.Controls.Templates.Base
@inherits TemplateBaseShadow<TimeSpan>

<OnlinerTimeShadowDisplayView Onliner="Onliner" IsReadOnly="IsReadOnly" PollingInterval="PollingInterval" HideLabel="@HideLabel" Unit="@Unit" Format="@Format" />
<OnlinerTimeShadowDisplayView Onliner="Onliner" IsReadOnly="IsReadOnly" PollingInterval="PollingInterval" HideLabel="@HideLabel" Unit="@Unit" Format="@(Format != null ? Format : FormatConstants.LTimeFormat)" />
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@using System.Globalization;
@using AXSharp.Presentation.Blazor.Controls.Templates.Base
@inherits TemplateBaseShadow<TimeSpan>

<TemplateView OnlinerSymbol="@OnlinerSymbol" FailureReason="@Onliner.AccessStatus.FailureReason" ToolTipOrHumanReadable="@ToolTipOrHumanReadable" Symbol="@Symbol">
<Operon.Components.BaseInput @bind-Value="@Onliner.Shadow" Label="@GetLabel()" IsReadOnly="true" AccessStatus="@AccessStatus" OnFocusIn="() => HasFocus = true" OnFocusOut="() => HasFocus = false" HideLabel="@HideLabel" Unit="@Unit" Format="@Format" />
<Operon.Components.BaseInput @bind-Value="@Onliner.Shadow" Label="@GetLabel()" IsReadOnly="true" AccessStatus="@AccessStatus" OnFocusIn="() => HasFocus = true" OnFocusOut="() => HasFocus = false" HideLabel="@HideLabel" Unit="@Unit" Format="@(Format != null ? Format : FormatConstants.TimeOfDayFormat)" />
</TemplateView>
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@namespace AXSharp.Presentation.Blazor.Controls.Templates
@using System.Globalization;
@using AXSharp.Presentation.Blazor.Controls.Templates.Base
@inherits TemplateBaseShadow<TimeSpan>

<TemplateView OnlinerSymbol="@OnlinerSymbol" FailureReason="@Onliner.AccessStatus.FailureReason" ToolTipOrHumanReadable="@ToolTipOrHumanReadable" Symbol="@Symbol">
<Operon.Components.BaseInput @bind-Value="@Onliner.Shadow" Label="@GetLabel()" IsReadOnly="true" AccessStatus="@AccessStatus" OnFocusIn="() => HasFocus = true" OnFocusOut="() => HasFocus = false" HideLabel="@HideLabel" Unit="@Unit" Format="@Format" />
</TemplateView>
<Operon.Components.BaseInput @bind-Value="@Onliner.Shadow" Label="@GetLabel()" IsReadOnly="true" AccessStatus="@AccessStatus" OnFocusIn="() => HasFocus = true" OnFocusOut="() => HasFocus = false" HideLabel="@HideLabel" Unit="@Unit" Format="@(Format != null ? Format : FormatConstants.TimeFormat)" />
</TemplateView>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using AXSharp.Connector.ValueTypes;
using AXSharp.Connector.ValueTypes;
using AXSharp.Presentation.Blazor.Controls.RenderableContent;
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
Expand Down
Loading