OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
Some checks failed
Security Audit / Composer Security Audit (push) Has been cancelled
Security Audit / NPM Security Audit (push) Has been cancelled
Security Audit / CodeQL Analysis (push) Has been cancelled

This commit is contained in:
wangruiguo
2026-09-03 18:49:20 +08:00
commit d647428529
3501 changed files with 1988906 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
@props([
'type' => null
])
@php
if (!$type) {
return;
}
$configs = [
'dueSoon' => ['icon' => '⏳', 'label' => 'Due Soon - Within 3 days'],
'overdue' => ['icon' => '⏰', 'label' => 'Overdue - Past due date'],
'stale' => ['icon' => '💤', 'label' => 'Stale - No activity for 14+ days']
];
$config = $configs[$type] ?? null;
if (!$config) {
return;
}
@endphp
<span {{ $attributes->merge(['class' => 'time-indicator']) }}
style="font-size: 18px; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;"
data-tippy-content="{{ $config['label'] }}"
aria-label="{{ $config['label'] }}">{{ $config['icon'] }}</span>