@linzjs/step-ag-grid 1.2.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/index.d.ts +4 -2
  2. package/dist/index.js +3463 -88181
  3. package/dist/index.js.map +1 -1
  4. package/dist/src/components/GridCell.d.ts +2 -1
  5. package/dist/src/components/GridPopoverHook.d.ts +7 -0
  6. package/dist/src/components/gridForm/GridFormDropDown.d.ts +1 -0
  7. package/dist/src/components/gridForm/GridFormEditBearing.d.ts +1 -0
  8. package/dist/src/components/gridForm/GridFormPopoutMenu.d.ts +2 -1
  9. package/dist/src/components/gridForm/GridFormTextArea.d.ts +1 -0
  10. package/dist/src/components/gridForm/GridFormTextInput.d.ts +1 -0
  11. package/dist/src/components/gridPopoverEdit/GridPopoverEditBearing.d.ts +271 -1
  12. package/dist/src/components/gridPopoverEdit/{GridPopoutMenu.d.ts → GridPopoverMenu.d.ts} +2 -2
  13. package/dist/src/components/gridPopoverEdit/GridPopoverTextArea.d.ts +4 -0
  14. package/dist/src/components/gridPopoverEdit/GridPopoverTextInput.d.ts +4 -0
  15. package/dist/src/contexts/GridContext.d.ts +1 -1
  16. package/dist/src/stories/components/FormTest.d.ts +2 -2
  17. package/dist/src/stories/components/GridPopoutBearing.stories.d.ts +1 -1
  18. package/dist/src/stories/components/GridPopoutEditDropDown.stories.d.ts +1 -1
  19. package/dist/src/stories/components/GridPopoutEditGeneric.stories.d.ts +1 -1
  20. package/dist/src/stories/components/GridPopoutEditGenericTextArea.stories.d.ts +1 -1
  21. package/dist/src/stories/components/GridPopoutEditMultiSelect.stories.d.ts +1 -1
  22. package/dist/src/stories/components/GridReadOnly.stories.d.ts +1 -1
  23. package/dist/src/utils/bearing.d.ts +2 -1
  24. package/dist/src/utils/bearing.test.d.ts +1 -0
  25. package/dist/step-ag-grid.esm.js +3454 -88175
  26. package/dist/step-ag-grid.esm.js.map +1 -1
  27. package/package.json +38 -39
  28. package/src/components/Grid.tsx +3 -3
  29. package/src/components/GridCell.tsx +27 -3
  30. package/src/components/{GridPopoutHook.tsx → GridPopoverHook.tsx} +7 -5
  31. package/src/components/gridForm/GridFormDropDown.tsx +13 -6
  32. package/src/components/gridForm/GridFormEditBearing.tsx +6 -5
  33. package/src/components/gridForm/GridFormMessage.tsx +3 -3
  34. package/src/components/gridForm/GridFormMultiSelect.tsx +3 -3
  35. package/src/components/gridForm/GridFormPopoutMenu.tsx +9 -7
  36. package/src/components/gridForm/GridFormTextArea.tsx +8 -4
  37. package/src/components/gridForm/GridFormTextInput.tsx +8 -4
  38. package/src/components/gridPopoverEdit/GridPopoutEditMultiSelect.ts +1 -2
  39. package/src/components/gridPopoverEdit/GridPopoverEditBearing.ts +29 -4
  40. package/src/components/gridPopoverEdit/GridPopoverEditDropDown.ts +1 -2
  41. package/src/components/gridPopoverEdit/{GridPopoutMenu.scss → GridPopoverMenu.scss} +0 -0
  42. package/src/components/gridPopoverEdit/{GridPopoutMenu.tsx → GridPopoverMenu.tsx} +2 -2
  43. package/src/components/gridPopoverEdit/GridPopoverTextArea.ts +20 -0
  44. package/src/components/gridPopoverEdit/GridPopoverTextInput.ts +20 -0
  45. package/src/contexts/GridContext.tsx +1 -1
  46. package/src/contexts/GridContextProvider.tsx +2 -2
  47. package/src/lui/TextInputFormatted.scss +1 -1
  48. package/src/stories/components/FormTest.tsx +6 -6
  49. package/src/stories/components/GridPopoutBearing.stories.tsx +18 -15
  50. package/src/stories/components/GridPopoutEditDropDown.stories.tsx +11 -10
  51. package/src/stories/components/GridPopoutEditGeneric.stories.tsx +4 -4
  52. package/src/stories/components/GridPopoutEditGenericTextArea.stories.tsx +17 -13
  53. package/src/stories/components/GridPopoutEditMultiSelect.stories.tsx +9 -9
  54. package/src/stories/components/GridReadOnly.stories.tsx +15 -10
  55. package/src/utils/bearing.test.ts +30 -0
  56. package/src/utils/bearing.ts +19 -8
  57. package/dist/src/components/GridPopoutHook.d.ts +0 -7
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { GridBaseRow } from "./Grid";
3
3
  import { GenericCellRendererParams } from "./gridRender/GridRenderGenericCell";
