UNPKG

@obliczeniowo/elementary

Version:
45 lines (41 loc) 1.68 kB
import * as i0 from '@angular/core'; import { ElementRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import * as i3 from '@obliczeniowo/elementary/color-key-legend'; import { LegendKey } from '@obliczeniowo/elementary/color-key-legend'; import * as i2 from '@angular/common'; interface Party extends LegendKey { } declare class SejmComponent implements ControlValueAccessor { legend: boolean | undefined; set parties(value: { [key: string]: Party; }); get parties(): { [key: string]: Party; }; protected _parties: { [key: string]: Party; } | undefined; svg: ElementRef; ngAfterViewInit(): void; onChange: (value: { [key: string]: Party; } | undefined) => void; onTouched: () => void; registerOnValidatorChange(fn: () => void): void; writeValue(set?: { [key: string]: Party; }): void; registerOnChange(onChange: any): void; registerOnTouched(onTouched: any): void; static ɵfac: i0.ɵɵFactoryDeclaration<SejmComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SejmComponent, "obl-sejm", never, { "legend": { "alias": "legend"; "required": false; }; "parties": { "alias": "parties"; "required": false; }; }, {}, never, never, false, never>; } declare class SejmModule { static ɵfac: i0.ɵɵFactoryDeclaration<SejmModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<SejmModule, [typeof SejmComponent], [typeof i2.CommonModule, typeof i3.ColorKeyLegendModule], [typeof SejmComponent]>; static ɵinj: i0.ɵɵInjectorDeclaration<SejmModule>; } export { SejmComponent, SejmModule }; export type { Party };