UNPKG

@larva.io/webcomponents

Version:

Fentrica SmartUnits WebComponents package

81 lines (80 loc) 2.15 kB
import { EventEmitter } from '../../stencil-public-runtime'; import { Color, Size } from '../../interface'; import { TwoPosState } from './two-pos-controller-interface'; export declare class TwoPosControllerNode { el: HTMLLarAnalogValueElement; /** * Component main icon */ icon?: string; /** * The color to use from your application's color palette. * Detrouble options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`. */ color?: Color; /** * The color to use from your application's color palette for Components modal window. */ colorModal?: Color; /** * The color to use from your application's color palette for inputs */ colorInputs?: Color; /** * The color to use from your application's color palette for indication icon */ colorIconSmall?: Color; /** * Hide node titles */ hideTitles?: boolean; /** * Component superscript title */ supTitle?: string; /** * Component subtitle */ subTitle?: string; /** * Is logging for this component enabled (lar-log subcomponent loaded) */ log: boolean; /** * Component main title */ mainTitle: string; /** * Node size */ nodeSize?: Size; /** * @see {@link ../readme.md} chapter "Components input and output" for further information. */ output: EventEmitter; /** * @see {@link ../readme.md} chapter "Sub-Components requests and responses" for further information. */ request: EventEmitter; fullState: TwoPosState; setPointEdit: number; loading: boolean; step?: number; min?: number; max?: number; manualcontrols?: boolean; private node; private timeout; componentDidLoad(): void; /** * Larva error input */ error(data: any): Promise<void>; /** * Input Larva event message (see above) */ input(data: boolean | TwoPosState): Promise<void>; private changeSetpoint; private changeMode; render(): any; }