@jiaozhiye/qm-design-react 1.7.0 → 1.7.2

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.
@@ -29,6 +29,7 @@ type IExtra = {
29
29
  setHighlightKey: (rowKey: IRowKey) => void;
30
30
  setSelectionRows: (records: IRecord[]) => void;
31
31
  setOriginColumns: (columns: IColumn[]) => void;
32
+ setHandleChange: (value: boolean) => void;
32
33
  getTableLog: () => {
33
34
  required: IValidItem[];
34
35
  validate: IValidItem[];
@@ -37,6 +37,7 @@ export type ITableRef = {
37
37
  shouldToTop: boolean;
38
38
  selectionRows: IRecord[];
39
39
  recordsMap: Map<IRowKey, IRecord>;
40
+ isHandleChange: boolean;
40
41
  isOverlay: boolean;
41
42
  isIE: boolean;
42
43
  };
@@ -61,6 +62,7 @@ declare const useTableRef: <T extends ITableProps>(props: T, { getRowKey, $size
61
62
  setShouldToTop: (value: boolean) => void;
62
63
  setSelectionRows: (selectKeys: IRecord[]) => void;
63
64
  setRecordsMap: (key: IRowKey, value: IRecord) => void;
65
+ setHandleChange: (value: boolean) => void;
64
66
  setOverlay: (value: boolean) => void;
65
67
  clearElementStore: () => void;
66
68
  clearRecordsMap: () => void;
@@ -98,6 +100,7 @@ declare const useTableRef: <T extends ITableProps>(props: T, { getRowKey, $size
98
100
  shouldToTop: boolean;
99
101
  selectionRows: IRecord[];
100
102
  recordsMap: Map<IRowKey, IRecord>;
103
+ isHandleChange: boolean;
101
104
  isOverlay: boolean;
102
105
  isIE: boolean;
103
106
  tableRef: React.MutableRefObject<ITableRef>;
@@ -409,7 +409,7 @@ export type TableRef = {
409
409
  DO_EXPORT: () => void;
410
410
  SCROLL_TO_RECORD: (rowKey: IRowKey) => void;
411
411
  SCROLL_TO_COLUMN: (dataIndex: string) => void;
412
- SET_SELECTION: (rowKeys: IRowKey[]) => void;
412
+ SET_SELECTION: (rowKeys: IRowKey[], isHandleChange?: boolean) => void;
413
413
  SET_SELECTION_ROWS: (records: IRecord[]) => void;
414
414
  SET_TABLE_DATA: (records: IRecord[]) => void;
415
415
  SET_TABLE_COLUMN: (dataIndex: string, option: Record<string, any>, forceUpdate?: boolean) => void;
@@ -2,6 +2,7 @@ import React, { Component } from 'react';
2
2
  import type { IAuth } from '../../_utils/types';
3
3
  import type { TabsProps } from '../../antd';
4
4
  type IProps = TabsProps & {
5
+ children?: React.ReactNode;
5
6
  authConfig?: {
6
7
  fieldList?: IAuth[];
7
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jiaozhiye/qm-design-react",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "description": "A Component Library for React",
5
5
  "keywords": [
6
6
  "React",
@@ -125,7 +125,7 @@
125
125
  "style-loader": "^3.3.2",
126
126
  "ts-loader": "^9.4.2",
127
127
  "typescript": "^4.9.5",
128
- "webpack": "^5.82.0",
128
+ "webpack": "^5.84.0",
129
129
  "webpack-cli": "^5.1.0",
130
130
  "webpack-dev-server": "^4.15.0",
131
131
  "webpack-node-externals": "^3.0.0"