Skip to content

Commit afbe83a

Browse files
author
Jani Giannoudis
committed
case and payrun-result page: added support for value culture
collector and wage type editor: added culture cultures page: fxied dialog crash case field edit: added support for derived culture removed input attribute culture login page: fixed check for initial password regulation page: fixed wage type collector editor payrun jobs page: change job history grid to dense added unhandled exception handler, log and page reload added missing translations for mud date/time-picker updated third party nugets updated version to 0.9.0-beta.10
1 parent b9f476b commit afbe83a

File tree

74 files changed

+299
-175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+299
-175
lines changed

Core/HtmlTool.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ public static string BuildWebLink(string url, string text = null, bool blankTarg
3030
}
3131
if (noReferer)
3232
{
33+
// ReSharper disable StringLiteralTypo
3334
buffer.Append("rel=\"noopener noreferrer\" ");
35+
// ReSharper restore StringLiteralTypo
3436
}
3537
buffer.Append("href=\"");
3638
buffer.Append(url);

Core/InputAttributes.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ public static class InputAttributes
7171
public static readonly string ValuePickerOpen = $"{Prefix}valuePickerOpen";
7272
public static readonly string ValuePickerStatic = $"{Prefix}valuePickerStatic";
7373
public static readonly string ValueTimePicker = $"{Prefix}valueTimePicker";
74-
public static readonly string Culture = $"{Prefix}culture";
7574
public static readonly string MinValue = $"{Prefix}minValue";
7675
public static readonly string MaxValue = $"{Prefix}maxValue";
7776
public static readonly string StepSize = $"{Prefix}stepSize";

Core/InputAttributesExtensions.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,6 @@ public static string GetValueRequired(this Dictionary<string, object> attributes
177177
public static TimePickerType? GetValueTimePicker(this Dictionary<string, object> attributes, CultureInfo culture) =>
178178
attributes.GetEnumAttributeValue<TimePickerType>(InputAttributes.ValueTimePicker, culture.Name);
179179

180-
public static string GetCulture(this Dictionary<string, object> attributes, CultureInfo culture) =>
181-
attributes.GetStringAttributeValue(InputAttributes.Culture, culture.Name);
182-
183180
public static int? GetMinIntegerValue(this Dictionary<string, object> attributes, CultureInfo culture) =>
184181
attributes.GetIntegerAttributeValue(InputAttributes.MinValue, culture.Name);
185182

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.9" />
16-
<PackageReference Include="Microsoft.AspNetCore.Components" Version="9.0.8" />
15+
<PackageReference Include="PayrollEngine.Client.Core" Version="0.9.0-beta.10" />
16+
<PackageReference Include="Microsoft.AspNetCore.Components" Version="9.0.9" />
1717
<PackageReference Include="Blazored.LocalStorage" Version="4.5.0" />
18-
<PackageReference Include="Microsoft.JSInterop" Version="9.0.8" />
18+
<PackageReference Include="Microsoft.JSInterop" Version="9.0.9" />
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>net9.0</TargetFramework>
5-
<Version>0.9.0-beta.9</Version>
5+
<Version>0.9.0-beta.10</Version>
66
<FileVersion>0.9.0</FileVersion>
7-
<InformationalVersion>0.9.0-beta.9</InformationalVersion>
7+
<InformationalVersion>0.9.0-beta.10</InformationalVersion>
88
<Authors>Jani Giannoudis</Authors>
99
<Company>Software Consulting Giannoudis</Company>
1010
<Copyright>2025 Software Consulting Giannoudis</Copyright>

Input-Attributes.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ The case input attributes can be used to control the behavior of user input.
4242
`input.valuePickerOpen` | Value date picker mode <sup>6)</sup> | string | day | date |
4343
`input.valuePickerStatic` | Open input value editor | bool | false | date, time |
4444
`input.valueTimePicker` | Time value picker <sup>9)</sup> | string | - | decimal |
45-
`input.culture` | Display culture <sup>10)</sup> | string | system | money |
4645
`input.minValue` | Minimum input value | datetime/num | - | numeric, date, date-time |
4746
`input.maxValue` | Maximum input value | datetime/num | - | numeric, date, date-time |
4847
`input.stepSize` | Step size on spin buttons | num | 1 | numeric |
@@ -52,12 +51,12 @@ The case input attributes can be used to control the behavior of user input.
5251
`input.check` | Input checkbox instead of switch | bool | false | bool toggles |
5352
`input.valueHistory` | Enable value history | bool | false | all |
5453
| <b>Attachment</b> |
55-
`input.attachment` | Enable document upload <sup>11)</sup> | string | none | all |
56-
`input.attachmentExtensions` | Allowed files for upload <sup>12)</sup> | string | - | all |
54+
`input.attachment` | Enable document upload <sup>10)</sup> | string | none | all |
55+
`input.attachmentExtensions` | Allowed files for upload <sup>11)</sup> | string | - | all |
5756
| <b>List</b> |
58-
`input.list` | Provide list of possible inputs | object[] <sup>13)</sup> | - | all |
59-
`input.listValues` | Provide values for a list | object[] <sup>14)</sup> | key | all |
60-
`input.listSelection` | Preselected list value | string <sup>15)</sup> | - | all |
57+
`input.list` | Provide list of possible inputs | object[] <sup>12)</sup> | - | all |
58+
`input.listValues` | Provide values for a list | object[] <sup>13)</sup> | key | all |
59+
`input.listSelection` | Preselected list value | string <sup>14)</sup> | - | all |
6160
<br/>
6261

