From 07c6786bda8136c21ad1e469126bec0ac74f4ad4 Mon Sep 17 00:00:00 2001 From: SEB Fotografie - soeren Date: Wed, 30 Jul 2025 15:06:05 +0200 Subject: [PATCH] added enabled/disable to styles --- app/Api/Plugins/LoggablePlugin.php | 28 + app/Api/Plugins/PluginLoader.php | 5 +- app/Api/Plugins/RunwareAi.php | 145 + app/Filament/Pages/InstallPluginPage.php | 2 +- app/Filament/Pages/ListPlugins.php | 12 +- app/Filament/Resources/AiModelResource.php | 3 +- .../Resources/ApiProviderResource.php | 17 +- app/Filament/Resources/StyleResource.php | 16 +- .../StyleResource/Pages/CreateStyle.php | 17 - app/Http/Controllers/Api/ImageController.php | 119 +- app/Providers/ApiPluginServiceProvider.php | 3 +- app/Providers/Filament/AdminPanelProvider.php | 2 +- config/logging.php | 7 + ..._30_123238_add_enabled_to_styles_table.php | 28 + ..._30_123535_add_enabled_to_styles_table.php | 28 + resources/js/Pages/Home.vue | 17 +- resources/lang/de/api.php | 10 + resources/lang/de/filament.php | 7 + resources/lang/en/api.php | 10 + resources/lang/en/filament.php | 29 +- routes/api.php | 2 + .../2LnPGmwlxGRHXVSl19o1c4mjV5LtdbRmJFlV6RmF | 1 - .../Ah807rNTlRlLH1bWFB5VKVkQlyDpIR5oQZywnwRZ | 1 - .../04377e9afab135a2c44898b509a70c05.php | 37 - .../0501935ea2d6a621364d1e6f1aa4761f.php | 23 - .../08708b3d226bf04c9f80db959f4fc1e8.php | 104 - .../10e12a3e2375920ac91b1f261246486f.php | 103 - .../177d36663febb5478361fe31f353f04a.php | 37 - .../1b89c7ec4da455fdb1ecb68eaef55d31.php | 80 - .../21979c2d62db3dd3065c16790b9348bb.php | 386 --- .../2588408a7a38a83bc8f9d1f254aed4de.php | 95 - .../28a693c4eb0d270f669e08944e8fdabe.php | 131 - .../2fc6c391590f61944ad3560001cff5a5.php | 39 - .../3221b5611cf70f89e54781188ab48a5a.php | 63 - .../358bc20611c0aed59cfe4ba9b704687e.php | 259 -- .../3ecdaf16a195eaa9fc14f310d01c68d8.php | 17 - .../3f77e6826fdc1594eff5c290f02eecb9.php | 12 - ...43142f5c1b35131492103f56b06c9cfb.blade.php | 6 - .../43f0951c4abbb80b8a152de3d29d2f9a.php | 19 - .../491b7b222c93a304ca837d0dcba942bf.php | 293 --- ...4943bc92ebba41e8b0e508149542e0ad.blade.php | 16 - .../4da3b123a7c935e04ebc60d883dabbee.php | 166 -- .../546210b001c6b36a2bdb03f82ebad1d7.php | 5 - .../6b770add6cc0df00038744c2a6d1077d.php | 23 - .../6c475caca3dda51a5a1abbe48329f46a.php | 64 - .../6dd3cada9705b7b1053ccd618d6c7764.php | 91 - .../70bd2d74d414c5c65057842c78987546.php | 10 - .../71ad06e0a4c6625c4df918eb193242ce.php | 39 - .../740a222618b7f14ce1e03c8068c670cc.php | 47 - .../83c343a60a03f7d9ab5d270fbf557afa.php | 200 -- .../8c6412b2920d11d4a44bfb670789eb4d.php | 23 - .../8d54a7d1d24855a8b16f06fe955cdc47.php | 348 --- .../9055fa93d645c409143dd0f705833c7a.php | 128 - ...93864384454ad9bde74a766d65cf4784.blade.php | 6 - .../9495d6ccd30365db155f868e18df2250.php | 438 ---- .../962469f768538651803febad6692e884.php | 2335 ----------------- .../972e582771c99256fd2555bf3ad631a9.php | 20 - .../98f8cb33792e04d0a0ff9c73462a14d2.php | 54 - .../9b6420b104e399afd8e150e576e047d6.php | 52 - .../a1a175386f5df4a9944422a0a6842305.php | 83 - .../b4b5d6104ed13101944635db247213ed.php | 330 --- .../b6d259c4518ccdcfceeb05a40aac031e.php | 146 -- .../ba12c4bd1f7148a98d1382c8774fad65.php | 554 ---- .../c266f0b9c47ada5394333e08a98ead1b.php | 102 - ...c4a270774f111952550ceebce62d1ef2.blade.php | 6 - .../c53737f1ed752e3452b9280c3717f844.php | 113 - .../c859770dff62866f78389be680911904.php | 52 - .../d81f1ca0a1ecc2a59aafd23a29c36756.php | 352 --- .../d95a06d9aa52b4fdd5262f7961cbb3d9.php | 130 - .../da800d44790457ef4aa9314034126ecd.php | 37 - .../e46b74a44c4423643da90ce5f30255d8.php | 237 -- .../e7f7cbbce9d0b9cf5ea9b7aa2ca5c8b1.php | 84 - .../ef554e346eeb9b5e99b25c7f359262e6.php | 185 -- .../f7c2fc3d8b847a2844806ab278dc2061.php | 272 -- .../f8164d9ffaf006f2ef18a15377603934.php | 37 - .../faf36b03a2cd17600a2054df073247d1.php | 98 - 76 files changed, 438 insertions(+), 8658 deletions(-) create mode 100644 app/Api/Plugins/LoggablePlugin.php create mode 100644 app/Api/Plugins/RunwareAi.php create mode 100644 database/migrations/2025_07_30_123238_add_enabled_to_styles_table.php create mode 100644 database/migrations/2025_07_30_123535_add_enabled_to_styles_table.php create mode 100644 resources/lang/de/api.php create mode 100644 resources/lang/en/api.php delete mode 100644 storage/framework/sessions/2LnPGmwlxGRHXVSl19o1c4mjV5LtdbRmJFlV6RmF delete mode 100644 storage/framework/sessions/Ah807rNTlRlLH1bWFB5VKVkQlyDpIR5oQZywnwRZ delete mode 100644 storage/framework/views/04377e9afab135a2c44898b509a70c05.php delete mode 100644 storage/framework/views/0501935ea2d6a621364d1e6f1aa4761f.php delete mode 100644 storage/framework/views/08708b3d226bf04c9f80db959f4fc1e8.php delete mode 100644 storage/framework/views/10e12a3e2375920ac91b1f261246486f.php delete mode 100644 storage/framework/views/177d36663febb5478361fe31f353f04a.php delete mode 100644 storage/framework/views/1b89c7ec4da455fdb1ecb68eaef55d31.php delete mode 100644 storage/framework/views/21979c2d62db3dd3065c16790b9348bb.php delete mode 100644 storage/framework/views/2588408a7a38a83bc8f9d1f254aed4de.php delete mode 100644 storage/framework/views/28a693c4eb0d270f669e08944e8fdabe.php delete mode 100644 storage/framework/views/2fc6c391590f61944ad3560001cff5a5.php delete mode 100644 storage/framework/views/3221b5611cf70f89e54781188ab48a5a.php delete mode 100644 storage/framework/views/358bc20611c0aed59cfe4ba9b704687e.php delete mode 100644 storage/framework/views/3ecdaf16a195eaa9fc14f310d01c68d8.php delete mode 100644 storage/framework/views/3f77e6826fdc1594eff5c290f02eecb9.php delete mode 100644 storage/framework/views/43142f5c1b35131492103f56b06c9cfb.blade.php delete mode 100644 storage/framework/views/43f0951c4abbb80b8a152de3d29d2f9a.php delete mode 100644 storage/framework/views/491b7b222c93a304ca837d0dcba942bf.php delete mode 100644 storage/framework/views/4943bc92ebba41e8b0e508149542e0ad.blade.php delete mode 100644 storage/framework/views/4da3b123a7c935e04ebc60d883dabbee.php delete mode 100644 storage/framework/views/546210b001c6b36a2bdb03f82ebad1d7.php delete mode 100644 storage/framework/views/6b770add6cc0df00038744c2a6d1077d.php delete mode 100644 storage/framework/views/6c475caca3dda51a5a1abbe48329f46a.php delete mode 100644 storage/framework/views/6dd3cada9705b7b1053ccd618d6c7764.php delete mode 100644 storage/framework/views/70bd2d74d414c5c65057842c78987546.php delete mode 100644 storage/framework/views/71ad06e0a4c6625c4df918eb193242ce.php delete mode 100644 storage/framework/views/740a222618b7f14ce1e03c8068c670cc.php delete mode 100644 storage/framework/views/83c343a60a03f7d9ab5d270fbf557afa.php delete mode 100644 storage/framework/views/8c6412b2920d11d4a44bfb670789eb4d.php delete mode 100644 storage/framework/views/8d54a7d1d24855a8b16f06fe955cdc47.php delete mode 100644 storage/framework/views/9055fa93d645c409143dd0f705833c7a.php delete mode 100644 storage/framework/views/93864384454ad9bde74a766d65cf4784.blade.php delete mode 100644 storage/framework/views/9495d6ccd30365db155f868e18df2250.php delete mode 100644 storage/framework/views/962469f768538651803febad6692e884.php delete mode 100644 storage/framework/views/972e582771c99256fd2555bf3ad631a9.php delete mode 100644 storage/framework/views/98f8cb33792e04d0a0ff9c73462a14d2.php delete mode 100644 storage/framework/views/9b6420b104e399afd8e150e576e047d6.php delete mode 100644 storage/framework/views/a1a175386f5df4a9944422a0a6842305.php delete mode 100644 storage/framework/views/b4b5d6104ed13101944635db247213ed.php delete mode 100644 storage/framework/views/b6d259c4518ccdcfceeb05a40aac031e.php delete mode 100644 storage/framework/views/ba12c4bd1f7148a98d1382c8774fad65.php delete mode 100644 storage/framework/views/c266f0b9c47ada5394333e08a98ead1b.php delete mode 100644 storage/framework/views/c4a270774f111952550ceebce62d1ef2.blade.php delete mode 100644 storage/framework/views/c53737f1ed752e3452b9280c3717f844.php delete mode 100644 storage/framework/views/c859770dff62866f78389be680911904.php delete mode 100644 storage/framework/views/d81f1ca0a1ecc2a59aafd23a29c36756.php delete mode 100644 storage/framework/views/d95a06d9aa52b4fdd5262f7961cbb3d9.php delete mode 100644 storage/framework/views/da800d44790457ef4aa9314034126ecd.php delete mode 100644 storage/framework/views/e46b74a44c4423643da90ce5f30255d8.php delete mode 100644 storage/framework/views/e7f7cbbce9d0b9cf5ea9b7aa2ca5c8b1.php delete mode 100644 storage/framework/views/ef554e346eeb9b5e99b25c7f359262e6.php delete mode 100644 storage/framework/views/f7c2fc3d8b847a2844806ab278dc2061.php delete mode 100644 storage/framework/views/f8164d9ffaf006f2ef18a15377603934.php delete mode 100644 storage/framework/views/faf36b03a2cd17600a2054df073247d1.php diff --git a/app/Api/Plugins/LoggablePlugin.php b/app/Api/Plugins/LoggablePlugin.php new file mode 100644 index 0000000..c11ddcc --- /dev/null +++ b/app/Api/Plugins/LoggablePlugin.php @@ -0,0 +1,28 @@ +info($message, $context); + } + + protected function logWarning(string $message, array $context = []): void + { + Log::channel('plugins')->warning($message, $context); + } + + protected function logError(string $message, array $context = []): void + { + Log::channel('plugins')->error($message, $context); + } + + protected function logDebug(string $message, array $context = []): void + { + Log::channel('plugins')->debug($message, $context); + } +} diff --git a/app/Api/Plugins/PluginLoader.php b/app/Api/Plugins/PluginLoader.php index 12007e9..2a46876 100644 --- a/app/Api/Plugins/PluginLoader.php +++ b/app/Api/Plugins/PluginLoader.php @@ -19,11 +19,12 @@ class PluginLoader static::$plugins[$name] = $className; } - public static function getPlugin(string $name): ApiPluginInterface + public static function getPlugin(string $name, $apiProvider = null): ApiPluginInterface { if (!isset(static::$plugins[$name])) { throw new InvalidArgumentException("Plugin {$name} not registered."); } - return new static::$plugins[$name](); + $className = static::$plugins[$name]; + return new $className($apiProvider); } } \ No newline at end of file diff --git a/app/Api/Plugins/RunwareAi.php b/app/Api/Plugins/RunwareAi.php new file mode 100644 index 0000000..4ebf6d2 --- /dev/null +++ b/app/Api/Plugins/RunwareAi.php @@ -0,0 +1,145 @@ +apiProvider = $apiProvider; + $this->logInfo('RunwareAi plugin initialized.', ['provider_name' => $apiProvider->name]); + } + + public function getIdentifier(): string + { + return 'runwareai'; + } + + public function getName(): string + { + return 'RunwareAI'; + } + + public function isEnabled(): bool + { + return $this->apiProvider->enabled; + } + + public function enable(): bool + { + $this->apiProvider->enabled = true; + $result = $this->apiProvider->save(); + if ($result) { + $this->logInfo('RunwareAi plugin enabled.', ['provider_name' => $this->apiProvider->name]); + } else { + $this->logError('Failed to enable RunwareAi plugin.', ['provider_name' => $this->apiProvider->name]); + } + return $result; + } + + public function disable(): bool + { + $this->apiProvider->enabled = false; + $result = $this->apiProvider->save(); + if ($result) { + $this->logInfo('RunwareAi plugin disabled.', ['provider_name' => $this->apiProvider->name]); + } else { + $this->logError('Failed to disable RunwareAi plugin.', ['provider_name' => $this->apiProvider->name]); + } + return $result; + } + + public function getStatus(string $imageUUID): array + { + $this->logDebug('Getting status for image.', ['image_uuid' => $imageUUID]); + // Implement RunwareAI specific status check + return ['status' => 'unknown']; + } + + public function getProgress(string $imageUUID): array + { + $this->logDebug('Getting progress for image.', ['image_uuid' => $imageUUID]); + // Implement RunwareAI specific progress check + return ['progress' => 0]; + } + + public function upload(string $imagePath): array + { + $this->logInfo('Attempting to upload image to RunwareAI.', ['image_path' => $imagePath]); + if (!$this->apiProvider->api_url || !$this->apiProvider->token) { + $this->logError('RunwareAI API URL or Token not configured for upload.', ['provider_name' => $this->apiProvider->name]); + throw new \Exception('RunwareAI API URL or Token not configured.'); + } + + $apiUrl = rtrim($this->apiProvider->api_url, '/'); + $token = $this->apiProvider->token; + $taskUUID = (string) Str::uuid(); + + try { + $response = Http::withHeaders([ + 'Authorization' => 'Bearer ' . $token, + 'Accept' => 'application/json', + ])->attach( + 'image', file_get_contents($imagePath), basename($imagePath) + )->post($apiUrl, [ + 'taskType' => 'imageUpload', + 'taskUUID' => $taskUUID, + ]); + + $response->throw(); + $this->logInfo('Image uploaded successfully to RunwareAI.', ['task_uuid' => $taskUUID, 'response' => $response->json()]); + return $response->json(); + } catch (\Exception $e) { + $this->logError('Image upload to RunwareAI failed.', ['error' => $e->getMessage(), 'image_path' => $imagePath]); + throw $e; + } + } + + public function styleChangeRequest(string $prompt, string $seedImageUUID, ?string $parameters = null): array + { + $this->logInfo('Attempting style change request to RunwareAI.', ['prompt' => $prompt, 'seed_image_uuid' => $seedImageUUID]); + if (!$this->apiProvider->api_url || !$this->apiProvider->token) { + $this->logError('RunwareAI API URL or Token not configured for style change.', ['provider_name' => $this->apiProvider->name]); + throw new \Exception('RunwareAI API URL or Token not configured.'); + } + + $apiUrl = rtrim($this->apiProvider->api_url, '/'); + $token = $this->apiProvider->token; + $taskUUID = (string) Str::uuid(); + + $data = [ + 'taskType' => 'imageInference', + 'taskUUID' => $taskUUID, + 'positivePrompt' => $prompt, + 'seedImage' => $seedImageUUID, + 'outputType' => 'base64Data', + ]; + + $decodedParameters = json_decode($parameters, true) ?? []; + foreach ($decodedParameters as $key => $value) { + $data[$key] = $value; + } + + try { + $response = Http::withHeaders([ + 'Authorization' => 'Bearer ' . $token, + 'Accept' => 'application/json', + ])->post($apiUrl, $data); + + $response->throw(); + $this->logInfo('Style change request successful to RunwareAI.', ['task_uuid' => $taskUUID, 'response' => $response->json()]); + return $response->json(); + } catch (\Exception $e) { + $this->logError('Style change request to RunwareAI failed.', ['error' => $e->getMessage(), 'task_uuid' => $taskUUID]); + throw $e; + } + } +} \ No newline at end of file diff --git a/app/Filament/Pages/InstallPluginPage.php b/app/Filament/Pages/InstallPluginPage.php index 8fa7859..a5c86f0 100644 --- a/app/Filament/Pages/InstallPluginPage.php +++ b/app/Filament/Pages/InstallPluginPage.php @@ -18,7 +18,7 @@ class InstallPluginPage extends Page implements HasForms protected static string $view = 'filament.pages.install-plugin-page'; - protected static ?string $navigationGroup = 'Plugins'; + protected static ?string $navigationGroup = 'Settings'; protected static ?string $title = 'Install Plugin'; diff --git a/app/Filament/Pages/ListPlugins.php b/app/Filament/Pages/ListPlugins.php index 6402ed6..1bdd884 100644 --- a/app/Filament/Pages/ListPlugins.php +++ b/app/Filament/Pages/ListPlugins.php @@ -13,6 +13,7 @@ use Filament\Tables\Contracts\HasTable; use Filament\Tables\Table; use Illuminate\Database\Eloquent\Collection; use Illuminate\Support\Facades\File; +use App\Models\ApiProvider; use Filament\Tables\Actions\Action; class ListPlugins extends Page implements HasTable @@ -23,7 +24,7 @@ class ListPlugins extends Page implements HasTable protected static string $view = 'filament.pages.list-plugins'; - protected static ?string $navigationGroup = 'Plugins'; + protected static ?string $navigationGroup = 'Settings'; protected static ?string $title = 'Plugins'; @@ -40,7 +41,9 @@ class ListPlugins extends Page implements HasTable if (class_exists($class) && in_array(ApiPluginInterface::class, class_implements($class))) { try { - $instance = new $class(); + $apiProvider = ApiProvider::where('plugin', $filename)->first(); + if(!$apiProvider) continue; + $instance = new $class($apiProvider); $plugins->add(new Plugin([ 'id' => $instance->getIdentifier(), 'name' => $instance->getName(), @@ -78,8 +81,10 @@ class ListPlugins extends Page implements HasTable ->icon(fn ($record) => $record->enabled ? 'heroicon-o-x-circle' : 'heroicon-o-check-circle') ->action(function ($record) { try { + $apiProvider = ApiProvider::where('plugin', $record->identifier)->first(); + if(!$apiProvider) throw new \Exception('ApiProvider not found'); $pluginClass = 'App\\Api\\Plugins\\' . $record->identifier; - $plugin = new $pluginClass(); + $plugin = new $pluginClass($apiProvider); if ($record->enabled) { $plugin->disable(); } else { @@ -97,6 +102,7 @@ class ListPlugins extends Page implements HasTable ->send(); } }), + Action::make('delete') ->label('Delete') ->icon('heroicon-o-trash') diff --git a/app/Filament/Resources/AiModelResource.php b/app/Filament/Resources/AiModelResource.php index 16c7f25..c8c2e0a 100644 --- a/app/Filament/Resources/AiModelResource.php +++ b/app/Filament/Resources/AiModelResource.php @@ -41,8 +41,7 @@ class AiModelResource extends Resource Select::make('apiProviders') ->relationship('apiProviders', 'name') ->multiple() - ->label(__('filament.resource.ai_model.form.api_providers')) - ->options(\App\Models\ApiProvider::pluck('name', 'id')), + ->label(__('filament.resource.ai_model.form.api_providers')), ]); } diff --git a/app/Filament/Resources/ApiProviderResource.php b/app/Filament/Resources/ApiProviderResource.php index ed023b3..312feb6 100644 --- a/app/Filament/Resources/ApiProviderResource.php +++ b/app/Filament/Resources/ApiProviderResource.php @@ -85,6 +85,18 @@ class ApiProviderResource extends Resource ->bulkActions([ Tables\Actions\BulkActionGroup::make([ Tables\Actions\DeleteBulkAction::make(), + Tables\Actions\BulkAction::make('enable') + ->label(__('filament.resource.api_provider.action.enable_selected')) + ->icon('heroicon-o-check-circle') + ->action(function (\Illuminate\Support\Collection $records) { + $records->each->update(['enabled' => true]); + }), + Tables\Actions\BulkAction::make('disable') + ->label(__('filament.resource.api_provider.action.disable_selected')) + ->icon('heroicon-o-x-circle') + ->action(function (\Illuminate\Support\Collection $records) { + $records->each->update(['enabled' => false]); + }), ]), ]) ->emptyStateActions([ @@ -122,8 +134,9 @@ class ApiProviderResource extends Resource $class = 'App\\Api\\Plugins\\' . $filename; if (class_exists($class) && in_array(ApiPluginInterface::class, class_implements($class))) { - $instance = new $class(); - $plugins[$instance->getIdentifier()] = $instance->getName(); + // Do not instantiate here, just get identifier and name if possible statically or by convention + // For now, we'll use filename as identifier and name + $plugins[$filename] = $filename; } } return $plugins; diff --git a/app/Filament/Resources/StyleResource.php b/app/Filament/Resources/StyleResource.php index ae0f516..af8d92e 100644 --- a/app/Filament/Resources/StyleResource.php +++ b/app/Filament/Resources/StyleResource.php @@ -1,26 +1,22 @@ label(__('filament.resource.style.table.preview_image'))->disk('public'), ]) ->filters([ - Tables\Filters\SelectFilter::make('ai_model') + SelectFilter::make('ai_model') ->relationship('aiModel', 'name') ->label(__('filament.resource.style.table.ai_model')), ]) @@ -85,7 +81,13 @@ class StyleResource extends Resource Tables\Actions\Action::make('duplicate') ->label(__('filament.resource.style.action.duplicate')) ->icon('heroicon-o-document-duplicate') - ->url(fn (\App\Models\Style $record): string => StyleResource::getUrl('create', ['duplicate_id' => $record->id])), + ->action(function (\App\Models\Style $record) { + $newStyle = $record->replicate(); + $newStyle->title = $record->title . ' (Kopie)'; + $newStyle->save(); + + return redirect()->to(StyleResource::getUrl('edit', ['record' => $newStyle->id])); + }), ]) ->bulkActions([ Tables\Actions\BulkActionGroup::make([ diff --git a/app/Filament/Resources/StyleResource/Pages/CreateStyle.php b/app/Filament/Resources/StyleResource/Pages/CreateStyle.php index ff764ea..7bf0516 100644 --- a/app/Filament/Resources/StyleResource/Pages/CreateStyle.php +++ b/app/Filament/Resources/StyleResource/Pages/CreateStyle.php @@ -3,7 +3,6 @@ namespace App\Filament\Resources\StyleResource\Pages; use App\Filament\Resources\StyleResource; -use App\Models\Style; use Filament\Actions; use Filament\Resources\Pages\CreateRecord; @@ -15,20 +14,4 @@ class CreateStyle extends CreateRecord { return $this->getResource()::getUrl('index'); } - - public function mount(): void - { - parent::mount(); - - $duplicateId = request()->query('duplicate_id'); - - if ($duplicateId) { - $originalStyle = Style::find($duplicateId); - if ($originalStyle) { - $data = $originalStyle->toArray(); - $data['title'] = $originalStyle->title . ' (Kopie)'; - $this->form->fill($data); - } - } - } } \ No newline at end of file diff --git a/app/Http/Controllers/Api/ImageController.php b/app/Http/Controllers/Api/ImageController.php index 3ee2910..3de8123 100644 --- a/app/Http/Controllers/Api/ImageController.php +++ b/app/Http/Controllers/Api/ImageController.php @@ -52,23 +52,127 @@ class ImageController extends Controller ]); $image = Image::find($request->image_id); - $style = Style::with('aiModel.apiProviders')->find($request->style_id); + $style = Style::with(['aiModel' => function ($query) { + $query->where('enabled', true)->with(['apiProviders' => function ($query) { + $query->where('enabled', true); + }]); + }])->find($request->style_id); if (!$style || !$style->aiModel || $style->aiModel->apiProviders->isEmpty()) { return response()->json(['error' => __('api.style_or_provider_not_found')], 404); } try { - $apiProvider = $style->aiModel->apiProviders->first(); // Get the first API provider + $apiProvider = $style->aiModel->apiProviders->first(); // Get the first enabled API provider if (!$apiProvider) { return response()->json(['error' => __('api.style_or_provider_not_found')], 404); } - $plugin = PluginLoader::getPlugin($apiProvider->name); - $result = $plugin->styleChangeRequest($style->prompt, $image->uuid, $style->parameters); // Annahme: Image Model hat eine UUID + $plugin = PluginLoader::getPlugin($apiProvider->plugin, $apiProvider); - // Hier müsste die Logik zum Speichern des neuen Bildes und dessen Verknüpfung implementiert werden - // Fürs Erste geben wir das Ergebnis der API zurück - return response()->json($result); + // Step 1: Upload the original image + $originalImagePath = Storage::disk('public')->path($image->path); + $uploadResult = $plugin->upload($originalImagePath); + + if (!isset($uploadResult['imageUUID'])) { + throw new \Exception('Image upload to AI service failed or returned no UUID.'); + } + $seedImageUUID = $uploadResult['imageUUID']; + + // Step 2: Request style change using the uploaded image's UUID + $result = $plugin->styleChangeRequest($style->prompt, $seedImageUUID, $style->parameters); + + if (!isset($result['base64Data'])) { + throw new \Exception('AI service did not return base64 image data.'); + } + + $base64Image = $result['base64Data']; + $decodedImage = base64_decode(preg_replace('#^data:image/\w+;base64, #i', '', $base64Image)); + + $newImageName = 'styled_' . uniqid() . '.png'; // Assuming PNG for now + $newImagePath = 'uploads/' . $newImageName; + + Storage::disk('public')->put($newImagePath, $decodedImage); + + $newImage = Image::create([ + 'path' => $newImagePath, + 'original_image_id' => $image->id, // Link to original image + 'style_id' => $style->id, // Link to applied style + 'is_temp' => true, // Mark as temporary until user keeps it + ]); + + return response()->json([ + 'message' => 'Style change successful', + 'styled_image' => [ + 'id' => $newImage->id, + 'path' => Storage::url($newImage->path), + 'is_temp' => $newImage->is_temp, + ], + ]); + } catch (\Exception $e) { + return response()->json(['error' => $e->getMessage()], 500); + } + } + + public function keepImage(Request $request) + { + $request->validate([ + 'image_id' => 'required|exists:images,id', + ]); + + $image = Image::find($request->image_id); + + if (!$image) { + return response()->json(['error' => __('api.image_not_found')], 404); + } + + $image->is_temp = false; + $image->save(); + + return response()->json(['message' => __('api.image_kept_successfully')]); + } + + public function deleteImage(Image $image) + { + // Ensure the image is temporary or belongs to the authenticated user if not temporary + // For simplicity, we'll allow deletion of any image passed for now. + // In a real app, you'd add authorization checks here. + + try { + Storage::disk('public')->delete($image->path); + $image->delete(); + return response()->json(['message' => __('api.image_deleted_successfully')]); + } catch (\Exception $e) { + return response()->json(['error' => $e->getMessage()], 500); + } + } + + public function keepImage(Request $request) + { + $request->validate([ + 'image_id' => 'required|exists:images,id', + ]); + + $image = Image::find($request->image_id); + + if (!$image) { + return response()->json(['error' => __('api.image_not_found')], 404); + } + + try { + $image->is_temp = false; + $image->save(); + return response()->json(['message' => __('api.image_kept_successfully')]); + } catch (\Exception $e) { + return response()->json(['error' => $e->getMessage()], 500); + } + } + + public function deleteImage(Image $image) + { + try { + Storage::disk('public')->delete($image->path); + $image->delete(); + return response()->json(['message' => __('api.image_deleted_successfully')]); } catch (\Exception $e) { return response()->json(['error' => $e->getMessage()], 500); } @@ -118,5 +222,4 @@ class ImageController extends Controller } catch (\Exception $e) { return response()->json(['error' => $e->getMessage()], 500); } - } } \ No newline at end of file diff --git a/app/Providers/ApiPluginServiceProvider.php b/app/Providers/ApiPluginServiceProvider.php index 29aec16..56f09ed 100644 --- a/app/Providers/ApiPluginServiceProvider.php +++ b/app/Providers/ApiPluginServiceProvider.php @@ -25,8 +25,7 @@ class ApiPluginServiceProvider extends ServiceProvider $class = 'App\\Api\\Plugins\\' . $filename; if (class_exists($class) && in_array(ApiPluginInterface::class, class_implements($class))) { - $instance = new $class(); - PluginLoader::registerPlugin($instance->getIdentifier(), $class); + PluginLoader::registerPlugin($filename, $class); } } } diff --git a/app/Providers/Filament/AdminPanelProvider.php b/app/Providers/Filament/AdminPanelProvider.php index 2e26071..4a6f0fe 100644 --- a/app/Providers/Filament/AdminPanelProvider.php +++ b/app/Providers/Filament/AdminPanelProvider.php @@ -17,7 +17,7 @@ use Illuminate\Routing\Middleware\SubstituteBindings; use Illuminate\Session\Middleware\AuthenticateSession; use Illuminate\Session\Middleware\StartSession; use Illuminate\View\Middleware\ShareErrorsFromSession; -use BezhanSalleh\FilamentLanguageSwitch\LanguageSwitchPlugin; +use App\Filament\Resources\StyleResource; class AdminPanelProvider extends PanelProvider { diff --git a/config/logging.php b/config/logging.php index 5aa1dbb..7bea066 100644 --- a/config/logging.php +++ b/config/logging.php @@ -117,6 +117,13 @@ return [ 'emergency' => [ 'path' => storage_path('logs/laravel.log'), ], + + 'plugins' => [ + 'driver' => 'daily', + 'path' => storage_path('logs/plugins.log'), + 'level' => env('PLUGIN_LOG_LEVEL', 'info'), + 'days' => 7, + ], ], ]; diff --git a/database/migrations/2025_07_30_123238_add_enabled_to_styles_table.php b/database/migrations/2025_07_30_123238_add_enabled_to_styles_table.php new file mode 100644 index 0000000..1171f3b --- /dev/null +++ b/database/migrations/2025_07_30_123238_add_enabled_to_styles_table.php @@ -0,0 +1,28 @@ +boolean('enabled')->default(true)->after('ai_model_id'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('styles', function (Blueprint $table) { + $table->dropColumn('enabled'); + }); + } +}; diff --git a/database/migrations/2025_07_30_123535_add_enabled_to_styles_table.php b/database/migrations/2025_07_30_123535_add_enabled_to_styles_table.php new file mode 100644 index 0000000..1171f3b --- /dev/null +++ b/database/migrations/2025_07_30_123535_add_enabled_to_styles_table.php @@ -0,0 +1,28 @@ +boolean('enabled')->default(true)->after('ai_model_id'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('styles', function (Blueprint $table) { + $table->dropColumn('enabled'); + }); + } +}; diff --git a/resources/js/Pages/Home.vue b/resources/js/Pages/Home.vue index a93fbea..8b3439d 100644 --- a/resources/js/Pages/Home.vue +++ b/resources/js/Pages/Home.vue @@ -30,13 +30,16 @@ @close="currentOverlayComponent = null" /> +
+ {{ errorMessage }} +
- + - - -addLoop($__currentLoopData); foreach($__currentLoopData as $asset): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> - isLoadedOnRequest()): ?> - getHtml()); ?> - - -popLoop(); $loop = $__env->getLastLoop(); ?> - - - \ No newline at end of file diff --git a/storage/framework/views/491b7b222c93a304ca837d0dcba942bf.php b/storage/framework/views/491b7b222c93a304ca837d0dcba942bf.php deleted file mode 100644 index b04de2f..0000000 --- a/storage/framework/views/491b7b222c93a304ca837d0dcba942bf.php +++ /dev/null @@ -1,293 +0,0 @@ - - - -onlyProps([ - 'badge' => null, - 'badgeColor' => 'primary', - 'color' => 'primary', - 'disabled' => false, - 'form' => null, - 'icon' => null, - 'iconAlias' => null, - 'iconSize' => null, - 'keyBindings' => null, - 'label' => null, - 'size' => 'md', - 'tag' => 'button', - 'tooltip' => null, - 'type' => 'button', -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'badge' => null, - 'badgeColor' => 'primary', - 'color' => 'primary', - 'disabled' => false, - 'form' => null, - 'icon' => null, - 'iconAlias' => null, - 'iconSize' => null, - 'keyBindings' => null, - 'label' => null, - 'size' => 'md', - 'tag' => 'button', - 'tooltip' => null, - 'type' => 'button', -]); ?> - null, - 'badgeColor' => 'primary', - 'color' => 'primary', - 'disabled' => false, - 'form' => null, - 'icon' => null, - 'iconAlias' => null, - 'iconSize' => null, - 'keyBindings' => null, - 'label' => null, - 'size' => 'md', - 'tag' => 'button', - 'tooltip' => null, - 'type' => 'button', -]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - - IconSize::Small, - ActionSize::Small, ActionSize::Medium, 'sm', 'md' => IconSize::Medium, - ActionSize::Large, ActionSize::ExtraLarge, 'lg', 'xl' => IconSize::Large, - }; - - $buttonClasses = \Illuminate\Support\Arr::toCssClasses([ - 'fi-icon-btn relative flex items-center justify-center rounded-lg outline-none transition duration-75 focus:ring-2 disabled:pointer-events-none disabled:opacity-70', - match ($size) { - ActionSize::ExtraSmall, 'xs' => 'h-7 w-7', - ActionSize::Small, 'sm' => 'h-8 w-8', - ActionSize::Medium, 'md' => 'h-9 w-9', - ActionSize::Large, 'lg' => 'h-10 w-10', - ActionSize::ExtraLarge, 'xl' => 'h-11 w-11', - default => $size, - }, - match ($color) { - 'gray' => 'text-gray-400 hover:text-gray-500 focus:ring-primary-600 dark:text-gray-500 dark:hover:text-gray-400 dark:focus:ring-primary-500', - default => 'text-custom-500 hover:text-custom-600 focus:ring-custom-600 dark:text-custom-400 dark:hover:text-custom-300 dark:focus:ring-custom-500', - }, - ]); - - $buttonStyles = \Filament\Support\get_color_css_variables($color, shades: [300, 400, 500, 600]); - - $iconClasses = \Illuminate\Support\Arr::toCssClasses([ - 'fi-icon-btn-icon', - match ($iconSize) { - IconSize::Small, 'sm' => 'h-4 w-4', - IconSize::Medium, 'md' => 'h-5 w-5', - IconSize::Large, 'lg' => 'h-6 w-6', - default => $iconSize, - }, - ]); - - $badgeClasses = 'absolute start-full top-0 z-10 -ms-1 -translate-x-1/2 rounded-md bg-white dark:bg-gray-900'; - - $wireTarget = $attributes->whereStartsWith(['wire:target', 'wire:click'])->filter(fn ($value): bool => filled($value))->first(); - - $hasLoadingIndicator = filled($wireTarget) || ($type === 'submit' && filled($form)); - - if ($hasLoadingIndicator) { - $loadingIndicatorTarget = html_entity_decode($wireTarget ?: $form, ENT_QUOTES); - } -?> - - - - - - x-data="{}" - - - x-mousetrap.global.map(fn (string $keyBinding): string => str_replace('+', '-', $keyBinding))->implode('.')); ?> - - - - x-tooltip="{ - content: toHtml() ?>, - theme: $store.theme, - }" - - merge([ - 'title' => $label, - ], escape: false) - ->class([$buttonClasses]) - ->style([$buttonStyles])); ?> - - > - - - - - - - - - - 'filament::components.icon','data' => ['alias' => $iconAlias,'icon' => $icon,'class' => $iconClasses]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::icon'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['alias' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconAlias),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($icon),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconClasses)]); ?> -renderComponent(); ?> - - - - - - - - - - - -
- - - 'filament::components.badge','data' => ['color' => $badgeColor,'size' => 'xs']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::badge'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($badgeColor),'size' => 'xs']); ?> - - - renderComponent(); ?> - - - - - - - - - -
- -
- - \ No newline at end of file diff --git a/storage/framework/views/4943bc92ebba41e8b0e508149542e0ad.blade.php b/storage/framework/views/4943bc92ebba41e8b0e508149542e0ad.blade.php deleted file mode 100644 index 05aa909..0000000 --- a/storage/framework/views/4943bc92ebba41e8b0e508149542e0ad.blade.php +++ /dev/null @@ -1,16 +0,0 @@ - viewContext->mergeIntoNewEnvironment($__env); ?> - - @component($layout->view, $layout->params) - @slot($layout->slotOrSection) - {!! $content !!} - @endslot - - viewContext->slots[-1] ?? [] as $name => $slot) { - $__env->slot($name, attributes: $slot->attributes->getAttributes()); - echo $slot->toHtml(); - $__env->endSlot(); - } - ?> - @endcomponent \ No newline at end of file diff --git a/storage/framework/views/4da3b123a7c935e04ebc60d883dabbee.php b/storage/framework/views/4da3b123a7c935e04ebc60d883dabbee.php deleted file mode 100644 index 4b8a602..0000000 --- a/storage/framework/views/4da3b123a7c935e04ebc60d883dabbee.php +++ /dev/null @@ -1,166 +0,0 @@ - -onlyProps([ - 'livewire', -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'livewire', -]); ?> - $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - - - - - - - - - - - - getFavicon()): ?> - - - - - <?php echo e(filled($title = $livewire->getTitle()) ? "{$title} - " : null); ?> - - <?php echo e(filament()->getBrandName()); ?> - - - - - - - - - - getTheme()->getHtml()); ?> - - getFontHtml()); ?> - - - - - - - - hasDarkMode()): ?> - - hasDarkModeForced()): ?> - - - - - - - - - - - - - - - - - mount($__name, $__params, 'lw-697339177-0', $__slots ?? [], get_defined_vars()); - -echo $__html; - -unset($__html); -unset($__name); -unset($__params); -unset($__split); -if (isset($__slots)) unset($__slots); -?> - - - - - - - - - - - yieldPushContent('scripts'); ?> - - - - - - - - - \ No newline at end of file diff --git a/storage/framework/views/546210b001c6b36a2bdb03f82ebad1d7.php b/storage/framework/views/546210b001c6b36a2bdb03f82ebad1d7.php deleted file mode 100644 index 75ac958..0000000 --- a/storage/framework/views/546210b001c6b36a2bdb03f82ebad1d7.php +++ /dev/null @@ -1,5 +0,0 @@ -
class(['fi-dropdown-list p-1'])); ?>> - - -
- \ No newline at end of file diff --git a/storage/framework/views/6b770add6cc0df00038744c2a6d1077d.php b/storage/framework/views/6b770add6cc0df00038744c2a6d1077d.php deleted file mode 100644 index a55ad31..0000000 --- a/storage/framework/views/6b770add6cc0df00038744c2a6d1077d.php +++ /dev/null @@ -1,23 +0,0 @@ - - - 'filament-actions::components.action','data' => ['action' => $action,'dynamicComponent' => 'filament::dropdown.list.item','icon' => $getGroupedIcon(),'class' => 'fi-ac-grouped-action']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-actions::action'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['action' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action),'dynamic-component' => 'filament::dropdown.list.item','icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getGroupedIcon()),'class' => 'fi-ac-grouped-action']); ?> - - - renderComponent(); ?> - - - - - - - - - - \ No newline at end of file diff --git a/storage/framework/views/6c475caca3dda51a5a1abbe48329f46a.php b/storage/framework/views/6c475caca3dda51a5a1abbe48329f46a.php deleted file mode 100644 index 8a786c1..0000000 --- a/storage/framework/views/6c475caca3dda51a5a1abbe48329f46a.php +++ /dev/null @@ -1,64 +0,0 @@ - -onlyProps([ - 'icon', - 'theme', -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'icon', - 'theme', -]); ?> - $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - - - - - \ No newline at end of file diff --git a/storage/framework/views/6dd3cada9705b7b1053ccd618d6c7764.php b/storage/framework/views/6dd3cada9705b7b1053ccd618d6c7764.php deleted file mode 100644 index 7098bd8..0000000 --- a/storage/framework/views/6dd3cada9705b7b1053ccd618d6c7764.php +++ /dev/null @@ -1,91 +0,0 @@ - - - 'filament::components.grid.index','data' => ['default' => $getColumns('default'),'sm' => $getColumns('sm'),'md' => $getColumns('md'),'lg' => $getColumns('lg'),'xl' => $getColumns('xl'),'twoXl' => $getColumns('2xl'),'class' => 'fi-fo-component-ctn gap-6']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::grid'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['default' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getColumns('default')),'sm' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getColumns('sm')),'md' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getColumns('md')),'lg' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getColumns('lg')),'xl' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getColumns('xl')),'two-xl' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getColumns('2xl')),'class' => 'fi-fo-component-ctn gap-6']); ?> - addLoop($__currentLoopData); foreach($__currentLoopData as $formComponent): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> - ` wrappers for all fields, regardless of - * if they are hidden or not. This is to solve Livewire DOM - * diffing issues. - * - * Additionally, any `
` elements that wrap hidden - * components need to have `class="hidden"`, so that they - * don't consume grid space. - */ - $isHidden = $formComponent->isHidden(); - ?> - - - - 'filament::components.grid.column','data' => ['wire:key' => $formComponent instanceof \Filament\Forms\Components\Field ? $this->getId() . '.' . $formComponent->getStatePath() . '.' . $formComponent::class : null,'hidden' => $isHidden,'default' => $formComponent->getColumnSpan('default'),'sm' => $formComponent->getColumnSpan('sm'),'md' => $formComponent->getColumnSpan('md'),'lg' => $formComponent->getColumnSpan('lg'),'xl' => $formComponent->getColumnSpan('xl'),'twoXl' => $formComponent->getColumnSpan('2xl'),'defaultStart' => $formComponent->getColumnStart('default'),'smStart' => $formComponent->getColumnStart('sm'),'mdStart' => $formComponent->getColumnStart('md'),'lgStart' => $formComponent->getColumnStart('lg'),'xlStart' => $formComponent->getColumnStart('xl'),'twoXlStart' => $formComponent->getColumnStart('2xl'),'class' => \Illuminate\Support\Arr::toCssClasses([ - match ($maxWidth = $formComponent->getMaxWidth()) { - 'xs' => 'max-w-xs', - 'sm' => 'max-w-sm', - 'md' => 'max-w-md', - 'lg' => 'max-w-lg', - 'xl' => 'max-w-xl', - '2xl' => 'max-w-2xl', - '3xl' => 'max-w-3xl', - '4xl' => 'max-w-4xl', - '5xl' => 'max-w-5xl', - '6xl' => 'max-w-6xl', - '7xl' => 'max-w-7xl', - default => $maxWidth, - }, - ])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::grid.column'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['wire:key' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($formComponent instanceof \Filament\Forms\Components\Field ? $this->getId() . '.' . $formComponent->getStatePath() . '.' . $formComponent::class : null),'hidden' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isHidden),'default' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($formComponent->getColumnSpan('default')),'sm' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($formComponent->getColumnSpan('sm')),'md' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($formComponent->getColumnSpan('md')),'lg' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($formComponent->getColumnSpan('lg')),'xl' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($formComponent->getColumnSpan('xl')),'twoXl' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($formComponent->getColumnSpan('2xl')),'defaultStart' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($formComponent->getColumnStart('default')),'smStart' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($formComponent->getColumnStart('sm')),'mdStart' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($formComponent->getColumnStart('md')),'lgStart' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($formComponent->getColumnStart('lg')),'xlStart' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($formComponent->getColumnStart('xl')),'twoXlStart' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($formComponent->getColumnStart('2xl')),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([ - match ($maxWidth = $formComponent->getMaxWidth()) { - 'xs' => 'max-w-xs', - 'sm' => 'max-w-sm', - 'md' => 'max-w-md', - 'lg' => 'max-w-lg', - 'xl' => 'max-w-xl', - '2xl' => 'max-w-2xl', - '3xl' => 'max-w-3xl', - '4xl' => 'max-w-4xl', - '5xl' => 'max-w-5xl', - '6xl' => 'max-w-6xl', - '7xl' => 'max-w-7xl', - default => $maxWidth, - }, - ]))]); ?> - - - - - renderComponent(); ?> - - - - - - - - - - popLoop(); $loop = $__env->getLastLoop(); ?> - renderComponent(); ?> - - - - - - - - - - \ No newline at end of file diff --git a/storage/framework/views/70bd2d74d414c5c65057842c78987546.php b/storage/framework/views/70bd2d74d414c5c65057842c78987546.php deleted file mode 100644 index 0e0f18c..0000000 --- a/storage/framework/views/70bd2d74d414c5c65057842c78987546.php +++ /dev/null @@ -1,10 +0,0 @@ -
class([ - 'fi-ta-ctn divide-y divide-gray-200 overflow-hidden rounded-xl bg-white shadow-sm ring-1 ring-gray-950/5 dark:divide-white/10 dark:bg-gray-900 dark:ring-white/10', - ])); ?> - -> - - -
- \ No newline at end of file diff --git a/storage/framework/views/71ad06e0a4c6625c4df918eb193242ce.php b/storage/framework/views/71ad06e0a4c6625c4df918eb193242ce.php deleted file mode 100644 index e0797c5..0000000 --- a/storage/framework/views/71ad06e0a4c6625c4df918eb193242ce.php +++ /dev/null @@ -1,39 +0,0 @@ - -onlyProps([ - 'alias' => null, - 'class' => '', - 'icon' => null, -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'alias' => null, - 'class' => '', - 'icon' => null, -]); ?> - null, - 'class' => '', - 'icon' => null, -]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - - - - - getAttributes()))); ?> - -
class($class)); ?>> - - -
- - \ No newline at end of file diff --git a/storage/framework/views/740a222618b7f14ce1e03c8068c670cc.php b/storage/framework/views/740a222618b7f14ce1e03c8068c670cc.php deleted file mode 100644 index 47ca8d8..0000000 --- a/storage/framework/views/740a222618b7f14ce1e03c8068c670cc.php +++ /dev/null @@ -1,47 +0,0 @@ - -onlyProps([ - 'user' => filament()->auth()->user(), -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'user' => filament()->auth()->user(), -]); ?> - filament()->auth()->user(), -]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - - - - 'filament::components.avatar','data' => ['src' => filament()->getUserAvatarUrl($user),'attributes' => - \Filament\Support\prepare_inherited_attributes($attributes) - ->class(['fi-user-avatar rounded-full']) - ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::avatar'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['src' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(filament()->getUserAvatarUrl($user)),'attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute( - \Filament\Support\prepare_inherited_attributes($attributes) - ->class(['fi-user-avatar rounded-full']) - )]); ?> -renderComponent(); ?> - - - - - - - - - - \ No newline at end of file diff --git a/storage/framework/views/83c343a60a03f7d9ab5d270fbf557afa.php b/storage/framework/views/83c343a60a03f7d9ab5d270fbf557afa.php deleted file mode 100644 index 87e82cb..0000000 --- a/storage/framework/views/83c343a60a03f7d9ab5d270fbf557afa.php +++ /dev/null @@ -1,200 +0,0 @@ - -onlyProps([ - 'actions' => [], - 'badge' => null, - 'badgeColor' => null, - 'button' => false, - 'color' => null, - 'dropdownPlacement' => null, - 'dynamicComponent' => null, - 'group' => null, - 'icon' => null, - 'iconButton' => false, - 'label' => null, - 'link' => false, - 'size' => null, - 'tooltip' => null, - 'view' => null, -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'actions' => [], - 'badge' => null, - 'badgeColor' => null, - 'button' => false, - 'color' => null, - 'dropdownPlacement' => null, - 'dynamicComponent' => null, - 'group' => null, - 'icon' => null, - 'iconButton' => false, - 'label' => null, - 'link' => false, - 'size' => null, - 'tooltip' => null, - 'view' => null, -]); ?> - [], - 'badge' => null, - 'badgeColor' => null, - 'button' => false, - 'color' => null, - 'dropdownPlacement' => null, - 'dynamicComponent' => null, - 'group' => null, - 'icon' => null, - 'iconButton' => false, - 'label' => null, - 'link' => false, - 'size' => null, - 'tooltip' => null, - 'view' => null, -]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - - - badge($badge) - ->badgeColor($badgeColor) - ->color($color) - ->dropdownPlacement($dropdownPlacement) - ->icon($icon) - ->label($label) - ->size($size) - ->tooltip($tooltip) - ->view($view); - - if ($button) { - $group->button(); - } - - if ($iconButton) { - $group->iconButton(); - } - - if ($link) { - $group->link(); - } - ?> - - - -hasDropdown()): ?> - getActions(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $action): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> - isVisible()): ?> - - - - popLoop(); $loop = $__env->getLastLoop(); ?> - - getActions() as $action) { - if ($action->isHidden()) { - continue; - } - - if ($action instanceof \Filament\Actions\ActionGroup && (! $action->hasDropdown())) { - if (count($singleActions)) { - $actionLists[] = $singleActions; - $singleActions = []; - } - - $actionLists[] = array_filter( - $action->getActions(), - fn ($action): bool => $action->isVisible(), - ); - } else { - $singleActions[] = $action; - } - } - - if (count($singleActions)) { - $actionLists[] = $singleActions; - } - ?> - - - - 'filament::components.dropdown.index','data' => ['maxHeight' => $group->getDropdownMaxHeight(),'placement' => $group->getDropdownPlacement() ?? 'bottom-start','width' => $group->getDropdownWidth(),'teleport' => true]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::dropdown'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['max-height' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->getDropdownMaxHeight()),'placement' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->getDropdownPlacement() ?? 'bottom-start'),'width' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->getDropdownWidth()),'teleport' => true]); ?> - slot('trigger', null, []); ?> - - - $dynamicComponent] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('dynamic-component'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['badge' => $group->getBadge(),'badge-color' => $group->getBadgeColor(),'color' => $group->getColor(),'tooltip' => $group->getTooltip(),'icon' => $group->getIcon(),'size' => $group->getSize(),'label-sr-only' => $group->isLabelHidden(),'attributes' => \Filament\Support\prepare_inherited_attributes($attributes)->merge($group->getExtraAttributes(), escape: false)]); ?> - - - renderComponent(); ?> - - - - - - - - - - endSlot(); ?> - - addLoop($__currentLoopData); foreach($__currentLoopData as $actions): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> - - - 'filament::components.dropdown.list.index','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::dropdown.list'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> - addLoop($__currentLoopData); foreach($__currentLoopData as $action): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> - - - popLoop(); $loop = $__env->getLastLoop(); ?> - renderComponent(); ?> - - - - - - - - - - popLoop(); $loop = $__env->getLastLoop(); ?> - renderComponent(); ?> - - - - - - - - - - - \ No newline at end of file diff --git a/storage/framework/views/8c6412b2920d11d4a44bfb670789eb4d.php b/storage/framework/views/8c6412b2920d11d4a44bfb670789eb4d.php deleted file mode 100644 index 06ebcd2..0000000 --- a/storage/framework/views/8c6412b2920d11d4a44bfb670789eb4d.php +++ /dev/null @@ -1,23 +0,0 @@ - - - 'filament-actions::components.group','data' => ['group' => $group,'dynamicComponent' => 'filament::button','outlined' => $isOutlined(),'labeledFrom' => $getLabeledFromBreakpoint(),'iconPosition' => $getIconPosition(),'iconSize' => $getIconSize(),'class' => 'fi-ac-btn-group']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-actions::group'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['group' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group),'dynamic-component' => 'filament::button','outlined' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isOutlined()),'labeled-from' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getLabeledFromBreakpoint()),'icon-position' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getIconPosition()),'icon-size' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getIconSize()),'class' => 'fi-ac-btn-group']); ?> - - - renderComponent(); ?> - - - - - - - - - - \ No newline at end of file diff --git a/storage/framework/views/8d54a7d1d24855a8b16f06fe955cdc47.php b/storage/framework/views/8d54a7d1d24855a8b16f06fe955cdc47.php deleted file mode 100644 index 12a1207..0000000 --- a/storage/framework/views/8d54a7d1d24855a8b16f06fe955cdc47.php +++ /dev/null @@ -1,348 +0,0 @@ - - - -onlyProps([ - 'badge' => null, - 'badgeColor' => null, - 'color' => 'gray', - 'disabled' => false, - 'icon' => null, - 'iconAlias' => null, - 'iconSize' => IconSize::Medium, - 'image' => null, - 'keyBindings' => null, - 'tag' => 'button', -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'badge' => null, - 'badgeColor' => null, - 'color' => 'gray', - 'disabled' => false, - 'icon' => null, - 'iconAlias' => null, - 'iconSize' => IconSize::Medium, - 'image' => null, - 'keyBindings' => null, - 'tag' => 'button', -]); ?> - null, - 'badgeColor' => null, - 'color' => 'gray', - 'disabled' => false, - 'icon' => null, - 'iconAlias' => null, - 'iconSize' => IconSize::Medium, - 'image' => null, - 'keyBindings' => null, - 'tag' => 'button', -]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - - $disabled, - is_string($color) ? "fi-dropdown-list-item-color-{$color}" : null, - match ($color) { - 'gray' => 'hover:bg-gray-50 focus:bg-gray-50 dark:hover:bg-white/5 dark:focus:bg-white/5', - default => 'hover:bg-custom-50 focus:bg-custom-50 dark:hover:bg-custom-400/10 dark:focus:bg-custom-400/10', - }, - ]); - - $buttonStyles = \Illuminate\Support\Arr::toCssStyles([ - \Filament\Support\get_color_css_variables($color, shades: [50, 400, 500, 600]) => $color !== 'gray', - ]); - - $iconClasses = \Illuminate\Support\Arr::toCssClasses([ - 'fi-dropdown-list-item-icon', - match ($iconSize) { - IconSize::Small, 'sm' => 'h-4 w-4', - IconSize::Medium, 'md' => 'h-5 w-5', - IconSize::Large, 'lg' => 'h-6 w-6', - default => $iconSize, - }, - match ($color) { - 'gray' => 'text-gray-400 dark:text-gray-500', - default => 'text-custom-500 dark:text-custom-400', - }, - ]); - - $imageClasses = 'fi-dropdown-list-item-image h-5 w-5 rounded-full bg-cover bg-center'; - - $labelClasses = \Illuminate\Support\Arr::toCssClasses([ - 'fi-dropdown-list-item-label flex-1 truncate text-start', - match ($color) { - 'gray' => 'text-gray-700 dark:text-gray-200', - default => 'text-custom-600 dark:text-custom-400 ', - }, - ]); - - $wireTarget = $attributes->whereStartsWith(['wire:target', 'wire:click'])->filter(fn ($value): bool => filled($value))->first(); - - $hasLoadingIndicator = filled($wireTarget); - - if ($hasLoadingIndicator) { - $loadingIndicatorTarget = html_entity_decode($wireTarget, ENT_QUOTES); - } -?> - - - - - - x-data="{}" - x-mousetrap.global.map(fn (string $keyBinding): string => str_replace('+', '-', $keyBinding))->implode('.')); ?> - - - class([$buttonClasses]) - ->style([$buttonStyles])); ?> - - > - - - - 'filament::components.icon','data' => ['alias' => $iconAlias,'icon' => $icon,'class' => $iconClasses]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::icon'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['alias' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconAlias),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($icon),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconClasses)]); ?> -renderComponent(); ?> - - - - - - - - - - - - -
- - - - - - - - - - - 'filament::components.badge','data' => ['color' => $badgeColor,'size' => 'sm']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::badge'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($badgeColor),'size' => 'sm']); ?> - - - renderComponent(); ?> - - - - - - - - - - -
- -
only(['action', 'class', 'method', 'wire:submit'])); ?> - - > - - - -
- - \ No newline at end of file diff --git a/storage/framework/views/9055fa93d645c409143dd0f705833c7a.php b/storage/framework/views/9055fa93d645c409143dd0f705833c7a.php deleted file mode 100644 index b6ddf34..0000000 --- a/storage/framework/views/9055fa93d645c409143dd0f705833c7a.php +++ /dev/null @@ -1,128 +0,0 @@ -getNavigation(); -?> - - - - 'filament-panels::components.layout.base','data' => ['livewire' => $livewire]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-panels::layout.base'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['livewire' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($livewire)]); ?> -
-
- - - - 'filament-panels::components.sidebar.index','data' => ['navigation' => $navigation]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-panels::sidebar'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['navigation' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($navigation)]); ?> -renderComponent(); ?> - - - - - - - - - - -
isSidebarCollapsibleOnDesktop()): ?> - x-data="{}" - x-bind:class="{ - 'lg:ps-[--collapsed-sidebar-width]': ! $store.sidebar.isOpen, - 'fi-main-ctn-sidebar-open lg:ps-[--sidebar-width]': $store.sidebar.isOpen, - }" - x-bind:style="'display: flex'" - isSidebarFullyCollapsibleOnDesktop()): ?> - x-data="{}" - x-bind:class="{ - 'fi-main-ctn-sidebar-open lg:ps-[--sidebar-width]': $store.sidebar.isOpen, - }" - x-bind:style="'display: flex'" - - class=" filament()->isSidebarCollapsibleOnDesktop() || filament()->isSidebarFullyCollapsibleOnDesktop(), - 'flex lg:ps-[--sidebar-width]' => ! (filament()->isSidebarCollapsibleOnDesktop() || filament()->isSidebarFullyCollapsibleOnDesktop() || filament()->hasTopNavigation()), - ]); ?>" - > - - - 'filament-panels::components.topbar.index','data' => ['navigation' => $navigation]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-panels::topbar'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['navigation' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($navigation)]); ?> -renderComponent(); ?> - - - - - - - - - - -
- - - - - - - - -
- - - -
-
- renderComponent(); ?> - - - - - - - - - - \ No newline at end of file diff --git a/storage/framework/views/93864384454ad9bde74a766d65cf4784.blade.php b/storage/framework/views/93864384454ad9bde74a766d65cf4784.blade.php deleted file mode 100644 index 590135e..0000000 --- a/storage/framework/views/93864384454ad9bde74a766d65cf4784.blade.php +++ /dev/null @@ -1,6 +0,0 @@ -getAttributes())->mapWithKeys(function ($value, $key) { return [Illuminate\Support\Str::camel(str_replace([':', '.'], ' ', $key)) => $value]; })->all(), EXTR_SKIP); ?> -@props(['badge','badgeColor','form','tag','xOn:click','wire:click','wire:target','href','target','type','color','keyBindings','tooltip','disabled','icon','iconSize','size','labelSrOnly','class','xBind:disabled']) - - -{{ $slot ?? "" }} - \ No newline at end of file diff --git a/storage/framework/views/9495d6ccd30365db155f868e18df2250.php b/storage/framework/views/9495d6ccd30365db155f868e18df2250.php deleted file mode 100644 index 1f6f584..0000000 --- a/storage/framework/views/9495d6ccd30365db155f868e18df2250.php +++ /dev/null @@ -1,438 +0,0 @@ - - - -onlyProps([ - 'alignment' => Alignment::Start, - 'ariaLabelledby' => null, - 'closeButton' => \Filament\Support\View\Components\Modal::$hasCloseButton, - 'closeByClickingAway' => \Filament\Support\View\Components\Modal::$isClosedByClickingAway, - 'closeEventName' => 'close-modal', - 'description' => null, - 'displayClasses' => 'inline-block', - 'footer' => null, - 'footerActions' => [], - 'footerActionsAlignment' => Alignment::Start, - 'header' => null, - 'heading' => null, - 'icon' => null, - 'iconAlias' => null, - 'iconColor' => 'primary', - 'id' => null, - 'openEventName' => 'open-modal', - 'slideOver' => false, - 'stickyFooter' => false, - 'stickyHeader' => false, - 'trigger' => null, - 'visible' => true, - 'width' => 'sm', -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'alignment' => Alignment::Start, - 'ariaLabelledby' => null, - 'closeButton' => \Filament\Support\View\Components\Modal::$hasCloseButton, - 'closeByClickingAway' => \Filament\Support\View\Components\Modal::$isClosedByClickingAway, - 'closeEventName' => 'close-modal', - 'description' => null, - 'displayClasses' => 'inline-block', - 'footer' => null, - 'footerActions' => [], - 'footerActionsAlignment' => Alignment::Start, - 'header' => null, - 'heading' => null, - 'icon' => null, - 'iconAlias' => null, - 'iconColor' => 'primary', - 'id' => null, - 'openEventName' => 'open-modal', - 'slideOver' => false, - 'stickyFooter' => false, - 'stickyHeader' => false, - 'trigger' => null, - 'visible' => true, - 'width' => 'sm', -]); ?> - Alignment::Start, - 'ariaLabelledby' => null, - 'closeButton' => \Filament\Support\View\Components\Modal::$hasCloseButton, - 'closeByClickingAway' => \Filament\Support\View\Components\Modal::$isClosedByClickingAway, - 'closeEventName' => 'close-modal', - 'description' => null, - 'displayClasses' => 'inline-block', - 'footer' => null, - 'footerActions' => [], - 'footerActionsAlignment' => Alignment::Start, - 'header' => null, - 'heading' => null, - 'icon' => null, - 'iconAlias' => null, - 'iconColor' => 'primary', - 'id' => null, - 'openEventName' => 'open-modal', - 'slideOver' => false, - 'stickyFooter' => false, - 'stickyHeader' => false, - 'trigger' => null, - 'visible' => true, - 'width' => 'sm', -]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - -
- aria-labelledby="" - - aria-labelledby="" - - aria-modal="true" - role="dialog" - x-data="{ - isOpen: false, - - livewire: null, - - close: function () { - this.isOpen = false - - this.$refs.modalContainer.dispatchEvent( - new CustomEvent('modal-closed', { id: '' }), - ) - }, - - open: function () { - this.isOpen = true - - this.$refs.modalContainer.dispatchEvent( - new CustomEvent('modal-opened', { id: '' }), - ) - }, - }" - - x-on:.window="if ($event.detail.id === '') close()" - x-on:.window="if ($event.detail.id === '') open()" - - x-trap.noscroll="isOpen" - wire:ignore.self - class="" -> - -
attributes->class(['fi-modal-trigger flex cursor-pointer'])); ?> - - > - - -
- - -
- - -
class([ - 'pointer-events-none relative w-full transition', - 'my-auto p-4' => ! ($slideOver || ($width === 'screen')), - ])); ?> - - > -
- x-on:keydown.window.escape="$dispatch('', { id: '' })" - - x-on:keydown.window.escape="close()" - - x-show="isShown" - x-transition:enter="duration-300" - x-transition:leave="duration-300" - - - x-transition:enter-start="translate-x-full rtl:-translate-x-full" - x-transition:enter-end="translate-x-0" - x-transition:leave-start="translate-x-0" - x-transition:leave-end="translate-x-full rtl:-translate-x-full" - - x-transition:enter-start="scale-95" - x-transition:enter-end="scale-100" - x-transition:leave-start="scale-95" - x-transition:leave-end="scale-100" - - class=" $slideOver, - 'h-screen' => $slideOver || ($width === 'screen'), - 'mx-auto rounded-xl' => ! ($slideOver || ($width === 'screen')), - 'hidden' => ! $visible, - 'max-w-xs' => $width === 'xs', - 'max-w-sm' => $width === 'sm', - 'max-w-md' => $width === 'md', - 'max-w-lg' => $width === 'lg', - 'max-w-xl' => $width === 'xl', - 'max-w-2xl' => $width === '2xl', - 'max-w-3xl' => $width === '3xl', - 'max-w-4xl' => $width === '4xl', - 'max-w-5xl' => $width === '5xl', - 'max-w-6xl' => $width === '6xl', - 'max-w-7xl' => $width === '7xl', - 'fixed inset-0' => $width === 'screen', - ]); ?>" - > - -
- -
- - - 'filament::components.icon-button','data' => ['color' => 'gray','icon' => 'heroicon-o-x-mark','iconAlias' => 'modal.close-button','iconSize' => 'lg','label' => __('filament::components/modal.actions.close.label'),'tabindex' => '-1','xOn:click' => filled($id) ? '$dispatch(' . \Illuminate\Support\Js::from($closeEventName) . ', { id: ' . \Illuminate\Support\Js::from($id) . ' })' : 'close()','class' => 'fi-modal-close-btn -m-1.5']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::icon-button'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['color' => 'gray','icon' => 'heroicon-o-x-mark','icon-alias' => 'modal.close-button','icon-size' => 'lg','label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('filament::components/modal.actions.close.label')),'tabindex' => '-1','x-on:click' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(filled($id) ? '$dispatch(' . \Illuminate\Support\Js::from($closeEventName) . ', { id: ' . \Illuminate\Support\Js::from($id) . ' })' : 'close()'),'class' => 'fi-modal-close-btn -m-1.5']); ?> -renderComponent(); ?> - - - - - - - - - -
- - - - - - - -
-
- - - 'filament::components.icon','data' => ['alias' => $iconAlias,'icon' => $icon,'class' => \Illuminate\Support\Arr::toCssClasses([ - 'fi-modal-icon h-6 w-6', - match ($iconColor) { - 'gray' => 'text-gray-500 dark:text-gray-400', - default => 'text-custom-600 dark:text-custom-400', - }, - ]),'style' => \Illuminate\Support\Arr::toCssStyles([ - \Filament\Support\get_color_css_variables($iconColor, shades: [400, 600]) => $iconColor !== 'gray', - ])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::icon'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['alias' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconAlias),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($icon),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([ - 'fi-modal-icon h-6 w-6', - match ($iconColor) { - 'gray' => 'text-gray-500 dark:text-gray-400', - default => 'text-custom-600 dark:text-custom-400', - }, - ])),'style' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssStyles([ - \Filament\Support\get_color_css_variables($iconColor, shades: [400, 600]) => $iconColor !== 'gray', - ]))]); ?> -renderComponent(); ?> - - - - - - - - - -
-
- - -
- - - 'filament::components.modal.heading','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::modal.heading'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> - - - renderComponent(); ?> - - - - - - - - - - - - - - 'filament::components.modal.description','data' => ['class' => 'mt-2']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::modal.description'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['class' => 'mt-2']); ?> - - - renderComponent(); ?> - - - - - - - - - - -
- -
- - - -
- - -
- - - - - -
-
-
-
- \ No newline at end of file diff --git a/storage/framework/views/962469f768538651803febad6692e884.php b/storage/framework/views/962469f768538651803febad6692e884.php deleted file mode 100644 index 7681de7..0000000 --- a/storage/framework/views/962469f768538651803febad6692e884.php +++ /dev/null @@ -1,2335 +0,0 @@ - $getSearchIndicator()] : []), - ...collect($getColumnSearchIndicators()) - ->mapWithKeys(fn (string $indicator, string $column): array => [ - "resetTableColumnSearch('{$column}')" => $indicator, - ]) - ->all(), - ...array_reduce( - $getFilters(), - fn (array $carry, \Filament\Tables\Filters\BaseFilter $filter): array => [ - ...$carry, - ...collect($filter->getIndicators()) - ->mapWithKeys(fn (string $label, int | string $field) => [ - "removeTableFilter('{$filter->getName()}'" . (is_string($field) ? ' , \'' . $field . '\'' : null) . ')' => $label, - ]) - ->all(), - ], - [], - ), - ]; - $hasColumnsLayout = $hasColumnsLayout(); - $hasSummary = $hasSummary(); - $header = $getHeader(); - $headerActions = array_filter( - $getHeaderActions(), - fn (\Filament\Tables\Actions\Action | \Filament\Tables\Actions\BulkAction | \Filament\Tables\Actions\ActionGroup $action): bool => $action->isVisible(), - ); - $headerActionsPosition = $getHeaderActionsPosition(); - $heading = $getHeading(); - $group = $getGrouping(); - $bulkActions = array_filter( - $getBulkActions(), - fn (\Filament\Tables\Actions\BulkAction | \Filament\Tables\Actions\ActionGroup $action): bool => $action->isVisible(), - ); - $groups = $getGroups(); - $description = $getDescription(); - $isGroupsOnly = $isGroupsOnly() && $group; - $isReorderable = $isReorderable(); - $isReordering = $isReordering(); - $isColumnSearchVisible = $isSearchableByColumn(); - $isGlobalSearchVisible = $isSearchable(); - $isSelectionEnabled = $isSelectionEnabled(); - $recordCheckboxPosition = $getRecordCheckboxPosition(); - $isStriped = $isStriped(); - $isLoaded = $isLoaded(); - $hasFilters = $isFilterable(); - $filtersLayout = $getFiltersLayout(); - $filtersTriggerAction = $getFiltersTriggerAction(); - $hasFiltersDropdown = $hasFilters && ($filtersLayout === FiltersLayout::Dropdown); - $hasFiltersAboveContent = $hasFilters && in_array($filtersLayout, [FiltersLayout::AboveContent, FiltersLayout::AboveContentCollapsible]); - $hasFiltersAboveContentCollapsible = $hasFilters && ($filtersLayout === FiltersLayout::AboveContentCollapsible); - $hasFiltersBelowContent = $hasFilters && ($filtersLayout === FiltersLayout::BelowContent); - $hasColumnToggleDropdown = $hasToggleableColumns(); - $hasHeader = $header || $heading || $description || ($headerActions && (! $isReordering)) || $isReorderable || count($groups) || $isGlobalSearchVisible || $hasFilters || $hasColumnToggleDropdown; - $hasHeaderToolbar = $isReorderable || count($groups) || $isGlobalSearchVisible || $hasFiltersDropdown || $hasColumnToggleDropdown; - $pluralModelLabel = $getPluralModelLabel(); - $records = $isLoaded ? $getRecords() : null; - $allSelectableRecordsCount = $isLoaded ? $getAllSelectableRecordsCount() : null; - $columnsCount = count($columns); - $reorderRecordsTriggerAction = $getReorderRecordsTriggerAction($isReordering); - $toggleColumnsTriggerAction = $getToggleColumnsTriggerAction(); - - if (count($actions) && (! $isReordering)) { - $columnsCount++; - } - - if ($isSelectionEnabled || $isReordering) { - $columnsCount++; - } - - if ($group) { - $groupedSummarySelectedState = $this->getTableSummarySelectedState($this->getAllTableSummaryQuery(), modifyQueryUsing: fn (\Illuminate\Database\Query\Builder $query) => $group->groupQuery($query, model: $getQuery()->getModel())); - } - - $getHiddenClasses = function (Filament\Tables\Columns\Column $column): ?string { - if ($breakpoint = $column->getHiddenFrom()) { - return match ($breakpoint) { - 'sm' => 'sm:hidden', - 'md' => 'md:hidden', - 'lg' => 'lg:hidden', - 'xl' => 'xl:hidden', - '2xl' => '2xl:hidden', - }; - } - - if ($breakpoint = $column->getVisibleFrom()) { - return match ($breakpoint) { - 'sm' => 'hidden sm:table-cell', - 'md' => 'hidden md:table-cell', - 'lg' => 'hidden lg:table-cell', - 'xl' => 'hidden xl:table-cell', - '2xl' => 'hidden 2xl:table-cell', - }; - } - - return null; - }; -?> - -
- wire:init="loadTable" - - x-data="{ - collapsedGroups: [], - - isLoading: false, - - selectedRecords: [], - - shouldCheckUniqueSelection: true, - - init: function () { - this.$wire.$on('deselectAllTableRecords', () => - this.deselectAllRecords(), - ) - - $watch('selectedRecords', () => { - if (! this.shouldCheckUniqueSelection) { - this.shouldCheckUniqueSelection = true - - return - } - - this.selectedRecords = [...new Set(this.selectedRecords)] - - this.shouldCheckUniqueSelection = false - }) - }, - - mountBulkAction: function (name) { - $wire.set('selectedTableRecords', this.selectedRecords, false) - $wire.mountTableBulkAction(name) - }, - - toggleSelectRecordsOnPage: function () { - const keys = this.getRecordsOnPage() - - if (this.areRecordsSelected(keys)) { - this.deselectRecords(keys) - - return - } - - this.selectRecords(keys) - }, - - getRecordsOnPage: function () { - const keys = [] - - for (checkbox of $el.getElementsByClassName('fi-ta-record-checkbox')) { - keys.push(checkbox.value) - } - - return keys - }, - - selectRecords: function (keys) { - for (key of keys) { - if (this.isRecordSelected(key)) { - continue - } - - this.selectedRecords.push(key) - } - }, - - deselectRecords: function (keys) { - for (key of keys) { - let index = this.selectedRecords.indexOf(key) - - if (index === -1) { - continue - } - - this.selectedRecords.splice(index, 1) - } - }, - - selectAllRecords: async function () { - this.isLoading = true - - this.selectedRecords = await $wire.getAllSelectableTableRecordKeys() - - this.isLoading = false - }, - - deselectAllRecords: function () { - this.selectedRecords = [] - }, - - isRecordSelected: function (key) { - return this.selectedRecords.includes(key) - }, - - areRecordsSelected: function (keys) { - return keys.every((key) => this.isRecordSelected(key)) - }, - - toggleCollapseGroup: function (group) { - if (this.isGroupCollapsed(group)) { - this.collapsedGroups.splice(this.collapsedGroups.indexOf(group), 1) - - return - } - - this.collapsedGroups.push(group) - }, - - isGroupCollapsed: function (group) { - return this.collapsedGroups.includes(group) - }, - - resetCollapsedGroups: function () { - this.collapsedGroups = [] - }, - }" - class=" $records === null, - ]); ?>" -> - - - 'filament-tables::components.container','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::container'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> -
x-cloak - x-show="toHtml() ?> || (selectedRecords.length && toHtml() ?>)" - class="fi-ta-header-ctn divide-y divide-gray-200 dark:divide-white/10" - > - - - - - - - 'filament-tables::components.header','data' => ['actions' => $isReordering ? [] : $headerActions,'actionsPosition' => $headerActionsPosition,'description' => $description,'heading' => $heading]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::header'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isReordering ? [] : $headerActions),'actions-position' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($headerActionsPosition),'description' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($description),'heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($heading)]); ?> -renderComponent(); ?> - - - - - - - - - - - - -
- - - badge(count(\Illuminate\Support\Arr::flatten($filterIndicators)))); ?> - - - - - - - 'filament-tables::components.filters.index','data' => ['form' => $getFiltersForm(),'xShow' => 'areFiltersOpen','class' => \Illuminate\Support\Arr::toCssClasses([ - 'py-1 sm:py-3' => $hasFiltersAboveContentCollapsible, - ])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::filters'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['form' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getFiltersForm()),'x-show' => 'areFiltersOpen','class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([ - 'py-1 sm:py-3' => $hasFiltersAboveContentCollapsible, - ]))]); ?> -renderComponent(); ?> - - - - - - - - - -
- - -
x-cloak - x-show="toHtml() ?> || (selectedRecords.length && toHtml() ?>)" - class="fi-ta-header-toolbar flex items-center justify-between gap-3 px-4 py-3 sm:px-6" - > -
- - - - - - - - - - - 'filament-tables::components.actions','data' => ['actions' => $bulkActions,'xCloak' => 'x-cloak','xShow' => 'selectedRecords.length']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::actions'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($bulkActions),'x-cloak' => 'x-cloak','x-show' => 'selectedRecords.length']); ?> -renderComponent(); ?> - - - - - - - - - - - - - - - 'filament-tables::components.groups','data' => ['dropdownOnDesktop' => $areGroupsInDropdownOnDesktop(),'groups' => $groups,'triggerAction' => $getGroupRecordsTriggerAction()]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::groups'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['dropdown-on-desktop' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($areGroupsInDropdownOnDesktop()),'groups' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($groups),'trigger-action' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getGroupRecordsTriggerAction())]); ?> -renderComponent(); ?> - - - - - - - - - - -
- - -
- - - - 'filament-tables::components.search-field','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::search-field'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> -renderComponent(); ?> - - - - - - - - - - - - - - - - 'filament-tables::components.filters.dropdown','data' => ['form' => $getFiltersForm(),'indicatorsCount' => count(\Illuminate\Support\Arr::flatten($filterIndicators)),'maxHeight' => $getFiltersFormMaxHeight(),'triggerAction' => $filtersTriggerAction,'width' => $getFiltersFormWidth()]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::filters.dropdown'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['form' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getFiltersForm()),'indicators-count' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(count(\Illuminate\Support\Arr::flatten($filterIndicators))),'max-height' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getFiltersFormMaxHeight()),'trigger-action' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($filtersTriggerAction),'width' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getFiltersFormWidth())]); ?> -renderComponent(); ?> - - - - - - - - - - - - - - - 'filament-tables::components.column-toggle.dropdown','data' => ['form' => $getColumnToggleForm(),'maxHeight' => $getColumnToggleFormMaxHeight(),'triggerAction' => $toggleColumnsTriggerAction,'width' => $getColumnToggleFormWidth()]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::column-toggle.dropdown'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['form' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getColumnToggleForm()),'max-height' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getColumnToggleFormMaxHeight()),'trigger-action' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($toggleColumnsTriggerAction),'width' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getColumnToggleFormWidth())]); ?> -renderComponent(); ?> - - - - - - - - - - - -
- -
-
- - - - - 'filament-tables::components.reorder.indicator','data' => ['colspan' => $columnsCount]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::reorder.indicator'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['colspan' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columnsCount)]); ?> -renderComponent(); ?> - - - - - - - - - - - - - 'filament-tables::components.selection.indicator','data' => ['allSelectableRecordsCount' => $allSelectableRecordsCount,'colspan' => $columnsCount,'xShow' => 'selectedRecords.length']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::selection.indicator'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['all-selectable-records-count' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($allSelectableRecordsCount),'colspan' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columnsCount),'x-show' => 'selectedRecords.length']); ?> -renderComponent(); ?> - - - - - - - - - - - - - - - 'filament-tables::components.filters.indicators','data' => ['indicators' => $filterIndicators]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::filters.indicators'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['indicators' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($filterIndicators)]); ?> -renderComponent(); ?> - - - - - - - - - - - -
- wire:poll. - - - class=" ! $hasHeader, - ]); ?>" - > - - - $column->isSortable(), - ); - ?> - -
- - - - 'filament-tables::components.selection.checkbox','data' => ['label' => __('filament-tables::table.fields.bulk_select_page.label'),'xBind:checked' => ' - const recordsOnPage = getRecordsOnPage() - - if (recordsOnPage.length && areRecordsSelected(recordsOnPage)) { - $el.checked = true - - return \'checked\' - } - - $el.checked = false - - return null - ','xOn:click' => 'toggleSelectRecordsOnPage','class' => 'my-4']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::selection.checkbox'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('filament-tables::table.fields.bulk_select_page.label')),'x-bind:checked' => ' - const recordsOnPage = getRecordsOnPage() - - if (recordsOnPage.length && areRecordsSelected(recordsOnPage)) { - $el.checked = true - - return \'checked\' - } - - $el.checked = false - - return null - ','x-on:click' => 'toggleSelectRecordsOnPage','class' => 'my-4']); ?> -renderComponent(); ?> - - - - - - - - - - - - -
- - - -
- -
- - - - with(['records' => $records])); ?> - - - - - 'filament::components.grid.index','data' => ['default' => $contentGrid['default'] ?? 1,'sm' => $contentGrid['sm'] ?? null,'md' => $contentGrid['md'] ?? null,'lg' => $contentGrid['lg'] ?? null,'xl' => $contentGrid['xl'] ?? null,'twoXl' => $contentGrid['2xl'] ?? null,'xOn:end.stop' => '$wire.reorderTable($event.target.sortable.toArray())','xSortable' => true,'class' => \Illuminate\Support\Arr::toCssClasses([ - 'gap-4 p-4 sm:px-6' => $contentGrid, - 'pt-0' => $contentGrid && $this->getTableGrouping(), - '[&>*:not(:first-child)]:border-t-[0.5px] [&>*:not(:last-child)]:border-b-[0.5px] [&>*]:border-gray-200 dark:[&>*]:border-white/5' => ! $contentGrid, - ])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::grid'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['default' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($contentGrid['default'] ?? 1),'sm' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($contentGrid['sm'] ?? null),'md' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($contentGrid['md'] ?? null),'lg' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($contentGrid['lg'] ?? null),'xl' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($contentGrid['xl'] ?? null),'two-xl' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($contentGrid['2xl'] ?? null),'x-on:end.stop' => '$wire.reorderTable($event.target.sortable.toArray())','x-sortable' => true,'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([ - 'gap-4 p-4 sm:px-6' => $contentGrid, - 'pt-0' => $contentGrid && $this->getTableGrouping(), - '[&>*:not(:first-child)]:border-t-[0.5px] [&>*:not(:last-child)]:border-b-[0.5px] [&>*]:border-gray-200 dark:[&>*]:border-white/5' => ! $contentGrid, - ]))]); ?> - - - addLoop($__currentLoopData); foreach($__currentLoopData as $record): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> - getKey($record); - $recordGroupTitle = $group?->getTitle($record); - - $collapsibleColumnsLayout?->record($record); - $hasCollapsibleColumnsLayout = (bool) $collapsibleColumnsLayout?->isVisible(); - ?> - - - - - - 'filament-tables::components.table','data' => ['class' => 'col-span-full']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::table'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['class' => 'col-span-full']); ?> - - - 'filament-tables::components.summary.row','data' => ['columns' => $columns,'extraHeadingColumn' => true,'heading' => - __('filament-tables::table.summary.subheadings.group', [ - 'group' => $previousRecordGroupTitle, - 'label' => $pluralModelLabel, - ]) - ,'placeholderColumns' => false,'query' => $group->scopeQuery($this->getAllTableSummaryQuery(), $previousRecord),'selectedState' => $groupedSummarySelectedState[$previousRecordGroupKey] ?? []]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::summary.row'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columns),'extra-heading-column' => true,'heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute( - __('filament-tables::table.summary.subheadings.group', [ - 'group' => $previousRecordGroupTitle, - 'label' => $pluralModelLabel, - ]) - ),'placeholder-columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(false),'query' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->scopeQuery($this->getAllTableSummaryQuery(), $previousRecord)),'selected-state' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($groupedSummarySelectedState[$previousRecordGroupKey] ?? [])]); ?> -renderComponent(); ?> - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - - - - - 'filament-tables::components.group.header','data' => ['collapsible' => $group->isCollapsible(),'description' => $group->getDescription($record, $recordGroupTitle),'label' => $group->isTitlePrefixedWithLabel() ? $group->getLabel() : null,'title' => $recordGroupTitle,'class' => \Illuminate\Support\Arr::toCssClasses([ - 'col-span-full', - '-mx-4 w-[calc(100%+2rem)] border-y border-gray-200 first:border-t-0 dark:border-white/5 sm:-mx-6 sm:w-[calc(100%+3rem)]' => $contentGrid, - ]),'xBind:class' => $hasSummary ? null : '{ \'-mb-4 border-b-0\': isGroupCollapsed(\'' . $recordGroupTitle . '\') }']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::group.header'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['collapsible' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->isCollapsible()),'description' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->getDescription($record, $recordGroupTitle)),'label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->isTitlePrefixedWithLabel() ? $group->getLabel() : null),'title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordGroupTitle),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([ - 'col-span-full', - '-mx-4 w-[calc(100%+2rem)] border-y border-gray-200 first:border-t-0 dark:border-white/5 sm:-mx-6 sm:w-[calc(100%+3rem)]' => $contentGrid, - ])),'x-bind:class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($hasSummary ? null : '{ \'-mb-4 border-b-0\': isGroupCollapsed(\'' . $recordGroupTitle . '\') }')]); ?> -renderComponent(); ?> - - - - - - - - - - - -
- x-data="{ isCollapsed: isCollapsed())->toHtml() ?> }" - x-init="$dispatch('collapsible-table-row-initialized')" - x-on:collapse-all-table-rows.window="isCollapsed = true" - x-on:expand-all-table-rows.window="isCollapsed = false" - - wire:key="getId()); ?>.table.records." - - x-sortable-item="" - x-sortable-handle - - class=" ($recordUrl || $recordAction) && (! $contentGrid), - 'hover:bg-gray-50 dark:hover:bg-white/10 dark:hover:ring-white/20' => ($recordUrl || $recordAction) && $contentGrid, - 'rounded-xl shadow-sm ring-1 ring-gray-950/5' => $contentGrid, - ...$getRecordClasses($record), - ]); ?>" - x-bind:class="{ - 'hidden': - isCollapsible() ? 'true' : 'false'); ?> && - isGroupCollapsed(''), - , - , - }" - > - (! $contentGrid) && $hasItemBeforeRecordContent, - 'ps-4 sm:ps-6' => (! $contentGrid) && (! $hasItemBeforeRecordContent), - 'pe-3' => (! $contentGrid) && $hasItemAfterRecordContent, - 'pe-4 sm:pe-6 md:pe-3' => (! $contentGrid) && (! $hasItemAfterRecordContent), - 'ps-2' => $contentGrid && $hasItemBeforeRecordContent, - 'ps-4' => $contentGrid && (! $hasItemBeforeRecordContent), - 'pe-2' => $contentGrid && $hasItemAfterRecordContent, - 'pe-4' => $contentGrid && (! $hasItemAfterRecordContent), - ]); - - $recordActionsClasses = \Illuminate\Support\Arr::toCssClasses([ - 'md:ps-3' => (! $contentGrid), - 'ps-3' => (! $contentGrid) && $hasItemBeforeRecordContent, - 'ps-4 sm:ps-6' => (! $contentGrid) && (! $hasItemBeforeRecordContent), - 'pe-3' => (! $contentGrid) && $hasItemAfterRecordContent, - 'pe-4 sm:pe-6' => (! $contentGrid) && (! $hasItemAfterRecordContent), - 'ps-2' => $contentGrid && $hasItemBeforeRecordContent, - 'ps-4' => $contentGrid && (! $hasItemBeforeRecordContent), - 'pe-2' => $contentGrid && $hasItemAfterRecordContent, - 'pe-4' => $contentGrid && (! $hasItemAfterRecordContent), - ]); - ?> - -
- - - - 'filament-tables::components.reorder.handle','data' => ['class' => 'mx-1 my-2']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::reorder.handle'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['class' => 'mx-1 my-2']); ?> -renderComponent(); ?> - - - - - - - - - - - - - 'filament-tables::components.selection.checkbox','data' => ['label' => __('filament-tables::table.fields.bulk_select_record.label', ['key' => $recordKey]),'value' => $recordKey,'xModel' => 'selectedRecords','class' => 'fi-ta-record-checkbox mx-3 my-4']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::selection.checkbox'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('filament-tables::table.fields.bulk_select_record.label', ['key' => $recordKey])),'value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordKey),'x-model' => 'selectedRecords','class' => 'fi-ta-record-checkbox mx-3 my-4']); ?> -renderComponent(); ?> - - - - - - - - - - - - - -
-
- - - - - 'filament-tables::components.columns.layout','data' => ['components' => $getColumnsLayout(),'record' => $record,'recordKey' => $recordKey,'rowLoop' => $loop]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::columns.layout'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['components' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getColumnsLayout()),'record' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($record),'record-key' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordKey),'row-loop' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($loop)]); ?> -renderComponent(); ?> - - - - - - - - - - - - - - - -
- - - 'filament-tables::components.columns.layout','data' => ['components' => $getColumnsLayout(),'record' => $record,'recordKey' => $recordKey,'rowLoop' => $loop]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::columns.layout'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['components' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getColumnsLayout()),'record' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($record),'record-key' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordKey),'row-loop' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($loop)]); ?> -renderComponent(); ?> - - - - - - - - - -
- - - -
- viewData(['recordKey' => $recordKey])); ?> - -
- -
- - - - - 'filament-tables::components.actions','data' => ['actions' => $actions,'alignment' => (! $contentGrid) ? 'start md:end' : Alignment::Start,'record' => $record,'wrap' => '-sm','class' => $recordActionsClasses]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::actions'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actions),'alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute((! $contentGrid) ? 'start md:end' : Alignment::Start),'record' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($record),'wrap' => '-sm','class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordActionsClasses)]); ?> -renderComponent(); ?> - - - - - - - - - - -
- - - - - 'filament::components.icon-button','data' => ['color' => 'gray','iconAlias' => 'tables::columns.collapse-button','icon' => 'heroicon-m-chevron-down','xOn:click' => 'isCollapsed = ! isCollapsed','class' => 'mx-1 my-2 shrink-0','xBind:class' => '{ \'rotate-180\': isCollapsed }']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::icon-button'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['color' => 'gray','icon-alias' => 'tables::columns.collapse-button','icon' => 'heroicon-m-chevron-down','x-on:click' => 'isCollapsed = ! isCollapsed','class' => 'mx-1 my-2 shrink-0','x-bind:class' => '{ \'rotate-180\': isCollapsed }']); ?> -renderComponent(); ?> - - - - - - - - - - -
-
- - - popLoop(); $loop = $__env->getLastLoop(); ?> - - hasMorePages()))): ?> - - - 'filament-tables::components.table','data' => ['class' => 'col-span-full']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::table'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['class' => 'col-span-full']); ?> - - - 'filament-tables::components.summary.row','data' => ['columns' => $columns,'extraHeadingColumn' => true,'heading' => __('filament-tables::table.summary.subheadings.group', ['group' => $previousRecordGroupTitle, 'label' => $pluralModelLabel]),'placeholderColumns' => false,'query' => $group->scopeQuery($this->getAllTableSummaryQuery(), $previousRecord),'selectedState' => $groupedSummarySelectedState[$previousRecordGroupKey] ?? []]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::summary.row'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columns),'extra-heading-column' => true,'heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('filament-tables::table.summary.subheadings.group', ['group' => $previousRecordGroupTitle, 'label' => $pluralModelLabel])),'placeholder-columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(false),'query' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->scopeQuery($this->getAllTableSummaryQuery(), $previousRecord)),'selected-state' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($groupedSummarySelectedState[$previousRecordGroupKey] ?? [])]); ?> -renderComponent(); ?> - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - - - - with([ - 'columns' => $columns, - 'records' => $records, - ])); ?> - - - - - - - 'filament-tables::components.table','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::table'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> - - - 'filament-tables::components.summary.index','data' => ['columns' => $columns,'extraHeadingColumn' => true,'placeholderColumns' => false,'pluralModelLabel' => $pluralModelLabel,'records' => $records]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::summary'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columns),'extra-heading-column' => true,'placeholder-columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(false),'plural-model-label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($pluralModelLabel),'records' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($records)]); ?> -renderComponent(); ?> - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - - - - - 'filament-tables::components.table','data' => ['reorderable' => $isReorderable]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::table'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['reorderable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isReorderable)]); ?> - slot('header', null, []); ?> - - - - - - - - 'filament-tables::components.header-cell','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::header-cell'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> - - - renderComponent(); ?> - - - - - - - - - - - - - - - - - - 'filament-tables::components.selection.cell','data' => ['tag' => 'th']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::selection.cell'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['tag' => 'th']); ?> - - - 'filament-tables::components.selection.checkbox','data' => ['label' => __('filament-tables::table.fields.bulk_select_page.label'),'xBind:checked' => ' - const recordsOnPage = getRecordsOnPage() - - if (recordsOnPage.length && areRecordsSelected(recordsOnPage)) { - $el.checked = true - - return \'checked\' - } - - $el.checked = false - - return null - ','xOn:click' => 'toggleSelectRecordsOnPage']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::selection.checkbox'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('filament-tables::table.fields.bulk_select_page.label')),'x-bind:checked' => ' - const recordsOnPage = getRecordsOnPage() - - if (recordsOnPage.length && areRecordsSelected(recordsOnPage)) { - $el.checked = true - - return \'checked\' - } - - $el.checked = false - - return null - ','x-on:click' => 'toggleSelectRecordsOnPage']); ?> -renderComponent(); ?> - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - - - - - - - 'filament-tables::components.header-cell','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::header-cell'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> - - - renderComponent(); ?> - - - - - - - - - - - - - - - - addLoop($__currentLoopData); foreach($__currentLoopData as $column): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> - - - 'filament-tables::components.header-cell','data' => ['activelySorted' => $getSortColumn() === $column->getName(),'alignment' => $column->getAlignment(),'name' => $column->getName(),'sortable' => $column->isSortable() && (! $isReordering),'sortDirection' => $getSortDirection(),'wrap' => $column->isHeaderWrapped(),'attributes' => - \Filament\Support\prepare_inherited_attributes($column->getExtraHeaderAttributeBag()) - ->class([ - 'fi-table-header-cell-' . str($column->getName())->camel()->kebab(), - $getHiddenClasses($column), - ]) - ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::header-cell'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['actively-sorted' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getSortColumn() === $column->getName()),'alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($column->getAlignment()),'name' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($column->getName()),'sortable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($column->isSortable() && (! $isReordering)),'sort-direction' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getSortDirection()),'wrap' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($column->isHeaderWrapped()),'attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute( - \Filament\Support\prepare_inherited_attributes($column->getExtraHeaderAttributeBag()) - ->class([ - 'fi-table-header-cell-' . str($column->getName())->camel()->kebab(), - $getHiddenClasses($column), - ]) - )]); ?> - getLabel()); ?> - - renderComponent(); ?> - - - - - - - - - - popLoop(); $loop = $__env->getLastLoop(); ?> - - - - - - - 'filament-tables::components.header-cell','data' => ['alignment' => Alignment::Right]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::header-cell'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(Alignment::Right)]); ?> - - - renderComponent(); ?> - - - - - - - - - - - - - - - - - - 'filament-tables::components.selection.cell','data' => ['tag' => 'th']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::selection.cell'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['tag' => 'th']); ?> - - - 'filament-tables::components.selection.checkbox','data' => ['label' => __('filament-tables::table.fields.bulk_select_page.label'),'xBind:checked' => ' - const recordsOnPage = getRecordsOnPage() - - if (recordsOnPage.length && areRecordsSelected(recordsOnPage)) { - $el.checked = true - - return \'checked\' - } - - $el.checked = false - - return null - ','xOn:click' => 'toggleSelectRecordsOnPage']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::selection.checkbox'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('filament-tables::table.fields.bulk_select_page.label')),'x-bind:checked' => ' - const recordsOnPage = getRecordsOnPage() - - if (recordsOnPage.length && areRecordsSelected(recordsOnPage)) { - $el.checked = true - - return \'checked\' - } - - $el.checked = false - - return null - ','x-on:click' => 'toggleSelectRecordsOnPage']); ?> -renderComponent(); ?> - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - - - - - - - 'filament-tables::components.header-cell','data' => ['alignment' => Alignment::Right]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::header-cell'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(Alignment::Right)]); ?> - - - renderComponent(); ?> - - - - - - - - - - - - - - - endSlot(); ?> - - - - - 'filament-tables::components.row','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::row'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> - - - - - - - - - - - - - addLoop($__currentLoopData); foreach($__currentLoopData as $column): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> - - - 'filament-tables::components.cell','data' => ['class' => \Illuminate\Support\Arr::toCssClasses([ - 'fi-table-individual-search-cell-' . str($column->getName())->camel()->kebab(), - 'px-3 py-2', - ])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::cell'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([ - 'fi-table-individual-search-cell-' . str($column->getName())->camel()->kebab(), - 'px-3 py-2', - ]))]); ?> - isIndividuallySearchable()): ?> - - - 'filament-tables::components.search-field','data' => ['wireModel' => 'tableColumnSearches.'.e($column->getName()).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::search-field'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['wire-model' => 'tableColumnSearches.'.e($column->getName()).'']); ?> -renderComponent(); ?> - - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - popLoop(); $loop = $__env->getLastLoop(); ?> - - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - - - - - - addLoop($__currentLoopData); foreach($__currentLoopData as $record): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> - getKey($record); - $recordGroupTitle = $group?->getTitle($record); - ?> - - - - - - 'filament-tables::components.summary.row','data' => ['actions' => count($actions),'actionsPosition' => $actionsPosition,'columns' => $columns,'groupsOnly' => $isGroupsOnly,'heading' => $isGroupsOnly ? $previousRecordGroupTitle : __('filament-tables::table.summary.subheadings.group', ['group' => $previousRecordGroupTitle, 'label' => $pluralModelLabel]),'query' => $group->scopeQuery($this->getAllTableSummaryQuery(), $previousRecord),'recordCheckboxPosition' => $recordCheckboxPosition,'selectedState' => $groupedSummarySelectedState[$previousRecordGroupKey] ?? [],'selectionEnabled' => $isSelectionEnabled]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::summary.row'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(count($actions)),'actions-position' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actionsPosition),'columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columns),'groups-only' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isGroupsOnly),'heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isGroupsOnly ? $previousRecordGroupTitle : __('filament-tables::table.summary.subheadings.group', ['group' => $previousRecordGroupTitle, 'label' => $pluralModelLabel])),'query' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->scopeQuery($this->getAllTableSummaryQuery(), $previousRecord)),'record-checkbox-position' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordCheckboxPosition),'selected-state' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($groupedSummarySelectedState[$previousRecordGroupKey] ?? []),'selection-enabled' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isSelectionEnabled)]); ?> -renderComponent(); ?> - - - - - - - - - - - - - - - 'filament-tables::components.row','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::row'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> - - - - 'filament-tables::components.group.header','data' => ['collapsible' => $group->isCollapsible(),'description' => $group->getDescription($record, $recordGroupTitle),'label' => $group->isTitlePrefixedWithLabel() ? $group->getLabel() : null,'title' => $recordGroupTitle]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::group.header'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['collapsible' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->isCollapsible()),'description' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->getDescription($record, $recordGroupTitle)),'label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->isTitlePrefixedWithLabel() ? $group->getLabel() : null),'title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordGroupTitle)]); ?> -renderComponent(); ?> - - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - - - - - - - - - 'filament-tables::components.row','data' => ['alpineHidden' => ($group?->isCollapsible() ? 'true' : 'false') . ' && isGroupCollapsed(\'' . $recordGroupTitle . '\')','alpineSelected' => 'isRecordSelected(\'' . $recordKey . '\')','recordAction' => $recordAction,'recordUrl' => $recordUrl,'striped' => $isStriped && $isRecordRowStriped,'wire:key' => $this->getId() . '.table.records.' . $recordKey,'xSortableHandle' => $isReordering,'xSortableItem' => $isReordering ? $recordKey : null,'class' => \Illuminate\Support\Arr::toCssClasses([ - 'group cursor-move' => $isReordering, - ...$getRecordClasses($record), - ])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::row'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['alpine-hidden' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(($group?->isCollapsible() ? 'true' : 'false') . ' && isGroupCollapsed(\'' . $recordGroupTitle . '\')'),'alpine-selected' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('isRecordSelected(\'' . $recordKey . '\')'),'record-action' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordAction),'record-url' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordUrl),'striped' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isStriped && $isRecordRowStriped),'wire:key' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($this->getId() . '.table.records.' . $recordKey),'x-sortable-handle' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isReordering),'x-sortable-item' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isReordering ? $recordKey : null),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([ - 'group cursor-move' => $isReordering, - ...$getRecordClasses($record), - ]))]); ?> - - - - 'filament-tables::components.reorder.cell','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::reorder.cell'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> - - - 'filament-tables::components.reorder.handle','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::reorder.handle'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> -renderComponent(); ?> - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - - - - - - 'filament-tables::components.actions.cell','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::actions.cell'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> - - - 'filament-tables::components.actions','data' => ['actions' => $actions,'alignment' => $actionsAlignment,'record' => $record]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::actions'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actions),'alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actionsAlignment),'record' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($record)]); ?> -renderComponent(); ?> - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - - - - - - 'filament-tables::components.selection.cell','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::selection.cell'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> - - - - 'filament-tables::components.selection.checkbox','data' => ['label' => __('filament-tables::table.fields.bulk_select_record.label', ['key' => $recordKey]),'value' => $recordKey,'xModel' => 'selectedRecords','class' => 'fi-ta-record-checkbox']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::selection.checkbox'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('filament-tables::table.fields.bulk_select_record.label', ['key' => $recordKey])),'value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordKey),'x-model' => 'selectedRecords','class' => 'fi-ta-record-checkbox']); ?> -renderComponent(); ?> - - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - - - - - - 'filament-tables::components.actions.cell','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::actions.cell'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> - - - 'filament-tables::components.actions','data' => ['actions' => $actions,'alignment' => $actionsAlignment,'record' => $record]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::actions'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actions),'alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actionsAlignment),'record' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($record)]); ?> -renderComponent(); ?> - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - - - addLoop($__currentLoopData); foreach($__currentLoopData as $column): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> - record($record); - $column->rowLoop($loop->parent); - ?> - - - - 'filament-tables::components.cell','data' => ['wire:key' => $this->getId() . '.table.record.' . $recordKey . '.column.' . $column->getName(),'attributes' => - \Filament\Support\prepare_inherited_attributes($column->getExtraCellAttributeBag()) - ->class([ - 'fi-table-cell-' . str($column->getName())->camel()->kebab(), - $getHiddenClasses($column), - ]) - ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::cell'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['wire:key' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($this->getId() . '.table.record.' . $recordKey . '.column.' . $column->getName()),'attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute( - \Filament\Support\prepare_inherited_attributes($column->getExtraCellAttributeBag()) - ->class([ - 'fi-table-cell-' . str($column->getName())->camel()->kebab(), - $getHiddenClasses($column), - ]) - )]); ?> - - - 'filament-tables::components.columns.column','data' => ['column' => $column,'isClickDisabled' => $column->isClickDisabled() || $isReordering,'record' => $record,'recordAction' => $recordAction,'recordKey' => $recordKey,'recordUrl' => $recordUrl]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::columns.column'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['column' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($column),'is-click-disabled' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($column->isClickDisabled() || $isReordering),'record' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($record),'record-action' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordAction),'record-key' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordKey),'record-url' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordUrl)]); ?> -renderComponent(); ?> - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - popLoop(); $loop = $__env->getLastLoop(); ?> - - - - - 'filament-tables::components.actions.cell','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::actions.cell'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> - - - 'filament-tables::components.actions','data' => ['actions' => $actions,'alignment' => $actionsAlignment ?? Alignment::End,'record' => $record]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::actions'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actions),'alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actionsAlignment ?? Alignment::End),'record' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($record)]); ?> -renderComponent(); ?> - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - - - - - - 'filament-tables::components.selection.cell','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::selection.cell'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> - - - - 'filament-tables::components.selection.checkbox','data' => ['label' => __('filament-tables::table.fields.bulk_select_record.label', ['key' => $recordKey]),'value' => $recordKey,'xModel' => 'selectedRecords','class' => 'fi-ta-record-checkbox']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::selection.checkbox'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('filament-tables::table.fields.bulk_select_record.label', ['key' => $recordKey])),'value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordKey),'x-model' => 'selectedRecords','class' => 'fi-ta-record-checkbox']); ?> -renderComponent(); ?> - - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - - - - - - 'filament-tables::components.actions.cell','data' => ['class' => \Illuminate\Support\Arr::toCssClasses([ - 'hidden' => $isReordering, - ])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::actions.cell'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([ - 'hidden' => $isReordering, - ]))]); ?> - - - 'filament-tables::components.actions','data' => ['actions' => $actions,'alignment' => $actionsAlignment ?? Alignment::End,'record' => $record]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::actions'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actions),'alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actionsAlignment ?? Alignment::End),'record' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($record)]); ?> -renderComponent(); ?> - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - - - - popLoop(); $loop = $__env->getLastLoop(); ?> - - hasMorePages()))): ?> - - - 'filament-tables::components.summary.row','data' => ['actions' => count($actions),'actionsPosition' => $actionsPosition,'columns' => $columns,'groupsOnly' => $isGroupsOnly,'heading' => $isGroupsOnly ? $previousRecordGroupTitle : __('filament-tables::table.summary.subheadings.group', ['group' => $previousRecordGroupTitle, 'label' => $pluralModelLabel]),'query' => $group->scopeQuery($this->getAllTableSummaryQuery(), $previousRecord),'recordCheckboxPosition' => $recordCheckboxPosition,'selectedState' => $groupedSummarySelectedState[$previousRecordGroupKey] ?? [],'selectionEnabled' => $isSelectionEnabled]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::summary.row'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(count($actions)),'actions-position' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actionsPosition),'columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columns),'groups-only' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isGroupsOnly),'heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isGroupsOnly ? $previousRecordGroupTitle : __('filament-tables::table.summary.subheadings.group', ['group' => $previousRecordGroupTitle, 'label' => $pluralModelLabel])),'query' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->scopeQuery($this->getAllTableSummaryQuery(), $previousRecord)),'record-checkbox-position' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordCheckboxPosition),'selected-state' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($groupedSummarySelectedState[$previousRecordGroupKey] ?? []),'selection-enabled' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isSelectionEnabled)]); ?> -renderComponent(); ?> - - - - - - - - - - - - - - - 'filament-tables::components.summary.index','data' => ['actions' => count($actions),'actionsPosition' => $actionsPosition,'columns' => $columns,'groupsOnly' => $isGroupsOnly,'pluralModelLabel' => $pluralModelLabel,'recordCheckboxPosition' => $recordCheckboxPosition,'records' => $records,'selectionEnabled' => $isSelectionEnabled]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::summary'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(count($actions)),'actions-position' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actionsPosition),'columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columns),'groups-only' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isGroupsOnly),'plural-model-label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($pluralModelLabel),'record-checkbox-position' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordCheckboxPosition),'records' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($records),'selection-enabled' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isSelectionEnabled)]); ?> -renderComponent(); ?> - - - - - - - - - - - - - slot('footer', null, []); ?> - with([ - 'columns' => $columns, - 'records' => $records, - ])); ?> - - endSlot(); ?> - - - renderComponent(); ?> - - - - - - - - - - -
- - - - - - - - - 'filament-tables::components.empty-state.index','data' => ['actions' => $getEmptyStateActions(),'description' => $getEmptyStateDescription(),'heading' => $getEmptyStateHeading(),'icon' => $getEmptyStateIcon()]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::empty-state'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getEmptyStateActions()),'description' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getEmptyStateDescription()),'heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getEmptyStateHeading()),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getEmptyStateIcon())]); ?> -renderComponent(); ?> - - - - - - - - - - - - -
- - total())): ?> - - - 'filament::components.pagination.index','data' => ['pageOptions' => $getPaginationPageOptions(),'paginator' => $records,'class' => 'px-3 py-3 sm:px-6']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::pagination'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['page-options' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getPaginationPageOptions()),'paginator' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($records),'class' => 'px-3 py-3 sm:px-6']); ?> -renderComponent(); ?> - - - - - - - - - - - - - - - 'filament-tables::components.filters.index','data' => ['form' => $getFiltersForm(),'class' => 'p-4 sm:px-6']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-tables::filters'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['form' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getFiltersForm()),'class' => 'p-4 sm:px-6']); ?> -renderComponent(); ?> - - - - - - - - - - - renderComponent(); ?> - - - - - - - - - - - - - 'filament-actions::components.modals','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-actions::modals'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> -renderComponent(); ?> - - - - - - - - - -
- \ No newline at end of file diff --git a/storage/framework/views/972e582771c99256fd2555bf3ad631a9.php b/storage/framework/views/972e582771c99256fd2555bf3ad631a9.php deleted file mode 100644 index 19245c0..0000000 --- a/storage/framework/views/972e582771c99256fd2555bf3ad631a9.php +++ /dev/null @@ -1,20 +0,0 @@ -class(['animate-spin'])); ?> - -> - - - - \ No newline at end of file diff --git a/storage/framework/views/98f8cb33792e04d0a0ff9c73462a14d2.php b/storage/framework/views/98f8cb33792e04d0a0ff9c73462a14d2.php deleted file mode 100644 index b2b497f..0000000 --- a/storage/framework/views/98f8cb33792e04d0a0ff9c73462a14d2.php +++ /dev/null @@ -1,54 +0,0 @@ - -onlyProps([ - 'action', - 'dynamicComponent', - 'icon' => null, -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'action', - 'dynamicComponent', - 'icon' => null, -]); ?> - null, -]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - -isDisabled(); - $url = $action->getUrl(); -?> - - - - $dynamicComponent] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('dynamic-component'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['badge' => $action->getBadge(),'badge-color' => $action->getBadgeColor(),'form' => $action->getFormToSubmit(),'tag' => $url ? 'a' : 'button','x-on:click' => $action->getAlpineClickHandler(),'wire:click' => $action->getLivewireClickHandler(),'wire:target' => $action->getLivewireTarget(),'href' => $isDisabled ? null : $url,'target' => ($url && $action->shouldOpenUrlInNewTab()) ? '_blank' : null,'type' => $action->canSubmitForm() ? 'submit' : 'button','color' => $action->getColor(),'key-bindings' => $action->getKeyBindings(),'tooltip' => $action->getTooltip(),'disabled' => $isDisabled,'icon' => $icon ?? $action->getIcon(),'icon-size' => $action->getIconSize(),'size' => $action->getSize(),'label-sr-only' => $action->isLabelHidden(),'attributes' => \Filament\Support\prepare_inherited_attributes($attributes)->merge($action->getExtraAttributes(), escape: false)]); ?> - - - renderComponent(); ?> - - - - - - - - - - \ No newline at end of file diff --git a/storage/framework/views/9b6420b104e399afd8e150e576e047d6.php b/storage/framework/views/9b6420b104e399afd8e150e576e047d6.php deleted file mode 100644 index d56a06c..0000000 --- a/storage/framework/views/9b6420b104e399afd8e150e576e047d6.php +++ /dev/null @@ -1,52 +0,0 @@ - -onlyProps([ - 'error' => false, - 'isDisabled' => false, - 'isMarkedAsRequired' => true, - 'prefix' => null, - 'required' => false, - 'suffix' => null, -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'error' => false, - 'isDisabled' => false, - 'isMarkedAsRequired' => true, - 'prefix' => null, - 'required' => false, - 'suffix' => null, -]); ?> - false, - 'isDisabled' => false, - 'isMarkedAsRequired' => true, - 'prefix' => null, - 'required' => false, - 'suffix' => null, -]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - - - \ No newline at end of file diff --git a/storage/framework/views/a1a175386f5df4a9944422a0a6842305.php b/storage/framework/views/a1a175386f5df4a9944422a0a6842305.php deleted file mode 100644 index db0bd10..0000000 --- a/storage/framework/views/a1a175386f5df4a9944422a0a6842305.php +++ /dev/null @@ -1,83 +0,0 @@ - -onlyProps([ - 'actions', - 'alignment' => null, - 'record' => null, - 'wrap' => false, -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'actions', - 'alignment' => null, - 'record' => null, - 'wrap' => false, -]); ?> - null, - 'record' => null, - 'wrap' => false, -]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - -record($record); - } - - return $action->isVisible(); - }, - ); -?> - -
class([ - 'fi-ta-actions flex shrink-0 items-center gap-3', - 'flex-wrap' => $wrap, - 'sm:flex-nowrap' => $wrap === '-sm', - match ($alignment) { - Alignment::Center, 'center' => 'justify-center', - Alignment::Start, Alignment::Left, 'start', 'left' => 'justify-start', - 'start md:end' => 'justify-start md:justify-end', - default => 'justify-end', - }, - ])); ?> - -> - addLoop($__currentLoopData); foreach($__currentLoopData as $action): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> - getLabeledFromBreakpoint(); - ?> - - - - - - popLoop(); $loop = $__env->getLastLoop(); ?> -
- \ No newline at end of file diff --git a/storage/framework/views/b4b5d6104ed13101944635db247213ed.php b/storage/framework/views/b4b5d6104ed13101944635db247213ed.php deleted file mode 100644 index c9a1fa6..0000000 --- a/storage/framework/views/b4b5d6104ed13101944635db247213ed.php +++ /dev/null @@ -1,330 +0,0 @@ - -onlyProps([ - 'navigation', -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'navigation', -]); ?> - $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - -
class([ - 'fi-topbar sticky top-0 z-20 overflow-x-clip', - ])); ?> - -> - -
- \ No newline at end of file diff --git a/storage/framework/views/b6d259c4518ccdcfceeb05a40aac031e.php b/storage/framework/views/b6d259c4518ccdcfceeb05a40aac031e.php deleted file mode 100644 index 212daa1..0000000 --- a/storage/framework/views/b6d259c4518ccdcfceeb05a40aac031e.php +++ /dev/null @@ -1,146 +0,0 @@ - -onlyProps([ - 'collapsible' => true, - 'icon' => null, - 'items' => [], - 'label' => null, -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'collapsible' => true, - 'icon' => null, - 'items' => [], - 'label' => null, -]); ?> - true, - 'icon' => null, - 'items' => [], - 'label' => null, -]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - -
  • - -
    - x-on:click="$store.sidebar.toggleCollapsedGroup(label)" - - isSidebarCollapsibleOnDesktop()): ?> - x-show="$store.sidebar.isOpen" - x-transition:enter="delay-100 lg:transition" - x-transition:enter-start="opacity-0" - x-transition:enter-end="opacity-100" - - class=" $collapsible, - ]); ?>" - > - - - - 'filament::components.icon','data' => ['icon' => $icon,'class' => 'fi-sidebar-group-icon h-6 w-6 text-gray-400 dark:text-gray-500']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::icon'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($icon),'class' => 'fi-sidebar-group-icon h-6 w-6 text-gray-400 dark:text-gray-500']); ?> -renderComponent(); ?> - - - - - - - - - - - - - - - - - - - - 'filament::components.icon-button','data' => ['color' => 'gray','icon' => 'heroicon-m-chevron-up','iconAlias' => 'panels::sidebar.group.collapse-button','xOn:click.stop' => '$store.sidebar.toggleCollapsedGroup(label)','xBind:class' => '{ \'rotate-180\': $store.sidebar.groupIsCollapsed(label) }','class' => 'fi-sidebar-group-collapse-button -my-2 -me-2']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::icon-button'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['color' => 'gray','icon' => 'heroicon-m-chevron-up','icon-alias' => 'panels::sidebar.group.collapse-button','x-on:click.stop' => '$store.sidebar.toggleCollapsedGroup(label)','x-bind:class' => '{ \'rotate-180\': $store.sidebar.groupIsCollapsed(label) }','class' => 'fi-sidebar-group-collapse-button -my-2 -me-2']); ?> -renderComponent(); ?> - - - - - - - - - - -
    - - -
      isSidebarCollapsibleOnDesktop()): ?> - x-transition:enter="delay-100 lg:transition" - x-transition:enter-start="opacity-0" - x-transition:enter-end="opacity-100" - - x-collapse.duration.200ms - class="fi-sidebar-group-items grid gap-y-1" - > - addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> - isVisible()): ?> - - - 'filament-panels::components.sidebar.item','data' => ['activeIcon' => $item->getActiveIcon(),'active' => $item->isActive(),'badgeColor' => $item->getBadgeColor(),'badge' => $item->getBadge(),'first' => $loop->first,'grouped' => filled($label),'icon' => $item->getIcon(),'last' => $loop->last,'shouldOpenUrlInNewTab' => $item->shouldOpenUrlInNewTab(),'url' => $item->getUrl()]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-panels::sidebar.item'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['active-icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($item->getActiveIcon()),'active' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($item->isActive()),'badge-color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($item->getBadgeColor()),'badge' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($item->getBadge()),'first' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($loop->first),'grouped' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(filled($label)),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($item->getIcon()),'last' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($loop->last),'should-open-url-in-new-tab' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($item->shouldOpenUrlInNewTab()),'url' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($item->getUrl())]); ?> - getLabel()); ?> - - renderComponent(); ?> - - - - - - - - - - - popLoop(); $loop = $__env->getLastLoop(); ?> -
    -
  • - \ No newline at end of file diff --git a/storage/framework/views/ba12c4bd1f7148a98d1382c8774fad65.php b/storage/framework/views/ba12c4bd1f7148a98d1382c8774fad65.php deleted file mode 100644 index f74d054..0000000 --- a/storage/framework/views/ba12c4bd1f7148a98d1382c8774fad65.php +++ /dev/null @@ -1,554 +0,0 @@ - - - -onlyProps([ - 'badge' => null, - 'badgeColor' => 'primary', - 'color' => 'primary', - 'disabled' => false, - 'form' => null, - 'grouped' => false, - 'icon' => null, - 'iconAlias' => null, - 'iconPosition' => IconPosition::Before, - 'iconSize' => null, - 'keyBindings' => null, - 'labeledFrom' => null, - 'labelSrOnly' => false, - 'outlined' => false, - 'size' => 'md', - 'tag' => 'button', - 'tooltip' => null, - 'type' => 'button', -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'badge' => null, - 'badgeColor' => 'primary', - 'color' => 'primary', - 'disabled' => false, - 'form' => null, - 'grouped' => false, - 'icon' => null, - 'iconAlias' => null, - 'iconPosition' => IconPosition::Before, - 'iconSize' => null, - 'keyBindings' => null, - 'labeledFrom' => null, - 'labelSrOnly' => false, - 'outlined' => false, - 'size' => 'md', - 'tag' => 'button', - 'tooltip' => null, - 'type' => 'button', -]); ?> - null, - 'badgeColor' => 'primary', - 'color' => 'primary', - 'disabled' => false, - 'form' => null, - 'grouped' => false, - 'icon' => null, - 'iconAlias' => null, - 'iconPosition' => IconPosition::Before, - 'iconSize' => null, - 'keyBindings' => null, - 'labeledFrom' => null, - 'labelSrOnly' => false, - 'outlined' => false, - 'size' => 'md', - 'tag' => 'button', - 'tooltip' => null, - 'type' => 'button', -]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - - 'xs', - ActionSize::Small => 'sm', - ActionSize::Medium => 'md', - ActionSize::Large => 'lg', - ActionSize::ExtraLarge => 'xl', - default => $size, - }; - - $buttonClasses = \Illuminate\Support\Arr::toCssClasses([ - ...[ - "fi-btn fi-btn-size-{$stringSize} relative grid-flow-col items-center justify-center font-semibold outline-none transition duration-75 focus:ring-2 disabled:pointer-events-none disabled:opacity-70", - 'flex-1' => $grouped, - 'rounded-lg' => ! $grouped, - is_string($color) ? "fi-btn-color-{$color}" : null, - match ($size) { - ActionSize::ExtraSmall, 'xs' => 'gap-1 px-2 py-1.5 text-xs', - ActionSize::Small, 'sm' => 'gap-1 px-2.5 py-1.5 text-sm', - ActionSize::Medium, 'md' => 'gap-1.5 px-3 py-2 text-sm', - ActionSize::Large, 'lg' => 'gap-1.5 px-3.5 py-2.5 text-sm', - ActionSize::ExtraLarge, 'xl' => 'gap-1.5 px-4 py-3 text-sm', - }, - 'hidden' => $labeledFrom, - match ($labeledFrom) { - 'sm' => 'sm:inline-grid', - 'md' => 'md:inline-grid', - 'lg' => 'lg:inline-grid', - 'xl' => 'xl:inline-grid', - '2xl' => '2xl:inline-grid', - default => 'inline-grid', - }, - ], - ...( - $outlined ? - [ - 'fi-btn-outlined ring-1', - match ($color) { - 'gray' => 'text-gray-950 ring-gray-300 hover:bg-gray-400/10 focus:ring-gray-400/40 dark:text-white dark:ring-gray-700', - default => 'text-custom-600 ring-custom-600 hover:bg-custom-400/10 dark:text-custom-400 dark:ring-custom-500', - }, - ] : - [ - 'shadow-sm' => ! $grouped, - ...match ($color) { - 'gray' => [ - 'bg-white text-gray-950 hover:bg-gray-50 dark:bg-white/5 dark:text-white dark:hover:bg-white/10', - 'ring-1 ring-gray-950/10 dark:ring-white/20' => ! $grouped, - ], - default => [ - 'bg-custom-600 text-white hover:bg-custom-500 dark:bg-custom-500 dark:hover:bg-custom-400', - 'focus:ring-custom-500/50 dark:focus:ring-custom-400/50' => ! $grouped, - ], - }, - ] - ), - ]); - - $buttonStyles = \Illuminate\Support\Arr::toCssStyles([ - \Filament\Support\get_color_css_variables($color, shades: [400, 500, 600]) => $color !== 'gray', - ]); - - $iconSize ??= match ($size) { - ActionSize::ExtraSmall, ActionSize::Small, 'xs', 'sm' => IconSize::Small, - default => IconSize::Medium, - }; - - $iconClasses = \Illuminate\Support\Arr::toCssClasses([ - 'fi-btn-icon', - match ($iconSize) { - IconSize::Small, 'sm' => 'h-4 w-4', - IconSize::Medium, 'md' => 'h-5 w-5', - IconSize::Large, 'lg' => 'h-6 w-6', - default => $iconSize, - }, - match ($color) { - 'gray' => 'text-gray-400 dark:text-gray-500', - default => null, - }, - ]); - - $stringIconSize = match ($iconSize) { - IconSize::Small => 'sm', - IconSize::Medium => 'md', - IconSize::Large => 'lg', - default => $iconSize, - }; - - $badgeClasses = 'absolute -top-1 start-full z-10 -ms-1 -translate-x-1/2 rounded-md bg-white dark:bg-gray-900'; - - $labelClasses = \Illuminate\Support\Arr::toCssClasses([ - 'fi-btn-label', - 'sr-only' => $labelSrOnly, - ]); - - $wireTarget = $attributes->whereStartsWith(['wire:target', 'wire:click'])->filter(fn ($value): bool => filled($value))->first(); - - $hasFileUploadLoadingIndicator = $type === 'submit' && filled($form); - $hasLoadingIndicator = filled($wireTarget) || $hasFileUploadLoadingIndicator; - - if ($hasLoadingIndicator) { - $loadingIndicatorTarget = html_entity_decode($wireTarget ?: $form, ENT_QUOTES); - } -?> - - - - - 'filament::components.icon-button','data' => ['badge' => $badge,'badgeColor' => $badgeColor,'color' => $color,'disabled' => $disabled,'form' => $form,'icon' => $icon,'iconAlias' => $iconAlias,'iconSize' => $iconSize,'keyBindings' => $keyBindings,'label' => $slot,'size' => $size,'tag' => $tag,'tooltip' => $tooltip,'type' => $type,'class' => - match ($labeledFrom) { - 'sm' => 'sm:hidden', - 'md' => 'md:hidden', - 'lg' => 'lg:hidden', - 'xl' => 'xl:hidden', - '2xl' => '2xl:hidden', - default => 'hidden', - } - ,'attributes' => \Filament\Support\prepare_inherited_attributes($attributes)]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::icon-button'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['badge' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($badge),'badge-color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($badgeColor),'color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($color),'disabled' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($disabled),'form' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($form),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($icon),'icon-alias' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconAlias),'icon-size' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconSize),'key-bindings' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($keyBindings),'label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($slot),'size' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($size),'tag' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($tag),'tooltip' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($tooltip),'type' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($type),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute( - match ($labeledFrom) { - 'sm' => 'sm:hidden', - 'md' => 'md:hidden', - 'lg' => 'lg:hidden', - 'xl' => 'xl:hidden', - '2xl' => '2xl:hidden', - default => 'hidden', - } - ),'attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Filament\Support\prepare_inherited_attributes($attributes))]); ?> -renderComponent(); ?> - - - - - - - - - - - - - - - - x-data="{}" - - - x-mousetrap.global.map(fn (string $keyBinding): string => str_replace('+', '-', $keyBinding))->implode('.')); ?> - - - - x-tooltip="{ - content: toHtml() ?>, - theme: $store.theme, - }" - - class([$buttonClasses]) - ->style([$buttonStyles])); ?> - - > - - - - 'filament::components.icon','data' => ['alias' => $iconAlias,'icon' => $icon,'class' => $iconClasses]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::icon'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['alias' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconAlias),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($icon),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconClasses)]); ?> -renderComponent(); ?> - - - - - - - - - - - - - - - - - - - - 'filament::components.icon','data' => ['alias' => $iconAlias,'icon' => $icon,'class' => $iconClasses]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::icon'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['alias' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconAlias),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($icon),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconClasses)]); ?> -renderComponent(); ?> - - - - - - - - - - - - -
    - - - 'filament::components.badge','data' => ['color' => $badgeColor,'size' => 'xs']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::badge'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($badgeColor),'size' => 'xs']); ?> - - - renderComponent(); ?> - - - - - - - - - -
    - -
    - - \ No newline at end of file diff --git a/storage/framework/views/c266f0b9c47ada5394333e08a98ead1b.php b/storage/framework/views/c266f0b9c47ada5394333e08a98ead1b.php deleted file mode 100644 index 9a9f3dd..0000000 --- a/storage/framework/views/c266f0b9c47ada5394333e08a98ead1b.php +++ /dev/null @@ -1,102 +0,0 @@ - -onlyProps([ - 'maxHeight' => null, - 'offset' => 8, - 'placement' => null, - 'shift' => false, - 'teleport' => false, - 'trigger' => null, - 'width' => null, -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'maxHeight' => null, - 'offset' => 8, - 'placement' => null, - 'shift' => false, - 'teleport' => false, - 'trigger' => null, - 'width' => null, -]); ?> - null, - 'offset' => 8, - 'placement' => null, - 'shift' => false, - 'teleport' => false, - 'trigger' => null, - 'width' => null, -]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - -
    class(['fi-dropdown'])); ?> - -> -
    attributes->class(['fi-dropdown-trigger flex cursor-pointer'])); ?> - - > - - -
    - -
    .flip="{ offset: }" - x-ref="panel" - x-transition:enter-start="opacity-0" - x-transition:leave-end="opacity-0" - has('wire:key')): ?> - wire:ignore.self - wire:key="get('wire:key')); ?>.panel" - - class=" 'max-w-xs', - 'sm' => 'max-w-sm', - 'md' => 'max-w-md', - 'lg' => 'max-w-lg', - 'xl' => 'max-w-xl', - '2xl' => 'max-w-2xl', - '3xl' => 'max-w-3xl', - '4xl' => 'max-w-4xl', - '5xl' => 'max-w-5xl', - '6xl' => 'max-w-6xl', - '7xl' => 'max-w-7xl', - null => 'max-w-[14rem]', - default => $width, - }, - 'overflow-y-auto' => $maxHeight, - ]); ?>" - style=" $maxHeight, - ]) ?>" - > - - -
    -
    - \ No newline at end of file diff --git a/storage/framework/views/c4a270774f111952550ceebce62d1ef2.blade.php b/storage/framework/views/c4a270774f111952550ceebce62d1ef2.blade.php deleted file mode 100644 index cbf2431..0000000 --- a/storage/framework/views/c4a270774f111952550ceebce62d1ef2.blade.php +++ /dev/null @@ -1,6 +0,0 @@ -getAttributes())->mapWithKeys(function ($value, $key) { return [Illuminate\Support\Str::camel(str_replace([':', '.'], ' ', $key)) => $value]; })->all(), EXTR_SKIP); ?> -@props(['badge','badgeColor','color','tooltip','icon','size','labelSrOnly','class','outlined','labeledFrom','iconPosition','iconSize','labeledFrom','iconPosition','iconSize']) - - -{{ $slot ?? "" }} - \ No newline at end of file diff --git a/storage/framework/views/c53737f1ed752e3452b9280c3717f844.php b/storage/framework/views/c53737f1ed752e3452b9280c3717f844.php deleted file mode 100644 index 0170180..0000000 --- a/storage/framework/views/c53737f1ed752e3452b9280c3717f844.php +++ /dev/null @@ -1,113 +0,0 @@ - - - -onlyProps([ - 'color' => 'gray', - 'icon' => null, - 'iconSize' => IconSize::Medium, - 'tag' => 'div', -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'color' => 'gray', - 'icon' => null, - 'iconSize' => IconSize::Medium, - 'tag' => 'div', -]); ?> - 'gray', - 'icon' => null, - 'iconSize' => IconSize::Medium, - 'tag' => 'div', -]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - -< - - class([ - 'fi-dropdown-header flex w-full gap-2 p-3 text-sm', - is_string($color) ? "fi-dropdown-header-color-{$color}" : null, - ]) - ->style([ - \Filament\Support\get_color_css_variables( - $color, - shades: [ - 400, - ...(filled($icon) ? [500] : []), - 600, - ], - ) => $color !== 'gray', - ])); ?> - -> - - - - 'filament::components.icon','data' => ['icon' => $icon,'class' => \Illuminate\Support\Arr::toCssClasses([ - 'fi-dropdown-header-icon', - match ($iconSize) { - IconSize::Small, 'sm' => 'h-4 w-4', - IconSize::Medium, 'md' => 'h-5 w-5', - IconSize::Large, 'lg' => 'h-6 w-6', - default => $iconSize, - }, - match ($color) { - 'gray' => 'text-gray-400 dark:text-gray-500', - default => 'text-custom-500 dark:text-custom-400', - }, - ])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::icon'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($icon),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([ - 'fi-dropdown-header-icon', - match ($iconSize) { - IconSize::Small, 'sm' => 'h-4 w-4', - IconSize::Medium, 'md' => 'h-5 w-5', - IconSize::Large, 'lg' => 'h-6 w-6', - default => $iconSize, - }, - match ($color) { - 'gray' => 'text-gray-400 dark:text-gray-500', - default => 'text-custom-500 dark:text-custom-400', - }, - ]))]); ?> -renderComponent(); ?> - - - - - - - - - - - - - - - -> - \ No newline at end of file diff --git a/storage/framework/views/c859770dff62866f78389be680911904.php b/storage/framework/views/c859770dff62866f78389be680911904.php deleted file mode 100644 index 52b7ecf..0000000 --- a/storage/framework/views/c859770dff62866f78389be680911904.php +++ /dev/null @@ -1,52 +0,0 @@ - - -
    -
    - addLoop($__currentLoopData); foreach($__currentLoopData as $notification): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> - - - popLoop(); $loop = $__env->getLastLoop(); ?> -
    - - getBroadcastChannel()): ?> - - - 'filament-notifications::components.echo','data' => ['channel' => $broadcastChannel]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-notifications::echo'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['channel' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($broadcastChannel)]); ?> -renderComponent(); ?> - - - - - - - - - - -
    - \ No newline at end of file diff --git a/storage/framework/views/d81f1ca0a1ecc2a59aafd23a29c36756.php b/storage/framework/views/d81f1ca0a1ecc2a59aafd23a29c36756.php deleted file mode 100644 index c6ea6a2..0000000 --- a/storage/framework/views/d81f1ca0a1ecc2a59aafd23a29c36756.php +++ /dev/null @@ -1,352 +0,0 @@ -hasActionsModalRendered)): ?> -
    - getMountedAction(); - ?> - - - - 'filament::components.modal.index','data' => ['alignment' => $action?->getModalAlignment(),'closeButton' => $action?->hasModalCloseButton(),'closeByClickingAway' => $action?->isModalClosedByClickingAway(),'description' => $action?->getModalDescription(),'displayClasses' => 'block','footerActions' => $action?->getVisibleModalFooterActions(),'footerActionsAlignment' => $action?->getModalFooterActionsAlignment(),'heading' => $action?->getModalHeading(),'icon' => $action?->getModalIcon(),'iconColor' => $action?->getModalIconColor(),'id' => $this->getId() . '-action','slideOver' => $action?->isModalSlideOver(),'stickyFooter' => $action?->isModalFooterSticky(),'stickyHeader' => $action?->isModalHeaderSticky(),'visible' => filled($action),'width' => $action?->getModalWidth(),'wire:key' => $action ? $this->getId() . '.actions.' . $action->getName() . '.modal' : null,'xOn:closedFormComponentActionModal.window' => 'if (($event.detail.id === \''.e($this->getId()).'\') && $wire.mountedActions.length) open()','xOn:modalClosed.stop' => ' - const mountedActionShouldOpenModal = '.e(\Illuminate\Support\Js::from($action && $this->mountedActionShouldOpenModal())).' - - - if (! mountedActionShouldOpenModal) { - return - } - - if ($wire.mountedFormComponentActions.length) { - return - } - - $wire.unmountAction(false) - ','xOn:openedFormComponentActionModal.window' => 'if ($event.detail.id === \''.e($this->getId()).'\') close()']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::modal'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalAlignment()),'close-button' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->hasModalCloseButton()),'close-by-clicking-away' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalClosedByClickingAway()),'description' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalDescription()),'display-classes' => 'block','footer-actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getVisibleModalFooterActions()),'footer-actions-alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalFooterActionsAlignment()),'heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalHeading()),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalIcon()),'icon-color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalIconColor()),'id' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($this->getId() . '-action'),'slide-over' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalSlideOver()),'sticky-footer' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalFooterSticky()),'sticky-header' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalHeaderSticky()),'visible' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(filled($action)),'width' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalWidth()),'wire:key' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action ? $this->getId() . '.actions.' . $action->getName() . '.modal' : null),'x-on:closed-form-component-action-modal.window' => 'if (($event.detail.id === \''.e($this->getId()).'\') && $wire.mountedActions.length) open()','x-on:modal-closed.stop' => ' - const mountedActionShouldOpenModal = '.e(\Illuminate\Support\Js::from($action && $this->mountedActionShouldOpenModal())).' - - - if (! mountedActionShouldOpenModal) { - return - } - - if ($wire.mountedFormComponentActions.length) { - return - } - - $wire.unmountAction(false) - ','x-on:opened-form-component-action-modal.window' => 'if ($event.detail.id === \''.e($this->getId()).'\') close()']); ?> - - getModalContent()); ?> - - - getInfolist())?->getComponents() ?? [])): ?> - - - mountedActionHasForm()): ?> - getMountedActionForm()); ?> - - - - getModalContentFooter()); ?> - - - renderComponent(); ?> - - - - - - - - - -
    - - hasActionsModalRendered = true; - ?> - - -hasInfolistsModalRendered)): ?> -
    - getMountedInfolistAction(); - ?> - - - - 'filament::components.modal.index','data' => ['alignment' => $action?->getModalAlignment(),'closeButton' => $action?->hasModalCloseButton(),'closeByClickingAway' => $action?->isModalClosedByClickingAway(),'description' => $action?->getModalDescription(),'displayClasses' => 'block','footerActions' => $action?->getVisibleModalFooterActions(),'footerActionsAlignment' => $action?->getModalFooterActionsAlignment(),'heading' => $action?->getModalHeading(),'icon' => $action?->getModalIcon(),'iconColor' => $action?->getModalIconColor(),'id' => $this->getId() . '-infolist-action','slideOver' => $action?->isModalSlideOver(),'stickyFooter' => $action?->isModalFooterSticky(),'stickyHeader' => $action?->isModalHeaderSticky(),'visible' => filled($action),'width' => $action?->getModalWidth(),'wire:key' => $action ? $this->getId() . '.infolist.actions.' . $action->getName() . '.modal' : null,'xOn:closedFormComponentActionModal.window' => 'if (($event.detail.id === \''.e($this->getId()).'\') && $wire.mountedInfolistActions.length) open()','xOn:modalClosed.stop' => ' - const mountedInfolistActionShouldOpenModal = '.e(\Illuminate\Support\Js::from($action && $this->mountedInfolistActionShouldOpenModal())).' - - - if (! mountedInfolistActionShouldOpenModal) { - return - } - - if ($wire.mountedFormComponentActions.length) { - return - } - - $wire.unmountInfolistAction(false) - ','xOn:openedFormComponentActionModal.window' => 'if ($event.detail.id === \''.e($this->getId()).'\') close()']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::modal'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalAlignment()),'close-button' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->hasModalCloseButton()),'close-by-clicking-away' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalClosedByClickingAway()),'description' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalDescription()),'display-classes' => 'block','footer-actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getVisibleModalFooterActions()),'footer-actions-alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalFooterActionsAlignment()),'heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalHeading()),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalIcon()),'icon-color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalIconColor()),'id' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($this->getId() . '-infolist-action'),'slide-over' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalSlideOver()),'sticky-footer' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalFooterSticky()),'sticky-header' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalHeaderSticky()),'visible' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(filled($action)),'width' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalWidth()),'wire:key' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action ? $this->getId() . '.infolist.actions.' . $action->getName() . '.modal' : null),'x-on:closed-form-component-action-modal.window' => 'if (($event.detail.id === \''.e($this->getId()).'\') && $wire.mountedInfolistActions.length) open()','x-on:modal-closed.stop' => ' - const mountedInfolistActionShouldOpenModal = '.e(\Illuminate\Support\Js::from($action && $this->mountedInfolistActionShouldOpenModal())).' - - - if (! mountedInfolistActionShouldOpenModal) { - return - } - - if ($wire.mountedFormComponentActions.length) { - return - } - - $wire.unmountInfolistAction(false) - ','x-on:opened-form-component-action-modal.window' => 'if ($event.detail.id === \''.e($this->getId()).'\') close()']); ?> - - getModalContent()); ?> - - - getInfolist())?->getComponents() ?? [])): ?> - - - mountedInfolistActionHasForm()): ?> - getMountedInfolistActionForm()); ?> - - - - getModalContentFooter()); ?> - - - renderComponent(); ?> - - - - - - - - - -
    - - hasInfolistsModalRendered = true; - ?> - - -hasTableModalRendered)): ?> -
    - getMountedTableAction(); - ?> - - - - 'filament::components.modal.index','data' => ['alignment' => $action?->getModalAlignment(),'closeButton' => $action?->hasModalCloseButton(),'closeByClickingAway' => $action?->isModalClosedByClickingAway(),'description' => $action?->getModalDescription(),'displayClasses' => 'block','footerActions' => $action?->getVisibleModalFooterActions(),'footerActionsAlignment' => $action?->getModalFooterActionsAlignment(),'heading' => $action?->getModalHeading(),'icon' => $action?->getModalIcon(),'iconColor' => $action?->getModalIconColor(),'id' => $this->getId() . '-table-action','slideOver' => $action?->isModalSlideOver(),'stickyFooter' => $action?->isModalFooterSticky(),'stickyHeader' => $action?->isModalHeaderSticky(),'visible' => filled($action),'width' => $action?->getModalWidth(),'wire:key' => $action ? $this->getId() . '.table.actions.' . $action->getName() . '.modal' : null,'xOn:closedFormComponentActionModal.window' => 'if (($event.detail.id === \''.e($this->getId()).'\') && $wire.mountedTableActions.length) open()','xOn:modalClosed.stop' => ' - const mountedTableActionShouldOpenModal = '.e(\Illuminate\Support\Js::from($action && $this->mountedTableActionShouldOpenModal())).' - - - if (! mountedTableActionShouldOpenModal) { - return - } - - if ($wire.mountedFormComponentActions.length) { - return - } - - $wire.unmountTableAction(false) - ','xOn:openedFormComponentActionModal.window' => 'if ($event.detail.id === \''.e($this->getId()).'\') close()']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::modal'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalAlignment()),'close-button' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->hasModalCloseButton()),'close-by-clicking-away' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalClosedByClickingAway()),'description' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalDescription()),'display-classes' => 'block','footer-actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getVisibleModalFooterActions()),'footer-actions-alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalFooterActionsAlignment()),'heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalHeading()),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalIcon()),'icon-color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalIconColor()),'id' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($this->getId() . '-table-action'),'slide-over' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalSlideOver()),'sticky-footer' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalFooterSticky()),'sticky-header' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalHeaderSticky()),'visible' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(filled($action)),'width' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalWidth()),'wire:key' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action ? $this->getId() . '.table.actions.' . $action->getName() . '.modal' : null),'x-on:closed-form-component-action-modal.window' => 'if (($event.detail.id === \''.e($this->getId()).'\') && $wire.mountedTableActions.length) open()','x-on:modal-closed.stop' => ' - const mountedTableActionShouldOpenModal = '.e(\Illuminate\Support\Js::from($action && $this->mountedTableActionShouldOpenModal())).' - - - if (! mountedTableActionShouldOpenModal) { - return - } - - if ($wire.mountedFormComponentActions.length) { - return - } - - $wire.unmountTableAction(false) - ','x-on:opened-form-component-action-modal.window' => 'if ($event.detail.id === \''.e($this->getId()).'\') close()']); ?> - - getModalContent()); ?> - - - getInfolist())?->getComponents() ?? [])): ?> - - - mountedTableActionHasForm()): ?> - getMountedTableActionForm()); ?> - - - - getModalContentFooter()); ?> - - - renderComponent(); ?> - - - - - - - - - -
    - -
    - getMountedTableBulkAction(); - ?> - - - - 'filament::components.modal.index','data' => ['alignment' => $action?->getModalAlignment(),'closeButton' => $action?->hasModalCloseButton(),'closeByClickingAway' => $action?->isModalClosedByClickingAway(),'description' => $action?->getModalDescription(),'displayClasses' => 'block','footerActions' => $action?->getVisibleModalFooterActions(),'footerActionsAlignment' => $action?->getModalFooterActionsAlignment(),'heading' => $action?->getModalHeading(),'icon' => $action?->getModalIcon(),'iconColor' => $action?->getModalIconColor(),'id' => $this->getId() . '-table-bulk-action','slideOver' => $action?->isModalSlideOver(),'stickyFooter' => $action?->isModalFooterSticky(),'stickyHeader' => $action?->isModalHeaderSticky(),'visible' => filled($action),'width' => $action?->getModalWidth(),'wire:key' => $action ? $this->getId() . '.table.bulk-actions.' . $action->getName() . '.modal' : null,'xOn:closedFormComponentActionModal.window' => 'if (($event.detail.id === \''.e($this->getId()).'\') && $wire.mountedTableBulkAction) open()','xOn:modalClosed.stop' => ' - const mountedTableBulkActionShouldOpenModal = '.e(\Illuminate\Support\Js::from($action && $this->mountedTableBulkActionShouldOpenModal())).' - - - if (! mountedTableBulkActionShouldOpenModal) { - return - } - - if ($wire.mountedFormComponentActions.length) { - return - } - - $wire.mountedTableBulkAction = null - ','xOn:openedFormComponentActionModal.window' => 'if ($event.detail.id === \''.e($this->getId()).'\') close()']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::modal'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalAlignment()),'close-button' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->hasModalCloseButton()),'close-by-clicking-away' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalClosedByClickingAway()),'description' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalDescription()),'display-classes' => 'block','footer-actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getVisibleModalFooterActions()),'footer-actions-alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalFooterActionsAlignment()),'heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalHeading()),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalIcon()),'icon-color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalIconColor()),'id' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($this->getId() . '-table-bulk-action'),'slide-over' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalSlideOver()),'sticky-footer' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalFooterSticky()),'sticky-header' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalHeaderSticky()),'visible' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(filled($action)),'width' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalWidth()),'wire:key' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action ? $this->getId() . '.table.bulk-actions.' . $action->getName() . '.modal' : null),'x-on:closed-form-component-action-modal.window' => 'if (($event.detail.id === \''.e($this->getId()).'\') && $wire.mountedTableBulkAction) open()','x-on:modal-closed.stop' => ' - const mountedTableBulkActionShouldOpenModal = '.e(\Illuminate\Support\Js::from($action && $this->mountedTableBulkActionShouldOpenModal())).' - - - if (! mountedTableBulkActionShouldOpenModal) { - return - } - - if ($wire.mountedFormComponentActions.length) { - return - } - - $wire.mountedTableBulkAction = null - ','x-on:opened-form-component-action-modal.window' => 'if ($event.detail.id === \''.e($this->getId()).'\') close()']); ?> - - getModalContent()); ?> - - - getInfolist())?->getComponents() ?? [])): ?> - - - mountedTableBulkActionHasForm()): ?> - getMountedTableBulkActionForm()); ?> - - - - getModalContentFooter()); ?> - - - renderComponent(); ?> - - - - - - - - - -
    - - hasTableModalRendered = true; - ?> - - -hasFormsModalRendered): ?> - getMountedFormComponentAction(); - ?> - -
    - - - 'filament::components.modal.index','data' => ['alignment' => $action?->getModalAlignment(),'closeButton' => $action?->hasModalCloseButton(),'closeByClickingAway' => $action?->isModalClosedByClickingAway(),'description' => $action?->getModalDescription(),'displayClasses' => 'block','footerActions' => $action?->getVisibleModalFooterActions(),'footerActionsAlignment' => $action?->getModalFooterActionsAlignment(),'heading' => $action?->getModalHeading(),'icon' => $action?->getModalIcon(),'iconColor' => $action?->getModalIconColor(),'id' => $this->getId() . '-form-component-action','slideOver' => $action?->isModalSlideOver(),'stickyFooter' => $action?->isModalFooterSticky(),'stickyHeader' => $action?->isModalHeaderSticky(),'visible' => filled($action),'width' => $action?->getModalWidth(),'wire:key' => $action ? $this->getId() . '.' . $action->getComponent()->getStatePath() . '.actions.' . $action->getName() . '.modal' : null,'xOn:modalClosed.stop' => ' - const mountedFormComponentActionShouldOpenModal = '.e(\Illuminate\Support\Js::from($action && $this->mountedFormComponentActionShouldOpenModal())).' - - - if (mountedFormComponentActionShouldOpenModal) { - $wire.unmountFormComponentAction(false) - } - ']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::modal'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalAlignment()),'close-button' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->hasModalCloseButton()),'close-by-clicking-away' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalClosedByClickingAway()),'description' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalDescription()),'display-classes' => 'block','footer-actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getVisibleModalFooterActions()),'footer-actions-alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalFooterActionsAlignment()),'heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalHeading()),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalIcon()),'icon-color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalIconColor()),'id' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($this->getId() . '-form-component-action'),'slide-over' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalSlideOver()),'sticky-footer' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalFooterSticky()),'sticky-header' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->isModalHeaderSticky()),'visible' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(filled($action)),'width' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action?->getModalWidth()),'wire:key' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($action ? $this->getId() . '.' . $action->getComponent()->getStatePath() . '.actions.' . $action->getName() . '.modal' : null),'x-on:modal-closed.stop' => ' - const mountedFormComponentActionShouldOpenModal = '.e(\Illuminate\Support\Js::from($action && $this->mountedFormComponentActionShouldOpenModal())).' - - - if (mountedFormComponentActionShouldOpenModal) { - $wire.unmountFormComponentAction(false) - } - ']); ?> - - getModalContent()); ?> - - - getInfolist())?->getComponents() ?? [])): ?> - - - mountedFormComponentActionHasForm()): ?> - getMountedFormComponentActionForm()); ?> - - - - getModalContentFooter()); ?> - - - renderComponent(); ?> - - - - - - - - - -
    - - hasFormsModalRendered = true; - ?> - - \ No newline at end of file diff --git a/storage/framework/views/d95a06d9aa52b4fdd5262f7961cbb3d9.php b/storage/framework/views/d95a06d9aa52b4fdd5262f7961cbb3d9.php deleted file mode 100644 index 3854840..0000000 --- a/storage/framework/views/d95a06d9aa52b4fdd5262f7961cbb3d9.php +++ /dev/null @@ -1,130 +0,0 @@ - -onlyProps([ - 'allSelectableRecordsCount', - 'deselectAllRecordsAction' => 'deselectAllRecords', - 'end' => null, - 'selectAllRecordsAction' => 'selectAllRecords', - 'selectedRecordsCount', - 'selectedRecordsPropertyName' => 'selectedRecords', -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'allSelectableRecordsCount', - 'deselectAllRecordsAction' => 'deselectAllRecords', - 'end' => null, - 'selectAllRecordsAction' => 'selectAllRecords', - 'selectedRecordsCount', - 'selectedRecordsPropertyName' => 'selectedRecords', -]); ?> - 'deselectAllRecords', - 'end' => null, - 'selectAllRecordsAction' => 'selectAllRecords', - 'selectedRecordsCount', - 'selectedRecordsPropertyName' => 'selectedRecords', -]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - -
    merge([ - 'wire:key' => "{$this->getId()}.table.selection.indicator", - ], escape: false) - ->class([ - 'fi-ta-selection-indicator flex flex-col justify-between gap-y-1 bg-gray-50 px-3 py-2 dark:bg-white/5 sm:flex-row sm:items-center sm:px-6 sm:py-1.5', - ])); ?> - -> -
    - - - 'filament::components.loading-indicator','data' => ['xShow' => 'isLoading','class' => 'h-5 w-5 text-gray-400 dark:text-gray-500']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::loading-indicator'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['x-show' => 'isLoading','class' => 'h-5 w-5 text-gray-400 dark:text-gray-500']); ?> -renderComponent(); ?> - - - - - - - - - - - -
    - -
    - - - 'filament::components.link','data' => ['color' => 'primary','id' => $this->getId() . '.table.selection.indicator.record-count.' . $allSelectableRecordsCount,'tag' => 'button','xOn:click' => $selectAllRecordsAction,'xShow' => $allSelectableRecordsCount . ' !== ' . $selectedRecordsPropertyName . '.length']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::link'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['color' => 'primary','id' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($this->getId() . '.table.selection.indicator.record-count.' . $allSelectableRecordsCount),'tag' => 'button','x-on:click' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($selectAllRecordsAction),'x-show' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($allSelectableRecordsCount . ' !== ' . $selectedRecordsPropertyName . '.length')]); ?> - - - renderComponent(); ?> - - - - - - - - - - - - - 'filament::components.link','data' => ['color' => 'danger','tag' => 'button','xOn:click' => $deselectAllRecordsAction]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::link'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['color' => 'danger','tag' => 'button','x-on:click' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($deselectAllRecordsAction)]); ?> - - - renderComponent(); ?> - - - - - - - - - - - - -
    -
    - \ No newline at end of file diff --git a/storage/framework/views/da800d44790457ef4aa9314034126ecd.php b/storage/framework/views/da800d44790457ef4aa9314034126ecd.php deleted file mode 100644 index 9adda00..0000000 --- a/storage/framework/views/da800d44790457ef4aa9314034126ecd.php +++ /dev/null @@ -1,37 +0,0 @@ -getAttributes())->mapWithKeys(function ($value, $key) { return [Illuminate\Support\Str::camel(str_replace([':', '.'], ' ', $key)) => $value]; })->all(), EXTR_SKIP); ?> - -onlyProps(['badge','badgeColor','form','tag','xOn:click','wire:click','wire:target','href','target','type','color','keyBindings','tooltip','disabled','icon','iconSize','size','labelSrOnly','class','outlined','labeledFrom','iconPosition','iconSize','labeledFrom','iconPosition']) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps(['badge','badgeColor','form','tag','xOn:click','wire:click','wire:target','href','target','type','color','keyBindings','tooltip','disabled','icon','iconSize','size','labelSrOnly','class','outlined','labeledFrom','iconPosition','iconSize','labeledFrom','iconPosition']); ?> - $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - - - 'filament::components.button.index','data' => ['badge' => $badge,'badgeColor' => $badgeColor,'form' => $form,'tag' => $tag,'xOn:click' => $xOnClick,'wire:click' => $wireClick,'wire:target' => $wireTarget,'href' => $href,'target' => $target,'type' => $type,'color' => $color,'keyBindings' => $keyBindings,'tooltip' => $tooltip,'disabled' => $disabled,'icon' => $icon,'iconSize' => $iconSize,'size' => $size,'labelSrOnly' => $labelSrOnly,'class' => $class,'outlined' => $outlined,'labeledFrom' => $labeledFrom,'iconPosition' => $iconPosition]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::button'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['badge' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($badge),'badge-color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($badgeColor),'form' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($form),'tag' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($tag),'x-on:click' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($xOnClick),'wire:click' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($wireClick),'wire:target' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($wireTarget),'href' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($href),'target' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($target),'type' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($type),'color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($color),'key-bindings' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($keyBindings),'tooltip' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($tooltip),'disabled' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($disabled),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($icon),'icon-size' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconSize),'size' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($size),'label-sr-only' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($labelSrOnly),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($class),'outlined' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($outlined),'labeledFrom' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($labeledFrom),'iconPosition' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconPosition),'iconSize' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconSize),'labeled-from' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($labeledFrom),'icon-position' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconPosition)]); ?> - - - - renderComponent(); ?> - - - - - - - - - \ No newline at end of file diff --git a/storage/framework/views/e46b74a44c4423643da90ce5f30255d8.php b/storage/framework/views/e46b74a44c4423643da90ce5f30255d8.php deleted file mode 100644 index ce80b8a..0000000 --- a/storage/framework/views/e46b74a44c4423643da90ce5f30255d8.php +++ /dev/null @@ -1,237 +0,0 @@ - -onlyProps([ - 'field' => null, - 'hasInlineLabel' => null, - 'hasNestedRecursiveValidationRules' => false, - 'helperText' => null, - 'hint' => null, - 'hintActions' => null, - 'hintColor' => null, - 'hintIcon' => null, - 'id' => null, - 'isDisabled' => null, - 'isMarkedAsRequired' => null, - 'label' => null, - 'labelPrefix' => null, - 'labelSrOnly' => null, - 'labelSuffix' => null, - 'required' => null, - 'statePath' => null, -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'field' => null, - 'hasInlineLabel' => null, - 'hasNestedRecursiveValidationRules' => false, - 'helperText' => null, - 'hint' => null, - 'hintActions' => null, - 'hintColor' => null, - 'hintIcon' => null, - 'id' => null, - 'isDisabled' => null, - 'isMarkedAsRequired' => null, - 'label' => null, - 'labelPrefix' => null, - 'labelSrOnly' => null, - 'labelSuffix' => null, - 'required' => null, - 'statePath' => null, -]); ?> - null, - 'hasInlineLabel' => null, - 'hasNestedRecursiveValidationRules' => false, - 'helperText' => null, - 'hint' => null, - 'hintActions' => null, - 'hintColor' => null, - 'hintIcon' => null, - 'id' => null, - 'isDisabled' => null, - 'isMarkedAsRequired' => null, - 'label' => null, - 'labelPrefix' => null, - 'labelSrOnly' => null, - 'labelSuffix' => null, - 'required' => null, - 'statePath' => null, -]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - -hasInlineLabel(); - $hasNestedRecursiveValidationRules ??= $field instanceof \Filament\Forms\Components\Contracts\HasNestedRecursiveValidationRules; - $helperText ??= $field->getHelperText(); - $hint ??= $field->getHint(); - $hintActions ??= $field->getHintActions(); - $hintColor ??= $field->getHintColor(); - $hintIcon ??= $field->getHintIcon(); - $id ??= $field->getId(); - $isDisabled ??= $field->isDisabled(); - $isMarkedAsRequired ??= $field->isMarkedAsRequired(); - $label ??= $field->getLabel(); - $labelSrOnly ??= $field->isLabelHidden(); - $required ??= $field->isRequired(); - $statePath ??= $field->getStatePath(); - } - - $hintActions = array_filter( - $hintActions ?? [], - fn (\Filament\Forms\Components\Actions\Action $hintAction): bool => $hintAction->isVisible(), - ); - - $hasError = $errors->has($statePath) || ($hasNestedRecursiveValidationRules && $errors->has("{$statePath}.*")); -?> - -
    class(['fi-fo-field-wrp'])); ?>> - - - - -
    - -
    - - - - 'filament-forms::components.field-wrapper.label','data' => ['for' => $id,'error' => $errors->has($statePath),'isDisabled' => $isDisabled,'isMarkedAsRequired' => $isMarkedAsRequired,'prefix' => $labelPrefix,'suffix' => $labelSuffix,'required' => $required]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-forms::field-wrapper.label'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['for' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($id),'error' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->has($statePath)),'is-disabled' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isDisabled),'is-marked-as-required' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isMarkedAsRequired),'prefix' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($labelPrefix),'suffix' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($labelSuffix),'required' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($required)]); ?> - - - renderComponent(); ?> - - - - - - - - - - - - - - - - - - - - - 'filament-forms::components.field-wrapper.hint','data' => ['actions' => $hintActions,'color' => $hintColor,'icon' => $hintIcon]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-forms::field-wrapper.hint'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($hintActions),'color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($hintColor),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($hintIcon)]); ?> - - - renderComponent(); ?> - - - - - - - - - - -
    - - - -
    - - - - - - - 'filament-forms::components.field-wrapper.error-message','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-forms::field-wrapper.error-message'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> - first($statePath) ?? ($hasNestedRecursiveValidationRules ? $errors->first("{$statePath}.*") : null)); ?> - - renderComponent(); ?> - - - - - - - - - - - - - - - 'filament-forms::components.field-wrapper.helper-text','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament-forms::field-wrapper.helper-text'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes([]); ?> - - - renderComponent(); ?> - - - - - - - - - - -
    - -
    -
    - \ No newline at end of file diff --git a/storage/framework/views/e7f7cbbce9d0b9cf5ea9b7aa2ca5c8b1.php b/storage/framework/views/e7f7cbbce9d0b9cf5ea9b7aa2ca5c8b1.php deleted file mode 100644 index b4dd154..0000000 --- a/storage/framework/views/e7f7cbbce9d0b9cf5ea9b7aa2ca5c8b1.php +++ /dev/null @@ -1,84 +0,0 @@ - -onlyProps([ - 'isGrid' => true, - 'default' => 1, - 'direction' => 'row', - 'sm' => null, - 'md' => null, - 'lg' => null, - 'xl' => null, - 'twoXl' => null, -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'isGrid' => true, - 'default' => 1, - 'direction' => 'row', - 'sm' => null, - 'md' => null, - 'lg' => null, - 'xl' => null, - 'twoXl' => null, -]); ?> - true, - 'default' => 1, - 'direction' => 'row', - 'sm' => null, - 'md' => null, - 'lg' => null, - 'xl' => null, - 'twoXl' => null, -]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - -
    class([ - 'grid' => $isGrid && $direction === 'row', - 'grid-cols-[--cols-default]' => $default && ($direction === 'row'), - 'columns-[--cols-default]' => $default && ($direction === 'column'), - 'sm:grid-cols-[--cols-sm]' => $sm && ($direction === 'row'), - 'sm:columns-[--cols-sm]' => $sm && ($direction === 'column'), - 'md:grid-cols-[--cols-md]' => $md && ($direction === 'row'), - 'md:columns-[--cols-md]' => $md && ($direction === 'column'), - 'lg:grid-cols-[--cols-lg]' => $lg && ($direction === 'row'), - 'lg:columns-[--cols-lg]' => $lg && ($direction === 'column'), - 'xl:grid-cols-[--cols-xl]' => $xl && ($direction === 'row'), - 'xl:columns-[--cols-xl]' => $xl && ($direction === 'column'), - '2xl:grid-cols-[--cols-2xl]' => $twoXl && ($direction === 'row'), - '2xl:columns-[--cols-2xl]' => $twoXl && ($direction === 'column'), - ]) - ->style( - match ($direction) { - 'column' => [ - "--cols-default: {$default}" => $default, - "--cols-sm: {$sm}" => $sm, - "--cols-md: {$md}" => $md, - "--cols-lg: {$lg}" => $lg, - "--cols-xl: {$xl}" => $xl, - "--cols-2xl: {$twoXl}" => $twoXl, - ], - 'row' => [ - "--cols-default: repeat({$default}, minmax(0, 1fr))" => $default, - "--cols-sm: repeat({$sm}, minmax(0, 1fr))" => $sm, - "--cols-md: repeat({$md}, minmax(0, 1fr))" => $md, - "--cols-lg: repeat({$lg}, minmax(0, 1fr))" => $lg, - "--cols-xl: repeat({$xl}, minmax(0, 1fr))" => $xl, - "--cols-2xl: repeat({$twoXl}, minmax(0, 1fr))" => $twoXl, - ], - }, - )); ?> - -> - - -
    - \ No newline at end of file diff --git a/storage/framework/views/ef554e346eeb9b5e99b25c7f359262e6.php b/storage/framework/views/ef554e346eeb9b5e99b25c7f359262e6.php deleted file mode 100644 index 43583c7..0000000 --- a/storage/framework/views/ef554e346eeb9b5e99b25c7f359262e6.php +++ /dev/null @@ -1,185 +0,0 @@ - -onlyProps([ - 'active' => false, - 'activeIcon' => null, - 'badge' => null, - 'badgeColor' => null, - 'grouped' => false, - 'last' => false, - 'first' => false, - 'icon' => null, - 'shouldOpenUrlInNewTab' => false, - 'url', -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'active' => false, - 'activeIcon' => null, - 'badge' => null, - 'badgeColor' => null, - 'grouped' => false, - 'last' => false, - 'first' => false, - 'icon' => null, - 'shouldOpenUrlInNewTab' => false, - 'url', -]); ?> - false, - 'activeIcon' => null, - 'badge' => null, - 'badgeColor' => null, - 'grouped' => false, - 'last' => false, - 'first' => false, - 'icon' => null, - 'shouldOpenUrlInNewTab' => false, - 'url', -]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - -
  • - - target="_blank" - - - - x-on:click="window.matchMedia(`(max-width: 1024px)`).matches && $store.sidebar.close()" - isSidebarCollapsibleOnDesktop()): ?> - x-data="{ tooltip: false }" - x-effect=" - tooltip = $store.sidebar.isOpen - ? false - : { - content: toHtml())->toHtml() ?>, - placement: document.dir === 'rtl' ? 'left' : 'right', - theme: $store.theme, - } - " - x-tooltip.html="tooltip" - - class=" ! $grouped, - 'font-medium' => $grouped, - 'bg-gray-100 text-primary-600 dark:bg-white/5 dark:text-primary-400' => $active, - ]); ?>" - > - - - - 'filament::components.icon','data' => ['icon' => ($active && $activeIcon) ? $activeIcon : $icon,'class' => \Illuminate\Support\Arr::toCssClasses([ - 'fi-sidebar-item-icon h-6 w-6', - 'text-gray-400 dark:text-gray-500' => ! $active, - 'text-primary-600 dark:text-primary-400' => $active, - ])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::icon'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(($active && $activeIcon) ? $activeIcon : $icon),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([ - 'fi-sidebar-item-icon h-6 w-6', - 'text-gray-400 dark:text-gray-500' => ! $active, - 'text-primary-600 dark:text-primary-400' => $active, - ]))]); ?> -renderComponent(); ?> - - - - - - - - - - -
    - -
    - - - -
    - - -
    -
    - - - isSidebarCollapsibleOnDesktop()): ?> - x-show="$store.sidebar.isOpen" - x-transition:enter="lg:transition lg:delay-100" - x-transition:enter-start="opacity-0" - x-transition:enter-end="opacity-100" - - class="flex-1 truncate" - > - - - - - - isSidebarCollapsibleOnDesktop()): ?> - x-show="$store.sidebar.isOpen" - x-transition:enter="lg:transition lg:delay-100" - x-transition:enter-start="opacity-0" - x-transition:enter-end="opacity-100" - - > - - - 'filament::components.badge','data' => ['color' => $badgeColor]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::badge'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($badgeColor)]); ?> - - - renderComponent(); ?> - - - - - - - - - - - -
    -
  • - \ No newline at end of file diff --git a/storage/framework/views/f7c2fc3d8b847a2844806ab278dc2061.php b/storage/framework/views/f7c2fc3d8b847a2844806ab278dc2061.php deleted file mode 100644 index 1547a87..0000000 --- a/storage/framework/views/f7c2fc3d8b847a2844806ab278dc2061.php +++ /dev/null @@ -1,272 +0,0 @@ - -onlyProps([ - 'navigation', -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'navigation', -]); ?> - $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - - - - - \ No newline at end of file diff --git a/storage/framework/views/f8164d9ffaf006f2ef18a15377603934.php b/storage/framework/views/f8164d9ffaf006f2ef18a15377603934.php deleted file mode 100644 index c06df9c..0000000 --- a/storage/framework/views/f8164d9ffaf006f2ef18a15377603934.php +++ /dev/null @@ -1,37 +0,0 @@ -getAttributes())->mapWithKeys(function ($value, $key) { return [Illuminate\Support\Str::camel(str_replace([':', '.'], ' ', $key)) => $value]; })->all(), EXTR_SKIP); ?> - -onlyProps(['badge','badgeColor','color','tooltip','icon','size','labelSrOnly','class','outlined','labeledFrom','iconPosition','iconSize','labeledFrom','iconPosition','iconSize']) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps(['badge','badgeColor','color','tooltip','icon','size','labelSrOnly','class','outlined','labeledFrom','iconPosition','iconSize','labeledFrom','iconPosition','iconSize']); ?> - $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - - - 'filament::components.button.index','data' => ['badge' => $badge,'badgeColor' => $badgeColor,'color' => $color,'tooltip' => $tooltip,'icon' => $icon,'size' => $size,'labelSrOnly' => $labelSrOnly,'class' => $class,'outlined' => $outlined,'labeledFrom' => $labeledFrom,'iconPosition' => $iconPosition,'iconSize' => $iconSize]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> -withName('filament::button'); ?> -shouldRender()): ?> -startComponent($component->resolveView(), $component->data()); ?> -getConstructor()): ?> -except(collect($constructor->getParameters())->map->getName()->all()); ?> - -withAttributes(['badge' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($badge),'badge-color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($badgeColor),'color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($color),'tooltip' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($tooltip),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($icon),'size' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($size),'label-sr-only' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($labelSrOnly),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($class),'outlined' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($outlined),'labeledFrom' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($labeledFrom),'iconPosition' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconPosition),'iconSize' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconSize),'labeled-from' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($labeledFrom),'icon-position' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconPosition),'icon-size' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconSize)]); ?> - - - - renderComponent(); ?> - - - - - - - - - \ No newline at end of file diff --git a/storage/framework/views/faf36b03a2cd17600a2054df073247d1.php b/storage/framework/views/faf36b03a2cd17600a2054df073247d1.php deleted file mode 100644 index 1e69740..0000000 --- a/storage/framework/views/faf36b03a2cd17600a2054df073247d1.php +++ /dev/null @@ -1,98 +0,0 @@ - -onlyProps([ - 'breadcrumbs' => [], -]) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> -exceptProps([ - 'breadcrumbs' => [], -]); ?> - [], -]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { - $$__key = $$__key ?? $__value; -} ?> - - $__value) { - if (array_key_exists($__key, $__defined_vars)) unset($$__key); -} ?> - - - - - - \ No newline at end of file