@include('components.upload',[ 'id' => $id, // INPUT ID BIND 'target' => $target, 'refs' => [ // RELATED OBJECTS 'modal' => 'mediaManagerContainerModal', // CONTAINER MODAL ], ])

@include('components.table',[ 'id' => $id, // INPUT ID BIND 'class' => 'table cell-border hover media-records', 'resource' => $resource, // FORM RESOURCE TARGET 'method' => config('const.crud.delete'), // RESOURCE METHOD AVAILABLE 'through' => $through, // THROUGH SPEC 'data' => $records, // PASS DATA IF ANY 'headers' => $headers ])
{{-- @include('components.tabs', [ 'active' => $tabs['active'], 'tabs' => [ $tabs['records']['id'] => [ 'title' => $tabs['records']['title'], 'layout' => [ 'target' => 'components.table', 'data' => [ 'id' => $id, // INPUT ID BIND 'class' => 'table cell-border hover media-records', 'resource' => $resource, // FORM RESOURCE TARGET 'method' => config('const.crud.delete'), // RESOURCE METHOD AVAILABLE 'through' => $through, // THROUGH SPEC 'data' => $records, // PASS DATA IF ANY 'headers' => $headers ], ] ], $tabs['upload']['id'] => [ 'title' => $tabs['upload']['title'], 'layout' => [ 'target' => 'components.upload', 'data' => [ 'id' => $id, // INPUT ID BIND 'target' => $target, 'refs' => [ // RELATED OBJECTS 'modal' => 'mediaManagerContainerModal', // CONTAINER MODAL ], ], ] ], ], ]) --}} @if(@$config) @push('script') @endpush @endif