antd-form-document 5.0.9 → 5.0.10
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 +64 -60
- package/dist/index.tsx +1 -1
- package/dist/index.tsx.map +1 -1
- package/dist/src/applets/index.d.ts.map +1 -1
- package/dist/src/config.d.ts.map +1 -1
- package/dist/src/preview/index.d.ts.map +1 -1
- package/dist/src/service/UIListComponent.d.ts.map +1 -1
- package/dist/src/utils/loading.d.ts.map +1 -1
- package/package.json +29 -29
package/README.md
CHANGED
|
@@ -6,66 +6,66 @@
|
|
|
6
6
|
|
|
7
7
|
<!-- code_chunk_output -->
|
|
8
8
|
|
|
9
|
-
- [一、安装](#一-安装)
|
|
10
|
-
- [二、示例](#二-示例)
|
|
11
|
-
- [XML Document 格式](#xml-document-格式)
|
|
12
|
-
- [三、XML 文档说明](#三-xml-文档说明)
|
|
13
|
-
- [表单](#表单)
|
|
14
|
-
- [Form](#form)
|
|
15
|
-
- [容器](#容器)
|
|
16
|
-
- [Row](#row)
|
|
17
|
-
- [Col](#col)
|
|
18
|
-
- [Divider](#divider)
|
|
19
|
-
- [Steps](#steps)
|
|
20
|
-
- [Step](#step)
|
|
21
|
-
- [Content](#content)
|
|
22
|
-
- [Collapse](#collapse)
|
|
23
|
-
- [Tabs](#tabs)
|
|
24
|
-
- [Card](#card)
|
|
25
|
-
- [组件](#组件)
|
|
26
|
-
- [Label](#label)
|
|
27
|
-
- [Tooltip](#tooltip)
|
|
28
|
-
- [Text](#text)
|
|
29
|
-
- [TextArea](#textarea)
|
|
30
|
-
- [Number](#number)
|
|
31
|
-
- [Editor](#editor)
|
|
32
|
-
- [Select](#select)
|
|
33
|
-
- [Checkbox](#checkbox)
|
|
34
|
-
- [Radio](#radio)
|
|
35
|
-
- [Switch](#switch)
|
|
36
|
-
- [Duration](#duration)
|
|
37
|
-
- [DatePicker](#datepicker)
|
|
38
|
-
- [TimePicker](#timepicker)
|
|
39
|
-
- [RangePicker](#rangepicker)
|
|
40
|
-
- [Rate](#rate)
|
|
41
|
-
- [Upload](#upload)
|
|
42
|
-
- [Photo](#photo)
|
|
43
|
-
- [Audio](#audio)
|
|
44
|
-
- [Video](#video)
|
|
45
|
-
- [SuperUpload](#superupload)
|
|
46
|
-
- [Table](#table)
|
|
47
|
-
- [Columns](#columns)
|
|
48
|
-
- [Column](#column)
|
|
49
|
-
- [FormList](#formlist)
|
|
50
|
-
- [Columns](#columns-1)
|
|
51
|
-
- [Column](#column-1)
|
|
52
|
-
- [注:](#注)
|
|
53
|
-
- [控件](#控件)
|
|
54
|
-
- [Validates](#validates)
|
|
55
|
-
- [Validate](#validate)
|
|
56
|
-
- [Conditions](#conditions)
|
|
57
|
-
- [Condition](#condition)
|
|
58
|
-
- [Collection](#collection)
|
|
59
|
-
- [Compute](#compute)
|
|
60
|
-
- [Options](#options)
|
|
61
|
-
- [Option](#option)
|
|
62
|
-
- [四、应用](#四-应用)
|
|
63
|
-
- [FormDocument标签](#formdocument标签)
|
|
64
|
-
- [Config配置](#config配置)
|
|
65
|
-
- [自定义组件](#自定义组件)
|
|
66
|
-
- [Department](#department)
|
|
67
|
-
- [UploadList](#uploadlist)
|
|
68
|
-
- [Sign](#sign)
|
|
9
|
+
- [一、安装](#一-安装)
|
|
10
|
+
- [二、示例](#二-示例)
|
|
11
|
+
- [XML Document 格式](#xml-document-格式)
|
|
12
|
+
- [三、XML 文档说明](#三-xml-文档说明)
|
|
13
|
+
- [表单](#表单)
|
|
14
|
+
- [Form](#form)
|
|
15
|
+
- [容器](#容器)
|
|
16
|
+
- [Row](#row)
|
|
17
|
+
- [Col](#col)
|
|
18
|
+
- [Divider](#divider)
|
|
19
|
+
- [Steps](#steps)
|
|
20
|
+
- [Step](#step)
|
|
21
|
+
- [Content](#content)
|
|
22
|
+
- [Collapse](#collapse)
|
|
23
|
+
- [Tabs](#tabs)
|
|
24
|
+
- [Card](#card)
|
|
25
|
+
- [组件](#组件)
|
|
26
|
+
- [Label](#label)
|
|
27
|
+
- [Tooltip](#tooltip)
|
|
28
|
+
- [Text](#text)
|
|
29
|
+
- [TextArea](#textarea)
|
|
30
|
+
- [Number](#number)
|
|
31
|
+
- [Editor](#editor)
|
|
32
|
+
- [Select](#select)
|
|
33
|
+
- [Checkbox](#checkbox)
|
|
34
|
+
- [Radio](#radio)
|
|
35
|
+
- [Switch](#switch)
|
|
36
|
+
- [Duration](#duration)
|
|
37
|
+
- [DatePicker](#datepicker)
|
|
38
|
+
- [TimePicker](#timepicker)
|
|
39
|
+
- [RangePicker](#rangepicker)
|
|
40
|
+
- [Rate](#rate)
|
|
41
|
+
- [Upload](#upload)
|
|
42
|
+
- [Photo](#photo)
|
|
43
|
+
- [Audio](#audio)
|
|
44
|
+
- [Video](#video)
|
|
45
|
+
- [SuperUpload](#superupload)
|
|
46
|
+
- [Table](#table)
|
|
47
|
+
- [Columns](#columns)
|
|
48
|
+
- [Column](#column)
|
|
49
|
+
- [FormList](#formlist)
|
|
50
|
+
- [Columns](#columns-1)
|
|
51
|
+
- [Column](#column-1)
|
|
52
|
+
- [注:](#注)
|
|
53
|
+
- [控件](#控件)
|
|
54
|
+
- [Validates](#validates)
|
|
55
|
+
- [Validate](#validate)
|
|
56
|
+
- [Conditions](#conditions)
|
|
57
|
+
- [Condition](#condition)
|
|
58
|
+
- [Collection](#collection)
|
|
59
|
+
- [Compute](#compute)
|
|
60
|
+
- [Options](#options)
|
|
61
|
+
- [Option](#option)
|
|
62
|
+
- [四、应用](#四-应用)
|
|
63
|
+
- [FormDocument标签](#formdocument标签)
|
|
64
|
+
- [Config配置](#config配置)
|
|
65
|
+
- [自定义组件](#自定义组件)
|
|
66
|
+
- [Department](#department)
|
|
67
|
+
- [UploadList](#uploadlist)
|
|
68
|
+
- [Sign](#sign)
|
|
69
69
|
|
|
70
70
|
<!-- /code_chunk_output -->
|
|
71
71
|
|
|
@@ -780,6 +780,7 @@ const App = () => {
|
|
|
780
780
|
| title | 字段标题 | string | - | ✓ |
|
|
781
781
|
| defaultValue | 默认时长`value` | string | 000:00:00 | - |
|
|
782
782
|
| defaultHide | 默认是否隐藏 | boolean | false | - |
|
|
783
|
+
| format | 格式化显示 | string | H小时M分S秒 | |
|
|
783
784
|
| tips | 字段提示 | string | - | |
|
|
784
785
|
| hideClear | 是否在控件隐藏时清除数据 | boolean | false | - |
|
|
785
786
|
| hidden | 是否隐藏 | boolean | false | - |
|
|
@@ -1167,6 +1168,9 @@ const App = () => {
|
|
|
1167
1168
|
| 参数 | 说明 | 类型 | 默认值 | 必填项 |
|
|
1168
1169
|
| ----------- | ------------------------------- | ------ | ------ | ------ |
|
|
1169
1170
|
| title | 表列标题 | string | undefined | |
|
|
1171
|
+
| text | 列显示内容 | string | - | - |
|
|
1172
|
+
| type | 类型 `text`、`url` | string | `text` | - |
|
|
1173
|
+
| ellipsis | 超过宽度将自动省略 | boolean | false | - |
|
|
1170
1174
|
| dataIndex | 数据编号 `index`、from表单对应code | string | - | ✓ |
|
|
1171
1175
|
|
|
1172
1176
|
**例:**
|