diff --git a/.github/build-npm.sh b/.github/build-npm.sh new file mode 100644 index 0000000..590d614 --- /dev/null +++ b/.github/build-npm.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# Navigate to the SiemensIXBlazor_NpmJS directory +cd SiemensIXBlazor/SiemensIXBlazor_NpmJS + +# Run npm install +npm install + +# Run npm build +npm run build \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8307131..be048f4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,28 +2,31 @@ name: .NET Build on: push: - branches: [ "master" ] + branches: ["master"] pull_request: - branches: [ "master" ] + branches: ["master"] env: - PROJECT_PATH: "SiemensIXBlazor/SiemensIXBlazor.csproj" + PROJECT_PATH: "SiemensIXBlazor/SiemensIXBlazor.csproj" jobs: build: - runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup .NET - uses: actions/setup-dotnet@v3 - with: - dotnet-version: 8.0.x - - name: Restore dependencies - run: dotnet restore ${{ env.PROJECT_PATH }} - - name: Build - run: dotnet build --no-restore ${{ env.PROJECT_PATH }} --configuration Release - - name: Test with the dotnet CLI - run: dotnet test + - name: Checkout + uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 8.0.x + - name: Restore dependencies + run: dotnet restore ${{ env.PROJECT_PATH }} + - name: Make build-npm.sh executable + run: chmod +x .github/build-npm.sh + - name: Run build-npm.sh + run: .github/build-npm.sh + - name: Build + run: dotnet build --no-restore ${{ env.PROJECT_PATH }} --configuration Release + - name: Test with the dotnet CLI + run: dotnet test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e7e1a1f..a5a0e3b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,45 +3,50 @@ name: Publish on: push: tags: - - '*' + - "*" pull_request: tags: - - '*' + - "*" env: - PROJECT_PATH: "SiemensIXBlazor/SiemensIXBlazor.csproj" - PACKAGE_OUTPUT_DIRECTORY: ${{ github.workspace }}/output - NUGET_SOURCE_URL: 'https://api.nuget.org/v3/index.json' + PROJECT_PATH: "SiemensIXBlazor/SiemensIXBlazor.csproj" + PACKAGE_OUTPUT_DIRECTORY: ${{ github.workspace }}/output + NUGET_SOURCE_URL: "https://api.nuget.org/v3/index.json" jobs: deploy: - runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v3 + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup Dotnet + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 8.0.x + + - name: Restore Dependencies + run: dotnet restore ${{ env.PROJECT_PATH }} + + - name: Make build-npm.sh executable + run: chmod +x .github/build-npm.sh - - name: Setup Dotnet - uses: actions/setup-dotnet@v3 - with: - dotnet-version: 8.0.x + - name: Run build-npm.sh + run: .github/build-npm.sh - - name: Restore Dependencies - run: dotnet restore ${{ env.PROJECT_PATH }} + - name: Build Project + run: dotnet build ${{ env.PROJECT_PATH }} --no-restore --configuration Release - - name: Build Project - run: dotnet build ${{ env.PROJECT_PATH }} --no-restore --configuration Release + - name: Test with the dotnet CLI + run: dotnet test - - name: Test with the dotnet CLI - run: dotnet test + - name: "Get Version" + id: version + uses: battila7/get-version-action@v2 - - name: 'Get Version' - id: version - uses: battila7/get-version-action@v2 + - name: "Pack Project" + run: dotnet pack ${{ env.PROJECT_PATH }} --no-restore --no-build --configuration Release -p:PackageVersion=${{ steps.version.outputs.version-without-v }} --output ${{ env.PACKAGE_OUTPUT_DIRECTORY }} - - name: 'Pack Project' - run: dotnet pack ${{ env.PROJECT_PATH }} --no-restore --no-build --configuration Release -p:PackageVersion=${{ steps.version.outputs.version-without-v }} --output ${{ env.PACKAGE_OUTPUT_DIRECTORY }} - - - name: 'Push Package' - run: dotnet nuget push ${{ env.PACKAGE_OUTPUT_DIRECTORY }}/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s ${{ env.NUGET_SOURCE_URL }} --skip-duplicate --no-symbols + - name: "Push Package" + run: dotnet nuget push ${{ env.PACKAGE_OUTPUT_DIRECTORY }}/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s ${{ env.NUGET_SOURCE_URL }} --skip-duplicate --no-symbols diff --git a/README.md b/README.md index 29d7dc3..2b37ecc 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,12 @@ Add required `CSS` and `Javascript` packages into the `index.html` file. ``` +> [!CAUTION] +> If you want to use this library with a `Blazor Web App`, you need to set the `render mode` to `InteractiveServer`. +> You can find more information at [here](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-8.0). + ### Theme Switching + **Since v0.3.9** Add `Theme` component to the page that you want to manipulate the theme. @@ -163,6 +168,7 @@ public partial class Index - [Workflow](#workflow) ## Application + ```razor @@ -365,15 +371,21 @@ Add necessary css files into the `index.html` file. ```html - + - + - + ``` ```razor @@ -720,6 +732,7 @@ chart1.InitialChart(object1); ``` ##Content + ```razor @@ -742,9 +755,11 @@ chart1.InitialChart(object1); ``` ## Date Dropdown + ```razor ``` + ```csharp readonly DateDropdownOption[] _dateRangeOptions = { @@ -798,7 +813,6 @@ private void Callback(DateDropdownResponse selectedDateDropdown) ``` - ## Drawer ```razor @@ -895,6 +909,7 @@ private void DrawerButtonClicked() ``` - [ ] AG grid + ## Group ```razor @@ -906,6 +921,7 @@ private void DrawerButtonClicked() ``` ### Group with Context + ```razor @@ -1093,6 +1109,7 @@ private void CloseModal() PageSelectedEvent="PaginationPageSelected"> ``` + ## Pane ```razor @@ -1184,17 +1201,17 @@ AddItemEvent="SelectItemAdded" Mode="SelectMode.Single" SelectedIndices="2" Id=" ```css .example { - display: block; - position: relative; - width: 100%; + display: block; + position: relative; + width: 100%; } div[data-tab-content] { - display: none; + display: none; } div[data-tab-content].show { - display: block; + display: block; } ``` @@ -1330,6 +1347,7 @@ tree.TreeModel = treeNodes; ``` ## Typography + ```razor Label, Std, None Bold, Code_Lg, Contrast, Line_Through diff --git a/SiemensIXBlazor.Tests/AGGrid/AGGridTests.cs b/SiemensIXBlazor.Tests/AGGrid/AGGridTests.cs index 591c9e6..693237c 100644 --- a/SiemensIXBlazor.Tests/AGGrid/AGGridTests.cs +++ b/SiemensIXBlazor.Tests/AGGrid/AGGridTests.cs @@ -75,7 +75,7 @@ public async Task CreateGrid_ReturnsJSObjectReference_WhenIdIsNotEmpty() Mock jsObjectReferenceMock = new(); // Mock of module import for JSRuntime - jsRuntimeMock.Setup(x => x.InvokeAsync("agGridInterop.createGrid", It.IsAny())) + jsRuntimeMock.Setup(x => x.InvokeAsync("siemensIXInterop.agGridInterop.createGrid", It.IsAny())) .Returns(new ValueTask(jsObjectReferenceMock.Object)); Services.AddSingleton(jsRuntimeMock.Object); @@ -86,7 +86,7 @@ public async Task CreateGrid_ReturnsJSObjectReference_WhenIdIsNotEmpty() // Assert Assert.NotNull(result); - jsRuntimeMock.Verify(x => x.InvokeAsync("agGridInterop.createGrid", It.IsAny()), Times.Once); + jsRuntimeMock.Verify(x => x.InvokeAsync("siemensIXInterop.agGridInterop.createGrid", It.IsAny()), Times.Once); } [Fact] @@ -97,16 +97,16 @@ public async Task GetSelectedRows_ReturnsObject() Services.AddSingleton(jsRuntimeMock.Object); var cut = RenderComponent(parameters => parameters.Add(p => p.Id, "testId")); var jsObjectReferenceMock = new Mock(); - jsRuntimeMock.Setup(x => x.InvokeAsync("agGridInterop.getSelectedRows", It.IsAny())) + jsRuntimeMock.Setup(x => x.InvokeAsync("siemensIXInterop.agGridInterop.getSelectedRows", It.IsAny())) .ReturnsAsync(new object()); - + // Act var result = await cut.Instance.GetSelectedRows(jsObjectReferenceMock.Object); // Assert Assert.NotNull(result); - jsRuntimeMock.Verify(x => x.InvokeAsync("agGridInterop.getSelectedRows", It.IsAny()), Times.Once); + jsRuntimeMock.Verify(x => x.InvokeAsync("siemensIXInterop.agGridInterop.getSelectedRows", It.IsAny()), Times.Once); } } } \ No newline at end of file diff --git a/SiemensIXBlazor.Tests/Helper/EnumParserTests.cs b/SiemensIXBlazor.Tests/Helper/EnumParserTests.cs new file mode 100644 index 0000000..2ec4350 --- /dev/null +++ b/SiemensIXBlazor.Tests/Helper/EnumParserTests.cs @@ -0,0 +1,41 @@ +using SiemensIXBlazor.Enums.PushCard; +using SiemensIXBlazor.Helpers; + +namespace SiemensIXBlazor.Tests.Helpers +{ + public class EnumParserTests + { + [Theory] + [InlineData(PushCardVariant.alarm, "alarm")] + [InlineData(PushCardVariant.insight, "insight")] + public void EnumToString_ShouldReturnCorrectLowercaseString_ForValidEnum(PushCardVariant variant, string expected) + { + // Act + var result = EnumParser.EnumToString(variant); + + // Assert + Assert.Equal(expected, result); + } + + [Fact] + public void EnumToString_ShouldReturnEmptyString_ForInvalidEnum() + { + // Arrange + var invalidEnumValue = (PushCardVariant)999; + + // Act & Assert + Assert.Throws(() => EnumParser.EnumToString(invalidEnumValue)); + } + + [Fact] + public void EnumToString_ShouldReturnEmptyString_ForNullEnum() + { + // Arrange + PushCardVariant? nullableEnum = null; + + // Act & Assert + // You need to handle nullable enums outside the method if using EnumParser + Assert.Throws(() => EnumParser.EnumToString(nullableEnum!.Value)); + } + } +} \ No newline at end of file diff --git a/SiemensIXBlazor.sln b/SiemensIXBlazor.sln index 376c81d..1d52acf 100644 --- a/SiemensIXBlazor.sln +++ b/SiemensIXBlazor.sln @@ -29,6 +29,10 @@ Global {682ADEDC-AE1F-46C9-9F0D-7DE297BAC82D}.Debug|Any CPU.Build.0 = Debug|Any CPU {682ADEDC-AE1F-46C9-9F0D-7DE297BAC82D}.Release|Any CPU.ActiveCfg = Release|Any CPU {682ADEDC-AE1F-46C9-9F0D-7DE297BAC82D}.Release|Any CPU.Build.0 = Release|Any CPU + {20CB53D6-C6B3-4FCD-9DF3-A0511DB1FBA1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {20CB53D6-C6B3-4FCD-9DF3-A0511DB1FBA1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {20CB53D6-C6B3-4FCD-9DF3-A0511DB1FBA1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {20CB53D6-C6B3-4FCD-9DF3-A0511DB1FBA1}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/SiemensIXBlazor/Components/AGGrid/AGGrid.razor.cs b/SiemensIXBlazor/Components/AGGrid/AGGrid.razor.cs index a8bf2f5..10596d8 100644 --- a/SiemensIXBlazor/Components/AGGrid/AGGrid.razor.cs +++ b/SiemensIXBlazor/Components/AGGrid/AGGrid.razor.cs @@ -32,13 +32,13 @@ public partial class AGGrid dotNetHelper = DotNetObjectReference.Create(this); - return await JSRuntime.InvokeAsync("agGridInterop.createGrid", dotNetHelper, Id, JsonConvert.SerializeObject(options)); + return await JSRuntime.InvokeAsync("siemensIXInterop.agGridInterop.createGrid", dotNetHelper, Id, JsonConvert.SerializeObject(options)); } public async Task GetSelectedRows(IJSObjectReference grid) { - return await JSRuntime.InvokeAsync("agGridInterop.getSelectedRows", grid); - + return await JSRuntime.InvokeAsync("siemensIXInterop.agGridInterop.getSelectedRows", grid); + } [JSInvokable] diff --git a/SiemensIXBlazor/Components/ActionCard/ActionCard.razor b/SiemensIXBlazor/Components/ActionCard/ActionCard.razor index 6de90f4..7601e86 100644 --- a/SiemensIXBlazor/Components/ActionCard/ActionCard.razor +++ b/SiemensIXBlazor/Components/ActionCard/ActionCard.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @namespace SiemensIXBlazor.Components @@ -13,12 +13,6 @@ @using SiemensIXBlazor.Enums.PushCard @inherits IXBaseComponent - + - diff --git a/SiemensIXBlazor/Components/BasicNavigation/BasicNavigation.razor b/SiemensIXBlazor/Components/BasicNavigation/BasicNavigation.razor index 11ecd21..cf36c8f 100644 --- a/SiemensIXBlazor/Components/BasicNavigation/BasicNavigation.razor +++ b/SiemensIXBlazor/Components/BasicNavigation/BasicNavigation.razor @@ -5,18 +5,15 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @using SiemensIXBlazor.Enums.BasicNavigation @using SiemensIXBlazor.Helpers @inherits IXBaseComponent - + @ChildContent diff --git a/SiemensIXBlazor/Components/Blind/Blind.razor b/SiemensIXBlazor/Components/Blind/Blind.razor index d2dcfd8..934f79a 100644 --- a/SiemensIXBlazor/Components/Blind/Blind.razor +++ b/SiemensIXBlazor/Components/Blind/Blind.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @using Microsoft.JSInterop; @@ -16,7 +16,7 @@ @namespace SiemensIXBlazor.Components - + @ChildContent diff --git a/SiemensIXBlazor/Components/Button/Button.razor b/SiemensIXBlazor/Components/Button/Button.razor index b2b901d..e5bf5c3 100644 --- a/SiemensIXBlazor/Components/Button/Button.razor +++ b/SiemensIXBlazor/Components/Button/Button.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @namespace SiemensIXBlazor.Components @@ -13,20 +13,9 @@ @using SiemensIXBlazor.Enums.Button; @using SiemensIXBlazor.Helpers - + @ChildContent diff --git a/SiemensIXBlazor/Components/CardList/CardList.razor b/SiemensIXBlazor/Components/CardList/CardList.razor index e33e0b6..de68fd1 100644 --- a/SiemensIXBlazor/Components/CardList/CardList.razor +++ b/SiemensIXBlazor/Components/CardList/CardList.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @namespace SiemensIXBlazor.Components @@ -15,14 +15,9 @@ @inherits IXBaseComponent @inject IJSRuntime JSRuntime - + @ChildContent diff --git a/SiemensIXBlazor/Components/Chip/Chip.razor b/SiemensIXBlazor/Components/Chip/Chip.razor index e1460f1..bbf3388 100644 --- a/SiemensIXBlazor/Components/Chip/Chip.razor +++ b/SiemensIXBlazor/Components/Chip/Chip.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @using Microsoft.JSInterop; @@ -15,15 +15,6 @@ @inherits IXBaseComponent @inject IJSRuntime JSRuntime -@ChildContent +@ChildContent diff --git a/SiemensIXBlazor/Components/ContentHeader/ContentHeader.razor b/SiemensIXBlazor/Components/ContentHeader/ContentHeader.razor index 79e5ad0..6666d55 100644 --- a/SiemensIXBlazor/Components/ContentHeader/ContentHeader.razor +++ b/SiemensIXBlazor/Components/ContentHeader/ContentHeader.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @namespace SiemensIXBlazor.Components @@ -15,13 +15,8 @@ @inherits IXBaseComponent @inject IJSRuntime JSRuntime - + @ChildContent diff --git a/SiemensIXBlazor/Components/DatePicker/DatePicker.razor b/SiemensIXBlazor/Components/DatePicker/DatePicker.razor index 2a70a09..f5a39bc 100644 --- a/SiemensIXBlazor/Components/DatePicker/DatePicker.razor +++ b/SiemensIXBlazor/Components/DatePicker/DatePicker.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @using Microsoft.JSInterop; @@ -15,17 +15,7 @@ @inject IJSRuntime JSRuntime @inherits IXBaseComponent - + diff --git a/SiemensIXBlazor/Components/DropdownButton/DropdownButton.razor b/SiemensIXBlazor/Components/DropdownButton/DropdownButton.razor index b50fc49..5e0414b 100644 --- a/SiemensIXBlazor/Components/DropdownButton/DropdownButton.razor +++ b/SiemensIXBlazor/Components/DropdownButton/DropdownButton.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @namespace SiemensIXBlazor.Components @@ -14,17 +14,10 @@ @using SiemensIXBlazor.Helpers; @inherits IXBaseComponent - + @ChildContent diff --git a/SiemensIXBlazor/Components/ECharts/ECharts.razor.cs b/SiemensIXBlazor/Components/ECharts/ECharts.razor.cs index 4cb49b2..ec2c28b 100644 --- a/SiemensIXBlazor/Components/ECharts/ECharts.razor.cs +++ b/SiemensIXBlazor/Components/ECharts/ECharts.razor.cs @@ -22,7 +22,7 @@ public async void InitialChart(dynamic options) { string serializedOptions = JsonConvert.SerializeObject(options); - await JSRuntime.InvokeVoidAsync("initializeChart", Id, serializedOptions); + await JSRuntime.InvokeVoidAsync("siemensIXInterop.initializeChart", Id, serializedOptions); } } } diff --git a/SiemensIXBlazor/Components/KPI/KPI.razor b/SiemensIXBlazor/Components/KPI/KPI.razor index 30f019c..4edfc05 100644 --- a/SiemensIXBlazor/Components/KPI/KPI.razor +++ b/SiemensIXBlazor/Components/KPI/KPI.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @namespace SiemensIXBlazor.Components @@ -13,13 +13,7 @@ @using SiemensIXBlazor.Helpers; @inherits IXBaseComponent - + diff --git a/SiemensIXBlazor/Components/LinkButton/LinkButton.razor b/SiemensIXBlazor/Components/LinkButton/LinkButton.razor index d21df16..ad0ed08 100644 --- a/SiemensIXBlazor/Components/LinkButton/LinkButton.razor +++ b/SiemensIXBlazor/Components/LinkButton/LinkButton.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @namespace SiemensIXBlazor.Components @@ -13,12 +13,7 @@ @using SiemensIXBlazor.Helpers; @inherits IXBaseComponent - + @ChildContent diff --git a/SiemensIXBlazor/Components/MessageBar/MessageBar.razor b/SiemensIXBlazor/Components/MessageBar/MessageBar.razor index a5bbb83..b0b2926 100644 --- a/SiemensIXBlazor/Components/MessageBar/MessageBar.razor +++ b/SiemensIXBlazor/Components/MessageBar/MessageBar.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @using Microsoft.JSInterop; @@ -15,12 +15,7 @@ @namespace SiemensIXBlazor.Components @inherits IXBaseComponent - + @ChildContent diff --git a/SiemensIXBlazor/Components/Pane/Pane.razor b/SiemensIXBlazor/Components/Pane/Pane.razor index d5095f0..79080e0 100644 --- a/SiemensIXBlazor/Components/Pane/Pane.razor +++ b/SiemensIXBlazor/Components/Pane/Pane.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @namespace SiemensIXBlazor.Components @@ -18,19 +18,9 @@ @inject IJSRuntime JSRuntime - - @ChildContent + + @ChildContent \ No newline at end of file diff --git a/SiemensIXBlazor/Components/Pill/Pill.razor b/SiemensIXBlazor/Components/Pill/Pill.razor index 6b2bc31..4fa52a8 100644 --- a/SiemensIXBlazor/Components/Pill/Pill.razor +++ b/SiemensIXBlazor/Components/Pill/Pill.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @namespace SiemensIXBlazor.Components @@ -13,16 +13,7 @@ @using SiemensIXBlazor.Helpers; @inherits IXBaseComponent - + @ChildContent - diff --git a/SiemensIXBlazor/Components/PushCard/PushCard.razor b/SiemensIXBlazor/Components/PushCard/PushCard.razor index c30f31b..8281695 100644 --- a/SiemensIXBlazor/Components/PushCard/PushCard.razor +++ b/SiemensIXBlazor/Components/PushCard/PushCard.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @namespace SiemensIXBlazor.Components @@ -13,14 +13,7 @@ @using SiemensIXBlazor.Enums.PushCard @inherits IXBaseComponent - + - diff --git a/SiemensIXBlazor/Components/Select/Select.razor b/SiemensIXBlazor/Components/Select/Select.razor index 0d75af8..3a46343 100644 --- a/SiemensIXBlazor/Components/Select/Select.razor +++ b/SiemensIXBlazor/Components/Select/Select.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @using Microsoft.JSInterop; @@ -15,22 +15,10 @@ @namespace SiemensIXBlazor.Components @inherits IXBaseComponent - + @ChildContent - diff --git a/SiemensIXBlazor/Components/Spinner/Spinner.razor b/SiemensIXBlazor/Components/Spinner/Spinner.razor index 5335152..8b60ba9 100644 --- a/SiemensIXBlazor/Components/Spinner/Spinner.razor +++ b/SiemensIXBlazor/Components/Spinner/Spinner.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @namespace SiemensIXBlazor.Components @@ -13,8 +13,5 @@ @using SiemensIXBlazor.Helpers; @inherits IXBaseComponent - + diff --git a/SiemensIXBlazor/Components/SplitButton/SplitButton.razor b/SiemensIXBlazor/Components/SplitButton/SplitButton.razor index 7d74cde..5ff10d7 100644 --- a/SiemensIXBlazor/Components/SplitButton/SplitButton.razor +++ b/SiemensIXBlazor/Components/SplitButton/SplitButton.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @using Microsoft.JSInterop; @@ -15,18 +15,8 @@ @namespace SiemensIXBlazor.Components @inherits IXBaseComponent - + @ChildContent diff --git a/SiemensIXBlazor/Components/Tabs/Tabs.razor b/SiemensIXBlazor/Components/Tabs/Tabs.razor index 65575c4..aff7d12 100644 --- a/SiemensIXBlazor/Components/Tabs/Tabs.razor +++ b/SiemensIXBlazor/Components/Tabs/Tabs.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @using Microsoft.JSInterop; @@ -15,15 +15,8 @@ @namespace SiemensIXBlazor.Components @inherits IXBaseComponent - + @ChildContent diff --git a/SiemensIXBlazor/Components/Theme/Theme.razor.cs b/SiemensIXBlazor/Components/Theme/Theme.razor.cs index 3fcb15a..123dc29 100644 --- a/SiemensIXBlazor/Components/Theme/Theme.razor.cs +++ b/SiemensIXBlazor/Components/Theme/Theme.razor.cs @@ -15,17 +15,17 @@ public partial class Theme { public async Task SetTheme(string theme) { - await JSRuntime.InvokeVoidAsync("setTheme", theme); + await JSRuntime.InvokeVoidAsync("siemensIXInterop.setTheme", theme); } public async Task ToggleTheme() { - await JSRuntime.InvokeVoidAsync("toggleTheme"); + await JSRuntime.InvokeVoidAsync("siemensIXInterop.toggleTheme"); } public async Task ToggleSystemTheme(bool useSystemTheme) { - await JSRuntime.InvokeVoidAsync("toggleSystemTheme", useSystemTheme); + await JSRuntime.InvokeVoidAsync("siemensIXInterop.toggleSystemTheme", useSystemTheme); } } } diff --git a/SiemensIXBlazor/Components/Tile/Tile.razor b/SiemensIXBlazor/Components/Tile/Tile.razor index 197fb4b..606c552 100644 --- a/SiemensIXBlazor/Components/Tile/Tile.razor +++ b/SiemensIXBlazor/Components/Tile/Tile.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @namespace SiemensIXBlazor.Components @@ -13,10 +13,6 @@ @using SiemensIXBlazor.Helpers; @inherits IXBaseComponent - + @ChildContent diff --git a/SiemensIXBlazor/Components/TimePicker/TimePicker.razor b/SiemensIXBlazor/Components/TimePicker/TimePicker.razor index c7c93af..a030e13 100644 --- a/SiemensIXBlazor/Components/TimePicker/TimePicker.razor +++ b/SiemensIXBlazor/Components/TimePicker/TimePicker.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @using Microsoft.JSInterop; @@ -15,16 +15,7 @@ @namespace SiemensIXBlazor.Components @inherits IXBaseComponent - + diff --git a/SiemensIXBlazor/Components/Toast/Toast.razor.cs b/SiemensIXBlazor/Components/Toast/Toast.razor.cs index 5616910..590be80 100644 --- a/SiemensIXBlazor/Components/Toast/Toast.razor.cs +++ b/SiemensIXBlazor/Components/Toast/Toast.razor.cs @@ -17,7 +17,7 @@ public partial class Toast { public async void ShowToast(ToastConfig config) { - await JSRuntime.InvokeVoidAsync("showMessage", JsonConvert.SerializeObject(config)); + await JSRuntime.InvokeVoidAsync("siemensIXInterop.showMessage", JsonConvert.SerializeObject(config)); } } } diff --git a/SiemensIXBlazor/Components/ToggleButton/IconToggleButton.razor b/SiemensIXBlazor/Components/ToggleButton/IconToggleButton.razor index 01276be..5a86d39 100644 --- a/SiemensIXBlazor/Components/ToggleButton/IconToggleButton.razor +++ b/SiemensIXBlazor/Components/ToggleButton/IconToggleButton.razor @@ -5,23 +5,14 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @namespace SiemensIXBlazor.Components @using SiemensIXBlazor.Enums.Button; @using SiemensIXBlazor.Helpers; @inherits IXBaseComponent - + diff --git a/SiemensIXBlazor/Components/ToggleButton/ToggleButton.razor b/SiemensIXBlazor/Components/ToggleButton/ToggleButton.razor index 45fde46..5ef0fcf 100644 --- a/SiemensIXBlazor/Components/ToggleButton/ToggleButton.razor +++ b/SiemensIXBlazor/Components/ToggleButton/ToggleButton.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @using Microsoft.JSInterop; @@ -14,14 +14,6 @@ @inject IJSRuntime JSRuntime @inherits IXBaseComponent -@ChildContent +@ChildContent diff --git a/SiemensIXBlazor/Components/Typography/Typography.razor b/SiemensIXBlazor/Components/Typography/Typography.razor index 238d3c6..08b710c 100644 --- a/SiemensIXBlazor/Components/Typography/Typography.razor +++ b/SiemensIXBlazor/Components/Typography/Typography.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @using SiemensIXBlazor.Enums.Typography; @@ -14,13 +14,9 @@ @namespace SiemensIXBlazor.Components @inherits IXBaseComponent - + @ChildContent diff --git a/SiemensIXBlazor/Components/Workflow/WorkflowStep.razor b/SiemensIXBlazor/Components/Workflow/WorkflowStep.razor index 68c4731..7d2ab4b 100644 --- a/SiemensIXBlazor/Components/Workflow/WorkflowStep.razor +++ b/SiemensIXBlazor/Components/Workflow/WorkflowStep.razor @@ -5,7 +5,7 @@ // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +// ----------------------------------------------------------------------- *@ @namespace SiemensIXBlazor.Components @@ -13,15 +13,8 @@ @using SiemensIXBlazor.Helpers; @inherits IXBaseComponent - + @ChildContent diff --git a/SiemensIXBlazor/Helpers/EnumParser.cs b/SiemensIXBlazor/Helpers/EnumParser.cs index a108b58..44aeb25 100644 --- a/SiemensIXBlazor/Helpers/EnumParser.cs +++ b/SiemensIXBlazor/Helpers/EnumParser.cs @@ -11,11 +11,15 @@ namespace SiemensIXBlazor.Helpers { public static class EnumParser where TEnum : Enum { - public static string ParseEnumToString(object enumValue) + public static string EnumToString(TEnum enumValue, bool toLowerCase = true) { + if (!Enum.IsDefined(typeof(TEnum), enumValue)) + { + throw new ArgumentException($"The value '{enumValue}' is not a valid enum value for type '{typeof(TEnum).Name}'"); + } + var enumName = Enum.GetName(typeof(TEnum), enumValue); - return enumName != null ? enumName.ToLowerInvariant() : string.Empty; + return toLowerCase ? enumName?.ToLowerInvariant() ?? string.Empty : enumName ?? string.Empty; } - } } diff --git a/SiemensIXBlazor/Interops/BaseInterop.cs b/SiemensIXBlazor/Interops/BaseInterop.cs index 42e1c26..0189ee8 100644 --- a/SiemensIXBlazor/Interops/BaseInterop.cs +++ b/SiemensIXBlazor/Interops/BaseInterop.cs @@ -18,21 +18,29 @@ public class BaseInterop public BaseInterop(IJSRuntime jsRuntime) { moduleTask = new(() => jsRuntime.InvokeAsync( - "import", $"./_content/Siemens.IX.Blazor/js/interops/baseJsInterop.js").AsTask()); + "import", $"./_content/Siemens.IX.Blazor/js/siemens-ix/interops/baseJsInterop.js").AsTask()); } public async Task AddEventListener(object classObject, string id, string eventName, string callbackFunctionName) { var module = await moduleTask.Value; - await module.InvokeAsync("listenEvent", DotNetObjectReference.Create(classObject), id, eventName, callbackFunctionName); + var objectReference = DotNetObjectReference.Create(classObject); + await module.InvokeAsync("listenEvent", objectReference, id, eventName, callbackFunctionName); } public async ValueTask DisposeAsync() { if (moduleTask.IsValueCreated) { - var module = await moduleTask.Value; - await module.DisposeAsync(); + try + { + var module = await moduleTask.Value; + await module.DisposeAsync(); + } + catch (Exception ex) + { + Console.Error.WriteLine($"Failed to dispose module: {ex.Message}"); + } } } } diff --git a/SiemensIXBlazor/Interops/FileUploadInterop.cs b/SiemensIXBlazor/Interops/FileUploadInterop.cs index ff32b2d..1a891f6 100644 --- a/SiemensIXBlazor/Interops/FileUploadInterop.cs +++ b/SiemensIXBlazor/Interops/FileUploadInterop.cs @@ -18,21 +18,29 @@ internal class FileUploadInterop public FileUploadInterop(IJSRuntime jsRuntime) { moduleTask = new(() => jsRuntime.InvokeAsync( - "import", $"./_content/Siemens.IX.Blazor/js/interops/fileUploadInterop.js").AsTask()); + "import", $"./_content/Siemens.IX.Blazor/js/siemens-ix/interops/fileUploadInterop.js").AsTask()); } public async Task AddEventListener(object classObject, string id, string eventName, string callbackFunctionName) { var module = await moduleTask.Value; - await module.InvokeAsync("fileUploadEventHandler", DotNetObjectReference.Create(classObject), id, eventName, callbackFunctionName); + var objectReference = DotNetObjectReference.Create(classObject); + await module.InvokeAsync("fileUploadEventHandler", objectReference, id, eventName, callbackFunctionName); } public async ValueTask DisposeAsync() { if (moduleTask.IsValueCreated) { - var module = await moduleTask.Value; - await module.DisposeAsync(); + try + { + var module = await moduleTask.Value; + await module.DisposeAsync(); + } + catch (Exception ex) + { + Console.Error.WriteLine($"Failed to dispose module: {ex.Message}"); + } } } } diff --git a/SiemensIXBlazor/Interops/TabsInterop.cs b/SiemensIXBlazor/Interops/TabsInterop.cs index cb788c0..6820c43 100644 --- a/SiemensIXBlazor/Interops/TabsInterop.cs +++ b/SiemensIXBlazor/Interops/TabsInterop.cs @@ -18,7 +18,7 @@ internal class TabsInterop public TabsInterop(IJSRuntime jsRuntime) { moduleTask = new(() => jsRuntime.InvokeAsync( - "import", $"./_content/Siemens.IX.Blazor/js/interops/tabsInterop.js").AsTask()); + "import", $"./_content/Siemens.IX.Blazor/js/siemens-ix/interops/tabsInterop.js").AsTask()); } public async Task InitialComponent(string id) @@ -30,15 +30,23 @@ public async Task InitialComponent(string id) public async Task SubscribeEvents(object classObject, string id, string eventName, string methodName) { var module = await moduleTask.Value; - await module.InvokeVoidAsync("subscribeEvents", DotNetObjectReference.Create(classObject), id, eventName, methodName); + var objectReference = DotNetObjectReference.Create(classObject); + await module.InvokeVoidAsync("subscribeEvents", objectReference, id, eventName, methodName); } public async ValueTask DisposeAsync() { if (moduleTask.IsValueCreated) { - var module = await moduleTask.Value; - await module.DisposeAsync(); + try + { + var module = await moduleTask.Value; + await module.DisposeAsync(); + } + catch (Exception ex) + { + Console.Error.WriteLine($"Failed to dispose module: {ex.Message}"); + } } } } diff --git a/SiemensIXBlazor/SiemensIXBlazor.csproj b/SiemensIXBlazor/SiemensIXBlazor.csproj index 414fd3e..a2a667d 100644 --- a/SiemensIXBlazor/SiemensIXBlazor.csproj +++ b/SiemensIXBlazor/SiemensIXBlazor.csproj @@ -20,17 +20,8 @@ - - - - - - - - - True @@ -65,11 +56,11 @@ - + Always - - PreserveNewest + + Always diff --git a/SiemensIXBlazor/SiemensIXBlazor_NpmJS/src/index.js b/SiemensIXBlazor/SiemensIXBlazor_NpmJS/src/index.js index bdbf039..44ede87 100644 --- a/SiemensIXBlazor/SiemensIXBlazor_NpmJS/src/index.js +++ b/SiemensIXBlazor/SiemensIXBlazor_NpmJS/src/index.js @@ -1,74 +1,85 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- +import { defineCustomElements, applyPolyfills } from "@siemens/ix/loader/index"; +import { toast } from "@siemens/ix"; +import "@siemens/ix-echarts"; +import { registerTheme } from "@siemens/ix-echarts"; +import * as echarts from "echarts"; +import { themeSwitcher } from "@siemens/ix"; +import { Grid } from "ag-grid-community"; +import { defineCustomElements as ixIconsDefineCustomElements } from "@siemens/ix-icons/loader"; -import { defineCustomElements, applyPolyfills } from '@siemens/ix/loader/index' -import { toast } from "@siemens/ix" -import '@siemens/ix-echarts'; -import { registerTheme } from '@siemens/ix-echarts'; -import * as echarts from 'echarts'; -import { themeSwitcher } from '@siemens/ix'; -import { Grid } from 'ag-grid-community'; -import { defineCustomElements as ixIconsDefineCustomElements } from '@siemens/ix-icons/loader'; - -(async () => { +window.siemensIXInterop = { + async initialize() { await applyPolyfills(); await ixIconsDefineCustomElements(); await defineCustomElements(); -})(); + }, + + showMessage(config) { + try { + const toastConfig = JSON.parse(config); + toast(toastConfig); + } catch (error) { + console.error("Failed to display toast message:", error); + } + }, -// toast -window.showMessage = (config) => { - const toastConfig = JSON.parse(config); - toast(toastConfig); -} -// chart -window.initializeChart = (id, options) => { - registerTheme(echarts); - var myChart = echarts.init( - document.getElementById(id), - window.demoTheme // brand-dark, brand-light, classic-dark or classic-light - ); - // Draw the chart - myChart.setOption(JSON.parse(options)); -} -// set theme -window.setTheme = (theme) => { + initializeChart(id, options) { + try { + const element = document.getElementById(id); + if (!element) throw new Error(`Element with ID ${id} not found`); + + registerTheme(echarts); + const myChart = echarts.init(element, window.demoTheme); + myChart.setOption(JSON.parse(options)); + } catch (error) { + console.error("Failed to initialize chart:", error); + } + }, + + setTheme(theme) { themeSwitcher.setTheme(theme); -} -// toggle theme -window.toggleTheme = () => { + }, + + toggleTheme() { themeSwitcher.toggleMode(); -} -// toggle system theme -window.toggleSystemTheme = (useSystemTheme) => { - if (useSystemTheme === true) { - themeSwitcher.setVariant(); + }, + + toggleSystemTheme(useSystemTheme) { + if (useSystemTheme) { + themeSwitcher.setVariant(); + } else { + console.warn("System theme switching is disabled."); } -} + }, -// AGGrid -window.agGridInterop = { + agGridInterop: { dotnetReference: null, - createGrid: function (dotnetRef, elementId, gridOptions) { - let parsedOption = JSON.parse(gridOptions); - window.agGridInterop.dotnetReference = dotnetRef; - parsedOption.onCellClicked = function (event) { - dotnetRef.invokeMethodAsync('OnCellClickedCallback'); - }; + createGrid(dotnetRef, elementId, gridOptions) { + const parsedOption = JSON.parse(gridOptions); + this.dotnetReference = dotnetRef; + + parsedOption.onCellClicked = (event) => { + dotnetRef.invokeMethodAsync("OnCellClickedCallback", event.data); + }; - return new Grid(document.getElementById(elementId), parsedOption); + return new Grid(document.getElementById(elementId), parsedOption); }, - setData: function (grid, data) { - grid.gridOptions.api.setRowData(data); + + setData(grid, data) { + grid.gridOptions.api.setRowData(data); }, - getSelectedRows: function (grid) { - return grid.gridOptions.api.getSelectedRows(); + + getSelectedRows(grid) { + return grid.gridOptions.api.getSelectedRows(); }, -} + + dispose() { + this.dotnetReference = null; + }, + }, +}; + +(async () => { + await siemensIXInterop.initialize(); +})(); diff --git a/SiemensIXBlazor/wwwroot/js/interops/categoryFilterInterop.js b/SiemensIXBlazor/wwwroot/js/interops/categoryFilterInterop.js deleted file mode 100644 index d346af6..0000000 --- a/SiemensIXBlazor/wwwroot/js/interops/categoryFilterInterop.js +++ /dev/null @@ -1,51 +0,0 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- - -export function setCategories(id, categories) { - try { - const element = document.getElementById(id); - element.categories = JSON.parse(categories); - } - catch { - - } - -} - -export function setFilterState(id, filterState) { - try { - const element = document.getElementById(id); - element.filterState = JSON.parse(filterState); - } - catch { - - } - -} - -export function setNonSelectableCategories(id, nonSelectableCategories) { - try { - const element = document.getElementById(id); - element.nonSelectableCategories = JSON.parse(nonSelectableCategories); - } - catch { - - } - -} - -export function setSuggestions(id, suggestionsObject) { - try { - const element = document.getElementById(id); - element.suggestions = JSON.parse(suggestionsObject).suggestions; - } - catch { - - } -} \ No newline at end of file diff --git a/SiemensIXBlazor/wwwroot/js/interops/fileUploadInterop.js b/SiemensIXBlazor/wwwroot/js/interops/fileUploadInterop.js deleted file mode 100644 index 7512e6e..0000000 --- a/SiemensIXBlazor/wwwroot/js/interops/fileUploadInterop.js +++ /dev/null @@ -1,30 +0,0 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- - -export function fileUploadEventHandler(caller, elementId, eventName, funtionName) { - const element = document.getElementById(elementId); - element.addEventListener(eventName, (e) => { - const files = e.detail; - - const fileDataArray = []; - for (let i = 0; i < files.length; i++) { - const file = files[i]; - const reader = new FileReader(); - reader.onloadend = function () { - const base64Data = reader.result.split(',')[1]; - fileDataArray.push({ name: file.name, size: file.size, type: file.type, data: base64Data }); - - if (fileDataArray.length === files.length) { - caller.invokeMethodAsync(funtionName, fileDataArray); - } - }; - reader.readAsDataURL(file); - } - }) -} \ No newline at end of file diff --git a/SiemensIXBlazor/wwwroot/js/interops/tabsInterop.js b/SiemensIXBlazor/wwwroot/js/interops/tabsInterop.js deleted file mode 100644 index c8528e9..0000000 --- a/SiemensIXBlazor/wwwroot/js/interops/tabsInterop.js +++ /dev/null @@ -1,36 +0,0 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- - -export const initalTable = async (id) => { - await window.customElements.whenDefined('ix-tabs'); - const tabsElement = document.getElementById(id); - const tabs = tabsElement.querySelectorAll('ix-tab-item[data-tab-id]'); - - function registerClickListener(tab) { - tab.addEventListener('click', (tabContent) => { - const contentList = tabsElement.parentElement.querySelectorAll('[data-tab-content]'); - contentList.forEach((content) => { - if (content.dataset.tabContent === tab.dataset.tabId) { - content.classList.add('show'); - } else { - content.classList.remove('show'); - } - }); - }); - } - - tabs.forEach(registerClickListener); -}; - -export const subscribeEvents = (caller, id, eventName, functionName) => { - const element = document.getElementById(id); - element.addEventListener(eventName, (e) => { - caller.invokeMethodAsync(functionName, e.detail); - }) -} \ No newline at end of file diff --git a/SiemensIXBlazor/wwwroot/js/interops/treeInterop.js b/SiemensIXBlazor/wwwroot/js/interops/treeInterop.js deleted file mode 100644 index 32d1d22..0000000 --- a/SiemensIXBlazor/wwwroot/js/interops/treeInterop.js +++ /dev/null @@ -1,29 +0,0 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- - -export function setTreeModel(id, treeModel) { - try { - const element = document.getElementById(id); - element.model = JSON.parse(treeModel); - console.log(element, JSON.parse(treeModel)); - } - catch { - - } -} - -export function setTreeContext(id, treeContext) { - try { - const element = document.getElementById(id); - element.context = JSON.parse(treeContext); - } - catch { - - } -} \ No newline at end of file diff --git a/SiemensIXBlazor/wwwroot/js/siemens-ix/1051.index.bundle.js b/SiemensIXBlazor/wwwroot/js/siemens-ix/1051.index.bundle.js deleted file mode 100644 index 11eea58..0000000 --- a/SiemensIXBlazor/wwwroot/js/siemens-ix/1051.index.bundle.js +++ /dev/null @@ -1,10 +0,0 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- - -"use strict";(self.webpackChunknpmjs=self.webpackChunknpmjs||[]).push([[1051],{1051:(i,c,a)=>{a.r(c),a.d(c,{ix_push_card:()=>e});var t=a(6969);const e=class{constructor(i){(0,t.r)(this,i),this.icon=void 0,this.notification=void 0,this.heading=void 0,this.subheading=void 0,this.variant="insight",this.collapse=!0}render(){var i;const c="insight"===this.variant||"notification"===this.variant?"std":void 0;return(0,t.h)(t.H,{key:"e24565973d07f9e229c36913ca3ac89a50fa203a"},(0,t.h)("ix-card",{key:"44282cb66fe975ec987c732564b1a1b2f157fb5b",variant:this.variant},(0,t.h)("ix-card-content",{key:"a81102518c997300dd706eaaf9be2c409dc2cb57"},(0,t.h)("ix-card-title",{key:"cfe94c332de47b3457f713e601d5528da88eb9d6"},this.icon?(0,t.h)("ix-icon",{class:"icon",name:this.icon,size:"32"}):null,(0,t.h)("span",{key:"70ae6659d04f30ba68a58f8cdf0fde3f33c3de01",class:"notification"},null!==(i=this.notification)&&void 0!==i?i:0),(0,t.h)("slot",{key:"b16c8760f377f9f5118cf2d6b09f0ed831c4d7bd",name:"title-action"})),(0,t.h)("ix-typography",{key:"861cc81ab636b168fbd6f931095d5128a2a4732b",color:c,format:"h4"},this.heading),(0,t.h)("ix-typography",{key:"310464f9afd7994ccc5c51a8154387e59205b2bb",color:c},this.subheading)),(0,t.h)("ix-card-accordion",{key:"e070cee2f6ded1b56b92d3fc1ed5028cfe2d0d5d",collapse:this.collapse},(0,t.h)("slot",{key:"d8b198392bd09b45d2f0c6f6579e333c5f4d96e0"}))))}};e.style=":host{display:block;position:relative}:host .icon{transform:scale(1.25)}:host .notification{font-size:40px}:host ix-card-content{height:11rem}"}}]); \ No newline at end of file diff --git a/SiemensIXBlazor/wwwroot/js/siemens-ix/1326.index.bundle.js b/SiemensIXBlazor/wwwroot/js/siemens-ix/1326.index.bundle.js deleted file mode 100644 index 7523145..0000000 --- a/SiemensIXBlazor/wwwroot/js/siemens-ix/1326.index.bundle.js +++ /dev/null @@ -1,10 +0,0 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- - -"use strict";(self.webpackChunknpmjs=self.webpackChunknpmjs||[]).push([[1326],{1326:(e,t,n)=>{n.r(t),n.d(t,{H:()=>d,h:()=>c,i:()=>se,r:()=>T});let s,l,o=!1,$=!1;const r={},a=e=>"object"==(e=typeof e)||"function"===e;function i(e){var t,n,s;return null!==(s=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==s?s:void 0}const c=(e,t,...n)=>{let s=null,l=!1,o=!1;const $=[],r=t=>{for(let n=0;ne[t])).join(" "))}const i=u(e,null);return i.$attrs$=t,$.length>0&&(i.$children$=$),i},u=(e,t)=>({$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null,$attrs$:null}),d={},m=new WeakMap,h=(e,t)=>"sc-"+e.$tagName$,f=(e,t,n,s,l,o)=>{if(n!==s){let $=W(e,t);if(t.toLowerCase(),"class"===t){const t=e.classList,l=g(n),o=g(s);t.remove(...l.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!l.includes(e))))}else if("style"===t){for(const t in n)s&&null!=s[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in s)n&&s[t]===n[t]||(t.includes("-")?e.style.setProperty(t,s[t]):e.style[t]=s[t])}else{const r=a(s);if(($||r&&null!==s)&&!l)try{if(e.tagName.includes("-"))e[t]=s;else{const l=null==s?"":s;"list"===t?$=!1:null!=n&&e[t]==l||(e[t]=l)}}catch(e){}null==s||!1===s?!1===s&&""!==e.getAttribute(t)||e.removeAttribute(t):(!$||4&o||l)&&!r&&(s=!0===s?"":s,e.setAttribute(t,s))}}},p=/\s/,g=e=>e?e.split(p):[],y=(e,t,n,s)=>{const l=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,o=e&&e.$attrs$||r,$=t.$attrs$||r;for(s in o)s in $||f(l,s,o[s],void 0,n,t.$flags$);for(s in $)f(l,s,o[s],$[s],n,t.$flags$)},w=(e,t,n,l)=>{const $=t.$children$[n];let r,a,i=0;if(o||(o="svg"===$.$tag$),r=$.$elm$=F.createElementNS(o?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",$.$tag$),o&&"foreignObject"===$.$tag$&&(o=!1),y(null,$,o),null!=s&&r["s-si"]!==s&&r.classList.add(r["s-si"]=s),$.$children$)for(i=0;i<$.$children$.length;++i)a=w(e,$,i),a&&r.appendChild(a);return"svg"===$.$tag$?o=!1:"foreignObject"===r.tagName&&(o=!0),r},b=(e,t,n,s,o,$)=>{let r,a=e;for(a.shadowRoot&&a.tagName===l&&(a=a.shadowRoot);o<=$;++o)s[o]&&(r=w(null,n,o),r&&(s[o].$elm$=r,a.insertBefore(r,t)))},v=(e,t,n,s,l)=>{for(;t<=n;++t)(s=e[t])&&s.$elm$.remove()},S=(e,t)=>e.$tag$===t.$tag$,N=(e,t)=>{const n=t.$elm$=e.$elm$,s=e.$children$,l=t.$children$,$=t.$tag$;o="svg"===$||"foreignObject"!==$&&o,y(e,t,o),null!==s&&null!==l?((e,t,n,s)=>{let l,o=0,$=0,r=t.length-1,a=t[0],i=t[r],c=s.length-1,u=s[0],d=s[c];for(;o<=r&&$<=c;)null==a?a=t[++o]:null==i?i=t[--r]:null==u?u=s[++$]:null==d?d=s[--c]:S(a,u)?(N(a,u),a=t[++o],u=s[++$]):S(i,d)?(N(i,d),i=t[--r],d=s[--c]):S(a,d)?(N(a,d),e.insertBefore(a.$elm$,i.$elm$.nextSibling),a=t[++o],d=s[--c]):S(i,u)?(N(i,u),e.insertBefore(i.$elm$,a.$elm$),i=t[--r],u=s[++$]):(l=w(t&&t[$],n,$),u=s[++$],l&&a.$elm$.parentNode.insertBefore(l,a.$elm$));o>r?b(e,null==s[c+1]?null:s[c+1].$elm$,n,s,$,c):$>c&&v(t,o,r)})(n,s,t,l):null!==l?b(n,null,t,l,0,l.length-1):null!==s&&v(s,0,s.length-1),o&&"svg"===$&&(o=!1)},R=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.$onRenderResolve$=t)))},E=(e,t)=>{if(e.$flags$|=16,!(4&e.$flags$))return R(e,e.$ancestorComponent$),ne((()=>j(e,t)));e.$flags$|=512},j=(e,t)=>{const n=(e.$cmpMeta$.$tagName$,()=>{}),s=e.$lazyInstance$;return n(),L(void 0,(()=>C(e,s,t)))},C=async(e,t,n)=>{const s=e.$hostElement$,l=(e.$cmpMeta$.$tagName$,()=>{}),o=s["s-rc"];n&&(e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$,l=(t.$tagName$,()=>{}),o=((e,t,n,s)=>{var l;let o=h(t);const $=V.get(o);if(e=11===e.nodeType?e:F,$)if("string"==typeof $){e=e.head||e;let t,n=m.get(e);if(n||m.set(e,n=new Set),!n.has(o)){{t=F.createElement("style"),t.innerHTML=$;const n=null!==(l=G.$nonce$)&&void 0!==l?l:i(F);null!=n&&t.setAttribute("nonce",n),e.insertBefore(t,e.querySelector("link"))}n&&n.add(o)}}else e.adoptedStyleSheets.includes($)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,$]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&s&&(n["s-sc"]=o,n.classList.add(o+"-h")),l()})(e);const $=(e.$cmpMeta$.$tagName$,()=>{});M(e,t),o&&(o.map((e=>e())),s["s-rc"]=void 0),$(),l();{const t=s["s-p"],n=()=>P(e);0===t.length?n():(Promise.all(t).then(n),e.$flags$|=4,t.length=0)}},M=(e,t,n)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,((e,t)=>{const n=e.$hostElement$,o=e.$vnode$||u(null,null),$=(r=t)&&r.$tag$===d?t:c(null,null,t);var r;l=n.tagName,$.$tag$=null,$.$flags$|=4,e.$vnode$=$,$.$elm$=o.$elm$=n.shadowRoot||n,s=n["s-sc"],N(o,$)})(e,t)}catch(t){_(t,e.$hostElement$)}return null},P=e=>{e.$cmpMeta$.$tagName$;const t=e.$hostElement$,n=e.$ancestorComponent$;64&e.$flags$||(e.$flags$|=64,O(t),e.$onReadyResolve$(t),n||k()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&te((()=>E(e,!1))),e.$flags$&=-517},k=e=>{O(F.documentElement),te((()=>((e,t,n)=>{const s=G.ce("appload",{detail:{namespace:"ix-icons"}});return e.dispatchEvent(s),s})(D)))},L=(e,t)=>e&&e.then?e.then(t):t(),O=e=>e.classList.add("hydrated"),x=(e,t,n)=>{if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);const s=Object.entries(t.$members$),l=e.prototype;if(s.map((([e,[s]])=>{(31&s||2&n&&32&s)&&Object.defineProperty(l,e,{get(){return t=e,I(this).$instanceValues$.get(t);var t},set(n){((e,t,n,s)=>{const l=I(e),o=l.$hostElement$,$=l.$instanceValues$.get(t),r=l.$flags$,i=l.$lazyInstance$;var c,u;c=n,u=s.$members$[t][0],n=null==c||a(c)?c:1&u?String(c):c;const d=Number.isNaN($)&&Number.isNaN(n);if((!(8&r)||void 0===$)&&n!==$&&!d&&(l.$instanceValues$.set(t,n),i)){if(s.$watchers$&&128&r){const e=s.$watchers$[t];e&&e.map((e=>{try{i[e](n,$,t)}catch(e){_(e,o)}}))}2==(18&r)&&E(l,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const t=new Map;l.attributeChangedCallback=function(e,n,s){G.jmp((()=>{const n=t.get(e);if(this.hasOwnProperty(n))s=this[n],delete this[n];else if(l.hasOwnProperty(n)&&"number"==typeof this[n]&&this[n]==s)return;this[n]=(null!==s||"boolean"!=typeof this[n])&&s}))},e.observedAttributes=s.filter((([e,t])=>15&t[0])).map((([e,n])=>{const s=n[1]||e;return t.set(s,e),s}))}}return e},A=e=>{((e,t,n)=>{if(e&&e[t])try{return e[t](void 0)}catch(e){_(e)}})(e,"connectedCallback")},z=(e,t={})=>{var n;const s=[],l=t.exclude||[],o=D.customElements,$=F.head,r=$.querySelector("meta[charset]"),a=F.createElement("style"),c=[];let u,d=!0;Object.assign(G,t),G.$resourcesUrl$=new URL(t.resourcesUrl||"./",F.baseURI).href,e.map((e=>{e[1].map((t=>{const n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};n.$members$=t[2],n.$watchers$={};const $=n.$tagName$,r=class extends HTMLElement{constructor(e){super(e),U(e=this,n),1&n.$flags$&&e.attachShadow({mode:"open"})}connectedCallback(){u&&(clearTimeout(u),u=null),d?c.push(this):G.jmp((()=>(e=>{if(0==(1&G.$flags$)){const t=I(e),n=t.$cmpMeta$,s=(n.$tagName$,()=>{});if(1&t.$flags$)A(t.$lazyInstance$);else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){R(t,t.$ancestorComponent$=n);break}}n.$members$&&Object.entries(n.$members$).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,s,l)=>{if(0==(32&t.$flags$)){{if(t.$flags$|=32,(l=H(n)).then){const e=()=>{};l=await l,e()}l.isProxied||(n.$watchers$=l.watchers,x(l,n,2),l.isProxied=!0);const e=(n.$tagName$,()=>{});t.$flags$|=8;try{new l(t)}catch(e){_(e)}t.$flags$&=-9,t.$flags$|=128,e(),A(t.$lazyInstance$)}if(l.style){let e=l.style;const t=h(n);if(!V.has(t)){const s=(n.$tagName$,()=>{});((e,t,n)=>{let s=V.get(e);K&&n?(s=s||new CSSStyleSheet,"string"==typeof s?s=t:s.replaceSync(t)):s=t,V.set(e,s)})(t,e,!!(1&n.$flags$)),s()}}}const o=t.$ancestorComponent$,$=()=>E(t,!0);o&&o["s-rc"]?o["s-rc"].push($):$()})(0,t,n)}s()}})(this)))}disconnectedCallback(){G.jmp((()=>(this,void(0==(1&G.$flags$)&&I(this)))))}componentOnReady(){return I(this).$onReadyPromise$}};n.$lazyBundleId$=e[0],l.includes($)||o.get($)||(s.push($),o.define($,x(r,n,1)))}))}));{a.innerHTML=s+"{visibility:hidden}.hydrated{visibility:inherit}",a.setAttribute("data-styles","");const e=null!==(n=G.$nonce$)&&void 0!==n?n:i(F);null!=e&&a.setAttribute("nonce",e),$.insertBefore(a,r?r.nextSibling:$.firstChild)}d=!1,c.length?c.map((e=>e.connectedCallback())):G.jmp((()=>u=setTimeout(k,30)))},B=new WeakMap,I=e=>B.get(e),T=(e,t)=>B.set(t.$lazyInstance$=e,t),U=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise((e=>n.$onReadyResolve$=e)),e["s-p"]=[],e["s-rc"]=[],B.set(e,n)},W=(e,t)=>t in e,_=(e,t)=>(0,console.error)(e,t),q=new Map,H=(e,t,s)=>{const l=e.$tagName$.replace(/-/g,"_"),o=e.$lazyBundleId$,$=q.get(o);if($)return $[l];if(!s||!BUILD.hotModuleReplacement){const e=e=>(q.set(o,e),e[l]);if("ix-icon"===o)return n.e(5493).then(n.bind(n,5493)).then(e,_)}return n(9200)(`./${o}.entry.js`).then((e=>(q.set(o,e),e[l])),_)},V=new Map,D="undefined"!=typeof window?window:{},F=D.document||{head:{}},G={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},J=e=>Promise.resolve(e),K=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Q=[],X=[],Y=(e,t)=>n=>{e.push(n),$||($=!0,t&&4&G.$flags$?te(ee):G.raf(ee))},Z=e=>{for(let t=0;t{Z(Q),Z(X),($=Q.length>0)&&G.raf(ee)},te=e=>J().then(e),ne=Y(X,!0),se=Object.freeze({__proto__:null,applyPolyfills:function(){var e=[];if("undefined"!=typeof window){var t=window;t.customElements&&(!t.Element||t.Element.prototype.closest&&t.Element.prototype.matches&&t.Element.prototype.remove&&t.Element.prototype.getRootNode)||e.push(n.e(6748).then(n.t.bind(n,6878,23))),"function"==typeof Object.assign&&Object.entries&&Array.prototype.find&&Array.prototype.includes&&String.prototype.startsWith&&String.prototype.endsWith&&(!t.NodeList||t.NodeList.prototype.forEach)&&t.fetch&&function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(e){return!1}}()&&"undefined"!=typeof WeakMap||e.push(n.e(2214).then(n.bind(n,6621)).then((function(e){return e.c})))}return Promise.all(e)},setNonce:e=>G.$nonce$=e,defineCustomElements:(e,t)=>"undefined"==typeof window?Promise.resolve():J().then((()=>z([["ix-icon",[[1,"ix-icon",{size:[1],color:[1],name:[1],svgContent:[32]}]]]],t)))})}}]); \ No newline at end of file diff --git a/SiemensIXBlazor/wwwroot/js/siemens-ix/1358.index.bundle.js b/SiemensIXBlazor/wwwroot/js/siemens-ix/1358.index.bundle.js deleted file mode 100644 index 7a00fbe..0000000 --- a/SiemensIXBlazor/wwwroot/js/siemens-ix/1358.index.bundle.js +++ /dev/null @@ -1,10 +0,0 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- - -"use strict";(self.webpackChunknpmjs=self.webpackChunknpmjs||[]).push([[1358],{1358:(e,L,i)=>{i.r(L),i.d(L,{ix_icon:()=>d});var n=i(3268);const t="data:image/svg+xml;utf8,",o=Object.freeze({__proto__:null,iconAboutFilled:"data:image/svg+xml;utf8,",iconAbout:"data:image/svg+xml;utf8,",iconAddApplication:"data:image/svg+xml;utf8,",iconAddCircleFilled:"data:image/svg+xml;utf8,",iconAddCircle:"data:image/svg+xml;utf8,",iconAddDocumentNote:"data:image/svg+xml;utf8,",iconAddEyeFilled:"data:image/svg+xml;utf8,",iconAddEye:"data:image/svg+xml;utf8,",iconAddTaskList:"data:image/svg+xml;utf8,",iconAddTask:"data:image/svg+xml;utf8,",iconAddUserFilled:"data:image/svg+xml;utf8,",iconAddUser:"data:image/svg+xml;utf8,",iconAdd:"data:image/svg+xml;utf8,",iconAi:"data:image/svg+xml;utf8,",iconAlarmBellCancelledFilled:"data:image/svg+xml;utf8,",iconAlarmBellCancelled:"data:image/svg+xml;utf8,",iconAlarmBellFilled:"data:image/svg+xml;utf8,",iconAlarmBell:"data:image/svg+xml;utf8,",iconAlarmClockFilled:"data:image/svg+xml;utf8,",iconAlarmClock:"data:image/svg+xml;utf8,",iconAlarmFilled:"data:image/svg+xml;utf8,",iconAlarm:"data:image/svg+xml;utf8,",iconAnalyze:"data:image/svg+xml;utf8,",iconAnomalyFound:"data:image/svg+xml;utf8,",iconAnomaly:"data:image/svg+xml;utf8,",iconAppMenu:"data:image/svg+xml;utf8,",iconApplicationScreen:"data:image/svg+xml;utf8,",iconApplications:"data:image/svg+xml;utf8,",iconApps:"data:image/svg+xml;utf8,",iconArrowDiagonalBottomLeft:"data:image/svg+xml;utf8,",iconArrowDiagonalBottomRight:"data:image/svg+xml;utf8,",iconArrowDiagonalTopLeft:"data:image/svg+xml;utf8,",iconArrowDiagonalTopRight:"data:image/svg+xml;utf8,",iconArrowDownRight:"data:image/svg+xml;utf8,",iconArrowDown:"data:image/svg+xml;utf8,",iconArrowLeft:"data:image/svg+xml;utf8,",iconArrowRightDown:"data:image/svg+xml;utf8,",iconArrowRight:"data:image/svg+xml;utf8,",iconArrowUp:"data:image/svg+xml;utf8,",iconAttach:"data:image/svg+xml;utf8,",iconAttachmentUpload:"data:image/svg+xml;utf8,",iconAudioDescription1:"data:image/svg+xml;utf8,",iconAudioDescription2:"data:image/svg+xml;utf8,",iconAuditReport:"data:image/svg+xml;utf8,",iconAverage:"data:image/svg+xml;utf8,",iconBackupFilled:"data:image/svg+xml;utf8,",iconBackup:"data:image/svg+xml;utf8,",iconBarCode:"data:image/svg+xml;utf8,",iconBarchart:"data:image/svg+xml;utf8,",iconBatteryCheck:"data:image/svg+xml;utf8,",iconBatteryEmptyQuestion:"data:image/svg+xml;utf8,",iconBatteryEmpty:"data:image/svg+xml;utf8,",iconBatteryExclamation:"data:image/svg+xml;utf8,",iconBatteryFullCheck:"data:image/svg+xml;utf8,",iconBatteryFull:"data:image/svg+xml;utf8,",iconBatteryHalf:"data:image/svg+xml;utf8,",iconBatteryLow:"data:image/svg+xml;utf8,",iconBatteryQuarter:"data:image/svg+xml;utf8,",iconBatterySlash:"data:image/svg+xml;utf8,",iconBatteryThreeQuarter:"data:image/svg+xml;utf8,",iconBatteryXmark:"data:image/svg+xml;utf8,",iconBezierCurve:"data:image/svg+xml;utf8,",iconBinocularsFilled:"data:image/svg+xml;utf8,",iconBinoculars:"data:image/svg+xml;utf8,",iconBlazor:"data:image/svg+xml;utf8,",iconBook:"data:image/svg+xml;utf8,",iconBookmarkFilled:"data:image/svg+xml;utf8,",iconBookmark:"data:image/svg+xml;utf8,",iconBoundarySignals:"data:image/svg+xml;utf8,",iconBuilding1Filled:"data:image/svg+xml;utf8,",iconBuilding1:"data:image/svg+xml;utf8,",iconBuilding2Filled:"data:image/svg+xml;utf8,",iconBuilding2:"data:image/svg+xml;utf8,",iconBulbFilled:"data:image/svg+xml;utf8,",iconBulb:"data:image/svg+xml;utf8,",iconCalendarFilled:"data:image/svg+xml;utf8,",iconCalendarSettings:"data:image/svg+xml;utf8,",iconCalendar:"data:image/svg+xml;utf8,",iconCancel:"data:image/svg+xml;utf8,",iconCancelled:"data:image/svg+xml;utf8,",iconCapacityFilled:"data:image/svg+xml;utf8,",iconCapacity:"data:image/svg+xml;utf8,",iconCapture:"data:image/svg+xml;utf8,",iconCarFilled:"data:image/svg+xml;utf8,",iconCar:"data:image/svg+xml;utf8,",iconCardLayoutFilled:"data:image/svg+xml;utf8,",iconCardLayout:"data:image/svg+xml;utf8,",iconCertificateErrorFilled:"data:image/svg+xml;utf8,",iconCertificateError:"data:image/svg+xml;utf8,",iconCertificateExclamationFilled:"data:image/svg+xml;utf8,",iconCertificateExclamation:"data:image/svg+xml;utf8,",iconCertificateSuccessFilled:"data:image/svg+xml;utf8,",iconCertificateSuccess:"data:image/svg+xml;utf8,",iconChartCursor:"data:image/svg+xml;utf8,",iconChartCurveLinear:"data:image/svg+xml;utf8,",iconChartCurveSpline:"data:image/svg+xml;utf8,",iconChartCurveStepped:"data:image/svg+xml;utf8,",iconChartDiagramAdd:"data:image/svg+xml;utf8,",iconChartDiagram:"data:image/svg+xml;utf8,",iconChartDiagrams:"data:image/svg+xml;utf8,",iconChartLabelsFilled:"data:image/svg+xml;utf8,",iconChartLabels:"data:image/svg+xml;utf8,",iconCheckIn:"data:image/svg+xml;utf8,",iconCheckOut:"data:image/svg+xml;utf8,",iconCheck:"data:image/svg+xml;utf8,",iconCheckboxComponentChecked:"data:image/svg+xml;utf8,",iconCheckboxComponentMixed:"data:image/svg+xml;utf8,",iconCheckboxComponentUnchecked:"data:image/svg+xml;utf8,",iconCheckboxFilled:"data:image/svg+xml;utf8,",iconCheckbox:"data:image/svg+xml;utf8,",iconCheckboxesFilled:"data:image/svg+xml;utf8,",iconCheckboxes:"data:image/svg+xml;utf8,",iconChevronDownSmall:"data:image/svg+xml;utf8,",iconChevronDown:"data:image/svg+xml;utf8,",iconChevronLeftSmall:"data:image/svg+xml;utf8,",iconChevronLeft:"data:image/svg+xml;utf8,",iconChevronRightSmall:"data:image/svg+xml;utf8,",iconChevronRight:"data:image/svg+xml;utf8,",iconChevronUpSmall:"data:image/svg+xml;utf8,",iconChevronUp:"data:image/svg+xml;utf8,",iconCircleDotFilled:"data:image/svg+xml;utf8,",iconCircleDot:"data:image/svg+xml;utf8,",iconCircleFilled:"data:image/svg+xml;utf8,",iconCirclePauseFilled:"data:image/svg+xml;utf8,",iconCirclePause:"data:image/svg+xml;utf8,",iconCirclePlayFilled:"data:image/svg+xml;utf8,",iconCirclePlay:"data:image/svg+xml;utf8,",iconCircleStopFilled:"data:image/svg+xml;utf8,",iconCircleStop:"data:image/svg+xml;utf8,",iconCircle:"data:image/svg+xml;utf8,",iconClearFilterFilled:"data:image/svg+xml;utf8,",iconClearFilter:"data:image/svg+xml;utf8,",iconClear:"data:image/svg+xml;utf8,",iconClockFilled:"data:image/svg+xml;utf8,",iconClock:"data:image/svg+xml;utf8,",iconCloseSmall:"data:image/svg+xml;utf8,",iconClose:"data:image/svg+xml;utf8,",iconCloudDownloadAddFilled:"data:image/svg+xml;utf8,",iconCloudDownloadAdd:"data:image/svg+xml;utf8,",iconCloudDownloadFilled:"data:image/svg+xml;utf8,",iconCloudDownloadListFilled:"data:image/svg+xml;utf8,",iconCloudDownloadList:"data:image/svg+xml;utf8,",iconCloudDownload:"data:image/svg+xml;utf8,",iconCloudFailFilled:"data:image/svg+xml;utf8,",iconCloudFail:"data:image/svg+xml;utf8,",iconCloudFilled:"data:image/svg+xml;utf8,",iconCloudNewFilled:"data:image/svg+xml;utf8,",iconCloudNew:"data:image/svg+xml;utf8,",iconCloudSuccessFilled:"data:image/svg+xml;utf8,",iconCloudSuccess:"data:image/svg+xml;utf8,",iconCloudUploadFilled:"data:image/svg+xml;utf8,",iconCloudUpload:"data:image/svg+xml;utf8,",iconCloud:"data:image/svg+xml;utf8,",iconCode:"data:image/svg+xml;utf8,",iconCoffeeEmptyFilled:"data:image/svg+xml;utf8,",iconCoffeeEmpty:"data:image/svg+xml;utf8,",iconCoffeeFilled:"data:image/svg+xml;utf8,",iconCoffee:"data:image/svg+xml;utf8,",iconCogwheelFilled:"data:image/svg+xml;utf8,",iconCogwheel:"data:image/svg+xml;utf8,",iconCombine:"data:image/svg+xml;utf8,",iconCompactDiscFilled:"data:image/svg+xml;utf8,",iconCompactDisc:"data:image/svg+xml;utf8,",iconCompoundBlock:"data:image/svg+xml;utf8,",iconConfiguration:"data:image/svg+xml;utf8,",iconConfigureFilled:"data:image/svg+xml;utf8,",iconConfigure:"data:image/svg+xml;utf8,",iconConnected:"data:image/svg+xml;utf8,",iconConnectorChartFilled:"data:image/svg+xml;utf8,",iconConnectorChart:"data:image/svg+xml;utf8,",iconConnectorFilled:"data:image/svg+xml;utf8,",iconConnectorHexFilled:"data:image/svg+xml;utf8,",iconConnectorHex:"data:image/svg+xml;utf8,",iconConnectorRectFilled:"data:image/svg+xml;utf8,",iconConnectorRect:"data:image/svg+xml;utf8,",iconConnectorRhombFilled:"data:image/svg+xml;utf8,",iconConnectorRhomb:"data:image/svg+xml;utf8,",iconConnector:"data:image/svg+xml;utf8,",iconConsistencyCheck:"data:image/svg+xml;utf8,",iconContactDetailsFilled:"data:image/svg+xml;utf8,",iconContactDetails:"data:image/svg+xml;utf8,",iconContextMenu:"data:image/svg+xml;utf8,",iconControlledDevice:"data:image/svg+xml;utf8,",iconControllerDevice:"data:image/svg+xml;utf8,",iconCopy:"data:image/svg+xml;utf8,",iconCornerArrowUpLeft:"data:image/svg+xml;utf8,",iconCouchFilled:"data:image/svg+xml;utf8,",iconCouch:"data:image/svg+xml;utf8,",iconCreatePlantFilled:"data:image/svg+xml;utf8,",iconCreatePlant:"data:image/svg+xml;utf8,",iconCut:"data:image/svg+xml;utf8,",iconCycle:"data:image/svg+xml;utf8,",iconDataEgress:"data:image/svg+xml;utf8,",iconDataIngressEgress:"data:image/svg+xml;utf8,",iconDataIngress:"data:image/svg+xml;utf8,",iconDatabaseFilled:"data:image/svg+xml;utf8,",iconDatabase:"data:image/svg+xml;utf8,",iconDetails:"data:image/svg+xml;utf8,",iconDiagramModuleLibrary:"data:image/svg+xml;utf8,",iconDiagramModuleNew:"data:image/svg+xml;utf8,",iconDiagramModule:"data:image/svg+xml;utf8,",iconDiamond:"data:image/svg+xml;utf8,",iconDisconnected:"data:image/svg+xml;utf8,",iconDiskFilled:"data:image/svg+xml;utf8,",iconDiskPen:"data:image/svg+xml;utf8,",iconDisk:"data:image/svg+xml;utf8,",iconDistribution:"data:image/svg+xml;utf8,",iconDocDocument:"data:image/svg+xml;utf8,",iconDocumentBulk:"data:image/svg+xml;utf8,",iconDocumentFail:"data:image/svg+xml;utf8,",iconDocumentInfo:"data:image/svg+xml;utf8,",iconDocumentLink:"data:image/svg+xml;utf8,",iconDocumentManagement:"data:image/svg+xml;utf8,",iconDocumentReference:"data:image/svg+xml;utf8,",iconDocumentSettings:"data:image/svg+xml;utf8,",iconDocumentSuccess:"data:image/svg+xml;utf8,",iconDocument:"data:image/svg+xml;utf8,",iconDoubleCheck:"data:image/svg+xml;utf8,",iconDoubleChevronDown:"data:image/svg+xml;utf8,",iconDoubleChevronLeft:"data:image/svg+xml;utf8,",iconDoubleChevronRight:"data:image/svg+xml;utf8,",iconDoubleChevronUp:"data:image/svg+xml;utf8,",iconDoubletFilled:"data:image/svg+xml;utf8,",iconDoublet:"data:image/svg+xml;utf8,",iconDownloadAdd:"data:image/svg+xml;utf8,",iconDownloadList:"data:image/svg+xml;utf8,",iconDownload:"data:image/svg+xml;utf8,",iconDrop:"data:image/svg+xml;utf8,",iconDuplicateDocument:"data:image/svg+xml;utf8,",iconDuplicate:"data:image/svg+xml;utf8,",iconEMailFilled:"data:image/svg+xml;utf8,",iconEMail:"data:image/svg+xml;utf8,",iconEarthFilled:"data:image/svg+xml;utf8,",iconEarth:"data:image/svg+xml;utf8,",iconEditPlant:"data:image/svg+xml;utf8,",iconElectricalEnergyFilled:"data:image/svg+xml;utf8,",iconElectricalEnergy:"data:image/svg+xml;utf8,",iconEllipseArc:"data:image/svg+xml;utf8,",iconEllipseFilled:"data:image/svg+xml;utf8,",iconEllipse:"data:image/svg+xml;utf8,",iconErrorFilled:"data:image/svg+xml;utf8,",iconError:"data:image/svg+xml;utf8,",iconExploreFilled:"data:image/svg+xml;utf8,",iconExplore:"data:image/svg+xml;utf8,",iconExport:"data:image/svg+xml;utf8,",iconEyeCancelledFilled:"data:image/svg+xml;utf8,",iconEyeCancelled:"data:image/svg+xml;utf8,",iconEyeFilled:"data:image/svg+xml;utf8,",iconEye:"data:image/svg+xml;utf8,",iconFactoryResetFilled:"data:image/svg+xml;utf8,",iconFactoryReset:"data:image/svg+xml;utf8,",iconFilterFilled:"data:image/svg+xml;utf8,",iconFilterOutline:"data:image/svg+xml;utf8,",iconFilter:"data:image/svg+xml;utf8,",iconFitToScreen:"data:image/svg+xml;utf8,",iconFlagFilled:"data:image/svg+xml;utf8,",iconFlag:"data:image/svg+xml;utf8,",iconFolderDownFilled:"data:image/svg+xml;utf8,",iconFolderDown:"data:image/svg+xml;utf8,",iconFolderFilled:"data:image/svg+xml;utf8,",iconFolderNewFilled:"data:image/svg+xml;utf8,",iconFolderNewOutline:"data:image/svg+xml;utf8,",iconFolderNew:"data:image/svg+xml;utf8,",iconFolderOpenFilled:"data:image/svg+xml;utf8,",iconFolderOpenOutline:"data:image/svg+xml;utf8,",iconFolderOpen:"data:image/svg+xml;utf8,",iconFolderOutline:"data:image/svg+xml;utf8,",iconFolderUpFilled:"data:image/svg+xml;utf8,",iconFolderUp:"data:image/svg+xml;utf8,",iconFolder:"data:image/svg+xml;utf8,",iconFullScreeenExit:"data:image/svg+xml;utf8,",iconFullScreeen:"data:image/svg+xml;utf8,",iconFullScreenExit:"data:image/svg+xml;utf8,",iconFullScreen:"data:image/svg+xml;utf8,",iconFunctionBlockLibrary:"data:image/svg+xml;utf8,",iconFunctionBlockNew:"data:image/svg+xml;utf8,",iconFunctionBlock:"data:image/svg+xml;utf8,",iconFunctionDiagramNew:"data:image/svg+xml;utf8,",iconFunctionDiagram:"data:image/svg+xml;utf8,",iconGaugeFilled:"data:image/svg+xml;utf8,",iconGauge:"data:image/svg+xml;utf8,",iconGaugechart:"data:image/svg+xml;utf8,",iconGlobalPlantFilled:"data:image/svg+xml;utf8,",iconGlobalPlant:"data:image/svg+xml;utf8,",iconGlobeFilled:"data:image/svg+xml;utf8,",iconGlobe:"data:image/svg+xml;utf8,",iconGoto:"data:image/svg+xml;utf8,",iconGroup:"data:image/svg+xml;utf8,",iconHardReset:"data:image/svg+xml;utf8,",iconHardwareCabinet:"data:image/svg+xml;utf8,",iconHealthFilled:"data:image/svg+xml;utf8,",iconHealth:"data:image/svg+xml;utf8,",iconHeartFilled:"data:image/svg+xml;utf8,",iconHeart:"data:image/svg+xml;utf8,",iconHexagonVerticalBarsDatabaseFilled:"data:image/svg+xml;utf8,",iconHexagonVerticalBarsDatabase:"data:image/svg+xml;utf8,",iconHexagonVerticalBarsFilled:"data:image/svg+xml;utf8,",iconHexagonVerticalBars:"data:image/svg+xml;utf8,",iconHierarchy:"data:image/svg+xml;utf8,",iconHighlightFilled:"data:image/svg+xml;utf8,",iconHighlight:"data:image/svg+xml;utf8,",iconHistoryList:"data:image/svg+xml;utf8,",iconHistory:"data:image/svg+xml;utf8,",iconHomeFilled:"data:image/svg+xml;utf8,",iconHome:"data:image/svg+xml;utf8,",iconHourglass:"data:image/svg+xml;utf8,",iconImageFilled:"data:image/svg+xml;utf8,",iconImage:"data:image/svg+xml;utf8,",iconImport:"data:image/svg+xml;utf8,",iconInfoFeed:"data:image/svg+xml;utf8,",iconInfoFilled:"data:image/svg+xml;utf8,",iconInfo:"data:image/svg+xml;utf8,",iconIngestionReport:"data:image/svg+xml;utf8,",iconIngestion:"data:image/svg+xml;utf8,",iconInkPen:"data:image/svg+xml;utf8,",iconInquiryFilled:"data:image/svg+xml;utf8,",iconInquiryMail:"data:image/svg+xml;utf8,",iconInquiry:"data:image/svg+xml;utf8,",iconItemDetailsFilled:"data:image/svg+xml;utf8,",iconItemDetails:"data:image/svg+xml;utf8,",iconLabelFilled:"data:image/svg+xml;utf8,",iconLabel:"data:image/svg+xml;utf8,",iconLandingPageLogo:"data:image/svg+xml;utf8,",iconLanguageFilled:"data:image/svg+xml;utf8,",iconLanguage:"data:image/svg+xml;utf8,",iconLayersFilled:"data:image/svg+xml;utf8,",iconLayers:"data:image/svg+xml;utf8,",iconLeaf:"data:image/svg+xml;utf8,",iconLegal:"data:image/svg+xml;utf8,",iconLibraryNew:"data:image/svg+xml;utf8,",iconLibrary:"data:image/svg+xml;utf8,",iconLicense:"data:image/svg+xml;utf8,",iconLightDark:"data:image/svg+xml;utf8,",iconLineDiagonal:"data:image/svg+xml;utf8,",iconLink:"data:image/svg+xml;utf8,",iconList:"data:image/svg+xml;utf8,",iconLiveSchedule:"data:image/svg+xml;utf8,",iconLocationFilled:"data:image/svg+xml;utf8,",iconLocationOutline:"data:image/svg+xml;utf8,",iconLocation:"data:image/svg+xml;utf8,",iconLockFilled:"data:image/svg+xml;utf8,",iconLockKeyFilled:"data:image/svg+xml;utf8,",iconLockKey:"data:image/svg+xml;utf8,",iconLock:"data:image/svg+xml;utf8,",iconLogIn:"data:image/svg+xml;utf8,",iconLogOut:"data:image/svg+xml;utf8,",iconLog:"data:image/svg+xml;utf8,",iconLogicDiagram:"data:image/svg+xml;utf8,",iconLowerLimit:"data:image/svg+xml;utf8,",iconMailFilled:"data:image/svg+xml;utf8,",iconMail:"data:image/svg+xml;utf8,",iconMaintenanceDocuments:"data:image/svg+xml;utf8,",iconMaintenanceInfo:"data:image/svg+xml;utf8,",iconMaintenanceWarningFilled:"data:image/svg+xml;utf8,",iconMaintenanceWarning:"data:image/svg+xml;utf8,",iconMaintenance:"data:image/svg+xml;utf8,",iconMandatoryDone:"data:image/svg+xml;utf8,",iconMandatory:"data:image/svg+xml;utf8,",iconMap:"data:image/svg+xml;utf8,",iconMaximize:"data:image/svg+xml;utf8,",iconMicrophoneFilled:"data:image/svg+xml;utf8,",iconMicrophone:"data:image/svg+xml;utf8,",iconMinimize:"data:image/svg+xml;utf8,",iconMinus:"data:image/svg+xml;utf8,",iconMissingSymbol:t,iconMix:"data:image/svg+xml;utf8,",iconMonitorFilled:"data:image/svg+xml;utf8,",iconMonitorTrend:"data:image/svg+xml;utf8,",iconMonitor:"data:image/svg+xml;utf8,",iconMonitoringAdd:"data:image/svg+xml;utf8,",iconMonitoring:"data:image/svg+xml;utf8,",iconMonitorings:"data:image/svg+xml;utf8,",iconMoonFilled:"data:image/svg+xml;utf8,",iconMoon:"data:image/svg+xml;utf8,",iconMoreMenu:"data:image/svg+xml;utf8,",iconMouseClickFilled:"data:image/svg+xml;utf8,",iconMouseClick:"data:image/svg+xml;utf8,",iconMouseSelectFilled:"data:image/svg+xml;utf8,",iconMouseSelect:"data:image/svg+xml;utf8,",iconMp4Document:"data:image/svg+xml;utf8,",iconNamurCheckFunctionFilled:"data:image/svg+xml;utf8,",iconNamurCheckFunction:"data:image/svg+xml;utf8,",iconNamurFailureFilled:"data:image/svg+xml;utf8,",iconNamurFailure:"data:image/svg+xml;utf8,",iconNamurMaintenanceRequiredFilled:"data:image/svg+xml;utf8,",iconNamurMaintenanceRequired:"data:image/svg+xml;utf8,",iconNamurOkFilled:"data:image/svg+xml;utf8,",iconNamurOk:"data:image/svg+xml;utf8,",iconNamurOutOfSpecFilled:"data:image/svg+xml;utf8,",iconNamurOutOfSpec:"data:image/svg+xml;utf8,",iconNavigationFilled:"data:image/svg+xml;utf8,",iconNavigationLeft:"data:image/svg+xml;utf8,",iconNavigationRight:"data:image/svg+xml;utf8,",iconNavigation:"data:image/svg+xml;utf8,",iconNewIndicatorFilled:"data:image/svg+xml;utf8,",iconNewIndicator:"data:image/svg+xml;utf8,",iconNoFilterFilled:"data:image/svg+xml;utf8,",iconNoFilter:"data:image/svg+xml;utf8,",iconNoImage:"data:image/svg+xml;utf8,",iconNoteFilled:"data:image/svg+xml;utf8,",iconNote:"data:image/svg+xml;utf8,",iconNotificationFilled:"data:image/svg+xml;utf8,",iconNotification:"data:image/svg+xml;utf8,",iconNotificationsFilled:"data:image/svg+xml;utf8,",iconNotifications:"data:image/svg+xml;utf8,",iconOntologyFilled:"data:image/svg+xml;utf8,",iconOntology:"data:image/svg+xml;utf8,",iconOpenExternal:"data:image/svg+xml;utf8,",iconOpenFileFilled:"data:image/svg+xml;utf8,",iconOpenFile:"data:image/svg+xml;utf8,",iconOperatePlantFilled:"data:image/svg+xml;utf8,",iconOperatePlant:"data:image/svg+xml;utf8,",iconOptimize:"data:image/svg+xml;utf8,",iconPAndISymbols:"data:image/svg+xml;utf8,",iconPIDiagram:"data:image/svg+xml;utf8,",iconPan:"data:image/svg+xml;utf8,",iconPaste:"data:image/svg+xml;utf8,",iconPause:"data:image/svg+xml;utf8,",iconPcTowerFilled:"data:image/svg+xml;utf8,",iconPcTower:"data:image/svg+xml;utf8,",iconPdfDocument:"data:image/svg+xml;utf8,",iconPenFilled:"data:image/svg+xml;utf8,",iconPen:"data:image/svg+xml;utf8,",iconPhoneFilled:"data:image/svg+xml;utf8,",iconPhone:"data:image/svg+xml;utf8,",iconPhotoCameraAdd:"data:image/svg+xml;utf8,",iconPhotoCameraCancelledFilled:"data:image/svg+xml;utf8,",iconPhotoCameraCancelled:"data:image/svg+xml;utf8,",iconPhotoCameraFilled:"data:image/svg+xml;utf8,",iconPhotoCamera:"data:image/svg+xml;utf8,",iconPhotoCameras:"data:image/svg+xml;utf8,",iconPiechartFilled:"data:image/svg+xml;utf8,",iconPiechart:"data:image/svg+xml;utf8,",iconPinFilled:"data:image/svg+xml;utf8,",iconPin:"data:image/svg+xml;utf8,",iconPlantFilled:"data:image/svg+xml;utf8,",iconPlantHandbookFilled:"data:image/svg+xml;utf8,",iconPlantHandbook:"data:image/svg+xml;utf8,",iconPlantOutline:"data:image/svg+xml;utf8,",iconPlantSecurity:"data:image/svg+xml;utf8,",iconPlantSettingsFilled:"data:image/svg+xml;utf8,",iconPlantSettings:"data:image/svg+xml;utf8,",iconPlantUserFilled:"data:image/svg+xml;utf8,",iconPlantUser:"data:image/svg+xml;utf8,",iconPlant:"data:image/svg+xml;utf8,",iconPlantsFilled:"data:image/svg+xml;utf8,",iconPlants:"data:image/svg+xml;utf8,",iconPlayFilled:"data:image/svg+xml;utf8,",iconPlayPauseFilled:"data:image/svg+xml;utf8,",iconPlayPause:"data:image/svg+xml;utf8,",iconPlayStepwiseFilled:"data:image/svg+xml;utf8,",iconPlayStepwise:"data:image/svg+xml;utf8,",iconPlay:"data:image/svg+xml;utf8,",iconPlusMinusTimesDivide:"data:image/svg+xml;utf8,",iconPlus:"data:image/svg+xml;utf8,",iconPointUpFilled:"data:image/svg+xml;utf8,",iconPointUp:"data:image/svg+xml;utf8,",iconPolarPlot:"data:image/svg+xml;utf8,",iconPolygonFilled:"data:image/svg+xml;utf8,",iconPolygonLine:"data:image/svg+xml;utf8,",iconPolygon:"data:image/svg+xml;utf8,",iconPptDocument:"data:image/svg+xml;utf8,",iconPrintFilled:"data:image/svg+xml;utf8,",iconPrint:"data:image/svg+xml;utf8,",iconPrioHigh:"data:image/svg+xml;utf8,",iconPrioLow:"data:image/svg+xml;utf8,",iconPrioMiddle:"data:image/svg+xml;utf8,",iconProductCatalog:"data:image/svg+xml;utf8,",iconProductManagement:"data:image/svg+xml;utf8,",iconProduct:"data:image/svg+xml;utf8,",iconProjectConfiguration:"data:image/svg+xml;utf8,",iconProjectNew:"data:image/svg+xml;utf8,",iconProjectScenarios:"data:image/svg+xml;utf8,",iconProjectServerFilled:"data:image/svg+xml;utf8,",iconProjectServer:"data:image/svg+xml;utf8,",iconProject:"data:image/svg+xml;utf8,",iconProtocol:"data:image/svg+xml;utf8,",iconPublishDocument:"data:image/svg+xml;utf8,",iconPublish:"data:image/svg+xml;utf8,",iconQrCode:"data:image/svg+xml;utf8,",iconQualityReport:"data:image/svg+xml;utf8,",iconQuestionFilled:"data:image/svg+xml;utf8,",iconQuestion:"data:image/svg+xml;utf8,",iconRadarchart:"data:image/svg+xml;utf8,",iconRadioWavesOff:"data:image/svg+xml;utf8,",iconRadioWavesWarning:"data:image/svg+xml;utf8,",iconRadioWaves:"data:image/svg+xml;utf8,",iconRandomFilled:"data:image/svg+xml;utf8,",iconRandom:"data:image/svg+xml;utf8,",iconReboot:"data:image/svg+xml;utf8,",iconRectangleFilled:"data:image/svg+xml;utf8,",iconRectangle:"data:image/svg+xml;utf8,",iconRedo:"data:image/svg+xml;utf8,",iconReference:"data:image/svg+xml;utf8,",iconRefreshCancelled:"data:image/svg+xml;utf8,",iconRefresh:"data:image/svg+xml;utf8,",iconReload:"data:image/svg+xml;utf8,",iconRemoveApplication:"data:image/svg+xml;utf8,",iconRemoveEyeFilled:"data:image/svg+xml;utf8,",iconRemoveEye:"data:image/svg+xml;utf8,",iconRename:"data:image/svg+xml;utf8,",iconReplace:"data:image/svg+xml;utf8,",iconReportBarchart:"data:image/svg+xml;utf8,",iconReportLinechart:"data:image/svg+xml;utf8,",iconReportText:"data:image/svg+xml;utf8,",iconReset:"data:image/svg+xml;utf8,",iconRestoreBackupFilled:"data:image/svg+xml;utf8,",iconRestoreBackupPc:"data:image/svg+xml;utf8,",iconRestoreBackup:"data:image/svg+xml;utf8,",iconRhombFilled:"data:image/svg+xml;utf8,",iconRhomb:"data:image/svg+xml;utf8,",iconRoadFilled:"data:image/svg+xml;utf8,",iconRoad:"data:image/svg+xml;utf8,",iconRocketFilled:"data:image/svg+xml;utf8,",iconRocket:"data:image/svg+xml;utf8,",iconRouteTarget:"data:image/svg+xml;utf8,",iconRoute:"data:image/svg+xml;utf8,",iconScatterplot:"data:image/svg+xml;utf8,",iconSchedulerFilled:"data:image/svg+xml;utf8,",iconScheduler:"data:image/svg+xml;utf8,",iconScreenFilled:"data:image/svg+xml;utf8,",iconScreen:"data:image/svg+xml;utf8,",iconScreenshotFilled:"data:image/svg+xml;utf8,",iconScreenshot:"data:image/svg+xml;utf8,",iconScriptAdd:"data:image/svg+xml;utf8,",iconScript:"data:image/svg+xml;utf8,",iconScripts:"data:image/svg+xml;utf8,",iconSearch:"data:image/svg+xml;utf8,",iconShareFilled:"data:image/svg+xml;utf8,",iconShare:"data:image/svg+xml;utf8,",iconShoppingCartFilled:"data:image/svg+xml;utf8,",iconShoppingCart:"data:image/svg+xml;utf8,",iconShoutFilled:"data:image/svg+xml;utf8,",iconShout:"data:image/svg+xml;utf8,",iconSignLanguage:"data:image/svg+xml;utf8,",iconSignalStrength0:"data:image/svg+xml;utf8,",iconSignalStrength1:"data:image/svg+xml;utf8,",iconSignalStrength2:"data:image/svg+xml;utf8,",iconSignalStrength3:"data:image/svg+xml;utf8,",iconSignalStrength4:"data:image/svg+xml;utf8,",iconSignalStrength5:"data:image/svg+xml;utf8,",iconSignalStrength6:"data:image/svg+xml;utf8,",iconSignalStrength7:"data:image/svg+xml;utf8,",iconSignalStrength8:"data:image/svg+xml;utf8,",iconSimitComponent:"data:image/svg+xml;utf8,",iconSimitMacroComponentEditor:"data:image/svg+xml;utf8,",iconSimitMacro:"data:image/svg+xml;utf8,",iconSingleCheck:"data:image/svg+xml;utf8,",iconSkipBackFilled:"data:image/svg+xml;utf8,",iconSkipBack:"data:image/svg+xml;utf8,",iconSkipFilled:"data:image/svg+xml;utf8,",iconSkip:"data:image/svg+xml;utf8,",iconSnowflake:"data:image/svg+xml;utf8,",iconSortAscending:"data:image/svg+xml;utf8,",iconSortDescending:"data:image/svg+xml;utf8,",iconSort:"data:image/svg+xml;utf8,",iconSoundLoudFilled:"data:image/svg+xml;utf8,",iconSoundLoud:"data:image/svg+xml;utf8,",iconSoundMuteFilled:"data:image/svg+xml;utf8,",iconSoundMute:"data:image/svg+xml;utf8,",iconSoundOffFilled:"data:image/svg+xml;utf8,",iconSoundOff:"data:image/svg+xml;utf8,",iconSoundQuietFilled:"data:image/svg+xml;utf8,",iconSoundQuiet:"data:image/svg+xml;utf8,",iconSpatial:"data:image/svg+xml;utf8,",iconSplitHorizontally:"data:image/svg+xml;utf8,",iconSplitVertically:"data:image/svg+xml;utf8,",iconStampFilled:"data:image/svg+xml;utf8,",iconStamp:"data:image/svg+xml;utf8,",iconStandby:"data:image/svg+xml;utf8,",iconStarAddFilled:"data:image/svg+xml;utf8,",iconStarAdd:"data:image/svg+xml;utf8,",iconStarCancelledFilled:"data:image/svg+xml;utf8,",iconStarCancelled:"data:image/svg+xml;utf8,",iconStarFilled:"data:image/svg+xml;utf8,",iconStarListFilled:"data:image/svg+xml;utf8,",iconStarList:"data:image/svg+xml;utf8,",iconStar:"data:image/svg+xml;utf8,",iconStartDataAnalysis:"data:image/svg+xml;utf8,",iconSteeringUserFilled:"data:image/svg+xml;utf8,",iconSteeringUser:"data:image/svg+xml;utf8,",iconSteering:"data:image/svg+xml;utf8,",iconStethoscope:"data:image/svg+xml;utf8,",iconStopFilled:"data:image/svg+xml;utf8,",iconStop:"data:image/svg+xml;utf8,",iconSuccessFilled:"data:image/svg+xml;utf8,",iconSuccess:"data:image/svg+xml;utf8,",iconSunFilled:"data:image/svg+xml;utf8,",iconSun:"data:image/svg+xml;utf8,",iconSupport:"data:image/svg+xml;utf8,",iconSurveillanceCancelledFilled:"data:image/svg+xml;utf8,",iconSurveillanceCancelled:"data:image/svg+xml;utf8,",iconSurveillanceFilled:"data:image/svg+xml;utf8,",iconSurveillance:"data:image/svg+xml;utf8,",iconSvgDocument:"data:image/svg+xml;utf8,",iconSwapLeftRight:"data:image/svg+xml;utf8,",iconSwitchSlider:"data:image/svg+xml;utf8,",iconTableColumns:"data:image/svg+xml;utf8,",iconTableRows:"data:image/svg+xml;utf8,",iconTableSettings:"data:image/svg+xml;utf8,",iconTable:"data:image/svg+xml;utf8,",iconTagFilled:"data:image/svg+xml;utf8,",iconTagPlusFilled:"data:image/svg+xml;utf8,",iconTagPlus:"data:image/svg+xml;utf8,",iconTag:"data:image/svg+xml;utf8,",iconTasksAll:"data:image/svg+xml;utf8,",iconTasksDone:"data:image/svg+xml;utf8,",iconTasksOpen:"data:image/svg+xml;utf8,",iconTextCircleRectangleFilled:"data:image/svg+xml;utf8,",iconTextCircleRectangle:"data:image/svg+xml;utf8,",iconTextDocument:"data:image/svg+xml;utf8,",iconText:"data:image/svg+xml;utf8,",iconThresholdCancelled:"data:image/svg+xml;utf8,",iconThresholdOff:"data:image/svg+xml;utf8,",iconThresholdOn:"data:image/svg+xml;utf8,",iconToBePublished:"data:image/svg+xml;utf8,",iconToSearch:"data:image/svg+xml;utf8,",iconTopicFilled:"data:image/svg+xml;utf8,",iconTopic:"data:image/svg+xml;utf8,",iconTouchFilled:"data:image/svg+xml;utf8,",iconTouch:"data:image/svg+xml;utf8,",iconTrashcanFilled:"data:image/svg+xml;utf8,",iconTrashcan:"data:image/svg+xml;utf8,",iconTree:"data:image/svg+xml;utf8,",iconTrendDownwardFilled:"data:image/svg+xml;utf8,",iconTrendDownward:"data:image/svg+xml;utf8,",iconTrendSidewaysFilled:"data:image/svg+xml;utf8,",iconTrendSideways:"data:image/svg+xml;utf8,",iconTrendUpwardFilled:"data:image/svg+xml;utf8,",iconTrendUpward:"data:image/svg+xml;utf8,",iconTrend:"data:image/svg+xml;utf8,",iconTriangleFilled:"data:image/svg+xml;utf8,",iconTriangle:"data:image/svg+xml;utf8,",iconTruckFilled:"data:image/svg+xml;utf8,",iconTruck:"data:image/svg+xml;utf8,",iconTulipFilled:"data:image/svg+xml;utf8,",iconTulip:"data:image/svg+xml;utf8,",iconTxtDocument:"data:image/svg+xml;utf8,",iconUndo:"data:image/svg+xml;utf8,",iconUngroup:"data:image/svg+xml;utf8,",iconUnlockFilled:"data:image/svg+xml;utf8,",iconUnlockPlantFilled:"data:image/svg+xml;utf8,",iconUnlockPlant:"data:image/svg+xml;utf8,",iconUnlock:"data:image/svg+xml;utf8,",iconUploadDocumentNote:"data:image/svg+xml;utf8,",iconUploadFail:"data:image/svg+xml;utf8,",iconUploadSuccess:"data:image/svg+xml;utf8,",iconUpload:"data:image/svg+xml;utf8,",iconUpperLimit:"data:image/svg+xml;utf8,",iconUserCheckFilled:"data:image/svg+xml;utf8,",iconUserCheck:"data:image/svg+xml;utf8,",iconUserFailFilled:"data:image/svg+xml;utf8,",iconUserFail:"data:image/svg+xml;utf8,",iconUserFilled:"data:image/svg+xml;utf8,",iconUserManagementFilled:"data:image/svg+xml;utf8,",iconUserManagement:"data:image/svg+xml;utf8,",iconUserProfileFilled:"data:image/svg+xml;utf8,",iconUserProfile:"data:image/svg+xml;utf8,",iconUserReadingReading:"data:image/svg+xml;utf8,",iconUserReading:"data:image/svg+xml;utf8,",iconUserSettingsFilled:"data:image/svg+xml;utf8,",iconUserSettings:"data:image/svg+xml;utf8,",iconUser:"data:image/svg+xml;utf8,",iconValidate:"data:image/svg+xml;utf8,",iconVdiFolder:"data:image/svg+xml;utf8,",iconVersionHistory:"data:image/svg+xml;utf8,",iconVideoFileFilled:"data:image/svg+xml;utf8,",iconVideoFile:"data:image/svg+xml;utf8,",iconWarningFilled:"data:image/svg+xml;utf8,",iconWarningRhombFilled:"data:image/svg+xml;utf8,",iconWarningRhomb:"data:image/svg+xml;utf8,",iconWarning:"data:image/svg+xml;utf8,",iconWaterBathing:"data:image/svg+xml;utf8,",iconWaterFish:"data:image/svg+xml;utf8,",iconWaterPlant:"data:image/svg+xml;utf8,",iconWaterSunbathing:"data:image/svg+xml;utf8,",iconWaveform:"data:image/svg+xml;utf8,",iconWebcamCancelledFilled:"data:image/svg+xml;utf8,",iconWebcamCancelled:"data:image/svg+xml;utf8,",iconWebcamFilled:"data:image/svg+xml;utf8,",iconWebcam:"data:image/svg+xml;utf8,",iconWlanOff:"data:image/svg+xml;utf8,",iconWlanStrength0:"data:image/svg+xml;utf8,",iconWlanStrength1:"data:image/svg+xml;utf8,",iconWlanStrength2:"data:image/svg+xml;utf8,",iconWlanStrength3:"data:image/svg+xml;utf8,",iconWorkCaseFilled:"data:image/svg+xml;utf8,",iconWorkCase:"data:image/svg+xml;utf8,",iconWorkspace:"data:image/svg+xml;utf8,",iconWorkspaces:"data:image/svg+xml;utf8,",iconXAxisSettings:"data:image/svg+xml;utf8,",iconXlsDocument:"data:image/svg+xml;utf8,",iconXmlDocument:"data:image/svg+xml;utf8,",iconYAxisSettings:"data:image/svg+xml;utf8,",iconYoutubeFilled:"data:image/svg+xml;utf8,",iconYoutube:"data:image/svg+xml;utf8,",iconZoomIn:"data:image/svg+xml;utf8,",iconZoomOut:"data:image/svg+xml;utf8,",iconZoomSelection:"data:image/svg+xml;utf8,"});let g=null;function l(e){if(void 0===window.DOMParser)return void console.warn("DOMParser not supported by your browser.");null===g&&(g=new window.DOMParser);const L=g.parseFromString(e,"text/html").querySelector("svg");if(!L)throw Error("No valid svg data provided");return L.outerHTML}const s=/^(?:(?:https?|ftp):\/\/)?(?:\S+(?::\S*)?@)?(?:www\.)?(?:\S+\.\S+)(?:\S*)$/i;const d=class{constructor(e){(0,n.r)(this,e),this.size=void 0,this.color=void 0,this.name=void 0,this.svgContent=void 0}connectedCallback(){this.loadIconContent()}async loadIconContent(){try{this.svgContent=await async function(e){const{name:L}=e;if(!L)throw Error("no icon name provided");if((i=L)&&"string"==typeof i&&i.startsWith("data:image/svg+xml"))return l(L);var i;if(function(e){return s.test(e)}(L))try{return await async function(e){const L=await fetch(e),i=await L.text();if(!L.ok)throw console.error(i),Error(i);return l(i)}(L)}catch(e){throw e}return async function(e){const L=await Promise.resolve().then((function(){return o}));let i=function(e){let L="",i=!0;e=(e=e.replace(/[\(\)\[\]\{\}\=\?\!\.\:,\-_\+\\\"#~\/]/g," ")).toLowerCase();for(let n=0;e.length>n;n++){let t=e.charAt(n);t.match(/^\s+$/g)||t.match(/[\(\)\[\]\{\}\\\/]/g)?i=!0:i&&(t=t.toUpperCase(),i=!1),L+=t}const n=L.replace(/\s+/g,"");return n.charAt(0).toUpperCase()+n.slice(1)}(e);return i=`icon${i}`,l(L[i])}(L)}(this)}catch(e){this.svgContent=l(t)}}render(){const e={};return this.color&&(e.color=`var(--theme-${this.color})`),(0,n.h)(n.H,{style:e,class:{"size-12":"12"===this.size,"size-16":"16"===this.size,"size-24":"24"===this.size,"size-32":"32"===this.size}},(0,n.h)("div",{class:"svg-container",innerHTML:this.svgContent}))}static get watchers(){return{name:["loadIconContent"]}}};d.style=":host{display:inline-flex;height:1.5rem;width:1.5rem;min-height:1.5rem;min-width:1.5rem;color:inherit}:host .svg-container{display:block;position:relative;width:100%;height:100%}:host .svg-container svg{display:block;position:relative;height:100%;width:100%}:host .svg-container svg,:host .svg-container svg[fill],:host .svg-container svg [fill]{fill:currentColor !important}:host(.size-12){height:0.75rem;width:0.75rem;min-height:0.75rem;min-width:0.75rem}:host(.size-16){height:1rem;width:1rem;min-height:1rem;min-width:1rem}:host(.size-32){height:2rem;width:2rem;min-height:2rem;min-width:2rem}"}}]); \ No newline at end of file diff --git a/SiemensIXBlazor/wwwroot/js/siemens-ix/1394.index.bundle.js b/SiemensIXBlazor/wwwroot/js/siemens-ix/1394.index.bundle.js deleted file mode 100644 index ddca68c..0000000 --- a/SiemensIXBlazor/wwwroot/js/siemens-ix/1394.index.bundle.js +++ /dev/null @@ -1,10 +0,0 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- - -"use strict";(self.webpackChunknpmjs=self.webpackChunknpmjs||[]).push([[1394],{1394:(e,t,o)=>{o.r(t),o.d(t,{ix_content:()=>a});var r=o(6969),n=o(4428);const a=class{constructor(e){(0,r.r)(this,e),this.isContentHeaderSlotted=!1}get contentHeaderSlot(){return this.hostElement.shadowRoot.querySelector(".content-header slot")}render(){return(0,r.h)(r.H,{key:"85ecfecc47910592c3e5633e8f21ca6e2bf98b68"},(0,r.h)("div",{key:"5856277dbd6d05054a0c0083ae8ba9496e127cf5",class:{"content-header":!0,slotted:this.isContentHeaderSlotted}},(0,r.h)("slot",{key:"b5989ea440740b99deef634be6b30cb5b443d18b",name:"header",onSlotchange:()=>{this.isContentHeaderSlotted=(0,n.h)(this.contentHeaderSlot)}})),(0,r.h)("div",{key:"b4eea60b710cd2a2cf188c2125a91a33b4fca82f",class:"content"},(0,r.h)("slot",{key:"b739a3016884b29e41b1975b76121511c9f35f2a"})))}get hostElement(){return(0,r.g)(this)}};a.style=":host{display:flex;flex-direction:column;position:relative;padding:1.5rem 0rem 0.25rem 2rem;width:100%;height:100%;overflow:hidden}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .content{flex-grow:1;overflow:auto;padding-right:1.5rem}:host .content-header.slotted{margin-bottom:1rem;padding-right:1.5rem}"},4428:(e,t,o)=>{function r(e,t){return t?t.closest(e)||r(e,t.getRootNode().host):null}function n(e){return e.assignedElements({flatten:!0})}function a(e){return!!e&&0!==e.assignedElements({flatten:!0}).length}function s(e,t){return e?e instanceof ShadowRoot?s(e.host,t):e instanceof HTMLElement&&e.matches(t)?e:s(e.parentNode,t):null}o.d(t,{a:()=>s,c:()=>r,g:()=>n,h:()=>a})}}]); \ No newline at end of file diff --git a/SiemensIXBlazor/wwwroot/js/siemens-ix/1422.index.bundle.js b/SiemensIXBlazor/wwwroot/js/siemens-ix/1422.index.bundle.js deleted file mode 100644 index 76df397..0000000 --- a/SiemensIXBlazor/wwwroot/js/siemens-ix/1422.index.bundle.js +++ /dev/null @@ -1,10 +0,0 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- - -"use strict";(self.webpackChunknpmjs=self.webpackChunknpmjs||[]).push([[1422],{1422:(t,e,i)=>{i.r(e),i.d(e,{ix_content_header:()=>s});var a=i(6969);const s=class{constructor(t){(0,a.r)(this,t),this.backButtonClick=(0,a.c)(this,"backButtonClick",7),this.variant="primary",this.headerTitle=void 0,this.headerSubtitle=void 0,this.hasBackButton=!1}render(){return(0,a.h)(a.H,{key:"9376b89cd7ea2f1a169e0b2fce2e2a7aa8e5f46a"},this.hasBackButton?(0,a.h)("ix-icon-button",{class:"backButton",variant:"primary",icon:"arrow-left",ghost:!0,onClick:()=>this.backButtonClick.emit()}):null,(0,a.h)("div",{key:"6141d3d548f39bff6176fcefd6149fe044792626",class:"titleGroup"},(0,a.h)("ix-typography",{key:"5f97d37172b511b47b7c803beea7e99c15203757",variant:"secondary"===this.variant?"large-single":"h2"},this.headerTitle),void 0!==this.headerSubtitle?(0,a.h)("ix-typography",{variant:"caption",color:"soft",class:"subtitle"},this.headerSubtitle):null),(0,a.h)("div",{key:"38152287e955d5b149ac6c4bd5df99d4920ca587",class:"buttons"},(0,a.h)("slot",{key:"1d1bcc39278e91ff5da85460149ed76399ccbb1c"})))}};s.style=":host{display:flex;flex-direction:row;align-items:flex-start;padding:0px}:host .titleGroup{display:flex;flex-direction:column;flex:1 1 0%}:host .subtitle{margin-top:0.5rem}:host .backButton{margin-right:0.5rem}:host .buttons{flex:0 0 auto}"}}]); \ No newline at end of file diff --git a/SiemensIXBlazor/wwwroot/js/siemens-ix/1606.index.bundle.js b/SiemensIXBlazor/wwwroot/js/siemens-ix/1606.index.bundle.js deleted file mode 100644 index 1c6155b..0000000 --- a/SiemensIXBlazor/wwwroot/js/siemens-ix/1606.index.bundle.js +++ /dev/null @@ -1,10 +0,0 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- - -"use strict";(self.webpackChunknpmjs=self.webpackChunknpmjs||[]).push([[1606],{1606:(t,e,o)=>{o.r(e),o.d(e,{ix_flip_tile:()=>r});var i=o(6969),n=o(8396),s=o(6200);const r=class{constructor(t){(0,i.r)(this,t),this.ANIMATION_DURATION=150,this.state=void 0,this.height=15.125,this.width=16,this.index=0,this.isFlipAnimationActive=void 0}componentDidLoad(){this.observer=(0,n.c)((()=>this.updateContentItems())),this.observer.observe(this.hostElement,{childList:!0})}componentWillLoad(){this.updateContentItems(),this.updateContentVisibility(this.index)}disconnectedCallback(){this.observer&&this.observer.disconnect()}updateContentItems(){this.contentItems=Array.from(this.hostElement.querySelectorAll("ix-flip-tile-content"))}updateContentVisibility(t){this.contentItems.forEach(((e,o)=>e.contentVisible=o===t))}toggleIndex(){this.doFlipAnimation()}doFlipAnimation(){this.isFlipAnimationActive=!0,setTimeout((()=>{this.updateContentVisibility(this.index),this.index>=this.contentItems.length-1?this.index=0:this.index++,this.updateContentVisibility(this.index)}),this.ANIMATION_DURATION),setTimeout((()=>{this.isFlipAnimationActive=!1}),2*this.ANIMATION_DURATION)}render(){return(0,i.h)(i.H,{key:"f48c8fa439a5b38b06fbda02e4185aa4195dcba5",style:{height:`${this.height}${"auto"===this.height?"":"rem"}`,"min-height":`${this.height}${"auto"===this.height?"":"rem"}`,"max-height":`${this.height}${"auto"===this.height?"":"rem"}`,width:`${this.width}${"auto"===this.width?"":"rem"}`,"min-width":`${this.width}${"auto"===this.width?"":"rem"}`,"max-width":`${this.width}${"auto"===this.width?"":"rem"}`}},(0,i.h)("div",{key:"fc676886cdf565c7cc121640b37c579eb1ea2f64",class:{"flip-tile-container":!0,info:this.state===s.F.Info,warning:this.state===s.F.Warning,alarm:this.state===s.F.Alarm,primary:this.state===s.F.Primary,"flip-animation-active":this.isFlipAnimationActive}},(0,i.h)("div",{key:"036a5f9b336796232c649a0c1718601ccd5c46b5",class:"flip-tile-header"},(0,i.h)("div",{key:"3eb347f451cf27f614f855eee99f8562fc4aa785",class:"header-slot-container text-l-title"},(0,i.h)("slot",{key:"563785f622191f0692f3790f3a908125e30e7276",name:"header"})),(0,i.h)("ix-icon-button",{key:"9a52873d2890f187d3a2c940688bbd000e676233",icon:"eye",variant:"primary",ghost:!0,onClick:()=>this.toggleIndex()})),(0,i.h)("div",{key:"0efc4537aa97d3b79459141678dc180a140bd658",class:"content-container"},(0,i.h)("slot",{key:"1c7035e6e29731a2f192a37f1d86985c3c219220"})),(0,i.h)("div",{key:"2d1f20e35490d7f87b1d70cb9783268c5f1dc270",class:{footer:!0,"contrast-light":this.state===s.F.Warning,"contrast-dark":this.state===s.F.Info||this.state===s.F.Alarm}},(0,i.h)("slot",{key:"074e8bcae63f134dab5623df0682c754e3212159",name:"footer"}))))}get hostElement(){return(0,i.g)(this)}};r.style=".text-xs{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.625rem;font-weight:400;line-height:1.4em;color:var(--theme-color-std-text)}.text-s{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1em;color:var(--theme-color-std-text)}.text-default{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text)}.text-default-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-title-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.143em;color:var(--theme-color-std-text)}.text-l{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.25em;color:var(--theme-color-std-text)}.text-l-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-title-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.25em;color:var(--theme-color-std-text)}.text-h2{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:700;line-height:1.455em;color:var(--theme-color-std-text)}.text-xl{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:400;line-height:1.091em;color:var(--theme-color-std-text)}a{color:var(--theme-color-primary)}@keyframes flip-animation{0%{transform:rotateY(0)}50%{transform:rotateY(90deg)}51%{transform:rotateY(270deg)}100%{transform:rotateY(360deg)}}:host{display:flex;flex-direction:column;perspective:1000px}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .flip-tile-header{display:flex;align-items:center;height:2.5rem;padding:0 0.5rem 0 1rem}:host .flip-tile-header .header-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1;min-width:0}:host .content-container{flex-grow:1;margin:1rem}:host .flip-tile-container{display:flex;flex-direction:column;height:100%;background-color:var(--theme-blind-base--background);border:solid 1px var(--theme-blind-base--border-color);border-radius:var(--theme-flip-tile--border-radius) var(--theme-flip-tile--border-radius) 0 0;transform-style:preserve-3d}:host .flip-tile-container.flip-animation-active{animation:flip-animation 300ms, ease-in-out}:host .flip-tile-container .footer{display:flex;height:3rem;align-items:center;justify-content:center;padding:0 0.5rem;color:var(--theme-flip-footer--color);background-color:var(--theme-blind-base--background)}:host .flip-tile-container .footer :first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:100%}:host .flip-tile-container ::slotted(*){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:column;align-items:center;min-width:0}:host .flip-tile-container.primary{border-color:var(--theme-color-primary)}:host .flip-tile-container.primary .footer{background-color:var(--theme-color-primary);color:var(--theme-color-primary--contrast)}:host .flip-tile-container.info{border-color:var(--theme-color-info)}:host .flip-tile-container.info .footer{background-color:var(--theme-color-info);color:var(--theme-color-info--contrast)}:host .flip-tile-container.warning{border-color:var(--theme-color-warning)}:host .flip-tile-container.warning .footer{background-color:var(--theme-color-warning);color:var(--theme-color-warning--contrast)}:host .flip-tile-container.alarm{border-color:var(--theme-color-alarm)}:host .flip-tile-container.alarm .footer{background-color:var(--theme-color-alarm);color:var(--theme-color-alarm--contrast)}:host:hover .flip-tile-container .footer ix-icon{color:var(--theme-color-std-text)}"},8396:(t,e,o)=>{o.d(e,{c:()=>i});const i=t=>new MutationObserver(t)}}]); \ No newline at end of file diff --git a/SiemensIXBlazor/wwwroot/js/siemens-ix/1646.index.bundle.js b/SiemensIXBlazor/wwwroot/js/siemens-ix/1646.index.bundle.js deleted file mode 100644 index 645f237..0000000 --- a/SiemensIXBlazor/wwwroot/js/siemens-ix/1646.index.bundle.js +++ /dev/null @@ -1,10 +0,0 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- - -"use strict";(self.webpackChunknpmjs=self.webpackChunknpmjs||[]).push([[1646],{2976:(e,o,r)=>{r.d(o,{a:()=>t,b:()=>i,g:()=>n});const t=e=>e?"true":"false",n=e=>{if(!e)return"Unknown";if((e=>{if(!e)return!1;let o;try{o=new URL(e)}catch(e){return!1}return"http:"===o.protocol||"https:"===o.protocol})(e))return"Unknown";if((o=e)&&"string"==typeof o&&o.startsWith("data:image/svg+xml"))return"Unknown";var o;const r=e.replace("-filled","").split("-").map((e=>{const o=e.trim(),r=o.replace(/\d+/g,"");return 0===r.length?o:r})).map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" ");return 0===r.length?"Unknown":r},i=(e,o=[])=>{const r={};return a.forEach((t=>{e.hasAttribute(t)&&(null===e.getAttribute(t)||o.includes(t)||(r[t]=e.getAttribute(t),e.removeAttribute(t)))})),r},a=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"]},4081:(e,o,r)=>{r.d(o,{B:()=>l,g:()=>a});var t=r(6969);const n=e=>e.toUpperCase()==="Primary".toUpperCase(),i=e=>e.toUpperCase()==="Secondary".toUpperCase(),a=(e,o,r,t=!1,a=!1,l,c)=>({btn:!0,"btn-primary":n(e)&&!o&&!r,"btn-outline-primary":n(e)&&o&&!r,"btn-invisible-primary":n(e)&&!o&&r,"btn-secondary":i(e)&&!o&&!r,"btn-outline-secondary":i(e)&&o&&!r,"btn-invisible-secondary":i(e)&&!o&&r,"btn-icon":t,"btn-oval":a,selected:l,disabled:c});function l(e,o){var r,n;const i=null!==(r=e.extraClasses)&&void 0!==r?r:{};return(0,t.h)("button",Object.assign({},e.ariaAttributes,{onClick:o=>e.onClick?e.onClick(o):void 0,tabindex:e.disabled?-1:null!==(n=e.tabIndex)&&void 0!==n?n:0,type:e.type,class:Object.assign(Object.assign({},a(e.variant,e.outline,e.ghost,e.iconOnly,e.iconOval,e.selected,e.disabled||e.loading)),i)}),e.loading?(0,t.h)("ix-spinner",{size:"small",hideTrack:!0}):null,e.icon&&!e.loading?(0,t.h)("ix-icon",{class:"icon",name:e.icon,size:e.iconSize,color:e.iconColor}):null,(0,t.h)("div",{class:{content:!0,[`content-${e.alignment}`]:!!e.alignment}},o),e.afterContent?e.afterContent:null)}},1646:(e,o,r)=>{r.r(o),r.d(o,{ix_toggle_button:()=>a});var t=r(6969),n=r(4081),i=r(2976);const a=class{constructor(e){(0,t.r)(this,e),this.pressedChange=(0,t.c)(this,"pressedChange",7),this.variant="secondary",this.outline=!1,this.ghost=!1,this.disabled=!1,this.loading=!1,this.icon=void 0,this.pressed=!1}isIllegalToggleButtonConfig(){return"primary"===this.variant&&(this.outline||this.ghost)}logIllegalConfig(){console.warn('iX toggle button with illegal configuration detected. Variant "primary" can only be combined with "outline" or "ghost".')}onVariantChange(){this.isIllegalToggleButtonConfig()&&this.logIllegalConfig()}onGhostChange(){this.onVariantChange()}onOutlineChange(){this.onVariantChange()}componentDidLoad(){this.onVariantChange()}dispatchPressedChange(){this.pressedChange.emit(!this.pressed)}render(){const e={variant:this.variant,outline:this.outline,ghost:this.ghost,iconOnly:!1,iconOval:!1,selected:this.pressed,disabled:this.disabled||this.loading,icon:this.icon,loading:this.loading,onClick:()=>this.dispatchPressedChange(),type:"button",ariaAttributes:{"aria-pressed":(0,i.a)(this.pressed)}};return(0,t.h)(t.H,{key:"dfcef75c0ea69b53af7afc1df02915a869b6ef3b",class:{disabled:this.disabled||this.loading}},(0,t.h)(n.B,Object.assign({key:"ea0fbe743f0c3371fb71925be47fc566e5dee37d"},e),(0,t.h)("slot",{key:"2e6d2c6169978fc567974220437f2a7aa05c62ac"})))}static get watchers(){return{variant:["onVariantChange"],ghost:["onGhostChange"],outline:["onOutlineChange"]}}};a.style=".btn{display:inline-flex;align-items:center;justify-content:center;height:2rem;font-size:0.875rem;font-weight:700;transition:150ms;padding:0 0.5rem;min-width:5rem;gap:0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn .glyph{margin-right:0.25rem;font-weight:400}.btn:focus-visible,.btn.focus{box-shadow:none}.btn-primary{border-radius:var(--theme-btn--border-radius)}.btn-primary,.btn-primary.focus,.btn-primary:focus-visible{background-color:var(--theme-btn-primary--background);color:var(--theme-btn-primary--color);--ix-button-color:var(--theme-btn-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-primary--border-color);border-style:solid}.btn-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-primary.hover,.btn-primary:hover{border-color:var(--theme-btn-primary--border-color--hover);background-color:var(--theme-btn-primary--background--hover);color:var(--theme-btn-primary--color--hover)}.btn-primary.selected.hover,.btn-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-primary:not(:disabled):not(.disabled):active,.btn-primary:not(:disabled):not(.disabled).active,.show>.btn-primary.dropdown-toggle{border-color:var(--theme-btn-primary--border-color--active);background-color:var(--theme-btn-primary--background--active);color:var(--theme-btn-primary--color--active)}.btn-primary.selected:not(:disabled):not(.disabled):active,.btn-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-primary.disabled,.btn-primary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-primary--border-color--disabled);background-color:var(--theme-btn-primary--background--disabled);color:var(--theme-btn-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-primary--color--disabled)}.btn-outline-primary{border-radius:var(--theme-btn--border-radius)}.btn-outline-primary,.btn-outline-primary.focus,.btn-outline-primary:focus-visible{background-color:var(--theme-btn-outline-primary--background);color:var(--theme-btn-outline-primary--color);--ix-button-color:var(--theme-btn-outline-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-primary--border-color);border-style:solid}.btn-outline-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-outline-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-outline-primary.hover,.btn-outline-primary:hover{border-color:var(--theme-btn-outline-primary--border-color--hover);background-color:var(--theme-btn-outline-primary--background--hover);color:var(--theme-btn-outline-primary--color--hover)}.btn-outline-primary.selected.hover,.btn-outline-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-outline-primary:not(:disabled):not(.disabled):active,.btn-outline-primary:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.dropdown-toggle{border-color:var(--theme-btn-outline-primary--border-color--active);background-color:var(--theme-btn-outline-primary--background--active);color:var(--theme-btn-outline-primary--color--active)}.btn-outline-primary.selected:not(:disabled):not(.disabled):active,.btn-outline-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-outline-primary--border-color--disabled);background-color:var(--theme-btn-outline-primary--background--disabled);color:var(--theme-btn-outline-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-primary--color--disabled)}.btn-invisible-primary{border-radius:var(--theme-btn--border-radius);--bs-btn-border-width:0px;--bs-btn-active-border-color:none}.btn-invisible-primary,.btn-invisible-primary.focus,.btn-invisible-primary:focus-visible{background-color:var(--theme-btn-invisible-primary--background);color:var(--theme-btn-invisible-primary--color);--ix-button-color:var(--theme-btn-invisible-primary--color);border-color:transparent}.btn-invisible-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-invisible-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-invisible-primary.hover,.btn-invisible-primary:hover{background-color:var(--theme-btn-invisible-primary--background--hover);color:var(--theme-btn-invisible-primary--color--hover)}.btn-invisible-primary.selected.hover,.btn-invisible-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-invisible-primary:not(:disabled):not(.disabled):active,.btn-invisible-primary:not(:disabled):not(.disabled).active,.show>.btn-invisible-primary.dropdown-toggle{background-color:var(--theme-btn-invisible-primary--background--active);color:var(--theme-btn-invisible-primary--color--active)}.btn-invisible-primary.selected:not(:disabled):not(.disabled):active,.btn-invisible-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-invisible-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-invisible-primary.disabled,.btn-invisible-primary:disabled{pointer-events:none;cursor:initial;background-color:var(--theme-btn-invisible-primary--background--disabled);color:var(--theme-btn-invisible-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-primary--color--disabled)}.btn-secondary{border-radius:var(--theme-btn--border-radius)}.btn-secondary,.btn-secondary.focus,.btn-secondary:focus-visible{background-color:var(--theme-btn-secondary--background);color:var(--theme-btn-secondary--color);--ix-button-color:var(--theme-btn-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-secondary--border-color);border-style:solid}.btn-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-secondary.hover,.btn-secondary:hover{border-color:var(--theme-btn-secondary--border-color--hover);background-color:var(--theme-btn-secondary--background--hover);color:var(--theme-btn-secondary--color--hover)}.btn-secondary.selected.hover,.btn-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-secondary:not(:disabled):not(.disabled):active,.btn-secondary:not(:disabled):not(.disabled).active,.show>.btn-secondary.dropdown-toggle{border-color:var(--theme-btn-secondary--border-color--active);background-color:var(--theme-btn-secondary--background--active);color:var(--theme-btn-secondary--color--active)}.btn-secondary.selected:not(:disabled):not(.disabled):active,.btn-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-secondary.disabled,.btn-secondary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-secondary--border-color--disabled);background-color:var(--theme-btn-secondary--background--disabled);color:var(--theme-btn-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-secondary--color--disabled)}.btn-outline-secondary{border-radius:var(--theme-btn--border-radius)}.btn-outline-secondary,.btn-outline-secondary.focus,.btn-outline-secondary:focus-visible{background-color:var(--theme-btn-outline-secondary--background);color:var(--theme-btn-outline-secondary--color);--ix-button-color:var(--theme-btn-outline-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-secondary--border-color);border-style:solid}.btn-outline-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-outline-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-outline-secondary.hover,.btn-outline-secondary:hover{border-color:var(--theme-btn-outline-secondary--border-color--hover);background-color:var(--theme-btn-outline-secondary--background--hover);color:var(--theme-btn-outline-secondary--color--hover)}.btn-outline-secondary.selected.hover,.btn-outline-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-outline-secondary:not(:disabled):not(.disabled):active,.btn-outline-secondary:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.dropdown-toggle{border-color:var(--theme-btn-outline-secondary--border-color--active);background-color:var(--theme-btn-outline-secondary--background--active);color:var(--theme-btn-outline-secondary--color--active)}.btn-outline-secondary.selected:not(:disabled):not(.disabled):active,.btn-outline-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-outline-secondary--border-color--disabled);background-color:var(--theme-btn-outline-secondary--background--disabled);color:var(--theme-btn-outline-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-secondary--color--disabled)}.btn-invisible-secondary{border-radius:var(--theme-btn--border-radius);--bs-btn-border-width:0px;--bs-btn-active-border-color:none}.btn-invisible-secondary,.btn-invisible-secondary.focus,.btn-invisible-secondary:focus-visible{background-color:var(--theme-btn-invisible-secondary--background);color:var(--theme-btn-invisible-secondary--color);--ix-button-color:var(--theme-btn-invisible-secondary--color);border-color:transparent}.btn-invisible-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-invisible-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-invisible-secondary.hover,.btn-invisible-secondary:hover{background-color:var(--theme-btn-invisible-secondary--background--hover);color:var(--theme-btn-invisible-secondary--color--hover)}.btn-invisible-secondary.selected.hover,.btn-invisible-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-invisible-secondary:not(:disabled):not(.disabled):active,.btn-invisible-secondary:not(:disabled):not(.disabled).active,.show>.btn-invisible-secondary.dropdown-toggle{background-color:var(--theme-btn-invisible-secondary--background--active);color:var(--theme-btn-invisible-secondary--color--active)}.btn-invisible-secondary.selected:not(:disabled):not(.disabled):active,.btn-invisible-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-invisible-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-invisible-secondary.disabled,.btn-invisible-secondary:disabled{pointer-events:none;cursor:initial;background-color:var(--theme-btn-invisible-secondary--background--disabled);color:var(--theme-btn-invisible-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-secondary--color--disabled)}.btn-oval,.btn-icon{min-width:2rem;width:2rem}.btn-oval .glyph,.btn-icon .glyph{margin-right:0}.btn-oval{border-radius:6.25rem;width:2rem}.btn-icon-xs,.btn-icon-12{height:1rem;width:1rem;min-width:1rem;min-height:1rem}.btn-icon-s,.btn-icon-16{height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}.btn-icon-32{height:2rem;width:2rem;min-width:2rem;min-height:2rem}:host{display:inline-block;width:auto;height:2rem;vertical-align:middle}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .btn{width:100%;height:100%}:host button:not(:disabled){cursor:pointer}:host(.disabled){pointer-events:none}"}}]); \ No newline at end of file diff --git a/SiemensIXBlazor/wwwroot/js/siemens-ix/1719.index.bundle.js b/SiemensIXBlazor/wwwroot/js/siemens-ix/1719.index.bundle.js deleted file mode 100644 index 39b4a4d..0000000 --- a/SiemensIXBlazor/wwwroot/js/siemens-ix/1719.index.bundle.js +++ /dev/null @@ -1,10 +0,0 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- - -"use strict";(self.webpackChunknpmjs=self.webpackChunknpmjs||[]).push([[1719],{1719:(e,n,s)=>{s.r(n),s.d(n,{ix_dropdown_quick_actions:()=>r});var t=s(6969);const r=class{constructor(e){(0,t.r)(this,e)}render(){return(0,t.h)(t.H,{key:"4276b052d998fa436597a67bc7df4b5f4dac79e7"},(0,t.h)("slot",{key:"fe99c816c933c10d45fdb93acfadf23938ffa1ae"}))}};r.style=":host{display:flex;justify-content:center;align-items:center;margin-inline-start:1.5rem;margin-inline-end:1.5rem;margin-block-end:0.25rem}:host slot::slotted(*){display:flex;margin-inline-end:0.625rem}"}}]); \ No newline at end of file diff --git a/SiemensIXBlazor/wwwroot/js/siemens-ix/1754.index.bundle.js b/SiemensIXBlazor/wwwroot/js/siemens-ix/1754.index.bundle.js deleted file mode 100644 index 68e638a..0000000 --- a/SiemensIXBlazor/wwwroot/js/siemens-ix/1754.index.bundle.js +++ /dev/null @@ -1,10 +0,0 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- - -"use strict";(self.webpackChunknpmjs=self.webpackChunknpmjs||[]).push([[1754],{1754:(r,a,o)=>{o.r(a),o.d(a,{ix_card:()=>c,ix_card_content:()=>t});var e=o(6969);const c=class{constructor(r){(0,e.r)(this,r),this.variant="insight",this.selected=void 0}render(){return(0,e.h)(e.H,{key:"f91df8c114ec01e95ae0eba29c8acf3cacbdec25",class:{selected:this.selected,[`card-${this.variant}`]:!0}},(0,e.h)("div",{key:"24c775b7ae7b2940df9e101b702b91a17a0f6749",class:"card-content"},(0,e.h)("slot",{key:"57bfc8eb49985aae6aff8ea277475b2012ac8ba2"})),(0,e.h)("div",{key:"8eac7eefd8020827e0ebf38be231de2c7b934797",class:"card-footer"},(0,e.h)("slot",{key:"207dc0b0ce6279ecb9dfda76e3d03a145a5ff168",name:"card-accordion"})))}get hostElement(){return(0,e.g)(this)}};c.style=":host{display:flex;position:relative;flex-direction:column;align-items:flex-start;align-self:flex-start;overflow:hidden;width:20rem;border:1px solid var(--ix-card-border-color, var(--theme-color-soft-bdr));border-radius:var(--theme-default-border-radius)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .card-content{display:block;position:relative;flex-shrink:0;flex-grow:1;width:100%;height:calc(100% - 2rem);background-color:var(--ix-card-background, transparent);border-top-left-radius:var(--theme-default-border-radius);border-top-right-radius:var(--theme-default-border-radius)}:host .card-footer{display:flex;position:relative;width:100%}:host(.card-insight){--ix-card-background:transparent;--ix-card-border-color:var(--theme-color-soft-bdr)}:host(.card-notification){--ix-card-background:var(--theme-color-component-1)}:host(.card-alarm){--ix-card-background:var(--theme-color-alarm);color:var(--theme-color-alarm--contrast)}:host(.card-critical){--ix-card-background:var(--theme-color-critical);color:var(--theme-color-critical--contrast)}:host(.card-warning){--ix-card-background:var(--theme-color-warning);color:var(--theme-color-warning--contrast)}:host(.card-success){--ix-card-background:var(--theme-color-success);color:var(--theme-color-success--contrast)}:host(.card-info){--ix-card-background:var(--theme-color-info);color:var(--theme-color-info--contrast)}:host(.card-neutral){--ix-card-background:var(--theme-color-neutral);color:var(--theme-color-neutral--contrast)}:host(.card-primary){--ix-card-background:var(--theme-color-primary);color:var(--theme-color-neutral--contrast)}:host(:not(.card-insight)){--ix-card-border-color:transparent}:host(.card-insight:hover){--ix-card-background:var(--theme-color-ghost--hover)}:host(.card-notification:hover){--ix-card-background:var(--theme-color-component-1--hover)}:host(.card-alarm:hover){--ix-card-background:var(--theme-color-alarm--hover)}:host(.card-critical:hover){--ix-card-background:var(--theme-color-critical--hover)}:host(.card-warning:hover){--ix-card-background:var(--theme-color-warning--hover)}:host(.card-success:hover){--ix-card-background:var(--theme-color-success--hover)}:host(.card-info:hover){--ix-card-background:var(--theme-color-info--hover)}:host(.card-neutral:hover){--ix-card-background:var(--theme-color-neutral--hover)}:host(.card-primary:hover){--ix-card-background:var(--theme-color-primary--hover)}:host(.card-insight:active){--ix-card-background:var(--theme-color-ghost--active)}:host(.card-notification:active){--ix-card-background:var(--theme-color-component-1--active)}:host(.card-alarm:active){--ix-card-background:var(--theme-color-alarm--active)}:host(.card-critical:active){--ix-card-background:var(--theme-color-critical--active)}:host(.card-warning:active){--ix-card-background:var(--theme-color-warning--active)}:host(.card-success:active){--ix-card-background:var(--theme-color-success--active)}:host(.card-info:active){--ix-card-background:var(--theme-color-info--active)}:host(.card-neutral:active){--ix-card-background:var(--theme-color-neutral--active)}:host(.card-primary:active){--ix-card-background:var(--theme-color-primary--active)}:host(.selected){--ix-card-border-color:var(--theme-color-dynamic)}:host(.selected).card-insight{--ix-card-background:var(--theme-color-ghost--selected)}:host(.selected).card-notification{--ix-card-background:var(--theme-color-ghost--selected)}:host(.selected).card-alarm{--ix-card-background:var(--theme-color-alarm--active)}:host(.selected).card-critical{--ix-card-background:var(--theme-color-critical--active)}:host(.selected).card-warning{--ix-card-background:var(--theme-color-warning--active)}:host(.selected).card-success{--ix-card-background:var(--theme-color-success--active)}:host(.selected).card-info{--ix-card-background:var(--theme-color-info--active)}:host(.selected).card-neutral{--ix-card-background:var(--theme-color-neutral--active)}:host(.selected).card-primary{--ix-card-background:var(--theme-color-primary--active)}";const t=class{constructor(r){(0,e.r)(this,r)}render(){return(0,e.h)(e.H,{key:"7351d9d0c2ac7e3bb3ff04f7327876f3c118eede"},(0,e.h)("slot",{key:"ae6747bb0d3204fcb78bb26d763a04a090424fc5"}))}};t.style=":host{display:flex;position:relative;flex-direction:column;align-items:flex-start;gap:0.5rem;padding:1rem;height:100%}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}"}}]); \ No newline at end of file diff --git a/SiemensIXBlazor/wwwroot/js/siemens-ix/1791.index.bundle.js b/SiemensIXBlazor/wwwroot/js/siemens-ix/1791.index.bundle.js deleted file mode 100644 index bbc55ab..0000000 --- a/SiemensIXBlazor/wwwroot/js/siemens-ix/1791.index.bundle.js +++ /dev/null @@ -1,10 +0,0 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- - -"use strict";(self.webpackChunknpmjs=self.webpackChunknpmjs||[]).push([[1791],{1791:(e,t,i)=>{i.r(t),i.d(t,{ix_split_button_item:()=>s});var n=i(6969),r=i(1508);const s=class{constructor(e){(0,n.r)(this,e),this.itemClick=(0,n.c)(this,"itemClick",7),this.wrapperRef=(0,r.m)(),this.icon=void 0,this.label=void 0}async getDropdownItemElement(){return this.wrapperRef.waitForCurrent()}render(){return(0,n.h)(n.H,{key:"2857acae0de3f6e738276080924f3e1b937546c6"},(0,n.h)("ix-dropdown-item",{key:"ca37a4f42b3a673bb80890e43229711a45b378b9",ref:this.wrapperRef,suppressChecked:!0,icon:this.icon,label:this.label,onItemClick:e=>{e.preventDefault(),e.stopPropagation()},onClick:e=>this.itemClick.emit(e)}))}get hostElement(){return(0,n.g)(this)}};s.style=":host{display:contents}"},1508:(e,t,i)=>{function n(e){let t=null,i=new Promise((e=>t=e)),n=null;const r=i=>{n=i,null==e||e(i),t()};return r.current=n,r.waitForCurrent=async()=>(await i,n),r}i.d(t,{m:()=>n})}}]); \ No newline at end of file diff --git a/SiemensIXBlazor/wwwroot/js/siemens-ix/1952.index.bundle.js b/SiemensIXBlazor/wwwroot/js/siemens-ix/1952.index.bundle.js deleted file mode 100644 index 7f46503..0000000 --- a/SiemensIXBlazor/wwwroot/js/siemens-ix/1952.index.bundle.js +++ /dev/null @@ -1,10 +0,0 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- - -"use strict";(self.webpackChunknpmjs=self.webpackChunknpmjs||[]).push([[1952],{3879:(e,t,s)=>{s.d(t,{A:()=>h,a:()=>a,c:()=>r,u:()=>n});var o=s(2483);class i extends Event{constructor(e,t,s){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.callback=t,this.subscribe=s}}function a(e,t,s,o){let a;return e.dispatchEvent(new i(t,((e,t)=>{s(e,t),a=t}),o)),{unsubscribe:()=>{a()}}}function n(e,t,s){const i=new o.T,a=new o.T,n=new Set;return e.addEventListener("context-request",(e=>{(null==e?void 0:e.context.name)===t.name&&(e.stopPropagation(),e.subscribe&&n.add(e),i.emit(e),s&&e.callback(s,(()=>{n.delete(e)})))})),a.on((e=>{n.forEach((t=>t.callback(e,(()=>{n.delete(t)}))))})),{emit:e=>{a.emit(e)}}}const r=e=>e.closest("ix-menu"),h={name:"application-layout-context",initialValue:{hideHeader:!1,host:null,sidebar:!1}}},7027:(e,t,s)=>{s.r(t),s.d(t,{ix_menu_category:()=>r});var o=s(6969),i=s(8137),a=s(3879),n=s(8396);const r=class{constructor(e){(0,o.r)(this,e),this.label=void 0,this.icon=void 0,this.notifications=void 0,this.menuExpand=!1,this.showItems=!1,this.showDropdown=!1,this.nestedItems=[]}isNestedItemActive(){return this.getNestedItems().some((e=>e.active))}getNestedItems(){return Array.from(this.hostElement.querySelectorAll(":scope ix-menu-item"))}getNestedItemsHeight(){return 40*this.getNestedItems().length}onExpandCategory(e){e?this.animateFadeIn():this.animateFadeOut()}animateFadeOut(){(0,i.a)({targets:this.menuItemsContainer,duration:150,easing:"easeInSine",opacity:[1,0],maxHeight:[this.getNestedItemsHeight()+40,0],complete:()=>{setTimeout((()=>{this.showItems=!1,this.showDropdown=!1}),175)}})}animateFadeIn(){(0,i.a)({targets:this.menuItemsContainer,duration:150,easing:"easeInSine",opacity:[0,1],maxHeight:[0,this.getNestedItemsHeight()+40],begin:()=>{this.showItems=!0,this.showDropdown=!1}})}onCategoryClicked(e){if(this.ixMenu.expand)return null==e||e.stopPropagation(),void this.onExpandCategory(!this.showItems);this.showDropdown=!this.showDropdown}onNestedItemsChanged(){this.nestedItems=this.getNestedItems()}isCategoryItemListVisible(){return this.menuExpand&&(this.showItems||this.isNestedItemActive())}componentWillLoad(){const e=(0,a.c)(this.hostElement);if(!e)throw Error("ix-menu-category can only be used as a child of ix-menu");this.ixMenu=e,this.menuExpand=this.ixMenu.expand,this.showItems=this.isCategoryItemListVisible()}componentDidLoad(){this.observer=(0,n.c)((()=>this.onNestedItemsChanged())),this.observer.observe(this.hostElement,{attributes:!0,childList:!0,subtree:!0}),requestAnimationFrame((()=>{this.onNestedItemsChanged()})),this.ixMenu.addEventListener("expandChange",(({detail:e})=>{this.menuExpand=e,e||this.clearMenuItemStyles(),this.showItems=this.isCategoryItemListVisible()}))}clearMenuItemStyles(){this.menuItemsContainer.style.removeProperty("max-height"),this.menuItemsContainer.style.removeProperty("opacity")}disconnectedCallback(){this.observer&&this.observer.disconnect()}render(){return(0,o.h)(o.H,{key:"7dcf0a3ab61e12650f3236d2d01905088dd46476",class:{expanded:this.showItems}},(0,o.h)("ix-menu-item",{key:"d7525b4d1577beddef2a9bc46102c5c27056f7a8",class:"category-parent",active:this.isNestedItemActive(),notifications:this.notifications,icon:this.icon,onClick:e=>this.onCategoryClicked(e)},(0,o.h)("div",{key:"45f42d78aea804389d18b71aa497d595d0d28d2f",class:"category"},(0,o.h)("div",{key:"328e734eff35051e741d5f300cef62d89b2d8357",class:"category-text"},this.label),(0,o.h)("ix-icon",{key:"a020ca032255c4e0cab6eaf21a999f778d44f89e",name:"chevron-down-small",class:{"category-chevron":!0,"category-chevron--open":this.showItems}}))),(0,o.h)("div",{key:"cb9f873594624636c51f5cdb88117c8609ca0660",ref:e=>this.menuItemsContainer=e,class:{"menu-items":!0,"menu-items--expanded":this.showItems,"menu-items--collapsed":!this.showItems}},this.showItems?(0,o.h)("slot",null):null),(0,o.h)("ix-dropdown",{key:"44e23c289ee58d8e6a64c4eae043b5d21e7acccf",closeBehavior:"both",show:this.showDropdown,onShowChanged:({detail:e})=>{this.showDropdown=e},class:"category-dropdown",anchor:this.hostElement,placement:"right-start",offset:{mainAxis:3},onClick:e=>{e.target instanceof HTMLElement&&"IX-MENU-ITEM"===e.target.tagName&&(this.showDropdown=!1)}},(0,o.h)("ix-dropdown-item",{key:"a991462ed69a30c6c9d8535d88a0642203663c9a",class:"category-dropdown-header"},(0,o.h)("ix-typography",{key:"a9947afa5cfb6c9415a3eae5c0daf762fd91843a",variant:"default-title-single",color:"std"},this.label)),(0,o.h)("ix-divider",{key:"2ff0ae7813b7ff6a32e0b6aae13b2bb3dca95d77"}),(0,o.h)("slot",{key:"4c9f7e1cac69cbd8e0c305eb9f60ea9a64e69b0d"})))}get hostElement(){return(0,o.g)(this)}};r.style=":host{display:flex;flex-direction:column;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .category{display:flex;position:relative;align-items:center;width:100%;height:100%}:host .category-text{width:100%;padding-right:0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .category-chevron{margin-left:auto;margin-right:0;transition:var(--theme-default-time) transform ease-in-out}:host .category-chevron--open{transform:rotate(-180deg)}:host .menu-items{overflow:hidden;max-height:0;transition:var(--theme-default-time) max-height ease-in-out}:host .menu-items--expanded{max-height:999999999px;padding:0.25rem 0 0.25rem 1.625rem}:host .menu-items--collapsed{display:none}:host .category-dropdown ::slotted(ix-menu-item){--ix-menu-item-height:2.5rem}:host .category-dropdown-header{pointer-events:none;padding-left:0.125rem;min-width:256px}:host ::slotted(ix-menu-item){--ix-menu-item-height:2.5rem}:host(.expanded){background-color:var(--theme-color-ghost--active)}:host ::slotted(a[href]){text-decoration:none !important}"},8396:(e,t,s)=>{s.d(t,{c:()=>o});const o=e=>new MutationObserver(e)}}]); \ No newline at end of file diff --git a/SiemensIXBlazor/wwwroot/js/siemens-ix/1985.index.bundle.js b/SiemensIXBlazor/wwwroot/js/siemens-ix/1985.index.bundle.js deleted file mode 100644 index 084d544..0000000 --- a/SiemensIXBlazor/wwwroot/js/siemens-ix/1985.index.bundle.js +++ /dev/null @@ -1,10 +0,0 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- - -"use strict";(self.webpackChunknpmjs=self.webpackChunknpmjs||[]).push([[1985],{1985:(e,t,i)=>{i.r(t),i.d(t,{ix_kpi:()=>a});var o=i(6969);const a=class{constructor(e){(0,o.r)(this,e),this.label=void 0,this.value=void 0,this.unit=void 0,this.state="neutral",this.orientation="horizontal"}getStateIcon(){switch(this.state){case"alarm":return(0,o.h)("ix-icon",{color:"kpi-display-icon--color",name:"alarm",size:"16"});case"warning":return(0,o.h)("ix-icon",{color:"kpi-display-icon--color",name:"warning",size:"16"});default:return""}}getTooltipText(){let e=`${this.label}: ${this.value}`;return this.unit&&(e=e.concat(` ${this.unit}`)),e}render(){return(0,o.h)(o.H,{key:"dfc10eb1b32999417bfcfe2b13318733468c2b8d",title:this.getTooltipText(),tabindex:"1",class:{stacked:"vertical"===this.orientation}},(0,o.h)("div",{key:"42ae8899123702f27d437b1002d19ecca635c827",class:{"kpi-container":!0,alarm:"alarm"===this.state,warning:"warning"===this.state}},(0,o.h)("span",{key:"97fd8b58beb66d4071a0a00247d73909bb15ac9c",class:"kpi-label"},this.getStateIcon(),(0,o.h)("span",{key:"c94f2356c26f267f42427b8dd854dd50a5aaa075",class:"kpi-label-text"},this.label)),(0,o.h)("span",{key:"dd33de51b6d73d1fd53715bcfa0b90d4b09fa0e0",class:"kpi-value-container"},(0,o.h)("span",{key:"b6172821e5cec47954289a183f37284f9c9c4032",class:"kpi-value"},this.value),this.unit?(0,o.h)("span",{class:"kpi-unit"},this.unit):"")))}};a.style=":host{display:flex;flex-grow:1;height:2.5rem;border-radius:var(--theme-kpi--border-radius);padding:0.375rem 0.25rem;min-width:0}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .kpi-container{display:flex;height:100%;width:100%;border-block-end:2px solid grey}:host .kpi-container.alarm{border-block-end-color:var(--theme-color-alarm)}:host .kpi-container.warning{border-block-end-color:var(--theme-color-warning)}:host .kpi-container .kpi-label{display:flex;align-items:center;color:var(--theme-kpi-display-label--color);flex-grow:1;flex-shrink:9999}:host .kpi-container .kpi-label ix-icon{margin-inline-end:0.25rem}:host .kpi-container .kpi-value-container{display:flex;align-items:flex-end}:host .kpi-container .kpi-value{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:400;line-height:1.091em;color:var(--theme-color-std-text);color:var(--theme-kpi-display-value--color)}:host .kpi-container .kpi-unit{margin-inline-start:0.5rem;color:var(--theme-kpi-display-units--color)}:host .kpi-container .kpi-label,:host .kpi-container .kpi-unit{margin-block-start:0.125rem}:host:not(.disabled):not(:disabled){cursor:pointer}:host:not(.disabled):not(:disabled):hover{background-color:var(--theme-kpi-display--background--hover)}:host:not(.disabled):not(:disabled){cursor:pointer}:host:not(.disabled):not(:disabled):active,:host:not(.disabled):not(:disabled).active{background-color:var(--theme-kpi-display--background--active)}:host:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--focus--border-color)}:host(.stacked){height:3.75rem}:host(.stacked) .kpi-container{justify-content:center;flex-wrap:wrap}:host(.stacked) .kpi-container .kpi-label{width:100%;justify-content:center}"}}]); \ No newline at end of file diff --git a/SiemensIXBlazor/wwwroot/js/siemens-ix/1993.index.bundle.js b/SiemensIXBlazor/wwwroot/js/siemens-ix/1993.index.bundle.js deleted file mode 100644 index 5f111c6..0000000 --- a/SiemensIXBlazor/wwwroot/js/siemens-ix/1993.index.bundle.js +++ /dev/null @@ -1,10 +0,0 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- - -"use strict";(self.webpackChunknpmjs=self.webpackChunknpmjs||[]).push([[1993],{1993:(e,o,r)=>{r.r(o),r.d(o,{ix_link_button:()=>n});var t=r(6969);const n=class{constructor(e){(0,t.r)(this,e),this.disabled=!1,this.url=void 0,this.target="_self"}render(){return(0,t.h)(t.H,{key:"69b094c49b4c40844709067d3d330cbd9e439a54"},(0,t.h)("a",{key:"d480bd3a4956928b36cacb1737b9f15bef4e6db4",title:this.url,tabindex:"0",class:{"link-button":!0,disabled:this.disabled},href:this.disabled?void 0:this.url,target:this.target},(0,t.h)("ix-icon",{key:"f38cdc216ef27ad121605adf41d4b9dfee0ad21c",class:"icon",name:"chevron-right-small",size:"16"}),(0,t.h)("div",{key:"bd9aecd23fbffe8af71f3c9648552781ac350df2",class:{link:!0,disabled:this.disabled}},(0,t.h)("slot",{key:"a122841a7a121b168198300e574df0f4319fd040"}))))}};n.style=".btn{display:inline-flex;align-items:center;justify-content:center;height:2rem;font-size:0.875rem;font-weight:700;transition:150ms;padding:0 0.5rem;min-width:5rem;gap:0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn .glyph{margin-right:0.25rem;font-weight:400}.btn:focus-visible,.btn.focus{box-shadow:none}.btn-primary{border-radius:var(--theme-btn--border-radius)}.btn-primary,.btn-primary.focus,.btn-primary:focus-visible{background-color:var(--theme-btn-primary--background);color:var(--theme-btn-primary--color);--ix-button-color:var(--theme-btn-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-primary--border-color);border-style:solid}.btn-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-primary.hover,.btn-primary:hover{border-color:var(--theme-btn-primary--border-color--hover);background-color:var(--theme-btn-primary--background--hover);color:var(--theme-btn-primary--color--hover)}.btn-primary.selected.hover,.btn-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-primary:not(:disabled):not(.disabled):active,.btn-primary:not(:disabled):not(.disabled).active,.show>.btn-primary.dropdown-toggle{border-color:var(--theme-btn-primary--border-color--active);background-color:var(--theme-btn-primary--background--active);color:var(--theme-btn-primary--color--active)}.btn-primary.selected:not(:disabled):not(.disabled):active,.btn-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-primary.disabled,.btn-primary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-primary--border-color--disabled);background-color:var(--theme-btn-primary--background--disabled);color:var(--theme-btn-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-primary--color--disabled)}.btn-outline-primary{border-radius:var(--theme-btn--border-radius)}.btn-outline-primary,.btn-outline-primary.focus,.btn-outline-primary:focus-visible{background-color:var(--theme-btn-outline-primary--background);color:var(--theme-btn-outline-primary--color);--ix-button-color:var(--theme-btn-outline-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-primary--border-color);border-style:solid}.btn-outline-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-outline-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-outline-primary.hover,.btn-outline-primary:hover{border-color:var(--theme-btn-outline-primary--border-color--hover);background-color:var(--theme-btn-outline-primary--background--hover);color:var(--theme-btn-outline-primary--color--hover)}.btn-outline-primary.selected.hover,.btn-outline-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-outline-primary:not(:disabled):not(.disabled):active,.btn-outline-primary:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.dropdown-toggle{border-color:var(--theme-btn-outline-primary--border-color--active);background-color:var(--theme-btn-outline-primary--background--active);color:var(--theme-btn-outline-primary--color--active)}.btn-outline-primary.selected:not(:disabled):not(.disabled):active,.btn-outline-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-outline-primary--border-color--disabled);background-color:var(--theme-btn-outline-primary--background--disabled);color:var(--theme-btn-outline-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-primary--color--disabled)}.btn-invisible-primary{border-radius:var(--theme-btn--border-radius);--bs-btn-border-width:0px;--bs-btn-active-border-color:none}.btn-invisible-primary,.btn-invisible-primary.focus,.btn-invisible-primary:focus-visible{background-color:var(--theme-btn-invisible-primary--background);color:var(--theme-btn-invisible-primary--color);--ix-button-color:var(--theme-btn-invisible-primary--color);border-color:transparent}.btn-invisible-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-invisible-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-invisible-primary.hover,.btn-invisible-primary:hover{background-color:var(--theme-btn-invisible-primary--background--hover);color:var(--theme-btn-invisible-primary--color--hover)}.btn-invisible-primary.selected.hover,.btn-invisible-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-invisible-primary:not(:disabled):not(.disabled):active,.btn-invisible-primary:not(:disabled):not(.disabled).active,.show>.btn-invisible-primary.dropdown-toggle{background-color:var(--theme-btn-invisible-primary--background--active);color:var(--theme-btn-invisible-primary--color--active)}.btn-invisible-primary.selected:not(:disabled):not(.disabled):active,.btn-invisible-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-invisible-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-invisible-primary.disabled,.btn-invisible-primary:disabled{pointer-events:none;cursor:initial;background-color:var(--theme-btn-invisible-primary--background--disabled);color:var(--theme-btn-invisible-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-primary--color--disabled)}.btn-secondary{border-radius:var(--theme-btn--border-radius)}.btn-secondary,.btn-secondary.focus,.btn-secondary:focus-visible{background-color:var(--theme-btn-secondary--background);color:var(--theme-btn-secondary--color);--ix-button-color:var(--theme-btn-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-secondary--border-color);border-style:solid}.btn-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-secondary.hover,.btn-secondary:hover{border-color:var(--theme-btn-secondary--border-color--hover);background-color:var(--theme-btn-secondary--background--hover);color:var(--theme-btn-secondary--color--hover)}.btn-secondary.selected.hover,.btn-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-secondary:not(:disabled):not(.disabled):active,.btn-secondary:not(:disabled):not(.disabled).active,.show>.btn-secondary.dropdown-toggle{border-color:var(--theme-btn-secondary--border-color--active);background-color:var(--theme-btn-secondary--background--active);color:var(--theme-btn-secondary--color--active)}.btn-secondary.selected:not(:disabled):not(.disabled):active,.btn-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-secondary.disabled,.btn-secondary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-secondary--border-color--disabled);background-color:var(--theme-btn-secondary--background--disabled);color:var(--theme-btn-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-secondary--color--disabled)}.btn-outline-secondary{border-radius:var(--theme-btn--border-radius)}.btn-outline-secondary,.btn-outline-secondary.focus,.btn-outline-secondary:focus-visible{background-color:var(--theme-btn-outline-secondary--background);color:var(--theme-btn-outline-secondary--color);--ix-button-color:var(--theme-btn-outline-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-secondary--border-color);border-style:solid}.btn-outline-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-outline-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-outline-secondary.hover,.btn-outline-secondary:hover{border-color:var(--theme-btn-outline-secondary--border-color--hover);background-color:var(--theme-btn-outline-secondary--background--hover);color:var(--theme-btn-outline-secondary--color--hover)}.btn-outline-secondary.selected.hover,.btn-outline-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-outline-secondary:not(:disabled):not(.disabled):active,.btn-outline-secondary:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.dropdown-toggle{border-color:var(--theme-btn-outline-secondary--border-color--active);background-color:var(--theme-btn-outline-secondary--background--active);color:var(--theme-btn-outline-secondary--color--active)}.btn-outline-secondary.selected:not(:disabled):not(.disabled):active,.btn-outline-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-outline-secondary--border-color--disabled);background-color:var(--theme-btn-outline-secondary--background--disabled);color:var(--theme-btn-outline-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-secondary--color--disabled)}.btn-invisible-secondary{border-radius:var(--theme-btn--border-radius);--bs-btn-border-width:0px;--bs-btn-active-border-color:none}.btn-invisible-secondary,.btn-invisible-secondary.focus,.btn-invisible-secondary:focus-visible{background-color:var(--theme-btn-invisible-secondary--background);color:var(--theme-btn-invisible-secondary--color);--ix-button-color:var(--theme-btn-invisible-secondary--color);border-color:transparent}.btn-invisible-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-invisible-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-invisible-secondary.hover,.btn-invisible-secondary:hover{background-color:var(--theme-btn-invisible-secondary--background--hover);color:var(--theme-btn-invisible-secondary--color--hover)}.btn-invisible-secondary.selected.hover,.btn-invisible-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-invisible-secondary:not(:disabled):not(.disabled):active,.btn-invisible-secondary:not(:disabled):not(.disabled).active,.show>.btn-invisible-secondary.dropdown-toggle{background-color:var(--theme-btn-invisible-secondary--background--active);color:var(--theme-btn-invisible-secondary--color--active)}.btn-invisible-secondary.selected:not(:disabled):not(.disabled):active,.btn-invisible-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-invisible-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-invisible-secondary.disabled,.btn-invisible-secondary:disabled{pointer-events:none;cursor:initial;background-color:var(--theme-btn-invisible-secondary--background--disabled);color:var(--theme-btn-invisible-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-secondary--color--disabled)}.btn-oval,.btn-icon{min-width:2rem;width:2rem}.btn-oval .glyph,.btn-icon .glyph{margin-right:0}.btn-oval{border-radius:6.25rem;width:2rem}.btn-icon-xs,.btn-icon-12{height:1rem;width:1rem;min-width:1rem;min-height:1rem}.btn-icon-s,.btn-icon-16{height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}.btn-icon-32{height:2rem;width:2rem;min-width:2rem;min-height:2rem}:host{display:inline-flex;height:2rem;font-size:0.875rem;font-weight:400;min-width:2rem}:host .link-button{display:inline-flex;position:relative;width:100%;padding:0 0.25rem 0 0;align-items:center;justify-content:center;background-color:transparent;color:var(--theme-color-primary);cursor:pointer;text-decoration:none}:host .link-button .link{display:block;position:relative;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}:host .link-button:not(.disabled):not(:disabled){cursor:pointer}:host .link-button:not(.disabled):not(:disabled):hover{color:var(--theme-color-dynamic--hover)}:host .link-button:not(.disabled):not(:disabled):hover .link{text-decoration:underline;text-underline-offset:0.2rem}:host .link-button:not(.disabled):not(:disabled){cursor:pointer}:host .link-button:not(.disabled):not(:disabled):active,:host .link-button:not(.disabled):not(:disabled).active{color:var(--theme-color-dynamic--active)}:host .link-button:not(.disabled):not(:disabled):active .link,:host .link-button:not(.disabled):not(:disabled).active .link{text-decoration:underline;text-underline-offset:0.2rem}:host .link-button.disabled{cursor:default;color:var(--theme-color-weak-text)}:host .link-button a{all:unset}:host :focus-visible{outline:1px solid var(--theme-color-focus-bdr)}"}}]); \ No newline at end of file diff --git a/SiemensIXBlazor/wwwroot/js/siemens-ix/2214.index.bundle.js b/SiemensIXBlazor/wwwroot/js/siemens-ix/2214.index.bundle.js deleted file mode 100644 index d69f55b..0000000 --- a/SiemensIXBlazor/wwwroot/js/siemens-ix/2214.index.bundle.js +++ /dev/null @@ -1,10 +0,0 @@ -// ----------------------------------------------------------------------- -// SPDX-FileCopyrightText: 2024 Siemens AG -// -// SPDX-License-Identifier: MIT -// -// This source code is licensed under the MIT license found in the -// LICENSE file in the root directory of this source tree. -// ----------------------------------------------------------------------- - -(self.webpackChunknpmjs=self.webpackChunknpmjs||[]).push([[2214],{6375:(t,e,r)=>{"use strict";r.d(e,{a:()=>n,c:()=>i,g:()=>o});var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{};function o(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function i(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}},9979:(t,e,r)=>{"use strict";r.r(e),r.d(e,{c:()=>i});var n=r(6375),o={};!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=0)}([function(t,e,r){r(1),r(55),r(62),r(68),r(70),r(71),r(72),r(73),r(75),r(76),r(78),r(87),r(88),r(89),r(98),r(99),r(101),r(102),r(103),r(105),r(106),r(107),r(108),r(110),r(111),r(112),r(113),r(114),r(115),r(116),r(117),r(118),r(127),r(130),r(131),r(133),r(135),r(136),r(137),r(138),r(139),r(141),r(143),r(146),r(148),r(150),r(151),r(153),r(154),r(155),r(156),r(157),r(159),r(160),r(162),r(163),r(164),r(165),r(166),r(167),r(168),r(169),r(170),r(172),r(173),r(183),r(184),r(185),r(189),r(191),r(192),r(193),r(194),r(195),r(196),r(198),r(201),r(202),r(203),r(204),r(208),r(209),r(212),r(213),r(214),r(215),r(216),r(217),r(218),r(219),r(221),r(222),r(223),r(226),r(227),r(228),r(229),r(230),r(231),r(232),r(233),r(234),r(235),r(236),r(237),r(238),r(240),r(241),r(243),r(248),t.exports=r(246)},function(t,e,r){var n=r(2),o=r(6),i=r(45),a=r(14),u=r(46),c=r(39),f=r(47),s=r(48),l=r(52),h=r(49),p=r(53),v=h("isConcatSpreadable"),d=p>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),g=l("concat"),y=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,forced:!d||!g},{concat:function(t){var e,r,n,o,i,a=u(this),l=s(a,0),h=0;for(e=-1,n=arguments.length;e9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r=9007199254740991)throw TypeError("Maximum allowed index exceeded");f(l,h++,i)}return l.length=h,l}})},function(t,e,r){var n=r(3),o=r(4).f,i=r(18),a=r(21),u=r(22),c=r(32),f=r(44);t.exports=function(t,e){var r,s,l,h,p,v=t.target,d=t.global,g=t.stat;if(r=d?n:g?n[v]||u(v,{}):(n[v]||{}).prototype)for(s in e){if(h=e[s],l=t.noTargetGet?(p=o(r,s))&&p.value:r[s],!f(d?s:v+(g?".":"#")+s,t.forced)&&void 0!==l){if(typeof h==typeof l)continue;c(h,l)}(t.sham||l&&l.sham)&&i(h,"sham",!0),a(r,s,h,t)}}},function(t,e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.a&&n.a)||Function("return this")()},function(t,e,r){var n=r(5),o=r(7),i=r(8),a=r(9),u=r(13),c=r(15),f=r(16),s=Object.getOwnPropertyDescriptor;e.f=n?s:function(t,e){if(t=a(t),e=u(e,!0),f)try{return s(t,e)}catch(t){}if(c(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,r){var n=r(6);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,r){var n=r(10),o=r(12);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(6),o=r(11),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,r){var n=r(14);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){var n=r(5),o=r(6),i=r(17);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,r){var n=r(3),o=r(14),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,e,r){var n=r(5),o=r(19),i=r(8);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(5),o=r(16),i=r(20),a=r(13),u=Object.defineProperty;e.f=n?u:function(t,e,r){if(i(t),e=a(e,!0),i(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(14);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,r){var n=r(3),o=r(18),i=r(15),a=r(22),u=r(23),c=r(25),f=c.get,s=c.enforce,l=String(String).split("String");(t.exports=function(t,e,r,u){var c=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,h=!!u&&!!u.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),s(r).source=l.join("string"==typeof e?e:"")),t!==n?(c?!h&&t[e]&&(f=!0):delete t[e],f?t[e]=r:o(t,e,r)):f?t[e]=r:a(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||u(this)}))},function(t,e,r){var n=r(3),o=r(18);t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},function(t,e,r){var n=r(24),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},function(t,e,r){var n=r(3),o=r(22),i=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,r){var n,o,i,a=r(26),u=r(3),c=r(14),f=r(18),s=r(15),l=r(27),h=r(31),p=u.WeakMap;if(a){var v=new p,d=v.get,g=v.has,y=v.set;n=function(t,e){return y.call(v,t,e),e},o=function(t){return d.call(v,t)||{}},i=function(t){return g.call(v,t)}}else{var m=l("state");h[m]=!0,n=function(t,e){return f(t,m,e),e},o=function(t){return s(t,m)?t[m]:{}},i=function(t){return s(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,e,r){var n=r(3),o=r(23),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,e,r){var n=r(28),o=r(30),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e,r){var n=r(29),o=r(24);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},function(t,e){t.exports={}},function(t,e,r){var n=r(15),o=r(33),i=r(4),a=r(19);t.exports=function(t,e){for(var r=o(e),u=a.f,c=i.f,f=0;fc;)n(u,r=e[c++])&&(~i(f,r)||f.push(r));return f}},function(t,e,r){var n=r(9),o=r(39),i=r(41),a=function(t){return function(e,r,a){var u,c=n(e),f=o(c.length),s=i(a,f);if(t&&r!=r){for(;f>s;)if((u=c[s++])!=u)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,r){var n=r(40),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(40),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){var n=r(6),o=/#|\.prototype\./,i=function(t,e){var r=u[a(t)];return r==f||r!=c&&("function"==typeof e?n(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},c=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,e,r){var n=r(11);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(12);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(13),o=r(19),i=r(8);t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r}},function(t,e,r){var n=r(14),o=r(45),i=r(49)("species");t.exports=function(t,e){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},function(t,e,r){var n=r(3),o=r(28),i=r(15),a=r(30),u=r(50),c=r(51),f=o("wks"),s=n.Symbol,l=c?s:s&&s.withoutSetter||a;t.exports=function(t){return i(f,t)||(u&&i(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[t]}},function(t,e,r){var n=r(6);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},function(t,e,r){var n=r(50);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,r){var n=r(6),o=r(49),i=r(53),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,r){var n,o,i=r(3),a=r(54),u=i.process,c=u&&u.versions,f=c&&c.v8;f?o=(n=f.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},function(t,e,r){var n=r(34);t.exports=n("navigator","userAgent")||""},function(t,e,r){var n=r(2),o=r(56),i=r(57);n({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},function(t,e,r){var n=r(46),o=r(41),i=r(39),a=Math.min;t.exports=[].copyWithin||function(t,e){var r=n(this),u=i(r.length),c=o(t,u),f=o(e,u),s=arguments.length>2?arguments[2]:void 0,l=a((void 0===s?u:o(s,u))-f,u-c),h=1;for(f0;)f in r?r[c]=r[f]:delete r[c],c+=h,f+=h;return r}},function(t,e,r){var n=r(49),o=r(58),i=r(19),a=n("unscopables"),u=Array.prototype;null==u[a]&&i.f(u,a,{configurable:!0,value:o(null)}),t.exports=function(t){u[a][t]=!0}},function(t,e,r){var n,o=r(20),i=r(59),a=r(42),u=r(31),c=r(61),f=r(17),s=r(27)("IE_PROTO"),l=function(){},h=function(t){return"