@sbb-esta/lyne-elements-experimental 3.0.0-next.3 → 3.0.1

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 (102) hide show
  1. package/custom-elements.json +839 -907
  2. package/development/core/datetime/date-helper.js +1 -1
  3. package/development/core/timetable/access-leg-helper.js +1 -1
  4. package/development/differenceInMinutes-D5Nj8Stc.js +1 -1
  5. package/development/format-BQfaa1ZT.js +1 -1
  6. package/development/journey-summary/journey-summary.component.js +1 -1
  7. package/development/pearl-chain/pearl-chain.component.js +1 -1
  8. package/development/pearl-chain-time/pearl-chain-time.component.js +1 -1
  9. package/development/pearl-chain-vertical/pearl-chain-vertical.component.js +1 -1
  10. package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +1 -1
  11. package/development/seat-reservation/common/mapper/mapper.js +1 -1
  12. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts +4 -9
  13. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -1
  14. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.js +15 -10
  15. package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts +0 -3
  16. package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -1
  17. package/development/seat-reservation/seat-reservation/seat-reservation.component.js +6 -6
  18. package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +1 -1
  19. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +1 -1
  20. package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach → seat-reservation-navigation-coach}/seat-reservation-navigation-coach.component.d.ts +3 -10
  21. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +1 -0
  22. package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach → seat-reservation-navigation-coach}/seat-reservation-navigation-coach.component.js +14 -13
  23. package/development/seat-reservation/seat-reservation-navigation-coach.d.ts.map +1 -0
  24. package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +1 -0
  25. package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +123 -0
  26. package/development/seat-reservation/seat-reservation-navigation-services.d.ts.map +1 -0
  27. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts +2 -7
  28. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts.map +1 -1
  29. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +12 -10
  30. package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +1 -0
  31. package/development/seat-reservation/{seat-reservation/seat-reservation-scoped → seat-reservation-scoped}/seat-reservation-scoped.component.js +1 -1
  32. package/{seat-reservation → development}/seat-reservation/seat-reservation-scoped.d.ts.map +1 -1
  33. package/development/seat-reservation/seat-reservation.d.ts +0 -1
  34. package/development/seat-reservation/seat-reservation.d.ts.map +1 -1
  35. package/development/seat-reservation/seat-reservation.js +1 -3
  36. package/development/seat-reservation.d.ts +3 -1
  37. package/development/seat-reservation.d.ts.map +1 -1
  38. package/development/seat-reservation.js +3 -3
  39. package/development/timetable-duration/timetable-duration.component.js +1 -1
  40. package/development/timetable-row/timetable-row.component.js +1 -1
  41. package/index.d.ts +3 -3
  42. package/index.js +3 -3
  43. package/package.json +14 -19
  44. package/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts +4 -9
  45. package/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -1
  46. package/seat-reservation/seat-reservation/seat-reservation-base-element.js +56 -49
  47. package/seat-reservation/seat-reservation/seat-reservation.component.d.ts +0 -3
  48. package/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -1
  49. package/seat-reservation/seat-reservation/seat-reservation.component.js +5 -5
  50. package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach → seat-reservation-navigation-coach}/seat-reservation-navigation-coach.component.d.ts +3 -10
  51. package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +1 -0
  52. package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach → seat-reservation-navigation-coach}/seat-reservation-navigation-coach.component.js +54 -52
  53. package/seat-reservation/seat-reservation-navigation-coach.d.ts.map +1 -0
  54. package/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +1 -0
  55. package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services → seat-reservation-navigation-services}/seat-reservation-navigation-services.component.js +2 -2
  56. package/seat-reservation/seat-reservation-navigation-services.d.ts.map +1 -0
  57. package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts +2 -7
  58. package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts.map +1 -1
  59. package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +45 -43
  60. package/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +1 -0
  61. package/seat-reservation/seat-reservation-scoped.d.ts.map +1 -0
  62. package/seat-reservation/seat-reservation.d.ts +0 -1
  63. package/seat-reservation/seat-reservation.d.ts.map +1 -1
  64. package/seat-reservation/seat-reservation.js +0 -2
  65. package/seat-reservation.d.ts +3 -1
  66. package/seat-reservation.d.ts.map +1 -1
  67. package/seat-reservation.js +12 -12
  68. package/development/seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +0 -1
  69. package/development/seat-reservation/seat-reservation/seat-reservation-scoped.d.ts.map +0 -1
  70. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +0 -1
  71. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.d.ts.map +0 -1
  72. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +0 -1
  73. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +0 -122
  74. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.d.ts.map +0 -1
  75. package/development/seat-reservation/seat-reservation-navigation.d.ts +0 -6
  76. package/development/seat-reservation/seat-reservation-navigation.d.ts.map +0 -1
  77. package/development/seat-reservation/seat-reservation-navigation.js +0 -7
  78. package/seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +0 -1
  79. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +0 -1
  80. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.d.ts.map +0 -1
  81. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +0 -1
  82. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.d.ts.map +0 -1
  83. package/seat-reservation/seat-reservation-navigation.d.ts +0 -6
  84. package/seat-reservation/seat-reservation-navigation.d.ts.map +0 -1
  85. package/seat-reservation/seat-reservation-navigation.js +0 -6
  86. /package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach.d.ts → seat-reservation-navigation-coach.d.ts} +0 -0
  87. /package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach.js → seat-reservation-navigation-coach.js} +0 -0
  88. /package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services → seat-reservation-navigation-services}/seat-reservation-navigation-services.component.d.ts +0 -0
  89. /package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services.d.ts → seat-reservation-navigation-services.d.ts} +0 -0
  90. /package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services.js → seat-reservation-navigation-services.js} +0 -0
  91. /package/development/seat-reservation/{seat-reservation/seat-reservation-scoped → seat-reservation-scoped}/seat-reservation-scoped.component.d.ts +0 -0
  92. /package/development/seat-reservation/{seat-reservation/seat-reservation-scoped.d.ts → seat-reservation-scoped.d.ts} +0 -0
  93. /package/development/seat-reservation/{seat-reservation/seat-reservation-scoped.js → seat-reservation-scoped.js} +0 -0
  94. /package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach.d.ts → seat-reservation-navigation-coach.d.ts} +0 -0
  95. /package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach.js → seat-reservation-navigation-coach.js} +0 -0
  96. /package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services → seat-reservation-navigation-services}/seat-reservation-navigation-services.component.d.ts +0 -0
  97. /package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services.d.ts → seat-reservation-navigation-services.d.ts} +0 -0
  98. /package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services.js → seat-reservation-navigation-services.js} +0 -0
  99. /package/seat-reservation/{seat-reservation/seat-reservation-scoped → seat-reservation-scoped}/seat-reservation-scoped.component.d.ts +0 -0
  100. /package/seat-reservation/{seat-reservation/seat-reservation-scoped → seat-reservation-scoped}/seat-reservation-scoped.component.js +0 -0
  101. /package/seat-reservation/{seat-reservation/seat-reservation-scoped.d.ts → seat-reservation-scoped.d.ts} +0 -0
  102. /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
  ]
@@ -2141,9 +2171,9 @@
2141
2171
  "privacy": "public",
2142
2172
  "static": true,
2143
2173
  "readonly": true,
2144
- "default": "{ selectedPlaces: 'selectedPlaces', selectedCoach: 'selectedCoach', }",
2174
+ "default": "{ selectedplaces: 'selectedplaces', selectedcoach: 'selectedcoach', }",
2145
2175
  "type": {
2146
- "text": "{\n selectedPlaces: 'selectedPlaces',\n selectedCoach: 'selectedCoach',\n }"
2176
+ "text": "{\n selectedplaces: 'selectedplaces',\n selectedcoach: 'selectedcoach',\n }"
2147
2177
  }
2148
2178
  },
2149
2179
  {
@@ -2165,7 +2195,7 @@
2165
2195
  },
2166
2196
  "privacy": "public",
2167
2197
  "default": "true",
2168
- "description": "The seat resvervation navigation can be toggled by this property",
2198
+ "description": "The seat reservation navigation can be toggled by this property",
2169
2199
  "attribute": "has-navigation"
2170
2200
  },
2171
2201
  {
@@ -2241,26 +2271,6 @@
2241
2271
  "privacy": "protected",
2242
2272
  "default": "-1"
2243
2273
  },
2244
- {
2245
- "kind": "field",
2246
- "name": "selectedPlaces",
2247
- "type": {
2248
- "text": "EventEmitter<SeatReservationSelectedPlacesEventDetails>"
2249
- },
2250
- "privacy": "protected",
2251
- "default": "new EventEmitter(this, SeatReservationBaseElement.events.selectedPlaces)",
2252
- "description": "Emits when a place was selected by user."
2253
- },
2254
- {
2255
- "kind": "field",
2256
- "name": "selectedCoach",
2257
- "type": {
2258
- "text": "EventEmitter<SeatReservationCoachSelection>"
2259
- },
2260
- "privacy": "protected",
2261
- "default": "new EventEmitter( this, SeatReservationBaseElement.events.selectedCoach, )",
2262
- "description": "Emits when a coach was selected by user."
2263
- },
2264
2274
  {
2265
2275
  "kind": "field",
2266
2276
  "name": "coachBorderPadding",
@@ -2948,6 +2958,22 @@
2948
2958
  }
2949
2959
  }
2950
2960
  ],
