"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ProjectView = void 0; const BaseView_1 = require("./BaseView"); class ProjectView extends BaseView_1.BaseView { render(data) { const projects = data?.projects || []; const projectPaths = data?.projectPaths || new Map(); const projectsHtml = projects.map((project) => { const isConfigured = projectPaths.has(project.id); const statusIcon = isConfigured ? '✅' : '⚙️'; const statusText = isConfigured ? '已配置' : '待配置'; return `
| 项目 | 配置 | 操作 |
|---|---|---|
|
|
||