From 8ea232a24ba5cb4dbecab3c612d585790390adff Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Sat, 28 Oct 2023 18:35:47 +0300 Subject: [PATCH 01/15] allow to conditionally show section --- .../add_options_to_section.php.stub | 32 ++++ resources/lang/ar.json | 7 +- src/BoltServiceProvider.php | 1 + src/Concerns/Designer.php | 137 ++++++++++++++++++ src/Concerns/Schemata.php | 1 + src/Facades/Bolt.php | 91 ------------ src/Fields/Classes/CheckboxList.php | 2 +- src/Fields/Classes/Radio.php | 2 +- src/Fields/Classes/Select.php | 2 +- src/Fields/Classes/Toggle.php | 8 + src/Filament/Resources/FormResource.php | 2 + src/Livewire/FillForms.php | 4 +- src/Models/Section.php | 5 + 13 files changed, 198 insertions(+), 96 deletions(-) create mode 100644 database/migrations/add_options_to_section.php.stub create mode 100644 src/Concerns/Designer.php diff --git a/database/migrations/add_options_to_section.php.stub b/database/migrations/add_options_to_section.php.stub new file mode 100644 index 00000000..1d0a1666 --- /dev/null +++ b/database/migrations/add_options_to_section.php.stub @@ -0,0 +1,32 @@ +text('options')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('sections', function (Blueprint $table) { + $table->dropColumn('options'); + }); + } +}; diff --git a/resources/lang/ar.json b/resources/lang/ar.json index c58c0ff0..aae82c94 100644 --- a/resources/lang/ar.json +++ b/resources/lang/ar.json @@ -186,5 +186,10 @@ "Hint Color" :"لون التلميحة", "Textarea": "نص مطول", "Paragraph": "فقرة نصية", - "Color Picker": "اختيار اللون" + "Color Picker": "اختيار اللون", + "Entries Report": "تقرير السجلات", + "List Entries": "عرض السجلات", + "notes": "ملاحظات", + "Open": "عرض", + "Preset": "القوالب" } diff --git a/src/BoltServiceProvider.php b/src/BoltServiceProvider.php index 4c8f38e2..5abdb188 100644 --- a/src/BoltServiceProvider.php +++ b/src/BoltServiceProvider.php @@ -69,6 +69,7 @@ protected function getMigrations(): array 'add_extension_item_responses', 'alter_tables_constraints', 'add_compact_to_section', + 'add_options_to_section', ]; } } diff --git a/src/Concerns/Designer.php b/src/Concerns/Designer.php new file mode 100644 index 00000000..20124807 --- /dev/null +++ b/src/Concerns/Designer.php @@ -0,0 +1,137 @@ +sections->sortBy('ordering') as $section) { + $sections[] = static::handelSections( + $zeusForm, + $section, + static::handelFields($section, $inline) + ); + } + + if (optional($zeusForm->options)['show-as'] === 'tabs') { + return [Tabs::make('tabs')->tabs($sections)]; + } + + if (optional($zeusForm->options)['show-as'] === 'wizard') { + return [Wizard::make($sections)]; + } + + return $sections; + } + + private static function handelExt(Form $zeusForm): Section|array + { + $getExtComponent = Extensions::init($zeusForm, 'formComponents'); + if ($getExtComponent === null) { + return []; + } + + return Section::make('extensions') + ->heading(function () use ($zeusForm) { + $class = $zeusForm->extensions; + if (class_exists($class)) { + return (new $class)->label(); + } + + return __('Extension'); + }) + ->schema($getExtComponent); + } + + private static function handelFields(ZeusSection $section, bool $inline): array + { + $fields = []; + + if (!$inline) { + $fields[] = Bolt::renderHook('zeus-form-section.before'); + } + + foreach ($section->fields->sortBy('ordering') as $zeusField) { + if (!$inline) { + $fields[] = Bolt::renderHook('zeus-form-field.before'); + } + + $fieldClass = new $zeusField->type; + $component = $fieldClass->renderClass::make('zeusData.'.$zeusField->id); + + $fields[] = $fieldClass->appendFilamentComponentsOptions($component, $zeusField); + + if (!$inline) { + $fields[] = Bolt::renderHook('zeus-form-field.after'); + } + } + + if (!$inline) { + $fields[] = Bolt::renderHook('zeus-form-section.after'); + } + + return $fields; + } + + private static function handelSections($zeusForm, $section, $fields): Tab|Step|Fieldset|Section + { + $component = Section::make($section->name) + ->description($section->description) + ->aside(fn() => $section->aside) + ->compact(fn() => $section->compact) + ->collapsible(); + + if (optional($zeusForm->options)['show-as'] === 'tabs') { + $component = Tab::make($section->name) + ->icon($section->icon ?? null); + } + + if (optional($zeusForm->options)['show-as'] === 'wizard') { + $component = Step::make($section->name) + ->description($section->description) + ->icon($section->icon ?? null); + } + + $component->visible(function ($record, Get $get) use ($zeusForm,$section) { + //dump(1,$zeusForm->fields()->whereJsonContains('sections.options->visibility->active',true)->count()); + + if (! isset($section->options['visibility']) || ! $section->options['visibility']['active']) { + return true; + } + + $relatedField = $section->options['visibility']['fieldID']; + $relatedFieldValues = $section->options['visibility']['values']; + + if (empty($relatedField) || empty($relatedFieldValues)) { + return true; + } + + if (is_array($get('zeusData.' . $relatedField))) { + return in_array($relatedFieldValues, $get('zeusData.' . $relatedField)); + } + + return $relatedFieldValues === $get('zeusData.' . $relatedField); + }); + + return $component + ->id(str($section->name)->slug().'-'.$section->id) + ->schema($fields) + //->visible(false) + ->columns($section->columns); + } +} diff --git a/src/Concerns/Schemata.php b/src/Concerns/Schemata.php index d0dfeaf5..e9eec863 100644 --- a/src/Concerns/Schemata.php +++ b/src/Concerns/Schemata.php @@ -295,6 +295,7 @@ public static function getSectionsSchema(): array ->inline(false) ->visible(fn (Get $get) => $get('../../options.show-as') === 'page') ->label(__('compact section')), + self::visibility() ]), ]), ]), diff --git a/src/Facades/Bolt.php b/src/Facades/Bolt.php index dbeccbb9..6f5c7610 100644 --- a/src/Facades/Bolt.php +++ b/src/Facades/Bolt.php @@ -69,97 +69,6 @@ public static function availableDataSource(): Collection }); } - public static function prepareFieldsAndSectionToRender(Form $zeusForm, bool $inline = false): array - { - $sections = []; - $zeusSections = $zeusForm->sections->sortBy('ordering'); - - $getExtComponent = Extensions::init($zeusForm, 'formComponents'); - if ($getExtComponent !== null) { - $sections[] = Section::make('extensions') - ->heading(function () use ($zeusForm) { - $class = $zeusForm->extensions; - if (class_exists($class)) { - return (new $class)->label(); - } - - return __('Extension'); - }) - ->schema($getExtComponent); - } - - foreach ($zeusSections as $section) { - $fields = []; - - if (! $inline) { - $fields[] = static::renderHook('zeus-form-section.before'); - } - - foreach ($section->fields->sortBy('ordering') as $zeusField) { - if (! $inline) { - $fields[] = static::renderHook('zeus-form-field.before'); - } - - $fieldClass = new $zeusField->type; - $component = $fieldClass->renderClass::make('zeusData.' . $zeusField->id); - - $fields[] = $fieldClass->appendFilamentComponentsOptions($component, $zeusField); - - if (! $inline) { - $fields[] = static::renderHook('zeus-form-field.after'); - } - } - - if (! $inline) { - $fields[] = static::renderHook('zeus-form-section.after'); - } - - $sectionId = $section->name . '-' . $section->id; - if (optional($zeusForm->options)['show-as'] === 'tabs') { - $sections[] = Tabs\Tab::make($section->name) - ->id($sectionId) - ->icon($section->icon ?? null) - ->schema([ - Grid::make()->columns($section->columns)->schema($fields), - ]); - } elseif (optional($zeusForm->options)['show-as'] === 'wizard') { - $sections[] = Wizard\Step::make($section->name) - ->id($sectionId) - ->description($section->description) - ->icon($section->icon ?? null) - ->schema([ - Grid::make()->columns($section->columns)->schema($fields), - ]); - } else { - if ($section->compact) { - $sections[] = Fieldset::make($section->name) - ->id($sectionId) - ->schema($fields) - ->columns($section->columns); - } else { - $sections[] = Section::make($section->name) - ->id($sectionId) - ->icon($section->icon ?? null) - ->schema($fields) - ->collapsible() - ->aside(fn () => $section->aside) - ->description($section->description) - ->columns($section->columns); - } - } - } - - if (optional($zeusForm->options)['show-as'] === 'tabs') { - return [Tabs::make('tabs')->tabs($sections)]; - } - - if (optional($zeusForm->options)['show-as'] === 'wizard') { - return [Wizard::make($sections)]; - } - - return $sections; - } - public static function renderHook(string $hook): Placeholder { $hookRendered = FilamentView::renderHook($hook); diff --git a/src/Fields/Classes/CheckboxList.php b/src/Fields/Classes/CheckboxList.php index 8643dd76..548ec48f 100644 --- a/src/Fields/Classes/CheckboxList.php +++ b/src/Fields/Classes/CheckboxList.php @@ -51,6 +51,6 @@ public function appendFilamentComponentsOptions($component, $zeusField) $component = $component->default($selected); } - return $component; + return $component->live(); } } diff --git a/src/Fields/Classes/Radio.php b/src/Fields/Classes/Radio.php index 5f1195d8..3c3513f9 100644 --- a/src/Fields/Classes/Radio.php +++ b/src/Fields/Classes/Radio.php @@ -56,6 +56,6 @@ public function appendFilamentComponentsOptions($component, $zeusField) $component = $component->default($selected); } - return $component; + return $component->live(); } } diff --git a/src/Fields/Classes/Select.php b/src/Fields/Classes/Select.php index 07a63b87..b453f715 100644 --- a/src/Fields/Classes/Select.php +++ b/src/Fields/Classes/Select.php @@ -59,6 +59,6 @@ public function appendFilamentComponentsOptions($component, $zeusField) $component = $component->default($selected); } - return $component; + return $component->live(); } } diff --git a/src/Fields/Classes/Toggle.php b/src/Fields/Classes/Toggle.php index 257c5a84..3b38a932 100644 --- a/src/Fields/Classes/Toggle.php +++ b/src/Fields/Classes/Toggle.php @@ -25,4 +25,12 @@ public static function getOptions(): array self::visibility(), ]; } + + // @phpstan-ignore-next-line + public function appendFilamentComponentsOptions($component, $zeusField) + { + parent::appendFilamentComponentsOptions($component, $zeusField); + + return $component->live(); + } } diff --git a/src/Filament/Resources/FormResource.php b/src/Filament/Resources/FormResource.php index 2fcf9ff6..5bcb0991 100644 --- a/src/Filament/Resources/FormResource.php +++ b/src/Filament/Resources/FormResource.php @@ -29,6 +29,7 @@ use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\SoftDeletingScope; use LaraZeus\Bolt\BoltPlugin; +use LaraZeus\Bolt\Concerns\HasOptions; use LaraZeus\Bolt\Concerns\Schemata; use LaraZeus\Bolt\Filament\Resources\FormResource\Pages; use LaraZeus\Bolt\Models\Form as ZeusForm; @@ -36,6 +37,7 @@ class FormResource extends BoltResource { use Schemata; + use HasOptions; protected static ?string $navigationIcon = 'clarity-form-line'; diff --git a/src/Livewire/FillForms.php b/src/Livewire/FillForms.php index c5f1f82c..f02716f6 100644 --- a/src/Livewire/FillForms.php +++ b/src/Livewire/FillForms.php @@ -6,6 +6,7 @@ use Illuminate\Support\Facades\Mail; use Illuminate\View\View; use LaraZeus\Bolt\BoltPlugin; +use LaraZeus\Bolt\Concerns\Designer; use LaraZeus\Bolt\Events\FormMounted; use LaraZeus\Bolt\Events\FormSent; use LaraZeus\Bolt\Facades\Bolt; @@ -19,6 +20,7 @@ class FillForms extends Component implements Forms\Contracts\HasForms { use Forms\Concerns\InteractsWithForms; + use Designer; public Form $zeusForm; @@ -32,7 +34,7 @@ class FillForms extends Component implements Forms\Contracts\HasForms protected function getFormSchema(): array { - return Bolt::prepareFieldsAndSectionToRender($this->zeusForm, $this->inline); + return static::ui($this->zeusForm, $this->inline); } protected function getFormModel(): Form diff --git a/src/Models/Section.php b/src/Models/Section.php index 4290530d..eed89966 100644 --- a/src/Models/Section.php +++ b/src/Models/Section.php @@ -18,6 +18,7 @@ * @property string $description * @property bool $aside * @property bool $compact + * @property mixed $fields */ class Section extends Model { @@ -29,6 +30,10 @@ class Section extends Model protected $guarded = []; + protected $casts = [ + 'options' => 'array', + ]; + protected static function booted(): void { static::deleting(function (Section $section) { From 82fab591b636711ca5e5b1e0508737e85170ca4b Mon Sep 17 00:00:00 2001 From: atmonshi Date: Sat, 28 Oct 2023 15:36:13 +0000 Subject: [PATCH 02/15] Fix styling --- src/Concerns/Designer.php | 22 +++++++++++----------- src/Concerns/Schemata.php | 2 +- src/Facades/Bolt.php | 6 ------ src/Fields/Classes/Toggle.php | 2 +- src/Filament/Resources/FormResource.php | 2 +- src/Livewire/FillForms.php | 3 +-- 6 files changed, 15 insertions(+), 22 deletions(-) diff --git a/src/Concerns/Designer.php b/src/Concerns/Designer.php index 20124807..cb7ff633 100644 --- a/src/Concerns/Designer.php +++ b/src/Concerns/Designer.php @@ -39,7 +39,7 @@ public static function ui(Form $zeusForm, bool $inline = false): array return $sections; } - private static function handelExt(Form $zeusForm): Section|array + private static function handelExt(Form $zeusForm): Section | array { $getExtComponent = Extensions::init($zeusForm, 'formComponents'); if ($getExtComponent === null) { @@ -62,38 +62,38 @@ private static function handelFields(ZeusSection $section, bool $inline): array { $fields = []; - if (!$inline) { + if (! $inline) { $fields[] = Bolt::renderHook('zeus-form-section.before'); } foreach ($section->fields->sortBy('ordering') as $zeusField) { - if (!$inline) { + if (! $inline) { $fields[] = Bolt::renderHook('zeus-form-field.before'); } $fieldClass = new $zeusField->type; - $component = $fieldClass->renderClass::make('zeusData.'.$zeusField->id); + $component = $fieldClass->renderClass::make('zeusData.' . $zeusField->id); $fields[] = $fieldClass->appendFilamentComponentsOptions($component, $zeusField); - if (!$inline) { + if (! $inline) { $fields[] = Bolt::renderHook('zeus-form-field.after'); } } - if (!$inline) { + if (! $inline) { $fields[] = Bolt::renderHook('zeus-form-section.after'); } return $fields; } - private static function handelSections($zeusForm, $section, $fields): Tab|Step|Fieldset|Section + private static function handelSections($zeusForm, $section, $fields): Tab | Step | Fieldset | Section { $component = Section::make($section->name) ->description($section->description) - ->aside(fn() => $section->aside) - ->compact(fn() => $section->compact) + ->aside(fn () => $section->aside) + ->compact(fn () => $section->compact) ->collapsible(); if (optional($zeusForm->options)['show-as'] === 'tabs') { @@ -107,7 +107,7 @@ private static function handelSections($zeusForm, $section, $fields): Tab|Step|F ->icon($section->icon ?? null); } - $component->visible(function ($record, Get $get) use ($zeusForm,$section) { + $component->visible(function ($record, Get $get) use ($section) { //dump(1,$zeusForm->fields()->whereJsonContains('sections.options->visibility->active',true)->count()); if (! isset($section->options['visibility']) || ! $section->options['visibility']['active']) { @@ -129,7 +129,7 @@ private static function handelSections($zeusForm, $section, $fields): Tab|Step|F }); return $component - ->id(str($section->name)->slug().'-'.$section->id) + ->id(str($section->name)->slug() . '-' . $section->id) ->schema($fields) //->visible(false) ->columns($section->columns); diff --git a/src/Concerns/Schemata.php b/src/Concerns/Schemata.php index e9eec863..1994f133 100644 --- a/src/Concerns/Schemata.php +++ b/src/Concerns/Schemata.php @@ -295,7 +295,7 @@ public static function getSectionsSchema(): array ->inline(false) ->visible(fn (Get $get) => $get('../../options.show-as') === 'page') ->label(__('compact section')), - self::visibility() + self::visibility(), ]), ]), ]), diff --git a/src/Facades/Bolt.php b/src/Facades/Bolt.php index 6f5c7610..238d41f3 100644 --- a/src/Facades/Bolt.php +++ b/src/Facades/Bolt.php @@ -2,19 +2,13 @@ namespace LaraZeus\Bolt\Facades; -use Filament\Forms\Components\Fieldset; -use Filament\Forms\Components\Grid; use Filament\Forms\Components\Placeholder; -use Filament\Forms\Components\Section; -use Filament\Forms\Components\Tabs; -use Filament\Forms\Components\Wizard; use Filament\Support\Facades\FilamentView; use Illuminate\Contracts\Support\Htmlable; use Illuminate\Support\Carbon; use Illuminate\Support\Collection; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\Facade; -use LaraZeus\Bolt\Models\Form; class Bolt extends Facade { diff --git a/src/Fields/Classes/Toggle.php b/src/Fields/Classes/Toggle.php index 3b38a932..38bd4594 100644 --- a/src/Fields/Classes/Toggle.php +++ b/src/Fields/Classes/Toggle.php @@ -30,7 +30,7 @@ public static function getOptions(): array public function appendFilamentComponentsOptions($component, $zeusField) { parent::appendFilamentComponentsOptions($component, $zeusField); - + return $component->live(); } } diff --git a/src/Filament/Resources/FormResource.php b/src/Filament/Resources/FormResource.php index 5bcb0991..63effb70 100644 --- a/src/Filament/Resources/FormResource.php +++ b/src/Filament/Resources/FormResource.php @@ -36,8 +36,8 @@ class FormResource extends BoltResource { - use Schemata; use HasOptions; + use Schemata; protected static ?string $navigationIcon = 'clarity-form-line'; diff --git a/src/Livewire/FillForms.php b/src/Livewire/FillForms.php index f02716f6..bca140e3 100644 --- a/src/Livewire/FillForms.php +++ b/src/Livewire/FillForms.php @@ -9,7 +9,6 @@ use LaraZeus\Bolt\Concerns\Designer; use LaraZeus\Bolt\Events\FormMounted; use LaraZeus\Bolt\Events\FormSent; -use LaraZeus\Bolt\Facades\Bolt; use LaraZeus\Bolt\Facades\Extensions; use LaraZeus\Bolt\Models\Form; use Livewire\Component; @@ -19,8 +18,8 @@ */ class FillForms extends Component implements Forms\Contracts\HasForms { - use Forms\Concerns\InteractsWithForms; use Designer; + use Forms\Concerns\InteractsWithForms; public Form $zeusForm; From 9bdbe09b6d95ec9e84a46600849958b0c20c9336 Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Sat, 28 Oct 2023 18:39:36 +0300 Subject: [PATCH 03/15] clean up --- src/Concerns/Designer.php | 2 -- src/Fields/Classes/Toggle.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Concerns/Designer.php b/src/Concerns/Designer.php index 20124807..4f371b7f 100644 --- a/src/Concerns/Designer.php +++ b/src/Concerns/Designer.php @@ -108,8 +108,6 @@ private static function handelSections($zeusForm, $section, $fields): Tab|Step|F } $component->visible(function ($record, Get $get) use ($zeusForm,$section) { - //dump(1,$zeusForm->fields()->whereJsonContains('sections.options->visibility->active',true)->count()); - if (! isset($section->options['visibility']) || ! $section->options['visibility']['active']) { return true; } diff --git a/src/Fields/Classes/Toggle.php b/src/Fields/Classes/Toggle.php index 3b38a932..38bd4594 100644 --- a/src/Fields/Classes/Toggle.php +++ b/src/Fields/Classes/Toggle.php @@ -30,7 +30,7 @@ public static function getOptions(): array public function appendFilamentComponentsOptions($component, $zeusField) { parent::appendFilamentComponentsOptions($component, $zeusField); - + return $component->live(); } } From b265bebebf19516daef3652f9a11f759d0360d06 Mon Sep 17 00:00:00 2001 From: atmonshi Date: Sat, 28 Oct 2023 15:42:15 +0000 Subject: [PATCH 04/15] Fix styling --- src/Concerns/Designer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Concerns/Designer.php b/src/Concerns/Designer.php index ad1c53e0..ab167700 100644 --- a/src/Concerns/Designer.php +++ b/src/Concerns/Designer.php @@ -107,7 +107,7 @@ private static function handelSections($zeusForm, $section, $fields): Tab | Step ->icon($section->icon ?? null); } - $component->visible(function ($record, Get $get) use ($zeusForm,$section) { + $component->visible(function ($record, Get $get) use ($section) { if (! isset($section->options['visibility']) || ! $section->options['visibility']['active']) { return true; From 5c626928e5346e12d343ef3ccf9b0da7328dadc5 Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Sat, 28 Oct 2023 19:09:40 +0300 Subject: [PATCH 05/15] prevent adding conditions for fields in the current section --- src/Concerns/Designer.php | 1 - src/Concerns/HasOptions.php | 22 +++++++++++++--------- src/Concerns/Schemata.php | 27 ++++++++++++++------------- 3 files changed, 27 insertions(+), 23 deletions(-) diff --git a/src/Concerns/Designer.php b/src/Concerns/Designer.php index ab167700..06af6a20 100644 --- a/src/Concerns/Designer.php +++ b/src/Concerns/Designer.php @@ -130,7 +130,6 @@ private static function handelSections($zeusForm, $section, $fields): Tab | Step return $component ->id(str($section->name)->slug() . '-' . $section->id) ->schema($fields) - //->visible(false) ->columns($section->columns); } } diff --git a/src/Concerns/HasOptions.php b/src/Concerns/HasOptions.php index 8a707f00..fc5addb1 100644 --- a/src/Concerns/HasOptions.php +++ b/src/Concerns/HasOptions.php @@ -17,7 +17,7 @@ trait HasOptions { - public static function visibility(): Grid + public static function visibility($type = 'field'): Grid { return Grid::make() ->schema([ @@ -28,17 +28,21 @@ public static function visibility(): Grid Select::make('options.visibility.fieldID') ->label(__('show when the field:')) ->live() - ->visible(fn (Get $get): bool => ! empty($get('options.visibility.active'))) - ->required(fn (Get $get): bool => ! empty($get('options.visibility.active'))) - ->options(function ($livewire, $record) { + ->visible(fn(Get $get): bool => !empty($get('options.visibility.active'))) + ->required(fn(Get $get): bool => !empty($get('options.visibility.active'))) + ->options(function ($livewire, $record) use ($type) { if ($record === null) { return []; } return $livewire->record ->fields() - ->where('fields.id', '!=', $record->id ?? null) - ->where('fields.options', '!=', $record->id ?? null) + ->when($type === 'field', function ($query) use ($record) { + return $query->where('fields.id', '!=', $record->id); + }) + ->when($type === 'section', function ($query) use ($record) { + return $query->where('section_id', '!=', $record->id); + }) ->where(function ($query) { $query->whereNotNull('fields.options->dataSource'); $query->orWhere('type', '\LaraZeus\Bolt\Fields\Classes\Toggle'); @@ -50,8 +54,8 @@ public static function visibility(): Grid Select::make('options.visibility.values') ->label(__('has the value:')) ->live() - ->required(fn (Get $get): bool => ! empty($get('options.visibility.fieldID'))) - ->visible(fn (Get $get): bool => ! empty($get('options.visibility.fieldID'))) + ->required(fn(Get $get): bool => !empty($get('options.visibility.fieldID'))) + ->visible(fn(Get $get): bool => !empty($get('options.visibility.fieldID'))) ->options(function (Get $get, $livewire) { if ($get('options.visibility.fieldID') === null) { return []; @@ -67,7 +71,7 @@ public static function visibility(): Grid ]; } - if (! isset($getRelated->options['dataSource'])) { + if (!isset($getRelated->options['dataSource'])) { return []; } diff --git a/src/Concerns/Schemata.php b/src/Concerns/Schemata.php index 1994f133..72c94a45 100644 --- a/src/Concerns/Schemata.php +++ b/src/Concerns/Schemata.php @@ -50,9 +50,9 @@ public static function getMainFormSchema(): array ->addActionLabel(__('Add Section')) ->cloneable() ->collapsible() - ->collapsed(fn (string $operation) => $operation === 'edit') + ->collapsed(fn(string $operation) => $operation === 'edit') ->minItems(1) - ->itemLabel(fn (array $state): ?string => $state['name'] ?? null) + ->itemLabel(fn(array $state): ?string => $state['name'] ?? null) ->columnSpan(2), ]; } @@ -164,7 +164,7 @@ public static function getTabsSchema(): array }), TextInput::make('slug')->required()->maxLength(255)->label(__('slug')), ]) - ->getOptionLabelFromRecordUsing(fn (Category $record) => "{$record->name}"), + ->getOptionLabelFromRecordUsing(fn(Category $record) => "{$record->name}"), Grid::make() ->columns(2) ->schema([ @@ -210,7 +210,7 @@ public static function getTabsSchema(): array Tabs\Tab::make('embed-tab') ->label(__('Embed')) - ->visible(fn ( + ->visible(fn( string $operation ): bool => class_exists(\LaraZeus\Sky\SkyServiceProvider::class) && $operation === 'edit') ->schema([ @@ -219,13 +219,14 @@ public static function getTabsSchema(): array ->dehydrated(false) ->disabled() ->formatStateUsing(function (Get $get) { - return '' . $get('slug') . ''; + return ''.$get('slug').''; }), ]), Tabs\Tab::make('design') ->label(__('Design')) - ->visible(fn (): bool => class_exists(\LaraZeus\BoltPro\BoltProServiceProvider::class) && config('zeus-bolt.allow_design')) + ->visible(fn( + ): bool => class_exists(\LaraZeus\BoltPro\BoltProServiceProvider::class) && config('zeus-bolt.allow_design')) ->schema([ ViewField::make('options.primary_color') ->view('zeus::filament.components.color-picker'), @@ -265,7 +266,7 @@ public static function getSectionsSchema(): array ->label(__('Section Name')), TextInput::make('description') ->nullable() - ->visible(fn (Get $get) => $get('../../options.show-as') !== 'tabs') + ->visible(fn(Get $get) => $get('../../options.show-as') !== 'tabs') ->label(__('Section Description')), ]), Tabs\Tab::make('section-details-tab') @@ -273,7 +274,7 @@ public static function getSectionsSchema(): array ->columns(2) ->schema([ Select::make('columns') - ->options(fn (): array => array_combine(range(1, 12), range(1, 12))) + ->options(fn(): array => array_combine(range(1, 12), range(1, 12))) ->required() ->default(1) ->hint(__('fields per row')) @@ -288,14 +289,14 @@ public static function getSectionsSchema(): array Toggle::make('aside') ->inline(false) - ->visible(fn (Get $get) => $get('../../options.show-as') === 'page') + ->visible(fn(Get $get) => $get('../../options.show-as') === 'page') ->label(__('show as aside')), Toggle::make('compact') ->inline(false) - ->visible(fn (Get $get) => $get('../../options.show-as') === 'page') + ->visible(fn(Get $get) => $get('../../options.show-as') === 'page') ->label(__('compact section')), - self::visibility(), + self::visibility('section'), ]), ]), ]), @@ -307,7 +308,7 @@ public static function getSectionsSchema(): array ->cloneable() ->minItems(1) ->collapsible() - ->collapsed(fn (string $operation) => $operation === 'edit') + ->collapsed(fn(string $operation) => $operation === 'edit') ->grid([ 'default' => 1, 'md' => 2, @@ -315,7 +316,7 @@ public static function getSectionsSchema(): array '2xl' => 3, ]) ->label('') - ->itemLabel(fn (array $state): ?string => $state['name'] ?? null) + ->itemLabel(fn(array $state): ?string => $state['name'] ?? null) ->addActionLabel(__('Add field')) ->schema(static::getFieldsSchema()), ]; From b6c2e2fbbfe273396b89bb96f0ba1c5d47a678e7 Mon Sep 17 00:00:00 2001 From: atmonshi Date: Sat, 28 Oct 2023 16:10:05 +0000 Subject: [PATCH 06/15] Fix styling --- src/Concerns/HasOptions.php | 10 +++++----- src/Concerns/Schemata.php | 24 ++++++++++++------------ 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/Concerns/HasOptions.php b/src/Concerns/HasOptions.php index fc5addb1..3376e19c 100644 --- a/src/Concerns/HasOptions.php +++ b/src/Concerns/HasOptions.php @@ -28,8 +28,8 @@ public static function visibility($type = 'field'): Grid Select::make('options.visibility.fieldID') ->label(__('show when the field:')) ->live() - ->visible(fn(Get $get): bool => !empty($get('options.visibility.active'))) - ->required(fn(Get $get): bool => !empty($get('options.visibility.active'))) + ->visible(fn (Get $get): bool => ! empty($get('options.visibility.active'))) + ->required(fn (Get $get): bool => ! empty($get('options.visibility.active'))) ->options(function ($livewire, $record) use ($type) { if ($record === null) { return []; @@ -54,8 +54,8 @@ public static function visibility($type = 'field'): Grid Select::make('options.visibility.values') ->label(__('has the value:')) ->live() - ->required(fn(Get $get): bool => !empty($get('options.visibility.fieldID'))) - ->visible(fn(Get $get): bool => !empty($get('options.visibility.fieldID'))) + ->required(fn (Get $get): bool => ! empty($get('options.visibility.fieldID'))) + ->visible(fn (Get $get): bool => ! empty($get('options.visibility.fieldID'))) ->options(function (Get $get, $livewire) { if ($get('options.visibility.fieldID') === null) { return []; @@ -71,7 +71,7 @@ public static function visibility($type = 'field'): Grid ]; } - if (!isset($getRelated->options['dataSource'])) { + if (! isset($getRelated->options['dataSource'])) { return []; } diff --git a/src/Concerns/Schemata.php b/src/Concerns/Schemata.php index 72c94a45..78e1b688 100644 --- a/src/Concerns/Schemata.php +++ b/src/Concerns/Schemata.php @@ -50,9 +50,9 @@ public static function getMainFormSchema(): array ->addActionLabel(__('Add Section')) ->cloneable() ->collapsible() - ->collapsed(fn(string $operation) => $operation === 'edit') + ->collapsed(fn (string $operation) => $operation === 'edit') ->minItems(1) - ->itemLabel(fn(array $state): ?string => $state['name'] ?? null) + ->itemLabel(fn (array $state): ?string => $state['name'] ?? null) ->columnSpan(2), ]; } @@ -164,7 +164,7 @@ public static function getTabsSchema(): array }), TextInput::make('slug')->required()->maxLength(255)->label(__('slug')), ]) - ->getOptionLabelFromRecordUsing(fn(Category $record) => "{$record->name}"), + ->getOptionLabelFromRecordUsing(fn (Category $record) => "{$record->name}"), Grid::make() ->columns(2) ->schema([ @@ -210,7 +210,7 @@ public static function getTabsSchema(): array Tabs\Tab::make('embed-tab') ->label(__('Embed')) - ->visible(fn( + ->visible(fn ( string $operation ): bool => class_exists(\LaraZeus\Sky\SkyServiceProvider::class) && $operation === 'edit') ->schema([ @@ -219,13 +219,13 @@ public static function getTabsSchema(): array ->dehydrated(false) ->disabled() ->formatStateUsing(function (Get $get) { - return ''.$get('slug').''; + return '' . $get('slug') . ''; }), ]), Tabs\Tab::make('design') ->label(__('Design')) - ->visible(fn( + ->visible(fn ( ): bool => class_exists(\LaraZeus\BoltPro\BoltProServiceProvider::class) && config('zeus-bolt.allow_design')) ->schema([ ViewField::make('options.primary_color') @@ -266,7 +266,7 @@ public static function getSectionsSchema(): array ->label(__('Section Name')), TextInput::make('description') ->nullable() - ->visible(fn(Get $get) => $get('../../options.show-as') !== 'tabs') + ->visible(fn (Get $get) => $get('../../options.show-as') !== 'tabs') ->label(__('Section Description')), ]), Tabs\Tab::make('section-details-tab') @@ -274,7 +274,7 @@ public static function getSectionsSchema(): array ->columns(2) ->schema([ Select::make('columns') - ->options(fn(): array => array_combine(range(1, 12), range(1, 12))) + ->options(fn (): array => array_combine(range(1, 12), range(1, 12))) ->required() ->default(1) ->hint(__('fields per row')) @@ -289,12 +289,12 @@ public static function getSectionsSchema(): array Toggle::make('aside') ->inline(false) - ->visible(fn(Get $get) => $get('../../options.show-as') === 'page') + ->visible(fn (Get $get) => $get('../../options.show-as') === 'page') ->label(__('show as aside')), Toggle::make('compact') ->inline(false) - ->visible(fn(Get $get) => $get('../../options.show-as') === 'page') + ->visible(fn (Get $get) => $get('../../options.show-as') === 'page') ->label(__('compact section')), self::visibility('section'), ]), @@ -308,7 +308,7 @@ public static function getSectionsSchema(): array ->cloneable() ->minItems(1) ->collapsible() - ->collapsed(fn(string $operation) => $operation === 'edit') + ->collapsed(fn (string $operation) => $operation === 'edit') ->grid([ 'default' => 1, 'md' => 2, @@ -316,7 +316,7 @@ public static function getSectionsSchema(): array '2xl' => 3, ]) ->label('') - ->itemLabel(fn(array $state): ?string => $state['name'] ?? null) + ->itemLabel(fn (array $state): ?string => $state['name'] ?? null) ->addActionLabel(__('Add field')) ->schema(static::getFieldsSchema()), ]; From f6163b910daa65e356ebba547c698d3e9c1723cd Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Sun, 29 Oct 2023 00:11:53 +0300 Subject: [PATCH 07/15] add docs and improve designer --- docs/advanced/add-datasource.md | 2 +- docs/advanced/add-fields.md | 2 +- docs/advanced/custom-designer.md | 25 +++++++++++++++++++++++++ docs/advanced/custom-schemata.md | 6 ++++-- docs/advanced/events.md | 2 +- docs/advanced/extension.md | 2 +- docs/advanced/render-hooks.md | 2 +- src/Concerns/Designer.php | 13 +++++++------ src/Livewire/FillForms.php | 19 +++++++++++++++++-- src/Models/Form.php | 2 ++ 10 files changed, 60 insertions(+), 15 deletions(-) create mode 100644 docs/advanced/custom-designer.md diff --git a/docs/advanced/add-datasource.md b/docs/advanced/add-datasource.md index d997f8a7..b435f45f 100644 --- a/docs/advanced/add-datasource.md +++ b/docs/advanced/add-datasource.md @@ -1,6 +1,6 @@ --- title: Custom Datasource -weight: 6 +weight: 5 --- ## Create Custom Datasource diff --git a/docs/advanced/add-fields.md b/docs/advanced/add-fields.md index d001e43a..dda630f8 100644 --- a/docs/advanced/add-fields.md +++ b/docs/advanced/add-fields.md @@ -1,6 +1,6 @@ --- title: Custom Fields -weight: 6 +weight: 4 --- ## Create Custom Fields diff --git a/docs/advanced/custom-designer.md b/docs/advanced/custom-designer.md new file mode 100644 index 00000000..e25813da --- /dev/null +++ b/docs/advanced/custom-designer.md @@ -0,0 +1,25 @@ +--- +title: Custom Designer +weight: 7 +--- + +## Use Custom Designer + +the trait `Designer` is the one responsible for presenting the form in the frontend, and now you can customize it to your liking. + +> **Note**\ +> This is an advanced feature; please use it only when necessary since you have to mainline it manually with every update for Bolt. + +### First, copy the trait to your app: + +copy the trait from `\LaraZeus\Bolt\Concerns` to your app, let say: `\App\Zeus\Bolt\Concerns` + +### call the trait in a service provider + +in your register method of your `AppServiceProvider` add the following: + +```php +\LaraZeus\Bolt\Filament\Resources\FormResource::getBoltFormSchemaUsing(fn(): array => \App\Zeus\Bolt\Concerns\Designer::getMainFormSchema()); +``` + +You're done. Customize the form builder to fit your needs. Remember to keep an eye on any changes in future updates so that you will avoid breaking changes. diff --git a/docs/advanced/custom-schemata.md b/docs/advanced/custom-schemata.md index 5b2d153d..0d949e8a 100644 --- a/docs/advanced/custom-schemata.md +++ b/docs/advanced/custom-schemata.md @@ -1,8 +1,10 @@ --- title: Custom Schemata -weight: 7 +weight: 6 --- +## Use Custom Schemata + the trait `Schemata` is the heart of the form builder, and now you can customize it to your liking. > **Note**\ @@ -17,7 +19,7 @@ copy the trait from `\LaraZeus\Bolt\Concerns` to your app, let say: `\App\Zeus\B in your register method of your `AppServiceProvider` add the following: ```php -\LaraZeus\Bolt\Filament\Resources\FormResource::getBoltFormSchemaUsing(fn(): array => \App\Zeus\Bolt\Concerns\Schemata::getMainFormSchema()); +\LaraZeus\Bolt\Livewire\FillForms::getBoltFormDesignerUsing(\App\Zeus\Bolt\Concerns\Designer::class); ``` You're done. Customize the form builder to fit your needs. Remember to keep an eye on any changes in future updates so that you will avoid breaking changes. diff --git a/docs/advanced/events.md b/docs/advanced/events.md index c2a45c58..1d5edaa6 100644 --- a/docs/advanced/events.md +++ b/docs/advanced/events.md @@ -1,6 +1,6 @@ --- title: Events -weight: 7 +weight: 1 --- ## Available Events diff --git a/docs/advanced/extension.md b/docs/advanced/extension.md index 4d88b3ff..df16c4e5 100644 --- a/docs/advanced/extension.md +++ b/docs/advanced/extension.md @@ -1,6 +1,6 @@ --- title: Extensions -weight: 9 +weight: 3 --- ## Extensions diff --git a/docs/advanced/render-hooks.md b/docs/advanced/render-hooks.md index 0f34cb74..46bd6ad3 100644 --- a/docs/advanced/render-hooks.md +++ b/docs/advanced/render-hooks.md @@ -1,6 +1,6 @@ --- title: Render hooks -weight: 8 +weight: 2 --- ## Render Hooks diff --git a/src/Concerns/Designer.php b/src/Concerns/Designer.php index 06af6a20..bce51ebc 100644 --- a/src/Concerns/Designer.php +++ b/src/Concerns/Designer.php @@ -18,13 +18,13 @@ trait Designer { public static function ui(Form $zeusForm, bool $inline = false): array { - $sections = static::handelExt($zeusForm); + $sections = static::drawExt($zeusForm); foreach ($zeusForm->sections->sortBy('ordering') as $section) { - $sections[] = static::handelSections( + $sections[] = static::drawSections( $zeusForm, $section, - static::handelFields($section, $inline) + static::drawFields($section, $inline) ); } @@ -39,9 +39,10 @@ public static function ui(Form $zeusForm, bool $inline = false): array return $sections; } - private static function handelExt(Form $zeusForm): Section | array + private static function drawExt(Form $zeusForm): Section | array { $getExtComponent = Extensions::init($zeusForm, 'formComponents'); + if ($getExtComponent === null) { return []; } @@ -58,7 +59,7 @@ private static function handelExt(Form $zeusForm): Section | array ->schema($getExtComponent); } - private static function handelFields(ZeusSection $section, bool $inline): array + private static function drawFields(ZeusSection $section, bool $inline): array { $fields = []; @@ -88,7 +89,7 @@ private static function handelFields(ZeusSection $section, bool $inline): array return $fields; } - private static function handelSections($zeusForm, $section, $fields): Tab | Step | Fieldset | Section + private static function drawSections($zeusForm, $section, $fields): Tab | Step | Fieldset | Section { $component = Section::make($section->name) ->description($section->description) diff --git a/src/Livewire/FillForms.php b/src/Livewire/FillForms.php index bca140e3..b9780509 100644 --- a/src/Livewire/FillForms.php +++ b/src/Livewire/FillForms.php @@ -3,6 +3,7 @@ namespace LaraZeus\Bolt\Livewire; use Filament\Forms; +use Filament\Forms\Concerns\InteractsWithForms; use Illuminate\Support\Facades\Mail; use Illuminate\View\View; use LaraZeus\Bolt\BoltPlugin; @@ -19,7 +20,7 @@ class FillForms extends Component implements Forms\Contracts\HasForms { use Designer; - use Forms\Concerns\InteractsWithForms; + use InteractsWithForms; public Form $zeusForm; @@ -31,9 +32,23 @@ class FillForms extends Component implements Forms\Contracts\HasForms public bool $inline = false; + protected static string | null $boltFormDesigner = null; + + public function getBoltFormDesigner(): string | null + { + return static::$boltFormDesigner; + } + + public static function getBoltFormDesignerUsing(string | null $form): void + { + static::$boltFormDesigner = $form; + } + protected function getFormSchema(): array { - return static::ui($this->zeusForm, $this->inline); + $getDesignerClass = $this->getBoltFormDesigner() ?? Designer::class; + + return $getDesignerClass::ui($this->zeusForm, $this->inline); } protected function getFormModel(): Form diff --git a/src/Models/Form.php b/src/Models/Form.php index a098c8ff..15e1e1bd 100644 --- a/src/Models/Form.php +++ b/src/Models/Form.php @@ -29,6 +29,8 @@ * @property bool $date_available * @property bool $need_login * @property bool $onePerUser + * @property mixed $sections + * @property mixed $fields */ class Form extends Model { From 84c5421f45107362b94c699b78a4eb45da71c1a5 Mon Sep 17 00:00:00 2001 From: atmonshi Date: Sat, 28 Oct 2023 21:12:39 +0000 Subject: [PATCH 08/15] Fix styling --- src/Livewire/FillForms.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Livewire/FillForms.php b/src/Livewire/FillForms.php index b9780509..82bcbccd 100644 --- a/src/Livewire/FillForms.php +++ b/src/Livewire/FillForms.php @@ -32,14 +32,14 @@ class FillForms extends Component implements Forms\Contracts\HasForms public bool $inline = false; - protected static string | null $boltFormDesigner = null; + protected static ?string $boltFormDesigner = null; - public function getBoltFormDesigner(): string | null + public function getBoltFormDesigner(): ?string { return static::$boltFormDesigner; } - public static function getBoltFormDesignerUsing(string | null $form): void + public static function getBoltFormDesignerUsing(?string $form): void { static::$boltFormDesigner = $form; } From 7a6d806239477d5c4511999aa0b3992ea1b6341e Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Sun, 29 Oct 2023 00:27:04 +0300 Subject: [PATCH 09/15] fix tests and phpstan --- composer.lock | 547 +++++++++--------- src/Concerns/Designer.php | 9 +- src/Concerns/HasOptions.php | 2 +- .../migrations/004_create_sections_table.php | 2 + 4 files changed, 282 insertions(+), 278 deletions(-) diff --git a/composer.lock b/composer.lock index 42d0804d..272930f8 100644 --- a/composer.lock +++ b/composer.lock @@ -272,16 +272,16 @@ }, { "name": "blade-ui-kit/blade-icons", - "version": "1.5.2", + "version": "1.5.3", "source": { "type": "git", "url": "https://github.com/blade-ui-kit/blade-icons.git", - "reference": "4d6b6b2548b1994a777211a985e18691701891e4" + "reference": "b5e6603218e2347ac81cb780bc6f71c8c3b31f5b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/blade-ui-kit/blade-icons/zipball/4d6b6b2548b1994a777211a985e18691701891e4", - "reference": "4d6b6b2548b1994a777211a985e18691701891e4", + "url": "https://api.github.com/repos/blade-ui-kit/blade-icons/zipball/b5e6603218e2347ac81cb780bc6f71c8c3b31f5b", + "reference": "b5e6603218e2347ac81cb780bc6f71c8c3b31f5b", "shasum": "" }, "require": { @@ -343,9 +343,13 @@ { "url": "https://github.com/sponsors/driesvints", "type": "github" + }, + { + "url": "https://www.paypal.com/paypalme/driesvints", + "type": "paypal" } ], - "time": "2023-06-09T15:47:26+00:00" + "time": "2023-10-18T10:50:13+00:00" }, { "name": "brick/math", @@ -404,27 +408,27 @@ }, { "name": "calebporzio/sushi", - "version": "v2.4.4", + "version": "v2.4.5", "source": { "type": "git", "url": "https://github.com/calebporzio/sushi.git", - "reference": "8eeafda290e9a09abe6b102c3925c9434d1c87a5" + "reference": "932d09781bff75c812541d2d269400fd7d730bab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/calebporzio/sushi/zipball/8eeafda290e9a09abe6b102c3925c9434d1c87a5", - "reference": "8eeafda290e9a09abe6b102c3925c9434d1c87a5", + "url": "https://api.github.com/repos/calebporzio/sushi/zipball/932d09781bff75c812541d2d269400fd7d730bab", + "reference": "932d09781bff75c812541d2d269400fd7d730bab", "shasum": "" }, "require": { - "illuminate/database": "^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0", - "illuminate/support": "^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0", + "illuminate/database": "^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0", + "illuminate/support": "^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0", "php": "^7.1.3|^8.0" }, "require-dev": { "doctrine/dbal": "^2.9 || ^3.1.4", - "orchestra/testbench": "3.8.* || 3.9.* || ^4.0 || ^6.0 || ^7.0 || ^8.0", - "phpunit/phpunit": "^7.5 || ^8.4 || ^9.0" + "orchestra/testbench": "3.8.* || 3.9.* || ^4.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0", + "phpunit/phpunit": "^7.5 || ^8.4 || ^9.0 || ^10.0" }, "type": "library", "autoload": { @@ -444,7 +448,7 @@ ], "description": "Eloquent's missing \"array\" driver.", "support": { - "source": "https://github.com/calebporzio/sushi/tree/v2.4.4" + "source": "https://github.com/calebporzio/sushi/tree/v2.4.5" }, "funding": [ { @@ -452,7 +456,7 @@ "type": "github" } ], - "time": "2023-01-11T16:19:01+00:00" + "time": "2023-10-17T14:42:34+00:00" }, { "name": "codeat3/blade-clarity-icons", @@ -650,16 +654,16 @@ }, { "name": "danharrin/livewire-rate-limiting", - "version": "v1.1.0", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/danharrin/livewire-rate-limiting.git", - "reference": "a55996683cabf2e93893280d602191243b3b80b8" + "reference": "bc2cc0a0b5b517fdc5bba8671013dd71081f70a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/danharrin/livewire-rate-limiting/zipball/a55996683cabf2e93893280d602191243b3b80b8", - "reference": "a55996683cabf2e93893280d602191243b3b80b8", + "url": "https://api.github.com/repos/danharrin/livewire-rate-limiting/zipball/bc2cc0a0b5b517fdc5bba8671013dd71081f70a8", + "reference": "bc2cc0a0b5b517fdc5bba8671013dd71081f70a8", "shasum": "" }, "require": { @@ -667,7 +671,8 @@ "php": "^8.0" }, "require-dev": { - "livewire/livewire": "^2.3", + "livewire/livewire": "^3.0", + "livewire/volt": "^1.3", "orchestra/testbench": "^7.0|^8.0", "phpunit/phpunit": "^9.0|^10.0" }, @@ -699,7 +704,7 @@ "type": "github" } ], - "time": "2023-03-12T12:17:29+00:00" + "time": "2023-10-27T15:01:19+00:00" }, { "name": "dflydev/dot-access-data", @@ -1480,16 +1485,16 @@ }, { "name": "filament/actions", - "version": "v3.0.77", + "version": "v3.0.86", "source": { "type": "git", "url": "https://github.com/filamentphp/actions.git", - "reference": "8285ec4ed3f0b5db7a3edb7771f1fb67d76ebe17" + "reference": "a8413d87256672c939ef82558ad01350617612a6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/actions/zipball/8285ec4ed3f0b5db7a3edb7771f1fb67d76ebe17", - "reference": "8285ec4ed3f0b5db7a3edb7771f1fb67d76ebe17", + "url": "https://api.github.com/repos/filamentphp/actions/zipball/a8413d87256672c939ef82558ad01350617612a6", + "reference": "a8413d87256672c939ef82558ad01350617612a6", "shasum": "" }, "require": { @@ -1526,20 +1531,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-10-13T19:26:44+00:00" + "time": "2023-10-27T14:34:56+00:00" }, { "name": "filament/filament", - "version": "v3.0.77", + "version": "v3.0.86", "source": { "type": "git", "url": "https://github.com/filamentphp/panels.git", - "reference": "48078446a7137173481b43d9fdf06863b462b8ea" + "reference": "27fc0bd9fe624607ada8d26c2338f9061e844abd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/panels/zipball/48078446a7137173481b43d9fdf06863b462b8ea", - "reference": "48078446a7137173481b43d9fdf06863b462b8ea", + "url": "https://api.github.com/repos/filamentphp/panels/zipball/27fc0bd9fe624607ada8d26c2338f9061e844abd", + "reference": "27fc0bd9fe624607ada8d26c2338f9061e844abd", "shasum": "" }, "require": { @@ -1591,20 +1596,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-10-15T11:55:27+00:00" + "time": "2023-10-27T14:35:06+00:00" }, { "name": "filament/forms", - "version": "v3.0.77", + "version": "v3.0.86", "source": { "type": "git", "url": "https://github.com/filamentphp/forms.git", - "reference": "13aab35f18a8383699b086a7faeb343d43eaa0e3" + "reference": "3484d04e8483d6291662e0369b0509da68c3206f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/forms/zipball/13aab35f18a8383699b086a7faeb343d43eaa0e3", - "reference": "13aab35f18a8383699b086a7faeb343d43eaa0e3", + "url": "https://api.github.com/repos/filamentphp/forms/zipball/3484d04e8483d6291662e0369b0509da68c3206f", + "reference": "3484d04e8483d6291662e0369b0509da68c3206f", "shasum": "" }, "require": { @@ -1647,20 +1652,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-10-15T11:55:21+00:00" + "time": "2023-10-27T14:35:01+00:00" }, { "name": "filament/infolists", - "version": "v3.0.77", + "version": "v3.0.86", "source": { "type": "git", "url": "https://github.com/filamentphp/infolists.git", - "reference": "2629525c94490933ad8bcb7d82e39ce6ea1ef314" + "reference": "f74cc311ba0672c3f73b1cdd802185f8b41fd4cd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/infolists/zipball/2629525c94490933ad8bcb7d82e39ce6ea1ef314", - "reference": "2629525c94490933ad8bcb7d82e39ce6ea1ef314", + "url": "https://api.github.com/repos/filamentphp/infolists/zipball/f74cc311ba0672c3f73b1cdd802185f8b41fd4cd", + "reference": "f74cc311ba0672c3f73b1cdd802185f8b41fd4cd", "shasum": "" }, "require": { @@ -1698,20 +1703,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-10-15T11:55:20+00:00" + "time": "2023-10-27T14:35:11+00:00" }, { "name": "filament/notifications", - "version": "v3.0.77", + "version": "v3.0.86", "source": { "type": "git", "url": "https://github.com/filamentphp/notifications.git", - "reference": "ae21e99853c0df0a093001e6db36b844f6fec535" + "reference": "b54eb25ec100e65b960fb8b90c9d38c132eb5bb6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/notifications/zipball/ae21e99853c0df0a093001e6db36b844f6fec535", - "reference": "ae21e99853c0df0a093001e6db36b844f6fec535", + "url": "https://api.github.com/repos/filamentphp/notifications/zipball/b54eb25ec100e65b960fb8b90c9d38c132eb5bb6", + "reference": "b54eb25ec100e65b960fb8b90c9d38c132eb5bb6", "shasum": "" }, "require": { @@ -1750,20 +1755,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-10-13T19:26:43+00:00" + "time": "2023-10-27T14:34:57+00:00" }, { "name": "filament/spatie-laravel-translatable-plugin", - "version": "v3.0.77", + "version": "v3.0.86", "source": { "type": "git", "url": "https://github.com/filamentphp/spatie-laravel-translatable-plugin.git", - "reference": "99e9615c77418650d8b8d769a0c5eaaadb3d4d84" + "reference": "fa7548812db38379657a0bc51a11668d8d5ccfc9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/spatie-laravel-translatable-plugin/zipball/99e9615c77418650d8b8d769a0c5eaaadb3d4d84", - "reference": "99e9615c77418650d8b8d769a0c5eaaadb3d4d84", + "url": "https://api.github.com/repos/filamentphp/spatie-laravel-translatable-plugin/zipball/fa7548812db38379657a0bc51a11668d8d5ccfc9", + "reference": "fa7548812db38379657a0bc51a11668d8d5ccfc9", "shasum": "" }, "require": { @@ -1795,20 +1800,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-10-05T15:18:17+00:00" + "time": "2023-10-27T14:35:14+00:00" }, { "name": "filament/support", - "version": "v3.0.77", + "version": "v3.0.86", "source": { "type": "git", "url": "https://github.com/filamentphp/support.git", - "reference": "b276fe1904cc1999ef34ea493ced39780086d839" + "reference": "f29126aab952b6020be636efb0ff88ab8ac1b678" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/support/zipball/b276fe1904cc1999ef34ea493ced39780086d839", - "reference": "b276fe1904cc1999ef34ea493ced39780086d839", + "url": "https://api.github.com/repos/filamentphp/support/zipball/f29126aab952b6020be636efb0ff88ab8ac1b678", + "reference": "f29126aab952b6020be636efb0ff88ab8ac1b678", "shasum": "" }, "require": { @@ -1852,20 +1857,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-10-15T11:55:23+00:00" + "time": "2023-10-27T14:35:17+00:00" }, { "name": "filament/tables", - "version": "v3.0.77", + "version": "v3.0.86", "source": { "type": "git", "url": "https://github.com/filamentphp/tables.git", - "reference": "a47696c8bcd8a8239a29d6307c905c88ccbae96e" + "reference": "dee6e2b83997eacdf9b2184a7b38948ac42deecb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/tables/zipball/a47696c8bcd8a8239a29d6307c905c88ccbae96e", - "reference": "a47696c8bcd8a8239a29d6307c905c88ccbae96e", + "url": "https://api.github.com/repos/filamentphp/tables/zipball/dee6e2b83997eacdf9b2184a7b38948ac42deecb", + "reference": "dee6e2b83997eacdf9b2184a7b38948ac42deecb", "shasum": "" }, "require": { @@ -1905,20 +1910,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-10-15T11:55:26+00:00" + "time": "2023-10-27T19:07:59+00:00" }, { "name": "filament/widgets", - "version": "v3.0.77", + "version": "v3.0.86", "source": { "type": "git", "url": "https://github.com/filamentphp/widgets.git", - "reference": "6f4a53631e50472f4439b0ec5139a3386d1c7ab2" + "reference": "e550d4d60238ae0bee8be79908064e66d6d26712" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/widgets/zipball/6f4a53631e50472f4439b0ec5139a3386d1c7ab2", - "reference": "6f4a53631e50472f4439b0ec5139a3386d1c7ab2", + "url": "https://api.github.com/repos/filamentphp/widgets/zipball/e550d4d60238ae0bee8be79908064e66d6d26712", + "reference": "e550d4d60238ae0bee8be79908064e66d6d26712", "shasum": "" }, "require": { @@ -1949,7 +1954,7 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-10-13T19:27:11+00:00" + "time": "2023-10-27T14:35:16+00:00" }, { "name": "flowframe/laravel-trend", @@ -2298,16 +2303,16 @@ }, { "name": "kirschbaum-development/eloquent-power-joins", - "version": "3.2.4", + "version": "3.3.1", "source": { "type": "git", "url": "https://github.com/kirschbaum-development/eloquent-power-joins.git", - "reference": "fadc20d436b0693a34c4b611d07954818e46eb4d" + "reference": "52a1282c0938fd5396a7bf970e6a0a8c56c8f560" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kirschbaum-development/eloquent-power-joins/zipball/fadc20d436b0693a34c4b611d07954818e46eb4d", - "reference": "fadc20d436b0693a34c4b611d07954818e46eb4d", + "url": "https://api.github.com/repos/kirschbaum-development/eloquent-power-joins/zipball/52a1282c0938fd5396a7bf970e6a0a8c56c8f560", + "reference": "52a1282c0938fd5396a7bf970e6a0a8c56c8f560", "shasum": "" }, "require": { @@ -2354,22 +2359,22 @@ ], "support": { "issues": "https://github.com/kirschbaum-development/eloquent-power-joins/issues", - "source": "https://github.com/kirschbaum-development/eloquent-power-joins/tree/3.2.4" + "source": "https://github.com/kirschbaum-development/eloquent-power-joins/tree/3.3.1" }, - "time": "2023-09-12T17:02:05+00:00" + "time": "2023-10-28T13:48:46+00:00" }, { "name": "lara-zeus/core", - "version": "v3.0.8", + "version": "v3.0.9", "source": { "type": "git", "url": "https://github.com/lara-zeus/core.git", - "reference": "759091b1c04d81583666819bd5b61952b281fef0" + "reference": "f0bad2b0a9f173cb084bb2f8b129b1970bef2056" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lara-zeus/core/zipball/759091b1c04d81583666819bd5b61952b281fef0", - "reference": "759091b1c04d81583666819bd5b61952b281fef0", + "url": "https://api.github.com/repos/lara-zeus/core/zipball/f0bad2b0a9f173cb084bb2f8b129b1970bef2056", + "reference": "f0bad2b0a9f173cb084bb2f8b129b1970bef2056", "shasum": "" }, "require": { @@ -2442,20 +2447,20 @@ "type": "github" } ], - "time": "2023-10-10T12:27:21+00:00" + "time": "2023-10-15T21:27:38+00:00" }, { "name": "laravel/framework", - "version": "v10.28.0", + "version": "v10.29.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "09137f50f715c1efc649788a26092dcb1ec4ab6e" + "reference": "2d002849a16ad131110a50cbea4d64dbb78515a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/09137f50f715c1efc649788a26092dcb1ec4ab6e", - "reference": "09137f50f715c1efc649788a26092dcb1ec4ab6e", + "url": "https://api.github.com/repos/laravel/framework/zipball/2d002849a16ad131110a50cbea4d64dbb78515a3", + "reference": "2d002849a16ad131110a50cbea4d64dbb78515a3", "shasum": "" }, "require": { @@ -2488,7 +2493,7 @@ "symfony/console": "^6.2", "symfony/error-handler": "^6.2", "symfony/finder": "^6.2", - "symfony/http-foundation": "^6.2", + "symfony/http-foundation": "^6.3", "symfony/http-kernel": "^6.2", "symfony/mailer": "^6.2", "symfony/mime": "^6.2", @@ -2555,13 +2560,15 @@ "league/flysystem-read-only": "^3.3", "league/flysystem-sftp-v3": "^3.0", "mockery/mockery": "^1.5.1", + "nyholm/psr7": "^1.2", "orchestra/testbench-core": "^8.12", "pda/pheanstalk": "^4.0", "phpstan/phpstan": "^1.4.7", "phpunit/phpunit": "^10.0.7", "predis/predis": "^2.0.2", "symfony/cache": "^6.2", - "symfony/http-client": "^6.2.4" + "symfony/http-client": "^6.2.4", + "symfony/psr-http-message-bridge": "^2.0" }, "suggest": { "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).", @@ -2642,27 +2649,27 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-10-10T13:01:37+00:00" + "time": "2023-10-24T13:48:53+00:00" }, { "name": "laravel/prompts", - "version": "v0.1.11", + "version": "v0.1.12", "source": { "type": "git", "url": "https://github.com/laravel/prompts.git", - "reference": "cce65a90e64712909ea1adc033e1d88de8455ffd" + "reference": "b35f249028c22016e45e48626e19e5d42fd827ff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/prompts/zipball/cce65a90e64712909ea1adc033e1d88de8455ffd", - "reference": "cce65a90e64712909ea1adc033e1d88de8455ffd", + "url": "https://api.github.com/repos/laravel/prompts/zipball/b35f249028c22016e45e48626e19e5d42fd827ff", + "reference": "b35f249028c22016e45e48626e19e5d42fd827ff", "shasum": "" }, "require": { "ext-mbstring": "*", "illuminate/collections": "^10.0|^11.0", "php": "^8.1", - "symfony/console": "^6.2" + "symfony/console": "^6.2|^7.0" }, "conflict": { "illuminate/console": ">=10.17.0 <10.25.0", @@ -2697,22 +2704,22 @@ ], "support": { "issues": "https://github.com/laravel/prompts/issues", - "source": "https://github.com/laravel/prompts/tree/v0.1.11" + "source": "https://github.com/laravel/prompts/tree/v0.1.12" }, - "time": "2023-10-03T01:07:35+00:00" + "time": "2023-10-18T14:18:57+00:00" }, { "name": "laravel/serializable-closure", - "version": "v1.3.1", + "version": "v1.3.2", "source": { "type": "git", "url": "https://github.com/laravel/serializable-closure.git", - "reference": "e5a3057a5591e1cfe8183034b0203921abe2c902" + "reference": "076fe2cf128bd54b4341cdc6d49b95b34e101e4c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/e5a3057a5591e1cfe8183034b0203921abe2c902", - "reference": "e5a3057a5591e1cfe8183034b0203921abe2c902", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/076fe2cf128bd54b4341cdc6d49b95b34e101e4c", + "reference": "076fe2cf128bd54b4341cdc6d49b95b34e101e4c", "shasum": "" }, "require": { @@ -2759,7 +2766,7 @@ "issues": "https://github.com/laravel/serializable-closure/issues", "source": "https://github.com/laravel/serializable-closure" }, - "time": "2023-07-14T13:56:28+00:00" + "time": "2023-10-17T13:38:16+00:00" }, { "name": "league/commonmark", @@ -2951,16 +2958,16 @@ }, { "name": "league/flysystem", - "version": "3.17.0", + "version": "3.18.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "bd4c9b26849d82364119c68429541f1631fba94b" + "reference": "015633a05aee22490495159237a5944091d8281e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/bd4c9b26849d82364119c68429541f1631fba94b", - "reference": "bd4c9b26849d82364119c68429541f1631fba94b", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/015633a05aee22490495159237a5944091d8281e", + "reference": "015633a05aee22490495159237a5944091d8281e", "shasum": "" }, "require": { @@ -2989,7 +2996,7 @@ "google/cloud-storage": "^1.23", "microsoft/azure-storage-blob": "^1.1", "phpseclib/phpseclib": "^3.0.14", - "phpstan/phpstan": "^0.12.26", + "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^9.5.11|^10.0", "sabre/dav": "^4.3.1" }, @@ -3025,7 +3032,7 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.17.0" + "source": "https://github.com/thephpleague/flysystem/tree/3.18.0" }, "funding": [ { @@ -3037,20 +3044,20 @@ "type": "github" } ], - "time": "2023-10-05T20:15:05+00:00" + "time": "2023-10-20T17:59:40+00:00" }, { "name": "league/flysystem-local", - "version": "3.16.0", + "version": "3.18.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem-local.git", - "reference": "ec7383f25642e6fd4bb0c9554fc2311245391781" + "reference": "e7381ef7643f658b87efb7dbe98fe538fb1bbf32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/ec7383f25642e6fd4bb0c9554fc2311245391781", - "reference": "ec7383f25642e6fd4bb0c9554fc2311245391781", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/e7381ef7643f658b87efb7dbe98fe538fb1bbf32", + "reference": "e7381ef7643f658b87efb7dbe98fe538fb1bbf32", "shasum": "" }, "require": { @@ -3085,7 +3092,7 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem-local/issues", - "source": "https://github.com/thephpleague/flysystem-local/tree/3.16.0" + "source": "https://github.com/thephpleague/flysystem-local/tree/3.18.0" }, "funding": [ { @@ -3097,20 +3104,20 @@ "type": "github" } ], - "time": "2023-08-30T10:23:59+00:00" + "time": "2023-10-19T20:07:13+00:00" }, { "name": "league/mime-type-detection", - "version": "1.13.0", + "version": "1.14.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "a6dfb1194a2946fcdc1f38219445234f65b35c96" + "reference": "b6a5854368533df0295c5761a0253656a2e52d9e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/a6dfb1194a2946fcdc1f38219445234f65b35c96", - "reference": "a6dfb1194a2946fcdc1f38219445234f65b35c96", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/b6a5854368533df0295c5761a0253656a2e52d9e", + "reference": "b6a5854368533df0295c5761a0253656a2e52d9e", "shasum": "" }, "require": { @@ -3141,7 +3148,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.13.0" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.14.0" }, "funding": [ { @@ -3153,7 +3160,7 @@ "type": "tidelift" } ], - "time": "2023-08-05T12:09:49+00:00" + "time": "2023-10-17T14:13:20+00:00" }, { "name": "league/uri", @@ -3331,16 +3338,16 @@ }, { "name": "livewire/livewire", - "version": "v3.0.8", + "version": "v3.0.10", "source": { "type": "git", "url": "https://github.com/livewire/livewire.git", - "reference": "6f62019a0e821894f701ca463210c01d7369c929" + "reference": "cae998aa9a474dc0de81869ab1536014c7b31a64" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/livewire/livewire/zipball/6f62019a0e821894f701ca463210c01d7369c929", - "reference": "6f62019a0e821894f701ca463210c01d7369c929", + "url": "https://api.github.com/repos/livewire/livewire/zipball/cae998aa9a474dc0de81869ab1536014c7b31a64", + "reference": "cae998aa9a474dc0de81869ab1536014c7b31a64", "shasum": "" }, "require": { @@ -3393,7 +3400,7 @@ "description": "A front-end framework for Laravel.", "support": { "issues": "https://github.com/livewire/livewire/issues", - "source": "https://github.com/livewire/livewire/tree/v3.0.8" + "source": "https://github.com/livewire/livewire/tree/v3.0.10" }, "funding": [ { @@ -3401,7 +3408,7 @@ "type": "github" } ], - "time": "2023-10-10T20:44:46+00:00" + "time": "2023-10-18T11:18:12+00:00" }, { "name": "masterminds/html5", @@ -3472,16 +3479,16 @@ }, { "name": "monolog/monolog", - "version": "3.4.0", + "version": "3.5.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "e2392369686d420ca32df3803de28b5d6f76867d" + "reference": "c915e2634718dbc8a4a15c61b0e62e7a44e14448" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/e2392369686d420ca32df3803de28b5d6f76867d", - "reference": "e2392369686d420ca32df3803de28b5d6f76867d", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/c915e2634718dbc8a4a15c61b0e62e7a44e14448", + "reference": "c915e2634718dbc8a4a15c61b0e62e7a44e14448", "shasum": "" }, "require": { @@ -3557,7 +3564,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/3.4.0" + "source": "https://github.com/Seldaek/monolog/tree/3.5.0" }, "funding": [ { @@ -3569,7 +3576,7 @@ "type": "tidelift" } ], - "time": "2023-06-21T08:46:11+00:00" + "time": "2023-10-27T15:32:31+00:00" }, { "name": "nesbot/carbon", @@ -3913,16 +3920,16 @@ }, { "name": "openspout/openspout", - "version": "v4.18.0", + "version": "v4.19.0", "source": { "type": "git", "url": "https://github.com/openspout/openspout.git", - "reference": "61e59f1cd93eec21bf5eeff5775d194d9df0ee9d" + "reference": "b2d9a007eff4cbdf0a3befe63d696c365ad1abc0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/openspout/openspout/zipball/61e59f1cd93eec21bf5eeff5775d194d9df0ee9d", - "reference": "61e59f1cd93eec21bf5eeff5775d194d9df0ee9d", + "url": "https://api.github.com/repos/openspout/openspout/zipball/b2d9a007eff4cbdf0a3befe63d696c365ad1abc0", + "reference": "b2d9a007eff4cbdf0a3befe63d696c365ad1abc0", "shasum": "" }, "require": { @@ -3936,13 +3943,13 @@ }, "require-dev": { "ext-zlib": "*", - "friendsofphp/php-cs-fixer": "^3.26.1", - "infection/infection": "^0.27", + "friendsofphp/php-cs-fixer": "^3.35.1", + "infection/infection": "^0.27.6", "phpbench/phpbench": "^1.2.14", - "phpstan/phpstan": "^1.10.33", - "phpstan/phpstan-phpunit": "^1.3.14", + "phpstan/phpstan": "^1.10.39", + "phpstan/phpstan-phpunit": "^1.3.15", "phpstan/phpstan-strict-rules": "^1.5.1", - "phpunit/phpunit": "^10.3.3" + "phpunit/phpunit": "^10.4.1" }, "suggest": { "ext-iconv": "To handle non UTF-8 CSV files (if \"php-mbstring\" is not already installed or is too limited)", @@ -3990,7 +3997,7 @@ ], "support": { "issues": "https://github.com/openspout/openspout/issues", - "source": "https://github.com/openspout/openspout/tree/v4.18.0" + "source": "https://github.com/openspout/openspout/tree/v4.19.0" }, "funding": [ { @@ -4002,7 +4009,7 @@ "type": "github" } ], - "time": "2023-09-15T14:12:06+00:00" + "time": "2023-10-19T11:52:22+00:00" }, { "name": "phenx/php-font-lib", @@ -5805,16 +5812,16 @@ }, { "name": "symfony/http-foundation", - "version": "v6.3.5", + "version": "v6.3.6", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "b50f5e281d722cb0f4c296f908bacc3e2b721957" + "reference": "c186627f52febe09c6d5270b04f8462687a250a6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/b50f5e281d722cb0f4c296f908bacc3e2b721957", - "reference": "b50f5e281d722cb0f4c296f908bacc3e2b721957", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/c186627f52febe09c6d5270b04f8462687a250a6", + "reference": "c186627f52febe09c6d5270b04f8462687a250a6", "shasum": "" }, "require": { @@ -5824,12 +5831,12 @@ "symfony/polyfill-php83": "^1.27" }, "conflict": { - "symfony/cache": "<6.2" + "symfony/cache": "<6.3" }, "require-dev": { - "doctrine/dbal": "^2.13.1|^3.0", + "doctrine/dbal": "^2.13.1|^3|^4", "predis/predis": "^1.1|^2.0", - "symfony/cache": "^5.4|^6.0", + "symfony/cache": "^6.3", "symfony/dependency-injection": "^5.4|^6.0", "symfony/expression-language": "^5.4|^6.0", "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4", @@ -5862,7 +5869,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.3.5" + "source": "https://github.com/symfony/http-foundation/tree/v6.3.6" }, "funding": [ { @@ -5878,20 +5885,20 @@ "type": "tidelift" } ], - "time": "2023-09-04T21:33:54+00:00" + "time": "2023-10-17T11:32:53+00:00" }, { "name": "symfony/http-kernel", - "version": "v6.3.5", + "version": "v6.3.6", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "9f991a964368bee8d883e8d57ced4fe9fff04dfc" + "reference": "4945f5001b06ff9080cd3d8f1f9f069094c0d156" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/9f991a964368bee8d883e8d57ced4fe9fff04dfc", - "reference": "9f991a964368bee8d883e8d57ced4fe9fff04dfc", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/4945f5001b06ff9080cd3d8f1f9f069094c0d156", + "reference": "4945f5001b06ff9080cd3d8f1f9f069094c0d156", "shasum": "" }, "require": { @@ -5975,7 +5982,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/v6.3.5" + "source": "https://github.com/symfony/http-kernel/tree/v6.3.6" }, "funding": [ { @@ -5991,7 +5998,7 @@ "type": "tidelift" } ], - "time": "2023-09-30T06:37:04+00:00" + "time": "2023-10-21T13:12:51+00:00" }, { "name": "symfony/mailer", @@ -7209,16 +7216,16 @@ }, { "name": "symfony/translation", - "version": "v6.3.3", + "version": "v6.3.6", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "3ed078c54bc98bbe4414e1e9b2d5e85ed5a5c8bd" + "reference": "869b26c7a9d4b8a48afdd77ab36031909c87e3a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/3ed078c54bc98bbe4414e1e9b2d5e85ed5a5c8bd", - "reference": "3ed078c54bc98bbe4414e1e9b2d5e85ed5a5c8bd", + "url": "https://api.github.com/repos/symfony/translation/zipball/869b26c7a9d4b8a48afdd77ab36031909c87e3a2", + "reference": "869b26c7a9d4b8a48afdd77ab36031909c87e3a2", "shasum": "" }, "require": { @@ -7284,7 +7291,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v6.3.3" + "source": "https://github.com/symfony/translation/tree/v6.3.6" }, "funding": [ { @@ -7300,7 +7307,7 @@ "type": "tidelift" } ], - "time": "2023-07-31T07:08:24+00:00" + "time": "2023-10-17T11:32:53+00:00" }, { "name": "symfony/translation-contracts", @@ -7456,16 +7463,16 @@ }, { "name": "symfony/var-dumper", - "version": "v6.3.5", + "version": "v6.3.6", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "3d9999376be5fea8de47752837a3e1d1c5f69ef5" + "reference": "999ede244507c32b8e43aebaa10e9fce20de7c97" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/3d9999376be5fea8de47752837a3e1d1c5f69ef5", - "reference": "3d9999376be5fea8de47752837a3e1d1c5f69ef5", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/999ede244507c32b8e43aebaa10e9fce20de7c97", + "reference": "999ede244507c32b8e43aebaa10e9fce20de7c97", "shasum": "" }, "require": { @@ -7520,7 +7527,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.3.5" + "source": "https://github.com/symfony/var-dumper/tree/v6.3.6" }, "funding": [ { @@ -7536,7 +7543,7 @@ "type": "tidelift" } ], - "time": "2023-09-12T10:11:35+00:00" + "time": "2023-10-12T18:45:56+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -8467,16 +8474,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.35.1", + "version": "v3.37.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "ec1ccc264994b6764882669973ca435cf05bab08" + "reference": "d5ccc3807fd496ac2b448e8e5e57aa0772f0d18b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/ec1ccc264994b6764882669973ca435cf05bab08", - "reference": "ec1ccc264994b6764882669973ca435cf05bab08", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/d5ccc3807fd496ac2b448e8e5e57aa0772f0d18b", + "reference": "d5ccc3807fd496ac2b448e8e5e57aa0772f0d18b", "shasum": "" }, "require": { @@ -8548,7 +8555,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.35.1" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.37.0" }, "funding": [ { @@ -8556,7 +8563,7 @@ "type": "github" } ], - "time": "2023-10-12T13:47:26+00:00" + "time": "2023-10-28T14:49:50+00:00" }, { "name": "guzzlehttp/psr7", @@ -8856,16 +8863,16 @@ }, { "name": "laravel/pint", - "version": "v1.13.3", + "version": "v1.13.5", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "93b2d0d49719bc6e444ba21cd4dbbccec935413d" + "reference": "df105cf8ce7a8f0b8a9425ff45cd281a5448e423" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/93b2d0d49719bc6e444ba21cd4dbbccec935413d", - "reference": "93b2d0d49719bc6e444ba21cd4dbbccec935413d", + "url": "https://api.github.com/repos/laravel/pint/zipball/df105cf8ce7a8f0b8a9425ff45cd281a5448e423", + "reference": "df105cf8ce7a8f0b8a9425ff45cd281a5448e423", "shasum": "" }, "require": { @@ -8877,12 +8884,12 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.34.1", - "illuminate/view": "^10.23.1", + "illuminate/view": "^10.26.2", "laravel-zero/framework": "^10.1.2", "mockery/mockery": "^1.6.6", "nunomaduro/larastan": "^2.6.4", "nunomaduro/termwind": "^1.15.1", - "pestphp/pest": "^2.18.2" + "pestphp/pest": "^2.20.0" }, "bin": [ "builds/pint" @@ -8918,7 +8925,7 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2023-10-10T15:39:09+00:00" + "time": "2023-10-26T09:26:10+00:00" }, { "name": "laravel/tinker", @@ -9465,16 +9472,16 @@ }, { "name": "nunomaduro/phpinsights", - "version": "v2.8.0", + "version": "v2.9.0", "source": { "type": "git", "url": "https://github.com/nunomaduro/phpinsights.git", - "reference": "a701b7acfda9940ef0140c7276319df9026824c4" + "reference": "52d69d895239b1e9a90d7212dffc6c7e73ec822e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/phpinsights/zipball/a701b7acfda9940ef0140c7276319df9026824c4", - "reference": "a701b7acfda9940ef0140c7276319df9026824c4", + "url": "https://api.github.com/repos/nunomaduro/phpinsights/zipball/52d69d895239b1e9a90d7212dffc6c7e73ec822e", + "reference": "52d69d895239b1e9a90d7212dffc6c7e73ec822e", "shasum": "" }, "require": { @@ -9492,8 +9499,8 @@ "psr/container": "^1.0|^2.0", "psr/simple-cache": "^1.0|^2.0|^3.0", "sebastian/diff": "^4.0|^5.0", - "slevomat/coding-standard": "^7.0.8|^8.0", - "squizlabs/php_codesniffer": "^3.5", + "slevomat/coding-standard": "^8.13", + "squizlabs/php_codesniffer": "^3.7", "symfony/cache": "^4.4|^5.0|^6.0", "symfony/console": "^4.2.12|^5.0|^6.0", "symfony/finder": "^4.2.12|^5.0|^6.0", @@ -9551,7 +9558,7 @@ ], "support": { "issues": "https://github.com/nunomaduro/phpinsights/issues", - "source": "https://github.com/nunomaduro/phpinsights/tree/v2.8.0" + "source": "https://github.com/nunomaduro/phpinsights/tree/v2.9.0" }, "funding": [ { @@ -9567,20 +9574,20 @@ "type": "github" } ], - "time": "2023-03-18T18:38:03+00:00" + "time": "2023-10-20T15:58:50+00:00" }, { "name": "orchestra/canvas", - "version": "v8.11.0", + "version": "v8.11.2", "source": { "type": "git", "url": "https://github.com/orchestral/canvas.git", - "reference": "246833ff19f74db0b76d651eb4f36aa92d1af7d3" + "reference": "5038b630e2306a8e7486d69628d84fa2d1764cb1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/canvas/zipball/246833ff19f74db0b76d651eb4f36aa92d1af7d3", - "reference": "246833ff19f74db0b76d651eb4f36aa92d1af7d3", + "url": "https://api.github.com/repos/orchestral/canvas/zipball/5038b630e2306a8e7486d69628d84fa2d1764cb1", + "reference": "5038b630e2306a8e7486d69628d84fa2d1764cb1", "shasum": "" }, "require": { @@ -9638,22 +9645,22 @@ "description": "Code Generators for Laravel Applications and Packages", "support": { "issues": "https://github.com/orchestral/canvas/issues", - "source": "https://github.com/orchestral/canvas/tree/v8.11.0" + "source": "https://github.com/orchestral/canvas/tree/v8.11.2" }, - "time": "2023-10-03T00:44:45+00:00" + "time": "2023-10-26T21:59:54+00:00" }, { "name": "orchestra/canvas-core", - "version": "v8.9.0", + "version": "v8.10.0", "source": { "type": "git", "url": "https://github.com/orchestral/canvas-core.git", - "reference": "27ac6b07880bda4ff10da06814eb97913eadb6db" + "reference": "642a966b1f8a351a994c04ce1e03a5ddd1025ff5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/canvas-core/zipball/27ac6b07880bda4ff10da06814eb97913eadb6db", - "reference": "27ac6b07880bda4ff10da06814eb97913eadb6db", + "url": "https://api.github.com/repos/orchestral/canvas-core/zipball/642a966b1f8a351a994c04ce1e03a5ddd1025ff5", + "reference": "642a966b1f8a351a994c04ce1e03a5ddd1025ff5", "shasum": "" }, "require": { @@ -9668,15 +9675,10 @@ "orchestra/testbench-core": "<8.2.0" }, "require-dev": { - "fakerphp/faker": "^1.21", - "laravel/framework": "^10.26", "laravel/pint": "^1.6", - "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.11", - "orchestra/workbench": "^0.3.0 || ^0.4.0", + "orchestra/testbench": "^8.13", "phpstan/phpstan": "^1.10.6", - "phpunit/phpunit": "^10.1", - "symfony/yaml": "^6.2" + "phpunit/phpunit": "^10.1" }, "type": "library", "extra": { @@ -9711,22 +9713,22 @@ "description": "Code Generators Builder for Laravel Applications and Packages", "support": { "issues": "https://github.com/orchestral/canvas/issues", - "source": "https://github.com/orchestral/canvas-core/tree/v8.9.0" + "source": "https://github.com/orchestral/canvas-core/tree/v8.10.0" }, - "time": "2023-10-03T05:50:06+00:00" + "time": "2023-10-16T01:44:47+00:00" }, { "name": "orchestra/testbench", - "version": "v8.13.0", + "version": "v8.14.0", "source": { "type": "git", "url": "https://github.com/orchestral/testbench.git", - "reference": "b793195fa30517a89fd20b36b5d668324c5bbdbb" + "reference": "7dacad632a5f48830443f739cd846212c174448a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench/zipball/b793195fa30517a89fd20b36b5d668324c5bbdbb", - "reference": "b793195fa30517a89fd20b36b5d668324c5bbdbb", + "url": "https://api.github.com/repos/orchestral/testbench/zipball/7dacad632a5f48830443f739cd846212c174448a", + "reference": "7dacad632a5f48830443f739cd846212c174448a", "shasum": "" }, "require": { @@ -9734,8 +9736,8 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^10.23.1", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": ">=8.13.0 <8.14.0", - "orchestra/workbench": "^0.4.0 || ^0.5.0", + "orchestra/testbench-core": ">=8.14.0 <8.15.0", + "orchestra/workbench": "^1.0", "php": "^8.1", "phpunit/phpunit": "^9.6 || ^10.1", "spatie/laravel-ray": "^1.32.4", @@ -9767,22 +9769,22 @@ ], "support": { "issues": "https://github.com/orchestral/testbench/issues", - "source": "https://github.com/orchestral/testbench/tree/v8.13.0" + "source": "https://github.com/orchestral/testbench/tree/v8.14.0" }, - "time": "2023-10-09T12:14:00+00:00" + "time": "2023-10-24T04:44:26+00:00" }, { "name": "orchestra/testbench-core", - "version": "v8.13.0", + "version": "v8.14.1", "source": { "type": "git", "url": "https://github.com/orchestral/testbench-core.git", - "reference": "b03aa317d3c660dd63e4096580d7f713bc2cab15" + "reference": "5719db860336128ebc4d09e4525c4e0a16e61cb5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/b03aa317d3c660dd63e4096580d7f713bc2cab15", - "reference": "b03aa317d3c660dd63e4096580d7f713bc2cab15", + "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/5719db860336128ebc4d09e4525c4e0a16e61cb5", + "reference": "5719db860336128ebc4d09e4525c4e0a16e61cb5", "shasum": "" }, "require": { @@ -9793,9 +9795,11 @@ "brianium/paratest": "<6.4.0 || >=7.0.0 <7.1.4 || >=8.0.0", "laravel/framework": "<10.23.1 || >=11.0.0", "nunomaduro/collision": "<6.4.0 || >=7.0.0 <7.4.0 || >=8.0.0", + "orchestra/workbench": "<1.0.0", "phpunit/phpunit": "<9.6.0 || >=10.5.0" }, "require-dev": { + "composer-runtime-api": "^2.2", "fakerphp/faker": "^1.21", "laravel/framework": "^10.23", "laravel/pint": "^1.6", @@ -9856,40 +9860,39 @@ "issues": "https://github.com/orchestral/testbench/issues", "source": "https://github.com/orchestral/testbench-core" }, - "time": "2023-10-09T11:41:27+00:00" + "time": "2023-10-24T06:16:05+00:00" }, { "name": "orchestra/workbench", - "version": "v0.5.1", + "version": "v1.0.0", "source": { "type": "git", "url": "https://github.com/orchestral/workbench.git", - "reference": "52d5f5d6bf738539691a8335ff5cb892f5798b9f" + "reference": "6b58fd5ab593d9798ebe80c9113ef40c4903069e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/workbench/zipball/52d5f5d6bf738539691a8335ff5cb892f5798b9f", - "reference": "52d5f5d6bf738539691a8335ff5cb892f5798b9f", + "url": "https://api.github.com/repos/orchestral/workbench/zipball/6b58fd5ab593d9798ebe80c9113ef40c4903069e", + "reference": "6b58fd5ab593d9798ebe80c9113ef40c4903069e", "shasum": "" }, "require": { "composer-runtime-api": "^2.2", - "illuminate/console": "^9.52.15 || ^10.26.0", - "illuminate/support": "^9.52.15 || ^10.26.0", + "fakerphp/faker": "^1.21", + "laravel/framework": "^9.52.15 || ^10.26.0", "laravel/tinker": "^2.8.2", "orchestra/canvas": "^7.10.0 || ^8.11.0", - "orchestra/testbench-core": "^7.32.0 || ^8.12.0", - "php": "^8.0" + "orchestra/testbench-core": "^7.34.0 || ^8.14.0", + "php": "^8.0", + "symfony/yaml": "^6.0.9" }, "require-dev": { - "fakerphp/faker": "^1.21", - "laravel/framework": "^9.52.15 || ^10.26.0", "laravel/pint": "^1.4", "mockery/mockery": "^1.5.1", "phpstan/phpstan": "^1.10.7", "phpunit/phpunit": "^9.6", "spatie/laravel-ray": "^1.32.4", - "symfony/yaml": "^6.0.9" + "symfony/process": "^6.0.9" }, "type": "library", "extra": { @@ -9921,35 +9924,35 @@ ], "support": { "issues": "https://github.com/orchestral/workbench/issues", - "source": "https://github.com/orchestral/workbench/tree/v0.5.1" + "source": "https://github.com/orchestral/workbench/tree/v1.0.0" }, - "time": "2023-10-09T12:23:53+00:00" + "time": "2023-10-24T03:15:04+00:00" }, { "name": "pestphp/pest", - "version": "v2.23.2", + "version": "v2.24.1", "source": { "type": "git", "url": "https://github.com/pestphp/pest.git", - "reference": "b126e8e6e4afd6562e80c5dafcc2a973f17a09b3" + "reference": "fd4f161edd0e26029ba9efb769cfe16bf5483840" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest/zipball/b126e8e6e4afd6562e80c5dafcc2a973f17a09b3", - "reference": "b126e8e6e4afd6562e80c5dafcc2a973f17a09b3", + "url": "https://api.github.com/repos/pestphp/pest/zipball/fd4f161edd0e26029ba9efb769cfe16bf5483840", + "reference": "fd4f161edd0e26029ba9efb769cfe16bf5483840", "shasum": "" }, "require": { "brianium/paratest": "^7.3.0", - "nunomaduro/collision": "^7.9.0|^8.0.0", + "nunomaduro/collision": "^7.10.0|^8.0.0", "nunomaduro/termwind": "^1.15.1|^2.0.0", "pestphp/pest-plugin": "^2.1.1", - "pestphp/pest-plugin-arch": "^2.4.0", + "pestphp/pest-plugin-arch": "^2.4.1", "php": "^8.1.0", - "phpunit/phpunit": "^10.4.1" + "phpunit/phpunit": "^10.4.2" }, "conflict": { - "phpunit/phpunit": ">10.4.1", + "phpunit/phpunit": ">10.4.2", "sebastian/exporter": "<5.1.0", "webmozart/assert": "<1.11.0" }, @@ -10014,7 +10017,7 @@ ], "support": { "issues": "https://github.com/pestphp/pest/issues", - "source": "https://github.com/pestphp/pest/tree/v2.23.2" + "source": "https://github.com/pestphp/pest/tree/v2.24.1" }, "funding": [ { @@ -10026,7 +10029,7 @@ "type": "github" } ], - "time": "2023-10-10T15:40:34+00:00" + "time": "2023-10-26T15:02:35+00:00" }, { "name": "pestphp/pest-plugin", @@ -10813,16 +10816,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.38", + "version": "1.10.39", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "5302bb402c57f00fb3c2c015bac86e0827e4b691" + "reference": "d9dedb0413f678b4d03cbc2279a48f91592c97c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/5302bb402c57f00fb3c2c015bac86e0827e4b691", - "reference": "5302bb402c57f00fb3c2c015bac86e0827e4b691", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d9dedb0413f678b4d03cbc2279a48f91592c97c4", + "reference": "d9dedb0413f678b4d03cbc2279a48f91592c97c4", "shasum": "" }, "require": { @@ -10871,7 +10874,7 @@ "type": "tidelift" } ], - "time": "2023-10-06T14:19:14+00:00" + "time": "2023-10-17T15:46:26+00:00" }, { "name": "phpunit/php-code-coverage", @@ -11196,16 +11199,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.4.1", + "version": "10.4.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "62bd7af13d282deeb95650077d28ba3600ca321c" + "reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/62bd7af13d282deeb95650077d28ba3600ca321c", - "reference": "62bd7af13d282deeb95650077d28ba3600ca321c", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/cacd8b9dd224efa8eb28beb69004126c7ca1a1a1", + "reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1", "shasum": "" }, "require": { @@ -11277,7 +11280,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.4.1" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.4.2" }, "funding": [ { @@ -11293,7 +11296,7 @@ "type": "tidelift" } ], - "time": "2023-10-08T05:01:11+00:00" + "time": "2023-10-26T07:21:45+00:00" }, { "name": "pimple/pimple", @@ -12784,16 +12787,16 @@ }, { "name": "symfony/cache", - "version": "v6.3.5", + "version": "v6.3.6", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "6c1a3ea078c4d88ee892530945df63a87981b2da" + "reference": "84aff8d948d6292d2b5a01ac622760be44dddc72" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/6c1a3ea078c4d88ee892530945df63a87981b2da", - "reference": "6c1a3ea078c4d88ee892530945df63a87981b2da", + "url": "https://api.github.com/repos/symfony/cache/zipball/84aff8d948d6292d2b5a01ac622760be44dddc72", + "reference": "84aff8d948d6292d2b5a01ac622760be44dddc72", "shasum": "" }, "require": { @@ -12802,7 +12805,7 @@ "psr/log": "^1.1|^2|^3", "symfony/cache-contracts": "^2.5|^3", "symfony/service-contracts": "^2.5|^3", - "symfony/var-exporter": "^6.2.10" + "symfony/var-exporter": "^6.3.6" }, "conflict": { "doctrine/dbal": "<2.13.1", @@ -12817,7 +12820,7 @@ }, "require-dev": { "cache/integration-tests": "dev-master", - "doctrine/dbal": "^2.13.1|^3.0", + "doctrine/dbal": "^2.13.1|^3|^4", "predis/predis": "^1.1|^2.0", "psr/simple-cache": "^1.0|^2.0|^3.0", "symfony/config": "^5.4|^6.0", @@ -12860,7 +12863,7 @@ "psr6" ], "support": { - "source": "https://github.com/symfony/cache/tree/v6.3.5" + "source": "https://github.com/symfony/cache/tree/v6.3.6" }, "funding": [ { @@ -12876,7 +12879,7 @@ "type": "tidelift" } ], - "time": "2023-09-26T15:48:55+00:00" + "time": "2023-10-17T14:44:58+00:00" }, { "name": "symfony/cache-contracts", @@ -13019,16 +13022,16 @@ }, { "name": "symfony/http-client", - "version": "v6.3.5", + "version": "v6.3.6", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "213e564da4cbf61acc9728d97e666bcdb868c10d" + "reference": "ab8446f997efb9913627e9da10fa784d2182fe92" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/213e564da4cbf61acc9728d97e666bcdb868c10d", - "reference": "213e564da4cbf61acc9728d97e666bcdb868c10d", + "url": "https://api.github.com/repos/symfony/http-client/zipball/ab8446f997efb9913627e9da10fa784d2182fe92", + "reference": "ab8446f997efb9913627e9da10fa784d2182fe92", "shasum": "" }, "require": { @@ -13091,7 +13094,7 @@ "http" ], "support": { - "source": "https://github.com/symfony/http-client/tree/v6.3.5" + "source": "https://github.com/symfony/http-client/tree/v6.3.6" }, "funding": [ { @@ -13107,7 +13110,7 @@ "type": "tidelift" } ], - "time": "2023-09-29T15:57:12+00:00" + "time": "2023-10-06T10:08:56+00:00" }, { "name": "symfony/http-client-contracts", @@ -13480,16 +13483,16 @@ }, { "name": "symfony/var-exporter", - "version": "v6.3.4", + "version": "v6.3.6", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "df1f8aac5751871b83d30bf3e2c355770f8f0691" + "reference": "374d289c13cb989027274c86206ddc63b16a2441" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/df1f8aac5751871b83d30bf3e2c355770f8f0691", - "reference": "df1f8aac5751871b83d30bf3e2c355770f8f0691", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/374d289c13cb989027274c86206ddc63b16a2441", + "reference": "374d289c13cb989027274c86206ddc63b16a2441", "shasum": "" }, "require": { @@ -13534,7 +13537,7 @@ "serialize" ], "support": { - "source": "https://github.com/symfony/var-exporter/tree/v6.3.4" + "source": "https://github.com/symfony/var-exporter/tree/v6.3.6" }, "funding": [ { @@ -13550,7 +13553,7 @@ "type": "tidelift" } ], - "time": "2023-08-16T18:14:47+00:00" + "time": "2023-10-13T09:16:49+00:00" }, { "name": "symfony/yaml", diff --git a/src/Concerns/Designer.php b/src/Concerns/Designer.php index bce51ebc..56da9242 100644 --- a/src/Concerns/Designer.php +++ b/src/Concerns/Designer.php @@ -2,7 +2,6 @@ namespace LaraZeus\Bolt\Concerns; -use Filament\Forms\Components\Fieldset; use Filament\Forms\Components\Section; use Filament\Forms\Components\Tabs; use Filament\Forms\Components\Tabs\Tab; @@ -18,13 +17,13 @@ trait Designer { public static function ui(Form $zeusForm, bool $inline = false): array { - $sections = static::drawExt($zeusForm); + $sections = self::drawExt($zeusForm); foreach ($zeusForm->sections->sortBy('ordering') as $section) { - $sections[] = static::drawSections( + $sections[] = self::drawSections( $zeusForm, $section, - static::drawFields($section, $inline) + self::drawFields($section, $inline) ); } @@ -89,7 +88,7 @@ private static function drawFields(ZeusSection $section, bool $inline): array return $fields; } - private static function drawSections($zeusForm, $section, $fields): Tab | Step | Fieldset | Section + private static function drawSections(Form $zeusForm, \LaraZeus\Bolt\Models\Section $section, array $fields): Tab | Step | Section { $component = Section::make($section->name) ->description($section->description) diff --git a/src/Concerns/HasOptions.php b/src/Concerns/HasOptions.php index 3376e19c..a9a1253b 100644 --- a/src/Concerns/HasOptions.php +++ b/src/Concerns/HasOptions.php @@ -17,7 +17,7 @@ trait HasOptions { - public static function visibility($type = 'field'): Grid + public static function visibility(string $type = 'field'): Grid { return Grid::make() ->schema([ diff --git a/tests/migrations/004_create_sections_table.php b/tests/migrations/004_create_sections_table.php index 1611d2e0..c5f9705f 100644 --- a/tests/migrations/004_create_sections_table.php +++ b/tests/migrations/004_create_sections_table.php @@ -22,6 +22,8 @@ public function up() $table->text('description')->nullable(); $table->string('icon')->nullable(); $table->boolean('aside')->default(0); + $table->boolean('compact')->default(0); + $table->text('options')->nullable(); $table->timestamps(); $table->softDeletes(); }); From e616bd0dfa12f91075941df2b8cd5ae358802ab9 Mon Sep 17 00:00:00 2001 From: atmonshi Date: Sat, 28 Oct 2023 21:27:42 +0000 Subject: [PATCH 10/15] Fix styling --- src/Concerns/Designer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Concerns/Designer.php b/src/Concerns/Designer.php index 56da9242..9364c056 100644 --- a/src/Concerns/Designer.php +++ b/src/Concerns/Designer.php @@ -88,7 +88,7 @@ private static function drawFields(ZeusSection $section, bool $inline): array return $fields; } - private static function drawSections(Form $zeusForm, \LaraZeus\Bolt\Models\Section $section, array $fields): Tab | Step | Section + private static function drawSections(Form $zeusForm, ZeusSection $section, array $fields): Tab | Step | Section { $component = Section::make($section->name) ->description($section->description) From a3b8f351751eafbd8108614f1056d5cf89a93420 Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Sun, 29 Oct 2023 01:00:41 +0300 Subject: [PATCH 11/15] wip --- src/Concerns/Designer.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Concerns/Designer.php b/src/Concerns/Designer.php index 56da9242..1e34a689 100644 --- a/src/Concerns/Designer.php +++ b/src/Concerns/Designer.php @@ -28,11 +28,11 @@ public static function ui(Form $zeusForm, bool $inline = false): array } if (optional($zeusForm->options)['show-as'] === 'tabs') { - return [Tabs::make('tabs')->tabs($sections)]; + return [Tabs::make('tabs')->live()->tabs($sections)]; } if (optional($zeusForm->options)['show-as'] === 'wizard') { - return [Wizard::make($sections)]; + return [Wizard::make($sections)->live()->skippable()]; } return $sections; @@ -103,6 +103,7 @@ private static function drawSections(Form $zeusForm, \LaraZeus\Bolt\Models\Secti if (optional($zeusForm->options)['show-as'] === 'wizard') { $component = Step::make($section->name) + ->live() ->description($section->description) ->icon($section->icon ?? null); } @@ -130,6 +131,7 @@ private static function drawSections(Form $zeusForm, \LaraZeus\Bolt\Models\Secti return $component ->id(str($section->name)->slug() . '-' . $section->id) ->schema($fields) + ->live() ->columns($section->columns); } } From 65dd4ac110cd40af8d9c42f68ab9c57fb4501ceb Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Sun, 29 Oct 2023 02:40:53 +0300 Subject: [PATCH 12/15] Update Designer.php --- src/Concerns/Designer.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Concerns/Designer.php b/src/Concerns/Designer.php index e3ea2a09..4eb65f2f 100644 --- a/src/Concerns/Designer.php +++ b/src/Concerns/Designer.php @@ -32,7 +32,11 @@ public static function ui(Form $zeusForm, bool $inline = false): array } if (optional($zeusForm->options)['show-as'] === 'wizard') { - return [Wizard::make($sections)->live()->skippable()]; + return [ + Wizard::make($sections) + ->live() + //->skippable() // todo still not working + ]; } return $sections; From 252b7748d507718940b8906b0fa5a8fe11ceb8d2 Mon Sep 17 00:00:00 2001 From: atmonshi Date: Sat, 28 Oct 2023 23:41:23 +0000 Subject: [PATCH 13/15] Fix styling --- src/Concerns/Designer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Concerns/Designer.php b/src/Concerns/Designer.php index 4eb65f2f..ad405fa7 100644 --- a/src/Concerns/Designer.php +++ b/src/Concerns/Designer.php @@ -34,8 +34,8 @@ public static function ui(Form $zeusForm, bool $inline = false): array if (optional($zeusForm->options)['show-as'] === 'wizard') { return [ Wizard::make($sections) - ->live() - //->skippable() // todo still not working + ->live(), + //->skippable() // todo still not working ]; } From d0beb2e3f0316d05f698de055e4798910f7fd00f Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Sun, 29 Oct 2023 21:12:00 +0300 Subject: [PATCH 14/15] add loading --- resources/views/themes/zeus/bolt/fill-forms.blade.php | 3 +++ resources/views/themes/zeus/bolt/loading.blade.php | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 resources/views/themes/zeus/bolt/loading.blade.php diff --git a/resources/views/themes/zeus/bolt/fill-forms.blade.php b/resources/views/themes/zeus/bolt/fill-forms.blade.php index e012a18d..2687a2e7 100644 --- a/resources/views/themes/zeus/bolt/fill-forms.blade.php +++ b/resources/views/themes/zeus/bolt/fill-forms.blade.php @@ -5,6 +5,9 @@ @endphp
+ + @include($boltTheme.'.loading') + @if(class_exists(\LaraZeus\Bolt\BoltProServiceProvider::class) && optional($zeusForm->options)['logo'] !== null && optional($zeusForm)->options['cover'] !== null)
diff --git a/resources/views/themes/zeus/bolt/loading.blade.php b/resources/views/themes/zeus/bolt/loading.blade.php new file mode 100644 index 00000000..cff10525 --- /dev/null +++ b/resources/views/themes/zeus/bolt/loading.blade.php @@ -0,0 +1,8 @@ +
+
+ @teleport('.bolt-loading') +
+ @svg('iconpark-loading-o', 'text-primary-600 w-8 h-8 animate-spin') +
+ @endteleport +
From a588b8e0811ec9eb1eae76c2bb6587bd49bc23dc Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Sun, 29 Oct 2023 21:41:30 +0300 Subject: [PATCH 15/15] add loading docs --- composer.lock | 138 ++++++++++++++++---------------- docs/getting-started/loading.md | 29 +++++++ 2 files changed, 98 insertions(+), 69 deletions(-) create mode 100644 docs/getting-started/loading.md diff --git a/composer.lock b/composer.lock index 272930f8..b7bb4d9a 100644 --- a/composer.lock +++ b/composer.lock @@ -1485,7 +1485,7 @@ }, { "name": "filament/actions", - "version": "v3.0.86", + "version": "v3.0.87", "source": { "type": "git", "url": "https://github.com/filamentphp/actions.git", @@ -1535,16 +1535,16 @@ }, { "name": "filament/filament", - "version": "v3.0.86", + "version": "v3.0.87", "source": { "type": "git", "url": "https://github.com/filamentphp/panels.git", - "reference": "27fc0bd9fe624607ada8d26c2338f9061e844abd" + "reference": "89ff113726caa1059dd55c4ef71ecc43741fc16f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/panels/zipball/27fc0bd9fe624607ada8d26c2338f9061e844abd", - "reference": "27fc0bd9fe624607ada8d26c2338f9061e844abd", + "url": "https://api.github.com/repos/filamentphp/panels/zipball/89ff113726caa1059dd55c4ef71ecc43741fc16f", + "reference": "89ff113726caa1059dd55c4ef71ecc43741fc16f", "shasum": "" }, "require": { @@ -1596,20 +1596,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-10-27T14:35:06+00:00" + "time": "2023-10-28T22:29:49+00:00" }, { "name": "filament/forms", - "version": "v3.0.86", + "version": "v3.0.87", "source": { "type": "git", "url": "https://github.com/filamentphp/forms.git", - "reference": "3484d04e8483d6291662e0369b0509da68c3206f" + "reference": "db0d1efc51fe029cef23036383104e1ec55c8ea1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/forms/zipball/3484d04e8483d6291662e0369b0509da68c3206f", - "reference": "3484d04e8483d6291662e0369b0509da68c3206f", + "url": "https://api.github.com/repos/filamentphp/forms/zipball/db0d1efc51fe029cef23036383104e1ec55c8ea1", + "reference": "db0d1efc51fe029cef23036383104e1ec55c8ea1", "shasum": "" }, "require": { @@ -1652,11 +1652,11 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-10-27T14:35:01+00:00" + "time": "2023-10-28T22:29:48+00:00" }, { "name": "filament/infolists", - "version": "v3.0.86", + "version": "v3.0.87", "source": { "type": "git", "url": "https://github.com/filamentphp/infolists.git", @@ -1707,7 +1707,7 @@ }, { "name": "filament/notifications", - "version": "v3.0.86", + "version": "v3.0.87", "source": { "type": "git", "url": "https://github.com/filamentphp/notifications.git", @@ -1759,7 +1759,7 @@ }, { "name": "filament/spatie-laravel-translatable-plugin", - "version": "v3.0.86", + "version": "v3.0.87", "source": { "type": "git", "url": "https://github.com/filamentphp/spatie-laravel-translatable-plugin.git", @@ -1804,16 +1804,16 @@ }, { "name": "filament/support", - "version": "v3.0.86", + "version": "v3.0.87", "source": { "type": "git", "url": "https://github.com/filamentphp/support.git", - "reference": "f29126aab952b6020be636efb0ff88ab8ac1b678" + "reference": "5a9e3f05a32b389a65ab98636a2a2bf1505088ac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/support/zipball/f29126aab952b6020be636efb0ff88ab8ac1b678", - "reference": "f29126aab952b6020be636efb0ff88ab8ac1b678", + "url": "https://api.github.com/repos/filamentphp/support/zipball/5a9e3f05a32b389a65ab98636a2a2bf1505088ac", + "reference": "5a9e3f05a32b389a65ab98636a2a2bf1505088ac", "shasum": "" }, "require": { @@ -1857,11 +1857,11 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-10-27T14:35:17+00:00" + "time": "2023-10-28T22:29:47+00:00" }, { "name": "filament/tables", - "version": "v3.0.86", + "version": "v3.0.87", "source": { "type": "git", "url": "https://github.com/filamentphp/tables.git", @@ -1914,7 +1914,7 @@ }, { "name": "filament/widgets", - "version": "v3.0.86", + "version": "v3.0.87", "source": { "type": "git", "url": "https://github.com/filamentphp/widgets.git", @@ -2303,16 +2303,16 @@ }, { "name": "kirschbaum-development/eloquent-power-joins", - "version": "3.3.1", + "version": "3.3.2", "source": { "type": "git", "url": "https://github.com/kirschbaum-development/eloquent-power-joins.git", - "reference": "52a1282c0938fd5396a7bf970e6a0a8c56c8f560" + "reference": "260f8d24306ec1731bd270104f0bc3655c4dbd32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kirschbaum-development/eloquent-power-joins/zipball/52a1282c0938fd5396a7bf970e6a0a8c56c8f560", - "reference": "52a1282c0938fd5396a7bf970e6a0a8c56c8f560", + "url": "https://api.github.com/repos/kirschbaum-development/eloquent-power-joins/zipball/260f8d24306ec1731bd270104f0bc3655c4dbd32", + "reference": "260f8d24306ec1731bd270104f0bc3655c4dbd32", "shasum": "" }, "require": { @@ -2359,22 +2359,22 @@ ], "support": { "issues": "https://github.com/kirschbaum-development/eloquent-power-joins/issues", - "source": "https://github.com/kirschbaum-development/eloquent-power-joins/tree/3.3.1" + "source": "https://github.com/kirschbaum-development/eloquent-power-joins/tree/3.3.2" }, - "time": "2023-10-28T13:48:46+00:00" + "time": "2023-10-29T00:53:00+00:00" }, { "name": "lara-zeus/core", - "version": "v3.0.9", + "version": "v3.0.10", "source": { "type": "git", "url": "https://github.com/lara-zeus/core.git", - "reference": "f0bad2b0a9f173cb084bb2f8b129b1970bef2056" + "reference": "2b7fa3401288dce85f2e7ff7d54edea6e826ae59" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lara-zeus/core/zipball/f0bad2b0a9f173cb084bb2f8b129b1970bef2056", - "reference": "f0bad2b0a9f173cb084bb2f8b129b1970bef2056", + "url": "https://api.github.com/repos/lara-zeus/core/zipball/2b7fa3401288dce85f2e7ff7d54edea6e826ae59", + "reference": "2b7fa3401288dce85f2e7ff7d54edea6e826ae59", "shasum": "" }, "require": { @@ -2384,7 +2384,7 @@ "ext-json": "*", "ext-pdo_sqlite": "*", "ext-sqlite3": "*", - "filament/filament": "^3.0-stable", + "filament/filament": "^3.0", "filament/spatie-laravel-translatable-plugin": "^3.0", "php": "^8.1" }, @@ -2447,7 +2447,7 @@ "type": "github" } ], - "time": "2023-10-15T21:27:38+00:00" + "time": "2023-10-29T18:18:31+00:00" }, { "name": "laravel/framework", @@ -5743,16 +5743,16 @@ }, { "name": "symfony/html-sanitizer", - "version": "v6.3.4", + "version": "v6.3.7", "source": { "type": "git", "url": "https://github.com/symfony/html-sanitizer.git", - "reference": "947492c7351d6b01a7b38e515c98fb1107dc357d" + "reference": "45e5a24b63d394fa6472c595df448aecfd1e1ea5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/html-sanitizer/zipball/947492c7351d6b01a7b38e515c98fb1107dc357d", - "reference": "947492c7351d6b01a7b38e515c98fb1107dc357d", + "url": "https://api.github.com/repos/symfony/html-sanitizer/zipball/45e5a24b63d394fa6472c595df448aecfd1e1ea5", + "reference": "45e5a24b63d394fa6472c595df448aecfd1e1ea5", "shasum": "" }, "require": { @@ -5792,7 +5792,7 @@ "sanitizer" ], "support": { - "source": "https://github.com/symfony/html-sanitizer/tree/v6.3.4" + "source": "https://github.com/symfony/html-sanitizer/tree/v6.3.7" }, "funding": [ { @@ -5808,20 +5808,20 @@ "type": "tidelift" } ], - "time": "2023-08-23T13:34:34+00:00" + "time": "2023-10-27T13:27:27+00:00" }, { "name": "symfony/http-foundation", - "version": "v6.3.6", + "version": "v6.3.7", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "c186627f52febe09c6d5270b04f8462687a250a6" + "reference": "59d1837d5d992d16c2628cd0d6b76acf8d69b33e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/c186627f52febe09c6d5270b04f8462687a250a6", - "reference": "c186627f52febe09c6d5270b04f8462687a250a6", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/59d1837d5d992d16c2628cd0d6b76acf8d69b33e", + "reference": "59d1837d5d992d16c2628cd0d6b76acf8d69b33e", "shasum": "" }, "require": { @@ -5869,7 +5869,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.3.6" + "source": "https://github.com/symfony/http-foundation/tree/v6.3.7" }, "funding": [ { @@ -5885,20 +5885,20 @@ "type": "tidelift" } ], - "time": "2023-10-17T11:32:53+00:00" + "time": "2023-10-28T23:55:27+00:00" }, { "name": "symfony/http-kernel", - "version": "v6.3.6", + "version": "v6.3.7", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "4945f5001b06ff9080cd3d8f1f9f069094c0d156" + "reference": "6d4098095f93279d9536a0e9124439560cc764d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/4945f5001b06ff9080cd3d8f1f9f069094c0d156", - "reference": "4945f5001b06ff9080cd3d8f1f9f069094c0d156", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/6d4098095f93279d9536a0e9124439560cc764d0", + "reference": "6d4098095f93279d9536a0e9124439560cc764d0", "shasum": "" }, "require": { @@ -5982,7 +5982,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/v6.3.6" + "source": "https://github.com/symfony/http-kernel/tree/v6.3.7" }, "funding": [ { @@ -5998,7 +5998,7 @@ "type": "tidelift" } ], - "time": "2023-10-21T13:12:51+00:00" + "time": "2023-10-29T14:31:45+00:00" }, { "name": "symfony/mailer", @@ -7216,16 +7216,16 @@ }, { "name": "symfony/translation", - "version": "v6.3.6", + "version": "v6.3.7", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "869b26c7a9d4b8a48afdd77ab36031909c87e3a2" + "reference": "30212e7c87dcb79c83f6362b00bde0e0b1213499" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/869b26c7a9d4b8a48afdd77ab36031909c87e3a2", - "reference": "869b26c7a9d4b8a48afdd77ab36031909c87e3a2", + "url": "https://api.github.com/repos/symfony/translation/zipball/30212e7c87dcb79c83f6362b00bde0e0b1213499", + "reference": "30212e7c87dcb79c83f6362b00bde0e0b1213499", "shasum": "" }, "require": { @@ -7291,7 +7291,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v6.3.6" + "source": "https://github.com/symfony/translation/tree/v6.3.7" }, "funding": [ { @@ -7307,7 +7307,7 @@ "type": "tidelift" } ], - "time": "2023-10-17T11:32:53+00:00" + "time": "2023-10-28T23:11:45+00:00" }, { "name": "symfony/translation-contracts", @@ -13022,16 +13022,16 @@ }, { "name": "symfony/http-client", - "version": "v6.3.6", + "version": "v6.3.7", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "ab8446f997efb9913627e9da10fa784d2182fe92" + "reference": "cd67fcaf4524ec6ae5d9b2d9497682d7ad3ce57d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/ab8446f997efb9913627e9da10fa784d2182fe92", - "reference": "ab8446f997efb9913627e9da10fa784d2182fe92", + "url": "https://api.github.com/repos/symfony/http-client/zipball/cd67fcaf4524ec6ae5d9b2d9497682d7ad3ce57d", + "reference": "cd67fcaf4524ec6ae5d9b2d9497682d7ad3ce57d", "shasum": "" }, "require": { @@ -13094,7 +13094,7 @@ "http" ], "support": { - "source": "https://github.com/symfony/http-client/tree/v6.3.6" + "source": "https://github.com/symfony/http-client/tree/v6.3.7" }, "funding": [ { @@ -13110,7 +13110,7 @@ "type": "tidelift" } ], - "time": "2023-10-06T10:08:56+00:00" + "time": "2023-10-29T12:41:36+00:00" }, { "name": "symfony/http-client-contracts", @@ -13557,16 +13557,16 @@ }, { "name": "symfony/yaml", - "version": "v6.3.3", + "version": "v6.3.7", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "e23292e8c07c85b971b44c1c4b87af52133e2add" + "reference": "9758b6c69d179936435d0ffb577c3708d57e38a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/e23292e8c07c85b971b44c1c4b87af52133e2add", - "reference": "e23292e8c07c85b971b44c1c4b87af52133e2add", + "url": "https://api.github.com/repos/symfony/yaml/zipball/9758b6c69d179936435d0ffb577c3708d57e38a8", + "reference": "9758b6c69d179936435d0ffb577c3708d57e38a8", "shasum": "" }, "require": { @@ -13609,7 +13609,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v6.3.3" + "source": "https://github.com/symfony/yaml/tree/v6.3.7" }, "funding": [ { @@ -13625,7 +13625,7 @@ "type": "tidelift" } ], - "time": "2023-07-31T07:08:24+00:00" + "time": "2023-10-28T23:31:00+00:00" }, { "name": "ta-tikoma/phpunit-architecture-test", diff --git a/docs/getting-started/loading.md b/docs/getting-started/loading.md new file mode 100644 index 00000000..a6c9d3a9 --- /dev/null +++ b/docs/getting-started/loading.md @@ -0,0 +1,29 @@ +--- +title: Loading indicator +weight: 7 +--- + +## Frontend loading indicator + +by default there is a loading indicator on the top left next to the breadcrumbs, but you can customize it as you want. + +### the loading blade: + +create the file `resources/views/vendor/zeus/themes/zeus/bolt/loading.blade.php` +the default content : + +```html +
+ @teleport('.bolt-loading') +
+ @svg('iconpark-loading-o', 'text-primary-600 w-8 h-8 animate-spin') +
+ @endteleport +
+``` + +in your app layout add the following where you want the loader to show + +```html +
+```