feat: add interactive Vue prototype

This commit is contained in:
wlx committed 2026-08-18 18:50:20 +08:00
1 parent 0d3c33b363
commit 663faee95a
13 files changed
+1947

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
# 模亦灵枢前端原型
这是阶段 2 的可交互前端原型,使用 Vue 3 + Vite + TypeScript 构建。原型优先验证信息架构、核心用户流程、页面状态和视觉方向,后续可以保留页面组件、类型定义和状态组织方式接入真实 API。
## 启动
```bash
pnpm install
pnpm dev
```
默认访问 `http://localhost:4173`。
## 当前覆盖
- 用户控制台总览、模型广场、Playground、API Key、任务中心、用量与账单、接入文档。
- 邀请码内测语境、管理员额度发放、充值入口预留状态。
- 同步/流式/异步调用的交互状态、Key 创建与一次性展示、任务进度、筛选、复制和 Toast 反馈。
- 面向 AI 应用、开发工具和 SDK/HTTP 的通用接入说明,不绑定某一个具体客户端品牌。
## 后续复用
页面数据集中在 `src/App.vue` 的演示状态中;接入后端时可以将其替换为 API composables 或 Pinia store,保留现有页面结构和交互契约。
+14
View File
@@ -0,0 +1,14 @@
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#0b1220" />
<meta name="description" content="MOYI Model Intelligence Hub - 一处接入,连接多模。" />
<title>模亦灵枢 · MOYI Model Intelligence Hub</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
+21
View File
@@ -0,0 +1,21 @@
{
"name": "moyi-model-intelligence-hub-prototype",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview"
},
"dependencies": {
"lucide-vue-next": "^0.468.0",
"vue": "^3.5.13"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.2.1",
"typescript": "~5.7.2",
"vite": "^6.0.5",
"vue-tsc": "^2.2.0"
}
}
+969
View File
@@ -0,0 +1,969 @@
lockfileVersion: '9.0'
settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
importers:
.:
dependencies:
lucide-vue-next:
specifier: ^0.468.0
version: 0.468.0(vue@3.5.41(typescript@5.7.2))
vue:
specifier: ^3.5.13
version: 3.5.41(typescript@5.7.2)
devDependencies:
'@vitejs/plugin-vue':
specifier: ^5.2.1
version: 5.2.1(vite@6.4.3)(vue@3.5.41(typescript@5.7.2))
typescript:
specifier: ~5.7.2
version: 5.7.2
vite:
specifier: ^6.0.5
version: 6.4.3
vue-tsc:
specifier: ^2.2.0
version: 2.2.0(typescript@5.7.2)
packages:
'@babel/helper-string-parser@7.29.7':
resolution: {integrity: sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==}
engines: {node: '>=6.9.0'}
'@babel/helper-validator-identifier@7.29.7':
resolution: {integrity: sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==}
engines: {node: '>=6.9.0'}
'@babel/parser@7.29.8':
resolution: {integrity: sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==}
engines: {node: '>=6.0.0'}
hasBin: true
'@babel/types@7.29.8':
resolution: {integrity: sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==}
engines: {node: '>=6.9.0'}
'@esbuild/aix-ppc64@0.25.0':
resolution: {integrity: sha512-O7vun9Sf8DFjH2UtqK8Ku3LkquL9SZL8OLY1T5NZkA34+wG3OQF7cl4Ql8vdNzM6fzBbYfLaiRLIOZ+2FOCgBQ==}
engines: {node: '>=18'}
cpu: [ppc64]
os: [aix]
'@esbuild/android-arm64@0.25.0':
resolution: {integrity: sha512-grvv8WncGjDSyUBjN9yHXNt+cq0snxXbDxy5pJtzMKGmmpPxeAmAhWxXI+01lU5rwZomDgD3kJwulEnhTRUd6g==}
engines: {node: '>=18'}
cpu: [arm64]
os: [android]
'@esbuild/android-arm@0.25.0':
resolution: {integrity: sha512-PTyWCYYiU0+1eJKmw21lWtC+d08JDZPQ5g+kFyxP0V+es6VPPSUhM6zk8iImp2jbV6GwjX4pap0JFbUQN65X1g==}
engines: {node: '>=18'}
cpu: [arm]
os: [android]
'@esbuild/android-x64@0.25.0':
resolution: {integrity: sha512-m/ix7SfKG5buCnxasr52+LI78SQ+wgdENi9CqyCXwjVR2X4Jkz+BpC3le3AoBPYTC9NHklwngVXvbJ9/Akhrfg==}
engines: {node: '>=18'}
cpu: [x64]
os: [android]
'@esbuild/darwin-arm64@0.25.0':
resolution: {integrity: sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw==}
engines: {node: '>=18'}
cpu: [arm64]
os: [darwin]
'@esbuild/darwin-x64@0.25.0':
resolution: {integrity: sha512-DgDaYsPWFTS4S3nWpFcMn/33ZZwAAeAFKNHNa1QN0rI4pUjgqf0f7ONmXf6d22tqTY+H9FNdgeaAa+YIFUn2Rg==}
engines: {node: '>=18'}
cpu: [x64]
os: [darwin]
'@esbuild/freebsd-arm64@0.25.0':
resolution: {integrity: sha512-VN4ocxy6dxefN1MepBx/iD1dH5K8qNtNe227I0mnTRjry8tj5MRk4zprLEdG8WPyAPb93/e4pSgi1SoHdgOa4w==}
engines: {node: '>=18'}
cpu: [arm64]
os: [freebsd]
'@esbuild/freebsd-x64@0.25.0':
resolution: {integrity: sha512-mrSgt7lCh07FY+hDD1TxiTyIHyttn6vnjesnPoVDNmDfOmggTLXRv8Id5fNZey1gl/V2dyVK1VXXqVsQIiAk+A==}
engines: {node: '>=18'}
cpu: [x64]
os: [freebsd]
'@esbuild/linux-arm64@0.25.0':
resolution: {integrity: sha512-9QAQjTWNDM/Vk2bgBl17yWuZxZNQIF0OUUuPZRKoDtqF2k4EtYbpyiG5/Dk7nqeK6kIJWPYldkOcBqjXjrUlmg==}
engines: {node: '>=18'}
cpu: [arm64]
os: [linux]
'@esbuild/linux-arm@0.25.0':
resolution: {integrity: sha512-vkB3IYj2IDo3g9xX7HqhPYxVkNQe8qTK55fraQyTzTX/fxaDtXiEnavv9geOsonh2Fd2RMB+i5cbhu2zMNWJwg==}
engines: {node: '>=18'}
cpu: [arm]
os: [linux]
'@esbuild/linux-ia32@0.25.0':
resolution: {integrity: sha512-43ET5bHbphBegyeqLb7I1eYn2P/JYGNmzzdidq/w0T8E2SsYL1U6un2NFROFRg1JZLTzdCoRomg8Rvf9M6W6Gg==}
engines: {node: '>=18'}
cpu: [ia32]
os: [linux]
'@esbuild/linux-loong64@0.25.0':
resolution: {integrity: sha512-fC95c/xyNFueMhClxJmeRIj2yrSMdDfmqJnyOY4ZqsALkDrrKJfIg5NTMSzVBr5YW1jf+l7/cndBfP3MSDpoHw==}
engines: {node: '>=18'}
cpu: [loong64]
os: [linux]
'@esbuild/linux-mips64el@0.25.0':
resolution: {integrity: sha512-nkAMFju7KDW73T1DdH7glcyIptm95a7Le8irTQNO/qtkoyypZAnjchQgooFUDQhNAy4iu08N79W4T4pMBwhPwQ==}
engines: {node: '>=18'}
cpu: [mips64el]
os: [linux]
'@esbuild/linux-ppc64@0.25.0':
resolution: {integrity: sha512-NhyOejdhRGS8Iwv+KKR2zTq2PpysF9XqY+Zk77vQHqNbo/PwZCzB5/h7VGuREZm1fixhs4Q/qWRSi5zmAiO4Fw==}
engines: {node: '>=18'}
cpu: [ppc64]
os: [linux]
'@esbuild/linux-riscv64@0.25.0':
resolution: {integrity: sha512-5S/rbP5OY+GHLC5qXp1y/Mx//e92L1YDqkiBbO9TQOvuFXM+iDqUNG5XopAnXoRH3FjIUDkeGcY1cgNvnXp/kA==}
engines: {node: '>=18'}
cpu: [riscv64]
os: [linux]
'@esbuild/linux-s390x@0.25.0':
resolution: {integrity: sha512-XM2BFsEBz0Fw37V0zU4CXfcfuACMrppsMFKdYY2WuTS3yi8O1nFOhil/xhKTmE1nPmVyvQJjJivgDT+xh8pXJA==}
engines: {node: '>=18'}
cpu: [s390x]
os: [linux]
'@esbuild/linux-x64@0.25.0':
resolution: {integrity: sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw==}
engines: {node: '>=18'}
cpu: [x64]
os: [linux]
'@esbuild/netbsd-arm64@0.25.0':
resolution: {integrity: sha512-RuG4PSMPFfrkH6UwCAqBzauBWTygTvb1nxWasEJooGSJ/NwRw7b2HOwyRTQIU97Hq37l3npXoZGYMy3b3xYvPw==}
engines: {node: '>=18'}
cpu: [arm64]
os: [netbsd]
'@esbuild/netbsd-x64@0.25.0':
resolution: {integrity: sha512-jl+qisSB5jk01N5f7sPCsBENCOlPiS/xptD5yxOx2oqQfyourJwIKLRA2yqWdifj3owQZCL2sn6o08dBzZGQzA==}
engines: {node: '>=18'}
cpu: [x64]
os: [netbsd]
'@esbuild/openbsd-arm64@0.25.0':
resolution: {integrity: sha512-21sUNbq2r84YE+SJDfaQRvdgznTD8Xc0oc3p3iW/a1EVWeNj/SdUCbm5U0itZPQYRuRTW20fPMWMpcrciH2EJw==}
engines: {node: '>=18'}
cpu: [arm64]
os: [openbsd]
'@esbuild/openbsd-x64@0.25.0':
resolution: {integrity: sha512-2gwwriSMPcCFRlPlKx3zLQhfN/2WjJ2NSlg5TKLQOJdV0mSxIcYNTMhk3H3ulL/cak+Xj0lY1Ym9ysDV1igceg==}
engines: {node: '>=18'}
cpu: [x64]
os: [openbsd]
'@esbuild/sunos-x64@0.25.0':
resolution: {integrity: sha512-bxI7ThgLzPrPz484/S9jLlvUAHYMzy6I0XiU1ZMeAEOBcS0VePBFxh1JjTQt3Xiat5b6Oh4x7UC7IwKQKIJRIg==}
engines: {node: '>=18'}
cpu: [x64]
os: [sunos]
'@esbuild/win32-arm64@0.25.0':
resolution: {integrity: sha512-ZUAc2YK6JW89xTbXvftxdnYy3m4iHIkDtK3CLce8wg8M2L+YZhIvO1DKpxrd0Yr59AeNNkTiic9YLf6FTtXWMw==}
engines: {node: '>=18'}
cpu: [arm64]
os: [win32]
'@esbuild/win32-ia32@0.25.0':
resolution: {integrity: sha512-eSNxISBu8XweVEWG31/JzjkIGbGIJN/TrRoiSVZwZ6pkC6VX4Im/WV2cz559/TXLcYbcrDN8JtKgd9DJVIo8GA==}
engines: {node: '>=18'}
cpu: [ia32]
os: [win32]
'@esbuild/win32-x64@0.25.0':
resolution: {integrity: sha512-ZENoHJBxA20C2zFzh6AI4fT6RraMzjYw4xKWemRTRmRVtN9c5DcH9r/f2ihEkMjOW5eGgrwCslG/+Y/3bL+DHQ==}
engines: {node: '>=18'}
cpu: [x64]
os: [win32]
'@jridgewell/sourcemap-codec@1.5.5':
resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}
'@napi-rs/lzma-linux-x64-gnu@1.5.1':
resolution: {integrity: sha512-oTXEIha4SsuXdTA4Iyskj0kpdx2yVXdhd75c2v3xGrHFfVMsbhTPZU/nMPL4sWKo4pBHm3aucLaqGlF696dTyQ==}
engines: {node: ^22.20 || ^24.12 || >=25}
cpu: [x64]
os: [linux]
libc: [glibc]
'@rollup/rollup-android-arm-eabi@4.62.4':
resolution: {integrity: sha512-RrPokAb7dmbxFoeO3TloqHyOjgye8RkBhSqmp4aJMIex4c9r46ZstPnleDQOq1t46VOVjwIuwNogIqbodV1Vvg==}
cpu: [arm]
os: [android]
'@rollup/rollup-android-arm64@4.62.4':
resolution: {integrity: sha512-JKuJc+pnpks2pjy7L/N3v/cAkZxYlnmuZoD840ldbMI5KDbC4iO9NKwPKYdjYFCMAIIlBzYSFHxIJVYzRo2/8A==}
cpu: [arm64]
os: [android]
'@rollup/rollup-darwin-arm64@4.62.4':
resolution: {integrity: sha512-krw5uS2STmvJ02x0uTXHbqQNuz+9eZ1iw+qXk9dmW2gvV4jV7O2hEoOnuhFrpOPiel1mBFtqbxYZZtC46hXLOw==}
cpu: [arm64]
os: [darwin]
'@rollup/rollup-darwin-x64@4.62.4':
resolution: {integrity: sha512-wsTxtgApb4PrOsNJIm0FZ1h3WvCC+k9uxLJ4ad75hgoS4NiRes2SoJFlDAyMwiUY8IssDqGcHbXuN0sx1tfF1A==}
cpu: [x64]
os: [darwin]
'@rollup/rollup-freebsd-arm64@4.62.4':
resolution: {integrity: sha512-GUOnQlyZe3yAXhWOtOMsn5Qkrv5E5mZXa0thbARWi5Ei2szlVXJFQhddZ4HbAzh8q92w5twp+CQvs/eFanz9YQ==}
cpu: [arm64]
os: [freebsd]
'@rollup/rollup-freebsd-x64@4.62.4':
resolution: {integrity: sha512-/Y7f3QuxjzPKsjA/rfEDa3+0vXqyjmJ50Ln8dPpCmWkKTrUoWHG1cWhTqaAMLob2m2nESWuC7yGrREz019Ztqg==}
cpu: [x64]
os: [freebsd]
'@rollup/rollup-linux-arm-gnueabihf@4.62.4':
resolution: {integrity: sha512-81wiiX3v7aqy+T+bT61TJ78yJjRquqFFTTbAPt08imfQQzkPIW8t6aJbkTagtCCrXMNc9D66+geqlK7ydLPNqA==}
cpu: [arm]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-arm-musleabihf@4.62.4':
resolution: {integrity: sha512-9kmDIvNZqdoHOBZgNtpTBeLWYO/LVipM3H/j62P8848/l/VPEQL6N3uxU9pvP1oZAsXyC2MEnFP3ovRjo7WYNQ==}
cpu: [arm]
os: [linux]
libc: [musl]
'@rollup/rollup-linux-arm64-gnu@4.62.4':
resolution: {integrity: sha512-CcnXHWnXg69g+DX5VWL3FHts3qMRN2uVEHX+BZvGLdd07/gXkn3ePjYtO1LDJvxkGKVHMclKBRa1QUTH+6toYQ==}
cpu: [arm64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-arm64-musl@4.62.4':
resolution: {integrity: sha512-iFOibiHnTRuhrWLlRsOQFdZJJIa7S8OwkneJr4ocALP16u5yk6lWLINFwhHaEqBFMsKDUZofLkGos7+CPzGB3g==}
cpu: [arm64]
os: [linux]
libc: [musl]
'@rollup/rollup-linux-loong64-gnu@4.62.4':
resolution: {integrity: sha512-XnWYMI7euHlb5a871xPja+Gm7DRCFU+FGRrtS2sMq9N8FvqtpagUy6gD4YOemC5MRk9xbh8+jYMEJbigFQwsgA==}
cpu: [loong64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-loong64-musl@4.62.4':
resolution: {integrity: sha512-qGDAlO0U8xedCcsdRm9oaoQY8DAx/QT7uIxJWhCdx0ceIWX783UC9QSYkdpzAe29wNiVfp24+bZdQmn49o45SQ==}
cpu: [loong64]
os: [linux]
libc: [musl]
'@rollup/rollup-linux-ppc64-gnu@4.62.4':
resolution: {integrity: sha512-ru4H6ezD7ysA5EiEK6qkkaEb4modH8CTej6kUy/gQi20u3kB3G7Zn8snXXkeJSCOFKG/rbPPtM/+9Wgas1961w==}
cpu: [ppc64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-ppc64-musl@4.62.4':
resolution: {integrity: sha512-2W4MO5WQVJnbJaZdvDb9rhBDuFU1nKIepPFpJUBsTh2k1YY2g+ODViaWuyOAjQ5cOP7NvrvLzt3wvHOoiAvc7w==}
cpu: [ppc64]
os: [linux]
libc: [musl]
'@rollup/rollup-linux-riscv64-gnu@4.62.4':
resolution: {integrity: sha512-+fxjfuoAmVMCYV5QyjoIpu0cp5DOiOTeqYFk1AVaxGr+/ravWLX89XfQmptsoWcaVy/TGf2hexzbUOrCQIL1CQ==}
cpu: [riscv64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-riscv64-musl@4.62.4':
resolution: {integrity: sha512-jTn8JfHGL4djjFxPuM06LmNUJDsst2jeVlsd9OmIH6zc5sC9K6rIuO4YajXatLUpBmBKl6b35ro1QZocLi+tcA==}
cpu: [riscv64]
os: [linux]
libc: [musl]
'@rollup/rollup-linux-s390x-gnu@4.62.4':
resolution: {integrity: sha512-oCJCJL4pXsoDcP2QZ+JVlPTIRc6266zsIaeJJsWImmF7HO0W8nb6HuSgZlMWxJwaPf8ehbSw8yo0EUw925hKsA==}
cpu: [s390x]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-x64-gnu@4.62.4':
resolution: {integrity: sha512-W69hukhZ3KKNRCaMIEzKvcFye42hh0FE1+YoYaf5+Ikacuftoco6yO/xouz0hc5d5W/s3yBro5jRiuEE/Q5vUw==}
cpu: [x64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-x64-musl@4.62.4':
resolution: {integrity: sha512-qiXbGG2jkjXhzXpsFZSR2Xpb8DN/UaxYsbb/STbuR/6fpaDgRmmaq1B/LmtF2wQFOFOSsK2jdE0RZ3a0zHn4QA==}
cpu: [x64]
os: [linux]
libc: [musl]
'@rollup/rollup-openbsd-x64@4.62.4':
resolution: {integrity: sha512-nWeM//hxv8mIo6jD7Hu4o48DVmV9pbV6gsKaWU+4NFyqHoPKwrkRiZGLKUhOBk8qNmDmpwFtPKg80Bo/Tn4xiQ==}
cpu: [x64]
os: [openbsd]
'@rollup/rollup-openharmony-arm64@4.62.4':
resolution: {integrity: sha512-s62SQ/vgsRSvMwDkOEfTqfgASF0f26ZNaQuTA6Aok5lrikf89yI2W0gFHvZb2Jpgc6N8JnOKZgCK2iciO3CsxQ==}
cpu: [arm64]
os: [openharmony]
'@rollup/rollup-win32-arm64-msvc@4.62.4':
resolution: {integrity: sha512-J6wGf8TVGbXJq+HH+ttTvrcfNKPbuZecV6KT1B8I18BC5IURUh5kl4Yl5OEP5eFIUoI5BWxCsyYMhFsDx8kekw==}
cpu: [arm64]
os: [win32]
'@rollup/rollup-win32-ia32-msvc@4.62.4':
resolution: {integrity: sha512-zmfrQd/0wu6oJs8Vq8KwY/YtsKSsLtKe/HwAP4Wqy8LhWjeT55fHRAkOhYQ12wI3ayS4Tt12d5CDRD7N96SAYQ==}
cpu: [ia32]
os: [win32]
'@rollup/rollup-win32-x64-gnu@4.62.4':
resolution: {integrity: sha512-qPzHqdj9rfUD+w79dtE07zi/kFwKyCJqplp5K5ygeLTp7jLpAoc16OAH39HSmRC9UpozaecsleI8uAdEj6v2yw==}
cpu: [x64]
os: [win32]
'@rollup/rollup-win32-x64-msvc@4.62.4':
resolution: {integrity: sha512-zD6NdeWEByGE9QF9vCrlJ5YQB4oq9q91kPZS37Jwj5hOkvR1lTBSpsKhKDw4IJtbQ35LsTS1HD9DZYGKIshU1Q==}
cpu: [x64]
os: [win32]
'@types/estree@1.0.9':
resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==}
'@vitejs/plugin-vue@5.2.1':
resolution: {integrity: sha512-cxh314tzaWwOLqVes2gnnCtvBDcM1UMdn+iFR+UjAn411dPT3tOmqrJjbMd7koZpMAmBM/GqeV4n9ge7JSiJJQ==}
engines: {node: ^18.0.0 || >=20.0.0}
peerDependencies:
vite: ^5.0.0 || ^6.0.0
vue: ^3.2.25
'@volar/language-core@2.4.28':
resolution: {integrity: sha512-w4qhIJ8ZSitgLAkVay6AbcnC7gP3glYM3fYwKV3srj8m494E3xtrCv6E+bWviiK/8hs6e6t1ij1s2Endql7vzQ==}
'@volar/source-map@2.4.28':
resolution: {integrity: sha512-yX2BDBqJkRXfKw8my8VarTyjv48QwxdJtvRgUpNE5erCsgEUdI2DsLbpa+rOQVAJYshY99szEcRDmyHbF10ggQ==}
'@volar/typescript@2.4.28':
resolution: {integrity: sha512-Ja6yvWrbis2QtN4ClAKreeUZPVYMARDYZl9LMEv1iQ1QdepB6wn0jTRxA9MftYmYa4DQ4k/DaSZpFPUfxl8giw==}
'@vue/compiler-core@3.5.41':
resolution: {integrity: sha512-q0Xtv/F9w2YO/7htQhtiL+Ev2WCJbe5N2hc+XfgyKkEKqWpSxknmT8QOuGdEKNdjPq0c3F7rNpFkTo3Kfrm7pg==}
'@vue/compiler-dom@3.5.41':
resolution: {integrity: sha512-oKacVfNglLvGjnS6BXOlGL7EyG2h8X03pqXCjzotRZUaXGjbrTJUnVAQjrCqUnS+lyu31nwQjZY/d817GmCnfw==}
'@vue/compiler-sfc@3.5.41':
resolution: {integrity: sha512-XJhip7R2wy6vX3knCxdZN4KracFaZUef58s1KYewqluedHIJaPIVfXoYT7MF1F8nCvv6k8bWWxDC8opMkg1VTQ==}
'@vue/compiler-ssr@3.5.41':
resolution: {integrity: sha512-U3v5OejKEGqOI0Wy0+Sz7hGuIFZHA4LSXzrNM3IMIeDyJEBBfTpX26n3SDgToRpP2bLc9FfI2j/kSgcJ8Emq5A==}
'@vue/compiler-vue2@2.7.16':
resolution: {integrity: sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==}
'@vue/language-core@2.2.0':
resolution: {integrity: sha512-O1ZZFaaBGkKbsRfnVH1ifOK1/1BUkyK+3SQsfnh6PmMmD4qJcTU8godCeA96jjDRTL6zgnK7YzCHfaUlH2r0Mw==}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
'@vue/reactivity@3.5.41':
resolution: {integrity: sha512-rznsqKM0np0x18EjzF8x88MpEhdNsffbvFbckLL5+oUKz1BxAImEmO7J1ArRYSyo6aQaVoBDp7jEkT91OOxydA==}
'@vue/runtime-core@3.5.41':
resolution: {integrity: sha512-Vcry58hiAKwGen9Z1jUZE0feFsNArPCMOImYI8el48A9Idf6DuQYD0U05zZIF2Iad1hGhPSvcbBbAOhNr55fhg==}
'@vue/runtime-dom@3.5.41':
resolution: {integrity: sha512-3vVBahVBS9+U6cmXBLyb8nE6/yYo4J/CGI9eVFs3KiMc0YHuudwKyShTD65jtJy/L9PUUxNAFu4cj4LiJ0UFbw==}
'@vue/server-renderer@3.5.41':
resolution: {integrity: sha512-n6hx/pNFfbD6SuyeuMVkvqox8bwf/ET9JlA/kAz/imw8sw++wkqKe2mHX5KutjPpbKE4Z56yTHszoOjGMI9igQ==}
'@vue/shared@3.5.41':
resolution: {integrity: sha512-IOnwSCma8j+9xJT6b8H0dEYidC80NsYmNMlZxRsukYcSoGaDBohog5hDxzeUXdFeGWFA++vWvxqOmrr96VlqMA==}
alien-signals@0.4.9:
resolution: {integrity: sha512-piRGlMgQ65uRiY06mGU7I432AwPwAGf64TK1RXtM1Px4pPfLMTGI9TmsHTfioW1GukZRsNzkVQ/uHjhhd231Ow==}
balanced-match@1.0.0:
resolution: {integrity: sha512-9Y0g0Q8rmSt+H33DfKv7FOc3v+iRI+o1lbzt8jGcIosYW37IIW/2XVYq5NPdmaD5NQ59Nk26Kl/vZbwW9Fr8vg==}
brace-expansion@2.1.4:
resolution: {integrity: sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==}
csstype@3.2.3:
resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==}
de-indent@1.0.2:
resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==}
entities@7.0.1:
resolution: {integrity: sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==}
engines: {node: '>=0.12'}
esbuild@0.25.0:
resolution: {integrity: sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw==}
engines: {node: '>=18'}
hasBin: true
estree-walker@2.0.2:
resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
fdir@6.5.0:
resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==}
engines: {node: '>=12.0.0'}
peerDependencies:
picomatch: ^3 || ^4
peerDependenciesMeta:
picomatch:
optional: true
fsevents@2.3.3:
resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
os: [darwin]
he@1.2.0:
resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==}
hasBin: true
lucide-vue-next@0.468.0:
resolution: {integrity: sha512-quV/6T8YB1XK0VOEnebg3Byd8Rsan5/m95cvjnuHV4vcS3qEnLAybkrSh0hk3ppavx+V7R1PjNW+mGDvcBdz4A==}
peerDependencies:
vue: '>=3.0.1'
magic-string@0.30.21:
resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
minimatch@9.0.9:
resolution: {integrity: sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==}
engines: {node: '>=16 || 14 >=14.17'}
muggle-string@0.4.1:
resolution: {integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==}
nanoid@3.3.18:
resolution: {integrity: sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==}
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true
path-browserify@1.0.1:
resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==}
picocolors@1.1.1:
resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
picomatch@4.0.5:
resolution: {integrity: sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==}
engines: {node: '>=12'}
postcss@8.5.26:
resolution: {integrity: sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==}
engines: {node: ^10 || ^12 || >=14}
rollup@4.62.4:
resolution: {integrity: sha512-RXOqwaPsBGjMNMa4sQjDjHieHEZDFoj/Rdr46l2MU5DfEs16wHJPC2RPTPHWhNl+M3aI472LLqFkFKut4SblOg==}
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
hasBin: true
source-map-js@1.2.1:
resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}
engines: {node: '>=0.10.0'}
tinyglobby@0.2.17:
resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==}
engines: {node: '>=12.0.0'}
typescript@5.7.2:
resolution: {integrity: sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==}
engines: {node: '>=14.17'}
hasBin: true
vite@6.4.3:
resolution: {integrity: sha512-NTKlcQjlAK7MlQoyb6LgaqHc8sso/pVyUJYWMws3jg21uTJw/LddqIFPcPqP6PzpgbIcZyKI85sFE4HBrQDA8A==}
engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
hasBin: true
peerDependencies:
'@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0
jiti: '>=1.21.0'
less: '*'
lightningcss: ^1.21.0
sass: '*'
sass-embedded: '*'
stylus: '*'
sugarss: '*'
terser: ^5.16.0
tsx: ^4.8.1
yaml: ^2.4.2
peerDependenciesMeta:
'@types/node':
optional: true
jiti:
optional: true
less:
optional: true
lightningcss:
optional: true
sass:
optional: true
sass-embedded:
optional: true
stylus:
optional: true
sugarss:
optional: true
terser:
optional: true
tsx:
optional: true
yaml:
optional: true
vscode-uri@3.1.0:
resolution: {integrity: sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==}
vue-tsc@2.2.0:
resolution: {integrity: sha512-gtmM1sUuJ8aSb0KoAFmK9yMxb8TxjewmxqTJ1aKphD5Cbu0rULFY6+UQT51zW7SpUcenfPUuflKyVwyx9Qdnxg==}
hasBin: true
peerDependencies:
typescript: '>=5.0.0'
vue@3.5.41:
resolution: {integrity: sha512-2laE0p+aK+/AOPG/XL/WepOs/GlK755LJ1XECi9kDUrz1FKNw8rb2Xzlw9JS1rqEV55nb0ttsKxVlTCcd+R5cg==}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
snapshots:
'@babel/helper-string-parser@7.29.7': {}
'@babel/helper-validator-identifier@7.29.7': {}
'@babel/parser@7.29.8':
dependencies:
'@babel/types': 7.29.8
'@babel/types@7.29.8':
dependencies:
'@babel/helper-string-parser': 7.29.7
'@babel/helper-validator-identifier': 7.29.7
'@esbuild/aix-ppc64@0.25.0':
optional: true
'@esbuild/android-arm64@0.25.0':
optional: true
'@esbuild/android-arm@0.25.0':
optional: true
'@esbuild/android-x64@0.25.0':
optional: true
'@esbuild/darwin-arm64@0.25.0':
optional: true
'@esbuild/darwin-x64@0.25.0':
optional: true
'@esbuild/freebsd-arm64@0.25.0':
optional: true
'@esbuild/freebsd-x64@0.25.0':
optional: true
'@esbuild/linux-arm64@0.25.0':
optional: true
'@esbuild/linux-arm@0.25.0':
optional: true
'@esbuild/linux-ia32@0.25.0':
optional: true
'@esbuild/linux-loong64@0.25.0':
optional: true
'@esbuild/linux-mips64el@0.25.0':
optional: true
'@esbuild/linux-ppc64@0.25.0':
optional: true
'@esbuild/linux-riscv64@0.25.0':
optional: true
'@esbuild/linux-s390x@0.25.0':
optional: true
'@esbuild/linux-x64@0.25.0':
optional: true
'@esbuild/netbsd-arm64@0.25.0':
optional: true
'@esbuild/netbsd-x64@0.25.0':
optional: true
'@esbuild/openbsd-arm64@0.25.0':
optional: true
'@esbuild/openbsd-x64@0.25.0':
optional: true
'@esbuild/sunos-x64@0.25.0':
optional: true
'@esbuild/win32-arm64@0.25.0':
optional: true
'@esbuild/win32-ia32@0.25.0':
optional: true
'@esbuild/win32-x64@0.25.0':
optional: true
'@jridgewell/sourcemap-codec@1.5.5': {}
'@napi-rs/lzma-linux-x64-gnu@1.5.1':
optional: true
'@rollup/rollup-android-arm-eabi@4.62.4':
optional: true
'@rollup/rollup-android-arm64@4.62.4':
optional: true
'@rollup/rollup-darwin-arm64@4.62.4':
optional: true
'@rollup/rollup-darwin-x64@4.62.4':
optional: true
'@rollup/rollup-freebsd-arm64@4.62.4':
optional: true
'@rollup/rollup-freebsd-x64@4.62.4':
optional: true
'@rollup/rollup-linux-arm-gnueabihf@4.62.4':
optional: true
'@rollup/rollup-linux-arm-musleabihf@4.62.4':
optional: true
'@rollup/rollup-linux-arm64-gnu@4.62.4':
optional: true
'@rollup/rollup-linux-arm64-musl@4.62.4':
optional: true
'@rollup/rollup-linux-loong64-gnu@4.62.4':
optional: true
'@rollup/rollup-linux-loong64-musl@4.62.4':
optional: true
'@rollup/rollup-linux-ppc64-gnu@4.62.4':
optional: true
'@rollup/rollup-linux-ppc64-musl@4.62.4':
optional: true
'@rollup/rollup-linux-riscv64-gnu@4.62.4':
optional: true
'@rollup/rollup-linux-riscv64-musl@4.62.4':
optional: true
'@rollup/rollup-linux-s390x-gnu@4.62.4':
optional: true
'@rollup/rollup-linux-x64-gnu@4.62.4':
optional: true
'@rollup/rollup-linux-x64-musl@4.62.4':
optional: true
'@rollup/rollup-openbsd-x64@4.62.4':
optional: true
'@rollup/rollup-openharmony-arm64@4.62.4':
optional: true
'@rollup/rollup-win32-arm64-msvc@4.62.4':
optional: true
'@rollup/rollup-win32-ia32-msvc@4.62.4':
optional: true
'@rollup/rollup-win32-x64-gnu@4.62.4':
optional: true
'@rollup/rollup-win32-x64-msvc@4.62.4':
optional: true
'@types/estree@1.0.9': {}
'@vitejs/plugin-vue@5.2.1(vite@6.4.3)(vue@3.5.41(typescript@5.7.2))':
dependencies:
vite: 6.4.3
vue: 3.5.41(typescript@5.7.2)
'@volar/language-core@2.4.28':
dependencies:
'@volar/source-map': 2.4.28
'@volar/source-map@2.4.28': {}
'@volar/typescript@2.4.28':
dependencies:
'@volar/language-core': 2.4.28
path-browserify: 1.0.1
vscode-uri: 3.1.0
'@vue/compiler-core@3.5.41':
dependencies:
'@babel/parser': 7.29.8
'@vue/shared': 3.5.41
entities: 7.0.1
estree-walker: 2.0.2
source-map-js: 1.2.1
'@vue/compiler-dom@3.5.41':
dependencies:
'@vue/compiler-core': 3.5.41
'@vue/shared': 3.5.41
'@vue/compiler-sfc@3.5.41':
dependencies:
'@babel/parser': 7.29.8
'@vue/compiler-core': 3.5.41
'@vue/compiler-dom': 3.5.41
'@vue/compiler-ssr': 3.5.41
'@vue/shared': 3.5.41
estree-walker: 2.0.2
magic-string: 0.30.21
postcss: 8.5.26
source-map-js: 1.2.1
'@vue/compiler-ssr@3.5.41':
dependencies:
'@vue/compiler-dom': 3.5.41
'@vue/shared': 3.5.41
'@vue/compiler-vue2@2.7.16':
dependencies:
de-indent: 1.0.2
he: 1.2.0
'@vue/language-core@2.2.0(typescript@5.7.2)':
dependencies:
'@volar/language-core': 2.4.28
'@vue/compiler-dom': 3.5.41
'@vue/compiler-vue2': 2.7.16
'@vue/shared': 3.5.41
alien-signals: 0.4.9
minimatch: 9.0.9
muggle-string: 0.4.1
path-browserify: 1.0.1
optionalDependencies:
typescript: 5.7.2
'@vue/reactivity@3.5.41':
dependencies:
'@vue/shared': 3.5.41
'@vue/runtime-core@3.5.41':
dependencies:
'@vue/reactivity': 3.5.41
'@vue/shared': 3.5.41
'@vue/runtime-dom@3.5.41':
dependencies:
'@vue/reactivity': 3.5.41
'@vue/runtime-core': 3.5.41
'@vue/shared': 3.5.41
csstype: 3.2.3
'@vue/server-renderer@3.5.41':
dependencies:
'@vue/compiler-ssr': 3.5.41
'@vue/runtime-dom': 3.5.41
'@vue/shared': 3.5.41
'@vue/shared@3.5.41': {}
alien-signals@0.4.9: {}
balanced-match@1.0.0: {}
brace-expansion@2.1.4:
dependencies:
balanced-match: 1.0.0
csstype@3.2.3: {}
de-indent@1.0.2: {}
entities@7.0.1: {}
esbuild@0.25.0:
optionalDependencies:
'@esbuild/aix-ppc64': 0.25.0
'@esbuild/android-arm': 0.25.0
'@esbuild/android-arm64': 0.25.0
'@esbuild/android-x64': 0.25.0
'@esbuild/darwin-arm64': 0.25.0
'@esbuild/darwin-x64': 0.25.0
'@esbuild/freebsd-arm64': 0.25.0
'@esbuild/freebsd-x64': 0.25.0
'@esbuild/linux-arm': 0.25.0
'@esbuild/linux-arm64': 0.25.0
'@esbuild/linux-ia32': 0.25.0
'@esbuild/linux-loong64': 0.25.0
'@esbuild/linux-mips64el': 0.25.0
'@esbuild/linux-ppc64': 0.25.0
'@esbuild/linux-riscv64': 0.25.0
'@esbuild/linux-s390x': 0.25.0
'@esbuild/linux-x64': 0.25.0
'@esbuild/netbsd-arm64': 0.25.0
'@esbuild/netbsd-x64': 0.25.0
'@esbuild/openbsd-arm64': 0.25.0
'@esbuild/openbsd-x64': 0.25.0
'@esbuild/sunos-x64': 0.25.0
'@esbuild/win32-arm64': 0.25.0
'@esbuild/win32-ia32': 0.25.0
'@esbuild/win32-x64': 0.25.0
estree-walker@2.0.2: {}
fdir@6.5.0(picomatch@4.0.5):
optionalDependencies:
picomatch: 4.0.5
fsevents@2.3.3:
optional: true
he@1.2.0: {}
lucide-vue-next@0.468.0(vue@3.5.41(typescript@5.7.2)):
dependencies:
vue: 3.5.41(typescript@5.7.2)
magic-string@0.30.21:
dependencies:
'@jridgewell/sourcemap-codec': 1.5.5
minimatch@9.0.9:
dependencies:
brace-expansion: 2.1.4
muggle-string@0.4.1: {}
nanoid@3.3.18: {}
path-browserify@1.0.1: {}
picocolors@1.1.1: {}
picomatch@4.0.5: {}
postcss@8.5.26:
dependencies:
nanoid: 3.3.18
picocolors: 1.1.1
source-map-js: 1.2.1
rollup@4.62.4:
dependencies:
'@types/estree': 1.0.9
optionalDependencies:
'@napi-rs/lzma-linux-x64-gnu': 1.5.1
'@rollup/rollup-android-arm-eabi': 4.62.4
'@rollup/rollup-android-arm64': 4.62.4
'@rollup/rollup-darwin-arm64': 4.62.4
'@rollup/rollup-darwin-x64': 4.62.4
'@rollup/rollup-freebsd-arm64': 4.62.4
'@rollup/rollup-freebsd-x64': 4.62.4
'@rollup/rollup-linux-arm-gnueabihf': 4.62.4
'@rollup/rollup-linux-arm-musleabihf': 4.62.4
'@rollup/rollup-linux-arm64-gnu': 4.62.4
'@rollup/rollup-linux-arm64-musl': 4.62.4
'@rollup/rollup-linux-loong64-gnu': 4.62.4
'@rollup/rollup-linux-loong64-musl': 4.62.4
'@rollup/rollup-linux-ppc64-gnu': 4.62.4
'@rollup/rollup-linux-ppc64-musl': 4.62.4
'@rollup/rollup-linux-riscv64-gnu': 4.62.4
'@rollup/rollup-linux-riscv64-musl': 4.62.4
'@rollup/rollup-linux-s390x-gnu': 4.62.4
'@rollup/rollup-linux-x64-gnu': 4.62.4
'@rollup/rollup-linux-x64-musl': 4.62.4
'@rollup/rollup-openbsd-x64': 4.62.4
'@rollup/rollup-openharmony-arm64': 4.62.4
'@rollup/rollup-win32-arm64-msvc': 4.62.4
'@rollup/rollup-win32-ia32-msvc': 4.62.4
'@rollup/rollup-win32-x64-gnu': 4.62.4
'@rollup/rollup-win32-x64-msvc': 4.62.4
fsevents: 2.3.3
source-map-js@1.2.1: {}
tinyglobby@0.2.17:
dependencies:
fdir: 6.5.0(picomatch@4.0.5)
picomatch: 4.0.5
typescript@5.7.2: {}
vite@6.4.3:
dependencies:
esbuild: 0.25.0
fdir: 6.5.0(picomatch@4.0.5)
picomatch: 4.0.5
postcss: 8.5.26
rollup: 4.62.4
tinyglobby: 0.2.17
optionalDependencies:
fsevents: 2.3.3
vscode-uri@3.1.0: {}
vue-tsc@2.2.0(typescript@5.7.2):
dependencies:
'@volar/typescript': 2.4.28
'@vue/language-core': 2.2.0(typescript@5.7.2)
typescript: 5.7.2
vue@3.5.41(typescript@5.7.2):
dependencies:
'@vue/compiler-dom': 3.5.41
'@vue/compiler-sfc': 3.5.41
'@vue/runtime-dom': 3.5.41
'@vue/server-renderer': 3.5.41
'@vue/shared': 3.5.41
optionalDependencies:
typescript: 5.7.2
+536
View File
@@ -0,0 +1,536 @@
<script setup lang="ts">
import { computed, ref } from 'vue'
import {
Activity,
AlertTriangle,
ArrowRight,
ArrowUpRight,
Bell,
BookOpen,
Box,
Boxes,
Check,
CheckCircle2,
ChevronDown,
ChevronRight,
CircleDollarSign,
CircleHelp,
Clipboard,
Clock3,
Cloud,
Code2,
Copy,
Cpu,
CreditCard,
Database,
Download,
Eye,
EyeOff,
FileCode2,
Filter,
Gauge,
Globe2,
ImagePlus,
KeyRound,
Layers3,
LayoutDashboard,
LifeBuoy,
ListTodo,
LockKeyhole,
LogOut,
Menu,
MessageSquare,
Mic2,
MoreHorizontal,
PackageOpen,
Play,
Plus,
Puzzle,
RefreshCcw,
Search,
Send,
ServerCog,
Settings2,
ShieldCheck,
SlidersHorizontal,
Sparkles,
Terminal,
Timer,
TrendingUp,
Users,
Video,
WalletCards,
X,
Zap,
} from 'lucide-vue-next'
type View = 'overview' | 'models' | 'playground' | 'keys' | 'tasks' | 'usage' | 'docs' | 'operations'
type ModelType = '文本' | '多模态' | '图像' | '3D' | '视频' | '音频'
type TaskStatus = '排队中' | '执行中' | '已完成' | '失败'
interface ModelCard {
id: string
name: string
vendor: string
type: ModelType
description: string
latency: string
context: string
availability: number
accent: string
icon: typeof Box
mode: '同步' | '流式' | '异步'
featured?: boolean
}
interface ApiKey {
id: number
name: string
prefix: string
created: string
lastUsed: string
scope: string
status: 'active' | 'disabled'
}
interface TaskItem {
id: string
model: string
type: string
status: TaskStatus
progress: number
created: string
duration: string
result?: string
}
const activeView = ref<View>('overview')
const sidebarCollapsed = ref(false)
const mobileSidebarOpen = ref(false)
const searchQuery = ref('')
const modelQuery = ref('')
const modelFilter = ref<'全部' | ModelType>('全部')
const taskFilter = ref<'全部' | TaskStatus>('全部')
const showCreateKeyModal = ref(false)
const showSecretModal = ref(false)
const newKeySecret = ref('')
const keyName = ref('')
const keyScope = ref('全部模型')
const toastMessage = ref('')
const selectedTask = ref<TaskItem | null>(null)
const isRunning = ref(false)
const playgroundOutput = ref('')
const playgroundMode = ref<'同步' | '流式' | '异步'>('流式')
const prompt = ref('请帮我为一个面向创意团队的 AI 工作台,写一段简洁、有未来感的产品介绍。')
const activeModelId = ref('moyi-text-pro')
const adminCreditUser = ref('')
const adminCreditAmount = ref('100')
const showApiKey = ref(false)
const navGroups = [
{
label: '工作台',
items: [
{ key: 'overview' as View, label: '总览', icon: LayoutDashboard },
{ key: 'models' as View, label: '模型广场', icon: Boxes },
{ key: 'playground' as View, label: 'Playground', icon: Sparkles },
],
},
{
label: '开发者',
items: [
{ key: 'keys' as View, label: 'API Keys', icon: KeyRound },
{ key: 'tasks' as View, label: '任务中心', icon: ListTodo },
{ key: 'usage' as View, label: '用量与账单', icon: WalletCards },
{ key: 'docs' as View, label: '接入文档', icon: BookOpen },
],
},
{
label: '运营',
items: [{ key: 'operations' as View, label: '运营后台', icon: ServerCog }],
},
]
const viewMeta: Record<View, { title: string; eyebrow: string; description: string }> = {
overview: { title: '总览', eyebrow: 'WORKSPACE OVERVIEW', description: '把模型调用变成清晰、可控、可持续的工作流。' },
models: { title: '模型广场', eyebrow: 'MODEL CATALOG', description: '按能力选择模型,一处接入,连接多模。' },
playground: { title: 'Playground', eyebrow: 'MODEL PLAYGROUND', description: '在接入自己的系统前,先快速验证模型效果。' },
keys: { title: 'API Keys', eyebrow: 'DEVELOPER ACCESS', description: '管理连接模亦灵枢的凭证与访问范围。' },
tasks: { title: '任务中心', eyebrow: 'ASYNC TASKS', description: '统一查看异步模型的排队、执行与结果。' },
usage: { title: '用量与账单', eyebrow: 'USAGE & CREDITS', description: '追踪调用消耗,了解额度和资源使用情况。' },
docs: { title: '接入文档', eyebrow: 'DEVELOPER DOCS', description: '用一套标准接口,把模型能力带进你的产品。' },
operations: { title: '运营后台', eyebrow: 'OPERATIONS CONSOLE', description: '管理模型供给、容量和内测用户资源。' },
}
const models = ref<ModelCard[]>([
{
id: 'moyi-text-pro',
name: 'MOYI Text Pro',
vendor: '模亦灵枢 · 精选模型',
type: '文本',
description: '适合复杂推理、代码生成和长文档处理的通用文本模型。',
latency: '约 0.8s',
context: '128K 上下文',
availability: 99.98,
accent: 'violet',
icon: MessageSquare,
mode: '流式',
featured: true,
},
{
id: 'moyi-vision',
name: 'MOYI Vision',
vendor: '模亦灵枢 · 多模态',
type: '多模态',
description: '理解图片、文档与屏幕内容,适合视觉问答和内容分析。',
latency: '约 1.2s',
context: '32K 上下文',
availability: 99.95,
accent: 'cyan',
icon: ImagePlus,
mode: '同步',
featured: true,
},
{
id: 'moyi-3d-studio',
name: 'AI SoulMate 3D',
vendor: '模灵科技 · 生成式 3D',
type: '3D',
description: '从文字或图片生成可下载的 3D 资产,任务型异步调用。',
latency: '约 2–5 min',
context: '图文输入',
availability: 99.9,
accent: 'orange',
icon: Box,
mode: '异步',
featured: true,
},
{
id: 'moyi-image-craft',
name: 'MOYI Image Craft',
vendor: '模亦灵枢 · 图像生成',
type: '图像',
description: '面向创意生产的图像生成模型,支持多种画幅和风格控制。',
latency: '约 8s',
context: '1024 × 1024',
availability: 99.92,
accent: 'pink',
icon: Sparkles,
mode: '异步',
},
{
id: 'moyi-motion',
name: 'MOYI Motion',
vendor: '模亦灵枢 · 视频生成',
type: '视频',
description: '将文本或首帧转化为短视频片段,适合概念验证与内容创作。',
latency: '约 1–3 min',
context: '720p / 5s',
availability: 99.86,
accent: 'blue',
icon: Video,
mode: '异步',
},
{
id: 'moyi-voice',
name: 'MOYI Voice',
vendor: '模亦灵枢 · 音频理解',
type: '音频',
description: '语音转写、摘要和音频内容理解,适合工作流自动化。',
latency: '约 1.4s',
context: '60 min / file',
availability: 99.94,
accent: 'green',
icon: Mic2,
mode: '同步',
},
])
const apiKeys = ref<ApiKey[]>([
{ id: 1, name: 'AI SoulMate 内部环境', prefix: 'sk-moyi-••••••••8H2K', created: '2026-08-14', lastUsed: '刚刚', scope: '全部模型', status: 'active' },
{ id: 2, name: '本地开发调试', prefix: 'sk-moyi-••••••••Q7P1', created: '2026-08-06', lastUsed: '2 小时前', scope: '文本 / 多模态', status: 'active' },
{ id: 3, name: '旧版演示环境', prefix: 'sk-moyi-••••••••M4D9', created: '2026-07-29', lastUsed: '12 天前', scope: '全部模型', status: 'disabled' },
])
const tasks = ref<TaskItem[]>([
{ id: 'task_9f3a82', model: 'AI SoulMate 3D', type: '文字生成 3D', status: '执行中', progress: 72, created: '今天 14:32', duration: '已运行 01:48', result: '预计还需约 45 秒' },
{ id: 'task_9f3a71', model: 'MOYI Image Craft', type: '图像生成', status: '排队中', progress: 18, created: '今天 14:28', duration: '排队 00:32', result: '前方还有 2 个任务' },
{ id: 'task_9f39b8', model: 'AI SoulMate 3D', type: '图片生成 3D', status: '已完成', progress: 100, created: '今天 13:56', duration: '完成于 02:16', result: 'asset_3d_0826.glb' },
{ id: 'task_9f37a2', model: 'MOYI Motion', type: '文本生成视频', status: '失败', progress: 46, created: '今天 11:20', duration: '失败于 00:58', result: '上游容量暂时不足' },
])
const usageBars = [
{ day: '周一', value: 38, label: '1.2k' },
{ day: '周二', value: 55, label: '2.4k' },
{ day: '周三', value: 46, label: '1.8k' },
{ day: '周四', value: 72, label: '3.1k' },
{ day: '周五', value: 64, label: '2.7k' },
{ day: '周六', value: 31, label: '980' },
{ day: '周日', value: 84, label: '3.8k' },
]
const modelTypes: Array<'全部' | ModelType> = ['全部', '文本', '多模态', '图像', '3D', '视频', '音频']
const currentMeta = computed(() => viewMeta[activeView.value])
const activeModel = computed(() => models.value.find((model) => model.id === activeModelId.value) ?? models.value[0])
const filteredModels = computed(() => {
const query = modelQuery.value.trim().toLowerCase()
return models.value.filter((model) => {
const matchesType = modelFilter.value === '全部' || model.type === modelFilter.value
const matchesQuery = !query || `${model.name} ${model.vendor} ${model.description}`.toLowerCase().includes(query)
return matchesType && matchesQuery
})
})
const filteredTasks = computed(() => taskFilter.value === '全部' ? tasks.value : tasks.value.filter((task) => task.status === taskFilter.value))
const searchResults = computed(() => {
const query = searchQuery.value.trim().toLowerCase()
if (!query) return []
return models.value.filter((model) => `${model.name} ${model.type} ${model.description}`.toLowerCase().includes(query)).slice(0, 4)
})
function navigate(view: View) {
activeView.value = view
mobileSidebarOpen.value = false
searchQuery.value = ''
}
function openModel(model: ModelCard) {
activeModelId.value = model.id
playgroundMode.value = model.mode
activeView.value = 'playground'
notify(`已将 ${model.name} 设置为 Playground 当前模型`)
}
function notify(message: string) {
toastMessage.value = message
window.setTimeout(() => {
if (toastMessage.value === message) toastMessage.value = ''
}, 3200)
}
async function copyText(value: string, label = '内容') {
try {
await navigator.clipboard.writeText(value)
notify(`${label}已复制到剪贴板`)
} catch {
notify(`请手动复制${label}`)
}
}
function createKey() {
const label = keyName.value.trim() || '未命名项目 Key'
const secret = `sk-moyi-${crypto.randomUUID().replace(/-/g, '').slice(0, 24)}`
apiKeys.value.unshift({
id: Date.now(),
name: label,
prefix: `${secret.slice(0, 10)}••••••••${secret.slice(-4)}`,
created: '刚刚',
lastUsed: '未使用',
scope: keyScope.value,
status: 'active',
})
newKeySecret.value = secret
keyName.value = ''
keyScope.value = '全部模型'
showCreateKeyModal.value = false
showSecretModal.value = true
}
function toggleKey(key: ApiKey) {
key.status = key.status === 'active' ? 'disabled' : 'active'
notify(key.status === 'active' ? `${key.name} 已重新启用` : `${key.name} 已禁用`)
}
function runPlayground() {
if (!prompt.value.trim()) {
notify('先输入一段内容,再开始调用')
return
}
if (isRunning.value) return
isRunning.value = true
playgroundOutput.value = ''
if (playgroundMode.value === '异步') {
window.setTimeout(() => {
isRunning.value = false
playgroundOutput.value = '任务已提交。你可以前往任务中心查看排队进度、生成结果和可下载资产。'
notify('异步任务已提交到任务中心')
}, 900)
return
}
window.setTimeout(() => {
isRunning.value = false
playgroundOutput.value = '模亦灵枢已完成这次调用。这个原型展示了统一 API 入口、模型选择、流式状态和调用结果在同一工作台中的完整闭环。'
notify('模型调用完成')
}, 1100)
}
function addDemoTask() {
const id = `task_${Math.random().toString(16).slice(2, 8)}`
tasks.value.unshift({ id, model: activeModel.value.name, type: `${activeModel.value.type} 生成任务`, status: '排队中', progress: 0, created: '刚刚', duration: '刚刚创建', result: '等待调度' })
activeView.value = 'tasks'
notify('演示任务已加入队列')
}
function grantCredit() {
if (!adminCreditUser.value.trim() || !adminCreditAmount.value.trim()) {
notify('请填写用户标识和额度数量')
return
}
notify(`已向 ${adminCreditUser.value} 发放 ${adminCreditAmount.value} 点额度(演示)`)
adminCreditUser.value = ''
}
function taskStatusClass(status: TaskStatus) {
return { 'is-running': status === '执行中', 'is-queued': status === '排队中', 'is-success': status === '已完成', 'is-failed': status === '失败' }
}
function modelIcon(model: ModelCard) {
return model.icon
}
</script>
<template>
<div class="app-shell">
<aside class="sidebar" :class="{ 'is-collapsed': sidebarCollapsed, 'is-mobile-open': mobileSidebarOpen }">
<div class="brand-block">
<button class="icon-button mobile-close" aria-label="关闭导航" @click="mobileSidebarOpen = false"><X :size="18" /></button>
<div class="brand-mark"><span>M</span><i></i></div>
<div v-if="!sidebarCollapsed" class="brand-copy">
<strong>模亦灵枢</strong>
<span>MOYI · MODEL HUB</span>
</div>
</div>
<div v-if="!sidebarCollapsed" class="workspace-switcher">
<div class="workspace-avatar">M</div>
<div class="workspace-copy"><strong>模灵科技工作区</strong><span>个人开发者 · 内测版</span></div>
<ChevronDown :size="15" />
</div>
<nav class="side-nav">
<div v-for="group in navGroups" :key="group.label" class="nav-group">
<p v-if="!sidebarCollapsed" class="nav-label">{{ group.label }}</p>
<button
v-for="item in group.items"
:key="item.key"
class="nav-item"
:class="{ active: activeView === item.key }"
:title="sidebarCollapsed ? item.label : undefined"
@click="navigate(item.key)"
>
<component :is="item.icon" :size="18" :stroke-width="activeView === item.key ? 2.4 : 1.8" />
<span v-if="!sidebarCollapsed">{{ item.label }}</span>
<em v-if="item.key === 'tasks' && !sidebarCollapsed">2</em>
</button>
</div>
</nav>
<div class="sidebar-bottom">
<div v-if="!sidebarCollapsed" class="credit-mini-card">
<div class="credit-mini-head"><span>可用额度</span><CircleDollarSign :size="16" /></div>
<strong>¥ 286.40</strong>
<div class="credit-progress"><span style="width: 68%"></span></div>
<small>本周期已使用 32%</small>
<button class="text-button" @click="navigate('usage')">查看用量 <ArrowUpRight :size="13" /></button>
</div>
<button class="nav-item" :title="sidebarCollapsed ? '帮助中心' : undefined" @click="notify('帮助中心将在下一阶段开放')"><LifeBuoy :size="18" /><span v-if="!sidebarCollapsed">帮助中心</span></button>
<button class="nav-item" :title="sidebarCollapsed ? '设置' : undefined" @click="notify('设置面板将在下一阶段开放')"><Settings2 :size="18" /><span v-if="!sidebarCollapsed">设置</span></button>
<button class="collapse-button" @click="sidebarCollapsed = !sidebarCollapsed"><ChevronRight v-if="sidebarCollapsed" :size="17" /><ChevronDown v-else :size="17" /><span v-if="!sidebarCollapsed">收起导航</span></button>
</div>
</aside>
<div v-if="mobileSidebarOpen" class="sidebar-backdrop" @click="mobileSidebarOpen = false"></div>
<section class="main-column">
<header class="topbar">
<div class="topbar-left">
<button class="icon-button mobile-menu" aria-label="打开导航" @click="mobileSidebarOpen = true"><Menu :size="20" /></button>
<div class="breadcrumb"><span>模亦灵枢</span><ChevronRight :size="14" /><strong>{{ currentMeta.title }}</strong></div>
</div>
<div class="topbar-actions">
<div class="global-search">
<Search :size="16" />
<input v-model="searchQuery" placeholder="搜索模型、文档或任务" aria-label="搜索模型、文档或任务" />
<kbd>⌘ K</kbd>
<div v-if="searchResults.length" class="search-results">
<button v-for="model in searchResults" :key="model.id" @click="openModel(model)"><component :is="modelIcon(model)" :size="16" /><span>{{ model.name }}</span><small>{{ model.type }}</small></button>
</div>
</div>
<button class="icon-button notification-button" aria-label="通知" @click="notify('当前没有新的通知')"><Bell :size="18" /><i></i></button>
<div class="topbar-user"><div class="avatar">林</div><div class="user-name"><strong>林默</strong><span>管理员</span></div><ChevronDown :size="14" /></div>
</div>
</header>
<main class="page-content">
<template v-if="activeView === 'overview'">
<section class="page-intro compact-intro"><div><span class="eyebrow">{{ currentMeta.eyebrow }}</span><h1>你好,林默 <span class="wave">✦</span></h1><p>{{ currentMeta.description }}</p></div><div class="intro-actions"><span class="status-pill"><i></i> 所有系统正常</span><button class="button secondary" @click="navigate('docs')"><BookOpen :size="16" /> 快速开始</button></div></section>
<section class="hero-card">
<div class="hero-orb orb-one"></div><div class="hero-orb orb-two"></div><div class="hero-grid"></div>
<div class="hero-content"><span class="hero-kicker"><Sparkles :size="14" /> MOYI MODEL INTELLIGENCE HUB</span><h2>一处接入,<br /><em>连接多模。</em></h2><p>从文本、图像到生成式 3D,把每一种模型能力装进同一个清晰的开发工作台。</p><div class="hero-actions"><button class="button primary" @click="navigate('models')">探索模型 <ArrowRight :size="17" /></button><button class="button ghost-light" @click="navigate('docs')"><Code2 :size="16" /> 查看接入方式</button></div><div class="hero-note"><span><ShieldCheck :size="14" /> 邀请码内测</span><span><Zap :size="14" /> 管理员额度发放</span><span><Globe2 :size="14" /> 统一标准接口</span></div></div>
<div class="hero-model-stack"><div class="floating-model-card card-a"><div class="mini-icon violet"><MessageSquare :size="15" /></div><span>文本理解</span><strong>12.8K</strong></div><div class="floating-model-card card-b"><div class="mini-icon orange"><Box :size="15" /></div><span>生成式 3D</span><strong>异步任务</strong></div><div class="floating-model-card card-c"><div class="mini-icon cyan"><ImagePlus :size="15" /></div><span>多模态视觉</span><strong>低延迟</strong></div><div class="stack-core"><div class="core-ring ring-outer"></div><div class="core-ring ring-inner"></div><div class="core-mark">M</div></div></div>
</section>
<section class="metrics-grid"><article class="metric-card"><div class="metric-icon violet"><Activity :size="18" /></div><div class="metric-copy"><span>今日调用次数</span><strong>12,840</strong><small class="positive"><TrendingUp :size="13" /> 18.6% <i>vs 昨日</i></small></div><div class="sparkline violet-line"><span style="height: 28%"></span><span style="height: 42%"></span><span style="height: 38%"></span><span style="height: 58%"></span><span style="height: 50%"></span><span style="height: 82%"></span><span style="height: 72%"></span></div></article><article class="metric-card"><div class="metric-icon cyan"><Gauge :size="18" /></div><div class="metric-copy"><span>平均响应时间</span><strong>1.24 <i>s</i></strong><small class="positive"><TrendingUp :size="13" /> 12.4% <i>更快</i></small></div><div class="sparkline cyan-line"><span style="height: 72%"></span><span style="height: 62%"></span><span style="height: 64%"></span><span style="height: 48%"></span><span style="height: 40%"></span><span style="height: 34%"></span><span style="height: 26%"></span></div></article><article class="metric-card"><div class="metric-icon orange"><WalletCards :size="18" /></div><div class="metric-copy"><span>剩余可用额度</span><strong>¥ 286.40</strong><small class="neutral">本周期剩余 68%</small></div><div class="metric-ring"><svg viewBox="0 0 42 42"><circle class="ring-track" cx="21" cy="21" r="15.5" /><circle class="ring-value" cx="21" cy="21" r="15.5" /></svg><span>68%</span></div></article><article class="metric-card"><div class="metric-icon green"><CheckCircle2 :size="18" /></div><div class="metric-copy"><span>平台可用性</span><strong>99.98 <i>%</i></strong><small class="positive"><span class="dot-live"></span> 服务稳定</small></div><div class="availability-bars"><i></i><i></i><i></i><i></i><i></i><i></i><i></i></div></article></section>
<section class="dashboard-grid"><article class="panel usage-panel"><div class="panel-heading"><div><span class="panel-eyebrow">调用趋势</span><h3>本周资源使用</h3></div><button class="select-button">最近 7 天 <ChevronDown :size="14" /></button></div><div class="usage-summary"><strong>3,842 <small>次调用</small></strong><span class="trend-chip"><TrendingUp :size="13" /> 24.8%</span><span class="summary-note">较上周同期</span></div><div class="bar-chart"><div v-for="bar in usageBars" :key="bar.day" class="bar-column"><span class="bar-value">{{ bar.label }}</span><div class="bar-track"><i :style="{ height: `${bar.value}%` }"></i></div><small>{{ bar.day }}</small></div></div></article><article class="panel activity-panel"><div class="panel-heading"><div><span class="panel-eyebrow">实时动态</span><h3>最近活动</h3></div><button class="link-button" @click="navigate('tasks')">查看全部 <ArrowUpRight :size="14" /></button></div><div class="activity-list"><div class="activity-item"><div class="activity-icon success"><Check :size="14" /></div><div><strong>调用完成</strong><p>MOYI Text Pro · 流式响应</p></div><time>刚刚</time></div><div class="activity-item"><div class="activity-icon violet"><KeyRound :size="14" /></div><div><strong>创建了新的 API Key</strong><p>AI SoulMate 内部环境</p></div><time>12 分钟前</time></div><div class="activity-item"><div class="activity-icon orange"><Box :size="14" /></div><div><strong>3D 任务执行中</strong><p>task_9f3a82 · 进度 72%</p></div><time>25 分钟前</time></div><div class="activity-item"><div class="activity-icon cyan"><CircleDollarSign :size="14" /></div><div><strong>额度已发放</strong><p>管理员向当前工作区发放额度</p></div><time>昨天</time></div></div></article></section>
<section class="section-heading"><div><span class="panel-eyebrow">精选能力</span><h3>从这里开始探索</h3></div><button class="link-button" @click="navigate('models')">查看全部模型 <ArrowRight :size="15" /></button></section><section class="model-preview-grid"><article v-for="model in models.filter((item) => item.featured)" :key="model.id" class="model-preview-card" :class="`accent-${model.accent}`" @click="openModel(model)"><div class="model-card-top"><div class="model-symbol"><component :is="modelIcon(model)" :size="18" /></div><span class="availability-dot"><i></i> {{ model.availability }}%</span></div><h4>{{ model.name }}</h4><p>{{ model.description }}</p><div class="model-card-footer"><span>{{ model.mode }} · {{ model.latency }}</span><ArrowUpRight :size="16" /></div></article></section>
</template>
<template v-else-if="activeView === 'models'">
<section class="page-intro"><div><span class="eyebrow">{{ currentMeta.eyebrow }}</span><h1>模型广场</h1><p>{{ currentMeta.description }}</p></div><div class="intro-actions"><button class="button secondary" @click="navigate('docs')"><BookOpen :size="16" /> 接入指南</button></div></section>
<section class="catalog-toolbar"><div class="filter-tabs"><button v-for="type in modelTypes" :key="type" :class="{ active: modelFilter === type }" @click="modelFilter = type">{{ type }}</button></div><div class="catalog-search"><Search :size="16" /><input v-model="modelQuery" placeholder="搜索模型名称或能力" /><SlidersHorizontal :size="16" /></div></section>
<section class="model-catalog-grid"><article v-for="model in filteredModels" :key="model.id" class="catalog-card" @click="openModel(model)"><div class="catalog-card-head"><div class="model-symbol large" :class="model.accent"><component :is="modelIcon(model)" :size="21" /></div><button class="more-button" @click.stop="notify('更多操作将在接入真实后端后开放')"><MoreHorizontal :size="18" /></button></div><div class="catalog-title"><h3>{{ model.name }}</h3><span class="model-type">{{ model.type }}</span></div><span class="vendor-name">{{ model.vendor }}</span><p>{{ model.description }}</p><div class="model-specs"><span><Timer :size="14" /> {{ model.latency }}</span><span><Layers3 :size="14" /> {{ model.context }}</span><span><Activity :size="14" /> {{ model.availability }}%</span></div><div class="catalog-card-bottom"><span class="mode-tag" :class="{ async: model.mode === '异步' }">{{ model.mode }}调用</span><button class="text-button">在线试用 <ArrowRight :size="14" /></button></div></article><div v-if="!filteredModels.length" class="empty-state"><PackageOpen :size="28" /><strong>没有找到匹配模型</strong><span>换个关键词或清除筛选试试</span></div></section>
</template>
<template v-else-if="activeView === 'playground'">
<section class="page-intro"><div><span class="eyebrow">{{ currentMeta.eyebrow }}</span><h1>Playground</h1><p>{{ currentMeta.description }}</p></div><div class="intro-actions"><span class="latency-badge"><i></i> API 在线</span><button class="button secondary" @click="navigate('docs')"><Code2 :size="16" /> 查看代码示例</button></div></section>
<section class="playground-layout"><article class="panel playground-input"><div class="playground-head"><div><span class="panel-eyebrow">请求配置</span><h3>开始一次模型调用</h3></div><button class="icon-button" aria-label="刷新配置" @click="prompt = ''"><RefreshCcw :size="16" /></button></div><label class="field-label">选择模型</label><button class="model-select" @click="navigate('models')"><div class="model-symbol small" :class="activeModel.accent"><component :is="modelIcon(activeModel)" :size="16" /></div><span><strong>{{ activeModel.name }}</strong><small>{{ activeModel.type }} · {{ activeModel.mode }}调用</small></span><ChevronDown :size="16" /></button><label class="field-label">调用模式</label><div class="mode-switch"><button v-for="mode in ['同步', '流式', '异步']" :key="mode" :class="{ active: playgroundMode === mode }" @click="playgroundMode = mode as '同步' | '流式' | '异步'">{{ mode }}</button></div><label class="field-label prompt-label">输入内容 <span>{{ prompt.length }}/4000</span></label><textarea v-model="prompt" maxlength="4000" placeholder="描述你想让模型完成的任务..."></textarea><div class="prompt-hints"><button @click="prompt = '帮我分析这张产品截图,并给出三个可执行的优化建议。'"><ImagePlus :size="14" /> 图片理解</button><button @click="prompt = '为一个科幻风格的城市街区生成 3D 资产,包含建筑、道路和灯光。'"><Box :size="14" /> 生成 3D</button></div><div class="run-footer"><span><LockKeyhole :size="13" /> 由当前工作区额度支持</span><button class="button primary run-button" :disabled="isRunning" @click="runPlayground"><span v-if="isRunning" class="spinner"></span><Play v-else :size="16" /> {{ isRunning ? '调用中…' : '开始调用' }}</button></div></article><article class="panel playground-output"><div class="playground-head"><div><span class="panel-eyebrow">响应预览</span><h3>{{ playgroundMode === '异步' ? '任务状态' : '模型输出' }}</h3></div><div class="output-actions"><button class="icon-button" aria-label="复制输出" :disabled="!playgroundOutput" @click="copyText(playgroundOutput, '响应内容')"><Copy :size="15" /></button><button class="icon-button" aria-label="下载输出" :disabled="!playgroundOutput" @click="notify('演示文件已准备下载')"><Download :size="15" /></button></div></div><div v-if="isRunning" class="output-loading"><div class="loading-orbit"><span></span><span></span><span></span></div><strong>{{ playgroundMode === '异步' ? '正在提交任务…' : '模型正在思考…' }}</strong><p>{{ playgroundMode === '异步' ? '任务将进入统一队列,提交后可在任务中心追踪' : '正在建立安全连接并生成响应' }}</p></div><div v-else-if="playgroundOutput" class="output-result"><div class="result-meta"><span class="success-label"><CheckCircle2 :size="15" /> 调用成功</span><span>1.24s · 842 tokens · 202 Accepted</span></div><p>{{ playgroundOutput }}</p><div v-if="playgroundMode === '异步'" class="result-task-card"><div class="task-orb"><Box :size="18" /></div><div><strong>任务已进入队列</strong><span>前往任务中心查看完整进度和结果资产</span></div><button class="text-button" @click="navigate('tasks')">查看任务 <ArrowRight :size="14" /></button></div><div v-else class="output-caret"></div></div><div v-else class="output-empty"><div class="empty-illustration"><div><Sparkles :size="28" /></div><i></i><i></i><i></i></div><strong>准备好接收模型响应</strong><p>填写左侧请求内容,点击“开始调用”<br />这里会展示实时响应、用量和状态。</p><div class="empty-shortcuts"><kbd>⌘</kbd><span>Enter</span><small>运行调用</small></div></div><div class="output-footer"><span><Activity :size="13" /> 请求 ID 将在调用后生成</span><span class="secure-label"><ShieldCheck :size="13" /> 安全连接</span></div></article></section>
</template>
<template v-else-if="activeView === 'keys'">
<section class="page-intro"><div><span class="eyebrow">{{ currentMeta.eyebrow }}</span><h1>API Keys</h1><p>{{ currentMeta.description }}</p></div><div class="intro-actions"><button class="button primary" @click="showCreateKeyModal = true"><Plus :size="17" /> 创建 API Key</button></div></section>
<section class="notice-banner"><div class="notice-icon"><ShieldCheck :size="18" /></div><div><strong>安全提示</strong><p>API Key 只在创建时完整展示一次。请将它保存在安全的环境变量中,不要提交到公开代码仓库。</p></div><button class="icon-button" @click="notify('安全提示已知晓')"><X :size="16" /></button></section>
<section class="panel table-panel"><div class="panel-heading"><div><span class="panel-eyebrow">凭证管理</span><h3>当前工作区的 Keys</h3></div><div class="table-tools"><span class="result-count">{{ apiKeys.length }} 个 Key</span><button class="icon-button" @click="notify('列表已刷新')"><RefreshCcw :size="16" /></button></div></div><div class="data-table"><div class="table-row table-head"><span>名称</span><span>Key</span><span>权限范围</span><span>最近使用</span><span>状态</span><span></span></div><div v-for="key in apiKeys" :key="key.id" class="table-row"><div class="key-name"><div class="key-icon"><KeyRound :size="15" /></div><div><strong>{{ key.name }}</strong><small>创建于 {{ key.created }}</small></div></div><button class="key-value" @click="copyText(key.prefix, 'Key')"><code>{{ key.prefix }}</code><Copy :size="14" /></button><span class="scope-text">{{ key.scope }}</span><span class="muted-text">{{ key.lastUsed }}</span><span class="status-label" :class="key.status === 'active' ? 'success' : 'muted'"><i></i>{{ key.status === 'active' ? '使用中' : '已禁用' }}</span><button class="more-button" @click="toggleKey(key)"><EyeOff v-if="key.status === 'active'" :size="17" /><Eye v-else :size="17" /></button></div></div></section>
<section class="key-guidance"><div class="guidance-icon"><Terminal :size="20" /></div><div><strong>准备在自己的系统里接入?</strong><p>复制 Base URL、API Key 和模型名,即可在 AI 应用、开发工具或 SDK/HTTP 客户端中完成配置。</p></div><button class="button secondary" @click="navigate('docs')">查看接入文档 <ArrowRight :size="15" /></button></section>
</template>
<template v-else-if="activeView === 'tasks'">
<section class="page-intro"><div><span class="eyebrow">{{ currentMeta.eyebrow }}</span><h1>任务中心</h1><p>{{ currentMeta.description }}</p></div><div class="intro-actions"><button class="button secondary" @click="navigate('models')"><Plus :size="16" /> 新建任务</button></div></section>
<section class="task-summary-grid"><div class="task-summary-card"><span class="summary-icon orange"><Timer :size="17" /></span><div><small>执行中</small><strong>1</strong></div></div><div class="task-summary-card"><span class="summary-icon violet"><Clock3 :size="17" /></span><div><small>排队中</small><strong>1</strong></div></div><div class="task-summary-card"><span class="summary-icon green"><CheckCircle2 :size="17" /></span><div><small>今日完成</small><strong>28</strong></div></div><div class="task-summary-card"><span class="summary-icon cyan"><Gauge :size="17" /></span><div><small>平均耗时</small><strong>02:14</strong></div></div></section>
<section class="panel table-panel"><div class="panel-heading"><div><span class="panel-eyebrow">异步调用</span><h3>任务列表</h3></div><div class="table-tools"><div class="filter-tabs compact"><button v-for="filter in ['全部', '排队中', '执行中', '已完成', '失败']" :key="filter" :class="{ active: taskFilter === filter }" @click="taskFilter = filter as '全部' | TaskStatus">{{ filter }}</button></div><button class="icon-button" @click="notify('任务列表已刷新')"><RefreshCcw :size="16" /></button></div></div><div class="data-table task-table"><div class="table-row table-head"><span>任务</span><span>模型</span><span>进度</span><span>创建时间</span><span>状态</span><span></span></div><button v-for="task in filteredTasks" :key="task.id" class="table-row task-row" @click="selectedTask = task"><div class="task-name"><div class="task-icon" :class="taskStatusClass(task.status)"><Box :size="15" /></div><div><strong>{{ task.type }}</strong><small>{{ task.id }}</small></div></div><span class="model-name">{{ task.model }}</span><div class="progress-cell"><div class="progress-track"><i :class="taskStatusClass(task.status)" :style="{ width: `${task.progress}%` }"></i></div><small>{{ task.progress }}%</small></div><span class="muted-text">{{ task.created }}<small>{{ task.duration }}</small></span><span class="status-label" :class="taskStatusClass(task.status)"><i></i>{{ task.status }}</span><ChevronRight :size="17" /></button><div v-if="!filteredTasks.length" class="empty-table">没有符合条件的任务</div></div></section>
<div v-if="selectedTask" class="task-detail-drawer"><div class="drawer-head"><div><span class="panel-eyebrow">任务详情</span><h3>{{ selectedTask.type }}</h3></div><button class="icon-button" @click="selectedTask = null"><X :size="18" /></button></div><div class="drawer-status" :class="taskStatusClass(selectedTask.status)"><span class="status-label"><i></i>{{ selectedTask.status }}</span><strong>{{ selectedTask.progress }}%</strong></div><div class="drawer-progress"><div class="progress-track"><i :class="taskStatusClass(selectedTask.status)" :style="{ width: `${selectedTask.progress}%` }"></i></div><span>{{ selectedTask.result }}</span></div><dl class="detail-list"><div><dt>任务 ID</dt><dd>{{ selectedTask.id }} <Copy :size="13" @click="copyText(selectedTask!.id, '任务 ID')" /></dd></div><div><dt>模型</dt><dd>{{ selectedTask.model }}</dd></div><div><dt>创建时间</dt><dd>{{ selectedTask.created }}</dd></div></dl><button class="button secondary full-width" @click="selectedTask = null">关闭详情</button></div>
</template>
<template v-else-if="activeView === 'usage'">
<section class="page-intro"><div><span class="eyebrow">{{ currentMeta.eyebrow }}</span><h1>用量与账单</h1><p>{{ currentMeta.description }}</p></div><div class="intro-actions"><button class="button disabled-button" disabled title="额度规则确认后开放"><CreditCard :size="16" /> 充值入口(暂未开放)</button></div></section>
<section class="billing-banner"><div class="billing-art"><div class="billing-orbit"></div><CircleDollarSign :size="30" /></div><div><span class="panel-eyebrow">管理员额度发放</span><h3>当前周期还剩 <strong>¥ 286.40</strong></h3><p>充值、订阅与支付能力将在商业规则确认后开放,页面位置已预留。</p></div><button class="button ghost-light" @click="notify('充值入口目前仅作页面预留')">了解规则 <ArrowRight :size="15" /></button></section>
<section class="usage-layout"><article class="panel usage-detail-panel"><div class="panel-heading"><div><span class="panel-eyebrow">调用用量</span><h3>过去 7 天</h3></div><button class="select-button">按调用次数 <ChevronDown :size="14" /></button></div><div class="usage-big-number"><strong>15,982</strong><span class="positive"><TrendingUp :size="13" /> 24.8%</span><small>总调用次数</small></div><div class="bar-chart large-chart"><div v-for="bar in usageBars" :key="bar.day" class="bar-column"><span class="bar-value">{{ bar.label }}</span><div class="bar-track"><i :style="{ height: `${bar.value}%` }"></i></div><small>{{ bar.day }}</small></div></div><div class="usage-legend"><span><i class="legend-dot violet"></i>文本与多模态 68%</span><span><i class="legend-dot orange"></i>3D / 图像任务 24%</span><span><i class="legend-dot cyan"></i>其他 8%</span></div></article><article class="panel ledger-panel"><div class="panel-heading"><div><span class="panel-eyebrow">额度流水</span><h3>最近变动</h3></div><button class="link-button" @click="notify('完整账单导出将在下一阶段开放')">导出 <Download :size="14" /></button></div><div class="ledger-list"><div class="ledger-item"><div class="ledger-icon plus"><Plus :size="15" /></div><div><strong>管理员额度发放</strong><span>模灵科技工作区</span></div><time>今天 09:20</time><b class="amount plus">+ ¥ 300.00</b></div><div class="ledger-item"><div class="ledger-icon minus"><MessageSquare :size="15" /></div><div><strong>MOYI Text Pro 调用</strong><span>12,840 次 · AI SoulMate</span></div><time>今天 18:02</time><b class="amount">- ¥ 8.60</b></div><div class="ledger-item"><div class="ledger-icon minus"><Box :size="15" /></div><div><strong>AI SoulMate 3D 任务</strong><span>3 个任务 · 生成资产</span></div><time>昨天 16:40</time><b class="amount">- ¥ 4.20</b></div></div></article></section>
</template>
<template v-else-if="activeView === 'docs'">
<section class="page-intro"><div><span class="eyebrow">{{ currentMeta.eyebrow }}</span><h1>接入文档</h1><p>{{ currentMeta.description }}</p></div><div class="intro-actions"><button class="button secondary" @click="copyText('https://api.moyi.ai/v1', 'Base URL')"><Copy :size="16" /> 复制 Base URL</button></div></section>
<section class="docs-layout"><aside class="docs-nav panel"><span class="docs-nav-label">快速开始</span><button class="active">概览</button><button>认证与 API Key</button><button>标准对话接口</button><button>流式响应</button><button>异步任务</button><button>错误码与重试</button><span class="docs-nav-label second">资源</span><button>模型列表</button><button>用量查询</button><button>更新日志 <ExternalLink :size="13" /></button></aside><article class="docs-article"><div class="docs-article-heading"><span class="eyebrow">QUICK START</span><h2>三分钟完成第一次调用</h2><p>模亦灵枢提供统一、可组合的模型 API。只需一个 API Key,即可在自己的 AI 应用、开发工具或 SDK/HTTP 客户端中接入多种模型。</p></div><div class="docs-step"><span class="step-number">01</span><div><h3>准备接入信息</h3><p>在控制台创建 API Key,记录下面三项信息。Key 只会在创建时完整展示一次。</p><div class="code-card compact-code"><div class="code-card-head"><span><i></i><i></i><i></i></span><small>环境变量</small><button @click="copyText('MOYI_API_KEY=sk-moyi-your-key', '代码')"><Copy :size="14" /></button></div><pre><code>MOYI_BASE_URL=https://api.moyi.ai/v1
MOYI_API_KEY=sk-moyi-your-key
MOYI_MODEL=moyi-text-pro</code></pre></div></div></div><div class="docs-step"><span class="step-number">02</span><div><h3>发送一次标准请求</h3><p>文本模型支持同步和流式响应;3D、视频等任务型模型使用提交任务、查询状态的异步模式。</p><div class="code-card"><div class="code-card-head"><span><i></i><i></i><i></i></span><small>curl · chat</small><button @click="copyText('curl https://api.moyi.ai/v1/chat/completions', '代码')"><Copy :size="14" /></button></div><pre><code>curl https://api.moyi.ai/v1/chat/completions \
-H "Authorization: Bearer $MOYI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "moyi-text-pro",
"messages": [{"role": "user", "content": "Hello"}],
"stream": true
}'</code></pre></div></div></div><div class="docs-callout"><div><ShieldCheck :size="18" /></div><p><strong>通用标准,保持开放。</strong>模亦灵枢的接入目标是让模型能力自然进入你的应用,而不是要求你改变现有工作流。具体模型支持的协议和参数,以模型详情页为准。</p></div></article></section>
</template>
<template v-else-if="activeView === 'operations'">
<section class="page-intro"><div><span class="eyebrow">{{ currentMeta.eyebrow }}</span><h1>运营后台</h1><p>{{ currentMeta.description }}</p></div><div class="intro-actions"><span class="admin-badge"><ServerCog :size="15" /> 管理员视角</span></div></section>
<section class="ops-metrics"><article class="ops-metric"><span class="metric-icon violet"><Users :size="17" /></span><div><small>内测用户</small><strong>48</strong><span class="positive">+ 6 本周</span></div></article><article class="ops-metric"><span class="metric-icon cyan"><Cloud :size="17" /></span><div><small>在线模型</small><strong>12</strong><span class="positive">100% 可用</span></div></article><article class="ops-metric"><span class="metric-icon orange"><Gauge :size="17" /></span><div><small>当前队列</small><strong>03</strong><span class="neutral">峰值 18</span></div></article><article class="ops-metric"><span class="metric-icon green"><CreditCard :size="17" /></span><div><small>今日额度消耗</small><strong>¥ 42.80</strong><span class="positive">低于预期</span></div></article></section>
<section class="ops-grid"><article class="panel admin-credit-panel"><div class="panel-heading"><div><span class="panel-eyebrow">资源管理</span><h3>发放测试额度</h3></div><span class="admin-badge subtle"><ShieldCheck :size="13" /> 已审计</span></div><p>第一版由管理员直接发放额度,完整支付与充值闭环将在商业规则确定后接入。</p><label class="field-label">用户邮箱或账号</label><div class="admin-input"><Users :size="15" /><input v-model="adminCreditUser" placeholder="例如:dev@example.com" /></div><label class="field-label">发放额度</label><div class="admin-input"><CircleDollarSign :size="15" /><input v-model="adminCreditAmount" placeholder="100" /><span>点</span></div><button class="button primary full-width" @click="grantCredit"><Plus :size="16" /> 发放额度</button></article><article class="panel provider-panel"><div class="panel-heading"><div><span class="panel-eyebrow">模型供给</span><h3>服务状态</h3></div><button class="link-button" @click="notify('供应商管理将在架构设计阶段接入')">管理模型 <ArrowUpRight :size="14" /></button></div><div class="provider-list"><div><span class="provider-health"><i></i></span><div><strong>MOYI Text Pro</strong><small>文本 · 主路由</small></div><b>99.98%</b><span class="provider-latency">0.8s</span></div><div><span class="provider-health"><i></i></span><div><strong>AI SoulMate 3D</strong><small>3D · 异步队列</small></div><b>99.90%</b><span class="provider-latency">2–5m</span></div><div><span class="provider-health warning"><i></i></span><div><strong>MOYI Motion</strong><small>视频 · 备用路由</small></div><b>99.86%</b><span class="provider-latency">1–3m</span></div></div></article></section>
<section class="panel ops-log-panel"><div class="panel-heading"><div><span class="panel-eyebrow">风险与审计</span><h3>最近运营事件</h3></div><button class="select-button">全部事件 <ChevronDown :size="14" /></button></div><div class="ops-log-list"><div><div class="activity-icon green"><Check :size="14" /></div><span><strong>额度发放完成</strong><small>管理员 林默 向模灵科技工作区发放 ¥300.00</small></span><time>今天 09:20</time></div><div><div class="activity-icon cyan"><SlidersHorizontal :size="14" /></div><span><strong>模型策略更新</strong><small>MOYI Text Pro 并发上限调整为 24</small></span><time>昨天 18:42</time></div><div><div class="activity-icon orange"><AlertTriangle :size="14" /></div><span><strong>队列容量提醒</strong><small>AI SoulMate 3D 峰值期间进入排队保护</small></span><time>昨天 16:40</time></div></div></section>
</template>
</main>
</section>
<div v-if="showCreateKeyModal" class="modal-backdrop" @click.self="showCreateKeyModal = false"><div class="modal-card"><div class="modal-head"><div><span class="eyebrow">NEW CREDENTIAL</span><h2>创建 API Key</h2></div><button class="icon-button" @click="showCreateKeyModal = false"><X :size="18" /></button></div><p class="modal-description">为不同的应用或环境创建独立凭证,方便管理权限与用量。</p><label class="field-label">Key 名称</label><input v-model="keyName" class="modal-input" placeholder="例如:生产环境 / 个人项目" autofocus /><label class="field-label">权限范围</label><div class="scope-options"><button :class="{ active: keyScope === '全部模型' }" @click="keyScope = '全部模型'"><span class="radio-dot"></span><span><strong>全部模型</strong><small>可以调用工作区中的所有模型</small></span><Check v-if="keyScope === '全部模型'" :size="16" /></button><button :class="{ active: keyScope === '文本 / 多模态' }" @click="keyScope = '文本 / 多模态'"><span class="radio-dot"></span><span><strong>文本 / 多模态</strong><small>仅限文本和视觉相关模型</small></span><Check v-if="keyScope === '文本 / 多模态'" :size="16" /></button></div><div class="modal-footer"><button class="button secondary" @click="showCreateKeyModal = false">取消</button><button class="button primary" @click="createKey"><KeyRound :size="16" /> 生成 Key</button></div></div></div>
<div v-if="showSecretModal" class="modal-backdrop" @click.self="showSecretModal = false"><div class="modal-card secret-modal"><div class="secret-success"><div><CheckCircle2 :size="25" /></div><span>API Key 创建成功</span></div><h2>请立即保存你的 Key</h2><p class="modal-description">出于安全原因,完整 Key 只会展示这一次。关闭后将无法再次查看。</p><div class="secret-value"><code>{{ showApiKey ? newKeySecret : `${newKeySecret.slice(0, 10)}••••••••••••` }}</code><button @click="showApiKey = !showApiKey"><EyeOff v-if="showApiKey" :size="16" /><Eye v-else :size="16" /></button><button @click="copyText(newKeySecret, '新 API Key')"><Copy :size="16" /></button></div><div class="secret-warning"><AlertTriangle :size="16" /><span>不要将 Key 提交到公开仓库或分享给他人。</span></div><button class="button primary full-width" @click="showSecretModal = false; showApiKey = false">我已安全保存</button></div></div>
<div v-if="selectedTask" class="drawer-backdrop" @click="selectedTask = null"></div>
<Transition name="toast"><div v-if="toastMessage" class="toast-message"><CheckCircle2 :size="17" /><span>{{ toastMessage }}</span><button @click="toastMessage = ''"><X :size="14" /></button></div></Transition>
</div>
</template>
+5
View File
@@ -0,0 +1,5 @@
import { createApp } from 'vue'
import App from './App.vue'
import './styles.css'
createApp(App).mount('#app')
+204
View File
@@ -0,0 +1,204 @@
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
:root {
--ink: #162033;
--ink-soft: #56637a;
--ink-faint: #8f9bad;
--line: #e7ebf2;
--line-strong: #d8dfeb;
--surface: #ffffff;
--surface-soft: #f7f9fc;
--navy: #0b1220;
--navy-2: #111b2f;
--violet: #7357f2;
--violet-light: #eeeaff;
--cyan: #15a9c5;
--cyan-light: #e6f9fb;
--orange: #f39a4e;
--orange-light: #fff1e4;
--green: #26a675;
--green-light: #e9f8f1;
--red: #dc6772;
--shadow-sm: 0 4px 14px rgba(31, 45, 70, 0.05);
--shadow-md: 0 18px 45px rgba(30, 43, 68, 0.1);
--shadow-lg: 0 26px 65px rgba(15, 27, 49, 0.16);
}
* { box-sizing: border-box; }
html, body, #app { min-height: 100%; margin: 0; }
body {
background: #f5f7fb;
color: var(--ink);
font-family: 'Manrope', 'Noto Sans SC', sans-serif;
font-size: 14px;
-webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button { border: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.55; }
input, textarea { outline: 0; }
.app-shell { min-height: 100vh; display: flex; background: #f6f8fb; }
.sidebar { width: 248px; flex: 0 0 248px; min-height: 100vh; padding: 24px 16px 16px; display: flex; flex-direction: column; color: #b5bfd1; background: var(--navy); transition: width .25s ease, flex-basis .25s ease; position: relative; z-index: 30; }
.sidebar.is-collapsed { width: 76px; flex-basis: 76px; padding-left: 12px; padding-right: 12px; }
.brand-block { height: 44px; display: flex; align-items: center; gap: 11px; padding: 0 8px; margin-bottom: 25px; }
.brand-mark { width: 31px; height: 31px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 17px; font-weight: 800; letter-spacing: -.08em; background: linear-gradient(145deg, #9c84ff 0%, #5b40d7 100%); box-shadow: 0 7px 18px rgba(113, 80, 240, .32); position: relative; }
.brand-mark:after { content: ''; width: 7px; height: 7px; border: 1.5px solid rgba(255,255,255,.82); border-radius: 50%; position: absolute; right: 4px; top: 4px; }
.brand-mark i { width: 5px; height: 5px; border-radius: 50%; background: #8ef0ee; position: absolute; bottom: 5px; left: 5px; }
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy strong { color: #f6f8ff; font-size: 15px; letter-spacing: .02em; }
.brand-copy span { color: #71809b; font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .09em; }
.workspace-switcher { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 9px; margin-bottom: 24px; border: 1px solid rgba(172, 189, 217, .14); border-radius: 11px; background: rgba(255,255,255,.045); }
.workspace-avatar { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 8px; color: #4d3db5; font-size: 12px; font-weight: 800; background: #c7bdff; }
.workspace-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.workspace-copy strong { overflow: hidden; color: #ecf0fa; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.workspace-copy span { color: #748199; font-size: 10px; }
.workspace-switcher svg { color: #73809a; }
.side-nav { flex: 1; }
.nav-group { margin-bottom: 22px; }
.nav-label { margin: 0 10px 8px; color: #5c6a83; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav-item { width: 100%; min-height: 40px; display: flex; align-items: center; gap: 12px; padding: 0 11px; margin: 3px 0; border-radius: 9px; color: #8996ad; text-align: left; background: transparent; transition: .18s ease; }
.nav-item:hover { color: #f2f4fb; background: rgba(255,255,255,.065); }
.nav-item.active { color: #fff; background: linear-gradient(90deg, rgba(122, 91, 245, .25), rgba(98, 74, 204, .12)); box-shadow: inset 2px 0 0 #a393ff; }
.nav-item span { flex: 1; font-size: 12px; font-weight: 600; }
.nav-item em { min-width: 18px; height: 18px; display: grid; place-items: center; border-radius: 6px; color: #b9adff; font-family: 'DM Mono', monospace; font-size: 10px; font-style: normal; background: rgba(121, 94, 235, .21); }
.sidebar-bottom { display: flex; flex-direction: column; gap: 3px; }
.credit-mini-card { padding: 14px; margin: 6px 0 13px; border: 1px solid rgba(166,183,216,.12); border-radius: 12px; background: linear-gradient(145deg, rgba(105, 82, 207, .22), rgba(255,255,255,.035)); }
.credit-mini-head { display: flex; justify-content: space-between; margin-bottom: 10px; color: #8796b0; font-size: 10px; }
.credit-mini-card > strong { display: block; color: #fff; font-size: 18px; letter-spacing: -.03em; }
.credit-progress { height: 4px; overflow: hidden; margin: 12px 0 7px; border-radius: 10px; background: rgba(255,255,255,.12); }
.credit-progress span { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #8875f8, #9cdcf0); }
.credit-mini-card small { color: #8d9ab1; font-size: 10px; }
.text-button { display: inline-flex; align-items: center; gap: 5px; padding: 0; color: var(--violet); font-size: 12px; font-weight: 700; background: transparent; }
.credit-mini-card .text-button { margin-top: 11px; color: #bab0ff; font-size: 10px; }
.collapse-button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px; margin-top: 8px; color: #66738a; text-align: left; background: transparent; }
.collapse-button:hover { color: #d7ddeb; }
.collapse-button span { font-size: 11px; }
.icon-button { width: 33px; height: 33px; display: inline-grid; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 8px; color: var(--ink-soft); background: transparent; transition: .18s ease; }
.icon-button:hover { border-color: var(--line); color: var(--ink); background: var(--surface-soft); }
.mobile-close, .mobile-menu { display: none; }
.main-column { flex: 1; min-width: 0; }
.topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 42px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.78); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 20; }
.topbar-left, .topbar-actions, .breadcrumb, .topbar-user { display: flex; align-items: center; }
.breadcrumb { gap: 9px; color: var(--ink-faint); font-size: 12px; }
.breadcrumb strong { color: var(--ink); font-weight: 700; }
.breadcrumb svg { color: #b4bdcb; }
.topbar-actions { gap: 13px; }
.global-search { width: 250px; height: 37px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; color: #9ba7b8; background: #fbfcfe; position: relative; }
.global-search:focus-within { border-color: #c6bcff; box-shadow: 0 0 0 3px rgba(116,87,242,.08); }
.global-search input { width: 100%; border: 0; color: var(--ink); font-size: 11px; background: transparent; }
.global-search input::placeholder { color: #a5afbd; }
.global-search kbd { padding: 2px 5px; border: 1px solid #e2e6ed; border-radius: 4px; color: #a0a9b8; font-family: 'DM Mono', monospace; font-size: 9px; white-space: nowrap; background: #fff; }
.search-results { width: 290px; padding: 7px; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-md); background: #fff; position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; }
.search-results button { width: 100%; display: flex; align-items: center; gap: 9px; padding: 9px 8px; border-radius: 7px; color: var(--ink); text-align: left; background: transparent; }
.search-results button:hover { background: var(--surface-soft); }
.search-results button span { flex: 1; font-size: 11px; font-weight: 700; }
.search-results button small { color: var(--ink-faint); font-size: 10px; }
.notification-button { position: relative; }
.notification-button i { width: 5px; height: 5px; border: 1px solid #fff; border-radius: 50%; background: #ef6d79; position: absolute; top: 7px; right: 7px; }
.topbar-user { gap: 8px; padding-left: 12px; border-left: 1px solid var(--line); }
.avatar { width: 31px; height: 31px; display: grid; place-items: center; border: 2px solid #e1dcff; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 700; background: linear-gradient(145deg, #8874ee, #4c3da4); }
.user-name { display: flex; flex-direction: column; gap: 1px; }
.user-name strong { color: var(--ink); font-size: 11px; }
.user-name span { color: var(--ink-faint); font-size: 9px; }
.topbar-user > svg { color: #9ba7b8; }
.page-content { max-width: 1500px; padding: 38px 42px 70px; margin: 0 auto; }
.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.page-intro.compact-intro { align-items: center; margin-bottom: 24px; }
.eyebrow, .panel-eyebrow { display: block; color: #8995a9; font-family: 'DM Mono', monospace; font-size: 9px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.page-intro h1 { margin: 7px 0 7px; color: var(--ink); font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.055em; line-height: 1.1; }
.compact-intro h1 { margin-top: 5px; font-size: 25px; }
.page-intro p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.wave { display: inline-block; margin-left: 4px; color: #f7aa5d; font-size: 19px; transform: rotate(-13deg); }
.intro-actions { display: flex; align-items: center; gap: 10px; }
.status-pill, .latency-badge, .admin-badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid #dcedeb; border-radius: 8px; color: #3d8d75; font-size: 10px; font-weight: 700; background: #f3fbf8; }
.status-pill i, .latency-badge i { width: 6px; height: 6px; border-radius: 50%; background: #33bb86; box-shadow: 0 0 0 3px rgba(51,187,134,.13); }
.admin-badge { border-color: #ded8ff; color: #6f5cd2; background: #f7f5ff; }
.admin-badge.subtle { padding: 6px 9px; font-size: 9px; }
.button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid transparent; border-radius: 8px; color: var(--ink); font-size: 11px; font-weight: 700; transition: .18s ease; }
.button.primary { color: #fff; background: linear-gradient(135deg, #7357f2, #6045d8); box-shadow: 0 7px 16px rgba(104, 75, 226, .18); }
.button.primary:hover { box-shadow: 0 9px 22px rgba(104, 75, 226, .3); transform: translateY(-1px); }
.button.secondary { border-color: var(--line-strong); background: #fff; }
.button.secondary:hover { border-color: #bbb1f5; color: var(--violet); background: #fbfaff; }
.button.ghost-light { border-color: rgba(255,255,255,.16); color: #d7d9ef; background: rgba(255,255,255,.075); }
.button.ghost-light:hover { background: rgba(255,255,255,.13); }
.disabled-button { color: #a4adba; background: #eef1f5; }
.full-width { width: 100%; }
.link-button { display: inline-flex; align-items: center; gap: 5px; padding: 0; color: var(--violet); font-size: 11px; font-weight: 700; background: transparent; }
.link-button:hover { color: #4a35b7; }
.hero-card { min-height: 342px; overflow: hidden; padding: 42px 44px; border-radius: 17px; color: #fff; background: #141b32; box-shadow: var(--shadow-lg); isolation: isolate; position: relative; }
.hero-card:before { content: ''; width: 540px; height: 540px; border: 1px solid rgba(163,151,255,.13); border-radius: 50%; position: absolute; right: 55px; top: -145px; }
.hero-card:after { content: ''; width: 380px; height: 380px; border: 1px dashed rgba(130,229,237,.13); border-radius: 50%; position: absolute; right: 140px; top: -65px; }
.hero-grid { position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(172,188,240,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(172,188,240,.14) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent 23%, #000 75%); z-index: -1; }
.hero-orb { border-radius: 50%; filter: blur(2px); position: absolute; z-index: -1; }
.orb-one { width: 360px; height: 360px; right: 95px; top: -86px; opacity: .4; background: radial-gradient(circle at 38% 44%, rgba(115,87,242,.8), transparent 67%); }
.orb-two { width: 320px; height: 320px; right: 280px; bottom: -200px; opacity: .28; background: radial-gradient(circle at 45% 45%, rgba(35,200,210,.78), transparent 68%); }
.hero-content { max-width: 485px; position: relative; z-index: 2; }
.hero-kicker { display: inline-flex; align-items: center; gap: 7px; color: #a4ace2; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .11em; }
.hero-content h2 { margin: 22px 0 14px; font-size: clamp(39px, 4.2vw, 58px); font-weight: 700; letter-spacing: -.075em; line-height: .99; }
.hero-content h2 em { color: #aa9cff; font-style: normal; }
.hero-content > p { max-width: 390px; margin: 0; color: #9ba5c1; font-size: 13px; line-height: 1.85; }
.hero-actions { display: flex; gap: 10px; margin-top: 27px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 27px; color: #7d89a7; font-size: 10px; }
.hero-note span { display: inline-flex; align-items: center; gap: 5px; }
.hero-note svg { color: #8f84ef; }
.hero-model-stack { width: 415px; height: 300px; position: absolute; right: 49px; top: 19px; }
.stack-core { width: 142px; height: 142px; display: grid; place-items: center; border: 1px solid rgba(178,168,255,.36); border-radius: 50%; position: absolute; right: 112px; top: 74px; background: rgba(14, 22, 47, .55); box-shadow: 0 0 70px rgba(112,83,236,.25), inset 0 0 25px rgba(116, 98, 232,.22); }
.core-ring { border: 1px solid rgba(158,147,255,.38); border-radius: 50%; position: absolute; inset: 13px; animation: spin 16s linear infinite; }
.core-ring:before, .core-ring:after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #9c91ff; position: absolute; }
.core-ring:before { top: -3px; left: 45%; }.core-ring:after { bottom: 18%; right: -2px; }
.ring-inner { inset: 27px; border-color: rgba(108,220,226,.35); animation-direction: reverse; animation-duration: 11s; }
.core-mark { width: 55px; height: 55px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 17px; color: #fff; font-size: 25px; font-weight: 800; background: linear-gradient(145deg, #8776ed, #5544b0); box-shadow: 0 12px 30px rgba(68,52,174,.4); }
.floating-model-card { width: 145px; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid rgba(194,202,255,.16); border-radius: 10px; box-shadow: 0 16px 35px rgba(0,0,0,.18); background: rgba(30, 39, 72, .72); backdrop-filter: blur(10px); position: absolute; }
.floating-model-card span { color: #9aa6c1; font-size: 9px; }.floating-model-card strong { margin-left: auto; color: #e6e6f9; font-size: 9px; font-weight: 600; }
.card-a { top: 34px; left: 19px; }.card-b { bottom: 33px; left: 5px; }.card-c { top: 116px; right: 0; }
.mini-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; }.mini-icon.violet { color: #b6a9ff; background: rgba(117,91,244,.23); }.mini-icon.orange { color: #ffc083; background: rgba(243,154,78,.2); }.mini-icon.cyan { color: #8fe4eb; background: rgba(21,169,197,.19); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-top: 16px; }
.metric-card { min-height: 127px; display: flex; align-items: flex-start; gap: 11px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.metric-icon { width: 33px; height: 33px; flex: 0 0 33px; display: grid; place-items: center; border-radius: 9px; }.metric-icon.violet, .summary-icon.violet { color: var(--violet); background: var(--violet-light); }.metric-icon.cyan, .summary-icon.cyan { color: var(--cyan); background: var(--cyan-light); }.metric-icon.orange, .summary-icon.orange { color: var(--orange); background: var(--orange-light); }.metric-icon.green, .summary-icon.green { color: var(--green); background: var(--green-light); }
.metric-copy { min-width: 0; display: flex; flex-direction: column; gap: 5px; }.metric-copy > span { color: var(--ink-faint); font-size: 10px; }.metric-copy > strong { color: var(--ink); font-size: 21px; letter-spacing: -.055em; line-height: 1.05; }.metric-copy > strong i { color: #98a2b2; font-size: 11px; font-style: normal; font-weight: 500; letter-spacing: 0; }.metric-copy small { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; }.metric-copy small i { color: #a0aab9; font-style: normal; font-weight: 400; }.positive { color: var(--green); }.neutral { color: var(--ink-faint); }.dot-live { width: 5px; height: 5px; border-radius: 50%; background: #2ab27f; }
.sparkline { height: 34px; display: flex; align-items: end; gap: 3px; margin: auto 0 2px auto; }.sparkline span { width: 4px; min-height: 4px; border-radius: 3px 3px 1px 1px; }.violet-line span { background: #b5aaff; }.cyan-line span { background: #92dfe5; }
.metric-ring { width: 39px; height: 39px; margin: auto 1px 1px auto; position: relative; }.metric-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }.metric-ring circle { fill: none; stroke-width: 4; }.ring-track { stroke: #f0e6dc; }.ring-value { stroke: var(--orange); stroke-linecap: round; stroke-dasharray: 68 100; }.metric-ring span { color: var(--orange); font-family: 'DM Mono', monospace; font-size: 8px; position: absolute; inset: 0; display: grid; place-items: center; }
.availability-bars { display: flex; align-items: end; gap: 3px; height: 34px; margin: auto 1px 2px auto; }.availability-bars i { width: 4px; border-radius: 3px 3px 1px 1px; background: #8ad7b7; }.availability-bars i:nth-child(1) { height: 53%; }.availability-bars i:nth-child(2) { height: 69%; }.availability-bars i:nth-child(3) { height: 47%; }.availability-bars i:nth-child(4) { height: 86%; }.availability-bars i:nth-child(5) { height: 60%; }.availability-bars i:nth-child(6) { height: 77%; }.availability-bars i:nth-child(7) { height: 91%; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .85fr); gap: 14px; margin-top: 14px; }.panel { border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }.usage-panel, .activity-panel, .usage-detail-panel, .ledger-panel { padding: 22px 23px; }.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }.panel-heading h3 { margin: 6px 0 0; color: var(--ink); font-size: 15px; letter-spacing: -.025em; }.select-button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink-soft); font-size: 10px; background: #fff; }.select-button:hover { border-color: #c8c0f7; color: var(--violet); }.usage-summary { display: flex; align-items: center; gap: 9px; margin-top: 22px; }.usage-summary strong { color: var(--ink); font-size: 25px; letter-spacing: -.05em; }.usage-summary strong small { color: var(--ink-faint); font-size: 10px; font-weight: 500; letter-spacing: 0; }.trend-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 5px; color: var(--green); font-size: 9px; font-weight: 700; background: var(--green-light); }.summary-note { color: var(--ink-faint); font-size: 10px; }.bar-chart { height: 145px; display: flex; align-items: end; gap: 15px; padding: 20px 8px 0; }.bar-column { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: end; gap: 7px; position: relative; }.bar-column .bar-value { visibility: hidden; color: var(--ink-soft); font-family: 'DM Mono', monospace; font-size: 8px; transition: .18s ease; }.bar-column:hover .bar-value { visibility: visible; }.bar-track { width: 100%; height: 100%; display: flex; align-items: end; border-radius: 5px 5px 2px 2px; background: #f1f3f8; }.bar-track i { width: 100%; display: block; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #8875f4, #c4bbfc); }.bar-column:nth-child(4) .bar-track i, .large-chart .bar-column:nth-child(4) .bar-track i { background: linear-gradient(180deg, #7155ea, #b0a4f5); }.bar-column small { color: var(--ink-faint); font-size: 9px; }.activity-list { margin-top: 17px; }.activity-item { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #f0f2f6; }.activity-item:last-child { border-bottom: 0; }.activity-icon { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; border-radius: 8px; }.activity-icon.success, .activity-icon.green { color: var(--green); background: var(--green-light); }.activity-icon.violet { color: var(--violet); background: var(--violet-light); }.activity-icon.orange { color: var(--orange); background: var(--orange-light); }.activity-icon.cyan { color: var(--cyan); background: var(--cyan-light); }.activity-item > div:nth-child(2) { min-width: 0; flex: 1; }.activity-item strong { display: block; color: var(--ink); font-size: 10px; }.activity-item p { overflow: hidden; margin: 3px 0 0; color: var(--ink-faint); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.activity-item time { color: #abb3c0; font-size: 9px; white-space: nowrap; }.section-heading { display: flex; justify-content: space-between; align-items: end; margin: 31px 0 15px; }.section-heading h3 { margin: 6px 0 0; font-size: 15px; letter-spacing: -.03em; }.model-preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }.model-preview-card { min-height: 190px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; transition: .2s ease; }.model-preview-card:hover, .catalog-card:hover { border-color: #cbc3fa; box-shadow: 0 12px 30px rgba(60,46,136,.1); transform: translateY(-2px); }.model-card-top, .catalog-card-head { display: flex; align-items: center; justify-content: space-between; }.model-symbol { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 9px; color: var(--violet); background: var(--violet-light); }.model-symbol.large { width: 42px; height: 42px; border-radius: 11px; }.model-symbol.small { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 8px; }.model-symbol.cyan { color: var(--cyan); background: var(--cyan-light); }.model-symbol.orange { color: var(--orange); background: var(--orange-light); }.model-symbol.pink { color: #dc7298; background: #ffedf4; }.model-symbol.blue { color: #5e88d7; background: #eaf1ff; }.model-symbol.green { color: var(--green); background: var(--green-light); }.availability-dot { display: inline-flex; align-items: center; gap: 4px; color: #68a88e; font-family: 'DM Mono', monospace; font-size: 8px; }.availability-dot i { width: 5px; height: 5px; border-radius: 50%; background: #49bb89; }.model-preview-card h4 { margin: 19px 0 7px; color: var(--ink); font-size: 13px; letter-spacing: -.025em; }.model-preview-card p { display: -webkit-Line truncated
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px; margin-bottom: 19px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: var(--shadow-sm); }.filter-tabs { display: flex; align-items: center; gap: 4px; }.filter-tabs button { padding: 8px 13px; border-radius: 7px; color: var(--ink-soft); font-size: 11px; background: transparent; }.filter-tabs button:hover { color: var(--violet); background: #f8f6ff; }.filter-tabs button.active { color: var(--violet); font-weight: 700; background: var(--violet-light); }.filter-tabs.compact button { padding: 6px 8px; font-size: 9px; }.catalog-search { width: 245px; height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; color: #a4adbc; }.catalog-search:focus-within { border-color: #c7befa; }.catalog-search input { width: 100%; border: 0; color: var(--ink); font-size: 10px; background: transparent; }.model-catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.catalog-card { min-height: 280px; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; transition: .2s ease; }.more-button { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border-radius: 7px; color: var(--ink-faint); background: transparent; }.more-button:hover { color: var(--ink); background: var(--surface-soft); }.catalog-title { display: flex; align-items: center; gap: 8px; margin-top: 18px; }.catalog-title h3 { margin: 0; color: var(--ink); font-size: 15px; letter-spacing: -.03em; }.model-type { padding: 4px 6px; border-radius: 5px; color: var(--violet); font-size: 9px; background: var(--violet-light); }.vendor-name { margin-top: 5px; color: var(--ink-faint); font-size: 9px; }.catalog-card > p { min-height: 39px; margin: 17px 0; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }.model-specs { display: flex; gap: 11px; padding: 12px 0; border-top: 1px solid #f0f2f6; border-bottom: 1px solid #f0f2f6; color: var(--ink-faint); font-size: 9px; }.model-specs span { display: inline-flex; align-items: center; gap: 4px; }.catalog-card-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; margin-top: auto; }.mode-tag { padding: 5px 7px; border-radius: 5px; color: #558c73; font-size: 9px; background: var(--green-light); }.mode-tag.async { color: #b77a3d; background: var(--orange-light); }.empty-state, .empty-table { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 250px; grid-column: 1 / -1; color: var(--ink-faint); }.empty-state svg { color: #c2cad7; }.empty-state strong { color: var(--ink-soft); font-size: 13px; }.empty-state span { font-size: 10px; }
.playground-layout { display: grid; grid-template-columns: minmax(320px, .85fr) minmax(400px, 1.15fr); gap: 15px; }.playground-input, .playground-output { min-height: 585px; padding: 22px; }.playground-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 25px; }.playground-head h3 { margin: 6px 0 0; font-size: 15px; }.field-label { display: flex; justify-content: space-between; margin: 0 0 8px; color: var(--ink-soft); font-size: 10px; font-weight: 700; }.model-select { width: 100%; display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-align: left; background: #fbfcfe; }.model-select:hover { border-color: #c6bcf7; }.model-select > span { flex: 1; display: flex; flex-direction: column; gap: 3px; }.model-select strong { font-size: 11px; }.model-select small { color: var(--ink-faint); font-size: 9px; }.model-select > svg { color: var(--ink-faint); }.playground-input > .field-label:not(:first-of-type) { margin-top: 21px; }.mode-switch { display: flex; padding: 3px; border-radius: 8px; background: #f2f4f8; }.mode-switch button { flex: 1; padding: 8px; border-radius: 6px; color: var(--ink-faint); font-size: 10px; background: transparent; }.mode-switch button.active { color: var(--violet); font-weight: 700; background: #fff; box-shadow: 0 2px 5px rgba(37,50,74,.07); }.prompt-label { margin-top: 22px !important; }.prompt-label span { color: #adb5c1; font-family: 'DM Mono', monospace; font-size: 9px; font-weight: 400; }.playground-input textarea { width: 100%; min-height: 167px; resize: vertical; padding: 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); font-size: 11px; line-height: 1.8; background: #fbfcfe; }.playground-input textarea:focus { border-color: #bdb3f6; box-shadow: 0 0 0 3px rgba(115,87,242,.08); }.prompt-hints { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }.prompt-hints button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-soft); font-size: 9px; background: #fff; }.prompt-hints button:hover { border-color: #c9c0fa; color: var(--violet); }.run-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 24px; margin-top: auto; color: var(--ink-faint); font-size: 9px; }.run-footer > span { display: inline-flex; align-items: center; gap: 4px; }.run-button { min-width: 111px; }.spinner { width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }.output-actions { display: flex; gap: 3px; }.output-actions .icon-button { width: 29px; height: 29px; border-color: var(--line); }.output-loading, .output-empty, .output-result { min-height: 460px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }.output-loading strong { margin-top: 22px; color: var(--ink); font-size: 14px; }.output-loading p, .output-empty p { margin: 8px 0 0; color: var(--ink-faint); font-size: 10px; line-height: 1.8; }.loading-orbit { width: 74px; height: 74px; border: 1px solid #d8d1ff; border-radius: 50%; display: grid; place-items: center; position: relative; animation: spin 9s linear infinite; }.loading-orbit:before { content: ''; width: 45px; height: 45px; border: 1px dashed #abdfe5; border-radius: 50%; }.loading-orbit span { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); position: absolute; }.loading-orbit span:nth-child(1) { top: -4px; }.loading-orbit span:nth-child(2) { right: 4px; bottom: 15px; background: var(--cyan); }.loading-orbit span:nth-child(3) { bottom: -3px; left: 18px; background: var(--orange); }.output-empty { color: var(--ink); }.empty-illustration { width: 92px; height: 92px; display: grid; place-items: center; border: 1px dashed #d3cef3; border-radius: 50%; margin-bottom: 20px; position: relative; }.empty-illustration > div { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 15px; color: var(--violet); background: var(--violet-light); }.empty-illustration i { width: 5px; height: 5px; border-radius: 50%; background: #9f91f3; position: absolute; }.empty-illustration i:nth-of-type(1) { top: 8px; right: 12px; }.empty-illustration i:nth-of-type(2) { bottom: 10px; left: 12px; background: #9edce3; }.empty-illustration i:nth-of-type(3) { top: 45%; right: -3px; background: #f6b26f; }.output-empty strong { font-size: 14px; }.empty-shortcuts { display: flex; align-items: center; gap: 5px; margin-top: 19px; color: #a0aab8; font-size: 9px; }.empty-shortcuts kbd { padding: 4px 6px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink-soft); font-family: 'DM Mono', monospace; background: #fff; }.empty-shortcuts small { margin-left: 6px; color: #bac1cd; }.output-result { align-items: stretch; justify-content: flex-start; paddinLine truncated
.notice-banner, .key-guidance { display: flex; align-items: center; gap: 13px; padding: 14px 17px; margin-bottom: 15px; border: 1px solid #e0ddf9; border-radius: 11px; background: #faf9ff; }.notice-icon, .guidance-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 34px; border-radius: 9px; color: var(--violet); background: var(--violet-light); }.notice-banner > div:nth-child(2), .key-guidance > div:nth-child(2) { flex: 1; }.notice-banner strong, .key-guidance strong { display: block; color: var(--ink); font-size: 11px; }.notice-banner p, .key-guidance p { margin: 4px 0 0; color: var(--ink-faint); font-size: 10px; line-height: 1.5; }.table-panel { padding: 22px 23px; }.table-tools { display: flex; align-items: center; gap: 10px; }.result-count { color: var(--ink-faint); font-size: 10px; }.data-table { margin-top: 20px; }.table-row { min-height: 66px; display: grid; grid-template-columns: 1.55fr 1.5fr 1fr 1fr .8fr 34px; align-items: center; gap: 12px; border-bottom: 1px solid #f0f2f6; }.table-row:last-child { border-bottom: 0; }.table-head { min-height: 34px; border-bottom: 1px solid var(--line); color: #9ca7b7; font-family: 'DM Mono', monospace; font-size: 9px; }.key-name, .task-name { display: flex; align-items: center; gap: 9px; min-width: 0; }.key-icon, .task-icon { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 29px; border-radius: 8px; color: var(--violet); background: var(--violet-light); }.key-name > div:nth-child(2), .task-name > div:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 3px; }.key-name strong, .task-name strong { overflow: hidden; color: var(--ink); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.key-name small, .task-name small { color: var(--ink-faint); font-family: 'DM Mono', monospace; font-size: 8px; }.key-value { display: inline-flex; align-items: center; gap: 8px; width: max-content; padding: 6px 8px; border-radius: 6px; color: var(--ink-soft); background: #f8f9fc; }.key-value:hover { color: var(--violet); background: var(--violet-light); }.key-value code { font-family: 'DM Mono', monospace; font-size: 9px; }.scope-text, .muted-text { color: var(--ink-soft); font-size: 10px; }.muted-text { color: var(--ink-faint); }.status-label { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 10px; font-weight: 700; }.status-label i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }.status-label.muted { color: #a1aab7; }.status-label.is-running { color: var(--orange); }.status-label.is-queued { color: #8b82cf; }.status-label.is-success { color: var(--green); }.status-label.is-failed { color: var(--red); }.key-guidance { margin-top: 15px; border-color: #d8eef0; background: #f5fcfc; }.key-guidance .guidance-icon { color: var(--cyan); background: var(--cyan-light); }
.task-summary-grid, .ops-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 15px; }.task-summary-card, .ops-metric { display: flex; align-items: center; gap: 11px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: var(--shadow-sm); }.summary-icon { width: 33px; height: 33px; display: grid; place-items: center; flex: 0 0 33px; border-radius: 9px; }.task-summary-card div, .ops-metric div { display: flex; flex-direction: column; gap: 3px; }.task-summary-card small, .ops-metric small { color: var(--ink-faint); font-size: 9px; }.task-summary-card strong, .ops-metric strong { color: var(--ink); font-size: 19px; letter-spacing: -.05em; }.task-table .table-row { grid-template-columns: 1.5fr 1.1fr 1.35fr 1fr .85fr 25px; }.task-row { width: 100%; padding: 0; color: inherit; text-align: left; background: transparent; }.task-row:hover { background: #fbfbff; }.task-icon.is-running { color: var(--orange); background: var(--orange-light); }.task-icon.is-queued { color: #8b82cf; background: #efedff; }.task-icon.is-success { color: var(--green); background: var(--green-light); }.task-icon.is-failed { color: var(--red); background: #fff0f2; }.model-name { color: var(--ink-soft); font-size: 10px; }.progress-cell { display: flex; align-items: center; gap: 8px; }.progress-cell small { color: var(--ink-faint); font-family: 'DM Mono', monospace; font-size: 8px; }.progress-track { height: 5px; flex: 1; overflow: hidden; border-radius: 9px; background: #eef0f5; }.progress-track i { height: 100%; display: block; border-radius: inherit; background: #9387ec; }.progress-track i.is-running { background: var(--orange); }.progress-track i.is-success { background: var(--green); }.progress-track i.is-failed { background: var(--red); }.task-row .muted-text { display: flex; flex-direction: column; gap: 2px; }.task-row .muted-text small { color: #b1bac7; font-size: 8px; }.drawer-backdrop { position: fixed; inset: 0; background: rgba(11,18,32,.2); z-index: 39; }.task-detail-drawer { width: 355px; padding: 24px; border-left: 1px solid var(--line); box-shadow: -14px 0 45px rgba(22,32,51,.12); background: #fff; position: fixed; top: 0; right: 0; bottom: 0; z-index: 40; animation: drawer-in .25s ease; }.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; }.drawer-head h3 { margin: 7px 0 0; font-size: 17px; }.drawer-status { display: flex; align-items: center; justify-content: space-between; padding: 14px; margin-top: 29px; border-radius: 10px; background: #f8f9fc; }.drawer-status strong { color: var(--ink); font-family: 'DM Mono', monospace; font-size: 17px; }.drawer-progress { padding: 18px 0 20px; }.drawer-progress span { display: block; margin-top: 9px; color: var(--ink-faint); font-size: 10px; }.detail-list { margin: 0 0 26px; border-top: 1px solid var(--line); }.detail-list div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #f0f2f6; }.detail-list dt { color: var(--ink-faint); font-size: 10px; }.detail-list dd { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--ink); font-family: 'DM Mono', monospace; font-size: 9px; }.detail-list dd svg { cursor: pointer; color: var(--violet); }.empty-table { min-height: 160px; font-size: 11px; }
.billing-banner { min-height: 110px; display: flex; align-items: center; gap: 17px; padding: 20px 24px; margin-bottom: 15px; overflow: hidden; border-radius: 13px; color: #fff; background: linear-gradient(110deg, #171d37, #252552); position: relative; }.billing-banner:after { content: ''; width: 390px; height: 190px; border: 1px solid rgba(163,151,255,.2); border-radius: 50%; position: absolute; right: 80px; top: -100px; }.billing-art { width: 55px; height: 55px; display: grid; place-items: center; flex: 0 0 55px; border: 1px solid rgba(168,157,255,.37); border-radius: 17px; color: #bdb3ff; background: rgba(133,113,242,.18); position: relative; z-index: 1; }.billing-orbit { width: 70px; height: 70px; border: 1px dashed rgba(174,162,255,.4); border-radius: 50%; position: absolute; animation: spin 13s linear infinite; }.billing-banner > div:nth-child(2) { flex: 1; position: relative; z-index: 1; }.billing-banner h3 { margin: 6px 0 5px; color: #fff; font-size: 16px; font-weight: 600; }.billing-banner h3 strong { color: #b9adff; font-weight: 700; }.billing-banner p { margin: 0; color: #9aa6c5; font-size: 10px; }.billing-banner .button { position: relative; z-index: 1; }.usage-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 15px; }.large-chart { height: 230px; padding-top: 35px; }.large-chart .bar-column .bar-track { background: #f3f4f8; }.usage-legend { display: flex; flex-wrap: wrap; gap: 15px; padding-top: 17px; margin-top: 5px; border-top: 1px solid #f0f2f6; color: var(--ink-faint); font-size: 9px; }.legend-dot { width: 6px; height: 6px; display: inline-block; margin-right: 5px; border-radius: 50%; }.legend-dot.violet { background: var(--violet); }.legend-dot.orange { background: var(--orange); }.legend-dot.cyan { background: var(--cyan); }.usage-big-number { display: flex; align-items: center; gap: 9px; margin-top: 20px; }.usage-big-number strong { color: var(--ink); font-size: 27px; letter-spacing: -.06em; }.usage-big-number small { color: var(--ink-faint); font-size: 9px; }.usage-big-number .positive { display: inline-flex; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 5px; font-size: 9px; background: var(--green-light); }.ledger-list { margin-top: 21px; }.ledger-item { display: grid; grid-template-columns: 30px 1fr auto; column-gap: 9px; align-items: center; padding: 14px 0; border-bottom: 1px solid #f0f2f6; position: relative; }.ledger-item:last-child { border-bottom: 0; }.ledger-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; }.ledger-icon.plus { color: var(--green); background: var(--green-light); }.ledger-icon.minus { color: var(--orange); background: var(--orange-light); }.ledger-item > div:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }.ledger-item strong { color: var(--ink); font-size: 10px; }.ledger-item span { color: var(--ink-faint); font-size: 8px; }.ledger-item time { grid-column: 2; margin-top: 3px; color: #aab3bf; font-size: 8px; }.ledger-item .amount { grid-column: 3; grid-row: 1 / 3; color: var(--ink-soft); font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 500; }.ledger-item .amount.plus { color: var(--green); }
.docs-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 15px; align-items: start; }.docs-nav { display: flex; flex-direction: column; padding: 17px 10px; position: sticky; top: 95px; }.docs-nav-label { padding: 4px 10px 8px; color: #9aa4b3; font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }.docs-nav-label.second { padding-top: 22px; }.docs-nav button { min-height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; border-radius: 7px; color: var(--ink-soft); text-align: left; font-size: 10px; background: transparent; }.docs-nav button:hover { color: var(--violet); background: #f8f6ff; }.docs-nav button.active { color: var(--violet); font-weight: 700; background: var(--violet-light); }.docs-article { max-width: 780px; padding: 7px 35px 45px; }.docs-article-heading { padding-bottom: 24px; border-bottom: 1px solid var(--line); }.docs-article-heading h2 { margin: 9px 0 10px; font-size: 27px; letter-spacing: -.055em; }.docs-article-heading p { max-width: 650px; margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.8; }.docs-step { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 27px 0; border-bottom: 1px solid var(--line); }.step-number { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #d7d1ff; border-radius: 8px; color: var(--violet); font-family: 'DM Mono', monospace; font-size: 9px; background: var(--violet-light); }.docs-step h3 { margin: 3px 0 7px; font-size: 14px; }.docs-step p { margin: 0 0 15px; color: var(--ink-soft); font-size: 11px; line-height: 1.8; }.code-card { overflow: hidden; border: 1px solid #232a43; border-radius: 9px; background: #151b2d; box-shadow: 0 12px 24px rgba(18, 25, 45, .12); }.code-card-head { height: 34px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid rgba(255,255,255,.08); }.code-card-head > span { display: flex; gap: 4px; }.code-card-head > span i { width: 6px; height: 6px; border-radius: 50%; background: #f18d88; }.code-card-head > span i:nth-child(2) { background: #f0c776; }.code-card-head > span i:nth-child(3) { background: #83d3a4; }.code-card-head small { color: #7f8ba7; font-family: 'DM Mono', monospace; font-size: 8px; }.code-card-head button { margin-left: auto; padding: 3px; color: #8995b3; background: transparent; }.code-card-head button:hover { color: #fff; }.code-card pre { overflow: auto; padding: 15px 17px 18px; margin: 0; color: #ccd4f1; font-family: 'DM Mono', monospace; font-size: 10px; line-height: 1.85; }.compact-code pre { padding-top: 13px; padding-bottom: 13px; }.docs-callout { display: flex; gap: 12px; padding: 16px; margin-top: 26px; border: 1px solid #ccecef; border-radius: 9px; background: #f2fcfc; }.docs-callout > div { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 29px; border-radius: 8px; color: var(--cyan); background: var(--cyan-light); }.docs-callout p { margin: 0; color: #5e7781; font-size: 10px; line-height: 1.8; }.docs-callout strong { color: #276f7c; }
.ops-metric { min-height: 95px; }.ops-metric div { flex: 1; }.ops-metric strong { font-size: 21px; }.ops-metric .positive, .ops-metric .neutral { font-size: 9px; }.ops-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 15px; margin-bottom: 15px; }.admin-credit-panel, .provider-panel, .ops-log-panel { padding: 22px 23px; }.admin-credit-panel > p { margin: 16px 0 20px; color: var(--ink-faint); font-size: 10px; line-height: 1.75; }.admin-credit-panel .field-label { margin-top: 15px; }.admin-input { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; color: #a2acba; }.admin-input input { width: 100%; border: 0; color: var(--ink); font-size: 10px; background: transparent; }.admin-input span { color: var(--ink-faint); font-size: 10px; }.admin-credit-panel .button { margin-top: 22px; }.provider-list { margin-top: 18px; }.provider-list > div { display: grid; grid-template-columns: 13px 1fr auto 45px; gap: 9px; align-items: center; padding: 14px 0; border-bottom: 1px solid #f0f2f6; }.provider-list > div:last-child { border-bottom: 0; }.provider-health { width: 8px; height: 8px; display: grid; place-items: center; border-radius: 50%; background: #daf4e8; }.provider-health i { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }.provider-health.warning { background: #fff0d9; }.provider-health.warning i { background: var(--orange); }.provider-list > div > div { display: flex; flex-direction: column; gap: 3px; }.provider-list strong { color: var(--ink); font-size: 10px; }.provider-list small, .provider-latency { color: var(--ink-faint); font-size: 8px; }.provider-list b { color: var(--green); font-family: 'DM Mono', monospace; font-size: 9px; font-weight: 500; }.provider-latency { text-align: right; }.ops-log-panel { margin-top: 15px; }.ops-log-list { margin-top: 12px; }.ops-log-list > div { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f0f2f6; }.ops-log-list > div:last-child { border-bottom: 0; }.ops-log-list > div > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 3px; }.ops-log-list strong { color: var(--ink); font-size: 10px; }.ops-log-list small { color: var(--ink-faint); font-size: 9px; }.ops-log-list time { color: #aab3bf; font-size: 9px; }
.modal-backdrop { display: grid; place-items: center; padding: 20px; background: rgba(11,18,32,.42); backdrop-filter: blur(4px); position: fixed; inset: 0; z-index: 60; }.modal-card { width: min(100%, 430px); padding: 25px; border: 1px solid rgba(255,255,255,.55); border-radius: 15px; box-shadow: var(--shadow-lg); background: #fff; animation: modal-in .25s ease; }.modal-head { display: flex; align-items: flex-start; justify-content: space-between; }.modal-head h2 { margin: 6px 0 0; color: var(--ink); font-size: 20px; letter-spacing: -.05em; }.modal-description { margin: 13px 0 22px; color: var(--ink-faint); font-size: 10px; line-height: 1.7; }.modal-input { width: 100%; height: 40px; padding: 0 11px; margin-bottom: 19px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 11px; background: #fbfcfe; }.modal-input:focus { border-color: #bdb3f6; box-shadow: 0 0 0 3px rgba(115,87,242,.08); }.scope-options { display: flex; flex-direction: column; gap: 7px; }.scope-options button { display: flex; align-items: center; gap: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 8px; text-align: left; background: #fff; }.scope-options button.active { border-color: #c4bafa; background: #faf9ff; }.scope-options button > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 3px; }.scope-options strong { color: var(--ink); font-size: 10px; }.scope-options small { color: var(--ink-faint); font-size: 9px; }.scope-options button > svg { color: var(--violet); }.radio-dot { width: 12px; height: 12px; border: 1px solid #ccd3df; border-radius: 50%; position: relative; }.scope-options button.active .radio-dot { border-color: var(--violet); }.scope-options button.active .radio-dot:after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); position: absolute; inset: 2px; }.modal-footer { display: flex; justify-content: flex-end; gap: 9px; padding-top: 23px; margin-top: 21px; border-top: 1px solid var(--line); }.secret-modal { text-align: center; }.secret-success { display: inline-flex; flex-direction: column; align-items: center; gap: 9px; color: var(--green); font-size: 11px; font-weight: 700; }.secret-success > div { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 15px; background: var(--green-light); }.secret-modal h2 { margin: 18px 0 7px; font-size: 21px; letter-spacing: -.05em; }.secret-value { display: flex; align-items: center; gap: 7px; padding: 10px 11px; margin: 18px 0 11px; border: 1px dashed #cbc3fa; border-radius: 8px; color: var(--violet); text-align: left; background: #faf9ff; }.secret-value code { overflow: hidden; flex: 1; font-family: 'DM Mono', monospace; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.secret-value button { display: grid; padding: 2px; color: var(--violet); background: transparent; }.secret-warning { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 21px; color: #bc814a; font-size: 9px; }.secret-warning svg { flex: 0 0 16px; }
.toast-message { display: flex; align-items: center; gap: 9px; max-width: min(380px, calc(100vw - 32px)); padding: 11px 13px; border: 1px solid #d8ede4; border-radius: 9px; color: #3b826c; box-shadow: var(--shadow-md); font-size: 10px; font-weight: 700; background: #f5fcf8; position: fixed; right: 26px; bottom: 25px; z-index: 100; }.toast-message > svg { color: var(--green); }.toast-message span { flex: 1; }.toast-message button { display: grid; padding: 1px; color: #7a9a8d; background: transparent; }.toast-enter-active, .toast-leave-active { transition: .25s ease; }.toast-enter-from, .toast-leave-to { opacity: 0; transform: translateY(12px); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (max-width: 1180px) {
.page-content { padding-left: 28px; padding-right: 28px; }.topbar { padding: 0 28px; }.hero-model-stack { right: 0; transform: scale(.84); transform-origin: right center; }.metrics-grid { grid-template-columns: repeat(2, 1fr); }.model-preview-grid { grid-template-columns: repeat(2, 1fr); }.model-catalog-grid { grid-template-columns: repeat(2, 1fr); }.task-table .table-row { grid-template-columns: 1.4fr 1fr 1.25fr .85fr .8fr 22px; }
}
@media (max-width: 860px) {
.sidebar { width: 248px; flex-basis: 248px; position: fixed; transform: translateX(-100%); transition: transform .25s ease; }.sidebar.is-mobile-open { transform: translateX(0); }.sidebar.is-collapsed { width: 248px; flex-basis: 248px; padding-left: 16px; padding-right: 16px; }.sidebar.is-collapsed .brand-copy, .sidebar.is-collapsed .workspace-switcher, .sidebar.is-collapsed .nav-label, .sidebar.is-collapsed .nav-item span, .sidebar.is-collapsed .credit-mini-card, .sidebar.is-collapsed .collapse-button span { display: flex; }.sidebar.is-collapsed .brand-block { padding-left: 8px; }.sidebar-backdrop { position: fixed; inset: 0; z-index: 25; background: rgba(11,18,32,.35); }.mobile-close, .mobile-menu { display: inline-grid; }.mobile-close { margin-left: auto; color: #a7b2c9; }.mobile-menu { margin-right: 9px; }.topbar { height: 64px; padding: 0 18px; }.global-search { width: 190px; }.user-name, .topbar-user > svg { display: none; }.page-content { padding: 29px 18px 55px; }.hero-card { min-height: 435px; padding: 32px 27px; }.hero-model-stack { opacity: .72; right: -64px; top: 155px; transform: scale(.68); }.hero-content { max-width: 74%; }.dashboard-grid, .playground-layout, .usage-layout, .ops-grid { grid-template-columns: 1fr; }.docs-layout { grid-template-columns: 1fr; }.docs-nav { display: none; }.docs-article { max-width: none; padding-left: 0; padding-right: 0; }.task-summary-grid, .ops-metrics { grid-template-columns: repeat(2, 1fr); }.table-panel { overflow-x: auto; }.data-table { min-width: 780px; }.notice-banner, .key-guidance { align-items: flex-start; }.key-guidance .button { margin-left: auto; }.billing-banner { align-items: flex-start; flex-wrap: wrap; }.billing-banner > div:nth-child(2) { min-width: calc(100% - 80px); }.billing-banner .button { margin-left: 72px; }.catalog-toolbar { align-items: stretch; flex-direction: column; }.catalog-search { width: 100%; }
}
@media (max-width: 560px) {
.topbar-actions { gap: 5px; }.global-search { width: 38px; padding: 0 10px; }.global-search input, .global-search kbd { display: none; }.topbar-user { padding-left: 5px; border: 0; }.page-intro, .page-intro.compact-intro { align-items: flex-start; flex-direction: column; gap: 16px; }.intro-actions { width: 100%; }.intro-actions .button { flex: 1; }.hero-card { min-height: 500px; padding: 29px 22px; }.hero-content { max-width: 100%; }.hero-content h2 { font-size: 42px; }.hero-content > p { max-width: 320px; }.hero-actions { flex-direction: column; width: 155px; }.hero-note { gap: 9px; }.hero-model-stack { right: -130px; top: 265px; transform: scale(.66); }.metrics-grid, .model-preview-grid, .model-catalog-grid, .task-summary-grid, .ops-metrics { grid-template-columns: 1fr; }.metric-card { min-height: 112px; }.section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }.usage-panel, .activity-panel, .usage-detail-panel, .ledger-panel, .playground-input, .playground-output, .table-panel, .admin-credit-panel, .provider-panel, .ops-log-panel { padding: 18px 16px; }.bar-chart { gap: 7px; }.playground-input, .playground-output { min-height: 550px; }.run-footer { align-items: flex-start; flex-direction: column; }.run-button { width: 100%; }.billing-banner { padding: 18px; }.billing-banner > div:nth-child(2) { min-width: calc(100% - 70px); }.billing-banner .button { margin-left: 0; }.key-guidance { flex-wrap: wrap; }.key-guidance .button { width: 100%; margin-left: 47px; }.docs-step { grid-template-columns: 1fr; }.step-number { margin-bottom: -3px; }.docs-article-heading h2 { font-size: 24px; }.task-detail-drawer { width: min(355px, 100%); }.toast-message { right: 16px; bottom: 16px; }
}
+1
View File
@@ -0,0 +1 @@
/// <reference types="vite/client" />
+18
View File
@@ -0,0 +1,18 @@
{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"module": "ESNext",
"moduleResolution": "Bundler",
"strict": true,
"jsx": "preserve",
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
"noEmit": true,
"types": ["vite/client"]
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "vite.config.ts"]
}
+9
View File
@@ -0,0 +1,9 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
server: {
port: 4173,
},
})