mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-08-03 13:02:26 +00:00
28 lines
1 KiB
HTML
28 lines
1 KiB
HTML
@if (panelContent() === 'ISSUE_PANEL') {
|
|
<issue-panel [@slideInFromRight]></issue-panel>
|
|
} @else if (panelContent() === 'NOTES') {
|
|
<notes [@slideInFromRight]></notes>
|
|
} @else if (panelContent() === 'TASK_VIEW_CUSTOMIZER_PANEL') {
|
|
<!-- Wrap TVC to stabilize layout during panel width transitions -->
|
|
<div
|
|
class="panel-wrapper"
|
|
[@slideInFromRight]
|
|
>
|
|
<task-view-customizer-panel></task-view-customizer-panel>
|
|
</div>
|
|
} @else if (panelContent() === 'PLUGIN') {
|
|
@for (key of pluginPanelKeys(); track key) {
|
|
<plugin-panel-container [@slideInFromRight]></plugin-panel-container>
|
|
}
|
|
<!-- Task content comes last so we can avoid an extra effect to unset selected task -->
|
|
} @else if (panelContent() === 'SCHEDULE_DAY_PANEL') {
|
|
<schedule-day-panel [@slideInFromRight]></schedule-day-panel>
|
|
} @else {
|
|
@if (selectedTaskWithDelayForNone(); as task) {
|
|
<task-detail-panel
|
|
[@taskDetailPanelTaskChange]="task.id"
|
|
[@.disabled]="isDisableTaskPanelAni()"
|
|
[task]="task"
|
|
></task-detail-panel>
|
|
}
|
|
}
|