@iotize/ionic
Version:
Iotize specific building blocks on top of @ionic/angular.
37 lines (36 loc) • 2.28 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": { "alias": "fieldError"; "required": false; }; "format": { "alias": "format"; "required": false; }; "showCalendarPickerTitle": { "alias": "showCalendarPickerTitle"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "color": { "alias": "color"; "required": false; }; "showCalendarIcon": { "alias": "showCalendarIcon"; "required": false; }; "iconCalendarColor": { "alias": "iconCalendarColor"; "required": false; }; "encodingType": { "alias": "encodingType"; "required": false; }; "formatDataRead": { "alias": "formatDataRead"; "required": false; }; "formatDataWrite": { "alias": "formatDataWrite"; "required": false; }; "variable": { "alias": "variable"; "required": false; }; }, {}, never, never, false, never>;
}