Phase 0: Fundament für Inhaus
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m14s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m12s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m7s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m19s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m32s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m22s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 1m32s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m35s
CI / Build-Artefakte aktuell (pull_request) Failing after 1m7s
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m14s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m12s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m7s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m19s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m32s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m22s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 1m32s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m35s
CI / Build-Artefakte aktuell (pull_request) Failing after 1m7s
- Laravel 13 mit Filament 5 (Admin), Inertia 3 + Vue 3 + Vuetify 4 (Material 3) - Anmeldung über Fortify (Login, Passwort vergessen/ändern), keine Selbstregistrierung - Profil mit Profilbild (WebP in festen Größen), Personenseiten, Header mit Avatar-Menü - Material-3-Farbschema aus der Primärfarbe, hell/dunkel/System pro Person - Basis-Branding (Portalname, Logo, Primärfarbe) im Admin unter „Erscheinungsbild“ - Benutzerverwaltung im Admin, Zugang vorläufig über is_admin - vendor/ (ohne Dev-Pakete) und Frontend-Build mitversioniert, Dev-Pakete in vendor-dev/ - PHPUnit-Tests gegen MySQL/MariaDB, Forgejo-CI-Matrix, Docker-Entwicklungsumgebung - VERSION, CHANGELOG.md und CONTRIBUTING.md mit Release-Ablauf Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7197eaebf2
commit
9c0f8de791
15771 changed files with 1564103 additions and 5 deletions
20
vendor/filament/notifications/src/Concerns/CanBeInline.php
vendored
Normal file
20
vendor/filament/notifications/src/Concerns/CanBeInline.php
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace Filament\Notifications\Concerns;
|
||||
|
||||
trait CanBeInline
|
||||
{
|
||||
protected bool $isInline = false;
|
||||
|
||||
public function inline(bool $condition = true): static
|
||||
{
|
||||
$this->isInline = $condition;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isInline(): bool
|
||||
{
|
||||
return $this->isInline;
|
||||
}
|
||||
}
|
||||
41
vendor/filament/notifications/src/Concerns/HasActions.php
vendored
Normal file
41
vendor/filament/notifications/src/Concerns/HasActions.php
vendored
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<?php
|
||||
|
||||
namespace Filament\Notifications\Concerns;
|
||||
|
||||
use Closure;
|
||||
use Filament\Actions\Action;
|
||||
use Filament\Actions\ActionGroup;
|
||||
use Filament\Support\Enums\Size;
|
||||
use Illuminate\Support\Arr;
|
||||
|
||||
trait HasActions
|
||||
{
|
||||
/**
|
||||
* @var array<Action | ActionGroup> | ActionGroup | Closure
|
||||
*/
|
||||
protected array | ActionGroup | Closure $actions = [];
|
||||
|
||||
/**
|
||||
* @param array<Action | ActionGroup> | ActionGroup | Closure $actions
|
||||
*/
|
||||
public function actions(array | ActionGroup | Closure $actions): static
|
||||
{
|
||||
$this->actions = $actions;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<Action | ActionGroup>
|
||||
*/
|
||||
public function getActions(): array
|
||||
{
|
||||
return array_map(
|
||||
fn (Action | ActionGroup $action) => match (true) {
|
||||
$action instanceof Action => $action->defaultView(Action::LINK_VIEW)->defaultSize(Size::Small),
|
||||
$action instanceof ActionGroup => $action->defaultTriggerView(ActionGroup::LINK_VIEW)->defaultSize(Size::Small)
|
||||
},
|
||||
Arr::wrap($this->evaluate($this->actions)),
|
||||
);
|
||||
}
|
||||
}
|
||||
22
vendor/filament/notifications/src/Concerns/HasBody.php
vendored
Normal file
22
vendor/filament/notifications/src/Concerns/HasBody.php
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
namespace Filament\Notifications\Concerns;
|
||||
|
||||
use Closure;
|
||||
|
||||
trait HasBody
|
||||
{
|
||||
protected string | Closure | null $body = null;
|
||||
|
||||
public function body(string | Closure | null $body): static
|
||||
{
|
||||
$this->body = $body;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getBody(): ?string
|
||||
{
|
||||
return $this->evaluate($this->body);
|
||||
}
|
||||
}
|
||||
22
vendor/filament/notifications/src/Concerns/HasDate.php
vendored
Normal file
22
vendor/filament/notifications/src/Concerns/HasDate.php
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
namespace Filament\Notifications\Concerns;
|
||||
|
||||
use Closure;
|
||||
|
||||
trait HasDate
|
||||
{
|
||||
protected string | Closure | null $date = null;
|
||||
|
||||
public function date(string | Closure | null $date): static
|
||||
{
|
||||
$this->date = $date;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDate(): ?string
|
||||
{
|
||||
return $this->evaluate($this->date);
|
||||
}
|
||||
}
|
||||
36
vendor/filament/notifications/src/Concerns/HasDuration.php
vendored
Normal file
36
vendor/filament/notifications/src/Concerns/HasDuration.php
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<?php
|
||||
|
||||
namespace Filament\Notifications\Concerns;
|
||||
|
||||
use Closure;
|
||||
|
||||
trait HasDuration
|
||||
{
|
||||
protected int | string | Closure $duration = 6000;
|
||||
|
||||
public function duration(int | string | Closure | null $duration): static
|
||||
{
|
||||
$this->duration = $duration ?? 'persistent';
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDuration(): int | string
|
||||
{
|
||||
return $this->evaluate($this->duration) ?? 'persistent';
|
||||
}
|
||||
|
||||
public function seconds(float $seconds): static
|
||||
{
|
||||
$this->duration((int) ($seconds * 1000));
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function persistent(): static
|
||||
{
|
||||
$this->duration('persistent');
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
28
vendor/filament/notifications/src/Concerns/HasIcon.php
vendored
Normal file
28
vendor/filament/notifications/src/Concerns/HasIcon.php
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
namespace Filament\Notifications\Concerns;
|
||||
|
||||
use BackedEnum;
|
||||
use Filament\Notifications\View\NotificationsIconAlias;
|
||||
use Filament\Support\Concerns\HasIcon as BaseTrait;
|
||||
use Filament\Support\Facades\FilamentIcon;
|
||||
use Filament\Support\Icons\Heroicon;
|
||||
use Illuminate\Contracts\Support\Htmlable;
|
||||
|
||||
trait HasIcon
|
||||
{
|
||||
use BaseTrait {
|
||||
getIcon as getBaseIcon;
|
||||
}
|
||||
|
||||
public function getIcon(): string | BackedEnum | Htmlable | null
|
||||
{
|
||||
return $this->getBaseIcon() ?? match ($this->getStatus()) {
|
||||
'danger' => FilamentIcon::resolve(NotificationsIconAlias::NOTIFICATION_DANGER) ?? Heroicon::OutlinedXCircle,
|
||||
'info' => FilamentIcon::resolve(NotificationsIconAlias::NOTIFICATION_INFO) ?? Heroicon::OutlinedInformationCircle,
|
||||
'success' => FilamentIcon::resolve(NotificationsIconAlias::NOTIFICATION_SUCCESS) ?? Heroicon::OutlinedCheckCircle,
|
||||
'warning' => FilamentIcon::resolve(NotificationsIconAlias::NOTIFICATION_WARNING) ?? Heroicon::OutlinedExclamationCircle,
|
||||
default => null,
|
||||
};
|
||||
}
|
||||
}
|
||||
20
vendor/filament/notifications/src/Concerns/HasIconColor.php
vendored
Normal file
20
vendor/filament/notifications/src/Concerns/HasIconColor.php
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace Filament\Notifications\Concerns;
|
||||
|
||||
use Filament\Support\Concerns\HasIconColor as BaseTrait;
|
||||
|
||||
trait HasIconColor
|
||||
{
|
||||
use BaseTrait {
|
||||
getIconColor as getBaseIconColor;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string | array<string> | null
|
||||
*/
|
||||
public function getIconColor(): string | array | null
|
||||
{
|
||||
return $this->getBaseIconColor() ?? $this->getStatus();
|
||||
}
|
||||
}
|
||||
20
vendor/filament/notifications/src/Concerns/HasId.php
vendored
Normal file
20
vendor/filament/notifications/src/Concerns/HasId.php
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace Filament\Notifications\Concerns;
|
||||
|
||||
trait HasId
|
||||
{
|
||||
protected string $id;
|
||||
|
||||
public function id(string $id): static
|
||||
{
|
||||
$this->id = $id;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getId(): string
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
}
|
||||
42
vendor/filament/notifications/src/Concerns/HasStatus.php
vendored
Normal file
42
vendor/filament/notifications/src/Concerns/HasStatus.php
vendored
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<?php
|
||||
|
||||
namespace Filament\Notifications\Concerns;
|
||||
|
||||
use Closure;
|
||||
|
||||
trait HasStatus
|
||||
{
|
||||
protected string | Closure | null $status = null;
|
||||
|
||||
public function status(string | Closure | null $status): static
|
||||
{
|
||||
$this->status = $status;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getStatus(): ?string
|
||||
{
|
||||
return $this->evaluate($this->status);
|
||||
}
|
||||
|
||||
public function danger(): static
|
||||
{
|
||||
return $this->status('danger');
|
||||
}
|
||||
|
||||
public function info(): static
|
||||
{
|
||||
return $this->status('info');
|
||||
}
|
||||
|
||||
public function success(): static
|
||||
{
|
||||
return $this->status('success');
|
||||
}
|
||||
|
||||
public function warning(): static
|
||||
{
|
||||
return $this->status('warning');
|
||||
}
|
||||
}
|
||||
22
vendor/filament/notifications/src/Concerns/HasTitle.php
vendored
Normal file
22
vendor/filament/notifications/src/Concerns/HasTitle.php
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
namespace Filament\Notifications\Concerns;
|
||||
|
||||
use Closure;
|
||||
|
||||
trait HasTitle
|
||||
{
|
||||
protected string | Closure | null $title = null;
|
||||
|
||||
public function title(string | Closure | null $title): static
|
||||
{
|
||||
$this->title = $title;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getTitle(): ?string
|
||||
{
|
||||
return $this->evaluate($this->title);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue