#pragma checksum "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7b1f1d89e3447f3512cfb8b712b8e6fb514d96f7"
// <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 BookInfo : AComponent
    {
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
#nullable restore
#line 2 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
  try{if (DisplayContent){

#line default
#line hidden
#nullable disable
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "id", "bookinfo_HeaderDIV");
            __builder.OpenElement(2, "span");
            __builder.AddAttribute(3, "class", "slim_title");
            __builder.AddContent(4, 
#nullable restore
#line 5 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
                             BookInfo.GetDisplayName(CurrentBook.Name)

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.AddMarkupContent(5, "\r\n   ");
            __builder.OpenElement(6, "table");
            __builder.AddAttribute(7, "class", "ml-2");
            __builder.OpenElement(8, "tbody");
            __builder.OpenElement(9, "tr");
            __builder.OpenElement(10, "td");
            __builder.OpenComponent<BookRegistry.Client.Shared.AButton>(11);
            __builder.AddAttribute(12, "Classes_0", "btn btn-secondary");
            __builder.AddAttribute(13, "Title", "Return to selection list");
            __builder.AddAttribute(14, "AccessKey", "c");
            __builder.AddAttribute(15, "TabIndex", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32?>(
#nullable restore
#line 11 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
                                                                                1

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(16, "ON_Click", new System.Action(
#nullable restore
#line 12 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
                                  CloseButton_OnClick

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(17, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(18, "<u>C</u>LOSE");
            }
            ));
            __builder.AddComponentReferenceCapture(19, (__value) => {
#nullable restore
#line 10 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
                              CloseButton = (BookRegistry.Client.Shared.AButton)__value;

#line default
#line hidden
#nullable disable
            }
            );
            __builder.CloseComponent();
            __builder.CloseElement();
            __builder.AddMarkupContent(20, "\r\n            <td></td>\r\n            ");
            __builder.AddMarkupContent(21, "<td><span class=\"faint_text\">(</span><span class=\"symbolic_bold_text\">&#x00D7;</span><span class=\"faint_text\">)</span></td>");
            __builder.CloseElement();
            __builder.CloseElement();
            __builder.CloseElement();
#nullable restore
#line 21 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
    if (IsForCorrection)
   {

#line default
#line hidden
#nullable disable
            __builder.OpenComponent<BookRegistry.Client.Shared.AButton>(22);
            __builder.AddAttribute(23, "Classes_0", "btn btn-labeled btn-danger glyphicon glyphicon-remove");
            __builder.AddAttribute(24, "Title", "Remove book-record form database");
            __builder.AddAttribute(25, "TabIndex", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32?>(
#nullable restore
#line 24 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
                                                              -1

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(26, "Style", "margin-left: auto; align-self: flex-end; line-height: 1; white-space: pre-line");
            __builder.AddAttribute(27, "Focusable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 26 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
                       false

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(28, "ON_Click_A", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, 
#nullable restore
#line 27 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
                        RemoveButton_OnClick_A

#line default
#line hidden
#nullable disable
            )));
            __builder.AddAttribute(29, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(30, "<img src=\"lib/open-iconic/png/x-2x.png\">&nbsp;&nbsp;");
                __builder2.AddMarkupContent(31, "<span style=\"vertical-align: middle\">REMOVE THIS BOOK</span>");
            }
            ));
            __builder.CloseComponent();
#nullable restore
#line 30 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
   }

#line default
#line hidden
#nullable disable
            __builder.CloseElement();
            __builder.AddMarkupContent(32, "\r\n");
            __builder.OpenElement(33, "p");
            __builder.AddAttribute(34, "align", "justify");
            __builder.AddContent(35, 
#nullable restore
#line 33 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
    CurrentBook.Description

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.AddMarkupContent(36, "\r\n");
            __builder.OpenElement(37, "div");
            __builder.AddAttribute(38, "style", "display: flex");
#nullable restore
#line 36 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
    if (IsForCorrection)
   {

#line default
#line hidden
#nullable disable
            __builder.OpenElement(39, "div");
            __builder.AddAttribute(40, "style", "display: inline; justify-content: top");
            __builder.OpenComponent<BookRegistry.Client.Shared.AButton>(41);
            __builder.AddAttribute(42, "Classes_0", "btn btn-primary");
            __builder.AddAttribute(43, "Title", "Correct book data (subpage)");
            __builder.AddAttribute(44, "AccessKey", "i");
            __builder.AddAttribute(45, "TabIndex", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32?>(
#nullable restore
#line 39 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
                                                                                                      2

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(46, "ON_Click", new System.Action(
#nullable restore
#line 40 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
                         EditButton_OnClick

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(47, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(48, "ED");
                __builder2.AddMarkupContent(49, "<u>I</u>T BOOK");
            }
            ));
            __builder.CloseComponent();
            __builder.CloseElement();
#nullable restore
#line 42 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
   }

#line default
#line hidden
#nullable disable
            __builder.OpenElement(50, "div");
            __builder.AddAttribute(51, "style", "margin-left: auto; text-align: right; line-height: 1.3");
            __builder.AddMarkupContent(52, "<span class=\"faint_text\">ISBN<b>:</b></span> ");
            __builder.OpenElement(53, "b");
            __builder.OpenElement(54, "i");
            __builder.AddContent(55, 
#nullable restore
#line 44 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
                                                          CurrentBook.ISBN

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.CloseElement();
            __builder.AddMarkupContent(56, "<br>\r\n      ");
            __builder.AddMarkupContent(57, "<span class=\"faint_text\">Release year<b>:</b></span> ");
            __builder.OpenElement(58, "b");
            __builder.OpenElement(59, "i");
            __builder.AddContent(60, 
#nullable restore
#line 45 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
                                                                  CurrentBook.ReleaseYear

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.CloseElement();
            __builder.AddMarkupContent(61, "<br>\r\n      ");
            __builder.AddMarkupContent(62, "<span class=\"faint_text\">Author<b>:</b></span> ");
            __builder.OpenElement(63, "b");
            __builder.OpenElement(64, "i");
            __builder.AddContent(65, 
#nullable restore
#line 46 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
                                                            CurrentBook.AuthorName

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.CloseElement();
            __builder.AddMarkupContent(66, "<br>\r\n      ");
            __builder.AddMarkupContent(67, "<span class=\"faint_text\">Category<b>:</b></span> ");
            __builder.OpenElement(68, "b");
            __builder.OpenElement(69, "i");
            __builder.AddContent(70, 
#nullable restore
#line 47 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
                                                              CurrentBook.CategoryName

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.CloseElement();
            __builder.AddMarkupContent(71, "<br>\r\n      ");
            __builder.AddMarkupContent(72, "<span class=\"faint_text\">Genre<b>:</b></span> ");
            __builder.OpenElement(73, "b");
            __builder.OpenElement(74, "i");
            __builder.AddContent(75, 
#nullable restore
#line 48 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
                                                           CurrentBook.GenreName

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.CloseElement();
            __builder.AddMarkupContent(76, "<br>\r\n      ");
            __builder.AddMarkupContent(77, "<span class=\"faint_text\">Publisher<b>:</b></span> ");
            __builder.OpenElement(78, "b");
            __builder.OpenElement(79, "i");
            __builder.AddContent(80, 
#nullable restore
#line 49 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
                                                               CurrentBook.PublisherName

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.CloseElement();
            __builder.AddMarkupContent(81, "<br>\r\n      ");
            __builder.AddMarkupContent(82, "<span class=\"faint_text\">Series<b>:</b></span> ");
            __builder.OpenElement(83, "b");
            __builder.OpenElement(84, "i");
            __builder.AddContent(85, 
#nullable restore
#line 50 "D:\HANDICRAFT\BookRegistry\Client\Components\BookInfo.razor"
                                                            CurrentBook.SeriesName

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

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