Skip to content

Commit 8d33cec

Browse files
authored
FV-47 FV-49 Zählarten für Fuß und Radverkehrszählungen (#153)
* add zaehlarten * add icons * fix format error * remove script
1 parent eb6e3c7 commit 8d33cec

File tree

6 files changed

+87
-0
lines changed

6 files changed

+87
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<template>
2+
<svg
3+
xmlns="http://www.w3.org/2000/svg"
4+
viewBox="0 0 32 32"
5+
>
6+
<text
7+
x="0"
8+
y="26"
9+
class="svg-text"
10+
textLength="100%"
11+
fill="currentColor"
12+
>
13+
FjS
14+
</text>
15+
</svg>
16+
</template>
17+
<style lang="css">
18+
.svg-text {
19+
font: bold 23px Arial;
20+
}
21+
</style>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<template>
2+
<svg
3+
xmlns="http://www.w3.org/2000/svg"
4+
viewBox="0 0 32 32"
5+
>
6+
<text
7+
x="0"
8+
y="26"
9+
class="svg-text"
10+
textLength="100%"
11+
fill="currentColor"
12+
>
13+
QjS
14+
</text>
15+
</svg>
16+
</template>
17+
<style lang="css">
18+
.svg-text {
19+
font: bold 23px Arial;
20+
}
21+
</style>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<template>
2+
<svg
3+
xmlns="http://www.w3.org/2000/svg"
4+
viewBox="0 0 32 32"
5+
>
6+
<text
7+
x="0"
8+
y="26"
9+
class="svg-text"
10+
textLength="100%"
11+
fill="currentColor"
12+
>
13+
Qu
14+
</text>
15+
</svg>
16+
</template>
17+
<style lang="css">
18+
.svg-text {
19+
font: bold 23px Arial;
20+
}
21+
</style>

frontend/src/components/icons/ZaehlartIcon.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ const zaehlartIcons: Map<string, IconTooltip> = new Map([
5151
new IconTooltip("$artQT", "Querschnitt Tunnel/Unterführung/Tief"),
5252
],
5353
[Zaehlart.R, new IconTooltip("$artR", "Radverkehrszählung")],
54+
[Zaehlart.QJS, new IconTooltip("$artQJS", "Querschnitt je Straßenseite")],
55+
[
56+
Zaehlart.FJS,
57+
new IconTooltip("$artFJS", "Fußverkehr/Radverkehr je Straßenseite"),
58+
],
59+
[Zaehlart.QU, new IconTooltip("$artQU", "Querung")],
5460
[Zaehlart.T, new IconTooltip("$artT", "Tunnel/Unterführung/Tief")],
5561
[Zaehlart.TK, new IconTooltip("$artTK", "Teilknoten")],
5662
]);

frontend/src/plugins/vuetify.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,19 @@ import { mdi, aliases as mdiAliases } from "vuetify/iconsets/mdi";
1010
import { de } from "vuetify/locale";
1111

1212
// Zaehlart
13+
import artFJS from "@/components/icons/ArtIcons/ArtFJS.vue";
1314
import artH from "@/components/icons/ArtIcons/ArtH.vue";
1415
import artN from "@/components/icons/ArtIcons/ArtN.vue";
1516
import artQ from "@/components/icons/ArtIcons/ArtQ.vue";
1617
import artQB from "@/components/icons/ArtIcons/ArtQB.vue";
1718
import artQH from "@/components/icons/ArtIcons/ArtQH.vue";
1819
import artQI from "@/components/icons/ArtIcons/ArtQI.vue";
20+
import artQJS from "@/components/icons/ArtIcons/ArtQJS.vue";
1921
import artQR from "@/components/icons/ArtIcons/ArtQR.vue";
2022
import artQS from "@/components/icons/ArtIcons/ArtQS.vue";
2123
import artQSt from "@/components/icons/ArtIcons/ArtQSt.vue";
2224
import artQT from "@/components/icons/ArtIcons/ArtQT.vue";
25+
import artQU from "@/components/icons/ArtIcons/ArtQU.vue";
2326
import artR from "@/components/icons/ArtIcons/ArtR.vue";
2427
import artT from "@/components/icons/ArtIcons/ArtT.vue";
2528
import artTK from "@/components/icons/ArtIcons/ArtTK.vue";
@@ -71,6 +74,9 @@ export default createVuetify({
7174
artQSt,
7275
artQT,
7376
artR,
77+
artQJS,
78+
artFJS,
79+
artQU,
7480
artT,
7581
artTK,
7682
},

frontend/src/types/enum/Zaehlart.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ enum Zaehlart {
2323
QR = "QR",
2424
// Radverkehrszählung
2525
R = "R",
26+
// Querschnitt je Straßenseite
27+
QJS = "QJS",
28+
// Fuß & Rad je Straßenseite
29+
FJS = "FJS",
30+
// Querung
31+
QU = "QU",
2632
// Tunnel / Unterführung / Tief
2733
T = "T",
2834
// Teilknoten
@@ -43,6 +49,9 @@ export const zaehlartText = new Map<string, string>([
4349
[Zaehlart.QT, "Querschnitt Tunnel/Unterführung/Tief"],
4450
[Zaehlart.QR, "Querschnitt Radverkehr"],
4551
[Zaehlart.R, "Radverkehrszählung"],
52+
[Zaehlart.QJS, "Querschnitt je Straßenseite"],
53+
[Zaehlart.FJS, "Fußverkehr/Radverkehr je Straßenseite"],
54+
[Zaehlart.QU, "Querung"],
4655
[Zaehlart.T, "Tunnel / Unterführung / Tief"],
4756
[Zaehlart.TK, "Teilknoten"],
4857
]);
@@ -59,6 +68,9 @@ export const zaehlartenDropDown = new Array<KeyVal>(
5968
{ value: Zaehlart.QT, title: zaehlartText.get(Zaehlart.QT)! },
6069
{ value: Zaehlart.QR, title: zaehlartText.get(Zaehlart.QR)! },
6170
{ value: Zaehlart.R, title: zaehlartText.get(Zaehlart.R)! },
71+
{ value: Zaehlart.QJS, title: zaehlartText.get(Zaehlart.QJS)! },
72+
{ value: Zaehlart.FJS, title: zaehlartText.get(Zaehlart.FJS)! },
73+
{ value: Zaehlart.QU, title: zaehlartText.get(Zaehlart.QU)! },
6274
{ value: Zaehlart.T, title: zaehlartText.get(Zaehlart.T)! },
6375
{ value: Zaehlart.TK, title: zaehlartText.get(Zaehlart.TK)! }
6476
);

0 commit comments

Comments
 (0)