6362

@@ -72,12 +71,11 @@ The case input attributes can be used to control the behavior of user input.
7271
<sup>7)</sup> Date picker type: `DatePicker` (date only), `DateTimePicker` (date and time)<br/>
7372
<sup>8)</sup> Text box input mask `*`<br/>
7473
<sup>9)</sup> Value time picker for decimal values: `Day24`, `Day12`, `DayHour`, `DayMinute` or `HourMinute`<br/>
75-
<sup>10)</sup> Culture names https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-lcid/a9eac961-e77d-41a6-90a5-ce1a8b0cdb9c<br/>
76-
<sup>11)</sup> Document attachment mode: `None`, `Optional`, `Mandatory`<br/>
77-
<sup>12)</sup> Comma separated string, example: `.jpg,.png`<br/>
78-
<sup>13)</sup> JSON array with field value type<br/>
79-
<sup>14)</sup> JSON array with the same count of list values<br/>
80-
<sup>15)</sup> Selected list value when available otherwise the selected list item (field value type)<br/>
74+
<sup>10)</sup> Document attachment mode: `None`, `Optional`, `Mandatory`<br/>
75+
<sup>11)</sup> Comma separated string, example: `.jpg,.png`<br/>
76+
<sup>12)</sup> JSON array with field value type<br/>
77+
<sup>13)</sup> JSON array with the same count of list values<br/>
78+
<sup>14)</sup> Selected list value when available otherwise the selected list item (field value type)<br/>
8179

8280

8381
## Text input mask

PayrollEngine.WebApp.sln

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A5A80DB4-77AE-4360-94B9-660E85A8CBAA}"
99
ProjectSection(SolutionItems) = preProject
1010
.gitignore = .gitignore
11+
asset.json = asset.json
1112
Directory.Build.props = Directory.Build.props
13+
Dockerfile = Dockerfile
1214
Input-Attributes.md = Input-Attributes.md
15+
LICENSE = LICENSE
1316
README.md = README.md
1417
EndProjectSection
1518
EndProject

PayrollEngine.WebApp.sln.DotSettings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<s:Boolean x:Key="/Default/Environment/SearchAndNavigation/FileMasksToSkip/=Localizations_002Eel_002Eresx/@EntryIndexedValue">False</s:Boolean>
55
<s:Boolean x:Key="/Default/Environment/SearchAndNavigation/FileMasksToSkip/=Localizations_002Eel_002Eresx/@EntryIndexRemoved">True</s:Boolean>
66
<s:Boolean x:Key="/Default/Environment/SearchAndNavigation/FileMasksToSkip/=_002A_002E_002A_002Eresx/@EntryIndexedValue">False</s:Boolean>
7+
<s:Boolean x:Key="/Default/GrammarAndSpelling/GrammarChecking/Exceptions/=ENVIRONMENT_0020environment/@EntryIndexedValue">True</s:Boolean>
78
<s:Boolean x:Key="/Default/UserDictionary/Words/=Adaptor/@EntryIndexedValue">True</s:Boolean>
89
<s:Boolean x:Key="/Default/UserDictionary/Words/=caseadmin/@EntryIndexedValue">True</s:Boolean>
910
<s:Boolean x:Key="/Default/UserDictionary/Words/=caserelations/@EntryIndexedValue">True</s:Boolean>

Presentation/AppMudLocalizer.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,11 @@ public class AppMudLocalizer(IStringLocalizerFactory factory, UserSession userSe
8585
{ "MudInput_Decrement", nameof(InputLocalizer.Increment) },
8686
{ "MudInput_Increment", nameof(InputLocalizer.Decrement) },
8787

88+
// time picker
89+
{ "MudTimePicker_Open", nameof(TimePickerLocalizer.Open) },
90+
8891
// date picker
92+
{ "MudBaseDatePicker_Open", nameof(DatePickerLocalizer.Open) },
8993
{ "MudBaseDatePicker_NextMonth", nameof(DatePickerLocalizer.NextMonth) },
9094
{ "MudBaseDatePicker_NextYear", nameof(DatePickerLocalizer.NextYear) },
9195
{ "MudBaseDatePicker_PrevMonth", nameof(DatePickerLocalizer.PrevMonth) },

Presentation/BackendService/BackendServiceBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public int? MaximumItemCount
5959
/// <summary>Test for valid read state</summary>
6060
protected virtual bool CanRead() => true;
6161

62-
/// <summary>Setup the api service query</summary>
62+
/// <summary>Set up the api service query</summary>
6363
protected virtual void SetupReadQuery(TQuery query, IDictionary<string, object> parameters = null)
6464
{
6565
}
@@ -133,7 +133,7 @@ public virtual async Task<GridData<TItem>> QueryAsync(TQuery query = null, IDict
133133
return gridData;
134134
}
135135

136-
// give option to setup result item before any other operation
136+
// give option to set up result item before any other operation
137137
ProcessReceivedItems(result.Items);
138138

139139
Log.Trace($"response from {typeof(TService).Name}: {result.Items.Length} of {result.Count}");

0 commit comments

Comments
 (0)