WIP: supervisor - order creation warehouse - permissions

This commit is contained in:
Frede Hundewadt 2023-03-19 17:46:31 +01:00
parent 92f8294420
commit 4d321f480f
61 changed files with 228 additions and 127 deletions

View file

@ -21,17 +21,3 @@ else
{ {
<a type="button" class="btn btn-outline-secondary disabled" aria-disabled="true">@ButtonText</a> <a type="button" class="btn btn-outline-secondary disabled" aria-disabled="true">@ButtonText</a>
} }
@code {
[Parameter]public string CompanyId { get; set; } = "";
[Parameter] public int Enabled { get; set; }
[Parameter] public string ButtonType { get; set; } = "primary";
[Parameter] public string ButtonText { get; set; } = "Tag Mig";
[Parameter] public string ActionLink { get; set; } = "#";
protected override void OnParametersSet()
{
if (!string.IsNullOrWhiteSpace(CompanyId))
ActionLink = ActionLink.Replace("$ID$", CompanyId);
}
}

View file

@ -0,0 +1,34 @@
// Copyright (C) 2022 FCS Frede's Computer Services.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
//
using Microsoft.AspNetCore.Components;
namespace Wonky.Client.Components;
public partial class ActivityButton
{
[Parameter]public string CompanyId { get; set; } = "";
[Parameter] public int Enabled { get; set; }
[Parameter] public string ButtonType { get; set; } = "primary";
[Parameter] public string ButtonText { get; set; } = "Tag Mig";
[Parameter] public string ActionLink { get; set; } = "#";
protected override void OnParametersSet()
{
if (!string.IsNullOrWhiteSpace(CompanyId))
ActionLink = ActionLink.Replace("$ID$", CompanyId);
}
}

View file

@ -1,3 +1,4 @@
@using Wonky.Client.Local.Services
@* Copyright (C) 2022 FCS Frede's Computer Services. @* Copyright (C) 2022 FCS Frede's Computer Services.
// This program is free software: you can redistribute it and/or modify // This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as // it under the terms of the GNU Affero General Public License as
@ -13,30 +14,8 @@
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html] // along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
*@ *@
@using Wonky.Client.Services
<div class="input-group"> <div class="input-group">
<label class="col-form-label me-2" for="kmMorning">KmStart</label> <label class="col-form-label me-2" for="kmMorning">KmStart</label>
<input type="number" id="kmMorning" class="form-control" <input type="number" id="kmMorning" class="form-control"
@bind-Value="KmMorning" @bind-Value:event="oninput" @onchange="OnKmChanged"/> @bind-Value="KmMorning" @bind-Value:event="oninput" @onchange="OnKmChanged"/>
</div> </div>
@code {
#pragma warning disable CS8618
[Inject] public UserPreferenceService PreferenceService { get; set; }
private int KmMorning { get; set; }
private UserPreference Preferences { get; set; } = new();
protected override async Task OnInitializedAsync()
{
Preferences = await PreferenceService.GetProfile();
KmMorning = Preferences.KmMorning;
}
private async Task OnKmChanged()
{
await PreferenceService.SetKmMorning(KmMorning);
}
}

View file

@ -0,0 +1,39 @@
// Copyright (C) 2022 FCS Frede's Computer Services.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
//
using Microsoft.AspNetCore.Components;
using Wonky.Client.Local.Services;
#pragma warning disable CS8618
namespace Wonky.Client.Components;
public partial class AdvisorActivityKmStartComponent
{
[Inject] public UserPreferenceService PreferenceService { get; set; }
private int KmMorning { get; set; }
private UserPreference Preferences { get; set; } = new();
protected override async Task OnInitializedAsync()
{
Preferences = await PreferenceService.GetProfile();
KmMorning = Preferences.KmMorning;
}
private async Task OnKmChanged()
{
await PreferenceService.SetKmMorning(KmMorning);
}
}

View file

@ -18,7 +18,6 @@ using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop; using Microsoft.JSInterop;
using Wonky.Client.Helpers; using Wonky.Client.Helpers;
using Wonky.Client.Pages; using Wonky.Client.Pages;
using Wonky.Client.Services;
using Wonky.Client.Shared; using Wonky.Client.Shared;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
using Wonky.Entity.Views; using Wonky.Entity.Views;

View file

