Add station modal logic and station data for part of route 0210

This commit is contained in:
2026-03-12 00:54:42 +00:00
parent 06861f4037
commit 0fc2c0177b
33 changed files with 2394 additions and 2045 deletions

347
package-lock.json generated
View File

@@ -514,13 +514,13 @@
} }
}, },
"node_modules/@eslint/compat": { "node_modules/@eslint/compat": {
"version": "2.0.2", "version": "2.0.3",
"resolved": "https://registry.npmjs.org/@eslint/compat/-/compat-2.0.2.tgz", "resolved": "https://registry.npmjs.org/@eslint/compat/-/compat-2.0.3.tgz",
"integrity": "sha512-pR1DoD0h3HfF675QZx0xsyrsU8q70Z/plx7880NOhS02NuWLgBCOMDL787nUeQ7EWLkxv3bPQJaarjcPQb2Dwg==", "integrity": "sha512-SjIJhGigp8hmd1YGIBwh7Ovri7Kisl42GYFjrOyHhtfYGGoLW6teYi/5p8W50KSsawUPpuLOSmsq1bD0NGQLBw==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@eslint/core": "^1.1.0" "@eslint/core": "^1.1.1"
}, },
"engines": { "engines": {
"node": "^20.19.0 || ^22.13.0 || >=24" "node": "^20.19.0 || ^22.13.0 || >=24"
@@ -535,15 +535,15 @@
} }
}, },
"node_modules/@eslint/config-array": { "node_modules/@eslint/config-array": {
"version": "0.21.1", "version": "0.21.2",
"resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.1.tgz", "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.2.tgz",
"integrity": "sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA==", "integrity": "sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@eslint/object-schema": "^2.1.7", "@eslint/object-schema": "^2.1.7",
"debug": "^4.3.1", "debug": "^4.3.1",
"minimatch": "^3.1.2" "minimatch": "^3.1.5"
}, },
"engines": { "engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -576,9 +576,9 @@
} }
}, },
"node_modules/@eslint/core": { "node_modules/@eslint/core": {
"version": "1.1.0", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.1.1.tgz",
"integrity": "sha512-/nr9K9wkr3P1EzFTdFdMoLuo1PmIxjmwvPozwoSodjNBdefGujXQUF93u1DDZpEaTuDvMsIQddsd35BwtrW9Xw==", "integrity": "sha512-QUPblTtE51/7/Zhfv8BDwO0qkkzQL7P/aWWbqcf4xWLEYn1oKjdO0gglQBB4GAsu7u6wjijbCmzsUTy6mnk6oQ==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
@@ -589,20 +589,20 @@
} }
}, },
"node_modules/@eslint/eslintrc": { "node_modules/@eslint/eslintrc": {
"version": "3.3.3", "version": "3.3.5",
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.3.tgz", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.5.tgz",
"integrity": "sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==", "integrity": "sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"ajv": "^6.12.4", "ajv": "^6.14.0",
"debug": "^4.3.2", "debug": "^4.3.2",
"espree": "^10.0.1", "espree": "^10.0.1",
"globals": "^14.0.0", "globals": "^14.0.0",
"ignore": "^5.2.0", "ignore": "^5.2.0",
"import-fresh": "^3.2.1", "import-fresh": "^3.2.1",
"js-yaml": "^4.1.1", "js-yaml": "^4.1.1",
"minimatch": "^3.1.2", "minimatch": "^3.1.5",
"strip-json-comments": "^3.1.1" "strip-json-comments": "^3.1.1"
}, },
"engines": { "engines": {
@@ -626,9 +626,9 @@
} }
}, },
"node_modules/@eslint/js": { "node_modules/@eslint/js": {
"version": "9.39.2", "version": "9.39.4",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.2.tgz", "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.4.tgz",
"integrity": "sha512-q1mjIoW1VX4IvSocvM/vbTiveKC4k9eLrajNEuSsmjymSDEbpGddtpfOoN7YGAqBK3NG+uqo8ia4PDTt8buCYA==", "integrity": "sha512-nE7DEIchvtiFTwBw4Lfbu59PG+kCofhjsKaCWzxTpt4lfRjRMqG6uMBzKXuEcyXhOHoUp9riAm7/aWYGhXZ9cw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
@@ -785,9 +785,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@rollup/plugin-commonjs": { "node_modules/@rollup/plugin-commonjs": {
"version": "28.0.9", "version": "29.0.2",
"resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-28.0.9.tgz", "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-29.0.2.tgz",
"integrity": "sha512-PIR4/OHZ79romx0BVVll/PkwWpJ7e5lsqFa3gFfcrFPWwLXLV39JVUzQV9RKjWerE7B845Hqjj9VYlQeieZ2dA==", "integrity": "sha512-S/ggWH1LU7jTyi9DxZOKyxpVd4hF/OZ0JrEbeLjXk/DFXwRny0tjD2c992zOUYQobLrVkRVMDdmHP16HKP7GRg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -1238,9 +1238,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@sveltejs/acorn-typescript": { "node_modules/@sveltejs/acorn-typescript": {
"version": "1.0.8", "version": "1.0.9",
"resolved": "https://registry.npmjs.org/@sveltejs/acorn-typescript/-/acorn-typescript-1.0.8.tgz", "resolved": "https://registry.npmjs.org/@sveltejs/acorn-typescript/-/acorn-typescript-1.0.9.tgz",
"integrity": "sha512-esgN+54+q0NjB0Y/4BomT9samII7jGwNy/2a3wNZbT2A2RpmXsXwUt24LvLhx6jUq2gVk4cWEvcRO6MFQbOfNA==", "integrity": "sha512-lVJX6qEgs/4DOcRTpo56tmKzVPtoWAaVbL4hfO7t7NVwl9AAXzQR6cihesW1BmNMPl+bK6dreu2sOKBP2Q9CIA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"peerDependencies": { "peerDependencies": {
@@ -1248,16 +1248,16 @@
} }
}, },
"node_modules/@sveltejs/adapter-node": { "node_modules/@sveltejs/adapter-node": {
"version": "5.5.2", "version": "5.5.4",
"resolved": "https://registry.npmjs.org/@sveltejs/adapter-node/-/adapter-node-5.5.2.tgz", "resolved": "https://registry.npmjs.org/@sveltejs/adapter-node/-/adapter-node-5.5.4.tgz",
"integrity": "sha512-L15Djwpr7HrSAPj/Z8PYfc0pa9A1tllrr18phKI0WJHJeoWw45yinPf0IGgVTmakqx1B3JQ+C/OFl9ZwmxHU1Q==", "integrity": "sha512-45X92CXW+2J8ZUzPv3eLlKWEzINKiiGeFWTjyER4ZN4sGgNoaoeSkCY/QYNxHpPXy71QPsctwccBo9jJs0ySPQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@rollup/plugin-commonjs": "^28.0.1", "@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-json": "^6.1.0", "@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.0", "@rollup/plugin-node-resolve": "^16.0.0",
"rollup": "^4.9.5" "rollup": "^4.59.0"
}, },
"peerDependencies": { "peerDependencies": {
"@sveltejs/kit": "^2.4.0" "@sveltejs/kit": "^2.4.0"
@@ -1345,9 +1345,9 @@
} }
}, },
"node_modules/@tabler/icons": { "node_modules/@tabler/icons": {
"version": "3.36.1", "version": "3.40.0",
"resolved": "https://registry.npmjs.org/@tabler/icons/-/icons-3.36.1.tgz", "resolved": "https://registry.npmjs.org/@tabler/icons/-/icons-3.40.0.tgz",
"integrity": "sha512-f4Jg3Fof/Vru5ioix/UO4GX+sdDsF9wQo47FbtvG+utIYYVQ/QVAC0QYgcBbAjQGfbdOh2CCf0BgiFOF9Ixtjw==", "integrity": "sha512-V/Q4VgNPKubRTiLdmWjV/zscYcj5IIk+euicUtaVVqF6luSC9rDngYWgST5/yh3Mrg/mYUwRv1YVTk71Jp0twQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"funding": { "funding": {
@@ -1356,13 +1356,13 @@
} }
}, },
"node_modules/@tabler/icons-svelte": { "node_modules/@tabler/icons-svelte": {
"version": "3.36.1", "version": "3.40.0",
"resolved": "https://registry.npmjs.org/@tabler/icons-svelte/-/icons-svelte-3.36.1.tgz", "resolved": "https://registry.npmjs.org/@tabler/icons-svelte/-/icons-svelte-3.40.0.tgz",
"integrity": "sha512-f48RDkXJr7dMbbWHho81rR91QiPleHTlOwJUM5uFhTqo7dXH4mNZxJo3tksQNmlIauh7PqoS3i+RY7YlZxg5yg==", "integrity": "sha512-7j8y7kPWGEmcTjcAry8JJK9RNnv8lLVN3c4GHRfRj/iu0+ovkaRM1lLplITYVPq/fbzhrK52P8i8JkEQBPj0hw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@tabler/icons": "" "@tabler/icons": "3.40.0"
}, },
"funding": { "funding": {
"type": "github", "type": "github",
@@ -1394,9 +1394,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "22.19.9", "version": "22.19.15",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.9.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.15.tgz",
"integrity": "sha512-PD03/U8g1F9T9MI+1OBisaIARhSzeidsUjQaf51fOxrfjeiKN9bLVO06lHuHYjxdnqLWJijJHfqXPSJri2EM2A==", "integrity": "sha512-F0R/h2+dsy5wJAUe3tAU6oqa2qbWY5TpNfL/RGmo1y38hiyO1w3x2jPtt76wmuaJI4DQnOBu21cNXQ2STIUUWg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -1418,17 +1418,17 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@typescript-eslint/eslint-plugin": { "node_modules/@typescript-eslint/eslint-plugin": {
"version": "8.54.0", "version": "8.57.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.54.0.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.57.0.tgz",
"integrity": "sha512-hAAP5io/7csFStuOmR782YmTthKBJ9ND3WVL60hcOjvtGFb+HJxH4O5huAcmcZ9v9G8P+JETiZ/G1B8MALnWZQ==", "integrity": "sha512-qeu4rTHR3/IaFORbD16gmjq9+rEs9fGKdX0kF6BKSfi+gCuG3RCKLlSBYzn/bGsY9Tj7KE/DAQStbp8AHJGHEQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@eslint-community/regexpp": "^4.12.2", "@eslint-community/regexpp": "^4.12.2",
"@typescript-eslint/scope-manager": "8.54.0", "@typescript-eslint/scope-manager": "8.57.0",
"@typescript-eslint/type-utils": "8.54.0", "@typescript-eslint/type-utils": "8.57.0",
"@typescript-eslint/utils": "8.54.0", "@typescript-eslint/utils": "8.57.0",
"@typescript-eslint/visitor-keys": "8.54.0", "@typescript-eslint/visitor-keys": "8.57.0",
"ignore": "^7.0.5", "ignore": "^7.0.5",
"natural-compare": "^1.4.0", "natural-compare": "^1.4.0",
"ts-api-utils": "^2.4.0" "ts-api-utils": "^2.4.0"
@@ -1441,8 +1441,8 @@
"url": "https://opencollective.com/typescript-eslint" "url": "https://opencollective.com/typescript-eslint"
}, },
"peerDependencies": { "peerDependencies": {
"@typescript-eslint/parser": "^8.54.0", "@typescript-eslint/parser": "^8.57.0",
"eslint": "^8.57.0 || ^9.0.0", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
"typescript": ">=4.8.4 <6.0.0" "typescript": ">=4.8.4 <6.0.0"
} }
}, },
@@ -1457,16 +1457,16 @@
} }
}, },
"node_modules/@typescript-eslint/parser": { "node_modules/@typescript-eslint/parser": {
"version": "8.54.0", "version": "8.57.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.54.0.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.57.0.tgz",
"integrity": "sha512-BtE0k6cjwjLZoZixN0t5AKP0kSzlGu7FctRXYuPAm//aaiZhmfq1JwdYpYr1brzEspYyFeF+8XF5j2VK6oalrA==", "integrity": "sha512-XZzOmihLIr8AD1b9hL9ccNMzEMWt/dE2u7NyTY9jJG6YNiNthaD5XtUHVF2uCXZ15ng+z2hT3MVuxnUYhq6k1g==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/scope-manager": "8.54.0", "@typescript-eslint/scope-manager": "8.57.0",
"@typescript-eslint/types": "8.54.0", "@typescript-eslint/types": "8.57.0",
"@typescript-eslint/typescript-estree": "8.54.0", "@typescript-eslint/typescript-estree": "8.57.0",
"@typescript-eslint/visitor-keys": "8.54.0", "@typescript-eslint/visitor-keys": "8.57.0",
"debug": "^4.4.3" "debug": "^4.4.3"
}, },
"engines": { "engines": {
@@ -1477,19 +1477,19 @@
"url": "https://opencollective.com/typescript-eslint" "url": "https://opencollective.com/typescript-eslint"
}, },
"peerDependencies": { "peerDependencies": {
"eslint": "^8.57.0 || ^9.0.0", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
"typescript": ">=4.8.4 <6.0.0" "typescript": ">=4.8.4 <6.0.0"
} }
}, },
"node_modules/@typescript-eslint/project-service": { "node_modules/@typescript-eslint/project-service": {
"version": "8.54.0", "version": "8.57.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.54.0.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.57.0.tgz",
"integrity": "sha512-YPf+rvJ1s7MyiWM4uTRhE4DvBXrEV+d8oC3P9Y2eT7S+HBS0clybdMIPnhiATi9vZOYDc7OQ1L/i6ga6NFYK/g==", "integrity": "sha512-pR+dK0BlxCLxtWfaKQWtYr7MhKmzqZxuii+ZjuFlZlIGRZm22HnXFqa2eY+90MUz8/i80YJmzFGDUsi8dMOV5w==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/tsconfig-utils": "^8.54.0", "@typescript-eslint/tsconfig-utils": "^8.57.0",
"@typescript-eslint/types": "^8.54.0", "@typescript-eslint/types": "^8.57.0",
"debug": "^4.4.3" "debug": "^4.4.3"
}, },
"engines": { "engines": {
@@ -1504,14 +1504,14 @@
} }
}, },
"node_modules/@typescript-eslint/scope-manager": { "node_modules/@typescript-eslint/scope-manager": {
"version": "8.54.0", "version": "8.57.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.54.0.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.57.0.tgz",
"integrity": "sha512-27rYVQku26j/PbHYcVfRPonmOlVI6gihHtXFbTdB5sb6qA0wdAQAbyXFVarQ5t4HRojIz64IV90YtsjQSSGlQg==", "integrity": "sha512-nvExQqAHF01lUM66MskSaZulpPL5pgy5hI5RfrxviLgzZVffB5yYzw27uK/ft8QnKXI2X0LBrHJFr1TaZtAibw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/types": "8.54.0", "@typescript-eslint/types": "8.57.0",
"@typescript-eslint/visitor-keys": "8.54.0" "@typescript-eslint/visitor-keys": "8.57.0"
}, },
"engines": { "engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -1522,9 +1522,9 @@
} }
}, },
"node_modules/@typescript-eslint/tsconfig-utils": { "node_modules/@typescript-eslint/tsconfig-utils": {
"version": "8.54.0", "version": "8.57.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.54.0.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.57.0.tgz",
"integrity": "sha512-dRgOyT2hPk/JwxNMZDsIXDgyl9axdJI3ogZ2XWhBPsnZUv+hPesa5iuhdYt2gzwA9t8RE5ytOJ6xB0moV0Ujvw==", "integrity": "sha512-LtXRihc5ytjJIQEH+xqjB0+YgsV4/tW35XKX3GTZHpWtcC8SPkT/d4tqdf1cKtesryHm2bgp6l555NYcT2NLvA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
@@ -1539,15 +1539,15 @@
} }
}, },
"node_modules/@typescript-eslint/type-utils": { "node_modules/@typescript-eslint/type-utils": {
"version": "8.54.0", "version": "8.57.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.54.0.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.57.0.tgz",
"integrity": "sha512-hiLguxJWHjjwL6xMBwD903ciAwd7DmK30Y9Axs/etOkftC3ZNN9K44IuRD/EB08amu+Zw6W37x9RecLkOo3pMA==", "integrity": "sha512-yjgh7gmDcJ1+TcEg8x3uWQmn8ifvSupnPfjP21twPKrDP/pTHlEQgmKcitzF/rzPSmv7QjJ90vRpN4U+zoUjwQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/types": "8.54.0", "@typescript-eslint/types": "8.57.0",
"@typescript-eslint/typescript-estree": "8.54.0", "@typescript-eslint/typescript-estree": "8.57.0",
"@typescript-eslint/utils": "8.54.0", "@typescript-eslint/utils": "8.57.0",
"debug": "^4.4.3", "debug": "^4.4.3",
"ts-api-utils": "^2.4.0" "ts-api-utils": "^2.4.0"
}, },
@@ -1559,14 +1559,14 @@
"url": "https://opencollective.com/typescript-eslint" "url": "https://opencollective.com/typescript-eslint"
}, },
"peerDependencies": { "peerDependencies": {
"eslint": "^8.57.0 || ^9.0.0", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
"typescript": ">=4.8.4 <6.0.0" "typescript": ">=4.8.4 <6.0.0"
} }
}, },
"node_modules/@typescript-eslint/types": { "node_modules/@typescript-eslint/types": {
"version": "8.54.0", "version": "8.57.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.54.0.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.57.0.tgz",
"integrity": "sha512-PDUI9R1BVjqu7AUDsRBbKMtwmjWcn4J3le+5LpcFgWULN3LvHC5rkc9gCVxbrsrGmO1jfPybN5s6h4Jy+OnkAA==", "integrity": "sha512-dTLI8PEXhjUC7B9Kre+u0XznO696BhXcTlOn0/6kf1fHaQW8+VjJAVHJ3eTI14ZapTxdkOmc80HblPQLaEeJdg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
@@ -1578,18 +1578,18 @@
} }
}, },
"node_modules/@typescript-eslint/typescript-estree": { "node_modules/@typescript-eslint/typescript-estree": {
"version": "8.54.0", "version": "8.57.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.54.0.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.57.0.tgz",
"integrity": "sha512-BUwcskRaPvTk6fzVWgDPdUndLjB87KYDrN5EYGetnktoeAvPtO4ONHlAZDnj5VFnUANg0Sjm7j4usBlnoVMHwA==", "integrity": "sha512-m7faHcyVg0BT3VdYTlX8GdJEM7COexXxS6KqGopxdtkQRvBanK377QDHr4W/vIPAR+ah9+B/RclSW5ldVniO1Q==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/project-service": "8.54.0", "@typescript-eslint/project-service": "8.57.0",
"@typescript-eslint/tsconfig-utils": "8.54.0", "@typescript-eslint/tsconfig-utils": "8.57.0",
"@typescript-eslint/types": "8.54.0", "@typescript-eslint/types": "8.57.0",
"@typescript-eslint/visitor-keys": "8.54.0", "@typescript-eslint/visitor-keys": "8.57.0",
"debug": "^4.4.3", "debug": "^4.4.3",
"minimatch": "^9.0.5", "minimatch": "^10.2.2",
"semver": "^7.7.3", "semver": "^7.7.3",
"tinyglobby": "^0.2.15", "tinyglobby": "^0.2.15",
"ts-api-utils": "^2.4.0" "ts-api-utils": "^2.4.0"
@@ -1605,43 +1605,56 @@
"typescript": ">=4.8.4 <6.0.0" "typescript": ">=4.8.4 <6.0.0"
} }
}, },
"node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match": {
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
"integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",
"dev": true,
"license": "MIT",
"engines": {
"node": "18 || 20 || >=22"
}
},
"node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
"version": "2.0.2", "version": "5.0.4",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.4.tgz",
"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "integrity": "sha512-h+DEnpVvxmfVefa4jFbCf5HdH5YMDXRsmKflpf1pILZWRFlTbJpxeU55nJl4Smt5HQaGzg1o6RHFPJaOqnmBDg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"balanced-match": "^1.0.0" "balanced-match": "^4.0.2"
},
"engines": {
"node": "18 || 20 || >=22"
} }
}, },
"node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
"version": "9.0.9", "version": "10.2.4",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.4.tgz",
"integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", "integrity": "sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==",
"dev": true, "dev": true,
"license": "ISC", "license": "BlueOak-1.0.0",
"dependencies": { "dependencies": {
"brace-expansion": "^2.0.2" "brace-expansion": "^5.0.2"
}, },
"engines": { "engines": {
"node": ">=16 || 14 >=14.17" "node": "18 || 20 || >=22"
}, },
"funding": { "funding": {
"url": "https://github.com/sponsors/isaacs" "url": "https://github.com/sponsors/isaacs"
} }
}, },
"node_modules/@typescript-eslint/utils": { "node_modules/@typescript-eslint/utils": {
"version": "8.54.0", "version": "8.57.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.54.0.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.57.0.tgz",
"integrity": "sha512-9Cnda8GS57AQakvRyG0PTejJNlA2xhvyNtEVIMlDWOOeEyBkYWhGPnfrIAnqxLMTSTo6q8g12XVjjev5l1NvMA==", "integrity": "sha512-5iIHvpD3CZe06riAsbNxxreP+MuYgVUsV0n4bwLH//VJmgtt54sQeY2GszntJ4BjYCpMzrfVh2SBnUQTtys2lQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@eslint-community/eslint-utils": "^4.9.1", "@eslint-community/eslint-utils": "^4.9.1",
"@typescript-eslint/scope-manager": "8.54.0", "@typescript-eslint/scope-manager": "8.57.0",
"@typescript-eslint/types": "8.54.0", "@typescript-eslint/types": "8.57.0",
"@typescript-eslint/typescript-estree": "8.54.0" "@typescript-eslint/typescript-estree": "8.57.0"
}, },
"engines": { "engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -1651,19 +1664,19 @@
"url": "https://opencollective.com/typescript-eslint" "url": "https://opencollective.com/typescript-eslint"
}, },
"peerDependencies": { "peerDependencies": {
"eslint": "^8.57.0 || ^9.0.0", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
"typescript": ">=4.8.4 <6.0.0" "typescript": ">=4.8.4 <6.0.0"
} }
}, },
"node_modules/@typescript-eslint/visitor-keys": { "node_modules/@typescript-eslint/visitor-keys": {
"version": "8.54.0", "version": "8.57.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.54.0.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.57.0.tgz",
"integrity": "sha512-VFlhGSl4opC0bprJiItPQ1RfUhGDIBokcPwaFH4yiBCaNPeld/9VeXbiPO1cLyorQi1G1vL+ecBk1x8o1axORA==", "integrity": "sha512-zm6xx8UT/Xy2oSr2ZXD0pZo7Jx2XsCoID2IUh9YSTFRu7z+WdwYTRk6LhUftm1crwqbuoF6I8zAFeCMw0YjwDg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/types": "8.54.0", "@typescript-eslint/types": "8.57.0",
"eslint-visitor-keys": "^4.2.1" "eslint-visitor-keys": "^5.0.0"
}, },
"engines": { "engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -1673,10 +1686,23 @@
"url": "https://opencollective.com/typescript-eslint" "url": "https://opencollective.com/typescript-eslint"
} }
}, },
"node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz",
"integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==",
"dev": true,
"license": "Apache-2.0",
"engines": {
"node": "^20.19.0 || ^22.13.0 || >=24"
},
"funding": {
"url": "https://opencollective.com/eslint"
}
},
"node_modules/acorn": { "node_modules/acorn": {
"version": "8.15.0", "version": "8.16.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz",
"integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"bin": { "bin": {
@@ -1997,25 +2023,25 @@
} }
}, },
"node_modules/eslint": { "node_modules/eslint": {
"version": "9.39.2", "version": "9.39.4",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.2.tgz", "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.4.tgz",
"integrity": "sha512-LEyamqS7W5HB3ujJyvi0HQK/dtVINZvd5mAAp9eT5S/ujByGjiZLCzPcHVzuXbpJDJF/cxwHlfceVUDZ2lnSTw==", "integrity": "sha512-XoMjdBOwe/esVgEvLmNsD3IRHkm7fbKIUGvrleloJXUZgDHig2IPWNniv+GwjyJXzuNqVjlr5+4yVUZjycJwfQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/eslint-utils": "^4.8.0",
"@eslint-community/regexpp": "^4.12.1", "@eslint-community/regexpp": "^4.12.1",
"@eslint/config-array": "^0.21.1", "@eslint/config-array": "^0.21.2",
"@eslint/config-helpers": "^0.4.2", "@eslint/config-helpers": "^0.4.2",
"@eslint/core": "^0.17.0", "@eslint/core": "^0.17.0",
"@eslint/eslintrc": "^3.3.1", "@eslint/eslintrc": "^3.3.5",
"@eslint/js": "9.39.2", "@eslint/js": "9.39.4",
"@eslint/plugin-kit": "^0.4.1", "@eslint/plugin-kit": "^0.4.1",
"@humanfs/node": "^0.16.6", "@humanfs/node": "^0.16.6",
"@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/module-importer": "^1.0.1",
"@humanwhocodes/retry": "^0.4.2", "@humanwhocodes/retry": "^0.4.2",
"@types/estree": "^1.0.6", "@types/estree": "^1.0.6",
"ajv": "^6.12.4", "ajv": "^6.14.0",
"chalk": "^4.0.0", "chalk": "^4.0.0",
"cross-spawn": "^7.0.6", "cross-spawn": "^7.0.6",
"debug": "^4.3.2", "debug": "^4.3.2",
@@ -2034,7 +2060,7 @@
"is-glob": "^4.0.0", "is-glob": "^4.0.0",
"json-stable-stringify-without-jsonify": "^1.0.1", "json-stable-stringify-without-jsonify": "^1.0.1",
"lodash.merge": "^4.6.2", "lodash.merge": "^4.6.2",
"minimatch": "^3.1.2", "minimatch": "^3.1.5",
"natural-compare": "^1.4.0", "natural-compare": "^1.4.0",
"optionator": "^0.9.3" "optionator": "^0.9.3"
}, },
@@ -2073,9 +2099,9 @@
} }
}, },
"node_modules/eslint-plugin-svelte": { "node_modules/eslint-plugin-svelte": {
"version": "3.14.0", "version": "3.15.2",
"resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-3.14.0.tgz", "resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-3.15.2.tgz",
"integrity": "sha512-Isw0GvaMm0yHxAj71edAdGFh28ufYs+6rk2KlbbZphnqZAzrH3Se3t12IFh2H9+1F/jlDhBBL4oiOJmLqmYX0g==", "integrity": "sha512-k4Nsjs3bHujeEnnckoTM4mFYR1e8Mb9l2rTwNdmYiamA+Tjzn8X+2F+fuSP2w4VbXYhn2bmySyACQYdmUDW2Cg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -2097,7 +2123,7 @@
"url": "https://github.com/sponsors/ota-meshi" "url": "https://github.com/sponsors/ota-meshi"
}, },
"peerDependencies": { "peerDependencies": {
"eslint": "^8.57.1 || ^9.0.0", "eslint": "^8.57.1 || ^9.0.0 || ^10.0.0",
"svelte": "^3.37.0 || ^4.0.0 || ^5.0.0" "svelte": "^3.37.0 || ^4.0.0 || ^5.0.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
@@ -2201,9 +2227,9 @@
} }
}, },
"node_modules/esrap": { "node_modules/esrap": {
"version": "2.2.2", "version": "2.2.3",
"resolved": "https://registry.npmjs.org/esrap/-/esrap-2.2.2.tgz", "resolved": "https://registry.npmjs.org/esrap/-/esrap-2.2.3.tgz",
"integrity": "sha512-zA6497ha+qKvoWIK+WM9NAh5ni17sKZKhbS5B3PoYbBvaYHZWoS33zmFybmyqpn07RLUxSmn+RCls2/XF+d0oQ==", "integrity": "sha512-8fOS+GIGCQZl/ZIlhl59htOlms6U8NvX6ZYgYHpRU/b6tVSh3uHkOHZikl3D4cMbYM0JlpBe+p/BkZEi8J9XIQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -2334,9 +2360,9 @@
} }
}, },
"node_modules/flatted": { "node_modules/flatted": {
"version": "3.3.3", "version": "3.4.1",
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz", "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.1.tgz",
"integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==", "integrity": "sha512-IxfVbRFVlV8V/yRaGzk0UVIcsKKHMSfYw66T/u4nTwlWteQePsxe//LjudR1AMX4tZW3WFCh3Zqa/sjlqpbURQ==",
"dev": true, "dev": true,
"license": "ISC" "license": "ISC"
}, },
@@ -2379,9 +2405,9 @@
} }
}, },
"node_modules/globals": { "node_modules/globals": {
"version": "17.3.0", "version": "17.4.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-17.3.0.tgz", "resolved": "https://registry.npmjs.org/globals/-/globals-17.4.0.tgz",
"integrity": "sha512-yMqGUQVVCkD4tqjOJf3TnrvaaHDMYp4VlUSObbkIiuCPe/ofdMBFIAcBbCSRFWOnos6qRiTVStDwqPLUclaxIw==", "integrity": "sha512-hjrNztw/VajQwOLsMNT1cbJiH2muO3OROCHnbehc8eY5JyD2gqz4AcMHPqgaOR59DjgUjYAYLeH699g/eWi2jw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
@@ -2827,9 +2853,9 @@
} }
}, },
"node_modules/postcss": { "node_modules/postcss": {
"version": "8.5.6", "version": "8.5.8",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.8.tgz",
"integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==", "integrity": "sha512-OW/rX8O/jXnm82Ey1k44pObPtdblfiuWnrd8X7GJ7emImCOstunGbXUpp7HdBrFQX6rJzn3sPT397Wp5aCwCHg==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -2990,9 +3016,9 @@
} }
}, },
"node_modules/prettier-plugin-svelte": { "node_modules/prettier-plugin-svelte": {
"version": "3.4.1", "version": "3.5.1",
"resolved": "https://registry.npmjs.org/prettier-plugin-svelte/-/prettier-plugin-svelte-3.4.1.tgz", "resolved": "https://registry.npmjs.org/prettier-plugin-svelte/-/prettier-plugin-svelte-3.5.1.tgz",
"integrity": "sha512-xL49LCloMoZRvSwa6IEdN2GV6cq2IqpYGstYtMT+5wmml1/dClEoI0MZR78MiVPpu6BdQFfN0/y73yO6+br5Pg==", "integrity": "sha512-65+fr5+cgIKWKiqM1Doum4uX6bY8iFCdztvvp2RcF+AJoieaw9kJOFMNcJo/bkmKYsxFaM9OsVZK/gWauG/5mg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"peerDependencies": { "peerDependencies": {
@@ -3249,9 +3275,9 @@
} }
}, },
"node_modules/svelte-check": { "node_modules/svelte-check": {
"version": "4.3.6", "version": "4.4.5",
"resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-4.3.6.tgz", "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-4.4.5.tgz",
"integrity": "sha512-uBkz96ElE3G4pt9E1Tw0xvBfIUQkeH794kDQZdAUk795UVMr+NJZpuFSS62vcmO/DuSalK83LyOwhgWq8YGU1Q==", "integrity": "sha512-1bSwIRCvvmSHrlK52fOlZmVtUZgil43jNL/2H18pRpa+eQjzGt6e3zayxhp1S7GajPFKNM/2PMCG+DZFHlG9fw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -3273,9 +3299,9 @@
} }
}, },
"node_modules/svelte-eslint-parser": { "node_modules/svelte-eslint-parser": {
"version": "1.4.1", "version": "1.6.0",
"resolved": "https://registry.npmjs.org/svelte-eslint-parser/-/svelte-eslint-parser-1.4.1.tgz", "resolved": "https://registry.npmjs.org/svelte-eslint-parser/-/svelte-eslint-parser-1.6.0.tgz",
"integrity": "sha512-1eqkfQ93goAhjAXxZiu1SaKI9+0/sxp4JIWQwUpsz7ybehRE5L8dNuz7Iry7K22R47p5/+s9EM+38nHV2OlgXA==", "integrity": "sha512-qoB1ehychT6OxEtQAqc/guSqLS20SlA53Uijl7x375s8nlUT0lb9ol/gzraEEatQwsyPTJo87s2CmKL9Xab+Uw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -3284,11 +3310,12 @@
"espree": "^10.0.0", "espree": "^10.0.0",
"postcss": "^8.4.49", "postcss": "^8.4.49",
"postcss-scss": "^4.0.9", "postcss-scss": "^4.0.9",
"postcss-selector-parser": "^7.0.0" "postcss-selector-parser": "^7.0.0",
"semver": "^7.7.2"
}, },
"engines": { "engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0", "node": "^18.18.0 || ^20.9.0 || >=21.1.0",
"pnpm": "10.24.0" "pnpm": "10.30.3"
}, },
"funding": { "funding": {
"url": "https://github.com/sponsors/ota-meshi" "url": "https://github.com/sponsors/ota-meshi"
@@ -3380,16 +3407,16 @@
} }
}, },
"node_modules/typescript-eslint": { "node_modules/typescript-eslint": {
"version": "8.54.0", "version": "8.57.0",
"resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.54.0.tgz", "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.57.0.tgz",
"integrity": "sha512-CKsJ+g53QpsNPqbzUsfKVgd3Lny4yKZ1pP4qN3jdMOg/sisIDLGyDMezycquXLE5JsEU0wp3dGNdzig0/fmSVQ==", "integrity": "sha512-W8GcigEMEeB07xEZol8oJ26rigm3+bfPHxHvwbYUlu1fUDsGuQ7Hiskx5xGW/xM4USc9Ephe3jtv7ZYPQntHeA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/eslint-plugin": "8.54.0", "@typescript-eslint/eslint-plugin": "8.57.0",
"@typescript-eslint/parser": "8.54.0", "@typescript-eslint/parser": "8.57.0",
"@typescript-eslint/typescript-estree": "8.54.0", "@typescript-eslint/typescript-estree": "8.57.0",
"@typescript-eslint/utils": "8.54.0" "@typescript-eslint/utils": "8.57.0"
}, },
"engines": { "engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -3399,7 +3426,7 @@
"url": "https://opencollective.com/typescript-eslint" "url": "https://opencollective.com/typescript-eslint"
}, },
"peerDependencies": { "peerDependencies": {
"eslint": "^8.57.0 || ^9.0.0", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
"typescript": ">=4.8.4 <6.0.0" "typescript": ">=4.8.4 <6.0.0"
} }
}, },
@@ -3503,9 +3530,9 @@
} }
}, },
"node_modules/vitefu": { "node_modules/vitefu": {
"version": "1.1.1", "version": "1.1.2",
"resolved": "https://registry.npmjs.org/vitefu/-/vitefu-1.1.1.tgz", "resolved": "https://registry.npmjs.org/vitefu/-/vitefu-1.1.2.tgz",
"integrity": "sha512-B/Fegf3i8zh0yFbpzZ21amWzHmuNlLlmJT6n7bu5e+pCHUKQIfXSYokrqOBGEMMe9UG2sostKQF9mml/vYaWJQ==", "integrity": "sha512-zpKATdUbzbsycPFBN71nS2uzBUQiVnFoOrr2rvqv34S1lcAgMKKkjWleLGeiJlZ8lwCXvtWaRn7R3ZC16SYRuw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"workspaces": [ "workspaces": [
@@ -3514,7 +3541,7 @@
"tests/projects/workspace/packages/*" "tests/projects/workspace/packages/*"
], ],
"peerDependencies": { "peerDependencies": {
"vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0-beta.0" "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-beta.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"vite": { "vite": {

View File

@@ -21,7 +21,7 @@ fs.readdirSync(stationInputDir).forEach((file) => {
const content = yaml.load(fs.readFileSync(fullPath, 'utf8')); const content = yaml.load(fs.readFileSync(fullPath, 'utf8'));
if (content.crs) { if (content.crs) {
stationList.push(content.crs) stationList.push(content.crs);
} }
const fileName = file.replace('.yaml', '.json'); const fileName = file.replace('.yaml', '.json');
@@ -40,11 +40,10 @@ fs.readdirSync(inputDir).forEach((file) => {
const contentSet = new Set(); const contentSet = new Set();
// Use this loop to add a 'link' to each station if its CRS exists in 'stationList' // Use this loop to add a 'link' to each station if its CRS exists in 'stationList'
if (Array.isArray(content.routeDetail)) { if (Array.isArray(content.routeDetail)) {
content.routeDetail.forEach((item) => { content.routeDetail.forEach((item) => {
if ((item.type === 'station') && (item.crs)) { if (item.type === 'station' && item.crs) {
// Edit the item if item.crs exists in 'stationList' - maybe a `linkable: true`? // Edit the item if item.crs exists in 'stationList' - maybe a `linkable: true`?
if (stationList.includes(item.crs)) { if (stationList.includes(item.crs)) {
item.stationInfo = true; item.stationInfo = true;
@@ -83,7 +82,6 @@ fs.readdirSync(inputDir).forEach((file) => {
} }
}); });
fs.writeFileSync(indexFile, JSON.stringify(mapList)); fs.writeFileSync(indexFile, JSON.stringify(mapList));
console.log(`Generated ${mapList.length} map files and index.`); console.log(`Generated ${mapList.length} map files and index.`);

View File

@@ -7,8 +7,14 @@
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"
/> />
<link rel="manifest" href="/manifest.webmanifest" /> <link rel="manifest" href="/manifest.webmanifest" />
<meta name="title" content="OwlBoard Maps | Railway route schematics to assist with learning & refreshing routes" /> <meta
<meta name="description" content="Schematic route diagrams showing stations, junctions, crossings, bridges and more" /> name="title"
content="OwlBoard Maps | Railway route schematics to assist with learning & refreshing routes"
/>
<meta
name="description"
content="Schematic route diagrams showing stations, junctions, crossings, bridges and more"
/>
<meta name="theme-color" content="#4fd1d1" /> <meta name="theme-color" content="#4fd1d1" />
<link rel="canonical" href="https://maps.owlboard.info" /> <link rel="canonical" href="https://maps.owlboard.info" />
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />

View File

@@ -1 +1 @@
{"name":"Newbury","crs":"nby","updated":"2026-03-11T00:00:00.000Z","checked":"2026-03-11T00:00:00.000Z","platforms":[{"platformId":"1Dn","platformLength":291,"signal":true,"dispatch":true,"dispatchNote":"Staffed until 22:00 Daily","stepFree":true,"stepFreeNote":"Accessible from street & via lifts","doorPattern":[{"kind":"IET5","doors":"all"},{"kind":"IET9","doors":"all"},{"kind":"IET10","doors":"all"},{"kind":"DMU","max-car":12}]},{"platformId":"1Up","platformLength":291,"signal":true,"dispatch":true,"dispatchNote":"Staffed until 22:00 Daily","stepFree":true,"stepFreeNote":"Accessible from street & via lifts","doorPattern":[{"kind":"IET5","doors":"all"},{"kind":"IET9","doors":"all"},{"kind":"IET10","doors":"all"},{"kind":"DMU","max-car":12}]},{"platformId":"2Dn","platformLength":327,"signal":true,"dispatch":true,"dispatchNote":"Staffed until 22:00 Daily","stepFree":true,"stepFreeNote":"Accessible from street & via lifts","doorPattern":[{"kind":"IET5","doors":"all"},{"kind":"IET9","doors":"all"},{"kind":"IET10","doors":"all"},{"kind":"DMU","max-car":14}]},{"platformId":"2Up","platformLength":327,"signal":true,"dispatch":true,"dispatchNote":"Staffed until 22:00 Daily","stepFree":true,"stepFreeNote":"Accessible from street & via lifts","doorPattern":[{"kind":"IET5","doors":"all"},{"kind":"IET9","doors":"all"},{"kind":"IET10","doors":"all"},{"kind":"DMU","max-car":14}]},{"platformId":3,"platformLength":129,"signal":true,"dispatch":true,"dispatchNote":"Staffed until 22:00 Daily","stepFree":true,"stepFreeNote":"Accessible from street & via lifts","doorPattern":[{"kind":"IET5","doors":"all"},{"kind":"IET9","doors":null},{"kind":"IET10","doors":null},{"kind":"DMU","max-car":5}]}]} {"name":"Newbury","crs":"nby","updated":"2026-03-11T00:00:00.000Z","checked":"2026-03-11T00:00:00.000Z","platforms":[{"platformId":"1Dn","platformLength":291,"signal":true,"dispatch":true,"dispatchNote":"Staffed until 22:00 Daily","stepFree":true,"stepFreeNote":"Accessible from street & via lifts","doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":[1,18]},{"kind":"IET10","doors":[1,20]},{"kind":"DMU","max-car":12}]},{"platformId":"1Up","platformLength":291,"signal":true,"dispatch":true,"dispatchNote":"Staffed until 22:00 Daily","stepFree":true,"stepFreeNote":"Accessible from street & via lifts","doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":[1,18]},{"kind":"IET10","doors":[1,20]},{"kind":"DMU","max-car":12}]},{"platformId":"2Dn","platformLength":327,"signal":true,"dispatch":true,"dispatchNote":"Staffed until 22:00 Daily","stepFree":true,"stepFreeNote":"Accessible from street & via lifts","doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":[1,18]},{"kind":"IET10","doors":[1,20]},{"kind":"DMU","max-car":14}]},{"platformId":"2Up","platformLength":327,"signal":true,"dispatch":true,"dispatchNote":"Staffed until 22:00 Daily","stepFree":true,"stepFreeNote":"Accessible from street & via lifts","doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":[1,18]},{"kind":"IET10","doors":[1,20]},{"kind":"DMU","max-car":14}]},{"platformId":3,"platformLength":129,"signal":true,"dispatch":true,"dispatchNote":"Staffed until 22:00 Daily","stepFree":true,"stepFreeNote":"Accessible from street & via lifts","doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":null},{"kind":"IET10","doors":null},{"kind":"DMU","max-car":5}]}]}

View File

@@ -2,25 +2,55 @@
import { components } from '$lib/mapRegistry'; import { components } from '$lib/mapRegistry';
import type { ElecType } from '$lib/railStyles'; import type { ElecType } from '$lib/railStyles';
import { IconArrowNarrowRight, IconInfoCircle } from '@tabler/icons-svelte'; import { IconArrowNarrowRight, IconInfoCircle } from '@tabler/icons-svelte';
import StationInfo from '$lib/components/StationInfo.svelte';
type featureType = "station" | "junction" | "crossovers" | "siteof" | "bridge" | "minorBridge" | "crossover" | "crossing" | "loop" | "loops" | "signallerChange" | "electrificationChange" | "default" | "tunnel"; type featureType =
export let feature: {name: string; type: featureType; goto?: string; entryPoint?: string; miles: number; chains: number; description?: string}; // Raw Object | 'station'
export let activeElec: ElecType; // Active Electrification Type | 'junction'
export let reversed: boolean = false; | 'crossovers'
| 'siteof'
| 'bridge'
| 'minorBridge'
| 'crossover'
| 'crossing'
| 'loop'
| 'loops'
| 'signallerChange'
| 'electrificationChange'
| 'default'
| 'tunnel';
$: Icon = components[feature.type] || components.default; let {
feature,
activeElec,
reversed = false,
onShowInfo
}: {
feature: {
name: string;
type: featureType;
goto?: string;
entryPoint?: string;
miles: number;
chains: number;
description?: string;
stationInfo?: boolean;
crs?: string;
};
activeElec: ElecType;
reversed?: boolean;
onShowInfo: (crs: string) => void;
} = $props();
let Icon = $derived(components[feature.type] || components.default);
// Linking Logic // Linking Logic
$: isLinkable = !!(feature.goto && feature.entryPoint); let isLinkable = $derived(!!(feature?.goto && feature?.entryPoint));
$: href = `/map/${feature.goto}#${feature.entryPoint}`; let href = $derived(`/map/${feature.goto}#${feature.entryPoint}`);
$: stationInfo = (feature.type === "station" && feature.stationInfo && feature.crs); let stationInfo = $derived(feature.type === 'station' && feature.stationInfo && feature.crs);
const slugify = (str?: string) => const slugify = (str?: string) =>
str?.toLocaleLowerCase().trim().replace(/\s+/g, '-') ?? 'unknown'; str?.toLocaleLowerCase().trim().replace(/\s+/g, '-') ?? 'unknown';
function stationInfo(crs) {
console.log(`Date requested for CRS: ${crs}`)
}
</script> </script>
<div class="row-container" id={slugify(feature.name)}> <div class="row-container" id={slugify(feature.name)}>
@@ -30,10 +60,14 @@
</div> </div>
<div class="icon-col"> <div class="icon-col">
<svelte:component this={Icon} feature={feature as any} {activeElec} {reversed} /> <svelte:component this={Icon} {feature} {activeElec} {reversed} />
</div> </div>
<svelte:element this={isLinkable ? 'a' : 'div'} {...(isLinkable ? { href } : {})} class="link-wrapper"> <svelte:element
this={isLinkable ? 'a' : 'div'}
{...isLinkable ? { href } : {}}
class="link-wrapper"
>
<div class="label-col"> <div class="label-col">
{#if feature.name} {#if feature.name}
<div class="feature-name">{feature.name}</div> <div class="feature-name">{feature.name}</div>
@@ -48,14 +82,13 @@
<IconArrowNarrowRight /> <IconArrowNarrowRight />
</div> </div>
{/if} {/if}
</svelte:element>
<!-- {#if stationInfo} {#if stationInfo}
<div class="link-indicator" on:click={stationInfo(feature.crs)}> <div class="info-indicator" onclick={() => onShowInfo(feature.crs)}>
<IconInfoCircle /> <IconInfoCircle />
</div> </div>
{/if} --> {/if}
</svelte:element>
</div> </div>
<style> <style>
@@ -73,6 +106,7 @@ a {
margin: 0; margin: 0;
padding: 0; padding: 0;
overflow: hidden; overflow: hidden;
scroll-padding: 80px;
} }
.mileage-col { .mileage-col {
@@ -94,7 +128,6 @@ a {
font-size: 0.7rem; font-size: 0.7rem;
} }
.icon-col { .icon-col {
width: 64px; width: 64px;
height: 64px; height: 64px;
@@ -104,7 +137,6 @@ a {
overflow: visible; overflow: visible;
} }
.link-wrapper { .link-wrapper {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@@ -136,6 +168,24 @@ a {
transform: rotate(-45deg); transform: rotate(-45deg);
} }
.info-indicator {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.info-indicator::before {
content: '';
position: absolute;
width: 44px;
height: 44px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.label-col { .label-col {
padding-left: 16px; padding-left: 16px;
display: flex; display: flex;

View File

@@ -1,16 +1,399 @@
<script lang="ts"> <script lang="ts">
/* /*
Loads and displayes a 'Station Info' Modal Loads and displayes a 'Station Info' Modal
*/ */
let crs = $props(); import { fade, fly } from 'svelte/transition';
import { quintOut } from 'svelte/easing';
import { IconDisabled, IconUserCheck, IconTrafficLights } from '@tabler/icons-svelte';
let { crs, onclose }: { crs: string; onclose: () => void } = $props();
let dialogRef = $state<HTMLDialogElement>();
$effect(() => {
if (dialogRef) {
dialogRef.showModal();
console.log('Modal Diaplayes');
}
});
const allStations = import.meta.glob('$lib/assets/station/*.json', { query: '?json' }); const allStations = import.meta.glob('$lib/assets/station/*.json', { query: '?json' });
const stationData = $derived(allStations[`../data/stations/${crs}.json`]); let stationData = $state<any>(null);
let error = $state<string | null>(null);
$effect(() => {
stationData = null;
error = null;
const path = `/src/lib/assets/station/${crs.toLowerCase()}.json`;
if (path in allStations) {
allStations[path]()
.then((mod: any) => {
stationData = mod.default;
console.log('Modal is present in page...');
})
.catch((err) => {
error = `Could not parse data for ${crs}`;
console.error(err);
});
} else {
error = `Station ${crs} not found in database`;
}
});
function parsePlatform(id: string) {
id = String(id || '');
const match = id.match(/^(.*?)(Up|Dn)$/);
if (match) {
return { plat: match[1], direction: match[2] };
}
return { plat: id, direction: null };
}
const getTrainLayout = (pattern: any) => {
let coachCount = 0;
if (pattern.kind === 'IET5') coachCount = 5;
else if (pattern.kind === 'IET9') coachCount = 9;
else if (pattern.kind === 'IET10') coachCount = 10;
else if (pattern.kind === 'DMU') coachCount = pattern['max-car'] || 0;
const [startDoor, endDoor] = pattern.doors || [1, coachCount * 2];
return Array.from({ length: coachCount }, (_, i) => {
const coachNum = i + 1;
const doorA = i * 2 + 1;
const doorB = i * 2 + 2;
return {
label: coachNum,
doorAOpen: doorA >= startDoor && doorA <= endDoor,
doorBOpen: doorB >= startDoor && doorB <= endDoor
};
});
};
</script> </script>
{#if stationData} <dialog bind:this={dialogRef} {onclose} onclick={(e) => e.target === dialogRef && onclose()}>
<!-- RENDER STATION DATA DISPLAY HERE --> {#if stationData || error}
<div class="modal-wrapper" in:fly={{ y: 20, duration: 400, easing: quintOut }}>
<header>
<div class="title-group">
<span class="crs-badge">{crs.toUpperCase()}</span>
<h2>{stationData?.name || 'Loading...'}</h2>
</div>
<button class="close-icon" onclick={onclose} aria-label="Close">&times;</button>
</header>
</div>
<div class="content">
{#if error}
<div class="error-box">{error}</div>
{:else if stationData}
<div class="platform-data">
{#each stationData['platforms'] ?? [] as platform}
{@const { plat, direction } = parsePlatform(platform.platformId)}
<div class="platform-card">
<div class="platform-main">
<span class="platform-label">Platform</span>
<span class="platform-number">{plat}</span>
{#if direction}
<span class="platform-direction">({direction})</span>
{/if} {/if}
</div>
<span class="length-tag">{platform.platformLength}m</span>
<div class="platform-meta">
{#if platform.stepFree}
<span class="icon-tag" title="Step-free access"
><IconDisabled color="#2563eb" /></span
>
{/if}
{#if platform.dispatch}
<span class="icon-tag" title="Dispatch staff present"
><IconUserCheck color="#ea580c" /></span
>
{/if}
{#if platform.signal}
<span class="icon-tag" title="Starting Signal"
><IconTrafficLights color="#dc2626" /></span
>
{/if}
</div>
{#if platform.dispatchNote}
<span class="platform-note">{platform.dispatchNote}</span>
{/if}
{#if platform.stepFreeNote}
<span class="platform-note">{platform.stepFreeNote}</span>
{/if}
<div class="train-visualiser">
{#each platform.doorPattern as pattern}
<div class="train-row">
<span class="door-pattern-kind">{pattern.kind}</span>
<div class="coach-row">
{#each getTrainLayout(pattern) as coach}
<div class="coach-unit">
<div class="coach-body">{coach.label}</div>
<div class="door-status">
<span class="dot" class:open={coach.doorAOpen}></span>
<span class="dot" class:open={coach.doorBOpen}></span>
</div>
</div>
{/each}
</div>
</div>
{/each}
</div>
</div>
{/each}
</div>
{/if}
</div>
{/if}
</dialog>
<style>
dialog {
border: none;
border-radius: 16px;
padding: 0;
max-width: 500px;
width: 90%;
box-shadow:
0 20px 25px -5px rgba(0, 0, 0, 0.1),
0 10px 10px -5px rgba(0, 0, 0, 0.04);
overflow: hidden;
background: white;
max-height: 80vh;
display: flex;
flex-direction: column;
}
dialog::backdrop {
background: rgba(15, 23, 42, 0.5);
backdrop-filter: blur(4px);
}
.modal-wrapper {
display: flex;
flex: 1;
flex-direction: column;
min-height: 0;
}
header {
background: #f8fafc;
padding: 1rem 1.5rem;
margin-bottom: 50px;
border-bottom: 1px solid #e2e8f0;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 500;
}
.title-group {
display: flex;
align-items: center;
gap: 0.75rem;
}
.crs-badge {
background: #1e293b;
color: white;
font-family: monospace;
font-weight: bold;
padding: 0.2rem 0.5rem;
border-radius: 4px;
font-size: 0.85rem;
}
h2 {
margin: 0;
font-size: 1.1rem;
color: #0f172a;
}
.close-icon {
background: #ef4444;
border-radius: 50%;
width: 32px;
height: 32px;
padding: 0;
border: none;
font-size: 1.5rem;
cursor: pointer;
color: #ebebeb;
transition: all 0.2s;
}
.close-icon:hover {
background: #dc2626;
transform: scale(1.05);
transform: rotate(180deg);
}
.content {
padding: 1.5rem;
overflow-y: auto;
overflow-x: hidden;
box-sizing: border-box;
width: 100%;
word-wrap: break-word;
flex: 1;
-webkit-overflow-scrolling: touch;
}
.content::-webkit-scrollbar {
width: 6px;
}
.content::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 10px;
}
.platform-card:first-child {
margin-top: 20px;
}
.platform-card {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 8px;
padding: 0.75rem 1.25rem;
margin-bottom: 0.75rem;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
transition: transform 0.15s ease-in-out;
}
.platform-main {
display: flex;
align-items: baseline;
gap: 0.5rem;
}
.platform-label {
font-size: 0.7rem;
text-transform: uppercase;
font-weight: 700;
}
.platform-number {
font-size: 1.5rem;
font-weight: 700;
color: #0f172a;
line-height: 1;
font-family: sans-serif;
}
.platform-direction {
font-size: 1rem;
color: #475569;
font-weight: 500;
}
.platform-meta {
display: flex;
align-items: center;
gap: 1rem;
}
.length-tag {
font-family: 'JetBrains Mono', 'Fira Code', monospace;
font-size: 0.85rem;
background: #f1f5f9;
padding: 0.25rem 0.6rem;
border-radius: 4px;
border: 1px solid #e2e8f0;
}
.icon-tag {
display: flex;
align-items: center;
justify-content: center;
}
.train-visualiser {
margin-top: 1.25rem;
width: 100%;
padding: 1rem;
background: #f8fafc;
border-radius: 6px;
border: 1px solid #e2e8f0;
display: flex;
flex-direction: column;
gap: 1rem;
}
.train-row {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.door-pattern-kind {
font-size: 0.7rem;
font-weight: 800;
color: #101316;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.coach-row {
display: flex;
gap: 4px;
overflow-x: auto;
padding-bottom: 4px;
}
.coach-unit {
flex: 0 0 32px;
display: flex;
flex-direction: column;
gap: 4px;
}
.coach-body {
height: 20px;
background: #334155;
color: #f8fafc;
font-size: 0.65rem;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
border-radius: 2px;
}
.coach-unit:first-child .coach-body {
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
background: #0f172a;
}
.door-status {
display: flex;
justify-content: space-around;
padding: 0 4px;
}
.dot {
width: 6px;
height: 6px;
background: #b65151;
border-radius: 50%;
transition: all 0.2s ease;
}
.dot.open {
background: #22c55e;
box-shadow: 0 0 8px #22c55e;
}
</style>

View File

@@ -61,7 +61,7 @@
font-weight: 700; font-weight: 700;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.05em; letter-spacing: 0.05em;
font-family: "urwgothic"; font-family: 'urwgothic';
color: #64748b; color: #64748b;
} }
@@ -77,7 +77,7 @@
} }
.main-text { .main-text {
font-family: "urwgothic"; font-family: 'urwgothic';
font-size: 1rem; font-size: 1rem;
font-weight: 800; font-weight: 800;
color: #0f172a; color: #0f172a;

View File

@@ -13,7 +13,8 @@
const portalColour = '#475569'; // Slate grey const portalColour = '#475569'; // Slate grey
$: effectiveType = (() => { $: effectiveType = (() => {
if (!reversed || feature.tunnelType === 'whole' || feature.tunnelType === 'mid') return feature.tunnelType; if (!reversed || feature.tunnelType === 'whole' || feature.tunnelType === 'mid')
return feature.tunnelType;
return feature.tunnelType === 'start' ? 'end' : 'start'; return feature.tunnelType === 'start' ? 'end' : 'start';
})(); })();
</script> </script>

View File

@@ -57,7 +57,12 @@
<div class="list-container"> <div class="list-container">
<a href="https://owlboard.info" class="button-link">Go to OwlBoard Live Departures & PIS</a> <a href="https://owlboard.info" class="button-link">Go to OwlBoard Live Departures & PIS</a>
<input type="text" bind:value={searchTerm} placeholder="Search Station/Jn" class="search-input" /> <input
type="text"
bind:value={searchTerm}
placeholder="Search Station/Jn"
class="search-input"
/>
{#each filteredMaps as map (map.routeId)} {#each filteredMaps as map (map.routeId)}
<a <a
href={resolve(`/map/${map.routeId.toString().padStart(4, '0')}`)} href={resolve(`/map/${map.routeId.toString().padStart(4, '0')}`)}

View File

@@ -1,6 +1,7 @@
<script lang="ts"> <script lang="ts">
import RouteRow from '$lib/components/RouteRow.svelte'; import RouteRow from '$lib/components/RouteRow.svelte';
import RouteEndLink from '$lib/components/mapIcons/RouteEndLink.svelte'; import RouteEndLink from '$lib/components/mapIcons/RouteEndLink.svelte';
import StationInfo from '$lib/components/StationInfo.svelte';
import { slide } from 'svelte/transition'; import { slide } from 'svelte/transition';
import { resolve } from '$app/paths'; import { resolve } from '$app/paths';
@@ -8,11 +9,22 @@
import { IconArrowsExchange, IconSettings } from '@tabler/icons-svelte'; import { IconArrowsExchange, IconSettings } from '@tabler/icons-svelte';
// data.route contains: routeStart, routeEnd, routeId, elecStart, elecEnd, routeDetail[] // data.route contains: routeStart, routeEnd, routeId, elecStart, elecEnd, routeDetail[]
export let data; let { data } = $props();
let reversed = false; // Reverses Array, and passes value down to children let activeCrs = $state<string | null>(null);
let isModalOpen = $derived(activeCrs !== null);
let visibleTypes = { function openStationModal(crs: string) {
activeCrs = crs;
}
function closeStationModal() {
activeCrs = null;
}
let reversed = $state(false); // Reverses Array, and passes value down to children
let visibleTypes = $state({
station: true, station: true,
minorBridge: false, minorBridge: false,
bridge: true, bridge: true,
@@ -23,10 +35,10 @@
siteof: true, siteof: true,
junction: true, junction: true,
tunnel: true, tunnel: true,
crossing: true, crossing: true
}; });
let showFilters = false; let showFilters = $state(false);
// Toggle feature types // Toggle feature types
const toggleFilter = (type: string) => { const toggleFilter = (type: string) => {
@@ -38,31 +50,29 @@
const formatLabel = (str: string) => const formatLabel = (str: string) =>
str.replace(/([A-Z])/g, ' $1').replace(/^./, (s) => s.toUpperCase()); str.replace(/([A-Z])/g, ' $1').replace(/^./, (s) => s.toUpperCase());
$: processedFeatures = (() => { const processedFeatures = $derived.by(() => {
const list = reversed ? [...data.route.routeDetail].reverse() : [...data.route.routeDetail]; const list = reversed ? [...data.route.routeDetail].reverse() : [...data.route.routeDetail];
// Seed currentElec from the YAML header boundary
let currentElec = reversed ? data.route.elecEnd.elec : data.route.elecStart.elec; let currentElec = reversed ? data.route.elecEnd.elec : data.route.elecStart.elec;
return list.map((f) => { return list.map((f) => {
if (f.type === 'electrificationChange') { if (f.type === 'electrificationChange') {
// Transition state: this tile and everything after it
// adopts the new electrification.
currentElec = reversed ? f.from.elec : f.to.elec; currentElec = reversed ? f.from.elec : f.to.elec;
} }
return { return {
...f, ...f,
activeElec: currentElec activeElec: currentElec
}; };
}); });
})();
$: filteredFeatures = processedFeatures.filter((f) => {
return visibleTypes[f.type] ?? true;
}); });
const filteredFeatures = $derived(processedFeatures.filter((f) => visibleTypes[f.type] ?? true));
</script> </script>
{#if isModalOpen && activeCrs}
<StationInfo crs={activeCrs} onclose={closeStationModal} />
{/if}
<div class="map-layout"> <div class="map-layout">
<header class="top-nav"> <header class="top-nav">
<div class="nav-cluster"> <div class="nav-cluster">
@@ -76,8 +86,8 @@
{reversed ? data.route.routeEnd : data.route.routeStart} {reversed ? data.route.routeEnd : data.route.routeStart}
</h1> </h1>
<span class="secondary-station"> <span class="secondary-station">
<span class="route-stack-to"> <span class="route-stack-to"> to</span>
to</span> {reversed ? data.route.routeStart : data.route.routeEnd} {reversed ? data.route.routeStart : data.route.routeEnd}
</span> </span>
{/if} {/if}
</div> </div>
@@ -87,7 +97,9 @@
<button class="icon-btn" onclick={() => (reversed = !reversed)}> <button class="icon-btn" onclick={() => (reversed = !reversed)}>
<IconArrowsExchange /> <IconArrowsExchange />
</button> </button>
<button class="icon-btn" onclick={() => (showFilters = !showFilters)}> <IconSettings /> </button> <button class="icon-btn" onclick={() => (showFilters = !showFilters)}>
<IconSettings />
</button>
</div> </div>
</header> </header>
@@ -139,7 +151,12 @@
{#if f.type === 'continues'} {#if f.type === 'continues'}
<RouteEndLink feature={f} /> <RouteEndLink feature={f} />
{:else} {:else}
<RouteRow feature={f} activeElec={f.activeElec} {reversed} /> <RouteRow
feature={f}
activeElec={f.activeElec}
{reversed}
onShowInfo={openStationModal}
/>
{/if} {/if}
{/each} {/each}
</div> </div>
@@ -212,7 +229,7 @@
.route-stack { .route-stack {
display: flex; display: flex;
font-family: "urwgothic"; font-family: 'urwgothic';
flex-direction: column; flex-direction: column;
min-width: 0; min-width: 0;
margin-left: 0; margin-left: 0;

View File

@@ -20,9 +20,8 @@ export const load: PageLoad = async ({ params }) => {
return { return {
route: rawData, route: rawData,
slug: slug, slug: slug
}; };
} catch (err) { } catch (err) {
console.error(`Error loading map ${slug}: `, err); console.error(`Error loading map ${slug}: `, err);
throw error(500, { throw error(500, {

View File

@@ -1,6 +1,6 @@
routeStart: Paddington routeStart: Paddington
routeEnd: Reading routeEnd: Reading
routeId: "0001" routeId: '0001'
updated: 2026-02-09 updated: 2026-02-09
checked: 2026-02-09 checked: 2026-02-09
signallerStart: TVSC Paddington WS signallerStart: TVSC Paddington WS

View File

@@ -1,6 +1,6 @@
routeStart: Reading routeStart: Reading
routeEnd: Bristol TM routeEnd: Bristol TM
routeId: "0002" routeId: '0002'
updated: 2026-02-04 updated: 2026-02-04
checked: 2026-03-01 checked: 2026-03-01
signallerStart: TVSC Reading WS signallerStart: TVSC Reading WS
@@ -33,8 +33,8 @@ routeDetail:
direction: down direction: down
name: Westbury Line Jn name: Westbury Line Jn
description: to Oxford Road Jn description: to Oxford Road Jn
goto: "0210" goto: '0210'
entryPoint: "westbury-line-jn" entryPoint: 'westbury-line-jn'
miles: 36 miles: 36
chains: 17 chains: 17
@@ -43,8 +43,8 @@ routeDetail:
direction: down direction: down
name: Caversham Road Jn name: Caversham Road Jn
description: Reading Feeder Main/Relief diverge and pass under Reading Viaduct to Oxford Rd Jn description: Reading Feeder Main/Relief diverge and pass under Reading Viaduct to Oxford Rd Jn
goto: "0210" goto: '0210'
entryPoint: "oxford-road-jn" entryPoint: 'oxford-road-jn'
miles: 36 miles: 36
chains: 22 chains: 22
@@ -65,8 +65,8 @@ routeDetail:
direction: up direction: up
name: Reading West Jn name: Reading West Jn
description: to Oxford Road Junction (From relief lines only) description: to Oxford Road Junction (From relief lines only)
goto: "0210" goto: '0210'
entryPoint: "oxford-road-jn" entryPoint: 'oxford-road-jn'
miles: 37 miles: 37
chains: 17 chains: 17
@@ -316,7 +316,7 @@ routeDetail:
diverges: left diverges: left
direction: down direction: down
description: Up/Dn Kemble towards Gloucester description: Up/Dn Kemble towards Gloucester
goto: "0230" goto: '0230'
entryPoint: swindon-jn entryPoint: swindon-jn
miles: 77 miles: 77
chains: 36 chains: 36
@@ -351,7 +351,7 @@ routeDetail:
diverges: left diverges: left
direction: down direction: down
description: Up/Dn Badminton to Bristol PW description: Up/Dn Badminton to Bristol PW
goto: "0240" goto: '0240'
entryPoint: wootton-bassett-jn entryPoint: wootton-bassett-jn
miles: 83 miles: 83
chains: 7 chains: 7
@@ -408,7 +408,7 @@ routeDetail:
diverges: right diverges: right
direction: down direction: down
description: to Melksham & Trowbridge description: to Melksham & Trowbridge
goto: "0250" goto: '0250'
entryPoint: thingley-jn entryPoint: thingley-jn
miles: 96 miles: 96
chains: 10 chains: 10
@@ -445,7 +445,7 @@ routeDetail:
diverges: right diverges: right
direction: up direction: up
description: Up/Dn Trowbridge towards Westbury description: Up/Dn Trowbridge towards Westbury
goto: "0260" goto: '0260'
entryPoint: bathampton-jn entryPoint: bathampton-jn
miles: 104 miles: 104
chains: 45 chains: 45
@@ -596,7 +596,7 @@ routeDetail:
description: Up/Dn Bristol Loops to Dr. Days Jn description: Up/Dn Bristol Loops to Dr. Days Jn
diverges: left diverges: left
direction: down direction: down
goto: "9999" goto: '9999'
entryPoint: dr-days-jn entryPoint: dr-days-jn
miles: 117 miles: 117
chains: 50 chains: 50
@@ -622,7 +622,7 @@ routeDetail:
description: Filton lines towards Filton on Up-side, Kingsland Road Sisings on right side description: Filton lines towards Filton on Up-side, Kingsland Road Sisings on right side
miles: 118 miles: 118
chains: 2 chains: 2
goto: "9999" goto: '9999'
entryPoint: bristol-east-jn entryPoint: bristol-east-jn
- type: siteof - type: siteof

View File

@@ -1,6 +1,6 @@
routeStart: Westbury Line Jn routeStart: Westbury Line Jn
routeEnd: Cogload Jn routeEnd: Cogload Jn
routeId: "0210" routeId: '0210'
updated: 2026-03-05 updated: 2026-03-05
checked: 2026-03-05 checked: 2026-03-05
signallerStart: TVSC Reading WS signallerStart: TVSC Reading WS
@@ -11,10 +11,9 @@ elecStart:
elecEnd: elecEnd:
elec: none elec: none
routeDetail: routeDetail:
- type: continues - type: continues
routeName: Reading - Bristol TM routeName: Reading - Bristol TM
routeId: "0002" routeId: '0002'
entryPoint: westbury-line-jn entryPoint: westbury-line-jn
- type: junction - type: junction
@@ -22,7 +21,7 @@ routeDetail:
diverges: left diverges: left
direction: down direction: down
description: towards Didcot description: towards Didcot
goto: "0002" goto: '0002'
entryPoint: westbury-line-jn entryPoint: westbury-line-jn
miles: 36 miles: 36
chains: 17 chains: 17
@@ -38,7 +37,7 @@ routeDetail:
diverges: left diverges: left
direction: up direction: up
description: to Caversham Rd Jn & Reading West Jn description: to Caversham Rd Jn & Reading West Jn
goto: "0002" goto: '0002'
entryPoint: caversham-road-jn entryPoint: caversham-road-jn
miles: 36 miles: 36
chains: 67 chains: 67
@@ -430,7 +429,7 @@ routeDetail:
name: Heywood Road Jn name: Heywood Road Jn
diverges: left diverges: left
direction: down direction: down
goto: "0260" goto: '0260'
entryPoint: hawkeridge-jn entryPoint: hawkeridge-jn
description: to East Loop Jn/Westbury North Jn/Hawkeridge Jn description: to East Loop Jn/Westbury North Jn/Hawkeridge Jn
miles: 94 miles: 94
@@ -453,7 +452,7 @@ routeDetail:
description: to Westbury South Jn (Mileage Change) description: to Westbury South Jn (Mileage Change)
diverges: left diverges: left
direction: up direction: up
goto: "0260" goto: '0260'
entryPoint: westbury-south-jn entryPoint: westbury-south-jn
miles: 97 miles: 97
chains: 2 chains: 2
@@ -553,7 +552,7 @@ routeDetail:
description: Up/Dn Weymouth to Yeovil description: Up/Dn Weymouth to Yeovil
direction: down direction: down
diverges: right diverges: right
goto: "2150" goto: '2150'
entryPoint: castle-cary-jn entryPoint: castle-cary-jn
miles: 129 miles: 129
chains: 50 chains: 50
@@ -663,10 +662,10 @@ routeDetail:
direction: up direction: up
miles: 138 miles: 138
chains: 3 chains: 3
goto: "0003" goto: '0003'
entryPoint: cogload-jn entryPoint: cogload-jn
- type: continues - type: continues
routeName: Bristol TM - Exeter SD routeName: Bristol TM - Exeter SD
routeId: "0003" routeId: '0003'
entryPoint: cogload-jn entryPoint: cogload-jn

View File

@@ -1,6 +1,6 @@
routeStart: Swindon Junction routeStart: Swindon Junction
routeEnd: Standish Junction routeEnd: Standish Junction
routeId: "0230" routeId: '0230'
updated: 2026-02-14 updated: 2026-02-14
checked: 2026-02-14 checked: 2026-02-14
signallerStart: TVSC Swindon WS signallerStart: TVSC Swindon WS
@@ -21,7 +21,7 @@ routeDetail:
name: Swindon Jn name: Swindon Jn
diverges: right diverges: right
direction: down direction: down
goto: "0002" goto: '0002'
entryPoint: swindon-jn entryPoint: swindon-jn
miles: 77 miles: 77
chains: 36 chains: 36
@@ -761,12 +761,10 @@ routeDetail:
description: Up to Gloucester, Dn to Bristol description: Up to Gloucester, Dn to Bristol
miles: 106 miles: 106
chains: 74 chains: 74
goto: "2420" goto: '2420'
entryPoint: standish-jn entryPoint: standish-jn
- type: continues - type: continues
routeName: "Westerleigh Jn - Gloucester" routeName: 'Westerleigh Jn - Gloucester'
entryPoint: standish-jn entryPoint: standish-jn
routeId: "2420" routeId: '2420'

View File

@@ -22,7 +22,7 @@ routeDetail:
direction: down direction: down
name: Wootton Basset Jn name: Wootton Basset Jn
description: to Chippenham & Bristol via Bath description: to Chippenham & Bristol via Bath
goto: "0002" goto: '0002'
entryPoint: wootton-bassett-jn entryPoint: wootton-bassett-jn
miles: 83 miles: 83
chains: 7 chains: 7

View File

@@ -1,6 +1,6 @@
routeStart: Thingley Junction routeStart: Thingley Junction
routeEnd: Bradford Junction routeEnd: Bradford Junction
routeId: "0250" routeId: '0250'
updated: 2026-03-01 updated: 2026-03-01
checked: 2026-03-01 checked: 2026-03-01
signallerStart: TVSC Swindon WS signallerStart: TVSC Swindon WS
@@ -11,10 +11,9 @@ elecEnd:
elec: none elec: none
routeDetail: routeDetail:
- type: continues - type: continues
routeName: Reading - Bristol TM routeName: Reading - Bristol TM
routeId: "0002" routeId: '0002'
entryPoint: thingley-jn entryPoint: thingley-jn
- type: junction - type: junction
@@ -22,7 +21,7 @@ routeDetail:
diverges: left diverges: left
direction: down direction: down
description: Down Main towards Bath description: Down Main towards Bath
goto: "0002" goto: '0002'
entryPoint: thingley-jn entryPoint: thingley-jn
miles: 96 miles: 96
chains: 10 chains: 10
@@ -115,12 +114,12 @@ routeDetail:
diverges: left diverges: left
direction: up direction: up
description: Up/Dn Trowbridge towards Bath description: Up/Dn Trowbridge towards Bath
goto: "0260" goto: '0260'
entryPoint: bradford-jn entryPoint: bradford-jn
miles: 104 miles: 104
chains: 40 chains: 40
- type: continues - type: continues
routeName: Bathampton Jn - Westbury routeName: Bathampton Jn - Westbury
routeId: "0260" routeId: '0260'
entryPoint: bradford-jn entryPoint: bradford-jn

View File

@@ -1,6 +1,6 @@
routeStart: Bathampton Jn routeStart: Bathampton Jn
routeEnd: Westbury South Jn routeEnd: Westbury South Jn
routeId: "0260" routeId: '0260'
updated: 2026-03-01 updated: 2026-03-01
checked: 2026-03-01 checked: 2026-03-01
signallerStart: TVSC Bath WS signallerStart: TVSC Bath WS
@@ -11,18 +11,17 @@ elecEnd:
elec: none elec: none
routeDetail: routeDetail:
- type: continues - type: continues
routeName: Reading - Bristol TM routeName: Reading - Bristol TM
entryPoint: bathampton-jn entryPoint: bathampton-jn
routeId: "0002" routeId: '0002'
- type: junction - type: junction
name: Bathampton Jn name: Bathampton Jn
description: Mileage change (0mi 0ch) description: Mileage change (0mi 0ch)
diverges: right diverges: right
direction: down direction: down
goto: "0002" goto: '0002'
entryPoint: bathampton-jn entryPoint: bathampton-jn
miles: 0 miles: 0
chains: 0 chains: 0
@@ -82,7 +81,6 @@ routeDetail:
miles: 4 miles: 4
chains: 70 chains: 70
- type: bridge - type: bridge
name: Freshford Viaduct name: Freshford Viaduct
category: waterway category: waterway
@@ -123,7 +121,6 @@ routeDetail:
miles: 6 miles: 6
chains: 67 chains: 67
- type: crossing - type: crossing
kind: foot kind: foot
name: Barton Orchard Foot Crossing name: Barton Orchard Foot Crossing
@@ -165,7 +162,7 @@ routeDetail:
diverges: right diverges: right
direction: up direction: up
description: Melksham Single towards Chippenham, mileage change description: Melksham Single towards Chippenham, mileage change
goto: "0250" goto: '0250'
entryPoint: bradford-jn entryPoint: bradford-jn
miles: 9 miles: 9
chains: 12 chains: 12
@@ -220,7 +217,7 @@ routeDetail:
diverges: right diverges: right
direction: down direction: down
description: Lines change direction towards Westbury description: Lines change direction towards Westbury
goto: "0210" goto: '0210'
entryPoint: heywood-road-jn entryPoint: heywood-road-jn
miles: 109 miles: 109
chains: 14 chains: 14
@@ -229,7 +226,7 @@ routeDetail:
name: Westbury North Jn name: Westbury North Jn
diverges: right diverges: right
direction: up direction: up
goto: "0210" goto: '0210'
entryPoint: heywood-road-jn entryPoint: heywood-road-jn
miles: 109 miles: 109
chains: 49 chains: 49
@@ -244,8 +241,8 @@ routeDetail:
diverges: right diverges: right
direction: down direction: down
description: Up/Dn Salisbury towards Warminster description: Up/Dn Salisbury towards Warminster
goto: "0261" goto: '0261'
entryPoint: "westbury-south-jn" entryPoint: 'westbury-south-jn'
miles: 110 miles: 110
chains: 7 chains: 7
@@ -257,5 +254,5 @@ routeDetail:
- type: continues - type: continues
routeName: to Fairwood Jn (Reading - Taunton) routeName: to Fairwood Jn (Reading - Taunton)
routeId: "0210" routeId: '0210'
entryPoint: fairwood-jn entryPoint: fairwood-jn

View File

@@ -12,7 +12,6 @@ elecEnd:
elec: none elec: none
routeDetail: routeDetail:
- type: junction - type: junction
name: Westerleigh Jn name: Westerleigh Jn
diverges: left diverges: left
@@ -633,7 +632,7 @@ routeDetail:
diverges: left diverges: left
direction: down direction: down
description: to Barnwood Junction description: to Barnwood Junction
goto: "2422" goto: '2422'
entryPoint: barnwood-jn entryPoint: barnwood-jn
miles: 93 miles: 93
chains: 8 chains: 8
@@ -665,7 +664,7 @@ routeDetail:
direction: up direction: up
name: Horton Road Jn name: Horton Road Jn
description: to Barnwood Jn description: to Barnwood Jn
goto: "2422" goto: '2422'
entryPoint: horton-road-jn entryPoint: horton-road-jn
miles: 113 miles: 113
chains: 61 chains: 61

View File

@@ -1,7 +1,7 @@
# yaml-language-server: $schema=./mapFiles.schema.json # yaml-language-server: $schema=./mapFiles.schema.json
routeStart: Gloucester routeStart: Gloucester
routeEnd: Severn Tunnel Jn routeEnd: Severn Tunnel Jn
routeId: "2421" routeId: '2421'
updated: 2026-02-28 updated: 2026-02-28
checked: 2026-03-01 checked: 2026-03-01
signallerStart: Gloucester PSB signallerStart: Gloucester PSB
@@ -13,7 +13,6 @@ elecEnd:
eco: Didcot (TVSC) eco: Didcot (TVSC)
routeDetail: routeDetail:
- type: continues - type: continues
routeName: Gloucester - Westerleigh Jn routeName: Gloucester - Westerleigh Jn
entryPoint: gloucester entryPoint: gloucester

View File

@@ -101,31 +101,20 @@
"properties": { "properties": {
"elec": { "elec": {
"type": "string", "type": "string",
"enum": [ "enum": ["25kvac", "750vdc", "650vdc", "1500vdc", "none"]
"25kvac",
"750vdc",
"650vdc",
"1500vdc",
"none"
]
}, },
"eco": { "eco": {
"type": "string" "type": "string"
} }
}, },
"required": [ "required": ["elec"]
"elec"
]
}, },
"bridge": { "bridge": {
"type": "object", "type": "object",
"properties": { "properties": {
"type": { "type": {
"type": "string", "type": "string",
"enum": [ "enum": ["bridge", "minorBridge"]
"bridge",
"minorBridge"
]
}, },
"roadName": { "roadName": {
"type": "string" "type": "string"
@@ -138,10 +127,7 @@
}, },
"position": { "position": {
"type": "string", "type": "string",
"enum": [ "enum": ["over", "under"]
"over",
"under"
]
}, },
"category": { "category": {
"type": "string", "type": "string",
@@ -164,13 +150,7 @@
"type": "number" "type": "number"
} }
}, },
"required": [ "required": ["type", "position", "category", "miles", "chains"],
"type",
"position",
"category",
"miles",
"chains"
],
"additionalProperties": false "additionalProperties": false
}, },
"crossing": { "crossing": {
@@ -182,19 +162,7 @@
}, },
"kind": { "kind": {
"type": "string", "type": "string",
"enum": [ "enum": ["CCTV", "AHB", "uwc", "foot", "omsl", "r/g", "msl", "mcb", "mg", "mcg", "aocl"]
"CCTV",
"AHB",
"uwc",
"foot",
"omsl",
"r/g",
"msl",
"mcb",
"mg",
"mcg",
"aocl"
]
}, },
"name": { "name": {
"type": "string" "type": "string"
@@ -209,13 +177,7 @@
"type": "number" "type": "number"
} }
}, },
"required": [ "required": ["type", "kind", "name", "miles", "chains"],
"type",
"kind",
"name",
"miles",
"chains"
],
"additionalProperties": false "additionalProperties": false
}, },
"crossover": { "crossover": {
@@ -238,12 +200,7 @@
"type": "number" "type": "number"
} }
}, },
"required": [ "required": ["type", "name", "miles", "chains"],
"type",
"name",
"miles",
"chains"
],
"additionalProperties": false "additionalProperties": false
}, },
"electrificationChange": { "electrificationChange": {
@@ -264,21 +221,13 @@
"properties": { "properties": {
"elec": { "elec": {
"type": "string", "type": "string",
"enum": [ "enum": ["25kvac", "750vdc", "650vdc", "1500vdc", "none"]
"25kvac",
"750vdc",
"650vdc",
"1500vdc",
"none"
]
}, },
"eco": { "eco": {
"type": "string" "type": "string"
} }
}, },
"required": [ "required": ["elec"],
"elec"
],
"additionalProperties": false "additionalProperties": false
}, },
"to": { "to": {
@@ -286,28 +235,17 @@
"properties": { "properties": {
"elec": { "elec": {
"type": "string", "type": "string",
"enum": [ "enum": ["25kvac", "750vdc", "650vdc", "1500vdc", "none"]
"25kvac",
"750vdc",
"650vdc",
"1500vdc",
"none"
]
}, },
"eco": { "eco": {
"type": "string" "type": "string"
} }
}, },
"required": [ "required": ["elec"],
"elec"
],
"additionalProperties": false "additionalProperties": false
} }
}, },
"required": [ "required": ["miles", "chains"],
"miles",
"chains"
],
"additionalProperties": false "additionalProperties": false
}, },
"junction": { "junction": {
@@ -325,19 +263,11 @@
}, },
"diverges": { "diverges": {
"type": "string", "type": "string",
"enum": [ "enum": ["left", "right", "both"]
"left",
"right",
"both"
]
}, },
"direction": { "direction": {
"type": "string", "type": "string",
"enum": [ "enum": ["up", "down", "both"]
"up",
"down",
"both"
]
}, },
"miles": { "miles": {
"type": "number" "type": "number"
@@ -347,13 +277,7 @@
}, },
"elecBranch": { "elecBranch": {
"type": "string", "type": "string",
"enum": [ "enum": ["25kvac", "750vdc", "650vdc", "1500vdc", "none"]
"25kvac",
"750vdc",
"650vdc",
"1500vdc",
"none"
]
}, },
"goto": { "goto": {
"type": "string" "type": "string"
@@ -362,14 +286,7 @@
"type": "string" "type": "string"
} }
}, },
"required": [ "required": ["name", "diverges", "direction", "miles", "chains", "type"],
"name",
"diverges",
"direction",
"miles",
"chains",
"type"
],
"additionalProperties": false "additionalProperties": false
}, },
"loop": { "loop": {
@@ -387,11 +304,7 @@
}, },
"position": { "position": {
"type": "string", "type": "string",
"enum": [ "enum": ["left", "right", "both"]
"left",
"right",
"both"
]
}, },
"miles": { "miles": {
"type": "number" "type": "number"
@@ -401,22 +314,10 @@
}, },
"elecLoop": { "elecLoop": {
"type": "string", "type": "string",
"enum": [ "enum": ["25kvac", "750vdc", "650vdc", "1500vdc", "none"]
"25kvac",
"750vdc",
"650vdc",
"1500vdc",
"none"
]
} }
}, },
"required": [ "required": ["type", "name", "position", "miles", "chains"],
"type",
"name",
"position",
"miles",
"chains"
],
"additionalProperties": false "additionalProperties": false
}, },
"routeContinuation": { "routeContinuation": {
@@ -439,12 +340,7 @@
"description": "Entrypoint of other route (lowercase, replacing whitespace with -, junction always referred to as jn" "description": "Entrypoint of other route (lowercase, replacing whitespace with -, junction always referred to as jn"
} }
}, },
"required": [ "required": ["type", "routeName", "routeId", "entryPoint"],
"type",
"routeName",
"routeId",
"entryPoint"
],
"additionalProperties": false "additionalProperties": false
}, },
"siteof": { "siteof": {
@@ -467,12 +363,7 @@
"type": "number" "type": "number"
} }
}, },
"required": [ "required": ["type", "name", "miles", "chains"],
"type",
"name",
"miles",
"chains"
],
"additionalProperties": false "additionalProperties": false
}, },
"station": { "station": {
@@ -495,12 +386,7 @@
"type": "number" "type": "number"
} }
}, },
"required": [ "required": ["type", "name", "miles", "chains"]
"type",
"name",
"miles",
"chains"
]
}, },
"tunnel": { "tunnel": {
"type": "object", "type": "object",
@@ -517,12 +403,7 @@
}, },
"tunnelType": { "tunnelType": {
"type": "string", "type": "string",
"enum": [ "enum": ["start", "end", "mid", "whole"]
"start",
"end",
"mid",
"whole"
]
}, },
"length": { "length": {
"type": "string", "type": "string",
@@ -535,13 +416,7 @@
"type": "number" "type": "number"
} }
}, },
"required": [ "required": ["type", "name", "tunnelType", "miles", "chains"],
"type",
"name",
"tunnelType",
"miles",
"chains"
],
"additionalProperties": false "additionalProperties": false
}, },
"signallerChange": { "signallerChange": {
@@ -564,12 +439,7 @@
"type": "number" "type": "number"
} }
}, },
"required": [ "required": ["from", "to", "miles", "chains"],
"from",
"to",
"miles",
"chains"
],
"additionalProperties": false "additionalProperties": false
} }
} }

