import { DataResponse, LoadDataRequest, OrderBy, loadData } from '@embeddable.com/core'; import { Inputs } from '@embeddable.com/react'; import { TableScrollableProOnRowClickArg, TableScrollableProState } from './index'; declare const meta: { readonly name: "TableScrollable"; readonly label: "Table Chart - Scrollable"; readonly description: "Scrollable table that loads all rows at once. Pick for small or medium 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: "displayFormat"; readonly label: "Display format"; }, { 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 defaultValue: readonly ["csv", "xlsx"]; readonly name: "menuOptions"; readonly type: import("@embeddable.com/core").EmbeddableType; readonly label: "Menu options"; readonly array: true; 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 defaultTableScrollableState: (inputs?: Inputs) => TableScrollableProState; export declare const tableScrollable: { readonly Component: (props: import("./index").TableScrollableProProps) => import("react").JSX.Element; readonly meta: { readonly name: "TableScrollable"; readonly label: "Table Chart - Scrollable"; readonly description: "Scrollable table that loads all rows at once. Pick for small or medium 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: "displayFormat"; readonly label: "Display format"; }, { 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 defaultValue: readonly ["csv", "xlsx"]; readonly name: "menuOptions"; readonly type: import("@embeddable.com/core").EmbeddableType; readonly label: "Menu options"; readonly array: true; 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: DataResponse; dataset: { embeddableId: string; datasetId: string; inputName: string; variableValues: {}; }; hideMenu: boolean; }; readonly config: { readonly props: (inputs: Inputs, [state, setState]: [TableScrollableProState, (state: TableScrollableProState) => void]) => { state: TableScrollableProState; setState: (state: TableScrollableProState) => void; results: DataResponse; allResults: DataResponse | undefined; title: string; description: string; tooltip: string; displayNullAs: string; 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; menuOptions: unknown[]; onRowClicked: () => void; }; readonly events: { onRowClicked: (value: TableScrollableProOnRowClickArg) => { 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, orderBy: OrderBy[], dimensionsAndMeasuresToLoad: Parameters[0]["select"]) => LoadDataRequest; readonly loadData: (inputs: Inputs, page: number, orderBy: OrderBy[], dimensionsAndMeasuresToLoad: Parameters[0]["select"]) => DataResponse; }; readonly allResults: { readonly loadDataArgs: (inputs: Inputs, orderBy: OrderBy[]) => LoadDataRequest; readonly loadData: (inputs: Inputs, orderBy: OrderBy[], state: TableScrollableProState) => DataResponse | undefined; }; }; export {}; //# sourceMappingURL=definition.d.ts.map