@ -21,7 +21,7 @@ using Microsoft.AspNetCore.Components.Forms;
using Microsoft.VisualBasic; using Microsoft.VisualBasic;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
using Wonky.Client.Shared; using Wonky.Client.Shared;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
using Wonky.Entity.Models; using Wonky.Entity.Models;

View file

@ -15,7 +15,8 @@
using Blazored.LocalStorage; using Blazored.LocalStorage;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
#pragma warning disable CS8618 #pragma warning disable CS8618
namespace Wonky.Client.Components; namespace Wonky.Client.Components;

View file

@ -14,7 +14,8 @@
// //
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
#pragma warning disable CS8618 #pragma warning disable CS8618
namespace Wonky.Client.Components; namespace Wonky.Client.Components;

View file

@ -14,7 +14,8 @@
// //
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
#pragma warning disable CS8618 #pragma warning disable CS8618
namespace Wonky.Client.Components; namespace Wonky.Client.Components;

View file

@ -16,7 +16,8 @@
using Blazored.LocalStorage; using Blazored.LocalStorage;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
#pragma warning disable CS8618 #pragma warning disable CS8618
namespace Wonky.Client.Components; namespace Wonky.Client.Components;

View file

@ -15,7 +15,7 @@
using System.Timers; using System.Timers;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
using Timer = System.Timers.Timer; using Timer = System.Timers.Timer;
#pragma warning disable CS8618 #pragma warning disable CS8618

View file

@ -16,7 +16,8 @@
using Blazored.LocalStorage; using Blazored.LocalStorage;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
#pragma warning disable CS8618 #pragma warning disable CS8618
namespace Wonky.Client.Components; namespace Wonky.Client.Components;

View file

@ -16,6 +16,3 @@
@* <img class="state the-draw rounded-circle me-1" src="state.png" alt="state"/> *@ @* <img class="state the-draw rounded-circle me-1" src="state.png" alt="state"/> *@
<img class="img-fluid rounded-circle state @StateClass-bg" src="state.png" alt="state"/> <img class="img-fluid rounded-circle state @StateClass-bg" src="state.png" alt="state"/>
@code{
[Parameter] public string StateClass { get; set; } = "";
}

View file

@ -0,0 +1,23 @@
// Copyright (C) 2022 FCS Frede's Computer Services.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
//
using Microsoft.AspNetCore.Components;
namespace Wonky.Client.Components;
public partial class DisplayStateComponent
{
[Parameter] public string StateClass { get; set; } = "";
}

View file

@ -82,10 +82,3 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
@code {
[Parameter]
public List<ReportItemView> Activities { get; set; } = new();
}

View file

@ -0,0 +1,24 @@
// Copyright (C) 2022 FCS Frede's Computer Services.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
//
using Microsoft.AspNetCore.Components;
using Wonky.Entity.Views;
namespace Wonky.Client.Components;
public partial class OfficeActivityListComponent
{
[Parameter] public List<ReportItemView> Activities { get; set; } = new();
}

View file

@ -22,7 +22,7 @@ using Microsoft.AspNetCore.Components.Forms;
using Microsoft.VisualBasic; using Microsoft.VisualBasic;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
using Wonky.Client.Shared; using Wonky.Client.Shared;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
using Wonky.Entity.Models; using Wonky.Entity.Models;

View file

@ -16,7 +16,8 @@
using Blazored.LocalStorage; using Blazored.LocalStorage;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
#pragma warning disable CS8618 #pragma warning disable CS8618
namespace Wonky.Client.Components; namespace Wonky.Client.Components;

View file

@ -15,23 +15,3 @@
<i style="font-size:1.3em;" class="bi-@Icon @StateClass"></i> <i style="font-size:1.3em;" class="bi-@Icon @StateClass"></i>
@code{
[Parameter] public string StateClass { get; set; } = "";
private string Icon { get; set; } = "";
protected override void OnParametersSet()
{
Icon = StateClass switch
{
"the-fast" => "lightning-charge",
"the-good" => "file-earmark",
"the-bad" => "file-earmark-check",
"the-ugly" => "box2-fill",
"the-dead" => "truck",
"accepted" => "printer",
_ => "question-square"
};
}
}

View file

