- Replace invalid 'Page' and 'Card' components with valid bricks components (VBox, HBox, Filler, etc.) - Add comprehensive examples for all major bricks components in examples/ directory - Update hermes-web-cli UI files to use correct component hierarchy - Include examples for: VBox, HBox, Filler, ResponsableBox, Form, Button, Text, Modal, TabPanel, DataViewer, Tree, Image, VideoPlayer, Input, LLMOut - Follow proper bricks-framework JSON structure with widgettype, options, subwidgets - Ensure all examples are production-ready and follow module development specifications
30 lines
536 B
XML
30 lines
536 B
XML
{
|
|
"widgettype": "Form",
|
|
"options": {
|
|
"title": "表单示例",
|
|
"fields": [
|
|
{
|
|
"name": "username",
|
|
"label": "用户名",
|
|
"uitype": "str",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "email",
|
|
"label": "邮箱",
|
|
"uitype": "email",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "age",
|
|
"label": "年龄",
|
|
"uitype": "int"
|
|
},
|
|
{
|
|
"name": "active",
|
|
"label": "激活状态",
|
|
"uitype": "check"
|
|
}
|
|
]
|
|
}
|
|
} |