@iotize/ionic
Version:
Iotize specific building blocks on top of @ionic/angular.
37 lines (36 loc) • 1.95 kB
TypeScript
import { AfterViewInit, OnDestroy } from '@angular/core';
import { IonModal } from '@ionic/angular';
import { CurrentDeviceService, PendingCallManager, TapValueEditorContainerComponent } from '@iotize/ionic';
import { AbstractVariable } from '@iotize/tap/data';
import * as i0 from "@angular/core";
export declare class TapVariableDateTimePickerComponent implements AfterViewInit, OnDestroy {
ctx: TapValueEditorContainerComponent;
dateTimeModal: IonModal;
pendingCallManager: PendingCallManager;
pendingSubmitValue: any;
private destroyed;
error?: Error;
set fieldError(err: Error);
get pending(): boolean;
format: string;
showCalendarPickerTitle: boolean;
editable: boolean;
color: string;
showCalendarIcon: boolean;
iconCalendarColor: string;
set encodingType(type: string);
formatDataRead: ((date: number) => string) | undefined;
formatDataWrite: ((date: string) => number) | undefined;
_variable?: AbstractVariable<any>;
set variable(variable: AbstractVariable<any> | undefined);
dateTimeValue: string;
constructor(tapService: CurrentDeviceService);
ngOnDestroy(): void;
ngAfterViewInit(): void;
onPendingChange(event: CustomEvent<{
value: string;
}>): Promise<void>;
onValueClick(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TapVariableDateTimePickerComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TapVariableDateTimePickerComponent, "tap-variable-date-time-picker", never, { "fieldError": "fieldError"; "format": "format"; "showCalendarPickerTitle": "showCalendarPickerTitle"; "editable": "editable"; "color": "color"; "showCalendarIcon": "showCalendarIcon"; "iconCalendarColor": "iconCalendarColor"; "encodingType": "encodingType"; "formatDataRead": "formatDataRead"; "formatDataWrite": "formatDataWrite"; "variable": "variable"; }, {}, never, never, false, never>;
}