@sbb-esta/lyne-elements-experimental 2.11.2 → 2.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/custom-elements.json +852 -867
  2. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -1
  3. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.js +1 -1
  4. package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -1
  5. package/development/seat-reservation/seat-reservation/seat-reservation.component.js +3 -3
  6. package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach → seat-reservation-navigation-coach}/seat-reservation-navigation-coach.component.d.ts +1 -1
  7. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +1 -0
  8. package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach → seat-reservation-navigation-coach}/seat-reservation-navigation-coach.component.js +2 -2
  9. package/development/seat-reservation/seat-reservation-navigation-coach.d.ts.map +1 -0
  10. package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +1 -0
  11. package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +123 -0
  12. package/development/seat-reservation/seat-reservation-navigation-services.d.ts.map +1 -0
  13. package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +1 -0
  14. package/development/seat-reservation/{seat-reservation/seat-reservation-scoped → seat-reservation-scoped}/seat-reservation-scoped.component.js +1 -1
  15. package/{seat-reservation → development}/seat-reservation/seat-reservation-scoped.d.ts.map +1 -1
  16. package/development/seat-reservation/seat-reservation.d.ts +0 -1
  17. package/development/seat-reservation/seat-reservation.d.ts.map +1 -1
  18. package/development/seat-reservation/seat-reservation.js +1 -3
  19. package/development/seat-reservation.d.ts +3 -1
  20. package/development/seat-reservation.d.ts.map +1 -1
  21. package/development/seat-reservation.js +3 -3
  22. package/index.d.ts +3 -3
  23. package/index.js +3 -3
  24. package/package.json +14 -19
  25. package/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -1
  26. package/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -1
  27. package/seat-reservation/seat-reservation/seat-reservation.component.js +2 -2
  28. package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach → seat-reservation-navigation-coach}/seat-reservation-navigation-coach.component.d.ts +1 -1
  29. package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +1 -0
  30. package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach → seat-reservation-navigation-coach}/seat-reservation-navigation-coach.component.js +1 -1
  31. package/seat-reservation/seat-reservation-navigation-coach.d.ts.map +1 -0
  32. package/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +1 -0
  33. package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services → seat-reservation-navigation-services}/seat-reservation-navigation-services.component.js +2 -2
  34. package/seat-reservation/seat-reservation-navigation-services.d.ts.map +1 -0
  35. package/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +1 -0
  36. package/seat-reservation/seat-reservation-scoped.d.ts.map +1 -0
  37. package/seat-reservation/seat-reservation.d.ts +0 -1
  38. package/seat-reservation/seat-reservation.d.ts.map +1 -1
  39. package/seat-reservation/seat-reservation.js +0 -2
  40. package/seat-reservation.d.ts +3 -1
  41. package/seat-reservation.d.ts.map +1 -1
  42. package/seat-reservation.js +12 -12
  43. package/development/seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +0 -1
  44. package/development/seat-reservation/seat-reservation/seat-reservation-scoped.d.ts.map +0 -1
  45. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +0 -1
  46. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.d.ts.map +0 -1
  47. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +0 -1
  48. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +0 -122
  49. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.d.ts.map +0 -1
  50. package/development/seat-reservation/seat-reservation-navigation.d.ts +0 -6
  51. package/development/seat-reservation/seat-reservation-navigation.d.ts.map +0 -1
  52. package/development/seat-reservation/seat-reservation-navigation.js +0 -7
  53. package/seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +0 -1
  54. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +0 -1
  55. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.d.ts.map +0 -1
  56. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +0 -1
  57. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.d.ts.map +0 -1
  58. package/seat-reservation/seat-reservation-navigation.d.ts +0 -6
  59. package/seat-reservation/seat-reservation-navigation.d.ts.map +0 -1
  60. package/seat-reservation/seat-reservation-navigation.js +0 -6
  61. /package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach.d.ts → seat-reservation-navigation-coach.d.ts} +0 -0
  62. /package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach.js → seat-reservation-navigation-coach.js} +0 -0
  63. /package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services → seat-reservation-navigation-services}/seat-reservation-navigation-services.component.d.ts +0 -0
  64. /package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services.d.ts → seat-reservation-navigation-services.d.ts} +0 -0
  65. /package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services.js → seat-reservation-navigation-services.js} +0 -0
  66. /package/development/seat-reservation/{seat-reservation/seat-reservation-scoped → seat-reservation-scoped}/seat-reservation-scoped.component.d.ts +0 -0
  67. /package/development/seat-reservation/{seat-reservation/seat-reservation-scoped.d.ts → seat-reservation-scoped.d.ts} +0 -0
  68. /package/development/seat-reservation/{seat-reservation/seat-reservation-scoped.js → seat-reservation-scoped.js} +0 -0
  69. /package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach.d.ts → seat-reservation-navigation-coach.d.ts} +0 -0
  70. /package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach.js → seat-reservation-navigation-coach.js} +0 -0
  71. /package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services → seat-reservation-navigation-services}/seat-reservation-navigation-services.component.d.ts +0 -0
  72. /package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services.d.ts → seat-reservation-navigation-services.d.ts} +0 -0
  73. /package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services.js → seat-reservation-navigation-services.js} +0 -0
  74. /package/seat-reservation/{seat-reservation/seat-reservation-scoped → seat-reservation-scoped}/seat-reservation-scoped.component.d.ts +0 -0
  75. /package/seat-reservation/{seat-reservation/seat-reservation-scoped → seat-reservation-scoped}/seat-reservation-scoped.component.js +0 -0
  76. /package/seat-reservation/{seat-reservation/seat-reservation-scoped.d.ts → seat-reservation-scoped.d.ts} +0 -0
  77. /package/seat-reservation/{seat-reservation/seat-reservation-scoped.js → seat-reservation-scoped.js} +0 -0
@@ -119,7 +119,15 @@
119
119
  "name": "*",
120
120
  "declaration": {
121
121
  "name": "*",
122
- "package": "./seat-reservation/seat-reservation-navigation.js"
122
+ "package": "./seat-reservation/seat-reservation-navigation-coach.js"
123
+ }
124
+ },
125
+ {
126
+ "kind": "js",
127
+ "name": "*",
128
+ "declaration": {
129
+ "name": "*",
130
+ "package": "./seat-reservation/seat-reservation-navigation-services.js"
123
131
  }
124
132
  },
125
133
  {
@@ -129,6 +137,14 @@
129
137
  "name": "*",
130
138
  "package": "./seat-reservation/seat-reservation-place-control.js"
131
139
  }
140
+ },
141
+ {
142
+ "kind": "js",
143
+ "name": "*",
144
+ "declaration": {
145
+ "name": "*",
146
+ "package": "./seat-reservation/seat-reservation-scoped.js"
147
+ }
132
148
  }
133
149
  ]
134
150
  },
@@ -1156,7 +1172,7 @@
1156
1172
  },
1157
1173
  {
1158
1174
  "kind": "javascript-module",
1159
- "path": "seat-reservation/seat-reservation-navigation.js",
1175
+ "path": "seat-reservation/seat-reservation-navigation-coach.js",
1160
1176
  "declarations": [],
1161
1177
  "exports": [
1162
1178
  {
@@ -1164,15 +1180,22 @@
1164
1180
  "name": "*",
1165
1181
  "declaration": {
1166
1182
  "name": "*",
1167
- "package": "./seat-reservation-navigation/seat-reservation-navigation-coach.js"
1183
+ "package": "./seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js"
1168
1184
  }
1169
- },
1185
+ }
1186
+ ]
1187
+ },
1188
+ {
1189
+ "kind": "javascript-module",
1190
+ "path": "seat-reservation/seat-reservation-navigation-services.js",
1191
+ "declarations": [],
1192
+ "exports": [
1170
1193
  {
1171
1194
  "kind": "js",
1172
1195
  "name": "*",
1173
1196
  "declaration": {
1174
1197
  "name": "*",
1175
- "package": "./seat-reservation-navigation/seat-reservation-navigation-services.js"
1198
+ "package": "./seat-reservation-navigation-services/seat-reservation-navigation-services.component.js"
1176
1199
  }
1177
1200
  }
1178
1201
  ]
@@ -1194,7 +1217,7 @@
1194
1217
  },
1195
1218
  {
1196
1219
  "kind": "javascript-module",
1197
- "path": "seat-reservation/seat-reservation.js",
1220
+ "path": "seat-reservation/seat-reservation-scoped.js",
1198
1221
  "declarations": [],
1199
1222
  "exports": [
1200
1223
  {
@@ -1202,15 +1225,22 @@
1202
1225
  "name": "*",
1203
1226
  "declaration": {
1204
1227
  "name": "*",
1205
- "package": "./seat-reservation/seat-reservation.component.js"
1228
+ "package": "./seat-reservation-scoped/seat-reservation-scoped.component.js"
1206
1229
  }
1207
- },
1230
+ }
1231
+ ]
1232
+ },
1233
+ {
1234
+ "kind": "javascript-module",
1235
+ "path": "seat-reservation/seat-reservation.js",
1236
+ "declarations": [],
1237
+ "exports": [
1208
1238
  {
1209
1239
  "kind": "js",
1210
1240
  "name": "*",
1211
1241
  "declaration": {
1212
1242
  "name": "*",
1213
- "package": "./seat-reservation/seat-reservation-base-element.js"
1243
+ "package": "./seat-reservation/seat-reservation.component.js"
1214
1244
  }
1215
1245
  },
1216
1246
  {
@@ -1218,7 +1248,7 @@
1218
1248
  "name": "*",
1219
1249
  "declaration": {
1220
1250
  "name": "*",
1221
- "package": "./seat-reservation/seat-reservation-scoped.js"
1251
+ "package": "./seat-reservation/seat-reservation-base-element.js"
1222
1252
  }
1223
1253
  }
1224
1254
  ]
@@ -3030,21 +3060,6 @@
3030
3060
  }
3031
3061
  ]
3032
3062
  },
3033
- {
3034
- "kind": "javascript-module",
3035
- "path": "seat-reservation/seat-reservation/seat-reservation-scoped.js",
3036
- "declarations": [],
3037
- "exports": [
3038
- {
3039
- "kind": "js",
3040
- "name": "*",
3041
- "declaration": {
3042
- "name": "*",
3043
- "package": "./seat-reservation-scoped/seat-reservation-scoped.component.js"
3044
- }
3045
- }
3046
- ]
3047
- },
3048
3063
  {
3049
3064
  "kind": "javascript-module",
3050
3065
  "path": "seat-reservation/seat-reservation/seat-reservation.component.js",
@@ -4926,42 +4941,12 @@
4926
4941
  },
