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

#line default
#line hidden
#nullable disable
            __builder.OpenElement(0, "div");
            __builder.AddMultipleAttributes(1, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::System.Collections.Generic.IEnumerable<global::System.Collections.Generic.KeyValuePair<string, object>>>(
#nullable restore
#line 3 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                  Attributes

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(2, "id", 
#nullable restore
#line 3 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                 ContainerId

#line default
#line hidden
#nullable disable
            );
            __builder.AddAttribute(3, "class", 
#nullable restore
#line 3 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                    ContainerClasses

#line default
#line hidden
#nullable disable
            );
            __builder.AddAttribute(4, "style", (
#nullable restore
#line 3 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                                             ContainerStyle_0

#line default
#line hidden
#nullable disable
            ) + ";" + " " + (
#nullable restore
#line 3 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                                                                ContainerStyle

#line default
#line hidden
#nullable disable
            ));
            __builder.OpenElement(5, "table");
            __builder.AddAttribute(6, "class", "a_dropdown_list_LayoutTABLE");
            __builder.OpenElement(7, "tbody");
            __builder.OpenElement(8, "tr");
            __builder.OpenElement(9, "td");
            __builder.AddAttribute(10, "class", "a_dropdown_list_SelectTD");
            __builder.OpenComponent<BookRegistry.Client.Shared.AErrorFrame>(11);
            __builder.AddAttribute(12, "InitialMessage", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 9 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                          InitialErrorMessage

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(13, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.OpenElement(14, "select");
                __builder2.AddAttribute(15, "id", 
#nullable restore
#line 10 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                               SelectId

#line default
#line hidden
#nullable disable
                );
                __builder2.AddAttribute(16, "class", (
#nullable restore
#line 11 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                               SelectElement_EDClass

#line default
#line hidden
#nullable disable
                ) + " " + (
#nullable restore
#line 11 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                      SelectClasses_0

#line default
#line hidden
#nullable disable
                ) + " " + (
#nullable restore
#line 11 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                                       SelectClasses

#line default
#line hidden
#nullable disable
                ));
                __builder2.AddAttribute(17, "title", 
#nullable restore
#line 12 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                               ErrorMessage ?? Title

#line default
#line hidden
#nullable disable
                );
                __builder2.AddAttribute(18, "accesskey", 
#nullable restore
#line 12 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                                 AccessKey

#line default
#line hidden
#nullable disable
                );
                __builder2.AddAttribute(19, "style", (
#nullable restore
#line 13 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                               SelectStyle_0

#line default
#line hidden
#nullable disable
                ) + ";" + " " + (
#nullable restore
#line 13 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                               SelectStyle

#line default
#line hidden
#nullable disable
                ));
                __builder2.AddAttribute(20, "tabindex", 
#nullable restore
#line 13 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                                      TabIndex

#line default
#line hidden
#nullable disable
                );
                __builder2.AddAttribute(21, "disabled", 
#nullable restore
#line 14 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                  Enabled ? null : "true"

#line default
#line hidden
#nullable disable
                );
                __builder2.AddAttribute(22, "onblur", "setTimeout(()=>{" + " WASM.Invoke_1(\'wasm_ADropDownList_OnBlur\',\'" + (
#nullable restore
#line 15 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                                                            UniqueId

#line default
#line hidden
#nullable disable
                ) + "\')" + " })");
                __builder2.AddAttribute(23, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.ChangeEventArgs>(this, 
#nullable restore
#line 16 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                  SelectElement_OnChange

#line default
#line hidden
#nullable disable
                ));
                __builder2.AddAttribute(24, "onkeydown", Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.KeyboardEventArgs>(this, 
#nullable restore
#line 17 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                   SelectElement_OnKeyDown

#line default
#line hidden
#nullable disable
                ));
                __builder2.AddAttribute(25, "onfocus", Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.FocusEventArgs>(this, 
#nullable restore
#line 18 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                 SelectElement_OnFocus

#line default
#line hidden
#nullable disable
                ));
                __builder2.AddElementReferenceCapture(26, (__value) => {
#nullable restore
#line 10 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                             SelectElement = __value;

#line default
#line hidden
#nullable disable
                }
                );
                __builder2.OpenElement(27, "option");
                __builder2.AddAttribute(28, "style", "display: none");
                __builder2.CloseElement();
#nullable restore
#line 20 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                   for (int i=0; i<ItemCount; i++)
                  {
                     if (i==SelectedIndexValue) {

#line default
#line hidden
#nullable disable
                __builder2.OpenElement(29, "option");
                __builder2.AddAttribute(30, "class", 
#nullable restore
#line 23 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                        SelectedOptionClasses ?? OptionClasses

#line default
#line hidden
#nullable disable
                );
                __builder2.AddAttribute(31, "style", 
#nullable restore
#line 24 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                        SelectedOptionStyle ?? OptionStyle

#line default
#line hidden
#nullable disable
                );
                __builder2.AddAttribute(32, "selected");
                __builder2.AddContent(33, 
#nullable restore
#line 24 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                                                      GetItemCaption(i)

#line default
#line hidden
#nullable disable
                );
                __builder2.CloseElement();
#nullable restore
#line 25 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                     } else {

#line default
#line hidden
#nullable disable
                __builder2.OpenElement(34, "option");
                __builder2.AddAttribute(35, "class", 
#nullable restore
#line 26 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                       OptionClasses

#line default
#line hidden
#nullable disable
                );
                __builder2.AddAttribute(36, "style", 
#nullable restore
#line 26 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                            OptionStyle

#line default
#line hidden
#nullable disable
                );
                __builder2.AddContent(37, 
#nullable restore
#line 26 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                                         GetItemCaption(i)

#line default
#line hidden
#nullable disable
                );
                __builder2.CloseElement();
#nullable restore
#line 27 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                     }
                  }

#line default
#line hidden
#nullable disable
                __builder2.CloseElement();
            }
            ));
            __builder.AddComponentReferenceCapture(38, (__value) => {
#nullable restore
#line 9 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                               ErrorFrame = (BookRegistry.Client.Shared.AErrorFrame)__value;

#line default
#line hidden
#nullable disable
            }
            );
            __builder.CloseComponent();
            __builder.CloseElement();
#nullable restore
#line 32 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
          if (ResetPresence != ElementPresence.None)
         {

#line default
#line hidden
#nullable disable
            __builder.OpenElement(39, "td");
            __builder.AddAttribute(40, "class", "a_dropdown_list_ResetHRefTD");
#nullable restore
#line 35 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
             if (ResetControlType == ResetControlType.Reset)
            {

#line default
#line hidden
#nullable disable
            __builder.OpenComponent<BookRegistry.Client.Shared.AResetControl>(41);
            __builder.AddAttribute(42, "HRefId", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 37 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                      ResetHRefId

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(43, "HRef", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 37 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                                        ResetHRefValue

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(44, "HRefClasses", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 38 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                        ResetHRefClasses

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(45, "HRefStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 38 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                                    ResetControlStyle

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(46, "Title", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 39 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                  ResetHRefTitle

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(47, "Enabled", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 39 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                          Enabled

#line default
#line hidden
#nullable disable
            ));
            __builder.AddComponentReferenceCapture(48, (__value) => {
#nullable restore
#line 37 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                 ResetControl = (BookRegistry.Client.Shared.AResetControl)__value;

#line default
#line hidden
#nullable disable
            }
            );
            __builder.CloseComponent();
#nullable restore
#line 40 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
            }

#line default
#line hidden
#nullable disable
#nullable restore
#line 41 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
             if (ResetControlType == ResetControlType.UpReset)
            {

#line default
#line hidden
#nullable disable
            __builder.OpenComponent<BookRegistry.Client.Shared.AUpResetControl>(49);
            __builder.AddAttribute(50, "HRefId", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 43 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                          ResetHRefId

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(51, "HRef", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 43 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                                            ResetHRefValue

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(52, "HRefClasses", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 44 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                          ResetHRefClasses

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(53, "HRefStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 44 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                                      ResetControlStyle

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(54, "Title", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 45 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                    ResetHRefTitle

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(55, "Enabled", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 45 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                                            Enabled

#line default
#line hidden
#nullable disable
            ));
            __builder.AddComponentReferenceCapture(56, (__value) => {
#nullable restore
#line 43 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
                                   UpResetControl = (BookRegistry.Client.Shared.AUpResetControl)__value;

#line default
#line hidden
#nullable disable
            }
            );
            __builder.CloseComponent();
#nullable restore
#line 46 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
            }

#line default
#line hidden
#nullable disable
            __builder.CloseElement();
            __builder.AddMarkupContent(57, "\r\n         <td></td>");
#nullable restore
#line 49 "D:\HANDICRAFT\BookRegistry\Client\Shared\ADropDownList.razor"
         }

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

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