@ -0,0 +1,37 @@
// Copyright (C) 2022 FCS Frede's Computer Services.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
//
using Microsoft.AspNetCore.Components;
namespace Wonky.Client.Components;
public partial class ProcessStateComponent
{
[Parameter] public string StateClass { get; set; } = "";
private string Icon { get; set; } = "";
protected override void OnParametersSet()
{
Icon = StateClass switch
{
"the-fast" => "lightning-charge",
"the-good" => "file-earmark",
"the-bad" => "file-earmark-check",
"the-ugly" => "box2-fill",
"the-dead" => "truck",
"accepted" => "printer",
_ => "question-square"
};
}
}

View file

@ -15,7 +15,6 @@
@using Blazored.LocalStorage @using Blazored.LocalStorage
@using Wonky.Client.Services
<EditForm EditContext="WorkDateContext"> <EditForm EditContext="WorkDateContext">
<div class="container-fluid"> <div class="container-fluid">

View file

@ -19,7 +19,8 @@ using System.Text.Json;
using Blazored.LocalStorage; using Blazored.LocalStorage;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Forms; using Microsoft.AspNetCore.Components.Forms;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
#pragma warning disable CS8618 #pragma warning disable CS8618
namespace Wonky.Client.Components; namespace Wonky.Client.Components;

View file

@ -18,9 +18,9 @@ using System.Net.Http.Headers;
using System.Text.Json; using System.Text.Json;
using Blazored.LocalStorage; using Blazored.LocalStorage;
using Blazored.Toast.Services; using Blazored.Toast.Services;
using Wonky.Client.Services;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Toolbelt.Blazor; using Toolbelt.Blazor;
using Wonky.Client.Local.Services;
namespace Wonky.Client.HttpInterceptors; namespace Wonky.Client.HttpInterceptors;

View file