View File

@@ -7,7 +7,7 @@ platforms:
platformLength: 115 platformLength: 115
signal: false signal: false
dispatch: false dispatch: false
stepFree: stepFree: true
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: [2, 10] doors: [2, 10]
@@ -21,7 +21,7 @@ platforms:
platformLength: 115 platformLength: 115
signal: false signal: false
dispatch: false dispatch: false
stepFree: stepFree: true
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: [1, 7] doors: [1, 7]

View File

@@ -6,6 +6,7 @@ platforms:
- platformId: 1Dn - platformId: 1Dn
platformLength: 121 platformLength: 121
signal: true signal: true
stepFree: true
dispatch: false dispatch: false
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
@@ -19,6 +20,7 @@ platforms:
- platformId: 2Up - platformId: 2Up
platformLength: 123 platformLength: 123
signal: true signal: true
stepFree: true
dispatch: false dispatch: false
doorPattern: doorPattern:
- kind: IET5 - kind: IET5

View File

@@ -6,6 +6,7 @@ platforms:
- platformId: 1Up - platformId: 1Up
platformLength: 153 platformLength: 153
signal: false signal: false
stepFree: true
dispatch: false dispatch: false
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
@@ -19,6 +20,7 @@ platforms:
- platformId: 2Dn - platformId: 2Dn
platformLength: 150 platformLength: 150
signal: false signal: false
stepFree: true
dispatch: false dispatch: false
doorPattern: doorPattern:
- kind: IET5 - kind: IET5

