@linzjs/step-ag-grid 20.0.0 → 21.0.1

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 (183) hide show
  1. package/dist/index.css +3 -4
  2. package/dist/src/components/ComponentLoadingWrapper.d.ts +9 -9
  3. package/dist/src/components/Grid.d.ts +80 -80
  4. package/dist/src/components/GridCell.d.ts +63 -27
  5. package/dist/src/components/GridCell.test.d.ts +1 -1
  6. package/dist/src/components/GridCellFiller.d.ts +5 -4
  7. package/dist/src/components/GridCellMultiEditor.d.ts +18 -18
  8. package/dist/src/components/GridCellMultiSelectClassRules.d.ts +2 -2
  9. package/dist/src/components/GridIcon.d.ts +9 -9
  10. package/dist/src/components/GridLoadableCell.d.ts +1 -1
  11. package/dist/src/components/GridNoRowsOverlay.d.ts +9 -9
  12. package/dist/src/components/GridPopoverHook.d.ts +12 -12
  13. package/dist/src/components/GridWrapper.d.ts +5 -5
  14. package/dist/src/components/PostSortRowsHook.d.ts +11 -11
  15. package/dist/src/components/gridFilter/GridFilterButtons.d.ts +16 -16
  16. package/dist/src/components/gridFilter/GridFilterColumnsToggle.d.ts +5 -5
  17. package/dist/src/components/gridFilter/GridFilterDownloadCsvButton.d.ts +2 -2
  18. package/dist/src/components/gridFilter/GridFilterHeaderIconButton.d.ts +11 -11
  19. package/dist/src/components/gridFilter/GridFilterQuick.d.ts +5 -5
  20. package/dist/src/components/gridFilter/GridFilters.d.ts +2 -2
  21. package/dist/src/components/gridFilter/index.d.ts +7 -7
  22. package/dist/src/components/gridFilter/useGridFilter.d.ts +3 -3
  23. package/dist/src/components/gridForm/GridFormDropDown.d.ts +37 -37
  24. package/dist/src/components/gridForm/GridFormEditBearing.d.ts +12 -12
  25. package/dist/src/components/gridForm/GridFormMessage.d.ts +7 -7
  26. package/dist/src/components/gridForm/GridFormMultiSelect.d.ts +36 -36
  27. package/dist/src/components/gridForm/GridFormMultiSelectGrid.d.ts +24 -24
  28. package/dist/src/components/gridForm/GridFormPopoverMenu.d.ts +36 -36
  29. package/dist/src/components/gridForm/GridFormSubComponentTextArea.d.ts +12 -12
  30. package/dist/src/components/gridForm/GridFormSubComponentTextInput.d.ts +11 -11
  31. package/dist/src/components/gridForm/GridFormTextArea.d.ts +14 -14
  32. package/dist/src/components/gridForm/GridFormTextInput.d.ts +14 -14
  33. package/dist/src/components/gridForm/index.d.ts +10 -10
  34. package/dist/src/components/gridHeader/GridHeaderSelect.d.ts +7 -7
  35. package/dist/src/components/gridHeader/index.d.ts +1 -1
  36. package/dist/src/components/gridHook/index.d.ts +1 -1
  37. package/dist/src/components/gridHook/useGridContextMenu.d.ts +19 -19
  38. package/dist/src/components/gridPopoverEdit/GridPopoutEditMultiSelect.d.ts +5 -5
  39. package/dist/src/components/gridPopoverEdit/GridPopoutEditMultiSelectGrid.d.ts +5 -5
  40. package/dist/src/components/gridPopoverEdit/GridPopoverEditBearing.d.ts +16 -16
  41. package/dist/src/components/gridPopoverEdit/GridPopoverEditDropDown.d.ts +5 -5
  42. package/dist/src/components/gridPopoverEdit/GridPopoverMenu.d.ts +8 -8
  43. package/dist/src/components/gridPopoverEdit/GridPopoverMessage.d.ts +5 -5
  44. package/dist/src/components/gridPopoverEdit/GridPopoverTextArea.d.ts +5 -5
  45. package/dist/src/components/gridPopoverEdit/GridPopoverTextInput.d.ts +5 -5
  46. package/dist/src/components/gridPopoverEdit/index.d.ts +9 -9
  47. package/dist/src/components/gridRender/GridRenderGenericCell.d.ts +16 -37
  48. package/dist/src/components/gridRender/GridRenderPopoutMenuCell.d.ts +2 -2
  49. package/dist/src/components/gridRender/index.d.ts +2 -2
  50. package/dist/src/components/gridUtil.d.ts +3 -3
  51. package/dist/src/components/index.d.ts +18 -18
  52. package/dist/src/contexts/GridContext.d.ts +67 -67
  53. package/dist/src/contexts/GridContextProvider.d.ts +15 -15
  54. package/dist/src/contexts/GridContextProvider.test.d.ts +1 -1
  55. package/dist/src/contexts/GridPopoverContext.d.ts +15 -15
  56. package/dist/src/contexts/GridPopoverContextProvider.d.ts +7 -7
  57. package/dist/src/contexts/GridSubComponentContext.d.ts +10 -10
  58. package/dist/src/contexts/GridUpdatingContext.d.ts +8 -8
  59. package/dist/src/contexts/GridUpdatingContextProvider.d.ts +3 -3
  60. package/dist/src/index.d.ts +17 -17
  61. package/dist/src/lui/ActionButton.d.ts +20 -20
  62. package/dist/src/lui/FormError.d.ts +7 -7
  63. package/dist/src/lui/TextAreaInput.d.ts +11 -11
  64. package/dist/src/lui/TextInputFormatted.d.ts +10 -10
  65. package/dist/src/lui/reactUtils.d.ts +6 -6
  66. package/dist/src/lui/reactUtils.test.d.ts +1 -1
  67. package/dist/src/lui/stateDeferredHook.d.ts +4 -4
  68. package/dist/src/lui/timeoutHook.d.ts +14 -14
  69. package/dist/src/lui/timeoutHook.test.d.ts +1 -1
  70. package/dist/src/react-menu3/components/ControlledMenu.d.ts +8 -8
  71. package/dist/src/react-menu3/components/FocusableItem.d.ts +9 -9
  72. package/dist/src/react-menu3/components/Menu.d.ts +16 -16
  73. package/dist/src/react-menu3/components/MenuButton.d.ts +8 -8
  74. package/dist/src/react-menu3/components/MenuDivider.d.ts +3 -3
  75. package/dist/src/react-menu3/components/MenuGroup.d.ts +12 -12
  76. package/dist/src/react-menu3/components/MenuHeader.d.ts +4 -4
  77. package/dist/src/react-menu3/components/MenuItem.d.ts +59 -59
  78. package/dist/src/react-menu3/components/MenuList.d.ts +2 -2
  79. package/dist/src/react-menu3/components/MenuRadioGroup.d.ts +25 -25
  80. package/dist/src/react-menu3/components/SubMenu.d.ts +110 -110
  81. package/dist/src/react-menu3/contexts/EventHandlersContext.d.ts +7 -7
  82. package/dist/src/react-menu3/contexts/HoverItemContext.d.ts +2 -2
  83. package/dist/src/react-menu3/contexts/ItemSettingsContext.d.ts +5 -5
  84. package/dist/src/react-menu3/contexts/MenuListContext.d.ts +9 -9
  85. package/dist/src/react-menu3/contexts/MenuListItemContext.d.ts +11 -11
  86. package/dist/src/react-menu3/contexts/RadioGroupContext.d.ts +7 -7
  87. package/dist/src/react-menu3/contexts/SettingsContext.d.ts +20 -20
  88. package/dist/src/react-menu3/hooks/index.d.ts +9 -9
  89. package/dist/src/react-menu3/hooks/useBEM.d.ts +10 -10
  90. package/dist/src/react-menu3/hooks/useCombinedRef.d.ts +2 -2
  91. package/dist/src/react-menu3/hooks/useIsomorphicLayoutEffect.d.ts +3 -3
  92. package/dist/src/react-menu3/hooks/useItemEffect.d.ts +2 -2
  93. package/dist/src/react-menu3/hooks/useItemState.d.ts +7 -7
  94. package/dist/src/react-menu3/hooks/useItems.d.ts +7 -7
  95. package/dist/src/react-menu3/hooks/useMenuChange.d.ts +2 -2
  96. package/dist/src/react-menu3/hooks/useMenuState.d.ts +23 -14
  97. package/dist/src/react-menu3/hooks/useMenuStateAndFocus.d.ts +2 -2
  98. package/dist/src/react-menu3/index.d.ts +11 -11
  99. package/dist/src/react-menu3/positionUtils/getPositionHelpers.d.ts +11 -11
  100. package/dist/src/react-menu3/positionUtils/index.d.ts +3 -3
  101. package/dist/src/react-menu3/positionUtils/placeArrowHorizontal.d.ts +8 -8
  102. package/dist/src/react-menu3/positionUtils/placeArrowVertical.d.ts +8 -8
  103. package/dist/src/react-menu3/positionUtils/placeLeftorRight.d.ts +19 -19
  104. package/dist/src/react-menu3/positionUtils/placeToporBottom.d.ts +19 -19
  105. package/dist/src/react-menu3/positionUtils/positionContextMenu.d.ts +13 -13
  106. package/dist/src/react-menu3/positionUtils/positionMenu.d.ts +26 -26
  107. package/dist/src/react-menu3/style-utils/index.d.ts +11 -11
  108. package/dist/src/react-menu3/types.d.ts +401 -401
  109. package/dist/src/react-menu3/utils/constants.d.ts +54 -54
  110. package/dist/src/react-menu3/utils/index.d.ts +3 -3
  111. package/dist/src/react-menu3/utils/propTypes2.d.ts +56 -56
  112. package/dist/src/react-menu3/utils/utils.d.ts +37 -37
  113. package/dist/src/react-menu3/utils/withHovering.d.ts +7 -7
  114. package/dist/src/utils/bearing.d.ts +19 -19
  115. package/dist/src/utils/bearing.test.d.ts +1 -1
  116. package/dist/src/utils/deferredPromise.d.ts +5 -5
  117. package/dist/src/utils/storybookTestUtil.d.ts +3 -3
  118. package/dist/src/utils/testQuick.d.ts +62 -62
  119. package/dist/src/utils/testUtil.d.ts +46 -45
  120. package/dist/src/utils/textMatcher.d.ts +13 -13
  121. package/dist/src/utils/textMatcher.test.d.ts +1 -1
  122. package/dist/src/utils/textValidator.d.ts +18 -18
  123. package/dist/src/utils/textValidator.test.d.ts +1 -1
  124. package/dist/src/utils/util.d.ts +8 -8
  125. package/dist/src/utils/util.test.d.ts +1 -1
  126. package/dist/step-ag-grid.cjs.js +4651 -4651
  127. package/dist/step-ag-grid.cjs.js.map +1 -1
  128. package/dist/step-ag-grid.esm.js +4651 -4651
  129. package/dist/step-ag-grid.esm.js.map +1 -1
  130. package/dist/vite.config.d.ts +2 -0
  131. package/package.json +23 -22
  132. package/src/components/Grid.tsx +10 -9
  133. package/src/components/GridCell.test.tsx +2 -3
  134. package/src/components/GridCell.tsx +75 -23
  135. package/src/components/GridCellFiller.tsx +2 -1
  136. package/src/components/GridCellMultiEditor.tsx +9 -9
  137. package/src/components/GridCellMultiSelectClassRules.tsx +4 -4
  138. package/src/components/GridPopoverHook.tsx +4 -4
  139. package/src/components/PostSortRowsHook.ts +7 -7
  140. package/src/components/gridFilter/GridFilterButtons.tsx +6 -6
  141. package/src/components/gridFilter/GridFilterColumnsToggle.tsx +2 -5
  142. package/src/components/gridFilter/GridFilterDownloadCsvButton.tsx +1 -1
  143. package/src/components/gridFilter/useGridFilter.ts +1 -1
  144. package/src/components/gridForm/GridFormDropDown.tsx +9 -9
  145. package/src/components/gridForm/GridFormEditBearing.tsx +5 -5
  146. package/src/components/gridForm/GridFormMessage.tsx +4 -4
  147. package/src/components/gridForm/GridFormMultiSelect.tsx +9 -9
  148. package/src/components/gridForm/GridFormMultiSelectGrid.tsx +11 -11
  149. package/src/components/gridForm/GridFormPopoverMenu.tsx +13 -13
  150. package/src/components/gridForm/GridFormSubComponentTextArea.tsx +4 -4
  151. package/src/components/gridForm/GridFormSubComponentTextInput.tsx +4 -4
  152. package/src/components/gridForm/GridFormTextArea.tsx +6 -6
  153. package/src/components/gridForm/GridFormTextInput.tsx +7 -7
  154. package/src/components/gridHeader/GridHeaderSelect.tsx +10 -8
  155. package/src/components/gridHook/useGridContextMenu.tsx +8 -8
  156. package/src/components/gridPopoverEdit/GridPopoutEditMultiSelect.ts +6 -6
  157. package/src/components/gridPopoverEdit/GridPopoutEditMultiSelectGrid.ts +6 -6
  158. package/src/components/gridPopoverEdit/GridPopoverEditBearing.ts +16 -16
  159. package/src/components/gridPopoverEdit/GridPopoverEditDropDown.ts +6 -6
  160. package/src/components/gridPopoverEdit/GridPopoverMenu.tsx +5 -5
  161. package/src/components/gridPopoverEdit/GridPopoverMessage.ts +5 -5
  162. package/src/components/gridPopoverEdit/GridPopoverTextArea.ts +5 -4
  163. package/src/components/gridPopoverEdit/GridPopoverTextInput.ts +5 -5
  164. package/src/components/gridRender/GridRenderGenericCell.tsx +6 -36
  165. package/src/contexts/GridContext.tsx +9 -9
  166. package/src/contexts/GridContextProvider.test.tsx +1 -1
  167. package/src/contexts/GridContextProvider.tsx +32 -36
  168. package/src/contexts/GridPopoverContext.tsx +6 -6
  169. package/src/stories/grid/GridDragRow.stories.tsx +13 -7
  170. package/src/stories/grid/GridNonEditableRow.stories.tsx +2 -3
  171. package/src/stories/grid/GridPopoutContextMenu.stories.tsx +2 -2
  172. package/src/stories/grid/GridPopoutEditGenericTextArea.stories.tsx +1 -1
  173. package/src/stories/grid/GridPopoverEditBearing.stories.tsx +2 -2
  174. package/src/stories/grid/GridPopoverEditDropDown.stories.tsx +12 -3
  175. package/src/stories/grid/GridPopoverEditMultiSelect.stories.tsx +2 -2
  176. package/src/stories/grid/GridPopoverEditMultiSelectGrid.stories.tsx +2 -2
  177. package/src/stories/grid/GridReadOnly.stories.tsx +6 -6
  178. package/src/stories/grid/GridViewList.stories.tsx +5 -7
  179. package/src/stories/grid/interactions/GridKeyboardInteractions.stories.tsx +3 -3
  180. package/src/styles/Grid.scss +3 -6
  181. package/src/utils/testUtil.ts +49 -7
  182. package/src/utils/textValidator.ts +5 -5
  183. package/src/utils/util.ts +1 -1
