World's first open-source enterprise world model.
Rust agent-memorybitemporalgraphragknowledge-baseknowledge-graphllmontologypgvectorpostgresqlragrustself-hostedsemantic-searchtemporal-knowledge-graphworld-model
The interface stands on shadcn (#622)
WaylandYang71a6d1871b4a
diff --git a/crates/utopia-core/src/models.rs b/crates/utopia-core/src/models.rsindex 006af9e8..fd79d4b3 100644--- a/crates/utopia-core/src/models.rs+++ b/crates/utopia-core/src/models.rs@@ -998,17 +998,18 @@ pub struct KnowledgeBase {/// 内置本体按哪种语言播种,以及新的类/关系描述写成哪种语言(`en` | `zh`)。/// **跟语料走,不跟界面走**——description 的读者是正在读这些文档的模型。/// 见 docs/decisions/0004。- /// 是否把推出来的事实写进账本(R1)。**缺省关**——这一步往图里加东西,- /// 而 0001 判据 2 说「本体是引导不是执法」:声明可能是错的,不该在用户- /// 没表态时就按它改图+ /// 是否把推出来的事实写进账本(R1)。**缺省开**(0050):派生事实带标记、+ /// 单列一段、随时整片撤得掉,改的不是账本里人写的那部分;而关着的代价是+ /// 新库的图一直缺传递链和对称对,人得先发现这个开关才看得见该看见的边pub materialize_inferences: bool,/// 抽取结束自动排一轮类型消解(0016 C2)。**只自动落地在原类子树里精化的那一档**,/// 跨轴的改判仍留给人。缺省开:基准上自动那一档的命中 39/41(#297),且每批可撤pub auto_type_resolution: bool,- /// 治理开关(0025,缺省关):开着,govern 任务按先进先出过等人的重复对,- /// 先读台账里人的先例再裁;关掉,任务在两簇之间看到就停+ /// 治理开关(0025,**缺省开**,见 0050):开着,govern 任务按先进先出过等人的+ /// 重复对,先读台账里人的先例再裁;关掉,任务在两簇之间看到就停pub governance: bool,- /// 这次打开治理的时刻;保险丝只数它之后的撤回(0025 决定 9)+ /// 这次打开治理的时刻;保险丝只数它之后的撤回(0025 决定 9)。+ /// 新库生下来就开着治理,这一格于是等于建库的时刻(0050)pub governance_since: Option<DateTime<Utc>>,/// 多久重推一次(分钟)。见 `knowledge_bases.inference_interval_minutes`pub inference_interval_minutes: i32,diff --git a/docs/decisions/0002-reasoning-engine.md b/docs/decisions/0002-reasoning-engine.mdindex 530ee90e..811840f8 100644--- a/docs/decisions/0002-reasoning-engine.md+++ b/docs/decisions/0002-reasoning-engine.md@@ -2,7 +2,7 @@- **Status**: R0 built: six fact-level violation kinds in `axiom_violations` (five checks plus`derived_contradiction`, 0017), eight ontology defect kinds in `ontology_defects`, two Review tabs. R1 built behind the KB switch `materialize_inferences`- (default off), rules from four axiom kinds (#132, #177, #179). R2 built as a proof chain+ (default on since 0050; off when this was written), rules from four axiom kinds (#132, #177, #179). R2 built as a proof chain(`GET /kbs/{id}/derived/{id}/proof`, 0016 B1). Contradiction signals for derivations built per[0017](0017-a-contradiction-points-upstream.md). R3 not built: every run recomputes the whole KB,on `inference_interval_minutes` (default 60).@@ -51,7 +51,17 @@ corpus is cleaned, then materialization is switched on.normalization at axiom load fills gaps only; a mismatched pair goes to `inverse_not_mutual`.Cold-start bootstrap declares no axiom (`Axioms::default()`): the reasoner's criteria arewritten by people.-6. **Materialization is a KB switch, default off.** The job records its run time before deriving so+6. **Materialization is a KB switch.**++ > **Revised 2026-09-12 (0050).** The default is now on. Off was chosen because a declaration can+ > be wrong and this step changes the graph; what that reasoning missed is that derived facts never+ > enter the part of the ledger people write. They carry a `derived` mark, sit in their own section,+ > and come off in one piece the moment the switch goes off. The cost of off was paid on every new+ > base: transitive chains and symmetric pairs were simply absent until someone found the switch.++ The text below is the original and stays as written.++ The job records its run time before deriving soa failure cannot loop; endpoints return an explicit error while off. `MAX_DERIVED_PER_PREDICATE` =20,000, truncation reported as `capped`; an `unruled` counter that should stay zero records areal bug (rule lookup by predicate instead of `via` dropped cross-predicate rules silently).diff --git a/docs/decisions/0025-governance-reads-the-ledger-before-it-decides.md b/docs/decisions/0025-governance-reads-the-ledger-before-it-decides.mdindex 1a4731e1..52969622 100644--- a/docs/decisions/0025-governance-reads-the-ledger-before-it-decides.md+++ b/docs/decisions/0025-governance-reads-the-ledger-before-it-decides.md@@ -18,7 +18,16 @@ The people using a base have meanwhile written every decision they made into `auFor a pair the governor asks the ledger four questions: what people decided on these two names (either order), what people decided about either name against other names, how this base decides pairs of this type pair (merged, kept, later reverted), and whether a merge involving either name was reverted. Only rows with an actor count. The agent's own rows never count, or it would cite itself and grow more confident with every round. A proposal a person accepted counts, because the acceptance goes through the person's decide path and is recorded as that person's decision (decision 6). The retrieved precedents go into the adjudication prompt as lines in plain English, and the model is asked to say in one sentence which one it relied on.-### 2. A switch per base, off by default; on starts the queue, off stops it+### 2. A switch per base, on by default; on starts the queue, off stops it++> **Revised 2026-09-12 (0050).** The default is now on. Off rested on one sentence below — that this+> step "has not been measured on any base yet" — and the revision to decision 4 measured it: on the+> labeled base the agent decided 97.7% on its own, agreed with people on 96.7%, merged 6 pairs wrongly+> (4 of them one pair the model flips on) and left 12 for people (#458). The gate still turns+> everything it cannot clear into a proposal, every decision is listed under Agent and revertible, and+> the fuse of decision 9 counts from the moment the switch went on — which, for a base created from+> here on, is the moment the base was created. The paragraphs below are the original.+`knowledge_bases.governance`, a boolean, next to `auto_type_resolution`. Turning it on enqueues a `govern` job at once; an extraction that leaves pairs behind enqueues one; a person's decision enqueues one; an hourly sweep enqueues one for every base whose queue holds pairs the agent has not looked at. All four go through `enqueue_unless_queued`, so a base has at most one job waiting. The job re-reads the switch before every cluster and returns when it is off: turning the switch off ends the queue at the next cluster boundary, and nothing already decided is undone.diff --git a/migrations/0050_a_new_base_starts_with_its_engines_on.sql b/migrations/0050_a_new_base_starts_with_its_engines_on.sqlnew file mode 100644index 00000000..f416bfb1--- /dev/null+++ b/migrations/0050_a_new_base_starts_with_its_engines_on.sql@@ -0,0 +1,22 @@+-- 新建的库,四个自动化开关一律缺省开。+--+-- 从前是两开两关:自动扩本体、抽取后消解类型缺省开,物化推理与治理缺省关。+-- 关着的那两个各有当时的理由,两条都过期了。+--+-- `materialize_inferences`(0002 决定 6)关着,理由是「声明可能是错的,不该在+-- 人没表态时就按它改图」。可派生事实从来带标记、单列一段、随时撤得掉——它加的是+-- 一层能整片摘掉的东西,碰不到账本里人写的那部分。而关着的代价是新库的图一直缺+-- 传递链和对称对:人得先知道有这么个开关,才看得见本来就该看见的边。+--+-- `governance`(0025 决定 2)关着,理由是「合并实体这一档还没在任何库上量过,+-- 一个库要先有历史可读才配自动」。0025 决定 4 改写之后量过了:标注库上自裁 97.7%、+-- 同意 96.7%、错并 6 对(其中 4 对是模型来回翻的同一对),留给人 12 对(#458)。+-- 闸门把过不去的一律写成建议,每一笔都列在审核页、都可撤。+--+-- 只改缺省,不动已经建好的库:那些值是各自库主表过的态。+-- `governance_since` 一并给缺省——库生下来就开着治理,那个「打开治理的时刻」就是+-- 建库的时刻;留成 NULL 的话保险丝(0025 决定 9)只好从整个窗口起算。++ALTER TABLE knowledge_bases ALTER COLUMN materialize_inferences SET DEFAULT TRUE;+ALTER TABLE knowledge_bases ALTER COLUMN governance SET DEFAULT TRUE;+ALTER TABLE knowledge_bases ALTER COLUMN governance_since SET DEFAULT now();diff --git a/web/components.json b/web/components.jsonnew file mode 100644index 00000000..da40af91--- /dev/null+++ b/web/components.json@@ -0,0 +1,25 @@+{+ "$schema": "https://ui.shadcn.com/schema.json",+ "style": "radix-nova",+ "rsc": false,+ "tsx": true,+ "tailwind": {+ "config": "",+ "css": "src/styles.css",+ "baseColor": "neutral",+ "cssVariables": true,+ "prefix": ""+ },+ "iconLibrary": "lucide",+ "rtl": false,+ "aliases": {+ "components": "@/components",+ "utils": "@/lib/utils",+ "ui": "@/components/ui",+ "lib": "@/lib",+ "hooks": "@/hooks"+ },+ "menuColor": "default",+ "menuAccent": "subtle",+ "registries": {}+}diff --git a/web/index.html b/web/index.htmlindex bc2d63ce..696caf4b 100644--- a/web/index.html+++ b/web/index.html@@ -7,7 +7,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /><linkrel="stylesheet"- href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Marcellus&display=swap"+ href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Manrope:wght@500;600;700&display=swap"/><title>Utopia</title><!-- 首帧前定主题:与 src/theme.ts 同一套解法。放在 head 里、样式之前,@@ -18,7 +18,9 @@try { t = localStorage.getItem("utopia.theme") || "dark"; } catch (e) {}if (t === "system")t = window.matchMedia && matchMedia("(prefers-color-scheme: light)").matches ? "light" : "dark";- document.documentElement.dataset.theme = t === "light" ? "light" : "dark";+ var resolved = t === "light" ? "light" : "dark";+ document.documentElement.dataset.theme = resolved;+ if (resolved === "dark") document.documentElement.classList.add("dark");})();</script></head>diff --git a/web/package.json b/web/package.jsonindex feb9020e..77b5b318 100644--- a/web/package.json+++ b/web/package.json@@ -13,31 +13,36 @@"guard": "node scripts/style-guard.mjs"},"dependencies": {+ "@fontsource-variable/geist": "^5.3.0","@sigma/edge-curve": "3.1.0","@sigma/node-border": "^3.0.0","@sigma/node-square": "^3.0.0","@tanstack/react-query": "^5.62.0","@tanstack/react-router": "^1.95.0",+ "class-variance-authority": "^0.7.1",+ "cmdk": "^1.1.1",+ "cn": "^0.2.6","graphology": "^0.26.0","graphology-layout": "^0.6.1","graphology-layout-forceatlas2": "^0.10.1","lucide-react": "^1.34.0","radix-ui": "^1.6.7",- "react": "^18.3.1",- "react-dom": "^18.3.1",+ "react": "^19.3.0",+ "react-dom": "^19.3.0","react-markdown": "^10.1.0","rehype-highlight": "^7.0.2","remark-gfm": "^4.0.1","remend": "^1.3.1",+ "shadcn": "^4.21.0","sigma": "^3.0.3",- "thinking-orbs": "^0.3.1"+ "tw-animate-css": "^1.4.0"},"devDependencies": {"@tailwindcss/typography": "^0.5.20","@tailwindcss/vite": "^4.0.0","@types/node": "^26.3.0",- "@types/react": "^18.3.12",- "@types/react-dom": "^18.3.1",+ "@types/react": "^19.3.0",+ "@types/react-dom": "^19.3.0","@vitejs/plugin-react": "^4.3.4","tailwindcss": "^4.0.0","typescript": "^5.7.2",diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yamlindex 48061e3f..2c16cb9d 100644--- a/web/pnpm-lock.yaml+++ b/web/pnpm-lock.yaml@@ -8,6 +8,9 @@ importers:.:dependencies:+ '@fontsource-variable/geist':+ specifier: ^5.3.0+ version: 5.3.0'@sigma/edge-curve':specifier: 3.1.0version: 3.1.0([email protected]([email protected]))@@ -19,10 +22,19 @@ importers:version: 3.0.0([email protected]([email protected]))'@tanstack/react-query':specifier: ^5.62.0- version: 5.102.3([email protected])+ version: 5.102.3([email protected])'@tanstack/react-router':specifier: ^1.95.0+ class-variance-authority:+ specifier: ^0.7.1+ version: 0.7.1+ cmdk:+ specifier: ^1.1.1+ version: 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ cn:+ specifier: ^0.2.6+ version: 0.2.6graphology:specifier: ^0.26.0version: 0.26.0([email protected])@@ -34,19 +46,19 @@ importers:version: 0.10.1([email protected])lucide-react:specifier: ^1.34.0- version: 1.34.0([email protected])+ version: 1.34.0([email protected])radix-ui:specifier: ^1.6.7- version: 1.6.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ version: 1.6.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])react:- specifier: ^18.3.1- version: 18.3.1+ specifier: ^19.3.0+ version: 19.3.0react-dom:- specifier: ^18.3.1- version: 18.3.1([email protected])+ specifier: ^19.3.0+ version: 19.3.0([email protected])react-markdown:specifier: ^10.1.0- version: 10.1.0(@types/[email protected])([email protected])+ version: 10.1.0(@types/[email protected])([email protected])rehype-highlight:specifier: ^7.0.2version: 7.0.2@@ -56,12 +68,15 @@ importers:remend:specifier: ^1.3.1version: 1.3.1+ shadcn:+ specifier: ^4.21.0+ version: 4.21.0([email protected])sigma:specifier: ^3.0.3version: 3.0.3([email protected])- thinking-orbs:- specifier: ^0.3.1- version: 0.3.1([email protected])+ tw-animate-css:+ specifier: ^1.4.0+ version: 1.4.0devDependencies:'@tailwindcss/typography':specifier: ^0.5.20@@ -73,11 +88,11 @@ importers:specifier: ^26.3.0version: 26.3.0'@types/react':- specifier: ^18.3.12- version: 18.3.31+ specifier: ^19.3.0+ version: 19.3.0'@types/react-dom':- specifier: ^18.3.1- version: 18.3.7(@types/[email protected])+ specifier: ^19.3.0+ version: 19.3.0(@types/[email protected])'@vitejs/plugin-react':specifier: ^4.3.4@@ -112,14 +127,28 @@ packages:resolution: {integrity: sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-IY3ZD9Tmooqr3TUhc3DUWxiuo8xx1DWLhd5M7hQ+ZWJamqM2BbalrBJb2MisSLoYorOj75U03qULCxQTY9r3hg==}+ engines: {node: '>=6.9.0'}+ peerDependencies:+ '@babel/core': ^7.0.0+'@babel/[email protected]':resolution: {integrity: sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-j+7JYmk1JYDtACIGj0QJqqWZjoUpMoEikQGADMaHgCMCSDqd2+P32rfcibUNrGOMWrlzK1WJBdxrB3JJQZwWtg==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==}engines: {node: '>=6.9.0'}@@ -130,10 +159,24 @@ packages:peerDependencies:'@babel/core': ^7.0.0+ '@babel/[email protected]':+ resolution: {integrity: sha512-+kmGVjcT9RGYzoDwdwEqEvGgKe3BYq+O1iGzjFubaNgZHwYHP6lsF2Yghf4kEuv9BV7tYDZ913aBW9am6YKong==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-atfGXWSeCiF4DnKZIfmJfQRkSw9b9gNNXR1kqKjbhG4pGYCOnkp8OcTB8E3NXjBu8NpheSnOeNKz8KT7UNFTmQ==}+ engines: {node: '>=6.9.0'}+ peerDependencies:+ '@babel/core': ^7.0.0++ '@babel/[email protected]':+ resolution: {integrity: sha512-brcMGQaVzIeUb+6/bs1Av0f8YuNNjKY2JyvfRCsFuFsdKccEQ5Ges2y74D74NZ1Rz8lKJ9ksJkfqwQFJ/iNEyQ==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==}engines: {node: '>=6.9.0'}@@ -155,6 +198,24 @@ packages:engines: {node: '>=6.0.0'}hasBin: true+ '@babel/[email protected]':+ resolution: {integrity: sha512-TSu8+mHCoEaaCDEZ0I3+6mvTBYR4PCxQwf2z9/r5Tbztv6NaLR3B9thGTTxX2WGuGHJqRiAbKPeGTJ5XWXVg6A==}+ engines: {node: '>=6.9.0'}+ peerDependencies:+ '@babel/core': ^7.0.0-0++ '@babel/[email protected]':+ resolution: {integrity: sha512-ngr+82Sh0xMz25TPCZi+nC2iTzjfCdWS2ONXTp/PtSCHCgaCNBpdMqgvJ2ccdLlClVZ7sisIgB914j/JFe+RZA==}+ engines: {node: '>=6.9.0'}+ peerDependencies:+ '@babel/core': ^7.0.0-0++ '@babel/[email protected]':+ resolution: {integrity: sha512-j0vCldybPC5b5dwCQOJ21uKtHzt7hxLygJTg9eF1ScfaikEDNfzn94XoW5Fi+seBR0nCyL23xaBFFkq7dTM8XQ==}+ engines: {node: '>=6.9.0'}+ peerDependencies:+ '@babel/core': ^7.0.0-0+'@babel/[email protected]':resolution: {integrity: sha512-TL0hMc9xzy86VD31nUiwzd5otRAcyEPcsegCxolO0PvcXuH1v0kECe/UIznYFihpkvU5wg/jk4v0TTEFfm53fw==}engines: {node: '>=6.9.0'}@@ -167,6 +228,18 @@ packages:peerDependencies:'@babel/core': ^7.0.0-0+ '@babel/[email protected]':+ resolution: {integrity: sha512-jK52h8LaLc7JarhQV2ofeFMts4H7vnOXnqZNA6fYglBTZewRBE51KWt3BUltW1P+KoPsYkHoJeXePuz4zo2LMw==}+ engines: {node: '>=6.9.0'}+ peerDependencies:+ '@babel/core': ^7.0.0-0++ '@babel/[email protected]':+ resolution: {integrity: sha512-/Foi8vKY2EVbed/1eZx0gJEEwHAIxogrySI7rULcRIvhZzbvoE/b5qG5Ghc0WKAFKOHA9SD1x7RsFlOYdutIiQ==}+ engines: {node: '>=6.9.0'}+ peerDependencies:+ '@babel/core': ^7.0.0-0+'@babel/[email protected]':resolution: {integrity: sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==}engines: {node: '>=6.9.0'}@@ -179,6 +252,13 @@ packages:resolution: {integrity: sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==}engines: {node: '>=6.9.0'}+ '@dotenvx/[email protected]':+ resolution: {integrity: sha512-/BITOC9dmS/edY2zQwZNicQ059O6RKabtQfyEafV0nGtfYRNHYy1DIPiYVcov40+tob9hfmBnbR963dS+EQ1DQ==}+ hasBin: true++ '@dotenvx/[email protected]':+ resolution: {integrity: sha512-VYJy0uhFm9zTJ1TxBaW/pA8bjbOM/OttaNMwZ1RHG4JKyRG7DhSdiqD1ipQoAyoD22olUtxbP78W9xY3Wd11bg==}+'@esbuild/[email protected]':resolution: {integrity: sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==}engines: {node: '>=18'}@@ -350,6 +430,15 @@ packages:'@floating-ui/[email protected]':resolution: {integrity: sha512-HpCo8tmWzLVad5s2d19EhAz5zqrrQ6s69qd6moPMQvkOuSwDT1YgRfWSVuc4ennqrgv3OHppiOGMQ7oC13yIww==}+ '@fontsource-variable/[email protected]':+ resolution: {integrity: sha512-j0m+vLQuG5XAYoHtGCVu0spvlGreR3EzpECUVzkFmI1mTVnAO38l/NEPDCFgZ177JxzYJCLSmTQibIiYPilGrA==}++ '@hono/[email protected]':+ resolution: {integrity: sha512-ELuehkj5VCBdgEw9zs+ivkKwyzzUCSQuE96YmiPvn1ECBoZCczbFXJLeEGMTYjphP6gydh4pHMqEYPVMYUVgQg==}+ engines: {node: '>=20'}+ peerDependencies:+ hono: ^4+'@jridgewell/[email protected]':resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}@@ -366,12 +455,34 @@ packages:'@jridgewell/[email protected]':resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}+ '@modelcontextprotocol/[email protected]':+ resolution: {integrity: sha512-xKd8OIzlqNzcqcNumGAa6g+PW2kjD5vrpcKOnfldAUPP3j7lnqMPwlTXQm8gF+UwH72z0lqaRbjr9hqGz0eITA==}+ engines: {node: '>=18'}+ peerDependencies:+ '@cfworker/json-schema': ^4.1.1+ zod: ^3.25 || ^4.0+ peerDependenciesMeta:+ '@cfworker/json-schema':+ optional: true+'@napi-rs/[email protected]':resolution: {integrity: sha512-oTXEIha4SsuXdTA4Iyskj0kpdx2yVXdhd75c2v3xGrHFfVMsbhTPZU/nMPL4sWKo4pBHm3aucLaqGlF696dTyQ==}engines: {node: ^22.20 || ^24.12 || >=25}cpu: [x64]os: [linux]+ '@nodelib/[email protected]':+ resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}+ engines: {node: '>= 8'}++ '@nodelib/[email protected]':+ resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==}+ engines: {node: '>= 8'}++ '@nodelib/[email protected]':+ resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}+ engines: {node: '>= 8'}+'@radix-ui/[email protected]':resolution: {integrity: sha512-Road2bidD0uu/1BGDOWNdPI06g0lIRy6IF9GZcIrDK2KGItfor8IQwQa+yM2ERgHM1MmHxaxpTzk0/Jp42lNfA==}@@ -1190,6 +1301,9 @@ packages:cpu: [x64]os: [win32]+ '@sec-ant/[email protected]':+ resolution: {integrity: sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==}+'@sigma/[email protected]':resolution: {integrity: sha512-OFWkfAXEsm+X8l1K4K49cC0psB0gQ+gqxKA08HG5piNPdzrDZ5gG9Gza6htZ5AirOVwd/4/uq/gPpD5En+H+3Q==}peerDependencies:@@ -1205,6 +1319,10 @@ packages:peerDependencies:sigma: '>=3.0.0-beta.17'+ '@sindresorhus/[email protected]':+ resolution: {integrity: sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==}+ engines: {node: '>=18'}+'@tailwindcss/[email protected]':resolution: {integrity: sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==}@@ -1332,6 +1450,9 @@ packages:'@tanstack/[email protected]':resolution: {integrity: sha512-8reSzl/qGWGGVKhBoxXPMWzATSbZLZFWhwBAFO9NAyp0TxzfBP0mIrGb8CP8KrQTmvzXlR/vFPPUrHTLBGyFyw==}+ '@ts-morph/[email protected]':+ resolution: {integrity: sha512-Wf29UqxWDpc+i61k3oIOzcUfQt79PIT9y/MWfAGlrkjg6lBC1hwDECLXPVJAhWjiGbfBCxZd65F/LIZF3+jeJQ==}+'@types/[email protected]':resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==}@@ -1371,16 +1492,13 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-L3fgrnchriRC2ExBflb8j4uZZURHZfQsmQeyVzhjcHW4kkwVyo8/0h1B2MVzMTrYUJYu6G7EWs14hW/L9putqw==}- '@types/[email protected]':- resolution: {integrity: sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==}-- '@types/[email protected]':- resolution: {integrity: sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==}+ '@types/[email protected]':+ resolution: {integrity: sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==}peerDependencies:- '@types/react': ^18.0.0+ '@types/react': ^19.3.0- '@types/[email protected]':- resolution: {integrity: sha512-vfEqpXTvwT91yhmwdfouStN2hSKwTvyRs8qpLfADyrq/kxDw0hZM7Wk9Ug1FELj8hIby+S/+kQCSRFF32nv2Qw==}+ '@types/[email protected]':+ resolution: {integrity: sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==}'@types/[email protected]':resolution: {integrity: sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==}@@ -1388,6 +1506,9 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==}+ '@types/[email protected]':+ resolution: {integrity: sha512-lrpDziQipxCEeK5kWxvljWYhUvOiB2A9izZd9B2AFarYAkqZshb4lPbRs7zKEic6eGtH8V/2qJW+dPp9OtF6bw==}+'@ungap/[email protected]':resolution: {integrity: sha512-JL+CF0GeLHyPWI0rXu7UnxgiuOm9UQWzadi0OYOJNhNO2q6EZElpwlgXkNkfU1PzANDHq3YcwKVZprdvS+BrbQ==}@@ -1411,6 +1532,44 @@ packages:'@vitest/[email protected]':resolution: {integrity: sha512-uy+luWBAPw9XfthoHi5AkfHUnuPYEESjl0p/r+meoBnU8bxg5GDQ3Ey8MjcJ6sqahkL4PFyrvfMJJBw7LbU06g==}+ resolution: {integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==}+ engines: {node: '>= 0.6'}++ resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==}+ peerDependencies:+ ajv: ^8.0.0+ peerDependenciesMeta:+ ajv:+ optional: true++ resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==}+ peerDependencies:+ ajv: ^8.0.0+ peerDependenciesMeta:+ ajv:+ optional: true++ resolution: {integrity: sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==}++ resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}+resolution: {integrity: sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==}engines: {node: '>=10'}@@ -1419,19 +1578,63 @@ packages:resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==}engines: {node: '>=12'}+ resolution: {integrity: sha512-FvWoWYfSCM6kRxCSH+MGLHIKKGRL6A6AW7Zek2O32REPQRdg131428uRTKMBYAeRd3XXAaHDS60Wpri7CdKDrA==}+ engines: {node: '>=4'}++ resolution: {integrity: sha512-Xcz9l0z7y9yQ9rdDaxlmaI4uJHf/T8g9hOEzJcsEqX2SjCj4J20uK7+ldkDHMbpJDK76wF7xEIgxc/vSlsfw5w==}+ engines: {node: '>=10.12.0'}+resolution: {integrity: sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==}+ resolution: {integrity: sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==}+ engines: {node: 18 || 20 || >=22}+resolution: {integrity: sha512-Grytf1xOxOEMTGRwx6rLGKkTabd4vMg3VrKdj/7joCmV0qgh4QwMMO6xh34YEXQqirAuUdgQGa5orJQQ+69RBw==}engines: {node: '>=6.0.0'}hasBin: true+ resolution: {integrity: sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==}+ engines: {node: 20 || >=22}++ resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}+ engines: {node: '>=8'}+resolution: {integrity: sha512-V2NpofLblG64mfOtSgDhOJESZEGogzDMBv/q+W6oc4LXWP/q75eOXoOaaOu1EOadB9U4Bwx/e0yzbvwKH8zalA==}engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}hasBin: true+ resolution: {integrity: sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==}+ engines: {node: '>= 0.8'}++ resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-TITQPUkaz+aVk5GL6NhOdwk1aEaNTSDPsGFWrTuhKGtjTF70jL/Oht2W4c6rXUe5fu7Ie19VIahAXHIIiWWNeg==}@@ -1442,6 +1645,10 @@ packages:resolution: {integrity: sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==}engines: {node: '>=18'}+ resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==}+ engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}+resolution: {integrity: sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==}@@ -1454,15 +1661,93 @@ packages:resolution: {integrity: sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==}+ resolution: {integrity: sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==}++ resolution: {integrity: sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-Vsv7kFaXm+ptHDMZ7izaRsP70GgrW9NBNGswt9OZaVBLlE0SNpDq8eu/VGXyF9r7M0azK3Wy7OlYXsuyYLFzHg==}+ peerDependencies:+ react: ^18 || ^19 || ^19.0.0-rc+ react-dom: ^18 || ^19 || ^19.0.0-rc++ resolution: {integrity: sha512-+i4L0zUGgRcEnhsxueVrP7iBGxBx5iD0WOTYg1MwFEu2ZyCmH5Ov2V1cul2Ht5UchRQQgftCf4be/RxspuW6QQ==}+ engines: {node: '>=20'}+ hasBin: true++ resolution: {integrity: sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==}+resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==}+ resolution: {integrity: sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==}+ engines: {node: '>=16'}++ resolution: {integrity: sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==}+ engines: {node: '>=20'}++ resolution: {integrity: sha512-8fLl9F04EJqjSqH+QjITQfJF8BrOVaYr1jewVgSRAEWePfxT0sku4w2hrGQ60BC/TNLGQ2pgxNlTbWQmMPFvXg==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==}+ engines: {node: '>= 0.6'}++ resolution: {integrity: sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}resolution: {integrity: sha512-UaXxwISYJPTr9hwQxMFYZ7kNhSXboMXP+Z3TRX6f1/NyaGPfuNUZOWP1pUEb75B2HjfklIYLVRfWiFZJyC6Npg==}+ resolution: {integrity: sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==}+ engines: {node: '>=6.6.0'}++ resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==}+ engines: {node: '>= 0.6'}++ resolution: {integrity: sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==}+ engines: {node: '>= 0.10'}++ resolution: {integrity: sha512-gtTZxTDau1wL7Y7zifc2dd8jHSK/k6BTx/2Xp/BpdlAdnlYWFVt7qhJqgwi7637yRwRQ3qL4ZidbB4I8tA5VOg==}+ engines: {node: '>=14'}+ peerDependencies:+ typescript: '>=4.9.5'+ peerDependenciesMeta:+ typescript:+ optional: true++ resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}+ engines: {node: '>= 8'}+resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==}engines: {node: '>=4'}@@ -1471,6 +1756,10 @@ packages:resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==}+ resolution: {integrity: sha512-8pYCQiL9Xdcg0UPSD3d+0KMlOjp+KGU5EPwYddgzQ7DATsg4fuUDjQtsYLmWjnk2obnNHgV3vE2Y4jejSOJVBQ==}+ engines: {node: '>=10'}+resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==}engines: {node: '>=6.0'}@@ -1483,6 +1772,38 @@ packages:resolution: {integrity: sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==}+ resolution: {integrity: sha512-WzMx3mW98SN+zn3hgemf4OzdmyNhhhKz5Ay0pUfQiMQ3e1g+xmTJWp/pKdwKVXhdSkAEGIIzqeuWrL3mV/AXbA==}+ peerDependencies:+ babel-plugin-macros: ^3.1.0+ peerDependenciesMeta:+ babel-plugin-macros:+ optional: true++ resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-m1pAzaJgZ/gssEqlOhJkPJp8Xly7QyW6xcrkUa2KKcDeDSEMP7X8xipU3snUcfisTQx0w1AGae+9UtJSfVnXGw==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==}+ engines: {node: '>= 0.8'}+resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}engines: {node: '>=6'}@@ -1497,16 +1818,65 @@ packages:resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==}+ resolution: {integrity: sha512-DPi0FmjiSU5EvQV0++GFDOJ9ASQUVFh5kD+OzOnYdi7n3Wpm9hWWGfB/O2blfHcMVTL5WkQXSnRiK9makhrcnw==}+ engines: {node: '>=0.3.1'}++ resolution: {integrity: sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==}+ engines: {node: '>=10'}++ resolution: {integrity: sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==}+resolution: {integrity: sha512-aYlviXiaXBbzvKgyALpcMmqa3Np3sDr0XnZbEG62n2UpZFbEcjQ4EEMOLGzVPhwVnwTz0lvKY+GcARbunuHekw==}+ resolution: {integrity: sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==}++ resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==}+ engines: {node: '>= 0.8'}+resolution: {integrity: sha512-L1l8TNvomm6UVW5B253AGxQagSQr+vGwhMlrrfRS2qmhx46AMpMVJKQYLvWYbysTMY8VoicOvzHzoHMbyzB+4A==}engines: {node: '>=10.13.0'}+ resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==}+ engines: {node: '>=8.6'}++ resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==}++ resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}+ engines: {node: '>= 0.4'}+resolution: {integrity: sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==}+ resolution: {integrity: sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==}+ engines: {node: '>= 0.4'}+resolution: {integrity: sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==}engines: {node: '>=18'}@@ -1516,27 +1886,78 @@ packages:resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==}engines: {node: '>=6'}+ resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==}+resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==}engines: {node: '>=12'}+ resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==}+ engines: {node: '>=4'}+ hasBin: true+resolution: {integrity: sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==}resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==}+ resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==}+ engines: {node: '>= 0.6'}+resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==}engines: {node: '>=0.8.x'}+ resolution: {integrity: sha512-EKN1vKAMcZ8MlYMpaNuxN6R9yakzH6uajHcHVTqWJzvu5pWw9DyhbP35HH8MVBQ+dZjAfDxk+A8NiR9KWaXiyQ==}+ engines: {node: '>=18.0.0'}++ resolution: {integrity: sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==}+ engines: {node: '>=18.0.0'}++ resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==}+ engines: {node: '>=10'}++ resolution: {integrity: sha512-9Be3ZoN4LmYR90tUoVu2te2BsbzHfhJyfEiAVfz7N5/zv+jduIfLrV2xdQXOHbaD6KgpGdO9PRPM1Y4Q9QkPkA==}+ engines: {node: ^18.19.0 || >=20.5.0}+resolution: {integrity: sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==}engines: {node: '>=12.0.0'}+ resolution: {integrity: sha512-hOwV7WOxXfjRpAM1DSJWZDXx3GhplwD8IfwuwvogD8i1Qnkgosw/H45s4ZnFAUHDAhPjlY9hLBvJhKmGMyY26g==}+ engines: {node: '>= 16'}+ peerDependencies:+ express: '>= 4.11'++ resolution: {integrity: sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==}+ engines: {node: '>= 18'}+resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==}+ resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}++ resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==}+ engines: {node: '>=8.6.0'}++ resolution: {integrity: sha512-dOvZVzjdZdz7phd9v6jCbwxrBW3fK6n8Rc0CtdmM4bumzMnxywBYhuph6J819RRw/ku+rLbelwfMunktuzVVHg==}++ resolution: {integrity: sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==}+resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==}engines: {node: '>=12.0.0'}@@ -1546,19 +1967,85 @@ packages:picomatch:optional: true+ resolution: {integrity: sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==}+ engines: {node: '>= 18.0.0'}++ resolution: {integrity: sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==}+ engines: {node: '>= 0.6'}++ resolution: {integrity: sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==}+ engines: {node: '>= 0.8'}++ resolution: {integrity: sha512-EQsFzMUJkCKGr1ePqlYADkIUmHW1s3ZXr5Yqy6wbGrfUCphpl2maM/kyOIRA2HpP3AaFQTZXD4ldjek+nccddA==}+ engines: {node: '>=14.14'}+resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}os: [darwin]+ resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}++ resolution: {integrity: sha512-sR9BNCjBg6LNgwvxlBd0sBABvQitkLzoVY9MYYROQVX/FvfJ4Mai9LsGhDgd8qYdds0bY77VzYd5iuB+v5rwQQ==}+resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==}engines: {node: '>=6.9.0'}+ resolution: {integrity: sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==}+ engines: {node: '>= 0.4'}+resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==}engines: {node: '>=6'}+ resolution: {integrity: sha512-PKsK2FSrQCyxcGHsGrLDcK0lx+0Ke+6e8KFFozA9/fIQLhQzPaRvJFdcz7+Axg3jUH/Mq+NI4xa5u/UT2tQskA==}+ engines: {node: '>=14.16'}++ resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==}+ engines: {node: '>=10'}++ resolution: {integrity: sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}+ engines: {node: '>= 6'}++ resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==}+ engines: {node: '>= 0.4'}+resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}@@ -1585,6 +2072,14 @@ packages:peerDependencies:graphology-types: '>=0.24.0'+ resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==}+ engines: {node: '>= 0.4'}+resolution: {integrity: sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g==}@@ -1601,49 +2096,202 @@ packages:resolution: {integrity: sha512-oaXMACAU0kzOMXBjWpNcX+vlwSBCIAiZ9BHa7gA15NOTtT2L/l8OSZDuqS2XppOhZBPJ7hm4o8ep2kyuip2uEQ==}engines: {node: '>=12.0.0'}+ resolution: {integrity: sha512-c8/gF9ac8Y78/agExVocyLevgR+JlpNB444Py0FSX8pJoPdYUfUzRcXtYEYGwt6l19qIlVZPN5Mfsw9jFShmQQ==}+ engines: {node: '>=16.9.0'}+resolution: {integrity: sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==}+ resolution: {integrity: sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==}+ engines: {node: '>= 0.8'}++ resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==}+ engines: {node: '>=10.17.0'}++ resolution: {integrity: sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ==}+ engines: {node: '>=18.18.0'}++ resolution: {integrity: sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==}+ engines: {node: '>= 4'}++ resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}+resolution: {integrity: sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==}+ resolution: {integrity: sha512-BGFsyJd5mpXp3rK6jIdADLNgpJUK1jnjzvYF8lK+VyDab9JAmqN0YOKDdP17HlgKb2+ehPgDc8EtnRLbGCAMhA==}+ engines: {node: '>= 12'}++ resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==}+ engines: {node: '>= 0.10'}+resolution: {integrity: sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==}resolution: {integrity: sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==}+ resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==}+resolution: {integrity: sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==}+ resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==}+ engines: {node: '>=8'}+ hasBin: true++ resolution: {integrity: sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==}+ engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}+ hasBin: true++ resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}+ engines: {node: '>=0.10.0'}+resolution: {integrity: sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==}+ resolution: {integrity: sha512-jYa6Q9rH90kR1vKB6NM7qqd1mge3Fx4Dhw5TVlK1MUBqhEOuCagrEHMevNuCcbECmXZ0ThXkRm+Ymr51HwEPAw==}+ engines: {node: '>=20'}++ resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==}+ engines: {node: '>=14.16'}+ hasBin: true++ resolution: {integrity: sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}+ engines: {node: '>=0.12.0'}++ resolution: {integrity: sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-IlsXEHOjtKhpN8r/tRFj2nDyTmHvcfNeu/nrRIcXE17ROeatXchkojffa1SpdqW4cr/Fj6QkEf/Gn4zf6KKvEQ==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==}engines: {node: '>=12'}+ resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==}++ resolution: {integrity: sha512-rbku49cWloU5bSMI+zaRaXdQHXnthP6DZ/vLnfdSKyL4zUzuWnomtOEiZZOd+ioQ+avFo/qau3KPTc7Fjy1uPA==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw==}+ engines: {node: '>=16'}+resolution: {integrity: sha512-dJ+LpKyClQZ7NG+j3OensC/mAZkGpukE9YUrgPYvAZj2doVL0edfDgywTUh5CXa0o+nW9a1V9e5+CJTX8+SxRw==}engines: {node: '>=18'}+ resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}++ resolution: {integrity: sha512-6B3tLtFqtQS4ekarvLVMZ+X+VlvQekbe4taUkf/rhVO3d/h0M2rfARm/pXLcPEsjjMsFgrFgSrhQIxcSVrBz8w==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==}hasBin: true+ resolution: {integrity: sha512-9NiFmJEex0sy2Dk58j2UGBSHgUs2ypF9eZSu4L6vjOX3Dp96Sw1F3uL+H+D1sx02jZZdzUT0HgvCy59CuvXcWw==}+resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}+ resolution: {integrity: sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==}+ hasBin: true+resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==}engines: {node: '>=6'}hasBin: true+ resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==}++ resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==}++ resolution: {integrity: sha512-7DE8mpG+/fVw+dTpjbxnx47TaMnDfOI1jwft9g1VybltZCduyRQPJPvc+zzKY9WPHxhPWczyFuYa6I8Mw4iU5A==}++ resolution: {integrity: sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==}+resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==}engines: {node: '>=6'}hasBin: true+ resolution: {integrity: sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==}++ resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==}engines: {node: '>= 12.0.0'}@@ -1714,13 +2362,20 @@ packages:resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==}engines: {node: '>= 12.0.0'}+ resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}++ resolution: {integrity: sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==}- resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}- hasBin: true-resolution: {integrity: sha512-0JNhgFoPvP6U6lE/UdVsSq99tn6DhjjpAj5MxG49ewd2mOBVtwWYIT8ClyABhq198aXXODMU6Ox8DrGy/CpTZQ==}@@ -1741,6 +2396,10 @@ packages:resolution: {integrity: sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==}+ resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==}+ engines: {node: '>= 0.4'}+resolution: {integrity: sha512-Tmd1Vg/m3Xz43afeNxDIhWRtFZgM2VLyaf4vSTYwudTyeuTneoL3qtWMA5jeLyz/O1vDJmmV4QuScFCA2tBPwg==}@@ -1786,6 +2445,21 @@ packages:resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==}+ resolution: {integrity: sha512-yz3xRaG20c6/BOzvYoDaGtPmGscs7YivItZEEqe6GbwNfHuxu9YNmvnEkMzKldAGY4/80pRcQRZSEnhquk9XuQ==}+ engines: {node: '>= 0.8'}++ resolution: {integrity: sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}++ resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}+ engines: {node: '>= 8'}+resolution: {integrity: sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==}@@ -1870,6 +2544,37 @@ packages:resolution: {integrity: sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==}+ resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==}+ engines: {node: '>=8.6'}++ resolution: {integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==}+ engines: {node: '>= 0.6'}++ resolution: {integrity: sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-Ysbi9uYW9hFyfrThdDEQuykN4Ey6BuwPD2kpI5ES/nFTDn/98yxYNLZJcgUAKPT/mcrLLKaGzJR9YVxJrIdASQ==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==}+ engines: {node: 18 || 20 || >=22}++ resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==}+resolution: {integrity: sha512-vyWo2K3fjrUw8YeeZ1zF0fy6Mu59RHokURlld8ymdUPjMlD9EC9ov1/YPqTgqRvUN9nTr3Gqfz29LYAmu0PHPQ==}@@ -1881,10 +2586,34 @@ packages:engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}hasBin: true+ resolution: {integrity: sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-D9UOmYG3UH1V+ENW56t5QXBwJw1YEY18ruVeus89Rw+SyIgjPkCO84bRzO3uNIYosJbNwiabWVn48o3uJLjxFQ==}engines: {node: '>=18'}+ resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-EFVjAYfzWqWsBMRHPMAXLCDIJnpMhdWAqR7xG6M6a2cs6PMFpl/+Z20w9zDW4vkxOFfddegBKq9Rehd0bxWE7A==}+ engines: {node: '>= 10'}+resolution: {integrity: sha512-42CPE9AhahZRsMNslczq0ctAEtqk8Eka26QofnqC346BZdHDySk3LWka23LI7ULIw11NmltpiLagIq8gBozxTw==}@@ -1892,30 +2621,146 @@ packages:resolution: {integrity: sha512-XrsrhT5sybtKI6wakr2SPOlGZWWYbUXZ7a0jT8/QOeAPau+1X/bSegNe5YR75oJmEZQbKningirmGOEJCIk61Q==}engines: {node: '>=12.20.0'}+ resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==}+ engines: {node: '>= 0.8'}++ resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}++ resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-RWqF+pBSkqecEvCKOn8QYhaNdRMJDZRIrlS/7rTDdLHaPcfXGCZ/h8zb413NfvdeAV0MR7T1yJcA34/q+CSm1Q==}+ engines: {node: '>=20'}++ resolution: {integrity: sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-weP+BZ8MVNnlCm8c0Qdc1WSWq4Qn7I+9CJGm7Qali6g44e/PUzbjNqJX5NJ9ljlNMosfJvg1fKEGILklK9cwnw==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-wRqjisUyiUfXowgm7MFH2rwJzKIr20rca5FsHXCMNm1W5YPP1hCtrZfgmQ62kP7OZ7Xt+cR858aB28lu5NX55g==}+ resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==}+ resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==}+ engines: {node: '>= 0.8'}++ resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==}++ resolution: {integrity: sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==}+ engines: {node: '>=4'}++ resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==}+resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}+ resolution: {integrity: sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==}+ engines: {node: '>=8.6'}+resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==}engines: {node: '>=12'}+ resolution: {integrity: sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ==}+ engines: {node: '>=16.20.0'}++ resolution: {integrity: sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==}+ engines: {node: '>=8'}+resolution: {integrity: sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==}engines: {node: '>=4'}+ resolution: {integrity: sha512-7qASPzhKF2l2KLboRZux8CCTRMdGiV08vWmyKzPz22qZ7ZjQBOeY7rNzNoCLSUiftJ7HUq0GERHmxw/t0dCdMw==}+ engines: {node: '>=4'}+resolution: {integrity: sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==}engines: {node: ^10 || ^12 || >=14}+ resolution: {integrity: sha512-dM0jVuXJPsDN6DvRpea484tCUaMiXWjuCn++HGTqUWzGDjv5tZkEZldAJ/UMlqRYGFrD/etByo4/xOuC/snX2A==}+ engines: {node: '>=20'}++ resolution: {integrity: sha512-C+y9x90UElAddDZmV4qOx9W53B61PO7cIqWz2dQsWlwswuq4mr8NEwytdGKboYbQlGZ3awrkTeNvcZiZNHnQ8A==}+ engines: {node: '>=20'}++ resolution: {integrity: sha512-HzMy3Geq23nVALD/M2LliU+F+M+gVNsvkQWWqeBZ8HDiCgzo6YPJ/Omrmtq24EFrIsk0a3EkQGEd7bDOo+IhGA==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==}+ engines: {node: '>= 6'}+resolution: {integrity: sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==}+ resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==}+ engines: {node: '>= 0.10'}++ resolution: {integrity: sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==}+ engines: {node: '>=0.6'}++ resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}+resolution: {integrity: sha512-QBdhh1arIEUvPC0dQ5+nwWAxt7+N+oP/9jPwjJkGFoSk/sqxg32gJtSXGtFh8frAIcS6oC9cx2Q+7KYCQLOAeA==}peerDependencies:@@ -1929,10 +2774,18 @@ packages:'@types/react-dom':optional: true- resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==}+ resolution: {integrity: sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw==}+ engines: {node: '>= 0.6'}++ resolution: {integrity: sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==}+ engines: {node: '>= 0.10'}++ resolution: {integrity: sha512-JDk8dgif51OjFoDE70+OT9ICyYr+69HlmihNwp1+Nsfbna3t5sIiCa9ZJktDmQ4/1b/rn26hIAR2uYXDMr5r0Q==}peerDependencies:- react: ^18.3.1+ react: ^19.3.0resolution: {integrity: sha512-qKxVopLT/TyA6BX3Ue5NwabOsAzm0Q7kAPwq6L+wWDwisYs7R8vZ0nRXqq6rkueboxpkjvLGU9fWifiX/ZZFxQ==}@@ -1974,10 +2827,14 @@ packages:'@types/react':optional: true- resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==}+ resolution: {integrity: sha512-E8LUcbtBWt20bbl2YoHfx4ZDBdxVTfOKtCZn9cDSJ4l6/nuoApcpIBcj47t2wZoVX8g2ZHuMHbiShgCR1T5Sog==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-mFAyJq9vUbSTARLZUvAEf1z3YxlvAwswbmxMx2mPA/MSm4KmpwvwvhsH/NIrZhyOuwD60Lzyw2qh83uCbgTPYw==}+ engines: {node: '>= 4'}+resolution: {integrity: sha512-k158pK7wdC2qL3M5NcZROZ2tR/l7zOzjxXd5VGdcfIyoijjQqpHd3JKtYSBDpDZ38UI2WJWuFAtkMDxmx5kstA==}@@ -1996,18 +2853,57 @@ packages:resolution: {integrity: sha512-N3DiY5qbRPoa5vkxn1oDLMyXOVTeo6Hp+XOj6SIqJAYUgLS0Q587gILPMom/qm86AQ/ZrcOdwEIzCz8V3J0nxQ==}+ resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==}+ engines: {node: '>=4'}++ resolution: {integrity: sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==}+ engines: {iojs: '>=1.0.0', node: '>=0.10.0'}+resolution: {integrity: sha512-T5vnZ2y4QqC3/4P+w2+JO+Q/OVdnPsv4XcSYJYMEn0R9/jjl5AgLwO9LAZMzP2lN71O6pypn91rB7lDstUkfrQ==}engines: {node: '>=18.0.0', npm: '>=8.0.0'}hasBin: true- resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==}+ resolution: {integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==}+ engines: {node: '>= 18'}++ resolution: {integrity: sha512-DPe5pVFaAsinSaV6QjQ6gdiedWDcRCbUuiQfQa2wmWV7+xC9bGulGI8+TdRmoFkAPaBXk8CrAbnlY2ISniJ47Q==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}++ resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}++ resolution: {integrity: sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==}resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}hasBin: true+ resolution: {integrity: sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==}+ engines: {node: '>=10'}+ hasBin: true++ resolution: {integrity: sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==}+ engines: {node: '>= 18'}+resolution: {integrity: sha512-R0f1U9hmn38+dFMz6b6ab8lwucmw4AtiY7St+JPWudy1dm+Bs3g884nyrsH9Cy6rKpZKLYayXuMda9GZ/fl8JQ==}engines: {node: '>=10'}@@ -2018,34 +2914,134 @@ packages:resolution: {integrity: sha512-LErWMNS2RRFdu2RMA5u/PA59/IWs0XsikyEXGQ2/36iEWFrdG0ABmg17E17cikrv76891kOAMq3TkTFXpwAHXw==}engines: {node: '>=10'}+ resolution: {integrity: sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==}+ engines: {node: '>= 18'}++ resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}++ resolution: {integrity: sha512-UU2mFNusW8C5rvadKdH69vERYZqUlOOlXBcf0MYhYLdTGP6DPti7X4qovCu+RTfCqsAgq/T+YfE0Vnttxh9aiw==}+ engines: {node: '>=20.18.1'}+ hasBin: true++ resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==}+ engines: {node: '>= 0.4'}+resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==}resolution: {integrity: sha512-5H0zFlx6/NTQpqBg4Rm569ZOpnBOXMaS25UQThIWMU3XyzI5AhmorK/gnl87BvJBLhQd0tW4C0LIp3enWzMoNw==}+ resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}++ resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}+ engines: {node: '>=14'}++ resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}++ resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==}+ engines: {node: '>= 6.0.0', npm: '>= 3.0.0'}++ resolution: {integrity: sha512-e0VyvkVTwVYViNovRkZ9aodhxVlyoMn7eJhVUPxZ+eK9P/7CBkxvvsBOHqFPEH416726W8tLXXXjKwqgTErrCQ==}+ engines: {node: '>= 10.0.0', npm: '>= 3.0.0'}+resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}+ engines: {node: '>=0.10.0'}+resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==}resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==}+ resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==}+ engines: {node: '>= 0.8'}+resolution: {integrity: sha512-oCUKSupKTHX53EyjDtuZQ64pjLJ6yYCtpmEw0goYxtjG9KpbRe8KAsl2tBUGU9DyMcJ0RwJ8GqJAFzMXcXW1Rw==}+ resolution: {integrity: sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==}+ resolution: {integrity: sha512-zaJYxz2FtcMb4f+g60KsRNFOpVMUyuJgA51Zi5Z1DOTC3S59+OQiVOzE9GZt0x72uBGWKsQIuBKeF9iusmKFsg==}+ engines: {node: '>=14.16'}++ resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==}+ engines: {node: '>=4'}++ resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-RjQetxJrrUJLQPHbLku6U/ocGtzyjbJMP9lCNK7Ag0CNh690nSH8woqWH9u16nMjYBAok+i7JO1NP2pOy8IsPQ==}resolution: {integrity: sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==}+ resolution: {integrity: sha512-/NXbMVASt2UbSVgmWto4aBTIAeuYY7zOELpZybmNxqpsrbo5uYHpuEPf5nkyrPng0uG5YOb+Yv6s0FyKY4mDQg==}+ engines: {node: '>=10.0.0'}+ os: [darwin, linux, win32, freebsd, openbsd, netbsd, sunos, android]+ hasBin: true+resolution: {integrity: sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==}@@ -2053,10 +3049,8 @@ packages:resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==}engines: {node: '>=6'}- resolution: {integrity: sha512-3BG1aeB1RUTxItCml/BBuIz5JRM4kZqGuyx+vouv0fXTtcR9ZNoKjWGneHPx94y74GxgArwJZ1qbJR5dt54kSw==}- peerDependencies:- react: '>=18.0.0'+ resolution: {integrity: sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==}resolution: {integrity: sha512-9APumHG7r4yOk4X4WlkmE71aZcv1gvin1czO3OQ1U9iJcFA5Ja/ygyb0vPOVHTthFozUYs8CLoLUlM8grb2lTQ==}@@ -2070,15 +3064,37 @@ packages:resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==}engines: {node: '>=12.0.0'}+ resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}+ engines: {node: '>=8.0'}++ resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==}+ engines: {node: '>=0.6'}+resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==}resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==}+ resolution: {integrity: sha512-ztMO++owQnz8c/gIENcM9XfCEzgoGphTv+nKpYNM1bgsdOVC/jRZuEBf6N+mLLDNg68Kl+GgUZfOySaRiG1/Ug==}++ resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}+ resolution: {integrity: sha512-7bziOlRqH0hJx80h/3mbicLW7o8qLsH5+RaLR2t+OHM3D0JlWGODQKQ4cxbK7WlvmUxpcj6Kgu6EKqjrGFe3QQ==}++ resolution: {integrity: sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==}+ engines: {node: '>= 18'}+resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}engines: {node: '>=14.17'}@@ -2087,6 +3103,14 @@ packages:resolution: {integrity: sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==}+ resolution: {integrity: sha512-RYONW2MeafgYlkVOKYKkA/Ag7BmXqgIWCa8t1m0JcxrQg9pI9lEqRhAOruOBCbAohOa/gkCF+iPi9hrgvTzu6Q==}+ engines: {node: '>=20.18.1'}++ resolution: {integrity: sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==}@@ -2108,6 +3132,14 @@ packages:resolution: {integrity: sha512-m+vIdyeCOpdr/QeQCu2EzxX/ohgS8KbnPDgFni4dQsfSCtpz8UqDyY5GjRru8PDKuYn7Fq19j1CQ+nJSsGKOzg==}+ resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==}+ engines: {node: '>= 10.0.0'}++ resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==}+ engines: {node: '>= 0.8'}+resolution: {integrity: sha512-ZZ61DsRsOnakl74HAmp3oSN4aXUmEWXf+i/yv0h7tIBfICc3VdrFErQKUUKPgu3AMsTUMbcongALEN4l6GSUrQ==}hasBin: true@@ -2142,6 +3174,14 @@ packages:resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}+ resolution: {integrity: sha512-hVDIBwsRruT73PbK7uP5ebUt+ezEtCmzZz3F59BSr2F6OVFnJ/6h8liuvdLrQ88Xmnk6/+xGGuq+pG9WwTuy3A==}+ engines: {node: ^20.17.0 || >=22.9.0}++ resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==}+ engines: {node: '>= 0.8'}+resolution: {integrity: sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==}@@ -2229,14 +3269,47 @@ packages:jsdom:optional: true+ resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}+ engines: {node: '>= 8'}+ hasBin: true++ resolution: {integrity: sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==}+ engines: {node: ^16.13.0 || >=18.0.0}+ hasBin: true+resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==}engines: {node: '>=8'}hasBin: true+ resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}++ resolution: {integrity: sha512-Hl0ZOAs672vg+06kfujwRhoS6/jehvULrlFkuF2dRu6pHgA8U06h3xqNIqNNU1LTXPcedxByAR4GS6pwQK0mgA==}+ engines: {node: '>=20'}+resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==}+ resolution: {integrity: sha512-DODGl1wJjA/s5pnJFKau9lIYHT81lnhob1i3e1TjxZRxEhWRKl74nTbWE6H5KlkViQQTo/Z29YFdxzTZAMY3ng==}+ engines: {node: '>=18.19'}++ resolution: {integrity: sha512-xYqdZFUK/VYazNl/oCDYN+3WloWQwMfZxBoiNt6qNyk+xfOdi598muWE42rNZFp1kNOiqW936q5RhUdnpqElSg==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA==}+ peerDependencies:+ zod: ^3.25.28 || ^4++ resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==}+resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}@@ -2278,6 +3351,10 @@ snapshots:'@jridgewell/trace-mapping': 0.3.31jsesc: 3.1.0+ '@babel/[email protected]':+ dependencies:+ '@babel/types': 7.29.8+'@babel/[email protected]':dependencies:'@babel/compat-data': 7.29.7@@ -2286,8 +3363,28 @@ snapshots:lru-cache: 5.1.1semver: 6.3.1+ '@babel/[email protected](@babel/[email protected])':+ dependencies:+ '@babel/core': 7.29.7+ '@babel/helper-annotate-as-pure': 7.29.7+ '@babel/helper-member-expression-to-functions': 7.29.7+ '@babel/helper-optimise-call-expression': 7.29.7+ '@babel/helper-replace-supers': 7.29.7(@babel/[email protected])+ '@babel/helper-skip-transparent-expression-wrappers': 7.29.7+ '@babel/traverse': 7.29.8+ semver: 6.3.1+ transitivePeerDependencies:+ - supports-color+'@babel/[email protected]': {}+ '@babel/[email protected]':+ dependencies:+ '@babel/traverse': 7.29.8+ '@babel/types': 7.29.8+ transitivePeerDependencies:+ - supports-color+'@babel/[email protected]':dependencies:'@babel/traverse': 7.29.8@@ -2304,8 +3401,28 @@ snapshots:transitivePeerDependencies:- supports-color+ '@babel/[email protected]':+ dependencies:+ '@babel/types': 7.29.8+'@babel/[email protected]': {}+ '@babel/[email protected](@babel/[email protected])':+ dependencies:+ '@babel/core': 7.29.7+ '@babel/helper-member-expression-to-functions': 7.29.7+ '@babel/helper-optimise-call-expression': 7.29.7+ '@babel/traverse': 7.29.8+ transitivePeerDependencies:+ - supports-color++ '@babel/[email protected]':+ dependencies:+ '@babel/traverse': 7.29.8+ '@babel/types': 7.29.8+ transitivePeerDependencies:+ - supports-color+'@babel/[email protected]': {}'@babel/[email protected]': {}@@ -2321,6 +3438,24 @@ snapshots:dependencies:'@babel/types': 7.29.8+ '@babel/[email protected](@babel/[email protected])':+ dependencies:+ '@babel/core': 7.29.7+ '@babel/helper-plugin-utils': 7.29.7++ '@babel/[email protected](@babel/[email protected])':+ dependencies:+ '@babel/core': 7.29.7+ '@babel/helper-plugin-utils': 7.29.7++ '@babel/[email protected](@babel/[email protected])':+ dependencies:+ '@babel/core': 7.29.7+ '@babel/helper-module-transforms': 7.29.7(@babel/[email protected])+ '@babel/helper-plugin-utils': 7.29.7+ transitivePeerDependencies:+ - supports-color+'@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.29.7@@ -2331,6 +3466,28 @@ snapshots:'@babel/core': 7.29.7'@babel/helper-plugin-utils': 7.29.7+ '@babel/[email protected](@babel/[email protected])':+ dependencies:+ '@babel/core': 7.29.7+ '@babel/helper-annotate-as-pure': 7.29.7+ '@babel/helper-create-class-features-plugin': 7.29.7(@babel/[email protected])+ '@babel/helper-plugin-utils': 7.29.7+ '@babel/helper-skip-transparent-expression-wrappers': 7.29.7+ '@babel/plugin-syntax-typescript': 7.29.7(@babel/[email protected])+ transitivePeerDependencies:+ - supports-color++ '@babel/[email protected](@babel/[email protected])':+ dependencies:+ '@babel/core': 7.29.7+ '@babel/helper-plugin-utils': 7.29.7+ '@babel/helper-validator-option': 7.29.7+ '@babel/plugin-syntax-jsx': 7.29.7(@babel/[email protected])+ '@babel/plugin-transform-modules-commonjs': 7.29.7(@babel/[email protected])+ '@babel/plugin-transform-typescript': 7.29.7(@babel/[email protected])+ transitivePeerDependencies:+ - supports-color+'@babel/[email protected]':dependencies:'@babel/code-frame': 7.29.7@@ -2354,6 +3511,27 @@ snapshots:'@babel/helper-string-parser': 7.29.7'@babel/helper-validator-identifier': 7.29.7+ '@dotenvx/[email protected]':+ dependencies:+ '@dotenvx/primitives': 0.8.0+ commander: 11.1.0+ conf: 10.2.0+ dotenv: 17.4.2+ enquirer: 2.4.1+ env-paths: 2.2.1+ execa: 5.1.1+ fdir: 6.5.0([email protected])+ ignore: 5.3.2+ object-treeify: 1.1.33+ open: 8.4.2+ picomatch: 4.0.7+ systeminformation: 5.33.10+ undici: 7.29.1+ which: 4.0.0+ yocto-spinner: 1.2.2++ '@dotenvx/[email protected]': {}+'@esbuild/[email protected]':optional: true@@ -2441,14 +3619,20 @@ snapshots:'@floating-ui/core': 1.8.0'@floating-ui/utils': 0.2.12dependencies:'@floating-ui/dom': 1.8.0- react: 18.3.1- react-dom: 18.3.1([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])'@floating-ui/[email protected]': {}+ '@fontsource-variable/[email protected]': {}++ '@hono/[email protected]([email protected])':+ dependencies:+ hono: 4.13.7+'@jridgewell/[email protected]':dependencies:'@jridgewell/sourcemap-codec': 1.5.5@@ -2468,753 +3652,787 @@ snapshots:'@jridgewell/resolve-uri': 3.1.2'@jridgewell/sourcemap-codec': 1.5.5+ '@modelcontextprotocol/[email protected]([email protected])':+ dependencies:+ '@hono/node-server': 2.1.1([email protected])+ ajv: 8.20.0+ ajv-formats: 3.0.1([email protected])+ content-type: 1.0.5+ cors: 2.8.6+ cross-spawn: 7.0.6+ eventsource: 3.0.7+ eventsource-parser: 3.1.1+ express: 5.2.1+ express-rate-limit: 8.7.0([email protected])+ hono: 4.13.7+ jose: 6.2.12+ json-schema-typed: 8.0.2+ pkce-challenge: 5.0.1+ raw-body: 3.0.2+ zod: 3.25.76+ zod-to-json-schema: 3.25.2([email protected])+ transitivePeerDependencies:+ - supports-color+'@napi-rs/[email protected]':optional: true+ '@nodelib/[email protected]':+ dependencies:+ '@nodelib/fs.stat': 2.0.5+ run-parallel: 1.2.0++ '@nodelib/[email protected]': {}++ '@nodelib/[email protected]':+ dependencies:+ '@nodelib/fs.scandir': 2.1.5+ fastq: 1.20.3+'@radix-ui/[email protected]': {}'@radix-ui/[email protected]': {}- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-visually-hidden': 1.2.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-visually-hidden': 1.2.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-collapsible': 1.1.20(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-collapsible': 1.1.20(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-dialog': 1.1.23(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-dialog': 1.1.23(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-use-is-hydrated': 0.1.3(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-use-is-hydrated': 0.1.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- '@radix-ui/react-use-size': 1.1.4(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.4(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.3.3(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.3.3(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])dependencies:- react: 18.3.1+ react: 19.3.0optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-menu': 2.1.24(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-menu': 2.1.24(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])dependencies:- react: 18.3.1+ react: 19.3.0optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-focus-guards': 1.1.6(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-portal': 1.1.17(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.3.3(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.6(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-portal': 1.1.17(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.3.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])aria-hidden: 1.2.6- react: 18.3.1- react-dom: 18.3.1([email protected])- react-remove-scroll: 2.7.2(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])+ react-remove-scroll: 2.7.2(@types/[email protected])([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])dependencies:- react: 18.3.1+ react: 19.3.0optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-use-effect-event': 0.0.5(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-use-effect-event': 0.0.5(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-menu': 2.1.24(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-menu': 2.1.24(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])dependencies:- react: 18.3.1+ react: 19.3.0optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-label': 2.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-label': 2.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-popper': 1.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-portal': 1.1.17(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-popper': 1.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.17(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])dependencies:- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- react: 18.3.1+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ react: 19.3.0optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-focus-guards': 1.1.6(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-portal': 1.1.17(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-roving-focus': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.3.3(@types/[email protected])([email protected])- '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.6(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.17(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.3.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])aria-hidden: 1.2.6- react: 18.3.1- react-dom: 18.3.1([email protected])- react-remove-scroll: 2.7.2(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])+ react-remove-scroll: 2.7.2(@types/[email protected])([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-menu': 2.1.24(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-roving-focus': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-menu': 2.1.24(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-use-previous': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-visually-hidden': 1.2.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.2.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/number': 1.1.3'@radix-ui/primitive': 1.1.7- '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-roving-focus': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- '@radix-ui/react-use-effect-event': 0.0.5(@types/[email protected])([email protected])- '@radix-ui/react-use-is-hydrated': 0.1.3(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ '@radix-ui/react-use-effect-event': 0.0.5(@types/[email protected])([email protected])+ '@radix-ui/react-use-is-hydrated': 0.1.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- '@radix-ui/react-use-effect-event': 0.0.5(@types/[email protected])([email protected])- '@radix-ui/react-use-is-hydrated': 0.1.3(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ '@radix-ui/react-use-effect-event': 0.0.5(@types/[email protected])([email protected])+ '@radix-ui/react-use-is-hydrated': 0.1.3(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-focus-guards': 1.1.6(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-portal': 1.1.17(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.3.3(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.6(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.17(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.3.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])aria-hidden: 1.2.6- react: 18.3.1- react-dom: 18.3.1([email protected])- react-remove-scroll: 2.7.2(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])+ react-remove-scroll: 2.7.2(@types/[email protected])([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])-- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/react-arrow': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-use-rect': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-use-size': 1.1.4(@types/[email protected])([email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-arrow': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-use-rect': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.4(@types/[email protected])([email protected])'@radix-ui/rect': 1.1.3- react: 18.3.1- react-dom: 18.3.1([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-slot': 1.3.3(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-slot': 1.3.3(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-roving-focus': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- '@radix-ui/react-use-size': 1.1.4(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.4(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- '@radix-ui/react-use-is-hydrated': 0.1.3(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ '@radix-ui/react-use-is-hydrated': 0.1.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/number': 1.1.3'@radix-ui/primitive': 1.1.7- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/number': 1.1.3'@radix-ui/primitive': 1.1.7- '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-focus-guards': 1.1.6(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-portal': 1.1.17(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.3.3(@types/[email protected])([email protected])- '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-use-previous': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-visually-hidden': 1.2.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.6(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.17(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.3.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.2.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])aria-hidden: 1.2.6- react: 18.3.1- react-dom: 18.3.1([email protected])- react-remove-scroll: 2.7.2(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])+ react-remove-scroll: 2.7.2(@types/[email protected])([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/number': 1.1.3'@radix-ui/primitive': 1.1.7- '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-use-previous': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-use-size': 1.1.4(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.4(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])dependencies:- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- react: 18.3.1+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ react: 19.3.0optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- '@radix-ui/react-use-size': 1.1.4(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.4(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-roving-focus': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-portal': 1.1.17(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-visually-hidden': 1.2.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.17(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.2.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-roving-focus': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-toggle': 1.1.18(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toggle': 1.1.18(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-roving-focus': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-separator': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-toggle-group': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-separator': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toggle-group': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-portal': 1.1.17(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.3.3(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-visually-hidden': 1.2.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.17(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.3.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.2.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])dependencies:- react: 18.3.1+ react: 19.3.0optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-use-effect-event': 0.0.5(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- react: 18.3.1+ '@radix-ui/react-use-effect-event': 0.0.5(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ react: 19.3.0optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0dependencies:- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- react: 18.3.1+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ react: 19.3.0optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0dependencies:- '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])- react: 18.3.1+ '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])+ react: 19.3.0optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0dependencies:- react: 18.3.1+ react: 19.3.0optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0dependencies:- react: 18.3.1+ react: 19.3.0optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0dependencies:- react: 18.3.1+ react: 19.3.0optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0dependencies:'@radix-ui/rect': 1.1.3- react: 18.3.1+ react: 19.3.0optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0dependencies:- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- react: 18.3.1+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ react: 19.3.0optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])'@radix-ui/[email protected]': {}@@ -3295,6 +4513,8 @@ snapshots:'@rollup/[email protected]':optional: true+ '@sec-ant/[email protected]': {}+dependencies:sigma: 3.0.3([email protected])@@ -3307,6 +4527,8 @@ snapshots:dependencies:sigma: 3.0.3([email protected])+ '@sindresorhus/[email protected]': {}+'@tailwindcss/[email protected]':dependencies:'@jridgewell/remapping': 2.3.5@@ -3384,26 +4606,26 @@ snapshots:'@tanstack/[email protected]': {}- '@tanstack/[email protected]([email protected])':+ '@tanstack/[email protected]([email protected])':dependencies:'@tanstack/query-core': 5.102.3- react: 18.3.1+ react: 19.3.0dependencies:'@tanstack/history': 1.162.1'@tanstack/router-core': 1.171.27isbot: 5.2.1- react: 18.3.1- react-dom: 18.3.1([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])dependencies:'@tanstack/store': 0.9.3- react: 18.3.1- react-dom: 18.3.1([email protected])- use-sync-external-store: 1.6.0([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])+ use-sync-external-store: 1.6.0([email protected])'@tanstack/[email protected]':dependencies:@@ -3414,6 +4636,12 @@ snapshots:'@tanstack/[email protected]': {}+ '@ts-morph/[email protected]':+ dependencies:+ fast-glob: 3.3.3+ minimatch: 10.2.6+ path-browserify: 1.0.1+'@types/[email protected]':dependencies:'@babel/parser': 7.29.8@@ -3466,21 +4694,20 @@ snapshots:dependencies:undici-types: 8.3.0- '@types/[email protected]': {}-- '@types/[email protected](@types/[email protected])':+ '@types/[email protected](@types/[email protected])':dependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0- '@types/[email protected]':+ '@types/[email protected]':dependencies:- '@types/prop-types': 15.7.15csstype: 3.2.3'@types/[email protected]': {}'@types/[email protected]': {}+ '@types/[email protected]': {}+'@ungap/[email protected]': {}'@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected]))':@@ -3506,30 +4733,108 @@ snapshots:'@vitest/[email protected]': {}dependencies:- tslib: 2.8.1-- [email protected]: {}+ mime-types: 3.0.2+ negotiator: 1.1.0- [email protected]: {}+ optionalDependencies:+ ajv: 8.20.0- [email protected]: {}+ optionalDependencies:+ ajv: 8.20.0dependencies:- baseline-browser-mapping: 2.11.19- caniuse-lite: 1.0.30001810+ fast-deep-equal: 3.1.3+ fast-uri: 3.1.7+ json-schema-traverse: 1.0.0+ require-from-string: 2.0.2++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ tslib: 2.8.1++ [email protected]: {}++ dependencies:+ tslib: 2.8.1++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ bytes: 3.1.2+ content-type: 2.1.0+ debug: 4.4.3+ http-errors: 2.0.1+ iconv-lite: 0.7.3+ on-finished: 2.4.1+ qs: 6.16.0+ raw-body: 3.0.2+ type-is: 2.1.0+ transitivePeerDependencies:+ - supports-color++ dependencies:+ balanced-match: 4.0.4++ dependencies:+ fill-range: 7.1.1++ dependencies:+ baseline-browser-mapping: 2.11.19+ caniuse-lite: 1.0.30001810electron-to-chromium: 1.5.414node-releases: 2.0.53update-browserslist-db: 1.3.1([email protected])+ dependencies:+ run-applescript: 7.1.0++ [email protected]: {}++ dependencies:+ es-errors: 1.3.0+ function-bind: 1.1.2++ dependencies:+ call-bind-apply-helpers: 1.0.2+ get-intrinsic: 1.3.0++ [email protected]: {}++ [email protected]: {}+@@ -3538,16 +4843,95 @@ snapshots:+ dependencies:+ clsx: 2.1.1++ dependencies:+ restore-cursor: 5.1.0++ [email protected]: {}++ [email protected]: {}++ [email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]):+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-dialog': 1.1.23(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])+ transitivePeerDependencies:+ - '@types/react'+ - '@types/react-dom'++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ ajv: 8.20.0+ ajv-formats: 2.1.1([email protected])+ atomically: 1.7.0+ debounce-fn: 4.0.0+ dot-prop: 6.0.1+ env-paths: 2.2.1+ json-schema-typed: 7.0.3+ onetime: 5.1.2+ pkg-up: 3.1.0+ semver: 7.8.5++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ object-assign: 4.1.1+ vary: 1.1.2++ dependencies:+ env-paths: 2.2.1+ import-fresh: 3.3.1+ js-yaml: 4.3.2+ parse-json: 5.2.0+ optionalDependencies:+ typescript: 5.9.3++ dependencies:+ path-key: 3.1.1+ shebang-command: 2.0.0+ which: 2.0.2++ dependencies:+ mimic-fn: 3.1.0+dependencies:ms: 2.1.3@@ -3556,6 +4940,23 @@ snapshots:dependencies:character-entities: 2.0.2+ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ bundle-name: 4.1.0+ default-browser-id: 5.0.1++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}+@@ -3566,15 +4967,54 @@ snapshots:dependencies:dequal: 2.0.3+ [email protected]: {}++ dependencies:+ is-obj: 2.0.0++ [email protected]: {}++ dependencies:+ call-bind-apply-helpers: 1.0.2+ es-errors: 1.3.0+ gopd: 1.2.0++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}+dependencies:graceful-fs: 4.2.11tapable: 2.3.3+ dependencies:+ ansi-colors: 4.1.3+ strip-ansi: 6.0.1++ [email protected]: {}++ dependencies:+ is-arrayish: 0.2.1++ [email protected]: {}++ [email protected]: {}++ dependencies:+ es-errors: 1.3.0+optionalDependencies:'@esbuild/aix-ppc64': 0.25.12@@ -3606,31 +5046,199 @@ snapshots:+ [email protected]: {}++ [email protected]: {}+dependencies:'@types/estree': 1.0.9+ [email protected]: {}++ [email protected]: {}++ dependencies:+ eventsource-parser: 3.1.1++ dependencies:+ cross-spawn: 7.0.6+ get-stream: 6.0.1+ human-signals: 2.1.0+ is-stream: 2.0.1+ merge-stream: 2.0.0+ npm-run-path: 4.0.1+ onetime: 5.1.2+ signal-exit: 3.0.7+ strip-final-newline: 2.0.0++ dependencies:+ '@sindresorhus/merge-streams': 4.0.0+ cross-spawn: 7.0.6+ figures: 6.1.0+ get-stream: 9.0.1+ human-signals: 8.0.1+ is-plain-obj: 4.1.0+ is-stream: 4.0.1+ npm-run-path: 6.0.0+ pretty-ms: 9.3.1+ signal-exit: 4.1.0+ strip-final-newline: 4.0.0+ yoctocolors: 2.2.0++ dependencies:+ debug: 4.4.3+ express: 5.2.1+ ip-address: 10.7.0+ transitivePeerDependencies:+ - supports-color++ dependencies:+ accepts: 2.0.0+ body-parser: 2.3.0+ content-disposition: 1.1.0+ content-type: 1.0.5+ cookie: 0.7.2+ cookie-signature: 1.2.2+ debug: 4.4.3+ depd: 2.0.0+ encodeurl: 2.0.0+ escape-html: 1.0.3+ etag: 1.8.1+ finalhandler: 2.1.1+ fresh: 2.0.0+ http-errors: 2.0.1+ merge-descriptors: 2.0.0+ mime-types: 3.0.2+ on-finished: 2.4.1+ once: 1.4.0+ parseurl: 1.3.3+ proxy-addr: 2.0.7+ qs: 6.16.0+ range-parser: 1.3.0+ router: 2.2.0+ send: 1.2.1+ serve-static: 2.2.1+ statuses: 2.0.2+ type-is: 2.1.0+ vary: 1.1.2+ transitivePeerDependencies:+ - supports-color++ [email protected]: {}++ dependencies:+ '@nodelib/fs.stat': 2.0.5+ '@nodelib/fs.walk': 1.2.8+ glob-parent: 5.1.2+ merge2: 1.4.1+ micromatch: 4.0.8++ [email protected]: {}++ dependencies:+ reusify: 1.1.0+optionalDependencies:picomatch: 4.0.7+ dependencies:+ is-unicode-supported: 2.1.0++ dependencies:+ to-regex-range: 5.0.1++ dependencies:+ debug: 4.4.3+ encodeurl: 2.0.0+ escape-html: 1.0.3+ on-finished: 2.4.1+ parseurl: 1.3.3+ statuses: 2.0.2+ transitivePeerDependencies:+ - supports-color++ dependencies:+ locate-path: 3.0.0++ [email protected]: {}++ [email protected]: {}++ dependencies:+ graceful-fs: 4.2.11+ jsonfile: 6.2.1+ universalify: 2.0.1+optional: true+ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ call-bind-apply-helpers: 1.0.2+ es-define-property: 1.0.1+ es-errors: 1.3.0+ es-object-atoms: 1.1.2+ function-bind: 1.1.2+ get-proto: 1.0.1+ gopd: 1.2.0+ has-symbols: 1.1.0+ hasown: 2.0.4+ math-intrinsics: 1.1.0++ [email protected]: {}++ dependencies:+ dunder-proto: 1.0.1+ es-object-atoms: 1.1.2++ [email protected]: {}++ dependencies:+ '@sec-ant/readable-stream': 0.4.1+ is-stream: 4.0.1++ dependencies:+ is-glob: 4.0.3++ [email protected]: {}+@@ -3655,6 +5263,12 @@ snapshots:events: 3.3.0graphology-types: 0.24.8+ [email protected]: {}++ dependencies:+ function-bind: 1.1.2+dependencies:'@types/hast': 3.0.5@@ -3692,10 +5306,41 @@ snapshots:+ [email protected]: {}++ dependencies:+ depd: 2.0.0+ inherits: 2.0.4+ setprototypeof: 1.2.0+ statuses: 2.0.2+ toidentifier: 1.0.1++ [email protected]: {}++ [email protected]: {}++ dependencies:+ safer-buffer: 2.1.2++ [email protected]: {}++ dependencies:+ parent-module: 1.0.1+ resolve-from: 4.0.0++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}+@@ -3703,22 +5348,96 @@ snapshots:is-alphabetical: 2.0.1is-decimal: 2.0.1+ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ is-extglob: 2.1.1++ [email protected]: {}++ dependencies:+ is-docker: 3.0.0++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ is-docker: 2.2.1++ dependencies:+ is-inside-container: 1.0.0++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ argparse: 2.0.1++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ universalify: 2.0.1+ optionalDependencies:+ graceful-fs: 4.2.11++ [email protected]: {}++ [email protected]: {}+optional: true@@ -3768,11 +5487,19 @@ snapshots:lightningcss-win32-arm64-msvc: 1.32.0lightningcss-win32-x64-msvc: 1.32.0- [email protected]: {}+ [email protected]: {}dependencies:- js-tokens: 4.0.0+ p-locate: 3.0.0+ path-exists: 3.0.0++ dependencies:+ chalk: 5.6.2+ is-unicode-supported: 1.3.0++ [email protected]: {}dependencies:@@ -3784,9 +5511,9 @@ snapshots:dependencies:yallist: 3.1.1dependencies:- react: 18.3.1+ react: 19.3.0dependencies:@@ -3798,6 +5525,8 @@ snapshots:+ [email protected]: {}+dependencies:'@types/mdast': 4.0.4@@ -3951,6 +5680,14 @@ snapshots:dependencies:'@types/mdast': 4.0.4+ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}+dependencies:decode-named-character-reference: 1.3.0@@ -4142,6 +5879,29 @@ snapshots:transitivePeerDependencies:- supports-color+ dependencies:+ braces: 3.0.3+ picomatch: 2.3.2++ [email protected]: {}++ dependencies:+ mime-db: 1.54.0++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ brace-expansion: 5.0.9++ [email protected]: {}+dependencies:obliterator: 2.0.5@@ -4150,16 +5910,92 @@ snapshots:+ dependencies:+ content-type: 2.1.0++ dependencies:+ path-key: 3.1.1++ dependencies:+ path-key: 4.0.0+ unicorn-magic: 0.3.0++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ ee-first: 1.1.1++ dependencies:+ wrappy: 1.0.2++ dependencies:+ mimic-fn: 2.1.0++ dependencies:+ mimic-function: 5.0.1++ dependencies:+ default-browser: 5.5.1+ define-lazy-prop: 3.0.0+ is-in-ssh: 1.0.0+ is-inside-container: 1.0.0+ powershell-utils: 0.2.1+ wsl-utils: 1.0.0++ dependencies:+ define-lazy-prop: 2.0.0+ is-docker: 2.2.1+ is-wsl: 2.2.0++ dependencies:+ chalk: 5.6.2+ cli-cursor: 5.0.0+ cli-spinners: 2.9.2+ is-interactive: 2.0.0+ is-unicode-supported: 2.1.0+ log-symbols: 6.0.0+ stdin-discarder: 0.2.2+ string-width: 7.2.0+ strip-ansi: 7.2.0++ dependencies:+ p-try: 2.2.0++ dependencies:+ p-limit: 2.3.0++ [email protected]: {}+dependencies:mnemonist: 0.39.8+ dependencies:+ callsites: 3.1.0+dependencies:'@types/unist': 2.0.11@@ -4170,102 +6006,169 @@ snapshots:is-decimal: 2.0.1is-hexadecimal: 2.0.1+ dependencies:+ '@babel/code-frame': 7.29.7+ error-ex: 1.3.4+ json-parse-even-better-errors: 2.3.1+ lines-and-columns: 1.2.4++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ find-up: 3.0.0+dependencies:cssesc: 3.0.0util-deprecate: 1.0.2+ dependencies:+ cssesc: 3.0.0+ util-deprecate: 1.0.2+dependencies:nanoid: 3.3.18picocolors: 1.1.1source-map-js: 1.2.1+ [email protected]: {}++ [email protected]: {}++ dependencies:+ parse-ms: 4.0.0++ dependencies:+ kleur: 3.0.3+ sisteransi: 1.0.5+- [email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]):+ dependencies:+ forwarded: 0.2.0+ ipaddr.js: 1.9.1++ dependencies:+ es-define-property: 1.0.1+ side-channel: 1.1.1++ [email protected]: {}++ [email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]):dependencies:'@radix-ui/primitive': 1.1.7- '@radix-ui/react-accessible-icon': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-accordion': 1.2.20(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-alert-dialog': 1.1.23(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-arrow': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-aspect-ratio': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-avatar': 1.2.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-checkbox': 1.3.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-collapsible': 1.1.20(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-context-menu': 2.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-dialog': 1.1.23(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-dropdown-menu': 2.1.24(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-focus-guards': 1.1.6(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-form': 0.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-hover-card': 1.1.23(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-label': 2.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-menu': 2.1.24(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-menubar': 1.1.24(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-navigation-menu': 1.2.22(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-one-time-password-field': 0.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-password-toggle-field': 0.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-popover': 1.1.23(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-popper': 1.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-portal': 1.1.17(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-progress': 1.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-radio-group': 1.4.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-roving-focus': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-scroll-area': 1.2.18(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-select': 2.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-separator': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slider': 1.4.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.3.3(@types/[email protected])([email protected])- '@radix-ui/react-switch': 1.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-tabs': 1.1.21(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-toast': 1.2.23(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-toggle': 1.1.18(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-toggle-group': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-toolbar': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-tooltip': 1.2.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- '@radix-ui/react-use-effect-event': 0.0.5(@types/[email protected])([email protected])- '@radix-ui/react-use-escape-keydown': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-use-is-hydrated': 0.1.3(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-use-size': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-visually-hidden': 1.2.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- react: 18.3.1- react-dom: 18.3.1([email protected])+ '@radix-ui/react-accessible-icon': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-accordion': 1.2.20(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-alert-dialog': 1.1.23(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-arrow': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-aspect-ratio': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-avatar': 1.2.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-checkbox': 1.3.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-collapsible': 1.1.20(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-collection': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-context-menu': 2.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-dialog': 1.1.23(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-direction': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-dropdown-menu': 2.1.24(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.6(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-form': 0.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-hover-card': 1.1.23(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-label': 2.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-menu': 2.1.24(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-menubar': 1.1.24(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-navigation-menu': 1.2.22(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-one-time-password-field': 0.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-password-toggle-field': 0.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-popover': 1.1.23(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-popper': 1.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.17(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-progress': 1.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-radio-group': 1.4.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-scroll-area': 1.2.18(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-select': 2.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-separator': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slider': 1.4.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.3.3(@types/[email protected])([email protected])+ '@radix-ui/react-switch': 1.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-tabs': 1.1.21(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toast': 1.2.23(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toggle': 1.1.18(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toggle-group': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toolbar': 1.1.19(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-tooltip': 1.2.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])+ '@radix-ui/react-use-effect-event': 0.0.5(@types/[email protected])([email protected])+ '@radix-ui/react-use-escape-keydown': 1.1.5(@types/[email protected])([email protected])+ '@radix-ui/react-use-is-hydrated': 0.1.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.4(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.2.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.3.0+ react-dom: 19.3.0([email protected])optionalDependencies:- '@types/react': 18.3.31- '@types/react-dom': 18.3.7(@types/[email protected])+ '@types/react': 19.3.0+ '@types/react-dom': 19.3.0(@types/[email protected])++ [email protected]: {}dependencies:- loose-envify: 1.4.0- react: 18.3.1- scheduler: 0.23.2+ bytes: 3.1.2+ http-errors: 2.0.1+ iconv-lite: 0.7.3+ unpipe: 1.0.0+ dependencies:+ react: 19.3.0+ scheduler: 0.28.0+dependencies:'@types/hast': 3.0.5'@types/mdast': 4.0.4- '@types/react': 18.3.31+ '@types/react': 19.3.0devlop: 1.1.0hast-util-to-jsx-runtime: 2.3.6html-url-attributes: 3.0.1mdast-util-to-hast: 13.2.1- react: 18.3.1+ react: 19.3.0remark-parse: 11.0.0remark-rehype: 11.1.2unified: 11.0.5@@ -4276,36 +6179,42 @@ snapshots:dependencies:- react: 18.3.1- react-style-singleton: 2.2.3(@types/[email protected])([email protected])+ react: 19.3.0+ react-style-singleton: 2.2.3(@types/[email protected])([email protected])tslib: 2.8.1optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0dependencies:- react: 18.3.1- react-remove-scroll-bar: 2.3.8(@types/[email protected])([email protected])- react-style-singleton: 2.2.3(@types/[email protected])([email protected])+ react: 19.3.0+ react-remove-scroll-bar: 2.3.8(@types/[email protected])([email protected])+ react-style-singleton: 2.2.3(@types/[email protected])([email protected])tslib: 2.8.1- use-callback-ref: 1.3.3(@types/[email protected])([email protected])- use-sidecar: 1.1.3(@types/[email protected])([email protected])+ use-callback-ref: 1.3.3(@types/[email protected])([email protected])+ use-sidecar: 1.1.3(@types/[email protected])([email protected])optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0dependencies:get-nonce: 1.0.1- react: 18.3.1+ react: 19.3.0tslib: 2.8.1optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0++ [email protected]: {}dependencies:- loose-envify: 1.4.0+ ast-types: 0.16.3+ esprima: 4.0.1+ source-map: 0.6.1+ tiny-invariant: 1.3.3+ tslib: 2.8.1dependencies:@@ -4351,6 +6260,17 @@ snapshots:+ [email protected]: {}++ [email protected]: {}++ dependencies:+ onetime: 7.0.0+ signal-exit: 4.1.0++ [email protected]: {}+dependencies:'@types/estree': 1.0.9@@ -4383,18 +6303,138 @@ snapshots:'@rollup/rollup-win32-x64-msvc': 4.63.0fsevents: 2.3.3dependencies:- loose-envify: 1.4.0+ debug: 4.4.3+ depd: 2.0.0+ is-promise: 4.0.0+ parseurl: 1.3.3+ path-to-regexp: 8.4.2+ transitivePeerDependencies:+ - supports-color++ [email protected]: {}++ dependencies:+ queue-microtask: 1.2.3++ [email protected]: {}++ [email protected]: {}+ [email protected]: {}++ dependencies:+ debug: 4.4.3+ encodeurl: 2.0.0+ escape-html: 1.0.3+ etag: 1.8.1+ fresh: 2.0.0+ http-errors: 2.0.1+ mime-types: 3.0.2+ ms: 2.1.3+ on-finished: 2.4.1+ range-parser: 1.3.0+ statuses: 2.0.2+ transitivePeerDependencies:+ - supports-color+dependencies:seroval: 1.6.4+ dependencies:+ encodeurl: 2.0.0+ escape-html: 1.0.3+ parseurl: 1.3.3+ send: 1.2.1+ transitivePeerDependencies:+ - supports-color++ [email protected]: {}++ dependencies:+ '@babel/core': 7.29.7+ '@babel/parser': 7.29.8+ '@babel/plugin-transform-typescript': 7.29.7(@babel/[email protected])+ '@babel/preset-typescript': 7.29.7(@babel/[email protected])+ '@dotenvx/dotenvx': 1.75.1+ '@modelcontextprotocol/sdk': 1.30.0([email protected])+ '@types/validate-npm-package-name': 4.0.2+ browserslist: 4.28.8+ cn: 0.2.6+ commander: 14.0.3+ cosmiconfig: 9.0.2([email protected])+ dedent: 1.7.2+ deepmerge: 4.3.1+ diff: 8.0.4+ execa: 9.6.1+ fast-glob: 3.3.3+ fs-extra: 11.4.0+ fuzzysort: 3.1.0+ kleur: 4.1.5+ open: 11.0.2+ ora: 8.2.0+ postcss: 8.5.26+ postcss-selector-parser: 7.1.6+ prompts: 2.4.2+ recast: 0.23.21+ socks: 2.8.10+ stringify-object: 5.0.0+ ts-morph: 26.0.0+ tsconfig-paths: 4.2.0+ undici: 7.29.1+ validate-npm-package-name: 7.0.2+ zod: 3.25.76+ zod-to-json-schema: 3.25.2([email protected])+ transitivePeerDependencies:+ - '@cfworker/json-schema'+ - babel-plugin-macros+ - supports-color+ - typescript++ dependencies:+ shebang-regex: 3.0.0++ [email protected]: {}++ dependencies:+ es-errors: 1.3.0+ object-inspect: 1.13.4++ dependencies:+ call-bound: 1.0.4+ es-errors: 1.3.0+ get-intrinsic: 1.3.0+ object-inspect: 1.13.4++ dependencies:+ call-bound: 1.0.4+ es-errors: 1.3.0+ get-intrinsic: 1.3.0+ object-inspect: 1.13.4+ side-channel-map: 1.0.1++ dependencies:+ es-errors: 1.3.0+ object-inspect: 1.13.4+ side-channel-list: 1.0.1+ side-channel-map: 1.0.1+ side-channel-weakmap: 1.0.2+@@ -4404,19 +6444,64 @@ snapshots:transitivePeerDependencies:- graphology-types+ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ ip-address: 10.7.0+ smart-buffer: 4.2.0++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ emoji-regex: 10.6.0+ get-east-asian-width: 1.6.0+ strip-ansi: 7.2.0+dependencies:character-entities-html4: 2.1.0character-entities-legacy: 3.0.0+ dependencies:+ get-own-enumerable-keys: 1.0.0+ is-obj: 3.0.0+ is-regexp: 3.1.0++ dependencies:+ ansi-regex: 5.0.1++ dependencies:+ ansi-regex: 6.3.0++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}+dependencies:style-to-object: 1.0.14@@ -4425,13 +6510,13 @@ snapshots:dependencies:inline-style-parser: 0.2.7+ [email protected]: {}+- dependencies:- react: 18.3.1+ [email protected]: {}@@ -4442,16 +6527,45 @@ snapshots:fdir: 6.5.0([email protected])picomatch: 4.0.7+ dependencies:+ is-number: 7.0.0++ [email protected]: {}++ dependencies:+ '@ts-morph/common': 0.27.0+ code-block-writer: 13.0.3++ dependencies:+ json5: 2.2.3+ minimist: 1.2.8+ strip-bom: 3.0.0++ [email protected]: {}++ dependencies:+ content-type: 2.1.0+ media-typer: 1.1.1+ mime-types: 3.0.2++ [email protected]: {}++ [email protected]: {}+dependencies:'@types/unist': 3.0.3@@ -4490,33 +6604,41 @@ snapshots:unist-util-is: 6.0.1unist-util-visit-parents: 6.0.2+ [email protected]: {}++ [email protected]: {}+dependencies:browserslist: 4.28.8escalade: 3.2.0picocolors: 1.1.1dependencies:- react: 18.3.1+ react: 19.3.0tslib: 2.8.1optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0dependencies:detect-node-es: 1.1.0- react: 18.3.1+ react: 19.3.0tslib: 2.8.1optionalDependencies:- '@types/react': 18.3.31+ '@types/react': 19.3.0dependencies:- react: 18.3.1+ react: 19.3.0+ [email protected]: {}++ [email protected]: {}+dependencies:'@types/unist': 3.0.3@@ -4562,11 +6684,38 @@ snapshots:transitivePeerDependencies:- msw+ dependencies:+ isexe: 2.0.0++ dependencies:+ isexe: 3.1.5+dependencies:siginfo: 2.0.0stackback: 0.0.2+ [email protected]: {}++ dependencies:+ is-wsl: 3.1.1+ powershell-utils: 0.1.0++ dependencies:+ yoctocolors: 2.2.0++ [email protected]: {}++ dependencies:+ zod: 3.25.76++ [email protected]: {}+diff --git a/web/scripts/style-guard.mjs b/web/scripts/style-guard.mjsindex 29facb10..a690e9a0 100644--- a/web/scripts/style-guard.mjs+++ b/web/scripts/style-guard.mjs@@ -143,7 +143,14 @@ const RULES = [},];+/** shadcn CLI 生成的那一层不受检:它是**供应层**,按 Tailwind 原生刻度写+ * (text-sm / rounded-md / bg-primary),与这套规矩不是一套词。改它要么去+ * registry 改,要么重新 `shadcn add` 覆盖,手写规矩管不到也不该管。+ * 规矩仍然管页面:页面怎么用这些组件、有没有自己拼控件,那是这里的事。 */+const VENDOR = path.join("src", "components", "ui");+function walk(dir, out = []) {+ if (dir.includes(VENDOR)) return out;for (const entry of fs.readdirSync(dir, { withFileTypes: true })) {const full = path.join(dir, entry.name);if (entry.isDirectory()) walk(full, out);diff --git a/web/src/components/ui/badge.tsx b/web/src/components/ui/badge.tsxnew file mode 100644index 00000000..837196ca--- /dev/null+++ b/web/src/components/ui/badge.tsx@@ -0,0 +1,48 @@+import * as React from "react"+import { cva, type VariantProps } from "class-variance-authority"+import { cn } from "cn"+import { Slot } from "radix-ui"++const badgeVariants = cva(+ "group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",+ {+ variants: {+ variant: {+ default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",+ secondary:+ "bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",+ destructive:+ "bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",+ outline:+ "border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",+ ghost:+ "hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",+ link: "text-primary underline-offset-4 hover:underline",+ },+ },+ defaultVariants: {+ variant: "default",+ },+ }+)++function Badge({+ className,+ variant = "default",+ asChild = false,+ ...props+}: React.ComponentProps<"span"> &+ VariantProps<typeof badgeVariants> & { asChild?: boolean }) {+ const Comp = asChild ? Slot.Root : "span"++ return (+ <Comp+ data-slot="badge"+ data-variant={variant}+ className={cn(badgeVariants({ variant }), className)}+ {...props}+ />+ )+}++export { Badge, badgeVariants }diff --git a/web/src/components/ui/button.tsx b/web/src/components/ui/button.tsxnew file mode 100644index 00000000..18407c9c--- /dev/null+++ b/web/src/components/ui/button.tsx@@ -0,0 +1,66 @@+import * as React from "react"+import { cva, type VariantProps } from "class-variance-authority"+import { cn } from "cn"+import { Slot } from "radix-ui"++const buttonVariants = cva(+ "group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ {+ variants: {+ variant: {+ default: "bg-primary text-primary-foreground hover:bg-primary/80",+ outline:+ "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",+ secondary:+ "bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",+ ghost:+ "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",+ destructive:+ "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",+ link: "text-primary underline-offset-4 hover:underline",+ },+ size: {+ default:+ "h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",+ xs: "h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",+ sm: "h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",+ lg: "h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",+ icon: "size-8",+ "icon-xs":+ "size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3",+ "icon-sm":+ "size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg",+ "icon-lg": "size-9",+ },+ },+ defaultVariants: {+ variant: "default",+ size: "default",+ },+ }+)++function Button({+ className,+ variant = "default",+ size = "default",+ asChild = false,+ ...props+}: React.ComponentProps<"button"> &+ VariantProps<typeof buttonVariants> & {+ asChild?: boolean+ }) {+ const Comp = asChild ? Slot.Root : "button"++ return (+ <Comp+ data-slot="button"+ data-variant={variant}+ data-size={size}+ className={cn(buttonVariants({ variant, size, className }))}+ {...props}+ />+ )+}++export { Button, buttonVariants }diff --git a/web/src/components/ui/card.tsx b/web/src/components/ui/card.tsxnew file mode 100644index 00000000..cf02f484--- /dev/null+++ b/web/src/components/ui/card.tsx@@ -0,0 +1,102 @@+import * as React from "react"+import { cn } from "cn"++function Card({+ className,+ size = "default",+ ...props+}: React.ComponentProps<"div"> & { size?: "default" | "sm" }) {+ return (+ <div+ data-slot="card"+ data-size={size}+ className={cn(+ "group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",+ className+ )}+ {...props}+ />+ )+}++function CardHeader({ className, ...props }: React.ComponentProps<"div">) {+ return (+ <div+ data-slot="card-header"+ className={cn(+ "group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)",+ className+ )}+ {...props}+ />+ )+}++function CardTitle({ className, ...props }: React.ComponentProps<"div">) {+ return (+ <div+ data-slot="card-title"+ className={cn(+ "font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",+ className+ )}+ {...props}+ />+ )+}++function CardDescription({ className, ...props }: React.ComponentProps<"div">) {+ return (+ <div+ data-slot="card-description"+ className={cn("text-sm text-muted-foreground", className)}+ {...props}+ />+ )+}++function CardAction({ className, ...props }: React.ComponentProps<"div">) {+ return (+ <div+ data-slot="card-action"+ className={cn(+ "col-start-2 row-span-2 row-start-1 self-start justify-self-end",+ className+ )}+ {...props}+ />+ )+}++function CardContent({ className, ...props }: React.ComponentProps<"div">) {+ return (+ <div+ data-slot="card-content"+ className={cn("px-(--card-spacing)", className)}+ {...props}+ />+ )+}++function CardFooter({ className, ...props }: React.ComponentProps<"div">) {+ return (+ <div+ data-slot="card-footer"+ className={cn(+ "flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)",+ className+ )}+ {...props}+ />+ )+}++export {+ Card,+ CardHeader,+ CardFooter,+ CardTitle,+ CardAction,+ CardDescription,+ CardContent,+}diff --git a/web/src/components/ui/checkbox.tsx b/web/src/components/ui/checkbox.tsxnew file mode 100644index 00000000..3f19b8dd--- /dev/null+++ b/web/src/components/ui/checkbox.tsx@@ -0,0 +1,30 @@+import * as React from "react"+import { cn } from "cn"+import { Checkbox as CheckboxPrimitive } from "radix-ui"+import { CheckIcon } from "lucide-react"++function Checkbox({+ className,+ ...props+}: React.ComponentProps<typeof CheckboxPrimitive.Root>) {+ return (+ <CheckboxPrimitive.Root+ data-slot="checkbox"+ className={cn(+ "peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary dark:data-checked:bg-primary",+ className+ )}+ {...props}+ >+ <CheckboxPrimitive.Indicator+ data-slot="checkbox-indicator"+ className="grid place-content-center text-current transition-none [&>svg]:size-3.5"+ >+ <CheckIcon+ />+ </CheckboxPrimitive.Indicator>+ </CheckboxPrimitive.Root>+ )+}++export { Checkbox }diff --git a/web/src/components/ui/command.tsx b/web/src/components/ui/command.tsxnew file mode 100644index 00000000..f952f172--- /dev/null+++ b/web/src/components/ui/command.tsx@@ -0,0 +1,195 @@+"use client"++import * as React from "react"+import { Command as CommandPrimitive } from "cmdk"+import { cn } from "cn"++import {+ Dialog,+ DialogContent,+ DialogDescription,+ DialogHeader,+ DialogTitle,+} from "@/components/ui/dialog"+import {+ InputGroup,+ InputGroupAddon,+} from "@/components/ui/input-group"+import { SearchIcon, CheckIcon } from "lucide-react"++function Command({+ className,+ ...props+}: React.ComponentProps<typeof CommandPrimitive>) {+ return (+ <CommandPrimitive+ data-slot="command"+ className={cn(+ "flex size-full flex-col overflow-hidden rounded-xl! bg-popover p-1 text-popover-foreground",+ className+ )}+ {...props}+ />+ )+}++function CommandDialog({+ title = "Command Palette",+ description = "Search for a command to run...",+ children,+ className,+ showCloseButton = false,+ ...props+}: React.ComponentProps<typeof Dialog> & {+ title?: string+ description?: string+ className?: string+ showCloseButton?: boolean+}) {+ return (+ <Dialog {...props}>+ <DialogHeader className="sr-only">+ <DialogTitle>{title}</DialogTitle>+ <DialogDescription>{description}</DialogDescription>+ </DialogHeader>+ <DialogContent+ className={cn(+ "top-1/3 translate-y-0 overflow-hidden rounded-xl! p-0",+ className+ )}+ showCloseButton={showCloseButton}+ >+ {children}+ </DialogContent>+ </Dialog>+ )+}++function CommandInput({+ className,+ ...props+}: React.ComponentProps<typeof CommandPrimitive.Input>) {+ return (+ <div data-slot="command-input-wrapper" className="p-1 pb-0">+ <InputGroup className="h-8! rounded-lg! border-input/30 bg-input/30 shadow-none! *:data-[slot=input-group-addon]:pl-2!">+ <CommandPrimitive.Input+ data-slot="command-input"+ className={cn(+ "w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",+ className+ )}+ {...props}+ />+ <InputGroupAddon>+ <SearchIcon className="size-4 shrink-0 opacity-50" />+ </InputGroupAddon>+ </InputGroup>+ </div>+ )+}++function CommandList({+ className,+ ...props+}: React.ComponentProps<typeof CommandPrimitive.List>) {+ return (+ <CommandPrimitive.List+ data-slot="command-list"+ className={cn(+ "no-scrollbar max-h-72 scroll-py-1 overflow-x-hidden overflow-y-auto outline-none",+ className+ )}+ {...props}+ />+ )+}++function CommandEmpty({+ className,+ ...props+}: React.ComponentProps<typeof CommandPrimitive.Empty>) {+ return (+ <CommandPrimitive.Empty+ data-slot="command-empty"+ className={cn("py-6 text-center text-sm", className)}+ {...props}+ />+ )+}++function CommandGroup({+ className,+ ...props+}: React.ComponentProps<typeof CommandPrimitive.Group>) {+ return (+ <CommandPrimitive.Group+ data-slot="command-group"+ className={cn(+ "overflow-hidden p-1 text-foreground **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium **:[[cmdk-group-heading]]:text-muted-foreground",+ className+ )}+ {...props}+ />+ )+}++function CommandSeparator({+ className,+ ...props+}: React.ComponentProps<typeof CommandPrimitive.Separator>) {+ return (+ <CommandPrimitive.Separator+ data-slot="command-separator"+ className={cn("-mx-1 h-px bg-border", className)}+ {...props}+ />+ )+}++function CommandItem({+ className,+ children,+ ...props+}: React.ComponentProps<typeof CommandPrimitive.Item>) {+ return (+ <CommandPrimitive.Item+ data-slot="command-item"+ className={cn(+ "group/command-item relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-muted data-selected:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-selected:*:[svg]:text-foreground",+ className+ )}+ {...props}+ >+ {children}+ <CheckIcon className="ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" />+ </CommandPrimitive.Item>+ )+}++function CommandShortcut({+ className,+ ...props+}: React.ComponentProps<"span">) {+ return (+ <span+ data-slot="command-shortcut"+ className={cn(+ "ml-auto text-xs tracking-widest text-muted-foreground group-data-selected/command-item:text-foreground",+ className+ )}+ {...props}+ />+ )+}++export {+ Command,+ CommandDialog,+ CommandInput,+ CommandList,+ CommandEmpty,+ CommandGroup,+ CommandItem,+ CommandShortcut,+ CommandSeparator,+}diff --git a/web/src/components/ui/dialog.tsx b/web/src/components/ui/dialog.tsxnew file mode 100644index 00000000..b3ded214--- /dev/null+++ b/web/src/components/ui/dialog.tsx@@ -0,0 +1,168 @@+"use client"++import * as React from "react"+import { cn } from "cn"+import { Dialog as DialogPrimitive } from "radix-ui"++import { Button } from "@/components/ui/button"+import { XIcon } from "lucide-react"++function Dialog({+ ...props+}: React.ComponentProps<typeof DialogPrimitive.Root>) {+ return <DialogPrimitive.Root data-slot="dialog" {...props} />+}++function DialogTrigger({+ ...props+}: React.ComponentProps<typeof DialogPrimitive.Trigger>) {+ return <DialogPrimitive.Trigger data-slot="dialog-trigger" {...props} />+}++function DialogPortal({+ ...props+}: React.ComponentProps<typeof DialogPrimitive.Portal>) {+ return <DialogPrimitive.Portal data-slot="dialog-portal" {...props} />+}++function DialogClose({+ ...props+}: React.ComponentProps<typeof DialogPrimitive.Close>) {+ return <DialogPrimitive.Close data-slot="dialog-close" {...props} />+}++function DialogOverlay({+ className,+ ...props+}: React.ComponentProps<typeof DialogPrimitive.Overlay>) {+ return (+ <DialogPrimitive.Overlay+ data-slot="dialog-overlay"+ className={cn(+ "fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",+ className+ )}+ {...props}+ />+ )+}++function DialogContent({+ className,+ children,+ showCloseButton = true,+ ...props+}: React.ComponentProps<typeof DialogPrimitive.Content> & {+ showCloseButton?: boolean+}) {+ return (+ <DialogPortal>+ <DialogOverlay />+ <DialogPrimitive.Content+ data-slot="dialog-content"+ className={cn(+ "fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",+ className+ )}+ {...props}+ >+ {children}+ {showCloseButton && (+ <DialogPrimitive.Close data-slot="dialog-close" asChild>+ <Button+ variant="ghost"+ className="absolute top-2 right-2"+ size="icon-sm"+ >+ <XIcon+ />+ <span className="sr-only">Close</span>+ </Button>+ </DialogPrimitive.Close>+ )}+ </DialogPrimitive.Content>+ </DialogPortal>+ )+}++function DialogHeader({ className, ...props }: React.ComponentProps<"div">) {+ return (+ <div+ data-slot="dialog-header"+ className={cn("flex flex-col gap-2", className)}+ {...props}+ />+ )+}++function DialogFooter({+ className,+ showCloseButton = false,+ children,+ ...props+}: React.ComponentProps<"div"> & {+ showCloseButton?: boolean+}) {+ return (+ <div+ data-slot="dialog-footer"+ className={cn(+ "-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end",+ className+ )}+ {...props}+ >+ {children}+ {showCloseButton && (+ <DialogPrimitive.Close asChild>+ <Button variant="outline">Close</Button>+ </DialogPrimitive.Close>+ )}+ </div>+ )+}++function DialogTitle({+ className,+ ...props+}: React.ComponentProps<typeof DialogPrimitive.Title>) {+ return (+ <DialogPrimitive.Title+ data-slot="dialog-title"+ className={cn(+ "font-heading text-base leading-none font-medium",+ className+ )}+ {...props}+ />+ )+}++function DialogDescription({+ className,+ ...props+}: React.ComponentProps<typeof DialogPrimitive.Description>) {+ return (+ <DialogPrimitive.Description+ data-slot="dialog-description"+ className={cn(+ "text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",+ className+ )}+ {...props}+ />+ )+}++export {+ Dialog,+ DialogClose,+ DialogContent,+ DialogDescription,+ DialogFooter,+ DialogHeader,+ DialogOverlay,+ DialogPortal,+ DialogTitle,+ DialogTrigger,+}diff --git a/web/src/components/ui/dropdown-menu.tsx b/web/src/components/ui/dropdown-menu.tsxnew file mode 100644index 00000000..a789efd1--- /dev/null+++ b/web/src/components/ui/dropdown-menu.tsx@@ -0,0 +1,268 @@+"use client"++import * as React from "react"+import { cn } from "cn"+import { DropdownMenu as DropdownMenuPrimitive } from "radix-ui"+import { CheckIcon, ChevronRightIcon } from "lucide-react"++function DropdownMenu({+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.Root>) {+ return <DropdownMenuPrimitive.Root data-slot="dropdown-menu" {...props} />+}++function DropdownMenuPortal({+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>) {+ return (+ <DropdownMenuPrimitive.Portal data-slot="dropdown-menu-portal" {...props} />+ )+}++function DropdownMenuTrigger({+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>) {+ return (+ <DropdownMenuPrimitive.Trigger+ data-slot="dropdown-menu-trigger"+ {...props}+ />+ )+}++function DropdownMenuContent({+ className,+ align = "start",+ sideOffset = 4,+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.Content>) {+ return (+ <DropdownMenuPrimitive.Portal>+ <DropdownMenuPrimitive.Content+ data-slot="dropdown-menu-content"+ sideOffset={sideOffset}+ align={align}+ className={cn("z-50 max-h-(--radix-dropdown-menu-content-available-height) w-(--radix-dropdown-menu-trigger-width) min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:overflow-hidden data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className )}+ {...props}+ />+ </DropdownMenuPrimitive.Portal>+ )+}++function DropdownMenuGroup({+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.Group>) {+ return (+ <DropdownMenuPrimitive.Group data-slot="dropdown-menu-group" {...props} />+ )+}++function DropdownMenuItem({+ className,+ inset,+ variant = "default",+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {+ inset?: boolean+ variant?: "default" | "destructive"+}) {+ return (+ <DropdownMenuPrimitive.Item+ data-slot="dropdown-menu-item"+ data-inset={inset}+ data-variant={variant}+ className={cn(+ "group/dropdown-menu-item relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive",+ className+ )}+ {...props}+ />+ )+}++function DropdownMenuCheckboxItem({+ className,+ children,+ checked,+ inset,+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem> & {+ inset?: boolean+}) {+ return (+ <DropdownMenuPrimitive.CheckboxItem+ data-slot="dropdown-menu-checkbox-item"+ data-inset={inset}+ className={cn(+ "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ className+ )}+ checked={checked}+ {...props}+ >+ <span+ className="pointer-events-none absolute right-2 flex items-center justify-center"+ data-slot="dropdown-menu-checkbox-item-indicator"+ >+ <DropdownMenuPrimitive.ItemIndicator>+ <CheckIcon+ />+ </DropdownMenuPrimitive.ItemIndicator>+ </span>+ {children}+ </DropdownMenuPrimitive.CheckboxItem>+ )+}++function DropdownMenuRadioGroup({+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>) {+ return (+ <DropdownMenuPrimitive.RadioGroup+ data-slot="dropdown-menu-radio-group"+ {...props}+ />+ )+}++function DropdownMenuRadioItem({+ className,+ children,+ inset,+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {+ inset?: boolean+}) {+ return (+ <DropdownMenuPrimitive.RadioItem+ data-slot="dropdown-menu-radio-item"+ data-inset={inset}+ className={cn(+ "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ className+ )}+ {...props}+ >+ <span+ className="pointer-events-none absolute right-2 flex items-center justify-center"+ data-slot="dropdown-menu-radio-item-indicator"+ >+ <DropdownMenuPrimitive.ItemIndicator>+ <CheckIcon+ />+ </DropdownMenuPrimitive.ItemIndicator>+ </span>+ {children}+ </DropdownMenuPrimitive.RadioItem>+ )+}++function DropdownMenuLabel({+ className,+ inset,+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {+ inset?: boolean+}) {+ return (+ <DropdownMenuPrimitive.Label+ data-slot="dropdown-menu-label"+ data-inset={inset}+ className={cn(+ "px-1.5 py-1 text-xs font-medium text-muted-foreground data-inset:pl-7",+ className+ )}+ {...props}+ />+ )+}++function DropdownMenuSeparator({+ className,+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>) {+ return (+ <DropdownMenuPrimitive.Separator+ data-slot="dropdown-menu-separator"+ className={cn("-mx-1 my-1 h-px bg-border", className)}+ {...props}+ />+ )+}++function DropdownMenuShortcut({+ className,+ ...props+}: React.ComponentProps<"span">) {+ return (+ <span+ data-slot="dropdown-menu-shortcut"+ className={cn(+ "ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground",+ className+ )}+ {...props}+ />+ )+}++function DropdownMenuSub({+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>) {+ return <DropdownMenuPrimitive.Sub data-slot="dropdown-menu-sub" {...props} />+}++function DropdownMenuSubTrigger({+ className,+ inset,+ children,+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {+ inset?: boolean+}) {+ return (+ <DropdownMenuPrimitive.SubTrigger+ data-slot="dropdown-menu-sub-trigger"+ data-inset={inset}+ className={cn(+ "flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ className+ )}+ {...props}+ >+ {children}+ <ChevronRightIcon className="ml-auto" />+ </DropdownMenuPrimitive.SubTrigger>+ )+}++function DropdownMenuSubContent({+ className,+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>) {+ return (+ <DropdownMenuPrimitive.SubContent+ data-slot="dropdown-menu-sub-content"+ className={cn("z-50 min-w-[96px] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-lg bg-popover p-1 text-popover-foreground shadow-lg ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className )}+ {...props}+ />+ )+}++export {+ DropdownMenu,+ DropdownMenuPortal,+ DropdownMenuTrigger,+ DropdownMenuContent,+ DropdownMenuGroup,+ DropdownMenuLabel,+ DropdownMenuItem,+ DropdownMenuCheckboxItem,+ DropdownMenuRadioGroup,+ DropdownMenuRadioItem,+ DropdownMenuSeparator,+ DropdownMenuShortcut,+ DropdownMenuSub,+ DropdownMenuSubTrigger,+ DropdownMenuSubContent,+}diff --git a/web/src/components/ui/input-group.tsx b/web/src/components/ui/input-group.tsxnew file mode 100644index 00000000..68d3610e--- /dev/null+++ b/web/src/components/ui/input-group.tsx@@ -0,0 +1,154 @@+import * as React from "react"+import { cva, type VariantProps } from "class-variance-authority"+import { cn } from "cn"++import { Button } from "@/components/ui/button"+import { Input } from "@/components/ui/input"+import { Textarea } from "@/components/ui/textarea"++function InputGroup({ className, ...props }: React.ComponentProps<"div">) {+ return (+ <div+ data-slot="input-group"+ role="group"+ className={cn(+ "group/input-group relative flex h-8 w-full min-w-0 items-center rounded-lg border border-input transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:bg-input/50 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-disabled:bg-input/80 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5",+ className+ )}+ {...props}+ />+ )+}++const inputGroupAddonVariants = cva(+ "flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4",+ {+ variants: {+ align: {+ "inline-start":+ "order-first pl-2 has-[>button]:ml-[-0.3rem] has-[>kbd]:ml-[-0.15rem]",+ "inline-end":+ "order-last pr-2 has-[>button]:mr-[-0.3rem] has-[>kbd]:mr-[-0.15rem]",+ "block-start":+ "order-first w-full justify-start px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2",+ "block-end":+ "order-last w-full justify-start px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2",+ },+ },+ defaultVariants: {+ align: "inline-start",+ },+ }+)++function InputGroupAddon({+ className,+ align = "inline-start",+ ...props+}: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>) {+ return (+ <div+ role="group"+ data-slot="input-group-addon"+ data-align={align}+ className={cn(inputGroupAddonVariants({ align }), className)}+ onClick={(e) => {+ if ((e.target as HTMLElement).closest("button")) {+ return+ }+ e.currentTarget.parentElement?.querySelector("input")?.focus()+ }}+ {...props}+ />+ )+}++const inputGroupButtonVariants = cva(+ "flex items-center gap-2 text-sm shadow-none",+ {+ variants: {+ size: {+ xs: "h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5",+ sm: "",+ "icon-xs":+ "size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>svg]:p-0",+ "icon-sm": "size-8 p-0 has-[>svg]:p-0",+ },+ },+ defaultVariants: {+ size: "xs",+ },+ }+)++function InputGroupButton({+ className,+ type = "button",+ variant = "ghost",+ size = "xs",+ ...props+}: Omit<React.ComponentProps<typeof Button>, "size"> &+ VariantProps<typeof inputGroupButtonVariants>) {+ return (+ <Button+ type={type}+ data-size={size}+ variant={variant}+ className={cn(inputGroupButtonVariants({ size }), className)}+ {...props}+ />+ )+}++function InputGroupText({ className, ...props }: React.ComponentProps<"span">) {+ return (+ <span+ className={cn(+ "flex items-center gap-2 text-sm text-muted-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",+ className+ )}+ {...props}+ />+ )+}++function InputGroupInput({+ className,+ ...props+}: React.ComponentProps<"input">) {+ return (+ <Input+ data-slot="input-group-control"+ className={cn(+ "flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent",+ className+ )}+ {...props}+ />+ )+}++function InputGroupTextarea({+ className,+ ...props+}: React.ComponentProps<"textarea">) {+ return (+ <Textarea+ data-slot="input-group-control"+ className={cn(+ "flex-1 resize-none rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent",+ className+ )}+ {...props}+ />+ )+}++export {+ InputGroup,+ InputGroupAddon,+ InputGroupButton,+ InputGroupText,+ InputGroupInput,+ InputGroupTextarea,+}diff --git a/web/src/components/ui/input.tsx b/web/src/components/ui/input.tsxnew file mode 100644index 00000000..7aa671b8--- /dev/null+++ b/web/src/components/ui/input.tsx@@ -0,0 +1,18 @@+import * as React from "react"+import { cn } from "cn"++function Input({ className, type, ...props }: React.ComponentProps<"input">) {+ return (+ <input+ type={type}+ data-slot="input"+ className={cn(+ "h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",+ className+ )}+ {...props}+ />+ )+}++export { Input }diff --git a/web/src/components/ui/label.tsx b/web/src/components/ui/label.tsxnew file mode 100644index 00000000..425b3b51--- /dev/null+++ b/web/src/components/ui/label.tsx@@ -0,0 +1,21 @@+import * as React from "react"+import { cn } from "cn"+import { Label as LabelPrimitive } from "radix-ui"++function Label({+ className,+ ...props+}: React.ComponentProps<typeof LabelPrimitive.Root>) {+ return (+ <LabelPrimitive.Root+ data-slot="label"+ className={cn(+ "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",+ className+ )}+ {...props}+ />+ )+}++export { Label }diff --git a/web/src/components/ui/popover.tsx b/web/src/components/ui/popover.tsxnew file mode 100644index 00000000..029dc927--- /dev/null+++ b/web/src/components/ui/popover.tsx@@ -0,0 +1,86 @@+import * as React from "react"+import { cn } from "cn"+import { Popover as PopoverPrimitive } from "radix-ui"++function Popover({+ ...props+}: React.ComponentProps<typeof PopoverPrimitive.Root>) {+ return <PopoverPrimitive.Root data-slot="popover" {...props} />+}++function PopoverTrigger({+ ...props+}: React.ComponentProps<typeof PopoverPrimitive.Trigger>) {+ return <PopoverPrimitive.Trigger data-slot="popover-trigger" {...props} />+}++function PopoverContent({+ className,+ align = "center",+ sideOffset = 4,+ ...props+}: React.ComponentProps<typeof PopoverPrimitive.Content>) {+ return (+ <PopoverPrimitive.Portal>+ <PopoverPrimitive.Content+ data-slot="popover-content"+ align={align}+ sideOffset={sideOffset}+ className={cn(+ "z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",+ className+ )}+ {...props}+ />+ </PopoverPrimitive.Portal>+ )+}++function PopoverAnchor({+ ...props+}: React.ComponentProps<typeof PopoverPrimitive.Anchor>) {+ return <PopoverPrimitive.Anchor data-slot="popover-anchor" {...props} />+}++function PopoverHeader({ className, ...props }: React.ComponentProps<"div">) {+ return (+ <div+ data-slot="popover-header"+ className={cn("flex flex-col gap-0.5 text-sm", className)}+ {...props}+ />+ )+}++function PopoverTitle({ className, ...props }: React.ComponentProps<"h2">) {+ return (+ <div+ data-slot="popover-title"+ className={cn("font-medium", className)}+ {...props}+ />+ )+}++function PopoverDescription({+ className,+ ...props+}: React.ComponentProps<"p">) {+ return (+ <p+ data-slot="popover-description"+ className={cn("text-muted-foreground", className)}+ {...props}+ />+ )+}++export {+ Popover,+ PopoverAnchor,+ PopoverContent,+ PopoverDescription,+ PopoverHeader,+ PopoverTitle,+ PopoverTrigger,+}diff --git a/web/src/components/ui/radio-group.tsx b/web/src/components/ui/radio-group.tsxnew file mode 100644index 00000000..f597513d--- /dev/null+++ b/web/src/components/ui/radio-group.tsx@@ -0,0 +1,43 @@+"use client"++import * as React from "react"+import { cn } from "cn"+import { RadioGroup as RadioGroupPrimitive } from "radix-ui"++function RadioGroup({+ className,+ ...props+}: React.ComponentProps<typeof RadioGroupPrimitive.Root>) {+ return (+ <RadioGroupPrimitive.Root+ data-slot="radio-group"+ className={cn("grid w-full gap-2", className)}+ {...props}+ />+ )+}++function RadioGroupItem({+ className,+ ...props+}: React.ComponentProps<typeof RadioGroupPrimitive.Item>) {+ return (+ <RadioGroupPrimitive.Item+ data-slot="radio-group-item"+ className={cn(+ "group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full border border-input outline-none group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary dark:data-checked:bg-primary",+ className+ )}+ {...props}+ >+ <RadioGroupPrimitive.Indicator+ data-slot="radio-group-indicator"+ className="flex size-4 items-center justify-center"+ >+ <span className="absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full bg-primary-foreground" />+ </RadioGroupPrimitive.Indicator>+ </RadioGroupPrimitive.Item>+ )+}++export { RadioGroup, RadioGroupItem }diff --git a/web/src/components/ui/select.tsx b/web/src/components/ui/select.tsxnew file mode 100644index 00000000..cdd962b5--- /dev/null+++ b/web/src/components/ui/select.tsx@@ -0,0 +1,191 @@+"use client"++import * as React from "react"+import { cn } from "cn"+import { Select as SelectPrimitive } from "radix-ui"+import { ChevronDownIcon, CheckIcon, ChevronUpIcon } from "lucide-react"++function Select({+ ...props+}: React.ComponentProps<typeof SelectPrimitive.Root>) {+ return <SelectPrimitive.Root data-slot="select" {...props} />+}++function SelectGroup({+ className,+ ...props+}: React.ComponentProps<typeof SelectPrimitive.Group>) {+ return (+ <SelectPrimitive.Group+ data-slot="select-group"+ className={cn("scroll-my-1 p-1", className)}+ {...props}+ />+ )+}++function SelectValue({+ ...props+}: React.ComponentProps<typeof SelectPrimitive.Value>) {+ return <SelectPrimitive.Value data-slot="select-value" {...props} />+}++function SelectTrigger({+ className,+ size = "default",+ children,+ ...props+}: React.ComponentProps<typeof SelectPrimitive.Trigger> & {+ size?: "sm" | "default"+}) {+ return (+ <SelectPrimitive.Trigger+ data-slot="select-trigger"+ data-size={size}+ className={cn(+ "flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ className+ )}+ {...props}+ >+ {children}+ <SelectPrimitive.Icon asChild>+ <ChevronDownIcon className="pointer-events-none size-4 text-muted-foreground" />+ </SelectPrimitive.Icon>+ </SelectPrimitive.Trigger>+ )+}++function SelectContent({+ className,+ children,+ position = "item-aligned",+ align = "center",+ ...props+}: React.ComponentProps<typeof SelectPrimitive.Content>) {+ return (+ <SelectPrimitive.Portal>+ <SelectPrimitive.Content+ data-slot="select-content"+ data-align-trigger={position === "item-aligned"}+ className={cn("relative z-50 max-h-(--radix-select-content-available-height) min-w-36 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", position ==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className )}+ position={position}+ align={align}+ {...props}+ >+ <SelectScrollUpButton />+ <SelectPrimitive.Viewport+ data-position={position}+ className={cn(+ "data-[position=popper]:h-(--radix-select-trigger-height) data-[position=popper]:w-full data-[position=popper]:min-w-(--radix-select-trigger-width)",+ position === "popper" && ""+ )}+ >+ {children}+ </SelectPrimitive.Viewport>+ <SelectScrollDownButton />+ </SelectPrimitive.Content>+ </SelectPrimitive.Portal>+ )+}++function SelectLabel({+ className,+ ...props+}: React.ComponentProps<typeof SelectPrimitive.Label>) {+ return (+ <SelectPrimitive.Label+ data-slot="select-label"+ className={cn("px-1.5 py-1 text-xs text-muted-foreground", className)}+ {...props}+ />+ )+}++function SelectItem({+ className,+ children,+ ...props+}: React.ComponentProps<typeof SelectPrimitive.Item>) {+ return (+ <SelectPrimitive.Item+ data-slot="select-item"+ className={cn(+ "relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",+ className+ )}+ {...props}+ >+ <span className="pointer-events-none absolute right-2 flex size-4 items-center justify-center">+ <SelectPrimitive.ItemIndicator>+ <CheckIcon className="pointer-events-none" />+ </SelectPrimitive.ItemIndicator>+ </span>+ <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>+ </SelectPrimitive.Item>+ )+}++function SelectSeparator({+ className,+ ...props+}: React.ComponentProps<typeof SelectPrimitive.Separator>) {+ return (+ <SelectPrimitive.Separator+ data-slot="select-separator"+ className={cn("pointer-events-none -mx-1 my-1 h-px bg-border", className)}+ {...props}+ />+ )+}++function SelectScrollUpButton({+ className,+ ...props+}: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>) {+ return (+ <SelectPrimitive.ScrollUpButton+ data-slot="select-scroll-up-button"+ className={cn(+ "z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",+ className+ )}+ {...props}+ >+ <ChevronUpIcon+ />+ </SelectPrimitive.ScrollUpButton>+ )+}++function SelectScrollDownButton({+ className,+ ...props+}: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>) {+ return (+ <SelectPrimitive.ScrollDownButton+ data-slot="select-scroll-down-button"+ className={cn(+ "z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",+ className+ )}+ {...props}+ >+ <ChevronDownIcon+ />+ </SelectPrimitive.ScrollDownButton>+ )+}++export {+ Select,+ SelectContent,+ SelectGroup,+ SelectItem,+ SelectLabel,+ SelectScrollDownButton,+ SelectScrollUpButton,+ SelectSeparator,+ SelectTrigger,+ SelectValue,+}diff --git a/web/src/components/ui/separator.tsx b/web/src/components/ui/separator.tsxnew file mode 100644index 00000000..c340a954--- /dev/null+++ b/web/src/components/ui/separator.tsx@@ -0,0 +1,27 @@+"use client"++import * as React from "react"+import { cn } from "cn"+import { Separator as SeparatorPrimitive } from "radix-ui"++function Separator({+ className,+ orientation = "horizontal",+ decorative = true,+ ...props+}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {+ return (+ <SeparatorPrimitive.Root+ data-slot="separator"+ decorative={decorative}+ orientation={orientation}+ className={cn(+ "shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",+ className+ )}+ {...props}+ />+ )+}++export { Separator }diff --git a/web/src/components/ui/skeleton.tsx b/web/src/components/ui/skeleton.tsxnew file mode 100644index 00000000..b7f61b3a--- /dev/null+++ b/web/src/components/ui/skeleton.tsx@@ -0,0 +1,13 @@+import { cn } from "cn"++function Skeleton({ className, ...props }: React.ComponentProps<"div">) {+ return (+ <div+ data-slot="skeleton"+ className={cn("animate-pulse rounded-md bg-muted", className)}+ {...props}+ />+ )+}++export { Skeleton }diff --git a/web/src/components/ui/switch.tsx b/web/src/components/ui/switch.tsxnew file mode 100644index 00000000..408bc5dc--- /dev/null+++ b/web/src/components/ui/switch.tsx@@ -0,0 +1,30 @@+import * as React from "react"+import { cn } from "cn"+import { Switch as SwitchPrimitive } from "radix-ui"++function Switch({+ className,+ size = "default",+ ...props+}: React.ComponentProps<typeof SwitchPrimitive.Root> & {+ size?: "sm" | "default"+}) {+ return (+ <SwitchPrimitive.Root+ data-slot="switch"+ data-size={size}+ className={cn(+ "peer group/switch relative inline-flex shrink-0 items-center rounded-full border border-transparent transition-all outline-none group-has-[:focus-visible]/field-label:border-transparent group-has-[:focus-visible]/field-label:ring-0 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=default]:h-[18.4px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:bg-primary data-unchecked:bg-input dark:data-unchecked:bg-input/80 data-disabled:cursor-not-allowed data-disabled:opacity-50",+ className+ )}+ {...props}+ >+ <SwitchPrimitive.Thumb+ data-slot="switch-thumb"+ className="pointer-events-none block rounded-full bg-background ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] dark:data-checked:bg-primary-foreground group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0 dark:data-unchecked:bg-foreground"+ />+ </SwitchPrimitive.Root>+ )+}++export { Switch }diff --git a/web/src/components/ui/table.tsx b/web/src/components/ui/table.tsxnew file mode 100644index 00000000..3303320d--- /dev/null+++ b/web/src/components/ui/table.tsx@@ -0,0 +1,115 @@+"use client"++import * as React from "react"+import { cn } from "cn"++function Table({ className, ...props }: React.ComponentProps<"table">) {+ return (+ <div+ data-slot="table-container"+ className="relative w-full overflow-x-auto"+ >+ <table+ data-slot="table"+ className={cn("w-full caption-bottom text-sm", className)}+ {...props}+ />+ </div>+ )+}++function TableHeader({ className, ...props }: React.ComponentProps<"thead">) {+ return (+ <thead+ data-slot="table-header"+ className={cn("[&_tr]:border-b", className)}+ {...props}+ />+ )+}++function TableBody({ className, ...props }: React.ComponentProps<"tbody">) {+ return (+ <tbody+ data-slot="table-body"+ className={cn("[&_tr:last-child]:border-0", className)}+ {...props}+ />+ )+}++function TableFooter({ className, ...props }: React.ComponentProps<"tfoot">) {+ return (+ <tfoot+ data-slot="table-footer"+ className={cn(+ "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",+ className+ )}+ {...props}+ />+ )+}++function TableRow({ className, ...props }: React.ComponentProps<"tr">) {+ return (+ <tr+ data-slot="table-row"+ className={cn(+ "border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",+ className+ )}+ {...props}+ />+ )+}++function TableHead({ className, ...props }: React.ComponentProps<"th">) {+ return (+ <th+ data-slot="table-head"+ className={cn(+ "h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",+ className+ )}+ {...props}+ />+ )+}++function TableCell({ className, ...props }: React.ComponentProps<"td">) {+ return (+ <td+ data-slot="table-cell"+ className={cn(+ "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",+ className+ )}+ {...props}+ />+ )+}++function TableCaption({+ className,+ ...props+}: React.ComponentProps<"caption">) {+ return (+ <caption+ data-slot="table-caption"+ className={cn("mt-4 text-sm text-muted-foreground", className)}+ {...props}+ />+ )+}++export {+ Table,+ TableHeader,+ TableBody,+ TableFooter,+ TableHead,+ TableRow,+ TableCell,+ TableCaption,+}diff --git a/web/src/components/ui/tabs.tsx b/web/src/components/ui/tabs.tsxnew file mode 100644index 00000000..288efdd7--- /dev/null+++ b/web/src/components/ui/tabs.tsx@@ -0,0 +1,87 @@+import * as React from "react"+import { cva, type VariantProps } from "class-variance-authority"+import { cn } from "cn"+import { Tabs as TabsPrimitive } from "radix-ui"++function Tabs({+ className,+ orientation = "horizontal",+ ...props+}: React.ComponentProps<typeof TabsPrimitive.Root>) {+ return (+ <TabsPrimitive.Root+ data-slot="tabs"+ data-orientation={orientation}+ className={cn(+ "group/tabs flex gap-2 data-horizontal:flex-col",+ className+ )}+ {...props}+ />+ )+}++const tabsListVariants = cva(+ "group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-8 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none",+ {+ variants: {+ variant: {+ default: "bg-muted",+ line: "gap-1 bg-transparent",+ },+ },+ defaultVariants: {+ variant: "default",+ },+ }+)++function TabsList({+ className,+ variant = "default",+ ...props+}: React.ComponentProps<typeof TabsPrimitive.List> &+ VariantProps<typeof tabsListVariants>) {+ return (+ <TabsPrimitive.List+ data-slot="tabs-list"+ data-variant={variant}+ className={cn(tabsListVariants({ variant }), className)}+ {...props}+ />+ )+}++function TabsTrigger({+ className,+ ...props+}: React.ComponentProps<typeof TabsPrimitive.Trigger>) {+ return (+ <TabsPrimitive.Trigger+ data-slot="tabs-trigger"+ className={cn(+ "relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 dark:text-muted-foreground dark:hover:text-foreground group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent",+ "data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground",+ "after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100",+ className+ )}+ {...props}+ />+ )+}++function TabsContent({+ className,+ ...props+}: React.ComponentProps<typeof TabsPrimitive.Content>) {+ return (+ <TabsPrimitive.Content+ data-slot="tabs-content"+ className={cn("flex-1 text-sm outline-none", className)}+ {...props}+ />+ )+}++export { Tabs, TabsList, TabsTrigger, TabsContent, tabsListVariants }diff --git a/web/src/components/ui/textarea.tsx b/web/src/components/ui/textarea.tsxnew file mode 100644index 00000000..5141de79--- /dev/null+++ b/web/src/components/ui/textarea.tsx@@ -0,0 +1,17 @@+import * as React from "react"+import { cn } from "cn"++function Textarea({ className, ...props }: React.ComponentProps<"textarea">) {+ return (+ <textarea+ data-slot="textarea"+ className={cn(+ "flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",+ className+ )}+ {...props}+ />+ )+}++export { Textarea }diff --git a/web/src/components/ui/tooltip.tsx b/web/src/components/ui/tooltip.tsxnew file mode 100644index 00000000..443b7b71--- /dev/null+++ b/web/src/components/ui/tooltip.tsx@@ -0,0 +1,54 @@+import * as React from "react"+import { cn } from "cn"+import { Tooltip as TooltipPrimitive } from "radix-ui"++function TooltipProvider({+ delayDuration = 0,+ ...props+}: React.ComponentProps<typeof TooltipPrimitive.Provider>) {+ return (+ <TooltipPrimitive.Provider+ data-slot="tooltip-provider"+ delayDuration={delayDuration}+ {...props}+ />+ )+}++function Tooltip({+ ...props+}: React.ComponentProps<typeof TooltipPrimitive.Root>) {+ return <TooltipPrimitive.Root data-slot="tooltip" {...props} />+}++function TooltipTrigger({+ ...props+}: React.ComponentProps<typeof TooltipPrimitive.Trigger>) {+ return <TooltipPrimitive.Trigger data-slot="tooltip-trigger" {...props} />+}++function TooltipContent({+ className,+ sideOffset = 0,+ children,+ ...props+}: React.ComponentProps<typeof TooltipPrimitive.Content>) {+ return (+ <TooltipPrimitive.Portal>+ <TooltipPrimitive.Content+ data-slot="tooltip-content"+ sideOffset={sideOffset}+ className={cn(+ "z-50 inline-flex w-fit max-w-xs origin-(--radix-tooltip-content-transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",+ className+ )}+ {...props}+ >+ {children}+ <TooltipPrimitive.Arrow className="z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground" />+ </TooltipPrimitive.Content>+ </TooltipPrimitive.Portal>+ )+}++export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger }diff --git a/web/src/i18n/en.ts b/web/src/i18n/en.tsindex 67f15894..a06c3aec 100644--- a/web/src/i18n/en.ts+++ b/web/src/i18n/en.ts@@ -129,8 +129,7 @@ export const en = {/* 个人令牌页(0014 / 0016 A2):给 agent 的钥匙,以这个人的身份行事 */tokensNav: "Agents & tokens",tokensTitle: "Personal access tokens",- tokensHint:- "A token lets an agent reach Utopia over MCP as you, never with more than you can do yourself. Read-only by default, limited to the bases you pick, revocable here at any time.",+ tokensHint: "A token lets an agent reach Utopia over MCP as you, with no more access than you have. Read-only by default, limited to the bases you pick, revocable here.",newToken: "New token",tokenName: "Name",tokenNamePlaceholder: "My laptop",@@ -790,17 +789,6 @@ export const en = {editSaved: "Entity updated",editEmptyName: "Name cannot be empty",/* 同名不是错误——两个张伟可以并存。只提示,不阻断 */- sameNameNote: (n: number) =>- n === 1- ? "One other entity shares this name."- : `${n} other entities share this name.`,- sameNameHint: "If they are the same thing, merge them under Review.",- mergeInto: "Merge in",- mergeTitle: "Merge entities",- mergeIntoHint:- "Fold that entity into this one. Its facts move here; merges can be reverted.",- mergeConfirm: (from: string, into: string) =>- `Merge “${from}” into “${into}”? Its facts move here. You can revert this from Review.`,viewRelations: "Relations",viewTimeline: "Timeline",/* 第三视图:记录时间轴——不是"事情何时发生",而是"我们何时这么认为" */@@ -1131,10 +1119,7 @@ export const en = {rulesTitle: "Business rules",/* 说清三件事:谁写的、结论是什么身份、什么时候重算。第三件最容易被误解成「保存就生效」,而它其实等下一轮物化 */- rulesHint:- "A rule reads one entity's own attributes and concludes a class or a value. " +- "You write the criteria — the model never proposes one. " +- "What a rule concludes is derived: it never replaces an asserted fact, it carries the readings that made it true, and it retires by itself when they change.",+ rulesHint: "Rules that decide a class or compute a value from an entity's own attributes. A conclusion is derived and lapses when its premises do.",rulesEmpty: "No rules yet.",rulesNoMatch: "No rule matches that.",/** 搜的是整条规则,不只是名字——判据里的谓词和值也在里面 */@@ -1227,8 +1212,7 @@ export const en = {ruleCappedHint:"Some entities carry too many readings of the same attribute to expand every combination, so this rule's conclusions for them are incomplete.",refineTitle: "Refine types",- refineHint:- "Entities whose class is roughly right but not the most specific one available. Look first, then apply — retyping does not appear on any timeline, so this is the only place you get to see it before it happens.",+ refineHint: "Narrow entity types that came out broader than they should be.",refinePreview: "Look first",refineLooking: "Looking…",refineRun: "Run and apply",@@ -1344,8 +1328,7 @@ export const en = {/* ---- OWL / RDFS 导入 ---- */importShort: "Import",importTitle: "Import an ontology",- importHint:- "Load an OWL or RDFS file (.owl, .rdf, .ttl). Classes and properties are matched by IRI, so re-importing a newer version of the same vocabulary updates what it already created instead of duplicating it.",+ importHint: "Import an OWL or RDFS file (.owl, .rdf, .ttl). Classes and properties are matched by IRI, so importing a newer version of the same vocabulary updates what is already here.",importPick: "Choose file",importChange: "Choose another",importReading: "Reading…",@@ -1432,14 +1415,12 @@ export const en = {importSize: (bytes: number) =>bytes < 1024 ? `${bytes} B` : `${(bytes / 1024).toFixed(0)} KB`,misses: "Unmatched from extraction",- missesHint:- "The extractor produced these outside your ontology (they fell back to concept / related to). They are signals for extending the ontology.",+ missesHint: "Types and predicates the extractor produced outside the ontology, to judge what the ontology still lacks.",/* ---- 一端挂着两个以上开放值的谓词(#341) ----文案克制:状态一句话,后果一句话,动作在按钮上。这一档的读者要判断的是「这条关系一次只能有一个值吗」,不是读一篇关于双时态的说明 */uniqueness: "Overlapping values",- uniquenessHint:- "One holder, two values, neither closed. Until the relation says it holds one value at a time, a successor does not close a predecessor — and a question about any past date answers with both.",+ uniquenessHint: "Say which relations may hold only one value at a time, and a new value will end the old one on its own.",uniquenessEmpty: "No overlaps. Every holder has at most one open value.",/* 主语侧 / 宾语侧:说人话,不写 functional / inverse functional */uniquenessSubject: (n: number) =>@@ -1564,7 +1545,7 @@ export const en = {},mapping: {title: "Data mapping",- hint: "What business concepts point at in the database, and how they are computed. Ask only answers using confirmed definitions.",+ hint: "Which tables and columns each business concept points at, and how it is computed. Ask answers only from confirmed definitions.",tabDefinitions: "Definitions",tabSources: "Data sources",filterAll: "All",@@ -1946,7 +1927,9 @@ export const en = {"just wait for you to approve them.",materialize: "Materialize inferences",materializeNote:- "Write facts the ontology entails into the ledger — transitive chains and symmetric pairs. Off by default: a declaration can be wrong, and this one changes the graph. Derived facts are marked and can be taken back.",+ "Write facts the ontology entails into the ledger — transitive chains and symmetric pairs. " ++ "They are marked as derived and kept in their own section, so if the declaration behind " ++ "them turns out to be wrong, taking them back takes one click.",autoResolveTypes: "Resolve entity types after extraction",autoResolveTypesNote:"After each document is extracted, run a round of type resolution on entities the engine has not looked at yet. Only refinements within the current class are applied on their own — a re-classification across the tree still waits for you on the Ontology page. Every batch is listed there and can be undone.",diff --git a/web/src/i18n/zh.ts b/web/src/i18n/zh.tsindex 5a99b518..39d1f154 100644--- a/web/src/i18n/zh.ts+++ b/web/src/i18n/zh.ts@@ -117,8 +117,7 @@ export const zh: Strings = {kbSettingsBtn: "设置",tokensNav: "Agent 与令牌",tokensTitle: "个人访问令牌",- tokensHint:- "令牌让 agent 经 MCP 以你的身份使用 Utopia,权限永远不超过你自己。缺省只读,限定到你选的库,随时可在这里撤销。",+ tokensHint: "令牌让 agent 以你的身份通过 MCP 访问 Utopia,权限不超过你自己。默认只读,限定在你选的库,可随时在这里撤销。",newToken: "新令牌",tokenName: "名字",tokenNamePlaceholder: "我的笔记本",@@ -717,13 +716,6 @@ export const zh: Strings = {editCancel: "取消",editSaved: "实体已更新",editEmptyName: "名称不能为空",- sameNameNote: (n: number) => `另有 ${n} 个实体同名。`,- sameNameHint: "如果它们是同一个东西,去「审阅」里合并。",- mergeInto: "并入",- mergeTitle: "合并实体",- mergeIntoHint: "把那个实体并进这一个。它的事实搬过来;合并可以撤销。",- mergeConfirm: (from: string, into: string) =>- `把「${from}」并进「${into}」?它的事实会搬过来。可以在审阅页撤销。`,viewRelations: "关系",viewTimeline: "时间线",viewHistory: "记录历史",@@ -1013,9 +1005,7 @@ export const zh: Strings = {refineShort: "类型消解",rulesShort: "业务规则",rulesTitle: "业务规则",- rulesHint:- "一条规则读一个实体自己的属性,得出一个类或一个值。判据由你写下——模型不会提议。" +- "规则得出的结论是派生的:它不会盖掉断言,它带着让它成立的那几条读数,读数变了它自己退场。",+ rulesHint: "按实体自己的属性判定类别、或算出取值的规则。结论是派生的,依据没了就自动失效。",rulesEmpty: "还没有规则。",rulesNoMatch: "没有规则匹配。",ruleSearch: "搜索规则、属性、取值",@@ -1085,8 +1075,7 @@ export const zh: Strings = {ruleCappedHint:"有些实体同一属性的读数太多,组合展不完,这条规则在它们身上的结论是不完整的。",refineTitle: "类型消解",- refineHint:- "类挂得大致对、但本体里有更具体的那一个。先看一遍再落库——改类不进任何时间轴,这是唯一能在它发生之前看见它的地方。",+ refineHint: "人工收窄定得过宽的实体类型。",refinePreview: "先看一遍",refineLooking: "计算中…",refineRun: "跑一遍并落库",@@ -1194,8 +1183,7 @@ export const zh: Strings = {deleteBlocked: "在用中——无法删除",importShort: "导入",importTitle: "导入本体",- importHint:- "载入一个 OWL 或 RDFS 文件(.owl、.rdf、.ttl)。类与属性按 IRI 匹配,所以重新导入同一份词汇表的新版本,是更新它已建出来的东西,而不是再建一份。",+ importHint: "导入 OWL 或 RDFS 文件(.owl、.rdf、.ttl)。类与属性按 IRI 匹配,导入同一份词汇表的新版本会更新已有的,不会再进一份。",importPick: "选择文件",importChange: "换一个",importReading: "读取中…",@@ -1266,12 +1254,10 @@ export const zh: Strings = {importSize: (bytes: number) =>bytes < 1024 ? `${bytes} B` : `${(bytes / 1024).toFixed(0)} KB`,misses: "抽取中未匹配的",- missesHint:- "抽取器产出了这些,但它们不在你的本体里(于是降级成了 concept / related to)。它们是扩展本体的信号。",+ missesHint: "抽取时落在本体之外的类型和谓词,用来判断本体还缺什么。",/* 一端挂着两个以上开放值的谓词(#341):状态一句话,后果一句话,动作在按钮上 */uniqueness: "并存的取值",- uniquenessHint:- "同一个持有者挂着两个取值,都没有终点。除非这条关系声明了一次只能有一个值,接任就不会闭合前任——问任何一个过去的日期,两个都会答。",+ uniquenessHint: "标明哪些关系同时只能有一个值,之后新值会自动结束旧值。",uniquenessEmpty: "没有并存:每个持有者至多一个开放取值。",uniquenessSubject: (n: number) => `${n} 个主语挂着两个以上开放取值`,uniquenessObject: (n: number) => `${n} 个取值被两个以上主语挂着`,@@ -1357,7 +1343,7 @@ export const zh: Strings = {},mapping: {title: "数据映射",- hint: "业务概念在数据库里对应什么、怎么算。问数只按确认过的口径回答。",+ hint: "每个业务概念对应库里的哪张表、哪一列,以及怎么算。对话只用已确认的定义作答。",tabDefinitions: "口径",tabSources: "数据源",filterAll: "全部",@@ -1693,7 +1679,7 @@ export const zh: Strings = {"那些说法仍然会汇集到「未匹配」下,只是要等你点头。",materialize: "物化推理",materializeNote:- "把本体蕴含的事实写进账本——传递链与对称对。默认关:声明可能是错的,而这一步会改图。派生事实带标记,也随时可以撤回。",+ "把本体蕴含的事实写进账本——传递链与对称对。它们带派生标记、单列一段,背后的声明要是错了,撤掉只要一下。",autoResolveTypes: "抽取后自动消解实体类型",autoResolveTypesNote:"每篇文档抽完,对引擎还没看过的实体跑一轮类型消解。只有在现类子树里精化的才自动落地,跨轴的改判仍留在本体页等你。每一批都列在本体页,随时可以撤回。",diff --git a/web/src/lib/utils.ts b/web/src/lib/utils.tsnew file mode 100644index 00000000..f815ded4--- /dev/null+++ b/web/src/lib/utils.ts@@ -0,0 +1 @@+export { cn } from "cn"diff --git a/web/src/liveAnswer.ts b/web/src/liveAnswer.tsindex fea8c3f7..c6071f91 100644--- a/web/src/liveAnswer.ts+++ b/web/src/liveAnswer.ts@@ -49,11 +49,39 @@ const listeners = new Set<() => void>();// 变更都不该改变这一场的画面**,这条旧注释在键控之后才字面成立。let snapshot: readonly Live[] = [];-function emit() {+/* 通知**按帧合并**。一次生成里词元是一个一个来的,每个都通知一次,React 就+ 一个词元渲染一遍;答案长到几千字之后,渲染跟不上词元,画面看着是一顿一顿地+ 往外蹦字。33ms 一次(30 次/秒)对读字来说绰绰有余,而渲染次数降了一个量级。++ 用 setTimeout 不用 requestAnimationFrame:标签页切到后台时 rAF 会停,+ 而这个 store 明确支持"切走再切回来"——停了就得等回到前台才结算。++ 结构性的改动(开始、结束、认领到真 id)走 `flush`,立刻通知:它们不是+ 连续来的,也不该等下一帧。 */+const NOTIFY_MS = 33;+let pending: ReturnType<typeof setTimeout> | null = null;++function notify() {snapshot = [...lives.values()].map((s) => s.live);listeners.forEach((l) => l());}+function emit() {+ if (pending) return;+ pending = setTimeout(() => {+ pending = null;+ notify();+ }, NOTIFY_MS);+}++function flush() {+ if (pending) {+ clearTimeout(pending);+ pending = null;+ }+ notify();+}+// 还没拿到 id 的新会话用内部 token 占位;identify 到真 id 时重映射let pendingSeq = 0;@@ -105,7 +133,7 @@ export const liveAnswer = {let key = conversationId ?? `__pending__${++pendingSeq}`;const slot: Slot = { live: { kbId, conversationId, turns, streaming: true }, abort };lives.set(key, slot);- emit();+ flush();return {identify: (id: string) => {const current = lives.get(key);@@ -114,7 +142,7 @@ export const liveAnswer = {key = id;current.live = { ...current.live, conversationId: id };lives.set(key, current);- emit();+ flush();},patchLast: (f) => {const current = lives.get(key);@@ -128,7 +156,7 @@ export const liveAnswer = {const current = lives.get(key);if (!current || !current.live.streaming) return;current.live = { ...current.live, streaming: false };- emit();+ flush();},setAbort: (a) => {const current = lives.get(key);@@ -142,7 +170,7 @@ export const liveAnswer = {if (s.live.kbId === kbId && s.live.conversationId === conversationId) {s.abort();s.live = { ...s.live, streaming: false };- emit();+ flush();return;}}diff --git a/web/src/pages/AccountShell.tsx b/web/src/pages/AccountShell.tsxindex e6c0f61d..07dc2d08 100644--- a/web/src/pages/AccountShell.tsx+++ b/web/src/pages/AccountShell.tsx@@ -52,8 +52,8 @@ export function AccountShell() {<div className="h-screen flex flex-col overflow-hidden u-arrive">{/* 顶栏与 Docs 页同构:分区字标(点击回城)+ 返回 + GitHub·版本 + 用户 */}{/* px-8 与 App 顶栏同一个内距:右上那一组换页时不该动 */}- <header className="glass-strong relative z-40 border-x-0 border-t-0 h-14 shrink-0 flex items-center px-8">- <SectionMark text={S.account.brand} title={S.docs.backTitle} />+ <header className="glass-strong relative z-40 border-x-0 border-t-0 h-12 shrink-0 flex items-center px-2">+ <SectionMark className="pl-3" text={S.account.brand} title={S.docs.backTitle} /><HeaderActionslink={{ to: "/", label: S.account.backToApp }}version={health.data?.version}diff --git a/web/src/pages/AlertBell.tsx b/web/src/pages/AlertBell.tsxindex 1cef16a6..4f7de17d 100644--- a/web/src/pages/AlertBell.tsx+++ b/web/src/pages/AlertBell.tsx@@ -5,11 +5,16 @@//// 一条告警 = 一次故障,写完不再变,没有"已解决"。// 「已读」逐人——一个人读过不代表别人也该从未读里消失。-import { type Ref, useEffect, useState } from "react";+import { useEffect, useState } from "react";import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";-import { Bell, ChevronDown } from "lucide-react";+import { Bell } from "lucide-react";import { api, type AlertGroup } from "../api";+import {+ Popover,+ PopoverContent,+ PopoverTrigger,+} from "@/components/ui/popover";import { S } from "../i18n";import { toast } from "../toast";import {@@ -21,8 +26,7 @@ import {Input,LinkButton,Pager,-} from "../ui";-import { usePopoverFlip } from "../ui/popoverFlip";+ localDateTime,} from "../ui";const PAGE = 8;@@ -44,12 +48,6 @@ const SEVERITY_TONE: Record<string, ChipTone> = {warning: "warn",info: "info",};-/** 未读的那个点:**有没有点说的是读没读过,什么颜色说的是多重** */-const SEVERITY_DOT: Record<string, string> = {- error: "bg-danger",- warning: "bg-warn",- info: "bg-accent",-};function AlertRow({g,@@ -86,24 +84,25 @@ function AlertRow({onKeyDown={(e) => {if (e.key === "Enter" && g.unread > 0) onRead(g);}}- className="u-row-shell relative w-full cursor-pointer border-b border-line px-4 py-3 text-left last:border-b-0"+ className={cn(+ "u-row-shell relative w-full cursor-pointer border-b border-line px-4 py-3 text-left last:border-b-0",+ // 读过的整条退一档:标题、库名、时间、明细一起暗下去,扫一眼就知道+ // 哪几条还没看。悬停照常+ g.unread === 0 && "opacity-65",+ )}>- {/* 未读就是一个红点。整行描边或底色会让面板在告警多时变成一片红,- 而红点只占它该占的那一点地方,读过就没了。- **点在内距里,不占文字那一列**:排在文字左边的话,每条告警的正文- 就比面板标题和上面那道查找往右缩 18px,一张面板里三种左缘 */}- <span- className={cn(- "absolute left-1.5 top-5 h-1.5 w-1.5 rounded-full",- g.unread > 0 ? (SEVERITY_DOT[g.severity] ?? "bg-danger") : "bg-transparent",- )}- />+ {/* **读没读过靠整条的明暗,不靠一个点。**从前未读是左边一颗色点,它只能+ 塞进内距里(排进文字那一列的话,正文会比面板标题和查找框往右缩 18px,+ 一张面板三种左缘),结果是紧贴着左边框,看着像掉在外面。+ 现在未读的标题是正文色加中等字重,读过的整条退到次级色——一眼扫下去,+ 亮的是还没看的。严重程度由右边那个计数 chip 的颜色说,不必再来一个点。 */}<div className="min-w-0">- {/* 标题行只放标题和次数。标题一直是正文色:读过只是不再加粗——- 淡下去那一档现在与提示、明细同色,一条读过的告警整条糊成一片 */}<div className="flex items-center gap-2"><span- className={cn("min-w-0 flex-1 text-body text-ink", g.unread > 0 && "font-medium")}+ className={cn(+ "min-w-0 flex-1 text-body",+ g.unread > 0 ? "font-medium text-ink" : "text-ink-2",+ )}>{worded?.title ?? S.alerts.unknownKind(g.kind)}</span>@@ -121,7 +120,7 @@ function AlertRow({</Chip>{/* 取组里最新的那一次 */}<span className="u-num ml-auto shrink-0 text-fine text-ink-2">- {new Date(g.latest_at).toLocaleString()}+ {localDateTime(g.latest_at)}</span></div>{worded && (@@ -162,7 +161,7 @@ function AlertRow({);}-function Panel({ panelRef, onClose }: { panelRef: Ref<HTMLDivElement>; onClose: () => void }) {+function Panel() {const [q, setQ] = useState("");const [page, setPage] = useState(0);const qc = useQueryClient();@@ -209,29 +208,19 @@ function Panel({ panelRef, onClose }: { panelRef: Ref<HTMLDivElement>; onClose:const total = list.data?.total ?? 0;return (- // top-0 而不是 top-9:面板要从铃铛**原位**长出来,右上角对齐- <div- ref={panelRef}- className="u-menu-glass absolute right-0 top-0 w-[420px] rounded-overlay u-lift-strong z-50 overflow-hidden"- >- {/* 第一行就是关掉这张面板——同库切换器:面板从铃铛原位长出来,- 右端那个朝上的三角正落在铃铛上,"再点一下缩回去"。- 从前这里是一个浮在角上的关闭叉,它得跟发丝边框对齐,永远差半像素 */}- <div- onClick={onClose}- className="u-row-shell flex cursor-pointer items-center gap-3 border-b border-line px-4 py-3"- >- {/* 与库切换器的第一行同构:图标 + 名字 + 朝上的三角。图标是铃铛本身- ——这一行就是那个铃铛长出来的样子 */}+ <>+ {/* 标题行。**不再兼任关闭键**:从前面板是从铃铛原位长出来的,第一行压着+ 铃铛,点它就缩回去;换成标准弹层之后关闭归 Esc、外点与铃铛本身,+ 这一行只说这是什么 */}+ <div className="flex items-center gap-3 border-b border-line px-4 py-3"><Bell size={15} strokeWidth={1.8} className="shrink-0 text-ink-2" /><span className="min-w-0 flex-1 truncate text-body font-medium text-ink">{S.alerts.title}</span>- <ChevronDown size={12} className="shrink-0 rotate-180 text-ink-2" /></div>{/* 查找与库切换器同一副样子:没有自己的框(bare),它是面板的一段,- 不是面板里摆的一个控件;Esc 由 popoverFlip 统一关面板 */}+ 不是面板里摆的一个控件;Esc 与外点由 Popover 统一管 */}<div className="border-b border-line px-4 py-3"><Inputbare@@ -286,14 +275,12 @@ function Panel({ panelRef, onClose }: { panelRef: Ref<HTMLDivElement>; onClose:/></div>)}- </div>+ </>);}export function AlertBell() {- // 跟用户菜单同一份原地变形:两个面板紧挨着,动画差一点点来回点两下就看得出来- const { open, setOpen, close, rootRef, anchorRef, panelRef } =- usePopoverFlip<HTMLButtonElement, HTMLDivElement>();+ const [open, setOpen] = useState(false);const unread = useQuery({queryKey: ["alerts", "unread"],queryFn: () => api.alertsUnread(),@@ -303,24 +290,20 @@ export function AlertBell() {const n = unread.data?.unread ?? 0;return (- <div ref={rootRef} className="relative">- <IconButton- size="md"- ref={anchorRef}- label={S.alerts.badgeLabel}- aria-expanded={open}- className={cn("relative", open && "bg-surface-2 text-ink")}- onClick={() => (open ? close() : setOpen(true))}- >+ <Popover open={open} onOpenChange={setOpen}>+ <PopoverTrigger asChild>+ <IconButton size="md" label={S.alerts.badgeLabel} className="relative"><Bell size={15} />{/* 角标也是个点,不是数字。"有事没看"是二元的,具体几条打开就知道;数字还会随重试一路往上跳,跳到三位数就把铃铛撑变形了 */}{n > 0 && (<span className="absolute top-1 right-1 h-1.5 w-1.5 rounded-full bg-danger" />)}- </IconButton>- {/* 关掉的入口在面板第一行(那儿正好压着铃铛),不再是浮在角上的一个叉 */}- {open && <Panel panelRef={panelRef} onClose={close} />}- </div>+ </IconButton>+ </PopoverTrigger>+ <PopoverContent align="end" className="w-[420px] overflow-hidden p-0">+ <Panel />+ </PopoverContent>+ </Popover>);}diff --git a/web/src/pages/Chat.tsx b/web/src/pages/Chat.tsxindex adb8a611..41bf9bb4 100644--- a/web/src/pages/Chat.tsx+++ b/web/src/pages/Chat.tsx@@ -1,7 +1,7 @@/* Chat:agentic 对话(检索/图谱工具 + remember 记忆)。会话持久化:左栏会话列表;上下文由服务端拼,前端只发 conversation_id + 新消息;行动轨迹(steps)与引用(sources)随消息落库,历史回放与实时流共用渲染。 */-import { useEffect, useRef, useState, useSyncExternalStore } from "react";+import { memo, useEffect, useRef, useState, useSyncExternalStore } from "react";import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";import { Link, useNavigate, useParams } from "@tanstack/react-router";import Markdown from "react-markdown";@@ -26,7 +26,6 @@ import {Waypoints,Wrench,} from "lucide-react";-import { ThinkingOrb, type OrbState } from "thinking-orbs";import {api,conversationsApi,@@ -37,6 +36,12 @@ import {} from "../api";import { S } from "../i18n";import { toast } from "../toast";+import {+ DropdownMenu,+ DropdownMenuContent,+ DropdownMenuItem,+ DropdownMenuTrigger,+} from "@/components/ui/dropdown-menu";import { useKb, useKbId } from "../kb";import {Button,@@ -113,7 +118,6 @@ export function Chat() {// 会话搜索。**搜标题也搜正文**——人记得住的往往是问过的那句话const [convSearch, setConvSearch] = useState("");// 三点菜单展开的是哪一条。同时只开一个- const [menuFor, setMenuFor] = useState<string | null>(null);// 「最近」这一组收起来没有。默认展开:左栏本来就是为了看见这些会话const [recentOpen, setRecentOpen] = useState(true);const scopeRef = useRef<HTMLDivElement>(null);@@ -397,12 +401,15 @@ export function Chat() {<div className="flex items-center gap-3 min-w-0">{/* 作用域 chip:提问点位可见"在问哪个库",切库沿用现有语义(开新会话) */}<div ref={scopeRef} className="relative shrink-0">- {/* 左内距去掉:图标的左缘落在上面占位符的起点上,与顶栏切换器同一个- 图标——两处都是「在哪个库」 */}+ {/* 图标的左缘要落在上面占位符的起点上(与顶栏切换器同一个图标——+ 两处都是「在哪个库」)。**做法是整颗按钮左挂一档,不是把内距抹掉**:+ 抹掉内距,图标就贴死在按钮的边上,指针一停,底色紧紧箍着图标,+ 左边没有一点余地。挂出去则内距照留——图标落在同一个位置,+ 而那块底色在它四周是匀的。挂多少就给多少内距(都是 8)。 */}<Buttonvariant="ghost"size="sm"- className="max-w-52 border-0 pl-0"+ className="max-w-52 border-0 px-2 -ml-2"title={S.ask.scopeLabel}onClick={() => setScopeOpen((v) => !v)}>@@ -555,68 +562,52 @@ export function Chat() {</span></Row>)}- {/* 三点菜单:**一个入口装下所有动作**。从前右边直接是删除,- 而删除是这里最不该一步到位的那个 */}+ {/* 三点菜单:**一个入口装下所有动作**(从前右边直接是删除,+ 而删除是这里最不该一步到位的那个)。走 shadcn 的+ DropdownMenu:弹层样式与全站统一,触发器由 Radix 自动带上+ `aria-haspopup`——按钮的"按下去沉 1px"那条特意排除了菜单+ 触发器,手搓的入口没有这个标记,所以从前一点就跳。 */}{renamingId !== c.id && (- <IconButton- size="sm"- label={S.ask.moreActions}- className={cn(REVEAL, "absolute right-1 top-1/2 -translate-y-1/2")}- onClick={() => setMenuFor(menuFor === c.id ? null : c.id)}- >- <MoreHorizontal size={14} />- </IconButton>- )}- {menuFor === c.id && (- <>- {/* 点别处就关。铺满全屏而不是监听 document:不必在卸载时- 记得摘监听器 */}- <div- className="fixed inset-0 z-10"- onClick={() => setMenuFor(null)}- />- <div className="glass-strong absolute right-2 top-8 z-20 w-32 rounded-overlay py-1 u-lift-strong">- <Row- density="menu"- onClick={() => {+ <DropdownMenu>+ <DropdownMenuTrigger asChild>+ <IconButton+ size="sm"+ label={S.ask.moreActions}+ className={cn(REVEAL, "absolute right-1 top-1/2 -translate-y-1/2")}+ onClick={(e) => e.stopPropagation()}+ >+ <MoreHorizontal size={14} />+ </IconButton>+ </DropdownMenuTrigger>+ <DropdownMenuContent align="end" className="w-40">+ <DropdownMenuItem+ onSelect={() => {setRenameDraft(c.title || "");setRenamingId(c.id);- setMenuFor(null);}}>{S.ask.rename}- </Row>- <Row- density="menu"- onClick={() => {- navigator.clipboard?.writeText(c.title || "");- setMenuFor(null);- }}+ </DropdownMenuItem>+ <DropdownMenuItem+ onSelect={() => navigator.clipboard?.writeText(c.title || "")}>{S.ask.copyTitle}- </Row>- <Row- density="menu"- danger- onClick={() => {- setPendingDelete(c);- setMenuFor(null);- }}+ </DropdownMenuItem>+ <DropdownMenuItem+ variant="destructive"+ onSelect={() => setPendingDelete(c)}>{S.ask.deleteConversation}- </Row>- </div>- </>+ </DropdownMenuItem>+ </DropdownMenuContent>+ </DropdownMenu>)}</div>))}- {/* 文字从 20 起(盒 12 + 8),与上面每条会话的标题同一条线 */}+ {/* 文字从 20 起:栏的 px-2(8)加行自己的 px-3(12),与「最近」和+ 上面每条会话的标题同一条线。写成 px-2 就落在 16,差那 4px 一眼看得出 */}{convs.data?.conversations.length === 0 && (- /* 34 = 行内距 12 + 图标 14 + 间距 8:这句话与上面每一条会话的- 标题同一条竖线,而不是自己另起一列 */- <p className="py-2 pl-[34px] pr-3 text-small text-ink-2">- {S.ask.noConversations}- </p>+ <p className="px-3 py-2 text-small text-ink-2">{S.ask.noConversations}</p>)}</div>)}@@ -646,7 +637,7 @@ export function Chat() {</div>) : (<>- <div className="flex-1 overflow-y-auto u-scroll px-4 py-6">+ <div className="flex-1 overflow-y-auto u-scroll u-chat-fade px-4 pt-6 pb-12"><div className="max-w-3xl mx-auto space-y-4">{shown.map((t, i) => (<TurnView key={i} turn={t} live={streaming && i === shown.length - 1} />@@ -732,26 +723,34 @@ function stepIcon(kind: ChatStep["kind"]) {}/** 工具步骤 → 球体状态:思考球讲当前动作的语言 */-function orbState(kind?: ChatStep["kind"]): OrbState {- if (kind === "search" || kind === "docs") return "searching";- if (kind === "entity" || kind === "neighbors" || kind === "path")- return "connecting";- if (kind === "facts" || kind === "timeline" || kind === "changes")- return "solving";- if (kind === "query" || kind === "tool") return "working";- return "listening"; // 尚无步骤:刚接到消息-}+/** 一段 markdown。**按文本记忆化**:一次生成里每来一个词元,整条消息都要重渲染,+ * 而 react-markdown 每次都把那一段从头解析一遍——答案越长每个词元越贵,读起来+ * 就是越写越顿。收了尾的段落文本不再变,`memo` 让它们一次也不重解析;+ * 还在长的那一段照旧,它本来就得重解析。 */+const Segment = memo(function Segment({ text }: { text: string }) {+ return (+ <div className="u-chat-prose">+ <Markdown remarkPlugins={[remarkGfm]} rehypePlugins={[rehypeHighlight]}>+ {text}+ </Markdown>+ </div>+ );+});-/** 思考指示:thinking-orbs 球体 + 当前动作(应用是深色定妆,theme 钉死 dark)。 */+/** 思考指示:**正在做的那句话自己在发光**。+ *+ * 这里换过两轮。最早是 `thinking-orbs` 的球体,跟这套界面不是一路——chrome 是+ * 零色偏的中性灰,花样留给画布,而那颗球自带一套发光点阵,`theme` 还写死成暗色。+ * 换成房里的转圈之后问题只剩一半:在做什么本来就由那行字说了+ * (「检索文档 · 3 篇」),旁边再转一个零件,等于同一件事说两遍,而且转圈说的是+ * 「有个东西在忙」,跟屏幕上这句话没关系。+ *+ * 现在没有零件:亮带横扫过那行字。它既是「还在动」,也是「动的是这句话」。+ * 还没有步骤可说的时候就扫「Thinking…」——那也是一句话,不是一个图标。 */function Thinking({ step }: { step?: ChatStep }) {return (- <span className="inline-flex items-center gap-3 text-ink-2">- <ThinkingOrb state={orbState(step?.kind)} size={20} theme="dark" />- {step && (- <span className="text-small truncate">- {step.label} · {step.detail}- </span>- )}+ <span className="u-thinking text-small truncate">+ {step ? `${step.label} · ${step.detail}` : S.ask.thinking}</span>);}@@ -807,11 +806,10 @@ function TurnView({ turn, live }: { turn: Turn; live?: boolean }) {流式中经 remend 修补未闭合语法(粗体/围栏/链接),rehype-highlight 做代码高亮——成熟件组装,观感自持。**只有还在长的那一段需要 remend**:先前的段落已经收尾了 */- <div key={i} className="u-chat-prose">- <Markdown remarkPlugins={[remarkGfm]} rehypePlugins={[rehypeHighlight]}>- {live && seg.last ? remend(seg.text) : seg.text}- </Markdown>- </div>+ <Segment+ key={i}+ text={live && seg.last ? remend(seg.text) : seg.text}+ />),)}{thinking && <Thinking step={lastStep} />}diff --git a/web/src/pages/Docs.tsx b/web/src/pages/Docs.tsxindex 7d959a19..6810ba76 100644--- a/web/src/pages/Docs.tsx+++ b/web/src/pages/Docs.tsx@@ -15,7 +15,7 @@ import {Row,rowClass,SectionMark,-} from "../ui";+ buttonLike,} from "../ui";import { HeaderActions } from "./HeaderActions";import { usePageTitle } from "../useTitle";import ingestMd from "../docs/ingest.md?raw";@@ -177,8 +177,8 @@ export function DocsPage() {return (<div className="h-screen flex flex-col overflow-hidden">- <header className="glass-strong relative z-40 border-x-0 border-t-0 h-14 shrink-0 flex items-center px-8">- <SectionMark text={S.docs.brand} title={S.docs.backTitle} />+ <header className="glass-strong relative z-40 border-x-0 border-t-0 h-12 shrink-0 flex items-center px-2">+ <SectionMark className="pl-3" text={S.docs.brand} title={S.docs.backTitle} />{/* 居中搜索:检索打包在本地的全部文档;宽度对齐正文栏(max-w-3xl 去掉 px-8) */}<divref={searchRef}@@ -236,7 +236,7 @@ export function DocsPage() {user={me.data}signedOut={me.isError ? (- <Link to="/login" className="u-btn u-btn-ghost px-3 py-2 text-small">+ <Link to="/login" className={buttonLike("ghost")}>{S.login.signIn}</Link>) : null@@ -267,9 +267,10 @@ export function DocsPage() {{/* 上下都留足空白:标题不顶着头,末段内容能滚到屏幕中部——人读屏幕中间。排版交给官方 @tailwindcss/typography(prose,16px 基准),自定义只剩:标题锚点 id、外链新开、表格横向滚动容器 */}- {/* 颜色走 `.u-doc-prose`(styles.css):插件的 neutral 灰阶带蓝相、- invert 变体是写死的暗色,两个都不用,接令牌 */}- <article className="prose u-doc-prose prose-headings:scroll-mt-6 prose-code:before:content-none prose-code:after:content-none flex-1 min-w-0 max-w-3xl mx-auto px-8 pt-16 pb-[40vh]">+ {/* 排版走官方的 shadcn/typeset(src/typeset.css):容器里的+ 标题、列表、表格、代码全由它管,内容本身不带一个类;+ 字号与字体在 `.typeset-docs` 那个预设里调,颜色接我们的令牌 */}+ <article className="typeset typeset-docs [&_h1]:scroll-mt-6 [&_h2]:scroll-mt-6 [&_h3]:scroll-mt-6 flex-1 min-w-0 max-w-3xl mx-auto px-8 pt-16 pb-[40vh]"><ReactMarkdownremarkPlugins={[remarkGfm]}components={{diff --git a/web/src/pages/Graph.tsx b/web/src/pages/Graph.tsxindex 9c8e6607..93a0d340 100644--- a/web/src/pages/Graph.tsx+++ b/web/src/pages/Graph.tsx@@ -64,7 +64,6 @@ import { NextStep, nextStep, useReadiness } from "./NextStep";import {ArrowLeft,ArrowRight,- ChevronDown,ChevronRight,CircleDashed,ExternalLink,@@ -96,7 +95,6 @@ import { predicateSentence } from "../predicateText";import {Button,CanvasLoading,- DangerConfirm,ExpandCard,HOVER_ROW,IconButton,@@ -112,8 +110,13 @@ import {ToolTower,cn,GroupLabel,-} from "../ui";-import { usePopoverFlip } from "../ui/popoverFlip";+ chipLike,+ Chip,} from "../ui";+import {+ Popover,+ PopoverContent,+ PopoverTrigger,+} from "@/components/ui/popover";import { useKb, useKbId } from "../kb";import { toast } from "../toast";@@ -263,16 +266,11 @@ export function Graph() {// 推出来的边显不显示。默认显示——推理默认关着,有派生就意味着用户开过开关const [showDerived, setShowDerived] = useState(true);// 信息窗默认收起:它答的是「什么时候推的」,那是偶尔才问的问题- /* Inference 也用原地展开,与「+N 个类」、通知、用户菜单同一套。- **贴左下角**:塔在画布左下,面板要从那个 ⋯ 按钮往右上长开 */- const derivedPop = usePopoverFlip<HTMLButtonElement, HTMLDivElement>(- "bottom left",- );- /* 「+N 个类」用与通知/用户卡片同一套原地展开:面板压到 chip 的真实边界- (圆角 999px)再长成卡片。**贴左边,所以锚点角是 top left** */- const legendPop = usePopoverFlip<HTMLButtonElement, HTMLDivElement>(- "top left",- );+ /* 画布上的两块浮层(Inference、「+N 个类」)与顶栏那三个面板同一副:+ shadcn 的 Popover。从前是手写的原地展开,面板第一行还要把触发它的那个+ 胶囊再画一遍当关闭键;统一之后关闭归 Esc、外点与触发器本身 */+ const [derivedOpen, setDerivedOpen] = useState(false);+ const [legendOpen, setLegendOpen] = useState(false);const [legendQ, setLegendQ] = useState("");/* 正在退场的实体。**面板不能一取消选中就卸载**——那样它是瞬间消失的。先留在原地演完退场,再真的移除。用 selectedRef 取当前值而不是把@@ -1358,16 +1356,9 @@ export function Graph() {点开看到的就是全部(搜得到任何一个),写「+3」等于承诺了另一件事 */}{legendRest.length > 0 && (- <div className="relative" ref={legendPop.rootRef}>- <Pill- ref={legendPop.anchorRef}- active={legendPop.open}- title={S.graph.legendAllHint}- aria-expanded={legendPop.open}- onClick={() =>- legendPop.open ? legendPop.close() : legendPop.setOpen(true)- }- >+ <Popover open={legendOpen} onOpenChange={setLegendOpen}>+ <PopoverTrigger asChild>+ <Pill active={legendOpen} title={S.graph.legendAllHint}>{S.graph.legendMore(types.length)}{/* 收起来的类里有正被隐藏的就点一下。**不点就是无声过滤**:在面板里关掉一个类、把面板一收,界面上再没有任何东西说它被关了 */}@@ -1375,25 +1366,13 @@ export function Graph() {<span className="h-1.5 w-1.5 rounded-full bg-ink-2" />)}</Pill>- {legendPop.open && (- <div- ref={legendPop.panelRef}- className="u-menu-glass absolute left-0 top-0 z-50 w-72 overflow-hidden rounded-overlay u-lift-strong"- >- {/* 与库切换器、告警面板、用户菜单同一副解剖:第一行是触发它的- 那个胶囊自己,三角翻上去,点它缩回;没有浮在角上的关闭叉- ——「哪儿展开的就从哪儿收回去」 */}- <div- onClick={() => legendPop.close()}- className="u-row-shell flex cursor-pointer items-center gap-3 border-b border-line px-4 py-3"- >+ </PopoverTrigger>+ <PopoverContent align="start" className="w-72 overflow-hidden p-0">+ {/* 标题行只说这是什么,不再兼任关闭键 */}+ <div className="flex items-center gap-3 border-b border-line px-4 py-3"><span className="min-w-0 flex-1 truncate text-body font-medium text-ink">{S.graph.legendMore(types.length)}</span>- <ChevronDown- size={12}- className="shrink-0 rotate-180 text-ink-2"- /></div>{/* 全开 / 全关。**从顶栏那枚独立胶囊搬进来的**:它只在有隐藏时才出现,于是那一排的宽度会随着你点类跳来跳去;而它要做的事@@ -1505,9 +1484,8 @@ export function Graph() {</div>)}</div>- </div>- )}- </div>+ </PopoverContent>+ </Popover>)}</div>@@ -1614,10 +1592,9 @@ export function Graph() {「显不显示推出来的边」正是同一族问题。外壳保持中性,金色只出现在图标本身——与色点用在类胶囊上是同一个做法。 */}{derivedCount > 0 && (- /* **两层**:外层只负责定位,内层才有 overflow-hidden。- 那个类是给按钮堆裁圆角的,可面板是同一个盒子的子元素——- 合成一层的话面板会被一起裁掉,实测只剩塔本身那 32px 宽 */- <div className="relative" ref={derivedPop.rootRef}>+ /* 面板现在走 Popover(Portal 到 body),不再是塔的子元素,+ 所以外层这一圈只是为了跟下一座塔隔开 */+ <div className="relative"><ToolTower><ToolButtonrole="switch"@@ -1635,29 +1612,25 @@ export function Graph() {{/* 展开成一个小窗:这批边是什么时候推的、现在还推不推、手动再跑一次。**与开关分成两个按钮**——「藏起来」是每天要点的,「什么时候推的」是偶尔才问的,合成一个会让常用动作多一步 */}- <ToolButton- ref={derivedPop.anchorRef}- aria-expanded={derivedPop.open}- active={derivedPop.open}- label={S.graph.derivedPanel}- icon={- <span className="grid h-4 w-4 shrink-0 place-items-center leading-none">- ⋯- </span>- }- onClick={() =>- derivedPop.open ? derivedPop.close() : derivedPop.setOpen(true)- }- />+ <Popover open={derivedOpen} onOpenChange={setDerivedOpen}>+ <PopoverTrigger asChild>+ <ToolButton+ active={derivedOpen}+ label={S.graph.derivedPanel}+ icon={+ <span className="grid h-4 w-4 shrink-0 place-items-center leading-none">+ ⋯+ </span>+ }+ />+ </PopoverTrigger>+ {kb && (+ <PopoverContent side="right" align="end" className="w-72 p-0">+ <DerivedPanel kbId={kb.id} count={derivedCount} />+ </PopoverContent>+ )}+ </Popover></ToolTower>- {derivedPop.open && kb && (- <DerivedPanel- panelRef={derivedPop.panelRef}- kbId={kb.id}- count={derivedCount}- onClose={() => derivedPop.close()}- />- )}</div>)}<ToolTower>@@ -1774,6 +1747,12 @@ export function Graph() {/* ============ 时间轴(底部居中悬浮岛:播放 + 密度带 + 拖动) ============ *//** 轨道 clientX → 对齐天步进的时间值(数据精度即 day,拖动求精细;播放仍按月推进求节奏)。 */+/** 轨道两端的余量,**等于轨道自己的圆角**(`rounded-control`)。+ * 柱子与播放头都缩进这么多:不缩的话,最左最右那几根正好落在圆角的弧里,+ * 看着像被切掉了一块;播放头走到头时也会贴上弧线。位置换算跟着一起缩,+ * 否则点在轨道最左边得到的值会比看到的位置偏一点。 */+const SCRUB_INSET = 10;+function scrubValueAt(clientX: number,track: HTMLDivElement | null,@@ -1784,7 +1763,12 @@ function scrubValueAt(const rect = track.getBoundingClientRect();// 布局未成形(宽度 0)时避免除零产出 NaNif (rect.width < 1) return maxTs;- const frac = Math.min(1, Math.max(0, (clientX - rect.left) / rect.width));+ const span = rect.width - SCRUB_INSET * 2;+ if (span < 1) return maxTs;+ const frac = Math.min(+ 1,+ Math.max(0, (clientX - rect.left - SCRUB_INSET) / span),+ );const raw = minTs + frac * (maxTs - minTs);return Math.min(maxTs, minTs + Math.round((raw - minTs) / DAY_MS) * DAY_MS);}@@ -2045,8 +2029,12 @@ function TimeScrubber({≈ 430px,而轨道内宽才 ~455px——柱子被挤成 0.1px,整条看起来是空的。实测就是这么丢的。柱子稀疏时留 2px 好数,密了就贴在一起当密度带看 */}<div- className="absolute inset-x-1.5 top-1.5 bottom-1.5 flex items-end"- style={{ gap: bars.length > 120 ? 0 : bars.length > 40 ? 1 : 2 }}+ className="absolute top-1.5 bottom-1.5 flex items-end"+ style={{+ left: SCRUB_INSET,+ right: SCRUB_INSET,+ gap: bars.length > 120 ? 0 : bars.length > 40 ? 1 : 2,+ }}>{bars.map((b) => {// 进入即亮(桶起点为判据):播放头脚下的柱子即已覆盖——进度条通用语义@@ -2088,6 +2076,8 @@ function TimeScrubber({<inputtype="range"className="scrubber-range"+ /* CSS 里那条 width:100% 要让开,否则左右缩进之后整条会溢出 */+ style={{ left: SCRUB_INSET, right: SCRUB_INSET, width: "auto" }}min={minTs}max={maxTs}step={DAY_MS}@@ -2174,18 +2164,7 @@ function fmtInterval(f: EntityFact): string {** 手动按钮留在这里而不是别处:想重推的人正是刚看完这三行、觉得数字太旧的那个人。*/-function DerivedPanel({- panelRef,- kbId,- count,- onClose,-}: {- panelRef: React.Ref<HTMLDivElement>;- kbId: string;- count: number;- onClose: () => void;-}) {- const qc = useQueryClient();+function DerivedPanel({ kbId, count }: { kbId: string; count: number }) {const kb = useQuery({queryKey: ["kbOne", kbId],queryFn: () => api.kbDetail(kbId),@@ -2198,6 +2177,7 @@ function DerivedPanel({也没有用全站的 DangerConfirm:那是红标题、可要求逐字输入的危险级,留给删库那类不可逆操作。重跑推理重但可重复,够不上那一档 */+ const qc = useQueryClient();const [armed, setArmed] = useState(false);const run = useMutation({mutationFn: () => api.runInference(kbId),@@ -2215,13 +2195,10 @@ function DerivedPanel({? Math.round((Date.now() - new Date(last).getTime()) / 60000): null;- // **盖在触发器原位往右上长开**(bottom-0 left-0),而不是在旁边挂一扇窗。- // 面与圆角跟通知/用户卡片对齐:u-menu-glass + rounded-panel+ /* 内容而已:定位、关闭、外点都归 Popover(与顶栏三个面板同一套)。+ 从前它自己盖在触发器原位往右上长开,还得带一个关闭叉 */return (- <div- ref={panelRef}- className="u-menu-glass pointer-events-auto absolute bottom-0 left-0 z-50 w-72 overflow-hidden rounded-overlay px-3 pb-3 pt-3 u-lift-strong"- >+ <div className="px-3 pb-3 pt-3">{/* items-center 而不是 baseline:标题旁边站着一个按钮和一个关闭键,按基线对齐会让那两个看着往上飘 */}<div className="flex items-center gap-2">@@ -2240,16 +2217,6 @@ function DerivedPanel({{run.isPending ? S.graph.derivedRunning : S.graph.derivedRun}</Button>)}- {/* 固定 18px 方格:**别让关闭键撑起标题行的高**——一撑高,- 行里最矮的标题就被居中挤出上下空当,看着像上边距过大 */}- <IconButton- size="sm"- label={S.graph.close}- className={armed ? "ml-auto" : undefined}- onClick={onClose}- >- ×- </IconButton></div>{/* 问句 + 两个目标。**取消排在前面**:从「跑」那一下移过来最先碰到的@@ -2431,7 +2398,7 @@ function ProofSteps({ kbId, steps }: { kbId: string; steps: ProofStep[] }) {{st.object ?? "?"}</span>{st.retracted && (- <span className="u-chip u-chip-warn text-fine">{S.graph.proofRetracted}</span>+ <Chip tone="warn" className="text-fine">{S.graph.proofRetracted}</Chip>)}</div><div className="mt-1 space-y-1 pl-2">@@ -2600,7 +2567,7 @@ function ContestedChip({});}}}- className="u-chip u-chip-contest shrink-0 !text-fine !px-2 cursor-pointer"+ className={chipLike("contest", "shrink-0 cursor-pointer text-fine")}title={S.graph.contestedHint(c.kind, c.derived ?? null)}>{S.graph.contestedChip}@@ -2679,37 +2646,14 @@ function EntityPanel({const e: GraphNode | undefined = detail.data?.entity;// 实体修正(名字、类型)在弹窗里:面板只展示- const qc = useQueryClient();const [editing, setEditing] = useState(false);- // 同名的其他实体:详情接口打开就给。改名之后再用响应里的那份覆盖——- // 改完名可能撞上一批新的同名,那时候的答案比打开时的新- const [renamedPeers, setRenamedPeers] = useState<GraphNode[] | null>(null);- const sameName = renamedPeers ?? detail.data?.same_name ?? [];- const setSameName = setRenamedPeers;- // 手动合并:把同名的那个并进**当前这个**。方向写死是有意的——- // 用户正在看的就是他判断为「主」的那一个- // 「并进来」先问一句。从前是浏览器原生 confirm(),和全站的对话框不是一套;- // 合并可撤销,所以走轻确认(不要求打字),同 Library 的重抽- const [mergeCandidate, setMergeCandidate] = useState<{ id: string; name: string } | null>(- null,- );- // 什么让你这么定(0026):可不写;写了就跟着合并进台账- const [mergeWhy, setMergeWhy] = useState("");- const merge = useMutation({- mutationFn: ({ source, why }: { source: string; why: string }) =>- api.mergeEntities(kbId, source, entityId, why),- onSuccess: () => {- toast.success(S.toast.saved);- // 本地把并掉的那个摘掉,别等重取——它已经不存在了,留着会让人再点一次- setSameName((prev) =>- (prev ?? sameName).filter((p) => p.id !== merge.variables?.source),- );- qc.invalidateQueries({ queryKey: ["entity", kbId, entityId] });- qc.invalidateQueries({ queryKey: ["graph"] });- qc.invalidateQueries({ queryKey: ["review", kbId] });- },- onError: (err: Error) => toast.error(err.message),- });+ /* **同名的其他实体不在这块面板上出现。**(曾经有一条横幅,列出同名的+ 每一个并给「并进来」。)两个问题:那些行只有类型名可读,同名的七个+ 全写着「Organization」,界面在问"它们是同一个吗"却不给判断的依据;+ 而且横幅没有高度上限,同名多几个就把 Relations / History / Derived+ 挤到屏幕外。合并是 Review 那边的事——那里有并排比对。+ 这块面板只回答"我正在看的这个实体是什么"。 */+const openEdit = () => {if (!e) return;setEditing(true);@@ -2794,90 +2738,10 @@ function EntityPanel({entityId={entityId}entity={e}onClose={() => setEditing(false)}- onSaved={(peers) => {- setEditing(false);- setSameName(peers);- }}+ onSaved={() => setEditing(false)}/>)}- {/* 同名不是错误——两个张伟可以并存。只提示,判定是不是同一个是人的事 */}- {sameName.length > 0 && (- <div className="mx-4 mt-3 rounded-panel border border-line bg-surface px-3 py-2">- <div className="flex items-start justify-between gap-2">- <p className="text-fine text-ink-2">- {S.graph.sameNameNote(sameName.length)}{" "}- <span className="text-ink-2">{S.graph.sameNameHint}</span>- </p>- <IconButton- size="sm"- label={S.graph.close}- className="shrink-0"- onClick={() => setSameName([])}- >- <X size={11} />- </IconButton>- </div>- {/* 每个同名的给两个动作:去看它,或者把它并进来。- **方向写死成「并进当前这个」**——合并有方向(源消失、事实搬到目标上),- 而当前打开的这个就是用户正在看、正在判断的那一个 */}- <div className="mt-2 space-y-1">- {sameName.map((p) => (- <div key={p.id} className="flex items-center gap-1">- <Button- variant="secondary"- size="sm"- className="min-w-0 flex-1 justify-start"- onClick={() => onNavigate(p.id)}- >- <span className="truncate">- {p.type_label ?? S.graph.untyped}- {p.disambiguator && p.disambiguator !== p.type_label- ? ` · ${p.disambiguator}`- : ""}- </span>- </Button>- <Button- variant="ghost"- size="sm"- className="shrink-0"- disabled={merge.isPending}- title={S.graph.mergeIntoHint}- onClick={() => setMergeCandidate({ id: p.id, name: p.name })}- >- {S.graph.mergeInto}- </Button>- </div>- ))}- </div>- </div>- )}-- {mergeCandidate && (- <DangerConfirm- title={S.graph.mergeTitle}- hint={S.graph.mergeConfirm(mergeCandidate.name, e?.name ?? "")}- confirmLabel={S.graph.mergeInto}- cancelLabel={S.graph.editCancel}- busy={merge.isPending}- onConfirm={() => {- merge.mutate({ source: mergeCandidate.id, why: mergeWhy });- setMergeCandidate(null);- setMergeWhy("");- }}- onCancel={() => {- setMergeCandidate(null);- setMergeWhy("");- }}- >- <Input- className="w-full"- placeholder={S.review.rationalePlaceholder}- value={mergeWhy}- onChange={(e) => setMergeWhy(e.target.value)}- />- </DangerConfirm>- )}{/* 视图切换:Relations(一张表,过去的折在组尾)| History(记录轴)| Derived */}{/* **左边比头部多一档**(24 而不是 16)。两个盒子本来都从 px-4 起,可@@ -3234,9 +3098,9 @@ function FactRow({{interval || S.graph.undated}</span>{fact.stale && (- <span className="u-chip u-chip-neutral shrink-0 !text-fine !px-2">+ <Chip tone="neutral" className="shrink-0 text-fine">{S.graph.staleFactChip}- </span>+ </Chip>)}{fact.contested && <ContestedChip kbId={kbId} c={fact.contested} />}<span className="ml-auto flex shrink-0 items-center gap-2 pl-2">diff --git a/web/src/pages/KbScope.tsx b/web/src/pages/KbScope.tsxindex 1532a152..b10953ff 100644--- a/web/src/pages/KbScope.tsx+++ b/web/src/pages/KbScope.tsx@@ -15,6 +15,7 @@ import { useQuery } from "@tanstack/react-query";import { ApiError, api } from "../api";import { S } from "../i18n";import { useKb } from "../kb";+import { buttonLike, cn } from "../ui";import { kbStore, wsStore } from "../wsStore";/** 库不存在或没权限时的落地页。**不能只给一张空图**——分享链接最常见的@@ -31,7 +32,7 @@ function KbNoAccess({ status }: { status: number }) {</p><Linkto="/account/kbs"- className="u-btn u-btn-ghost mt-4 inline-block px-3 py-2 text-small"+ className={cn(buttonLike("ghost"), "mt-4")}>{S.kbScope.myKbs}</Link>diff --git a/web/src/pages/KbSettings.tsx b/web/src/pages/KbSettings.tsxindex 1b0f7c4a..75377cd0 100644--- a/web/src/pages/KbSettings.tsx+++ b/web/src/pages/KbSettings.tsx@@ -345,7 +345,7 @@ export function KbSettings() {说明里要讲清关掉之后失去的**只是**代劳,不是留意 */}<Checkboxchecked={autoExtend}- onChange={(e) => setAutoExtend(e.target.checked)}+ onChange={(v) => setAutoExtend(v)}label={S.kbset.autoExtend}hint={S.kbset.autoExtendNote}/>@@ -353,7 +353,7 @@ export function KbSettings() {这个动的是账本——它按公理往图里写事实,而声明可能是错的 */}<Checkboxchecked={materialize}- onChange={(e) => setMaterialize(e.target.checked)}+ onChange={(v) => setMaterialize(v)}label={S.kbset.materialize}hint={S.kbset.materializeNote}/>@@ -375,7 +375,7 @@ export function KbSettings() {{kb.data.last_inference_at && (<span className="text-fine text-ink-2">{S.kbset.lastInference(- new Date(kb.data.last_inference_at).toLocaleString(),+ localDateTime(kb.data.last_inference_at),)}</span>)}@@ -384,7 +384,7 @@ export function KbSettings() {{/* 类型消解自动跑:抽完排一轮,只自动改子树内精化的那一档,跨轴的仍留给人 */}<Checkboxchecked={autoResolve}- onChange={(e) => setAutoResolve(e.target.checked)}+ onChange={(v) => setAutoResolve(v)}label={S.kbset.autoResolveTypes}hint={S.kbset.autoResolveTypesNote}/>@@ -393,7 +393,7 @@ export function KbSettings() {关掉队列就停 */}<Checkboxchecked={governance}- onChange={(e) => setGovernance(e.target.checked)}+ onChange={(v) => setGovernance(v)}label={S.kbset.governance}hint={S.kbset.governanceNote}/>@@ -553,14 +553,16 @@ function KbActivity({ kbId }: { kbId: string }) {...actions.map((a) => ({ value: a, label: a })),]}/>- <Input size="sm" className="u-num"+ {/* 日期框**要自己说宽度**:`Input` 不给宽度时是 w-full,一行里放两个,+ 每个都占满,于是各自换行——同一行的下拉给了 w-48 才没事。 */}+ <Input size="sm" className="u-num w-36"type="date"value={since}title={S.kbset.auditSince}onChange={(e) => reset(() => setSince(e.target.value))}/><span className="text-small text-ink-2">→</span>- <Input size="sm" className="u-num"+ <Input size="sm" className="u-num w-36"type="date"value={until}title={S.kbset.auditUntil}diff --git a/web/src/pages/KbSwitcher.tsx b/web/src/pages/KbSwitcher.tsxindex a3ad5b1d..d8c2c6b2 100644--- a/web/src/pages/KbSwitcher.tsx+++ b/web/src/pages/KbSwitcher.tsx@@ -1,7 +1,7 @@-/* 顶栏的知识库切换器:与用户菜单、告警面板同一套——胶囊原地长成面板(FLIP),- 面板的第一行就是胶囊本身,再点一下缩回去;下面列全部的库,当前那个带勾。- 从前它是一个下拉(Dropdown),弹出来的是另一张皮、另一种关法,挨着旁边- 两个面板一看就是外人。+/* 顶栏的知识库切换器:与用户菜单、告警面板同一套弹层(shadcn Popover)。+ 下面列全部的库,当前那个带勾。从前这三处各写一遍「胶囊原地长成面板」的+ 过渡,面板第一行还要把胶囊本身再画一遍——统一之后那一行没有了,+ 触发器就是触发器。面板分三段:查找、库、新建。库上了十几个之后,切换库这件事是**先打字再挑**,不是滚一列名字;新建钉在最下面而不是混在列里——它不是一个库,是这张面板@@ -12,8 +12,12 @@ import { useNavigate } from "@tanstack/react-router";import { Check, ChevronDown, Layers, Plus } from "lucide-react";import { api, type Kb } from "../api";import { S } from "../i18n";-import { Button, cn, Input, Row } from "../ui";-import { usePopoverFlip } from "../ui/popoverFlip";+import { Button, Input, Row } from "../ui";+import {+ Popover,+ PopoverContent,+ PopoverTrigger,+} from "@/components/ui/popover";export function KbSwitcher({kb,@@ -24,8 +28,8 @@ export function KbSwitcher({kbs: Kb[];onChange: (id: string) => void;}) {- const { open, setOpen, close, rootRef, anchorRef, panelRef } =- usePopoverFlip<HTMLButtonElement, HTMLDivElement>("top left");+ const [open, setOpen] = useState(false);+ const close = () => setOpen(false);const navigate = useNavigate();const name = kb?.name ?? "…";const [q, setQ] = useState("");@@ -49,46 +53,33 @@ export function KbSwitcher({: kbs;return (- <div ref={rootRef} className="relative">- {/* 胶囊:无底无框,图标与导航标签同一档灰、同一个大小和线宽(15 / 1.8),- 名字与标签同一个字号和字重(正文、中等),颜色是正文色——它是当前库的- 名字,不是次要信息。打开时隐形,位置留给面板的第一行 */}- <Button- ref={anchorRef}- variant="ghost"- size="sm"- aria-expanded={open}- title={S.nav.kbLabel}- // 与右边的用户菜单胶囊同高(36):py-2 加一行正文。左右只留 px-2——胶囊没有边框,- // 内距再宽就只是把图标从字标旁边推开;面板行仍是 px-4,靠面板整体左移 8 让- // 第一行的图标落在胶囊图标的位置上- className={cn("h-8 max-w-64 border-0 px-2", open && "invisible")}- icon={<Layers size={15} strokeWidth={1.8} className="text-ink-2" />}- onClick={() => (open ? dismiss() : setOpen(true))}- >- <span className="truncate text-body font-medium text-ink">{name}</span>- <ChevronDown size={12} className="shrink-0 text-ink-2" />- </Button>-- {open && (- <div- ref={panelRef}- // -left-2:胶囊只有 8 的内距,面板行有 16——面板左移 8,行里的图标才与胶囊的图标同一个 x- className="u-menu-glass absolute -left-2 top-0 z-50 w-max min-w-64 max-w-80 overflow-hidden rounded-overlay u-lift-strong"+ /* 库切换器。**弹层是 shadcn 的 Popover**,与顶栏另外两个面板同一副:+ 从前是「胶囊原地长成面板」的手写过渡,第一行要把胶囊本身再画一遍、+ 触发器打开时还得隐身。现在触发器就是触发器,面板就是面板。 */+ <Popover open={open} onOpenChange={setOpen}>+ <PopoverTrigger asChild>+ {/* 胶囊:无底无框,图标与导航标签同一档灰、同一个大小和线宽(15 / 1.8),+ 名字与标签同一个字号和字重(正文、中等),颜色是正文色——它是当前库的+ 名字,不是次要信息 */}+ <Button+ variant="ghost"+ size="sm"+ title={S.nav.kbLabel}+ /* 内距 12,与全站的行、以及顶栏字标的 pl-3 同一个数。+ 从前是 8,图标贴着胶囊的左缘——胶囊一有底(悬停、打开)就看得出来 */+ className="h-8 max-w-64 border-0 px-3"+ icon={<Layers size={15} strokeWidth={1.8} className="text-ink-2" />}>- {/* 第一行是胶囊自己:同一个图标、同一个名字,箭头翻上去;再点一下缩回 */}- <div- onClick={dismiss}- className="u-row-shell flex cursor-pointer items-center gap-3 border-b border-line px-4 py-3"- >- <Layers size={15} strokeWidth={1.8} className="shrink-0 text-ink-2" />- <span className="min-w-0 flex-1 truncate text-body font-medium text-ink">- {name}- </span>- <ChevronDown size={12} className="shrink-0 rotate-180 text-ink-2" />- </div>+ <span className="truncate text-body font-medium text-ink">{name}</span>+ <ChevronDown size={12} className="shrink-0 text-ink-2" />+ </Button>+ </PopoverTrigger>+ <PopoverContent+ align="start"+ className="w-max min-w-64 max-w-80 overflow-hidden p-0"+ >{/* 查找:没有自己的框(bare)——它是面板的一段,不是面板里摆的一个控件。- 打开就聚焦,一开口就能打字;Esc 由 popoverFlip 统一关面板 */}+ 打开就聚焦,一开口就能打字;Esc 与外点由 Popover 统一管 */}<div className="border-b border-line px-4 py-3"><Inputbare@@ -137,8 +128,7 @@ export function KbSwitcher({{S.settings.kbs.newKb}</Row>)}- </div>- )}- </div>+ </PopoverContent>+ </Popover>);}diff --git a/web/src/pages/Library.tsx b/web/src/pages/Library.tsxindex 58fc9044..f0d35bc3 100644--- a/web/src/pages/Library.tsx+++ b/web/src/pages/Library.tsx@@ -36,7 +36,8 @@ import {StatusCell,Textarea,PageHeader,-} from "../ui";+ buttonLike,+ localDateTime,} from "../ui";import {KIND_ICON,SOURCE_ICONS,@@ -566,11 +567,13 @@ export function Library() {<>{/* 历史视图下过滤框只藏不撤(invisible 保留占位),标题行高度不塌、不抖 */}<div className={`relative ${showHistory ? "invisible" : ""}`}>+ {/* 中号带放大镜,与图谱、本体、成员那几页的筛选条同一副身材。+ 从前这里是小号,挨着看就比别处矮一档 */}<Searchsize={13}- className="absolute left-2.5 top-1/2 -translate-y-1/2 text-ink-2 pointer-events-none"+ className="absolute left-3 top-1/2 -translate-y-1/2 text-ink-2 pointer-events-none"/>- <Input size="sm" className="w-52 pl-8 pr-8"+ <Input className="w-52 pl-[34px] pr-8"placeholder={S.library.filterPlaceholder}value={filter}onChange={(e) => setFilter(e.target.value)}@@ -1002,7 +1005,7 @@ function SourceBar({params={{ slug: "ingest" }}target="_blank"title={S.library.ingestGuideTitle}- className="u-btn u-btn-ghost px-2 py-1"+ className={buttonLike("ghost", "sm")}><BookOpen size={12} /></Link>@@ -1019,9 +1022,7 @@ function SourceBar({/* 激活态用反色(与弹窗类型 tab、图标选中同一语汇),一眼可辨 */<Button variant="secondary" size="sm"onClick={onToggleHistory}- className={`u-btn px-3 py-1 text-small flex items-center gap-2 ${- historyOpen ? "u-btn-primary" : "u-btn-ghost"- }`}+ className={buttonLike(historyOpen ? "primary" : "ghost", "sm")}><HistoryIcon size={11} />{S.library.syncHistory}@@ -1814,7 +1815,7 @@ function SourceModal({<CheckboxclassName="mb-4"checked={includePrs}- onChange={(e) => setIncludePrs(e.target.checked)}+ onChange={(v) => setIncludePrs(v)}label={S.library.includePullRequests}/></>@@ -2037,7 +2038,7 @@ function SourceEditModal({<CheckboxclassName="mb-4"checked={includePrs}- onChange={(e) => setIncludePrs(e.target.checked)}+ onChange={(v) => setIncludePrs(v)}label={S.library.includePullRequests}/></>@@ -2155,7 +2156,7 @@ function DeletedTable({<td className="px-4 py-3 text-ink-2">{d.filename}</td><td className="px-4 py-3 text-ink-2">{src?.name ?? S.library.uploads}</td><td className="px-4 py-3 u-num text-ink-2">- {d.deleted_at ? new Date(d.deleted_at).toLocaleString() : ""}+ {d.deleted_at ? localDateTime(d.deleted_at) : ""}</td><td className="px-4 py-3 text-right whitespace-nowrap"><LinkButton onClick={() => onRestore(d.id)}>diff --git a/web/src/pages/Mappings.tsx b/web/src/pages/Mappings.tsxindex 92eb045b..45883285 100644--- a/web/src/pages/Mappings.tsx+++ b/web/src/pages/Mappings.tsx@@ -8,7 +8,7 @@// 搬的是界面不是逻辑:判断一条口径对不对要看得见表结构,而那在这一页。import { useEffect, useState } from "react";import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";-import { Database, Plus } from "lucide-react";+import { Database, Plug, Plus, Search } from "lucide-react";import { useNavigate } from "@tanstack/react-router";import { api, type ConceptMapping } from "../api";import { S } from "../i18n";@@ -18,16 +18,19 @@ import {Button,Checkbox,Chip,- type ChipTone,- cn,+ Dropdown,EmptyState,ErrorText,Input,- LinkButton,Loading,+ PageHeader,Pager,- PageTitle,+ RAIL_CLS,+ Row,SearchSelect,+ Status,+ cn,+ type ChipTone,} from "../ui";const PAGE = 25;@@ -139,65 +142,46 @@ export function Mappings() {];return (- <div className="p-6 max-w-4xl mx-auto space-y-4">- <div>- <PageTitle>{S.mapping.title}</PageTitle>- <p className="mt-1 text-small text-ink-2">{S.mapping.hint}</p>- </div>-- {/* 分段控件用全站那一套(`bg-surface-3` 选中 + 静默的未选中),- 不是 `u-btn-primary`——那是主操作的实心白,用在这里每个标签都像- 一个行动号召 */}- <div className="flex w-fit rounded-control overflow-hidden border border-line">+ /* **左栏切功能,不是标签页**:定义与数据源是两件不同的事(一个是判读,+ 一个是登记连接),全站凡是这种切换都在左栏(文库、审阅、本体都是)。+ 从前这里是一排按钮做的标签,选中那个还是实心主按钮——在这套语汇里+ 实心说的是"这一屏最该按的那一下",四个标签四个行动号召。+ 内容区也从设置页那套居中限宽(max-w-4xl)改成内容页的铺满(px-8 py-6)。 */+ <div className="flex h-full">+ <aside className={`${RAIL_CLS} u-rail-list px-2 py-3`}>{(["definitions", "sources"] as const).map((t) => (- <Button- variant={tab === t ? "primary" : "ghost"}- size="sm"+ <Rowkey={t}+ density="nav"+ active={tab === t}+ icon={t === "definitions" ? <Database size={14} /> : <Plug size={14} />}onClick={() => setTab(t)}>- {t === "definitions"- ? S.mapping.tabDefinitions- : S.mapping.tabSources}- </Button>+ {t === "definitions" ? S.mapping.tabDefinitions : S.mapping.tabSources}+ </Row>))}- </div>+ </aside>++ <div className="u-scroll flex-1 min-w-0 overflow-y-auto px-8 py-6">+ <PageHeader+ title={S.mapping.title}+ sub={S.mapping.hint}+ className="mb-4"+ />{tab === "sources" ? (<DataSources kbId={kb.id} onExplored={refresh} />) : (- <>+ <div className="space-y-4">+ {/* 筛选是下拉,不是一排按钮:四档状态是"挑一个看",与全站其它页面的+ 筛选同一副控件(Dropdown),计数跟在标签里 */}<div className="flex items-center gap-2 flex-wrap">- <div className="flex rounded-control overflow-hidden border border-line">- {FILTERS.map((f) => (- <Button- variant={status === f.key ? "primary" : "ghost"}- size="sm"- key={f.key}- onClick={() => {- setStatus(f.key);- setPage(0);- }}- >- {f.label}- {f.n != null && (- <span- className={cn(- "u-num",- status === f.key- ? "text-ink-2"- : "text-ink-2",- )}- >- {f.n}- </span>- )}- </Button>- ))}- </div>+ {/* 筛选条与 Members、文库、图谱同一副身材:**带放大镜的 w-64 输入框在前**,+ 下拉跟在后面。这里从前是下拉在前、输入框 flex-1——一个人从一页走到+ 另一页,同样的一条工具行,控件换了顺序、搜索框还横跨整屏。 */}<Input- size="sm"- className="flex-1 min-w-40"+ icon={<Search size={13} />}+ className="w-64"placeholder={S.mapping.searchPlaceholder}value={q}onChange={(e) => {@@ -205,24 +189,41 @@ export function Mappings() {setPage(0);}}/>- </div>-- {selectable.length > 0 && (- <div className="flex items-center justify-end gap-3 flex-wrap">+ <Dropdown+ className="w-40"+ value={status}+ onChange={(v) => {+ setStatus(v as StatusFilter);+ setPage(0);+ }}+ /* 计数写进括号里,不是用间隔点挂在后面。「Pending · 0」读起来是+ 两样并列的东西(这一页别处的 `·` 正是这个用法:口径 · 来源 ·+ 表),而这里的 0 不是第二个字段,是「Pending 有几条」——+ 括号说的就是这个从属关系。 */+ options={FILTERS.map((f) => ({+ value: f.key,+ label: f.n != null ? `${f.label} (${f.n})` : f.label,+ }))}+ />+ {/* **一条工具行**:筛选、搜索、全选、批量动作排在一起。+ 从前它们各占一行,三行控件压在内容上面,读到列表要先翻过一块 */}+ {selectable.length > 0 && (<Checkboxchecked={selectable.every((m) => picked.has(m.id))}disabled={batch.isPending || individualPending}- onChange={(e) =>+ onChange={(v) =>setPicked(- e.target.checked+ v? new Set(selectable.map((m) => m.id)): new Set(),)}label={S.mapping.selectPage}+ className="shrink-0"/>- {selectedIds.length > 0 && (- <>+ )}+ {selectedIds.length > 0 && (+ <><span className="u-num text-small text-ink-2">{S.mapping.selected(selectedIds.length)}</span>@@ -239,8 +240,10 @@ export function Mappings() {>{S.mapping.approve}</Button>- <LinkButton- tone="danger"+ <Button+ variant="ghost"+ size="sm"+ className="text-danger"disabled={batch.isPending || individualPending}onClick={() =>batch.mutate({@@ -250,11 +253,10 @@ export function Mappings() {}>{S.mapping.reject}- </LinkButton>- </>- )}- </div>- )}+ </Button>+ </>+ )}+ </div>{status === "rejected" && (<p className="text-small text-ink-2">{S.mapping.rejectedHint}</p>@@ -308,8 +310,9 @@ export function Mappings() {page={page}onPage={setPage}/>- </>+ </div>)}+ </div></div>);}@@ -354,7 +357,7 @@ function MappingRow({className="shrink-0 self-center"checked={picked}disabled={decide.isPending || batchPending}- onChange={(e) => onPick(e.target.checked)}+ onChange={(v) => onPick(v)}label={<span className="sr-only">{S.mapping.selectMapping(m.concept_name, m.source)}@@ -373,9 +376,9 @@ function MappingRow({</Chip>)}<span className="flex-1" />- <Chip tone={TONE[m.status]} className="text-fine">+ <Status tone={TONE[m.status]} className="text-fine">{statusLabel(m.status)}- </Chip>+ </Status></div><div@@ -401,33 +404,39 @@ function MappingRow({onCancel={() => setEditing(false)}/>) : (- /* 行里的动作:拍板那一下是个按钮,其余是链接。**十一行十一个实底- 按钮**(原来「确认」是 primary)等于把一页都染成动作,而一屏最多- 一个 primary。拒绝是点了就生效的那种,所以它红(同成员页的移出) */- <div className="mt-2 flex items-center gap-3 flex-wrap">+ /* 行里的动作:**拍板那一下描边,其余是 ghost,都不是实底。**十一行+ 十一个实底按钮等于把一整页染成动作,而一屏最多一个 primary。+ 但「不是实底」不等于「长成一句话」——从前这三个是 `LinkButton`:+ 没有内距、没有 hover 底、颜色就是正文那档灰,跟它们上面那行说明+ 一个样,看着不像能点。ghost 补回控件该有的两件事:一圈内距,+ 和指针停上去的那块底。静止时仍然轻。+ 拒绝**静止时就该是红的**:它是点了就生效的那一下,人要在按之前+ 看出来它跟「编辑」不是一类,而不是划过去才发现。 */+ <div className="mt-2 -ml-2 flex items-center gap-1 flex-wrap">{m.status === "proposed" && (<>- <Button variant="secondary" size="sm"+ <Button variant="secondary" size="sm" className="ml-2"disabled={decide.isPending || batchPending || picked}onClick={() => decide.mutate("confirmed")}>{S.mapping.approve}</Button>- <LinkButton- tone="danger"+ <Button variant="ghost" size="sm" className="text-danger"disabled={batchPending || picked}onClick={() =>!picked && !decide.isPending && decide.mutate("rejected")}>{S.mapping.reject}- </LinkButton>+ </Button></>)}- <LinkButton onClick={() => setEditing(true)}>{S.mapping.edit}</LinkButton>- <LinkButton onClick={() => setShowHistory((v) => !v)}>+ <Button variant="ghost" size="sm" onClick={() => setEditing(true)}>+ {S.mapping.edit}+ </Button>+ <Button variant="ghost" size="sm" onClick={() => setShowHistory((v) => !v)}>{S.mapping.history}- </LinkButton>+ </Button></div>)}@@ -498,7 +507,7 @@ function EditForm({{field(S.mapping.fieldSummary, summary, setSummary)}<Checkboxchecked={derived}- onChange={(e) => setDerived(e.target.checked)}+ onChange={(v) => setDerived(v)}label={S.mapping.fieldDerived}/><span className="hidden">@@ -664,14 +673,15 @@ function DataSources({>{S.mapping.syncSchema}</Button>- <LinkButton- tone="danger"- className="shrink-0"+ <Button+ variant="ghost"+ size="sm"+ className="shrink-0 text-danger"disabled={unmount.isPending}onClick={() => unmount.mutate(d.id)}>{S.mapping.unmount}- </LinkButton>+ </Button></div>))}{!hasMounted && (diff --git a/web/src/pages/MyKbs.tsx b/web/src/pages/MyKbs.tsxindex c7377544..7606772e 100644--- a/web/src/pages/MyKbs.tsx+++ b/web/src/pages/MyKbs.tsx@@ -94,7 +94,8 @@ export function MyKbs() {<div className="mb-4"><Inputicon={<Search size={13} />}- className="w-72"+ /* 筛选条上的搜索框全站一个宽度:w-64(成员、规则、数据口径都是它) */+ className="w-64"placeholder={S.account.kbsFilter}value={filter}onChange={(e) => setFilter(e.target.value)}@@ -258,7 +259,7 @@ function NewKbModal({<CheckboxclassName="mb-4"checked={restricted}- onChange={(e) => setRestricted(e.target.checked)}+ onChange={(v) => setRestricted(v)}label={S.settings.kbs.visRestricted}/>diff --git a/web/src/pages/Ontology.tsx b/web/src/pages/Ontology.tsxindex 8f63daca..1d64de93 100644--- a/web/src/pages/Ontology.tsx+++ b/web/src/pages/Ontology.tsx@@ -52,31 +52,33 @@ import {Button,Chip,DangerConfirm,+ Dialog,Disclosure,IconButton,Input,+ LinkButton,Loading,+ PageHeader,Pager,+ RAIL_CLS,+ ROW_TRAILING,RailItem,Row,- ROW_TRAILING,+ Segmented,SkeletonRows,Spinner,- rowClass,- Segmented,- RAIL_CLS,- cn,- pageSlice,- PageHeader,- Dialog,- LinkButton,- Table,+ Status,TBody,+ THead,+ Table,Td,Th,- THead,Tr,+ chipLike,+ cn,localDateTime,+ pageSlice,+ rowClass,} from "../ui";/** 左栏行高(py-2 + 13px 文字 + space-y 间隙)与底部预留(新建行 + 分页器) */@@ -1363,8 +1365,10 @@ function PropertyDefinition({</Def>{/* 边上的属性(0037):这条关系的边能带哪些属性,按属性的 label 列 */}<Def label={S.ontology.qualifiers}>- {rel.qualifiers.length > 0- ? rel.qualifiers.map(typeName).join(", ")+ {/* `?? []`:这一格是后加的(0037),**旧版本的后端不发它**。+ 少一格不该让整块面板崩掉——点一条关系就白屏,正是这么来的 */}+ {(rel.qualifiers ?? []).length > 0+ ? (rel.qualifiers ?? []).map(typeName).join(", "): S.ontology.noQualifiers}</Def><Def label={S.ontology.temporal}>{temporal}</Def>@@ -1507,7 +1511,7 @@ function RefinePanel({<spankey={c.id}title={c.description}- className="u-chip u-chip-neutral u-num text-fine"+ className={chipLike("neutral", "u-num text-fine")}>{c.label} {c.distance.toFixed(2)}</span>@@ -1555,9 +1559,9 @@ function RefinePanel({{r.coarse ?? S.graph.untyped} → {r.choice}</span>{r.crosses_axis && (- <span className="u-chip u-chip-warn text-fine">+ <Status tone="warn" className="text-fine">{S.ontology.refineCrossesAxis}- </span>+ </Status>)}<span className="ml-auto u-num text-fine text-ink-2">{Math.round(r.confidence * 100)}%diff --git a/web/src/pages/OntologySchemaGraph.tsx b/web/src/pages/OntologySchemaGraph.tsxindex 845b3e2d..fc1f86bb 100644--- a/web/src/pages/OntologySchemaGraph.tsx+++ b/web/src/pages/OntologySchemaGraph.tsx@@ -72,7 +72,7 @@ import {selectedNode,sigmaOptions,} from "./graphCanvas";-import { ChevronDown, Maximize2, ZoomIn, ZoomOut } from "lucide-react";+import { Maximize2, ZoomIn, ZoomOut } from "lucide-react";import type { BusinessRule, EntityTypeView, RelationTypeView } from "../api";import { S } from "../i18n";import {@@ -85,7 +85,11 @@ import {ToolTower,Tooltip,} from "../ui";-import { usePopoverFlip } from "../ui/popoverFlip";+import {+ Popover,+ PopoverContent,+ PopoverTrigger,+} from "@/components/ui/popover";/* ============ 边的三种语义,与三种视觉语汇的映射 ============关系边与 /graph 的边同一个灰(那边是应用户要求改成纯灰的,这边不另起@@ -992,7 +996,7 @@ export function OntologySchemaGraph({// eslint-disable-next-line react-hooks/exhaustive-deps}, []);- const unscopedPop = usePopoverFlip<HTMLButtonElement, HTMLDivElement>("top left");+ const [unscopedOpen, setUnscopedOpen] = useState(false);const empty = entityTypes.length === 0;return (@@ -1055,37 +1059,18 @@ export function OntologySchemaGraph({)}{schema.unscoped.length > 0 && (- <div className="relative" ref={unscopedPop.rootRef}>- <Pill- ref={unscopedPop.anchorRef}- active={unscopedPop.open}- aria-expanded={unscopedPop.open}- onClick={() =>- unscopedPop.open ? unscopedPop.close() : unscopedPop.setOpen(true)- }- >- {S.ontology.schemaUnscoped(schema.unscoped.length)}- </Pill>- {unscopedPop.open && (- <div- ref={unscopedPop.panelRef}- className="u-menu-glass absolute left-0 top-0 z-50 w-72 overflow-hidden rounded-overlay u-lift-strong"- >- {/* 与库切换器、告警面板、图谱页的类图例同一副解剖:第一行就是- 触发它的那个胶囊自己,三角翻上去,点它收回;**没有浮在角上的- 关闭叉**——「哪儿展开的就从哪儿收回去」。- 从前这里是一枚带 × 的胶囊,跟同一个产品里其余弹层都不像 */}- <div- onClick={() => unscopedPop.close()}- className="u-row-shell flex cursor-pointer items-center gap-3 border-b border-line px-4 py-3"- >+ <Popover open={unscopedOpen} onOpenChange={setUnscopedOpen}>+ <PopoverTrigger asChild>+ <Pill active={unscopedOpen}>+ {S.ontology.schemaUnscoped(schema.unscoped.length)}+ </Pill>+ </PopoverTrigger>+ <PopoverContent align="start" className="w-72 overflow-hidden p-0">+ {/* 标题行只说这是什么;关闭归 Esc、外点与胶囊本身 */}+ <div className="flex items-center gap-3 border-b border-line px-4 py-3"><span className="min-w-0 flex-1 truncate text-body font-medium text-ink">{S.ontology.schemaUnscoped(schema.unscoped.length)}</span>- <ChevronDown- size={12}- className="shrink-0 rotate-180 text-ink-2"- /></div><p className="border-b border-line px-4 py-2 text-fine leading-relaxed text-ink-2">{S.ontology.schemaUnscopedHint}@@ -1097,16 +1082,15 @@ export function OntologySchemaGraph({className="text-small"onClick={() => {onSelect({ kind: "relation", id: r.id });- unscopedPop.close();+ setUnscopedOpen(false);}}>{r.label}</Row>))}</div>- </div>- )}- </div>+ </PopoverContent>+ </Popover>)}</div></div>diff --git a/web/src/pages/PendingFacts.tsx b/web/src/pages/PendingFacts.tsxindex fb616cac..24583090 100644--- a/web/src/pages/PendingFacts.tsx+++ b/web/src/pages/PendingFacts.tsx@@ -1,4 +1,4 @@-import { Button } from "../ui";+import { Button, CARD_ACTIONS, Status } from "../ui";/* 等人点头的事实(docs/decisions/0015)。一句 remember 抽出的三元组先进待确认队列,不上图;人在这里点头它才进账本。**原句在上,三元组在下**:只列三元组等于要人凭空判断它对不对——@@ -80,12 +80,31 @@ export function PendingFactRow({<span className="text-body font-medium text-ink">{objectText(fact)}</span>{range && <span className="text-small text-ink-2">({range})</span>}{!fact.predicate_label && (- <span className="u-chip u-chip-warn ml-auto">{S.review.pendingNoPredicateChip}</span>+ <Status tone="warn" className="ml-auto shrink-0">+ {S.review.pendingNoPredicateChip}+ </Status>)}</div>- <div className="mt-3 flex items-center gap-2">+ {/* 与审阅页其余六种卡同一副页脚(CARD_ACTIONS):动作在左,「谁说的」推到右边 */}+ <div className={CARD_ACTIONS}>+ {canDecide && (+ <>+ <Button variant="secondary" size="sm"+ disabled={busy}+ onClick={onConfirm}+ >+ {S.review.confirm}+ </Button>+ <Button variant="danger" size="sm"+ disabled={busy}+ onClick={onReject}+ >+ {S.review.reject}+ </Button>+ </>+ )}{fact.proposed_by_name && (- <span className="text-fine text-ink-2">+ <span className="ml-auto truncate text-fine text-ink-2">{fact.proposed_token_name? S.review.pendingSaidVia(fact.proposed_by_name,@@ -94,22 +113,6 @@ export function PendingFactRow({: S.review.pendingSaidBy(fact.proposed_by_name)}</span>)}- {canDecide && (- <div className="ml-auto flex gap-2">- <Button variant="danger" size="sm"- disabled={busy}- onClick={onReject}- >- {S.review.reject}- </Button>- <Button variant="secondary" size="sm"- disabled={busy}- onClick={onConfirm}- >- {S.review.confirm}- </Button>- </div>- )}</div></div>);diff --git a/web/src/pages/Review.tsx b/web/src/pages/Review.tsxindex 3b9802ef..28fd4739 100644--- a/web/src/pages/Review.tsx+++ b/web/src/pages/Review.tsx@@ -27,18 +27,20 @@ import { useKb, useKbId } from "../kb";import { toast } from "../toast";import {Button,+ CARD_ACTIONS,Checkbox,Chip,- type ChipTone,- cn,+ GroupLabel,Input,LinkButton,+ PageHeader,Pager,RAIL_CLS,RailItem,Segmented,- GroupLabel,- PageHeader,+ Status,+ cn,+ type ChipTone,} from "../ui";const DUP_PAGE = 6;@@ -70,12 +72,12 @@ function dateRange(from: string | null, to: string | null): string | null {function SideCard({ side }: { side: ReviewSide }) {return (<div className="flex-1 min-w-0">- <div className="flex items-center gap-2 mb-1">- <span- className="h-2.5 w-2.5 rounded-full shrink-0"- style={{ backgroundColor: side.color }}- />- <span className="text-body font-medium text-ink truncate">+ {/* **只写名字,不画那颗色点。**色点是画布上的记号:那里一屏几十个节点,+ 颜色是唯一能一眼分开类的东西。这张卡上一共就两个实体,类名下一行+ 白纸黑字写着(「Organization · 5 facts」),点再说一遍等于重复,+ 而且把名字往右顶了一截。 */}+ <div className="mb-1 flex items-center gap-2">+ <span className="truncate text-body font-medium text-ink">{side.name}</span>{side.disambiguator && (@@ -136,32 +138,19 @@ function DuplicateCard({return (<div className={cn("glass rounded-panel p-4", picked && "u-picked")}>- <div className="flex gap-4">- <Checkbox- className="shrink-0 self-start"- checked={picked}- disabled={busy || locked}- onChange={(e) => onPick(e.target.checked)}- label={<span className="sr-only">{S.review.pickPair}</span>}- />- <SideCard side={item.left} />- <div className="self-center text-ink-2 text-body shrink-0">≟</div>- <SideCard side={item.right} />- </div>- <div className="mt-3 pt-3 flex items-center gap-3 border-t border-line">+ {/* **为什么是这一对**,写在两边之前:等谁裁、类型对不对得上、agent 建议+ 什么、凭什么说它们像。读完这一行再看下面两栏,才知道该盯什么。 */}+ <div className="mb-3 flex flex-wrap items-center gap-3">{locked ? (- <span className="u-chip u-chip-info">- <span className="mr-2 inline-block h-2 w-2 rounded-full bg-warn animate-pulse" />+ <Status tone="warn" pulse>{S.review.agentDeciding}- </span>+ </Status>) : (- <span- className={`u-chip ${item.stage === "human" ? "u-chip-warn" : "u-chip-neutral"}`}- >+ <Status tone={item.stage === "human" ? "warn" : "neutral"}>{item.stage === "human"? S.review.stageHuman: S.review.stageAdjudicating}- </span>+ </Status>)}{typesDiffer(item) && (<Chip tone="warn" title={S.review.typesDifferHint}>@@ -171,7 +160,7 @@ function DuplicateCard({)}</Chip>)}- {/* agent 的建议(0025):这里的 Merge / Keep 就是对它的回答 */}+ {/* agent 的建议(0025):底下的 Merge / Keep 就是对它的回答 */}{item.proposal && (<Chip tone="info" title={item.proposal.reason ?? undefined}>{S.review.agentSuggests(@@ -186,33 +175,49 @@ function DuplicateCard({</span>)}{item.reason && (- <span className="text-small text-ink-2 truncate min-w-0">+ <span className="truncate text-small text-ink-2">{escalationText(item.reason)}</span>)}+ </div>+ <div className="flex gap-4">+ <Checkbox+ className="shrink-0 self-start"+ checked={picked}+ disabled={busy || locked}+ onChange={(v) => onPick(v)}+ label={<span className="sr-only">{S.review.pickPair}</span>}+ />+ <SideCard side={item.left} />+ <div className="self-center text-ink-2 text-body shrink-0">≟</div>+ <SideCard side={item.right} />+ </div>+ {/* 页脚只剩动作,与别的卡同一副(CARD_ACTIONS):左下,危险的排最后。+ 「为什么是这一对」搬到卡片最上面去了——它是**读这张卡之前要知道的事**,+ 不是决定之后的脚注。压在右下角的时候,人得先看完两边的事实,再把眼睛+ 甩到对角去找「凭什么说它们像」。 */}+ <div className={cn(CARD_ACTIONS, "pt-3 border-t border-line")}>{/* 理由框(0026):可不写;写了就跟着决定进台账,下一次先例带着它 */}- <div className="ml-auto flex items-center gap-2 shrink-0">- <Input- size="sm"- className="w-56"- placeholder={S.review.rationalePlaceholder}- value={why}- disabled={busy || locked}- onChange={(e) => setWhy(e.target.value)}- />- <Button variant="secondary" size="sm"- disabled={busy || locked}- onClick={() => onDecide("keep", why)}- >- {S.review.keep}- </Button>- <Button variant="primary" size="sm"- disabled={busy || locked}- onClick={() => onDecide("merge", why)}- >- {S.review.merge}- </Button>- </div>+ <Input+ size="sm"+ className="w-56"+ placeholder={S.review.rationalePlaceholder}+ value={why}+ disabled={busy || locked}+ onChange={(e) => setWhy(e.target.value)}+ />+ <Button variant="primary" size="sm"+ disabled={busy || locked}+ onClick={() => onDecide("merge", why)}+ >+ {S.review.merge}+ </Button>+ <Button variant="secondary" size="sm"+ disabled={busy || locked}+ onClick={() => onDecide("keep", why)}+ >+ {S.review.keep}+ </Button></div></div>);@@ -253,7 +258,9 @@ function FactRow({{fact.object_name ?? "?"}</span>{range && <span className="text-small text-ink-2">({range})</span>}- <span className="u-chip u-chip-warn ml-auto">+ {/* 置信度是**一个数**,不是一个状态:与这一页另外三处置信度同一副+ 素色数字。从前这里是一枚填色的琥珀胶囊,同一个数在同一页有两副样子 */}+ <span className="ml-auto u-num text-small text-ink-2 shrink-0">{S.review.confidence(Math.round(fact.confidence * 100))}</span></div>@@ -262,19 +269,19 @@ function FactRow({“{fact.quote}”</p>)}- <div className="mt-3 flex gap-2 justify-end">- <Button variant="danger" size="sm"- disabled={busy}- onClick={onReject}- >- {S.review.reject}- </Button>+ <div className={CARD_ACTIONS}><Button variant="secondary" size="sm"disabled={busy}onClick={onConfirm}>{S.review.confirm}</Button>+ <Button variant="danger" size="sm"+ disabled={busy}+ onClick={onReject}+ >+ {S.review.reject}+ </Button></div></div>);@@ -329,17 +336,11 @@ function ConflictRow({({S.review.conflictSince(c.new_valid_from.slice(0, 10))})</span>)}- <span className="u-chip u-chip-warn ml-auto">+ <Status tone="warn" className="ml-auto shrink-0">{S.review.conflictReason[c.reason] ?? c.reason}- </span>+ </Status></div>- <div className="mt-3 flex items-center gap-2 justify-end">- <Button variant="danger" size="sm"- disabled={busy}- onClick={() => onResolve("reject_new")}- >- {S.review.rejectNew}- </Button>+ <div className={CARD_ACTIONS}><Button variant="secondary" size="sm"disabled={busy}onClick={() => onResolve("keep")}@@ -361,6 +362,12 @@ function ConflictRow({? S.review.closeOldAt(c.new_valid_from.slice(0, 10)): S.review.closeOld}</Button>+ <Button variant="danger" size="sm"+ disabled={busy}+ onClick={() => onResolve("reject_new")}+ >+ {S.review.rejectNew}+ </Button></div></div>);@@ -414,13 +421,7 @@ function UnconfirmedRow({“{fact.quote}”</p>)}- <div className="mt-3 flex items-center gap-2 justify-end">- <Button variant="danger" size="sm"- disabled={busy}- onClick={onReject}- >- {S.review.reject}- </Button>+ <div className={CARD_ACTIONS}><Input size="sm" className="u-num w-28 text-center"placeholder={S.review.closeAtPlaceholder}value={closeAt}@@ -436,6 +437,12 @@ function UnconfirmedRow({? S.review.closeFactAt(closeAt.trim()): S.review.closeFact}</Button>+ <Button variant="danger" size="sm"+ disabled={busy}+ onClick={onReject}+ >+ {S.review.reject}+ </Button></div></div>);@@ -468,9 +475,7 @@ function MergeRow({</div></div>{merge.reverted_at ? (- <span className="u-chip u-chip-neutral shrink-0">- {S.review.reverted}- </span>+ <Status className="shrink-0">{S.review.reverted}</Status>) : (<Button variant="secondary" size="sm" className="shrink-0"disabled={busy}@@ -532,16 +537,16 @@ function AgentRow({return (<div className="glass rounded-panel px-4 py-3"><div className="flex items-center gap-3">- <Chip tone={AGENT_ACTION_TONE[d.action]}>{S.review.agentActions[d.action]}</Chip>+ <Status tone={AGENT_ACTION_TONE[d.action]}>{S.review.agentActions[d.action]}</Status><span className="text-body text-ink-2 truncate min-w-0">{d.left ?? "?"} ≟ {d.right ?? "?"}</span><span className="u-num text-small text-ink-2 shrink-0">{Math.round(d.confidence * 100)}%</span>- <Chip tone={AGENT_STATUS_TONE[d.status]} className="ml-auto shrink-0">+ <Status tone={AGENT_STATUS_TONE[d.status]} className="ml-auto shrink-0">{S.review.agentStatus[d.status]}- </Chip>+ </Status></div>{/* defer 留下的问题(第二刀):这是给人看的正文,不是注脚 */}{d.question && (@@ -752,7 +757,7 @@ function DefectRow({))}</div>)}- <div className="mt-2 flex gap-2">+ <div className={CARD_ACTIONS}><Button variant="secondary" size="sm"disabled={busy}onClick={() => onDecide("accepted")}@@ -843,7 +848,7 @@ function ViolationRow({</div>))}</div>- <div className="mt-2 flex gap-2 flex-wrap">+ <div className={CARD_ACTIONS}><Button variant="secondary" size="sm"disabled={busy}onClick={() => onDecide("accepted")}@@ -922,7 +927,7 @@ function ContradictionRow({</div></div><p className="mt-2 text-small text-ink-2">{hint}</p>- <div className="mt-2 flex gap-2 flex-wrap items-center">+ <div className={CARD_ACTIONS}>{/* 不用日期选择器:它逼人给出一个日,而「那年结束的」正是这里常见的答案。写多少位就是多少精度(time.ts) */}<Input size="sm" className="u-num w-28 text-center"@@ -1516,9 +1521,9 @@ export function Review() {selectable().length > 0 &&selectable().every((d) => picked.has(d.id))}- onChange={(e) =>+ onChange={(v) =>setPicked(- e.target.checked+ v? new Set(selectable().map((d) => d.id)): new Set(),)diff --git a/web/src/pages/ServerDown.tsx b/web/src/pages/ServerDown.tsxindex 96e87727..1aa91a43 100644--- a/web/src/pages/ServerDown.tsx+++ b/web/src/pages/ServerDown.tsx@@ -6,7 +6,7 @@ import { S } from "../i18n";import {Button,Wordmark,-} from "../ui";+ buttonLike,} from "../ui";import { usePageTitle } from "../useTitle";import { LoginScene } from "./LoginScene";@@ -59,7 +59,7 @@ export function NotFound() {usePageTitle(S.app.name, "Punishment 404");return (<PunishmentPage message={S.nav.notFound}>- <Link to="/" className="u-btn u-btn-ghost px-4 py-2 text-small flex items-center gap-2">+ <Link to="/" className={buttonLike("ghost")}><Home size={12} />{S.nav.returnHome}</Link>diff --git a/web/src/pages/Settings.tsx b/web/src/pages/Settings.tsxindex afd1cd84..75ff5d5f 100644--- a/web/src/pages/Settings.tsx+++ b/web/src/pages/Settings.tsx@@ -27,7 +27,7 @@ import {THead,Tr,PageHeader,-} from "../ui";+ chipLike,} from "../ui";import { Members } from "./Members";/** 管理页的五节。**它们是左栏的第二层,不是正文顶上的一条 tab 带**——@@ -106,7 +106,7 @@ function SourceGrants({ sourceId }: { sourceId: string }) {{granted.map((w) => (<spankey={w.id}- className="u-chip u-chip-neutral text-fine flex items-center gap-1"+ className={chipLike("neutral", "text-fine flex items-center gap-1")}>{w.name}<IconButton size="sm" label={S.settings.datasources.grantRevoke}@@ -187,7 +187,7 @@ function DeploymentAdmin() {<Checkboxchecked={open}disabled={dep.isPending || save.isPending}- onChange={(e) => save.mutate({ open: e.target.checked })}+ onChange={(v) => save.mutate({ open: v })}label={S.settings.deployment.openReg}hint={S.settings.deployment.openRegHint}/>@@ -289,7 +289,7 @@ function DeploymentAdmin() {key={key}className="flex items-center gap-2 py-3 text-small first:pt-0">- <span className="u-chip u-chip-neutral !text-fine !px-2 shrink-0">+ <span className={chipLike("neutral", "text-fine px-2 shrink-0")}>{m.kind}</span><span className="font-mono text-ink-2 truncate">{m.model}</span>diff --git a/web/src/pages/Shell.tsx b/web/src/pages/Shell.tsxindex c8dedf6f..4f2fe77e 100644--- a/web/src/pages/Shell.tsx+++ b/web/src/pages/Shell.tsx@@ -97,9 +97,9 @@ export function Shell() {字标与切换器之间 gap-6(切换器自己只有 px-2):切换器的图标正好落在第二个标签的图标上(132;英文界面下的巧合,字标或标签一换尺寸就得重量)——两行同一套节奏 */}- <header className="glass-strong relative z-40 border-x-0 border-t-0 h-14 shrink-0 flex items-center gap-6 px-8">+ <header className="glass-strong relative z-40 border-x-0 border-t-0 h-12 shrink-0 flex items-center gap-6 px-2">{/* 字标:逐字母淡入,hover 浮出 ↗,点击去官网 */}- <Wordmark className="u-wordmark-top" />+ <Wordmark className="u-wordmark-top pl-3" />{/* 知识库切换器紧跟字标,中间不画斜杠——它不是面包屑的第二级,就是「现在在哪个库」。Workspace 已从概念层折叠为部署级隐形管道(settings/members 仍经它走 API,如 organizations 之于单租户)。@@ -116,9 +116,14 @@ export function Shell() {/></header>- {/* Tab 导航条:图标 + 文字,激活态下划线(Vercel 式) */}- {/* px-4 + 标签自己的左 16:第一个标签的图标与字标同在 32 */}- <nav className="glass-strong border-x-0 border-t-0 shrink-0 flex items-stretch gap-1 px-4">+ {/* Tab 导航条:图标 + 文字,选中的那一项是一颗填底的药丸。+ **左边一条线:盒从 8 起,内容从 20 起**——与左栏完全一样+ (栏 px-2 = 8,行 px-3 = 12,于是图标落在 20、文字落在 42)。+ 顶栏的字标也按这条线:header pl-2 + 字标 pl-3 = 20。+ 三处左缘从此是同一条竖线,往下看不会错位。+ py-1 而不是 py-2:药丸自己已经 32 高,外面再垫 8 上下,整条 48,+ 压着下面的正文;垫 4 是 40,与顶栏 48 加起来正好一屏不占太多 */}+ <nav className="glass-strong border-x-0 border-t-0 shrink-0 flex items-center gap-1 px-2 py-1">{TABS.map(({ to, label, Icon }) => (<Linkkey={to}diff --git a/web/src/pages/Tokens.tsx b/web/src/pages/Tokens.tsxindex 96c2260b..19c10924 100644--- a/web/src/pages/Tokens.tsx+++ b/web/src/pages/Tokens.tsx@@ -20,14 +20,14 @@ import {Loading,MultiSearchSelect,PageHeader,- Radio,+ RadioGroup,Table,TBody,Td,Th,THead,Tr,-} from "../ui";+ buttonLike,} from "../ui";import { toast } from "../toast";const ymd = (iso: string) => iso.slice(0, 10);@@ -63,7 +63,7 @@ function CopyButton({ text, small }: { text: string; small?: boolean }) {const [done, setDone] = useState(false);return (<Button variant="secondary" size="sm"- className={`u-btn u-btn-ghost ${small ? "px-2 py-1 text-fine" : "px-3 py-2 text-small"} flex items-center gap-2`}+ className={buttonLike("ghost", small ? "sm" : "md")}onClick={() => {copyText(text);setDone(true);@@ -346,17 +346,16 @@ export function Tokens() {<div className="grid grid-cols-2 gap-4">{/* 二选一,且两个选项都要读得到——单选按钮,不是一排按钮 */}<Field label={S.account.tokenScope} hint={S.account.scopeHint}>- <div className="flex h-8 items-center gap-4">- {(["read", "write"] as const).map((s) => (- <Radio- key={s}- name="token-scope"- checked={scope === s}- onChange={() => setScope(s)}- label={s === "read" ? S.account.scopeRead : S.account.scopeWrite}- />- ))}- </div>+ <RadioGroup+ name="token-scope"+ className="flex h-8 flex-row items-center gap-4"+ value={scope}+ onChange={(v) => setScope(v)}+ options={[+ { value: "read" as const, label: S.account.scopeRead },+ { value: "write" as const, label: S.account.scopeWrite },+ ]}+ /></Field><Field label={S.account.tokenExpires}><Dropdowndiff --git a/web/src/pages/UserMenu.tsx b/web/src/pages/UserMenu.tsxindex 0a7b2001..e476f0a7 100644--- a/web/src/pages/UserMenu.tsx+++ b/web/src/pages/UserMenu.tsx@@ -1,25 +1,27 @@+import { Button, Chip, MenuSelect } from "../ui";import {- Button,- cn,- Row,-} from "../ui";+ DropdownMenu,+ DropdownMenuContent,+ DropdownMenuItem,+ DropdownMenuTrigger,+} from "@/components/ui/dropdown-menu";/* 用户菜单:顶栏右侧的头像胶囊 + 弹出面板(个人信息 / 系统管理 / 登出)。Shell(KB 工作区)与 AccountShell(账户层)共用。 */-import { useState } from "react";+import { useState, type ReactNode } from "react";import { useQueryClient } from "@tanstack/react-query";import { useNavigate } from "@tanstack/react-router";import {- Check,- ChevronDown,Languages,Layers,+ Monitor,+ Moon,LogOut,ShieldCheck,+ Sun,UserRound,SunMoon,} from "lucide-react";import { api, type User } from "../api";-import { usePopoverFlip } from "../ui/popoverFlip";import { LANGS, LANG_NAMES, S, lang, setLang } from "../i18n";/** 首字母头像:中性灰底(chrome 零色偏),拉丁取词首两枚,CJK 取前两字。 */@@ -44,13 +46,19 @@ import { getTheme, setTheme, type Theme } from "../theme";// 三档的顺序就是菜单里的顺序:本色在前,跟系统在最后const THEMES: Theme[] = ["dark", "light", "system"];+/** 三档主题各自的符号:月亮 / 太阳 / 一块屏(跟着系统走的那一档,说的是"这台机器") */+const THEME_ICONS: Record<Theme, ReactNode> = {+ dark: <Moon size={13} />,+ light: <Sun size={13} />,+ system: <Monitor size={13} />,+};++/** 菜单里的一行:与顶栏另外两个面板的行同一副(px-4 py-2,正文号,图标 gap 3) */+const ITEM = "gap-3 rounded-none px-4 py-2 text-body";export function UserMenu({ user }: { user: User }) {const [theme, setThemeState] = useState<Theme>(() => getTheme());- // 原地变形(FLIP):胶囊"长成"面板。实现共用,见 ui/popoverFlip——- // 告警铃铛就在旁边,两处各写一遍迟早会差出一点点- const { open, setOpen, close, rootRef, anchorRef, panelRef } =- usePopoverFlip<HTMLButtonElement, HTMLDivElement>();+ const [open, setOpen] = useState(false);const navigate = useNavigate();const queryClient = useQueryClient();@@ -68,145 +76,94 @@ export function UserMenu({ user }: { user: User }) {// 行通到面板边缘(与 Dropdown 同语汇):容器不留内衬,高度由行自身撑return (- <div ref={rootRef} className="relative">- <Button- variant="ghost"- ref={anchorRef}- className={cn("u-avatar-btn", open && "is-hidden")}- onClick={() => setOpen((v) => !v)}- >- {/* 24:胶囊是 32 高(顶栏所有控件同一个高度),头像两边各留 4 */}- <Avatar name={user.display_name} size={24} />- <span className="text-body text-ink-2">{user.display_name}</span>- </Button>-- {open && (- <div- ref={panelRef}- className="u-menu-glass absolute right-0 top-0 w-64 rounded-overlay u-lift-strong z-50 overflow-hidden"- >- {/* 身份头:再点一下缩回胶囊 */}- <div- onClick={close}- className="u-row-shell flex cursor-pointer items-center gap-3 border-b border-line px-4 py-3"- >- <Avatar name={user.display_name} size={32} />- <div className="min-w-0 flex-1">- <div className="flex items-center gap-2">- <span className="truncate text-body font-medium text-ink">- {user.display_name}- </span>- {user.is_admin && (- <span className="u-chip u-chip-neutral !text-fine !px-2">- {S.account.adminChip}- </span>- )}- </div>- <div className="truncate text-fine text-ink-2">- {user.email}- </div>+ /* 顶栏的用户菜单。**是菜单不是面板**,所以用 DropdownMenu 而不是 Popover:+ 它要的是「一列动作」加上二级菜单。语言与主题收进二级——语言以后会有好几种,+ 主题有三档,全都平铺在一级里,这张菜单会越长越长,而它们都属于「偏好」,+ 不是与个人资料、管理并列的动作。 */+ <DropdownMenu open={open} onOpenChange={setOpen}>+ <DropdownMenuTrigger asChild>+ <Button variant="ghost" className="u-avatar-btn">+ {/* 24:胶囊是 32 高(顶栏所有控件同一个高度),头像两边各留 4 */}+ <Avatar name={user.display_name} size={24} />+ <span className="text-body text-ink-2">{user.display_name}</span>+ </Button>+ </DropdownMenuTrigger>+ {/* **行的节奏跟顶栏另外两个面板一样**(px-4 py-2 text-body,整行出血):+ shadcn 菜单项默认是 px-2 py-1.5,挨着库切换器和告警面板一看就更挤。+ 容器去掉 p-1,让行顶到边——悬停归行,与全站一致。 */}+ <DropdownMenuContent align="end" className="w-64 p-0">+ {/* 身份头:不是一个可点的项,只说"你是谁" */}+ <div className="flex items-center gap-3 border-b border-line px-4 py-3">+ <Avatar name={user.display_name} size={32} />+ <div className="min-w-0 flex-1">+ <div className="flex items-center gap-2">+ <span className="truncate text-body font-medium text-ink">+ {user.display_name}+ </span>+ {user.is_admin && (+ <Chip tone="neutral" className="text-fine">+ {S.account.adminChip}+ </Chip>+ )}</div>- {/* 朝上的三角:说明这一行是收回去的地方,同库切换器与告警面板。- 三个面板都从各自的胶囊原地长出来,也都从第一行原地缩回去 */}- <ChevronDown size={12} className="shrink-0 rotate-180 text-ink-2" />- </div>-- <div>- {/* 图标走 Row 的 icon 槽——塞在 children 里的 svg 是块级的,会把文字- 挤到第二行 */}- <Row- density="menu"- className="gap-3 px-4 py-2 text-body"- icon={<UserRound size={13} />}- onClick={() => go("/account")}- >- {S.account.profile}- </Row>- {/* 人人可看:全部可见库 + 我在每个库的身份 */}- <Row- density="menu"- className="gap-3 px-4 py-2 text-body"- icon={<Layers size={13} />}- onClick={() => go("/account/kbs")}- >- {S.account.kbsNav}- </Row>- {user.is_admin && (- <Row- density="menu"- className="gap-3 px-4 py-2 text-body"- icon={<ShieldCheck size={13} />}- onClick={() => go("/admin")}- >- {S.account.administration}- </Row>- )}+ <div className="truncate text-fine text-ink-2">{user.email}</div></div>+ </div>- {/* 界面语言:看的人自己定,不经过后端(docs/decisions/0004)。- 每个选项用**它自己的语言**写——看不懂英文的人才认得出"中文" */}- <div className="border-t border-line">- <div className="flex items-center gap-3 px-4 pt-3 pb-1 text-fine text-ink-2">- <Languages size={13} className="text-ink-2" />- {S.account.language}- </div>- {LANGS.map((l) => (- <Row- density="menu"- className="gap-3 px-4 py-2 text-body"- key={l}- icon={- <span className="block w-[13px]">- {l === lang && <Check size={13} className="text-ink-2" />}- </span>- }- onClick={() => setLang(l)}- >- {LANG_NAMES[l]}- </Row>- ))}- </div>+ <div className="py-1">+ <DropdownMenuItem className={ITEM} onSelect={() => go("/account")}>+ <UserRound size={13} />+ {S.account.profile}+ </DropdownMenuItem>+ {/* 人人可看:全部可见库 + 我在每个库的身份 */}+ <DropdownMenuItem className={ITEM} onSelect={() => go("/account/kbs")}>+ <Layers size={13} />+ {S.account.kbsNav}+ </DropdownMenuItem>+ {user.is_admin && (+ <DropdownMenuItem className={ITEM} onSelect={() => go("/admin")}>+ <ShieldCheck size={13} />+ {S.account.administration}+ </DropdownMenuItem>+ )}+ </div>- {/* 主题(0038):暗是本色,浅色给白天对着它八小时的人;跟系统是第三档。- 与语言同一个道理——看的人自己定,不经过后端 */}- <div className="border-t border-line">- <div className="flex items-center gap-3 px-4 pt-3 pb-1 text-fine text-ink-2">- <SunMoon size={13} className="text-ink-2" />- {S.account.theme}- </div>- {THEMES.map((t) => (- <Row- density="menu"- className="gap-3 px-4 py-2 text-body"- key={t}- icon={- <span className="block w-[13px]">- {t === theme && <Check size={13} className="text-ink-2" />}- </span>- }- onClick={() => {- setTheme(t);- setThemeState(t);- }}- >- {S.account.themeNames[t]}- </Row>- ))}- </div>+ {/* 语言与主题:**在值那一头弹出来**,不是把选项摊在下面,也不是往右+ 甩一张子菜单。这一行读起来是「语言:English」——要改的是冒号后面+ 那一格,弹层就该出现在那一格上,像填空。+ 用 shadcn 的 Select:它自己带 portal 与层叠,弹出时盖在菜单之上,+ 选完两层一起收。整行都是触发器,点哪儿都能开。 */}+ <div className="border-t border-line py-1">+ <MenuSelect+ icon={<Languages size={13} />}+ label={S.account.language}+ value={lang}+ onChange={(v) => setLang(v as (typeof LANGS)[number])}+ options={LANGS.map((l) => ({ value: l, label: LANG_NAMES[l] }))}+ />+ <MenuSelect+ icon={<SunMoon size={13} />}+ label={S.account.theme}+ value={theme}+ onChange={(v) => {+ setTheme(v as Theme);+ setThemeState(v as Theme);+ }}+ options={THEMES.map((t) => ({+ value: t,+ label: S.account.themeNames[t],+ icon: THEME_ICONS[t],+ }))}+ />+ </div>- <div className="border-t border-line">- <Row- density="menu"- danger- className="gap-3 px-4 py-2 text-body"- icon={<LogOut size={13} />}- onClick={logout}- >- {S.nav.signOut}- </Row>- </div>+ <div className="border-t border-line py-1">+ <DropdownMenuItem className={ITEM} variant="destructive" onSelect={logout}>+ <LogOut size={13} />+ {S.nav.signOut}+ </DropdownMenuItem></div>- )}- </div>+ </DropdownMenuContent>+ </DropdownMenu>);}diff --git a/web/src/pages/graphDialogs.tsx b/web/src/pages/graphDialogs.tsxindex dcb9cff2..7de60e16 100644--- a/web/src/pages/graphDialogs.tsx+++ b/web/src/pages/graphDialogs.tsx@@ -7,7 +7,7 @@ import { api, type EntityFact, type GraphNode } from "../api";import { S } from "../i18n";import { toast } from "../toast";import { fmtTime, parseDateInput } from "../time";-import { Field, FormDialog, Input, Radio, SearchSelect } from "../ui";+import { Field, FormDialog, Input, RadioGroup, SearchSelect } from "../ui";/* ---------- 实体:抽取给的是初判,判错此前只能整库重抽 ---------- */@@ -22,8 +22,7 @@ export function EntityDialog({entityId: string;entity: GraphNode;onClose: () => void;- /** 保存成功:带回同名的其他实体——改完名可能撞上一批新的同名 */- onSaved: (sameName: GraphNode[]) => void;+ onSaved: () => void;}) {const qc = useQueryClient();const [name, setName] = useState(entity.name);@@ -54,7 +53,7 @@ export function EntityDialog({qc.invalidateQueries({ queryKey: ["entity", kbId, entityId] });qc.invalidateQueries({ queryKey: ["graph", kbId] });qc.invalidateQueries({ queryKey: ["ontology", kbId] });- onSaved(r.same_name);+ onSaved();},onError: (err: Error) => toast.error(err.message),});@@ -184,22 +183,17 @@ export function FactTimeDialog({/></Field><Field label={S.graph.timeEnd}>- <div className="space-y-2">- {(- [- ["open", S.graph.timeEndOpen],- ["unknown", S.graph.timeEndUnknown],- ["date", S.graph.timeEndDate],- ] as const- ).map(([mode, label]) => (- <Radio- key={mode}- name={`end-${fact.id}`}- checked={endMode === mode}- onChange={() => setEndMode(mode)}- label={label}- >- {mode === "date" && endMode === "date" && (+ <RadioGroup+ name={`end-${fact.id}`}+ value={endMode}+ onChange={(v) => setEndMode(v)}+ options={[+ { value: "open" as const, label: S.graph.timeEndOpen },+ { value: "unknown" as const, label: S.graph.timeEndUnknown },+ {+ value: "date" as const,+ label: S.graph.timeEndDate,+ children: (<Inputsize="sm"value={to}@@ -207,10 +201,10 @@ export function FactTimeDialog({placeholder={S.graph.timeFormat}className="u-num ml-1 flex-1"/>- )}- </Radio>- ))}- </div>+ ),+ },+ ]}+ /></Field><Field label={S.graph.timeNote} className="mb-0"><Inputdiff --git a/web/src/pages/graphVisuals.test.ts b/web/src/pages/graphVisuals.test.tsindex c24f3ff2..657d1af0 100644--- a/web/src/pages/graphVisuals.test.ts+++ b/web/src/pages/graphVisuals.test.ts@@ -1,5 +1,5 @@-import { describe, expect, it } from "vitest";-import { mix } from "./graphVisuals";+import { afterEach, describe, expect, it } from "vitest";+import { flattenOnLight, mix } from "./graphVisuals";/* 混色的两端都可能是令牌读回来的 `rgb(...)`,不只是 `#rrggbb`。认不出的那一端从前会悄悄变成中灰——节点那圈环就是这么发闷的。 */@@ -8,6 +8,22 @@ describe("mix", () => {expect(mix("#000000", "#ffffff", 0.5)).toBe("rgb(128,128,128)");});+ /* **短写法是构建器压出来的,不是谁手写的。**令牌里写的是 `#ffffff`,+ Lightning CSS 打包时压成 `#fff`,读回来就是三位。只认六位的解析器在这里+ 会退回中灰——而 `mix(白, 类型色, t)` 混的一端成了灰,浅色下每个节点就变成+ 一块灰疙瘩。dev 不压缩,所以只有打包产物发作,看着像主题的毛病。 */+ it("takes the short hex a minifier leaves behind", () => {+ expect(mix("#fff", "#000", 0.5)).toBe("rgb(128,128,128)");+ // 认不出会退成中灰,于是白混白也还是 128——这一条正是要挡住它+ expect(mix("#fff", "#fff", 0.5)).toBe("rgb(255,255,255)");+ expect(mix("#f00", "#ffffff", 0.5)).toBe("rgb(255,128,128)");+ });++ it("takes hex with alpha on either end", () => {+ expect(mix("#ffffffff", "#000000", 0.5)).toBe("rgb(128,128,128)");+ expect(mix("#fff8", "#ffffff", 0)).toBe("rgb(255,255,255)");+ });+it("takes rgb() on either end, the way a token reads back", () => {// 红 → 白,一半:认得出 rgba 才会是 255,128,128;认不出就退成 192,64,64expect(mix("#ff0000", "rgba(255,255,255,1)", 0.5)).toBe("rgb(255,128,128)");@@ -20,3 +36,48 @@ describe("mix", () => {expect(ring).toBe("rgb(59,113,82)");});});++/* 浅色下 sigma 的边着色器是**加法**混合(ONE, ONE_MINUS_SRC_ALPHA,而且不预乘+ RGB):半透明压不暗一条线,只会把它加到纸上。所以边色必须在交给 sigma 之前+ 按底色摊平成不透明的 rgb。+ 这一组要摸 document(主题标记 + 底色令牌),而这个测试台按房规不起 DOM+ (vite.config.ts:纯逻辑单测)。两个最小替身就够——要测的是「读到什么、+ 算出什么」,不是浏览器。 */+describe("flattenOnLight", () => {+ const stub = (theme: string, ground = "250,250,250") => {+ const g = globalThis as Record<string, unknown>;+ g.document = { documentElement: { dataset: { theme } } };+ g.getComputedStyle = () => ({+ getPropertyValue: (n: string) => (n === "--u-ground-rgb" ? ground : ""),+ });+ };+ afterEach(() => {+ const g = globalThis as Record<string, unknown>;+ delete g.document;+ delete g.getComputedStyle;+ });++ it("leaves a colour alone outside the light theme", () => {+ stub("dark");+ expect(flattenOnLight("rgba(176,120,20,0.6)")).toBe("rgba(176,120,20,0.6)");+ });++ it("flattens rgba against the paper", () => {+ stub("light");+ expect(flattenOnLight("rgba(176,120,20,0.6)")).toBe("rgb(206,172,112)");+ });++ /* **压缩之后的写法也要认。**令牌写的是 rgba(176,120,20,0.6),打包器压成+ #b0781499;只认 rgba(...) 的话它整个漏过去,那条派生边就被加成一道亮黄。 */+ it("flattens the hex-with-alpha a minifier leaves behind", () => {+ stub("light");+ expect(flattenOnLight("#b0781499")).toBe("rgb(206,172,112)");+ expect(flattenOnLight("#1717175c")).not.toContain("#");+ });++ it("leaves an opaque colour as it is", () => {+ stub("light");+ expect(flattenOnLight("#e4e4e4")).toBe("#e4e4e4");+ expect(flattenOnLight("rgb(20,20,20)")).toBe("rgb(20,20,20)");+ });+});diff --git a/web/src/pages/graphVisuals.ts b/web/src/pages/graphVisuals.tsindex 2fcc0747..45deee6f 100644--- a/web/src/pages/graphVisuals.ts+++ b/web/src/pages/graphVisuals.ts@@ -14,8 +14,12 @@ import type Sigma from "sigma";export let NODE_SHELL_BASE = "#121212"; // 节点外壳深底(原 #0B1320 的中性化)export let NODE_CORE_BASE = "#767676"; // 节点核心灰(原 #5A7A9E 的中性化)export let NODE_BORDER_BASE = "#909090"; // 节点描边(原 #7A92AE 的中性化)-export const NODE_TINT_MIX = 0.14; // 类型色只按 14% 混入外壳(高级感的关键)-export const NODE_CORE_MIX = 0.5; // 核心向类型色的混入比例+/* 配方的**比例两个主题共用**,随主题变的只有上面那三个底色。节点永远是+ 「壳 + 彩心」:壳跟着纸走(深色 #121212,浅色 #ffffff),类型色只按 14%+ 渗进壳里,核心收 50% ——于是两个主题里中间那一点都是这个类自己的颜色,+ 变的只是它坐在黑底上还是白底上。 */+export const NODE_TINT_MIX = 0.14; // 类型色混入外壳的比例+export const NODE_CORE_MIX = 0.5; // 类型色混入核心的比例/* 状态环取**节点自己的类型色**,不是写死的色相。往白里混而不是直接用原色:环画在节点自己身上,同色同亮度就看不出是个环。**悬停混得更白、选中混得更少**——悬停时全图不压暗,环要在一片乱线里立刻跳出来;选中时其余都@@ -57,11 +61,29 @@ export const CANVAS_LABEL_SIZE = 11;export const CANVAS_TITLE_SIZE = 14; // --text-bodyexport const CANVAS_META_SIZE = 12; // --text-fine+/** `#rgb` / `#rgba` / `#rrggbb` / `#rrggbbaa` 都收。+ *+ * **短写法是必须收的,不是顺手**:这些值是从 CSS 令牌读回来的,而构建时+ * Lightning CSS 会把 `#ffffff` 压成 `#fff`。从前这里只认六位,于是浅色主题+ * 的白色令牌全部落到下面那句兜底上——静静地变成中灰 128,128,128。画布上+ * 看到的就是「浅色下每个节点都是一块灰疙瘩」:节点外壳的底色本该是纸白,+ * 读成了中灰,四层配方一层塌了。dev 下 CSS 不压缩,所以只有打包产物发作。 */export function hexToRgb(hex: string): [number, number, number] {- const m = /^#?([0-9a-f]{6})$/i.exec(hex);- if (!m) return [128, 128, 128];- const v = parseInt(m[1], 16);- return [(v >> 16) & 255, (v >> 8) & 255, v & 255];+ const [r, g, b] = hexToRgba(hex);+ return [r, g, b];+}++/** 同上,连 alpha 一起。八位写法的最后两位是 alpha;没写就是 1 */+export function hexToRgba(hex: string): [number, number, number, number] {+ const m = /^#?([0-9a-f]{3,8})$/i.exec(hex.trim());+ if (!m) return [128, 128, 128, 1];+ let h = m[1];+ // 短写法每一位翻倍:#1a2 → #11aa22,#1a2f → #11aa22ff+ if (h.length === 3 || h.length === 4) h = [...h].map((c) => c + c).join("");+ if (h.length !== 6 && h.length !== 8) return [128, 128, 128, 1];+ const v = parseInt(h.slice(0, 6), 16);+ const a = h.length === 8 ? parseInt(h.slice(6), 16) / 255 : 1;+ return [(v >> 16) & 255, (v >> 8) & 255, v & 255, a];}/** c1 向 c2 按 t 比例混色 */@@ -82,10 +104,7 @@ export function mix(c1: string, c2: string, t: number): string {* 与 `mix` 分工:那个只吃 hex、只管把类型色按比例调进壳色(节点的配方);* 这个要处理边的 `rgba(...)` 与淡入淡出,两边都得能解析、alpha 不能丢 */function parseRgba(c: string): [number, number, number, number] {- if (c.startsWith("#")) {- const [r, g, b] = hexToRgb(c);- return [r, g, b, 1];- }+ if (c.startsWith("#")) return hexToRgba(c);const m = c.match(/rgba?\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)(?:[,\s/]+([\d.]+))?/,);@@ -313,16 +332,24 @@ export function inkAt(alpha: number): string {* 纸底上同一个 rgba(90,90,90,0.25) 加上去就溢出成白——「没选中时所有线都是白的」* 就是这么来的。暗度必须编码进 RGB(Graph.tsx 里 EDGE_DIM 那条注释说的同一件事)。* 暗色那一套是加法下调出来的,不动;浅色把 α 在这里就混掉。 */-function flattenOnLight(color: string): string {+export function flattenOnLight(color: string): string {if (typeof document === "undefined" || document.documentElement.dataset.theme !== "light") {return color;}- const m = /^rgba\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)$/.exec(color);- if (!m) return color;- const a = Number(m[4]);- const ground = token("--u-ground-rgb", "250,250,250").split(",").map((v) => Number(v.trim()));- const ch = (i: number) => Math.round(Number(m[i]) * a + ground[i - 1] * (1 - a));- return `rgb(${ch(1)},${ch(2)},${ch(3)})`;+ /* **两种写法都要认。**令牌里写的是 `rgba(176,120,20,0.6)`,打包时 Lightning CSS+ 把它压成 `#b0781499` —— 同一个颜色,十六进制带 alpha。从前这里只有一条+ `rgba(...)` 的正则,压缩之后的写法整个漏过去,半透明没摊平就交给了 sigma,+ 于是那条派生边在纸底上被**加**成一道亮黄。(它没早点炸,是因为另一个 bug+ 兜住了:只认六位的 `hexToRgb` 把 `#b0781499` 读成不透明的中灰,线画成了灰的。+ 两个错凑成一个看着还行的结果,修好一个另一个就露出来。)+ 走 `parseRgba` 就不用管写法;alpha 已经是 1 的原样退回,省一次无谓的改写。 */+ const [r, g, b, a] = parseRgba(color);+ if (a >= 1) return color;+ const ground = token("--u-ground-rgb", "250,250,250")+ .split(",")+ .map((v) => Number(v.trim()));+ const ch = (v: number, i: number) => Math.round(v * a + ground[i] * (1 - a));+ return `rgb(${ch(r, 0)},${ch(g, 1)},${ch(b, 2)})`;}/** 启动时和切主题后调一次,然后 `sigma.refresh()`。 */diff --git a/web/src/pages/ontologyDialogs.tsx b/web/src/pages/ontologyDialogs.tsxindex 4b2a8ea4..22a586b2 100644--- a/web/src/pages/ontologyDialogs.tsx+++ b/web/src/pages/ontologyDialogs.tsx@@ -531,7 +531,7 @@ export function PropertyDialog({<Checkboxkey={i}checked={on}- onChange={(e) => set(e.target.checked)}+ onChange={(v) => set(v)}label={title}hint={hint}/>@@ -741,7 +741,7 @@ export function AttributeDialog({<div className="mb-4"><Checkboxchecked={single}- onChange={(e) => setSingle(e.target.checked)}+ onChange={(v) => setSingle(v)}label={S.ontology.attrSingle}/></div>diff --git a/web/src/pages/ontologyTables.tsx b/web/src/pages/ontologyTables.tsxindex 4f1752e5..2092f189 100644--- a/web/src/pages/ontologyTables.tsx+++ b/web/src/pages/ontologyTables.tsx@@ -42,7 +42,7 @@ import {Th,THead,Tr,-} from "../ui";+ chipLike,} from "../ui";export type TableTab = "classes" | "properties" | "attributes";@@ -239,7 +239,7 @@ function ClassesTable({把它们都列着 */}{t.parents.length > 1 && (<span- className="u-chip u-chip-neutral shrink-0 !px-2 !text-fine"+ className={chipLike("neutral", "shrink-0 px-2 text-fine")}title={S.ontology.multiParentHint}>+{t.parents.length - 1}@@ -310,7 +310,7 @@ function Axioms({ r }: { r: RelationTypeView }) {return (<span className="flex flex-wrap gap-1">{shown.map(([, mark, title]) => (- <span key={mark} className="u-chip u-chip-neutral !px-2 !text-fine" title={title}>+ <span key={mark} className={chipLike("neutral", "px-2 text-fine")} title={title}>{mark}</span>))}diff --git a/web/src/styles.css b/web/src/styles.cssindex 2951f64c..147d38e3 100644--- a/web/src/styles.css+++ b/web/src/styles.css@@ -1,4 +1,10 @@@import "tailwindcss";+@import "tw-animate-css";+@import "shadcn/tailwind.css";+@import "./typeset.css";+@import "@fontsource-variable/geist";++@custom-variant dark (&:is(.dark *));@plugin "@tailwindcss/typography";@theme {@@ -45,16 +51,17 @@--color-accent: var(--u-accent);--color-bar: var(--u-bar);- /* 圆角四档(规矩 3)。**按角色命名,不按尺寸**——同 ink / ink-2 的道理:- `rounded-panel` 说得出「这是个面板」,`rounded-lg` 只说得出 8px,而- style-guard 检查的是角色用错没有,不是数字对不对。- 分档的理由是同一个绝对半径在不同尺寸上圆润度不同:8px 放在 24px 高的- chip 上很圆,放在 300px 高的面板上几乎是直角——「一个圆角」统一的是- 数字,不是观感。嵌套时内档不得大于外档(control 6 < panel 8)。 */- --radius-cell: 4px;- --radius-control: 6px;- --radius-panel: 8px;- --radius-overlay: 12px;+ /* 圆角四档(规矩 3)。**按角色命名,数由预设给**——名字说得出「这是个面板」,+ `rounded-lg` 只说得出 10px,而 style-guard 检查的是角色用错没有,不是数字+ 对不对。从前这四个数是自己挑的(4/6/8/12),于是 shadcn 的按钮写死+ `rounded-lg`=10 时,它装在我们 8px 的卡片里——内圈比外圈还圆。+ 现在四档全部从 `--radius` 派生,**倍数与 shadcn 自己的用法对齐**:+ 它的菜单项是 md、按钮与浮层是 lg、卡片与对话框是 xl。整套圆润度只剩+ `--radius` 一个旋钮,调它一处,控件与面一起动。 */+ --radius-cell: calc(var(--radius) * 0.8);+ --radius-control: var(--radius);+ --radius-panel: calc(var(--radius) * 1.4);+ --radius-overlay: var(--radius);}/* 动效两档(规矩 5):进入用 fast,离开用 base。只在 ui/ 里用 */@@ -74,8 +81,11 @@font-family: var(--font-sans);color-scheme: dark;- /* 品牌字:碑铭式衬线(Marcellus 仅 400,一字不粗) */- --font-brand: "Marcellus", "Georgia", "Times New Roman", serif;+ /* 品牌字:Manrope(几何无衬线,可变字重)。与界面同族但不同款——+ 字标要认得出是"名字",不是又一行界面文字,所以给它 600 一档的重量和+ 收紧一点的字距;几何体的字面本来就宽,0.06em 那种碑铭式的拉距在这里+ 会散。退回 Geist 与系统无衬线 */+ --font-brand: "Manrope", "Geist", system-ui, sans-serif;--u-ground: #0a0a0a;/* 字色两档,不是三档。第三档(原 #7c7c7c)取消了:它承担的是"次要里的@@ -237,6 +247,38 @@--u-code-class: #5fd4d0;--u-code-template: #c4a5ff;--u-code-deletion: #ff8a9e;+ --background: oklch(1 0 0);+ --foreground: oklch(0.145 0 0);+ --card: oklch(1 0 0);+ --card-foreground: oklch(0.145 0 0);+ --popover: oklch(1 0 0);+ --popover-foreground: oklch(0.145 0 0);+ --primary: oklch(0.205 0 0);+ --primary-foreground: oklch(0.985 0 0);+ --secondary: oklch(0.97 0 0);+ --secondary-foreground: oklch(0.205 0 0);+ --muted: oklch(0.97 0 0);+ --muted-foreground: oklch(0.556 0 0);+ --accent: oklch(0.97 0 0);+ --accent-foreground: oklch(0.205 0 0);+ --destructive: oklch(0.577 0.245 27.325);+ --border: oklch(0.922 0 0);+ --input: oklch(0.922 0 0);+ --ring: oklch(0.708 0 0);+ --chart-1: oklch(0.87 0 0);+ --chart-2: oklch(0.556 0 0);+ --chart-3: oklch(0.439 0 0);+ --chart-4: oklch(0.371 0 0);+ --chart-5: oklch(0.269 0 0);+ --radius: 0.625rem;+ --sidebar: oklch(0.985 0 0);+ --sidebar-foreground: oklch(0.145 0 0);+ --sidebar-primary: oklch(0.205 0 0);+ --sidebar-primary-foreground: oklch(0.985 0 0);+ --sidebar-accent: oklch(0.97 0 0);+ --sidebar-accent-foreground: oklch(0.205 0 0);+ --sidebar-border: oklch(0.922 0 0);+ --sidebar-ring: oklch(0.708 0 0);}/* ---------- 浅色(0038):只改令牌,一条规则都不重写 ----------@@ -302,14 +344,18 @@--u-edge: rgba(23, 23, 23, 0.36);--u-edge-inferred: rgba(23, 23, 23, 0.18);--u-edge-dim: #e4e4e4;- --u-edge-focus: rgba(23, 23, 23, 0.85);+ /* **选中的线是深灰,不是墨黑**。这几档摊平之后是实色(见 flattenOnLight),+ 0.85 的墨压在纸上合成 #393939,一条细线看着还好,可选中之后线会加粗、+ 一次亮起十几条,整片就发死。0.68 合成 #5b5b5b:仍然是全图最重的东西,+ 但让得出位置给名字那块牌子(--u-pill-invert #3f3f3f 比它深一档) */+ --u-edge-focus: rgba(23, 23, 23, 0.68);--u-edge-derived: rgba(176, 120, 20, 0.6);--u-edge-derived-dim: rgba(176, 120, 20, 0.22);- --u-edge-derived-focus: rgba(150, 100, 10, 0.95);+ --u-edge-derived-focus: rgba(150, 100, 10, 0.8);--u-edge-subclass: rgba(23, 23, 23, 0.6);- --u-edge-subclass-focus: rgba(23, 23, 23, 0.9);+ --u-edge-subclass-focus: rgba(23, 23, 23, 0.72);--u-edge-relation: rgba(23, 23, 23, 0.4);- --u-edge-relation-focus: rgba(23, 23, 23, 0.85);+ --u-edge-relation-focus: rgba(23, 23, 23, 0.66);--u-edge-schema-dim: rgba(23, 23, 23, 0.12);/* 指到 0.03 → 选中 0.055,与暗色那边 0.045 → 0.09 同一个倍数,绝对值减半 */--u-active: rgba(0, 0, 0, 0.055);@@ -362,33 +408,6 @@ body::before {`glass-strong border-l-0` 这种写法里 border-l-0 是输的——左栏四边都有1px 边框,内容整体偏 1px,两个页面左上角本该重合的输入框差一像素。 */@layer components {- /* 文档正文(Tailwind 排版插件)。**颜色全部接到令牌上**,两个变体都不用:- 从前这里挂的是 `prose-invert`,那是插件的暗色变体——标题、链接、行内代码、- 表头一律取近白,压在纸底上就是一片看不见的白。而它的另一头(默认变体)- 又是插件自己那套灰阶,与这套界面的墨色不是一回事。- 插件把每一处颜色都留成了 `--tw-prose-*`,所以这里只需把它们接到- `--u-text` / `--u-text-2` / `--u-line` 上,浅暗两套跟着主题走,- 页面上不再需要任何 `dark:` 或 invert 的判断。 */- .u-doc-prose {- --tw-prose-body: var(--u-text-2);- --tw-prose-headings: var(--u-text);- --tw-prose-lead: var(--u-text-2);- --tw-prose-links: var(--u-text);- --tw-prose-bold: var(--u-text);- --tw-prose-counters: var(--u-text-2);- --tw-prose-bullets: var(--u-line-strong);- --tw-prose-hr: var(--u-line);- --tw-prose-quotes: var(--u-text);- --tw-prose-quote-borders: var(--u-line);- --tw-prose-captions: var(--u-text-2);- --tw-prose-code: var(--u-text);- --tw-prose-kbd: var(--u-text);- --tw-prose-kbd-shadows: var(--u-ink-rgb);- --tw-prose-pre-code: var(--u-text);- --tw-prose-pre-bg: var(--u-well);- --tw-prose-th-borders: var(--u-line-strong);- --tw-prose-td-borders: var(--u-line);- }/* 浮起:页面只说"浮哪一档",深浅交给主题 */.u-lift {@@ -668,57 +687,6 @@ body::before {@layer components {/* ---- form controls ---- */-/* 输入框:无填充、细线。玻璃左栏、玻璃工具条上的输入框不该再是面上叠面——- 一条 line 粗细的线把它圈出来就够了;悬停与聚焦线都只亮一档,聚焦的信号- 在外面那圈光晕上——它要亮到隔着半个屏幕也看得出光标在哪,线本身不必变白。- 与顶栏无背景的切换器同一个逻辑 */-.input-dark {- background: transparent;- border: 1px solid var(--u-line);- color: var(--u-text);- border-radius: var(--radius-control);- transition:- border-color var(--u-fast),- box-shadow var(--u-fast);-}-.input-dark::placeholder {- color: var(--u-text-2);-}-.input-dark:hover:not(:disabled):not(:focus) {- border-color: var(--u-line-strong);-}-.input-dark:focus {- outline: none;- border-color: var(--u-line-strong);- box-shadow: 0 0 0 3px rgba(var(--u-ink-rgb), 0.22);-}-.input-dark:disabled {- opacity: 0.4;- cursor: not-allowed;-}-/* 尺寸两档,与按钮同高:同一行里输入框与按钮顶齐是靠这个,不靠页面调 py */-.u-input-md {- height: 2rem;- padding: 0 0.75rem;- font-size: var(--text-body);- line-height: var(--text-body--line-height);-}-.u-input-sm {- height: 1.625rem;- padding: 0 0.625rem;- font-size: var(--text-small);- line-height: var(--text-small--line-height);-}-textarea.u-input-md,-textarea.u-input-sm {- height: auto;- padding-top: 0.375rem;- padding-bottom: 0.375rem;-}-select.input-dark option {- background: var(--u-ground);- color: var(--u-text);-}/* mono 输入框的 placeholder 回默认字体(提示语不是代码) */.u-placeholder-sans::placeholder {@@ -736,108 +704,10 @@ select.input-dark option {appearance: textfield;}-/* ---- buttons (Vercel: primary = white on black) ----- 基类管形状、动效、焦点、禁用;尺寸两档管高度与字号;变体只管颜色。- 页面不写 px/py/text-*,只选尺寸与变体(ui/index.tsx 的 Button)。- `u-btn-ghost` 是迁移期的旧名(有边框,等于 secondary);迁完删掉,- `u-btn-quiet` 那时改回 ghost 这个名字 */-.u-btn,-.btn-primary,-.btn-ghost {- display: inline-flex;- align-items: center;- justify-content: center;- gap: 0.375rem;- border-radius: var(--radius-control);- font-weight: 500;- white-space: nowrap;- transition:- background-color var(--u-fast),- border-color var(--u-fast),- color var(--u-fast);-}-.u-btn:focus-visible,-.btn-primary:focus-visible,-.btn-ghost:focus-visible {- outline: 2px solid var(--u-ring);- outline-offset: 2px;-}-.u-btn:disabled,-.btn-primary:disabled,-.btn-ghost:disabled {- opacity: 0.4;- cursor: not-allowed;-}-.u-btn-md {- height: 2rem;- padding: 0 0.75rem;- font-size: var(--text-body);- line-height: var(--text-body--line-height);-}-.u-btn-sm {- height: 1.625rem;- padding: 0 0.625rem;- font-size: var(--text-small);- line-height: var(--text-small--line-height);-}-/* 只有图标的按钮:正方形,图标居中 */-.u-btn-icon-md {- height: 2rem;- width: 2rem;- padding: 0;-}-.u-btn-icon-sm {- height: 1.625rem;- width: 1.625rem;- padding: 0;-}-.u-btn-primary,-.btn-primary {- background: var(--u-text);- border: 1px solid var(--u-text);- color: var(--u-on-accent);- font-weight: 600;-}-.u-btn-primary:hover:not(:disabled),-.btn-primary:hover:not(:disabled) {- background: var(--u-text);- border-color: var(--u-text);-}-.u-btn-secondary,-.u-btn-ghost,-.btn-ghost {- border: 1px solid var(--u-line-strong);- color: var(--u-text-2);- background: transparent;-}-.u-btn-secondary:hover:not(:disabled),-.u-btn-ghost:hover:not(:disabled),-.btn-ghost:hover:not(:disabled) {- background: var(--u-surface-2);- color: var(--u-text);- border-color: rgba(var(--u-ink-rgb), 0.22);-}-/* 无边框:行内动作、图标按钮、工具条 */-.u-btn-quiet {- border: 1px solid transparent;- color: var(--u-text-2);- background: transparent;-}-.u-btn-quiet:hover:not(:disabled) {- background: var(--u-surface-2);- color: var(--u-text);-}-/* 危险实底:深红配白字(浅玫瑰做底会发粉,见 --u-danger-solid) */-.u-btn-danger {- background: var(--u-danger-solid);- border: 1px solid var(--u-danger-solid);- color: var(--u-text);- font-weight: 600;-}-.u-btn-danger:hover:not(:disabled) {- background: var(--u-danger-solid-hover);- border-color: var(--u-danger-solid-hover);-}+/* ---- buttons ----+ 按钮的样子在 `@/components/ui/button`(shadcn,radix base / nova preset),+ 语义壳在 `ui/index.tsx`。这里从前有一百多行手写的按钮类,随迁移删了;+ 留这一句是给按图索骥的人看的:**别在这个文件里再写按钮**。 *//* 行里的小柄(树的折叠箭头):不是按钮——按钮里不能再嵌按钮——但要有 hover */.u-toggle {@@ -958,6 +828,9 @@ select.input-dark option {.group:hover .u-reveal,.u-reveal:focus-visible,.u-reveal:focus,+/* 菜单开着的时候也留着:Radix 一开菜单就把焦点移进菜单里,触发器既不 hover+ 也不 focus,按原来的规则会当场隐身——菜单还浮着,它的那个按钮没了 */+.u-reveal[data-state="open"],.u-reveal.is-on {opacity: 1;}@@ -1024,16 +897,6 @@ select.input-dark option {}/* 无皮输入:装在别的面里 */-.u-input-bare {- background: transparent;- border: 0;- outline: none;- padding: 0;- color: var(--u-text);-}-.u-input-bare::placeholder {- color: var(--u-text-2);-}/* 顶栏里的小链接(Docs、返回) */.u-navlink {@@ -1055,41 +918,36 @@ select.input-dark option {}/* 主导航的一页:图标 + 文字,激活态下划线 */+/* 顶栏导航的一项。**一颗药丸,不是一张标签纸**:+ 从前是「下划线 + 从线往上透一点光」,那是给直角界面配的——整条导航只有横平+ 竖直的线,而这套设计语言里一切有角的东西都是圆的(--radius 一个旋钮管着),+ 于是那排下划线在圆角的按钮、输入框、卡片中间显得格外硬。+ 现在选中的那一项是一颗填了底的药丸(与左栏选中的行、分段控件同一个记号,+ `--u-active`),指到的是浅一档的底。没有下划线,也就没有那道在纸底上会晕开+ 的光——纸底与暗底同一副样子,不再需要一个只在暗底成立的技巧。 */.u-tab {position: relative;- display: flex;+ display: inline-flex;align-items: center;gap: 0.5rem;- /* 左 16 与字标同缩进;右 20 给标签之间多留一口气,整行就不显得往里缩 */- padding: 0.75rem 1.25rem 0.75rem 1rem;+ height: 2rem;+ padding: 0 0.75rem;+ border-radius: var(--radius-control);font-size: var(--text-body);line-height: var(--text-body--line-height);font-weight: 500;color: var(--u-text-2);- /* 1px 的线:光晕已经在说「这一页」,线只用点到为止 */- border-bottom: 1px solid transparent;- transition: color var(--u-fast);+ transition:+ color var(--u-fast),+ background-color var(--u-fast);}.u-tab:hover {color: var(--u-text);+ background: var(--u-surface-2);}.u-tab.is-active {color: var(--u-text);- border-bottom-color: var(--u-text);-}-/* 选中的那一页从下划线往上透一点光:白 6% 在底,到一半高处就没了——说的是- 「光从线上来」,不是给标签涂一块底。压在文字后面,不接指针 */-.u-tab.is-active::before {- content: "";- position: absolute;- inset: 0;- z-index: -1;- background: linear-gradient(- to top,- rgba(var(--u-ink-rgb), 0.06),- rgba(var(--u-ink-rgb), 0) 50%- );- pointer-events: none;+ background: var(--u-active);}/* 批量选中的卡片:边框亮一档说「这张在批里」——不涂底,底还是玻璃 */@@ -1119,6 +977,17 @@ select.input-dark option {}/* 对话输入框的外壳 */+/* 答案滚到输入框上沿是**化开**,不是被切一刀。遮罩打在滚动区自己身上,+ 不是在输入框上面盖一条底色的渐变——盖底色要跟身后那块地的颜色对上,+ 而这一屏底下还有页面的微光,对不齐就成了一条平白的横带。遮罩不管底色:+ 最后那 2.5rem 里内容自己淡成透明,深浅两套皮肤都不用改。+ 底部留 pb-12(48px)比渐隐区高一档:滚到底时淡掉的是那块净空,+ 不是最后一行字。 */+.u-chat-fade {+ -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 2.5rem), transparent);+ mask-image: linear-gradient(to bottom, #000 calc(100% - 2.5rem), transparent);+}+.u-composer {border-radius: var(--radius-panel);border: 1px solid rgba(var(--u-ink-rgb), 0.12);@@ -1161,52 +1030,8 @@ select.input-dark option {}/* ---- chips ---- */-.u-chip {- display: inline-block;- border-radius: var(--radius-cell);- padding: 0.125rem 0.5rem;- font-size: var(--text-fine);- line-height: var(--text-fine--line-height);- white-space: nowrap;-}-.u-chip-neutral {- background: rgba(var(--u-ink-rgb), 0.08);- color: var(--u-text-2);-}-.u-chip-info {- background: rgba(var(--u-ink-rgb), 0.12);- color: var(--u-text);-}-.u-chip-success {- background: rgba(var(--u-ok-rgb), 0.12);- color: var(--u-ok);-}-.u-chip-warn {- background: rgba(var(--u-warn-rgb), 0.12);- color: var(--u-warn);-}/* 争议(0017 §3):与图上的争议边同一个色相 */-.u-chip-contest {- background: rgba(var(--u-contest-rgb), 0.14);- color: var(--u-contest);-}-.u-chip-danger {- background: rgba(var(--u-danger-rgb), 0.12);- color: var(--u-danger);-}-.u-chip-violet {- background: rgba(var(--u-violet-rgb), 0.12);- color: var(--u-violet);-}/* 可点的 chip:指针停上提亮一点 */-.u-chip-click {- cursor: pointer;- vertical-align: middle;- transition: filter var(--u-fast);-}-.u-chip-click:hover {- filter: brightness(1.25);-}}/* 浏览态里的程度标注:同一个警示色,但没有填充、没有药丸形状。@@ -1485,6 +1310,34 @@ a:hover > .u-mark-arrow {底取 surface-2(4.5% 白)——比 surface 重一档,因为它此刻是画面上唯一有内容的东西;扫光只有 5%,它是"还在动"的信号,不是要人去看的东西。 */+/* 还在想:**这句话自己在发光**,旁边不另立一个转动的零件。+ 一道亮带横扫过文字(background-clip: text 把渐变落在字身上),说的正是+ "这行字正在被写出来"——而转圈说的是"有个东西在忙",跟屏幕上其余的话没关系。+ 这也是骨架条那一套语言:亮带扫过占位的地方,表示内容在路上。 */+.u-thinking {+ background-image: linear-gradient(+ 90deg,+ rgba(var(--u-ink-rgb), 0.4) 35%,+ rgba(var(--u-ink-rgb), 0.95) 50%,+ rgba(var(--u-ink-rgb), 0.4) 65%+ );+ background-size: 250% 100%;+ -webkit-background-clip: text;+ background-clip: text;+ color: transparent;+ animation: u-thinking-kf 1.8s linear infinite;+}+/* 亮带**从左往右**扫:字是从左往右写的,光跟着写的方向走才像"这句话正在长出来"。+ 反过来扫会读成倒带。 */+@keyframes u-thinking-kf {+ from {+ background-position: -100% 0;+ }+ to {+ background-position: 100% 0;+ }+}+.u-skel {position: relative;overflow: hidden;@@ -1512,6 +1365,11 @@ a:hover > .u-mark-arrow {.u-skel::after {animation: none;}+ /* 不扫了就得把字还回来:透明的字配一张不动的渐变是读不出来的 */+ .u-thinking {+ background-image: none;+ color: var(--u-ink-2);+ }}/* 画布顶栏(图例那一排)给右侧停靠面板让开一条。@@ -1534,7 +1392,6 @@ a:hover > .u-mark-arrow {height: var(--text-body--line-height);}-/* ---- numbers in chrome: 默认字体(Geist)+ 等宽数字,不再用 mono ---- */.u-num {font-variant-numeric: tabular-nums;@@ -1779,8 +1636,9 @@ a:hover > .u-mark-arrow {从前它写的是 text-display,字号整体上移一档之后跟着涨到 24,比同一顶栏里的分区字标(text-title)大了一半,压着旁边的导航。20 是它原本的大小 */.u-wordmark-top {- font-size: 20px;- line-height: 28px;+ font-size: 18px;+ line-height: 26px;+ font-weight: 600;}/* 登录页与故障页正中的字标。它是品牌元素,不是界面文字,所以不在五档字号里——@@ -1788,9 +1646,122 @@ a:hover > .u-mark-arrow {.u-wordmark-hero {font-size: 3rem;line-height: 1;+ font-weight: 600;}/* 时间岛:投影从页面里收进来(0038) */.u-scrub-island {box-shadow: var(--u-lift-strong);}++@theme inline {+ --font-heading: var(--font-sans);+ /* **中文回退要留着**。preset 给的是 `'Geist Variable', sans-serif`——Geist 没有+ 汉字,回退到 `sans-serif` 就是系统默认那一款,与界面里其余的字不是一套。+ Geist Variable 排前面(preset 自带的那份,字重连续),后面接回我们原来的+ 栈:Geist(Google 那份,做静态回退)、Inter、**Noto Sans SC**。 */+ --font-sans: "Geist Variable", "Geist", "Inter", "Noto Sans SC", system-ui, sans-serif;+ --color-sidebar-ring: var(--sidebar-ring);+ --color-sidebar-border: var(--sidebar-border);+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);+ --color-sidebar-accent: var(--sidebar-accent);+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);+ --color-sidebar-primary: var(--sidebar-primary);+ --color-sidebar-foreground: var(--sidebar-foreground);+ --color-sidebar: var(--sidebar);+ --color-chart-5: var(--chart-5);+ --color-chart-4: var(--chart-4);+ --color-chart-3: var(--chart-3);+ --color-chart-2: var(--chart-2);+ --color-chart-1: var(--chart-1);+ --color-ring: var(--ring);+ --color-input: var(--input);+ --color-border: var(--border);+ --color-destructive: var(--destructive);+ --color-accent-foreground: var(--accent-foreground);+ --color-accent: var(--accent);+ --color-muted-foreground: var(--muted-foreground);+ --color-muted: var(--muted);+ --color-secondary-foreground: var(--secondary-foreground);+ --color-secondary: var(--secondary);+ --color-primary-foreground: var(--primary-foreground);+ --color-primary: var(--primary);+ --color-popover-foreground: var(--popover-foreground);+ --color-popover: var(--popover);+ --color-card-foreground: var(--card-foreground);+ --color-card: var(--card);+ --color-foreground: var(--foreground);+ --color-background: var(--background);+ --radius-sm: calc(var(--radius) * 0.6);+ --radius-md: calc(var(--radius) * 0.8);+ --radius-lg: var(--radius);+ --radius-xl: calc(var(--radius) * 1.4);+ --radius-2xl: calc(var(--radius) * 1.8);+ --radius-3xl: calc(var(--radius) * 2.2);+ --radius-4xl: calc(var(--radius) * 2.6);+}++.dark {+ --background: oklch(0.145 0 0);+ --foreground: oklch(0.985 0 0);+ --card: oklch(0.205 0 0);+ --card-foreground: oklch(0.985 0 0);+ --popover: oklch(0.205 0 0);+ --popover-foreground: oklch(0.985 0 0);+ --primary: oklch(0.922 0 0);+ --primary-foreground: oklch(0.205 0 0);+ --secondary: oklch(0.269 0 0);+ --secondary-foreground: oklch(0.985 0 0);+ --muted: oklch(0.269 0 0);+ --muted-foreground: oklch(0.708 0 0);+ --accent: oklch(0.269 0 0);+ --accent-foreground: oklch(0.985 0 0);+ --destructive: oklch(0.704 0.191 22.216);+ --border: oklch(1 0 0 / 10%);+ --input: oklch(1 0 0 / 15%);+ --ring: oklch(0.556 0 0);+ --chart-1: oklch(0.87 0 0);+ --chart-2: oklch(0.556 0 0);+ --chart-3: oklch(0.439 0 0);+ --chart-4: oklch(0.371 0 0);+ --chart-5: oklch(0.269 0 0);+ --sidebar: oklch(0.205 0 0);+ --sidebar-foreground: oklch(0.985 0 0);+ --sidebar-primary: oklch(0.488 0.243 264.376);+ --sidebar-primary-foreground: oklch(0.985 0 0);+ --sidebar-accent: oklch(0.269 0 0);+ --sidebar-accent-foreground: oklch(0.985 0 0);+ --sidebar-border: oklch(1 0 0 / 10%);+ --sidebar-ring: oklch(0.556 0 0);+}++@layer base {+ * {+ @apply border-border outline-ring/50;+ }+ body {+ @apply bg-background text-foreground;+ }+ html {+ @apply font-sans;+ }+}++/* ---- typeset:内置手册那一面 ----+ 官方那张 typeset.css 只管 `.typeset` 容器里的东西,容器外一律不碰。+ 这里只调它开放的那几个变量:字走我们已经装好的那两款(Geist 变体 ++ 等宽),**中文回退跟着 --font-sans 一起带过来**;正文 15px、行高 1.75、+ 段间距 1.25em 按 shadcn 文档给的文档预设。+ 颜色不在这儿定——typeset 用的是 currentColor 与 --typeset-muted/rule,+ 接到我们的令牌上,暗浅两套自动跟着走。 */+.typeset-docs {+ --typeset-font-body: var(--font-sans);+ --typeset-font-heading: var(--font-sans);+ --typeset-font-mono: var(--font-mono);+ --typeset-size: 15px;+ --typeset-leading: 1.75;+ --typeset-flow: 1.25em;+ --typeset-muted: var(--u-text-2);+ --typeset-rule: var(--u-line);+ color: var(--u-text);+}diff --git a/web/src/theme.ts b/web/src/theme.tsindex 8db843d5..65ccb168 100644--- a/web/src/theme.ts+++ b/web/src/theme.ts@@ -42,6 +42,11 @@ export function resolvedTheme(): Resolved {function apply(r: Resolved) {document.documentElement.dataset.theme = r;+ /* shadcn 的暗色变体认的是 `.dark` 这个类(`@custom-variant dark`),+ 我们自己的令牌与画布认的是 `data-theme`。**两个都落**:这样从 shadcn+ registry 里拿来的组件不用改一个字就跟着主题走,而 `data-theme` 那一套+ (画布读令牌、首帧前那段脚本)原样不动 */+ document.documentElement.classList.toggle("dark", r === "dark");for (const fn of listeners) fn(r);}diff --git a/web/src/typeset.css b/web/src/typeset.cssnew file mode 100644index 00000000..50794416--- /dev/null+++ b/web/src/typeset.css@@ -0,0 +1,490 @@+/*+ * shadcn/typeset+ * https://ui.shadcn.com/docs/typeset.+ */++@layer components {+ .typeset {+ --typeset-font-body: inherit;+ --typeset-font-heading: var(--font-heading);+ --typeset-font-mono: var(--font-mono);+ --typeset-size: 1em;+ --typeset-leading: 1.75;+ --typeset-flow: 1.25em;+ }+}++@layer components {+ .typeset {+ font-family: var(--typeset-font-body);+ font-size: calc(var(--typeset-size) * 1.125);+ line-height: var(--typeset-leading);+ color: var(--color-foreground, currentColor);+ overflow-wrap: break-word;+ margin-trim: block-start;++ @media (min-width: 48rem), print {+ font-size: var(--typeset-size);+ }++ --typeset-muted: var(+ --color-muted-foreground,+ color-mix(in oklab, currentColor 60%, transparent)+ );+ --typeset-rule: var(+ --color-border,+ color-mix(in oklab, currentColor 20%, transparent)+ );+ }++ .typeset+ *:not(+ :where(+ .not-typeset,+ [data-not-typeset],+ .not-typeset *,+ [data-not-typeset] *+ )+ ) {+ /* Paragraphs. */+ &:where(p) {+ margin-block-start: var(--typeset-flow);+ margin-block-end: 0;+ }++ /* Headings. */+ &:where(h1, h2, h3, h4, h5, h6) {+ color: var(--color-foreground, currentColor);+ font-family: var(--typeset-font-heading);+ font-weight: 600;+ margin-block-end: 0;+ }+ &:where(h1) {+ font-size: 1.75em;+ line-height: 1.3;+ margin-block-start: var(--typeset-flow);+ }+ &:where(h2) {+ font-size: 1.25em;+ line-height: 1.4;+ margin-block-start: calc(var(--typeset-flow) * 1.4);+ }+ &:where(h3) {+ font-size: 1.125em;+ line-height: 1.45;+ margin-block-start: var(--typeset-flow);+ }+ &:where(h4) {+ font-size: 1em;+ line-height: 1.5;+ margin-block-start: var(--typeset-flow);+ }+ &:where(h5) {+ font-size: 0.875em;+ line-height: 1.5;+ font-weight: 500;+ color: var(--typeset-muted);+ margin-block-start: calc(var(--typeset-flow) / 0.875);+ }+ &:where(h6) {+ font-size: 0.8125em;+ line-height: 1.5;+ font-weight: 500;+ letter-spacing: 0.08em;+ text-transform: uppercase;+ color: var(--typeset-muted);+ margin-block-start: calc(var(--typeset-flow) / 0.8125);+ }+ /* Anchors. */+ &:where([id]) {+ scroll-margin-block-start: var(--typeset-flow);+ }++ /* Headings own the space below them. */+ &:where(h1 + *, h2 + *, h3 + *, h4 + *, h5 + *, h6 + *) {+ margin-block-start: 1em;+ }+ &:where(:is(h1, h2, h3, h4) :is(code)) {+ font-size: 0.9em;+ }++ /* Links. */+ &:where(a) {+ color: inherit;+ font-weight: 500;+ text-decoration-line: underline;+ text-decoration-color: color-mix(in oklab, currentColor 30%, transparent);+ }+ &:where(a:hover) {+ text-decoration-color: currentColor;+ }+ &:where(a:focus-visible) {+ outline: 2px solid var(--color-ring, currentColor);+ outline-offset: 2px;+ border-radius: 0.125em;+ }+ &:where(:is(h1, h2, h3, h4, h5, h6) :is(a)) {+ font-weight: inherit;+ }++ /* Inline semantics. */+ &:where(strong, b) {+ font-weight: 600;+ }+ &:where(:is(h1, h2, h3, h4) :is(strong, b)) {+ font-weight: 600;+ }+ &:where(mark) {+ background-color: color-mix(+ in oklab,+ oklch(0.86 0.17 95) 40%,+ transparent+ );+ color: inherit;+ padding: 0.05em 0.15em;+ border-radius: 0.2em;+ }+ &:where(abbr[title]) {+ text-decoration-line: underline;+ text-decoration-style: dotted;+ text-underline-offset: 0.2em;+ cursor: help;+ }+ &:where(del, s) {+ color: var(--typeset-muted);+ text-decoration-line: line-through;+ }+ &:where(sup, sub) {+ font-size: 0.75em;+ line-height: 0;+ position: relative;+ vertical-align: baseline;+ }+ &:where(sup) {+ top: -0.5em;+ }+ &:where(sub) {+ bottom: -0.25em;+ }+ &:where(sup a) {+ text-decoration-line: none;+ font-weight: 500;+ }++ /* Lists. */+ &:where(ul) {+ list-style-type: disc;+ }+ &:where(ol) {+ list-style-type: decimal;+ }+ &:where(ul ul) {+ list-style-type: circle;+ }+ &:where(ul ul ul) {+ list-style-type: square;+ }+ &:where(ol[type="a" i]) {+ list-style-type: lower-alpha;+ }+ &:where(ol[type="i" i]) {+ list-style-type: lower-roman;+ }+ &:where(ol[type="A" s]) {+ list-style-type: upper-alpha;+ }+ &:where(ol[type="I" s]) {+ list-style-type: upper-roman;+ }+ &:where(ul, ol) {+ margin-block-start: var(--typeset-flow);+ margin-block-end: 0;+ padding-inline-start: 1.5em;+ }+ &:where(li) {+ margin-block-start: 0.5em;+ padding-inline-start: 0.4em;+ }+ &:where(li > p, li > ul, li > ol) {+ margin-block-start: 0.5em;+ }+ &:where(ul > li)::marker {+ color: var(--typeset-muted);+ }+ &:where(ol > li)::marker {+ color: var(--typeset-muted);+ }++ /* GFM task lists. */+ &:where(ul.contains-task-list) {+ list-style-type: none;+ padding-inline-start: 0.25em;+ }+ &:where(li.task-list-item > input[type="checkbox"]) {+ margin-inline-end: 0.5em;+ vertical-align: -0.1em;+ accent-color: var(--color-primary, currentColor);+ }++ /* Disclosures. */+ &:where(details) {+ margin-block-start: var(--typeset-flow);+ margin-block-end: 0;+ }+ &:where(summary) {+ cursor: pointer;+ font-weight: 500;+ }+ &:where(summary)::marker {+ color: var(--typeset-muted);+ }++ /* Keyboard keys. */+ &:where(kbd) {+ font-family: inherit;+ font-size: 0.85em;+ font-weight: 500;+ border: 1px solid var(--typeset-rule);+ border-block-end-width: 2px;+ border-radius: min(calc(var(--radius, 0.5em) * 0.6), 0.35em);+ padding: 0.0625em 0.35em;+ }++ /* Definition lists. */+ &:where(dl) {+ margin-block-start: var(--typeset-flow);+ margin-block-end: 0;+ }+ &:where(dt) {+ font-weight: 500;+ margin-block-start: 1em;+ }+ &:where(dt + dt) {+ margin-block-start: 0.25em;+ }+ &:where(dd) {+ margin-block-start: 0.25em;+ margin-inline-start: 0;+ padding-inline-start: 1em;+ color: var(--typeset-muted);+ }++ /* Inline code. */+ &:where(:not(pre) > code) {+ background-color: var(+ --color-muted,+ color-mix(in oklab, currentColor 8%, transparent)+ );+ font-family: var(--typeset-font-mono);+ font-size: 0.85em;+ border-radius: min(calc(var(--radius, 0.5em) * 0.6), 0.35em);+ padding: 0.125em 0.3em;+ }++ /* Code blocks. */+ &:where(pre) {+ background-color: var(+ --color-muted,+ color-mix(in oklab, currentColor 8%, transparent)+ );+ font-family: var(--typeset-font-mono);+ font-size: 0.875em;+ line-height: 1.5;+ tab-size: 2;+ direction: ltr;+ border-radius: var(--radius, 0.5em);+ padding: 0.75em 1em;+ overflow-x: auto;+ margin-block-start: calc(var(--typeset-flow) / 0.875);+ margin-block-end: 0;+ }+ &:where(pre code) {+ background-color: transparent;+ font-family: inherit;+ font-size: inherit;+ padding: 0;+ border-radius: 0;+ }++ /* Blockquote. */+ &:where(blockquote) {+ border-inline-start: 2px solid var(--typeset-rule);+ padding-inline-start: 1em;+ margin-block-start: var(--typeset-flow);+ margin-block-end: 0;+ margin-inline: 0;+ }++ /* Dividers. */+ &:where(hr) {+ border: 0;+ border-block-start: 1px solid var(--typeset-rule);+ margin-block-start: calc(var(--typeset-flow) * 2.4);+ margin-block-end: 0;+ }+ &:where(hr + h1, hr + h2, hr + h3, hr + h4) {+ margin-block-start: var(--typeset-flow);+ }++ /* GFM footnotes. */+ &:where(.footnotes, [data-footnotes]) {+ margin-block-start: calc(var(--typeset-flow) * 2);+ border-block-start: 1px solid var(--typeset-rule);+ padding-block-start: var(--typeset-flow);+ font-size: 0.875em;+ color: var(--typeset-muted);+ }++ /* Math. */+ &:where(math[display="block"]) {+ margin-block-start: var(--typeset-flow);+ margin-block-end: 0;+ overflow-x: auto;+ overflow-y: hidden;+ padding-block: 0.25em;+ }++ /* Media. */+ &:where(img, video) {+ border-radius: var(--radius, 0.5em);+ max-width: 100%;+ height: auto;+ margin-block-start: var(--typeset-flow);+ margin-block-end: 0;+ }+ &:where(p img) {+ margin-block-start: 0;+ }+ &:where(figure) {+ margin-block-start: var(--typeset-flow);+ margin-block-end: 0;+ margin-inline: 0;+ }+ &:where(figcaption, caption) {+ color: var(--typeset-muted);+ font-size: 0.875em;+ text-align: center;+ margin-block-start: calc(0.75em / 0.875);+ }+ &:where(caption) {+ caption-side: bottom;+ }++ /* Tables. Separators sit on cells, not tr:last-child: append-safe.+ Bare tables stay real tables (keep their semantics) and wrap to fit. */+ &:where(table) {+ max-width: 100%;+ font-size: 1em;+ line-height: 1.5;+ font-variant-numeric: tabular-nums;+ border-collapse: separate;+ border-spacing: 0;+ border-block-end: 1px solid var(--typeset-rule);+ margin-block-start: var(--typeset-flow);+ margin-block-end: 0;+ }++ /* Horizontal scroll for any wide block. Wrap it and the wrapper owns the+ flow margin. Tables shrink to fit, so widen the table to make it scroll+ instead of compress. */+ &:where(.typeset-scroll) {+ overflow-x: auto;+ margin-block-start: var(--typeset-flow);+ }+ &:where(.typeset-scroll > *) {+ margin-block-start: 0;+ }+ &:where(.typeset-scroll table) {+ width: max-content;+ max-width: none;+ }+ &:where(thead th) {+ font-weight: 500;+ text-align: start;+ white-space: nowrap;+ padding: 0.65em 1em;+ }+ &:where(:is(tbody, tfoot) :is(td, th)) {+ padding: 0.75em 1em;+ text-align: start;+ vertical-align: top;+ border-block-start: 1px solid var(--typeset-rule);+ }+ &:where(tbody th, tfoot th) {+ font-weight: 500;+ }+ &:where(th:first-child, td:first-child) {+ padding-inline-start: 0;+ }+ &:where(th[align="center"], td[align="center"]) {+ text-align: center;+ }+ &:where(th[align="right"], td[align="right"]) {+ text-align: end;+ }++ /* Blocks inside list items keep the list's tighter rhythm. */+ &:where(li > blockquote, li > table, li > figure) {+ margin-block-start: 0.5em;+ }+ &:where(li > pre) {+ margin-block-start: calc(0.5em / 0.875);+ }++ @media print {+ &:where(pre, table, blockquote, figure) {+ break-inside: avoid;+ }+ &:where(h1, h2, h3, h4) {+ break-after: avoid;+ }+ }++ /* Forced colors strips the code background, so give it a border. */+ @media (forced-colors: active) {+ &:where(:not(pre) > code) {+ border: 1px solid;+ }+ }+ }++ /* First child adds no space above. Last so it wins ties. */+ .typeset+ > :where(:first-child):not(+ :where(+ .not-typeset,+ [data-not-typeset],+ .not-typeset *,+ [data-not-typeset] *+ )+ ),+ .typeset+ > :where(:first-child)+ > :where(:first-child):not(+ :where(+ .not-typeset,+ [data-not-typeset],+ .not-typeset *,+ [data-not-typeset] *+ )+ ),+ .typeset+ :where(+ li > :first-child,+ blockquote > :first-child,+ td > :first-child,+ th > :first-child,+ dd > :first-child,+ figure > :first-child,+ figure > picture > img+ ):not(+ :where(+ .not-typeset,+ [data-not-typeset],+ .not-typeset *,+ [data-not-typeset] *+ )+ ) {+ margin-block-start: 0;+ }+}diff --git a/web/src/ui/index.tsx b/web/src/ui/index.tsxindex 9cd20d42..eb81e579 100644--- a/web/src/ui/index.tsx+++ b/web/src/ui/index.tsx@@ -2,7 +2,8 @@规矩在 web/DESIGN.md,守卫在 scripts/style-guard.mjs:字号五档、间距六档、圆角四档、颜色只认令牌、状态(hover/focus/disabled/动效)只在这里定。Dialog / DangerConfirm / Tooltip / Table / Field 各在自己的文件里,从这里再导出。 */-import { forwardRef, useEffect, useRef, useState } from "react";+import { forwardRef, useEffect, useRef, useState,+ useId,} from "react";import type {ButtonHTMLAttributes,CSSProperties,@@ -21,6 +22,43 @@ import {Search as SearchIcon,} from "lucide-react";import { S } from "../i18n";+import { Button as ShadButton, buttonVariants } from "@/components/ui/button";+import { badgeVariants } from "@/components/ui/badge";+import { Checkbox as ShadCheckbox } from "@/components/ui/checkbox";+import {+ Select,+ SelectContent,+ SelectItem,+ SelectTrigger,+} from "@/components/ui/select";+import {+ DropdownMenu as ShadDropdownMenu,+ DropdownMenuContent as ShadDropdownMenuContent,+ DropdownMenuLabel as ShadDropdownMenuLabel,+ DropdownMenuRadioGroup as ShadDropdownMenuRadioGroup,+ DropdownMenuRadioItem as ShadDropdownMenuRadioItem,+ DropdownMenuSeparator as ShadDropdownMenuSeparator,+ DropdownMenuTrigger as ShadDropdownMenuTrigger,+} from "@/components/ui/dropdown-menu";+import {+ Popover as ShadPopover,+ PopoverContent as ShadPopoverContent,+ PopoverTrigger as ShadPopoverTrigger,+} from "@/components/ui/popover";+import {+ Command as ShadCommand,+ CommandEmpty as ShadCommandEmpty,+ CommandGroup as ShadCommandGroup,+ CommandInput as ShadCommandInput,+ CommandItem as ShadCommandItem,+ CommandList as ShadCommandList,+} from "@/components/ui/command";+import {+ RadioGroup as ShadRadioGroup,+ RadioGroupItem as ShadRadioGroupItem,+} from "@/components/ui/radio-group";+import { Input as ShadInput } from "@/components/ui/input";+import { Textarea as ShadTextarea } from "@/components/ui/textarea";// 表格原件在 ./table 里,下面 re-export;`SkeletonTableRows` 自己也要用,// 所以这里另取一份别名,避免与 re-export 的同名标识撞车import {@@ -44,7 +82,7 @@ export function Wordmark({ className }: { className?: string }) {rel="noreferrer"title="utopia.bi"className={cn("relative inline-flex text-ink", className)}- style={{ fontFamily: "var(--font-brand)", letterSpacing: "0.06em" }}+ style={{ fontFamily: "var(--font-brand)", letterSpacing: "0.01em" }}>{[...S.app.name].map((ch, i) => (<span@@ -65,25 +103,28 @@ export function cn(...parts: (string | false | null | undefined)[]): string {}/* ---------- Button ----------- 四种变体:primary(白底黑字,一屏最多一个)、secondary(描边,默认的次要动作)、- ghost(无边框,行内动作与工具条)、danger(深红实底,不可逆的那一下)。- 两个尺寸与 Input 同高,同一行里顶齐不靠页面调 py。 */+ **壳在这里,样子在 shadcn**(`@/components/ui/button`,radix base / nova preset)。+ 这一层留着的理由只有一个:整个应用按这四个名字调按钮——primary 是一屏最多一个的+ 实心,secondary 是描边的默认次要动作,ghost 是行内与工具条,danger 是不可逆的那一下。+ 名字说的是**这一下有多重**,shadcn 那边说的是长什么样,两件事分开,+ 换皮肤不必回头改三十二个页面。 */export type ButtonVariant = "primary" | "secondary" | "ghost" | "danger";-type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {+type ButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "color"> & {variant?: ButtonVariant;size?: "sm" | "md";- /** 文字左侧的图标(lucide,13 / 14 号) */+ /** 文字左侧的图标(lucide)。shadcn 那边已经给 svg 定了尺寸与 shrink-0 */icon?: ReactNode;/** 正在提交:禁用并告诉读屏器 */busy?: boolean;};-const BUTTON_VARIANT: Record<ButtonVariant, string> = {- primary: "u-btn-primary",- secondary: "u-btn-secondary",- ghost: "u-btn-quiet",- danger: "u-btn-danger",-};+const VARIANT = {+ primary: "default",+ // 我们的 secondary 是**描边**的,shadcn 的 secondary 是实心灰,对应的是 outline+ secondary: "outline",+ ghost: "ghost",+ danger: "destructive",+} as const;export const Button = forwardRef<HTMLButtonElement, ButtonProps>(function Button({@@ -100,22 +141,19 @@ export const Button = forwardRef<HTMLButtonElement, ButtonProps>(function Buttonref,) {return (- <button+ <ShadButtonref={ref}type={type}- className={cn(- "u-btn",- BUTTON_VARIANT[variant],- size === "sm" ? "u-btn-sm" : "u-btn-md",- className,- )}+ variant={VARIANT[variant]}+ size={size === "sm" ? "sm" : "default"}+ className={className}disabled={disabled || busy}aria-busy={busy || undefined}{...props}>- {icon && <span className="shrink-0">{icon}</span>}+ {icon}{children}- </button>+ </ShadButton>);});@@ -123,7 +161,7 @@ export const Button = forwardRef<HTMLButtonElement, ButtonProps>(function Button没有可见文字的按钮必须有一个名字,这是无障碍的底线 */export const IconButton = forwardRef<HTMLButtonElement,- ButtonHTMLAttributes<HTMLButtonElement> & {+ Omit<ButtonHTMLAttributes<HTMLButtonElement>, "color"> & {label: string;variant?: ButtonVariant;size?: "sm" | "md";@@ -133,25 +171,56 @@ export const IconButton = forwardRef<ref,) {return (- <button+ <ShadButtonref={ref}type={type}aria-label={label}title={label}- className={cn(- "u-btn",- BUTTON_VARIANT[variant],- size === "sm" ? "u-btn-icon-sm" : "u-btn-icon-md",- className,- )}+ variant={VARIANT[variant]}+ size={size === "sm" ? "icon-sm" : "icon"}+ className={className}{...props}/>);});-/* ---------- Input / Textarea ---------- */+/** 长得像按钮的**链接**(路由 Link、外链)。给 className 用,不包组件——+ * `<Link className={buttonLike("ghost")}>`;从前这里写的是 `u-btn u-btn-ghost`+ * 加一串手调的内距,那串内距正是尺寸档存在的理由 */+export function buttonLike(+ variant: ButtonVariant = "ghost",+ size: "sm" | "md" = "md",+): string {+ return buttonVariants({+ variant: VARIANT[variant],+ size: size === "sm" ? "sm" : "default",+ });+}++/* ---------- Input / Textarea ----------+ 同 Button:壳在这里,皮在 shadcn。这一层留的是两件 shadcn 不管的事——+ **图标槽**(左栏那道带放大镜的筛选框,图标要与下面每一行的图标落在同一条+ 竖线上)和 **bare**(装在别的面里的输入,自己不带皮:切换器顶上的查找、+ 对话的输入区)。尺寸仍按我们的两档说话,映到 shadcn 的高度上。 */type InputSize = { size?: "sm" | "md" };+/** 没有自己的皮的那一档:去边框、去底、去焦点环,交给外面那块面 */+const BARE =+ "border-0 bg-transparent shadow-none focus-visible:ring-0 focus-visible:border-0 px-0 dark:bg-transparent";++/** 一个"框"的皮:边、圆角、实底、焦点环,与 `Input` 完全同一副。+ * 下拉、搜索选择器这些**自己画触发器**的控件用它——从前它们蹭的是手写的+ * `.input-dark`,那个类随按钮/输入框迁移删掉了,于是触发器一夜之间没了皮+ * ("怎么有没背景的框")。皮只此一份,谁要谁引。 */+export const FIELD_SHELL =+ "flex items-center rounded-control border border-input bg-background text-body text-ink transition-colors outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:opacity-50";++/** 有皮的那一档**要有实底**。shadcn 默认 `bg-transparent`:在一张卡片里那是对的,+ * 可这套界面的输入框有浮在图谱画布上的(搜索实体、筛选),透明的框底下是网格和+ * 连线,字压在线上,看着就是一团乱。取页面底色——在卡片上它比卡片深一点,+ * 在画布上它是一块实地,两处都读得出"这是一个可以写字的格子"。 */+const FILLED = "bg-background dark:bg-background";+export const Input = forwardRef<HTMLInputElement,Omit<InputHTMLAttributes<HTMLInputElement>, "size"> &@@ -163,11 +232,16 @@ export const Input = forwardRef<}>(function Input({ className, size = "md", icon, bare, ...props }, ref) {const control = (- <input+ <ShadInputref={ref}className={cn(- bare ? "u-input-bare" : "input-dark",- bare ? null : size === "sm" ? "u-input-sm" : "u-input-md",+ /* bare 的输入框**连控件的高度也不要**。`bare` 说的是「它是面板的一段,+ 不是面板里摆的一个控件」,可它还顶着 h-8 + py-1:32 高的盒子里装一行+ 20 的字,剩下那 12px 不是对半分的,字就往下坐了一点,看着是上面的留白+ 比下面大。高度交还给行高,竖向留白交还给外面那块面(告警面板、库切换器+ 都是 py-3),上下就真的一样了。+ textarea 那一档不动:它的高度本来就是 rows 给的,不是控件档位。 */+ bare ? cn(BARE, "h-auto py-0") : cn(FILLED, size === "sm" ? "h-7" : "h-8"),// 图标槽:中号图标离左内缘 12px、文字从 34px 起;小号窄一档(8 / 28)icon ? (size === "sm" ? "pl-7" : "pl-[34px]") : null,icon ? "w-full" : className,@@ -177,7 +251,10 @@ export const Input = forwardRef<);if (!icon) return control;return (- <div className={cn("relative", className)}>+ /* **外层要跟控件同一个圆角**:带图标时 `className` 落在这一层(宽度、+ 投影都写在调用处),而投影是按这个盒子的形状画的——盒子没有圆角,+ 投影就是方的,里面那个圆角的输入框浮在一块方影子上,四个角看着发虚 */+ <div className={cn("relative rounded-control", className)}>{/* 图标离盒左缘 12——与 nav 行的内距同一个数,于是左栏里输入框的放大镜与下面每一行的图标落在同一条竖线上(盒 8 / 图标 20 / 文字 42) */}<span@@ -202,11 +279,11 @@ export const Textarea = forwardRef<}>(function Textarea({ className, size = "md", bare, ...props }, ref) {return (- <textarea+ <ShadTextarearef={ref}className={cn("u-scroll",- bare ? "u-input-bare" : cn("input-dark", size === "sm" ? "u-input-sm" : "u-input-md"),+ bare ? BARE : cn(FILLED, size === "sm" ? "min-h-14" : null),className,)}{...props}@@ -220,7 +297,12 @@ export const Textarea = forwardRef<没人用的组件,只会让它某天又溜回来。小而有界的枚举用 `Dropdown`,成百上千的(本体的类、部署里的人)用 `SearchSelect`。 */-/* ---------- Dropdown(自制下拉,替代原生 select:原生弹层无法主题化) ---------- */+/* ---------- Dropdown(小而有界的枚举) ----------+ **壳在这里,弹层是 shadcn 的 DropdownMenu**。从前这里连同 SearchSelect 各自+ 实现过一遍「点外面关掉、Esc 关掉、方向键选、焦点回到触发器」,三处弹层三套+ 行为,还各自缺一点:手搓的入口连 `aria-haspopup` 都没有。+ 接口一个字没改(value / options / onChange / icon / menuLabel / footer),+ 页面照旧。 */export interface DropdownOption {value: string;label: ReactNode;@@ -250,111 +332,62 @@ export function Dropdown({/** 弹层底部固定操作区(点击后弹层关闭) */footer?: ReactNode;}) {- const [open, setOpen] = useState(false);- const rootRef = useRef<HTMLDivElement>(null);-- useEffect(() => {- if (!open) return;- const onDoc = (e: MouseEvent) => {- if (!rootRef.current?.contains(e.target as Node)) setOpen(false);- };- const onKey = (e: KeyboardEvent) => {- if (e.key === "Escape") setOpen(false);- };- document.addEventListener("mousedown", onDoc);- document.addEventListener("keydown", onKey);- return () => {- document.removeEventListener("mousedown", onDoc);- document.removeEventListener("keydown", onKey);- };- }, [open]);-const current = options.find((o) => o.value === value);- const pad = size === "sm" ? "px-2.5 py-1 text-small" : "px-3 py-1.5 text-body";-return (- <div ref={rootRef} className={cn("relative", className)}>- <button- type="button"- onClick={() => setOpen(!open)}- title={menuLabel}- className={cn("input-dark w-full flex items-center gap-2 text-left", pad)}- >- {icon && <span className="shrink-0 text-ink-2">{icon}</span>}- <span className="flex-1 min-w-0 truncate">- {current?.label ?? (- <span className="text-ink-2">{placeholder ?? ""}</span>- )}- </span>- <ChevronDown- size={12}- className={cn(- "shrink-0 text-ink-2 transition-transform",- open && "rotate-180",- )}- />- </button>- {open && (- <div+ <ShadDropdownMenu>+ <ShadDropdownMenuTrigger asChild>+ <button+ type="button"+ title={menuLabel}className={cn(- // 与告警面板、用户菜单同一张皮(u-menu-glass):浮在页面上的面只有一种- "u-menu-glass u-pop-in u-pop-in-tl absolute z-50 mt-1 w-full rounded-overlay u-lift-strong overflow-hidden",+ FIELD_SHELL,+ /* **调用方给了宽度就不塞 `w-full`**:这里的 `cn` 只是把类拼起来,+ 不做 Tailwind 的冲突消解,两个 `w-` 同时在场时谁赢看生成顺序,+ 不看写的顺序——`className="w-40"` 曾经完全不起作用 */+ className?.includes("w-") ? null : "w-full",+ "justify-between gap-2 text-left",+ size === "sm" ? "h-7 px-2.5 text-small" : "h-8 px-3 text-body",+ className,)}>- {menuLabel && (- <div className="border-b border-line px-4 py-3 text-body font-medium text-ink">- {menuLabel}- </div>- )}- {/* 选项行顶满面板边缘(无内衬):单选项时整个菜单被这一项填满 */}- <div className="u-scroll max-h-60 overflow-y-auto">- {options.map((o) => (- <button- key={o.value}- type="button"- onClick={() => {- onChange(o.value);- setOpen(false);- }}- className={cn(- "w-full flex items-center gap-2 text-left",- pad,- o.value === value- ? "bg-surface-3 text-ink"- : "text-ink-2 hover:bg-surface-2 hover:text-ink",- )}- >- <span className="flex-1 min-w-0 truncate">{o.label}</span>- {o.value === value && (- <Check size={12} className="shrink-0 text-ink-2" />- )}- </button>- ))}- </div>- {footer && (- <div- className="border-t border-line"- onClick={() => setOpen(false)}- >- {footer}- </div>- )}- </div>- )}- </div>+ <span className="flex min-w-0 items-center gap-2">+ {icon && <span className="shrink-0 text-ink-2">{icon}</span>}+ <span className={cn("truncate", !current && "text-ink-2")}>+ {current?.label ?? placeholder ?? ""}+ </span>+ </span>+ <ChevronDown size={12} className="shrink-0 text-ink-2" />+ </button>+ </ShadDropdownMenuTrigger>+ <ShadDropdownMenuContent align="start" className="min-w-(--radix-dropdown-menu-trigger-width)">+ {menuLabel && <ShadDropdownMenuLabel>{menuLabel}</ShadDropdownMenuLabel>}+ <ShadDropdownMenuRadioGroup value={value} onValueChange={onChange}>+ {options.map((o) => (+ <ShadDropdownMenuRadioItem key={o.value} value={o.value}>+ {o.label}+ </ShadDropdownMenuRadioItem>+ ))}+ </ShadDropdownMenuRadioGroup>+ {footer && (+ <>+ <ShadDropdownMenuSeparator />+ {footer}+ </>+ )}+ </ShadDropdownMenuContent>+ </ShadDropdownMenu>);}/* ---------- SearchSelect(可搜索选择器:无界对象列表专用——成员、父类、数据源…)- 触发器本身是输入框:聚焦即开、键入即过滤;渲染上限 maxVisible,超出提示继续- 输入收窄。小而有界的枚举(角色/数据类型…)仍用 Dropdown,两击即达不必打字。 ---------- */+ 触发器同 Dropdown,弹层是 shadcn 的 Popover + Command:搜、键盘上下、+ 回车选中、空结果的那一行,全由 Command 管。 */export interface SearchSelectOption {value: string;- /** 主文案:过滤与选中回显的依据(纯字符串,不能是节点) */label: string;- /** 次要文案(邮箱、连接摘要…),一并参与过滤,弱化显示 */+ /** 跟在名字后面的一小行(邮箱、类型、路径),也参与搜索 */hint?: string;- /** 层级缩进(浏览态展示树形;键入过滤后拉平对齐) */+ /** 树形缩进的层级(父类选择器用它) */indent?: number;}@@ -365,7 +398,6 @@ export function SearchSelect({placeholder,className,size = "md",- maxVisible = 8,}: {value: string;options: SearchSelectOption[];@@ -373,120 +405,61 @@ export function SearchSelect({placeholder?: string;className?: string;size?: "sm" | "md";+ /** 只影响弹层高度,保留是为了调用处不改 */maxVisible?: number;}) {const [open, setOpen] = useState(false);- const [query, setQuery] = useState("");- const [active, setActive] = useState(0);- const inputRef = useRef<HTMLInputElement>(null);-const current = options.find((o) => o.value === value);- const q = query.trim().toLowerCase();- const matches = q- ? options.filter((o) =>- `${o.label} ${o.hint ?? ""}`.toLowerCase().includes(q),- )- : options;- const visible = matches.slice(0, maxVisible);- const hidden = matches.length - visible.length;-- const pick = (v: string) => {- onChange(v);- setOpen(false);- setQuery("");- inputRef.current?.blur();- };-- const pad =- size === "sm" ? "pl-7 pr-2.5 py-1 text-small" : "pl-8 pr-3 py-1.5 text-body";- const rowPad = size === "sm" ? "px-2.5 py-1 text-small" : "px-3 py-1.5 text-body";-return (- <div className={cn("relative", className)}>- <SearchIcon- size={size === "sm" ? 11 : 13}- className="absolute left-2.5 top-1/2 -translate-y-1/2 text-ink-2 pointer-events-none"- />- <input- ref={inputRef}- className={cn("input-dark w-full", pad)}- value={open ? query : (current?.label ?? "")}- /* 打开后把当前选中项挪进 placeholder:边打字边能看到现值 */- placeholder={open ? current?.label || placeholder : placeholder}- onFocus={() => {- setOpen(true);- setQuery("");- setActive(0);- }}- /* 选项行 mousedown 已 preventDefault(不夺焦点),走到这里的失焦都是真离开 */- onBlur={() => setOpen(false)}- onChange={(e) => {- setQuery(e.target.value);- setActive(0);- }}- onKeyDown={(e) => {- if (e.key === "Escape") {- setOpen(false);- inputRef.current?.blur();- } else if (e.key === "ArrowDown") {- e.preventDefault();- setActive((a) => Math.min(a + 1, visible.length - 1));- } else if (e.key === "ArrowUp") {- e.preventDefault();- setActive((a) => Math.max(a - 1, 0));- } else if (e.key === "Enter" && visible[active]) {- e.preventDefault();- pick(visible[active].value);- }- }}- />- {open && (- <div className="u-menu-glass u-pop-in u-pop-in-tl absolute z-50 mt-1 w-full rounded-overlay u-lift-strong overflow-hidden">- {visible.map((o, i) => (- <button- key={o.value}- type="button"- onMouseDown={(e) => e.preventDefault()}- onClick={() => pick(o.value)}- onMouseEnter={() => setActive(i)}- className={cn(- "w-full flex items-center gap-2 text-left",- rowPad,- i === active- ? "bg-surface-3 text-ink"- : "text-ink-2",- )}- >- {!q && !!o.indent && (- <span className="shrink-0" style={{ width: o.indent * 14 }} />- )}- <span className="min-w-0 flex-1 truncate">- {o.label}- {o.hint && (- <span className="ml-2 text-ink-2">{o.hint}</span>- )}- </span>- {o.value === value && (- <Check size={12} className="shrink-0 text-ink-2" />- )}- </button>- ))}- {visible.length === 0 && (- <p className={cn(rowPad, "text-ink-2")}>{S.ui.noMatches}</p>- )}- {hidden > 0 && (- <div- className={cn(- rowPad,- "border-t border-line text-fine text-ink-2",- )}- >- {S.ui.keepTyping(hidden)}- </div>+ <ShadPopover open={open} onOpenChange={setOpen}>+ <ShadPopoverTrigger asChild>+ <button+ type="button"+ role="combobox"+ aria-expanded={open}+ className={cn(+ FIELD_SHELL,+ /* **调用方给了宽度就不塞 `w-full`**:这里的 `cn` 只是把类拼起来,+ 不做 Tailwind 的冲突消解,两个 `w-` 同时在场时谁赢看生成顺序,+ 不看写的顺序——`className="w-40"` 曾经完全不起作用 */+ className?.includes("w-") ? null : "w-full",+ "justify-between gap-2 text-left",+ size === "sm" ? "h-7 px-2.5 text-small" : "h-8 px-3 text-body",+ className,)}- </div>- )}- </div>+ >+ <span className={cn("truncate", !current && "text-ink-2")}>+ {current?.label ?? placeholder ?? ""}+ </span>+ <ChevronDown size={12} className="shrink-0 text-ink-2" />+ </button>+ </ShadPopoverTrigger>+ <ShadPopoverContent align="start" className="w-(--radix-popover-trigger-width) p-0">+ <ShadCommand>+ <ShadCommandInput placeholder={placeholder ?? ""} />+ <ShadCommandList>+ <ShadCommandEmpty>{S.ui.noMatches}</ShadCommandEmpty>+ <ShadCommandGroup>+ {options.map((o) => (+ <ShadCommandItem+ key={o.value}+ value={`${o.label} ${o.hint ?? ""}`}+ onSelect={() => {+ onChange(o.value);+ setOpen(false);+ }}+ >+ <span className="truncate">{o.label}</span>+ {o.hint && (+ <span className="ml-auto truncate text-fine text-ink-2">{o.hint}</span>+ )}+ </ShadCommandItem>+ ))}+ </ShadCommandGroup>+ </ShadCommandList>+ </ShadCommand>+ </ShadPopoverContent>+ </ShadPopover>);}@@ -577,7 +550,7 @@ export function MultiSearchSelect({/><inputref={inputRef}- className="input-dark w-full pl-7 pr-2.5 py-1 text-small"+ className={cn(FIELD_SHELL, "w-full pl-7 pr-2.5 py-1 text-small")}value={query}placeholder={placeholder}onFocus={() => {@@ -739,7 +712,8 @@ export function ColorPicker({onChange={(e) => onChange(e.target.value)}placeholder={ENTITY_PALETTE[0]}className={cn(- "input-dark w-full px-2 py-1 text-small font-mono",+ FIELD_SHELL,+ "w-full px-2 py-1 text-small font-mono",!valid && "!border-danger",)}/>@@ -915,9 +889,58 @@ export function StatusCell({);}+/* ---------- Status(一个状态) ----------+ **颜色只上那个点,字不上色。**从前状态是一枚填色的胶囊(绿底绿字的+ "Confirmed"、琥珀底琥珀字的 "Pending"),一列表格里十几个填色块,+ 眼睛先看见的是一片颜色,而不是那一列在说什么。点只占它该占的那一点地方,+ 颜色仍然分得出成没成、等不等人,字回到正文的灰。++ `Chip` 留给**不是状态**的东西:计数、库名、公理名、"派生"这类标记——+ 它们是贴在内容上的标签,本来就该有个盒子把自己圈出来。 */+export function Status({+ tone = "neutral",+ pulse,+ className,+ title,+ children,+}: {+ tone?: ChipTone;+ /** 这件事**正在进行**:点跟着呼吸。给「agent 正在裁这一对」这种活状态用 */+ pulse?: boolean;+ className?: string;+ title?: string;+ children: ReactNode;+}) {+ return (+ <span+ className={cn("inline-flex items-center gap-1.5 text-small text-ink-2", className)}+ title={title}+ >+ <span+ className={cn(+ "h-1.5 w-1.5 shrink-0 rounded-full",+ STATUS_DOT[tone],+ pulse && "animate-pulse",+ )}+ />+ {children}+ </span>+ );+}++const STATUS_DOT: Record<ChipTone, string> = {+ neutral: "bg-ink-2",+ success: "bg-ok",+ warn: "bg-warn",+ danger: "bg-danger",+ info: "bg-violet",+ violet: "bg-violet",+ contest: "bg-contest",+};+/* ---------- Chip(状态胶囊) ---------- */export type ChipTone =- "neutral" | "info" | "success" | "warn" | "danger" | "violet";+ "neutral" | "info" | "success" | "warn" | "danger" | "violet" | "contest";export function Chip({tone = "neutral",@@ -933,25 +956,56 @@ export function Chip({onClick?: () => void;children: ReactNode;}) {+ /* 形状走 shadcn 的 Badge,**颜色仍是我们的语义色**:Badge 只有+ default / secondary / destructive 这几档,而 chip 在这套语汇里说的是+ 状态——ready、3 dropped、contested、derived 各有各的色,它们是令牌,+ 不是变体。所以底用 outline 的骨架,色按 tone 贴上去。 */+ const cls = cn(+ badgeVariants({ variant: "outline" }),+ /* **方角,不是药丸**:shadcn 的 badge 底子是 `rounded-4xl`,一位数的计数+ 会缩成一个圆点。这套语汇里 chip 说的是状态(Ready、3 dropped、+ contested),是一块牌子不是一颗豆子,走 cell 那一档(规矩 3)。+ 几何(高 20、内距 8、字号 xs)仍照 shadcn 的来 */+ "rounded-cell border-transparent",+ CHIP_TONE[tone],+ onClick && "cursor-pointer",+ className,+ );if (onClick) {return (- <button- type="button"- onClick={onClick}- title={title}- className={cn("u-chip u-chip-click", `u-chip-${tone}`, className)}- >+ <button type="button" onClick={onClick} title={title} className={cls}>{children}</button>);}return (- <span className={cn("u-chip", `u-chip-${tone}`, className)} title={title}>+ <span className={cls} title={title}>{children}</span>);}+/** chip 的样子,给不能是组件的地方用:行内那个 `role="link"` 的 span+ * (外面已经是一条可点的行,按钮里不能再套按钮) */+export function chipLike(tone: ChipTone = "neutral", className?: string): string {+ return cn(+ badgeVariants({ variant: "outline" }),+ "rounded-cell border-transparent",+ CHIP_TONE[tone],+ className,+ );+}++const CHIP_TONE: Record<ChipTone, string> = {+ neutral: "bg-surface-2 text-ink-2",+ success: "bg-ok/12 text-ok",+ warn: "bg-warn/12 text-warn",+ danger: "bg-danger/12 text-danger",+ info: "bg-violet/12 text-violet",+ contest: "bg-contest/12 text-contest",+ violet: "bg-violet/12 text-violet",+};+/* ---------- LinkButton(长得像一句话的动作:表格行末的"重抽""删除") ---------- */export function LinkButton({tone = "default",@@ -1018,6 +1072,19 @@ export function PageTitle({return <h2 className={cn("u-title text-title", className)}>{children}</h2>;}+/** 一张卡片底下那排动作的形状。**只此一份**:审阅页有七种卡(重复对、待确认的+ * 事实、时态冲突、过期断言、本体缺陷、公理冲突、人提的事实),从前它们三种站法+ * 都有——三张靠右下、三张靠左下、两张干脆挂在某一行的右端。一个人从一张卡走到+ * 下一张,每次都要重新找「裁决在哪」。+ *+ * 规矩两条:**动作在卡片左下**,与卡片里每一行文字同一条左边线,一列卡下来+ * 按钮落在同一条竖线上,指针几乎不用横向移动;**会换行**,因为有的卡有五六个+ * 选项,靠右排一旦折行,左缘就参差不齐。+ *+ * 还有一条不在这个类里、但同样是规矩:**危险的那一个永远排在最后**。左对齐之后+ * 最左边是指针最先够到的位置,那里不该是「拒绝」。 */+export const CARD_ACTIONS = "mt-3 flex flex-wrap items-center gap-2";+/* ---------- EmptyState ---------- */export function EmptyState({icon,@@ -1214,13 +1281,21 @@ export function PageHeader({/* ---------- SectionMark(分区字标:Docs/账户层等,逐字母入场,点击回应用) ---------- */import { Link as RouterLink } from "@tanstack/react-router";-export function SectionMark({ text, title }: { text: string; title: string }) {+export function SectionMark({+ text,+ title,+ className,+}: {+ text: string;+ title: string;+ className?: string;+}) {return (<RouterLinkto="/"title={title}- className="u-wordmark-top relative inline-flex text-ink"- style={{ fontFamily: "var(--font-brand)", letterSpacing: "0.06em" }}+ className={cn("u-wordmark-top relative inline-flex text-ink", className)}+ style={{ fontFamily: "var(--font-brand)", letterSpacing: "0.01em" }}>{[...text].map((ch, i) => (<span@@ -1376,7 +1451,7 @@ export function RailItem({// 计数只在有东西时出现,写成一枚 chip;0 不写——一栏灰零只是噪音trailing={count !== undefined && count > 0 ? (- <span className="u-chip u-chip-neutral u-num">{count}</span>+ <span className={chipLike("neutral", "u-num")}>{count}</span>) : undefined}{...props}@@ -1390,6 +1465,73 @@ export function RailItem({);}+/** 菜单里的一行「标签 + 可改的值」。**整行是触发器,弹层落在值那一头**——+ * 这一行读起来是「语言:English」,要改的是冒号后面那一格,弹层就该出现在+ * 那一格上,像填空。摊在下面会把菜单越拉越长,甩到右边又会盖住旁边的面板。+ * 行的节奏与菜单里其余的行一致(px-4 py-2,正文号,图标间距 3)。 */+const MENU_ROW = "gap-3 rounded-none px-4 py-2 text-body";++export function MenuSelect({+ icon,+ label,+ value,+ onChange,+ options,+}: {+ icon: ReactNode;+ label: string;+ value: string;+ onChange: (v: string) => void;+ /** 选项自己的图标是**可选的**:主题那三档各有公认的符号(月亮 / 太阳 /+ * 一块屏),图标一眼就把三个选项分开了。语言没有这种符号——国旗不是语言,+ * 说中文的不止一个地方——那一档就只有字,对勾负责说选中的是哪个。 */+ options: { value: string; label: string; icon?: ReactNode }[];+}) {+ return (+ <Select value={value} onValueChange={onChange}>+ <SelectTrigger+ className={cn(+ MENU_ROW,+ // 行的样子归菜单:去掉 Select 自带的框与底,留下"一行"+ "h-auto w-full border-0 bg-transparent shadow-none focus-visible:ring-0 dark:bg-transparent",+ "justify-start text-ink",+ )}+ >+ <span className="text-ink-2">{icon}</span>+ <span>{label}</span>+ <span className="ml-auto pl-2 text-fine text-ink-2">+ {options.find((o) => o.value === value)?.label ?? value}+ </span>+ </SelectTrigger>+ {/* **popper 定位,不是 item-aligned。**Select 缺省是把"选中的那一项"盖在+ 触发器上(一个原生 select 的样子);在这张菜单里它算出来的位置是+ (0, 900)——视口外的左下角,于是弹层开了却看不见(`data-state=open`、+ 内容也挂上了,就是不在屏幕上)。item-aligned 那套要量触发器,而触发器+ 在一层 portal 里;popper 走 floating-ui,逐帧跟着触发器,也才认 align。 */}+ <SelectContent+ position="popper"+ side="bottom"+ align="end"+ sideOffset={4}+ /* **弹层按内容宽,不按触发器宽。**触发器是整行,而 shadcn 的 viewport 在+ popper 模式下写死 `min-w-(--radix-select-trigger-width)`,于是弹层跟着+ 撑满整条菜单,看着像菜单自己长出来两行。它该落在值那一格上,像一个填空。+ 改的是 `--radix-popper-anchor-width` 而不是 `--radix-select-trigger-width`:+ 后者是 Radix 写在内容元素**内联样式**上的(`var(--radix-popper-anchor-width)`),+ class 压不过内联,只能改它引的那一格。 */+ className="[--radix-popper-anchor-width:auto]"+ >+ {options.map((o) => (+ <SelectItem key={o.value} value={o.value}>+ {o.icon && <span className="text-ink-2">{o.icon}</span>}+ {o.label}+ </SelectItem>+ ))}+ </SelectContent>+ </Select>+ );+}+/* ---------- Segmented(分段切换) ----------两三个互斥的视图或取值。fill = 每格等宽撑满(左栏的类/属性切换);否则按内容宽(连接方向、形状那种小开关)。 */@@ -1456,19 +1598,37 @@ export function Checkbox({label,hint,className,- ...props-}: Omit<InputHTMLAttributes<HTMLInputElement>, "type"> & {+ checked,+ onChange,+ disabled,+ id,+}: {label: ReactNode;hint?: ReactNode;+ className?: string;+ checked?: boolean;+ /** **收的是布尔,不是事件**:底下已经不是原生 input 了(Radix 的按钮 ++ * 一个隐藏的输入),事件对象里的 `target.checked` 在这里没有意义 */+ onChange?: (checked: boolean) => void;+ disabled?: boolean;+ id?: string;}) {+ const auto = useId();+ const inputId = id ?? auto;return (- <label className={cn("flex cursor-pointer items-start gap-2", className)}>- <input type="checkbox" className="mt-1 accent-accent" {...props} />- <span className="min-w-0">+ <div className={cn("flex items-start gap-2", className)}>+ <ShadCheckbox+ id={inputId}+ checked={checked}+ disabled={disabled}+ onCheckedChange={(v) => onChange?.(v === true)}+ className="mt-0.5"+ />+ <label htmlFor={inputId} className="min-w-0 cursor-pointer"><span className="block text-body text-ink">{label}</span>{hint && <span className="block text-fine text-ink-2">{hint}</span>}- </span>- </label>+ </label>+ </div>);}@@ -1597,22 +1757,42 @@ export const Pill = forwardRef<});/* ---------- Radio ---------- */-export function Radio({- label,+/* ---------- RadioGroup(一组互斥的选项) ----------+ **一组是一个组件,不是一堆各自为政的 Radio**:方向键在组内移动、焦点只落+ 在选中的那一个上、读屏器把它们念成一组——这些是"组"的性质,Radix 的+ RadioGroup 管着;从前每个 Radio 都是一个裸的 input,靠同名 `name` 凑成一组,+ 键盘那部分只能听浏览器的默认行为。+ `children` 是选中之后跟在标签后面的东西(比如一个日期框)。 */+export function RadioGroup<T extends string>({+ value,+ onChange,+ options,className,- children,- ...props-}: Omit<InputHTMLAttributes<HTMLInputElement>, "type"> & {- label: ReactNode;- /** 选中后跟在标签后面的东西(比如一个日期框) */- children?: ReactNode;+ name,+}: {+ value: T;+ onChange: (v: T) => void;+ options: { value: T; label: ReactNode; children?: ReactNode }[];+ className?: string;+ name?: string;}) {return (- <label className={cn("flex items-center gap-2 text-small text-ink-2", className)}>- <input type="radio" className="accent-accent" {...props} />- {label}- {children}- </label>+ <ShadRadioGroup+ value={value}+ onValueChange={(v) => onChange(v as T)}+ name={name}+ className={cn("gap-2", className)}+ >+ {options.map((o) => (+ <div key={o.value} className="flex items-center gap-2 text-small text-ink-2">+ <ShadRadioGroupItem value={o.value} id={`${name ?? "radio"}-${o.value}`} />+ <label htmlFor={`${name ?? "radio"}-${o.value}`} className="cursor-pointer">+ {o.label}+ </label>+ {value === o.value && o.children}+ </div>+ ))}+ </ShadRadioGroup>);}diff --git a/web/src/ui/popoverFlip.ts b/web/src/ui/popoverFlip.tsdeleted file mode 100644index a81b00f4..00000000--- a/web/src/ui/popoverFlip.ts+++ /dev/null@@ -1,113 +0,0 @@-// 顶栏弹出面板的"原地变形"(FLIP):面板盖在触发按钮原位,首帧压到按钮的-// 真实边界(圆角 999px),下一帧过渡到面板全形——按钮"长成"面板;关闭时反向缩回。-//-// **抽成一份共用**,而不是让用户菜单和告警各写一遍:这两个面板紧挨着,-// 时长或缓动差一点点,来回点两下就看得出来。-import { useEffect, useLayoutEffect, useRef, useState } from "react";--const OPEN_MS = 260;-const CLOSE_MS = 190;--function reduced(): boolean {- return window.matchMedia("(prefers-reduced-motion: reduce)").matches;-}--/**- * 返回 `{ open, setOpen, close, anchorRef, panelRef }`。- *- * `close()` 会先播收回动画再卸载;要立刻关(比如导航走了)直接 `setOpen(false)`。- * 面板外点击与 Esc 已经接好,挂在 `rootRef` 上。- */-export function usePopoverFlip<A extends HTMLElement, P extends HTMLElement>(- /** 变形的锚点角。**面板贴哪边就写哪边**:顶栏右侧的面板贴右上角,- * 贴左边的面板(比如图例的「+N 个类」)要写 "top left",- * 否则它会从右边缘往左长出来,看着像从别处飞过来的 */- origin: "top right" | "top left" | "bottom left" = "top right",-) {- const [open, setOpen] = useState(false);- const rootRef = useRef<HTMLDivElement>(null);- const anchorRef = useRef<A>(null);- const panelRef = useRef<P>(null);- const closingRef = useRef(false);-- useLayoutEffect(() => {- if (!open) return;- const panel = panelRef.current;- const anchor = anchorRef.current;- if (!panel || !anchor || reduced()) return;- const a = anchor.getBoundingClientRect();- const p = panel.getBoundingClientRect();- if (p.width < 1 || p.height < 1) return;- panel.style.transformOrigin = origin;- panel.style.transform = `scale(${a.width / p.width}, ${a.height / p.height})`;- panel.style.borderRadius = "999px";- panel.style.opacity = "0.35";- let done: number | undefined;- const raf = requestAnimationFrame(() =>- requestAnimationFrame(() => {- panel.style.transition = `transform ${OPEN_MS}ms cubic-bezier(0.16,1,0.3,1), border-radius ${OPEN_MS}ms cubic-bezier(0.16,1,0.3,1), opacity 0.18s ease`;- panel.style.transform = "scale(1, 1)";- panel.style.borderRadius = "12px";- panel.style.opacity = "1";- // 动画完把行内样式**清干净**,别留一个 `scale(1,1)`。- // 恒等变换看着无害,但它照样生成合成层,于是面板里绝对定位的子元素- // 会按设备像素吸附一次——在 DPR 1.5 上就是 0.67px 的偏移,- // 而关闭按钮要跟触发它的那个按钮**原位重合**,差一个物理像素也看得出来- done = window.setTimeout(() => {- panel.style.transition = "";- panel.style.transform = "";- panel.style.borderRadius = "";- panel.style.opacity = "";- panel.style.transformOrigin = "";- }, OPEN_MS + 20);- }),- );- return () => {- cancelAnimationFrame(raf);- if (done !== undefined) window.clearTimeout(done);- };- }, [open, origin]);-- const close = () => {- const panel = panelRef.current;- const anchor = anchorRef.current;- if (closingRef.current) return;- if (!panel || !anchor || reduced()) {- setOpen(false);- return;- }- closingRef.current = true;- panel.style.transformOrigin = origin;- const a = anchor.getBoundingClientRect();- // offsetWidth/Height 是布局尺寸,不受当前 transform 影响——- // 用 getBoundingClientRect 会拿到已经缩过的值,越缩越小- panel.style.transition = `transform ${CLOSE_MS}ms cubic-bezier(0.5,0,0.9,0.4), border-radius ${CLOSE_MS}ms cubic-bezier(0.5,0,0.9,0.4), opacity 0.16s ease`;- panel.style.transform = `scale(${a.width / panel.offsetWidth}, ${a.height / panel.offsetHeight})`;- panel.style.borderRadius = "999px";- panel.style.opacity = "0.3";- window.setTimeout(() => {- closingRef.current = false;- setOpen(false);- }, CLOSE_MS);- };-- useEffect(() => {- if (!open) return;- const onDown = (e: MouseEvent) => {- if (rootRef.current && !rootRef.current.contains(e.target as Node))- close();- };- const onKey = (e: KeyboardEvent) => {- if (e.key === "Escape") close();- };- document.addEventListener("mousedown", onDown);- document.addEventListener("keydown", onKey);- return () => {- document.removeEventListener("mousedown", onDown);- document.removeEventListener("keydown", onKey);- };- // eslint-disable-next-line react-hooks/exhaustive-deps- }, [open]);-- return { open, setOpen, close, rootRef, anchorRef, panelRef };-}diff --git a/web/tsconfig.json b/web/tsconfig.jsonindex 60173bde..1ca3dc13 100644--- a/web/tsconfig.json+++ b/web/tsconfig.json@@ -1,5 +1,7 @@{"compilerOptions": {+ "baseUrl": ".",+ "paths": { "@/*": ["./src/*"] },"target": "ES2022","lib": ["ES2022", "DOM", "DOM.Iterable"],"module": "ESNext",diff --git a/web/vite.config.ts b/web/vite.config.tsindex 40696d42..92bb1d8a 100644--- a/web/vite.config.ts+++ b/web/vite.config.ts@@ -1,8 +1,10 @@+import path from "node:path";import { defineConfig } from "vitest/config";import react from "@vitejs/plugin-react";import tailwindcss from "@tailwindcss/vite";export default defineConfig({+ resolve: { alias: { "@": path.resolve(__dirname, "src") } },plugins: [react(), tailwindcss()],server: {// 多会话并行开发:PORT 由启动器分配(5173 被占时换口),未设时保持默认