#pragma checksum "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3275ce49ffc43ed122382bc65226ab3cd7e898db"
// <auto-generated/>
#pragma warning disable 1591
namespace BookRegistry.Client.Components
{
    #line hidden
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Threading.Tasks;
    using Microsoft.AspNetCore.Components;
#nullable restore
#line 1 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using System.Net.Http;

#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using System.Net.Http.Json;

#line default
#line hidden
#nullable disable
#nullable restore
#line 3 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using Microsoft.AspNetCore.Components.Forms;

#line default
#line hidden
#nullable disable
#nullable restore
#line 4 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using Microsoft.AspNetCore.Components.Routing;

#line default
#line hidden
#nullable disable
#nullable restore
#line 5 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using Microsoft.AspNetCore.Components.Web;

#line default
#line hidden
#nullable disable
#nullable restore
#line 6 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using Microsoft.AspNetCore.Components.WebAssembly.Http;

#line default
#line hidden
#nullable disable
#nullable restore
#line 7 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using Microsoft.AspNetCore.Authorization;

#line default
#line hidden
#nullable disable
#nullable restore
#line 8 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using Microsoft.AspNetCore.Components.Authorization;

#line default
#line hidden
#nullable disable
#nullable restore
#line 11 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using CommonHelpers.WASM;

#line default
#line hidden
#nullable disable
#nullable restore
#line 12 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using AFXUI;

#line default
#line hidden
#nullable disable
#nullable restore
#line 14 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using BookRegistry.Client;

#line default
#line hidden
#nullable disable
#nullable restore
#line 15 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using BookRegistry.Client.DB;

#line default
#line hidden
#nullable disable
#nullable restore
#line 16 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using BookRegistry.Client.Shared;

#line default
#line hidden
#nullable disable
#nullable restore
#line 17 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using BookRegistry.Client.Components;

#line default
#line hidden
#nullable disable
#nullable restore
#line 18 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using BookRegistry.Client.Pages;

#line default
#line hidden
#nullable disable
    public partial class BookList : AComponent
    {
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
#nullable restore
#line 2 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
  try{if (Items!=null){

#line default
#line hidden
#nullable disable
            __builder.OpenElement(0, "table");
            __builder.AddAttribute(1, "id", "booklist_BookTABLE");
            __builder.AddMarkupContent(2, @"<thead><tr><th class=""booklist_BookItemNoTH"">#</th><th></th>
         <th class=""booklist_BookTableTH"">Book-name</th><th></th>
         <th class=""booklist_BookTableTH"">ISBN</th><th></th>
         <th class=""booklist_BookTableTH"">Year</th><th></th>
         <th class=""booklist_BookTableTH"">Author</th><th></th>
         <th class=""booklist_BookTableTH"">Category</th><th></th>
         <th class=""booklist_BookTableTH"">Genre</th><th></th>
         <th class=""booklist_BookTableTH"">Publisher</th><th></th>
         <th class=""booklist_BookTableLastColumnTH"">Series</th></tr></thead>");
#nullable restore
#line 18 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
    for (int i=0; i<Items.Count; i++)
   {
      var book = Items[i];

#line default
#line hidden
#nullable disable
            __builder.OpenElement(3, "tbody");
            __builder.OpenElement(4, "tr");
            __builder.AddAttribute(5, "class", 
#nullable restore
#line 22 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
                               BookItemTRClass(book)

#line default
#line hidden
#nullable disable
            );
            __builder.SetKey(
#nullable restore
#line 22 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
                   book

#line default
#line hidden
#nullable disable
            );
            __builder.OpenElement(6, "td");
            __builder.AddAttribute(7, "class", "booklist_ItemNoTD");
            __builder.AddContent(8, " ");
            __builder.AddContent(9, 
#nullable restore
#line 23 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
                                                  i+1

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.AddMarkupContent(10, "\r\n            <td></td>\r\n            ");
            __builder.OpenElement(11, "td");
            __builder.AddAttribute(12, "class", 
#nullable restore
#line 25 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
                       BookNameTDClass(book)

#line default
#line hidden
#nullable disable
            );
            __builder.OpenComponent<BookRegistry.Client.Shared.AHRef>(13);
            __builder.AddAttribute(14, "HRef", "#description");
            __builder.AddAttribute(15, "Title", "Open info (description)");
            __builder.AddAttribute(16, "Enabled", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 27 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
                                !book.deleted

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(17, "Focusable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 27 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
                                                          false

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(18, "ON_Click", new System.Action(
#nullable restore
#line 28 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
                                 () => BookItem_OnClick(book)

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(19, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(20, 
#nullable restore
#line 28 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
                                                                BookInfo.GetDisplayName(book.Name)

#line default
#line hidden
#nullable disable
                );
            }
            ));
            __builder.CloseComponent();
            __builder.CloseElement();
            __builder.AddMarkupContent(21, "\r\n            <td></td>\r\n            ");
            __builder.OpenElement(22, "td");
            __builder.AddAttribute(23, "class", "booklist_BookTableBoldTD");
            __builder.AddContent(24, 
#nullable restore
#line 31 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
                                                  book.ISBN

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.AddMarkupContent(25, "\r\n            <td></td>\r\n            ");
            __builder.OpenElement(26, "td");
            __builder.AddAttribute(27, "class", "booklist_BookTableBoldTD");
            __builder.AddContent(28, 
#nullable restore
#line 33 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
                                                  book.ReleaseYear

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.AddMarkupContent(29, "\r\n            <td></td>\r\n            ");
            __builder.OpenElement(30, "td");
            __builder.AddAttribute(31, "class", "booklist_AuthorTD");
            __builder.AddContent(32, 
#nullable restore
#line 35 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
                                           book.AuthorName

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.AddMarkupContent(33, "\r\n            <td></td>\r\n            ");
            __builder.OpenElement(34, "td");
            __builder.AddAttribute(35, "class", "booklist_BookTableTD");
            __builder.AddContent(36, 
#nullable restore
#line 37 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
                                              book.CategoryName

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.AddMarkupContent(37, "\r\n            <td></td>\r\n            ");
            __builder.OpenElement(38, "td");
            __builder.AddAttribute(39, "class", "booklist_BookTableTD");
            __builder.AddContent(40, 
#nullable restore
#line 39 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
                                              book.GenreName

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.AddMarkupContent(41, "\r\n            <td></td>\r\n            ");
            __builder.OpenElement(42, "td");
            __builder.AddAttribute(43, "class", "booklist_BookTableTD");
            __builder.AddContent(44, 
#nullable restore
#line 41 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
                                              book.PublisherName

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.AddMarkupContent(45, "\r\n            <td></td>\r\n            ");
            __builder.OpenElement(46, "td");
            __builder.AddAttribute(47, "class", "booklist_BookTableTD");
            __builder.AddContent(48, 
#nullable restore
#line 43 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
                                              book.SeriesName

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.CloseElement();
            __builder.CloseElement();
#nullable restore
#line 46 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
   }

#line default
#line hidden
#nullable disable
            __builder.CloseElement();
#nullable restore
#line 49 "D:\HANDICRAFT\BookRegistry\Client\Components\BookList.razor"
}}catch(Exception e){ProcessRenderingError(GetType(),e);}

#line default
#line hidden
#nullable disable
        }
        #pragma warning restore 1998
    }
}
#pragma warning restore 1591
