{
        "title": "Inventory Management",
        "layout": "tabs",
        "dataSource": "/api/inventory/dashboard",
        "tabs": [
            {
                "id": "receive",
                "label": "Receive",
                "icon": "fa-arrow-down",
                "actions": [
                    {
                        "label": "Receive Inventory",
                        "icon": "fa-plus",
                        "action": "inventory:receive",
                        "style": "btn-primary"
                    },
                    {
                        "label": "Transfer",
                        "icon": "fa-exchange-alt",
                        "action": "inventory:transfer",
                        "style": "btn-secondary"
                    },
                    {
                        "label": "Break Bulk",
                        "icon": "fa-cut",
                        "action": "inventory:break",
                        "style": "btn-secondary"
                    },
                    {
                        "label": "Process Transactions",
                        "icon": "fa-cog",
                        "action": "inventory:process",
                        "style": "btn-success"
                    }
                ],
                "component": "DataLoader",
                "config": {
                    "dataSource": "/api/inventory/pending-transactions",
                    "columns": [
                        {"key": "txn_type", "label": "Type"},
                        {"key": "product_name", "label": "Product"},
                        {"key": "quantity", "label": "Quantity"},
                        {"key": "warehouse_name", "label": "Warehouse"},
                        {"key": "status", "label": "Status"},
                        {"key": "created_at", "label": "Date", "type": "date"}
                    ],
                    "rowActions": [
                        {
                            "label": "View",
                            "icon": "fa-eye",
                            "action": "inventory:view"
                        },
                        {
                            "label": "Cancel",
                            "icon": "fa-times",
                            "action": "inventory:cancel",
                            "condition": "status == \"pending\"",
                            "confirm": "Cancel this transaction?"
                        }
                    ]
                }
            },
            {
                "id": "stocks",
                "label": "Stocks",
                "icon": "fa-warehouse",
                "actions": [
                    {
                        "label": "Adjust Stock",
                        "icon": "fa-edit",
                        "action": "inventory:adjust",
                        "style": "btn-warning"
                    },
                    {
                        "label": "Export",
                        "icon": "fa-download",
                        "action": "inventory:export",
                        "style": "btn-secondary"
                    }
                ],
                "component": "DataLoader",
                "config": {
                    "dataSource": "/api/inventory/stocks",
                    "columns": [
                        {"key": "product_name", "label": "Product"},
                        {"key": "sku", "label": "SKU"},
                        {"key": "warehouse_name", "label": "Warehouse"},
                        {"key": "quantity_on_hand", "label": "On Hand"},
                        {"key": "quantity_available", "label": "Available"},
                        {"key": "unit_cost", "label": "Unit Cost", "type": "currency"},
                        {"key": "total_value", "label": "Total Value", "type": "currency"}
                    ],
                    "rowActions": [
                        {
                            "label": "Adjust",
                            "icon": "fa-edit",
                            "action": "inventory:adjust"
                        },
                        {
                            "label": "History",
                            "icon": "fa-history",
                            "action": "inventory:history"
                        }
                    ],
                    "filters": [
                        {
                            "key": "warehouse_id",
                            "label": "Warehouse",
                            "type": "select",
                            "dataSource": "/api/inventory/warehouses"
                        },
                        {
                            "key": "low_stock",
                            "label": "Low Stock Only",
                            "type": "checkbox"
                        }
                    ]
                }
            },
            {
                "id": "warehouses",
                "label": "Warehouses",
                "icon": "fa-building",
                "actions": [
                    {
                        "label": "Add Warehouse",
                        "icon": "fa-plus",
                        "action": "inventory:addWarehouse",
                        "style": "btn-primary"
                    }
                ],
                "component": "DataLoader",
                "config": {
                    "dataSource": "/api/inventory/warehouses",
                    "columns": [
                        {"key": "name", "label": "Warehouse Name"},
                        {"key": "code", "label": "Code"},
                        {"key": "type", "label": "Type"},
                        {"key": "address", "label": "Address"},
                        {"key": "capacity", "label": "Capacity"},
                        {"key": "is_active", "label": "Active", "type": "badge"}
                    ],
                    "rowActions": [
                        {
                            "label": "Edit",
                            "icon": "fa-edit",
                            "action": "inventory:editWarehouse"
                        },
                        {
                            "label": "View Stock",
                            "icon": "fa-boxes",
                            "action": "inventory:warehouseStock"
                        },
                        {
                            "label": "Deactivate",
                            "icon": "fa-ban",
                            "action": "inventory:deactivateWarehouse",
                            "condition": "is_active == true",
                            "confirm": "Deactivate this warehouse?"
                        }
                    ]
                }
            }
        ]
    }