extends BaseUIElement {
abstract IsValid(t: T): boolean;
}
-
diff --git a/assets/layers/charging_station/csvToJson.ts b/assets/layers/charging_station/csvToJson.ts
index 1d0bab2f78..2bd8d787a5 100644
--- a/assets/layers/charging_station/csvToJson.ts
+++ b/assets/layers/charging_station/csvToJson.ts
@@ -68,8 +68,8 @@ function run(file, protojson) {
for (let i = 0; i < entries.length; i++){
const e = entries[i];
const txt = {
- en: `
${e.description.get("en")} `,
- nl: `
${e.description.get("nl")}
${e.description.get("en")}`,
+ nl: `
${e.description.get("nl")} `
}
const json = {
if: `${e.key}=1`,
@@ -258,8 +258,8 @@ function run(file, protojson) {
options: filterOptions
})
-
-
+
+
const extraUnits = [
{
appliesToKey: entries.map(e => e.key + ":voltage"),
@@ -311,10 +311,7 @@ function run(file, protojson) {
proto["units"] = []
}
proto["units"].push(...extraUnits)
-
- // mergeTranslations("charging_station.json",proto)
-
- writeFileSync("charging_station.json", JSON.stringify(proto, undefined, " "))
+ writeFileSync("charging_station.json", JSON.stringify(proto, undefined, " "))
}
diff --git a/css/index-tailwind-output.css b/css/index-tailwind-output.css
index 568e2072f8..4cbe196aed 100644
--- a/css/index-tailwind-output.css
+++ b/css/index-tailwind-output.css
@@ -839,6 +839,11 @@ video {
margin-bottom: 0.75rem;
}
+.mx-4 {
+ margin-left: 1rem;
+ margin-right: 1rem;
+}
+
.-ml-1 {
margin-left: -0.25rem;
}
@@ -907,6 +912,10 @@ video {
margin-right: 0px;
}
+.mb-1 {
+ margin-bottom: 0.25rem;
+}
+
.mb-4 {
margin-bottom: 1rem;
}
@@ -1147,14 +1156,14 @@ video {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
-.cursor-wait {
- cursor: wait;
-}
-
.cursor-pointer {
cursor: pointer;
}
+.cursor-wait {
+ cursor: wait;
+}
+
.resize {
resize: both;
}
diff --git a/langs/layers/en.json b/langs/layers/en.json
index c107bdc35e..8900f0068d 100644
--- a/langs/layers/en.json
+++ b/langs/layers/en.json
@@ -888,7 +888,7 @@
"question": "Has a European wall plug with ground pin (CEE7/4 type E)
connector"
},
"3": {
- "question": "Has a Chademo
connector"
+ "question": "Has a Chademo
connector"
},
"4": {
"question": "Has a Type 1 with cable (J1772)
connector"
@@ -900,7 +900,7 @@
"question": "Has a Type 1 CCS (aka Type 1 Combo)
connector"
},
"7": {
- "question": "Has a Tesla Supercharger
connector"
+ "question": "Has a Tesla Supercharger
connector"
},
"8": {
"question": "Has a Type 2 (mennekes)
connector"
@@ -966,55 +966,55 @@
"Available_charging_stations (generated)": {
"mappings": {
"0": {
- "then": "
Schuko wall plug without ground pin (CEE7/4 type F)"
+ "then": "
Schuko wall plug without ground pin (CEE7/4 type F)
"
},
"1": {
- "then": "
Schuko wall plug without ground pin (CEE7/4 type F)"
+ "then": "
Schuko wall plug without ground pin (CEE7/4 type F)
"
},
"2": {
- "then": "
European wall plug with ground pin (CEE7/4 type E)"
+ "then": "
European wall plug with ground pin (CEE7/4 type E)
"
},
"3": {
- "then": "
European wall plug with ground pin (CEE7/4 type E)"
+ "then": "
European wall plug with ground pin (CEE7/4 type E)
"
},
"4": {
- "then": "
Chademo"
+ "then": "
Chademo
"
},
"5": {
- "then": "
Chademo"
+ "then": "
Chademo
"
},
"6": {
- "then": "
Type 1 with cable (J1772)"
+ "then": "
Type 1 with cable (J1772)
"
},
"7": {
- "then": "
Type 1 with cable (J1772)"
+ "then": "
Type 1 with cable (J1772)
"
},
"8": {
- "then": "
Type 1 without cable (J1772)"
+ "then": "
Type 1 without cable (J1772)
"
},
"9": {
- "then": "
Type 1 without cable (J1772)"
+ "then": "
Type 1 without cable (J1772)
"
},
"10": {
- "then": "
Type 1 CCS (aka Type 1 Combo)"
+ "then": "
Type 1 CCS (aka Type 1 Combo)
"
},
"11": {
- "then": "
Type 1 CCS (aka Type 1 Combo)"
+ "then": "
Type 1 CCS (aka Type 1 Combo)
"
},
"12": {
- "then": "
Tesla Supercharger"
+ "then": "
Tesla Supercharger
"
},
"13": {
- "then": "
Tesla Supercharger"
+ "then": "
Tesla Supercharger
"
},
"14": {
- "then": "
Type 2 (mennekes)"
+ "then": "
Type 2 (mennekes)
"
},
"15": {
- "then": "
Type 2 (mennekes)"
+ "then": "
Type 2 (mennekes)
"
},
"16": {
- "then": "
Type 2 CCS (mennekes)"
+ "then": "
Type 2 CCS (mennekes)
"
},
"17": {
"then": "
Type 2 CCS (mennekes)"
@@ -1042,6 +1042,7 @@
},
"25": {
"then": "
Tesla supercharger (destination (A Type 2 with cable branded as tesla)"
+
}
},
"question": "Which charging stations are available here?"
@@ -1126,22 +1127,18 @@
},
"question": "Which vehicles are allowed to charge here?"
},
- "access": {
- "question": "Who is allowed to use this charging station?",
- "render": "Access is {access}"
- },
- "capacity": {
- "question": "How much vehicles can be charged here at the same time?",
- "render": "{capacity} vehicles can be charged here at the same time"
+ "13": {
+ "question": "How much plugs of type Chademo
are available here?",
+ "render": "There are Chademo
plugs of type Chademo available here"
},
"current-0": {
"mappings": {
"0": {
- "then": "Schuko wall plug without ground pin (CEE7/4 type F)
outputs at most 16 A"
+ "then": "Chademo
outputs 500 volt"
}
},
- "question": "What current do the plugs with Schuko wall plug without ground pin (CEE7/4 type F)
offer?",
- "render": "Schuko wall plug without ground pin (CEE7/4 type F)
outputs at most {socket:schuko:current}A"
+ "question": "What voltage do the plugs with Chademo
offer?",
+ "render": "Chademo
outputs {socket:chademo:voltage} volt"
},
"current-1": {
"mappings": {
@@ -1155,6 +1152,7 @@
"current-10": {
"mappings": {
"0": {
+
"then": "Tesla Supercharger CCS (a branded type2_css)
outputs at most 125 A"
},
"1": {
diff --git a/langs/layers/nl.json b/langs/layers/nl.json
index b7a918c9ce..0ba838cc7d 100644
--- a/langs/layers/nl.json
+++ b/langs/layers/nl.json
@@ -1029,55 +1029,55 @@
"Available_charging_stations (generated)": {
"mappings": {
"0": {
- "then": "
Schuko stekker zonder aardingspin (CEE7/4 type F)"
+ "then": "
Schuko stekker zonder aardingspin (CEE7/4 type F)
"
},
"1": {
- "then": "
Schuko stekker zonder aardingspin (CEE7/4 type F)"
+ "then": "
Schuko stekker zonder aardingspin (CEE7/4 type F)
"
},
"2": {
- "then": "
Europese stekker met aardingspin (CEE7/4 type E)"
+ "then": "
Europese stekker met aardingspin (CEE7/4 type E)
"
},
"3": {
- "then": "
Europese stekker met aardingspin (CEE7/4 type E)"
+ "then": "
Europese stekker met aardingspin (CEE7/4 type E)
"
},
"4": {
- "then": "
"
+ "then": ""
},
"5": {
- "then": "
"
+ "then": ""
},
"6": {
- "then": "
Type 1 met kabel (J1772)"
+ "then": "
Type 1 met kabel (J1772)
"
},
"7": {
- "then": "
Type 1 met kabel (J1772)"
+ "then": "
Type 1 met kabel (J1772)
"
},
"8": {
- "then": "
Type 1 zonder kabel (J1772)"
+ "then": "
Type 1 zonder kabel (J1772)
"
},
"9": {
- "then": "
Type 1 zonder kabel (J1772)"
+ "then": "
Type 1 zonder kabel (J1772)
"
},
"10": {
- "then": "
"
+ "then": ""
},
"11": {
- "then": "
"
+ "then": ""
},
"12": {
- "then": "
"
+ "then": ""
},
"13": {
- "then": "
"
+ "then": ""
},
"14": {
- "then": "
"
+ "then": ""
},
"15": {
- "then": "
"
+ "then": ""
},
"16": {
- "then": "
"
+ "then": ""
},
"17": {
"then": "
"