@jiaozhiye/qm-design-react 1.10.0 → 1.10.1
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 +4 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/style/index.css +12 -0
- package/lib/style/index.min.css +1 -1
- package/lib/upload-file/src/upload-file.d.ts +18 -2
- package/lib/upload-file/style/index.less +11 -0
- package/lib/upload-img/src/upload-img.d.ts +7 -1
- package/lib/upload-img/style/index.less +3 -0
- package/package.json +2 -2
package/lib/form/src/types.d.ts
CHANGED
|
@@ -183,11 +183,15 @@ export type IFormItem = {
|
|
|
183
183
|
maxCount?: number;
|
|
184
184
|
fileTypes?: string[];
|
|
185
185
|
fileSize?: number;
|
|
186
|
+
draggable?: boolean;
|
|
187
|
+
editable?: boolean;
|
|
186
188
|
fileDirection?: IFormLayout;
|
|
187
189
|
showTip?: boolean;
|
|
188
190
|
openCropper?: boolean;
|
|
189
191
|
onPreview?: (file: UploadFile, cb: (file?: UploadFile) => void) => void;
|
|
190
192
|
onRemove?: (file: UploadFile) => void;
|
|
193
|
+
onSortChange?: (fileList: UploadFile[]) => void;
|
|
194
|
+
onEditChange?: (file: UploadFile, fileList: UploadFile[]) => void;
|
|
191
195
|
fixedSize?: [number, number] | undefined;
|
|
192
196
|
quality?: number;
|
|
193
197
|
tinymce?: Record<string, any>;
|