2961
+ "events": [
2962
+ {
2963
+ "name": "selectedplaces",
2964
+ "type": {
2965
+ "text": "CustomEvent<SeatReservationSelectedPlacesEventDetails>"
2966
+ },
2967
+ "description": "Emits when a place was selected and returns a Place array with all selected places."
2968
+ },
2969
+ {
2970
+ "name": "selectedcoach",
2971
+ "type": {
2972
+ "text": "CustomEvent<SeatReservationCoachSelection>"
2973
+ },
2974
+ "description": "Emits when a coach was selected and returns a CoachSelection"
2975
+ }
2976
+ ],
2951
2977
  "attributes": [
2952
2978
  {
2953
2979
  "name": "seat-reservation",
@@ -2964,7 +2990,7 @@
2964
2990
  "text": "boolean"
2965
2991
  },
2966
2992
  "default": "true",
2967
- "description": "The seat resvervation navigation can be toggled by this property",
2993
+ "description": "The seat reservation navigation can be toggled by this property",
2968
2994
  "fieldName": "hasNavigation"
2969
2995
  },
2970
2996
  {
@@ -3030,21 +3056,6 @@
3030
3056
  }
3031
3057
  ]
3032
3058
  },
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
3059
  {
3049
3060
  "kind": "javascript-module",
3050
3061
  "path": "seat-reservation/seat-reservation/seat-reservation.component.js",
@@ -3422,7 +3433,7 @@
3422
3433
  {
3423
3434
  "name": "selectPlaceEvent",
3424
3435
  "type": {
3425
- "text": "CustomEvent"
3436
+ "text": "CustomEvent<PlaceSelection>"
3426
3437
  }
3427
3438
  }
3428
3439
  ],
@@ -3441,7 +3452,7 @@
3441
3452
  {
3442
3453
  "name": "event",
3443
3454
  "type": {
3444
- "text": "CustomEvent"
3455
+ "text": "CustomEvent<number>"
3445
3456
  }
3446
3457
  }
3447
3458
  ]
@@ -3498,9 +3509,9 @@
3498
3509
  "privacy": "public",
3499
3510
  "static": true,
3500
3511
  "readonly": true,
3501
- "default": "{ selectedPlaces: 'selectedPlaces', selectedCoach: 'selectedCoach', }",
3512
+ "default": "{ selectedplaces: 'selectedplaces', selectedcoach: 'selectedcoach', }",
3502
3513
  "type": {
3503
- "text": "{\n selectedPlaces: 'selectedPlaces',\n selectedCoach: 'selectedCoach',\n }"
3514
+ "text": "{\n selectedplaces: 'selectedplaces',\n selectedcoach: 'selectedcoach',\n }"
3504
3515
  },
3505
3516
  "inheritedFrom": {
3506
3517
  "name": "SeatReservationBaseElement",
@@ -3563,34 +3574,6 @@
3563
3574
  "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3564
3575
  }
3565
3576
  },
3566
- {
3567
- "kind": "field",
3568
- "name": "selectedPlaces",
3569
- "type": {
3570
- "text": "EventEmitter<SeatReservationSelectedPlacesEventDetails>"
3571
- },
3572
- "privacy": "protected",
3573
- "default": "new EventEmitter(this, SeatReservationBaseElement.events.selectedPlaces)",
3574
- "description": "Emits when a place was selected by user.",
3575
- "inheritedFrom": {
3576
- "name": "SeatReservationBaseElement",
3577
- "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3578
- }
3579
- },
3580
- {
3581
- "kind": "field",
3582
- "name": "selectedCoach",
3583
- "type": {
3584
- "text": "EventEmitter<SeatReservationCoachSelection>"
3585
- },
3586
- "privacy": "protected",
3587
- "default": "new EventEmitter( this, SeatReservationBaseElement.events.selectedCoach, )",
3588
- "description": "Emits when a coach was selected by user.",
3589
- "inheritedFrom": {
3590
- "name": "SeatReservationBaseElement",
3591
- "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3592
- }
3593
- },
3594
3577
  {
3595
3578
  "kind": "field",
3596
3579
  "name": "coachBorderPadding",
@@ -4474,22 +4457,6 @@
4474
4457
  }
4475
4458
  }
4476
4459
  ],
4477
- "events": [
4478
- {
4479
- "type": {
4480
- "text": "CustomEvent<SeatReservationSelectedPlacesEventDetails>"
4481
- },
4482
- "description": "Emits when a place was selected and returns a Place array with all selected places",
4483
- "name": "selectedPlaces"
4484
- },
4485
- {
4486
- "type": {
4487
- "text": "CustomEvent<SeatReservationCoachSelection>"
4488
- },
4489
- "description": "Emits when a coach was selected and returns a CoachSelection",
4490
- "name": "selectedCoach"
4491
- }
4492
- ],
4493
4460
  "attributes": [
4494
4461
  {
4495
4462
  "name": "seat-reservation",
@@ -4588,7 +4555,31 @@
4588
4555
  "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4589
4556
  },
4590
4557
  "tagName": "sbb-seat-reservation",
4591
- "customElement": true
4558
+ "customElement": true,
4559
+ "events": [
4560
+ {
4561
+ "name": "selectedplaces",
4562
+ "type": {
4563
+ "text": "CustomEvent<SeatReservationSelectedPlacesEventDetails>"
4564
+ },
4565
+ "description": "Emits when a place was selected and returns a Place array with all selected places.",
4566
+ "inheritedFrom": {
4567
+ "name": "SeatReservationBaseElement",
4568
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4569
+ }
4570
+ },
4571
+ {
4572
+ "name": "selectedcoach",
4573
+ "type": {
4574
+ "text": "CustomEvent<SeatReservationCoachSelection>"
4575
+ },
4576
+ "description": "Emits when a coach was selected and returns a CoachSelection",
4577
+ "inheritedFrom": {
4578
+ "name": "SeatReservationBaseElement",
4579
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4580
+ }
4581
+ }
4582
+ ]
4592
4583
  }
4593
4584
  ],
4594
4585
  "exports": [
@@ -4926,42 +4917,12 @@
4926
4917
  },