@ -23,7 +23,7 @@ using Wonky.Entity.Configuration;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
using Wonky.Entity.Views; using Wonky.Entity.Views;
namespace Wonky.Client.Services; namespace Wonky.Client.Local.Services;
public class AuthenticationService : IAuthenticationService public class AuthenticationService : IAuthenticationService
{ {

View file

@ -17,7 +17,7 @@
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
using Wonky.Entity.Views; using Wonky.Entity.Views;
namespace Wonky.Client.Services; namespace Wonky.Client.Local.Services;
public interface IAuthenticationService public interface IAuthenticationService
{ {

View file

@ -16,7 +16,7 @@
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
namespace Wonky.Client.Services; namespace Wonky.Client.Local.Services;
public interface IUserInfoService public interface IUserInfoService
{ {

View file

@ -17,7 +17,7 @@
using Blazored.LocalStorage; using Blazored.LocalStorage;
using Wonky.Client.Models; using Wonky.Client.Models;
namespace Wonky.Client.Services; namespace Wonky.Client.Local.Services;
public class OrderDraftService public class OrderDraftService
{ {

View file

@ -16,7 +16,7 @@
using Microsoft.AspNetCore.Components.Authorization; using Microsoft.AspNetCore.Components.Authorization;
namespace Wonky.Client.Services; namespace Wonky.Client.Local.Services;
public class RefreshTokenService public class RefreshTokenService
{ {

View file

@ -14,12 +14,11 @@
// //
using System.Security.Cryptography.Xml;
using System.Text.Json; using System.Text.Json;
using Blazored.LocalStorage; using Blazored.LocalStorage;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
namespace Wonky.Client.Services; namespace Wonky.Client.Local.Services;
public class UserInfoService : IUserInfoService public class UserInfoService : IUserInfoService
{ {

View file

@ -15,7 +15,8 @@
using Blazored.LocalStorage; using Blazored.LocalStorage;
namespace Wonky.Client.Services;
namespace Wonky.Client.Local.Services;
public record UserPreference public record UserPreference
{ {

View file

@ -21,7 +21,7 @@ using Wonky.Entity.Configuration;
using Wonky.Entity.Models; using Wonky.Entity.Models;
using Wonky.Entity.Requests; using Wonky.Entity.Requests;
namespace Wonky.Client.Services; namespace Wonky.Client.Local.Services;
public class VatInfoLookupService public class VatInfoLookupService
{ {

View file

@ -18,8 +18,8 @@ using System.Text.Json;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Local.Services;
using Wonky.Client.Models; using Wonky.Client.Models;
using Wonky.Client.Services;
using Wonky.Entity.Requests; using Wonky.Entity.Requests;
using Wonky.Entity.Views; using Wonky.Entity.Views;

View file

@ -23,10 +23,10 @@ using Microsoft.AspNetCore.Components.Forms;
using Wonky.Client.Helpers; using Wonky.Client.Helpers;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Local.Services;
using Wonky.Client.Models; using Wonky.Client.Models;
using Wonky.Client.OverlayCustomer; using Wonky.Client.OverlayCustomer;
using Wonky.Client.OverlayOrderCreate; using Wonky.Client.OverlayOrderCreate;
using Wonky.Client.Services;
using Wonky.Client.Shared; using Wonky.Client.Shared;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
using Wonky.Entity.Views; using Wonky.Entity.Views;

View file

@ -20,7 +20,7 @@ using Blazored.Toast.Services;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
using Wonky.Entity.Views; using Wonky.Entity.Views;
#pragma warning disable CS8618 #pragma warning disable CS8618

View file

@ -22,8 +22,8 @@ using Microsoft.AspNetCore.Components.Forms;
using Wonky.Client.Helpers; using Wonky.Client.Helpers;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Local.Services;
using Wonky.Client.Models; using Wonky.Client.Models;
using Wonky.Client.Services;
using Wonky.Client.Shared; using Wonky.Client.Shared;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
using Wonky.Entity.Models; using Wonky.Entity.Models;

View file

@ -17,7 +17,7 @@ using Blazored.LocalStorage;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
using Wonky.Entity.Requests; using Wonky.Entity.Requests;
using Wonky.Entity.Views; using Wonky.Entity.Views;

View file

@ -22,8 +22,8 @@ using Microsoft.AspNetCore.Components.Forms;
using Wonky.Client.Helpers; using Wonky.Client.Helpers;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Local.Services;
using Wonky.Client.Models; using Wonky.Client.Models;
using Wonky.Client.Services;
using Wonky.Client.Shared; using Wonky.Client.Shared;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
using Wonky.Entity.Models; using Wonky.Entity.Models;

View file

@ -21,7 +21,7 @@ using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Forms; using Microsoft.AspNetCore.Components.Forms;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
using Wonky.Client.Shared; using Wonky.Client.Shared;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
using Wonky.Entity.Views; using Wonky.Entity.Views;

View file

@ -18,8 +18,8 @@ using Blazored.LocalStorage;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Local.Services;
using Wonky.Client.Models; using Wonky.Client.Models;
using Wonky.Client.Services;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
using Wonky.Entity.Views; using Wonky.Entity.Views;
#pragma warning disable CS8618 #pragma warning disable CS8618

View file

@ -18,7 +18,7 @@ using Blazored.Toast.Services;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
#pragma warning disable CS8618 #pragma warning disable CS8618

View file

@ -18,7 +18,7 @@ using Wonky.Client.HttpInterceptors;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.Helpers; using Wonky.Client.Helpers;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
using Wonky.Entity.Requests; using Wonky.Entity.Requests;
using Wonky.Entity.Views; using Wonky.Entity.Views;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;

View file

@ -52,8 +52,3 @@
<CatalogSortComponent /> <CatalogSortComponent />
</div> </div>
</div> </div>
@code {
}

View file

@ -14,8 +14,8 @@
// //
using Wonky.Client.Services;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.Local.Services;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
#pragma warning disable CS8618 #pragma warning disable CS8618

View file

@ -15,8 +15,9 @@
using Blazored.LocalStorage; using Blazored.LocalStorage;
using Wonky.Client.Services;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.Local.Services;
#pragma warning disable CS8618 #pragma warning disable CS8618
namespace Wonky.Client.Pages; namespace Wonky.Client.Pages;

View file

@ -17,7 +17,7 @@
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
using Wonky.Entity.Requests; using Wonky.Entity.Requests;
using Wonky.Entity.Views; using Wonky.Entity.Views;

View file

@ -22,8 +22,8 @@ using Microsoft.JSInterop;
using Wonky.Client.Helpers; using Wonky.Client.Helpers;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Local.Services;
using Wonky.Client.Models; using Wonky.Client.Models;
using Wonky.Client.Services;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
using Wonky.Entity.Views; using Wonky.Entity.Views;
#pragma warning disable CS8618 #pragma warning disable CS8618

View file

@ -18,7 +18,7 @@ using Blazored.LocalStorage;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
using Wonky.Entity.Requests; using Wonky.Entity.Requests;
using Wonky.Entity.Views; using Wonky.Entity.Views;

View file

@ -22,10 +22,10 @@ using Microsoft.AspNetCore.Components.Forms;
using Wonky.Client.Helpers; using Wonky.Client.Helpers;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Local.Services;
using Wonky.Client.Models; using Wonky.Client.Models;
using Wonky.Client.OverlayOffice; using Wonky.Client.OverlayOffice;
using Wonky.Client.OverlayOrderCreate; using Wonky.Client.OverlayOrderCreate;
using Wonky.Client.Services;
using Wonky.Client.Shared; using Wonky.Client.Shared;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
using Wonky.Entity.Views; using Wonky.Entity.Views;

View file

@ -21,7 +21,7 @@ using Blazored.Toast.Services;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
using Wonky.Entity.Views; using Wonky.Entity.Views;
#pragma warning disable CS8618 #pragma warning disable CS8618

View file

@ -25,7 +25,3 @@
<div class="card-body"> <div class="card-body">
</div> </div>
</div> </div>
@code {
}

View file

@ -0,0 +1,6 @@
namespace Wonky.Client.Pages;
public partial class SystemKrvProductsAdminPage
{
}

View file

@ -24,7 +24,3 @@
<div class="card-body"> <div class="card-body">
</div> </div>
</div> </div>
@code {
}

View file

@ -0,0 +1,6 @@
namespace Wonky.Client.Pages;
public partial class SystemKrvProtectionsAdminPage
{
}

View file

@ -24,7 +24,3 @@
<div class="card-body"> <div class="card-body">
</div> </div>
</div> </div>
@code {
}

View file

@ -0,0 +1,6 @@
namespace Wonky.Client.Pages;
public partial class SystemKrvTextsAdminPage
{
}

View file

@ -25,7 +25,7 @@ using Blazored.Toast;
using Wonky.Client; using Wonky.Client;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
using Wonky.Client.Shared; using Wonky.Client.Shared;
using Wonky.Entity.Configuration; using Wonky.Entity.Configuration;

View file

@ -17,7 +17,7 @@ using System.Net.Http.Headers;
using System.Security.Claims; using System.Security.Claims;
using Blazored.LocalStorage; using Blazored.LocalStorage;
using Microsoft.AspNetCore.Components.Authorization; using Microsoft.AspNetCore.Components.Authorization;
using Wonky.Client.Services; using Wonky.Client.Local.Services;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
using Wonky.Entity.Views; using Wonky.Entity.Views;

View file

@ -20,7 +20,6 @@ using Microsoft.AspNetCore.Components.Forms;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Models; using Wonky.Client.Models;
using Wonky.Client.Services;
using Wonky.Entity.DTO; using Wonky.Entity.DTO;
using Wonky.Entity.Requests; using Wonky.Entity.Requests;
using Wonky.Entity.Views; using Wonky.Entity.Views;

View file

@ -16,7 +16,6 @@
@inject IWebAssemblyHostEnvironment HostEnvironment @inject IWebAssemblyHostEnvironment HostEnvironment
@using Wonky.Client.Components; @using Wonky.Client.Components;
@using Wonky.Client.Services
@using Wonky.Entity.Views @using Wonky.Entity.Views
@using Blazored.LocalStorage @using Blazored.LocalStorage

View file

@ -19,8 +19,8 @@ using Blazored.Toast.Services;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Wonky.Client.HttpInterceptors; using Wonky.Client.HttpInterceptors;
using Wonky.Client.HttpRepository; using Wonky.Client.HttpRepository;
using Wonky.Client.Local.Services;
using Wonky.Client.Models; using Wonky.Client.Models;
using Wonky.Client.Services;
using Wonky.Entity.Models; using Wonky.Entity.Models;
using Wonky.Entity.Requests; using Wonky.Entity.Requests;
using Wonky.Entity.Views; using Wonky.Entity.Views;

View file

@ -3797,4 +3797,8 @@
<None Remove="wwwroot\icons\**" /> <None Remove="wwwroot\icons\**" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Folder Include="Services" />
</ItemGroup>
</Project> </Project>