New page Stammdaten -> JSON-Editor edits the data files of the selected year
and mandator (default Transactions.json) as plain JSON in Monaco (BlazorMonaco
3.5.0, loaded on demand): highlighting, folding, live syntax errors, search
and replace with regex, format.
RawDataRepository saves only validated text: strict JSON (unknown properties
rejected with line/column), unique non-empty Ids, transactions referencing
existing accounts, accounts still used by transactions not removed. It refuses
if the file changed since loading, backs up the previous version to
backup/{mandator}/{year}/json-{timestamp}/, and saves through BaseRepository
so caches are refreshed.
- Hub MaximumReceiveMessageSize raised to 8 MB (files are several hundred KB)
- unsaved-guard.js asks before leaving with unsaved changes; NavigationLock
doesn't apply because routing between per-page interactive pages is static
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
36 lines
1.2 KiB
XML
36 lines
1.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Schaad.Accounting.Common\Schaad.Accounting.Common.csproj" />
|
|
<ProjectReference Include="..\Schaad.Accounting.Db\Schaad.Accounting.Db.csproj" />
|
|
<ProjectReference Include="..\Schaad.Accounting.Services\Schaad.Accounting.Services.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="Schaad.Finance">
|
|
<HintPath>..\dlls\Schaad.Finance.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Schaad.Finance.Api">
|
|
<HintPath>..\dlls\Schaad.Finance.Api.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="BlazorMonaco" />
|
|
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components" />
|
|
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components.Emoji" />
|
|
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components.Icons" />
|
|
<PackageReference Include="Plotly.Blazor" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="Components\Pages\Transactions.razor.css" />
|
|
<Content Include="Components\Pages\Transactions.razor.css" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|