@jiaozhiye/qm-design-react 1.9.20 → 1.9.21
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/_utils/with-default-props.d.ts +1 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/scrollbar/src/scrollbar.d.ts +1 -0
- package/lib/scrollbar/src/thumb.d.ts +1 -0
- package/lib/scrollbar/style/index.less +76 -72
- package/lib/style/index.css +4 -0
- package/lib/style/index.min.css +1 -1
- package/lib/table/src/hooks/useTableEffect.d.ts +0 -3
- package/lib/table/src/table/props.d.ts +1 -0
- package/lib/table/src/table/types.d.ts +1 -0
- package/lib/table/src/utils/index.d.ts +0 -3
- package/package.json +1 -1
|
@@ -4,8 +4,6 @@ import type { TableBodyRef, IColumn, IPagination, IRowKey, ITableProps, IDeriveR
|
|
|
4
4
|
import type { ComponentSize } from '../../../_utils/types';
|
|
5
5
|
type IExtra = {
|
|
6
6
|
tableRef: React.MutableRefObject<ITableRef>;
|
|
7
|
-
topElementRef: React.RefObject<HTMLDivElement>;
|
|
8
|
-
tableElementRef: React.RefObject<HTMLDivElement>;
|
|
9
7
|
tableBodyRef: React.RefObject<TableBodyRef>;
|
|
10
8
|
$size: ComponentSize;
|
|
11
9
|
scrollX: boolean;
|
|
@@ -35,7 +33,6 @@ type IExtra = {
|
|
|
35
33
|
calcTableHeight: () => void;
|
|
36
34
|
createSelectionKeys: (rowKeys?: IRowKey[]) => IRowKey[];
|
|
37
35
|
createRowExpandedKeys: (rowKeys?: IRowKey[]) => IRowKey[];
|
|
38
|
-
createElementStore: (option: Record<string, HTMLElement>) => void;
|
|
39
36
|
initialTable: () => void;
|
|
40
37
|
destroy: () => void;
|
|
41
38
|
};
|
|
@@ -182,6 +182,7 @@ export declare const propTypes: {
|
|
|
182
182
|
}>>;
|
|
183
183
|
tableConfig: PropTypes.Requireable<PropTypes.InferProps<{
|
|
184
184
|
virtual: PropTypes.Requireable<boolean>;
|
|
185
|
+
doubleXScrollbar: PropTypes.Requireable<boolean>;
|
|
185
186
|
}>>;
|
|
186
187
|
treeConfig: PropTypes.Requireable<PropTypes.InferProps<{
|
|
187
188
|
virtual: PropTypes.Requireable<boolean>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import dayjs, { Dayjs } from 'dayjs';
|
|
3
|
-
import { hasOwn } from '../../../_utils/util';
|
|
4
3
|
import type { IColumn, IDerivedRowKey, IRecord, IRowKey, ISorter } from '../table/types';
|
|
5
4
|
import type { Nullable, AnyObject } from '../../../_utils/types';
|
|
6
|
-
export { hasOwn };
|
|
7
5
|
export declare const columnsFlatMap: (columns: IColumn[]) => IColumn[];
|
|
8
6
|
export declare const createFilterColumns: (columns: IColumn[]) => IColumn[];
|
|
9
7
|
export declare const getAllColumns: (columns: IColumn[]) => IColumn[];
|
|
@@ -53,4 +51,3 @@ export declare const sortableFormatter: <T>(items: T[]) => T[];
|
|
|
53
51
|
* @returns
|
|
54
52
|
*/
|
|
55
53
|
export declare const equalFn: <T = any>(obj1: T, obj2: T, shallow?: boolean) => boolean;
|
|
56
|
-
export declare const withDefaultProps: <T extends object>(defaultProps: T, props: Partial<T>) => T;
|