4927
4918
  {
4928
4919
  "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",
4920
+ "path": "seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js",
4960
4921
  "declarations": [
4961
4922
  {
4962
4923
  "kind": "class",
4963
- "description": "Output the graphic of a seat or a bicycle place as a control element.",
4964
- "name": "SbbSeatReservationPlaceControlElement",
4924
+ "description": "This component will display the navigation coach item for Seat reservation.",
4925
+ "name": "SbbSeatReservationNavigationCoachElement",
4965
4926
  "members": [
4966
4927
  {
4967
4928
  "kind": "field",
@@ -4969,32 +4930,21 @@
4969
4930
  "privacy": "public",
4970
4931
  "static": true,
4971
4932
  "readonly": true,
4972
- "default": "{ selectPlace: 'selectPlace', }",
4933
+ "default": "{ selectcoach: 'selectcoach', focuscoach: 'focuscoach', }",
4973
4934
  "type": {
4974
- "text": "{\n selectPlace: 'selectPlace',\n }"
4935
+ "text": "{\n selectcoach: 'selectcoach',\n focuscoach: 'focuscoach',\n }"
4975
4936
  }
4976
4937
  },
4977
4938
  {
4978
4939
  "kind": "field",
4979
- "name": "placeType",
4980
- "type": {
4981
- "text": "PlaceType"
4982
- },
4983
- "privacy": "public",
4984
- "default": "'SEAT'",
4985
- "description": "placeType of the place, e.g. 'SEAT', 'BICYCLE'",
4986
- "attribute": "type"
4987
- },
4988
- {
4989
- "kind": "field",
4990
- "name": "state",
4940
+ "name": "coachId",
4991
4941
  "type": {
4992
- "text": "PlaceState"
4942
+ "text": "string"
4993
4943
  },
4994
4944
  "privacy": "public",
4995
- "default": "'FREE'",
4996
- "description": "state of the place, e.g. 'FREE', 'SELECTED', 'BLOCKED'",
4997
- "attribute": "state"
4945
+ "default": "''",
4946
+ "description": "Coach ID, which is used to identify the coach in the navigation",
4947
+ "attribute": "coach-id"
4998
4948
  },
4999
4949
  {
5000
4950
  "kind": "field",
@@ -5004,106 +4954,104 @@
5004
4954
  },
5005
4955
  "privacy": "public",
5006
4956
  "default": "[]",
5007
- "description": "property ids of the place, to display more info about the place",
5008
- "attribute": "propertyIds"
4957
+ "description": "Coach service property ids, which are used to display the services in the navigation",
4958
+ "attribute": "property-ids"
5009
4959
  },
5010
4960
  {
5011
4961
  "kind": "field",
5012
- "name": "rotation",
4962
+ "name": "selected",
5013
4963
  "type": {
5014
- "text": "number"
4964
+ "text": "boolean"
5015
4965
  },
5016
4966
  "privacy": "public",
5017
- "default": "0",
5018
- "description": "rotation in degrees (without unit)",
5019
- "attribute": "rotation"
4967
+ "default": "false",
4968
+ "attribute": "selected"
5020
4969
  },
5021
4970
  {
5022
4971
  "kind": "field",
5023
- "name": "width",
4972
+ "name": "focused",
5024
4973
  "type": {
5025
- "text": "number"
4974
+ "text": "boolean"
5026
4975
  },
5027
4976
  "privacy": "public",
5028
- "default": "32",
5029
- "description": "width of the place in pixels (without unit)",
5030
- "attribute": "width"
4977
+ "default": "false",
4978
+ "attribute": "focused"
5031
4979
  },
5032
4980
  {
5033
4981
  "kind": "field",
5034
- "name": "height",
4982
+ "name": "index",
5035
4983
  "type": {
5036
4984
  "text": "number"
5037
4985
  },
5038
4986
  "privacy": "public",
5039
- "default": "32",
5040
- "description": "height of the place in pixels (without unit)",
5041
- "attribute": "height"
4987
+ "default": "0",
4988
+ "attribute": "index"
5042
4989
  },
5043
4990
  {
5044
4991
  "kind": "field",
5045
- "name": "text",
4992
+ "name": "travelClass",
5046
4993
  "type": {
5047
- "text": "string"
4994
+ "text": "PlaceTravelClass[]"
5048
4995
  },
5049
4996
  "privacy": "public",
5050
- "default": "''",
5051
- "description": "label of the place, e.g. '1A', '2B'",
5052
- "attribute": "text"
4997
+ "default": "['ANY_CLASS']",
4998
+ "description": "Travel class of the coach",
4999
+ "attribute": "travel-class"
5053
5000
  },
5054
5001
  {
5055
5002
  "kind": "field",
5056
- "name": "textRotation",
5003
+ "name": "driverArea",
5057
5004
  "type": {
5058
- "text": "number"
5005
+ "text": "boolean"
5059
5006
  },
5060
5007
  "privacy": "public",
5061
- "default": "0",
5062
- "description": "Rotation of the text in degrees (without unit)",
5063
- "attribute": "text-rotation"
5008
+ "default": "false",
5009
+ "description": "If the coach is a driver/restricted area",
5010
+ "attribute": "driver-area"
5064
5011
  },
5065
5012
  {
5066
5013
  "kind": "field",
5067
- "name": "coachIndex",
5014
+ "name": "first",
5068
5015
  "type": {
5069
- "text": "number"
5016
+ "text": "boolean"
5070
5017
  },
5071
5018
  "privacy": "public",
5072
- "default": "null!",
5073
- "description": "Coach Index Prop to identifier the right place to coach",
5074
- "attribute": "coach-index"
5019
+ "default": "false",
5020
+ "description": "If the coach is the first in the navigation",
5021
+ "attribute": "first"
5075
5022
  },
5076
5023
  {
5077
5024
  "kind": "field",
5078
- "name": "preventClick",
5025
+ "name": "last",
5079
5026
  "type": {
5080
5027
  "text": "boolean"
5081
5028
  },
5082
5029
  "privacy": "public",
5083
5030
  "default": "false",
5084
- "description": "Prevent click prop prevent any place action",
5085
- "attribute": "prevent-click"
5031
+ "description": "If the coach is the last in the navigation",
5032
+ "attribute": "last"
5086
5033
  },
5087
5034
  {
5088
5035
  "kind": "field",
5089
- "name": "keyfocus",
5036
+ "name": "disable",
5090
5037
  "type": {
5091
- "text": "string"
5038
+ "text": "boolean"
5092
5039
  },
5093
5040
  "privacy": "public",
5094
- "default": "'unfocus'",
5095
- "description": "Set the place focus outline style",
5096
- "attribute": "keyfocus"
5041
+ "default": "false",
5042
+ "description": "Disable the coach navigation",
5043
+ "attribute": "disable"
5097
5044
  },
5098
5045
  {
5099
5046
  "kind": "field",
5100
- "name": "placeSelected",
5047
+ "name": "vertical",
5101
5048
  "type": {
5102
- "text": "EventEmitter<PlaceSelection>"
5049
+ "text": "boolean"
5103
5050
  },
5104
- "privacy": "protected",
5105
- "default": "new EventEmitter( this, SbbSeatReservationPlaceControlElement.events.selectPlace, )",
5106
- "description": "Emits when a place was selected by user."
5051
+ "privacy": "public",
5052
+ "default": "false",
5053
+ "description": "If the coach navigation should be displayed vertically",
5054
+ "attribute": "vertical"
5107
5055
  },
5108
5056
  {
5109
5057
  "kind": "field",
@@ -5113,1111 +5061,1095 @@
5113
5061
  },
5114
5062
  {
5115
5063
  "kind": "method",
5116
- "name": "_getPlaceSvg",
5064
+ "name": "_getNavigationButton",
5117
5065
  "privacy": "private",
5118
5066
  "return": {
5119
5067
  "type": {
5120
- "text": "string"
5068
+ "text": "TemplateResult | null"
5069
+ }
5070
+ }
5071
+ },
5072
+ {
5073
+ "kind": "method",
5074
+ "name": "_getBtnInformation",
5075
+ "privacy": "private",
5076
+ "return": {
5077
+ "type": {
5078
+ "text": "TemplateResult | null"
5121
5079
  }
5122
5080
  },
5123
5081
  "parameters": [
5124
5082
  {
5125
- "name": "type",
5083
+ "name": "serviceClassNumber",
5126
5084
  "type": {
5127
- "text": "PlaceType"
5085
+ "text": "number | null"
5128
5086
  }
5129
- },
5087
+ }
5088
+ ]
5089
+ },
5090
+ {
5091
+ "kind": "method",
5092
+ "name": "_getTitleDescriptionNavCoachButton",
5093
+ "privacy": "private",
5094
+ "return": {
5095
+ "type": {
5096
+ "text": "string"
5097
+ }
5098
+ },
5099
+ "parameters": [
5130
5100
  {
5131
- "name": "state",
5101
+ "name": "serviceClassNumber",
5132
5102
  "type": {
5133
- "text": "PlaceState"
5103
+ "text": "number | null"
5134
5104
  }
5135
5105
  }
5136
5106
  ]
5137
5107
  },
5138
5108
  {
5139
5109
  "kind": "method",
5140
- "name": "_getTitleDescriptionPlace",
5110
+ "name": "_getAriaDescriptionCoachServices",
5141
5111
  "privacy": "private",
5142
5112
  "return": {
5143
5113
  "type": {
5144
- "text": "string"
5114
+ "text": "string | null"
5145
5115
  }
5146
5116
  }
5147
5117
  },
5148
5118
  {
5149
5119
  "kind": "method",
5150
- "name": "_selectPlace",
5120
+ "name": "_selectNavCoach",
5151
5121
  "privacy": "private",
5152
5122
  "return": {
5153
5123
  "type": {
5154
5124
  "text": "void"
5155
5125
  }
5156
5126
  },
5157
- "description": "If the place selectable, we emit the placeSelection object which contains infos to the place state"
5127
+ "parameters": [
5128
+ {
5129
+ "name": "coachIndex",
5130
+ "type": {
5131
+ "text": "number"
5132
+ }
5133
+ }
5134
+ ],
5135
+ "description": "emits the index of the coach array for the main navigation."
5136
+ },
5137
+ {
5138
+ "kind": "method",
5139
+ "name": "_getCoachServiceClassNumber",
5140
+ "privacy": "private",
5141
+ "return": {
5142
+ "type": {
5143
+ "text": "number | null"
5144
+ }
5145
+ }
5158
5146
  }
5159
5147
  ],
5160
5148
  "events": [
5161
5149
  {
5150
+ "name": "focuscoach",
5162
5151
  "type": {
5163
- "text": "CustomEvent<PlaceSelection>"
5152
+ "text": "Event"
5153
+ },
5154
+ "description": "Emits when a nav coach has the focus"
5155
+ },
5156
+ {
5157
+ "name": "selectcoach",
5158
+ "type": {
5159
+ "text": "CustomEvent<SelectCoachEventDetails>"
5164
5160
  },
5165
- "description": "Emits when a place was selected and returns a PlaceSelection object with necessary place information",
5166
- "name": "selectPlace"
5161
+ "description": "Emits when a coach within the navigation was selected and returns the clicked coach nav index."
5167
5162
  }
5168
5163
  ],
5169
5164
  "attributes": [
5170
5165
  {
5171
- "name": "type",
5166
+ "name": "coach-id",
5172
5167
  "type": {
5173
- "text": "PlaceType"
5168
+ "text": "string"
5174
5169
  },
5175
- "default": "'SEAT'",
5176
- "description": "placeType of the place, e.g. 'SEAT', 'BICYCLE'",
5177
- "fieldName": "placeType"
5170
+ "default": "''",
5171
+ "description": "Coach ID, which is used to identify the coach in the navigation",
5172
+ "fieldName": "coachId"
5178
5173
  },
5179
5174
  {
5180
- "name": "state",
5175
+ "name": "property-ids",
5181
5176
  "type": {
5182
- "text": "PlaceState"
5177
+ "text": "string[]"
5183
5178
  },
5184
- "default": "'FREE'",
5185
- "description": "state of the place, e.g. 'FREE', 'SELECTED', 'BLOCKED'",
5186
- "fieldName": "state"
5179
+ "default": "[]",
5180
+ "description": "Coach service property ids, which are used to display the services in the navigation",
5181
+ "fieldName": "propertyIds"
5187
5182
  },
5188
5183
  {
5189
- "name": "propertyIds",
5184
+ "name": "selected",
5190
5185
  "type": {
5191
- "text": "string[]"
5186
+ "text": "boolean"
5192
5187
  },
5193
- "default": "[]",
5194
- "description": "property ids of the place, to display more info about the place",
5195
- "fieldName": "propertyIds"
5188
+ "default": "false",
5189
+ "fieldName": "selected"
5196
5190
  },
5197
5191
  {
5198
- "name": "rotation",
5192
+ "name": "focused",
5199
5193
  "type": {
5200
- "text": "number"
5194
+ "text": "boolean"
5201
5195
  },
5202
- "default": "0",
5203
- "description": "rotation in degrees (without unit)",
5204
- "fieldName": "rotation"
5196
+ "default": "false",
5197
+ "fieldName": "focused"
5205
5198
  },
5206
5199
  {
5207
- "name": "width",
5200
+ "name": "index",
5208
5201
  "type": {
5209
5202
  "text": "number"
5210
5203
  },
5211
- "default": "32",
5212
- "description": "width of the place in pixels (without unit)",
5213
- "fieldName": "width"
5204
+ "default": "0",
5205
+ "fieldName": "index"
5214
5206
  },
5215
5207
  {
5216
- "name": "height",
5208
+ "name": "travel-class",
5217
5209
  "type": {
5218
- "text": "number"
5210
+ "text": "PlaceTravelClass[]"
5219
5211
  },
5220
- "default": "32",
5221
- "description": "height of the place in pixels (without unit)",
5222
- "fieldName": "height"
5212
+ "default": "['ANY_CLASS']",
5213
+ "description": "Travel class of the coach",
5214
+ "fieldName": "travelClass"
5223
5215
  },
5224
5216
  {
5225
- "name": "text",
5217
+ "name": "driver-area",
5226
5218
  "type": {
5227
- "text": "string"
5219
+ "text": "boolean"
5228
5220
  },
5229
- "default": "''",
5230
- "description": "label of the place, e.g. '1A', '2B'",
5231
- "fieldName": "text"
5221
+ "default": "false",
5222
+ "description": "If the coach is a driver/restricted area",
5223
+ "fieldName": "driverArea"
5232
5224
  },
5233
5225
  {
5234
- "name": "text-rotation",
5226
+ "name": "first",
5235
5227
  "type": {
5236
- "text": "number"
5228
+ "text": "boolean"
5237
5229
  },
5238
- "default": "0",
5239
- "description": "Rotation of the text in degrees (without unit)",
5240
- "fieldName": "textRotation"
5230
+ "default": "false",
5231
+ "description": "If the coach is the first in the navigation",
5232
+ "fieldName": "first"
5241
5233
  },
5242
5234
  {
5243
- "name": "coach-index",
5235
+ "name": "last",
5244
5236
  "type": {
5245
- "text": "number"
5237
+ "text": "boolean"
5246
5238
  },
5247
- "default": "null!",
5248
- "description": "Coach Index Prop to identifier the right place to coach",
5249
- "fieldName": "coachIndex"
5239
+ "default": "false",
5240
+ "description": "If the coach is the last in the navigation",
5241
+ "fieldName": "last"
5250
5242
  },
5251
5243
  {
5252
- "name": "prevent-click",
5244
+ "name": "disable",
5253
5245
  "type": {
5254
5246
  "text": "boolean"
5255
5247
  },
5256
5248
  "default": "false",
5257
- "description": "Prevent click prop prevent any place action",
5258
- "fieldName": "preventClick"
5249
+ "description": "Disable the coach navigation",
5250
+ "fieldName": "disable"
5259
5251
  },
5260
5252
  {
5261
- "name": "keyfocus",
5253
+ "name": "vertical",
5262
5254
  "type": {
5263
- "text": "string"
5255
+ "text": "boolean"
5264
5256
  },
5265
- "default": "'unfocus'",
5266
- "description": "Set the place focus outline style",
5267
- "fieldName": "keyfocus"
5257
+ "default": "false",
5258
+ "description": "If the coach navigation should be displayed vertically",
5259
+ "fieldName": "vertical"
5268
5260
  }
5269
5261
  ],
5270
5262
  "superclass": {
5271
- "name": "SbbButtonBaseElement",
5272
- "package": "@sbb-esta/lyne-elements/core/base-elements.js"
5263
+ "name": "LitElement",
5264
+ "package": "lit"
5273
5265
  },
5274
- "tagName": "sbb-seat-reservation-place-control",
5266
+ "tagName": "sbb-seat-reservation-navigation-coach",
5275
5267
  "customElement": true
5276
5268
  }
