upgraded to livewire v3
This commit is contained in:
parent
0ea77d94c5
commit
c30df2a04e
|
|
@ -70,7 +70,7 @@ class Favorite extends Component
|
||||||
|
|
||||||
setting(['favorites.menu.' . user()->id => json_encode($favorites)])->save();
|
setting(['favorites.menu.' . user()->id => json_encode($favorites)])->save();
|
||||||
|
|
||||||
$this->emit('addedFavorite');
|
$this->dispatch('addedFavorite');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function removeFavorite()
|
public function removeFavorite()
|
||||||
|
|
@ -94,6 +94,6 @@ class Favorite extends Component
|
||||||
|
|
||||||
setting(['favorites.menu.' . user()->id => json_encode($favorites)])->save();
|
setting(['favorites.menu.' . user()->id => json_encode($favorites)])->save();
|
||||||
|
|
||||||
$this->emit('removedFavorite');
|
$this->dispatch('removedFavorite');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ class Favorites extends Component
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$favorite['id'] = $this->getId($favorite);
|
$favorite['id'] = $this->getFavoriteId($favorite);
|
||||||
|
|
||||||
if ($this->isActive($favorite['url'])) {
|
if ($this->isActive($favorite['url'])) {
|
||||||
$favorite['active'] = true;
|
$favorite['active'] = true;
|
||||||
|
|
@ -87,7 +87,7 @@ class Favorites extends Component
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId($favorite)
|
public function getFavoriteId($favorite)
|
||||||
{
|
{
|
||||||
$id = Str::of($favorite['url'])
|
$id = Str::of($favorite['url'])
|
||||||
->replace(url('/'), '-')
|
->replace(url('/'), '-')
|
||||||
|
|
|
||||||
|
|
@ -13,9 +13,9 @@ class Neww extends Component
|
||||||
|
|
||||||
public $keyword = '';
|
public $keyword = '';
|
||||||
|
|
||||||
public $neww = [];
|
protected $listeners = [
|
||||||
|
'resetKeyword',
|
||||||
protected $listeners = ['resetKeyword'];
|
];
|
||||||
|
|
||||||
public function render(): View
|
public function render(): View
|
||||||
{
|
{
|
||||||
|
|
@ -28,8 +28,6 @@ class Neww extends Component
|
||||||
|
|
||||||
foreach($menu->getItems() as $item) {
|
foreach($menu->getItems() as $item) {
|
||||||
if ($this->availableInSearch($item)) {
|
if ($this->availableInSearch($item)) {
|
||||||
$this->neww[] = $item;
|
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,11 +13,11 @@ class Settings extends Component
|
||||||
|
|
||||||
public $keyword = '';
|
public $keyword = '';
|
||||||
|
|
||||||
public $settings = [];
|
|
||||||
|
|
||||||
public $active_menu = 0;
|
public $active_menu = 0;
|
||||||
|
|
||||||
protected $listeners = ['resetKeyword'];
|
protected $listeners = [
|
||||||
|
'resetKeyword',
|
||||||
|
];
|
||||||
|
|
||||||
public function render(): View
|
public function render(): View
|
||||||
{
|
{
|
||||||
|
|
@ -36,8 +36,6 @@ class Settings extends Component
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->availableInSearch($item)) {
|
if ($this->availableInSearch($item)) {
|
||||||
$this->settings[] = $item;
|
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ class Pin extends Component
|
||||||
|
|
||||||
setting(['favorites.report.' . user()->id => json_encode($pins)])->save();
|
setting(['favorites.report.' . user()->id => json_encode($pins)])->save();
|
||||||
|
|
||||||
$this->emit('addedPin');
|
$this->dispatch('addedPin');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function removePin($report_id)
|
public function removePin($report_id)
|
||||||
|
|
@ -105,6 +105,6 @@ class Pin extends Component
|
||||||
|
|
||||||
setting(['favorites.report.' . user()->id => json_encode($pins)])->save();
|
setting(['favorites.report.' . user()->id => json_encode($pins)])->save();
|
||||||
|
|
||||||
$this->emit('removedPin');
|
$this->dispatch('removedPin');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ class App extends Provider
|
||||||
\Sentry\Laravel\Integration::lazyLoadingViolationReporter();
|
\Sentry\Laravel\Integration::lazyLoadingViolationReporter();
|
||||||
} else {
|
} else {
|
||||||
$class = get_class($model);
|
$class = get_class($model);
|
||||||
|
|
||||||
report("Attempted to lazy load [{$relation}] on model [{$class}].");
|
report("Attempted to lazy load [{$relation}] on model [{$class}].");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -139,6 +139,8 @@ class Route extends Provider
|
||||||
$this->mapPortalRoutes();
|
$this->mapPortalRoutes();
|
||||||
|
|
||||||
$this->mapSignedRoutes();
|
$this->mapSignedRoutes();
|
||||||
|
|
||||||
|
$this->mapWebRoutes();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -275,6 +277,20 @@ class Route extends Provider
|
||||||
->group(base_path('routes/signed.php'));
|
->group(base_path('routes/signed.php'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define the "web" routes for the application.
|
||||||
|
*
|
||||||
|
* These routes all receive session state, CSRF protection, etc.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
protected function mapWebRoutes()
|
||||||
|
{
|
||||||
|
Facade::middleware('web')
|
||||||
|
->namespace($this->namespace)
|
||||||
|
->group(base_path('routes/web.php'));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Configure the rate limiters for the application.
|
* Configure the rate limiters for the application.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@
|
||||||
"league/flysystem-aws-s3-v3": "^3.0",
|
"league/flysystem-aws-s3-v3": "^3.0",
|
||||||
"league/oauth2-client": "^2.6",
|
"league/oauth2-client": "^2.6",
|
||||||
"league/omnipay": "^3.2",
|
"league/omnipay": "^3.2",
|
||||||
"livewire/livewire": "^2.10",
|
"livewire/livewire": "^3.0",
|
||||||
"lorisleiva/laravel-search-string": "^1.2",
|
"lorisleiva/laravel-search-string": "^1.2",
|
||||||
"maatwebsite/excel": "3.1.*",
|
"maatwebsite/excel": "3.1.*",
|
||||||
"mnsami/composer-custom-directory-installer": "2.0.*",
|
"mnsami/composer-custom-directory-installer": "2.0.*",
|
||||||
|
|
@ -104,7 +104,7 @@
|
||||||
"Database\\Seeds\\": "database/seeds/",
|
"Database\\Seeds\\": "database/seeds/",
|
||||||
"Illuminate\\Translation\\": "overrides/Illuminate/Translation/",
|
"Illuminate\\Translation\\": "overrides/Illuminate/Translation/",
|
||||||
"Illuminate\\View\\Concerns\\": "overrides/Illuminate/View/Concerns/",
|
"Illuminate\\View\\Concerns\\": "overrides/Illuminate/View/Concerns/",
|
||||||
"Livewire\\": "overrides/livewire/",
|
"Livewire\\": "overrides/livewire/livewire/",
|
||||||
"Maatwebsite\\Excel\\": "overrides/maatwebsite/excel/",
|
"Maatwebsite\\Excel\\": "overrides/maatwebsite/excel/",
|
||||||
"Modules\\": "modules/",
|
"Modules\\": "modules/",
|
||||||
"Symfony\\Component\\Process\\": "overrides/symfony/process/"
|
"Symfony\\Component\\Process\\": "overrides/symfony/process/"
|
||||||
|
|
@ -116,7 +116,7 @@
|
||||||
"vendor/akaunting/laravel-module/src/Commands/InstallCommand.php",
|
"vendor/akaunting/laravel-module/src/Commands/InstallCommand.php",
|
||||||
"vendor/laravel/framework/src/Illuminate/Translation/MessageSelector.php",
|
"vendor/laravel/framework/src/Illuminate/Translation/MessageSelector.php",
|
||||||
"vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesStacks.php",
|
"vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesStacks.php",
|
||||||
"vendor/livewire/livewire/src/LivewireServiceProvider.php",
|
"vendor/livewire/livewire/src/Mechanisms/HandleRequests/HandleRequests.php",
|
||||||
"vendor/maatwebsite/excel/src/Fakes/ExcelFake.php",
|
"vendor/maatwebsite/excel/src/Fakes/ExcelFake.php",
|
||||||
"vendor/maatwebsite/excel/src/QueuedWriter.php",
|
"vendor/maatwebsite/excel/src/QueuedWriter.php",
|
||||||
"vendor/symfony/process/PhpExecutableFinder.php"
|
"vendor/symfony/process/PhpExecutableFinder.php"
|
||||||
|
|
@ -133,8 +133,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"post-autoload-dump": [
|
"post-autoload-dump": [
|
||||||
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
||||||
"@php artisan package:discover --ansi",
|
"@php artisan package:discover --ansi"
|
||||||
"@php artisan vendor:publish --force --tag=livewire:assets --ansi"
|
|
||||||
],
|
],
|
||||||
"post-install-cmd": [
|
"post-install-cmd": [
|
||||||
"php artisan ide-helper:generate",
|
"php artisan ide-helper:generate",
|
||||||
|
|
|
||||||
|
|
@ -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": "a56285f9796a942ce5b91638d2c2ddd6",
|
"content-hash": "eeec7bdbb152c0ed59182c1737575850",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "akaunting/laravel-apexcharts",
|
"name": "akaunting/laravel-apexcharts",
|
||||||
|
|
@ -852,16 +852,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "aws/aws-sdk-php",
|
"name": "aws/aws-sdk-php",
|
||||||
"version": "3.293.0",
|
"version": "3.293.7",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/aws/aws-sdk-php.git",
|
"url": "https://github.com/aws/aws-sdk-php.git",
|
||||||
"reference": "4bcac7125bf72fa38aa8a537fb5b175862470c64"
|
"reference": "3bf86ba8b9bbea2b298f89e6f5edc58de276690b"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/4bcac7125bf72fa38aa8a537fb5b175862470c64",
|
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/3bf86ba8b9bbea2b298f89e6f5edc58de276690b",
|
||||||
"reference": "4bcac7125bf72fa38aa8a537fb5b175862470c64",
|
"reference": "3bf86ba8b9bbea2b298f89e6f5edc58de276690b",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
|
@ -941,9 +941,9 @@
|
||||||
"support": {
|
"support": {
|
||||||
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
|
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
|
||||||
"issues": "https://github.com/aws/aws-sdk-php/issues",
|
"issues": "https://github.com/aws/aws-sdk-php/issues",
|
||||||
"source": "https://github.com/aws/aws-sdk-php/tree/3.293.0"
|
"source": "https://github.com/aws/aws-sdk-php/tree/3.293.7"
|
||||||
},
|
},
|
||||||
"time": "2023-11-30T01:10:12+00:00"
|
"time": "2023-12-08T19:11:21+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "balping/json-raw-encoder",
|
"name": "balping/json-raw-encoder",
|
||||||
|
|
@ -1592,6 +1592,75 @@
|
||||||
},
|
},
|
||||||
"time": "2022-01-12T11:07:19+00:00"
|
"time": "2022-01-12T11:07:19+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "carbonphp/carbon-doctrine-types",
|
||||||
|
"version": "2.0.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/CarbonPHP/carbon-doctrine-types.git",
|
||||||
|
"reference": "67a77972b9f398ae7068dabacc39c08aeee170d5"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/CarbonPHP/carbon-doctrine-types/zipball/67a77972b9f398ae7068dabacc39c08aeee170d5",
|
||||||
|
"reference": "67a77972b9f398ae7068dabacc39c08aeee170d5",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": "^7.4 || ^8.0"
|
||||||
|
},
|
||||||
|
"conflict": {
|
||||||
|
"doctrine/dbal": "<3.7.0 || >=4.0.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"doctrine/dbal": "^3.7.0",
|
||||||
|
"nesbot/carbon": "^2.71.0 || ^3.0.0",
|
||||||
|
"phpunit/phpunit": "^10.3"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Carbon\\Doctrine\\": "src/Carbon/Doctrine/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "KyleKatarn",
|
||||||
|
"email": "kylekatarnls@gmail.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Types to use Carbon in Doctrine",
|
||||||
|
"keywords": [
|
||||||
|
"carbon",
|
||||||
|
"date",
|
||||||
|
"datetime",
|
||||||
|
"doctrine",
|
||||||
|
"time"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/CarbonPHP/carbon-doctrine-types/issues",
|
||||||
|
"source": "https://github.com/CarbonPHP/carbon-doctrine-types/tree/2.0.0"
|
||||||
|
},
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/kylekatarnls",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://opencollective.com/Carbon",
|
||||||
|
"type": "open_collective"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://tidelift.com/funding/github/packagist/nesbot/carbon",
|
||||||
|
"type": "tidelift"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"time": "2023-10-01T14:29:01+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "clue/stream-filter",
|
"name": "clue/stream-filter",
|
||||||
"version": "v1.6.0",
|
"version": "v1.6.0",
|
||||||
|
|
@ -3080,16 +3149,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "graham-campbell/markdown",
|
"name": "graham-campbell/markdown",
|
||||||
"version": "v15.0.0",
|
"version": "v15.1.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/GrahamCampbell/Laravel-Markdown.git",
|
"url": "https://github.com/GrahamCampbell/Laravel-Markdown.git",
|
||||||
"reference": "3c0bcf904ec02acb1afd0e23e7c170ac5199fc14"
|
"reference": "94917d0d712c26788095ad2b5eafd9b33cd43095"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/GrahamCampbell/Laravel-Markdown/zipball/3c0bcf904ec02acb1afd0e23e7c170ac5199fc14",
|
"url": "https://api.github.com/repos/GrahamCampbell/Laravel-Markdown/zipball/94917d0d712c26788095ad2b5eafd9b33cd43095",
|
||||||
"reference": "3c0bcf904ec02acb1afd0e23e7c170ac5199fc14",
|
"reference": "94917d0d712c26788095ad2b5eafd9b33cd43095",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
|
@ -3097,14 +3166,14 @@
|
||||||
"illuminate/filesystem": "^8.75 || ^9.0 || ^10.0",
|
"illuminate/filesystem": "^8.75 || ^9.0 || ^10.0",
|
||||||
"illuminate/support": "^8.75 || ^9.0 || ^10.0",
|
"illuminate/support": "^8.75 || ^9.0 || ^10.0",
|
||||||
"illuminate/view": "^8.75 || ^9.0 || ^10.0",
|
"illuminate/view": "^8.75 || ^9.0 || ^10.0",
|
||||||
"league/commonmark": "^2.3.9",
|
"league/commonmark": "^2.4.1",
|
||||||
"php": "^7.4.15 || ^8.0.2"
|
"php": "^7.4.15 || ^8.0.2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"graham-campbell/analyzer": "^4.0",
|
"graham-campbell/analyzer": "^4.1",
|
||||||
"graham-campbell/testbench": "^6.0",
|
"graham-campbell/testbench": "^6.1",
|
||||||
"mockery/mockery": "^1.5.1",
|
"mockery/mockery": "^1.6.6",
|
||||||
"phpunit/phpunit": "^9.6.3 || ^10.0.12"
|
"phpunit/phpunit": "^9.6.15 || ^10.4.2"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
|
|
@ -3144,7 +3213,7 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/GrahamCampbell/Laravel-Markdown/issues",
|
"issues": "https://github.com/GrahamCampbell/Laravel-Markdown/issues",
|
||||||
"source": "https://github.com/GrahamCampbell/Laravel-Markdown/tree/v15.0.0"
|
"source": "https://github.com/GrahamCampbell/Laravel-Markdown/tree/v15.1.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
|
@ -3156,7 +3225,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-02-26T14:22:13+00:00"
|
"time": "2023-12-04T02:43:19+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "graham-campbell/result-type",
|
"name": "graham-campbell/result-type",
|
||||||
|
|
@ -3222,16 +3291,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "guzzlehttp/guzzle",
|
"name": "guzzlehttp/guzzle",
|
||||||
"version": "7.8.0",
|
"version": "7.8.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/guzzle/guzzle.git",
|
"url": "https://github.com/guzzle/guzzle.git",
|
||||||
"reference": "1110f66a6530a40fe7aea0378fe608ee2b2248f9"
|
"reference": "41042bc7ab002487b876a0683fc8dce04ddce104"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/1110f66a6530a40fe7aea0378fe608ee2b2248f9",
|
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/41042bc7ab002487b876a0683fc8dce04ddce104",
|
||||||
"reference": "1110f66a6530a40fe7aea0378fe608ee2b2248f9",
|
"reference": "41042bc7ab002487b876a0683fc8dce04ddce104",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
|
@ -3246,11 +3315,11 @@
|
||||||
"psr/http-client-implementation": "1.0"
|
"psr/http-client-implementation": "1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"bamarni/composer-bin-plugin": "^1.8.1",
|
"bamarni/composer-bin-plugin": "^1.8.2",
|
||||||
"ext-curl": "*",
|
"ext-curl": "*",
|
||||||
"php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999",
|
"php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999",
|
||||||
"php-http/message-factory": "^1.1",
|
"php-http/message-factory": "^1.1",
|
||||||
"phpunit/phpunit": "^8.5.29 || ^9.5.23",
|
"phpunit/phpunit": "^8.5.36 || ^9.6.15",
|
||||||
"psr/log": "^1.1 || ^2.0 || ^3.0"
|
"psr/log": "^1.1 || ^2.0 || ^3.0"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
|
|
@ -3328,7 +3397,7 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/guzzle/guzzle/issues",
|
"issues": "https://github.com/guzzle/guzzle/issues",
|
||||||
"source": "https://github.com/guzzle/guzzle/tree/7.8.0"
|
"source": "https://github.com/guzzle/guzzle/tree/7.8.1"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
|
@ -3344,28 +3413,28 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-08-27T10:20:53+00:00"
|
"time": "2023-12-03T20:35:24+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "guzzlehttp/promises",
|
"name": "guzzlehttp/promises",
|
||||||
"version": "2.0.1",
|
"version": "2.0.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/guzzle/promises.git",
|
"url": "https://github.com/guzzle/promises.git",
|
||||||
"reference": "111166291a0f8130081195ac4556a5587d7f1b5d"
|
"reference": "bbff78d96034045e58e13dedd6ad91b5d1253223"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/guzzle/promises/zipball/111166291a0f8130081195ac4556a5587d7f1b5d",
|
"url": "https://api.github.com/repos/guzzle/promises/zipball/bbff78d96034045e58e13dedd6ad91b5d1253223",
|
||||||
"reference": "111166291a0f8130081195ac4556a5587d7f1b5d",
|
"reference": "bbff78d96034045e58e13dedd6ad91b5d1253223",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.2.5 || ^8.0"
|
"php": "^7.2.5 || ^8.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"bamarni/composer-bin-plugin": "^1.8.1",
|
"bamarni/composer-bin-plugin": "^1.8.2",
|
||||||
"phpunit/phpunit": "^8.5.29 || ^9.5.23"
|
"phpunit/phpunit": "^8.5.36 || ^9.6.15"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
|
|
@ -3411,7 +3480,7 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/guzzle/promises/issues",
|
"issues": "https://github.com/guzzle/promises/issues",
|
||||||
"source": "https://github.com/guzzle/promises/tree/2.0.1"
|
"source": "https://github.com/guzzle/promises/tree/2.0.2"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
|
@ -3427,20 +3496,20 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-08-03T15:11:55+00:00"
|
"time": "2023-12-03T20:19:20+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "guzzlehttp/psr7",
|
"name": "guzzlehttp/psr7",
|
||||||
"version": "2.6.1",
|
"version": "2.6.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/guzzle/psr7.git",
|
"url": "https://github.com/guzzle/psr7.git",
|
||||||
"reference": "be45764272e8873c72dbe3d2edcfdfcc3bc9f727"
|
"reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/guzzle/psr7/zipball/be45764272e8873c72dbe3d2edcfdfcc3bc9f727",
|
"url": "https://api.github.com/repos/guzzle/psr7/zipball/45b30f99ac27b5ca93cb4831afe16285f57b8221",
|
||||||
"reference": "be45764272e8873c72dbe3d2edcfdfcc3bc9f727",
|
"reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
|
@ -3454,9 +3523,9 @@
|
||||||
"psr/http-message-implementation": "1.0"
|
"psr/http-message-implementation": "1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"bamarni/composer-bin-plugin": "^1.8.1",
|
"bamarni/composer-bin-plugin": "^1.8.2",
|
||||||
"http-interop/http-factory-tests": "^0.9",
|
"http-interop/http-factory-tests": "^0.9",
|
||||||
"phpunit/phpunit": "^8.5.29 || ^9.5.23"
|
"phpunit/phpunit": "^8.5.36 || ^9.6.15"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
|
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
|
||||||
|
|
@ -3527,7 +3596,7 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/guzzle/psr7/issues",
|
"issues": "https://github.com/guzzle/psr7/issues",
|
||||||
"source": "https://github.com/guzzle/psr7/tree/2.6.1"
|
"source": "https://github.com/guzzle/psr7/tree/2.6.2"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
|
@ -3543,32 +3612,38 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-08-27T10:13:57+00:00"
|
"time": "2023-12-03T20:05:35+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "guzzlehttp/uri-template",
|
"name": "guzzlehttp/uri-template",
|
||||||
"version": "v1.0.2",
|
"version": "v1.0.3",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/guzzle/uri-template.git",
|
"url": "https://github.com/guzzle/uri-template.git",
|
||||||
"reference": "61bf437fc2197f587f6857d3ff903a24f1731b5d"
|
"reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/guzzle/uri-template/zipball/61bf437fc2197f587f6857d3ff903a24f1731b5d",
|
"url": "https://api.github.com/repos/guzzle/uri-template/zipball/ecea8feef63bd4fef1f037ecb288386999ecc11c",
|
||||||
"reference": "61bf437fc2197f587f6857d3ff903a24f1731b5d",
|
"reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.2.5 || ^8.0",
|
"php": "^7.2.5 || ^8.0",
|
||||||
"symfony/polyfill-php80": "^1.17"
|
"symfony/polyfill-php80": "^1.24"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"bamarni/composer-bin-plugin": "^1.8.1",
|
"bamarni/composer-bin-plugin": "^1.8.2",
|
||||||
"phpunit/phpunit": "^8.5.19 || ^9.5.8",
|
"phpunit/phpunit": "^8.5.36 || ^9.6.15",
|
||||||
"uri-template/tests": "1.0.0"
|
"uri-template/tests": "1.0.0"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"bamarni-bin": {
|
||||||
|
"bin-links": true,
|
||||||
|
"forward-command": false
|
||||||
|
}
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"GuzzleHttp\\UriTemplate\\": "src"
|
"GuzzleHttp\\UriTemplate\\": "src"
|
||||||
|
|
@ -3607,7 +3682,7 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/guzzle/uri-template/issues",
|
"issues": "https://github.com/guzzle/uri-template/issues",
|
||||||
"source": "https://github.com/guzzle/uri-template/tree/v1.0.2"
|
"source": "https://github.com/guzzle/uri-template/tree/v1.0.3"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
|
@ -3623,7 +3698,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-08-27T10:19:19+00:00"
|
"time": "2023-12-03T19:50:20+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "hoa/compiler",
|
"name": "hoa/compiler",
|
||||||
|
|
@ -4910,16 +4985,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "laravel/framework",
|
"name": "laravel/framework",
|
||||||
"version": "v10.34.2",
|
"version": "v10.35.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/laravel/framework.git",
|
"url": "https://github.com/laravel/framework.git",
|
||||||
"reference": "c581caa233e380610b34cc491490bfa147a3b62b"
|
"reference": "91ec2d92d2f6007e9084fe06438b99c91845da69"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/laravel/framework/zipball/c581caa233e380610b34cc491490bfa147a3b62b",
|
"url": "https://api.github.com/repos/laravel/framework/zipball/91ec2d92d2f6007e9084fe06438b99c91845da69",
|
||||||
"reference": "c581caa233e380610b34cc491490bfa147a3b62b",
|
"reference": "91ec2d92d2f6007e9084fe06438b99c91845da69",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
|
@ -4952,7 +5027,7 @@
|
||||||
"symfony/console": "^6.2",
|
"symfony/console": "^6.2",
|
||||||
"symfony/error-handler": "^6.2",
|
"symfony/error-handler": "^6.2",
|
||||||
"symfony/finder": "^6.2",
|
"symfony/finder": "^6.2",
|
||||||
"symfony/http-foundation": "^6.3",
|
"symfony/http-foundation": "^6.4",
|
||||||
"symfony/http-kernel": "^6.2",
|
"symfony/http-kernel": "^6.2",
|
||||||
"symfony/mailer": "^6.2",
|
"symfony/mailer": "^6.2",
|
||||||
"symfony/mime": "^6.2",
|
"symfony/mime": "^6.2",
|
||||||
|
|
@ -5108,7 +5183,7 @@
|
||||||
"issues": "https://github.com/laravel/framework/issues",
|
"issues": "https://github.com/laravel/framework/issues",
|
||||||
"source": "https://github.com/laravel/framework"
|
"source": "https://github.com/laravel/framework"
|
||||||
},
|
},
|
||||||
"time": "2023-11-28T19:06:27+00:00"
|
"time": "2023-12-05T14:50:33+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "laravel/prompts",
|
"name": "laravel/prompts",
|
||||||
|
|
@ -5748,16 +5823,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "league/flysystem",
|
"name": "league/flysystem",
|
||||||
"version": "3.21.0",
|
"version": "3.23.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/thephpleague/flysystem.git",
|
"url": "https://github.com/thephpleague/flysystem.git",
|
||||||
"reference": "a326d8a2d007e4ca327a57470846e34363789258"
|
"reference": "d4ad81e2b67396e33dc9d7e54ec74ccf73151dcc"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/a326d8a2d007e4ca327a57470846e34363789258",
|
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/d4ad81e2b67396e33dc9d7e54ec74ccf73151dcc",
|
||||||
"reference": "a326d8a2d007e4ca327a57470846e34363789258",
|
"reference": "d4ad81e2b67396e33dc9d7e54ec74ccf73151dcc",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
|
@ -5785,7 +5860,7 @@
|
||||||
"friendsofphp/php-cs-fixer": "^3.5",
|
"friendsofphp/php-cs-fixer": "^3.5",
|
||||||
"google/cloud-storage": "^1.23",
|
"google/cloud-storage": "^1.23",
|
||||||
"microsoft/azure-storage-blob": "^1.1",
|
"microsoft/azure-storage-blob": "^1.1",
|
||||||
"phpseclib/phpseclib": "^3.0.14",
|
"phpseclib/phpseclib": "^3.0.34",
|
||||||
"phpstan/phpstan": "^1.10",
|
"phpstan/phpstan": "^1.10",
|
||||||
"phpunit/phpunit": "^9.5.11|^10.0",
|
"phpunit/phpunit": "^9.5.11|^10.0",
|
||||||
"sabre/dav": "^4.3.1"
|
"sabre/dav": "^4.3.1"
|
||||||
|
|
@ -5822,7 +5897,7 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/thephpleague/flysystem/issues",
|
"issues": "https://github.com/thephpleague/flysystem/issues",
|
||||||
"source": "https://github.com/thephpleague/flysystem/tree/3.21.0"
|
"source": "https://github.com/thephpleague/flysystem/tree/3.23.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
|
@ -5834,20 +5909,20 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-11-18T13:59:15+00:00"
|
"time": "2023-12-04T10:16:17+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "league/flysystem-aws-s3-v3",
|
"name": "league/flysystem-aws-s3-v3",
|
||||||
"version": "3.21.0",
|
"version": "3.22.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/thephpleague/flysystem-aws-s3-v3.git",
|
"url": "https://github.com/thephpleague/flysystem-aws-s3-v3.git",
|
||||||
"reference": "2a1784eec09ee8e190fc27b93e725bc518338929"
|
"reference": "9808919ee5d819730d9582d4e1673e8d195c38d8"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/2a1784eec09ee8e190fc27b93e725bc518338929",
|
"url": "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/9808919ee5d819730d9582d4e1673e8d195c38d8",
|
||||||
"reference": "2a1784eec09ee8e190fc27b93e725bc518338929",
|
"reference": "9808919ee5d819730d9582d4e1673e8d195c38d8",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
|
@ -5888,7 +5963,7 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/thephpleague/flysystem-aws-s3-v3/issues",
|
"issues": "https://github.com/thephpleague/flysystem-aws-s3-v3/issues",
|
||||||
"source": "https://github.com/thephpleague/flysystem-aws-s3-v3/tree/3.21.0"
|
"source": "https://github.com/thephpleague/flysystem-aws-s3-v3/tree/3.22.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
|
@ -5900,20 +5975,20 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-11-14T11:54:45+00:00"
|
"time": "2023-11-18T14:03:37+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "league/flysystem-local",
|
"name": "league/flysystem-local",
|
||||||
"version": "3.21.0",
|
"version": "3.23.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/thephpleague/flysystem-local.git",
|
"url": "https://github.com/thephpleague/flysystem-local.git",
|
||||||
"reference": "470eb1c09eaabd49ebd908ae06f23983ba3ecfe7"
|
"reference": "5cf046ba5f059460e86a997c504dd781a39a109b"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/470eb1c09eaabd49ebd908ae06f23983ba3ecfe7",
|
"url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/5cf046ba5f059460e86a997c504dd781a39a109b",
|
||||||
"reference": "470eb1c09eaabd49ebd908ae06f23983ba3ecfe7",
|
"reference": "5cf046ba5f059460e86a997c504dd781a39a109b",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
|
@ -5948,7 +6023,7 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/thephpleague/flysystem-local/issues",
|
"issues": "https://github.com/thephpleague/flysystem-local/issues",
|
||||||
"source": "https://github.com/thephpleague/flysystem-local/tree/3.21.0"
|
"source": "https://github.com/thephpleague/flysystem-local/tree/3.23.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
|
@ -5960,7 +6035,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-11-18T13:41:42+00:00"
|
"time": "2023-12-04T10:14:46+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "league/mime-type-detection",
|
"name": "league/mime-type-detection",
|
||||||
|
|
@ -6153,33 +6228,34 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "livewire/livewire",
|
"name": "livewire/livewire",
|
||||||
"version": "v2.12.6",
|
"version": "v3.2.6",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/livewire/livewire.git",
|
"url": "https://github.com/livewire/livewire.git",
|
||||||
"reference": "7d3a57b3193299cf1a0639a3935c696f4da2cf92"
|
"reference": "ecded08cdc4b36bbb4b26bcc7f7a171ea2e4368c"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/livewire/livewire/zipball/7d3a57b3193299cf1a0639a3935c696f4da2cf92",
|
"url": "https://api.github.com/repos/livewire/livewire/zipball/ecded08cdc4b36bbb4b26bcc7f7a171ea2e4368c",
|
||||||
"reference": "7d3a57b3193299cf1a0639a3935c696f4da2cf92",
|
"reference": "ecded08cdc4b36bbb4b26bcc7f7a171ea2e4368c",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"illuminate/database": "^7.0|^8.0|^9.0|^10.0",
|
"illuminate/database": "^10.0",
|
||||||
"illuminate/support": "^7.0|^8.0|^9.0|^10.0",
|
"illuminate/support": "^10.0",
|
||||||
"illuminate/validation": "^7.0|^8.0|^9.0|^10.0",
|
"illuminate/validation": "^10.0",
|
||||||
"league/mime-type-detection": "^1.9",
|
"league/mime-type-detection": "^1.9",
|
||||||
"php": "^7.2.5|^8.0",
|
"php": "^8.1",
|
||||||
"symfony/http-kernel": "^5.0|^6.0"
|
"symfony/http-kernel": "^6.2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"calebporzio/sushi": "^2.1",
|
"calebporzio/sushi": "^2.1",
|
||||||
"laravel/framework": "^7.0|^8.0|^9.0|^10.0",
|
"laravel/framework": "^10.0",
|
||||||
|
"laravel/prompts": "^0.1.6",
|
||||||
"mockery/mockery": "^1.3.1",
|
"mockery/mockery": "^1.3.1",
|
||||||
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0",
|
"orchestra/testbench": "^8.0",
|
||||||
"orchestra/testbench-dusk": "^5.2|^6.0|^7.0|^8.0",
|
"orchestra/testbench-dusk": "^8.0",
|
||||||
"phpunit/phpunit": "^8.4|^9.0",
|
"phpunit/phpunit": "^9.0",
|
||||||
"psy/psysh": "@stable"
|
"psy/psysh": "@stable"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
|
|
@ -6214,7 +6290,7 @@
|
||||||
"description": "A front-end framework for Laravel.",
|
"description": "A front-end framework for Laravel.",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/livewire/livewire/issues",
|
"issues": "https://github.com/livewire/livewire/issues",
|
||||||
"source": "https://github.com/livewire/livewire/tree/v2.12.6"
|
"source": "https://github.com/livewire/livewire/tree/v3.2.6"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
|
@ -6222,7 +6298,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-08-11T04:02:34+00:00"
|
"time": "2023-12-04T21:20:19+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "lorisleiva/laravel-search-string",
|
"name": "lorisleiva/laravel-search-string",
|
||||||
|
|
@ -7060,19 +7136,20 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "nesbot/carbon",
|
"name": "nesbot/carbon",
|
||||||
"version": "2.71.0",
|
"version": "2.72.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/briannesbitt/Carbon.git",
|
"url": "https://github.com/briannesbitt/Carbon.git",
|
||||||
"reference": "98276233188583f2ff845a0f992a235472d9466a"
|
"reference": "a6885fcbad2ec4360b0e200ee0da7d9b7c90786b"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/98276233188583f2ff845a0f992a235472d9466a",
|
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/a6885fcbad2ec4360b0e200ee0da7d9b7c90786b",
|
||||||
"reference": "98276233188583f2ff845a0f992a235472d9466a",
|
"reference": "a6885fcbad2ec4360b0e200ee0da7d9b7c90786b",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
"carbonphp/carbon-doctrine-types": "*",
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"php": "^7.1.8 || ^8.0",
|
"php": "^7.1.8 || ^8.0",
|
||||||
"psr/clock": "^1.0",
|
"psr/clock": "^1.0",
|
||||||
|
|
@ -7084,8 +7161,8 @@
|
||||||
"psr/clock-implementation": "1.0"
|
"psr/clock-implementation": "1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"doctrine/dbal": "^2.0 || ^3.1.4",
|
"doctrine/dbal": "^2.0 || ^3.1.4 || ^4.0",
|
||||||
"doctrine/orm": "^2.7",
|
"doctrine/orm": "^2.7 || ^3.0",
|
||||||
"friendsofphp/php-cs-fixer": "^3.0",
|
"friendsofphp/php-cs-fixer": "^3.0",
|
||||||
"kylekatarnls/multi-tester": "^2.0",
|
"kylekatarnls/multi-tester": "^2.0",
|
||||||
"ondrejmirtes/better-reflection": "*",
|
"ondrejmirtes/better-reflection": "*",
|
||||||
|
|
@ -7162,7 +7239,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-09-25T11:31:05+00:00"
|
"time": "2023-11-28T10:13:25+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "nette/schema",
|
"name": "nette/schema",
|
||||||
|
|
@ -7832,16 +7909,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "php-http/discovery",
|
"name": "php-http/discovery",
|
||||||
"version": "1.19.1",
|
"version": "1.19.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/php-http/discovery.git",
|
"url": "https://github.com/php-http/discovery.git",
|
||||||
"reference": "57f3de01d32085fea20865f9b16fb0e69347c39e"
|
"reference": "61e1a1eb69c92741f5896d9e05fb8e9d7e8bb0cb"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/php-http/discovery/zipball/57f3de01d32085fea20865f9b16fb0e69347c39e",
|
"url": "https://api.github.com/repos/php-http/discovery/zipball/61e1a1eb69c92741f5896d9e05fb8e9d7e8bb0cb",
|
||||||
"reference": "57f3de01d32085fea20865f9b16fb0e69347c39e",
|
"reference": "61e1a1eb69c92741f5896d9e05fb8e9d7e8bb0cb",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
|
@ -7904,9 +7981,9 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/php-http/discovery/issues",
|
"issues": "https://github.com/php-http/discovery/issues",
|
||||||
"source": "https://github.com/php-http/discovery/tree/1.19.1"
|
"source": "https://github.com/php-http/discovery/tree/1.19.2"
|
||||||
},
|
},
|
||||||
"time": "2023-07-11T07:02:26+00:00"
|
"time": "2023-11-30T16:49:05+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "php-http/guzzle7-adapter",
|
"name": "php-http/guzzle7-adapter",
|
||||||
|
|
@ -9646,16 +9723,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sentry/sentry",
|
"name": "sentry/sentry",
|
||||||
"version": "4.0.1",
|
"version": "4.1.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/getsentry/sentry-php.git",
|
"url": "https://github.com/getsentry/sentry-php.git",
|
||||||
"reference": "fa41522f1fe5ff77a33a9db749c0ca7ec332f50a"
|
"reference": "89666f297891ff937fceb2f3d1fb967a6848cf37"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/getsentry/sentry-php/zipball/fa41522f1fe5ff77a33a9db749c0ca7ec332f50a",
|
"url": "https://api.github.com/repos/getsentry/sentry-php/zipball/89666f297891ff937fceb2f3d1fb967a6848cf37",
|
||||||
"reference": "fa41522f1fe5ff77a33a9db749c0ca7ec332f50a",
|
"reference": "89666f297891ff937fceb2f3d1fb967a6848cf37",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
|
@ -9704,7 +9781,7 @@
|
||||||
"email": "accounts@sentry.io"
|
"email": "accounts@sentry.io"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "A PHP SDK for Sentry (http://sentry.io)",
|
"description": "PHP SDK for Sentry (http://sentry.io)",
|
||||||
"homepage": "http://sentry.io",
|
"homepage": "http://sentry.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"crash-reporting",
|
"crash-reporting",
|
||||||
|
|
@ -9713,11 +9790,13 @@
|
||||||
"error-monitoring",
|
"error-monitoring",
|
||||||
"log",
|
"log",
|
||||||
"logging",
|
"logging",
|
||||||
"sentry"
|
"profiling",
|
||||||
|
"sentry",
|
||||||
|
"tracing"
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/getsentry/sentry-php/issues",
|
"issues": "https://github.com/getsentry/sentry-php/issues",
|
||||||
"source": "https://github.com/getsentry/sentry-php/tree/4.0.1"
|
"source": "https://github.com/getsentry/sentry-php/tree/4.1.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
|
@ -9729,7 +9808,7 @@
|
||||||
"type": "custom"
|
"type": "custom"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-11-13T13:00:41+00:00"
|
"time": "2023-12-04T12:41:21+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sentry/sentry-laravel",
|
"name": "sentry/sentry-laravel",
|
||||||
|
|
@ -9974,16 +10053,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "staudenmeir/eloquent-has-many-deep",
|
"name": "staudenmeir/eloquent-has-many-deep",
|
||||||
"version": "v1.18.3",
|
"version": "v1.19",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/staudenmeir/eloquent-has-many-deep.git",
|
"url": "https://github.com/staudenmeir/eloquent-has-many-deep.git",
|
||||||
"reference": "04cdf25eac68bd02c3aa382ddbf437585bd76708"
|
"reference": "7a858ba0bfe5d42c06c563175a7255ebb6abad27"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/staudenmeir/eloquent-has-many-deep/zipball/04cdf25eac68bd02c3aa382ddbf437585bd76708",
|
"url": "https://api.github.com/repos/staudenmeir/eloquent-has-many-deep/zipball/7a858ba0bfe5d42c06c563175a7255ebb6abad27",
|
||||||
"reference": "04cdf25eac68bd02c3aa382ddbf437585bd76708",
|
"reference": "7a858ba0bfe5d42c06c563175a7255ebb6abad27",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
|
@ -9997,6 +10076,7 @@
|
||||||
"illuminate/pagination": "^10.0",
|
"illuminate/pagination": "^10.0",
|
||||||
"korridor/laravel-has-many-merged": "^1.0",
|
"korridor/laravel-has-many-merged": "^1.0",
|
||||||
"mockery/mockery": "^1.6",
|
"mockery/mockery": "^1.6",
|
||||||
|
"orchestra/testbench": "^8.13",
|
||||||
"phpstan/phpstan": "^1.10",
|
"phpstan/phpstan": "^1.10",
|
||||||
"phpunit/phpunit": "^10.1",
|
"phpunit/phpunit": "^10.1",
|
||||||
"staudenmeir/eloquent-eager-limit": "^1.8",
|
"staudenmeir/eloquent-eager-limit": "^1.8",
|
||||||
|
|
@ -10004,6 +10084,13 @@
|
||||||
"staudenmeir/laravel-adjacency-list": "^1.13.7"
|
"staudenmeir/laravel-adjacency-list": "^1.13.7"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"laravel": {
|
||||||
|
"providers": [
|
||||||
|
"Staudenmeir\\EloquentHasManyDeep\\EloquentHasManyDeepServiceProvider"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Staudenmeir\\EloquentHasManyDeep\\": "src/"
|
"Staudenmeir\\EloquentHasManyDeep\\": "src/"
|
||||||
|
|
@ -10022,7 +10109,7 @@
|
||||||
"description": "Laravel Eloquent HasManyThrough relationships with unlimited levels",
|
"description": "Laravel Eloquent HasManyThrough relationships with unlimited levels",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/staudenmeir/eloquent-has-many-deep/issues",
|
"issues": "https://github.com/staudenmeir/eloquent-has-many-deep/issues",
|
||||||
"source": "https://github.com/staudenmeir/eloquent-has-many-deep/tree/v1.18.3"
|
"source": "https://github.com/staudenmeir/eloquent-has-many-deep/tree/v1.19"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
|
@ -10030,7 +10117,7 @@
|
||||||
"type": "custom"
|
"type": "custom"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-08-20T17:00:39+00:00"
|
"time": "2023-12-05T11:38:39+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "staudenmeir/eloquent-has-many-deep-contracts",
|
"name": "staudenmeir/eloquent-has-many-deep-contracts",
|
||||||
|
|
@ -10075,16 +10162,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/console",
|
"name": "symfony/console",
|
||||||
"version": "v6.4.0",
|
"version": "v6.4.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/console.git",
|
"url": "https://github.com/symfony/console.git",
|
||||||
"reference": "cd9864b47c367450e14ab32f78fdbf98c44c26b6"
|
"reference": "a550a7c99daeedef3f9d23fb82e3531525ff11fd"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/console/zipball/cd9864b47c367450e14ab32f78fdbf98c44c26b6",
|
"url": "https://api.github.com/repos/symfony/console/zipball/a550a7c99daeedef3f9d23fb82e3531525ff11fd",
|
||||||
"reference": "cd9864b47c367450e14ab32f78fdbf98c44c26b6",
|
"reference": "a550a7c99daeedef3f9d23fb82e3531525ff11fd",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
|
@ -10149,7 +10236,7 @@
|
||||||
"terminal"
|
"terminal"
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/symfony/console/tree/v6.4.0"
|
"source": "https://github.com/symfony/console/tree/v6.4.1"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
|
@ -10165,7 +10252,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-11-20T16:41:16+00:00"
|
"time": "2023-11-30T10:54:28+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/css-selector",
|
"name": "symfony/css-selector",
|
||||||
|
|
@ -10844,16 +10931,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/http-kernel",
|
"name": "symfony/http-kernel",
|
||||||
"version": "v6.4.0",
|
"version": "v6.4.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/http-kernel.git",
|
"url": "https://github.com/symfony/http-kernel.git",
|
||||||
"reference": "16a29c453966f29466ad34444ce97970a336f3c8"
|
"reference": "2953274c16a229b3933ef73a6898e18388e12e1b"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/16a29c453966f29466ad34444ce97970a336f3c8",
|
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/2953274c16a229b3933ef73a6898e18388e12e1b",
|
||||||
"reference": "16a29c453966f29466ad34444ce97970a336f3c8",
|
"reference": "2953274c16a229b3933ef73a6898e18388e12e1b",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
|
@ -10937,7 +11024,7 @@
|
||||||
"description": "Provides a structured process for converting a Request into a Response",
|
"description": "Provides a structured process for converting a Request into a Response",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/symfony/http-kernel/tree/v6.4.0"
|
"source": "https://github.com/symfony/http-kernel/tree/v6.4.1"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
|
@ -10953,7 +11040,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-11-29T10:40:15+00:00"
|
"time": "2023-12-01T17:02:02+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/mailer",
|
"name": "symfony/mailer",
|
||||||
|
|
@ -12215,16 +12302,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/routing",
|
"name": "symfony/routing",
|
||||||
"version": "v6.4.0",
|
"version": "v6.4.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/routing.git",
|
"url": "https://github.com/symfony/routing.git",
|
||||||
"reference": "ae014d60d7c8e80be5c3b644a286e91249a3e8f4"
|
"reference": "0c95c164fdba18b12523b75e64199ca3503e6d40"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/routing/zipball/ae014d60d7c8e80be5c3b644a286e91249a3e8f4",
|
"url": "https://api.github.com/repos/symfony/routing/zipball/0c95c164fdba18b12523b75e64199ca3503e6d40",
|
||||||
"reference": "ae014d60d7c8e80be5c3b644a286e91249a3e8f4",
|
"reference": "0c95c164fdba18b12523b75e64199ca3503e6d40",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
|
@ -12278,7 +12365,7 @@
|
||||||
"url"
|
"url"
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/symfony/routing/tree/v6.4.0"
|
"source": "https://github.com/symfony/routing/tree/v6.4.1"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
|
@ -12294,7 +12381,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-11-29T08:04:54+00:00"
|
"time": "2023-12-01T14:54:37+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/sendgrid-mailer",
|
"name": "symfony/sendgrid-mailer",
|
||||||
|
|
@ -12868,23 +12955,23 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tijsverkoyen/css-to-inline-styles",
|
"name": "tijsverkoyen/css-to-inline-styles",
|
||||||
"version": "2.2.6",
|
"version": "v2.2.7",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/tijsverkoyen/CssToInlineStyles.git",
|
"url": "https://github.com/tijsverkoyen/CssToInlineStyles.git",
|
||||||
"reference": "c42125b83a4fa63b187fdf29f9c93cb7733da30c"
|
"reference": "83ee6f38df0a63106a9e4536e3060458b74ccedb"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/c42125b83a4fa63b187fdf29f9c93cb7733da30c",
|
"url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/83ee6f38df0a63106a9e4536e3060458b74ccedb",
|
||||||
"reference": "c42125b83a4fa63b187fdf29f9c93cb7733da30c",
|
"reference": "83ee6f38df0a63106a9e4536e3060458b74ccedb",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-dom": "*",
|
"ext-dom": "*",
|
||||||
"ext-libxml": "*",
|
"ext-libxml": "*",
|
||||||
"php": "^5.5 || ^7.0 || ^8.0",
|
"php": "^5.5 || ^7.0 || ^8.0",
|
||||||
"symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0"
|
"symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10"
|
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10"
|
||||||
|
|
@ -12915,9 +13002,9 @@
|
||||||
"homepage": "https://github.com/tijsverkoyen/CssToInlineStyles",
|
"homepage": "https://github.com/tijsverkoyen/CssToInlineStyles",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues",
|
"issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues",
|
||||||
"source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.6"
|
"source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/v2.2.7"
|
||||||
},
|
},
|
||||||
"time": "2023-01-03T09:29:04+00:00"
|
"time": "2023-12-08T13:03:43+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "vlucas/phpdotenv",
|
"name": "vlucas/phpdotenv",
|
||||||
|
|
@ -14222,16 +14309,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/phpunit",
|
"name": "phpunit/phpunit",
|
||||||
"version": "10.4.2",
|
"version": "10.5.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
||||||
"reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1"
|
"reference": "5aedff46afba98dddecaa12349ec044d9103d4fe"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/cacd8b9dd224efa8eb28beb69004126c7ca1a1a1",
|
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/5aedff46afba98dddecaa12349ec044d9103d4fe",
|
||||||
"reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1",
|
"reference": "5aedff46afba98dddecaa12349ec044d9103d4fe",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
|
@ -14271,7 +14358,7 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-main": "10.4-dev"
|
"dev-main": "10.5-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
|
@ -14303,7 +14390,7 @@
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
||||||
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
|
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
|
||||||
"source": "https://github.com/sebastianbergmann/phpunit/tree/10.4.2"
|
"source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.2"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
|
@ -14319,7 +14406,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-10-26T07:21:45+00:00"
|
"time": "2023-12-05T14:54:33+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/cli-parser",
|
"name": "sebastian/cli-parser",
|
||||||
|
|
|
||||||
|
|
@ -3,156 +3,157 @@
|
||||||
return [
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|---------------------------------------------------------------------------
|
||||||
| Class Namespace
|
| Class Namespace
|
||||||
|--------------------------------------------------------------------------
|
|---------------------------------------------------------------------------
|
||||||
|
|
|
|
||||||
| This value sets the root namespace for Livewire component classes in
|
| This value sets the root class namespace for Livewire component classes in
|
||||||
| your application. This value affects component auto-discovery and
|
| your application. This value will change where component auto-discovery
|
||||||
| any Livewire file helper commands, like `artisan make:livewire`.
|
| finds components. It's also referenced by the file creation commands.
|
||||||
|
|
|
||||||
| After changing this item, run: `php artisan livewire:discover`.
|
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'class_namespace' => 'App\\Http\\Livewire',
|
'class_namespace' => 'App\\Http\\Livewire',
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|---------------------------------------------------------------------------
|
||||||
| View Path
|
| View Path
|
||||||
|--------------------------------------------------------------------------
|
|---------------------------------------------------------------------------
|
||||||
|
|
|
|
||||||
| This value sets the path for Livewire component views. This affects
|
| This value is used to specify where Livewire component Blade templates are
|
||||||
| file manipulation helper commands like `artisan make:livewire`.
|
| stored when running file creation commands like `artisan make:livewire`.
|
||||||
|
| It is also used if you choose to omit a component's render() method.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'view_path' => resource_path('views/livewire'),
|
'view_path' => resource_path('views/livewire'),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|---------------------------------------------------------------------------
|
||||||
| Layout
|
| Layout
|
||||||
|--------------------------------------------------------------------------
|
|---------------------------------------------------------------------------
|
||||||
| The default layout view that will be used when rendering a component via
|
| The view that will be used as the layout when rendering a single component
|
||||||
| Route::get('/some-endpoint', SomeComponent::class);. In this case the
|
| as an entire page via `Route::get('/post/create', CreatePost::class);`.
|
||||||
| the view returned by SomeComponent will be wrapped in "layouts.app"
|
| In this case, the view returned by CreatePost will render into $slot.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'layout' => 'components.layouts.admin',
|
'layout' => 'components.layouts.admin',
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|---------------------------------------------------------------------------
|
||||||
| Livewire Assets URL
|
| Lazy Loading Placeholder
|
||||||
|--------------------------------------------------------------------------
|
|---------------------------------------------------------------------------
|
||||||
|
|
| Livewire allows you to lazy load components that would otherwise slow down
|
||||||
| This value sets the path to Livewire JavaScript assets, for cases where
|
| the initial page load. Every component can have a custom placeholder or
|
||||||
| your app's domain root is not the correct path. By default, Livewire
|
| you can define the default placeholder view for all components below.
|
||||||
| will load its JavaScript assets from the app's "relative root".
|
|
||||||
|
|
|
||||||
| Examples: "/assets", "myurl.com/app".
|
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'asset_url' => env('ASSET_URL', 'public'),
|
'lazy_placeholder' => null,
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|---------------------------------------------------------------------------
|
||||||
| Livewire App URL
|
| Temporary File Uploads
|
||||||
|--------------------------------------------------------------------------
|
|---------------------------------------------------------------------------
|
||||||
|
|
|
||||||
| This value should be used if livewire assets are served from CDN.
|
|
||||||
| Livewire will communicate with an app through this url.
|
|
||||||
|
|
|
||||||
| Examples: "https://my-app.com", "myurl.com/app".
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'app_url' => env('APP_URL', 'localhost'),
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Livewire Endpoint Middleware Group
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| This value sets the middleware group that will be applied to the main
|
|
||||||
| Livewire "message" endpoint (the endpoint that gets hit everytime
|
|
||||||
| a Livewire component updates). It is set to "web" by default.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'middleware_group' => 'admin',
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Livewire Temporary File Uploads Endpoint Configuration
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
|
||||||
| Livewire handles file uploads by storing uploads in a temporary directory
|
| Livewire handles file uploads by storing uploads in a temporary directory
|
||||||
| before the file is validated and stored permanently. All file uploads
|
| before the file is stored permanently. All file uploads are directed to
|
||||||
| are directed to a global endpoint for temporary storage. The config
|
| a global endpoint for temporary storage. You may configure this below:
|
||||||
| items below are used for customizing the way the endpoint works.
|
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'temporary_file_upload' => [
|
'temporary_file_upload' => [
|
||||||
'disk' => null, // Example: 'local', 's3' Default: 'default'
|
'disk' => null, // Example: 'local', 's3' | Default: 'default'
|
||||||
'rules' => null, // Example: ['file', 'mimes:png,jpg'] Default: ['required', 'file', 'max:12288'] (12MB)
|
'rules' => null, // Example: ['file', 'mimes:png,jpg'] | Default: ['required', 'file', 'max:12288'] (12MB)
|
||||||
'directory' => null, // Example: 'tmp' Default 'livewire-tmp'
|
'directory' => null, // Example: 'tmp' | Default: 'livewire-tmp'
|
||||||
'middleware' => null, // Example: 'throttle:5,1' Default: 'throttle:60,1'
|
'middleware' => null, // Example: 'throttle:5,1' | Default: 'throttle:60,1'
|
||||||
'preview_mimes' => [ // Supported file types for temporary pre-signed file URLs.
|
'preview_mimes' => [ // Supported file types for temporary pre-signed file URLs...
|
||||||
'png', 'gif', 'bmp', 'svg', 'wav', 'mp4',
|
'png', 'gif', 'bmp', 'svg', 'wav', 'mp4',
|
||||||
'mov', 'avi', 'wmv', 'mp3', 'm4a',
|
'mov', 'avi', 'wmv', 'mp3', 'm4a',
|
||||||
'jpg', 'jpeg', 'mpga', 'webp', 'wma',
|
'jpg', 'jpeg', 'mpga', 'webp', 'wma',
|
||||||
],
|
],
|
||||||
'max_upload_time' => 5, // Max duration (in minutes) before an upload gets invalidated.
|
'max_upload_time' => 5, // Max duration (in minutes) before an upload is invalidated...
|
||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|---------------------------------------------------------------------------
|
||||||
| Manifest File Path
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| This value sets the path to the Livewire manifest file.
|
|
||||||
| The default should work for most cases (which is
|
|
||||||
| "<app_root>/bootstrap/cache/livewire-components.php"), but for specific
|
|
||||||
| cases like when hosting on Laravel Vapor, it could be set to a different value.
|
|
||||||
|
|
|
||||||
| Example: for Laravel Vapor, it would be "/tmp/storage/bootstrap/cache/livewire-components.php".
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'manifest_path' => null,
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Back Button Cache
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| This value determines whether the back button cache will be used on pages
|
|
||||||
| that contain Livewire. By disabling back button cache, it ensures that
|
|
||||||
| the back button shows the correct state of components, instead of
|
|
||||||
| potentially stale, cached data.
|
|
||||||
|
|
|
||||||
| Setting it to "false" (default) will disable back button cache.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'back_button_cache' => false,
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Render On Redirect
|
| Render On Redirect
|
||||||
|--------------------------------------------------------------------------
|
|---------------------------------------------------------------------------
|
||||||
|
|
|
|
||||||
| This value determines whether Livewire will render before it's redirected
|
| This value determines if Livewire will run a component's `render()` method
|
||||||
| or not. Setting it to "false" (default) will mean the render method is
|
| after a redirect has been triggered using something like `redirect(...)`
|
||||||
| skipped when redirecting. And "true" will mean the render method is
|
| Setting this to true will render the view once more before redirecting
|
||||||
| run before redirecting. Browsers bfcache can store a potentially
|
|
||||||
| stale view if render is skipped on redirect.
|
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'render_on_redirect' => false,
|
'render_on_redirect' => false,
|
||||||
|
/*
|
||||||
|
|---------------------------------------------------------------------------
|
||||||
|
| Eloquent Model Binding
|
||||||
|
|---------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Previous versions of Livewire supported binding directly to eloquent model
|
||||||
|
| properties using wire:model by default. However, this behavior has been
|
||||||
|
| deemed too "magical" and has therefore been put under a feature flag.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'legacy_model_binding' => false,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|---------------------------------------------------------------------------
|
||||||
|
| Auto-inject Frontend Assets
|
||||||
|
|---------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| By default, Livewire automatically injects its JavaScript and CSS into the
|
||||||
|
| <head> and <body> of pages containing Livewire components. By disabling
|
||||||
|
| this behavior, you need to use @livewireStyles and @livewireScripts.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'inject_assets' => true,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|---------------------------------------------------------------------------
|
||||||
|
| Navigate (SPA mode)
|
||||||
|
|---------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| By adding `wire:navigate` to links in your Livewire application, Livewire
|
||||||
|
| will prevent the default link handling and instead request those pages
|
||||||
|
| via AJAX, creating an SPA-like effect. Configure this behavior here.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'navigate' => [
|
||||||
|
'show_progress_bar' => true,
|
||||||
|
'progress_bar_color' => '#2299dd',
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|---------------------------------------------------------------------------
|
||||||
|
| HTML Morph Markers
|
||||||
|
|---------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Livewire intelligently "morphs" existing HTML into the newly rendered HTML
|
||||||
|
| after each update. To make this process more reliable, Livewire injects
|
||||||
|
| "markers" into the rendered Blade surrounding @if, @class & @foreach.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'inject_morph_markers' => true,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|---------------------------------------------------------------------------
|
||||||
|
| Pagination Theme
|
||||||
|
|---------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When enabling Livewire's pagination feature by using the `WithPagination`
|
||||||
|
| trait, Livewire will use Tailwind templates to render pagination views
|
||||||
|
| on the page. If you want Bootstrap CSS, you can specify: "bootstrap"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'pagination_theme' => 'tailwind',
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -1,442 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
namespace Livewire;
|
|
||||||
|
|
||||||
use Illuminate\View\View;
|
|
||||||
use Illuminate\Testing\TestView;
|
|
||||||
use Illuminate\Testing\TestResponse;
|
|
||||||
use Illuminate\Filesystem\Filesystem;
|
|
||||||
use Illuminate\Support\Facades\Blade;
|
|
||||||
use Illuminate\Support\ServiceProvider;
|
|
||||||
use Illuminate\View\ComponentAttributeBag;
|
|
||||||
use Livewire\Controllers\FileUploadHandler;
|
|
||||||
use Livewire\Controllers\FilePreviewHandler;
|
|
||||||
use Livewire\Controllers\HttpConnectionHandler;
|
|
||||||
use Livewire\Controllers\LivewireJavaScriptAssets;
|
|
||||||
use Illuminate\Support\Facades\Route as RouteFacade;
|
|
||||||
use Illuminate\Foundation\Http\Middleware\TrimStrings;
|
|
||||||
use Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull;
|
|
||||||
use Livewire\Commands\{
|
|
||||||
CpCommand,
|
|
||||||
MvCommand,
|
|
||||||
RmCommand,
|
|
||||||
CopyCommand,
|
|
||||||
MakeCommand,
|
|
||||||
MoveCommand,
|
|
||||||
StubsCommand,
|
|
||||||
TouchCommand,
|
|
||||||
DeleteCommand,
|
|
||||||
PublishCommand,
|
|
||||||
ComponentParser,
|
|
||||||
DiscoverCommand,
|
|
||||||
S3CleanupCommand,
|
|
||||||
MakeLivewireCommand,
|
|
||||||
};
|
|
||||||
use Livewire\Macros\ViewMacros;
|
|
||||||
use Livewire\HydrationMiddleware\{
|
|
||||||
RenderView,
|
|
||||||
PerformActionCalls,
|
|
||||||
CallHydrationHooks,
|
|
||||||
PerformEventEmissions,
|
|
||||||
HydratePublicProperties,
|
|
||||||
PerformDataBindingUpdates,
|
|
||||||
CallPropertyHydrationHooks,
|
|
||||||
SecureHydrationWithChecksum,
|
|
||||||
HashDataPropertiesForDirtyDetection,
|
|
||||||
NormalizeServerMemoSansDataForJavaScript,
|
|
||||||
NormalizeComponentPropertiesForJavaScript,
|
|
||||||
};
|
|
||||||
|
|
||||||
class LivewireServiceProvider extends ServiceProvider
|
|
||||||
{
|
|
||||||
public function register()
|
|
||||||
{
|
|
||||||
$this->registerConfig();
|
|
||||||
$this->registerTestMacros();
|
|
||||||
$this->registerLivewireSingleton();
|
|
||||||
$this->registerComponentAutoDiscovery();
|
|
||||||
}
|
|
||||||
|
|
||||||
public function boot()
|
|
||||||
{
|
|
||||||
$this->registerViews();
|
|
||||||
$this->registerRoutes();
|
|
||||||
$this->registerCommands();
|
|
||||||
$this->registerFeatures();
|
|
||||||
$this->registerViewMacros();
|
|
||||||
$this->registerTagCompiler();
|
|
||||||
$this->registerPublishables();
|
|
||||||
$this->registerBladeDirectives();
|
|
||||||
$this->registerViewCompilerEngine();
|
|
||||||
$this->registerHydrationMiddleware();
|
|
||||||
$this->registerDisableBrowserCacheMiddleware();
|
|
||||||
|
|
||||||
// Bypass specific middlewares during Livewire requests.
|
|
||||||
// These are usually helpful during a typical request, but
|
|
||||||
// during Livewire requests, they can damage data properties.
|
|
||||||
if (! $this->attemptToBypassRequestModifyingMiddlewareViaCallbacks()) {
|
|
||||||
$this->bypassTheseMiddlewaresDuringLivewireRequests([
|
|
||||||
TrimStrings::class,
|
|
||||||
ConvertEmptyStringsToNull::class,
|
|
||||||
// If the app overrode "TrimStrings".
|
|
||||||
\App\Http\Middleware\TrimStrings::class,
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function registerLivewireSingleton()
|
|
||||||
{
|
|
||||||
$this->app->singleton(LivewireManager::class);
|
|
||||||
|
|
||||||
$this->app->alias(LivewireManager::class, 'livewire');
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function registerComponentAutoDiscovery()
|
|
||||||
{
|
|
||||||
// Rather than forcing users to register each individual component,
|
|
||||||
// we will auto-detect the component's class based on its kebab-cased
|
|
||||||
// alias. For instance: 'examples.foo' => App\Http\Livewire\Examples\Foo
|
|
||||||
|
|
||||||
// We will generate a manifest file so we don't have to do the lookup every time.
|
|
||||||
$defaultManifestPath = $this->app['livewire']->isRunningServerless()
|
|
||||||
? '/tmp/storage/bootstrap/cache/livewire-components.php'
|
|
||||||
: app()->bootstrapPath('cache/livewire-components.php');
|
|
||||||
|
|
||||||
$this->app->singleton(LivewireComponentsFinder::class, function () use ($defaultManifestPath) {
|
|
||||||
return new LivewireComponentsFinder(
|
|
||||||
new Filesystem,
|
|
||||||
config('livewire.manifest_path') ?: $defaultManifestPath,
|
|
||||||
ComponentParser::generatePathFromNamespace(
|
|
||||||
config('livewire.class_namespace')
|
|
||||||
)
|
|
||||||
);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function registerConfig()
|
|
||||||
{
|
|
||||||
$this->mergeConfigFrom(__DIR__.'/../../vendor/livewire/livewire/config/livewire.php', 'livewire');
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function registerViews()
|
|
||||||
{
|
|
||||||
// This is mainly for overriding Laravel's pagination views
|
|
||||||
// when a user applies the WithPagination trait to a component.
|
|
||||||
$this->loadViewsFrom(
|
|
||||||
__DIR__.'/../../vendor/livewire/livewire/src'.DIRECTORY_SEPARATOR.'views'.DIRECTORY_SEPARATOR.'pagination',
|
|
||||||
'livewire'
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function registerRoutes()
|
|
||||||
{
|
|
||||||
RouteFacade::post('/{company_id}/livewire/message/{name}', HttpConnectionHandler::class)
|
|
||||||
->name('livewire.message')
|
|
||||||
->middleware(config('livewire.middleware_group', ''));
|
|
||||||
|
|
||||||
RouteFacade::post('/{company_id}/livewire/upload-file', [FileUploadHandler::class, 'handle'])
|
|
||||||
->name('livewire.upload-file')
|
|
||||||
->middleware(config('livewire.middleware_group', ''));
|
|
||||||
|
|
||||||
RouteFacade::get('/{company_id}/livewire/preview-file/{filename}', [FilePreviewHandler::class, 'handle'])
|
|
||||||
->name('livewire.preview-file')
|
|
||||||
->middleware(config('livewire.middleware_group', ''));
|
|
||||||
|
|
||||||
RouteFacade::get('/livewire/livewire.js', [LivewireJavaScriptAssets::class, 'source']);
|
|
||||||
RouteFacade::get('/livewire/livewire.js.map', [LivewireJavaScriptAssets::class, 'maps']);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function registerCommands()
|
|
||||||
{
|
|
||||||
if (! $this->app->runningInConsole()) return;
|
|
||||||
|
|
||||||
$this->commands([
|
|
||||||
MakeLivewireCommand::class, // make:livewire
|
|
||||||
MakeCommand::class, // livewire:make
|
|
||||||
TouchCommand::class, // livewire:touch
|
|
||||||
CopyCommand::class, // livewire:copy
|
|
||||||
CpCommand::class, // livewire:cp
|
|
||||||
DeleteCommand::class, // livewire:delete
|
|
||||||
RmCommand::class, // livewire:rm
|
|
||||||
MoveCommand::class, // livewire:move
|
|
||||||
MvCommand::class, // livewire:mv
|
|
||||||
StubsCommand::class, // livewire:stubs
|
|
||||||
DiscoverCommand::class, // livewire:discover
|
|
||||||
S3CleanupCommand::class, // livewire:configure-s3-upload-cleanup
|
|
||||||
PublishCommand::class, // livewire:publish
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function registerTestMacros()
|
|
||||||
{
|
|
||||||
// Usage: $this->assertSeeLivewire('counter');
|
|
||||||
TestResponse::macro('assertSeeLivewire', function ($component) {
|
|
||||||
if (is_subclass_of($component, Component::class)) {
|
|
||||||
$component = $component::getName();
|
|
||||||
}
|
|
||||||
|
|
||||||
$escapedComponentName = trim(htmlspecialchars(json_encode(['name' => $component])), '{}');
|
|
||||||
|
|
||||||
\PHPUnit\Framework\Assert::assertStringContainsString(
|
|
||||||
$escapedComponentName,
|
|
||||||
$this->getContent(),
|
|
||||||
'Cannot find Livewire component ['.$component.'] rendered on page.'
|
|
||||||
);
|
|
||||||
|
|
||||||
return $this;
|
|
||||||
});
|
|
||||||
|
|
||||||
// Usage: $this->assertDontSeeLivewire('counter');
|
|
||||||
TestResponse::macro('assertDontSeeLivewire', function ($component) {
|
|
||||||
if (is_subclass_of($component, Component::class)) {
|
|
||||||
$component = $component::getName();
|
|
||||||
}
|
|
||||||
|
|
||||||
$escapedComponentName = trim(htmlspecialchars(json_encode(['name' => $component])), '{}');
|
|
||||||
|
|
||||||
\PHPUnit\Framework\Assert::assertStringNotContainsString(
|
|
||||||
$escapedComponentName,
|
|
||||||
$this->getContent(),
|
|
||||||
'Found Livewire component ['.$component.'] rendered on page.'
|
|
||||||
);
|
|
||||||
|
|
||||||
return $this;
|
|
||||||
});
|
|
||||||
|
|
||||||
if (class_exists(TestView::class)) {
|
|
||||||
TestView::macro('assertSeeLivewire', function ($component) {
|
|
||||||
if (is_subclass_of($component, Component::class)) {
|
|
||||||
$component = $component::getName();
|
|
||||||
}
|
|
||||||
|
|
||||||
$escapedComponentName = trim(htmlspecialchars(json_encode(['name' => $component])), '{}');
|
|
||||||
|
|
||||||
\PHPUnit\Framework\Assert::assertStringContainsString(
|
|
||||||
$escapedComponentName,
|
|
||||||
$this->rendered,
|
|
||||||
'Cannot find Livewire component ['.$component.'] rendered on page.'
|
|
||||||
);
|
|
||||||
|
|
||||||
return $this;
|
|
||||||
});
|
|
||||||
|
|
||||||
TestView::macro('assertDontSeeLivewire', function ($component) {
|
|
||||||
if (is_subclass_of($component, Component::class)) {
|
|
||||||
$component = $component::getName();
|
|
||||||
}
|
|
||||||
|
|
||||||
$escapedComponentName = trim(htmlspecialchars(json_encode(['name' => $component])), '{}');
|
|
||||||
|
|
||||||
\PHPUnit\Framework\Assert::assertStringNotContainsString(
|
|
||||||
$escapedComponentName,
|
|
||||||
$this->rendered,
|
|
||||||
'Found Livewire component ['.$component.'] rendered on page.'
|
|
||||||
);
|
|
||||||
|
|
||||||
return $this;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function registerViewMacros()
|
|
||||||
{
|
|
||||||
// Early versions of Laravel 7.x don't have this method.
|
|
||||||
if (method_exists(ComponentAttributeBag::class, 'macro')) {
|
|
||||||
ComponentAttributeBag::macro('wire', function ($name) {
|
|
||||||
$entries = head((array) $this->whereStartsWith('wire:'.$name));
|
|
||||||
|
|
||||||
$directive = head(array_keys($entries));
|
|
||||||
$value = head(array_values($entries));
|
|
||||||
|
|
||||||
return new WireDirective($name, $directive, $value);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
View::mixin(new ViewMacros);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function registerTagCompiler()
|
|
||||||
{
|
|
||||||
if (method_exists($this->app['blade.compiler'], 'precompiler')) {
|
|
||||||
$this->app['blade.compiler']->precompiler(function ($string) {
|
|
||||||
return app(LivewireTagCompiler::class)->compile($string);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function registerPublishables()
|
|
||||||
{
|
|
||||||
$this->publishesToGroups([
|
|
||||||
__DIR__.'/../../vendor/livewire/livewire/dist' => public_path('vendor/livewire'),
|
|
||||||
], ['livewire', 'livewire:assets']);
|
|
||||||
|
|
||||||
$this->publishesToGroups([
|
|
||||||
__DIR__.'/../../vendor/livewire/livewire/config/livewire.php' => base_path('config/livewire.php'),
|
|
||||||
], ['livewire', 'livewire:config']);
|
|
||||||
|
|
||||||
$this->publishesToGroups([
|
|
||||||
__DIR__.'/../../vendor/livewire/livewire/src/views/pagination' => $this->app->resourcePath('views/vendor/livewire'),
|
|
||||||
], ['livewire', 'livewire:pagination']);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function registerBladeDirectives()
|
|
||||||
{
|
|
||||||
Blade::directive('js', [LivewireBladeDirectives::class, 'js']);
|
|
||||||
Blade::directive('this', [LivewireBladeDirectives::class, 'this']);
|
|
||||||
Blade::directive('entangle', [LivewireBladeDirectives::class, 'entangle']);
|
|
||||||
Blade::directive('livewire', [LivewireBladeDirectives::class, 'livewire']);
|
|
||||||
Blade::directive('livewireStyles', [LivewireBladeDirectives::class, 'livewireStyles']);
|
|
||||||
Blade::directive('livewireScripts', [LivewireBladeDirectives::class, 'livewireScripts']);
|
|
||||||
|
|
||||||
// Uncomment to get @stacks working in Livewire.
|
|
||||||
// Blade::directive('stack', [LivewireBladeDirectives::class, 'stack']);
|
|
||||||
// Blade::directive('once', [LivewireBladeDirectives::class, 'once']);
|
|
||||||
// Blade::directive('endonce', [LivewireBladeDirectives::class, 'endonce']);
|
|
||||||
// Blade::directive('push', [LivewireBladeDirectives::class, 'push']);
|
|
||||||
// Blade::directive('endpush', [LivewireBladeDirectives::class, 'endpush']);
|
|
||||||
// Blade::directive('prepend', [LivewireBladeDirectives::class, 'prepend']);
|
|
||||||
// Blade::directive('endprepend', [LivewireBladeDirectives::class, 'endprepend']);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function registerViewCompilerEngine()
|
|
||||||
{
|
|
||||||
// This is a custom view engine that gets used when rendering
|
|
||||||
// Livewire views. Things like letting certain exceptions bubble
|
|
||||||
// to the handler, and registering custom directives like: "@this".
|
|
||||||
$this->app->make('view.engine.resolver')->register('blade', function () {
|
|
||||||
|
|
||||||
// If the application is using Ignition, make sure Livewire's view compiler
|
|
||||||
// uses a version that extends Ignition's so it can continue to report errors
|
|
||||||
// correctly. Don't change this class without first submitting a PR to Ignition.
|
|
||||||
if (class_exists('Facade\Ignition\IgnitionServiceProvider')) {
|
|
||||||
return new CompilerEngineForIgnition($this->app['blade.compiler']);
|
|
||||||
}
|
|
||||||
|
|
||||||
return new LivewireViewCompilerEngine($this->app['blade.compiler']);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function registerFeatures()
|
|
||||||
{
|
|
||||||
Features\SupportEvents::init();
|
|
||||||
Features\SupportStacks::init();
|
|
||||||
Features\SupportLocales::init();
|
|
||||||
Features\SupportChildren::init();
|
|
||||||
Features\SupportRedirects::init();
|
|
||||||
Features\SupportValidation::init();
|
|
||||||
Features\SupportBootMethod::init();
|
|
||||||
Features\SupportFileUploads::init();
|
|
||||||
Features\OptimizeRenderedDom::init();
|
|
||||||
Features\SupportFileDownloads::init();
|
|
||||||
Features\SupportActionReturns::init();
|
|
||||||
Features\SupportBrowserHistory::init();
|
|
||||||
Features\SupportComponentTraits::init();
|
|
||||||
Features\SupportRootElementTracking::init();
|
|
||||||
Features\SupportPostDeploymentInvalidation::init();
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function registerHydrationMiddleware()
|
|
||||||
{
|
|
||||||
LifecycleManager::registerHydrationMiddleware([
|
|
||||||
|
|
||||||
/* This is the core middleware stack of Livewire. It's important */
|
|
||||||
/* to understand that the request goes through each class by the */
|
|
||||||
/* order it is listed in this array, and is reversed on response */
|
|
||||||
/* */
|
|
||||||
/* ↓ Incoming Request Outgoing Response ↑ */
|
|
||||||
/* ↓ ↑ */
|
|
||||||
/* ↓ Secure Stuff ↑ */
|
|
||||||
/* ↓ */ SecureHydrationWithChecksum::class, /* --------------- ↑ */
|
|
||||||
/* ↓ */ NormalizeServerMemoSansDataForJavaScript::class, /* -- ↑ */
|
|
||||||
/* ↓ */ HashDataPropertiesForDirtyDetection::class, /* ------- ↑ */
|
|
||||||
/* ↓ ↑ */
|
|
||||||
/* ↓ Hydrate Stuff ↑ */
|
|
||||||
/* ↓ */ HydratePublicProperties::class, /* ------------------- ↑ */
|
|
||||||
/* ↓ */ CallPropertyHydrationHooks::class, /* ---------------- ↑ */
|
|
||||||
/* ↓ */ CallHydrationHooks::class, /* ------------------------ ↑ */
|
|
||||||
/* ↓ ↑ */
|
|
||||||
/* ↓ Update Stuff ↑ */
|
|
||||||
/* ↓ */ PerformDataBindingUpdates::class, /* ----------------- ↑ */
|
|
||||||
/* ↓ */ PerformActionCalls::class, /* ------------------------ ↑ */
|
|
||||||
/* ↓ */ PerformEventEmissions::class, /* --------------------- ↑ */
|
|
||||||
/* ↓ ↑ */
|
|
||||||
/* ↓ Output Stuff ↑ */
|
|
||||||
/* ↓ */ RenderView::class, /* -------------------------------- ↑ */
|
|
||||||
/* ↓ */ NormalizeComponentPropertiesForJavaScript::class, /* - ↑ */
|
|
||||||
|
|
||||||
]);
|
|
||||||
|
|
||||||
LifecycleManager::registerInitialDehydrationMiddleware([
|
|
||||||
|
|
||||||
/* Initial Response */
|
|
||||||
/* ↑ */ [SecureHydrationWithChecksum::class, 'dehydrate'],
|
|
||||||
/* ↑ */ [NormalizeServerMemoSansDataForJavaScript::class, 'dehydrate'],
|
|
||||||
/* ↑ */ [HydratePublicProperties::class, 'dehydrate'],
|
|
||||||
/* ↑ */ [CallPropertyHydrationHooks::class, 'dehydrate'],
|
|
||||||
/* ↑ */ [CallHydrationHooks::class, 'initialDehydrate'],
|
|
||||||
/* ↑ */ [RenderView::class, 'dehydrate'],
|
|
||||||
/* ↑ */ [NormalizeComponentPropertiesForJavaScript::class, 'dehydrate'],
|
|
||||||
|
|
||||||
]);
|
|
||||||
|
|
||||||
LifecycleManager::registerInitialHydrationMiddleware([
|
|
||||||
|
|
||||||
[CallHydrationHooks::class, 'initialHydrate'],
|
|
||||||
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function registerDisableBrowserCacheMiddleware()
|
|
||||||
{
|
|
||||||
$kernel = $this->app->make(\Illuminate\Contracts\Http\Kernel::class);
|
|
||||||
|
|
||||||
if ($kernel->hasMiddleware(DisableBrowserCache::class)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
$kernel->pushMiddleware(DisableBrowserCache::class);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function attemptToBypassRequestModifyingMiddlewareViaCallbacks()
|
|
||||||
{
|
|
||||||
if (method_exists(TrimStrings::class, 'skipWhen') &&
|
|
||||||
method_exists(ConvertEmptyStringsToNull::class, 'skipWhen')) {
|
|
||||||
TrimStrings::skipWhen(function () {
|
|
||||||
return Livewire::isProbablyLivewireRequest();
|
|
||||||
});
|
|
||||||
|
|
||||||
ConvertEmptyStringsToNull::skipWhen(function () {
|
|
||||||
return Livewire::isProbablyLivewireRequest();
|
|
||||||
});
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function bypassTheseMiddlewaresDuringLivewireRequests(array $middlewareToExclude)
|
|
||||||
{
|
|
||||||
if (! Livewire::isProbablyLivewireRequest()) return;
|
|
||||||
|
|
||||||
$kernel = $this->app->make(\Illuminate\Contracts\Http\Kernel::class);
|
|
||||||
|
|
||||||
invade($kernel)->middleware = array_diff(
|
|
||||||
invade($kernel)->middleware,
|
|
||||||
$middlewareToExclude
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function publishesToGroups(array $paths, $groups = null)
|
|
||||||
{
|
|
||||||
if (is_null($groups)) {
|
|
||||||
$this->publishes($paths);
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach ((array) $groups as $group) {
|
|
||||||
$this->publishes($paths, $group);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -0,0 +1,113 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Livewire\Mechanisms\HandleRequests;
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Route;
|
||||||
|
use Livewire\Features\SupportScriptsAndAssets\SupportScriptsAndAssets;
|
||||||
|
|
||||||
|
use function Livewire\trigger;
|
||||||
|
|
||||||
|
class HandleRequests
|
||||||
|
{
|
||||||
|
protected $updateRoute;
|
||||||
|
|
||||||
|
function register()
|
||||||
|
{
|
||||||
|
app()->singleton($this::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
function boot()
|
||||||
|
{
|
||||||
|
app($this::class)->setUpdateRoute(function ($handle) {
|
||||||
|
return Route::post('/livewire/update', $handle)->middleware('web');
|
||||||
|
});
|
||||||
|
|
||||||
|
$this->skipRequestPayloadTamperingMiddleware();
|
||||||
|
}
|
||||||
|
|
||||||
|
function getUpdateUri()
|
||||||
|
{
|
||||||
|
/*return (string) str(
|
||||||
|
route($this->updateRoute->getName(), [], false)
|
||||||
|
)->start('/');*/
|
||||||
|
|
||||||
|
// @akaunting change start
|
||||||
|
return (string) str(
|
||||||
|
route($this->updateRoute->getName())
|
||||||
|
);
|
||||||
|
// @akaunting change end
|
||||||
|
}
|
||||||
|
|
||||||
|
function skipRequestPayloadTamperingMiddleware()
|
||||||
|
{
|
||||||
|
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::skipWhen(function () {
|
||||||
|
return $this->isLivewireRequest();
|
||||||
|
});
|
||||||
|
|
||||||
|
\Illuminate\Foundation\Http\Middleware\TrimStrings::skipWhen(function () {
|
||||||
|
return $this->isLivewireRequest();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function setUpdateRoute($callback)
|
||||||
|
{
|
||||||
|
$route = $callback([self::class, 'handleUpdate']);
|
||||||
|
|
||||||
|
// Append `livewire.update` to the existing name, if any.
|
||||||
|
if (! str($route->getName())->endsWith('livewire.update')) {
|
||||||
|
$route->name('livewire.update');
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->updateRoute = $route;
|
||||||
|
}
|
||||||
|
|
||||||
|
function isLivewireRequest()
|
||||||
|
{
|
||||||
|
return request()->hasHeader('X-Livewire');
|
||||||
|
}
|
||||||
|
|
||||||
|
function isLivewireRoute()
|
||||||
|
{
|
||||||
|
// @todo: Rename this back to `isLivewireRequest` once the need for it in tests has been fixed.
|
||||||
|
$route = request()->route();
|
||||||
|
|
||||||
|
if (! $route) return false;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Check to see if route name ends with `livewire.update`, as if
|
||||||
|
* a custom update route is used and they add a name, then when
|
||||||
|
* we call `->name('livewire.update')` on the route it will
|
||||||
|
* suffix the existing name with `livewire.update`.
|
||||||
|
*/
|
||||||
|
return $route->named('*livewire.update');
|
||||||
|
}
|
||||||
|
|
||||||
|
function handleUpdate()
|
||||||
|
{
|
||||||
|
$components = request('components');
|
||||||
|
|
||||||
|
$responses = [];
|
||||||
|
|
||||||
|
foreach ($components as $component) {
|
||||||
|
$snapshot = json_decode($component['snapshot'], associative: true);
|
||||||
|
$updates = $component['updates'];
|
||||||
|
$calls = $component['calls'];
|
||||||
|
|
||||||
|
[ $snapshot, $effects ] = app('livewire')->update($snapshot, $updates, $calls);
|
||||||
|
|
||||||
|
$responses[] = [
|
||||||
|
'snapshot' => json_encode($snapshot),
|
||||||
|
'effects' => $effects,
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
$response = [
|
||||||
|
'components' => $responses,
|
||||||
|
'assets' => SupportScriptsAndAssets::getAssets(),
|
||||||
|
];
|
||||||
|
|
||||||
|
$finish = trigger('profile.response', $response);
|
||||||
|
|
||||||
|
return $finish($response);
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
||||||
{"/livewire.js":"/livewire.js?id=90730a3b0e7144480175"}
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
<x-layouts.admin.menu />
|
<x-layouts.admin.menu />
|
||||||
|
|
||||||
<!-- loading component will add this line -->
|
<!-- loading component will add this line -->
|
||||||
|
|
||||||
<div class="main-content xl:ltr:ml-64 xl:rtl:mr-64 transition-all ease-in-out" id="panel">
|
<div class="main-content xl:ltr:ml-64 xl:rtl:mr-64 transition-all ease-in-out" id="panel">
|
||||||
<div id="main-body">
|
<div id="main-body">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@
|
||||||
if (button.getAttribute("data-menu") !== menuRef && iconButton.children[0].textContent != "cancel") {
|
if (button.getAttribute("data-menu") !== menuRef && iconButton.children[0].textContent != "cancel") {
|
||||||
button.children[0].textContent = button.children[0].getAttribute("name");
|
button.children[0].textContent = button.children[0].getAttribute("name");
|
||||||
button.children[0].classList.remove("active"); // inactive icon
|
button.children[0].classList.remove("active"); // inactive icon
|
||||||
|
|
||||||
let split_id = button.children[0].id.split("-cancel");
|
let split_id = button.children[0].id.split("-cancel");
|
||||||
button.children[0].id = split_id[0];
|
button.children[0].id = split_id[0];
|
||||||
}
|
}
|
||||||
|
|
@ -167,7 +167,7 @@
|
||||||
} else {
|
} else {
|
||||||
menuClose.classList.add("ltr:-right-2", "rtl:right-12");
|
menuClose.classList.add("ltr:-right-2", "rtl:right-12");
|
||||||
}
|
}
|
||||||
|
|
||||||
sectionContent.classList.remove("xl:ltr:ml-0", "xl:rtl:mr-0");
|
sectionContent.classList.remove("xl:ltr:ml-0", "xl:rtl:mr-0");
|
||||||
sectionContent.classList.add("xl:ltr:ml-64", "xl:rtl:mr-64");
|
sectionContent.classList.add("xl:ltr:ml-64", "xl:rtl:mr-64");
|
||||||
//for hidden menu, show close icon scenario
|
//for hidden menu, show close icon scenario
|
||||||
|
|
@ -310,11 +310,4 @@
|
||||||
|
|
||||||
@livewireScripts
|
@livewireScripts
|
||||||
|
|
||||||
<script src="{{ asset('public/vendor/alpinejs/alpine.min.js') }}"></script>
|
@stack('scripts_end')
|
||||||
|
|
||||||
<!-- Livewire -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
window.livewire_app_url = {{ company_id() }};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
@stack('scripts_end')
|
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,4 @@
|
||||||
|
|
||||||
@stack('body_scripts')
|
@stack('body_scripts')
|
||||||
|
|
||||||
@livewireScripts
|
|
||||||
|
|
||||||
<script src="{{ asset('public/vendor/alpinejs/alpine.min.js') }}"></script>
|
|
||||||
|
|
||||||
@stack('scripts_end')
|
@stack('scripts_end')
|
||||||
|
|
|
||||||
|
|
@ -124,7 +124,7 @@
|
||||||
if (button.getAttribute("data-menu") !== menuRef && iconButton.children[0].textContent != "cancel") {
|
if (button.getAttribute("data-menu") !== menuRef && iconButton.children[0].textContent != "cancel") {
|
||||||
button.children[0].textContent = button.children[0].getAttribute("name");
|
button.children[0].textContent = button.children[0].getAttribute("name");
|
||||||
button.children[0].classList.remove("active"); // inactive icon
|
button.children[0].classList.remove("active"); // inactive icon
|
||||||
|
|
||||||
let split_id = button.children[0].id.split("-cancel");
|
let split_id = button.children[0].id.split("-cancel");
|
||||||
button.children[0].id = split_id[0];
|
button.children[0].id = split_id[0];
|
||||||
}
|
}
|
||||||
|
|
@ -143,7 +143,7 @@
|
||||||
mainContent.classList.add("hidden");
|
mainContent.classList.add("hidden");
|
||||||
toggleButton.classList.add("invisible");
|
toggleButton.classList.add("invisible");
|
||||||
menuClose.classList.remove("hidden");
|
menuClose.classList.remove("hidden");
|
||||||
|
|
||||||
//for hidden menu, show close icon scenario
|
//for hidden menu, show close icon scenario
|
||||||
if (sideBar.classList.contains("menu-list-hidden")) {
|
if (sideBar.classList.contains("menu-list-hidden")) {
|
||||||
menuClose.classList.add("ltr:-right-57", "rtl:right-59");
|
menuClose.classList.add("ltr:-right-57", "rtl:right-59");
|
||||||
|
|
@ -151,7 +151,7 @@
|
||||||
} else {
|
} else {
|
||||||
menuClose.classList.add("ltr:-right-2", "rtl:right-12");
|
menuClose.classList.add("ltr:-right-2", "rtl:right-12");
|
||||||
}
|
}
|
||||||
|
|
||||||
sectionContent.classList.remove("xl:ltr:ml-0", "xl:rtl:mr-0");
|
sectionContent.classList.remove("xl:ltr:ml-0", "xl:rtl:mr-0");
|
||||||
sectionContent.classList.add("xl:ltr:ml-64", "xl:rtl:mr-64");
|
sectionContent.classList.add("xl:ltr:ml-64", "xl:rtl:mr-64");
|
||||||
//for hidden menu, show close icon scenario
|
//for hidden menu, show close icon scenario
|
||||||
|
|
@ -268,11 +268,4 @@
|
||||||
|
|
||||||
@livewireScripts
|
@livewireScripts
|
||||||
|
|
||||||
<script src="{{ asset('public/vendor/alpinejs/alpine.min.js') }}"></script>
|
@stack('scripts_end')
|
||||||
|
|
||||||
<!-- Livewire -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
window.livewire_app_url = {{ company_id() }};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
@stack('scripts_end')
|
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
@stack('scripts_start')
|
@stack('scripts_start')
|
||||||
@stack('body_css')
|
|
||||||
|
|
||||||
@stack('body_stylesheet')
|
@stack('body_css')
|
||||||
|
|
||||||
@stack('body_js')
|
@stack('body_stylesheet')
|
||||||
|
|
||||||
@stack('body_scripts')
|
@stack('body_js')
|
||||||
|
|
||||||
|
@stack('body_scripts')
|
||||||
|
|
||||||
|
@livewireScripts
|
||||||
|
|
||||||
@livewireScripts
|
|
||||||
|
|
||||||
<script src="{{ asset('public/vendor/alpinejs/alpine.min.js') }}"></script>
|
|
||||||
@stack('scripts_end')
|
@stack('scripts_end')
|
||||||
|
|
|
||||||
|
|
@ -21,9 +21,4 @@
|
||||||
|
|
||||||
@livewireScripts
|
@livewireScripts
|
||||||
|
|
||||||
<!-- Livewire -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
window.livewire_app_url = {{ company_id() }};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
@stack('scripts_end')
|
@stack('scripts_end')
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
@stack('scripts_start')
|
@stack('scripts_start')
|
||||||
@stack('body_css')
|
|
||||||
|
|
||||||
@stack('body_stylesheet')
|
@stack('body_css')
|
||||||
|
|
||||||
@stack('body_js')
|
@stack('body_stylesheet')
|
||||||
|
|
||||||
@stack('body_scripts')
|
@stack('body_js')
|
||||||
|
|
||||||
|
@stack('body_scripts')
|
||||||
|
|
||||||
|
@livewireScripts
|
||||||
|
|
||||||
@livewireScripts
|
|
||||||
|
|
||||||
<script src="{{ asset('public/vendor/alpinejs/alpine.min.js') }}"></script>
|
|
||||||
@stack('scripts_end')
|
@stack('scripts_end')
|
||||||
|
|
|
||||||
|
|
@ -1,27 +1,29 @@
|
||||||
@stack('scripts_start')
|
@stack('scripts_start')
|
||||||
<!-- Core -->
|
|
||||||
<script src="{{ asset('public/vendor/js-cookie/js.cookie.js') }}"></script>
|
|
||||||
<script type="text/javascript" src="{{ asset('public/akaunting-js/generalAction.js') }}"></script>
|
|
||||||
<script type="text/javascript" src="{{ asset('public/akaunting-js/popper.js') }}"></script>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<!-- Core -->
|
||||||
var wizard_translations = {!! json_encode($translations) !!};
|
<script src="{{ asset('public/vendor/js-cookie/js.cookie.js') }}"></script>
|
||||||
var wizard_company = {!! json_encode($company) !!};
|
<script type="text/javascript" src="{{ asset('public/akaunting-js/generalAction.js') }}"></script>
|
||||||
var wizard_countries = {!! json_encode(trans('countries')) !!};
|
<script type="text/javascript" src="{{ asset('public/akaunting-js/popper.js') }}"></script>
|
||||||
var wizard_currencies = {!! json_encode($currencies) !!};
|
|
||||||
var wizard_currency_codes = {!! json_encode($currency_codes) !!};
|
|
||||||
var wizard_modules = {!! json_encode($modules) !!};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<script src="{{ asset('public/js/wizard/wizard.min.js?v=' . version('short')) }}"></script>
|
<script type="text/javascript">
|
||||||
|
var wizard_translations = {!! json_encode($translations) !!};
|
||||||
|
var wizard_company = {!! json_encode($company) !!};
|
||||||
|
var wizard_countries = {!! json_encode(trans('countries')) !!};
|
||||||
|
var wizard_currencies = {!! json_encode($currencies) !!};
|
||||||
|
var wizard_currency_codes = {!! json_encode($currency_codes) !!};
|
||||||
|
var wizard_modules = {!! json_encode($modules) !!};
|
||||||
|
</script>
|
||||||
|
|
||||||
@stack('body_css')
|
<script src="{{ asset('public/js/wizard/wizard.min.js?v=' . version('short')) }}"></script>
|
||||||
|
|
||||||
@stack('body_stylesheet')
|
@stack('body_css')
|
||||||
|
|
||||||
@stack('body_js')
|
@stack('body_stylesheet')
|
||||||
|
|
||||||
@stack('body_scripts')
|
@stack('body_js')
|
||||||
|
|
||||||
|
@stack('body_scripts')
|
||||||
|
|
||||||
|
@livewireScripts
|
||||||
|
|
||||||
@livewireScripts
|
|
||||||
@stack('scripts_end')
|
@stack('scripts_end')
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<input type="text" name="search" wire:model.debounce.500ms="keyword" class="text-black placeholder-light-gray bg-white disabled:bg-gray-200 focus:outline-none focus:ring-transparent focus:border-purple" autocomplete="off" placeholder="{{ trans('general.search') }}">
|
<input type="text" name="search" wire:model.live.debounce.500ms="keyword" class="text-black placeholder-light-gray bg-white disabled:bg-gray-200 focus:outline-none focus:ring-transparent focus:border-purple" autocomplete="off" placeholder="{{ trans('general.search') }}">
|
||||||
|
|
||||||
@if ($results)
|
@if ($results)
|
||||||
<div class="dropdown-menu dropdown-menu-xl dropdown-menu-center show" ref="menu">
|
<div class="dropdown-menu dropdown-menu-xl dropdown-menu-center show" ref="menu">
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<div wire:click.stop id="menu-neww" class="relative">
|
<div wire:click.stop id="menu-neww" class="relative">
|
||||||
<input type="text" name="neww_keyword" wire:model.debounce.500ms="keyword" placeholder="{{ trans('general.search_placeholder') }}" class="border-t-0 border-l-0 border-r-0 border-b border-gray-300 bg-transparent text-gray-500 text-sm mb-3 focus:outline-none focus:ring-transparent focus:border-purple placeholder-light-gray js-search-action">
|
<input type="text" name="neww_keyword" wire:model.live.debounce.500ms="keyword" placeholder="{{ trans('general.search_placeholder') }}" class="border-t-0 border-l-0 border-r-0 border-b border-gray-300 bg-transparent text-gray-500 text-sm mb-3 focus:outline-none focus:ring-transparent focus:border-purple placeholder-light-gray js-search-action">
|
||||||
|
|
||||||
@if ($keyword)
|
@if ($keyword)
|
||||||
<button type="button" class="absolute ltr:right-2 rtl:left-2 top-2 clear" wire:click="resetKeyword">
|
<button type="button" class="absolute ltr:right-2 rtl:left-2 top-2 clear" wire:click="resetKeyword">
|
||||||
|
|
@ -7,8 +7,10 @@
|
||||||
</button>
|
</button>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if ($neww)
|
@php $neww_menu = app('menu')->instance('neww'); @endphp
|
||||||
{!! menu('neww') !!}
|
|
||||||
|
@if ($neww_menu->count() > 0)
|
||||||
|
{!! $neww_menu->render() !!}
|
||||||
@else
|
@else
|
||||||
<ul class="flex flex-col justify-center">
|
<ul class="flex flex-col justify-center">
|
||||||
<li class="text-sm mb-5">
|
<li class="text-sm mb-5">
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<div wire:click.stop id="menu-notifications" class="relative">
|
<div wire:click.stop id="menu-notifications" class="relative">
|
||||||
<input type="text" name="notification_keyword" wire:model.debounce.500ms="keyword" placeholder="{{ trans('general.search_placeholder') }}" class="border-t-0 border-l-0 border-r-0 border-b border-gray-300 bg-transparent text-gray-500 text-sm mb-3 focus:outline-none focus:ring-transparent focus:border-purple placeholder-light-gray js-search-action">
|
<input type="text" name="notification_keyword" wire:model.live.debounce.500ms="keyword" placeholder="{{ trans('general.search_placeholder') }}" class="border-t-0 border-l-0 border-r-0 border-b border-gray-300 bg-transparent text-gray-500 text-sm mb-3 focus:outline-none focus:ring-transparent focus:border-purple placeholder-light-gray js-search-action">
|
||||||
|
|
||||||
@if ($keyword)
|
@if ($keyword)
|
||||||
<button type="button" class="absolute ltr:right-2 rtl:left-2 top-2 clear" wire:click="resetKeyword">
|
<button type="button" class="absolute ltr:right-2 rtl:left-2 top-2 clear" wire:click="resetKeyword">
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<div wire:click.stop id="menu-settings" class="relative">
|
<div wire:click.stop id="menu-settings" class="relative">
|
||||||
<input type="text" name="settings_keyword" wire:model.debounce.500ms="keyword" placeholder="{{ trans('general.search_placeholder') }}" class="border-t-0 border-l-0 border-r-0 border-b border-gray-300 bg-transparent text-gray-500 text-sm mb-3 focus:outline-none focus:ring-transparent focus:border-purple placeholder-light-gray js-search-action">
|
<input type="text" name="settings_keyword" wire:model.live.debounce.500ms="keyword" placeholder="{{ trans('general.search_placeholder') }}" class="border-t-0 border-l-0 border-r-0 border-b border-gray-300 bg-transparent text-gray-500 text-sm mb-3 focus:outline-none focus:ring-transparent focus:border-purple placeholder-light-gray js-search-action">
|
||||||
|
|
||||||
@if ($keyword)
|
@if ($keyword)
|
||||||
<button type="button" class="absolute ltr:right-2 rtl:left-2 top-2 clear" wire:click="resetKeyword">
|
<button type="button" class="absolute ltr:right-2 rtl:left-2 top-2 clear" wire:click="resetKeyword">
|
||||||
|
|
@ -7,8 +7,10 @@
|
||||||
</button>
|
</button>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if ($settings)
|
@php $settings_menu = app('menu')->instance('settings'); @endphp
|
||||||
{!! menu('settings') !!}
|
|
||||||
|
@if ($settings_menu->count() > 0)
|
||||||
|
{!! $settings_menu->render() !!}
|
||||||
@else
|
@else
|
||||||
<ul class="flex flex-col justify-center">
|
<ul class="flex flex-col justify-center">
|
||||||
<li class="text-sm mb-5">
|
<li class="text-sm mb-5">
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
<div>
|
||||||
|
</div>
|
||||||
|
|
@ -1,15 +1,27 @@
|
||||||
|
@php
|
||||||
|
if (! isset($scrollTo)) {
|
||||||
|
$scrollTo = 'body';
|
||||||
|
}
|
||||||
|
|
||||||
|
$scrollIntoViewJsSnippet = ($scrollTo !== false)
|
||||||
|
? <<<JS
|
||||||
|
(\$el.closest('{$scrollTo}') || document.querySelector('{$scrollTo}')).scrollIntoView()
|
||||||
|
JS
|
||||||
|
: '';
|
||||||
|
@endphp
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
@if ($paginator->hasPages())
|
@if ($paginator->hasPages())
|
||||||
<nav>
|
<nav>
|
||||||
<ul class="pagination">
|
<ul class="pagination">
|
||||||
{{-- Previous Page Link --}}
|
{{-- Previous Page Link --}}
|
||||||
@if ($paginator->onFirstPage())
|
@if ($paginator->onFirstPage())
|
||||||
<li class="font-medium mr-4 disabled" aria-disabled="true" aria-label="@lang('pagination.previous')">
|
<li class="page-item disabled" aria-disabled="true" aria-label="@lang('pagination.previous')">
|
||||||
<span class="page-link" aria-hidden="true">‹</span>
|
<span class="page-link" aria-hidden="true">‹</span>
|
||||||
</li>
|
</li>
|
||||||
@else
|
@else
|
||||||
<li class="font-medium mr-4">
|
<li class="page-item">
|
||||||
<button type="button" dusk="previousPage" class="page-link" wire:click="previousPage" wire:loading.attr="disabled" rel="prev" aria-label="@lang('pagination.previous')">‹</button>
|
<button type="button" dusk="previousPage{{ $paginator->getPageName() == 'page' ? '' : '.' . $paginator->getPageName() }}" class="page-link" wire:click="previousPage('{{ $paginator->getPageName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" rel="prev" aria-label="@lang('pagination.previous')">‹</button>
|
||||||
</li>
|
</li>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
@ -17,16 +29,16 @@
|
||||||
@foreach ($elements as $element)
|
@foreach ($elements as $element)
|
||||||
{{-- "Three Dots" Separator --}}
|
{{-- "Three Dots" Separator --}}
|
||||||
@if (is_string($element))
|
@if (is_string($element))
|
||||||
<li class="font-medium mr-4 disabled" aria-disabled="true"><span class="page-link">{{ $element }}</span></li>
|
<li class="page-item disabled" aria-disabled="true"><span class="page-link">{{ $element }}</span></li>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
{{-- Array Of Links --}}
|
{{-- Array Of Links --}}
|
||||||
@if (is_array($element))
|
@if (is_array($element))
|
||||||
@foreach ($element as $page => $url)
|
@foreach ($element as $page => $url)
|
||||||
@if ($page == $paginator->currentPage())
|
@if ($page == $paginator->currentPage())
|
||||||
<li class="font-medium mr-4 active" wire:key="paginator-page-{{ $page }}" aria-current="page"><span class="page-link">{{ $page }}</span></li>
|
<li class="page-item active" wire:key="paginator-{{ $paginator->getPageName() }}-page-{{ $page }}" aria-current="page"><span class="page-link">{{ $page }}</span></li>
|
||||||
@else
|
@else
|
||||||
<li class="font-medium mr-4" wire:key="paginator-page-{{ $page }}"><button type="button" class="page-link" wire:click="gotoPage({{ $page }})">{{ $page }}</button></li>
|
<li class="page-item" wire:key="paginator-{{ $paginator->getPageName() }}-page-{{ $page }}"><button type="button" class="page-link" wire:click="gotoPage({{ $page }}, '{{ $paginator->getPageName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}">{{ $page }}</button></li>
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
@endif
|
@endif
|
||||||
|
|
@ -34,11 +46,11 @@
|
||||||
|
|
||||||
{{-- Next Page Link --}}
|
{{-- Next Page Link --}}
|
||||||
@if ($paginator->hasMorePages())
|
@if ($paginator->hasMorePages())
|
||||||
<li class="font-medium mr-4">
|
<li class="page-item">
|
||||||
<button type="button" dusk="nextPage" class="page-link" wire:click="nextPage" wire:loading.attr="disabled" rel="next" aria-label="@lang('pagination.next')">›</button>
|
<button type="button" dusk="nextPage{{ $paginator->getPageName() == 'page' ? '' : '.' . $paginator->getPageName() }}" class="page-link" wire:click="nextPage('{{ $paginator->getPageName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" rel="next" aria-label="@lang('pagination.next')">›</button>
|
||||||
</li>
|
</li>
|
||||||
@else
|
@else
|
||||||
<li class="font-medium mr-4 disabled" aria-disabled="true" aria-label="@lang('pagination.next')">
|
<li class="page-item disabled" aria-disabled="true" aria-label="@lang('pagination.next')">
|
||||||
<span class="page-link" aria-hidden="true">›</span>
|
<span class="page-link" aria-hidden="true">›</span>
|
||||||
</li>
|
</li>
|
||||||
@endif
|
@endif
|
||||||
|
|
|
||||||
|
|
@ -1,25 +1,49 @@
|
||||||
|
@php
|
||||||
|
if (! isset($scrollTo)) {
|
||||||
|
$scrollTo = 'body';
|
||||||
|
}
|
||||||
|
|
||||||
|
$scrollIntoViewJsSnippet = ($scrollTo !== false)
|
||||||
|
? <<<JS
|
||||||
|
(\$el.closest('{$scrollTo}') || document.querySelector('{$scrollTo}')).scrollIntoView()
|
||||||
|
JS
|
||||||
|
: '';
|
||||||
|
@endphp
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
@if ($paginator->hasPages())
|
@if ($paginator->hasPages())
|
||||||
<nav>
|
<nav>
|
||||||
<ul class="pagination">
|
<ul class="pagination">
|
||||||
{{-- Previous Page Link --}}
|
{{-- Previous Page Link --}}
|
||||||
@if ($paginator->onFirstPage())
|
@if ($paginator->onFirstPage())
|
||||||
<li class="font-medium mr-4 disabled" aria-disabled="true">
|
<li class="page-item disabled" aria-disabled="true">
|
||||||
<span class="page-link">@lang('pagination.previous')</span>
|
<span class="page-link">@lang('pagination.previous')</span>
|
||||||
</li>
|
</li>
|
||||||
@else
|
@else
|
||||||
<li class="font-medium mr-4">
|
@if(method_exists($paginator,'getCursorName'))
|
||||||
<button type="button" class="page-link" wire:click="previousPage" wire:loading.attr="disabled" rel="prev">@lang('pagination.previous')</button>
|
<li class="page-item">
|
||||||
</li>
|
<button dusk="previousPage" type="button" class="page-link" wire:key="cursor-{{ $paginator->getCursorName() }}-{{ $paginator->previousCursor()->encode() }}" wire:click="setPage('{{$paginator->previousCursor()->encode()}}','{{ $paginator->getCursorName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" rel="prev">@lang('pagination.previous')</button>
|
||||||
|
</li>
|
||||||
|
@else
|
||||||
|
<li class="page-item">
|
||||||
|
<button type="button" dusk="previousPage{{ $paginator->getPageName() == 'page' ? '' : '.' . $paginator->getPageName() }}" class="page-link" wire:click="previousPage('{{ $paginator->getPageName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" rel="prev">@lang('pagination.previous')</button>
|
||||||
|
</li>
|
||||||
|
@endif
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
{{-- Next Page Link --}}
|
{{-- Next Page Link --}}
|
||||||
@if ($paginator->hasMorePages())
|
@if ($paginator->hasMorePages())
|
||||||
<li class="font-medium mr-4">
|
@if(method_exists($paginator,'getCursorName'))
|
||||||
<button type="button" class="page-link" wire:click="nextPage" wire:loading.attr="disabled" rel="next">@lang('pagination.next')</button>
|
<li class="page-item">
|
||||||
</li>
|
<button dusk="nextPage" type="button" class="page-link" wire:key="cursor-{{ $paginator->getCursorName() }}-{{ $paginator->nextCursor()->encode() }}" wire:click="setPage('{{$paginator->nextCursor()->encode()}}','{{ $paginator->getCursorName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" rel="next">@lang('pagination.next')</button>
|
||||||
|
</li>
|
||||||
|
@else
|
||||||
|
<li class="page-item">
|
||||||
|
<button type="button" dusk="nextPage{{ $paginator->getPageName() == 'page' ? '' : '.' . $paginator->getPageName() }}" class="page-link" wire:click="nextPage('{{ $paginator->getPageName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" rel="next">@lang('pagination.next')</button>
|
||||||
|
</li>
|
||||||
|
@endif
|
||||||
@else
|
@else
|
||||||
<li class="font-medium mr-4 disabled" aria-disabled="true">
|
<li class="page-item disabled" aria-disabled="true">
|
||||||
<span class="page-link">@lang('pagination.next')</span>
|
<span class="page-link">@lang('pagination.next')</span>
|
||||||
</li>
|
</li>
|
||||||
@endif
|
@endif
|
||||||
|
|
|
||||||
|
|
@ -1,27 +1,52 @@
|
||||||
|
@php
|
||||||
|
if (! isset($scrollTo)) {
|
||||||
|
$scrollTo = 'body';
|
||||||
|
}
|
||||||
|
|
||||||
|
$scrollIntoViewJsSnippet = ($scrollTo !== false)
|
||||||
|
? <<<JS
|
||||||
|
(\$el.closest('{$scrollTo}') || document.querySelector('{$scrollTo}')).scrollIntoView()
|
||||||
|
JS
|
||||||
|
: '';
|
||||||
|
@endphp
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
@if ($paginator->hasPages())
|
@if ($paginator->hasPages())
|
||||||
<nav role="navigation" aria-label="Pagination Navigation" class="flex justify-between">
|
<nav role="navigation" aria-label="Pagination Navigation" class="flex justify-between">
|
||||||
<span>
|
<span>
|
||||||
{{-- Previous Page Link --}}
|
{{-- Previous Page Link --}}
|
||||||
@if ($paginator->onFirstPage())
|
@if ($paginator->onFirstPage())
|
||||||
<span class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 rounded-md">
|
<span class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 rounded-md select-none">
|
||||||
{!! __('pagination.previous') !!}
|
{!! __('pagination.previous') !!}
|
||||||
</span>
|
</span>
|
||||||
@else
|
@else
|
||||||
<button wire:click="previousPage" wire:loading.attr="disabled" rel="prev" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
|
@if(method_exists($paginator,'getCursorName'))
|
||||||
{!! __('pagination.previous') !!}
|
<button type="button" dusk="previousPage" wire:key="cursor-{{ $paginator->getCursorName() }}-{{ $paginator->previousCursor()->encode() }}" wire:click="setPage('{{$paginator->previousCursor()->encode()}}','{{ $paginator->getCursorName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
|
||||||
</button>
|
{!! __('pagination.previous') !!}
|
||||||
|
</button>
|
||||||
|
@else
|
||||||
|
<button
|
||||||
|
type="button" wire:click="previousPage('{{ $paginator->getPageName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" dusk="previousPage{{ $paginator->getPageName() == 'page' ? '' : '.' . $paginator->getPageName() }}" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
|
||||||
|
{!! __('pagination.previous') !!}
|
||||||
|
</button>
|
||||||
|
@endif
|
||||||
@endif
|
@endif
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span>
|
<span>
|
||||||
{{-- Next Page Link --}}
|
{{-- Next Page Link --}}
|
||||||
@if ($paginator->hasMorePages())
|
@if ($paginator->hasMorePages())
|
||||||
<button wire:click="nextPage" wire:loading.attr="disabled" rel="next" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
|
@if(method_exists($paginator,'getCursorName'))
|
||||||
{!! __('pagination.next') !!}
|
<button type="button" dusk="nextPage" wire:key="cursor-{{ $paginator->getCursorName() }}-{{ $paginator->nextCursor()->encode() }}" wire:click="setPage('{{$paginator->nextCursor()->encode()}}','{{ $paginator->getCursorName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" class="relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
|
||||||
</button>
|
{!! __('pagination.next') !!}
|
||||||
|
</button>
|
||||||
|
@else
|
||||||
|
<button type="button" wire:click="nextPage('{{ $paginator->getPageName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" dusk="nextPage{{ $paginator->getPageName() == 'page' ? '' : '.' . $paginator->getPageName() }}" class="relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
|
||||||
|
{!! __('pagination.next') !!}
|
||||||
|
</button>
|
||||||
|
@endif
|
||||||
@else
|
@else
|
||||||
<span class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 rounded-md">
|
<span class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 rounded-md select-none">
|
||||||
{!! __('pagination.next') !!}
|
{!! __('pagination.next') !!}
|
||||||
</span>
|
</span>
|
||||||
@endif
|
@endif
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,26 @@
|
||||||
|
@php
|
||||||
|
if (! isset($scrollTo)) {
|
||||||
|
$scrollTo = 'body';
|
||||||
|
}
|
||||||
|
|
||||||
|
$scrollIntoViewJsSnippet = ($scrollTo !== false)
|
||||||
|
? <<<JS
|
||||||
|
(\$el.closest('{$scrollTo}') || document.querySelector('{$scrollTo}')).scrollIntoView()
|
||||||
|
JS
|
||||||
|
: '';
|
||||||
|
@endphp
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
@if ($paginator->hasPages())
|
@if ($paginator->hasPages())
|
||||||
<nav role="navigation" aria-label="Pagination Navigation" class="flex items-center justify-between">
|
<nav role="navigation" aria-label="Pagination Navigation" class="flex items-center justify-between">
|
||||||
<div class="flex justify-between flex-1 sm:hidden">
|
<div class="flex justify-between flex-1 sm:hidden">
|
||||||
<span>
|
<span>
|
||||||
@if ($paginator->onFirstPage())
|
@if ($paginator->onFirstPage())
|
||||||
<span class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 rounded-md">
|
<span class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 rounded-md select-none">
|
||||||
{!! __('pagination.previous') !!}
|
{!! __('pagination.previous') !!}
|
||||||
</span>
|
</span>
|
||||||
@else
|
@else
|
||||||
<button wire:click="previousPage" wire:loading.attr="disabled" dusk="previousPage.before" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
|
<button type="button" wire:click="previousPage('{{ $paginator->getPageName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" dusk="previousPage{{ $paginator->getPageName() == 'page' ? '' : '.' . $paginator->getPageName() }}.before" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
|
||||||
{!! __('pagination.previous') !!}
|
{!! __('pagination.previous') !!}
|
||||||
</button>
|
</button>
|
||||||
@endif
|
@endif
|
||||||
|
|
@ -16,11 +28,11 @@
|
||||||
|
|
||||||
<span>
|
<span>
|
||||||
@if ($paginator->hasMorePages())
|
@if ($paginator->hasMorePages())
|
||||||
<button wire:click="nextPage" wire:loading.attr="disabled" dusk="nextPage.before" class="relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
|
<button type="button" wire:click="nextPage('{{ $paginator->getPageName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" wire:loading.attr="disabled" dusk="nextPage{{ $paginator->getPageName() == 'page' ? '' : '.' . $paginator->getPageName() }}.before" class="relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
|
||||||
{!! __('pagination.next') !!}
|
{!! __('pagination.next') !!}
|
||||||
</button>
|
</button>
|
||||||
@else
|
@else
|
||||||
<span class="relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 rounded-md">
|
<span class="relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 rounded-md select-none">
|
||||||
{!! __('pagination.next') !!}
|
{!! __('pagination.next') !!}
|
||||||
</span>
|
</span>
|
||||||
@endif
|
@endif
|
||||||
|
|
@ -41,7 +53,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<span class="relative z-0 inline-flex shadow-sm">
|
<span class="relative z-0 inline-flex rounded-md shadow-sm">
|
||||||
<span>
|
<span>
|
||||||
{{-- Previous Page Link --}}
|
{{-- Previous Page Link --}}
|
||||||
@if ($paginator->onFirstPage())
|
@if ($paginator->onFirstPage())
|
||||||
|
|
@ -53,7 +65,7 @@
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
@else
|
@else
|
||||||
<button wire:click="previousPage" dusk="previousPage.after" rel="prev" class="relative inline-flex items-center px-2 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-l-md leading-5 hover:text-gray-400 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-500 transition ease-in-out duration-150" aria-label="{{ __('pagination.previous') }}">
|
<button type="button" wire:click="previousPage('{{ $paginator->getPageName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" dusk="previousPage{{ $paginator->getPageName() == 'page' ? '' : '.' . $paginator->getPageName() }}.after" rel="prev" class="relative inline-flex items-center px-2 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-l-md leading-5 hover:text-gray-400 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-500 transition ease-in-out duration-150" aria-label="{{ __('pagination.previous') }}">
|
||||||
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
|
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
|
||||||
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
|
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
|
||||||
</svg>
|
</svg>
|
||||||
|
|
@ -66,20 +78,20 @@
|
||||||
{{-- "Three Dots" Separator --}}
|
{{-- "Three Dots" Separator --}}
|
||||||
@if (is_string($element))
|
@if (is_string($element))
|
||||||
<span aria-disabled="true">
|
<span aria-disabled="true">
|
||||||
<span class="relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-700 bg-white border border-gray-300 cursor-default leading-5">{{ $element }}</span>
|
<span class="relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-700 bg-white border border-gray-300 cursor-default leading-5 select-none">{{ $element }}</span>
|
||||||
</span>
|
</span>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
{{-- Array Of Links --}}
|
{{-- Array Of Links --}}
|
||||||
@if (is_array($element))
|
@if (is_array($element))
|
||||||
@foreach ($element as $page => $url)
|
@foreach ($element as $page => $url)
|
||||||
<span wire:key="paginator-page{{ $page }}">
|
<span wire:key="paginator-{{ $paginator->getPageName() }}-page{{ $page }}">
|
||||||
@if ($page == $paginator->currentPage())
|
@if ($page == $paginator->currentPage())
|
||||||
<span aria-current="page">
|
<span aria-current="page">
|
||||||
<span class="relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5">{{ $page }}</span>
|
<span class="relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 select-none">{{ $page }}</span>
|
||||||
</span>
|
</span>
|
||||||
@else
|
@else
|
||||||
<button wire:click="gotoPage({{ $page }})" class="relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 hover:text-gray-500 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150" aria-label="{{ __('Go to page :page', ['page' => $page]) }}">
|
<button type="button" wire:click="gotoPage({{ $page }}, '{{ $paginator->getPageName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" class="relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 hover:text-gray-500 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150" aria-label="{{ __('Go to page :page', ['page' => $page]) }}">
|
||||||
{{ $page }}
|
{{ $page }}
|
||||||
</button>
|
</button>
|
||||||
@endif
|
@endif
|
||||||
|
|
@ -91,7 +103,7 @@
|
||||||
<span>
|
<span>
|
||||||
{{-- Next Page Link --}}
|
{{-- Next Page Link --}}
|
||||||
@if ($paginator->hasMorePages())
|
@if ($paginator->hasMorePages())
|
||||||
<button wire:click="nextPage" dusk="nextPage.after" rel="next" class="relative inline-flex items-center px-2 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-r-md leading-5 hover:text-gray-400 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-500 transition ease-in-out duration-150" aria-label="{{ __('pagination.next') }}">
|
<button type="button" wire:click="nextPage('{{ $paginator->getPageName() }}')" x-on:click="{{ $scrollIntoViewJsSnippet }}" dusk="nextPage{{ $paginator->getPageName() == 'page' ? '' : '.' . $paginator->getPageName() }}.after" rel="next" class="relative inline-flex items-center px-2 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-r-md leading-5 hover:text-gray-400 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-500 transition ease-in-out duration-150" aria-label="{{ __('pagination.next') }}">
|
||||||
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
|
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
|
||||||
<path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />
|
<path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />
|
||||||
</svg>
|
</svg>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Illuminate\Support\Facades\Route;
|
use Illuminate\Support\Facades\Route;
|
||||||
|
use Livewire\Livewire;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 'common' middleware applied to all routes
|
* 'common' middleware applied to all routes
|
||||||
|
|
@ -27,3 +28,7 @@ Route::group(['middleware' => 'auth'], function () {
|
||||||
Route::get('portal', 'Portal\Dashboard@index')->name('portal.dashboard');
|
Route::get('portal', 'Portal\Dashboard@index')->name('portal.dashboard');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Livewire::setUpdateRoute(function ($handle) {
|
||||||
|
return Route::post('livewire/update', $handle);
|
||||||
|
});
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Route;
|
||||||
|
use Livewire\Livewire;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 'guest' middleware applied to all routes
|
||||||
|
*
|
||||||
|
* @see \App\Providers\Route::mapGuestRoutes
|
||||||
|
* @see \modules\PaypalStandard\Routes\guest.php for module example
|
||||||
|
*/
|
||||||
|
|
||||||
|
Livewire::setScriptRoute(function ($handle) {
|
||||||
|
$base = request()->getBasePath();
|
||||||
|
|
||||||
|
return Route::get($base . '/vendor/livewire/livewire/dist/livewire.min.js', $handle);
|
||||||
|
});
|
||||||
Loading…
Reference in New Issue