Skip to content

Commit

Permalink
Moved web components
Browse files Browse the repository at this point in the history
  • Loading branch information
dyatlov-a committed Sep 29, 2024
1 parent 3c3c800 commit 2b7aec6
Show file tree
Hide file tree
Showing 32 changed files with 44 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using ApexCharts;

namespace Inc.TeamAssistant.WebUI.Features.Components;
namespace Inc.TeamAssistant.WebUI.Components;

public static class ApexChartOptionsBuilder
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Inc.TeamAssistant.WebUI.Services.ClientCore;

namespace Inc.TeamAssistant.WebUI.Features.Components;
namespace Inc.TeamAssistant.WebUI.Components;

internal sealed class DateSelectorFactory
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Components.Forms;

namespace Inc.TeamAssistant.WebUI.Features.Components;
namespace Inc.TeamAssistant.WebUI.Components;

internal static class EditContextFactory
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Inc.TeamAssistant.WebUI.Features.Components;
namespace Inc.TeamAssistant.WebUI.Components;

public sealed class LoadingState
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Inc.TeamAssistant.WebUI.Features.Components;
namespace Inc.TeamAssistant.WebUI.Components;

public sealed class SelectItem<T>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Components.Forms;

namespace Inc.TeamAssistant.WebUI.Features.Components;
namespace Inc.TeamAssistant.WebUI.Components;

internal sealed class ValidationCssClassProvider : FieldCssClassProvider
{
Expand Down
1 change: 1 addition & 0 deletions src/Inc.TeamAssistant.WebUI/Components/_Imports.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@using Inc.TeamAssistant.WebUI.Services.ClientCore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Inc.TeamAssistant.Primitives.FeatureProperties;
using Inc.TeamAssistant.WebUI.Features.Components;
using Inc.TeamAssistant.WebUI.Components;

namespace Inc.TeamAssistant.WebUI.Features.Constructor.Stages.Stage3;

Expand Down
15 changes: 2 additions & 13 deletions src/Inc.TeamAssistant.WebUI/Features/_Imports.razor
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.JSInterop
@using Microsoft.AspNetCore.SignalR.Client
@using Microsoft.AspNetCore.Authorization
@using Microsoft.AspNetCore.Components.Authorization
@using Microsoft.AspNetCore.Components.Forms
@using Blazored.FluentValidation
@using Microsoft.AspNetCore.Components.QuickGrid
@using ApexCharts

@using Inc.TeamAssistant.Primitives.Languages
@using Inc.TeamAssistant.Primitives.Languages
@using Inc.TeamAssistant.WebUI.Contracts
@using Inc.TeamAssistant.WebUI.Features.Layouts
@using Inc.TeamAssistant.WebUI.Features.Meta
Expand All @@ -19,5 +8,5 @@
@using Inc.TeamAssistant.WebUI.Extensions
@using Inc.TeamAssistant.WebUI.Features.Icons
@using Inc.TeamAssistant.WebUI.Features.Auth
@using Inc.TeamAssistant.WebUI.Features.Components
@using Inc.TeamAssistant.WebUI.Components
@using Inc.TeamAssistant.WebUI.Features.Notifications
22 changes: 22 additions & 0 deletions src/Inc.TeamAssistant.WebUI/Inc.TeamAssistant.WebUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,27 @@
</ItemGroup>
<ItemGroup>
<_ContentIncludedByDefault Remove="Features\Constructor\Stages\Stage4\Calendar.razor" />
<_ContentIncludedByDefault Remove="Features\Components\DateSelector.razor" />
<_ContentIncludedByDefault Remove="Features\Components\FormFieldSet.razor" />
<_ContentIncludedByDefault Remove="Features\Components\FormSection.razor" />
<_ContentIncludedByDefault Remove="Features\Components\InputDateOnly.razor" />
<_ContentIncludedByDefault Remove="Features\Components\InputMultiSelectList.razor" />
<_ContentIncludedByDefault Remove="Features\Components\InputSelectList.razor" />
<_ContentIncludedByDefault Remove="Features\Components\InputTimeOnly.razor" />
<_ContentIncludedByDefault Remove="Features\Components\Loading.razor" />
<_ContentIncludedByDefault Remove="Features\Components\NoData.razor" />
<_ContentIncludedByDefault Remove="Features\Components\Panel.razor" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="Components\DateSelector.razor" />
<AdditionalFiles Include="Components\FormFieldSet.razor" />
<AdditionalFiles Include="Components\FormSection.razor" />
<AdditionalFiles Include="Components\InputDateOnly.razor" />
<AdditionalFiles Include="Components\InputMultiSelectList.razor" />
<AdditionalFiles Include="Components\InputSelectList.razor" />
<AdditionalFiles Include="Components\InputTimeOnly.razor" />
<AdditionalFiles Include="Components\Loading.razor" />
<AdditionalFiles Include="Components\NoData.razor" />
<AdditionalFiles Include="Components\Panel.razor" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Inc.TeamAssistant.Primitives;
using Inc.TeamAssistant.WebUI.Components;
using Inc.TeamAssistant.WebUI.Contracts;
using Inc.TeamAssistant.WebUI.Features.Components;
using Inc.TeamAssistant.WebUI.Features.Notifications;
using Microsoft.AspNetCore.Components;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Blazored.LocalStorage;
using FluentValidation;
using Inc.TeamAssistant.WebUI.Components;
using Inc.TeamAssistant.WebUI.Contracts;
using Inc.TeamAssistant.WebUI.Features.Components;
using Inc.TeamAssistant.WebUI.Features.Constructor.Stages.Stage3;
using Inc.TeamAssistant.WebUI.Features.Notifications;
using Inc.TeamAssistant.WebUI.Routing;
Expand Down
10 changes: 10 additions & 0 deletions src/Inc.TeamAssistant.WebUI/_Imports.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.JSInterop
@using Microsoft.AspNetCore.SignalR.Client
@using Microsoft.AspNetCore.Authorization
@using Microsoft.AspNetCore.Components.Authorization
@using Microsoft.AspNetCore.Components.Forms
@using Blazored.FluentValidation
@using Microsoft.AspNetCore.Components.QuickGrid
@using ApexCharts

0 comments on commit 2b7aec6

Please sign in to comment.