An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Check frontend CSS contracts and share token defaults https://github.com/siyuan-note/siyuan/issues/20280
Daniel6e18786d52e2
diff --git a/app/package.json b/app/package.jsonindex 55a2ec45d4..4f29980337 100644--- a/app/package.json+++ b/app/package.json@@ -7,7 +7,9 @@"main": "./electron/main.js","packageManager": "[email protected]","scripts": {- "lint": "pnpm run typecheck && eslint . --fix --cache",+ "lint": "pnpm run typecheck && eslint . --fix --cache && pnpm run css:check",+ "css:check": "node scripts/css-contracts.mjs",+ "css:unused": "node scripts/css-contracts.mjs --report-unused","typecheck": "tsc -p tsconfig.typecheck.json && tsc -p tsconfig.api.json","api:generate": "node scripts/api-contracts.mjs","api:check": "node scripts/api-contracts.mjs --check",@@ -83,10 +85,14 @@"ifdef-loader": "^2.3.2","mini-css-extract-plugin": "2.9.2","path-browserify": "^1.0.1",+ "postcss": "^8.5.29",+ "postcss-scss": "^4.0.9",+ "postcss-selector-parser": "^7.1.6","safer-buffer": "^2.1.2","sass": "^1.89.2","sass-loader": "^16.0.5","sharp": "^0.35.3",+ "stylelint": "^17.16.0","tsx": "^4.22.4","typescript": "^4.9.5","unzipper": "0.12.5",diff --git a/app/pnpm-lock.yaml b/app/pnpm-lock.yamlindex dac8b1776f..7085894562 100644--- a/app/pnpm-lock.yaml+++ b/app/pnpm-lock.yaml@@ -254,6 +254,15 @@ importers:path-browserify:specifier: ^1.0.1version: 1.0.1+ postcss:+ specifier: ^8.5.29+ version: 8.5.29+ postcss-scss:+ specifier: ^4.0.9+ version: 4.0.9([email protected])+ postcss-selector-parser:+ specifier: ^7.1.6+ version: 7.1.6safer-buffer:specifier: ^2.1.2version: 2.1.2@@ -266,6 +275,9 @@ importers:sharp:specifier: ^0.35.3version: 0.35.3(@types/[email protected])+ stylelint:+ specifier: ^17.16.0+ version: 17.16.0([email protected])([email protected])tsx:specifier: ^4.22.4version: 4.22.4@@ -277,7 +289,7 @@ importers:version: 0.12.5webpack:specifier: ^5.104.1- version: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])webpack-bundle-analyzer:specifier: ^4.5.0version: 4.5.0@@ -287,9 +299,67 @@ importers:packages:+ '@babel/[email protected]':+ resolution: {integrity: sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==}+ engines: {node: '>=6.9.0'}++ '@babel/[email protected]':+ resolution: {integrity: sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==}+ engines: {node: '>=6.9.0'}+'@breezystack/[email protected]':resolution: {integrity: sha512-6wc7ck65ctA75Hq7FYHTtTvGnYs6msgdxiSUICQ+A01nVOWg6rqouZB8IdyteRlfpYYiFovkf67dIeOgWIUzTA==}+ '@cacheable/[email protected]':+ resolution: {integrity: sha512-CTLKqLItRCEixEAewD3/j9DB3/o96gpTPD4eJ1v+DGOlxZRZncRQkGYqqnAGCscYd6RNeXfGeiuCphsPtqyIfQ==}++ '@cacheable/[email protected]':+ resolution: {integrity: sha512-buipgOVDkkPXNR5+xBpDw7Zk2n1EvU7qBJCNUcL7rhQ//kfpOXPAvQ511Os0vpLYJ1pZnvudNytkQt2hst3wqA==}++ '@csstools/[email protected]':+ resolution: {integrity: sha512-iex20d8CHVkyvg6B7UKV7uHnI2Bqo9g+EFfT9E0y+GvTvhZ/DwONJ+9aKb1dlqm0ZiGsL5RXjp0fCoJYnkeDjA==}+ engines: {node: '>=20.19.0'}+ peerDependencies:+ '@csstools/css-parser-algorithms': ^4.0.2+ '@csstools/css-tokenizer': ^4.0.2++ '@csstools/[email protected]':+ resolution: {integrity: sha512-40cSKyMvK+tq4qz6Awrlye2WGuOKt3FwPgtGg6KTfbHOWNw+Rk1rzbAtZnZ6IBhsY491HLRnDXwoyBAijmmILA==}+ engines: {node: '>=20.19.0'}+ peerDependencies:+ '@csstools/css-tokenizer': ^4.0.2++ '@csstools/[email protected]':+ resolution: {integrity: sha512-J0u7HkVl2nzSlhsiTOp4AmwcUQ3D+mGEEKfBy/7To5/y7F2OHwyLrXfrhR0SMgr4p5Lo+eaMVSeai24zUcBIxA==}+ peerDependencies:+ css-tree: ^3.2.1+ peerDependenciesMeta:+ css-tree:+ optional: true++ '@csstools/[email protected]':+ resolution: {integrity: sha512-OoKoR0f76dCY666JlcbhmVTs2drYj1GUXZTYTcbUgJjh9Nv41aFfZ21bPQTERm5+L5cBDo466NltB2lplS5GBw==}+ engines: {node: '>=20.19.0'}++ '@csstools/[email protected]':+ resolution: {integrity: sha512-qx19O8AbbLLbDSAcI6YOby/Vq8rV51psgIvlF5OZT/L8fQJDCyQifL6k+kYU4a8ySpzJ4RBzZkIs530bAn8y4Q==}+ engines: {node: '>=20.19.0'}+ peerDependencies:+ '@csstools/css-parser-algorithms': ^4.0.2+ '@csstools/css-tokenizer': ^4.0.2++ '@csstools/[email protected]':+ resolution: {integrity: sha512-JpjNBJFA+4OnAHKRK4AMp8xrYyLhI9XapOeBlP2PhRU/IylSw+1ep3BFNTksBJnrTS3KT6kqKNVfpzLLwZUW5Q==}+ engines: {node: '>=20.19.0'}+ peerDependencies:+ postcss-selector-parser: ^7.1.1++ '@csstools/[email protected]':+ resolution: {integrity: sha512-MBuqFIIvqk4S593MGAskTkPpEUUzZNvGzh8mMxEwl3oHwjQlXmqHEDxNbN3Y0Tsh+xjmem4GZjeg7I0qkwBivg==}+ engines: {node: '>=20.19.0'}+ peerDependencies:+ postcss-selector-parser: ^7.1.1+'@discoveryjs/[email protected]':resolution: {integrity: sha512-gX9Hx+2BMP5+yXfr4Agb+iBd9YiI729x38wbhfvRSkxQqfXnJUNy1nnyJWetYCvxnL1caWd1HqJnbQwVrgvgeA==}engines: {node: '>=10.0.0'}@@ -877,6 +947,12 @@ packages:'@jridgewell/[email protected]':resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}+ '@keyv/[email protected]':+ resolution: {integrity: sha512-WbzE9sdmQtKy8vrNPa9BRnwZh5UF4s1KTmSK0KUVLo3eff5BlQNNWDnFOouNpKfPKDnms9xynJjsMYjMaT/aFQ==}+ engines: {node: '>= 18'}+ peerDependencies:+ keyv: ^5.6.0+'@keyv/[email protected]':resolution: {integrity: sha512-dXn3FZhPv0US+7dtJsIi2R+c7qWYiReoEh5zUntWCf4oSpMNib8FDhSoed6m3QyZdx5hK7iLFkYk3rNxwt8vTA==}@@ -896,6 +972,18 @@ packages:resolution: {integrity: sha512-IYqDGiTXab6FniAgnSdZwgWbomxpy9FtYvLKs7wCUs2a8RkITG+DFGO1DM9cr+E3/RgADRpFjrKVaJ1z6sjtEg==}engines: {node: '>= 20.19.0'}+ '@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'}+'@parcel/[email protected]':resolution: {integrity: sha512-YQxSS34tPF/6ZG7r/Ih9xy+kP/WwediEUsqmtf0cuCV5TPPKw/PQHRhueUo6JdeFJaqV3pyjm0GdYjZotbRt/A==}engines: {node: '>= 10.0.0'}@@ -1012,6 +1100,10 @@ packages:resolution: {integrity: sha512-P1Cz1dWaFfR4IR+U13mqqiGsLFf1KbayybWwdd2vfctdV6hDpUkgCY0nKOLLTMSoRd/jJNjtbqzf13K8DCCXQw==}engines: {node: '>=18'}+ '@sindresorhus/[email protected]':+ resolution: {integrity: sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==}+ engines: {node: '>=18'}+'@types/[email protected]':resolution: {integrity: sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==}@@ -1283,6 +1375,10 @@ packages:resolution: {integrity: sha512-S2s3aOytiKdFRdulw2qPE51MzjzVOisppcVv7jVFR+Kw0kxwvFrDcYA0h7Ndqbmj0HkMIXYWaoj7fli8kgx1eg==}engines: {node: '>=12.0.0'}+ resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==}+ engines: {node: '>=8'}+resolution: {integrity: sha512-NW2cX8m1Q7KPA7a5M2ULQeZ2wR5qI5PAbw5L0UOMxdioVk9PMZ0h1TmyZEkPYrCvYjDlFICusOu1dlEKAAeXBw==}engines: {node: '>=0.12.0'}@@ -1341,6 +1437,10 @@ packages:resolution: {integrity: sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==}engines: {node: 18 || 20 || >=22}+ resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}+ engines: {node: '>=8'}+resolution: {integrity: sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==}engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}@@ -1373,6 +1473,9 @@ packages:resolution: {integrity: sha512-SVXGH037+Mo1aIMO5B2UcleR43FGjFdN+M8JObSyEoQ2Mn4CODRWx28gN5jiTF0n5ItsgtIZfyargMNs8GX4kg==}engines: {node: '>=18'}+ resolution: {integrity: sha512-60cyAOytib/OzBw1JNSoSV/boK1AtHryDIjvVBk7XbN4ugfkM3+Sry7fEjNgPMGgOjuaZPAp8ruZ0Cxafwyq9g==}+resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==}engines: {node: '>= 0.4'}@@ -1443,6 +1546,9 @@ packages:resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}+ resolution: {integrity: sha512-AidJptpBJmjTclAp9BkLwJi0T93fo5epJnbaZslpg6QVzpHjAiveF55mE9AcUJiGMqRHgMDY8soMsQtuNYMHfw==}+resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==}@@ -1487,6 +1593,15 @@ packages:resolution: {integrity: sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==}+ resolution: {integrity: sha512-gtTZxTDau1wL7Y7zifc2dd8jHSK/k6BTx/2Xp/BpdlAdnlYWFVt7qhJqgwi7637yRwRQ3qL4ZidbB4I8tA5VOg==}+ engines: {node: '>=14'}+ peerDependencies:+ typescript: '>=4.9.5'+ peerDependenciesMeta:+ typescript:+ optional: true+resolution: {integrity: sha512-+R08/oI0nl3vfPcqftZRpytksBXDzOUveBq/NBVx0sUp1axwzPQrKinNx5yd5sxPu8j1wIy8AfnVQ+5eFdha6Q==}@@ -1499,6 +1614,10 @@ packages:resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}engines: {node: '>= 8'}+ resolution: {integrity: sha512-8HFEBPKhOpJPEPu70wJJetjKta86Gw9+CCyCnB3sui2qQfOvRyqBy4IKLKKAwdMpWb2lHXWk9Wb4Z6AmaUT1Pg==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-vv3J9tlOl04WjiMvHQI/9tmIrCxVrj6PFbHemBB1iihpeRbi/I4h033eoFIhwxBBqLhI0KYFS7yvynBFhIZfTw==}engines: {node: '>= 18.12.0'}@@ -1514,6 +1633,10 @@ packages:resolution: {integrity: sha512-gT3wBNd9Nj49rAbmtFHj1cljIAOLYSX1nZ8CB7TBO3INYckygm5B7LISU/szY//YmdiSLbJvDLOx9VnMVpMBxA==}+ resolution: {integrity: sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==}+ engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0}+resolution: {integrity: sha512-qxyKHQvgKwzwDWC/rGbT821eJalfupxYW2qbSJSAtdSTimsr/MlaGONoNLllaUPZWf8QnbcKM/kPVYUQuEKAFA==}engines: {node: '>= 6'}@@ -1678,6 +1801,10 @@ packages:resolution: {integrity: sha512-6u0VYSCo/OW6IoD5WCLLy9JUGARbamfSavcNXry/eu8aHVFei6CD3Sw+VGX5alea1i9pgPHW0mbu6Xj0uBh7gA==}engines: {node: '>=6'}+ resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-dtJUTepzMW3Lm/NPxRf3wP4642UWhjL2sQxc+ym2YMj1m/H2zDNQOlezafzkHwn6sMstjHTwG6iQQsctDW/b1A==}engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}@@ -1690,6 +1817,9 @@ packages:resolution: {integrity: sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==}+ resolution: {integrity: sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==}+resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==}engines: {node: '>= 0.4'}@@ -1807,6 +1937,10 @@ packages:resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}+ resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==}+ engines: {node: '>=8.6.0'}+resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==}@@ -1820,6 +1954,9 @@ packages:resolution: {integrity: sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==}engines: {node: '>= 4.9.1'}+ resolution: {integrity: sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==}+resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==}engines: {node: '>=12.0.0'}@@ -1829,6 +1966,9 @@ packages:picomatch:optional: true+ resolution: {integrity: sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==}+resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==}engines: {node: '>=16.0.0'}@@ -1846,6 +1986,10 @@ packages:resolution: {integrity: sha512-oHLTvMLw6imZUl1se/RBQrFlyy50nXce4sU7yGR6Qc0JgCwqnfiFsAnEwotdGmfKLD7SArGUk2/5STU0k8LOBQ==}engines: {node: '>= 10.8.0'}+ resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}+ engines: {node: '>=8'}+resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==}engines: {node: '>=8'}@@ -1858,6 +2002,9 @@ packages:resolution: {integrity: sha512-EryKbCE/wxpxKniQlyas6PY1I9vwtF3uCBweX+N8KYTCn3Y12RTGtQAJ/bd5pl7kxUAc8v/R3Ake/N17OZiFqA==}engines: {node: '>=16'}+ resolution: {integrity: sha512-f++BY9pTk+983xK1FLzlLpmM0i0z+jHmx3QESGkURMXujQZz1k5wzwX6hjnQ8goaD0B+sYnDK1yZ6MTyZfUaqA==}+resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==}hasBin: true@@ -1912,6 +2059,10 @@ packages:resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==}engines: {node: 6.* || 8.* || >= 10.*}+ resolution: {integrity: sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==}engines: {node: '>= 0.4'}@@ -1927,6 +2078,10 @@ packages:resolution: {integrity: sha512-yTb+8DXzDREzgvYmh6s9vHsSVCHeC0G3PI5bEXNBHtmshPnO+S5O7qgLEOn0I5QvMy6kpZN8K1NKGyilLb93wA==}+ resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}+ engines: {node: '>= 6'}+resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==}engines: {node: '>=10.13.0'}@@ -1947,6 +2102,14 @@ packages:resolution: {integrity: sha512-PT6XReJ+D07JvGoxQMkT6qji/jVNfX/h364XHZOWeRzy64sSFr+xJ5OX7LI3b4MPQzdL4H8Y8M0xzPpsVMwA8Q==}engines: {node: '>=10.0'}+ resolution: {integrity: sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}engines: {node: '>=18'}@@ -1959,10 +2122,17 @@ packages:resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==}engines: {node: '>= 0.4'}+ resolution: {integrity: sha512-c8B/VNLmxRcmqqenRA9t+9IyOjf9+V6lTxPaUJLqOCONdQkWZ0ETYgX0qbtJqPsgCNusT9MZ5Jeidw8Eb9tn2g==}+ engines: {node: '>=20'}+resolution: {integrity: sha512-KVbFv2TQtbzCoxAnfD6JcHZTYCzyliEaaeM/gH8qQdkKr5s0OP9scEgvdcngyk7AVdY6YVW/TJHd+lQ/Df3Daw==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-xYfnw62CKG8nLkZBfWbhWwDw02CHty86jfPcc2cr3ZfeuK9ysoVPPEUxf21bAD/rWAgk52SuBrLJlefNy8mvFg==}+resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==}engines: {node: '>= 0.4'}@@ -1982,6 +2152,10 @@ packages:resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}engines: {node: '>=8'}+ resolution: {integrity: sha512-CsNUt5x9LUdx6hnk/E2SZLsDyvfqANZSUq4+D3D8RzDJ2M+HDTIkF60ibS1vHaK55vzgiZw1bEPFG9yH7l33wA==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==}@@ -1993,6 +2167,10 @@ packages:resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==}engines: {node: '>= 0.4'}+ resolution: {integrity: sha512-iZyKG96/JwPz1N55vj2Ie2vXbhu440zfUfJvSwEqEbeLluk7NnapfGqa7LH0mOsnDxTF85Mx8/dyR6HfqcbmbQ==}+ engines: {node: '>=20'}+resolution: {integrity: sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg==}engines: {node: '>= 0.4'}@@ -2005,6 +2183,12 @@ packages:resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==}hasBin: true+ resolution: {integrity: sha512-MvG/clsADq1GPM2KGo2nyfaWVyn9naPiXrqIe4jYjXNZQt238kWyOGrsyc/DmRAQ+Re6yeo6yX/yoNCG5KAEVg==}++ resolution: {integrity: sha512-p/LgFzRN5FeoD3DLS6bkUapeye6E4SI6yJs6KetENd18S+FBthqYq2amJUWpt5z0EQwwHemidjY5OqJGEKm5uA==}+resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==}engines: {node: '>=10'}@@ -2025,6 +2209,10 @@ packages:engines: {node: '>=12'}hasBin: true+ resolution: {integrity: sha512-n6l5uca7/y5joxZ3LUePhzmBFUJ+U2YWzhMa8XUTecSeSlQiZdF5XAd/Q3/WUl0VsXgUwWi8I7CNIwdI5WN1SQ==}+ engines: {node: '>=20.10'}+resolution: {integrity: sha512-md+vXtdCAe60s1k6AU3dUyMJnDxUyQAwfwPKoLisvgUF1IXjtlLsk2se54+qfL9Mdm26bbwvjJybpNx48NKRLw==}engines: {node: '>=10.13.0'}@@ -2072,6 +2260,10 @@ packages:resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==}engines: {node: '>= 4'}+ resolution: {integrity: sha512-/8UvqAPU9DGTI9k4mxtf49U37Isfwr8Uts96+SBHIkFxPJnHS0Ew4f00sM4Scd8V8EjM0jUNtVDdv1kPdt35lg==}+ engines: {node: '>= 4'}+resolution: {integrity: sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==}engines: {node: '>= 4'}@@ -2083,11 +2275,18 @@ packages:resolution: {integrity: sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==}engines: {node: '>=6'}+ resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==}engines: {node: '>=8'}hasBin: true+ resolution: {integrity: sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==}+resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}engines: {node: '>=0.8.19'}@@ -2099,10 +2298,16 @@ packages:resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}+ resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==}+resolution: {integrity: sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==}engines: {node: '>= 0.10'}+ resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==}+resolution: {integrity: sha512-evOr8xfXKxE6qSR0hSXL2r3sd7ALj8+7jQEUvPYcm5sgZFdJ+AYzT6yNmJenvIYQBgIGwfwz08sL8zoL7yq2BA==}engines: {node: '>= 0.4'}@@ -2119,6 +2324,10 @@ packages:resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}+ engines: {node: '>=0.12.0'}+resolution: {integrity: sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==}engines: {node: '>=6'}@@ -2131,6 +2340,10 @@ packages:resolution: {integrity: sha512-wiyhTzfDWsvwAW53OBWF5zuvaOGlZ6PwYxAbPVDhpm+gM09xKQGjBq/8uYN12aDvMxnAnq3dxTyoSoRNmg5YFg==}engines: {node: '>=6'}+ resolution: {integrity: sha512-lJJV/5dYS+RcL8uQdBDW9c9uWFLLBNRyFhnAKXw5tVqLlKZ4RMGZKv+YQ/IA3OhD+RpbJa1LLFM1FQPGyIXvOA==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==}engines: {node: '>=0.10.0'}@@ -2182,6 +2395,9 @@ packages:resolution: {integrity: sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==}hasBin: true+ resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}+resolution: {integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==}hasBin: true@@ -2193,6 +2409,9 @@ packages:resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==}+ resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==}+resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==}@@ -2237,6 +2456,9 @@ packages:resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}engines: {node: '>= 0.8.0'}+ resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}+resolution: {integrity: sha512-DFEqQ3ihfS9blba08cLfYf1NRAIEm+dDjic073DRDc3/JspI/8wYmtDsHwd3+4hwvdxSK7PGaElfTmm0awWJ4w==}engines: {node: '>=6.11.5'}@@ -2260,6 +2482,9 @@ packages:resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}+ resolution: {integrity: sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==}+resolution: {integrity: sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==}@@ -2286,9 +2511,27 @@ packages:resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==}engines: {node: '>= 0.4'}+ resolution: {integrity: sha512-aa6AU2Pcx0VP/XWnh8IGL0SYSgQHDT6Ucror2j2mXeFAlN3ahaNs8EZtG1YiticMkSLj3Gt6VPFfZogt7G5iFQ==}++ resolution: {integrity: sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==}++ resolution: {integrity: sha512-EDYo6VlmtnumlcBCbh1gLJ//9jvM/ndXHfVXIFrZVr6fGcwTUyCTFNTLCKuY3ffbK8L/+3Mzqnd58RojiZqHVw==}+ engines: {node: '>=20'}+resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}+ resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}+ engines: {node: '>= 8'}++ resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==}+ engines: {node: '>=8.6'}+resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}engines: {node: '>= 0.6'}@@ -2353,8 +2596,8 @@ packages:resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}- resolution: {integrity: sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==}+ resolution: {integrity: sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==}engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}hasBin: true@@ -2393,6 +2636,10 @@ packages:engines: {node: ^20.17.0 || >=22.9.0}hasBin: true+ resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}+ engines: {node: '>=0.10.0'}+resolution: {integrity: sha512-JYc0DPlpGWB40kH5g07gGTrYuMqV653k3uBKY6uITPWds3M0ov3GaWGp9lbE3Bzngx8+XkfzgvASb9vk9JDFXQ==}engines: {node: '>=14.16'}@@ -2461,6 +2708,10 @@ packages:resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}engines: {node: '>=6'}+ resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==}+ engines: {node: '>=8'}+resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==}@@ -2499,6 +2750,10 @@ packages:resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}+ resolution: {integrity: sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==}+ engines: {node: '>=8.6'}+resolution: {integrity: sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==}engines: {node: '>=12'}@@ -2559,15 +2814,27 @@ packages:peerDependencies:postcss: ^8.1.0- resolution: {integrity: sha512-orRsuYpJVw8LdAwqqLykBj9ecS5/cRHlI5+nvTo8LcCKmzDmqVORXtOIYEEQuL9D4BxtA1lm5isAqzQZCoQ6Eg==}+ resolution: {integrity: sha512-1WzZxRLaAFwEh6Do+zyGpjWV3nGJNxxhuh7Ubu/q1ICImMgZJnLwhoaEpRbG4pJppp2Y1ncL9ffA2f+LhrefQg==}+ engines: {node: '>=18.0'}+ peerDependencies:+ postcss: ^8.4.31++ resolution: {integrity: sha512-AjKOeiwAitL/MXxQW2DliT28EKukvvbEWx3LBmJIRN8KfBGZbRTxNYW0kSqi1COiTZ57nZ9NW06S6ux//N1c9A==}+ engines: {node: '>=12.0'}+ peerDependencies:+ postcss: ^8.4.29++ resolution: {integrity: sha512-7qASPzhKF2l2KLboRZux8CCTRMdGiV08vWmyKzPz22qZ7ZjQBOeY7rNzNoCLSUiftJ7HUq0GERHmxw/t0dCdMw==}engines: {node: '>=4'}resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==}- resolution: {integrity: sha512-SoSL4+OSEtR99LHFZQiJLkT59C5B1amGO1NzTwj7TT1qCUgUO6hxOvzkOYxD+vMrXBM3XJIKzokoERdqQq/Zmg==}+ resolution: {integrity: sha512-49cGhUbXj8Qenv0iTMxA1cFBzxXoctpC9Ujd77t1WcbJIr6nF/eI7g/8MgxrYldFRuAXvja7xQRwavoW7kgrxQ==}engines: {node: ^10 || ^12 || >=14}@@ -2611,6 +2878,13 @@ packages:resolution: {integrity: sha512-BbubeCEyTuQjVMakvJQ/Sxbc93F2pwmbsxONT/ZRrwU7Ua38d8unYTwXpTVLAKJ4BDuH9IGztCjQcd/N/39Dvg==}engines: {node: '>=16.0.0'}+ resolution: {integrity: sha512-+Owyggi9IxT1ePKGafcI87ubSmxol6smwJ+RAHDQlx9+9cPwFWDiKFFCPuWhr9ignlGpZ9vDQLw67N4dcTVFEA==}+ engines: {node: '>=20'}++ resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}+resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==}engines: {node: '>=10'}@@ -2680,6 +2954,10 @@ packages:resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==}engines: {node: '>= 4'}+ resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==}+ engines: {iojs: '>=1.0.0', node: '>=0.10.0'}+resolution: {integrity: sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==}deprecated: Rimraf versions prior to v4 are no longer supported@@ -2694,6 +2972,9 @@ packages:resolution: {integrity: sha512-AEjYvmAhlyxOeB9OqPUzQCo3kuAkNfuDk/HqWbZdFsqDFpapkTjiw+p4svNEoRLvuqNTxqfL+s+gtD4eDgZ+CA==}engines: {node: '>=8.0'}+ resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}+resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==}@@ -2803,6 +3084,14 @@ packages:resolution: {integrity: sha512-JuLThK3TnZG1TAKDwNIqNq6QA2afLOCcm+iE8D1Kj3GA40pSPsxQjjJl0J8X3tsR7T+CP1GavpzLwYkgVLWrZQ==}engines: {node: '>= 10'}+ resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==}+ engines: {node: '>=14.16'}++ resolution: {integrity: sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==}+ engines: {node: '>=10'}+resolution: {integrity: sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==}@@ -2810,6 +3099,10 @@ packages:resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==}+ engines: {node: '>=0.10.0'}+resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}@@ -2836,6 +3129,10 @@ packages:resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==}engines: {node: '>=12'}+ resolution: {integrity: sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ==}+ engines: {node: '>=20'}+resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==}@@ -2855,10 +3152,19 @@ packages:resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}engines: {node: '>=8'}+ resolution: {integrity: sha512-ejlWnbJ13x1GU32+zZXa6sYQJsKKkwSdv2B4rAdO3OWdEmvhSJKcXi5pOphQYSzyaj1kXpuGJr7pcMBNfDIuPw==}+ engines: {node: '>=20.19.0'}+ hasBin: true+resolution: {integrity: sha512-MvjXzkz/BOfyVDkG0oFOtBxHX2u3gKbMHIF/dXblZsgD3BWOFLmHovIpZY7BykJdAjcqRCBi1WYBNdEC9yI7vg==}engines: {node: '>= 8.0'}+ resolution: {integrity: sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}engines: {node: '>=8'}@@ -2867,10 +3173,21 @@ packages:resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==}engines: {node: '>=10'}+ resolution: {integrity: sha512-FL/q/YePS4tFFTNiBOR+zPk2ZrKheqNtmTJ/9OUZ4e1wKHJofDbGQSmSsxS0XNnabSkqexryCaXGvEKz1vf9UQ==}+ engines: {node: '>=20'}+resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}engines: {node: '>= 0.4'}+ resolution: {integrity: sha512-ovssysQTa+luh7A5Weu3Rta6FJlFBBbInjOh722LIt6klpU2/HtdUbszju/G4devcvk8PGt7FCLv5wftu3THUA==}++ resolution: {integrity: sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==}+ engines: {node: '>=10.0.0'}+resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==}engines: {node: '>=6'}@@ -2953,6 +3270,10 @@ packages:resolution: {integrity: sha512-e0votIpp4Uo2AJYSzVHV6xCcawuiez3DzqDAbrTc3YxBkplN6e+dM13ZeIcZnDg/QpSuU2zfZ3rzwY8ukEnaXw==}engines: {node: '>=14.14'}+ resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}+ engines: {node: '>=8.0'}+resolution: {integrity: sha512-gduQwd1rOdDMGxFG1gEvhV88Oirdo2p+KjoYFU7k2g+i7n6AFFbDQ5kMPUsW0pNbfQsB/cwXvT1i4Bue0s9g5g==}engines: {node: '>=6'}@@ -2998,6 +3319,10 @@ packages:resolution: {integrity: sha512-YmfV3YnEDzXRC5lZ2jWtWWHKGUm1zIt8AhesR1tens+HTNv+YZlN/dp6G727LOvMJ8xjP9Be7Y2Sdr96LDm+pg==}engines: {node: '>=18.17'}+ resolution: {integrity: sha512-lzlXPoVB0Uy/FvTaUgX39RbixYiSKoc3JSoSf01+0c2B6FR3qdYIPN7Qjo/AV7n6sqLCk0509cT3LRj1oSZ1+A==}+ engines: {node: '>=20'}+resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==}engines: {node: '>= 4.0.0'}@@ -3084,6 +3409,10 @@ packages:webpack-cli:optional: true+ resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==}+ hasBin: true+resolution: {integrity: sha512-N7GBZOTswtB9lkQBZA4+zAXrjEIWAUOB93AvzUiudRzRxhUdLURQ7D/gAIMY1gatT/LTbmbcv8SiYazy3eYB7w==}engines: {node: '>= 8'}@@ -3117,6 +3446,10 @@ packages:resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}+ resolution: {integrity: sha512-OTIk8iR8/aCRWBqvxrzxR0hgxWpnYBblY1S5hDWBQfk/VFmJwzmJgQFN3WsoUKHISv2eAwe+PpbUzyL1CKTLXg==}+ engines: {node: ^20.17.0 || >=22.9.0}+resolution: {integrity: sha512-D3RuNkynyHmEJIpD2qrgVkc9DQ23OrN/moAwZX4L8DfvszsJxpjQuUq3LMx6HoYji9fbIOBY18XWBsAux1ZZUA==}engines: {node: '>=8.3.0'}@@ -3161,8 +3494,56 @@ packages:snapshots:+ '@babel/[email protected]':+ dependencies:+ '@babel/helper-validator-identifier': 7.29.7+ js-tokens: 4.0.0+ picocolors: 1.1.1++ '@babel/[email protected]': {}+'@breezystack/[email protected]': {}+ '@cacheable/[email protected]':+ dependencies:+ '@cacheable/utils': 2.5.0+ '@keyv/bigmap': 1.3.1([email protected])+ hookified: 1.15.1+ keyv: 5.6.0++ '@cacheable/[email protected]':+ dependencies:+ hashery: 1.5.1+ keyv: 5.6.0++ '@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':+ dependencies:+ '@csstools/css-parser-algorithms': 4.0.2(@csstools/[email protected])+ '@csstools/css-tokenizer': 4.0.2++ '@csstools/[email protected](@csstools/[email protected])':+ dependencies:+ '@csstools/css-tokenizer': 4.0.2++ '@csstools/[email protected]([email protected])':+ optionalDependencies:+ css-tree: 3.2.1++ '@csstools/[email protected]': {}++ '@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':+ dependencies:+ '@csstools/css-parser-algorithms': 4.0.2(@csstools/[email protected])+ '@csstools/css-tokenizer': 4.0.2++ '@csstools/[email protected]([email protected])':+ dependencies:+ postcss-selector-parser: 7.1.6++ '@csstools/[email protected]([email protected])':+ dependencies:+ postcss-selector-parser: 7.1.6+'@discoveryjs/[email protected]': {}'@electron-internal/[email protected]': {}@@ -3601,6 +3982,12 @@ snapshots:'@jridgewell/resolve-uri': 3.1.2'@jridgewell/sourcemap-codec': 1.5.5+ '@keyv/[email protected]([email protected])':+ dependencies:+ hashery: 1.5.1+ hookified: 1.15.1+ keyv: 5.6.0+'@keyv/[email protected]': {}'@malept/[email protected]':@@ -3620,6 +4007,18 @@ snapshots:'@noble/[email protected]': {}+ '@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+'@parcel/[email protected]':optional: true@@ -3712,6 +4111,8 @@ snapshots:'@sindresorhus/[email protected]': {}+ '@sindresorhus/[email protected]': {}+'@types/[email protected]':dependencies:'@types/ms': 2.1.0@@ -3926,7 +4327,7 @@ snapshots:dependencies:- webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])+ webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])webpack-cli: 4.10.0([email protected])([email protected])'@webpack-cli/[email protected]([email protected])':@@ -4067,6 +4468,8 @@ snapshots:pvutils: 1.2.0tslib: 2.8.1+ [email protected]: {}+@@ -4109,6 +4512,10 @@ snapshots:dependencies:balanced-match: 4.0.4+ dependencies:+ fill-range: 7.1.1+dependencies:baseline-browser-mapping: 2.10.29@@ -4161,6 +4568,14 @@ snapshots:normalize-url: 8.1.1responselike: 4.0.2+ dependencies:+ '@cacheable/memory': 2.2.0+ '@cacheable/utils': 2.5.0+ hookified: 1.15.1+ keyv: 5.6.0+ qified: 0.10.1+dependencies:es-errors: 1.3.0@@ -4205,7 +4620,7 @@ snapshots:dependencies:del: 4.1.1- webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])+ webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])dependencies:@@ -4225,6 +4640,8 @@ snapshots:+ [email protected]: {}+@@ -4252,6 +4669,15 @@ snapshots:+ dependencies:+ env-paths: 2.2.1+ import-fresh: 3.3.1+ js-yaml: 4.2.0+ parse-json: 5.2.0+ optionalDependencies:+ typescript: 4.9.5+optional: true@@ -4266,18 +4692,20 @@ snapshots:shebang-command: 2.0.0which: 2.0.1+ [email protected]: {}+dependencies:- icss-utils: 5.1.0([email protected])- postcss: 8.5.14- postcss-modules-extract-imports: 3.1.0([email protected])- postcss-modules-local-by-default: 4.2.0([email protected])- postcss-modules-scope: 3.2.1([email protected])- postcss-modules-values: 4.0.0([email protected])+ icss-utils: 5.1.0([email protected])+ postcss: 8.5.29+ postcss-modules-extract-imports: 3.1.0([email protected])+ postcss-modules-local-by-default: 4.2.0([email protected])+ postcss-modules-scope: 3.2.1([email protected])+ postcss-modules-values: 4.0.0([email protected])postcss-value-parser: 4.2.0semver: 7.8.0optionalDependencies:- webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])+ webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])dependencies:@@ -4287,6 +4715,11 @@ snapshots:domutils: 2.6.0nth-check: 2.0.0+ dependencies:+ mdn-data: 2.27.1+ source-map-js: 1.2.1+@@ -4500,12 +4933,18 @@ snapshots:+ [email protected]: {}++ dependencies:+ is-arrayish: 0.2.1+@@ -4531,7 +4970,7 @@ snapshots:esbuild: 0.17.6get-tsconfig: 4.14.0loader-utils: 2.0.4- webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])+ webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])webpack-sources: 1.4.3@@ -4683,6 +5122,14 @@ snapshots:+ 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+@@ -4691,10 +5138,18 @@ snapshots:+ dependencies:+ reusify: 1.1.0+optionalDependencies:picomatch: 4.0.4+ dependencies:+ flat-cache: 6.1.23+dependencies:flat-cache: 4.0.0@@ -4703,7 +5158,7 @@ snapshots:dependencies:loader-utils: 2.0.4schema-utils: 3.3.0- webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])+ webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])dependencies:@@ -4711,6 +5166,10 @@ snapshots:+ dependencies:+ to-regex-range: 5.0.1+dependencies:locate-path: 5.0.0@@ -4727,6 +5186,12 @@ snapshots:keyv: 4.5.4rimraf: 5.0.5+ dependencies:+ cacheable: 2.5.0+ flatted: 3.4.2+ hookified: 1.15.1+@@ -4786,6 +5251,8 @@ snapshots:+ [email protected]: {}+dependencies:call-bind-apply-helpers: 1.0.2@@ -4813,6 +5280,10 @@ snapshots:dependencies:resolve-pkg-maps: 1.0.0+ dependencies:+ is-glob: 4.0.3+dependencies:is-glob: 4.0.3@@ -4847,6 +5318,16 @@ snapshots:serialize-error: 7.0.1optional: true+ dependencies:+ global-prefix: 3.0.0++ dependencies:+ ini: 1.3.8+ kind-of: 6.0.3+ which: 1.3.1+@@ -4857,6 +5338,16 @@ snapshots:gopd: 1.2.0optional: true+ dependencies:+ '@sindresorhus/merge-streams': 4.0.0+ fast-glob: 3.3.3+ ignore: 7.0.5+ is-path-inside: 4.0.0+ micromatch: 4.0.8+ slash: 5.1.0+ unicorn-magic: 0.4.1+dependencies:array-union: 1.0.2@@ -4865,6 +5356,8 @@ snapshots:pify: 2.3.0pinkie-promise: 2.0.1+ [email protected]: {}+@@ -4890,6 +5383,8 @@ snapshots:+ [email protected]: {}+dependencies:es-define-property: 1.0.1@@ -4901,6 +5396,10 @@ snapshots:dependencies:has-symbols: 1.1.0+ dependencies:+ hookified: 1.15.1+dependencies:function-bind: 1.1.2@@ -4911,6 +5410,10 @@ snapshots:+ [email protected]: {}++ [email protected]: {}+dependencies:lru-cache: 6.0.0@@ -4919,7 +5422,7 @@ snapshots:dependencies:html-minifier-terser: 5.1.1parse5: 6.0.1- webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])+ webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])dependencies:@@ -4941,6 +5444,8 @@ snapshots:relateurl: 0.2.7terser: 5.47.1+ [email protected]: {}+dependencies:'@types/html-minifier-terser': 6.1.0@@ -4949,7 +5454,7 @@ snapshots:pretty-error: 4.0.0tapable: 2.3.3optionalDependencies:- webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])+ webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])dependencies:@@ -4983,9 +5488,9 @@ snapshots:dependencies:safer-buffer: 2.1.2dependencies:- postcss: 8.5.14+ postcss: 8.5.29dependencies:@@ -4993,6 +5498,8 @@ snapshots:+ [email protected]: {}+@@ -5002,11 +5509,18 @@ snapshots:parent-module: 1.0.1resolve-from: 4.0.0+ dependencies:+ parent-module: 1.0.1+ resolve-from: 4.0.0+dependencies:pkg-dir: 4.2.0resolve-cwd: 3.0.0+ [email protected]: {}+@@ -5016,8 +5530,12 @@ snapshots:+ [email protected]: {}++ [email protected]: {}+dependencies:hasown: 2.0.3@@ -5030,6 +5548,8 @@ snapshots:dependencies:is-extglob: 2.1.1+ [email protected]: {}+@@ -5040,6 +5560,8 @@ snapshots:dependencies:path-is-inside: 1.0.2+ [email protected]: {}+dependencies:isobject: 3.0.1@@ -5081,6 +5603,8 @@ snapshots:+ [email protected]: {}+dependencies:argparse: 2.0.1@@ -5091,6 +5615,8 @@ snapshots:+ [email protected]: {}+@@ -5133,6 +5659,8 @@ snapshots:prelude-ls: 1.2.1type-check: 0.4.0+ [email protected]: {}+@@ -5157,6 +5685,8 @@ snapshots:+ [email protected]: {}+@@ -5178,8 +5708,21 @@ snapshots:+ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ braces: 3.0.3+ picomatch: 2.3.2+@@ -5196,7 +5739,7 @@ snapshots:dependencies:schema-utils: 4.3.3tapable: 2.3.3- webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])+ webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])dependencies:@@ -5230,7 +5773,7 @@ snapshots:- [email protected]: {}+ [email protected]: {}@@ -5273,6 +5816,8 @@ snapshots:dependencies:abbrev: 4.0.0+ [email protected]: {}+@@ -5336,6 +5881,13 @@ snapshots:dependencies:callsites: 3.1.0+ 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+@@ -5364,6 +5916,8 @@ snapshots:+ [email protected]: {}+@@ -5401,39 +5955,47 @@ snapshots:base64-js: 1.5.1xmlbuilder: 15.1.1dependencies:- postcss: 8.5.14+ postcss: 8.5.29dependencies:- icss-utils: 5.1.0([email protected])- postcss: 8.5.14- postcss-selector-parser: 7.1.1+ icss-utils: 5.1.0([email protected])+ postcss: 8.5.29+ postcss-selector-parser: 7.1.6postcss-value-parser: 4.2.0+ dependencies:+ postcss: 8.5.29+ postcss-selector-parser: 7.1.6++ dependencies:+ icss-utils: 5.1.0([email protected])+ postcss: 8.5.29+dependencies:- postcss: 8.5.14- postcss-selector-parser: 7.1.1+ postcss: 8.5.29dependencies:- icss-utils: 5.1.0([email protected])- postcss: 8.5.14+ postcss: 8.5.29dependencies:cssesc: 3.0.0util-deprecate: 1.0.2dependencies:- nanoid: 3.3.12+ nanoid: 3.3.20picocolors: 1.1.1- source-map-js: 1.2.1+ source-map-js: 1.2.2dependencies:@@ -5472,6 +6034,12 @@ snapshots:+ dependencies:+ hookified: 2.2.0++ [email protected]: {}+@@ -5539,6 +6107,8 @@ snapshots:+ [email protected]: {}+dependencies:glob: 7.2.0@@ -5557,6 +6127,10 @@ snapshots:sprintf-js: 1.1.3optional: true+ dependencies:+ queue-microtask: 1.2.3+@@ -5570,7 +6144,7 @@ snapshots:neo-async: 2.6.2optionalDependencies:sass: 1.99.0- webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])+ webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])dependencies:@@ -5668,10 +6242,20 @@ snapshots:mrmime: 1.0.1totalist: 1.1.0+ [email protected]: {}++ dependencies:+ ansi-styles: 4.3.0+ astral-regex: 2.0.0+ is-fullwidth-code-point: 3.0.0++ [email protected]: {}+dependencies:buffer-from: 1.1.2@@ -5702,6 +6286,11 @@ snapshots:emoji-regex: 9.2.2strip-ansi: 7.2.0+ dependencies:+ get-east-asian-width: 1.7.0+ strip-ansi: 7.2.0+dependencies:safe-buffer: 5.1.2@@ -5720,12 +6309,55 @@ snapshots:+ dependencies:+ '@csstools/css-calc': 3.4.3(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])+ '@csstools/css-parser-algorithms': 4.0.2(@csstools/[email protected])+ '@csstools/css-syntax-patches-for-csstree': 1.1.15([email protected])+ '@csstools/css-tokenizer': 4.0.2+ '@csstools/media-query-list-parser': 5.0.2(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])+ '@csstools/selector-resolve-nested': 4.0.2([email protected])+ '@csstools/selector-specificity': 6.0.1([email protected])+ colord: 2.10.0+ cosmiconfig: 9.0.2([email protected])+ css-functions-list: 3.3.3+ css-tree: 3.2.1+ debug: 4.4.3([email protected])+ fast-glob: 3.3.3+ fastest-levenshtein: 1.0.16+ file-entry-cache: 11.1.5+ global-modules: 2.0.0+ globby: 16.2.4+ globjoin: 0.1.4+ html-tags: 5.1.0+ ignore: 7.0.12+ import-meta-resolve: 4.2.0+ mathml-tag-names: 4.0.0+ meow: 14.1.0+ micromatch: 4.0.8+ normalize-path: 3.0.0+ picocolors: 1.1.1+ postcss: 8.5.29+ postcss-safe-parser: 7.1.0([email protected])+ postcss-selector-parser: 7.1.6+ postcss-value-parser: 4.2.0+ string-width: 8.3.0+ supports-hyperlinks: 4.6.0+ svg-tags: 1.0.0+ table: 6.9.0+ write-file-atomic: 7.0.1+ transitivePeerDependencies:+ - supports-color+ - typescript+dependencies:debug: 4.4.3([email protected])transitivePeerDependencies:- supports-color+ [email protected]: {}+dependencies:has-flag: 4.0.0@@ -5734,8 +6366,23 @@ snapshots:dependencies:has-flag: 4.0.0+ dependencies:+ has-flag: 5.0.1+ supports-color: 10.2.2++ [email protected]: {}++ dependencies:+ ajv: 8.20.0+ lodash.truncate: 4.4.2+ slice-ansi: 4.0.0+ string-width: 4.2.3+ strip-ansi: 6.0.1+@@ -5756,18 +6403,18 @@ snapshots:mkdirp: 0.5.6rimraf: 2.6.3- [email protected]([email protected])([email protected])([email protected])([email protected])([email protected]):+ [email protected]([email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:'@jridgewell/trace-mapping': 0.3.31jest-worker: 27.4.5schema-utils: 4.3.3terser: 5.47.1- webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])+ webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])optionalDependencies:clean-css: 5.3.3esbuild: 0.28.1html-minifier-terser: 6.1.0- postcss: 8.5.14+ postcss: 8.5.29dependencies:@@ -5798,6 +6445,10 @@ snapshots:+ dependencies:+ is-number: 7.0.0+@@ -5831,6 +6482,8 @@ snapshots:+ [email protected]: {}+@@ -5902,7 +6555,7 @@ snapshots:import-local: 3.2.0interpret: 2.2.0rechoir: 0.7.1- webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])+ webpack: 5.106.2([email protected])([email protected])([email protected])([email protected])([email protected])webpack-merge: 5.10.0optionalDependencies:webpack-bundle-analyzer: 4.5.0@@ -5920,7 +6573,7 @@ snapshots:- [email protected]([email protected])([email protected])([email protected])([email protected])([email protected]):+ [email protected]([email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:'@types/eslint-scope': 3.7.7'@types/estree': 1.0.9@@ -5943,7 +6596,7 @@ snapshots:neo-async: 2.6.2schema-utils: 4.3.3tapable: 2.3.3- terser-webpack-plugin: 5.6.0([email protected])([email protected])([email protected])([email protected])([email protected])+ terser-webpack-plugin: 5.6.0([email protected])([email protected])([email protected])([email protected])([email protected])watchpack: 2.5.1webpack-sources: 3.4.1optionalDependencies:@@ -5962,6 +6615,10 @@ snapshots:- postcss- uglify-js+ dependencies:+ isexe: 2.0.0+dependencies:isexe: 2.0.0@@ -5992,6 +6649,10 @@ snapshots:+ dependencies:+ signal-exit: 4.1.0+diff --git a/app/scripts/CSS-CONTRACTS.md b/app/scripts/CSS-CONTRACTS.mdnew file mode 100644index 0000000000..b10f3599af--- /dev/null+++ b/app/scripts/CSS-CONTRACTS.md@@ -0,0 +1,13 @@+# CSS contracts++`pnpm run css:check` checks core UI class literals and Stylelint rules. `pnpm run lint` runs it after type checking and ESLint. The frontend test command also discovers `css-contracts.test.js`.++The class check compiles the desktop, mobile, and export SCSS entries and reads bundled appearance CSS and complete CSS rule literals injected by TypeScript. It collects complete static HTML class attributes, `className`, `setAttribute("class", ...)`, `classList` mutations and queries, and selector literals from TypeScript and templates. Core namespaces include BEM names, `b3-`, `config-`, `agent-chat__`, `protyle-`, and tab classes. Dynamically composed names and third-party content classes cannot be fully enumerated by this check.++`css-contract-baseline.json` retains existing classes without built-in CSS and existing style findings. Class entries include their source locations and a reason; classes used for behavior or external theme customization do not require their own built-in rule. The style baseline preserves existing cascade behavior, nested feature scopes, and the bundled PDF styles. New violations fail even when the same style finding already occurs elsewhere, because the style baseline counts occurrences.++Remove baseline entries when their underlying finding is resolved. Do not regenerate or expand the baseline to make a failure pass. A new exception requires a concrete reason in the same reviewed change, identifying the behavior, external theme contract, or required cascade compatibility. Keep reasons and source references current when moving code.++`pnpm run css:unused` produces a read-only list of defined core classes without a recognized literal reference. Investigate templates, runtime composition, Lute output, and external theme/plugin usage before acting on that report; absence from it or presence in it is not proof of usage or obsolescence.++Fallback defaults shared by feature styles live in `src/assets/scss/util/_tokens.scss`. The `token()` function emits the fallback at the consumption site so descendant theme overrides and element-specific runtime values keep their original resolution semantics. Shared component appearance continues to use the existing component styles and theme tokens.diff --git a/app/scripts/css-contract-baseline.json b/app/scripts/css-contract-baseline.jsonnew file mode 100644index 0000000000..fb93dfc7c0--- /dev/null+++ b/app/scripts/css-contract-baseline.json@@ -0,0 +1,1836 @@+{+ "classes": {+ "agent-chat__body--error": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/layout/dock/agent/AgentChat.ts"+ ]+ },+ "agent-chat__confirm-always": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/layout/dock/agent/AgentChat.ts",+ "src/layout/dock/agent/agentConfirmActions.ts"+ ]+ },+ "agent-chat__confirm-approve": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/layout/dock/agent/AgentChat.ts",+ "src/layout/dock/agent/agentConfirmActions.ts"+ ]+ },+ "agent-chat__confirm-reject": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/layout/dock/agent/AgentChat.ts",+ "src/layout/dock/agent/agentConfirmActions.ts"+ ]+ },+ "agent-chat__header": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/layout/dock/agent/AgentChat.ts"+ ]+ },+ "agent-chat__image-upload": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/layout/dock/agent/AgentChat.ts"+ ]+ },+ "agent-chat__image-upload-input": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/layout/dock/agent/AgentChat.ts"+ ]+ },+ "agent-chat__msg--confirm": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/layout/dock/agent/AgentChat.ts"+ ]+ },+ "agent-chat__msg--question": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/layout/dock/agent/AgentChat.ts"+ ]+ },+ "agent-chat__msg--snapshot": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/layout/dock/agent/AgentChat.ts"+ ]+ },+ "agent-chat__msg-time": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/layout/dock/agent/AgentChat.ts"+ ]+ },+ "agent-chat__question-submit-btn": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/layout/dock/agent/AgentChat.ts",+ "src/layout/dock/agent/AgentMessageRenderer.ts"+ ]+ },+ "agent-chat__regenerate": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/layout/dock/agent/AgentChat.ts"+ ]+ },+ "agent-chat__thinking-arrow--contract": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/ai/editor.ts",+ "src/ai/thinkingCard.ts",+ "src/layout/dock/agent/AgentChat.ts",+ "src/layout/dock/agent/AgentMessageRenderer.ts"+ ]+ },+ "agent-chat__thinking-arrow--expand": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/ai/editor.ts",+ "src/ai/thinkingCard.ts",+ "src/layout/dock/agent/AgentChat.ts",+ "src/layout/dock/agent/AgentMessageRenderer.ts"+ ]+ },+ "agent-chat__user-copy": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/layout/dock/agent/AgentChat.ts"+ ]+ },+ "agent-chat__user-edit": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/layout/dock/agent/AgentChat.ts"+ ]+ },+ "ai-editor-panel__close": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/ai/editor.ts"+ ]+ },+ "ai-editor-panel__stop": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/ai/editor.ts"+ ]+ },+ "asset-picker__cancel": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/asset/picker.ts"+ ]+ },+ "asset-picker__more": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/asset/picker.ts"+ ]+ },+ "asset-picker__select": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/asset/picker.ts"+ ]+ },+ "av__batch-edit-proxy": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/render/av/batchEdit.ts"+ ]+ },+ "av__calendar-today": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/render/av/calendar/render.ts"+ ]+ },+ "av__calendar-undated-preview-layer": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/render/av/calendar/undated.ts"+ ]+ },+ "av__cell--paste-placeholder": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/util/insertHTML.ts"+ ]+ },+ "av__cell-check": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/render/av/cell.ts"+ ]+ },+ "av__cell-uncheck": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/render/av/cell.ts"+ ]+ },+ "av__celltext--template": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/render/av/action.ts",+ "src/protyle/render/av/attributeValue.ts",+ "src/protyle/render/av/blockAttr.ts",+ "src/protyle/render/av/cell.ts"+ ]+ },+ "av__group-name": {+ "reason": "现有第三方主题接口,保留原因见 issue 15736",+ "references": [+ "src/protyle/render/av/kanban/render.ts",+ "src/protyle/render/av/render.ts"+ ]+ },+ "av__relation-fields": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/render/av/relationLayout.ts"+ ]+ },+ "av__spacer--bottom": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/render/av/render.ts",+ "src/protyle/render/av/virtualScroll.ts"+ ]+ },+ "av__views--show": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/render/av/action.ts",+ "src/protyle/render/av/search.ts",+ "src/protyle/render/av/view.ts"+ ]+ },+ "av__views-placeholder": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/render/av/row.ts"+ ]+ },+ "b3-button__icon": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/config/bazaar.ts",+ "src/config/entryVisibility/ui.ts",+ "src/config/tabs/ai/aiDecisionUi.ts",+ "src/config/tabs/ai/aiProviderUi.ts",+ "src/config/tabs/ai/aiUi.ts"+ ]+ },+ "b3-card__author": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/config/bazaar.ts"+ ]+ },+ "b3-link": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/config/tabs/ai/aiUi.ts"+ ]+ },+ "b3-list-item--warning": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/menus/dataMigration.ts"+ ]+ },+ "b3-menu--fit": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/menus/Menu.ts",+ "src/protyle/render/av/relation.ts"+ ]+ },+ "b3-menu__item--custom": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/menus/Menu.ts"+ ]+ },+ "b3-progress": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/menus/importObsidian.ts"+ ]+ },+ "b3-progress__bar": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/menus/importObsidian.ts"+ ]+ },+ "b3-textarea": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/config/setting/save.ts"+ ]+ },+ "backlinkList__global": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/layout/dock/GlobalBacklinkList.ts"+ ]+ },+ "config-agent-capability__list": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/config/tabs/ai/aiCapabilityUi.ts"+ ]+ },+ "config-ai-provider__model": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/config/tabs/ai/aiDecisionUi.ts",+ "src/config/tabs/ai/aiProviderUi.ts"+ ]+ },+ "config-bazaar__rating-detail": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/config/bazaar/rating.ts"+ ]+ },+ "config-entry-visibility__column--locations": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/config/entryVisibility/ui.ts"+ ]+ },+ "dock__item--space": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/assets/template/app/index.tpl",+ "src/assets/template/desktop/index.tpl",+ "src/layout/dock/index.ts",+ "src/menus/index.ts"+ ]+ },+ "dock__items": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/assets/template/app/index.tpl",+ "src/assets/template/desktop/index.tpl",+ "src/boot/globalEvent/event.ts",+ "src/layout/dock/barVisibility.ts",+ "src/menus/index.ts"+ ]+ },+ "drag-tip__action": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/util/dragTip.ts"+ ]+ },+ "drag-tip__title": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/util/dragTip.ts"+ ]+ },+ "emojis__chunks": {+ "reason": "虚拟表情分块的外层容器,与内部 emojis__chunk 用途不同,不需要分块的裁剪样式",+ "references": [+ "src/emoji/index.ts"+ ]+ },+ "emojis__link-footer--save": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/emoji/index.ts"+ ]+ },+ "export-img__watermark": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/export/util.ts"+ ]+ },+ "file-tree__items": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/boot/globalEvent/event.ts",+ "src/layout/dock/Files.ts"+ ]+ },+ "file-tree__publish-access--active": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/index.ts",+ "src/layout/dock/Files.ts"+ ]+ },+ "fn__selectnone": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/render/av/colorDialog.ts",+ "src/protyle/toolbar/inlineStyleDialog.ts"+ ]+ },+ "ft__b": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/render/av/automation.ts"+ ]+ },+ "mindmap-view__summary": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/render/listMindmap/view.ts"+ ]+ },+ "mobile-setting-menu__result": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/mobile/menu/mainMenu.ts",+ "src/mobile/menu/mainMenuSearch.ts"+ ]+ },+ "protyle-action__edit": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/render/util.ts",+ "src/protyle/util/disabledWYSIWYG.ts",+ "src/protyle/util/onGet.ts"+ ]+ },+ "protyle-action__ocr": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/render/imageActions.ts"+ ]+ },+ "protyle-action__reload": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/render/blockRender.ts",+ "src/protyle/render/embedRenderState.ts",+ "src/protyle/render/util.ts"+ ]+ },+ "protyle-attr--alias": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/header/Title.ts",+ "src/protyle/wysiwyg/transaction.ts"+ ]+ },+ "protyle-attr--name": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/header/Title.ts",+ "src/protyle/wysiwyg/keydown.ts",+ "src/protyle/wysiwyg/transaction.ts"+ ]+ },+ "protyle-content--transition": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/index.ts"+ ]+ },+ "protyle-custom": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/util/tableControl.ts",+ "src/protyle/wysiwyg/tableVirtualization.ts"+ ]+ },+ "protyle-db-attr--show-all": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/render/av/attributePanel.ts"+ ]+ },+ "protyle-img": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/boot/globalEvent/keydown.ts"+ ]+ },+ "protyle-table-control__drop--column": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/util/tableControl.ts"+ ]+ },+ "protyle-table-control__drop--row": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/util/tableControl.ts"+ ]+ },+ "publish-access-dialog__comment": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/protyle/util/publishAccess.ts"+ ]+ },+ "sy__bookmark": {+ "reason": "书签面板识别钩子,外观由共享面板组件提供",+ "references": [+ "src/layout/dock/Bookmark.ts"+ ]+ },+ "sy__inbox": {+ "reason": "收集箱面板识别与事件查询钩子,外观由共享面板组件提供",+ "references": [+ "src/boot/globalEvent/keydown.ts",+ "src/layout/dock/Inbox.ts",+ "src/layout/dock/index.ts",+ "src/layout/util.ts"+ ]+ },+ "sy__outline": {+ "reason": "大纲面板识别与事件查询钩子,外观由共享面板组件提供",+ "references": [+ "src/boot/globalEvent/keydown.ts",+ "src/layout/dock/Outline.ts",+ "src/util/touchDragBridge.ts"+ ]+ },+ "sy__tag": {+ "reason": "标签面板识别钩子,外观由共享面板组件提供",+ "references": [+ "src/layout/dock/Tag.ts"+ ]+ },+ "window-controls__item--disabled": {+ "reason": "现有最小化事件的禁用标识检查;是否保留外部设置该状态的接口需另行确认",+ "references": [+ "src/boot/windowControls.ts"+ ]+ },+ "window-workspace__button": {+ "reason": "存量类名,已记录字面量使用位置;不能仅凭内置样式缺失排除其行为或外部主题用途,保留现有接口",+ "references": [+ "src/window/workspace.ts"+ ]+ }+ },+ "styles": [+ {+ "file": "src/assets/scss/export.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "direction: ltr !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/export.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "max-height: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/export.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "max-height: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/export.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "overflow: visible !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/export.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "min-height: 22px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_ai_agent.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "padding: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_ai_agent.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "background: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_ai_agent.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "width: 96px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_ai_agent.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_ai_agent.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "padding: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_ai_editor.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "top: auto !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_ai_editor.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "left: max(8px, env(safe-area-inset-left)) !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_av.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "margin-top: 4px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_av.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "margin-bottom: 4px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_av.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "width: 100% !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_av.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "margin-right: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_av.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "padding-right: 24px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_av.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "background-color: var(--b3-theme-primary-lightest) !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_av.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "opacity: 1 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_av.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "object-position: center !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_av.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "overflow: hidden !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_av.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "font-size: 85% !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_av.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "background-color: var(--b3-theme-background-light) !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_av.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "box-shadow: inset -2px 0 0 var(--b3-theme-primary) !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_card.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "font-size: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_config.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "font-size: 13px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_config.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "width: 100% !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_config.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "width: 16px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_config.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "height: 16px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_config.scss",+ "rule": "max-nesting-depth",+ "text": "Too deep nesting, maximum 5 (max-nesting-depth)",+ "source": ".item__meta-funding {",+ "reason": "现有内容结构与功能作用域嵌套;保留级联和匹配范围,禁止新增更深嵌套"+ },+ {+ "file": "src/assets/scss/business/_config.scss",+ "rule": "max-nesting-depth",+ "text": "Too deep nesting, maximum 5 (max-nesting-depth)",+ "source": "& > span:first-child {",+ "reason": "现有内容结构与功能作用域嵌套;保留级联和匹配范围,禁止新增更深嵌套"+ },+ {+ "file": "src/assets/scss/business/_config.scss",+ "rule": "max-nesting-depth",+ "text": "Too deep nesting, maximum 5 (max-nesting-depth)",+ "source": "& > span:last-child {",+ "reason": "现有内容结构与功能作用域嵌套;保留级联和匹配范围,禁止新增更深嵌套"+ },+ {+ "file": "src/assets/scss/business/_config.scss",+ "rule": "max-nesting-depth",+ "text": "Too deep nesting, maximum 5 (max-nesting-depth)",+ "source": ".b3-chip {",+ "reason": "现有内容结构与功能作用域嵌套;保留级联和匹配范围,禁止新增更深嵌套"+ },+ {+ "file": "src/assets/scss/business/_export.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_export.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_export.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "outline: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_export.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "box-shadow: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_export.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "font-size: 13px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_graph.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "overflow: hidden !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_graph.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "overflow: hidden !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_history.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "border-radius: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_history.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "border-radius: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_history.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "border-radius: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_history.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "background-color: transparent !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_history.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "box-shadow: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_history.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "outline: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_history.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "background-color: transparent !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_layout.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "transition: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_layout.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "margin-top: 8px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/business/_layout.scss",+ "rule": "max-nesting-depth",+ "text": "Too deep nesting, maximum 5 (max-nesting-depth)",+ "source": ".item__document-drop-option {",+ "reason": "现有内容结构与功能作用域嵌套;保留级联和匹配范围,禁止新增更深嵌套"+ },+ {+ "file": "src/assets/scss/business/_layout.scss",+ "rule": "max-nesting-depth",+ "text": "Too deep nesting, maximum 5 (max-nesting-depth)",+ "source": "&--active {",+ "reason": "现有内容结构与功能作用域嵌套;保留级联和匹配范围,禁止新增更深嵌套"+ },+ {+ "file": "src/assets/scss/business/_search.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "padding: 5px 8px 5px 44px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_form.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "padding-left: 34px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_form.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "padding-left: 25px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_form.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "padding-right: 35px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_form.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "font-size: 14px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_form.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "overflow: hidden !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_form.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "border-bottom: 1px solid var(--b3-border-color) !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_list.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "width: auto !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_menu.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "height: 100% !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_menu.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "margin: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_menu.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "width: 100% !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_snackbar.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "transform: translate3d(0, 0, 0) !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_typography.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "white-space: pre !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_typography.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "border-left: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_typography.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "border-right: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_typography.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "border-top: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_typography.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "border-bottom: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_typography.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: inline-block !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_typography.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "position: absolute !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_typography.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "width: 1px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_typography.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "left: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_typography.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "outline: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_typography.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "background: 0 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_typography.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "text-decoration: initial !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_typography.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "text-shadow: initial !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_typography.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "font-size: 12px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_typography.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "overflow: hidden !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_typography.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "min-height: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_typography.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "min-height: 22px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/component/_typography.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "list-style: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_main.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "width: 100% !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_main.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "height: 100vh !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_main.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_main.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_main.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "background-color: transparent !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "background-color: transparent !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "margin: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)) !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "height: 18px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "width: 18px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "margin: 0 12px 0 8px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "width: auto !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "max-height: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "top: auto !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "bottom: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "left: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "right: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "width: auto !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "min-width: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "max-width: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "top: auto !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "bottom: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "left: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "right: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "width: auto !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "min-width: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "max-width: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "max-height: 90vh !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "max-height: 90dvh !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "max-width: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "border: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "padding: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "margin: 0 12px 0 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "width: auto !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "align-items: stretch !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "width: auto !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "max-nesting-depth",+ "text": "Too deep nesting, maximum 5 (max-nesting-depth)",+ "source": "> .fn__flex-1 {",+ "reason": "现有内容结构与功能作用域嵌套;保留级联和匹配范围,禁止新增更深嵌套"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "max-nesting-depth",+ "text": "Too deep nesting, maximum 5 (max-nesting-depth)",+ "source": "img,",+ "reason": "现有内容结构与功能作用域嵌套;保留级联和匹配范围,禁止新增更深嵌套"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "max-nesting-depth",+ "text": "Too deep nesting, maximum 5 (max-nesting-depth)",+ "source": "&--left {",+ "reason": "现有内容结构与功能作用域嵌套;保留级联和匹配范围,禁止新增更深嵌套"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "max-nesting-depth",+ "text": "Too deep nesting, maximum 5 (max-nesting-depth)",+ "source": "> .fn__flex-1 {",+ "reason": "现有内容结构与功能作用域嵌套;保留级联和匹配范围,禁止新增更深嵌套"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "max-nesting-depth",+ "text": "Too deep nesting, maximum 5 (max-nesting-depth)",+ "source": "&--mobile {",+ "reason": "现有内容结构与功能作用域嵌套;保留级联和匹配范围,禁止新增更深嵌套"+ },+ {+ "file": "src/assets/scss/main/_mobile.scss",+ "rule": "max-nesting-depth",+ "text": "Too deep nesting, maximum 5 (max-nesting-depth)",+ "source": "table {",+ "reason": "现有内容结构与功能作用域嵌套;保留级联和匹配范围,禁止新增更深嵌套"+ },+ {+ "file": "src/assets/scss/protyle/_mindmap-view.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "height: auto !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_mindmap-view.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_mindmap-view.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "background: var(--b3-theme-primary-lightest) !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_mindmap-view.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "padding: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_mindmap-view.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "font-size: inherit !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_mindmap-view.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_protyle.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_protyle.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "padding-bottom: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_protyle.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "margin-right: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_protyle.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "padding-left: 4px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_protyle.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "text-align: center !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_protyle.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "padding: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_protyle.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_protyle.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "padding: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_protyle.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "padding: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_protyle.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "padding: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_protyle.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "content: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_protyle.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_protyle.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_tabs.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: block !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_tabs.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_tabs.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: block !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_tabs.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "width: auto !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_tabs.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "height: auto !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_tabs.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "clip-path: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_wysiwyg.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_wysiwyg.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_wysiwyg.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "margin-left: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_wysiwyg.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "margin-right: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_wysiwyg.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "position: fixed !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_wysiwyg.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "opacity: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_wysiwyg.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "min-height: 62px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_wysiwyg.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "min-height: 26px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/protyle/_wysiwyg.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "border-left: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/pdf/annotation_layer_builder.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "opacity: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/pdf/annotation_layer_builder.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "background: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/pdf/annotation_layer_builder.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "outline: calc(1.5px * var(--scale-factor)) solid CanvasText !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/pdf/annotation_layer_builder.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "background-color: ButtonFace !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/pdf/annotation_layer_builder.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "color: ButtonText !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/pdf/annotation_layer_builder.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "outline: calc(3px * var(--scale-factor)) solid Highlight !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/pdf/annotation_layer_builder.scss",+ "rule": "selector-pseudo-class-disallowed-list",+ "text": "Disallowed pseudo-class \":has\" (selector-pseudo-class-disallowed-list)",+ "source": "&:has(div.annotationContent) {",+ "reason": "现有第三方 PDF 注释层样式;本次不改变 PDF 渲染机制,禁止新增使用"+ },+ {+ "file": "src/assets/scss/pdf/_pdf.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "user-select: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/pdf/_pdf.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/pdf/_pdf.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "position: absolute !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/pdf/_pdf.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "margin: 3px 4px 2px !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/pdf/_pdf.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "border: 0 none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/pdf/_pdf.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "cursor: crosshair !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/pdf/_pdf.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "cursor: inherit !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/pdf/_pdf.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "cursor: grab !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/pdf/_pdf.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "cursor: inherit !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/pdf/_pdf.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "cursor: grabbing !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/pdf/_pdf.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "left: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/viewerjs/_viewer.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "max-height: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/viewerjs/_viewer.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "max-width: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/viewerjs/_viewer.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "min-height: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/viewerjs/_viewer.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "min-width: 0 !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/viewerjs/_viewer.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "max-width: 90% !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/viewerjs/_viewer.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "max-width: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/util/_function.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "display: none !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/util/_function.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "color: var(--b3-theme-error) !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/util/_mixin.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "overflow: hidden !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/util/_reset.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "color: var(--b3-theme-on-surface-light) !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/util/_reset.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "background-color: var(--b3-theme-background-light) !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ },+ {+ "file": "src/assets/scss/util/_responsive.scss",+ "rule": "declaration-no-important",+ "text": "Disallowed !important (declaration-no-important)",+ "source": "width: auto !important;",+ "reason": "现有控件、编辑器及主题覆盖的级联规则;未证明可无损移除,禁止新增同类例外"+ }+ ]+}diff --git a/app/scripts/css-contracts.mjs b/app/scripts/css-contracts.mjsnew file mode 100644index 0000000000..7c6fe9b06b--- /dev/null+++ b/app/scripts/css-contracts.mjs@@ -0,0 +1,198 @@+import {readFileSync, readdirSync} from "node:fs";+import path from "node:path";+import {fileURLToPath} from "node:url";+import * as sass from "sass";+import selectorParser from "postcss-selector-parser";+import postcss from "postcss";+import ts from "typescript";+import stylelint from "stylelint";+import stylelintConfig from "../stylelint.config.mjs";++export const root = fileURLToPath(new URL("../", import.meta.url));+const relative = file => path.relative(root, file).replaceAll("\\", "/");+const filesIn = directory => readdirSync(directory, {withFileTypes: true}).flatMap(entry =>+ entry.isDirectory() ? filesIn(path.join(directory, entry.name)) : [path.join(directory, entry.name)]);++export const selectorClasses = selector => {+ const classes = new Set();+ try {+ selectorParser(selectors => selectors.walkClasses(node => classes.add(node.value))).processSync(selector);+ } catch {+ // 字符串中的运行时选择器可能不完整,仅检查能够解析的字面量。+ }+ return classes;+};++export const literalClasses = (text, file = "sample.ts") => {+ const classes = new Set();+ const addWords = value => value.split(/\s+/).filter(Boolean).forEach(name => {+ if (/^[a-zA-Z_][\w-]*$/.test(name)) {+ classes.add(name);+ }+ });+ const addHTML = value => {+ for (const match of value.matchAll(/\bclass\s*=\s*["']([^"']*)["']/g)) {+ addWords(match[1]);+ }+ };+ if (file.endsWith(".tpl") || file.endsWith(".html")) {+ addHTML(text);+ return classes;+ }+ const source = ts.createSourceFile(file, text, ts.ScriptTarget.Latest, true);+ const literal = node => node && (ts.isStringLiteral(node) || ts.isNoSubstitutionTemplateLiteral(node));+ const visit = node => {+ if (literal(node) || ts.isTemplateHead(node) || ts.isTemplateMiddle(node) || ts.isTemplateTail(node)) {+ addHTML(node.text);+ }+ if (ts.isBinaryExpression(node) && node.operatorToken.kind === ts.SyntaxKind.EqualsToken &&+ ts.isPropertyAccessExpression(node.left) && node.left.name.text === "className" && literal(node.right)) {+ addWords(node.right.text);+ }+ if (ts.isCallExpression(node) && ts.isPropertyAccessExpression(node.expression)) {+ const call = node.expression;+ if (ts.isPropertyAccessExpression(call.expression) && call.expression.name.text === "classList" &&+ ["add", "remove", "toggle", "contains", "replace"].includes(call.name.text)) {+ node.arguments.filter(literal).forEach(item => addWords(item.text));+ } else if (["querySelector", "querySelectorAll", "closest", "matches"].includes(call.name.text) && literal(node.arguments[0])) {+ selectorClasses(node.arguments[0].text).forEach(name => classes.add(name));+ } else if (call.name.text === "setAttribute" && literal(node.arguments[0]) && node.arguments[0].text === "class" &&+ literal(node.arguments[1])) {+ addWords(node.arguments[1].text);+ }+ }+ ts.forEachChild(node, visit);+ };+ visit(source);+ return classes;+};++export const cssClasses = css => {+ const classes = new Set();+ postcss.parse(css).walkRules(rule => selectorClasses(rule.selector).forEach(name => classes.add(name)));+ return classes;+};++export const injectedCSSClasses = text => {+ const source = ts.createSourceFile("injected.ts", text, ts.ScriptTarget.Latest, true);+ const classes = new Set();+ const visit = node => {+ let value;+ if (ts.isStringLiteral(node) || ts.isNoSubstitutionTemplateLiteral(node)) {+ value = node.text;+ } else if (ts.isTemplateExpression(node)) {+ // 只连接静态部分,表达式以注释占位,不把运行时生成的类名当作已声明类名。+ value = node.head.text + node.templateSpans.map(span => `/* dynamic */${span.literal.text}`).join("");+ }+ if (value !== undefined) {+ const fragments = value.includes("<") ?+ [...value.matchAll(/<style(?:\s[^>]*)?>([\s\S]*?)<\/style>/g)].map(match => match[1]) : [value];+ for (const fragment of fragments) {+ for (const match of fragment.matchAll(/(?:^|[{}\n])\s*([^{};]*?)\s*\{/g)) {+ selectorClasses(match[1]).forEach(name => classes.add(name));+ }+ }+ }+ ts.forEachChild(node, visit);+ };+ visit(source);+ return classes;+};++export const collectClassContract = () => {+ const defined = new Set();+ const used = new Map();+ const compiled = {};+ for (const entry of ["base", "mobile", "export"]) {+ compiled[entry] = sass.compile(path.join(root, "src/assets/scss", `${entry}.scss`), {logger: sass.Logger.silent}).css;+ cssClasses(compiled[entry]).forEach(name => defined.add(name));+ }+ for (const file of filesIn(path.join(root, "appearance"))) {+ if (file.endsWith(".css")) {+ cssClasses(readFileSync(file, "utf8")).forEach(name => defined.add(name));+ }+ }+ for (const file of filesIn(path.join(root, "src"))) {+ if (!/\.(?:ts|tsx|tpl|html)$/.test(file) || /(?:\.test\.|\.generated\.|[/\\]types[/\\])/.test(file)) {+ continue;+ }+ const text = readFileSync(file, "utf8");+ for (const name of literalClasses(text, file)) {+ const references = used.get(name) || [];+ references.push(relative(file));+ used.set(name, references);+ }+ injectedCSSClasses(text).forEach(name => defined.add(name));+ }+ return {defined, used, compiled};+};++// 只约束内置 UI 的稳定命名空间,第三方 PDF、代码高亮及 Lute 内容类名属于各自协议。+export const managedClass = name => /^(?:[a-z][\w-]*__|b3-|config-|agent-chat__|protyle-|tabs-|tab-item)/.test(name);++export const newClassViolations = (defined, used, exceptions) => [...used.keys()]+ .filter(name => managedClass(name) && !defined.has(name) && !exceptions[name]).sort();++export const styleFindings = async () => {+ const result = await stylelint.lint({files: "src/assets/scss/**/*.scss", cwd: root, config: stylelintConfig});+ const findings = [];+ for (const item of result.results) {+ if (item.parseErrors.length || item.invalidOptionWarnings.length) {+ throw new Error(`Stylelint could not check ${relative(item.source)}`);+ }+ const lines = readFileSync(item.source, "utf8").split(/\r?\n/);+ for (const warning of item.warnings) {+ findings.push({file: relative(item.source), rule: warning.rule, text: warning.text,+ source: lines[warning.line - 1].trim()});+ }+ }+ return findings;+};++export const findingKey = item => JSON.stringify([item.file, item.rule, item.text, item.source]);++export const newStyleViolations = (findings, baseline) => {+ const remaining = new Map();+ for (const item of baseline) {+ const key = findingKey(item);+ remaining.set(key, (remaining.get(key) || 0) + 1);+ }+ return findings.filter(item => {+ const key = findingKey(item);+ const count = remaining.get(key) || 0;+ if (count) {+ remaining.set(key, count - 1);+ return false;+ }+ return true;+ });+};++export const checkContracts = async () => {+ const baseline = JSON.parse(readFileSync(path.join(root, "scripts/css-contract-baseline.json"), "utf8"));+ for (const [name, exception] of Object.entries(baseline.classes)) {+ if (!exception.reason?.trim() || !exception.references?.length) {+ throw new Error(`Class exception requires a reason and source references: ${name}`);+ }+ }+ if (baseline.styles.some(item => !item.reason?.trim())) {+ throw new Error("Style exceptions require concrete compatibility reasons");+ }+ const contract = collectClassContract();+ const classes = newClassViolations(contract.defined, contract.used, baseline.classes);+ const styles = newStyleViolations(await styleFindings(), baseline.styles);+ if (classes.length || styles.length) {+ throw new Error(`New CSS contract violations:\n${classes.map(name => `${name}: ${contract.used.get(name).join(", ")}`).join("\n")}\n${styles.map(findingKey).join("\n")}`);+ }+ console.log(`CSS contracts: ${contract.used.size} literal classes checked; no new violations`);+};++if (process.argv[1] && path.resolve(process.argv[1]) === fileURLToPath(import.meta.url)) {+ if (process.argv.includes("--report-unused")) {+ const {defined, used} = collectClassContract();+ // 反向结果只供人工调查,不能据此删除主题钩子或运行时生成的类名。+ console.log(JSON.stringify([...defined].filter(name => managedClass(name) && !used.has(name)).sort(), null, 2));+ } else {+ await checkContracts();+ }+}diff --git a/app/scripts/css-contracts.test.js b/app/scripts/css-contracts.test.jsnew file mode 100644index 0000000000..e7492bd43f--- /dev/null+++ b/app/scripts/css-contracts.test.js@@ -0,0 +1,49 @@+const assert = require("node:assert/strict");+const {test} = require("node:test");++test("class contracts inspect HTML, templates, class mutation and selectors", async () => {+ const {literalClasses, selectorClasses} = await import("./css-contracts.mjs");+ const source = 'const html = `<div class="b3-button fn__none"><span class="history__label">${label}</span></div>`;' ++ 'el.className = "sy__outline"; el.classList.add("fn__flex"); el.setAttribute("class", "b3-list");' ++ 'el.querySelector(".history__label[data-name=hello]"); const unrelated = "b3-link";';+ assert.deepEqual([...literalClasses(source)].sort(), ["b3-button", "b3-list", "fn__flex", "fn__none", "history__label", "sy__outline"]);+ assert.deepEqual([...literalClasses('<div class="mobile-safe-area fn__none"></div>', "mobile.tpl")].sort(), ["fn__none", "mobile-safe-area"]);+ assert.deepEqual([...selectorClasses('.b3-list[data-name=".not-a-class"] .fn__none')].sort(), ["b3-list", "fn__none"]);+});++test("contract baselines permit existing hooks but reject new classes and repeated style violations", async () => {+ const {newClassViolations, newStyleViolations} = await import("./css-contracts.mjs");+ assert.deepEqual(newClassViolations(new Set(["fn__ellipsis"]), new Map([+ ["fn__ellipsis", []], ["ft__ellipsis", []], ["sy__outline", []], ["hljs-language-x", []],+ ]), {"sy__outline": {reason: "behavior hook"}}), ["ft__ellipsis"]);+ const existing = {file: "existing.scss", rule: "declaration-no-important", text: "important", source: "display: none !important;"};+ assert.deepEqual(newStyleViolations([existing], [existing]), []);+ assert.deepEqual(newStyleViolations([existing, existing], [existing]), [existing]);+});++test("class definitions include injected styles across template expressions", async () => {+ const {injectedCSSClasses} = await import("./css-contracts.mjs");+ const source = "const html = `<style>.history__label {color: ${color};}\n.pdf-embedded-asset__icon {display: block;}</style>`;" ++ "style += `\n:root {--size: ${size}px;}\n.b3-typography {font-family: ${family};}`;";+ assert.deepEqual([...injectedCSSClasses(source)].sort(), ["b3-typography", "history__label", "pdf-embedded-asset__icon"]);+});++test("repository CSS contracts have no new violations", async () => {+ const {checkContracts} = await import("./css-contracts.mjs");+ await checkContracts();+});++test("shared token defaults preserve local var resolution and runtime overrides", async () => {+ const sass = require("sass");+ const path = require("node:path");+ const source = `@use "tokens";+ .example { padding-left: tokens.token("--agent-code-pad"); background: tokens.token("--b3-av-calendar-weekend-background");+ margin-top: calc(-1 * tokens.token("--tabs-border-top-width")); border-radius: tokens.token("--tabs-border-top-left-radius"); }`;+ const options = {loadPaths: [path.resolve(__dirname, "../src/assets/scss/util")]};+ const css = sass.compileString(source, options).css;+ assert.match(css, /padding-left: var\(--agent-code-pad, 8px\)/);+ assert.match(css, /background: var\(--b3-av-calendar-weekend-background, var\(--b3-theme-surface\)\)/);+ assert.match(css, /margin-top: calc\(-1 \* var\(--tabs-border-top-width, 1px\)\)/);+ assert.match(css, /border-radius: var\(--tabs-border-top-left-radius, var\(--b3-border-radius\)\)/);+ assert.throws(() => sass.compileString(source.replace("--agent-code-pad", "--unknown"), options), /Unknown token default/);+});diff --git a/app/src/assets/scss/business/_ai_agent.scss b/app/src/assets/scss/business/_ai_agent.scssindex 6512fe665b..b7996b4ffc 100644--- a/app/src/assets/scss/business/_ai_agent.scss+++ b/app/src/assets/scss/business/_ai_agent.scss@@ -1,3 +1,5 @@+@use "../util/tokens";+.agent-chat {min-height: 0;}@@ -321,7 +323,7 @@.agent-chat__body--mirror pre {position: relative;// 左右 padding 统一变量,::before 语言标签用同值 left 保证左对齐代码正文。- padding: 8px var(--agent-code-pad, 8px);+ padding: 8px tokens.token("--agent-code-pad");margin: 0.5em 0;border: 0;border-radius: var(--b3-border-radius);@@ -346,7 +348,7 @@content: attr(data-language);position: absolute;top: 4px;- left: var(--agent-code-pad, 8px);+ left: tokens.token("--agent-code-pad");font-size: 12px;color: var(--b3-theme-on-surface-light);}diff --git a/app/src/assets/scss/business/_av-calendar.scss b/app/src/assets/scss/business/_av-calendar.scssindex 7c4472b86d..0ec9c47ec1 100644--- a/app/src/assets/scss/business/_av-calendar.scss+++ b/app/src/assets/scss/business/_av-calendar.scss@@ -1,3 +1,5 @@+@use "../util/tokens";+.av[data-av-type="calendar"] {width: 100%;@@ -216,8 +218,8 @@transparent calc(100% * 4 / 7 - 1px), var(--b3-border-color) 0, var(--b3-border-color) calc(100% * 4 / 7), transparent 0,transparent calc(100% * 5 / 7 - 1px), var(--b3-border-color) 0, var(--b3-border-color) calc(100% * 5 / 7), transparent 0,transparent calc(100% * 6 / 7 - 1px), var(--b3-border-color) 0, var(--b3-border-color) calc(100% * 6 / 7), transparent 0),- linear-gradient(to right, transparent calc(var(--av-calendar-saturday) * 100% / 7), var(--b3-av-calendar-weekend-background, var(--b3-theme-surface)) 0, var(--b3-av-calendar-weekend-background, var(--b3-theme-surface)) calc((var(--av-calendar-saturday) + 1) * 100% / 7), transparent 0),- linear-gradient(to right, transparent calc(var(--av-calendar-sunday) * 100% / 7), var(--b3-av-calendar-weekend-background, var(--b3-theme-surface)) 0, var(--b3-av-calendar-weekend-background, var(--b3-theme-surface)) calc((var(--av-calendar-sunday) + 1) * 100% / 7), transparent 0);+ linear-gradient(to right, transparent calc(var(--av-calendar-saturday) * 100% / 7), tokens.token("--b3-av-calendar-weekend-background") 0, tokens.token("--b3-av-calendar-weekend-background") calc((var(--av-calendar-saturday) + 1) * 100% / 7), transparent 0),+ linear-gradient(to right, transparent calc(var(--av-calendar-sunday) * 100% / 7), tokens.token("--b3-av-calendar-weekend-background") 0, tokens.token("--b3-av-calendar-weekend-background") calc((var(--av-calendar-sunday) + 1) * 100% / 7), transparent 0);}.av__calendar-day {diff --git a/app/src/assets/scss/component/_typography.scss b/app/src/assets/scss/component/_typography.scssindex d3491ef8d5..0216bb256d 100644--- a/app/src/assets/scss/component/_typography.scss+++ b/app/src/assets/scss/component/_typography.scss@@ -1,10 +1,6 @@@use "../util/function";@use "../protyle/task";-:root {- --b3-font-family-emoji-reset: "Emojis Additional", "Emojis Reset";-}-@font-face {font-family: 'JetBrainsMono-Regular';/*! /* webpackIgnore: true */diff --git a/app/src/assets/scss/protyle/_tabs.scss b/app/src/assets/scss/protyle/_tabs.scssindex b07a3dde71..8aefed45bc 100644--- a/app/src/assets/scss/protyle/_tabs.scss+++ b/app/src/assets/scss/protyle/_tabs.scss@@ -1,3 +1,5 @@+@use "../util/tokens";+.protyle-wysiwyg, .b3-typography {.tabs {min-width: 0;@@ -260,9 +262,9 @@&[data-tabs-orientation="horizontal"] {> .tabs-header {- margin-top: calc(-1 * var(--tabs-border-top-width, 1px));- margin-right: calc(-1 * var(--tabs-border-right-width, 1px));- margin-left: calc(-1 * var(--tabs-border-left-width, 1px));+ margin-top: calc(-1 * tokens.token("--tabs-border-top-width"));+ margin-right: calc(-1 * tokens.token("--tabs-border-right-width"));+ margin-left: calc(-1 * tokens.token("--tabs-border-left-width"));border-width: inherit;border-style: inherit;border-color: transparent;@@ -273,20 +275,20 @@&::before {content: "";position: absolute;- top: calc(-1 * var(--tabs-border-top-width, 1px));- right: calc(-1 * var(--tabs-border-right-width, 1px));+ top: calc(-1 * tokens.token("--tabs-border-top-width"));+ right: calc(-1 * tokens.token("--tabs-border-right-width"));bottom: -1px;- left: calc(-1 * var(--tabs-border-left-width, 1px));+ left: calc(-1 * tokens.token("--tabs-border-left-width"));border-width: inherit;border-style: inherit;border-color: var(--b3-border-color);border-bottom-width: 0;- border-radius: var(--tabs-border-top-left-radius, var(--b3-border-radius)) var(--tabs-border-top-right-radius, var(--b3-border-radius)) 0 0;+ border-radius: tokens.token("--tabs-border-top-left-radius") tokens.token("--tabs-border-top-right-radius") 0 0;pointer-events: none;}&::after {- border-radius: max(0px, calc(var(--tabs-border-top-left-radius, var(--b3-border-radius)) - var(--tabs-border-top-width, 1px))) max(0px, calc(var(--tabs-border-top-right-radius, var(--b3-border-radius)) - var(--tabs-border-top-width, 1px))) 0 0;+ border-radius: max(0px, calc(tokens.token("--tabs-border-top-left-radius") - tokens.token("--tabs-border-top-width"))) max(0px, calc(tokens.token("--tabs-border-top-right-radius") - tokens.token("--tabs-border-top-width"))) 0 0;}}@@ -326,8 +328,8 @@padding-top: 6px;border-bottom: 0;border-right: 1px solid var(--b3-border-color);- border-top-left-radius: max(0px, calc(var(--b3-border-radius) - var(--tabs-border-left-width, 1px)));- border-bottom-left-radius: max(0px, calc(var(--b3-border-radius) - var(--tabs-border-left-width, 1px)));+ border-top-left-radius: max(0px, calc(var(--b3-border-radius) - tokens.token("--tabs-border-left-width")));+ border-bottom-left-radius: max(0px, calc(var(--b3-border-radius) - tokens.token("--tabs-border-left-width")));}}}diff --git a/app/src/assets/scss/util/_tokens.scss b/app/src/assets/scss/util/_tokens.scssnew file mode 100644index 0000000000..9005bab44d--- /dev/null+++ b/app/src/assets/scss/util/_tokens.scss@@ -0,0 +1,20 @@+@use "sass:map";+@use "sass:string";++// 默认值集中声明,仍在消费位置解析变量,保留主题局部覆盖和脚本按元素赋值的语义。+$defaults: (+ "--agent-code-pad": 8px,+ "--b3-av-calendar-weekend-background": var(--b3-theme-surface),+ "--tabs-border-top-width": 1px,+ "--tabs-border-right-width": 1px,+ "--tabs-border-left-width": 1px,+ "--tabs-border-top-left-radius": var(--b3-border-radius),+ "--tabs-border-top-right-radius": var(--b3-border-radius),+);++@function token($name) {+ @if not map.has-key($defaults, $name) {+ @error "Unknown token default: #{$name}";+ }+ @return string.unquote("var(#{$name}, #{map.get($defaults, $name)})");+}diff --git a/app/src/history/docDiff.ts b/app/src/history/docDiff.tsindex c46f7dd7b0..3cb98a95d6 100644--- a/app/src/history/docDiff.ts+++ b/app/src/history/docDiff.ts@@ -128,12 +128,12 @@ export const showDocVersionDiff = (app: App, firstRef: IDocVersionRef, secondRef<div class="history__compare-scroll fn__flex-1"><div class="history__compare-editors fn__flex"><div class="history__compare-panel fn__flex-column">- <div class="history__compare-label ft__on-surface ft__ellipsis"></div>+ <div class="history__compare-label ft__on-surface fn__ellipsis"></div><div class="protyle-title__input ft__center ft__breakword"></div><div class="history__compare-content fn__flex-1"></div></div><div class="history__compare-panel fn__flex-column">- <div class="history__compare-label ft__on-surface ft__ellipsis"></div>+ <div class="history__compare-label ft__on-surface fn__ellipsis"></div><div class="protyle-title__input ft__center ft__breakword"></div><div class="history__compare-content fn__flex-1"></div></div>diff --git a/app/src/protyle/toolbar/fontFamilyCore.test.ts b/app/src/protyle/toolbar/fontFamilyCore.test.tsindex ef1c84439d..8741682a09 100644--- a/app/src/protyle/toolbar/fontFamilyCore.test.ts+++ b/app/src/protyle/toolbar/fontFamilyCore.test.ts@@ -73,14 +73,19 @@ describe("inline font family", () => {assert.equal(hasInlineFontFamilyExcludedType(["strong", "a", "text"]), false);});- it("defines the emoji reset stack for every frontend bundle and built-in theme", () => {+ it("defines the emoji reset stack in built-in themes without a bundle override", () => {const declaration = '--b3-font-family-emoji-reset: "Emojis Additional", "Emojis Reset";';[- "src/assets/scss/component/_typography.scss","appearance/themes/daylight/theme.css","appearance/themes/midnight/theme.css",].forEach(path => {assert.ok(readFileSync(resolve(process.cwd(), path), "utf8").includes(declaration), path);});+ ["base", "mobile", "export"].forEach(entry => {+ const css = require("sass").compile(resolve(process.cwd(), `src/assets/scss/${entry}.scss`), {+ logger: require("sass").Logger.silent,+ }).css;+ assert.ok(!css.includes(declaration), entry);+ });});});diff --git a/app/stylelint.config.mjs b/app/stylelint.config.mjsnew file mode 100644index 0000000000..f7f61baf8e--- /dev/null+++ b/app/stylelint.config.mjs@@ -0,0 +1,10 @@+export default {+ customSyntax: "postcss-scss",+ rules: {+ "selector-pseudo-class-disallowed-list": ["has"],+ "declaration-block-no-duplicate-properties": [true, {ignore: ["consecutive-duplicates-with-different-values"]}],+ "declaration-block-no-duplicate-custom-properties": true,+ "declaration-no-important": true,+ "max-nesting-depth": 5,+ },+};