add new features

This commit is contained in:
Peter Maquiran
2023-05-24 14:26:54 +01:00
parent 033a6c331c
commit 11d9e22f11
61 changed files with 777 additions and 1509 deletions
@@ -0,0 +1,30 @@
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
import { environment } from 'src/environments/environment';
import { ThemeService } from 'src/app/services/theme.service';
@Component({
selector: 'app-task-list-header',
templateUrl: './task-list-header.page.html',
styleUrls: ['./task-list-header.page.scss'],
})
export class TaskListHeaderPage implements OnInit {
@Input() headerName = 'name'
@Input() goBackButton = false
@Input() loading = true
@Input() loaderTop = false;
@Input() loaderBottom = false;
@Output() goBack = new EventEmitter<any>();
@Output() reorderList = new EventEmitter<any>();
@Output() changeFilterName = new EventEmitter<any>();
environment = environment
filterName: 'Para hoje' | 'Novos'| 'Lidos'| 'Não lidos'| 'OverdueTasks' | 'Todos' = 'Todos'
@Input() ordinance: string = 'old'
constructor(
public ThemeService: ThemeService,
) { }
ngOnInit() {}
}