<Project Sdk="Microsoft.NET.Sdk.Web">

    <PropertyGroup>
        <TargetFramework>net7.0</TargetFramework>
        <Nullable>enable</Nullable>
        <ImplicitUsings>enable</ImplicitUsings>
        <DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
    </PropertyGroup>

    <ItemGroup>
      <Content Include="..\.dockerignore">
        <Link>.dockerignore</Link>
      </Content>
      <Content Update="Assets\Features\Core\js\moonlight.js">
        <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
        <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
      </Content>
      <Content Update="Assets\Features\Core\js\sweetalert2.js">
        <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
        <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
      </Content>
      <Content Update="Assets\Features\Core\js\toaster.js">
        <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
        <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
      </Content>
      <Content Update="Assets\Features\Core\js\bootstrap.js">
        <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
        <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
      </Content>
      <Content Update="Assets\Features\Core\css\blazor.css">
        <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
        <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
      </Content>
      <Content Update="Assets\Features\Core\css\boxicons.css">
        <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
        <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
      </Content>
      <Content Update="Assets\Features\Core\css\sweetalert2dark.css">
        <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
        <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
      </Content>
      <Content Update="Assets\Features\Core\css\utils.css">
        <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
        <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
      </Content>
      <Content Update="Assets\FileManager\js\dropzone.js">
        <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
        <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
      </Content>
    </ItemGroup>

    <ItemGroup>
      <Folder Include="Core\Database\Migrations\" />
      <Folder Include="Core\Http\Requests\" />
      <Folder Include="Core\Http\Resources\" />
      <Folder Include="Core\UI\Components\Forms\" />
      <Folder Include="Features\Dummy\Configuration\" />
      <Folder Include="Features\Dummy\Entities\" />
      <Folder Include="Features\Dummy\Helpers\" />
      <Folder Include="Features\Dummy\Http\Controllers\" />
      <Folder Include="Features\Dummy\Http\Middleware\" />
      <Folder Include="Features\Dummy\Http\Requests\" />
      <Folder Include="Features\Dummy\Http\Resources\" />
      <Folder Include="Features\Dummy\Models\Abstractions\" />
      <Folder Include="Features\Dummy\Models\Enums\" />
      <Folder Include="Features\Dummy\Models\Forms\" />
      <Folder Include="Features\Dummy\Services\" />
      <Folder Include="Features\Dummy\UI\Components\" />
      <Folder Include="Features\Dummy\UI\Layouts\" />
      <Folder Include="Features\Dummy\UI\Views\" />
      <Folder Include="Features\FileManager\Configuration\" />
      <Folder Include="Features\FileManager\Entities\" />
      <Folder Include="Features\FileManager\Http\Middleware\" />
      <Folder Include="Features\FileManager\Http\Requests\" />
      <Folder Include="Features\FileManager\Http\Resources\" />
      <Folder Include="Features\Servers\Http\Resources\" />
      <Folder Include="storage\assetOverrides\x\y\" />
      <Folder Include="storage\logs\" />
      <Folder Include="Styles\" />
      <Folder Include="wwwroot\css\" />
    </ItemGroup>

    <ItemGroup>
      <PackageReference Include="Ben.Demystifier" Version="0.4.1" />
      <PackageReference Include="Blazor-ApexCharts" Version="2.3.3" />
      <PackageReference Include="Blazor.ContextMenu" Version="1.17.0" />
      <PackageReference Include="BlazorTable" Version="1.17.0" />
      <PackageReference Include="JWT" Version="10.1.1" />
      <PackageReference Include="MimeTypes" Version="2.4.1">
        <PrivateAssets>all</PrivateAssets>
        <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
      </PackageReference>
      <PackageReference Include="MoonCore" Version="1.1.9" />
      <PackageReference Include="MoonCoreUI" Version="1.1.5" />
      <PackageReference Include="Otp.NET" Version="1.3.0" />
      <PackageReference Include="QRCoder" Version="1.4.3" />
      <PackageReference Include="XtermBlazor" Version="1.10.2" />
      <PackageReference Include="Z.Blazor.Diagrams" Version="3.0.2" />
    </ItemGroup>

    <ItemGroup>
      <_ContentIncludedByDefault Remove="wwwroot\fonts\boxicons.eot" />
      <_ContentIncludedByDefault Remove="wwwroot\fonts\boxicons.svg" />
      <_ContentIncludedByDefault Remove="wwwroot\fonts\boxicons.ttf" />
      <_ContentIncludedByDefault Remove="wwwroot\fonts\boxicons.woff" />
      <_ContentIncludedByDefault Remove="wwwroot\fonts\boxicons.woff2" />
      <_ContentIncludedByDefault Remove="wwwroot\fonts\Inter.woff2" />
      <_ContentIncludedByDefault Remove="Features\ScheduleDesigner\UI\Components\ScheduleEditor.razor" />
      <_ContentIncludedByDefault Remove="Features\ScheduleDesigner\UI\Components\ScheduleLinkItem.razor" />
      <_ContentIncludedByDefault Remove="Features\ScheduleDesigner\UI\Components\ScheduleNodeItem.razor" />
      <_ContentIncludedByDefault Remove="wwwroot\svg\logo.svg" />
      <_ContentIncludedByDefault Remove="Features\FileManager\UI\Components\Editor.razor" />
      <_ContentIncludedByDefault Remove="Features\FileManager\UI\Components\FileEditor.razor" />
      <_ContentIncludedByDefault Remove="Features\FileManager\UI\Components\FileManager.razor" />
      <_ContentIncludedByDefault Remove="Features\FileManager\UI\Components\FileUploader.razor" />
      <_ContentIncludedByDefault Remove="Features\FileManager\UI\Components\FileView.razor" />
    </ItemGroup>

</Project>
