@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.
- package/baseEditorComponent.d.ts +7 -2
- package/commonjs/react-handsontable.js +169 -242
- package/dist/react-handsontable.js +170 -243
- package/dist/react-handsontable.js.map +1 -1
- package/dist/react-handsontable.min.js +2 -2
- package/dist/react-handsontable.min.js.map +1 -1
- package/editorsPortalManager.d.ts +12 -0
- package/es/react-handsontable.mjs +169 -242
- package/helpers.d.ts +6 -22
- package/hotColumn.d.ts +10 -32
- package/hotTable.d.ts +18 -40
- package/package.json +9 -9
- package/renderersPortalManager.d.ts +12 -0
- package/portalManager.d.ts +0 -10
package/baseEditorComponent.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Handsontable from 'handsontable/base';
|
|
3
3
|
import { HotEditorProps } from './types';
|
|
4
|
-
|
|
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
|
-
|
|
21
|
+
componentDidMount(): void;
|
|
22
|
+
componentDidUpdate(): void;
|
|
18
23
|
private _fireCallbacks;
|
|
19
24
|
beginEditing(...args: any[]): any;
|
|
20
25
|
cancelChanges(...args: any[]): any;
|