ydb-components-material 0.1.7 → 0.1.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/build/docs/404.html +3 -3
- package/build/docs/_demos/:uuid +3 -3
- package/build/docs/colorful-button.html +3 -3
- package/build/docs/colorful-input.html +3 -3
- package/build/docs/index.html +3 -3
- package/build/docs/static/checked.41982a01.svg +1 -0
- package/build/docs/static/del.4a80a4f8.svg +1 -0
- package/build/docs/static/download.3c662052.svg +1 -0
- package/build/docs/static/file.c4a264be.svg +1 -0
- package/build/docs/static/preview.a29f9f40.svg +1 -0
- package/build/docs/{umi.bd8d71be.css → umi.62ce371b.css} +1 -1
- package/build/docs/umi.8110597b.js +1 -0
- package/build/docs/~demos/:uuid.html +3 -3
- package/build/docs/~demos/colorful-button-demo.html +3 -3
- package/build/docs/~demos/colorful-input-demo.html +3 -3
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +9 -9
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +1 -1
- package/dist/BizComps.js.map +1 -1
- package/es/components/check-loading/index.scss +1 -0
- package/es/components/check-res/index.scss +2 -0
- package/es/components/file-item/icon/checked.svg +1 -0
- package/es/components/file-item/icon/del.svg +1 -0
- package/es/components/file-item/icon/download.svg +1 -0
- package/es/components/file-item/icon/file.svg +1 -0
- package/es/components/file-item/icon/icon_warning.svg +1 -0
- package/es/components/file-item/icon/preview.svg +1 -0
- package/es/components/file-item/index.d.ts +19 -0
- package/es/components/file-item/index.js +227 -0
- package/es/components/file-item/index.scss +284 -0
- package/es/components/message/icons/icon_error.svg +1 -0
- package/es/components/message/icons/icon_warning.svg +1 -0
- package/es/components/message/index.d.ts +16 -0
- package/es/components/message/index.js +51 -0
- package/es/components/message/index.scss +67 -0
- package/es/components/statistic/index.d.ts +12 -0
- package/es/components/statistic/index.js +38 -0
- package/es/components/statistic/index.scss +30 -0
- package/es/components/tips/index.d.ts +1 -0
- package/es/components/tips/index.js +5 -2
- package/es/index.d.ts +6 -0
- package/es/index.js +3 -0
- package/es/style.js +2 -0
- package/lib/components/check-loading/index.scss +1 -0
- package/lib/components/check-res/index.scss +2 -0
- package/lib/components/file-item/icon/checked.svg +1 -0
- package/lib/components/file-item/icon/del.svg +1 -0
- package/lib/components/file-item/icon/download.svg +1 -0
- package/lib/components/file-item/icon/file.svg +1 -0
- package/lib/components/file-item/icon/icon_warning.svg +1 -0
- package/lib/components/file-item/icon/preview.svg +1 -0
- package/lib/components/file-item/index.d.ts +19 -0
- package/lib/components/file-item/index.js +233 -0
- package/lib/components/file-item/index.scss +284 -0
- package/lib/components/message/icons/icon_error.svg +1 -0
- package/lib/components/message/icons/icon_warning.svg +1 -0
- package/lib/components/message/index.d.ts +16 -0
- package/lib/components/message/index.js +57 -0
- package/lib/components/message/index.scss +67 -0
- package/lib/components/statistic/index.d.ts +12 -0
- package/lib/components/statistic/index.js +43 -0
- package/lib/components/statistic/index.scss +30 -0
- package/lib/components/tips/index.d.ts +1 -0
- package/lib/components/tips/index.js +5 -2
- package/lib/index.d.ts +6 -0
- package/lib/index.js +7 -1
- package/lib/style.js +2 -0
- package/lowcode/file-item/meta.ts +162 -0
- package/lowcode/message/meta.ts +173 -0
- package/lowcode/statstic/meta.ts +117 -0
- package/lowcode_es/file-item/meta.d.ts +22 -0
- package/lowcode_es/file-item/meta.js +147 -0
- package/lowcode_es/message/meta.d.ts +22 -0
- package/lowcode_es/message/meta.js +151 -0
- package/lowcode_es/meta.js +5 -2
- package/lowcode_es/statstic/meta.d.ts +22 -0
- package/lowcode_es/statstic/meta.js +99 -0
- package/lowcode_lib/file-item/meta.d.ts +22 -0
- package/lowcode_lib/file-item/meta.js +152 -0
- package/lowcode_lib/message/meta.d.ts +22 -0
- package/lowcode_lib/message/meta.js +156 -0
- package/lowcode_lib/meta.js +6 -3
- package/lowcode_lib/statstic/meta.d.ts +22 -0
- package/lowcode_lib/statstic/meta.js +104 -0
- package/package.json +3 -3
- package/build/docs/umi.c6d22b15.js +0 -1
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
|
|
2
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
3
|
+
|
|
4
|
+
const FileItemMeta: IPublicTypeComponentMetadata = {
|
|
5
|
+
"componentName": "FileItem",
|
|
6
|
+
"title": "FileItem",
|
|
7
|
+
"docUrl": "",
|
|
8
|
+
"screenshot": "",
|
|
9
|
+
"devMode": "proCode",
|
|
10
|
+
"npm": {
|
|
11
|
+
"package": "ydb-components-material",
|
|
12
|
+
"version": "0.1.9",
|
|
13
|
+
"exportName": "FileItem",
|
|
14
|
+
"main": "src/index.tsx",
|
|
15
|
+
"destructuring": true,
|
|
16
|
+
"subName": ""
|
|
17
|
+
},
|
|
18
|
+
"configure": {
|
|
19
|
+
"props": [
|
|
20
|
+
{
|
|
21
|
+
"title": {
|
|
22
|
+
"label": {
|
|
23
|
+
"type": "i18n",
|
|
24
|
+
"en-US": "file",
|
|
25
|
+
"zh-CN": "文件地址"
|
|
26
|
+
},
|
|
27
|
+
"tip": "file | 文件地址"
|
|
28
|
+
},
|
|
29
|
+
"name": "file",
|
|
30
|
+
"description": "文件地址",
|
|
31
|
+
"setter": {
|
|
32
|
+
"componentName": "StringSetter",
|
|
33
|
+
"isRequired": true,
|
|
34
|
+
"initialValue": ""
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"title": {
|
|
39
|
+
"label": {
|
|
40
|
+
"type": "i18n",
|
|
41
|
+
"en-US": "guideImg",
|
|
42
|
+
"zh-CN": "签章引导图片"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"name": "guideImg",
|
|
46
|
+
"setter": {
|
|
47
|
+
"componentName": "StringSetter",
|
|
48
|
+
"isRequired": true,
|
|
49
|
+
"initialValue": ""
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"title": {
|
|
54
|
+
"label": {
|
|
55
|
+
"type": "i18n",
|
|
56
|
+
"en-US": "checkImg",
|
|
57
|
+
"zh-CN": "审查要点图片"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"name": "checkImg",
|
|
61
|
+
"setter": {
|
|
62
|
+
"componentName": "StringSetter",
|
|
63
|
+
"isRequired": true,
|
|
64
|
+
"initialValue": ""
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"title": {
|
|
69
|
+
"label": {
|
|
70
|
+
"type": "i18n",
|
|
71
|
+
"en-US": "approvalUrl",
|
|
72
|
+
"zh-CN": "签批接口地址"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"name": "approvalUrl",
|
|
76
|
+
"setter": {
|
|
77
|
+
"componentName": "StringSetter",
|
|
78
|
+
"isRequired": true,
|
|
79
|
+
"initialValue": ""
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"title": {
|
|
84
|
+
"label": {
|
|
85
|
+
"type": "i18n",
|
|
86
|
+
"en-US": "signatureUrl",
|
|
87
|
+
"zh-CN": "电子签章接口地址"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"name": "signatureUrl",
|
|
91
|
+
"setter": {
|
|
92
|
+
"componentName": "StringSetter",
|
|
93
|
+
"isRequired": true,
|
|
94
|
+
"initialValue": ""
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"title": {
|
|
99
|
+
"label": {
|
|
100
|
+
"type": "i18n",
|
|
101
|
+
"en-US": "isApproval",
|
|
102
|
+
"zh-CN": "是否签批"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"name": "isApproval",
|
|
106
|
+
"setter": {
|
|
107
|
+
"componentName": "BoolSetter",
|
|
108
|
+
"isRequired": true,
|
|
109
|
+
"initialValue": false
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"title": {
|
|
114
|
+
"label": {
|
|
115
|
+
"type": "i18n",
|
|
116
|
+
"en-US": "isSignature",
|
|
117
|
+
"zh-CN": "是否签章"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"name": "isSignature",
|
|
121
|
+
"setter": {
|
|
122
|
+
"componentName": "BoolSetter",
|
|
123
|
+
"isRequired": true,
|
|
124
|
+
"initialValue": false
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"title": {
|
|
129
|
+
"label": {
|
|
130
|
+
"type": "i18n",
|
|
131
|
+
"en-US": "del",
|
|
132
|
+
"zh-CN": "删除文件"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"name": "del",
|
|
136
|
+
"setter": {
|
|
137
|
+
"componentName": "FunctionSetter",
|
|
138
|
+
"isRequired": true
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"supports": {
|
|
143
|
+
"style": true
|
|
144
|
+
},
|
|
145
|
+
"component": {}
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
const snippets: IPublicTypeSnippet[] = [
|
|
149
|
+
{
|
|
150
|
+
"title": "文件展示",
|
|
151
|
+
"screenshot": "",
|
|
152
|
+
"schema": {
|
|
153
|
+
"componentName": "FileItem",
|
|
154
|
+
"props": {}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
];
|
|
158
|
+
|
|
159
|
+
export default {
|
|
160
|
+
...FileItemMeta,
|
|
161
|
+
snippets
|
|
162
|
+
};
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
|
|
2
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
3
|
+
|
|
4
|
+
const MessageMeta: IPublicTypeComponentMetadata = {
|
|
5
|
+
"componentName": "Message",
|
|
6
|
+
"title": "Message",
|
|
7
|
+
"docUrl": "",
|
|
8
|
+
"screenshot": "",
|
|
9
|
+
"devMode": "proCode",
|
|
10
|
+
"npm": {
|
|
11
|
+
"package": "ydb-components-material",
|
|
12
|
+
"version": "0.1.9",
|
|
13
|
+
"exportName": "Message",
|
|
14
|
+
"main": "src/index.tsx",
|
|
15
|
+
"destructuring": true,
|
|
16
|
+
"subName": ""
|
|
17
|
+
},
|
|
18
|
+
"configure": {
|
|
19
|
+
"props": [
|
|
20
|
+
{
|
|
21
|
+
"title": {
|
|
22
|
+
"label": {
|
|
23
|
+
"type": "i18n",
|
|
24
|
+
"en-US": "type",
|
|
25
|
+
"zh-CN": "类型"
|
|
26
|
+
},
|
|
27
|
+
"tip": "type | 类型"
|
|
28
|
+
},
|
|
29
|
+
"name": "type",
|
|
30
|
+
"description": "类型",
|
|
31
|
+
"setter": {
|
|
32
|
+
"componentName": "RadioGroupSetter",
|
|
33
|
+
"props": {
|
|
34
|
+
"dataSource": [
|
|
35
|
+
{
|
|
36
|
+
"label": "success",
|
|
37
|
+
"value": "success"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"label": "warning",
|
|
41
|
+
"value": "warning"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"label": "error",
|
|
45
|
+
"value": "error"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"options": [
|
|
49
|
+
{
|
|
50
|
+
"label": "success",
|
|
51
|
+
"value": "success"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"label": "warning",
|
|
55
|
+
"value": "warning"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"label": "error",
|
|
59
|
+
"value": "error"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"initialValue": "success"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"title": {
|
|
68
|
+
"label": {
|
|
69
|
+
"type": "i18n",
|
|
70
|
+
"en-US": "title",
|
|
71
|
+
"zh-CN": "title"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"name": "title",
|
|
75
|
+
"setter": {
|
|
76
|
+
"componentName": "StringSetter",
|
|
77
|
+
"isRequired": true,
|
|
78
|
+
"initialValue": ""
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"title": {
|
|
83
|
+
"label": {
|
|
84
|
+
"type": "i18n",
|
|
85
|
+
"en-US": "text",
|
|
86
|
+
"zh-CN": "text"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"name": "text",
|
|
90
|
+
"setter": {
|
|
91
|
+
"componentName": "StringSetter",
|
|
92
|
+
"isRequired": true,
|
|
93
|
+
"initialValue": ""
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"title": {
|
|
98
|
+
"label": {
|
|
99
|
+
"type": "i18n",
|
|
100
|
+
"en-US": "goBack",
|
|
101
|
+
"zh-CN": "goBack"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"name": "goBack",
|
|
105
|
+
"setter": {
|
|
106
|
+
"componentName": "FunctionSetter",
|
|
107
|
+
"isRequired": false
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"title": {
|
|
112
|
+
"label": {
|
|
113
|
+
"type": "i18n",
|
|
114
|
+
"en-US": "retry",
|
|
115
|
+
"zh-CN": "retry"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"name": "retry",
|
|
119
|
+
"setter": {
|
|
120
|
+
"componentName": "FunctionSetter",
|
|
121
|
+
"isRequired": false
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"title": {
|
|
126
|
+
"label": {
|
|
127
|
+
"type": "i18n",
|
|
128
|
+
"en-US": "skip",
|
|
129
|
+
"zh-CN": "skip"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"name": "skip",
|
|
133
|
+
"setter": {
|
|
134
|
+
"componentName": "FunctionSetter",
|
|
135
|
+
"isRequired": false
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"title": {
|
|
140
|
+
"label": {
|
|
141
|
+
"type": "i18n",
|
|
142
|
+
"en-US": "close",
|
|
143
|
+
"zh-CN": "close"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"name": "close",
|
|
147
|
+
"setter": {
|
|
148
|
+
"componentName": "FunctionSetter",
|
|
149
|
+
"isRequired": true
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"supports": {
|
|
154
|
+
"style": true
|
|
155
|
+
},
|
|
156
|
+
"component": {}
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
const snippets: IPublicTypeSnippet[] = [
|
|
160
|
+
{
|
|
161
|
+
"title": "消息框",
|
|
162
|
+
"screenshot": "",
|
|
163
|
+
"schema": {
|
|
164
|
+
"componentName": "Message",
|
|
165
|
+
"props": {}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
];
|
|
169
|
+
|
|
170
|
+
export default {
|
|
171
|
+
...MessageMeta,
|
|
172
|
+
snippets
|
|
173
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
|
|
2
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
3
|
+
|
|
4
|
+
const StatsticMeta: IPublicTypeComponentMetadata = {
|
|
5
|
+
"componentName": "Statstic",
|
|
6
|
+
"title": "Statstic",
|
|
7
|
+
"docUrl": "",
|
|
8
|
+
"screenshot": "",
|
|
9
|
+
"devMode": "proCode",
|
|
10
|
+
"npm": {
|
|
11
|
+
"package": "ydb-components-material",
|
|
12
|
+
"version": "0.1.9",
|
|
13
|
+
"exportName": "Statstic",
|
|
14
|
+
"main": "src/index.tsx",
|
|
15
|
+
"destructuring": true,
|
|
16
|
+
"subName": ""
|
|
17
|
+
},
|
|
18
|
+
"configure": {
|
|
19
|
+
"props": [
|
|
20
|
+
{
|
|
21
|
+
"title": {
|
|
22
|
+
"label": {
|
|
23
|
+
"type": "i18n",
|
|
24
|
+
"en-US": "type",
|
|
25
|
+
"zh-CN": "类型"
|
|
26
|
+
},
|
|
27
|
+
"tip": "type | 类型"
|
|
28
|
+
},
|
|
29
|
+
"name": "type",
|
|
30
|
+
"description": "类型",
|
|
31
|
+
"setter": {
|
|
32
|
+
"componentName": "RadioGroupSetter",
|
|
33
|
+
"props": {
|
|
34
|
+
"dataSource": [
|
|
35
|
+
{
|
|
36
|
+
"label": "success",
|
|
37
|
+
"value": "success"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"label": "warning",
|
|
41
|
+
"value": "warning"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"label": "error",
|
|
45
|
+
"value": "error"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"options": [
|
|
49
|
+
{
|
|
50
|
+
"label": "success",
|
|
51
|
+
"value": "success"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"label": "warning",
|
|
55
|
+
"value": "warning"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"label": "error",
|
|
59
|
+
"value": "error"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"initialValue": "success"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"title": {
|
|
68
|
+
"label": {
|
|
69
|
+
"type": "i18n",
|
|
70
|
+
"en-US": "number",
|
|
71
|
+
"zh-CN": "number"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"name": "number",
|
|
75
|
+
"setter": {
|
|
76
|
+
"componentName": "NumberSetter",
|
|
77
|
+
"isRequired": true,
|
|
78
|
+
"initialValue": 0
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"title": {
|
|
83
|
+
"label": {
|
|
84
|
+
"type": "i18n",
|
|
85
|
+
"en-US": "text",
|
|
86
|
+
"zh-CN": "text"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"name": "text",
|
|
90
|
+
"setter": {
|
|
91
|
+
"componentName": "StringSetter",
|
|
92
|
+
"isRequired": true,
|
|
93
|
+
"initialValue": ""
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"supports": {
|
|
98
|
+
"style": true
|
|
99
|
+
},
|
|
100
|
+
"component": {}
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
const snippets: IPublicTypeSnippet[] = [
|
|
104
|
+
{
|
|
105
|
+
"title": "数量统计",
|
|
106
|
+
"screenshot": "",
|
|
107
|
+
"schema": {
|
|
108
|
+
"componentName": "Statstic",
|
|
109
|
+
"props": {}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
];
|
|
113
|
+
|
|
114
|
+
export default {
|
|
115
|
+
...StatsticMeta,
|
|
116
|
+
snippets
|
|
117
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
var FileItemMeta = {
|
|
3
|
+
"componentName": "FileItem",
|
|
4
|
+
"title": "FileItem",
|
|
5
|
+
"docUrl": "",
|
|
6
|
+
"screenshot": "",
|
|
7
|
+
"devMode": "proCode",
|
|
8
|
+
"npm": {
|
|
9
|
+
"package": "ydb-components-material",
|
|
10
|
+
"version": "0.1.9",
|
|
11
|
+
"exportName": "FileItem",
|
|
12
|
+
"main": "src/index.tsx",
|
|
13
|
+
"destructuring": true,
|
|
14
|
+
"subName": ""
|
|
15
|
+
},
|
|
16
|
+
"configure": {
|
|
17
|
+
"props": [{
|
|
18
|
+
"title": {
|
|
19
|
+
"label": {
|
|
20
|
+
"type": "i18n",
|
|
21
|
+
"en-US": "file",
|
|
22
|
+
"zh-CN": "文件地址"
|
|
23
|
+
},
|
|
24
|
+
"tip": "file | 文件地址"
|
|
25
|
+
},
|
|
26
|
+
"name": "file",
|
|
27
|
+
"description": "文件地址",
|
|
28
|
+
"setter": {
|
|
29
|
+
"componentName": "StringSetter",
|
|
30
|
+
"isRequired": true,
|
|
31
|
+
"initialValue": ""
|
|
32
|
+
}
|
|
33
|
+
}, {
|
|
34
|
+
"title": {
|
|
35
|
+
"label": {
|
|
36
|
+
"type": "i18n",
|
|
37
|
+
"en-US": "guideImg",
|
|
38
|
+
"zh-CN": "签章引导图片"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"name": "guideImg",
|
|
42
|
+
"setter": {
|
|
43
|
+
"componentName": "StringSetter",
|
|
44
|
+
"isRequired": true,
|
|
45
|
+
"initialValue": ""
|
|
46
|
+
}
|
|
47
|
+
}, {
|
|
48
|
+
"title": {
|
|
49
|
+
"label": {
|
|
50
|
+
"type": "i18n",
|
|
51
|
+
"en-US": "checkImg",
|
|
52
|
+
"zh-CN": "审查要点图片"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"name": "checkImg",
|
|
56
|
+
"setter": {
|
|
57
|
+
"componentName": "StringSetter",
|
|
58
|
+
"isRequired": true,
|
|
59
|
+
"initialValue": ""
|
|
60
|
+
}
|
|
61
|
+
}, {
|
|
62
|
+
"title": {
|
|
63
|
+
"label": {
|
|
64
|
+
"type": "i18n",
|
|
65
|
+
"en-US": "approvalUrl",
|
|
66
|
+
"zh-CN": "签批接口地址"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"name": "approvalUrl",
|
|
70
|
+
"setter": {
|
|
71
|
+
"componentName": "StringSetter",
|
|
72
|
+
"isRequired": true,
|
|
73
|
+
"initialValue": ""
|
|
74
|
+
}
|
|
75
|
+
}, {
|
|
76
|
+
"title": {
|
|
77
|
+
"label": {
|
|
78
|
+
"type": "i18n",
|
|
79
|
+
"en-US": "signatureUrl",
|
|
80
|
+
"zh-CN": "电子签章接口地址"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"name": "signatureUrl",
|
|
84
|
+
"setter": {
|
|
85
|
+
"componentName": "StringSetter",
|
|
86
|
+
"isRequired": true,
|
|
87
|
+
"initialValue": ""
|
|
88
|
+
}
|
|
89
|
+
}, {
|
|
90
|
+
"title": {
|
|
91
|
+
"label": {
|
|
92
|
+
"type": "i18n",
|
|
93
|
+
"en-US": "isApproval",
|
|
94
|
+
"zh-CN": "是否签批"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"name": "isApproval",
|
|
98
|
+
"setter": {
|
|
99
|
+
"componentName": "BoolSetter",
|
|
100
|
+
"isRequired": true,
|
|
101
|
+
"initialValue": false
|
|
102
|
+
}
|
|
103
|
+
}, {
|
|
104
|
+
"title": {
|
|
105
|
+
"label": {
|
|
106
|
+
"type": "i18n",
|
|
107
|
+
"en-US": "isSignature",
|
|
108
|
+
"zh-CN": "是否签章"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"name": "isSignature",
|
|
112
|
+
"setter": {
|
|
113
|
+
"componentName": "BoolSetter",
|
|
114
|
+
"isRequired": true,
|
|
115
|
+
"initialValue": false
|
|
116
|
+
}
|
|
117
|
+
}, {
|
|
118
|
+
"title": {
|
|
119
|
+
"label": {
|
|
120
|
+
"type": "i18n",
|
|
121
|
+
"en-US": "del",
|
|
122
|
+
"zh-CN": "删除文件"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"name": "del",
|
|
126
|
+
"setter": {
|
|
127
|
+
"componentName": "FunctionSetter",
|
|
128
|
+
"isRequired": true
|
|
129
|
+
}
|
|
130
|
+
}],
|
|
131
|
+
"supports": {
|
|
132
|
+
"style": true
|
|
133
|
+
},
|
|
134
|
+
"component": {}
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
var snippets = [{
|
|
138
|
+
"title": "文件展示",
|
|
139
|
+
"screenshot": "",
|
|
140
|
+
"schema": {
|
|
141
|
+
"componentName": "FileItem",
|
|
142
|
+
"props": {}
|
|
143
|
+
}
|
|
144
|
+
}];
|
|
145
|
+
export default _extends({}, FileItemMeta, {
|
|
146
|
+
snippets: snippets
|
|
147
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|