generated from filamentphp/plugin-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from CodeWithDennis/3-support-table-action
Add SimpleMap Table Action
- Loading branch information
Showing
1 changed file
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?php | ||
|
||
namespace CodeWithDennis\SimpleMap\Components\Tables; | ||
|
||
use CodeWithDennis\SimpleMap\Components\Concerns\HasAddress; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasAvoid; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasCenter; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasDestination; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasFov; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasHeading; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasKey; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasLanguage; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasLocation; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasMapMode; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasMapType; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasModalContent; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasMode; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasOrigin; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasPitch; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasQuery; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasRegion; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasUnits; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasWaypoints; | ||
use CodeWithDennis\SimpleMap\Components\Concerns\HasZoom; | ||
use Filament\Tables\Actions\Action; | ||
|
||
class SimpleMap extends Action | ||
{ | ||
use HasAddress; | ||
use HasAvoid; | ||
use HasAvoid; | ||
use HasCenter; | ||
use HasDestination; | ||
use HasFov; | ||
use HasHeading; | ||
use HasKey; | ||
use HasLanguage; | ||
use HasLocation; | ||
use HasMapMode; | ||
use HasMapType; | ||
use HasModalContent; | ||
use HasMode; | ||
use HasOrigin; | ||
use HasOrigin; | ||
use HasPitch; | ||
use HasQuery; | ||
use HasRegion; | ||
use HasRegion; | ||
use HasUnits; | ||
use HasUnits; | ||
use HasWaypoints; | ||
use HasZoom; | ||
|
||
protected function setUp(): void | ||
{ | ||
parent::setUp(); | ||
|
||
$this->slideOver() | ||
->modalHeading(false) | ||
->modalCancelAction(false) | ||
->modalSubmitAction(false) | ||
->modalFooterActions(null) | ||
->slideOver() | ||
->modal(); | ||
} | ||
} |