@jiaozhiye/qm-design-react 1.7.9 → 1.7.11
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/lib/drawer/src/drawer.d.ts +1 -0
- package/lib/form/src/utils.d.ts +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/modal/src/modal.d.ts +1 -0
- package/lib/search-tree/src/search-tree.d.ts +1 -1
- package/lib/table/src/table/props.d.ts +2 -0
- package/lib/table/src/table/types.d.ts +2 -0
- package/package.json +1 -1
package/lib/modal/src/modal.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import type { ComponentSize } from '../../_utils/types';
|
|
|
4
4
|
import type { ModalProps } from '../../antd';
|
|
5
5
|
type EventType = React.MouseEvent<HTMLElement>;
|
|
6
6
|
type IProps = ModalProps & {
|
|
7
|
+
visible?: boolean;
|
|
7
8
|
size?: ComponentSize;
|
|
8
9
|
height?: number | string;
|
|
9
10
|
loading?: boolean;
|
|
@@ -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;
|