View File

@@ -7,7 +7,7 @@ platforms:
platformLength: 105 platformLength: 105
signal: false signal: false
dispatch: false dispatch: false
stepFree: stepFree: true
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: [2, 9] doors: [2, 9]
@@ -21,7 +21,7 @@ platforms:
platformLength: 106 platformLength: 106
signal: false signal: false
dispatch: false dispatch: false
stepFree: stepFree: true
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: [4, 10] doors: [4, 10]

View File

@@ -7,7 +7,7 @@ platforms:
platformLength: 120 platformLength: 120
signal: false signal: false
dispatch: false dispatch: false
stepFree: stepFree: true
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: [4, 10] doors: [4, 10]
@@ -21,7 +21,7 @@ platforms:
platformLength: 117 platformLength: 117
signal: true signal: true
dispatch: false dispatch: false
stepFree: stepFree: true
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: [1, 7] doors: [1, 7]

View File

@@ -7,79 +7,74 @@ platforms:
platformLength: 291 platformLength: 291
signal: true signal: true
dispatch: true dispatch: true
dispatchNote: Staffed until 22:00 Daily dispatchNote: Staffed 06:00-21:00
stepFree: true stepFree: true
stepFreeNote: Accessible from street & via lifts
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: all doors: [1,10]
- kind: IET9 - kind: IET9
doors: all doors: [1,18]
- kind: IET10 - kind: IET10
doors: all doors: [1,20]
- kind: DMU - kind: DMU
max-car: 12 max-car: 12
- platformId: 1Up - platformId: 1Up
platformLength: 291 platformLength: 291
signal: true signal: true
dispatch: true dispatch: true
dispatchNote: Staffed until 22:00 Daily dispatchNote: Staffed 06:00-21:00
stepFree: true stepFree: true
stepFreeNote: Accessible from street & via lifts
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: all doors: [1,10]
- kind: IET9 - kind: IET9
doors: all doors: [1,18]
- kind: IET10 - kind: IET10
doors: all doors: [1,20]
- kind: DMU - kind: DMU
max-car: 12 max-car: 12
- platformId: 2Dn - platformId: 2Dn
platformLength: 327 platformLength: 327
signal: true signal: true
dispatch: true dispatch: true
dispatchNote: Staffed until 22:00 Daily dispatchNote: Staffed 06:00-21:00
stepFree: true stepFree: true
stepFreeNote: Accessible from street & via lifts
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: all doors: [1,10]
- kind: IET9 - kind: IET9
doors: all doors: [1,18]
- kind: IET10 - kind: IET10
doors: all doors: [1,20]
- kind: DMU - kind: DMU
max-car: 14 max-car: 14
- platformId: 2Up - platformId: 2Up
platformLength: 327 platformLength: 327
signal: true signal: true
dispatch: true dispatch: true
dispatchNote: Staffed until 22:00 Daily dispatchNote: Staffed 06:00-21:00
stepFree: true stepFree: true
stepFreeNote: Accessible from street & via lifts
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: all doors: [1,10]
- kind: IET9 - kind: IET9
doors: all doors: [1,18]
- kind: IET10 - kind: IET10
doors: all doors: [1,20]
- kind: DMU - kind: DMU
max-car: 14 max-car: 14
- platformId: 3 - platformId: 3
platformLength: 129 platformLength: 129
signal: true signal: true
dispatch: true dispatch: true
dispatchNote: Staffed until 22:00 Daily dispatchNote: Staffed 06:00-21:00
stepFree: true stepFree: true
stepFreeNote: Accessible from street & via lifts
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: all doors: [1,10]
- kind: IET9 - kind: IET9
doors: null doors: [0,0]
- kind: IET10 - kind: IET10
doors: null doors: [0,0]
- kind: DMU - kind: DMU
max-car: 5 max-car: 5

