From 06e0807bf1f0006480e413c055e4ac61844d3591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20Ioni=C8=9B=C4=83?= Date: Fri, 22 Dec 2023 18:44:29 +0200 Subject: [PATCH] wip --- .../Pages/CreateBeneficiary.php | 11 +- app/Providers/Filament/AdminPanelProvider.php | 2 +- composer.lock | 142 +++++++++--------- resources/svg/logo.svg | 2 +- resources/views/filament/brand.blade.php | 3 +- 5 files changed, 76 insertions(+), 84 deletions(-) diff --git a/app/Filament/Organizations/Resources/BeneficiaryResource/Pages/CreateBeneficiary.php b/app/Filament/Organizations/Resources/BeneficiaryResource/Pages/CreateBeneficiary.php index b1cc2624..33e17702 100644 --- a/app/Filament/Organizations/Resources/BeneficiaryResource/Pages/CreateBeneficiary.php +++ b/app/Filament/Organizations/Resources/BeneficiaryResource/Pages/CreateBeneficiary.php @@ -38,17 +38,10 @@ protected function getSteps(): array ->label(__('field.cnp')) ->nullable() ->rule(new ValidCNP) - ->disabled() + ->hidden() ->lazy(), ]), - ]) - ->afterValidation(function ($state, Step $component) { - if (! $state['cnp']) { - return; - } - - dd($state, \func_get_args()); - }), + ]), Step::make('beneficiary') ->label(__('beneficiary.wizard.beneficiary.label')) diff --git a/app/Providers/Filament/AdminPanelProvider.php b/app/Providers/Filament/AdminPanelProvider.php index f8f99af8..bf169eb4 100644 --- a/app/Providers/Filament/AdminPanelProvider.php +++ b/app/Providers/Filament/AdminPanelProvider.php @@ -55,7 +55,7 @@ public function panel(Panel $panel): Panel ->collapsibleNavigationGroups(false) ->login(Pages\Auth\Login::class) ->colors([ - 'primary' => Color::Indigo, + 'primary' => Color::Amber, ]) ->maxContentWidth('full') ->viteTheme('resources/css/filament/common/theme.css') diff --git a/composer.lock b/composer.lock index cddfbd1d..23f0042b 100644 --- a/composer.lock +++ b/composer.lock @@ -1336,16 +1336,16 @@ }, { "name": "filament/actions", - "version": "v3.1.24", + "version": "v3.1.27", "source": { "type": "git", "url": "https://github.com/filamentphp/actions.git", - "reference": "066c64596a7b2b89b6f7bcd1c8b1281357f194e5" + "reference": "be3a8c110aa69f3f4856816eefd477b600bc06e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/actions/zipball/066c64596a7b2b89b6f7bcd1c8b1281357f194e5", - "reference": "066c64596a7b2b89b6f7bcd1c8b1281357f194e5", + "url": "https://api.github.com/repos/filamentphp/actions/zipball/be3a8c110aa69f3f4856816eefd477b600bc06e2", + "reference": "be3a8c110aa69f3f4856816eefd477b600bc06e2", "shasum": "" }, "require": { @@ -1383,20 +1383,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-12-19T13:24:30+00:00" + "time": "2023-12-21T12:38:03+00:00" }, { "name": "filament/filament", - "version": "v3.1.24", + "version": "v3.1.27", "source": { "type": "git", "url": "https://github.com/filamentphp/panels.git", - "reference": "855c60a9a55c9d77765435e923da5bd555cf4f88" + "reference": "e1aa070483c2eaa5bb92ce8d959779a9558fe022" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/panels/zipball/855c60a9a55c9d77765435e923da5bd555cf4f88", - "reference": "855c60a9a55c9d77765435e923da5bd555cf4f88", + "url": "https://api.github.com/repos/filamentphp/panels/zipball/e1aa070483c2eaa5bb92ce8d959779a9558fe022", + "reference": "e1aa070483c2eaa5bb92ce8d959779a9558fe022", "shasum": "" }, "require": { @@ -1448,20 +1448,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-12-19T13:24:32+00:00" + "time": "2023-12-22T14:36:15+00:00" }, { "name": "filament/forms", - "version": "v3.1.24", + "version": "v3.1.27", "source": { "type": "git", "url": "https://github.com/filamentphp/forms.git", - "reference": "582a1e2628af0d28be751c9e210f481d98397c77" + "reference": "673689bd958797b05127fe9956eafeed555b91bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/forms/zipball/582a1e2628af0d28be751c9e210f481d98397c77", - "reference": "582a1e2628af0d28be751c9e210f481d98397c77", + "url": "https://api.github.com/repos/filamentphp/forms/zipball/673689bd958797b05127fe9956eafeed555b91bd", + "reference": "673689bd958797b05127fe9956eafeed555b91bd", "shasum": "" }, "require": { @@ -1504,20 +1504,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-12-19T13:24:30+00:00" + "time": "2023-12-22T14:36:00+00:00" }, { "name": "filament/infolists", - "version": "v3.1.24", + "version": "v3.1.27", "source": { "type": "git", "url": "https://github.com/filamentphp/infolists.git", - "reference": "38f16c8a83120d8eba5541ca64317fb99376ac3e" + "reference": "9207c2b83ba9c8dcbcac9a930e93ce87f381d780" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/infolists/zipball/38f16c8a83120d8eba5541ca64317fb99376ac3e", - "reference": "38f16c8a83120d8eba5541ca64317fb99376ac3e", + "url": "https://api.github.com/repos/filamentphp/infolists/zipball/9207c2b83ba9c8dcbcac9a930e93ce87f381d780", + "reference": "9207c2b83ba9c8dcbcac9a930e93ce87f381d780", "shasum": "" }, "require": { @@ -1555,11 +1555,11 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-12-19T13:24:29+00:00" + "time": "2023-12-22T14:36:00+00:00" }, { "name": "filament/notifications", - "version": "v3.1.24", + "version": "v3.1.27", "source": { "type": "git", "url": "https://github.com/filamentphp/notifications.git", @@ -1611,7 +1611,7 @@ }, { "name": "filament/spatie-laravel-media-library-plugin", - "version": "v3.1.24", + "version": "v3.1.27", "source": { "type": "git", "url": "https://github.com/filamentphp/spatie-laravel-media-library-plugin.git", @@ -1648,20 +1648,20 @@ }, { "name": "filament/support", - "version": "v3.1.24", + "version": "v3.1.27", "source": { "type": "git", "url": "https://github.com/filamentphp/support.git", - "reference": "797139451b30a7a9b5bc4b7ecad916ddee1075a7" + "reference": "f00f44dd79e8e1b3f92dea6e2ef6e1ba9e5396dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/support/zipball/797139451b30a7a9b5bc4b7ecad916ddee1075a7", - "reference": "797139451b30a7a9b5bc4b7ecad916ddee1075a7", + "url": "https://api.github.com/repos/filamentphp/support/zipball/f00f44dd79e8e1b3f92dea6e2ef6e1ba9e5396dd", + "reference": "f00f44dd79e8e1b3f92dea6e2ef6e1ba9e5396dd", "shasum": "" }, "require": { - "blade-ui-kit/blade-heroicons": "^2.0", + "blade-ui-kit/blade-heroicons": "^2.2.1", "doctrine/dbal": "^3.2", "ext-intl": "*", "illuminate/contracts": "^10.0", @@ -1701,20 +1701,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-12-19T13:24:32+00:00" + "time": "2023-12-22T14:36:21+00:00" }, { "name": "filament/tables", - "version": "v3.1.24", + "version": "v3.1.27", "source": { "type": "git", "url": "https://github.com/filamentphp/tables.git", - "reference": "1a23d48e9a63906f6b60882ab14b9d4a9417de15" + "reference": "3391bd1015bdde8e454d0a6391952dc131fb8dad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/tables/zipball/1a23d48e9a63906f6b60882ab14b9d4a9417de15", - "reference": "1a23d48e9a63906f6b60882ab14b9d4a9417de15", + "url": "https://api.github.com/repos/filamentphp/tables/zipball/3391bd1015bdde8e454d0a6391952dc131fb8dad", + "reference": "3391bd1015bdde8e454d0a6391952dc131fb8dad", "shasum": "" }, "require": { @@ -1754,11 +1754,11 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-12-19T13:24:44+00:00" + "time": "2023-12-22T14:36:23+00:00" }, { "name": "filament/widgets", - "version": "v3.1.24", + "version": "v3.1.27", "source": { "type": "git", "url": "https://github.com/filamentphp/widgets.git", @@ -2538,16 +2538,16 @@ }, { "name": "laravel/framework", - "version": "v10.38.1", + "version": "v10.38.2", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "ced4689f495213e9d23995b36098f12a802cc15b" + "reference": "43da808391da3540d44a8dfeb4e46da4ad8f5723" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/ced4689f495213e9d23995b36098f12a802cc15b", - "reference": "ced4689f495213e9d23995b36098f12a802cc15b", + "url": "https://api.github.com/repos/laravel/framework/zipball/43da808391da3540d44a8dfeb4e46da4ad8f5723", + "reference": "43da808391da3540d44a8dfeb4e46da4ad8f5723", "shasum": "" }, "require": { @@ -2739,7 +2739,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-12-20T14:52:12+00:00" + "time": "2023-12-22T14:39:10+00:00" }, { "name": "laravel/prompts", @@ -5487,16 +5487,16 @@ }, { "name": "sentry/sentry", - "version": "4.2.0", + "version": "4.3.0", "source": { "type": "git", "url": "https://github.com/getsentry/sentry-php.git", - "reference": "d858b32e0f9733f41dab847a0dc8c8198ba17d8b" + "reference": "7e71a72baa2c7439507d868487bb36226a8a4e0c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/getsentry/sentry-php/zipball/d858b32e0f9733f41dab847a0dc8c8198ba17d8b", - "reference": "d858b32e0f9733f41dab847a0dc8c8198ba17d8b", + "url": "https://api.github.com/repos/getsentry/sentry-php/zipball/7e71a72baa2c7439507d868487bb36226a8a4e0c", + "reference": "7e71a72baa2c7439507d868487bb36226a8a4e0c", "shasum": "" }, "require": { @@ -5560,7 +5560,7 @@ ], "support": { "issues": "https://github.com/getsentry/sentry-php/issues", - "source": "https://github.com/getsentry/sentry-php/tree/4.2.0" + "source": "https://github.com/getsentry/sentry-php/tree/4.3.0" }, "funding": [ { @@ -5572,7 +5572,7 @@ "type": "custom" } ], - "time": "2023-12-19T16:43:17+00:00" + "time": "2023-12-21T16:39:28+00:00" }, { "name": "sentry/sentry-laravel", @@ -5724,16 +5724,16 @@ }, { "name": "spatie/image", - "version": "3.3.0", + "version": "3.3.1", "source": { "type": "git", "url": "https://github.com/spatie/image.git", - "reference": "dda7c3efffa598fee64359956d0b07d27513ef0d" + "reference": "cf72c685905a5ac08130a3e4afe5ec2e68ca3d0a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/image/zipball/dda7c3efffa598fee64359956d0b07d27513ef0d", - "reference": "dda7c3efffa598fee64359956d0b07d27513ef0d", + "url": "https://api.github.com/repos/spatie/image/zipball/cf72c685905a5ac08130a3e4afe5ec2e68ca3d0a", + "reference": "cf72c685905a5ac08130a3e4afe5ec2e68ca3d0a", "shasum": "" }, "require": { @@ -5780,7 +5780,7 @@ "spatie" ], "support": { - "source": "https://github.com/spatie/image/tree/3.3.0" + "source": "https://github.com/spatie/image/tree/3.3.1" }, "funding": [ { @@ -5792,7 +5792,7 @@ "type": "github" } ], - "time": "2023-12-21T08:13:03+00:00" + "time": "2023-12-22T15:15:17+00:00" }, { "name": "spatie/image-optimizer", @@ -6001,16 +6001,16 @@ }, { "name": "spatie/laravel-medialibrary", - "version": "11.0.1", + "version": "11.0.2", "source": { "type": "git", "url": "https://github.com/spatie/laravel-medialibrary.git", - "reference": "bb9008633eeeb34c5bcbc54c5cea472b72f9481c" + "reference": "32da8cced95036e71f077d2d6da82ef9ae534d93" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-medialibrary/zipball/bb9008633eeeb34c5bcbc54c5cea472b72f9481c", - "reference": "bb9008633eeeb34c5bcbc54c5cea472b72f9481c", + "url": "https://api.github.com/repos/spatie/laravel-medialibrary/zipball/32da8cced95036e71f077d2d6da82ef9ae534d93", + "reference": "32da8cced95036e71f077d2d6da82ef9ae534d93", "shasum": "" }, "require": { @@ -6094,7 +6094,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-medialibrary/issues", - "source": "https://github.com/spatie/laravel-medialibrary/tree/11.0.1" + "source": "https://github.com/spatie/laravel-medialibrary/tree/11.0.2" }, "funding": [ { @@ -6106,7 +6106,7 @@ "type": "github" } ], - "time": "2023-12-21T08:35:53+00:00" + "time": "2023-12-21T17:00:17+00:00" }, { "name": "spatie/laravel-package-tools", @@ -11261,23 +11261,23 @@ }, { "name": "phpunit/php-code-coverage", - "version": "10.1.10", + "version": "10.1.11", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "599109c8ca6bae97b23482d557d2874c25a65e59" + "reference": "78c3b7625965c2513ee96569a4dbb62601784145" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/599109c8ca6bae97b23482d557d2874c25a65e59", - "reference": "599109c8ca6bae97b23482d557d2874c25a65e59", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/78c3b7625965c2513ee96569a4dbb62601784145", + "reference": "78c3b7625965c2513ee96569a4dbb62601784145", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.15", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=8.1", "phpunit/php-file-iterator": "^4.0", "phpunit/php-text-template": "^3.0", @@ -11327,7 +11327,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.10" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.11" }, "funding": [ { @@ -11335,7 +11335,7 @@ "type": "github" } ], - "time": "2023-12-11T06:28:43+00:00" + "time": "2023-12-21T15:38:30+00:00" }, { "name": "phpunit/php-file-iterator", @@ -11985,16 +11985,16 @@ }, { "name": "sebastian/diff", - "version": "5.0.3", + "version": "5.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b" + "reference": "fbf413a49e54f6b9b17e12d900ac7f6101591b7f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/912dc2fbe3e3c1e7873313cc801b100b6c68c87b", - "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/fbf413a49e54f6b9b17e12d900ac7f6101591b7f", + "reference": "fbf413a49e54f6b9b17e12d900ac7f6101591b7f", "shasum": "" }, "require": { @@ -12007,7 +12007,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-main": "5.1-dev" } }, "autoload": { @@ -12040,7 +12040,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", "security": "https://github.com/sebastianbergmann/diff/security/policy", - "source": "https://github.com/sebastianbergmann/diff/tree/5.0.3" + "source": "https://github.com/sebastianbergmann/diff/tree/5.1.0" }, "funding": [ { @@ -12048,7 +12048,7 @@ "type": "github" } ], - "time": "2023-05-01T07:48:21+00:00" + "time": "2023-12-22T10:55:06+00:00" }, { "name": "sebastian/environment", diff --git a/resources/svg/logo.svg b/resources/svg/logo.svg index db13afdf..2dcddef3 100644 --- a/resources/svg/logo.svg +++ b/resources/svg/logo.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/resources/views/filament/brand.blade.php b/resources/views/filament/brand.blade.php index 47ffea85..224aa92b 100644 --- a/resources/views/filament/brand.blade.php +++ b/resources/views/filament/brand.blade.php @@ -1,2 +1 @@ -{{-- Logo --}} - +