<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Title
    |--------------------------------------------------------------------------
    |
    | Here you can change the default title of your admin panel.
    |
    | For detailed instructions you can look the title section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
    |
    */

    'title' => 'Gestionale',
    'title_prefix' => '',
    'title_postfix' => '',

    /*
    |--------------------------------------------------------------------------
    | Favicon
    |--------------------------------------------------------------------------
    |
    | Here you can activate the favicon.
    |
    | For detailed instructions you can look the favicon section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
    |
    */

    'use_ico_only' => false,
    'use_full_favicon' => false,

    /*
    |--------------------------------------------------------------------------
    | Google Fonts
    |--------------------------------------------------------------------------
    |
    | Here you can allow or not the use of external google fonts. Disabling the
    | google fonts may be useful if your admin panel internet access is
    | restricted somehow.
    |
    | For detailed instructions you can look the google fonts section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
    |
    */

    'google_fonts' => [
        'allowed' => true,
    ],

    /*
    |--------------------------------------------------------------------------
    | Admin Panel Logo
    |--------------------------------------------------------------------------
    |
    | Here you can change the logo of your admin panel.
    |
    | For detailed instructions you can look the logo section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
    |
    */

    'logo' => '<b>Gestionale</b>',
    'logo_img' => 'vendor/adminlte/dist/img/AdminLTELogo.png',
    'logo_img_class' => 'brand-image img-circle elevation-3',
    'logo_img_xl' => null,
    'logo_img_xl_class' => 'brand-image-xs',
    'logo_img_alt' => 'Admin Logo',

    /*
    |--------------------------------------------------------------------------
    | Authentication Logo
    |--------------------------------------------------------------------------
    |
    | Here you can setup an alternative logo to use on your login and register
    | screens. When disabled, the admin panel logo will be used instead.
    |
    | For detailed instructions you can look the auth logo section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
    |
    */

    'auth_logo' => [
        'enabled' => false,
        'img' => [
            'path' => 'vendor/adminlte/dist/img/AdminLTELogo.png',
            'alt' => 'Auth Logo',
            'class' => '',
            'width' => 50,
            'height' => 50,
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Preloader Animation
    |--------------------------------------------------------------------------
    |
    | Here you can change the preloader animation configuration.
    |
    | For detailed instructions you can look the preloader section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
    |
    */

    'preloader' => [
        'enabled' => false,
        'img' => [
            'path' => 'vendor/adminlte/dist/img/AdminLTELogo.png',
            'alt' => 'AdminLTE Preloader Image',
            'effect' => 'animation__shake',
            'width' => 60,
            'height' => 60,
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | User Menu
    |--------------------------------------------------------------------------
    |
    | Here you can activate and change the user menu.
    |
    | For detailed instructions you can look the user menu section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
    |
    */

    'usermenu_enabled' => true,
    'usermenu_header' => false,
    'usermenu_header_class' => 'bg-primary',
    'usermenu_image' => false,
    'usermenu_desc' => false,
    'usermenu_profile_url' => false,

    /*
    |--------------------------------------------------------------------------
    | Layout
    |--------------------------------------------------------------------------
    |
    | Here we change the layout of your admin panel.
    |
    | For detailed instructions you can look the layout section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Layout-and-Styling-Configuration
    |
    */

    'layout_topnav' => null,
    'layout_boxed' => null,
    'layout_fixed_sidebar' => null,
    'layout_fixed_navbar' => null,
    'layout_fixed_footer' => null,
    'layout_dark_mode' => null,

    /*
    |--------------------------------------------------------------------------
    | Authentication Views Classes
    |--------------------------------------------------------------------------
    |
    | Here you can change the look and behavior of the authentication views.
    |
    | For detailed instructions you can look the auth classes section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Layout-and-Styling-Configuration
    |
    */

    'classes_auth_card' => 'card-outline card-primary',
    'classes_auth_header' => '',
    'classes_auth_body' => '',
    'classes_auth_footer' => '',
    'classes_auth_icon' => '',
    'classes_auth_btn' => 'btn-flat btn-primary',

    /*
    |--------------------------------------------------------------------------
    | Admin Panel Classes
    |--------------------------------------------------------------------------
    |
    | Here you can change the look and behavior of the admin panel.
    |
    | For detailed instructions you can look the admin panel classes here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Layout-and-Styling-Configuration
    |
    */

    'classes_body' => '',
    'classes_brand' => '',
    'classes_brand_text' => '',
    'classes_content_wrapper' => '',
    'classes_content_header' => '',
    'classes_content' => '',
    'classes_sidebar' => 'sidebar-dark-primary elevation-4',
    'classes_sidebar_nav' => '',
    'classes_topnav' => 'navbar-white navbar-light',
    'classes_topnav_nav' => 'navbar-expand',
    'classes_topnav_container' => 'container',

    /*
    |--------------------------------------------------------------------------
    | Sidebar
    |--------------------------------------------------------------------------
    |
    | Here we can modify the sidebar of the admin panel.
    |
    | For detailed instructions you can look the sidebar section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Layout-and-Styling-Configuration
    |
    */

    'sidebar_mini' => 'lg',
    'sidebar_collapse' => false,
    'sidebar_collapse_auto_size' => false,
    'sidebar_collapse_remember' => false,
    'sidebar_collapse_remember_no_transition' => true,
    'sidebar_scrollbar_theme' => 'os-theme-light',
    'sidebar_scrollbar_auto_hide' => 'l',
    'sidebar_nav_accordion' => true,
    'sidebar_nav_animation_speed' => 300,

    /*
    |--------------------------------------------------------------------------
    | Control Sidebar (Right Sidebar)
    |--------------------------------------------------------------------------
    |
    | Here we can modify the right sidebar aka control sidebar of the admin panel.
    |
    | For detailed instructions you can look the right sidebar section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Layout-and-Styling-Configuration
    |
    */

    'right_sidebar' => false,
    'right_sidebar_icon' => 'fas fa-cogs',
    'right_sidebar_theme' => 'dark',
    'right_sidebar_slide' => true,
    'right_sidebar_push' => true,
    'right_sidebar_scrollbar_theme' => 'os-theme-light',
    'right_sidebar_scrollbar_auto_hide' => 'l',

    /*
    |--------------------------------------------------------------------------
    | URLs
    |--------------------------------------------------------------------------
    |
    | Here we can modify the url settings of the admin panel.
    |
    | For detailed instructions you can look the urls section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
    |
    */

    'use_route_url' => false,
    'dashboard_url' => '/admin',
    'logout_url' => 'logout',
    'login_url' => 'login',
    'register_url' => null,
    'password_reset_url' => 'password/reset',
    'password_email_url' => 'password/email',
    'profile_url' => '/changepassword',

    /*
    |--------------------------------------------------------------------------
    | Laravel Mix
    |--------------------------------------------------------------------------
    |
    | Here we can enable the Laravel Mix option for the admin panel.
    |
    | For detailed instructions you can look the laravel mix section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Other-Configuration
    |
    */

    'enabled_laravel_mix' => false,
    'laravel_mix_css_path' => 'css/app.css',
    'laravel_mix_js_path' => 'js/app.js',

    /*
    |--------------------------------------------------------------------------
    | Menu Items
    |--------------------------------------------------------------------------
    |
    | Here we can modify the sidebar/top navigation of the admin panel.
    |
    | For detailed instructions you can look here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Menu-Configuration
    |
    */

    'menu' => [
        // Navbar items:
        [
            'type'         => 'navbar-search',
            'text'         => 'search',
            'topnav_right' => true,
        ],
        [
            'type'         => 'fullscreen-widget',
            'topnav_right' => true,
        ],

        // Sidebar items:
        [
            'type' => 'sidebar-menu-search',
            'text' => 'search',
        ],
        [
            'text' => 'Dashboard',
            'url'  => '/admin',
           // 'can'  => 'manage-blog',
        ],
        [
            'text'        => 'Gestione Economica',
            'url'         => '#',
            'icon'        => 'fas fa-fw fa-money-bill', //<i class="fa-solid fa-money-bill"></i>
            'can'          => ['conti'],
            'submenu' => [
                [
                    'text' => 'Lista movimenti',
                    'route'  => 'movimenti',
                    'icon' => 'fas fa-fw fa-list-check'
                ],
                [
                    'text' => 'Giroconto',
                    'route'  => 'giroconto',
                    'icon' => 'fas fa-fw fa-solid fa-recycle'
                ],
                [   'text' => 'Liste',
                    'url'  => '#',
                    'icon' => 'fas fa-fw fa-gears',
                    'submenu' => [
                        [
                            'text' => 'Categorie',
                            'route'  => 'categorie',
                            'icon' => 'fas fa-fw fa-wine-bottle'
                        ],
                        [
                            'text' => 'Tags',
                            'route'  => 'tags',
                            'icon' => 'fas fa-fw fa-tags'
                        ],
                        [
                            'text' => 'Conti',
                            'url'  => '/admin/conti',
                            'icon' => 'fas fa-fw fa-wallet'
                        ],

                    ]
                ],
                [   'text' => 'Reports',
                    'url'  => '#',
                    'icon' => 'fas fa-fw fa-file',
                    'submenu' => [

                        [
                            'text' => 'Report movimenti',
                            'route'  => 'resoconto',
                            'icon' => 'fas fa-fw fa-piggy-bank',
                        ],
                        [
                            'text' => 'Bilancio annuale',
                            'route'  => 'budget',
                            'icon' => 'fas fa-fw fa-scale-balanced'
                        ],
                    ]
                ],
                [
                    'text' => 'Import/Export',
                    'url'  => '#',
                    'icon' => 'fas fa-fw fa-file-arrow-down',
                    'submenu' => [
                        [
                            'text' => 'Esporta tutti i movimenti',
                            'route'  => 'export',
                        ],
                        /*[
                            'text' => 'Importa Estratto conto ING',
                            'route'  => 'importING',
                        ],
                        [
                            'text' => 'Importa Estratto conto Cassa Rurale',
                            'route'  => 'importCR',
                        ],*/
                        [
                            'text' => 'Importa Generic CSV',
                            'route'  => 'importGen',
                        ],
                        [
                            'text' => 'Regole importazione',
                            'route'  => 'import_rules.index',
                           // 'can' => ['import_rules'],
                        ],

                    ],
                ],
            ],
        ],
        ['header' => 'GESTIONE DOCUMENTALE',
            'can' => ['documenti','contratti','progetti'],
        ],
        [
            'text' => 'Documenti gen.',
            'url'  => '/admin/documenti',
            'icon' => 'fas fa-fw fa-stop',
            'can'  => ['documenti'],
            'color' => 'red',
        ],
        [
            'text' => 'Contratti',
            'route'  => 'contratti',
            'icon' => 'fas fa-fw fa-newspaper',
            'can'  => ['contratti'],
        ],
        [
            'text' => 'Progetti',
            'route'  => 'progetti',
            'icon' => 'fas fa-fw fa-diagram-project',
            'can' => ['progetti'],
        ],
        ['header' => 'GESTIONE BENI',
        'can' => ['automobili'],],

        [
            'text' => 'Automobili',
            'url'  => '/admin/auto',
            'icon' => 'fas fa-fw fa-car',
            'can' => ['automobili'],
        ],
        [   'text' => 'Affitti',
                    'url'  => '#',
                    'icon' => 'fas fa-fw fa-home',
                    'submenu' => [
                        [
                            'text' => 'Immobili',
                            'url'  => 'admin/affitti/immobili',
                            'icon' => 'fas fa-fw fa-wine-bottle',
                            'can' => ['affitti'],
                        ],
                        [
                            'text' => 'Contratti di locazione',
                            'url'  => 'admin/affitti/contratti',
                            'icon' => 'fas fa-fw fa-tags',
                            'can' => ['affitti'],
                        ],
                        [
                            'text' => 'Scadenze',
                            'url'  => 'admin/affitti/scadenze',
                            'icon' => 'fas fa-fw fa-wallet',
                            'can' => ['affitti'],
                        ],
                        [
                            'text' => 'Spese condominiali',
                            'url'  => 'admin/affitti/spese',
                            'icon' => 'fas fa-fw fa-tags',
                            'can' => ['affitti'],
                        ],
                        [
                            'text' => 'Ripartizione spese',
                            'url'  => 'admin/affitti/ripartizioni',
                            'icon' => 'fas fa-fw fa-wallet',
                            'can' => ['affitti'],
                        ],
                    ],
        ],
        ['header' => 'GESTIONE PIM',
        'can' => ['contatti','tasks','appuntamenti','meetingroom'],
        ],
        [
            'text' => 'Contatti',
            'url'  => '/admin/contatti',
            'icon' => 'fas fa-fw fa-user',
            'can' => ['contatti'],
            'submenu' => [
                [
                    'text' => 'Nuovo Contatto',
                    'route'  => 'newContact',
                    'icon' => 'fas fa-fw fa-plus',
                ],
                [
                    'text' => 'Rubrica',
                    'route'  => 'contatti',
                    'icon' => 'fas fa-fw fa-mobile',
                ],
            ],
        ],
        [
            'text' => 'Attività',
            'route'  => 'tasks',
            'icon' => 'fas fa-fw fa-circle-check',
            'can' => ['tasks'],

        ],
        [
            'text' => 'Appuntamenti',
            'route'  => 'calendario',
            'icon' => 'fas fa-fw fa-calendar',
            'can' => ['appuntamenti'],

        ],
        [
            'text' => 'Meeting Room',
            'route'  => 'meeting',
            'icon' => 'fas fa-fw fa-file-video',

            'can' => ['meetingroom']
        ],
        ['header' => 'CONSUMI',
        'can' => ['consumi'],
    ],
        [
            'text' => 'GAS',
            'route'  => 'gas',
            'icon' => 'fas fa-fw fa-fire',
            'can' => ['consumi'],
        ],
        ['header' => 'AMMINISTRAZIONE',
        'can' => ['amministrazione'],
        ],
        [
            'text' => 'Utenti',
            'url'  => '/admin/users/new',
            'icon' => 'fas fa-fw fa-user',
            'can' => ['amministrazione']
        ],
        [
            'text' => 'Permessi',
            'route'  => 'permessi',
            'icon' => 'fas fa-fw fa-solid fa-unlock-keyhole',
            'can' => ['amministrazione']
        ],


    ],

    /*
    |--------------------------------------------------------------------------
    | Menu Filters
    |--------------------------------------------------------------------------
    |
    | Here we can modify the menu filters of the admin panel.
    |
    | For detailed instructions you can look the menu filters section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Menu-Configuration
    |
    */

    'filters' => [
        JeroenNoten\LaravelAdminLte\Menu\Filters\GateFilter::class,
        JeroenNoten\LaravelAdminLte\Menu\Filters\HrefFilter::class,
        JeroenNoten\LaravelAdminLte\Menu\Filters\SearchFilter::class,
        JeroenNoten\LaravelAdminLte\Menu\Filters\ActiveFilter::class,
        JeroenNoten\LaravelAdminLte\Menu\Filters\ClassesFilter::class,
        JeroenNoten\LaravelAdminLte\Menu\Filters\LangFilter::class,
        JeroenNoten\LaravelAdminLte\Menu\Filters\DataFilter::class,
    ],

    /*
    |--------------------------------------------------------------------------
    | Plugins Initialization
    |--------------------------------------------------------------------------
    |
    | Here we can modify the plugins used inside the admin panel.
    |
    | For detailed instructions you can look the plugins section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Plugins-Configuration
    |
    */

    'plugins' => [
        'Datatables' => [
            'active' => true,
            'files' => [
                [
                    'type' => 'js',
                    'asset' => false,
                    'location' => '//cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js',
                ],
                [
                    'type' => 'js',
                    'asset' => false,
                    'location' => '//cdn.datatables.net/1.10.19/js/dataTables.bootstrap4.min.js',
                ],
                [
                    'type' => 'js',
                    'asset' => false,
                    'location' => '//cdn.datatables.net/v/dt/dt-1.13.4/date-1.4.1/r-2.4.1/sb-1.4.2/sp-2.1.2/datatables.min.js',
                ],
                [
                    'type' => 'css',
                    'asset' => false,
                    'location' => '//cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.min.css',
                ],
                [
                    'type' => 'css',
                    'asset' => false,
                    'location' => '//cdn.datatables.net/v/dt/dt-1.13.4/date-1.4.1/r-2.4.1/sb-1.4.2/sp-2.1.2/datatables.min.css',
                ],
            ],
        ],
        'DateRangePicker' => [
            'active' => false,
            'files' => [
                [
                    'type' => 'js',
                    'asset' => false,
                    'location' => '//cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.min.js',
                ],
                [
                    'type' => 'css',
                    'asset' => false,
                    'location' => '//cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css',
                ],
            ],
        ],
        'JqueryUi' =>[
            'active' => false,
            'files' =>[
                [
                    'type' => 'js',
                    'asset' => false,
                    'location' => '//code.jquery.com/ui/1.13.1/jquery-ui.js',
                    /// https://code.jquery.com/ui/1.13.1/jquery-ui.js
                ],
                [
                    'type' => 'css',
                    'asset' => false,
                    'location' => '//code.jquery.com/ui/1.13.1/themes/smoothness/jquery-ui.css',
                ],
            ],
        ],
        'Select2' => [
            'active' => true,
            'files' => [
                [
                    'type' => 'js',
                    'asset' => false,
                    'location' => '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js',
                ],
                [
                    'type' => 'css',
                    'asset' => false,
                    'location' => '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.css',
                ],
            ],
        ],
        'Chartjs' => [
            'active' => false,
            'files' => [
                [
                    'type' => 'js',
                    'asset' => false,
                    'location' => '//cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.0/Chart.bundle.min.js',
                ],
            ],
        ],
        'Sweetalert2' => [
            'active' => false,
            'files' => [
                [
                    'type' => 'js',
                    'asset' => false,
                    'location' => '//cdn.jsdelivr.net/npm/sweetalert2@8',
                ],
            ],
        ],
        'Pace' => [
            'active' => false,
            'files' => [
                [
                    'type' => 'css',
                    'asset' => false,
                    'location' => '//cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/themes/blue/pace-theme-center-radar.min.css',
                ],
                [
                    'type' => 'js',
                    'asset' => false,
                    'location' => '//cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/pace.min.js',
                ],
            ],
        ],
        'Fullcalendar' => [
            'active' => false,
            'files' => [
                [
                    'type' => 'css',
                    'asset' => true,
                    'location' => '/vendor/fullcalendar/main.min.css',
                ],
                [
                    'type' => 'js',
                    'asset' => true,
                    'location' => '/vendor/fullcalendar/main.min.js',
                ],
                [
                    'type' => 'js',
                    'asset' => true,
                    'location' => '/vendor/fullcalendar/locales-all.min.js',
                ],

            ],
        ],
        'FontAwesome' =>[
            'active' => true,
            'files' =>[
                [
                    'type' => 'css',
                    'asset' => false,
                    'location' => '//cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css',
                ],
            ],
        ],
        'MomentJs' =>[
            'active' => false,
            'files' =>[
                [
                    'type' => 'js',
                    'asset' => false,
                    'location' => '//cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.4/moment-with-locales.min.js',
                ],
            ],
        ],

    ],

    /*
    |--------------------------------------------------------------------------
    | IFrame
    |--------------------------------------------------------------------------
    |
    | Here we change the IFrame mode configuration. Note these changes will
    | only apply to the view that extends and enable the IFrame mode.
    |
    | For detailed instructions you can look the iframe mode section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/IFrame-Mode-Configuration
    |
    */

    'iframe' => [
        'default_tab' => [
            'url' => null,
            'title' => null,
        ],
        'buttons' => [
            'close' => true,
            'close_all' => true,
            'close_all_other' => true,
            'scroll_left' => true,
            'scroll_right' => true,
            'fullscreen' => true,
        ],
        'options' => [
            'loading_screen' => 1000,
            'auto_show_new_tab' => true,
            'use_navbar_items' => true,
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Livewire
    |--------------------------------------------------------------------------
    |
    | Here we can enable the Livewire support.
    |
    | For detailed instructions you can look the livewire here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Other-Configuration
    |
    */

    'livewire' => false,
];
