|
1 | 1 | <?php |
2 | 2 |
|
| 3 | +use PowerComponents\LivewirePowerGrid\Components\Exports\OpenSpout\v5\{ExportToCsv, ExportToXLS}; |
| 4 | +use PowerComponents\LivewirePowerGrid\FilterAttributes\{Boolean, InputText, Number, Select}; |
| 5 | +use PowerComponents\LivewirePowerGrid\Themes\Tailwind; |
| 6 | + |
3 | 7 | return [ |
4 | 8 |
|
5 | 9 | /* |
|
11 | 15 | | Configure here the theme of your choice. |
12 | 16 | */ |
13 | 17 |
|
14 | | - 'theme' => \PowerComponents\LivewirePowerGrid\Themes\Tailwind::class, |
| 18 | + 'theme' => Tailwind::class, |
15 | 19 | // 'theme' => \PowerComponents\LivewirePowerGrid\Themes\DaisyUI::class, |
16 | 20 | // 'theme' => \PowerComponents\LivewirePowerGrid\Themes\Bootstrap5::class, |
17 | 21 |
|
|
109 | 113 | */ |
110 | 114 |
|
111 | 115 | 'filter_attributes' => [ |
112 | | - 'input_text' => \PowerComponents\LivewirePowerGrid\FilterAttributes\InputText::class, |
113 | | - 'boolean' => \PowerComponents\LivewirePowerGrid\FilterAttributes\Boolean::class, |
114 | | - 'number' => \PowerComponents\LivewirePowerGrid\FilterAttributes\Number::class, |
115 | | - 'select' => \PowerComponents\LivewirePowerGrid\FilterAttributes\Select::class, |
| 116 | + 'input_text' => InputText::class, |
| 117 | + 'boolean' => Boolean::class, |
| 118 | + 'number' => Number::class, |
| 119 | + 'select' => Select::class, |
116 | 120 | ], |
117 | 121 |
|
118 | 122 | /* |
|
140 | 144 | 'exportable' => [ |
141 | 145 | 'default' => 'openspout_v4', |
142 | 146 | 'openspout_v5' => [ |
143 | | - 'xlsx' => \PowerComponents\LivewirePowerGrid\Components\Exports\OpenSpout\v5\ExportToXLS::class, |
144 | | - 'csv' => \PowerComponents\LivewirePowerGrid\Components\Exports\OpenSpout\v5\ExportToCsv::class, |
| 147 | + 'xlsx' => ExportToXLS::class, |
| 148 | + 'csv' => ExportToCsv::class, |
145 | 149 | ], |
146 | 150 | 'openspout_v4' => [ |
147 | | - 'xlsx' => \PowerComponents\LivewirePowerGrid\Components\Exports\OpenSpout\v4\ExportToXLS::class, |
148 | | - 'csv' => \PowerComponents\LivewirePowerGrid\Components\Exports\OpenSpout\v4\ExportToCsv::class, |
| 151 | + 'xlsx' => PowerComponents\LivewirePowerGrid\Components\Exports\OpenSpout\v4\ExportToXLS::class, |
| 152 | + 'csv' => PowerComponents\LivewirePowerGrid\Components\Exports\OpenSpout\v4\ExportToCsv::class, |
149 | 153 | ], |
150 | 154 | ], |
151 | 155 |
|
|
0 commit comments