add spotlight
This commit is contained in:
@@ -4,7 +4,6 @@ namespace App\Modules\IncomingLetter;
|
|||||||
|
|
||||||
use App\Modules\Makeable;
|
use App\Modules\Makeable;
|
||||||
use App\Modules\ModuleContract;
|
use App\Modules\ModuleContract;
|
||||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
||||||
|
|
||||||
class IncomingLetterModule implements ModuleContract
|
class IncomingLetterModule implements ModuleContract
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ use Illuminate\Routing\Middleware\SubstituteBindings;
|
|||||||
use Illuminate\Session\Middleware\AuthenticateSession;
|
use Illuminate\Session\Middleware\AuthenticateSession;
|
||||||
use Illuminate\Session\Middleware\StartSession;
|
use Illuminate\Session\Middleware\StartSession;
|
||||||
use Illuminate\View\Middleware\ShareErrorsFromSession;
|
use Illuminate\View\Middleware\ShareErrorsFromSession;
|
||||||
|
use pxlrbt\FilamentSpotlight\SpotlightPlugin;
|
||||||
|
|
||||||
class AdminPanelProvider extends PanelProvider
|
class AdminPanelProvider extends PanelProvider
|
||||||
{
|
{
|
||||||
@@ -51,6 +52,9 @@ class AdminPanelProvider extends PanelProvider
|
|||||||
->spa()
|
->spa()
|
||||||
->authMiddleware([
|
->authMiddleware([
|
||||||
Authenticate::class,
|
Authenticate::class,
|
||||||
|
])
|
||||||
|
->plugins([
|
||||||
|
SpotlightPlugin::make(),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return $panel;
|
return $panel;
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
"laravel/framework": "^11.9",
|
"laravel/framework": "^11.9",
|
||||||
"laravel/tinker": "^2.9",
|
"laravel/tinker": "^2.9",
|
||||||
"phpoffice/phpspreadsheet": "^3.3",
|
"phpoffice/phpspreadsheet": "^3.3",
|
||||||
"phpoffice/phpword": "^1.3"
|
"phpoffice/phpword": "^1.3",
|
||||||
|
"pxlrbt/filament-spotlight": "^1.3"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"barryvdh/laravel-ide-helper": "^3.2",
|
"barryvdh/laravel-ide-helper": "^3.2",
|
||||||
|
|||||||
142
composer.lock
generated
142
composer.lock
generated
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "2c5e3e156b6775d0bb4507a50ddce50a",
|
"content-hash": "55801972ed58a124b181945f6488dd4e",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "anourvalar/eloquent-serialize",
|
"name": "anourvalar/eloquent-serialize",
|
||||||
@@ -4857,6 +4857,72 @@
|
|||||||
},
|
},
|
||||||
"time": "2024-06-10T01:18:23+00:00"
|
"time": "2024-06-10T01:18:23+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "pxlrbt/filament-spotlight",
|
||||||
|
"version": "v1.3.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/pxlrbt/filament-spotlight.git",
|
||||||
|
"reference": "85e6f0073d521f2eeb1c6af2554b354f1085e23b"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/pxlrbt/filament-spotlight/zipball/85e6f0073d521f2eeb1c6af2554b354f1085e23b",
|
||||||
|
"reference": "85e6f0073d521f2eeb1c6af2554b354f1085e23b",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"filament/filament": "^3.0.0-stable",
|
||||||
|
"php": "^8.0",
|
||||||
|
"wire-elements/spotlight": "^2.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"laravel/pint": "^1.10"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"laravel": {
|
||||||
|
"providers": [
|
||||||
|
"pxlrbt\\FilamentSpotlight\\SpotlightServiceProvider"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"pxlrbt\\FilamentSpotlight\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Dennis Koch",
|
||||||
|
"email": "info@pixelarbeit.de"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Spotlight for Filament Admin",
|
||||||
|
"keywords": [
|
||||||
|
"alfred",
|
||||||
|
"filament",
|
||||||
|
"laravel",
|
||||||
|
"laravel-filament",
|
||||||
|
"spotlight",
|
||||||
|
"wire-elements"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/pxlrbt/filament-spotlight/issues",
|
||||||
|
"source": "https://github.com/pxlrbt/filament-spotlight/tree/v1.3.0"
|
||||||
|
},
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/pxlrbt",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"time": "2024-11-18T14:17:47+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "ralouphie/getallheaders",
|
"name": "ralouphie/getallheaders",
|
||||||
"version": "3.0.3",
|
"version": "3.0.3",
|
||||||
@@ -7901,6 +7967,80 @@
|
|||||||
"source": "https://github.com/webmozarts/assert/tree/1.11.0"
|
"source": "https://github.com/webmozarts/assert/tree/1.11.0"
|
||||||
},
|
},
|
||||||
"time": "2022-06-03T18:03:27+00:00"
|
"time": "2022-06-03T18:03:27+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "wire-elements/spotlight",
|
||||||
|
"version": "2.0.1",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/wire-elements/spotlight.git",
|
||||||
|
"reference": "1d64ebdc9ea56761f6be0e5554765ce498fb16a8"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/wire-elements/spotlight/zipball/1d64ebdc9ea56761f6be0e5554765ce498fb16a8",
|
||||||
|
"reference": "1d64ebdc9ea56761f6be0e5554765ce498fb16a8",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"illuminate/contracts": "^8.0|^9.0|^10.0|^11.0",
|
||||||
|
"livewire/livewire": "^3.0",
|
||||||
|
"php": "^8.1",
|
||||||
|
"spatie/laravel-package-tools": "^1.4.3"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"brianium/paratest": "^6.2|^7.4",
|
||||||
|
"nunomaduro/collision": "^5.3|^8.0",
|
||||||
|
"orchestra/testbench": "^6.15|^7.0|^8.0|^9.0",
|
||||||
|
"phpunit/phpunit": "^9.3|^10.5",
|
||||||
|
"vimeo/psalm": "^4.4|^5.22"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"laravel": {
|
||||||
|
"providers": [
|
||||||
|
"LivewireUI\\Spotlight\\SpotlightServiceProvider"
|
||||||
|
],
|
||||||
|
"aliases": {
|
||||||
|
"Spotlight": "LivewireUI\\Spotlight\\SpotlightFacade"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"LivewireUI\\Spotlight\\": "src",
|
||||||
|
"LivewireUI\\Spotlight\\Database\\Factories\\": "database/factories"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Philo Hermans",
|
||||||
|
"email": "support@wire-elements.dev",
|
||||||
|
"role": "Developer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Livewire component that provides Spotlight/Alfred-like functionality to your Laravel application.",
|
||||||
|
"homepage": "https://github.com/wire-elements/spotlight",
|
||||||
|
"keywords": [
|
||||||
|
"laravel",
|
||||||
|
"livewire-ui",
|
||||||
|
"spotlight"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/wire-elements/spotlight/issues",
|
||||||
|
"source": "https://github.com/wire-elements/spotlight/tree/2.0.1"
|
||||||
|
},
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/livewire-ui",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"time": "2024-03-02T12:10:01+00:00"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packages-dev": [
|
"packages-dev": [
|
||||||
|
|||||||
5
lang/vendor/livewire-ui-spotlight/en/spotlight.php
vendored
Normal file
5
lang/vendor/livewire-ui-spotlight/en/spotlight.php
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'placeholder' => 'What do you want to do?',
|
||||||
|
];
|
||||||
1
public/css/pxlrbt/filament-spotlight/spotlight-css.css
Normal file
1
public/css/pxlrbt/filament-spotlight/spotlight-css.css
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.right-5{right:1.25rem}.ml-1{margin-left:.25rem}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.border-gray-800{--tw-border-opacity:1;border-color:rgb(31 41 55/var(--tw-border-opacity))}.bg-gray-700{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity))}.pt-16{padding-top:4rem}.text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.placeholder-gray-500::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(107 114 128/var(--tw-placeholder-opacity))}.placeholder-gray-500::placeholder{--tw-placeholder-opacity:1;color:rgb(107 114 128/var(--tw-placeholder-opacity))}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.duration-150,.transition-opacity{transition-duration:.15s}[x-cloak=""]{display:none!important}.hover\:bg-gray-800:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.focus\:border-0:focus{border-width:0}.focus\:border-transparent:focus{border-color:transparent}.focus\:shadow-none:focus{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}@media (min-width:640px){.sm\:pt-24{padding-top:6rem}}
|
||||||
1
public/js/pxlrbt/filament-spotlight/spotlight-js.js
Normal file
1
public/js/pxlrbt/filament-spotlight/spotlight-js.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user