UNPKG

@linzjs/step-ag-grid

Version:

[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release) > Reusable [ag-grid](https://www.ag-grid.com/) component for LINZ / Toitū te whenua.

17 lines (16 loc) 1.3 kB
import { GridBaseRow } from '../Grid'; import { ColDefT, GenericCellEditorProps } from '../GridCell'; import { GridFormEditBearingProps } from '../gridForm/GridFormEditBearing'; import { GenericCellColDef } from '../gridRender/GridRenderGenericCell'; export declare const GridPopoverEditBearingEditorParams: { placeHolder: string; formatValue: (value: any) => string; range: (value: number | null) => "Bearing is required" | "Bearing must be less than 360 degrees" | "Bearing must not be negative" | null; }; export declare const GridPopoverEditBearing: <TData extends GridBaseRow, TValue = any>(colDef: GenericCellColDef<TData, TValue>, props: GenericCellEditorProps<GridFormEditBearingProps<TData>>) => ColDefT<TData, TValue>; export declare const GridPopoverEditBearingCorrectionEditorParams: { placeHolder: string; formatValue: (value: any) => string; range: (value: number | null) => "Bearing correction is required" | "Bearing correction must be less than 360 degrees" | "Bearing correction must be greater then -180 degrees" | null; }; export declare const GridPopoverEditBearingCorrection: <TData extends GridBaseRow, TValue = any>(colDef: GenericCellColDef<TData, TValue>, props: GenericCellEditorProps<GridFormEditBearingProps<TData>>) => ColDefT<TData, TValue>;