4927
4942
  {
4928
4943
  "kind": "javascript-module",
4929
- "path": "seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.js",
4930
- "declarations": [],
4931
- "exports": [
4932
- {
4933
- "kind": "js",
4934
- "name": "*",
4935
- "declaration": {
4936
- "name": "*",
4937
- "package": "./seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js"
4938
- }
4939
- }
4940
- ]
4941
- },
4942
- {
4943
- "kind": "javascript-module",
4944
- "path": "seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.js",
4945
- "declarations": [],
4946
- "exports": [
4947
- {
4948
- "kind": "js",
4949
- "name": "*",
4950
- "declaration": {
4951
- "name": "*",
4952
- "package": "./seat-reservation-navigation-services/seat-reservation-navigation-services.component.js"
4953
- }
4954
- }
4955
- ]
4956
- },
4957
- {
4958
- "kind": "javascript-module",
4959
- "path": "seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js",
4944
+ "path": "seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js",
4960
4945
  "declarations": [
4961
4946
  {
4962
4947
  "kind": "class",
4963
- "description": "Output the graphic of a seat or a bicycle place as a control element.",
4964
- "name": "SbbSeatReservationPlaceControlElement",
4948
+ "description": "This component will display the navigation coach item for Seat reservation.",
4949
+ "name": "SbbSeatReservationNavigationCoachElement",
4965
4950
  "members": [
4966
4951
  {
4967
4952
  "kind": "field",
@@ -4969,1255 +4954,1255 @@
4969
4954
  "privacy": "public",
4970
4955
  "static": true,
4971
4956
  "readonly": true,
4972
- "default": "{ selectPlace: 'selectPlace', }",
4957
+ "default": "{ selectCoach: 'selectCoach', focusCoach: 'focusCoach', }",
4973
4958
  "type": {
4974
- "text": "{\n selectPlace: 'selectPlace',\n }"
4959
+ "text": "{\n selectCoach: 'selectCoach',\n focusCoach: 'focusCoach',\n }"
4975
4960
  }
4976
4961
  },
4977
4962
  {
4978
4963
  "kind": "field",
4979
- "name": "placeType",
4964
+ "name": "coachId",
4980
4965
  "type": {
4981
- "text": "PlaceType"
4966
+ "text": "string"
4982
4967
  },
4983
4968
  "privacy": "public",
4984
- "default": "'SEAT'",
4985
- "description": "placeType of the place, e.g. 'SEAT', 'BICYCLE'",
4986
- "attribute": "type"
4969
+ "default": "''",
4970
+ "description": "Coach ID, which is used to identify the coach in the navigation",
4971
+ "attribute": "coach-id"
4987
4972
  },
4988
4973
  {
4989
4974
  "kind": "field",
4990
- "name": "state",
4975
+ "name": "propertyIds",
4991
4976
  "type": {
4992
- "text": "PlaceState"
4977
+ "text": "string[]"
4993
4978
  },
4994
4979
  "privacy": "public",
4995
- "default": "'FREE'",
4996
- "description": "state of the place, e.g. 'FREE', 'SELECTED', 'BLOCKED'",
4997
- "attribute": "state"
4980
+ "default": "[]",
4981
+ "description": "Coach service property ids, which are used to display the services in the navigation",
4982
+ "attribute": "property-ids"
4998
4983
  },
4999
4984
  {
5000
4985
  "kind": "field",
5001
- "name": "propertyIds",
4986
+ "name": "selected",
5002
4987
  "type": {
5003
- "text": "string[]"
4988
+ "text": "boolean"
5004
4989
  },
5005
4990
  "privacy": "public",
5006
- "default": "[]",
5007
- "description": "property ids of the place, to display more info about the place",
5008
- "attribute": "propertyIds"
4991
+ "default": "false",
4992
+ "attribute": "selected"
5009
4993
  },
5010
4994
  {
5011
4995
  "kind": "field",
5012
- "name": "rotation",
4996
+ "name": "focused",
5013
4997
  "type": {
5014
- "text": "number"
4998
+ "text": "boolean"
5015
4999
  },
5016
5000
  "privacy": "public",
5017
- "default": "0",
5018
- "description": "rotation in degrees (without unit)",
5019
- "attribute": "rotation"
5001
+ "default": "false",
5002
+ "attribute": "focused"
5020
5003
  },
5021
5004
  {
5022
5005
  "kind": "field",
5023
- "name": "width",
5006
+ "name": "index",
5024
5007
  "type": {
5025
5008
  "text": "number"
5026
5009
  },
5027
5010
  "privacy": "public",
5028
- "default": "32",
5029
- "description": "width of the place in pixels (without unit)",
5030
- "attribute": "width"
5011
+ "default": "0",
5012
+ "attribute": "index"
5031
5013
  },
5032
5014
  {
5033
5015
  "kind": "field",
5034
- "name": "height",
5016
+ "name": "travelClass",
5035
5017
  "type": {
5036
- "text": "number"
5018
+ "text": "PlaceTravelClass[]"
5037
5019
  },
5038
5020
  "privacy": "public",
5039
- "default": "32",
5040
- "description": "height of the place in pixels (without unit)",
5041
- "attribute": "height"
5021
+ "default": "['ANY_CLASS']",
5022
+ "description": "Travel class of the coach",
5023
+ "attribute": "travel-class"
5042
5024
  },
5043
5025
  {
5044
5026
  "kind": "field",
5045
- "name": "text",
5027
+ "name": "driverArea",
5046
5028
  "type": {
5047
- "text": "string"
5029
+ "text": "boolean"
5048
5030
  },
5049
5031
  "privacy": "public",
5050
- "default": "''",
5051
- "description": "label of the place, e.g. '1A', '2B'",
5052
- "attribute": "text"
5032
+ "default": "false",
5033
+ "description": "If the coach is a driver/restricted area",
5034
+ "attribute": "driver-area"
5053
5035
  },
5054
5036
  {
5055
5037
  "kind": "field",
5056
- "name": "textRotation",
5038
+ "name": "first",
5057
5039
  "type": {
5058
- "text": "number"
5040
+ "text": "boolean"
5059
5041
  },
5060
5042
  "privacy": "public",
5061
- "default": "0",
5062
- "description": "Rotation of the text in degrees (without unit)",
5063
- "attribute": "text-rotation"
5043
+ "default": "false",
5044
+ "description": "If the coach is the first in the navigation",
5045
+ "attribute": "first"
5064
5046
  },
5065
5047
  {
5066
5048
  "kind": "field",
5067
- "name": "coachIndex",
5049
+ "name": "last",
5068
5050
  "type": {
5069
- "text": "number"
5051
+ "text": "boolean"
5070
5052
  },
5071
5053
  "privacy": "public",
5072
- "default": "null!",
5073
- "description": "Coach Index Prop to identifier the right place to coach",
5074
- "attribute": "coach-index"
5054
+ "default": "false",
5055
+ "description": "If the coach is the last in the navigation",
5056
+ "attribute": "last"
5075
5057
  },
5076
5058
  {
5077
5059
  "kind": "field",
5078
- "name": "preventClick",
5060
+ "name": "disable",
5079
5061
  "type": {
5080
5062
  "text": "boolean"
5081
5063
  },
5082
5064
  "privacy": "public",
5083
5065
  "default": "false",
5084
- "description": "Prevent click prop prevent any place action",
5085
- "attribute": "prevent-click"
5066
+ "description": "Disable the coach navigation",
5067
+ "attribute": "disable"
5086
5068
  },
5087
5069
  {
5088
5070
  "kind": "field",
5089
- "name": "keyfocus",
5071
+ "name": "vertical",
5090
5072
  "type": {
5091
- "text": "string"
5073
+ "text": "boolean"
5092
5074
  },
5093
5075
  "privacy": "public",
5094
- "default": "'unfocus'",
5095
- "description": "Set the place focus outline style",
5096
- "attribute": "keyfocus"
5076
+ "default": "false",
5077
+ "description": "If the coach navigation should be displayed vertically",
5078
+ "attribute": "vertical"
5097
5079
  },
5098
5080
  {
5099
5081
  "kind": "field",
5100
- "name": "placeSelected",
5082
+ "name": "_language",
5083
+ "privacy": "private",
5084
+ "default": "new SbbLanguageController(this)"
5085
+ },
5086
+ {
5087
+ "kind": "field",
5088
+ "name": "selectNavCoach",
5101
5089
  "type": {
5102
- "text": "EventEmitter<PlaceSelection>"
5090
+ "text": "EventEmitter<SelectCoachEventDetails>"
5103
5091
  },
5104
5092
  "privacy": "protected",
5105
- "default": "new EventEmitter( this, SbbSeatReservationPlaceControlElement.events.selectPlace, )",
5106
- "description": "Emits when a place was selected by user."
5093
+ "default": "new EventEmitter( this, SbbSeatReservationNavigationCoachElement.events.selectCoach, )",
5094
+ "description": "Emits when a coach within the navigation was selected"
5107
5095
  },
5108
5096
  {
5109
5097
  "kind": "field",
5110
- "name": "_language",
5098
+ "name": "focusNavCoach",
5099
+ "type": {
5100
+ "text": "EventEmitter<void>"
5101
+ },
5102
+ "privacy": "protected",
5103
+ "default": "new EventEmitter( this, SbbSeatReservationNavigationCoachElement.events.focusCoach, )"
5104
+ },
5105
+ {
5106
+ "kind": "method",
5107
+ "name": "_getNavigationButton",
5111
5108
  "privacy": "private",
5112
- "default": "new SbbLanguageController(this)"
5109
+ "return": {
5110
+ "type": {
5111
+ "text": "TemplateResult | null"
5112
+ }
5113
+ }
5113
5114
  },
5114
5115
  {
5115
5116
  "kind": "method",
5116
- "name": "_getPlaceSvg",
5117
+ "name": "_getBtnInformation",
5117
5118
  "privacy": "private",
5118
5119
  "return": {
5119
5120
  "type": {
5120
- "text": "string"
5121
+ "text": "TemplateResult | null"
5121
5122
  }
5122
5123
  },
5123
5124
  "parameters": [
5124
5125
  {
5125
- "name": "type",
5126
+ "name": "serviceClassNumber",
5126
5127
  "type": {
5127
- "text": "PlaceType"
5128
+ "text": "number | null"
5128
5129
  }
5129
- },
5130
+ }
5131
+ ]
5132
+ },
5133
+ {
5134
+ "kind": "method",
5135
+ "name": "_getTitleDescriptionNavCoachButton",
5136
+ "privacy": "private",
5137
+ "return": {
5138
+ "type": {
5139
+ "text": "string"
5140
+ }
5141
+ },
5142
+ "parameters": [
5130
5143
  {
5131
- "name": "state",
5144
+ "name": "serviceClassNumber",
5132
5145
  "type": {
5133
- "text": "PlaceState"
5146
+ "text": "number | null"
5134
5147
  }
5135
5148
  }
5136
5149
  ]
5137
5150
  },
5138
5151
  {
5139
5152
  "kind": "method",
5140
- "name": "_getTitleDescriptionPlace",
5153
+ "name": "_getAriaDescriptionCoachServices",
5141
5154
  "privacy": "private",
5142
5155
  "return": {
5143
5156
  "type": {
5144
- "text": "string"
5157
+ "text": "string | null"
5145
5158
  }
5146
5159
  }
5147
5160
  },
5148
5161
  {
5149
5162
  "kind": "method",
5150
- "name": "_selectPlace",
5163
+ "name": "_selectNavCoach",
5151
5164
  "privacy": "private",
5152
5165
  "return": {
5153
5166
  "type": {
5154
5167
  "text": "void"
5155
5168
  }
5156
5169
  },
5157
- "description": "If the place selectable, we emit the placeSelection object which contains infos to the place state"
5170
+ "parameters": [
5171
+ {
5172
+ "name": "coachIndex",
5173
+ "type": {
5174
+ "text": "number"
5175
+ }
5176
+ }
5177
+ ],
5178
+ "description": "emits the index of the coach array for the main navigation."
5179
+ },
5180
+ {
5181
+ "kind": "method",
5182
+ "name": "_getCoachServiceClassNumber",
5183
+ "privacy": "private",
5184
+ "return": {
5185
+ "type": {
5186
+ "text": "number | null"
5187
+ }
5188
+ }
5158
5189
  }
5159
5190
  ],
5160
5191
  "events": [
5161
5192
  {
5162
5193
  "type": {
5163
- "text": "CustomEvent<PlaceSelection>"
5194
+ "text": "CustomEvent<SelectCoachEventDetails>"
5164
5195
  },
5165
- "description": "Emits when a place was selected and returns a PlaceSelection object with necessary place information",
5166
- "name": "selectPlace"
5196
+ "description": "Emits when a coach within the navigation was selected and returns the clicked coach nav index",
5197
+ "name": "selectCoach"
5198
+ },
5199
+ {
5200
+ "type": {
5201
+ "text": "CustomEvent<void>"
5202
+ },
5203
+ "description": "Emits when a nav coach has the focus",
5204
+ "name": "focusCoach"
5167
5205
  }
5168
5206
  ],
5169
5207
  "attributes": [
5170
5208
  {
5171
- "name": "type",
5209
+ "name": "coach-id",
5172
5210
  "type": {
5173
- "text": "PlaceType"
5211
+ "text": "string"
5174
5212
  },
5175
- "default": "'SEAT'",
5176
- "description": "placeType of the place, e.g. 'SEAT', 'BICYCLE'",
5177
- "fieldName": "placeType"
5213
+ "default": "''",
5214
+ "description": "Coach ID, which is used to identify the coach in the navigation",
5215
+ "fieldName": "coachId"
5178
5216
  },
5179
5217
  {
5180
- "name": "state",
5218
+ "name": "property-ids",
5181
5219
  "type": {
5182
- "text": "PlaceState"
5220
+ "text": "string[]"
5183
5221
  },
5184
- "default": "'FREE'",
5185
- "description": "state of the place, e.g. 'FREE', 'SELECTED', 'BLOCKED'",
5186
- "fieldName": "state"
5222
+ "default": "[]",
5223
+ "description": "Coach service property ids, which are used to display the services in the navigation",
5224
+ "fieldName": "propertyIds"
5187
5225
  },
5188
5226
  {
5189
- "name": "propertyIds",
5227
+ "name": "selected",
5190
5228
  "type": {
5191
- "text": "string[]"
5229
+ "text": "boolean"
5192
5230
  },
5193
- "default": "[]",
5194
- "description": "property ids of the place, to display more info about the place",
5195
- "fieldName": "propertyIds"
5231
+ "default": "false",
5232
+ "fieldName": "selected"
5196
5233
  },
5197
5234
  {
5198
- "name": "rotation",
5235
+ "name": "focused",
5199
5236
  "type": {
5200
- "text": "number"
5237
+ "text": "boolean"
5201
5238
  },
5202
- "default": "0",
5203
- "description": "rotation in degrees (without unit)",
5204
- "fieldName": "rotation"
5239
+ "default": "false",
5240
+ "fieldName": "focused"
5205
5241
  },
5206
5242
  {
5207
- "name": "width",
5243
+ "name": "index",
5208
5244
  "type": {
5209
5245
  "text": "number"
5210
5246
  },
5211
- "default": "32",
5212
- "description": "width of the place in pixels (without unit)",
5213
- "fieldName": "width"
5247
+ "default": "0",
5248
+ "fieldName": "index"
5214
5249
  },
5215
5250
  {
5216
- "name": "height",
5251
+ "name": "travel-class",
5217
5252
  "type": {
5218
- "text": "number"
5253
+ "text": "PlaceTravelClass[]"
5219
5254
  },
5220
- "default": "32",
5221
- "description": "height of the place in pixels (without unit)",
5222
- "fieldName": "height"
5255
+ "default": "['ANY_CLASS']",
5256
+ "description": "Travel class of the coach",
5257
+ "fieldName": "travelClass"
5223
5258
  },
5224
5259
  {
5225
- "name": "text",
5260
+ "name": "driver-area",
5226
5261
  "type": {
5227
- "text": "string"
5262
+ "text": "boolean"
5228
5263
  },
5229
- "default": "''",
5230
- "description": "label of the place, e.g. '1A', '2B'",
5231
- "fieldName": "text"
5264
+ "default": "false",
5265
+ "description": "If the coach is a driver/restricted area",
5266
+ "fieldName": "driverArea"
5232
5267
  },
5233
5268
  {
5234
- "name": "text-rotation",
5269
+ "name": "first",
5235
5270
  "type": {
5236
- "text": "number"
5271
+ "text": "boolean"
5237
5272
  },
5238
- "default": "0",
5239
- "description": "Rotation of the text in degrees (without unit)",
5240
- "fieldName": "textRotation"
5273
+ "default": "false",
5274
+ "description": "If the coach is the first in the navigation",
5275
+ "fieldName": "first"
5241
5276
  },
5242
5277
  {
5243
- "name": "coach-index",
5278
+ "name": "last",
5244
5279
  "type": {
5245
- "text": "number"
5280
+ "text": "boolean"
5246
5281
  },
5247
- "default": "null!",
5248
- "description": "Coach Index Prop to identifier the right place to coach",
5249
- "fieldName": "coachIndex"
5282
+ "default": "false",
5283
+ "description": "If the coach is the last in the navigation",
5284
+ "fieldName": "last"
5250
5285
  },
5251
5286
  {
5252
- "name": "prevent-click",
5287
+ "name": "disable",
5253
5288
  "type": {
5254
5289
  "text": "boolean"
5255
5290
  },
5256
5291
  "default": "false",
5257
- "description": "Prevent click prop prevent any place action",
5258
- "fieldName": "preventClick"
5292
+ "description": "Disable the coach navigation",
5293
+ "fieldName": "disable"
5259
5294
  },
5260
5295
  {
5261
- "name": "keyfocus",
5296
+ "name": "vertical",
5262
5297
  "type": {
5263
- "text": "string"
5298
+ "text": "boolean"
5264
5299
  },
5265
- "default": "'unfocus'",
5266
- "description": "Set the place focus outline style",
5267
- "fieldName": "keyfocus"
5300
+ "default": "false",
5301
+ "description": "If the coach navigation should be displayed vertically",
5302
+ "fieldName": "vertical"
5268
5303
  }
5269
5304
  ],
5270
5305
  "superclass": {
5271
- "name": "SbbButtonBaseElement",
5272
- "package": "@sbb-esta/lyne-elements/core/base-elements.js"
5306
+ "name": "LitElement",
5307
+ "package": "lit"
5273
5308
  },
5274
- "tagName": "sbb-seat-reservation-place-control",
5309
+ "tagName": "sbb-seat-reservation-navigation-coach",
5275
5310
  "customElement": true
5276
5311
  }
5277
5312
  ],
5278
5313
  "exports": [
5279
5314
  {
5280
5315
  "kind": "js",
5281
- "name": "SbbSeatReservationPlaceControlElement",
5316
+ "name": "SbbSeatReservationNavigationCoachElement",
5282
5317
  "declaration": {
5283
- "name": "SbbSeatReservationPlaceControlElement",
5284
- "module": "seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js"
5318
+ "name": "SbbSeatReservationNavigationCoachElement",
5319
+ "module": "seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js"
5285
5320
  }
5286
5321
  },
5287
5322
  {
5288
5323
  "kind": "custom-element-definition",
5289
- "name": "sbb-seat-reservation-place-control",
5324
+ "name": "sbb-seat-reservation-navigation-coach",
5290
5325
  "declaration": {
5291
- "name": "SbbSeatReservationPlaceControlElement",
5292
- "module": "seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js"
5326
+ "name": "SbbSeatReservationNavigationCoachElement",
5327
+ "module": "seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js"
5293
5328
  }
5294
5329
  }
5295
5330
  ]
5296
5331
  },