View File

@@ -33,7 +33,7 @@ platforms:
max-car: 4 max-car: 4
- platformId: 3Up - platformId: 3Up
platformLength: 225 platformLength: 225
signal: false signal: true
dispatch: false dispatch: false
stepFree: true stepFree: true
doorPattern: doorPattern:

View File

@@ -5,7 +5,8 @@ checked: 2026-03-11
platforms: platforms:
- platformId: 1Dn - platformId: 1Dn
platformLength: 170 platformLength: 170
signal: true signal: false
stepFree: true
dispatch: false dispatch: false
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
@@ -19,6 +20,7 @@ platforms:
- platformId: 2Up - platformId: 2Up
platformLength: 177 platformLength: 177
signal: true signal: true
stepFree: true
dispatch: false dispatch: false
doorPattern: doorPattern:
- kind: IET5 - kind: IET5

View File

@@ -7,7 +7,7 @@ platforms:
platformLength: 168 platformLength: 168
signal: true signal: true
dispatch: false dispatch: false
stepFree: stepFree: true
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: [1, 10] doors: [1, 10]
@@ -21,7 +21,7 @@ platforms:
platformLength: 168 platformLength: 168
signal: false signal: false
dispatch: false dispatch: false
stepFree: stepFree: true
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: [1, 10] doors: [1, 10]

View File

@@ -5,9 +5,9 @@ checked: 2026-03-11
platforms: platforms:
- platformId: 1Up - platformId: 1Up
platformLength: 168 platformLength: 168
signal: true signal: false
dispatch: false dispatch: false
stepFree: stepFree: true
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: [1, 10] doors: [1, 10]
@@ -21,7 +21,7 @@ platforms:
platformLength: 168 platformLength: 168
signal: false signal: false
dispatch: false dispatch: false
stepFree: stepFree: true
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: [1, 10] doors: [1, 10]
@@ -33,8 +33,9 @@ platforms:
max-car: 7 max-car: 7
- platformId: 3 - platformId: 3
platformLength: 153 platformLength: 153
signal: false signal: true
dispatch: false dispatch: false
dispatchNote: Use must be specially authorised
stepFree: true stepFree: true
doorPattern: doorPattern:
- kind: IET5 - kind: IET5