[增添]添加了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,10 @@
<?php
namespace {{ namespace }};
use Filament\Infolists\Components\Entry;
class {{ class }} extends Entry
{
protected string $view = '{{ view }}';
}

View File

@@ -0,0 +1,5 @@
<x-dynamic-component :component="$getEntryWrapperView()" :entry="$entry">
<div>
{{ $getState() }}
</div>
</x-dynamic-component>

View File

@@ -0,0 +1,15 @@
<?php
namespace {{ namespace }};
use Filament\Infolists\Components\Component;
class {{ class }} extends Component
{
protected string $view = '{{ view }}';
public static function make(): static
{
return app(static::class);
}
}

View File

@@ -0,0 +1,3 @@
<div {{ $attributes }}>
{{ $getChildComponentContainer() }}
</div>