Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
LeMatosDeFuk committed Sep 30, 2023
1 parent 4e9807a commit ee4d7ae
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 451 deletions.
File renamed without changes.
File renamed without changes.
114 changes: 0 additions & 114 deletions src/BaseGrid.php

This file was deleted.

149 changes: 0 additions & 149 deletions src/Column.php

This file was deleted.

8 changes: 0 additions & 8 deletions src/Components/Select.php

This file was deleted.

6 changes: 3 additions & 3 deletions src/Livewire/BaseGrid.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php

namespace BoredProgrammers\LaraGrid\Livewire;
namespace BoredProgrammers\LaraGrid;

use Exception;
use Illuminate\Contracts\View\View;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Support\Arr;
use LaraGrid\Enums\FiltrationType;
use BoredProgrammers\LaraGrid\Enums\FiltrationType;
use Livewire\Attributes\Url;
use Livewire\Component;
use Livewire\WithPagination;
Expand Down Expand Up @@ -104,7 +104,7 @@ public function render(): View
);
}

return view('livewire.grid', [
return view('grid', [
'records' => $query->paginate($this->perPage),
'columns' => $columns,
'theme' => $this->theme,
Expand Down
8 changes: 4 additions & 4 deletions src/Livewire/Column.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace BoredProgrammers\LaraGrid\Livewire;
namespace BoredProgrammers\LaraGrid;

use Closure;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Carbon;
use LaraGrid\Enums\FilterType;
use LaraGrid\Filters\BaseFilter;
use LaraGrid\Filters\SelectFilterOption;
use BoredProgrammers\LaraGrid\Enums\FilterType;
use BoredProgrammers\LaraGrid\Filters\BaseFilter;
use BoredProgrammers\LaraGrid\Filters\SelectFilterOption;
use UnitEnum;

class Column
Expand Down
2 changes: 1 addition & 1 deletion src/Livewire/Theme.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace BoredProgrammers\LaraGrid\Livewire;
namespace BoredProgrammers\LaraGrid;

class Theme
{
Expand Down
23 changes: 0 additions & 23 deletions src/Livewire/UiKitTheme.php
Original file line number Diff line number Diff line change
@@ -1,23 +0,0 @@
<?php

namespace BoredProgrammers\LaraGrid\Livewire;

class UiKitTheme extends Theme
{

public function __construct()
{
$this->setTable(
'table uk-table uk-table-divider uk-table uk-table-responsive
uk-table uk-table-hover form__table'
)
->setThead('')
->setTr('row-group-actions')
->setTh('ublaboo-datagrid-th-form-inline')
->setTbody('grid-sortable')
->setTd('')
->setPagination('uk-pagination')
->setFilterText('uk-input uk-form-small');
}

}
Loading

0 comments on commit ee4d7ae

Please sign in to comment.