Loheide-eu-mitarbeiterplatt.../public/build/assets/Dashboard-CFDctOAW.js
Friederich Loheide 28ef1e4a20 Plugin-System; Neuigkeiten und Termine als mitgelieferte Plugins
- Plugins nach WordPress-Prinzip: plugin.json-Manifest mit Versions- und
  Abhängigkeitsprüfung, eigenes PSR-4-Autoloading, register()/boot(),
  activate()/deactivate()/uninstall(), Migrationen, Routen und Views je Plugin
- plugins-core/ (mitgeliefert, aktiv bis zur Deaktivierung) und plugins/
  (Kunden-Plugins, geschützt vor Updates, inaktiv bis zur Aktivierung)
- Zustand in storage/app/plugins.json – Laden ohne Datenbankabfrage
- Wiederherstellungsmodus: Ausnahmen und Fatal Errors beim Laden
  deaktivieren das Plugin, das Portal bleibt erreichbar
- Hooks (Actions/Filter mit Prioritäten) und Registries für Navigation,
  Startseiten-Kacheln, Rechte und Admin-Seiten (Filament-Discovery)
- Admin-Seite „Plugins“: aktivieren, deaktivieren, per ZIP installieren
  (ZIP-Slip-Schutz), löschen mit oder ohne Daten; abschaltbar per
  INHAUS_DISALLOW_FILE_MODS
- Startseite komplett aus Kacheln; Plugin-Seiten als „slug::Seite“
- Version 0.3.0

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-26 07:06:16 +00:00

2 lines
No EOL
3.9 KiB
JavaScript

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Greeting-BcYAXPh9.js","assets/app-DJnl8SxL.js","assets/app-yTLwYkM9.css","assets/AppLayout-1ldLchM-.js","assets/RovingFocusGroup-CqmMkMQP.js","assets/BrandLogo-B9oA1DG4.js","assets/NewColleagues-JGWMoXS3.js","assets/Panel-D5zuY1_v.js","assets/chevron-right-CAXGr-zo.js","assets/PeopleSearch-BcXAH_-c.js","assets/arrow-right-c2thy74C.js","assets/ProfileIncomplete-CWirgl8s.js","assets/QuickLinks-CiA26-F8.js","assets/building-complex-CCnkmD29.js","assets/calendar-days-Q7KBeYQV.js","assets/chevron-left-D2uxffyU.js","assets/clock-7Lzug1Ti.js","assets/phone-CUH1yCi5.js","assets/dist-CQsPCHOQ.js","assets/Upcoming-BETeUWER.js","assets/EmptyState-CFBmx8ne.js","assets/format-Dlm0nTI_.js","assets/EventDateBlock-CfSpm6m9.js","assets/Areas-Dr9rKjp6.js","assets/NewsCard-B-l5uZ4h.js","assets/NewsImage-DyRK4fmY.js","assets/Hero-oumSJF6b.js","assets/Latest-rEL3O0dw.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-DJnl8SxL.js";import{t as m}from"./AppLayout-1ldLchM-.js";import{n as h}from"./dist-CQsPCHOQ.js";var g=Object.assign({"../widgets/Greeting.vue":()=>f(()=>import(`./Greeting-BcYAXPh9.js`),__vite__mapDeps([0,1,2,3,4,5])),"../widgets/NewColleagues.vue":()=>f(()=>import(`./NewColleagues-JGWMoXS3.js`),__vite__mapDeps([6,1,2,3,4,5,7,8])),"../widgets/PeopleSearch.vue":()=>f(()=>import(`./PeopleSearch-BcXAH_-c.js`),__vite__mapDeps([9,1,2,10,5,3,4,7,8])),"../widgets/ProfileIncomplete.vue":()=>f(()=>import(`./ProfileIncomplete-CWirgl8s.js`),__vite__mapDeps([11,1,2,3,4,5])),"../widgets/QuickLinks.vue":()=>f(()=>import(`./QuickLinks-CiA26-F8.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-BETeUWER.js`),__vite__mapDeps([19,1,2,14,5,20,21,22,7,8])),"../../../plugins-core/news/resources/js/widgets/Areas.vue":()=>f(()=>import(`./Areas-Dr9rKjp6.js`),__vite__mapDeps([23,1,2,7,8,5,24,25,21])),"../../../plugins-core/news/resources/js/widgets/Hero.vue":()=>f(()=>import(`./Hero-oumSJF6b.js`),__vite__mapDeps([26,1,2,5,10,15,8])),"../../../plugins-core/news/resources/js/widgets/Latest.vue":()=>f(()=>import(`./Latest-rEL3O0dw.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};