5277
5269
  ],
5278
5270
  "exports": [
5279
5271
  {
5280
5272
  "kind": "js",
5281
- "name": "SbbSeatReservationPlaceControlElement",
5273
+ "name": "SbbSeatReservationNavigationCoachElement",
5282
5274
  "declaration": {
5283
- "name": "SbbSeatReservationPlaceControlElement",
5284
- "module": "seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js"
5275
+ "name": "SbbSeatReservationNavigationCoachElement",
5276
+ "module": "seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js"
5285
5277
  }
5286
5278
  },
5287
5279
  {
5288
5280
  "kind": "custom-element-definition",
5289
- "name": "sbb-seat-reservation-place-control",
5290
- "declaration": {
5291
- "name": "SbbSeatReservationPlaceControlElement",
5292
- "module": "seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js"
5293
- }
5294
- }
5295
- ]
5296
- },
5297
- {
5298
- "kind": "javascript-module",
5299
- "path": "seat-reservation/common/mapper/icon-mapper.js",
5300
- "declarations": [
5301
- {
5302
- "kind": "variable",
5303
- "name": "mapIconToSvg",
5304
- "type": {
5305
- "text": "Record<string, SeatReservationIcon>"
5306
- },
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' }, }"
5308
- }
5309
- ],
5310
- "exports": [
5311
- {
5312
- "kind": "js",
5313
- "name": "mapIconToSvg",
5281
+ "name": "sbb-seat-reservation-navigation-coach",
5314
5282
  "declaration": {
5315
- "name": "mapIconToSvg",
5316
- "module": "seat-reservation/common/mapper/icon-mapper.js"
5283
+ "name": "SbbSeatReservationNavigationCoachElement",
5284
+ "module": "seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js"
5317
5285
  }
5318
5286
  }
5319
5287
  ]
5320
5288
  },
5321
5289
  {
5322
5290
  "kind": "javascript-module",
5323
- "path": "seat-reservation/common/mapper/mapper.js",
5291
+ "path": "seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js",
5324
5292
  "declarations": [
5325
5293
  {
5326
- "kind": "function",
5327
- "name": "mapRawDataToSeatReservation",
5328
- "return": {
5329
- "type": {
5330
- "text": "SeatReservation"
5331
- }
5332
- },
5333
- "parameters": [
5294
+ "kind": "class",
5295
+ "description": "Component displays the available service icons of one coach.",
5296
+ "name": "SbbSeatReservationNavigationServicesElement",
5297
+ "members": [
5334
5298
  {
5335
- "name": "vehicleType",
5299
+ "kind": "field",
5300
+ "name": "propertyIds",
5336
5301
  "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",
5354
- "type": {
5355
- "text": "Place"
5356
- }
5302
+ "text": "string[]"
5303
+ },
5304
+ "privacy": "public",
5305
+ "default": "[]",
5306
+ "description": "Coach service property ids, which are used to display the services in the navigation",
5307
+ "attribute": "property-ids"
5357
5308
  },
5358
5309
  {
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",
5310
+ "kind": "field",
5311
+ "name": "vertical",
5378
5312
  "type": {
5379
- "text": "Place"
5380
- }
5313
+ "text": "boolean"
5314
+ },
5315
+ "privacy": "public",
5316
+ "default": "false",
5317
+ "description": "If true, the service icons are displayed vertically",
5318
+ "attribute": "vertical"
5381
5319
  },
5382
5320
  {
5383
- "name": "coach",
5384
- "type": {
5385
- "text": "CoachItem"
5386
- }
5321
+ "kind": "field",
5322
+ "name": "_language",
5323
+ "privacy": "private",
5324
+ "default": "new SbbLanguageController(this)"
5387
5325
  },
5388
5326
  {
5389
- "name": "coachIndex",
5390
- "type": {
5391
- "text": "number"
5327
+ "kind": "method",
5328
+ "name": "_getServiceLabelDescription",
5329
+ "privacy": "private",
5330
+ "return": {
5331
+ "type": {
5332
+ "text": "string | null"
5333
+ }
5392
5334
  }
5393
5335
  }
5394
5336
  ],
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": [
5337
+ "attributes": [
5406
5338
  {
5407
- "name": "coachIndex",
5339
+ "name": "property-ids",
5408
5340
  "type": {
5409
- "text": "number"
5410
- }
5341
+ "text": "string[]"
5342
+ },
5343
+ "default": "[]",
5344
+ "description": "Coach service property ids, which are used to display the services in the navigation",
5345
+ "fieldName": "propertyIds"
5411
5346
  },
5412
5347
  {
5413
- "name": "coach",
5348
+ "name": "vertical",
5414
5349
  "type": {
5415
- "text": "CoachItem"
5416
- }
5350
+ "text": "boolean"
5351
+ },
5352
+ "default": "false",
5353
+ "description": "If true, the service icons are displayed vertically",
5354
+ "fieldName": "vertical"
5417
5355
  }
5418
5356
  ],
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"
5357
+ "superclass": {
5358
+ "name": "LitElement",
5359
+ "package": "lit"
5482
5360
  },
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."
5361
+ "tagName": "sbb-seat-reservation-navigation-services",
5362
+ "customElement": true
5485
5363
  }
5486
5364
  ],
5487
5365
  "exports": [
5488
5366
  {
5489
5367
  "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",
5368
+ "name": "SbbSeatReservationNavigationServicesElement",
5499
5369
  "declaration": {
5500
- "name": "MOCK_COACHES_RAW_1",
5501
- "module": "seat-reservation/common/mapper/seat-reservation-sample-data.js"
5370
+ "name": "SbbSeatReservationNavigationServicesElement",
5371
+ "module": "seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js"
5502
5372
  }
5503
5373
  },
5504
5374
  {
5505
- "kind": "js",
5506
- "name": "MOCK_COACHES_RAW_REAL_DATA",
5375
+ "kind": "custom-element-definition",
5376
+ "name": "sbb-seat-reservation-navigation-services",
5507
5377
  "declaration": {
5508
- "name": "MOCK_COACHES_RAW_REAL_DATA",
5509
- "module": "seat-reservation/common/mapper/seat-reservation-sample-data.js"
5378
+ "name": "SbbSeatReservationNavigationServicesElement",
5379
+ "module": "seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js"
5510
5380
  }
5511
5381
  }
5512
5382
  ]
