@linzjs/step-ag-grid 1.5.4 → 2.0.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.
- package/dist/index.d.ts +2 -2
- package/dist/index.js +241 -200
- package/dist/index.js.map +1 -1
- package/dist/src/components/GridCell.d.ts +18 -27
- package/dist/src/components/GridPopoverHook.d.ts +4 -2
- package/dist/src/components/gridForm/GridFormDropDown.d.ts +8 -3
- package/dist/src/components/gridForm/GridFormEditBearing.d.ts +3 -4
- package/dist/src/components/gridForm/GridFormMessage.d.ts +4 -5
- package/dist/src/components/gridForm/GridFormMultiSelect.d.ts +2 -3
- package/dist/src/components/gridForm/GridFormPopoutMenu.d.ts +2 -3
- package/dist/src/components/gridForm/GridFormTextArea.d.ts +2 -3
- package/dist/src/components/gridForm/GridFormTextInput.d.ts +2 -3
- package/dist/src/components/gridPopoverEdit/GridPopoutEditMultiSelect.d.ts +3 -2
- package/dist/src/components/gridPopoverEdit/GridPopoverEditBearing.d.ts +5 -270
- package/dist/src/components/gridPopoverEdit/GridPopoverEditDropDown.d.ts +3 -2
- package/dist/src/components/gridPopoverEdit/GridPopoverMenu.d.ts +2 -2
- package/dist/src/components/gridPopoverEdit/GridPopoverMessage.d.ts +3 -2
- package/dist/src/components/gridPopoverEdit/GridPopoverTextArea.d.ts +3 -2
- package/dist/src/components/gridPopoverEdit/GridPopoverTextInput.d.ts +3 -2
- package/dist/src/components/gridRender/GridRenderGenericCell.d.ts +1 -3
- package/dist/src/contexts/GridPopoverContext.d.ts +17 -0
- package/dist/src/contexts/GridPopoverContextProvider.d.ts +6 -0
- package/dist/src/contexts/{UpdatingContext.d.ts → GridUpdatingContext.d.ts} +2 -2
- package/dist/src/contexts/GridUpdatingContextProvider.d.ts +7 -0
- package/dist/src/stories/components/FormTest.d.ts +1 -2
- package/dist/step-ag-grid.esm.js +238 -198
- package/dist/step-ag-grid.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Grid.tsx +2 -2
- package/src/components/GridCell.tsx +57 -79
- package/src/components/GridLoadableCell.tsx +4 -1
- package/src/components/GridPopoverHook.tsx +10 -14
- package/src/components/gridForm/GridFormDropDown.tsx +41 -30
- package/src/components/gridForm/GridFormEditBearing.tsx +13 -13
- package/src/components/gridForm/GridFormMessage.tsx +8 -13
- package/src/components/gridForm/GridFormMultiSelect.tsx +19 -19
- package/src/components/gridForm/GridFormPopoutMenu.tsx +7 -8
- package/src/components/gridForm/GridFormTextArea.tsx +16 -17
- package/src/components/gridForm/GridFormTextInput.tsx +17 -17
- package/src/components/gridPopoverEdit/GridPopoutEditMultiSelect.ts +17 -16
- package/src/components/gridPopoverEdit/GridPopoverEditBearing.ts +53 -45
- package/src/components/gridPopoverEdit/GridPopoverEditDropDown.ts +17 -16
- package/src/components/gridPopoverEdit/GridPopoverMenu.tsx +20 -21
- package/src/components/gridPopoverEdit/GridPopoverMessage.ts +18 -16
- package/src/components/gridPopoverEdit/GridPopoverTextArea.ts +12 -16
- package/src/components/gridPopoverEdit/GridPopoverTextInput.ts +15 -15
- package/src/components/gridRender/GridRenderGenericCell.tsx +3 -5
- package/src/components/gridRender/GridRenderPopoutMenuCell.tsx +2 -2
- package/src/contexts/GridContextProvider.tsx +3 -5
- package/src/contexts/GridPopoverContext.tsx +32 -0
- package/src/contexts/GridPopoverContextProvider.tsx +53 -0
- package/src/contexts/{UpdatingContext.tsx → GridUpdatingContext.tsx} +2 -2
- package/src/contexts/{UpdatingContextProvider.tsx → GridUpdatingContextProvider.tsx} +8 -6
- package/src/stories/components/FormTest.tsx +4 -3
- package/src/stories/components/GridPopoutBearing.stories.tsx +28 -25
- package/src/stories/components/GridPopoutEditDropDown.stories.tsx +91 -50
- package/src/stories/components/GridPopoutEditGeneric.stories.tsx +18 -13
- package/src/stories/components/GridPopoutEditGenericTextArea.stories.tsx +76 -61
- package/src/stories/components/GridPopoutEditMultiSelect.stories.tsx +58 -51
- package/src/stories/components/GridReadOnly.stories.tsx +73 -57
- package/dist/src/contexts/UpdatingContextProvider.d.ts +0 -7
|
@@ -1,34 +1,25 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { GridBaseRow } from "./Grid";
|
|
3
|
-
import {
|
|
3
|
+
import { GenericCellColDef } from "./gridRender/GridRenderGenericCell";
|
|
4
4
|
import { ColDef, ICellEditorParams, ICellRendererParams } from "ag-grid-community";
|
|
5
|
-
export interface
|
|
6
|
-
cellEditorParams: ICellEditorParams;
|
|
7
|
-
updateValue: (saveFn: (selectedRows: RowType[]) => Promise<boolean>) => Promise<boolean>;
|
|
8
|
-
saving: boolean;
|
|
9
|
-
data: RowType;
|
|
10
|
-
value: any;
|
|
11
|
-
field: string | undefined;
|
|
12
|
-
selectedRows: RowType[];
|
|
13
|
-
formProps: Record<string, any>;
|
|
14
|
-
}
|
|
15
|
-
export interface GenericCellEditorParams<RowType extends GridBaseRow> {
|
|
5
|
+
export interface GenericCellEditorProps<E> {
|
|
16
6
|
multiEdit?: boolean;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export interface GenericCellEditorColDef<RowType extends GridBaseRow, FormProps extends GenericCellEditorParams<RowType>> extends ColDef {
|
|
20
|
-
cellEditorParams?: FormProps;
|
|
21
|
-
cellRendererParams?: GenericCellRendererParams<RowType>;
|
|
7
|
+
editor?: (editorProps: E) => JSX.Element;
|
|
8
|
+
editorParams?: E;
|
|
22
9
|
}
|
|
23
10
|
export declare const GridCellRenderer: (props: ICellRendererParams) => JSX.Element;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export declare const GridCell: <RowType extends GridBaseRow,
|
|
28
|
-
|
|
11
|
+
export interface ColDefT<RowType extends GridBaseRow> extends ColDef {
|
|
12
|
+
_?: RowType;
|
|
13
|
+
}
|
|
14
|
+
export declare const GridCell: <RowType extends GridBaseRow, Props>(props: GenericCellColDef<RowType>, custom?: {
|
|
15
|
+
multiEdit?: boolean | undefined;
|
|
16
|
+
editor?: ((editorProps: Props) => JSX.Element) | undefined;
|
|
17
|
+
editorParams?: Props | undefined;
|
|
18
|
+
} | undefined) => ColDefT<RowType>;
|
|
19
|
+
export interface CellParams<RowType extends GridBaseRow> {
|
|
20
|
+
value: any;
|
|
29
21
|
data: RowType;
|
|
30
|
-
|
|
22
|
+
field: string | undefined;
|
|
23
|
+
selectedRows: RowType[];
|
|
31
24
|
}
|
|
32
|
-
export declare const
|
|
33
|
-
export declare const GenericCellEditorComponent: import("react").ForwardRefExoticComponent<GenericCellEditorICellEditorParams<GridBaseRow, Record<string, any>> & import("react").RefAttributes<any>>;
|
|
34
|
-
export {};
|
|
25
|
+
export declare const GenericCellEditorComponent: (editor: (props: any) => JSX.Element) => import("react").ForwardRefExoticComponent<ICellEditorParams & import("react").RefAttributes<unknown>>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { GridFormProps } from "./GridCell";
|
|
3
2
|
import { GridBaseRow } from "./Grid";
|
|
4
|
-
export
|
|
3
|
+
export interface GridPopoverHookProps<RowType> {
|
|
4
|
+
save?: (selectedRows: RowType[]) => Promise<boolean>;
|
|
5
|
+
}
|
|
6
|
+
export declare const useGridPopoverHook: <RowType extends GridBaseRow>(props?: GridPopoverHookProps<RowType>) => {
|
|
5
7
|
popoverWrapper: (children: JSX.Element) => JSX.Element;
|
|
6
8
|
triggerSave: (reason?: string) => Promise<void>;
|
|
7
9
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import "../../react-menu3/styles/index.scss";
|
|
3
3
|
import { GridBaseRow } from "../Grid";
|
|
4
|
-
import { GenericCellEditorParams, GridFormProps } from "../GridCell";
|
|
5
4
|
export interface GridPopoutEditDropDownSelectedItem<RowType, ValueType> {
|
|
6
5
|
selectedRows: RowType[];
|
|
7
6
|
value: ValueType;
|
|
@@ -15,14 +14,20 @@ export declare const MenuSeparatorString = "_____MENU_SEPARATOR_____";
|
|
|
15
14
|
export declare const MenuSeparator: Readonly<{
|
|
16
15
|
value: "_____MENU_SEPARATOR_____";
|
|
17
16
|
}>;
|
|
17
|
+
export declare const MenuHeaderString = "_____MENU_HEADER_____";
|
|
18
|
+
export declare const MenuHeaderItem: (title: string) => {
|
|
19
|
+
label: string;
|
|
20
|
+
value: string;
|
|
21
|
+
};
|
|
18
22
|
export declare type SelectOption<ValueType> = ValueType | FinalSelectOption<ValueType>;
|
|
19
|
-
export interface GridFormPopoutDropDownProps<RowType extends GridBaseRow, ValueType>
|
|
23
|
+
export interface GridFormPopoutDropDownProps<RowType extends GridBaseRow, ValueType> {
|
|
20
24
|
filtered?: "local" | "reload";
|
|
21
25
|
filterPlaceholder?: string;
|
|
22
26
|
onSelectedItem?: (props: GridPopoutEditDropDownSelectedItem<RowType, ValueType>) => Promise<void>;
|
|
23
27
|
onSelectFilter?: (props: GridPopoutEditDropDownSelectedItem<RowType, string>) => Promise<void>;
|
|
24
28
|
options: SelectOption<ValueType>[] | ((selectedRows: RowType[], filter?: string) => Promise<SelectOption<ValueType>[]> | SelectOption<ValueType>[]);
|
|
25
29
|
optionsRequestCancel?: () => void;
|
|
30
|
+
maxRows?: number;
|
|
26
31
|
}
|
|
27
|
-
export declare const GridFormDropDown: <RowType extends GridBaseRow, ValueType>(
|
|
32
|
+
export declare const GridFormDropDown: <RowType extends GridBaseRow, ValueType>(_props: GridFormPopoutDropDownProps<RowType, ValueType>) => JSX.Element;
|
|
28
33
|
export {};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import "./GridFormEditBearing.scss";
|
|
3
3
|
import { GridBaseRow } from "../Grid";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
placeHolder: string;
|
|
4
|
+
export interface GridFormEditBearingProps<RowType extends GridBaseRow> {
|
|
5
|
+
placeHolder?: string;
|
|
7
6
|
range?: (value: number | null) => string | null;
|
|
8
7
|
onSave?: (selectedRows: RowType[], value: number | null) => Promise<boolean>;
|
|
9
8
|
}
|
|
10
|
-
export declare const GridFormEditBearing: <RowType extends GridBaseRow>(
|
|
9
|
+
export declare const GridFormEditBearing: <RowType extends GridBaseRow>(_props: GridFormEditBearingProps<RowType>) => JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { GenericCellEditorParams, GridFormProps } from "../GridCell";
|
|
3
|
-
import { ICellEditorParams } from "ag-grid-community";
|
|
4
2
|
import { GridBaseRow } from "../Grid";
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import { CellParams } from "@components/GridCell";
|
|
4
|
+
export interface GridFormMessageProps<RowType extends GridBaseRow> {
|
|
5
|
+
message: (cellParams: CellParams<RowType>) => Promise<string | JSX.Element> | string | JSX.Element;
|
|
7
6
|
}
|
|
8
|
-
export declare const GridFormMessage: <RowType extends GridBaseRow>(
|
|
7
|
+
export declare const GridFormMessage: <RowType extends GridBaseRow>(_props: GridFormMessageProps<RowType>) => JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import "../../react-menu3/styles/index.scss";
|
|
3
3
|
import { GridBaseRow } from "../Grid";
|
|
4
|
-
import { GenericCellEditorParams, GridFormProps } from "../GridCell";
|
|
5
4
|
interface MultiFinalSelectOption<ValueType> {
|
|
6
5
|
value: ValueType;
|
|
7
6
|
label?: JSX.Element | string;
|
|
@@ -12,12 +11,12 @@ export interface MultiSelectResult<RowType> {
|
|
|
12
11
|
selectedRows: RowType[];
|
|
13
12
|
values: Record<string, any>;
|
|
14
13
|
}
|
|
15
|
-
export interface GridFormMultiSelectProps<RowType extends GridBaseRow, ValueType>
|
|
14
|
+
export interface GridFormMultiSelectProps<RowType extends GridBaseRow, ValueType> {
|
|
16
15
|
filtered?: boolean;
|
|
17
16
|
filterPlaceholder?: string;
|
|
18
17
|
onSave?: (props: MultiSelectResult<RowType>) => Promise<boolean>;
|
|
19
18
|
options: MultiSelectOption<ValueType>[] | ((selectedRows: RowType[]) => Promise<MultiSelectOption<ValueType>[]> | MultiSelectOption<ValueType>[]);
|
|
20
19
|
initialSelectedValues?: (selectedRows: RowType[]) => any[];
|
|
21
20
|
}
|
|
22
|
-
export declare const GridFormMultiSelect: <RowType extends GridBaseRow, ValueType>(props:
|
|
21
|
+
export declare const GridFormMultiSelect: <RowType extends GridBaseRow, ValueType>(props: GridFormMultiSelectProps<RowType, ValueType>) => JSX.Element;
|
|
23
22
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { GridBaseRow } from "../Grid";
|
|
3
|
-
|
|
4
|
-
export interface GridFormPopoutMenuProps<RowType extends GridBaseRow> extends GenericCellEditorParams<RowType> {
|
|
3
|
+
export interface GridFormPopoutMenuProps<RowType extends GridBaseRow> {
|
|
5
4
|
options: (selectedRows: RowType[]) => Promise<MenuOption<RowType>[]>;
|
|
6
5
|
}
|
|
7
6
|
/** Menu configuration types **/
|
|
@@ -22,5 +21,5 @@ export interface MenuOption<RowType> {
|
|
|
22
21
|
* NOTE: If the popout menu doesn't appear on single click when also selecting row it's because
|
|
23
22
|
* you need a useMemo around your columnDefs
|
|
24
23
|
*/
|
|
25
|
-
export declare const GridFormPopoutMenu: <RowType extends GridBaseRow>(
|
|
24
|
+
export declare const GridFormPopoutMenu: <RowType extends GridBaseRow>(_props: GridFormPopoutMenuProps<RowType>) => JSX.Element;
|
|
26
25
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { GenericCellEditorParams, GridFormProps } from "../GridCell";
|
|
3
2
|
import { GridBaseRow } from "../Grid";
|
|
4
|
-
export interface GridFormTextAreaProps<RowType extends GridBaseRow>
|
|
3
|
+
export interface GridFormTextAreaProps<RowType extends GridBaseRow> {
|
|
5
4
|
placeholder?: string;
|
|
6
5
|
required?: boolean;
|
|
7
6
|
maxlength?: number;
|
|
@@ -9,4 +8,4 @@ export interface GridFormTextAreaProps<RowType extends GridBaseRow> extends Gene
|
|
|
9
8
|
validate?: (value: string) => string | null;
|
|
10
9
|
onSave?: (selectedRows: RowType[], value: string) => Promise<boolean>;
|
|
11
10
|
}
|
|
12
|
-
export declare const GridFormTextArea: <RowType extends GridBaseRow>(
|
|
11
|
+
export declare const GridFormTextArea: <RowType extends GridBaseRow>(_props: GridFormTextAreaProps<RowType>) => JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { GenericCellEditorParams, GridFormProps } from "../GridCell";
|
|
3
2
|
import { GridBaseRow } from "../Grid";
|
|
4
|
-
export interface GridFormTextInputProps<RowType extends GridBaseRow>
|
|
3
|
+
export interface GridFormTextInputProps<RowType extends GridBaseRow> {
|
|
5
4
|
placeholder?: string;
|
|
6
5
|
units?: string;
|
|
7
6
|
required?: boolean;
|
|
@@ -10,4 +9,4 @@ export interface GridFormTextInputProps<RowType extends GridBaseRow> extends Gen
|
|
|
10
9
|
validate?: (value: string, data: RowType) => string | null;
|
|
11
10
|
onSave?: (selectedRows: RowType[], value: string) => Promise<boolean>;
|
|
12
11
|
}
|
|
13
|
-
export declare const GridFormTextInput: <RowType extends GridBaseRow>(
|
|
12
|
+
export declare const GridFormTextInput: <RowType extends GridBaseRow>(_props: GridFormTextInputProps<RowType>) => JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ColDefT, GenericCellEditorProps } from "../GridCell";
|
|
2
2
|
import { GridBaseRow } from "../Grid";
|
|
3
3
|
import { GridFormMultiSelectProps } from "../gridForm/GridFormMultiSelect";
|
|
4
|
-
|
|
4
|
+
import { GenericCellColDef } from "@components/gridRender/GridRenderGenericCell";
|
|
5
|
+
export declare const GridPopoutEditMultiSelect: <RowType extends GridBaseRow, ValueType>(colDef: GenericCellColDef<RowType>, props: GenericCellEditorProps<GridFormMultiSelectProps<RowType, ValueType>>) => ColDefT<RowType>;
|
|
@@ -1,272 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ColDefT, GenericCellEditorProps } from "../GridCell";
|
|
2
2
|
import { GridFormEditBearingProps } from "../gridForm/GridFormEditBearing";
|
|
3
3
|
import { GridBaseRow } from "../Grid";
|
|
4
|
-
|
|
5
|
-
export declare const
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
cellEditorSelector?: import("ag-grid-community").CellEditorSelectorFunc | undefined;
|
|
38
|
-
singleClickEdit?: boolean | undefined;
|
|
39
|
-
newValueHandler?: ((params: import("ag-grid-community").NewValueParams) => boolean) | undefined;
|
|
40
|
-
cellEditorPopup?: boolean | undefined;
|
|
41
|
-
cellEditorPopupPosition?: string | undefined;
|
|
42
|
-
onCellValueChanged?: ((event: import("ag-grid-community").NewValueParams) => void) | undefined;
|
|
43
|
-
onCellClicked?: ((event: import("ag-grid-community").CellClickedEvent) => void) | undefined;
|
|
44
|
-
onCellDoubleClicked?: ((event: import("ag-grid-community").CellDoubleClickedEvent) => void) | undefined;
|
|
45
|
-
onCellContextMenu?: ((event: import("ag-grid-community").CellContextMenuEvent) => void) | undefined;
|
|
46
|
-
getQuickFilterText?: ((params: import("ag-grid-community").GetQuickFilterTextParams) => string) | undefined;
|
|
47
|
-
filterValueGetter?: string | import("ag-grid-community").ValueGetterFunc | undefined;
|
|
48
|
-
floatingFilter?: boolean | undefined;
|
|
49
|
-
headerComponent?: any;
|
|
50
|
-
headerComponentFramework?: any;
|
|
51
|
-
headerComponentParams?: any;
|
|
52
|
-
menuTabs?: string[] | undefined;
|
|
53
|
-
columnsMenuParams?: import("ag-grid-community").ColumnsMenuParams | undefined;
|
|
54
|
-
suppressMenu?: boolean | undefined;
|
|
55
|
-
headerCheckboxSelection?: boolean | import("ag-grid-community").HeaderCheckboxSelectionCallback | undefined;
|
|
56
|
-
headerCheckboxSelectionFilteredOnly?: boolean | undefined;
|
|
57
|
-
chartDataType?: "category" | "series" | "time" | "excluded" | undefined;
|
|
58
|
-
pinned?: string | boolean | null | undefined;
|
|
59
|
-
initialPinned?: string | boolean | undefined;
|
|
60
|
-
lockPinned?: boolean | undefined;
|
|
61
|
-
pinnedRowCellRenderer?: string | (new () => import("ag-grid-community").ICellRendererComp) | import("ag-grid-community").ICellRendererFunc | undefined;
|
|
62
|
-
pinnedRowCellRendererFramework?: any;
|
|
63
|
-
pinnedRowCellRendererParams?: any;
|
|
64
|
-
pinnedRowValueFormatter?: string | import("ag-grid-community").ValueFormatterFunc | undefined;
|
|
65
|
-
pivot?: boolean | undefined;
|
|
66
|
-
initialPivot?: boolean | undefined;
|
|
67
|
-
pivotIndex?: number | null | undefined;
|
|
68
|
-
initialPivotIndex?: number | undefined;
|
|
69
|
-
pivotComparator?: ((valueA: string, valueB: string) => number) | undefined;
|
|
70
|
-
enablePivot?: boolean | undefined;
|
|
71
|
-
cellStyle?: import("ag-grid-community").CellStyle | import("ag-grid-community").CellStyleFunc | undefined;
|
|
72
|
-
cellClass?: string | import("ag-grid-community").CellClassFunc | string[] | undefined;
|
|
73
|
-
cellClassRules?: import("ag-grid-community").CellClassRules | undefined;
|
|
74
|
-
cellRenderer?: any;
|
|
75
|
-
cellRendererFramework?: any;
|
|
76
|
-
cellRendererParams?: any;
|
|
77
|
-
cellRendererSelector?: import("ag-grid-community").CellRendererSelectorFunc | undefined;
|
|
78
|
-
autoHeight?: boolean | undefined;
|
|
79
|
-
wrapText?: boolean | undefined;
|
|
80
|
-
enableCellChangeFlash?: boolean | undefined;
|
|
81
|
-
suppressCellFlash?: boolean | undefined;
|
|
82
|
-
rowDrag?: boolean | import("ag-grid-community").RowDragCallback | undefined;
|
|
83
|
-
rowDragText?: ((params: import("ag-grid-community").IRowDragItem, dragItemCount: number) => string) | undefined;
|
|
84
|
-
dndSource?: boolean | import("ag-grid-community").DndSourceCallback | undefined;
|
|
85
|
-
dndSourceOnRowDrag?: ((params: import("ag-grid-community").DndSourceOnRowDragParams) => void) | undefined;
|
|
86
|
-
rowGroup?: boolean | undefined;
|
|
87
|
-
initialRowGroup?: boolean | undefined;
|
|
88
|
-
rowGroupIndex?: number | null | undefined;
|
|
89
|
-
initialRowGroupIndex?: number | undefined;
|
|
90
|
-
enableRowGroup?: boolean | undefined;
|
|
91
|
-
enableValue?: boolean | undefined;
|
|
92
|
-
aggFunc?: string | import("ag-grid-community").IAggFunc | null | undefined;
|
|
93
|
-
initialAggFunc?: string | import("ag-grid-community").IAggFunc | undefined;
|
|
94
|
-
defaultAggFunc?: string | undefined;
|
|
95
|
-
allowedAggFuncs?: string[] | undefined;
|
|
96
|
-
showRowGroup?: string | boolean | undefined;
|
|
97
|
-
sortable?: boolean | undefined;
|
|
98
|
-
sort?: "asc" | "desc" | null | undefined;
|
|
99
|
-
initialSort?: "asc" | "desc" | null | undefined;
|
|
100
|
-
sortIndex?: number | null | undefined;
|
|
101
|
-
initialSortIndex?: number | undefined;
|
|
102
|
-
sortingOrder?: ("asc" | "desc" | null)[] | undefined;
|
|
103
|
-
comparator?: ((valueA: any, valueB: any, nodeA: import("ag-grid-community").RowNode, nodeB: import("ag-grid-community").RowNode, isInverted: boolean) => number) | undefined;
|
|
104
|
-
unSortIcon?: boolean | undefined;
|
|
105
|
-
sortedAt?: number | undefined;
|
|
106
|
-
colSpan?: ((params: import("ag-grid-community").ColSpanParams) => number) | undefined;
|
|
107
|
-
rowSpan?: ((params: import("ag-grid-community").RowSpanParams) => number) | undefined;
|
|
108
|
-
width?: number | undefined;
|
|
109
|
-
initialWidth?: number | undefined;
|
|
110
|
-
minWidth?: number | undefined;
|
|
111
|
-
maxWidth?: number | undefined;
|
|
112
|
-
flex?: number | undefined;
|
|
113
|
-
initialFlex?: number | undefined;
|
|
114
|
-
resizable?: boolean | undefined;
|
|
115
|
-
suppressSizeToFit?: boolean | undefined;
|
|
116
|
-
suppressAutoSize?: boolean | undefined;
|
|
117
|
-
pivotValueColumn?: import("ag-grid-community").Column | null | undefined;
|
|
118
|
-
pivotTotalColumnIds?: string[] | undefined;
|
|
119
|
-
headerName?: string | undefined;
|
|
120
|
-
headerValueGetter?: string | import("ag-grid-community").HeaderValueGetterFunc | undefined;
|
|
121
|
-
headerTooltip?: string | undefined;
|
|
122
|
-
headerClass?: import("ag-grid-community").HeaderClass | undefined;
|
|
123
|
-
suppressHeaderKeyboardEvent?: ((params: import("ag-grid-community").SuppressHeaderKeyboardEventParams) => boolean) | undefined;
|
|
124
|
-
columnGroupShow?: string | undefined;
|
|
125
|
-
toolPanelClass?: import("ag-grid-community").ToolPanelClass | undefined;
|
|
126
|
-
suppressColumnsToolPanel?: boolean | undefined;
|
|
127
|
-
suppressFiltersToolPanel?: boolean | undefined;
|
|
128
|
-
tooltipComponent?: any;
|
|
129
|
-
tooltipComponentFramework?: any;
|
|
130
|
-
tooltipComponentParams?: any;
|
|
131
|
-
pivotKeys?: string[] | undefined;
|
|
132
|
-
filter?: any;
|
|
133
|
-
filterFramework?: any;
|
|
134
|
-
filterParams?: any;
|
|
135
|
-
floatingFilterComponent?: any;
|
|
136
|
-
floatingFilterComponentFramework?: any;
|
|
137
|
-
floatingFilterComponentParams?: any;
|
|
138
|
-
};
|
|
139
|
-
export declare const GridPopoverEditBearingCorrection: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType, GridFormEditBearingProps<RowType>>) => {
|
|
140
|
-
valueFormatter: (params: import("ag-grid-community").ValueFormatterParams) => string;
|
|
141
|
-
cellEditorParams: any;
|
|
142
|
-
colId?: string | undefined;
|
|
143
|
-
field?: string | undefined;
|
|
144
|
-
type?: string | string[] | undefined;
|
|
145
|
-
valueGetter?: string | import("ag-grid-community").ValueGetterFunc | undefined;
|
|
146
|
-
refData?: {
|
|
147
|
-
[key: string]: string;
|
|
148
|
-
} | undefined;
|
|
149
|
-
keyCreator?: ((params: import("ag-grid-community").KeyCreatorParams) => string) | undefined;
|
|
150
|
-
equals?: ((valueA: any, valueB: any) => boolean) | undefined;
|
|
151
|
-
tooltipField?: string | undefined;
|
|
152
|
-
tooltipValueGetter?: ((params: import("ag-grid-community").ITooltipParams) => any) | undefined;
|
|
153
|
-
checkboxSelection?: boolean | import("ag-grid-community").CheckboxSelectionCallback | undefined;
|
|
154
|
-
icons?: {
|
|
155
|
-
[key: string]: string | Function;
|
|
156
|
-
} | undefined;
|
|
157
|
-
suppressNavigable?: boolean | import("ag-grid-community").SuppressNavigableCallback | undefined;
|
|
158
|
-
suppressKeyboardEvent?: ((params: import("ag-grid-community").SuppressKeyboardEventParams) => boolean) | undefined;
|
|
159
|
-
suppressPaste?: boolean | import("ag-grid-community").SuppressPasteCallback | undefined;
|
|
160
|
-
suppressFillHandle?: boolean | undefined;
|
|
161
|
-
hide?: boolean | undefined;
|
|
162
|
-
initialHide?: boolean | undefined;
|
|
163
|
-
lockVisible?: boolean | undefined;
|
|
164
|
-
lockPosition?: boolean | "left" | "right" | undefined;
|
|
165
|
-
suppressMovable?: boolean | undefined;
|
|
166
|
-
editable?: boolean | import("ag-grid-community").EditableCallback | undefined;
|
|
167
|
-
valueSetter?: string | import("ag-grid-community").ValueSetterFunc | undefined;
|
|
168
|
-
valueParser?: string | import("ag-grid-community").ValueParserFunc | undefined;
|
|
169
|
-
cellEditor?: any;
|
|
170
|
-
cellEditorFramework?: any;
|
|
171
|
-
cellEditorSelector?: import("ag-grid-community").CellEditorSelectorFunc | undefined;
|
|
172
|
-
singleClickEdit?: boolean | undefined;
|
|
173
|
-
newValueHandler?: ((params: import("ag-grid-community").NewValueParams) => boolean) | undefined;
|
|
174
|
-
cellEditorPopup?: boolean | undefined;
|
|
175
|
-
cellEditorPopupPosition?: string | undefined;
|
|
176
|
-
onCellValueChanged?: ((event: import("ag-grid-community").NewValueParams) => void) | undefined;
|
|
177
|
-
onCellClicked?: ((event: import("ag-grid-community").CellClickedEvent) => void) | undefined;
|
|
178
|
-
onCellDoubleClicked?: ((event: import("ag-grid-community").CellDoubleClickedEvent) => void) | undefined;
|
|
179
|
-
onCellContextMenu?: ((event: import("ag-grid-community").CellContextMenuEvent) => void) | undefined;
|
|
180
|
-
getQuickFilterText?: ((params: import("ag-grid-community").GetQuickFilterTextParams) => string) | undefined;
|
|
181
|
-
filterValueGetter?: string | import("ag-grid-community").ValueGetterFunc | undefined;
|
|
182
|
-
floatingFilter?: boolean | undefined;
|
|
183
|
-
headerComponent?: any;
|
|
184
|
-
headerComponentFramework?: any;
|
|
185
|
-
headerComponentParams?: any;
|
|
186
|
-
menuTabs?: string[] | undefined;
|
|
187
|
-
columnsMenuParams?: import("ag-grid-community").ColumnsMenuParams | undefined;
|
|
188
|
-
suppressMenu?: boolean | undefined;
|
|
189
|
-
headerCheckboxSelection?: boolean | import("ag-grid-community").HeaderCheckboxSelectionCallback | undefined;
|
|
190
|
-
headerCheckboxSelectionFilteredOnly?: boolean | undefined;
|
|
191
|
-
chartDataType?: "category" | "series" | "time" | "excluded" | undefined;
|
|
192
|
-
pinned?: string | boolean | null | undefined;
|
|
193
|
-
initialPinned?: string | boolean | undefined;
|
|
194
|
-
lockPinned?: boolean | undefined;
|
|
195
|
-
pinnedRowCellRenderer?: string | (new () => import("ag-grid-community").ICellRendererComp) | import("ag-grid-community").ICellRendererFunc | undefined;
|
|
196
|
-
pinnedRowCellRendererFramework?: any;
|
|
197
|
-
pinnedRowCellRendererParams?: any;
|
|
198
|
-
pinnedRowValueFormatter?: string | import("ag-grid-community").ValueFormatterFunc | undefined;
|
|
199
|
-
pivot?: boolean | undefined;
|
|
200
|
-
initialPivot?: boolean | undefined;
|
|
201
|
-
pivotIndex?: number | null | undefined;
|
|
202
|
-
initialPivotIndex?: number | undefined;
|
|
203
|
-
pivotComparator?: ((valueA: string, valueB: string) => number) | undefined;
|
|
204
|
-
enablePivot?: boolean | undefined;
|
|
205
|
-
cellStyle?: import("ag-grid-community").CellStyle | import("ag-grid-community").CellStyleFunc | undefined;
|
|
206
|
-
cellClass?: string | import("ag-grid-community").CellClassFunc | string[] | undefined;
|
|
207
|
-
cellClassRules?: import("ag-grid-community").CellClassRules | undefined;
|
|
208
|
-
cellRenderer?: any;
|
|
209
|
-
cellRendererFramework?: any;
|
|
210
|
-
cellRendererParams?: any;
|
|
211
|
-
cellRendererSelector?: import("ag-grid-community").CellRendererSelectorFunc | undefined;
|
|
212
|
-
autoHeight?: boolean | undefined;
|
|
213
|
-
wrapText?: boolean | undefined;
|
|
214
|
-
enableCellChangeFlash?: boolean | undefined;
|
|
215
|
-
suppressCellFlash?: boolean | undefined;
|
|
216
|
-
rowDrag?: boolean | import("ag-grid-community").RowDragCallback | undefined;
|
|
217
|
-
rowDragText?: ((params: import("ag-grid-community").IRowDragItem, dragItemCount: number) => string) | undefined;
|
|
218
|
-
dndSource?: boolean | import("ag-grid-community").DndSourceCallback | undefined;
|
|
219
|
-
dndSourceOnRowDrag?: ((params: import("ag-grid-community").DndSourceOnRowDragParams) => void) | undefined;
|
|
220
|
-
rowGroup?: boolean | undefined;
|
|
221
|
-
initialRowGroup?: boolean | undefined;
|
|
222
|
-
rowGroupIndex?: number | null | undefined;
|
|
223
|
-
initialRowGroupIndex?: number | undefined;
|
|
224
|
-
enableRowGroup?: boolean | undefined;
|
|
225
|
-
enableValue?: boolean | undefined;
|
|
226
|
-
aggFunc?: string | import("ag-grid-community").IAggFunc | null | undefined;
|
|
227
|
-
initialAggFunc?: string | import("ag-grid-community").IAggFunc | undefined;
|
|
228
|
-
defaultAggFunc?: string | undefined;
|
|
229
|
-
allowedAggFuncs?: string[] | undefined;
|
|
230
|
-
showRowGroup?: string | boolean | undefined;
|
|
231
|
-
sortable?: boolean | undefined;
|
|
232
|
-
sort?: "asc" | "desc" | null | undefined;
|
|
233
|
-
initialSort?: "asc" | "desc" | null | undefined;
|
|
234
|
-
sortIndex?: number | null | undefined;
|
|
235
|
-
initialSortIndex?: number | undefined;
|
|
236
|
-
sortingOrder?: ("asc" | "desc" | null)[] | undefined;
|
|
237
|
-
comparator?: ((valueA: any, valueB: any, nodeA: import("ag-grid-community").RowNode, nodeB: import("ag-grid-community").RowNode, isInverted: boolean) => number) | undefined;
|
|
238
|
-
unSortIcon?: boolean | undefined;
|
|
239
|
-
sortedAt?: number | undefined;
|
|
240
|
-
colSpan?: ((params: import("ag-grid-community").ColSpanParams) => number) | undefined;
|
|
241
|
-
rowSpan?: ((params: import("ag-grid-community").RowSpanParams) => number) | undefined;
|
|
242
|
-
width?: number | undefined;
|
|
243
|
-
initialWidth?: number | undefined;
|
|
244
|
-
minWidth?: number | undefined;
|
|
245
|
-
maxWidth?: number | undefined;
|
|
246
|
-
flex?: number | undefined;
|
|
247
|
-
initialFlex?: number | undefined;
|
|
248
|
-
resizable?: boolean | undefined;
|
|
249
|
-
suppressSizeToFit?: boolean | undefined;
|
|
250
|
-
suppressAutoSize?: boolean | undefined;
|
|
251
|
-
pivotValueColumn?: import("ag-grid-community").Column | null | undefined;
|
|
252
|
-
pivotTotalColumnIds?: string[] | undefined;
|
|
253
|
-
headerName?: string | undefined;
|
|
254
|
-
headerValueGetter?: string | import("ag-grid-community").HeaderValueGetterFunc | undefined;
|
|
255
|
-
headerTooltip?: string | undefined;
|
|
256
|
-
headerClass?: import("ag-grid-community").HeaderClass | undefined;
|
|
257
|
-
suppressHeaderKeyboardEvent?: ((params: import("ag-grid-community").SuppressHeaderKeyboardEventParams) => boolean) | undefined;
|
|
258
|
-
columnGroupShow?: string | undefined;
|
|
259
|
-
toolPanelClass?: import("ag-grid-community").ToolPanelClass | undefined;
|
|
260
|
-
suppressColumnsToolPanel?: boolean | undefined;
|
|
261
|
-
suppressFiltersToolPanel?: boolean | undefined;
|
|
262
|
-
tooltipComponent?: any;
|
|
263
|
-
tooltipComponentFramework?: any;
|
|
264
|
-
tooltipComponentParams?: any;
|
|
265
|
-
pivotKeys?: string[] | undefined;
|
|
266
|
-
filter?: any;
|
|
267
|
-
filterFramework?: any;
|
|
268
|
-
filterParams?: any;
|
|
269
|
-
floatingFilterComponent?: any;
|
|
270
|
-
floatingFilterComponentFramework?: any;
|
|
271
|
-
floatingFilterComponentParams?: any;
|
|
272
|
-
};
|
|
4
|
+
import { ColDef } from "ag-grid-community";
|
|
5
|
+
export declare const GridPopoverEditBearingLike: <RowType extends GridBaseRow>(colDef: ColDef, props: GenericCellEditorProps<GridFormEditBearingProps<RowType>>) => ColDefT<RowType>;
|
|
6
|
+
export declare const GridPopoverEditBearing: <RowType extends GridBaseRow>(colDef: ColDef, props: GenericCellEditorProps<GridFormEditBearingProps<RowType>>) => ColDefT<RowType>;
|
|
7
|
+
export declare const GridPopoverEditBearingCorrection: <RowType extends GridBaseRow>(colDef: ColDef, props: GenericCellEditorProps<GridFormEditBearingProps<RowType>>) => ColDefT<RowType>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ColDefT, GenericCellEditorProps } from "../GridCell";
|
|
2
2
|
import { GridBaseRow } from "../Grid";
|
|
3
3
|
import { GridFormPopoutDropDownProps } from "../gridForm/GridFormDropDown";
|
|
4
|
-
|
|
4
|
+
import { ColDef } from "ag-grid-community";
|
|
5
|
+
export declare const GridPopoverEditDropDown: <RowType extends GridBaseRow, ValueType>(colDef: ColDef, props: GenericCellEditorProps<GridFormPopoutDropDownProps<RowType, ValueType>>) => ColDefT<RowType>;
|
|
@@ -2,9 +2,9 @@ import "./GridPopoverMenu.scss";
|
|
|
2
2
|
import "../../react-menu3/styles/index.scss";
|
|
3
3
|
import { ColDef } from "ag-grid-community";
|
|
4
4
|
import { GridBaseRow } from "../Grid";
|
|
5
|
+
import { ColDefT, GenericCellEditorProps } from "../GridCell";
|
|
5
6
|
import { GridFormPopoutMenuProps } from "../gridForm/GridFormPopoutMenu";
|
|
6
|
-
import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
|
|
7
7
|
/**
|
|
8
8
|
* Popout burger menu
|
|
9
9
|
*/
|
|
10
|
-
export declare const GridPopoverMenu: <RowType extends GridBaseRow>(colDef:
|
|
10
|
+
export declare const GridPopoverMenu: <RowType extends GridBaseRow>(colDef: ColDef, props: GenericCellEditorProps<GridFormPopoutMenuProps<RowType>>) => ColDefT<RowType>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { ColDefT, GenericCellEditorProps } from "../GridCell";
|
|
1
2
|
import { GridFormMessageProps } from "../gridForm/GridFormMessage";
|
|
2
3
|
import { GridBaseRow } from "../Grid";
|
|
3
|
-
import {
|
|
4
|
-
export declare const GridPopoverMessage: <RowType extends GridBaseRow>(colDef:
|
|
4
|
+
import { ColDef } from "ag-grid-community";
|
|
5
|
+
export declare const GridPopoverMessage: <RowType extends GridBaseRow>(colDef: ColDef, props: GenericCellEditorProps<GridFormMessageProps<RowType>>) => ColDefT<RowType>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { ColDefT, GenericCellEditorProps } from "../GridCell";
|
|
1
2
|
import { GridBaseRow } from "../Grid";
|
|
2
|
-
import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
|
|
3
3
|
import { GridFormTextAreaProps } from "../gridForm/GridFormTextArea";
|
|
4
|
-
|
|
4
|
+
import { ColDef } from "ag-grid-community";
|
|
5
|
+
export declare const GridPopoverTextArea: <RowType extends GridBaseRow>(colDef: ColDef, params: GenericCellEditorProps<GridFormTextAreaProps<RowType>>) => ColDefT<RowType>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { ColDefT, GenericCellEditorProps } from "../GridCell";
|
|
1
2
|
import { GridBaseRow } from "../Grid";
|
|
2
|
-
import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
|
|
3
3
|
import { GridFormTextInputProps } from "../gridForm/GridFormTextInput";
|
|
4
|
-
|
|
4
|
+
import { ColDef } from "ag-grid-community";
|
|
5
|
+
export declare const GridPopoverTextInput: <RowType extends GridBaseRow>(colDef: ColDef, params: GenericCellEditorProps<GridFormTextInputProps<RowType>>) => ColDefT<RowType>;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import "./GridRenderGenericCell.scss";
|
|
3
3
|
import { ColDef, ICellRendererParams } from "ag-grid-community";
|
|
4
|
-
import { GenericCellEditorParams } from "../GridCell";
|
|
5
4
|
import { GridBaseRow } from "../Grid";
|
|
6
5
|
export interface RowICellRendererParams<RowType extends GridBaseRow> extends ICellRendererParams {
|
|
7
6
|
data: RowType;
|
|
8
7
|
}
|
|
9
|
-
export interface GenericCellColDef<RowType extends GridBaseRow
|
|
8
|
+
export interface GenericCellColDef<RowType extends GridBaseRow> extends ColDef {
|
|
10
9
|
cellRendererParams?: GenericCellRendererParams<RowType>;
|
|
11
|
-
cellEditorParams?: GenericCellEditorParams<RowType> & FormProps;
|
|
12
10
|
}
|
|
13
11
|
export interface GenericCellRendererParams<RowType extends GridBaseRow> {
|
|
14
12
|
singleClickEdit?: boolean;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { RefObject } from "react";
|
|
2
|
+
import { ICellEditorParams } from "ag-grid-community";
|
|
3
|
+
export interface PropsType {
|
|
4
|
+
value: any;
|
|
5
|
+
data: any;
|
|
6
|
+
field: string;
|
|
7
|
+
selectedRows: any[];
|
|
8
|
+
}
|
|
9
|
+
export declare type GridPopoverContextType = {
|
|
10
|
+
anchorRef: RefObject<Element>;
|
|
11
|
+
updateValueRef: RefObject<(saveFn: (selectedRows: any[]) => Promise<boolean>) => Promise<boolean>>;
|
|
12
|
+
saving: boolean;
|
|
13
|
+
setSaving: (saving: boolean) => void;
|
|
14
|
+
setProps: (props: ICellEditorParams, multiEdit: boolean) => void;
|
|
15
|
+
propsRef: RefObject<PropsType>;
|
|
16
|
+
};
|
|
17
|
+
export declare const GridPopoverContext: import("react").Context<GridPopoverContextType>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare type
|
|
2
|
+
export declare type GridUpdatingContextType = {
|
|
3
3
|
checkUpdating: (fields: string | string[], id: number | string) => boolean;
|
|
4
4
|
modifyUpdating: (field: string, ids: (number | string)[], fn: () => void | Promise<void>) => Promise<void>;
|
|
5
5
|
};
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const GridUpdatingContext: import("react").Context<GridUpdatingContextType>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
interface UpdatingContextProviderProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
}
|
|
5
|
+
export declare type GridUpdatingContextStatus = Record<string, (number | string)[] | undefined>;
|
|
6
|
+
export declare const GridUpdatingContextProvider: (props: UpdatingContextProviderProps) => JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import "./FormTest.scss";
|
|
3
|
-
import { GridFormProps } from "@components/GridCell";
|
|
4
3
|
import { GridBaseRow } from "@components/Grid";
|
|
5
4
|
export interface IFormTestRow {
|
|
6
5
|
id: number;
|
|
@@ -10,4 +9,4 @@ export interface IFormTestRow {
|
|
|
10
9
|
plan: string;
|
|
11
10
|
distance: number | null;
|
|
12
11
|
}
|
|
13
|
-
export declare const FormTest: <RowType extends GridBaseRow>(
|
|
12
|
+
export declare const FormTest: <RowType extends GridBaseRow>(_props: any) => JSX.Element;
|