#pragma checksum "C:\Users\Johnny\source\repos\WindowTest\Windows\TestWindow.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8282803d5301d87c1fc93349bc67ebcdc4aef152"
// <auto-generated/>
#pragma warning disable 1591
namespace WindowTest.Windows
{
    #line hidden
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Threading.Tasks;
    using Microsoft.AspNetCore.Components;
#nullable restore
#line 1 "C:\Users\Johnny\source\repos\WindowTest\_Imports.razor"
using System.Net.Http;

#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\Johnny\source\repos\WindowTest\_Imports.razor"
using Microsoft.AspNetCore.Authorization;

#line default
#line hidden
#nullable disable
#nullable restore
#line 3 "C:\Users\Johnny\source\repos\WindowTest\_Imports.razor"
using Microsoft.AspNetCore.Components.Authorization;

#line default
#line hidden
#nullable disable
#nullable restore
#line 4 "C:\Users\Johnny\source\repos\WindowTest\_Imports.razor"
using Microsoft.AspNetCore.Components.Forms;

#line default
#line hidden
#nullable disable
#nullable restore
#line 5 "C:\Users\Johnny\source\repos\WindowTest\_Imports.razor"
using Microsoft.AspNetCore.Components.Routing;

#line default
#line hidden
#nullable disable
#nullable restore
#line 6 "C:\Users\Johnny\source\repos\WindowTest\_Imports.razor"
using Microsoft.AspNetCore.Components.Web;

#line default
#line hidden
#nullable disable
#nullable restore
#line 7 "C:\Users\Johnny\source\repos\WindowTest\_Imports.razor"
using Microsoft.JSInterop;

#line default
#line hidden
#nullable disable
#nullable restore
#line 8 "C:\Users\Johnny\source\repos\WindowTest\_Imports.razor"
using WindowTest;

#line default
#line hidden
#nullable disable
#nullable restore
#line 9 "C:\Users\Johnny\source\repos\WindowTest\_Imports.razor"
using WindowTest.Shared;

#line default
#line hidden
#nullable disable
#nullable restore
#line 1 "C:\Users\Johnny\source\repos\WindowTest\Windows\TestWindow.razor"
using Syncfusion.Blazor.Popups;

#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\Johnny\source\repos\WindowTest\Windows\TestWindow.razor"
using Syncfusion.Blazor.RichTextEditor;

#line default
#line hidden
#nullable disable
    public partial class TestWindow : Microsoft.AspNetCore.Components.ComponentBase
    {
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent<Syncfusion.Blazor.Popups.SfDialog>(0);
            __builder.AddAttribute(1, "IsModal", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 4 "C:\Users\Johnny\source\repos\WindowTest\Windows\TestWindow.razor"
                   true

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(2, "Width", "90%");
            __builder.AddAttribute(3, "Height", "800px");
            __builder.AddAttribute(4, "ShowCloseIcon", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 4 "C:\Users\Johnny\source\repos\WindowTest\Windows\TestWindow.razor"
                                                                                                 true

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(5, "Header", "Test Editor");
            __builder.AddAttribute(6, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 4 "C:\Users\Johnny\source\repos\WindowTest\Windows\TestWindow.razor"
                                         IsWindowOpen

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(7, "VisibleChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Boolean>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Boolean>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => IsWindowOpen = __value, IsWindowOpen))));
            __builder.AddAttribute(8, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(9, "\r\n    ");
                __builder2.OpenComponent<Syncfusion.Blazor.Popups.DialogTemplates>(10);
                __builder2.AddAttribute(11, "Content", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
                    __builder3.AddMarkupContent(12, "\r\n            ");
                    __builder3.OpenComponent<Syncfusion.Blazor.RichTextEditor.SfRichTextEditor>(13);
                    __builder3.AddAttribute(14, "Height", "100%");
                    __builder3.AddAttribute(15, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
                        __builder4.AddMarkupContent(16, "\r\n                    ");
                        __builder4.OpenComponent<Syncfusion.Blazor.RichTextEditor.RichTextEditorToolbarSettings>(17);
                        __builder4.AddAttribute(18, "Items", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Collections.Generic.List<Syncfusion.Blazor.RichTextEditor.ToolbarItemModel>>(
#nullable restore
#line 9 "C:\Users\Johnny\source\repos\WindowTest\Windows\TestWindow.razor"
                                                           Tools

#line default
#line hidden
#nullable disable
                        ));
                        __builder4.CloseComponent();
                        __builder4.AddMarkupContent(19, "\r\n                ");
                    }
                    ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(20, "\r\n        ");
                }
                ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(21, "\r\n    ");
                __builder2.OpenComponent<Syncfusion.Blazor.Popups.DialogPositionData>(22);
                __builder2.AddAttribute(23, "X", "center");
                __builder2.AddAttribute(24, "Y", "center");
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(25, "\r\n");
            }
            ));
            __builder.CloseComponent();
        }
        #pragma warning restore 1998
#nullable restore
#line 17 "C:\Users\Johnny\source\repos\WindowTest\Windows\TestWindow.razor"
       
    private bool IsWindowOpen { get; set; } = false;

    public void Open()
    {
        IsWindowOpen = true;
        StateHasChanged();
    }

    private List<ToolbarItemModel> Tools = new List<ToolbarItemModel>()
{
        new ToolbarItemModel() { Command = ToolbarCommand.Bold },
        new ToolbarItemModel() { Command = ToolbarCommand.Italic },
        new ToolbarItemModel() { Command = ToolbarCommand.FontSize },
        new ToolbarItemModel() { Command = ToolbarCommand.FontColor },
        new ToolbarItemModel() { Command = ToolbarCommand.Separator },
        new ToolbarItemModel() { Command = ToolbarCommand.Formats },
        new ToolbarItemModel() { Command = ToolbarCommand.Alignments },
        new ToolbarItemModel() { Command = ToolbarCommand.OrderedList },
        new ToolbarItemModel() { Command = ToolbarCommand.Separator },
        new ToolbarItemModel() { Command = ToolbarCommand.CreateLink },
        new ToolbarItemModel() { Command = ToolbarCommand.Image },
        new ToolbarItemModel() { Command = ToolbarCommand.CreateTable },
        new ToolbarItemModel() { Command = ToolbarCommand.Separator },
        new ToolbarItemModel() { Command = ToolbarCommand.SourceCode }

    };

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