5513
5383
  },
5514
5384
  {
5515
5385
  "kind": "javascript-module",
5516
- "path": "seat-reservation/common/translations/i18n.js",
5386
+ "path": "seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js",
5517
5387
  "declarations": [
5518
5388
  {
5519
- "kind": "function",
5520
- "name": "getI18nSeatReservation",
5521
- "return": {
5522
- "type": {
5523
- "text": "string"
5524
- }
5525
- },
5526
- "parameters": [
5527
- {
5528
- "name": "key",
5529
- "type": {
5530
- "text": "string"
5531
- }
5532
- },
5389
+ "kind": "class",
5390
+ "description": "Output the graphic of a seat or a bicycle place as a control element.",
5391
+ "name": "SbbSeatReservationPlaceControlElement",
5392
+ "members": [
5533
5393
  {
5534
- "name": "language",
5394
+ "kind": "field",
5395
+ "name": "events",
5396
+ "privacy": "public",
5397
+ "static": true,
5398
+ "readonly": true,
5399
+ "default": "{ selectplace: 'selectplace', }",
5535
5400
  "type": {
5536
- "text": "string"
5401
+ "text": "{\n selectplace: 'selectplace',\n }"
5537
5402
  }
5538
5403
  },
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
5404
  {
5571
5405
  "kind": "field",
5572
- "name": "insetBlockStart",
5406
+ "name": "placeType",
5573
5407
  "type": {
5574
- "text": "string"
5408
+ "text": "PlaceType"
5575
5409
  },
5576
5410
  "privacy": "public",
5577
- "default": "''",
5578
- "description": "Inset block start in pixels (without unit)",
5579
- "attribute": "inset-block-start"
5411
+ "default": "'SEAT'",
5412
+ "description": "placeType of the place, e.g. 'SEAT', 'BICYCLE'",
5413
+ "attribute": "type"
5580
5414
  },
5581
5415
  {
5582
5416
  "kind": "field",
5583
- "name": "insetInlineStart",
5417
+ "name": "state",
5584
5418
  "type": {
5585
- "text": "string"
5419
+ "text": "PlaceState"
5586
5420
  },
5587
5421
  "privacy": "public",
5588
- "default": "''",
5589
- "description": "Inset inline start in pixels (without unit)",
5590
- "attribute": "inset-inline-start"
5422
+ "default": "'FREE'",
5423
+ "description": "state of the place, e.g. 'FREE', 'SELECTED', 'BLOCKED'",
5424
+ "attribute": "state"
5591
5425
  },
5592
5426
  {
5593
5427
  "kind": "field",
5594
- "name": "width",
5428
+ "name": "propertyIds",
5595
5429
  "type": {
5596
- "text": "string"
5430
+ "text": "string[]"
5597
5431
  },
5598
5432
  "privacy": "public",
5599
- "default": "''",
5600
- "description": "Width of the scoped element in pixels (without unit)",
5433
+ "default": "[]",
5434
+ "description": "property ids of the place, to display more info about the place",
5435
+ "attribute": "propertyIds"
5436
+ },
5437
+ {
5438
+ "kind": "field",
5439
+ "name": "rotation",
5440
+ "type": {
5441
+ "text": "number"
5442
+ },
5443
+ "privacy": "public",
5444
+ "default": "0",
5445
+ "description": "rotation in degrees (without unit)",
5446
+ "attribute": "rotation"
5447
+ },
5448
+ {
5449
+ "kind": "field",
5450
+ "name": "width",
5451
+ "type": {
5452
+ "text": "number"
5453
+ },
5454
+ "privacy": "public",
5455
+ "default": "32",
5456
+ "description": "width of the place in pixels (without unit)",
5601
5457
  "attribute": "width"
5602
5458
  },
5603
5459
  {
5604
5460
  "kind": "field",
5605
5461
  "name": "height",
5606
5462
  "type": {
5607
- "text": "string"
5463
+ "text": "number"
5608
5464
  },
5609
5465
  "privacy": "public",
5610
- "default": "''",
5611
- "description": "Height of the scoped element in pixels (without unit)",
5466
+ "default": "32",
5467
+ "description": "height of the place in pixels (without unit)",
5612
5468
  "attribute": "height"
5613
5469
  },
5614
5470
  {
5615
5471
  "kind": "field",
5616
- "name": "zIndex",
5472
+ "name": "text",
5617
5473
  "type": {
5618
5474
  "text": "string"
5619
5475
  },
5620
5476
  "privacy": "public",
5621
5477
  "default": "''",
5622
- "description": "Z-index of the scoped element",
5623
- "attribute": "z-index"
5478
+ "description": "label of the place, e.g. '1A', '2B'",
5479
+ "attribute": "text"
5624
5480
  },
5625
5481
  {
5626
5482
  "kind": "field",
5627
- "name": "cellId",
5483
+ "name": "textRotation",
5628
5484
  "type": {
5629
- "text": "string"
5485
+ "text": "number"
5630
5486
  },
5631
5487
  "privacy": "public",
5632
- "default": "''",
5633
- "description": "Cell id of the scoped element, if it is used in a table",
5634
- "attribute": "cell-id"
5488
+ "default": "0",
5489
+ "description": "Rotation of the text in degrees (without unit)",
5490
+ "attribute": "text-rotation"
5635
5491
  },
5636
5492
  {
5637
5493
  "kind": "field",
5638
- "name": "scopedClasses",
5494
+ "name": "coachIndex",
5495
+ "type": {
5496
+ "text": "number"
5497
+ },
5498
+ "privacy": "public",
5499
+ "default": "null!",
5500
+ "description": "Coach Index Prop to identifier the right place to coach",
5501
+ "attribute": "coach-index"
5502
+ },
5503
+ {
5504
+ "kind": "field",
5505
+ "name": "preventClick",
5506
+ "type": {
5507
+ "text": "boolean"
5508
+ },
5509
+ "privacy": "public",
5510
+ "default": "false",
5511
+ "description": "Prevent click prop prevent any place action",
5512
+ "attribute": "prevent-click"
5513
+ },
5514
+ {
5515
+ "kind": "field",
5516
+ "name": "keyfocus",
5639
5517
  "type": {
5640
5518
  "text": "string"
5641
5519
  },
5642
5520
  "privacy": "public",
5643
- "default": "''",
5644
- "description": "Scoped classes for the scoped element",
5645
- "attribute": "scoped-classes"
5521
+ "default": "'unfocus'",
5522
+ "description": "Set the place focus outline style",
5523
+ "attribute": "keyfocus"
5524
+ },
5525
+ {
5526
+ "kind": "field",
5527
+ "name": "_language",
5528
+ "privacy": "private",
5529
+ "default": "new SbbLanguageController(this)"
5530
+ },
5531
+ {
5532
+ "kind": "method",
5533
+ "name": "_getPlaceSvg",
5534
+ "privacy": "private",
5535
+ "return": {
5536
+ "type": {
5537
+ "text": "string"
5538
+ }
5539
+ },
5540
+ "parameters": [
5541
+ {
5542
+ "name": "type",
5543
+ "type": {
5544
+ "text": "PlaceType"
5545
+ }
5546
+ },
5547
+ {
5548
+ "name": "state",
5549
+ "type": {
5550
+ "text": "PlaceState"
5551
+ }
5552
+ }
5553
+ ]
5554
+ },
5555
+ {
5556
+ "kind": "method",
5557
+ "name": "_getTitleDescriptionPlace",
5558
+ "privacy": "private",
5559
+ "return": {
5560
+ "type": {
5561
+ "text": "string"
5562
+ }
5563
+ }
5564
+ },
5565
+ {
5566
+ "kind": "method",
5567
+ "name": "_selectPlace",
5568
+ "privacy": "private",
5569
+ "return": {
5570
+ "type": {
5571
+ "text": "void"
5572
+ }
5573
+ },
5574
+ "description": "If the place selectable, we emit the placeSelection object which contains infos to the place state"
5575
+ }
5576
+ ],
5577
+ "events": [
5578
+ {
5579
+ "name": "selectplace",
5580
+ "type": {
5581
+ "text": "CustomEvent<PlaceSelection>"
5582
+ },
5583
+ "description": "Emits when a place was selected via user interaction and returns a\nPlaceSelection object with necessary place information."
5646
5584
  }
5647
5585
  ],
5648
5586
  "attributes": [
5649
5587
  {
5650
- "name": "inset-block-start",
5588
+ "name": "type",
5651
5589
  "type": {
5652
- "text": "string"
5590
+ "text": "PlaceType"
5653
5591
  },
5654
- "default": "''",
5655
- "description": "Inset block start in pixels (without unit)",
5656
- "fieldName": "insetBlockStart"
5592
+ "default": "'SEAT'",
5593
+ "description": "placeType of the place, e.g. 'SEAT', 'BICYCLE'",
5594
+ "fieldName": "placeType"
5657
5595
  },
5658
5596
  {
5659
- "name": "inset-inline-start",
5597
+ "name": "state",
5660
5598
  "type": {
5661
- "text": "string"
5599
+ "text": "PlaceState"
5662
5600
  },
5663
- "default": "''",
5664
- "description": "Inset inline start in pixels (without unit)",
5665
- "fieldName": "insetInlineStart"
5601
+ "default": "'FREE'",
5602
+ "description": "state of the place, e.g. 'FREE', 'SELECTED', 'BLOCKED'",
5603
+ "fieldName": "state"
5604
+ },
5605
+ {
5606
+ "name": "propertyIds",
5607
+ "type": {
5608
+ "text": "string[]"
5609
+ },
5610
+ "default": "[]",
5611
+ "description": "property ids of the place, to display more info about the place",
5612
+ "fieldName": "propertyIds"
5613
+ },
5614
+ {
5615
+ "name": "rotation",
5616
+ "type": {
5617
+ "text": "number"
5618
+ },
5619
+ "default": "0",
5620
+ "description": "rotation in degrees (without unit)",
5621
+ "fieldName": "rotation"
5666
5622
  },
5667
5623
  {
5668
5624
  "name": "width",
5669
5625
  "type": {
5670
- "text": "string"
5626
+ "text": "number"
5671
5627
  },
5672
- "default": "''",
5673
- "description": "Width of the scoped element in pixels (without unit)",
5628
+ "default": "32",
5629
+ "description": "width of the place in pixels (without unit)",
5674
5630
  "fieldName": "width"
5675
5631
  },
5676
5632
  {
5677
5633
  "name": "height",
5678
5634
  "type": {
5679
- "text": "string"
5635
+ "text": "number"
5680
5636
  },
5681
- "default": "''",
5682
- "description": "Height of the scoped element in pixels (without unit)",
5637
+ "default": "32",
5638
+ "description": "height of the place in pixels (without unit)",
5683
5639
  "fieldName": "height"
5684
5640
  },
5685
5641
  {
5686
- "name": "z-index",
5642
+ "name": "text",
5687
5643
  "type": {
5688
5644
  "text": "string"
5689
5645
  },
5690
5646
  "default": "''",
5691
- "description": "Z-index of the scoped element",
5692
- "fieldName": "zIndex"
5647
+ "description": "label of the place, e.g. '1A', '2B'",
5648
+ "fieldName": "text"
5693
5649
  },
5694
5650
  {
5695
- "name": "cell-id",
5651
+ "name": "text-rotation",
5696
5652
  "type": {
5697
- "text": "string"
5653
+ "text": "number"
5698
5654
  },
5699
- "default": "''",
5700
- "description": "Cell id of the scoped element, if it is used in a table",
5701
- "fieldName": "cellId"
5655
+ "default": "0",
5656
+ "description": "Rotation of the text in degrees (without unit)",
5657
+ "fieldName": "textRotation"
5702
5658
  },
5703
5659
  {
5704
- "name": "scoped-classes",
5660
+ "name": "coach-index",
5661
+ "type": {
5662
+ "text": "number"
5663
+ },
5664
+ "default": "null!",
5665
+ "description": "Coach Index Prop to identifier the right place to coach",
5666
+ "fieldName": "coachIndex"
5667
+ },
5668
+ {
5669
+ "name": "prevent-click",
5670
+ "type": {
5671
+ "text": "boolean"
5672
+ },
5673
+ "default": "false",
5674
+ "description": "Prevent click prop prevent any place action",
5675
+ "fieldName": "preventClick"
5676
+ },
5677
+ {
5678
+ "name": "keyfocus",
5705
5679
  "type": {
5706
5680
  "text": "string"
5707
5681
  },
5708
- "default": "''",
5709
- "description": "Scoped classes for the scoped element",
5710
- "fieldName": "scopedClasses"
5682
+ "default": "'unfocus'",
5683
+ "description": "Set the place focus outline style",
5684
+ "fieldName": "keyfocus"
5711
5685
  }
5712
5686
  ],
5713
5687
  "superclass": {
5714
- "name": "LitElement",
5715
- "package": "lit"
5688
+ "name": "SbbButtonBaseElement",
5689
+ "package": "@sbb-esta/lyne-elements/core/base-elements.js"
5716
5690
  },
5717
- "tagName": "sbb-seat-reservation-scoped",
5691
+ "tagName": "sbb-seat-reservation-place-control",
5718
5692
  "customElement": true
5719
5693
  }
5720
5694
  ],
5721
5695
  "exports": [
5722
5696
  {
5723
5697
  "kind": "js",
5724
- "name": "SbbSeatReservationScopedElement",
5698
+ "name": "SbbSeatReservationPlaceControlElement",
5725
5699
  "declaration": {
5726
- "name": "SbbSeatReservationScopedElement",
5727
- "module": "seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js"
5700
+ "name": "SbbSeatReservationPlaceControlElement",
5701
+ "module": "seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js"
5728
5702
  }
5729
5703
  },
5730
5704
  {
5731
5705
  "kind": "custom-element-definition",
5732
- "name": "sbb-seat-reservation-scoped",
5706
+ "name": "sbb-seat-reservation-place-control",
5733
5707
  "declaration": {
5734
- "name": "SbbSeatReservationScopedElement",
5735
- "module": "seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js"
5708
+ "name": "SbbSeatReservationPlaceControlElement",
5709
+ "module": "seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js"
5736
5710
  }
5737
5711
  }
5738
5712
  ]
5739
5713
  },
5740
5714
  {
5741
5715
  "kind": "javascript-module",
5742
- "path": "seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js",
5716
+ "path": "seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js",
5743
5717
  "declarations": [
5744
5718
  {
5745
5719
  "kind": "class",
5746
- "description": "This component will display the navigation coach item for Seat reservation.",
5747
- "name": "SbbSeatReservationNavigationCoachElement",
5720
+ "description": "Wrapper class for scoped elements with similar properties to set.",
5721
+ "name": "SbbSeatReservationScopedElement",
5748
5722
  "members": [
5749
5723
  {
5750
5724
  "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",
5725
+ "name": "insetBlockStart",
5763
5726
  "type": {
5764
5727
  "text": "string"
5765
5728
  },
5766
5729
  "privacy": "public",
5767
5730
  "default": "''",
5768
- "description": "Coach ID, which is used to identify the coach in the navigation",
5769
- "attribute": "coach-id"
5731
+ "description": "Inset block start in pixels (without unit)",
5732
+ "attribute": "inset-block-start"
5770
5733
  },
5771
5734
  {
5772
5735
  "kind": "field",
5773
- "name": "propertyIds",
5736
+ "name": "insetInlineStart",
5774
5737
  "type": {
5775
- "text": "string[]"
5738
+ "text": "string"
5776
5739
  },
5777
5740
  "privacy": "public",
5778
- "default": "[]",
5779
- "description": "Coach service property ids, which are used to display the services in the navigation",
5780
- "attribute": "property-ids"
5741
+ "default": "''",
5742
+ "description": "Inset inline start in pixels (without unit)",
5743
+ "attribute": "inset-inline-start"
5781
5744
  },
5782
5745
  {
5783
5746
  "kind": "field",
5784
- "name": "selected",
5747
+ "name": "width",
5785
5748
  "type": {
5786
- "text": "boolean"
5749
+ "text": "string"
5787
5750
  },
5788
5751
  "privacy": "public",
5789
- "default": "false",
5790
- "attribute": "selected"
5752
+ "default": "''",
5753
+ "description": "Width of the scoped element in pixels (without unit)",
5754
+ "attribute": "width"
5791
5755
  },
5792
5756
  {
5793
5757
  "kind": "field",
5794
- "name": "focused",
5758
+ "name": "height",
5795
5759
  "type": {
5796
- "text": "boolean"
5760
+ "text": "string"
5797
5761
  },
5798
5762
  "privacy": "public",
5799
- "default": "false",
5800
- "attribute": "focused"
5763
+ "default": "''",
5764
+ "description": "Height of the scoped element in pixels (without unit)",
5765
+ "attribute": "height"
5801
5766
  },
5802
5767
  {
5803
5768
  "kind": "field",
5804
- "name": "index",
5769
+ "name": "zIndex",
5805
5770
  "type": {
5806
- "text": "number"
5771
+ "text": "string"
5807
5772
  },
5808
5773
  "privacy": "public",
5809
- "default": "0",
5810
- "attribute": "index"
5774
+ "default": "''",
5775
+ "description": "Z-index of the scoped element",
5776
+ "attribute": "z-index"
5811
5777
  },
5812
5778
  {
5813
5779
  "kind": "field",
5814
- "name": "travelClass",
5780
+ "name": "cellId",
5815
5781
  "type": {
5816
- "text": "PlaceTravelClass[]"
5782
+ "text": "string"
5817
5783
  },
5818
5784
  "privacy": "public",
5819
- "default": "['ANY_CLASS']",
5820
- "description": "Travel class of the coach",
5821
- "attribute": "travel-class"
5785
+ "default": "''",
5786
+ "description": "Cell id of the scoped element, if it is used in a table",
5787
+ "attribute": "cell-id"
5822
5788
  },
5823
5789
  {
5824
5790
  "kind": "field",
5825
- "name": "driverArea",
5791
+ "name": "scopedClasses",
5826
5792
  "type": {
5827
- "text": "boolean"
5793
+ "text": "string"
5828
5794
  },
5829
5795
  "privacy": "public",
5830
- "default": "false",
5831
- "description": "If the coach is a driver/restricted area",
5832
- "attribute": "driver-area"
5833
- },
5796
+ "default": "''",
5797
+ "description": "Scoped classes for the scoped element",
5798
+ "attribute": "scoped-classes"
5799
+ }
5800
+ ],
5801
+ "attributes": [
5834
5802
  {
5835
- "kind": "field",
5836
- "name": "first",
5803
+ "name": "inset-block-start",
5837
5804
  "type": {
5838
- "text": "boolean"
5805
+ "text": "string"
5839
5806
  },
5840
- "privacy": "public",
5841
- "default": "false",
5842
- "description": "If the coach is the first in the navigation",
5843
- "attribute": "first"
5807
+ "default": "''",
5808
+ "description": "Inset block start in pixels (without unit)",
5809
+ "fieldName": "insetBlockStart"
5844
5810
  },
5845
5811
  {
5846
- "kind": "field",
5847
- "name": "last",
5812
+ "name": "inset-inline-start",
5848
5813
  "type": {
5849
- "text": "boolean"
5814
+ "text": "string"
5850
5815
  },
5851
- "privacy": "public",
5852
- "default": "false",
5853
- "description": "If the coach is the last in the navigation",
5854
- "attribute": "last"
5816
+ "default": "''",
5817
+ "description": "Inset inline start in pixels (without unit)",
5818
+ "fieldName": "insetInlineStart"
5855
5819
  },
5856
5820
  {
5857
- "kind": "field",
5858
- "name": "disable",
5821
+ "name": "width",
5859
5822
  "type": {
5860
- "text": "boolean"
5823
+ "text": "string"
5861
5824
  },
5862
- "privacy": "public",
5863
- "default": "false",
5864
- "description": "Disable the coach navigation",
5865
- "attribute": "disable"
5825
+ "default": "''",
5826
+ "description": "Width of the scoped element in pixels (without unit)",
5827
+ "fieldName": "width"
5866
5828
  },
5867
5829
  {
5868
- "kind": "field",
5869
- "name": "vertical",
5830
+ "name": "height",
5870
5831
  "type": {
5871
- "text": "boolean"
5832
+ "text": "string"
5872
5833
  },
5873
- "privacy": "public",
5874
- "default": "false",
5875
- "description": "If the coach navigation should be displayed vertically",
5876
- "attribute": "vertical"
5834
+ "default": "''",
5835
+ "description": "Height of the scoped element in pixels (without unit)",
5836
+ "fieldName": "height"
5877
5837
  },
5878
5838
  {
5879
- "kind": "field",
5880
- "name": "_language",
5881
- "privacy": "private",
5882
- "default": "new SbbLanguageController(this)"
5839
+ "name": "z-index",
5840
+ "type": {
5841
+ "text": "string"
5842
+ },
5843
+ "default": "''",
5844
+ "description": "Z-index of the scoped element",
5845
+ "fieldName": "zIndex"
5883
5846
  },
5884
5847
  {
5885
- "kind": "field",
5886
- "name": "selectNavCoach",
5848
+ "name": "cell-id",
5887
5849
  "type": {
5888
- "text": "EventEmitter<SelectCoachEventDetails>"
5850
+ "text": "string"
5889
5851
  },
5890
- "privacy": "protected",
5891
- "default": "new EventEmitter( this, SbbSeatReservationNavigationCoachElement.events.selectCoach, )",
5892
- "description": "Emits when a coach within the navigation was selected"
5852
+ "default": "''",
5853
+ "description": "Cell id of the scoped element, if it is used in a table",
5854
+ "fieldName": "cellId"
5893
5855
  },
5894
5856
  {
5895
- "kind": "field",
5896
- "name": "focusNavCoach",
5857
+ "name": "scoped-classes",
5897
5858
  "type": {
5898
- "text": "EventEmitter<void>"
5859
+ "text": "string"
5899
5860
  },
5900
- "privacy": "protected",
5901
- "default": "new EventEmitter( this, SbbSeatReservationNavigationCoachElement.events.focusCoach, )"
5902
- },
5861
+ "default": "''",
5862
+ "description": "Scoped classes for the scoped element",
5863
+ "fieldName": "scopedClasses"
5864
+ }
5865
+ ],
5866
+ "superclass": {
5867
+ "name": "LitElement",
5868
+ "package": "lit"
5869
+ },
5870
+ "tagName": "sbb-seat-reservation-scoped",
5871
+ "customElement": true
5872
+ }
5873
+ ],
5874
+ "exports": [
5875
+ {
5876
+ "kind": "js",
5877
+ "name": "SbbSeatReservationScopedElement",
5878
+ "declaration": {
5879
+ "name": "SbbSeatReservationScopedElement",
5880
+ "module": "seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js"
5881
+ }
5882
+ },
5883
+ {
5884
+ "kind": "custom-element-definition",
5885
+ "name": "sbb-seat-reservation-scoped",
5886
+ "declaration": {
5887
+ "name": "SbbSeatReservationScopedElement",
5888
+ "module": "seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js"
5889
+ }
5890
+ }
5891
+ ]
5892
+ },
5893
+ {
5894
+ "kind": "javascript-module",
5895
+ "path": "seat-reservation/common/mapper/icon-mapper.js",
5896
+ "declarations": [
5897
+ {
5898
+ "kind": "variable",
5899
+ "name": "mapIconToSvg",
5900
+ "type": {
5901
+ "text": "Record<string, SeatReservationIcon>"
5902
+ },
5903
+ "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' }, }"
5904
+ }
5905
+ ],
5906
+ "exports": [
5907
+ {
5908
+ "kind": "js",
5909
+ "name": "mapIconToSvg",
5910
+ "declaration": {
5911
+ "name": "mapIconToSvg",
5912
+ "module": "seat-reservation/common/mapper/icon-mapper.js"
5913
+ }
5914
+ }
5915
+ ]
5916
+ },
5917
+ {
5918
+ "kind": "javascript-module",
5919
+ "path": "seat-reservation/common/mapper/mapper.js",
5920
+ "declarations": [
5921
+ {
5922
+ "kind": "function",
5923
+ "name": "mapRawDataToSeatReservation",
5924
+ "return": {
5925
+ "type": {
5926
+ "text": "SeatReservation"
5927
+ }
5928
+ },
5929
+ "parameters": [
5903
5930
  {
5904
- "kind": "method",
5905
- "name": "_getNavigationButton",
5906
- "privacy": "private",
5907
- "return": {
5908
- "type": {
5909
- "text": "TemplateResult | null"
5910
- }
5931
+ "name": "vehicleType",
5932
+ "type": {
5933
+ "text": "VehicleType"
5911
5934
  }
5912
- },
5935
+ }
5936
+ ],
5937
+ "description": "Map function that converts the RAW OSDM mock data into SeatReservation"
5938
+ },
5939
+ {
5940
+ "kind": "function",
5941
+ "name": "mapPlaceInfosToPlaceSelection",
5942
+ "return": {
5943
+ "type": {
5944
+ "text": ""
5945
+ }
5946
+ },
5947
+ "parameters": [
5913
5948
  {
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
- ]
5949
+ "name": "place",
5950
+ "type": {
5951
+ "text": "Place"
5952
+ }
5930
5953
  },
5931
5954
  {
5932
- "kind": "method",
5933
- "name": "_getTitleDescriptionNavCoachButton",
5934
- "privacy": "private",
5935
- "return": {
5936
- "type": {
5937
- "text": "string"
5938
- }
5939
- },
5940
- "parameters": [
5941
- {
5942
- "name": "serviceClassNumber",
5943
- "type": {
5944
- "text": "number | null"
5945
- }
5946
- }
5947
- ]
5948
- },
5949
- {
5950
- "kind": "method",
5951
- "name": "_getAriaDescriptionCoachServices",
5952
- "privacy": "private",
5953
- "return": {
5954
- "type": {
5955
- "text": "string | null"
5956
- }
5957
- }
5958
- },
5959
- {
5960
- "kind": "method",
5961
- "name": "_selectNavCoach",
5962
- "privacy": "private",
5963
- "return": {
5964
- "type": {
5965
- "text": "void"
5966
- }
5967
- },
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."
5977
- },
5978
- {
5979
- "kind": "method",
5980
- "name": "_getCoachServiceClassNumber",
5981
- "privacy": "private",
5982
- "return": {
5983
- "type": {
5984
- "text": "number | null"
5985
- }
5955
+ "name": "coachIndex",
5956
+ "type": {
5957
+ "text": "number"
5986
5958
  }
5987
5959
  }
5988
5960
  ],
5989
- "events": [
5990
- {
5991
- "type": {
5992
- "text": "CustomEvent<SelectCoachEventDetails>"
5993
- },
5994
- "description": "Emits when a coach within the navigation was selected and returns the clicked coach nav index",
5995
- "name": "selectCoach"
5996
- },
5997
- {
5998
- "type": {
5999
- "text": "CustomEvent<void>"
6000
- },
6001
- "description": "Emits when a nav coach has the focus",
6002
- "name": "focusCoach"
5961
+ "description": "Mapped place and coach informations to place selection"
5962
+ },
5963
+ {
5964
+ "kind": "function",
5965
+ "name": "mapPlaceAndCoachToSeatReservationPlaceSelection",
5966
+ "return": {
5967
+ "type": {
5968
+ "text": ""
6003
5969
  }
6004
- ],
6005
- "attributes": [
6006
- {
6007
- "name": "coach-id",
6008
- "type": {
6009
- "text": "string"
6010
- },
6011
- "default": "''",
6012
- "description": "Coach ID, which is used to identify the coach in the navigation",
6013
- "fieldName": "coachId"
6014
- },
6015
- {
6016
- "name": "property-ids",
6017
- "type": {
6018
- "text": "string[]"
6019
- },
6020
- "default": "[]",
6021
- "description": "Coach service property ids, which are used to display the services in the navigation",
6022
- "fieldName": "propertyIds"
6023
- },
5970
+ },
5971
+ "parameters": [
6024
5972
  {
6025
- "name": "selected",
5973
+ "name": "place",
6026
5974
  "type": {
6027
- "text": "boolean"
6028
- },
6029
- "default": "false",
6030
- "fieldName": "selected"
5975
+ "text": "Place"
5976
+ }
6031
5977
  },
6032
5978
  {
6033
- "name": "focused",
5979
+ "name": "coach",
6034
5980
  "type": {
6035
- "text": "boolean"
6036
- },
6037
- "default": "false",
6038
- "fieldName": "focused"
5981
+ "text": "CoachItem"
5982
+ }
6039
5983
  },
6040
5984
  {
6041
- "name": "index",
5985
+ "name": "coachIndex",
6042
5986
  "type": {
6043
5987
  "text": "number"
6044
- },
6045
- "default": "0",
6046
- "fieldName": "index"
6047
- },
6048
- {
6049
- "name": "travel-class",
6050
- "type": {
6051
- "text": "PlaceTravelClass[]"
6052
- },
6053
- "default": "['ANY_CLASS']",
6054
- "description": "Travel class of the coach",
6055
- "fieldName": "travelClass"
6056
- },
6057
- {
6058
- "name": "driver-area",
6059
- "type": {
6060
- "text": "boolean"
6061
- },
6062
- "default": "false",
6063
- "description": "If the coach is a driver/restricted area",
6064
- "fieldName": "driverArea"
6065
- },
6066
- {
6067
- "name": "first",
6068
- "type": {
6069
- "text": "boolean"
6070
- },
6071
- "default": "false",
6072
- "description": "If the coach is the first in the navigation",
6073
- "fieldName": "first"
6074
- },
6075
- {
6076
- "name": "last",
6077
- "type": {
6078
- "text": "boolean"
6079
- },
6080
- "default": "false",
6081
- "description": "If the coach is the last in the navigation",
6082
- "fieldName": "last"
6083
- },
5988
+ }
5989
+ }
5990
+ ],
5991
+ "description": "Mapped information from place, coach and the coachindex to the seatReservationPlaceSelection.\nThis Object information is emitted outwards"
5992
+ },
5993
+ {
5994
+ "kind": "function",
5995
+ "name": "mapCoachInfosToCoachSelection",
5996
+ "return": {
5997
+ "type": {
5998
+ "text": ""
5999
+ }
6000
+ },
6001
+ "parameters": [
6084
6002
  {
6085
- "name": "disable",
6003
+ "name": "coachIndex",
6086
6004
  "type": {
6087
- "text": "boolean"
6088
- },
6089
- "default": "false",
6090
- "description": "Disable the coach navigation",
6091
- "fieldName": "disable"
6005
+ "text": "number"
6006
+ }
6092
6007
  },
6093
6008
  {
6094
- "name": "vertical",
6009
+ "name": "coach",
6095
6010
  "type": {
6096
- "text": "boolean"
6097
- },
6098
- "default": "false",
6099
- "description": "If the coach navigation should be displayed vertically",
6100
- "fieldName": "vertical"
6011
+ "text": "CoachItem"
6012
+ }
6101
6013
  }
