fix: resolve MudBlazor v8 breaking changes (MUD0002 warnings)
Build and Deploy to Production / build-and-deploy (push) Successful in 16m3s
Build and Deploy to Production / build-and-deploy (push) Successful in 16m3s
- MudListItem: Selected → Class with conditional CSS - MudTextField: Dense → Margin="Margin.Dense" - MudSwitch: remove HelperText (merged into Label) - MudDatePicker: remove T parameter (no longer generic in v8)
This commit is contained in:
@@ -197,14 +197,14 @@
|
||||
<MudTextField T="string"
|
||||
Label="کد رهگیری"
|
||||
Variant="Variant.Outlined"
|
||||
Dense="true"
|
||||
Margin="Margin.Dense"
|
||||
@bind-Value="_trackingCode" />
|
||||
</MudItem>
|
||||
<MudItem xs="12">
|
||||
<MudTextField T="string"
|
||||
Label="یادداشت ادمین"
|
||||
Variant="Variant.Outlined"
|
||||
Dense="true"
|
||||
Margin="Margin.Dense"
|
||||
Lines="3"
|
||||
HelperText="دلیل تغییر وضعیت یا توضیحات اضافی"
|
||||
@bind-Value="_adminNotes" />
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
<MudList T="string" Dense="true">
|
||||
<MudListItem T="string"
|
||||
OnClick="@(() => OnTreeNodeSelected(null))"
|
||||
Selected="@(_selectedParentId == null)">
|
||||
Class="@(_selectedParentId == null ? "mud-selected-item" : "")">
|
||||
<MudText Typo="Typo.body2">همه دستهبندیها</MudText>
|
||||
</MudListItem>
|
||||
@foreach (var node in _treeNodes)
|
||||
{
|
||||
<MudListItem T="string"
|
||||
OnClick="@(() => OnTreeNodeSelected(node.Id))"
|
||||
Selected="@(_selectedParentId == node.Id)">
|
||||
Class="@(_selectedParentId == node.Id ? "mud-selected-item" : "")">
|
||||
<MudStack Row="true" AlignItems="AlignItems.Center">
|
||||
<div style="width:@(node.Depth * 16)px;"></div>
|
||||
<MudText Typo="Typo.body2">@node.Title</MudText>
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
@bind-Value="@_trackingCodeFilter" Variant="Variant.Outlined" Margin="Margin.Dense"/>
|
||||
</MudItem>
|
||||
<MudItem xs="12" sm="6" md="3">
|
||||
<MudDatePicker T="DateTime?" Label="از تاریخ" @bind-Date="_fromDateFilter"
|
||||
<MudDatePicker Label="از تاریخ" @bind-Date="_fromDateFilter"
|
||||
Variant="Variant.Outlined" Margin="Margin.Dense"/>
|
||||
</MudItem>
|
||||
<MudItem xs="12" sm="6" md="3">
|
||||
<MudDatePicker T="DateTime?" Label="تا تاریخ" @bind-Date="_toDateFilter"
|
||||
<MudDatePicker Label="تا تاریخ" @bind-Date="_toDateFilter"
|
||||
Variant="Variant.Outlined" Margin="Margin.Dense"/>
|
||||
</MudItem>
|
||||
<MudItem xs="12" sm="6" md="3">
|
||||
|
||||
@@ -174,8 +174,7 @@
|
||||
<MudItem xs="12">
|
||||
<MudSwitch T="bool" @bind-Value="_networkConfig.SpilloverEnabled"
|
||||
Color="Color.Primary"
|
||||
Label="Spillover فعال باشد"
|
||||
HelperText="اعضای اضافی به پایین درخت منتقل شوند" />
|
||||
Label="Spillover فعال باشد — اعضای اضافی به پایین درخت منتقل شوند" />
|
||||
</MudItem>
|
||||
</MudGrid>
|
||||
|
||||
@@ -340,8 +339,7 @@
|
||||
<MudItem xs="12">
|
||||
<MudSwitch @bind-Value="_systemConfig.MaintenanceMode"
|
||||
Color="Color.Warning"
|
||||
Label="حالت تعمیر و نگهداری"
|
||||
HelperText="غیرفعال کردن موقت سیستم برای بهروزرسانی" />
|
||||
Label="حالت تعمیر و نگهداری — غیرفعال کردن موقت سیستم برای بهروزرسانی" />
|
||||
</MudItem>
|
||||
|
||||
<MudItem xs="12">
|
||||
|
||||
@@ -27,11 +27,11 @@
|
||||
@bind-Value="@_request.Filter.Amount" Variant="Variant.Outlined" Margin="Margin.Dense"/>
|
||||
</MudItem>
|
||||
<MudItem xs="12" sm="6" md="3">
|
||||
<MudDatePicker T="DateTime?" Label="از تاریخ پرداخت" @bind-Date="_paymentDateFrom"
|
||||
<MudDatePicker Label="از تاریخ پرداخت" @bind-Date="_paymentDateFrom"
|
||||
Variant="Variant.Outlined" Margin="Margin.Dense"/>
|
||||
</MudItem>
|
||||
<MudItem xs="12" sm="6" md="3">
|
||||
<MudDatePicker T="DateTime?" Label="تا تاریخ پرداخت" @bind-Date="_paymentDateTo"
|
||||
<MudDatePicker Label="تا تاریخ پرداخت" @bind-Date="_paymentDateTo"
|
||||
Variant="Variant.Outlined" Margin="Margin.Dense"/>
|
||||
</MudItem>
|
||||
<MudItem xs="12" sm="6" md="3">
|
||||
|
||||
Reference in New Issue
Block a user