Beliebige Entra-Attribute ins Profil übernehmen; eigene Profilfelder
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m43s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m52s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m49s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m49s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 2m12s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 2m22s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 1m57s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 1m59s
CI / Build-Artefakte aktuell (pull_request) Successful in 57s
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m43s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m52s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m49s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m49s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 2m12s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 2m22s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 1m57s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 1m59s
CI / Build-Artefakte aktuell (pull_request) Successful in 57s
- Profilfelder frei definierbar (Typ, Sichtbarkeit, selbst pflegbar), Werte als JSON am Benutzer - Attribut-Zuordnung je Anbieter statt fester Feldliste: jedes Graph-Attribut inkl. verschachtelter Pfade, onPremisesExtensionAttributes und Verzeichniserweiterungen - Erweiterungsattribute per Knopf aus Entra laden - $select dynamisch aus der Zuordnung; Delta-Abgleich startet bei geänderter Zuordnung neu - Rückfall auf Grundattribute, wenn einzelne Attribute nicht lesbar sind - Ältere Konfiguration (synced_fields) wird weiter gelesen Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
51c94cd0cf
commit
6269d3302c
79 changed files with 1442 additions and 273 deletions
|
|
@ -8,7 +8,9 @@ Der Self-Updater zeigt diese Abschnitte bei neuen Versionen an.
|
|||
|
||||
- Anmeldung mit Microsoft Entra ID („Mit Microsoft anmelden“) – Konten werden bei der ersten Anmeldung angelegt oder per E-Mail verknüpft
|
||||
- Entra-Gruppen und App-Rollen lassen sich Rollen im Portal zuordnen; manuell vergebene Rollen bleiben erhalten
|
||||
- Profil, Vorgesetzte*r und Profilfoto werden aus Entra übernommen – wählbar je Feld, übernommene Felder sind im Portal schreibgeschützt
|
||||
- Profil, Vorgesetzte*r und Profilfoto werden aus Entra übernommen – übernommene Felder sind im Portal schreibgeschützt
|
||||
- Beliebige Entra-Attribute lassen sich Profilfeldern zuordnen – auch Personalnummer, Kostenstelle, lokale Erweiterungsattribute und eigene Verzeichniserweiterungen
|
||||
- Eigene Profilfelder (z. B. Personalnummer, Eintrittsdatum) mit Typ, Sichtbarkeit und Angabe, ob die Person sie selbst pflegen darf
|
||||
- Hintergrund-Abgleich: Änderungen und in Entra deaktivierte Konten werden auch ohne Anmeldung übernommen, optional alle Konten vorab angelegt
|
||||
- „Mapping testen“ zeigt, welche Gruppen Entra für eine Person liefert und welche Rollen daraus entstehen
|
||||
- Profilseite zeigt Vorgesetzte*n und Mitarbeitende
|
||||
|
|
|
|||
|
|
@ -7,21 +7,23 @@ use App\Filament\Resources\IdentityProviders\Pages\EditIdentityProvider;
|
|||
use App\Filament\Resources\IdentityProviders\Pages\ListIdentityProviders;
|
||||
use App\Filament\Resources\IdentityProviders\Pages\TestMapping;
|
||||
use App\Http\Controllers\Auth\IdentityLoginController;
|
||||
use App\Identity\Entra\EntraAttributes;
|
||||
use App\Identity\Entra\EntraDirectorySync;
|
||||
use App\Identity\Entra\MappingTester;
|
||||
use App\Models\IdentityProvider;
|
||||
use App\Models\IdpGroupMapping;
|
||||
use App\Models\Role;
|
||||
use App\Support\ProfileFields;
|
||||
use BackedEnum;
|
||||
use Filament\Actions\Action;
|
||||
use Filament\Actions\EditAction;
|
||||
use Filament\Forms\Components\CheckboxList;
|
||||
use Filament\Forms\Components\Hidden;
|
||||
use Filament\Forms\Components\Repeater;
|
||||
use Filament\Forms\Components\Select;
|
||||
use Filament\Forms\Components\TagsInput;
|
||||
use Filament\Forms\Components\TextInput;
|
||||
use Filament\Forms\Components\Toggle;
|
||||
use Filament\Notifications\Notification;
|
||||
use Filament\Resources\Resource;
|
||||
use Filament\Schemas\Components\Section;
|
||||
use Filament\Schemas\Components\Text;
|
||||
|
|
@ -107,11 +109,51 @@ class IdentityProviderResource extends Resource
|
|||
]),
|
||||
|
||||
Section::make('Profil')
|
||||
->description('Gewählte Felder kommen aus Entra ID und sind im Portal schreibgeschützt. Nicht gewählte pflegen die Personen selbst.')
|
||||
->key('profile')
|
||||
->description('Jedes Microsoft-Graph-Attribut lässt sich einem Profilfeld zuordnen – auch Personalnummer, Kostenstelle, lokale Erweiterungsattribute oder eigene Verzeichniserweiterungen. Zugeordnete Felder sind im Portal schreibgeschützt. Eigene Felder legen Sie unter „Profilfelder“ an.')
|
||||
->afterHeader([
|
||||
Action::make('loadExtensions')->label('Erweiterungsattribute laden')->icon(Heroicon::OutlinedArrowPath)
|
||||
->color('gray')->size('sm')
|
||||
->visible(fn (string $operation) => $operation === 'edit')
|
||||
->action(function (IdentityProvider $record) {
|
||||
try {
|
||||
$names = app(MappingTester::class)->loadExtensionProperties($record);
|
||||
Notification::make()->success()->title(count($names).' Verzeichniserweiterungen gefunden')
|
||||
->body($names === [] ? 'Im Mandanten sind keine Erweiterungen für Benutzer registriert.' : 'Sie stehen jetzt in der Attributauswahl zur Verfügung.')
|
||||
->send();
|
||||
} catch (Throwable $e) {
|
||||
Notification::make()->danger()->title('Erweiterungen konnten nicht geladen werden')
|
||||
->body($e->getMessage().' Benötigt die Anwendungsberechtigung Directory.Read.All.')->send();
|
||||
}
|
||||
}),
|
||||
])
|
||||
->schema([
|
||||
CheckboxList::make('config.synced_fields')->hiddenLabel()->columns(3)
|
||||
->options(IdentityProvider::SYNCABLE_FIELDS)
|
||||
->default(['first_name', 'last_name', 'email', 'job_title', 'department', 'location', 'phone', 'mobile', 'manager']),
|
||||
Repeater::make('config.attribute_map')
|
||||
->hiddenLabel()
|
||||
->columns(3)
|
||||
->addActionLabel('Zuordnung hinzufügen')
|
||||
->reorderable(false)
|
||||
->default(fn () => collect(EntraAttributes::DEFAULT_MAP)->map(fn ($attribute, $target) => ['target' => $target, 'attribute' => $attribute])->values()->all())
|
||||
->itemLabel(fn (array $state) => static::profileTargets()[$state['target'] ?? ''] ?? null)
|
||||
->collapsible(false)
|
||||
->schema([
|
||||
Select::make('target')->label('Profilfeld')->required()->native(false)
|
||||
->options(fn () => static::profileTargets())
|
||||
->disableOptionsWhenSelectedInSiblingRepeaterItems(),
|
||||
Select::make('suggestion')->label('Attribut auswählen')->placeholder('Aus der Liste übernehmen …')->searchable()->native(false)
|
||||
->options(fn (?IdentityProvider $record) => collect(EntraAttributes::suggestions($record))
|
||||
->mapWithKeys(fn ($label, $path) => [$path => $label.' · '.$path])->all())
|
||||
->live()
|
||||
->afterStateUpdated(fn (?string $state, Set $set) => $state ? $set('attribute', $state) : null)
|
||||
->dehydrated(false),
|
||||
TextInput::make('attribute')->label('Graph-Attribut')->required()->maxLength(191)
|
||||
->regex(EntraAttributes::PATH_PATTERN)
|
||||
->validationMessages(['regex' => 'Attributname oder Pfad mit Punkten, z. B. employeeOrgData.costCenter.'])
|
||||
->datalist(fn (?IdentityProvider $record) => array_keys(EntraAttributes::suggestions($record)))
|
||||
->placeholder('z. B. employeeId'),
|
||||
]),
|
||||
Text::make('Pfade mit Punkt lesen verschachtelte Werte (employeeOrgData.costCenter, businessPhones.0). Listen werden mit Komma verbunden. Manche Attribute brauchen zusätzliche Berechtigungen, z. B. employeeHireDate die Berechtigung User-LifeCycleInfo.Read.All.'),
|
||||
Toggle::make('config.sync_manager')->label('Vorgesetzte*n aus Entra übernehmen')->default(true),
|
||||
Toggle::make('config.sync_photo')->label('Profilfoto aus Entra übernehmen')->default(true),
|
||||
]),
|
||||
|
||||
|
|
@ -172,6 +214,15 @@ class IdentityProviderResource extends Resource
|
|||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<string, string> Zielfeld => Bezeichnung
|
||||
*/
|
||||
public static function profileTargets(): array
|
||||
{
|
||||
return IdentityProvider::PROFILE_TARGETS
|
||||
+ collect(app(ProfileFields::class)->options())->mapWithKeys(fn ($label, $key) => ['custom.'.$key => $label.' (Profilfeld)'])->all();
|
||||
}
|
||||
|
||||
public static function syncStatus(?IdentityProvider $record): HtmlString
|
||||
{
|
||||
if (! $record) {
|
||||
|
|
|
|||
|
|
@ -20,6 +20,13 @@ class EditIdentityProvider extends EditRecord
|
|||
{
|
||||
$data['config']['client_secret'] = null;
|
||||
|
||||
// Ältere Konfiguration (feste Feldliste) als Zuordnung anzeigen.
|
||||
if (! is_array($data['config']['attribute_map'] ?? null)) {
|
||||
$data['config']['attribute_map'] = collect($this->record->attributeMap())
|
||||
->map(fn ($attribute, $target) => ['target' => $target, 'attribute' => $attribute])->values()->all();
|
||||
$data['config']['sync_manager'] = $this->record->syncsManager();
|
||||
}
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
|
@ -32,6 +39,11 @@ class EditIdentityProvider extends EditRecord
|
|||
$data['config']['client_secret'] = $this->record->setting('client_secret');
|
||||
}
|
||||
|
||||
// Geladene Erweiterungen liegen nur in der Datenbank, nicht im Formular.
|
||||
$data['config']['extension_properties'] = $this->record->fresh()?->setting('extension_properties', []) ?? [];
|
||||
$data['config']['attribute_map'] = array_values((array) ($data['config']['attribute_map'] ?? []));
|
||||
unset($data['config']['synced_fields']);
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
namespace App\Filament\Resources\ProfileFields\Pages;
|
||||
|
||||
use App\Filament\Resources\ProfileFields\ProfileFieldResource;
|
||||
use Filament\Actions\CreateAction;
|
||||
use Filament\Resources\Pages\ManageRecords;
|
||||
|
||||
class ManageProfileFields extends ManageRecords
|
||||
{
|
||||
protected static string $resource = ProfileFieldResource::class;
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
CreateAction::make()->label('Profilfeld anlegen'),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,96 @@
|
|||
<?php
|
||||
|
||||
namespace App\Filament\Resources\ProfileFields;
|
||||
|
||||
use App\Filament\Resources\ProfileFields\Pages\ManageProfileFields;
|
||||
use App\Models\ProfileField;
|
||||
use BackedEnum;
|
||||
use Filament\Actions\DeleteAction;
|
||||
use Filament\Actions\EditAction;
|
||||
use Filament\Forms\Components\Select;
|
||||
use Filament\Forms\Components\TextInput;
|
||||
use Filament\Forms\Components\Toggle;
|
||||
use Filament\Resources\Resource;
|
||||
use Filament\Schemas\Schema;
|
||||
use Filament\Support\Icons\Heroicon;
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Table;
|
||||
use UnitEnum;
|
||||
|
||||
/**
|
||||
* Frei definierbare Profilfelder – etwa Personalnummer, Kostenstelle, Eintrittsdatum.
|
||||
* Können von den Personen selbst gepflegt oder aus Entra ID übernommen werden.
|
||||
*/
|
||||
class ProfileFieldResource extends Resource
|
||||
{
|
||||
protected static ?string $model = ProfileField::class;
|
||||
|
||||
protected static string|BackedEnum|null $navigationIcon = Heroicon::OutlinedIdentification;
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'Benutzer & Rechte';
|
||||
|
||||
protected static ?int $navigationSort = 3;
|
||||
|
||||
protected static ?string $modelLabel = 'Profilfeld';
|
||||
|
||||
protected static ?string $pluralModelLabel = 'Profilfelder';
|
||||
|
||||
protected static ?string $slug = 'profilfelder';
|
||||
|
||||
public static function canAccess(): bool
|
||||
{
|
||||
return auth()->user()?->can('users.manage') ?? false;
|
||||
}
|
||||
|
||||
public static function form(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->columns(2)
|
||||
->components([
|
||||
TextInput::make('label')->label('Bezeichnung')->required()->maxLength(100),
|
||||
TextInput::make('key')->label('Technischer Schlüssel')
|
||||
->helperText('Wird aus der Bezeichnung erzeugt, wenn leer. Nachträglich nicht änderbar.')
|
||||
->regex('/^[a-z][a-z0-9_]*$/')
|
||||
->validationMessages(['regex' => 'Nur Kleinbuchstaben, Ziffern und Unterstriche, beginnend mit einem Buchstaben.'])
|
||||
->maxLength(60)
|
||||
->unique(ignoreRecord: true)
|
||||
->disabledOn('edit'),
|
||||
Select::make('type')->label('Typ')->options(ProfileField::TYPES)->default('text')->required()->native(false),
|
||||
Select::make('visibility')->label('Sichtbarkeit')->options(ProfileField::VISIBILITIES)->default('public')->required()->native(false),
|
||||
Toggle::make('editable')->label('Von der Person selbst pflegbar')->default(true)
|
||||
->helperText('Aus Entra ID übernommene Felder sind unabhängig davon schreibgeschützt.'),
|
||||
TextInput::make('sort')->label('Reihenfolge')->numeric()->default(0)->minValue(0),
|
||||
TextInput::make('help')->label('Hinweis im Profilformular')->maxLength(255)->columnSpanFull(),
|
||||
]);
|
||||
}
|
||||
|
||||
public static function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->defaultSort('sort')
|
||||
->reorderable('sort')
|
||||
->columns([
|
||||
TextColumn::make('label')->label('Bezeichnung')->weight('medium'),
|
||||
TextColumn::make('key')->label('Schlüssel')->fontFamily('mono')->color('gray'),
|
||||
TextColumn::make('type')->label('Typ')->formatStateUsing(fn (string $state) => ProfileField::TYPES[$state] ?? $state),
|
||||
TextColumn::make('visibility')->label('Sichtbarkeit')->badge()
|
||||
->formatStateUsing(fn (string $state) => $state === 'public' ? 'Alle' : 'Eingeschränkt')
|
||||
->color(fn (string $state) => $state === 'public' ? 'gray' : 'warning'),
|
||||
IconColumn::make('editable')->label('Selbst pflegbar')->boolean(),
|
||||
])
|
||||
->recordActions([
|
||||
EditAction::make(),
|
||||
DeleteAction::make()->modalDescription('Die gespeicherten Werte bleiben erhalten, werden aber nicht mehr angezeigt.'),
|
||||
])
|
||||
->emptyStateHeading('Noch keine Profilfelder')
|
||||
->emptyStateDescription('Zum Beispiel Personalnummer, Kostenstelle oder Eintrittsdatum – selbst gepflegt oder aus Entra ID übernommen.');
|
||||
}
|
||||
|
||||
public static function getPages(): array
|
||||
{
|
||||
return [
|
||||
'index' => ManageProfileFields::route('/'),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
@ -2,12 +2,16 @@
|
|||
|
||||
namespace App\Filament\Resources\Users\Schemas;
|
||||
|
||||
use App\Models\ProfileField;
|
||||
use App\Models\Role;
|
||||
use App\Models\User;
|
||||
use App\Support\ProfileFields;
|
||||
use Filament\Forms\Components\DatePicker;
|
||||
use Filament\Forms\Components\Select;
|
||||
use Filament\Forms\Components\Textarea;
|
||||
use Filament\Forms\Components\TextInput;
|
||||
use Filament\Forms\Components\Toggle;
|
||||
use Filament\Schemas\Components\Component;
|
||||
use Filament\Schemas\Components\Section;
|
||||
use Filament\Schemas\Schema;
|
||||
use Illuminate\Validation\Rules\Password;
|
||||
|
|
@ -16,6 +20,30 @@ class UserForm
|
|||
{
|
||||
public const PHONE_REGEX = '/^[0-9+()\/\-.\s]{3,50}$/';
|
||||
|
||||
/**
|
||||
* Eingabefelder für die frei definierten Profilfelder.
|
||||
*
|
||||
* @return list<Component>
|
||||
*/
|
||||
private static function customFields(): array
|
||||
{
|
||||
return app(ProfileFields::class)->all()->map(function (ProfileField $field) {
|
||||
$name = 'custom_fields.'.$field->key;
|
||||
$hint = $field->visibility === 'restricted' ? 'Nur für die Person und die Personalverwaltung sichtbar.' : null;
|
||||
|
||||
$component = match ($field->type) {
|
||||
'textarea' => Textarea::make($name)->rows(3)->maxLength(5000)->columnSpanFull(),
|
||||
'date' => DatePicker::make($name)->native(false)->displayFormat('d.m.Y'),
|
||||
'email' => TextInput::make($name)->email()->maxLength(255),
|
||||
'url' => TextInput::make($name)->url()->maxLength(500),
|
||||
'phone' => TextInput::make($name)->tel()->telRegex(self::PHONE_REGEX)->maxLength(50),
|
||||
default => TextInput::make($name)->maxLength(255),
|
||||
};
|
||||
|
||||
return $component->label($field->label)->helperText($hint);
|
||||
})->values()->all();
|
||||
}
|
||||
|
||||
public static function configure(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
|
|
@ -79,6 +107,11 @@ class UserForm
|
|||
->rule(Password::default())
|
||||
->dehydrated(fn (?string $state) => filled($state)),
|
||||
]),
|
||||
Section::make('Weitere Angaben')
|
||||
->columnSpan(2)
|
||||
->columns(2)
|
||||
->schema(fn () => self::customFields())
|
||||
->visible(fn () => app(ProfileFields::class)->all()->isNotEmpty()),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ namespace App\Http\Controllers;
|
|||
|
||||
use App\Http\Resources\PersonResource;
|
||||
use App\Models\User;
|
||||
use App\Support\ProfileFields;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
|
|
@ -71,6 +72,7 @@ class PeopleController extends Controller
|
|||
'phone' => $user->phone,
|
||||
'mobile' => $user->mobile,
|
||||
'about' => $user->about,
|
||||
'fields' => app(ProfileFields::class)->visibleValues($user, auth()->user()),
|
||||
'avatar_url' => $user->avatarUrl(256),
|
||||
'manager' => $user->manager?->is_active ? [
|
||||
'id' => $user->manager->id,
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ namespace App\Http\Controllers;
|
|||
use App\Http\Requests\UpdateProfileRequest;
|
||||
use App\Models\User;
|
||||
use App\Support\Avatars;
|
||||
use App\Support\ProfileFields;
|
||||
use Illuminate\Http\RedirectResponse;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Validation\Rule;
|
||||
|
|
@ -19,9 +20,10 @@ class ProfileController extends Controller
|
|||
return to_route('people.show', $request->user());
|
||||
}
|
||||
|
||||
public function edit(Request $request): Response
|
||||
public function edit(Request $request, ProfileFields $profileFields): Response
|
||||
{
|
||||
$user = $request->user();
|
||||
$managed = $user->managedFields();
|
||||
|
||||
return Inertia::render('Profile/Edit', [
|
||||
'profile' => [
|
||||
|
|
@ -35,14 +37,20 @@ class ProfileController extends Controller
|
|||
'has_password' => $user->password !== null,
|
||||
],
|
||||
// Felder, die Microsoft Entra ID pflegt – im Portal nur lesbar.
|
||||
'managed' => $user->managedFields(),
|
||||
'managed' => $managed,
|
||||
'customFields' => $profileFields->formFor($user, $managed),
|
||||
]);
|
||||
}
|
||||
|
||||
public function update(UpdateProfileRequest $request): RedirectResponse
|
||||
public function update(UpdateProfileRequest $request, ProfileFields $profileFields): RedirectResponse
|
||||
{
|
||||
$user = $request->user();
|
||||
$user->update(collect($request->validated())->except($user->managedFields())->all());
|
||||
$managed = $user->managedFields();
|
||||
$user->update(collect($request->validated())->except([...$managed, 'custom_fields'])->all());
|
||||
|
||||
if ($request->has('custom_fields')) {
|
||||
$profileFields->mergeUserInput($user, (array) $request->validated('custom_fields', []), $managed);
|
||||
}
|
||||
|
||||
return back()->with('status', 'profile-updated');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use App\Support\ProfileFields;
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
use Illuminate\Validation\Rule;
|
||||
|
||||
|
|
@ -27,6 +28,8 @@ class UpdateProfileRequest extends FormRequest
|
|||
'phone' => ['nullable', 'string', 'max:50'],
|
||||
'mobile' => ['nullable', 'string', 'max:50'],
|
||||
'about' => ['nullable', 'string', 'max:2000'],
|
||||
'custom_fields' => ['nullable', 'array'],
|
||||
...app(ProfileFields::class)->rules(),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
@ -45,6 +48,7 @@ class UpdateProfileRequest extends FormRequest
|
|||
'phone' => 'Telefon',
|
||||
'mobile' => 'Mobil',
|
||||
'about' => 'Über mich',
|
||||
...app(ProfileFields::class)->all()->mapWithKeys(fn ($field) => ['custom_fields.'.$field->key => $field->label])->all(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
141
app/Identity/Entra/EntraAttributes.php
Normal file
141
app/Identity/Entra/EntraAttributes.php
Normal file
|
|
@ -0,0 +1,141 @@
|
|||
<?php
|
||||
|
||||
namespace App\Identity\Entra;
|
||||
|
||||
use App\Models\IdentityProvider;
|
||||
use Illuminate\Support\Arr;
|
||||
|
||||
/**
|
||||
* Graph-Benutzerattribute: Vorschlagsliste, Standardzuordnung, $select-Aufbau
|
||||
* und das Auslesen verschachtelter Werte.
|
||||
*
|
||||
* Ein Attribut ist ein Pfad in der Graph-Antwort, z. B. „jobTitle“,
|
||||
* „employeeOrgData.costCenter“, „onPremisesExtensionAttributes.extensionAttribute3“,
|
||||
* „businessPhones.0“ oder „extension_<appId>_personalnummer“.
|
||||
*/
|
||||
final class EntraAttributes
|
||||
{
|
||||
/** Wird immer abgefragt – für Kontoanlage, Verknüpfung und Offboarding. */
|
||||
public const BASE_SELECT = ['id', 'displayName', 'givenName', 'surname', 'mail', 'userPrincipalName', 'accountEnabled', 'userType'];
|
||||
|
||||
/** Standardzuordnung Profilfeld => Attribut (entspricht dem bisherigen Verhalten). */
|
||||
public const DEFAULT_MAP = [
|
||||
'first_name' => 'givenName',
|
||||
'last_name' => 'surname',
|
||||
'email' => 'mail',
|
||||
'job_title' => 'jobTitle',
|
||||
'department' => 'department',
|
||||
'location' => 'officeLocation',
|
||||
'phone' => 'businessPhones.0',
|
||||
'mobile' => 'mobilePhone',
|
||||
];
|
||||
|
||||
/** Häufige Attribute als Vorschläge im Formular. */
|
||||
public const COMMON = [
|
||||
'givenName' => 'Vorname',
|
||||
'surname' => 'Nachname',
|
||||
'displayName' => 'Anzeigename',
|
||||
'mail' => 'E-Mail-Adresse',
|
||||
'userPrincipalName' => 'Benutzerprinzipalname',
|
||||
'jobTitle' => 'Position',
|
||||
'department' => 'Abteilung',
|
||||
'companyName' => 'Firmenname',
|
||||
'officeLocation' => 'Büro',
|
||||
'businessPhones.0' => 'Telefon (geschäftlich)',
|
||||
'mobilePhone' => 'Mobiltelefon',
|
||||
'faxNumber' => 'Fax',
|
||||
'streetAddress' => 'Straße',
|
||||
'postalCode' => 'Postleitzahl',
|
||||
'city' => 'Ort',
|
||||
'state' => 'Bundesland',
|
||||
'country' => 'Land',
|
||||
'usageLocation' => 'Nutzungsstandort',
|
||||
'preferredLanguage' => 'Bevorzugte Sprache',
|
||||
'employeeId' => 'Personalnummer',
|
||||
'employeeType' => 'Mitarbeitertyp',
|
||||
'employeeHireDate' => 'Eintrittsdatum',
|
||||
'employeeLeaveDateTime' => 'Austrittsdatum',
|
||||
'employeeOrgData.costCenter' => 'Kostenstelle',
|
||||
'employeeOrgData.division' => 'Bereich',
|
||||
'otherMails' => 'Weitere E-Mail-Adressen',
|
||||
'proxyAddresses' => 'Proxyadressen',
|
||||
'onPremisesSamAccountName' => 'Anmeldename (lokal)',
|
||||
'onPremisesDistinguishedName' => 'Distinguished Name (lokal)',
|
||||
'onPremisesExtensionAttributes.extensionAttribute1' => 'Erweiterungsattribut 1 (lokal)',
|
||||
'onPremisesExtensionAttributes.extensionAttribute2' => 'Erweiterungsattribut 2 (lokal)',
|
||||
'onPremisesExtensionAttributes.extensionAttribute3' => 'Erweiterungsattribut 3 (lokal)',
|
||||
'onPremisesExtensionAttributes.extensionAttribute4' => 'Erweiterungsattribut 4 (lokal)',
|
||||
'onPremisesExtensionAttributes.extensionAttribute5' => 'Erweiterungsattribut 5 (lokal)',
|
||||
'onPremisesExtensionAttributes.extensionAttribute6' => 'Erweiterungsattribut 6 (lokal)',
|
||||
'onPremisesExtensionAttributes.extensionAttribute7' => 'Erweiterungsattribut 7 (lokal)',
|
||||
'onPremisesExtensionAttributes.extensionAttribute8' => 'Erweiterungsattribut 8 (lokal)',
|
||||
'onPremisesExtensionAttributes.extensionAttribute9' => 'Erweiterungsattribut 9 (lokal)',
|
||||
'onPremisesExtensionAttributes.extensionAttribute10' => 'Erweiterungsattribut 10 (lokal)',
|
||||
'onPremisesExtensionAttributes.extensionAttribute11' => 'Erweiterungsattribut 11 (lokal)',
|
||||
'onPremisesExtensionAttributes.extensionAttribute12' => 'Erweiterungsattribut 12 (lokal)',
|
||||
'onPremisesExtensionAttributes.extensionAttribute13' => 'Erweiterungsattribut 13 (lokal)',
|
||||
'onPremisesExtensionAttributes.extensionAttribute14' => 'Erweiterungsattribut 14 (lokal)',
|
||||
'onPremisesExtensionAttributes.extensionAttribute15' => 'Erweiterungsattribut 15 (lokal)',
|
||||
];
|
||||
|
||||
/** Erlaubte Schreibweise eines Attributpfads. */
|
||||
public const PATH_PATTERN = '/^[A-Za-z][A-Za-z0-9_]*(\.[A-Za-z0-9_]+)*$/';
|
||||
|
||||
/**
|
||||
* $select für /me, /users/{id} und /users/delta.
|
||||
*/
|
||||
public static function select(IdentityProvider $provider): string
|
||||
{
|
||||
$top = array_map(fn (string $path) => self::topLevel($path), array_values($provider->attributeMap()));
|
||||
|
||||
return implode(',', array_values(array_unique([...self::BASE_SELECT, ...$top])));
|
||||
}
|
||||
|
||||
public static function topLevel(string $path): string
|
||||
{
|
||||
return explode('.', $path, 2)[0];
|
||||
}
|
||||
|
||||
/**
|
||||
* Wert eines Attributpfads als Text. Listen werden mit Komma verbunden,
|
||||
* Wahrheitswerte als „Ja“/„Nein“ ausgegeben; leere Werte ergeben null.
|
||||
*
|
||||
* @param array<string, mixed> $graphUser
|
||||
*/
|
||||
public static function value(array $graphUser, string $path): ?string
|
||||
{
|
||||
$value = $graphUser;
|
||||
|
||||
foreach (explode('.', $path) as $segment) {
|
||||
if (! is_array($value) || ! array_key_exists($segment, $value)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
$value = $value[$segment];
|
||||
}
|
||||
|
||||
if (is_array($value)) {
|
||||
$value = implode(', ', array_filter(Arr::flatten($value), fn ($v) => is_scalar($v) && $v !== ''));
|
||||
} elseif (is_bool($value)) {
|
||||
$value = $value ? 'Ja' : 'Nein';
|
||||
}
|
||||
|
||||
$value = is_scalar($value) ? trim((string) $value) : '';
|
||||
|
||||
return $value === '' ? null : $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Vorschlagsliste fürs Formular: häufige Attribute plus geladene Verzeichniserweiterungen.
|
||||
*
|
||||
* @return array<string, string> Pfad => Beschreibung
|
||||
*/
|
||||
public static function suggestions(?IdentityProvider $provider): array
|
||||
{
|
||||
$extensions = collect((array) $provider?->setting('extension_properties', []))
|
||||
->mapWithKeys(fn ($name) => [(string) $name => 'Verzeichniserweiterung'])
|
||||
->all();
|
||||
|
||||
return self::COMMON + $extensions;
|
||||
}
|
||||
}
|
||||
|
|
@ -75,7 +75,14 @@ class EntraDirectorySync
|
|||
|
||||
private function syncUsers(IdentityProvider $provider, EntraClient $client, string $token, float $deadline): void
|
||||
{
|
||||
$url = $this->state($provider, 'next_link') ?: $this->state($provider, 'delta_link') ?: '/users/delta?$select='.EntraProfile::SELECT;
|
||||
$select = EntraAttributes::select($provider);
|
||||
|
||||
// Neue Attribute zugeordnet: Der alte Delta-Link liefert sie nicht – einmal komplett abgleichen.
|
||||
if ($this->state($provider, 'select') !== $select) {
|
||||
$this->saveState($provider, ['delta_link' => null, 'next_link' => null, 'select' => $select]);
|
||||
}
|
||||
|
||||
$url = $this->state($provider, 'next_link') ?: $this->state($provider, 'delta_link') ?: '/users/delta?$select='.$select;
|
||||
|
||||
while ($url && microtime(true) < $deadline) {
|
||||
$response = $client->graph($token)->get($url);
|
||||
|
|
@ -131,7 +138,7 @@ class EntraDirectorySync
|
|||
|
||||
// Ohne Vorab-Anlage: nur bestehende Konten per E-Mail verknüpfen.
|
||||
try {
|
||||
$user = $this->sync->resolveUser($provider, $subject, EntraProfile::fromGraph($graphUser), (bool) $createAllowed);
|
||||
$user = $this->sync->resolveUser($provider, $subject, EntraProfile::fromGraph($provider, $graphUser), (bool) $createAllowed);
|
||||
} catch (IdentityException) {
|
||||
return; // z. B. nicht erlaubte E-Mail-Domain – dieses Konto überspringen
|
||||
}
|
||||
|
|
@ -144,11 +151,7 @@ class EntraDirectorySync
|
|||
}
|
||||
|
||||
// Delta liefert nur geänderte Felder – fehlende Felder nicht leeren.
|
||||
$profile = array_intersect_key(EntraProfile::fromGraph($graphUser), array_flip(array_map(fn ($key) => match ($key) {
|
||||
'givenName' => 'first_name', 'surname' => 'last_name', 'mail' => 'email', 'jobTitle' => 'job_title',
|
||||
'department' => 'department', 'officeLocation' => 'location', 'businessPhones' => 'phone', 'mobilePhone' => 'mobile',
|
||||
'displayName' => 'display_name', default => '-',
|
||||
}, array_keys($graphUser))));
|
||||
$profile = EntraProfile::fromGraph($provider, $graphUser, partial: true);
|
||||
|
||||
$this->sync->syncProfile($provider, $identity->user, $profile);
|
||||
}
|
||||
|
|
@ -156,7 +159,7 @@ class EntraDirectorySync
|
|||
private function syncPhotosAndManagers(IdentityProvider $provider, EntraClient $client, string $token, float $deadline): void
|
||||
{
|
||||
$withPhoto = (bool) $provider->setting('sync_photo', true);
|
||||
$withManager = in_array('manager', $provider->syncedFields(), true);
|
||||
$withManager = $provider->syncsManager();
|
||||
|
||||
if (! $withPhoto && ! $withManager) {
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -84,10 +84,18 @@ class EntraLogin
|
|||
$overage = isset($claims['_claim_names']['groups']) || ($claims['hasgroups'] ?? false);
|
||||
|
||||
try {
|
||||
$me = $client->graph($token)->get('/me', ['$select' => EntraProfile::SELECT]);
|
||||
$me = $client->graph($token)->get('/me', ['$select' => EntraAttributes::select($provider)]);
|
||||
|
||||
// Einzelne Attribute brauchen weitere Berechtigungen (z. B. employeeHireDate) –
|
||||
// dann wenigstens die Grundangaben übernehmen.
|
||||
if ($me->clientError() && $me->status() !== 401) {
|
||||
Log::warning('Entra-Anmeldung: Zugeordnete Attribute nicht abrufbar ('.$me->status().'), nutze Grundangaben.');
|
||||
$me = $client->graph($token)->get('/me', ['$select' => implode(',', EntraAttributes::BASE_SELECT)]);
|
||||
}
|
||||
|
||||
$client->assertGraph($me);
|
||||
|
||||
$withManager = in_array('manager', $provider->syncedFields(), true);
|
||||
$withManager = $provider->syncsManager();
|
||||
$managerSubject = null;
|
||||
|
||||
if ($withManager) {
|
||||
|
|
@ -95,7 +103,7 @@ class EntraLogin
|
|||
$managerSubject = $manager->successful() ? $manager->json('id') : null;
|
||||
}
|
||||
|
||||
$profile = EntraProfile::fromGraph((array) $me->json(), $managerSubject, $withManager);
|
||||
$profile = EntraProfile::fromGraph($provider, (array) $me->json(), $managerSubject, $withManager);
|
||||
} catch (Throwable $e) {
|
||||
Log::warning('Entra-Anmeldung: Profil aus Graph nicht abrufbar, nutze ID-Token. '.$e->getMessage());
|
||||
$profile = EntraProfile::fromClaims($claims);
|
||||
|
|
|
|||
|
|
@ -2,31 +2,57 @@
|
|||
|
||||
namespace App\Identity\Entra;
|
||||
|
||||
use App\Models\IdentityProvider;
|
||||
|
||||
/**
|
||||
* Normalisiert Entra-/Graph-Benutzerdaten auf die Profilfelder des Portals.
|
||||
* Normalisiert Entra-/Graph-Benutzerdaten auf die Profilfelder des Portals –
|
||||
* gemäß der Attribut-Zuordnung des Anbieters.
|
||||
*
|
||||
* Ergebnis: display_name, Kernfelder (first_name, email, …), freie Felder unter
|
||||
* „custom“ und – falls abgefragt – manager_subject.
|
||||
*/
|
||||
final class EntraProfile
|
||||
{
|
||||
/** Felder, die bei Graph abgefragt werden. */
|
||||
public const SELECT = 'id,displayName,givenName,surname,mail,userPrincipalName,jobTitle,department,officeLocation,businessPhones,mobilePhone,accountEnabled,userType';
|
||||
|
||||
/**
|
||||
* @param array<string, mixed> $graphUser Antwort von /me bzw. /users/{id}
|
||||
* @param array<string, mixed> $graphUser Antwort von /me, /users/{id} oder /users/delta
|
||||
* @param bool $partial Delta-Antwort: nur Felder liefern, deren Attribut enthalten ist
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public static function fromGraph(array $graphUser, ?string $managerSubject = null, bool $withManager = false): array
|
||||
public static function fromGraph(IdentityProvider $provider, array $graphUser, ?string $managerSubject = null, bool $withManager = false, bool $partial = false): array
|
||||
{
|
||||
$profile = [
|
||||
'display_name' => $graphUser['displayName'] ?? null,
|
||||
'first_name' => $graphUser['givenName'] ?? null,
|
||||
'last_name' => $graphUser['surname'] ?? null,
|
||||
'email' => $graphUser['mail'] ?? (str_contains((string) ($graphUser['userPrincipalName'] ?? ''), '#EXT#') ? null : ($graphUser['userPrincipalName'] ?? null)),
|
||||
'job_title' => $graphUser['jobTitle'] ?? null,
|
||||
'department' => $graphUser['department'] ?? null,
|
||||
'location' => $graphUser['officeLocation'] ?? null,
|
||||
'phone' => $graphUser['businessPhones'][0] ?? null,
|
||||
'mobile' => $graphUser['mobilePhone'] ?? null,
|
||||
];
|
||||
$present = fn (string $path) => ! $partial || array_key_exists(EntraAttributes::topLevel($path), $graphUser);
|
||||
$profile = [];
|
||||
|
||||
if ($present('displayName')) {
|
||||
$profile['display_name'] = EntraAttributes::value($graphUser, 'displayName');
|
||||
}
|
||||
|
||||
// Grundwerte für Kontoanlage und Verknüpfung; die Zuordnung überschreibt sie.
|
||||
foreach (['first_name' => 'givenName', 'last_name' => 'surname', 'email' => 'mail'] as $field => $path) {
|
||||
if ($present($path)) {
|
||||
$profile[$field] = EntraAttributes::value($graphUser, $path);
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($provider->attributeMap() as $target => $path) {
|
||||
if (! $present($path)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$value = EntraAttributes::value($graphUser, $path);
|
||||
|
||||
if (str_starts_with($target, 'custom.')) {
|
||||
$profile['custom'][substr($target, 7)] = $value;
|
||||
} else {
|
||||
$profile[$target] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
// Gastkonten haben oft keine „mail“; der UPN ist dann eine #EXT#-Adresse.
|
||||
if (array_key_exists('email', $profile) && $profile['email'] === null && ! $partial) {
|
||||
$upn = (string) ($graphUser['userPrincipalName'] ?? '');
|
||||
$profile['email'] = $upn !== '' && ! str_contains($upn, '#EXT#') ? $upn : null;
|
||||
}
|
||||
|
||||
if ($withManager) {
|
||||
$profile['manager_subject'] = $managerSubject;
|
||||
|
|
|
|||
|
|
@ -97,4 +97,28 @@ class MappingTester
|
|||
|
||||
return collect((array) $response->json('value', []))->mapWithKeys(fn ($g) => [$g['id'] => $g['displayName'].' ('.substr($g['id'], 0, 8).'…)'])->all();
|
||||
}
|
||||
|
||||
/**
|
||||
* Verzeichniserweiterungen des Mandanten (extension_<appId>_<name>) für Benutzer –
|
||||
* etwa aus Entra Connect synchronisierte AD-Attribute. Wird in der Konfiguration
|
||||
* gespeichert und im Formular als Vorschlag angeboten.
|
||||
*
|
||||
* @return list<string>
|
||||
*/
|
||||
public function loadExtensionProperties(IdentityProvider $provider): array
|
||||
{
|
||||
$client = new EntraClient($provider);
|
||||
$response = $client->graph($client->appToken())->post('/directoryObjects/getAvailableExtensionProperties', (object) []);
|
||||
$client->assertGraph($response);
|
||||
|
||||
$names = collect((array) $response->json('value', []))
|
||||
->filter(fn ($property) => in_array('User', (array) ($property['targetObjects'] ?? []), true))
|
||||
->pluck('name')
|
||||
->filter(fn ($name) => is_string($name) && preg_match(EntraAttributes::PATH_PATTERN, $name))
|
||||
->unique()->sort()->values()->all();
|
||||
|
||||
$provider->update(['config' => array_merge((array) $provider->config, ['extension_properties' => $names])]);
|
||||
|
||||
return $names;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ use App\Models\UserIdentity;
|
|||
use App\Support\Audit;
|
||||
use App\Support\Avatars;
|
||||
use App\Support\Permissions\Permissions;
|
||||
use App\Support\ProfileFields;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use Illuminate\Support\Str;
|
||||
|
|
@ -20,7 +22,10 @@ use Throwable;
|
|||
*/
|
||||
class IdentitySync
|
||||
{
|
||||
public function __construct(private readonly Avatars $avatars) {}
|
||||
public function __construct(
|
||||
private readonly Avatars $avatars,
|
||||
private readonly ProfileFields $profileFields,
|
||||
) {}
|
||||
|
||||
/**
|
||||
* Konto zu einer externen Identität finden, verknüpfen oder anlegen.
|
||||
|
|
@ -113,11 +118,56 @@ class IdentitySync
|
|||
: null;
|
||||
}
|
||||
|
||||
$custom = $this->customFieldChanges($user, $fields, (array) ($profile['custom'] ?? []));
|
||||
|
||||
if ($custom !== null) {
|
||||
$changes['custom_fields'] = $custom;
|
||||
}
|
||||
|
||||
if ($changes !== []) {
|
||||
$user->forceFill($changes)->save();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Freie Profilfelder aus dem Anbieter übernehmen. Datumswerte werden als
|
||||
* Y-m-d gespeichert, Werte ohne Felddefinition ignoriert.
|
||||
*
|
||||
* @param list<string> $fields
|
||||
* @param array<string, string|null> $incoming
|
||||
* @return array<string, string>|null null = keine Änderung
|
||||
*/
|
||||
private function customFieldChanges(User $user, array $fields, array $incoming): ?array
|
||||
{
|
||||
$definitions = $this->profileFields->all()->keyBy('key');
|
||||
$values = (array) ($user->custom_fields ?? []);
|
||||
$before = $values;
|
||||
|
||||
foreach ($incoming as $key => $value) {
|
||||
$field = $definitions->get($key);
|
||||
|
||||
if (! $field || ! in_array('custom.'.$key, $fields, true)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($value !== null && $field->type === 'date') {
|
||||
try {
|
||||
$value = Carbon::parse($value)->format('Y-m-d');
|
||||
} catch (Throwable) {
|
||||
// Unlesbares Datum: unverändert übernehmen.
|
||||
}
|
||||
}
|
||||
|
||||
if ($value === null) {
|
||||
unset($values[$key]);
|
||||
} else {
|
||||
$values[$key] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
return $values === $before ? null : $values;
|
||||
}
|
||||
|
||||
/**
|
||||
* Profilfoto übernehmen, wenn es sich geändert hat. null = kein Foto beim Anbieter.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Identity\Entra\EntraAttributes;
|
||||
use Illuminate\Database\Eloquent\Attributes\Fillable;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
|
|
@ -12,7 +13,9 @@ use Illuminate\Support\Str;
|
|||
*
|
||||
* config (verschlüsselt): tenant_id, client_id, client_secret, button_label,
|
||||
* auto_provision, link_by_email, allowed_domains, default_role_id,
|
||||
* synced_fields, sync_photo, directory_sync, directory_create_users
|
||||
* attribute_map (Liste aus target + attribute), sync_manager, sync_photo,
|
||||
* extension_properties, directory_sync, directory_create_users
|
||||
* (älter: synced_fields – wird noch gelesen, siehe attributeMap())
|
||||
*/
|
||||
#[Fillable(['type', 'name', 'slug', 'enabled', 'config'])]
|
||||
class IdentityProvider extends Model
|
||||
|
|
@ -20,7 +23,8 @@ class IdentityProvider extends Model
|
|||
public const ENTRA = 'entra';
|
||||
|
||||
/** Profilfelder, die aus dem Identity Provider übernommen werden können. */
|
||||
public const SYNCABLE_FIELDS = [
|
||||
/** Kernfelder des Profils, die aus einem Attribut befüllt werden können. */
|
||||
public const PROFILE_TARGETS = [
|
||||
'first_name' => 'Vorname',
|
||||
'last_name' => 'Nachname',
|
||||
'email' => 'E-Mail-Adresse',
|
||||
|
|
@ -29,7 +33,6 @@ class IdentityProvider extends Model
|
|||
'location' => 'Standort',
|
||||
'phone' => 'Telefon',
|
||||
'mobile' => 'Mobil',
|
||||
'manager' => 'Vorgesetzte*r',
|
||||
];
|
||||
|
||||
protected static function booted(): void
|
||||
|
|
@ -53,11 +56,50 @@ class IdentityProvider extends Model
|
|||
}
|
||||
|
||||
/**
|
||||
* Zuordnung Profilfeld => Graph-Attribut. Ziele sind Kernfelder („job_title“)
|
||||
* oder freie Profilfelder („custom.personalnummer“). Ohne gespeicherte Zuordnung
|
||||
* gilt die Standardzuordnung für die früher gewählten Felder.
|
||||
*
|
||||
* @return array<string, string>
|
||||
*/
|
||||
public function attributeMap(): array
|
||||
{
|
||||
$rows = $this->setting('attribute_map');
|
||||
|
||||
if (! is_array($rows)) {
|
||||
$legacy = (array) $this->setting('synced_fields', array_keys(EntraAttributes::DEFAULT_MAP));
|
||||
|
||||
return array_intersect_key(EntraAttributes::DEFAULT_MAP, array_flip($legacy));
|
||||
}
|
||||
|
||||
$map = [];
|
||||
|
||||
foreach ($rows as $row) {
|
||||
$target = (string) ($row['target'] ?? '');
|
||||
$attribute = trim((string) ($row['attribute'] ?? ''));
|
||||
|
||||
if ($attribute !== '' && preg_match(EntraAttributes::PATH_PATTERN, $attribute)
|
||||
&& (array_key_exists($target, self::PROFILE_TARGETS) || str_starts_with($target, 'custom.'))) {
|
||||
$map[$target] = $attribute;
|
||||
}
|
||||
}
|
||||
|
||||
return $map;
|
||||
}
|
||||
|
||||
public function syncsManager(): bool
|
||||
{
|
||||
return (bool) $this->setting('sync_manager', in_array('manager', (array) $this->setting('synced_fields', ['manager']), true));
|
||||
}
|
||||
|
||||
/**
|
||||
* Felder, die dieser Anbieter pflegt (im Portal schreibgeschützt).
|
||||
*
|
||||
* @return list<string>
|
||||
*/
|
||||
public function syncedFields(): array
|
||||
{
|
||||
return array_values(array_intersect((array) $this->setting('synced_fields', []), array_keys(self::SYNCABLE_FIELDS)));
|
||||
return [...array_keys($this->attributeMap()), ...($this->syncsManager() ? ['manager'] : [])];
|
||||
}
|
||||
|
||||
public function buttonLabel(): string
|
||||
|
|
|
|||
41
app/Models/ProfileField.php
Normal file
41
app/Models/ProfileField.php
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Support\ProfileFields;
|
||||
use Illuminate\Database\Eloquent\Attributes\Fillable;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
#[Fillable(['key', 'label', 'type', 'visibility', 'editable', 'help', 'sort'])]
|
||||
class ProfileField extends Model
|
||||
{
|
||||
public const TYPES = [
|
||||
'text' => 'Text',
|
||||
'textarea' => 'Mehrzeiliger Text',
|
||||
'email' => 'E-Mail-Adresse',
|
||||
'phone' => 'Telefonnummer',
|
||||
'url' => 'Link',
|
||||
'date' => 'Datum',
|
||||
];
|
||||
|
||||
public const VISIBILITIES = [
|
||||
'public' => 'Für alle sichtbar',
|
||||
'restricted' => 'Nur die Person selbst und die Personalverwaltung',
|
||||
];
|
||||
|
||||
protected static function booted(): void
|
||||
{
|
||||
static::saving(function (ProfileField $field) {
|
||||
$field->key = $field->key ?: Str::slug($field->label, '_', 'de');
|
||||
});
|
||||
|
||||
static::saved(fn () => app(ProfileFields::class)->flush());
|
||||
static::deleted(fn () => app(ProfileFields::class)->flush());
|
||||
}
|
||||
|
||||
protected function casts(): array
|
||||
{
|
||||
return ['editable' => 'boolean'];
|
||||
}
|
||||
}
|
||||
|
|
@ -23,7 +23,7 @@ use Illuminate\Support\Str;
|
|||
|
||||
#[Fillable([
|
||||
'name', 'first_name', 'last_name', 'email', 'password',
|
||||
'job_title', 'department', 'location', 'phone', 'mobile', 'about',
|
||||
'job_title', 'department', 'location', 'phone', 'mobile', 'about', 'custom_fields',
|
||||
'is_active', 'theme',
|
||||
])]
|
||||
#[Hidden(['password', 'remember_token'])]
|
||||
|
|
@ -51,6 +51,7 @@ class User extends Authenticatable implements FilamentUser, HasAvatar
|
|||
return [
|
||||
'email_verified_at' => 'datetime',
|
||||
'last_login_at' => 'datetime',
|
||||
'custom_fields' => 'array',
|
||||
'password' => 'hashed',
|
||||
'is_active' => 'boolean',
|
||||
];
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ use App\Support\Installation;
|
|||
use App\Support\License\LicenseStore;
|
||||
use App\Support\Permissions\PermissionResource;
|
||||
use App\Support\Permissions\Permissions;
|
||||
use App\Support\ProfileFields;
|
||||
use App\Support\QuickLinks;
|
||||
use App\Support\Settings;
|
||||
use App\Support\Update\InstalledVersion;
|
||||
|
|
@ -43,6 +44,7 @@ class AppServiceProvider extends ServiceProvider
|
|||
$this->app->singleton(QuickLinks::class);
|
||||
$this->app->singleton(LicenseStore::class);
|
||||
$this->app->singleton(Permissions::class);
|
||||
$this->app->singleton(ProfileFields::class);
|
||||
$this->app->singleton(BackgroundTasks::class);
|
||||
$this->app->singleton(InstalledVersion::class);
|
||||
$this->app->singleton(UpdateProgress::class);
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ namespace App\Providers\Filament;
|
|||
use App\Filament\AvatarProviders\InitialsAvatarProvider;
|
||||
use App\Filament\Pages\Feedback;
|
||||
use App\Filament\Resources\IdentityProviders\IdentityProviderResource;
|
||||
use App\Filament\Resources\ProfileFields\ProfileFieldResource;
|
||||
use App\Filament\Resources\Roles\RoleResource;
|
||||
use App\Filament\Resources\Users\UserResource;
|
||||
use App\Plugins\PluginManager;
|
||||
|
|
@ -63,6 +64,7 @@ class AdminPanelProvider extends PanelProvider
|
|||
->resources([
|
||||
UserResource::class,
|
||||
RoleResource::class,
|
||||
ProfileFieldResource::class,
|
||||
IdentityProviderResource::class,
|
||||
])
|
||||
->discoverPages(in: app_path('Filament/Pages'), for: 'App\Filament\Pages')
|
||||
|
|
|
|||
147
app/Support/ProfileFields.php
Normal file
147
app/Support/ProfileFields.php
Normal file
|
|
@ -0,0 +1,147 @@
|
|||
<?php
|
||||
|
||||
namespace App\Support;
|
||||
|
||||
use App\Models\ProfileField;
|
||||
use App\Models\User;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Illuminate\Support\Collection;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
use Throwable;
|
||||
|
||||
/**
|
||||
* Frei definierbare Profilfelder: Definitionen (gecacht), Sichtbarkeit und Validierung.
|
||||
*/
|
||||
class ProfileFields
|
||||
{
|
||||
private const CACHE_KEY = 'profile-fields';
|
||||
|
||||
/** @var Collection<int, ProfileField>|null */
|
||||
private ?Collection $fields = null;
|
||||
|
||||
/**
|
||||
* @return Collection<int, ProfileField>
|
||||
*/
|
||||
public function all(): Collection
|
||||
{
|
||||
try {
|
||||
// Im Cache nur Arrays – Laravel deserialisiert dort keine Objekte.
|
||||
return $this->fields ??= ProfileField::hydrate(Cache::rememberForever(
|
||||
self::CACHE_KEY,
|
||||
fn () => ProfileField::query()->orderBy('sort')->orderBy('label')->get()->map->getAttributes()->all(),
|
||||
));
|
||||
} catch (Throwable $e) {
|
||||
report($e);
|
||||
|
||||
return collect();
|
||||
}
|
||||
}
|
||||
|
||||
public function flush(): void
|
||||
{
|
||||
$this->fields = null;
|
||||
Cache::forget(self::CACHE_KEY);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<string, string> Schlüssel => Bezeichnung
|
||||
*/
|
||||
public function options(): array
|
||||
{
|
||||
return $this->all()->pluck('label', 'key')->all();
|
||||
}
|
||||
|
||||
/**
|
||||
* Felder mit Werten, die $viewer bei $person sehen darf.
|
||||
*
|
||||
* @return list<array{key: string, label: string, type: string, value: string}>
|
||||
*/
|
||||
public function visibleValues(User $person, ?User $viewer): array
|
||||
{
|
||||
$seesRestricted = $viewer && ($viewer->is($person) || $viewer->can('users.manage'));
|
||||
$values = (array) ($person->custom_fields ?? []);
|
||||
|
||||
return $this->all()
|
||||
->filter(fn (ProfileField $field) => $field->visibility === 'public' || $seesRestricted)
|
||||
->filter(fn (ProfileField $field) => filled($values[$field->key] ?? null))
|
||||
->map(fn (ProfileField $field) => [
|
||||
'key' => $field->key,
|
||||
'label' => $field->label,
|
||||
'type' => $field->type,
|
||||
'value' => $this->display($field, (string) $values[$field->key]),
|
||||
])
|
||||
->values()
|
||||
->all();
|
||||
}
|
||||
|
||||
/**
|
||||
* Definitionen und Werte für das Bearbeitungsformular der Person selbst.
|
||||
*
|
||||
* @param list<string> $managed vom Identity Provider gepflegte Felder („custom.<key>“)
|
||||
* @return list<array<string, mixed>>
|
||||
*/
|
||||
public function formFor(User $user, array $managed): array
|
||||
{
|
||||
$values = (array) ($user->custom_fields ?? []);
|
||||
|
||||
return $this->all()->map(fn (ProfileField $field) => [
|
||||
'key' => $field->key,
|
||||
'label' => $field->label,
|
||||
'type' => $field->type,
|
||||
'help' => $field->help,
|
||||
'restricted' => $field->visibility === 'restricted',
|
||||
'value' => $values[$field->key] ?? '',
|
||||
'readonly' => ! $field->editable || in_array('custom.'.$field->key, $managed, true),
|
||||
'managed' => in_array('custom.'.$field->key, $managed, true),
|
||||
])->values()->all();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<string, list<mixed>>
|
||||
*/
|
||||
public function rules(string $prefix = 'custom_fields'): array
|
||||
{
|
||||
return $this->all()->mapWithKeys(fn (ProfileField $field) => [
|
||||
"{$prefix}.{$field->key}" => array_merge(['nullable'], match ($field->type) {
|
||||
'email' => ['email', 'max:255'],
|
||||
'url' => ['url', 'max:500'],
|
||||
'date' => ['date'],
|
||||
'phone' => ['string', 'max:50'],
|
||||
'textarea' => ['string', 'max:5000'],
|
||||
default => ['string', 'max:255'],
|
||||
}),
|
||||
])->all();
|
||||
}
|
||||
|
||||
/**
|
||||
* Nur die Felder übernehmen, die die Person selbst pflegen darf.
|
||||
*
|
||||
* @param array<string, mixed> $input
|
||||
* @param list<string> $managed
|
||||
*/
|
||||
public function mergeUserInput(User $user, array $input, array $managed): void
|
||||
{
|
||||
$values = (array) ($user->custom_fields ?? []);
|
||||
|
||||
foreach ($this->all() as $field) {
|
||||
if ($field->editable && ! in_array('custom.'.$field->key, $managed, true) && array_key_exists($field->key, $input)) {
|
||||
$values[$field->key] = filled($input[$field->key]) ? (string) $input[$field->key] : null;
|
||||
}
|
||||
}
|
||||
|
||||
$user->forceFill(['custom_fields' => array_filter($values, fn ($v) => $v !== null)])->save();
|
||||
}
|
||||
|
||||
private function display(ProfileField $field, string $value): string
|
||||
{
|
||||
if ($field->type === 'date') {
|
||||
try {
|
||||
return Carbon::parse($value)->format('d.m.Y');
|
||||
} catch (Throwable) {
|
||||
return $value;
|
||||
}
|
||||
}
|
||||
|
||||
return $value;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
/**
|
||||
* Frei definierbare Profilfelder (z. B. Personalnummer, Kostenstelle, Eintrittsdatum).
|
||||
* Die Werte liegen als JSON am Benutzer – ein Feld mehr kostet keine Abfrage.
|
||||
*/
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('profile_fields', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('key', 60)->unique();
|
||||
$table->string('label', 100);
|
||||
$table->string('type', 20)->default('text');
|
||||
// public = für alle sichtbar, restricted = nur die Person selbst und die Personalverwaltung
|
||||
$table->string('visibility', 20)->default('public');
|
||||
$table->boolean('editable')->default(true);
|
||||
$table->string('help', 255)->nullable();
|
||||
$table->unsignedInteger('sort')->default(0);
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
Schema::table('users', function (Blueprint $table) {
|
||||
$table->json('custom_fields')->nullable()->after('about');
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('users', fn (Blueprint $table) => $table->dropColumn('custom_fields'));
|
||||
Schema::dropIfExists('profile_fields');
|
||||
}
|
||||
};
|
||||
|
|
@ -53,6 +53,30 @@ Hoster einrichtet. Shell-Zugang wird nicht benötigt.
|
|||
Anmeldung aktivieren. Mit **Mapping testen** lässt sich vorab prüfen,
|
||||
welche Rollen eine Person erhalten wird.
|
||||
|
||||
### Entra-Attribute ins Profil übernehmen
|
||||
|
||||
Unter **Anmeldung → Profil** wird jedem Profilfeld ein Microsoft-Graph-Attribut
|
||||
zugeordnet. Das geht nicht nur für die festen Felder (Name, Funktion, Abteilung,
|
||||
Telefon …), sondern auch für eigene Felder, die unter **Benutzer & Rechte →
|
||||
Profilfelder** angelegt werden – etwa Personalnummer, Kostenstelle oder
|
||||
Eintrittsdatum. Übernommene Felder sind im Portal schreibgeschützt.
|
||||
|
||||
| Beispiel | Graph-Attribut |
|
||||
| -------------------------------- | ---------------------------------------------------- |
|
||||
| Personalnummer | `employeeId` |
|
||||
| Kostenstelle | `employeeOrgData.costCenter` |
|
||||
| Firma, Ort | `companyName`, `city` |
|
||||
| lokales AD-Erweiterungsattribut | `onPremisesExtensionAttributes.extensionAttribute1` |
|
||||
| eigene Verzeichniserweiterung | `extension_<AppId ohne Striche>_<Name>` |
|
||||
|
||||
Pfade mit Punkt lesen verschachtelte Werte, Listen werden mit Komma verbunden.
|
||||
**Erweiterungsattribute laden** holt alle im Mandanten registrierten
|
||||
Verzeichniserweiterungen (z. B. per Entra Connect synchronisierte AD-Attribute)
|
||||
in die Auswahl; dafür braucht die App zusätzlich die Anwendungsberechtigung
|
||||
`Directory.Read.All`. Einzelne Attribute verlangen eigene Berechtigungen – etwa
|
||||
`employeeHireDate` die Berechtigung `User-LifeCycleInfo.Read.All`. Fehlt eine,
|
||||
meldet sich die Person trotzdem an; übernommen werden dann nur die Grunddaten.
|
||||
|
||||
Die Anmeldung mit Passwort bleibt für Notfälle erhalten (z. B. wenn Entra ID
|
||||
nicht erreichbar ist). Den geheimen Clientschlüssel vor Ablauf erneuern – er
|
||||
ist bei Microsoft befristet.
|
||||
|
|
|
|||
|
|
@ -322,7 +322,9 @@ audiences resource_type, resource_id, rule (Rolle / Abteilung / Standort /
|
|||
- Sicherheitsgruppen (`groups`) und App-Rollen (`roles`) mappbar, über
|
||||
**Objekt-ID**; Gruppensuche per Graph.
|
||||
- Group-Overage → Graph `/me/transitiveMemberOf` (inkl. verschachtelter Gruppen).
|
||||
- Profil-Sync inkl. **Profilfoto** → Avatar im Header.
|
||||
- Profil-Sync inkl. **Profilfoto** → Avatar im Header; jedes Graph-Attribut (auch
|
||||
`employeeOrgData.*`, `onPremisesExtensionAttributes.*`, `extension_…`) frei
|
||||
einem Kern- oder eigenen Profilfeld zuordenbar.
|
||||
- Hintergrund-Sync mit **Delta-Abfragen**, Offboarding deaktivierter Konten.
|
||||
- JIT-Provisioning, „Mapping testen“.
|
||||
|
||||
|
|
@ -478,7 +480,7 @@ Kantinenplan, Ideenbox, Urlaubsanträge.
|
|||
| **0b – News & Termine (vorgezogen)** ✅ | Neuigkeiten mit Kategorien, Titelbild, Planung, Hervorhebung (Slider); Termine mit .ics-Export; Startseite nach Intranet-Vorbild. Redaktion vorerst nur im Admin-Backend – Rechte pro Kategorie, Redaktion im Portal und Umzug in Plugins folgen mit Phase 2 |
|
||||
| **1 – Betrieb & Lizenz** ✅ | **Self-Updater** (inkl. Wartungsmodus, Auto-Migration, Kanäle), **Lizenz-Speicher & -Client** (rotierendes Token), Seite „Aktualisierung“, **Rückmeldungen**, Web-Installer, Site Health, Cron-Varianten |
|
||||
| **2 – Plugin-System & Rechte** ✅ | Plugin-Loader, Hooks/Filter, Registries, Recovery-Modus, Import-Map-Frontend; Rollen, Grants, Zielgruppen, Rechte-Cache, Rechte-Prüfer |
|
||||
| **3 – Entra ID** ✅ | OIDC-Login, JIT, Gruppen-/App-Rollen-Mapping (additiv), Graph-Profil- & Foto-Sync, Delta-Sync |
|
||||
| **3 – Entra ID** ✅ | OIDC-Login, JIT, Gruppen-/App-Rollen-Mapping (additiv), Graph-Profil- & Foto-Sync mit frei zuordenbaren Attributen (inkl. Erweiterungsattributen) und eigenen Profilfeldern, Delta-Sync |
|
||||
| **4 – CMS** | Seitenbaum, Pagebuilder, Versionen; News-Freigabe-Workflow und Redaktion im Portal |
|
||||
| **5 – Branding & Theming** | Vollständige Seite „Erscheinungsbild“: Logo-Varianten, Farben inkl. Farbtreue & Kontrastprüfung, Schriften, Form, Login-Seite, E-Mails, Live-Vorschau, Entwurf/Veröffentlichen, Export/Import |
|
||||
| **6 – Weitere Plugins & IdPs** | Verzeichnis/Organigramm, Dokumente, Events …; OIDC generisch, LDAP, SAML; Lasttests 5.000 User |
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
import{Cn as e,I as t,J as n,Wt as r,X as i,Xt as a,q as o}from"./app-MYLsojOs.js";import{t as s}from"./Panel-94DyTEDp.js";import{t as c}from"./NewsCard-Dq1JrCp-.js";var l={class:`-mx-5 flex snap-x scroll-px-5 gap-4 overflow-x-auto px-5 pb-1 [scrollbar-width:none] sm:mx-0 sm:grid sm:grid-cols-2 sm:overflow-visible sm:px-0 sm:pb-0 xl:grid-cols-4 [&::-webkit-scrollbar]:hidden`},u={__name:`Areas`,props:{posts:{type:Array,required:!0}},setup(u){return(d,f)=>(r(),n(s,{title:`Aktuelles aus den Bereichen`,"action-label":`Alle`,"action-href":`/neuigkeiten`},{default:e(()=>[o(`div`,l,[(r(!0),i(t,null,a(u.posts,e=>(r(),n(c,{key:e.id,post:e,class:`w-[78%] shrink-0 snap-start sm:w-auto`},null,8,[`post`]))),128))])]),_:1}))}};export{u as default};
|
||||
import{Cn as e,I as t,J as n,Wt as r,X as i,Xt as a,q as o}from"./app-pzmLPgUT.js";import{t as s}from"./Panel-B1e2j55x.js";import{t as c}from"./NewsCard-C1dTmb3u.js";var l={class:`-mx-5 flex snap-x scroll-px-5 gap-4 overflow-x-auto px-5 pb-1 [scrollbar-width:none] sm:mx-0 sm:grid sm:grid-cols-2 sm:overflow-visible sm:px-0 sm:pb-0 xl:grid-cols-4 [&::-webkit-scrollbar]:hidden`},u={__name:`Areas`,props:{posts:{type:Array,required:!0}},setup(u){return(d,f)=>(r(),n(s,{title:`Aktuelles aus den Bereichen`,"action-label":`Alle`,"action-href":`/neuigkeiten`},{default:e(()=>[o(`div`,l,[(r(!0),i(t,null,a(u.posts,e=>(r(),n(c,{key:e.id,post:e,class:`w-[78%] shrink-0 snap-start sm:w-auto`},null,8,[`post`]))),128))])]),_:1}))}};export{u as default};
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1,2 @@
|
|||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Greeting-DU01Xbsl.js","assets/app-MYLsojOs.js","assets/app-DddOU-CW.css","assets/AppLayout-v5yLFoy-.js","assets/RovingFocusGroup-DkcHeYFw.js","assets/BrandLogo-DrNIsjbn.js","assets/NewColleagues-4ohrCRab.js","assets/Panel-94DyTEDp.js","assets/chevron-right-TSNALGob.js","assets/PeopleSearch-ngf0SA4B.js","assets/arrow-right-BhqKnUAl.js","assets/ProfileIncomplete-CK6by2BC.js","assets/QuickLinks-D9pmUcJb.js","assets/building-complex-Cx13i-zl.js","assets/calendar-days-DALVb0Xh.js","assets/chevron-left-CEFBER2t.js","assets/clock-DE6gq_Mr.js","assets/phone-Djwp7miV.js","assets/dist-BdhYCpXi.js","assets/Upcoming-BFTKXeLQ.js","assets/EmptyState-XRC3WPOS.js","assets/format-Dlm0nTI_.js","assets/EventDateBlock-BkJqTF2m.js","assets/Areas-BMhN2iOR.js","assets/NewsCard-Dq1JrCp-.js","assets/NewsImage-eMSWJ9oI.js","assets/Hero-Bo4pkV7P.js","assets/Latest-CamHXUK8.js"])))=>i.map(i=>d[i]);
|
||||
import{At as e,Cn as t,I as n,J as r,K as i,Wt as a,X as o,Xt as s,Y as c,en as l,ir as u,it as d,o as f,q as p}from"./app-MYLsojOs.js";import{t as m}from"./AppLayout-v5yLFoy-.js";import{n as h}from"./dist-BdhYCpXi.js";var g=Object.assign({"../widgets/Greeting.vue":()=>f(()=>import(`./Greeting-DU01Xbsl.js`),__vite__mapDeps([0,1,2,3,4,5])),"../widgets/NewColleagues.vue":()=>f(()=>import(`./NewColleagues-4ohrCRab.js`),__vite__mapDeps([6,1,2,3,4,5,7,8])),"../widgets/PeopleSearch.vue":()=>f(()=>import(`./PeopleSearch-ngf0SA4B.js`),__vite__mapDeps([9,1,2,10,5,3,4,7,8])),"../widgets/ProfileIncomplete.vue":()=>f(()=>import(`./ProfileIncomplete-CK6by2BC.js`),__vite__mapDeps([11,1,2,3,4,5])),"../widgets/QuickLinks.vue":()=>f(()=>import(`./QuickLinks-D9pmUcJb.js`),__vite__mapDeps([12,1,2,5,13,14,3,4,15,8,16,17,18]))}),_=Object.assign({"../../../plugins-core/events/resources/js/widgets/Upcoming.vue":()=>f(()=>import(`./Upcoming-BFTKXeLQ.js`),__vite__mapDeps([19,1,2,14,5,20,21,22,7,8])),"../../../plugins-core/news/resources/js/widgets/Areas.vue":()=>f(()=>import(`./Areas-BMhN2iOR.js`),__vite__mapDeps([23,1,2,7,8,5,24,25,21])),"../../../plugins-core/news/resources/js/widgets/Hero.vue":()=>f(()=>import(`./Hero-Bo4pkV7P.js`),__vite__mapDeps([26,1,2,5,10,15,8])),"../../../plugins-core/news/resources/js/widgets/Latest.vue":()=>f(()=>import(`./Latest-CamHXUK8.js`),__vite__mapDeps([27,1,2,25,5,20,21,7,8]))}),v={};for(let[e,t]of Object.entries(g))v[`core::${e.split(`/`).pop().replace(`.vue`,``)}`]=d(t);for(let[e,t]of Object.entries(_)){let[,n]=e.match(/plugins-core\/([^/]+)\//);v[`${n}::${e.split(`/`).pop().replace(`.vue`,``)}`]=d(t)}function y(e){return v[e]??null}var b={key:0,class:`grid grid-cols-12 gap-6`},x={class:`col-span-8 grid min-w-0 grid-cols-1 content-start gap-6 xl:col-span-9 xl:grid-cols-3`},S={class:`col-span-4 grid min-w-0 grid-cols-1 content-start gap-6 xl:col-span-3`},C={key:1,class:`grid min-w-0 grid-cols-1 gap-6`},w={__name:`Dashboard`,props:{widgets:{type:Array,required:!0}},setup(d){let f=d,g=h(`(min-width: 1024px)`),_=i(()=>f.widgets.filter(e=>y(e.component))),v=e=>_.value.filter(t=>t.area===e),w=i(()=>v(`hero`)[0]??null),T=i(()=>[..._.value].sort((e,t)=>e.mobileSort-t.mobileSort));return(i,d)=>(a(),r(m,{title:`Startseite`},{default:t(()=>[u(g)?(a(),o(`div`,b,[p(`div`,x,[w.value?(a(),r(l(u(y)(w.value.component)),e({key:0},w.value.props,{class:`xl:col-span-2`}),null,16)):c(``,!0),(a(!0),o(n,null,s(v(`feed`),t=>(a(),r(l(u(y)(t.component)),e({key:t.key},{ref_for:!0},t.props,{wide:!w.value,class:w.value?`xl:col-span-1`:`xl:col-span-3`}),null,16,[`wide`,`class`]))),128)),(a(!0),o(n,null,s(v(`main`),t=>(a(),r(l(u(y)(t.component)),e({key:t.key},{ref_for:!0},t.props,{class:`xl:col-span-3`}),null,16))),128))]),p(`aside`,S,[(a(!0),o(n,null,s(v(`aside`),t=>(a(),r(l(u(y)(t.component)),e({key:t.key},{ref_for:!0},t.props),null,16))),128))])])):(a(),o(`div`,C,[(a(!0),o(n,null,s(T.value,t=>(a(),r(l(u(y)(t.component)),e({key:t.key},{ref_for:!0},t.props),null,16))),128))]))]),_:1}))}};export{w as default};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Greeting-BjjhkMhh.js","assets/app-pzmLPgUT.js","assets/app-DddOU-CW.css","assets/AppLayout-BcYBb8UT.js","assets/RovingFocusGroup-D5MBFJh6.js","assets/BrandLogo-C29snZpL.js","assets/NewColleagues-wPKMb0Si.js","assets/Panel-B1e2j55x.js","assets/chevron-right-waVs9Y2J.js","assets/PeopleSearch-DnqKdBTP.js","assets/arrow-right-1zpkUsu4.js","assets/ProfileIncomplete-Y_BAWf9y.js","assets/QuickLinks-Dw2D0dqg.js","assets/building-complex-GupPn6Bw.js","assets/calendar-days-DPX9Rknt.js","assets/chevron-left-Yu0yrCDS.js","assets/clock-DSdV1kIT.js","assets/phone-lHr4Nfsf.js","assets/dist-DKtU4TaC.js","assets/Upcoming-B6cfYFBu.js","assets/EmptyState-ms-RUhSx.js","assets/format-Dlm0nTI_.js","assets/EventDateBlock-D0IUNW9x.js","assets/Areas-CcWhssrL.js","assets/NewsCard-C1dTmb3u.js","assets/NewsImage-D285dU1N.js","assets/Hero-DtnKL-Ru.js","assets/Latest-CU6vyqBk.js"])))=>i.map(i=>d[i]);
|
||||
import{At as e,Cn as t,I as n,J as r,K as i,Wt as a,X as o,Xt as s,Y as c,en as l,ir as u,it as d,o as f,q as p}from"./app-pzmLPgUT.js";import{t as m}from"./AppLayout-BcYBb8UT.js";import{n as h}from"./dist-DKtU4TaC.js";var g=Object.assign({"../widgets/Greeting.vue":()=>f(()=>import(`./Greeting-BjjhkMhh.js`),__vite__mapDeps([0,1,2,3,4,5])),"../widgets/NewColleagues.vue":()=>f(()=>import(`./NewColleagues-wPKMb0Si.js`),__vite__mapDeps([6,1,2,3,4,5,7,8])),"../widgets/PeopleSearch.vue":()=>f(()=>import(`./PeopleSearch-DnqKdBTP.js`),__vite__mapDeps([9,1,2,10,5,3,4,7,8])),"../widgets/ProfileIncomplete.vue":()=>f(()=>import(`./ProfileIncomplete-Y_BAWf9y.js`),__vite__mapDeps([11,1,2,3,4,5])),"../widgets/QuickLinks.vue":()=>f(()=>import(`./QuickLinks-Dw2D0dqg.js`),__vite__mapDeps([12,1,2,5,13,14,3,4,15,8,16,17,18]))}),_=Object.assign({"../../../plugins-core/events/resources/js/widgets/Upcoming.vue":()=>f(()=>import(`./Upcoming-B6cfYFBu.js`),__vite__mapDeps([19,1,2,14,5,20,21,22,7,8])),"../../../plugins-core/news/resources/js/widgets/Areas.vue":()=>f(()=>import(`./Areas-CcWhssrL.js`),__vite__mapDeps([23,1,2,7,8,5,24,25,21])),"../../../plugins-core/news/resources/js/widgets/Hero.vue":()=>f(()=>import(`./Hero-DtnKL-Ru.js`),__vite__mapDeps([26,1,2,5,10,15,8])),"../../../plugins-core/news/resources/js/widgets/Latest.vue":()=>f(()=>import(`./Latest-CU6vyqBk.js`),__vite__mapDeps([27,1,2,25,5,20,21,7,8]))}),v={};for(let[e,t]of Object.entries(g))v[`core::${e.split(`/`).pop().replace(`.vue`,``)}`]=d(t);for(let[e,t]of Object.entries(_)){let[,n]=e.match(/plugins-core\/([^/]+)\//);v[`${n}::${e.split(`/`).pop().replace(`.vue`,``)}`]=d(t)}function y(e){return v[e]??null}var b={key:0,class:`grid grid-cols-12 gap-6`},x={class:`col-span-8 grid min-w-0 grid-cols-1 content-start gap-6 xl:col-span-9 xl:grid-cols-3`},S={class:`col-span-4 grid min-w-0 grid-cols-1 content-start gap-6 xl:col-span-3`},C={key:1,class:`grid min-w-0 grid-cols-1 gap-6`},w={__name:`Dashboard`,props:{widgets:{type:Array,required:!0}},setup(d){let f=d,g=h(`(min-width: 1024px)`),_=i(()=>f.widgets.filter(e=>y(e.component))),v=e=>_.value.filter(t=>t.area===e),w=i(()=>v(`hero`)[0]??null),T=i(()=>[..._.value].sort((e,t)=>e.mobileSort-t.mobileSort));return(i,d)=>(a(),r(m,{title:`Startseite`},{default:t(()=>[u(g)?(a(),o(`div`,b,[p(`div`,x,[w.value?(a(),r(l(u(y)(w.value.component)),e({key:0},w.value.props,{class:`xl:col-span-2`}),null,16)):c(``,!0),(a(!0),o(n,null,s(v(`feed`),t=>(a(),r(l(u(y)(t.component)),e({key:t.key},{ref_for:!0},t.props,{wide:!w.value,class:w.value?`xl:col-span-1`:`xl:col-span-3`}),null,16,[`wide`,`class`]))),128)),(a(!0),o(n,null,s(v(`main`),t=>(a(),r(l(u(y)(t.component)),e({key:t.key},{ref_for:!0},t.props,{class:`xl:col-span-3`}),null,16))),128))]),p(`aside`,S,[(a(!0),o(n,null,s(v(`aside`),t=>(a(),r(l(u(y)(t.component)),e({key:t.key},{ref_for:!0},t.props),null,16))),128))])])):(a(),o(`div`,C,[(a(!0),o(n,null,s(T.value,t=>(a(),r(l(u(y)(t.component)),e({key:t.key},{ref_for:!0},t.props),null,16))),128))]))]),_:1}))}};export{w as default};
|
||||
File diff suppressed because one or more lines are too long
1
public/build/assets/Edit-DvsEJ217.js
Normal file
1
public/build/assets/Edit-DvsEJ217.js
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
import{J as e,Wt as t,X as n,Y as r,Zt as i,en as a,q as o,ur as s}from"./app-MYLsojOs.js";var c={class:`grid place-items-center px-6 py-10 text-center`},l={class:`mt-3 text-sm font-medium`},u={key:0,class:`mt-1 max-w-sm text-[13px] text-muted-foreground`},d={__name:`EmptyState`,props:{icon:{type:[Object,Function],required:!0},title:{type:String,required:!0},text:{type:String,default:``}},setup(d){return(f,p)=>(t(),n(`div`,c,[(t(),e(a(d.icon),{class:`size-8 text-muted-foreground`,"stroke-width":1.5})),o(`p`,l,s(d.title),1),d.text?(t(),n(`p`,u,s(d.text),1)):r(``,!0),i(f.$slots,`default`)]))}};export{d as t};
|
||||
import{J as e,Wt as t,X as n,Y as r,Zt as i,en as a,q as o,ur as s}from"./app-pzmLPgUT.js";var c={class:`grid place-items-center px-6 py-10 text-center`},l={class:`mt-3 text-sm font-medium`},u={key:0,class:`mt-1 max-w-sm text-[13px] text-muted-foreground`},d={__name:`EmptyState`,props:{icon:{type:[Object,Function],required:!0},title:{type:String,required:!0},text:{type:String,default:``}},setup(d){return(f,p)=>(t(),n(`div`,c,[(t(),e(a(d.icon),{class:`size-8 text-muted-foreground`,"stroke-width":1.5})),o(`p`,l,s(d.title),1),d.text?(t(),n(`p`,u,s(d.text),1)):r(``,!0),i(f.$slots,`default`)]))}};export{d as t};
|
||||
|
|
@ -1 +1 @@
|
|||
import{K as e,Wt as t,X as n,q as r,ur as i}from"./app-MYLsojOs.js";import{t as a}from"./format-Dlm0nTI_.js";var o={class:`grid w-12 shrink-0 place-items-center rounded-md bg-muted py-1.5 leading-none`},s={class:`text-xl font-semibold`},c={class:`mt-1 text-[10px] font-semibold tracking-wide text-muted-foreground`},l={__name:`EventDateBlock`,props:{date:{type:String,required:!0}},setup(l){let u=l,d=e(()=>a(u.date));return(e,a)=>(t(),n(`div`,o,[r(`span`,s,i(d.value.day),1),r(`span`,c,i(d.value.month),1)]))}};export{l as t};
|
||||
import{K as e,Wt as t,X as n,q as r,ur as i}from"./app-pzmLPgUT.js";import{t as a}from"./format-Dlm0nTI_.js";var o={class:`grid w-12 shrink-0 place-items-center rounded-md bg-muted py-1.5 leading-none`},s={class:`text-xl font-semibold`},c={class:`mt-1 text-[10px] font-semibold tracking-wide text-muted-foreground`},l={__name:`EventDateBlock`,props:{date:{type:String,required:!0}},setup(l){let u=l,d=e(()=>a(u.date));return(e,a)=>(t(),n(`div`,o,[r(`span`,s,i(d.value.day),1),r(`span`,c,i(d.value.month),1)]))}};export{l as t};
|
||||
|
|
@ -1 +1 @@
|
|||
import{A as e,Cn as t,J as n,Wt as r,X as i,Y as a,ir as o,n as s,nt as c,q as l,r as u,rt as d,ur as f}from"./app-MYLsojOs.js";import{j as p}from"./BrandLogo-DrNIsjbn.js";import{t as m}from"./arrow-left-DphFNiyS.js";import{r as h,t as g}from"./FormField-BKlml3yH.js";import{t as _}from"./button-vECAuGF4.js";import{t as v}from"./GuestLayout-VCIzFk9L.js";var y={key:0,class:`mb-6 rounded-md border border-brand-200 bg-brand-soft px-4 py-3 text-sm text-brand-soft-foreground`},b={__name:`ForgotPassword`,props:{status:{type:String,default:null}},setup(b){let x=u({email:``});return(u,S)=>(r(),n(v,{title:`Passwort vergessen`,description:`Wir senden Ihnen einen Link, mit dem Sie ein neues Passwort festlegen können.`},{default:t(()=>[b.status?(r(),i(`div`,y,f(b.status),1)):a(``,!0),l(`form`,{class:`grid gap-5`,onSubmit:S[1]||=e(e=>o(x).post(`/forgot-password`),[`prevent`])},[d(g,{id:`email`,label:`E-Mail-Adresse`,error:o(x).errors.email},{default:t(()=>[d(o(h),{id:`email`,modelValue:o(x).email,"onUpdate:modelValue":S[0]||=e=>o(x).email=e,type:`email`,autocomplete:`username`,autofocus:``,class:`h-10`},null,8,[`modelValue`])]),_:1},8,[`error`]),d(o(_),{type:`submit`,size:`lg`,class:`h-10 w-full`,disabled:o(x).processing},{default:t(()=>[o(x).processing?(r(),n(o(p),{key:0,class:`animate-spin`})):a(``,!0),S[2]||=c(` Link senden `,-1)]),_:1},8,[`disabled`]),d(o(s),{href:`/login`,class:`inline-flex items-center justify-center gap-1.5 text-sm font-medium text-muted-foreground hover:text-foreground`},{default:t(()=>[d(o(m),{class:`size-4`}),S[3]||=c(` Zurück zur Anmeldung `,-1)]),_:1})],32)]),_:1}))}};export{b as default};
|
||||
import{A as e,Cn as t,J as n,Wt as r,X as i,Y as a,ir as o,n as s,nt as c,q as l,r as u,rt as d,ur as f}from"./app-pzmLPgUT.js";import{j as p}from"./BrandLogo-C29snZpL.js";import{t as m}from"./arrow-left-Nlq-Kbqv.js";import{r as h,t as g}from"./FormField-D2j0-6XT.js";import{t as _}from"./button-rw3L_oXh.js";import{t as v}from"./GuestLayout-BsNXHxYF.js";var y={key:0,class:`mb-6 rounded-md border border-brand-200 bg-brand-soft px-4 py-3 text-sm text-brand-soft-foreground`},b={__name:`ForgotPassword`,props:{status:{type:String,default:null}},setup(b){let x=u({email:``});return(u,S)=>(r(),n(v,{title:`Passwort vergessen`,description:`Wir senden Ihnen einen Link, mit dem Sie ein neues Passwort festlegen können.`},{default:t(()=>[b.status?(r(),i(`div`,y,f(b.status),1)):a(``,!0),l(`form`,{class:`grid gap-5`,onSubmit:S[1]||=e(e=>o(x).post(`/forgot-password`),[`prevent`])},[d(g,{id:`email`,label:`E-Mail-Adresse`,error:o(x).errors.email},{default:t(()=>[d(o(h),{id:`email`,modelValue:o(x).email,"onUpdate:modelValue":S[0]||=e=>o(x).email=e,type:`email`,autocomplete:`username`,autofocus:``,class:`h-10`},null,8,[`modelValue`])]),_:1},8,[`error`]),d(o(_),{type:`submit`,size:`lg`,class:`h-10 w-full`,disabled:o(x).processing},{default:t(()=>[o(x).processing?(r(),n(o(p),{key:0,class:`animate-spin`})):a(``,!0),S[2]||=c(` Link senden `,-1)]),_:1},8,[`disabled`]),d(o(s),{href:`/login`,class:`inline-flex items-center justify-center gap-1.5 text-sm font-medium text-muted-foreground hover:text-foreground`},{default:t(()=>[d(o(m),{class:`size-4`}),S[3]||=c(` Zurück zur Anmeldung `,-1)]),_:1})],32)]),_:1}))}};export{b as default};
|
||||
|
|
@ -1 +1 @@
|
|||
import{At as e,Bn as t,Cn as n,D as r,J as i,Tn as a,Wt as o,X as s,Y as c,Zt as l,at as u,ir as d,nt as f,rt as p,sr as m,ur as h}from"./app-MYLsojOs.js";import{g,l as _,m as v,n as y}from"./BrandLogo-DrNIsjbn.js";import{i as b}from"./dist-BdhYCpXi.js";var x=u({__name:`Label`,props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`label`}},setup(t){let r=t;return g(),(t,a)=>(o(),i(d(v),e(r,{onMousedown:a[0]||=e=>{!e.defaultPrevented&&e.detail>1&&e.preventDefault()}}),{default:n(()=>[l(t.$slots,`default`)]),_:3},16))}}),S=u({__name:`Input`,props:{defaultValue:{},modelValue:{},class:{type:[Boolean,null,String,Object,Array]}},emits:[`update:modelValue`],setup(e,{emit:n}){let i=e,c=b(i,`modelValue`,n,{passive:!0,defaultValue:i.defaultValue});return(e,n)=>a((o(),s(`input`,{"onUpdate:modelValue":n[0]||=e=>t(c)?c.value=e:null,"data-slot":`input`,class:m(d(y)(`file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm`,`focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-3`,`aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive`,i.class))},null,2)),[[r,d(c)]])}}),C=u({__name:`Label`,props:{for:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){let r=t,a=_(r,`class`);return(t,s)=>(o(),i(d(x),e({"data-slot":`label`},d(a),{class:d(y)(`flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50`,r.class)}),{default:n(()=>[l(t.$slots,`default`)]),_:3},16,[`class`]))}}),w={class:`grid content-start gap-1.5`},T={key:0,class:`text-[13px] text-destructive`},E={key:1,class:`text-[13px] text-muted-foreground`},D={__name:`FormField`,props:{id:{type:String,required:!0},label:{type:String,required:!0},error:{type:String,default:``},hint:{type:String,default:``}},setup(e){return(t,r)=>(o(),s(`div`,w,[p(d(C),{for:e.id,class:`text-[13px] font-medium`},{default:n(()=>[f(h(e.label),1)]),_:1},8,[`for`]),l(t.$slots,`default`),e.error?(o(),s(`p`,T,h(e.error),1)):e.hint?(o(),s(`p`,E,h(e.hint),1)):c(``,!0)]))}};export{C as n,S as r,D as t};
|
||||
import{At as e,Bn as t,Cn as n,D as r,J as i,Tn as a,Wt as o,X as s,Y as c,Zt as l,at as u,ir as d,nt as f,rt as p,sr as m,ur as h}from"./app-pzmLPgUT.js";import{g,l as _,m as v,n as y}from"./BrandLogo-C29snZpL.js";import{i as b}from"./dist-DKtU4TaC.js";var x=u({__name:`Label`,props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`label`}},setup(t){let r=t;return g(),(t,a)=>(o(),i(d(v),e(r,{onMousedown:a[0]||=e=>{!e.defaultPrevented&&e.detail>1&&e.preventDefault()}}),{default:n(()=>[l(t.$slots,`default`)]),_:3},16))}}),S=u({__name:`Input`,props:{defaultValue:{},modelValue:{},class:{type:[Boolean,null,String,Object,Array]}},emits:[`update:modelValue`],setup(e,{emit:n}){let i=e,c=b(i,`modelValue`,n,{passive:!0,defaultValue:i.defaultValue});return(e,n)=>a((o(),s(`input`,{"onUpdate:modelValue":n[0]||=e=>t(c)?c.value=e:null,"data-slot":`input`,class:m(d(y)(`file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm`,`focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-3`,`aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive`,i.class))},null,2)),[[r,d(c)]])}}),C=u({__name:`Label`,props:{for:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){let r=t,a=_(r,`class`);return(t,s)=>(o(),i(d(x),e({"data-slot":`label`},d(a),{class:d(y)(`flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50`,r.class)}),{default:n(()=>[l(t.$slots,`default`)]),_:3},16,[`class`]))}}),w={class:`grid content-start gap-1.5`},T={key:0,class:`text-[13px] text-destructive`},E={key:1,class:`text-[13px] text-muted-foreground`},D={__name:`FormField`,props:{id:{type:String,required:!0},label:{type:String,required:!0},error:{type:String,default:``},hint:{type:String,default:``}},setup(e){return(t,r)=>(o(),s(`div`,w,[p(d(C),{for:e.id,class:`text-[13px] font-medium`},{default:n(()=>[f(h(e.label),1)]),_:1},8,[`for`]),l(t.$slots,`default`),e.error?(o(),s(`p`,T,h(e.error),1)):e.hint?(o(),s(`p`,E,h(e.hint),1)):c(``,!0)]))}};export{C as n,S as r,D as t};
|
||||
|
|
@ -1 +1 @@
|
|||
import{Cn as e,J as t,K as n,Wt as r,X as i,i as a,ir as o,n as s,nt as c,q as l,rt as u,ur as d}from"./app-MYLsojOs.js";import{a as f,i as p,l as m,n as h,o as g}from"./AppLayout-v5yLFoy-.js";var _={class:`overflow-hidden rounded-lg border bg-card`},v={class:`flex items-center justify-between gap-4 bg-brand px-6 py-6 text-brand-foreground`},y={class:`min-w-0`},b={class:`text-sm opacity-85`},x={class:`mt-0.5 text-[22px] leading-tight font-semibold tracking-tight break-words`},S={class:`mt-1.5 line-clamp-2 text-[13px] opacity-85`},C={class:`grid grid-cols-3 divide-x`,"aria-label":`Mein Bereich`},w={key:0,href:`/admin`,class:`flex flex-col items-center gap-2 px-2 py-4 text-center text-xs font-medium text-foreground/80 hover:bg-accent hover:text-foreground`},T={__name:`GreetingCard`,props:{user:{type:Object,required:!0},profile:{type:Object,required:!0},greeting:{type:String,required:!0}},setup(n){return(a,T)=>(r(),i(`section`,_,[l(`div`,v,[l(`div`,y,[l(`div`,b,d(n.greeting)+`,`,1),l(`div`,x,d(n.user.name),1),l(`div`,S,d(n.profile.job_title||`Schön, dass Sie da sind!`),1)]),u(h,{person:n.user,class:`size-16 shrink-0 text-lg ring-4 ring-white/25 xl:size-20 xl:text-xl`},null,8,[`person`])]),l(`nav`,C,[u(o(s),{href:`/personen/${n.user.id}`,class:`flex flex-col items-center gap-2 px-2 py-4 text-center text-xs font-medium text-foreground/80 hover:bg-accent hover:text-foreground`},{default:e(()=>[u(o(p),{class:`size-5 text-brand-text`,"stroke-width":1.75}),T[0]||=c(` Mein Profil `,-1)]),_:1},8,[`href`]),u(o(s),{href:`/profil/bearbeiten`,class:`flex flex-col items-center gap-2 px-2 py-4 text-center text-xs font-medium text-foreground/80 hover:bg-accent hover:text-foreground`},{default:e(()=>[u(o(f),{class:`size-5 text-brand-text`,"stroke-width":1.75}),T[1]||=c(` Profil bearbeiten `,-1)]),_:1}),n.user.can_admin?(r(),i(`a`,w,[u(o(g),{class:`size-5 text-brand-text`,"stroke-width":1.75}),T[2]||=c(` Administration `,-1)])):(r(),t(o(s),{key:1,href:`/logout`,method:`post`,as:`button`,class:`flex flex-col items-center gap-2 px-2 py-4 text-center text-xs font-medium text-foreground/80 hover:bg-accent hover:text-foreground`},{default:e(()=>[u(o(m),{class:`size-5 text-brand-text`,"stroke-width":1.75}),T[3]||=c(` Abmelden `,-1)]),_:1}))])]))}},E={__name:`Greeting`,props:{profile:{type:Object,required:!0}},setup(e){let i=e,o=a(),s=n(()=>({...o.props.auth.user,avatar_url:i.profile.avatar_url})),c=n(()=>{let e=new Date().getHours();return e<11?`Guten Morgen`:e<18?`Guten Tag`:`Guten Abend`});return(n,i)=>(r(),t(T,{user:s.value,profile:e.profile,greeting:c.value},null,8,[`user`,`profile`,`greeting`]))}};export{E as default};
|
||||
import{Cn as e,J as t,K as n,Wt as r,X as i,i as a,ir as o,n as s,nt as c,q as l,rt as u,ur as d}from"./app-pzmLPgUT.js";import{a as f,i as p,l as m,n as h,o as g}from"./AppLayout-BcYBb8UT.js";var _={class:`overflow-hidden rounded-lg border bg-card`},v={class:`flex items-center justify-between gap-4 bg-brand px-6 py-6 text-brand-foreground`},y={class:`min-w-0`},b={class:`text-sm opacity-85`},x={class:`mt-0.5 text-[22px] leading-tight font-semibold tracking-tight break-words`},S={class:`mt-1.5 line-clamp-2 text-[13px] opacity-85`},C={class:`grid grid-cols-3 divide-x`,"aria-label":`Mein Bereich`},w={key:0,href:`/admin`,class:`flex flex-col items-center gap-2 px-2 py-4 text-center text-xs font-medium text-foreground/80 hover:bg-accent hover:text-foreground`},T={__name:`GreetingCard`,props:{user:{type:Object,required:!0},profile:{type:Object,required:!0},greeting:{type:String,required:!0}},setup(n){return(a,T)=>(r(),i(`section`,_,[l(`div`,v,[l(`div`,y,[l(`div`,b,d(n.greeting)+`,`,1),l(`div`,x,d(n.user.name),1),l(`div`,S,d(n.profile.job_title||`Schön, dass Sie da sind!`),1)]),u(h,{person:n.user,class:`size-16 shrink-0 text-lg ring-4 ring-white/25 xl:size-20 xl:text-xl`},null,8,[`person`])]),l(`nav`,C,[u(o(s),{href:`/personen/${n.user.id}`,class:`flex flex-col items-center gap-2 px-2 py-4 text-center text-xs font-medium text-foreground/80 hover:bg-accent hover:text-foreground`},{default:e(()=>[u(o(p),{class:`size-5 text-brand-text`,"stroke-width":1.75}),T[0]||=c(` Mein Profil `,-1)]),_:1},8,[`href`]),u(o(s),{href:`/profil/bearbeiten`,class:`flex flex-col items-center gap-2 px-2 py-4 text-center text-xs font-medium text-foreground/80 hover:bg-accent hover:text-foreground`},{default:e(()=>[u(o(f),{class:`size-5 text-brand-text`,"stroke-width":1.75}),T[1]||=c(` Profil bearbeiten `,-1)]),_:1}),n.user.can_admin?(r(),i(`a`,w,[u(o(g),{class:`size-5 text-brand-text`,"stroke-width":1.75}),T[2]||=c(` Administration `,-1)])):(r(),t(o(s),{key:1,href:`/logout`,method:`post`,as:`button`,class:`flex flex-col items-center gap-2 px-2 py-4 text-center text-xs font-medium text-foreground/80 hover:bg-accent hover:text-foreground`},{default:e(()=>[u(o(m),{class:`size-5 text-brand-text`,"stroke-width":1.75}),T[3]||=c(` Abmelden `,-1)]),_:1}))])]))}},E={__name:`Greeting`,props:{profile:{type:Object,required:!0}},setup(e){let i=e,o=a(),s=n(()=>({...o.props.auth.user,avatar_url:i.profile.avatar_url})),c=n(()=>{let e=new Date().getHours();return e<11?`Guten Morgen`:e<18?`Guten Tag`:`Guten Abend`});return(n,i)=>(r(),t(T,{user:s.value,profile:e.profile,greeting:c.value},null,8,[`user`,`profile`,`greeting`]))}};export{E as default};
|
||||
|
|
@ -1 +1 @@
|
|||
import{I as e,K as t,Wt as n,X as r,Y as i,Zt as a,i as o,ir as s,q as c,rt as l,t as u,ur as d}from"./app-MYLsojOs.js";import{t as f}from"./BrandLogo-DrNIsjbn.js";var p={class:`grid min-h-screen lg:grid-cols-[minmax(0,5fr)_minmax(0,6fr)]`},m={class:`relative hidden overflow-hidden bg-brand text-brand-foreground lg:flex lg:flex-col lg:justify-between lg:p-12`},h={class:`relative max-w-md`},g={class:`mt-4 text-[15px] opacity-80`},_={class:`relative text-xs opacity-60`},v={class:`flex items-center justify-center bg-background px-4 py-12 sm:px-8`},y={class:`w-full max-w-[400px]`},b={class:`mb-10 lg:hidden`},x={class:`text-2xl font-semibold tracking-tight`},S={key:0,class:`mt-2 text-sm text-muted-foreground`},C={class:`mt-8`},w={__name:`GuestLayout`,props:{title:{type:String,default:``},description:{type:String,default:``}},setup(w){let T=w,E=t(()=>o().props.branding);return(t,o)=>(n(),r(e,null,[l(s(u),{title:T.title},null,8,[`title`]),c(`div`,p,[c(`aside`,m,[o[1]||=c(`div`,{class:`pointer-events-none absolute inset-0 opacity-[0.12]`,style:{"background-image":`radial-gradient(circle at 20% 20%, white 0, transparent 45%), radial-gradient(circle at 90% 80%, white 0, transparent 40%)`}},null,-1),l(f,{inverted:``,class:`relative`}),c(`div`,h,[o[0]||=c(`p`,{class:`text-3xl leading-tight font-semibold tracking-tight`},`Alles Wichtige für Ihren Arbeitsalltag – an einem Ort.`,-1),c(`p`,g,`Neuigkeiten, Ansprechpartner und Anwendungen von `+d(E.value.portal_name)+`.`,1)]),c(`p`,_,`© `+d(new Date().getFullYear())+` `+d(E.value.portal_name),1)]),c(`main`,v,[c(`div`,y,[c(`div`,b,[l(f)]),c(`h1`,x,d(T.title),1),T.description?(n(),r(`p`,S,d(T.description),1)):i(``,!0),c(`div`,C,[a(t.$slots,`default`)])])])])],64))}};export{w as t};
|
||||
import{I as e,K as t,Wt as n,X as r,Y as i,Zt as a,i as o,ir as s,q as c,rt as l,t as u,ur as d}from"./app-pzmLPgUT.js";import{t as f}from"./BrandLogo-C29snZpL.js";var p={class:`grid min-h-screen lg:grid-cols-[minmax(0,5fr)_minmax(0,6fr)]`},m={class:`relative hidden overflow-hidden bg-brand text-brand-foreground lg:flex lg:flex-col lg:justify-between lg:p-12`},h={class:`relative max-w-md`},g={class:`mt-4 text-[15px] opacity-80`},_={class:`relative text-xs opacity-60`},v={class:`flex items-center justify-center bg-background px-4 py-12 sm:px-8`},y={class:`w-full max-w-[400px]`},b={class:`mb-10 lg:hidden`},x={class:`text-2xl font-semibold tracking-tight`},S={key:0,class:`mt-2 text-sm text-muted-foreground`},C={class:`mt-8`},w={__name:`GuestLayout`,props:{title:{type:String,default:``},description:{type:String,default:``}},setup(w){let T=w,E=t(()=>o().props.branding);return(t,o)=>(n(),r(e,null,[l(s(u),{title:T.title},null,8,[`title`]),c(`div`,p,[c(`aside`,m,[o[1]||=c(`div`,{class:`pointer-events-none absolute inset-0 opacity-[0.12]`,style:{"background-image":`radial-gradient(circle at 20% 20%, white 0, transparent 45%), radial-gradient(circle at 90% 80%, white 0, transparent 40%)`}},null,-1),l(f,{inverted:``,class:`relative`}),c(`div`,h,[o[0]||=c(`p`,{class:`text-3xl leading-tight font-semibold tracking-tight`},`Alles Wichtige für Ihren Arbeitsalltag – an einem Ort.`,-1),c(`p`,g,`Neuigkeiten, Ansprechpartner und Anwendungen von `+d(E.value.portal_name)+`.`,1)]),c(`p`,_,`© `+d(new Date().getFullYear())+` `+d(E.value.portal_name),1)]),c(`main`,v,[c(`div`,y,[c(`div`,b,[l(f)]),c(`h1`,x,d(T.title),1),T.description?(n(),r(`p`,S,d(T.description),1)):i(``,!0),c(`div`,C,[a(t.$slots,`default`)])])])])],64))}};export{w as t};
|
||||
|
|
@ -1 +1 @@
|
|||
import{Cn as e,I as t,J as n,Jn as r,K as i,O as a,Pt as o,Rt as s,Tn as c,Wt as l,X as u,Xt as d,Y as f,c as p,ir as m,n as h,nt as g,q as _,rt as v,sr as y,ur as b}from"./app-MYLsojOs.js";import{M as x}from"./BrandLogo-DrNIsjbn.js";import{t as S}from"./arrow-right-BhqKnUAl.js";import{t as C}from"./chevron-left-CEFBER2t.js";import{t as w}from"./chevron-right-TSNALGob.js";var T=x({name:`pause`,size:24,node:[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]}),E=x({name:`play`,size:24,node:[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]}),D=[`src`],O={class:`flex h-full flex-col justify-end p-6 sm:max-w-[65%] sm:justify-center sm:p-10`,"aria-live":`polite`},k={key:0,class:`mb-3 w-fit rounded-sm bg-brand px-2 py-0.5 text-[11px] font-semibold tracking-wide text-brand-foreground uppercase`},A={class:`text-2xl leading-tight font-semibold tracking-tight sm:text-[32px]`},j={key:1,class:`mt-3 line-clamp-3 hidden text-[15px] text-white/85 sm:block`},M={key:0,class:`absolute right-4 bottom-4 flex items-center gap-2 sm:right-6 sm:bottom-6`},N={class:`flex items-center gap-1.5 px-1`},P=[`aria-label`,`aria-current`,`onClick`],F=[`aria-label`],I={__name:`HeroSlider`,props:{posts:{type:Array,required:!0}},setup(x){let I=x,L=r(0),R=r(!1),z=i(()=>I.posts[L.value]),B=null;function V(e){L.value=(e+I.posts.length)%I.posts.length}function H(){U(),I.posts.length>1&&!R.value&&!window.matchMedia(`(prefers-reduced-motion: reduce)`).matches&&(B=setInterval(()=>V(L.value+1),7e3))}function U(){clearInterval(B)}function W(){R.value=!R.value,H()}return s(H),o(U),(r,i)=>(l(),u(`section`,{class:`relative isolate aspect-[16/10] overflow-hidden rounded-lg bg-brand-950 text-white sm:aspect-[16/9] lg:aspect-auto lg:h-full lg:min-h-[400px]`,"aria-roledescription":`Karussell`,"aria-label":`Hervorgehobene Neuigkeiten`,onMouseenter:U,onMouseleave:H,onFocusin:U,onFocusout:H},[v(p,{"enter-active-class":`transition-opacity duration-700`,"leave-active-class":`transition-opacity duration-700 absolute inset-0`,"enter-from-class":`opacity-0`,"leave-to-class":`opacity-0`},{default:e(()=>[(l(!0),u(t,null,d(x.posts,(e,t)=>c((l(),u(`img`,{key:e.id,src:e.cover_url,alt:``,class:`absolute inset-0 -z-10 size-full object-cover`},null,8,D)),[[a,t===L.value]])),128))]),_:1}),i[3]||=_(`div`,{class:`absolute inset-0 -z-10 bg-gradient-to-t from-black/80 via-black/35 to-black/5 sm:bg-gradient-to-r sm:from-black/75 sm:via-black/40 sm:to-transparent`},null,-1),_(`div`,O,[z.value.category?(l(),u(`span`,k,b(z.value.category.name),1)):f(``,!0),_(`h2`,A,b(z.value.title),1),z.value.teaser?(l(),u(`p`,j,b(z.value.teaser),1)):f(``,!0),v(m(h),{href:`/neuigkeiten/${z.value.slug}`,class:`mt-5 inline-flex w-fit items-center gap-2 rounded-md bg-brand px-4 py-2.5 text-sm font-medium text-brand-foreground transition-colors hover:bg-brand-700`},{default:e(()=>[i[2]||=g(` Mehr erfahren `,-1),v(m(S),{class:`size-4`})]),_:1},8,[`href`])]),x.posts.length>1?(l(),u(`div`,M,[_(`button`,{type:`button`,class:`grid size-9 place-items-center rounded-full bg-black/35 hover:bg-black/55`,"aria-label":`Vorheriger Beitrag`,onClick:i[0]||=e=>V(L.value-1)},[v(m(C),{class:`size-5`})]),_(`div`,N,[(l(!0),u(t,null,d(x.posts,(e,t)=>(l(),u(`button`,{key:e.id,type:`button`,class:y([`h-1.5 rounded-full transition-all`,t===L.value?`w-6 bg-white`:`w-1.5 bg-white/50 hover:bg-white/80`]),"aria-label":`Beitrag ${t+1} von ${x.posts.length}`,"aria-current":t===L.value,onClick:e=>V(t)},null,10,P))),128))]),_(`button`,{type:`button`,class:`grid size-9 place-items-center rounded-full bg-black/35 hover:bg-black/55`,"aria-label":`Nächster Beitrag`,onClick:i[1]||=e=>V(L.value+1)},[v(m(w),{class:`size-5`})]),_(`button`,{type:`button`,class:`grid size-9 place-items-center rounded-full bg-black/35 hover:bg-black/55`,"aria-label":R.value?`Automatisch weiterblättern`:`Anhalten`,onClick:W},[R.value?(l(),n(m(E),{key:0,class:`size-4`})):(l(),n(m(T),{key:1,class:`size-4`}))],8,F)])):f(``,!0)],32))}},L={__name:`Hero`,props:{posts:{type:Array,required:!0}},setup(e){return(t,r)=>(l(),n(I,{posts:e.posts,class:`h-full`},null,8,[`posts`]))}};export{L as default};
|
||||
import{Cn as e,I as t,J as n,Jn as r,K as i,O as a,Pt as o,Rt as s,Tn as c,Wt as l,X as u,Xt as d,Y as f,c as p,ir as m,n as h,nt as g,q as _,rt as v,sr as y,ur as b}from"./app-pzmLPgUT.js";import{M as x}from"./BrandLogo-C29snZpL.js";import{t as S}from"./arrow-right-1zpkUsu4.js";import{t as C}from"./chevron-left-Yu0yrCDS.js";import{t as w}from"./chevron-right-waVs9Y2J.js";var T=x({name:`pause`,size:24,node:[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]}),E=x({name:`play`,size:24,node:[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]}),D=[`src`],O={class:`flex h-full flex-col justify-end p-6 sm:max-w-[65%] sm:justify-center sm:p-10`,"aria-live":`polite`},k={key:0,class:`mb-3 w-fit rounded-sm bg-brand px-2 py-0.5 text-[11px] font-semibold tracking-wide text-brand-foreground uppercase`},A={class:`text-2xl leading-tight font-semibold tracking-tight sm:text-[32px]`},j={key:1,class:`mt-3 line-clamp-3 hidden text-[15px] text-white/85 sm:block`},M={key:0,class:`absolute right-4 bottom-4 flex items-center gap-2 sm:right-6 sm:bottom-6`},N={class:`flex items-center gap-1.5 px-1`},P=[`aria-label`,`aria-current`,`onClick`],F=[`aria-label`],I={__name:`HeroSlider`,props:{posts:{type:Array,required:!0}},setup(x){let I=x,L=r(0),R=r(!1),z=i(()=>I.posts[L.value]),B=null;function V(e){L.value=(e+I.posts.length)%I.posts.length}function H(){U(),I.posts.length>1&&!R.value&&!window.matchMedia(`(prefers-reduced-motion: reduce)`).matches&&(B=setInterval(()=>V(L.value+1),7e3))}function U(){clearInterval(B)}function W(){R.value=!R.value,H()}return s(H),o(U),(r,i)=>(l(),u(`section`,{class:`relative isolate aspect-[16/10] overflow-hidden rounded-lg bg-brand-950 text-white sm:aspect-[16/9] lg:aspect-auto lg:h-full lg:min-h-[400px]`,"aria-roledescription":`Karussell`,"aria-label":`Hervorgehobene Neuigkeiten`,onMouseenter:U,onMouseleave:H,onFocusin:U,onFocusout:H},[v(p,{"enter-active-class":`transition-opacity duration-700`,"leave-active-class":`transition-opacity duration-700 absolute inset-0`,"enter-from-class":`opacity-0`,"leave-to-class":`opacity-0`},{default:e(()=>[(l(!0),u(t,null,d(x.posts,(e,t)=>c((l(),u(`img`,{key:e.id,src:e.cover_url,alt:``,class:`absolute inset-0 -z-10 size-full object-cover`},null,8,D)),[[a,t===L.value]])),128))]),_:1}),i[3]||=_(`div`,{class:`absolute inset-0 -z-10 bg-gradient-to-t from-black/80 via-black/35 to-black/5 sm:bg-gradient-to-r sm:from-black/75 sm:via-black/40 sm:to-transparent`},null,-1),_(`div`,O,[z.value.category?(l(),u(`span`,k,b(z.value.category.name),1)):f(``,!0),_(`h2`,A,b(z.value.title),1),z.value.teaser?(l(),u(`p`,j,b(z.value.teaser),1)):f(``,!0),v(m(h),{href:`/neuigkeiten/${z.value.slug}`,class:`mt-5 inline-flex w-fit items-center gap-2 rounded-md bg-brand px-4 py-2.5 text-sm font-medium text-brand-foreground transition-colors hover:bg-brand-700`},{default:e(()=>[i[2]||=g(` Mehr erfahren `,-1),v(m(S),{class:`size-4`})]),_:1},8,[`href`])]),x.posts.length>1?(l(),u(`div`,M,[_(`button`,{type:`button`,class:`grid size-9 place-items-center rounded-full bg-black/35 hover:bg-black/55`,"aria-label":`Vorheriger Beitrag`,onClick:i[0]||=e=>V(L.value-1)},[v(m(C),{class:`size-5`})]),_(`div`,N,[(l(!0),u(t,null,d(x.posts,(e,t)=>(l(),u(`button`,{key:e.id,type:`button`,class:y([`h-1.5 rounded-full transition-all`,t===L.value?`w-6 bg-white`:`w-1.5 bg-white/50 hover:bg-white/80`]),"aria-label":`Beitrag ${t+1} von ${x.posts.length}`,"aria-current":t===L.value,onClick:e=>V(t)},null,10,P))),128))]),_(`button`,{type:`button`,class:`grid size-9 place-items-center rounded-full bg-black/35 hover:bg-black/55`,"aria-label":`Nächster Beitrag`,onClick:i[1]||=e=>V(L.value+1)},[v(m(w),{class:`size-5`})]),_(`button`,{type:`button`,class:`grid size-9 place-items-center rounded-full bg-black/35 hover:bg-black/55`,"aria-label":R.value?`Automatisch weiterblättern`:`Anhalten`,onClick:W},[R.value?(l(),n(m(E),{key:0,class:`size-4`})):(l(),n(m(T),{key:1,class:`size-4`}))],8,F)])):f(``,!0)],32))}},L={__name:`Hero`,props:{posts:{type:Array,required:!0}},setup(e){return(t,r)=>(l(),n(I,{posts:e.posts,class:`h-full`},null,8,[`posts`]))}};export{L as default};
|
||||
|
|
@ -1 +1 @@
|
|||
import{Cn as e,I as t,J as n,K as r,Wt as i,X as a,Xt as o,Y as s,ir as c,n as l,nt as u,q as d,rt as f,ur as p}from"./app-MYLsojOs.js";import{t as m}from"./calendar-days-DALVb0Xh.js";import{t as h}from"./AppLayout-v5yLFoy-.js";import{t as g}from"./map-pin-BTM0q2tD.js";import{t as _}from"./video-DNNeL4Uv.js";import{t as v}from"./EmptyState-XRC3WPOS.js";import{i as y,r as b}from"./format-Dlm0nTI_.js";import{t as x}from"./EventDateBlock-BkJqTF2m.js";var S={key:0,class:`grid max-w-4xl gap-8`},C={class:`mb-3 text-sm font-semibold text-muted-foreground`},w={class:`divide-y rounded-lg border bg-card`},T={class:`min-w-0 flex-1`},E={class:`text-[15px] font-semibold group-hover:underline`},D={class:`mt-0.5 text-[13px] text-muted-foreground`},O={key:0,class:`mt-0.5 flex items-center gap-1.5 text-[13px] text-muted-foreground`},k=[`src`],A={key:1,class:`max-w-4xl rounded-lg border border-dashed bg-card`},j={__name:`Index`,props:{events:{type:Object,required:!0}},setup(j){let M=j,N=r(()=>{let e=[];for(let t of M.events.data){let n=new Date(t.starts_at),r=y((n<new Date?new Date:n).toISOString()),i=e[e.length-1];i?.label===r?i.events.push(t):e.push({label:r,events:[t]})}return e});return(r,y)=>(i(),n(h,{title:`Termine`},{default:e(()=>[y[0]||=d(`div`,{class:`mb-6`},[d(`h1`,{class:`text-2xl font-semibold tracking-tight`},`Termine`),d(`p`,{class:`mt-1 text-sm text-muted-foreground`},`Veranstaltungen, Fortbildungen und Treffen.`)],-1),N.value.length?(i(),a(`div`,S,[(i(!0),a(t,null,o(N.value,r=>(i(),a(`section`,{key:r.label},[d(`h2`,C,p(r.label),1),d(`ul`,w,[(i(!0),a(t,null,o(r.events,t=>(i(),a(`li`,{key:t.id},[f(c(l),{href:`/termine/${t.id}`,class:`group flex items-center gap-4 p-4 transition-colors hover:bg-accent/60`},{default:e(()=>[f(x,{date:t.starts_at,class:`w-14`},null,8,[`date`]),d(`div`,T,[d(`h3`,E,p(t.title),1),d(`p`,D,p(c(b)(t)),1),t.location||t.online_url?(i(),a(`p`,O,[t.location?(i(),n(c(g),{key:0,class:`size-3.5`})):(i(),n(c(_),{key:1,class:`size-3.5`})),u(` `+p(t.location||`Online`),1)])):s(``,!0)]),t.thumb_url?(i(),a(`img`,{key:0,src:t.thumb_url,alt:``,loading:`lazy`,class:`hidden h-16 w-28 shrink-0 rounded-md object-cover sm:block`},null,8,k)):s(``,!0)]),_:2},1032,[`href`])]))),128))])]))),128))])):(i(),a(`div`,A,[f(v,{icon:c(m),title:`Keine anstehenden Termine`,text:`Neue Termine erscheinen hier, sobald sie eingetragen sind.`},null,8,[`icon`])]))]),_:1}))}};export{j as default};
|
||||
import{Cn as e,I as t,J as n,K as r,Wt as i,X as a,Xt as o,Y as s,ir as c,n as l,nt as u,q as d,rt as f,ur as p}from"./app-pzmLPgUT.js";import{t as m}from"./calendar-days-DPX9Rknt.js";import{t as h}from"./AppLayout-BcYBb8UT.js";import{t as g}from"./map-pin-DQH1wpaU.js";import{t as _}from"./video-ewMVXn70.js";import{t as v}from"./EmptyState-ms-RUhSx.js";import{i as y,r as b}from"./format-Dlm0nTI_.js";import{t as x}from"./EventDateBlock-D0IUNW9x.js";var S={key:0,class:`grid max-w-4xl gap-8`},C={class:`mb-3 text-sm font-semibold text-muted-foreground`},w={class:`divide-y rounded-lg border bg-card`},T={class:`min-w-0 flex-1`},E={class:`text-[15px] font-semibold group-hover:underline`},D={class:`mt-0.5 text-[13px] text-muted-foreground`},O={key:0,class:`mt-0.5 flex items-center gap-1.5 text-[13px] text-muted-foreground`},k=[`src`],A={key:1,class:`max-w-4xl rounded-lg border border-dashed bg-card`},j={__name:`Index`,props:{events:{type:Object,required:!0}},setup(j){let M=j,N=r(()=>{let e=[];for(let t of M.events.data){let n=new Date(t.starts_at),r=y((n<new Date?new Date:n).toISOString()),i=e[e.length-1];i?.label===r?i.events.push(t):e.push({label:r,events:[t]})}return e});return(r,y)=>(i(),n(h,{title:`Termine`},{default:e(()=>[y[0]||=d(`div`,{class:`mb-6`},[d(`h1`,{class:`text-2xl font-semibold tracking-tight`},`Termine`),d(`p`,{class:`mt-1 text-sm text-muted-foreground`},`Veranstaltungen, Fortbildungen und Treffen.`)],-1),N.value.length?(i(),a(`div`,S,[(i(!0),a(t,null,o(N.value,r=>(i(),a(`section`,{key:r.label},[d(`h2`,C,p(r.label),1),d(`ul`,w,[(i(!0),a(t,null,o(r.events,t=>(i(),a(`li`,{key:t.id},[f(c(l),{href:`/termine/${t.id}`,class:`group flex items-center gap-4 p-4 transition-colors hover:bg-accent/60`},{default:e(()=>[f(x,{date:t.starts_at,class:`w-14`},null,8,[`date`]),d(`div`,T,[d(`h3`,E,p(t.title),1),d(`p`,D,p(c(b)(t)),1),t.location||t.online_url?(i(),a(`p`,O,[t.location?(i(),n(c(g),{key:0,class:`size-3.5`})):(i(),n(c(_),{key:1,class:`size-3.5`})),u(` `+p(t.location||`Online`),1)])):s(``,!0)]),t.thumb_url?(i(),a(`img`,{key:0,src:t.thumb_url,alt:``,loading:`lazy`,class:`hidden h-16 w-28 shrink-0 rounded-md object-cover sm:block`},null,8,k)):s(``,!0)]),_:2},1032,[`href`])]))),128))])]))),128))])):(i(),a(`div`,A,[f(v,{icon:c(m),title:`Keine anstehenden Termine`,text:`Neue Termine erscheinen hier, sobald sie eingetragen sind.`},null,8,[`icon`])]))]),_:1}))}};export{j as default};
|
||||
|
|
@ -1 +1 @@
|
|||
import{Cn as e,I as t,J as n,Wt as r,X as i,Xt as a,Y as o,a as s,ir as c,n as l,nt as u,q as d,rt as f,sr as p,ur as m}from"./app-MYLsojOs.js";import{t as h}from"./AppLayout-v5yLFoy-.js";import{t as g}from"./chevron-left-CEFBER2t.js";import{t as _}from"./chevron-right-TSNALGob.js";import{r as v}from"./NewsImage-eMSWJ9oI.js";import{t as y}from"./EmptyState-XRC3WPOS.js";import{t as b}from"./button-vECAuGF4.js";import{t as x}from"./NewsCard-Dq1JrCp-.js";var S={key:0,class:`mb-6 flex flex-wrap gap-2`,"aria-label":`Kategorien`},C={key:1,class:`grid gap-5 sm:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4`},w={key:2,class:`rounded-lg border border-dashed bg-card`},T={key:3,class:`mt-8 flex items-center justify-between`,"aria-label":`Seiten`},E={class:`text-sm text-muted-foreground`},D={class:`flex gap-2`},O={__name:`Index`,props:{posts:{type:Object,required:!0},categories:{type:Array,required:!0},activeCategory:{type:String,default:null}},setup(O){return(k,A)=>(r(),n(h,{title:`Neuigkeiten`},{default:e(()=>[A[5]||=d(`div`,{class:`mb-6`},[d(`h1`,{class:`text-2xl font-semibold tracking-tight`},`Neuigkeiten`),d(`p`,{class:`mt-1 text-sm text-muted-foreground`},`Aktuelles aus dem Unternehmen und den Bereichen.`)],-1),O.categories.length?(r(),i(`nav`,S,[f(c(l),{href:`/neuigkeiten`,class:p([`rounded-full border px-3.5 py-1.5 text-[13px] font-medium transition-colors`,O.activeCategory?`bg-card hover:bg-accent`:`border-brand bg-brand text-brand-foreground`]),"preserve-scroll":``},{default:e(()=>[...A[2]||=[u(` Alle `,-1)]]),_:1},8,[`class`]),(r(!0),i(t,null,a(O.categories,t=>(r(),n(c(l),{key:t.slug,href:`/neuigkeiten?kategorie=${t.slug}`,class:p([`rounded-full border px-3.5 py-1.5 text-[13px] font-medium transition-colors`,O.activeCategory===t.slug?`border-brand bg-brand text-brand-foreground`:`bg-card hover:bg-accent`]),"preserve-scroll":``},{default:e(()=>[u(m(t.name),1)]),_:2},1032,[`href`,`class`]))),128))])):o(``,!0),O.posts.data.length?(r(),i(`div`,C,[(r(!0),i(t,null,a(O.posts.data,e=>(r(),n(x,{key:e.id,post:e},null,8,[`post`]))),128))])):(r(),i(`div`,w,[f(y,{icon:c(v),title:`Keine Beiträge`,text:`In dieser Kategorie ist noch nichts veröffentlicht.`},null,8,[`icon`])])),O.posts.meta.last_page>1?(r(),i(`nav`,T,[d(`p`,E,`Seite `+m(O.posts.meta.current_page)+` von `+m(O.posts.meta.last_page),1),d(`div`,D,[f(c(b),{variant:`outline`,size:`sm`,disabled:!O.posts.links.prev,onClick:A[0]||=e=>c(s).get(O.posts.links.prev)},{default:e(()=>[f(c(g)),A[3]||=u(` Neuere`,-1)]),_:1},8,[`disabled`]),f(c(b),{variant:`outline`,size:`sm`,disabled:!O.posts.links.next,onClick:A[1]||=e=>c(s).get(O.posts.links.next)},{default:e(()=>[A[4]||=u(`Ältere `,-1),f(c(_))]),_:1},8,[`disabled`])])])):o(``,!0)]),_:1}))}};export{O as default};
|
||||
import{Cn as e,I as t,J as n,Wt as r,X as i,Xt as a,Y as o,a as s,ir as c,n as l,nt as u,q as d,rt as f,sr as p,ur as m}from"./app-pzmLPgUT.js";import{t as h}from"./AppLayout-BcYBb8UT.js";import{t as g}from"./chevron-left-Yu0yrCDS.js";import{t as _}from"./chevron-right-waVs9Y2J.js";import{r as v}from"./NewsImage-D285dU1N.js";import{t as y}from"./EmptyState-ms-RUhSx.js";import{t as b}from"./button-rw3L_oXh.js";import{t as x}from"./NewsCard-C1dTmb3u.js";var S={key:0,class:`mb-6 flex flex-wrap gap-2`,"aria-label":`Kategorien`},C={key:1,class:`grid gap-5 sm:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4`},w={key:2,class:`rounded-lg border border-dashed bg-card`},T={key:3,class:`mt-8 flex items-center justify-between`,"aria-label":`Seiten`},E={class:`text-sm text-muted-foreground`},D={class:`flex gap-2`},O={__name:`Index`,props:{posts:{type:Object,required:!0},categories:{type:Array,required:!0},activeCategory:{type:String,default:null}},setup(O){return(k,A)=>(r(),n(h,{title:`Neuigkeiten`},{default:e(()=>[A[5]||=d(`div`,{class:`mb-6`},[d(`h1`,{class:`text-2xl font-semibold tracking-tight`},`Neuigkeiten`),d(`p`,{class:`mt-1 text-sm text-muted-foreground`},`Aktuelles aus dem Unternehmen und den Bereichen.`)],-1),O.categories.length?(r(),i(`nav`,S,[f(c(l),{href:`/neuigkeiten`,class:p([`rounded-full border px-3.5 py-1.5 text-[13px] font-medium transition-colors`,O.activeCategory?`bg-card hover:bg-accent`:`border-brand bg-brand text-brand-foreground`]),"preserve-scroll":``},{default:e(()=>[...A[2]||=[u(` Alle `,-1)]]),_:1},8,[`class`]),(r(!0),i(t,null,a(O.categories,t=>(r(),n(c(l),{key:t.slug,href:`/neuigkeiten?kategorie=${t.slug}`,class:p([`rounded-full border px-3.5 py-1.5 text-[13px] font-medium transition-colors`,O.activeCategory===t.slug?`border-brand bg-brand text-brand-foreground`:`bg-card hover:bg-accent`]),"preserve-scroll":``},{default:e(()=>[u(m(t.name),1)]),_:2},1032,[`href`,`class`]))),128))])):o(``,!0),O.posts.data.length?(r(),i(`div`,C,[(r(!0),i(t,null,a(O.posts.data,e=>(r(),n(x,{key:e.id,post:e},null,8,[`post`]))),128))])):(r(),i(`div`,w,[f(y,{icon:c(v),title:`Keine Beiträge`,text:`In dieser Kategorie ist noch nichts veröffentlicht.`},null,8,[`icon`])])),O.posts.meta.last_page>1?(r(),i(`nav`,T,[d(`p`,E,`Seite `+m(O.posts.meta.current_page)+` von `+m(O.posts.meta.last_page),1),d(`div`,D,[f(c(b),{variant:`outline`,size:`sm`,disabled:!O.posts.links.prev,onClick:A[0]||=e=>c(s).get(O.posts.links.prev)},{default:e(()=>[f(c(g)),A[3]||=u(` Neuere`,-1)]),_:1},8,[`disabled`]),f(c(b),{variant:`outline`,size:`sm`,disabled:!O.posts.links.next,onClick:A[1]||=e=>c(s).get(O.posts.links.next)},{default:e(()=>[A[4]||=u(`Ältere `,-1),f(c(_))]),_:1},8,[`disabled`])])])):o(``,!0)]),_:1}))}};export{O as default};
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
import{Cn as e,I as t,J as n,Wt as r,X as i,Xt as a,Y as o,ir as s,n as c,q as l,rt as u,sr as d,ur as f}from"./app-MYLsojOs.js";import{n as p,r as m,t as h}from"./NewsImage-eMSWJ9oI.js";import{t as g}from"./EmptyState-XRC3WPOS.js";import{a as _}from"./format-Dlm0nTI_.js";import{t as v}from"./Panel-94DyTEDp.js";var y={class:`min-w-0`},b={class:`mt-0.5 line-clamp-2 text-sm leading-snug font-semibold group-hover:underline`},x={class:`mt-1 text-xs text-muted-foreground`},S={__name:`NewsListItem`,props:{post:{type:Object,required:!0}},setup(t){return(i,a)=>(r(),n(s(c),{href:`/neuigkeiten/${t.post.slug}`,class:`group flex gap-4 py-3`},{default:e(()=>[u(h,{src:t.post.thumb_url,alt:t.post.title,class:`w-28 shrink-0 rounded-md sm:w-32`},null,8,[`src`,`alt`]),l(`div`,y,[u(p,{category:t.post.category},null,8,[`category`]),l(`h3`,b,f(t.post.title),1),l(`p`,x,f(s(_)(t.post.published_at)),1)])]),_:1},8,[`href`]))}},C={key:0,href:`/admin/neuigkeiten/neu`,class:`mt-4 text-sm font-medium text-brand-text hover:underline`},w={__name:`Latest`,props:{posts:{type:Array,required:!0},canWrite:{type:Boolean,default:!1},wide:{type:Boolean,default:!1}},setup(c){return(l,u)=>(r(),n(v,{title:`Neuigkeiten`,"action-label":`Alle anzeigen`,"action-href":`/neuigkeiten`},{default:e(()=>[c.posts.length?(r(),i(`div`,{key:0,class:d([`-my-3 divide-y`,{"sm:grid sm:grid-cols-2 sm:gap-x-6 sm:divide-y-0":c.wide}])},[(r(!0),i(t,null,a(c.posts,e=>(r(),n(S,{key:e.id,post:e},null,8,[`post`]))),128))],2)):(r(),n(g,{key:1,icon:s(m),title:`Noch keine Neuigkeiten`,text:`Sobald Beiträge veröffentlicht sind, erscheinen sie hier.`},{default:e(()=>[c.canWrite?(r(),i(`a`,C,`Ersten Beitrag schreiben`)):o(``,!0)]),_:1},8,[`icon`]))]),_:1}))}};export{w as default};
|
||||
import{Cn as e,I as t,J as n,Wt as r,X as i,Xt as a,Y as o,ir as s,n as c,q as l,rt as u,sr as d,ur as f}from"./app-pzmLPgUT.js";import{n as p,r as m,t as h}from"./NewsImage-D285dU1N.js";import{t as g}from"./EmptyState-ms-RUhSx.js";import{a as _}from"./format-Dlm0nTI_.js";import{t as v}from"./Panel-B1e2j55x.js";var y={class:`min-w-0`},b={class:`mt-0.5 line-clamp-2 text-sm leading-snug font-semibold group-hover:underline`},x={class:`mt-1 text-xs text-muted-foreground`},S={__name:`NewsListItem`,props:{post:{type:Object,required:!0}},setup(t){return(i,a)=>(r(),n(s(c),{href:`/neuigkeiten/${t.post.slug}`,class:`group flex gap-4 py-3`},{default:e(()=>[u(h,{src:t.post.thumb_url,alt:t.post.title,class:`w-28 shrink-0 rounded-md sm:w-32`},null,8,[`src`,`alt`]),l(`div`,y,[u(p,{category:t.post.category},null,8,[`category`]),l(`h3`,b,f(t.post.title),1),l(`p`,x,f(s(_)(t.post.published_at)),1)])]),_:1},8,[`href`]))}},C={key:0,href:`/admin/neuigkeiten/neu`,class:`mt-4 text-sm font-medium text-brand-text hover:underline`},w={__name:`Latest`,props:{posts:{type:Array,required:!0},canWrite:{type:Boolean,default:!1},wide:{type:Boolean,default:!1}},setup(c){return(l,u)=>(r(),n(v,{title:`Neuigkeiten`,"action-label":`Alle anzeigen`,"action-href":`/neuigkeiten`},{default:e(()=>[c.posts.length?(r(),i(`div`,{key:0,class:d([`-my-3 divide-y`,{"sm:grid sm:grid-cols-2 sm:gap-x-6 sm:divide-y-0":c.wide}])},[(r(!0),i(t,null,a(c.posts,e=>(r(),n(S,{key:e.id,post:e},null,8,[`post`]))),128))],2)):(r(),n(g,{key:1,icon:s(m),title:`Noch keine Neuigkeiten`,text:`Sobald Beiträge veröffentlicht sind, erscheinen sie hier.`},{default:e(()=>[c.canWrite?(r(),i(`a`,C,`Ersten Beitrag schreiben`)):o(``,!0)]),_:1},8,[`icon`]))]),_:1}))}};export{w as default};
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
import{Cn as e,I as t,J as n,Wt as r,X as i,Xt as a,ir as o,n as s,q as c,rt as l,ur as u}from"./app-MYLsojOs.js";import{n as d}from"./AppLayout-v5yLFoy-.js";import{t as f}from"./Panel-94DyTEDp.js";var p={class:`grid gap-3 sm:grid-cols-2 xl:grid-cols-3`},m={class:`min-w-0`},h={class:`truncate text-sm font-semibold`},g={class:`truncate text-[13px] text-muted-foreground`},_={__name:`NewColleagues`,props:{people:{type:Array,required:!0}},setup(_){return(v,y)=>(r(),n(f,{title:`Neu im Team`,"action-label":`Alle Personen`,"action-href":`/personen`},{default:e(()=>[c(`ul`,p,[(r(!0),i(t,null,a(_.people,t=>(r(),i(`li`,{key:t.id},[l(o(s),{href:`/personen/${t.id}`,class:`flex items-center gap-3 rounded-lg border p-3 transition-colors hover:bg-accent`},{default:e(()=>[l(d,{person:t,class:`size-11`},null,8,[`person`]),c(`div`,m,[c(`div`,h,u(t.name),1),c(`div`,g,u(t.job_title||t.department),1)])]),_:2},1032,[`href`])]))),128))])]),_:1}))}};export{_ as default};
|
||||
import{Cn as e,I as t,J as n,Wt as r,X as i,Xt as a,ir as o,n as s,q as c,rt as l,ur as u}from"./app-pzmLPgUT.js";import{n as d}from"./AppLayout-BcYBb8UT.js";import{t as f}from"./Panel-B1e2j55x.js";var p={class:`grid gap-3 sm:grid-cols-2 xl:grid-cols-3`},m={class:`min-w-0`},h={class:`truncate text-sm font-semibold`},g={class:`truncate text-[13px] text-muted-foreground`},_={__name:`NewColleagues`,props:{people:{type:Array,required:!0}},setup(_){return(v,y)=>(r(),n(f,{title:`Neu im Team`,"action-label":`Alle Personen`,"action-href":`/personen`},{default:e(()=>[c(`ul`,p,[(r(!0),i(t,null,a(_.people,t=>(r(),i(`li`,{key:t.id},[l(o(s),{href:`/personen/${t.id}`,class:`flex items-center gap-3 rounded-lg border p-3 transition-colors hover:bg-accent`},{default:e(()=>[l(d,{person:t,class:`size-11`},null,8,[`person`]),c(`div`,m,[c(`div`,h,u(t.name),1),c(`div`,g,u(t.job_title||t.department),1)])]),_:2},1032,[`href`])]))),128))])]),_:1}))}};export{_ as default};
|
||||
|
|
@ -1 +1 @@
|
|||
import{Cn as e,J as t,Wt as n,X as r,Y as i,ir as a,n as o,q as s,rt as c,ur as l}from"./app-MYLsojOs.js";import{n as u,t as d}from"./NewsImage-eMSWJ9oI.js";import{o as f}from"./format-Dlm0nTI_.js";var p={class:`flex flex-1 flex-col p-4`},m={class:`mt-1 line-clamp-2 text-[15px] leading-snug font-semibold group-hover:underline`},h={key:0,class:`mt-1.5 line-clamp-2 text-[13px] text-muted-foreground`},g={class:`mt-auto pt-3 text-xs text-muted-foreground`},_={__name:`NewsCard`,props:{post:{type:Object,required:!0}},setup(_){return(v,y)=>(n(),t(a(o),{href:`/neuigkeiten/${_.post.slug}`,class:`group flex h-full flex-col overflow-hidden rounded-lg border bg-card transition-shadow hover:shadow-md`},{default:e(()=>[c(d,{src:_.post.thumb_url,alt:_.post.title},null,8,[`src`,`alt`]),s(`div`,p,[c(u,{category:_.post.category},null,8,[`category`]),s(`h3`,m,l(_.post.title),1),_.post.teaser?(n(),r(`p`,h,l(_.post.teaser),1)):i(``,!0),s(`p`,g,l(a(f)(_.post.published_at))+` · `+l(_.post.reading_minutes)+` Min.`,1)])]),_:1},8,[`href`]))}};export{_ as t};
|
||||
import{Cn as e,J as t,Wt as n,X as r,Y as i,ir as a,n as o,q as s,rt as c,ur as l}from"./app-pzmLPgUT.js";import{n as u,t as d}from"./NewsImage-D285dU1N.js";import{o as f}from"./format-Dlm0nTI_.js";var p={class:`flex flex-1 flex-col p-4`},m={class:`mt-1 line-clamp-2 text-[15px] leading-snug font-semibold group-hover:underline`},h={key:0,class:`mt-1.5 line-clamp-2 text-[13px] text-muted-foreground`},g={class:`mt-auto pt-3 text-xs text-muted-foreground`},_={__name:`NewsCard`,props:{post:{type:Object,required:!0}},setup(_){return(v,y)=>(n(),t(a(o),{href:`/neuigkeiten/${_.post.slug}`,class:`group flex h-full flex-col overflow-hidden rounded-lg border bg-card transition-shadow hover:shadow-md`},{default:e(()=>[c(d,{src:_.post.thumb_url,alt:_.post.title},null,8,[`src`,`alt`]),s(`div`,p,[c(u,{category:_.post.category},null,8,[`category`]),s(`h3`,m,l(_.post.title),1),_.post.teaser?(n(),r(`p`,h,l(_.post.teaser),1)):i(``,!0),s(`p`,g,l(a(f)(_.post.published_at))+` · `+l(_.post.reading_minutes)+` Min.`,1)])]),_:1},8,[`href`]))}};export{_ as t};
|
||||
|
|
@ -1 +1 @@
|
|||
import{Wt as e,X as t,Y as n,ir as r,rt as i,ur as a}from"./app-MYLsojOs.js";import{M as o}from"./BrandLogo-DrNIsjbn.js";var s=o({name:`newspaper`,size:24,node:[[`path`,{d:`M15 18h-5`,key:`95g1m2`}],[`path`,{d:`M18 14h-8`,key:`sponae`}],[`path`,{d:`M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2`,key:`39pd36`}],[`rect`,{width:`8`,height:`4`,x:`10`,y:`6`,rx:`1`,key:`aywv1n`}]]}),c={key:0,class:`text-[11px] font-semibold tracking-wide text-brand-text uppercase`},l={__name:`CategoryLabel`,props:{category:{type:Object,default:null}},setup(r){return(i,o)=>r.category?(e(),t(`span`,c,a(r.category.name),1)):n(``,!0)}},u={class:`relative aspect-video overflow-hidden bg-muted`},d=[`src`,`alt`],f={key:1,class:`grid size-full place-items-center bg-brand-soft`},p={__name:`NewsImage`,props:{src:{type:String,default:null},alt:{type:String,default:``}},setup(n){return(a,o)=>(e(),t(`div`,u,[n.src?(e(),t(`img`,{key:0,src:n.src,alt:n.alt,loading:`lazy`,class:`size-full object-cover`},null,8,d)):(e(),t(`div`,f,[i(r(s),{class:`size-1/4 max-h-10 max-w-10 text-brand-text opacity-60`,"stroke-width":1.5})]))]))}};export{l as n,s as r,p as t};
|
||||
import{Wt as e,X as t,Y as n,ir as r,rt as i,ur as a}from"./app-pzmLPgUT.js";import{M as o}from"./BrandLogo-C29snZpL.js";var s=o({name:`newspaper`,size:24,node:[[`path`,{d:`M15 18h-5`,key:`95g1m2`}],[`path`,{d:`M18 14h-8`,key:`sponae`}],[`path`,{d:`M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2`,key:`39pd36`}],[`rect`,{width:`8`,height:`4`,x:`10`,y:`6`,rx:`1`,key:`aywv1n`}]]}),c={key:0,class:`text-[11px] font-semibold tracking-wide text-brand-text uppercase`},l={__name:`CategoryLabel`,props:{category:{type:Object,default:null}},setup(r){return(i,o)=>r.category?(e(),t(`span`,c,a(r.category.name),1)):n(``,!0)}},u={class:`relative aspect-video overflow-hidden bg-muted`},d=[`src`,`alt`],f={key:1,class:`grid size-full place-items-center bg-brand-soft`},p={__name:`NewsImage`,props:{src:{type:String,default:null},alt:{type:String,default:``}},setup(n){return(a,o)=>(e(),t(`div`,u,[n.src?(e(),t(`img`,{key:0,src:n.src,alt:n.alt,loading:`lazy`,class:`size-full object-cover`},null,8,d)):(e(),t(`div`,f,[i(r(s),{class:`size-1/4 max-h-10 max-w-10 text-brand-text opacity-60`,"stroke-width":1.5})]))]))}};export{l as n,s as r,p as t};
|
||||
|
|
@ -1 +1 @@
|
|||
import{Cn as e,J as t,Wt as n,X as r,Y as i,Zt as a,ir as o,n as s,nt as c,q as l,rt as u,sr as d,ur as f}from"./app-MYLsojOs.js";import{t as p}from"./chevron-right-TSNALGob.js";var m={class:`rounded-lg border bg-card text-card-foreground`},h={key:0,class:`flex items-center justify-between gap-4 px-5 pt-4 pb-3`},g={class:`text-base font-semibold`},_={__name:`Panel`,props:{title:{type:String,default:``},actionLabel:{type:String,default:``},actionHref:{type:String,default:``}},setup(_){return(v,y)=>(n(),r(`section`,m,[_.title||v.$slots.actions?(n(),r(`header`,h,[l(`h2`,g,f(_.title),1),a(v.$slots,`actions`,{},()=>[_.actionHref?(n(),t(o(s),{key:0,href:_.actionHref,class:`inline-flex items-center gap-0.5 text-[13px] font-medium text-brand-text hover:underline`},{default:e(()=>[c(f(_.actionLabel)+` `,1),u(o(p),{class:`size-3.5`})]),_:1},8,[`href`])):i(``,!0)])])):i(``,!0),l(`div`,{class:d([`px-5 pb-5`,{"pt-5":!_.title&&!v.$slots.actions}])},[a(v.$slots,`default`)],2)]))}};export{_ as t};
|
||||
import{Cn as e,J as t,Wt as n,X as r,Y as i,Zt as a,ir as o,n as s,nt as c,q as l,rt as u,sr as d,ur as f}from"./app-pzmLPgUT.js";import{t as p}from"./chevron-right-waVs9Y2J.js";var m={class:`rounded-lg border bg-card text-card-foreground`},h={key:0,class:`flex items-center justify-between gap-4 px-5 pt-4 pb-3`},g={class:`text-base font-semibold`},_={__name:`Panel`,props:{title:{type:String,default:``},actionLabel:{type:String,default:``},actionHref:{type:String,default:``}},setup(_){return(v,y)=>(n(),r(`section`,m,[_.title||v.$slots.actions?(n(),r(`header`,h,[l(`h2`,g,f(_.title),1),a(v.$slots,`actions`,{},()=>[_.actionHref?(n(),t(o(s),{key:0,href:_.actionHref,class:`inline-flex items-center gap-0.5 text-[13px] font-medium text-brand-text hover:underline`},{default:e(()=>[c(f(_.actionLabel)+` `,1),u(o(p),{class:`size-3.5`})]),_:1},8,[`href`])):i(``,!0)])])):i(``,!0),l(`div`,{class:d([`px-5 pb-5`,{"pt-5":!_.title&&!v.$slots.actions}])},[a(v.$slots,`default`)],2)]))}};export{_ as t};
|
||||
|
|
@ -1 +1 @@
|
|||
import{Cn as e,J as t,Wt as n,ir as r,n as i,nt as a,q as o,rt as s,ur as c}from"./app-MYLsojOs.js";import{t as l}from"./arrow-right-BhqKnUAl.js";import{s as u}from"./AppLayout-v5yLFoy-.js";import{t as d}from"./Panel-94DyTEDp.js";var f={action:`/personen`,method:`get`,class:`relative`,role:`search`},p={__name:`PeopleSearch`,props:{count:{type:Number,required:!0}},setup(p){return(m,h)=>(n(),t(d,{title:`Personen finden`},{default:e(()=>[o(`form`,f,[s(r(u),{class:`pointer-events-none absolute top-1/2 left-3 size-4 -translate-y-1/2 text-muted-foreground`}),h[0]||=o(`input`,{name:`q`,type:`search`,placeholder:`Name, Funktion, Abteilung …`,class:`h-10 w-full rounded-md border border-input bg-background pr-3 pl-9 text-sm placeholder:text-muted-foreground focus-visible:border-brand-400 focus-visible:ring-3 focus-visible:ring-ring/30 focus-visible:outline-none`},null,-1)]),s(r(i),{href:`/personen`,class:`mt-4 flex items-center justify-between text-[13px] text-muted-foreground hover:text-foreground`},{default:e(()=>[a(c(p.count===1?`1 Person`:`${p.count.toLocaleString(`de-DE`)} Personen`)+` im Verzeichnis `,1),s(r(l),{class:`size-4`})]),_:1})]),_:1}))}};export{p as default};
|
||||
import{Cn as e,J as t,Wt as n,ir as r,n as i,nt as a,q as o,rt as s,ur as c}from"./app-pzmLPgUT.js";import{t as l}from"./arrow-right-1zpkUsu4.js";import{s as u}from"./AppLayout-BcYBb8UT.js";import{t as d}from"./Panel-B1e2j55x.js";var f={action:`/personen`,method:`get`,class:`relative`,role:`search`},p={__name:`PeopleSearch`,props:{count:{type:Number,required:!0}},setup(p){return(m,h)=>(n(),t(d,{title:`Personen finden`},{default:e(()=>[o(`form`,f,[s(r(u),{class:`pointer-events-none absolute top-1/2 left-3 size-4 -translate-y-1/2 text-muted-foreground`}),h[0]||=o(`input`,{name:`q`,type:`search`,placeholder:`Name, Funktion, Abteilung …`,class:`h-10 w-full rounded-md border border-input bg-background pr-3 pl-9 text-sm placeholder:text-muted-foreground focus-visible:border-brand-400 focus-visible:ring-3 focus-visible:ring-ring/30 focus-visible:outline-none`},null,-1)]),s(r(i),{href:`/personen`,class:`mt-4 flex items-center justify-between text-[13px] text-muted-foreground hover:text-foreground`},{default:e(()=>[a(c(p.count===1?`1 Person`:`${p.count.toLocaleString(`de-DE`)} Personen`)+` im Verzeichnis `,1),s(r(l),{class:`size-4`})]),_:1})]),_:1}))}};export{p as default};
|
||||
|
|
@ -1 +1 @@
|
|||
import{Cn as e,J as t,Wt as n,ir as r,n as i,q as a,rt as o}from"./app-MYLsojOs.js";import{a as s}from"./AppLayout-v5yLFoy-.js";var c={__name:`ProfileIncomplete`,setup(c){return(c,l)=>(n(),t(r(i),{href:`/profil/bearbeiten`,class:`flex items-start gap-3 rounded-lg border border-dashed border-brand-300 bg-card p-4 transition-colors hover:bg-brand-soft`},{default:e(()=>[o(r(s),{class:`mt-0.5 size-5 shrink-0 text-brand-text`}),l[0]||=a(`div`,null,[a(`div`,{class:`text-sm font-semibold`},`Profil vervollständigen`),a(`p`,{class:`mt-0.5 text-[13px] text-muted-foreground`},`Mit Foto und Funktion finden Kolleginnen und Kollegen Sie schneller.`)],-1)]),_:1}))}};export{c as default};
|
||||
import{Cn as e,J as t,Wt as n,ir as r,n as i,q as a,rt as o}from"./app-pzmLPgUT.js";import{a as s}from"./AppLayout-BcYBb8UT.js";var c={__name:`ProfileIncomplete`,setup(c){return(c,l)=>(n(),t(r(i),{href:`/profil/bearbeiten`,class:`flex items-start gap-3 rounded-lg border border-dashed border-brand-300 bg-card p-4 transition-colors hover:bg-brand-soft`},{default:e(()=>[o(r(s),{class:`mt-0.5 size-5 shrink-0 text-brand-text`}),l[0]||=a(`div`,null,[a(`div`,{class:`text-sm font-semibold`},`Profil vervollständigen`),a(`p`,{class:`mt-0.5 text-[13px] text-muted-foreground`},`Mit Foto und Funktion finden Kolleginnen und Kollegen Sie schneller.`)],-1)]),_:1}))}};export{c as default};
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
import{A as e,Cn as t,J as n,Wt as r,Y as i,ir as a,nt as o,q as s,r as c,rt as l}from"./app-MYLsojOs.js";import{j as u}from"./BrandLogo-DrNIsjbn.js";import{r as d,t as f}from"./FormField-BKlml3yH.js";import{t as p}from"./button-vECAuGF4.js";import{t as m}from"./GuestLayout-VCIzFk9L.js";var h={__name:`ResetPassword`,props:{email:{type:String,default:``},token:{type:String,required:!0}},setup(h){let g=h,_=c({token:g.token,email:g.email,password:``,password_confirmation:``});function v(){_.post(`/reset-password`,{onFinish:()=>_.reset(`password`,`password_confirmation`)})}return(c,h)=>(r(),n(m,{title:`Neues Passwort festlegen`,description:`Mindestens 10 Zeichen, mit Buchstaben und Ziffern.`},{default:t(()=>[s(`form`,{class:`grid gap-5`,onSubmit:e(v,[`prevent`])},[l(f,{id:`email`,label:`E-Mail-Adresse`,error:a(_).errors.email},{default:t(()=>[l(a(d),{id:`email`,modelValue:a(_).email,"onUpdate:modelValue":h[0]||=e=>a(_).email=e,type:`email`,autocomplete:`username`,class:`h-10`},null,8,[`modelValue`])]),_:1},8,[`error`]),l(f,{id:`password`,label:`Neues Passwort`,error:a(_).errors.password},{default:t(()=>[l(a(d),{id:`password`,modelValue:a(_).password,"onUpdate:modelValue":h[1]||=e=>a(_).password=e,type:`password`,autocomplete:`new-password`,autofocus:``,class:`h-10`},null,8,[`modelValue`])]),_:1},8,[`error`]),l(f,{id:`password_confirmation`,label:`Passwort wiederholen`},{default:t(()=>[l(a(d),{id:`password_confirmation`,modelValue:a(_).password_confirmation,"onUpdate:modelValue":h[2]||=e=>a(_).password_confirmation=e,type:`password`,autocomplete:`new-password`,class:`h-10`},null,8,[`modelValue`])]),_:1}),l(a(p),{type:`submit`,size:`lg`,class:`h-10 w-full`,disabled:a(_).processing},{default:t(()=>[a(_).processing?(r(),n(a(u),{key:0,class:`animate-spin`})):i(``,!0),h[3]||=o(` Passwort speichern `,-1)]),_:1},8,[`disabled`])],32)]),_:1}))}};export{h as default};
|
||||
import{A as e,Cn as t,J as n,Wt as r,Y as i,ir as a,nt as o,q as s,r as c,rt as l}from"./app-pzmLPgUT.js";import{j as u}from"./BrandLogo-C29snZpL.js";import{r as d,t as f}from"./FormField-D2j0-6XT.js";import{t as p}from"./button-rw3L_oXh.js";import{t as m}from"./GuestLayout-BsNXHxYF.js";var h={__name:`ResetPassword`,props:{email:{type:String,default:``},token:{type:String,required:!0}},setup(h){let g=h,_=c({token:g.token,email:g.email,password:``,password_confirmation:``});function v(){_.post(`/reset-password`,{onFinish:()=>_.reset(`password`,`password_confirmation`)})}return(c,h)=>(r(),n(m,{title:`Neues Passwort festlegen`,description:`Mindestens 10 Zeichen, mit Buchstaben und Ziffern.`},{default:t(()=>[s(`form`,{class:`grid gap-5`,onSubmit:e(v,[`prevent`])},[l(f,{id:`email`,label:`E-Mail-Adresse`,error:a(_).errors.email},{default:t(()=>[l(a(d),{id:`email`,modelValue:a(_).email,"onUpdate:modelValue":h[0]||=e=>a(_).email=e,type:`email`,autocomplete:`username`,class:`h-10`},null,8,[`modelValue`])]),_:1},8,[`error`]),l(f,{id:`password`,label:`Neues Passwort`,error:a(_).errors.password},{default:t(()=>[l(a(d),{id:`password`,modelValue:a(_).password,"onUpdate:modelValue":h[1]||=e=>a(_).password=e,type:`password`,autocomplete:`new-password`,autofocus:``,class:`h-10`},null,8,[`modelValue`])]),_:1},8,[`error`]),l(f,{id:`password_confirmation`,label:`Passwort wiederholen`},{default:t(()=>[l(a(d),{id:`password_confirmation`,modelValue:a(_).password_confirmation,"onUpdate:modelValue":h[2]||=e=>a(_).password_confirmation=e,type:`password`,autocomplete:`new-password`,class:`h-10`},null,8,[`modelValue`])]),_:1}),l(a(p),{type:`submit`,size:`lg`,class:`h-10 w-full`,disabled:a(_).processing},{default:t(()=>[a(_).processing?(r(),n(a(u),{key:0,class:`animate-spin`})):i(``,!0),h[3]||=o(` Passwort speichern `,-1)]),_:1},8,[`disabled`])],32)]),_:1}))}};export{h as default};
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
import{Cn as e,I as t,J as n,Wt as r,X as i,Xt as a,Y as o,ir as s,n as c,nt as l,q as u,rt as d,ur as f}from"./app-MYLsojOs.js";import{t as p}from"./arrow-left-DphFNiyS.js";import{n as m,t as h}from"./AppLayout-v5yLFoy-.js";import{t as g}from"./clock-DE6gq_Mr.js";import{n as _}from"./NewsImage-eMSWJ9oI.js";import{n as v}from"./format-Dlm0nTI_.js";import{t as y}from"./NewsCard-Dq1JrCp-.js";var b={class:`mx-auto max-w-3xl`},x={class:`mt-2 text-3xl leading-tight font-semibold tracking-tight sm:text-[34px]`},S={key:0,class:`mt-4 text-lg leading-relaxed text-muted-foreground`},C={class:`mt-6 flex flex-wrap items-center gap-x-6 gap-y-3 border-y py-4 text-sm`},w={class:`block font-medium`},T={key:0,class:`block text-xs text-muted-foreground`},E={class:`text-muted-foreground`},D={class:`inline-flex items-center gap-1.5 text-muted-foreground`},O=[`src`,`alt`],k=[`innerHTML`],A={key:0,class:`mx-auto mt-16 max-w-5xl`},j={class:`grid gap-5 sm:grid-cols-2 lg:grid-cols-3`},M={__name:`Show`,props:{post:{type:Object,required:!0},related:{type:Object,required:!0}},setup(M){return(N,P)=>(r(),n(h,{title:M.post.title},{default:e(()=>[u(`article`,b,[d(s(c),{href:`/neuigkeiten`,class:`mb-6 inline-flex items-center gap-1.5 text-sm font-medium text-muted-foreground hover:text-foreground`},{default:e(()=>[d(s(p),{class:`size-4`}),P[0]||=l(` Alle Neuigkeiten `,-1)]),_:1}),u(`header`,null,[d(_,{category:M.post.category},null,8,[`category`]),u(`h1`,x,f(M.post.title),1),M.post.teaser?(r(),i(`p`,S,f(M.post.teaser),1)):o(``,!0),u(`div`,C,[M.post.author?(r(),n(s(c),{key:0,href:`/personen/${M.post.author.id}`,class:`flex items-center gap-3 hover:underline`},{default:e(()=>[d(m,{person:M.post.author,class:`size-9`},null,8,[`person`]),u(`span`,null,[u(`span`,w,f(M.post.author.name),1),M.post.author.job_title?(r(),i(`span`,T,f(M.post.author.job_title),1)):o(``,!0)])]),_:1},8,[`href`])):o(``,!0),u(`span`,E,f(s(v)(M.post.published_at)),1),u(`span`,D,[d(s(g),{class:`size-4`}),l(` `+f(M.post.reading_minutes)+` Min. Lesezeit`,1)])])]),M.post.cover_url?(r(),i(`img`,{key:0,src:M.post.cover_url,alt:M.post.title,class:`mt-8 aspect-video w-full rounded-lg object-cover`},null,8,O)):o(``,!0),u(`div`,{class:`prose prose-neutral mt-8 max-w-none prose-headings:tracking-tight prose-img:rounded-lg`,innerHTML:M.post.body_html},null,8,k)]),M.related.data.length?(r(),i(`section`,A,[P[1]||=u(`h2`,{class:`mb-4 text-lg font-semibold`},`Weitere Beiträge`,-1),u(`div`,j,[(r(!0),i(t,null,a(M.related.data,e=>(r(),n(y,{key:e.id,post:e},null,8,[`post`]))),128))])])):o(``,!0)]),_:1},8,[`title`]))}};export{M as default};
|
||||
import{Cn as e,I as t,J as n,Wt as r,X as i,Xt as a,Y as o,ir as s,n as c,nt as l,q as u,rt as d,ur as f}from"./app-pzmLPgUT.js";import{t as p}from"./arrow-left-Nlq-Kbqv.js";import{n as m,t as h}from"./AppLayout-BcYBb8UT.js";import{t as g}from"./clock-DSdV1kIT.js";import{n as _}from"./NewsImage-D285dU1N.js";import{n as v}from"./format-Dlm0nTI_.js";import{t as y}from"./NewsCard-C1dTmb3u.js";var b={class:`mx-auto max-w-3xl`},x={class:`mt-2 text-3xl leading-tight font-semibold tracking-tight sm:text-[34px]`},S={key:0,class:`mt-4 text-lg leading-relaxed text-muted-foreground`},C={class:`mt-6 flex flex-wrap items-center gap-x-6 gap-y-3 border-y py-4 text-sm`},w={class:`block font-medium`},T={key:0,class:`block text-xs text-muted-foreground`},E={class:`text-muted-foreground`},D={class:`inline-flex items-center gap-1.5 text-muted-foreground`},O=[`src`,`alt`],k=[`innerHTML`],A={key:0,class:`mx-auto mt-16 max-w-5xl`},j={class:`grid gap-5 sm:grid-cols-2 lg:grid-cols-3`},M={__name:`Show`,props:{post:{type:Object,required:!0},related:{type:Object,required:!0}},setup(M){return(N,P)=>(r(),n(h,{title:M.post.title},{default:e(()=>[u(`article`,b,[d(s(c),{href:`/neuigkeiten`,class:`mb-6 inline-flex items-center gap-1.5 text-sm font-medium text-muted-foreground hover:text-foreground`},{default:e(()=>[d(s(p),{class:`size-4`}),P[0]||=l(` Alle Neuigkeiten `,-1)]),_:1}),u(`header`,null,[d(_,{category:M.post.category},null,8,[`category`]),u(`h1`,x,f(M.post.title),1),M.post.teaser?(r(),i(`p`,S,f(M.post.teaser),1)):o(``,!0),u(`div`,C,[M.post.author?(r(),n(s(c),{key:0,href:`/personen/${M.post.author.id}`,class:`flex items-center gap-3 hover:underline`},{default:e(()=>[d(m,{person:M.post.author,class:`size-9`},null,8,[`person`]),u(`span`,null,[u(`span`,w,f(M.post.author.name),1),M.post.author.job_title?(r(),i(`span`,T,f(M.post.author.job_title),1)):o(``,!0)])]),_:1},8,[`href`])):o(``,!0),u(`span`,E,f(s(v)(M.post.published_at)),1),u(`span`,D,[d(s(g),{class:`size-4`}),l(` `+f(M.post.reading_minutes)+` Min. Lesezeit`,1)])])]),M.post.cover_url?(r(),i(`img`,{key:0,src:M.post.cover_url,alt:M.post.title,class:`mt-8 aspect-video w-full rounded-lg object-cover`},null,8,O)):o(``,!0),u(`div`,{class:`prose prose-neutral mt-8 max-w-none prose-headings:tracking-tight prose-img:rounded-lg`,innerHTML:M.post.body_html},null,8,k)]),M.related.data.length?(r(),i(`section`,A,[P[1]||=u(`h2`,{class:`mb-4 text-lg font-semibold`},`Weitere Beiträge`,-1),u(`div`,j,[(r(!0),i(t,null,a(M.related.data,e=>(r(),n(y,{key:e.id,post:e},null,8,[`post`]))),128))])])):o(``,!0)]),_:1},8,[`title`]))}};export{M as default};
|
||||
1
public/build/assets/Show-Cq0mlREs.js
Normal file
1
public/build/assets/Show-Cq0mlREs.js
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
import{Cn as e,J as t,Wt as n,X as r,Y as i,ir as a,n as o,nt as s,q as c,rt as l,ur as u}from"./app-MYLsojOs.js";import{M as d}from"./BrandLogo-DrNIsjbn.js";import{t as f}from"./arrow-left-DphFNiyS.js";import{t as p}from"./AppLayout-v5yLFoy-.js";import{t as m}from"./clock-DE6gq_Mr.js";import{t as h}from"./map-pin-BTM0q2tD.js";import{t as g}from"./video-DNNeL4Uv.js";import{r as _}from"./format-Dlm0nTI_.js";import{t as v}from"./EventDateBlock-BkJqTF2m.js";import{t as y}from"./button-vECAuGF4.js";import{t as b}from"./Panel-94DyTEDp.js";var x=d({name:`calendar-plus`,size:24,node:[[`path`,{d:`M16 18h6`,key:`987eiv`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`path`,{d:`M19 15v6`,key:`10aioa`}],[`path`,{d:`M21 11.5V5a2 2 0 00-2-2H5a2 2 0 00-2 2v14a2 2 0 002 2h8.3`,key:`jgwkxf`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M8 2v3`,key:`1ioesn`}]]}),S={class:`mx-auto max-w-4xl`},C={class:`flex items-start gap-4`},w={class:`pt-1 text-2xl leading-tight font-semibold tracking-tight sm:text-3xl`},T=[`src`,`alt`],E={class:`mt-6 grid gap-6 lg:grid-cols-3`},D=[`innerHTML`],O={key:1,class:`text-sm text-muted-foreground`},k={class:`grid gap-4 text-sm`},A={class:`flex gap-3`},j={key:0,class:`flex gap-3`},M={key:1,class:`flex gap-3`},N={class:`min-w-0`},P={class:`truncate`},F=[`href`],I=[`href`],L={__name:`Show`,props:{event:{type:Object,required:!0}},setup(d){return(L,R)=>(n(),t(p,{title:d.event.title},{default:e(()=>[c(`div`,S,[l(a(o),{href:`/termine`,class:`mb-6 inline-flex items-center gap-1.5 text-sm font-medium text-muted-foreground hover:text-foreground`},{default:e(()=>[l(a(f),{class:`size-4`}),R[0]||=s(` Alle Termine `,-1)]),_:1}),c(`div`,C,[l(v,{date:d.event.starts_at,class:`w-16 py-2`},null,8,[`date`]),c(`h1`,w,u(d.event.title),1)]),d.event.image_url?(n(),r(`img`,{key:0,src:d.event.image_url,alt:d.event.title,class:`mt-6 aspect-video w-full rounded-lg object-cover`},null,8,T)):i(``,!0),c(`div`,E,[l(b,{title:`Beschreibung`,class:`lg:col-span-2`},{default:e(()=>[d.event.description_html?(n(),r(`div`,{key:0,class:`prose prose-neutral max-w-none text-[15px]`,innerHTML:d.event.description_html},null,8,D)):(n(),r(`p`,O,`Keine weiteren Informationen.`))]),_:1}),l(b,{title:`Details`,class:`content-start`},{default:e(()=>[c(`dl`,k,[c(`div`,A,[l(a(m),{class:`mt-0.5 size-4 shrink-0 text-muted-foreground`}),c(`div`,null,[R[1]||=c(`dt`,{class:`text-xs text-muted-foreground`},`Wann`,-1),c(`dd`,null,u(a(_)(d.event)),1)])]),d.event.location?(n(),r(`div`,j,[l(a(h),{class:`mt-0.5 size-4 shrink-0 text-muted-foreground`}),c(`div`,null,[R[2]||=c(`dt`,{class:`text-xs text-muted-foreground`},`Ort`,-1),c(`dd`,null,u(d.event.location),1)])])):i(``,!0),d.event.online_url?(n(),r(`div`,M,[l(a(g),{class:`mt-0.5 size-4 shrink-0 text-muted-foreground`}),c(`div`,N,[R[3]||=c(`dt`,{class:`text-xs text-muted-foreground`},`Online`,-1),c(`dd`,P,[c(`a`,{href:d.event.online_url,target:`_blank`,rel:`noopener`,class:`text-brand-text hover:underline`},`Zur Teilnahme`,8,F)])])])):i(``,!0)]),l(a(y),{variant:`outline`,class:`mt-5 w-full`,"as-child":``},{default:e(()=>[c(`a`,{href:`/termine/${d.event.id}/kalender.ics`},[l(a(x)),R[4]||=s(` In meinen Kalender`,-1)],8,I)]),_:1})]),_:1})])])]),_:1},8,[`title`]))}};export{L as default};
|
||||
import{Cn as e,J as t,Wt as n,X as r,Y as i,ir as a,n as o,nt as s,q as c,rt as l,ur as u}from"./app-pzmLPgUT.js";import{M as d}from"./BrandLogo-C29snZpL.js";import{t as f}from"./arrow-left-Nlq-Kbqv.js";import{t as p}from"./AppLayout-BcYBb8UT.js";import{t as m}from"./clock-DSdV1kIT.js";import{t as h}from"./map-pin-DQH1wpaU.js";import{t as g}from"./video-ewMVXn70.js";import{r as _}from"./format-Dlm0nTI_.js";import{t as v}from"./EventDateBlock-D0IUNW9x.js";import{t as y}from"./button-rw3L_oXh.js";import{t as b}from"./Panel-B1e2j55x.js";var x=d({name:`calendar-plus`,size:24,node:[[`path`,{d:`M16 18h6`,key:`987eiv`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`path`,{d:`M19 15v6`,key:`10aioa`}],[`path`,{d:`M21 11.5V5a2 2 0 00-2-2H5a2 2 0 00-2 2v14a2 2 0 002 2h8.3`,key:`jgwkxf`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M8 2v3`,key:`1ioesn`}]]}),S={class:`mx-auto max-w-4xl`},C={class:`flex items-start gap-4`},w={class:`pt-1 text-2xl leading-tight font-semibold tracking-tight sm:text-3xl`},T=[`src`,`alt`],E={class:`mt-6 grid gap-6 lg:grid-cols-3`},D=[`innerHTML`],O={key:1,class:`text-sm text-muted-foreground`},k={class:`grid gap-4 text-sm`},A={class:`flex gap-3`},j={key:0,class:`flex gap-3`},M={key:1,class:`flex gap-3`},N={class:`min-w-0`},P={class:`truncate`},F=[`href`],I=[`href`],L={__name:`Show`,props:{event:{type:Object,required:!0}},setup(d){return(L,R)=>(n(),t(p,{title:d.event.title},{default:e(()=>[c(`div`,S,[l(a(o),{href:`/termine`,class:`mb-6 inline-flex items-center gap-1.5 text-sm font-medium text-muted-foreground hover:text-foreground`},{default:e(()=>[l(a(f),{class:`size-4`}),R[0]||=s(` Alle Termine `,-1)]),_:1}),c(`div`,C,[l(v,{date:d.event.starts_at,class:`w-16 py-2`},null,8,[`date`]),c(`h1`,w,u(d.event.title),1)]),d.event.image_url?(n(),r(`img`,{key:0,src:d.event.image_url,alt:d.event.title,class:`mt-6 aspect-video w-full rounded-lg object-cover`},null,8,T)):i(``,!0),c(`div`,E,[l(b,{title:`Beschreibung`,class:`lg:col-span-2`},{default:e(()=>[d.event.description_html?(n(),r(`div`,{key:0,class:`prose prose-neutral max-w-none text-[15px]`,innerHTML:d.event.description_html},null,8,D)):(n(),r(`p`,O,`Keine weiteren Informationen.`))]),_:1}),l(b,{title:`Details`,class:`content-start`},{default:e(()=>[c(`dl`,k,[c(`div`,A,[l(a(m),{class:`mt-0.5 size-4 shrink-0 text-muted-foreground`}),c(`div`,null,[R[1]||=c(`dt`,{class:`text-xs text-muted-foreground`},`Wann`,-1),c(`dd`,null,u(a(_)(d.event)),1)])]),d.event.location?(n(),r(`div`,j,[l(a(h),{class:`mt-0.5 size-4 shrink-0 text-muted-foreground`}),c(`div`,null,[R[2]||=c(`dt`,{class:`text-xs text-muted-foreground`},`Ort`,-1),c(`dd`,null,u(d.event.location),1)])])):i(``,!0),d.event.online_url?(n(),r(`div`,M,[l(a(g),{class:`mt-0.5 size-4 shrink-0 text-muted-foreground`}),c(`div`,N,[R[3]||=c(`dt`,{class:`text-xs text-muted-foreground`},`Online`,-1),c(`dd`,P,[c(`a`,{href:d.event.online_url,target:`_blank`,rel:`noopener`,class:`text-brand-text hover:underline`},`Zur Teilnahme`,8,F)])])])):i(``,!0)]),l(a(y),{variant:`outline`,class:`mt-5 w-full`,"as-child":``},{default:e(()=>[c(`a`,{href:`/termine/${d.event.id}/kalender.ics`},[l(a(x)),R[4]||=s(` In meinen Kalender`,-1)],8,I)]),_:1})]),_:1})])])]),_:1},8,[`title`]))}};export{L as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{Cn as e,I as t,J as n,K as r,Wt as i,X as a,Xt as o,Y as s,en as c,ir as l,n as u,nt as d,q as f,rt as p,ur as m}from"./app-MYLsojOs.js";import{M as h}from"./BrandLogo-DrNIsjbn.js";import{t as g}from"./building-complex-Cx13i-zl.js";import{a as _,n as v,t as y}from"./AppLayout-v5yLFoy-.js";import{n as b,t as x}from"./phone-Djwp7miV.js";import{t as S}from"./map-pin-BTM0q2tD.js";import{t as C}from"./button-vECAuGF4.js";import{t as w}from"./Panel-94DyTEDp.js";var T=h({name:`smartphone`,size:24,node:[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,ry:`2`,key:`1yt0o3`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}]]}),E={class:`overflow-hidden rounded-lg border bg-card`},D={class:`flex flex-col gap-4 px-6 pb-6 sm:flex-row sm:items-end sm:justify-between`},O={class:`flex flex-col gap-4 sm:flex-row sm:items-end`},k={class:`sm:pb-1`},A={class:`text-2xl font-semibold tracking-tight`},j={key:0,class:`mt-0.5 text-[15px] text-muted-foreground`},M={class:`flex gap-2 sm:pb-1`},N=[`href`],P={class:`mt-6 grid gap-6 lg:grid-cols-12`},F={class:`grid gap-4`},I={class:`min-w-0`},L={class:`text-xs text-muted-foreground`},R={class:`truncate text-sm`},z=[`href`],B={class:`grid content-start gap-6 lg:col-span-7`},V={key:0,class:`text-sm leading-relaxed whitespace-pre-line`},H={key:1,class:`text-sm text-muted-foreground`},U={key:0,class:`mb-4`},W={class:`block text-sm font-semibold`},G={class:`block text-[13px] text-muted-foreground`},K={key:1},q={class:`flex flex-wrap gap-2`},J={__name:`Show`,props:{person:{type:Object,required:!0},isOwnProfile:{type:Boolean,default:!1}},setup(h){let J=h,Y=r(()=>[{icon:b,label:`E-Mail`,value:J.person.email,href:`mailto:${J.person.email}`},{icon:x,label:`Telefon`,value:J.person.phone,href:J.person.phone&&`tel:${J.person.phone}`},{icon:T,label:`Mobil`,value:J.person.mobile,href:J.person.mobile&&`tel:${J.person.mobile}`},{icon:g,label:`Abteilung`,value:J.person.department},{icon:S,label:`Standort`,value:J.person.location}].filter(e=>e.value));return(r,g)=>(i(),n(y,{title:h.person.name},{default:e(()=>[f(`section`,E,[g[2]||=f(`div`,{class:`h-28 bg-brand sm:h-32`,style:{"background-image":`linear-gradient(120deg, transparent 40%, rgb(255 255 255 / 0.08))`}},null,-1),f(`div`,D,[f(`div`,O,[p(v,{person:h.person,class:`-mt-14 size-28 text-2xl ring-4 ring-card`},null,8,[`person`]),f(`div`,k,[f(`h1`,A,m(h.person.name),1),h.person.job_title?(i(),a(`p`,j,m(h.person.job_title),1)):s(``,!0)])]),f(`div`,M,[h.isOwnProfile?(i(),n(l(C),{key:0,variant:`outline`,"as-child":``},{default:e(()=>[p(l(u),{href:`/profil/bearbeiten`},{default:e(()=>[p(l(_)),g[0]||=d(` Profil bearbeiten`,-1)]),_:1})]),_:1})):(i(),n(l(C),{key:1,"as-child":``},{default:e(()=>[f(`a`,{href:`mailto:${h.person.email}`},[p(l(b)),g[1]||=d(` E-Mail schreiben`,-1)],8,N)]),_:1}))])])]),f(`div`,P,[p(w,{title:`Kontakt`,class:`lg:col-span-5`},{default:e(()=>[f(`dl`,F,[(i(!0),a(t,null,o(Y.value,e=>(i(),a(`div`,{key:e.label,class:`flex items-start gap-3`},[(i(),n(c(e.icon),{class:`mt-0.5 size-4 shrink-0 text-muted-foreground`})),f(`div`,I,[f(`dt`,L,m(e.label),1),f(`dd`,R,[e.href?(i(),a(`a`,{key:0,href:e.href,class:`text-brand-text hover:underline`},m(e.value),9,z)):(i(),a(t,{key:1},[d(m(e.value),1)],64))])])]))),128))])]),_:1}),f(`div`,B,[p(w,{title:`Über mich`},{default:e(()=>[h.person.about?(i(),a(`p`,V,m(h.person.about),1)):(i(),a(`p`,H,`Noch keine Angaben.`))]),_:1}),h.person.manager||h.person.reports.length?(i(),n(w,{key:0,title:`Team`},{default:e(()=>[h.person.manager?(i(),a(`div`,U,[g[3]||=f(`div`,{class:`mb-2 text-xs text-muted-foreground`},`Vorgesetzte*r`,-1),p(l(u),{href:`/personen/${h.person.manager.id}`,class:`flex items-center gap-3 rounded-lg p-2 -m-2 hover:bg-accent`},{default:e(()=>[p(v,{person:h.person.manager,class:`size-10`},null,8,[`person`]),f(`span`,null,[f(`span`,W,m(h.person.manager.name),1),f(`span`,G,m(h.person.manager.job_title),1)])]),_:1},8,[`href`])])):s(``,!0),h.person.reports.length?(i(),a(`div`,K,[g[4]||=f(`div`,{class:`mb-2 text-xs text-muted-foreground`},`Mitarbeitende`,-1),f(`div`,q,[(i(!0),a(t,null,o(h.person.reports,t=>(i(),n(l(u),{key:t.id,href:`/personen/${t.id}`,title:t.name,class:`rounded-full hover:ring-2 hover:ring-brand-300`},{default:e(()=>[p(v,{person:t,class:`size-9`},null,8,[`person`])]),_:2},1032,[`href`,`title`]))),128))])])):s(``,!0)]),_:1})):s(``,!0)])])]),_:1},8,[`title`]))}};export{J as default};
|
||||
|
|
@ -1 +1 @@
|
|||
import{Cn as e,I as t,J as n,Wt as r,X as i,Xt as a,Y as o,ir as s,n as c,q as l,rt as u,ur as d}from"./app-MYLsojOs.js";import{t as f}from"./calendar-days-DALVb0Xh.js";import{t as p}from"./EmptyState-XRC3WPOS.js";import{r as m}from"./format-Dlm0nTI_.js";import{t as h}from"./EventDateBlock-BkJqTF2m.js";import{t as g}from"./Panel-94DyTEDp.js";var _={class:`min-w-0 pt-0.5`},v={class:`line-clamp-2 text-sm leading-snug font-semibold group-hover:underline`},y={class:`mt-0.5 text-xs text-muted-foreground`},b={key:0,class:`truncate text-xs text-muted-foreground`},x={__name:`EventListItem`,props:{event:{type:Object,required:!0}},setup(t){return(a,f)=>(r(),n(s(c),{href:`/termine/${t.event.id}`,class:`group flex items-start gap-3.5 py-3`},{default:e(()=>[u(h,{date:t.event.starts_at},null,8,[`date`]),l(`div`,_,[l(`h3`,v,d(t.event.title),1),l(`p`,y,d(s(m)(t.event)),1),t.event.location?(r(),i(`p`,b,d(t.event.location),1)):o(``,!0)])]),_:1},8,[`href`]))}},S={key:0,class:`-my-3 divide-y`},C={__name:`Upcoming`,props:{events:{type:Array,required:!0}},setup(o){return(c,l)=>(r(),n(g,{title:`Termine`,"action-label":`Alle Termine`,"action-href":`/termine`},{default:e(()=>[o.events.length?(r(),i(`div`,S,[(r(!0),i(t,null,a(o.events,e=>(r(),n(x,{key:e.id,event:e},null,8,[`event`]))),128))])):(r(),n(p,{key:1,icon:s(f),title:`Keine anstehenden Termine`,class:`py-6`},null,8,[`icon`]))]),_:1}))}};export{C as default};
|
||||
import{Cn as e,I as t,J as n,Wt as r,X as i,Xt as a,Y as o,ir as s,n as c,q as l,rt as u,ur as d}from"./app-pzmLPgUT.js";import{t as f}from"./calendar-days-DPX9Rknt.js";import{t as p}from"./EmptyState-ms-RUhSx.js";import{r as m}from"./format-Dlm0nTI_.js";import{t as h}from"./EventDateBlock-D0IUNW9x.js";import{t as g}from"./Panel-B1e2j55x.js";var _={class:`min-w-0 pt-0.5`},v={class:`line-clamp-2 text-sm leading-snug font-semibold group-hover:underline`},y={class:`mt-0.5 text-xs text-muted-foreground`},b={key:0,class:`truncate text-xs text-muted-foreground`},x={__name:`EventListItem`,props:{event:{type:Object,required:!0}},setup(t){return(a,f)=>(r(),n(s(c),{href:`/termine/${t.event.id}`,class:`group flex items-start gap-3.5 py-3`},{default:e(()=>[u(h,{date:t.event.starts_at},null,8,[`date`]),l(`div`,_,[l(`h3`,v,d(t.event.title),1),l(`p`,y,d(s(m)(t.event)),1),t.event.location?(r(),i(`p`,b,d(t.event.location),1)):o(``,!0)])]),_:1},8,[`href`]))}},S={key:0,class:`-my-3 divide-y`},C={__name:`Upcoming`,props:{events:{type:Array,required:!0}},setup(o){return(c,l)=>(r(),n(g,{title:`Termine`,"action-label":`Alle Termine`,"action-href":`/termine`},{default:e(()=>[o.events.length?(r(),i(`div`,S,[(r(!0),i(t,null,a(o.events,e=>(r(),n(x,{key:e.id,event:e},null,8,[`event`]))),128))])):(r(),n(p,{key:1,icon:s(f),title:`Keine anstehenden Termine`,class:`py-6`},null,8,[`icon`]))]),_:1}))}};export{C as default};
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
import{M as e}from"./BrandLogo-DrNIsjbn.js";var t=e({name:`arrow-left`,size:24,node:[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]});export{t};
|
||||
import{M as e}from"./BrandLogo-C29snZpL.js";var t=e({name:`arrow-left`,size:24,node:[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]});export{t};
|
||||
|
|
@ -1 +1 @@
|
|||
import{M as e}from"./BrandLogo-DrNIsjbn.js";var t=e({name:`arrow-right`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]});export{t};
|
||||
import{M as e}from"./BrandLogo-C29snZpL.js";var t=e({name:`arrow-right`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]});export{t};
|
||||
|
|
@ -1 +1 @@
|
|||
import{M as e}from"./BrandLogo-DrNIsjbn.js";var t=e({name:`building-complex`,size:24,node:[[`path`,{d:`M10 12h4`,key:`a56b0p`}],[`path`,{d:`M10 8h4`,key:`1sr2af`}],[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`,key:`1rgiei`}],[`path`,{d:`M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2`,key:`secmi2`}],[`path`,{d:`M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16`,key:`16ra0t`}]],aliases:[`building-2`]});export{t};
|
||||
import{M as e}from"./BrandLogo-C29snZpL.js";var t=e({name:`building-complex`,size:24,node:[[`path`,{d:`M10 12h4`,key:`a56b0p`}],[`path`,{d:`M10 8h4`,key:`1sr2af`}],[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`,key:`1rgiei`}],[`path`,{d:`M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2`,key:`secmi2`}],[`path`,{d:`M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16`,key:`16ra0t`}]],aliases:[`building-2`]});export{t};
|
||||
|
|
@ -1 +1 @@
|
|||
import{Cn as e,J as t,Wt as n,Zt as r,at as i,ir as a,sr as o}from"./app-MYLsojOs.js";import{m as s,n as c,r as l}from"./BrandLogo-DrNIsjbn.js";var u=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,d=l,f=(e,t)=>n=>{if(t?.variants==null)return d(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=u(t)||u(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return d(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)},p=i({__name:`Button`,props:{variant:{},size:{},class:{type:[Boolean,null,String,Object,Array]},asChild:{type:Boolean},as:{default:`button`}},setup(i){let l=i;return(u,d)=>(n(),t(a(s),{"data-slot":`button`,"data-variant":i.variant,"data-size":i.size,as:i.as,"as-child":i.asChild,class:o(a(c)(a(m)({variant:i.variant,size:i.size}),l.class))},{default:e(()=>[r(u.$slots,`default`)]),_:3},8,[`data-variant`,`data-size`,`as`,`as-child`,`class`]))}}),m=f(`inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive`,{variants:{variant:{default:`bg-primary text-primary-foreground hover:bg-primary/90`,destructive:`bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60`,outline:`border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50`,secondary:`bg-secondary text-secondary-foreground hover:bg-secondary/80`,ghost:`hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50`,link:`text-primary underline-offset-4 hover:underline`},size:{default:`h-9 px-4 py-2 has-[>svg]:px-3`,xs:`h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3`,sm:`h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5`,lg:`h-10 rounded-md px-6 has-[>svg]:px-4`,icon:`size-9`,"icon-xs":`size-6 rounded-md [&_svg:not([class*='size-'])]:size-3`,"icon-sm":`size-8`,"icon-lg":`size-10`}},defaultVariants:{variant:`default`,size:`default`}});export{p as t};
|
||||
import{Cn as e,J as t,Wt as n,Zt as r,at as i,ir as a,sr as o}from"./app-pzmLPgUT.js";import{m as s,n as c,r as l}from"./BrandLogo-C29snZpL.js";var u=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,d=l,f=(e,t)=>n=>{if(t?.variants==null)return d(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=u(t)||u(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return d(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)},p=i({__name:`Button`,props:{variant:{},size:{},class:{type:[Boolean,null,String,Object,Array]},asChild:{type:Boolean},as:{default:`button`}},setup(i){let l=i;return(u,d)=>(n(),t(a(s),{"data-slot":`button`,"data-variant":i.variant,"data-size":i.size,as:i.as,"as-child":i.asChild,class:o(a(c)(a(m)({variant:i.variant,size:i.size}),l.class))},{default:e(()=>[r(u.$slots,`default`)]),_:3},8,[`data-variant`,`data-size`,`as`,`as-child`,`class`]))}}),m=f(`inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive`,{variants:{variant:{default:`bg-primary text-primary-foreground hover:bg-primary/90`,destructive:`bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60`,outline:`border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50`,secondary:`bg-secondary text-secondary-foreground hover:bg-secondary/80`,ghost:`hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50`,link:`text-primary underline-offset-4 hover:underline`},size:{default:`h-9 px-4 py-2 has-[>svg]:px-3`,xs:`h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3`,sm:`h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5`,lg:`h-10 rounded-md px-6 has-[>svg]:px-4`,icon:`size-9`,"icon-xs":`size-6 rounded-md [&_svg:not([class*='size-'])]:size-3`,"icon-sm":`size-8`,"icon-lg":`size-10`}},defaultVariants:{variant:`default`,size:`default`}});export{p as t};
|
||||
|
|
@ -1 +1 @@
|
|||
import{M as e}from"./BrandLogo-DrNIsjbn.js";var t=e({name:`calendar-days`,size:24,node:[[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M8 13h.01`,key:`1sbv64`}],[`path`,{d:`M12 13h.01`,key:`y0uutt`}],[`path`,{d:`M16 13h.01`,key:`wip0gl`}],[`path`,{d:`M8 17h.01`,key:`p3bg7i`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}],[`path`,{d:`M16 17h.01`,key:`ql8jdd`}]]});export{t};
|
||||
import{M as e}from"./BrandLogo-C29snZpL.js";var t=e({name:`calendar-days`,size:24,node:[[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M8 13h.01`,key:`1sbv64`}],[`path`,{d:`M12 13h.01`,key:`y0uutt`}],[`path`,{d:`M16 13h.01`,key:`wip0gl`}],[`path`,{d:`M8 17h.01`,key:`p3bg7i`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}],[`path`,{d:`M16 17h.01`,key:`ql8jdd`}]]});export{t};
|
||||
|
|
@ -1 +1 @@
|
|||
import{M as e}from"./BrandLogo-DrNIsjbn.js";var t=e({name:`chevron-left`,size:24,node:[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]});export{t};
|
||||
import{M as e}from"./BrandLogo-C29snZpL.js";var t=e({name:`chevron-left`,size:24,node:[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]});export{t};
|
||||
|
|
@ -1 +1 @@
|
|||
import{M as e}from"./BrandLogo-DrNIsjbn.js";var t=e({name:`chevron-right`,size:24,node:[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]});export{t};
|
||||
import{M as e}from"./BrandLogo-C29snZpL.js";var t=e({name:`chevron-right`,size:24,node:[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]});export{t};
|
||||
|
|
@ -1 +1 @@
|
|||
import{M as e}from"./BrandLogo-DrNIsjbn.js";var t=e({name:`clock`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]});export{t};
|
||||
import{M as e}from"./BrandLogo-C29snZpL.js";var t=e({name:`clock`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]});export{t};
|
||||
|
|
@ -1 +1 @@
|
|||
import{Jn as e,K as t,Rt as n,Zn as r,ir as i,jt as a,nr as o,pt as s,vn as c,vt as l,yn as u}from"./app-MYLsojOs.js";import{a as d,c as f,d as p,i as m,o as h,p as g,s as _,u as v}from"./BrandLogo-DrNIsjbn.js";var y=d?window:void 0;d&&window.document,d&&window.navigator,d&&window.location;function b(e){let t=o(e);return t?.$el??t}function x(...e){let n=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),r=t(()=>{let t=v(o(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return g(()=>[r.value?.map(e=>b(e))??[y].filter(e=>e!=null),v(o(r.value?e[1]:e[0])),v(i(r.value?e[2]:e[1])),o(r.value?e[3]:e[2])],([e,t,r,i],a,o)=>{if(!e?.length||!t?.length||!r?.length)return;let s=_(i)?{...i}:i,c=e.flatMap(e=>t.flatMap(t=>r.map(r=>n(e,t,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function S(){let e=r(!1),t=s();return t&&n(()=>{e.value=!0},t),e}function C(e){let n=S();return t(()=>(n.value,!!e()))}var w=Symbol(`vueuse-ssr-width`);function T(){let e=l()?m(w,null):null;return typeof e==`number`?e:void 0}function E(e,n={}){let{window:i=y,ssrWidth:a=T()}=n,s=C(()=>i&&`matchMedia`in i&&typeof i.matchMedia==`function`),c=r(typeof a==`number`),l=r(),d=r(!1);return u(()=>{if(c.value){c.value=!s.value;let t=o(e).split(`,`);d.value=t.some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),r=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),i=!!(n||r);return n&&i&&(i=a>=f(n[1])),r&&i&&(i=a<=f(r[1])),t?!i:i});return}s.value&&(l.value=i.matchMedia(o(e)),d.value=l.value.matches)}),x(l,`change`,e=>{d.value=e.matches},{passive:!0}),t(()=>d.value)}function D(e){return JSON.parse(JSON.stringify(e))}function O(e,n,r={}){let{window:i=y,...a}=r,s,l=C(()=>i&&`ResizeObserver`in i),u=()=>{s&&=(s.disconnect(),void 0)},d=t(()=>{let t=o(e);return Array.isArray(t)?t.map(e=>b(e)):[b(t)]}),f=c(d,e=>{if(u(),l.value&&i){s=new ResizeObserver(n);for(let t of e)t instanceof Element&&s.observe(t,a)}},{immediate:!0,flush:`post`}),m=()=>{u(),f()};return p(m),{isSupported:l,stop:m}}function k(n,r,i,o={}){var l,u;let{clone:d=!1,passive:f=!1,eventName:p,deep:m=!1,defaultValue:g,shouldEmit:_}=o,v=s(),y=i||v?.emit||(v==null||(l=v.$emit)==null?void 0:l.bind(v))||(v==null||(u=v.proxy)==null||(u=u.$emit)==null?void 0:u.bind(v?.proxy)),b=p;r||=`modelValue`,b||=`update:${r.toString()}`;let x=e=>d?typeof d==`function`?d(e):D(e):e,S=()=>h(n[r])?x(n[r]):g,C=e=>{_?_(e)&&y(b,e):y(b,e)};if(f){let t=S(),i=e(t),o=!1;return c(()=>n[r],e=>{o||(o=!0,i.value=x(e),a(()=>o=!1))}),c(i,e=>{!o&&(e!==n[r]||m)&&C(e)},{deep:m}),i}return t({get(){return S()},set(e){C(e)}})}export{k as i,E as n,O as r,x as t};
|
||||
import{Jn as e,K as t,Rt as n,Zn as r,ir as i,jt as a,nr as o,pt as s,vn as c,vt as l,yn as u}from"./app-pzmLPgUT.js";import{a as d,c as f,d as p,i as m,o as h,p as g,s as _,u as v}from"./BrandLogo-C29snZpL.js";var y=d?window:void 0;d&&window.document,d&&window.navigator,d&&window.location;function b(e){let t=o(e);return t?.$el??t}function x(...e){let n=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),r=t(()=>{let t=v(o(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return g(()=>[r.value?.map(e=>b(e))??[y].filter(e=>e!=null),v(o(r.value?e[1]:e[0])),v(i(r.value?e[2]:e[1])),o(r.value?e[3]:e[2])],([e,t,r,i],a,o)=>{if(!e?.length||!t?.length||!r?.length)return;let s=_(i)?{...i}:i,c=e.flatMap(e=>t.flatMap(t=>r.map(r=>n(e,t,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function S(){let e=r(!1),t=s();return t&&n(()=>{e.value=!0},t),e}function C(e){let n=S();return t(()=>(n.value,!!e()))}var w=Symbol(`vueuse-ssr-width`);function T(){let e=l()?m(w,null):null;return typeof e==`number`?e:void 0}function E(e,n={}){let{window:i=y,ssrWidth:a=T()}=n,s=C(()=>i&&`matchMedia`in i&&typeof i.matchMedia==`function`),c=r(typeof a==`number`),l=r(),d=r(!1);return u(()=>{if(c.value){c.value=!s.value;let t=o(e).split(`,`);d.value=t.some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),r=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),i=!!(n||r);return n&&i&&(i=a>=f(n[1])),r&&i&&(i=a<=f(r[1])),t?!i:i});return}s.value&&(l.value=i.matchMedia(o(e)),d.value=l.value.matches)}),x(l,`change`,e=>{d.value=e.matches},{passive:!0}),t(()=>d.value)}function D(e){return JSON.parse(JSON.stringify(e))}function O(e,n,r={}){let{window:i=y,...a}=r,s,l=C(()=>i&&`ResizeObserver`in i),u=()=>{s&&=(s.disconnect(),void 0)},d=t(()=>{let t=o(e);return Array.isArray(t)?t.map(e=>b(e)):[b(t)]}),f=c(d,e=>{if(u(),l.value&&i){s=new ResizeObserver(n);for(let t of e)t instanceof Element&&s.observe(t,a)}},{immediate:!0,flush:`post`}),m=()=>{u(),f()};return p(m),{isSupported:l,stop:m}}function k(n,r,i,o={}){var l,u;let{clone:d=!1,passive:f=!1,eventName:p,deep:m=!1,defaultValue:g,shouldEmit:_}=o,v=s(),y=i||v?.emit||(v==null||(l=v.$emit)==null?void 0:l.bind(v))||(v==null||(u=v.proxy)==null||(u=u.$emit)==null?void 0:u.bind(v?.proxy)),b=p;r||=`modelValue`,b||=`update:${r.toString()}`;let x=e=>d?typeof d==`function`?d(e):D(e):e,S=()=>h(n[r])?x(n[r]):g,C=e=>{_?_(e)&&y(b,e):y(b,e)};if(f){let t=S(),i=e(t),o=!1;return c(()=>n[r],e=>{o||(o=!0,i.value=x(e),a(()=>o=!1))}),c(i,e=>{!o&&(e!==n[r]||m)&&C(e)},{deep:m}),i}return t({get(){return S()},set(e){C(e)}})}export{k as i,E as n,O as r,x as t};
|
||||
|
|
@ -1 +1 @@
|
|||
import{M as e}from"./BrandLogo-DrNIsjbn.js";var t=e({name:`map-pin`,size:24,node:[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]});export{t};
|
||||
import{M as e}from"./BrandLogo-C29snZpL.js";var t=e({name:`map-pin`,size:24,node:[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]});export{t};
|
||||
|
|
@ -1 +1 @@
|
|||
import{M as e}from"./BrandLogo-DrNIsjbn.js";var t=e({name:`mail`,size:24,node:[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]}),n=e({name:`phone`,size:24,node:[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]});export{t as n,n as t};
|
||||
import{M as e}from"./BrandLogo-C29snZpL.js";var t=e({name:`mail`,size:24,node:[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]}),n=e({name:`phone`,size:24,node:[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]});export{t as n,n as t};
|
||||
|
|
@ -1 +1 @@
|
|||
import{M as e}from"./BrandLogo-DrNIsjbn.js";var t=e({name:`video`,size:24,node:[[`path`,{d:`m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5`,key:`ftymec`}],[`rect`,{x:`2`,y:`6`,width:`14`,height:`12`,rx:`2`,key:`158x01`}]]});export{t};
|
||||
import{M as e}from"./BrandLogo-C29snZpL.js";var t=e({name:`video`,size:24,node:[[`path`,{d:`m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5`,key:`ftymec`}],[`rect`,{x:`2`,y:`6`,width:`14`,height:`12`,rx:`2`,key:`158x01`}]]});export{t};
|
||||
|
|
@ -1,173 +1,173 @@
|
|||
{
|
||||
"_AppLayout-v5yLFoy-.js": {
|
||||
"file": "assets/AppLayout-v5yLFoy-.js",
|
||||
"_AppLayout-BcYBb8UT.js": {
|
||||
"file": "assets/AppLayout-BcYBb8UT.js",
|
||||
"name": "AppLayout",
|
||||
"imports": [
|
||||
"_RovingFocusGroup-DkcHeYFw.js",
|
||||
"_RovingFocusGroup-D5MBFJh6.js",
|
||||
"resources/js/app.js",
|
||||
"_BrandLogo-DrNIsjbn.js"
|
||||
"_BrandLogo-C29snZpL.js"
|
||||
]
|
||||
},
|
||||
"_BrandLogo-DrNIsjbn.js": {
|
||||
"file": "assets/BrandLogo-DrNIsjbn.js",
|
||||
"_BrandLogo-C29snZpL.js": {
|
||||
"file": "assets/BrandLogo-C29snZpL.js",
|
||||
"name": "BrandLogo",
|
||||
"imports": [
|
||||
"resources/js/app.js"
|
||||
]
|
||||
},
|
||||
"_EmptyState-XRC3WPOS.js": {
|
||||
"file": "assets/EmptyState-XRC3WPOS.js",
|
||||
"_EmptyState-ms-RUhSx.js": {
|
||||
"file": "assets/EmptyState-ms-RUhSx.js",
|
||||
"name": "EmptyState",
|
||||
"imports": [
|
||||
"resources/js/app.js"
|
||||
]
|
||||
},
|
||||
"_EventDateBlock-BkJqTF2m.js": {
|
||||
"file": "assets/EventDateBlock-BkJqTF2m.js",
|
||||
"_EventDateBlock-D0IUNW9x.js": {
|
||||
"file": "assets/EventDateBlock-D0IUNW9x.js",
|
||||
"name": "EventDateBlock",
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_format-Dlm0nTI_.js"
|
||||
]
|
||||
},
|
||||
"_FormField-BKlml3yH.js": {
|
||||
"file": "assets/FormField-BKlml3yH.js",
|
||||
"_FormField-D2j0-6XT.js": {
|
||||
"file": "assets/FormField-D2j0-6XT.js",
|
||||
"name": "FormField",
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_BrandLogo-DrNIsjbn.js",
|
||||
"_dist-BdhYCpXi.js"
|
||||
"_BrandLogo-C29snZpL.js",
|
||||
"_dist-DKtU4TaC.js"
|
||||
]
|
||||
},
|
||||
"_GuestLayout-VCIzFk9L.js": {
|
||||
"file": "assets/GuestLayout-VCIzFk9L.js",
|
||||
"_GuestLayout-BsNXHxYF.js": {
|
||||
"file": "assets/GuestLayout-BsNXHxYF.js",
|
||||
"name": "GuestLayout",
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_BrandLogo-DrNIsjbn.js"
|
||||
"_BrandLogo-C29snZpL.js"
|
||||
]
|
||||
},
|
||||
"_NewsCard-Dq1JrCp-.js": {
|
||||
"file": "assets/NewsCard-Dq1JrCp-.js",
|
||||
"_NewsCard-C1dTmb3u.js": {
|
||||
"file": "assets/NewsCard-C1dTmb3u.js",
|
||||
"name": "NewsCard",
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_NewsImage-eMSWJ9oI.js",
|
||||
"_NewsImage-D285dU1N.js",
|
||||
"_format-Dlm0nTI_.js"
|
||||
]
|
||||
},
|
||||
"_NewsImage-eMSWJ9oI.js": {
|
||||
"file": "assets/NewsImage-eMSWJ9oI.js",
|
||||
"_NewsImage-D285dU1N.js": {
|
||||
"file": "assets/NewsImage-D285dU1N.js",
|
||||
"name": "NewsImage",
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_BrandLogo-DrNIsjbn.js"
|
||||
"_BrandLogo-C29snZpL.js"
|
||||
]
|
||||
},
|
||||
"_Panel-94DyTEDp.js": {
|
||||
"file": "assets/Panel-94DyTEDp.js",
|
||||
"_Panel-B1e2j55x.js": {
|
||||
"file": "assets/Panel-B1e2j55x.js",
|
||||
"name": "Panel",
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_chevron-right-TSNALGob.js"
|
||||
"_chevron-right-waVs9Y2J.js"
|
||||
]
|
||||
},
|
||||
"_RovingFocusGroup-DkcHeYFw.js": {
|
||||
"file": "assets/RovingFocusGroup-DkcHeYFw.js",
|
||||
"_RovingFocusGroup-D5MBFJh6.js": {
|
||||
"file": "assets/RovingFocusGroup-D5MBFJh6.js",
|
||||
"name": "RovingFocusGroup",
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_BrandLogo-DrNIsjbn.js"
|
||||
"_BrandLogo-C29snZpL.js"
|
||||
]
|
||||
},
|
||||
"_arrow-left-DphFNiyS.js": {
|
||||
"file": "assets/arrow-left-DphFNiyS.js",
|
||||
"_arrow-left-Nlq-Kbqv.js": {
|
||||
"file": "assets/arrow-left-Nlq-Kbqv.js",
|
||||
"name": "arrow-left",
|
||||
"imports": [
|
||||
"_BrandLogo-DrNIsjbn.js"
|
||||
"_BrandLogo-C29snZpL.js"
|
||||
]
|
||||
},
|
||||
"_arrow-right-BhqKnUAl.js": {
|
||||
"file": "assets/arrow-right-BhqKnUAl.js",
|
||||
"_arrow-right-1zpkUsu4.js": {
|
||||
"file": "assets/arrow-right-1zpkUsu4.js",
|
||||
"name": "arrow-right",
|
||||
"imports": [
|
||||
"_BrandLogo-DrNIsjbn.js"
|
||||
"_BrandLogo-C29snZpL.js"
|
||||
]
|
||||
},
|
||||
"_building-complex-Cx13i-zl.js": {
|
||||
"file": "assets/building-complex-Cx13i-zl.js",
|
||||
"_building-complex-GupPn6Bw.js": {
|
||||
"file": "assets/building-complex-GupPn6Bw.js",
|
||||
"name": "building-complex",
|
||||
"imports": [
|
||||
"_BrandLogo-DrNIsjbn.js"
|
||||
"_BrandLogo-C29snZpL.js"
|
||||
]
|
||||
},
|
||||
"_button-vECAuGF4.js": {
|
||||
"file": "assets/button-vECAuGF4.js",
|
||||
"_button-rw3L_oXh.js": {
|
||||
"file": "assets/button-rw3L_oXh.js",
|
||||
"name": "button",
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_BrandLogo-DrNIsjbn.js"
|
||||
"_BrandLogo-C29snZpL.js"
|
||||
]
|
||||
},
|
||||
"_calendar-days-DALVb0Xh.js": {
|
||||
"file": "assets/calendar-days-DALVb0Xh.js",
|
||||
"_calendar-days-DPX9Rknt.js": {
|
||||
"file": "assets/calendar-days-DPX9Rknt.js",
|
||||
"name": "calendar-days",
|
||||
"imports": [
|
||||
"_BrandLogo-DrNIsjbn.js"
|
||||
"_BrandLogo-C29snZpL.js"
|
||||
]
|
||||
},
|
||||
"_chevron-left-CEFBER2t.js": {
|
||||
"file": "assets/chevron-left-CEFBER2t.js",
|
||||
"_chevron-left-Yu0yrCDS.js": {
|
||||
"file": "assets/chevron-left-Yu0yrCDS.js",
|
||||
"name": "chevron-left",
|
||||
"imports": [
|
||||
"_BrandLogo-DrNIsjbn.js"
|
||||
"_BrandLogo-C29snZpL.js"
|
||||
]
|
||||
},
|
||||
"_chevron-right-TSNALGob.js": {
|
||||
"file": "assets/chevron-right-TSNALGob.js",
|
||||
"_chevron-right-waVs9Y2J.js": {
|
||||
"file": "assets/chevron-right-waVs9Y2J.js",
|
||||
"name": "chevron-right",
|
||||
"imports": [
|
||||
"_BrandLogo-DrNIsjbn.js"
|
||||
"_BrandLogo-C29snZpL.js"
|
||||
]
|
||||
},
|
||||
"_clock-DE6gq_Mr.js": {
|
||||
"file": "assets/clock-DE6gq_Mr.js",
|
||||
"_clock-DSdV1kIT.js": {
|
||||
"file": "assets/clock-DSdV1kIT.js",
|
||||
"name": "clock",
|
||||
"imports": [
|
||||
"_BrandLogo-DrNIsjbn.js"
|
||||
"_BrandLogo-C29snZpL.js"
|
||||
]
|
||||
},
|
||||
"_dist-BdhYCpXi.js": {
|
||||
"file": "assets/dist-BdhYCpXi.js",
|
||||
"_dist-DKtU4TaC.js": {
|
||||
"file": "assets/dist-DKtU4TaC.js",
|
||||
"name": "dist",
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_BrandLogo-DrNIsjbn.js"
|
||||
"_BrandLogo-C29snZpL.js"
|
||||
]
|
||||
},
|
||||
"_format-Dlm0nTI_.js": {
|
||||
"file": "assets/format-Dlm0nTI_.js",
|
||||
"name": "format"
|
||||
},
|
||||
"_map-pin-BTM0q2tD.js": {
|
||||
"file": "assets/map-pin-BTM0q2tD.js",
|
||||
"_map-pin-DQH1wpaU.js": {
|
||||
"file": "assets/map-pin-DQH1wpaU.js",
|
||||
"name": "map-pin",
|
||||
"imports": [
|
||||
"_BrandLogo-DrNIsjbn.js"
|
||||
"_BrandLogo-C29snZpL.js"
|
||||
]
|
||||
},
|
||||
"_phone-Djwp7miV.js": {
|
||||
"file": "assets/phone-Djwp7miV.js",
|
||||
"_phone-lHr4Nfsf.js": {
|
||||
"file": "assets/phone-lHr4Nfsf.js",
|
||||
"name": "phone",
|
||||
"imports": [
|
||||
"_BrandLogo-DrNIsjbn.js"
|
||||
"_BrandLogo-C29snZpL.js"
|
||||
]
|
||||
},
|
||||
"_video-DNNeL4Uv.js": {
|
||||
"file": "assets/video-DNNeL4Uv.js",
|
||||
"_video-ewMVXn70.js": {
|
||||
"file": "assets/video-ewMVXn70.js",
|
||||
"name": "video",
|
||||
"imports": [
|
||||
"_BrandLogo-DrNIsjbn.js"
|
||||
"_BrandLogo-C29snZpL.js"
|
||||
]
|
||||
},
|
||||
"node_modules/@fontsource-variable/inter/files/inter-cyrillic-ext-wght-normal.woff2": {
|
||||
|
|
@ -199,124 +199,124 @@
|
|||
"src": "node_modules/@fontsource-variable/inter/files/inter-vietnamese-wght-normal.woff2"
|
||||
},
|
||||
"plugins-core/events/resources/js/pages/Index.vue": {
|
||||
"file": "assets/Index-D8ktO0YR.js",
|
||||
"file": "assets/Index-BiXABTGP.js",
|
||||
"name": "Index",
|
||||
"src": "plugins-core/events/resources/js/pages/Index.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_calendar-days-DALVb0Xh.js",
|
||||
"_AppLayout-v5yLFoy-.js",
|
||||
"_map-pin-BTM0q2tD.js",
|
||||
"_video-DNNeL4Uv.js",
|
||||
"_EmptyState-XRC3WPOS.js",
|
||||
"_calendar-days-DPX9Rknt.js",
|
||||
"_AppLayout-BcYBb8UT.js",
|
||||
"_map-pin-DQH1wpaU.js",
|
||||
"_video-ewMVXn70.js",
|
||||
"_EmptyState-ms-RUhSx.js",
|
||||
"_format-Dlm0nTI_.js",
|
||||
"_EventDateBlock-BkJqTF2m.js"
|
||||
"_EventDateBlock-D0IUNW9x.js"
|
||||
]
|
||||
},
|
||||
"plugins-core/events/resources/js/pages/Show.vue": {
|
||||
"file": "assets/Show-B2xeecOb.js",
|
||||
"file": "assets/Show-Cyv7hj5O.js",
|
||||
"name": "Show",
|
||||
"src": "plugins-core/events/resources/js/pages/Show.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_BrandLogo-DrNIsjbn.js",
|
||||
"_arrow-left-DphFNiyS.js",
|
||||
"_AppLayout-v5yLFoy-.js",
|
||||
"_clock-DE6gq_Mr.js",
|
||||
"_map-pin-BTM0q2tD.js",
|
||||
"_video-DNNeL4Uv.js",
|
||||
"_BrandLogo-C29snZpL.js",
|
||||
"_arrow-left-Nlq-Kbqv.js",
|
||||
"_AppLayout-BcYBb8UT.js",
|
||||
"_clock-DSdV1kIT.js",
|
||||
"_map-pin-DQH1wpaU.js",
|
||||
"_video-ewMVXn70.js",
|
||||
"_format-Dlm0nTI_.js",
|
||||
"_EventDateBlock-BkJqTF2m.js",
|
||||
"_button-vECAuGF4.js",
|
||||
"_Panel-94DyTEDp.js"
|
||||
"_EventDateBlock-D0IUNW9x.js",
|
||||
"_button-rw3L_oXh.js",
|
||||
"_Panel-B1e2j55x.js"
|
||||
]
|
||||
},
|
||||
"plugins-core/events/resources/js/widgets/Upcoming.vue": {
|
||||
"file": "assets/Upcoming-BFTKXeLQ.js",
|
||||
"file": "assets/Upcoming-B6cfYFBu.js",
|
||||
"name": "Upcoming",
|
||||
"src": "plugins-core/events/resources/js/widgets/Upcoming.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_calendar-days-DALVb0Xh.js",
|
||||
"_EmptyState-XRC3WPOS.js",
|
||||
"_calendar-days-DPX9Rknt.js",
|
||||
"_EmptyState-ms-RUhSx.js",
|
||||
"_format-Dlm0nTI_.js",
|
||||
"_EventDateBlock-BkJqTF2m.js",
|
||||
"_Panel-94DyTEDp.js"
|
||||
"_EventDateBlock-D0IUNW9x.js",
|
||||
"_Panel-B1e2j55x.js"
|
||||
]
|
||||
},
|
||||
"plugins-core/news/resources/js/pages/Index.vue": {
|
||||
"file": "assets/Index-C3k6he4k.js",
|
||||
"file": "assets/Index-SpuOnm9N.js",
|
||||
"name": "Index",
|
||||
"src": "plugins-core/news/resources/js/pages/Index.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_AppLayout-v5yLFoy-.js",
|
||||
"_chevron-left-CEFBER2t.js",
|
||||
"_chevron-right-TSNALGob.js",
|
||||
"_NewsImage-eMSWJ9oI.js",
|
||||
"_EmptyState-XRC3WPOS.js",
|
||||
"_button-vECAuGF4.js",
|
||||
"_NewsCard-Dq1JrCp-.js"
|
||||
"_AppLayout-BcYBb8UT.js",
|
||||
"_chevron-left-Yu0yrCDS.js",
|
||||
"_chevron-right-waVs9Y2J.js",
|
||||
"_NewsImage-D285dU1N.js",
|
||||
"_EmptyState-ms-RUhSx.js",
|
||||
"_button-rw3L_oXh.js",
|
||||
"_NewsCard-C1dTmb3u.js"
|
||||
]
|
||||
},
|
||||
"plugins-core/news/resources/js/pages/Show.vue": {
|
||||
"file": "assets/Show-BgXa0uz9.js",
|
||||
"file": "assets/Show-Bb-m9Kyp.js",
|
||||
"name": "Show",
|
||||
"src": "plugins-core/news/resources/js/pages/Show.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_arrow-left-DphFNiyS.js",
|
||||
"_AppLayout-v5yLFoy-.js",
|
||||
"_clock-DE6gq_Mr.js",
|
||||
"_NewsImage-eMSWJ9oI.js",
|
||||
"_arrow-left-Nlq-Kbqv.js",
|
||||
"_AppLayout-BcYBb8UT.js",
|
||||
"_clock-DSdV1kIT.js",
|
||||
"_NewsImage-D285dU1N.js",
|
||||
"_format-Dlm0nTI_.js",
|
||||
"_NewsCard-Dq1JrCp-.js"
|
||||
"_NewsCard-C1dTmb3u.js"
|
||||
]
|
||||
},
|
||||
"plugins-core/news/resources/js/widgets/Areas.vue": {
|
||||
"file": "assets/Areas-BMhN2iOR.js",
|
||||
"file": "assets/Areas-CcWhssrL.js",
|
||||
"name": "Areas",
|
||||
"src": "plugins-core/news/resources/js/widgets/Areas.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_Panel-94DyTEDp.js",
|
||||
"_NewsCard-Dq1JrCp-.js"
|
||||
"_Panel-B1e2j55x.js",
|
||||
"_NewsCard-C1dTmb3u.js"
|
||||
]
|
||||
},
|
||||
"plugins-core/news/resources/js/widgets/Hero.vue": {
|
||||
"file": "assets/Hero-Bo4pkV7P.js",
|
||||
"file": "assets/Hero-DtnKL-Ru.js",
|
||||
"name": "Hero",
|
||||
"src": "plugins-core/news/resources/js/widgets/Hero.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_BrandLogo-DrNIsjbn.js",
|
||||
"_arrow-right-BhqKnUAl.js",
|
||||
"_chevron-left-CEFBER2t.js",
|
||||
"_chevron-right-TSNALGob.js"
|
||||
"_BrandLogo-C29snZpL.js",
|
||||
"_arrow-right-1zpkUsu4.js",
|
||||
"_chevron-left-Yu0yrCDS.js",
|
||||
"_chevron-right-waVs9Y2J.js"
|
||||
]
|
||||
},
|
||||
"plugins-core/news/resources/js/widgets/Latest.vue": {
|
||||
"file": "assets/Latest-CamHXUK8.js",
|
||||
"file": "assets/Latest-CU6vyqBk.js",
|
||||
"name": "Latest",
|
||||
"src": "plugins-core/news/resources/js/widgets/Latest.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_NewsImage-eMSWJ9oI.js",
|
||||
"_EmptyState-XRC3WPOS.js",
|
||||
"_NewsImage-D285dU1N.js",
|
||||
"_EmptyState-ms-RUhSx.js",
|
||||
"_format-Dlm0nTI_.js",
|
||||
"_Panel-94DyTEDp.js"
|
||||
"_Panel-B1e2j55x.js"
|
||||
]
|
||||
},
|
||||
"resources/js/app.js": {
|
||||
"file": "assets/app-MYLsojOs.js",
|
||||
"file": "assets/app-pzmLPgUT.js",
|
||||
"name": "app",
|
||||
"src": "resources/js/app.js",
|
||||
"isEntry": true,
|
||||
|
|
@ -347,55 +347,55 @@
|
|||
]
|
||||
},
|
||||
"resources/js/pages/Auth/ForgotPassword.vue": {
|
||||
"file": "assets/ForgotPassword-eqR9LvO4.js",
|
||||
"file": "assets/ForgotPassword-CxmxJmeP.js",
|
||||
"name": "ForgotPassword",
|
||||
"src": "resources/js/pages/Auth/ForgotPassword.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_BrandLogo-DrNIsjbn.js",
|
||||
"_arrow-left-DphFNiyS.js",
|
||||
"_FormField-BKlml3yH.js",
|
||||
"_button-vECAuGF4.js",
|
||||
"_GuestLayout-VCIzFk9L.js"
|
||||
"_BrandLogo-C29snZpL.js",
|
||||
"_arrow-left-Nlq-Kbqv.js",
|
||||
"_FormField-D2j0-6XT.js",
|
||||
"_button-rw3L_oXh.js",
|
||||
"_GuestLayout-BsNXHxYF.js"
|
||||
]
|
||||
},
|
||||
"resources/js/pages/Auth/Login.vue": {
|
||||
"file": "assets/Login-BqOFEZet.js",
|
||||
"file": "assets/Login-CdlBQJaG.js",
|
||||
"name": "Login",
|
||||
"src": "resources/js/pages/Auth/Login.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_RovingFocusGroup-DkcHeYFw.js",
|
||||
"_RovingFocusGroup-D5MBFJh6.js",
|
||||
"resources/js/app.js",
|
||||
"_BrandLogo-DrNIsjbn.js",
|
||||
"_FormField-BKlml3yH.js",
|
||||
"_button-vECAuGF4.js",
|
||||
"_GuestLayout-VCIzFk9L.js"
|
||||
"_BrandLogo-C29snZpL.js",
|
||||
"_FormField-D2j0-6XT.js",
|
||||
"_button-rw3L_oXh.js",
|
||||
"_GuestLayout-BsNXHxYF.js"
|
||||
]
|
||||
},
|
||||
"resources/js/pages/Auth/ResetPassword.vue": {
|
||||
"file": "assets/ResetPassword-DZoK-7G1.js",
|
||||
"file": "assets/ResetPassword-DgtIs-CE.js",
|
||||
"name": "ResetPassword",
|
||||
"src": "resources/js/pages/Auth/ResetPassword.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_BrandLogo-DrNIsjbn.js",
|
||||
"_FormField-BKlml3yH.js",
|
||||
"_button-vECAuGF4.js",
|
||||
"_GuestLayout-VCIzFk9L.js"
|
||||
"_BrandLogo-C29snZpL.js",
|
||||
"_FormField-D2j0-6XT.js",
|
||||
"_button-rw3L_oXh.js",
|
||||
"_GuestLayout-BsNXHxYF.js"
|
||||
]
|
||||
},
|
||||
"resources/js/pages/Dashboard.vue": {
|
||||
"file": "assets/Dashboard-Bk-sc30i.js",
|
||||
"file": "assets/Dashboard-OciKXnca.js",
|
||||
"name": "Dashboard",
|
||||
"src": "resources/js/pages/Dashboard.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_AppLayout-v5yLFoy-.js",
|
||||
"_dist-BdhYCpXi.js"
|
||||
"_AppLayout-BcYBb8UT.js",
|
||||
"_dist-DKtU4TaC.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"resources/js/widgets/Greeting.vue",
|
||||
|
|
@ -410,110 +410,110 @@
|
|||
]
|
||||
},
|
||||
"resources/js/pages/People/Index.vue": {
|
||||
"file": "assets/Index-CsiXhdCv.js",
|
||||
"file": "assets/Index-sW2pnPCx.js",
|
||||
"name": "Index",
|
||||
"src": "resources/js/pages/People/Index.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_BrandLogo-DrNIsjbn.js",
|
||||
"_AppLayout-v5yLFoy-.js",
|
||||
"_chevron-left-CEFBER2t.js",
|
||||
"_chevron-right-TSNALGob.js",
|
||||
"_phone-Djwp7miV.js",
|
||||
"_button-vECAuGF4.js"
|
||||
"_BrandLogo-C29snZpL.js",
|
||||
"_AppLayout-BcYBb8UT.js",
|
||||
"_chevron-left-Yu0yrCDS.js",
|
||||
"_chevron-right-waVs9Y2J.js",
|
||||
"_phone-lHr4Nfsf.js",
|
||||
"_button-rw3L_oXh.js"
|
||||
]
|
||||
},
|
||||
"resources/js/pages/Profile/Edit.vue": {
|
||||
"file": "assets/Edit-BA2dXPZm.js",
|
||||
"file": "assets/Edit-DvsEJ217.js",
|
||||
"name": "Edit",
|
||||
"src": "resources/js/pages/Profile/Edit.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_BrandLogo-DrNIsjbn.js",
|
||||
"_AppLayout-v5yLFoy-.js",
|
||||
"_FormField-BKlml3yH.js",
|
||||
"_dist-BdhYCpXi.js",
|
||||
"_button-vECAuGF4.js",
|
||||
"_Panel-94DyTEDp.js"
|
||||
"_BrandLogo-C29snZpL.js",
|
||||
"_AppLayout-BcYBb8UT.js",
|
||||
"_FormField-D2j0-6XT.js",
|
||||
"_dist-DKtU4TaC.js",
|
||||
"_button-rw3L_oXh.js",
|
||||
"_Panel-B1e2j55x.js"
|
||||
]
|
||||
},
|
||||
"resources/js/pages/Profile/Show.vue": {
|
||||
"file": "assets/Show-WP9pc1wG.js",
|
||||
"file": "assets/Show-Cq0mlREs.js",
|
||||
"name": "Show",
|
||||
"src": "resources/js/pages/Profile/Show.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_BrandLogo-DrNIsjbn.js",
|
||||
"_building-complex-Cx13i-zl.js",
|
||||
"_AppLayout-v5yLFoy-.js",
|
||||
"_phone-Djwp7miV.js",
|
||||
"_map-pin-BTM0q2tD.js",
|
||||
"_button-vECAuGF4.js",
|
||||
"_Panel-94DyTEDp.js"
|
||||
"_BrandLogo-C29snZpL.js",
|
||||
"_building-complex-GupPn6Bw.js",
|
||||
"_AppLayout-BcYBb8UT.js",
|
||||
"_phone-lHr4Nfsf.js",
|
||||
"_map-pin-DQH1wpaU.js",
|
||||
"_button-rw3L_oXh.js",
|
||||
"_Panel-B1e2j55x.js"
|
||||
]
|
||||
},
|
||||
"resources/js/widgets/Greeting.vue": {
|
||||
"file": "assets/Greeting-DU01Xbsl.js",
|
||||
"file": "assets/Greeting-BjjhkMhh.js",
|
||||
"name": "Greeting",
|
||||
"src": "resources/js/widgets/Greeting.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_AppLayout-v5yLFoy-.js"
|
||||
"_AppLayout-BcYBb8UT.js"
|
||||
]
|
||||
},
|
||||
"resources/js/widgets/NewColleagues.vue": {
|
||||
"file": "assets/NewColleagues-4ohrCRab.js",
|
||||
"file": "assets/NewColleagues-wPKMb0Si.js",
|
||||
"name": "NewColleagues",
|
||||
"src": "resources/js/widgets/NewColleagues.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_AppLayout-v5yLFoy-.js",
|
||||
"_Panel-94DyTEDp.js"
|
||||
"_AppLayout-BcYBb8UT.js",
|
||||
"_Panel-B1e2j55x.js"
|
||||
]
|
||||
},
|
||||
"resources/js/widgets/PeopleSearch.vue": {
|
||||
"file": "assets/PeopleSearch-ngf0SA4B.js",
|
||||
"file": "assets/PeopleSearch-DnqKdBTP.js",
|
||||
"name": "PeopleSearch",
|
||||
"src": "resources/js/widgets/PeopleSearch.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_arrow-right-BhqKnUAl.js",
|
||||
"_AppLayout-v5yLFoy-.js",
|
||||
"_Panel-94DyTEDp.js"
|
||||
"_arrow-right-1zpkUsu4.js",
|
||||
"_AppLayout-BcYBb8UT.js",
|
||||
"_Panel-B1e2j55x.js"
|
||||
]
|
||||
},
|
||||
"resources/js/widgets/ProfileIncomplete.vue": {
|
||||
"file": "assets/ProfileIncomplete-CK6by2BC.js",
|
||||
"file": "assets/ProfileIncomplete-Y_BAWf9y.js",
|
||||
"name": "ProfileIncomplete",
|
||||
"src": "resources/js/widgets/ProfileIncomplete.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_AppLayout-v5yLFoy-.js"
|
||||
"_AppLayout-BcYBb8UT.js"
|
||||
]
|
||||
},
|
||||
"resources/js/widgets/QuickLinks.vue": {
|
||||
"file": "assets/QuickLinks-D9pmUcJb.js",
|
||||
"file": "assets/QuickLinks-Dw2D0dqg.js",
|
||||
"name": "QuickLinks",
|
||||
"src": "resources/js/widgets/QuickLinks.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"resources/js/app.js",
|
||||
"_BrandLogo-DrNIsjbn.js",
|
||||
"_building-complex-Cx13i-zl.js",
|
||||
"_calendar-days-DALVb0Xh.js",
|
||||
"_AppLayout-v5yLFoy-.js",
|
||||
"_chevron-left-CEFBER2t.js",
|
||||
"_chevron-right-TSNALGob.js",
|
||||
"_clock-DE6gq_Mr.js",
|
||||
"_phone-Djwp7miV.js",
|
||||
"_dist-BdhYCpXi.js"
|
||||
"_BrandLogo-C29snZpL.js",
|
||||
"_building-complex-GupPn6Bw.js",
|
||||
"_calendar-days-DPX9Rknt.js",
|
||||
"_AppLayout-BcYBb8UT.js",
|
||||
"_chevron-left-Yu0yrCDS.js",
|
||||
"_chevron-right-waVs9Y2J.js",
|
||||
"_clock-DSdV1kIT.js",
|
||||
"_phone-lHr4Nfsf.js",
|
||||
"_dist-DKtU4TaC.js"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -14,6 +14,7 @@ import AppLayout from '@/layouts/AppLayout.vue';
|
|||
const props = defineProps({
|
||||
profile: { type: Object, required: true },
|
||||
managed: { type: Array, default: () => [] },
|
||||
customFields: { type: Array, default: () => [] },
|
||||
});
|
||||
|
||||
const isManaged = (field) => props.managed.includes(field);
|
||||
|
|
@ -29,8 +30,22 @@ const form = useForm({
|
|||
phone: props.profile.phone ?? '',
|
||||
mobile: props.profile.mobile ?? '',
|
||||
about: props.profile.about ?? '',
|
||||
custom_fields: Object.fromEntries(props.customFields.map((field) => [field.key, field.value ?? ''])),
|
||||
});
|
||||
|
||||
const inputTypes = { email: 'email', phone: 'tel', url: 'url', date: 'date' };
|
||||
|
||||
function customHint(field) {
|
||||
const hints = [];
|
||||
|
||||
if (field.managed) hints.push('Wird aus Microsoft Entra ID übernommen.');
|
||||
else if (field.readonly) hints.push('Wird von der Personalverwaltung gepflegt.');
|
||||
if (field.restricted) hints.push('Nur für Sie und die Personalverwaltung sichtbar.');
|
||||
if (field.help) hints.push(field.help);
|
||||
|
||||
return hints.join(' ');
|
||||
}
|
||||
|
||||
function saveProfile() {
|
||||
form.put('/profil', {
|
||||
preserveScroll: true,
|
||||
|
|
@ -150,6 +165,36 @@ function savePassword() {
|
|||
<Textarea id="about" v-model="form.about" rows="4" maxlength="2000" />
|
||||
</FormField>
|
||||
</div>
|
||||
<div v-if="customFields.length" class="grid gap-5 border-t pt-5">
|
||||
<h3 class="text-sm font-semibold">Weitere Angaben</h3>
|
||||
<div class="grid gap-5 sm:grid-cols-2">
|
||||
<FormField
|
||||
v-for="field in customFields"
|
||||
:id="`custom-${field.key}`"
|
||||
:key="field.key"
|
||||
:label="field.label"
|
||||
:error="form.errors[`custom_fields.${field.key}`]"
|
||||
:hint="customHint(field)"
|
||||
:class="{ 'sm:col-span-2': field.type === 'textarea' }"
|
||||
>
|
||||
<Textarea
|
||||
v-if="field.type === 'textarea'"
|
||||
:id="`custom-${field.key}`"
|
||||
v-model="form.custom_fields[field.key]"
|
||||
rows="3"
|
||||
:disabled="field.readonly"
|
||||
/>
|
||||
<Input
|
||||
v-else
|
||||
:id="`custom-${field.key}`"
|
||||
v-model="form.custom_fields[field.key]"
|
||||
:type="inputTypes[field.type] ?? 'text'"
|
||||
:disabled="field.readonly"
|
||||
:aria-invalid="!!form.errors[`custom_fields.${field.key}`]"
|
||||
/>
|
||||
</FormField>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex justify-end border-t pt-5">
|
||||
<Button type="submit" :disabled="form.processing || !form.isDirty">
|
||||
<LoaderCircle v-if="form.processing" class="animate-spin" />
|
||||
|
|
|
|||
|
|
@ -19,6 +19,14 @@ const contact = computed(() => [
|
|||
{ icon: Building2, label: 'Abteilung', value: props.person.department },
|
||||
{ icon: MapPin, label: 'Standort', value: props.person.location },
|
||||
].filter((item) => item.value));
|
||||
|
||||
function fieldHref(field) {
|
||||
if (field.type === 'email') return `mailto:${field.value}`;
|
||||
if (field.type === 'phone') return `tel:${field.value}`;
|
||||
if (field.type === 'url' && /^https?:\/\//i.test(field.value)) return field.value;
|
||||
|
||||
return null;
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
@ -45,7 +53,8 @@ const contact = computed(() => [
|
|||
</section>
|
||||
|
||||
<div class="mt-6 grid gap-6 lg:grid-cols-12">
|
||||
<Panel title="Kontakt" class="lg:col-span-5">
|
||||
<div class="grid content-start gap-6 lg:col-span-5">
|
||||
<Panel title="Kontakt">
|
||||
<dl class="grid gap-4">
|
||||
<div v-for="item in contact" :key="item.label" class="flex items-start gap-3">
|
||||
<component :is="item.icon" class="mt-0.5 size-4 shrink-0 text-muted-foreground" />
|
||||
|
|
@ -60,6 +69,19 @@ const contact = computed(() => [
|
|||
</dl>
|
||||
</Panel>
|
||||
|
||||
<Panel v-if="person.fields?.length" title="Weitere Angaben">
|
||||
<dl class="grid gap-4">
|
||||
<div v-for="field in person.fields" :key="field.key" class="min-w-0">
|
||||
<dt class="text-xs text-muted-foreground">{{ field.label }}</dt>
|
||||
<dd class="text-sm break-words" :class="{ 'whitespace-pre-line': field.type === 'textarea' }">
|
||||
<a v-if="fieldHref(field)" :href="fieldHref(field)" class="text-brand-text hover:underline" :target="field.type === 'url' ? '_blank' : undefined" rel="noopener">{{ field.value }}</a>
|
||||
<template v-else>{{ field.value }}</template>
|
||||
</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</Panel>
|
||||
</div>
|
||||
|
||||
<div class="grid content-start gap-6 lg:col-span-7">
|
||||
<Panel title="Über mich">
|
||||
<p v-if="person.about" class="text-sm leading-relaxed whitespace-pre-line">{{ person.about }}</p>
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
c3c211ce45114a821f2b4da1aed81c1eaf655634
|
||||
fbab4eeb06e45af9ee9f6c9e0d83e17f762fbd04
|
||||
250
tests/Feature/Identity/EntraAttributeMappingTest.php
Normal file
250
tests/Feature/Identity/EntraAttributeMappingTest.php
Normal file
|
|
@ -0,0 +1,250 @@
|
|||
<?php
|
||||
|
||||
namespace Tests\Feature\Identity;
|
||||
|
||||
use App\Filament\Resources\IdentityProviders\Pages\EditIdentityProvider;
|
||||
use App\Identity\Entra\EntraAttributes;
|
||||
use App\Identity\Entra\EntraDirectorySync;
|
||||
use App\Models\ProfileField;
|
||||
use App\Models\User;
|
||||
use App\Models\UserIdentity;
|
||||
use Filament\Actions\Testing\TestAction;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Illuminate\Http\Client\Request;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
use Illuminate\Support\Facades\Http;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use Inertia\Testing\AssertableInertia as Assert;
|
||||
use Livewire\Livewire;
|
||||
use Tests\Support\FakeEntra;
|
||||
use Tests\TestCase;
|
||||
|
||||
class EntraAttributeMappingTest extends TestCase
|
||||
{
|
||||
use FakeEntra;
|
||||
use RefreshDatabase;
|
||||
|
||||
private const EXT = 'extension_0a1b2c3d4e5f60718293a4b5c6d7e8f9_eintritt';
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
Storage::fake('uploads');
|
||||
Cache::flush();
|
||||
|
||||
ProfileField::query()->create(['key' => 'personalnummer', 'label' => 'Personalnummer', 'visibility' => 'restricted', 'editable' => false]);
|
||||
ProfileField::query()->create(['key' => 'kostenstelle', 'label' => 'Kostenstelle']);
|
||||
ProfileField::query()->create(['key' => 'eintritt', 'label' => 'Eintrittsdatum', 'type' => 'date']);
|
||||
ProfileField::query()->create(['key' => 'station', 'label' => 'Station']);
|
||||
ProfileField::query()->create(['key' => 'sprachen', 'label' => 'Sprachen']);
|
||||
|
||||
$this->graphUser += [
|
||||
'employeeId' => 'P-4711',
|
||||
'employeeOrgData' => ['costCenter' => 'KST 300', 'division' => 'Pflege'],
|
||||
'onPremisesExtensionAttributes' => ['extensionAttribute3' => 'Station 4B', 'extensionAttribute4' => null],
|
||||
self::EXT => '2019-04-01T00:00:00Z',
|
||||
'otherMails' => ['a@x.de', 'b@x.de'],
|
||||
];
|
||||
}
|
||||
|
||||
private function mappedProvider(array $config = [])
|
||||
{
|
||||
return $this->entraProvider(array_merge([
|
||||
'attribute_map' => [
|
||||
['target' => 'first_name', 'attribute' => 'givenName'],
|
||||
['target' => 'last_name', 'attribute' => 'surname'],
|
||||
['target' => 'email', 'attribute' => 'mail'],
|
||||
['target' => 'job_title', 'attribute' => 'employeeOrgData.division'],
|
||||
['target' => 'custom.personalnummer', 'attribute' => 'employeeId'],
|
||||
['target' => 'custom.kostenstelle', 'attribute' => 'employeeOrgData.costCenter'],
|
||||
['target' => 'custom.eintritt', 'attribute' => self::EXT],
|
||||
['target' => 'custom.station', 'attribute' => 'onPremisesExtensionAttributes.extensionAttribute3'],
|
||||
['target' => 'custom.sprachen', 'attribute' => 'otherMails'],
|
||||
],
|
||||
'sync_manager' => false,
|
||||
], $config));
|
||||
}
|
||||
|
||||
public function test_any_graph_attribute_can_be_mapped_on_login(): void
|
||||
{
|
||||
$provider = $this->mappedProvider();
|
||||
$this->entraClaims = ['groups' => ['x']];
|
||||
$this->fakeEntra();
|
||||
|
||||
$this->loginWithEntra($provider)->assertRedirect('/');
|
||||
|
||||
$user = User::query()->sole();
|
||||
$this->assertSame('Pflege', $user->job_title, 'Kernfelder lassen sich auf andere Attribute umlegen.');
|
||||
$this->assertNull($user->department, 'Nicht zugeordnete Kernfelder bleiben unberührt.');
|
||||
$this->assertSame([
|
||||
'personalnummer' => 'P-4711',
|
||||
'kostenstelle' => 'KST 300',
|
||||
'eintritt' => '2019-04-01',
|
||||
'station' => 'Station 4B',
|
||||
'sprachen' => 'a@x.de, b@x.de',
|
||||
], $user->custom_fields);
|
||||
|
||||
Http::assertSent(function (Request $r) {
|
||||
if (! str_contains($r->url(), 'graph.microsoft.com/v1.0/me?')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
parse_str((string) parse_url($r->url(), PHP_URL_QUERY), $query);
|
||||
$select = explode(',', $query['$select']);
|
||||
|
||||
return in_array('employeeOrgData', $select, true)
|
||||
&& in_array('onPremisesExtensionAttributes', $select, true)
|
||||
&& in_array(self::EXT, $select, true)
|
||||
&& ! in_array('department', $select, true);
|
||||
});
|
||||
}
|
||||
|
||||
public function test_missing_permission_for_an_attribute_falls_back_to_base_attributes(): void
|
||||
{
|
||||
$provider = $this->mappedProvider();
|
||||
$this->entraClaims = ['groups' => ['x']];
|
||||
$this->graph = ['/me?$select=id,displayName,givenName,surname,mail,userPrincipalName,accountEnabled,userType,' => 403];
|
||||
$this->fakeEntra();
|
||||
|
||||
$this->loginWithEntra($provider)->assertRedirect('/');
|
||||
|
||||
$this->assertSame('anna.schmidt@firma.de', User::query()->sole()->email);
|
||||
}
|
||||
|
||||
public function test_mapped_custom_fields_are_read_only_and_others_can_be_edited(): void
|
||||
{
|
||||
$provider = $this->mappedProvider(['attribute_map' => [['target' => 'custom.kostenstelle', 'attribute' => 'employeeOrgData.costCenter']]]);
|
||||
$this->entraClaims = ['groups' => ['x']];
|
||||
$this->fakeEntra();
|
||||
$this->loginWithEntra($provider);
|
||||
|
||||
$this->get('/profil/bearbeiten')->assertInertia(fn (Assert $page) => $page
|
||||
->where('managed', ['custom.kostenstelle'])
|
||||
->where('customFields', fn ($fields) => collect($fields)->mapWithKeys(fn ($f) => [$f['key'] => [$f['readonly'], $f['managed']]])->all() === [
|
||||
'eintritt' => [false, false],
|
||||
'kostenstelle' => [true, true],
|
||||
'personalnummer' => [true, false],
|
||||
'sprachen' => [false, false],
|
||||
'station' => [false, false],
|
||||
]));
|
||||
|
||||
$this->put('/profil', [
|
||||
'first_name' => 'Anna', 'last_name' => 'Schmidt', 'email' => 'anna.schmidt@firma.de',
|
||||
'custom_fields' => ['personalnummer' => 'gefälscht', 'kostenstelle' => 'gefälscht', 'station' => '3A', 'eintritt' => '2020-01-15'],
|
||||
])->assertSessionHasNoErrors();
|
||||
|
||||
$this->assertEquals(['kostenstelle' => 'KST 300', 'station' => '3A', 'eintritt' => '2020-01-15'], User::query()->sole()->custom_fields);
|
||||
|
||||
$this->put('/profil', [
|
||||
'first_name' => 'Anna', 'last_name' => 'Schmidt', 'email' => 'anna.schmidt@firma.de',
|
||||
'custom_fields' => ['eintritt' => 'kein Datum'],
|
||||
])->assertSessionHasErrors('custom_fields.eintritt');
|
||||
}
|
||||
|
||||
public function test_restricted_fields_are_only_visible_to_the_person_and_hr(): void
|
||||
{
|
||||
$anna = User::factory()->create(['custom_fields' => ['personalnummer' => 'P-4711', 'station' => '4B', 'eintritt' => '2019-04-01']]);
|
||||
|
||||
$this->actingAs(User::factory()->create())->get('/personen/'.$anna->id)->assertInertia(fn (Assert $page) => $page
|
||||
->where('person.fields', [
|
||||
['key' => 'eintritt', 'label' => 'Eintrittsdatum', 'type' => 'date', 'value' => '01.04.2019'],
|
||||
['key' => 'station', 'label' => 'Station', 'type' => 'text', 'value' => '4B'],
|
||||
]));
|
||||
|
||||
$this->actingAs($anna)->get('/personen/'.$anna->id)
|
||||
->assertInertia(fn (Assert $page) => $page->where('person.fields.0.key', 'eintritt')->where('person.fields.1.key', 'personalnummer'));
|
||||
|
||||
$this->actingAs(User::factory()->admin()->create())->get('/personen/'.$anna->id)
|
||||
->assertInertia(fn (Assert $page) => $page->has('person.fields', 3));
|
||||
}
|
||||
|
||||
public function test_delta_sync_maps_attributes_and_keeps_absent_ones(): void
|
||||
{
|
||||
$provider = $this->mappedProvider(['directory_sync' => true, 'sync_photo' => false]);
|
||||
$user = User::factory()->create(['job_title' => 'bleibt', 'custom_fields' => ['personalnummer' => 'P-1', 'station' => 'alt']]);
|
||||
UserIdentity::query()->create(['user_id' => $user->id, 'identity_provider_id' => $provider->id, 'subject' => 'oid-anna']);
|
||||
|
||||
$this->graph = ['/users/delta' => ['value' => [[
|
||||
'id' => 'oid-anna',
|
||||
'onPremisesExtensionAttributes' => ['extensionAttribute3' => null],
|
||||
'employeeId' => 'P-2',
|
||||
]], '@odata.deltaLink' => 'https://graph.microsoft.com/v1.0/users/delta?$deltatoken=abc']];
|
||||
$this->fakeEntra();
|
||||
|
||||
app(EntraDirectorySync::class)->run($provider->fresh());
|
||||
|
||||
$user->refresh();
|
||||
$this->assertSame('bleibt', $user->job_title);
|
||||
$this->assertSame(['personalnummer' => 'P-2'], $user->custom_fields, 'Geleerte Attribute entfernen den Wert.');
|
||||
Http::assertSent(fn (Request $r) => str_contains(urldecode($r->url()), '/users/delta?$select=') && str_contains(urldecode($r->url()), self::EXT));
|
||||
}
|
||||
|
||||
public function test_changing_the_mapping_restarts_the_delta_sync(): void
|
||||
{
|
||||
$provider = $this->mappedProvider(['directory_sync' => true, 'sync_photo' => false]);
|
||||
$this->graph = ['/users/delta' => ['value' => [], '@odata.deltaLink' => 'https://graph.microsoft.com/v1.0/users/delta?$deltatoken=abc']];
|
||||
$this->fakeEntra();
|
||||
app(EntraDirectorySync::class)->run($provider->fresh());
|
||||
|
||||
$provider->update(['config' => array_merge($provider->config, ['attribute_map' => [['target' => 'custom.station', 'attribute' => 'city']]])]);
|
||||
app(EntraDirectorySync::class)->run($provider->fresh());
|
||||
|
||||
Http::assertSent(fn (Request $r) => str_contains(urldecode($r->url()), '/users/delta?$select=') && str_contains($r->url(), 'city'));
|
||||
}
|
||||
|
||||
public function test_legacy_field_list_still_works(): void
|
||||
{
|
||||
$provider = $this->entraProvider(['synced_fields' => ['job_title', 'phone', 'manager']]);
|
||||
|
||||
$this->assertSame(['job_title' => 'jobTitle', 'phone' => 'businessPhones.0'], $provider->attributeMap());
|
||||
$this->assertTrue($provider->syncsManager());
|
||||
$this->assertSame(['job_title', 'phone', 'manager'], $provider->syncedFields());
|
||||
}
|
||||
|
||||
public function test_attribute_values_are_read_from_paths(): void
|
||||
{
|
||||
$user = ['a' => ['b' => ['c' => 'tief']], 'list' => ['x', '', 'y'], 'flag' => true, 'empty' => ' '];
|
||||
|
||||
$this->assertSame('tief', EntraAttributes::value($user, 'a.b.c'));
|
||||
$this->assertSame('x, y', EntraAttributes::value($user, 'list'));
|
||||
$this->assertSame('x', EntraAttributes::value($user, 'list.0'));
|
||||
$this->assertSame('Ja', EntraAttributes::value($user, 'flag'));
|
||||
$this->assertNull(EntraAttributes::value($user, 'empty'));
|
||||
$this->assertNull(EntraAttributes::value($user, 'a.fehlt'));
|
||||
}
|
||||
|
||||
public function test_admin_maps_attributes_and_loads_directory_extensions(): void
|
||||
{
|
||||
$this->actingAs(User::factory()->admin()->create());
|
||||
$provider = $this->entraProvider(['synced_fields' => ['job_title']]);
|
||||
|
||||
$this->graph = ['/directoryObjects/getAvailableExtensionProperties' => ['value' => [
|
||||
['name' => self::EXT, 'targetObjects' => ['User']],
|
||||
['name' => 'extension_0a1b_gruppenfeld', 'targetObjects' => ['Group']],
|
||||
]]];
|
||||
$this->fakeEntra();
|
||||
|
||||
$page = Livewire::test(EditIdentityProvider::class, ['record' => $provider->getRouteKey()])
|
||||
->assertFormSet(['config.sync_manager' => false])
|
||||
->callAction(TestAction::make('loadExtensions')->schemaComponent('profile', schema: 'form'))
|
||||
->assertNotified();
|
||||
|
||||
$this->assertSame([self::EXT], $provider->fresh()->setting('extension_properties'));
|
||||
|
||||
$page->fillForm(['config.attribute_map' => [
|
||||
['target' => 'job_title', 'attribute' => 'jobTitle'],
|
||||
['target' => 'custom.eintritt', 'attribute' => self::EXT],
|
||||
]])->call('save')->assertHasNoFormErrors();
|
||||
|
||||
$provider->refresh();
|
||||
$this->assertSame(['job_title' => 'jobTitle', 'custom.eintritt' => self::EXT], $provider->attributeMap());
|
||||
$this->assertSame([self::EXT], $provider->setting('extension_properties'), 'Geladene Erweiterungen bleiben beim Speichern erhalten.');
|
||||
$this->assertNull($provider->setting('synced_fields'));
|
||||
|
||||
Livewire::test(EditIdentityProvider::class, ['record' => $provider->getRouteKey()])
|
||||
->fillForm(['config.attribute_map' => [['target' => 'job_title', 'attribute' => 'job title; drop']]])
|
||||
->call('save')
|
||||
->assertHasFormErrors();
|
||||
}
|
||||
}
|
||||
64
tests/Feature/ProfileFieldsAdminTest.php
Normal file
64
tests/Feature/ProfileFieldsAdminTest.php
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
<?php
|
||||
|
||||
namespace Tests\Feature;
|
||||
|
||||
use App\Filament\Resources\ProfileFields\Pages\ManageProfileFields;
|
||||
use App\Filament\Resources\Users\Pages\EditUser;
|
||||
use App\Models\ProfileField;
|
||||
use App\Models\User;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
use Livewire\Livewire;
|
||||
use Tests\TestCase;
|
||||
|
||||
class ProfileFieldsAdminTest extends TestCase
|
||||
{
|
||||
use RefreshDatabase;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
Cache::flush();
|
||||
}
|
||||
|
||||
public function test_admin_creates_profile_fields_and_fills_them_per_person(): void
|
||||
{
|
||||
$this->actingAs(User::factory()->admin()->create());
|
||||
$this->get('/admin/profilfelder')->assertOk();
|
||||
|
||||
Livewire::test(ManageProfileFields::class)
|
||||
->callAction('create', ['label' => 'Personalnummer', 'type' => 'text', 'visibility' => 'restricted', 'editable' => false])
|
||||
->assertHasNoActionErrors();
|
||||
|
||||
$field = ProfileField::query()->sole();
|
||||
$this->assertSame('personalnummer', $field->key);
|
||||
|
||||
$person = User::factory()->create();
|
||||
Livewire::test(EditUser::class, ['record' => $person->getRouteKey()])
|
||||
->fillForm(['custom_fields.personalnummer' => 'P-4711'])
|
||||
->call('save')
|
||||
->assertHasNoFormErrors();
|
||||
|
||||
$this->assertSame(['personalnummer' => 'P-4711'], $person->fresh()->custom_fields);
|
||||
}
|
||||
|
||||
public function test_keys_must_be_unique_and_well_formed(): void
|
||||
{
|
||||
$this->actingAs(User::factory()->admin()->create());
|
||||
ProfileField::query()->create(['key' => 'station', 'label' => 'Station']);
|
||||
|
||||
Livewire::test(ManageProfileFields::class)
|
||||
->callAction('create', ['label' => 'Station', 'key' => 'station', 'type' => 'text', 'visibility' => 'public'])
|
||||
->assertHasActionErrors(['key' => 'unique']);
|
||||
|
||||
Livewire::test(ManageProfileFields::class)
|
||||
->callAction('create', ['label' => 'X', 'key' => 'Mit Leerzeichen', 'type' => 'text', 'visibility' => 'public'])
|
||||
->assertHasActionErrors(['key' => 'regex']);
|
||||
}
|
||||
|
||||
public function test_only_hr_can_manage_profile_fields(): void
|
||||
{
|
||||
$this->actingAs(User::factory()->create())->get('/admin/profilfelder')->assertForbidden();
|
||||
}
|
||||
}
|
||||
|
|
@ -58,7 +58,7 @@ trait FakeEntra
|
|||
'client_secret' => 'geheim',
|
||||
'auto_provision' => true,
|
||||
'link_by_email' => true,
|
||||
'synced_fields' => array_keys(IdentityProvider::SYNCABLE_FIELDS),
|
||||
'synced_fields' => [...array_keys(IdentityProvider::PROFILE_TARGETS), 'manager'],
|
||||
'sync_photo' => true,
|
||||
'directory_sync' => false,
|
||||
], $config),
|
||||
|
|
|
|||
5
vendor/composer/autoload_classmap.php
vendored
5
vendor/composer/autoload_classmap.php
vendored
|
|
@ -33,6 +33,8 @@ return array(
|
|||
'App\\Filament\\Resources\\IdentityProviders\\Pages\\EditIdentityProvider' => $baseDir . '/app/Filament/Resources/IdentityProviders/Pages/EditIdentityProvider.php',
|
||||
'App\\Filament\\Resources\\IdentityProviders\\Pages\\ListIdentityProviders' => $baseDir . '/app/Filament/Resources/IdentityProviders/Pages/ListIdentityProviders.php',
|
||||
'App\\Filament\\Resources\\IdentityProviders\\Pages\\TestMapping' => $baseDir . '/app/Filament/Resources/IdentityProviders/Pages/TestMapping.php',
|
||||
'App\\Filament\\Resources\\ProfileFields\\Pages\\ManageProfileFields' => $baseDir . '/app/Filament/Resources/ProfileFields/Pages/ManageProfileFields.php',
|
||||
'App\\Filament\\Resources\\ProfileFields\\ProfileFieldResource' => $baseDir . '/app/Filament/Resources/ProfileFields/ProfileFieldResource.php',
|
||||
'App\\Filament\\Resources\\Roles\\Pages\\CreateRole' => $baseDir . '/app/Filament/Resources/Roles/Pages/CreateRole.php',
|
||||
'App\\Filament\\Resources\\Roles\\Pages\\EditRole' => $baseDir . '/app/Filament/Resources/Roles/Pages/EditRole.php',
|
||||
'App\\Filament\\Resources\\Roles\\Pages\\ListRoles' => $baseDir . '/app/Filament/Resources/Roles/Pages/ListRoles.php',
|
||||
|
|
@ -58,6 +60,7 @@ return array(
|
|||
'App\\Http\\Middleware\\RunPseudoCron' => $baseDir . '/app/Http/Middleware/RunPseudoCron.php',
|
||||
'App\\Http\\Requests\\UpdateProfileRequest' => $baseDir . '/app/Http/Requests/UpdateProfileRequest.php',
|
||||
'App\\Http\\Resources\\PersonResource' => $baseDir . '/app/Http/Resources/PersonResource.php',
|
||||
'App\\Identity\\Entra\\EntraAttributes' => $baseDir . '/app/Identity/Entra/EntraAttributes.php',
|
||||
'App\\Identity\\Entra\\EntraClient' => $baseDir . '/app/Identity/Entra/EntraClient.php',
|
||||
'App\\Identity\\Entra\\EntraDirectorySync' => $baseDir . '/app/Identity/Entra/EntraDirectorySync.php',
|
||||
'App\\Identity\\Entra\\EntraLogin' => $baseDir . '/app/Identity/Entra/EntraLogin.php',
|
||||
|
|
@ -71,6 +74,7 @@ return array(
|
|||
'App\\Models\\Grant' => $baseDir . '/app/Models/Grant.php',
|
||||
'App\\Models\\IdentityProvider' => $baseDir . '/app/Models/IdentityProvider.php',
|
||||
'App\\Models\\IdpGroupMapping' => $baseDir . '/app/Models/IdpGroupMapping.php',
|
||||
'App\\Models\\ProfileField' => $baseDir . '/app/Models/ProfileField.php',
|
||||
'App\\Models\\Role' => $baseDir . '/app/Models/Role.php',
|
||||
'App\\Models\\Setting' => $baseDir . '/app/Models/Setting.php',
|
||||
'App\\Models\\User' => $baseDir . '/app/Models/User.php',
|
||||
|
|
@ -113,6 +117,7 @@ return array(
|
|||
'App\\Support\\Permissions\\PermissionResource' => $baseDir . '/app/Support/Permissions/PermissionResource.php',
|
||||
'App\\Support\\Permissions\\PermissionSet' => $baseDir . '/app/Support/Permissions/PermissionSet.php',
|
||||
'App\\Support\\Permissions\\Permissions' => $baseDir . '/app/Support/Permissions/Permissions.php',
|
||||
'App\\Support\\ProfileFields' => $baseDir . '/app/Support/ProfileFields.php',
|
||||
'App\\Support\\QuickLinks' => $baseDir . '/app/Support/QuickLinks.php',
|
||||
'App\\Support\\RichText' => $baseDir . '/app/Support/RichText.php',
|
||||
'App\\Support\\Settings' => $baseDir . '/app/Support/Settings.php',
|
||||
|
|
|
|||
5
vendor/composer/autoload_static.php
vendored
5
vendor/composer/autoload_static.php
vendored
|
|
@ -813,6 +813,8 @@ class ComposerStaticInit7be5f0fc2523def46ad071c4f7cbcb0e
|
|||
'App\\Filament\\Resources\\IdentityProviders\\Pages\\EditIdentityProvider' => __DIR__ . '/../..' . '/app/Filament/Resources/IdentityProviders/Pages/EditIdentityProvider.php',
|
||||
'App\\Filament\\Resources\\IdentityProviders\\Pages\\ListIdentityProviders' => __DIR__ . '/../..' . '/app/Filament/Resources/IdentityProviders/Pages/ListIdentityProviders.php',
|
||||
'App\\Filament\\Resources\\IdentityProviders\\Pages\\TestMapping' => __DIR__ . '/../..' . '/app/Filament/Resources/IdentityProviders/Pages/TestMapping.php',
|
||||
'App\\Filament\\Resources\\ProfileFields\\Pages\\ManageProfileFields' => __DIR__ . '/../..' . '/app/Filament/Resources/ProfileFields/Pages/ManageProfileFields.php',
|
||||
'App\\Filament\\Resources\\ProfileFields\\ProfileFieldResource' => __DIR__ . '/../..' . '/app/Filament/Resources/ProfileFields/ProfileFieldResource.php',
|
||||
'App\\Filament\\Resources\\Roles\\Pages\\CreateRole' => __DIR__ . '/../..' . '/app/Filament/Resources/Roles/Pages/CreateRole.php',
|
||||
'App\\Filament\\Resources\\Roles\\Pages\\EditRole' => __DIR__ . '/../..' . '/app/Filament/Resources/Roles/Pages/EditRole.php',
|
||||
'App\\Filament\\Resources\\Roles\\Pages\\ListRoles' => __DIR__ . '/../..' . '/app/Filament/Resources/Roles/Pages/ListRoles.php',
|
||||
|
|
@ -838,6 +840,7 @@ class ComposerStaticInit7be5f0fc2523def46ad071c4f7cbcb0e
|
|||
'App\\Http\\Middleware\\RunPseudoCron' => __DIR__ . '/../..' . '/app/Http/Middleware/RunPseudoCron.php',
|
||||
'App\\Http\\Requests\\UpdateProfileRequest' => __DIR__ . '/../..' . '/app/Http/Requests/UpdateProfileRequest.php',
|
||||
'App\\Http\\Resources\\PersonResource' => __DIR__ . '/../..' . '/app/Http/Resources/PersonResource.php',
|
||||
'App\\Identity\\Entra\\EntraAttributes' => __DIR__ . '/../..' . '/app/Identity/Entra/EntraAttributes.php',
|
||||
'App\\Identity\\Entra\\EntraClient' => __DIR__ . '/../..' . '/app/Identity/Entra/EntraClient.php',
|
||||
'App\\Identity\\Entra\\EntraDirectorySync' => __DIR__ . '/../..' . '/app/Identity/Entra/EntraDirectorySync.php',
|
||||
'App\\Identity\\Entra\\EntraLogin' => __DIR__ . '/../..' . '/app/Identity/Entra/EntraLogin.php',
|
||||
|
|
@ -851,6 +854,7 @@ class ComposerStaticInit7be5f0fc2523def46ad071c4f7cbcb0e
|
|||
'App\\Models\\Grant' => __DIR__ . '/../..' . '/app/Models/Grant.php',
|
||||
'App\\Models\\IdentityProvider' => __DIR__ . '/../..' . '/app/Models/IdentityProvider.php',
|
||||
'App\\Models\\IdpGroupMapping' => __DIR__ . '/../..' . '/app/Models/IdpGroupMapping.php',
|
||||
'App\\Models\\ProfileField' => __DIR__ . '/../..' . '/app/Models/ProfileField.php',
|
||||
'App\\Models\\Role' => __DIR__ . '/../..' . '/app/Models/Role.php',
|
||||
'App\\Models\\Setting' => __DIR__ . '/../..' . '/app/Models/Setting.php',
|
||||
'App\\Models\\User' => __DIR__ . '/../..' . '/app/Models/User.php',
|
||||
|
|
@ -893,6 +897,7 @@ class ComposerStaticInit7be5f0fc2523def46ad071c4f7cbcb0e
|
|||
'App\\Support\\Permissions\\PermissionResource' => __DIR__ . '/../..' . '/app/Support/Permissions/PermissionResource.php',
|
||||
'App\\Support\\Permissions\\PermissionSet' => __DIR__ . '/../..' . '/app/Support/Permissions/PermissionSet.php',
|
||||
'App\\Support\\Permissions\\Permissions' => __DIR__ . '/../..' . '/app/Support/Permissions/Permissions.php',
|
||||
'App\\Support\\ProfileFields' => __DIR__ . '/../..' . '/app/Support/ProfileFields.php',
|
||||
'App\\Support\\QuickLinks' => __DIR__ . '/../..' . '/app/Support/QuickLinks.php',
|
||||
'App\\Support\\RichText' => __DIR__ . '/../..' . '/app/Support/RichText.php',
|
||||
'App\\Support\\Settings' => __DIR__ . '/../..' . '/app/Support/Settings.php',
|
||||
|
|
|
|||
4
vendor/composer/installed.php
vendored
4
vendor/composer/installed.php
vendored
|
|
@ -3,7 +3,7 @@
|
|||
'name' => 'inhaus/inhaus',
|
||||
'pretty_version' => 'dev-main',
|
||||
'version' => 'dev-main',
|
||||
'reference' => '9ddc35a62ceffc20fdfa5db35562d871897741af',
|
||||
'reference' => '51c94cd0cf99ad986df53c9c16b3d6af6fa5f356',
|
||||
'type' => 'project',
|
||||
'install_path' => __DIR__ . '/../../',
|
||||
'aliases' => array(),
|
||||
|
|
@ -550,7 +550,7 @@
|
|||
'inhaus/inhaus' => array(
|
||||
'pretty_version' => 'dev-main',
|
||||
'version' => 'dev-main',
|
||||
'reference' => '9ddc35a62ceffc20fdfa5db35562d871897741af',
|
||||
'reference' => '51c94cd0cf99ad986df53c9c16b3d6af6fa5f356',
|
||||
'type' => 'project',
|
||||
'install_path' => __DIR__ . '/../../',
|
||||
'aliases' => array(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue