Update vor Clone
This commit is contained in:
@@ -0,0 +1,689 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3538d209e87f423f5f09fe8b374bb5e5d4896537"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.Anrede
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/Anrede/AnredeList")]
|
||||
public partial class Anrede : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<h1>Anrede</h1>\r\n\r\n");
|
||||
__builder.OpenElement(1, "div");
|
||||
__builder.AddAttribute(2, "class", "col-lg-12 control-section");
|
||||
__builder.OpenElement(3, "div");
|
||||
__builder.AddAttribute(4, "class", "content-wrapper");
|
||||
__builder.OpenElement(5, "div");
|
||||
__builder.AddAttribute(6, "class", "row");
|
||||
__Blazor.BlazorApp.Pages.Admin.Anrede.Anrede.TypeInference.CreateSfGrid_0(__builder, 7, 8,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
GridData
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 9,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 10,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 11,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
new List<string>() { "Add", "Edit", "Update", "Cancel" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 12, (__builder2) => {
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridPageSettings>(13);
|
||||
__builder2.AddAttribute(14, "PageCount", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
5
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(15, "PageSizes", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(16, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEditSettings>(17);
|
||||
__builder2.AddAttribute(18, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(19, "AllowDeleting", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(20, "AllowEditing", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(21, "Mode", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.EditMode>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
EditMode.Dialog
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(22, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEvents<BWPMModels.Anrede>>(23);
|
||||
__builder2.AddAttribute(24, "OnActionBegin", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<BWPMModels.Anrede>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<BWPMModels.Anrede>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
OnBeginHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(25, "OnActionComplete", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<BWPMModels.Anrede>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<BWPMModels.Anrede>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
OnCompletedHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(26, "OnDataBound", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<BWPMModels.Anrede>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<BWPMModels.Anrede>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
RowDataBoundHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(27, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(28);
|
||||
__builder2.AddAttribute(29, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(30);
|
||||
__builder3.AddAttribute(31, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
ColumnType.CheckBox
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(32, "AllowFiltering", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(33, "AllowSorting", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(34, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(35, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(36);
|
||||
__builder3.AddAttribute(37, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
nameof(BWPMModels.Anrede.ID)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(38, "HeaderText", "Id");
|
||||
__builder3.AddAttribute(39, "IsPrimaryKey", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(40, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(41, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(42, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(43);
|
||||
__builder3.AddAttribute(44, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
nameof(BWPMModels.Anrede.bezeichnung)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(45, "HeaderText", "Bezeichnung");
|
||||
__builder3.AddAttribute(46, "Width", "100");
|
||||
__builder3.AddAttribute(47, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(48, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(49);
|
||||
__builder3.AddAttribute(50, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
nameof(BWPMModels.Anrede.erstellt_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(51, "HeaderText", "Erstellt_am");
|
||||
__builder3.AddAttribute(52, "Width", "100");
|
||||
__builder3.AddAttribute(53, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(54, "Format", "d");
|
||||
__builder3.AddAttribute(55, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(56, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(57);
|
||||
__builder3.AddAttribute(58, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
nameof(BWPMModels.Anrede.mutiert_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(59, "HeaderText", "Mutiert_am");
|
||||
__builder3.AddAttribute(60, "Width", "100");
|
||||
__builder3.AddAttribute(61, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(62, "Format", "d");
|
||||
__builder3.AddAttribute(63, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(64, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(65);
|
||||
__builder3.AddAttribute(66, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
nameof(BWPMModels.Anrede.mutierer)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(67, "HeaderText", "Mutierer");
|
||||
__builder3.AddAttribute(68, "Width", "100");
|
||||
__builder3.AddAttribute(69, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(70, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(71);
|
||||
__builder3.AddAttribute(72, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
nameof(BWPMModels.Anrede.aktiv)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(73, "HeaderText", "Aktiv");
|
||||
__builder3.AddAttribute(74, "Width", "100");
|
||||
__builder3.AddAttribute(75, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(76, "DisplayAsCheckBox", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
}
|
||||
, 77, (__value) => {
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
Grid = __value;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
);
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Anrede\Anrede.razor"
|
||||
SfGrid<BWPMModels.Anrede> Grid { get; set; }
|
||||
public List<BWPMModels.Anrede> GridData { get; set; }
|
||||
public List<BWPMModels.Anrede> Anredes { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
/// GridData = OrdersDetails.GetAllRecords();
|
||||
GridData = BlazorApp.Controller.AnredeController.GetAllData();
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
|
||||
userid = await sessionStorage.GetItemAsync<string>("UserID");
|
||||
|
||||
if (userid == null)
|
||||
{
|
||||
var authState = await authenticationStateTask;
|
||||
var userId = authState.User.Claims.FirstOrDefault().Value;
|
||||
var user = authState.User;
|
||||
|
||||
if (user.Identity.IsAuthenticated)
|
||||
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
}
|
||||
}
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.Anrede> Args)
|
||||
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
if (Args.Action == "Add")
|
||||
{
|
||||
|
||||
Args.Data.erstellt_am = DateTime.Now;
|
||||
Args.Data.mutierer = userid;
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = true;
|
||||
Args.Data.ID = BlazorApp.Controller.AnredeController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.AnredeController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.Anrede> Args)
|
||||
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
await Grid.SetRowData(Args.Data.ID, Args.Data);
|
||||
double xx = 0;
|
||||
Value = Args.Data.ID;
|
||||
xx = await DataHandler();
|
||||
await Grid.SelectRow(xx);
|
||||
|
||||
}
|
||||
}
|
||||
public async void RowDataBoundHandler(BeforeDataBoundArgs<BWPMModels.Anrede> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
//await Task.Delay(100);
|
||||
//var Idx = await this.Grid.GetRowIndexByPrimaryKey(Convert.ToDouble(Value)); //get index value
|
||||
//this.Grid.SelectRow(Convert.ToDouble(Idx));
|
||||
}
|
||||
Initial = false;
|
||||
}
|
||||
|
||||
public async Task<double> DataHandler()
|
||||
{
|
||||
var PageCount = (GridData.Count / Grid.PageSettings.PageSize) + 1;
|
||||
ContinuePaging = true;
|
||||
var CurrentPage = 1;
|
||||
Grid.Refresh();
|
||||
await Grid.GoToPage(1);
|
||||
|
||||
for (int i = 1; i <= PageCount; i++)
|
||||
|
||||
{
|
||||
List < BWPMModels.Anrede> Rows = await Grid.GetCurrentViewRecords(); // returns the current view data
|
||||
for (int j = 0; j < Grid.PageSettings.PageSize; j++)
|
||||
{
|
||||
if (j < Rows.Count && Rows[j].ID == Value)
|
||||
{
|
||||
foundrow = j;
|
||||
|
||||
ContinuePaging = false; // prevent the default navigation
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
namespace __Blazor.BlazorApp.Pages.Admin.Anrede.Anrede
|
||||
{
|
||||
#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::System.Boolean __arg1, int __seq2, global::System.Boolean __arg2, int __seq3, global::System.Object __arg3, int __seq4, global::Microsoft.AspNetCore.Components.RenderFragment __arg4, int __seq5, global::System.Action<global::Syncfusion.Blazor.Grids.SfGrid<TValue>> __arg5)
|
||||
{
|
||||
__builder.OpenComponent<global::Syncfusion.Blazor.Grids.SfGrid<TValue>>(seq);
|
||||
__builder.AddAttribute(__seq0, "DataSource", __arg0);
|
||||
__builder.AddAttribute(__seq1, "AllowPaging", __arg1);
|
||||
__builder.AddAttribute(__seq2, "AllowSorting", __arg2);
|
||||
__builder.AddAttribute(__seq3, "Toolbar", __arg3);
|
||||
__builder.AddAttribute(__seq4, "ChildContent", __arg4);
|
||||
__builder.AddComponentReferenceCapture(__seq5, (__value) => { __arg5((global::Syncfusion.Blazor.Grids.SfGrid<TValue>)__value); });
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,835 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "970cd03a38281449cef761d0506c089cb380cd37"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.AspNetUsers
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/AspNetUsers/AspNetUsersList")]
|
||||
public partial class AspNetUsers : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<h1>AspNetUsers</h1>\r\n\r\n");
|
||||
__builder.OpenElement(1, "div");
|
||||
__builder.AddAttribute(2, "class", "col-lg-12 control-section");
|
||||
__builder.OpenElement(3, "div");
|
||||
__builder.AddAttribute(4, "class", "content-wrapper");
|
||||
__builder.OpenElement(5, "div");
|
||||
__builder.AddAttribute(6, "class", "row");
|
||||
__Blazor.BlazorApp.Pages.Admin.AspNetUsers.AspNetUsers.TypeInference.CreateSfGrid_0(__builder, 7, 8,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
GridData
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 9,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 10,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 11,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
new List<string>() { "Add", "Edit", "Update", "Cancel" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 12, (__builder2) => {
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridPageSettings>(13);
|
||||
__builder2.AddAttribute(14, "PageCount", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
5
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(15, "PageSizes", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(16, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEditSettings>(17);
|
||||
__builder2.AddAttribute(18, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(19, "AllowDeleting", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(20, "AllowEditing", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(21, "Mode", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.EditMode>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
EditMode.Dialog
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(22, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(23);
|
||||
__builder2.AddAttribute(24, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(25);
|
||||
__builder3.AddAttribute(26, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
nameof(BWPMModels.AspNetUsers.Id)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(27, "HeaderText", "Id");
|
||||
__builder3.AddAttribute(28, "IsPrimaryKey", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(29, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(30, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(31);
|
||||
__builder3.AddAttribute(32, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
nameof(BWPMModels.AspNetUsers.Id)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(33, "HeaderText", "Id");
|
||||
__builder3.AddAttribute(34, "Width", "100");
|
||||
__builder3.AddAttribute(35, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(36, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(37);
|
||||
__builder3.AddAttribute(38, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
nameof(BWPMModels.AspNetUsers.UserName)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(39, "HeaderText", "Username");
|
||||
__builder3.AddAttribute(40, "Width", "100");
|
||||
__builder3.AddAttribute(41, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(42, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(43);
|
||||
__builder3.AddAttribute(44, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
nameof(BWPMModels.AspNetUsers.NormalizedUserName)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(45, "HeaderText", "Normalizedusername");
|
||||
__builder3.AddAttribute(46, "Width", "100");
|
||||
__builder3.AddAttribute(47, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(48, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(49);
|
||||
__builder3.AddAttribute(50, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
nameof(BWPMModels.AspNetUsers.Email)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(51, "HeaderText", "Email");
|
||||
__builder3.AddAttribute(52, "Width", "100");
|
||||
__builder3.AddAttribute(53, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(54, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(55);
|
||||
__builder3.AddAttribute(56, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
nameof(BWPMModels.AspNetUsers.NormalizedEmail)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(57, "HeaderText", "Normalizedemail");
|
||||
__builder3.AddAttribute(58, "Width", "100");
|
||||
__builder3.AddAttribute(59, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(60, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(61);
|
||||
__builder3.AddAttribute(62, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
nameof(BWPMModels.AspNetUsers.EmailConfirmed)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(63, "HeaderText", "Emailconfirmed");
|
||||
__builder3.AddAttribute(64, "Width", "100");
|
||||
__builder3.AddAttribute(65, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(66, "DisplayAsCheckBox", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(67, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(68);
|
||||
__builder3.AddAttribute(69, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
nameof(BWPMModels.AspNetUsers.PasswordHash)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(70, "HeaderText", "Passwordhash");
|
||||
__builder3.AddAttribute(71, "Width", "100");
|
||||
__builder3.AddAttribute(72, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(73, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(74);
|
||||
__builder3.AddAttribute(75, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
nameof(BWPMModels.AspNetUsers.SecurityStamp)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(76, "HeaderText", "Securitystamp");
|
||||
__builder3.AddAttribute(77, "Width", "100");
|
||||
__builder3.AddAttribute(78, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(79, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(80);
|
||||
__builder3.AddAttribute(81, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
nameof(BWPMModels.AspNetUsers.ConcurrencyStamp)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(82, "HeaderText", "Concurrencystamp");
|
||||
__builder3.AddAttribute(83, "Width", "100");
|
||||
__builder3.AddAttribute(84, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(85, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(86);
|
||||
__builder3.AddAttribute(87, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
nameof(BWPMModels.AspNetUsers.PhoneNumber)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(88, "HeaderText", "Phonenumber");
|
||||
__builder3.AddAttribute(89, "Width", "100");
|
||||
__builder3.AddAttribute(90, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(91, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(92);
|
||||
__builder3.AddAttribute(93, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
nameof(BWPMModels.AspNetUsers.PhoneNumberConfirmed)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(94, "HeaderText", "Phonenumberconfirmed");
|
||||
__builder3.AddAttribute(95, "Width", "100");
|
||||
__builder3.AddAttribute(96, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(97, "DisplayAsCheckBox", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(98, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(99);
|
||||
__builder3.AddAttribute(100, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
nameof(BWPMModels.AspNetUsers.TwoFactorEnabled)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(101, "HeaderText", "Twofactorenabled");
|
||||
__builder3.AddAttribute(102, "Width", "100");
|
||||
__builder3.AddAttribute(103, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(104, "DisplayAsCheckBox", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(105, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(106);
|
||||
__builder3.AddAttribute(107, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
nameof(BWPMModels.AspNetUsers.LockoutEnabled)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(108, "HeaderText", "Lockoutenabled");
|
||||
__builder3.AddAttribute(109, "Width", "100");
|
||||
__builder3.AddAttribute(110, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(111, "DisplayAsCheckBox", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(112, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(113);
|
||||
__builder3.AddAttribute(114, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 49 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
nameof(BWPMModels.AspNetUsers.AccessFailedCount)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(115, "HeaderText", "Accessfailedcount");
|
||||
__builder3.AddAttribute(116, "Width", "100");
|
||||
__builder3.AddAttribute(117, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 49 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
}
|
||||
, 118, (__value) => {
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
Grid = __value;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
);
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 56 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\AspNetUsers.razor"
|
||||
SfGrid<BWPMModels.AspNetUsers> Grid { get; set; }
|
||||
public List<BWPMModels.AspNetUsers> GridData { get; set; }
|
||||
public List<BWPMModels.AspNetUsers> AspNetUserss { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public string Value = ""; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
/// GridData = OrdersDetails.GetAllRecords();
|
||||
GridData = BlazorApp.Controller.AspNetUsersController.GetAllData();
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
|
||||
userid = await sessionStorage.GetItemAsync<string>("UserID");
|
||||
|
||||
if (userid == null)
|
||||
{
|
||||
var authState = await authenticationStateTask;
|
||||
var userId = authState.User.Claims.FirstOrDefault().Value;
|
||||
var user = authState.User;
|
||||
|
||||
if (user.Identity.IsAuthenticated)
|
||||
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
}
|
||||
}
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.AspNetUsers> Args)
|
||||
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
if (Args.Action == "Add")
|
||||
{
|
||||
|
||||
//Args.Data.Id = BlazorApp.Controller.AspNetUsersController.InsertData(Args.Data);
|
||||
//Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
BlazorApp.Controller.AspNetUsersController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.AspNetUsers> Args)
|
||||
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
await Grid.SetRowData(Args.Data.Id, Args.Data);
|
||||
double xx = 0;
|
||||
Value = Args.Data.Id;
|
||||
xx = await DataHandler();
|
||||
await Grid.SelectRow(xx);
|
||||
|
||||
}
|
||||
}
|
||||
public async void RowDataBoundHandler(BeforeDataBoundArgs<BWPMModels.AspNetUsers> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
//await Task.Delay(100);
|
||||
//var Idx = await this.Grid.GetRowIndexByPrimaryKey(Convert.ToDouble(Value)); //get index value
|
||||
//this.Grid.SelectRow(Convert.ToDouble(Idx));
|
||||
}
|
||||
Initial = false;
|
||||
}
|
||||
|
||||
public async Task<double> DataHandler()
|
||||
{
|
||||
var PageCount = (GridData.Count / Grid.PageSettings.PageSize) + 1;
|
||||
ContinuePaging = true;
|
||||
var CurrentPage = 1;
|
||||
Grid.Refresh();
|
||||
await Grid.GoToPage(1);
|
||||
|
||||
for (int i = 1; i <= PageCount; i++)
|
||||
|
||||
{
|
||||
List<BWPMModels.AspNetUsers> Rows = await Grid.GetCurrentViewRecords(); // returns the current view data
|
||||
for (int j = 0; j < Grid.PageSettings.PageSize; j++)
|
||||
{
|
||||
if (j < Rows.Count && Rows[j].Id == Value)
|
||||
{
|
||||
foundrow = j;
|
||||
|
||||
ContinuePaging = false; // prevent the default navigation
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
namespace __Blazor.BlazorApp.Pages.Admin.AspNetUsers.AspNetUsers
|
||||
{
|
||||
#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::System.Boolean __arg1, int __seq2, global::System.Boolean __arg2, int __seq3, global::System.Object __arg3, int __seq4, global::Microsoft.AspNetCore.Components.RenderFragment __arg4, int __seq5, global::System.Action<global::Syncfusion.Blazor.Grids.SfGrid<TValue>> __arg5)
|
||||
{
|
||||
__builder.OpenComponent<global::Syncfusion.Blazor.Grids.SfGrid<TValue>>(seq);
|
||||
__builder.AddAttribute(__seq0, "DataSource", __arg0);
|
||||
__builder.AddAttribute(__seq1, "AllowPaging", __arg1);
|
||||
__builder.AddAttribute(__seq2, "AllowSorting", __arg2);
|
||||
__builder.AddAttribute(__seq3, "Toolbar", __arg3);
|
||||
__builder.AddAttribute(__seq4, "ChildContent", __arg4);
|
||||
__builder.AddComponentReferenceCapture(__seq5, (__value) => { __arg5((global::Syncfusion.Blazor.Grids.SfGrid<TValue>)__value); });
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,682 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "993489f02727a6f474529b0b8501bf190fb1e840"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.AspNetUsers
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/AspNetUsers/UserRollen")]
|
||||
public partial class UserRollen : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<h1>AspNetRoles</h1>\r\n\r\n");
|
||||
__builder.OpenElement(1, "div");
|
||||
__builder.AddAttribute(2, "class", "col-lg-12 control-section");
|
||||
__builder.OpenElement(3, "div");
|
||||
__builder.AddAttribute(4, "class", "content-wrapper");
|
||||
__builder.OpenElement(5, "div");
|
||||
__builder.AddAttribute(6, "class", "row");
|
||||
__builder.OpenElement(7, "div");
|
||||
__builder.AddAttribute(8, "class", "col-6");
|
||||
__Blazor.BlazorApp.Pages.Admin.AspNetUsers.UserRollen.TypeInference.CreateSfGrid_0(__builder, 9, 10, "GridUser", 11,
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
GridDataUser
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 12,
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 13,
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 14,
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 15, (__builder2) => {
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridPageSettings>(16);
|
||||
__builder2.AddAttribute(17, "PageCount", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
5
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(18, "PageSizes", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(19, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridRowDropSettings>(20);
|
||||
__builder2.AddAttribute(21, "TargetID", "GridRolle");
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(22, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(23);
|
||||
__builder2.AddAttribute(24, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(25);
|
||||
__builder3.AddAttribute(26, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
nameof(BWPMModels.AspNetUsers.Id)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(27, "HeaderText", "Id");
|
||||
__builder3.AddAttribute(28, "IsPrimaryKey", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(29, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(30, "Width", "60");
|
||||
__builder3.AddAttribute(31, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(32, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(33);
|
||||
__builder3.AddAttribute(34, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
nameof(BWPMModels.AspNetUsers.UserName)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(35, "HeaderText", "Name");
|
||||
__builder3.AddAttribute(36, "Width", "100");
|
||||
__builder3.AddAttribute(37, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(38, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(39);
|
||||
__builder3.AddAttribute(40, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
nameof(BWPMModels.AspNetUsers.Email)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(41, "HeaderText", "Name");
|
||||
__builder3.AddAttribute(42, "Width", "100");
|
||||
__builder3.AddAttribute(43, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
}
|
||||
);
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(44, "\r\n\r\n ");
|
||||
__builder.OpenElement(45, "div");
|
||||
__builder.AddAttribute(46, "class", "col-6");
|
||||
__Blazor.BlazorApp.Pages.Admin.AspNetUsers.UserRollen.TypeInference.CreateSfGrid_1(__builder, 47, 48, "GridRolle", 49,
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
GridData
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 50,
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 51,
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 52,
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 53, (__builder2) => {
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridPageSettings>(54);
|
||||
__builder2.AddAttribute(55, "PageCount", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
|
||||
#nullable restore
|
||||
#line 38 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
5
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(56, "PageSizes", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
|
||||
#nullable restore
|
||||
#line 38 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(57, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEvents<AspNetRoles>>(58);
|
||||
__builder2.AddAttribute(59, "OnActionBegin", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<AspNetRoles>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<AspNetRoles>>(this,
|
||||
#nullable restore
|
||||
#line 40 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
OnBeginHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(60, "OnActionComplete", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<AspNetRoles>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<AspNetRoles>>(this,
|
||||
#nullable restore
|
||||
#line 40 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
OnCompletedHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(61, "OnDataBound", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<AspNetRoles>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<AspNetRoles>>(this,
|
||||
#nullable restore
|
||||
#line 40 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
RowDataBoundHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(62, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(63);
|
||||
__builder2.AddAttribute(64, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(65);
|
||||
__builder3.AddAttribute(66, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
nameof(AspNetRoles.Id)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(67, "HeaderText", "Id");
|
||||
__builder3.AddAttribute(68, "IsPrimaryKey", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(69, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(70, "Width", "60");
|
||||
__builder3.AddAttribute(71, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(72, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(73);
|
||||
__builder3.AddAttribute(74, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
nameof(AspNetRoles.Name)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(75, "HeaderText", "Name");
|
||||
__builder3.AddAttribute(76, "Width", "100");
|
||||
__builder3.AddAttribute(77, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(78, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(79);
|
||||
__builder3.AddAttribute(80, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
nameof(AspNetRoles.NormalizedName)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(81, "HeaderText", "Normalizedname");
|
||||
__builder3.AddAttribute(82, "Width", "100");
|
||||
__builder3.AddAttribute(83, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(84, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(85);
|
||||
__builder3.AddAttribute(86, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 49 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
nameof(AspNetRoles.ConcurrencyStamp)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(87, "HeaderText", "Concurrencystamp");
|
||||
__builder3.AddAttribute(88, "Width", "100");
|
||||
__builder3.AddAttribute(89, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 49 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
}
|
||||
, 90, (__value) => {
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
Grid = __value;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
);
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 56 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\AspNetUsers\UserRollen.razor"
|
||||
|
||||
SfGrid<AspNetRoles> Grid { get; set; }
|
||||
|
||||
public List<BWPMModels.AspNetRoles> GridData { get; set; }
|
||||
public List<BWPMModels.AspNetRoles> AspNetRoless { get; set; }
|
||||
|
||||
public List<BWPMModels.AspNetUsers> GridDataUser { get; set; }
|
||||
public List<BWPMModels.AspNetUsers> AspNetUsers { get; set; }
|
||||
|
||||
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
/// GridData = OrdersDetails.GetAllRecords();
|
||||
GridData = BlazorApp.Controller.AspNetRolesController.GetAllData();
|
||||
GridDataUser = BlazorApp.Controller.AspNetUsersController.GetAllData();
|
||||
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
|
||||
userid = await sessionStorage.GetItemAsync<string>("UserID");
|
||||
|
||||
if (userid == null)
|
||||
{
|
||||
var authState = await authenticationStateTask;
|
||||
var userId = authState.User.Claims.FirstOrDefault().Value;
|
||||
var user = authState.User;
|
||||
|
||||
if (user.Identity.IsAuthenticated)
|
||||
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
}
|
||||
}
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.AspNetRoles> Args)
|
||||
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
if (Args.Action == "Add")
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
BlazorApp.Controller.AspNetRolesController.POST(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.AspNetRoles> Args)
|
||||
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
public async void RowDataBoundHandler(BeforeDataBoundArgs<BWPMModels.AspNetRoles> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
//await Task.Delay(100);
|
||||
//var Idx = await this.Grid.GetRowIndexByPrimaryKey(Convert.ToDouble(Value)); //get index value
|
||||
//this.Grid.SelectRow(Convert.ToDouble(Idx));
|
||||
}
|
||||
Initial = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
namespace __Blazor.BlazorApp.Pages.Admin.AspNetUsers.UserRollen
|
||||
{
|
||||
#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.String __arg0, int __seq1, global::System.Collections.Generic.IEnumerable<TValue> __arg1, int __seq2, global::System.Boolean __arg2, int __seq3, global::System.Boolean __arg3, int __seq4, global::System.Boolean __arg4, int __seq5, global::Microsoft.AspNetCore.Components.RenderFragment __arg5)
|
||||
{
|
||||
__builder.OpenComponent<global::Syncfusion.Blazor.Grids.SfGrid<TValue>>(seq);
|
||||
__builder.AddAttribute(__seq0, "ID", __arg0);
|
||||
__builder.AddAttribute(__seq1, "DataSource", __arg1);
|
||||
__builder.AddAttribute(__seq2, "AllowPaging", __arg2);
|
||||
__builder.AddAttribute(__seq3, "AllowSorting", __arg3);
|
||||
__builder.AddAttribute(__seq4, "AllowRowDragAndDrop", __arg4);
|
||||
__builder.AddAttribute(__seq5, "ChildContent", __arg5);
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
public static void CreateSfGrid_1<TValue>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.String __arg0, int __seq1, global::System.Collections.Generic.IEnumerable<TValue> __arg1, int __seq2, global::System.Boolean __arg2, int __seq3, global::System.Boolean __arg3, int __seq4, global::System.Boolean __arg4, int __seq5, global::Microsoft.AspNetCore.Components.RenderFragment __arg5, int __seq6, global::System.Action<global::Syncfusion.Blazor.Grids.SfGrid<TValue>> __arg6)
|
||||
{
|
||||
__builder.OpenComponent<global::Syncfusion.Blazor.Grids.SfGrid<TValue>>(seq);
|
||||
__builder.AddAttribute(__seq0, "ID", __arg0);
|
||||
__builder.AddAttribute(__seq1, "DataSource", __arg1);
|
||||
__builder.AddAttribute(__seq2, "AllowPaging", __arg2);
|
||||
__builder.AddAttribute(__seq3, "AllowSorting", __arg3);
|
||||
__builder.AddAttribute(__seq4, "AllowRowDragAndDrop", __arg4);
|
||||
__builder.AddAttribute(__seq5, "ChildContent", __arg5);
|
||||
__builder.AddComponentReferenceCapture(__seq6, (__value) => { __arg6((global::Syncfusion.Blazor.Grids.SfGrid<TValue>)__value); });
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,776 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f92d8b3d51840714dbd281384c3889e6eb72e437"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.Beruf
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/Beruf/BerufList")]
|
||||
public partial class BerufListe : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<h1>Beruf</h1>\r\n\r\n");
|
||||
__builder.OpenElement(1, "div");
|
||||
__builder.AddAttribute(2, "class", "col-lg-12 control-section");
|
||||
__builder.OpenElement(3, "div");
|
||||
__builder.AddAttribute(4, "class", "content-wrapper");
|
||||
__builder.OpenElement(5, "div");
|
||||
__builder.AddAttribute(6, "class", "row");
|
||||
__Blazor.BlazorApp.Pages.Admin.Beruf.BerufListe.TypeInference.CreateSfGrid_0(__builder, 7, 8,
|
||||
#nullable restore
|
||||
#line 26 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
GridData
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 9,
|
||||
#nullable restore
|
||||
#line 26 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 10,
|
||||
#nullable restore
|
||||
#line 26 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 11,
|
||||
#nullable restore
|
||||
#line 26 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
new List<string>() { "Add", "Edit", "Update", "Cancel" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 12, (__builder2) => {
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridPageSettings>(13);
|
||||
__builder2.AddAttribute(14, "PageCount", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
5
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(15, "PageSizes", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(16, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEditSettings>(17);
|
||||
__builder2.AddAttribute(18, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 28 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(19, "AllowDeleting", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 28 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(20, "AllowEditing", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 28 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(21, "Mode", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.EditMode>(
|
||||
#nullable restore
|
||||
#line 28 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
EditMode.Dialog
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(22, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEvents<Beruf>>(23);
|
||||
__builder2.AddAttribute(24, "OnActionBegin", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<Beruf>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<Beruf>>(this,
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
OnBeginHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(25, "OnActionComplete", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<Beruf>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<Beruf>>(this,
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
OnCompletedHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(26, "OnDataBound", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<Beruf>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<Beruf>>(this,
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
RowDataBoundHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(27, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(28);
|
||||
__builder2.AddAttribute(29, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(30);
|
||||
__builder3.AddAttribute(31, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 32 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.ID)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(32, "HeaderText", "Id");
|
||||
__builder3.AddAttribute(33, "IsPrimaryKey", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 32 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(34, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 32 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(35, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(36, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(37);
|
||||
__builder3.AddAttribute(38, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 34 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.bezeichnung)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(39, "HeaderText", "Bezeichnung");
|
||||
__builder3.AddAttribute(40, "Width", "100");
|
||||
__builder3.AddAttribute(41, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 34 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(42, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(43);
|
||||
__builder3.AddAttribute(44, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 36 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.lehrjahre)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(45, "HeaderText", "Lehrjahre");
|
||||
__builder3.AddAttribute(46, "Width", "100");
|
||||
__builder3.AddAttribute(47, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 36 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(48, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(49);
|
||||
__builder3.AddAttribute(50, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 38 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.anmerkung)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(51, "HeaderText", "Anmerkung");
|
||||
__builder3.AddAttribute(52, "Width", "100");
|
||||
__builder3.AddAttribute(53, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 38 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(54, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(55);
|
||||
__builder3.AddAttribute(56, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 40 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.beschreibung)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(57, "HeaderText", "Beschreibung");
|
||||
__builder3.AddAttribute(58, "Width", "100");
|
||||
__builder3.AddAttribute(59, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 40 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(60, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(61);
|
||||
__builder3.AddAttribute(62, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 42 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.klasseNr)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(63, "HeaderText", "Klassenr");
|
||||
__builder3.AddAttribute(64, "Width", "100");
|
||||
__builder3.AddAttribute(65, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 42 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(66, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(67);
|
||||
__builder3.AddAttribute(68, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 44 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.aktiv)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(69, "HeaderText", "Aktiv");
|
||||
__builder3.AddAttribute(70, "Width", "100");
|
||||
__builder3.AddAttribute(71, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 44 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(72, "DisplayAsCheckBox", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 44 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(73, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(74);
|
||||
__builder3.AddAttribute(75, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 46 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.erstellt_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(76, "HeaderText", "Erstellt_am");
|
||||
__builder3.AddAttribute(77, "Width", "100");
|
||||
__builder3.AddAttribute(78, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 46 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(79, "Format", "d");
|
||||
__builder3.AddAttribute(80, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 46 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(81, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(82);
|
||||
__builder3.AddAttribute(83, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 48 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.mutiert_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(84, "HeaderText", "Mutiert_am");
|
||||
__builder3.AddAttribute(85, "Width", "100");
|
||||
__builder3.AddAttribute(86, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 48 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(87, "Format", "d");
|
||||
__builder3.AddAttribute(88, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 48 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(89, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(90);
|
||||
__builder3.AddAttribute(91, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 50 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.mutierer)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(92, "HeaderText", "Mutierer");
|
||||
__builder3.AddAttribute(93, "Width", "100");
|
||||
__builder3.AddAttribute(94, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 50 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(95, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(96);
|
||||
__builder3.AddAttribute(97, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 52 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
nameof(Beruf.mandantnr)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(98, "HeaderText", "Mandantnr");
|
||||
__builder3.AddAttribute(99, "Width", "100");
|
||||
__builder3.AddAttribute(100, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 52 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
}
|
||||
, 101, (__value) => {
|
||||
#nullable restore
|
||||
#line 26 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
Grid = __value;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
);
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 58 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Beruf\BerufListe.razor"
|
||||
|
||||
IEnumerable<Beruf> berufe;
|
||||
SfGrid<Beruf> Grid { get; set; }
|
||||
public List<BWPMModels.Beruf> GridData { get; set; }
|
||||
public List<BWPMModels.Beruf> Berufs { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
/// GridData = OrdersDetails.GetAllRecords();
|
||||
GridData = BlazorApp.Controller.BerufController.GetAllData();
|
||||
berufe = BlazorApp.Controller.BerufController.GetAllData();
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
|
||||
userid = await sessionStorage.GetItemAsync<string>("UserID");
|
||||
|
||||
if (userid == null)
|
||||
{
|
||||
var authState = await authenticationStateTask;
|
||||
var userId = authState.User.Claims.FirstOrDefault().Value;
|
||||
var user = authState.User;
|
||||
|
||||
if (user.Identity.IsAuthenticated)
|
||||
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
}
|
||||
}
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.Beruf> Args)
|
||||
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
if (Args.Action == "Add")
|
||||
{
|
||||
|
||||
Args.Data.erstellt_am = DateTime.Now;
|
||||
Args.Data.mutierer = userid;
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = true;
|
||||
Args.Data.ID = BlazorApp.Controller.BerufController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.BerufController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.Beruf> Args)
|
||||
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
await Grid.SetRowData(Args.Data.ID, Args.Data);
|
||||
double xx = 0;
|
||||
Value = Args.Data.ID;
|
||||
xx = await DataHandler();
|
||||
await Grid.SelectRow(xx);
|
||||
|
||||
}
|
||||
}
|
||||
public async void RowDataBoundHandler(BeforeDataBoundArgs<BWPMModels.Beruf> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
//await Task.Delay(100);
|
||||
//var Idx = await this.Grid.GetRowIndexByPrimaryKey(Convert.ToDouble(Value)); //get index value
|
||||
//this.Grid.SelectRow(Convert.ToDouble(Idx));
|
||||
}
|
||||
Initial = false;
|
||||
}
|
||||
|
||||
public async Task<double> DataHandler()
|
||||
{
|
||||
var PageCount = (GridData.Count / Grid.PageSettings.PageSize) + 1;
|
||||
ContinuePaging = true;
|
||||
var CurrentPage = 1;
|
||||
Grid.Refresh();
|
||||
await Grid.GoToPage(1);
|
||||
|
||||
for (int i = 1; i <= PageCount; i++)
|
||||
|
||||
{
|
||||
List<Beruf> Rows = await Grid.GetCurrentViewRecords(); // returns the current view data
|
||||
for (int j = 0; j < Grid.PageSettings.PageSize; j++)
|
||||
{
|
||||
if (j < Rows.Count && Rows[j].ID == Value)
|
||||
{
|
||||
foundrow = j;
|
||||
|
||||
ContinuePaging = false; // prevent the default navigation
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
namespace __Blazor.BlazorApp.Pages.Admin.Beruf.BerufListe
|
||||
{
|
||||
#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::System.Boolean __arg1, int __seq2, global::System.Boolean __arg2, int __seq3, global::System.Object __arg3, int __seq4, global::Microsoft.AspNetCore.Components.RenderFragment __arg4, int __seq5, global::System.Action<global::Syncfusion.Blazor.Grids.SfGrid<TValue>> __arg5)
|
||||
{
|
||||
__builder.OpenComponent<global::Syncfusion.Blazor.Grids.SfGrid<TValue>>(seq);
|
||||
__builder.AddAttribute(__seq0, "DataSource", __arg0);
|
||||
__builder.AddAttribute(__seq1, "AllowPaging", __arg1);
|
||||
__builder.AddAttribute(__seq2, "AllowSorting", __arg2);
|
||||
__builder.AddAttribute(__seq3, "Toolbar", __arg3);
|
||||
__builder.AddAttribute(__seq4, "ChildContent", __arg4);
|
||||
__builder.AddComponentReferenceCapture(__seq5, (__value) => { __arg5((global::Syncfusion.Blazor.Grids.SfGrid<TValue>)__value); });
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,760 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "cb93d934ba16ba798b2284b169baf3490eb7a406"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.Company
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/Company/Company")]
|
||||
public partial class Company : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<style>\r\n .e-mail:before {\r\n content: \'\\e75e\';\r\n }\r\n .e-bw:before {\r\n content: \'\\e75e\';\r\n }\r\n</style>\r\n\r\n");
|
||||
__builder.AddMarkupContent(1, "<h1>Firmenübersicht</h1>\r\n \r\n");
|
||||
__builder.OpenElement(2, "div");
|
||||
__builder.AddAttribute(3, "class", "col-lg-12 control-section");
|
||||
__builder.OpenElement(4, "div");
|
||||
__builder.AddAttribute(5, "class", "content-wrapper");
|
||||
__builder.OpenElement(6, "div");
|
||||
__builder.AddAttribute(7, "class", "row");
|
||||
__Blazor.BlazorApp.Pages.Admin.Company.Company.TypeInference.CreateSfGrid_0(__builder, 8, 9,
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
GridData
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 10,
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 11,
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 12, (__builder2) => {
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridPageSettings>(13);
|
||||
__builder2.AddAttribute(14, "PageCount", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
|
||||
#nullable restore
|
||||
#line 26 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
20
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(15, "PageSizes", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
|
||||
#nullable restore
|
||||
#line 26 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(16, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEditSettings>(17);
|
||||
__builder2.AddAttribute(18, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(19, "AllowDeleting", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(20, "AllowEditing", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(21, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEvents<View_Admin_Firmen>>(22);
|
||||
__builder2.AddAttribute(23, "CommandClicked", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.CommandClickEventArgs<View_Admin_Firmen>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.CommandClickEventArgs<View_Admin_Firmen>>(this,
|
||||
#nullable restore
|
||||
#line 28 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
CommandClickHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(24, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(25);
|
||||
__builder2.AddAttribute(26, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(27);
|
||||
__builder3.AddAttribute(28, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 32 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
nameof(View_Admin_Firmen.ID)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(29, "HeaderText", "Id");
|
||||
__builder3.AddAttribute(30, "IsPrimaryKey", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 32 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(31, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 32 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(32, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(33, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(34);
|
||||
__builder3.AddAttribute(35, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 34 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
nameof(View_Admin_Firmen.Expr1)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(36, "HeaderText", "Firma");
|
||||
__builder3.AddAttribute(37, "Width", "100");
|
||||
__builder3.AddAttribute(38, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 34 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(39, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(40);
|
||||
__builder3.AddAttribute(41, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 36 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
nameof(View_Admin_Firmen.plz)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(42, "HeaderText", "Plz");
|
||||
__builder3.AddAttribute(43, "Width", "50");
|
||||
__builder3.AddAttribute(44, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 36 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(45, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(46);
|
||||
__builder3.AddAttribute(47, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 38 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
nameof(View_Admin_Firmen.ort)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(48, "HeaderText", "Ort");
|
||||
__builder3.AddAttribute(49, "Width", "100");
|
||||
__builder3.AddAttribute(50, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 38 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(51, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(52);
|
||||
__builder3.AddAttribute(53, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 40 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
nameof(View_Admin_Firmen.tel)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(54, "HeaderText", "Tel");
|
||||
__builder3.AddAttribute(55, "Width", "80");
|
||||
__builder3.AddAttribute(56, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 40 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(57, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(58);
|
||||
__builder3.AddAttribute(59, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 42 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
nameof(View_Admin_Firmen.mail)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(60, "HeaderText", "Mail");
|
||||
__builder3.AddAttribute(61, "Width", "100");
|
||||
__builder3.AddAttribute(62, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 42 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(63, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(64);
|
||||
__builder3.AddAttribute(65, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 44 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
nameof(View_Admin_Firmen.aktiv)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(66, "HeaderText", "Aktiv");
|
||||
__builder3.AddAttribute(67, "Width", "50");
|
||||
__builder3.AddAttribute(68, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 44 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(69, "DisplayAsCheckBox", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 44 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(70, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(71);
|
||||
__builder3.AddAttribute(72, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 46 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
nameof(View_Admin_Firmen.aktuell)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(73, "HeaderText", "Aktuell");
|
||||
__builder3.AddAttribute(74, "Width", "50");
|
||||
__builder3.AddAttribute(75, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 46 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(76, "DisplayAsCheckBox", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 46 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(77, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(78);
|
||||
__builder3.AddAttribute(79, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 48 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
nameof(View_Admin_Firmen.berufe_plaetze)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(80, "HeaderText", "Berufe/Plätze");
|
||||
__builder3.AddAttribute(81, "Width", "100");
|
||||
__builder3.AddAttribute(82, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 48 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(83, "\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(84);
|
||||
__builder3.AddAttribute(85, "HeaderText", "Funktionen");
|
||||
__builder3.AddAttribute(86, "Width", "150");
|
||||
__builder3.AddAttribute(87, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.OpenComponent<Syncfusion.Blazor.Grids.GridCommandColumns>(88);
|
||||
__builder4.AddAttribute(89, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder5) => {
|
||||
__builder5.OpenComponent<Syncfusion.Blazor.Grids.GridCommandColumn>(90);
|
||||
__builder5.AddAttribute(91, "Title", "Firma-Übersicht");
|
||||
__builder5.AddAttribute(92, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonType>(
|
||||
#nullable restore
|
||||
#line 51 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
CommandButtonType.None
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.AddAttribute(93, "ButtonOption", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonOptions>(
|
||||
#nullable restore
|
||||
#line 51 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
new CommandButtonOptions() {IconCss="fas fa-bank", CssClass="e-flat" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.CloseComponent();
|
||||
__builder5.AddMarkupContent(94, "\r\n ");
|
||||
__builder5.OpenComponent<Syncfusion.Blazor.Grids.GridCommandColumn>(95);
|
||||
__builder5.AddAttribute(96, "Title", "Firmen-Daten");
|
||||
__builder5.AddAttribute(97, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonType>(
|
||||
#nullable restore
|
||||
#line 52 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
CommandButtonType.None
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.AddAttribute(98, "ButtonOption", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonOptions>(
|
||||
#nullable restore
|
||||
#line 52 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
new CommandButtonOptions() {IconCss="fas fa-pen", CssClass="e-flat" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.CloseComponent();
|
||||
__builder5.AddMarkupContent(99, "\r\n ");
|
||||
__builder5.OpenComponent<Syncfusion.Blazor.Grids.GridCommandColumn>(100);
|
||||
__builder5.AddAttribute(101, "Title", "Ansprechperson");
|
||||
__builder5.AddAttribute(102, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonType>(
|
||||
#nullable restore
|
||||
#line 53 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
CommandButtonType.None
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.AddAttribute(103, "ButtonOption", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonOptions>(
|
||||
#nullable restore
|
||||
#line 53 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
new CommandButtonOptions() {IconCss="fas fa-person", CssClass="e-flat" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.CloseComponent();
|
||||
__builder5.AddMarkupContent(104, "\r\n ");
|
||||
__builder5.OpenComponent<Syncfusion.Blazor.Grids.GridCommandColumn>(105);
|
||||
__builder5.AddAttribute(106, "Title", "Berufsangebot");
|
||||
__builder5.AddAttribute(107, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonType>(
|
||||
#nullable restore
|
||||
#line 54 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
CommandButtonType.None
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.AddAttribute(108, "ButtonOption", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonOptions>(
|
||||
#nullable restore
|
||||
#line 54 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
new CommandButtonOptions() {IconCss="fas fa-list-check", CssClass="e-flat" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.CloseComponent();
|
||||
__builder5.AddMarkupContent(109, "\r\n ");
|
||||
__builder5.OpenComponent<Syncfusion.Blazor.Grids.GridCommandColumn>(110);
|
||||
__builder5.AddAttribute(111, "Title", "Löschen");
|
||||
__builder5.AddAttribute(112, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonType>(
|
||||
#nullable restore
|
||||
#line 55 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
CommandButtonType.None
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.AddAttribute(113, "ButtonOption", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonOptions>(
|
||||
#nullable restore
|
||||
#line 55 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
new CommandButtonOptions() {IconCss="e-icons e-delete", CssClass="e-flat" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.CloseComponent();
|
||||
__builder5.AddMarkupContent(114, "\r\n ");
|
||||
__builder5.OpenComponent<Syncfusion.Blazor.Grids.GridCommandColumn>(115);
|
||||
__builder5.AddAttribute(116, "Title", "EMail");
|
||||
__builder5.AddAttribute(117, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonType>(
|
||||
#nullable restore
|
||||
#line 56 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
CommandButtonType.None
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.AddAttribute(118, "ButtonOption", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonOptions>(
|
||||
#nullable restore
|
||||
#line 56 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
new CommandButtonOptions() {IconCss="e-icons e-mail", CssClass="e-flat" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder4.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
}
|
||||
, 119, (__value) => {
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
Grid = __value;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
);
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 64 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Company\Company.razor"
|
||||
|
||||
SfGrid<View_Admin_Firmen> Grid { get; set; }
|
||||
public List<BWPMModels.View_Admin_Firmen> GridData { get; set; }
|
||||
public List<BWPMModels.View_Admin_Firmen> View_Admin_Firmens { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
/// GridData = OrdersDetails.GetAllRecords();
|
||||
GridData = BlazorApp.Controller.View_Admin_FirmenController.GetAllData();
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
|
||||
userid = await sessionStorage.GetItemAsync<string>("UserID");
|
||||
|
||||
if (userid == null)
|
||||
{
|
||||
var authState = await authenticationStateTask;
|
||||
var userId = authState.User.Claims.FirstOrDefault().Value;
|
||||
var user = authState.User;
|
||||
|
||||
if (user.Identity.IsAuthenticated)
|
||||
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
}
|
||||
}
|
||||
public void CommandClickHandler(CommandClickEventArgs<View_Admin_Firmen> args)
|
||||
{
|
||||
if (args.CommandColumn.Title=="Firma-Übersicht"){
|
||||
NavigationManager.NavigateTo("/Company/Dashboard/" + args.RowData.ID.ToString());
|
||||
}
|
||||
if (args.CommandColumn.Title == "Firmen-Daten")
|
||||
{
|
||||
NavigationManager.NavigateTo("/Company/Company/" + args.RowData.ID.ToString());
|
||||
|
||||
}
|
||||
if (args.CommandColumn.Title=="Berufsangebot"){
|
||||
NavigationManager.NavigateTo("/Company/Berufsangebot/" + args.RowData.ID.ToString());
|
||||
|
||||
}
|
||||
if (args.CommandColumn.Title=="Ansprechperson"){
|
||||
NavigationManager.NavigateTo("/Company/CompanyContact/" + args.RowData.ID.ToString());
|
||||
|
||||
}
|
||||
//Perform your custom command button click operation here. And also with the value in “args” you can differentiate the buttons, if having multiple custom command buttons.
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
namespace __Blazor.BlazorApp.Pages.Admin.Company.Company
|
||||
{
|
||||
#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::System.Boolean __arg1, int __seq2, global::System.Boolean __arg2, int __seq3, global::Microsoft.AspNetCore.Components.RenderFragment __arg3, int __seq4, global::System.Action<global::Syncfusion.Blazor.Grids.SfGrid<TValue>> __arg4)
|
||||
{
|
||||
__builder.OpenComponent<global::Syncfusion.Blazor.Grids.SfGrid<TValue>>(seq);
|
||||
__builder.AddAttribute(__seq0, "DataSource", __arg0);
|
||||
__builder.AddAttribute(__seq1, "AllowPaging", __arg1);
|
||||
__builder.AddAttribute(__seq2, "AllowSorting", __arg2);
|
||||
__builder.AddAttribute(__seq3, "ChildContent", __arg3);
|
||||
__builder.AddComponentReferenceCapture(__seq4, (__value) => { __arg4((global::Syncfusion.Blazor.Grids.SfGrid<TValue>)__value); });
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,712 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7eeb1dd8c86963a84eca89fb2a35e6af47c10ba6"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.KlassenTyp
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/Klassentyp/KlassentypList")]
|
||||
public partial class KlassentypList : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<h1>Klassentyp</h1>\r\n\r\n");
|
||||
__builder.OpenElement(1, "div");
|
||||
__builder.AddAttribute(2, "class", "col-lg-12 control-section");
|
||||
__builder.OpenElement(3, "div");
|
||||
__builder.AddAttribute(4, "class", "content-wrapper");
|
||||
__builder.OpenElement(5, "div");
|
||||
__builder.AddAttribute(6, "class", "row");
|
||||
__Blazor.BlazorApp.Pages.Admin.KlassenTyp.KlassentypList.TypeInference.CreateSfGrid_0(__builder, 7, 8,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
GridData
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 9,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 10,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 11,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
new List<string>() { "Add", "Edit", "Update", "Cancel" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 12, (__builder2) => {
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridPageSettings>(13);
|
||||
__builder2.AddAttribute(14, "PageCount", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
5
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(15, "PageSizes", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(16, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEditSettings>(17);
|
||||
__builder2.AddAttribute(18, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(19, "AllowDeleting", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(20, "AllowEditing", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(21, "Mode", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.EditMode>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
EditMode.Dialog
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(22, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEvents<Klassentyp>>(23);
|
||||
__builder2.AddAttribute(24, "OnActionBegin", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<Klassentyp>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<Klassentyp>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
OnBeginHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(25, "OnActionComplete", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<Klassentyp>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<Klassentyp>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
OnCompletedHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(26, "OnDataBound", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<Klassentyp>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<Klassentyp>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
RowDataBoundHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(27, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(28);
|
||||
__builder2.AddAttribute(29, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(30);
|
||||
__builder3.AddAttribute(31, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
ColumnType.CheckBox
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(32, "AllowFiltering", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(33, "AllowSorting", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(34, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(35, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(36);
|
||||
__builder3.AddAttribute(37, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
nameof(Klassentyp.ID)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(38, "HeaderText", "Id");
|
||||
__builder3.AddAttribute(39, "IsPrimaryKey", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(40, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(41, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(42, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(43);
|
||||
__builder3.AddAttribute(44, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
nameof(Klassentyp.bezeichnung)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(45, "HeaderText", "Bezeichnung");
|
||||
__builder3.AddAttribute(46, "Width", "100");
|
||||
__builder3.AddAttribute(47, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(48, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(49);
|
||||
__builder3.AddAttribute(50, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
nameof(Klassentyp.aktiv)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(51, "HeaderText", "Aktiv");
|
||||
__builder3.AddAttribute(52, "Width", "100");
|
||||
__builder3.AddAttribute(53, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(54, "DisplayAsCheckBox", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(55, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(56);
|
||||
__builder3.AddAttribute(57, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
nameof(Klassentyp.erstellt_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(58, "HeaderText", "Erstellt_am");
|
||||
__builder3.AddAttribute(59, "Width", "100");
|
||||
__builder3.AddAttribute(60, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(61, "Format", "d");
|
||||
__builder3.AddAttribute(62, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(63, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(64);
|
||||
__builder3.AddAttribute(65, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
nameof(Klassentyp.mutiert_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(66, "HeaderText", "Mutiert_am");
|
||||
__builder3.AddAttribute(67, "Width", "100");
|
||||
__builder3.AddAttribute(68, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(69, "Format", "d");
|
||||
__builder3.AddAttribute(70, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(71, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(72);
|
||||
__builder3.AddAttribute(73, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
nameof(Klassentyp.mutierer)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(74, "HeaderText", "Mutierer");
|
||||
__builder3.AddAttribute(75, "Width", "100");
|
||||
__builder3.AddAttribute(76, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(77, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(78);
|
||||
__builder3.AddAttribute(79, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
nameof(Klassentyp.mandantID)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(80, "HeaderText", "Mandantid");
|
||||
__builder3.AddAttribute(81, "Width", "100");
|
||||
__builder3.AddAttribute(82, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
}
|
||||
, 83, (__value) => {
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
Grid = __value;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
);
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\KlassenTyp\KlassentypList.razor"
|
||||
SfGrid<Klassentyp> Grid { get; set; }
|
||||
public List<BWPMModels.Klassentyp> GridData { get; set; }
|
||||
public List<BWPMModels.Klassentyp> Klassentyps { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
/// GridData = OrdersDetails.GetAllRecords();
|
||||
GridData = BlazorApp.Controller.KlassentypController.GetAllData();
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
|
||||
userid = await sessionStorage.GetItemAsync<string>("UserID");
|
||||
|
||||
if (userid == null)
|
||||
{
|
||||
var authState = await authenticationStateTask;
|
||||
var userId = authState.User.Claims.FirstOrDefault().Value;
|
||||
var user = authState.User;
|
||||
|
||||
if (user.Identity.IsAuthenticated)
|
||||
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
}
|
||||
}
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.Klassentyp> Args)
|
||||
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
if (Args.Action == "Add")
|
||||
{
|
||||
|
||||
Args.Data.erstellt_am = DateTime.Now;
|
||||
Args.Data.mutierer = userid;
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = true;
|
||||
Args.Data.ID = BlazorApp.Controller.KlassentypController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.KlassentypController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.Klassentyp> Args)
|
||||
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
await Grid.SetRowData(Args.Data.ID, Args.Data);
|
||||
double xx = 0;
|
||||
Value = Args.Data.ID;
|
||||
xx = await DataHandler();
|
||||
await Grid.SelectRow(xx);
|
||||
|
||||
}
|
||||
}
|
||||
public async void RowDataBoundHandler(BeforeDataBoundArgs<BWPMModels.Klassentyp> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
//await Task.Delay(100);
|
||||
//var Idx = await this.Grid.GetRowIndexByPrimaryKey(Convert.ToDouble(Value)); //get index value
|
||||
//this.Grid.SelectRow(Convert.ToDouble(Idx));
|
||||
}
|
||||
Initial = false;
|
||||
}
|
||||
|
||||
public async Task<double> DataHandler()
|
||||
{
|
||||
var PageCount = (GridData.Count / Grid.PageSettings.PageSize) + 1;
|
||||
ContinuePaging = true;
|
||||
var CurrentPage = 1;
|
||||
Grid.Refresh();
|
||||
await Grid.GoToPage(1);
|
||||
|
||||
for (int i = 1; i <= PageCount; i++)
|
||||
|
||||
{
|
||||
List<Klassentyp> Rows = await Grid.GetCurrentViewRecords(); // returns the current view data
|
||||
for (int j = 0; j < Grid.PageSettings.PageSize; j++)
|
||||
{
|
||||
if (j < Rows.Count && Rows[j].ID == Value)
|
||||
{
|
||||
foundrow = j;
|
||||
|
||||
ContinuePaging = false; // prevent the default navigation
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
namespace __Blazor.BlazorApp.Pages.Admin.KlassenTyp.KlassentypList
|
||||
{
|
||||
#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::System.Boolean __arg1, int __seq2, global::System.Boolean __arg2, int __seq3, global::System.Object __arg3, int __seq4, global::Microsoft.AspNetCore.Components.RenderFragment __arg4, int __seq5, global::System.Action<global::Syncfusion.Blazor.Grids.SfGrid<TValue>> __arg5)
|
||||
{
|
||||
__builder.OpenComponent<global::Syncfusion.Blazor.Grids.SfGrid<TValue>>(seq);
|
||||
__builder.AddAttribute(__seq0, "DataSource", __arg0);
|
||||
__builder.AddAttribute(__seq1, "AllowPaging", __arg1);
|
||||
__builder.AddAttribute(__seq2, "AllowSorting", __arg2);
|
||||
__builder.AddAttribute(__seq3, "Toolbar", __arg3);
|
||||
__builder.AddAttribute(__seq4, "ChildContent", __arg4);
|
||||
__builder.AddComponentReferenceCapture(__seq5, (__value) => { __arg5((global::Syncfusion.Blazor.Grids.SfGrid<TValue>)__value); });
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,735 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6117fbc37e0326b9e0dac8527464cfc3e5767fe2"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.Optionen
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/Optionen/OptionenList")]
|
||||
public partial class OptionenList : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<h1>Optionen</h1>\r\n\r\n");
|
||||
__builder.OpenElement(1, "div");
|
||||
__builder.AddAttribute(2, "class", "col-lg-12 control-section");
|
||||
__builder.OpenElement(3, "div");
|
||||
__builder.AddAttribute(4, "class", "content-wrapper");
|
||||
__builder.OpenElement(5, "div");
|
||||
__builder.AddAttribute(6, "class", "row");
|
||||
__Blazor.BlazorApp.Pages.Admin.Optionen.OptionenList.TypeInference.CreateSfGrid_0(__builder, 7, 8,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
GridData
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 9,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 10,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 11,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
new List<string>() { "Add", "Edit", "Update", "Cancel" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 12, (__builder2) => {
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridPageSettings>(13);
|
||||
__builder2.AddAttribute(14, "PageCount", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
5
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(15, "PageSizes", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(16, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEditSettings>(17);
|
||||
__builder2.AddAttribute(18, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(19, "AllowDeleting", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(20, "AllowEditing", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(21, "Mode", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.EditMode>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
EditMode.Dialog
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(22, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEvents<Optionen>>(23);
|
||||
__builder2.AddAttribute(24, "OnActionBegin", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<Optionen>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<Optionen>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
OnBeginHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(25, "OnActionComplete", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<Optionen>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<Optionen>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
OnCompletedHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(26, "OnDataBound", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<Optionen>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<Optionen>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
RowDataBoundHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(27, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(28);
|
||||
__builder2.AddAttribute(29, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(30);
|
||||
__builder3.AddAttribute(31, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
ColumnType.CheckBox
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(32, "AllowFiltering", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(33, "AllowSorting", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(34, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(35, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(36);
|
||||
__builder3.AddAttribute(37, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
nameof(Optionen.ID)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(38, "HeaderText", "Id");
|
||||
__builder3.AddAttribute(39, "IsPrimaryKey", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(40, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(41, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(42, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(43);
|
||||
__builder3.AddAttribute(44, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
nameof(Optionen.mandantnr)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(45, "HeaderText", "Mandantnr");
|
||||
__builder3.AddAttribute(46, "Width", "100");
|
||||
__builder3.AddAttribute(47, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(48, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(49);
|
||||
__builder3.AddAttribute(50, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
nameof(Optionen.Bezeichnung)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(51, "HeaderText", "Bezeichnung");
|
||||
__builder3.AddAttribute(52, "Width", "100");
|
||||
__builder3.AddAttribute(53, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(54, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(55);
|
||||
__builder3.AddAttribute(56, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
nameof(Optionen.inhalt)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(57, "HeaderText", "Inhalt");
|
||||
__builder3.AddAttribute(58, "Width", "200");
|
||||
__builder3.AddAttribute(59, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(60, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(61);
|
||||
__builder3.AddAttribute(62, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
nameof(Optionen.erstellt_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(63, "HeaderText", "Erstellt_am");
|
||||
__builder3.AddAttribute(64, "Width", "400");
|
||||
__builder3.AddAttribute(65, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(66, "Format", "d");
|
||||
__builder3.AddAttribute(67, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(68, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(69);
|
||||
__builder3.AddAttribute(70, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
nameof(Optionen.mutiert_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(71, "HeaderText", "Mutiert_am");
|
||||
__builder3.AddAttribute(72, "Width", "100");
|
||||
__builder3.AddAttribute(73, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(74, "Format", "d");
|
||||
__builder3.AddAttribute(75, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(76, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(77);
|
||||
__builder3.AddAttribute(78, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
nameof(Optionen.mutierer)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(79, "HeaderText", "Mutierer");
|
||||
__builder3.AddAttribute(80, "Width", "100");
|
||||
__builder3.AddAttribute(81, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(82, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(83);
|
||||
__builder3.AddAttribute(84, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
nameof(Optionen.aktiv)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(85, "HeaderText", "Aktiv");
|
||||
__builder3.AddAttribute(86, "Width", "100");
|
||||
__builder3.AddAttribute(87, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(88, "DisplayAsCheckBox", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
}
|
||||
, 89, (__value) => {
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
Grid = __value;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
);
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Optionen\OptionenList.razor"
|
||||
SfGrid<Optionen> Grid { get; set; }
|
||||
public List<BWPMModels.Optionen> GridData { get; set; }
|
||||
public List<BWPMModels.Optionen> Optionens { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
/// GridData = OrdersDetails.GetAllRecords();
|
||||
GridData = BlazorApp.Controller.OptionenController.GetAllData();
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
|
||||
userid = await sessionStorage.GetItemAsync<string>("UserID");
|
||||
|
||||
if (userid == null)
|
||||
{
|
||||
var authState = await authenticationStateTask;
|
||||
var userId = authState.User.Claims.FirstOrDefault().Value;
|
||||
var user = authState.User;
|
||||
|
||||
if (user.Identity.IsAuthenticated)
|
||||
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
}
|
||||
}
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.Optionen> Args)
|
||||
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
if (Args.Action == "Add")
|
||||
{
|
||||
|
||||
Args.Data.erstellt_am = DateTime.Now;
|
||||
Args.Data.mutierer = userid;
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = true;
|
||||
Args.Data.ID = BlazorApp.Controller.OptionenController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.OptionenController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.Optionen> Args)
|
||||
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
await Grid.SetRowData(Args.Data.ID, Args.Data);
|
||||
double xx = 0;
|
||||
Value = Args.Data.ID;
|
||||
xx = await DataHandler();
|
||||
await Grid.SelectRow(xx);
|
||||
|
||||
}
|
||||
}
|
||||
public async void RowDataBoundHandler(BeforeDataBoundArgs<BWPMModels.Optionen> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
//await Task.Delay(100);
|
||||
//var Idx = await this.Grid.GetRowIndexByPrimaryKey(Convert.ToDouble(Value)); //get index value
|
||||
//this.Grid.SelectRow(Convert.ToDouble(Idx));
|
||||
}
|
||||
Initial = false;
|
||||
}
|
||||
|
||||
public async Task<double> DataHandler()
|
||||
{
|
||||
var PageCount = (GridData.Count / Grid.PageSettings.PageSize) + 1;
|
||||
ContinuePaging = true;
|
||||
var CurrentPage = 1;
|
||||
Grid.Refresh();
|
||||
await Grid.GoToPage(1);
|
||||
|
||||
for (int i = 1; i <= PageCount; i++)
|
||||
|
||||
{
|
||||
List<Optionen> Rows = await Grid.GetCurrentViewRecords(); // returns the current view data
|
||||
for (int j = 0; j < Grid.PageSettings.PageSize; j++)
|
||||
{
|
||||
if (j < Rows.Count && Rows[j].ID == Value)
|
||||
{
|
||||
foundrow = j;
|
||||
|
||||
ContinuePaging = false; // prevent the default navigation
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
namespace __Blazor.BlazorApp.Pages.Admin.Optionen.OptionenList
|
||||
{
|
||||
#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::System.Boolean __arg1, int __seq2, global::System.Boolean __arg2, int __seq3, global::System.Object __arg3, int __seq4, global::Microsoft.AspNetCore.Components.RenderFragment __arg4, int __seq5, global::System.Action<global::Syncfusion.Blazor.Grids.SfGrid<TValue>> __arg5)
|
||||
{
|
||||
__builder.OpenComponent<global::Syncfusion.Blazor.Grids.SfGrid<TValue>>(seq);
|
||||
__builder.AddAttribute(__seq0, "DataSource", __arg0);
|
||||
__builder.AddAttribute(__seq1, "AllowPaging", __arg1);
|
||||
__builder.AddAttribute(__seq2, "AllowSorting", __arg2);
|
||||
__builder.AddAttribute(__seq3, "Toolbar", __arg3);
|
||||
__builder.AddAttribute(__seq4, "ChildContent", __arg4);
|
||||
__builder.AddComponentReferenceCapture(__seq5, (__value) => { __arg5((global::Syncfusion.Blazor.Grids.SfGrid<TValue>)__value); });
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,826 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "97c9f632b44cb7db10945b1024dc8510af393e7e"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.Schulhaus
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/Schulhaus/SchulhausList")]
|
||||
public partial class SchulhausList : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<h1>Schulhaus</h1>\r\n\r\n");
|
||||
__builder.OpenElement(1, "div");
|
||||
__builder.AddAttribute(2, "class", "col-lg-12 control-section");
|
||||
__builder.OpenElement(3, "div");
|
||||
__builder.AddAttribute(4, "class", "content-wrapper");
|
||||
__builder.OpenElement(5, "div");
|
||||
__builder.AddAttribute(6, "class", "row");
|
||||
__Blazor.BlazorApp.Pages.Admin.Schulhaus.SchulhausList.TypeInference.CreateSfGrid_0(__builder, 7, 8,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
GridData
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 9,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 10,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 11,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
new List<string>() { "Add", "Edit", "Update", "Cancel" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 12, (__builder2) => {
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridPageSettings>(13);
|
||||
__builder2.AddAttribute(14, "PageCount", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
5
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(15, "PageSizes", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(16, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEditSettings>(17);
|
||||
__builder2.AddAttribute(18, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(19, "AllowDeleting", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(20, "AllowEditing", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(21, "Mode", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.EditMode>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
EditMode.Dialog
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(22, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEvents<Schulhaus>>(23);
|
||||
__builder2.AddAttribute(24, "OnActionBegin", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<Schulhaus>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<Schulhaus>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
OnBeginHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(25, "OnActionComplete", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<Schulhaus>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<Schulhaus>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
OnCompletedHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(26, "OnDataBound", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<Schulhaus>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<Schulhaus>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
RowDataBoundHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(27, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(28);
|
||||
__builder2.AddAttribute(29, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(30);
|
||||
__builder3.AddAttribute(31, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
ColumnType.CheckBox
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(32, "AllowFiltering", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(33, "AllowSorting", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(34, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(35, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(36);
|
||||
__builder3.AddAttribute(37, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
nameof(Schulhaus.ID)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(38, "HeaderText", "Id");
|
||||
__builder3.AddAttribute(39, "IsPrimaryKey", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(40, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(41, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(42, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(43);
|
||||
__builder3.AddAttribute(44, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
nameof(Schulhaus.bezeichnung)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(45, "HeaderText", "Bezeichnung");
|
||||
__builder3.AddAttribute(46, "Width", "100");
|
||||
__builder3.AddAttribute(47, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(48, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(49);
|
||||
__builder3.AddAttribute(50, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
nameof(Schulhaus.strasse)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(51, "HeaderText", "Strasse");
|
||||
__builder3.AddAttribute(52, "Width", "100");
|
||||
__builder3.AddAttribute(53, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(54, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(55);
|
||||
__builder3.AddAttribute(56, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
nameof(Schulhaus.plz)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(57, "HeaderText", "Plz");
|
||||
__builder3.AddAttribute(58, "Width", "100");
|
||||
__builder3.AddAttribute(59, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(60, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(61);
|
||||
__builder3.AddAttribute(62, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
nameof(Schulhaus.ort)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(63, "HeaderText", "Ort");
|
||||
__builder3.AddAttribute(64, "Width", "100");
|
||||
__builder3.AddAttribute(65, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(66, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(67);
|
||||
__builder3.AddAttribute(68, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
nameof(Schulhaus.telefon)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(69, "HeaderText", "Telefon");
|
||||
__builder3.AddAttribute(70, "Width", "100");
|
||||
__builder3.AddAttribute(71, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(72, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(73);
|
||||
__builder3.AddAttribute(74, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
nameof(Schulhaus.sort)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(75, "HeaderText", "Sort");
|
||||
__builder3.AddAttribute(76, "Width", "100");
|
||||
__builder3.AddAttribute(77, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(78, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(79);
|
||||
__builder3.AddAttribute(80, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
nameof(Schulhaus.aktiv)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(81, "HeaderText", "Aktiv");
|
||||
__builder3.AddAttribute(82, "Width", "100");
|
||||
__builder3.AddAttribute(83, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(84, "DisplayAsCheckBox", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(85, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(86);
|
||||
__builder3.AddAttribute(87, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
nameof(Schulhaus.erstellt_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(88, "HeaderText", "Erstellt_am");
|
||||
__builder3.AddAttribute(89, "Width", "100");
|
||||
__builder3.AddAttribute(90, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(91, "Format", "d");
|
||||
__builder3.AddAttribute(92, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(93, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(94);
|
||||
__builder3.AddAttribute(95, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
nameof(Schulhaus.mutiert_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(96, "HeaderText", "Mutiert_am");
|
||||
__builder3.AddAttribute(97, "Width", "100");
|
||||
__builder3.AddAttribute(98, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(99, "Format", "d");
|
||||
__builder3.AddAttribute(100, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(101, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(102);
|
||||
__builder3.AddAttribute(103, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
nameof(Schulhaus.mutierer)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(104, "HeaderText", "Mutierer");
|
||||
__builder3.AddAttribute(105, "Width", "100");
|
||||
__builder3.AddAttribute(106, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(107, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(108);
|
||||
__builder3.AddAttribute(109, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
nameof(Schulhaus.mandantnr)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(110, "HeaderText", "Mandantnr");
|
||||
__builder3.AddAttribute(111, "Width", "100");
|
||||
__builder3.AddAttribute(112, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
}
|
||||
, 113, (__value) => {
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
Grid = __value;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
);
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 53 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Schulhaus\SchulhausList.razor"
|
||||
SfGrid<Schulhaus> Grid { get; set; }
|
||||
public List<BWPMModels.Schulhaus> GridData { get; set; }
|
||||
public List<BWPMModels.Schulhaus> Schulhauss { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
/// GridData = OrdersDetails.GetAllRecords();
|
||||
GridData = BlazorApp.Controller.SchulhausController.GetAllData();
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
userid = await sessionStorage.GetItemAsync<string>("UserID");
|
||||
|
||||
if (userid == null)
|
||||
{
|
||||
var authState = await authenticationStateTask;
|
||||
var userId = authState.User.Claims.FirstOrDefault().Value;
|
||||
var user = authState.User;
|
||||
|
||||
if (user.Identity.IsAuthenticated)
|
||||
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.Schulhaus> Args)
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
if (Args.Action == "Add")
|
||||
{
|
||||
|
||||
Args.Data.erstellt_am = DateTime.Now;
|
||||
Args.Data.mutierer = userid;
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = true;
|
||||
Args.Data.ID = BlazorApp.Controller.SchulhausController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.SchulhausController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.Schulhaus> Args)
|
||||
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
await Grid.SetRowData(Args.Data.ID, Args.Data);
|
||||
double xx = 0;
|
||||
Value = Args.Data.ID;
|
||||
xx = await DataHandler();
|
||||
await Grid.SelectRow(xx);
|
||||
|
||||
}
|
||||
}
|
||||
public async void RowDataBoundHandler(BeforeDataBoundArgs<BWPMModels.Schulhaus> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
//await Task.Delay(100);
|
||||
//var Idx = await this.Grid.GetRowIndexByPrimaryKey(Convert.ToDouble(Value)); //get index value
|
||||
//this.Grid.SelectRow(Convert.ToDouble(Idx));
|
||||
}
|
||||
Initial = false;
|
||||
}
|
||||
|
||||
public async Task<double> DataHandler()
|
||||
{
|
||||
var PageCount = (GridData.Count / Grid.PageSettings.PageSize) + 1;
|
||||
ContinuePaging = true;
|
||||
var CurrentPage = 1;
|
||||
Grid.Refresh();
|
||||
await Grid.GoToPage(1);
|
||||
|
||||
for (int i = 1; i <= PageCount; i++)
|
||||
|
||||
{
|
||||
List<Schulhaus> Rows = await Grid.GetCurrentViewRecords(); // returns the current view data
|
||||
for (int j = 0; j < Grid.PageSettings.PageSize; j++)
|
||||
{
|
||||
if (j < Rows.Count && Rows[j].ID == Value)
|
||||
{
|
||||
foundrow = j;
|
||||
|
||||
ContinuePaging = false; // prevent the default navigation
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
namespace __Blazor.BlazorApp.Pages.Admin.Schulhaus.SchulhausList
|
||||
{
|
||||
#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::System.Boolean __arg1, int __seq2, global::System.Boolean __arg2, int __seq3, global::System.Object __arg3, int __seq4, global::Microsoft.AspNetCore.Components.RenderFragment __arg4, int __seq5, global::System.Action<global::Syncfusion.Blazor.Grids.SfGrid<TValue>> __arg5)
|
||||
{
|
||||
__builder.OpenComponent<global::Syncfusion.Blazor.Grids.SfGrid<TValue>>(seq);
|
||||
__builder.AddAttribute(__seq0, "DataSource", __arg0);
|
||||
__builder.AddAttribute(__seq1, "AllowPaging", __arg1);
|
||||
__builder.AddAttribute(__seq2, "AllowSorting", __arg2);
|
||||
__builder.AddAttribute(__seq3, "Toolbar", __arg3);
|
||||
__builder.AddAttribute(__seq4, "ChildContent", __arg4);
|
||||
__builder.AddComponentReferenceCapture(__seq5, (__value) => { __arg5((global::Syncfusion.Blazor.Grids.SfGrid<TValue>)__value); });
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,406 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3f40d478b77a0e9e44105000bd9185c79d28632c"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using System.Text;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using Syncfusion.Blazor.Navigations;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using Newtonsoft.Json;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/ScriptGenerator")]
|
||||
public partial class ScriptGenerator : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<h2>Script-Generator</h2>\r\n");
|
||||
__builder.OpenElement(1, "div");
|
||||
__builder.AddAttribute(2, "class", "col-lg-12 control-section");
|
||||
__builder.OpenElement(3, "div");
|
||||
__builder.AddAttribute(4, "class", "content-wrapper");
|
||||
__builder.OpenElement(5, "input");
|
||||
__builder.AddAttribute(6, "type", "text");
|
||||
__builder.AddAttribute(7, "id", "tablename");
|
||||
__builder.AddAttribute(8, "name", "Required");
|
||||
__builder.AddAttribute(9, "class", "e-input");
|
||||
__builder.AddAttribute(10, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
|
||||
#nullable restore
|
||||
#line 22 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
tablename
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder.AddAttribute(11, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => tablename = __value, tablename));
|
||||
__builder.SetUpdatesAttributeName("value");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(12, "\r\n ");
|
||||
__builder.OpenComponent<Syncfusion.Blazor.Buttons.SfButton>(13);
|
||||
__builder.AddAttribute(14, "OnClick", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
GenerateCode
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder.AddAttribute(15, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
|
||||
__builder2.AddContent(16, "Generieren");
|
||||
}
|
||||
));
|
||||
__builder.CloseComponent();
|
||||
__builder.AddMarkupContent(17, "\r\n <p></p>\r\n ");
|
||||
__builder.OpenElement(18, "div");
|
||||
__builder.AddAttribute(19, "class", "sample-browser e-view sf-new");
|
||||
__builder.OpenElement(20, "div");
|
||||
__builder.AddAttribute(21, "class", "sb-tab-content");
|
||||
__builder.OpenElement(22, "div");
|
||||
__builder.AddAttribute(23, "class", "sb-source-section");
|
||||
__builder.OpenComponent<Syncfusion.Blazor.Navigations.SfTab>(24);
|
||||
__builder.AddAttribute(25, "CssClass", "sb-content-tab");
|
||||
__builder.AddAttribute(26, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Navigations.TabItems>(27);
|
||||
__builder2.AddAttribute(28, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Navigations.TabItem>(29);
|
||||
__builder3.AddAttribute(30, "CssClass", "e-tab");
|
||||
__builder3.AddAttribute(31, "HeaderTemplate", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.AddContent(32, "Model-Class");
|
||||
}
|
||||
));
|
||||
__builder3.AddAttribute(33, "ContentTemplate", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.OpenElement(34, "div");
|
||||
__builder4.AddAttribute(35, "class", "login-form");
|
||||
__builder4.OpenElement(36, "div");
|
||||
__builder4.AddAttribute(37, "class", "wrap");
|
||||
__builder4.OpenElement(38, "pre");
|
||||
__builder4.AddAttribute(39, "class", "code");
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
__builder4.AddContent(40, Code1);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__builder4.CloseElement();
|
||||
__builder4.CloseElement();
|
||||
__builder4.CloseElement();
|
||||
}
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(41, "\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Navigations.TabItem>(42);
|
||||
__builder3.AddAttribute(43, "HeaderTemplate", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.AddContent(44, "WebAPI Service-Controller");
|
||||
}
|
||||
));
|
||||
__builder3.AddAttribute(45, "ContentTemplate", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.OpenElement(46, "div");
|
||||
__builder4.AddAttribute(47, "class", "login-form");
|
||||
__builder4.OpenElement(48, "div");
|
||||
__builder4.AddAttribute(49, "class", "wrap");
|
||||
__builder4.OpenElement(50, "pre");
|
||||
__builder4.AddAttribute(51, "class", "code");
|
||||
#nullable restore
|
||||
#line 49 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
__builder4.AddContent(52, Code2);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__builder4.CloseElement();
|
||||
__builder4.CloseElement();
|
||||
__builder4.CloseElement();
|
||||
}
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(53, "\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Navigations.TabItem>(54);
|
||||
__builder3.AddAttribute(55, "HeaderTemplate", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.AddContent(56, "Razor-Page");
|
||||
}
|
||||
));
|
||||
__builder3.AddAttribute(57, "ContentTemplate", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.OpenElement(58, "div");
|
||||
__builder4.AddAttribute(59, "class", "login-form");
|
||||
__builder4.OpenElement(60, "div");
|
||||
__builder4.AddAttribute(61, "class", "wrap");
|
||||
__builder4.OpenElement(62, "pre");
|
||||
__builder4.AddAttribute(63, "class", "code");
|
||||
#nullable restore
|
||||
#line 61 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
__builder4.AddContent(64, Code3);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__builder4.CloseElement();
|
||||
__builder4.CloseElement();
|
||||
__builder4.CloseElement();
|
||||
}
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(65, "\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Navigations.TabItem>(66);
|
||||
__builder3.AddAttribute(67, "HeaderTemplate", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.AddContent(68, "Razor App-Controller");
|
||||
}
|
||||
));
|
||||
__builder3.AddAttribute(69, "ContentTemplate", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.OpenElement(70, "div");
|
||||
__builder4.AddAttribute(71, "class", "login-form");
|
||||
__builder4.OpenElement(72, "div");
|
||||
__builder4.AddAttribute(73, "class", "wrap");
|
||||
__builder4.OpenElement(74, "pre");
|
||||
__builder4.AddAttribute(75, "class", "code");
|
||||
#nullable restore
|
||||
#line 73 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
__builder4.AddContent(76, Code4);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
__builder4.CloseElement();
|
||||
__builder4.CloseElement();
|
||||
__builder4.CloseElement();
|
||||
}
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder.CloseComponent();
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 88 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\ScriptGenerator.razor"
|
||||
|
||||
private List<TabItem> sourceCodeItems;
|
||||
public string tablename { get; set; } = "beruf";
|
||||
public string Code1 { get; set; } = "";
|
||||
public string Code2 { get; set; } = "";
|
||||
public string Code3 { get; set; } = "";
|
||||
public string Code4 { get; set; } = "";
|
||||
|
||||
public void GenerateCode()
|
||||
{
|
||||
|
||||
var clist1 = BlazorApp.Controller.MyScriptController.GetData(1, tablename);
|
||||
Code1 = clist1[0].script;
|
||||
var clist2 = BlazorApp.Controller.MyScriptController.GetData(4, tablename);
|
||||
Code2 = clist2[0].script;
|
||||
var clist3 = BlazorApp.Controller.MyScriptController.GetData(7, tablename);
|
||||
Code3 = clist3[0].script;
|
||||
var clist4 = BlazorApp.Controller.MyScriptController.GetData(8, tablename);
|
||||
Code4 = clist4[0].script;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,992 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7e375376e574629168b45eb572ba9482d66d907b"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.Teacher
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
using Syncfusion.Blazor.Notifications;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/Teacher/Teacher")]
|
||||
public partial class Teacher : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<h1>Lehrer</h1>\r\n\r\n");
|
||||
__builder.OpenElement(1, "div");
|
||||
__builder.AddAttribute(2, "class", "col-lg-12 control-section");
|
||||
__builder.OpenElement(3, "div");
|
||||
__builder.AddAttribute(4, "class", "content-wrapper");
|
||||
__builder.OpenElement(5, "div");
|
||||
__builder.AddAttribute(6, "class", "row");
|
||||
__Blazor.BlazorApp.Pages.Admin.Teacher.Teacher.TypeInference.CreateSfGrid_0(__builder, 7, 8, "Grid", 9,
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
GridData
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 10,
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 11,
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 12, (__builder2) => {
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridPageSettings>(13);
|
||||
__builder2.AddAttribute(14, "PageCount", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
5
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(15, "PageSizes", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(16, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEditSettings>(17);
|
||||
__builder2.AddAttribute(18, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 22 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(19, "AllowDeleting", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 22 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(20, "AllowEditing", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 22 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(21, "Mode", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.EditMode>(
|
||||
#nullable restore
|
||||
#line 22 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
EditMode.Dialog
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(22, "Dialog", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.DialogSettings>(
|
||||
#nullable restore
|
||||
#line 22 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
DialogParams
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(23, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEvents<Lehrer>>(24);
|
||||
__builder2.AddAttribute(25, "OnActionBegin", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<Lehrer>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<Lehrer>>(this,
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
OnBeginHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(26, "OnActionComplete", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<Lehrer>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<Lehrer>>(this,
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
OnCompletedHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(27, "OnDataBound", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<Lehrer>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<Lehrer>>(this,
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
RowDataBoundHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(28, "CommandClicked", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.CommandClickEventArgs<Lehrer>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.CommandClickEventArgs<Lehrer>>(this,
|
||||
#nullable restore
|
||||
#line 23 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
CommandClickHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(29, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(30);
|
||||
__builder2.AddAttribute(31, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(32);
|
||||
__builder3.AddAttribute(33, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
ColumnType.CheckBox
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(34, "AllowFiltering", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(35, "AllowSorting", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(36, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(37, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(38);
|
||||
__builder3.AddAttribute(39, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
nameof(Lehrer.ID)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(40, "HeaderText", "Id");
|
||||
__builder3.AddAttribute(41, "IsPrimaryKey", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(42, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(43, "Width", "60");
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(44, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(45);
|
||||
__builder3.AddAttribute(46, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
nameof(Lehrer.anredeID)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(47, "HeaderText", "Anredeid");
|
||||
__builder3.AddAttribute(48, "Width", "100");
|
||||
__builder3.AddAttribute(49, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(50, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(51);
|
||||
__builder3.AddAttribute(52, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
nameof(Lehrer.name)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(53, "HeaderText", "Name");
|
||||
__builder3.AddAttribute(54, "Width", "100");
|
||||
__builder3.AddAttribute(55, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(56, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(57);
|
||||
__builder3.AddAttribute(58, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
nameof(Lehrer.vorname)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(59, "HeaderText", "Vorname");
|
||||
__builder3.AddAttribute(60, "Width", "100");
|
||||
__builder3.AddAttribute(61, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(62, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(63);
|
||||
__builder3.AddAttribute(64, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
nameof(Lehrer.tel)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(65, "HeaderText", "Tel");
|
||||
__builder3.AddAttribute(66, "Width", "100");
|
||||
__builder3.AddAttribute(67, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(68, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(69);
|
||||
__builder3.AddAttribute(70, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
nameof(Lehrer.handy)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(71, "HeaderText", "Handy");
|
||||
__builder3.AddAttribute(72, "Width", "100");
|
||||
__builder3.AddAttribute(73, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(74, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(75);
|
||||
__builder3.AddAttribute(76, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
nameof(Lehrer.email)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(77, "HeaderText", "Email");
|
||||
__builder3.AddAttribute(78, "Width", "100");
|
||||
__builder3.AddAttribute(79, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(80, "\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(81);
|
||||
__builder3.AddAttribute(82, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
nameof(Lehrer.schulhausID)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(83, "HeaderText", "Schulhausid");
|
||||
__builder3.AddAttribute(84, "Width", "100");
|
||||
__builder3.AddAttribute(85, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(86, "\r\n\r\n\r\n");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(87);
|
||||
__builder3.AddAttribute(88, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 55 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
nameof(Lehrer.userid)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(89, "HeaderText", "Userid");
|
||||
__builder3.AddAttribute(90, "Width", "100");
|
||||
__builder3.AddAttribute(91, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 55 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(92, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(93);
|
||||
__builder3.AddAttribute(94, "HeaderText", "Funktionen");
|
||||
__builder3.AddAttribute(95, "Width", "150");
|
||||
__builder3.AddAttribute(96, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.OpenComponent<Syncfusion.Blazor.Grids.GridCommandColumns>(97);
|
||||
__builder4.AddAttribute(98, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder5) => {
|
||||
__builder5.OpenComponent<Syncfusion.Blazor.Grids.GridCommandColumn>(99);
|
||||
__builder5.AddAttribute(100, "Title", "Lehrer-Daten");
|
||||
__builder5.AddAttribute(101, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonType>(
|
||||
#nullable restore
|
||||
#line 59 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
CommandButtonType.None
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.AddAttribute(102, "ButtonOption", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonOptions>(
|
||||
#nullable restore
|
||||
#line 59 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
new CommandButtonOptions() {IconCss="fas fa-pen", CssClass="e-flat" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.CloseComponent();
|
||||
__builder5.AddMarkupContent(103, "\r\n ");
|
||||
__builder5.OpenComponent<Syncfusion.Blazor.Grids.GridCommandColumn>(104);
|
||||
__builder5.AddAttribute(105, "Title", "Schüler-Daten");
|
||||
__builder5.AddAttribute(106, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonType>(
|
||||
#nullable restore
|
||||
#line 60 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
CommandButtonType.None
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.AddAttribute(107, "ButtonOption", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonOptions>(
|
||||
#nullable restore
|
||||
#line 60 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
new CommandButtonOptions() {IconCss="fas fa-user", CssClass="e-flat" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.CloseComponent();
|
||||
__builder5.AddMarkupContent(108, "\r\n\r\n ");
|
||||
__builder5.OpenComponent<Syncfusion.Blazor.Grids.GridCommandColumn>(109);
|
||||
__builder5.AddAttribute(110, "Title", "Löschen");
|
||||
__builder5.AddAttribute(111, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonType>(
|
||||
#nullable restore
|
||||
#line 62 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
CommandButtonType.None
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.AddAttribute(112, "ButtonOption", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonOptions>(
|
||||
#nullable restore
|
||||
#line 62 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
new CommandButtonOptions() {IconCss="e-icons e-delete", CssClass="e-flat" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.CloseComponent();
|
||||
__builder5.AddMarkupContent(113, "\r\n ");
|
||||
__builder5.OpenComponent<Syncfusion.Blazor.Grids.GridCommandColumn>(114);
|
||||
__builder5.AddAttribute(115, "Title", "EMail");
|
||||
__builder5.AddAttribute(116, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonType>(
|
||||
#nullable restore
|
||||
#line 63 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
CommandButtonType.None
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.AddAttribute(117, "ButtonOption", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.CommandButtonOptions>(
|
||||
#nullable restore
|
||||
#line 63 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
new CommandButtonOptions() {IconCss="e-icons e-mail", CssClass="e-flat" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder5.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder4.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
}
|
||||
, 118, (__value) => {
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
Grid = __value;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
);
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(119, "\r\n");
|
||||
__builder.OpenElement(120, "div");
|
||||
__builder.AddAttribute(121, "class", "col-lg-12 control-section toast-default-section");
|
||||
__builder.OpenComponent<Syncfusion.Blazor.Notifications.SfToast>(122);
|
||||
__builder.AddAttribute(123, "ID", "toast_default");
|
||||
__builder.AddAttribute(124, "Content", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 73 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
ToastContent
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder.AddAttribute(125, "Timeout", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32>(
|
||||
#nullable restore
|
||||
#line 73 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
5000
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder.AddAttribute(126, "Icon", "e-meeting");
|
||||
__builder.AddAttribute(127, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Notifications.ToastPosition>(128);
|
||||
__builder2.AddAttribute(129, "X", "Right");
|
||||
__builder2.AddAttribute(130, "Y", "Bottom");
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(131, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Notifications.ToastAnimationSettings>(132);
|
||||
__builder2.AddAttribute(133, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Notifications.ToastShowAnimationSettings>(134);
|
||||
__builder3.AddAttribute(135, "Effect", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Notifications.ToastEffect>(
|
||||
#nullable restore
|
||||
#line 76 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
ShowAnimation
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(136, "\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Notifications.ToastHideAnimationSettings>(137);
|
||||
__builder3.AddAttribute(138, "Effect", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Notifications.ToastEffect>(
|
||||
#nullable restore
|
||||
#line 77 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
HideAnimation
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder.AddComponentReferenceCapture(139, (__value) => {
|
||||
#nullable restore
|
||||
#line 73 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
ToastObj = (Syncfusion.Blazor.Notifications.SfToast)__value;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
);
|
||||
__builder.CloseComponent();
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(140, "\r\n");
|
||||
__builder.AddMarkupContent(141, "<style>\r\n .bootstrap4 #toast_default .e-meeting::before {\r\n content: \"\\e763\";\r\n font-size: 20px;\r\n }\r\n\r\n .e-toast-container .e-toast {\r\n background-color: lightgreen;\r\n }\r\n \r\n\r\n</style>\r\n");
|
||||
__builder.AddMarkupContent(142, "<style>\r\n\r\n div#Grid_dialogEdit_wrapper {\r\n max-height: none !important;\r\n }\r\n</style>");
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 100 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
|
||||
SfToast ToastObj;
|
||||
private string ToastPosition = "Right";
|
||||
private string ToastContent = "Daten erfolgreich gespeichert";
|
||||
private ToastEffect ShowAnimation = ToastEffect.FadeIn;
|
||||
private ToastEffect HideAnimation = ToastEffect.FadeOut;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 108 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Teacher\Teacher.razor"
|
||||
|
||||
private DialogSettings DialogParams = new DialogSettings { Width = "450px", Height = "750px" };
|
||||
|
||||
SfGrid<Lehrer> Grid { get; set; }
|
||||
public List<BWPMModels.Lehrer> GridData { get; set; }
|
||||
public List<BWPMModels.Lehrer> Lehrers { get; set; }
|
||||
public List<BWPMModels.Lehrer> TmpLehrer { get; set; }
|
||||
public List<BWPMModels.AspNetUsers> Users { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
/// GridData = OrdersDetails.GetAllRecords();
|
||||
GridData = BlazorApp.Controller.LehrerController.GetAllData();
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
|
||||
userid = await sessionStorage.GetItemAsync<string>("UserID");
|
||||
|
||||
if (userid == null)
|
||||
{
|
||||
var authState = await authenticationStateTask;
|
||||
var userId = authState.User.Claims.FirstOrDefault().Value;
|
||||
var user = authState.User;
|
||||
|
||||
if (user.Identity.IsAuthenticated)
|
||||
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
}
|
||||
}
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.Lehrer> Args)
|
||||
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
if (Args.Action == "Add")
|
||||
{
|
||||
|
||||
Users = BlazorApp.Controller.AspNetUsersController.GetByUserName(Args.Data.email);
|
||||
if (Users.Count !=0)
|
||||
{
|
||||
Args.Cancel = true;
|
||||
ToastObj.CssClass = "e-toast-danger";
|
||||
ToastContent = "Ein Benutzer mit der gleichen E-Mailadresse ist bereits vorhanden.";
|
||||
StateHasChanged();
|
||||
ToastObj.ShowAsync();
|
||||
// Grid.Refresh();
|
||||
return;
|
||||
|
||||
}
|
||||
else {
|
||||
|
||||
Args.Data.erstellt_am = DateTime.Now;
|
||||
Args.Data.mutierer = userid;
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = true;
|
||||
Args.Data.ID = BlazorApp.Controller.LehrerController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
TmpLehrer = BlazorApp.Controller.LehrerController.GetByEMail(Args.Data.email);
|
||||
if (TmpLehrer.Count > 1)
|
||||
{
|
||||
Args.Cancel = true;
|
||||
ToastObj.CssClass = "e-toast-danger";
|
||||
ToastContent = "Die eingegebene Mail-Aadresse wird bereits verwendet.";
|
||||
StateHasChanged();
|
||||
ToastObj.ShowAsync();
|
||||
// Grid.Refresh();
|
||||
return;
|
||||
}
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.LehrerController.PUT(Args.Data);
|
||||
ToastObj.CssClass = "e-toast-success";
|
||||
ToastContent = "Daten erfolgreich gespeichert";
|
||||
StateHasChanged();
|
||||
ToastObj.ShowAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.Lehrer> Args)
|
||||
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
await Grid.SetRowData(Args.Data.ID, Args.Data);
|
||||
double xx = 0;
|
||||
Value = Args.Data.ID;
|
||||
xx = await DataHandler();
|
||||
await Grid.SelectRow(xx);
|
||||
|
||||
}
|
||||
}
|
||||
public async void RowDataBoundHandler(BeforeDataBoundArgs<BWPMModels.Lehrer> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
//await Task.Delay(100);
|
||||
//var Idx = await this.Grid.GetRowIndexByPrimaryKey(Convert.ToDouble(Value)); //get index value
|
||||
//this.Grid.SelectRow(Convert.ToDouble(Idx));
|
||||
}
|
||||
Initial = false;
|
||||
}
|
||||
|
||||
public async Task<double> DataHandler()
|
||||
{
|
||||
var PageCount = (GridData.Count / Grid.PageSettings.PageSize) + 1;
|
||||
ContinuePaging = true;
|
||||
var CurrentPage = 1;
|
||||
Grid.Refresh();
|
||||
await Grid.GoToPage(1);
|
||||
|
||||
for (int i = 1; i <= PageCount; i++)
|
||||
|
||||
{
|
||||
List<Lehrer> Rows = await Grid.GetCurrentViewRecords(); // returns the current view data
|
||||
for (int j = 0; j < Grid.PageSettings.PageSize; j++)
|
||||
{
|
||||
if (j < Rows.Count && Rows[j].ID == Value)
|
||||
{
|
||||
foundrow = j;
|
||||
|
||||
ContinuePaging = false; // prevent the default navigation
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
public void CommandClickHandler(CommandClickEventArgs<Lehrer> args)
|
||||
{
|
||||
if (args.CommandColumn.Title == "Lehrer-Daten")
|
||||
{
|
||||
NavigationManager.NavigateTo("/Teacher/TeacherContact/" + args.RowData.ID.ToString());
|
||||
|
||||
}
|
||||
if (args.CommandColumn.Title == "Schüler-Daten")
|
||||
{
|
||||
NavigationManager.NavigateTo("/Teacher/TeacherStudent/" + args.RowData.ID.ToString());
|
||||
|
||||
}
|
||||
if (args.CommandColumn.Title=="Berufsangebot"){
|
||||
NavigationManager.NavigateTo("/Company/Berufsangebot/" + args.RowData.ID.ToString());
|
||||
|
||||
}
|
||||
if (args.CommandColumn.Title=="Ansprechperson"){
|
||||
NavigationManager.NavigateTo("/Company/CompanyContact/" + args.RowData.ID.ToString());
|
||||
|
||||
}
|
||||
//Perform your custom command button click operation here. And also with the value in “args” you can differentiate the buttons, if having multiple custom command buttons.
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
namespace __Blazor.BlazorApp.Pages.Admin.Teacher.Teacher
|
||||
{
|
||||
#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.String __arg0, int __seq1, global::System.Collections.Generic.IEnumerable<TValue> __arg1, int __seq2, global::System.Boolean __arg2, int __seq3, global::System.Boolean __arg3, int __seq4, global::Microsoft.AspNetCore.Components.RenderFragment __arg4, int __seq5, global::System.Action<global::Syncfusion.Blazor.Grids.SfGrid<TValue>> __arg5)
|
||||
{
|
||||
__builder.OpenComponent<global::Syncfusion.Blazor.Grids.SfGrid<TValue>>(seq);
|
||||
__builder.AddAttribute(__seq0, "ID", __arg0);
|
||||
__builder.AddAttribute(__seq1, "DataSource", __arg1);
|
||||
__builder.AddAttribute(__seq2, "AllowPaging", __arg2);
|
||||
__builder.AddAttribute(__seq3, "AllowSorting", __arg3);
|
||||
__builder.AddAttribute(__seq4, "ChildContent", __arg4);
|
||||
__builder.AddComponentReferenceCapture(__seq5, (__value) => { __arg5((global::Syncfusion.Blazor.Grids.SfGrid<TValue>)__value); });
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,676 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0b7c0ba6853be41db0275529e29ce55e3c382783"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.User
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/User/UserList")]
|
||||
public partial class UserList : UserListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<h1>Benutzer</h1>\r\n\r\n\r\n\r\n\r\n\r\n ");
|
||||
__builder.OpenComponent<Microsoft.AspNetCore.Components.Authorization.AuthorizeView>(1);
|
||||
__builder.AddAttribute(2, "Roles", "Administrators");
|
||||
__builder.AddAttribute(3, "Authorized", (Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>)((context) => (__builder2) => {
|
||||
__builder2.AddMarkupContent(4, "\r\n This content is displayed only if the user is Authorized\r\n ");
|
||||
}
|
||||
));
|
||||
__builder.AddAttribute(5, "NotAuthorized", (Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>)((context) => (__builder2) => {
|
||||
__builder2.AddMarkupContent(6, "\r\n This content is displayed if the user is Not Authorized\r\n ");
|
||||
}
|
||||
));
|
||||
__builder.CloseComponent();
|
||||
__builder.AddMarkupContent(7, "\r\n");
|
||||
__builder.OpenComponent<Microsoft.AspNetCore.Components.Authorization.AuthorizeView>(8);
|
||||
__builder.AddAttribute(9, "Authorized", (Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>)((context) => (__builder2) => {
|
||||
__builder2.OpenElement(10, "div");
|
||||
__builder2.AddAttribute(11, "class", "col-lg-12 control-section");
|
||||
__builder2.OpenElement(12, "div");
|
||||
__builder2.AddAttribute(13, "class", "content-wrapper");
|
||||
__builder2.OpenElement(14, "div");
|
||||
__builder2.AddAttribute(15, "class", "row");
|
||||
__builder2.OpenElement(16, "div");
|
||||
__builder2.AddAttribute(17, "id", "container");
|
||||
__Blazor.BlazorApp.Pages.Admin.User.UserList.TypeInference.CreateSfGrid_0(__builder2, 18, 19,
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
users
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 20,
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
new List<string>() { "Add","Edit", "Delete", "Update", "Cancel" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 21, "315", 22,
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 23,
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 24,
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 25,
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 26, (__builder3) => {
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridFilterSettings>(27);
|
||||
__builder3.AddAttribute(28, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.FilterType>(
|
||||
#nullable restore
|
||||
#line 42 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
Syncfusion.Blazor.Grids.FilterType.Menu
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(29, "\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridEditSettings>(30);
|
||||
__builder3.AddAttribute(31, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(32, "AllowDeleting", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(33, "AllowEditing", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(34, "Mode", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.EditMode>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
EditMode.Dialog
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(35, "\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridEvents<User>>(36);
|
||||
__builder3.AddAttribute(37, "OnActionBegin", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<User>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<User>>(this,
|
||||
#nullable restore
|
||||
#line 44 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
OnBeginHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(38, "\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridSelectionSettings>(39);
|
||||
__builder3.AddAttribute(40, "CheckboxOnly", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(41, "PersistSelection", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(42, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.SelectionType>(
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
SelectionType.Multiple
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(43, "\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(44);
|
||||
__builder3.AddAttribute(45, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
|
||||
__builder4.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(46);
|
||||
__builder4.AddAttribute(47, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
ColumnType.CheckBox
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(48, "AllowFiltering", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(49, "AllowSorting", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 47 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(50, "Width", "60");
|
||||
__builder4.CloseComponent();
|
||||
__builder4.AddMarkupContent(51, "\r\n ");
|
||||
__builder4.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(52);
|
||||
__builder4.AddAttribute(53, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 48 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
nameof(User.ID)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(54, "HeaderText", "ID");
|
||||
__builder4.AddAttribute(55, "IsPrimaryKey", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 48 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(56, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 48 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(57, "Width", "40");
|
||||
__builder4.CloseComponent();
|
||||
__builder4.AddMarkupContent(58, "\r\n ");
|
||||
__Blazor.BlazorApp.Pages.Admin.User.UserList.TypeInference.CreateGridForeignColumn_1(__builder4, 59, 60,
|
||||
#nullable restore
|
||||
#line 49 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
nameof(User.usertype)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 61, "Typ", 62, "Typ", 63,
|
||||
#nullable restore
|
||||
#line 49 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
usertypes
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 64, "150");
|
||||
__builder4.AddMarkupContent(65, "\r\n ");
|
||||
__builder4.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(66);
|
||||
__builder4.AddAttribute(67, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 50 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
nameof(User.username)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(68, "HeaderText", "Username");
|
||||
__builder4.AddAttribute(69, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 50 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(70, "Width", "60");
|
||||
__builder4.CloseComponent();
|
||||
__builder4.AddMarkupContent(71, "\r\n ");
|
||||
__builder4.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(72);
|
||||
__builder4.AddAttribute(73, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 51 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
nameof(User.passwort)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(74, "HeaderText", "Passwort");
|
||||
__builder4.AddAttribute(75, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 51 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(76, "Width", "60");
|
||||
__builder4.CloseComponent();
|
||||
__builder4.AddMarkupContent(77, "\r\n ");
|
||||
__builder4.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(78);
|
||||
__builder4.AddAttribute(79, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 52 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
nameof(User.email)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(80, "HeaderText", "Mail");
|
||||
__builder4.AddAttribute(81, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 52 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(82, "Width", "60");
|
||||
__builder4.CloseComponent();
|
||||
__builder4.AddMarkupContent(83, "\r\n ");
|
||||
__builder4.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(84);
|
||||
__builder4.AddAttribute(85, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 53 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
nameof(User.mutiert_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(86, "HeaderText", "Mutiert");
|
||||
__builder4.AddAttribute(87, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 53 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(88, "Format", "d");
|
||||
__builder4.AddAttribute(89, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 53 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(90, "Width", "100");
|
||||
__builder4.CloseComponent();
|
||||
__builder4.AddMarkupContent(91, "\r\n ");
|
||||
__builder4.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(92);
|
||||
__builder4.AddAttribute(93, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 54 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
nameof(User.aktiv)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(94, "HeaderText", "Aktiv");
|
||||
__builder4.AddAttribute(95, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 54 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.AddAttribute(96, "Width", "60");
|
||||
__builder4.AddAttribute(97, "DisplayAsCheckBox", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 54 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder4.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
}
|
||||
);
|
||||
__builder2.CloseElement();
|
||||
__builder2.CloseElement();
|
||||
__builder2.CloseElement();
|
||||
__builder2.CloseElement();
|
||||
}
|
||||
));
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 63 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\User\UserList.razor"
|
||||
|
||||
|
||||
|
||||
public List<User> users { get; set; }
|
||||
public List<usertypedata> usertypes { get; set; }
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
users = BlazorApp.Controller.UserController.GetAllData();
|
||||
usertypes = new List<usertypedata>();
|
||||
usertypes.Add(new usertypedata { usertype = 0, Typ = "Admin" });
|
||||
usertypes.Add(new usertypedata { usertype = 1, Typ = "User" });
|
||||
|
||||
}
|
||||
|
||||
private void OnBeginHandler(ActionEventArgs<User> Args)
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
if (Args.Action == "add")
|
||||
{
|
||||
var t = Args.Data; //returns the edited / insrted record details.
|
||||
//insert into your db
|
||||
}
|
||||
else
|
||||
{
|
||||
string userid = "";
|
||||
userid = sessionStorage.GetItemAsync<string>("UserID").ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.UserController.savedata(Args.Data);
|
||||
//var t = Args.Data;
|
||||
|
||||
if (userid==null) { sessionStorage.SetItemAsync("UserID", "Stefan"); };
|
||||
}
|
||||
}
|
||||
}
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
string userid = "";
|
||||
|
||||
userid = await sessionStorage.GetItemAsync<string>("UserID");
|
||||
|
||||
if (userid == null)
|
||||
{
|
||||
var authState = await authenticationStateTask;
|
||||
var userId = authState.User.Claims.FirstOrDefault().Value;
|
||||
var user = authState.User;
|
||||
|
||||
if (user.Identity.IsAuthenticated)
|
||||
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", "");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class usertypedata
|
||||
{
|
||||
public int usertype { get; set; }
|
||||
public string Typ { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
namespace __Blazor.BlazorApp.Pages.Admin.User.UserList
|
||||
{
|
||||
#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::System.Object __arg1, int __seq2, global::System.String __arg2, int __seq3, global::System.Boolean __arg3, int __seq4, global::System.Boolean __arg4, int __seq5, global::System.Boolean __arg5, int __seq6, global::System.Boolean __arg6, int __seq7, global::Microsoft.AspNetCore.Components.RenderFragment __arg7)
|
||||
{
|
||||
__builder.OpenComponent<global::Syncfusion.Blazor.Grids.SfGrid<TValue>>(seq);
|
||||
__builder.AddAttribute(__seq0, "DataSource", __arg0);
|
||||
__builder.AddAttribute(__seq1, "Toolbar", __arg1);
|
||||
__builder.AddAttribute(__seq2, "Height", __arg2);
|
||||
__builder.AddAttribute(__seq3, "AllowSelection", __arg3);
|
||||
__builder.AddAttribute(__seq4, "AllowSorting", __arg4);
|
||||
__builder.AddAttribute(__seq5, "AllowFiltering", __arg5);
|
||||
__builder.AddAttribute(__seq6, "EnableVirtualization", __arg6);
|
||||
__builder.AddAttribute(__seq7, "ChildContent", __arg7);
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
public static void CreateGridForeignColumn_1<TValue>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.String __arg0, int __seq1, global::System.String __arg1, int __seq2, global::System.String __arg2, int __seq3, global::System.Collections.Generic.IEnumerable<TValue> __arg3, int __seq4, global::System.String __arg4)
|
||||
{
|
||||
__builder.OpenComponent<global::Syncfusion.Blazor.Grids.GridForeignColumn<TValue>>(seq);
|
||||
__builder.AddAttribute(__seq0, "Field", __arg0);
|
||||
__builder.AddAttribute(__seq1, "HeaderText", __arg1);
|
||||
__builder.AddAttribute(__seq2, "ForeignKeyValue", __arg2);
|
||||
__builder.AddAttribute(__seq3, "ForeignDataSource", __arg3);
|
||||
__builder.AddAttribute(__seq4, "Width", __arg4);
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,778 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "fb6534f8eec45a6370299a97f36b7336b5bc973d"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.Zeiten
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
using Syncfusion.Blazor.Grids;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
using Syncfusion.Blazor.Buttons;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
using BlazorApp.Controller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/Zeiten/ZeitenList")]
|
||||
public partial class Zeitenlist : ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.AddMarkupContent(0, "<h1>Zeiten</h1>\r\n\r\n");
|
||||
__builder.OpenElement(1, "div");
|
||||
__builder.AddAttribute(2, "class", "col-lg-12 control-section");
|
||||
__builder.OpenElement(3, "div");
|
||||
__builder.AddAttribute(4, "class", "content-wrapper");
|
||||
__builder.OpenElement(5, "div");
|
||||
__builder.AddAttribute(6, "class", "row");
|
||||
__Blazor.BlazorApp.Pages.Admin.Zeiten.Zeitenlist.TypeInference.CreateSfGrid_0(__builder, 7, 8,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
GridData
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 9,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 10,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 11,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 12,
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
new List<string>() { "Add", "Edit", "Update", "Cancel" }
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
, 13, (__builder2) => {
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEditSettings>(14);
|
||||
__builder2.AddAttribute(15, "AllowAdding", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(16, "AllowDeleting", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(17, "AllowEditing", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.AddAttribute(18, "Mode", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.EditMode>(
|
||||
#nullable restore
|
||||
#line 20 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
EditMode.Dialog
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(19, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEvents<Zeiten>>(20);
|
||||
__builder2.AddAttribute(21, "OnActionBegin", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<Zeiten>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<Zeiten>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
OnBeginHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(22, "OnActionComplete", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.ActionEventArgs<Zeiten>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.ActionEventArgs<Zeiten>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
OnCompletedHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.AddAttribute(23, "OnDataBound", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<Zeiten>>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Grids.BeforeDataBoundArgs<Zeiten>>(this,
|
||||
#nullable restore
|
||||
#line 21 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
RowDataBoundHandler
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
)));
|
||||
__builder2.CloseComponent();
|
||||
__builder2.AddMarkupContent(24, "\r\n ");
|
||||
__builder2.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(25);
|
||||
__builder2.AddAttribute(26, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(27);
|
||||
__builder3.AddAttribute(28, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
nameof(Zeiten.ID)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(29, "HeaderText", "ID");
|
||||
__builder3.AddAttribute(30, "IsIdentity", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(31, "IsPrimaryKey", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(32, "Width", "100");
|
||||
__builder3.AddAttribute(33, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 25 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(34, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(35);
|
||||
__builder3.AddAttribute(36, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
nameof(Zeiten.bezeichnung)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(37, "HeaderText", "Bezeichnung");
|
||||
__builder3.AddAttribute(38, "Width", "100");
|
||||
__builder3.AddAttribute(39, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(40, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(41);
|
||||
__builder3.AddAttribute(42, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
nameof(Zeiten.beschreibung)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(43, "HeaderText", "Beschreibung");
|
||||
__builder3.AddAttribute(44, "Width", "100");
|
||||
__builder3.AddAttribute(45, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 29 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(46, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(47);
|
||||
__builder3.AddAttribute(48, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
nameof(Zeiten.reihenfolge)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(49, "HeaderText", "Reihenfolge");
|
||||
__builder3.AddAttribute(50, "Width", "100");
|
||||
__builder3.AddAttribute(51, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(52, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(53);
|
||||
__builder3.AddAttribute(54, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
nameof(Zeiten.aktiv)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(55, "HeaderText", "Aktiv");
|
||||
__builder3.AddAttribute(56, "Width", "100");
|
||||
__builder3.AddAttribute(57, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(58, "DisplayAsCheckBox", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 33 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(59, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(60);
|
||||
__builder3.AddAttribute(61, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
nameof(Zeiten.erstellt_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(62, "HeaderText", "Erstellt_am");
|
||||
__builder3.AddAttribute(63, "Width", "100");
|
||||
__builder3.AddAttribute(64, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(65, "Format", "d");
|
||||
__builder3.AddAttribute(66, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(67, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(68);
|
||||
__builder3.AddAttribute(69, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
nameof(Zeiten.mutiert_am)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(70, "HeaderText", "Mutiert_am");
|
||||
__builder3.AddAttribute(71, "Width", "100");
|
||||
__builder3.AddAttribute(72, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(73, "Format", "d");
|
||||
__builder3.AddAttribute(74, "Type", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
|
||||
#nullable restore
|
||||
#line 37 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
ColumnType.Date
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(75, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(76);
|
||||
__builder3.AddAttribute(77, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
nameof(Zeiten.mutierer)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(78, "HeaderText", "Mutierer");
|
||||
__builder3.AddAttribute(79, "Width", "100");
|
||||
__builder3.AddAttribute(80, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 39 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(81, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(82);
|
||||
__builder3.AddAttribute(83, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
nameof(Zeiten.oeffentlich)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(84, "HeaderText", "Oeffentlich");
|
||||
__builder3.AddAttribute(85, "Width", "100");
|
||||
__builder3.AddAttribute(86, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(87, "DisplayAsCheckBox", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(88, "DefaultValue", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
|
||||
#nullable restore
|
||||
#line 41 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
true
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
__builder3.AddMarkupContent(89, "\r\n\r\n ");
|
||||
__builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(90);
|
||||
__builder3.AddAttribute(91, "Field", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
nameof(Zeiten.mandantnr)
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.AddAttribute(92, "HeaderText", "Mandantnr");
|
||||
__builder3.AddAttribute(93, "Width", "100");
|
||||
__builder3.AddAttribute(94, "Visible", global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
|
||||
#nullable restore
|
||||
#line 43 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
false
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder3.CloseComponent();
|
||||
}
|
||||
));
|
||||
__builder2.CloseComponent();
|
||||
}
|
||||
, 95, (__value) => {
|
||||
#nullable restore
|
||||
#line 18 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
Grid = __value;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
}
|
||||
);
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 49 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zeiten\Zeitenlist.razor"
|
||||
SfGrid<Zeiten> Grid { get; set; }
|
||||
public List<BWPMModels.Zeiten> GridData { get; set; }
|
||||
public List<BWPMModels.Zeiten> Zeitens { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
|
||||
public bool ContinuePaging = true;
|
||||
public bool InitialRender { get; set; }
|
||||
public int Value = 0; // consider that value your querystring contains
|
||||
public int foundrow = 0;
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
/// GridData = OrdersDetails.GetAllRecords();
|
||||
GridData = BlazorApp.Controller.ZeitenController.GetAllData();
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
|
||||
userid = await sessionStorage.GetItemAsync<string>("UserID");
|
||||
|
||||
if (userid == null)
|
||||
{
|
||||
var authState = await authenticationStateTask;
|
||||
var userId = authState.User.Claims.FirstOrDefault().Value;
|
||||
var user = authState.User;
|
||||
|
||||
if (user.Identity.IsAuthenticated)
|
||||
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
else
|
||||
{
|
||||
await sessionStorage.SetItemAsync("UserID", userId);
|
||||
}
|
||||
}
|
||||
}
|
||||
private async Task OnBeginHandler(ActionEventArgs<BWPMModels.Zeiten> Args)
|
||||
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
if (Args.Action == "Add")
|
||||
{
|
||||
|
||||
Args.Data.erstellt_am = DateTime.Now;
|
||||
Args.Data.mutierer = userid;
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
Args.Data.aktiv = true;
|
||||
Args.Data.ID = BlazorApp.Controller.ZeitenController.POST(Args.Data);
|
||||
Value = Args.Data.ID;
|
||||
}
|
||||
else
|
||||
{
|
||||
Args.Data.mutierer = userid.ToString();
|
||||
Args.Data.mutiert_am = DateTime.Now;
|
||||
BlazorApp.Controller.ZeitenController.PUT(Args.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OnCompletedHandler(ActionEventArgs<BWPMModels.Zeiten> Args)
|
||||
|
||||
{
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.RowDragAndDrop)
|
||||
{
|
||||
List<Zeiten> Rows = await Grid.GetCurrentViewRecords();
|
||||
int order = 1;
|
||||
foreach (Zeiten row in Rows)
|
||||
{
|
||||
row.reihenfolge = order;
|
||||
BlazorApp.Controller.ZeitenController.PUT(row);
|
||||
order = order + 1;
|
||||
Grid.Refresh();
|
||||
}
|
||||
|
||||
}
|
||||
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
|
||||
{
|
||||
await Grid.SetRowData(Args.Data.ID, Args.Data);
|
||||
double xx = 0;
|
||||
Value = Args.Data.ID;
|
||||
xx = await DataHandler();
|
||||
await Grid.SelectRow(xx);
|
||||
|
||||
}
|
||||
}
|
||||
public async void RowDataBoundHandler(BeforeDataBoundArgs<BWPMModels.Zeiten> args)
|
||||
{
|
||||
if (!Initial)
|
||||
{
|
||||
//await Task.Delay(100);
|
||||
//var Idx = await this.Grid.GetRowIndexByPrimaryKey(Convert.ToDouble(Value)); //get index value
|
||||
//this.Grid.SelectRow(Convert.ToDouble(Idx));
|
||||
}
|
||||
Initial = false;
|
||||
}
|
||||
|
||||
public async Task<double> DataHandler()
|
||||
{
|
||||
var PageCount = (GridData.Count / Grid.PageSettings.PageSize) + 1;
|
||||
ContinuePaging = true;
|
||||
var CurrentPage = 1;
|
||||
Grid.Refresh();
|
||||
await Grid.GoToPage(1);
|
||||
|
||||
for (int i = 1; i <= PageCount; i++)
|
||||
|
||||
{
|
||||
List<Zeiten> Rows = await Grid.GetCurrentViewRecords(); // returns the current view data
|
||||
for (int j = 0; j < Grid.PageSettings.PageSize; j++)
|
||||
{
|
||||
if (j < Rows.Count && Rows[j].ID == Value)
|
||||
{
|
||||
foundrow = j;
|
||||
|
||||
ContinuePaging = false; // prevent the default navigation
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ContinuePaging)
|
||||
{
|
||||
if (i >= PageCount)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
await Grid.GoToPage(i + 1);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return foundrow;
|
||||
}
|
||||
}
|
||||
return foundrow;
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
namespace __Blazor.BlazorApp.Pages.Admin.Zeiten.Zeitenlist
|
||||
{
|
||||
#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::System.Boolean __arg1, int __seq2, global::System.Boolean __arg2, int __seq3, global::System.Boolean __arg3, int __seq4, global::System.Object __arg4, int __seq5, global::Microsoft.AspNetCore.Components.RenderFragment __arg5, int __seq6, global::System.Action<global::Syncfusion.Blazor.Grids.SfGrid<TValue>> __arg6)
|
||||
{
|
||||
__builder.OpenComponent<global::Syncfusion.Blazor.Grids.SfGrid<TValue>>(seq);
|
||||
__builder.AddAttribute(__seq0, "DataSource", __arg0);
|
||||
__builder.AddAttribute(__seq1, "AllowPaging", __arg1);
|
||||
__builder.AddAttribute(__seq2, "AllowSorting", __arg2);
|
||||
__builder.AddAttribute(__seq3, "AllowRowDragAndDrop", __arg3);
|
||||
__builder.AddAttribute(__seq4, "Toolbar", __arg4);
|
||||
__builder.AddAttribute(__seq5, "ChildContent", __arg5);
|
||||
__builder.AddComponentReferenceCapture(__seq6, (__value) => { __arg6((global::Syncfusion.Blazor.Grids.SfGrid<TValue>)__value); });
|
||||
__builder.CloseComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
@@ -0,0 +1,288 @@
|
||||
#pragma checksum "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zuteilung\Zuteilung.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "750856f2b79ec01f335a5aea781385b018fb8c2a"
|
||||
// <auto-generated/>
|
||||
#pragma warning disable 1591
|
||||
namespace BlazorApp.Pages.Admin.Zuteilung
|
||||
{
|
||||
#line hidden
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
#nullable restore
|
||||
#line 1 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using System.Net.Http;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 2 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 3 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Microsoft.JSInterop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using BlazorApp.Shared;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Syncfusion.Blazor.Calendars;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Radzen.Blazor;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 15 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 16 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 17 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using FastReport.Web.Blazor.Components;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 19 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\_Imports.razor"
|
||||
using Blazored.SessionStorage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 4 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zuteilung\Zuteilung.razor"
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 5 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zuteilung\Zuteilung.razor"
|
||||
using Syncfusion.Blazor.Spinner;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 6 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zuteilung\Zuteilung.razor"
|
||||
using Syncfusion.Blazor.Navigations;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 7 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zuteilung\Zuteilung.razor"
|
||||
using Syncfusion.Blazor.Popups;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 8 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zuteilung\Zuteilung.razor"
|
||||
using Syncfusion.Blazor.DropDowns;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 9 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zuteilung\Zuteilung.razor"
|
||||
using Syncfusion.Blazor.Lists;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 10 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zuteilung\Zuteilung.razor"
|
||||
using Syncfusion.Blazor.Inputs;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 11 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zuteilung\Zuteilung.razor"
|
||||
using Syncfusion.Blazor.Notifications;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 12 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zuteilung\Zuteilung.razor"
|
||||
using BlazorApp.Helper;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
#nullable restore
|
||||
#line 13 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zuteilung\Zuteilung.razor"
|
||||
using BWPMModels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[Microsoft.AspNetCore.Components.RouteAttribute("/Admin/Zuteilung/Zuteilung")]
|
||||
public partial class Zuteilung : Admin.ListBase
|
||||
{
|
||||
#pragma warning disable 1998
|
||||
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
|
||||
{
|
||||
__builder.OpenElement(0, "div");
|
||||
__builder.AddAttribute(1, "class", "col-lg-12 control-section");
|
||||
__builder.OpenElement(2, "div");
|
||||
__builder.AddAttribute(3, "class", "content-wrapper");
|
||||
__builder.OpenElement(4, "div");
|
||||
__builder.AddAttribute(5, "class", "card");
|
||||
__builder.AddMarkupContent(6, "<h6 class=\"card-header card-header1\">Automatische Berufs-Zuteilung </h6>\r\n ");
|
||||
__builder.OpenElement(7, "div");
|
||||
__builder.AddAttribute(8, "class", "card-body");
|
||||
__builder.AddMarkupContent(9, "\r\n Drücken Sie auf \"Zuteilung ausführen\" um die automatische Berufszuteilung durchzuführen.\"<br><br>\r\n ");
|
||||
__builder.AddMarkupContent(10, "<p style=\"color:red\">Achtung! Sämtliche vorhandenen Zuteilungen werden gelöscht.</p>\r\n <br>\r\n <br>\r\n ");
|
||||
__builder.AddMarkupContent(11, "<p><b>Zuteilungsart</b></p>\r\n ");
|
||||
__builder.OpenElement(12, "label");
|
||||
__builder.OpenElement(13, "input");
|
||||
__builder.AddAttribute(14, "type", "radio");
|
||||
__builder.AddAttribute(15, "name", "edition");
|
||||
__builder.AddAttribute(16, "checked",
|
||||
#nullable restore
|
||||
#line 27 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zuteilung\Zuteilung.razor"
|
||||
Variante == 1
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
);
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(17, " Zuteilung ab Priorität 2 zufällig\r\n ");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(18, "\r\n <br>\r\n ");
|
||||
__builder.OpenElement(19, "label");
|
||||
__builder.OpenElement(20, "input");
|
||||
__builder.AddAttribute(21, "type", "radio");
|
||||
__builder.AddAttribute(22, "name", "edition");
|
||||
__builder.AddAttribute(23, "checked",
|
||||
#nullable restore
|
||||
#line 31 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zuteilung\Zuteilung.razor"
|
||||
Variante == 2
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
);
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(24, " Berücksichtigung der Prioritäten\r\n ");
|
||||
__builder.CloseElement();
|
||||
__builder.AddMarkupContent(25, "\r\n <br>\r\n <br>\r\n ");
|
||||
__builder.OpenElement(26, "input");
|
||||
__builder.AddAttribute(27, "type", "submit");
|
||||
__builder.AddAttribute(28, "class", "btn btn-primary");
|
||||
__builder.AddAttribute(29, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
|
||||
#nullable restore
|
||||
#line 35 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zuteilung\Zuteilung.razor"
|
||||
zuteilen
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
));
|
||||
__builder.AddAttribute(30, "value", "Zuteilung ausführen");
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
__builder.CloseElement();
|
||||
}
|
||||
#pragma warning restore 1998
|
||||
#nullable restore
|
||||
#line 45 "E:\Software-Projekte\Lehrlingsparcours\Core\BWPM\BlazorApp\Pages\Admin\Zuteilung\Zuteilung.razor"
|
||||
|
||||
private int @Variante = 1;
|
||||
void zuteilen()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#nullable disable
|
||||
[global::Microsoft.AspNetCore.Components.InjectAttribute] private Blazored.SessionStorage.ISessionStorageService sessionStorage { get; set; }
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
Reference in New Issue
Block a user