Skip to content

Commit bb43af4

Browse files
author
John Wesely
committed
rename complete?
1 parent a807482 commit bb43af4

File tree

10 files changed

+16
-16
lines changed

10 files changed

+16
-16
lines changed
File renamed without changes.

src/Filament/Resources/FilamentFormResource/Pages/CreateFilamentForm.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ class CreateFilamentForm extends CreateRecord
1111

1212
public function getTitle(): string
1313
{
14-
return 'Create '.config('filament-forms.admin-panel-resource-name');
14+
return 'Create '.config('filament-form-builder.admin-panel-resource-name');
1515
}
1616
}

src/Filament/Resources/FilamentFormResource/Pages/EditFilamentForm.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class EditFilamentForm extends EditRecord
1212

1313
public function getTitle(): string
1414
{
15-
return 'Edit '.config('filament-forms.admin-panel-resource-name');
15+
return 'Edit '.config('filament-form-builder.admin-panel-resource-name');
1616
}
1717

1818
protected function getHeaderActions(): array

src/Filament/Resources/FilamentFormResource/Pages/ListFilamentForms.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ListFilamentForms extends ListRecords
1212

1313
public function getTitle(): string
1414
{
15-
return config('filament-forms.admin-panel-resource-name');
15+
return config('filament-form-builder.admin-panel-resource-name');
1616
}
1717

1818
protected function getHeaderActions(): array

src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormFieldsRelationManager.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class FilamentFormFieldsRelationManager extends RelationManager
2222

2323
public static function getTitle(Model $ownerRecord, string $pageClass): string
2424
{
25-
return __(config('filament-forms.admin-panel-filament-form-field-name-plural'));
25+
return __(config('filament-form-builder.admin-panel-filament-form-field-name-plural'));
2626
}
2727

2828
public function form(Form $form): Form
@@ -60,7 +60,7 @@ public function table(Table $table): Table
6060
{
6161
return $table
6262
->recordTitleAttribute('label')
63-
->heading(config('filament-forms.admin-panel-filament-form-field-name-plural'))
63+
->heading(config('filament-form-builder.admin-panel-filament-form-field-name-plural'))
6464
->columns([
6565
TextColumn::make('label'),
6666
TextColumn::make('type')

src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormUsersRelationManager.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class FilamentFormUsersRelationManager extends RelationManager
1919

2020
public static function getTitle(Model $ownerRecord, string $pageClass): string
2121
{
22-
return __(config('filament-forms.admin-panel-filament-form-user-name-plural'));
22+
return __(config('filament-form-builder.admin-panel-filament-form-user-name-plural'));
2323
}
2424

2525
public static function getLabel(): string
@@ -41,7 +41,7 @@ public function table(Table $table): Table
4141
{
4242
return $table
4343
->recordTitleAttribute('user.name')
44-
->heading(config('filament-forms.admin-panel-filament-form-user-name-plural'))
44+
->heading(config('filament-form-builder.admin-panel-filament-form-user-name-plural'))
4545
->columns([
4646
Tables\Columns\TextColumn::make('user.name')
4747
->sortable()
@@ -51,7 +51,7 @@ public function table(Table $table): Table
5151
Tables\Columns\TextColumn::make('updated_at')
5252
->sortable(),
5353
])
54-
->recordUrl(fn ($record) => route(config('filament-forms.filament-form-user-show-route'), $record))
54+
->recordUrl(fn ($record) => route(config('filament-form-builder.filament-form-user-show-route'), $record))
5555
->filters([
5656
//
5757
])

src/FilamentFormBuilderPlugin.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Filament\Contracts\Plugin;
66
use Filament\Panel;
77

8-
class FilamentFormsPlugin implements Plugin
8+
class FilamentFormBuilderPlugin implements Plugin
99
{
1010
public static function make(): static
1111
{
@@ -14,14 +14,14 @@ public static function make(): static
1414

1515
public function getId(): string
1616
{
17-
return 'filament-forms';
17+
return 'filament-form-builder';
1818
}
1919

2020
public function register(Panel $panel): void
2121
{
2222
$panel
2323
->resources(
24-
config('filament-forms.resources')
24+
config('filament-form-builder.resources')
2525
);
2626
}
2727

src/Livewire/FilamentForm/show.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function create()
102102
],
103103
);
104104

105-
return redirect(route(config('filament-forms.filament-form-user-show-route'), $entryModel));
105+
return redirect(route(config('filament-form-builder.filament-form-user-show-route'), $entryModel));
106106
}
107107

108108
public function parseValue(FilamentFormField $field, ?string $value): string
@@ -135,6 +135,6 @@ public function parseValue(FilamentFormField $field, ?string $value): string
135135

136136
public function render()
137137
{
138-
return view('filament-forms::livewire.filament-form.show');
138+
return view('filament-form-builder::livewire.filament-form.show');
139139
}
140140
}

src/Livewire/FilamentFormUser/show.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ public function entryInfoList(Infolist $infolist): Infolist
4848

4949
public function render()
5050
{
51-
return view('filament-forms::livewire.filament-form-user.show');
51+
return view('filament-form-builder::livewire.filament-form-user.show');
5252
}
5353
}

src/routes.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
->middleware('web')
99
->name('filament-form-users.show');
1010

11-
Route::get('filament-forms/{form}', FilamentFormShow::class)
11+
Route::get('filament-form-builder/{form}', FilamentFormShow::class)
1212
->middleware('web')
13-
->name('filament-forms.show');
13+
->name('filament-form-builder.show');

0 commit comments

Comments
 (0)