This commit is contained in:
Bozhidar 2024-05-09 17:46:02 +03:00
parent a77bc147a4
commit 54238b30b3
6 changed files with 12422 additions and 32 deletions

View file

@ -2,15 +2,18 @@
namespace App\Filament\Pages\Settings;
use App\Helpers;
use App\MasterDomain;
use Closure;
use Filament\Forms\Components\Checkbox;
use Filament\Forms\Components\ColorPicker;
use Filament\Forms\Components\Select;
use Filament\Forms\Components\Tabs;
use Filament\Forms\Components\Textarea;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Get;
use Illuminate\Support\Facades\Storage;
use Monarobase\CountryList\CountryList;
use Outerweb\FilamentSettings\Filament\Pages\Settings as BaseSettings;
use Symfony\Component\Console\Input\Input;
@ -41,16 +44,15 @@ class Settings extends BaseSettings
TextInput::make('general.brand_logo_url'),
ColorPicker::make('general.brand_primary_color'),
TextInput::make('general.master_domain')->live(),
// Checkbox::make('general.master_domain_wildcard_enabled')
// ->label('Wildcard on Master Domain')
// ->helperText(function (Get $get) {
// return 'Enable wildcard for master domain. Eg: *.'.$get('general.master_domain');
// }),
TextInput::make('general.master_email'),
TextInput::make('general.master_country'),
Select::make('general.master_country')
->searchable()
->options(function () {
$countryList = new CountryList();
return $countryList->getList();
}),
TextInput::make('general.master_locality'),
TextInput::make('general.organization_name'),
]),

View file

@ -21,6 +21,7 @@
"laravel/tinker": "^2.8",
"leandrocfe/filament-apex-charts": "^3.1",
"mkocansey/bladewind": "^2.4",
"monarobase/country-list": "^3.5",
"nwidart/laravel-modules": "^10.0",
"outerweb/filament-settings": "^1.2",
"phpseclib/phpseclib": "^3.0",

12387
web/composer.lock generated Normal file

File diff suppressed because it is too large Load diff

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