[增添]添加了datasource的setting数据库以及默认值

This commit is contained in:
makotocc0107
2024-08-27 09:57:44 +08:00
parent d111dfaea4
commit 72eb990970
10955 changed files with 978898 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
@props([
'form',
'maxHeight' => null,
'triggerAction',
'width' => 'xs',
])
<x-filament::dropdown
:max-height="$maxHeight"
placement="bottom-end"
shift
:width="$width"
wire:key="{{ $this->getId() }}.table.column-toggle"
{{ $attributes->class(['fi-ta-col-toggle']) }}
>
<x-slot name="trigger">
{{ $triggerAction }}
</x-slot>
<div class="grid gap-y-4 p-6">
<h4
class="text-base font-semibold leading-6 text-gray-950 dark:text-white"
>
{{ __('filament-tables::table.column_toggle.heading') }}
</h4>
{{ $form }}
</div>
</x-filament::dropdown>