69 lines
1.9 KiB
JSON
69 lines
1.9 KiB
JSON
{
|
|
"schemaVersion": "0.1.0",
|
|
"project": {
|
|
"id": "table-basic-example",
|
|
"name": "Table Basic Example",
|
|
"description": "Step 17.4: Basic Table component with static rows and explicit columns.",
|
|
"pages": [
|
|
{
|
|
"id": "page_1",
|
|
"name": "Main",
|
|
"components": [
|
|
{
|
|
"id": "label_1",
|
|
"type": "Label",
|
|
"name": "label_1",
|
|
"position": { "x": 32, "y": 16 },
|
|
"size": { "width": 320, "height": 32 },
|
|
"properties": {
|
|
"label": "Server Inventory",
|
|
"visible": true,
|
|
"disabled": false
|
|
},
|
|
"events": []
|
|
},
|
|
{
|
|
"id": "inventoryTable",
|
|
"type": "Table",
|
|
"name": "inventoryTable",
|
|
"position": { "x": 32, "y": 64 },
|
|
"size": { "width": 520, "height": 260 },
|
|
"properties": {
|
|
"label": "Table",
|
|
"columns": [
|
|
{ "key": "hostname", "header": "Hostname" },
|
|
{ "key": "environment", "header": "Environment" },
|
|
{ "key": "status", "header": "Status" }
|
|
],
|
|
"rows": [
|
|
{
|
|
"hostname": "host-one",
|
|
"environment": "development",
|
|
"status": "online"
|
|
},
|
|
{
|
|
"hostname": "host-two",
|
|
"environment": "test",
|
|
"status": "offline"
|
|
},
|
|
{
|
|
"hostname": "host-three",
|
|
"environment": "production",
|
|
"status": "online"
|
|
}
|
|
],
|
|
"visible": true,
|
|
"disabled": false
|
|
},
|
|
"events": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"actions": [],
|
|
"bindings": [],
|
|
"variables": {},
|
|
"settings": {}
|
|
}
|
|
}
|