UNPKG

@adaptabletools/adaptable

Version:

Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

32 lines (31 loc) 1.75 kB
import * as React from 'react'; import { StyledColumn } from '../../../AdaptableState/StyledColumnState'; export declare const getStyledColumnRangeBarRangeViewValues: (data: StyledColumn) => string[]; export declare const getStyledColumnRangeBarDisplayViewValues: (data: StyledColumn) => string[]; /** Summary line for the Range wizard step (bounds + bands only). */ export declare const renderStyledColumnRangeBarRangeStepSummary: (data: StyledColumn) => React.JSX.Element; export declare const StyledColumnRangeBarRangeView: React.FunctionComponent<React.PropsWithChildren<{ data: StyledColumn; }>>; /** Summary for the Display wizard step (markers, track, text). */ export declare const renderStyledColumnRangeBarDisplayStepSummary: (data: StyledColumn) => React.JSX.Element; /** * Combined summary for the Styled Columns list row (preview + key facts). */ export declare const renderStyledColumnRangeBarSummary: (data: StyledColumn) => React.JSX.Element; /** * Returns `true` if the Range Bar's bounds are well-formed, otherwise an * error string explaining what's missing. Used as the wizard step's * `isValid` callback. */ /** Bounds + bands step — Min / Max required and numeric pair must span. */ export declare const isValidRangeBarBounds: (data: StyledColumn) => true | string; export interface StyledColumnWizardRangeBarSectionProps { onChange: (styledColumn: StyledColumn) => void; /** * - `'range'` — Min, Max, Reference, and optional bands (the numeric scale). * - `'appearance'` — markers, track, overflow behaviour, cell text & tooltip. */ variant: 'range' | 'appearance'; } export declare const StyledColumnWizardRangeBarSection: React.FunctionComponent<StyledColumnWizardRangeBarSectionProps>;