caplink-saas-ui-shared-component-library 0.3.15 → 0.3.16
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/components/spreadsheet/model/spreadsheet.d.ts +3 -3
- package/dist/index.es.js +2743 -2452
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +41 -42
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MouseEvent, PropsWithChildren } from 'react';
|
|
1
|
+
import { ClipboardEvent, MouseEvent, PropsWithChildren } from 'react';
|
|
2
2
|
|
|
3
3
|
import type * as Matrix from '../model/matrix';
|
|
4
4
|
export declare const COLUMN_STRING_LIMIT = 1200;
|
|
@@ -44,7 +44,7 @@ export type DataEditor = {
|
|
|
44
44
|
point?: Matrix.Point;
|
|
45
45
|
}) => void;
|
|
46
46
|
/** Whether user paste any value on data editor */
|
|
47
|
-
onPaste?: (
|
|
47
|
+
onPaste?: (event: ClipboardEvent) => void;
|
|
48
48
|
/** Whether user blur current data editor */
|
|
49
49
|
onBlur?: () => void;
|
|
50
50
|
/** Whether user clicks current data editor */
|
|
@@ -142,7 +142,7 @@ export type Context = {
|
|
|
142
142
|
setPointRange: (pointRange: Matrix.PointRange | null) => void;
|
|
143
143
|
containerDimensions: Dimensions;
|
|
144
144
|
setContainerDimensions: (dimensions: Dimensions) => void;
|
|
145
|
-
onPaste: (point: Matrix.Point) => void;
|
|
145
|
+
onPaste: (point: Matrix.Point, event: ClipboardEvent) => void;
|
|
146
146
|
onChange: (params: {
|
|
147
147
|
data: unknown;
|
|
148
148
|
point: Matrix.Point;
|