forge
Explore
Log in

Don't you dare go Hollow

✨ improve exam flow, forms, and course pages

Browse files at this commit

9f0a1e415aeb95a31db227cf68bf550de3de708eBurak BoduroğluParent: 3eabac5
  • feat
    • ✨ improve exam flow, forms, and course pages
Show full message
feat: ✨ improve exam flow, forms, and course pages

18 changed files +1043 -277

bun.lockadded+525 -0
@@ -0,0 +1,525 @@
1+{
2+ "lockfileVersion": 1,
3+ "configVersion": 0,
4+ "workspaces": {
5+ "": {
6+ "name": "hezarfen-frontend",
7+ "dependencies": {
8+ "@kobalte/core": "^0.13.11",
9+ "@tanstack/solid-router": "^1.131.0",
10+ "class-variance-authority": "^0.7.1",
11+ "clsx": "^2.1.1",
12+ "solid-js": "^1.9.13",
13+ "tailwind-merge": "^3.3.1",
14+ },
15+ "devDependencies": {
16+ "@tanstack/solid-router-devtools": "^1.131.0",
17+ "@types/node": "^24.13.2",
18+ "autoprefixer": "^10.4.21",
19+ "postcss": "^8.5.6",
20+ "tailwindcss": "^3.4.17",
21+ "tailwindcss-animate": "^1.0.7",
22+ "typescript": "^7.0.2",
23+ "vite": "^6.3.5",
24+ "vite-plugin-solid": "^2.11.12",
25+ },
26+ },
27+ },
28+ "packages": {
29+ "@alloc/quick-lru": ["@alloc/quick-lru@5.2.0", "", {}, "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw=="],
30+
31+ "@babel/code-frame": ["@babel/code-frame@7.29.7", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.29.7", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw=="],
32+
33+ "@babel/compat-data": ["@babel/compat-data@7.29.7", "", {}, "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg=="],
34+
35+ "@babel/core": ["@babel/core@7.29.7", "", { "dependencies": { "@babel/code-frame": "^7.29.7", "@babel/generator": "^7.29.7", "@babel/helper-compilation-targets": "^7.29.7", "@babel/helper-module-transforms": "^7.29.7", "@babel/helpers": "^7.29.7", "@babel/parser": "^7.29.7", "@babel/template": "^7.29.7", "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7", "@jridgewell/remapping": "^2.3.5", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", "json5": "^2.2.3", "semver": "^6.3.1" } }, "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA=="],
36+
37+ "@babel/generator": ["@babel/generator@7.29.7", "", { "dependencies": { "@babel/parser": "^7.29.7", "@babel/types": "^7.29.7", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ=="],
38+
39+ "@babel/helper-compilation-targets": ["@babel/helper-compilation-targets@7.29.7", "", { "dependencies": { "@babel/compat-data": "^7.29.7", "@babel/helper-validator-option": "^7.29.7", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" } }, "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g=="],
40+
41+ "@babel/helper-globals": ["@babel/helper-globals@7.29.7", "", {}, "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA=="],
42+
43+ "@babel/helper-module-imports": ["@babel/helper-module-imports@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g=="],
44+
45+ "@babel/helper-module-transforms": ["@babel/helper-module-transforms@7.29.7", "", { "dependencies": { "@babel/helper-module-imports": "^7.29.7", "@babel/helper-validator-identifier": "^7.29.7", "@babel/traverse": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg=="],
46+
47+ "@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.29.7", "", {}, "sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw=="],
48+
49+ "@babel/helper-string-parser": ["@babel/helper-string-parser@7.29.7", "", {}, "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw=="],
50+
51+ "@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.29.7", "", {}, "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg=="],
52+
53+ "@babel/helper-validator-option": ["@babel/helper-validator-option@7.29.7", "", {}, "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw=="],
54+
55+ "@babel/helpers": ["@babel/helpers@7.29.7", "", { "dependencies": { "@babel/template": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg=="],
56+
57+ "@babel/parser": ["@babel/parser@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" }, "bin": { "parser": "bin/babel-parser.js" } }, "sha512-hnORnjP/1P/zFEndoeX+n+t1RwWRJiJpM/jO7FW32Kn9r5+sJB2JWOdYo4L6k78j15eCwY3Gm/7364B1EMwtNg=="],
58+
59+ "@babel/plugin-syntax-jsx": ["@babel/plugin-syntax-jsx@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-TSu8+mHCoEaaCDEZ0I3+6mvTBYR4PCxQwf2z9/r5Tbztv6NaLR3B9thGTTxX2WGuGHJqRiAbKPeGTJ5XWXVg6A=="],
60+
61+ "@babel/template": ["@babel/template@7.29.7", "", { "dependencies": { "@babel/code-frame": "^7.29.7", "@babel/parser": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg=="],
62+
63+ "@babel/traverse": ["@babel/traverse@7.29.7", "", { "dependencies": { "@babel/code-frame": "^7.29.7", "@babel/generator": "^7.29.7", "@babel/helper-globals": "^7.29.7", "@babel/parser": "^7.29.7", "@babel/template": "^7.29.7", "@babel/types": "^7.29.7", "debug": "^4.3.1" } }, "sha512-EhlfNQtZ+NK22w5BM61ciuiq1m58ed33Wr1Xan//ZRTy6hgjnwyCffRYwzsGXdASJSUJ1guZILsErh1eQcl+zw=="],
64+
65+ "@babel/types": ["@babel/types@7.29.7", "", { "dependencies": { "@babel/helper-string-parser": "^7.29.7", "@babel/helper-validator-identifier": "^7.29.7" } }, "sha512-4zBIxpPzowiZpusoFkyGVwakdRJUyuH5PxQ/PrqghfdFWWasvnCdPfQXHrenDai+gyLARulZjZowCOj6fjT4pA=="],
66+
67+ "@corvu/utils": ["@corvu/utils@0.4.2", "", { "dependencies": { "@floating-ui/dom": "^1.6.11" }, "peerDependencies": { "solid-js": "^1.8" } }, "sha512-Ox2kYyxy7NoXdKWdHeDEjZxClwzO4SKM8plAaVwmAJPxHMqA0rLOoAsa+hBDwRLpctf+ZRnAd/ykguuJidnaTA=="],
68+
69+ "@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.25.12", "", { "os": "aix", "cpu": "ppc64" }, "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA=="],
70+
71+ "@esbuild/android-arm": ["@esbuild/android-arm@0.25.12", "", { "os": "android", "cpu": "arm" }, "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg=="],
72+
73+ "@esbuild/android-arm64": ["@esbuild/android-arm64@0.25.12", "", { "os": "android", "cpu": "arm64" }, "sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg=="],
74+
75+ "@esbuild/android-x64": ["@esbuild/android-x64@0.25.12", "", { "os": "android", "cpu": "x64" }, "sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg=="],
76+
77+ "@esbuild/darwin-arm64": ["@esbuild/darwin-arm64@0.25.12", "", { "os": "darwin", "cpu": "arm64" }, "sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg=="],
78+
79+ "@esbuild/darwin-x64": ["@esbuild/darwin-x64@0.25.12", "", { "os": "darwin", "cpu": "x64" }, "sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA=="],
80+
81+ "@esbuild/freebsd-arm64": ["@esbuild/freebsd-arm64@0.25.12", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg=="],
82+
83+ "@esbuild/freebsd-x64": ["@esbuild/freebsd-x64@0.25.12", "", { "os": "freebsd", "cpu": "x64" }, "sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ=="],
84+
85+ "@esbuild/linux-arm": ["@esbuild/linux-arm@0.25.12", "", { "os": "linux", "cpu": "arm" }, "sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw=="],
86+
87+ "@esbuild/linux-arm64": ["@esbuild/linux-arm64@0.25.12", "", { "os": "linux", "cpu": "arm64" }, "sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ=="],
88+
89+ "@esbuild/linux-ia32": ["@esbuild/linux-ia32@0.25.12", "", { "os": "linux", "cpu": "ia32" }, "sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA=="],
90+
91+ "@esbuild/linux-loong64": ["@esbuild/linux-loong64@0.25.12", "", { "os": "linux", "cpu": "none" }, "sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng=="],
92+
93+ "@esbuild/linux-mips64el": ["@esbuild/linux-mips64el@0.25.12", "", { "os": "linux", "cpu": "none" }, "sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw=="],
94+
95+ "@esbuild/linux-ppc64": ["@esbuild/linux-ppc64@0.25.12", "", { "os": "linux", "cpu": "ppc64" }, "sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA=="],
96+
97+ "@esbuild/linux-riscv64": ["@esbuild/linux-riscv64@0.25.12", "", { "os": "linux", "cpu": "none" }, "sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w=="],
98+
99+ "@esbuild/linux-s390x": ["@esbuild/linux-s390x@0.25.12", "", { "os": "linux", "cpu": "s390x" }, "sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg=="],
100+
101+ "@esbuild/linux-x64": ["@esbuild/linux-x64@0.25.12", "", { "os": "linux", "cpu": "x64" }, "sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw=="],
102+
103+ "@esbuild/netbsd-arm64": ["@esbuild/netbsd-arm64@0.25.12", "", { "os": "none", "cpu": "arm64" }, "sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg=="],
104+
105+ "@esbuild/netbsd-x64": ["@esbuild/netbsd-x64@0.25.12", "", { "os": "none", "cpu": "x64" }, "sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ=="],
106+
107+ "@esbuild/openbsd-arm64": ["@esbuild/openbsd-arm64@0.25.12", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A=="],
108+
109+ "@esbuild/openbsd-x64": ["@esbuild/openbsd-x64@0.25.12", "", { "os": "openbsd", "cpu": "x64" }, "sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw=="],
110+
111+ "@esbuild/openharmony-arm64": ["@esbuild/openharmony-arm64@0.25.12", "", { "os": "none", "cpu": "arm64" }, "sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg=="],
112+
113+ "@esbuild/sunos-x64": ["@esbuild/sunos-x64@0.25.12", "", { "os": "sunos", "cpu": "x64" }, "sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w=="],
114+
115+ "@esbuild/win32-arm64": ["@esbuild/win32-arm64@0.25.12", "", { "os": "win32", "cpu": "arm64" }, "sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg=="],
116+
117+ "@esbuild/win32-ia32": ["@esbuild/win32-ia32@0.25.12", "", { "os": "win32", "cpu": "ia32" }, "sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ=="],
118+
119+ "@esbuild/win32-x64": ["@esbuild/win32-x64@0.25.12", "", { "os": "win32", "cpu": "x64" }, "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA=="],
120+
121+ "@floating-ui/core": ["@floating-ui/core@1.8.0", "", { "dependencies": { "@floating-ui/utils": "^0.2.12" } }, "sha512-0CIZ5itps/8x7BG8dEIhs53BvCUH2PCoogtakwRTut+Arm58sJooJ0AuZhLw2HJYIR5cMLNPBSS728sPho2khQ=="],
122+
123+ "@floating-ui/dom": ["@floating-ui/dom@1.8.0", "", { "dependencies": { "@floating-ui/core": "^1.8.0", "@floating-ui/utils": "^0.2.12" } }, "sha512-yXSrzeHZBTZadLOlfyhCkJHNeLJnHRnRInwdZ40L7ZiaAtrBwoYlsDrX3v5zB1Utk7CLfzcOVnVVWoXEky7Ceg=="],
124+
125+ "@floating-ui/utils": ["@floating-ui/utils@0.2.12", "", {}, "sha512-HpCo8tmWzLVad5s2d19EhAz5zqrrQ6s69qd6moPMQvkOuSwDT1YgRfWSVuc4ennqrgv3OHppiOGMQ7oC13yIww=="],
126+
127+ "@internationalized/number": ["@internationalized/number@3.6.7", "", { "dependencies": { "@swc/helpers": "^0.5.0" } }, "sha512-3ji1fcrT+FPAK86UqEhB/psHixYo6niWPJtt7+qRaYFynt/BaJG8GhAPimtWUpEiVSTq8ZM8L5psMxGquiB/Vg=="],
128+
129+ "@jridgewell/gen-mapping": ["@jridgewell/gen-mapping@0.3.13", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA=="],
130+
131+ "@jridgewell/remapping": ["@jridgewell/remapping@2.3.5", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ=="],
132+
133+ "@jridgewell/resolve-uri": ["@jridgewell/resolve-uri@3.1.2", "", {}, "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw=="],
134+
135+ "@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.5.5", "", {}, "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og=="],
136+
137+ "@jridgewell/trace-mapping": ["@jridgewell/trace-mapping@0.3.31", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw=="],
138+
139+ "@kobalte/core": ["@kobalte/core@0.13.12", "", { "dependencies": { "@floating-ui/dom": "^1.5.1", "@internationalized/number": "^3.2.1", "@kobalte/utils": "^0.9.2", "@solid-primitives/props": "^3.1.8", "@solid-primitives/resize-observer": "^2.0.26", "solid-presence": "^0.1.8", "solid-prevent-scroll": "^0.1.4" }, "peerDependencies": { "solid-js": "^1.8.15" } }, "sha512-aumsbsPe99/z2igcX2+p+Mdhzw89uuZx8ZdgfEqSlVuuWeTvkoBtCId5sl/Y7sWvllIOFwPoMzE3u0rAzDNkvg=="],
140+
141+ "@kobalte/utils": ["@kobalte/utils@0.9.2", "", { "dependencies": { "@solid-primitives/event-listener": "^2.2.14", "@solid-primitives/keyed": "^1.2.0", "@solid-primitives/map": "^0.4.7", "@solid-primitives/media": "^2.2.4", "@solid-primitives/props": "^3.1.8", "@solid-primitives/refs": "^1.0.5", "@solid-primitives/utils": "^6.2.1" }, "peerDependencies": { "solid-js": "^1.8.8" } }, "sha512-jRVXr+zsVHxzDXRoh+CDeXzvCsFJ6uiHhqqNQ26Cw9ZsZ3D6nqPUBt1gGVtj2ZPmRL3a9Uk1v8D1aJ8/I12Dow=="],
142+
143+ "@nodelib/fs.scandir": ["@nodelib/fs.scandir@2.1.5", "", { "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" } }, "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g=="],
144+
145+ "@nodelib/fs.stat": ["@nodelib/fs.stat@2.0.5", "", {}, "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A=="],
146+
147+ "@nodelib/fs.walk": ["@nodelib/fs.walk@1.2.8", "", { "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" } }, "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg=="],
148+
149+ "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.62.2", "", { "os": "android", "cpu": "arm" }, "sha512-6o7ZLZK+BeenkZCFNDXqpbjw9bD6nuWonvS/lwQJp7NoVVxm6p3qE7qQ5jGuBjiFsgvqjD8mZAU5oWxTmbOeOg=="],
150+
151+ "@rollup/rollup-android-arm64": ["@rollup/rollup-android-arm64@4.62.2", "", { "os": "android", "cpu": "arm64" }, "sha512-BaH7BllCACHoH1LguOU56UItGfUWjujlO65kS9LAodViaN4bwIKd7oeW/ZHJ/4ljr/7MIiENnNy3HJ0zXv8Zkw=="],
152+
153+ "@rollup/rollup-darwin-arm64": ["@rollup/rollup-darwin-arm64@4.62.2", "", { "os": "darwin", "cpu": "arm64" }, "sha512-v39RCCvj4He82I9sFmk+M1VZ0PLM9sfsLVikjfx2hYBNALhrrOR2D3JjQA6AhlaSOgcR+RzrKY7e1+bT6SUO/A=="],
154+
155+ "@rollup/rollup-darwin-x64": ["@rollup/rollup-darwin-x64@4.62.2", "", { "os": "darwin", "cpu": "x64" }, "sha512-yl0y2vq3S3lHeuXhEdss6TWfKW8vkujImO12tn4ZkG/4oghr09LvdYm2RElVjokTQiUvDUGXLGsYeLqUMCKpGA=="],
156+
157+ "@rollup/rollup-freebsd-arm64": ["@rollup/rollup-freebsd-arm64@4.62.2", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-tT4pvt4qXD+vEoezupCWi+a1F0vvDiksiHc+PxRlYTOH1I6/X4id9jPxTP+Fg+545euaFT1jJVs4CEdHZAU1vw=="],
158+
159+ "@rollup/rollup-freebsd-x64": ["@rollup/rollup-freebsd-x64@4.62.2", "", { "os": "freebsd", "cpu": "x64" }, "sha512-6nU5F2wCW+qvCBhTn1pdIU3bzsIoF7EUwsCDRxilWGprQR6yd508YnH9+OKFCwpfS8pjZqDUmnCAr7exax0XCg=="],
160+
161+ "@rollup/rollup-linux-arm-gnueabihf": ["@rollup/rollup-linux-arm-gnueabihf@4.62.2", "", { "os": "linux", "cpu": "arm" }, "sha512-n1GJHPOvpIfhi3TmrCeh6S6URt9BFCt0KQE3qvexyGCTAKpR4Lg+eWvNZEqu7epxwus/8ElT3hacYEucm49SZg=="],
162+
163+ "@rollup/rollup-linux-arm-musleabihf": ["@rollup/rollup-linux-arm-musleabihf@4.62.2", "", { "os": "linux", "cpu": "arm" }, "sha512-JqgflS8wEB+UXV/vS1RpRbifGBeN4D5lz8D8oOFbFZw4vedvdOgCFAjfBmIMdW3yL10XpQQ0Ambepw6MXrhOnA=="],
164+
165+ "@rollup/rollup-linux-arm64-gnu": ["@rollup/rollup-linux-arm64-gnu@4.62.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-wnFJkogWvN4jm/hQRF2UBaeUmk20j5+DmHvoyWii2b8HJDyvz1MF2OU/6ynXt2KR63rbZLWkFpoytpdc/yBuSA=="],
166+
167+ "@rollup/rollup-linux-arm64-musl": ["@rollup/rollup-linux-arm64-musl@4.62.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-HVu2bp0zhvJ8xHEV9+UUs7S90VadmBSY3LcIMvozbPo4AuMGDWlz3ymHLHZPX4hR67TKTt8Qp5PJ5RBg/i+RMQ=="],
168+
169+ "@rollup/rollup-linux-loong64-gnu": ["@rollup/rollup-linux-loong64-gnu@4.62.2", "", { "os": "linux", "cpu": "none" }, "sha512-mQqqAV8QaoSgr9I2fKDLY2BAVvmKjWoGiu/cSYQonsLvtqwEn1E4QYfnCOcp5zoEqNhsDYin1s6jx/VJmrxlZg=="],
170+
171+ "@rollup/rollup-linux-loong64-musl": ["@rollup/rollup-linux-loong64-musl@4.62.2", "", { "os": "linux", "cpu": "none" }, "sha512-IxKLoxCQ2IWi6bT2akyDUBGsOImDKB+sPp4EsTmwFQ/fMwpCKm8uLSSgP/Kx/QYUgKis6SEZ5/Nlhup0DIA0PQ=="],
172+
173+ "@rollup/rollup-linux-ppc64-gnu": ["@rollup/rollup-linux-ppc64-gnu@4.62.2", "", { "os": "linux", "cpu": "ppc64" }, "sha512-Mk5ha2RQSgyFfmYYLkBpPnUk8D8FriBxesO1u9O75X0mHgXL1UQcH5Itl2lurWL2tj0RxV9b9tJgipac0hRY9A=="],
174+
175+ "@rollup/rollup-linux-ppc64-musl": ["@rollup/rollup-linux-ppc64-musl@4.62.2", "", { "os": "linux", "cpu": "ppc64" }, "sha512-CjvEnqJL/0/TQ3TXX3OPIJ/kmBellrWd4heXUmHeJlTnmwjKpSJzoehLaL6Xk0ZnMHBu9dZuFADNOrtjF4v+2w=="],
176+
177+ "@rollup/rollup-linux-riscv64-gnu": ["@rollup/rollup-linux-riscv64-gnu@4.62.2", "", { "os": "linux", "cpu": "none" }, "sha512-1SiZbzwdkaDURsew/tSOrooKiYy7EQGT6m8ufavAi9NEyQb/6VuIxFXAL1fqa4iZe3g4NbNk4P7J32z2tw5Mgg=="],
178+
179+ "@rollup/rollup-linux-riscv64-musl": ["@rollup/rollup-linux-riscv64-musl@4.62.2", "", { "os": "linux", "cpu": "none" }, "sha512-nQts12zJ3NQRoE6uYljOH89v7szzLDvG2JD/vsX+vGXU8w/At1GowTZ5/7qeFQ8m7L55rpR8Okugnuo5bgjy2Q=="],
180+
181+ "@rollup/rollup-linux-s390x-gnu": ["@rollup/rollup-linux-s390x-gnu@4.62.2", "", { "os": "linux", "cpu": "s390x" }, "sha512-E9/ll019jhPIJgpzfZoIkBGhcz+kKNgVWYRY0zr9srBdPPFVpvOKW8VaJKUbeK+eZXyQF9ltME+Kk6affeaPgg=="],
182+
183+ "@rollup/rollup-linux-x64-gnu": ["@rollup/rollup-linux-x64-gnu@4.62.2", "", { "os": "linux", "cpu": "x64" }, "sha512-5BqxR/pshjey51iliyzTD5Xi3EN0aLmQ2lZ3lvefVV9c82BvrLo2/6OT55iifpWBufs6kdwWbuOKS841DrmK9A=="],
184+
185+ "@rollup/rollup-linux-x64-musl": ["@rollup/rollup-linux-x64-musl@4.62.2", "", { "os": "linux", "cpu": "x64" }, "sha512-uNN83XxQrRAh/w0/pmAfibcwyb6YWt4gP+dpnQKPVJshAloQ785ii8CT8ZCIxkGg9opVsvAlGhFitSm6D1Jjpg=="],
186+
187+ "@rollup/rollup-openbsd-x64": ["@rollup/rollup-openbsd-x64@4.62.2", "", { "os": "openbsd", "cpu": "x64" }, "sha512-srjEIxSH3LRnJN6THczDHWQplqEMFiAJrTab0msUryh9kwNpkICf3Ea6q6MN/2cZwRFUNx5w+h6Hpi4QuHS6Zg=="],
188+
189+ "@rollup/rollup-openharmony-arm64": ["@rollup/rollup-openharmony-arm64@4.62.2", "", { "os": "none", "cpu": "arm64" }, "sha512-8hOJnxgbyObnCm5AlRA3A931xX19xq80RjVTKgJOvEKWqJruP/Uf12IbAOaDjjEXYRewwHLfmF0YRIdK3OwKWA=="],
190+
191+ "@rollup/rollup-win32-arm64-msvc": ["@rollup/rollup-win32-arm64-msvc@4.62.2", "", { "os": "win32", "cpu": "arm64" }, "sha512-mmF4AY1i0hG/bLWUctUq59gtmgaSIRa3cu/A3JFRp/sCNEme2bgDEiDS22P9FbnJB8NJNF4jPJiSP5RHQpUTDg=="],
192+
193+ "@rollup/rollup-win32-ia32-msvc": ["@rollup/rollup-win32-ia32-msvc@4.62.2", "", { "os": "win32", "cpu": "ia32" }, "sha512-DZgkknc6jhHrk46V25vbAM0zZkyP0nSDkJB8/dRkLTxv470dOmWDqGoEJl/9A0dFfS7yE3REOwNDxpHwSLSt0Q=="],
194+
195+ "@rollup/rollup-win32-x64-gnu": ["@rollup/rollup-win32-x64-gnu@4.62.2", "", { "os": "win32", "cpu": "x64" }, "sha512-T6xr6ucWSFto+VGajA8YH26LdpHRuP4YLHEKAtCWvJDOlnmWcDZVCI2Jmjr+IFHDlt2zRaTAKE4tfjTaWLgJBg=="],
196+
197+ "@rollup/rollup-win32-x64-msvc": ["@rollup/rollup-win32-x64-msvc@4.62.2", "", { "os": "win32", "cpu": "x64" }, "sha512-BfzEnDJOt9T8M989/lA37EcJgat01wLRnoi5dQf3QzOH7jzpqTAzdDbVfRljVr5r+jzKqpbHeyOfAaXxAd0PAA=="],
198+
199+ "@solid-primitives/event-listener": ["@solid-primitives/event-listener@2.4.6", "", { "dependencies": { "@solid-primitives/utils": "^6.4.1" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-5I0YJcTVYIWoMmgBSROBZGcz+ymhew/pGTg2dHW74BUjFKsV8Li4bOZYl0YAGP4mHw5o4UBd9/BEesqBci3wxw=="],
200+
201+ "@solid-primitives/keyed": ["@solid-primitives/keyed@1.5.3", "", { "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-zNadtyYBhJSOjXtogkGHmRxjGdz9KHc8sGGVAGlUABkE8BED2tbIZoxkwSqzOwde8OcUEH0bb5DLZUWIMvyBSA=="],
202+
203+ "@solid-primitives/map": ["@solid-primitives/map@0.4.13", "", { "dependencies": { "@solid-primitives/trigger": "^1.1.0" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-B1zyFbsiTQvqPr+cuPCXO72sRuczG9Swncqk5P74NCGw1VE8qa/Ry9GlfI1e/VdeQYHjan+XkbE3rO2GW/qKew=="],
204+
205+ "@solid-primitives/media": ["@solid-primitives/media@2.3.6", "", { "dependencies": { "@solid-primitives/event-listener": "^2.4.6", "@solid-primitives/rootless": "^1.5.4", "@solid-primitives/static-store": "^0.1.4", "@solid-primitives/utils": "^6.4.1" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-pk49gPOq/UMRUJ+pTSrOfBiR8xJjRYHXIf1iR/jSnyQ/KroU+ZXhkZzavC7hvfp2vJeOTW5k2/HN0r3Q1VJ7Pw=="],
206+
207+ "@solid-primitives/props": ["@solid-primitives/props@3.2.4", "", { "dependencies": { "@solid-primitives/utils": "^6.4.1" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-MXXdvi2TSB6d+0N6ueA/HP1j/Kh9SEc4WdF1ZDMLwPagxW6pIHHSS9xbRO0RjqSVpNP4j0nxCWT1hx3CkJNhNA=="],
208+
209+ "@solid-primitives/refs": ["@solid-primitives/refs@1.1.4", "", { "dependencies": { "@solid-primitives/utils": "^6.4.1" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-bLjwIs6ZPu8NQnuw04sU3Zc8qKSpbc0umUU/O4SHf6oWOdO4+dHY8vb1T7C4b/Tg103+9WGr6sEE0+NFlbaB/A=="],
210+
211+ "@solid-primitives/resize-observer": ["@solid-primitives/resize-observer@2.2.0", "", { "dependencies": { "@solid-primitives/event-listener": "^2.4.6", "@solid-primitives/rootless": "^1.5.4", "@solid-primitives/static-store": "^0.1.4", "@solid-primitives/utils": "^6.4.1" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-9Fuu/EWBeGj+atGHRJp70HKhdfalmpjwxY8a32NZixdLNmfCJ45AfhLQNr6uOzETbbiMx4iCKlTrJ8KZCHC2Ww=="],
212+
213+ "@solid-primitives/rootless": ["@solid-primitives/rootless@1.5.4", "", { "dependencies": { "@solid-primitives/utils": "^6.4.1" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-TOIZa1VUfVJ+9nkCcRajw3U4t9vBOP1HxX1WHNTbXq32mXwlqTvUnC4CRIilohcryBkT9u2ZkhUDSHRTaGp55g=="],
214+
215+ "@solid-primitives/static-store": ["@solid-primitives/static-store@0.1.4", "", { "dependencies": { "@solid-primitives/utils": "^6.4.1" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-LgtVaVBtB7EbmS4+M0b8xY5Iq6pUWXBsIC4VgtrFKDGDdyCaDt88sHk0fUlx1Enxm/XZnZyLXJABRoa39RjJqA=="],
216+
217+ "@solid-primitives/trigger": ["@solid-primitives/trigger@1.2.4", "", { "dependencies": { "@solid-primitives/utils": "^6.4.1" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-Ju0e+ZOD7hpOp7nptJimvDSZHWFvIvF9iBWMvuwt30smX7c5wmB8Kmc0AdDuv0wOTi06PQ1J5IrP1WJbH2yUBQ=="],
218+
219+ "@solid-primitives/utils": ["@solid-primitives/utils@6.4.1", "", { "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-ISSB5QX1qP2ynrheIpYwc4oKR5Ny4siNuUyf1qZniy+Il+p/PtDB0QK1Dnle8noiHpwRD3gpPdubOC3qI/Zamg=="],
220+
221+ "@solidjs/meta": ["@solidjs/meta@0.29.4", "", { "peerDependencies": { "solid-js": ">=1.8.4" } }, "sha512-zdIWBGpR9zGx1p1bzIPqF5Gs+Ks/BH8R6fWhmUa/dcK1L2rUC8BAcZJzNRYBQv74kScf1TSOs0EY//Vd/I0V8g=="],
222+
223+ "@swc/helpers": ["@swc/helpers@0.5.23", "", { "dependencies": { "tslib": "^2.8.0" } }, "sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw=="],
224+
225+ "@tanstack/history": ["@tanstack/history@1.162.0", "", {}, "sha512-79pf/RkhteYZTRgcR4F9kbk84P2N8rugQJswxfIqovlbRiT3yI7eBE+5QorIrZaOKktsgzRlXh1l/du/xpl4iA=="],
226+
227+ "@tanstack/router-core": ["@tanstack/router-core@1.171.14", "", { "dependencies": { "@tanstack/history": "1.162.0", "cookie-es": "^3.0.0", "seroval": "^1.5.4", "seroval-plugins": "^1.5.4" } }, "sha512-Mo3hwx0qB0cJsVYGDjG0+Ouf7VV74h/vsoDMGztdlyzDanp4gBA2s7IVvm6hFrmQM6GpD9F0Z7SqD7OldfLE7g=="],
228+
229+ "@tanstack/router-devtools-core": ["@tanstack/router-devtools-core@1.168.0", "", { "dependencies": { "clsx": "^2.1.1", "goober": "^2.1.16" }, "peerDependencies": { "@tanstack/router-core": "^1.170.0", "csstype": "^3.0.10" } }, "sha512-wQoQhlBK7nlZgqzaqdYXKWNTpdHdsaREdaPhFZVH0/Ador+F+eM3/NF2i3f2LPeS0GgKraZUQXe1Q/1+KHyEYg=="],
230+
231+ "@tanstack/solid-router": ["@tanstack/solid-router@1.170.17", "", { "dependencies": { "@solid-primitives/refs": "^1.0.8", "@solidjs/meta": "^0.29.4", "@tanstack/history": "1.162.0", "@tanstack/router-core": "1.171.14", "isbot": "^5.1.22" }, "peerDependencies": { "solid-js": "^1.9.10" } }, "sha512-So9Rn/BxuhW5KlgPQxnQAYREhrn+cwDF2aCslzGtPa86t5jNeBGv1rf+qBF7UeWQ0geHmxxwKn4sAL/Nwyxypg=="],
232+
233+ "@tanstack/solid-router-devtools": ["@tanstack/solid-router-devtools@1.167.0", "", { "dependencies": { "@tanstack/router-devtools-core": "1.168.0" }, "peerDependencies": { "@tanstack/router-core": "^1.170.0", "@tanstack/solid-router": "^1.170.0", "solid-js": "^1.9.10" } }, "sha512-vwQz5NUBxbos30ndUj08eeJ17nwWxniUq4oOFL7YOK2Q8PhdiqS65SSuFwzU96Ij3dfLlp+nv3uht6n7X9UOVw=="],
234+
235+ "@types/babel__core": ["@types/babel__core@7.20.5", "", { "dependencies": { "@babel/parser": "^7.20.7", "@babel/types": "^7.20.7", "@types/babel__generator": "*", "@types/babel__template": "*", "@types/babel__traverse": "*" } }, "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA=="],
236+
237+ "@types/babel__generator": ["@types/babel__generator@7.27.0", "", { "dependencies": { "@babel/types": "^7.0.0" } }, "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg=="],
238+
239+ "@types/babel__template": ["@types/babel__template@7.4.4", "", { "dependencies": { "@babel/parser": "^7.1.0", "@babel/types": "^7.0.0" } }, "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A=="],
240+
241+ "@types/babel__traverse": ["@types/babel__traverse@7.28.0", "", { "dependencies": { "@babel/types": "^7.28.2" } }, "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q=="],
242+
243+ "@types/estree": ["@types/estree@1.0.9", "", {}, "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg=="],
244+
245+ "@types/node": ["@types/node@24.13.3", "", { "dependencies": { "undici-types": "~7.18.0" } }, "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q=="],
246+
247+ "@typescript/typescript-aix-ppc64": ["@typescript/typescript-aix-ppc64@7.0.2", "", { "os": "aix", "cpu": "ppc64" }, "sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ=="],
248+
249+ "@typescript/typescript-darwin-arm64": ["@typescript/typescript-darwin-arm64@7.0.2", "", { "os": "darwin", "cpu": "arm64" }, "sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA=="],
250+
251+ "@typescript/typescript-darwin-x64": ["@typescript/typescript-darwin-x64@7.0.2", "", { "os": "darwin", "cpu": "x64" }, "sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA=="],
252+
253+ "@typescript/typescript-freebsd-arm64": ["@typescript/typescript-freebsd-arm64@7.0.2", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ=="],
254+
255+ "@typescript/typescript-freebsd-x64": ["@typescript/typescript-freebsd-x64@7.0.2", "", { "os": "freebsd", "cpu": "x64" }, "sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw=="],
256+
257+ "@typescript/typescript-linux-arm": ["@typescript/typescript-linux-arm@7.0.2", "", { "os": "linux", "cpu": "arm" }, "sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ=="],
258+
259+ "@typescript/typescript-linux-arm64": ["@typescript/typescript-linux-arm64@7.0.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ=="],
260+
261+ "@typescript/typescript-linux-loong64": ["@typescript/typescript-linux-loong64@7.0.2", "", { "os": "linux", "cpu": "none" }, "sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ=="],
262+
263+ "@typescript/typescript-linux-mips64el": ["@typescript/typescript-linux-mips64el@7.0.2", "", { "os": "linux", "cpu": "none" }, "sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA=="],
264+
265+ "@typescript/typescript-linux-ppc64": ["@typescript/typescript-linux-ppc64@7.0.2", "", { "os": "linux", "cpu": "ppc64" }, "sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA=="],
266+
267+ "@typescript/typescript-linux-riscv64": ["@typescript/typescript-linux-riscv64@7.0.2", "", { "os": "linux", "cpu": "none" }, "sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ=="],
268+
269+ "@typescript/typescript-linux-s390x": ["@typescript/typescript-linux-s390x@7.0.2", "", { "os": "linux", "cpu": "s390x" }, "sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw=="],
270+
271+ "@typescript/typescript-linux-x64": ["@typescript/typescript-linux-x64@7.0.2", "", { "os": "linux", "cpu": "x64" }, "sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A=="],
272+
273+ "@typescript/typescript-netbsd-arm64": ["@typescript/typescript-netbsd-arm64@7.0.2", "", { "os": "none", "cpu": "arm64" }, "sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA=="],
274+
275+ "@typescript/typescript-netbsd-x64": ["@typescript/typescript-netbsd-x64@7.0.2", "", { "os": "none", "cpu": "x64" }, "sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA=="],
276+
277+ "@typescript/typescript-openbsd-arm64": ["@typescript/typescript-openbsd-arm64@7.0.2", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ=="],
278+
279+ "@typescript/typescript-openbsd-x64": ["@typescript/typescript-openbsd-x64@7.0.2", "", { "os": "openbsd", "cpu": "x64" }, "sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg=="],
280+
281+ "@typescript/typescript-sunos-x64": ["@typescript/typescript-sunos-x64@7.0.2", "", { "os": "sunos", "cpu": "x64" }, "sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g=="],
282+
283+ "@typescript/typescript-win32-arm64": ["@typescript/typescript-win32-arm64@7.0.2", "", { "os": "win32", "cpu": "arm64" }, "sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ=="],
284+
285+ "@typescript/typescript-win32-x64": ["@typescript/typescript-win32-x64@7.0.2", "", { "os": "win32", "cpu": "x64" }, "sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g=="],
286+
287+ "any-promise": ["any-promise@1.3.0", "", {}, "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A=="],
288+
289+ "anymatch": ["anymatch@3.1.3", "", { "dependencies": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" } }, "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw=="],
290+
291+ "arg": ["arg@5.0.2", "", {}, "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg=="],
292+
293+ "autoprefixer": ["autoprefixer@10.5.2", "", { "dependencies": { "browserslist": "^4.28.4", "caniuse-lite": "^1.0.30001799", "fraction.js": "^5.3.4", "picocolors": "^1.1.1", "postcss-value-parser": "^4.2.0" }, "peerDependencies": { "postcss": "^8.1.0" }, "bin": "bin/autoprefixer" }, "sha512-rD5t5DwOjJdmSORcTq64j8MawTC+tbQ+HHqjR4NDumamy/ambn1UJrlKL+KdwujWxMkFjPM3pPHOEA9tl4767Q=="],
294+
295+ "babel-plugin-jsx-dom-expressions": ["babel-plugin-jsx-dom-expressions@0.40.7", "", { "dependencies": { "@babel/helper-module-imports": "7.18.6", "@babel/plugin-syntax-jsx": "^7.18.6", "@babel/types": "^7.20.7", "html-entities": "2.3.3", "parse5": "^7.1.2" }, "peerDependencies": { "@babel/core": "^7.20.12" } }, "sha512-/O6JWUmjv03OI9lL2ry9bUjpD5S3PclM55RRJEyCdcFZ5W2SEA/59d+l2hNsk3gI6kiWRdRPdOtqZmsQzFN1pQ=="],
296+
297+ "babel-preset-solid": ["babel-preset-solid@1.9.12", "", { "dependencies": { "babel-plugin-jsx-dom-expressions": "^0.40.6" }, "peerDependencies": { "@babel/core": "^7.0.0", "solid-js": "^1.9.12" } }, "sha512-LLqnuKVDlKpyBlMPcH6qEvs/wmS9a+NczppxJ3ryS/c0O5IiSFOIBQi9GzyiGDSbcJpx4Gr87jyFTos1MyEuWg=="],
298+
299+ "baseline-browser-mapping": ["baseline-browser-mapping@2.10.43", "", { "bin": "dist/cli.cjs" }, "sha512-AjYpR78kDWAY3Efj+cDTFH9t9SCoL7OoTp1BOb0mQV7S+6CiLwnWM3FyxhJtdPufDFKzmCSFoUncKjWgJEZTCQ=="],
300+
301+ "binary-extensions": ["binary-extensions@2.3.0", "", {}, "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw=="],
302+
303+ "braces": ["braces@3.0.3", "", { "dependencies": { "fill-range": "^7.1.1" } }, "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA=="],
304+
305+ "browserslist": ["browserslist@4.28.6", "", { "dependencies": { "baseline-browser-mapping": "^2.10.42", "caniuse-lite": "^1.0.30001803", "electron-to-chromium": "^1.5.389", "node-releases": "^2.0.51", "update-browserslist-db": "^1.2.3" }, "bin": "cli.js" }, "sha512-FQBYNK15VMslhLHpA7+n+n1GOlF1kId2xcCg7/j95f24AOF6VDYMNH4mFxF7KuaTdv627faazpOAjFzMrfJOUw=="],
306+
307+ "camelcase-css": ["camelcase-css@2.0.1", "", {}, "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA=="],
308+
309+ "caniuse-lite": ["caniuse-lite@1.0.30001805", "", {}, "sha512-52noaS3DubycKSXaU30TwPGIp+POyQSUVa5jBEq3vkRkY0kjyb3LQgvhU6WGyCcyXqVLWO0Cw0Q6BSdD0kUfVA=="],
310+
311+ "chokidar": ["chokidar@3.6.0", "", { "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", "glob-parent": "~5.1.2", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", "normalize-path": "~3.0.0", "readdirp": "~3.6.0" }, "optionalDependencies": { "fsevents": "~2.3.2" } }, "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw=="],
312+
313+ "class-variance-authority": ["class-variance-authority@0.7.1", "", { "dependencies": { "clsx": "^2.1.1" } }, "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg=="],
314+
315+ "clsx": ["clsx@2.1.1", "", {}, "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA=="],
316+
317+ "commander": ["commander@4.1.1", "", {}, "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA=="],
318+
319+ "convert-source-map": ["convert-source-map@2.0.0", "", {}, "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="],
320+
321+ "cookie-es": ["cookie-es@3.1.1", "", {}, "sha512-UaXxwISYJPTr9hwQxMFYZ7kNhSXboMXP+Z3TRX6f1/NyaGPfuNUZOWP1pUEb75B2HjfklIYLVRfWiFZJyC6Npg=="],
322+
323+ "cssesc": ["cssesc@3.0.0", "", { "bin": "bin/cssesc" }, "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg=="],
324+
325+ "csstype": ["csstype@3.2.3", "", {}, "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ=="],
326+
327+ "debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="],
328+
329+ "didyoumean": ["didyoumean@1.2.2", "", {}, "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw=="],
330+
331+ "dlv": ["dlv@1.1.3", "", {}, "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA=="],
332+
333+ "electron-to-chromium": ["electron-to-chromium@1.5.389", "", {}, "sha512-cEto7aeOqBfU1D+c5py5pE+ooscKE75JifxLBdFUZsqAxRS6y7kebtxAZvICszSl05gPjYHDTjY+lXpyGvpJbg=="],
334+
335+ "entities": ["entities@6.0.1", "", {}, "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g=="],
336+
337+ "es-errors": ["es-errors@1.3.0", "", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="],
338+
339+ "esbuild": ["esbuild@0.25.12", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.25.12", "@esbuild/android-arm": "0.25.12", "@esbuild/android-arm64": "0.25.12", "@esbuild/android-x64": "0.25.12", "@esbuild/darwin-arm64": "0.25.12", "@esbuild/darwin-x64": "0.25.12", "@esbuild/freebsd-arm64": "0.25.12", "@esbuild/freebsd-x64": "0.25.12", "@esbuild/linux-arm": "0.25.12", "@esbuild/linux-arm64": "0.25.12", "@esbuild/linux-ia32": "0.25.12", "@esbuild/linux-loong64": "0.25.12", "@esbuild/linux-mips64el": "0.25.12", "@esbuild/linux-ppc64": "0.25.12", "@esbuild/linux-riscv64": "0.25.12", "@esbuild/linux-s390x": "0.25.12", "@esbuild/linux-x64": "0.25.12", "@esbuild/netbsd-arm64": "0.25.12", "@esbuild/netbsd-x64": "0.25.12", "@esbuild/openbsd-arm64": "0.25.12", "@esbuild/openbsd-x64": "0.25.12", "@esbuild/openharmony-arm64": "0.25.12", "@esbuild/sunos-x64": "0.25.12", "@esbuild/win32-arm64": "0.25.12", "@esbuild/win32-ia32": "0.25.12", "@esbuild/win32-x64": "0.25.12" }, "bin": "bin/esbuild" }, "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg=="],
340+
341+ "escalade": ["escalade@3.2.0", "", {}, "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=="],
342+
343+ "fast-glob": ["fast-glob@3.3.3", "", { "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", "glob-parent": "^5.1.2", "merge2": "^1.3.0", "micromatch": "^4.0.8" } }, "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg=="],
344+
345+ "fastq": ["fastq@1.20.1", "", { "dependencies": { "reusify": "^1.0.4" } }, "sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw=="],
346+
347+ "fdir": ["fdir@6.5.0", "", { "peerDependencies": { "picomatch": "^3 || ^4" } }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="],
348+
349+ "fill-range": ["fill-range@7.1.1", "", { "dependencies": { "to-regex-range": "^5.0.1" } }, "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg=="],
350+
351+ "fraction.js": ["fraction.js@5.3.4", "", {}, "sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ=="],
352+
353+ "fsevents": ["fsevents@2.3.3", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="],
354+
355+ "function-bind": ["function-bind@1.1.2", "", {}, "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="],
356+
357+ "gensync": ["gensync@1.0.0-beta.2", "", {}, "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg=="],
358+
359+ "glob-parent": ["glob-parent@6.0.2", "", { "dependencies": { "is-glob": "^4.0.3" } }, "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A=="],
360+
361+ "goober": ["goober@2.1.19", "", { "peerDependencies": { "csstype": "^3.0.10" } }, "sha512-U7veizMqxyKlM58+Z5j2ngJBH/r9siDmxpvNxSw0PylF6WQvrASJEZrxh1hidRBJc2jqoBVSyOban5u8m+6Rxg=="],
362+
363+ "hasown": ["hasown@2.0.4", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A=="],
364+
365+ "html-entities": ["html-entities@2.3.3", "", {}, "sha512-DV5Ln36z34NNTDgnz0EWGBLZENelNAtkiFA4kyNOG2tDI6Mz1uSWiq1wAKdyjnJwyDiDO7Fa2SO1CTxPXL8VxA=="],
366+
367+ "is-binary-path": ["is-binary-path@2.1.0", "", { "dependencies": { "binary-extensions": "^2.0.0" } }, "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw=="],
368+
369+ "is-core-module": ["is-core-module@2.16.2", "", { "dependencies": { "hasown": "^2.0.3" } }, "sha512-evOr8xfXKxE6qSR0hSXL2r3sd7ALj8+7jQEUvPYcm5sgZFdJ+AYzT6yNmJenvIYQBgIGwfwz08sL8zoL7yq2BA=="],
370+
371+ "is-extglob": ["is-extglob@2.1.1", "", {}, "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ=="],
372+
373+ "is-glob": ["is-glob@4.0.3", "", { "dependencies": { "is-extglob": "^2.1.1" } }, "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg=="],
374+
375+ "is-number": ["is-number@7.0.0", "", {}, "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="],
376+
377+ "is-what": ["is-what@4.1.16", "", {}, "sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A=="],
378+
379+ "isbot": ["isbot@5.2.0", "", {}, "sha512-gbZiGCb4B5xaoxg9mS7koAyRdvJnArk10VLSHOgz6rtBG93/pi1xOFaVvXMKZ7JXgyZ8zAbNRK5uIBdIUTFSqw=="],
380+
381+ "jiti": ["jiti@1.21.7", "", { "bin": "bin/jiti.js" }, "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A=="],
382+
383+ "js-tokens": ["js-tokens@4.0.0", "", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="],
384+
385+ "jsesc": ["jsesc@3.1.0", "", { "bin": "bin/jsesc" }, "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA=="],
386+
387+ "json5": ["json5@2.2.3", "", { "bin": "lib/cli.js" }, "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg=="],
388+
389+ "lilconfig": ["lilconfig@3.1.3", "", {}, "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw=="],
390+
391+ "lines-and-columns": ["lines-and-columns@1.2.4", "", {}, "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="],
392+
393+ "lru-cache": ["lru-cache@5.1.1", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="],
394+
395+ "merge-anything": ["merge-anything@5.1.7", "", { "dependencies": { "is-what": "^4.1.8" } }, "sha512-eRtbOb1N5iyH0tkQDAoQ4Ipsp/5qSR79Dzrz8hEPxRX10RWWR/iQXdoKmBSRCThY1Fh5EhISDtpSc93fpxUniQ=="],
396+
397+ "merge2": ["merge2@1.4.1", "", {}, "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg=="],
398+
399+ "micromatch": ["micromatch@4.0.8", "", { "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" } }, "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA=="],
400+
401+ "ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="],
402+
403+ "mz": ["mz@2.7.0", "", { "dependencies": { "any-promise": "^1.0.0", "object-assign": "^4.0.1", "thenify-all": "^1.0.0" } }, "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q=="],
404+
405+ "nanoid": ["nanoid@3.3.15", "", { "bin": "bin/nanoid.cjs" }, "sha512-y7Wygv/7mEOvxTuEQDB8StXdMRBWf1kR/tlhAzBRUFkB2jfcLOAxO/SHmOO2zgz1pVgK29/kyupn059/bCHdjA=="],
406+
407+ "node-releases": ["node-releases@2.0.51", "", {}, "sha512-wRNIrw4DmVLKQlbgOMdkMx27Wrpzes2hh5Jtbi2bjPd+4wJstWIqP5A+lscnqbm0xxmT5Bpg8Lec5ItEBwx6BQ=="],
408+
409+ "normalize-path": ["normalize-path@3.0.0", "", {}, "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="],
410+
411+ "object-assign": ["object-assign@4.1.1", "", {}, "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="],
412+
413+ "object-hash": ["object-hash@3.0.0", "", {}, "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw=="],
414+
415+ "parse5": ["parse5@7.3.0", "", { "dependencies": { "entities": "^6.0.0" } }, "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw=="],
416+
417+ "path-parse": ["path-parse@1.0.7", "", {}, "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="],
418+
419+ "picocolors": ["picocolors@1.1.1", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="],
420+
421+ "picomatch": ["picomatch@4.0.5", "", {}, "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A=="],
422+
423+ "pify": ["pify@2.3.0", "", {}, "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog=="],
424+
425+ "pirates": ["pirates@4.0.7", "", {}, "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA=="],
426+
427+ "postcss": ["postcss@8.5.17", "", { "dependencies": { "nanoid": "^3.3.12", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-J7EF+8X+CzRPaJPOv9Ck2wNWJvGnnl3PcNPAdGg6GTLjyVpyQ0yATMSXRFRV01BviT/9Gwuc3rjEyJbDJG9a4w=="],
428+
429+ "postcss-import": ["postcss-import@15.1.0", "", { "dependencies": { "postcss-value-parser": "^4.0.0", "read-cache": "^1.0.0", "resolve": "^1.1.7" }, "peerDependencies": { "postcss": "^8.0.0" } }, "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew=="],
430+
431+ "postcss-js": ["postcss-js@4.1.0", "", { "dependencies": { "camelcase-css": "^2.0.1" }, "peerDependencies": { "postcss": "^8.4.21" } }, "sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw=="],
432+
433+ "postcss-load-config": ["postcss-load-config@6.0.1", "", { "dependencies": { "lilconfig": "^3.1.1" }, "peerDependencies": { "jiti": ">=1.21.0", "postcss": ">=8.0.9", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["tsx", "yaml"] }, "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g=="],
434+
435+ "postcss-nested": ["postcss-nested@6.2.0", "", { "dependencies": { "postcss-selector-parser": "^6.1.1" }, "peerDependencies": { "postcss": "^8.2.14" } }, "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ=="],
436+
437+ "postcss-selector-parser": ["postcss-selector-parser@6.1.4", "", { "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" } }, "sha512-bIoJLOmjCO1S9XdY/DcnR5hJxvrDir1PbGChrzXG3vw0/FOliy/fA3dmdhQ441kah4gKv+TwckGzex6wNS5cnQ=="],
438+
439+ "postcss-value-parser": ["postcss-value-parser@4.2.0", "", {}, "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ=="],
440+
441+ "queue-microtask": ["queue-microtask@1.2.3", "", {}, "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A=="],
442+
443+ "read-cache": ["read-cache@1.0.0", "", { "dependencies": { "pify": "^2.3.0" } }, "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA=="],
444+
445+ "readdirp": ["readdirp@3.6.0", "", { "dependencies": { "picomatch": "^2.2.1" } }, "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA=="],
446+
447+ "resolve": ["resolve@1.22.12", "", { "dependencies": { "es-errors": "^1.3.0", "is-core-module": "^2.16.1", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, "bin": "bin/resolve" }, "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA=="],
448+
449+ "reusify": ["reusify@1.1.0", "", {}, "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw=="],
450+
451+ "rollup": ["rollup@4.62.2", "", { "dependencies": { "@types/estree": "1.0.9" }, "optionalDependencies": { "@rollup/rollup-android-arm-eabi": "4.62.2", "@rollup/rollup-android-arm64": "4.62.2", "@rollup/rollup-darwin-arm64": "4.62.2", "@rollup/rollup-darwin-x64": "4.62.2", "@rollup/rollup-freebsd-arm64": "4.62.2", "@rollup/rollup-freebsd-x64": "4.62.2", "@rollup/rollup-linux-arm-gnueabihf": "4.62.2", "@rollup/rollup-linux-arm-musleabihf": "4.62.2", "@rollup/rollup-linux-arm64-gnu": "4.62.2", "@rollup/rollup-linux-arm64-musl": "4.62.2", "@rollup/rollup-linux-loong64-gnu": "4.62.2", "@rollup/rollup-linux-loong64-musl": "4.62.2", "@rollup/rollup-linux-ppc64-gnu": "4.62.2", "@rollup/rollup-linux-ppc64-musl": "4.62.2", "@rollup/rollup-linux-riscv64-gnu": "4.62.2", "@rollup/rollup-linux-riscv64-musl": "4.62.2", "@rollup/rollup-linux-s390x-gnu": "4.62.2", "@rollup/rollup-linux-x64-gnu": "4.62.2", "@rollup/rollup-linux-x64-musl": "4.62.2", "@rollup/rollup-openbsd-x64": "4.62.2", "@rollup/rollup-openharmony-arm64": "4.62.2", "@rollup/rollup-win32-arm64-msvc": "4.62.2", "@rollup/rollup-win32-ia32-msvc": "4.62.2", "@rollup/rollup-win32-x64-gnu": "4.62.2", "@rollup/rollup-win32-x64-msvc": "4.62.2", "fsevents": "~2.3.2" }, "bin": "dist/bin/rollup" }, "sha512-RFnrW4lhXA3s3eqHDZvN654g8OTjzRfqpIRJYczCGB6HzphckVAi/Qh4tbPUbRuDi7s1Llv8g/NspLkttY3gTA=="],
452+
453+ "run-parallel": ["run-parallel@1.2.0", "", { "dependencies": { "queue-microtask": "^1.2.2" } }, "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA=="],
454+
455+ "semver": ["semver@6.3.1", "", { "bin": "bin/semver.js" }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="],
456+
457+ "seroval": ["seroval@1.5.5", "", {}, "sha512-bSjOuPcwPKLSJNhr9+bZxA20nQxVle5J5MNsYRVE6cIg7KpRLXGupymePavu0jrxlPiPsr4xGZSB8yUY2sH2sw=="],
458+
459+ "seroval-plugins": ["seroval-plugins@1.5.5", "", { "peerDependencies": { "seroval": "^1.0" } }, "sha512-+BDhqYM6CEn3x09v44dpa9p6974FuUB2dxk+Ctn04k0cO1Zt6QODTXfmEZK0eBaTe/fJBvP4NMGuNJ+R8T+QMg=="],
460+
461+ "solid-js": ["solid-js@1.9.14", "", { "dependencies": { "csstype": "^3.1.0", "seroval": "~1.5.4", "seroval-plugins": "~1.5.4" } }, "sha512-sAEXC0Kk0S1EDg+8ysEWJDbYhA3RRoEjwuySUGlKIemeo0I5YZfOyumNjNs9Sv3y2nmhD+0rW66ag2HsMuQiGQ=="],
462+
463+ "solid-presence": ["solid-presence@0.1.8", "", { "dependencies": { "@corvu/utils": "~0.4.0" }, "peerDependencies": { "solid-js": "^1.8" } }, "sha512-pWGtXUFWYYUZNbg5YpG5vkQJyOtzn2KXhxYaMx/4I+lylTLYkITOLevaCwMRN+liCVk0pqB6EayLWojNqBFECA=="],
464+
465+ "solid-prevent-scroll": ["solid-prevent-scroll@0.1.10", "", { "dependencies": { "@corvu/utils": "~0.4.1" }, "peerDependencies": { "solid-js": "^1.8" } }, "sha512-KplGPX2GHiWJLZ6AXYRql4M127PdYzfwvLJJXMkO+CMb8Np4VxqDAg5S8jLdwlEuBis/ia9DKw2M8dFx5u8Mhw=="],
466+
467+ "solid-refresh": ["solid-refresh@0.6.3", "", { "dependencies": { "@babel/generator": "^7.23.6", "@babel/helper-module-imports": "^7.22.15", "@babel/types": "^7.23.6" }, "peerDependencies": { "solid-js": "^1.3" } }, "sha512-F3aPsX6hVw9ttm5LYlth8Q15x6MlI/J3Dn+o3EQyRTtTxidepSTwAYdozt01/YA+7ObcciagGEyXIopGZzQtbA=="],
468+
469+ "source-map-js": ["source-map-js@1.2.1", "", {}, "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="],
470+
471+ "sucrase": ["sucrase@3.35.1", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.2", "commander": "^4.0.0", "lines-and-columns": "^1.1.6", "mz": "^2.7.0", "pirates": "^4.0.1", "tinyglobby": "^0.2.11", "ts-interface-checker": "^0.1.9" }, "bin": { "sucrase": "bin/sucrase", "sucrase-node": "bin/sucrase-node" } }, "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw=="],
472+
473+ "supports-preserve-symlinks-flag": ["supports-preserve-symlinks-flag@1.0.0", "", {}, "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w=="],
474+
475+ "tailwind-merge": ["tailwind-merge@3.6.0", "", {}, "sha512-uxL7qAVQriqRQPAyK3pj66VqskWqoZ37PW94jwOTwNfq/z9oyu1V+eqrZqtR2+fCiXdYOZe/Modt8GtvqNzu+w=="],
476+
477+ "tailwindcss": ["tailwindcss@3.4.19", "", { "dependencies": { "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", "chokidar": "^3.6.0", "didyoumean": "^1.2.2", "dlv": "^1.1.3", "fast-glob": "^3.3.2", "glob-parent": "^6.0.2", "is-glob": "^4.0.3", "jiti": "^1.21.7", "lilconfig": "^3.1.3", "micromatch": "^4.0.8", "normalize-path": "^3.0.0", "object-hash": "^3.0.0", "picocolors": "^1.1.1", "postcss": "^8.4.47", "postcss-import": "^15.1.0", "postcss-js": "^4.0.1", "postcss-load-config": "^4.0.2 || ^5.0 || ^6.0", "postcss-nested": "^6.2.0", "postcss-selector-parser": "^6.1.2", "resolve": "^1.22.8", "sucrase": "^3.35.0" }, "bin": { "tailwind": "lib/cli.js", "tailwindcss": "lib/cli.js" } }, "sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ=="],
478+
479+ "tailwindcss-animate": ["tailwindcss-animate@1.0.7", "", { "peerDependencies": { "tailwindcss": ">=3.0.0 || insiders" } }, "sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA=="],
480+
481+ "thenify": ["thenify@3.3.1", "", { "dependencies": { "any-promise": "^1.0.0" } }, "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw=="],
482+
483+ "thenify-all": ["thenify-all@1.6.0", "", { "dependencies": { "thenify": ">= 3.1.0 < 4" } }, "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA=="],
484+
485+ "tinyglobby": ["tinyglobby@0.2.17", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g=="],
486+
487+ "to-regex-range": ["to-regex-range@5.0.1", "", { "dependencies": { "is-number": "^7.0.0" } }, "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ=="],
488+
489+ "ts-interface-checker": ["ts-interface-checker@0.1.13", "", {}, "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA=="],
490+
491+ "tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="],
492+
493+ "typescript": ["typescript@7.0.2", "", { "optionalDependencies": { "@typescript/typescript-aix-ppc64": "7.0.2", "@typescript/typescript-darwin-arm64": "7.0.2", "@typescript/typescript-darwin-x64": "7.0.2", "@typescript/typescript-freebsd-arm64": "7.0.2", "@typescript/typescript-freebsd-x64": "7.0.2", "@typescript/typescript-linux-arm": "7.0.2", "@typescript/typescript-linux-arm64": "7.0.2", "@typescript/typescript-linux-loong64": "7.0.2", "@typescript/typescript-linux-mips64el": "7.0.2", "@typescript/typescript-linux-ppc64": "7.0.2", "@typescript/typescript-linux-riscv64": "7.0.2", "@typescript/typescript-linux-s390x": "7.0.2", "@typescript/typescript-linux-x64": "7.0.2", "@typescript/typescript-netbsd-arm64": "7.0.2", "@typescript/typescript-netbsd-x64": "7.0.2", "@typescript/typescript-openbsd-arm64": "7.0.2", "@typescript/typescript-openbsd-x64": "7.0.2", "@typescript/typescript-sunos-x64": "7.0.2", "@typescript/typescript-win32-arm64": "7.0.2", "@typescript/typescript-win32-x64": "7.0.2" }, "bin": { "tsc": "bin/tsc" } }, "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA=="],
494+
495+ "undici-types": ["undici-types@7.18.2", "", {}, "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w=="],
496+
497+ "update-browserslist-db": ["update-browserslist-db@1.2.3", "", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": "cli.js" }, "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w=="],
498+
499+ "util-deprecate": ["util-deprecate@1.0.2", "", {}, "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="],
500+
501+ "vite": ["vite@6.4.3", "", { "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.4.4", "picomatch": "^4.0.2", "postcss": "^8.5.3", "rollup": "^4.34.9", "tinyglobby": "^0.2.13" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", "jiti": ">=1.21.0", "less": "*", "lightningcss": "^1.21.0", "sass": "*", "sass-embedded": "*", "stylus": "*", "sugarss": "*", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["less", "lightningcss", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": "bin/vite.js" }, "sha512-NTKlcQjlAK7MlQoyb6LgaqHc8sso/pVyUJYWMws3jg21uTJw/LddqIFPcPqP6PzpgbIcZyKI85sFE4HBrQDA8A=="],
502+
503+ "vite-plugin-solid": ["vite-plugin-solid@2.11.12", "", { "dependencies": { "@babel/core": "^7.23.3", "@types/babel__core": "^7.20.4", "babel-preset-solid": "^1.8.4", "merge-anything": "^5.1.7", "solid-refresh": "^0.6.3", "vitefu": "^1.0.4" }, "peerDependencies": { "@testing-library/jest-dom": "^5.16.6 || ^5.17.0 || ^6.*", "solid-js": "^1.7.2", "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" }, "optionalPeers": ["@testing-library/jest-dom"] }, "sha512-FgjPcx2OwX9h6f28jli7A4bG7PP3te8uyakE5iqsmpq3Jqi1TWLgSroC9N6cMfGRU2zXsl4Q6ISvTr2VL0QHpA=="],
504+
505+ "vitefu": ["vitefu@1.1.3", "", { "peerDependencies": { "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" } }, "sha512-ub4okH7Z5KLjb6hDyjqrGXqWtWvoYdU3IGm/NorpgHncKoLTCfRIbvlhBm7r0YstIaQRYlp4yEbFqDcKSzXSSg=="],
506+
507+ "yallist": ["yallist@3.1.1", "", {}, "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="],
508+
509+ "anymatch/picomatch": ["picomatch@2.3.2", "", {}, "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA=="],
510+
511+ "babel-plugin-jsx-dom-expressions/@babel/helper-module-imports": ["@babel/helper-module-imports@7.18.6", "", { "dependencies": { "@babel/types": "^7.18.6" } }, "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA=="],
512+
513+ "chokidar/glob-parent": ["glob-parent@5.1.2", "", { "dependencies": { "is-glob": "^4.0.1" } }, "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="],
514+
515+ "fast-glob/glob-parent": ["glob-parent@5.1.2", "", { "dependencies": { "is-glob": "^4.0.1" } }, "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="],
516+
517+ "micromatch/picomatch": ["picomatch@2.3.2", "", {}, "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA=="],
518+
519+ "readdirp/picomatch": ["picomatch@2.3.2", "", {}, "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA=="],
520+
521+ "tinyglobby/fdir": ["fdir@6.5.0", "", { "peerDependencies": { "picomatch": "^3 || ^4" } }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="],
522+
523+ "tinyglobby/picomatch": ["picomatch@4.0.5", "", {}, "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A=="],
524+ }
525+}
package.jsonmodified+1 -1
@@ -24,7 +24,7 @@
24 "postcss": "^8.5.6",24 "postcss": "^8.5.6",
25 "tailwindcss": "^3.4.17",25 "tailwindcss": "^3.4.17",
26 "tailwindcss-animate": "^1.0.7",26 "tailwindcss-animate": "^1.0.7",
27- "typescript": "~5.8.3",27+ "typescript": "^7.0.2",
28 "vite": "^6.3.5",28 "vite": "^6.3.5",
29 "vite-plugin-solid": "^2.11.12"29 "vite-plugin-solid": "^2.11.12"
30 }30 }
src/components/exams/exam-card.tsxmodified+3 -2
@@ -1,6 +1,7 @@
1 import { Link } from "@tanstack/solid-router";1 import { Link } from "@tanstack/solid-router";
2 import type { Exam } from "@/api/types";2 import type { Exam } from "@/api/types";
3 import { Badge } from "@/components/ui/badge";3 import { Badge } from "@/components/ui/badge";
4+import { examKindLabel } from "@/lib/exam-labels";
4 import { examDurationMs, formatDateTime, formatDurationMinutes } from "@/lib/format";5 import { examDurationMs, formatDateTime, formatDurationMinutes } from "@/lib/format";
5 import { usePreferences, useT } from "@/stores/preferences-context";6 import { usePreferences, useT } from "@/stores/preferences-context";
6 7
@@ -21,7 +22,7 @@ export function ExamCard(props: { exam: Exam }) {
21 {props.exam.title}22 {props.exam.title}
22 </h3>23 </h3>
23 <Badge variant="outline" class="rounded-sm capitalize">24 <Badge variant="outline" class="rounded-sm capitalize">
24- {props.exam.kind}25+ {examKindLabel(String(props.exam.kind), t)}
25 </Badge>26 </Badge>
26 </div>27 </div>
27 <div class="p-5">28 <div class="p-5">
@@ -40,7 +41,7 @@ export function ExamCard(props: { exam: Exam }) {
40 {(props.exam.mode === "sync" || props.exam.mode === "async") && (41 {(props.exam.mode === "sync" || props.exam.mode === "async") && (
41 <div class="flex justify-between gap-3">42 <div class="flex justify-between gap-3">
42 <dt>{t("exams.durationMinutes")}</dt>43 <dt>{t("exams.durationMinutes")}</dt>
43- <dd>{formatDurationMinutes(examDurationMs(props.exam.duration_ms, props.exam.starts_at, props.exam.ends_at))}</dd>44+ <dd>{formatDurationMinutes(examDurationMs(props.exam.duration_ms, props.exam.starts_at, props.exam.ends_at), locale())}</dd>
44 </div>45 </div>
45 )}46 )}
46 </dl>47 </dl>
src/components/exams/exam-form.tsxmodified+59 -103
@@ -1,4 +1,4 @@
1-import { createEffect, createSignal, Show } from "solid-js";1+import { createSignal, Show } from "solid-js";
2 import { formatApiError } from "@/api/client";2 import { formatApiError } from "@/api/client";
3 import { For } from "solid-js";3 import { For } from "solid-js";
4 import type { Exam } from "@/api/types";4 import type { Exam } from "@/api/types";
@@ -10,24 +10,28 @@ import { Input } from "@/components/ui/input";
10 import { Label } from "@/components/ui/label";10 import { Label } from "@/components/ui/label";
11 import { Select } from "@/components/ui/select";11 import { Select } from "@/components/ui/select";
12 import { Textarea } from "@/components/ui/textarea";12 import { Textarea } from "@/components/ui/textarea";
13-import { localPartsToMs, msToLocalDate, msToLocalHour, msToLocalMinute } from "@/lib/format";13+import { examKindLabel } from "@/lib/exam-labels";
14+import { dateTimeTextToMs, msToDateTimeText } from "@/lib/format";
14 import { useT } from "@/stores/preferences-context";15 import { useT } from "@/stores/preferences-context";
15 16
16-const HOURS = Array.from({ length: 24 }, (_, i) => String(i).padStart(2, "0"));17+const UI_EXAM_KINDS = EXAM_KINDS.filter((kind) => kind !== "homework");
17-const MINUTES = Array.from({ length: 60 }, (_, i) => String(i).padStart(2, "0"));
18-const MONTHS = Array.from({ length: 12 }, (_, i) => String(i + 1).padStart(2, "0"));
19-const DAYS = Array.from({ length: 31 }, (_, i) => String(i + 1).padStart(2, "0"));
20-const YEARS = Array.from({ length: 51 }, (_, i) => String(new Date().getFullYear() - 10 + i));
21 18
22-function datePart(date: string, index: number): string {19+function datePart(value: string): string {
23- return date.split("-")[index] ?? "";20+ return value.split(" ")[0] ?? "";
24 }21 }
25 22
26-function withDatePart(date: string, index: number, value: string): string {23+function timePart(value: string): string {
27- const parts = date.split("-");24+ return value.split(" ")[1] ?? "";
28- const normalized = [parts[0] ?? "", parts[1] ?? "", parts[2] ?? ""];25+}
29- normalized[index] = value;26+
30- return normalized.every(Boolean) ? normalized.join("-") : normalized.filter(Boolean).join("-");27+function withDate(value: string, date: string): string {
28+ const time = timePart(value);
29+ return time ? `${date} ${time}` : date;
30+}
31+
32+function withTime(value: string, time: string): string {
33+ const date = datePart(value);
34+ return date ? `${date} ${time}` : time;
31 }35 }
32 36
33 export type ExamFormValues = {37 export type ExamFormValues = {
@@ -50,33 +54,17 @@ export function ExamForm(props: {
50 const t = useT();54 const t = useT();
51 const [title, setTitle] = createSignal(props.initial?.title ?? "");55 const [title, setTitle] = createSignal(props.initial?.title ?? "");
52 const [description, setDescription] = createSignal(props.initial?.description ?? "");56 const [description, setDescription] = createSignal(props.initial?.description ?? "");
53- const [kind, setKind] = createSignal(String(props.initial?.kind ?? "homework"));57+ const [kind, setKind] = createSignal(String(props.initial?.kind && props.initial.kind !== "homework" ? props.initial.kind : "quiz"));
54 const [weight, setWeight] = createSignal(String(props.initial?.weight ?? 1));58 const [weight, setWeight] = createSignal(String(props.initial?.weight ?? 1));
55 const [mode, setMode] = createSignal(String(props.initial?.mode ?? ""));59 const [mode, setMode] = createSignal(String(props.initial?.mode ?? ""));
56- const [startsDate, setStartsDate] = createSignal(msToLocalDate(props.initial?.starts_at));60+ const [startsText, setStartsText] = createSignal(msToDateTimeText(props.initial?.starts_at));
57- const [startsHour, setStartsHour] = createSignal(msToLocalHour(props.initial?.starts_at));61+ const [endsText, setEndsText] = createSignal(msToDateTimeText(props.initial?.ends_at));
58- const [startsMinute, setStartsMinute] = createSignal(msToLocalMinute(props.initial?.starts_at));
59- const [endsDate, setEndsDate] = createSignal(msToLocalDate(props.initial?.ends_at));
60- const [endsHour, setEndsHour] = createSignal(msToLocalHour(props.initial?.ends_at));
61- const [endsMinute, setEndsMinute] = createSignal(msToLocalMinute(props.initial?.ends_at));
62- const [durationMinutes, setDurationMinutes] = createSignal(
63- props.initial?.duration_ms ? String(Math.round(props.initial.duration_ms / 60_000)) : "",
64- );
65- const [durationTouched, setDurationTouched] = createSignal(false);
66 const [error, setError] = createSignal("");62 const [error, setError] = createSignal("");
67 const [pending, setPending] = createSignal(false);63 const [pending, setPending] = createSignal(false);
68 const [confirmOpen, setConfirmOpen] = createSignal(false);64 const [confirmOpen, setConfirmOpen] = createSignal(false);
69 const [pendingValues, setPendingValues] = createSignal<ExamFormValues | null>(null);65 const [pendingValues, setPendingValues] = createSignal<ExamFormValues | null>(null);
70 const isEdit = () => !!props.initial?.id;66 const isEdit = () => !!props.initial?.id;
71 67
72- createEffect(() => {
73- if (mode() !== "async" || durationTouched()) return;
74- const starts = localPartsToMs(startsDate(), startsHour(), startsMinute());
75- const ends = localPartsToMs(endsDate(), endsHour(), endsMinute());
76- if (starts == null || ends == null || ends <= starts) return;
77- setDurationMinutes(String(Math.min(1440, Math.max(1, Math.round((ends - starts) / 60_000)))));
78- });
79-
80 const validate = (starts: number | null, ends: number | null, durationMs: number | null): string | null => {68 const validate = (starts: number | null, ends: number | null, durationMs: number | null): string | null => {
81 const value = title().trim();69 const value = title().trim();
82 if (!value) return t("form.titleRequired");70 if (!value) return t("form.titleRequired");
@@ -105,17 +93,11 @@ export function ExamForm(props: {
105 if (!isEdit()) {93 if (!isEdit()) {
106 setTitle("");94 setTitle("");
107 setDescription("");95 setDescription("");
108- setKind("homework");96+ setKind("quiz");
109 setWeight("1");97 setWeight("1");
110 setMode("");98 setMode("");
111- setStartsDate("");99+ setStartsText("");
112- setStartsHour("");100+ setEndsText("");
113- setStartsMinute("");
114- setEndsDate("");
115- setEndsHour("");
116- setEndsMinute("");
117- setDurationMinutes("");
118- setDurationTouched(false);
119 }101 }
120 } catch (err) {102 } catch (err) {
121 setError(formatApiError(err));103 setError(formatApiError(err));
@@ -126,9 +108,9 @@ export function ExamForm(props: {
126 108
127 const handleSubmit = async (e: SubmitEvent) => {109 const handleSubmit = async (e: SubmitEvent) => {
128 e.preventDefault();110 e.preventDefault();
129- const starts_at = mode() ? localPartsToMs(startsDate(), startsHour(), startsMinute()) : null;111+ const starts_at = mode() ? dateTimeTextToMs(startsText()) : null;
130- const ends_at = mode() ? localPartsToMs(endsDate(), endsHour(), endsMinute()) : null;112+ const ends_at = mode() ? dateTimeTextToMs(endsText()) : null;
131- const duration_ms = mode() === "async" && durationMinutes() ? Number(durationMinutes()) * 60_000 : null;113+ const duration_ms = mode() === "async" && starts_at != null && ends_at != null ? ends_at - starts_at : null;
132 const v = validate(starts_at, ends_at, duration_ms);114 const v = validate(starts_at, ends_at, duration_ms);
133 if (v) {115 if (v) {
134 setError(v);116 setError(v);
@@ -185,7 +167,7 @@ export function ExamForm(props: {
185 value={kind()}167 value={kind()}
186 onChange={(e) => setKind(e.currentTarget.value)}168 onChange={(e) => setKind(e.currentTarget.value)}
187 >169 >
188- <For each={EXAM_KINDS}>{(k) => <option value={k}>{k}</option>}</For>170+ <For each={UI_EXAM_KINDS}>{(k) => <option value={k}>{examKindLabel(k, t)}</option>}</For>
189 </Select>171 </Select>
190 </div>172 </div>
191 <div class="grid gap-3 sm:grid-cols-2">173 <div class="grid gap-3 sm:grid-cols-2">
@@ -221,72 +203,46 @@ export function ExamForm(props: {
221 <div class="grid gap-3 sm:grid-cols-2">203 <div class="grid gap-3 sm:grid-cols-2">
222 <div class="space-y-1.5">204 <div class="space-y-1.5">
223 <Label for="exam-starts">{t("events.starts")}</Label>205 <Label for="exam-starts">{t("events.starts")}</Label>
224- <div class="grid grid-cols-[1fr_4.5rem_4.5rem_4.5rem_4.5rem] gap-2">206+ <div class="grid grid-cols-[minmax(0,1fr)_7rem] gap-2">
225- <Select id="exam-starts" value={datePart(startsDate(), 0)} required onChange={(e) => setStartsDate(withDatePart(startsDate(), 0, e.currentTarget.value))}>207+ <Input
226- <option value="">{t("form.year")}</option>208+ id="exam-starts"
227- <For each={YEARS}>{(y) => <option value={y}>{y}</option>}</For>209+ class="rounded-sm"
228- </Select>210+ type="date"
229- <Select value={datePart(startsDate(), 1)} required onChange={(e) => setStartsDate(withDatePart(startsDate(), 1, e.currentTarget.value))}>211+ value={datePart(startsText())}
230- <option value="">{t("form.month")}</option>212+ required
231- <For each={MONTHS}>{(m) => <option value={m}>{m}</option>}</For>213+ onInput={(e) => setStartsText(withDate(startsText(), e.currentTarget.value))}
232- </Select>214+ />
233- <Select value={datePart(startsDate(), 2)} required onChange={(e) => setStartsDate(withDatePart(startsDate(), 2, e.currentTarget.value))}>215+ <Input
234- <option value="">{t("form.day")}</option>216+ class="rounded-sm font-mono"
235- <For each={DAYS}>{(d) => <option value={d}>{d}</option>}</For>217+ value={timePart(startsText())}
236- </Select>218+ placeholder="14:30"
237- <Select value={startsHour()} required onChange={(e) => setStartsHour(e.currentTarget.value)}>219+ required
238- <option value="">HH</option>220+ pattern="[0-2][0-9]:[0-5][0-9]"
239- <For each={HOURS}>{(h) => <option value={h}>{h}</option>}</For>221+ onInput={(e) => setStartsText(withTime(startsText(), e.currentTarget.value))}
240- </Select>222+ />
241- <Select value={startsMinute()} required onChange={(e) => setStartsMinute(e.currentTarget.value)}>
242- <option value="">MM</option>
243- <For each={MINUTES}>{(m) => <option value={m}>{m}</option>}</For>
244- </Select>
245 </div>223 </div>
246 </div>224 </div>
247 <div class="space-y-1.5">225 <div class="space-y-1.5">
248 <Label for="exam-ends">{t("events.ends")}</Label>226 <Label for="exam-ends">{t("events.ends")}</Label>
249- <div class="grid grid-cols-[1fr_4.5rem_4.5rem_4.5rem_4.5rem] gap-2">227+ <div class="grid grid-cols-[minmax(0,1fr)_7rem] gap-2">
250- <Select id="exam-ends" value={datePart(endsDate(), 0)} required onChange={(e) => setEndsDate(withDatePart(endsDate(), 0, e.currentTarget.value))}>
251- <option value="">{t("form.year")}</option>
252- <For each={YEARS}>{(y) => <option value={y}>{y}</option>}</For>
253- </Select>
254- <Select value={datePart(endsDate(), 1)} required onChange={(e) => setEndsDate(withDatePart(endsDate(), 1, e.currentTarget.value))}>
255- <option value="">{t("form.month")}</option>
256- <For each={MONTHS}>{(m) => <option value={m}>{m}</option>}</For>
257- </Select>
258- <Select value={datePart(endsDate(), 2)} required onChange={(e) => setEndsDate(withDatePart(endsDate(), 2, e.currentTarget.value))}>
259- <option value="">{t("form.day")}</option>
260- <For each={DAYS}>{(d) => <option value={d}>{d}</option>}</For>
261- </Select>
262- <Select value={endsHour()} required onChange={(e) => setEndsHour(e.currentTarget.value)}>
263- <option value="">HH</option>
264- <For each={HOURS}>{(h) => <option value={h}>{h}</option>}</For>
265- </Select>
266- <Select value={endsMinute()} required onChange={(e) => setEndsMinute(e.currentTarget.value)}>
267- <option value="">MM</option>
268- <For each={MINUTES}>{(m) => <option value={m}>{m}</option>}</For>
269- </Select>
270- </div>
271- </div>
272- <Show when={mode() === "async"}>
273- <div class="space-y-1.5">
274- <Label for="exam-duration">{t("exams.durationMinutes")}</Label>
275 <Input228 <Input
276- id="exam-duration"229+ id="exam-ends"
277 class="rounded-sm"230 class="rounded-sm"
278- type="number"231+ type="date"
279- min={1}232+ value={datePart(endsText())}
280- max={1440}
281- value={durationMinutes()}
282 required233 required
283- onInput={(e) => {234+ onInput={(e) => setEndsText(withDate(endsText(), e.currentTarget.value))}
284- setDurationTouched(true);235+ />
285- setDurationMinutes(e.currentTarget.value);236+ <Input
286- }}237+ class="rounded-sm font-mono"
238+ value={timePart(endsText())}
239+ placeholder="15:30"
240+ required
241+ pattern="[0-2][0-9]:[0-5][0-9]"
242+ onInput={(e) => setEndsText(withTime(endsText(), e.currentTarget.value))}
287 />243 />
288 </div>244 </div>
289- </Show>245+ </div>
290 </div>246 </div>
291 </Show>247 </Show>
292 {error() && <p class="text-sm text-destructive">{error()}</p>}248 {error() && <p class="text-sm text-destructive">{error()}</p>}
src/components/exams/exam-questions-panel.tsxmodified+126 -34
@@ -9,7 +9,7 @@ import { QUESTION_KINDS } from "@/api/types";
9 import { Badge } from "@/components/ui/badge";9 import { Badge } from "@/components/ui/badge";
10 import { Button } from "@/components/ui/button";10 import { Button } from "@/components/ui/button";
11 import { ConfirmDialog } from "@/components/ui/confirm-dialog";11 import { ConfirmDialog } from "@/components/ui/confirm-dialog";
12-import { IconPlus, IconTrash } from "@/components/ui/icons";12+import { IconCheck, IconPlus, IconTrash } from "@/components/ui/icons";
13 import { Input } from "@/components/ui/input";13 import { Input } from "@/components/ui/input";
14 import { Label } from "@/components/ui/label";14 import { Label } from "@/components/ui/label";
15 import { PageSpinner } from "@/components/ui/page-spinner";15 import { PageSpinner } from "@/components/ui/page-spinner";
@@ -169,11 +169,12 @@ function QuestionForm(props: {
169 onCancel: () => void;169 onCancel: () => void;
170 }) {170 }) {
171 const t = useT();171 const t = useT();
172+ let textAreaRef: HTMLTextAreaElement | undefined;
172 const [text, setText] = createSignal(props.initial?.text ?? "");173 const [text, setText] = createSignal(props.initial?.text ?? "");
173 const [kind, setKind] = createSignal<QuestionKind>(props.initial?.kind ?? "choice");174 const [kind, setKind] = createSignal<QuestionKind>(props.initial?.kind ?? "choice");
174 const [points, setPoints] = createSignal(String(props.initial?.points ?? 1));175 const [points, setPoints] = createSignal(String(props.initial?.points ?? 1));
175- const [choicesText, setChoicesText] = createSignal((props.initial?.choices ?? ["", ""]).join("\n"));176+ const [choices, setChoices] = createSignal<string[]>(props.initial?.choices ?? ["", "", "", ""]);
176- const [correct, setCorrect] = createSignal(props.initial?.correct != null ? String(props.initial.correct) : "0");177+ const [correct, setCorrect] = createSignal(props.initial?.correct ?? 0);
177 const [error, setError] = createSignal("");178 const [error, setError] = createSignal("");
178 const [pending, setPending] = createSignal(false);179 const [pending, setPending] = createSignal(false);
179 180
@@ -182,11 +183,35 @@ function QuestionForm(props: {
182 setText(initial?.text ?? "");183 setText(initial?.text ?? "");
183 setKind(initial?.kind ?? "choice");184 setKind(initial?.kind ?? "choice");
184 setPoints(String(initial?.points ?? 1));185 setPoints(String(initial?.points ?? 1));
185- setChoicesText((initial?.choices ?? ["", ""]).join("\n"));186+ setChoices(initial?.choices ?? ["", "", "", ""]);
186- setCorrect(initial?.correct != null ? String(initial.correct) : "0");187+ setCorrect(initial?.correct ?? 0);
187 setError("");188 setError("");
188 });189 });
189 190
191+ const resizeTextArea = () => {
192+ if (!textAreaRef) return;
193+ textAreaRef.style.height = "auto";
194+ textAreaRef.style.height = `${textAreaRef.scrollHeight}px`;
195+ };
196+
197+ createEffect(() => {
198+ text();
199+ resizeTextArea();
200+ });
201+
202+ const setChoice = (index: number, value: string) => {
203+ setChoices((current) => current.map((choice, i) => (i === index ? value : choice)));
204+ };
205+
206+ const addChoice = () => {
207+ setChoices((current) => (current.length >= 10 ? current : [...current, ""]));
208+ };
209+
210+ const removeChoice = (index: number) => {
211+ setChoices((current) => current.filter((_, i) => i !== index));
212+ setCorrect((current) => Math.max(0, Math.min(current, choices().length - 2)));
213+ };
214+
190 const validate = (): QuestionValues | string => {215 const validate = (): QuestionValues | string => {
191 const body = text().trim();216 const body = text().trim();
192 if (!body) return t("questions.textRequired");217 if (!body) return t("questions.textRequired");
@@ -196,13 +221,13 @@ function QuestionForm(props: {
196 if (kind() === "text") {221 if (kind() === "text") {
197 return { text: body, kind: "text", points: p, choices: null, correct: null };222 return { text: body, kind: "text", points: p, choices: null, correct: null };
198 }223 }
199- const choices = choicesText().split("\n").map((choice) => choice.trim()).filter(Boolean);224+ const cleanChoices = choices().map((choice) => choice.trim()).filter(Boolean);
200- if (choices.length < 2 || choices.length > 10 || choices.some((choice) => choice.length > 500)) {225+ if (cleanChoices.length < 2 || cleanChoices.length > 10 || cleanChoices.some((choice) => choice.length > 500)) {
201 return t("questions.choicesRange");226 return t("questions.choicesRange");
202 }227 }
203- const c = Number(correct());228+ const c = correct();
204- if (!Number.isInteger(c) || c < 0 || c >= choices.length) return t("questions.correctRange");229+ if (!Number.isInteger(c) || c < 0 || c >= cleanChoices.length) return t("questions.correctRange");
205- return { text: body, kind: "choice", points: p, choices, correct: c };230+ return { text: body, kind: "choice", points: p, choices: cleanChoices, correct: c };
206 };231 };
207 232
208 const submit = async (e: SubmitEvent) => {233 const submit = async (e: SubmitEvent) => {
@@ -224,36 +249,103 @@ function QuestionForm(props: {
224 };249 };
225 250
226 return (251 return (
227- <form class="space-y-3 rounded-md border p-4" onSubmit={(e) => void submit(e)}>252+ <form class="mx-auto max-w-5xl space-y-3 rounded-md border bg-muted/20 p-3" onSubmit={(e) => void submit(e)}>
228- <div class="space-y-1.5">253+ <div class="grid gap-3 lg:grid-cols-[minmax(0,1fr)_13rem] lg:items-stretch">
229- <Label for="question-text">{t("questions.text")}</Label>
230- <Textarea id="question-text" value={text()} maxlength={2000} rows={4} required onInput={(e) => setText(e.currentTarget.value)} />
231- </div>
232- <div class="grid gap-3 sm:grid-cols-3">
233 <div class="space-y-1.5">254 <div class="space-y-1.5">
234- <Label for="question-kind">{t("questions.kind")}</Label>255+ <Label for="question-text" class="text-sm font-semibold">{t("questions.text")}</Label>
235- <Select id="question-kind" value={kind()} onChange={(e) => setKind(e.currentTarget.value as QuestionKind)}>256+ <Textarea
236- <For each={QUESTION_KINDS}>257+ id="question-text"
237- {(k) => <option value={k}>{k === "choice" ? t("questions.kind.choice") : t("questions.kind.text")}</option>}258+ ref={textAreaRef}
238- </For>259+ class="min-h-[10rem] resize-none overflow-hidden bg-background text-base"
239- </Select>260+ value={text()}
261+ maxlength={2000}
262+ rows={5}
263+ required
264+ placeholder={t("questions.text")}
265+ onInput={(e) => {
266+ setText(e.currentTarget.value);
267+ resizeTextArea();
268+ }}
269+ />
240 </div>270 </div>
241 <div class="space-y-1.5">271 <div class="space-y-1.5">
242- <Label for="question-points">{t("questions.points")}</Label>272+ <Label for="question-kind" class="text-sm font-semibold">{t("questions.kind")}</Label>
243- <Input id="question-points" type="number" min={1} max={100} value={points()} required onInput={(e) => setPoints(e.currentTarget.value)} />273+ <div class="flex h-[10rem] min-h-[10rem] flex-col justify-between rounded-md border bg-background p-3">
244- </div>274+ <div class="space-y-1.5">
245- <Show when={kind() === "choice"}>275+ <Select id="question-kind" value={kind()} onChange={(e) => setKind(e.currentTarget.value as QuestionKind)}>
246- <div class="space-y-1.5">276+ <For each={QUESTION_KINDS}>
247- <Label for="question-correct">{t("questions.correct")}</Label>277+ {(k) => <option value={k}>{k === "choice" ? t("questions.kind.choice") : t("questions.kind.text")}</option>}
248- <Input id="question-correct" type="number" min={0} value={correct()} required onInput={(e) => setCorrect(e.currentTarget.value)} />278+ </For>
249- <p class="text-xs text-muted-foreground">{t("questions.correctHint")}</p>279+ </Select>
280+ </div>
281+ <div class="space-y-1.5">
282+ <Label for="question-points">{t("questions.points")}</Label>
283+ <Input
284+ id="question-points"
285+ type="number"
286+ min={1}
287+ max={100}
288+ value={points()}
289+ required
290+ onInput={(e) => setPoints(e.currentTarget.value)}
291+ />
292+ </div>
250 </div>293 </div>
251- </Show>294+ </div>
252 </div>295 </div>
253 <Show when={kind() === "choice"}>296 <Show when={kind() === "choice"}>
254- <div class="space-y-1.5">297+ <div class="space-y-2">
255- <Label for="question-choices">{t("questions.choices")}</Label>298+ <div class="flex items-center justify-between gap-2">
256- <Textarea id="question-choices" value={choicesText()} rows={5} onInput={(e) => setChoicesText(e.currentTarget.value)} />299+ <div>
300+ <Label class="text-sm font-semibold">{t("questions.choices")}</Label>
301+ <p class="text-xs text-muted-foreground">{t("questions.correctAnswer")}: {String.fromCharCode(65 + correct())}</p>
302+ </div>
303+ <Button type="button" variant="outline" size="sm" disabled={choices().length >= 10} onClick={addChoice}>
304+ <IconPlus class="h-4 w-4" />
305+ {t("questions.addChoice")}
306+ </Button>
307+ </div>
308+ <div class="grid gap-3 xl:grid-cols-2">
309+ <For each={choices()}>
310+ {(choice, index) => (
311+ <div class="min-h-28 rounded-md border bg-background p-3">
312+ <div class="mb-2 flex items-center justify-between gap-2">
313+ <button
314+ type="button"
315+ class={
316+ correct() === index()
317+ ? "inline-flex h-8 items-center gap-2 rounded-sm bg-primary px-2 text-xs font-medium text-primary-foreground"
318+ : "inline-flex h-8 items-center gap-2 rounded-sm border px-2 text-xs font-medium text-muted-foreground hover:bg-accent"
319+ }
320+ onClick={() => setCorrect(index())}
321+ >
322+ <span class="inline-flex h-5 w-5 items-center justify-center rounded-[3px] border bg-background text-foreground">
323+ {String.fromCharCode(65 + index())}
324+ </span>
325+ {correct() === index() ? <IconCheck class="h-3.5 w-3.5" /> : t("questions.correct")}
326+ </button>
327+ <Button
328+ type="button"
329+ variant="ghost"
330+ size="sm"
331+ disabled={choices().length <= 2}
332+ class="h-8 px-2 text-destructive"
333+ onClick={() => removeChoice(index())}
334+ >
335+ <IconTrash class="h-3.5 w-3.5" />
336+ </Button>
337+ </div>
338+ <Input
339+ class="h-10"
340+ value={choice}
341+ maxlength={500}
342+ placeholder={t("questions.choicePlaceholder", { index: String.fromCharCode(65 + index()) })}
343+ onInput={(e) => setChoice(index(), e.currentTarget.value)}
344+ />
345+ </div>
346+ )}
347+ </For>
348+ </div>
257 <p class="text-xs text-muted-foreground">{t("questions.choicesHint")}</p>349 <p class="text-xs text-muted-foreground">{t("questions.choicesHint")}</p>
258 </div>350 </div>
259 </Show>351 </Show>
src/components/exams/grade-form.tsxmodified+15 -4
@@ -1,10 +1,11 @@
1-import { createSignal } from "solid-js";1+import { For, Show, createSignal } from "solid-js";
2 import { formatApiError } from "@/api/client";2 import { formatApiError } from "@/api/client";
3 import { Button } from "@/components/ui/button";3 import { Button } from "@/components/ui/button";
4 import { ConfirmDialog } from "@/components/ui/confirm-dialog";4 import { ConfirmDialog } from "@/components/ui/confirm-dialog";
5 import { IconCheck } from "@/components/ui/icons";5 import { IconCheck } from "@/components/ui/icons";
6 import { Input } from "@/components/ui/input";6 import { Input } from "@/components/ui/input";
7 import { Label } from "@/components/ui/label";7 import { Label } from "@/components/ui/label";
8+import { Select } from "@/components/ui/select";
8 import { useT } from "@/stores/preferences-context";9 import { useT } from "@/stores/preferences-context";
9 10
10 export type GradeFormValues = {11 export type GradeFormValues = {
@@ -13,6 +14,7 @@ export type GradeFormValues = {
13 };14 };
14 15
15 export function GradeForm(props: {16 export function GradeForm(props: {
17+ students: { id: string; label: string }[];
16 onSubmit: (values: GradeFormValues) => Promise<void>;18 onSubmit: (values: GradeFormValues) => Promise<void>;
17 }) {19 }) {
18 const t = useT();20 const t = useT();
@@ -46,13 +48,19 @@ export function GradeForm(props: {
46 <div class="grid gap-3 sm:grid-cols-2">48 <div class="grid gap-3 sm:grid-cols-2">
47 <div class="space-y-1.5">49 <div class="space-y-1.5">
48 <Label for="grade-user">{t("form.studentId")}</Label>50 <Label for="grade-user">{t("form.studentId")}</Label>
49- <Input51+ <Select
50 id="grade-user"52 id="grade-user"
51 class="rounded-sm"53 class="rounded-sm"
52 value={userId()}54 value={userId()}
53 required55 required
54- onInput={(e) => setUserId(e.currentTarget.value)}56+ disabled={props.students.length === 0}
55- />57+ onChange={(e) => setUserId(e.currentTarget.value)}
58+ >
59+ <option value="">{props.students.length === 0 ? t("form.noStudents") : t("form.selectStudent")}</option>
60+ <For each={props.students}>
61+ {(student) => <option value={student.id}>{student.label}</option>}
62+ </For>
63+ </Select>
56 </div>64 </div>
57 <div class="space-y-1.5">65 <div class="space-y-1.5">
58 <Label for="grade-mark">{t("form.mark")}</Label>66 <Label for="grade-mark">{t("form.mark")}</Label>
@@ -73,6 +81,9 @@ export function GradeForm(props: {
73 <IconCheck />81 <IconCheck />
74 {t("exams.gradeStudent")}82 {t("exams.gradeStudent")}
75 </Button>83 </Button>
84+ <Show when={props.students.length === 0}>
85+ <p class="text-sm text-muted-foreground">{t("form.noStudents")}</p>
86+ </Show>
76 {error() && <p class="text-sm text-destructive">{error()}</p>}87 {error() && <p class="text-sm text-destructive">{error()}</p>}
77 </form>88 </form>
78 89
src/components/exams/student-exam-room.tsxmodified+97 -61
@@ -9,7 +9,6 @@ import type { AttemptQuestion, Exam, ExamAttempt } from "@/api/types";
9 import { Badge } from "@/components/ui/badge";9 import { Badge } from "@/components/ui/badge";
10 import { Button } from "@/components/ui/button";10 import { Button } from "@/components/ui/button";
11 import { ConfirmDialog } from "@/components/ui/confirm-dialog";11 import { ConfirmDialog } from "@/components/ui/confirm-dialog";
12-import { Input } from "@/components/ui/input";
13 import { PageSpinner } from "@/components/ui/page-spinner";12 import { PageSpinner } from "@/components/ui/page-spinner";
14 import { Textarea } from "@/components/ui/textarea";13 import { Textarea } from "@/components/ui/textarea";
15 import { formatDateTime } from "@/lib/format";14 import { formatDateTime } from "@/lib/format";
@@ -113,28 +112,30 @@ export function StudentExamRoom(props: { exam: Exam; compact?: boolean }) {
113 112
114 return (113 return (
115 <section class={props.compact ? "space-y-5" : "surface-card space-y-4 p-5"}>114 <section class={props.compact ? "space-y-5" : "surface-card space-y-4 p-5"}>
116- <div class="surface-card flex flex-wrap items-center justify-between gap-3 p-5">115+ <Show when={!roomOpen()}>
117- <div>116+ <div class="surface-card flex flex-wrap items-center justify-between gap-3 p-5">
118- <h2 class="font-display text-lg font-semibold">{t("attempt.title")}</h2>117+ <div>
119- <p class="mt-1 text-sm text-muted-foreground">118+ <h2 class="font-display text-lg font-semibold">{t("attempt.title")}</h2>
120- {props.exam.mode === "sync" ? t("exams.mode.sync") : props.exam.mode === "async" ? t("exams.mode.async") : t("attempt.unscheduled")}119+ <p class="mt-1 text-sm text-muted-foreground">
121- </p>120+ {props.exam.mode === "sync" ? t("exams.mode.sync") : props.exam.mode === "async" ? t("exams.mode.async") : t("attempt.unscheduled")}
122- </div>121+ </p>
123- <Show when={scheduled()} fallback={<Badge variant="outline">{t("attempt.unscheduled")}</Badge>}>122+ </div>
124- <Show123+ <Show when={scheduled()} fallback={<Badge variant="outline">{t("attempt.unscheduled")}</Badge>}>
125- when={attempt()}124+ <Show
126- fallback={125+ when={attempt()}
127- <Button type="button" disabled={pending()} onClick={() => void start()}>126+ fallback={
128- {t("attempt.start")}127+ <Button type="button" disabled={pending()} onClick={() => void start()}>
128+ {t("attempt.start")}
129+ </Button>
130+ }
131+ >
132+ <Button type="button" variant="outline" disabled={pending()} onClick={() => setRoomOpen(true)}>
133+ {t("attempt.resume")}
129 </Button>134 </Button>
130- }135+ </Show>
131- >
132- <Button type="button" variant="outline" disabled={pending()} onClick={() => setRoomOpen(true)}>
133- {t("attempt.resume")}
134- </Button>
135 </Show>136 </Show>
136- </Show>137+ </div>
137- </div>138+ </Show>
138 139
139 {error() && <p class="rounded-sm bg-destructive/10 px-3 py-2 text-sm text-destructive">{error()}</p>}140 {error() && <p class="rounded-sm bg-destructive/10 px-3 py-2 text-sm text-destructive">{error()}</p>}
140 141
@@ -149,23 +150,41 @@ export function StudentExamRoom(props: { exam: Exam; compact?: boolean }) {
149 <Show when={!canWrite()}>150 <Show when={!canWrite()}>
150 <p class="rounded-sm bg-muted/40 px-3 py-3 text-sm text-muted-foreground">{t("attempt.closed")}</p>151 <p class="rounded-sm bg-muted/40 px-3 py-3 text-sm text-muted-foreground">{t("attempt.closed")}</p>
151 </Show>152 </Show>
152- <div class="grid gap-4 lg:grid-cols-2">153+ <div class="grid items-start gap-4 lg:grid-cols-[minmax(0,1fr)_12rem] xl:grid-cols-[minmax(0,1fr)_13rem] 2xl:grid-cols-[minmax(0,1fr)_14rem]">
153- <For each={questions() ?? []}>154+ <div class="grid auto-rows-fr items-stretch gap-4 2xl:grid-cols-2">
154- {(question, index) => (155+ <For each={questions() ?? []}>
155- <QuestionAnswerCard156+ {(question, index) => (
156- index={index() + 1}157+ <QuestionAnswerCard
157- question={question}158+ index={index() + 1}
158- disabled={!canWrite() || pending()}159+ nextQuestionId={(questions() ?? [])[index() + 1]?.id}
159- onSave={(value) => saveAnswer(question, value)}160+ question={question}
160- />161+ disabled={!canWrite() || pending()}
161- )}162+ onSave={(value) => saveAnswer(question, value)}
162- </For>163+ />
164+ )}
165+ </For>
166+ </div>
167+ <aside class="surface-card sticky top-4 space-y-3 p-4">
168+ <h3 class="font-display text-sm font-semibold">{t("questions.title")}</h3>
169+ <div class="grid grid-cols-4 gap-2">
170+ <For each={questions() ?? []}>
171+ {(question, index) => (
172+ <a
173+ href={`#question-${question.id}`}
174+ class="inline-flex h-9 items-center justify-center rounded-sm border bg-background text-sm font-medium hover:bg-accent"
175+ >
176+ {index() + 1}
177+ </a>
178+ )}
179+ </For>
180+ </div>
181+ <Show when={canWrite()}>
182+ <Button type="button" variant="destructive" class="w-full" disabled={pending()} onClick={() => setFinishOpen(true)}>
183+ {t("attempt.finish")}
184+ </Button>
185+ </Show>
186+ </aside>
163 </div>187 </div>
164- <Show when={canWrite()}>
165- <Button type="button" variant="destructive" disabled={pending()} onClick={() => setFinishOpen(true)}>
166- {t("attempt.finish")}
167- </Button>
168- </Show>
169 </Show>188 </Show>
170 </Suspense>189 </Suspense>
171 190
@@ -190,29 +209,29 @@ function AttemptSummary(props: { attempt: ExamAttempt; remainingMs: number }) {
190 return props.attempt.status;209 return props.attempt.status;
191 };210 };
192 return (211 return (
193- <div class="grid gap-3 text-sm sm:grid-cols-2 xl:grid-cols-6">212+ <div class="grid auto-rows-fr gap-3 text-sm sm:grid-cols-2 xl:grid-cols-5">
194- <div class="rounded-md border bg-background/60 p-3">213+ <div class="h-full rounded-md border bg-background/60 p-3">
195 <p class="text-xs text-muted-foreground">{t("attempt.status")}</p>214 <p class="text-xs text-muted-foreground">{t("attempt.status")}</p>
196 <p class="mt-1 font-medium">{statusLabel()}</p>215 <p class="mt-1 font-medium">{statusLabel()}</p>
197 </div>216 </div>
198- <div class="rounded-md border bg-background/60 p-3">217+ <div class="h-full rounded-md border bg-background/60 p-3">
199 <p class="text-xs text-muted-foreground">{t("attempt.remaining")}</p>218 <p class="text-xs text-muted-foreground">{t("attempt.remaining")}</p>
200 <p class="mt-1 font-mono font-medium">{formatRemaining(props.remainingMs)}</p>219 <p class="mt-1 font-mono font-medium">{formatRemaining(props.remainingMs)}</p>
201 </div>220 </div>
202- <div class="rounded-md border bg-background/60 p-3">221+ <div class="h-full rounded-md border bg-background/60 p-3">
203 <p class="text-xs text-muted-foreground">{t("attempt.progress")}</p>222 <p class="text-xs text-muted-foreground">{t("attempt.progress")}</p>
204 <p class="mt-1 font-medium">{props.attempt.answered} / {props.attempt.question_count}</p>223 <p class="mt-1 font-medium">{props.attempt.answered} / {props.attempt.question_count}</p>
205 </div>224 </div>
206- <div class="rounded-md border bg-background/60 p-3">225+ <div class="h-full rounded-md border bg-background/60 p-3">
207 <p class="text-xs text-muted-foreground">{t("attempt.deadline")}</p>226 <p class="text-xs text-muted-foreground">{t("attempt.deadline")}</p>
208 <p class="mt-1 font-medium">{formatDateTime(props.attempt.deadline, locale())}</p>227 <p class="mt-1 font-medium">{formatDateTime(props.attempt.deadline, locale())}</p>
209 </div>228 </div>
210- <div class="rounded-md border bg-background/60 p-3">229+ <div class="h-full rounded-md border bg-background/60 p-3">
211 <p class="text-xs text-muted-foreground">{t("attempt.serverNow")}</p>230 <p class="text-xs text-muted-foreground">{t("attempt.serverNow")}</p>
212 <p class="mt-1 font-medium">{formatDateTime(props.attempt.now, locale())}</p>231 <p class="mt-1 font-medium">{formatDateTime(props.attempt.now, locale())}</p>
213 </div>232 </div>
214 <Show when={props.attempt.mark != null}>233 <Show when={props.attempt.mark != null}>
215- <div class="rounded-md border bg-background/60 p-3">234+ <div class="h-full rounded-md border bg-background/60 p-3">
216 <p class="text-xs text-muted-foreground">{t("attempt.mark")}</p>235 <p class="text-xs text-muted-foreground">{t("attempt.mark")}</p>
217 <p class="mt-1 font-medium">{props.attempt.mark}</p>236 <p class="mt-1 font-medium">{props.attempt.mark}</p>
218 </div>237 </div>
@@ -223,6 +242,7 @@ function AttemptSummary(props: { attempt: ExamAttempt; remainingMs: number }) {
223 242
224 function QuestionAnswerCard(props: {243 function QuestionAnswerCard(props: {
225 index: number;244 index: number;
245+ nextQuestionId?: string;
226 question: AttemptQuestion;246 question: AttemptQuestion;
227 disabled: boolean;247 disabled: boolean;
228 onSave: (value: string) => Promise<void>;248 onSave: (value: string) => Promise<void>;
@@ -252,10 +272,13 @@ function QuestionAnswerCard(props: {
252 const save = async () => {272 const save = async () => {
253 await props.onSave(value());273 await props.onSave(value());
254 setSaved(true);274 setSaved(true);
275+ if (props.nextQuestionId) {
276+ document.getElementById(`question-${props.nextQuestionId}`)?.scrollIntoView({ behavior: "smooth", block: "start" });
277+ }
255 };278 };
256 279
257 return (280 return (
258- <article class="rounded-md border p-4">281+ <article id={`question-${props.question.id}`} class="surface-card min-h-[18rem] scroll-mt-24 p-5">
259 <div class="mb-3 flex flex-wrap items-center gap-2">282 <div class="mb-3 flex flex-wrap items-center gap-2">
260 <span class="text-xs font-semibold text-muted-foreground">#{props.index}</span>283 <span class="text-xs font-semibold text-muted-foreground">#{props.index}</span>
261 <Badge variant="outline">{props.question.points} {t("questions.points")}</Badge>284 <Badge variant="outline">{props.question.points} {t("questions.points")}</Badge>
@@ -285,26 +308,39 @@ function QuestionAnswerCard(props: {
285 <div class="space-y-2">308 <div class="space-y-2">
286 <For each={props.question.choices ?? []}>309 <For each={props.question.choices ?? []}>
287 {(choice, choiceIndex) => (310 {(choice, choiceIndex) => (
288- <label class="flex items-center gap-2 rounded-sm border px-3 py-2 text-sm">311+ <button
289- <Input312+ type="button"
290- class="h-4 w-4 shadow-none"313+ class="flex w-full items-center gap-3 rounded-sm border px-3 py-2 text-left text-sm transition-colors hover:bg-accent disabled:cursor-not-allowed disabled:opacity-60"
291- type="radio"314+ disabled={props.disabled}
292- name={props.question.id}315+ onClick={() => {
293- value={choiceIndex()}316+ setSaved(false);
294- checked={value() === String(choiceIndex())}317+ setValue(String(choiceIndex()));
295- disabled={props.disabled}318+ }}
296- onChange={(e) => {319+ >
297- setSaved(false);320+ <span
298- setValue(e.currentTarget.value);321+ class={
299- }}322+ value() === String(choiceIndex())
300- />323+ ? "flex h-4 w-4 shrink-0 items-center justify-center rounded-[3px] border border-primary bg-primary"
301- {choice}324+ : "h-4 w-4 shrink-0 rounded-[3px] border border-input bg-background"
302- </label>325+ }
326+ >
327+ <span
328+ class={value() === String(choiceIndex()) ? "h-2 w-2 rounded-[1px] bg-primary-foreground" : "hidden"}
329+ />
330+ </span>
331+ <span>{choice}</span>
332+ </button>
303 )}333 )}
304 </For>334 </For>
305 </div>335 </div>
306 </Show>336 </Show>
307- <Button type="button" size="sm" class="mt-3" disabled={props.disabled} onClick={() => void save()}>337+ <Button
338+ type="button"
339+ size="sm"
340+ class="mt-3"
341+ disabled={props.disabled || (props.question.kind === "choice" && value() === "")}
342+ onClick={() => void save()}
343+ >
308 {t("attempt.saveAnswer")}344 {t("attempt.saveAnswer")}
309 </Button>345 </Button>
310 </article>346 </article>
src/components/layout/app-shell.tsxmodified+4 -1
@@ -1,4 +1,5 @@
1 import type { ParentProps } from "solid-js";1 import type { ParentProps } from "solid-js";
2+import { useLocation } from "@tanstack/solid-router";
2 import { Show } from "solid-js";3 import { Show } from "solid-js";
3 import { NavBar } from "@/components/layout/nav-bar";4 import { NavBar } from "@/components/layout/nav-bar";
4 import { SideNav } from "@/components/layout/side-nav";5 import { SideNav } from "@/components/layout/side-nav";
@@ -16,6 +17,8 @@ export function AppShell(props: ParentProps) {
16 const prefs = usePreferences();17 const prefs = usePreferences();
17 const t = useT();18 const t = useT();
18 const collapsed = () => prefs.sidebarCollapsed();19 const collapsed = () => prefs.sidebarCollapsed();
20+ const location = useLocation();
21+ const wide = () => location().pathname.startsWith("/exam-room/");
19 22
20 return (23 return (
21 <div class="min-h-screen">24 <div class="min-h-screen">
@@ -74,7 +77,7 @@ export function AppShell(props: ParentProps) {
74 </Show>77 </Show>
75 78
76 <main class="min-w-0 flex-1">79 <main class="min-w-0 flex-1">
77- <div class="mx-auto w-full max-w-[1200px] px-4 py-6 sm:px-6 lg:px-8 lg:py-8">80+ <div class={cn("mx-auto w-full px-4 py-6 sm:px-6 lg:px-8 lg:py-8", wide() ? "max-w-none" : "max-w-[1200px]") }>
78 {props.children}81 {props.children}
79 </div>82 </div>
80 </main>83 </main>
src/i18n/messages.tsmodified+33 -0
@@ -143,6 +143,12 @@ export type MessageKey =
143 | "exams.create"143 | "exams.create"
144 | "exams.empty"144 | "exams.empty"
145 | "exams.kind"145 | "exams.kind"
146+ | "exams.kind.homework"
147+ | "exams.kind.quiz"
148+ | "exams.kind.midterm"
149+ | "exams.kind.final"
150+ | "exams.kind.project"
151+ | "exams.kind.oral"
146 | "exams.yourResult"152 | "exams.yourResult"
147 | "exams.notGraded"153 | "exams.notGraded"
148 | "exams.gradeStudent"154 | "exams.gradeStudent"
@@ -168,6 +174,9 @@ export type MessageKey =
168 | "questions.points"174 | "questions.points"
169 | "questions.choices"175 | "questions.choices"
170 | "questions.choicesHint"176 | "questions.choicesHint"
177+ | "questions.addChoice"
178+ | "questions.choicePlaceholder"
179+ | "questions.correctAnswer"
171 | "questions.correct"180 | "questions.correct"
172 | "questions.correctHint"181 | "questions.correctHint"
173 | "questions.kind.choice"182 | "questions.kind.choice"
@@ -234,6 +243,8 @@ export type MessageKey =
234 | "form.day"243 | "form.day"
235 | "form.mark"244 | "form.mark"
236 | "form.studentId"245 | "form.studentId"
246+ | "form.selectStudent"
247+ | "form.noStudents"
237 | "form.titleRequired"248 | "form.titleRequired"
238 | "form.titleMax"249 | "form.titleMax"
239 | "form.contentMax"250 | "form.contentMax"
@@ -430,6 +441,12 @@ const en: Dict = {
430 "exams.create": "Create exam",441 "exams.create": "Create exam",
431 "exams.empty": "No exams published yet.",442 "exams.empty": "No exams published yet.",
432 "exams.kind": "Kind",443 "exams.kind": "Kind",
444+ "exams.kind.homework": "Homework",
445+ "exams.kind.quiz": "Quiz",
446+ "exams.kind.midterm": "Midterm",
447+ "exams.kind.final": "Final",
448+ "exams.kind.project": "Project",
449+ "exams.kind.oral": "Oral",
433 "exams.yourResult": "Your result",450 "exams.yourResult": "Your result",
434 "exams.notGraded": "Not graded yet",451 "exams.notGraded": "Not graded yet",
435 "exams.gradeStudent": "Grade a student",452 "exams.gradeStudent": "Grade a student",
@@ -455,6 +472,9 @@ const en: Dict = {
455 "questions.points": "Points",472 "questions.points": "Points",
456 "questions.choices": "Choices",473 "questions.choices": "Choices",
457 "questions.choicesHint": "One choice per line, 2–10 choices.",474 "questions.choicesHint": "One choice per line, 2–10 choices.",
475+ "questions.addChoice": "Add choice",
476+ "questions.choicePlaceholder": "Choice {index}",
477+ "questions.correctAnswer": "Correct answer",
458 "questions.correct": "Correct choice index",478 "questions.correct": "Correct choice index",
459 "questions.correctHint": "Zero-based: first choice is 0.",479 "questions.correctHint": "Zero-based: first choice is 0.",
460 "questions.kind.choice": "Choice",480 "questions.kind.choice": "Choice",
@@ -532,6 +552,8 @@ const en: Dict = {
532 "form.day": "Day",552 "form.day": "Day",
533 "form.mark": "Mark",553 "form.mark": "Mark",
534 "form.studentId": "Student user id",554 "form.studentId": "Student user id",
555+ "form.selectStudent": "Select student",
556+ "form.noStudents": "No available students",
535 "form.titleRequired": "Title is required",557 "form.titleRequired": "Title is required",
536 "form.titleMax": "Title must be at most 200 characters",558 "form.titleMax": "Title must be at most 200 characters",
537 "form.contentMax": "Content must be at most 10 000 characters",559 "form.contentMax": "Content must be at most 10 000 characters",
@@ -727,6 +749,12 @@ const tr: Dict = {
727 "exams.create": "Sınav oluştur",749 "exams.create": "Sınav oluştur",
728 "exams.empty": "Henüz yayınlanmış sınav yok.",750 "exams.empty": "Henüz yayınlanmış sınav yok.",
729 "exams.kind": "Tür",751 "exams.kind": "Tür",
752+ "exams.kind.homework": "Ödev",
753+ "exams.kind.quiz": "Kısa sınav",
754+ "exams.kind.midterm": "Vize",
755+ "exams.kind.final": "Final",
756+ "exams.kind.project": "Proje",
757+ "exams.kind.oral": "Sözlü",
730 "exams.yourResult": "Sonucun",758 "exams.yourResult": "Sonucun",
731 "exams.notGraded": "Henüz notlanmadı",759 "exams.notGraded": "Henüz notlanmadı",
732 "exams.gradeStudent": "Öğrenci notla",760 "exams.gradeStudent": "Öğrenci notla",
@@ -752,6 +780,9 @@ const tr: Dict = {
752 "questions.points": "Puan",780 "questions.points": "Puan",
753 "questions.choices": "Seçenekler",781 "questions.choices": "Seçenekler",
754 "questions.choicesHint": "Her satıra bir seçenek, 2–10 seçenek.",782 "questions.choicesHint": "Her satıra bir seçenek, 2–10 seçenek.",
783+ "questions.addChoice": "Seçenek ekle",
784+ "questions.choicePlaceholder": "Seçenek {index}",
785+ "questions.correctAnswer": "Doğru cevap",
755 "questions.correct": "Doğru seçenek indeksi",786 "questions.correct": "Doğru seçenek indeksi",
756 "questions.correctHint": "Sıfırdan başlar: ilk seçenek 0.",787 "questions.correctHint": "Sıfırdan başlar: ilk seçenek 0.",
757 "questions.kind.choice": "Seçmeli",788 "questions.kind.choice": "Seçmeli",
@@ -829,6 +860,8 @@ const tr: Dict = {
829 "form.day": "Gün",860 "form.day": "Gün",
830 "form.mark": "Not",861 "form.mark": "Not",
831 "form.studentId": "Öğrenci kullanıcı id",862 "form.studentId": "Öğrenci kullanıcı id",
863+ "form.selectStudent": "Öğrenci seç",
864+ "form.noStudents": "Uygun öğrenci yok",
832 "form.titleRequired": "Başlık gerekli",865 "form.titleRequired": "Başlık gerekli",
833 "form.titleMax": "Başlık en fazla 200 karakter olmalı",866 "form.titleMax": "Başlık en fazla 200 karakter olmalı",
834 "form.contentMax": "İçerik en fazla 10 000 karakter olmalı",867 "form.contentMax": "İçerik en fazla 10 000 karakter olmalı",
src/lib/exam-labels.tsadded+17 -0
@@ -0,0 +1,17 @@
1+import type { ExamKind } from "@/api/types";
2+import type { MessageKey } from "@/i18n/messages";
3+
4+type T = (key: MessageKey, vars?: Record<string, string | number>) => string;
5+
6+const EXAM_KIND_LABELS: Record<ExamKind, MessageKey> = {
7+ homework: "exams.kind.homework",
8+ quiz: "exams.kind.quiz",
9+ midterm: "exams.kind.midterm",
10+ final: "exams.kind.final",
11+ project: "exams.kind.project",
12+ oral: "exams.kind.oral",
13+};
14+
15+export function examKindLabel(kind: string, t: T): string {
16+ return kind in EXAM_KIND_LABELS ? t(EXAM_KIND_LABELS[kind as ExamKind]) : kind;
17+}
src/lib/format.tsmodified+29 -2
@@ -23,6 +23,10 @@ export function msToLocalInput(ms: number | null | undefined): string {
23 return `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}T${pad(d.getHours())}:${pad(d.getMinutes())}`;23 return `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}T${pad(d.getHours())}:${pad(d.getMinutes())}`;
24 }24 }
25 25
26+export function msToDateTimeText(ms: number | null | undefined): string {
27+ return msToLocalInput(ms).replace("T", " ");
28+}
29+
26 export function msToLocalDate(ms: number | null | undefined): string {30 export function msToLocalDate(ms: number | null | undefined): string {
27 return msToLocalInput(ms).slice(0, 10);31 return msToLocalInput(ms).slice(0, 10);
28 }32 }
@@ -54,9 +58,32 @@ export function localPartsToMs(date: string, hour: string, minute: string): numb
54 return d.getTime();58 return d.getTime();
55 }59 }
56 60
57-export function formatDurationMinutes(ms: number | null | undefined): string {61+export function dateTimeTextToMs(value: string): number | null {
62+ const match = value.trim().match(/^(\d{4})-(\d{2})-(\d{2})\s+(\d{2}):(\d{2})$/);
63+ if (!match) return null;
64+ const [, yearRaw, monthRaw, dayRaw, hourRaw, minuteRaw] = match;
65+ const year = Number(yearRaw);
66+ const month = Number(monthRaw);
67+ const day = Number(dayRaw);
68+ const hour = Number(hourRaw);
69+ const minute = Number(minuteRaw);
70+ if (![year, month, day, hour, minute].every(Number.isInteger)) return null;
71+ const d = new Date(year, month - 1, day, hour, minute, 0, 0);
72+ if (
73+ d.getFullYear() !== year ||
74+ d.getMonth() !== month - 1 ||
75+ d.getDate() !== day ||
76+ d.getHours() !== hour ||
77+ d.getMinutes() !== minute
78+ ) {
79+ return null;
80+ }
81+ return d.getTime();
82+}
83+
84+export function formatDurationMinutes(ms: number | null | undefined, locale: Locale = "en"): string {
58 if (ms == null) return "—";85 if (ms == null) return "—";
59- return `${Math.round(ms / 60_000)} min`;86+ return locale === "tr" ? `${Math.round(ms / 60_000)} dk` : `${Math.round(ms / 60_000)} min`;
60 }87 }
61 88
62 export function examDurationMs(durationMs: number | null | undefined, startsAt: number | null, endsAt: number | null): number | null {89 export function examDurationMs(durationMs: number | null | undefined, startsAt: number | null, endsAt: number | null): number | null {
src/pages/course-detail-page.tsxmodified+66 -29
@@ -5,6 +5,7 @@ import { deleteCourseEnrollmentByUserId } from "@/api/deleteCourseEnrollmentByUs
5 import { getCourseById } from "@/api/getCourseById";5 import { getCourseById } from "@/api/getCourseById";
6 import { getCourseEnrollments } from "@/api/getCourseEnrollments";6 import { getCourseEnrollments } from "@/api/getCourseEnrollments";
7 import { getCourseExams } from "@/api/getCourseExams";7 import { getCourseExams } from "@/api/getCourseExams";
8+import { getUsers } from "@/api/getUsers";
8 import { patchCourseById } from "@/api/patchCourseById";9 import { patchCourseById } from "@/api/patchCourseById";
9 import { postCourseEnrollment } from "@/api/postCourseEnrollment";10 import { postCourseEnrollment } from "@/api/postCourseEnrollment";
10 import { postCourseExam } from "@/api/postCourseExam";11 import { postCourseExam } from "@/api/postCourseExam";
@@ -16,7 +17,7 @@ import { Alert } from "@/components/ui/alert";
16 import { Badge } from "@/components/ui/badge";17 import { Badge } from "@/components/ui/badge";
17 import { Button } from "@/components/ui/button";18 import { Button } from "@/components/ui/button";
18 import { ConfirmDialog } from "@/components/ui/confirm-dialog";19 import { ConfirmDialog } from "@/components/ui/confirm-dialog";
19-import { IconPlus, IconTrash } from "@/components/ui/icons";20+import { IconChevronLeft, IconEdit, IconPlus, IconTrash } from "@/components/ui/icons";
20 import { Input } from "@/components/ui/input";21 import { Input } from "@/components/ui/input";
21 import { Label } from "@/components/ui/label";22 import { Label } from "@/components/ui/label";
22 import { PageSpinner } from "@/components/ui/page-spinner";23 import { PageSpinner } from "@/components/ui/page-spinner";
@@ -31,6 +32,7 @@ import {
31 import { Textarea } from "@/components/ui/textarea";32 import { Textarea } from "@/components/ui/textarea";
32 import { useAuth } from "@/stores/auth-context";33 import { useAuth } from "@/stores/auth-context";
33 import { useT } from "@/stores/preferences-context";34 import { useT } from "@/stores/preferences-context";
35+import { examKindLabel } from "@/lib/exam-labels";
34 import { hasMinRole } from "@/lib/roles";36 import { hasMinRole } from "@/lib/roles";
35 37
36 export default function CourseDetailPage() {38 export default function CourseDetailPage() {
@@ -55,6 +57,10 @@ function CourseDetailContent() {
55 () => (isTeacherPlus() ? id() : null),57 () => (isTeacherPlus() ? id() : null),
56 async (courseId) => (courseId ? getCourseEnrollments(courseId) : []),58 async (courseId) => (courseId ? getCourseEnrollments(courseId) : []),
57 );59 );
60+ const [users] = createResource(
61+ () => (hasMinRole(auth.user()?.role, "admin") ? true : null),
62+ async (enabled) => (enabled ? getUsers() : []),
63+ );
58 64
59 const [editing, setEditing] = createSignal(false);65 const [editing, setEditing] = createSignal(false);
60 const [title, setTitle] = createSignal("");66 const [title, setTitle] = createSignal("");
@@ -77,6 +83,10 @@ function CourseDetailContent() {
77 if (mode === "async") return t("exams.mode.async");83 if (mode === "async") return t("exams.mode.async");
78 return t("exams.unscheduled");84 return t("exams.unscheduled");
79 };85 };
86+ const enrollableUsers = () => {
87+ const enrolled = new Set((roster() ?? []).map((row) => row.user.id));
88+ return (users() ?? []).filter((user) => user.role === "student" && !enrolled.has(user.id));
89+ };
80 90
81 const wrap = async (fn: () => Promise<void>) => {91 const wrap = async (fn: () => Promise<void>) => {
82 setError("");92 setError("");
@@ -118,30 +128,36 @@ function CourseDetailContent() {
118 title={c().title}128 title={c().title}
119 description={c().description || undefined}129 description={c().description || undefined}
120 actions={130 actions={
121- <div class="flex flex-wrap gap-2">131+ <div class="flex flex-wrap items-center gap-1 rounded-md border bg-background/70 p-1 shadow-sm">
122 <Link to="/courses">132 <Link to="/courses">
123- <Button variant="outline" size="sm">133+ <Button variant="ghost" size="sm" class="rounded-sm">
134+ <IconChevronLeft class="h-4 w-4" />
124 {t("common.back")}135 {t("common.back")}
125 </Button>136 </Button>
126 </Link>137 </Link>
127 <Show when={canManage()}>138 <Show when={canManage()}>
128- <Button139+ <div class="ml-1 flex items-center gap-1 border-l border-border pl-1">
129- type="button"140+ <Button
130- variant="outline"141+ type="button"
131- size="sm"142+ variant="outline"
132- onClick={() => (editing() ? setEditing(false) : startEdit())}143+ size="sm"
133- >144+ class="rounded-sm"
134- {editing() ? t("common.cancel") : t("common.edit")}145+ onClick={() => (editing() ? setEditing(false) : startEdit())}
135- </Button>146+ >
136- <Button147+ <IconEdit class="h-4 w-4" />
137- type="button"148+ {editing() ? t("common.cancel") : t("common.edit")}
138- variant="destructive"149+ </Button>
139- size="sm"150+ <Button
140- onClick={() => setDeleteOpen(true)}151+ type="button"
141- >152+ variant="destructive"
142- <IconTrash class="h-4 w-4" />153+ size="sm"
143- {t("courses.delete")}154+ class="rounded-sm"
144- </Button>155+ onClick={() => setDeleteOpen(true)}
156+ >
157+ <IconTrash class="h-4 w-4" />
158+ {t("courses.delete")}
159+ </Button>
160+ </div>
145 </Show>161 </Show>
146 </div>162 </div>
147 }163 }
@@ -260,7 +276,7 @@ function CourseDetailContent() {
260 </p>276 </p>
261 </div>277 </div>
262 <Badge variant="outline" class="capitalize">278 <Badge variant="outline" class="capitalize">
263- {exam.kind}279+ {examKindLabel(String(exam.kind), t)}
264 </Badge>280 </Badge>
265 </Link>281 </Link>
266 </li>282 </li>
@@ -276,7 +292,7 @@ function CourseDetailContent() {
276 <section class="surface-card space-y-4 p-5">292 <section class="surface-card space-y-4 p-5">
277 <h2 class="font-display text-lg font-semibold">{t("courses.roster")}</h2>293 <h2 class="font-display text-lg font-semibold">{t("courses.roster")}</h2>
278 <form294 <form
279- class="flex flex-col gap-2 sm:flex-row"295+ class="grid gap-2 sm:grid-cols-[minmax(0,1fr)_auto]"
280 onSubmit={(e) => {296 onSubmit={(e) => {
281 e.preventDefault();297 e.preventDefault();
282 void wrap(async () => {298 void wrap(async () => {
@@ -288,13 +304,34 @@ function CourseDetailContent() {
288 });304 });
289 }}305 }}
290 >306 >
291- <Input307+ <div class="min-w-0">
292- class="flex-1"308+ <Show
293- placeholder={t("events.userId")}309+ when={(users() ?? []).length > 0}
294- value={enrollUserId()}310+ fallback={
295- onInput={(e) => setEnrollUserId(e.currentTarget.value)}311+ <Input
296- />312+ class="h-10"
297- <Button type="submit" disabled={pending()}>313+ placeholder={t("events.userId")}
314+ value={enrollUserId()}
315+ onInput={(e) => setEnrollUserId(e.currentTarget.value)}
316+ />
317+ }
318+ >
319+ <Input
320+ class="h-10"
321+ list="enrollable-students"
322+ placeholder={enrollableUsers().length === 0 ? t("form.noStudents") : t("form.selectStudent")}
323+ value={enrollUserId()}
324+ disabled={enrollableUsers().length === 0}
325+ onInput={(e) => setEnrollUserId(e.currentTarget.value)}
326+ />
327+ <datalist id="enrollable-students">
328+ <For each={enrollableUsers()}>
329+ {(user) => <option value={user.id} label={`${user.username} · ${user.id}`} />}
330+ </For>
331+ </datalist>
332+ </Show>
333+ </div>
334+ <Button type="submit" class="h-10" disabled={pending()}>
298 {t("courses.enroll")}335 {t("courses.enroll")}
299 </Button>336 </Button>
300 </form>337 </form>
src/pages/dashboard-page.tsxmodified+2 -1
@@ -20,6 +20,7 @@ import {
20 import { PageSpinner } from "@/components/ui/page-spinner";20 import { PageSpinner } from "@/components/ui/page-spinner";
21 import { useAuth } from "@/stores/auth-context";21 import { useAuth } from "@/stores/auth-context";
22 import { usePreferences, useT } from "@/stores/preferences-context";22 import { usePreferences, useT } from "@/stores/preferences-context";
23+import { examKindLabel } from "@/lib/exam-labels";
23 import { hasMinRole } from "@/lib/roles";24 import { hasMinRole } from "@/lib/roles";
24 import { formatDateTime } from "@/lib/format";25 import { formatDateTime } from "@/lib/format";
25 import { cn } from "@/lib/cn";26 import { cn } from "@/lib/cn";
@@ -316,7 +317,7 @@ function DashboardContent() {
316 </p>317 </p>
317 </div>318 </div>
318 <Badge variant="outline" class="shrink-0 capitalize">319 <Badge variant="outline" class="shrink-0 capitalize">
319- {exam.kind}320+ {examKindLabel(String(exam.kind), t)}
320 </Badge>321 </Badge>
321 </Link>322 </Link>
322 </li>323 </li>
src/pages/event-detail-page.tsxmodified+27 -22
@@ -16,7 +16,7 @@ import { PageHeader } from "@/components/layout/page-header";
16 import { Alert } from "@/components/ui/alert";16 import { Alert } from "@/components/ui/alert";
17 import { Button } from "@/components/ui/button";17 import { Button } from "@/components/ui/button";
18 import { ConfirmDialog } from "@/components/ui/confirm-dialog";18 import { ConfirmDialog } from "@/components/ui/confirm-dialog";
19-import { IconTrash } from "@/components/ui/icons";19+import { IconChevronLeft, IconEdit, IconTrash } from "@/components/ui/icons";
20 import { Input } from "@/components/ui/input";20 import { Input } from "@/components/ui/input";
21 import { Label } from "@/components/ui/label";21 import { Label } from "@/components/ui/label";
22 import { PageSpinner } from "@/components/ui/page-spinner";22 import { PageSpinner } from "@/components/ui/page-spinner";
@@ -93,32 +93,37 @@ function EventDetailContent() {
93 title={ev().title}93 title={ev().title}
94 description={`${formatDateTime(ev().starts_at, locale())} → ${formatDateTime(ev().ends_at, locale())}`}94 description={`${formatDateTime(ev().starts_at, locale())} → ${formatDateTime(ev().ends_at, locale())}`}
95 actions={95 actions={
96- <div class="flex flex-wrap gap-2">96+ <div class="flex flex-wrap items-center gap-1 rounded-md border bg-background/70 p-1 shadow-sm">
97 <Link to="/events">97 <Link to="/events">
98- <Button variant="outline" size="sm" class="rounded-sm">98+ <Button variant="ghost" size="sm" class="rounded-sm">
99+ <IconChevronLeft class="h-4 w-4" />
99 {t("common.back")}100 {t("common.back")}
100 </Button>101 </Button>
101 </Link>102 </Link>
102 <Show when={canManage()}>103 <Show when={canManage()}>
103- <Button104+ <div class="ml-1 flex items-center gap-1 border-l border-border pl-1">
104- type="button"105+ <Button
105- variant="outline"106+ type="button"
106- size="sm"107+ variant="outline"
107- class="rounded-sm"108+ size="sm"
108- onClick={() => setEditing((v) => !v)}109+ class="rounded-sm"
109- >110+ onClick={() => setEditing((v) => !v)}
110- {editing() ? t("common.cancel") : t("common.edit")}111+ >
111- </Button>112+ <IconEdit class="h-4 w-4" />
112- <Button113+ {editing() ? t("common.cancel") : t("common.edit")}
113- type="button"114+ </Button>
114- variant="destructive"115+ <Button
115- size="sm"116+ type="button"
116- disabled={pending()}117+ variant="destructive"
117- onClick={() => setDeleteOpen(true)}118+ size="sm"
118- >119+ class="rounded-sm"
119- <IconTrash class="h-4 w-4" />120+ disabled={pending()}
120- {t("common.delete")}121+ onClick={() => setDeleteOpen(true)}
121- </Button>122+ >
123+ <IconTrash class="h-4 w-4" />
124+ {t("common.delete")}
125+ </Button>
126+ </div>
122 </Show>127 </Show>
123 </div>128 </div>
124 }129 }
src/pages/exam-detail-page.tsxmodified+23 -7
@@ -1,10 +1,11 @@
1-import { Link, useNavigate, useParams } from "@tanstack/solid-router";1+import { Link, useLocation, useNavigate } from "@tanstack/solid-router";
2 import { For, Show, Suspense, createMemo, createResource, createSignal } from "solid-js";2 import { For, Show, Suspense, createMemo, createResource, createSignal } from "solid-js";
3 import { deleteExamById } from "@/api/deleteExamById";3 import { deleteExamById } from "@/api/deleteExamById";
4 import { deleteExamResultByUserId } from "@/api/deleteExamResultByUserId";4 import { deleteExamResultByUserId } from "@/api/deleteExamResultByUserId";
5 import { getExamById } from "@/api/getExamById";5 import { getExamById } from "@/api/getExamById";
6 import { getExamResult } from "@/api/getExamResult";6 import { getExamResult } from "@/api/getExamResult";
7 import { getExamResults } from "@/api/getExamResults";7 import { getExamResults } from "@/api/getExamResults";
8+import { getCourseEnrollments } from "@/api/getCourseEnrollments";
8 import { patchExamById } from "@/api/patchExamById";9 import { patchExamById } from "@/api/patchExamById";
9 import { postExamResult } from "@/api/postExamResult";10 import { postExamResult } from "@/api/postExamResult";
10 import { ApiError, formatApiError } from "@/api/client";11 import { ApiError, formatApiError } from "@/api/client";
@@ -29,6 +30,7 @@ import {
29 TableRow,30 TableRow,
30 } from "@/components/ui/table";31 } from "@/components/ui/table";
31 import { hasMinRole } from "@/lib/roles";32 import { hasMinRole } from "@/lib/roles";
33+import { examKindLabel } from "@/lib/exam-labels";
32 import { examDurationMs, formatDateTime, formatDurationMinutes } from "@/lib/format";34 import { examDurationMs, formatDateTime, formatDurationMinutes } from "@/lib/format";
33 import { useAuth } from "@/stores/auth-context";35 import { useAuth } from "@/stores/auth-context";
34 import { usePreferences, useT } from "@/stores/preferences-context";36 import { usePreferences, useT } from "@/stores/preferences-context";
@@ -42,12 +44,12 @@ export default function ExamDetailPage() {
42 }44 }
43 45
44 function ExamDetailContent() {46 function ExamDetailContent() {
45- const params = useParams({ from: "/exams/$id" });47+ const location = useLocation();
46 const auth = useAuth();48 const auth = useAuth();
47 const navigate = useNavigate();49 const navigate = useNavigate();
48 const t = useT();50 const t = useT();
49 const { locale } = usePreferences();51 const { locale } = usePreferences();
50- const id = () => params().id;52+ const id = () => decodeURIComponent(location().pathname.split("/")[2] ?? "");
51 53
52 const [exam, { refetch: refetchExam }] = createResource(id, (examId) => getExamById(examId));54 const [exam, { refetch: refetchExam }] = createResource(id, (examId) => getExamById(examId));
53 const isTeacherPlus = createMemo(() => hasMinRole(auth.user()?.role, "teacher"));55 const isTeacherPlus = createMemo(() => hasMinRole(auth.user()?.role, "teacher"));
@@ -72,6 +74,10 @@ function ExamDetailContent() {
72 return getExamResults(examId);74 return getExamResults(examId);
73 },75 },
74 );76 );
77+ const [roster] = createResource(
78+ () => (isTeacherPlus() ? exam()?.course ?? null : null),
79+ async (courseId) => (courseId ? getCourseEnrollments(courseId) : []),
80+ );
75 81
76 const [editing, setEditing] = createSignal(false);82 const [editing, setEditing] = createSignal(false);
77 const [error, setError] = createSignal("");83 const [error, setError] = createSignal("");
@@ -92,6 +98,15 @@ function ExamDetailContent() {
92 return t("exams.unscheduled");98 return t("exams.unscheduled");
93 };99 };
94 const isScheduled = () => exam()?.mode === "sync" || exam()?.mode === "async";100 const isScheduled = () => exam()?.mode === "sync" || exam()?.mode === "async";
101+ const gradeStudents = () => {
102+ const graded = new Set((results() ?? []).map((row) => row.user));
103+ return (roster() ?? [])
104+ .filter((row) => !graded.has(row.user.id))
105+ .map((row) => ({
106+ id: row.user.id,
107+ label: `${row.user.display_name || row.user.username} · ${row.user.id}`,
108+ }));
109+ };
95 110
96 const wrap = async (fn: () => Promise<void>) => {111 const wrap = async (fn: () => Promise<void>) => {
97 setError("");112 setError("");
@@ -141,7 +156,7 @@ function ExamDetailContent() {
141 </Link>156 </Link>
142 </Show>157 </Show>
143 <Show when={canManage()}>158 <Show when={canManage()}>
144- <div class="ml-1 flex items-center gap-1 border-l pl-1">159+ <div class="ml-1 flex items-center gap-1 border-l border-border pl-1">
145 <Button160 <Button
146 type="button"161 type="button"
147 variant="outline"162 variant="outline"
@@ -169,7 +184,7 @@ function ExamDetailContent() {
169 >184 >
170 <div class="flex flex-wrap items-center gap-2 pt-1">185 <div class="flex flex-wrap items-center gap-2 pt-1">
171 <Badge variant="outline" class="rounded-sm capitalize">186 <Badge variant="outline" class="rounded-sm capitalize">
172- {ex().kind}187+ {examKindLabel(String(ex().kind), t)}
173 </Badge>188 </Badge>
174 <Badge variant="outline" class="rounded-sm">189 <Badge variant="outline" class="rounded-sm">
175 {t("courses.weight")}: {ex().weight}190 {t("courses.weight")}: {ex().weight}
@@ -195,7 +210,7 @@ function ExamDetailContent() {
195 />210 />
196 211
197 <Show when={editing()}>212 <Show when={editing()}>
198- <section class="surface-card max-w-2xl p-5">213+ <section class="surface-card max-w-3xl p-5">
199 <ExamForm214 <ExamForm
200 initial={ex()}215 initial={ex()}
201 submitLabel={t("common.update")}216 submitLabel={t("common.update")}
@@ -226,7 +241,7 @@ function ExamDetailContent() {
226 </div>241 </div>
227 <div class="rounded-md border p-3">242 <div class="rounded-md border p-3">
228 <p class="text-xs text-muted-foreground">{t("exams.durationMinutes")}</p>243 <p class="text-xs text-muted-foreground">{t("exams.durationMinutes")}</p>
229- <p class="mt-1 font-medium">{formatDurationMinutes(examDurationMs(ex().duration_ms, ex().starts_at, ex().ends_at))}</p>244+ <p class="mt-1 font-medium">{formatDurationMinutes(examDurationMs(ex().duration_ms, ex().starts_at, ex().ends_at), locale())}</p>
230 </div>245 </div>
231 </div>246 </div>
232 </section>247 </section>
@@ -250,6 +265,7 @@ function ExamDetailContent() {
250 <section class="surface-card p-5">265 <section class="surface-card p-5">
251 <h2 class="mb-4 font-display text-lg font-semibold">{t("exams.gradeStudent")}</h2>266 <h2 class="mb-4 font-display text-lg font-semibold">{t("exams.gradeStudent")}</h2>
252 <GradeForm267 <GradeForm
268+ students={gradeStudents()}
253 onSubmit={async (values) => {269 onSubmit={async (values) => {
254 await postExamResult(id(), values);270 await postExamResult(id(), values);
255 await refetchResults();271 await refetchResults();
src/pages/exam-room-page.tsxmodified+13 -8
@@ -1,4 +1,4 @@
1-import { Link, useParams } from "@tanstack/solid-router";1+import { Link, useLocation } from "@tanstack/solid-router";
2 import { Show, Suspense, createResource } from "solid-js";2 import { Show, Suspense, createResource } from "solid-js";
3 import { getExamById } from "@/api/getExamById";3 import { getExamById } from "@/api/getExamById";
4 import { ApiError } from "@/api/client";4 import { ApiError } from "@/api/client";
@@ -7,6 +7,7 @@ import { RouteGuard } from "@/components/layout/route-guard";
7 import { PageHeader } from "@/components/layout/page-header";7 import { PageHeader } from "@/components/layout/page-header";
8 import { Alert } from "@/components/ui/alert";8 import { Alert } from "@/components/ui/alert";
9 import { Button } from "@/components/ui/button";9 import { Button } from "@/components/ui/button";
10+import { IconChevronLeft } from "@/components/ui/icons";
10 import { PageSpinner } from "@/components/ui/page-spinner";11 import { PageSpinner } from "@/components/ui/page-spinner";
11 import { useT } from "@/stores/preferences-context";12 import { useT } from "@/stores/preferences-context";
12 13
@@ -19,9 +20,9 @@ export default function ExamRoomPage() {
19 }20 }
20 21
21 function ExamRoomContent() {22 function ExamRoomContent() {
22- const params = useParams({ from: "/exam-room/$id" });23+ const location = useLocation();
23 const t = useT();24 const t = useT();
24- const id = () => params().id;25+ const id = () => decodeURIComponent(location().pathname.split("/")[2] ?? "");
25 const [exam] = createResource(id, (examId) => getExamById(examId));26 const [exam] = createResource(id, (examId) => getExamById(examId));
26 27
27 return (28 return (
@@ -39,16 +40,20 @@ function ExamRoomContent() {
39 {(ex) => (40 {(ex) => (
40 <div class="space-y-6">41 <div class="space-y-6">
41 <PageHeader42 <PageHeader
43+ compact
42 accent="rose"44 accent="rose"
43 eyebrow={t("attempt.title")}45 eyebrow={t("attempt.title")}
44 title={ex().title}46 title={ex().title}
45 description={ex().description || undefined}47 description={ex().description || undefined}
46 actions={48 actions={
47- <Link to="/exams/$id" params={{ id: id() }}>49+ <div class="flex flex-wrap items-center gap-1 rounded-md border bg-background/70 p-1 shadow-sm">
48- <Button variant="outline" size="sm">50+ <Link to="/exams/$id" params={{ id: id() }}>
49- {t("common.back")}51+ <Button variant="ghost" size="sm" class="rounded-sm">
50- </Button>52+ <IconChevronLeft class="h-4 w-4" />
51- </Link>53+ {t("common.back")}
54+ </Button>
55+ </Link>
56+ </div>
52 }57 }
53 />58 />
54 <StudentExamRoom exam={ex()} compact />59 <StudentExamRoom exam={ex()} compact />
src/pages/marks-page.tsxmodified+2 -1
@@ -21,6 +21,7 @@ import {
21 } from "@/components/ui/table";21 } from "@/components/ui/table";
22 import { useAuth } from "@/stores/auth-context";22 import { useAuth } from "@/stores/auth-context";
23 import { useT } from "@/stores/preferences-context";23 import { useT } from "@/stores/preferences-context";
24+import { examKindLabel } from "@/lib/exam-labels";
24 import { hasMinRole } from "@/lib/roles";25 import { hasMinRole } from "@/lib/roles";
25 26
26 const round = (n: number) => (Math.round(n * 100) / 100).toString();27 const round = (n: number) => (Math.round(n * 100) / 100).toString();
@@ -131,7 +132,7 @@ function MarksReportView(props: { report: MarksReport }) {
131 </TableCell>132 </TableCell>
132 <TableCell>133 <TableCell>
133 <Badge variant="outline" class="capitalize">134 <Badge variant="outline" class="capitalize">
134- {entry.kind}135+ {examKindLabel(entry.kind, t)}
135 </Badge>136 </Badge>
136 </TableCell>137 </TableCell>
137 <TableCell>{entry.weight}</TableCell>138 <TableCell>{entry.weight}</TableCell>
tsconfig.jsonmodified+1 -1
@@ -17,7 +17,7 @@
17 "noUnusedParameters": true,17 "noUnusedParameters": true,
18 "noFallthroughCasesInSwitch": true,18 "noFallthroughCasesInSwitch": true,
19 "noUncheckedSideEffectImports": true,19 "noUncheckedSideEffectImports": true,
20- "baseUrl": ".",20+ "ignoreDeprecations": "6.0",
21 "paths": {21 "paths": {
22 "@/*": ["./src/*"]22 "@/*": ["./src/*"]
23 }23 }