5297
5332
  {
5298
5333
  "kind": "javascript-module",
5299
- "path": "seat-reservation/common/mapper/icon-mapper.js",
5334
+ "path": "seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js",
5300
5335
  "declarations": [
5301
5336
  {
5302
- "kind": "variable",
5303
- "name": "mapIconToSvg",
5304
- "type": {
5305
- "text": "Record<string, SeatReservationIcon>"
5337
+ "kind": "class",
5338
+ "description": "Component displays the available service icons of one coach.",
5339
+ "name": "SbbSeatReservationNavigationServicesElement",
5340
+ "members": [
5341
+ {
5342
+ "kind": "field",
5343
+ "name": "propertyIds",
5344
+ "type": {
5345
+ "text": "string[]"
5346
+ },
5347
+ "privacy": "public",
5348
+ "default": "[]",
5349
+ "description": "Coach service property ids, which are used to display the services in the navigation",
5350
+ "attribute": "property-ids"
5351
+ },
5352
+ {
5353
+ "kind": "field",
5354
+ "name": "vertical",
5355
+ "type": {
5356
+ "text": "boolean"
5357
+ },
5358
+ "privacy": "public",
5359
+ "default": "false",
5360
+ "description": "If true, the service icons are displayed vertically",
5361
+ "attribute": "vertical"
5362
+ },
5363
+ {
5364
+ "kind": "field",
5365
+ "name": "_language",
5366
+ "privacy": "private",
5367
+ "default": "new SbbLanguageController(this)"
5368
+ },
5369
+ {
5370
+ "kind": "method",
5371
+ "name": "_getServiceLabelDescription",
5372
+ "privacy": "private",
5373
+ "return": {
5374
+ "type": {
5375
+ "text": "string | null"
5376
+ }
5377
+ }
5378
+ }
5379
+ ],
5380
+ "attributes": [
5381
+ {
5382
+ "name": "property-ids",
5383
+ "type": {
5384
+ "text": "string[]"
5385
+ },
5386
+ "default": "[]",
5387
+ "description": "Coach service property ids, which are used to display the services in the navigation",
5388
+ "fieldName": "propertyIds"
5389
+ },
5390
+ {
5391
+ "name": "vertical",
5392
+ "type": {
5393
+ "text": "boolean"
5394
+ },
5395
+ "default": "false",
5396
+ "description": "If true, the service icons are displayed vertically",
5397
+ "fieldName": "vertical"
5398
+ }
5399
+ ],
5400
+ "superclass": {
5401
+ "name": "LitElement",
5402
+ "package": "lit"
5306
5403
  },
5307
- "default": "{ BICYCLE: { svgName: 'sa-vo' }, BICYCLE_HIGH: { svgName: 'sa-vo' }, BICYCLE_HIGH_ICON: { svgName: 'sa-vo' }, BICYCLE_ICON: { svgName: 'sa-vo' }, BICYCLE_LOW: { svgName: 'sa-vo' }, BICYCLE_LOW_ICON: { svgName: 'sa-vo' }, BICYCLE_MIDDLE: { svgName: 'sa-vo' }, BICYCLE_MIDDLE_ICON: { svgName: 'sa-vo' }, BISTRO: { svgName: 'sa-mi' }, BISTRO_ICON: { svgName: 'sa-mi' }, BUSINESS: { svgName: 'sa-bz' }, BUSINESS_COMFORT: { svgName: 'sa-bz' }, BUSINESS_ICON: { svgName: 'sa-bz' }, COACH_BORDER_MIDDLE: { svg: svgs.chassisRowMiddle }, COACH_WALL_NO_PASSAGE: { svg: svgs.chassisRowOuter }, COACH_PASSAGE: { svg: svgs.chassisPassageWaggonTopLeft }, COMPARTMENT_PASSAGE: { svg: svgs.chassisPassageCompartmentMiddle }, COMPARTMENT_PASSAGE_HIGH: { svg: svgs.chassisPassageCompartmentLeftTop }, COMPARTMENT_PASSAGE_LOW: { svg: svgs.chassisPassageCompartmentRightBottom }, DRIVER_AREA: { svg: svgs.chassisDriverTrain }, DRIVER_AREA_FULL_BUS: { svg: svgs.chassisDriverBus }, DRIVER_AREA_FULL_TRAIN: { svg: svgs.chassisDriverTrainFull }, EASY_ACCESS: { svgName: 'sa-em' }, EASY_ACCESS_AREA: { svgName: 'sa-em' }, EASY_ACCESS_ICON: { svgName: 'sa-em' }, ENTRY_EXIT: { svg: svgs.layoutEntrance }, FAMILY: { svgName: 'sa-fa' }, LUGGAGE_AREA: { svgName: 'sa-ga' }, LUGGAGE_ICON: { svgName: 'sa-ga' }, MULTI_FUNCTION_AREA: { svgName: 'sa-mf' }, MULTI_FUNCTION_ICON: { svgName: 'sa-mf' }, PLACE_BICYCLE_ALLOCATED: { svg: svgs.interiorPlaceBikeUnavailable }, PLACE_BICYCLE_FREE: { svg: svgs.interiorPlaceBikeDefault }, PLACE_BICYCLE_RESTRICTED: { svg: svgs.interiorPlaceBikeNotBookable }, PLACE_BICYCLE_SELECTED: { svg: svgs.interiorPlaceBikeSelected }, PLACE_SEAT_ALLOCATED: { svg: svgs.interiorPlaceSeatUnavailable }, PLACE_SEAT_FREE: { svg: svgs.interiorPlaceSeatDefault }, PLACE_SEAT_RESTRICTED: { svg: svgs.interiorPlaceSeatNotBookable }, PLACE_SEAT_SELECTED: { svg: svgs.interiorPlaceSeatSelected }, PLAYGROUND_AREA: { svgName: 'sa-fa' }, PLAYGROUND_ICON: { svgName: 'sa-fa' }, PRAM: { svgName: 'sa-abteilkinderwagen' }, PRAM_AREA: { svgName: 'sa-abteilkinderwagen' }, PRAM_ICON: { svgName: 'sa-abteilkinderwagen' }, RESTAURANT: { svgName: 'sa-wr' }, RESTAURANT_AREA: { svgName: 'sa-wr' }, RESTAURANT_ICON: { svgName: 'sa-wr' }, SILENCE: { svgName: 'sa-rz' }, SILENCE_AREA_ICON: { svgName: 'sa-rz' }, SILENCE_ICON: { svgName: 'sa-rz' }, SKI_AREA: { svgName: 'sa-sa' }, SKI_ICON: { svgName: 'sa-sa' }, STAIR_AREA: { svgName: 'sa-ac' }, TABLE: { svg: svgs.interiorTable }, TABLE_RESTAURANT: { svg: svgs.interiorTable }, TOILET_AREA: { svgName: 'sa-wc' }, TOILET_ICON: { svgName: 'sa-wc' }, TOILET_WHEELCHAIR_AREA: { svgName: 'sa-rw' }, TOILET_WHEELCHAIR_ICON: { svgName: 'sa-rw' }, WARDROBE_AREA: { svgName: 'sa-ka' }, WHEELCHAIR: { svgName: 'sa-rs' }, WHEELCHAIR_AND_SEAT: { svgName: 'sa-rs' }, WHEELCHAIR_ICON: { svgName: 'sa-rs' }, WHEELCHAIR_NO_SEAT: { svgName: 'sa-rn' }, WIFI: { svgName: 'sa-wv' }, }"
5404
+ "tagName": "sbb-seat-reservation-navigation-services",
5405
+ "customElement": true
5308
5406
  }
5309
5407
  ],
5310
5408
  "exports": [
5311
5409
  {
5312
5410
  "kind": "js",
5313
- "name": "mapIconToSvg",
5411
+ "name": "SbbSeatReservationNavigationServicesElement",
5314
5412
  "declaration": {
5315
- "name": "mapIconToSvg",
5316
- "module": "seat-reservation/common/mapper/icon-mapper.js"
5413
+ "name": "SbbSeatReservationNavigationServicesElement",
5414
+ "module": "seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js"
5415
+ }
5416
+ },
5417
+ {
5418
+ "kind": "custom-element-definition",
5419
+ "name": "sbb-seat-reservation-navigation-services",
5420
+ "declaration": {
5421
+ "name": "SbbSeatReservationNavigationServicesElement",
5422
+ "module": "seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js"
5317
5423
  }
5318
5424
  }
5319
5425
  ]
5320
5426
  },
5321
5427
  {
5322
5428
  "kind": "javascript-module",
5323
- "path": "seat-reservation/common/mapper/mapper.js",
5429
+ "path": "seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js",
5324
5430
  "declarations": [
5325
5431
  {
5326
- "kind": "function",
5327
- "name": "mapRawDataToSeatReservation",
5328
- "return": {
5329
- "type": {
5330
- "text": "SeatReservation"
5331
- }
5332
- },
5333
- "parameters": [
5432
+ "kind": "class",
5433
+ "description": "Output the graphic of a seat or a bicycle place as a control element.",
5434
+ "name": "SbbSeatReservationPlaceControlElement",
5435
+ "members": [
5334
5436
  {
5335
- "name": "vehicleType",
5336
- "type": {
5337
- "text": "VehicleType"
5338
- }
5339
- }
5340
- ],
5341
- "description": "Map function that converts the RAW OSDM mock data into SeatReservation"
5342
- },
5343
- {
5344
- "kind": "function",
5345
- "name": "mapPlaceInfosToPlaceSelection",
5346
- "return": {
5347
- "type": {
5348
- "text": ""
5349
- }
5350
- },
5351
- "parameters": [
5352
- {
5353
- "name": "place",
5437
+ "kind": "field",
5438
+ "name": "events",
5439
+ "privacy": "public",
5440
+ "static": true,
5441
+ "readonly": true,
5442
+ "default": "{ selectPlace: 'selectPlace', }",
5354
5443
  "type": {
5355
- "text": "Place"
5444
+ "text": "{\n selectPlace: 'selectPlace',\n }"
5356
5445
  }
5357
5446
  },
5358
5447
  {
5359
- "name": "coachIndex",
5360
- "type": {
5361
- "text": "number"
5362
- }
5363
- }
5364
- ],
5365
- "description": "Mapped place and coach informations to place selection"
5366
- },
5367
- {
5368
- "kind": "function",
5369
- "name": "mapPlaceAndCoachToSeatReservationPlaceSelection",
5370
- "return": {
5371
- "type": {
5372
- "text": ""
5373
- }
5374
- },
5375
- "parameters": [
5376
- {
5377
- "name": "place",
5448
+ "kind": "field",
5449
+ "name": "placeType",
5378
5450
  "type": {
5379
- "text": "Place"
5380
- }
5451
+ "text": "PlaceType"
5452
+ },
5453
+ "privacy": "public",
5454
+ "default": "'SEAT'",
5455
+ "description": "placeType of the place, e.g. 'SEAT', 'BICYCLE'",
5456
+ "attribute": "type"
5381
5457
  },
5382
5458
  {
5383
- "name": "coach",
5459
+ "kind": "field",
5460
+ "name": "state",
5384
5461
  "type": {
5385
- "text": "CoachItem"
5386
- }
5462
+ "text": "PlaceState"
5463
+ },
5464
+ "privacy": "public",
5465
+ "default": "'FREE'",
5466
+ "description": "state of the place, e.g. 'FREE', 'SELECTED', 'BLOCKED'",
5467
+ "attribute": "state"
5387
5468
  },
5388
5469
  {
5389
- "name": "coachIndex",
5470
+ "kind": "field",
5471
+ "name": "propertyIds",
5390
5472
  "type": {
5391
- "text": "number"
5392
- }
5393
- }
5394
- ],
5395
- "description": "Mapped information from place, coach and the coachindex to the seatReservationPlaceSelection.\nThis Object information is emitted outwards"
5396
- },
5397
- {
5398
- "kind": "function",
5399
- "name": "mapCoachInfosToCoachSelection",
5400
- "return": {
5401
- "type": {
5402
- "text": ""
5403
- }
5404
- },
5405
- "parameters": [
5473
+ "text": "string[]"
5474
+ },
5475
+ "privacy": "public",
5476
+ "default": "[]",
5477
+ "description": "property ids of the place, to display more info about the place",
5478
+ "attribute": "propertyIds"
5479
+ },
5406
5480
  {
5407
- "name": "coachIndex",
5481
+ "kind": "field",
5482
+ "name": "rotation",
5408
5483
  "type": {
5409
5484
  "text": "number"
5410
- }
5485
+ },
5486
+ "privacy": "public",
5487
+ "default": "0",
5488
+ "description": "rotation in degrees (without unit)",
5489
+ "attribute": "rotation"
5411
5490
  },
5412
5491
  {
5413
- "name": "coach",
5414
- "type": {
5415
- "text": "CoachItem"
5416
- }
5417
- }
5418
- ],
5419
- "description": "Mapped coach information to coach selection"
5420
- }
5421
- ],
5422
- "exports": [
5423
- {
5424
- "kind": "js",
5425
- "name": "mapRawDataToSeatReservation",
5426
- "declaration": {
5427
- "name": "mapRawDataToSeatReservation",
5428
- "module": "seat-reservation/common/mapper/mapper.js"
5429
- }
5430
- },
5431
- {
5432
- "kind": "js",
5433
- "name": "mapPlaceInfosToPlaceSelection",
5434
- "declaration": {
5435
- "name": "mapPlaceInfosToPlaceSelection",
5436
- "module": "seat-reservation/common/mapper/mapper.js"
5437
- }
5438
- },
5439
- {
5440
- "kind": "js",
5441
- "name": "mapPlaceAndCoachToSeatReservationPlaceSelection",
5442
- "declaration": {
5443
- "name": "mapPlaceAndCoachToSeatReservationPlaceSelection",
5444
- "module": "seat-reservation/common/mapper/mapper.js"
5445
- }
5446
- },
5447
- {
5448
- "kind": "js",
5449
- "name": "mapCoachInfosToCoachSelection",
5450
- "declaration": {
5451
- "name": "mapCoachInfosToCoachSelection",
5452
- "module": "seat-reservation/common/mapper/mapper.js"
5453
- }
5454
- }
5455
- ]
5456
- },
5457
- {
5458
- "kind": "javascript-module",
5459
- "path": "seat-reservation/common/mapper/seat-reservation-sample-data.js",
5460
- "declarations": [
5461
- {
5462
- "kind": "variable",
5463
- "name": "MOCK_COACHES_RAW_0",
5464
- "type": {
5465
- "text": "array"
5466
- },
5467
- "default": "[ { warnings: null, coachDeckLayout: { id: '80', name: 'B10(501) - not touch', dimension: { width: 58, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [ { travelClass: 'FIRST', accommodationSubType: 'BICYCLE', places: [ { number: '153', rectangle: { position: { x: 26, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '151', rectangle: { position: { x: 26, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '154', rectangle: { position: { x: 26, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'FIRST', accommodationSubType: 'BICYCLE', places: [ { number: '152', rectangle: { position: { x: 26, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'WHEELCHAIR_ICON', places: [ { number: '48', rectangle: { position: { x: 20, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '42', rectangle: { position: { x: 20, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '35', rectangle: { position: { x: 13, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 90, placeLocations: ['WINDOW'], placeProperties: ['AISLE_SEAT', 'WINDOW_SEAT'], state: 'FREE', }, { number: '37', rectangle: { position: { x: 15, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 90, placeLocations: ['WINDOW'], placeProperties: ['AISLE_SEAT', 'WINDOW_SEAT'], state: 'FREE', }, { number: '36', rectangle: { position: { x: 17, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 90, placeLocations: ['WINDOW'], placeProperties: ['AISLE_SEAT', 'WINDOW_SEAT'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '51', rectangle: { position: { x: 38, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '53', rectangle: { position: { x: 38, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '52', rectangle: { position: { x: 43, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '58', rectangle: { position: { x: 43, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '71', rectangle: { position: { x: 51, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '73', rectangle: { position: { x: 51, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '72', rectangle: { position: { x: 55, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '78', rectangle: { position: { x: 55, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, //SPECIAL TEST SET FOR EVERY POSSIBILITY { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '31', rectangle: { position: { x: 13, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'ALLOCATED', }, { number: '33', rectangle: { position: { x: 13, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['TABLE'], placeProperties: [], state: 'RESTRICTED', }, { number: '32', rectangle: { position: { x: 17, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: [], placeProperties: [], state: 'SELECTED', }, { number: '34', rectangle: { position: { x: 17, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '55', rectangle: { position: { x: 38, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '57', rectangle: { position: { x: 38, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '56', rectangle: { position: { x: 43, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '54', rectangle: { position: { x: 43, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '45', rectangle: { position: { x: 19, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 90, placeLocations: ['WINDOW'], placeProperties: ['AISLE_SEAT', 'WINDOW_SEAT'], state: 'FREE', }, { number: '47', rectangle: { position: { x: 21, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 90, placeLocations: ['WINDOW'], placeProperties: ['AISLE_SEAT', 'WINDOW_SEAT'], state: 'FREE', }, { number: '46', rectangle: { position: { x: 23, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 90, placeLocations: ['WINDOW'], placeProperties: ['AISLE_SEAT', 'WINDOW_SEAT'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '65', rectangle: { position: { x: 45, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '67', rectangle: { position: { x: 45, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '66', rectangle: { position: { x: 49, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '64', rectangle: { position: { x: 49, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '61', rectangle: { position: { x: 45, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '63', rectangle: { position: { x: 45, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '62', rectangle: { position: { x: 49, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '68', rectangle: { position: { x: 49, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '75', rectangle: { position: { x: 51, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '77', rectangle: { position: { x: 51, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '76', rectangle: { position: { x: 55, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '74', rectangle: { position: { x: 55, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, ], graphicElements: [ { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 12, height: 10, borderRadius: null, }, }, orientation: 0, type: 'DRIVER_AREA_FULL', }, { rectangle: { position: { x: 7, y: 4, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'STAIR_AREA', }, { rectangle: { position: { x: 7, y: 1, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'WIFI', }, { rectangle: { position: { x: 33, y: 0, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 22, y: 8, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'LUGGAGE_AREA', }, { rectangle: { position: { x: 28, y: 8, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TOILET_AREA', }, { rectangle: { position: { x: 33, y: 9, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 37, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 57, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_PASSAGE', }, { rectangle: { position: { x: 40, y: 4, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'PLAYGROUND_AREA', }, { rectangle: { position: { x: 28, y: 0, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TOILET_WHEELCHAIR_AREA', }, { rectangle: { position: { x: 13, y: 3, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'SKI_AREA', }, { rectangle: { position: { x: 18, y: 3, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'MULTI_FUNCTION_AREA', }, { rectangle: { position: { x: 22, y: 3, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'EASY_ACCESS_AREA', }, { rectangle: { position: { x: 33, y: 6, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'PRAM_AREA', }, ], serviceIcons: [ { rectangle: { position: { x: 40, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, { rectangle: { position: { x: 40, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, ], }, }, { warnings: null, coachDeckLayout: { id: '81', name: 'B10(501) - not touch', dimension: { width: 58, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [ { travelClass: 'SECOND', accommodationSubType: 'BICYCLE_HIGH', places: [ { number: '153', rectangle: { position: { x: 26, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '151', rectangle: { position: { x: 26, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '154', rectangle: { position: { x: 26, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '152', rectangle: { position: { x: 26, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '48', rectangle: { position: { x: 20, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '42', rectangle: { position: { x: 20, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '15', rectangle: { position: { x: 1, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '17', rectangle: { position: { x: 1, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '16', rectangle: { position: { x: 5, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '14', rectangle: { position: { x: 5, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '11', rectangle: { position: { x: 1, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '13', rectangle: { position: { x: 1, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '12', rectangle: { position: { x: 5, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '18', rectangle: { position: { x: 5, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '25', rectangle: { position: { x: 7, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '27', rectangle: { position: { x: 7, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '26', rectangle: { position: { x: 11, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '24', rectangle: { position: { x: 11, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '21', rectangle: { position: { x: 7, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '23', rectangle: { position: { x: 7, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '22', rectangle: { position: { x: 11, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '28', rectangle: { position: { x: 11, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '35', rectangle: { position: { x: 13, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '37', rectangle: { position: { x: 13, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '36', rectangle: { position: { x: 17, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '34', rectangle: { position: { x: 17, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '51', rectangle: { position: { x: 38, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '53', rectangle: { position: { x: 38, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '52', rectangle: { position: { x: 43, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '58', rectangle: { position: { x: 43, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '71', rectangle: { position: { x: 51, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '73', rectangle: { position: { x: 51, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '72', rectangle: { position: { x: 55, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '78', rectangle: { position: { x: 55, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '31', rectangle: { position: { x: 13, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '33', rectangle: { position: { x: 13, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '32', rectangle: { position: { x: 17, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '38', rectangle: { position: { x: 17, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '55', rectangle: { position: { x: 38, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '57', rectangle: { position: { x: 38, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '56', rectangle: { position: { x: 43, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '54', rectangle: { position: { x: 43, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '45', rectangle: { position: { x: 19, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '47', rectangle: { position: { x: 19, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '46', rectangle: { position: { x: 23, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '44', rectangle: { position: { x: 23, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '65', rectangle: { position: { x: 45, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '67', rectangle: { position: { x: 45, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '66', rectangle: { position: { x: 49, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '64', rectangle: { position: { x: 49, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '61', rectangle: { position: { x: 45, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '63', rectangle: { position: { x: 45, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '62', rectangle: { position: { x: 49, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '68', rectangle: { position: { x: 49, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '75', rectangle: { position: { x: 51, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '77', rectangle: { position: { x: 51, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '74', rectangle: { position: { x: 55, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, ], graphicElements: [ { rectangle: { position: { x: 33, y: 0, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 22, y: 6, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'SILENCE_AREA_ICON', }, { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COACH_PASSAGE', }, { rectangle: { position: { x: 33, y: 9, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 37, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 57, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_PASSAGE', }, { rectangle: { position: { x: 34, y: 2, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'BUSINESS', }, { rectangle: { position: { x: 34, y: 6, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'BISTRO', }, { rectangle: { position: { x: 40, y: 4, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'RESTAURANT_ICON', }, ], serviceIcons: [ { rectangle: { position: { x: 40, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 7, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, { rectangle: { position: { x: 40, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 1, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, ], }, }, { warnings: null, coachDeckLayout: { id: '82', name: 'B10(501) - not touch', dimension: { width: 46, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [ { travelClass: 'SECOND', accommodationSubType: 'BISTRO', places: [ { number: '15', rectangle: { position: { x: 1, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '17', rectangle: { position: { x: 1, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '16', rectangle: { position: { x: 5, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '14', rectangle: { position: { x: 5, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'FAMILY', places: [ { number: '11', rectangle: { position: { x: 1, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '13', rectangle: { position: { x: 1, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '12', rectangle: { position: { x: 5, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '18', rectangle: { position: { x: 5, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '25', rectangle: { position: { x: 7, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '27', rectangle: { position: { x: 7, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '26', rectangle: { position: { x: 11, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '24', rectangle: { position: { x: 11, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'WHEELCHAIR_NO_SEAT', places: [ { number: '21', rectangle: { position: { x: 7, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '23', rectangle: { position: { x: 7, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '22', rectangle: { position: { x: 11, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '28', rectangle: { position: { x: 11, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'BICYCLE_ICON', places: [ { number: '153', rectangle: { position: { x: 26, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'ALLOCATED', }, { number: '151', rectangle: { position: { x: 26, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '154', rectangle: { position: { x: 26, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'RESTRICTED', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'BICYCLE_ICON', places: [ { number: '152', rectangle: { position: { x: 26, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'SELECTED', }, ], }, { travelClass: 'FIRST', accommodationSubType: 'PRAM', places: [ { number: '48', rectangle: { position: { x: 20, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '42', rectangle: { position: { x: 20, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'FIRST', accommodationSubType: 'ANY_SEAT', places: [ { number: '35', rectangle: { position: { x: 13, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '37', rectangle: { position: { x: 13, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '36', rectangle: { position: { x: 17, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '34', rectangle: { position: { x: 17, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '51', rectangle: { position: { x: 38, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '53', rectangle: { position: { x: 38, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '52', rectangle: { position: { x: 43, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '58', rectangle: { position: { x: 43, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '31', rectangle: { position: { x: 13, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '33', rectangle: { position: { x: 13, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '32', rectangle: { position: { x: 17, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '38', rectangle: { position: { x: 17, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '55', rectangle: { position: { x: 38, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '57', rectangle: { position: { x: 38, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '56', rectangle: { position: { x: 43, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '54', rectangle: { position: { x: 43, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '45', rectangle: { position: { x: 19, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '47', rectangle: { position: { x: 19, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '46', rectangle: { position: { x: 23, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '44', rectangle: { position: { x: 23, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, ], graphicElements: [ { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COACH_PASSAGE', }, { rectangle: { position: { x: 33, y: 0, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 22, y: 8, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'LUGGAGE_AREA', }, { rectangle: { position: { x: 33, y: 9, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 45, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_WALL_NO_PASSAGE', }, ], serviceIcons: [ { rectangle: { position: { x: 40, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 7, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, { rectangle: { position: { x: 40, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 1, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, ], }, }, // CoachDeckLayout einer DRIVER_AREA mitten im Zug { warnings: null, coachDeckLayout: { id: '86', name: 'B10(501) - not touch', dimension: { width: 32, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [], graphicElements: [ { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COACH_WALL_NO_PASSAGE', }, { rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_WALL_NO_PASSAGE', }, ], serviceIcons: [], }, }, { warnings: null, coachDeckLayout: { id: '843', name: 'B10(501) - not touch', dimension: { width: 46, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [ { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '15', rectangle: { position: { x: 1, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '17', rectangle: { position: { x: 1, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '16', rectangle: { position: { x: 5, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '14', rectangle: { position: { x: 5, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '11', rectangle: { position: { x: 1, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '13', rectangle: { position: { x: 1, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '12', rectangle: { position: { x: 5, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '18', rectangle: { position: { x: 5, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '25', rectangle: { position: { x: 7, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '27', rectangle: { position: { x: 7, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '26', rectangle: { position: { x: 11, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '24', rectangle: { position: { x: 11, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '21', rectangle: { position: { x: 7, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '23', rectangle: { position: { x: 7, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '22', rectangle: { position: { x: 11, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '28', rectangle: { position: { x: 11, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'BICYCLE_ICON', places: [ { number: '153', rectangle: { position: { x: 26, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '151', rectangle: { position: { x: 26, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: ['BICYCLE_LOW'], state: 'FREE', }, { number: '154', rectangle: { position: { x: 26, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'BICYCLE_ICON', places: [ { number: '152', rectangle: { position: { x: 26, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'FIRST', accommodationSubType: 'PRAM', places: [ { number: '48', rectangle: { position: { x: 20, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '42', rectangle: { position: { x: 20, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'FIRST', accommodationSubType: 'ANY_SEAT', places: [ { number: '35', rectangle: { position: { x: 13, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '37', rectangle: { position: { x: 13, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '36', rectangle: { position: { x: 17, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '34', rectangle: { position: { x: 17, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '51', rectangle: { position: { x: 38, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '53', rectangle: { position: { x: 38, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '52', rectangle: { position: { x: 43, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '58', rectangle: { position: { x: 43, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '31', rectangle: { position: { x: 13, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '33', rectangle: { position: { x: 13, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '32', rectangle: { position: { x: 17, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '38', rectangle: { position: { x: 17, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '55', rectangle: { position: { x: 38, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '57', rectangle: { position: { x: 38, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '56', rectangle: { position: { x: 43, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '54', rectangle: { position: { x: 43, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '45', rectangle: { position: { x: 19, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '47', rectangle: { position: { x: 19, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '46', rectangle: { position: { x: 23, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '44', rectangle: { position: { x: 23, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, ], graphicElements: [ { rectangle: { position: { x: 33, y: 0, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 22, y: 8, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'LUGGAGE_AREA', }, { rectangle: { position: { x: 33, y: 9, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 37, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COACH_WALL_NO_PASSAGE', }, { rectangle: { position: { x: 45, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_WALL_NO_PASSAGE', }, ], serviceIcons: [ { rectangle: { position: { x: 40, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 7, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, { rectangle: { position: { x: 40, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 1, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, ], }, }, // noch ein CoachDeckLayout einer DRIVER_AREA diesmal am Ende/Anfang des Zuges { warnings: null, coachDeckLayout: { id: '185', name: 'B10(501) - not touch', dimension: { width: 40, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [], graphicElements: [ { rectangle: { position: { x: 28, y: 0, z: 0, }, dimension: { width: 12, height: 10, borderRadius: null, }, }, orientation: 180, type: 'DRIVER_AREA_FULL', }, { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COACH_WALL_NO_PASSAGE', }, ], serviceIcons: [], }, }, ]"
5468
- },
5469
- {
5470
- "kind": "variable",
5471
- "name": "MOCK_COACHES_RAW_1",
5472
- "type": {
5473
- "text": "array"
5474
- },
5475
- "default": "[ { warnings: null, coachDeckLayout: { id: '32801', name: 'WR6(501) - not touch', dimension: { width: 56, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [ { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '21', rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '22', rectangle: { position: { x: 37, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '41', rectangle: { position: { x: 39, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '42', rectangle: { position: { x: 45, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '61', rectangle: { position: { x: 47, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '62', rectangle: { position: { x: 53, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '13', rectangle: { position: { x: 31, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '14', rectangle: { position: { x: 37, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '11', rectangle: { position: { x: 31, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, { number: '12', rectangle: { position: { x: 37, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '33', rectangle: { position: { x: 39, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '34', rectangle: { position: { x: 45, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '31', rectangle: { position: { x: 39, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, { number: '32', rectangle: { position: { x: 45, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '53', rectangle: { position: { x: 47, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '51', rectangle: { position: { x: 47, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, { number: '52', rectangle: { position: { x: 53, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, ], }, ], graphicElements: [ { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 6, height: 10, borderRadius: null, }, }, orientation: 0, type: 'DRIVER_AREA_FULL', }, { rectangle: { position: { x: 55, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_WALL_NO_PASSAGE', }, { rectangle: { position: { x: 42, y: 6, z: 0, }, dimension: { width: 2, height: 4, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 50, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 34, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 34, y: 6, z: 0, }, dimension: { width: 2, height: 4, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 42, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 50, y: 6, z: 0, }, dimension: { width: 2, height: 4, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, ], serviceIcons: [ { rectangle: { position: { x: 32, y: 3, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'RESTAURANT_ICON', }, { rectangle: { position: { x: 46, y: 3, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'RESTAURANT_ICON', }, ], }, }, ]"
5476
- },
5477
- {
5478
- "kind": "variable",
5479
- "name": "MOCK_COACHES_RAW_REAL_DATA",
5480
- "type": {
5481
- "text": "array"
5482
- },
5483
- "default": "[ { notifications: [], coachDeckLayout: { name: '65200', dimension: { width: 64, height: 10, }, lowFloorEntry: true, id: '30802', deckLevel: 'LOWER_DECK', placeGroups: [ { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '15', rectangle: { position: { x: 14, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '11', rectangle: { position: { x: 14, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '16', rectangle: { position: { x: 17, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '14', rectangle: { position: { x: 17, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '12', rectangle: { position: { x: 17, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '25', rectangle: { position: { x: 20, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '26', rectangle: { position: { x: 24, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '23', rectangle: { position: { x: 20, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '24', rectangle: { position: { x: 24, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '21', rectangle: { position: { x: 20, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '22', rectangle: { position: { x: 24, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '35', rectangle: { position: { x: 27, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '33', rectangle: { position: { x: 27, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '31', rectangle: { position: { x: 27, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '36', rectangle: { position: { x: 30, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '34', rectangle: { position: { x: 30, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '32', rectangle: { position: { x: 30, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '46', rectangle: { position: { x: 33, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '44', rectangle: { position: { x: 33, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '42', rectangle: { position: { x: 33, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '55', rectangle: { position: { x: 44, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '56', rectangle: { position: { x: 49, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '53', rectangle: { position: { x: 44, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '54', rectangle: { position: { x: 49, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '52', rectangle: { position: { x: 48, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '65', rectangle: { position: { x: 51, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '66', rectangle: { position: { x: 55, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '63', rectangle: { position: { x: 51, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '61', rectangle: { position: { x: 51, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '62', rectangle: { position: { x: 55, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '75', rectangle: { position: { x: 57, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '76', rectangle: { position: { x: 61, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '71', rectangle: { position: { x: 57, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '72', rectangle: { position: { x: 61, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, ], graphicElements: [ { rectangle: { position: { x: 0, y: 1, z: 0, }, dimension: { width: 13, height: 8, borderRadius: { topLeft: 3, topRight: 0, bottomRight: 0, bottomLeft: 3, }, }, }, orientation: 0, type: 'DRIVER_AREA', }, { rectangle: { position: { x: 36, y: 0, z: 0, }, dimension: { width: 2, height: 4, }, }, orientation: 0, type: 'LUGGAGE_AREA', }, { rectangle: { position: { x: 44, y: 8, z: 0, }, dimension: { width: 4, height: 2, }, }, orientation: 0, type: 'LUGGAGE_AREA', }, { rectangle: { position: { x: 39, y: 0, z: 0, }, dimension: { width: 4, height: 1, }, }, orientation: 0, type: 'ENTRANCE', }, { rectangle: { position: { x: 38, y: 1, z: 0, }, dimension: { width: 1, height: 4, }, }, orientation: 0, type: 'WALL', }, { rectangle: { position: { x: 38, y: 7, z: 0, }, dimension: { width: 1, height: 2, }, }, orientation: 0, type: 'WALL', }, { rectangle: { position: { x: 43, y: 1, z: 0, }, dimension: { width: 1, height: 4, }, }, orientation: 0, type: 'WALL', }, { rectangle: { position: { x: 43, y: 7, z: 0, }, dimension: { width: 1, height: 2, }, }, orientation: 0, type: 'WALL', }, ], serviceIcons: [ { rectangle: { position: { x: 47, y: 4, z: 0, }, dimension: { width: 1, height: 1, }, }, type: 'WHEELCHAIR_ICON', }, ], }, }, ]",
5484
- "description": "taken from json provided by VAKE;\nAttention: <b>all the type information does not reflect our assumptions</b> and the data was\nmanuelly adjusted."
5485
- }
5486
- ],
5487
- "exports": [
5488
- {
5489
- "kind": "js",
5490
- "name": "MOCK_COACHES_RAW_0",
5491
- "declaration": {
5492
- "name": "MOCK_COACHES_RAW_0",
5493
- "module": "seat-reservation/common/mapper/seat-reservation-sample-data.js"
5494
- }
5495
- },
5496
- {
5497
- "kind": "js",
5498
- "name": "MOCK_COACHES_RAW_1",
5499
- "declaration": {
5500
- "name": "MOCK_COACHES_RAW_1",
5501
- "module": "seat-reservation/common/mapper/seat-reservation-sample-data.js"
5502
- }
5503
- },
5504
- {
5505
- "kind": "js",
5506
- "name": "MOCK_COACHES_RAW_REAL_DATA",
5507
- "declaration": {
5508
- "name": "MOCK_COACHES_RAW_REAL_DATA",
5509
- "module": "seat-reservation/common/mapper/seat-reservation-sample-data.js"
5510
- }
5511
- }
5512
- ]
5513
- },
5514
- {
5515
- "kind": "javascript-module",
5516
- "path": "seat-reservation/common/translations/i18n.js",
5517
- "declarations": [
5518
- {
5519
- "kind": "function",
5520
- "name": "getI18nSeatReservation",
5521
- "return": {
5522
- "type": {
5523
- "text": "string"
5524
- }
5525
- },
5526
- "parameters": [
5527
- {
5528
- "name": "key",
5492
+ "kind": "field",
5493
+ "name": "width",
5529
5494
  "type": {
5530
- "text": "string"
5531
- }
5495
+ "text": "number"
5496
+ },
5497
+ "privacy": "public",
5498
+ "default": "32",
5499
+ "description": "width of the place in pixels (without unit)",
5500
+ "attribute": "width"
5532
5501
  },
5533
5502
  {
5534
- "name": "language",
5503
+ "kind": "field",
5504
+ "name": "height",
5535
5505
  "type": {
5536
- "text": "string"
5537
- }
5506
+ "text": "number"
5507
+ },
5508
+ "privacy": "public",
5509
+ "default": "32",
5510
+ "description": "height of the place in pixels (without unit)",
5511
+ "attribute": "height"
5538
5512
  },
5539
- {
5540
- "name": "args",
5541
- "optional": true,
5542
- "type": {
5543
- "text": "any[]"
5544
- }
5545
- }
5546
- ],
5547
- "description": "get the translated message with key being the requested key and language the current\nlanguage mostly used from SbbLanguageController"
5548
- }
5549
- ],
5550
- "exports": [
5551
- {
5552
- "kind": "js",
5553
- "name": "getI18nSeatReservation",
5554
- "declaration": {
5555
- "name": "getI18nSeatReservation",
5556
- "module": "seat-reservation/common/translations/i18n.js"
5557
- }
5558
- }
5559
- ]
5560
- },
5561
- {
5562
- "kind": "javascript-module",
5563
- "path": "seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js",
5564
- "declarations": [
5565
- {
5566
- "kind": "class",
5567
- "description": "Wrapper class for scoped elements with similar properties to set.",
5568
- "name": "SbbSeatReservationScopedElement",
5569
- "members": [
5570
5513
  {
5571
5514
  "kind": "field",
5572
- "name": "insetBlockStart",
5515
+ "name": "text",
5573
5516
  "type": {
5574
5517
  "text": "string"
5575
5518
  },
5576
5519
  "privacy": "public",
5577
5520
  "default": "''",
5578
- "description": "Inset block start in pixels (without unit)",
5579
- "attribute": "inset-block-start"
5521
+ "description": "label of the place, e.g. '1A', '2B'",
5522
+ "attribute": "text"
5580
5523
  },
5581
5524
  {
5582
5525
  "kind": "field",
5583
- "name": "insetInlineStart",
5526
+ "name": "textRotation",
5584
5527
  "type": {
5585
- "text": "string"
5528
+ "text": "number"
5586
5529
  },
5587
5530
  "privacy": "public",
5588
- "default": "''",
5589
- "description": "Inset inline start in pixels (without unit)",
5590
- "attribute": "inset-inline-start"
5531
+ "default": "0",
5532
+ "description": "Rotation of the text in degrees (without unit)",
5533
+ "attribute": "text-rotation"
5591
5534
  },
5592
5535
  {
5593
5536
  "kind": "field",
5594
- "name": "width",
5537
+ "name": "coachIndex",
5595
5538
  "type": {
5596
- "text": "string"
5539
+ "text": "number"
5597
5540
  },
5598
5541
  "privacy": "public",
5599
- "default": "''",
5600
- "description": "Width of the scoped element in pixels (without unit)",
5601
- "attribute": "width"
5542
+ "default": "null!",
5543
+ "description": "Coach Index Prop to identifier the right place to coach",
5544
+ "attribute": "coach-index"
5602
5545
  },
5603
5546
  {
5604
5547
  "kind": "field",
5605
- "name": "height",
5548
+ "name": "preventClick",
5606
5549
  "type": {
5607
- "text": "string"
5550
+ "text": "boolean"
5608
5551
  },
5609
5552
  "privacy": "public",
5610
- "default": "''",
5611
- "description": "Height of the scoped element in pixels (without unit)",
5612
- "attribute": "height"
5553
+ "default": "false",
5554
+ "description": "Prevent click prop prevent any place action",
5555
+ "attribute": "prevent-click"
5613
5556
  },
5614
5557
  {
5615
5558
  "kind": "field",
5616
- "name": "zIndex",
5559
+ "name": "keyfocus",
5617
5560
  "type": {
5618
5561
  "text": "string"
5619
5562
  },
5620
5563
  "privacy": "public",
5621
- "default": "''",
5622
- "description": "Z-index of the scoped element",
5623
- "attribute": "z-index"
5564
+ "default": "'unfocus'",
5565
+ "description": "Set the place focus outline style",
5566
+ "attribute": "keyfocus"
5624
5567
  },
5625
5568
  {
5626
5569
  "kind": "field",
5627
- "name": "cellId",
5570
+ "name": "placeSelected",
5628
5571
  "type": {
5629
- "text": "string"
5572
+ "text": "EventEmitter<PlaceSelection>"
5630
5573
  },
5631
- "privacy": "public",
5632
- "default": "''",
5633
- "description": "Cell id of the scoped element, if it is used in a table",
5634
- "attribute": "cell-id"
5574
+ "privacy": "protected",
5575
+ "default": "new EventEmitter( this, SbbSeatReservationPlaceControlElement.events.selectPlace, )",
5576
+ "description": "Emits when a place was selected by user."
5635
5577
  },
5636
5578
  {
5637
5579
  "kind": "field",
5638
- "name": "scopedClasses",
5580
+ "name": "_language",
5581
+ "privacy": "private",
5582
+ "default": "new SbbLanguageController(this)"
5583
+ },
5584
+ {
5585
+ "kind": "method",
5586
+ "name": "_getPlaceSvg",
5587
+ "privacy": "private",
5588
+ "return": {
5589
+ "type": {
5590
+ "text": "string"
5591
+ }
5592
+ },
5593
+ "parameters": [
5594
+ {
5595
+ "name": "type",
5596
+ "type": {
5597
+ "text": "PlaceType"
5598
+ }
5599
+ },
5600
+ {
5601
+ "name": "state",
5602
+ "type": {
5603
+ "text": "PlaceState"
5604
+ }
5605
+ }
5606
+ ]
5607
+ },
5608
+ {
5609
+ "kind": "method",
5610
+ "name": "_getTitleDescriptionPlace",
5611
+ "privacy": "private",
5612
+ "return": {
5613
+ "type": {
5614
+ "text": "string"
5615
+ }
5616
+ }
5617
+ },
5618
+ {
5619
+ "kind": "method",
5620
+ "name": "_selectPlace",
5621
+ "privacy": "private",
5622
+ "return": {
5623
+ "type": {
5624
+ "text": "void"
5625
+ }
5626
+ },
5627
+ "description": "If the place selectable, we emit the placeSelection object which contains infos to the place state"
5628
+ }
5629
+ ],
5630
+ "events": [
5631
+ {
5639
5632
  "type": {
5640
- "text": "string"
5633
+ "text": "CustomEvent<PlaceSelection>"
5641
5634
  },
5642
- "privacy": "public",
5643
- "default": "''",
5644
- "description": "Scoped classes for the scoped element",
5645
- "attribute": "scoped-classes"
5635
+ "description": "Emits when a place was selected and returns a PlaceSelection object with necessary place information",
5636
+ "name": "selectPlace"
5646
5637
  }
5647
5638
  ],
5648
5639
  "attributes": [
5649
5640
  {
5650
- "name": "inset-block-start",
5641
+ "name": "type",
5651
5642
  "type": {
5652
- "text": "string"
5643
+ "text": "PlaceType"
5653
5644
  },
5654
- "default": "''",
5655
- "description": "Inset block start in pixels (without unit)",
5656
- "fieldName": "insetBlockStart"
5645
+ "default": "'SEAT'",
5646
+ "description": "placeType of the place, e.g. 'SEAT', 'BICYCLE'",
5647
+ "fieldName": "placeType"
5657
5648
  },
5658
5649
  {
5659
- "name": "inset-inline-start",
5650
+ "name": "state",
5660
5651
  "type": {
5661
- "text": "string"
5652
+ "text": "PlaceState"
5653
+ },
5654
+ "default": "'FREE'",
5655
+ "description": "state of the place, e.g. 'FREE', 'SELECTED', 'BLOCKED'",
5656
+ "fieldName": "state"
5657
+ },
5658
+ {
5659
+ "name": "propertyIds",
5660
+ "type": {
5661
+ "text": "string[]"
5662
+ },
5663
+ "default": "[]",
5664
+ "description": "property ids of the place, to display more info about the place",
5665
+ "fieldName": "propertyIds"
5666
+ },
5667
+ {
5668
+ "name": "rotation",
5669
+ "type": {
5670
+ "text": "number"
5662
5671
  },
5663
- "default": "''",
5664
- "description": "Inset inline start in pixels (without unit)",
5665
- "fieldName": "insetInlineStart"
5672
+ "default": "0",
5673
+ "description": "rotation in degrees (without unit)",
5674
+ "fieldName": "rotation"
5666
5675
  },
5667
5676
  {
5668
5677
  "name": "width",
5669
5678
  "type": {
5670
- "text": "string"
5679
+ "text": "number"
5671
5680
  },
5672
- "default": "''",
5673
- "description": "Width of the scoped element in pixels (without unit)",
5681
+ "default": "32",
5682
+ "description": "width of the place in pixels (without unit)",
5674
5683
  "fieldName": "width"
5675
5684
  },
5676
5685
  {
5677
5686
  "name": "height",
5678
5687
  "type": {
5679
- "text": "string"
5688
+ "text": "number"
5680
5689
  },
5681
- "default": "''",
5682
- "description": "Height of the scoped element in pixels (without unit)",
5690
+ "default": "32",
5691
+ "description": "height of the place in pixels (without unit)",
5683
5692
  "fieldName": "height"
5684
5693
  },
5685
5694
  {
5686
- "name": "z-index",
5695
+ "name": "text",
5687
5696
  "type": {
5688
5697
  "text": "string"
5689
5698
  },
5690
5699
  "default": "''",
5691
- "description": "Z-index of the scoped element",
5692
- "fieldName": "zIndex"
5700
+ "description": "label of the place, e.g. '1A', '2B'",
5701
+ "fieldName": "text"
5693
5702
  },
5694
5703
  {
5695
- "name": "cell-id",
5704
+ "name": "text-rotation",
5696
5705
  "type": {
5697
- "text": "string"
5706
+ "text": "number"
5698
5707
  },
5699
- "default": "''",
5700
- "description": "Cell id of the scoped element, if it is used in a table",
5701
- "fieldName": "cellId"
5708
+ "default": "0",
5709
+ "description": "Rotation of the text in degrees (without unit)",
5710
+ "fieldName": "textRotation"
5702
5711
  },
5703
5712
  {
5704
- "name": "scoped-classes",
5713
+ "name": "coach-index",
5714
+ "type": {
5715
+ "text": "number"
5716
+ },
5717
+ "default": "null!",
5718
+ "description": "Coach Index Prop to identifier the right place to coach",
5719
+ "fieldName": "coachIndex"
5720
+ },
5721
+ {
5722
+ "name": "prevent-click",
5723
+ "type": {
5724
+ "text": "boolean"
5725
+ },
5726
+ "default": "false",
5727
+ "description": "Prevent click prop prevent any place action",
5728
+ "fieldName": "preventClick"
5729
+ },
5730
+ {
5731
+ "name": "keyfocus",
5705
5732
  "type": {
5706
5733
  "text": "string"
5707
5734
  },
5708
- "default": "''",
5709
- "description": "Scoped classes for the scoped element",
5710
- "fieldName": "scopedClasses"
5735
+ "default": "'unfocus'",
5736
+ "description": "Set the place focus outline style",
5737
+ "fieldName": "keyfocus"
5711
5738
  }
5712
5739
  ],
5713
5740
  "superclass": {
5714
- "name": "LitElement",
5715
- "package": "lit"
5741
+ "name": "SbbButtonBaseElement",
5742
+ "package": "@sbb-esta/lyne-elements/core/base-elements.js"
5716
5743
  },
5717
- "tagName": "sbb-seat-reservation-scoped",
5744
+ "tagName": "sbb-seat-reservation-place-control",
5718
5745
  "customElement": true
5719
5746
  }
5720
5747
  ],
5721
5748
  "exports": [
5722
5749
  {
5723
5750
  "kind": "js",
5724
- "name": "SbbSeatReservationScopedElement",
5751
+ "name": "SbbSeatReservationPlaceControlElement",
5725
5752
  "declaration": {
5726
- "name": "SbbSeatReservationScopedElement",
5727
- "module": "seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js"
5753
+ "name": "SbbSeatReservationPlaceControlElement",
5754
+ "module": "seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js"
5728
5755
  }
5729
5756
  },
5730
5757
  {
5731
5758
  "kind": "custom-element-definition",
5732
- "name": "sbb-seat-reservation-scoped",
5759
+ "name": "sbb-seat-reservation-place-control",
5733
5760
  "declaration": {
5734
- "name": "SbbSeatReservationScopedElement",
5735
- "module": "seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js"
5761
+ "name": "SbbSeatReservationPlaceControlElement",
5762
+ "module": "seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js"
5736
5763
  }
5737
5764
  }
5738
5765
  ]
5739
5766
  },
