@jiaozhiye/qm-design-react 1.7.9 → 1.7.10

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.
@@ -26,7 +26,7 @@ type IProps = TreeProps & {
26
26
  onDragChange?: (info: any, data: IRecord) => void;
27
27
  };
28
28
  type SearchTreeRef = {
29
- INSERT_RECORD: (parentKey: React.Key, record: IRecord) => void;
29
+ INSERT_RECORD: (parentKey: React.Key, record: IRecord | IRecord[]) => void;
30
30
  REMOVE_RECORD: (key: React.Key) => void;
31
31
  UPDATE_RECORD: (key: React.Key, record: IRecord) => void;
32
32
  };
@@ -141,6 +141,8 @@ export declare const propTypes: {
141
141
  spanMethod: PropTypes.Requireable<(...args: any[]) => any>;
142
142
  rowDraggable: PropTypes.Requireable<boolean>;
143
143
  dragMergeCell: PropTypes.Requireable<boolean>;
144
+ initialSorter: PropTypes.Requireable<object>;
145
+ initialFilter: PropTypes.Requireable<object>;
144
146
  rowSelection: PropTypes.Requireable<PropTypes.InferProps<{
145
147
  type: PropTypes.Validator<string>;
146
148
  defaultSelectedRowKeys: PropTypes.Requireable<any[]>;
@@ -346,6 +346,8 @@ export type ITableProps = {
346
346
  }) => IRowColSpan | [number, number];
347
347
  dragMergeCell?: boolean;
348
348
  rowDraggable?: boolean;
349
+ initialSorter?: ISorter;
350
+ initialFilter?: IFilter;
349
351
  rowSelection?: IRowSelection;
350
352
  rowHighlight?: IRowHighlight;
351
353
  treeConfig?: ITreeConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jiaozhiye/qm-design-react",
3
- "version": "1.7.9",
3
+ "version": "1.7.10",
4
4
  "description": "A Component Library for React",
5
5
  "keywords": [
6
6
  "React",