Skip to content

Commit

Permalink
Merge pull request #3 from mrzhdev/revert-2-feature/pwa
Browse files Browse the repository at this point in the history
Revert "Feature/pwa"
  • Loading branch information
mrzhdev authored Jun 11, 2024
2 parents d2c713e + 11b7e9a commit aa66170
Show file tree
Hide file tree
Showing 15 changed files with 149 additions and 473 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ images/Thumbs.db
.svn
bin
obj
.idea/**
2 changes: 1 addition & 1 deletion .idea/.idea.BlazorViz/.idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 14 additions & 13 deletions BlazorVizView/BlazorVizView.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,35 @@
<TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<BlazorLinkOnBuild>false</BlazorLinkOnBuild>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.0" PrivateAssets="all" />

<PackageReference Include="sly" Version="3.1.6"/>
<PackageReference Include="csly-cli-api" Version="1.2.5"/>

<!-- <ProjectReference Include="..\..\csly-cli\csly-cli-api\csly-cli-api.csproj" />-->
<!-- -->
<!-- <ProjectReference Include="..\..\csly-cli\csly-cli-builder\csly-cli-builder.csproj" />-->
<!-- -->
<!-- <ProjectReference Include="..\..\csly-cli\csly-cli-model\csly-cli-model.csproj" />-->
<!-- -->
<!-- <ProjectReference Include="..\..\csly-cli\csly-cli-parser\csly-cli-parser.csproj" />-->
<!-- <ProjectReference Include="..\..\csly\src\sly\sly.csproj" />-->



<PackageReference Include="Newtonsoft.Json" Version="13.0.2"/>
<PackageReference Include="System.Collections.Immutable" Version="8.0.0"/>
<PackageReference Include="System.Memory" Version="4.5.5"/>
<PackageReference Include="System.ValueTuple" Version="4.5.0"/>
<PackageReference Include="BlazorDialog" Version="2.3.0"/>



<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.4.0-4.final" />

<PackageReference Include="csly-cli-api" Version="1.0.3"/>
<PackageReference Include="sly" Version="3.1.5"/>
<PackageReference Include="BlazorMonaco" Version="3.2.0"/>
</ItemGroup>

<ItemGroup>
<Folder Include="wwwroot\js\" />
</ItemGroup>

<!-- <ItemGroup>-->
<!-- <ProjectReference Include="..\..\csly-cli\csly-cli-api\csly-cli-api.csproj" />-->
<!-- </ItemGroup>-->

</Project>
5 changes: 0 additions & 5 deletions BlazorVizView/Program.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
using BlazorVizView;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.JSInterop;

var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
builder.RootComponents.Add<HeadOutlet>("head::after");

builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
builder.Services.AddSingleton(serviceProvider => (IJSInProcessRuntime)serviceProvider.GetRequiredService<IJSRuntime>());
builder.Services.AddSingleton(serviceProvider => (IJSUnmarshalledRuntime)serviceProvider.GetRequiredService<IJSRuntime>());

builder.Services.AddBlazorDialog();

await builder.Build().RunAsync();
43 changes: 0 additions & 43 deletions BlazorVizView/Shared/ExtractDialog.razor

This file was deleted.

22 changes: 0 additions & 22 deletions BlazorVizView/Shared/ExtractDialogResult.cs

This file was deleted.

24 changes: 0 additions & 24 deletions BlazorVizView/Shared/GenerateDialog.razor

This file was deleted.

22 changes: 0 additions & 22 deletions BlazorVizView/Shared/GenerateDialogResult.cs

This file was deleted.

1 change: 0 additions & 1 deletion BlazorVizView/Shared/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
<article>
@Body
</article>
<DialogOutput/>
</main>

Loading

0 comments on commit aa66170

Please sign in to comment.