import { ChangeDetectionStrategy, Component, input, output, } from '@angular/core'; /** * ▲ 3: how many want a ticket. A button for whoever can vote (the * signed-in, on a public project), the count alone for the rest. */ @Component({ selector: 'ts-vote', changeDetection: ChangeDetectionStrategy.OnPush, template: ` @if (canVote()) { } @else { ▲ {{ votes() }} } `, styles: ` :host { display: inline-flex; } /* @pi/ui styles every