@@ -1,37 +1,37 @@
1
- import { ReactElement } from "react";
2
- import { GridBaseRow } from "../Grid";
3
- import { CellEditorCommon } from "../GridCell";
4
- export interface GridPopoutEditDropDownSelectedItem<RowType> {
5
- selectedRows: RowType[];
6
- value: any;
7
- subComponentValue?: any;
8
- }
9
- interface FinalSelectOption {
10
- value: any;
11
- label?: ReactElement | string;
12
- disabled?: boolean | string;
13
- subComponent?: (props: any, ref: any) => any;
14
- }
15
- export declare const MenuSeparatorString = "_____MENU_SEPARATOR_____";
16
- export declare const MenuSeparator: Readonly<{
17
- value: "_____MENU_SEPARATOR_____";
18
- }>;
19
- export declare const MenuHeaderString = "_____MENU_HEADER_____";
20
- export declare const MenuHeaderItem: (title: string) => {
21
- label: string;
22
- value: string;
23
- };
24
- export type SelectOption = null | string | FinalSelectOption;
25
- export interface GridFormDropDownProps<RowType extends GridBaseRow> extends CellEditorCommon {
26
- className?: "GridPopoverEditDropDown-containerSmall" | "GridPopoverEditDropDown-containerMedium" | "GridPopoverEditDropDown-containerLarge" | "GridPopoverEditDropDown-containerUnlimited" | string | undefined;
27
- filtered?: "local" | "reload";
28
- filterDefaultValue?: string;
29
- filterPlaceholder?: string;
30
- filterHelpText?: string;
31
- noOptionsMessage?: string;
32
- onSelectedItem?: (props: GridPopoutEditDropDownSelectedItem<RowType>) => Promise<void>;
33
- onSelectFilter?: (props: GridPopoutEditDropDownSelectedItem<RowType>) => Promise<void>;
34
- options: SelectOption[] | ((selectedRows: RowType[], filter?: string) => Promise<SelectOption[] | undefined> | SelectOption[] | undefined) | undefined;
35
- }
36
- export declare const GridFormDropDown: <RowType extends GridBaseRow>(props: GridFormDropDownProps<RowType>) => import("react/jsx-runtime").JSX.Element;
37
- export {};
1
+ import { ReactElement } from "react";
2
+ import { GridBaseRow } from "../Grid";
3
+ import { CellEditorCommon } from "../GridCell";
4
+ export interface GridPopoutEditDropDownSelectedItem<TData> {
5
+ selectedRows: TData[];
6
+ value: any;
7
+ subComponentValue?: any;
8
+ }
9
+ interface FinalSelectOption {
10
+ value: any;
11
+ label?: ReactElement | string;
12
+ disabled?: boolean | string;
13
+ subComponent?: (props: any, ref: any) => any;
14
+ }
15
+ export declare const MenuSeparatorString = "_____MENU_SEPARATOR_____";
16
+ export declare const MenuSeparator: Readonly<{
17
+ value: "_____MENU_SEPARATOR_____";
18
+ }>;
19
+ export declare const MenuHeaderString = "_____MENU_HEADER_____";
20
+ export declare const MenuHeaderItem: (title: string) => {
21
+ label: string;
22
+ value: string;
23
+ };
24
+ export type SelectOption = null | string | FinalSelectOption;
25
+ export interface GridFormDropDownProps<TData extends GridBaseRow> extends CellEditorCommon {
26
+ className?: "GridPopoverEditDropDown-containerSmall" | "GridPopoverEditDropDown-containerMedium" | "GridPopoverEditDropDown-containerLarge" | "GridPopoverEditDropDown-containerUnlimited" | string | undefined;
27
+ filtered?: "local" | "reload";
28
+ filterDefaultValue?: string;
29
+ filterPlaceholder?: string;
30
+ filterHelpText?: string;
31
+ noOptionsMessage?: string;
32
+ onSelectedItem?: (props: GridPopoutEditDropDownSelectedItem<TData>) => Promise<void>;
33
+ onSelectFilter?: (props: GridPopoutEditDropDownSelectedItem<TData>) => Promise<void>;
34
+ options: SelectOption[] | ((selectedRows: TData[], filter?: string) => Promise<SelectOption[] | undefined> | SelectOption[] | undefined) | undefined;
35
+ }
36
+ export declare const GridFormDropDown: <TData extends GridBaseRow>(props: GridFormDropDownProps<TData>) => import("react/jsx-runtime").JSX.Element;
37
+ export {};
@@ -1,12 +1,12 @@
1
- import { GridBaseRow } from "../Grid";
2
- import { CellEditorCommon } from "../GridCell";
3
- export interface GridFormEditBearingProps<RowType extends GridBaseRow> extends CellEditorCommon {
4
- formatValue?: (value: any) => string;
5
- placeHolder?: string;
6
- range?: (value: number | null) => string | null;
7
- onSave?: (props: {
8
- selectedRows: RowType[];
9
- value: number | null;
10
- }) => Promise<boolean>;
11
- }
12
- export declare const GridFormEditBearing: <RowType extends GridBaseRow>(props: GridFormEditBearingProps<RowType>) => import("react/jsx-runtime").JSX.Element;
1
+ import { GridBaseRow } from "../Grid";
2
+ import { CellEditorCommon } from "../GridCell";
3
+ export interface GridFormEditBearingProps<TData extends GridBaseRow> extends CellEditorCommon {
4
+ formatValue?: (value: any) => string;
5
+ placeHolder?: string;
6
+ range?: (value: number | null) => string | null;
7
+ onSave?: (props: {
8
+ selectedRows: TData[];
9
+ value: number | null;
10
+ }) => Promise<boolean>;
11
+ }
12
+ export declare const GridFormEditBearing: <TData extends GridBaseRow>(props: GridFormEditBearingProps<TData>) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
- import { ReactElement } from "react";
2
- import { GridBaseRow } from "../Grid";
3
- import { CellEditorCommon } from "../GridCell";
4
- export interface GridFormMessageProps<RowType extends GridBaseRow> extends CellEditorCommon {
5
- message: (selectedRows: RowType[]) => Promise<string | ReactElement> | string | ReactElement;
6
- }
7
- export declare const GridFormMessage: <RowType extends GridBaseRow>(props: GridFormMessageProps<RowType>) => import("react/jsx-runtime").JSX.Element;
1
+ import { ReactElement } from "react";
2
+ import { GridBaseRow } from "../Grid";
3
+ import { CellEditorCommon } from "../GridCell";
4
+ export interface GridFormMessageProps<TData extends GridBaseRow> extends CellEditorCommon {
5
+ message: (selectedRows: TData[]) => Promise<string | ReactElement> | string | ReactElement;
6
+ }
7
+ export declare const GridFormMessage: <TData extends GridBaseRow>(props: GridFormMessageProps<TData>) => ReactElement;
@@ -1,36 +1,36 @@
1
- import { ReactElement } from "react";
2
- import { GridBaseRow } from "../Grid";
3
- import { CellEditorCommon } from "../GridCell";
4
- export interface MultiSelectOption {
5
- value: any;
6
- label?: string;
7
- subComponent?: (props: any) => ReactElement;
8
- subValue?: any;
9
- filter?: string;
10
- checked?: boolean;
11
- warning?: string | undefined;
12
- }
13
- export interface GridFormMultiSelectGroup {
14
- header: string;
15
- filter?: string;
16
- }
17
- export interface GridFormMultiSelectSaveProps<RowType extends GridBaseRow> {
18
- selectedRows: RowType[];
19
- selectedOptions: MultiSelectOption[];
20
- }
21
- export interface GridFormMultiSelectProps<RowType extends GridBaseRow> extends CellEditorCommon {
22
- className?: "GridMultiSelect-containerSmall" | "GridMultiSelect-containerMedium" | "GridMultiSelect-containerLarge" | "GridMultiSelect-containerUnlimited" | string | undefined;
23
- filtered?: boolean;
24
- filterPlaceholder?: string;
25
- filterHelpText?: string | ((filter: string, options: MultiSelectOption[]) => string | undefined);
26
- noOptionsMessage?: string;
27
- onSelectFilter?: (props: {
28
- filter: string;
29
- options: MultiSelectOption[];
30
- }) => void;
31
- onSave?: (props: GridFormMultiSelectSaveProps<RowType>) => Promise<boolean>;
32
- headers?: GridFormMultiSelectGroup[];
33
- options: MultiSelectOption[] | ((selectedRows: RowType[]) => Promise<MultiSelectOption[]> | MultiSelectOption[]);
34
- invalid?: (selectedRows: RowType[], selectedOptions: MultiSelectOption[]) => boolean;
35
- }
36
- export declare const GridFormMultiSelect: <RowType extends GridBaseRow>(props: GridFormMultiSelectProps<RowType>) => import("react/jsx-runtime").JSX.Element;
1
+ import { ReactElement } from "react";
2
+ import { GridBaseRow } from "../Grid";
3
+ import { CellEditorCommon } from "../GridCell";
4
+ export interface MultiSelectOption {
5
+ value: any;
6
+ label?: string;
7
+ subComponent?: (props: any) => ReactElement;
8
+ subValue?: any;
9
+ filter?: string;
10
+ checked?: boolean;
11
+ warning?: string | undefined;
12
+ }
13
+ export interface GridFormMultiSelectGroup {
14
+ header: string;
15
+ filter?: string;
16
+ }
17
+ export interface GridFormMultiSelectSaveProps<TData extends GridBaseRow> {
18
+ selectedRows: TData[];
19
+ selectedOptions: MultiSelectOption[];
20
+ }
21
+ export interface GridFormMultiSelectProps<TData extends GridBaseRow> extends CellEditorCommon {
22
+ className?: "GridMultiSelect-containerSmall" | "GridMultiSelect-containerMedium" | "GridMultiSelect-containerLarge" | "GridMultiSelect-containerUnlimited" | string | undefined;
23
+ filtered?: boolean;
24
+ filterPlaceholder?: string;
25
+ filterHelpText?: string | ((filter: string, options: MultiSelectOption[]) => string | undefined);
26
+ noOptionsMessage?: string;
27
+ onSelectFilter?: (props: {
28
+ filter: string;
29
+ options: MultiSelectOption[];
30
+ }) => void;
31
+ onSave?: (props: GridFormMultiSelectSaveProps<TData>) => Promise<boolean>;
32
+ headers?: GridFormMultiSelectGroup[];
33
+ options: MultiSelectOption[] | ((selectedRows: TData[]) => Promise<MultiSelectOption[]> | MultiSelectOption[]);
34
+ invalid?: (selectedRows: TData[], selectedOptions: MultiSelectOption[]) => boolean;
35
+ }
36
+ export declare const GridFormMultiSelect: <TData extends GridBaseRow>(props: GridFormMultiSelectProps<TData>) => import("react/jsx-runtime").JSX.Element;
@@ -1,24 +1,24 @@
1
- import { ReactElement } from "react";
2
- import { GridBaseRow } from "../Grid";
3
- import { CellEditorCommon } from "../GridCell";
4
- export interface MultiSelectGridOption {
5
- value: any;
6
- label?: string | ReactElement;
7
- checked?: boolean | "partial";
8
- canSelectPartial?: boolean;
9
- warning?: string | undefined;
10
- }
11
- export interface GridFormMultiSelectGridSaveProps<RowType extends GridBaseRow> {
12
- selectedRows: RowType[];
13
- addValues: any[];
14
- removeValues: any[];
15
- }
16
- export interface GridFormMultiSelectGridProps<RowType extends GridBaseRow> extends CellEditorCommon {
17
- className?: string | undefined;
18
- noOptionsMessage?: string;
19
- onSave?: (props: GridFormMultiSelectGridSaveProps<RowType>) => Promise<boolean>;
20
- options: MultiSelectGridOption[] | ((selectedRows: RowType[]) => Promise<MultiSelectGridOption[]> | MultiSelectGridOption[]);
21
- invalid?: (props: GridFormMultiSelectGridSaveProps<RowType>) => boolean;
22
- maxRowCount?: number;
23
- }
24
- export declare const GridFormMultiSelectGrid: <RowType extends GridBaseRow>(props: GridFormMultiSelectGridProps<RowType>) => ReactElement;
1
+ import { ReactElement } from "react";
2
+ import { GridBaseRow } from "../Grid";
3
+ import { CellEditorCommon } from "../GridCell";
4
+ export interface MultiSelectGridOption {
5
+ value: any;
6
+ label?: string | ReactElement;
7
+ checked?: boolean | "partial";
8
+ canSelectPartial?: boolean;
9
+ warning?: string | undefined;
10
+ }
11
+ export interface GridFormMultiSelectGridSaveProps<TData extends GridBaseRow> {
12
+ selectedRows: TData[];
13
+ addValues: any[];
14
+ removeValues: any[];
15
+ }
16
+ export interface GridFormMultiSelectGridProps<TData extends GridBaseRow> extends CellEditorCommon {
17
+ className?: string | undefined;
18
+ noOptionsMessage?: string;
19
+ onSave?: (props: GridFormMultiSelectGridSaveProps<TData>) => Promise<boolean>;
20
+ options: MultiSelectGridOption[] | ((selectedRows: TData[]) => Promise<MultiSelectGridOption[]> | MultiSelectGridOption[]);
21
+ invalid?: (props: GridFormMultiSelectGridSaveProps<TData>) => boolean;
22
+ maxRowCount?: number;
23
+ }
24
+ export declare const GridFormMultiSelectGrid: <TData extends GridBaseRow>(props: GridFormMultiSelectGridProps<TData>) => ReactElement;
@@ -1,36 +1,36 @@
1
- import { ReactElement } from "react";
2
- import { GridBaseRow } from "../Grid";
3
- import { CellEditorCommon } from "../GridCell";
4
- export interface GridFormPopoverMenuProps<RowType extends GridBaseRow> extends CellEditorCommon {
5
- options: (selectedRows: RowType[]) => Promise<MenuOption<RowType>[]>;
6
- defaultAction?: (props: {
7
- selectedRows: RowType[];
8
- menuOption: SelectedMenuOptionResult<RowType>;
9
- }) => Promise<void>;
10
- }
11
- export declare const PopoutMenuSeparator: Readonly<{
12
- label: "__isMenuSeparator__";
13
- }>;
14
- interface MenuSeparatorType {
15
- __isMenuSeparator__: boolean;
16
- }
17
- export interface SelectedMenuOptionResult<RowType extends GridBaseRow> extends MenuOption<RowType> {
18
- subValue: any;
19
- }
20
- export interface MenuOption<RowType extends GridBaseRow> {
21
- label: ReactElement | string | MenuSeparatorType;
22
- subMenu?: () => ReactElement;
23
- action?: (props: {
24
- selectedRows: RowType[];
25
- menuOption: SelectedMenuOptionResult<RowType>;
26
- }) => Promise<void>;
27
- disabled?: string | boolean;
28
- hidden?: boolean;
29
- subComponent?: (props: any) => ReactElement;
30
- }
31
- /**
32
- * NOTE: If the popout menu doesn't appear on single click when also selecting row it's because
33
- * you need a useMemo around your columnDefs
34
- */
35
- export declare const GridFormPopoverMenu: <RowType extends GridBaseRow>(props: GridFormPopoverMenuProps<RowType>) => import("react/jsx-runtime").JSX.Element;
36
- export {};
1
+ import { ReactElement } from "react";
2
+ import { GridBaseRow } from "../Grid";
3
+ import { CellEditorCommon } from "../GridCell";
4
+ export interface GridFormPopoverMenuProps<TData extends GridBaseRow> extends CellEditorCommon {
5
+ options: (selectedRows: TData[]) => Promise<MenuOption<TData>[]>;
6
+ defaultAction?: (props: {
7
+ selectedRows: TData[];
8
+ menuOption: SelectedMenuOptionResult<TData>;
9
+ }) => Promise<void>;
10
+ }
11
+ export declare const PopoutMenuSeparator: Readonly<{
12
+ label: "__isMenuSeparator__";
13
+ }>;
14
+ interface MenuSeparatorType {
15
+ __isMenuSeparator__: boolean;
16
+ }
17
+ export interface SelectedMenuOptionResult<TData extends GridBaseRow> extends MenuOption<TData> {
18
+ subValue: any;
19
+ }
20
+ export interface MenuOption<TData extends GridBaseRow> {
21
+ label: ReactElement | string | MenuSeparatorType;
22
+ subMenu?: () => ReactElement;
23
+ action?: (props: {
24
+ selectedRows: TData[];
25
+ menuOption: SelectedMenuOptionResult<TData>;
26
+ }) => Promise<void>;
27
+ disabled?: string | boolean;
28
+ hidden?: boolean;
29
+ subComponent?: (props: any) => ReactElement;
30
+ }
31
+ /**
32
+ * NOTE: If the popout menu doesn't appear on single click when also selecting row it's because
33
+ * you need a useMemo around your columnDefs
34
+ */
35
+ export declare const GridFormPopoverMenu: <TData extends GridBaseRow>(props: GridFormPopoverMenuProps<TData>) => import("react/jsx-runtime").JSX.Element;
36
+ export {};
@@ -1,12 +1,12 @@
1
- import { ReactElement } from "react";
2
- import { TextInputValidatorProps } from "../../utils/textValidator";
3
- import { GridBaseRow } from "../Grid";
4
- import { CellEditorCommon } from "../GridCell";
5
- export interface GridSubComponentTextAreaProps<RowType extends GridBaseRow> extends TextInputValidatorProps<RowType>, CellEditorCommon {
6
- placeholder?: string;
7
- width?: string | number;
8
- defaultValue: string;
9
- className?: string;
10
- helpText?: string;
11
- }
12
- export declare const GridFormSubComponentTextArea: <RowType extends GridBaseRow>(props: GridSubComponentTextAreaProps<RowType>) => ReactElement;
1
+ import { ReactElement } from "react";
2
+ import { TextInputValidatorProps } from "../../utils/textValidator";
3
+ import { GridBaseRow } from "../Grid";
4
+ import { CellEditorCommon } from "../GridCell";
5
+ export interface GridSubComponentTextAreaProps<TData extends GridBaseRow> extends TextInputValidatorProps<TData>, CellEditorCommon {
6
+ placeholder?: string;
7
+ width?: string | number;
8
+ defaultValue: string;
9
+ className?: string;
10
+ helpText?: string;
11
+ }
12
+ export declare const GridFormSubComponentTextArea: <TData extends GridBaseRow>(props: GridSubComponentTextAreaProps<TData>) => ReactElement;
@@ -1,11 +1,11 @@
1
- import { ReactElement } from "react";
2
- import { TextInputValidatorProps } from "../../utils/textValidator";
3
- import { GridBaseRow } from "../Grid";
4
- import { CellEditorCommon } from "../GridCell";
5
- export interface GridFormSubComponentTextInputProps<RowType extends GridBaseRow> extends TextInputValidatorProps<RowType>, CellEditorCommon {
6
- placeholder?: string;
7
- width?: string | number;
8
- defaultValue: string;
9
- helpText?: string;
10
- }
11
- export declare const GridFormSubComponentTextInput: <RowType extends GridBaseRow>(props: GridFormSubComponentTextInputProps<RowType>) => ReactElement;
1
+ import { ReactElement } from "react";
2
+ import { TextInputValidatorProps } from "../../utils/textValidator";
3
+ import { GridBaseRow } from "../Grid";
4
+ import { CellEditorCommon } from "../GridCell";
5
+ export interface GridFormSubComponentTextInputProps<TData extends GridBaseRow> extends TextInputValidatorProps<TData>, CellEditorCommon {
6
+ placeholder?: string;
7
+ width?: string | number;
8
+ defaultValue: string;
9
+ helpText?: string;
10
+ }
11
+ export declare const GridFormSubComponentTextInput: <TData extends GridBaseRow>(props: GridFormSubComponentTextInputProps<TData>) => ReactElement;
@@ -1,14 +1,14 @@
1
- import { ReactElement } from "react";
2
- import { TextInputValidatorProps } from "../../utils/textValidator";
3
- import { GridBaseRow } from "../Grid";
4
- import { CellEditorCommon } from "../GridCell";
5
- export interface GridFormTextAreaProps<RowType extends GridBaseRow> extends TextInputValidatorProps<RowType>, CellEditorCommon {
6
- placeholder?: string;
7
- width?: string | number;
8
- onSave?: (props: {
9
- selectedRows: RowType[];
10
- value: string;
11
- }) => Promise<boolean>;
12
- helpText?: string;
13
- }
14
- export declare const GridFormTextArea: <RowType extends GridBaseRow>(props: GridFormTextAreaProps<RowType>) => ReactElement;
1
+ import { ReactElement } from "react";
2
+ import { TextInputValidatorProps } from "../../utils/textValidator";
3
+ import { GridBaseRow } from "../Grid";
4
+ import { CellEditorCommon } from "../GridCell";
5
+ export interface GridFormTextAreaProps<TData extends GridBaseRow> extends TextInputValidatorProps<TData>, CellEditorCommon {
6
+ placeholder?: string;
7
+ width?: string | number;
8
+ onSave?: (props: {
9
+ selectedRows: TData[];
10
+ value: string;
11
+ }) => Promise<boolean>;
12
+ helpText?: string;
13
+ }
14
+ export declare const GridFormTextArea: <TData extends GridBaseRow>(props: GridFormTextAreaProps<TData>) => ReactElement;
@@ -1,14 +1,14 @@
1
- import { TextInputValidatorProps } from "../../utils/textValidator";
2
- import { GridBaseRow } from "../Grid";
3
- import { CellEditorCommon } from "../GridCell";
4
- export interface GridFormTextInputProps<RowType extends GridBaseRow> extends TextInputValidatorProps<RowType>, CellEditorCommon {
5
- placeholder?: string;
6
- units?: string;
7
- width?: string | number;
8
- onSave?: (props: {
9
- selectedRows: RowType[];
10
- value: string;
11
- }) => Promise<boolean>;
12
- helpText?: string;
13
- }
14
- export declare const GridFormTextInput: <RowType extends GridBaseRow>(props: GridFormTextInputProps<RowType>) => import("react/jsx-runtime").JSX.Element;
1
+ import { TextInputValidatorProps } from "../../utils/textValidator";
2
+ import { GridBaseRow } from "../Grid";
3
+ import { CellEditorCommon } from "../GridCell";
4
+ export interface GridFormTextInputProps<TData extends GridBaseRow> extends TextInputValidatorProps<TData>, CellEditorCommon {
5
+ placeholder?: string;
6
+ units?: string;
7
+ width?: string | number;
8
+ onSave?: (props: {
9
+ selectedRows: TData[];
10
+ value: string;
11
+ }) => Promise<boolean>;
12
+ helpText?: string;
13
+ }
14
+ export declare const GridFormTextInput: <TData extends GridBaseRow>(props: GridFormTextInputProps<TData>) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,10 @@
1
- export * from "./GridFormDropDown";
2
- export * from "./GridFormEditBearing";
3
- export * from "./GridFormMessage";
4
- export * from "./GridFormMultiSelect";
5
- export * from "./GridFormMultiSelectGrid";
6
- export * from "./GridFormPopoverMenu";
7
- export * from "./GridFormSubComponentTextArea";
8
- export * from "./GridFormSubComponentTextInput";
9
- export * from "./GridFormTextArea";
10
- export * from "./GridFormTextInput";
1
+ export * from "./GridFormDropDown";
2
+ export * from "./GridFormEditBearing";
3
+ export * from "./GridFormMessage";
4
+ export * from "./GridFormMultiSelect";
5
+ export * from "./GridFormMultiSelectGrid";
6
+ export * from "./GridFormPopoverMenu";
7
+ export * from "./GridFormSubComponentTextArea";
8
+ export * from "./GridFormSubComponentTextInput";
9
+ export * from "./GridFormTextArea";
10
+ export * from "./GridFormTextInput";
@@ -1,7 +1,7 @@
1
- import { IHeaderParams } from "ag-grid-community";
2
- /**
3
- * AgGrid's existing select header doesn't work the way we want.
4
- * If you have partial select then clicking the header checkbox will select all,
5
- * but we want to deselect all on partial select.
6
- */
7
- export declare const GridHeaderSelect: ({ api }: IHeaderParams) => import("react/jsx-runtime").JSX.Element;
1
+ import { IHeaderParams } from "ag-grid-community";
2
+ /**
3
+ * AgGrid's existing select header doesn't work the way we want.
4
+ * If you have partial select then clicking the header checkbox will select all,
5
+ * but we want to deselect all on partial select.
6
+ */
7
+ export declare const GridHeaderSelect: ({ api }: IHeaderParams) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export * from "./GridHeaderSelect";
1
+ export * from "./GridHeaderSelect";
@@ -1 +1 @@
1
- export * from "./useGridContextMenu";
1
+ export * from "./useGridContextMenu";
@@ -1,19 +1,19 @@
1
- import { ColDef } from "ag-grid-community";
2
- import { CellContextMenuEvent } from "ag-grid-community/dist/lib/events";
3
- import { ReactElement } from "react";
4
- import { GridBaseRow } from "../Grid";
5
- export interface GridContextMenuComponentProps<RowType extends GridBaseRow> {
6
- selectedRows: RowType[];
7
- clickedRow: RowType;
8
- colDef: ColDef;
9
- close: () => void;
10
- }
11
- export type GridContextMenuComponent<RowType extends GridBaseRow> = (props: GridContextMenuComponentProps<RowType>) => ReactElement | null;
12
- export declare const useGridContextMenu: <RowType extends GridBaseRow>({ contextMenuSelectRow, contextMenu: ContextMenu, }: {
13
- contextMenuSelectRow: boolean;
14
- contextMenu?: GridContextMenuComponent<RowType> | undefined;
15
- }) => {
16
- openMenu: (e: PointerEvent | null | undefined) => void;
17
- cellContextMenu: (event: CellContextMenuEvent) => void;
18
- component: import("react/jsx-runtime").JSX.Element | null;
19
- };
1
+ import { ColDef } from "ag-grid-community";
2
+ import { CellContextMenuEvent } from "ag-grid-community";
3
+ import { ReactElement } from "react";
4
+ import { GridBaseRow } from "../Grid";
5
+ export interface GridContextMenuComponentProps<TData extends GridBaseRow> {
6
+ selectedRows: TData[];
7
+ clickedRow: TData;
8
+ colDef: ColDef;
9
+ close: () => void;
10
+ }
11
+ export type GridContextMenuComponent<TData extends GridBaseRow> = (props: GridContextMenuComponentProps<TData>) => ReactElement | null;
12
+ export declare const useGridContextMenu: <TData extends GridBaseRow>({ contextMenuSelectRow, contextMenu: ContextMenu, }: {
13
+ contextMenuSelectRow: boolean;
14
+ contextMenu?: GridContextMenuComponent<TData>;
15
+ }) => {
16
+ openMenu: (e: PointerEvent | null | undefined) => void;
17
+ cellContextMenu: (event: CellContextMenuEvent) => void;
18
+ component: import("react/jsx-runtime").JSX.Element | null;
19
+ };
@@ -1,5 +1,5 @@
1
- import { GridBaseRow } from "../Grid";
2
- import { ColDefT, GenericCellEditorProps } from "../GridCell";
3
- import { GridFormMultiSelectProps } from "../gridForm/GridFormMultiSelect";
4
- import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
5
- export declare const GridPopoutEditMultiSelect: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType>, props: GenericCellEditorProps<GridFormMultiSelectProps<RowType>>) => ColDefT<RowType>;
1
+ import { GridBaseRow } from "../Grid";
2
+ import { ColDefT, GenericCellEditorProps } from "../GridCell";
3
+ import { GridFormMultiSelectProps } from "../gridForm/GridFormMultiSelect";
4
+ import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
5
+ export declare const GridPopoutEditMultiSelect: <TData extends GridBaseRow, TValue = any>(colDef: GenericCellColDef<TData, TValue>, props: GenericCellEditorProps<GridFormMultiSelectProps<TData>>) => ColDefT<TData, TValue>;
@@ -1,5 +1,5 @@
1
- import { GridBaseRow } from "../Grid";
2
- import { ColDefT, GenericCellEditorProps } from "../GridCell";
3
- import { GridFormMultiSelectGridProps } from "../gridForm/GridFormMultiSelectGrid";
4
- import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
5
- export declare const GridPopoutEditMultiSelectGrid: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType>, props: GenericCellEditorProps<GridFormMultiSelectGridProps<RowType>>) => ColDefT<RowType>;
1
+ import { GridBaseRow } from "../Grid";
2
+ import { ColDefT, GenericCellEditorProps } from "../GridCell";
3
+ import { GridFormMultiSelectGridProps } from "../gridForm/GridFormMultiSelectGrid";
4
+ import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
5
+ export declare const GridPopoutEditMultiSelectGrid: <TData extends GridBaseRow, TValue = any>(colDef: GenericCellColDef<TData, TValue>, props: GenericCellEditorProps<GridFormMultiSelectGridProps<TData>>) => ColDefT<TData, TValue>;
@@ -1,16 +1,16 @@
1
- import { GridBaseRow } from "../Grid";
2
- import { ColDefT, GenericCellEditorProps } from "../GridCell";
3
- import { GridFormEditBearingProps } from "../gridForm/GridFormEditBearing";
4
- import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
5
- export declare const GridPopoverEditBearingEditorParams: {
6
- placeHolder: string;
7
- formatValue: (value: any) => string;
8
- range: (value: number | null) => "Bearing is required" | "Bearing must be less than 360 degrees" | "Bearing must not be negative" | null;
9
- };
10
- export declare const GridPopoverEditBearing: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType>, props: GenericCellEditorProps<GridFormEditBearingProps<RowType>>) => ColDefT<RowType>;
11
- export declare const GridPopoverEditBearingCorrectionEditorParams: {
12
- placeHolder: string;
13
- formatValue: (value: any) => string;
14
- 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;
15
- };
16
- export declare const GridPopoverEditBearingCorrection: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType>, props: GenericCellEditorProps<GridFormEditBearingProps<RowType>>) => ColDefT<RowType>;
1
+ import { GridBaseRow } from "../Grid";
2
+ import { ColDefT, GenericCellEditorProps } from "../GridCell";
3
+ import { GridFormEditBearingProps } from "../gridForm/GridFormEditBearing";
4
+ import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
5
+ export declare const GridPopoverEditBearingEditorParams: {
6
+ placeHolder: string;
7
+ formatValue: (value: any) => string;
8
+ range: (value: number | null) => "Bearing is required" | "Bearing must be less than 360 degrees" | "Bearing must not be negative" | null;
9
+ };
10
+ export declare const GridPopoverEditBearing: <TData extends GridBaseRow, TValue = any>(colDef: GenericCellColDef<TData, TValue>, props: GenericCellEditorProps<GridFormEditBearingProps<TData>>) => ColDefT<TData, TValue>;
11
+ export declare const GridPopoverEditBearingCorrectionEditorParams: {
12
+ placeHolder: string;
13
+ formatValue: (value: any) => string;
14
+ 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;
15
+ };
16
+ export declare const GridPopoverEditBearingCorrection: <TData extends GridBaseRow, TValue = any>(colDef: GenericCellColDef<TData, TValue>, props: GenericCellEditorProps<GridFormEditBearingProps<TData>>) => ColDefT<TData, TValue>;
@@ -1,5 +1,5 @@
1
- import { GridBaseRow } from "../Grid";
2
- import { ColDefT, GenericCellEditorProps } from "../GridCell";
3
- import { GridFormDropDownProps } from "../gridForm/GridFormDropDown";
4
- import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
5
- export declare const GridPopoverEditDropDown: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType>, props: GenericCellEditorProps<GridFormDropDownProps<RowType>>) => ColDefT<RowType>;
1
+ import { GridBaseRow } from "../Grid";
2
+ import { ColDefT, GenericCellEditorProps } from "../GridCell";
3
+ import { GridFormDropDownProps } from "../gridForm/GridFormDropDown";
4
+ import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
5
+ export declare const GridPopoverEditDropDown: <TData extends GridBaseRow, TValue = any>(colDef: GenericCellColDef<TData, TValue>, props: GenericCellEditorProps<GridFormDropDownProps<TData>>) => ColDefT<TData, TValue>;
@@ -1,8 +1,8 @@
1
- import { GridBaseRow } from "../Grid";
2
- import { ColDefT, GenericCellEditorProps } from "../GridCell";
3
- import { GridFormPopoverMenuProps } from "../gridForm/GridFormPopoverMenu";
4
- import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
5
- /**
6
- * Popout burger menu
7
- */
8
- export declare const GridPopoverMenu: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType>, custom: GenericCellEditorProps<GridFormPopoverMenuProps<RowType>>) => ColDefT<RowType>;
1
+ import { GridBaseRow } from "../Grid";
2
+ import { ColDefT, GenericCellEditorProps } from "../GridCell";
3
+ import { GridFormPopoverMenuProps } from "../gridForm/GridFormPopoverMenu";
4
+ import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
5
+ /**
6
+ * Popout burger menu
7
+ */
8
+ export declare const GridPopoverMenu: <TData extends GridBaseRow>(colDef: GenericCellColDef<TData>, custom: GenericCellEditorProps<GridFormPopoverMenuProps<TData>>) => ColDefT<TData>;
@@ -1,5 +1,5 @@
1
- import { GridBaseRow } from "../Grid";
2
- import { ColDefT, GenericCellEditorProps } from "../GridCell";
3
- import { GridFormMessageProps } from "../gridForm/GridFormMessage";
4
- import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
5
- export declare const GridPopoverMessage: <RowType extends GridBaseRow>(colDef: GenericCellColDef<RowType>, props: GenericCellEditorProps<GridFormMessageProps<RowType>>) => ColDefT<RowType>;
1
+ import { GridBaseRow } from "../Grid";
2
+ import { ColDefT, GenericCellEditorProps } from "../GridCell";
3
+ import { GridFormMessageProps } from "../gridForm/GridFormMessage";
4
+ import { GenericCellColDef } from "../gridRender/GridRenderGenericCell";
5
+ export declare const GridPopoverMessage: <TData extends GridBaseRow, TValue = any>(colDef: GenericCellColDef<TData, TValue>, props: GenericCellEditorProps<GridFormMessageProps<TData>>) => ColDefT<TData, TValue>;