Some checks failed
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 3m24s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 3m26s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 3m41s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 3m46s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 5m31s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 5m32s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 4m16s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 4m18s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m14s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
18 lines
563 B
Vue
18 lines
563 B
Vue
<script setup>
|
|
import { widgetComponent } from '@/lib/widgets';
|
|
|
|
/**
|
|
* Kacheln der Startseiten-Seitenleiste auf anderen Seiten (Props: App\Dashboard\Widgets::sidebar()).
|
|
*/
|
|
defineProps({
|
|
widgets: { type: Array, required: true },
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<aside class="grid min-w-0 grid-cols-1 content-start gap-6">
|
|
<template v-for="widget in widgets" :key="widget.key">
|
|
<component :is="widgetComponent(widget.component)" v-if="widgetComponent(widget.component)" v-bind="widget.props" />
|
|
</template>
|
|
</aside>
|
|
</template>
|