UNPKG

@finos/legend-data-cube

Version:
47 lines 2.37 kB
/** * Copyright (c) 2020-present, Goldman Sachs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { type ColDef } from 'ag-grid-community'; import React from 'react'; import { type AgGridReactProps } from 'ag-grid-react'; import { type DataCubeEditorColumnsSelectorSortColumnState, type DataCubeEditorColumnsSelectorColumnState, type DataCubeEditorColumnsSelectorState } from '../../../stores/view/editor/DataCubeEditorColumnsSelectorState.js'; export declare const INTERNAL__EDITOR_COLUMNS_SELECTOR_ROW_HEIGHT = 20; export declare function getColumnsSelectorBaseGridProps<T extends { name: string; } = DataCubeEditorColumnsSelectorColumnState>(): AgGridReactProps<T>; export declare function getColumnsSelectorBaseColumnDef<T extends { name: string; } = DataCubeEditorColumnsSelectorColumnState>(): ColDef<T>; export declare const DataCubeEditorColumnsSelector: (<T extends DataCubeEditorColumnsSelectorColumnState = DataCubeEditorColumnsSelectorColumnState>(props: { selector: DataCubeEditorColumnsSelectorState<T>; columnLabelRenderer?: ((p: { selector: DataCubeEditorColumnsSelectorState<T>; column: T; }) => React.ReactNode) | undefined; columnActionRenderer?: ((p: { selector: DataCubeEditorColumnsSelectorState<T>; column: T; }) => React.ReactNode) | undefined; noColumnsSelectedRenderer?: (() => React.ReactNode) | undefined; }) => import("react/jsx-runtime").JSX.Element) & { displayName: string; }; export declare const DataCubeEditorColumnsSelectorSortDirectionDropdown: ((props: { selector: DataCubeEditorColumnsSelectorState<DataCubeEditorColumnsSelectorSortColumnState>; column: DataCubeEditorColumnsSelectorSortColumnState; }) => import("react/jsx-runtime").JSX.Element) & { displayName: string; }; //# sourceMappingURL=DataCubeEditorColumnsSelector.d.ts.map