import { DataResponse, LoadDataRequest, OrderBy, loadData } from '@embeddable.com/core'; import { Inputs } from '@embeddable.com/react'; import { TableChartPaginatedProOnRowClickArg, TableChartPaginatedProState } from './index'; declare const meta: { readonly name: "TableChartPaginated"; readonly label: "Table Chart - Paginated"; readonly description: "Server-side paginated table. Pick over TableScrollable for large datasets."; readonly category: "Table Charts"; readonly inputs: [{ readonly config: { readonly hideSort: true; }; readonly name: "dataset"; readonly type: "dataset"; readonly label: "Dataset"; readonly required: true; readonly category: "Component Data"; }, { readonly label: "Columns"; readonly inputs: [...any[], { readonly name: "width"; readonly type: "number"; readonly label: "Width"; readonly description: "You can input a number in pixels e.g. 400"; }, { readonly name: "align"; readonly type: import("@embeddable.com/core").EmbeddableType; readonly label: "Align"; }, { readonly type: import("@embeddable.com/core").EmbeddableType; readonly name: "tableCellStyle"; readonly label: "Table cell style"; }]; readonly name: "dimensionsAndMeasures"; readonly type: "dimensionOrMeasure"; readonly array: true; readonly required: true; readonly config: { readonly dataset: "dataset"; }; readonly category: "Component Data"; }, { readonly name: "title"; readonly type: "string"; readonly label: "Title"; readonly category: "Component Header"; }, { readonly name: "description"; readonly type: "string"; readonly label: "Description"; readonly category: "Component Header"; }, { readonly name: "tooltip"; readonly type: "string"; readonly label: "Tooltip"; readonly category: "Component Header"; }, { readonly name: "showIndex"; readonly label: "Show index column"; readonly defaultValue: true; readonly category: "Component Settings"; readonly type: "boolean"; }, { readonly name: "displayNullAs"; readonly label: "Display null as"; readonly category: "Component Settings"; readonly type: "string"; }, { readonly label: "Max results to download"; readonly name: "maxResults"; readonly type: "number"; readonly category: "Component Settings"; readonly defaultValue: 1000; }, { readonly label: "Dimension to set on click"; readonly name: "clickDimension"; readonly category: "Data Mapping for Interactions"; readonly required: false; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; readonly hideGranularity: true; }; }, { readonly name: "sortColumn"; readonly label: "Default sort column"; readonly category: "Component Settings"; readonly type: "dimensionOrMeasure"; readonly config: { readonly dataset: "dataset"; }; readonly inputs: undefined; }, { readonly label: "Default sort direction"; readonly category: "Component Settings"; readonly name: "sortDirection"; readonly type: import("@embeddable.com/core").EmbeddableType; }, { readonly name: "menuOptions"; readonly type: import("@embeddable.com/core").EmbeddableType; readonly label: "Menu options"; readonly array: true; readonly defaultValue: readonly ["csv", "xlsx", "png"]; readonly category: "Component Settings"; }]; readonly events: [{ readonly name: "onRowClicked"; readonly label: "A row is clicked"; readonly properties: [{ readonly name: "rowDimensionValue"; readonly label: "Clicked row dimension value"; readonly type: "string"; }, { readonly name: "rowDimensionTimeRange"; readonly label: "Clicked row dimension time range"; readonly type: "timeRange"; }]; }]; }; export declare const defaultTableChartPaginatedState: (inputs?: Inputs) => TableChartPaginatedProState; export declare const tableChartPaginated: { readonly Component: (props: import("./index").TableChartPaginatedProProps) => import("react").JSX.Element; readonly meta: { readonly name: "TableChartPaginated"; readonly label: "Table Chart - Paginated"; readonly description: "Server-side paginated table. Pick over TableScrollable for large datasets."; readonly category: "Table Charts"; readonly inputs: [{ readonly config: { readonly hideSort: true; }; readonly name: "dataset"; readonly type: "dataset"; readonly label: "Dataset"; readonly required: true; readonly category: "Component Data"; }, { readonly label: "Columns"; readonly inputs: [...any[], { readonly name: "width"; readonly type: "number"; readonly label: "Width"; readonly description: "You can input a number in pixels e.g. 400"; }, { readonly name: "align"; readonly type: import("@embeddable.com/core").EmbeddableType; readonly label: "Align"; }, { readonly type: import("@embeddable.com/core").EmbeddableType; readonly name: "tableCellStyle"; readonly label: "Table cell style"; }]; readonly name: "dimensionsAndMeasures"; readonly type: "dimensionOrMeasure"; readonly array: true; readonly required: true; readonly config: { readonly dataset: "dataset"; }; readonly category: "Component Data"; }, { readonly name: "title"; readonly type: "string"; readonly label: "Title"; readonly category: "Component Header"; }, { readonly name: "description"; readonly type: "string"; readonly label: "Description"; readonly category: "Component Header"; }, { readonly name: "tooltip"; readonly type: "string"; readonly label: "Tooltip"; readonly category: "Component Header"; }, { readonly name: "showIndex"; readonly label: "Show index column"; readonly defaultValue: true; readonly category: "Component Settings"; readonly type: "boolean"; }, { readonly name: "displayNullAs"; readonly label: "Display null as"; readonly category: "Component Settings"; readonly type: "string"; }, { readonly label: "Max results to download"; readonly name: "maxResults"; readonly type: "number"; readonly category: "Component Settings"; readonly defaultValue: 1000; }, { readonly label: "Dimension to set on click"; readonly name: "clickDimension"; readonly category: "Data Mapping for Interactions"; readonly required: false; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; readonly hideGranularity: true; }; }, { readonly name: "sortColumn"; readonly label: "Default sort column"; readonly category: "Component Settings"; readonly type: "dimensionOrMeasure"; readonly config: { readonly dataset: "dataset"; }; readonly inputs: undefined; }, { readonly label: "Default sort direction"; readonly category: "Component Settings"; readonly name: "sortDirection"; readonly type: import("@embeddable.com/core").EmbeddableType; }, { readonly name: "menuOptions"; readonly type: import("@embeddable.com/core").EmbeddableType; readonly label: "Menu options"; readonly array: true; readonly defaultValue: readonly ["csv", "xlsx", "png"]; readonly category: "Component Settings"; }]; readonly events: [{ readonly name: "onRowClicked"; readonly label: "A row is clicked"; readonly properties: [{ readonly name: "rowDimensionValue"; readonly label: "Clicked row dimension value"; readonly type: "string"; }, { readonly name: "rowDimensionTimeRange"; readonly label: "Clicked row dimension time range"; readonly type: "timeRange"; }]; }]; }; readonly preview: { ({ embeddableTheme, }: { embeddableTheme: any; }): React.JSX.Element; displayName: string; }; readonly previewConfig: { dimensionsAndMeasures: (import("@embeddable.com/core").Dimension | import("@embeddable.com/core").Measure)[]; results: { data: { [attr: string]: any; }[] | undefined; isLoading: boolean; error?: string; total?: number; }; totalResults: { data: never[]; total: number; isLoading: boolean; }; state: { page: number; pageSize: number; isLoadingDownloadData: boolean; hideMenu: boolean; }; hideMenu: boolean; }; readonly config: { readonly props: (inputs: Inputs, [state, setState]: [TableChartPaginatedProState, (state: TableChartPaginatedProState) => void]) => { state: TableChartPaginatedProState; setState: (state: TableChartPaginatedProState) => void; results: DataResponse | undefined; totalResults: DataResponse; allResults: DataResponse | undefined; title: string; description: string; tooltip: string; displayNullAs: string; menuOptions: unknown[]; dataset: import("@embeddable.com/core").Dataset; dimensionsAndMeasures: import("@embeddable.com/core").DimensionOrMeasure[]; showIndex: boolean; maxResults: number; clickDimension: import("@embeddable.com/core").Dimension; sortColumn: import("@embeddable.com/core").DimensionOrMeasure; sortDirection: unknown; onRowClicked: () => void; }; readonly events: { onRowClicked: (value: TableChartPaginatedProOnRowClickArg) => { rowDimensionValue: string | { operation: "NO_FILTER" | "VALUE"; value?: unknown; __embeddableVariableMeta: true; }; rowDimensionTimeRange: import("@embeddable.com/core").TimeRangeDeserializedValue | { operation: "NO_FILTER" | "VALUE"; value?: unknown; __embeddableVariableMeta: true; }; }; }; }; readonly results: { readonly loadDataArgs: (inputs: Inputs, page: number, pageSize: number, orderBy: OrderBy[], dimensionsAndMeasuresToLoad: Parameters[0]["select"]) => LoadDataRequest; readonly loadData: (inputs: Inputs, page: number, pageSize: number, orderBy: OrderBy[], dimensionsAndMeasuresToLoad: Parameters[0]["select"]) => DataResponse; }; readonly totalResults: { readonly loadDataArgs: (inputs: Inputs, dimensionsAndMeasuresToLoad: Parameters[0]["select"]) => LoadDataRequest; readonly loadData: (inputs: Inputs, dimensionsAndMeasuresToLoad: Parameters[0]["select"]) => DataResponse; }; readonly allResults: { readonly loadDataArgs: (inputs: Inputs, orderBy: OrderBy[]) => LoadDataRequest; readonly loadData: (inputs: Inputs, orderBy: OrderBy[]) => DataResponse; }; }; export {}; //# sourceMappingURL=definition.d.ts.map