@jiaozhiye/qm-design-react 1.10.10 → 1.10.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/form/src/types.d.ts +2 -1
- package/lib/index.d.ts +4 -4
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/scrollbar/index.d.ts +1 -1
- package/lib/search-tree/src/search-tree.d.ts +1 -1
- package/lib/signature/index.d.ts +1 -1
- package/lib/table/src/edit/index.d.ts +1 -0
- package/lib/table/src/hooks/useTableEffect.d.ts +3 -4
- package/lib/table/src/table/types.d.ts +1 -1
- package/lib/table/src/utils/index.d.ts +4 -1
- package/lib/upload-file/src/upload-file.d.ts +1 -1
- package/package.json +1 -1
package/lib/form/src/types.d.ts
CHANGED
|
@@ -185,11 +185,12 @@ export type IFormItem = {
|
|
|
185
185
|
fileSize?: number;
|
|
186
186
|
draggable?: boolean;
|
|
187
187
|
editable?: boolean;
|
|
188
|
-
batchDownload?: (fileList: UploadFile[]) => Promise<void> | boolean;
|
|
188
|
+
batchDownload?: ((fileList: UploadFile[]) => Promise<void>) | boolean;
|
|
189
189
|
fileDirection?: IFormLayout;
|
|
190
190
|
showTip?: boolean;
|
|
191
191
|
openCropper?: boolean;
|
|
192
192
|
onPreview?: (file: UploadFile, cb: (file?: UploadFile) => void) => void;
|
|
193
|
+
onDownload?: (file: UploadFile) => void;
|
|
193
194
|
onRemove?: (file: UploadFile) => void;
|
|
194
195
|
onSortChange?: (fileList: UploadFile[]) => void;
|
|
195
196
|
onEditChange?: (file: UploadFile, fileList: UploadFile[]) => void;
|
package/lib/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export type { EmptyProps as QmEmptyProps } from './empty';
|
|
|
16
16
|
export { default as QmEmpty } from './empty';
|
|
17
17
|
export type { SpinProps as QmSpinProps } from './spin';
|
|
18
18
|
export { default as QmSpin } from './spin';
|
|
19
|
-
export type { ScrollbarProps as QmScrollbarProps } from './scrollbar';
|
|
19
|
+
export type { ScrollbarRef as QmScrollbarRef, ScrollbarProps as QmScrollbarProps } from './scrollbar';
|
|
20
20
|
export { default as QmScrollbar } from './scrollbar';
|
|
21
21
|
export type { DownloadProps as QmDownloadProps } from './download';
|
|
22
22
|
export { default as QmDownload } from './download';
|
|
@@ -64,7 +64,7 @@ export type { WatermarkProps as QmWatermarkProps } from './watermark';
|
|
|
64
64
|
export { default as QmWatermark } from './watermark';
|
|
65
65
|
export type { LazyLoadProps as QmLazyLoadProps } from './lazy-load';
|
|
66
66
|
export { default as QmLazyLoad } from './lazy-load';
|
|
67
|
-
export type { SignatureProps as QmSignatureProps } from './signature';
|
|
67
|
+
export type { SignatureRef as QmSignatureRef, SignatureProps as QmSignatureProps } from './signature';
|
|
68
68
|
export { default as QmSignature } from './signature';
|
|
69
69
|
export type { ConfigProviderProps as DcpConfigProviderProps } from './config-provider';
|
|
70
70
|
export { default as DcpConfigProvider } from './config-provider';
|
|
@@ -84,7 +84,7 @@ export type { EmptyProps as DcpEmptyProps } from './empty';
|
|
|
84
84
|
export { default as DcpEmpty } from './empty';
|
|
85
85
|
export type { SpinProps as DcpSpinProps } from './spin';
|
|
86
86
|
export { default as DcpSpin } from './spin';
|
|
87
|
-
export type { ScrollbarProps as DcpScrollbarProps } from './scrollbar';
|
|
87
|
+
export type { ScrollbarRef as DcpScrollbarRef, ScrollbarProps as DcpScrollbarProps } from './scrollbar';
|
|
88
88
|
export { default as DcpScrollbar } from './scrollbar';
|
|
89
89
|
export type { DownloadProps as DcpDownloadProps } from './download';
|
|
90
90
|
export { default as DcpDownload } from './download';
|
|
@@ -132,7 +132,7 @@ export type { WatermarkProps as DcpWatermarkProps } from './watermark';
|
|
|
132
132
|
export { default as DcpWatermark } from './watermark';
|
|
133
133
|
export type { LazyLoadProps as DcpLazyLoadProps } from './lazy-load';
|
|
134
134
|
export { default as DcpLazyLoad } from './lazy-load';
|
|
135
|
-
export type { SignatureProps as DcpSignatureProps } from './signature';
|
|
135
|
+
export type { SignatureRef as DcpSignatureRef, SignatureProps as DcpSignatureProps } from './signature';
|
|
136
136
|
export { default as DcpSignature } from './signature';
|
|
137
137
|
export { default as pinyin } from './pinyin';
|
|
138
138
|
export { default as version } from './version';
|