refactor: update status bar

This commit is contained in:
shumadrid 2025-03-17 05:16:19 +01:00
parent cf51a133ad
commit d72445cd1c
2 changed files with 309 additions and 307 deletions

591
package-lock.json generated
View file

@ -1867,163 +1867,6 @@
"node": ">=12.4.0"
}
},
"node_modules/@oxc-resolver/binding-darwin-arm64": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@oxc-resolver/binding-darwin-arm64/-/binding-darwin-arm64-5.0.0.tgz",
"integrity": "sha512-zwHAf+owoxSWTDD4dFuwW+FkpaDzbaL30H5Ltocb+RmLyg4WKuteusRLKh5Y8b/cyu7UzhxM0haIqQjyqA1iuA==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"darwin"
]
},
"node_modules/@oxc-resolver/binding-darwin-x64": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@oxc-resolver/binding-darwin-x64/-/binding-darwin-x64-5.0.0.tgz",
"integrity": "sha512-1lS3aBNVjVQKBvZdHm13+8tSjvu2Tl1Cv4FnUyMYxqx6+rsom2YaOylS5LhDUwfZu0zAgpLMwK6kGpF/UPncNg==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"darwin"
]
},
"node_modules/@oxc-resolver/binding-freebsd-x64": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@oxc-resolver/binding-freebsd-x64/-/binding-freebsd-x64-5.0.0.tgz",
"integrity": "sha512-q9sRd68wC1/AJ0eu6ClhxlklVfe8gH4wrUkSyEbIYTZ8zY5yjsLY3fpqqsaCvWJUx65nW+XtnAxCGCi5AXr1Mw==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"freebsd"
]
},
"node_modules/@oxc-resolver/binding-linux-arm-gnueabihf": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-5.0.0.tgz",
"integrity": "sha512-catYavWsvqViYnCveQjhrK6yVYDEPFvIOgGLxnz5r2dcgrjpmquzREoyss0L2QG/J5HTTbwqwZ1kk+g56hE/1A==",
"cpu": [
"arm"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@oxc-resolver/binding-linux-arm64-gnu": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-5.0.0.tgz",
"integrity": "sha512-l/0pWoQM5kVmJLg4frQ1mKZOXgi0ex/hzvFt8E4WK2ifXr5JgKFUokxsb/oat7f5YzdJJh5r9p+qS/t3dA26Aw==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@oxc-resolver/binding-linux-arm64-musl": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm64-musl/-/binding-linux-arm64-musl-5.0.0.tgz",
"integrity": "sha512-bx0oz/oaAW4FGYqpIIxJCnmgb906YfMhTEWCJvYkxjpEI8VKLJEL3PQevYiqDq36SA0yRLJ/sQK2fqry8AFBfA==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@oxc-resolver/binding-linux-x64-gnu": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-x64-gnu/-/binding-linux-x64-gnu-5.0.0.tgz",
"integrity": "sha512-4PH++qbSIhlRsFYdN1P9neDov4OGhTGo5nbQ1D7AL6gWFLo3gdZTc00FM2y8JjeTcPWEXkViZuwpuc0w5i6qHg==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@oxc-resolver/binding-linux-x64-musl": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-x64-musl/-/binding-linux-x64-musl-5.0.0.tgz",
"integrity": "sha512-mLfQFpX3/5y9oWi0b+9FbWDkL2hM0Y29653beCHiHxAdGyVgb2DsJbK74WkMTwtSz9by8vyBh8jGPZcg1yLZbQ==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@oxc-resolver/binding-wasm32-wasi": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@oxc-resolver/binding-wasm32-wasi/-/binding-wasm32-wasi-5.0.0.tgz",
"integrity": "sha512-uEhsAZSo65qsRi6+IfBTEUUFbjg7T2yruJeLYpFfEATpm3ory5Mgo5vx3L0c2/Cz1OUZXBgp3A8x6VMUB2jT2A==",
"cpu": [
"wasm32"
],
"dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
"@napi-rs/wasm-runtime": "^0.2.7"
},
"engines": {
"node": ">=14.0.0"
}
},
"node_modules/@oxc-resolver/binding-win32-arm64-msvc": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@oxc-resolver/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-5.0.0.tgz",
"integrity": "sha512-8DbSso9Jp1ns8AYuZFXdRfAcdJrzZwkFm/RjPuvAPTENsm685dosBF8G6gTHQlHvULnk6o3sa9ygZaTGC/UoEw==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"win32"
]
},
"node_modules/@oxc-resolver/binding-win32-x64-msvc": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@oxc-resolver/binding-win32-x64-msvc/-/binding-win32-x64-msvc-5.0.0.tgz",
"integrity": "sha512-ylppfPEg63NuRXOPNsXFlgyl37JrtRn0QMO26X3K3Ytp5HtLrMreQMGVtgr30e1l2YmAWqhvmKlCryOqzGPD/g==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"win32"
]
},
"node_modules/@parcel/watcher": {
"version": "2.5.1",
"resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.1.tgz",
@ -3407,9 +3250,9 @@
},
"node_modules/@typescript/lib-decorators": {
"name": "@better-typescript-lib/decorators",
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/decorators/-/decorators-2.10.1.tgz",
"integrity": "sha512-Vam/FqvpJsOKnaQ3hLwizoNjxcSg1T4nDagbO5w6XbaKw1WAicF+oGbA9aoqGhsRcwd69EGs0cNflCb26dkDcw==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/decorators/-/decorators-2.11.0.tgz",
"integrity": "sha512-ZL90jrzAhnvDr/fbpJt3CgGZdWvAeoAWznp56/mHJRKrCwsaJ9uCPqU09D21FJkWsmZ2jkz+mwBI9+e5dzwFvg==",
"dev": true,
"license": "Apache-2.0",
"peerDependencies": {
@ -3418,9 +3261,9 @@
},
"node_modules/@typescript/lib-dom": {
"name": "@better-typescript-lib/dom",
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/dom/-/dom-2.10.1.tgz",
"integrity": "sha512-VrRAdhXC+S9MCglTOnuQi/kx8UQZ94DlaBhvx8eVlSE37HUaQobmdGCoxrVfzUyHkyM++X3WCPxk2gZShyyaCQ==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/dom/-/dom-2.11.0.tgz",
"integrity": "sha512-tt0ZgcgxqwRL3oWa2xgtBnq7zJjBXqrtwQo6hvHEwsKNA5SD65FVrC+b1zTFTGvTLURGDIlq1kn3cB2quurVAA==",
"dev": true,
"license": "Apache-2.0",
"peerDependencies": {
@ -3429,9 +3272,9 @@
},
"node_modules/@typescript/lib-es2015": {
"name": "@better-typescript-lib/es2015",
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2015/-/es2015-2.10.1.tgz",
"integrity": "sha512-A24JzCuRwE06C7buwsWfNawba6YFPYw/cw6axci0q/iiG9Bhc95LuXL7ArUtjoF0YcWmTibH2oOEAXSWIuvC+A==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2015/-/es2015-2.11.0.tgz",
"integrity": "sha512-Xtg8WhxWAvBawWBOsAF3XurOHa18A7nvqYdfGYz4EXfrDvw32nod6zjf0it7/sDwcGIcms6wyRZyLkI4RP7e8Q==",
"dev": true,
"license": "Apache-2.0",
"peerDependencies": {
@ -3440,9 +3283,9 @@
},
"node_modules/@typescript/lib-es2016": {
"name": "@better-typescript-lib/es2016",
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2016/-/es2016-2.10.1.tgz",
"integrity": "sha512-gNfKn/K4IqI2vP5T8C037SD5SoQfe/qGHDGwubGpbEo8rMyQgi8GSSGodSt43MGFIssLTKBZGJErKMgHeEeU0w==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2016/-/es2016-2.11.0.tgz",
"integrity": "sha512-RFLgskFU2rt/5esIcWibJu8n9a4EjmP6hCh5kqULb+w5J0eE9gXnhU6IZ685+spY2nPw991IYwnUP5idtfiGjQ==",
"dev": true,
"license": "Apache-2.0",
"peerDependencies": {
@ -3451,9 +3294,9 @@
},
"node_modules/@typescript/lib-es2017": {
"name": "@better-typescript-lib/es2017",
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2017/-/es2017-2.10.1.tgz",
"integrity": "sha512-qXVDGcbv7gyZslFqY2ZmbUTajurfDtvq8nRh0FTsPtLe9Pe4VO5PAce7Py4q5lSzQxsA47Q6vWD+8upUcAjVWw==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2017/-/es2017-2.11.0.tgz",
"integrity": "sha512-bgCJrI6h3d6jvZsnzsbdH7/HVAV2GYrbtiUnBxV/ZTJ+VDiHdSI8CvsjIAVYHmrzLDC7FBTU+B+O8YhQ+fsehA==",
"dev": true,
"license": "Apache-2.0",
"peerDependencies": {
@ -3462,9 +3305,9 @@
},
"node_modules/@typescript/lib-es2018": {
"name": "@better-typescript-lib/es2018",
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2018/-/es2018-2.10.1.tgz",
"integrity": "sha512-KiOPcIj75ORHXZZF4YAFrtMFOY+9LndPoIdiYzWr0xAiSwGtzi0oE7G5Dwz3WJBWtrAvtRoMtZHphvH6i9cBMg==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2018/-/es2018-2.11.0.tgz",
"integrity": "sha512-8rwLcK9SqzO6bCsa6fQkCrYtFMAs8b5Oz+Rhuh/RmKD/Ja6XvkuXvsA8k+Zf6LjzEc/1aHk3ooQaoPeyh5wVIw==",
"dev": true,
"license": "Apache-2.0",
"peerDependencies": {
@ -3473,9 +3316,9 @@
},
"node_modules/@typescript/lib-es2019": {
"name": "@better-typescript-lib/es2019",
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2019/-/es2019-2.10.1.tgz",
"integrity": "sha512-fL17tVeM9rxF3viZxMtF2bcoMundsk19ZLZrZORcHGg5GBQG+wWK1TGwdpedPSlUKs7iGJaSpM65gr+d1+uXEg==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2019/-/es2019-2.11.0.tgz",
"integrity": "sha512-S16xjOz1GJ1N9c7cdk+jywkkKjagQI8ojP9wBABU4876rv6Ng64iYVBG6IOpPcQ3eSIbnWSZVk4h4kCyJt1sKA==",
"dev": true,
"license": "Apache-2.0",
"peerDependencies": {
@ -3484,9 +3327,9 @@
},
"node_modules/@typescript/lib-es2020": {
"name": "@better-typescript-lib/es2020",
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2020/-/es2020-2.10.1.tgz",
"integrity": "sha512-nvGZdY6paNJSqlUZFHr9a1eVWUopWsRk3fyd7XU3GCaH2vxXtnWzw4+aVzzdPiNz/7yu+6FqnO8wPpVQtfcbpw==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2020/-/es2020-2.11.0.tgz",
"integrity": "sha512-TZMzKXvPXrxT25nhuA43uUbpBagwi5jjxfBcMPZQwbDfFAemO0oa96tQCw8L5oKxN/uxFLhRZuEwLRLVrtcjFw==",
"dev": true,
"license": "Apache-2.0",
"peerDependencies": {
@ -3495,9 +3338,9 @@
},
"node_modules/@typescript/lib-es2021": {
"name": "@better-typescript-lib/es2021",
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2021/-/es2021-2.10.1.tgz",
"integrity": "sha512-y5ZkQfbQlzVIQhn7O91Pt4h60YgwIJM6oUUcBPDktaWc/lVUa+uxsh3Ep8A6nN+nwcVhO2xHguZPtlHy9cdgNA==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2021/-/es2021-2.11.0.tgz",
"integrity": "sha512-TCc6rj/uj3SHO9SPmsUqT3uRuZgFF2+ZLsKmA6+vQZDDVBQnelQHuooUhUWz49dh9TzntEI46x+yXen+UHfBGw==",
"dev": true,
"license": "Apache-2.0",
"peerDependencies": {
@ -3506,9 +3349,9 @@
},
"node_modules/@typescript/lib-es2022": {
"name": "@better-typescript-lib/es2022",
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2022/-/es2022-2.10.1.tgz",
"integrity": "sha512-EhmU3RXGuJmBJQrsQSKhKanQQSmQoxTk6cgLHZsB2Q5UslQIjmjhQ3CyjP+1Hgs0a+7C2biEHw2dJOBtYNO/Ow==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2022/-/es2022-2.11.0.tgz",
"integrity": "sha512-Gu5MihDWyEgEd7gXXmMmh2lwyZDPlJIEU8v7Mfeqlk7BfYmS4Raww7f1WYGlXT01zAUELE9vOQdOb+jWG+9N1A==",
"dev": true,
"license": "Apache-2.0",
"peerDependencies": {
@ -3517,9 +3360,9 @@
},
"node_modules/@typescript/lib-es2023": {
"name": "@better-typescript-lib/es2023",
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2023/-/es2023-2.10.1.tgz",
"integrity": "sha512-Lc1/0ZnXrU0L4WwGlaZM+iVrRyZrXymlO8s3EUOYYeShq3/sCf1EIohVglUI56RGajtH3n0qKuQl2tV+yRjclQ==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2023/-/es2023-2.11.0.tgz",
"integrity": "sha512-Ezo4X5hM5bZx9LTPwexvpn1dq+JO+Od6P661pVjMoFA1eUm13SxGox2YIeISFAnWmJyLrcA9ZDr9+1cYlbeZzA==",
"dev": true,
"license": "Apache-2.0",
"peerDependencies": {
@ -3528,9 +3371,9 @@
},
"node_modules/@typescript/lib-es2024": {
"name": "@better-typescript-lib/es2024",
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2024/-/es2024-2.10.1.tgz",
"integrity": "sha512-00Zn07Nnadtpswm/NeP102HbyGMI92eEqP8+RfvZMndZMxVRcSCKGn5HPA/up8WHBCG8BO3ryyrISmdDsCtRjw==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es2024/-/es2024-2.11.0.tgz",
"integrity": "sha512-1Gix0YIF/NkCid7W+/bOMivG3vIUYfOfpUNx94UDRmkTHTQa3/Vu/X2Mjes8Cu60fBhcfscMBC6QY0emStK79w==",
"dev": true,
"license": "Apache-2.0",
"peerDependencies": {
@ -3539,9 +3382,9 @@
},
"node_modules/@typescript/lib-es5": {
"name": "@better-typescript-lib/es5",
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es5/-/es5-2.10.1.tgz",
"integrity": "sha512-OfB5I0Zi+42aA7gYv6ozlPJlHoNrsbhxMNYSWkSLbVT6r1gTURlGOkpoAkNCUWMTGkcVaIsnMSKC4tFU7EER7Q==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es5/-/es5-2.11.0.tgz",
"integrity": "sha512-Efdc4z0hL+HQvcKmsuKtypYcwREUjm1U17eE9J3oXQ2icjR6bAD5IEgFX2gSV2/Ad1KGeBS9gakLxYvDP1G0eQ==",
"dev": true,
"license": "Apache-2.0",
"peerDependencies": {
@ -3550,9 +3393,9 @@
},
"node_modules/@typescript/lib-es6": {
"name": "@better-typescript-lib/es6",
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es6/-/es6-2.10.1.tgz",
"integrity": "sha512-V6UI8+pbk4ltZIh2Xy/uVEYdgL/uS3ZJ6cG1PQ4Jkv6c0aEQK46dUV5mDUjWqtqgHaOBMGSN7G6lN2p2fg1dSw==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/es6/-/es6-2.11.0.tgz",
"integrity": "sha512-zjl9jCTXwWx0QRSv5ILADM1wEgLq40VzBFURVHXg0D8LYv2KYVA7ICdcJZ2/DxoLhaukJm42mllRPjr/Bylw/A==",
"dev": true,
"license": "Apache-2.0",
"peerDependencies": {
@ -3561,9 +3404,9 @@
},
"node_modules/@typescript/lib-esnext": {
"name": "@better-typescript-lib/esnext",
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/esnext/-/esnext-2.10.1.tgz",
"integrity": "sha512-qMVyb830e+UbN4DSSmjcSr8FyZWa4+DTBpKv1QtnPP1I98r+d/QTDrburuBUV/wrnUh7YNBVGVjV2YgTqqCq4w==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/esnext/-/esnext-2.11.0.tgz",
"integrity": "sha512-NTWWr05QE2/oes0xEiy84on87gzzEWyk0vwPTVgcuWvgtBwDe9sIeGJQSO4vfc7ZP+s3FPBqeSPiAlB7rZi68w==",
"dev": true,
"license": "Apache-2.0",
"peerDependencies": {
@ -3572,9 +3415,9 @@
},
"node_modules/@typescript/lib-scripthost": {
"name": "@better-typescript-lib/scripthost",
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/scripthost/-/scripthost-2.10.1.tgz",
"integrity": "sha512-RFp5JsEEDFwscB5PF7fU12O93kLh3QstzzWvHxbg6mM/D5jBYqExnEsJ3D1/d+7fluN6T1kGfxnFw9IcKNkIDQ==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/scripthost/-/scripthost-2.11.0.tgz",
"integrity": "sha512-XwpujOfKtEn0oXodg8Rzm7ULu4OscK0l88ozWp4/q114k5vVd/1d90Q8nEIlB2RR8eqcGNkBG+Tcaj0qiaaJ1A==",
"dev": true,
"license": "Apache-2.0",
"peerDependencies": {
@ -3583,15 +3426,172 @@
},
"node_modules/@typescript/lib-webworker": {
"name": "@better-typescript-lib/webworker",
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/webworker/-/webworker-2.10.1.tgz",
"integrity": "sha512-1UQe246+d14TOiEKa+V3Aq8U+0HO2foiBrPeoXJxblh2gIN631kdZLFcxn2zgisamocE3kv71VyqL0HhJfodeA==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/@better-typescript-lib/webworker/-/webworker-2.11.0.tgz",
"integrity": "sha512-9jdYsSj7YWGixeVok7xZSV+OHpOxMBEcuw+zPHj2462LS812Xq2Vs5Kk00PoFjVXolgQm6naXDG1Wa+x445BPQ==",
"dev": true,
"license": "Apache-2.0",
"peerDependencies": {
"typescript": ">=4.5.2"
}
},
"node_modules/@unrs/rspack-resolver-binding-darwin-arm64": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-darwin-arm64/-/rspack-resolver-binding-darwin-arm64-1.1.2.tgz",
"integrity": "sha512-bQx2L40UF5XxsXwkD26PzuspqUbUswWVbmclmUC+c83Cv/EFrFJ1JaZj5Q5jyYglKGOtyIWY/hXTCdWRN9vT0Q==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"darwin"
]
},
"node_modules/@unrs/rspack-resolver-binding-darwin-x64": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-darwin-x64/-/rspack-resolver-binding-darwin-x64-1.1.2.tgz",
"integrity": "sha512-dMi9a7//BsuPTnhWEDxmdKZ6wxQlPnAob8VSjefGbKX/a+pHfTaX1pm/jv2VPdarP96IIjCKPatJS/TtLQeGQA==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"darwin"
]
},
"node_modules/@unrs/rspack-resolver-binding-freebsd-x64": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-freebsd-x64/-/rspack-resolver-binding-freebsd-x64-1.1.2.tgz",
"integrity": "sha512-RiBZQ+LSORQObfhV1yH7jGz+4sN3SDYtV53jgc8tUVvqdqVDaUm1KA3zHLffmoiYNGrYkE3sSreGC+FVpsB4Vg==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"freebsd"
]
},
"node_modules/@unrs/rspack-resolver-binding-linux-arm-gnueabihf": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-linux-arm-gnueabihf/-/rspack-resolver-binding-linux-arm-gnueabihf-1.1.2.tgz",
"integrity": "sha512-IyKIFBtOvuPCJt1WPx9e9ovTGhZzrIbW11vWzw4aPmx3VShE+YcMpAldqQubdCep0UVKZyFt+2hQDQZwFiJ4jg==",
"cpu": [
"arm"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@unrs/rspack-resolver-binding-linux-arm64-gnu": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-linux-arm64-gnu/-/rspack-resolver-binding-linux-arm64-gnu-1.1.2.tgz",
"integrity": "sha512-RfYtlCtJrv5i6TO4dSlpbyOJX9Zbhmkqrr9hjDfr6YyE5KD0ywLRzw8UjXsohxG1XWgRpb2tvPuRYtURJwbqWg==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@unrs/rspack-resolver-binding-linux-arm64-musl": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-linux-arm64-musl/-/rspack-resolver-binding-linux-arm64-musl-1.1.2.tgz",
"integrity": "sha512-MaITzkoqsn1Rm3+YnplubgAQEfOt+2jHfFvuFhXseUfcfbxe8Zyc3TM7LKwgv7mRVjIl+/yYN5JqL0cjbnhAnQ==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@unrs/rspack-resolver-binding-linux-x64-gnu": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-linux-x64-gnu/-/rspack-resolver-binding-linux-x64-gnu-1.1.2.tgz",
"integrity": "sha512-Nu981XmzQqis/uB3j4Gi3p5BYCd/zReU5zbJmjMrEH7IIRH0dxZpdOmS/+KwEk6ao7Xd8P2D2gDHpHD/QTp0aQ==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@unrs/rspack-resolver-binding-linux-x64-musl": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-linux-x64-musl/-/rspack-resolver-binding-linux-x64-musl-1.1.2.tgz",
"integrity": "sha512-xJupeDvaRpV0ADMuG1dY9jkOjhUzTqtykvchiU2NldSD+nafSUcMWnoqzNUx7HGiqbTMOw9d9xT8ZiFs+6ZFyQ==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@unrs/rspack-resolver-binding-wasm32-wasi": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-wasm32-wasi/-/rspack-resolver-binding-wasm32-wasi-1.1.2.tgz",
"integrity": "sha512-un6X/xInks+KEgGpIHFV8BdoODHRohaDRvOwtjq+FXuoI4Ga0P6sLRvf4rPSZDvoMnqUhZtVNG0jG9oxOnrrLQ==",
"cpu": [
"wasm32"
],
"dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
"@napi-rs/wasm-runtime": "^0.2.7"
},
"engines": {
"node": ">=14.0.0"
}
},
"node_modules/@unrs/rspack-resolver-binding-win32-arm64-msvc": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-win32-arm64-msvc/-/rspack-resolver-binding-win32-arm64-msvc-1.1.2.tgz",
"integrity": "sha512-2lCFkeT1HYUb/OOStBS1m67aZOf9BQxRA+Wf/xs94CGgzmoQt7H4V/BrkB/GSGKsudXjkiwt2oHNkHiowAS90A==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"win32"
]
},
"node_modules/@unrs/rspack-resolver-binding-win32-x64-msvc": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-win32-x64-msvc/-/rspack-resolver-binding-win32-x64-msvc-1.1.2.tgz",
"integrity": "sha512-EYfya5HCQ/8Yfy7rvAAX2rGytu81+d/CIhNCbZfNKLQ690/qFsdEeTXRsMQW1afHoluMM50PsjPYu8ndy8fSQg==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"win32"
]
},
"node_modules/acorn": {
"version": "8.14.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.1.tgz",
@ -3860,29 +3860,29 @@
"license": "MIT"
},
"node_modules/better-typescript-lib": {
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/better-typescript-lib/-/better-typescript-lib-2.10.1.tgz",
"integrity": "sha512-LptelM5mmDgQe79fwflOt6cPmYZvnlLX6xmlMuI2H6a/Q5Og8CmOz9x1wdOqAmDOFcLKnxyZLnZcssxtvjC+WQ==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/better-typescript-lib/-/better-typescript-lib-2.11.0.tgz",
"integrity": "sha512-dwaPodcG5lVepyeoEmwRSpRqKWOso5CRktnMcPKlE4jjcHLGjkBhZXIMe6EFD9ALG/Ru3kwOO1t6TNNQ6Pf1Jw==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
"@typescript/lib-decorators": "npm:@better-typescript-lib/decorators@2.10.1",
"@typescript/lib-dom": "npm:@better-typescript-lib/dom@2.10.1",
"@typescript/lib-es2015": "npm:@better-typescript-lib/es2015@2.10.1",
"@typescript/lib-es2016": "npm:@better-typescript-lib/es2016@2.10.1",
"@typescript/lib-es2017": "npm:@better-typescript-lib/es2017@2.10.1",
"@typescript/lib-es2018": "npm:@better-typescript-lib/es2018@2.10.1",
"@typescript/lib-es2019": "npm:@better-typescript-lib/es2019@2.10.1",
"@typescript/lib-es2020": "npm:@better-typescript-lib/es2020@2.10.1",
"@typescript/lib-es2021": "npm:@better-typescript-lib/es2021@2.10.1",
"@typescript/lib-es2022": "npm:@better-typescript-lib/es2022@2.10.1",
"@typescript/lib-es2023": "npm:@better-typescript-lib/es2023@2.10.1",
"@typescript/lib-es2024": "npm:@better-typescript-lib/es2024@2.10.1",
"@typescript/lib-es5": "npm:@better-typescript-lib/es5@2.10.1",
"@typescript/lib-es6": "npm:@better-typescript-lib/es6@2.10.1",
"@typescript/lib-esnext": "npm:@better-typescript-lib/esnext@2.10.1",
"@typescript/lib-scripthost": "npm:@better-typescript-lib/scripthost@2.10.1",
"@typescript/lib-webworker": "npm:@better-typescript-lib/webworker@2.10.1"
"@typescript/lib-decorators": "npm:@better-typescript-lib/decorators@2.11.0",
"@typescript/lib-dom": "npm:@better-typescript-lib/dom@2.11.0",
"@typescript/lib-es2015": "npm:@better-typescript-lib/es2015@2.11.0",
"@typescript/lib-es2016": "npm:@better-typescript-lib/es2016@2.11.0",
"@typescript/lib-es2017": "npm:@better-typescript-lib/es2017@2.11.0",
"@typescript/lib-es2018": "npm:@better-typescript-lib/es2018@2.11.0",
"@typescript/lib-es2019": "npm:@better-typescript-lib/es2019@2.11.0",
"@typescript/lib-es2020": "npm:@better-typescript-lib/es2020@2.11.0",
"@typescript/lib-es2021": "npm:@better-typescript-lib/es2021@2.11.0",
"@typescript/lib-es2022": "npm:@better-typescript-lib/es2022@2.11.0",
"@typescript/lib-es2023": "npm:@better-typescript-lib/es2023@2.11.0",
"@typescript/lib-es2024": "npm:@better-typescript-lib/es2024@2.11.0",
"@typescript/lib-es5": "npm:@better-typescript-lib/es5@2.11.0",
"@typescript/lib-es6": "npm:@better-typescript-lib/es6@2.11.0",
"@typescript/lib-esnext": "npm:@better-typescript-lib/esnext@2.11.0",
"@typescript/lib-scripthost": "npm:@better-typescript-lib/scripthost@2.11.0",
"@typescript/lib-webworker": "npm:@better-typescript-lib/webworker@2.11.0"
},
"peerDependencies": {
"typescript": ">=4.5.2"
@ -4078,9 +4078,9 @@
}
},
"node_modules/caniuse-lite": {
"version": "1.0.30001704",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001704.tgz",
"integrity": "sha512-+L2IgBbV6gXB4ETf0keSvLr7JUrRVbIaB/lrQ1+z8mRcQiisG5k+lG6O4n6Y5q6f5EuNfaYXKgymucphlEXQew==",
"version": "1.0.30001705",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001705.tgz",
"integrity": "sha512-S0uyMMiYvA7CxNgomYBwwwPUnWzFD83f3B1ce5jHUfHTH//QL6hHsreI8RVC5606R4ssqravelYO5TU6t8sEyg==",
"dev": true,
"funding": [
{
@ -5020,9 +5020,9 @@
"license": "MIT"
},
"node_modules/electron": {
"version": "35.0.1",
"resolved": "https://registry.npmjs.org/electron/-/electron-35.0.1.tgz",
"integrity": "sha512-iQonj6lnPhqfqha2KXx6LzV1dnu6UPTCWK+b7f9Zvg828umGemi22DKbcJ3/q+Opn7iUVTWyqp9z1JQqkIi6OA==",
"version": "35.0.2",
"resolved": "https://registry.npmjs.org/electron/-/electron-35.0.2.tgz",
"integrity": "sha512-jo8S4GfBpVIBDGitUrv+Vo/I/ZEEs6IvWprG2KJlxayYIKpufulbQaxDt78cC/79FwFo8MA0JOIwx/b9r5NRag==",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
@ -5485,17 +5485,17 @@
}
},
"node_modules/eslint-import-resolver-typescript": {
"version": "3.9.0",
"resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.9.0.tgz",
"integrity": "sha512-EUcFmaz0zAa6P2C9jAb5XDymRld8S6TURvWcIW7y+czOW+K8hrjgQgbhBsNE0J/dDZ6HLfcn70LqnIil9W+ICw==",
"version": "3.9.1",
"resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.9.1.tgz",
"integrity": "sha512-euxa5rTGqHeqVxmOHT25hpk58PxkQ4mNoX6Yun4ooGaCHAxOCojJYNvjmyeOQxj/LyW+3fulH0+xtk+p2kPPTw==",
"dev": true,
"license": "ISC",
"dependencies": {
"@nolyfill/is-core-module": "1.0.39",
"debug": "^4.3.7",
"debug": "^4.4.0",
"get-tsconfig": "^4.10.0",
"is-bun-module": "^1.0.2",
"oxc-resolver": "^5.0.0",
"is-bun-module": "^1.3.0",
"rspack-resolver": "^1.1.0",
"stable-hash": "^0.0.5",
"tinyglobby": "^0.2.12"
},
@ -5592,9 +5592,9 @@
}
},
"node_modules/eslint-plugin-import-x": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-import-x/-/eslint-plugin-import-x-4.7.0.tgz",
"integrity": "sha512-LHxq8V6SJ99hSFYAexxUKk3gVsjb8fuNRGsbMinwlJGvcuREP9SVzCCNKJ3POdDowEHdExy/bPN6YfjraueIXA==",
"version": "4.8.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-import-x/-/eslint-plugin-import-x-4.8.0.tgz",
"integrity": "sha512-rCZftKo2QvFfV62MomJuIog74NrsfdEriJZxcNPEnjwrHpfHge6ZfUe+Pp2f4pqZe+ArtH8RapwqxLc1O+KJYw==",
"dev": true,
"license": "MIT",
"dependencies": {
@ -5604,9 +5604,8 @@
"doctrine": "^3.0.0",
"eslint-import-resolver-node": "^0.3.9",
"get-tsconfig": "^4.10.0",
"is-glob": "^4.0.3",
"minimatch": "^10.0.1",
"oxc-resolver": "^5.0.0",
"picomatch": "^4.0.2",
"rspack-resolver": "^1.1.0",
"semver": "^7.7.1",
"stable-hash": "^0.0.5",
"tslib": "^2.8.1"
@ -5631,20 +5630,17 @@
"node": ">=6.0.0"
}
},
"node_modules/eslint-plugin-import-x/node_modules/minimatch": {
"version": "10.0.1",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz",
"integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==",
"node_modules/eslint-plugin-import-x/node_modules/picomatch": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
"integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
"dev": true,
"license": "ISC",
"dependencies": {
"brace-expansion": "^2.0.1"
},
"license": "MIT",
"engines": {
"node": "20 || >=22"
"node": ">=12"
},
"funding": {
"url": "https://github.com/sponsors/isaacs"
"url": "https://github.com/sponsors/jonschlinkert"
}
},
"node_modules/eslint-plugin-import/node_modules/brace-expansion": {
@ -5723,9 +5719,9 @@
}
},
"node_modules/eslint-plugin-svelte": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-3.1.0.tgz",
"integrity": "sha512-hSQyLDkuuHPJby1ixZfUVrfLON42mT0Odf18MbwAgFUPuyIwJlhy3acUY1/bxt+Njucq/dQxR543zYDqkBNLmw==",
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-3.2.0.tgz",
"integrity": "sha512-cxRkiF5XrydmLertOWoJ2LPqu0DItX3bbbJRFqzZ9MsRy3+3tPtQUsfsSuSxFTyDWWWAT1errzNhDLHehir9bw==",
"dev": true,
"license": "MIT",
"dependencies": {
@ -5770,9 +5766,9 @@
}
},
"node_modules/eslint-plugin-svelte/node_modules/svelte-eslint-parser": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/svelte-eslint-parser/-/svelte-eslint-parser-1.0.1.tgz",
"integrity": "sha512-JjdEMXOJqy+dxeaElxbN+meTOtVpHfLnq9VGpiTAOLgM0uHO+ogmUsA3IFgx0x3Wl15pqTZWycCikcD7cAQN/g==",
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/svelte-eslint-parser/-/svelte-eslint-parser-1.1.0.tgz",
"integrity": "sha512-JP0v/wzDXWxza6c8K9ZjKKHYfgt0KidlbWx1e9n9UV4q+o28GTkk71fR0IDZDmLUDYs3vSq0+Tm9fofDqzGe1w==",
"dev": true,
"license": "MIT",
"dependencies": {
@ -8593,9 +8589,9 @@
"license": "MIT"
},
"node_modules/nanoid": {
"version": "3.3.9",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.9.tgz",
"integrity": "sha512-SppoicMGpZvbF1l3z4x7No3OlIjP7QJvC9XR7AhZr1kL133KHnKPztkKDc+Ir4aJ/1VhTySrtKhrsycmrMQfvg==",
"version": "3.3.10",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.10.tgz",
"integrity": "sha512-vSJJTG+t/dIKAUhUDw/dLdZ9s//5OxcHqLaDWWrW4Cdq7o6tdLIczUkMXt2MBNmk6sJRZBZRXVixs7URY1CmIg==",
"dev": true,
"funding": [
{
@ -9018,9 +9014,9 @@
}
},
"node_modules/obsidian-dev-utils": {
"version": "19.10.0",
"resolved": "https://registry.npmjs.org/obsidian-dev-utils/-/obsidian-dev-utils-19.10.0.tgz",
"integrity": "sha512-0TEOJbZcjwGXSnbr8gzBmvhDvetDQde5zux/O6j51+P4Np+zkj5G/jeow7Jboii7vlVHYdRSEndsq3CDBkmWPw==",
"version": "19.15.2",
"resolved": "https://registry.npmjs.org/obsidian-dev-utils/-/obsidian-dev-utils-19.15.2.tgz",
"integrity": "sha512-rXCeunp92mA/8uMEyERyGO0uWIkuNA3AcuaXykmgttqsq1OZY4smHgfU2MTsCbH7pGrox1YuiLcf+ml6TR53zQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@ -9052,16 +9048,17 @@
"enhanced-resolve": "^5.18.1",
"esbuild": "^0.25.1",
"esbuild-sass-plugin": "^3.3.1",
"esbuild-svelte": "^0.9.1",
"esbuild-svelte": "^0.9.2",
"eslint": "^9.22.0",
"eslint-import-resolver-typescript": "^3.8.4",
"eslint-plugin-import-x": "^4.6.1",
"eslint-import-resolver-typescript": "^3.9.0",
"eslint-plugin-import-x": "^4.7.1",
"eslint-plugin-modules-newlines": "^0.0.7",
"eslint-plugin-perfectionist": "^4.10.1",
"eslint-plugin-tsdoc": "^0.4.0",
"eslint-plugin-verify-tsdoc": "^1.0.20",
"eventemitter3": "^5.0.1",
"glob": "^11.0.1",
"jiti": "^2.4.2",
"localforage": "^1.10.0",
"lru-cache": "^11.0.2",
"moment": "^2.30.1",
@ -9179,29 +9176,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/oxc-resolver": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/oxc-resolver/-/oxc-resolver-5.0.0.tgz",
"integrity": "sha512-66fopyAqCN8Mx4tzNiBXWbk8asCSuxUWN62gwTc3yfRs7JfWhX/eVJCf+fUrfbNOdQVOWn+o8pAKllp76ysMXA==",
"dev": true,
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/Boshen"
},
"optionalDependencies": {
"@oxc-resolver/binding-darwin-arm64": "5.0.0",
"@oxc-resolver/binding-darwin-x64": "5.0.0",
"@oxc-resolver/binding-freebsd-x64": "5.0.0",
"@oxc-resolver/binding-linux-arm-gnueabihf": "5.0.0",
"@oxc-resolver/binding-linux-arm64-gnu": "5.0.0",
"@oxc-resolver/binding-linux-arm64-musl": "5.0.0",
"@oxc-resolver/binding-linux-x64-gnu": "5.0.0",
"@oxc-resolver/binding-linux-x64-musl": "5.0.0",
"@oxc-resolver/binding-wasm32-wasi": "5.0.0",
"@oxc-resolver/binding-win32-arm64-msvc": "5.0.0",
"@oxc-resolver/binding-win32-x64-msvc": "5.0.0"
}
},
"node_modules/p-cancelable": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-2.1.1.tgz",
@ -10251,6 +10225,29 @@
"node": ">=8.0"
}
},
"node_modules/rspack-resolver": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/rspack-resolver/-/rspack-resolver-1.1.2.tgz",
"integrity": "sha512-eHhz+9JWHFdbl/CVVqEP6kviLFZqw1s0MWxLdsGMtUKUspSO3SERptPohmrUIC9jT1bGV9Bd3+r8AmWbdfNAzQ==",
"dev": true,
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/JounQin"
},
"optionalDependencies": {
"@unrs/rspack-resolver-binding-darwin-arm64": "1.1.2",
"@unrs/rspack-resolver-binding-darwin-x64": "1.1.2",
"@unrs/rspack-resolver-binding-freebsd-x64": "1.1.2",
"@unrs/rspack-resolver-binding-linux-arm-gnueabihf": "1.1.2",
"@unrs/rspack-resolver-binding-linux-arm64-gnu": "1.1.2",
"@unrs/rspack-resolver-binding-linux-arm64-musl": "1.1.2",
"@unrs/rspack-resolver-binding-linux-x64-gnu": "1.1.2",
"@unrs/rspack-resolver-binding-linux-x64-musl": "1.1.2",
"@unrs/rspack-resolver-binding-wasm32-wasi": "1.1.2",
"@unrs/rspack-resolver-binding-win32-arm64-msvc": "1.1.2",
"@unrs/rspack-resolver-binding-win32-x64-msvc": "1.1.2"
}
},
"node_modules/run-parallel": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
@ -11410,9 +11407,9 @@
}
},
"node_modules/svelte": {
"version": "5.23.0",
"resolved": "https://registry.npmjs.org/svelte/-/svelte-5.23.0.tgz",
"integrity": "sha512-v0lL3NuKontiCxholEiAXCB+BYbndlKbwlDMK0DS86WgGELMJSpyqCSbJeMEMBDwOglnS7Ar2Rq0wwa/z2L8Vg==",
"version": "5.23.1",
"resolved": "https://registry.npmjs.org/svelte/-/svelte-5.23.1.tgz",
"integrity": "sha512-DUu3e5tQDO+PtKffjqJ548YfeKtw2Rqc9/+nlP26DZ0AopWTJNylkNnTOP/wcgIt1JSnovyISxEZ/lDR1OhbOw==",
"dev": true,
"license": "MIT",
"dependencies": {

View file

@ -6,6 +6,7 @@ import { runCheckIgnore } from 'core/gitOperations/runCheckIgnore.ts';
import { runWorkingDirFileDiff } from 'core/gitOperations/runWorkingDirFileDiff.ts';
import { MarkdownView } from 'obsidian';
import { invokeAsyncSafely } from 'obsidian-dev-utils/Async';
import { clearPendingQueueItems } from 'obsidian-dev-utils/obsidian/Queue';
import { getMeasurementUnit } from 'settings/ui/ChangelogMeasurementUnit.ts';
import { getStatusBarInterval } from 'settings/ui/StatusBarInterval.ts';
import { DiffMeasurementUnit } from 'types.ts';
@ -22,6 +23,8 @@ export class StatusBar {
// Initialize immediately
this.recompute();
// It doesn't listen to obsidian-git:head-change event because it always compares the working directory to some past commit anyway.
this.plugin.registerEvent(
this.plugin.app.workspace.on(
'git-changelog:generation-settings-changed',
@ -76,42 +79,44 @@ export class StatusBar {
this.taskManager.abort();
}
private setStatusBar(text: string): void {
private setText(text: string): void {
this.statusBarElement.setText(text);
}
private async updateStatusBarWithFileStats(
abortSignal: AbortSignal
): Promise<void> {
private async updateStats(abortSignal: AbortSignal): Promise<void> {
try {
if (this.plugin.settings.statusBarStats) {
const result = await this.getDiffStatsForActiveFile(
const result = await this.calculateStatsForActiveFile(
this.plugin.app.workspace.getActiveViewOfType(MarkdownView),
abortSignal
);
if (result) {
this.setStatusBar(result);
this.setText(result);
} else {
this.setStatusBar('');
this.setText('');
}
}
} catch {
this.setStatusBar('');
this.setText('');
}
}
private recompute(reset = true): void {
// Stop the massive build-up of updateStats() calls when the user is typing
clearPendingQueueItems(this.plugin.app);
const abortSignal = reset
? this.taskManager.abortPreviousTasksAndGetSignal()
: this.taskManager.getAbortSignal();
invokeAsyncSafely(() =>
this.taskManager.enqueueAndWait(async () => {
await this.updateStatusBarWithFileStats(abortSignal);
await this.updateStats(abortSignal);
})
);
}
private async getDiffStatsForActiveFile(
private async calculateStatsForActiveFile(
activeFileView: MarkdownView | null,
abortSignal: AbortSignal
): Promise<string | undefined> {