@obliczeniowo/elementary
Version:
Library made in Angular version 20
54 lines (50 loc) • 2.48 kB
TypeScript
import * as i0 from '@angular/core';
import { AfterViewInit, OnDestroy, ElementRef } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import * as i2 from '@angular/common';
declare class BallProgressBarComponent implements AfterViewInit, OnDestroy, ControlValueAccessor {
private readonly elementRef;
private spinnerTimer;
angle: number;
private readonly pStartColor;
private readonly pEndColor;
/** id suffix */
protected readonly suffix: number;
protected readonly clipId: string;
protected readonly clipEllipse: string;
protected readonly arrowsGradientIdA: string;
protected readonly arrowsGradientIdB: string;
protected readonly effect3dId: string;
protected readonly radialGradientId: string;
protected readonly radialGradientId2: string;
protected readonly radialGradientId3: string;
protected readonly effect3dClipPathId: string;
protected readonly reflectGradientId: string;
protected readonly radialGradientSubId3: string;
protected readonly spinningElementId: string;
arrowsColor: string;
touched: boolean;
onChange: (value: number) => void;
onTouched: () => void;
writeValue(value: number): void;
registerOnChange(onChange: any): void;
registerOnTouched(onTouched: any): void;
registerOnValidatorChange(fn: () => void): void;
markAsTouched(): void;
value: i0.ModelSignal<number>;
effect3d: i0.InputSignal<boolean>;
set ballFillColor(color: string);
constructor(elementRef: ElementRef<HTMLElement>);
protected setEffect(): void;
protected set(): void;
ngAfterViewInit(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<BallProgressBarComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<BallProgressBarComponent, "obl-ball-progress-bar", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "effect3d": { "alias": "effect3d"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, false, never>;
}
declare class BallProgressBarModule {
static ɵfac: i0.ɵɵFactoryDeclaration<BallProgressBarModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<BallProgressBarModule, [typeof BallProgressBarComponent], [typeof i2.CommonModule], [typeof BallProgressBarComponent]>;
static ɵinj: i0.ɵɵInjectorDeclaration<BallProgressBarModule>;
}
export { BallProgressBarComponent, BallProgressBarModule };