import { Component, Output, EventEmitter, Input } from '@angular/core'; import { CommonModule } from '@angular/common'; @Component({ selector: 'app-dvorak-keyboard', standalone: true, imports: [CommonModule], template: `
`, styleUrl: '../app.component.css' }) export class DvorakKeyboardComponent { @Input() shiftActive = false; @Output() keyPressed = new EventEmitter(); @Output() shiftToggled = new EventEmitter(); row1 = [',', '.', 'P', 'Y', 'F', 'G', 'C', 'R', 'L']; row2 = ['A', 'O', 'E', 'U', 'I', 'D', 'H', 'T', 'N', 'S']; row3 = ['Q', 'J', 'K', 'X', 'B', 'M', 'W', 'V', 'Z']; }