6102
6014
  ],
6103
- "superclass": {
6104
- "name": "LitElement",
6105
- "package": "lit"
6015
+ "description": "Mapped coach information to coach selection"
6016
+ }
6017
+ ],
6018
+ "exports": [
6019
+ {
6020
+ "kind": "js",
6021
+ "name": "mapRawDataToSeatReservation",
6022
+ "declaration": {
6023
+ "name": "mapRawDataToSeatReservation",
6024
+ "module": "seat-reservation/common/mapper/mapper.js"
6025
+ }
6026
+ },
6027
+ {
6028
+ "kind": "js",
6029
+ "name": "mapPlaceInfosToPlaceSelection",
6030
+ "declaration": {
6031
+ "name": "mapPlaceInfosToPlaceSelection",
6032
+ "module": "seat-reservation/common/mapper/mapper.js"
6033
+ }
6034
+ },
6035
+ {
6036
+ "kind": "js",
6037
+ "name": "mapPlaceAndCoachToSeatReservationPlaceSelection",
6038
+ "declaration": {
6039
+ "name": "mapPlaceAndCoachToSeatReservationPlaceSelection",
6040
+ "module": "seat-reservation/common/mapper/mapper.js"
6041
+ }
6042
+ },
6043
+ {
6044
+ "kind": "js",
6045
+ "name": "mapCoachInfosToCoachSelection",
6046
+ "declaration": {
6047
+ "name": "mapCoachInfosToCoachSelection",
6048
+ "module": "seat-reservation/common/mapper/mapper.js"
6049
+ }
6050
+ }
6051
+ ]
6052
+ },
6053
+ {
6054
+ "kind": "javascript-module",
6055
+ "path": "seat-reservation/common/mapper/seat-reservation-sample-data.js",
6056
+ "declarations": [
6057
+ {
6058
+ "kind": "variable",
6059
+ "name": "MOCK_COACHES_RAW_0",
6060
+ "type": {
6061
+ "text": "array"
6106
6062
  },
6107
- "tagName": "sbb-seat-reservation-navigation-coach",
6108
- "customElement": true
6063
+ "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: [], }, }, ]"
6064
+ },
6065
+ {
6066
+ "kind": "variable",
6067
+ "name": "MOCK_COACHES_RAW_1",
6068
+ "type": {
6069
+ "text": "array"
6070
+ },
6071
+ "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', }, ], }, }, ]"
6072
+ },
6073
+ {
6074
+ "kind": "variable",
6075
+ "name": "MOCK_COACHES_RAW_REAL_DATA",
6076
+ "type": {
6077
+ "text": "array"
6078
+ },
6079
+ "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', }, ], }, }, ]",
6080
+ "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
6081
  }
6110
6082
  ],
6111
6083
  "exports": [
6112
6084
  {
6113
6085
  "kind": "js",
6114
- "name": "SbbSeatReservationNavigationCoachElement",
6086
+ "name": "MOCK_COACHES_RAW_0",
6115
6087
  "declaration": {
6116
- "name": "SbbSeatReservationNavigationCoachElement",
6117
- "module": "seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js"
6088
+ "name": "MOCK_COACHES_RAW_0",
6089
+ "module": "seat-reservation/common/mapper/seat-reservation-sample-data.js"
6118
6090
  }
6119
6091
  },
6120
6092
  {
6121
- "kind": "custom-element-definition",
6122
- "name": "sbb-seat-reservation-navigation-coach",
6093
+ "kind": "js",
6094
+ "name": "MOCK_COACHES_RAW_1",
6123
6095
  "declaration": {
6124
- "name": "SbbSeatReservationNavigationCoachElement",
6125
- "module": "seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js"
6096
+ "name": "MOCK_COACHES_RAW_1",
6097
+ "module": "seat-reservation/common/mapper/seat-reservation-sample-data.js"
6098
+ }
6099
+ },
6100
+ {
6101
+ "kind": "js",
6102
+ "name": "MOCK_COACHES_RAW_REAL_DATA",
6103
+ "declaration": {
6104
+ "name": "MOCK_COACHES_RAW_REAL_DATA",
6105
+ "module": "seat-reservation/common/mapper/seat-reservation-sample-data.js"
6126
6106
  }
6127
6107
  }
6128
6108
  ]
6129
6109
  },
