Add Connected.Components as project reference instead of nuget reference
Fix imports Update TaxRates/Components/TaxRateAdd to use Connected components
This commit is contained in:
parent
7d4b94bc9b
commit
6725edb1ae
@ -26,7 +26,6 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Remove="C:\Users\koma.TOMPIT\.nuget\packages\connected.components\1.0.2-prerelease.gd7fe9a8908\contentFiles\any\net7.0\version.json" />
|
||||
<Content Remove="version.json" />
|
||||
</ItemGroup>
|
||||
|
||||
@ -37,7 +36,6 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="7.0.*-*" />
|
||||
<PackageReference Include="Connected.Components" Version="1.0.*-*" />
|
||||
<PackageReference Include="Connected.Client" Version="1.0.*-*" />
|
||||
<PackageReference Include="Connected.UI" Version="1.0.*-*" />
|
||||
<PackageReference Include="Connected" Version="1.0.*-*" />
|
||||
@ -57,6 +55,10 @@
|
||||
<None Include="version.json" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\dependencies\Connected.Components\src\Connected.Components\Connected.Components.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="CopyPackages" AfterTargets="Pack">
|
||||
<Copy SourceFiles="$(OutputPath)..\$(PackageId).$(PackageVersion).nupkg" DestinationFolder="$([System.Environment]::GetEnvironmentVariable('LOCAL_NUGET'))" />
|
||||
<Copy SourceFiles="$(OutputPath)..\$(PackageId).$(PackageVersion).snupkg" DestinationFolder="$([System.Environment]::GetEnvironmentVariable('LOCAL_NUGET'))" />
|
||||
|
@ -2,23 +2,16 @@
|
||||
|
||||
@inherits UIComposition
|
||||
|
||||
<h3 class="important">TaxRateAdd</h3>
|
||||
|
||||
<EditForm Model="@DataSource" OnValidSubmit="@OnInsert">
|
||||
<DataAnnotationsValidator />
|
||||
<ValidationSummary />
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<label for="name">Name</label>
|
||||
<InputText id="name" @bind-Value="DataSource.Name" />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="rate">Rate</label>
|
||||
<InputNumber id="rate" @bind-Value="DataSource.Rate" />
|
||||
</div>
|
||||
|
||||
<button type="submit">Submit</button>
|
||||
<button @onclick="OnCancel">Cancel</button>
|
||||
<Button @onclick="OnInsert">Submit</Button>
|
||||
<Button @onclick="OnCancel">Cancel</Button>
|
||||
|
||||
</EditForm>
|
||||
</div>
|
@ -1,6 +1,5 @@
|
||||
@using System.Net.Http
|
||||
@using Microsoft.AspNetCore.Authorization
|
||||
@using Microsoft.AspNetCore.Components.Forms
|
||||
@using Microsoft.AspNetCore.Components.Routing
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
@using Microsoft.JSInterop
|
Loading…
x
Reference in New Issue
Block a user