ework-web 0.10.118 → 0.10.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/render/layout.ts +2 -0
package/package.json
CHANGED
package/src/render/layout.ts
CHANGED
|
@@ -189,6 +189,7 @@ export function renderLayout(props: LayoutProps, inner: string, initialItems: st
|
|
|
189
189
|
const s = props.aiStatus ?? "";
|
|
190
190
|
const map: Record<string, { cls: string; label: string }> = {
|
|
191
191
|
processing: { cls: "ai-processing", label: "🔄 AI 处理中" },
|
|
192
|
+
queued: { cls: "ai-queued", label: "⏳ 排队中" },
|
|
192
193
|
completed: { cls: "ai-completed", label: "✅ AI 已完成" },
|
|
193
194
|
failed: { cls: "ai-failed", label: "⚠️ AI 失败" },
|
|
194
195
|
halted: { cls: "ai-halted", label: "⏹ 已停止" },
|
|
@@ -312,6 +313,7 @@ export function aiStatusBadge(status: string | undefined): string {
|
|
|
312
313
|
if (!s) return "";
|
|
313
314
|
const map: Record<string, string> = {
|
|
314
315
|
processing: '<span class="ai-status-list" style="color:var(--accent)">⚙️ 处理中</span>',
|
|
316
|
+
queued: '<span class="ai-status-list" style="color:var(--accent)">⏳ 排队中</span>',
|
|
315
317
|
halted: '<span class="ai-status-list" style="color:#bf8700">⏹️ 已停止</span>',
|
|
316
318
|
dispatch_off: '<span class="ai-status-list" style="color:#6f7781">🔕 不接单</span>',
|
|
317
319
|
completed: '<span class="ai-status-list" style="color:var(--green)">✓ 已完成</span>',
|