5740
5767
  {
5741
5768
  "kind": "javascript-module",
5742
- "path": "seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js",
5769
+ "path": "seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js",
5743
5770
  "declarations": [
5744
5771
  {
5745
5772
  "kind": "class",
5746
- "description": "This component will display the navigation coach item for Seat reservation.",
5747
- "name": "SbbSeatReservationNavigationCoachElement",
5773
+ "description": "Wrapper class for scoped elements with similar properties to set.",
5774
+ "name": "SbbSeatReservationScopedElement",
5748
5775
  "members": [
5749
5776
  {
5750
5777
  "kind": "field",
5751
- "name": "events",
5752
- "privacy": "public",
5753
- "static": true,
5754
- "readonly": true,
5755
- "default": "{ selectCoach: 'selectCoach', focusCoach: 'focusCoach', }",
5756
- "type": {
5757
- "text": "{\n selectCoach: 'selectCoach',\n focusCoach: 'focusCoach',\n }"
5758
- }
5759
- },
5760
- {
5761
- "kind": "field",
5762
- "name": "coachId",
5778
+ "name": "insetBlockStart",
5763
5779
  "type": {
5764
5780
  "text": "string"
5765
5781
  },
5766
5782
  "privacy": "public",
5767
5783
  "default": "''",
5768
- "description": "Coach ID, which is used to identify the coach in the navigation",
5769
- "attribute": "coach-id"
5770
- },
5771
- {
5772
- "kind": "field",
5773
- "name": "propertyIds",
5774
- "type": {
5775
- "text": "string[]"
5776
- },
5777
- "privacy": "public",
5778
- "default": "[]",
5779
- "description": "Coach service property ids, which are used to display the services in the navigation",
5780
- "attribute": "property-ids"
5781
- },
5782
- {
5783
- "kind": "field",
5784
- "name": "selected",
5785
- "type": {
5786
- "text": "boolean"
5787
- },
5788
- "privacy": "public",
5789
- "default": "false",
5790
- "attribute": "selected"
5791
- },
5792
- {
5793
- "kind": "field",
5794
- "name": "focused",
5795
- "type": {
5796
- "text": "boolean"
5797
- },
5798
- "privacy": "public",
5799
- "default": "false",
5800
- "attribute": "focused"
5801
- },
5802
- {
5803
- "kind": "field",
5804
- "name": "index",
5805
- "type": {
5806
- "text": "number"
5807
- },
5808
- "privacy": "public",
5809
- "default": "0",
5810
- "attribute": "index"
5811
- },
5812
- {
5813
- "kind": "field",
5814
- "name": "travelClass",
5815
- "type": {
5816
- "text": "PlaceTravelClass[]"
5817
- },
5818
- "privacy": "public",
5819
- "default": "['ANY_CLASS']",
5820
- "description": "Travel class of the coach",
5821
- "attribute": "travel-class"
5822
- },
5823
- {
5824
- "kind": "field",
5825
- "name": "driverArea",
5826
- "type": {
5827
- "text": "boolean"
5828
- },
5829
- "privacy": "public",
5830
- "default": "false",
5831
- "description": "If the coach is a driver/restricted area",
5832
- "attribute": "driver-area"
5833
- },
5834
- {
5835
- "kind": "field",
5836
- "name": "first",
5837
- "type": {
5838
- "text": "boolean"
5839
- },
5840
- "privacy": "public",
5841
- "default": "false",
5842
- "description": "If the coach is the first in the navigation",
5843
- "attribute": "first"
5844
- },
5845
- {
5846
- "kind": "field",
5847
- "name": "last",
5848
- "type": {
5849
- "text": "boolean"
5850
- },
5851
- "privacy": "public",
5852
- "default": "false",
5853
- "description": "If the coach is the last in the navigation",
5854
- "attribute": "last"
5855
- },
5856
- {
5857
- "kind": "field",
5858
- "name": "disable",
5859
- "type": {
5860
- "text": "boolean"
5861
- },
5862
- "privacy": "public",
5863
- "default": "false",
5864
- "description": "Disable the coach navigation",
5865
- "attribute": "disable"
5866
- },
5867
- {
5868
- "kind": "field",
5869
- "name": "vertical",
5870
- "type": {
5871
- "text": "boolean"
5872
- },
5873
- "privacy": "public",
5874
- "default": "false",
5875
- "description": "If the coach navigation should be displayed vertically",
5876
- "attribute": "vertical"
5877
- },
5878
- {
5879
- "kind": "field",
5880
- "name": "_language",
5881
- "privacy": "private",
5882
- "default": "new SbbLanguageController(this)"
5883
- },
5884
- {
5885
- "kind": "field",
5886
- "name": "selectNavCoach",
5887
- "type": {
5888
- "text": "EventEmitter<SelectCoachEventDetails>"
5889
- },
5890
- "privacy": "protected",
5891
- "default": "new EventEmitter( this, SbbSeatReservationNavigationCoachElement.events.selectCoach, )",
5892
- "description": "Emits when a coach within the navigation was selected"
5893
- },
5894
- {
5895
- "kind": "field",
5896
- "name": "focusNavCoach",
5897
- "type": {
5898
- "text": "EventEmitter<void>"
5899
- },
5900
- "privacy": "protected",
5901
- "default": "new EventEmitter( this, SbbSeatReservationNavigationCoachElement.events.focusCoach, )"
5902
- },
5903
- {
5904
- "kind": "method",
5905
- "name": "_getNavigationButton",
5906
- "privacy": "private",
5907
- "return": {
5908
- "type": {
5909
- "text": "TemplateResult | null"
5910
- }
5911
- }
5912
- },
5913
- {
5914
- "kind": "method",
5915
- "name": "_getBtnInformation",
5916
- "privacy": "private",
5917
- "return": {
5918
- "type": {
5919
- "text": "TemplateResult | null"
5920
- }
5921
- },
5922
- "parameters": [
5923
- {
5924
- "name": "serviceClassNumber",
5925
- "type": {
5926
- "text": "number | null"
5927
- }
5928
- }
5929
- ]
5784
+ "description": "Inset block start in pixels (without unit)",
5785
+ "attribute": "inset-block-start"
5930
5786
  },
5931
5787
  {
5932
- "kind": "method",
5933
- "name": "_getTitleDescriptionNavCoachButton",
5934
- "privacy": "private",
5935
- "return": {
5936
- "type": {
5937
- "text": "string"
5938
- }
5788
+ "kind": "field",
5789
+ "name": "insetInlineStart",
5790
+ "type": {
5791
+ "text": "string"
5939
5792
  },
5940
- "parameters": [
5941
- {
5942
- "name": "serviceClassNumber",
5943
- "type": {
5944
- "text": "number | null"
5945
- }
5946
- }
5947
- ]
5793
+ "privacy": "public",
5794
+ "default": "''",
5795
+ "description": "Inset inline start in pixels (without unit)",
5796
+ "attribute": "inset-inline-start"
5948
5797
  },
5949
5798
  {
5950
- "kind": "method",
5951
- "name": "_getAriaDescriptionCoachServices",
5952
- "privacy": "private",
5953
- "return": {
5954
- "type": {
5955
- "text": "string | null"
5956
- }
5957
- }
5799
+ "kind": "field",
5800
+ "name": "width",
5801
+ "type": {
5802
+ "text": "string"
5803
+ },
5804
+ "privacy": "public",
5805
+ "default": "''",
5806
+ "description": "Width of the scoped element in pixels (without unit)",
5807
+ "attribute": "width"
5958
5808
  },
5959
5809
  {
5960
- "kind": "method",
5961
- "name": "_selectNavCoach",
5962
- "privacy": "private",
5963
- "return": {
5964
- "type": {
5965
- "text": "void"
5966
- }
5810
+ "kind": "field",
5811
+ "name": "height",
5812
+ "type": {
5813
+ "text": "string"
5967
5814
  },
5968
- "parameters": [
5969
- {
5970
- "name": "coachIndex",
5971
- "type": {
5972
- "text": "number"
5973
- }
5974
- }
5975
- ],
5976
- "description": "emits the index of the coach array for the main navigation."
5815
+ "privacy": "public",
5816
+ "default": "''",
5817
+ "description": "Height of the scoped element in pixels (without unit)",
5818
+ "attribute": "height"
5977
5819
  },
5978
5820
  {
5979
- "kind": "method",
5980
- "name": "_getCoachServiceClassNumber",
5981
- "privacy": "private",
5982
- "return": {
5983
- "type": {
5984
- "text": "number | null"
5985
- }
5986
- }
5987
- }
5988
- ],
5989
- "events": [
5821
+ "kind": "field",
5822
+ "name": "zIndex",
5823
+ "type": {
5824
+ "text": "string"
5825
+ },
5826
+ "privacy": "public",
5827
+ "default": "''",
5828
+ "description": "Z-index of the scoped element",
5829
+ "attribute": "z-index"
5830
+ },
5990
5831
  {
5832
+ "kind": "field",
5833
+ "name": "cellId",
5991
5834
  "type": {
5992
- "text": "CustomEvent<SelectCoachEventDetails>"
5835
+ "text": "string"
5993
5836
  },
5994
- "description": "Emits when a coach within the navigation was selected and returns the clicked coach nav index",
5995
- "name": "selectCoach"
5837
+ "privacy": "public",
5838
+ "default": "''",
5839
+ "description": "Cell id of the scoped element, if it is used in a table",
5840
+ "attribute": "cell-id"
5996
5841
  },
5997
5842
  {
5843
+ "kind": "field",
5844
+ "name": "scopedClasses",
5998
5845
  "type": {
5999
- "text": "CustomEvent<void>"
5846
+ "text": "string"
6000
5847
  },
6001
- "description": "Emits when a nav coach has the focus",
6002
- "name": "focusCoach"
5848
+ "privacy": "public",
5849
+ "default": "''",
5850
+ "description": "Scoped classes for the scoped element",
5851
+ "attribute": "scoped-classes"
6003
5852
  }
6004
5853
  ],
6005
5854
  "attributes": [
6006
5855
  {
6007
- "name": "coach-id",
5856
+ "name": "inset-block-start",
6008
5857
  "type": {
6009
5858
  "text": "string"
6010
5859
  },
6011
5860
  "default": "''",
6012
- "description": "Coach ID, which is used to identify the coach in the navigation",
6013
- "fieldName": "coachId"
5861
+ "description": "Inset block start in pixels (without unit)",
5862
+ "fieldName": "insetBlockStart"
6014
5863
  },
6015
5864
  {
6016
- "name": "property-ids",
5865
+ "name": "inset-inline-start",
6017
5866
  "type": {
6018
- "text": "string[]"
5867
+ "text": "string"
6019
5868
  },
6020
- "default": "[]",
6021
- "description": "Coach service property ids, which are used to display the services in the navigation",
6022
- "fieldName": "propertyIds"
5869
+ "default": "''",
5870
+ "description": "Inset inline start in pixels (without unit)",
5871
+ "fieldName": "insetInlineStart"
6023
5872
  },
6024
5873
  {
6025
- "name": "selected",
5874
+ "name": "width",
6026
5875
  "type": {
6027
- "text": "boolean"
5876
+ "text": "string"
6028
5877
  },
6029
- "default": "false",
6030
- "fieldName": "selected"
5878
+ "default": "''",
5879
+ "description": "Width of the scoped element in pixels (without unit)",
5880
+ "fieldName": "width"
6031
5881
  },
6032
5882
  {
6033
- "name": "focused",
5883
+ "name": "height",
6034
5884
  "type": {
6035
- "text": "boolean"
5885
+ "text": "string"
6036
5886
  },
6037
- "default": "false",
6038
- "fieldName": "focused"
5887
+ "default": "''",
5888
+ "description": "Height of the scoped element in pixels (without unit)",
5889
+ "fieldName": "height"
6039
5890
  },
6040
5891
  {
6041
- "name": "index",
5892
+ "name": "z-index",
6042
5893
  "type": {
6043
- "text": "number"
5894
+ "text": "string"
6044
5895
  },
6045
- "default": "0",
6046
- "fieldName": "index"
5896
+ "default": "''",
5897
+ "description": "Z-index of the scoped element",
5898
+ "fieldName": "zIndex"
6047
5899
  },
6048
5900
  {
6049
- "name": "travel-class",
5901
+ "name": "cell-id",
6050
5902
  "type": {
6051
- "text": "PlaceTravelClass[]"
5903
+ "text": "string"
6052
5904
  },
6053
- "default": "['ANY_CLASS']",
6054
- "description": "Travel class of the coach",
6055
- "fieldName": "travelClass"
5905
+ "default": "''",
5906
+ "description": "Cell id of the scoped element, if it is used in a table",
5907
+ "fieldName": "cellId"
5908
+ },
5909
+ {
5910
+ "name": "scoped-classes",
5911
+ "type": {
5912
+ "text": "string"
5913
+ },
5914
+ "default": "''",
5915
+ "description": "Scoped classes for the scoped element",
5916
+ "fieldName": "scopedClasses"
5917
+ }
5918
+ ],
5919
+ "superclass": {
5920
+ "name": "LitElement",
5921
+ "package": "lit"
5922
+ },
5923
+ "tagName": "sbb-seat-reservation-scoped",
5924
+ "customElement": true
5925
+ }
5926
+ ],
5927
+ "exports": [
5928
+ {
5929
+ "kind": "js",
5930
+ "name": "SbbSeatReservationScopedElement",
5931
+ "declaration": {
5932
+ "name": "SbbSeatReservationScopedElement",
5933
+ "module": "seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js"
5934
+ }
5935
+ },
5936
+ {
5937
+ "kind": "custom-element-definition",
5938
+ "name": "sbb-seat-reservation-scoped",
5939
+ "declaration": {
5940
+ "name": "SbbSeatReservationScopedElement",
5941
+ "module": "seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js"
5942
+ }
5943
+ }
5944
+ ]
5945
+ },
5946
+ {
5947
+ "kind": "javascript-module",
5948
+ "path": "seat-reservation/common/mapper/icon-mapper.js",
5949
+ "declarations": [
5950
+ {
5951
+ "kind": "variable",
5952
+ "name": "mapIconToSvg",
5953
+ "type": {
5954
+ "text": "Record<string, SeatReservationIcon>"
5955
+ },
5956
+ "default": "{ BICYCLE: { svgName: 'sa-vo' }, BICYCLE_HIGH: { svgName: 'sa-vo' }, BICYCLE_HIGH_ICON: { svgName: 'sa-vo' }, BICYCLE_ICON: { svgName: 'sa-vo' }, BICYCLE_LOW: { svgName: 'sa-vo' }, BICYCLE_LOW_ICON: { svgName: 'sa-vo' }, BICYCLE_MIDDLE: { svgName: 'sa-vo' }, BICYCLE_MIDDLE_ICON: { svgName: 'sa-vo' }, BISTRO: { svgName: 'sa-mi' }, BISTRO_ICON: { svgName: 'sa-mi' }, BUSINESS: { svgName: 'sa-bz' }, BUSINESS_COMFORT: { svgName: 'sa-bz' }, BUSINESS_ICON: { svgName: 'sa-bz' }, COACH_BORDER_MIDDLE: { svg: svgs.chassisRowMiddle }, COACH_WALL_NO_PASSAGE: { svg: svgs.chassisRowOuter }, COACH_PASSAGE: { svg: svgs.chassisPassageWaggonTopLeft }, COMPARTMENT_PASSAGE: { svg: svgs.chassisPassageCompartmentMiddle }, COMPARTMENT_PASSAGE_HIGH: { svg: svgs.chassisPassageCompartmentLeftTop }, COMPARTMENT_PASSAGE_LOW: { svg: svgs.chassisPassageCompartmentRightBottom }, DRIVER_AREA: { svg: svgs.chassisDriverTrain }, DRIVER_AREA_FULL_BUS: { svg: svgs.chassisDriverBus }, DRIVER_AREA_FULL_TRAIN: { svg: svgs.chassisDriverTrainFull }, EASY_ACCESS: { svgName: 'sa-em' }, EASY_ACCESS_AREA: { svgName: 'sa-em' }, EASY_ACCESS_ICON: { svgName: 'sa-em' }, ENTRY_EXIT: { svg: svgs.layoutEntrance }, FAMILY: { svgName: 'sa-fa' }, LUGGAGE_AREA: { svgName: 'sa-ga' }, LUGGAGE_ICON: { svgName: 'sa-ga' }, MULTI_FUNCTION_AREA: { svgName: 'sa-mf' }, MULTI_FUNCTION_ICON: { svgName: 'sa-mf' }, PLACE_BICYCLE_ALLOCATED: { svg: svgs.interiorPlaceBikeUnavailable }, PLACE_BICYCLE_FREE: { svg: svgs.interiorPlaceBikeDefault }, PLACE_BICYCLE_RESTRICTED: { svg: svgs.interiorPlaceBikeNotBookable }, PLACE_BICYCLE_SELECTED: { svg: svgs.interiorPlaceBikeSelected }, PLACE_SEAT_ALLOCATED: { svg: svgs.interiorPlaceSeatUnavailable }, PLACE_SEAT_FREE: { svg: svgs.interiorPlaceSeatDefault }, PLACE_SEAT_RESTRICTED: { svg: svgs.interiorPlaceSeatNotBookable }, PLACE_SEAT_SELECTED: { svg: svgs.interiorPlaceSeatSelected }, PLAYGROUND_AREA: { svgName: 'sa-fa' }, PLAYGROUND_ICON: { svgName: 'sa-fa' }, PRAM: { svgName: 'sa-abteilkinderwagen' }, PRAM_AREA: { svgName: 'sa-abteilkinderwagen' }, PRAM_ICON: { svgName: 'sa-abteilkinderwagen' }, RESTAURANT: { svgName: 'sa-wr' }, RESTAURANT_AREA: { svgName: 'sa-wr' }, RESTAURANT_ICON: { svgName: 'sa-wr' }, SILENCE: { svgName: 'sa-rz' }, SILENCE_AREA_ICON: { svgName: 'sa-rz' }, SILENCE_ICON: { svgName: 'sa-rz' }, SKI_AREA: { svgName: 'sa-sa' }, SKI_ICON: { svgName: 'sa-sa' }, STAIR_AREA: { svgName: 'sa-ac' }, TABLE: { svg: svgs.interiorTable }, TABLE_RESTAURANT: { svg: svgs.interiorTable }, TOILET_AREA: { svgName: 'sa-wc' }, TOILET_ICON: { svgName: 'sa-wc' }, TOILET_WHEELCHAIR_AREA: { svgName: 'sa-rw' }, TOILET_WHEELCHAIR_ICON: { svgName: 'sa-rw' }, WARDROBE_AREA: { svgName: 'sa-ka' }, WHEELCHAIR: { svgName: 'sa-rs' }, WHEELCHAIR_AND_SEAT: { svgName: 'sa-rs' }, WHEELCHAIR_ICON: { svgName: 'sa-rs' }, WHEELCHAIR_NO_SEAT: { svgName: 'sa-rn' }, WIFI: { svgName: 'sa-wv' }, }"
5957
+ }
5958
+ ],
5959
+ "exports": [
5960
+ {
5961
+ "kind": "js",
5962
+ "name": "mapIconToSvg",
5963
+ "declaration": {
5964
+ "name": "mapIconToSvg",
5965
+ "module": "seat-reservation/common/mapper/icon-mapper.js"
5966
+ }
5967
+ }
5968
+ ]
5969
+ },
5970
+ {
5971
+ "kind": "javascript-module",
5972
+ "path": "seat-reservation/common/mapper/mapper.js",
5973
+ "declarations": [
5974
+ {
5975
+ "kind": "function",
5976
+ "name": "mapRawDataToSeatReservation",
5977
+ "return": {
5978
+ "type": {
5979
+ "text": "SeatReservation"
5980
+ }
5981
+ },
5982
+ "parameters": [
5983
+ {
5984
+ "name": "vehicleType",
5985
+ "type": {
5986
+ "text": "VehicleType"
5987
+ }
5988
+ }
5989
+ ],
5990
+ "description": "Map function that converts the RAW OSDM mock data into SeatReservation"
5991
+ },
5992
+ {
5993
+ "kind": "function",
5994
+ "name": "mapPlaceInfosToPlaceSelection",
5995
+ "return": {
5996
+ "type": {
5997
+ "text": ""
5998
+ }
5999
+ },
6000
+ "parameters": [
6001
+ {
6002
+ "name": "place",
6003
+ "type": {
6004
+ "text": "Place"
6005
+ }
6056
6006
  },
6057
6007
  {
6058
- "name": "driver-area",
6008
+ "name": "coachIndex",
6059
6009
  "type": {
6060
- "text": "boolean"
6061
- },
6062
- "default": "false",
6063
- "description": "If the coach is a driver/restricted area",
6064
- "fieldName": "driverArea"
6065
- },
6010
+ "text": "number"
6011
+ }
6012
+ }
6013
+ ],
6014
+ "description": "Mapped place and coach informations to place selection"
6015
+ },
6016
+ {
6017
+ "kind": "function",
6018
+ "name": "mapPlaceAndCoachToSeatReservationPlaceSelection",
6019
+ "return": {
6020
+ "type": {
6021
+ "text": ""
6022
+ }
6023
+ },
6024
+ "parameters": [
6066
6025
  {
6067
- "name": "first",
6026
+ "name": "place",
6068
6027
  "type": {
6069
- "text": "boolean"
6070
- },
6071
- "default": "false",
6072
- "description": "If the coach is the first in the navigation",
6073
- "fieldName": "first"
6028
+ "text": "Place"
6029
+ }
6074
6030
  },
6075
6031
  {
6076
- "name": "last",
6032
+ "name": "coach",
6077
6033
  "type": {
6078
- "text": "boolean"
6079
- },
6080
- "default": "false",
6081
- "description": "If the coach is the last in the navigation",
6082
- "fieldName": "last"
6034
+ "text": "CoachItem"
6035
+ }
6083
6036
  },
6084
6037
  {
6085
- "name": "disable",
6038
+ "name": "coachIndex",
6086
6039
  "type": {
6087
- "text": "boolean"
6088
- },
6089
- "default": "false",
6090
- "description": "Disable the coach navigation",
6091
- "fieldName": "disable"
6040
+ "text": "number"
6041
+ }
6042
+ }
6043
+ ],
6044
+ "description": "Mapped information from place, coach and the coachindex to the seatReservationPlaceSelection.\nThis Object information is emitted outwards"
6045
+ },
6046
+ {
6047
+ "kind": "function",
6048
+ "name": "mapCoachInfosToCoachSelection",
6049
+ "return": {
6050
+ "type": {
6051
+ "text": ""
6052
+ }
6053
+ },
6054
+ "parameters": [
6055
+ {
6056
+ "name": "coachIndex",
6057
+ "type": {
6058
+ "text": "number"
6059
+ }
6092
6060
  },
6093
6061
  {
6094
- "name": "vertical",
6062
+ "name": "coach",
6095
6063
  "type": {
6096
- "text": "boolean"
6097
- },
6098
- "default": "false",
6099
- "description": "If the coach navigation should be displayed vertically",
6100
- "fieldName": "vertical"
6064
+ "text": "CoachItem"
6065
+ }
6101
6066
  }
6102
6067
  ],
