@larva.io/webcomponents
Version:
Fentrica SmartUnits WebComponents package
105 lines (104 loc) • 2.74 kB
TypeScript
import { EventEmitter } from '../../stencil-public-runtime';
import { Color, Size } from '../../interface';
import { DataIn } from './rtsp-h264-mjpeg-interface';
export declare class LarRTSPH264MJPEG {
el: HTMLLarRtspH264MjpegElement;
/**
* 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 small icon
*/
colorIconSmall?: Color;
/**
* Hide camera names top of streams
*/
hideCameraNames: 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;
/**
* Use upstream proxy for cameras
*/
useUplinkProxy: boolean;
/**
* server for cameras
*/
server: string;
/**
* 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;
loading: boolean;
showPager: boolean;
private cameras;
private swiper;
private paginationEl?;
private loadingListenerElement?;
/**
* Emitted before the modal has presented.
*/
willPresent: EventEmitter;
/**
* Emitted after the modal has presented.
*/
didPresent: EventEmitter;
/**
* Emitted before the modal has dismissed.
*/
willDismiss: EventEmitter;
/**
* Emitted after the modal has dismissed.
*/
didDismiss: EventEmitter;
private normalizeSwiperOptions;
componentWillLoad(): void;
componentDidLoad(): void;
disconnectedCallback(): void;
/**
* Larva error input
*/
error(data: any, timeout?: number): Promise<void>;
/**
* Input Larva event message (see above)
*/
input(data: DataIn): Promise<void>;
private close;
private closeCameras;
private openActiveSlideCameraModal;
private videoElementLoading;
private startActiveSlideStream;
private updateSwiper;
render(): any;
}