1 | import { h } from 'preact';
|
2 | import Tabular from '../tabular';
|
3 | import { BaseComponent, BaseProps } from './base';
|
4 | import { Status } from '../types';
|
5 | import Pipeline from '../pipeline/pipeline';
|
6 | import Header from '../header';
|
7 | import { Config } from '../config';
|
8 | interface ContainerProps extends BaseProps {
|
9 | config: Config;
|
10 | pipeline: Pipeline<Tabular>;
|
11 | header?: Header;
|
12 | width: string;
|
13 | height: string;
|
14 | }
|
15 | interface ContainerState {
|
16 | status: Status;
|
17 | header?: Header;
|
18 | data?: Tabular;
|
19 | }
|
20 | export declare class Container extends BaseComponent<ContainerProps, ContainerState> {
|
21 | private readonly configContext;
|
22 | private processPipelineFn;
|
23 | constructor(props: any, context: any);
|
24 | private processPipeline;
|
25 | componentDidMount(): Promise<void>;
|
26 | componentWillUnmount(): void;
|
27 | componentDidUpdate(_: Readonly<ContainerProps>, previousState: Readonly<ContainerState>): void;
|
28 | render(): h.JSX.Element;
|
29 | }
|
30 | export {};
|