2025-07-12 21:33:44 +03:30
|
|
|
@using Common.Dtos.Conversation
|
2025-07-11 20:37:28 +03:30
|
|
|
|
2025-07-27 16:04:28 +03:30
|
|
|
@if (SelectedConversationItems!=null)
|
|
|
|
{
|
|
|
|
@foreach (var item in SelectedConversationItems)
|
2025-07-26 22:15:48 +03:30
|
|
|
{
|
2025-07-27 16:04:28 +03:30
|
|
|
if (item.Type == Common.Enums.ConversationType.UE)
|
|
|
|
{
|
|
|
|
<div style="display: flex; "
|
2025-07-27 22:55:26 +03:30
|
|
|
dir="rtl" class="p-1 rounded w-100">
|
2025-07-27 16:04:28 +03:30
|
|
|
<div class="bg-green-100 border p-2 rounded text-end" dir="rtl">
|
|
|
|
@item.text
|
|
|
|
</div>
|
|
|
|
<Icon Style="align-self: self-end;" Name="IconName.CheckLg" Size="IconSize.x5" />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2025-07-27 22:55:26 +03:30
|
|
|
<div id="target" style="text-align: center;">
|
|
|
|
@if (!target&& !item.IsRead)
|
|
|
|
{
|
|
|
|
target = true;
|
|
|
|
<p>ـــــــــــــــــــــــــ</p>
|
|
|
|
}
|
|
|
|
|
|
|
|
</div>
|
2025-07-27 16:04:28 +03:30
|
|
|
<div style="display: flex; "
|
2025-07-27 22:55:26 +03:30
|
|
|
dir="ltr" class="p-1 rounded w-100">
|
2025-07-27 16:04:28 +03:30
|
|
|
<div class="bg-white border p-3 rounded text-end" dir="rtl">
|
|
|
|
@item.text
|
|
|
|
</div>
|
|
|
|
<Icon Style="align-self: self-end;" Name="IconName.CheckLg" Size="IconSize.x5" />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
}
|
2025-07-26 22:15:48 +03:30
|
|
|
}
|
2025-07-11 20:37:28 +03:30
|
|
|
|
2025-07-27 16:04:28 +03:30
|
|
|
}
|
2025-07-11 20:37:28 +03:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@code {
|
2025-07-27 22:55:26 +03:30
|
|
|
bool target = false;
|
|
|
|
// [Parameter] public List<Read_ConversationDto> Conversations { get; set; }
|
2025-07-12 21:33:44 +03:30
|
|
|
[Parameter] public List<Read_ConversationResponseDto> SelectedConversationItems { get; set; }
|
2025-07-27 22:55:26 +03:30
|
|
|
protected override Task OnParametersSetAsync()
|
|
|
|
{
|
|
|
|
target = false;
|
|
|
|
return base.OnParametersSetAsync();
|
|
|
|
}
|
2025-07-11 20:37:28 +03:30
|
|
|
}
|