@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.
@@ -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>;
@@ -202,6 +202,7 @@ export type IRowHighlight = {
202
202
  };
203
203
  export type ITableConfig = {
204
204
  virtual?: boolean;
205
+ doubleXScrollbar?: boolean;
205
206
  };
206
207
  export type ITreeConfig = {
207
208
  virtual?: 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jiaozhiye/qm-design-react",
3
- "version": "1.9.20",
3
+ "version": "1.9.21",
4
4
  "description": "A Component Library for React",
5
5
  "keywords": [
6
6
  "React",