@handsontable/react 12.3.1 → 12.3.2-next-e75de58-20230322

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.
@@ -1,7 +1,11 @@
1
1
  import React from 'react';
2
2
  import Handsontable from 'handsontable/base';
3
3
  import { HotEditorProps } from './types';
4
- declare class BaseEditorComponent<P = {}, S = {}, SS = any> extends React.Component<P | HotEditorProps, S> implements Handsontable.editors.BaseEditor {
4
+ interface BaseEditorProps extends HotEditorProps {
5
+ editorColumnScope: number;
6
+ emitEditorInstance?: (editor: BaseEditorComponent, column: number) => void;
7
+ }
8
+ declare class BaseEditorComponent<P = {}, S = {}, SS = any> extends React.Component<P & BaseEditorProps, S, SS> implements Handsontable.editors.BaseEditor {
5
9
  name: string;
6
10
  instance: any;
7
11
  row: any;
@@ -14,7 +18,8 @@ declare class BaseEditorComponent<P = {}, S = {}, SS = any> extends React.Compon
14
18
  hotInstance: any;
15
19
  hotCustomEditorInstance: any;
16
20
  hot: any;
17
- constructor(props: any);
21
+ componentDidMount(): void;
22
+ componentDidUpdate(): void;
18
23
  private _fireCallbacks;
19
24
  beginEditing(...args: any[]): any;
20
25
  cancelChanges(...args: any[]): any;