6103
- "superclass": {
6104
- "name": "LitElement",
6105
- "package": "lit"
6068
+ "description": "Mapped coach information to coach selection"
6069
+ }
6070
+ ],
6071
+ "exports": [
6072
+ {
6073
+ "kind": "js",
6074
+ "name": "mapRawDataToSeatReservation",
6075
+ "declaration": {
6076
+ "name": "mapRawDataToSeatReservation",
6077
+ "module": "seat-reservation/common/mapper/mapper.js"
6078
+ }
6079
+ },
6080
+ {
6081
+ "kind": "js",
6082
+ "name": "mapPlaceInfosToPlaceSelection",
6083
+ "declaration": {
6084
+ "name": "mapPlaceInfosToPlaceSelection",
6085
+ "module": "seat-reservation/common/mapper/mapper.js"
6086
+ }
6087
+ },
6088
+ {
6089
+ "kind": "js",
6090
+ "name": "mapPlaceAndCoachToSeatReservationPlaceSelection",
6091
+ "declaration": {
6092
+ "name": "mapPlaceAndCoachToSeatReservationPlaceSelection",
6093
+ "module": "seat-reservation/common/mapper/mapper.js"
6094
+ }
6095
+ },
6096
+ {
6097
+ "kind": "js",
6098
+ "name": "mapCoachInfosToCoachSelection",
6099
+ "declaration": {
6100
+ "name": "mapCoachInfosToCoachSelection",
6101
+ "module": "seat-reservation/common/mapper/mapper.js"
6102
+ }
6103
+ }
6104
+ ]
6105
+ },
6106
+ {
6107
+ "kind": "javascript-module",
6108
+ "path": "seat-reservation/common/mapper/seat-reservation-sample-data.js",
6109
+ "declarations": [
6110
+ {
6111
+ "kind": "variable",
6112
+ "name": "MOCK_COACHES_RAW_0",
6113
+ "type": {
6114
+ "text": "array"
6106
6115
  },
6107
- "tagName": "sbb-seat-reservation-navigation-coach",
6108
- "customElement": true
6116
+ "default": "[ { warnings: null, coachDeckLayout: { id: '80', name: 'B10(501) - not touch', dimension: { width: 58, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [ { travelClass: 'FIRST', accommodationSubType: 'BICYCLE', places: [ { number: '153', rectangle: { position: { x: 26, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '151', rectangle: { position: { x: 26, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '154', rectangle: { position: { x: 26, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'FIRST', accommodationSubType: 'BICYCLE', places: [ { number: '152', rectangle: { position: { x: 26, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'WHEELCHAIR_ICON', places: [ { number: '48', rectangle: { position: { x: 20, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '42', rectangle: { position: { x: 20, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '35', rectangle: { position: { x: 13, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 90, placeLocations: ['WINDOW'], placeProperties: ['AISLE_SEAT', 'WINDOW_SEAT'], state: 'FREE', }, { number: '37', rectangle: { position: { x: 15, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 90, placeLocations: ['WINDOW'], placeProperties: ['AISLE_SEAT', 'WINDOW_SEAT'], state: 'FREE', }, { number: '36', rectangle: { position: { x: 17, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 90, placeLocations: ['WINDOW'], placeProperties: ['AISLE_SEAT', 'WINDOW_SEAT'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '51', rectangle: { position: { x: 38, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '53', rectangle: { position: { x: 38, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '52', rectangle: { position: { x: 43, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '58', rectangle: { position: { x: 43, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '71', rectangle: { position: { x: 51, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '73', rectangle: { position: { x: 51, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '72', rectangle: { position: { x: 55, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '78', rectangle: { position: { x: 55, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, //SPECIAL TEST SET FOR EVERY POSSIBILITY { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '31', rectangle: { position: { x: 13, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'ALLOCATED', }, { number: '33', rectangle: { position: { x: 13, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['TABLE'], placeProperties: [], state: 'RESTRICTED', }, { number: '32', rectangle: { position: { x: 17, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: [], placeProperties: [], state: 'SELECTED', }, { number: '34', rectangle: { position: { x: 17, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '55', rectangle: { position: { x: 38, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '57', rectangle: { position: { x: 38, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '56', rectangle: { position: { x: 43, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '54', rectangle: { position: { x: 43, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '45', rectangle: { position: { x: 19, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 90, placeLocations: ['WINDOW'], placeProperties: ['AISLE_SEAT', 'WINDOW_SEAT'], state: 'FREE', }, { number: '47', rectangle: { position: { x: 21, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 90, placeLocations: ['WINDOW'], placeProperties: ['AISLE_SEAT', 'WINDOW_SEAT'], state: 'FREE', }, { number: '46', rectangle: { position: { x: 23, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 90, placeLocations: ['WINDOW'], placeProperties: ['AISLE_SEAT', 'WINDOW_SEAT'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '65', rectangle: { position: { x: 45, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '67', rectangle: { position: { x: 45, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '66', rectangle: { position: { x: 49, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '64', rectangle: { position: { x: 49, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '61', rectangle: { position: { x: 45, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '63', rectangle: { position: { x: 45, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '62', rectangle: { position: { x: 49, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '68', rectangle: { position: { x: 49, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '75', rectangle: { position: { x: 51, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '77', rectangle: { position: { x: 51, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '76', rectangle: { position: { x: 55, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '74', rectangle: { position: { x: 55, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, ], graphicElements: [ { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 12, height: 10, borderRadius: null, }, }, orientation: 0, type: 'DRIVER_AREA_FULL', }, { rectangle: { position: { x: 7, y: 4, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'STAIR_AREA', }, { rectangle: { position: { x: 7, y: 1, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'WIFI', }, { rectangle: { position: { x: 33, y: 0, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 22, y: 8, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'LUGGAGE_AREA', }, { rectangle: { position: { x: 28, y: 8, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TOILET_AREA', }, { rectangle: { position: { x: 33, y: 9, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 37, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 57, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_PASSAGE', }, { rectangle: { position: { x: 40, y: 4, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'PLAYGROUND_AREA', }, { rectangle: { position: { x: 28, y: 0, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TOILET_WHEELCHAIR_AREA', }, { rectangle: { position: { x: 13, y: 3, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'SKI_AREA', }, { rectangle: { position: { x: 18, y: 3, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'MULTI_FUNCTION_AREA', }, { rectangle: { position: { x: 22, y: 3, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'EASY_ACCESS_AREA', }, { rectangle: { position: { x: 33, y: 6, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'PRAM_AREA', }, ], serviceIcons: [ { rectangle: { position: { x: 40, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, { rectangle: { position: { x: 40, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, ], }, }, { warnings: null, coachDeckLayout: { id: '81', name: 'B10(501) - not touch', dimension: { width: 58, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [ { travelClass: 'SECOND', accommodationSubType: 'BICYCLE_HIGH', places: [ { number: '153', rectangle: { position: { x: 26, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '151', rectangle: { position: { x: 26, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '154', rectangle: { position: { x: 26, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '152', rectangle: { position: { x: 26, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '48', rectangle: { position: { x: 20, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '42', rectangle: { position: { x: 20, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '15', rectangle: { position: { x: 1, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '17', rectangle: { position: { x: 1, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '16', rectangle: { position: { x: 5, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '14', rectangle: { position: { x: 5, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '11', rectangle: { position: { x: 1, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '13', rectangle: { position: { x: 1, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '12', rectangle: { position: { x: 5, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '18', rectangle: { position: { x: 5, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '25', rectangle: { position: { x: 7, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '27', rectangle: { position: { x: 7, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '26', rectangle: { position: { x: 11, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '24', rectangle: { position: { x: 11, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '21', rectangle: { position: { x: 7, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '23', rectangle: { position: { x: 7, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '22', rectangle: { position: { x: 11, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '28', rectangle: { position: { x: 11, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '35', rectangle: { position: { x: 13, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '37', rectangle: { position: { x: 13, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '36', rectangle: { position: { x: 17, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '34', rectangle: { position: { x: 17, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '51', rectangle: { position: { x: 38, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '53', rectangle: { position: { x: 38, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '52', rectangle: { position: { x: 43, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '58', rectangle: { position: { x: 43, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '71', rectangle: { position: { x: 51, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '73', rectangle: { position: { x: 51, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '72', rectangle: { position: { x: 55, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '78', rectangle: { position: { x: 55, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '31', rectangle: { position: { x: 13, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '33', rectangle: { position: { x: 13, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '32', rectangle: { position: { x: 17, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '38', rectangle: { position: { x: 17, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '55', rectangle: { position: { x: 38, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '57', rectangle: { position: { x: 38, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '56', rectangle: { position: { x: 43, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '54', rectangle: { position: { x: 43, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '45', rectangle: { position: { x: 19, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '47', rectangle: { position: { x: 19, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '46', rectangle: { position: { x: 23, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '44', rectangle: { position: { x: 23, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '65', rectangle: { position: { x: 45, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '67', rectangle: { position: { x: 45, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '66', rectangle: { position: { x: 49, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '64', rectangle: { position: { x: 49, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '61', rectangle: { position: { x: 45, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '63', rectangle: { position: { x: 45, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '62', rectangle: { position: { x: 49, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '68', rectangle: { position: { x: 49, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '75', rectangle: { position: { x: 51, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '77', rectangle: { position: { x: 51, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '74', rectangle: { position: { x: 55, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, ], graphicElements: [ { rectangle: { position: { x: 33, y: 0, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 22, y: 6, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'SILENCE_AREA_ICON', }, { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COACH_PASSAGE', }, { rectangle: { position: { x: 33, y: 9, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 37, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 57, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_PASSAGE', }, { rectangle: { position: { x: 34, y: 2, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'BUSINESS', }, { rectangle: { position: { x: 34, y: 6, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'BISTRO', }, { rectangle: { position: { x: 40, y: 4, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'RESTAURANT_ICON', }, ], serviceIcons: [ { rectangle: { position: { x: 40, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 7, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, { rectangle: { position: { x: 40, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 1, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, ], }, }, { warnings: null, coachDeckLayout: { id: '82', name: 'B10(501) - not touch', dimension: { width: 46, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [ { travelClass: 'SECOND', accommodationSubType: 'BISTRO', places: [ { number: '15', rectangle: { position: { x: 1, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '17', rectangle: { position: { x: 1, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '16', rectangle: { position: { x: 5, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '14', rectangle: { position: { x: 5, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'FAMILY', places: [ { number: '11', rectangle: { position: { x: 1, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '13', rectangle: { position: { x: 1, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '12', rectangle: { position: { x: 5, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '18', rectangle: { position: { x: 5, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '25', rectangle: { position: { x: 7, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '27', rectangle: { position: { x: 7, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '26', rectangle: { position: { x: 11, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '24', rectangle: { position: { x: 11, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'WHEELCHAIR_NO_SEAT', places: [ { number: '21', rectangle: { position: { x: 7, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '23', rectangle: { position: { x: 7, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '22', rectangle: { position: { x: 11, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '28', rectangle: { position: { x: 11, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'BICYCLE_ICON', places: [ { number: '153', rectangle: { position: { x: 26, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'ALLOCATED', }, { number: '151', rectangle: { position: { x: 26, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '154', rectangle: { position: { x: 26, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'RESTRICTED', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'BICYCLE_ICON', places: [ { number: '152', rectangle: { position: { x: 26, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'SELECTED', }, ], }, { travelClass: 'FIRST', accommodationSubType: 'PRAM', places: [ { number: '48', rectangle: { position: { x: 20, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '42', rectangle: { position: { x: 20, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'FIRST', accommodationSubType: 'ANY_SEAT', places: [ { number: '35', rectangle: { position: { x: 13, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '37', rectangle: { position: { x: 13, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '36', rectangle: { position: { x: 17, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '34', rectangle: { position: { x: 17, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '51', rectangle: { position: { x: 38, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '53', rectangle: { position: { x: 38, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '52', rectangle: { position: { x: 43, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '58', rectangle: { position: { x: 43, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '31', rectangle: { position: { x: 13, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '33', rectangle: { position: { x: 13, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '32', rectangle: { position: { x: 17, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '38', rectangle: { position: { x: 17, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '55', rectangle: { position: { x: 38, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '57', rectangle: { position: { x: 38, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '56', rectangle: { position: { x: 43, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '54', rectangle: { position: { x: 43, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '45', rectangle: { position: { x: 19, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '47', rectangle: { position: { x: 19, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '46', rectangle: { position: { x: 23, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '44', rectangle: { position: { x: 23, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, ], graphicElements: [ { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COACH_PASSAGE', }, { rectangle: { position: { x: 33, y: 0, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 22, y: 8, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'LUGGAGE_AREA', }, { rectangle: { position: { x: 33, y: 9, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 45, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_WALL_NO_PASSAGE', }, ], serviceIcons: [ { rectangle: { position: { x: 40, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 7, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, { rectangle: { position: { x: 40, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 1, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, ], }, }, // CoachDeckLayout einer DRIVER_AREA mitten im Zug { warnings: null, coachDeckLayout: { id: '86', name: 'B10(501) - not touch', dimension: { width: 32, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [], graphicElements: [ { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COACH_WALL_NO_PASSAGE', }, { rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_WALL_NO_PASSAGE', }, ], serviceIcons: [], }, }, { warnings: null, coachDeckLayout: { id: '843', name: 'B10(501) - not touch', dimension: { width: 46, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [ { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '15', rectangle: { position: { x: 1, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '17', rectangle: { position: { x: 1, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '16', rectangle: { position: { x: 5, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '14', rectangle: { position: { x: 5, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '11', rectangle: { position: { x: 1, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '13', rectangle: { position: { x: 1, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '12', rectangle: { position: { x: 5, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '18', rectangle: { position: { x: 5, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '25', rectangle: { position: { x: 7, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '27', rectangle: { position: { x: 7, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '26', rectangle: { position: { x: 11, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '24', rectangle: { position: { x: 11, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '21', rectangle: { position: { x: 7, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '23', rectangle: { position: { x: 7, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '22', rectangle: { position: { x: 11, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '28', rectangle: { position: { x: 11, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'BICYCLE_ICON', places: [ { number: '153', rectangle: { position: { x: 26, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '151', rectangle: { position: { x: 26, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: ['BICYCLE_LOW'], state: 'FREE', }, { number: '154', rectangle: { position: { x: 26, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'BICYCLE_ICON', places: [ { number: '152', rectangle: { position: { x: 26, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'FIRST', accommodationSubType: 'PRAM', places: [ { number: '48', rectangle: { position: { x: 20, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '42', rectangle: { position: { x: 20, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'FIRST', accommodationSubType: 'ANY_SEAT', places: [ { number: '35', rectangle: { position: { x: 13, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '37', rectangle: { position: { x: 13, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '36', rectangle: { position: { x: 17, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '34', rectangle: { position: { x: 17, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '51', rectangle: { position: { x: 38, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '53', rectangle: { position: { x: 38, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '52', rectangle: { position: { x: 43, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '58', rectangle: { position: { x: 43, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '31', rectangle: { position: { x: 13, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '33', rectangle: { position: { x: 13, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '32', rectangle: { position: { x: 17, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '38', rectangle: { position: { x: 17, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '55', rectangle: { position: { x: 38, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '57', rectangle: { position: { x: 38, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '56', rectangle: { position: { x: 43, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '54', rectangle: { position: { x: 43, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '45', rectangle: { position: { x: 19, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '47', rectangle: { position: { x: 19, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '46', rectangle: { position: { x: 23, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '44', rectangle: { position: { x: 23, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, ], graphicElements: [ { rectangle: { position: { x: 33, y: 0, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 22, y: 8, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'LUGGAGE_AREA', }, { rectangle: { position: { x: 33, y: 9, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 37, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COACH_WALL_NO_PASSAGE', }, { rectangle: { position: { x: 45, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_WALL_NO_PASSAGE', }, ], serviceIcons: [ { rectangle: { position: { x: 40, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 7, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, { rectangle: { position: { x: 40, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 1, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, ], }, }, // noch ein CoachDeckLayout einer DRIVER_AREA diesmal am Ende/Anfang des Zuges { warnings: null, coachDeckLayout: { id: '185', name: 'B10(501) - not touch', dimension: { width: 40, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [], graphicElements: [ { rectangle: { position: { x: 28, y: 0, z: 0, }, dimension: { width: 12, height: 10, borderRadius: null, }, }, orientation: 180, type: 'DRIVER_AREA_FULL', }, { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COACH_WALL_NO_PASSAGE', }, ], serviceIcons: [], }, }, ]"
6117
+ },
6118
+ {
6119
+ "kind": "variable",
6120
+ "name": "MOCK_COACHES_RAW_1",
6121
+ "type": {
6122
+ "text": "array"
6123
+ },
6124
+ "default": "[ { warnings: null, coachDeckLayout: { id: '32801', name: 'WR6(501) - not touch', dimension: { width: 56, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [ { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '21', rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '22', rectangle: { position: { x: 37, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '41', rectangle: { position: { x: 39, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '42', rectangle: { position: { x: 45, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '61', rectangle: { position: { x: 47, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '62', rectangle: { position: { x: 53, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '13', rectangle: { position: { x: 31, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '14', rectangle: { position: { x: 37, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '11', rectangle: { position: { x: 31, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, { number: '12', rectangle: { position: { x: 37, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '33', rectangle: { position: { x: 39, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '34', rectangle: { position: { x: 45, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '31', rectangle: { position: { x: 39, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, { number: '32', rectangle: { position: { x: 45, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '53', rectangle: { position: { x: 47, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '51', rectangle: { position: { x: 47, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, { number: '52', rectangle: { position: { x: 53, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, ], }, ], graphicElements: [ { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 6, height: 10, borderRadius: null, }, }, orientation: 0, type: 'DRIVER_AREA_FULL', }, { rectangle: { position: { x: 55, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_WALL_NO_PASSAGE', }, { rectangle: { position: { x: 42, y: 6, z: 0, }, dimension: { width: 2, height: 4, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 50, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 34, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 34, y: 6, z: 0, }, dimension: { width: 2, height: 4, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 42, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 50, y: 6, z: 0, }, dimension: { width: 2, height: 4, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, ], serviceIcons: [ { rectangle: { position: { x: 32, y: 3, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'RESTAURANT_ICON', }, { rectangle: { position: { x: 46, y: 3, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'RESTAURANT_ICON', }, ], }, }, ]"
6125
+ },
6126
+ {
6127
+ "kind": "variable",
6128
+ "name": "MOCK_COACHES_RAW_REAL_DATA",
6129
+ "type": {
6130
+ "text": "array"
6131
+ },
6132
+ "default": "[ { notifications: [], coachDeckLayout: { name: '65200', dimension: { width: 64, height: 10, }, lowFloorEntry: true, id: '30802', deckLevel: 'LOWER_DECK', placeGroups: [ { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '15', rectangle: { position: { x: 14, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '11', rectangle: { position: { x: 14, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '16', rectangle: { position: { x: 17, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '14', rectangle: { position: { x: 17, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '12', rectangle: { position: { x: 17, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '25', rectangle: { position: { x: 20, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '26', rectangle: { position: { x: 24, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '23', rectangle: { position: { x: 20, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '24', rectangle: { position: { x: 24, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '21', rectangle: { position: { x: 20, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '22', rectangle: { position: { x: 24, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '35', rectangle: { position: { x: 27, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '33', rectangle: { position: { x: 27, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '31', rectangle: { position: { x: 27, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '36', rectangle: { position: { x: 30, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '34', rectangle: { position: { x: 30, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '32', rectangle: { position: { x: 30, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '46', rectangle: { position: { x: 33, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '44', rectangle: { position: { x: 33, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '42', rectangle: { position: { x: 33, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '55', rectangle: { position: { x: 44, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '56', rectangle: { position: { x: 49, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '53', rectangle: { position: { x: 44, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '54', rectangle: { position: { x: 49, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '52', rectangle: { position: { x: 48, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '65', rectangle: { position: { x: 51, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '66', rectangle: { position: { x: 55, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '63', rectangle: { position: { x: 51, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '61', rectangle: { position: { x: 51, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '62', rectangle: { position: { x: 55, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '75', rectangle: { position: { x: 57, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '76', rectangle: { position: { x: 61, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '71', rectangle: { position: { x: 57, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '72', rectangle: { position: { x: 61, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, ], graphicElements: [ { rectangle: { position: { x: 0, y: 1, z: 0, }, dimension: { width: 13, height: 8, borderRadius: { topLeft: 3, topRight: 0, bottomRight: 0, bottomLeft: 3, }, }, }, orientation: 0, type: 'DRIVER_AREA', }, { rectangle: { position: { x: 36, y: 0, z: 0, }, dimension: { width: 2, height: 4, }, }, orientation: 0, type: 'LUGGAGE_AREA', }, { rectangle: { position: { x: 44, y: 8, z: 0, }, dimension: { width: 4, height: 2, }, }, orientation: 0, type: 'LUGGAGE_AREA', }, { rectangle: { position: { x: 39, y: 0, z: 0, }, dimension: { width: 4, height: 1, }, }, orientation: 0, type: 'ENTRANCE', }, { rectangle: { position: { x: 38, y: 1, z: 0, }, dimension: { width: 1, height: 4, }, }, orientation: 0, type: 'WALL', }, { rectangle: { position: { x: 38, y: 7, z: 0, }, dimension: { width: 1, height: 2, }, }, orientation: 0, type: 'WALL', }, { rectangle: { position: { x: 43, y: 1, z: 0, }, dimension: { width: 1, height: 4, }, }, orientation: 0, type: 'WALL', }, { rectangle: { position: { x: 43, y: 7, z: 0, }, dimension: { width: 1, height: 2, }, }, orientation: 0, type: 'WALL', }, ], serviceIcons: [ { rectangle: { position: { x: 47, y: 4, z: 0, }, dimension: { width: 1, height: 1, }, }, type: 'WHEELCHAIR_ICON', }, ], }, }, ]",
6133
+ "description": "taken from json provided by VAKE;\nAttention: <b>all the type information does not reflect our assumptions</b> and the data was\nmanuelly adjusted."
6109
6134
  }
6110
6135
  ],
6111
6136
  "exports": [
6112
6137
  {
6113
6138
  "kind": "js",
6114
- "name": "SbbSeatReservationNavigationCoachElement",
6139
+ "name": "MOCK_COACHES_RAW_0",
6115
6140
  "declaration": {
6116
- "name": "SbbSeatReservationNavigationCoachElement",
6117
- "module": "seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js"
6141
+ "name": "MOCK_COACHES_RAW_0",
6142
+ "module": "seat-reservation/common/mapper/seat-reservation-sample-data.js"
6118
6143
  }
6119
6144
  },
6120
6145
  {
6121
- "kind": "custom-element-definition",
6122
- "name": "sbb-seat-reservation-navigation-coach",
6146
+ "kind": "js",
6147
+ "name": "MOCK_COACHES_RAW_1",
6123
6148
  "declaration": {
6124
- "name": "SbbSeatReservationNavigationCoachElement",
6125
- "module": "seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js"
6149
+ "name": "MOCK_COACHES_RAW_1",
6150
+ "module": "seat-reservation/common/mapper/seat-reservation-sample-data.js"
6151
+ }
6152
+ },
6153
+ {
6154
+ "kind": "js",
6155
+ "name": "MOCK_COACHES_RAW_REAL_DATA",
6156
+ "declaration": {
6157
+ "name": "MOCK_COACHES_RAW_REAL_DATA",
6158
+ "module": "seat-reservation/common/mapper/seat-reservation-sample-data.js"
6126
6159
  }
6127
6160
  }
6128
6161
  ]
6129
6162
  },
