@jiaozhiye/qm-design-react 1.9.24 → 1.9.25

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.
@@ -201,6 +201,7 @@ export declare const propTypes: {
201
201
  areaSelection: PropTypes.Requireable<PropTypes.InferProps<{
202
202
  cellMerge: PropTypes.Requireable<boolean>;
203
203
  onCellMerge: PropTypes.Requireable<(...args: any[]) => any>;
204
+ onSelectChange: PropTypes.Requireable<(...args: any[]) => any>;
204
205
  }>>;
205
206
  summation: PropTypes.Requireable<PropTypes.InferProps<{
206
207
  groupItems: PropTypes.Requireable<(PropTypes.InferProps<{
@@ -29,14 +29,15 @@ export declare const TIME_FORMAT = "HH:mm:ss";
29
29
  export declare const DEFAULT_FILENAME_FORMAT = "YYYYMMDDHHmmss";
30
30
  export declare const BUILT_IN_PLACEMENTS: BuildInPlacements;
31
31
  export type IClicked = [IRowKey, string] | [];
32
+ export type ICell = {
33
+ rowKey: IRowKey;
34
+ dataIndex: string;
35
+ };
32
36
  export type IRowColSpan = {
33
37
  rowSpan: number;
34
38
  colSpan: number;
35
39
  };
36
- export type IMergedCell = {
37
- rowKey: IRowKey;
38
- dataIndex: string;
39
- } & IRowColSpan;
40
+ export type IMergedCell = ICell & IRowColSpan;
40
41
  export type IMergeCellItem = {
41
42
  row: number;
42
43
  col: number;
@@ -224,6 +225,7 @@ export type IExpandable = {
224
225
  export type IAreaSelection = {
225
226
  cellMerge?: boolean;
226
227
  onCellMerge?: (cells: IMergedCell[]) => void;
228
+ onSelectChange?: (cells: ICell[]) => void;
227
229
  };
228
230
  export type ISummation = {
229
231
  groupItems?: Array<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jiaozhiye/qm-design-react",
3
- "version": "1.9.24",
3
+ "version": "1.9.25",
4
4
  "description": "A Component Library for React",
5
5
  "keywords": [
6
6
  "React",