antd-form-document 4.0.3 → 4.0.5
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/README.md +62 -62
- package/dist/index.tsx +1 -1
- package/dist/index.tsx.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,64 +6,64 @@
|
|
|
6
6
|
|
|
7
7
|
<!-- code_chunk_output -->
|
|
8
8
|
|
|
9
|
-
- [Antd-Form-Document](#antd-form-document)
|
|
10
|
-
- [一、安装](
|
|
11
|
-
- [二、示例](
|
|
12
|
-
- [XML Document 格式](#xml-document-格式)
|
|
13
|
-
- [三、XML 文档说明](
|
|
14
|
-
- [表单](#表单)
|
|
15
|
-
- [Form](#form)
|
|
16
|
-
- [容器](#容器)
|
|
17
|
-
- [Row](#row)
|
|
18
|
-
- [Col](#col)
|
|
19
|
-
- [Divider](#divider)
|
|
20
|
-
- [Steps](#steps)
|
|
21
|
-
- [Step](#step)
|
|
22
|
-
- [Content](#content)
|
|
23
|
-
- [Collapse](#collapse)
|
|
24
|
-
- [Tabs](#tabs)
|
|
25
|
-
- [Card](#card)
|
|
26
|
-
- [组件](#组件)
|
|
27
|
-
- [Label](#label)
|
|
28
|
-
- [Tooltip](#tooltip)
|
|
29
|
-
- [Text](#text)
|
|
30
|
-
- [TextArea](#textarea)
|
|
31
|
-
- [Number](#number)
|
|
32
|
-
- [Editor](#editor)
|
|
33
|
-
- [Select](#select)
|
|
34
|
-
- [Checkbox](#checkbox)
|
|
35
|
-
- [Radio](#radio)
|
|
36
|
-
- [Switch](#switch)
|
|
37
|
-
- [Duration](#duration)
|
|
38
|
-
- [DatePicker](#datepicker)
|
|
39
|
-
- [TimePicker](#timepicker)
|
|
40
|
-
- [RangePicker](#rangepicker)
|
|
41
|
-
- [Upload](#upload)
|
|
42
|
-
- [Photo](#photo)
|
|
43
|
-
- [SuperUpload](#superupload)
|
|
44
|
-
- [Table](#table)
|
|
45
|
-
- [Columns](#columns)
|
|
46
|
-
- [Column](#column)
|
|
47
|
-
- [FormList](#formlist)
|
|
48
|
-
- [Columns](#columns-1)
|
|
49
|
-
- [Column](#column-1)
|
|
50
|
-
- [注:](#注)
|
|
51
|
-
- [控件](#控件)
|
|
52
|
-
- [Validates](#validates)
|
|
53
|
-
- [Validate](#validate)
|
|
54
|
-
- [Conditions](#conditions)
|
|
55
|
-
- [Condition](#condition)
|
|
56
|
-
- [Collection](#collection)
|
|
57
|
-
- [Compute](#compute)
|
|
58
|
-
- [Options](#options)
|
|
59
|
-
- [Option](#option)
|
|
60
|
-
- [四、应用](
|
|
61
|
-
- [FormDocument标签](#formdocument标签)
|
|
62
|
-
- [Config配置](#config配置)
|
|
63
|
-
- [自定义组件](#自定义组件)
|
|
64
|
-
- [Department](#department)
|
|
65
|
-
- [UploadList](#uploadlist)
|
|
66
|
-
- [Sign](#sign)
|
|
9
|
+
- [Antd-Form-Document](#antd-form-document)
|
|
10
|
+
- [一、安装](#一-安装)
|
|
11
|
+
- [二、示例](#二-示例)
|
|
12
|
+
- [XML Document 格式](#xml-document-格式)
|
|
13
|
+
- [三、XML 文档说明](#三-xml-文档说明)
|
|
14
|
+
- [表单](#表单)
|
|
15
|
+
- [Form](#form)
|
|
16
|
+
- [容器](#容器)
|
|
17
|
+
- [Row](#row)
|
|
18
|
+
- [Col](#col)
|
|
19
|
+
- [Divider](#divider)
|
|
20
|
+
- [Steps](#steps)
|
|
21
|
+
- [Step](#step)
|
|
22
|
+
- [Content](#content)
|
|
23
|
+
- [Collapse](#collapse)
|
|
24
|
+
- [Tabs](#tabs)
|
|
25
|
+
- [Card](#card)
|
|
26
|
+
- [组件](#组件)
|
|
27
|
+
- [Label](#label)
|
|
28
|
+
- [Tooltip](#tooltip)
|
|
29
|
+
- [Text](#text)
|
|
30
|
+
- [TextArea](#textarea)
|
|
31
|
+
- [Number](#number)
|
|
32
|
+
- [Editor](#editor)
|
|
33
|
+
- [Select](#select)
|
|
34
|
+
- [Checkbox](#checkbox)
|
|
35
|
+
- [Radio](#radio)
|
|
36
|
+
- [Switch](#switch)
|
|
37
|
+
- [Duration](#duration)
|
|
38
|
+
- [DatePicker](#datepicker)
|
|
39
|
+
- [TimePicker](#timepicker)
|
|
40
|
+
- [RangePicker](#rangepicker)
|
|
41
|
+
- [Upload](#upload)
|
|
42
|
+
- [Photo](#photo)
|
|
43
|
+
- [SuperUpload](#superupload)
|
|
44
|
+
- [Table](#table)
|
|
45
|
+
- [Columns](#columns)
|
|
46
|
+
- [Column](#column)
|
|
47
|
+
- [FormList](#formlist)
|
|
48
|
+
- [Columns](#columns-1)
|
|
49
|
+
- [Column](#column-1)
|
|
50
|
+
- [注:](#注)
|
|
51
|
+
- [控件](#控件)
|
|
52
|
+
- [Validates](#validates)
|
|
53
|
+
- [Validate](#validate)
|
|
54
|
+
- [Conditions](#conditions)
|
|
55
|
+
- [Condition](#condition)
|
|
56
|
+
- [Collection](#collection)
|
|
57
|
+
- [Compute](#compute)
|
|
58
|
+
- [Options](#options)
|
|
59
|
+
- [Option](#option)
|
|
60
|
+
- [四、应用](#四-应用)
|
|
61
|
+
- [FormDocument标签](#formdocument标签)
|
|
62
|
+
- [Config配置](#config配置)
|
|
63
|
+
- [自定义组件](#自定义组件)
|
|
64
|
+
- [Department](#department)
|
|
65
|
+
- [UploadList](#uploadlist)
|
|
66
|
+
- [Sign](#sign)
|
|
67
67
|
|
|
68
68
|
<!-- /code_chunk_output -->
|
|
69
69
|
|
|
@@ -874,7 +874,7 @@ const App = () => {
|
|
|
874
874
|
| title | 字段标题 | string | - | ✓ |
|
|
875
875
|
| action | 暂缺 | string | - | ✓ |
|
|
876
876
|
| multiple | 暂缺 | boolean | false | - |
|
|
877
|
-
| maxCount | 最大上传文件个数 | number | - |
|
|
877
|
+
| maxCount | 最大上传文件个数 | number | - | ✓ |
|
|
878
878
|
| fileSize | 单个文件最大字节;`1B`、`1KB`、`1MB`、`1GB`、`1TB`、`1PB` | string | - | |
|
|
879
879
|
| fileType | 上传文件类型;[mime-type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept) | string | - | |
|
|
880
880
|
| fileTypeMessage | 上传文件类型提示说明 | string | - | |
|
|
@@ -905,7 +905,7 @@ const App = () => {
|
|
|
905
905
|
| --------------- | ------------------------------------------------------------------------------------------------------ | ------- | ------ | ------ |
|
|
906
906
|
| code | 字段编号全局唯一 | string | - | ✓ |
|
|
907
907
|
| title | 字段标题 | string | - | ✓ |
|
|
908
|
-
| maxCount | 最大上传文件个数 | number | - |
|
|
908
|
+
| maxCount | 最大上传文件个数 | number | - | ✓ |
|
|
909
909
|
| fileSize | 单个文件最大字节;`1B`、`1KB`、`1MB`、`1GB`、`1TB`、`1PB` | string | - | |
|
|
910
910
|
| fileWidth | 文件宽度比 | number | 100 | |
|
|
911
911
|
| fileHeight | 文件高度比 | number | 100 | |
|
|
@@ -939,7 +939,7 @@ const App = () => {
|
|
|
939
939
|
| title | 字段标题 | string | - | ✓ |
|
|
940
940
|
| action | 暂缺 | string | - | ✓ |
|
|
941
941
|
| multiple | 暂缺 | boolean | false | - |
|
|
942
|
-
| maxCount | 最大上传文件个数 | number | - |
|
|
942
|
+
| maxCount | 最大上传文件个数 | number | - | ✓ |
|
|
943
943
|
| fileSize | 单个文件最大字节;`1B`、`1KB`、`1MB`、`1GB`、`1TB`、`1PB` | string | - | |
|
|
944
944
|
| fileType | 上传文件类型;[mime-type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept) | string | - | |
|
|
945
945
|
| fileTypeMessage | 上传文件类型提示说明 | string | - | |
|
|
@@ -1325,7 +1325,7 @@ export default defineConfig({
|
|
|
1325
1325
|
| --------------- | ------------------------------------------------------------------------------------------------------ | ------- | ------ | ------ |
|
|
1326
1326
|
| code | 字段编号全局唯一 | string | - | ✓ |
|
|
1327
1327
|
| title | 字段标题 | string | - | ✓ |
|
|
1328
|
-
| maxCount | 最大上传文件个数 | number | - |
|
|
1328
|
+
| maxCount | 最大上传文件个数 | number | - | ✓ |
|
|
1329
1329
|
| fileSize | 单个文件最大字节;`1B`、`1KB`、`1MB`、`1GB`、`1TB`、`1PB` | string | - | |
|
|
1330
1330
|
| fileType | 上传文件类型;[mime-type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept) | string | - | |
|
|
1331
1331
|
| fileTypeMessage | 上传文件类型提示说明 | string | - | |
|