From cf84feb78326d431cceea63a05ba873c3dd3695e Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 7 Mar 2026 12:46:02 +0000 Subject: [PATCH] fix: restore itinerary connectors and refresh dependencies --- backend/server/requirements.txt | 34 +- frontend/package.json | 42 +-- frontend/pnpm-lock.yaml | 299 +++++++++--------- .../lib/components/cards/LocationCard.svelte | 2 +- .../CollectionItineraryPlanner.svelte | 22 +- 5 files changed, 205 insertions(+), 194 deletions(-) diff --git a/backend/server/requirements.txt b/backend/server/requirements.txt index e610fb23..4c3a3822 100644 --- a/backend/server/requirements.txt +++ b/backend/server/requirements.txt @@ -1,27 +1,27 @@ -Django==5.2.11 -djangorestframework>=3.15.2 -django-allauth==0.63.3 -django-money==3.5.4 +Django==5.2.12 +djangorestframework>=3.16.1 +django-allauth==0.63.6 +django-money==3.6.0 django-invitations==2.1.0 -drf-yasg==1.21.4 -django-cors-headers==4.4.0 +drf-yasg==1.21.15 +django-cors-headers==4.9.0 coreapi==2.3.3 -python-dotenv==1.1.0 -psycopg2-binary==2.9.10 +python-dotenv==1.2.2 +psycopg2-binary==2.9.11 pillow==12.1.1 -whitenoise==6.9.0 +whitenoise==6.12.0 django-resized==1.0.3 django-geojson==4.2.0 setuptools==79.0.1 gunicorn==23.0.0 -qrcode==8.0 +qrcode==8.2 slippers==0.6.2 -django-allauth-ui==1.7.0 -django-widget-tweaks==1.5.0 +django-allauth-ui==1.8.1 +django-widget-tweaks==1.5.1 django-ical==1.9.2 -icalendar==6.1.0 -ijson==3.3.0 -tqdm==4.67.1 +icalendar==6.3.2 +ijson==3.5.0 +tqdm==4.67.3 overpy==0.7 publicsuffix2==2.20191221 geopy==2.4.1 @@ -29,5 +29,5 @@ psutil==6.1.1 geojson==3.2.0 gpxpy==1.6.2 pymemcache==4.0.0 -legacy-cgi==2.6.3 -requests>=2.31.0 \ No newline at end of file +legacy-cgi==2.6.4 +requests>=2.32.5 diff --git a/frontend/package.json b/frontend/package.json index 494470b3..73bc6b26 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -17,38 +17,38 @@ "@event-calendar/interaction": "^3.12.0", "@event-calendar/time-grid": "^3.12.0", "@iconify-json/mdi": "^1.2.3", - "@sveltejs/adapter-node": "^5.2.12", - "@sveltejs/adapter-vercel": "^5.7.0", - "@sveltejs/kit": "^2.49.5", + "@sveltejs/adapter-node": "^5.5.4", + "@sveltejs/adapter-vercel": "^5.10.3", + "@sveltejs/kit": "2.20.0", "@sveltejs/vite-plugin-svelte": "^3.1.2", - "@tailwindcss/typography": "^0.5.16", - "@types/node": "^22.15.2", - "@types/qrcode": "^1.5.5", - "autoprefixer": "^10.4.21", - "baseline-browser-mapping": "^2.9.9", + "@tailwindcss/typography": "^0.5.19", + "@types/node": "^22.19.15", + "@types/qrcode": "^1.5.6", + "autoprefixer": "^10.4.27", + "baseline-browser-mapping": "^2.10.0", "daisyui": "^4.12.24", - "postcss": "^8.5.3", - "prettier": "^3.5.3", - "prettier-plugin-svelte": "^3.3.3", - "svelte": "^4.2.19", + "postcss": "^8.5.8", + "prettier": "^3.8.1", + "prettier-plugin-svelte": "^3.5.1", + "svelte": "^4.2.20", "svelte-check": "^3.8.6", - "tailwindcss": "^3.4.17", + "tailwindcss": "^3.4.19", "tslib": "^2.8.1", - "typescript": "^5.8.3", + "typescript": "^5.9.3", "unplugin-icons": "^0.19.3", - "vite": "^5.4.19" + "vite": "^5.4.21" }, "type": "module", "dependencies": { "@lukulent/svelte-umami": "^0.0.3", - "dompurify": "^3.2.5", - "emoji-picker-element": "^1.26.3", - "gsap": "^3.12.7", - "luxon": "^3.6.1", - "marked": "^15.0.11", + "dompurify": "^3.3.2", + "emoji-picker-element": "^1.29.1", + "gsap": "^3.14.2", + "luxon": "^3.7.2", + "marked": "^15.0.12", "psl": "^1.15.0", "qrcode": "^1.5.4", - "svelte-dnd-action": "^0.9.68", + "svelte-dnd-action": "^0.9.69", "svelte-i18n": "^4.0.1", "svelte-maplibre": "^0.9.14" }, diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index eb349d59..0ee58250 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -19,19 +19,19 @@ importers: specifier: ^0.0.3 version: 0.0.3(svelte@4.2.20) dompurify: - specifier: ^3.2.5 - version: 3.3.1 + specifier: ^3.3.2 + version: 3.3.2 emoji-picker-element: - specifier: ^1.26.3 - version: 1.29.0 + specifier: ^1.29.1 + version: 1.29.1 gsap: - specifier: ^3.12.7 + specifier: ^3.14.2 version: 3.14.2 luxon: - specifier: ^3.6.1 + specifier: ^3.7.2 version: 3.7.2 marked: - specifier: ^15.0.11 + specifier: ^15.0.12 version: 15.0.12 psl: specifier: ^1.15.0 @@ -40,7 +40,7 @@ importers: specifier: ^1.5.4 version: 1.5.4 svelte-dnd-action: - specifier: ^0.9.68 + specifier: ^0.9.69 version: 0.9.69(svelte@4.2.20) svelte-i18n: specifier: ^4.0.1 @@ -65,65 +65,65 @@ importers: specifier: ^1.2.3 version: 1.2.3 '@sveltejs/adapter-node': - specifier: ^5.2.12 - version: 5.5.4(@sveltejs/kit@2.53.3(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.13)))(svelte@4.2.20)(typescript@5.9.3)(vite@5.4.21(@types/node@22.19.13))) + specifier: ^5.5.4 + version: 5.5.4(@sveltejs/kit@2.20.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)))(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15))) '@sveltejs/adapter-vercel': - specifier: ^5.7.0 - version: 5.10.3(@sveltejs/kit@2.53.3(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.13)))(svelte@4.2.20)(typescript@5.9.3)(vite@5.4.21(@types/node@22.19.13)))(rollup@4.59.0) + specifier: ^5.10.3 + version: 5.10.3(@sveltejs/kit@2.20.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)))(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)))(rollup@4.59.0) '@sveltejs/kit': - specifier: ^2.49.5 - version: 2.53.3(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.13)))(svelte@4.2.20)(typescript@5.9.3)(vite@5.4.21(@types/node@22.19.13)) + specifier: 2.20.0 + version: 2.20.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)))(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)) '@sveltejs/vite-plugin-svelte': specifier: ^3.1.2 - version: 3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.13)) + version: 3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)) '@tailwindcss/typography': - specifier: ^0.5.16 + specifier: ^0.5.19 version: 0.5.19(tailwindcss@3.4.19) '@types/node': - specifier: ^22.15.2 - version: 22.19.13 + specifier: ^22.19.15 + version: 22.19.15 '@types/qrcode': - specifier: ^1.5.5 + specifier: ^1.5.6 version: 1.5.6 autoprefixer: - specifier: ^10.4.21 - version: 10.4.27(postcss@8.5.6) + specifier: ^10.4.27 + version: 10.4.27(postcss@8.5.8) baseline-browser-mapping: - specifier: ^2.9.9 + specifier: ^2.10.0 version: 2.10.0 daisyui: specifier: ^4.12.24 - version: 4.12.24(postcss@8.5.6) + version: 4.12.24(postcss@8.5.8) postcss: - specifier: ^8.5.3 - version: 8.5.6 + specifier: ^8.5.8 + version: 8.5.8 prettier: - specifier: ^3.5.3 + specifier: ^3.8.1 version: 3.8.1 prettier-plugin-svelte: - specifier: ^3.3.3 - version: 3.5.0(prettier@3.8.1)(svelte@4.2.20) + specifier: ^3.5.1 + version: 3.5.1(prettier@3.8.1)(svelte@4.2.20) svelte: - specifier: ^4.2.19 + specifier: ^4.2.20 version: 4.2.20 svelte-check: specifier: ^3.8.6 - version: 3.8.6(postcss@8.5.6)(svelte@4.2.20) + version: 3.8.6(postcss@8.5.8)(svelte@4.2.20) tailwindcss: - specifier: ^3.4.17 + specifier: ^3.4.19 version: 3.4.19 tslib: specifier: ^2.8.1 version: 2.8.1 typescript: - specifier: ^5.8.3 + specifier: ^5.9.3 version: 5.9.3 unplugin-icons: specifier: ^0.19.3 version: 0.19.3 vite: - specifier: ^5.4.19 - version: 5.4.21(@types/node@22.19.13) + specifier: ^5.4.21 + version: 5.4.21(@types/node@22.19.15) packages: @@ -417,8 +417,8 @@ packages: '@polka/url@1.0.0-next.29': resolution: {integrity: sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww==} - '@rollup/plugin-commonjs@29.0.0': - resolution: {integrity: sha512-U2YHaxR2cU/yAiwKJtJRhnyLk7cifnQw0zUpISsocBDoHDJn+HTV74ABqnwr5bEgWUwFZC9oFL6wLe21lHu5eQ==} + '@rollup/plugin-commonjs@29.0.2': + resolution: {integrity: sha512-S/ggWH1LU7jTyi9DxZOKyxpVd4hF/OZ0JrEbeLjXk/DFXwRny0tjD2c992zOUYQobLrVkRVMDdmHP16HKP7GRg==} engines: {node: '>=16.0.0 || 14 >= 14.17'} peerDependencies: rollup: ^2.68.0||^3.0.0||^4.0.0 @@ -487,66 +487,79 @@ packages: resolution: {integrity: sha512-t4ONHboXi/3E0rT6OZl1pKbl2Vgxf9vJfWgmUoCEVQVxhW6Cw/c8I6hbbu7DAvgp82RKiH7TpLwxnJeKv2pbsw==} cpu: [arm] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm-musleabihf@4.59.0': resolution: {integrity: sha512-CikFT7aYPA2ufMD086cVORBYGHffBo4K8MQ4uPS/ZnY54GKj36i196u8U+aDVT2LX4eSMbyHtyOh7D7Zvk2VvA==} cpu: [arm] os: [linux] + libc: [musl] '@rollup/rollup-linux-arm64-gnu@4.59.0': resolution: {integrity: sha512-jYgUGk5aLd1nUb1CtQ8E+t5JhLc9x5WdBKew9ZgAXg7DBk0ZHErLHdXM24rfX+bKrFe+Xp5YuJo54I5HFjGDAA==} cpu: [arm64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm64-musl@4.59.0': resolution: {integrity: sha512-peZRVEdnFWZ5Bh2KeumKG9ty7aCXzzEsHShOZEFiCQlDEepP1dpUl/SrUNXNg13UmZl+gzVDPsiCwnV1uI0RUA==} cpu: [arm64] os: [linux] + libc: [musl] '@rollup/rollup-linux-loong64-gnu@4.59.0': resolution: {integrity: sha512-gbUSW/97f7+r4gHy3Jlup8zDG190AuodsWnNiXErp9mT90iCy9NKKU0Xwx5k8VlRAIV2uU9CsMnEFg/xXaOfXg==} cpu: [loong64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-loong64-musl@4.59.0': resolution: {integrity: sha512-yTRONe79E+o0FWFijasoTjtzG9EBedFXJMl888NBEDCDV9I2wGbFFfJQQe63OijbFCUZqxpHz1GzpbtSFikJ4Q==} cpu: [loong64] os: [linux] + libc: [musl] '@rollup/rollup-linux-ppc64-gnu@4.59.0': resolution: {integrity: sha512-sw1o3tfyk12k3OEpRddF68a1unZ5VCN7zoTNtSn2KndUE+ea3m3ROOKRCZxEpmT9nsGnogpFP9x6mnLTCaoLkA==} cpu: [ppc64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-ppc64-musl@4.59.0': resolution: {integrity: sha512-+2kLtQ4xT3AiIxkzFVFXfsmlZiG5FXYW7ZyIIvGA7Bdeuh9Z0aN4hVyXS/G1E9bTP/vqszNIN/pUKCk/BTHsKA==} cpu: [ppc64] os: [linux] + libc: [musl] '@rollup/rollup-linux-riscv64-gnu@4.59.0': resolution: {integrity: sha512-NDYMpsXYJJaj+I7UdwIuHHNxXZ/b/N2hR15NyH3m2qAtb/hHPA4g4SuuvrdxetTdndfj9b1WOmy73kcPRoERUg==} cpu: [riscv64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-riscv64-musl@4.59.0': resolution: {integrity: sha512-nLckB8WOqHIf1bhymk+oHxvM9D3tyPndZH8i8+35p/1YiVoVswPid2yLzgX7ZJP0KQvnkhM4H6QZ5m0LzbyIAg==} cpu: [riscv64] os: [linux] + libc: [musl] '@rollup/rollup-linux-s390x-gnu@4.59.0': resolution: {integrity: sha512-oF87Ie3uAIvORFBpwnCvUzdeYUqi2wY6jRFWJAy1qus/udHFYIkplYRW+wo+GRUP4sKzYdmE1Y3+rY5Gc4ZO+w==} cpu: [s390x] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-gnu@4.59.0': resolution: {integrity: sha512-3AHmtQq/ppNuUspKAlvA8HtLybkDflkMuLK4DPo77DfthRb71V84/c4MlWJXixZz4uruIH4uaa07IqoAkG64fg==} cpu: [x64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-musl@4.59.0': resolution: {integrity: sha512-2UdiwS/9cTAx7qIUZB/fWtToJwvt0Vbo0zmnYt7ED35KPg13Q0ym1g442THLC7VyI6JfYTP4PiSOWyoMdV2/xg==} cpu: [x64] os: [linux] + libc: [musl] '@rollup/rollup-openbsd-x64@4.59.0': resolution: {integrity: sha512-M3bLRAVk6GOwFlPTIxVBSYKUaqfLrn8l0psKinkCFxl4lQvOSz8ZrKDz2gxcBwHFpci0B6rttydI4IpS4IS/jQ==} @@ -578,14 +591,6 @@ packages: cpu: [x64] os: [win32] - '@standard-schema/spec@1.1.0': - resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==} - - '@sveltejs/acorn-typescript@1.0.9': - resolution: {integrity: sha512-lVJX6qEgs/4DOcRTpo56tmKzVPtoWAaVbL4hfO7t7NVwl9AAXzQR6cihesW1BmNMPl+bK6dreu2sOKBP2Q9CIA==} - peerDependencies: - acorn: ^8.9.0 - '@sveltejs/adapter-node@5.5.4': resolution: {integrity: sha512-45X92CXW+2J8ZUzPv3eLlKWEzINKiiGeFWTjyER4ZN4sGgNoaoeSkCY/QYNxHpPXy71QPsctwccBo9jJs0ySPQ==} peerDependencies: @@ -596,21 +601,14 @@ packages: peerDependencies: '@sveltejs/kit': ^2.4.0 - '@sveltejs/kit@2.53.3': - resolution: {integrity: sha512-tshOeBUid2v5LAblUpatIdFm5Cyykbw2EiKWOunAAX0A/oJaR7DOdC9wLR5Qqh9zUf3QUISA2m9A3suBdQSYQg==} + '@sveltejs/kit@2.20.0': + resolution: {integrity: sha512-xCUGevE2GFhpDAxZiVOsk6HKaBicwU7uWYcMOcpHCDcjoN6mKBIeMEzuddRMqSA4zjbeA+RcillCv1ppkWRwSQ==} engines: {node: '>=18.13'} hasBin: true peerDependencies: - '@opentelemetry/api': ^1.0.0 - '@sveltejs/vite-plugin-svelte': ^3.0.0 || ^4.0.0-next.1 || ^5.0.0 || ^6.0.0-next.0 || ^7.0.0 + '@sveltejs/vite-plugin-svelte': ^3.0.0 || ^4.0.0-next.1 || ^5.0.0 svelte: ^4.0.0 || ^5.0.0-next.0 - typescript: ^5.3.3 - vite: ^5.0.3 || ^6.0.0 || ^7.0.0-beta.0 || ^8.0.0 - peerDependenciesMeta: - '@opentelemetry/api': - optional: true - typescript: - optional: true + vite: ^5.0.3 || ^6.0.0 '@sveltejs/vite-plugin-svelte-inspector@2.1.0': resolution: {integrity: sha512-9QX28IymvBlSCqsCll5t0kQVxipsfhFFL+L2t3nTWfXnddYwxBuAEtTtlaVQpRz9c37BhJjltSeY4AJSC03SSg==} @@ -653,8 +651,8 @@ packages: '@types/mapbox__vector-tile@1.3.4': resolution: {integrity: sha512-bpd8dRn9pr6xKvuEBQup8pwQfD4VUyqO/2deGjfpe6AwC8YRlyEipvefyRJUSiCJTZuCb8Pl1ciVV5ekqJ96Bg==} - '@types/node@22.19.13': - resolution: {integrity: sha512-akNQMv0wW5uyRpD2v2IEyRSZiR+BeGuoB6L310EgGObO44HSMNT8z1xzio28V8qOrgYaopIDNA18YgdXd+qTiw==} + '@types/node@22.19.15': + resolution: {integrity: sha512-F0R/h2+dsy5wJAUe3tAU6oqa2qbWY5TpNfL/RGmo1y38hiyO1w3x2jPtt76wmuaJI4DQnOBu21cNXQ2STIUUWg==} '@types/pbf@3.0.5': resolution: {integrity: sha512-j3pOPiEcWZ34R6a6mN07mUkM4o4Lwf6hPNt8eilOeZhTFbxFXmKhvXl9Y28jotFPaI1bpPDJsbCprUoNke6OrA==} @@ -782,8 +780,8 @@ packages: resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} engines: {node: '>=6'} - caniuse-lite@1.0.30001774: - resolution: {integrity: sha512-DDdwPGz99nmIEv216hKSgLD+D4ikHQHjBC/seF98N9CPqRX4M5mSxT9eTV6oyisnJcuzxtZy4n17yKKQYmYQOA==} + caniuse-lite@1.0.30001777: + resolution: {integrity: sha512-tmN+fJxroPndC74efCdp12j+0rk0RHwV5Jwa1zWaFVyw2ZxAuPeG8ZgWC3Wz7uSjT3qMRQ5XHZ4COgQmsCMJAQ==} chokidar@3.6.0: resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} @@ -911,8 +909,9 @@ packages: dlv@1.1.3: resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==} - dompurify@3.3.1: - resolution: {integrity: sha512-qkdCKzLNtrgPFP1Vo+98FRzJnBRGe4ffyCea9IwHB1fyxPOeNTHpLKYGd4Uk9xvNoH0ZoOjwZxNptyMwqrId1Q==} + dompurify@3.3.2: + resolution: {integrity: sha512-6obghkliLdmKa56xdbLOpUZ43pAR6xFy1uOrxBaIDjT+yaRuuybLjGS9eVBoSR/UPU5fq3OXClEHLJNGvbxKpQ==} + engines: {node: '>=20'} earcut@3.0.2: resolution: {integrity: sha512-X7hshQbLyMJ/3RPhyObLARM2sNxxmRALLKx1+NVFFnQ9gKzmCrxm9+uLIAdBcvc8FNLpctqlQ2V6AE92Ol9UDQ==} @@ -920,11 +919,11 @@ packages: eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - electron-to-chromium@1.5.302: - resolution: {integrity: sha512-sM6HAN2LyK82IyPBpznDRqlTQAtuSaO+ShzFiWTvoMJLHyZ+Y39r8VMfHzwbU8MVBzQ4Wdn85+wlZl2TLGIlwg==} + electron-to-chromium@1.5.307: + resolution: {integrity: sha512-5z3uFKBWjiNR44nFcYdkcXjKMbg5KXNdciu7mhTPo9tB7NbqSNP2sSnGR+fqknZSCwKkBN+oxiiajWs4dT6ORg==} - emoji-picker-element@1.29.0: - resolution: {integrity: sha512-lQm8YayfwIP5j+Xe1O2Fjul7hv2b4spPS16X99O4qKQdzDQaEeiAqqYaRONHncewcpisUf6qGFJkhM2G3riEdA==} + emoji-picker-element@1.29.1: + resolution: {integrity: sha512-TOiHzu9Dqib3x4MwcAi3wi3RdyT4SoeB4b15AvH1ks4SBwTl7DeebhZ0d3x6dNi4XfNU7IGRZ7NBQllj0RqwrQ==} emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -1093,6 +1092,9 @@ packages: ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} + import-meta-resolve@4.2.0: + resolution: {integrity: sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==} + inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. @@ -1266,8 +1268,8 @@ packages: resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} hasBin: true - mlly@1.8.0: - resolution: {integrity: sha512-l8D9ODSRWLe2KHJSifWGwBqpTZXIXTeo8mlKjY+E2HAakaTeNpqAyBZ8GSqLzHgw4XmHmC8whvpjJNMbFZN7/g==} + mlly@1.8.1: + resolution: {integrity: sha512-SnL6sNutTwRWWR/vcmCYHSADjiEesp5TGQQ0pXyLhW5IoeibRlF/CbSLailbB3CNqJUk9cVJ9dUDnbD7GrcHBQ==} mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} @@ -1307,8 +1309,8 @@ packages: resolution: {integrity: sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==} hasBin: true - node-releases@2.0.27: - resolution: {integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==} + node-releases@2.0.36: + resolution: {integrity: sha512-TdC8FSgHz8Mwtw9g5L4gR/Sh9XhSP/0DEkQxfEFXOpiul5IiHgHan2VhYYb6agDSfp4KuvltmGApc8HMgUrIkA==} nopt@8.1.0: resolution: {integrity: sha512-ieGu42u/Qsa4TFktmaKEwM6MQH0pOWnaB3htzh0JRtx84+Mebc0cbZYN5bC+6WTZ4+77xrL9Pn5m7CV6VIkV7A==} @@ -1459,15 +1461,15 @@ packages: postcss-value-parser@4.2.0: resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} - postcss@8.5.6: - resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==} + postcss@8.5.8: + resolution: {integrity: sha512-OW/rX8O/jXnm82Ey1k44pObPtdblfiuWnrd8X7GJ7emImCOstunGbXUpp7HdBrFQX6rJzn3sPT397Wp5aCwCHg==} engines: {node: ^10 || ^12 || >=14} potpack@2.1.0: resolution: {integrity: sha512-pcaShQc1Shq0y+E7GqJqvZj8DTthWV1KeHGdi0Z6IAin2Oi3JnLCOfwnCo84qc+HAp52wT9nK9H7FAJp5a44GQ==} - prettier-plugin-svelte@3.5.0: - resolution: {integrity: sha512-2lLO/7EupnjO/95t+XZesXs8Bf3nYLIDfCo270h5QWbj/vjLqmrQ1LiRk9LPggxSDsnVYfehamZNf+rgQYApZg==} + prettier-plugin-svelte@3.5.1: + resolution: {integrity: sha512-65+fr5+cgIKWKiqM1Doum4uX6bY8iFCdztvvp2RcF+AJoieaw9kJOFMNcJo/bkmKYsxFaM9OsVZK/gWauG/5mg==} peerDependencies: prettier: ^3.0.0 svelte: ^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0 @@ -1565,8 +1567,8 @@ packages: set-blocking@2.0.0: resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} - set-cookie-parser@3.0.1: - resolution: {integrity: sha512-n7Z7dXZhJbwuAHhNzkTti6Aw9QDDjZtm3JTpTGATIdNzdQz5GuFs22w90BcvF4INfnrL5xrX3oGsuqO5Dx3A1Q==} + set-cookie-parser@2.7.2: + resolution: {integrity: sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw==} shebang-command@2.0.0: resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} @@ -1709,8 +1711,8 @@ packages: engines: {node: '>=14.0.0'} hasBin: true - tar@7.5.9: - resolution: {integrity: sha512-BTLcK0xsDh2+PUe9F6c2TlRp4zOOBMTkoQHQIWSIzI0R7KG46uEwq4OPk2W7bZcprBMsuaeFsqwYr7pjh6CuHg==} + tar@7.5.10: + resolution: {integrity: sha512-8mOPs1//5q/rlkNSPcCegA6hiHJYDmSLEI8aMH/CdSQJNWztHC9WHNam5zdQlfpTwB9Xp7IBEsHfV5LKMJGVAw==} engines: {node: '>=18'} thenify-all@1.6.0: @@ -2060,7 +2062,7 @@ snapshots: globals: 15.15.0 kolorist: 1.8.0 local-pkg: 1.1.2 - mlly: 1.8.0 + mlly: 1.8.1 transitivePeerDependencies: - supports-color @@ -2110,7 +2112,7 @@ snapshots: node-fetch: 2.7.0 nopt: 8.1.0 semver: 7.7.4 - tar: 7.5.9 + tar: 7.5.10 transitivePeerDependencies: - encoding - supports-color @@ -2154,7 +2156,7 @@ snapshots: '@polka/url@1.0.0-next.29': {} - '@rollup/plugin-commonjs@29.0.0(rollup@4.59.0)': + '@rollup/plugin-commonjs@29.0.2(rollup@4.59.0)': dependencies: '@rollup/pluginutils': 5.3.0(rollup@4.59.0) commondir: 1.0.1 @@ -2265,23 +2267,17 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.59.0': optional: true - '@standard-schema/spec@1.1.0': {} - - '@sveltejs/acorn-typescript@1.0.9(acorn@8.16.0)': + '@sveltejs/adapter-node@5.5.4(@sveltejs/kit@2.20.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)))(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)))': dependencies: - acorn: 8.16.0 - - '@sveltejs/adapter-node@5.5.4(@sveltejs/kit@2.53.3(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.13)))(svelte@4.2.20)(typescript@5.9.3)(vite@5.4.21(@types/node@22.19.13)))': - dependencies: - '@rollup/plugin-commonjs': 29.0.0(rollup@4.59.0) + '@rollup/plugin-commonjs': 29.0.2(rollup@4.59.0) '@rollup/plugin-json': 6.1.0(rollup@4.59.0) '@rollup/plugin-node-resolve': 16.0.3(rollup@4.59.0) - '@sveltejs/kit': 2.53.3(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.13)))(svelte@4.2.20)(typescript@5.9.3)(vite@5.4.21(@types/node@22.19.13)) + '@sveltejs/kit': 2.20.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)))(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)) rollup: 4.59.0 - '@sveltejs/adapter-vercel@5.10.3(@sveltejs/kit@2.53.3(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.13)))(svelte@4.2.20)(typescript@5.9.3)(vite@5.4.21(@types/node@22.19.13)))(rollup@4.59.0)': + '@sveltejs/adapter-vercel@5.10.3(@sveltejs/kit@2.20.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)))(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)))(rollup@4.59.0)': dependencies: - '@sveltejs/kit': 2.53.3(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.13)))(svelte@4.2.20)(typescript@5.9.3)(vite@5.4.21(@types/node@22.19.13)) + '@sveltejs/kit': 2.20.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)))(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)) '@vercel/nft': 0.30.4(rollup@4.59.0) esbuild: 0.26.0 transitivePeerDependencies: @@ -2289,46 +2285,43 @@ snapshots: - rollup - supports-color - '@sveltejs/kit@2.53.3(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.13)))(svelte@4.2.20)(typescript@5.9.3)(vite@5.4.21(@types/node@22.19.13))': + '@sveltejs/kit@2.20.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)))(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15))': dependencies: - '@standard-schema/spec': 1.1.0 - '@sveltejs/acorn-typescript': 1.0.9(acorn@8.16.0) - '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.13)) + '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)) '@types/cookie': 0.6.0 - acorn: 8.16.0 cookie: 1.1.1 devalue: 5.6.3 esm-env: 1.2.2 + import-meta-resolve: 4.2.0 kleur: 4.1.5 magic-string: 0.30.21 mrmime: 2.0.1 - set-cookie-parser: 3.0.1 + sade: 1.8.1 + set-cookie-parser: 2.7.2 sirv: 3.0.2 svelte: 4.2.20 - vite: 5.4.21(@types/node@22.19.13) - optionalDependencies: - typescript: 5.9.3 + vite: 5.4.21(@types/node@22.19.15) - '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.13)))(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.13))': + '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)))(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15))': dependencies: - '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.13)) + '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)) debug: 4.4.3 svelte: 4.2.20 - vite: 5.4.21(@types/node@22.19.13) + vite: 5.4.21(@types/node@22.19.15) transitivePeerDependencies: - supports-color - '@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.13))': + '@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15))': dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.13)))(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.13)) + '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)))(svelte@4.2.20)(vite@5.4.21(@types/node@22.19.15)) debug: 4.4.3 deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.21 svelte: 4.2.20 svelte-hmr: 0.16.0(svelte@4.2.20) - vite: 5.4.21(@types/node@22.19.13) - vitefu: 0.2.5(vite@5.4.21(@types/node@22.19.13)) + vite: 5.4.21(@types/node@22.19.15) + vitefu: 0.2.5(vite@5.4.21(@types/node@22.19.15)) transitivePeerDependencies: - supports-color @@ -2359,7 +2352,7 @@ snapshots: '@types/mapbox__point-geometry': 0.1.4 '@types/pbf': 3.0.5 - '@types/node@22.19.13': + '@types/node@22.19.15': dependencies: undici-types: 6.21.0 @@ -2369,7 +2362,7 @@ snapshots: '@types/qrcode@1.5.6': dependencies: - '@types/node': 22.19.13 + '@types/node': 22.19.15 '@types/resolve@1.20.2': {} @@ -2432,13 +2425,13 @@ snapshots: async-sema@3.1.1: {} - autoprefixer@10.4.27(postcss@8.5.6): + autoprefixer@10.4.27(postcss@8.5.8): dependencies: browserslist: 4.28.1 - caniuse-lite: 1.0.30001774 + caniuse-lite: 1.0.30001777 fraction.js: 5.3.4 picocolors: 1.1.1 - postcss: 8.5.6 + postcss: 8.5.8 postcss-value-parser: 4.2.0 axobject-query@4.1.0: {} @@ -2464,9 +2457,9 @@ snapshots: browserslist@4.28.1: dependencies: baseline-browser-mapping: 2.10.0 - caniuse-lite: 1.0.30001774 - electron-to-chromium: 1.5.302 - node-releases: 2.0.27 + caniuse-lite: 1.0.30001777 + electron-to-chromium: 1.5.307 + node-releases: 2.0.36 update-browserslist-db: 1.2.3(browserslist@4.28.1) buffer-crc32@1.0.0: {} @@ -2475,7 +2468,7 @@ snapshots: camelcase@5.3.1: {} - caniuse-lite@1.0.30001774: {} + caniuse-lite@1.0.30001777: {} chokidar@3.6.0: dependencies: @@ -2564,12 +2557,12 @@ snapshots: es5-ext: 0.10.64 type: 2.7.3 - daisyui@4.12.24(postcss@8.5.6): + daisyui@4.12.24(postcss@8.5.8): dependencies: css-selector-tokenizer: 0.8.0 culori: 3.3.0 picocolors: 1.1.1 - postcss-js: 4.1.0(postcss@8.5.6) + postcss-js: 4.1.0(postcss@8.5.8) transitivePeerDependencies: - postcss @@ -2597,7 +2590,7 @@ snapshots: dlv@1.1.3: {} - dompurify@3.3.1: + dompurify@3.3.2: optionalDependencies: '@types/trusted-types': 2.0.7 @@ -2605,9 +2598,9 @@ snapshots: eastasianwidth@0.2.0: {} - electron-to-chromium@1.5.302: {} + electron-to-chromium@1.5.307: {} - emoji-picker-element@1.29.0: {} + emoji-picker-element@1.29.1: {} emoji-regex@8.0.0: {} @@ -2805,6 +2798,8 @@ snapshots: ieee754@1.2.1: {} + import-meta-resolve@4.2.0: {} + inflight@1.0.6: dependencies: once: 1.4.0 @@ -2885,12 +2880,12 @@ snapshots: local-pkg@0.5.1: dependencies: - mlly: 1.8.0 + mlly: 1.8.1 pkg-types: 1.3.1 local-pkg@1.1.2: dependencies: - mlly: 1.8.0 + mlly: 1.8.1 pkg-types: 2.3.0 quansync: 0.2.11 @@ -2981,7 +2976,7 @@ snapshots: dependencies: minimist: 1.2.8 - mlly@1.8.0: + mlly@1.8.1: dependencies: acorn: 8.16.0 pathe: 2.0.3 @@ -3012,7 +3007,7 @@ snapshots: node-gyp-build@4.8.4: {} - node-releases@2.0.27: {} + node-releases@2.0.36: {} nopt@8.1.0: dependencies: @@ -3085,7 +3080,7 @@ snapshots: pkg-types@1.3.1: dependencies: confbox: 0.1.8 - mlly: 1.8.0 + mlly: 1.8.1 pathe: 2.0.3 pkg-types@2.3.0: @@ -3101,28 +3096,28 @@ snapshots: pngjs@5.0.0: {} - postcss-import@15.1.0(postcss@8.5.6): + postcss-import@15.1.0(postcss@8.5.8): dependencies: - postcss: 8.5.6 + postcss: 8.5.8 postcss-value-parser: 4.2.0 read-cache: 1.0.0 resolve: 1.22.11 - postcss-js@4.1.0(postcss@8.5.6): + postcss-js@4.1.0(postcss@8.5.8): dependencies: camelcase-css: 2.0.1 - postcss: 8.5.6 + postcss: 8.5.8 - postcss-load-config@6.0.1(jiti@1.21.7)(postcss@8.5.6): + postcss-load-config@6.0.1(jiti@1.21.7)(postcss@8.5.8): dependencies: lilconfig: 3.1.3 optionalDependencies: jiti: 1.21.7 - postcss: 8.5.6 + postcss: 8.5.8 - postcss-nested@6.2.0(postcss@8.5.6): + postcss-nested@6.2.0(postcss@8.5.8): dependencies: - postcss: 8.5.6 + postcss: 8.5.8 postcss-selector-parser: 6.1.2 postcss-selector-parser@6.0.10: @@ -3137,7 +3132,7 @@ snapshots: postcss-value-parser@4.2.0: {} - postcss@8.5.6: + postcss@8.5.8: dependencies: nanoid: 3.3.11 picocolors: 1.1.1 @@ -3145,7 +3140,7 @@ snapshots: potpack@2.1.0: {} - prettier-plugin-svelte@3.5.0(prettier@3.8.1)(svelte@4.2.20): + prettier-plugin-svelte@3.5.1(prettier@3.8.1)(svelte@4.2.20): dependencies: prettier: 3.8.1 svelte: 4.2.20 @@ -3256,7 +3251,7 @@ snapshots: set-blocking@2.0.0: {} - set-cookie-parser@3.0.1: {} + set-cookie-parser@2.7.2: {} shebang-command@2.0.0: dependencies: @@ -3321,14 +3316,14 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - svelte-check@3.8.6(postcss@8.5.6)(svelte@4.2.20): + svelte-check@3.8.6(postcss@8.5.8)(svelte@4.2.20): dependencies: '@jridgewell/trace-mapping': 0.3.31 chokidar: 3.6.0 picocolors: 1.1.1 sade: 1.8.1 svelte: 4.2.20 - svelte-preprocess: 5.1.4(postcss@8.5.6)(svelte@4.2.20)(typescript@5.9.3) + svelte-preprocess: 5.1.4(postcss@8.5.8)(svelte@4.2.20)(typescript@5.9.3) typescript: 5.9.3 transitivePeerDependencies: - '@babel/core' @@ -3370,7 +3365,7 @@ snapshots: pmtiles: 3.2.1 svelte: 4.2.20 - svelte-preprocess@5.1.4(postcss@8.5.6)(svelte@4.2.20)(typescript@5.9.3): + svelte-preprocess@5.1.4(postcss@8.5.8)(svelte@4.2.20)(typescript@5.9.3): dependencies: '@types/pug': 2.0.10 detect-indent: 6.1.0 @@ -3379,7 +3374,7 @@ snapshots: strip-indent: 3.0.0 svelte: 4.2.20 optionalDependencies: - postcss: 8.5.6 + postcss: 8.5.8 typescript: 5.9.3 svelte@4.2.20: @@ -3415,11 +3410,11 @@ snapshots: normalize-path: 3.0.0 object-hash: 3.0.0 picocolors: 1.1.1 - postcss: 8.5.6 - postcss-import: 15.1.0(postcss@8.5.6) - postcss-js: 4.1.0(postcss@8.5.6) - postcss-load-config: 6.0.1(jiti@1.21.7)(postcss@8.5.6) - postcss-nested: 6.2.0(postcss@8.5.6) + postcss: 8.5.8 + postcss-import: 15.1.0(postcss@8.5.8) + postcss-js: 4.1.0(postcss@8.5.8) + postcss-load-config: 6.0.1(jiti@1.21.7)(postcss@8.5.8) + postcss-nested: 6.2.0(postcss@8.5.8) postcss-selector-parser: 6.1.2 resolve: 1.22.11 sucrase: 3.35.1 @@ -3427,7 +3422,7 @@ snapshots: - tsx - yaml - tar@7.5.9: + tar@7.5.10: dependencies: '@isaacs/fs-minipass': 4.0.1 chownr: 3.0.0 @@ -3509,18 +3504,18 @@ snapshots: util-deprecate@1.0.2: {} - vite@5.4.21(@types/node@22.19.13): + vite@5.4.21(@types/node@22.19.15): dependencies: esbuild: 0.26.0 - postcss: 8.5.6 + postcss: 8.5.8 rollup: 4.59.0 optionalDependencies: - '@types/node': 22.19.13 + '@types/node': 22.19.15 fsevents: 2.3.3 - vitefu@0.2.5(vite@5.4.21(@types/node@22.19.13)): + vitefu@0.2.5(vite@5.4.21(@types/node@22.19.15)): optionalDependencies: - vite: 5.4.21(@types/node@22.19.13) + vite: 5.4.21(@types/node@22.19.15) vt-pbf@3.1.3: dependencies: diff --git a/frontend/src/lib/components/cards/LocationCard.svelte b/frontend/src/lib/components/cards/LocationCard.svelte index dcacc918..be4d894b 100644 --- a/frontend/src/lib/components/cards/LocationCard.svelte +++ b/frontend/src/lib/components/cards/LocationCard.svelte @@ -276,7 +276,7 @@ {/if}
{#if showImage} diff --git a/frontend/src/lib/components/collections/CollectionItineraryPlanner.svelte b/frontend/src/lib/components/collections/CollectionItineraryPlanner.svelte index c67ba507..0dba9f7e 100644 --- a/frontend/src/lib/components/collections/CollectionItineraryPlanner.svelte +++ b/frontend/src/lib/components/collections/CollectionItineraryPlanner.svelte @@ -560,12 +560,28 @@ }; } + function findNextLocationItem( + items: ResolvedItineraryItem[], + currentIndex: number + ): ResolvedItineraryItem | null { + for (let index = currentIndex + 1; index < items.length; index += 1) { + const candidate = items[index]; + if ((candidate?.item?.type || '') === 'location') { + return candidate; + } + } + + return null; + } + function getConnectorPairs(dayGroups: DayGroup[]): ConnectorPair[] { const pairs: ConnectorPair[] = []; for (const dayGroup of dayGroups) { for (let index = 0; index < dayGroup.items.length - 1; index += 1) { - const pair = getConnectorPair(dayGroup.items[index], dayGroup.items[index + 1]); + const currentItem = dayGroup.items[index]; + const nextLocationItem = findNextLocationItem(dayGroup.items, index); + const pair = getConnectorPair(currentItem, nextLocationItem); if (pair) pairs.push(pair); } } @@ -2366,8 +2382,8 @@ {@const objectType = item.item?.type || ''} {@const resolvedObj = item.resolvedObject} {@const multiDay = isMultiDay(item)} - {@const nextItem = index < day.items.length - 1 ? day.items[index + 1] : null} - {@const locationConnector = getLocationConnector(item, nextItem)} + {@const nextLocationItem = findNextLocationItem(day.items, index)} + {@const locationConnector = getLocationConnector(item, nextLocationItem)} {@const isDraggingShadow = item[SHADOW_ITEM_MARKER_PROPERTY_NAME]}