Update dependencies and enhance components

- Added "halaxa/json-machine" dependency to composer.json.
- Updated content hash in composer.lock to reflect changes.
- Improved SpatieMediaLibraryFileEntry component documentation.
- Expanded FillJsonData seeder to include new migrators for card types, orders, and pin orders.
- Updated Tailwind CSS version in app.css.
- Refactored various JavaScript components for better performance and readability.
- Added a test route in web.php for debugging purpose
This commit is contained in:
Mekan1206
2025-12-21 02:41:27 +05:00
parent 6df3a27383
commit 4fc242bc7d
32 changed files with 1317 additions and 726 deletions

View File

@@ -124,9 +124,9 @@ class SpatieMediaLibraryFileEntry extends Entry
return $media->getUrl($conversion ?? '');
}
/**
/**
* Get the media for the entry
*
*
* @return Collection<array-key, Media>
*/
public function getMedia(): Collection
@@ -136,7 +136,7 @@ class SpatieMediaLibraryFileEntry extends Entry
if (! $record) {
return collect([]);
}
if ($this->hasStateRelationship($record)) {
$record = $this->getStateRelationshipResults($record);
}