#pragma checksum "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "149430c029fd1d974384d3b9a59f8eb0d1928497"
// <auto-generated/>
#pragma warning disable 1591
namespace NoTrackedObject_Test.Pages
{
    #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\an\Downloads\RichTextEditor_Test\_Imports.razor"
using System.Net.Http;

#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\an\Downloads\RichTextEditor_Test\_Imports.razor"
using Microsoft.AspNetCore.Authorization;

#line default
#line hidden
#nullable disable
#nullable restore
#line 3 "C:\Users\an\Downloads\RichTextEditor_Test\_Imports.razor"
using Microsoft.AspNetCore.Components.Authorization;

#line default
#line hidden
#nullable disable
#nullable restore
#line 4 "C:\Users\an\Downloads\RichTextEditor_Test\_Imports.razor"
using Microsoft.AspNetCore.Components.Forms;

#line default
#line hidden
#nullable disable
#nullable restore
#line 5 "C:\Users\an\Downloads\RichTextEditor_Test\_Imports.razor"
using Microsoft.AspNetCore.Components.Routing;

#line default
#line hidden
#nullable disable
#nullable restore
#line 6 "C:\Users\an\Downloads\RichTextEditor_Test\_Imports.razor"
using Microsoft.AspNetCore.Components.Web;

#line default
#line hidden
#nullable disable
#nullable restore
#line 7 "C:\Users\an\Downloads\RichTextEditor_Test\_Imports.razor"
using Microsoft.JSInterop;

#line default
#line hidden
#nullable disable
#nullable restore
#line 8 "C:\Users\an\Downloads\RichTextEditor_Test\_Imports.razor"
using NoTrackedObject_Test;

#line default
#line hidden
#nullable disable
#nullable restore
#line 9 "C:\Users\an\Downloads\RichTextEditor_Test\_Imports.razor"
using NoTrackedObject_Test.Shared;

#line default
#line hidden
#nullable disable
#nullable restore
#line 10 "C:\Users\an\Downloads\RichTextEditor_Test\_Imports.razor"
using Syncfusion.Blazor;

#line default
#line hidden
#nullable disable
#nullable restore
#line 3 "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor"
using Syncfusion.Blazor.Grids;

#line default
#line hidden
#nullable disable
#nullable restore
#line 4 "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor"
using Syncfusion.Blazor.Buttons;

#line default
#line hidden
#nullable disable
#nullable restore
#line 5 "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor"
using Syncfusion.Blazor.Navigations;

#line default
#line hidden
#nullable disable
#nullable restore
#line 7 "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor"
using NoTrackedObject_Test.Data;

#line default
#line hidden
#nullable disable
    [Microsoft.AspNetCore.Components.RouteAttribute("/counter")]
    public partial class Index : Microsoft.AspNetCore.Components.ComponentBase
    {
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __Blazor.NoTrackedObject_Test.Pages.Index.TypeInference.CreateSfGrid_0(__builder, 0, 1, 
#nullable restore
#line 9 "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor"
                     testObjects

#line default
#line hidden
#nullable disable
            , 2, (__builder2) => {
                __builder2.AddMarkupContent(3, "\r\n    ");
                __builder2.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(4);
                __builder2.AddAttribute(5, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
                    __builder3.AddMarkupContent(6, "\r\n        ");
                    __builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(7);
                    __builder3.AddAttribute(8, "HeaderText", "Severity");
                    __builder3.AddAttribute(9, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 11 "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor"
                                                  nameof(TestObject.Num)

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(10, "Width", "100px");
                    __builder3.AddAttribute(11, "Template", (Microsoft.AspNetCore.Components.RenderFragment<System.Object>)((context) => (__builder4) => {
                        __builder4.AddMarkupContent(12, "\r\n");
#nullable restore
#line 13 "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor"
                  
                    var report = (context as TestObject);


#line default
#line hidden
#nullable disable
                        __builder4.AddContent(13, "                    ");
                        __builder4.OpenElement(14, "img");
                        __builder4.AddAttribute(15, "alt", "test");
                        __builder4.AddAttribute(16, "src", 
#nullable restore
#line 16 "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor"
                                          report.ImgSrc

#line default
#line hidden
#nullable disable
                        );
                        __builder4.AddAttribute(17, "height", "50");
                        __builder4.CloseElement();
                        __builder4.AddMarkupContent(18, "\r\n");
                        __builder4.AddContent(19, "            ");
                    }
                    ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(20, "\r\n        ");
                    __builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(21);
                    __builder3.AddAttribute(22, "HeaderText", "Changes");
                    __builder3.AddAttribute(23, "Template", (Microsoft.AspNetCore.Components.RenderFragment<System.Object>)((context) => (__builder4) => {
                        __builder4.AddMarkupContent(24, "\r\n");
#nullable restore
#line 22 "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor"
                  
                    var report = (context as TestObject);


#line default
#line hidden
#nullable disable
                        __builder4.AddContent(25, "                    ");
                        __builder4.OpenComponent<Syncfusion.Blazor.Buttons.SfButton>(26);
                        __builder4.AddAttribute(27, "IsPrimary", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 25 "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor"
                                         true

#line default
#line hidden
#nullable disable
                        ));
                        __builder4.AddAttribute(28, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder5) => {
                            __builder5.AddContent(29, 
#nullable restore
#line 25 "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor"
                                                report.Num

#line default
#line hidden
#nullable disable
                            );
                        }
                        ));
                        __builder4.CloseComponent();
                        __builder4.AddMarkupContent(30, "\r\n");
                        __builder4.AddContent(31, "            ");
                    }
                    ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(32, "\r\n        ");
                    __builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(33);
                    __builder3.AddAttribute(34, "HeaderText", "Changes");
                    __builder3.AddAttribute(35, "Template", (Microsoft.AspNetCore.Components.RenderFragment<System.Object>)((context) => (__builder4) => {
                        __builder4.AddMarkupContent(36, "\r\n");
#nullable restore
#line 31 "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor"
                  
                    var report = (context as TestObject);


#line default
#line hidden
#nullable disable
                        __builder4.AddContent(37, "                    ");
                        __builder4.OpenComponent<NoTrackedObject_Test.Pages.DateFormatterComponent>(38);
                        __builder4.AddAttribute(39, "Date", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.DateTime?>(
#nullable restore
#line 34 "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor"
                                                   report.Date

#line default
#line hidden
#nullable disable
                        ));
                        __builder4.CloseComponent();
                        __builder4.AddMarkupContent(40, "\r\n");
                        __builder4.AddContent(41, "            ");
                    }
                    ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(42, "\r\n        ");
                    __builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(43);
                    __builder3.AddAttribute(44, "HeaderText", "");
                    __builder3.AddAttribute(45, "Template", (Microsoft.AspNetCore.Components.RenderFragment<System.Object>)((context) => (__builder4) => {
                        __builder4.AddMarkupContent(46, "\r\n");
#nullable restore
#line 40 "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor"
                  
                    var report = (context as TestObject);


#line default
#line hidden
#nullable disable
                        __builder4.AddContent(47, "                    ");
                        __builder4.OpenComponent<NoTrackedObject_Test.Pages.CustomSparkline>(48);
                        __builder4.CloseComponent();
                        __builder4.AddMarkupContent(49, "\r\n");
                        __builder4.AddContent(50, "            ");
                    }
                    ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(51, "\r\n        ");
                    __builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(52);
                    __builder3.AddAttribute(53, "HeaderText", "");
                    __builder3.AddAttribute(54, "Template", (Microsoft.AspNetCore.Components.RenderFragment<System.Object>)((context) => (__builder4) => {
                        __builder4.AddMarkupContent(55, "\r\n");
#nullable restore
#line 49 "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor"
                  
                    var report = (context as TestObject);


#line default
#line hidden
#nullable disable
                        __builder4.AddContent(56, "                    ");
                        __builder4.OpenComponent<NoTrackedObject_Test.Pages.ButtonContextMenu>(57);
                        __builder4.AddAttribute(58, "Items", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Collections.Generic.IEnumerable<NoTrackedObject_Test.Data.MenuItem>>(
#nullable restore
#line 52 "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor"
                                               menuItems

#line default
#line hidden
#nullable disable
                        ));
                        __builder4.CloseComponent();
                        __builder4.AddMarkupContent(59, "\r\n");
                        __builder4.AddContent(60, "            ");
                    }
                    ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(61, "\r\n    ");
                }
                ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(62, "\r\n");
            }
            , 63, (__value) => {
#nullable restore
#line 9 "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor"
                                        grid = __value;

#line default
#line hidden
#nullable disable
            }
            );
        }
        #pragma warning restore 1998
#nullable restore
#line 59 "C:\Users\an\Downloads\RichTextEditor_Test\Pages\Index.razor"
       
    [Inject]
    IJSRuntime JsRuntime { get; set; }

    public List<TestObject> testObjects;
    private int? totalItemsCount;
    SfGrid<TestObject> grid;

    public List<SalesInfo> Sales = new List<SalesInfo>
{
        new SalesInfo { Month = "Jan", SalesValue = 35 },
        new SalesInfo { Month = "Feb", SalesValue = 28 },
        new SalesInfo { Month = "Mar", SalesValue = 34 },
        new SalesInfo { Month = "Apr", SalesValue = 32 },
        new SalesInfo { Month = "May", SalesValue = 40 },
        new SalesInfo { Month = "Jun", SalesValue = 32 },
        new SalesInfo { Month = "Jul", SalesValue = 35 }
    };

    List<NoTrackedObject_Test.Data.MenuItem> menuItems = new List<NoTrackedObject_Test.Data.MenuItem>
{
        new NoTrackedObject_Test.Data.MenuItem()
        {
            Id = "item1",
            Text = "Test item 1",
        },
        new NoTrackedObject_Test.Data.MenuItem
        {
            Separator = true
        },
        new NoTrackedObject_Test.Data.MenuItem()
        {
            Id = "item2",
            Text = "Test item 2",
        },
    };

    protected override async Task OnParametersSetAsync()
    {
        await base.OnParametersSetAsync();

        var testObjects = new List<TestObject>();

        for (int i = 0; i < 30; i++)
        {
            testObjects.Add(new TestObject() { Num = i, ImgSrc = "test.jpg", Date = DateTime.UtcNow });
        }

        this.testObjects = testObjects;
    }

    public class TestObject
    {
        public int Num { get; set; }
        public string ImgSrc { get; set; }
        public DateTime? Date { get; set; }
    }

    public class SalesInfo
    {
        public string Month { get; set; }
        public double SalesValue { get; set; }
    }

#line default
#line hidden
#nullable disable
    }
}
namespace __Blazor.NoTrackedObject_Test.Pages.Index
{
    #line hidden
    internal static class TypeInference
    {
        public static void CreateSfGrid_0<TValue>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.Collections.Generic.IEnumerable<TValue> __arg0, int __seq1, global::Microsoft.AspNetCore.Components.RenderFragment __arg1, int __seq2, global::System.Action<global::Syncfusion.Blazor.Grids.SfGrid<TValue>> __arg2)
        {
        __builder.OpenComponent<global::Syncfusion.Blazor.Grids.SfGrid<TValue>>(seq);
        __builder.AddAttribute(__seq0, "DataSource", __arg0);
        __builder.AddAttribute(__seq1, "ChildContent", __arg1);
        __builder.AddComponentReferenceCapture(__seq2, (__value) => { __arg2((global::Syncfusion.Blazor.Grids.SfGrid<TValue>)__value); });
        __builder.CloseComponent();
        }
    }
}
#pragma warning restore 1591
