Skip to content

Commit 2c2e43e

Browse files
author
Jani Giannoudis
committed
action dialog: optimized custom action expand state
regulation page action grid: use italic font style for comments updated version to 0.9.0-beta.15
1 parent a8f8226 commit 2c2e43e

20 files changed

Lines changed: 181 additions & 168 deletions

Core/PayrollEngine.WebApp.Core.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
</PropertyGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="PayrollEngine.Client.Core" Version="0.9.0-beta.14" />
16-
<PackageReference Include="Microsoft.AspNetCore.Components" Version="10.0.1" />
15+
<PackageReference Include="PayrollEngine.Client.Core" Version="0.9.0-beta.15" />
16+
<PackageReference Include="Microsoft.AspNetCore.Components" Version="10.0.2" />
1717
<PackageReference Include="Blazored.LocalStorage" Version="4.5.0" />
18-
<PackageReference Include="Microsoft.JSInterop" Version="10.0.1" />
18+
<PackageReference Include="Microsoft.JSInterop" Version="10.0.2" />
1919
</ItemGroup>
2020

2121
<ItemGroup>

Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
<PropertyGroup>
44
<TargetFramework>net10.0</TargetFramework>
5-
<Version>0.9.0-beta.14</Version>
5+
<Version>0.9.0-beta.15</Version>
66
<FileVersion>0.9.0</FileVersion>
7-
<InformationalVersion>0.9.0-beta.14</InformationalVersion>
7+
<InformationalVersion>0.9.0-beta.15</InformationalVersion>
88
<Authors>Jani Giannoudis</Authors>
99
<Company>Software Consulting Giannoudis</Company>
1010
<Copyright>© 2026 Software Consulting Giannoudis</Copyright>

Presentation/Case/CaseEndDatePicker.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
FieldLayoutMode.Value or
5252
FieldLayoutMode.ValueCompact;
5353

54-
protected override DatePickerType DatePickerType =>
54+
protected virtual DatePickerType DatePickerType =>
5555
Attributes.GetEndPickerOpen(Culture) ?? DatePickerType.Day;
5656

5757
protected override DateTimePickerType DateTimePickerType =>

Presentation/Case/CaseEndDateTimePicker.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
DateTimeChanged.InvokeAsync(dateTime).Wait();
126126
}
127127

128-
protected override DatePickerType DatePickerType =>
128+
protected virtual DatePickerType DatePickerType =>
129129
Attributes.GetEndPickerOpen(Culture) ?? DatePickerType.Day;
130130

131131
protected override DateTimePickerType DateTimePickerType =>

Presentation/Case/CaseStartDatePicker.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
(Attributes.GetFieldLayout(Culture) ?? default)
4848
is FieldLayoutMode.Value or FieldLayoutMode.ValueCompact;
4949

50-
protected override DatePickerType DatePickerType =>
50+
protected virtual DatePickerType DatePickerType =>
5151
Attributes.GetStartPickerOpen(Culture) ?? DatePickerType.Day;
5252

5353
protected override DateTimePickerType DateTimePickerType =>

Presentation/Case/CaseStartDateTimePicker.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
DateTimeChanged.InvokeAsync(dateTime).Wait();
121121
}
122122

123-
protected override DatePickerType DatePickerType => default;
123+
protected virtual DatePickerType DatePickerType => default;
124124

125125
protected override DateTimePickerType DateTimePickerType =>
126126
Attributes.GetStartPickerType(Culture) ?? DateTimePickerType.DatePicker;

Presentation/Field/DateTimePickerBase.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ public abstract class DateTimePickerBase : ComponentBase, IAttributeObject
4141
/// </summary>
4242
[Parameter] public Variant Variant { get; set; }
4343

44-
/// <summary>
45-
/// Date picker type
46-
/// </summary>
47-
protected abstract DatePickerType DatePickerType { get; }
48-
4944
/// <summary>
5045
/// Date time picker type
5146
/// </summary>

Presentation/PayrollEngine.WebApp.Presentation.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="10.0.1" />
11-
<PackageReference Include="PayrollEngine.Document" Version="0.9.0-beta.14" />
10+
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="10.0.2" />
11+
<PackageReference Include="PayrollEngine.Document" Version="0.9.0-beta.15" />
1212
<PackageReference Include="MudBlazor" Version="8.15.0" />
1313
<PackageReference Include="NPOI" Version="2.7.5" />
1414
</ItemGroup>

Presentation/Regulation/ActionCategory.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
namespace PayrollEngine.WebApp.Presentation.Regulation;
1+

2+
namespace PayrollEngine.WebApp.Presentation.Regulation;
23

34
/// <summary>
45
/// Regulation action category
@@ -19,4 +20,7 @@ public class ActionCategory
1920
/// Display order
2021
/// </summary>
2122
public int DisplayOrder { get; init; }
23+
24+
/// <inheritdoc/>
25+
public override string ToString() => Name;
2226
}

Presentation/Regulation/Component/ActionDialog.razor

Lines changed: 144 additions & 139 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)