<?php

return [

    'widgets' => [
        'chart' => [
            'kind' => 'graph',
            'widget' => 'chart',
            'data' => [
                'date_range' => 30,
                'metrics' => 'leads',
            ],
        ],
        'enquiries' => [
            'kind' => 'kpi',
            'widget' => 'enquiries',
            'data' => [],
        ],
        'stock' => [
            'kind' => 'kpi',
            'widget' => 'stock',
            'data' => [],
        ],
        'enquiry_count' => [
            'kind' => 'kpi',
            'widget' => 'enquiry_count',
            'data' => [],
        ],
        'avg_inventory' => [
            'kind' => 'kpi',
            'widget' => 'avg_inventory',
            'data' => [],
        ],
        'avg_vehicle_age' => [
            'kind' => 'kpi',
            'widget' => 'avg_vehicle_age',
            'data' => [],
        ],
        'recent-offers' => [
            'kind' => 'section',
            'widget' => 'recent-offers',
            'data' => [],
        ],
        'recent-vehicles' => [
            'kind' => 'section',
            'widget' => 'recent-vehicles',
            'data' => [],
        ],
        'popular-vehicles' => [
            'kind' => 'section',
            'widget' => 'popular-vehicles',
            'data' => [],
        ],
    ],

    'default_dashboard' => [
        'home' => [
            0 => [
                'kind' => 'graph',
                'widget' => 'chart',
                'data' => [
                    'date_range' => 30,
                    'metrics' => 'leads',
                ],
            ],
            1 => [
                'kind' => 'kpi',
                'widget' => 'enquiries',
                'data' => [],
            ],
            2 => [
                'kind' => 'kpi',
                'widget' => 'stock',
                'data' => [],
            ],
            3 => [
                'kind' => 'kpi',
                'widget' => 'enquiry_count',
                'data' => [],
            ],
            4 => [
                'kind' => 'kpi',
                'widget' => 'avg_inventory',
                'data' => [],
            ],
//            5 => [
//                'kind' => 'kpi',
//                'widget' => 'avg_vehicle_age',
//                'data' => [],
//            ],
            5 => [
                'kind' => 'kpi',
                'widget' => 'daily_vehicle_views',
                'data' => [],
            ],
            6 => [
                'kind' => 'section',
                'widget' => 'popular-vehicles',
                'data' => [],
            ],
            7 => [
                'kind' => 'section',
                'widget' => 'recent-offers',
                'data' => [],
            ],
            8 => [
                'kind' => 'section',
                'widget' => 'recent-vehicles',
                'data' => [],
            ],
        ],
    ],
];
