@iotize/ionic
Version:
Iotize specific building blocks on top of @ionic/angular.
43 lines (42 loc) • 2.69 kB
TypeScript
import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
import { ModalController } from '@ionic/angular';
import { AbstractVariable } from '@iotize/tap/data';
import { ColumnMode } from '@swimlane/ngx-datatable';
import { ChartInputSingle, ChartInputStreamVar, ChartInputTable } from '../ChartDataModel';
import { OnChartSelectEvent } from '../shared-types';
import * as i0 from "@angular/core";
export declare class TapVariableTableComponent implements AfterViewInit, OnDestroy {
modalController: ModalController;
private cdr;
rows: ChartInputSingle[] | ChartInputTable[];
columns: any[];
darkModeStatus?: boolean;
private chartModel;
loadingIndicator: boolean;
reorderable: boolean;
columnMode: ColumnMode;
limit: number;
valueLabel: string;
nameLabel?: string;
set history(enable: boolean);
set valueCountLimit(limit: number | undefined);
showExportButton: boolean;
exportedFileName?: string;
set label(indexOrArray: string | string[] | undefined | Function);
private _history;
private _valueCountLimit;
private destroyed;
private _input;
private multiple;
set variable(variableOrArray: AbstractVariable<number | number[]> | AbstractVariable<number | number[]>[] | undefined);
set input(inputs: ChartInputStreamVar[]);
columnsPushForEachKey(key: string): void;
constructor(modalController: ModalController, cdr: ChangeDetectorRef);
createExportedData(): ChartInputSingle[] | ChartInputTable[];
ngAfterViewInit(): void;
resultToTableData(result: any): void;
onSelect(event: OnChartSelectEvent): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TapVariableTableComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TapVariableTableComponent, "tap-variable-table", never, { "loadingIndicator": { "alias": "loadingIndicator"; "required": false; }; "reorderable": { "alias": "reorderable"; "required": false; }; "columnMode": { "alias": "columnMode"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; "valueLabel": { "alias": "valueLabel"; "required": false; }; "nameLabel": { "alias": "nameLabel"; "required": false; }; "history": { "alias": "history"; "required": false; }; "valueCountLimit": { "alias": "valueCountLimit"; "required": false; }; "showExportButton": { "alias": "showExportButton"; "required": false; }; "exportedFileName": { "alias": "exportedFileName"; "required": false; }; "label": { "alias": "label"; "required": false; }; "variable": { "alias": "variable"; "required": false; }; "input": { "alias": "input"; "required": false; }; }, {}, never, never, false, never>;
}