guide de contrib

This commit is contained in:
Tykayn 2025-10-05 00:21:11 +02:00 committed by tykayn
parent e7f7e9e19e
commit 464e0e5499
12 changed files with 346 additions and 37 deletions

View file

@ -16,6 +16,7 @@ export class EditForm implements OnChanges {
@Output() saved = new EventEmitter<any>();
@Output() created = new EventEmitter<any>();
@Output() deleted = new EventEmitter<any>();
@Output() canceled = new EventEmitter<void>();
form: FormGroup;
allPresets: Array<{ key: string, label: string, emoji: string, category: string, description?: string, durationHours?: number, properties?: Record<string, { label?: string, writable?: boolean, values?: any[], default?: any, allow_custom?: boolean, allow_empty?: boolean }> }>;
@ -287,6 +288,7 @@ export class EditForm implements OnChanges {
});
this.presetValues.set({});
this.status.set({ state: 'idle' });
this.canceled.emit();
}
private toLocalInputValue(d: string | Date): string {