@byteluck-fe/model-driven-controls 5.5.0-1-beta3 → 5.5.0-1-beta4

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.
@@ -3,6 +3,12 @@ import { RuleItem } from 'async-validator';
3
3
  declare const MB10 = 10485760;
4
4
  declare const MB100 = 104857600;
5
5
  declare const MB1000 = 1048576000;
6
+ interface FileOperationBtn {
7
+ id: string;
8
+ code: string;
9
+ icon: string;
10
+ name: string;
11
+ }
6
12
  declare class AttachmentControlPropertyRules extends BaseControlPropertyRules {
7
13
  maxSize: RuleItem;
8
14
  constructor(props: AttachmentProperty);
@@ -26,7 +32,7 @@ declare class AttachmentProperty extends BaseControlProperty {
26
32
  * */
27
33
  maxSize: number;
28
34
  operation: string[];
29
- customOperation: [];
35
+ customOperation: Array<FileOperationBtn>;
30
36
  constructor(props?: Partial<AttachmentProperty>);
31
37
  }
32
38
  export default AttachmentProperty;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-controls",
3
- "version": "5.5.0-1-beta3",
3
+ "version": "5.5.0-1-beta4",
4
4
  "description": "> TODO: description",
5
5
  "author": "郝晨光 <2293885211@qq.com>",
6
6
  "homepage": "",
@@ -31,5 +31,5 @@
31
31
  "@byteluck-fe/model-driven-shared": "5.5.0-1-beta2",
32
32
  "async-validator": "3.5.1"
33
33
  },
34
- "gitHead": "bc89e671f0ed305a8014adfcd9c45d98d92973ee"
34
+ "gitHead": "bd8d31054b3b3d8ccb57c2c7a021d6a42d59a20d"
35
35
  }