design wip

This commit is contained in:
salam committed 2026-02-03 10:57:50 +01:00
1 parent 70a443db6b
commit eb11298d24
22 files changed
+418 -81

No files matched your search

+8 -8
View File
@@ -42,7 +42,7 @@ class MapperRight extends Component implements HasActions, HasSchemas, HasTable
public $search_right = false;
protected $listeners = [
'reload_data_right' => '$refresh',
'refreshMapperRight' => '$refresh',
];
public $user;
@@ -61,7 +61,7 @@ class MapperRight extends Component implements HasActions, HasSchemas, HasTable
$this->search_right = '';
}
$this->dispatch('reload_data_right');
$this->dispatch('refreshMapperRight');
}
public function table(Table $table): Table
@@ -165,7 +165,7 @@ class MapperRight extends Component implements HasActions, HasSchemas, HasTable
->filtersFormColumns(3)
->deferFilters(false)
->toolbarActions([
Action::make('reload_data_right')
Action::make('refreshMapperRight')
->hiddenLabel()
->icon('phosphor-x')
->color('danger')
@@ -175,8 +175,8 @@ class MapperRight extends Component implements HasActions, HasSchemas, HasTable
$this->tableSearch = ''; // Clears the main search bar
$livewire->fill(['tableSearch' => '']);
$livewire->resetTableFiltersForm(); // Clears all filters
$this->dispatch('reload_data_right');
$this->dispatch('reload_data_left');
$this->dispatch('refreshMapperRight');
$this->dispatch('refreshMapperLeft');
}),
]);
}
@@ -191,7 +191,7 @@ class MapperRight extends Component implements HasActions, HasSchemas, HasTable
{
$this->search_right = $str;
$this->dispatch('reload_data_right');
$this->dispatch('refreshMapperRight');
}
public function rightAction(): Action
@@ -209,8 +209,8 @@ class MapperRight extends Component implements HasActions, HasSchemas, HasTable
StoreMapped::store($arguments, $this->elements_swopped);
$this->search_right = '';
$this->search_left = '';
$this->dispatch('reload_data_left');
$this->dispatch('reload_data_right');
$this->dispatch('refreshMapperLeft');
$this->dispatch('refreshMapperRight');
})
->closeModalByEscaping(false)
->modalCloseButton(false)