2026-06-08 13:35:58 +03:30
|
|
|
@if (rendered) {
|
|
|
|
|
<div class="light-bottomsheet-mask" (click)="onMaskClick()"></div>
|
2026-05-13 10:39:43 +03:30
|
|
|
|
2026-06-08 13:35:58 +03:30
|
|
|
<section class="light-bottomsheet-panel" [ngStyle]="style || { 'max-height': mobileDrawerHeight, height: 'auto' }">
|
|
|
|
|
<div class="light-bottomsheet-content">
|
|
|
|
|
@if (header || closable) {
|
|
|
|
|
<header class="light-bottomsheet-header border-surface-border border-b">
|
|
|
|
|
<span class="text-xl font-bold">{{ header }}</span>
|
|
|
|
|
@if (closable) {
|
|
|
|
|
<p-button
|
|
|
|
|
type="button"
|
|
|
|
|
icon="pi pi-times"
|
|
|
|
|
text
|
|
|
|
|
size="small"
|
|
|
|
|
class="light-bottomsheet-close"
|
|
|
|
|
(click)="onVisibilityChange(false)"
|
|
|
|
|
aria-label="Close">
|
|
|
|
|
</p-button>
|
|
|
|
|
}
|
|
|
|
|
</header>
|
|
|
|
|
}
|
|
|
|
|
<div class="light-bottomsheet-body p-4">
|
2026-06-11 16:13:48 +03:30
|
|
|
@if (contentRendered) {
|
|
|
|
|
<ng-content></ng-content>
|
|
|
|
|
}
|
2026-06-08 13:35:58 +03:30
|
|
|
</div>
|
2026-05-13 10:39:43 +03:30
|
|
|
</div>
|
2026-06-08 13:35:58 +03:30
|
|
|
</section>
|
|
|
|
|
}
|