3
.crontab
3
.crontab
@@ -1,3 +0,0 @@
|
|||||||
# Jeden Monat müssen wir die neuen Klimafaktoren vom DWD abholen, der Cronjob läuft immer am 28. für die höchste Wahrscheinlichkeit
|
|
||||||
# dass die Daten schon da sind, falls der DWD mal später dran ist...
|
|
||||||
0 12 28 * * bun ./src/cronjobs/update-dwd-klimafaktoren.ts
|
|
||||||
@@ -2,7 +2,7 @@ name: Auto Merge Staging into Main
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 2 * * *' # 2:00 UTC = 4:00 CET
|
- cron: '0 2 * * *' # 2:00 UTC = 4:00 Europäische Zeit
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -27,17 +27,29 @@ jobs:
|
|||||||
- name: Check if main has commits not in staging
|
- name: Check if main has commits not in staging
|
||||||
id: check
|
id: check
|
||||||
run: |
|
run: |
|
||||||
if ! git merge-base --is-ancestor origin/staging origin/main; then
|
git fetch origin
|
||||||
echo "Main hat neuere Commits als Staging. Merge wird abgebrochen."
|
if [ $(git rev-list --count origin/staging..origin/main) -gt 0 ]; then
|
||||||
|
echo "❌ Staging is behind main and requires manual merging."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Merge staging into main
|
- name: Create PR from staging to main
|
||||||
if: steps.check.outcome == 'success'
|
id: create_pr
|
||||||
run: |
|
run: |
|
||||||
git checkout main
|
PR_URL=$(gh pr create --base main --head staging --title "Auto-merge staging into main" --body "This PR was created automatically by GitHub Actions. It merges the latest \`staging\` into \`main\`.")
|
||||||
git merge origin/staging --no-ff --no-edit
|
echo "PR_URL=$PR_URL" >> $GITHUB_OUTPUT
|
||||||
git push origin main
|
PR_NUMBER=$(echo $PR_URL | awk -F'/' '{print $NF}')
|
||||||
|
echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_OUTPUT
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Enable auto-merge on PR
|
||||||
|
if: steps.create_pr.outputs.PR_NUMBER != ''
|
||||||
|
run: |
|
||||||
|
gh pr merge ${{ steps.create_pr.outputs.PR_NUMBER }} --merge --auto
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
||||||
notify_failure:
|
notify_failure:
|
||||||
needs: merge
|
needs: merge
|
||||||
@@ -49,16 +61,4 @@ jobs:
|
|||||||
curl -H "Content-Type: application/json" \
|
curl -H "Content-Type: application/json" \
|
||||||
-X POST \
|
-X POST \
|
||||||
-d "{\"content\": \"🚨 Auto-Merge fehlgeschlagen! Bitte manuell prüfen: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"}" \
|
-d "{\"content\": \"🚨 Auto-Merge fehlgeschlagen! Bitte manuell prüfen: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"}" \
|
||||||
${{ secrets.DISCORD_WEBHOOK_URL }}
|
|
||||||
|
|
||||||
notify_success:
|
|
||||||
needs: merge
|
|
||||||
if: success()
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Send Discord notification on success
|
|
||||||
run: |
|
|
||||||
curl -H "Content-Type: application/json" \
|
|
||||||
-X POST \
|
|
||||||
-d "{\"content\": \"✅ Auto-Merge ausgeführt! Ergebnis jetzt auf [GitHub](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) und [online-energieausweis.org](https://online-energieausweis.org) einsehen.\"}" \
|
|
||||||
${{ secrets.DISCORD_WEBHOOK_URL }}
|
${{ secrets.DISCORD_WEBHOOK_URL }}
|
||||||
39
.ssh/id_rsa
39
.ssh/id_rsa
@@ -1,39 +0,0 @@
|
|||||||
-----BEGIN OPENSSH PRIVATE KEY-----
|
|
||||||
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn
|
|
||||||
NhAAAAAwEAAQAAAYEAzUGXt3GYcT3344iWGGGcgL0zDKhkrieikZ+yqzDpLuEzRwu3epuT
|
|
||||||
mvmHpT45awHyWr6pgOPpD7MGSDo13BVRAjCapYC23RL87E3ZRaH6aezVtV+tjl6vcCRtQx
|
|
||||||
4uQWOtGzV8Mi84ErBxt3xKo19ieyVoJnJig9W7oLbf46I0/3Jz31SRQokfoDc7TFHrtVE2
|
|
||||||
1UZgxNuDfKMhMsBaZcPNP+Rbpcs7s8Bd3Q1PfrbA6bTGGa4DYAR5Hgm+z/FMcu1PSrAA4f
|
|
||||||
x+YxQrgNC4TNl8T3HSsGnnthNoQMCcl3LcAiy0C1JaWqXWGjYwawnfUdgB2nhb9i5t+yvb
|
|
||||||
T/UL1+obIhJRx9EaK4CScNraa0ZWmawl/NY6Dumvly8OpeUwMaynsZEFPEZVxdXFUHVRLR
|
|
||||||
74NGx23sq6qPYZuy5bFhbPJqIXsh2Pl6gvFE6HZcm5U6jgJOaHt98MSFIkILtWeab0cSmC
|
|
||||||
Aokt8XF+/ezu37mbEvNzCNZpFYG9d6MXuK5HOG0xAAAFqMTKAD/EygA/AAAAB3NzaC1yc2
|
|
||||||
EAAAGBAM1Bl7dxmHE99+OIlhhhnIC9MwyoZK4nopGfsqsw6S7hM0cLt3qbk5r5h6U+OWsB
|
|
||||||
8lq+qYDj6Q+zBkg6NdwVUQIwmqWAtt0S/OxN2UWh+mns1bVfrY5er3AkbUMeLkFjrRs1fD
|
|
||||||
IvOBKwcbd8SqNfYnslaCZyYoPVu6C23+OiNP9yc99UkUKJH6A3O0xR67VRNtVGYMTbg3yj
|
|
||||||
ITLAWmXDzT/kW6XLO7PAXd0NT362wOm0xhmuA2AEeR4Jvs/xTHLtT0qwAOH8fmMUK4DQuE
|
|
||||||
zZfE9x0rBp57YTaEDAnJdy3AIstAtSWlql1ho2MGsJ31HYAdp4W/Yubfsr20/1C9fqGyIS
|
|
||||||
UcfRGiuAknDa2mtGVpmsJfzWOg7pr5cvDqXlMDGsp7GRBTxGVcXVxVB1US0e+DRsdt7Kuq
|
|
||||||
j2GbsuWxYWzyaiF7Idj5eoLxROh2XJuVOo4CTmh7ffDEhSJCC7Vnmm9HEpggKJLfFxfv3s
|
|
||||||
7t+5mxLzcwjWaRWBvXejF7iuRzhtMQAAAAMBAAEAAAGAOgLIWPHzlknf1kCDv2dTHrWaiI
|
|
||||||
DNV8Ve9o5upmCf/v5qCjHfDPmMibftpP/FpZ86unf5mzKO6796zo4ZK9cgeqB3DMCorinQ
|
|
||||||
Lw8/kaUai7aCngzpFfxf1C+Pa/FLPHLp+W8v51UeIXYZ5bRsuejbAhgL7BXXDxCow178Py
|
|
||||||
9YkDvuUNfraCUuOY9ypHrgxfGqsDOAZRLvghnu55Oi2PEygNTPLDgY6xA61x+McLFBK6xK
|
|
||||||
cvaSAKCzBJDXi5jUtQSpqykEpPSQHnD1PvbsLWIJoaolhaew9gv0ADu3iVIWFLeBMAuwQB
|
|
||||||
N6fWRjJBT3hD9vmQ39OOCDkbpoATugAu3EOvY9pGLzN0Xf1Epc71eHLJj79hDC4H7Brz7A
|
|
||||||
bOmkUNFtLOZR4ZoHfpm8N3taZ7IdXX/PA3VLCh9qhbFcaUp3uTpXRxTSvHBL03Gl/BQY19
|
|
||||||
23FevrBH4GobkMpRVCWFFLawC4e9GPPB2QvQAq19W4RvoKmrOZCAa+VoKZKzCsLqG7AAAA
|
|
||||||
wA9sQSy5+KfXVrkQOaF8OrEBI4g2yd8Q3RNpGMVIWfFtKIL1CCht9UxaOnJC7r/xos9Y6H
|
|
||||||
LVnMB9tozQTFf0R3S8H90AAyS6uEzuW6BWDwbQBJvmkPL8gG/AszZWJU9JBfiAHvaWM00A
|
|
||||||
QwzIv2+veCA2TcYIKhyiXg8r6fOQNLYkSYPpasycJy0nFknCC5Ma6XBgdzHm8QGSD4NfTZ
|
|
||||||
jbO+uK2z5ZzM+BUprj4Af3vOXqiDD66aZbKdcwzcTRLVy/rgAAAMEA8B/4ilNBG7Z/sYGB
|
|
||||||
zcBz52dkCG4tfsiY1dDYqEsDnLxF39giZj7Q0yLOHf52lt4GVEneCa5v8Q8jnN6zHZHt9A
|
|
||||||
C4P6DxtD/D28CGF3smMw6ai+W7fsl1OgEIYfSA9iKzh+sA3egSakiqKAk4H9soE9ZgERkx
|
|
||||||
cFuDljNGk+cekdzizpE2bmHfx4FscBcJxlZAeI35jSV5u6wzIkB2W13bq8nEI8VRu/n+PV
|
|
||||||
luxwuy6B5bUfuUDxL9W9Wr9P8t9mkHAAAAwQDa03teSRCRU/ymaua+sv3ysIDOUeSb09vf
|
|
||||||
8wX9xQpFq50CM99S3bGnwWk4A66JlK70rfWb3yoo5+Bmi22VRckQbhFhGBSWjnkKtAz5Mo
|
|
||||||
dXHOlcfPcXtxpOW4xwCsoNhnwaELt09b2BjkwWl5gdYUPHs2rIhSupK3otFN5j5GuVd6gf
|
|
||||||
bSuqavru4Xi5sySWyhKX2y+FkCDeNeOkIFeA12NNvoF4w+osLoz4GLdtydEhwSXUP9U+mr
|
|
||||||
lRqC1/Jc8qggcAAAAxbW9yaXR6QG1vcml0ei1BU1VTLVRVRi1HYW1pbmctQTE1LUZBNTA3
|
|
||||||
TlYtRkE1MDdOVgEC
|
|
||||||
-----END OPENSSH PRIVATE KEY-----
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDNQZe3cZhxPffjiJYYYZyAvTMMqGSuJ6KRn7KrMOku4TNHC7d6m5Oa+YelPjlrAfJavqmA4+kPswZIOjXcFVECMJqlgLbdEvzsTdlFofpp7NW1X62OXq9wJG1DHi5BY60bNXwyLzgSsHG3fEqjX2J7JWgmcmKD1bugtt/jojT/cnPfVJFCiR+gNztMUeu1UTbVRmDE24N8oyEywFplw80/5FulyzuzwF3dDU9+tsDptMYZrgNgBHkeCb7P8Uxy7U9KsADh/H5jFCuA0LhM2XxPcdKwaee2E2hAwJyXctwCLLQLUlpapdYaNjBrCd9R2AHaeFv2Lm37K9tP9QvX6hsiElHH0RorgJJw2tprRlaZrCX81joO6a+XLw6l5TAxrKexkQU8RlXF1cVQdVEtHvg0bHbeyrqo9hm7LlsWFs8moheyHY+XqC8UTodlyblTqOAk5oe33wxIUiQgu1Z5pvRxKYICiS3xcX797O7fuZsS83MI1mkVgb13oxe4rkc4bTE= moritz@moritz-ASUS-TUF-Gaming-A15-FA507NV-FA507NV
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
8
Makefile
8
Makefile
@@ -1,4 +1,4 @@
|
|||||||
.PHONY: dev online-energieausweis all prod backup run-database build-database install-dependencies wait-for-database prod database prisma-studio backup-database-cronjob
|
.PHONY: dev online-energieausweis all prod backup run-database build-database install-dependencies wait-for-database prod database prisma-studio backup-database-cronjob update-dwd-klimafaktoren-cron
|
||||||
|
|
||||||
DB_CONTAINER_NAME := database
|
DB_CONTAINER_NAME := database
|
||||||
DB_NAME := main
|
DB_NAME := main
|
||||||
@@ -30,6 +30,7 @@ run-database: stop-database
|
|||||||
docker volume create $(DB_VOLUME)
|
docker volume create $(DB_VOLUME)
|
||||||
docker build -t $(DB_CONTAINER_NAME) .
|
docker build -t $(DB_CONTAINER_NAME) .
|
||||||
docker run -d --name $(DB_CONTAINER_NAME) \
|
docker run -d --name $(DB_CONTAINER_NAME) \
|
||||||
|
--restart=always \
|
||||||
-e POSTGRES_USER=$(DB_USER) \
|
-e POSTGRES_USER=$(DB_USER) \
|
||||||
-e POSTGRES_PASSWORD=$(DB_PASSWORD) \
|
-e POSTGRES_PASSWORD=$(DB_PASSWORD) \
|
||||||
-p $(DB_PORT):5432 \
|
-p $(DB_PORT):5432 \
|
||||||
@@ -57,7 +58,10 @@ all:
|
|||||||
mkdir -p ~/logs
|
mkdir -p ~/logs
|
||||||
bun run dev 2>&1 | tee ~/logs/`date '+%d-%m-%Y_%H:%M:%S'`.log
|
bun run dev 2>&1 | tee ~/logs/`date '+%d-%m-%Y_%H:%M:%S'`.log
|
||||||
|
|
||||||
prod: install-dependencies prisma-studio backup-database-cronjob
|
update-dwd-klimafaktoren-cron:
|
||||||
|
pm2 start bun --name "update-dwd-klimafaktoren-cron" --cron "0 12 28 * *" -- src/cronjobs/update-dwd-klimafaktoren.ts
|
||||||
|
|
||||||
|
prod: install-dependencies prisma-studio backup-database-cronjob update-dwd-klimafaktoren-cron
|
||||||
bun run build
|
bun run build
|
||||||
mkdir -p ~/logs
|
mkdir -p ~/logs
|
||||||
mkdir -p ~/persistent/online-energieausweis
|
mkdir -p ~/persistent/online-energieausweis
|
||||||
|
|||||||
146
bun.lock
146
bun.lock
@@ -38,6 +38,7 @@
|
|||||||
"nodemailer": "^6.10.0",
|
"nodemailer": "^6.10.0",
|
||||||
"pdf-lib": "^1.17.1",
|
"pdf-lib": "^1.17.1",
|
||||||
"postcss-nested": "^7.0.2",
|
"postcss-nested": "^7.0.2",
|
||||||
|
"puppeteer": "^24.7.2",
|
||||||
"radix-svelte-icons": "^1.0.0",
|
"radix-svelte-icons": "^1.0.0",
|
||||||
"sass": "^1.83.4",
|
"sass": "^1.83.4",
|
||||||
"sharp": "^0.33.5",
|
"sharp": "^0.33.5",
|
||||||
@@ -52,6 +53,7 @@
|
|||||||
"tailwindcss": "^3.4.17",
|
"tailwindcss": "^3.4.17",
|
||||||
"trpc-openapi": "^1.2.0",
|
"trpc-openapi": "^1.2.0",
|
||||||
"uuid": "^9.0.1",
|
"uuid": "^9.0.1",
|
||||||
|
"winston": "^3.17.0",
|
||||||
"zod": "^3.24.1",
|
"zod": "^3.24.1",
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -253,7 +255,7 @@
|
|||||||
|
|
||||||
"@cfcs/core": ["@cfcs/core@0.0.6", "", { "dependencies": { "@egjs/component": "^3.0.2" } }, "sha512-FxfJMwoLB8MEMConeXUCqtMGqxdtePQxRBOiGip9ULcYYam3WfCgoY6xdnMaSkYvRvmosp5iuG+TiPofm65+Pw=="],
|
"@cfcs/core": ["@cfcs/core@0.0.6", "", { "dependencies": { "@egjs/component": "^3.0.2" } }, "sha512-FxfJMwoLB8MEMConeXUCqtMGqxdtePQxRBOiGip9ULcYYam3WfCgoY6xdnMaSkYvRvmosp5iuG+TiPofm65+Pw=="],
|
||||||
|
|
||||||
"@colors/colors": ["@colors/colors@1.5.0", "", {}, "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ=="],
|
"@colors/colors": ["@colors/colors@1.6.0", "", {}, "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA=="],
|
||||||
|
|
||||||
"@csstools/selector-resolve-nested": ["@csstools/selector-resolve-nested@3.0.0", "", { "peerDependencies": { "postcss-selector-parser": "^7.0.0" } }, "sha512-ZoK24Yku6VJU1gS79a5PFmC8yn3wIapiKmPgun0hZgEI5AOqgH2kiPRsPz1qkGv4HL+wuDLH83yQyk6inMYrJQ=="],
|
"@csstools/selector-resolve-nested": ["@csstools/selector-resolve-nested@3.0.0", "", { "peerDependencies": { "postcss-selector-parser": "^7.0.0" } }, "sha512-ZoK24Yku6VJU1gS79a5PFmC8yn3wIapiKmPgun0hZgEI5AOqgH2kiPRsPz1qkGv4HL+wuDLH83yQyk6inMYrJQ=="],
|
||||||
|
|
||||||
@@ -265,6 +267,8 @@
|
|||||||
|
|
||||||
"@cypress/xvfb": ["@cypress/xvfb@1.2.4", "", { "dependencies": { "debug": "^3.1.0", "lodash.once": "^4.1.1" } }, "sha512-skbBzPggOVYCbnGgV+0dmBdW/s77ZkAOXIC1knS8NagwDjBrNC1LuXtQJeiN6l+m7lzmHtaoUw/ctJKdqkG57Q=="],
|
"@cypress/xvfb": ["@cypress/xvfb@1.2.4", "", { "dependencies": { "debug": "^3.1.0", "lodash.once": "^4.1.1" } }, "sha512-skbBzPggOVYCbnGgV+0dmBdW/s77ZkAOXIC1knS8NagwDjBrNC1LuXtQJeiN6l+m7lzmHtaoUw/ctJKdqkG57Q=="],
|
||||||
|
|
||||||
|
"@dabh/diagnostics": ["@dabh/diagnostics@2.0.3", "", { "dependencies": { "colorspace": "1.1.x", "enabled": "2.0.x", "kuler": "^2.0.0" } }, "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA=="],
|
||||||
|
|
||||||
"@daybrush/utils": ["@daybrush/utils@1.13.0", "", {}, "sha512-ALK12C6SQNNHw1enXK+UO8bdyQ+jaWNQ1Af7Z3FNxeAwjYhQT7do+TRE4RASAJ3ObaS2+TJ7TXR3oz2Gzbw0PQ=="],
|
"@daybrush/utils": ["@daybrush/utils@1.13.0", "", {}, "sha512-ALK12C6SQNNHw1enXK+UO8bdyQ+jaWNQ1Af7Z3FNxeAwjYhQT7do+TRE4RASAJ3ObaS2+TJ7TXR3oz2Gzbw0PQ=="],
|
||||||
|
|
||||||
"@dnd-kit/accessibility": ["@dnd-kit/accessibility@3.1.1", "", { "dependencies": { "tslib": "^2.0.0" }, "peerDependencies": { "react": ">=16.8.0" } }, "sha512-2P+YgaXF+gRsIihwwY1gCsQSYnu9Zyj2py8kY5fFvUM1qm2WA2u639R6YNVfU4GWr+ZM5mqEsfHZZLoRONbemw=="],
|
"@dnd-kit/accessibility": ["@dnd-kit/accessibility@3.1.1", "", { "dependencies": { "tslib": "^2.0.0" }, "peerDependencies": { "react": ">=16.8.0" } }, "sha512-2P+YgaXF+gRsIihwwY1gCsQSYnu9Zyj2py8kY5fFvUM1qm2WA2u639R6YNVfU4GWr+ZM5mqEsfHZZLoRONbemw=="],
|
||||||
@@ -519,6 +523,8 @@
|
|||||||
|
|
||||||
"@proload/core": ["@proload/core@0.3.3", "", { "dependencies": { "deepmerge": "^4.2.2", "escalade": "^3.1.1" } }, "sha512-7dAFWsIK84C90AMl24+N/ProHKm4iw0akcnoKjRvbfHifJZBLhaDsDus1QJmhG12lXj4e/uB/8mB/0aduCW+NQ=="],
|
"@proload/core": ["@proload/core@0.3.3", "", { "dependencies": { "deepmerge": "^4.2.2", "escalade": "^3.1.1" } }, "sha512-7dAFWsIK84C90AMl24+N/ProHKm4iw0akcnoKjRvbfHifJZBLhaDsDus1QJmhG12lXj4e/uB/8mB/0aduCW+NQ=="],
|
||||||
|
|
||||||
|
"@puppeteer/browsers": ["@puppeteer/browsers@2.10.2", "", { "dependencies": { "debug": "^4.4.0", "extract-zip": "^2.0.1", "progress": "^2.0.3", "proxy-agent": "^6.5.0", "semver": "^7.7.1", "tar-fs": "^3.0.8", "yargs": "^17.7.2" }, "bin": { "browsers": "lib/cjs/main-cli.js" } }, "sha512-i4Ez+s9oRWQbNjtI/3+jxr7OH508mjAKvza0ekPJem0ZtmsYHP3B5dq62+IaBHKaGCOuqJxXzvFLUhJvQ6jtsQ=="],
|
||||||
|
|
||||||
"@rc-component/async-validator": ["@rc-component/async-validator@5.0.4", "", { "dependencies": { "@babel/runtime": "^7.24.4" } }, "sha512-qgGdcVIF604M9EqjNF0hbUTz42bz/RDtxWdWuU5EQe3hi7M8ob54B6B35rOsvX5eSvIHIzT9iH1R3n+hk3CGfg=="],
|
"@rc-component/async-validator": ["@rc-component/async-validator@5.0.4", "", { "dependencies": { "@babel/runtime": "^7.24.4" } }, "sha512-qgGdcVIF604M9EqjNF0hbUTz42bz/RDtxWdWuU5EQe3hi7M8ob54B6B35rOsvX5eSvIHIzT9iH1R3n+hk3CGfg=="],
|
||||||
|
|
||||||
"@rc-component/color-picker": ["@rc-component/color-picker@2.0.1", "", { "dependencies": { "@ant-design/fast-color": "^2.0.6", "@babel/runtime": "^7.23.6", "classnames": "^2.2.6", "rc-util": "^5.38.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-WcZYwAThV/b2GISQ8F+7650r5ZZJ043E57aVBFkQ+kSY4C6wdofXgB0hBx+GPGpIU0Z81eETNoDUJMr7oy/P8Q=="],
|
"@rc-component/color-picker": ["@rc-component/color-picker@2.0.1", "", { "dependencies": { "@ant-design/fast-color": "^2.0.6", "@babel/runtime": "^7.23.6", "classnames": "^2.2.6", "rc-util": "^5.38.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }, "sha512-WcZYwAThV/b2GISQ8F+7650r5ZZJ043E57aVBFkQ+kSY4C6wdofXgB0hBx+GPGpIU0Z81eETNoDUJMr7oy/P8Q=="],
|
||||||
@@ -713,6 +719,8 @@
|
|||||||
|
|
||||||
"@tailwindcss/typography": ["@tailwindcss/typography@0.5.16", "", { "dependencies": { "lodash.castarray": "^4.4.0", "lodash.isplainobject": "^4.0.6", "lodash.merge": "^4.6.2", "postcss-selector-parser": "6.0.10" }, "peerDependencies": { "tailwindcss": ">=3.0.0 || insiders || >=4.0.0-alpha.20 || >=4.0.0-beta.1" } }, "sha512-0wDLwCVF5V3x3b1SGXPCDcdsbDHMBe+lkFzBRaHeLvNi+nrrnZ1lA18u+OTWO8iSWU2GxUOCvlXtDuqftc1oiA=="],
|
"@tailwindcss/typography": ["@tailwindcss/typography@0.5.16", "", { "dependencies": { "lodash.castarray": "^4.4.0", "lodash.isplainobject": "^4.0.6", "lodash.merge": "^4.6.2", "postcss-selector-parser": "6.0.10" }, "peerDependencies": { "tailwindcss": ">=3.0.0 || insiders || >=4.0.0-alpha.20 || >=4.0.0-beta.1" } }, "sha512-0wDLwCVF5V3x3b1SGXPCDcdsbDHMBe+lkFzBRaHeLvNi+nrrnZ1lA18u+OTWO8iSWU2GxUOCvlXtDuqftc1oiA=="],
|
||||||
|
|
||||||
|
"@tootallnate/quickjs-emscripten": ["@tootallnate/quickjs-emscripten@0.23.0", "", {}, "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA=="],
|
||||||
|
|
||||||
"@trpc/client": ["@trpc/client@10.45.2", "", { "peerDependencies": { "@trpc/server": "10.45.2" } }, "sha512-ykALM5kYWTLn1zYuUOZ2cPWlVfrXhc18HzBDyRhoPYN0jey4iQHEFSEowfnhg1RvYnrAVjNBgHNeSAXjrDbGwg=="],
|
"@trpc/client": ["@trpc/client@10.45.2", "", { "peerDependencies": { "@trpc/server": "10.45.2" } }, "sha512-ykALM5kYWTLn1zYuUOZ2cPWlVfrXhc18HzBDyRhoPYN0jey4iQHEFSEowfnhg1RvYnrAVjNBgHNeSAXjrDbGwg=="],
|
||||||
|
|
||||||
"@trpc/server": ["@trpc/server@10.45.2", "", {}, "sha512-wOrSThNNE4HUnuhJG6PfDRp4L2009KDVxsd+2VYH8ro6o/7/jwYZ8Uu5j+VaW+mOmc8EHerHzGcdbGNQSAUPgg=="],
|
"@trpc/server": ["@trpc/server@10.45.2", "", {}, "sha512-wOrSThNNE4HUnuhJG6PfDRp4L2009KDVxsd+2VYH8ro6o/7/jwYZ8Uu5j+VaW+mOmc8EHerHzGcdbGNQSAUPgg=="],
|
||||||
@@ -813,6 +821,8 @@
|
|||||||
|
|
||||||
"@types/ssh2-sftp-client": ["@types/ssh2-sftp-client@9.0.4", "", { "dependencies": { "@types/ssh2": "^1.0.0" } }, "sha512-gnIn56MTB9W3A3hPL/1sHI23t8YwcE3eVYa1O2XjT9vaqimFdtNHxyQiy5Y78+ociQTKazMSD8YyMEO4QjNMrg=="],
|
"@types/ssh2-sftp-client": ["@types/ssh2-sftp-client@9.0.4", "", { "dependencies": { "@types/ssh2": "^1.0.0" } }, "sha512-gnIn56MTB9W3A3hPL/1sHI23t8YwcE3eVYa1O2XjT9vaqimFdtNHxyQiy5Y78+ociQTKazMSD8YyMEO4QjNMrg=="],
|
||||||
|
|
||||||
|
"@types/triple-beam": ["@types/triple-beam@1.3.5", "", {}, "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw=="],
|
||||||
|
|
||||||
"@types/unist": ["@types/unist@3.0.3", "", {}, "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q=="],
|
"@types/unist": ["@types/unist@3.0.3", "", {}, "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q=="],
|
||||||
|
|
||||||
"@types/uuid": ["@types/uuid@9.0.8", "", {}, "sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA=="],
|
"@types/uuid": ["@types/uuid@9.0.8", "", {}, "sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA=="],
|
||||||
@@ -909,6 +919,8 @@
|
|||||||
|
|
||||||
"assert-plus": ["assert-plus@1.0.0", "", {}, "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw=="],
|
"assert-plus": ["assert-plus@1.0.0", "", {}, "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw=="],
|
||||||
|
|
||||||
|
"ast-types": ["ast-types@0.13.4", "", { "dependencies": { "tslib": "^2.0.1" } }, "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w=="],
|
||||||
|
|
||||||
"astral-regex": ["astral-regex@2.0.0", "", {}, "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ=="],
|
"astral-regex": ["astral-regex@2.0.0", "", {}, "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ=="],
|
||||||
|
|
||||||
"astring": ["astring@1.9.0", "", { "bin": { "astring": "bin/astring" } }, "sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg=="],
|
"astring": ["astring@1.9.0", "", { "bin": { "astring": "bin/astring" } }, "sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg=="],
|
||||||
@@ -939,16 +951,30 @@
|
|||||||
|
|
||||||
"axobject-query": ["axobject-query@4.1.0", "", {}, "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ=="],
|
"axobject-query": ["axobject-query@4.1.0", "", {}, "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ=="],
|
||||||
|
|
||||||
|
"b4a": ["b4a@1.6.7", "", {}, "sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg=="],
|
||||||
|
|
||||||
"babel-runtime": ["babel-runtime@6.26.0", "", { "dependencies": { "core-js": "^2.4.0", "regenerator-runtime": "^0.11.0" } }, "sha512-ITKNuq2wKlW1fJg9sSW52eepoYgZBggvOAHC0u/CYu/qxQ9EVzThCgR69BnSXLHjy2f7SY5zaQ4yt7H9ZVxY2g=="],
|
"babel-runtime": ["babel-runtime@6.26.0", "", { "dependencies": { "core-js": "^2.4.0", "regenerator-runtime": "^0.11.0" } }, "sha512-ITKNuq2wKlW1fJg9sSW52eepoYgZBggvOAHC0u/CYu/qxQ9EVzThCgR69BnSXLHjy2f7SY5zaQ4yt7H9ZVxY2g=="],
|
||||||
|
|
||||||
"bail": ["bail@2.0.2", "", {}, "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw=="],
|
"bail": ["bail@2.0.2", "", {}, "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw=="],
|
||||||
|
|
||||||
"balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="],
|
"balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="],
|
||||||
|
|
||||||
|
"bare-events": ["bare-events@2.5.4", "", {}, "sha512-+gFfDkR8pj4/TrWCGUGWmJIkBwuxPS5F+a5yWjOHQt2hHvNZd5YLzadjmDUtFmMM4y429bnKLa8bYBMHcYdnQA=="],
|
||||||
|
|
||||||
|
"bare-fs": ["bare-fs@4.1.3", "", { "dependencies": { "bare-events": "^2.5.4", "bare-path": "^3.0.0", "bare-stream": "^2.6.4" }, "peerDependencies": { "bare-buffer": "*" }, "optionalPeers": ["bare-buffer"] }, "sha512-OeEZYIg+2qepaWLyphaOXHAHKo3xkM8y3BeGAvHdMN8GNWvEAU1Yw6rYpGzu/wDDbKxgEjVeVDpgGhDzaeMpjg=="],
|
||||||
|
|
||||||
|
"bare-os": ["bare-os@3.6.1", "", {}, "sha512-uaIjxokhFidJP+bmmvKSgiMzj2sV5GPHaZVAIktcxcpCyBFFWO+YlikVAdhmUo2vYFvFhOXIAlldqV29L8126g=="],
|
||||||
|
|
||||||
|
"bare-path": ["bare-path@3.0.0", "", { "dependencies": { "bare-os": "^3.0.1" } }, "sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw=="],
|
||||||
|
|
||||||
|
"bare-stream": ["bare-stream@2.6.5", "", { "dependencies": { "streamx": "^2.21.0" }, "peerDependencies": { "bare-buffer": "*", "bare-events": "*" }, "optionalPeers": ["bare-buffer", "bare-events"] }, "sha512-jSmxKJNJmHySi6hC42zlZnq00rga4jjxcgNZjY9N5WlOe/iOoGRtdwGsHzQv2RlH2KOYMwGUXhf2zXd32BA9RA=="],
|
||||||
|
|
||||||
"base-64": ["base-64@1.0.0", "", {}, "sha512-kwDPIFCGx0NZHog36dj+tHiwP4QMzsZ3AgMViUBKI0+V5n4U0ufTCUMhnQ04diaRI8EX/QcPfql7zlhZ7j4zgg=="],
|
"base-64": ["base-64@1.0.0", "", {}, "sha512-kwDPIFCGx0NZHog36dj+tHiwP4QMzsZ3AgMViUBKI0+V5n4U0ufTCUMhnQ04diaRI8EX/QcPfql7zlhZ7j4zgg=="],
|
||||||
|
|
||||||
"base64-js": ["base64-js@1.5.1", "", {}, "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="],
|
"base64-js": ["base64-js@1.5.1", "", {}, "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="],
|
||||||
|
|
||||||
|
"basic-ftp": ["basic-ftp@5.0.5", "", {}, "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg=="],
|
||||||
|
|
||||||
"bcrypt-pbkdf": ["bcrypt-pbkdf@1.0.2", "", { "dependencies": { "tweetnacl": "^0.14.3" } }, "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w=="],
|
"bcrypt-pbkdf": ["bcrypt-pbkdf@1.0.2", "", { "dependencies": { "tweetnacl": "^0.14.3" } }, "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w=="],
|
||||||
|
|
||||||
"binary-extensions": ["binary-extensions@2.3.0", "", {}, "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw=="],
|
"binary-extensions": ["binary-extensions@2.3.0", "", {}, "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw=="],
|
||||||
@@ -1031,6 +1057,8 @@
|
|||||||
|
|
||||||
"chownr": ["chownr@2.0.0", "", {}, "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ=="],
|
"chownr": ["chownr@2.0.0", "", {}, "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ=="],
|
||||||
|
|
||||||
|
"chromium-bidi": ["chromium-bidi@4.1.1", "", { "dependencies": { "mitt": "^3.0.1", "zod": "^3.24.1" }, "peerDependencies": { "devtools-protocol": "*" } }, "sha512-biR7t4vF3YluE6RlMSk9IWk+b9U+WWyzHp+N2pL9vRTk+UXHYRTVp7jTK58ZNzMLBgoLMHY4QyJMbeuw3eKxqg=="],
|
||||||
|
|
||||||
"ci-info": ["ci-info@4.1.0", "", {}, "sha512-HutrvTNsF48wnxkzERIXOe5/mlcfFcbfCmwcg6CJnizbSue78AbDt+1cgl26zwn61WFxhcPykPfZrbqjGmBb4A=="],
|
"ci-info": ["ci-info@4.1.0", "", {}, "sha512-HutrvTNsF48wnxkzERIXOe5/mlcfFcbfCmwcg6CJnizbSue78AbDt+1cgl26zwn61WFxhcPykPfZrbqjGmBb4A=="],
|
||||||
|
|
||||||
"cjs-module-lexer": ["cjs-module-lexer@1.4.3", "", {}, "sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q=="],
|
"cjs-module-lexer": ["cjs-module-lexer@1.4.3", "", {}, "sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q=="],
|
||||||
@@ -1049,6 +1077,8 @@
|
|||||||
|
|
||||||
"cli-truncate": ["cli-truncate@2.1.0", "", { "dependencies": { "slice-ansi": "^3.0.0", "string-width": "^4.2.0" } }, "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg=="],
|
"cli-truncate": ["cli-truncate@2.1.0", "", { "dependencies": { "slice-ansi": "^3.0.0", "string-width": "^4.2.0" } }, "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg=="],
|
||||||
|
|
||||||
|
"cliui": ["cliui@8.0.1", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" } }, "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ=="],
|
||||||
|
|
||||||
"clone": ["clone@2.1.2", "", {}, "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w=="],
|
"clone": ["clone@2.1.2", "", {}, "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w=="],
|
||||||
|
|
||||||
"clsx": ["clsx@2.1.1", "", {}, "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA=="],
|
"clsx": ["clsx@2.1.1", "", {}, "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA=="],
|
||||||
@@ -1071,6 +1101,8 @@
|
|||||||
|
|
||||||
"colorette": ["colorette@2.0.19", "", {}, "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ=="],
|
"colorette": ["colorette@2.0.19", "", {}, "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ=="],
|
||||||
|
|
||||||
|
"colorspace": ["colorspace@1.1.4", "", { "dependencies": { "color": "^3.1.3", "text-hex": "1.0.x" } }, "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w=="],
|
||||||
|
|
||||||
"combined-stream": ["combined-stream@1.0.8", "", { "dependencies": { "delayed-stream": "~1.0.0" } }, "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg=="],
|
"combined-stream": ["combined-stream@1.0.8", "", { "dependencies": { "delayed-stream": "~1.0.0" } }, "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg=="],
|
||||||
|
|
||||||
"comma-separated-tokens": ["comma-separated-tokens@2.0.3", "", {}, "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg=="],
|
"comma-separated-tokens": ["comma-separated-tokens@2.0.3", "", {}, "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg=="],
|
||||||
@@ -1119,6 +1151,8 @@
|
|||||||
|
|
||||||
"core-util-is": ["core-util-is@1.0.2", "", {}, "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ=="],
|
"core-util-is": ["core-util-is@1.0.2", "", {}, "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ=="],
|
||||||
|
|
||||||
|
"cosmiconfig": ["cosmiconfig@9.0.0", "", { "dependencies": { "env-paths": "^2.2.1", "import-fresh": "^3.3.0", "js-yaml": "^4.1.0", "parse-json": "^5.2.0" }, "peerDependencies": { "typescript": ">=4.9.5" }, "optionalPeers": ["typescript"] }, "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg=="],
|
||||||
|
|
||||||
"cpu-features": ["cpu-features@0.0.10", "", { "dependencies": { "buildcheck": "~0.0.6", "nan": "^2.19.0" } }, "sha512-9IkYqtX3YHPCzoVg1Py+o9057a3i0fp7S530UWokCSaFVTc7CwXPRiOjRjBQQ18ZCNafx78YfnG+HALxtVmOGA=="],
|
"cpu-features": ["cpu-features@0.0.10", "", { "dependencies": { "buildcheck": "~0.0.6", "nan": "^2.19.0" } }, "sha512-9IkYqtX3YHPCzoVg1Py+o9057a3i0fp7S530UWokCSaFVTc7CwXPRiOjRjBQQ18ZCNafx78YfnG+HALxtVmOGA=="],
|
||||||
|
|
||||||
"crc-32": ["crc-32@1.2.2", "", { "bin": { "crc32": "bin/crc32.njs" } }, "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ=="],
|
"crc-32": ["crc-32@1.2.2", "", { "bin": { "crc32": "bin/crc32.njs" } }, "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ=="],
|
||||||
@@ -1155,6 +1189,8 @@
|
|||||||
|
|
||||||
"dashdash": ["dashdash@1.14.1", "", { "dependencies": { "assert-plus": "^1.0.0" } }, "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g=="],
|
"dashdash": ["dashdash@1.14.1", "", { "dependencies": { "assert-plus": "^1.0.0" } }, "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g=="],
|
||||||
|
|
||||||
|
"data-uri-to-buffer": ["data-uri-to-buffer@6.0.2", "", {}, "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw=="],
|
||||||
|
|
||||||
"date-fns": ["date-fns@4.1.0", "", {}, "sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg=="],
|
"date-fns": ["date-fns@4.1.0", "", {}, "sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg=="],
|
||||||
|
|
||||||
"dayjs": ["dayjs@1.11.13", "", {}, "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg=="],
|
"dayjs": ["dayjs@1.11.13", "", {}, "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg=="],
|
||||||
@@ -1175,6 +1211,8 @@
|
|||||||
|
|
||||||
"defu": ["defu@6.1.4", "", {}, "sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg=="],
|
"defu": ["defu@6.1.4", "", {}, "sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg=="],
|
||||||
|
|
||||||
|
"degenerator": ["degenerator@5.0.1", "", { "dependencies": { "ast-types": "^0.13.4", "escodegen": "^2.1.0", "esprima": "^4.0.1" } }, "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ=="],
|
||||||
|
|
||||||
"del": ["del@6.1.1", "", { "dependencies": { "globby": "^11.0.1", "graceful-fs": "^4.2.4", "is-glob": "^4.0.1", "is-path-cwd": "^2.2.0", "is-path-inside": "^3.0.2", "p-map": "^4.0.0", "rimraf": "^3.0.2", "slash": "^3.0.0" } }, "sha512-ua8BhapfP0JUJKC/zV9yHHDW/rDoDxP4Zhn3AkA6/xT6gY7jYXJiaeyBZznYVujhZZET+UgcbZiQ7sN3WqcImg=="],
|
"del": ["del@6.1.1", "", { "dependencies": { "globby": "^11.0.1", "graceful-fs": "^4.2.4", "is-glob": "^4.0.1", "is-path-cwd": "^2.2.0", "is-path-inside": "^3.0.2", "p-map": "^4.0.0", "rimraf": "^3.0.2", "slash": "^3.0.0" } }, "sha512-ua8BhapfP0JUJKC/zV9yHHDW/rDoDxP4Zhn3AkA6/xT6gY7jYXJiaeyBZznYVujhZZET+UgcbZiQ7sN3WqcImg=="],
|
||||||
|
|
||||||
"delayed-stream": ["delayed-stream@1.0.0", "", {}, "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="],
|
"delayed-stream": ["delayed-stream@1.0.0", "", {}, "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="],
|
||||||
@@ -1203,6 +1241,8 @@
|
|||||||
|
|
||||||
"devlop": ["devlop@1.1.0", "", { "dependencies": { "dequal": "^2.0.0" } }, "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA=="],
|
"devlop": ["devlop@1.1.0", "", { "dependencies": { "dequal": "^2.0.0" } }, "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA=="],
|
||||||
|
|
||||||
|
"devtools-protocol": ["devtools-protocol@0.0.1425554", "", {}, "sha512-uRfxR6Nlzdzt0ihVIkV+sLztKgs7rgquY/Mhcv1YNCWDh5IZgl5mnn2aeEnW5stYTE0wwiF4RYVz8eMEpV1SEw=="],
|
||||||
|
|
||||||
"dezalgo": ["dezalgo@1.0.4", "", { "dependencies": { "asap": "^2.0.0", "wrappy": "1" } }, "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig=="],
|
"dezalgo": ["dezalgo@1.0.4", "", { "dependencies": { "asap": "^2.0.0", "wrappy": "1" } }, "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig=="],
|
||||||
|
|
||||||
"dfa": ["dfa@1.2.0", "", {}, "sha512-ED3jP8saaweFTjeGX8HQPjeC1YYyZs98jGNZx6IiBvxW7JG5v492kamAQB3m2wop07CvU/RQmzcKr6bgcC5D/Q=="],
|
"dfa": ["dfa@1.2.0", "", {}, "sha512-ED3jP8saaweFTjeGX8HQPjeC1YYyZs98jGNZx6IiBvxW7JG5v492kamAQB3m2wop07CvU/RQmzcKr6bgcC5D/Q=="],
|
||||||
@@ -1239,6 +1279,8 @@
|
|||||||
|
|
||||||
"emoji-regex-xs": ["emoji-regex-xs@1.0.0", "", {}, "sha512-LRlerrMYoIDrT6jgpeZ2YYl/L8EulRTt5hQcYjy5AInh7HWXKimpqx68aknBFpGL2+/IcogTcaydJEgaTmOpDg=="],
|
"emoji-regex-xs": ["emoji-regex-xs@1.0.0", "", {}, "sha512-LRlerrMYoIDrT6jgpeZ2YYl/L8EulRTt5hQcYjy5AInh7HWXKimpqx68aknBFpGL2+/IcogTcaydJEgaTmOpDg=="],
|
||||||
|
|
||||||
|
"enabled": ["enabled@2.0.0", "", {}, "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ=="],
|
||||||
|
|
||||||
"encodeurl": ["encodeurl@2.0.0", "", {}, "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg=="],
|
"encodeurl": ["encodeurl@2.0.0", "", {}, "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg=="],
|
||||||
|
|
||||||
"end-of-stream": ["end-of-stream@1.4.4", "", { "dependencies": { "once": "^1.4.0" } }, "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q=="],
|
"end-of-stream": ["end-of-stream@1.4.4", "", { "dependencies": { "once": "^1.4.0" } }, "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q=="],
|
||||||
@@ -1277,6 +1319,8 @@
|
|||||||
|
|
||||||
"escape-string-regexp": ["escape-string-regexp@4.0.0", "", {}, "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="],
|
"escape-string-regexp": ["escape-string-regexp@4.0.0", "", {}, "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="],
|
||||||
|
|
||||||
|
"escodegen": ["escodegen@2.1.0", "", { "dependencies": { "esprima": "^4.0.1", "estraverse": "^5.2.0", "esutils": "^2.0.2" }, "optionalDependencies": { "source-map": "~0.6.1" }, "bin": { "esgenerate": "bin/esgenerate.js", "escodegen": "bin/escodegen.js" } }, "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w=="],
|
||||||
|
|
||||||
"eslint": ["eslint@8.15.0", "", { "dependencies": { "@eslint/eslintrc": "^1.2.3", "@humanwhocodes/config-array": "^0.9.2", "ajv": "^6.10.0", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", "debug": "^4.3.2", "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", "eslint-scope": "^7.1.1", "eslint-utils": "^3.0.0", "eslint-visitor-keys": "^3.3.0", "espree": "^9.3.2", "esquery": "^1.4.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^6.0.1", "functional-red-black-tree": "^1.0.1", "glob-parent": "^6.0.1", "globals": "^13.6.0", "ignore": "^5.2.0", "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.4.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", "optionator": "^0.9.1", "regexpp": "^3.2.0", "strip-ansi": "^6.0.1", "strip-json-comments": "^3.1.0", "text-table": "^0.2.0", "v8-compile-cache": "^2.0.3" }, "bin": { "eslint": "bin/eslint.js" } }, "sha512-GG5USZ1jhCu8HJkzGgeK8/+RGnHaNYZGrGDzUtigK3BsGESW/rs2az23XqE0WVwDxy1VRvvjSSGu5nB0Bu+6SA=="],
|
"eslint": ["eslint@8.15.0", "", { "dependencies": { "@eslint/eslintrc": "^1.2.3", "@humanwhocodes/config-array": "^0.9.2", "ajv": "^6.10.0", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", "debug": "^4.3.2", "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", "eslint-scope": "^7.1.1", "eslint-utils": "^3.0.0", "eslint-visitor-keys": "^3.3.0", "espree": "^9.3.2", "esquery": "^1.4.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^6.0.1", "functional-red-black-tree": "^1.0.1", "glob-parent": "^6.0.1", "globals": "^13.6.0", "ignore": "^5.2.0", "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.4.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", "optionator": "^0.9.1", "regexpp": "^3.2.0", "strip-ansi": "^6.0.1", "strip-json-comments": "^3.1.0", "text-table": "^0.2.0", "v8-compile-cache": "^2.0.3" }, "bin": { "eslint": "bin/eslint.js" } }, "sha512-GG5USZ1jhCu8HJkzGgeK8/+RGnHaNYZGrGDzUtigK3BsGESW/rs2az23XqE0WVwDxy1VRvvjSSGu5nB0Bu+6SA=="],
|
||||||
|
|
||||||
"eslint-config-prettier": ["eslint-config-prettier@8.1.0", "", { "peerDependencies": { "eslint": ">=7.0.0" }, "bin": { "eslint-config-prettier": "bin/cli.js" } }, "sha512-oKMhGv3ihGbCIimCAjqkdzx2Q+jthoqnXSP+d86M9tptwugycmTFdVR4IpLgq2c4SHifbwO90z2fQ8/Aio73yw=="],
|
"eslint-config-prettier": ["eslint-config-prettier@8.1.0", "", { "peerDependencies": { "eslint": ">=7.0.0" }, "bin": { "eslint-config-prettier": "bin/cli.js" } }, "sha512-oKMhGv3ihGbCIimCAjqkdzx2Q+jthoqnXSP+d86M9tptwugycmTFdVR4IpLgq2c4SHifbwO90z2fQ8/Aio73yw=="],
|
||||||
@@ -1337,6 +1381,8 @@
|
|||||||
|
|
||||||
"fast-deep-equal": ["fast-deep-equal@3.1.3", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="],
|
"fast-deep-equal": ["fast-deep-equal@3.1.3", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="],
|
||||||
|
|
||||||
|
"fast-fifo": ["fast-fifo@1.3.2", "", {}, "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ=="],
|
||||||
|
|
||||||
"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=="],
|
"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=="],
|
||||||
|
|
||||||
"fast-json-stable-stringify": ["fast-json-stable-stringify@2.1.0", "", {}, "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="],
|
"fast-json-stable-stringify": ["fast-json-stable-stringify@2.1.0", "", {}, "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="],
|
||||||
@@ -1351,6 +1397,8 @@
|
|||||||
|
|
||||||
"fd-slicer": ["fd-slicer@1.1.0", "", { "dependencies": { "pend": "~1.2.0" } }, "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g=="],
|
"fd-slicer": ["fd-slicer@1.1.0", "", { "dependencies": { "pend": "~1.2.0" } }, "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g=="],
|
||||||
|
|
||||||
|
"fecha": ["fecha@4.2.3", "", {}, "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw=="],
|
||||||
|
|
||||||
"figures": ["figures@3.2.0", "", { "dependencies": { "escape-string-regexp": "^1.0.5" } }, "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg=="],
|
"figures": ["figures@3.2.0", "", { "dependencies": { "escape-string-regexp": "^1.0.5" } }, "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg=="],
|
||||||
|
|
||||||
"file-entry-cache": ["file-entry-cache@6.0.1", "", { "dependencies": { "flat-cache": "^3.0.4" } }, "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg=="],
|
"file-entry-cache": ["file-entry-cache@6.0.1", "", { "dependencies": { "flat-cache": "^3.0.4" } }, "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg=="],
|
||||||
@@ -1375,6 +1423,8 @@
|
|||||||
|
|
||||||
"flattie": ["flattie@1.1.1", "", {}, "sha512-9UbaD6XdAL97+k/n+N7JwX46K/M6Zc6KcFYskrYL8wbBV/Uyk0CTAMY0VT+qiK5PM7AIc9aTWYtq65U7T+aCNQ=="],
|
"flattie": ["flattie@1.1.1", "", {}, "sha512-9UbaD6XdAL97+k/n+N7JwX46K/M6Zc6KcFYskrYL8wbBV/Uyk0CTAMY0VT+qiK5PM7AIc9aTWYtq65U7T+aCNQ=="],
|
||||||
|
|
||||||
|
"fn.name": ["fn.name@1.1.0", "", {}, "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw=="],
|
||||||
|
|
||||||
"follow-redirects": ["follow-redirects@1.15.9", "", {}, "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ=="],
|
"follow-redirects": ["follow-redirects@1.15.9", "", {}, "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ=="],
|
||||||
|
|
||||||
"fontkit": ["fontkit@2.0.4", "", { "dependencies": { "@swc/helpers": "^0.5.12", "brotli": "^1.3.2", "clone": "^2.1.2", "dfa": "^1.2.0", "fast-deep-equal": "^3.1.3", "restructure": "^3.0.0", "tiny-inflate": "^1.0.3", "unicode-properties": "^1.4.0", "unicode-trie": "^2.0.0" } }, "sha512-syetQadaUEDNdxdugga9CpEYVaQIxOwk7GlwZWWZ19//qW4zE5bknOKeMBDYAASwnpaSHKJITRLMF9m1fp3s6g=="],
|
"fontkit": ["fontkit@2.0.4", "", { "dependencies": { "@swc/helpers": "^0.5.12", "brotli": "^1.3.2", "clone": "^2.1.2", "dfa": "^1.2.0", "fast-deep-equal": "^3.1.3", "restructure": "^3.0.0", "tiny-inflate": "^1.0.3", "unicode-properties": "^1.4.0", "unicode-trie": "^2.0.0" } }, "sha512-syetQadaUEDNdxdugga9CpEYVaQIxOwk7GlwZWWZ19//qW4zE5bknOKeMBDYAASwnpaSHKJITRLMF9m1fp3s6g=="],
|
||||||
@@ -1421,6 +1471,8 @@
|
|||||||
|
|
||||||
"gesto": ["gesto@1.19.4", "", { "dependencies": { "@daybrush/utils": "^1.13.0", "@scena/event-emitter": "^1.0.2" } }, "sha512-hfr/0dWwh0Bnbb88s3QVJd1ZRJeOWcgHPPwmiH6NnafDYvhTsxg+SLYu+q/oPNh9JS3V+nlr6fNs8kvPAtcRDQ=="],
|
"gesto": ["gesto@1.19.4", "", { "dependencies": { "@daybrush/utils": "^1.13.0", "@scena/event-emitter": "^1.0.2" } }, "sha512-hfr/0dWwh0Bnbb88s3QVJd1ZRJeOWcgHPPwmiH6NnafDYvhTsxg+SLYu+q/oPNh9JS3V+nlr6fNs8kvPAtcRDQ=="],
|
||||||
|
|
||||||
|
"get-caller-file": ["get-caller-file@2.0.5", "", {}, "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="],
|
||||||
|
|
||||||
"get-east-asian-width": ["get-east-asian-width@1.3.0", "", {}, "sha512-vpeMIQKxczTD/0s2CdEWHcb0eeJe6TFjxb+J5xgX7hScxqrGuyjmv4c1D4A/gelKfyox0gJJwIHF+fLjeaM8kQ=="],
|
"get-east-asian-width": ["get-east-asian-width@1.3.0", "", {}, "sha512-vpeMIQKxczTD/0s2CdEWHcb0eeJe6TFjxb+J5xgX7hScxqrGuyjmv4c1D4A/gelKfyox0gJJwIHF+fLjeaM8kQ=="],
|
||||||
|
|
||||||
"get-intrinsic": ["get-intrinsic@1.2.7", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.1", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.0.0", "function-bind": "^1.1.2", "get-proto": "^1.0.0", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", "math-intrinsics": "^1.1.0" } }, "sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA=="],
|
"get-intrinsic": ["get-intrinsic@1.2.7", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.1", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.0.0", "function-bind": "^1.1.2", "get-proto": "^1.0.0", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", "math-intrinsics": "^1.1.0" } }, "sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA=="],
|
||||||
@@ -1433,6 +1485,8 @@
|
|||||||
|
|
||||||
"get-tsconfig": ["get-tsconfig@4.10.0", "", { "dependencies": { "resolve-pkg-maps": "^1.0.0" } }, "sha512-kGzZ3LWWQcGIAmg6iWvXn0ei6WDtV26wzHRMwDSzmAbcXrTEXxHy6IehI6/4eT6VRKyMP1eF1VqwrVUmE/LR7A=="],
|
"get-tsconfig": ["get-tsconfig@4.10.0", "", { "dependencies": { "resolve-pkg-maps": "^1.0.0" } }, "sha512-kGzZ3LWWQcGIAmg6iWvXn0ei6WDtV26wzHRMwDSzmAbcXrTEXxHy6IehI6/4eT6VRKyMP1eF1VqwrVUmE/LR7A=="],
|
||||||
|
|
||||||
|
"get-uri": ["get-uri@6.0.4", "", { "dependencies": { "basic-ftp": "^5.0.2", "data-uri-to-buffer": "^6.0.2", "debug": "^4.3.4" } }, "sha512-E1b1lFFLvLgak2whF2xDBcOy6NLVGZBqqjJjsIhvopKfWWEi64pLVTWWehV8KlLerZkfNTA95sTe2OdJKm1OzQ=="],
|
||||||
|
|
||||||
"getopts": ["getopts@2.3.0", "", {}, "sha512-5eDf9fuSXwxBL6q5HX+dhDj+dslFGWzU5thZ9kNKUkcPtaPdatmUFKwHFrLb/uf/WpA4BHET+AX3Scl56cAjpA=="],
|
"getopts": ["getopts@2.3.0", "", {}, "sha512-5eDf9fuSXwxBL6q5HX+dhDj+dslFGWzU5thZ9kNKUkcPtaPdatmUFKwHFrLb/uf/WpA4BHET+AX3Scl56cAjpA=="],
|
||||||
|
|
||||||
"getos": ["getos@3.2.1", "", { "dependencies": { "async": "^3.2.0" } }, "sha512-U56CfOK17OKgTVqozZjUKNdkfEv6jk5WISBJ8SHoagjE6L69zOwl3Z+O8myjY9MEW3i2HPWQBt/LTbCgcC973Q=="],
|
"getos": ["getos@3.2.1", "", { "dependencies": { "async": "^3.2.0" } }, "sha512-U56CfOK17OKgTVqozZjUKNdkfEv6jk5WISBJ8SHoagjE6L69zOwl3Z+O8myjY9MEW3i2HPWQBt/LTbCgcC973Q=="],
|
||||||
@@ -1555,6 +1609,8 @@
|
|||||||
|
|
||||||
"intersection-observer": ["intersection-observer@0.12.2", "", {}, "sha512-7m1vEcPCxXYI8HqnL8CKI6siDyD+eIWSwgB3DZA+ZTogxk9I4CDnj4wilt9x/+/QbHI4YG5YZNmC6458/e9Ktg=="],
|
"intersection-observer": ["intersection-observer@0.12.2", "", {}, "sha512-7m1vEcPCxXYI8HqnL8CKI6siDyD+eIWSwgB3DZA+ZTogxk9I4CDnj4wilt9x/+/QbHI4YG5YZNmC6458/e9Ktg=="],
|
||||||
|
|
||||||
|
"ip-address": ["ip-address@9.0.5", "", { "dependencies": { "jsbn": "1.1.0", "sprintf-js": "^1.1.3" } }, "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g=="],
|
||||||
|
|
||||||
"ipaddr.js": ["ipaddr.js@1.9.1", "", {}, "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="],
|
"ipaddr.js": ["ipaddr.js@1.9.1", "", {}, "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="],
|
||||||
|
|
||||||
"iron-webcrypto": ["iron-webcrypto@1.2.1", "", {}, "sha512-feOM6FaSr6rEABp/eDfVseKyTMDt+KGpeB35SkVn9Tyn0CqvVsY3EwI0v5i8nMHyJnzCIQf7nsy3p41TPkJZhg=="],
|
"iron-webcrypto": ["iron-webcrypto@1.2.1", "", {}, "sha512-feOM6FaSr6rEABp/eDfVseKyTMDt+KGpeB35SkVn9Tyn0CqvVsY3EwI0v5i8nMHyJnzCIQf7nsy3p41TPkJZhg=="],
|
||||||
@@ -1563,7 +1619,7 @@
|
|||||||
|
|
||||||
"is-alphanumerical": ["is-alphanumerical@2.0.1", "", { "dependencies": { "is-alphabetical": "^2.0.0", "is-decimal": "^2.0.0" } }, "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw=="],
|
"is-alphanumerical": ["is-alphanumerical@2.0.1", "", { "dependencies": { "is-alphabetical": "^2.0.0", "is-decimal": "^2.0.0" } }, "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw=="],
|
||||||
|
|
||||||
"is-arrayish": ["is-arrayish@0.3.2", "", {}, "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ=="],
|
"is-arrayish": ["is-arrayish@0.2.1", "", {}, "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg=="],
|
||||||
|
|
||||||
"is-base64": ["is-base64@1.1.0", "", { "bin": { "is-base64": "bin/is-base64", "is_base64": "bin/is-base64" } }, "sha512-Nlhg7Z2dVC4/PTvIFkgVVNvPHSO2eR/Yd0XzhGiXCXEvWnptXlXa/clQ8aePPiMuxEGcWfzWbGw2Fe3d+Y3v1g=="],
|
"is-base64": ["is-base64@1.1.0", "", { "bin": { "is-base64": "bin/is-base64", "is_base64": "bin/is-base64" } }, "sha512-Nlhg7Z2dVC4/PTvIFkgVVNvPHSO2eR/Yd0XzhGiXCXEvWnptXlXa/clQ8aePPiMuxEGcWfzWbGw2Fe3d+Y3v1g=="],
|
||||||
|
|
||||||
@@ -1675,6 +1731,8 @@
|
|||||||
|
|
||||||
"knex": ["knex@2.5.1", "", { "dependencies": { "colorette": "2.0.19", "commander": "^10.0.0", "debug": "4.3.4", "escalade": "^3.1.1", "esm": "^3.2.25", "get-package-type": "^0.1.0", "getopts": "2.3.0", "interpret": "^2.2.0", "lodash": "^4.17.21", "pg-connection-string": "2.6.1", "rechoir": "^0.8.0", "resolve-from": "^5.0.0", "tarn": "^3.0.2", "tildify": "2.0.0" }, "bin": { "knex": "bin/cli.js" } }, "sha512-z78DgGKUr4SE/6cm7ku+jHvFT0X97aERh/f0MUKAKgFnwCYBEW4TFBqtHWFYiJFid7fMrtpZ/gxJthvz5mEByA=="],
|
"knex": ["knex@2.5.1", "", { "dependencies": { "colorette": "2.0.19", "commander": "^10.0.0", "debug": "4.3.4", "escalade": "^3.1.1", "esm": "^3.2.25", "get-package-type": "^0.1.0", "getopts": "2.3.0", "interpret": "^2.2.0", "lodash": "^4.17.21", "pg-connection-string": "2.6.1", "rechoir": "^0.8.0", "resolve-from": "^5.0.0", "tarn": "^3.0.2", "tildify": "2.0.0" }, "bin": { "knex": "bin/cli.js" } }, "sha512-z78DgGKUr4SE/6cm7ku+jHvFT0X97aERh/f0MUKAKgFnwCYBEW4TFBqtHWFYiJFid7fMrtpZ/gxJthvz5mEByA=="],
|
||||||
|
|
||||||
|
"kuler": ["kuler@2.0.0", "", {}, "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A=="],
|
||||||
|
|
||||||
"lazy-ass": ["lazy-ass@1.6.0", "", {}, "sha512-cc8oEVoctTvsFZ/Oje/kGnHbpWHYBe8IAJe4C0QNc3t8uM/0Y8+erSz/7Y1ALuXTEZTMvxXwO6YbX1ey3ujiZw=="],
|
"lazy-ass": ["lazy-ass@1.6.0", "", {}, "sha512-cc8oEVoctTvsFZ/Oje/kGnHbpWHYBe8IAJe4C0QNc3t8uM/0Y8+erSz/7Y1ALuXTEZTMvxXwO6YbX1ey3ujiZw=="],
|
||||||
|
|
||||||
"lazystream": ["lazystream@1.0.1", "", { "dependencies": { "readable-stream": "^2.0.5" } }, "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw=="],
|
"lazystream": ["lazystream@1.0.1", "", { "dependencies": { "readable-stream": "^2.0.5" } }, "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw=="],
|
||||||
@@ -1727,6 +1785,8 @@
|
|||||||
|
|
||||||
"log-update": ["log-update@4.0.0", "", { "dependencies": { "ansi-escapes": "^4.3.0", "cli-cursor": "^3.1.0", "slice-ansi": "^4.0.0", "wrap-ansi": "^6.2.0" } }, "sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg=="],
|
"log-update": ["log-update@4.0.0", "", { "dependencies": { "ansi-escapes": "^4.3.0", "cli-cursor": "^3.1.0", "slice-ansi": "^4.0.0", "wrap-ansi": "^6.2.0" } }, "sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg=="],
|
||||||
|
|
||||||
|
"logform": ["logform@2.7.0", "", { "dependencies": { "@colors/colors": "1.6.0", "@types/triple-beam": "^1.3.2", "fecha": "^4.2.0", "ms": "^2.1.1", "safe-stable-stringify": "^2.3.1", "triple-beam": "^1.3.0" } }, "sha512-TFYA4jnP7PVbmlBIfhlSe+WKxs9dklXMTEGcBCIvLhE/Tn3H6Gk1norupVW7m5Cnd4bLcr08AytbyV/xj7f/kQ=="],
|
||||||
|
|
||||||
"longest-streak": ["longest-streak@3.1.0", "", {}, "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g=="],
|
"longest-streak": ["longest-streak@3.1.0", "", {}, "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g=="],
|
||||||
|
|
||||||
"loose-envify": ["loose-envify@1.4.0", "", { "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, "bin": { "loose-envify": "cli.js" } }, "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q=="],
|
"loose-envify": ["loose-envify@1.4.0", "", { "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, "bin": { "loose-envify": "cli.js" } }, "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q=="],
|
||||||
@@ -1891,6 +1951,8 @@
|
|||||||
|
|
||||||
"minizlib": ["minizlib@2.1.2", "", { "dependencies": { "minipass": "^3.0.0", "yallist": "^4.0.0" } }, "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg=="],
|
"minizlib": ["minizlib@2.1.2", "", { "dependencies": { "minipass": "^3.0.0", "yallist": "^4.0.0" } }, "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg=="],
|
||||||
|
|
||||||
|
"mitt": ["mitt@3.0.1", "", {}, "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw=="],
|
||||||
|
|
||||||
"mkdirp": ["mkdirp@1.0.4", "", { "bin": { "mkdirp": "bin/cmd.js" } }, "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw=="],
|
"mkdirp": ["mkdirp@1.0.4", "", { "bin": { "mkdirp": "bin/cmd.js" } }, "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw=="],
|
||||||
|
|
||||||
"module-details-from-path": ["module-details-from-path@1.0.3", "", {}, "sha512-ySViT69/76t8VhE1xXHK6Ch4NcDd26gx0MzKXLO+F7NOtnqH68d9zF94nT8ZWSxXh8ELOERsnJO/sWt1xZYw5A=="],
|
"module-details-from-path": ["module-details-from-path@1.0.3", "", {}, "sha512-ySViT69/76t8VhE1xXHK6Ch4NcDd26gx0MzKXLO+F7NOtnqH68d9zF94nT8ZWSxXh8ELOERsnJO/sWt1xZYw5A=="],
|
||||||
@@ -1917,6 +1979,8 @@
|
|||||||
|
|
||||||
"neotraverse": ["neotraverse@0.6.18", "", {}, "sha512-Z4SmBUweYa09+o6pG+eASabEpP6QkQ70yHj351pQoEXIs8uHbaU2DWVmzBANKgflPa47A50PtB2+NgRpQvr7vA=="],
|
"neotraverse": ["neotraverse@0.6.18", "", {}, "sha512-Z4SmBUweYa09+o6pG+eASabEpP6QkQ70yHj351pQoEXIs8uHbaU2DWVmzBANKgflPa47A50PtB2+NgRpQvr7vA=="],
|
||||||
|
|
||||||
|
"netmask": ["netmask@2.0.2", "", {}, "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg=="],
|
||||||
|
|
||||||
"new-github-issue-url": ["new-github-issue-url@0.2.1", "", {}, "sha512-md4cGoxuT4T4d/HDOXbrUHkTKrp/vp+m3aOA7XXVYwNsUNMK49g3SQicTSeV5GIz/5QVGAeYRAOlyp9OvlgsYA=="],
|
"new-github-issue-url": ["new-github-issue-url@0.2.1", "", {}, "sha512-md4cGoxuT4T4d/HDOXbrUHkTKrp/vp+m3aOA7XXVYwNsUNMK49g3SQicTSeV5GIz/5QVGAeYRAOlyp9OvlgsYA=="],
|
||||||
|
|
||||||
"nlcst-to-string": ["nlcst-to-string@4.0.0", "", { "dependencies": { "@types/nlcst": "^2.0.0" } }, "sha512-YKLBCcUYKAg0FNlOBT6aI91qFmSiFKiluk655WzPF+DDMA02qIyy8uiRqI8QXtcFpEvll12LpL5MXqEmAZ+dcA=="],
|
"nlcst-to-string": ["nlcst-to-string@4.0.0", "", { "dependencies": { "@types/nlcst": "^2.0.0" } }, "sha512-YKLBCcUYKAg0FNlOBT6aI91qFmSiFKiluk655WzPF+DDMA02qIyy8uiRqI8QXtcFpEvll12LpL5MXqEmAZ+dcA=="],
|
||||||
@@ -1967,6 +2031,8 @@
|
|||||||
|
|
||||||
"once": ["once@1.4.0", "", { "dependencies": { "wrappy": "1" } }, "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w=="],
|
"once": ["once@1.4.0", "", { "dependencies": { "wrappy": "1" } }, "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w=="],
|
||||||
|
|
||||||
|
"one-time": ["one-time@1.0.0", "", { "dependencies": { "fn.name": "1.x.x" } }, "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g=="],
|
||||||
|
|
||||||
"onetime": ["onetime@5.1.2", "", { "dependencies": { "mimic-fn": "^2.1.0" } }, "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg=="],
|
"onetime": ["onetime@5.1.2", "", { "dependencies": { "mimic-fn": "^2.1.0" } }, "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg=="],
|
||||||
|
|
||||||
"oniguruma-to-es": ["oniguruma-to-es@2.3.0", "", { "dependencies": { "emoji-regex-xs": "^1.0.0", "regex": "^5.1.1", "regex-recursion": "^5.1.1" } }, "sha512-bwALDxriqfKGfUufKGGepCzu9x7nJQuoRoAFp4AnwehhC2crqrDIAP/uN2qdlsAvSMpeRC3+Yzhqc7hLmle5+g=="],
|
"oniguruma-to-es": ["oniguruma-to-es@2.3.0", "", { "dependencies": { "emoji-regex-xs": "^1.0.0", "regex": "^5.1.1", "regex-recursion": "^5.1.1" } }, "sha512-bwALDxriqfKGfUufKGGepCzu9x7nJQuoRoAFp4AnwehhC2crqrDIAP/uN2qdlsAvSMpeRC3+Yzhqc7hLmle5+g=="],
|
||||||
@@ -1999,6 +2065,10 @@
|
|||||||
|
|
||||||
"p-try": ["p-try@2.2.0", "", {}, "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="],
|
"p-try": ["p-try@2.2.0", "", {}, "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="],
|
||||||
|
|
||||||
|
"pac-proxy-agent": ["pac-proxy-agent@7.2.0", "", { "dependencies": { "@tootallnate/quickjs-emscripten": "^0.23.0", "agent-base": "^7.1.2", "debug": "^4.3.4", "get-uri": "^6.0.1", "http-proxy-agent": "^7.0.0", "https-proxy-agent": "^7.0.6", "pac-resolver": "^7.0.1", "socks-proxy-agent": "^8.0.5" } }, "sha512-TEB8ESquiLMc0lV8vcd5Ql/JAKAoyzHFXaStwjkzpOpC5Yv+pIzLfHvjTSdf3vpa2bMiUQrg9i6276yn8666aA=="],
|
||||||
|
|
||||||
|
"pac-resolver": ["pac-resolver@7.0.1", "", { "dependencies": { "degenerator": "^5.0.0", "netmask": "^2.0.2" } }, "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg=="],
|
||||||
|
|
||||||
"package-json-from-dist": ["package-json-from-dist@1.0.1", "", {}, "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw=="],
|
"package-json-from-dist": ["package-json-from-dist@1.0.1", "", {}, "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw=="],
|
||||||
|
|
||||||
"pako": ["pako@1.0.11", "", {}, "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="],
|
"pako": ["pako@1.0.11", "", {}, "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="],
|
||||||
@@ -2109,12 +2179,18 @@
|
|||||||
|
|
||||||
"proxy-addr": ["proxy-addr@2.0.7", "", { "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" } }, "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg=="],
|
"proxy-addr": ["proxy-addr@2.0.7", "", { "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" } }, "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg=="],
|
||||||
|
|
||||||
|
"proxy-agent": ["proxy-agent@6.5.0", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "^4.3.4", "http-proxy-agent": "^7.0.1", "https-proxy-agent": "^7.0.6", "lru-cache": "^7.14.1", "pac-proxy-agent": "^7.1.0", "proxy-from-env": "^1.1.0", "socks-proxy-agent": "^8.0.5" } }, "sha512-TmatMXdr2KlRiA2CyDu8GqR8EjahTG3aY3nXjdzFyoZbmB8hrBsTyMezhULIXKnC0jpfjlmiZ3+EaCzoInSu/A=="],
|
||||||
|
|
||||||
"proxy-from-env": ["proxy-from-env@1.0.0", "", {}, "sha512-F2JHgJQ1iqwnHDcQjVBsq3n/uoaFL+iPW/eAeL7kVxy/2RrWaN4WroKjjvbsoRtv0ftelNyC01bjRhn/bhcf4A=="],
|
"proxy-from-env": ["proxy-from-env@1.0.0", "", {}, "sha512-F2JHgJQ1iqwnHDcQjVBsq3n/uoaFL+iPW/eAeL7kVxy/2RrWaN4WroKjjvbsoRtv0ftelNyC01bjRhn/bhcf4A=="],
|
||||||
|
|
||||||
"pump": ["pump@3.0.2", "", { "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" } }, "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw=="],
|
"pump": ["pump@3.0.2", "", { "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" } }, "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw=="],
|
||||||
|
|
||||||
"punycode": ["punycode@2.3.1", "", {}, "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg=="],
|
"punycode": ["punycode@2.3.1", "", {}, "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg=="],
|
||||||
|
|
||||||
|
"puppeteer": ["puppeteer@24.7.2", "", { "dependencies": { "@puppeteer/browsers": "2.10.2", "chromium-bidi": "4.1.1", "cosmiconfig": "^9.0.0", "devtools-protocol": "0.0.1425554", "puppeteer-core": "24.7.2", "typed-query-selector": "^2.12.0" }, "bin": { "puppeteer": "lib/cjs/puppeteer/node/cli.js" } }, "sha512-ifYqoY6wGs0yZeFuFPn8BE9FhuveXkarF+eO18I2e/axdoCh4Qh1AE+qXdJBhdaeoPt6eRNTY4Dih29Jbq8wow=="],
|
||||||
|
|
||||||
|
"puppeteer-core": ["puppeteer-core@24.7.2", "", { "dependencies": { "@puppeteer/browsers": "2.10.2", "chromium-bidi": "4.1.1", "debug": "^4.4.0", "devtools-protocol": "0.0.1425554", "typed-query-selector": "^2.12.0", "ws": "^8.18.1" } }, "sha512-P9pZyTmJqKODFCnkZgemCpoFA4LbAa8+NumHVQKyP5X9IgdNS1ZnAnIh1sMAwhF8/xEUGf7jt+qmNLlKieFw1Q=="],
|
||||||
|
|
||||||
"qs": ["qs@6.13.0", "", { "dependencies": { "side-channel": "^1.0.6" } }, "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg=="],
|
"qs": ["qs@6.13.0", "", { "dependencies": { "side-channel": "^1.0.6" } }, "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg=="],
|
||||||
|
|
||||||
"queue-microtask": ["queue-microtask@1.2.3", "", {}, "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A=="],
|
"queue-microtask": ["queue-microtask@1.2.3", "", {}, "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A=="],
|
||||||
@@ -2279,6 +2355,8 @@
|
|||||||
|
|
||||||
"request-progress": ["request-progress@3.0.0", "", { "dependencies": { "throttleit": "^1.0.0" } }, "sha512-MnWzEHHaxHO2iWiQuHrUPBi/1WeBf5PkxQqNyNvLl9VAYSdXkP8tQ3pBSeCPD+yw0v0Aq1zosWLz0BdeXpWwZg=="],
|
"request-progress": ["request-progress@3.0.0", "", { "dependencies": { "throttleit": "^1.0.0" } }, "sha512-MnWzEHHaxHO2iWiQuHrUPBi/1WeBf5PkxQqNyNvLl9VAYSdXkP8tQ3pBSeCPD+yw0v0Aq1zosWLz0BdeXpWwZg=="],
|
||||||
|
|
||||||
|
"require-directory": ["require-directory@2.1.1", "", {}, "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q=="],
|
||||||
|
|
||||||
"require-in-the-middle": ["require-in-the-middle@7.5.2", "", { "dependencies": { "debug": "^4.3.5", "module-details-from-path": "^1.0.3", "resolve": "^1.22.8" } }, "sha512-gAZ+kLqBdHarXB64XpAe2VCjB7rIRv+mU8tfRWziHRJ5umKsIHN2tLLv6EtMw7WCdP19S0ERVMldNvxYCHnhSQ=="],
|
"require-in-the-middle": ["require-in-the-middle@7.5.2", "", { "dependencies": { "debug": "^4.3.5", "module-details-from-path": "^1.0.3", "resolve": "^1.22.8" } }, "sha512-gAZ+kLqBdHarXB64XpAe2VCjB7rIRv+mU8tfRWziHRJ5umKsIHN2tLLv6EtMw7WCdP19S0ERVMldNvxYCHnhSQ=="],
|
||||||
|
|
||||||
"resize-observer-polyfill": ["resize-observer-polyfill@1.5.1", "", {}, "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="],
|
"resize-observer-polyfill": ["resize-observer-polyfill@1.5.1", "", {}, "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="],
|
||||||
@@ -2321,6 +2399,8 @@
|
|||||||
|
|
||||||
"safe-buffer": ["safe-buffer@5.2.1", "", {}, "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="],
|
"safe-buffer": ["safe-buffer@5.2.1", "", {}, "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="],
|
||||||
|
|
||||||
|
"safe-stable-stringify": ["safe-stable-stringify@2.5.0", "", {}, "sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA=="],
|
||||||
|
|
||||||
"safer-buffer": ["safer-buffer@2.1.2", "", {}, "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="],
|
"safer-buffer": ["safer-buffer@2.1.2", "", {}, "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="],
|
||||||
|
|
||||||
"sander": ["sander@0.5.1", "", { "dependencies": { "es6-promise": "^3.1.2", "graceful-fs": "^4.1.3", "mkdirp": "^0.5.1", "rimraf": "^2.5.2" } }, "sha512-3lVqBir7WuKDHGrKRDn/1Ye3kwpXaDOMsiRP1wd6wpZW56gJhsbp5RqQpA6JG/P+pkXizygnr1dKR8vzWaVsfA=="],
|
"sander": ["sander@0.5.1", "", { "dependencies": { "es6-promise": "^3.1.2", "graceful-fs": "^4.1.3", "mkdirp": "^0.5.1", "rimraf": "^2.5.2" } }, "sha512-3lVqBir7WuKDHGrKRDn/1Ye3kwpXaDOMsiRP1wd6wpZW56gJhsbp5RqQpA6JG/P+pkXizygnr1dKR8vzWaVsfA=="],
|
||||||
@@ -2387,8 +2467,14 @@
|
|||||||
|
|
||||||
"slice-ansi": ["slice-ansi@3.0.0", "", { "dependencies": { "ansi-styles": "^4.0.0", "astral-regex": "^2.0.0", "is-fullwidth-code-point": "^3.0.0" } }, "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ=="],
|
"slice-ansi": ["slice-ansi@3.0.0", "", { "dependencies": { "ansi-styles": "^4.0.0", "astral-regex": "^2.0.0", "is-fullwidth-code-point": "^3.0.0" } }, "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ=="],
|
||||||
|
|
||||||
|
"smart-buffer": ["smart-buffer@4.2.0", "", {}, "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg=="],
|
||||||
|
|
||||||
"soap": ["soap@1.1.8", "", { "dependencies": { "axios": "^1.7.9", "axios-ntlm": "^1.4.2", "debug": "^4.4.0", "formidable": "^3.5.2", "get-stream": "^6.0.1", "lodash": "^4.17.21", "sax": "^1.4.1", "strip-bom": "^3.0.0", "whatwg-mimetype": "4.0.0", "xml-crypto": "^6.0.0" } }, "sha512-fDNGyGsPkQP3bZX/366Ud5Kpjo9mCMh7ZKYIc3uipBEPPM2ZqCNkv1Z2/w0qpzpYFLL7do8WWwVUAjAwuUe1AQ=="],
|
"soap": ["soap@1.1.8", "", { "dependencies": { "axios": "^1.7.9", "axios-ntlm": "^1.4.2", "debug": "^4.4.0", "formidable": "^3.5.2", "get-stream": "^6.0.1", "lodash": "^4.17.21", "sax": "^1.4.1", "strip-bom": "^3.0.0", "whatwg-mimetype": "4.0.0", "xml-crypto": "^6.0.0" } }, "sha512-fDNGyGsPkQP3bZX/366Ud5Kpjo9mCMh7ZKYIc3uipBEPPM2ZqCNkv1Z2/w0qpzpYFLL7do8WWwVUAjAwuUe1AQ=="],
|
||||||
|
|
||||||
|
"socks": ["socks@2.8.4", "", { "dependencies": { "ip-address": "^9.0.5", "smart-buffer": "^4.2.0" } }, "sha512-D3YaD0aRxR3mEcqnidIs7ReYJFVzWdd6fXJYUM8ixcQcJRGTka/b3saV0KflYhyVJXKhb947GndU35SxYNResQ=="],
|
||||||
|
|
||||||
|
"socks-proxy-agent": ["socks-proxy-agent@8.0.5", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "^4.3.4", "socks": "^2.8.3" } }, "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw=="],
|
||||||
|
|
||||||
"sorcery": ["sorcery@0.11.1", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.14", "buffer-crc32": "^1.0.0", "minimist": "^1.2.0", "sander": "^0.5.0" }, "bin": { "sorcery": "bin/sorcery" } }, "sha512-o7npfeJE6wi6J9l0/5LKshFzZ2rMatRiCDwYeDQaOzqdzRJwALhX7mk/A/ecg6wjMu7wdZbmXfD2S/vpOg0bdQ=="],
|
"sorcery": ["sorcery@0.11.1", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.14", "buffer-crc32": "^1.0.0", "minimist": "^1.2.0", "sander": "^0.5.0" }, "bin": { "sorcery": "bin/sorcery" } }, "sha512-o7npfeJE6wi6J9l0/5LKshFzZ2rMatRiCDwYeDQaOzqdzRJwALhX7mk/A/ecg6wjMu7wdZbmXfD2S/vpOg0bdQ=="],
|
||||||
|
|
||||||
"source-map": ["source-map@0.7.4", "", {}, "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA=="],
|
"source-map": ["source-map@0.7.4", "", {}, "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA=="],
|
||||||
@@ -2415,10 +2501,14 @@
|
|||||||
|
|
||||||
"sshpk": ["sshpk@1.18.0", "", { "dependencies": { "asn1": "~0.2.3", "assert-plus": "^1.0.0", "bcrypt-pbkdf": "^1.0.0", "dashdash": "^1.12.0", "ecc-jsbn": "~0.1.1", "getpass": "^0.1.1", "jsbn": "~0.1.0", "safer-buffer": "^2.0.2", "tweetnacl": "~0.14.0" }, "bin": { "sshpk-conv": "bin/sshpk-conv", "sshpk-sign": "bin/sshpk-sign", "sshpk-verify": "bin/sshpk-verify" } }, "sha512-2p2KJZTSqQ/I3+HX42EpYOa2l3f8Erv8MWKsy2I9uf4wA7yFIkXRffYdsx86y6z4vHtV8u7g+pPlr8/4ouAxsQ=="],
|
"sshpk": ["sshpk@1.18.0", "", { "dependencies": { "asn1": "~0.2.3", "assert-plus": "^1.0.0", "bcrypt-pbkdf": "^1.0.0", "dashdash": "^1.12.0", "ecc-jsbn": "~0.1.1", "getpass": "^0.1.1", "jsbn": "~0.1.0", "safer-buffer": "^2.0.2", "tweetnacl": "~0.14.0" }, "bin": { "sshpk-conv": "bin/sshpk-conv", "sshpk-sign": "bin/sshpk-sign", "sshpk-verify": "bin/sshpk-verify" } }, "sha512-2p2KJZTSqQ/I3+HX42EpYOa2l3f8Erv8MWKsy2I9uf4wA7yFIkXRffYdsx86y6z4vHtV8u7g+pPlr8/4ouAxsQ=="],
|
||||||
|
|
||||||
|
"stack-trace": ["stack-trace@0.0.10", "", {}, "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg=="],
|
||||||
|
|
||||||
"statuses": ["statuses@2.0.1", "", {}, "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ=="],
|
"statuses": ["statuses@2.0.1", "", {}, "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ=="],
|
||||||
|
|
||||||
"stdin-discarder": ["stdin-discarder@0.2.2", "", {}, "sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ=="],
|
"stdin-discarder": ["stdin-discarder@0.2.2", "", {}, "sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ=="],
|
||||||
|
|
||||||
|
"streamx": ["streamx@2.22.0", "", { "dependencies": { "fast-fifo": "^1.3.2", "text-decoder": "^1.1.0" }, "optionalDependencies": { "bare-events": "^2.2.0" } }, "sha512-sLh1evHOzBy/iWRiR6d1zRcLao4gGZr3C1kzNz4fopCOKJb6xD9ub8Mpi9Mr1R6id5o43S+d93fI48UC5uM9aw=="],
|
||||||
|
|
||||||
"string-convert": ["string-convert@0.2.1", "", {}, "sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A=="],
|
"string-convert": ["string-convert@0.2.1", "", {}, "sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A=="],
|
||||||
|
|
||||||
"string-width": ["string-width@4.2.3", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="],
|
"string-width": ["string-width@4.2.3", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="],
|
||||||
@@ -2473,6 +2563,8 @@
|
|||||||
|
|
||||||
"tar": ["tar@6.2.1", "", { "dependencies": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", "minipass": "^5.0.0", "minizlib": "^2.1.1", "mkdirp": "^1.0.3", "yallist": "^4.0.0" } }, "sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A=="],
|
"tar": ["tar@6.2.1", "", { "dependencies": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", "minipass": "^5.0.0", "minizlib": "^2.1.1", "mkdirp": "^1.0.3", "yallist": "^4.0.0" } }, "sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A=="],
|
||||||
|
|
||||||
|
"tar-fs": ["tar-fs@3.0.8", "", { "dependencies": { "pump": "^3.0.0", "tar-stream": "^3.1.5" }, "optionalDependencies": { "bare-fs": "^4.0.1", "bare-path": "^3.0.0" } }, "sha512-ZoROL70jptorGAlgAYiLoBLItEKw/fUxg9BSYK/dF/GAGYFJOJJJMvjPAKDJraCXFwadD456FCuvLWgfhMsPwg=="],
|
||||||
|
|
||||||
"tar-stream": ["tar-stream@2.2.0", "", { "dependencies": { "bl": "^4.0.3", "end-of-stream": "^1.4.1", "fs-constants": "^1.0.0", "inherits": "^2.0.3", "readable-stream": "^3.1.1" } }, "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ=="],
|
"tar-stream": ["tar-stream@2.2.0", "", { "dependencies": { "bl": "^4.0.3", "end-of-stream": "^1.4.1", "fs-constants": "^1.0.0", "inherits": "^2.0.3", "readable-stream": "^3.1.1" } }, "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ=="],
|
||||||
|
|
||||||
"tarn": ["tarn@3.0.2", "", {}, "sha512-51LAVKUSZSVfI05vjPESNc5vwqqZpbXCsU+/+wxlOrUjk2SnFTt97v9ZgQrD4YmxYW1Px6w2KjaDitCfkvgxMQ=="],
|
"tarn": ["tarn@3.0.2", "", {}, "sha512-51LAVKUSZSVfI05vjPESNc5vwqqZpbXCsU+/+wxlOrUjk2SnFTt97v9ZgQrD4YmxYW1Px6w2KjaDitCfkvgxMQ=="],
|
||||||
@@ -2485,6 +2577,10 @@
|
|||||||
|
|
||||||
"terminal-link": ["terminal-link@2.1.1", "", { "dependencies": { "ansi-escapes": "^4.2.1", "supports-hyperlinks": "^2.0.0" } }, "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ=="],
|
"terminal-link": ["terminal-link@2.1.1", "", { "dependencies": { "ansi-escapes": "^4.2.1", "supports-hyperlinks": "^2.0.0" } }, "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ=="],
|
||||||
|
|
||||||
|
"text-decoder": ["text-decoder@1.2.3", "", { "dependencies": { "b4a": "^1.6.4" } }, "sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA=="],
|
||||||
|
|
||||||
|
"text-hex": ["text-hex@1.0.0", "", {}, "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg=="],
|
||||||
|
|
||||||
"text-table": ["text-table@0.2.0", "", {}, "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw=="],
|
"text-table": ["text-table@0.2.0", "", {}, "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw=="],
|
||||||
|
|
||||||
"thenify": ["thenify@3.3.1", "", { "dependencies": { "any-promise": "^1.0.0" } }, "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw=="],
|
"thenify": ["thenify@3.3.1", "", { "dependencies": { "any-promise": "^1.0.0" } }, "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw=="],
|
||||||
@@ -2529,6 +2625,8 @@
|
|||||||
|
|
||||||
"trim-lines": ["trim-lines@3.0.1", "", {}, "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg=="],
|
"trim-lines": ["trim-lines@3.0.1", "", {}, "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg=="],
|
||||||
|
|
||||||
|
"triple-beam": ["triple-beam@1.4.1", "", {}, "sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg=="],
|
||||||
|
|
||||||
"trough": ["trough@2.2.0", "", {}, "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw=="],
|
"trough": ["trough@2.2.0", "", {}, "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw=="],
|
||||||
|
|
||||||
"trpc-openapi": ["trpc-openapi@1.2.0", "", { "dependencies": { "co-body": "^6.1.0", "h3": "^1.6.4", "lodash.clonedeep": "^4.5.0", "node-mocks-http": "^1.12.2", "openapi-types": "^12.1.1", "zod-to-json-schema": "^3.21.1" }, "peerDependencies": { "@trpc/server": "^10.0.0", "zod": "^3.14.4" } }, "sha512-pfYoCd/3KYXWXvUPZBKJw455OOwngKN/6SIcj7Yit19OMLJ+8yVZkEvGEeg5wUSwfsiTdRsKuvqkRPXVSwV7ew=="],
|
"trpc-openapi": ["trpc-openapi@1.2.0", "", { "dependencies": { "co-body": "^6.1.0", "h3": "^1.6.4", "lodash.clonedeep": "^4.5.0", "node-mocks-http": "^1.12.2", "openapi-types": "^12.1.1", "zod-to-json-schema": "^3.21.1" }, "peerDependencies": { "@trpc/server": "^10.0.0", "zod": "^3.14.4" } }, "sha512-pfYoCd/3KYXWXvUPZBKJw455OOwngKN/6SIcj7Yit19OMLJ+8yVZkEvGEeg5wUSwfsiTdRsKuvqkRPXVSwV7ew=="],
|
||||||
@@ -2557,6 +2655,8 @@
|
|||||||
|
|
||||||
"type-is": ["type-is@1.6.18", "", { "dependencies": { "media-typer": "0.3.0", "mime-types": "~2.1.24" } }, "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g=="],
|
"type-is": ["type-is@1.6.18", "", { "dependencies": { "media-typer": "0.3.0", "mime-types": "~2.1.24" } }, "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g=="],
|
||||||
|
|
||||||
|
"typed-query-selector": ["typed-query-selector@2.12.0", "", {}, "sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg=="],
|
||||||
|
|
||||||
"typedarray": ["typedarray@0.0.6", "", {}, "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA=="],
|
"typedarray": ["typedarray@0.0.6", "", {}, "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA=="],
|
||||||
|
|
||||||
"typescript": ["typescript@5.8.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ=="],
|
"typescript": ["typescript@5.8.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ=="],
|
||||||
@@ -2655,6 +2755,10 @@
|
|||||||
|
|
||||||
"widest-line": ["widest-line@5.0.0", "", { "dependencies": { "string-width": "^7.0.0" } }, "sha512-c9bZp7b5YtRj2wOe6dlj32MK+Bx/M/d+9VB2SHM1OtsUHR0aV0tdP6DWh/iMt0kWi1t5g1Iudu6hQRNd1A4PVA=="],
|
"widest-line": ["widest-line@5.0.0", "", { "dependencies": { "string-width": "^7.0.0" } }, "sha512-c9bZp7b5YtRj2wOe6dlj32MK+Bx/M/d+9VB2SHM1OtsUHR0aV0tdP6DWh/iMt0kWi1t5g1Iudu6hQRNd1A4PVA=="],
|
||||||
|
|
||||||
|
"winston": ["winston@3.17.0", "", { "dependencies": { "@colors/colors": "^1.6.0", "@dabh/diagnostics": "^2.0.2", "async": "^3.2.3", "is-stream": "^2.0.0", "logform": "^2.7.0", "one-time": "^1.0.0", "readable-stream": "^3.4.0", "safe-stable-stringify": "^2.3.1", "stack-trace": "0.0.x", "triple-beam": "^1.3.0", "winston-transport": "^4.9.0" } }, "sha512-DLiFIXYC5fMPxaRg832S6F5mJYvePtmO5G9v9IgUFPhXm9/GkXarH/TUrBAVzhTCzAj9anE/+GjrgXp/54nOgw=="],
|
||||||
|
|
||||||
|
"winston-transport": ["winston-transport@4.9.0", "", { "dependencies": { "logform": "^2.7.0", "readable-stream": "^3.6.2", "triple-beam": "^1.3.0" } }, "sha512-8drMJ4rkgaPo1Me4zD/3WLfI/zPdA9o2IipKODunnGDcuqbHwjsbB79ylv04LCGGzU0xQ6vTznOMpQGaLhhm6A=="],
|
||||||
|
|
||||||
"word-wrap": ["word-wrap@1.2.5", "", {}, "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA=="],
|
"word-wrap": ["word-wrap@1.2.5", "", {}, "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA=="],
|
||||||
|
|
||||||
"wrap-ansi": ["wrap-ansi@7.0.0", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="],
|
"wrap-ansi": ["wrap-ansi@7.0.0", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="],
|
||||||
@@ -2663,16 +2767,22 @@
|
|||||||
|
|
||||||
"wrappy": ["wrappy@1.0.2", "", {}, "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="],
|
"wrappy": ["wrappy@1.0.2", "", {}, "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="],
|
||||||
|
|
||||||
|
"ws": ["ws@8.18.1", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": ">=5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w=="],
|
||||||
|
|
||||||
"xml-crypto": ["xml-crypto@6.0.0", "", { "dependencies": { "@xmldom/is-dom-node": "^1.0.1", "@xmldom/xmldom": "^0.8.10", "xpath": "^0.0.33" } }, "sha512-L3RgnkaDrHaYcCnoENv4Idzt1ZRj5U1z1BDH98QdDTQfssScx8adgxhd9qwyYo+E3fXbQZjEQH7aiXHLVgxGvw=="],
|
"xml-crypto": ["xml-crypto@6.0.0", "", { "dependencies": { "@xmldom/is-dom-node": "^1.0.1", "@xmldom/xmldom": "^0.8.10", "xpath": "^0.0.33" } }, "sha512-L3RgnkaDrHaYcCnoENv4Idzt1ZRj5U1z1BDH98QdDTQfssScx8adgxhd9qwyYo+E3fXbQZjEQH7aiXHLVgxGvw=="],
|
||||||
|
|
||||||
"xpath": ["xpath@0.0.33", "", {}, "sha512-NNXnzrkDrAzalLhIUc01jO2mOzXGXh1JwPgkihcLLzw98c0WgYDmmjSh1Kl3wzaxSVWMuA+fe0WTWOBDWCBmNA=="],
|
"xpath": ["xpath@0.0.33", "", {}, "sha512-NNXnzrkDrAzalLhIUc01jO2mOzXGXh1JwPgkihcLLzw98c0WgYDmmjSh1Kl3wzaxSVWMuA+fe0WTWOBDWCBmNA=="],
|
||||||
|
|
||||||
"xxhash-wasm": ["xxhash-wasm@1.1.0", "", {}, "sha512-147y/6YNh+tlp6nd/2pWq38i9h6mz/EuQ6njIrmW8D1BS5nCqs0P6DG+m6zTGnNz5I+uhZ0SHxBs9BsPrwcKDA=="],
|
"xxhash-wasm": ["xxhash-wasm@1.1.0", "", {}, "sha512-147y/6YNh+tlp6nd/2pWq38i9h6mz/EuQ6njIrmW8D1BS5nCqs0P6DG+m6zTGnNz5I+uhZ0SHxBs9BsPrwcKDA=="],
|
||||||
|
|
||||||
|
"y18n": ["y18n@5.0.8", "", {}, "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA=="],
|
||||||
|
|
||||||
"yallist": ["yallist@3.1.1", "", {}, "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="],
|
"yallist": ["yallist@3.1.1", "", {}, "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="],
|
||||||
|
|
||||||
"yaml": ["yaml@2.7.0", "", { "bin": { "yaml": "bin.mjs" } }, "sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA=="],
|
"yaml": ["yaml@2.7.0", "", { "bin": { "yaml": "bin.mjs" } }, "sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA=="],
|
||||||
|
|
||||||
|
"yargs": ["yargs@17.7.2", "", { "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" } }, "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w=="],
|
||||||
|
|
||||||
"yargs-parser": ["yargs-parser@21.1.1", "", {}, "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw=="],
|
"yargs-parser": ["yargs-parser@21.1.1", "", {}, "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw=="],
|
||||||
|
|
||||||
"yauzl": ["yauzl@2.10.0", "", { "dependencies": { "buffer-crc32": "~0.2.3", "fd-slicer": "~1.1.0" } }, "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g=="],
|
"yauzl": ["yauzl@2.10.0", "", { "dependencies": { "buffer-crc32": "~0.2.3", "fd-slicer": "~1.1.0" } }, "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g=="],
|
||||||
@@ -2757,6 +2867,8 @@
|
|||||||
|
|
||||||
"@prisma/schema-files-loader/fs-extra": ["fs-extra@11.1.1", "", { "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", "universalify": "^2.0.0" } }, "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ=="],
|
"@prisma/schema-files-loader/fs-extra": ["fs-extra@11.1.1", "", { "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", "universalify": "^2.0.0" } }, "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ=="],
|
||||||
|
|
||||||
|
"@puppeteer/browsers/semver": ["semver@7.7.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA=="],
|
||||||
|
|
||||||
"@rollup/pluginutils/estree-walker": ["estree-walker@2.0.2", "", {}, "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="],
|
"@rollup/pluginutils/estree-walker": ["estree-walker@2.0.2", "", {}, "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="],
|
||||||
|
|
||||||
"@sveltejs/vite-plugin-svelte/vitefu": ["vitefu@0.2.5", "", { "peerDependencies": { "vite": "^3.0.0 || ^4.0.0 || ^5.0.0" }, "optionalPeers": ["vite"] }, "sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q=="],
|
"@sveltejs/vite-plugin-svelte/vitefu": ["vitefu@0.2.5", "", { "peerDependencies": { "vite": "^3.0.0 || ^4.0.0 || ^5.0.0" }, "optionalPeers": ["vite"] }, "sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q=="],
|
||||||
@@ -2801,8 +2913,12 @@
|
|||||||
|
|
||||||
"chokidar/glob-parent": ["glob-parent@5.1.2", "", { "dependencies": { "is-glob": "^4.0.1" } }, "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="],
|
"chokidar/glob-parent": ["glob-parent@5.1.2", "", { "dependencies": { "is-glob": "^4.0.1" } }, "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="],
|
||||||
|
|
||||||
|
"cli-table3/@colors/colors": ["@colors/colors@1.5.0", "", {}, "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ=="],
|
||||||
|
|
||||||
"co-body/qs": ["qs@6.14.0", "", { "dependencies": { "side-channel": "^1.1.0" } }, "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w=="],
|
"co-body/qs": ["qs@6.14.0", "", { "dependencies": { "side-channel": "^1.1.0" } }, "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w=="],
|
||||||
|
|
||||||
|
"colorspace/color": ["color@3.2.1", "", { "dependencies": { "color-convert": "^1.9.3", "color-string": "^1.6.0" } }, "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA=="],
|
||||||
|
|
||||||
"csvtojson/strip-bom": ["strip-bom@2.0.0", "", { "dependencies": { "is-utf8": "^0.2.0" } }, "sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g=="],
|
"csvtojson/strip-bom": ["strip-bom@2.0.0", "", { "dependencies": { "is-utf8": "^0.2.0" } }, "sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g=="],
|
||||||
|
|
||||||
"cypress/buffer": ["buffer@5.7.1", "", { "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.1.13" } }, "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ=="],
|
"cypress/buffer": ["buffer@5.7.1", "", { "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.1.13" } }, "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ=="],
|
||||||
@@ -2815,7 +2931,7 @@
|
|||||||
|
|
||||||
"dir-glob/path-type": ["path-type@4.0.0", "", {}, "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw=="],
|
"dir-glob/path-type": ["path-type@4.0.0", "", {}, "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw=="],
|
||||||
|
|
||||||
"error-ex/is-arrayish": ["is-arrayish@0.2.1", "", {}, "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg=="],
|
"escodegen/source-map": ["source-map@0.6.1", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="],
|
||||||
|
|
||||||
"eslint-utils/eslint-visitor-keys": ["eslint-visitor-keys@2.1.0", "", {}, "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw=="],
|
"eslint-utils/eslint-visitor-keys": ["eslint-visitor-keys@2.1.0", "", {}, "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw=="],
|
||||||
|
|
||||||
@@ -2853,6 +2969,10 @@
|
|||||||
|
|
||||||
"ignore-walk/minimatch": ["minimatch@5.1.6", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g=="],
|
"ignore-walk/minimatch": ["minimatch@5.1.6", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g=="],
|
||||||
|
|
||||||
|
"ip-address/jsbn": ["jsbn@1.1.0", "", {}, "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A=="],
|
||||||
|
|
||||||
|
"ip-address/sprintf-js": ["sprintf-js@1.1.3", "", {}, "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA=="],
|
||||||
|
|
||||||
"is-wsl/is-docker": ["is-docker@2.2.1", "", { "bin": { "is-docker": "cli.js" } }, "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ=="],
|
"is-wsl/is-docker": ["is-docker@2.2.1", "", { "bin": { "is-docker": "cli.js" } }, "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ=="],
|
||||||
|
|
||||||
"knex/commander": ["commander@10.0.1", "", {}, "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug=="],
|
"knex/commander": ["commander@10.0.1", "", {}, "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug=="],
|
||||||
@@ -2911,6 +3031,10 @@
|
|||||||
|
|
||||||
"p-locate/p-limit": ["p-limit@3.1.0", "", { "dependencies": { "yocto-queue": "^0.1.0" } }, "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ=="],
|
"p-locate/p-limit": ["p-limit@3.1.0", "", { "dependencies": { "yocto-queue": "^0.1.0" } }, "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ=="],
|
||||||
|
|
||||||
|
"pac-proxy-agent/http-proxy-agent": ["http-proxy-agent@7.0.2", "", { "dependencies": { "agent-base": "^7.1.0", "debug": "^4.3.4" } }, "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig=="],
|
||||||
|
|
||||||
|
"pac-proxy-agent/https-proxy-agent": ["https-proxy-agent@7.0.6", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "4" } }, "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw=="],
|
||||||
|
|
||||||
"parse-entities/@types/unist": ["@types/unist@2.0.11", "", {}, "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA=="],
|
"parse-entities/@types/unist": ["@types/unist@2.0.11", "", {}, "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA=="],
|
||||||
|
|
||||||
"path-scurry/lru-cache": ["lru-cache@10.4.3", "", {}, "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ=="],
|
"path-scurry/lru-cache": ["lru-cache@10.4.3", "", {}, "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ=="],
|
||||||
@@ -2931,6 +3055,14 @@
|
|||||||
|
|
||||||
"prop-types/react-is": ["react-is@16.13.1", "", {}, "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="],
|
"prop-types/react-is": ["react-is@16.13.1", "", {}, "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="],
|
||||||
|
|
||||||
|
"proxy-agent/http-proxy-agent": ["http-proxy-agent@7.0.2", "", { "dependencies": { "agent-base": "^7.1.0", "debug": "^4.3.4" } }, "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig=="],
|
||||||
|
|
||||||
|
"proxy-agent/https-proxy-agent": ["https-proxy-agent@7.0.6", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "4" } }, "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw=="],
|
||||||
|
|
||||||
|
"proxy-agent/lru-cache": ["lru-cache@7.18.3", "", {}, "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA=="],
|
||||||
|
|
||||||
|
"proxy-agent/proxy-from-env": ["proxy-from-env@1.1.0", "", {}, "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="],
|
||||||
|
|
||||||
"rc-align/rc-util": ["rc-util@4.21.1", "", { "dependencies": { "add-dom-event-listener": "^1.1.0", "prop-types": "^15.5.10", "react-is": "^16.12.0", "react-lifecycles-compat": "^3.0.4", "shallowequal": "^1.1.0" } }, "sha512-Z+vlkSQVc1l8O2UjR3WQ+XdWlhj5q9BMQNLk2iOBch75CqPfrJyGtcWMcnhRlNuDu0Ndtt4kLVO8JI8BrABobg=="],
|
"rc-align/rc-util": ["rc-util@4.21.1", "", { "dependencies": { "add-dom-event-listener": "^1.1.0", "prop-types": "^15.5.10", "react-is": "^16.12.0", "react-lifecycles-compat": "^3.0.4", "shallowequal": "^1.1.0" } }, "sha512-Z+vlkSQVc1l8O2UjR3WQ+XdWlhj5q9BMQNLk2iOBch75CqPfrJyGtcWMcnhRlNuDu0Ndtt4kLVO8JI8BrABobg=="],
|
||||||
|
|
||||||
"rc-animate/rc-util": ["rc-util@4.21.1", "", { "dependencies": { "add-dom-event-listener": "^1.1.0", "prop-types": "^15.5.10", "react-is": "^16.12.0", "react-lifecycles-compat": "^3.0.4", "shallowequal": "^1.1.0" } }, "sha512-Z+vlkSQVc1l8O2UjR3WQ+XdWlhj5q9BMQNLk2iOBch75CqPfrJyGtcWMcnhRlNuDu0Ndtt4kLVO8JI8BrABobg=="],
|
"rc-animate/rc-util": ["rc-util@4.21.1", "", { "dependencies": { "add-dom-event-listener": "^1.1.0", "prop-types": "^15.5.10", "react-is": "^16.12.0", "react-lifecycles-compat": "^3.0.4", "shallowequal": "^1.1.0" } }, "sha512-Z+vlkSQVc1l8O2UjR3WQ+XdWlhj5q9BMQNLk2iOBch75CqPfrJyGtcWMcnhRlNuDu0Ndtt4kLVO8JI8BrABobg=="],
|
||||||
@@ -2963,6 +3095,8 @@
|
|||||||
|
|
||||||
"serve-static/send": ["send@0.19.0", "", { "dependencies": { "debug": "2.6.9", "depd": "2.0.0", "destroy": "1.2.0", "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "etag": "~1.8.1", "fresh": "0.5.2", "http-errors": "2.0.0", "mime": "1.6.0", "ms": "2.1.3", "on-finished": "2.4.1", "range-parser": "~1.2.1", "statuses": "2.0.1" } }, "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw=="],
|
"serve-static/send": ["send@0.19.0", "", { "dependencies": { "debug": "2.6.9", "depd": "2.0.0", "destroy": "1.2.0", "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "etag": "~1.8.1", "fresh": "0.5.2", "http-errors": "2.0.0", "mime": "1.6.0", "ms": "2.1.3", "on-finished": "2.4.1", "range-parser": "~1.2.1", "statuses": "2.0.1" } }, "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw=="],
|
||||||
|
|
||||||
|
"simple-swizzle/is-arrayish": ["is-arrayish@0.3.2", "", {}, "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ=="],
|
||||||
|
|
||||||
"soap/strip-bom": ["strip-bom@3.0.0", "", {}, "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA=="],
|
"soap/strip-bom": ["strip-bom@3.0.0", "", {}, "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA=="],
|
||||||
|
|
||||||
"sorcery/buffer-crc32": ["buffer-crc32@1.0.0", "", {}, "sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w=="],
|
"sorcery/buffer-crc32": ["buffer-crc32@1.0.0", "", {}, "sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w=="],
|
||||||
@@ -2981,6 +3115,8 @@
|
|||||||
|
|
||||||
"tar/yallist": ["yallist@4.0.0", "", {}, "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="],
|
"tar/yallist": ["yallist@4.0.0", "", {}, "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="],
|
||||||
|
|
||||||
|
"tar-fs/tar-stream": ["tar-stream@3.1.7", "", { "dependencies": { "b4a": "^1.6.4", "fast-fifo": "^1.2.0", "streamx": "^2.15.0" } }, "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ=="],
|
||||||
|
|
||||||
"temp-write/temp-dir": ["temp-dir@1.0.0", "", {}, "sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ=="],
|
"temp-write/temp-dir": ["temp-dir@1.0.0", "", {}, "sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ=="],
|
||||||
|
|
||||||
"temp-write/uuid": ["uuid@3.4.0", "", { "bin": { "uuid": "./bin/uuid" } }, "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="],
|
"temp-write/uuid": ["uuid@3.4.0", "", { "bin": { "uuid": "./bin/uuid" } }, "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="],
|
||||||
@@ -3043,6 +3179,8 @@
|
|||||||
|
|
||||||
"boxen/wrap-ansi/strip-ansi": ["strip-ansi@7.1.0", "", { "dependencies": { "ansi-regex": "^6.0.1" } }, "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ=="],
|
"boxen/wrap-ansi/strip-ansi": ["strip-ansi@7.1.0", "", { "dependencies": { "ansi-regex": "^6.0.1" } }, "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ=="],
|
||||||
|
|
||||||
|
"colorspace/color/color-convert": ["color-convert@1.9.3", "", { "dependencies": { "color-name": "1.1.3" } }, "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg=="],
|
||||||
|
|
||||||
"express/debug/ms": ["ms@2.0.0", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="],
|
"express/debug/ms": ["ms@2.0.0", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="],
|
||||||
|
|
||||||
"express/send/encodeurl": ["encodeurl@1.0.2", "", {}, "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w=="],
|
"express/send/encodeurl": ["encodeurl@1.0.2", "", {}, "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w=="],
|
||||||
@@ -3193,6 +3331,8 @@
|
|||||||
|
|
||||||
"boxen/wrap-ansi/strip-ansi/ansi-regex": ["ansi-regex@6.1.0", "", {}, "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA=="],
|
"boxen/wrap-ansi/strip-ansi/ansi-regex": ["ansi-regex@6.1.0", "", {}, "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA=="],
|
||||||
|
|
||||||
|
"colorspace/color/color-convert/color-name": ["color-name@1.1.3", "", {}, "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="],
|
||||||
|
|
||||||
"form-render/color/color-convert/color-name": ["color-name@1.1.3", "", {}, "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="],
|
"form-render/color/color-convert/color-name": ["color-name@1.1.3", "", {}, "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="],
|
||||||
|
|
||||||
"npm-packlist/glob/minimatch/brace-expansion": ["brace-expansion@2.0.1", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA=="],
|
"npm-packlist/glob/minimatch/brace-expansion": ["brace-expansion@2.0.1", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA=="],
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ version: '3'
|
|||||||
services:
|
services:
|
||||||
database:
|
database:
|
||||||
build: ./
|
build: ./
|
||||||
|
restart: always
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -52,6 +52,7 @@
|
|||||||
"nodemailer": "^6.10.0",
|
"nodemailer": "^6.10.0",
|
||||||
"pdf-lib": "^1.17.1",
|
"pdf-lib": "^1.17.1",
|
||||||
"postcss-nested": "^7.0.2",
|
"postcss-nested": "^7.0.2",
|
||||||
|
"puppeteer": "^24.7.2",
|
||||||
"radix-svelte-icons": "^1.0.0",
|
"radix-svelte-icons": "^1.0.0",
|
||||||
"sass": "^1.83.4",
|
"sass": "^1.83.4",
|
||||||
"sharp": "^0.33.5",
|
"sharp": "^0.33.5",
|
||||||
@@ -66,6 +67,7 @@
|
|||||||
"tailwindcss": "^3.4.17",
|
"tailwindcss": "^3.4.17",
|
||||||
"trpc-openapi": "^1.2.0",
|
"trpc-openapi": "^1.2.0",
|
||||||
"uuid": "^9.0.1",
|
"uuid": "^9.0.1",
|
||||||
|
"winston": "^3.17.0",
|
||||||
"zod": "^3.24.1"
|
"zod": "^3.24.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -37,9 +37,9 @@ export const createCaller = createCallerFactory({
|
|||||||
"verbrauchsausweis-gewerbe": await import("../src/pages/api/verbrauchsausweis-gewerbe/index.ts"),
|
"verbrauchsausweis-gewerbe": await import("../src/pages/api/verbrauchsausweis-gewerbe/index.ts"),
|
||||||
"verbrauchsausweis-wohnen/[id]": await import("../src/pages/api/verbrauchsausweis-wohnen/[id].ts"),
|
"verbrauchsausweis-wohnen/[id]": await import("../src/pages/api/verbrauchsausweis-wohnen/[id].ts"),
|
||||||
"verbrauchsausweis-wohnen": await import("../src/pages/api/verbrauchsausweis-wohnen/index.ts"),
|
"verbrauchsausweis-wohnen": await import("../src/pages/api/verbrauchsausweis-wohnen/index.ts"),
|
||||||
"webhooks/mollie": await import("../src/pages/api/webhooks/mollie.ts"),
|
|
||||||
"aufnahme/[id]/bilder": await import("../src/pages/api/aufnahme/[id]/bilder.ts"),
|
"aufnahme/[id]/bilder": await import("../src/pages/api/aufnahme/[id]/bilder.ts"),
|
||||||
"aufnahme/[id]": await import("../src/pages/api/aufnahme/[id]/index.ts"),
|
"aufnahme/[id]": await import("../src/pages/api/aufnahme/[id]/index.ts"),
|
||||||
"aufnahme/[id]/unterlagen": await import("../src/pages/api/aufnahme/[id]/unterlagen.ts"),
|
"aufnahme/[id]/unterlagen": await import("../src/pages/api/aufnahme/[id]/unterlagen.ts"),
|
||||||
|
"webhooks/mollie": await import("../src/pages/api/webhooks/mollie.ts"),
|
||||||
"objekt/[id]": await import("../src/pages/api/objekt/[id]/index.ts"),
|
"objekt/[id]": await import("../src/pages/api/objekt/[id]/index.ts"),
|
||||||
})
|
})
|
||||||
@@ -10,8 +10,11 @@ import {
|
|||||||
VerbrauchsausweisWohnenClient,
|
VerbrauchsausweisWohnenClient,
|
||||||
} from "#components/Ausweis/types.js";
|
} from "#components/Ausweis/types.js";
|
||||||
import {
|
import {
|
||||||
|
Aufnahme,
|
||||||
BedarfsausweisWohnen,
|
BedarfsausweisWohnen,
|
||||||
|
Bild,
|
||||||
Enums,
|
Enums,
|
||||||
|
Objekt,
|
||||||
Unterlage,
|
Unterlage,
|
||||||
VerbrauchsausweisGewerbe,
|
VerbrauchsausweisGewerbe,
|
||||||
VerbrauchsausweisWohnen,
|
VerbrauchsausweisWohnen,
|
||||||
@@ -528,12 +531,12 @@ export async function bedarfsausweisWohnenSpeichern(
|
|||||||
|
|
||||||
export async function ausweisSpeichern(
|
export async function ausweisSpeichern(
|
||||||
ausweis:
|
ausweis:
|
||||||
| VerbrauchsausweisWohnenClient
|
| VerbrauchsausweisWohnen
|
||||||
| VerbrauchsausweisGewerbeClient
|
| VerbrauchsausweisGewerbe
|
||||||
| BedarfsausweisWohnenClient,
|
| BedarfsausweisWohnen,
|
||||||
objekt: ObjektClient,
|
objekt: Objekt,
|
||||||
aufnahme: AufnahmeClient,
|
aufnahme: Aufnahme,
|
||||||
bilder: BildClient[],
|
bilder: Bild[],
|
||||||
unterlagen: Unterlage[],
|
unterlagen: Unterlage[],
|
||||||
ausweisart: Enums.Ausweisart
|
ausweisart: Enums.Ausweisart
|
||||||
) {
|
) {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { API_ACCESS_TOKEN_COOKIE_NAME } from "#lib/constants.js";
|
import { API_ACCESS_TOKEN_COOKIE_NAME } from "#lib/constants.js";
|
||||||
import { Aufnahme, Objekt } from "#lib/client/prisma.js";
|
import { Aufnahme, Benutzer, Objekt } from "#lib/client/prisma.js";
|
||||||
import { api } from "astro-typesafe-api/client";
|
import { api } from "astro-typesafe-api/client";
|
||||||
import Cookies from "js-cookie";
|
import Cookies from "js-cookie";
|
||||||
|
|
||||||
@@ -145,7 +145,7 @@ export async function objektSpeichern(objekt: Objekt & { id?: string }): Promise
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
return objekt.id;
|
return objekt.id;
|
||||||
} else {
|
} else {
|
||||||
const { id } = await api.objekt.PUT.fetch({
|
const { id } = await api.objekt.PUT.fetch({
|
||||||
adresse: objekt.adresse,
|
adresse: objekt.adresse,
|
||||||
@@ -161,4 +161,32 @@ export async function objektSpeichern(objekt: Objekt & { id?: string }): Promise
|
|||||||
|
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export async function benutzerSpeichern(benutzer: Partial<Benutzer>): Promise<string> {
|
||||||
|
const completeBenutzer: Benutzer = {
|
||||||
|
id: benutzer.id,
|
||||||
|
name: benutzer.name ?? null,
|
||||||
|
email: benutzer.email,
|
||||||
|
passwort: "",
|
||||||
|
adresse: benutzer.adresse ?? null,
|
||||||
|
anrede: benutzer.anrede ?? null,
|
||||||
|
firma: benutzer.firma ?? null,
|
||||||
|
vorname: benutzer.vorname ?? null,
|
||||||
|
ort: benutzer.ort ?? null,
|
||||||
|
plz: benutzer.plz ?? null,
|
||||||
|
profilbild: benutzer.profilbild ?? null,
|
||||||
|
telefon: benutzer.telefon ?? null,
|
||||||
|
updated_at: new Date(),
|
||||||
|
verified: benutzer.verified ?? false,
|
||||||
|
};
|
||||||
|
|
||||||
|
await api.user.POST.fetch(completeBenutzer
|
||||||
|
, {
|
||||||
|
headers: {
|
||||||
|
Authorization: `Bearer ${Cookies.get(API_ACCESS_TOKEN_COOKIE_NAME)}`
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
return benutzer.id;
|
||||||
}
|
}
|
||||||
@@ -131,7 +131,7 @@
|
|||||||
window.history.pushState(
|
window.history.pushState(
|
||||||
{},
|
{},
|
||||||
"",
|
"",
|
||||||
`${location.pathname}?id=${ausweis.id}`
|
`${location.pathname}?ausweis_id=${ausweis.id}`
|
||||||
);
|
);
|
||||||
blockLocalStorageSync = true;
|
blockLocalStorageSync = true;
|
||||||
localStorage.clear()
|
localStorage.clear()
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ export type OptionalNullable<T> = T extends object ? {
|
|||||||
[K in keyof PickNotNullable<T>]: OptionalNullable<T[K]>
|
[K in keyof PickNotNullable<T>]: OptionalNullable<T[K]>
|
||||||
} : T;
|
} : T;
|
||||||
|
|
||||||
export const UUidWithPrefix = z.string().refine((value) => {
|
export const IDWithPrefix = z.string().refine((value) => {
|
||||||
const prefixedUUidRegex = /^([A-Z]{2})[0-9A-Z]{6,9}$/i
|
const prefixedUUidRegex = /^([A-Z]{2})[0-9A-Z]{6,9}$/i
|
||||||
|
|
||||||
const match = value.match(prefixedUUidRegex)
|
const match = value.match(prefixedUUidRegex)
|
||||||
@@ -113,7 +113,7 @@ export const UUidWithPrefix = z.string().refine((value) => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
export function getAusweisartFromId(id: string): Enums.Ausweisart | null {
|
export function getAusweisartFromId(id: string): Enums.Ausweisart | null {
|
||||||
if (!UUidWithPrefix.safeParse(id).success) {
|
if (!IDWithPrefix.safeParse(id).success) {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,939 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
import { endEnergieVerbrauchVerbrauchsausweis_2016 } from "#lib/Berechnungen/VerbrauchsausweisWohnen/VerbrauchsausweisWohnen_2016.js";
|
|
||||||
import moment from "moment";
|
|
||||||
import {
|
|
||||||
AufnahmeClient,
|
|
||||||
getAusweisartFromId,
|
|
||||||
ObjektClient,
|
|
||||||
BildClient,
|
|
||||||
VerbrauchsausweisWohnenClient,
|
|
||||||
} from "./Ausweis/types.js";
|
|
||||||
import AusweisPruefenTooltip from "./AusweisPruefenTooltip.svelte";
|
|
||||||
import { addNotification } from "#components/Notifications/shared.js";
|
|
||||||
import { CheckCircled, CrossCircled, Image } from "radix-svelte-icons";
|
|
||||||
import ChevronDown from "radix-svelte-icons/src/lib/icons/ChevronDown.svelte";
|
|
||||||
import { Event } from "#lib/client/prisma.js";
|
|
||||||
import { api } from "astro-typesafe-api/client";
|
|
||||||
import Cookies from "js-cookie";
|
|
||||||
import { API_ACCESS_TOKEN_COOKIE_NAME } from "#lib/constants.js";
|
|
||||||
import NotificationWrapper from "./Notifications/NotificationWrapper.svelte";
|
|
||||||
|
|
||||||
|
|
||||||
export let ausweis: VerbrauchsausweisWohnenClient;
|
|
||||||
export let aufnahme: AufnahmeClient;
|
|
||||||
export let objekt: ObjektClient;
|
|
||||||
export let bilder: BildClient[]
|
|
||||||
export let events: Event[]
|
|
||||||
export let calculations: Awaited<
|
|
||||||
ReturnType<typeof endEnergieVerbrauchVerbrauchsausweis_2016>
|
|
||||||
>;
|
|
||||||
|
|
||||||
async function ausweisAusstellen(uid: string) {
|
|
||||||
try {
|
|
||||||
await api.admin.ausstellen.GET.fetch({
|
|
||||||
id_ausweis: uid
|
|
||||||
}, {
|
|
||||||
headers: {
|
|
||||||
"Authorization": `Bearer ${Cookies.get(API_ACCESS_TOKEN_COOKIE_NAME)}`
|
|
||||||
}
|
|
||||||
})
|
|
||||||
} catch(e) {
|
|
||||||
addNotification({
|
|
||||||
message: "Das hat nicht geklappt.",
|
|
||||||
subtext: e as string,
|
|
||||||
timeout: 3000,
|
|
||||||
type: "error",
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const ausweisArt = getAusweisartFromId(ausweis.id)
|
|
||||||
|
|
||||||
let verbrauchWWGesamt_1 = "";
|
|
||||||
let verbrauchWWGesamt_2 = "";
|
|
||||||
|
|
||||||
var Ausweisbild,
|
|
||||||
DatenBlattBild,
|
|
||||||
warmWasser,
|
|
||||||
anteilWarmwasser,
|
|
||||||
solarsystemWarmwasser;
|
|
||||||
|
|
||||||
let zurueckGestellt: any;
|
|
||||||
let symbolPruefung: any;
|
|
||||||
let StatusIcon: any;
|
|
||||||
let tooltip3Z1: any;
|
|
||||||
let tooltip3Z2: any;
|
|
||||||
let tooltip4Z1: any;
|
|
||||||
let tooltip4Z2: any;
|
|
||||||
let tooltip5Z1: any;
|
|
||||||
let tooltip5Z2: any;
|
|
||||||
let tooltip5Z3: any;
|
|
||||||
let tooltip6Z1: any;
|
|
||||||
let tooltip6Z2: any;
|
|
||||||
let tooltip7Z1: any;
|
|
||||||
let tooltip7Z2: any;
|
|
||||||
let tooltip8Z1: any;
|
|
||||||
let tooltip8Z2: any;
|
|
||||||
let tooltip9Z1: any;
|
|
||||||
let tooltip9Z2: any;
|
|
||||||
let tooltip10Z1: any;
|
|
||||||
let tooltip10Z2: any;
|
|
||||||
let tooltip11Z1: any;
|
|
||||||
let tooltip11Z2: any;
|
|
||||||
let tooltip12Z1: any;
|
|
||||||
let tooltip12Z2: any;
|
|
||||||
let tooltip13Z1: any;
|
|
||||||
let tooltip13Z2: any;
|
|
||||||
let tooltip14Z1: any;
|
|
||||||
let tooltip14Z2: any;
|
|
||||||
let tooltip15Z1: any;
|
|
||||||
let tooltip15Z2: any;
|
|
||||||
let tooltip16Z1: any;
|
|
||||||
let tooltip16Z2: any;
|
|
||||||
|
|
||||||
let table3Z1: any;
|
|
||||||
let table3Z2: any;
|
|
||||||
let table4Z1: any;
|
|
||||||
let table4Z2: any;
|
|
||||||
let table5Z1: any;
|
|
||||||
let table5Z2: any;
|
|
||||||
let table6Z1: any;
|
|
||||||
let table6Z2: any;
|
|
||||||
let table7Z1: any;
|
|
||||||
let table7Z2: any;
|
|
||||||
let table8Z1: any;
|
|
||||||
let table8Z2: any;
|
|
||||||
let table9Z1: any;
|
|
||||||
let table9Z2: any;
|
|
||||||
let table10Z1: any;
|
|
||||||
let table10Z2: any;
|
|
||||||
let table11Z1: any;
|
|
||||||
let table11Z2: any;
|
|
||||||
let table12Z1: any;
|
|
||||||
let table12Z2: any;
|
|
||||||
let table13Z1: any;
|
|
||||||
let table13Z2: any;
|
|
||||||
let table14Z1: any;
|
|
||||||
let table14Z2: any;
|
|
||||||
let table15Z1: any;
|
|
||||||
let table15Z2: any;
|
|
||||||
let table16Z1: any;
|
|
||||||
let table16Z2: any;
|
|
||||||
|
|
||||||
let Abgeschlossen: any;
|
|
||||||
|
|
||||||
if (ausweis.ausgestellt) {
|
|
||||||
Ausweisbild = "/images/dashboard/ausweishaken.jpg";
|
|
||||||
DatenBlattBild = "/images/dashboard/datenblatthaken.jpg";
|
|
||||||
StatusIcon = "/images/dashboard/erledigt.svg";
|
|
||||||
Abgeschlossen = 0;
|
|
||||||
} else if (ausweis.bestellt) {
|
|
||||||
Ausweisbild = "/images/dashboard/ausweis.jpg";
|
|
||||||
DatenBlattBild = "/images/dashboard/datenblatt.jpg";
|
|
||||||
StatusIcon = "/images/dashboard/bestellt.svg";
|
|
||||||
Abgeschlossen = 1;
|
|
||||||
} else {
|
|
||||||
Ausweisbild = "/images/dashboard/ausweiskreuz.jpg";
|
|
||||||
DatenBlattBild = "/images/dashboard/datenblattkreuz.jpg";
|
|
||||||
StatusIcon = "/images/dashboard/gespeichert.svg";
|
|
||||||
Abgeschlossen = 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ausweis.boxpruefung) {
|
|
||||||
symbolPruefung = "/images/dashboard/kreishaken.png";
|
|
||||||
} else {
|
|
||||||
symbolPruefung = "/images/dashboard/kreiskreuz.png";
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ausweis.zurueckgestellt) {
|
|
||||||
zurueckGestellt =
|
|
||||||
"<img src='/images/dashboard/zurueckGestellt.svg' alt='Status' width=\"25\" height=\"25\"></img>";
|
|
||||||
} else {
|
|
||||||
zurueckGestellt = "";
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (ausweis.warmwasser_enthalten) {
|
|
||||||
warmWasser = "Warmwasser enthalten";
|
|
||||||
} else {
|
|
||||||
warmWasser = "Warmwasser nicht enthalten";
|
|
||||||
}
|
|
||||||
if (ausweis.warmwasser_anteil_bekannt) {
|
|
||||||
anteilWarmwasser = "Anteil bekannt";
|
|
||||||
} else {
|
|
||||||
anteilWarmwasser = "Anteil unbekannt";
|
|
||||||
}
|
|
||||||
|
|
||||||
if (
|
|
||||||
ausweis.warmwasser_enthalten &&
|
|
||||||
ausweis.warmwasser_anteil_bekannt
|
|
||||||
) {
|
|
||||||
if (aufnahme.solarsystem_warmwasser) {
|
|
||||||
// Wenn Warmwasser enthalten und Anteil bekannt und Solarsystem
|
|
||||||
verbrauchWWGesamt_1 = `${calculations?.energieVerbrauchGesamt_1} kWh x ${(ausweis.anteil_warmwasser_1 || 0) / 100} x 0.6`;
|
|
||||||
verbrauchWWGesamt_2 = `${calculations?.energieVerbrauchGesamt_2} kWh x ${(ausweis.anteil_warmwasser_2 || 0) / 100} x 0.6`;
|
|
||||||
solarsystemWarmwasser = "Solarsystem Warmwasser";
|
|
||||||
} else {
|
|
||||||
// Wenn Warmwasser enthalten und Anteil bekannt und **kein** Solarsystem
|
|
||||||
verbrauchWWGesamt_1 = `${calculations?.energieVerbrauchGesamt_1} kWh x ${(ausweis.anteil_warmwasser_1 || 0) / 100} x 0.6`
|
|
||||||
verbrauchWWGesamt_2 = `${calculations?.energieVerbrauchGesamt_2} kWh x ${(ausweis.anteil_warmwasser_2 || 0) / 100} x 0.6`
|
|
||||||
solarsystemWarmwasser = "kein Solarsystem Warmwasser";
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if (aufnahme.solarsystem_warmwasser) {
|
|
||||||
// Wenn Warmwasser Anteil unbekannt und Solarsystem
|
|
||||||
verbrauchWWGesamt_1 =
|
|
||||||
calculations?.energetischeNutzflaeche +
|
|
||||||
" m² x 12 kWh/m² x 3 Jahre";
|
|
||||||
solarsystemWarmwasser = "Solarsystem Warmwasser";
|
|
||||||
} else {
|
|
||||||
// Wenn Warmwasser Anteil unbekannt und **kein** Solarsystem
|
|
||||||
verbrauchWWGesamt_1 =
|
|
||||||
calculations?.energetischeNutzflaeche +
|
|
||||||
" m² x 20 kWh/m² x 3 Jahre";
|
|
||||||
solarsystemWarmwasser = "kein Solarsystem Warmwasser";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
tooltip3Z1 = "Wohnfläche in m²";
|
|
||||||
tooltip3Z2 =
|
|
||||||
ausweis.faktorKeller +
|
|
||||||
" x " +
|
|
||||||
aufnahme.flaeche +
|
|
||||||
" m² Energetische Nutzfläche (Keller " +
|
|
||||||
aufnahme.keller +
|
|
||||||
" ) in m²";
|
|
||||||
table3Z1 = aufnahme.flaeche;
|
|
||||||
table3Z2 = calculations?.energetischeNutzflaeche;
|
|
||||||
|
|
||||||
|
|
||||||
tooltip4Z1 =
|
|
||||||
"(" +
|
|
||||||
ausweis.verbrauch_1 +
|
|
||||||
" " +
|
|
||||||
ausweis.einheit_1 +
|
|
||||||
" + " +
|
|
||||||
ausweis.verbrauch_2 +
|
|
||||||
" " +
|
|
||||||
ausweis.einheit_1 +
|
|
||||||
" + " +
|
|
||||||
ausweis.verbrauch_3 +
|
|
||||||
" " +
|
|
||||||
ausweis.einheit_1 +
|
|
||||||
") x " +
|
|
||||||
calculations?.brennstoff_1.umrechnungsfaktor +
|
|
||||||
" kWh/" +
|
|
||||||
ausweis.einheit_1 +
|
|
||||||
" >> Verbrauch 1 " +
|
|
||||||
ausweis.brennstoff_1 +
|
|
||||||
" in kWh";
|
|
||||||
tooltip4Z2 =
|
|
||||||
"(" +
|
|
||||||
ausweis.verbrauch_4 +
|
|
||||||
" " +
|
|
||||||
ausweis.einheit_2 +
|
|
||||||
" + " +
|
|
||||||
ausweis.verbrauch_5 +
|
|
||||||
" " +
|
|
||||||
ausweis.einheit_2 +
|
|
||||||
" + " +
|
|
||||||
ausweis.verbrauch_6 +
|
|
||||||
" " +
|
|
||||||
ausweis.einheit_2 +
|
|
||||||
") x " +
|
|
||||||
calculations?.brennstoff_2.umrechnungsfaktor +
|
|
||||||
" kWh/" +
|
|
||||||
ausweis.einheit_2 +
|
|
||||||
" >> Verbrauch 2 " +
|
|
||||||
ausweis.brennstoff_2 +
|
|
||||||
" in kWh";
|
|
||||||
table4Z1 = calculations?.energieVerbrauchGesamt_1;
|
|
||||||
table4Z2 = calculations?.energieVerbrauchGesamt_2;
|
|
||||||
|
|
||||||
tooltip5Z1 =
|
|
||||||
warmWasser + ", " + anteilWarmwasser + ", " + solarsystemWarmwasser;
|
|
||||||
tooltip5Z2 = verbrauchWWGesamt_1;
|
|
||||||
tooltip5Z3 = verbrauchWWGesamt_2;
|
|
||||||
table5Z1 = calculations?.energieVerbrauchWarmwasser_1;
|
|
||||||
table5Z2 = calculations?.energieVerbrauchWarmwasser_2;
|
|
||||||
|
|
||||||
tooltip6Z1 =
|
|
||||||
"(" +
|
|
||||||
calculations?.klimafaktoren[0].klimafaktor +
|
|
||||||
" + " +
|
|
||||||
calculations?.klimafaktoren[1].klimafaktor +
|
|
||||||
" + " +
|
|
||||||
calculations?.klimafaktoren[2].klimafaktor +
|
|
||||||
") / 3 >> durchschnittlicher Klimafaktor";
|
|
||||||
tooltip6Z2 = "";
|
|
||||||
table6Z1 = calculations?.durchschnittsKlimafaktor;
|
|
||||||
table6Z2 = "";
|
|
||||||
|
|
||||||
tooltip7Z1 =
|
|
||||||
calculations?.energieVerbrauchHeizung_1 +
|
|
||||||
" kWh x " +
|
|
||||||
calculations?.durchschnittsKlimafaktor +
|
|
||||||
" >> Klimabereinigter Heizverbrauch 1 in kWh";
|
|
||||||
tooltip7Z2 =
|
|
||||||
calculations?.energieVerbrauchHeizung_2 +
|
|
||||||
" kWh x " +
|
|
||||||
calculations?.durchschnittsKlimafaktor +
|
|
||||||
" >> Klimabereinigter Heizverbrauch 2 in kWh";
|
|
||||||
table7Z1 = calculations?.energieVerbrauchHeizungBereinigt_1;
|
|
||||||
table7Z2 = calculations?.energieVerbrauchHeizungBereinigt_2;
|
|
||||||
|
|
||||||
|
|
||||||
tooltip8Z1 =
|
|
||||||
calculations?.energetischeNutzflaeche +
|
|
||||||
" m² x 6 kWh/m² x 3 Jahre >> Kühlungszuschlag in kWh";
|
|
||||||
tooltip8Z2 = "";
|
|
||||||
table8Z1 = calculations?.kuehlungsZuschlag;
|
|
||||||
table8Z2 = "";
|
|
||||||
|
|
||||||
tooltip9Z1 =
|
|
||||||
"-0.0028 x " +
|
|
||||||
calculations?.durchschnittsEnergieVerbrauchHeizungBereingt +
|
|
||||||
" + 0.9147 >> Heizungsfaktor";
|
|
||||||
tooltip9Z2 =
|
|
||||||
"(" +
|
|
||||||
calculations?.energieVerbrauchHeizungBereinigt_1 +
|
|
||||||
" + " +
|
|
||||||
calculations?.energieVerbrauchHeizungBereinigt_2 +
|
|
||||||
") / (3 * " +
|
|
||||||
calculations?.energetischeNutzflaeche +
|
|
||||||
") >> Durchschnittsverbrauch Heizung in kWh";
|
|
||||||
table9Z1 =
|
|
||||||
calculations?.faktorDurchschnittsEnergieVerbrauchHeizungBereinigt;
|
|
||||||
table9Z2 = calculations?.durchschnittsEnergieVerbrauchHeizungBereingt;
|
|
||||||
|
|
||||||
tooltip10Z1 =
|
|
||||||
calculations[
|
|
||||||
"faktorDurchschnittsEnergieVerbrauchHeizungBereinigt"
|
|
||||||
] +
|
|
||||||
" x " +
|
|
||||||
calculations?.leerstand +
|
|
||||||
" x (" +
|
|
||||||
calculations.energieVerbrauchHeizungBereinigt_1 +
|
|
||||||
" + " +
|
|
||||||
calculations.energieVerbrauchHeizungBereinigt_2 +
|
|
||||||
") >> Leerstandszuschlag Heizung in kWh";
|
|
||||||
tooltip10Z2 =
|
|
||||||
calculations?.leerstand +
|
|
||||||
" x (" +
|
|
||||||
calculations?.energieVerbrauchWarmwasser_1 +
|
|
||||||
" + " +
|
|
||||||
calculations?.energieVerbrauchWarmwasser_2 +
|
|
||||||
") >> Leerstandszuschlag Warmwasser in kWh";
|
|
||||||
table10Z1 = calculations?.leerstandsZuschlagHeizung;
|
|
||||||
table10Z2 = calculations?.leerstandsZuschlagWarmwasser;
|
|
||||||
|
|
||||||
tooltip11Z2 =
|
|
||||||
"(" +
|
|
||||||
calculations?.energieVerbrauchHeizungBereinigt_2 +
|
|
||||||
" + " +
|
|
||||||
calculations?.energieVerbrauchWarmwasser_2 +
|
|
||||||
") / (3 Jahre x " +
|
|
||||||
calculations?.energetischeNutzflaeche +
|
|
||||||
") Endenergieverbrauch 2 in kWh/m²a";
|
|
||||||
table11Z1 = calculations?.endEnergieVerbrauch_1;
|
|
||||||
table11Z2 = calculations?.endEnergieVerbrauch_2;
|
|
||||||
|
|
||||||
tooltip12Z1 =
|
|
||||||
"((" +
|
|
||||||
calculations?.energieVerbrauchHeizungBereinigt_1 +
|
|
||||||
" x " +
|
|
||||||
calculations?.primaerfaktor_1 +
|
|
||||||
") + (" +
|
|
||||||
calculations?.energieVerbrauchWarmwasser_1 +
|
|
||||||
" x " +
|
|
||||||
calculations?.primaerfaktorww +
|
|
||||||
")) / (3 Jahre x " +
|
|
||||||
calculations?.energetischeNutzflaeche +
|
|
||||||
") Primärenergieverbrauch 1 in kWh/m²a";
|
|
||||||
tooltip12Z2 =
|
|
||||||
"((" +
|
|
||||||
calculations?.energieVerbrauchHeizungBereinigt_2 +
|
|
||||||
" x " +
|
|
||||||
calculations?.primaerfaktor_1 +
|
|
||||||
") + (" +
|
|
||||||
calculations?.energieVerbrauchWarmwasser_2 +
|
|
||||||
" x " +
|
|
||||||
calculations?.primaerfaktorww_1 +
|
|
||||||
")) / (3 Jahre x " +
|
|
||||||
calculations?.energetischeNutzflaeche +
|
|
||||||
") Primärenergieverbrauch 2 in kWh/m²a";
|
|
||||||
table12Z1 = calculations?.primaerEnergieVerbrauch_1;
|
|
||||||
table12Z2 = calculations?.primaerEnergieVerbrauch_2;
|
|
||||||
|
|
||||||
tooltip13Z1 =
|
|
||||||
"(" +
|
|
||||||
calculations?.leerstandsZuschlagHeizung +
|
|
||||||
" + " +
|
|
||||||
calculations?.leerstandsZuschlagWarmwasser +
|
|
||||||
") / (3 Jahre x " +
|
|
||||||
calculations?.energetischeNutzflaeche +
|
|
||||||
") Endenergieverbrauch Leerstand in kWh/m²a";
|
|
||||||
tooltip13Z2 =
|
|
||||||
"(" +
|
|
||||||
calculations?.kuehlungsZuschlag +
|
|
||||||
") / (3 Jahre x " +
|
|
||||||
calculations?.energetischeNutzflaeche +
|
|
||||||
") Endenergieverbrauch Kühlung in kWh/m²a";
|
|
||||||
table13Z1 = calculations?.endEnergieVerbrauchLeerstandsZuschlag;
|
|
||||||
table13Z2 = calculations?.endEnergieVerbrauchKuehlungsZuschlag;
|
|
||||||
|
|
||||||
tooltip14Z1 =
|
|
||||||
calculations?.endEnergieVerbrauchLeerstandsZuschlag +
|
|
||||||
" x " +
|
|
||||||
calculations?.primaerfaktor +
|
|
||||||
" Primärenergieverbrauch Leerstand in kWh/m²a";
|
|
||||||
tooltip14Z2 =
|
|
||||||
calculations?.endEnergieVerbrauchKuehlungsZuschlag +
|
|
||||||
" x 1.8 Primärenergieverbrauch Kühlung in kWh/m²a";
|
|
||||||
table14Z1 = calculations?.primaerEnergieVerbrauchLeerstandsZuschlag;
|
|
||||||
table14Z2 = calculations?.primaerEnergieVerbrauchKuehlungsZuschlag;
|
|
||||||
|
|
||||||
tooltip15Z1 =
|
|
||||||
calculations?.endEnergieVerbrauch_1 +
|
|
||||||
" + " +
|
|
||||||
calculations?.endEnergieVerbrauch_2 +
|
|
||||||
" + " +
|
|
||||||
calculations?.endEnergieVerbrauchLeerstandsZuschlag +
|
|
||||||
" + " +
|
|
||||||
calculations?.endEnergieVerbrauchKuehlungsZuschlag +
|
|
||||||
" Endenergieverbrauch in kWh/m²a";
|
|
||||||
tooltip15Z2 =
|
|
||||||
"(" +
|
|
||||||
calculations?.endEnergieVerbrauch_1 +
|
|
||||||
" x " +
|
|
||||||
calculations?.co2Emissionen_1 +
|
|
||||||
") + (" +
|
|
||||||
calculations?.endEnergieVerbrauch_2 +
|
|
||||||
" x " +
|
|
||||||
calculations?.co2Emissionen_2 +
|
|
||||||
") + (" +
|
|
||||||
calculations?.endEnergieVerbrauchLeerstandsZuschlag +
|
|
||||||
" x " +
|
|
||||||
calculations?.co2Emissionen_1 +
|
|
||||||
") + (" +
|
|
||||||
calculations?.endEnergieVerbrauchKuehlungsZuschlag +
|
|
||||||
" x " +
|
|
||||||
calculations?.co2Emissionen_1 +
|
|
||||||
") CO2-Emissionen in kg/m²a";
|
|
||||||
table15Z1 = calculations?.endEnergieVerbrauchGesamt;
|
|
||||||
table15Z2 = calculations?.co2EmissionenGesamt;
|
|
||||||
|
|
||||||
tooltip16Z1 =
|
|
||||||
calculations?.primaerEnergieVerbrauch_1 +
|
|
||||||
" + " +
|
|
||||||
calculations?.primaerEnergieVerbrauch_2 +
|
|
||||||
" + " +
|
|
||||||
calculations?.primaerEnergieVerbrauchLeerstandsZuschlag +
|
|
||||||
" x " +
|
|
||||||
calculations?.primaerEnergieVerbrauchKuehlungsZuschlag +
|
|
||||||
" Primärenergieverbrauch in kWh/m²a";
|
|
||||||
tooltip16Z2 = "Effizienzklasse";
|
|
||||||
table16Z1 = calculations?.primaerEnergieVerbrauchGesamt;
|
|
||||||
table16Z2 = aufnahme.energieeffizienzklasse;
|
|
||||||
|
|
||||||
let imagePreview = "";
|
|
||||||
|
|
||||||
// let imageJson = JSON.parse(ausweis.images);
|
|
||||||
// let imagePreview = "";
|
|
||||||
// if (typeof imageJson === "object") {
|
|
||||||
// imagePreview =
|
|
||||||
// imageJson.daemmung.toString() +
|
|
||||||
// "," +
|
|
||||||
// imageJson.general.toString() +
|
|
||||||
// "," +
|
|
||||||
// imageJson.fenster.toString() +
|
|
||||||
// "," +
|
|
||||||
// imageJson.heizung.toString();
|
|
||||||
// }
|
|
||||||
|
|
||||||
async function stornieren(ausweis: VerbrauchsausweisWohnenClient) {
|
|
||||||
try {
|
|
||||||
const response = await api.admin.stornieren.PUT.fetch({
|
|
||||||
uid_ausweis: ausweis.id
|
|
||||||
}, {
|
|
||||||
headers: {
|
|
||||||
"Authorization": `Bearer ${Cookies.get(API_ACCESS_TOKEN_COOKIE_NAME)}`
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
addNotification({
|
|
||||||
message: "Ausweis wurde storniert",
|
|
||||||
type: "success",
|
|
||||||
dismissable: true,
|
|
||||||
timeout: 3000,
|
|
||||||
})
|
|
||||||
|
|
||||||
ausweis.storniert = true;
|
|
||||||
ausweis = ausweis;
|
|
||||||
} catch(e) {
|
|
||||||
addNotification({
|
|
||||||
message: "Ausweis konnte nicht storniert werden.",
|
|
||||||
subtext: e as string,
|
|
||||||
type: "error",
|
|
||||||
dismissable: true,
|
|
||||||
timeout: 3000,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
let bilderModal: HTMLDialogElement;
|
|
||||||
let infoVisible = false;
|
|
||||||
|
|
||||||
|
|
||||||
async function registriernummerAnfordern(uid: string) {
|
|
||||||
try {
|
|
||||||
const result = await api.admin.registriernummer.GET.fetch({
|
|
||||||
uid
|
|
||||||
}, {
|
|
||||||
headers: {
|
|
||||||
"Authorization": `Bearer ${Cookies.get(API_ACCESS_TOKEN_COOKIE_NAME)}`
|
|
||||||
}
|
|
||||||
})
|
|
||||||
} catch(e) {
|
|
||||||
addNotification({
|
|
||||||
message: "Registriernummer anfordern fehlgeschlagen.",
|
|
||||||
subtext: e as string,
|
|
||||||
type: "error",
|
|
||||||
dismissable: true,
|
|
||||||
timeout: 3000,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div class="border rounded-lg bg-base-200">
|
|
||||||
<table class="">
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td><button on:click={() => infoVisible = !infoVisible}><ChevronDown size={22} class="transition-all {infoVisible ? "" : "rotate-180"}"></ChevronDown></button></td>
|
|
||||||
<td class="w-6 px-2"
|
|
||||||
>
|
|
||||||
{#if ausweis.ausgestellt}
|
|
||||||
<div class="tooltip" data-tip="Ausweis wurde ausgestellt">
|
|
||||||
<div class="rounded-full w-6 h-6 bg-success"></div>
|
|
||||||
</div>
|
|
||||||
{:else if ausweis.bestellt}
|
|
||||||
<div class="tooltip" data-tip="Ausweis wurde bestellt">
|
|
||||||
<div class="rounded-full w-6 h-6 bg-warning"></div>
|
|
||||||
</div>
|
|
||||||
{:else}
|
|
||||||
<div class="tooltip" data-tip="Ausweis ist in Bearbeitung">
|
|
||||||
<div class="rounded-full w-6 h-6 bg-error"></div>
|
|
||||||
</div>
|
|
||||||
{/if}
|
|
||||||
</td
|
|
||||||
>
|
|
||||||
<td width="150px"
|
|
||||||
>
|
|
||||||
<AusweisPruefenTooltip>
|
|
||||||
<div slot="tooltip">
|
|
||||||
<span>{aufnahme.adresse} {aufnahme.plz} {aufnahme.ort}</span>
|
|
||||||
<br>
|
|
||||||
<span>{aufnahme.gebaeudetyp}, Einheiten: {aufnahme.einheiten}</span>
|
|
||||||
</div>
|
|
||||||
<span>{ausweisArt} - {aufnahme.id}</span>
|
|
||||||
<span>{moment(aufnahme.erstellungsdatum).format("DD.MM.YYYY")}</span>
|
|
||||||
</AusweisPruefenTooltip></td
|
|
||||||
>
|
|
||||||
<td width="35px"
|
|
||||||
>
|
|
||||||
<AusweisPruefenTooltip>
|
|
||||||
<div slot="tooltip">
|
|
||||||
<span>Baujahr Gebäude / Baujahr Heizung</span>
|
|
||||||
</div>
|
|
||||||
<span>{aufnahme.baujahr_gebaeude.join(", ")}</span>
|
|
||||||
<span>{aufnahme.baujahr_heizung.join(", ")}</span>
|
|
||||||
</AusweisPruefenTooltip>
|
|
||||||
<div class="tooltip" data-tip="">
|
|
||||||
|
|
||||||
</div></td
|
|
||||||
>
|
|
||||||
<td width="45px"
|
|
||||||
>
|
|
||||||
<AusweisPruefenTooltip>
|
|
||||||
<div slot="tooltip">
|
|
||||||
<span>Wohnfläche in m²</span>
|
|
||||||
<br>
|
|
||||||
<span>{ausweis.faktorKeller} x {aufnahme.flaeche}m² Energetische Nutzfläche (Keller {aufnahme.keller}) in m²</span>
|
|
||||||
</div>
|
|
||||||
<span>{aufnahme.flaeche}</span>
|
|
||||||
<span><strong>{calculations?.energetischeNutzflaeche}</strong></span>
|
|
||||||
</AusweisPruefenTooltip>
|
|
||||||
</td
|
|
||||||
>
|
|
||||||
<td width="90px"
|
|
||||||
>
|
|
||||||
<AusweisPruefenTooltip>
|
|
||||||
<div slot="tooltip">
|
|
||||||
<span>{tooltip4Z1}</span>
|
|
||||||
<br>
|
|
||||||
<span>{tooltip4Z2}</span>
|
|
||||||
</div>
|
|
||||||
<span>{table4Z1}</span>
|
|
||||||
<span>{table4Z2}</span>
|
|
||||||
</AusweisPruefenTooltip></td
|
|
||||||
>
|
|
||||||
<td width="70px"
|
|
||||||
>
|
|
||||||
<AusweisPruefenTooltip>
|
|
||||||
<div slot="tooltip">
|
|
||||||
<span>{tooltip5Z1}</span>
|
|
||||||
<br>
|
|
||||||
<span>{tooltip5Z2}</span>
|
|
||||||
<br>
|
|
||||||
<span>{tooltip5Z3}</span>
|
|
||||||
</div>
|
|
||||||
<span>{table5Z1}</span>
|
|
||||||
<span>{table5Z2}</span>
|
|
||||||
</AusweisPruefenTooltip>
|
|
||||||
</td
|
|
||||||
>
|
|
||||||
<td width="50px"
|
|
||||||
>
|
|
||||||
<AusweisPruefenTooltip>
|
|
||||||
<div slot="tooltip">
|
|
||||||
<span>{tooltip6Z1}</span>
|
|
||||||
<br>
|
|
||||||
<span>{tooltip6Z2}</span>
|
|
||||||
</div>
|
|
||||||
<span><strong>{table6Z1}</strong></span>
|
|
||||||
<span><strong>{table6Z2}</strong></span>
|
|
||||||
</AusweisPruefenTooltip></td
|
|
||||||
>
|
|
||||||
<td width="90px"
|
|
||||||
>
|
|
||||||
<AusweisPruefenTooltip>
|
|
||||||
<div slot="tooltip">
|
|
||||||
<span>{tooltip7Z1}</span>
|
|
||||||
<br>
|
|
||||||
<span>{tooltip7Z2}</span>
|
|
||||||
</div>
|
|
||||||
<span>{table7Z1}</span>
|
|
||||||
<span>{table7Z2}</span>
|
|
||||||
</AusweisPruefenTooltip></td
|
|
||||||
>
|
|
||||||
<td width="60px"
|
|
||||||
>
|
|
||||||
<AusweisPruefenTooltip>
|
|
||||||
<div slot="tooltip">
|
|
||||||
<span>{tooltip8Z1}</span>
|
|
||||||
<br>
|
|
||||||
<span>{tooltip8Z2}</span>
|
|
||||||
</div>
|
|
||||||
<span>{table8Z1}</span>
|
|
||||||
<span>{table8Z2}</span>
|
|
||||||
</AusweisPruefenTooltip></td
|
|
||||||
>
|
|
||||||
<td width="50px"
|
|
||||||
>
|
|
||||||
<AusweisPruefenTooltip>
|
|
||||||
<div slot="tooltip">
|
|
||||||
<span>{tooltip9Z1}</span>
|
|
||||||
<br>
|
|
||||||
<span>{tooltip9Z2}</span>
|
|
||||||
</div>
|
|
||||||
<span>{table9Z1}</span>
|
|
||||||
<span><strong>{table9Z2}</strong></span>
|
|
||||||
</AusweisPruefenTooltip></td
|
|
||||||
>
|
|
||||||
<td width="100px"
|
|
||||||
>
|
|
||||||
<AusweisPruefenTooltip>
|
|
||||||
<div slot="tooltip">
|
|
||||||
<span>{tooltip10Z1}</span>
|
|
||||||
<br>
|
|
||||||
<span>{tooltip10Z2}</span>
|
|
||||||
</div>
|
|
||||||
<span>{table10Z1}</span>
|
|
||||||
<span>{table10Z2}</span>
|
|
||||||
</AusweisPruefenTooltip></td
|
|
||||||
>
|
|
||||||
<td width="110px"
|
|
||||||
>
|
|
||||||
<AusweisPruefenTooltip>
|
|
||||||
<div slot="tooltip">
|
|
||||||
<span>({calculations?.energieVerbrauchHeizungBereinigt_1} + {calculations?.energieVerbrauchWarmwasser_1}) / (3 Jahre x {calculations?.energetischeNutzflaeche}) Endenergieverbrauch 1 in kWh/m²a</span>
|
|
||||||
<br>
|
|
||||||
<span>{tooltip11Z2}</span>
|
|
||||||
</div>
|
|
||||||
<span>{table11Z1}</span>
|
|
||||||
<span>{table11Z2}</span>
|
|
||||||
</AusweisPruefenTooltip></td
|
|
||||||
>
|
|
||||||
<td width="50px"
|
|
||||||
>
|
|
||||||
<AusweisPruefenTooltip>
|
|
||||||
<div slot="tooltip">
|
|
||||||
<span>{tooltip12Z1}</span>
|
|
||||||
<br>
|
|
||||||
<span>{tooltip12Z2}</span>
|
|
||||||
</div>
|
|
||||||
<span>{table12Z1}</span>
|
|
||||||
<span>{table12Z2}</span>
|
|
||||||
</AusweisPruefenTooltip>
|
|
||||||
</td
|
|
||||||
>
|
|
||||||
<td width="60px"
|
|
||||||
>
|
|
||||||
<AusweisPruefenTooltip>
|
|
||||||
<div slot="tooltip">
|
|
||||||
<span>{tooltip13Z1}</span>
|
|
||||||
<br>
|
|
||||||
<span>{tooltip13Z2}</span>
|
|
||||||
</div>
|
|
||||||
<span>{table13Z1}</span>
|
|
||||||
<span>{table13Z2}</span>
|
|
||||||
</AusweisPruefenTooltip>
|
|
||||||
</td
|
|
||||||
>
|
|
||||||
<td width="45px"
|
|
||||||
>
|
|
||||||
<AusweisPruefenTooltip>
|
|
||||||
<div slot="tooltip">
|
|
||||||
<span>{tooltip14Z1}</span>
|
|
||||||
<br>
|
|
||||||
<span>{tooltip14Z2}</span>
|
|
||||||
</div>
|
|
||||||
<span>{table14Z1}</span>
|
|
||||||
<span>{table14Z2}</span>
|
|
||||||
</AusweisPruefenTooltip>
|
|
||||||
</td
|
|
||||||
>
|
|
||||||
<td width="45px"
|
|
||||||
>
|
|
||||||
<AusweisPruefenTooltip>
|
|
||||||
<div slot="tooltip">
|
|
||||||
<span>{tooltip15Z1}</span>
|
|
||||||
<br>
|
|
||||||
<span>{tooltip15Z2}</span>
|
|
||||||
</div>
|
|
||||||
<span><strong>{table15Z1}</strong></span>
|
|
||||||
<span><strong>{table15Z2}</strong></span>
|
|
||||||
</AusweisPruefenTooltip>
|
|
||||||
</td
|
|
||||||
>
|
|
||||||
<td width="50px"
|
|
||||||
>
|
|
||||||
<AusweisPruefenTooltip>
|
|
||||||
<div slot="tooltip">
|
|
||||||
<span>{tooltip16Z1}</span>
|
|
||||||
<br>
|
|
||||||
<span>{tooltip16Z2}</span>
|
|
||||||
</div>
|
|
||||||
<span><strong>{table16Z1}</strong></span>
|
|
||||||
<span><strong>{table16Z2}</strong></span>
|
|
||||||
</AusweisPruefenTooltip>
|
|
||||||
</td
|
|
||||||
>
|
|
||||||
<td title="Gebäudebilder anzeigen"
|
|
||||||
><!-- Open the modal using ID.showModal() method -->
|
|
||||||
<button class="btn btn-square" on:click={() => bilderModal.showModal()}><Image size={22}></Image></button>
|
|
||||||
<dialog bind:this={bilderModal} class="modal p-4 rounded-lg">
|
|
||||||
<div class="modal-box flex flex-row gap-4 items-center justify-center">
|
|
||||||
{#if bilder.length === 0}
|
|
||||||
<div class="flex flex-col gap-4 items-center justify-center">
|
|
||||||
<p>Für diesen Ausweis sind noch keine Bilder vorhanden.</p>
|
|
||||||
<button class="button" tabindex="0">Erinnerung Verschicken</button>
|
|
||||||
</div>
|
|
||||||
{:else}
|
|
||||||
{#each bilder as image}
|
|
||||||
<div>
|
|
||||||
<h2 class="text-lg mb-4 font-bold">{image.kategorie}</h2>
|
|
||||||
<img src="/bilder/{image.id}.jpg">
|
|
||||||
</div>
|
|
||||||
{/each}
|
|
||||||
{/if}
|
|
||||||
</div>
|
|
||||||
<form method="dialog" class="modal-backdrop">
|
|
||||||
<button class="button">Close</button>
|
|
||||||
</form>
|
|
||||||
</dialog></td
|
|
||||||
>
|
|
||||||
<td class="w-[30px]"
|
|
||||||
>
|
|
||||||
<AusweisPruefenTooltip>
|
|
||||||
<div slot="tooltip">
|
|
||||||
<span>{aufnahme.prueftext}</span>
|
|
||||||
</div>
|
|
||||||
{#if ausweis.boxpruefung}
|
|
||||||
<CheckCircled size={22}></CheckCircled>
|
|
||||||
{:else}
|
|
||||||
<CrossCircled size={22}></CrossCircled>
|
|
||||||
{/if}
|
|
||||||
</AusweisPruefenTooltip></td
|
|
||||||
>
|
|
||||||
<td title="Ausweis anzeigen" class="w-[50px]"
|
|
||||||
><a
|
|
||||||
class="energieausweis-img"
|
|
||||||
href="/pdf/ansichtsausweis?uid={ausweis.id}"
|
|
||||||
target="_blank"
|
|
||||||
><img
|
|
||||||
src="/images/dashboard/ausweis.jpg"
|
|
||||||
alt="Energieausweis"
|
|
||||||
class="w-full h-8"
|
|
||||||
/></a
|
|
||||||
></td
|
|
||||||
>
|
|
||||||
<td title="Datenblatt anzeigen" width="50px"
|
|
||||||
><a
|
|
||||||
class="energieausweis-img"
|
|
||||||
href="/pdf/datenblatt?uid={ausweis.id}"
|
|
||||||
target="_blank"
|
|
||||||
><img
|
|
||||||
src="/images/dashboard/datenblatt.jpg"
|
|
||||||
alt="Datenblatt"
|
|
||||||
/></a
|
|
||||||
></td
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
title="Ausweis stornieren und Zahlung wenn erforderlich automatisch zurückbuchen"
|
|
||||||
class="w-4 p-1"
|
|
||||||
><button
|
|
||||||
class="btn btn-xs btn-ghost"
|
|
||||||
on:click={() => stornieren(ausweis)}>S</button
|
|
||||||
></td
|
|
||||||
>
|
|
||||||
<td title="Ausweis ausstellen" class="w-4 p-1"
|
|
||||||
><button
|
|
||||||
class="btn btn-xs btn-ghost"
|
|
||||||
on:click={() => ausweisAusstellen(aufnahme.uid)}>A</button
|
|
||||||
></td
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
title="Ausweis ausstellen und per Post verschicken"
|
|
||||||
class="w-4 p-1"
|
|
||||||
><button
|
|
||||||
class="btn btn-xs btn-ghost"
|
|
||||||
on:click={() => ausweisAusstellenPost(aufnahme.uid)}>P</button
|
|
||||||
></td
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
title="E-Mail an Kunden schicken mit Erläuterungen warum der Ausweis noch nicht ausgestellt werden kann."
|
|
||||||
class="w-4 p-1"
|
|
||||||
><button
|
|
||||||
class="btn btn-xs btn-ghost"
|
|
||||||
on:click={() => ausweisnichtAusstellen(aufnahme.uid)}>N</button
|
|
||||||
></td
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
title="Bestellbestätigung nochmal schicken (Zahlung nicht erfolgreich)"
|
|
||||||
class="w-4 p-1"
|
|
||||||
><button
|
|
||||||
class="btn btn-xs btn-ghost"
|
|
||||||
on:click={() => bestellBestaetigung(aufnahme.uid)}>B</button
|
|
||||||
></td
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
title="E-Mail an Kunden schicken mit Erinnerung die Bestellung abzuschließen."
|
|
||||||
class="w-4 p-1"
|
|
||||||
><button
|
|
||||||
class="btn btn-xs btn-ghost"
|
|
||||||
on:click={() => erinnern(aufnahme.uid)}
|
|
||||||
>E</button
|
|
||||||
></td
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
title="Zum Formular mit allen Eingabedaten."
|
|
||||||
class="w-4 p-1"
|
|
||||||
><a
|
|
||||||
class="btn btn-xs btn-ghost"
|
|
||||||
target="_blank"
|
|
||||||
href="/energieausweis-erstellen/gespeichert?id={aufnahme.uid}">F</a
|
|
||||||
></td
|
|
||||||
>
|
|
||||||
{#if aufnahme.kontrolldatei}
|
|
||||||
<td title="XML-Datei an das DiBT verschicken." class="w-4 p-1"><button class="btn btn-xs btn-ghost" on:click={() => {
|
|
||||||
xmlAbschicken(aufnahme.uid)
|
|
||||||
}}>X</button></td>
|
|
||||||
{/if}
|
|
||||||
{#if !ausweis.registriernummer}
|
|
||||||
<td title="Registriernummer vom DiBT anfordern." class="w-4 p-1"><button class="btn btn-xs btn-ghost" on:click={() => {
|
|
||||||
registriernummerAnfordern(ausweis.id)
|
|
||||||
}}>R</button></td>
|
|
||||||
{/if}
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<div class:hidden={!infoVisible} class:block={infoVisible} class="py-4 border-t">
|
|
||||||
<div class="grid grid-cols-[2fr_1fr] prose max-w-full">
|
|
||||||
<div class="border-r px-8">
|
|
||||||
<h3 class="mt-0">Wichtige Daten</h3>
|
|
||||||
<table>
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td>Angewendete Berechnungsformel</td>
|
|
||||||
<td><strong>EnEV 2016</strong></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Berechnungsergebnis</td>
|
|
||||||
<td>{calculations?.endEnergieVerbrauchGesamt}kWh/m2/A - Energieeffizienzklasse <strong>{calculations?.energieEffizienzKlasse}</strong></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Informationen des Nutzers</td>
|
|
||||||
<td>{ausweis.boxpruefung}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>UID</td>
|
|
||||||
<td><strong><pre>{ausweis.id}</pre></strong></td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<div class="px-8">
|
|
||||||
<h3 class="mt-0">Ereignisse</h3>
|
|
||||||
<ul class="timeline timeline-snap-icon max-md:timeline-compact timeline-vertical">
|
|
||||||
<li>
|
|
||||||
<div class="timeline-middle">
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="h-5 w-5"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z" clip-rule="evenodd" /></svg>
|
|
||||||
</div>
|
|
||||||
<div class="timeline-start md:text-end mb-10">
|
|
||||||
<time class="font-mono italic">{moment(ausweis.erstellungsdatum).format("DD.MM.YYYY - HH:mm")} Uhr</time>
|
|
||||||
<div class="text-lg font-black">Ausweis erstellt</div>
|
|
||||||
</div>
|
|
||||||
<hr/>
|
|
||||||
</li>
|
|
||||||
{#each events as event, i}
|
|
||||||
<li>
|
|
||||||
<hr />
|
|
||||||
<div class="timeline-middle">
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="h-5 w-5"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z" clip-rule="evenodd" /></svg>
|
|
||||||
</div>
|
|
||||||
<div class="mb-10" class:timeline-end={i % 2 == 0} class:timeline-start={i % 2 == 1}>
|
|
||||||
<time class="font-mono italic">{moment(event.date).format("DD.MM.YYYY - HH:mm")} Uhr</time>
|
|
||||||
<div class="text-lg font-black">{event.title}</div>
|
|
||||||
{event.description || ""}
|
|
||||||
</div>
|
|
||||||
<hr />
|
|
||||||
</li>
|
|
||||||
{/each}
|
|
||||||
{#if ausweis.erledigt}
|
|
||||||
<li>
|
|
||||||
<hr />
|
|
||||||
<div class="timeline-middle">
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="h-5 w-5"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z" clip-rule="evenodd" /></svg>
|
|
||||||
</div>
|
|
||||||
<div class="mb-10 timeline-end">
|
|
||||||
<time class="font-mono italic">{moment(ausweis.ausstellungsdatum).format("DD.MM.YYYY - HH:mm")} Uhr</time>
|
|
||||||
<div class="text-lg font-black">Ausweis ausgestellt</div>
|
|
||||||
{ausweis.registriernummer ? `Registriernummer: ${ausweis.registriernummer}` : ""}
|
|
||||||
</div>
|
|
||||||
<hr />
|
|
||||||
</li>
|
|
||||||
{/if}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<NotificationWrapper />
|
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
import { getZodBaseType } from "#client/lib/helpers.js";
|
|
||||||
import { filterAusweise } from "#lib/filters.js";
|
|
||||||
import { ZodTypeAny } from "astro:schema";
|
|
||||||
import { Cross1 } from "radix-svelte-icons";
|
|
||||||
import z, { ZodBoolean, ZodNativeEnum, ZodNumber } from "zod"
|
|
||||||
|
|
||||||
export let filters: { name: keyof z.infer<typeof filterAusweise>, type: ZodTypeAny, value: any }[] = []
|
|
||||||
</script>
|
|
||||||
|
|
||||||
{#each filters as filter, i}
|
|
||||||
{@const type = getZodBaseType(filter.type)}
|
|
||||||
<div class="flex flex-row bg-white gap-4 px-2 py-2 rounded-lg">
|
|
||||||
{#if i === 0}
|
|
||||||
<span class="badge">where</span>
|
|
||||||
{:else}
|
|
||||||
<span class="badge">and</span>
|
|
||||||
{/if}
|
|
||||||
<select on:change={function(e) {
|
|
||||||
delete filters[filter.name]
|
|
||||||
filter.name = e.target.value;
|
|
||||||
filter.type = filterAusweise._def.shape()[filter.name]
|
|
||||||
filters = filters.filter(Boolean);
|
|
||||||
}}>
|
|
||||||
<option value={filter.name} selected>{filter.name}</option>
|
|
||||||
{#each Object.keys(filterAusweise._def.shape()) as n}
|
|
||||||
{#if !filters.find(filter => filter.name === n)}
|
|
||||||
<option value={n}>{n}</option>
|
|
||||||
{/if}
|
|
||||||
{/each}
|
|
||||||
</select>
|
|
||||||
<span class="badge">equals</span>
|
|
||||||
{#if type instanceof ZodNumber}
|
|
||||||
<input type="number" bind:value={filter.value}>
|
|
||||||
{:else if type instanceof ZodBoolean}
|
|
||||||
<select bind:value={filter.value}>
|
|
||||||
<option value={true}>true</option>
|
|
||||||
<option value={false}>false</option>
|
|
||||||
</select>
|
|
||||||
{:else if type instanceof ZodNativeEnum}
|
|
||||||
<select bind:value={filter.value}>
|
|
||||||
{#each Object.entries(type._def.values) as [key, value]}
|
|
||||||
<option {value}>{key}</option>
|
|
||||||
{/each}
|
|
||||||
</select>
|
|
||||||
{:else}
|
|
||||||
<input type="text" bind:value={filter.value}>
|
|
||||||
{/if}
|
|
||||||
<Cross1 size={24} class="cursor-pointer"></Cross1>
|
|
||||||
</div>
|
|
||||||
{/each}
|
|
||||||
|
|
||||||
<button on:click={() => {
|
|
||||||
const entry = Object.entries(filterAusweise._def.shape())[0]
|
|
||||||
filters.push({
|
|
||||||
name: entry[0],
|
|
||||||
type: entry[1],
|
|
||||||
value: null
|
|
||||||
})
|
|
||||||
filters = filters
|
|
||||||
}}>Filter Hinzufügen</button>
|
|
||||||
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.badge {
|
|
||||||
@apply rounded-lg px-2 py-1 bg-gray-500 text-white;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
} from "radix-svelte-icons";
|
} from "radix-svelte-icons";
|
||||||
import { api } from "astro-typesafe-api/client";
|
import { api } from "astro-typesafe-api/client";
|
||||||
import Cookies from "js-cookie";
|
import Cookies from "js-cookie";
|
||||||
import { API_ACCESS_TOKEN_COOKIE_NAME } from "#lib/constants.js";
|
import { API_ACCESS_TOKEN_COOKIE_NAME, AusstellungsTyp } from "#lib/constants.js";
|
||||||
import { Enums, Objekt } from "#lib/client/prisma.js";
|
import { Enums, Objekt } from "#lib/client/prisma.js";
|
||||||
import { addNotification, updateNotification } from "#components/Notifications/shared.js";
|
import { addNotification, updateNotification } from "#components/Notifications/shared.js";
|
||||||
import { endEnergieVerbrauchVerbrauchsausweis_2016_Client } from "#lib/Berechnungen/VerbrauchsausweisWohnen/VerbrauchsausweisWohnen_2016_Client.js";
|
import { endEnergieVerbrauchVerbrauchsausweis_2016_Client } from "#lib/Berechnungen/VerbrauchsausweisWohnen/VerbrauchsausweisWohnen_2016_Client.js";
|
||||||
@@ -327,10 +327,15 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="badge badge-accent font-semibold text-black text-m">
|
<div class="badge badge-accent font-semibold text-black text-m">
|
||||||
{#if ausweis.ausweistyp === Enums.AusweisTyp.Beratung || ausweis.ausweistyp === Enums.AusweisTyp.BeratungXL}
|
{#if ausweis.ausweistyp === Enums.AusweisTyp.Beratung || ausweis.ausweistyp === Enums.AusweisTyp.BeratungXL}
|
||||||
mit Beratung
|
mit Beratung
|
||||||
{:else if ausweis.ausweistyp === Enums.AusweisTyp.Offline || ausweis.ausweistyp === Enums.AusweisTyp.OfflineXL}
|
{:else if ausweis.ausweistyp === Enums.AusweisTyp.Offline || ausweis.ausweistyp === Enums.AusweisTyp.OfflineXL}
|
||||||
Offline
|
Offline
|
||||||
{/if}
|
{/if}
|
||||||
|
{#if (rechnung?.services ?? []).length > 0}
|
||||||
|
{#if rechnung}
|
||||||
|
<span class="text-sm italic">({rechnung.services})</span>
|
||||||
|
{/if}
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-4 flex flex-row items-center gap-4">
|
<div class="mb-4 flex flex-row items-center gap-4">
|
||||||
<div class="w-full border rounded-lg my-2">
|
<div class="w-full border rounded-lg my-2">
|
||||||
@@ -482,32 +487,32 @@
|
|||||||
{#if ausweisart === Enums.Ausweisart.VerbrauchsausweisWohnen}
|
{#if ausweisart === Enums.Ausweisart.VerbrauchsausweisWohnen}
|
||||||
<a
|
<a
|
||||||
class="button text-sm"
|
class="button text-sm"
|
||||||
href="/energieausweis-erstellen/verbrauchsausweis-wohngebaeude?id={ausweis.id}"
|
href="/energieausweis-erstellen/verbrauchsausweis-wohngebaeude?ausweis_id={ausweis.id}&typ={AusstellungsTyp.Speichern}"
|
||||||
>Bearbeiten</a>
|
>Bearbeiten</a>
|
||||||
{:else if ausweisart === Enums.Ausweisart.VerbrauchsausweisGewerbe}
|
{:else if ausweisart === Enums.Ausweisart.VerbrauchsausweisGewerbe}
|
||||||
<a
|
<a
|
||||||
class="button text-sm"
|
class="button text-sm"
|
||||||
href="/energieausweis-erstellen/verbrauchsausweis-gewerbe?id={ausweis.id}"
|
href="/energieausweis-erstellen/verbrauchsausweis-gewerbe?ausweis_id={ausweis.id}&typ={AusstellungsTyp.Speichern}"
|
||||||
>Bearbeiten</a>
|
>Bearbeiten</a>
|
||||||
{:else if ausweisart === Enums.Ausweisart.BedarfsausweisWohnen}
|
{:else if ausweisart === Enums.Ausweisart.BedarfsausweisWohnen}
|
||||||
<a
|
<a
|
||||||
class="button text-sm"
|
class="button text-sm"
|
||||||
href="/energieausweis-erstellen/bedarfsausweis-wohngebaeude?id={ausweis.id}"
|
href="/energieausweis-erstellen/bedarfsausweis-wohngebaeude?ausweis_id={ausweis.id}&typ={AusstellungsTyp.Speichern}"
|
||||||
>Bearbeiten</a>
|
>Bearbeiten</a>
|
||||||
{:else if ausweisart === Enums.Ausweisart.GEGNachweisWohnen}
|
{:else if ausweisart === Enums.Ausweisart.GEGNachweisWohnen}
|
||||||
<a
|
<a
|
||||||
class="button text-sm"
|
class="button text-sm"
|
||||||
href="/angebot-anfragen/geg-nachweis-wohnen-anfragen?id={ausweis.id}"
|
href="/angebot-anfragen/geg-nachweis-wohnen-anfragen?ausweis_id={ausweis.id}&typ={AusstellungsTyp.Speichern}"
|
||||||
>Bearbeiten</a>
|
>Bearbeiten</a>
|
||||||
{:else if ausweisart === Enums.Ausweisart.GEGNachweisGewerbe}
|
{:else if ausweisart === Enums.Ausweisart.GEGNachweisGewerbe}
|
||||||
<a
|
<a
|
||||||
class="button text-sm"
|
class="button text-sm"
|
||||||
href="/angebot-anfragen/geg-nachweis-gewerbe-anfragen?id={ausweis.id}"
|
href="/angebot-anfragen/geg-nachweis-gewerbe-anfragen?ausweis_id={ausweis.id}&typ={AusstellungsTyp.Speichern}"
|
||||||
>Bearbeiten</a>
|
>Bearbeiten</a>
|
||||||
{:else if ausweisart === Enums.Ausweisart.BedarfsausweisGewerbe}
|
{:else if ausweisart === Enums.Ausweisart.BedarfsausweisGewerbe}
|
||||||
<a
|
<a
|
||||||
class="button text-sm"
|
class="button text-sm"
|
||||||
href="/angebot-anfragen/bedarfsausweis-gewerbe-anfragen?id={ausweis.id}"
|
href="/angebot-anfragen/bedarfsausweis-gewerbe-anfragen?ausweis_id={ausweis.id}&typ={AusstellungsTyp.Speichern}"
|
||||||
>Bearbeiten</a>
|
>Bearbeiten</a>
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
@@ -516,17 +521,17 @@
|
|||||||
{#if ausweisart === Enums.Ausweisart.VerbrauchsausweisWohnen}
|
{#if ausweisart === Enums.Ausweisart.VerbrauchsausweisWohnen}
|
||||||
<a
|
<a
|
||||||
class="button text-sm"
|
class="button text-sm"
|
||||||
href="/energieausweis-erstellen/verbrauchsausweis-wohngebaeude?id={ausweis.id}"
|
href="/energieausweis-erstellen/verbrauchsausweis-wohngebaeude?ausweis_id={ausweis.id}&typ={AusstellungsTyp.Speichern}"
|
||||||
>Formular</a>
|
>Formular</a>
|
||||||
{:else if ausweisart === Enums.Ausweisart.VerbrauchsausweisGewerbe}
|
{:else if ausweisart === Enums.Ausweisart.VerbrauchsausweisGewerbe}
|
||||||
<a
|
<a
|
||||||
class="button text-sm"
|
class="button text-sm"
|
||||||
href="/energieausweis-erstellen/verbrauchsausweis-gewerbe?id={ausweis.id}"
|
href="/energieausweis-erstellen/verbrauchsausweis-gewerbe?ausweis_id={ausweis.id}&typ={AusstellungsTyp.Speichern}"
|
||||||
>Formular</a>
|
>Formular</a>
|
||||||
{:else if ausweisart === Enums.Ausweisart.BedarfsausweisWohnen}
|
{:else if ausweisart === Enums.Ausweisart.BedarfsausweisWohnen}
|
||||||
<a
|
<a
|
||||||
class="button text-sm"
|
class="button text-sm"
|
||||||
href="/energieausweis-erstellen/bedarfsausweis-wohngebaeude?id={ausweis.id}"
|
href="/energieausweis-erstellen/bedarfsausweis-wohngebaeude?ausweis_id={ausweis.id}&typ={AusstellungsTyp.Speichern}"
|
||||||
>Formular</a>
|
>Formular</a>
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
@@ -683,7 +688,7 @@
|
|||||||
{aufnahme.aussenwand_min_12cm_gedaemmt ? "Außenwand min. 12cm gedämmt" : ""}
|
{aufnahme.aussenwand_min_12cm_gedaemmt ? "Außenwand min. 12cm gedämmt" : ""}
|
||||||
</div>
|
</div>
|
||||||
<div class="text-xs space-y-1 p-2">
|
<div class="text-xs space-y-1 p-2">
|
||||||
<span class="font-semibold">Hiermit bestätige ich {benutzer.vorname} {benutzer.name} als Besteller folgende Angaben:</span><br>
|
<span class="font-semibold">Hiermit bestätige ich {benutzer.vorname} {benutzer.name} als Besteller:</span><br>
|
||||||
{#if ausweis.pruefpunkt_heizungsalter}
|
{#if ausweis.pruefpunkt_heizungsalter}
|
||||||
<div>Das Heizungsalter ist jünger als 3 Jahre. Es betrifft einen Heizungstausch ohne energetische Verbesserung.</div>
|
<div>Das Heizungsalter ist jünger als 3 Jahre. Es betrifft einen Heizungstausch ohne energetische Verbesserung.</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -1,21 +1,11 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import {
|
import {
|
||||||
Reader,
|
|
||||||
Bell,
|
|
||||||
Gear,
|
Gear,
|
||||||
LockClosed,
|
LockClosed,
|
||||||
CaretDown,
|
CaretDown,
|
||||||
MagnifyingGlass,
|
MagnifyingGlass,
|
||||||
} from "radix-svelte-icons";
|
} from "radix-svelte-icons";
|
||||||
import NotificationProvider from "#components/NotificationProvider/NotificationProvider.svelte";
|
import { Benutzer } from "#lib/server/prisma.js";
|
||||||
import DashboardNotification from "./DashboardNotification.svelte";
|
|
||||||
import { notifications } from "#components/NotificationProvider/shared.js";
|
|
||||||
import ThemeController from "#components/ThemeController.svelte";
|
|
||||||
import {
|
|
||||||
BenutzerClient,
|
|
||||||
ObjektKomplettClient,
|
|
||||||
} from "#components/Ausweis/types.js";
|
|
||||||
import { Benutzer, Rechnung } from "#lib/server/prisma.js";
|
|
||||||
|
|
||||||
export let lightTheme: boolean;
|
export let lightTheme: boolean;
|
||||||
export let benutzer: Benutzer;
|
export let benutzer: Benutzer;
|
||||||
@@ -201,21 +191,13 @@
|
|||||||
<summary
|
<summary
|
||||||
class="button-tab w-full outline-0 hover:outline-0 cursor-pointer"
|
class="button-tab w-full outline-0 hover:outline-0 cursor-pointer"
|
||||||
>
|
>
|
||||||
<LockClosed width={22} height={22} />
|
<LockClosed size={22}/>
|
||||||
Admin <CaretDown
|
Admin <CaretDown
|
||||||
size={24}
|
size={24}
|
||||||
class="caret ml-auto transition-transform"
|
class="caret ml-auto transition-transform"
|
||||||
></CaretDown></summary
|
></CaretDown></summary
|
||||||
>
|
>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
|
||||||
<a
|
|
||||||
class="button-tab"
|
|
||||||
href="/dashboard/admin/ausweise-pruefen"
|
|
||||||
>
|
|
||||||
Ausweise Prüfen
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
class="button-tab"
|
class="button-tab"
|
||||||
|
|||||||
@@ -1,90 +1,179 @@
|
|||||||
<script>
|
<script>
|
||||||
import { PRICES } from "#lib/constants";
|
import { PRICES } from "#lib/constants";
|
||||||
export let bullets;
|
|
||||||
export let title;
|
|
||||||
export let ref = "";
|
|
||||||
import { Enums } from "#lib/client/prisma";
|
import { Enums } from "#lib/client/prisma";
|
||||||
|
export let ref = "";
|
||||||
bullets = [
|
|
||||||
["Prüfung durch Dipl. Ing.<br>Registrierung beim DiBt<br>rechtssicher nach GEG",true, true, true],
|
const bullets = [
|
||||||
["Originalausweis als PDF per <span class='text-nowrap'>E-Mail</span><br>Originalausweis per Post (zubuchbar)",true, true, true],
|
[
|
||||||
["Bearbeitung innerhalb 24 Stunden<br>Selbsteingabe",true, true, false],
|
"Prüfung durch Dipl. Ing.<br>Registrierung beim DiBt<br>rechtssicher nach GEG",
|
||||||
["Same day service (zubuchbar)",true, true, false],
|
true,
|
||||||
["Fotoupload",true, true, true],
|
true,
|
||||||
["automatische Vorprüfung<br>Live Vorschau direkt bei Eingabe<br>Live Vorschauausweis vorab<br>Vorschauausweis per E-Mail<br>dynamische Eingabehilfe",true, true, false],
|
true,
|
||||||
["Prüfanmerkungen per <span class='text-nowrap'>E-Mail</span>",true, true, false],
|
],
|
||||||
["persönlicher Support",false, true, true],
|
[
|
||||||
["telefonische Beratung<br>persönlicher Energieberater",false, true, true],
|
"Originalausweis als PDF per <span class='text-nowrap'>E-Mail</span><br>Originalausweis per Post (zubuchbar)",
|
||||||
["Dokumentenupload (Pläne, Bauunterlagen)",false, false, true],
|
true,
|
||||||
["Eingabe durch Dipl. Ing.",false, false, true],]
|
true,
|
||||||
|
true,
|
||||||
|
],
|
||||||
</script>
|
[
|
||||||
|
"Bearbeitung innerhalb 24 Stunden<br>Selbsteingabe",
|
||||||
<h1>Produktübersicht: <span class="text-secondary">Bedarfsausweis Wohngebäude</span></h1>
|
true,
|
||||||
<h3>Bedarfsausweis Leistungen und Preise in der Übersicht:</h3>
|
true,
|
||||||
|
false,
|
||||||
<hr>
|
],
|
||||||
<br>
|
["Same day service (zubuchbar)", true, true, false],
|
||||||
|
["Fotoupload", true, true, true],
|
||||||
<div id="ProduktUebersichtBedarfssausweisWohnen">
|
[
|
||||||
|
"automatische Vorprüfung<br>Live Vorschau direkt bei Eingabe<br>Live Vorschauausweis vorab<br>Vorschauausweis per E-Mail<br>dynamische Eingabehilfe",
|
||||||
<div class="w-full sm:w-[90%] sm:mx-auto grid grid-cols-[1fr_max-content_max-content_max-content] sm:grid-cols-[1fr_min-content_min-content_min-content]">
|
true,
|
||||||
|
true,
|
||||||
<div class="zeile grid grid-cols-subgrid col-span-4 py-4 border-b-[1px] justify-items-center items-center sm:text-[1.25rem]">
|
false,
|
||||||
<div class="justify-self-start pl-2"><b>Leistung</b></div><div><b>online</b></div><div><b>premium</b></div><div><b>offline</b></div>
|
],
|
||||||
</div>
|
[
|
||||||
|
"Prüfanmerkungen per <span class='text-nowrap'>E-Mail</span>",
|
||||||
{#each bullets as [bullet,online,premium,offline]}
|
true,
|
||||||
<div class="bullet grid grid-cols-subgrid col-span-4 py-4 border-b-[1px] justify-items-center items-center">
|
true,
|
||||||
<div class="justify-self-start pl-2">{@html bullet}</div>
|
false,
|
||||||
<div class:check={online} class:check-no={!online}>{online ? "✔" : "⁃"}</div>
|
],
|
||||||
<div class:check={premium} class:check-no={!premium}>{premium ? "✔" : "⁃"}</div>
|
["persönlicher Support", false, true, true],
|
||||||
<div class:check={offline} class:check-no={!offline}>{offline ? "✔" : "⁃"}</div>
|
[
|
||||||
</div>
|
"telefonische Beratung<br>persönlicher Energieberater",
|
||||||
{/each}
|
false,
|
||||||
|
true,
|
||||||
<div class="zeile grid grid-cols-subgrid col-span-4 py-4 border-b-[0px] justify-items-center items-center sm:text-[1.25rem]">
|
true,
|
||||||
<div class="price justify-self-start pl-2">Preis inkl. MwSt.</div>
|
],
|
||||||
<div class="price"><b>{PRICES.BedarfsausweisWohnen[Enums.AusweisTyp.Standard]} €</b></div>
|
["Dokumentenupload (Pläne, Bauunterlagen)", false, false, true],
|
||||||
<div class="price"><b>{PRICES.BedarfsausweisWohnen[Enums.AusweisTyp.Beratung]} €</b></div>
|
["Eingabe durch Dipl. Ing.", false, false, true],
|
||||||
<div class="price"><b>{PRICES.BedarfsausweisWohnen[Enums.AusweisTyp.Offline]} €</b></div>
|
];
|
||||||
</div>
|
</script>
|
||||||
|
|
||||||
<div class="zeile grid grid-cols-subgrid col-span-4 py-4 border-b-[0px] justify-items-center items-center">
|
<h1>
|
||||||
<div class="justify-self-start pl-2"></div>
|
Produktübersicht: <span class="text-secondary"
|
||||||
<a href="{ref}/energieausweis-erstellen/bedarfsausweis-wohngebaeude?ausweistyp={Enums.AusweisTyp.Standard}"><button class="bestellbutton" type="button">sofort<br>bestellen</button></a>
|
>Bedarfsausweis Wohngebäude</span
|
||||||
<a href="{ref}/energieausweis-erstellen/bedarfsausweis-wohngebaeude?ausweistyp={Enums.AusweisTyp.Beratung}"><button class="bestellbutton" type="button">sofort<br>bestellen</button></a>
|
>
|
||||||
<a href="{ref}/energieausweis-erstellen/bedarfsausweis-wohngebaeude?ausweistyp={Enums.AusweisTyp.Offline}"><button class="bestellbutton" type="button">sofort<br>bestellen</button></a>
|
</h1>
|
||||||
</div>
|
<h3>Bedarfsausweis Leistungen und Preise in der Übersicht:</h3>
|
||||||
|
|
||||||
</div>
|
<hr />
|
||||||
|
<br />
|
||||||
|
|
||||||
|
<div id="ProduktUebersichtBedarfssausweisWohnen">
|
||||||
</div>
|
<div
|
||||||
|
class="w-full sm:w-[90%] sm:mx-auto grid grid-cols-[1fr_max-content_max-content_max-content] sm:grid-cols-[1fr_min-content_min-content_min-content]"
|
||||||
<style lang="postcss">
|
>
|
||||||
|
<div
|
||||||
.bestellbutton{@apply px-[2px] sm:px-4 mx-[2px] sm:mx-2 py-2 bg-secondary ring-2 ring-secondary/25 rounded-none xs:rounded-md text-white text-nowrap font-bold
|
class="zeile grid grid-cols-subgrid col-span-4 py-4 border-b-[1px] justify-items-center items-center sm:text-[1.25rem]"
|
||||||
hover:bg-gradient-to-br from-secondary to-secondary-grad hover:shadow-lg transition-all hover:no-underline hover:ring-2 hover:ring-primary;}
|
>
|
||||||
|
<div class="justify-self-start pl-2"><b>Leistung</b></div>
|
||||||
|
<div><b>online</b></div>
|
||||||
|
<div><b>premium</b></div>
|
||||||
|
<div><b>offline</b></div>
|
||||||
.zeile{@apply text-[0.6rem] sm:text-[1rem] md:text-[1.5rem]}
|
</div>
|
||||||
.bullet{@apply text-[0.75rem] sm:text-[1rem] md:text-[1.25rem]}
|
|
||||||
.bullet:nth-child(even){@apply bg-blue-100/40}
|
{#each bullets as [bullet, online, premium, offline]}
|
||||||
.bullet:nth-child(2){@apply !border-t-[6px]}
|
<div
|
||||||
.bullet:nth-child(12){@apply !border-b-[6px]}
|
class="bullet grid grid-cols-subgrid col-span-4 py-4 border-b-[1px] justify-items-center items-center"
|
||||||
|
>
|
||||||
.check {
|
<div class="justify-self-start pl-2">{@html bullet}</div>
|
||||||
@apply text-[1.25rem] sm:text-[1.5rem] font-bold text-green-700;
|
<div class:check={online} class:check-no={!online}>
|
||||||
}
|
{online ? "✔" : "⁃"}
|
||||||
.check-no {
|
</div>
|
||||||
@apply text-[1.25rem] sm:text-[1.5rem] font-bold text-black;
|
<div class:check={premium} class:check-no={!premium}>
|
||||||
}
|
{premium ? "✔" : "⁃"}
|
||||||
|
</div>
|
||||||
.price{@apply text-[1.25rem] sm:text-[2rem]}
|
<div class:check={offline} class:check-no={!offline}>
|
||||||
|
{offline ? "✔" : "⁃"}
|
||||||
</style>
|
</div>
|
||||||
|
</div>
|
||||||
|
{/each}
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="zeile grid grid-cols-subgrid col-span-4 py-4 border-b-[0px] justify-items-center items-center sm:text-[1.25rem]"
|
||||||
|
>
|
||||||
|
<div class="price justify-self-start pl-2">Preis inkl. MwSt.</div>
|
||||||
|
<div class="price">
|
||||||
|
<b
|
||||||
|
>{PRICES.BedarfsausweisWohnen[
|
||||||
|
Enums.AusweisTyp.Standard
|
||||||
|
]} €</b
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div class="price">
|
||||||
|
<b
|
||||||
|
>{PRICES.BedarfsausweisWohnen[
|
||||||
|
Enums.AusweisTyp.Beratung
|
||||||
|
]} €</b
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div class="price">
|
||||||
|
<b
|
||||||
|
>{PRICES.BedarfsausweisWohnen[
|
||||||
|
Enums.AusweisTyp.Offline
|
||||||
|
]} €</b
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="zeile grid grid-cols-subgrid col-span-4 py-4 border-b-[0px] justify-items-center items-center"
|
||||||
|
>
|
||||||
|
<div class="justify-self-start pl-2"></div>
|
||||||
|
<a
|
||||||
|
href="{ref}/energieausweis-erstellen/bedarfsausweis-wohngebaeude?ausweistyp={Enums
|
||||||
|
.AusweisTyp.Standard}"
|
||||||
|
><button class="bestellbutton" type="button"
|
||||||
|
>sofort<br />bestellen</button
|
||||||
|
></a
|
||||||
|
>
|
||||||
|
<a
|
||||||
|
href="{ref}/energieausweis-erstellen/bedarfsausweis-wohngebaeude?ausweistyp={Enums
|
||||||
|
.AusweisTyp.Beratung}"
|
||||||
|
><button class="bestellbutton" type="button"
|
||||||
|
>sofort<br />bestellen</button
|
||||||
|
></a
|
||||||
|
>
|
||||||
|
<a
|
||||||
|
href="{ref}/energieausweis-erstellen/bedarfsausweis-wohngebaeude?ausweistyp={Enums
|
||||||
|
.AusweisTyp.Offline}"
|
||||||
|
><button class="bestellbutton" type="button"
|
||||||
|
>sofort<br />bestellen</button
|
||||||
|
></a
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style lang="postcss">
|
||||||
|
.bestellbutton {
|
||||||
|
@apply px-[2px] sm:px-4 mx-[2px] sm:mx-2 py-2 bg-secondary ring-2 ring-secondary/25 rounded-none xs:rounded-md text-white text-nowrap font-bold
|
||||||
|
hover:bg-gradient-to-br from-secondary to-secondary-grad hover:shadow-lg transition-all hover:no-underline hover:ring-2 hover:ring-primary;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zeile {
|
||||||
|
@apply text-[0.6rem] sm:text-[1rem] md:text-[1.5rem];
|
||||||
|
}
|
||||||
|
.bullet {
|
||||||
|
@apply text-[0.75rem] sm:text-[1rem] md:text-[1.25rem];
|
||||||
|
}
|
||||||
|
.bullet:nth-child(even) {
|
||||||
|
@apply bg-blue-100/40;
|
||||||
|
}
|
||||||
|
.bullet:nth-child(2) {
|
||||||
|
@apply !border-t-[6px];
|
||||||
|
}
|
||||||
|
.bullet:nth-child(12) {
|
||||||
|
@apply !border-b-[6px];
|
||||||
|
}
|
||||||
|
|
||||||
|
.check {
|
||||||
|
@apply text-[1.25rem] sm:text-[1.5rem] font-bold text-green-700;
|
||||||
|
}
|
||||||
|
.check-no {
|
||||||
|
@apply text-[1.25rem] sm:text-[1.5rem] font-bold text-black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.price {
|
||||||
|
@apply text-[1.25rem] sm:text-[2rem];
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@@ -1,89 +1,179 @@
|
|||||||
<script>
|
<script>
|
||||||
import { PRICES } from "#lib/constants";
|
import { PRICES } from "#lib/constants";
|
||||||
import { Enums } from "#lib/client/prisma";
|
import { Enums } from "#lib/client/prisma";
|
||||||
export let ref = "";
|
export let ref = "";
|
||||||
|
|
||||||
const bullets = [
|
const bullets = [
|
||||||
["Prüfung durch Dipl. Ing.<br>Registrierung beim DiBt<br>rechtssicher nach GEG",true, true, true],
|
[
|
||||||
["Originalausweis als PDF per <span class='text-nowrap'>E-Mail</span><br>Originalausweis per Post (zubuchbar)",true, true, true],
|
"Prüfung durch Dipl. Ing.<br>Registrierung beim DiBt<br>rechtssicher nach GEG",
|
||||||
["Bearbeitung innerhalb 24 Stunden<br>Selbsteingabe",true, true, false],
|
true,
|
||||||
["Same day service (zubuchbar)",true, true, false],
|
true,
|
||||||
["Fotoupload",true, true, true],
|
true,
|
||||||
["automatische Vorprüfung<br>Live Vorschau direkt bei Eingabe<br>Live Vorschauausweis vorab<br>Vorschauausweis per E-Mail<br>dynamische Eingabehilfe",true, true, false],
|
],
|
||||||
["Prüfanmerkungen per <span class='text-nowrap'>E-Mail</span>",true, true, false],
|
[
|
||||||
["persönlicher Support",false, true, true],
|
"Originalausweis als PDF per <span class='text-nowrap'>E-Mail</span><br>Originalausweis per Post (zubuchbar)",
|
||||||
["telefonische Beratung<br>persönlicher Energieberater",false, true, true],
|
true,
|
||||||
["Dokumentenupload (Verbrauchsabrechnungen)",false, false, true],
|
true,
|
||||||
["Eingabe durch Dipl. Ing.",false, false, true],
|
true,
|
||||||
]
|
],
|
||||||
|
[
|
||||||
|
"Bearbeitung innerhalb 24 Stunden<br>Selbsteingabe",
|
||||||
</script>
|
true,
|
||||||
|
true,
|
||||||
<h1>Produktübersicht: <span class="text-secondary">Verbrauchsausweis Gewerbegebäude</span></h1>
|
false,
|
||||||
<h3>Verbrauchsausweis Leistungen und Preise in der Übersicht:</h3>
|
],
|
||||||
|
["Same day service (zubuchbar)", true, true, false],
|
||||||
<hr>
|
["Fotoupload", true, true, true],
|
||||||
<br>
|
[
|
||||||
|
"automatische Vorprüfung<br>Live Vorschau direkt bei Eingabe<br>Live Vorschauausweis vorab<br>Vorschauausweis per E-Mail<br>dynamische Eingabehilfe",
|
||||||
<div id="ProduktUebersichtVerbrauchsausweisGewerbe">
|
true,
|
||||||
|
true,
|
||||||
<div class="w-full sm:w-[90%] sm:mx-auto grid grid-cols-[1fr_max-content_max-content_max-content] sm:grid-cols-[1fr_min-content_min-content_min-content]">
|
false,
|
||||||
|
],
|
||||||
<div class="zeile grid grid-cols-subgrid col-span-4 py-4 border-b-[1px] justify-items-center items-center sm:text-[1.25rem]">
|
[
|
||||||
<div class="justify-self-start pl-2"><b>Leistung</b></div><div><b>online</b></div><div><b>premium</b></div><div><b>offline</b></div>
|
"Prüfanmerkungen per <span class='text-nowrap'>E-Mail</span>",
|
||||||
</div>
|
true,
|
||||||
|
true,
|
||||||
{#each bullets as [bullet,online,premium,offline]}
|
false,
|
||||||
<div class="bullet grid grid-cols-subgrid col-span-4 py-4 border-b-[1px] justify-items-center items-center">
|
],
|
||||||
<div class="justify-self-start pl-2">{@html bullet}</div>
|
["persönlicher Support", false, true, true],
|
||||||
<div class:check={online} class:check-no={!online}>{online ? "✔" : "⁃"}</div>
|
[
|
||||||
<div class:check={premium} class:check-no={!premium}>{premium ? "✔" : "⁃"}</div>
|
"telefonische Beratung<br>persönlicher Energieberater",
|
||||||
<div class:check={offline} class:check-no={!offline}>{offline ? "✔" : "⁃"}</div>
|
false,
|
||||||
</div>
|
true,
|
||||||
{/each}
|
true,
|
||||||
|
],
|
||||||
<div class="zeile grid grid-cols-subgrid col-span-4 py-4 border-b-[0px] justify-items-center items-center sm:text-[1.25rem]">
|
["Dokumentenupload (Verbrauchsabrechnungen)", false, false, true],
|
||||||
<div class="price justify-self-start pl-2">Preis inkl. MwSt.</div>
|
["Eingabe durch Dipl. Ing.", false, false, true],
|
||||||
<div class="price"><b>{PRICES.VerbrauchsausweisGewerbe[Enums.AusweisTyp.Standard]} €</b></div>
|
];
|
||||||
<div class="price"><b>{PRICES.VerbrauchsausweisGewerbe[Enums.AusweisTyp.Beratung]} €</b></div>
|
</script>
|
||||||
<div class="price"><b>{PRICES.VerbrauchsausweisGewerbe[Enums.AusweisTyp.Offline]} €</b></div>
|
|
||||||
</div>
|
<h1>
|
||||||
|
Produktübersicht: <span class="text-secondary"
|
||||||
<div class="zeile grid grid-cols-subgrid col-span-4 py-4 border-b-[0px] justify-items-center items-center">
|
>Verbrauchsausweis Gewerbegebäude</span
|
||||||
<div class="justify-self-start pl-2"></div>
|
>
|
||||||
<a href="{ref}/energieausweis-erstellen/verbrauchsausweis-gewerbe?ausweistyp={Enums.AusweisTyp.Standard}"><button class="bestellbutton" type="button">sofort<br>bestellen</button></a>
|
</h1>
|
||||||
<a href="{ref}/energieausweis-erstellen/verbrauchsausweis-gewerbe?ausweistyp={Enums.AusweisTyp.Beratung}"><button class="bestellbutton" type="button">sofort<br>bestellen</button></a>
|
<h3>Verbrauchsausweis Leistungen und Preise in der Übersicht:</h3>
|
||||||
<a href="{ref}/energieausweis-erstellen/verbrauchsausweis-gewerbe?ausweistyp={Enums.AusweisTyp.Offline}"><button class="bestellbutton" type="button">sofort<br>bestellen</button></a>
|
|
||||||
</div>
|
<hr />
|
||||||
|
<br />
|
||||||
</div>
|
|
||||||
|
<div id="ProduktUebersichtVerbrauchsausweisGewerbe">
|
||||||
|
<div
|
||||||
|
class="w-full sm:w-[90%] sm:mx-auto grid grid-cols-[1fr_max-content_max-content_max-content] sm:grid-cols-[1fr_min-content_min-content_min-content]"
|
||||||
</div>
|
>
|
||||||
|
<div
|
||||||
<style lang="postcss">
|
class="zeile grid grid-cols-subgrid col-span-4 py-4 border-b-[1px] justify-items-center items-center sm:text-[1.25rem]"
|
||||||
|
>
|
||||||
.bestellbutton{@apply px-[2px] sm:px-4 mx-[2px] sm:mx-2 py-2 bg-secondary ring-2 ring-secondary/25 rounded-none xs:rounded-md text-white text-nowrap font-bold
|
<div class="justify-self-start pl-2"><b>Leistung</b></div>
|
||||||
hover:bg-gradient-to-br from-secondary to-secondary-grad hover:shadow-lg transition-all hover:no-underline hover:ring-2 hover:ring-primary;}
|
<div><b>online</b></div>
|
||||||
|
<div><b>premium</b></div>
|
||||||
|
<div><b>offline</b></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
.zeile{@apply text-[0.6rem] sm:text-[1rem] md:text-[1.5rem]}
|
{#each bullets as [bullet, online, premium, offline]}
|
||||||
.bullet{@apply text-[0.75rem] sm:text-[1rem] md:text-[1.25rem]}
|
<div
|
||||||
.bullet:nth-child(even){@apply bg-blue-100/40}
|
class="bullet grid grid-cols-subgrid col-span-4 py-4 border-b-[1px] justify-items-center items-center"
|
||||||
.bullet:nth-child(2){@apply !border-t-[6px]}
|
>
|
||||||
.bullet:nth-child(12){@apply !border-b-[6px]}
|
<div class="justify-self-start pl-2">{@html bullet}</div>
|
||||||
|
<div class:check={online} class:check-no={!online}>
|
||||||
.check {
|
{online ? "✔" : "⁃"}
|
||||||
@apply text-[1.25rem] sm:text-[1.5rem] font-bold text-green-700;
|
</div>
|
||||||
}
|
<div class:check={premium} class:check-no={!premium}>
|
||||||
.check-no {
|
{premium ? "✔" : "⁃"}
|
||||||
@apply text-[1.25rem] sm:text-[1.5rem] font-bold text-black;
|
</div>
|
||||||
}
|
<div class:check={offline} class:check-no={!offline}>
|
||||||
|
{offline ? "✔" : "⁃"}
|
||||||
.price{@apply text-[1.25rem] sm:text-[2rem]}
|
</div>
|
||||||
|
</div>
|
||||||
</style>
|
{/each}
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="zeile grid grid-cols-subgrid col-span-4 py-4 border-b-[0px] justify-items-center items-center sm:text-[1.25rem]"
|
||||||
|
>
|
||||||
|
<div class="price justify-self-start pl-2">Preis inkl. MwSt.</div>
|
||||||
|
<div class="price">
|
||||||
|
<b
|
||||||
|
>{PRICES.VerbrauchsausweisGewerbe[
|
||||||
|
Enums.AusweisTyp.Standard
|
||||||
|
]} €</b
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div class="price">
|
||||||
|
<b
|
||||||
|
>{PRICES.VerbrauchsausweisGewerbe[
|
||||||
|
Enums.AusweisTyp.Beratung
|
||||||
|
]} €</b
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div class="price">
|
||||||
|
<b
|
||||||
|
>{PRICES.VerbrauchsausweisGewerbe[
|
||||||
|
Enums.AusweisTyp.Offline
|
||||||
|
]} €</b
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="zeile grid grid-cols-subgrid col-span-4 py-4 border-b-[0px] justify-items-center items-center"
|
||||||
|
>
|
||||||
|
<div class="justify-self-start pl-2"></div>
|
||||||
|
<a
|
||||||
|
href="{ref}/energieausweis-erstellen/verbrauchsausweis-gewerbe?ausweistyp={Enums
|
||||||
|
.AusweisTyp.Standard}"
|
||||||
|
><button class="bestellbutton" type="button"
|
||||||
|
>sofort<br />bestellen</button
|
||||||
|
></a
|
||||||
|
>
|
||||||
|
<a
|
||||||
|
href="{ref}/energieausweis-erstellen/verbrauchsausweis-gewerbe?ausweistyp={Enums
|
||||||
|
.AusweisTyp.Beratung}"
|
||||||
|
><button class="bestellbutton" type="button"
|
||||||
|
>sofort<br />bestellen</button
|
||||||
|
></a
|
||||||
|
>
|
||||||
|
<a
|
||||||
|
href="{ref}/energieausweis-erstellen/verbrauchsausweis-gewerbe?ausweistyp={Enums
|
||||||
|
.AusweisTyp.Offline}"
|
||||||
|
><button class="bestellbutton" type="button"
|
||||||
|
>sofort<br />bestellen</button
|
||||||
|
></a
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style lang="postcss">
|
||||||
|
.bestellbutton {
|
||||||
|
@apply px-[2px] sm:px-4 mx-[2px] sm:mx-2 py-2 bg-secondary ring-2 ring-secondary/25 rounded-none xs:rounded-md text-white text-nowrap font-bold
|
||||||
|
hover:bg-gradient-to-br from-secondary to-secondary-grad hover:shadow-lg transition-all hover:no-underline hover:ring-2 hover:ring-primary;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zeile {
|
||||||
|
@apply text-[0.6rem] sm:text-[1rem] md:text-[1.5rem];
|
||||||
|
}
|
||||||
|
.bullet {
|
||||||
|
@apply text-[0.75rem] sm:text-[1rem] md:text-[1.25rem];
|
||||||
|
}
|
||||||
|
.bullet:nth-child(even) {
|
||||||
|
@apply bg-blue-100/40;
|
||||||
|
}
|
||||||
|
.bullet:nth-child(2) {
|
||||||
|
@apply !border-t-[6px];
|
||||||
|
}
|
||||||
|
.bullet:nth-child(12) {
|
||||||
|
@apply !border-b-[6px];
|
||||||
|
}
|
||||||
|
|
||||||
|
.check {
|
||||||
|
@apply text-[1.25rem] sm:text-[1.5rem] font-bold text-green-700;
|
||||||
|
}
|
||||||
|
.check-no {
|
||||||
|
@apply text-[1.25rem] sm:text-[1.5rem] font-bold text-black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.price {
|
||||||
|
@apply text-[1.25rem] sm:text-[2rem];
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@@ -1,93 +1,179 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { PRICES } from "#lib/constants.js";
|
import { PRICES } from "#lib/constants.js";
|
||||||
import { Enums } from "#lib/client/prisma.js";
|
import { Enums } from "#lib/client/prisma.js";
|
||||||
export let bullets;
|
export let ref = "";
|
||||||
export let title;
|
|
||||||
export let ref = "";
|
|
||||||
|
|
||||||
|
|
||||||
bullets = [
|
|
||||||
["Prüfung durch Dipl. Ing.<br>Registrierung beim DiBt<br>rechtssicher nach GEG",true, true, true],
|
|
||||||
["Originalausweis als PDF per <span class='text-nowrap'>E-Mail</span><br>Originalausweis per Post (zubuchbar)",true, true, true],
|
|
||||||
["Bearbeitung innerhalb 24 Stunden<br>Selbsteingabe",true, true, false],
|
|
||||||
["Same day service (zubuchbar)",true, true, false],
|
|
||||||
["Fotoupload",true, true, true],
|
|
||||||
["automatische Vorprüfung<br>Live Vorschau direkt bei Eingabe<br>Live Vorschauausweis vorab<br>Vorschauausweis per E-Mail<br>dynamische Eingabehilfe",true, true, false],
|
|
||||||
["Prüfanmerkungen per <span class='text-nowrap'>E-Mail</span>",true, true, false],
|
|
||||||
["persönlicher Support",false, true, true],
|
|
||||||
["telefonische Beratung<br>persönlicher Energieberater",false, true, true],
|
|
||||||
["Dokumentenupload (Verbrauchsabrechnungen)",false, false, true],
|
|
||||||
["Eingabe durch Dipl. Ing.",false, false, true],
|
|
||||||
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
|
const bullets = [
|
||||||
|
[
|
||||||
|
"Prüfung durch Dipl. Ing.<br>Registrierung beim DiBt<br>rechtssicher nach GEG",
|
||||||
|
true,
|
||||||
|
true,
|
||||||
|
true,
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"Originalausweis als PDF per <span class='text-nowrap'>E-Mail</span><br>Originalausweis per Post (zubuchbar)",
|
||||||
|
true,
|
||||||
|
true,
|
||||||
|
true,
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"Bearbeitung innerhalb 24 Stunden<br>Selbsteingabe",
|
||||||
|
true,
|
||||||
|
true,
|
||||||
|
false,
|
||||||
|
],
|
||||||
|
["Same day service (zubuchbar)", true, true, false],
|
||||||
|
["Fotoupload", true, true, true],
|
||||||
|
[
|
||||||
|
"automatische Vorprüfung<br>Live Vorschau direkt bei Eingabe<br>Live Vorschauausweis vorab<br>Vorschauausweis per E-Mail<br>dynamische Eingabehilfe",
|
||||||
|
true,
|
||||||
|
true,
|
||||||
|
false,
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"Prüfanmerkungen per <span class='text-nowrap'>E-Mail</span>",
|
||||||
|
true,
|
||||||
|
true,
|
||||||
|
false,
|
||||||
|
],
|
||||||
|
["persönlicher Support", false, true, true],
|
||||||
|
[
|
||||||
|
"telefonische Beratung<br>persönlicher Energieberater",
|
||||||
|
false,
|
||||||
|
true,
|
||||||
|
true,
|
||||||
|
],
|
||||||
|
["Dokumentenupload (Verbrauchsabrechnungen)", false, false, true],
|
||||||
|
["Eingabe durch Dipl. Ing.", false, false, true],
|
||||||
|
];
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h1>Produktübersicht: <span class="text-secondary">Verbrauchsausweis Wohngebäude</span></h1>
|
<h1>
|
||||||
|
Produktübersicht: <span class="text-secondary"
|
||||||
|
>Verbrauchsausweis Wohngebäude</span
|
||||||
|
>
|
||||||
|
</h1>
|
||||||
<h3>Verbrauchsausweis Leistungen und Preise in der Übersicht:</h3>
|
<h3>Verbrauchsausweis Leistungen und Preise in der Übersicht:</h3>
|
||||||
|
|
||||||
<hr>
|
<hr />
|
||||||
<br>
|
<br />
|
||||||
|
|
||||||
<div id="ProduktUebersichtVerbrauchsausweisWohnen">
|
<div id="ProduktUebersichtVerbrauchsausweisWohnen">
|
||||||
|
<div
|
||||||
|
class="w-full sm:w-[90%] sm:mx-auto grid grid-cols-[1fr_max-content_max-content_max-content] sm:grid-cols-[1fr_min-content_min-content_min-content]"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="zeile grid grid-cols-subgrid col-span-4 py-4 border-b-[1px] justify-items-center items-center sm:text-[1.25rem]"
|
||||||
|
>
|
||||||
|
<div class="justify-self-start pl-2"><b>Leistung</b></div>
|
||||||
|
<div><b>online</b></div>
|
||||||
|
<div><b>premium</b></div>
|
||||||
|
<div><b>offline</b></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="w-full sm:w-[90%] sm:mx-auto grid grid-cols-[1fr_max-content_max-content_max-content] sm:grid-cols-[1fr_min-content_min-content_min-content]">
|
{#each bullets as [bullet, online, premium, offline]}
|
||||||
|
<div
|
||||||
<div class="zeile grid grid-cols-subgrid col-span-4 py-4 border-b-[1px] justify-items-center items-center sm:text-[1.25rem]">
|
class="bullet grid grid-cols-subgrid col-span-4 py-4 border-b-[1px] justify-items-center items-center"
|
||||||
<div class="justify-self-start pl-2"><b>Leistung</b></div><div><b>online</b></div><div><b>premium</b></div><div><b>offline</b></div>
|
>
|
||||||
</div>
|
<div class="justify-self-start pl-2">{@html bullet}</div>
|
||||||
|
<div class:check={online} class:check-no={!online}>
|
||||||
{#each bullets as [bullet,online,premium,offline]}
|
{online ? "✔" : "⁃"}
|
||||||
<div class="bullet grid grid-cols-subgrid col-span-4 py-4 border-b-[1px] justify-items-center items-center">
|
</div>
|
||||||
<div class="justify-self-start pl-2">{@html bullet}</div>
|
<div class:check={premium} class:check-no={!premium}>
|
||||||
<div class:check={online} class:check-no={!online}>{online ? "✔" : "⁃"}</div>
|
{premium ? "✔" : "⁃"}
|
||||||
<div class:check={premium} class:check-no={!premium}>{premium ? "✔" : "⁃"}</div>
|
</div>
|
||||||
<div class:check={offline} class:check-no={!offline}>{offline ? "✔" : "⁃"}</div>
|
<div class:check={offline} class:check-no={!offline}>
|
||||||
</div>
|
{offline ? "✔" : "⁃"}
|
||||||
{/each}
|
</div>
|
||||||
|
</div>
|
||||||
<div class="zeile grid grid-cols-subgrid col-span-4 py-4 border-b-[0px] justify-items-center items-center sm:text-[1.25rem]">
|
{/each}
|
||||||
<div class="price justify-self-start pl-2">Preis inkl. MwSt.</div>
|
|
||||||
<div class="price"><b>{PRICES.VerbrauchsausweisWohnen[Enums.AusweisTyp.Standard]} €</b></div>
|
|
||||||
<div class="price"><b>{PRICES.VerbrauchsausweisWohnen[Enums.AusweisTyp.Beratung]} €</b></div>
|
|
||||||
<div class="price"><b>{PRICES.VerbrauchsausweisWohnen[Enums.AusweisTyp.Offline]} €</b></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="zeile grid grid-cols-subgrid col-span-4 py-4 border-b-[0px] justify-items-center items-center">
|
|
||||||
<div class="justify-self-start pl-2"></div>
|
|
||||||
<a href="{ref}/energieausweis-erstellen/verbrauchsausweis-wohngebaeude?ausweistyp={Enums.AusweisTyp.Standard}" ><button class="bestellbutton" type="button">sofort<br>bestellen</button></a>
|
|
||||||
<a href="{ref}/energieausweis-erstellen/verbrauchsausweis-wohngebaeude?ausweistyp={Enums.AusweisTyp.Beratung}" ><button class="bestellbutton" type="button">sofort<br>bestellen</button></a>
|
|
||||||
<a href="{ref}/energieausweis-erstellen/verbrauchsausweis-wohngebaeude?ausweistyp={Enums.AusweisTyp.Offline}" ><button class="bestellbutton" type="button">sofort<br>bestellen</button></a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="zeile grid grid-cols-subgrid col-span-4 py-4 border-b-[0px] justify-items-center items-center sm:text-[1.25rem]"
|
||||||
|
>
|
||||||
|
<div class="price justify-self-start pl-2">Preis inkl. MwSt.</div>
|
||||||
|
<div class="price">
|
||||||
|
<b
|
||||||
|
>{PRICES.VerbrauchsausweisWohnen[
|
||||||
|
Enums.AusweisTyp.Standard
|
||||||
|
]} €</b
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div class="price">
|
||||||
|
<b
|
||||||
|
>{PRICES.VerbrauchsausweisWohnen[
|
||||||
|
Enums.AusweisTyp.Beratung
|
||||||
|
]} €</b
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div class="price">
|
||||||
|
<b
|
||||||
|
>{PRICES.VerbrauchsausweisWohnen[
|
||||||
|
Enums.AusweisTyp.Offline
|
||||||
|
]} €</b
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="zeile grid grid-cols-subgrid col-span-4 py-4 border-b-[0px] justify-items-center items-center"
|
||||||
|
>
|
||||||
|
<div class="justify-self-start pl-2"></div>
|
||||||
|
<a
|
||||||
|
href="{ref}/energieausweis-erstellen/verbrauchsausweis-wohngebaeude?ausweistyp={Enums
|
||||||
|
.AusweisTyp.Standard}"
|
||||||
|
><button class="bestellbutton" type="button"
|
||||||
|
>sofort<br />bestellen</button
|
||||||
|
></a
|
||||||
|
>
|
||||||
|
<a
|
||||||
|
href="{ref}/energieausweis-erstellen/verbrauchsausweis-wohngebaeude?ausweistyp={Enums
|
||||||
|
.AusweisTyp.Beratung}"
|
||||||
|
><button class="bestellbutton" type="button"
|
||||||
|
>sofort<br />bestellen</button
|
||||||
|
></a
|
||||||
|
>
|
||||||
|
<a
|
||||||
|
href="{ref}/energieausweis-erstellen/verbrauchsausweis-wohngebaeude?ausweistyp={Enums
|
||||||
|
.AusweisTyp.Offline}"
|
||||||
|
><button class="bestellbutton" type="button"
|
||||||
|
>sofort<br />bestellen</button
|
||||||
|
></a
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style lang="postcss">
|
<style lang="postcss">
|
||||||
|
.bestellbutton {
|
||||||
|
@apply px-[2px] sm:px-4 mx-[2px] sm:mx-2 py-2 bg-secondary ring-2 ring-secondary/25 rounded-none xs:rounded-md text-white text-nowrap font-bold
|
||||||
|
hover:bg-gradient-to-br from-secondary to-secondary-grad hover:shadow-lg transition-all hover:no-underline hover:ring-2 hover:ring-primary;
|
||||||
|
}
|
||||||
|
|
||||||
.bestellbutton{@apply px-[2px] sm:px-4 mx-[2px] sm:mx-2 py-2 bg-secondary ring-2 ring-secondary/25 rounded-none xs:rounded-md text-white text-nowrap font-bold
|
.zeile {
|
||||||
hover:bg-gradient-to-br from-secondary to-secondary-grad hover:shadow-lg transition-all hover:no-underline hover:ring-2 hover:ring-primary;}
|
@apply text-[0.6rem] sm:text-[1rem] md:text-[1.5rem];
|
||||||
|
}
|
||||||
|
.bullet {
|
||||||
|
@apply text-[0.75rem] sm:text-[1rem] md:text-[1.25rem];
|
||||||
|
}
|
||||||
|
.bullet:nth-child(even) {
|
||||||
|
@apply bg-blue-100/40;
|
||||||
|
}
|
||||||
|
.bullet:nth-child(2) {
|
||||||
|
@apply !border-t-[6px];
|
||||||
|
}
|
||||||
|
.bullet:nth-child(12) {
|
||||||
|
@apply !border-b-[6px];
|
||||||
|
}
|
||||||
|
|
||||||
|
.check {
|
||||||
|
|
||||||
|
|
||||||
.zeile{@apply text-[0.6rem] sm:text-[1rem] md:text-[1.5rem]}
|
|
||||||
.bullet{@apply text-[0.75rem] sm:text-[1rem] md:text-[1.25rem]}
|
|
||||||
.bullet:nth-child(even){@apply bg-blue-100/40}
|
|
||||||
.bullet:nth-child(2){@apply !border-t-[6px]}
|
|
||||||
.bullet:nth-child(12){@apply !border-b-[6px]}
|
|
||||||
|
|
||||||
.check {
|
|
||||||
@apply text-[1.25rem] sm:text-[1.5rem] font-bold text-green-700;
|
@apply text-[1.25rem] sm:text-[1.5rem] font-bold text-green-700;
|
||||||
}
|
}
|
||||||
.check-no {
|
.check-no {
|
||||||
@apply text-[1.25rem] sm:text-[1.5rem] font-bold text-black;
|
@apply text-[1.25rem] sm:text-[1.5rem] font-bold text-black;
|
||||||
}
|
}
|
||||||
|
|
||||||
.price{@apply text-[1.25rem] sm:text-[2rem]}
|
.price {
|
||||||
|
@apply text-[1.25rem] sm:text-[2rem];
|
||||||
</style>
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
209
src/components/design/header/AusweisHeaderPartner.astro
Normal file
209
src/components/design/header/AusweisHeaderPartner.astro
Normal file
@@ -0,0 +1,209 @@
|
|||||||
|
---
|
||||||
|
export interface Props {
|
||||||
|
tab: number;
|
||||||
|
}
|
||||||
|
|
||||||
|
const { tab } = Astro.props;
|
||||||
|
const { params } = Astro;
|
||||||
|
const partner = params.partner;
|
||||||
|
|
||||||
|
const pathname = Astro.url.pathname;
|
||||||
|
const isVA = pathname.includes("verbrauchsausweis-wohngebaeude");
|
||||||
|
const isVAG = pathname.includes("verbrauchsausweis-gewerbe");
|
||||||
|
const isBA = pathname.includes("bedarfsausweis-wohngebaeude");
|
||||||
|
const isBAG = pathname.includes("bedarfsausweis-gewerbe-anfragen");
|
||||||
|
const isGGW = pathname.includes("geg-nachweis-wohnen-anfragen");
|
||||||
|
const isGGG = pathname.includes("geg-nachweis-gewerbe-anfragen");
|
||||||
|
const isWEA = pathname.includes("welcher-ausweis");
|
||||||
|
|
||||||
|
const isWelt = pathname.includes("immowelt");
|
||||||
|
const isNET = pathname.includes("immonet");
|
||||||
|
---
|
||||||
|
|
||||||
|
<header id="header" class="w-full bg-white h-[81px] sm:pl-8">
|
||||||
|
<div class="grid grid-cols-[min-content_1fr] items-center">
|
||||||
|
<div class="w-[150px] h-[80px]">
|
||||||
|
<div
|
||||||
|
class="w-full h-full grid grid-col-1 justify-items-center items-center"
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
class={isNET
|
||||||
|
? "w-[149px]"
|
||||||
|
: isWelt
|
||||||
|
? "w-[109px]"
|
||||||
|
: "w-[109px]"}
|
||||||
|
src={`/images/partner/${partner}/${partner}.svg`}
|
||||||
|
alt={partner}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<ul class="navlist">
|
||||||
|
<li>
|
||||||
|
<a
|
||||||
|
href={`/${partner}/energieausweis-erstellen/verbrauchsausweis-wohngebaeude/`}
|
||||||
|
><button class={tab === 0 ? "glow" : ""}
|
||||||
|
>Verbrauchsausweis</button
|
||||||
|
></a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a
|
||||||
|
href={`/${partner}/energieausweis-erstellen/verbrauchsausweis-gewerbe/`}
|
||||||
|
><button class={tab === 1 ? "glow" : ""}
|
||||||
|
>Verbrauchsausweis Gewerbe</button
|
||||||
|
></a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a
|
||||||
|
href={`/${partner}/energieausweis-erstellen/bedarfsausweis-wohngebaeude/`}
|
||||||
|
><button class={tab === 2 ? "glow" : ""}
|
||||||
|
>Bedarfsausweis</button
|
||||||
|
></a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a
|
||||||
|
href={`/${partner}/angebot-anfragen/bedarfsausweis-gewerbe-anfragen/`}
|
||||||
|
><button class={tab === 3 ? "glow" : ""}
|
||||||
|
>Bedarfsausweis Gewerbe</button
|
||||||
|
></a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a
|
||||||
|
href={`/${partner}/angebot-anfragen/geg-nachweis-wohnen-anfragen/`}
|
||||||
|
><button class={tab === 4 ? "glow" : ""}
|
||||||
|
>GEG Nachweis Wohngebäude</button
|
||||||
|
></a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a
|
||||||
|
href={`/${partner}/angebot-anfragen/geg-nachweis-gewerbe-anfragen/`}
|
||||||
|
><button class={tab === 5 ? "glow" : ""}
|
||||||
|
>GEG Nachweis Gewerbe</button
|
||||||
|
></a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href={`/${partner}/welcher-ausweis/${partner}`}
|
||||||
|
><button class={tab === 6 ? "glow" : ""}
|
||||||
|
>Welcher Ausweis</button
|
||||||
|
></a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div
|
||||||
|
id="titel"
|
||||||
|
class="block w-full 2xl:h-[270px] lg:h-[148px] bg-cover px-24 py-20"
|
||||||
|
style={`background-image: url('/images/partner/${partner}/hero-energieausweis.jpg');
|
||||||
|
background-repeat:no-repeat; background-position:right;`}
|
||||||
|
>
|
||||||
|
{
|
||||||
|
isVA ? (
|
||||||
|
<div>
|
||||||
|
Hier komfortabel und einfach online den{" "}
|
||||||
|
<b>Verbrauchsausweis Wohngebäude</b> bestellen
|
||||||
|
</div>
|
||||||
|
) : (
|
||||||
|
""
|
||||||
|
)
|
||||||
|
}
|
||||||
|
{
|
||||||
|
isVAG ? (
|
||||||
|
<div>
|
||||||
|
Hier komfortabel und einfach online den{" "}
|
||||||
|
<b>Verbrauchsausweis Gewerbe</b> bestellen
|
||||||
|
</div>
|
||||||
|
) : (
|
||||||
|
""
|
||||||
|
)
|
||||||
|
}
|
||||||
|
{
|
||||||
|
isBA ? (
|
||||||
|
<div>
|
||||||
|
Hier komfortabel und einfach online den{" "}
|
||||||
|
<b>Bedarfsausweis Wohngebäude</b> bestellen
|
||||||
|
</div>
|
||||||
|
) : (
|
||||||
|
""
|
||||||
|
)
|
||||||
|
}
|
||||||
|
{
|
||||||
|
isBAG ? (
|
||||||
|
<div>
|
||||||
|
Hier komfortabel und einfach online den{" "}
|
||||||
|
<b>Bedarfsausweis Gewerbe</b> anfragen
|
||||||
|
</div>
|
||||||
|
) : (
|
||||||
|
""
|
||||||
|
)
|
||||||
|
}
|
||||||
|
{
|
||||||
|
isGGW ? (
|
||||||
|
<div>
|
||||||
|
Hier komfortabel und einfach online den{" "}
|
||||||
|
<b>GEG Nachweis Wohngebäude</b> anfragen
|
||||||
|
</div>
|
||||||
|
) : (
|
||||||
|
""
|
||||||
|
)
|
||||||
|
}
|
||||||
|
{
|
||||||
|
isGGG ? (
|
||||||
|
<div>
|
||||||
|
Hier komfortabel und einfach online den{" "}
|
||||||
|
<b>GEG Nachweis Gewerbe</b> anfragen
|
||||||
|
</div>
|
||||||
|
) : (
|
||||||
|
""
|
||||||
|
)
|
||||||
|
}
|
||||||
|
{
|
||||||
|
isWEA ? (
|
||||||
|
<div>
|
||||||
|
Hier komfortabel und einfach online den richtigen Ausweis finden
|
||||||
|
</div>
|
||||||
|
) : (
|
||||||
|
""
|
||||||
|
)
|
||||||
|
}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style lang="postcss">
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "immo Sans";
|
||||||
|
src: url('/fonts/Immo-Sans/immoSans-Regular.eot');
|
||||||
|
src: url('/fonts/Immo-Sans/immoSans-Regular.eot?#iefix') format('embedded-opentype'),
|
||||||
|
url('/fonts/Immo-Sans/immoSans-Regular.woff2') format('woff2'),
|
||||||
|
url('/fonts/Immo-Sans/immoSans-Regular.woff') format('woff');
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
#titel{
|
||||||
|
font-family: "immo Sans";
|
||||||
|
font-weight:400;
|
||||||
|
|
||||||
|
div{@apply w-fit bg-white/75 py-6 px-16 rounded-lg ring-2 ring-black/15 text-[1.45rem];box-shadow:8px 8px 16px rgba(0,0,0,0.5);}
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-button {
|
||||||
|
@apply px-4 py-2 text-primary-content font-medium text-lg tracking-normal hover:bg-secondary h-full;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navlist {
|
||||||
|
@apply flex flex-wrap flex-col sm:flex-row pl-[1.75rem] sm:pl-[1.75rem];
|
||||||
|
}
|
||||||
|
.navlist li {
|
||||||
|
@apply pr-0 sm:pr-[6px] pb-1 sm:pb-0;
|
||||||
|
}
|
||||||
|
.navlist li button{@apply text-[0.75rem] md:text-[1rem] text-[#646464] sm:p-2 text-left
|
||||||
|
hover:rounded-[1rem] hover:bg-[rgba(50,50,50,0.1)];
|
||||||
|
font-family: "immo Sans";
|
||||||
|
font-weight:400;}
|
||||||
|
|
||||||
|
.glow{@apply rounded-[1rem] bg-[rgba(50,50,50,0.1)];}
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -1,114 +0,0 @@
|
|||||||
---
|
|
||||||
import HeaderLogin from "#components/design/header/HeaderLogin.svelte";
|
|
||||||
const { tabHover1 } = Astro.props;
|
|
||||||
const { tabHover2 } = Astro.props;
|
|
||||||
const { tabHover3 } = Astro.props;
|
|
||||||
const { tabHover4 } = Astro.props;
|
|
||||||
const { tabHover5 } = Astro.props;
|
|
||||||
const { tabHover6 } = Astro.props;
|
|
||||||
const { tabHover7 } = Astro.props;
|
|
||||||
|
|
||||||
|
|
||||||
const { params, url } = Astro;
|
|
||||||
const partner = params.partner;
|
|
||||||
|
|
||||||
const url1 = new URL(Astro.request.url);
|
|
||||||
|
|
||||||
const urlPath = url1.pathname;
|
|
||||||
const isVA = urlPath.includes("verbrauchsausweis-wohngebaeude");
|
|
||||||
const isVAG = urlPath.includes("verbrauchsausweis-gewerbe");
|
|
||||||
const isBA = urlPath.includes("bedarfsausweis-wohngebaeude");
|
|
||||||
const isBAG = urlPath.includes("bedarfsausweis-gewerbe-anfragen");
|
|
||||||
const isGGW = urlPath.includes("geg-nachweis-wohnen-anfragen");
|
|
||||||
const isGGG = urlPath.includes("geg-nachweis-gewerbe-anfragen");
|
|
||||||
const isWEA = urlPath.includes("welcher-ausweis");
|
|
||||||
|
|
||||||
const isWelt = urlPath.includes("immowelt");
|
|
||||||
const isNET = urlPath.includes("immonet");
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
<header id="header" class="w-full bg-white h-[81px] sm:pl-8">
|
|
||||||
|
|
||||||
<div class="grid grid-cols-[min-content_1fr] items-center">
|
|
||||||
|
|
||||||
|
|
||||||
<div class="w-[150px] h-[80px]">
|
|
||||||
<div class="w-full h-full grid grid-col-1 justify-items-center items-center">
|
|
||||||
<img class={isNET ? "w-[149px]" : isWelt ? "w-[109px]" : "w-[109px]"} src={`/images/partner/${partner}/${partner}.svg`} alt={partner} />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
|
|
||||||
<ul class="navlist">
|
|
||||||
<li><a href={`/${partner}/energieausweis-erstellen/verbrauchsausweis-wohngebaeude/`}><button class={tabHover1}>Verbrauchsausweis</button></a></li>
|
|
||||||
<li><a href={`/${partner}/energieausweis-erstellen/verbrauchsausweis-gewerbe/`}><button class={tabHover2}>Verbrauchsausweis Gewerbe</button></a></li>
|
|
||||||
<li><a href={`/${partner}/energieausweis-erstellen/bedarfsausweis-wohngebaeude/`}><button class={tabHover3}>Bedarfsausweis</button></a></li>
|
|
||||||
<li><a href={`/${partner}/angebot-anfragen/bedarfsausweis-gewerbe-anfragen/`}><button class={tabHover4}>Bedarfsausweis Gewerbe</button></a></li>
|
|
||||||
<li><a href={`/${partner}/angebot-anfragen/geg-nachweis-wohnen-anfragen/`}><button class={tabHover5}>GEG Nachweis Wohngebäude</button></a></li>
|
|
||||||
<li><a href={`/${partner}/angebot-anfragen/geg-nachweis-gewerbe-anfragen/`}><button class={tabHover6}>GEG Nachweis Gewerbe</button></a></li>
|
|
||||||
<li><a href={`/${partner}/welcher-ausweis/${partner}`}><button class={tabHover7}>Welcher Ausweis</button></a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<div id="titel" class="block w-full 2xl:h-[270px] lg:h-[148px] bg-cover px-24 py-20"
|
|
||||||
style={`background-image: url('/images/partner/${partner}/hero-energieausweis.jpg');
|
|
||||||
background-repeat:no-repeat; background-position:right;`}>
|
|
||||||
|
|
||||||
|
|
||||||
{isVA ? <div>Hier komfortabel und einfach online den <b>Verbrauchsausweis Wohngebäude</b> bestellen</div> : ""}
|
|
||||||
{isVAG ? <div>Hier komfortabel und einfach online den <b>Verbrauchsausweis Gewerbe</b> bestellen</div> : ""}
|
|
||||||
{isBA ? <div>Hier komfortabel und einfach online den <b>Bedarfsausweis Wohngebäude</b> bestellen</div> : ""}
|
|
||||||
{isBAG ? <div>Hier komfortabel und einfach online den <b>Bedarfsausweis Gewerbe</b> anfragen</div> : ""}
|
|
||||||
{isGGW ? <div>Hier komfortabel und einfach online den <b>GEG Nachweis Wohngebäude</b> anfragen</div> : ""}
|
|
||||||
{isGGG ? <div>Hier komfortabel und einfach online den <b>GEG Nachweis Gewerbe</b> anfragen</div> : ""}
|
|
||||||
{isWEA ? <div>Hier komfortabel und einfach online den richtigen Ausweis finden</div> : ""}
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<style lang="postcss">
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "immo Sans";
|
|
||||||
src: url('/fonts/Immo-Sans/immoSans-Regular.eot');
|
|
||||||
src: url('/fonts/Immo-Sans/immoSans-Regular.eot?#iefix') format('embedded-opentype'),
|
|
||||||
url('/fonts/Immo-Sans/immoSans-Regular.woff2') format('woff2'),
|
|
||||||
url('/fonts/Immo-Sans/immoSans-Regular.woff') format('woff');
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
|
|
||||||
#titel{
|
|
||||||
font-family: "immo Sans";
|
|
||||||
font-weight:400;
|
|
||||||
|
|
||||||
div{@apply w-fit bg-white/75 py-6 px-16 rounded-lg ring-2 ring-black/15 text-[1.45rem];box-shadow:8px 8px 16px rgba(0,0,0,0.5);}
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-button {
|
|
||||||
@apply px-4 py-2 text-primary-content font-medium text-lg tracking-normal hover:bg-secondary h-full;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navlist {
|
|
||||||
@apply flex flex-wrap flex-col sm:flex-row pl-[1.75rem] sm:pl-[1.75rem];
|
|
||||||
}
|
|
||||||
.navlist li {
|
|
||||||
@apply pr-0 sm:pr-[6px] pb-1 sm:pb-0;
|
|
||||||
}
|
|
||||||
.navlist li button{@apply text-[0.75rem] md:text-[1rem] text-[#646464] sm:p-2 text-left
|
|
||||||
hover:rounded-[1rem] hover:bg-[rgba(50,50,50,0.1)];
|
|
||||||
font-family: "immo Sans";
|
|
||||||
font-weight:400;}
|
|
||||||
|
|
||||||
.glow{@apply rounded-[1rem] bg-[rgba(50,50,50,0.1)];}
|
|
||||||
|
|
||||||
</style>
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
---
|
|
||||||
import HeaderLogin from "#components/design/header/HeaderLogin.svelte";
|
|
||||||
---
|
|
||||||
|
|
||||||
<header id="header">
|
|
||||||
|
|
||||||
<div id="header-grid" class="grid relative bg-white items-center gap-x-4 pt-4 px-0
|
|
||||||
|
|
||||||
grid-cols-1
|
|
||||||
sm:grid-cols-1
|
|
||||||
md:grid-cols-1
|
|
||||||
|
|
||||||
lg:grid-cols-[1fr_minmax(450px,450px)] lg:gap-x-3 lg:px-4 lg:py-4
|
|
||||||
xl:grid-cols-[1fr_minmax(450px,450px)] xl:gap-x-4 xl:px-6 xl:py-4
|
|
||||||
2xl:grid-cols-[1fr_minmax(450px,450px)] 2xl:gap-x-5 2xl:px-6 2xl:py-4">
|
|
||||||
|
|
||||||
<div class="justify-self-center xs:justify-self-start">
|
|
||||||
|
|
||||||
<div class="grid grid-cols-1 px-2 gap-2 gap-y-1
|
|
||||||
xs:grid-cols-[max-content,1fr] xs:gap-x-2 xs:px-4
|
|
||||||
md:gap-y-4
|
|
||||||
lg:px-0 lg:gap-x-4">
|
|
||||||
|
|
||||||
<div class="self-start justify-self-start">
|
|
||||||
<a href="/">
|
|
||||||
<img id="header-logo" class="w-full
|
|
||||||
xs:max-w-[64px]
|
|
||||||
sm:max-w-[64px]
|
|
||||||
md:max-w-[64px] md:ml-6
|
|
||||||
lg:max-w-[64px] lg:ml-0
|
|
||||||
xl:max-w-[94px] xl:ml-0
|
|
||||||
"
|
|
||||||
src="/images/header/logo-IBC-big.svg" alt="IBCornelsen-Logo"/>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="self-center justify-self-center md:justify-self-start xs:mt-[20px] md:mt-[18px]">
|
|
||||||
|
|
||||||
<div id="header-text-1"class="text-secondary justify-self-center
|
|
||||||
xs:[font-size:_clamp(15px,5vw,36px)] xs:justify-self-start xs:leading-[36px]
|
|
||||||
|
|
||||||
lg:[font-size:_clamp(15px,3vw,26px)]
|
|
||||||
lg:leading-[2rem]
|
|
||||||
xl:[font-size:_clamp(15px,3vw,36px)]
|
|
||||||
xl:leading-[4.5rem] pt-[0px]">
|
|
||||||
Energieausweis online erstellen</div>
|
|
||||||
|
|
||||||
<div id="header-text-2"class="text-primary justify-self-center
|
|
||||||
xs:[font-size:_clamp(15px,4vw,28px)] xs:justify-self-start xs:leading-[20px]
|
|
||||||
|
|
||||||
lg:[font-size:_clamp(15px,3vw,20px)]
|
|
||||||
lg:leading-[2rem]
|
|
||||||
xl:[font-size:_clamp(15px,3vw,24px)]
|
|
||||||
xl:leading-[0.5rem]">
|
|
||||||
Energieausweise nach aktuellem GEG</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="w-full justify-self-center">
|
|
||||||
<HeaderLogin client:load />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-start-1 col-span-3">
|
|
||||||
<div id="header-line" class="px-2 flex flex-row w-full justify-end items-center bg-primary
|
|
||||||
lg:h-[12px] xl:h-[12px]"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.header-button {
|
|
||||||
@apply px-4 py-2 text-primary-content font-medium text-lg tracking-normal hover:bg-secondary h-full;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@@ -1,19 +1,22 @@
|
|||||||
---
|
---
|
||||||
import NavigationCard from "#components/design/sidebars/cards/NavigationCard.svelte";
|
import NavigationCard from "#components/design/sidebars/cards/NavigationCard.svelte";
|
||||||
import CardPriceiInfo from "#components/design/sidebars/cards/cardPriceiInfo.svelte";
|
import CardPriceInfo from "#components/design/sidebars/cards/CardPriceInfo.svelte";
|
||||||
import CardProduktSidebar from "#components/design/sidebars/cards/CardProduktSidebar.svelte";
|
import CardProduktSidebar from "#components/design/sidebars/cards/CardProduktSidebar.svelte";
|
||||||
|
|
||||||
import { PRICES } from "#lib/constants";
|
import { PRICES } from "#lib/constants";
|
||||||
import { Enums } from "#lib/client/prisma";
|
import { Enums } from "#lib/client/prisma";
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
<div class="">
|
<div class="">
|
||||||
|
<NavigationCard client:load />
|
||||||
|
|
||||||
<NavigationCard client:load/>
|
<CardProduktSidebar
|
||||||
|
art="Verbrauchsausweis Gewerbe"
|
||||||
<CardProduktSidebar art="Verbrauchsausweis Gewerbe" price={PRICES.VerbrauchsausweisGewerbe[Enums.AusweisTyp.Standard]}></CardProduktSidebar>
|
price={PRICES.VerbrauchsausweisGewerbe[Enums.AusweisTyp.Standard]}
|
||||||
<CardPriceiInfo />
|
/>
|
||||||
<CardProduktSidebar art="Bedarfsausweis Wohnen" price={PRICES.BedarfsausweisWohnen[Enums.AusweisTyp.Standard]}></CardProduktSidebar>
|
<CardPriceInfo />
|
||||||
|
<CardProduktSidebar
|
||||||
</div>
|
art="Bedarfsausweis Wohnen"
|
||||||
|
price={PRICES.BedarfsausweisWohnen[Enums.AusweisTyp.Standard]}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
import CardContact from "#components/design/sidebars/cards/ContactCard.svelte";
|
import CardContact from "#components/design/sidebars/cards/ContactCard.svelte";
|
||||||
import CardPriceiInfo from "#components/design/sidebars/cards/cardPriceiInfo.svelte";
|
import CardPriceInfo from "#components/design/sidebars/cards/CardPriceInfo.svelte";
|
||||||
import CardProduktSidebar from "#components/design/sidebars/cards/CardProduktSidebar.svelte";
|
import CardProduktSidebar from "#components/design/sidebars/cards/CardProduktSidebar.svelte";
|
||||||
|
|
||||||
import { PRICES } from "#lib/constants";
|
import { PRICES } from "#lib/constants";
|
||||||
@@ -8,16 +8,15 @@ import { Enums } from "#lib/client/prisma";
|
|||||||
---
|
---
|
||||||
|
|
||||||
<div class="hidden 2xl:block">
|
<div class="hidden 2xl:block">
|
||||||
|
<CardContact />
|
||||||
|
|
||||||
<CardContact />
|
<CardProduktSidebar
|
||||||
|
art="Verbrauchsausweis Wohnen"
|
||||||
|
price={PRICES.VerbrauchsausweisWohnen[Enums.AusweisTyp.Standard]}
|
||||||
<CardProduktSidebar art="Verbrauchsausweis Wohnen" price={PRICES.VerbrauchsausweisWohnen[Enums.AusweisTyp.Standard]}></CardProduktSidebar>
|
/>
|
||||||
<CardPriceiInfo />
|
<CardPriceInfo />
|
||||||
<CardProduktSidebar art="Bedarfsausweis Gewerbe" price={PRICES.BedarfsausweisGewerbe[Enums.AusweisTyp.Standard]}></CardProduktSidebar>
|
<CardProduktSidebar
|
||||||
|
art="Bedarfsausweis Gewerbe"
|
||||||
|
price={PRICES.BedarfsausweisGewerbe[Enums.AusweisTyp.Standard]}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
66
src/components/design/sidebars/cards/CardPriceInfo.svelte
Normal file
66
src/components/design/sidebars/cards/CardPriceInfo.svelte
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
<script>
|
||||||
|
import { PRICES } from "#lib/constants";
|
||||||
|
import { Enums } from "#lib/client/prisma";
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div id="cardPriceinfo" class="box card hidden lg:block">
|
||||||
|
<h2>Was wird der Energieausweis kosten?</h2>
|
||||||
|
|
||||||
|
<div>Verbrauchsausweis Wohngebäude</div>
|
||||||
|
<div>
|
||||||
|
ab <span class="price"
|
||||||
|
>{PRICES.VerbrauchsausweisWohnen[Enums.AusweisTyp.Standard]}€</span
|
||||||
|
> inkl. MwSt.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr class="trenner" />
|
||||||
|
<div>Bedarfsausweis Wohngebäude</div>
|
||||||
|
<div>
|
||||||
|
ab <span class="price"
|
||||||
|
>{PRICES.BedarfsausweisWohnen[Enums.AusweisTyp.Standard]}€</span
|
||||||
|
> inkl. MwSt.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr class="trenner" />
|
||||||
|
<div>Verbrauchsausweis Gewerbe</div>
|
||||||
|
<div>
|
||||||
|
ab <span class="price"
|
||||||
|
>{PRICES.VerbrauchsausweisGewerbe[Enums.AusweisTyp.Standard]}€</span
|
||||||
|
> inkl. MwSt.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr class="trenner" />
|
||||||
|
<div>Bedarfsausweis Gewerbe</div>
|
||||||
|
<div>
|
||||||
|
ab <span class="price"
|
||||||
|
>{PRICES.BedarfsausweisGewerbe[Enums.AusweisTyp.Standard]}€</span
|
||||||
|
> inkl. MwSt.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr class="trenner" />
|
||||||
|
<div>GEG-Nachweis Wohngebäude</div>
|
||||||
|
<div>
|
||||||
|
ab <span class="price"
|
||||||
|
>{PRICES.GEGNachweisWohnen[Enums.AusweisTyp.Standard]}€</span
|
||||||
|
> inkl. MwSt.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr class="trenner" />
|
||||||
|
<div>GEG-Nachweis Gewerbe</div>
|
||||||
|
<div>
|
||||||
|
ab <span class="price"
|
||||||
|
>{PRICES.GEGNachweisGewerbe[Enums.AusweisTyp.Standard]}€</span
|
||||||
|
> inkl. MwSt.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr class="mt-2" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style lang="postcss">
|
||||||
|
.trenner {
|
||||||
|
@apply my-2;
|
||||||
|
}
|
||||||
|
.price {
|
||||||
|
@apply font-bold;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -1,465 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
let innerWidth: number;
|
|
||||||
|
|
||||||
function dropdown() {
|
|
||||||
if (innerWidth < 1024) {
|
|
||||||
const check_element = this.lastChild;
|
|
||||||
|
|
||||||
const rotate_list = document.querySelectorAll(".dd-symbol-clone");
|
|
||||||
const rotate_element = this.childNodes[0].children[0];
|
|
||||||
|
|
||||||
var first_check = check_element.classList.contains(
|
|
||||||
"show-dropdown-content"
|
|
||||||
);
|
|
||||||
const nodeList = document.querySelectorAll(".dropdown-content");
|
|
||||||
|
|
||||||
if (first_check == true) {
|
|
||||||
check_element.classList.remove("show-dropdown-content");
|
|
||||||
rotate_element.classList.toggle("rotate-symbol");
|
|
||||||
} else {
|
|
||||||
for (let i = 0; i < nodeList.length; i++) {
|
|
||||||
const element = nodeList[i];
|
|
||||||
element.classList.remove("show-dropdown-content");
|
|
||||||
}
|
|
||||||
for (let i = 0; i < rotate_list.length; i++) {
|
|
||||||
const element = rotate_list[i];
|
|
||||||
element.classList.remove("rotate-symbol");
|
|
||||||
}
|
|
||||||
|
|
||||||
check_element.classList.add("show-dropdown-content");
|
|
||||||
rotate_element.classList.add("rotate-symbol");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function hover() {
|
|
||||||
if (innerWidth > 1024) {
|
|
||||||
const check_element = this.firstChild.lastChild;
|
|
||||||
check_element.style.visibility = "visible";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function hoverout() {
|
|
||||||
if (innerWidth > 1024) {
|
|
||||||
const check_element = this.firstChild.lastChild;
|
|
||||||
check_element.style.visibility = "hidden";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function hamburger() {
|
|
||||||
const nodeList = document.querySelectorAll(".dropdown-content");
|
|
||||||
for (let i = 0; i < nodeList.length; i++) {
|
|
||||||
nodeList[i].classList.remove("show-dropdown-content");
|
|
||||||
}
|
|
||||||
var element = document.getElementById("cardNavigation");
|
|
||||||
element.classList.toggle("hidden");
|
|
||||||
|
|
||||||
const spans = this.children;
|
|
||||||
var first_check = spans[0].classList.contains("hamburger-swing-0");
|
|
||||||
|
|
||||||
if (first_check == true) {
|
|
||||||
for (let i = 0; i < spans.length; i++) {
|
|
||||||
spans[i].classList.remove("hamburger-swing-" + i);
|
|
||||||
}
|
|
||||||
const rotate_list = document.querySelectorAll(".dd-symbol");
|
|
||||||
for (let i = 0; i < rotate_list.length; i++) {
|
|
||||||
rotate_list[i].classList.remove("rotate-symbol");
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
for (let i = 0; i < spans.length; i++) {
|
|
||||||
spans[i].classList.add("hamburger-swing-" + i);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<svelte:window bind:innerWidth />
|
|
||||||
|
|
||||||
<div
|
|
||||||
class="hamburger_menu py-1 px-2 bg-secondary
|
|
||||||
xs:px-4
|
|
||||||
lg:hidden"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
id="hamburger"
|
|
||||||
on:click={hamburger}
|
|
||||||
on:keydown={hamburger}
|
|
||||||
class="cursor-pointer"
|
|
||||||
>
|
|
||||||
|
|
||||||
<span></span>
|
|
||||||
<span></span>
|
|
||||||
<span></span>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<nav
|
|
||||||
id="cardNavigation"
|
|
||||||
class="cardNavigation box hidden relative ring-0 md:ring-2 ring-primary/50 rounded-tr-none lg:block mb-0 lg:mb-5"
|
|
||||||
>
|
|
||||||
<div class="nav-element bg-secondary/5 py-1 pl-2 text-xs font-bold">
|
|
||||||
Jetzt bestellen
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="nav-element">
|
|
||||||
<a class="no-dropdown nav-element-child" href="/welcher-energieausweis/"
|
|
||||||
>Welcher Energieausweis?</a
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- svelte-ignore a11y-mouse-events-have-key-events -->
|
|
||||||
<div
|
|
||||||
class="nav-element dropdown lg:dropdown-right"
|
|
||||||
on:click={dropdown}
|
|
||||||
on:keydown={dropdown}
|
|
||||||
on:mouseover={hover}
|
|
||||||
on:mouseleave={hoverout}
|
|
||||||
>
|
|
||||||
{#if innerWidth > 1023}
|
|
||||||
<a href={undefined} class="nav-element-child"
|
|
||||||
>Energieausweis erstellen<span class="dd-symbol-clone">❯</span
|
|
||||||
><span class="dd-symbol">❯</span></a
|
|
||||||
>
|
|
||||||
{:else}
|
|
||||||
<a href={undefined} class="nav-element-child"
|
|
||||||
>Energieausweis erstellen<span class="dd-symbol-clone">❯</span
|
|
||||||
><span class="dd-symbol">❯</span></a
|
|
||||||
>
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
<ul class="dropdown-content energieasusweis-erstellen">
|
|
||||||
{#if innerWidth < 1023}
|
|
||||||
<li>
|
|
||||||
<a href="/energieausweis-erstellen"
|
|
||||||
>Energieausweis erstellen</a
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
{/if}
|
|
||||||
<li>
|
|
||||||
<a
|
|
||||||
href="/energieausweis-erstellen/verbrauchsausweis-wohngebaeude/"
|
|
||||||
>Verbrauchsausweis erstellen</a
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="/energieausweis-erstellen/bedarfsausweis-wohngebaeude/"
|
|
||||||
>Bedarfsausweis erstellen</a
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="/energieausweis-erstellen/verbrauchsausweis-gewerbe/"
|
|
||||||
>Verbrauchsausweis Gewerbe erstellen</a
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- svelte-ignore a11y-mouse-events-have-key-events -->
|
|
||||||
<div
|
|
||||||
class="nav-element dropdown lg:dropdown-right"
|
|
||||||
on:click={dropdown}
|
|
||||||
on:keydown={dropdown}
|
|
||||||
on:mouseover={hover}
|
|
||||||
on:mouseleave={hoverout}
|
|
||||||
>
|
|
||||||
{#if innerWidth > 1023}
|
|
||||||
<a href={undefined} class="nav-element-child"
|
|
||||||
>Angebot anfragen<span class="dd-symbol-clone">❯</span><span
|
|
||||||
class="dd-symbol">❯</span
|
|
||||||
></a
|
|
||||||
>
|
|
||||||
{:else}
|
|
||||||
<a href={undefined} class="nav-element-child"
|
|
||||||
>Angebot anfragen<span class="dd-symbol-clone">❯</span><span
|
|
||||||
class="dd-symbol">❯</span
|
|
||||||
></a
|
|
||||||
>
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
<ul class="dropdown-content angebot-anfragen">
|
|
||||||
{#if innerWidth < 1023}
|
|
||||||
<li>
|
|
||||||
<a href="/energieausweis-erstellen">Angebot anfragen</a>
|
|
||||||
</li>
|
|
||||||
{/if}
|
|
||||||
<li>
|
|
||||||
<a
|
|
||||||
href="/angebot-anfragen/bedarfsausweis-gewerbe-anfragen"
|
|
||||||
>Bedarfsausweis Gewerbe anfragen</a
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="/angebot-anfragen/geg-nachweis-wohnen-anfragen"
|
|
||||||
>GEG Nachweis Wohnen anfragen</a
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="/angebot-anfragen/geg-nachweis-gewerbe-anfragen"
|
|
||||||
>GEG Nachweis Gewerbe anfragen</a
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="nav-element">
|
|
||||||
<a class="no-dropdown nav-element-child" href="/sanierungsfahrplan"
|
|
||||||
>Sanierungsfahrplan (iSFP)</a
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="nav-element bg-secondary/5 py-1 pl-2 text-xs font-bold">
|
|
||||||
Produkte & Preise
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- svelte-ignore a11y-mouse-events-have-key-events -->
|
|
||||||
<div
|
|
||||||
class="nav-element dropdown lg:dropdown-right"
|
|
||||||
on:click={dropdown}
|
|
||||||
on:keydown={dropdown}
|
|
||||||
on:mouseover={hover}
|
|
||||||
on:mouseleave={hoverout}
|
|
||||||
>
|
|
||||||
<a href="/verbrauchsausweis/" class="nav-element-child"
|
|
||||||
>Verbrauchsausweis<span class="dd-symbol-clone">❯</span><span
|
|
||||||
class="dd-symbol">❯</span
|
|
||||||
></a
|
|
||||||
>
|
|
||||||
<ul class="dropdown-content verbrauchsausweis">
|
|
||||||
{#if innerWidth < 1023}
|
|
||||||
<li><a href="index">Verbrauchsausweis</a></li>
|
|
||||||
{/if}
|
|
||||||
<li><a href="/verbrauchsausweis/verbrauchsausweis-wohngebaeude/">Verbrauchsausweis Wohngebäude</a></li>
|
|
||||||
<li><a href="/energieausweis-erstellen/verbrauchsausweis-wohngebaeude/">Verbrauchsausweis online erstellen</a></li>
|
|
||||||
<li><a href="/verbrauchsausweis/haeufige-fragen-zum-verbrauchsausweis/">Häufige Fragen zum Verbrauchsausweis</a></li>
|
|
||||||
<li>
|
|
||||||
<a href="/verbrauchsausweis/statistiken-zum-verbrauchsausweis/">Statistiken zum Verbrauchsausweis Wohngebäude</a
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
<li><a href="/verbrauchsausweis/verbrauchsausweis-gewerbe/">Verbrauchsausweis Gewerbe</a></li>
|
|
||||||
<li>
|
|
||||||
<a href="/energieausweis-erstellen/verbrauchsausweis-gewerbe/">Verbrauchsausweis Gewerbe online erstellen</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="/verbrauchsausweis/haeufige-fragen-zum-verbrauchsausweis-gewerbe/">Häufige Fragen zum Verbrauchsausweis Gewerbe</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="/verbrauchsausweis/statistiken-zum-verbrauchsausweis-gewerbe/">Statistiken zum Verbrauchsausweis Gewerbe</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- svelte-ignore a11y-mouse-events-have-key-events -->
|
|
||||||
<div
|
|
||||||
class="nav-element dropdown lg:dropdown-right"
|
|
||||||
on:click={dropdown}
|
|
||||||
on:keydown={dropdown}
|
|
||||||
on:mouseover={hover}
|
|
||||||
on:mouseleave={hoverout}
|
|
||||||
>
|
|
||||||
<a href="/bedarfsausweis/" class="nav-element-child"
|
|
||||||
>Bedarfsausweis<span class="dd-symbol-clone">❯</span><span
|
|
||||||
class="dd-symbol">❯</span
|
|
||||||
></a
|
|
||||||
>
|
|
||||||
<ul class="dropdown-content bedarfsausweis">
|
|
||||||
{#if innerWidth < 1023}
|
|
||||||
<li><a href="/bedarfsausweis/">Bedarfsausweis</a></li>
|
|
||||||
{/if}
|
|
||||||
<li><a href="/bedarfsausweis/bedarfsausweis-wohngebaeude/">Bedarfsausweis Wohngebäude</a></li>
|
|
||||||
<li><a href="/energieausweis-erstellen/bedarfsausweis-wohngebaeude/">Bedarfsausweis online erstellen</a></li>
|
|
||||||
<li><a href="/bedarfsausweis/haeufige-fragen-zum-bedarfsausweis/">Häufige Fragen zum Bedarfsausweis</a></li>
|
|
||||||
<li>
|
|
||||||
<a href="/bedarfsausweis/statistiken-zum-bedarfsausweis/">Statistiken zum Bedarfsausweis Wohngebäude</a>
|
|
||||||
</li>
|
|
||||||
<li><a href="/bedarfsausweis/bedarfsausweis-gewerbe/">Bedarfsausweis Gewerbe</a></li>
|
|
||||||
<li><a href="/angebot-anfragen/bedarfsausweis-gewerbe-anfragen">Bedarfsausweis Gewerbe anfragen</a></li>
|
|
||||||
<li>
|
|
||||||
<a href="/bedarfsausweis/haeufige-fragen-zum-bedarfsausweis-gewerbe/">Häufige Fragen zum Bedarfsausweis Gewerbe</a>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="nav-element">
|
|
||||||
<a class="no-dropdown nav-element-child" href="/sanierungsfahrplan"
|
|
||||||
>Sanierungsfahrplan</a
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- svelte-ignore a11y-mouse-events-have-key-events -->
|
|
||||||
<div
|
|
||||||
class="nav-element dropdown lg:dropdown-right"
|
|
||||||
on:click={dropdown}
|
|
||||||
on:keydown={dropdown}
|
|
||||||
on:mouseover={hover}
|
|
||||||
on:mouseleave={hoverout}
|
|
||||||
>
|
|
||||||
<a href="/" class="nav-element-child"
|
|
||||||
>Energieausweis<span class="dd-symbol-clone">❯</span><span
|
|
||||||
class="dd-symbol">❯</span
|
|
||||||
></a
|
|
||||||
>
|
|
||||||
<ul class="dropdown-content energieausweis">
|
|
||||||
{#if innerWidth < 1023}
|
|
||||||
<li><a href="/energieausweis/">Energieausweis</a></li>
|
|
||||||
{/if}
|
|
||||||
<li><a href="/energieausweis/energieausweis-pflicht/">Energieausweis Pflicht</a></li>
|
|
||||||
<li><a href="/energieausweis/energieausweis-kosten/">Energieausweis Kosten</a></li>
|
|
||||||
<li><a href="/energieausweis/energieausweis-haus/">Energieausweis Haus</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- <div class="nav-element">
|
|
||||||
<a
|
|
||||||
class="no-dropdown nav-element-child"
|
|
||||||
href="/energieausweis-aussteller">Energieberater finden</a
|
|
||||||
>
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<div class="nav-element bg-secondary/5 py-1 pl-2 text-xs font-bold">
|
|
||||||
FAQ & Hilfe
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- svelte-ignore a11y-mouse-events-have-key-events -->
|
|
||||||
<div
|
|
||||||
class="nav-element dropdown lg:dropdown-right"
|
|
||||||
on:click={dropdown}
|
|
||||||
on:keydown={dropdown}
|
|
||||||
on:mouseover={hover}
|
|
||||||
on:mouseleave={hoverout}
|
|
||||||
>
|
|
||||||
{#if innerWidth > 1023}
|
|
||||||
<a href="/bestellprozess-energieausweis" class="nav-element-child"
|
|
||||||
>Bestellprozess Energieausweis<span class="dd-symbol-clone"
|
|
||||||
>❯</span
|
|
||||||
><span class="dd-symbol">❯</span></a
|
|
||||||
>
|
|
||||||
{:else}
|
|
||||||
<a href="/bestellprozess-energieausweis" class="nav-element-child"
|
|
||||||
>Bestellprozess Energieausweis<span class="dd-symbol-clone"
|
|
||||||
>❯</span
|
|
||||||
><span class="dd-symbol">❯</span></a
|
|
||||||
>
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
<ul class="dropdown-content bestellprozess-energieausweis">
|
|
||||||
{#if innerWidth < 1023}
|
|
||||||
<li>
|
|
||||||
<a href="/bestellprozess-energieausweis"
|
|
||||||
>Bestellprozess Energieausweis</a
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
{/if}
|
|
||||||
<li>
|
|
||||||
<a
|
|
||||||
href="/bestellprozess-energieausweis/merkblatt-verbrauchsausweis-wohnen/"
|
|
||||||
>Merkblatt Verbrauchsausweis Wohnen</a
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="/energieausweis-erstellen/bedarfsausweis-wohngebaeude/"
|
|
||||||
>Merkblatt Bedarfsausweis Wohnen</a
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="/energieausweis-erstellen/verbrauchsausweis-gewerbe/"
|
|
||||||
>Merkblatt Verbrauchsausweis Gewerbe</a
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- svelte-ignore a11y-mouse-events-have-key-events -->
|
|
||||||
<div
|
|
||||||
class="nav-element dropdown lg:dropdown-right"
|
|
||||||
on:click={dropdown}
|
|
||||||
on:keydown={dropdown}
|
|
||||||
on:mouseover={hover}
|
|
||||||
on:mouseleave={hoverout}
|
|
||||||
>
|
|
||||||
<a href="/geg/" class="nav-element-child"
|
|
||||||
>Gebäudeenergiegesetz (GEG)<span class="dd-symbol-clone">❯</span><span
|
|
||||||
class="dd-symbol">❯</span
|
|
||||||
></a
|
|
||||||
>
|
|
||||||
<ul class="dropdown-content geg">
|
|
||||||
{#if innerWidth < 1023}
|
|
||||||
<li><a href="/geg/">Gebäudeenergiegesetz (GEG)</a></li>
|
|
||||||
{/if}
|
|
||||||
<li><a href="/geg/geg-2024-volltext/">GEG 2024 Volltext</a></li>
|
|
||||||
<li><a href="/geg/enev-zusammenfassung">EnEV Zusammenfassung-Archiv</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="nav-element">
|
|
||||||
<a class="no-dropdown nav-element-child" href="/faq/">FAQ</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="nav-element">
|
|
||||||
<a class="no-dropdown nav-element-child" href="/glossar/">Glossar</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--<div class="nav-element">
|
|
||||||
<a class="no-dropdown nav-element-child lg:rounded-b-xl" href="/kundenbewertungen/"
|
|
||||||
>Kundenbewertungen</a
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<div class="nav-element">
|
|
||||||
<a
|
|
||||||
class="no-dropdown nav-element-child lg:!rounded-b-lg xl:!rounded-b-xl"
|
|
||||||
href="/fuer-entwickler/">Für Entwickler</a
|
|
||||||
>
|
|
||||||
</div> -->
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
<style lang="scss">
|
|
||||||
.dd-symbol::before {
|
|
||||||
content: "❯";
|
|
||||||
font-size: 0.95rem;
|
|
||||||
position: absolute;
|
|
||||||
top: 0px;
|
|
||||||
left: -7px;
|
|
||||||
animation-name: flim;
|
|
||||||
animation-duration: 2s;
|
|
||||||
animation-iteration-count: infinite;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dd-symbol {
|
|
||||||
visibility: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dd-symbol::after {
|
|
||||||
content: "❯";
|
|
||||||
font-size: 0.95rem;
|
|
||||||
position: absolute;
|
|
||||||
top: 0px;
|
|
||||||
right: -7px;
|
|
||||||
animation-name: flim;
|
|
||||||
animation-duration: 2s;
|
|
||||||
animation-delay: 1s;
|
|
||||||
animation-iteration-count: infinite;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes flim {
|
|
||||||
0% {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
16.66% {
|
|
||||||
opacity: 0.25;
|
|
||||||
}
|
|
||||||
33.32% {
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
49.98% {
|
|
||||||
opacity: 0.75;
|
|
||||||
}
|
|
||||||
66.64% {
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
83.33% {
|
|
||||||
opacity: 0.25;
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
import { PRICES } from "#lib/constants.js";
|
|
||||||
import { Enums } from "#lib/client/prisma";
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div id ="cardBAGpromo"
|
|
||||||
class=" box card">
|
|
||||||
|
|
||||||
<div class="grid">
|
|
||||||
|
|
||||||
<h2>Bedarfssausweis Gewerbe</h2>
|
|
||||||
<hr class="mb-4">
|
|
||||||
<img class="w-[70%] justify-self-center !min-w-[100px] mb-[1rem]" src="/images/right-sidebar/UMBE_gewerbegebaeude.svg" alt="Gewerbe Bedarfsausweis"/>
|
|
||||||
<p class="promo tracking-tighter text-[2rem] text-gray-700 pl-6">ab<span class="promo pl-[0.2rem]">{PRICES.BedarfsausweisGewerbe[Enums.AusweisTyp.Standard]}</span>€</p>
|
|
||||||
<a href="./angebot-anfragen/bedarfsausweis-gewerbe-anfragen id="link-BA-promo"
|
|
||||||
class=" w-[90%] justify-self-center text-center text-white font-[700] bg-secondary rounded-md px-3 py-1 mt-2 no-underline text-[1rem]
|
|
||||||
hover:bg-primary
|
|
||||||
" >jetzt Bedarfssausweis anfragen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<style lang="scss">
|
|
||||||
|
|
||||||
</style>
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
import { PRICES } from "#lib/constants.js";
|
|
||||||
import { Enums } from "#lib/client/prisma";
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div id ="cardBApromo"
|
|
||||||
class=" box card">
|
|
||||||
|
|
||||||
<div class="grid">
|
|
||||||
|
|
||||||
<h2>Bedarfssausweis Wohngebäude</h2>
|
|
||||||
<hr class="mb-4">
|
|
||||||
<img class="w-[70%] justify-self-center !min-w-[100px] mb-[1rem]" src="/images/right-sidebar/UMBE_wohngebaeude.svg" alt="Wohnhaus Bedarfsausweis"/>
|
|
||||||
<p class="promo tracking-tighter text-[2rem] text-gray-700 pl-6">ab<span class="promo pl-[0.2rem]">{PRICES.BedarfsausweisWohnen[Enums.AusweisTyp.Standard]}</span>€</p>
|
|
||||||
<a href="/energieausweis-erstellen/bedarfsausweis-wohngebaeude/" id="link-BA-promo"
|
|
||||||
class=" w-[90%] justify-self-center text-center text-white font-[700] bg-secondary rounded-md px-3 py-1 mt-2 no-underline text-[1rem]
|
|
||||||
hover:bg-primary
|
|
||||||
" >jetzt Bedarfssausweis erstellen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<style lang="scss">
|
|
||||||
|
|
||||||
</style>
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
<script>
|
|
||||||
import { PRICES } from "#lib/constants";
|
|
||||||
import { Enums } from "#lib/client/prisma";
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div id ="cardPriceinfo" class="box card hidden lg:block">
|
|
||||||
|
|
||||||
<h2>Was wird der Energieausweis kosten?</h2>
|
|
||||||
|
|
||||||
|
|
||||||
<div>Verbrauchsausweis Wohngebäude</div>
|
|
||||||
<div>ab <span class="price">{PRICES.VerbrauchsausweisWohnen[Enums.AusweisTyp.Standard]}€</span> inkl. MwSt.</div>
|
|
||||||
|
|
||||||
<hr class="trenner">
|
|
||||||
<div>Bedarfsausweis Wohngebäude</div>
|
|
||||||
<div>ab <span class="price">{PRICES.BedarfsausweisWohnen[Enums.AusweisTyp.Standard]}€</span> inkl. MwSt.</div>
|
|
||||||
|
|
||||||
<hr class="trenner">
|
|
||||||
<div>Verbrauchsausweis Gewerbe</div>
|
|
||||||
<div>ab <span class="price">{PRICES.VerbrauchsausweisGewerbe[Enums.AusweisTyp.Standard]}€</span> inkl. MwSt.</div>
|
|
||||||
|
|
||||||
<hr class="trenner">
|
|
||||||
<div>Bedarfsausweis Gewerbe</div>
|
|
||||||
<div>ab <span class="price">{PRICES.BedarfsausweisGewerbe[Enums.AusweisTyp.Standard]}€</span> inkl. MwSt.</div>
|
|
||||||
|
|
||||||
<hr class="trenner">
|
|
||||||
<div>GEG-Nachweis Wohngebäude</div>
|
|
||||||
<div>ab <span class="price">{PRICES.GEGNachweisWohnen[Enums.AusweisTyp.Standard]}€</span> inkl. MwSt.</div>
|
|
||||||
|
|
||||||
<hr class="trenner">
|
|
||||||
<div>GEG-Nachweis Gewerbe</div>
|
|
||||||
<div>ab <span class="price">{PRICES.GEGNachweisGewerbe[Enums.AusweisTyp.Standard]}€</span> inkl. MwSt.</div>
|
|
||||||
|
|
||||||
<hr class="mt-2">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<style lang="postcss">
|
|
||||||
|
|
||||||
.trenner{@apply my-2}
|
|
||||||
.price{@apply font-bold}
|
|
||||||
|
|
||||||
</style>
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
import { PRICES } from "#lib/constants.js";
|
|
||||||
import { Enums } from "#lib/client/prisma";
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div id ="cardVAGpromo"
|
|
||||||
class=" box card">
|
|
||||||
|
|
||||||
<div class="grid">
|
|
||||||
|
|
||||||
<h2>Verbrauchsausweis Gewerbe</h2>
|
|
||||||
<hr class="mb-4">
|
|
||||||
<img class="w-[70%] justify-self-center !min-w-[100px]" src="/images/right-sidebar/UMBE_gewerbegebaeude.svg" alt="Gewerbe Verbrauchsausweis"/>
|
|
||||||
<p class="promo tracking-tighter text-[2rem] text-gray-700 pl-6">ab<span class="promo pl-2">{PRICES.VerbrauchsausweisGewerbe[Enums.AusweisTyp.Standard]}</span>€</p>
|
|
||||||
<a href="./energieausweis-erstellen/verbrauchsausweis-gewerbe/" id="link-VA-promo"
|
|
||||||
class=" w-[90%] justify-self-center text-center text-white font-[700] bg-gradient-to-br from-secondary to-secondary-grad rounded-md px-3 py-1 mt-2 no-underline text-[1rem]
|
|
||||||
hover:bg-primary
|
|
||||||
" >Verbrauchsausweis sofort erstellen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<style lang="scss">
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
import { PRICES } from "#lib/constants.js";
|
|
||||||
import { Enums } from "#lib/client/prisma";
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div id="card-VA-promo" class="box card">
|
|
||||||
<div class="grid">
|
|
||||||
<h2>Verbrauchsausweis Wohngebäude</h2>
|
|
||||||
<hr class="mb-4" />
|
|
||||||
<img
|
|
||||||
class="w-[70%] justify-self-center !min-w-[100px] mb-[1rem]"
|
|
||||||
src="/images/right-sidebar/UMBE_wohngebaeude.svg"
|
|
||||||
alt="Wohnhaus Verbrauchsausweis"
|
|
||||||
/>
|
|
||||||
<p class="promo tracking-tighter text-[2rem] text-gray-700 pl-6">
|
|
||||||
ab<span class="promo pl-2">{PRICES.VerbrauchsausweisWohnen[Enums.AusweisTyp.Standard]}</span
|
|
||||||
>€
|
|
||||||
</p>
|
|
||||||
<a
|
|
||||||
href="./energieausweis-erstellen/verbrauchsausweis-wohngebaeude/"
|
|
||||||
id="link-VA-promo"
|
|
||||||
class=" w-[90%] justify-self-center text-center text-white font-[700] bg-secondary rounded-md px-3 py-1 mt-2 no-underline text-[1rem]
|
|
||||||
hover:bg-primary
|
|
||||||
">jetzt Verbrauchsausweis erstellen</a
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style lang="scss">
|
|
||||||
</style>
|
|
||||||
@@ -26,7 +26,7 @@ describe("Verbrauchsausweis für Wohngebäude bearbeiten", async () => {
|
|||||||
}).then((ausweis: VerbrauchsausweisWohnen & { benutzer: Benutzer, aufnahme: Aufnahme & { objekt: Objekt }, rechnung: Rechnung | null }) => {
|
}).then((ausweis: VerbrauchsausweisWohnen & { benutzer: Benutzer, aufnahme: Aufnahme & { objekt: Objekt }, rechnung: Rechnung | null }) => {
|
||||||
cy.login("user@ib-cornelsen.de", "passwort");
|
cy.login("user@ib-cornelsen.de", "passwort");
|
||||||
|
|
||||||
cy.visit(`/energieausweis-erstellen/verbrauchsausweis-wohngebaeude?id=${ausweis.id}`);
|
cy.visit(`/energieausweis-erstellen/verbrauchsausweis-wohngebaeude?ausweis_id=${ausweis.id}`);
|
||||||
|
|
||||||
cy.wait(2000);
|
cy.wait(2000);
|
||||||
|
|
||||||
|
|||||||
@@ -102,6 +102,13 @@ const { title } = Astro.props;
|
|||||||
|
|
||||||
<html lang="de">
|
<html lang="de">
|
||||||
<head>
|
<head>
|
||||||
|
<!-- Google Tag Manager -->
|
||||||
|
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||||
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||||
|
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||||
|
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||||
|
})(window,document,'script','dataLayer','GTM-59QKHH8');</script>
|
||||||
|
<!-- End Google Tag Manager -->
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.jpg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.jpg" />
|
||||||
@@ -147,6 +154,11 @@ const { title } = Astro.props;
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<!-- Google Tag Manager (noscript) -->
|
||||||
|
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-59QKHH8"
|
||||||
|
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||||
|
<!-- End Google Tag Manager (noscript) -->
|
||||||
|
|
||||||
<Header {user} />
|
<Header {user} />
|
||||||
|
|
||||||
<main
|
<main
|
||||||
|
|||||||
@@ -1,156 +0,0 @@
|
|||||||
---
|
|
||||||
import "../style/global.css";
|
|
||||||
import "../style/formular.css";
|
|
||||||
import "../../svelte-dialogs.config"
|
|
||||||
import Header from "#components/design/header/AusweisHeaderImmowelt.astro";
|
|
||||||
import Footer from "#components/design/footer/Footer.astro";
|
|
||||||
import { NotificationWrapper } from "@ibcornelsen/ui";
|
|
||||||
|
|
||||||
export interface Props {
|
|
||||||
title: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
const { title } = Astro.props;
|
|
||||||
---
|
|
||||||
<script>
|
|
||||||
window.addEventListener("scroll", (event) => {
|
|
||||||
let scroll = window.scrollY;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
console.log(scroll);
|
|
||||||
if(scroll>=400){
|
|
||||||
|
|
||||||
document.getElementById('skala')?.classList.add('2xl:fixed','2xl:py-4','2xl:top-0','2xl:z-20');
|
|
||||||
document.getElementById('skala')?.classList.remove('w-full');
|
|
||||||
|
|
||||||
|
|
||||||
document.getElementById('skala').style.borderBottom = "3px solid #e6e6e6";
|
|
||||||
|
|
||||||
|
|
||||||
document.getElementById('performance-box').style.maxWidth = "688.5px";
|
|
||||||
document.getElementById('progress-box').style.maxWidth = "688.5px";
|
|
||||||
|
|
||||||
document.getElementById('formInput-1')?.classList.add('2xl:mt-[370px]');
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}else{
|
|
||||||
|
|
||||||
document.getElementById('skala')?.classList.remove('2xl:fixed','2xl:py-4','2xl:top-0','2xl:z-20');
|
|
||||||
document.getElementById('skala')?.classList.add('w-full');
|
|
||||||
|
|
||||||
document.getElementById('skala').style.borderBottom = "none";
|
|
||||||
|
|
||||||
document.getElementById('formInput-1')?.classList.remove('2xl:mt-[370px]');
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="de">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8" />
|
|
||||||
<meta name="viewport" content="width=device-width" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.jpg" />
|
|
||||||
|
|
||||||
<meta
|
|
||||||
name="description"
|
|
||||||
content="✅ Jetzt Ihren Energieausweis online erstellen. Erhalten Sie Ihren online Energieausweis rechtssicher und nach aktueller GEG (vormals EnEV) vom Diplom Ingenieur geprüft."
|
|
||||||
/>
|
|
||||||
<link rel="canonical" href="https://online-energieausweis.org/" />
|
|
||||||
|
|
||||||
<meta property="og:locale" content="de_DE" />
|
|
||||||
<meta property="og:type" content="website" />
|
|
||||||
<meta
|
|
||||||
property="og:title"
|
|
||||||
content="Energieausweis online erstellen - Online Energieausweis"
|
|
||||||
/>
|
|
||||||
<meta
|
|
||||||
property="og:description"
|
|
||||||
content="✅ Jetzt Ihren Energieausweis online erstellen. Erhalten Sie Ihren online Energieausweis rechtssicher und nach aktueller GEG (vormals EnEV) vom Diplom Ingenieur geprüft."
|
|
||||||
/>
|
|
||||||
<meta property="og:url" content="https://online-energieausweis.org/" />
|
|
||||||
<meta property="og:site_name" content="Energieausweis online erstellen" />
|
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary_large_image" />
|
|
||||||
<meta
|
|
||||||
name="twitter:description"
|
|
||||||
content="✅ Jetzt Ihren Energieausweis online erstellen. Erhalten Sie Ihren online Energieausweis rechtssicher und nach aktueller GEG (vormals EnEV) vom Diplom Ingenieur geprüft."
|
|
||||||
/>
|
|
||||||
<meta
|
|
||||||
name="twitter:title"
|
|
||||||
content="Energieausweis online erstellen - Online Energieausweis"
|
|
||||||
/>
|
|
||||||
<meta
|
|
||||||
name="twitter:image"
|
|
||||||
content="https://online-energieausweis.org/images/energieausweis-online-erstellen.jpg"
|
|
||||||
/>
|
|
||||||
<title>
|
|
||||||
{title || 'Energieausweis online erstellen - Online Energieausweis'}
|
|
||||||
</title>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<Header />
|
|
||||||
|
|
||||||
<main
|
|
||||||
class="w-full p-0 grid
|
|
||||||
xs:grid-cols-[minmax(1fr)] xs:gap-1 xs:p-0
|
|
||||||
sm:grid-cols-[minmax(1fr)] sm:gap-1 sm:p-0
|
|
||||||
md:grid-cols-[minmax(1fr)] md:gap-2 md:p-0
|
|
||||||
lg:grid-cols-[minmax(1fr)] lg:gap-3 lg:p-4
|
|
||||||
xl:grid-cols-[minmax(1fr)] xl:gap-4 xl:p-6
|
|
||||||
2xl:grid-cols-[minmax(1fr)] 2xl:gap-5 2xl:p-6
|
|
||||||
">
|
|
||||||
|
|
||||||
|
|
||||||
<article class="box rounded-tl-none p-2 lg:p-12">
|
|
||||||
<slot />
|
|
||||||
</article>
|
|
||||||
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<Footer />
|
|
||||||
<NotificationWrapper client:load />
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
||||||
<style is:global lang="postcss">
|
|
||||||
body {
|
|
||||||
min-height: 100vh;
|
|
||||||
width:100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
article {
|
|
||||||
p, h1, h2, h3, h4, h5, h6 {
|
|
||||||
@apply text-base-content;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.headline {
|
|
||||||
@apply text-lg;
|
|
||||||
}
|
|
||||||
|
|
||||||
.radio-inline {
|
|
||||||
@apply flex flex-row gap-2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.checkbox-inline {
|
|
||||||
@apply flex flex-row gap-2;
|
|
||||||
}
|
|
||||||
|
|
||||||
</style>
|
|
||||||
@@ -1,156 +0,0 @@
|
|||||||
---
|
|
||||||
import "../style/global.css";
|
|
||||||
import "../style/formular.css";
|
|
||||||
import "../../svelte-dialogs.config"
|
|
||||||
import Header from "#components/design/header/AusweisHeaderImmowelt2.astro";
|
|
||||||
import Footer from "#components/design/footer/Footer.astro";
|
|
||||||
import { NotificationWrapper } from "@ibcornelsen/ui";
|
|
||||||
|
|
||||||
export interface Props {
|
|
||||||
title: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
const { title } = Astro.props;
|
|
||||||
---
|
|
||||||
<script>
|
|
||||||
window.addEventListener("scroll", (event) => {
|
|
||||||
let scroll = window.scrollY;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
console.log(scroll);
|
|
||||||
if(scroll>=400){
|
|
||||||
|
|
||||||
document.getElementById('skala')?.classList.add('2xl:fixed','2xl:py-4','2xl:top-0','2xl:z-20');
|
|
||||||
document.getElementById('skala')?.classList.remove('w-full');
|
|
||||||
|
|
||||||
|
|
||||||
document.getElementById('skala').style.borderBottom = "3px solid #e6e6e6";
|
|
||||||
|
|
||||||
|
|
||||||
document.getElementById('performance-box').style.maxWidth = "688.5px";
|
|
||||||
document.getElementById('progress-box').style.maxWidth = "688.5px";
|
|
||||||
|
|
||||||
document.getElementById('formInput-1')?.classList.add('2xl:mt-[370px]');
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}else{
|
|
||||||
|
|
||||||
document.getElementById('skala')?.classList.remove('2xl:fixed','2xl:py-4','2xl:top-0','2xl:z-20');
|
|
||||||
document.getElementById('skala')?.classList.add('w-full');
|
|
||||||
|
|
||||||
document.getElementById('skala').style.borderBottom = "none";
|
|
||||||
|
|
||||||
document.getElementById('formInput-1')?.classList.remove('2xl:mt-[370px]');
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="de">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8" />
|
|
||||||
<meta name="viewport" content="width=device-width" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.jpg" />
|
|
||||||
|
|
||||||
<meta
|
|
||||||
name="description"
|
|
||||||
content="✅ Jetzt Ihren Energieausweis online erstellen. Erhalten Sie Ihren online Energieausweis rechtssicher und nach aktueller GEG (vormals EnEV) vom Diplom Ingenieur geprüft."
|
|
||||||
/>
|
|
||||||
<link rel="canonical" href="https://online-energieausweis.org/" />
|
|
||||||
|
|
||||||
<meta property="og:locale" content="de_DE" />
|
|
||||||
<meta property="og:type" content="website" />
|
|
||||||
<meta
|
|
||||||
property="og:title"
|
|
||||||
content="Energieausweis online erstellen - Online Energieausweis"
|
|
||||||
/>
|
|
||||||
<meta
|
|
||||||
property="og:description"
|
|
||||||
content="✅ Jetzt Ihren Energieausweis online erstellen. Erhalten Sie Ihren online Energieausweis rechtssicher und nach aktueller GEG (vormals EnEV) vom Diplom Ingenieur geprüft."
|
|
||||||
/>
|
|
||||||
<meta property="og:url" content="https://online-energieausweis.org/" />
|
|
||||||
<meta property="og:site_name" content="Energieausweis online erstellen" />
|
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary_large_image" />
|
|
||||||
<meta
|
|
||||||
name="twitter:description"
|
|
||||||
content="✅ Jetzt Ihren Energieausweis online erstellen. Erhalten Sie Ihren online Energieausweis rechtssicher und nach aktueller GEG (vormals EnEV) vom Diplom Ingenieur geprüft."
|
|
||||||
/>
|
|
||||||
<meta
|
|
||||||
name="twitter:title"
|
|
||||||
content="Energieausweis online erstellen - Online Energieausweis"
|
|
||||||
/>
|
|
||||||
<meta
|
|
||||||
name="twitter:image"
|
|
||||||
content="https://online-energieausweis.org/images/energieausweis-online-erstellen.jpg"
|
|
||||||
/>
|
|
||||||
<title>
|
|
||||||
{title || 'Energieausweis online erstellen - Online Energieausweis'}
|
|
||||||
</title>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<Header />
|
|
||||||
|
|
||||||
<main
|
|
||||||
class="w-full p-0 grid
|
|
||||||
xs:grid-cols-[minmax(1fr)] xs:gap-1 xs:p-0
|
|
||||||
sm:grid-cols-[minmax(1fr)] sm:gap-1 sm:p-0
|
|
||||||
md:grid-cols-[minmax(1fr)] md:gap-2 md:p-0
|
|
||||||
lg:grid-cols-[minmax(1fr)] lg:gap-3 lg:p-4
|
|
||||||
xl:grid-cols-[minmax(1fr)] xl:gap-4 xl:p-6
|
|
||||||
2xl:grid-cols-[minmax(1fr)] 2xl:gap-5 2xl:p-6
|
|
||||||
">
|
|
||||||
|
|
||||||
|
|
||||||
<article class="box rounded-tl-none p-2 lg:p-12">
|
|
||||||
<slot />
|
|
||||||
</article>
|
|
||||||
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<Footer />
|
|
||||||
<NotificationWrapper client:load />
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
||||||
<style is:global lang="postcss">
|
|
||||||
body {
|
|
||||||
min-height: 100vh;
|
|
||||||
width:100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
article {
|
|
||||||
p, h1, h2, h3, h4, h5, h6 {
|
|
||||||
@apply text-base-content;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.headline {
|
|
||||||
@apply text-lg;
|
|
||||||
}
|
|
||||||
|
|
||||||
.radio-inline {
|
|
||||||
@apply flex flex-row gap-2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.checkbox-inline {
|
|
||||||
@apply flex flex-row gap-2;
|
|
||||||
}
|
|
||||||
|
|
||||||
</style>
|
|
||||||
@@ -2,31 +2,16 @@
|
|||||||
import "../style/global.css";
|
import "../style/global.css";
|
||||||
import "../style/formular.css";
|
import "../style/formular.css";
|
||||||
import "../../svelte-dialogs.config"
|
import "../../svelte-dialogs.config"
|
||||||
import Header from "#components/design/header/AusweisHeader_partner.astro";
|
import AusweisHeaderPartner from "#components/design/header/AusweisHeaderPartner.astro";
|
||||||
import Footer from "#components/design/footer/Footer.astro";
|
import Footer from "#components/design/footer/Footer.astro";
|
||||||
import SidebarLeft from "#components/design/sidebars/SidebarLeft.astro";
|
|
||||||
import { NotificationWrapper } from "@ibcornelsen/ui";
|
import { NotificationWrapper } from "@ibcornelsen/ui";
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
title: string;
|
title: string;
|
||||||
tabHover1: string;
|
tab: number;
|
||||||
tabHover2: string;
|
|
||||||
tabHover3: string;
|
|
||||||
tabHover4: string;
|
|
||||||
tabHover5: string;
|
|
||||||
tabHover6: string;
|
|
||||||
tabHover7: string;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const { title } = Astro.props;
|
const { title, tab } = Astro.props;
|
||||||
const { tabHover1 } = Astro.props;
|
|
||||||
const { tabHover2 } = Astro.props;
|
|
||||||
const { tabHover3 } = Astro.props;
|
|
||||||
const { tabHover4 } = Astro.props;
|
|
||||||
const { tabHover5 } = Astro.props;
|
|
||||||
const { tabHover6 } = Astro.props;
|
|
||||||
const { tabHover7 } = Astro.props;
|
|
||||||
|
|
||||||
---
|
---
|
||||||
<script>
|
<script>
|
||||||
@@ -100,6 +85,14 @@ window.addEventListener("scroll", () => {
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="de">
|
<html lang="de">
|
||||||
<head>
|
<head>
|
||||||
|
<!-- Google Tag Manager -->
|
||||||
|
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||||
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||||
|
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||||
|
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||||
|
})(window,document,'script','dataLayer','GTM-59QKHH8');</script>
|
||||||
|
<!-- End Google Tag Manager -->
|
||||||
|
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.jpg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.jpg" />
|
||||||
@@ -142,8 +135,12 @@ window.addEventListener("scroll", () => {
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<!-- Google Tag Manager (noscript) -->
|
||||||
<Header {tabHover1} {tabHover2} {tabHover3} {tabHover4} {tabHover5} {tabHover6} {tabHover7}/>
|
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-59QKHH8"
|
||||||
|
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||||
|
<!-- End Google Tag Manager (noscript) -->
|
||||||
|
|
||||||
|
<AusweisHeaderPartner {tab}/>
|
||||||
|
|
||||||
<main class="w-full p-0 grid grid-cols-1 rounded-none">
|
<main class="w-full p-0 grid grid-cols-1 rounded-none">
|
||||||
|
|
||||||
@@ -151,7 +148,6 @@ window.addEventListener("scroll", () => {
|
|||||||
|
|
||||||
<article class="p-0 lg:px-20 lg:py-12">
|
<article class="p-0 lg:px-20 lg:py-12">
|
||||||
<slot />
|
<slot />
|
||||||
<div style="height: 450px;"></div>
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
@@ -37,6 +37,14 @@ const { title } = Astro.props;
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="de">
|
<html lang="de">
|
||||||
<head>
|
<head>
|
||||||
|
<!-- Google Tag Manager -->
|
||||||
|
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||||
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||||
|
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||||
|
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||||
|
})(window,document,'script','dataLayer','GTM-59QKHH8');</script>
|
||||||
|
<!-- End Google Tag Manager -->
|
||||||
|
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.jpg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.jpg" />
|
||||||
@@ -79,6 +87,10 @@ const { title } = Astro.props;
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<!-- Google Tag Manager (noscript) -->
|
||||||
|
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-59QKHH8"
|
||||||
|
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||||
|
<!-- End Google Tag Manager (noscript) -->
|
||||||
|
|
||||||
<Header {user} />
|
<Header {user} />
|
||||||
|
|
||||||
|
|||||||
@@ -98,6 +98,15 @@ window.addEventListener("scroll", (event) => {
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="de">
|
<html lang="de">
|
||||||
<head>
|
<head>
|
||||||
|
<!-- Google Tag Manager -->
|
||||||
|
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||||
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||||
|
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||||
|
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||||
|
})(window,document,'script','dataLayer','GTM-59QKHH8');</script>
|
||||||
|
<!-- End Google Tag Manager -->
|
||||||
|
|
||||||
|
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.jpg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.jpg" />
|
||||||
@@ -111,6 +120,10 @@ window.addEventListener("scroll", (event) => {
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<!-- Google Tag Manager (noscript) -->
|
||||||
|
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-59QKHH8"
|
||||||
|
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||||
|
<!-- End Google Tag Manager (noscript) -->
|
||||||
|
|
||||||
<Header {user} />
|
<Header {user} />
|
||||||
|
|
||||||
|
|||||||
@@ -112,4 +112,13 @@ export const SERVICES: Record<
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const BASE_URI = process.env.NODE_ENV == "production" ? "https://online-energieausweis.org" : "http://localhost:3000";
|
export const BASE_URI = process.env.NODE_ENV == "production" ? "https://online-energieausweis.org" : "http://localhost:3000";
|
||||||
export const LEX_OFFICE_API_KEY = process.env.NODE_ENV == "production" ? "iwQLCU_ZAq6bVV7hmR8RO8MiC8Q" : "iwQLCU_ZAq6bVV7hmR8RO8MiC8Q"
|
export const LEX_OFFICE_API_KEY = process.env.NODE_ENV == "production" ? "iwQLCU_ZAq6bVV7hmR8RO8MiC8Q" : "iwQLCU_ZAq6bVV7hmR8RO8MiC8Q"
|
||||||
|
|
||||||
|
export enum AusstellungsTyp {
|
||||||
|
// Objekt wird behalten, Aufnahme und Ausweis werden neu angelegt.
|
||||||
|
Neuausstellung = "Neuausstellung",
|
||||||
|
// Alles wird behalten, Ausweis, Aufnahme und Objekt werden gespeichert, dafür müssen alle drei bereits existieren.
|
||||||
|
Speichern = "Speichern",
|
||||||
|
// Objekt und Aufnahme werden behalten, Ausweis wird neu angelegt.
|
||||||
|
Alternativdokument = "Alternativdokument",
|
||||||
|
}
|
||||||
@@ -6,7 +6,7 @@ import * as crypto from "crypto";
|
|||||||
* @param prefix Ein Optionales Präfix, welches vor die ID geschrieben wird, damit diese identifizierbar bleibt.
|
* @param prefix Ein Optionales Präfix, welches vor die ID geschrieben wird, damit diese identifizierbar bleibt.
|
||||||
* @returns Die generierte ID
|
* @returns Die generierte ID
|
||||||
*/
|
*/
|
||||||
export function generatePrefixedId(length: number, prefix: string = ""): string {
|
export function generateIDWithPrefix(length: number, prefix: string = ""): string {
|
||||||
// Generating entropy is faster than complex math operations, so we use the simplest way
|
// Generating entropy is faster than complex math operations, so we use the simplest way
|
||||||
const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789"
|
const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789"
|
||||||
const characterCount = characters.length;
|
const characterCount = characters.length;
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
import { Enums } from "#lib/client/prisma";
|
import { Enums } from "#lib/client/prisma";
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
|
|
||||||
export const filterAusweise = z.object({
|
export const filterAusweise = z.object({
|
||||||
uid: UUidWithPrefix.optional(),
|
uid: IDWithPrefix.optional(),
|
||||||
ausgestellt: z.boolean().optional(),
|
ausgestellt: z.boolean().optional(),
|
||||||
ausstellgrund: z.nativeEnum(Enums.Ausstellgrund).optional(),
|
ausstellgrund: z.nativeEnum(Enums.Ausstellgrund).optional(),
|
||||||
bestellt: z.boolean().optional(),
|
bestellt: z.boolean().optional(),
|
||||||
|
|||||||
@@ -199,19 +199,28 @@ export async function pdfVerbrauchsausweisGewerbe(ausweis: VerbrauchsausweisGewe
|
|||||||
|
|
||||||
if (bild) {
|
if (bild) {
|
||||||
const file = await getS3File("ibc-images", `${bild.id}.jpg`);
|
const file = await getS3File("ibc-images", `${bild.id}.jpg`);
|
||||||
|
|
||||||
if (file) {
|
if (file) {
|
||||||
let image: PDFImage;
|
let image: PDFImage;
|
||||||
image = await pdf.embedJpg(file)
|
image = await pdf.embedJpg(file);
|
||||||
|
|
||||||
|
const originalWidth = image.width;
|
||||||
|
const originalHeight = image.height;
|
||||||
|
|
||||||
|
// Calculate the scaling factor to fit within the maximum dimensions while maintaining proportions
|
||||||
|
const scaleFactor = Math.min(111 / originalWidth, 138 / originalHeight);
|
||||||
|
|
||||||
|
const scaledWidth = originalWidth * scaleFactor;
|
||||||
|
const scaledHeight = originalHeight * scaleFactor;
|
||||||
|
|
||||||
pages[0].drawImage(image, {
|
pages[0].drawImage(image, {
|
||||||
x: 460.5,
|
x: 460.5,
|
||||||
y: height - 289,
|
y: (height - 289 - scaledHeight) + 138, // Adjust y to align the image properly
|
||||||
width: 111,
|
width: scaledWidth,
|
||||||
height: 138
|
height: scaledHeight
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Checkmark Verbrauchsausweis.
|
// Checkmark Verbrauchsausweis.
|
||||||
pages[0].drawText("x", {
|
pages[0].drawText("x", {
|
||||||
x: 41,
|
x: 41,
|
||||||
@@ -360,25 +369,25 @@ export async function pdfVerbrauchsausweisGewerbe(ausweis: VerbrauchsausweisGewe
|
|||||||
|
|
||||||
if (endenergieverbrauchTranslationPercentage > 0.5) {
|
if (endenergieverbrauchTranslationPercentage > 0.5) {
|
||||||
page.drawText("Endenergieverbrauch Wärme", {
|
page.drawText("Endenergieverbrauch Wärme", {
|
||||||
x: endenergieverbrauchTranslationX - margin - font.widthOfTextAtSize("Endenergieverbrauch Wärme", 10),
|
x: endenergieverbrauchTranslationX - margin - font.widthOfTextAtSize("Endenergieverbrauch Wärme", 10) - (pfeilWidth / 2),
|
||||||
y: height - 191,
|
y: height - 191,
|
||||||
size: 10
|
size: 10
|
||||||
})
|
})
|
||||||
|
|
||||||
page.drawText(endEnergieVerbrauchGesamtText, {
|
page.drawText(endEnergieVerbrauchGesamtText, {
|
||||||
x: endenergieverbrauchTranslationX - margin - bold.widthOfTextAtSize(endEnergieVerbrauchGesamtText, 10),
|
x: endenergieverbrauchTranslationX - margin - bold.widthOfTextAtSize(endEnergieVerbrauchGesamtText, 10) - (pfeilWidth / 2),
|
||||||
y: height - 205,
|
y: height - 205,
|
||||||
size: 10,
|
size: 10,
|
||||||
font: bold
|
font: bold
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
page.drawText("Endenergieverbrauch Wärme", {
|
page.drawText("Endenergieverbrauch Wärme", {
|
||||||
x: endenergieverbrauchTranslationX + pfeilWidth + margin,
|
x: endenergieverbrauchTranslationX + pfeilWidth + margin + (pfeilWidth / 2),
|
||||||
y: height - 191,
|
y: height - 191,
|
||||||
size: 10
|
size: 10
|
||||||
})
|
})
|
||||||
page.drawText(endEnergieVerbrauchGesamtText, {
|
page.drawText(endEnergieVerbrauchGesamtText, {
|
||||||
x: endenergieverbrauchTranslationX + pfeilWidth + margin,
|
x: endenergieverbrauchTranslationX + pfeilWidth + margin + (pfeilWidth / 2),
|
||||||
y: height - 205,
|
y: height - 205,
|
||||||
size: 10,
|
size: 10,
|
||||||
font: bold
|
font: bold
|
||||||
@@ -389,13 +398,13 @@ export async function pdfVerbrauchsausweisGewerbe(ausweis: VerbrauchsausweisGewe
|
|||||||
|
|
||||||
if (vergleichsWertWaermeTranslationPercentage > 0.5) {
|
if (vergleichsWertWaermeTranslationPercentage > 0.5) {
|
||||||
page.drawText("Vergleichswert Wärme", {
|
page.drawText("Vergleichswert Wärme", {
|
||||||
x: vergleichsWertWaermeTranslationX - margin - font.widthOfTextAtSize("Vergleichswert Wärme", 10),
|
x: vergleichsWertWaermeTranslationX - margin - font.widthOfTextAtSize("Vergleichswert Wärme", 10) - (pfeilWidth / 2),
|
||||||
y: height - 275,
|
y: height - 275,
|
||||||
size: 10
|
size: 10
|
||||||
})
|
})
|
||||||
|
|
||||||
page.drawText(vergleichswertWaermeText, {
|
page.drawText(vergleichswertWaermeText, {
|
||||||
x: vergleichsWertWaermeTranslationX - margin - bold.widthOfTextAtSize(vergleichswertWaermeText, 10),
|
x: vergleichsWertWaermeTranslationX - margin - bold.widthOfTextAtSize(vergleichswertWaermeText, 10) - (pfeilWidth / 2),
|
||||||
y: height - 289,
|
y: height - 289,
|
||||||
size: 10,
|
size: 10,
|
||||||
font: bold
|
font: bold
|
||||||
@@ -422,7 +431,7 @@ export async function pdfVerbrauchsausweisGewerbe(ausweis: VerbrauchsausweisGewe
|
|||||||
})
|
})
|
||||||
|
|
||||||
page.drawImage(pfeilNachOben, {
|
page.drawImage(pfeilNachOben, {
|
||||||
x: vergleichsWertStromTranslationX,
|
x: vergleichsWertStromTranslationX,
|
||||||
y: height - 437,
|
y: height - 437,
|
||||||
width: pfeilWidth,
|
width: pfeilWidth,
|
||||||
height: 30
|
height: 30
|
||||||
@@ -432,25 +441,25 @@ export async function pdfVerbrauchsausweisGewerbe(ausweis: VerbrauchsausweisGewe
|
|||||||
|
|
||||||
if (stromVerbrauchTranslationPercentage > 0.5) {
|
if (stromVerbrauchTranslationPercentage > 0.5) {
|
||||||
page.drawText("Endenergieverbrauch Strom", {
|
page.drawText("Endenergieverbrauch Strom", {
|
||||||
x: stromVerbrauchTranslationX - margin - font.widthOfTextAtSize("Endenergieverbrauch Strom", 10),
|
x: stromVerbrauchTranslationX - margin - font.widthOfTextAtSize("Endenergieverbrauch Strom", 10) - (pfeilWidth / 2),
|
||||||
y: height - 335,
|
y: height - 335,
|
||||||
size: 10
|
size: 10
|
||||||
})
|
})
|
||||||
|
|
||||||
page.drawText(stromVerbrauchGesamtText, {
|
page.drawText(stromVerbrauchGesamtText, {
|
||||||
x: stromVerbrauchTranslationX - margin - bold.widthOfTextAtSize(stromVerbrauchGesamtText, 10),
|
x: stromVerbrauchTranslationX - margin - bold.widthOfTextAtSize(stromVerbrauchGesamtText, 10) - (pfeilWidth / 2),
|
||||||
y: height - 349,
|
y: height - 349,
|
||||||
size: 10,
|
size: 10,
|
||||||
font: bold
|
font: bold
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
page.drawText("Endenergieverbrauch Strom", {
|
page.drawText("Endenergieverbrauch Strom", {
|
||||||
x: stromVerbrauchTranslationX + pfeilWidth + margin,
|
x: stromVerbrauchTranslationX + pfeilWidth + margin + (pfeilWidth / 2),
|
||||||
y: height - 335,
|
y: height - 335,
|
||||||
size: 10
|
size: 10
|
||||||
})
|
})
|
||||||
page.drawText(stromVerbrauchGesamtText, {
|
page.drawText(stromVerbrauchGesamtText, {
|
||||||
x: stromVerbrauchTranslationX + pfeilWidth + margin,
|
x: stromVerbrauchTranslationX + pfeilWidth + margin + (pfeilWidth / 2),
|
||||||
y: height - 349,
|
y: height - 349,
|
||||||
size: 10,
|
size: 10,
|
||||||
font: bold
|
font: bold
|
||||||
@@ -475,12 +484,12 @@ export async function pdfVerbrauchsausweisGewerbe(ausweis: VerbrauchsausweisGewe
|
|||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
page.drawText("Vergleichswert Strom", {
|
page.drawText("Vergleichswert Strom", {
|
||||||
x: vergleichsWertStromTranslationX + pfeilWidth + margin,
|
x: vergleichsWertStromTranslationX + pfeilWidth + margin + (pfeilWidth / 2),
|
||||||
y: height - 420,
|
y: height - 420,
|
||||||
size: 10
|
size: 10
|
||||||
})
|
})
|
||||||
page.drawText(vergleichswertStromText, {
|
page.drawText(vergleichswertStromText, {
|
||||||
x: vergleichsWertStromTranslationX + pfeilWidth + margin,
|
x: vergleichsWertStromTranslationX + pfeilWidth + margin + (pfeilWidth / 2),
|
||||||
y: height - 434,
|
y: height - 434,
|
||||||
size: 10,
|
size: 10,
|
||||||
font: bold
|
font: bold
|
||||||
|
|||||||
@@ -59,13 +59,23 @@ export async function pdfVerbrauchsausweisWohnen(ausweis: VerbrauchsausweisWohne
|
|||||||
|
|
||||||
if (file) {
|
if (file) {
|
||||||
let image: PDFImage;
|
let image: PDFImage;
|
||||||
image = await pdf.embedJpg(file)
|
image = await pdf.embedJpg(file);
|
||||||
|
|
||||||
|
const originalWidth = image.width;
|
||||||
|
const originalHeight = image.height;
|
||||||
|
|
||||||
|
// Calculate the scaling factor to fit within the maximum dimensions while maintaining proportions
|
||||||
|
const scaleFactor = Math.min(111 / originalWidth, 138 / originalHeight);
|
||||||
|
|
||||||
|
const scaledWidth = originalWidth * scaleFactor;
|
||||||
|
const scaledHeight = originalHeight * scaleFactor;
|
||||||
|
|
||||||
pages[0].drawImage(image, {
|
pages[0].drawImage(image, {
|
||||||
x: 460.5,
|
x: 460.5,
|
||||||
y: height - 289,
|
y: (height - 289 - scaledHeight) + 138, // Adjust y to align the image properly
|
||||||
width: 111,
|
width: scaledWidth,
|
||||||
height: 138
|
height: scaledHeight
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -333,7 +343,7 @@ export async function pdfVerbrauchsausweisWohnen(ausweis: VerbrauchsausweisWohne
|
|||||||
}
|
}
|
||||||
|
|
||||||
page.drawImage(pfeilNachUnten, {
|
page.drawImage(pfeilNachUnten, {
|
||||||
x: endenergieverbrauchTranslationX,
|
x: endenergieverbrauchTranslationX - (pfeilWidth / 2),
|
||||||
y: height - 212,
|
y: height - 212,
|
||||||
width: pfeilWidth,
|
width: pfeilWidth,
|
||||||
height: 30
|
height: 30
|
||||||
@@ -370,7 +380,7 @@ export async function pdfVerbrauchsausweisWohnen(ausweis: VerbrauchsausweisWohne
|
|||||||
}
|
}
|
||||||
|
|
||||||
page.drawImage(pfeilNachOben, {
|
page.drawImage(pfeilNachOben, {
|
||||||
x: primaerenergieverbrauchTranslationX,
|
x: primaerenergieverbrauchTranslationX - (pfeilWidth / 2),
|
||||||
y: height - 297,
|
y: height - 297,
|
||||||
width: pfeilWidth,
|
width: pfeilWidth,
|
||||||
height: 30
|
height: 30
|
||||||
@@ -495,7 +505,7 @@ export async function pdfVerbrauchsausweisWohnen(ausweis: VerbrauchsausweisWohne
|
|||||||
|
|
||||||
const addVerbrauch = addVerbrauchGenerator();
|
const addVerbrauch = addVerbrauchGenerator();
|
||||||
|
|
||||||
if (!ausweis.warmwasser_enthalten) {
|
if (ausweis.warmwasser_enthalten !== true) {
|
||||||
// Mit Warmwasserzuschlag
|
// Mit Warmwasserzuschlag
|
||||||
addVerbrauch(
|
addVerbrauch(
|
||||||
moment(ausweis.startdatum).format("MM.YYYY"),
|
moment(ausweis.startdatum).format("MM.YYYY"),
|
||||||
@@ -545,7 +555,7 @@ export async function pdfVerbrauchsausweisWohnen(ausweis: VerbrauchsausweisWohne
|
|||||||
"Warmwasserzuschlag",
|
"Warmwasserzuschlag",
|
||||||
berechnungen?.primaerfaktorww.toString(),
|
berechnungen?.primaerfaktorww.toString(),
|
||||||
Math.round(berechnungen?.energieVerbrauchWarmwasser_1 || 0).toString(),
|
Math.round(berechnungen?.energieVerbrauchWarmwasser_1 || 0).toString(),
|
||||||
Math.round(berechnungen?.energieVerbrauchWarmwasser_1 || 0).toString(),
|
Math.round(berechnungen?.energieVerbrauchWarmwasser_1 || 0).toString(),
|
||||||
"0",
|
"0",
|
||||||
"0"
|
"0"
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,9 +1,27 @@
|
|||||||
import { API_ACCESS_TOKEN_COOKIE_NAME } from "#lib/constants.js";
|
import { API_ACCESS_TOKEN_COOKIE_NAME } from "#lib/constants.js";
|
||||||
import { checkAuthorizationHeader, checkAuthorizationHeaderNoThrow } from "#lib/middleware/authorization.js";
|
import { checkAuthorizationHeader, checkAuthorizationHeaderNoThrow } from "#lib/middleware/authorization.js";
|
||||||
import { AstroGlobal } from "astro";
|
import { AstroGlobal } from "astro";
|
||||||
|
import { Enums } from "#lib/client/prisma.js";
|
||||||
|
import { prisma } from "#lib/server/prisma.js";
|
||||||
|
|
||||||
export function getCurrentUser(Astro: AstroGlobal) {
|
export function getCurrentUser(Astro: AstroGlobal) {
|
||||||
const accessToken = Astro.cookies.get(API_ACCESS_TOKEN_COOKIE_NAME)?.value;
|
const accessToken = Astro.cookies.get(API_ACCESS_TOKEN_COOKIE_NAME)?.value;
|
||||||
|
|
||||||
return checkAuthorizationHeaderNoThrow(`Bearer ${accessToken}`)
|
return checkAuthorizationHeaderNoThrow(`Bearer ${accessToken}`)
|
||||||
|
}
|
||||||
|
|
||||||
|
export async function getOtherUser(Astro: AstroGlobal, userId : string) {
|
||||||
|
const accessToken = Astro.cookies.get(API_ACCESS_TOKEN_COOKIE_NAME)?.value;
|
||||||
|
|
||||||
|
let currentUser = await checkAuthorizationHeaderNoThrow(`Bearer ${accessToken}`)
|
||||||
|
|
||||||
|
if (currentUser?.rolle == Enums.BenutzerRolle.ADMIN) {
|
||||||
|
const user = await prisma.benutzer.findUnique({
|
||||||
|
where: {
|
||||||
|
id: userId
|
||||||
|
}
|
||||||
|
})
|
||||||
|
return user;
|
||||||
|
}
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
@@ -57,7 +57,8 @@
|
|||||||
"bedarfsausweis-wohnen.ausweis"
|
"bedarfsausweis-wohnen.ausweis"
|
||||||
);
|
);
|
||||||
if (localStorageAusweis) {
|
if (localStorageAusweis) {
|
||||||
ausweis = JSON.parse(localStorageAusweis);
|
ausweis = JSON.parse(localStorageAusweis)
|
||||||
|
ausweis.ausweistyp = ausweistyp;
|
||||||
}
|
}
|
||||||
|
|
||||||
const localStorageAufnahme = localStorage.getItem(
|
const localStorageAufnahme = localStorage.getItem(
|
||||||
@@ -147,6 +148,7 @@
|
|||||||
{ausweisart}
|
{ausweisart}
|
||||||
{partner_code}
|
{partner_code}
|
||||||
showWeiter={false}
|
showWeiter={false}
|
||||||
|
{ausweistyp}
|
||||||
{form}
|
{form}
|
||||||
{skala}
|
{skala}
|
||||||
></ButtonWeiterHilfe>
|
></ButtonWeiterHilfe>
|
||||||
@@ -282,6 +284,7 @@
|
|||||||
{ausweisart}
|
{ausweisart}
|
||||||
{partner_code}
|
{partner_code}
|
||||||
showWeiter={true}
|
showWeiter={true}
|
||||||
|
{ausweistyp}
|
||||||
{form}
|
{form}
|
||||||
{skala}
|
{skala}
|
||||||
></ButtonWeiterHilfe>
|
></ButtonWeiterHilfe>
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { AufnahmeKomplettClient, BenutzerClient } from "#components/Ausweis/types.js";
|
import { BenutzerClient } from "#components/Ausweis/types.js";
|
||||||
import Carousel from "#components/Carousel.svelte";
|
|
||||||
import DashboardAusweis from "#components/Dashboard/DashboardAusweis.svelte";
|
import DashboardAusweis from "#components/Dashboard/DashboardAusweis.svelte";
|
||||||
import NotificationWrapper from "#components/Notifications/NotificationWrapper.svelte";
|
import NotificationWrapper from "#components/Notifications/NotificationWrapper.svelte";
|
||||||
import { Aufnahme, BedarfsausweisWohnen, Bild, Objekt, Rechnung, Unterlage, VerbrauchsausweisGewerbe, VerbrauchsausweisWohnen } from "#lib/client/prisma.js";
|
import { Aufnahme, BedarfsausweisWohnen, Bild, Objekt, Rechnung, Unterlage, VerbrauchsausweisGewerbe, VerbrauchsausweisWohnen } from "#lib/client/prisma.js";
|
||||||
import { CaretRight, ChevronLeft, ChevronRight, FileText } from "radix-svelte-icons";
|
import { AusstellungsTyp } from "#lib/constants.js";
|
||||||
|
import { CaretRight, Plus } from "radix-svelte-icons";
|
||||||
import CaretLeft from "radix-svelte-icons/src/lib/icons/CaretLeft.svelte";
|
import CaretLeft from "radix-svelte-icons/src/lib/icons/CaretLeft.svelte";
|
||||||
|
|
||||||
export let ausweis: (VerbrauchsausweisWohnen | VerbrauchsausweisGewerbe | BedarfsausweisWohnen) & {
|
export let ausweis: (VerbrauchsausweisWohnen | VerbrauchsausweisGewerbe | BedarfsausweisWohnen) & {
|
||||||
@@ -33,22 +33,22 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="text-2xl">{ausweis.aufnahme.objekt.adresse}, {ausweis.aufnahme.objekt.plz} {ausweis.aufnahme.objekt.ort}</div>
|
<div class="text-2xl">{ausweis.aufnahme.objekt.adresse}, {ausweis.aufnahme.objekt.plz} {ausweis.aufnahme.objekt.ort}</div>
|
||||||
|
|
||||||
<!--
|
|
||||||
Funkioniert noch nicht. Man kann den neuen Ausweis nicht abspeichern.
|
<!-- Funkioniert noch nicht. Man kann den neuen Ausweis nicht abspeichern. -->
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
<button class="button flex flex-row rounded-lg gap-2 bg-secondary text-white text-center" on:click={toggleDropdown}>
|
<button class="button flex flex-row rounded-lg gap-2 bg-secondary text-white text-center items-center" on:click={toggleDropdown}>
|
||||||
Als Vorlage verwenden +
|
Neuausstellung zu {ausweis.aufnahme.objekt.adresse} <Plus size={20}></Plus>
|
||||||
</button>
|
</button>
|
||||||
{#if dropdownOpen}
|
{#if dropdownOpen}
|
||||||
<div class="absolute top-15 left-0 mt-2 w-50 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 z-[9999]" on:click|stopPropagation on:keydown|stopPropagation on:keyup|stopPropagation>
|
<div class="absolute top-15 left-0 mt-2 w-50 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 z-[9999]" on:click|stopPropagation on:keydown|stopPropagation on:keyup|stopPropagation>
|
||||||
<div class="py-1 w-full" role="menu" aria-orientation="vertical" aria-labelledby="options-menu">
|
<div class="py-1 w-full" role="menu" aria-orientation="vertical" aria-labelledby="options-menu">
|
||||||
<a href="/energieausweis-erstellen/verbrauchsausweis-wohngebaeude?aufnahme={ausweis.aufnahme.id}" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 w-full text-left" role="menuitem">Verbrauchsausweis<br>Wohnen Erstellen</a>
|
<a href="/energieausweis-erstellen/verbrauchsausweis-wohngebaeude?aufnahme_id={ausweis.aufnahme.id}&ausweis_id={ausweis.id}&typ={AusstellungsTyp.Neuausstellung}" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 w-full text-left" role="menuitem">Verbrauchsausweis<br>Wohnen Erstellen</a>
|
||||||
<a href="/energieausweis-erstellen/verbrauchsausweis-gewerbe?aufnahme={ausweis.aufnahme.id}" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 w-full text-left" role="menuitem">Verbrauchsausweis<br>Gewerbe Erstellen</a>
|
<a href="/energieausweis-erstellen/verbrauchsausweis-gewerbe?aufnahme_id={ausweis.aufnahme.id}&ausweis_id={ausweis.id}&typ={AusstellungsTyp.Neuausstellung}" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 w-full text-left" role="menuitem">Verbrauchsausweis<br>Gewerbe Erstellen</a>
|
||||||
<a href="/energieausweis-erstellen/bedarfsausweis-wohngebaeude?aufnahme={ausweis.aufnahme.id}" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 w-full text-left" role="menuitem">Bedarfsausweis<br>Wohnen Erstellen</a>
|
<a href="/energieausweis-erstellen/bedarfsausweis-wohngebaeud e?aufnahme_id={ausweis.aufnahme.id}&ausweis_id={ausweis.id}&typ={AusstellungsTyp.Neuausstellung}" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 w-full text-left" role="menuitem">Bedarfsausweis<br>Wohnen Erstellen</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div> -->
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|||||||
@@ -1,126 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
import AusweisPruefenBox from "#components/AusweisPruefenBox.svelte";
|
|
||||||
import NotificationProvider from "#components/NotificationProvider/NotificationProvider.svelte";
|
|
||||||
import { endEnergieVerbrauchVerbrauchsausweis_2016 } from "#lib/Berechnungen/VerbrauchsausweisWohnen/VerbrauchsausweisWohnen_2016.js";
|
|
||||||
import AusweisPruefenNotification from "#components/AusweisPruefenNotification.svelte";
|
|
||||||
import DashboardAusweisSkeleton from "#components/Dashboard/DashboardAusweisSkeleton.svelte"
|
|
||||||
import { Event } from "#lib/client/prisma";
|
|
||||||
import Pagination from "#components/Pagination.svelte";
|
|
||||||
import { api } from "astro-typesafe-api/client";
|
|
||||||
import Cookies from "js-cookie"
|
|
||||||
import { API_ACCESS_TOKEN_COOKIE_NAME } from "#lib/constants.js"
|
|
||||||
import AusweisePruefenFilter from "#components/Dashboard/AusweisePruefenFilter.svelte";
|
|
||||||
import { z, ZodTypeAny } from "zod";
|
|
||||||
import { filterAusweise } from "#lib/filters.js";
|
|
||||||
|
|
||||||
export let page: number;
|
|
||||||
export let totalPages: number;
|
|
||||||
|
|
||||||
let filters: { name: keyof z.infer<typeof filterAusweise>, type: ZodTypeAny, value: any }[] = []
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div class="flex flex-col mb-4">
|
|
||||||
<AusweisePruefenFilter bind:filters={filters}></AusweisePruefenFilter>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="gap-4 flex flex-col">
|
|
||||||
{#await api.ausweise.GET.fetch({
|
|
||||||
limit: 10,
|
|
||||||
skip: (page - 1) * 10,
|
|
||||||
filters: filters.reduce((acc, filter) => {
|
|
||||||
acc[filter.name] = filter.value
|
|
||||||
return acc
|
|
||||||
}, {})
|
|
||||||
}, {
|
|
||||||
headers: {
|
|
||||||
Authorization: `Bearer ${Cookies.get(API_ACCESS_TOKEN_COOKIE_NAME)}`
|
|
||||||
}
|
|
||||||
})}
|
|
||||||
<DashboardAusweisSkeleton></DashboardAusweisSkeleton>
|
|
||||||
{:then ausweise}
|
|
||||||
{#each ausweise as { ausweis, objekt, aufnahme, bilder, events }}
|
|
||||||
{#await endEnergieVerbrauchVerbrauchsausweis_2016(ausweis, aufnahme, objekt)}
|
|
||||||
<div class="rounded-lg border w-full h-20 p-2.5 gap-4 flex flex-row items-center">
|
|
||||||
<div class="w-1/12 h-full flex flex-col gap-2">
|
|
||||||
<div class="skeleton w-8 h-8 rounded-full"></div>
|
|
||||||
</div>
|
|
||||||
<div class="w-1/12 h-full flex flex-col gap-2">
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
</div>
|
|
||||||
<div class="w-1/12 h-full flex flex-col gap-2">
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
</div>
|
|
||||||
<div class="w-1/12 h-full flex flex-col gap-2">
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
</div>
|
|
||||||
<div class="w-1/12 h-full flex flex-col gap-2">
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
</div>
|
|
||||||
<div class="w-1/12 h-full flex flex-col gap-2">
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
</div>
|
|
||||||
<div class="w-1/12 h-full flex flex-col gap-2">
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
</div>
|
|
||||||
<div class="w-1/12 h-full flex flex-col gap-2">
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
</div>
|
|
||||||
<div class="w-1/12 h-full flex flex-col gap-2">
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
</div>
|
|
||||||
<div class="w-1/12 h-full flex flex-col gap-2">
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
</div>
|
|
||||||
<div class="w-1/12 h-full flex flex-col gap-2">
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
</div>
|
|
||||||
<div class="w-1/12 h-full flex flex-col gap-2">
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
</div>
|
|
||||||
<div class="w-1/12 h-full flex flex-col gap-2">
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
</div>
|
|
||||||
<div class="w-1/12 h-full flex flex-col gap-2">
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
</div>
|
|
||||||
<div class="w-1/12 h-full flex flex-col gap-2">
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
</div>
|
|
||||||
<div class="w-1/12 h-full flex flex-col gap-2">
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
<div class="skeleton w-full h-4"></div>
|
|
||||||
</div>
|
|
||||||
<div class="skeleton w-4 h-4"></div>
|
|
||||||
<div class="skeleton w-4 h-4"></div>
|
|
||||||
<div class="skeleton w-4 h-4"></div>
|
|
||||||
<div class="skeleton w-4 h-4"></div>
|
|
||||||
<div class="skeleton w-4 h-4"></div>
|
|
||||||
<div class="skeleton w-4 h-4"></div>
|
|
||||||
<div class="skeleton w-4 h-4"></div>
|
|
||||||
<div class="skeleton w-4 h-4"></div>
|
|
||||||
<div class="skeleton w-4 h-4"></div>
|
|
||||||
<div class="skeleton w-4 h-4"></div>
|
|
||||||
</div>
|
|
||||||
{:then calculations}
|
|
||||||
<AusweisPruefenBox {ausweis} {aufnahme} {objekt} {bilder} {events} {calculations}></AusweisPruefenBox>
|
|
||||||
{/await}
|
|
||||||
{/each}
|
|
||||||
{/await}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<Pagination pages={totalPages} current={page} prev="/dashboard/admin/ausweise-pruefen/{page - 1}" next="/dashboard/admin/ausweise-pruefen/{page + 1}"></Pagination>
|
|
||||||
|
|
||||||
<div class="fixed bottom-8 right-8 flex flex-col gap-4">
|
|
||||||
<NotificationProvider component={AusweisPruefenNotification}></NotificationProvider>
|
|
||||||
</div>
|
|
||||||
@@ -32,8 +32,11 @@
|
|||||||
import { getMaximumDevitationInPercent } from "#client/lib/helpers.js";
|
import { getMaximumDevitationInPercent } from "#client/lib/helpers.js";
|
||||||
import { endEnergieVerbrauchVerbrauchsausweis_2016_Client } from "#lib/Berechnungen/VerbrauchsausweisWohnen/VerbrauchsausweisWohnen_2016_Client.js";
|
import { endEnergieVerbrauchVerbrauchsausweis_2016_Client } from "#lib/Berechnungen/VerbrauchsausweisWohnen/VerbrauchsausweisWohnen_2016_Client.js";
|
||||||
import { endEnergieVerbrauchVerbrauchsausweisGewerbe_2016_Client } from "#lib/Berechnungen/VerbrauchsausweisGewerbe/VerbrauchsausweisGewerbe_2016_Client.js";
|
import { endEnergieVerbrauchVerbrauchsausweisGewerbe_2016_Client } from "#lib/Berechnungen/VerbrauchsausweisGewerbe/VerbrauchsausweisGewerbe_2016_Client.js";
|
||||||
|
import { benutzerSpeichern } from "#client/lib/speichern.js";
|
||||||
|
import { exclude } from "#lib/exclude.js";
|
||||||
|
|
||||||
export let user: Partial<BenutzerClient>;
|
export let user: Partial<BenutzerClient>;
|
||||||
|
export let impersonatedUser: Partial<BenutzerClient> | null = null;
|
||||||
export let ausweis: VerbrauchsausweisWohnenClient | VerbrauchsausweisGewerbe | BedarfsausweisWohnen;
|
export let ausweis: VerbrauchsausweisWohnenClient | VerbrauchsausweisGewerbe | BedarfsausweisWohnen;
|
||||||
export let aufnahme: AufnahmeClient;
|
export let aufnahme: AufnahmeClient;
|
||||||
export let objekt: ObjektClient;
|
export let objekt: ObjektClient;
|
||||||
@@ -59,6 +62,10 @@
|
|||||||
ort = rechnung?.ort || localStorage.getItem("kundendaten.ort") || user.ort || "";
|
ort = rechnung?.ort || localStorage.getItem("kundendaten.ort") || user.ort || "";
|
||||||
zusatzzeile = rechnung?.zusatzzeile || localStorage.getItem("kundendaten.zusatzzeile") || ""
|
zusatzzeile = rechnung?.zusatzzeile || localStorage.getItem("kundendaten.zusatzzeile") || ""
|
||||||
telefon = rechnung?.telefon || localStorage.getItem("kundendaten.telefon") || user.telefon || "";
|
telefon = rechnung?.telefon || localStorage.getItem("kundendaten.telefon") || user.telefon || "";
|
||||||
|
} else if (impersonatedUser) {
|
||||||
|
vorname = impersonatedUser.vorname || "";
|
||||||
|
name = impersonatedUser.name || "";
|
||||||
|
telefon = impersonatedUser.telefon || "";
|
||||||
}
|
}
|
||||||
|
|
||||||
let abweichende_versand_adresse = JSON.parse(localStorage.getItem("kundendaten.abweichende_versand_adresse") || "false")
|
let abweichende_versand_adresse = JSON.parse(localStorage.getItem("kundendaten.abweichende_versand_adresse") || "false")
|
||||||
@@ -104,25 +111,25 @@
|
|||||||
name: "Qualitätsdruck per Post (zusätzlich zur PDF Version)",
|
name: "Qualitätsdruck per Post (zusätzlich zur PDF Version)",
|
||||||
id: Enums.Service.Qualitaetsdruck,
|
id: Enums.Service.Qualitaetsdruck,
|
||||||
price: 9,
|
price: 9,
|
||||||
selected: false,
|
selected: rechnung ? rechnung.services.indexOf(Enums.Service.Qualitaetsdruck) >= 0 : false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Aushang (für öffentliche Gebäude gesetzlich vorgeschrieben)",
|
name: "Aushang (für öffentliche Gebäude gesetzlich vorgeschrieben)",
|
||||||
id: Enums.Service.Aushang,
|
id: Enums.Service.Aushang,
|
||||||
price: 10,
|
price: 10,
|
||||||
selected: false,
|
selected: rechnung ? rechnung.services.indexOf(Enums.Service.Aushang) >= 0 : false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Same Day Service - Bestellung Werktags vor <b>12:00 Uhr</b><br>Ausstellung bis <b>18:00 Uhr</b> am gleichen Tag",
|
name: "Same Day Service - Bestellung Werktags vor <b>12:00 Uhr</b><br>Ausstellung bis <b>18:00 Uhr</b> am gleichen Tag",
|
||||||
id: Enums.Service.SameDay,
|
id: Enums.Service.SameDay,
|
||||||
price: 29,
|
price: 29,
|
||||||
selected: false,
|
selected: rechnung ? rechnung.services.indexOf(Enums.Service.SameDay) >= 0 : false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Telefonische Energie-Effizienzberatung",
|
name: "Telefonische Energie-Effizienzberatung",
|
||||||
id: Enums.Service.Telefonberatung,
|
id: Enums.Service.Telefonberatung,
|
||||||
price: 75,
|
price: 75,
|
||||||
selected: false,
|
selected: rechnung ? rechnung.services.indexOf(Enums.Service.Telefonberatung) >= 0 : false,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -249,6 +256,19 @@
|
|||||||
} else {
|
} else {
|
||||||
result = await ausweisSpeichern(ausweis, objekt, aufnahme, bilder, unterlagen, ausweisart)
|
result = await ausweisSpeichern(ausweis, objekt, aufnahme, bilder, unterlagen, ausweisart)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let resultUser: Awaited<ReturnType<typeof benutzerSpeichern>> | Awaited<ReturnType<typeof benutzerSpeichern>> | null = null;
|
||||||
|
const { passwort, ...baseUser } = impersonatedUser ?? user;
|
||||||
|
|
||||||
|
const benutzerObjekt = {
|
||||||
|
...baseUser,
|
||||||
|
name,
|
||||||
|
vorname,
|
||||||
|
telefon
|
||||||
|
};
|
||||||
|
|
||||||
|
resultUser = await benutzerSpeichern(benutzerObjekt);
|
||||||
|
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
addNotification({
|
addNotification({
|
||||||
dismissable: true,
|
dismissable: true,
|
||||||
@@ -312,6 +332,18 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let resultUser: Awaited<ReturnType<typeof benutzerSpeichern>> | Awaited<ReturnType<typeof benutzerSpeichern>> | null = null;
|
||||||
|
const { passwort, ...baseUser } = impersonatedUser ?? user;
|
||||||
|
|
||||||
|
const benutzerObjekt = {
|
||||||
|
...baseUser,
|
||||||
|
name,
|
||||||
|
vorname,
|
||||||
|
telefon
|
||||||
|
};
|
||||||
|
|
||||||
|
resultUser = await benutzerSpeichern(benutzerObjekt);
|
||||||
|
|
||||||
if (rechnung && rechnung.status === "paid") {
|
if (rechnung && rechnung.status === "paid") {
|
||||||
window.location.href = "/dashboard"
|
window.location.href = "/dashboard"
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
export let ausweistyp: Enums.AusweisTyp;
|
export let ausweistyp: Enums.AusweisTyp;
|
||||||
export let aufnahme: AufnahmeClient;
|
export let aufnahme: AufnahmeClient;
|
||||||
export let bilder: BildClient[];
|
export let bilder: BildClient[];
|
||||||
export let id: string | null;
|
export let ausweis_id: string | null;
|
||||||
|
|
||||||
export let partner_code: string;
|
export let partner_code: string;
|
||||||
export let loadFromDatabase: boolean = false;
|
export let loadFromDatabase: boolean = false;
|
||||||
@@ -63,6 +63,7 @@
|
|||||||
const localStorageAusweis = localStorage.getItem("verbrauchsausweis-gewerbe.ausweis");
|
const localStorageAusweis = localStorage.getItem("verbrauchsausweis-gewerbe.ausweis");
|
||||||
if (localStorageAusweis) {
|
if (localStorageAusweis) {
|
||||||
ausweis = JSON.parse(localStorageAusweis)
|
ausweis = JSON.parse(localStorageAusweis)
|
||||||
|
ausweis.ausweistyp = ausweistyp;
|
||||||
}
|
}
|
||||||
|
|
||||||
const localStorageAufnahme = localStorage.getItem("verbrauchsausweis-gewerbe.aufnahme");
|
const localStorageAufnahme = localStorage.getItem("verbrauchsausweis-gewerbe.aufnahme");
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
bind:blockLocalStorageSync
|
bind:blockLocalStorageSync
|
||||||
ausweisart={Enums.Ausweisart.VerbrauchsausweisGewerbe}
|
ausweisart={Enums.Ausweisart.VerbrauchsausweisGewerbe}
|
||||||
showWeiter={false}
|
showWeiter={false}
|
||||||
|
{ausweistyp}
|
||||||
{form}
|
{form}
|
||||||
{partner_code}
|
{partner_code}
|
||||||
{skala}
|
{skala}
|
||||||
@@ -245,6 +247,7 @@
|
|||||||
bind:blockLocalStorageSync
|
bind:blockLocalStorageSync
|
||||||
ausweisart={Enums.Ausweisart.VerbrauchsausweisGewerbe}
|
ausweisart={Enums.Ausweisart.VerbrauchsausweisGewerbe}
|
||||||
showWeiter={true}
|
showWeiter={true}
|
||||||
|
{ausweistyp}
|
||||||
{form}
|
{form}
|
||||||
{partner_code}
|
{partner_code}
|
||||||
{skala}
|
{skala}
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
export let user: BenutzerClient | null;
|
export let user: BenutzerClient | null;
|
||||||
export let bilder: BildClient[];
|
export let bilder: BildClient[];
|
||||||
export let ausweistyp: Enums.AusweisTyp;
|
export let ausweistyp: Enums.AusweisTyp;
|
||||||
export let id: string | null;
|
export let ausweis_id: string | null;
|
||||||
export let partner_code: string;
|
export let partner_code: string;
|
||||||
|
|
||||||
export let loadFromDatabase: boolean = false;
|
export let loadFromDatabase: boolean = false;
|
||||||
@@ -91,11 +91,13 @@
|
|||||||
let speichernOverlayHidden = true;
|
let speichernOverlayHidden = true;
|
||||||
|
|
||||||
$: {
|
$: {
|
||||||
|
if (!blockLocalStorageSync) {
|
||||||
localStorage.setItem("verbrauchsausweis-wohnen.ausweis", JSON.stringify(ausweis))
|
localStorage.setItem("verbrauchsausweis-wohnen.ausweis", JSON.stringify(ausweis))
|
||||||
localStorage.setItem("verbrauchsausweis-wohnen.aufnahme", JSON.stringify(aufnahme))
|
localStorage.setItem("verbrauchsausweis-wohnen.aufnahme", JSON.stringify(aufnahme))
|
||||||
localStorage.setItem("verbrauchsausweis-wohnen.objekt", JSON.stringify(objekt))
|
localStorage.setItem("verbrauchsausweis-wohnen.objekt", JSON.stringify(objekt))
|
||||||
localStorage.setItem("verbrauchsausweis-wohnen.bilder", JSON.stringify(bilder))
|
localStorage.setItem("verbrauchsausweis-wohnen.bilder", JSON.stringify(bilder))
|
||||||
localStorage.setItem("verbrauchsausweis-wohnen.updated_at", moment().toString())
|
localStorage.setItem("verbrauchsausweis-wohnen.updated_at", moment().toString())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$: {
|
$: {
|
||||||
@@ -113,6 +115,7 @@
|
|||||||
const ausweisart = Enums.Ausweisart.VerbrauchsausweisWohnen
|
const ausweisart = Enums.Ausweisart.VerbrauchsausweisWohnen
|
||||||
const anliegen = "Energieausweis erstellen";
|
const anliegen = "Energieausweis erstellen";
|
||||||
|
|
||||||
|
let blockLocalStorageSync: boolean = false;
|
||||||
let form: HTMLFormElement;
|
let form: HTMLFormElement;
|
||||||
let skala: HTMLDivElement;
|
let skala: HTMLDivElement;
|
||||||
|
|
||||||
@@ -158,8 +161,10 @@ let skala: HTMLDivElement;
|
|||||||
bind:user
|
bind:user
|
||||||
bind:objekt
|
bind:objekt
|
||||||
bind:aufnahme
|
bind:aufnahme
|
||||||
|
bind:blockLocalStorageSync
|
||||||
ausweisart={Enums.Ausweisart.VerbrauchsausweisWohnen}
|
ausweisart={Enums.Ausweisart.VerbrauchsausweisWohnen}
|
||||||
showWeiter={false}
|
showWeiter={false}
|
||||||
|
{ausweistyp}
|
||||||
{partner_code}
|
{partner_code}
|
||||||
{form}
|
{form}
|
||||||
{skala}
|
{skala}
|
||||||
@@ -268,6 +273,7 @@ let skala: HTMLDivElement;
|
|||||||
bind:user
|
bind:user
|
||||||
bind:objekt
|
bind:objekt
|
||||||
bind:aufnahme
|
bind:aufnahme
|
||||||
|
bind:blockLocalStorageSync
|
||||||
{form}
|
{form}
|
||||||
ausweisart={Enums.Ausweisart.VerbrauchsausweisWohnen}
|
ausweisart={Enums.Ausweisart.VerbrauchsausweisWohnen}
|
||||||
{ausweistyp}
|
{ausweistyp}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
import AusweisLayout from "#layouts/AusweisLayoutDaten_partner.astro";
|
import AusweisLayout from "#layouts/AusweisLayoutDatenPartner.astro";
|
||||||
import VerbrauchsausweisWohnenModule from "#modules/VerbrauchsausweisWohnen/VerbrauchsausweisWohnenModule.svelte";
|
import VerbrauchsausweisWohnenModule from "#modules/VerbrauchsausweisWohnen/VerbrauchsausweisWohnenModule.svelte";
|
||||||
import { AufnahmeClient, BildClient, ObjektClient, UploadedGebaeudeBild, VerbrauchsausweisWohnenClient } from "#components/Ausweis/types";
|
import { AufnahmeClient, BildClient, ObjektClient, UploadedGebaeudeBild, VerbrauchsausweisWohnenClient } from "#components/Ausweis/types";
|
||||||
import { Aufnahme, BedarfsausweisGewerbe, Bild, Enums, Objekt, Unterlage, VerbrauchsausweisWohnen } from "#lib/server/prisma";
|
import { Aufnahme, BedarfsausweisGewerbe, Bild, Enums, Objekt, Unterlage, VerbrauchsausweisWohnen } from "#lib/server/prisma";
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
import AusweisLayout from "#layouts/AusweisLayoutDaten_partner.astro";
|
import AusweisLayout from "#layouts/AusweisLayoutDatenPartner.astro";
|
||||||
import ProduktUebersichtBedarfsausweisGewerbe from "#components/design/content/ProduktUebersichtBedarfsausweisGewerbe.svelte";
|
import ProduktUebersichtBedarfsausweisGewerbe from "#components/design/content/ProduktUebersichtBedarfsausweisGewerbe.svelte";
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
import AusweisLayout from "#layouts/AusweisLayoutDaten_partner.astro";
|
import AusweisLayout from "#layouts/AusweisLayoutDatenPartner.astro";
|
||||||
import { Aufnahme, Bild, Enums, GEGNachweisGewerbe, GEGNachweisWohnen, Objekt, Unterlage } from "#lib/server/prisma";
|
import { Aufnahme, Bild, Enums, GEGNachweisGewerbe, GEGNachweisWohnen, Objekt, Unterlage } from "#lib/server/prisma";
|
||||||
import { getAufnahme, getObjekt, getBilder, getGEGNachweisWohnen, getUnterlagen, getGEGNachweisGewerbe } from "#lib/server/db";
|
import { getAufnahme, getObjekt, getBilder, getGEGNachweisWohnen, getUnterlagen, getGEGNachweisGewerbe } from "#lib/server/db";
|
||||||
import { getCurrentUser } from "#lib/server/user";
|
import { getCurrentUser } from "#lib/server/user";
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
import AusweisLayout from "#layouts/AusweisLayoutDaten_partner.astro";
|
import AusweisLayout from "#layouts/AusweisLayoutDatenPartner.astro";
|
||||||
import ProduktUebersichtGEGNachweisGewerbe from "#components/design/content/ProduktUebersichtGEGNachweisGewerbe.svelte";
|
import ProduktUebersichtGEGNachweisGewerbe from "#components/design/content/ProduktUebersichtGEGNachweisGewerbe.svelte";
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
import AusweisLayout from "#layouts/AusweisLayoutDaten_partner.astro";
|
import AusweisLayout from "#layouts/AusweisLayoutDatenPartner.astro";
|
||||||
import GEGNachweisWohnenModule from "#modules/angebot-anfragen/GEGNachweisWohnenModule.svelte";
|
import GEGNachweisWohnenModule from "#modules/angebot-anfragen/GEGNachweisWohnenModule.svelte";
|
||||||
import { Aufnahme, Bild, Enums, GEGNachweisWohnen, Objekt, Unterlage } from "#lib/server/prisma";
|
import { Aufnahme, Bild, Enums, GEGNachweisWohnen, Objekt, Unterlage } from "#lib/server/prisma";
|
||||||
import { getAufnahme, getObjekt, getBilder, getGEGNachweisWohnen, getUnterlagen } from "#lib/server/db";
|
import { getAufnahme, getObjekt, getBilder, getGEGNachweisWohnen, getUnterlagen } from "#lib/server/db";
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
import AusweisLayout from "#layouts/AusweisLayoutDaten_partner.astro";
|
import AusweisLayout from "#layouts/AusweisLayoutDatenPartner.astro";
|
||||||
import ProduktUebersichtGEGNachweisWohnen from "#components/design/content/ProduktUebersichtGEGNachweisWohnen.svelte";
|
import ProduktUebersichtGEGNachweisWohnen from "#components/design/content/ProduktUebersichtGEGNachweisWohnen.svelte";
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,265 @@
|
|||||||
|
---
|
||||||
|
import AusweisLayoutDatenPartner from "#layouts/AusweisLayoutDatenPartner.astro";
|
||||||
|
import VerbrauchsausweisWohnenModule from "#modules/VerbrauchsausweisWohnen/VerbrauchsausweisWohnenModule.svelte";
|
||||||
|
import {
|
||||||
|
Aufnahme,
|
||||||
|
BedarfsausweisWohnen,
|
||||||
|
Bild,
|
||||||
|
Enums,
|
||||||
|
Objekt,
|
||||||
|
prisma,
|
||||||
|
VerbrauchsausweisGewerbe,
|
||||||
|
VerbrauchsausweisWohnen,
|
||||||
|
} from "#lib/server/prisma";
|
||||||
|
import {
|
||||||
|
getAufnahme,
|
||||||
|
getBedarfsausweisWohnen,
|
||||||
|
getBilder,
|
||||||
|
getObjekt,
|
||||||
|
getVerbrauchsausweisGewerbe,
|
||||||
|
getVerbrauchsausweisWohnen,
|
||||||
|
} from "#lib/server/db";
|
||||||
|
import { getCurrentUser } from "#lib/server/user";
|
||||||
|
import { AusstellungsTyp } from "#lib/constants";
|
||||||
|
import VerbrauchsausweisGewerbeModule from "#modules/VerbrauchsausweisGewerbe/VerbrauchsausweisGewerbeModule.svelte";
|
||||||
|
import BedarfsausweisWohnenModule from "#modules/BedarfsausweisWohnen/BedarfsausweisWohnenModule.svelte";
|
||||||
|
import { getPrismaAusweisAdapter } from "#lib/server/ausweis";
|
||||||
|
|
||||||
|
const ausweisart = Astro.params.ausweisart as string;
|
||||||
|
const partner_code = Astro.params.partner as string;
|
||||||
|
|
||||||
|
if (
|
||||||
|
ausweisart !== "verbrauchsausweis-wohngebaeude" &&
|
||||||
|
ausweisart !== "verbrauchsausweis-gewerbe" &&
|
||||||
|
ausweisart !== "bedarfsausweis-wohngebaeude"
|
||||||
|
) {
|
||||||
|
return Astro.redirect("/404");
|
||||||
|
}
|
||||||
|
|
||||||
|
const user = await getCurrentUser(Astro);
|
||||||
|
|
||||||
|
const ausweis_id = Astro.url.searchParams.get("ausweis_id");
|
||||||
|
const typ = Astro.url.searchParams.get("typ") as AusstellungsTyp;
|
||||||
|
|
||||||
|
let ausweistyp =
|
||||||
|
(Astro.url.searchParams.get("ausweistyp") as Enums.AusweisTyp) ||
|
||||||
|
Enums.AusweisTyp.Standard;
|
||||||
|
|
||||||
|
let ausweis:
|
||||||
|
| VerbrauchsausweisWohnen
|
||||||
|
| VerbrauchsausweisGewerbe
|
||||||
|
| BedarfsausweisWohnen
|
||||||
|
| null = {} as VerbrauchsausweisWohnen | VerbrauchsausweisGewerbe | BedarfsausweisWohnen;
|
||||||
|
let aufnahme: Aufnahme | null = {} as Aufnahme;
|
||||||
|
let objekt: Objekt | null = {} as Objekt;
|
||||||
|
let bilder: Bild[] = [];
|
||||||
|
let loadFromDatabase = false;
|
||||||
|
|
||||||
|
if (typ === AusstellungsTyp.Neuausstellung) {
|
||||||
|
if (!user) {
|
||||||
|
return Astro.redirect(`/auth/login?redirect=${Astro.url.toString()}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!ausweis_id) {
|
||||||
|
return Astro.redirect("/400");
|
||||||
|
}
|
||||||
|
|
||||||
|
const adapter = getPrismaAusweisAdapter(ausweis_id)
|
||||||
|
|
||||||
|
ausweis = await adapter?.findUnique({
|
||||||
|
where: {
|
||||||
|
id: ausweis_id
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
aufnahme = await prisma.aufnahme.findUnique({
|
||||||
|
where: {
|
||||||
|
id: ausweis?.aufnahme_id,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
objekt = await prisma.objekt.findUnique({
|
||||||
|
where: {
|
||||||
|
id: aufnahme?.objekt_id,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
if (
|
||||||
|
!ausweis ||
|
||||||
|
!aufnahme ||
|
||||||
|
!objekt ||
|
||||||
|
((ausweis.benutzer_id !== user.id ||
|
||||||
|
aufnahme.benutzer_id !== user.id ||
|
||||||
|
objekt.benutzer_id !== user.id) && user.rolle !== Enums.BenutzerRolle.ADMIN)
|
||||||
|
) {
|
||||||
|
return Astro.redirect("/405");
|
||||||
|
}
|
||||||
|
|
||||||
|
ausweis.id = null;
|
||||||
|
aufnahme.id = null;
|
||||||
|
delete aufnahme.erstellungsdatum;
|
||||||
|
ausweis.created_at = new Date()
|
||||||
|
ausweis.updated_at = new Date();
|
||||||
|
ausweis.alte_ausweis_id = null;
|
||||||
|
ausweis.ausgestellt = false;
|
||||||
|
ausweis.bestellt = false;
|
||||||
|
ausweis.kontrolldatei_angefragt = false;
|
||||||
|
ausweis.energieeffizienzklasse = null;
|
||||||
|
ausweis.ausstellungsdatum = null;
|
||||||
|
ausweis.ausweistyp = Enums.AusweisTyp.Standard;
|
||||||
|
ausweis.zurueckgestellt = false;
|
||||||
|
ausweis.storniert = false;
|
||||||
|
ausweis.rechnung_id = null;
|
||||||
|
ausweis.registriernummer = null;
|
||||||
|
// Die Daten sollen nicht aus dem localStorage genommen werden sonst kann es vorkommen, dass die ID noch besteht und der Vorgang nicht neu angelegt wird.
|
||||||
|
loadFromDatabase = true;
|
||||||
|
} else if (typ === AusstellungsTyp.Speichern) {
|
||||||
|
if (!user) {
|
||||||
|
return Astro.redirect(`/auth/login?redirect=${Astro.url.toString()}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!ausweis_id) {
|
||||||
|
return Astro.redirect("/400");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (ausweisart === "verbrauchsausweis-wohngebaeude") {
|
||||||
|
ausweis = await getVerbrauchsausweisWohnen(ausweis_id);
|
||||||
|
} else if (ausweisart === "verbrauchsausweis-gewerbe") {
|
||||||
|
ausweis = await getVerbrauchsausweisGewerbe(ausweis_id);
|
||||||
|
} else {
|
||||||
|
ausweis = await getBedarfsausweisWohnen(ausweis_id);
|
||||||
|
}
|
||||||
|
|
||||||
|
ausweistyp = ausweis.ausweistyp;
|
||||||
|
|
||||||
|
aufnahme = (await getAufnahme(ausweis.aufnahme_id)) as Aufnahme;
|
||||||
|
|
||||||
|
objekt = (await getObjekt(aufnahme.objekt_id)) as Objekt;
|
||||||
|
|
||||||
|
if (
|
||||||
|
!ausweis ||
|
||||||
|
!aufnahme ||
|
||||||
|
!objekt ||
|
||||||
|
((ausweis.benutzer_id !== user.id ||
|
||||||
|
aufnahme.benutzer_id !== user.id ||
|
||||||
|
objekt.benutzer_id !== user.id) && user.rolle !== Enums.BenutzerRolle.ADMIN)
|
||||||
|
) {
|
||||||
|
return Astro.redirect("/405");
|
||||||
|
}
|
||||||
|
|
||||||
|
bilder = await getBilder(aufnahme.id);
|
||||||
|
loadFromDatabase = true;
|
||||||
|
} else if (typ === AusstellungsTyp.Alternativdokument) {
|
||||||
|
if (!user) {
|
||||||
|
return Astro.redirect(`/auth/login?redirect=${Astro.url.toString()}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!ausweis_id) {
|
||||||
|
return Astro.redirect("/400");
|
||||||
|
}
|
||||||
|
|
||||||
|
const adapter = getPrismaAusweisAdapter(ausweis_id)
|
||||||
|
|
||||||
|
ausweis = await adapter?.findUnique({
|
||||||
|
where: {
|
||||||
|
id: ausweis_id
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
aufnahme = await prisma.aufnahme.findUnique({
|
||||||
|
where: {
|
||||||
|
id: ausweis?.aufnahme_id,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
objekt = await prisma.objekt.findUnique({
|
||||||
|
where: {
|
||||||
|
id: aufnahme?.objekt_id,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
if (
|
||||||
|
!ausweis ||
|
||||||
|
!aufnahme ||
|
||||||
|
!objekt ||
|
||||||
|
((ausweis.benutzer_id !== user.id ||
|
||||||
|
aufnahme.benutzer_id !== user.id ||
|
||||||
|
objekt.benutzer_id !== user.id) && user.rolle !== Enums.BenutzerRolle.ADMIN)
|
||||||
|
) {
|
||||||
|
return Astro.redirect("/405");
|
||||||
|
}
|
||||||
|
|
||||||
|
ausweis.id = null;
|
||||||
|
delete aufnahme.erstellungsdatum;
|
||||||
|
ausweis.created_at = new Date()
|
||||||
|
ausweis.updated_at = new Date();
|
||||||
|
ausweis.alte_ausweis_id = null;
|
||||||
|
ausweis.ausgestellt = false;
|
||||||
|
ausweis.bestellt = false;
|
||||||
|
ausweis.kontrolldatei_angefragt = false;
|
||||||
|
ausweis.energieeffizienzklasse = null;
|
||||||
|
ausweis.ausstellungsdatum = null;
|
||||||
|
ausweis.ausweistyp = Enums.AusweisTyp.Standard;
|
||||||
|
ausweis.zurueckgestellt = false;
|
||||||
|
ausweis.storniert = false;
|
||||||
|
ausweis.rechnung_id = null;
|
||||||
|
ausweis.registriernummer = null;
|
||||||
|
// Die Daten sollen nicht aus dem localStorage genommen werden sonst kann es vorkommen, dass die ID noch besteht und der Vorgang nicht neu angelegt wird.
|
||||||
|
loadFromDatabase = true;
|
||||||
|
}
|
||||||
|
---
|
||||||
|
|
||||||
|
<AusweisLayoutDatenPartner title="Verbrauchsausweis erstellen" tab={
|
||||||
|
ausweisart === "verbrauchsausweis-wohngebaeude" ? 0 :
|
||||||
|
ausweisart === "verbrauchsausweis-gewerbe" ? 1 :
|
||||||
|
ausweisart === "bedarfsausweis-wohngebaeude" ? 2 : 0
|
||||||
|
}>
|
||||||
|
{
|
||||||
|
ausweisart === "verbrauchsausweis-wohngebaeude" && (
|
||||||
|
<VerbrauchsausweisWohnenModule
|
||||||
|
client:only
|
||||||
|
{ausweis}
|
||||||
|
{objekt}
|
||||||
|
{aufnahme}
|
||||||
|
{bilder}
|
||||||
|
{ausweis_id}
|
||||||
|
{ausweistyp}
|
||||||
|
{user}
|
||||||
|
{loadFromDatabase}
|
||||||
|
{partner_code}
|
||||||
|
/>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
{
|
||||||
|
ausweisart === "verbrauchsausweis-gewerbe" && (
|
||||||
|
<VerbrauchsausweisGewerbeModule
|
||||||
|
client:only
|
||||||
|
{ausweis}
|
||||||
|
{objekt}
|
||||||
|
{aufnahme}
|
||||||
|
{bilder}
|
||||||
|
{ausweistyp}
|
||||||
|
{user}
|
||||||
|
{ausweis_id}
|
||||||
|
{loadFromDatabase}
|
||||||
|
{partner_code}
|
||||||
|
/>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
{
|
||||||
|
ausweisart === "bedarfsausweis-wohngebaeude" && (
|
||||||
|
<BedarfsausweisWohnenModule
|
||||||
|
client:only
|
||||||
|
{ausweis}
|
||||||
|
{objekt}
|
||||||
|
{aufnahme}
|
||||||
|
{bilder}
|
||||||
|
{ausweistyp}
|
||||||
|
{ausweis_id}
|
||||||
|
{user}
|
||||||
|
{loadFromDatabase}
|
||||||
|
{partner_code}
|
||||||
|
/>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
</AusweisLayoutDatenPartner>
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
import Layout from "#layouts/Layout.astro";
|
||||||
|
import ProduktUebersichtBedarfsausweisWohnen from "#components/design/content/ProduktUebersichtBedarfsausweisWohnen.svelte";
|
||||||
|
import ProduktUebersichtVerbrauchsausweisGewerbe from "#components/design/content/ProduktUebersichtVerbrauchsausweisGewerbe.svelte";
|
||||||
|
import ProduktUebersichtVerbrauchsausweisWohnen from "#components/design/content/ProduktUebersichtVerbrauchsausweisWohnen.svelte";
|
||||||
|
|
||||||
|
const ausweisart = Astro.params.ausweisart;
|
||||||
|
const partner = Astro.params.partner;
|
||||||
|
|
||||||
|
if (ausweisart !== "verbrauchsausweis-wohngebaeude" && ausweisart !== "verbrauchsausweis-gewerbe" && ausweisart !== "bedarfsausweis-wohngebaeude") {
|
||||||
|
return Astro.redirect("/404")
|
||||||
|
}
|
||||||
|
|
||||||
|
let title: string = "";
|
||||||
|
if (ausweisart === "verbrauchsausweis-wohngebaeude") title = "Verbrauchsausweis Wohngebäude Produktübersicht";
|
||||||
|
if (ausweisart === "verbrauchsausweis-gewerbe") title = "Verbrauchsausweis Gewerbe Produktübersicht";
|
||||||
|
if (ausweisart === "bedarfsausweis-wohngebaeude") title = "Bedarfsausweis Wohngebäude Produktübersicht";
|
||||||
|
---
|
||||||
|
|
||||||
|
<Layout {title}>
|
||||||
|
{ausweisart === "verbrauchsausweis-wohngebaeude" && <ProduktUebersichtVerbrauchsausweisWohnen ref={`/${partner}`} />}
|
||||||
|
{ausweisart === "verbrauchsausweis-gewerbe" && <ProduktUebersichtVerbrauchsausweisGewerbe ref={`/${partner}`} />}
|
||||||
|
{ausweisart === "bedarfsausweis-wohngebaeude" && <ProduktUebersichtBedarfsausweisWohnen ref={`/${partner}`} />}
|
||||||
|
</Layout>
|
||||||
@@ -1,91 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
import AusweisLayout from "#layouts/AusweisLayoutDaten.astro";
|
|
||||||
import BedarfsausweisWohnenModule from "#modules/BedarfsausweisWohnen/BedarfsausweisWohnenModule.svelte";
|
|
||||||
import { Aufnahme, BedarfsausweisWohnen, Bild, Enums, Objekt } from "#lib/server/prisma";
|
|
||||||
import { getAufnahme, getObjekt, getBilder, getBedarfsausweisWohnen } from "#lib/server/db";
|
|
||||||
import { getCurrentUser } from "#lib/server/user";
|
|
||||||
|
|
||||||
const id = Astro.url.searchParams.get("id");
|
|
||||||
const aufnahme_id = Astro.url.searchParams.get("aufnahme")
|
|
||||||
let ausweistyp = Astro.url.searchParams.get("ausweistyp") as Enums.AusweisTyp || Enums.AusweisTyp.Standard;
|
|
||||||
const partner_code = Astro.params.partner as string;
|
|
||||||
|
|
||||||
let ausweis: BedarfsausweisWohnen = {} as BedarfsausweisWohnen;
|
|
||||||
let aufnahme: Aufnahme = {} as Aufnahme;
|
|
||||||
let objekt: Objekt = {} as Objekt;
|
|
||||||
let bilder: Bild[] = []
|
|
||||||
|
|
||||||
const user = await getCurrentUser(Astro)
|
|
||||||
|
|
||||||
if (id) {
|
|
||||||
if (!user) {
|
|
||||||
return Astro.redirect(
|
|
||||||
`/auth/login?redirect=${Astro.url.toString()}`
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
ausweis = await getBedarfsausweisWohnen(id) as BedarfsausweisWohnen
|
|
||||||
ausweistyp = ausweis.ausweistyp;
|
|
||||||
|
|
||||||
if (!ausweis || (ausweis.benutzer_id !== user.id && user.rolle !== Enums.BenutzerRolle.ADMIN)) {
|
|
||||||
// Der Ausweis scheint nicht zu existieren.
|
|
||||||
// Wir leiten auf die generische Ausweisseite ohne ID weiter.
|
|
||||||
return Astro.redirect(
|
|
||||||
"/energieausweis-erstellen/bedarfsausweis-wohngebaeude"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
aufnahme = await getAufnahme(ausweis.aufnahme_id) as Aufnahme
|
|
||||||
|
|
||||||
if (!aufnahme) {
|
|
||||||
// Die Aufnahme existiert nicht, das sollte eigentlich nicht passieren aber so können wir nicht fortfahren.
|
|
||||||
return Astro.redirect(
|
|
||||||
"/energieausweis-erstellen/bedarfsausweis-wohngebaeude"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
objekt = await getObjekt(aufnahme.objekt_id) as Objekt
|
|
||||||
|
|
||||||
if (!objekt) {
|
|
||||||
// Das Objekt existiert nicht, das sollte eigentlich nicht passieren aber so können wir nicht fortfahren.
|
|
||||||
return Astro.redirect(
|
|
||||||
"/energieausweis-erstellen/bedarfsausweis-wohngebaeude"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
bilder = await getBilder(aufnahme.id);
|
|
||||||
} else if (aufnahme_id) {
|
|
||||||
if (!user) {
|
|
||||||
return Astro.redirect(
|
|
||||||
`/auth/login?redirect=${Astro.url.toString()}`
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
aufnahme = await getAufnahme(ausweis.aufnahme_id) as Aufnahme
|
|
||||||
|
|
||||||
if (!aufnahme) {
|
|
||||||
// Die Aufnahme existiert wohl nicht.
|
|
||||||
return Astro.redirect(
|
|
||||||
"/energieausweis-erstellen/bedarfsausweis-wohngebaeude"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
objekt = await getObjekt(aufnahme.objekt_id) as Objekt
|
|
||||||
|
|
||||||
if (!objekt) {
|
|
||||||
// Das Objekt existiert nicht.
|
|
||||||
return Astro.redirect(
|
|
||||||
"/energieausweis-erstellen/bedarfsausweis-wohngebaeude"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
console.log(ausweistyp);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
<AusweisLayout title="Bedarfsausweis erstellen | IBCornelsen">
|
|
||||||
<BedarfsausweisWohnenModule client:only {ausweis} {objekt} {aufnahme} {bilder} {ausweistyp} {id} {user} loadFromDatabase={id !== null} {partner_code}></BedarfsausweisWohnenModule>
|
|
||||||
</AusweisLayout>
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
---
|
|
||||||
import AusweisLayout from "#layouts/AusweisLayoutDaten_partner.astro";
|
|
||||||
import ProduktUebersichtBedarfsausweisWohnen from "#components/design/content/ProduktUebersichtBedarfsausweisWohnen.svelte";
|
|
||||||
---
|
|
||||||
|
|
||||||
<AusweisLayout title="Bedarfsausweis Wohngebäude Produktübersicht">
|
|
||||||
|
|
||||||
<div class="mx-auto my-8" style="width:85%">
|
|
||||||
<ProduktUebersichtBedarfsausweisWohnen ref="/immowelt"></ProduktUebersichtBedarfsausweisWohnen>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</AusweisLayout>
|
|
||||||
@@ -1,87 +0,0 @@
|
|||||||
---
|
|
||||||
import AusweisLayout from "#layouts/AusweisLayoutDaten.astro";
|
|
||||||
import { AufnahmeClient, ObjektClient, BildClient, VerbrauchsausweisGewerbeClient } from "#components/Ausweis/types";
|
|
||||||
import VerbrauchsausweisGewerbeModule from "#modules/VerbrauchsausweisGewerbe/VerbrauchsausweisGewerbeModule.svelte";
|
|
||||||
import { Aufnahme, Enums, Objekt, VerbrauchsausweisGewerbe } from "#lib/server/prisma";
|
|
||||||
import { getAufnahme, getObjekt, getBilder, getVerbrauchsausweisGewerbe } from "#lib/server/db";
|
|
||||||
import { getCurrentUser } from "#lib/server/user";
|
|
||||||
|
|
||||||
const id = Astro.url.searchParams.get("id");
|
|
||||||
const aufnahme_id = Astro.url.searchParams.get("aufnahme")
|
|
||||||
let ausweistyp = Astro.url.searchParams.get("ausweistyp") as Enums.AusweisTyp || Enums.AusweisTyp.Standard;
|
|
||||||
const partner_code = Astro.params.partner as string;
|
|
||||||
|
|
||||||
let ausweis: VerbrauchsausweisGewerbeClient = {} as VerbrauchsausweisGewerbeClient;
|
|
||||||
let aufnahme: AufnahmeClient = {} as AufnahmeClient;
|
|
||||||
let objekt: ObjektClient = {} as ObjektClient;
|
|
||||||
let bilder: BildClient[] = []
|
|
||||||
|
|
||||||
const user = await getCurrentUser(Astro)
|
|
||||||
|
|
||||||
if (id) {
|
|
||||||
if (!user) {
|
|
||||||
return Astro.redirect(
|
|
||||||
`/auth/login?redirect=${Astro.url.toString()}`
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
ausweis = await getVerbrauchsausweisGewerbe(id) as VerbrauchsausweisGewerbe
|
|
||||||
ausweistyp = ausweis.ausweistyp;
|
|
||||||
|
|
||||||
if (!ausweis || (ausweis.benutzer_id !== user.id && user.rolle !== Enums.BenutzerRolle.ADMIN)) {
|
|
||||||
// Der Ausweis scheint nicht zu existieren.
|
|
||||||
// Wir leiten auf die generische Ausweisseite ohne ID weiter.
|
|
||||||
return Astro.redirect(
|
|
||||||
"/energieausweis-erstellen/verbrauchsausweis-gewerbe"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
aufnahme = await getAufnahme(ausweis.aufnahme_id) as Aufnahme
|
|
||||||
|
|
||||||
if (!aufnahme) {
|
|
||||||
// Die Aufnahme existiert nicht, das sollte eigentlich nicht passieren aber so können wir nicht fortfahren.
|
|
||||||
return Astro.redirect(
|
|
||||||
"/energieausweis-erstellen/verbrauchsausweis-gewerbe"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
objekt = await getObjekt(aufnahme.objekt_id) as Objekt
|
|
||||||
|
|
||||||
if (!objekt) {
|
|
||||||
// Das Objekt existiert nicht, das sollte eigentlich nicht passieren aber so können wir nicht fortfahren.
|
|
||||||
return Astro.redirect(
|
|
||||||
"/energieausweis-erstellen/verbrauchsausweis-gewerbe"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
bilder = await getBilder(aufnahme.id);
|
|
||||||
} else if (aufnahme_id) {
|
|
||||||
if (!user) {
|
|
||||||
return Astro.redirect(
|
|
||||||
`/auth/login?redirect=${Astro.url.toString()}`
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
aufnahme = await getAufnahme(ausweis.aufnahme_id) as Aufnahme
|
|
||||||
|
|
||||||
if (!aufnahme) {
|
|
||||||
// Die Aufnahme existiert wohl nicht.
|
|
||||||
return Astro.redirect(
|
|
||||||
"/energieausweis-erstellen/verbrauchsausweis-gewerbe"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
objekt = await getObjekt(aufnahme.objekt_id) as Objekt
|
|
||||||
|
|
||||||
if (!objekt) {
|
|
||||||
// Das Objekt existiert nicht.
|
|
||||||
return Astro.redirect(
|
|
||||||
"/energieausweis-erstellen/verbrauchsausweis-gewerbe"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
---
|
|
||||||
|
|
||||||
<AusweisLayout title="Verbrauchsausweis Gewerbe erstellen | IBCornelsen">
|
|
||||||
<VerbrauchsausweisGewerbeModule client:only {ausweis} {objekt} {aufnahme} {bilder} {ausweistyp} {user} {id} {partner_code} loadFromDatabase={id !== null}/>
|
|
||||||
</AusweisLayout>
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
import AusweisLayout from "#layouts/AusweisLayoutDaten_partner.astro";
|
|
||||||
import ProduktUebersichtVerbrauchsausweisGewerbe from "#components/design/content/ProduktUebersichtVerbrauchsausweisGewerbe.svelte";
|
|
||||||
---
|
|
||||||
|
|
||||||
<AusweisLayout title="Verbrauchsausweis Gewerbe Produktübersicht">
|
|
||||||
|
|
||||||
<div class="mx-auto my-8" style="width:85%">
|
|
||||||
<ProduktUebersichtVerbrauchsausweisGewerbe ref="/immowelt">
|
|
||||||
|
|
||||||
</ProduktUebersichtVerbrauchsausweisGewerbe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</AusweisLayout>
|
|
||||||
@@ -1,87 +0,0 @@
|
|||||||
---
|
|
||||||
import AusweisLayout from "#layouts/AusweisLayoutDaten_partner.astro";
|
|
||||||
import VerbrauchsausweisWohnenModule from "#modules/VerbrauchsausweisWohnen/VerbrauchsausweisWohnenModule.svelte";
|
|
||||||
import { Aufnahme, Bild, Enums, Objekt, VerbrauchsausweisWohnen } from "#lib/server/prisma";
|
|
||||||
import { getVerbrauchsausweisWohnen, getAufnahme, getObjekt, getBilder } from "#lib/server/db";
|
|
||||||
import { getCurrentUser } from "#lib/server/user";
|
|
||||||
|
|
||||||
const id = Astro.url.searchParams.get("id");
|
|
||||||
const aufnahme_id = Astro.url.searchParams.get("aufnahme")
|
|
||||||
let ausweistyp = Astro.url.searchParams.get("ausweistyp") as Enums.AusweisTyp || Enums.AusweisTyp.Standard;
|
|
||||||
const partner_code = Astro.params.partner as string;
|
|
||||||
|
|
||||||
let ausweis: VerbrauchsausweisWohnen = {} as VerbrauchsausweisWohnen;
|
|
||||||
let aufnahme: Aufnahme = {} as Aufnahme;
|
|
||||||
let objekt: Objekt = {} as Objekt;
|
|
||||||
let bilder: Bild[] = []
|
|
||||||
|
|
||||||
const user = await getCurrentUser(Astro)
|
|
||||||
|
|
||||||
if (id) {
|
|
||||||
if (!user) {
|
|
||||||
return Astro.redirect(
|
|
||||||
`/auth/login?redirect=${Astro.url.toString()}`
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
ausweis = await getVerbrauchsausweisWohnen(id) as VerbrauchsausweisWohnen
|
|
||||||
ausweistyp = ausweis.ausweistyp;
|
|
||||||
|
|
||||||
if (!ausweis || (ausweis.benutzer_id !== user.id && user.rolle !== Enums.BenutzerRolle.ADMIN)) {
|
|
||||||
// Der Ausweis scheint nicht zu existieren.
|
|
||||||
// Wir leiten auf die generische Ausweisseite ohne ID weiter.
|
|
||||||
return Astro.redirect(
|
|
||||||
"/energieausweis-erstellen/verbrauchsausweis-wohngebaeude"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
aufnahme = await getAufnahme(ausweis.aufnahme_id) as Aufnahme
|
|
||||||
|
|
||||||
if (!aufnahme) {
|
|
||||||
// Die Aufnahme existiert nicht, das sollte eigentlich nicht passieren aber so können wir nicht fortfahren.
|
|
||||||
return Astro.redirect(
|
|
||||||
"/energieausweis-erstellen/verbrauchsausweis-wohngebaeude"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
objekt = await getObjekt(aufnahme.objekt_id) as Objekt
|
|
||||||
|
|
||||||
if (!objekt) {
|
|
||||||
// Das Objekt existiert nicht, das sollte eigentlich nicht passieren aber so können wir nicht fortfahren.
|
|
||||||
return Astro.redirect(
|
|
||||||
"/energieausweis-erstellen/verbrauchsausweis-wohngebaeude"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
bilder = await getBilder(aufnahme.id);
|
|
||||||
} else if (aufnahme_id) {
|
|
||||||
if (!user) {
|
|
||||||
return Astro.redirect(
|
|
||||||
`/auth/login?redirect=${Astro.url.toString()}`
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
aufnahme = await getAufnahme(ausweis.aufnahme_id) as Aufnahme
|
|
||||||
|
|
||||||
if (!aufnahme) {
|
|
||||||
// Die Aufnahme existiert wohl nicht.
|
|
||||||
return Astro.redirect(
|
|
||||||
"/energieausweis-erstellen/verbrauchsausweis-wohngebaeude"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
objekt = await getObjekt(aufnahme.objekt_id) as Objekt
|
|
||||||
|
|
||||||
if (!objekt) {
|
|
||||||
// Das Objekt existiert nicht.
|
|
||||||
return Astro.redirect(
|
|
||||||
"/energieausweis-erstellen/verbrauchsausweis-wohngebaeude"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
<AusweisLayout title="Verbrauchsausweis erstellen" tabHover1="glow">
|
|
||||||
<VerbrauchsausweisWohnenModule client:only {ausweis} {objekt} {aufnahme} {bilder} {id} {ausweistyp} {user} {partner_code} loadFromDatabase={id !== null} />
|
|
||||||
</AusweisLayout>
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
---
|
|
||||||
import AusweisLayout from "#layouts/AusweisLayoutDaten_partner.astro";
|
|
||||||
import ProduktUebersichtVerbrauchsausweisWohnen from "#components/design/content/ProduktUebersichtVerbrauchsausweisWohnen.svelte";
|
|
||||||
---
|
|
||||||
|
|
||||||
<AusweisLayout title="Verbrauchsausweis Wohngebäude Produktübersicht">
|
|
||||||
|
|
||||||
<div class="mx-auto my-8" style="width:85%">
|
|
||||||
<ProduktUebersichtVerbrauchsausweisWohnen ref="/immowelt">
|
|
||||||
</ProduktUebersichtVerbrauchsausweisWohnen>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</AusweisLayout>
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
import AusweisLayout from "#layouts/AusweisLayoutDaten_partner.astro";
|
import AusweisLayout from "#layouts/AusweisLayoutDatenPartner.astro";
|
||||||
import WelcherAusweisWidget from "#components/widgets/immonet/WelcherAusweisWidget_immonet.svelte";
|
import WelcherAusweisWidget from "#components/widgets/immonet/WelcherAusweisWidget_immonet.svelte";
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
import AusweisLayout from "#layouts/AusweisLayoutDaten_partner.astro";
|
import AusweisLayout from "#layouts/AusweisLayoutDatenPartner.astro";
|
||||||
import WelcherAusweisWidget from "#components/widgets/immowelt/WelcherAusweisWidget_immowelt.svelte";
|
import WelcherAusweisWidget from "#components/widgets/immowelt/WelcherAusweisWidget_immowelt.svelte";
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
import AusweisLayout from "#layouts/AusweisLayoutDaten_partner.astro";
|
import AusweisLayout from "#layouts/AusweisLayoutDatenPartner.astro";
|
||||||
import WelcherAusweisWidget from "#components/widgets/ibcornelsen/WelcherAusweisWidget_ibcornelsen.svelte";
|
import WelcherAusweisWidget from "#components/widgets/ibcornelsen/WelcherAusweisWidget_ibcornelsen.svelte";
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
import AusweisLayout from "#layouts/AusweisLayoutDaten_partner.astro";
|
import AusweisLayout from "#layouts/AusweisLayoutDatenPartner.astro";
|
||||||
import WelcherAusweisWidget from "#components/widgets/ohnemakler/WelcherAusweisWidget_ohnemakler.svelte";
|
import WelcherAusweisWidget from "#components/widgets/ohnemakler/WelcherAusweisWidget_ohnemakler.svelte";
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -329,14 +329,14 @@ export const GET = defineApiRoute({
|
|||||||
|
|
||||||
<p>im Anhang finden Sie Ihren geprüften Energieusweis inkl. Rechnung als PDF-Datei. ${
|
<p>im Anhang finden Sie Ihren geprüften Energieusweis inkl. Rechnung als PDF-Datei. ${
|
||||||
post ? "Zusätzlich haben wir Ihren Ausweis per Post verschickt" : ""
|
post ? "Zusätzlich haben wir Ihren Ausweis per Post verschickt" : ""
|
||||||
} Nachfolgend finden Sie unsere Bankverbindung. Bitte geben Sie als Verwendungszweck die Rechnungsnummer an (siehe unten). Vielen Dank.</p>
|
} <b>Bitte beachten Sie unsere neue Bankverbindung.</b> Bitte geben Sie als Verwendungszweck die Rechnungsnummer an (siehe unten). Vielen Dank.</p>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<table>
|
<table>
|
||||||
<tr><td>Kreditinstitut</td><td>:</td><td>\t Commerzbank AG</td>
|
<tr><td>Kreditinstitut</td><td>:</td><td>\t Volksbank eG</td>
|
||||||
<tr><td>Empfänger</td><td>:</td><td>\t IB Cornelsen</td>
|
<tr><td>Empfänger</td><td>:</td><td>\t IB Cornelsen</td>
|
||||||
<tr><td>IBAN</td><td>:<td>\t DE81 2004 0000 0348 6008 00</td>
|
<tr><td>IBAN</td><td>:<td>\t DE13 2519 3331 7209 0731 00</td>
|
||||||
<tr><td>BIC</td><td>:</td><td>\t COBADEFFXXX</td>
|
<tr><td>BIC</td><td>:</td><td>\t GENODEF1PAT</td>
|
||||||
<tr><td>Betrag</td><td>:</td><td>\t <b>${rechnung.betrag}€</b></td>
|
<tr><td>Betrag</td><td>:</td><td>\t <b>${rechnung.betrag}€</b></td>
|
||||||
<tr><td>Verwendungszweck</td><td>:</td><td>\t <b>${voucherNumber}</b></td>
|
<tr><td>Verwendungszweck</td><td>:</td><td>\t <b>${voucherNumber}</b></td>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ export const POST = defineApiRoute({
|
|||||||
let filename: string;
|
let filename: string;
|
||||||
|
|
||||||
if (type === "Ausweis") {
|
if (type === "Ausweis") {
|
||||||
filename = `ID_${ausweis.id}_Ausweis.pdf`
|
filename = `ID_${ausweis.id}_Energieausweis.pdf`
|
||||||
} else {
|
} else {
|
||||||
filename = `ID_${ausweis.id}_${name}`;
|
filename = `ID_${ausweis.id}_${name}`;
|
||||||
}
|
}
|
||||||
@@ -212,7 +212,7 @@ export const POST = defineApiRoute({
|
|||||||
|
|
||||||
const command = new PutObjectCommand({
|
const command = new PutObjectCommand({
|
||||||
Bucket: "ibc-pdfs",
|
Bucket: "ibc-pdfs",
|
||||||
Key: name,
|
Key: filename,
|
||||||
Body: buffer,
|
Body: buffer,
|
||||||
ACL: "private",
|
ACL: "private",
|
||||||
});
|
});
|
||||||
@@ -336,14 +336,14 @@ export const POST = defineApiRoute({
|
|||||||
|
|
||||||
<p>im Anhang finden Sie Ihren geprüften Energieusweis inkl. Rechnung als PDF-Datei. ${
|
<p>im Anhang finden Sie Ihren geprüften Energieusweis inkl. Rechnung als PDF-Datei. ${
|
||||||
post ? "Zusätzlich haben wir Ihren Ausweis per Post verschickt" : ""
|
post ? "Zusätzlich haben wir Ihren Ausweis per Post verschickt" : ""
|
||||||
} Nachfolgend finden Sie unsere Bankverbindung. Bitte geben Sie als Verwendungszweck die Rechnungsnummer an (siehe unten). Vielen Dank.</p>
|
} <b>Bitte beachten Sie unsere neue Bankverbindung.</b> Bitte geben Sie als Verwendungszweck die Rechnungsnummer an (siehe unten). Vielen Dank.</p>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<table>
|
<table>
|
||||||
<tr><td>Kreditinstitut</td><td>:</td><td>\t Commerzbank AG</td>
|
<tr><td>Kreditinstitut</td><td>:</td><td>\t Volksbank eG</td>
|
||||||
<tr><td>Empfänger</td><td>:</td><td>\t IB Cornelsen</td>
|
<tr><td>Empfänger</td><td>:</td><td>\t IB Cornelsen</td>
|
||||||
<tr><td>IBAN</td><td>:<td>\t DE81 2004 0000 0348 6008 00</td>
|
<tr><td>IBAN</td><td>:<td>\t DE13 2519 3331 7209 0731 00</td>
|
||||||
<tr><td>BIC</td><td>:</td><td>\t COBADEFFXXX</td>
|
<tr><td>BIC</td><td>:</td><td>\t GENODEF1PAT</td>
|
||||||
<tr><td>Betrag</td><td>:</td><td>\t <b>${rechnung.betrag}€</b></td>
|
<tr><td>Betrag</td><td>:</td><td>\t <b>${rechnung.betrag}€</b></td>
|
||||||
<tr><td>Verwendungszweck</td><td>:</td><td>\t <b>${voucherNumber}</b></td>
|
<tr><td>Verwendungszweck</td><td>:</td><td>\t <b>${voucherNumber}</b></td>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
getAusweisartFromId,
|
getAusweisartFromId,
|
||||||
UUidWithPrefix,
|
IDWithPrefix,
|
||||||
} from "#components/Ausweis/types.js";
|
} from "#components/Ausweis/types.js";
|
||||||
import {
|
import {
|
||||||
adminMiddleware,
|
adminMiddleware,
|
||||||
@@ -18,7 +18,7 @@ import { getPrismaAusweisAdapter } from "#lib/server/ausweis.js";
|
|||||||
|
|
||||||
export const GET = defineApiRoute({
|
export const GET = defineApiRoute({
|
||||||
input: z.object({
|
input: z.object({
|
||||||
id: UUidWithPrefix,
|
id: IDWithPrefix,
|
||||||
}),
|
}),
|
||||||
headers: authorizationHeaders,
|
headers: authorizationHeaders,
|
||||||
middleware: adminMiddleware,
|
middleware: adminMiddleware,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
import { transport } from "#lib/mail.js";
|
import { transport } from "#lib/mail.js";
|
||||||
import { adminMiddleware } from "#lib/middleware/authorization.js";
|
import { adminMiddleware } from "#lib/middleware/authorization.js";
|
||||||
import { mollieClient } from "#lib/mollie.js";
|
import { mollieClient } from "#lib/mollie.js";
|
||||||
@@ -10,7 +10,7 @@ import { z } from "zod";
|
|||||||
|
|
||||||
export const PUT = defineApiRoute({
|
export const PUT = defineApiRoute({
|
||||||
input: z.object({
|
input: z.object({
|
||||||
ausweis_id: UUidWithPrefix
|
ausweis_id: IDWithPrefix
|
||||||
}),
|
}),
|
||||||
middleware: adminMiddleware,
|
middleware: adminMiddleware,
|
||||||
async fetch(input, context, transfer) {
|
async fetch(input, context, transfer) {
|
||||||
|
|||||||
@@ -2,11 +2,11 @@ import { authorizationMiddleware } from "#lib/middleware/authorization.js";
|
|||||||
import { Enums, prisma } from "#lib/server/prisma.js";
|
import { Enums, prisma } from "#lib/server/prisma.js";
|
||||||
import { APIError, defineApiRoute } from "astro-typesafe-api/server";
|
import { APIError, defineApiRoute } from "astro-typesafe-api/server";
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
import { BildSchema } from "src/generated/zod/bild.js";
|
import { BildSchema } from "src/generated/zod/bild.js";
|
||||||
|
|
||||||
export const PUT = defineApiRoute({
|
export const PUT = defineApiRoute({
|
||||||
input: z.array(UUidWithPrefix),
|
input: z.array(IDWithPrefix),
|
||||||
output: z.void(),
|
output: z.void(),
|
||||||
middleware: authorizationMiddleware,
|
middleware: authorizationMiddleware,
|
||||||
async fetch(input, ctx, user) {
|
async fetch(input, ctx, user) {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { AufnahmeClient, OptionalNullable, UUidWithPrefix, ZodOverlap } from "#components/Ausweis/types.js";
|
import { AufnahmeClient, OptionalNullable, IDWithPrefix, ZodOverlap } from "#components/Ausweis/types.js";
|
||||||
import { exclude } from "#lib/exclude.js";
|
import { exclude } from "#lib/exclude.js";
|
||||||
import { authorizationMiddleware } from "#lib/middleware/authorization.js";
|
import { authorizationMiddleware } from "#lib/middleware/authorization.js";
|
||||||
import { Enums, prisma } from "#lib/server/prisma.js";
|
import { Enums, prisma } from "#lib/server/prisma.js";
|
||||||
|
|||||||
@@ -2,11 +2,11 @@ import { authorizationMiddleware } from "#lib/middleware/authorization.js";
|
|||||||
import { prisma } from "#lib/server/prisma.js";
|
import { prisma } from "#lib/server/prisma.js";
|
||||||
import { APIError, defineApiRoute } from "astro-typesafe-api/server";
|
import { APIError, defineApiRoute } from "astro-typesafe-api/server";
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
import { UnterlageSchema } from "src/generated/zod/unterlage.js";
|
import { UnterlageSchema } from "src/generated/zod/unterlage.js";
|
||||||
|
|
||||||
export const PUT = defineApiRoute({
|
export const PUT = defineApiRoute({
|
||||||
input: z.array(UUidWithPrefix),
|
input: z.array(IDWithPrefix),
|
||||||
output: z.void(),
|
output: z.void(),
|
||||||
middleware: authorizationMiddleware,
|
middleware: authorizationMiddleware,
|
||||||
async fetch(input, ctx, user) {
|
async fetch(input, ctx, user) {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js"
|
import { IDWithPrefix } from "#components/Ausweis/types.js"
|
||||||
import { VALID_UUID_PREFIXES } from "#lib/constants.js"
|
import { VALID_UUID_PREFIXES } from "#lib/constants.js"
|
||||||
import { generatePrefixedId } from "#lib/db.js"
|
import { generateIDWithPrefix } from "#lib/db.js"
|
||||||
import { authorizationMiddleware } from "#lib/middleware/authorization.js"
|
import { authorizationMiddleware } from "#lib/middleware/authorization.js"
|
||||||
import { prisma } from "#lib/server/prisma.js"
|
import { prisma } from "#lib/server/prisma.js"
|
||||||
import { APIError, defineApiRoute } from "astro-typesafe-api/server"
|
import { APIError, defineApiRoute } from "astro-typesafe-api/server"
|
||||||
@@ -16,10 +16,10 @@ export const PUT = defineApiRoute({
|
|||||||
}).merge(z.object({
|
}).merge(z.object({
|
||||||
baujahr_klima: z.array(z.number().int().positive()).optional()
|
baujahr_klima: z.array(z.number().int().positive()).optional()
|
||||||
})),
|
})),
|
||||||
objekt_id: UUidWithPrefix
|
objekt_id: IDWithPrefix
|
||||||
}),
|
}),
|
||||||
output: z.object({
|
output: z.object({
|
||||||
id: UUidWithPrefix
|
id: IDWithPrefix
|
||||||
}),
|
}),
|
||||||
middleware: authorizationMiddleware,
|
middleware: authorizationMiddleware,
|
||||||
async fetch(input, context, user) {
|
async fetch(input, context, user) {
|
||||||
@@ -39,7 +39,7 @@ export const PUT = defineApiRoute({
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const id = generatePrefixedId(9, VALID_UUID_PREFIXES.Aufnahme)
|
const id = generateIDWithPrefix(9, VALID_UUID_PREFIXES.Aufnahme)
|
||||||
|
|
||||||
const aufnahme = await prisma.aufnahme.create({
|
const aufnahme = await prisma.aufnahme.create({
|
||||||
data: {
|
data: {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { AufnahmeClient, ObjektClient, BildClient, UUidWithPrefix, VerbrauchsausweisWohnenClient } from "#components/Ausweis/types.js";
|
import { AufnahmeClient, ObjektClient, BildClient, IDWithPrefix, VerbrauchsausweisWohnenClient } from "#components/Ausweis/types.js";
|
||||||
import { filterAusweise } from "#lib/filters.js";
|
import { filterAusweise } from "#lib/filters.js";
|
||||||
import { omit } from "#lib/helpers.js";
|
import { omit } from "#lib/helpers.js";
|
||||||
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
|
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { encodeToken } from "../../../lib/auth/token.js";
|
|||||||
import { validatePassword } from "../../../lib/password.js";
|
import { validatePassword } from "../../../lib/password.js";
|
||||||
import { APIError, defineApiRoute } from "astro-typesafe-api/server";
|
import { APIError, defineApiRoute } from "astro-typesafe-api/server";
|
||||||
import { TokenType } from "#lib/auth/types.js";
|
import { TokenType } from "#lib/auth/types.js";
|
||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
|
|
||||||
|
|
||||||
export const GET = defineApiRoute({
|
export const GET = defineApiRoute({
|
||||||
@@ -20,7 +20,7 @@ export const GET = defineApiRoute({
|
|||||||
passwort: z.string().min(8).max(100),
|
passwort: z.string().min(8).max(100),
|
||||||
}),
|
}),
|
||||||
output: z.object({
|
output: z.object({
|
||||||
id: UUidWithPrefix,
|
id: IDWithPrefix,
|
||||||
accessToken: z.string(),
|
accessToken: z.string(),
|
||||||
refreshToken: z.string(),
|
refreshToken: z.string(),
|
||||||
refreshTokenBase64: z.string(),
|
refreshTokenBase64: z.string(),
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
||||||
import { generatePrefixedId } from "#lib/db.js";
|
import { generateIDWithPrefix } from "#lib/db.js";
|
||||||
import { exclude } from "#lib/exclude.js";
|
import { exclude } from "#lib/exclude.js";
|
||||||
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
|
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
|
||||||
import { sendAusweisGespeichertMail } from "#lib/server/mail/speichern-erfolgreich.js";
|
import { sendAusweisGespeichertMail } from "#lib/server/mail/speichern-erfolgreich.js";
|
||||||
@@ -64,7 +64,7 @@ export const DELETE = defineApiRoute({
|
|||||||
async fetch(input, ctx, user) {
|
async fetch(input, ctx, user) {
|
||||||
const { id } = ctx.params;
|
const { id } = ctx.params;
|
||||||
|
|
||||||
if (!UUidWithPrefix.safeParse(id).success) {
|
if (!IDWithPrefix.safeParse(id).success) {
|
||||||
throw new APIError({
|
throw new APIError({
|
||||||
code: "BAD_REQUEST",
|
code: "BAD_REQUEST",
|
||||||
message: "UID konnte nicht verifiziert werden."
|
message: "UID konnte nicht verifiziert werden."
|
||||||
@@ -122,7 +122,7 @@ export const DELETE = defineApiRoute({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
const event_id = generatePrefixedId(9, VALID_UUID_PREFIXES.Ticket)
|
const event_id = generateIDWithPrefix(9, VALID_UUID_PREFIXES.Ticket)
|
||||||
|
|
||||||
// Wir erstellen ein Event, dass der Nachweis storniert wurde
|
// Wir erstellen ein Event, dass der Nachweis storniert wurde
|
||||||
// Dann können wir das in der Historie anzeigen
|
// Dann können wir das in der Historie anzeigen
|
||||||
@@ -164,9 +164,9 @@ export const GET = defineApiRoute({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
output: BedarfsausweisGewerbeSchema.merge(z.object({
|
output: BedarfsausweisGewerbeSchema.merge(z.object({
|
||||||
aufnahme_id: UUidWithPrefix,
|
aufnahme_id: IDWithPrefix,
|
||||||
objekt_id: UUidWithPrefix,
|
objekt_id: IDWithPrefix,
|
||||||
benutzer_id: UUidWithPrefix.optional()
|
benutzer_id: IDWithPrefix.optional()
|
||||||
})).omit({
|
})).omit({
|
||||||
id: true,
|
id: true,
|
||||||
aufnahme_id: true,
|
aufnahme_id: true,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
||||||
import { generatePrefixedId } from "#lib/db.js";
|
import { generateIDWithPrefix } from "#lib/db.js";
|
||||||
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
|
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
|
||||||
import { sendAusweisGespeichertMail } from "#lib/server/mail/speichern-erfolgreich.js";
|
import { sendAusweisGespeichertMail } from "#lib/server/mail/speichern-erfolgreich.js";
|
||||||
import { Enums, prisma } from "#lib/server/prisma.js";
|
import { Enums, prisma } from "#lib/server/prisma.js";
|
||||||
@@ -29,9 +29,9 @@ export const PUT = defineApiRoute({
|
|||||||
zurueckgestellt: true,
|
zurueckgestellt: true,
|
||||||
ausweisart: true
|
ausweisart: true
|
||||||
}),
|
}),
|
||||||
aufnahme_id: UUidWithPrefix
|
aufnahme_id: IDWithPrefix
|
||||||
}),
|
}),
|
||||||
output: UUidWithPrefix,
|
output: IDWithPrefix,
|
||||||
headers: authorizationHeaders,
|
headers: authorizationHeaders,
|
||||||
middleware: authorizationMiddleware,
|
middleware: authorizationMiddleware,
|
||||||
async fetch(input, ctx, user) {
|
async fetch(input, ctx, user) {
|
||||||
@@ -48,7 +48,7 @@ export const PUT = defineApiRoute({
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const id = generatePrefixedId(9, VALID_UUID_PREFIXES.BedarfsausweisGewerbe)
|
const id = generateIDWithPrefix(9, VALID_UUID_PREFIXES.BedarfsausweisGewerbe)
|
||||||
|
|
||||||
const nachweis = await prisma.bedarfsausweisGewerbe.create({
|
const nachweis = await prisma.bedarfsausweisGewerbe.create({
|
||||||
data: {
|
data: {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { BedarfsausweisWohnenClient, OptionalNullable, UUidWithPrefix, ZodOverlap } from "#components/Ausweis/types.js";
|
import { BedarfsausweisWohnenClient, OptionalNullable, IDWithPrefix, ZodOverlap } from "#components/Ausweis/types.js";
|
||||||
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
||||||
import { generatePrefixedId } from "#lib/db.js";
|
import { generateIDWithPrefix } from "#lib/db.js";
|
||||||
import { exclude } from "#lib/exclude.js";
|
import { exclude } from "#lib/exclude.js";
|
||||||
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
|
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
|
||||||
import { sendAusweisGespeichertMail } from "#lib/server/mail/speichern-erfolgreich.js";
|
import { sendAusweisGespeichertMail } from "#lib/server/mail/speichern-erfolgreich.js";
|
||||||
@@ -63,7 +63,7 @@ export const DELETE = defineApiRoute({
|
|||||||
async fetch(input, ctx, user) {
|
async fetch(input, ctx, user) {
|
||||||
const { id } = ctx.params;
|
const { id } = ctx.params;
|
||||||
|
|
||||||
if (!UUidWithPrefix.safeParse(id).success) {
|
if (!IDWithPrefix.safeParse(id).success) {
|
||||||
throw new APIError({
|
throw new APIError({
|
||||||
code: "BAD_REQUEST",
|
code: "BAD_REQUEST",
|
||||||
message: "UID konnte nicht verifiziert werden."
|
message: "UID konnte nicht verifiziert werden."
|
||||||
@@ -124,7 +124,7 @@ export const DELETE = defineApiRoute({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
const event_id = generatePrefixedId(9, VALID_UUID_PREFIXES.Ticket)
|
const event_id = generateIDWithPrefix(9, VALID_UUID_PREFIXES.Ticket)
|
||||||
|
|
||||||
// Wir erstellen ein Event, dass der Ausweis storniert wurde
|
// Wir erstellen ein Event, dass der Ausweis storniert wurde
|
||||||
// Dann können wir das in der Historie anzeigen
|
// Dann können wir das in der Historie anzeigen
|
||||||
@@ -166,9 +166,9 @@ export const GET = defineApiRoute({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
output: ZodOverlap<OptionalNullable<BedarfsausweisWohnenClient>>(BedarfsausweisWohnenSchema.merge(z.object({
|
output: ZodOverlap<OptionalNullable<BedarfsausweisWohnenClient>>(BedarfsausweisWohnenSchema.merge(z.object({
|
||||||
aufnahme_id: UUidWithPrefix,
|
aufnahme_id: IDWithPrefix,
|
||||||
objekt_id: UUidWithPrefix,
|
objekt_id: IDWithPrefix,
|
||||||
benutzer_id: UUidWithPrefix.optional()
|
benutzer_id: IDWithPrefix.optional()
|
||||||
})).omit({
|
})).omit({
|
||||||
id: true,
|
id: true,
|
||||||
aufnahme_id: true,
|
aufnahme_id: true,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
||||||
import { generatePrefixedId } from "#lib/db.js";
|
import { generateIDWithPrefix } from "#lib/db.js";
|
||||||
import {
|
import {
|
||||||
authorizationHeaders,
|
authorizationHeaders,
|
||||||
authorizationMiddleware,
|
authorizationMiddleware,
|
||||||
@@ -32,9 +32,9 @@ export const PUT = defineApiRoute({
|
|||||||
storniert: true,
|
storniert: true,
|
||||||
ausweisart: true
|
ausweisart: true
|
||||||
}),
|
}),
|
||||||
aufnahme_id: UUidWithPrefix,
|
aufnahme_id: IDWithPrefix,
|
||||||
}),
|
}),
|
||||||
output: UUidWithPrefix,
|
output: IDWithPrefix,
|
||||||
headers: authorizationHeaders,
|
headers: authorizationHeaders,
|
||||||
middleware: authorizationMiddleware,
|
middleware: authorizationMiddleware,
|
||||||
async fetch(input, ctx, user) {
|
async fetch(input, ctx, user) {
|
||||||
@@ -52,7 +52,7 @@ export const PUT = defineApiRoute({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const id = generatePrefixedId(
|
const id = generateIDWithPrefix(
|
||||||
9,
|
9,
|
||||||
VALID_UUID_PREFIXES.BedarfsausweisWohnen
|
VALID_UUID_PREFIXES.BedarfsausweisWohnen
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -3,23 +3,25 @@ import { prisma } from "#lib/server/prisma.js";
|
|||||||
import { defineApiRoute, APIError } from "astro-typesafe-api/server";
|
import { defineApiRoute, APIError } from "astro-typesafe-api/server";
|
||||||
import { z } from "astro:content";
|
import { z } from "astro:content";
|
||||||
import isBase64 from "is-base64";
|
import isBase64 from "is-base64";
|
||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
import { BildSchema } from "src/generated/zod/bild.js";
|
import { BildSchema } from "src/generated/zod/bild.js";
|
||||||
import sharp from "sharp"
|
import sharp from "sharp";
|
||||||
import { PutObjectCommand } from "@aws-sdk/client-s3";
|
import { PutObjectCommand } from "@aws-sdk/client-s3";
|
||||||
import { s3Client } from "#lib/s3.js";
|
import { s3Client } from "#lib/s3.js";
|
||||||
import { generatePrefixedId } from "#lib/db.js";
|
import { generateIDWithPrefix } from "#lib/db.js";
|
||||||
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
||||||
|
|
||||||
export const PUT = defineApiRoute({
|
export const PUT = defineApiRoute({
|
||||||
input: BildSchema.pick({
|
input: BildSchema.pick({
|
||||||
kategorie: true,
|
kategorie: true,
|
||||||
name: true
|
name: true,
|
||||||
}).merge(z.object({
|
}).merge(
|
||||||
data: z.string()
|
z.object({
|
||||||
})),
|
data: z.string(),
|
||||||
|
})
|
||||||
|
),
|
||||||
output: z.object({
|
output: z.object({
|
||||||
id: z.string({ description: "Die id des Bildes." })
|
id: z.string({ description: "Die id des Bildes." }),
|
||||||
}),
|
}),
|
||||||
async fetch(input) {
|
async fetch(input) {
|
||||||
const data = input.data;
|
const data = input.data;
|
||||||
@@ -31,44 +33,40 @@ export const PUT = defineApiRoute({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const dataWithoutPrefix = data.replace(
|
const dataWithoutPrefix = data.replace(/^data:image\/\w+;base64,/, "");
|
||||||
/^data:image\/\w+;base64,/,
|
|
||||||
""
|
|
||||||
);
|
|
||||||
const buffer = Buffer.from(dataWithoutPrefix, "base64");
|
const buffer = Buffer.from(dataWithoutPrefix, "base64");
|
||||||
|
|
||||||
const id = generatePrefixedId(9, VALID_UUID_PREFIXES.Bild)
|
const id = generateIDWithPrefix(9, VALID_UUID_PREFIXES.Bild);
|
||||||
|
|
||||||
const bild = await prisma.bild.create({
|
const bild = await prisma.bild.create({
|
||||||
data: {
|
data: {
|
||||||
id,
|
id,
|
||||||
kategorie: input.kategorie,
|
kategorie: input.kategorie,
|
||||||
name: input.name
|
name: input.name,
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// Wir optimieren das Bild und konvertieren es in JPEG
|
// Wir optimieren das Bild und konvertieren es in JPEG
|
||||||
const optimizedBuffer = await sharp(buffer).jpeg({ quality: 80 }).toBuffer();
|
const optimizedBuffer = await sharp(buffer)
|
||||||
|
.jpeg({ quality: 80 })
|
||||||
|
.toBuffer();
|
||||||
|
|
||||||
const command = new PutObjectCommand({
|
const command = new PutObjectCommand({
|
||||||
Bucket: "ibc-images",
|
Bucket: "ibc-images",
|
||||||
Key: `${id}.jpg`,
|
Key: `${id}.jpg`,
|
||||||
Body: optimizedBuffer,
|
Body: optimizedBuffer,
|
||||||
ACL: "private"
|
ACL: "private",
|
||||||
})
|
});
|
||||||
|
|
||||||
const response = await s3Client.send(command)
|
const response = await s3Client.send(command);
|
||||||
} catch(e) {
|
} catch (e) {
|
||||||
// Bild wurde nicht gespeichert, wir löschen den Eintrag wieder
|
// Bild wurde nicht gespeichert, wir löschen den Eintrag wieder
|
||||||
await prisma.bild.delete({
|
await prisma.bild.delete({
|
||||||
where: {
|
where: {
|
||||||
id
|
id,
|
||||||
}
|
},
|
||||||
})
|
});
|
||||||
// Und geben einen Fehler zurück
|
// Und geben einen Fehler zurück
|
||||||
throw new APIError({
|
throw new APIError({
|
||||||
code: "INTERNAL_SERVER_ERROR",
|
code: "INTERNAL_SERVER_ERROR",
|
||||||
@@ -77,14 +75,14 @@ export const PUT = defineApiRoute({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
id
|
id,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
})
|
});
|
||||||
|
|
||||||
export const DELETE = defineApiRoute({
|
export const DELETE = defineApiRoute({
|
||||||
input: z.object({
|
input: z.object({
|
||||||
id: UUidWithPrefix
|
id: IDWithPrefix,
|
||||||
}),
|
}),
|
||||||
middleware: maybeAuthorizationMiddleware,
|
middleware: maybeAuthorizationMiddleware,
|
||||||
async fetch(input, context, user) {
|
async fetch(input, context, user) {
|
||||||
@@ -95,24 +93,24 @@ export const DELETE = defineApiRoute({
|
|||||||
id: input.id,
|
id: input.id,
|
||||||
aufnahme: {
|
aufnahme: {
|
||||||
benutzer: {
|
benutzer: {
|
||||||
id: user.id
|
id: user.id,
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
})
|
});
|
||||||
} else {
|
} else {
|
||||||
await prisma.bild.delete({
|
await prisma.bild.delete({
|
||||||
where: {
|
where: {
|
||||||
id: input.id,
|
id: input.id,
|
||||||
aufnahme_id: null
|
aufnahme_id: null,
|
||||||
}
|
},
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
} catch(e) {
|
} catch (e) {
|
||||||
throw new APIError({
|
throw new APIError({
|
||||||
code: "INTERNAL_SERVER_ERROR",
|
code: "INTERNAL_SERVER_ERROR",
|
||||||
message: "Bild konnte nicht gelöscht werden."
|
message: "Bild konnte nicht gelöscht werden.",
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
});
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { z } from "zod";
|
|||||||
import isBase64 from "is-base64";
|
import isBase64 from "is-base64";
|
||||||
import { fileURLToPath } from "url";
|
import { fileURLToPath } from "url";
|
||||||
import { writeFileSync } from "fs";
|
import { writeFileSync } from "fs";
|
||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
import sharp from "sharp"
|
import sharp from "sharp"
|
||||||
import { BildSchema } from "src/generated/zod/bild.js";
|
import { BildSchema } from "src/generated/zod/bild.js";
|
||||||
import { PERSISTENT_DIR } from "#lib/server/constants.js";
|
import { PERSISTENT_DIR } from "#lib/server/constants.js";
|
||||||
@@ -19,7 +19,7 @@ export const PATCH = defineApiRoute({
|
|||||||
output: z.void(),
|
output: z.void(),
|
||||||
middleware: authorizationMiddleware,
|
middleware: authorizationMiddleware,
|
||||||
async fetch(input, ctx, user) {
|
async fetch(input, ctx, user) {
|
||||||
if (!UUidWithPrefix.safeParse(ctx.params.uid).success) {
|
if (!IDWithPrefix.safeParse(ctx.params.uid).success) {
|
||||||
throw new APIError({
|
throw new APIError({
|
||||||
code: "BAD_REQUEST",
|
code: "BAD_REQUEST",
|
||||||
message: "UID konnte nicht verifiziert werden."
|
message: "UID konnte nicht verifiziert werden."
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
||||||
import { generatePrefixedId } from "#lib/db.js";
|
import { generateIDWithPrefix } from "#lib/db.js";
|
||||||
import { exclude } from "#lib/exclude.js";
|
import { exclude } from "#lib/exclude.js";
|
||||||
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
|
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
|
||||||
import { sendAusweisGespeichertMail } from "#lib/server/mail/speichern-erfolgreich.js";
|
import { sendAusweisGespeichertMail } from "#lib/server/mail/speichern-erfolgreich.js";
|
||||||
@@ -63,7 +63,7 @@ export const DELETE = defineApiRoute({
|
|||||||
async fetch(input, ctx, user) {
|
async fetch(input, ctx, user) {
|
||||||
const { id } = ctx.params;
|
const { id } = ctx.params;
|
||||||
|
|
||||||
if (!UUidWithPrefix.safeParse(id).success) {
|
if (!IDWithPrefix.safeParse(id).success) {
|
||||||
throw new APIError({
|
throw new APIError({
|
||||||
code: "BAD_REQUEST",
|
code: "BAD_REQUEST",
|
||||||
message: "UID konnte nicht verifiziert werden."
|
message: "UID konnte nicht verifiziert werden."
|
||||||
@@ -122,7 +122,7 @@ export const DELETE = defineApiRoute({
|
|||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
const event_id = generatePrefixedId(9, VALID_UUID_PREFIXES.Ticket)
|
const event_id = generateIDWithPrefix(9, VALID_UUID_PREFIXES.Ticket)
|
||||||
// Wir erstellen ein Event, dass der Nachweis storniert wurde
|
// Wir erstellen ein Event, dass der Nachweis storniert wurde
|
||||||
// Dann können wir das in der Historie anzeigen
|
// Dann können wir das in der Historie anzeigen
|
||||||
await prisma.event.create({
|
await prisma.event.create({
|
||||||
@@ -163,9 +163,9 @@ export const GET = defineApiRoute({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
output: GEGNachweisGewerbeSchema.merge(z.object({
|
output: GEGNachweisGewerbeSchema.merge(z.object({
|
||||||
aufnahme_id: UUidWithPrefix,
|
aufnahme_id: IDWithPrefix,
|
||||||
objekt_id: UUidWithPrefix,
|
objekt_id: IDWithPrefix,
|
||||||
benutzer_id: UUidWithPrefix.optional()
|
benutzer_id: IDWithPrefix.optional()
|
||||||
})).omit({
|
})).omit({
|
||||||
id: true,
|
id: true,
|
||||||
aufnahme_id: true,
|
aufnahme_id: true,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
||||||
import { generatePrefixedId } from "#lib/db.js";
|
import { generateIDWithPrefix } from "#lib/db.js";
|
||||||
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
|
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
|
||||||
import { sendAusweisGespeichertMail } from "#lib/server/mail/speichern-erfolgreich.js";
|
import { sendAusweisGespeichertMail } from "#lib/server/mail/speichern-erfolgreich.js";
|
||||||
import { Enums, prisma } from "#lib/server/prisma.js";
|
import { Enums, prisma } from "#lib/server/prisma.js";
|
||||||
@@ -29,12 +29,12 @@ export const PUT = defineApiRoute({
|
|||||||
zurueckgestellt: true,
|
zurueckgestellt: true,
|
||||||
ausweisart: true
|
ausweisart: true
|
||||||
}),
|
}),
|
||||||
aufnahme_id: UUidWithPrefix
|
aufnahme_id: IDWithPrefix
|
||||||
}),
|
}),
|
||||||
output: z.object({
|
output: z.object({
|
||||||
id: UUidWithPrefix,
|
id: IDWithPrefix,
|
||||||
objekt_id: UUidWithPrefix,
|
objekt_id: IDWithPrefix,
|
||||||
aufnahme_id: UUidWithPrefix,
|
aufnahme_id: IDWithPrefix,
|
||||||
}),
|
}),
|
||||||
headers: authorizationHeaders,
|
headers: authorizationHeaders,
|
||||||
middleware: authorizationMiddleware,
|
middleware: authorizationMiddleware,
|
||||||
@@ -52,7 +52,7 @@ export const PUT = defineApiRoute({
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const id = generatePrefixedId(9, VALID_UUID_PREFIXES.GEGNachweisGewerbe)
|
const id = generateIDWithPrefix(9, VALID_UUID_PREFIXES.GEGNachweisGewerbe)
|
||||||
|
|
||||||
const nachweis = await prisma.gEGNachweisGewerbe.create({
|
const nachweis = await prisma.gEGNachweisGewerbe.create({
|
||||||
data: {
|
data: {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
||||||
import { generatePrefixedId } from "#lib/db.js";
|
import { generateIDWithPrefix } from "#lib/db.js";
|
||||||
import { exclude } from "#lib/exclude.js";
|
import { exclude } from "#lib/exclude.js";
|
||||||
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
|
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
|
||||||
import { sendAusweisGespeichertMail } from "#lib/server/mail/speichern-erfolgreich.js";
|
import { sendAusweisGespeichertMail } from "#lib/server/mail/speichern-erfolgreich.js";
|
||||||
@@ -63,7 +63,7 @@ export const DELETE = defineApiRoute({
|
|||||||
async fetch(input, ctx, user) {
|
async fetch(input, ctx, user) {
|
||||||
const { id } = ctx.params;
|
const { id } = ctx.params;
|
||||||
|
|
||||||
if (!UUidWithPrefix.safeParse(id).success) {
|
if (!IDWithPrefix.safeParse(id).success) {
|
||||||
throw new APIError({
|
throw new APIError({
|
||||||
code: "BAD_REQUEST",
|
code: "BAD_REQUEST",
|
||||||
message: "UID konnte nicht verifiziert werden."
|
message: "UID konnte nicht verifiziert werden."
|
||||||
@@ -127,7 +127,7 @@ export const DELETE = defineApiRoute({
|
|||||||
// Dann können wir das in der Historie anzeigen
|
// Dann können wir das in der Historie anzeigen
|
||||||
await prisma.event.create({
|
await prisma.event.create({
|
||||||
data: {
|
data: {
|
||||||
id: generatePrefixedId(9, VALID_UUID_PREFIXES.Event),
|
id: generateIDWithPrefix(9, VALID_UUID_PREFIXES.Event),
|
||||||
title: "Nachweis storniert",
|
title: "Nachweis storniert",
|
||||||
description: ((user.rolle === "ADMIN") && (nachweis.benutzer_id !== user.id)) ? "Nachweis wurde von einem Administrator storniert." : "Nachweis wurde vom Besitzer storniert.",
|
description: ((user.rolle === "ADMIN") && (nachweis.benutzer_id !== user.id)) ? "Nachweis wurde von einem Administrator storniert." : "Nachweis wurde vom Besitzer storniert.",
|
||||||
benutzer: {
|
benutzer: {
|
||||||
@@ -163,9 +163,9 @@ export const GET = defineApiRoute({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
output: GEGNachweisWohnenSchema.merge(z.object({
|
output: GEGNachweisWohnenSchema.merge(z.object({
|
||||||
aufnahme_id: UUidWithPrefix,
|
aufnahme_id: IDWithPrefix,
|
||||||
objekt_id: UUidWithPrefix,
|
objekt_id: IDWithPrefix,
|
||||||
benutzer_id: UUidWithPrefix.optional()
|
benutzer_id: IDWithPrefix.optional()
|
||||||
})).omit({
|
})).omit({
|
||||||
id: true,
|
id: true,
|
||||||
aufnahme_id: true,
|
aufnahme_id: true,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
||||||
import { generatePrefixedId } from "#lib/db.js";
|
import { generateIDWithPrefix } from "#lib/db.js";
|
||||||
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
|
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
|
||||||
import { sendAusweisGespeichertMail } from "#lib/server/mail/speichern-erfolgreich.js";
|
import { sendAusweisGespeichertMail } from "#lib/server/mail/speichern-erfolgreich.js";
|
||||||
import { Enums, prisma } from "#lib/server/prisma.js";
|
import { Enums, prisma } from "#lib/server/prisma.js";
|
||||||
@@ -29,12 +29,12 @@ export const PUT = defineApiRoute({
|
|||||||
zurueckgestellt: true,
|
zurueckgestellt: true,
|
||||||
ausweisart: true
|
ausweisart: true
|
||||||
}),
|
}),
|
||||||
aufnahme_id: UUidWithPrefix
|
aufnahme_id: IDWithPrefix
|
||||||
}),
|
}),
|
||||||
output: z.object({
|
output: z.object({
|
||||||
id: UUidWithPrefix,
|
id: IDWithPrefix,
|
||||||
objekt_id: UUidWithPrefix,
|
objekt_id: IDWithPrefix,
|
||||||
aufnahme_id: UUidWithPrefix,
|
aufnahme_id: IDWithPrefix,
|
||||||
}),
|
}),
|
||||||
headers: authorizationHeaders,
|
headers: authorizationHeaders,
|
||||||
middleware: authorizationMiddleware,
|
middleware: authorizationMiddleware,
|
||||||
@@ -52,7 +52,7 @@ export const PUT = defineApiRoute({
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const id = generatePrefixedId(9, VALID_UUID_PREFIXES.GEGNachweisWohnen)
|
const id = generateIDWithPrefix(9, VALID_UUID_PREFIXES.GEGNachweisWohnen)
|
||||||
|
|
||||||
const nachweis = await prisma.gEGNachweisWohnen.create({
|
const nachweis = await prisma.gEGNachweisWohnen.create({
|
||||||
data: {
|
data: {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
import { generatePrefixedId } from "#lib/db.js";
|
import { generateIDWithPrefix } from "#lib/db.js";
|
||||||
import { authorizationMiddleware } from "#lib/middleware/authorization.js";
|
import { authorizationMiddleware } from "#lib/middleware/authorization.js";
|
||||||
import { prisma } from "#lib/server/prisma.js";
|
import { prisma } from "#lib/server/prisma.js";
|
||||||
import { defineApiRoute } from "astro-typesafe-api/server";
|
import { defineApiRoute } from "astro-typesafe-api/server";
|
||||||
@@ -13,11 +13,11 @@ export const PUT = defineApiRoute({
|
|||||||
erstellungsdatum: true
|
erstellungsdatum: true
|
||||||
}),
|
}),
|
||||||
output: z.object({
|
output: z.object({
|
||||||
id: UUidWithPrefix
|
id: IDWithPrefix
|
||||||
}),
|
}),
|
||||||
middleware: authorizationMiddleware,
|
middleware: authorizationMiddleware,
|
||||||
async fetch(input, context, user) {
|
async fetch(input, context, user) {
|
||||||
const id = generatePrefixedId(9, "OB")
|
const id = generateIDWithPrefix(9, "OB")
|
||||||
|
|
||||||
console.log(id);
|
console.log(id);
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { UUidWithPrefix, getAusweisartFromId } from "#components/Ausweis/types.js"
|
import { IDWithPrefix, getAusweisartFromId } from "#components/Ausweis/types.js"
|
||||||
import { Enums } from "#lib/client/prisma.js"
|
import { Enums } from "#lib/client/prisma.js"
|
||||||
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js"
|
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js"
|
||||||
import { mollieClient } from "#lib/mollie.js"
|
import { mollieClient } from "#lib/mollie.js"
|
||||||
@@ -25,7 +25,7 @@ export const PATCH = defineApiRoute({
|
|||||||
}),
|
}),
|
||||||
output: z.object({
|
output: z.object({
|
||||||
checkout_url: z.string().optional(),
|
checkout_url: z.string().optional(),
|
||||||
id: UUidWithPrefix,
|
id: IDWithPrefix,
|
||||||
}),
|
}),
|
||||||
middleware: authorizationMiddleware,
|
middleware: authorizationMiddleware,
|
||||||
headers: authorizationHeaders,
|
headers: authorizationHeaders,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { getAusweisartFromId, UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { getAusweisartFromId, IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
||||||
import { generatePrefixedId } from "#lib/db.js";
|
import { generateIDWithPrefix } from "#lib/db.js";
|
||||||
import { omit } from "#lib/helpers.js";
|
import { omit } from "#lib/helpers.js";
|
||||||
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
|
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
|
||||||
import { sendGEGAnforderungsMail } from "#lib/server/mail/geg-anfordern.js";
|
import { sendGEGAnforderungsMail } from "#lib/server/mail/geg-anfordern.js";
|
||||||
@@ -15,10 +15,10 @@ export const PUT = defineApiRoute({
|
|||||||
id: true,
|
id: true,
|
||||||
status: true,
|
status: true,
|
||||||
}).merge(z.object({
|
}).merge(z.object({
|
||||||
nachweis_id: UUidWithPrefix
|
nachweis_id: IDWithPrefix
|
||||||
})),
|
})),
|
||||||
output: z.object({
|
output: z.object({
|
||||||
id: UUidWithPrefix
|
id: IDWithPrefix
|
||||||
}),
|
}),
|
||||||
headers: authorizationHeaders,
|
headers: authorizationHeaders,
|
||||||
middleware: authorizationMiddleware,
|
middleware: authorizationMiddleware,
|
||||||
@@ -59,7 +59,7 @@ export const PUT = defineApiRoute({
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const id = generatePrefixedId(9, VALID_UUID_PREFIXES.GEGEinpreisung)
|
const id = generateIDWithPrefix(9, VALID_UUID_PREFIXES.GEGEinpreisung)
|
||||||
|
|
||||||
if (ausweisart === Enums.Ausweisart.GEGNachweisWohnen) {
|
if (ausweisart === Enums.Ausweisart.GEGNachweisWohnen) {
|
||||||
einpreisung = await prisma.gEGEinpreisung.create({
|
einpreisung = await prisma.gEGEinpreisung.create({
|
||||||
|
|||||||
@@ -7,12 +7,12 @@ import {
|
|||||||
authorizationHeaders,
|
authorizationHeaders,
|
||||||
authorizationMiddleware,
|
authorizationMiddleware,
|
||||||
} from "#lib/middleware/authorization.js";
|
} from "#lib/middleware/authorization.js";
|
||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
import { getPrismaAusweisAdapter } from "#lib/server/ausweis.js";
|
import { getPrismaAusweisAdapter } from "#lib/server/ausweis.js";
|
||||||
import { PRICES, SERVICES, VALID_UUID_PREFIXES } from "#lib/constants.js";
|
import { PRICES, SERVICES, VALID_UUID_PREFIXES } from "#lib/constants.js";
|
||||||
import { Rechnung } from "#lib/client/prisma.js";
|
import { Rechnung } from "#lib/client/prisma.js";
|
||||||
import { RechnungSchema } from "src/generated/zod/rechnung.js";
|
import { RechnungSchema } from "src/generated/zod/rechnung.js";
|
||||||
import { generatePrefixedId } from "#lib/db.js";
|
import { generateIDWithPrefix } from "#lib/db.js";
|
||||||
|
|
||||||
export const PUT = defineApiRoute({
|
export const PUT = defineApiRoute({
|
||||||
meta: {
|
meta: {
|
||||||
@@ -25,7 +25,7 @@ export const PUT = defineApiRoute({
|
|||||||
input: z
|
input: z
|
||||||
.object({
|
.object({
|
||||||
ausweisart: z.nativeEnum(Enums.Ausweisart),
|
ausweisart: z.nativeEnum(Enums.Ausweisart),
|
||||||
ausweis_id: UUidWithPrefix,
|
ausweis_id: IDWithPrefix,
|
||||||
})
|
})
|
||||||
.merge(
|
.merge(
|
||||||
RechnungSchema.omit({
|
RechnungSchema.omit({
|
||||||
@@ -43,7 +43,7 @@ export const PUT = defineApiRoute({
|
|||||||
),
|
),
|
||||||
output: z.object({
|
output: z.object({
|
||||||
checkout_url: z.string().optional(),
|
checkout_url: z.string().optional(),
|
||||||
id: UUidWithPrefix,
|
id: IDWithPrefix,
|
||||||
}),
|
}),
|
||||||
headers: authorizationHeaders,
|
headers: authorizationHeaders,
|
||||||
middleware: authorizationMiddleware,
|
middleware: authorizationMiddleware,
|
||||||
@@ -99,7 +99,7 @@ export const PUT = defineApiRoute({
|
|||||||
betrag += servicePriceList[service]
|
betrag += servicePriceList[service]
|
||||||
}
|
}
|
||||||
|
|
||||||
const id = generatePrefixedId(9, VALID_UUID_PREFIXES.Rechnung);
|
const id = generateIDWithPrefix(9, VALID_UUID_PREFIXES.Rechnung);
|
||||||
|
|
||||||
// Wir erstellen eine neue Rechnung in unserer Datenbank.
|
// Wir erstellen eine neue Rechnung in unserer Datenbank.
|
||||||
let rechnung: Rechnung | null = null;
|
let rechnung: Rechnung | null = null;
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
import { prisma } from "#lib/server/prisma.js";
|
import { prisma } from "#lib/server/prisma.js";
|
||||||
import { defineApiRoute } from "astro-typesafe-api/server";
|
import { defineApiRoute } from "astro-typesafe-api/server";
|
||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
import { TicketsSchema } from "src/generated/zod/tickets.js";
|
import { TicketsSchema } from "src/generated/zod/tickets.js";
|
||||||
import { generatePrefixedId } from "#lib/db.js";
|
import { generateIDWithPrefix } from "#lib/db.js";
|
||||||
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
||||||
|
|
||||||
export const PUT = defineApiRoute({
|
export const PUT = defineApiRoute({
|
||||||
@@ -25,10 +25,10 @@ export const PUT = defineApiRoute({
|
|||||||
updated_at: true,
|
updated_at: true,
|
||||||
}),
|
}),
|
||||||
output: z.object({
|
output: z.object({
|
||||||
id: UUidWithPrefix,
|
id: IDWithPrefix,
|
||||||
}),
|
}),
|
||||||
async fetch(input, ctx) {
|
async fetch(input, ctx) {
|
||||||
const id = generatePrefixedId(9, VALID_UUID_PREFIXES.Ticket)
|
const id = generateIDWithPrefix(9, VALID_UUID_PREFIXES.Ticket)
|
||||||
|
|
||||||
const ticket = await prisma.tickets.create({
|
const ticket = await prisma.tickets.create({
|
||||||
data: {
|
data: {
|
||||||
|
|||||||
@@ -3,9 +3,9 @@ import { prisma } from "#lib/server/prisma.js";
|
|||||||
import { APIError, defineApiRoute } from "astro-typesafe-api/server";
|
import { APIError, defineApiRoute } from "astro-typesafe-api/server";
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
import { UnterlageSchema } from "src/generated/zod/unterlage.js";
|
import { UnterlageSchema } from "src/generated/zod/unterlage.js";
|
||||||
import { generatePrefixedId } from "#lib/db.js";
|
import { generateIDWithPrefix } from "#lib/db.js";
|
||||||
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
|
||||||
import { UUidWithPrefix } from "#components/Ausweis/types.js";
|
import { IDWithPrefix } from "#components/Ausweis/types.js";
|
||||||
import { PutObjectCommand } from "@aws-sdk/client-s3";
|
import { PutObjectCommand } from "@aws-sdk/client-s3";
|
||||||
import { s3Client } from "#lib/s3.js";
|
import { s3Client } from "#lib/s3.js";
|
||||||
import mime from "mime"
|
import mime from "mime"
|
||||||
@@ -18,7 +18,7 @@ export const PUT = defineApiRoute({
|
|||||||
data: z.string(),
|
data: z.string(),
|
||||||
})),
|
})),
|
||||||
output: z.object({
|
output: z.object({
|
||||||
id: UUidWithPrefix
|
id: IDWithPrefix
|
||||||
}),
|
}),
|
||||||
async fetch({ data, name, kategorie, mime: mimeType }, ctx, user) {
|
async fetch({ data, name, kategorie, mime: mimeType }, ctx, user) {
|
||||||
const extension = mime.getExtension(mimeType);
|
const extension = mime.getExtension(mimeType);
|
||||||
@@ -29,7 +29,7 @@ export const PUT = defineApiRoute({
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const id = generatePrefixedId(9, VALID_UUID_PREFIXES.Unterlage)
|
const id = generateIDWithPrefix(9, VALID_UUID_PREFIXES.Unterlage)
|
||||||
|
|
||||||
await prisma.unterlage.create({
|
await prisma.unterlage.create({
|
||||||
data: {
|
data: {
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user