- 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
29 lines
518 B
XML
29 lines
518 B
XML
{
|
|
"widgettype": "Tree",
|
|
"options": {
|
|
"idField": "id",
|
|
"textField": "name",
|
|
"data": [
|
|
{
|
|
"id": "1",
|
|
"name": "根节点",
|
|
"children": [
|
|
{
|
|
"id": "1-1",
|
|
"name": "子节点1"
|
|
},
|
|
{
|
|
"id": "1-2",
|
|
"name": "子节点2",
|
|
"children": [
|
|
{
|
|
"id": "1-2-1",
|
|
"name": "孙子节点"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |