File tree Expand file tree Collapse file tree 7 files changed +17
-18
lines changed
Expand file tree Collapse file tree 7 files changed +17
-18
lines changed Original file line number Diff line number Diff line change 11{{-- components.editable
22
33Render an editable input field --}}
4+ @props ([' model' , ' field' => ' ' ] )
45
56<div x-data =" {
67 field: '{{ $field } } ',
Original file line number Diff line number Diff line change 2323 <a href =" #!"
2424 wire:click.prevent =" sort('{{ $column } } ')"
2525 title =" {{ __ (' Sort by' ) } } {{ $title } } {{ __ ($sortOrder == ' asc' ? ' descending' : ' ascending' ) } }"
26- class =" group flex items-center px-4 py-2 hover:bg-gray-100 hover:text-gray-900 text-sm gap-3" >
26+ class =" group flex items-center px-4 py-2 hover:bg-gray-100 hover:text-gray-900 text-sm gap-3"
27+ >
2728 @if ($sortBy === $column )
28- <i data-feather =" arrow-{{ $sortOrder === ' asc' ? ' up' : ' down' } }"
29- class =" text-gray-900 h-4 w-4" ></i >
29+ <i data-feather =" arrow-{{ $sortOrder === ' asc' ? ' up' : ' down' } }" class =" text-gray-900 h-4 w-4" ></i >
3030 @else
3131 <i class =" text-gray-900 h-4 w-4" ></i >
3232 @endif
Original file line number Diff line number Diff line change 2222 </div >
2323 @endif
2424 <x-lv-dynamic-component
25- :view =" $cardComponent"
26- :data =" array_merge($this->card($item), [
27- 'withBackground' => $withBackground,
28- 'model' => $item,
29- 'actions' => $actionsByRow,
30- 'hasDefaultAction' => $this->hasDefaultAction,
31- 'selected' => in_array($item->getKey(), $selected)
32- ])"
25+ :view =" $cardComponent"
26+ :data =" array_merge($this->card($item), [
27+ 'withBackground' => $withBackground,
28+ 'model' => $item,
29+ 'actions' => $actionsByRow,
30+ 'hasDefaultAction' => $this->hasDefaultAction,
31+ 'selected' => in_array($item->getKey(), $selected)
32+ ])"
3333 />
3434 </div >
3535 @endforeach
3939 <div class =" mt-8" >
4040 {{ $items -> links () } }
4141 </div >
42-
43- @include (' laravel-views::components.confirmation-message' )
4442</x-lv-layout >
Original file line number Diff line number Diff line change 2323 <div class =" mt-8 px-4" >
2424 {{ $items -> links () } }
2525 </div >
26-
27- @include (' laravel-views::components.confirmation-message' )
2826</x-lv-layout >
Original file line number Diff line number Diff line change 3434 <div class =" p-4" >
3535 {{ $items -> links () } }
3636 </div >
37-
38- @include (' laravel-views::components.confirmation-message' )
3937</x-lv-layout >
4038
Original file line number Diff line number Diff line change 33 <x-lv-alerts-handler />
44
55 {{ $slot } }
6+
7+ {{-- Confirmation message alert --}}
8+ <x-lv-confirmation-message />
69</div >
Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ public function components()
3232 'modal ' => 'modal ' ,
3333 'form.checkbox ' => 'checkbox ' ,
3434 'form.input ' => 'input ' ,
35- 'tooltip ' => 'tooltip '
35+ 'tooltip ' => 'tooltip ' ,
36+ 'confirmation-message ' => 'confirmation-message '
3637 ];
3738 }
3839
You can’t perform that action at this time.
0 commit comments