Plugin-SDK: Oberflächen für Kunden-Plugins, Generator, Doku (0.20.0)
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 3m46s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 3m49s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 4m7s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 4m8s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 5m51s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 6m29s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 6m12s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m11s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 5m33s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-27 04:57:28 +00:00
parent 46b7b05f94
commit ea2200cb3e
353 changed files with 2151 additions and 1542 deletions

View file

@ -1,4 +1,5 @@
<script setup>
import { pluginComponent } from '@/lib/pluginComponents';
import { defineAsyncComponent } from 'vue';
import PageHeader from '@/components/PageHeader.vue';
import AppLayout from '@/layouts/AppLayout.vue';
@ -28,7 +29,7 @@ for (const [path, loader] of Object.entries(import.meta.glob('../../components/e
<AppLayout title="Redaktion">
<PageHeader title="Redaktion" description="Ihre Seiten und Beiträge – Entwürfe, Freigaben und Geplantes." />
<div class="grid grid-cols-1 items-start gap-6 xl:grid-cols-2">
<component :is="components[section.component]" v-for="section in sections" :key="section.key" v-bind="section.props" class="min-w-0" />
<component :is="components[section.component] ?? pluginComponent(section.component, 'editorial')" v-for="section in sections" :key="section.key" v-bind="section.props" class="min-w-0" />
</div>
</AppLayout>
</template>

View file

@ -1,4 +1,5 @@
<script setup>
import { pluginComponent } from '@/lib/pluginComponents';
import { defineAsyncComponent, ref } from 'vue';
import { router, useForm } from '@inertiajs/vue3';
import { Camera, LoaderCircle, Trash2 } from '@lucide/vue';
@ -212,7 +213,7 @@ function savePassword() {
</form>
</Panel>
<component :is="sectionComponents[section.component]" v-for="section in sections" :key="section.key" v-bind="section.props" />
<component :is="sectionComponents[section.component] ?? pluginComponent(section.component, 'profile')" v-for="section in sections" :key="section.key" v-bind="section.props" />
<Panel v-if="profile.has_password" title="Passwort ändern">
<form class="grid gap-5" @submit.prevent="savePassword">

View file

@ -1,4 +1,5 @@
<script setup>
import { pluginComponent } from '@/lib/pluginComponents';
import { computed, defineAsyncComponent } from 'vue';
import { Link } from '@inertiajs/vue3';
import { Building2, Mail, MapPin, Phone, Smartphone, UserRoundPen } from '@lucide/vue';
@ -118,7 +119,7 @@ function fieldHref(field) {
</Panel>
<template v-for="panel in panels" :key="panel.key">
<component :is="panelComponents[panel.component]" v-if="panelComponents[panel.component]" v-bind="panel.props" />
<component :is="panelComponents[panel.component] ?? pluginComponent(panel.component, 'profile-panels')" v-if="panelComponents[panel.component] ?? pluginComponent(panel.component, 'profile-panels')" v-bind="panel.props" />
</template>
</div>
</div>