Merge pull request ' Drag and drop from list to inventory' (#5) from feat/implement-grid-and-drag-drop into main

Reviewed-on: #5
pull/6/head
Alexis Drai 2 years ago
commit b4633e70f2

@ -25,5 +25,6 @@ namespace Minecraft.Crafting.Api.Models
/// Gets or sets the position.
/// </summary>
public int Position { get; set; }
public string? ImageBase64 { get; set; }
}
}

@ -0,0 +1,29 @@
<CascadingValue Value="@this">
<div class="side-by-side">
<div class="inventory-grid">
@for (int row = 0; row < 3; row++)
{
<div class="inventory-row">
@for (int col = 0; col < 6; col++)
{
<div class="inventory-slot">
@if (InventoryContent != null && InventoryContent.Count > (row * 6 + col))
{
<InventoryItem Position="(row * 6 + col)" IsInList="false" IsInInventory="true" />
}
</div>
}
</div>
}
</div>
<div>
<h2>@Localizer["list_of_items"]</h2>
<InventoryList Items="Items" />
</div>
</div>
</CascadingValue>

@ -0,0 +1,17 @@
using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.Localization;
using Minecraft.Crafting.Api.Models;
using Item = blazor_lab.Models.Item;
namespace blazor_lab.Components
{
public partial class Inventory
{
[Inject]
public IStringLocalizer<Inventory> Localizer { get; set; }
[Parameter]
public List<Item> Items { get; set; }
public InventoryModel? CurrentDragItem { get; set; } = new();
public List<InventoryModel> InventoryContent { get; set; } = Enumerable.Range(1, 18).Select(_ => new InventoryModel()).ToList();
}
}

@ -1,4 +1,9 @@
.inventory-grid {
.side-by-side {
display: flex;
flex-direction: row;
}
.inventory-grid {
display: flex;
flex-direction: column;
}
@ -18,8 +23,3 @@
align-items: center;
overflow: hidden;
}
.item-count {
margin-top: 5px;
}

@ -1,21 +0,0 @@
<div class="inventory-grid">
@for (int row = 0; row < 3; row++)
{
<div class="inventory-row">
@for (int col = 0; col < 6; col++)
{
<div class="inventory-slot">
@if (Inventory != null && Inventory.Count > (row * 6 + col))
{
var slot = Inventory[row * 6 + col];
@if (slot.NumberItem > 0)
{
<img src="@($"data:image/png;base64,{GetItemImageBase64(@slot.ItemName)}")" alt="@slot.ItemName" />
<div class="slot-count">@slot.NumberItem</div>
}
}
</div>
}
</div>
}
</div>

@ -1,25 +0,0 @@
using Microsoft.AspNetCore.Components;
using Minecraft.Crafting.Api.Models;
namespace blazor_lab.Components
{
public partial class InventoryGrid
{
public List<InventoryModel> Inventory { get; set; } = Enumerable.Range(1, 18).Select(_ => new InventoryModel()).ToList();
/// <summary>
/// Used by GetItemImageBase64 in this component, rather than calling our DataService every time.
/// A very basic cache, not kept up to date in any way, but event listeners could be set up in the future
/// </summary>
[Parameter]
public List<Models.Item> Items { get; set; }
public string GetItemImageBase64(string displayName)
{
var item = Items.FirstOrDefault(i => i.DisplayName == displayName);
return item?.ImageBase64;
}
}
}

@ -0,0 +1,24 @@
<div ondragover="event.preventDefault();"
draggable="true"
@ondragstart="@OnDragStart"
@ondrop="@OnDrop">
@if (Item is not null && IsInList)
{
<div class="inventory-list-item">
<img src="@($"data:image/png;base64,{Item.ImageBase64}")" alt="@Item.DisplayName" />
<div class="item-name">@Item.DisplayName</div>
</div>
}
@if (InventoryModel is not null && IsInInventory)
{
<div class="inventory-grid-item">
@if (InventoryModel.NumberItem > 0)
{
<div class="slot-image">
<img src="@($"data:image/png;base64,{InventoryModel.ImageBase64}")" alt="@InventoryModel.ItemName" />
</div>
<div class="slot-count">@InventoryModel.NumberItem</div>
}
</div>
}
</div>

@ -0,0 +1,96 @@
using Blazorise.Extensions;
using Microsoft.AspNetCore.Components;
using Minecraft.Crafting.Api.Models;
using Item = blazor_lab.Models.Item;
namespace blazor_lab.Components
{
public partial class InventoryItem
{
[Parameter]
public Item? Item { get; set; }
[Parameter]
public int Position { get; set; } = -1;
[Parameter]
public bool IsInList { get; set; }
[Parameter]
public bool IsInInventory { get; set; }
[CascadingParameter]
public InventoryList? ListParent { get; set; }
[CascadingParameter]
public Inventory? InventoryParent { get; set; }
public InventoryModel? InventoryModel { get; set; } = new InventoryModel();
public InventoryItem()
{
if (IsInInventory)
{
InventoryModel.ImageBase64 = null;
InventoryModel.ItemName = "";
InventoryModel.NumberItem = 0;
InventoryModel.Position = Position;
}
}
internal void OnDrop()
{
if (IsInList)
{
ListParent!.Parent.CurrentDragItem = null;
return;
}
if (IsInInventory)
{
InventoryModel ??= new();
if (InventoryModel.ItemName.IsNullOrEmpty()) // new inventoryModel
{
InventoryModel.ImageBase64 = InventoryParent!.CurrentDragItem!.ImageBase64;
InventoryModel.ItemName = InventoryParent!.CurrentDragItem!.ItemName;
InventoryModel.Position = Position;
InventoryModel.NumberItem = 1;
InventoryParent.InventoryContent.Insert(Position, InventoryModel);
}
else
{
if (InventoryModel.ItemName == InventoryParent!.CurrentDragItem!.ItemName) // adding to an existing stack
{
InventoryModel.NumberItem += 1;
}
}
InventoryParent!.CurrentDragItem = null;
}
}
private void OnDragStart()
{
if (IsInList)
{
ListParent!.Parent.CurrentDragItem = new InventoryModel
{
ImageBase64 = Item!.ImageBase64,
ItemName = Item!.DisplayName,
NumberItem = 1,
Position = -1
};
}
else if (IsInInventory) // delete item stack if it is dragged from inventory
{
InventoryModel = new InventoryModel
{
ImageBase64 = null,
ItemName = "",
NumberItem = 0,
Position = Position
};
InventoryParent!.CurrentDragItem = null;
}
}
}
}

@ -0,0 +1,39 @@
.inventory-list-item {
display: flex;
flex-direction: row;
margin-bottom: 10px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.inventory-list-item img {
max-width: 64px;
max-height: 64px;
margin-right: 10px;
}
.inventory-grid-item {
display: flex;
flex-grow: 1;
flex-direction: column;
justify-content: center;
align-items: center;
border: 1px solid #ddd;
height: 64px;
width: 64px;
}
.inventory-grid-item .slot-image {
font-weight: bold;
font-size: small;
}
.inventory-grid-item .slot-count {
font-size: small;
}
.inventory-grid-item .item-name {
font-weight: bold;
}

@ -1,4 +1,6 @@
<div class="inventory-list">
<CascadingValue Value="@this">
<div class="inventory-list">
<div class="search-container">
<input type="text" value="@searchQuery" @oninput="OnInputChange" placeholder="@Localizer["search_label"]" />
</div>
@ -12,32 +14,31 @@
</div>
<div class="inventory-list-items">
@foreach (var item in VisibleItems)
{
<div class="inventory-list-item side-by-side">
<img src="@($"data:image/png;base64,{item.ImageBase64}")" alt="@item.DisplayName" />
<div class="item-name">@item.DisplayName</div>
</div>
}
@foreach (var item in VisibleItems)
{
<InventoryItem Item=item IsInList="true" IsInInventory="false"></InventoryItem>
}
</div>
<div class="pagination-container">
@for (var i = 1; i <= TotalPages; i++)
{
var pageNumber = i; // copy the loop variable to avoid closure issues
<button @onclick="() => GoToPage(pageNumber)">@pageNumber</button>
}
@for (var i = 1; i <= TotalPages; i++)
{
var pageNumber = i; // copy the loop variable to avoid closure issues
<button @onclick="() => GoToPage(pageNumber)">@pageNumber</button>
}
</div>
<div class="item-count">
@if (VisibleItems.Any())
{
var firstItem = (currentPage - 1) * pageSize + 1;
var lastItem = Math.Min(currentPage * pageSize, TotalItems);
<span>@firstItem - @lastItem @Localizer["out_of"] @TotalItems</span>
}
else
{
<span>@Localizer["no_items_found"]</span>
}
@if (VisibleItems.Any())
{
var firstItem = (currentPage - 1) * pageSize + 1;
var lastItem = Math.Min(currentPage * pageSize, TotalItems);
<span>@firstItem - @lastItem @Localizer["out_of"] @TotalItems</span>
}
else
{
<span>@Localizer["no_items_found"]</span>
}
</div>
</div>
</div>
</CascadingValue>

@ -11,6 +11,9 @@ namespace blazor_lab.Components
}
public partial class InventoryList
{
[CascadingParameter]
public Inventory Parent { get; set; }
[Inject]
public IStringLocalizer<InventoryList> Localizer { get; set; }

@ -4,32 +4,4 @@
.search-container {
margin-bottom: 20px;
}
.inventory-list-item {
margin-bottom: 10px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.inventory-list-item img {
max-width: 64px;
max-height: 64px;
margin-right: 10px;
}
.item-name {
font-weight: bold;
}
.side-by-side {
display: flex;
flex-direction: row;
}
button[disabled] {
opacity: 0.5;
cursor: default;
}

@ -1,14 +0,0 @@
@page "/inventory"
@using Minecraft.Crafting.Api.Models
@using blazor_lab.Components
<div class="side-by-side">
<div>
<h2>@Localizer["my_inventory"]</h2>
<InventoryGrid Items="Items" />
</div>
<div>
<h2>@Localizer["list_of_items"]</h2>
<InventoryList Items="Items" />
</div>
</div>

@ -1,24 +0,0 @@
using blazor_lab.Services;
using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.Localization;
using Minecraft.Crafting.Api.Models;
using System.Diagnostics;
namespace blazor_lab.Pages
{
public partial class Inventory
{
private List<Models.Item> Items = new();
[Inject]
public IStringLocalizer<Inventory> Localizer { get; set; }
[Inject]
private DataApiService DataApiService { get; set; }
protected override async Task OnInitializedAsync()
{
Items = await DataApiService.All();
}
}
}

@ -1,4 +0,0 @@
.side-by-side {
display: flex;
flex-direction: row;
}

@ -0,0 +1,8 @@
@page "/inventory"
@using blazor_lab.Components
<PageTitle>@Localizer["inventory"]</PageTitle>
<h1>@Localizer["inventory"]</h1>
<Inventory Items="Items"></Inventory>

@ -0,0 +1,32 @@
using blazor_lab.Services;
using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.Localization;
namespace blazor_lab.Pages
{
public partial class InventoryPage
{
[Inject]
public IStringLocalizer<InventoryPage> Localizer { get; set; }
[Inject]
private IDataService DataService { get; set; }
private List<Models.Item> Items = new();
protected override async Task OnAfterRenderAsync(bool firstRender)
{
base.OnAfterRenderAsync(firstRender);
if (!firstRender)
{
return;
}
Items = await DataService.List(0, await DataService.Count());
StateHasChanged();
}
}
}

@ -5,7 +5,6 @@ using Blazored.Modal;
using Blazored.Modal.Services;
using Blazorise.DataGrid;
using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.Localization;
namespace blazor_lab.Pages
{

@ -43,7 +43,7 @@ builder.Services.Configure<RequestLocalizationOptions>(options =>
options.SupportedUICultures = new List<CultureInfo> { new CultureInfo("en-US"), new CultureInfo("fr-FR") };
});
builder.Services.AddScoped<DataApiService>();
builder.Services.AddScoped<IDataService, DataApiService>();
var app = builder.Build();

@ -130,9 +130,9 @@
<value>Trier par</value>
</data>
<data name="sort_by_name_asc" xml:space="preserve">
<value>Trier par nom (Asc.)</value>
<value>nom (Asc.)</value>
</data>
<data name="sort_by_name_desc" xml:space="preserve">
<value>Trier par nom (Desc.)</value>
<value>nom (Desc.)</value>
</data>
</root>

@ -127,10 +127,10 @@
<value>Search</value>
</data>
<data name="sort_by_name_asc" xml:space="preserve">
<value>Sort by name (Asc.)</value>
<value>name (Asc.)</value>
</data>
<data name="sort_by_name_desc" xml:space="preserve">
<value>Sort by name (Desc.)</value>
<value>name (Desc.)</value>
</data>
<data name="sort_label" xml:space="preserve">
<value>Sort</value>

@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="inventory" xml:space="preserve">
<value>Inventaire</value>
</data>
</root>

@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="inventory" xml:space="preserve">
<value>Inventory</value>
</data>
</root>

@ -31,11 +31,6 @@ namespace blazor_lab.Services
return await _http.GetFromJsonAsync<int>($"{_apiBaseUrl}/count");
}
public async Task<List<Item>> All()
{
return await _http.GetFromJsonAsync<List<Item>>($"{_apiBaseUrl}/all");
}
public async Task<List<Item>> List(int currentPage, int pageSize)
{
return await _http.GetFromJsonAsync<List<Item>>($"{_apiBaseUrl}/?currentPage={currentPage}&pageSize={pageSize}");

@ -1,34 +1,37 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Blazored.LocalStorage" Version="4.3.0" />
<PackageReference Include="Blazored.Modal" Version="7.1.0" />
<PackageReference Include="Blazorise.Bootstrap" Version="1.2.1" />
<PackageReference Include="Blazorise.DataGrid" Version="1.2.1" />
<PackageReference Include="Blazorise.Icons.FontAwesome" Version="1.2.1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Blazored.LocalStorage" Version="4.3.0" />
<PackageReference Include="Blazored.Modal" Version="7.1.0" />
<PackageReference Include="Blazorise.Bootstrap" Version="1.2.1" />
<PackageReference Include="Blazorise.DataGrid" Version="1.2.1" />
<PackageReference Include="Blazorise.Icons.FontAwesome" Version="1.2.1" />
</ItemGroup>
<ItemGroup>
<Folder Include="wwwroot\_content\" />
</ItemGroup>
<ItemGroup>
<Folder Include="wwwroot\_content\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Minecraft.Crafting.Api\Minecraft.Crafting.Api.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Minecraft.Crafting.Api\Minecraft.Crafting.Api.csproj" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Resources\Pages.Inventory.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Update="Resources\Components.InventoryList.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Resources\Components.Inventory.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Update="Resources\Pages.InventoryPage.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Update="Resources\Components.InventoryList.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
</Project>

Loading…
Cancel
Save