UNPKG

@obliczeniowo/elementary

Version:
65 lines (58 loc) 2.7 kB
import * as i0 from '@angular/core'; import { OnInit, OnDestroy } from '@angular/core'; import * as i5 from '@angular/common'; type Digit = [boolean, boolean, boolean, boolean, boolean, boolean, boolean]; type Signs = { 0: Digit; 1: Digit; 2: Digit; 3: Digit; 4: Digit; 5: Digit; 6: Digit; 7: Digit; 8: Digit; 9: Digit; '-': Digit; e: Digit; '.': Digit; ':': Digit; }; type DisplayDigit = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '-' | '.' | ':' | 'e'; declare class DigitComponent { readonly signs: Signs; digit: i0.InputSignalWithTransform<DisplayDigit, string | number>; static ɵfac: i0.ɵɵFactoryDeclaration<DigitComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DigitComponent, "obl-digit", never, { "digit": { "alias": "digit"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>; } declare class DigitsComponent { clicked: () => void; protected _value?: string | number | null; value: i0.InputSignalWithTransform<DisplayDigit[], string | number | null>; static ɵfac: i0.ɵɵFactoryDeclaration<DigitsComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DigitsComponent, "obl-digits", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>; } declare class DigitalTimerComponent implements OnInit, OnDestroy { date: Date; time: any; ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<DigitalTimerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DigitalTimerComponent, "obl-digital-timer", never, {}, {}, never, never, false, never>; } declare class DotsComponent { dots: { dot: boolean[]; colon: boolean[]; }; dotsType: i0.InputSignal<"colon" | "dot">; static ɵfac: i0.ɵɵFactoryDeclaration<DotsComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DotsComponent, "obl-dots", never, { "dotsType": { "alias": "dotsType"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>; } declare class DigitalModule { static ɵfac: i0.ɵɵFactoryDeclaration<DigitalModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<DigitalModule, [typeof DigitComponent, typeof DigitsComponent, typeof DigitalTimerComponent, typeof DotsComponent], [typeof i5.CommonModule], [typeof DigitComponent, typeof DigitsComponent, typeof DigitalTimerComponent]>; static ɵinj: i0.ɵɵInjectorDeclaration<DigitalModule>; } export { DigitComponent, DigitalModule, DigitalTimerComponent, DigitsComponent, DotsComponent }; export type { Digit, DisplayDigit, Signs };