using System;
using FastReport.Export;
using FastReport.Web.Blazor.Components;
using FastReport.Web.Blazor.Components.Internal;
using FastReport.Web.Blazor.Components.Internal.ExportSettings;

namespace FastReport.Web
{
    
    public partial class WebReport
    {

        internal bool EnableModalDialog { get; set; }

        internal Exports ExportType { get; set; }


        public ReportContainer Container { get; internal set; }

        internal void OnUpdate(bool needPrepare = false)
        {
            Container?.OnUpdate(needPrepare);
        }

        internal void SetModalDialog<T>(ExportSettingsBase exportSettings)
            //where T : Export.ExportBase, new()
        {

        }
    }
}
