@docsvision/webclient
Version:
Type definitions for DocsVision WebClient scripts and extensions.
38 lines (37 loc) • 1.59 kB
TypeScript
/// <reference types="react" />
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
import { PanelImpl, IPanelState } from "@docsvision/webclient/Platform/PanelImpl";
import { Layout, LayoutParams } from "@docsvision/webclient/System/Layout";
import { ControlStore } from "@docsvision/webclient/System/ControlStore";
import { IEditOperationStore } from "@docsvision/webclient/System/IEditOperationStore";
import { LayoutContainer } from "@docsvision/webclient/System/LayoutContainer";
/** @internal */
export interface LayoutState extends LayoutParams, IPanelState {
deleted: boolean;
isInitialized: boolean;
controlStore: ControlStore;
cardInfo: GenModels.CardInfoModel;
rowInfo: GenModels.RowInfoModel;
extendedDataSourceInfos: GenModels.ExtendedDataSourceInfoModel[];
layoutInfo: GenModels.LayoutInfoModel;
layoutContainer: LayoutContainer<GenModels.LayoutViewModel>;
editOperations: IEditOperationStore;
saved: boolean;
cardTypeName: string;
}
/** @internal */
export interface LayoutImplProps extends LayoutParams {
}
/** @internal */
export declare type LayoutImplState = LayoutState;
/** @internal */
export declare class LayoutImpl extends PanelImpl<LayoutImplProps, LayoutImplState> {
constructor(props: LayoutImplProps, state: LayoutImplState);
componentDidMount(): void;
protected get wrapper(): Layout;
protected prepareChildren(): void;
protected getCssClass(): string;
renderDisabledState(): JSX.Element;
scrollViewToInvalid(): void;
renderControl(): JSX.Element;
}