6130
6110
  {
6131
6111
  "kind": "javascript-module",
6132
- "path": "seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js",
6112
+ "path": "seat-reservation/common/translations/i18n.js",
6133
6113
  "declarations": [
6134
6114
  {
6135
- "kind": "class",
6136
- "description": "Component displays the available service icons of one coach.",
6137
- "name": "SbbSeatReservationNavigationServicesElement",
6138
- "members": [
6115
+ "kind": "function",
6116
+ "name": "getI18nSeatReservation",
6117
+ "return": {
6118
+ "type": {
6119
+ "text": "string"
6120
+ }
6121
+ },
6122
+ "parameters": [
6139
6123
  {
6140
- "kind": "field",
6141
- "name": "propertyIds",
6124
+ "name": "key",
6142
6125
  "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"
6126
+ "text": "string"
6127
+ }
6149
6128
  },
6150
6129
  {
6151
- "kind": "field",
6152
- "name": "vertical",
6130
+ "name": "language",
6153
6131
  "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
- }
6132
+ "text": "string"
6175
6133
  }
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
6134
  },
6188
6135
  {
6189
- "name": "vertical",
6136
+ "name": "args",
6137
+ "optional": true,
6190
6138
  "type": {
6191
- "text": "boolean"
6192
- },
6193
- "default": "false",
6194
- "description": "If true, the service icons are displayed vertically",
6195
- "fieldName": "vertical"
6139
+ "text": "any[]"
6140
+ }
6196
6141
  }
6197
6142
  ],
6198
- "superclass": {
6199
- "name": "LitElement",
6200
- "package": "lit"
6201
- },
6202
- "tagName": "sbb-seat-reservation-navigation-services",
6203
- "customElement": true
6143
+ "description": "get the translated message with key being the requested key and language the current\nlanguage mostly used from SbbLanguageController"
6204
6144
  }
6205
6145
  ],
6206
6146
  "exports": [
6207
6147
  {
6208
6148
  "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",
6149
+ "name": "getI18nSeatReservation",
6218
6150
  "declaration": {
6219
- "name": "SbbSeatReservationNavigationServicesElement",
6220
- "module": "seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js"
6151
+ "name": "getI18nSeatReservation",
6152
+ "module": "seat-reservation/common/translations/i18n.js"
6221
6153
  }
6222
6154
  }
6223
6155
  ]