6130
6163
  {
6131
6164
  "kind": "javascript-module",
6132
- "path": "seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js",
6165
+ "path": "seat-reservation/common/translations/i18n.js",
6133
6166
  "declarations": [
6134
6167
  {
6135
- "kind": "class",
6136
- "description": "Component displays the available service icons of one coach.",
6137
- "name": "SbbSeatReservationNavigationServicesElement",
6138
- "members": [
6168
+ "kind": "function",
6169
+ "name": "getI18nSeatReservation",
6170
+ "return": {
6171
+ "type": {
6172
+ "text": "string"
6173
+ }
6174
+ },
6175
+ "parameters": [
6139
6176
  {
6140
- "kind": "field",
6141
- "name": "propertyIds",
6177
+ "name": "key",
6142
6178
  "type": {
6143
- "text": "string[]"
6144
- },
6145
- "privacy": "public",
6146
- "default": "[]",
6147
- "description": "Coach service property ids, which are used to display the services in the navigation",
6148
- "attribute": "property-ids"
6179
+ "text": "string"
6180
+ }
6149
6181
  },
6150
6182
  {
6151
- "kind": "field",
6152
- "name": "vertical",
6183
+ "name": "language",
6153
6184
  "type": {
6154
- "text": "boolean"
6155
- },
6156
- "privacy": "public",
6157
- "default": "false",
6158
- "description": "If true, the service icons are displayed vertically",
6159
- "attribute": "vertical"
6160
- },
6161
- {
6162
- "kind": "field",
6163
- "name": "_language",
6164
- "privacy": "private",
6165
- "default": "new SbbLanguageController(this)"
6166
- },
6167
- {
6168
- "kind": "method",
6169
- "name": "_getServiceLabelDescription",
6170
- "privacy": "private",
6171
- "return": {
6172
- "type": {
6173
- "text": "string | null"
6174
- }
6185
+ "text": "string"
6175
6186
  }
6176
- }
6177
- ],
6178
- "attributes": [
6179
- {
6180
- "name": "property-ids",
6181
- "type": {
6182
- "text": "string[]"
6183
- },
6184
- "default": "[]",
6185
- "description": "Coach service property ids, which are used to display the services in the navigation",
6186
- "fieldName": "propertyIds"
6187
6187
  },
6188
6188
  {
6189
- "name": "vertical",
6189
+ "name": "args",
6190
+ "optional": true,
6190
6191
  "type": {
6191
- "text": "boolean"
6192
- },
6193
- "default": "false",
6194
- "description": "If true, the service icons are displayed vertically",
6195
- "fieldName": "vertical"
6192
+ "text": "any[]"
6193
+ }
6196
6194
  }
6197
6195
  ],
6198
- "superclass": {
6199
- "name": "LitElement",
6200
- "package": "lit"
6201
- },
6202
- "tagName": "sbb-seat-reservation-navigation-services",
6203
- "customElement": true
6196
+ "description": "get the translated message with key being the requested key and language the current\nlanguage mostly used from SbbLanguageController"
6204
6197
  }
6205
6198
  ],
6206
6199
  "exports": [
6207
6200
  {
6208
6201
  "kind": "js",
6209
- "name": "SbbSeatReservationNavigationServicesElement",
6210
- "declaration": {
6211
- "name": "SbbSeatReservationNavigationServicesElement",
6212
- "module": "seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js"
6213
- }
6214
- },
6215
- {
6216
- "kind": "custom-element-definition",
6217
- "name": "sbb-seat-reservation-navigation-services",
6202
+ "name": "getI18nSeatReservation",
6218
6203
  "declaration": {
6219
- "name": "SbbSeatReservationNavigationServicesElement",
6220
- "module": "seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js"
6204
+ "name": "getI18nSeatReservation",
6205
+ "module": "seat-reservation/common/translations/i18n.js"
6221
6206
  }
6222
6207
  }
6223
6208
  ]