@jiaozhiye/qm-design-react 1.7.19 → 1.7.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/anchor/index.d.ts +2 -2
- package/lib/anchor/src/anchor-item.d.ts +1 -1
- package/lib/anchor/src/anchor.d.ts +1 -1
- package/lib/button/index.d.ts +1 -1
- package/lib/button/src/button.d.ts +3 -3
- package/lib/collapse/index.d.ts +1 -1
- package/lib/collapse/src/collapse.d.ts +1 -1
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/config-provider/src/config-provider.d.ts +1 -1
- package/lib/copy-to-clipboard/index.d.ts +1 -1
- package/lib/copy-to-clipboard/src/copy-to-clipboard.d.ts +1 -1
- package/lib/countup/index.d.ts +1 -1
- package/lib/countup/src/countup.d.ts +1 -1
- package/lib/cropper/index.d.ts +1 -1
- package/lib/cropper/src/cropper.d.ts +1 -1
- package/lib/divider/index.d.ts +1 -1
- package/lib/divider/src/divider.d.ts +1 -1
- package/lib/download/index.d.ts +1 -1
- package/lib/download/src/download.d.ts +1 -1
- package/lib/drawer/index.d.ts +1 -1
- package/lib/drawer/src/drawer.d.ts +3 -3
- package/lib/drawer/style/index.less +2 -2
- package/lib/empty/index.d.ts +1 -1
- package/lib/empty/src/empty.d.ts +3 -3
- package/lib/form/index.d.ts +2 -2
- package/lib/form/src/form.d.ts +3 -3
- package/lib/index.d.ts +29 -29
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/modal/index.d.ts +1 -1
- package/lib/modal/src/modal.d.ts +3 -3
- package/lib/modal/style/index.less +2 -2
- package/lib/print/index.d.ts +1 -1
- package/lib/print/src/print.d.ts +1 -1
- package/lib/range-table-helper/index.d.ts +1 -1
- package/lib/range-table-helper/src/range-table-helper.d.ts +1 -1
- package/lib/scrollbar/index.d.ts +1 -1
- package/lib/scrollbar/src/scrollbar.d.ts +1 -1
- package/lib/search-helper/index.d.ts +1 -1
- package/lib/search-helper/src/search-helper.d.ts +1 -1
- package/lib/search-tree/index.d.ts +1 -1
- package/lib/search-tree/src/search-tree.d.ts +1 -1
- package/lib/space/index.d.ts +1 -1
- package/lib/space/src/space.d.ts +3 -3
- package/lib/spin/index.d.ts +1 -1
- package/lib/spin/src/spin.d.ts +3 -3
- package/lib/split/index.d.ts +2 -2
- package/lib/split/src/split-pane.d.ts +1 -1
- package/lib/split/src/split.d.ts +3 -3
- package/lib/style/index.css +4 -4
- package/lib/style/index.min.css +1 -1
- package/lib/style/themes/default.less +1 -1
- package/lib/table/index.d.ts +2 -2
- package/lib/table/src/pager/index.d.ts +0 -2
- package/lib/table/src/table/index.d.ts +1 -1
- package/lib/table/src/table/types.d.ts +0 -4
- package/lib/tabs/index.d.ts +2 -2
- package/lib/tabs/src/tab-pane.d.ts +3 -3
- package/lib/tabs/src/tabs.d.ts +3 -3
- package/lib/tinymce/index.d.ts +1 -1
- package/lib/tinymce/src/index.d.ts +1 -1
- package/lib/transition/index.d.ts +1 -1
- package/lib/transition/src/transition.d.ts +1 -1
- package/lib/tree-helper/index.d.ts +1 -1
- package/lib/tree-helper/src/tree-helper.d.ts +1 -1
- package/lib/tree-table-helper/index.d.ts +1 -1
- package/lib/tree-table-helper/src/tree-table-helper.d.ts +1 -1
- package/lib/upload-file/index.d.ts +1 -1
- package/lib/upload-file/src/upload-file.d.ts +1 -1
- package/lib/upload-img/index.d.ts +1 -1
- package/lib/upload-img/src/upload-img.d.ts +1 -1
- package/package.json +1 -1
package/lib/table/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import Table from './src/table';
|
|
2
|
-
export type {
|
|
3
|
-
export type { TableRef
|
|
2
|
+
export type { TableProps } from './src/table';
|
|
3
|
+
export type { TableRef, IColumn as TableColumn } from './src/table/types';
|
|
4
4
|
export default Table;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { IPaginationConfig } from '../table/types';
|
|
3
2
|
type IPagerProps = {
|
|
4
3
|
current: number;
|
|
5
4
|
pageSize: number;
|
|
6
5
|
total: number;
|
|
7
|
-
config?: Pick<IPaginationConfig, 'pageSizeOptions' | 'showSizeChanger' | 'showQuickJumper'>;
|
|
8
6
|
onChange: (current: number, pageSize: number) => void;
|
|
9
7
|
};
|
|
10
8
|
declare const TablePager: React.FC<IPagerProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ITableProps, TableRef } from './types';
|
|
3
|
-
export type
|
|
3
|
+
export type TableProps = ITableProps;
|
|
4
4
|
declare const Table: React.ForwardRefExoticComponent<ITableProps & React.RefAttributes<TableRef>>;
|
|
5
5
|
export default Table;
|
|
@@ -200,10 +200,6 @@ export type ITreeConfig = {
|
|
|
200
200
|
virtual?: boolean;
|
|
201
201
|
expandIconColumn?: string;
|
|
202
202
|
};
|
|
203
|
-
export type ITreeExpand = {
|
|
204
|
-
rowKey: IRowKey;
|
|
205
|
-
level: number;
|
|
206
|
-
};
|
|
207
203
|
export type IExpandable = {
|
|
208
204
|
defaultExpandAllRows?: boolean;
|
|
209
205
|
defaultExpandedRowKeys?: IRowKey[];
|
package/lib/tabs/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import type { TabPaneProps } from '../../antd';
|
|
3
|
-
type IProps =
|
|
4
|
-
export type
|
|
2
|
+
import type { TabPaneProps as AntTabPaneProps } from '../../antd';
|
|
3
|
+
type IProps = AntTabPaneProps;
|
|
4
|
+
export type TabPaneProps = IProps;
|
|
5
5
|
declare class QmTabPane extends Component<IProps> {
|
|
6
6
|
static displayName: string;
|
|
7
7
|
render(): React.JSX.Element;
|
package/lib/tabs/src/tabs.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import type { IAuth } from '../../_utils/types';
|
|
3
|
-
import type { TabsProps } from '../../antd';
|
|
4
|
-
type IProps =
|
|
3
|
+
import type { TabsProps as AntTabsProps } from '../../antd';
|
|
4
|
+
type IProps = AntTabsProps & {
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
authConfig?: {
|
|
7
7
|
fieldList?: IAuth[];
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
|
-
export type
|
|
10
|
+
export type TabsProps = IProps;
|
|
11
11
|
declare class QmTabs extends Component<IProps> {
|
|
12
12
|
static TabPane: React.ClassicComponentClass<import("rc-tabs/lib/TabPanelList/TabPane").TabPaneProps>;
|
|
13
13
|
static contextType: React.Context<import("../../config-provider/context").IConfig>;
|
package/lib/tinymce/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ type IProps = {
|
|
|
18
18
|
style?: CSSProperties;
|
|
19
19
|
onChange?: (value: string) => void;
|
|
20
20
|
};
|
|
21
|
-
export type
|
|
21
|
+
export type TinymceProps = IProps;
|
|
22
22
|
declare class QmTinymce extends Component<IProps> {
|
|
23
23
|
static contextType: React.Context<import("../../config-provider/context").IConfig>;
|
|
24
24
|
static propTypes: {
|
|
@@ -26,6 +26,6 @@ type IProps = {
|
|
|
26
26
|
};
|
|
27
27
|
onClose: (data: IRecord | null, keys?: IRowKey[]) => void;
|
|
28
28
|
};
|
|
29
|
-
export type
|
|
29
|
+
export type TreeTableHelperProps = IProps;
|
|
30
30
|
declare const TreeTableHelper: React.FC<IProps>;
|
|
31
31
|
export default TreeTableHelper;
|
|
@@ -13,7 +13,7 @@ type IState = {
|
|
|
13
13
|
previewImage: string;
|
|
14
14
|
previewTitle: string;
|
|
15
15
|
};
|
|
16
|
-
export type
|
|
16
|
+
export type UploadImgProps = IProps;
|
|
17
17
|
declare class QmUploadImg extends Component<IProps, IState> {
|
|
18
18
|
static defaultProps: {
|
|
19
19
|
name: string;
|