UNPKG

@iotize/ionic

Version:

Iotize specific building blocks on top of @ionic/angular.

50 lines (49 loc) 2.77 kB
import { OnDestroy } from '@angular/core'; import { ActionSheetController, Platform } from '@ionic/angular'; import { TapValueEditorContainerComponent } from '@iotize/ionic'; import { AbstractVariable } from '@iotize/tap/data'; import * as i0 from "@angular/core"; export declare class TapVariablePushButtonComponent implements OnDestroy { actionSheetController: ActionSheetController; private platform; ctx: TapValueEditorContainerComponent; private _handleMouseUp?; onTouchStart(): void; onMouseDown(): void; onTouchEnd(): void; private _onTouchStartOrMouseDown; private _onTouchEndOrMouseUp; mouseDownValue?: number; mouseUpValue?: number; value: number; buttonText: string; size: string; color: string; icon?: string; iconPosition: string; fill?: string; expand?: string; strong: boolean; shape?: boolean; confirm: boolean; confirmMessage: string; editable: boolean; /** * @deprecated */ set defineValueOnClick(v: number); set fieldError(err: Error); set variable(variable: AbstractVariable<any | any[]> | undefined); private destroyed; error?: Error; pendingSubmitValue: any; loading: boolean; _variable?: AbstractVariable<any>; constructor(actionSheetController: ActionSheetController, platform: Platform); ngAfterViewInit(): void; ngOnDestroy(): void; onClick(): Promise<void>; writeValue(valueToWrite: number): Promise<void>; static ɵfac: i0.ɵɵFactoryDeclaration<TapVariablePushButtonComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TapVariablePushButtonComponent, "tap-variable-push-button", never, { "mouseDownValue": { "alias": "mouseDownValue"; "required": false; }; "mouseUpValue": { "alias": "mouseUpValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "strong": { "alias": "strong"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "confirm": { "alias": "confirm"; "required": false; }; "confirmMessage": { "alias": "confirmMessage"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "defineValueOnClick": { "alias": "defineValueOnClick"; "required": false; }; "fieldError": { "alias": "fieldError"; "required": false; }; "variable": { "alias": "variable"; "required": false; }; }, {}, never, never, false, never>; }