@iotize/ionic
Version:
Iotize specific building blocks on top of @ionic/angular.
32 lines (31 loc) • 1.83 kB
TypeScript
import { DecimalPipe } from '@angular/common';
import { AfterViewInit, OnDestroy } from '@angular/core';
import { TapValueEditorContainerComponent } from '@iotize/ionic';
import { AbstractVariable } from '@iotize/tap/data';
import * as i0 from "@angular/core";
/**
* @deprecated not usefull anymore with new dashboard editor
*/
export declare class TapVariableImageAndValueComponent implements AfterViewInit, OnDestroy {
private decimalPipe;
ctx?: TapValueEditorContainerComponent;
private _destroyed;
_variable?: AbstractVariable<number>;
valueToDisplay: any;
image?: string;
imageSize: string;
valuePosition: 'top' | 'bottom' | 'left' | 'right';
unit: string;
imageColor?: string;
labelColor?: string;
editable: boolean;
set variable(variable: AbstractVariable<number>);
valueStyle: any;
digitsInfo?: string;
constructor(decimalPipe: DecimalPipe);
ngOnDestroy(): void;
ngAfterViewInit(): void;
onEditMode(): Promise<void>;
static ɵfac: i0.ɵɵFactoryDeclaration<TapVariableImageAndValueComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TapVariableImageAndValueComponent, "tap-variable-image-and-value", never, { "image": { "alias": "image"; "required": false; }; "imageSize": { "alias": "imageSize"; "required": false; }; "valuePosition": { "alias": "valuePosition"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "imageColor": { "alias": "imageColor"; "required": false; }; "labelColor": { "alias": "labelColor"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "variable": { "alias": "variable"; "required": false; }; "valueStyle": { "alias": "valueStyle"; "required": false; }; "digitsInfo": { "alias": "digitsInfo"; "required": false; }; }, {}, never, never, false, never>;
}