import { ElementRef, Injector, OnDestroy } from '@angular/core'; import { DatasetAwareFormComponent } from '@wm/components/input/dataset-aware-form'; import * as i0 from "@angular/core"; export declare class RatingComponent extends DatasetAwareFormComponent implements OnDestroy { static initializeProps: void; caption: string; showcaptions: boolean; maxvalue: any; private _selectedRatingValue; ratingsWidth: any; ratingItems: any; private _id; starsArray: any; isDecimal: boolean; iconsize: string; iconcolor: string; onFocus: any; private touchEnabled; activeiconclass: string; inactiveiconclass: string; ratingEl: ElementRef; get selectedRatingValue(): any; set selectedRatingValue(val: any); constructor(inj: Injector, explicitContext: any); protected handleEvent(node: HTMLElement, eventName: string, eventCallback: Function, locals: any): void; private prepareRatingDataset; onRatingClick($event: any, rate: any): void; /** * On datavalue change, update the caption, selectedRatingValue. * 1. if datasetItems contain the selected item (check the selected flag on item), find the index of selected item. * 2. if not, just check if the datavalue is provided as the index on the item. * * @param dataVal datavalue */ onDatavalueChange(dataVal: any): void; calculateRatingsWidth(dataVal?: any): string; onPropertyChange(key: string, nv: any, ov?: any): void; onTouchStart($event: any): void; onMouseleave(): void; onMouseOver($event: any, rate: any): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }