From b2516fc80af5e5cabdbe99a5682b87dbfb025e9e Mon Sep 17 00:00:00 2001 From: Jonathan McCaffrey Date: Mon, 2 May 2022 02:04:40 -0400 Subject: [PATCH] Auto formatting --- Components/Components.csproj | 16 +- Components/Form/FormNumberComponent.razor | 2 +- Components/Form/FormToggleComponent.razor | 17 +- Components/Inputs/CodeLinkComponent.razor | 2 +- Components/Inputs/LinkButtonComponent.razor | 6 +- Components/Inputs/SearchButtonComponent.razor | 3 +- .../Inputs/SearchIconButtonComponent.razor | 2 + .../Navigation/DesktopNavComponent.razor | 7 +- .../Navigation/MobileNavComponent.razor | 5 +- .../Navigation/TabletNavComponent.razor | 2 +- Components/Utils/Links.cs | 5 +- IGP/Dialog/SearchDialogComponent.razor | 12 +- IGP/Pages/BasePage.razor | 11 +- .../BuildCalculator/BuildCalculatorPage.razor | 9 +- .../BuildCalculator/Parts/ArmyComponent.razor | 42 ++- .../Parts/BuildChartComponent.razor | 15 +- .../Parts/EntityClickViewComponent.razor | 5 +- .../Parts/FilterComponent.razor | 32 ++- .../Parts/HighlightsComponent.razor | 2 +- .../Parts/HotkeyViewerComponent.razor | 165 ++++++++---- .../Parts/InputPanelComponent.razor | 6 +- .../Parts/OptionsComponent.razor | 7 +- .../Parts/TimingComponent.razor | 2 +- IGP/Pages/Database/DatabaseSinglePage.razor | 4 +- .../Parts/EntityFilterComponent.razor | 11 +- .../Parts/DocumentComponent.razor | 4 +- .../EconomyComparisonPage.razor | 4 +- .../Parts/ChartComponent.razor | 12 +- .../Parts/EconomyDifferenceComponent.razor | 15 +- .../Parts/EconomyInputComponent.razor | 20 +- IGP/Pages/HarassCalculatorPage.razor | 190 ++++++++------ IGP/Pages/Notes/NotesIndexPage.razor | 2 +- IGP/Pages/Notes/NotesPage.razor | 2 - IGP/Pages/PermissionsPage.razor | 9 +- IGP/Pages/StoragePage.razor | 24 +- IGP/Pages/StreamsPage.razor | 22 +- IGP/Portals/SearchPortal.razor | 1 - Model/BuildOrders/BuildOrderModel.cs | 2 +- Model/Chart/PointModel.cs | 2 +- Model/Entity/Data/DATA.cs | 241 +++++++++++------- Model/Entity/Data/Ids_Entity.cs | 17 +- Model/Entity/Parts/EntityFactionModel.cs | 1 - Model/Hotkeys/HotkeyModel.cs | 12 +- Model/Model.csproj | 4 +- Model/Website/WebPageModel.cs | 1 - Model/Website/WebSectionModel.cs | 2 +- Services/IServices.cs | 1 - Services/Immortal/BuildOrderService.cs | 17 +- Services/Immortal/EntityFilterService.cs | 5 +- Services/Immortal/ImmortalSelectionService.cs | 7 +- Services/Services.csproj | 12 +- Services/Website/DataCollectionService.cs | 25 +- Services/Website/DialogService.cs | 11 +- Services/Website/PermissionService.cs | 4 +- Services/Website/SearchService.cs | 8 +- Services/Website/StorageService.cs | 1 + TestAutomation/BaseTest.cs | 5 +- TestAutomation/Pages/DatabasePage.cs | 34 +-- TestAutomation/Pages/DatabaseSinglePage.cs | 15 +- TestAutomation/Shared/NavigationBar.cs | 8 +- TestAutomation/Shared/WebsiteSearchDialog.cs | 3 +- TestAutomation/TestAutomation.csproj | 22 +- TestAutomation/TestSearchFeatures.cs | 48 ++-- TestAutomation/Utils/Website.cs | 32 +-- 64 files changed, 685 insertions(+), 550 deletions(-) diff --git a/Components/Components.csproj b/Components/Components.csproj index a2fe5ef..3dc3012 100644 --- a/Components/Components.csproj +++ b/Components/Components.csproj @@ -15,24 +15,24 @@ - + - - - + + + - + - - + + - + diff --git a/Components/Form/FormNumberComponent.razor b/Components/Form/FormNumberComponent.razor index 00abf5a..063a1b1 100644 --- a/Components/Form/FormNumberComponent.razor +++ b/Components/Form/FormNumberComponent.razor @@ -5,7 +5,7 @@ }
@if (Info != "") @@ -116,10 +116,11 @@ private string labelId = ""; private string ClassStyle => Value ? "checked" : ""; - + protected override void OnInitialized() { base.OnInitialized(); labelId = Label.ToLower().Replace(" ", "_"); } + } \ No newline at end of file diff --git a/Components/Inputs/CodeLinkComponent.razor b/Components/Inputs/CodeLinkComponent.razor index 9d54a69..795a981 100644 --- a/Components/Inputs/CodeLinkComponent.razor +++ b/Components/Inputs/CodeLinkComponent.razor @@ -1,4 +1,4 @@ - + View on GitHub diff --git a/Components/Inputs/LinkButtonComponent.razor b/Components/Inputs/LinkButtonComponent.razor index dff1efb..64c31b4 100644 --- a/Components/Inputs/LinkButtonComponent.razor +++ b/Components/Inputs/LinkButtonComponent.razor @@ -1,4 +1,4 @@ - + @ChildContent @@ -27,9 +27,9 @@ [Parameter] public RenderFragment ChildContent { get; set; } = default!; - + [Parameter] public string Href { get; set; } = ""; - + } \ No newline at end of file diff --git a/Components/Inputs/SearchButtonComponent.razor b/Components/Inputs/SearchButtonComponent.razor index 0df50f0..7860322 100644 --- a/Components/Inputs/SearchButtonComponent.razor +++ b/Components/Inputs/SearchButtonComponent.razor @@ -15,7 +15,7 @@ { CTRL + K } - + @@ -44,6 +44,7 @@ @code { + [Parameter] public RenderFragment ChildContent { get; set; } = default!; diff --git a/Components/Inputs/SearchIconButtonComponent.razor b/Components/Inputs/SearchIconButtonComponent.razor index 381c542..0ef77e8 100644 --- a/Components/Inputs/SearchIconButtonComponent.razor +++ b/Components/Inputs/SearchIconButtonComponent.razor @@ -28,6 +28,7 @@ @code { + [Parameter] public RenderFragment ChildContent { get; set; } = default!; @@ -38,4 +39,5 @@ { SearchService.Show(); } + } \ No newline at end of file diff --git a/Components/Navigation/DesktopNavComponent.razor b/Components/Navigation/DesktopNavComponent.razor index 019f183..877db88 100644 --- a/Components/Navigation/DesktopNavComponent.razor +++ b/Components/Navigation/DesktopNavComponent.razor @@ -27,13 +27,14 @@ }
- - + @if (isSelected) {