4
- import { ColDef, ICellEditorParams } from "ag-grid-community";
4
+ import { ColDef, ICellEditorParams, ICellRendererParams } from "ag-grid-community";
5
5
  export interface GridFormProps<RowType extends GridBaseRow> {
6
6
  cellEditorParams: ICellEditorParams;
7
7
  updateValue: (saveFn: (selectedRows: RowType[]) => Promise<boolean>) => Promise<boolean>;
@@ -19,6 +19,7 @@ export interface GenericCellEditorColDef<RowType extends GridBaseRow, FormProps
19
19
  cellEditorParams?: FormProps;
20
20
  cellRendererParams?: GenericCellRendererParams;
21
21
  }
22
+ export declare const GridCellRenderer: (cellRendererParams: ICellRendererParams) => JSX.Element;
22
23
  /**
23
24
  * For editing a text area.
24
25
  */
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { GridFormProps } from "./GridCell";
3
+ import { GridBaseRow } from "./Grid";
4
+ export declare const useGridPopoverHook: <RowType extends GridBaseRow>(props: GridFormProps<RowType>, save?: ((selectedRows: any[]) => Promise<boolean>) | undefined) => {
5
+ popoverWrapper: (children: JSX.Element) => JSX.Element;
6
+ triggerSave: (reason?: string) => Promise<void>;
7
+ };
@@ -9,6 +9,7 @@ export interface GridPopoutEditDropDownSelectedItem<RowType, ValueType> {
9
9
  interface FinalSelectOption<ValueType> {
10
10
  value: ValueType;
11
11
  label?: JSX.Element | string;
12
+ disabled?: boolean | string;
12
13
  }
13
14
  export declare const MenuSeparatorString = "_____MENU_SEPARATOR_____";
14
15
  export declare const MenuSeparator: Readonly<{
@@ -4,6 +4,7 @@ import { GridBaseRow } from "../Grid";
4
4
  import { GenericCellEditorParams, GridFormProps } from "../GridCell";
5
5
  export interface GridFormEditBearingProps<RowType extends GridBaseRow> extends GenericCellEditorParams<RowType> {
6
6
  placeHolder: string;
7
+ range?: (value: number | null) => string | null;
7
8
  onSave?: (selectedRows: RowType[], value: number | null) => Promise<boolean>;
8
9
  }
9
10
  export declare const GridFormEditBearing: <RowType extends GridBaseRow>(props: GridFormProps<RowType>) => JSX.Element;
@@ -13,7 +13,8 @@ interface MenuSeparatorType {
13
13
  }
14
14
  export interface MenuOption<RowType> {
15
15
  label: JSX.Element | string | MenuSeparatorType;
16
- action: (selectedRows: RowType[]) => Promise<boolean>;
16
+ action?: (selectedRows: RowType[]) => Promise<boolean>;
17
+ disabled?: string | boolean;
17
18
  multiEdit: boolean;
18
19
  }
19
20
  /**
@@ -6,6 +6,7 @@ export interface GridFormTextAreaProps<RowType extends GridBaseRow> extends Gene
6
6
  required?: boolean;
7
7
  maxlength?: number;
8
8
  width?: string | number;
9
+ validate?: (value: string) => string | null;
9
10
  onSave?: (selectedRows: RowType[], value: string) => Promise<boolean>;
10
11
  }
11
12
  export declare const GridFormTextArea: <RowType extends GridBaseRow>(props: GridFormProps<RowType>) => JSX.Element;
@@ -6,6 +6,7 @@ export interface GridFormTextInputProps<RowType extends GridBaseRow> extends Gen
6
6
  required?: boolean;
7
7
  maxlength?: number;
8
8
  width?: string | number;
9
+ validate?: (value: string) => string | null;
9
10
  onSave?: (selectedRows: RowType[], value: string) => Promise<boolean>;
10
11
  }
11
12
  export declare const GridFormTextInput: <RowType extends GridBaseRow>(props: GridFormProps<RowType>) => JSX.Element;
@@ -1,4 +1,274 @@
1
1
  import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
2
2
  import { GridFormEditBearingProps } from "../gridForm/GridFormEditBearing";
3
3
  import { GridBaseRow } from "../Grid";
4
- export declare const GridPopoverEditBearing: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType, GridFormEditBearingProps<RowType>>) => import("ag-grid-community").ColDef;
4
+ export declare const GridPopoverEditBearingLike: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType, GridFormEditBearingProps<RowType>>) => import("ag-grid-community").ColDef;
5
+ export declare const GridPopoverEditBearing: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType, GridFormEditBearingProps<RowType>>) => {
6
+ valueFormatter: (params: import("ag-grid-community").ValueFormatterParams) => string;
7
+ range: (value: number | null) => "Bearing is required" | "Bearing must be less than 360 degrees" | "Bearing must not be negative" | null;
8
+ colId?: string | undefined;
9
+ field?: string | undefined;
10
+ type?: string | string[] | undefined;
11
+ valueGetter?: string | import("ag-grid-community").ValueGetterFunc | undefined;
12
+ refData?: {
13
+ [key: string]: string;
14
+ } | undefined;
15
+ keyCreator?: ((params: import("ag-grid-community").KeyCreatorParams) => string) | undefined;
16
+ equals?: ((valueA: any, valueB: any) => boolean) | undefined;
17
+ tooltipField?: string | undefined;
18
+ tooltipValueGetter?: ((params: import("ag-grid-community").ITooltipParams) => any) | undefined;
19
+ checkboxSelection?: boolean | import("ag-grid-community").CheckboxSelectionCallback | undefined;
20
+ icons?: {
21
+ [key: string]: string | Function;
22
+ } | undefined;
23
+ suppressNavigable?: boolean | import("ag-grid-community").SuppressNavigableCallback | undefined;
24
+ suppressKeyboardEvent?: ((params: import("ag-grid-community").SuppressKeyboardEventParams) => boolean) | undefined;
25
+ suppressPaste?: boolean | import("ag-grid-community").SuppressPasteCallback | undefined;
26
+ suppressFillHandle?: boolean | undefined;
27
+ hide?: boolean | undefined;
28
+ initialHide?: boolean | undefined;
29
+ lockVisible?: boolean | undefined;
30
+ lockPosition?: boolean | "left" | "right" | undefined;
31
+ suppressMovable?: boolean | undefined;
32
+ editable?: boolean | import("ag-grid-community").EditableCallback | undefined;
33
+ valueSetter?: string | import("ag-grid-community").ValueSetterFunc | undefined;
34
+ valueParser?: string | import("ag-grid-community").ValueParserFunc | undefined;
35
+ cellEditor?: any;
36
+ cellEditorFramework?: any;
37
+ cellEditorParams?: any;
38
+ cellEditorSelector?: import("ag-grid-community").CellEditorSelectorFunc | undefined;
39
+ singleClickEdit?: boolean | undefined;
40
+ newValueHandler?: ((params: import("ag-grid-community").NewValueParams) => boolean) | undefined;
41
+ cellEditorPopup?: boolean | undefined;
42
+ cellEditorPopupPosition?: string | undefined;
43
+ onCellValueChanged?: ((event: import("ag-grid-community").NewValueParams) => void) | undefined;
44
+ onCellClicked?: ((event: import("ag-grid-community").CellClickedEvent) => void) | undefined;
45
+ onCellDoubleClicked?: ((event: import("ag-grid-community").CellDoubleClickedEvent) => void) | undefined;
46
+ onCellContextMenu?: ((event: import("ag-grid-community").CellContextMenuEvent) => void) | undefined;
47
+ getQuickFilterText?: ((params: import("ag-grid-community").GetQuickFilterTextParams) => string) | undefined;
48
+ filterValueGetter?: string | import("ag-grid-community").ValueGetterFunc | undefined;
49
+ floatingFilter?: boolean | undefined;
50
+ headerComponent?: any;
51
+ headerComponentFramework?: any;
52
+ headerComponentParams?: any;
53
+ menuTabs?: string[] | undefined;
54
+ columnsMenuParams?: import("ag-grid-community").ColumnsMenuParams | undefined;
55
+ suppressMenu?: boolean | undefined;
56
+ headerCheckboxSelection?: boolean | import("ag-grid-community").HeaderCheckboxSelectionCallback | undefined;
57
+ headerCheckboxSelectionFilteredOnly?: boolean | undefined;
58
+ chartDataType?: "category" | "series" | "time" | "excluded" | undefined;
59
+ pinned?: string | boolean | null | undefined;
60
+ initialPinned?: string | boolean | undefined;
61
+ lockPinned?: boolean | undefined;
62
+ pinnedRowCellRenderer?: string | (new () => import("ag-grid-community").ICellRendererComp) | import("ag-grid-community").ICellRendererFunc | undefined;
63
+ pinnedRowCellRendererFramework?: any;
64
+ pinnedRowCellRendererParams?: any;
65
+ pinnedRowValueFormatter?: string | import("ag-grid-community").ValueFormatterFunc | undefined;
66
+ pivot?: boolean | undefined;
67
+ initialPivot?: boolean | undefined;
68
+ pivotIndex?: number | null | undefined;
69
+ initialPivotIndex?: number | undefined;
70
+ pivotComparator?: ((valueA: string, valueB: string) => number) | undefined;
71
+ enablePivot?: boolean | undefined;
72
+ cellStyle?: import("ag-grid-community").CellStyle | import("ag-grid-community").CellStyleFunc | undefined;
73
+ cellClass?: string | import("ag-grid-community").CellClassFunc | string[] | undefined;
74
+ cellClassRules?: import("ag-grid-community").CellClassRules | undefined;
75
+ cellRenderer?: any;
76
+ cellRendererFramework?: any;
77
+ cellRendererParams?: any;
78
+ cellRendererSelector?: import("ag-grid-community").CellRendererSelectorFunc | undefined;
79
+ autoHeight?: boolean | undefined;
80
+ wrapText?: boolean | undefined;
81
+ enableCellChangeFlash?: boolean | undefined;
82
+ suppressCellFlash?: boolean | undefined;
83
+ rowDrag?: boolean | import("ag-grid-community").RowDragCallback | undefined;
84
+ rowDragText?: ((params: import("ag-grid-community").IRowDragItem, dragItemCount: number) => string) | undefined;
85
+ dndSource?: boolean | import("ag-grid-community").DndSourceCallback | undefined;
86
+ dndSourceOnRowDrag?: ((params: import("ag-grid-community").DndSourceOnRowDragParams) => void) | undefined;
87
+ rowGroup?: boolean | undefined;
88
+ initialRowGroup?: boolean | undefined;
89
+ rowGroupIndex?: number | null | undefined;
90
+ initialRowGroupIndex?: number | undefined;
91
+ enableRowGroup?: boolean | undefined;
92
+ enableValue?: boolean | undefined;
93
+ aggFunc?: string | import("ag-grid-community").IAggFunc | null | undefined;
94
+ initialAggFunc?: string | import("ag-grid-community").IAggFunc | undefined;
95
+ defaultAggFunc?: string | undefined;
96
+ allowedAggFuncs?: string[] | undefined;
97
+ showRowGroup?: string | boolean | undefined;
98
+ sortable?: boolean | undefined;
99
+ sort?: "asc" | "desc" | null | undefined;
100
+ initialSort?: "asc" | "desc" | null | undefined;
101
+ sortIndex?: number | null | undefined;
102
+ initialSortIndex?: number | undefined;
103
+ sortingOrder?: ("asc" | "desc" | null)[] | undefined;
104
+ comparator?: ((valueA: any, valueB: any, nodeA: import("ag-grid-community").RowNode, nodeB: import("ag-grid-community").RowNode, isInverted: boolean) => number) | undefined;
105
+ unSortIcon?: boolean | undefined;
106
+ sortedAt?: number | undefined;
107
+ colSpan?: ((params: import("ag-grid-community").ColSpanParams) => number) | undefined;
108
+ rowSpan?: ((params: import("ag-grid-community").RowSpanParams) => number) | undefined;
109
+ width?: number | undefined;
110
+ initialWidth?: number | undefined;
111
+ minWidth?: number | undefined;
112
+ maxWidth?: number | undefined;
113
+ flex?: number | undefined;
114
+ initialFlex?: number | undefined;
115
+ resizable?: boolean | undefined;
116
+ suppressSizeToFit?: boolean | undefined;
117
+ suppressAutoSize?: boolean | undefined;
118
+ pivotValueColumn?: import("ag-grid-community").Column | null | undefined;
119
+ pivotTotalColumnIds?: string[] | undefined;
120
+ headerName?: string | undefined;
121
+ headerValueGetter?: string | import("ag-grid-community").HeaderValueGetterFunc | undefined;
122
+ headerTooltip?: string | undefined;
123
+ headerClass?: import("ag-grid-community").HeaderClass | undefined;
124
+ suppressHeaderKeyboardEvent?: ((params: import("ag-grid-community").SuppressHeaderKeyboardEventParams) => boolean) | undefined;
125
+ columnGroupShow?: string | undefined;
126
+ toolPanelClass?: import("ag-grid-community").ToolPanelClass | undefined;
127
+ suppressColumnsToolPanel?: boolean | undefined;
128
+ suppressFiltersToolPanel?: boolean | undefined;
129
+ tooltipComponent?: any;
130
+ tooltipComponentFramework?: any;
131
+ tooltipComponentParams?: any;
132
+ pivotKeys?: string[] | undefined;
133
+ filter?: any;
134
+ filterFramework?: any;
135
+ filterParams?: any;
136
+ floatingFilterComponent?: any;
137
+ floatingFilterComponentFramework?: any;
138
+ floatingFilterComponentParams?: any;
139
+ };
140
+ export declare const GridPopoverEditBearingCorrection: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType, GridFormEditBearingProps<RowType>>) => {
141
+ valueFormatter: (params: import("ag-grid-community").ValueFormatterParams) => string;
142
+ range: (value: number | null) => "Bearing is required" | "Bearing must be less than 360 degrees" | "Bearing must be greater then -180 degrees" | null;
143
+ colId?: string | undefined;
144
+ field?: string | undefined;
145
+ type?: string | string[] | undefined;
146
+ valueGetter?: string | import("ag-grid-community").ValueGetterFunc | undefined;
147
+ refData?: {
148
+ [key: string]: string;
149
+ } | undefined;
150
+ keyCreator?: ((params: import("ag-grid-community").KeyCreatorParams) => string) | undefined;
151
+ equals?: ((valueA: any, valueB: any) => boolean) | undefined;
152
+ tooltipField?: string | undefined;
153
+ tooltipValueGetter?: ((params: import("ag-grid-community").ITooltipParams) => any) | undefined;
154
+ checkboxSelection?: boolean | import("ag-grid-community").CheckboxSelectionCallback | undefined;
155
+ icons?: {
156
+ [key: string]: string | Function;
157
+ } | undefined;
158
+ suppressNavigable?: boolean | import("ag-grid-community").SuppressNavigableCallback | undefined;
159
+ suppressKeyboardEvent?: ((params: import("ag-grid-community").SuppressKeyboardEventParams) => boolean) | undefined;
160
+ suppressPaste?: boolean | import("ag-grid-community").SuppressPasteCallback | undefined;
161
+ suppressFillHandle?: boolean | undefined;
162
+ hide?: boolean | undefined;
163
+ initialHide?: boolean | undefined;
164
+ lockVisible?: boolean | undefined;
165
+ lockPosition?: boolean | "left" | "right" | undefined;
166
+ suppressMovable?: boolean | undefined;
167
+ editable?: boolean | import("ag-grid-community").EditableCallback | undefined;
168
+ valueSetter?: string | import("ag-grid-community").ValueSetterFunc | undefined;
169
+ valueParser?: string | import("ag-grid-community").ValueParserFunc | undefined;
170
+ cellEditor?: any;
171
+ cellEditorFramework?: any;
172
+ cellEditorParams?: any;
173
+ cellEditorSelector?: import("ag-grid-community").CellEditorSelectorFunc | undefined;
174
+ singleClickEdit?: boolean | undefined;
175
+ newValueHandler?: ((params: import("ag-grid-community").NewValueParams) => boolean) | undefined;
176
+ cellEditorPopup?: boolean | undefined;
177
+ cellEditorPopupPosition?: string | undefined;
178
+ onCellValueChanged?: ((event: import("ag-grid-community").NewValueParams) => void) | undefined;
179
+ onCellClicked?: ((event: import("ag-grid-community").CellClickedEvent) => void) | undefined;
180
+ onCellDoubleClicked?: ((event: import("ag-grid-community").CellDoubleClickedEvent) => void) | undefined;
181
+ onCellContextMenu?: ((event: import("ag-grid-community").CellContextMenuEvent) => void) | undefined;
182
+ getQuickFilterText?: ((params: import("ag-grid-community").GetQuickFilterTextParams) => string) | undefined;
183
+ filterValueGetter?: string | import("ag-grid-community").ValueGetterFunc | undefined;
184
+ floatingFilter?: boolean | undefined;
185
+ headerComponent?: any;
186
+ headerComponentFramework?: any;
187
+ headerComponentParams?: any;
188
+ menuTabs?: string[] | undefined;
189
+ columnsMenuParams?: import("ag-grid-community").ColumnsMenuParams | undefined;
190
+ suppressMenu?: boolean | undefined;
191
+ headerCheckboxSelection?: boolean | import("ag-grid-community").HeaderCheckboxSelectionCallback | undefined;
192
+ headerCheckboxSelectionFilteredOnly?: boolean | undefined;
193
+ chartDataType?: "category" | "series" | "time" | "excluded" | undefined;
194
+ pinned?: string | boolean | null | undefined;
195
+ initialPinned?: string | boolean | undefined;
196
+ lockPinned?: boolean | undefined;
197
+ pinnedRowCellRenderer?: string | (new () => import("ag-grid-community").ICellRendererComp) | import("ag-grid-community").ICellRendererFunc | undefined;
198
+ pinnedRowCellRendererFramework?: any;
199
+ pinnedRowCellRendererParams?: any;
200
+ pinnedRowValueFormatter?: string | import("ag-grid-community").ValueFormatterFunc | undefined;
201
+ pivot?: boolean | undefined;
202
+ initialPivot?: boolean | undefined;
203
+ pivotIndex?: number | null | undefined;
204
+ initialPivotIndex?: number | undefined;
205
+ pivotComparator?: ((valueA: string, valueB: string) => number) | undefined;
206
+ enablePivot?: boolean | undefined;
207
+ cellStyle?: import("ag-grid-community").CellStyle | import("ag-grid-community").CellStyleFunc | undefined;
208
+ cellClass?: string | import("ag-grid-community").CellClassFunc | string[] | undefined;
209
+ cellClassRules?: import("ag-grid-community").CellClassRules | undefined;
210
+ cellRenderer?: any;
211
+ cellRendererFramework?: any;
212
+ cellRendererParams?: any;
213
+ cellRendererSelector?: import("ag-grid-community").CellRendererSelectorFunc | undefined;
214
+ autoHeight?: boolean | undefined;
215
+ wrapText?: boolean | undefined;
216
+ enableCellChangeFlash?: boolean | undefined;
217
+ suppressCellFlash?: boolean | undefined;
218
+ rowDrag?: boolean | import("ag-grid-community").RowDragCallback | undefined;
219
+ rowDragText?: ((params: import("ag-grid-community").IRowDragItem, dragItemCount: number) => string) | undefined;
220
+ dndSource?: boolean | import("ag-grid-community").DndSourceCallback | undefined;
221
+ dndSourceOnRowDrag?: ((params: import("ag-grid-community").DndSourceOnRowDragParams) => void) | undefined;
222
+ rowGroup?: boolean | undefined;
223
+ initialRowGroup?: boolean | undefined;
224
+ rowGroupIndex?: number | null | undefined;
225
+ initialRowGroupIndex?: number | undefined;
226
+ enableRowGroup?: boolean | undefined;
227
+ enableValue?: boolean | undefined;
228
+ aggFunc?: string | import("ag-grid-community").IAggFunc | null | undefined;
229
+ initialAggFunc?: string | import("ag-grid-community").IAggFunc | undefined;
230
+ defaultAggFunc?: string | undefined;
231
+ allowedAggFuncs?: string[] | undefined;
232
+ showRowGroup?: string | boolean | undefined;
233
+ sortable?: boolean | undefined;
234
+ sort?: "asc" | "desc" | null | undefined;
235
+ initialSort?: "asc" | "desc" | null | undefined;
236
+ sortIndex?: number | null | undefined;
237
+ initialSortIndex?: number | undefined;
238
+ sortingOrder?: ("asc" | "desc" | null)[] | undefined;
239
+ comparator?: ((valueA: any, valueB: any, nodeA: import("ag-grid-community").RowNode, nodeB: import("ag-grid-community").RowNode, isInverted: boolean) => number) | undefined;
240
+ unSortIcon?: boolean | undefined;
241
+ sortedAt?: number | undefined;
242
+ colSpan?: ((params: import("ag-grid-community").ColSpanParams) => number) | undefined;
243
+ rowSpan?: ((params: import("ag-grid-community").RowSpanParams) => number) | undefined;
244
+ width?: number | undefined;
245
+ initialWidth?: number | undefined;
246
+ minWidth?: number | undefined;
247
+ maxWidth?: number | undefined;
248
+ flex?: number | undefined;
249
+ initialFlex?: number | undefined;
250
+ resizable?: boolean | undefined;
251
+ suppressSizeToFit?: boolean | undefined;
252
+ suppressAutoSize?: boolean | undefined;
253
+ pivotValueColumn?: import("ag-grid-community").Column | null | undefined;
254
+ pivotTotalColumnIds?: string[] | undefined;
255
+ headerName?: string | undefined;
256
+ headerValueGetter?: string | import("ag-grid-community").HeaderValueGetterFunc | undefined;
257
+ headerTooltip?: string | undefined;
258
+ headerClass?: import("ag-grid-community").HeaderClass | undefined;
259
+ suppressHeaderKeyboardEvent?: ((params: import("ag-grid-community").SuppressHeaderKeyboardEventParams) => boolean) | undefined;
260
+ columnGroupShow?: string | undefined;
261
+ toolPanelClass?: import("ag-grid-community").ToolPanelClass | undefined;
262
+ suppressColumnsToolPanel?: boolean | undefined;
263
+ suppressFiltersToolPanel?: boolean | undefined;
264
+ tooltipComponent?: any;
265
+ tooltipComponentFramework?: any;
266
+ tooltipComponentParams?: any;
267
+ pivotKeys?: string[] | undefined;
268
+ filter?: any;
269
+ filterFramework?: any;
270
+ filterParams?: any;
271
+ floatingFilterComponent?: any;
272
+ floatingFilterComponentFramework?: any;
273
+ floatingFilterComponentParams?: any;
274
+ };
@@ -1,4 +1,4 @@
1
- import "./GridPopoutMenu.scss";
1
+ import "./GridPopoverMenu.scss";
2
2
  import "@szhsin/react-menu/dist/index.css";
3
3
  import { ColDef } from "ag-grid-community";
4
4
  import { GridBaseRow } from "../Grid";
@@ -7,4 +7,4 @@ import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
7
7
  /**
8
8
  * Popout burger menu
9
9
  */
10
- export declare const GridPopoutMenu: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType, GridFormPopoutMenuProps<RowType>>) => ColDef;
10
+ export declare const GridPopoverMenu: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType, GridFormPopoutMenuProps<RowType>>) => ColDef;
@@ -0,0 +1,4 @@
1
+ import { GridBaseRow } from "../Grid";
2
+ import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
3
+ import { GridFormTextAreaProps } from "../gridForm/GridFormTextArea";
4
+ export declare const GridPopoverTextArea: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType, GridFormTextAreaProps<RowType>>) => import("ag-grid-community").ColDef;
@@ -0,0 +1,4 @@
1
+ import { GridBaseRow } from "../Grid";
2
+ import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
3
+ import { GridFormTextInputProps } from "../gridForm/GridFormTextInput";
4
+ export declare const GridPopoverTextInput: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType, GridFormTextInputProps<RowType>>) => import("ag-grid-community").ColDef;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { GridApi } from "ag-grid-community";
3
- import { GridBaseRow } from "../components/Grid";
3
+ import { GridBaseRow } from "@components/Grid";
4
4
  export interface GridContextType {
5
5
  gridReady: () => boolean;
6
6
  setGridApi: (gridApi: GridApi | undefined) => void;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import "./FormTest.scss";
3
- import { GridFormProps } from "../../components/GridCell";
4
- import { GridBaseRow } from "../../components/Grid";
3
+ import { GridFormProps } from "@components/GridCell";
4
+ import { GridBaseRow } from "@components/Grid";
5
5
  export interface IFormTestRow {
6
6
  id: number;
7
7
  name: string;
@@ -3,7 +3,7 @@ import "@linzjs/lui/dist/scss/base.scss";
3
3
  import "@linzjs/lui/dist/fonts";
4
4
  import "../../lui-overrides.scss";
5
5
  import { ComponentMeta, ComponentStory } from "@storybook/react/dist/ts3.9/client/preview/types-6-3";
6
- import { GridProps } from "../../components/Grid";
6
+ import { GridProps } from "@components/Grid";
7
7
  declare const _default: ComponentMeta<(params: GridProps) => JSX.Element>;
8
8
  export default _default;
9
9
  export declare const Bearings: ComponentStory<(params: GridProps) => JSX.Element>;
@@ -3,7 +3,7 @@ import "@linzjs/lui/dist/scss/base.scss";
3
3
  import "@linzjs/lui/dist/fonts";
4
4
  import "../../lui-overrides.scss";
5
5
  import { ComponentMeta, ComponentStory } from "@storybook/react/dist/ts3.9/client/preview/types-6-3";
6
- import { GridProps } from "../../components/Grid";
6
+ import { GridProps } from "@components/Grid";
7
7
  declare const _default: ComponentMeta<(params: GridProps) => JSX.Element>;
8
8
  export default _default;
9
9
  export declare const EditDropdown: ComponentStory<(params: GridProps) => JSX.Element>;
@@ -3,7 +3,7 @@ import "@linzjs/lui/dist/scss/base.scss";
3
3
  import "@linzjs/lui/dist/fonts";
4
4
  import "../../lui-overrides.scss";
5
5
  import { ComponentMeta, ComponentStory } from "@storybook/react/dist/ts3.9/client/preview/types-6-3";
6
- import { GridProps } from "../../components/Grid";
6
+ import { GridProps } from "@components/Grid";
7
7
  declare const _default: ComponentMeta<(params: GridProps) => JSX.Element>;
8
8
  export default _default;
9
9
  export declare const EditGeneric: ComponentStory<(params: GridProps) => JSX.Element>;
@@ -3,7 +3,7 @@ import "@linzjs/lui/dist/scss/base.scss";
3
3
  import "@linzjs/lui/dist/fonts";
4
4
  import "../../lui-overrides.scss";
5
5
  import { ComponentMeta, ComponentStory } from "@storybook/react/dist/ts3.9/client/preview/types-6-3";
6
- import { GridProps } from "../../components/Grid";
6
+ import { GridProps } from "@components/Grid";
7
7
  declare const _default: ComponentMeta<(params: GridProps) => JSX.Element>;
8
8
  export default _default;
9
9
  export declare const EditGenericTextArea: ComponentStory<(params: GridProps) => JSX.Element>;
@@ -3,7 +3,7 @@ import "@linzjs/lui/dist/scss/base.scss";
3
3
  import "@linzjs/lui/dist/fonts";
4
4
  import "../../lui-overrides.scss";
5
5
  import { ComponentMeta, ComponentStory } from "@storybook/react/dist/ts3.9/client/preview/types-6-3";
6
- import { GridProps } from "../../components/Grid";
6
+ import { GridProps } from "@components/Grid";
7
7
  declare const _default: ComponentMeta<(params: GridProps) => JSX.Element>;
8
8
  export default _default;
9
9
  export declare const EditMultiSelect: ComponentStory<(params: GridProps) => JSX.Element>;
@@ -3,7 +3,7 @@ import "@linzjs/lui/dist/scss/base.scss";
3
3
  import "@linzjs/lui/dist/fonts";
4
4
  import "../../lui-overrides.scss";
5
5
  import { ComponentMeta, ComponentStory } from "@storybook/react/dist/ts3.9/client/preview/types-6-3";
6
- import { GridProps } from "../../components/Grid";
6
+ import { GridProps } from "@components/Grid";
7
7
  declare const _default: ComponentMeta<(params: GridProps) => JSX.Element>;
8
8
  export default _default;
9
9
  export declare const ReadOnly: ComponentStory<(params: GridProps) => JSX.Element>;
@@ -1,5 +1,6 @@
1
1
  import { ValueFormatterParams } from "ag-grid-community/dist/lib/entities/colDef";
2
2
  export declare const bearingValueFormatter: (params: ValueFormatterParams) => string;
3
+ export declare const bearingCorrectionValueFormatter: (params: ValueFormatterParams) => string;
3
4
  export declare const bearingNumberParser: (value: string) => number | null;
4
- export declare const bearingStringValidator: (value: string) => string | null;
5
+ export declare const bearingStringValidator: (value: string, customValidate?: ((value: number | null) => string | null) | undefined) => string | null;
5
6
  export declare const convertDDToDMS: (dd: number | null, showPositiveSymbol?: boolean, addTrailingZeros?: boolean) => string;
@@ -0,0 +1 @@
1
+ export {};