[ 'model' => \Litepie\Team\Models\Type::class, 'table' => 'litepie_team_types', 'hidden'=> [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'created_at', 'updated_at'], 'appends' => [], 'fillable' => ['name', 'key', 'status', 'description'], 'translatables' => [], 'upload_folder' => 'team/type', 'uploads' => [ /* 'images' => [ 'count' => 10, 'type' => 'image', ], 'file' => [ 'count' => 1, 'type' => 'file', ], */ ], 'casts' => [ /* 'images' => 'array', 'file' => 'array', */ ], 'revision' => [], 'perPage' => '20', 'search' => [ 'name' => 'like', 'status', ] ], 'search' => [ "id" => [ "key" => "id", "col" => 4, "operators" => ['LIKE', '=', 'IN', 'BETWEEN'], "type" => "text", "label" => 'team::type.label.id', "placeholder" => 'team::type.placeholder.id', ], "name" => [ "key" => "name", "col" => 4, "operators" => ['LIKE', '=', 'IN', 'BETWEEN'], "type" => "text", "label" => 'team::type.label.name', "placeholder" => 'team::type.placeholder.name', ], "key" => [ "key" => "key", "col" => 4, "operators" => ['LIKE', '=', 'IN', 'BETWEEN'], "type" => "text", "label" => 'team::type.label.key', "placeholder" => 'team::type.placeholder.key', ], "status" => [ "key" => "status", "col" => 4, "operators" => ['LIKE', '=', 'IN', 'BETWEEN'], "type" => "text", "label" => 'team::type.label.status', "placeholder" => 'team::type.placeholder.status', ], ], 'list' => [ [ "key" => "name", "type" => "text", "label" => 'team::type.label.name', 'sort' => true, 'roles' => [], ], [ "key" => "key", "type" => "text", "label" => 'team::type.label.key', 'sort' => true, 'roles' => [], ], [ "key" => "status", "type" => "text", "label" => 'team::type.label.status', 'sort' => true, 'roles' => [], ], [ "key" => "description", "type" => "text", "label" => 'team::type.label.description', 'sort' => true, 'roles' => [], ], ], 'form' => [ [ "key" => 'name', "element" => 'text', "type" => 'text', "label" => 'team::type.label.name', "placeholder" => 'team::type.placeholder.name', "required" => 'true', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'key', "element" => 'text', "type" => 'text', "label" => 'team::type.label.key', "placeholder" => 'team::type.placeholder.key', "required" => 'true', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'status', "element" => 'select', "type" => 'select', "label" => 'team::type.label.status', "placeholder" => 'team::type.placeholder.status', "required" => 'true', "options" => function(){ return trans('team::type.options.status'); }, "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'description', "element" => 'text', "type" => 'text', "label" => 'team::type.label.description', "placeholder" => 'team::type.placeholder.description', "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], ], 'urls' => [ 'new' => [ 'url' => 'team/type/new', 'method' => 'GET', ], 'create' => [ 'url' => 'team/type/create', 'method' => 'GET', ], 'store' => [ 'url' => 'team/type', 'method' => 'POST', ], 'update' => [ 'url' => 'team/type', 'method' => 'PUT', ], 'list' => [ 'url' => 'team/type', 'method' => 'GET', ], 'delete' => [ 'url' => 'team/type', 'method' => 'DELETE', ], ], 'order' => [ 'created_at' => 'team::type.label.created_at', 'name' => 'team::type.label.name', 'status' => 'team::type.label.status', ], 'groups' => [ 'main' => [ 'icon' => "mdi:account-supervisor-outline", 'name' => "team::type.groups.main", 'key' => "main", 'title' => "team::type.groups.main", ], 'details' => [ 'icon' => "fe:home", 'name' => "team::type.groups.details", 'key' => "documents", 'title' => "team::type.groups.details", ], 'images' => [ 'icon' => "fe:home", 'name' => "team::type.groups.images", 'key' => "documents", 'title' => "team::type.groups.images", ], 'settings' => [ 'icon' => "fe:home", 'name' => "team::type.groups.settings", 'key' => "documents", 'title' => "team::type.groups.settings", ] ], 'controller' => [ 'provider' => 'Litepie', 'package' => 'Team', 'module' => 'Type', ], ];