Chore: Upgrade to Laravel 12 + remove Mary and Jetstream dependencies (#141)

* docs: remove requirement for setting APP_KEY manually

* optimize date picker

* clean up modals

* spot light working

* reorganization

* add lazy load

* wip

* remove filament

* styling
This commit is contained in:
hackerESQ
2025-09-26 17:41:28 -05:00
committed by GitHub
parent 910d426ad4
commit e6f38d9481
146 changed files with 5443 additions and 3909 deletions
@@ -1,19 +1,17 @@
<?php
use App\Models\Holding;
use Illuminate\Support\Collection;
use Livewire\Attributes\{Computed};
use App\Traits\Toast;
use Livewire\Volt\Component;
use Mary\Traits\Toast;
use Illuminate\Validation\Rule;
new class extends Component {
new class extends Component
{
use Toast;
// props
public Holding $holding;
public Bool $reinvest_dividends = false;
public bool $reinvest_dividends = false;
// methods
public function rules()
@@ -24,9 +22,9 @@ new class extends Component {
];
}
public function mount()
public function mount()
{
$this->reinvest_dividends = $this->holding?->reinvest_dividends ?? false;
}
@@ -41,9 +39,9 @@ new class extends Component {
}; ?>
<div class="" x-data="{ }"> {{-- grid lg:grid-cols-4 gap-10 --}}
<x-ib-form wire:submit="save" class=""> {{-- col-span-3 --}}
<x-ui.form wire:submit="save" class=""> {{-- col-span-3 --}}
<x-toggle
<x-ui.toggle
label="{{ __('Reinvest Dividends') }}"
wire:model="reinvest_dividends"
right
@@ -52,7 +50,7 @@ new class extends Component {
<x-slot:actions>
<x-button
<x-ui.button
label="{{ __('Save') }}"
type="submit"
icon="o-paper-airplane"
@@ -60,6 +58,6 @@ new class extends Component {
spinner="save"
/>
</x-slot:actions>
</x-ib-form>
</x-ui.form>
</div>