import { OnInit, OnDestroy, EventEmitter, OnChanges } from "@angular/core"; import { IdService } from "../shared/services/id.service"; import { IPointEvent } from "./point.interface"; export declare class PointComponent implements OnInit, OnDestroy, OnChanges { private idService; /** * Point button ID. */ id: string; /** * Label. */ label: string; /** * Help text. */ helpText: string; /** * Point number. */ number: string | number; /** * Disable point. */ disabled: string | boolean; /** * Make Point active. * * @todo renamed "checked" to be "active" */ checked: string | boolean; /** * Mark Point as completed. */ completed: string | boolean; /** * Mark Point as skipped/passed. */ passed: string | boolean; /** * Allow to change "active" state of the Point. */ editable: boolean; /** * Aria label. */ ariaLabel: string; /** * Point Update event. */ pointUpdate: EventEmitter; /** * Aria "described-by" point button property. */ ariaDescribedBy: string; /** * Aria pressed value. */ ariaPressed: string; constructor(idService: IdService); /** * Set component ID and aria attributes. */ ngOnInit(): void; /** * Remove Point button ID from ID service. */ ngOnDestroy(): void; /** * Update aria attributes & fire point update event. */ ngOnChanges(): void; /** * Toggle active state. */ toggleActiveState(): void; /** * Fire Point Update event. * * This includes when the checked, completed, disabled, passed values have been updated. */ private firePointUpdate; /** * Update ARIA attributes. */ private updateAriaAttributes; /** * Get "described-by" aria attribute value. */ private getAriaDescribedBy; /** * Check if Point button is pressed or not. */ private getAriaPressedValue; }