UNPKG

@larva.io/webcomponents

Version:

Fentrica SmartUnits WebComponents package

102 lines (101 loc) 2.75 kB
import { EventEmitter } from '../../stencil-public-runtime'; import { Color, Size } from '../../interface'; import { AreaData } from './area-interface'; export declare class Area { el: HTMLLarAreaElement; /** * 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; /** * Allow node indication color automatic change based on feedback/node value. Defaults to false */ allowIndicationAutoColoring: boolean; /** * Allow node color automatic change based on feedback/node value. Defaults to true */ allowNodeAutoColoring: boolean; /** * Enable quick action for security node */ enableSecurityQuickActions: boolean; /** * 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; private troubles; private zones; zonesString: string; armed: boolean; zoneopened: boolean; exitDelayActive: boolean; entryDelayActive: boolean; transactionDelay: number; alarm: boolean; troublesString: string; loading: boolean; private transactionDelayTimeout?; private node; /** * Larva input message */ input(data: any): Promise<void>; /** * Larva error input */ error(data: any): Promise<void>; componentDidLoad(): void; validateData(data: any): data is AreaData; arm(): CustomEvent<any>; partialArm(data: { bypassZones: string[]; overrideTroubles: boolean; }): void; disarm(): void; render(): any[]; }