diff --git a/composer.json b/composer.json index ee1d36e..4f790d9 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "kraenkvisuell/belongs-to-many-field": "^2.0", "manogi/nova-tiptap": "^2.0", "optimistdigital/nova-multiselect-field": "^2.1", - "optimistdigital/nova-sortable": "^2.2", + "kraenkvisuell/nova-sortable": "^3.0", "owenmelbz/nova-radio-field": "^1.0", "timothyasp/nova-color-field": "^1.0" }, diff --git a/composer.lock b/composer.lock index 360d8e3..e94fb22 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "9e17bb0215ae796a40514b1c43d4a62d", + "content-hash": "7eded3b30ed13fd769c3aa182e566487", "packages": [ { "name": "brick/math", @@ -362,16 +362,16 @@ }, { "name": "doctrine/dbal", - "version": "3.3.2", + "version": "3.3.3", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "35eae239ef515d55ebb24e9d4715cad09a4f58ed" + "reference": "82331b861727c15b1f457ef05a8729e508e7ead5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/35eae239ef515d55ebb24e9d4715cad09a4f58ed", - "reference": "35eae239ef515d55ebb24e9d4715cad09a4f58ed", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/82331b861727c15b1f457ef05a8729e508e7ead5", + "reference": "82331b861727c15b1f457ef05a8729e508e7ead5", "shasum": "" }, "require": { @@ -386,14 +386,14 @@ "require-dev": { "doctrine/coding-standard": "9.0.0", "jetbrains/phpstorm-stubs": "2021.1", - "phpstan/phpstan": "1.4.0", + "phpstan/phpstan": "1.4.6", "phpstan/phpstan-strict-rules": "^1.1", - "phpunit/phpunit": "9.5.11", + "phpunit/phpunit": "9.5.16", "psalm/plugin-phpunit": "0.16.1", "squizlabs/php_codesniffer": "3.6.2", "symfony/cache": "^5.2|^6.0", "symfony/console": "^2.7|^3.0|^4.0|^5.0|^6.0", - "vimeo/psalm": "4.16.1" + "vimeo/psalm": "4.22.0" }, "suggest": { "symfony/console": "For helpful console commands such as SQL execution and import of files." @@ -453,7 +453,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.3.2" + "source": "https://github.com/doctrine/dbal/tree/3.3.3" }, "funding": [ { @@ -469,7 +469,7 @@ "type": "tidelift" } ], - "time": "2022-02-05T16:33:45+00:00" + "time": "2022-03-09T15:39:50+00:00" }, { "name": "doctrine/deprecations", @@ -701,16 +701,16 @@ }, { "name": "doctrine/lexer", - "version": "1.2.2", + "version": "1.2.3", "source": { "type": "git", "url": "https://github.com/doctrine/lexer.git", - "reference": "9c50f840f257bbb941e6f4a0e94ccf5db5c3f76c" + "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/9c50f840f257bbb941e6f4a0e94ccf5db5c3f76c", - "reference": "9c50f840f257bbb941e6f4a0e94ccf5db5c3f76c", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229", "shasum": "" }, "require": { @@ -718,7 +718,7 @@ }, "require-dev": { "doctrine/coding-standard": "^9.0", - "phpstan/phpstan": "1.3", + "phpstan/phpstan": "^1.3", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", "vimeo/psalm": "^4.11" }, @@ -757,7 +757,7 @@ ], "support": { "issues": "https://github.com/doctrine/lexer/issues", - "source": "https://github.com/doctrine/lexer/tree/1.2.2" + "source": "https://github.com/doctrine/lexer/tree/1.2.3" }, "funding": [ { @@ -773,7 +773,7 @@ "type": "tidelift" } ], - "time": "2022-01-12T08:27:12+00:00" + "time": "2022-02-28T11:07:21+00:00" }, { "name": "dragonmantank/cron-expression", @@ -1065,18 +1065,73 @@ }, "time": "2021-05-17T10:41:43+00:00" }, + { + "name": "kraenkvisuell/nova-sortable", + "version": "v3.0.0", + "source": { + "type": "git", + "url": "https://github.com/kraenkvisuell/nova-sortable.git", + "reference": "a6297dc44b868e16ab74a9cfc1364016a5484a78" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kraenkvisuell/nova-sortable/zipball/a6297dc44b868e16ab74a9cfc1364016a5484a78", + "reference": "a6297dc44b868e16ab74a9cfc1364016a5484a78", + "shasum": "" + }, + "require": { + "laravel/nova": "^3.0", + "optimistdigital/nova-translations-loader": "^3.0.0", + "php": ">=7.3.0", + "spatie/eloquent-sortable": "^3.10.0|^4.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "KraenkVisuell\\NovaSortable\\ToolServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "KraenkVisuell\\NovaSortable\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag & drop.", + "keywords": [ + "eloquent-sortable", + "kraenkvisuell", + "laravel", + "nova" + ], + "support": { + "source": "https://github.com/kraenkvisuell/nova-sortable/tree/v3.0.0" + }, + "funding": [ + { + "url": "https://github.com/kraenkvisuell", + "type": "github" + } + ], + "time": "2022-03-11T12:19:34+00:00" + }, { "name": "laravel/framework", - "version": "v8.83.1", + "version": "v8.83.4", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "bddba117f8bce2f3c9875ca1ca375a96350d0f4d" + "reference": "97a549f1a83cfb32dab1eecab4c4d40a984a72b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/bddba117f8bce2f3c9875ca1ca375a96350d0f4d", - "reference": "bddba117f8bce2f3c9875ca1ca375a96350d0f4d", + "url": "https://api.github.com/repos/laravel/framework/zipball/97a549f1a83cfb32dab1eecab4c4d40a984a72b5", + "reference": "97a549f1a83cfb32dab1eecab4c4d40a984a72b5", "shasum": "" }, "require": { @@ -1236,7 +1291,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2022-02-15T15:05:20+00:00" + "time": "2022-03-08T16:12:54+00:00" }, { "name": "laravel/nova", @@ -1398,16 +1453,16 @@ }, { "name": "laravel/ui", - "version": "v3.4.4", + "version": "v3.4.5", "source": { "type": "git", "url": "https://github.com/laravel/ui.git", - "reference": "1596de849ecafc0bcc891389da939012b67f9d5c" + "reference": "f11d295de1508c5bb56206a620b00b6616de414c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/ui/zipball/1596de849ecafc0bcc891389da939012b67f9d5c", - "reference": "1596de849ecafc0bcc891389da939012b67f9d5c", + "url": "https://api.github.com/repos/laravel/ui/zipball/f11d295de1508c5bb56206a620b00b6616de414c", + "reference": "f11d295de1508c5bb56206a620b00b6616de414c", "shasum": "" }, "require": { @@ -1453,22 +1508,22 @@ "ui" ], "support": { - "source": "https://github.com/laravel/ui/tree/v3.4.4" + "source": "https://github.com/laravel/ui/tree/v3.4.5" }, - "time": "2022-02-10T22:38:33+00:00" + "time": "2022-02-21T14:59:16+00:00" }, { "name": "league/commonmark", - "version": "2.2.2", + "version": "2.2.3", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "13d7751377732637814f0cda0e3f6d3243f9f769" + "reference": "47b015bc4e50fd4438c1ffef6139a1fb65d2ab71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/13d7751377732637814f0cda0e3f6d3243f9f769", - "reference": "13d7751377732637814f0cda0e3f6d3243f9f769", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/47b015bc4e50fd4438c1ffef6139a1fb65d2ab71", + "reference": "47b015bc4e50fd4438c1ffef6139a1fb65d2ab71", "shasum": "" }, "require": { @@ -1559,7 +1614,7 @@ "type": "tidelift" } ], - "time": "2022-02-13T15:00:57+00:00" + "time": "2022-02-26T21:24:45+00:00" }, { "name": "league/config", @@ -1948,16 +2003,16 @@ }, { "name": "nesbot/carbon", - "version": "2.56.0", + "version": "2.57.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "626ec8cbb724cd3c3400c3ed8f730545b744e3f4" + "reference": "4a54375c21eea4811dbd1149fe6b246517554e78" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/626ec8cbb724cd3c3400c3ed8f730545b744e3f4", - "reference": "626ec8cbb724cd3c3400c3ed8f730545b744e3f4", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/4a54375c21eea4811dbd1149fe6b246517554e78", + "reference": "4a54375c21eea4811dbd1149fe6b246517554e78", "shasum": "" }, "require": { @@ -2040,7 +2095,7 @@ "type": "tidelift" } ], - "time": "2022-01-21T17:08:38+00:00" + "time": "2022-02-13T18:13:33+00:00" }, { "name": "nette/schema", @@ -2217,12 +2272,12 @@ } }, "autoload": { - "psr-4": { - "Opis\\Closure\\": "src/" - }, "files": [ "functions.php" - ] + ], + "psr-4": { + "Opis\\Closure\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2321,62 +2376,6 @@ ], "time": "2021-12-13T11:05:31+00:00" }, - { - "name": "optimistdigital/nova-sortable", - "version": "2.4.3", - "source": { - "type": "git", - "url": "https://github.com/optimistdigital/nova-sortable.git", - "reference": "2ffcfc337e83defee81d3a87e0118de9fc8778e8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/optimistdigital/nova-sortable/zipball/2ffcfc337e83defee81d3a87e0118de9fc8778e8", - "reference": "2ffcfc337e83defee81d3a87e0118de9fc8778e8", - "shasum": "" - }, - "require": { - "laravel/nova": "^3.0", - "optimistdigital/nova-translations-loader": "^3.0.0", - "php": ">=7.3.0", - "spatie/eloquent-sortable": "^3.10.0|^4.0" - }, - "type": "library", - "extra": { - "laravel": { - "providers": [ - "OptimistDigital\\NovaSortable\\ToolServiceProvider" - ] - } - }, - "autoload": { - "psr-4": { - "OptimistDigital\\NovaSortable\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag & drop.", - "keywords": [ - "eloquent-sortable", - "laravel", - "nova", - "optimistdigital" - ], - "support": { - "issues": "https://github.com/optimistdigital/nova-sortable/issues", - "source": "https://github.com/optimistdigital/nova-sortable/tree/2.4.3" - }, - "funding": [ - { - "url": "https://github.com/optimistdigital", - "type": "github" - } - ], - "time": "2022-01-14T12:14:41+00:00" - }, { "name": "optimistdigital/nova-tailwind", "version": "1.1.3", @@ -2993,12 +2992,12 @@ } }, "autoload": { - "psr-4": { - "Ramsey\\Uuid\\": "src/" - }, "files": [ "src/functions.php" - ] + ], + "psr-4": { + "Ramsey\\Uuid\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3101,16 +3100,16 @@ }, { "name": "spatie/laravel-package-tools", - "version": "1.11.1", + "version": "1.11.2", "source": { "type": "git", "url": "https://github.com/spatie/laravel-package-tools.git", - "reference": "e933f14dae0b31b1f6a45aa769dbd97ce781031a" + "reference": "16a8de828e7f1f32d580c667e1de5bf2943abd6b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/e933f14dae0b31b1f6a45aa769dbd97ce781031a", - "reference": "e933f14dae0b31b1f6a45aa769dbd97ce781031a", + "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/16a8de828e7f1f32d580c667e1de5bf2943abd6b", + "reference": "16a8de828e7f1f32d580c667e1de5bf2943abd6b", "shasum": "" }, "require": { @@ -3148,7 +3147,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-package-tools/issues", - "source": "https://github.com/spatie/laravel-package-tools/tree/1.11.1" + "source": "https://github.com/spatie/laravel-package-tools/tree/1.11.2" }, "funding": [ { @@ -3156,7 +3155,7 @@ "type": "github" } ], - "time": "2022-02-16T11:14:09+00:00" + "time": "2022-02-22T08:55:13+00:00" }, { "name": "spatie/once", @@ -3298,16 +3297,16 @@ }, { "name": "symfony/console", - "version": "v5.4.3", + "version": "v5.4.5", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "a2a86ec353d825c75856c6fd14fac416a7bdb6b8" + "reference": "d8111acc99876953f52fe16d4c50eb60940d49ad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/a2a86ec353d825c75856c6fd14fac416a7bdb6b8", - "reference": "a2a86ec353d825c75856c6fd14fac416a7bdb6b8", + "url": "https://api.github.com/repos/symfony/console/zipball/d8111acc99876953f52fe16d4c50eb60940d49ad", + "reference": "d8111acc99876953f52fe16d4c50eb60940d49ad", "shasum": "" }, "require": { @@ -3377,7 +3376,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.3" + "source": "https://github.com/symfony/console/tree/v5.4.5" }, "funding": [ { @@ -3393,7 +3392,7 @@ "type": "tidelift" } ], - "time": "2022-01-26T16:28:35+00:00" + "time": "2022-02-24T12:45:35+00:00" }, { "name": "symfony/css-selector", @@ -3825,16 +3824,16 @@ }, { "name": "symfony/http-foundation", - "version": "v5.4.3", + "version": "v5.4.6", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "ef409ff341a565a3663157d4324536746d49a0c7" + "reference": "34e89bc147633c0f9dd6caaaf56da3b806a21465" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/ef409ff341a565a3663157d4324536746d49a0c7", - "reference": "ef409ff341a565a3663157d4324536746d49a0c7", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/34e89bc147633c0f9dd6caaaf56da3b806a21465", + "reference": "34e89bc147633c0f9dd6caaaf56da3b806a21465", "shasum": "" }, "require": { @@ -3878,7 +3877,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v5.4.3" + "source": "https://github.com/symfony/http-foundation/tree/v5.4.6" }, "funding": [ { @@ -3894,20 +3893,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2022-03-05T21:03:43+00:00" }, { "name": "symfony/http-kernel", - "version": "v5.4.4", + "version": "v5.4.6", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "49f40347228c773688a0488feea0175aa7f4d268" + "reference": "d41f29ae9af1b5f40c7ebcddf09082953229411d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/49f40347228c773688a0488feea0175aa7f4d268", - "reference": "49f40347228c773688a0488feea0175aa7f4d268", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/d41f29ae9af1b5f40c7ebcddf09082953229411d", + "reference": "d41f29ae9af1b5f40c7ebcddf09082953229411d", "shasum": "" }, "require": { @@ -3990,7 +3989,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v5.4.4" + "source": "https://github.com/symfony/http-kernel/tree/v5.4.6" }, "funding": [ { @@ -4006,20 +4005,20 @@ "type": "tidelift" } ], - "time": "2022-01-29T18:08:07+00:00" + "time": "2022-03-05T21:14:51+00:00" }, { "name": "symfony/intl", - "version": "v6.0.3", + "version": "v6.0.5", "source": { "type": "git", "url": "https://github.com/symfony/intl.git", - "reference": "eeddf6ca4cb4767e554c82182d1ddd5a7ff94f4d" + "reference": "aa9dd5a6b4b75a4b3dcd002ae588f9792f33defe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/intl/zipball/eeddf6ca4cb4767e554c82182d1ddd5a7ff94f4d", - "reference": "eeddf6ca4cb4767e554c82182d1ddd5a7ff94f4d", + "url": "https://api.github.com/repos/symfony/intl/zipball/aa9dd5a6b4b75a4b3dcd002ae588f9792f33defe", + "reference": "aa9dd5a6b4b75a4b3dcd002ae588f9792f33defe", "shasum": "" }, "require": { @@ -4070,7 +4069,7 @@ "localization" ], "support": { - "source": "https://github.com/symfony/intl/tree/v6.0.3" + "source": "https://github.com/symfony/intl/tree/v6.0.5" }, "funding": [ { @@ -4086,7 +4085,7 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2022-02-27T08:47:28+00:00" }, { "name": "symfony/mime", @@ -4173,7 +4172,7 @@ }, { "name": "symfony/polyfill-ctype", - "version": "v1.24.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", @@ -4205,12 +4204,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - }, "files": [ "bootstrap.php" - ] + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4235,7 +4234,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.25.0" }, "funding": [ { @@ -4255,7 +4254,7 @@ }, { "name": "symfony/polyfill-iconv", - "version": "v1.24.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-iconv.git", @@ -4318,7 +4317,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-iconv/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-iconv/tree/v1.25.0" }, "funding": [ { @@ -4338,7 +4337,7 @@ }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.24.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", @@ -4399,7 +4398,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.25.0" }, "funding": [ { @@ -4419,7 +4418,7 @@ }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.24.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", @@ -4486,7 +4485,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.25.0" }, "funding": [ { @@ -4506,7 +4505,7 @@ }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.24.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", @@ -4570,7 +4569,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.25.0" }, "funding": [ { @@ -4590,7 +4589,7 @@ }, { "name": "symfony/polyfill-mbstring", - "version": "v1.24.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", @@ -4653,7 +4652,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.25.0" }, "funding": [ { @@ -4673,7 +4672,7 @@ }, { "name": "symfony/polyfill-php72", - "version": "v1.24.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php72.git", @@ -4729,7 +4728,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-php72/tree/v1.25.0" }, "funding": [ { @@ -4749,7 +4748,7 @@ }, { "name": "symfony/polyfill-php73", - "version": "v1.24.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", @@ -4808,7 +4807,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.25.0" }, "funding": [ { @@ -4828,16 +4827,16 @@ }, { "name": "symfony/polyfill-php80", - "version": "v1.24.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "57b712b08eddb97c762a8caa32c84e037892d2e9" + "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/57b712b08eddb97c762a8caa32c84e037892d2e9", - "reference": "57b712b08eddb97c762a8caa32c84e037892d2e9", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/4407588e0d3f1f52efb65fbe92babe41f37fe50c", + "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c", "shasum": "" }, "require": { @@ -4891,7 +4890,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.25.0" }, "funding": [ { @@ -4907,11 +4906,11 @@ "type": "tidelift" } ], - "time": "2021-09-13T13:58:33+00:00" + "time": "2022-03-04T08:16:47+00:00" }, { "name": "symfony/polyfill-php81", - "version": "v1.24.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php81.git", @@ -4970,7 +4969,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.25.0" }, "funding": [ { @@ -4990,16 +4989,16 @@ }, { "name": "symfony/process", - "version": "v5.4.3", + "version": "v5.4.5", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "553f50487389a977eb31cf6b37faae56da00f753" + "reference": "95440409896f90a5f85db07a32b517ecec17fa4c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/553f50487389a977eb31cf6b37faae56da00f753", - "reference": "553f50487389a977eb31cf6b37faae56da00f753", + "url": "https://api.github.com/repos/symfony/process/zipball/95440409896f90a5f85db07a32b517ecec17fa4c", + "reference": "95440409896f90a5f85db07a32b517ecec17fa4c", "shasum": "" }, "require": { @@ -5032,7 +5031,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.4.3" + "source": "https://github.com/symfony/process/tree/v5.4.5" }, "funding": [ { @@ -5048,7 +5047,7 @@ "type": "tidelift" } ], - "time": "2022-01-26T16:28:35+00:00" + "time": "2022-01-30T18:16:22+00:00" }, { "name": "symfony/routing", @@ -5254,12 +5253,12 @@ }, "type": "library", "autoload": { - "psr-4": { - "Symfony\\Component\\String\\": "" - }, "files": [ "Resources/functions.php" ], + "psr-4": { + "Symfony\\Component\\String\\": "" + }, "exclude-from-classmap": [ "/Tests/" ] @@ -5309,16 +5308,16 @@ }, { "name": "symfony/translation", - "version": "v6.0.3", + "version": "v6.0.6", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "71bb15335798f8c4da110911bcf2d2fead7a430d" + "reference": "f6639cb9b5e0c57fe31e3263b900a77eedb0c908" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/71bb15335798f8c4da110911bcf2d2fead7a430d", - "reference": "71bb15335798f8c4da110911bcf2d2fead7a430d", + "url": "https://api.github.com/repos/symfony/translation/zipball/f6639cb9b5e0c57fe31e3263b900a77eedb0c908", + "reference": "f6639cb9b5e0c57fe31e3263b900a77eedb0c908", "shasum": "" }, "require": { @@ -5384,7 +5383,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v6.0.3" + "source": "https://github.com/symfony/translation/tree/v6.0.6" }, "funding": [ { @@ -5400,7 +5399,7 @@ "type": "tidelift" } ], - "time": "2022-01-07T00:29:03+00:00" + "time": "2022-03-02T12:58:14+00:00" }, { "name": "symfony/translation-contracts", @@ -5482,16 +5481,16 @@ }, { "name": "symfony/var-dumper", - "version": "v5.4.3", + "version": "v5.4.6", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "970a01f208bf895c5f327ba40b72288da43adec4" + "reference": "294e9da6e2e0dd404e983daa5aa74253d92c05d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/970a01f208bf895c5f327ba40b72288da43adec4", - "reference": "970a01f208bf895c5f327ba40b72288da43adec4", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/294e9da6e2e0dd404e983daa5aa74253d92c05d0", + "reference": "294e9da6e2e0dd404e983daa5aa74253d92c05d0", "shasum": "" }, "require": { @@ -5551,7 +5550,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v5.4.3" + "source": "https://github.com/symfony/var-dumper/tree/v5.4.6" }, "funding": [ { @@ -5567,7 +5566,7 @@ "type": "tidelift" } ], - "time": "2022-01-17T16:30:37+00:00" + "time": "2022-03-02T12:42:23+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -5885,29 +5884,30 @@ "packages-dev": [ { "name": "doctrine/instantiator", - "version": "1.4.0", + "version": "1.4.1", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b" + "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b", - "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/10dcfce151b967d20fde1b34ae6640712c3891bc", + "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^8.0", + "doctrine/coding-standard": "^9", "ext-pdo": "*", "ext-phar": "*", - "phpbench/phpbench": "^0.13 || 1.0.0-alpha2", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.22" }, "type": "library", "autoload": { @@ -5934,7 +5934,7 @@ ], "support": { "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.4.0" + "source": "https://github.com/doctrine/instantiator/tree/1.4.1" }, "funding": [ { @@ -5950,7 +5950,7 @@ "type": "tidelift" } ], - "time": "2020-11-10T18:47:58+00:00" + "time": "2022-03-03T08:28:38+00:00" }, { "name": "fakerphp/faker", @@ -6259,28 +6259,29 @@ }, { "name": "myclabs/deep-copy", - "version": "1.10.2", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220" + "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/776f831124e9c62e1a2c601ecc52e776d8bb7220", - "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614", + "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, - "replace": { - "myclabs/deep-copy": "self.version" + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" }, "require-dev": { - "doctrine/collections": "^1.0", - "doctrine/common": "^2.6", - "phpunit/phpunit": "^7.1" + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" }, "type": "library", "autoload": { @@ -6305,7 +6306,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2" + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0" }, "funding": [ { @@ -6313,7 +6314,7 @@ "type": "tidelift" } ], - "time": "2020-11-13T09:40:50+00:00" + "time": "2022-03-03T13:19:32+00:00" }, { "name": "nikic/php-parser", @@ -6588,16 +6589,16 @@ }, { "name": "phar-io/version", - "version": "3.1.1", + "version": "3.2.1", "source": { "type": "git", "url": "https://github.com/phar-io/version.git", - "reference": "15a90844ad40f127afd244c0cad228de2a80052a" + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/15a90844ad40f127afd244c0cad228de2a80052a", - "reference": "15a90844ad40f127afd244c0cad228de2a80052a", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", "shasum": "" }, "require": { @@ -6633,9 +6634,9 @@ "description": "Library for handling version information and constraints", "support": { "issues": "https://github.com/phar-io/version/issues", - "source": "https://github.com/phar-io/version/tree/3.1.1" + "source": "https://github.com/phar-io/version/tree/3.2.1" }, - "time": "2022-02-07T21:56:48+00:00" + "time": "2022-02-21T01:04:05+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -6866,16 +6867,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.10", + "version": "9.2.15", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "d5850aaf931743067f4bfc1ae4cbd06468400687" + "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/d5850aaf931743067f4bfc1ae4cbd06468400687", - "reference": "d5850aaf931743067f4bfc1ae4cbd06468400687", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2e9da11878c4202f97915c1cb4bb1ca318a63f5f", + "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f", "shasum": "" }, "require": { @@ -6931,7 +6932,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.10" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.15" }, "funding": [ { @@ -6939,7 +6940,7 @@ "type": "github" } ], - "time": "2021-12-05T09:12:13+00:00" + "time": "2022-03-07T09:28:20+00:00" }, { "name": "phpunit/php-file-iterator", @@ -7184,16 +7185,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.13", + "version": "9.5.18", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "597cb647654ede35e43b137926dfdfef0fb11743" + "reference": "1b5856028273bfd855e60a887278857d872ec67a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/597cb647654ede35e43b137926dfdfef0fb11743", - "reference": "597cb647654ede35e43b137926dfdfef0fb11743", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/1b5856028273bfd855e60a887278857d872ec67a", + "reference": "1b5856028273bfd855e60a887278857d872ec67a", "shasum": "" }, "require": { @@ -7209,7 +7210,7 @@ "phar-io/version": "^3.0.2", "php": ">=7.3", "phpspec/prophecy": "^1.12.1", - "phpunit/php-code-coverage": "^9.2.7", + "phpunit/php-code-coverage": "^9.2.13", "phpunit/php-file-iterator": "^3.0.5", "phpunit/php-invoker": "^3.1.1", "phpunit/php-text-template": "^2.0.3", @@ -7271,7 +7272,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.13" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.18" }, "funding": [ { @@ -7283,7 +7284,7 @@ "type": "github" } ], - "time": "2022-01-24T07:33:35+00:00" + "time": "2022-03-08T06:52:28+00:00" }, { "name": "pimple/pimple", @@ -8518,16 +8519,16 @@ }, { "name": "spatie/laravel-ray", - "version": "1.29.3", + "version": "1.29.4", "source": { "type": "git", "url": "https://github.com/spatie/laravel-ray.git", - "reference": "440cda76812a7770e6684d19683444c608e135e4" + "reference": "3cace74c812469e6e569dacffc46653457f9c2cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-ray/zipball/440cda76812a7770e6684d19683444c608e135e4", - "reference": "440cda76812a7770e6684d19683444c608e135e4", + "url": "https://api.github.com/repos/spatie/laravel-ray/zipball/3cace74c812469e6e569dacffc46653457f9c2cc", + "reference": "3cace74c812469e6e569dacffc46653457f9c2cc", "shasum": "" }, "require": { @@ -8586,7 +8587,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-ray/issues", - "source": "https://github.com/spatie/laravel-ray/tree/1.29.3" + "source": "https://github.com/spatie/laravel-ray/tree/1.29.4" }, "funding": [ { @@ -8598,7 +8599,7 @@ "type": "other" } ], - "time": "2022-02-15T14:52:59+00:00" + "time": "2022-02-22T15:18:57+00:00" }, { "name": "spatie/macroable", @@ -8652,16 +8653,16 @@ }, { "name": "spatie/ray", - "version": "1.33.2", + "version": "1.34.1", "source": { "type": "git", "url": "https://github.com/spatie/ray.git", - "reference": "28f6bd88e2db0fada88a7999c8ee0aad69f56192" + "reference": "4090df9fedf83ef6315e85db1e81f54c14e119c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/ray/zipball/28f6bd88e2db0fada88a7999c8ee0aad69f56192", - "reference": "28f6bd88e2db0fada88a7999c8ee0aad69f56192", + "url": "https://api.github.com/repos/spatie/ray/zipball/4090df9fedf83ef6315e85db1e81f54c14e119c7", + "reference": "4090df9fedf83ef6315e85db1e81f54c14e119c7", "shasum": "" }, "require": { @@ -8711,7 +8712,7 @@ ], "support": { "issues": "https://github.com/spatie/ray/issues", - "source": "https://github.com/spatie/ray/tree/1.33.2" + "source": "https://github.com/spatie/ray/tree/1.34.1" }, "funding": [ { @@ -8723,20 +8724,20 @@ "type": "other" } ], - "time": "2022-02-02T15:16:13+00:00" + "time": "2022-03-03T15:02:29+00:00" }, { "name": "symfony/stopwatch", - "version": "v6.0.3", + "version": "v6.0.5", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "6835045bb9f00fa4486ea4f1bcaf623be761556f" + "reference": "f2c1780607ec6502f2121d9729fd8150a655d337" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/6835045bb9f00fa4486ea4f1bcaf623be761556f", - "reference": "6835045bb9f00fa4486ea4f1bcaf623be761556f", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/f2c1780607ec6502f2121d9729fd8150a655d337", + "reference": "f2c1780607ec6502f2121d9729fd8150a655d337", "shasum": "" }, "require": { @@ -8769,7 +8770,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v6.0.3" + "source": "https://github.com/symfony/stopwatch/tree/v6.0.5" }, "funding": [ { @@ -8785,7 +8786,7 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2022-02-21T17:15:17+00:00" }, { "name": "symfony/yaml", @@ -8914,16 +8915,16 @@ }, { "name": "zbateson/mail-mime-parser", - "version": "2.2.0", + "version": "2.2.1", "source": { "type": "git", "url": "https://github.com/zbateson/mail-mime-parser.git", - "reference": "038d5043a54ee198ed96ab5fd39f16231272b32e" + "reference": "24955de7ec352b3258c1d4551efd21202cb8710c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zbateson/mail-mime-parser/zipball/038d5043a54ee198ed96ab5fd39f16231272b32e", - "reference": "038d5043a54ee198ed96ab5fd39f16231272b32e", + "url": "https://api.github.com/repos/zbateson/mail-mime-parser/zipball/24955de7ec352b3258c1d4551efd21202cb8710c", + "reference": "24955de7ec352b3258c1d4551efd21202cb8710c", "shasum": "" }, "require": { @@ -8983,7 +8984,7 @@ "type": "github" } ], - "time": "2022-01-25T18:18:17+00:00" + "time": "2022-02-22T21:35:59+00:00" }, { "name": "zbateson/mb-wrapper", diff --git a/src/Models/Category.php b/src/Models/Category.php index f351d4b..2712880 100644 --- a/src/Models/Category.php +++ b/src/Models/Category.php @@ -41,6 +41,8 @@ public function getTitleForDropdownAttribute() public function slideshows() { return $this->belongsToMany(Slideshow::class, config('nova-cms-portfolio.db_prefix').'category_slideshow') - ->withPivot(['sort_order']); + ->withPivot(['sort_order']) + ->with('artist') + ->using(CategorySlideshow::class); } } diff --git a/src/Models/CategorySlideshow.php b/src/Models/CategorySlideshow.php new file mode 100644 index 0000000..f31f5ad --- /dev/null +++ b/src/Models/CategorySlideshow.php @@ -0,0 +1,32 @@ + 'sort_order', + 'sort_when_creating' => true, + ]; + + public function buildSortQuery() + { + return static::query() + ->where('category_id', $this->category_id); + } +} diff --git a/src/Models/Slideshow.php b/src/Models/Slideshow.php index 15fc593..1854965 100644 --- a/src/Models/Slideshow.php +++ b/src/Models/Slideshow.php @@ -62,7 +62,9 @@ public function works() public function categories() { - return $this->belongsToMany(Category::class, config('nova-cms-portfolio.db_prefix').'category_slideshow'); + return $this->belongsToMany(Category::class, config('nova-cms-portfolio.db_prefix').'category_slideshow') + ->withPivot(['sort_order']) + ->using(CategorySlideshow::class); } public function getDiscipline() diff --git a/src/Nova/Category.php b/src/Nova/Category.php index 5034716..b6e4610 100644 --- a/src/Nova/Category.php +++ b/src/Nova/Category.php @@ -4,8 +4,10 @@ use Illuminate\Http\Request; use Kraenkvisuell\NovaCmsMedia\MediaLibrary; -use Kraenkvisuell\NovaCmsPortfolio\Nova\Resource; +use Laravel\Nova\Fields\BelongsToMany; use Laravel\Nova\Fields\Boolean; +use Laravel\Nova\Fields\Line; +use Laravel\Nova\Fields\Stack; use Laravel\Nova\Fields\Text; use Laravel\Nova\Http\Requests\NovaRequest; use Manogi\Tiptap\Tiptap; @@ -46,6 +48,12 @@ public function fields(Request $request) { $uploadOnly = config('nova-cms-portfolio.media.upload_only') ?: false; + $slideshowLabel = __(config('nova-cms-portfolio.custom_slideshows_label')) + ?: __('nova-cms-portfolio::slideshows.slideshows'); + + $slideshowSingularLabel = __(config('nova-cms-portfolio.custom_slideshow_label')) + ?: __('nova-cms-portfolio::slideshows.slideshow'); + return [ Text::make(__('nova-cms-portfolio::portfolio.title'), 'title') @@ -53,10 +61,26 @@ public function fields(Request $request) Text::make(__('nova-cms::pages.slug'), 'slug') ->translatable() - ->help(__('nova-cms-portfolio::artists.slug_explanation')), + ->help(__('nova-cms-portfolio::artists.slug_explanation')) + ->hideFromDetail(), MediaLibrary::make(__('nova-cms-portfolio::categories.main_image'), 'main_image') - ->uploadOnly($uploadOnly), + ->uploadOnly($uploadOnly) + ->hideFromDetail(), + + Stack::make('', [ + Line::make($slideshowLabel, function () use ($slideshowLabel, $slideshowSingularLabel) { + return ''; + })->asHtml(), + ]) + ->onlyOnIndex(), TipTap::make(__('nova-cms-portfolio::categories.description'), 'description') ->translatable() @@ -67,6 +91,8 @@ public function fields(Request $request) Boolean::make(__('nova-cms-portfolio::categories.show_in_main_menu'), 'show_in_main_menu') ->onlyOnForms(), + + BelongsToMany::make($slideshowLabel, 'slideshows', CategorySlideshow::class), ]; } diff --git a/src/Nova/CategorySlideshow.php b/src/Nova/CategorySlideshow.php new file mode 100644 index 0000000..3f81a4e --- /dev/null +++ b/src/Nova/CategorySlideshow.php @@ -0,0 +1,74 @@ +'.$this->artist->name.' / '.$this->title.'

'; + foreach ($this->works->take(config('nova-cms-portfolio.max_thumbnails') ?: 3) as $work) { + if (nova_cms_mime($work->file) == 'video') { + $html .= ''; + } else { + $html .= ''; + } + } + + return $html; + })->asHtml(), + ]) + ->onlyOnIndex(), + ]; + + return $fields; + } +} diff --git a/src/NovaCmsPortfolioServiceProvider.php b/src/NovaCmsPortfolioServiceProvider.php index f4693a4..8afc6ab 100644 --- a/src/NovaCmsPortfolioServiceProvider.php +++ b/src/NovaCmsPortfolioServiceProvider.php @@ -9,6 +9,7 @@ use Kraenkvisuell\NovaCmsPortfolio\Models\Work as WorkModel; use Kraenkvisuell\NovaCmsPortfolio\Nova\Artist; use Kraenkvisuell\NovaCmsPortfolio\Nova\Category; +use Kraenkvisuell\NovaCmsPortfolio\Nova\CategorySlideshow; use Kraenkvisuell\NovaCmsPortfolio\Nova\Discipline; use Kraenkvisuell\NovaCmsPortfolio\Nova\Slideshow; use Kraenkvisuell\NovaCmsPortfolio\Nova\Work; @@ -39,6 +40,7 @@ public function boot() Work::class, Artist::class, Category::class, + CategorySlideshow::class, Slideshow::class, Discipline::class, ]);