@@ -4,7 +4,6 @@ |
||
| 4 | 4 | * |
| 5 | 5 | * @var $grid Nayjest\Grids\Grid |
| 6 | 6 | */ |
| 7 | -use Nayjest\Grids\Components\ExcelDownload; |
|
| 8 | 7 | ?> |
| 9 | 8 | <span style="visibility:hidden"> |
| 10 | 9 | <a |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Nayjest\Grids\Components; |
| 4 | 4 | |
| 5 | -use Event; |
|
| 6 | 5 | use Illuminate\Pagination\Paginator; |
| 7 | 6 | use Illuminate\Foundation\Application; |
| 8 | 7 | use Maatwebsite\Excel\Classes\LaravelExcelWorksheet; |
@@ -4,16 +4,8 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Event; |
| 6 | 6 | use Illuminate\Support\Facades\Storage; |
| 7 | -use Illuminate\Pagination\Paginator; |
|
| 8 | -use Illuminate\Foundation\Application; |
|
| 9 | -use Maatwebsite\Excel\Classes\LaravelExcelWorksheet; |
|
| 10 | -use Maatwebsite\Excel\Excel; |
|
| 11 | -use Maatwebsite\Excel\Writers\LaravelExcelWriter; |
|
| 12 | 7 | use Nayjest\Grids\Components\Base\RenderableComponent; |
| 13 | 8 | use Nayjest\Grids\Components\Base\RenderableRegistry; |
| 14 | -use Nayjest\Grids\DataProvider; |
|
| 15 | -use Nayjest\Grids\DataRow; |
|
| 16 | -use Nayjest\Grids\FieldConfig; |
|
| 17 | 9 | use Nayjest\Grids\Grid; |
| 18 | 10 | |
| 19 | 11 | class ExcelDownload extends RenderableComponent |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | /** |
| 208 | 208 | * Returns footer component. |
| 209 | 209 | * |
| 210 | - * @return TFoot|null |
|
| 210 | + * @return null|Components\Base\ComponentInterface |
|
| 211 | 211 | */ |
| 212 | 212 | public function footer() |
| 213 | 213 | { |
@@ -217,7 +217,7 @@ discard block |
||
| 217 | 217 | /** |
| 218 | 218 | * Returns header component. |
| 219 | 219 | * |
| 220 | - * @return THead|null |
|
| 220 | + * @return null|Components\Base\ComponentInterface |
|
| 221 | 221 | */ |
| 222 | 222 | public function header() |
| 223 | 223 | { |