@sbb-esta/lyne-elements-experimental 2.10.1 → 2.11.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 (166) hide show
  1. package/custom-elements.json +4357 -0
  2. package/development/seat-reservation/common/mapper/icon-mapper.d.ts +112 -0
  3. package/development/seat-reservation/common/mapper/icon-mapper.d.ts.map +1 -0
  4. package/development/seat-reservation/common/mapper/icon-mapper.js +72 -0
  5. package/development/seat-reservation/common/mapper/mapper.d.ts +29 -0
  6. package/development/seat-reservation/common/mapper/mapper.d.ts.map +1 -0
  7. package/development/seat-reservation/common/mapper/mapper.js +117 -0
  8. package/development/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts +225 -0
  9. package/development/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts.map +1 -0
  10. package/development/seat-reservation/common/mapper/seat-reservation-sample-data.js +6152 -0
  11. package/development/seat-reservation/common/mapper.d.ts +3 -0
  12. package/development/seat-reservation/common/mapper.d.ts.map +1 -0
  13. package/development/seat-reservation/common/mapper.js +10 -0
  14. package/development/seat-reservation/common/svgs.d.ts +25 -0
  15. package/development/seat-reservation/common/svgs.d.ts.map +1 -0
  16. package/development/seat-reservation/common/svgs.js +48 -0
  17. package/development/seat-reservation/common/translations/i18n.d.ts +19 -0
  18. package/development/seat-reservation/common/translations/i18n.d.ts.map +1 -0
  19. package/development/seat-reservation/common/translations/i18n.js +462 -0
  20. package/development/seat-reservation/common/translations.d.ts +2 -0
  21. package/development/seat-reservation/common/translations.d.ts.map +1 -0
  22. package/development/seat-reservation/common/translations.js +5 -0
  23. package/development/seat-reservation/common/types.d.ts +71 -0
  24. package/development/seat-reservation/common/types.d.ts.map +1 -0
  25. package/development/seat-reservation/common/types.js +2 -0
  26. package/development/seat-reservation/common.d.ts +8 -0
  27. package/development/seat-reservation/common.d.ts.map +1 -0
  28. package/development/seat-reservation/common.js +14 -0
  29. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts +157 -0
  30. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -0
  31. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.js +706 -0
  32. package/development/seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts +29 -0
  33. package/development/seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +1 -0
  34. package/development/seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js +196 -0
  35. package/development/seat-reservation/seat-reservation/seat-reservation-scoped.d.ts +5 -0
  36. package/development/seat-reservation/seat-reservation/seat-reservation-scoped.d.ts.map +1 -0
  37. package/development/seat-reservation/seat-reservation/seat-reservation-scoped.js +5 -0
  38. package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts +62 -0
  39. package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -0
  40. package/development/seat-reservation/seat-reservation/seat-reservation.component.js +615 -0
  41. package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.d.ts +18 -0
  42. package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.d.ts.map +1 -0
  43. package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +108 -0
  44. package/development/seat-reservation/seat-reservation-area.d.ts +5 -0
  45. package/development/seat-reservation/seat-reservation-area.d.ts.map +1 -0
  46. package/development/seat-reservation/seat-reservation-area.js +5 -0
  47. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-assets.d.ts +9 -0
  48. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-assets.d.ts.map +1 -0
  49. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-assets.js +326 -0
  50. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.d.ts +29 -0
  51. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.d.ts.map +1 -0
  52. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +224 -0
  53. package/development/seat-reservation/seat-reservation-graphic.d.ts +5 -0
  54. package/development/seat-reservation/seat-reservation-graphic.d.ts.map +1 -0
  55. package/development/seat-reservation/seat-reservation-graphic.js +5 -0
  56. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts +66 -0
  57. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +1 -0
  58. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +576 -0
  59. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.d.ts +5 -0
  60. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.d.ts.map +1 -0
  61. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.js +5 -0
  62. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts +21 -0
  63. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +1 -0
  64. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +123 -0
  65. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.d.ts +5 -0
  66. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.d.ts.map +1 -0
  67. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.js +5 -0
  68. package/development/seat-reservation/seat-reservation-navigation.d.ts +6 -0
  69. package/development/seat-reservation/seat-reservation-navigation.d.ts.map +1 -0
  70. package/development/seat-reservation/seat-reservation-navigation.js +7 -0
  71. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts +53 -0
  72. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts.map +1 -0
  73. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +446 -0
  74. package/development/seat-reservation/seat-reservation-place-control.d.ts +5 -0
  75. package/development/seat-reservation/seat-reservation-place-control.d.ts.map +1 -0
  76. package/development/seat-reservation/seat-reservation-place-control.js +5 -0
  77. package/development/seat-reservation/seat-reservation.d.ts +7 -0
  78. package/development/seat-reservation/seat-reservation.d.ts.map +1 -0
  79. package/development/seat-reservation/seat-reservation.js +9 -0
  80. package/development/seat-reservation.d.ts +10 -0
  81. package/development/seat-reservation.d.ts.map +1 -0
  82. package/development/seat-reservation.js +30 -0
  83. package/index.d.ts +14 -0
  84. package/index.js +14 -0
  85. package/package.json +52 -2
  86. package/seat-reservation/common/mapper/icon-mapper.d.ts +112 -0
  87. package/seat-reservation/common/mapper/icon-mapper.d.ts.map +1 -0
  88. package/seat-reservation/common/mapper/icon-mapper.js +71 -0
  89. package/seat-reservation/common/mapper/mapper.d.ts +29 -0
  90. package/seat-reservation/common/mapper/mapper.d.ts.map +1 -0
  91. package/seat-reservation/common/mapper/mapper.js +87 -0
  92. package/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts +225 -0
  93. package/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts.map +1 -0
  94. package/seat-reservation/common/mapper/seat-reservation-sample-data.js +6149 -0
  95. package/seat-reservation/common/mapper.d.ts +3 -0
  96. package/seat-reservation/common/mapper.d.ts.map +1 -0
  97. package/seat-reservation/common/mapper.js +9 -0
  98. package/seat-reservation/common/svgs.d.ts +25 -0
  99. package/seat-reservation/common/svgs.d.ts.map +1 -0
  100. package/seat-reservation/common/svgs.js +250 -0
  101. package/seat-reservation/common/translations/i18n.d.ts +19 -0
  102. package/seat-reservation/common/translations/i18n.d.ts.map +1 -0
  103. package/seat-reservation/common/translations/i18n.js +460 -0
  104. package/seat-reservation/common/translations.d.ts +2 -0
  105. package/seat-reservation/common/translations.d.ts.map +1 -0
  106. package/seat-reservation/common/translations.js +4 -0
  107. package/seat-reservation/common/types.d.ts +71 -0
  108. package/seat-reservation/common/types.d.ts.map +1 -0
  109. package/seat-reservation/common/types.js +1 -0
  110. package/seat-reservation/common.d.ts +8 -0
  111. package/seat-reservation/common.d.ts.map +1 -0
  112. package/seat-reservation/common.js +13 -0
  113. package/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts +157 -0
  114. package/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -0
  115. package/seat-reservation/seat-reservation/seat-reservation-base-element.js +435 -0
  116. package/seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts +29 -0
  117. package/seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +1 -0
  118. package/seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js +107 -0
  119. package/seat-reservation/seat-reservation/seat-reservation-scoped.d.ts +5 -0
  120. package/seat-reservation/seat-reservation/seat-reservation-scoped.d.ts.map +1 -0
  121. package/seat-reservation/seat-reservation/seat-reservation-scoped.js +4 -0
  122. package/seat-reservation/seat-reservation/seat-reservation.component.d.ts +62 -0
  123. package/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -0
  124. package/seat-reservation/seat-reservation/seat-reservation.component.js +404 -0
  125. package/seat-reservation/seat-reservation-area/seat-reservation-area.component.d.ts +18 -0
  126. package/seat-reservation/seat-reservation-area/seat-reservation-area.component.d.ts.map +1 -0
  127. package/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +49 -0
  128. package/seat-reservation/seat-reservation-area.d.ts +5 -0
  129. package/seat-reservation/seat-reservation-area.d.ts.map +1 -0
  130. package/seat-reservation/seat-reservation-area.js +4 -0
  131. package/seat-reservation/seat-reservation-graphic/seat-reservation-assets.d.ts +9 -0
  132. package/seat-reservation/seat-reservation-graphic/seat-reservation-assets.d.ts.map +1 -0
  133. package/seat-reservation/seat-reservation-graphic/seat-reservation-assets.js +317 -0
  134. package/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.d.ts +29 -0
  135. package/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.d.ts.map +1 -0
  136. package/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +113 -0
  137. package/seat-reservation/seat-reservation-graphic.d.ts +5 -0
  138. package/seat-reservation/seat-reservation-graphic.d.ts.map +1 -0
  139. package/seat-reservation/seat-reservation-graphic.js +4 -0
  140. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts +66 -0
  141. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +1 -0
  142. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +248 -0
  143. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.d.ts +5 -0
  144. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.d.ts.map +1 -0
  145. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.js +4 -0
  146. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts +21 -0
  147. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +1 -0
  148. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +80 -0
  149. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.d.ts +5 -0
  150. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.d.ts.map +1 -0
  151. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.js +4 -0
  152. package/seat-reservation/seat-reservation-navigation.d.ts +6 -0
  153. package/seat-reservation/seat-reservation-navigation.d.ts.map +1 -0
  154. package/seat-reservation/seat-reservation-navigation.js +6 -0
  155. package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts +53 -0
  156. package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts.map +1 -0
  157. package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +190 -0
  158. package/seat-reservation/seat-reservation-place-control.d.ts +5 -0
  159. package/seat-reservation/seat-reservation-place-control.d.ts.map +1 -0
  160. package/seat-reservation/seat-reservation-place-control.js +4 -0
  161. package/seat-reservation/seat-reservation.d.ts +7 -0
  162. package/seat-reservation/seat-reservation.d.ts.map +1 -0
  163. package/seat-reservation/seat-reservation.js +8 -0
  164. package/seat-reservation.d.ts +10 -0
  165. package/seat-reservation.d.ts.map +1 -0
  166. package/seat-reservation.js +29 -0
@@ -77,6 +77,61 @@
77
77
  }
78
78
  ]
79
79
  },
80
+ {
81
+ "kind": "javascript-module",
82
+ "path": "seat-reservation.js",
83
+ "declarations": [],
84
+ "exports": [
85
+ {
86
+ "kind": "js",
87
+ "name": "*",
88
+ "declaration": {
89
+ "name": "*",
90
+ "package": "./seat-reservation/common.js"
91
+ }
92
+ },
93
+ {
94
+ "kind": "js",
95
+ "name": "*",
96
+ "declaration": {
97
+ "name": "*",
98
+ "package": "./seat-reservation/seat-reservation.js"
99
+ }
100
+ },
101
+ {
102
+ "kind": "js",
103
+ "name": "*",
104
+ "declaration": {
105
+ "name": "*",
106
+ "package": "./seat-reservation/seat-reservation-area.js"
107
+ }
108
+ },
109
+ {
110
+ "kind": "js",
111
+ "name": "*",
112
+ "declaration": {
113
+ "name": "*",
114
+ "package": "./seat-reservation/seat-reservation-graphic.js"
115
+ }
116
+ },
117
+ {
118
+ "kind": "js",
119
+ "name": "*",
120
+ "declaration": {
121
+ "name": "*",
122
+ "package": "./seat-reservation/seat-reservation-navigation.js"
123
+ }
124
+ },
125
+ {
126
+ "kind": "js",
127
+ "name": "*",
128
+ "declaration": {
129
+ "name": "*",
130
+ "package": "./seat-reservation/seat-reservation-place-control.js"
131
+ }
132
+ }
133
+ ]
134
+ },
80
135
  {
81
136
  "kind": "javascript-module",
82
137
  "path": "timetable-duration.js",
@@ -1030,6 +1085,144 @@
1030
1085
  }
1031
1086
  ]
1032
1087
  },
1088
+ {
1089
+ "kind": "javascript-module",
1090
+ "path": "seat-reservation/common.js",
1091
+ "declarations": [],
1092
+ "exports": [
1093
+ {
1094
+ "kind": "js",
1095
+ "name": "*",
1096
+ "declaration": {
1097
+ "name": "*",
1098
+ "package": "./common/mapper.js"
1099
+ }
1100
+ },
1101
+ {
1102
+ "kind": "js",
1103
+ "name": "*",
1104
+ "declaration": {
1105
+ "name": "*",
1106
+ "package": "./common/svgs.js"
1107
+ }
1108
+ },
1109
+ {
1110
+ "kind": "js",
1111
+ "name": "*",
1112
+ "declaration": {
1113
+ "name": "*",
1114
+ "package": "./common/translations.js"
1115
+ }
1116
+ },
1117
+ {
1118
+ "kind": "js",
1119
+ "name": "*",
1120
+ "declaration": {
1121
+ "name": "*",
1122
+ "package": "./common/types.js"
1123
+ }
1124
+ }
1125
+ ]
1126
+ },
1127
+ {
1128
+ "kind": "javascript-module",
1129
+ "path": "seat-reservation/seat-reservation-area.js",
1130
+ "declarations": [],
1131
+ "exports": [
1132
+ {
1133
+ "kind": "js",
1134
+ "name": "*",
1135
+ "declaration": {
1136
+ "name": "*",
1137
+ "package": "./seat-reservation-area/seat-reservation-area.component.js"
1138
+ }
1139
+ }
1140
+ ]
1141
+ },
1142
+ {
1143
+ "kind": "javascript-module",
1144
+ "path": "seat-reservation/seat-reservation-graphic.js",
1145
+ "declarations": [],
1146
+ "exports": [
1147
+ {
1148
+ "kind": "js",
1149
+ "name": "*",
1150
+ "declaration": {
1151
+ "name": "*",
1152
+ "package": "./seat-reservation-graphic/seat-reservation-graphic.component.js"
1153
+ }
1154
+ }
1155
+ ]
1156
+ },
1157
+ {
1158
+ "kind": "javascript-module",
1159
+ "path": "seat-reservation/seat-reservation-navigation.js",
1160
+ "declarations": [],
1161
+ "exports": [
1162
+ {
1163
+ "kind": "js",
1164
+ "name": "*",
1165
+ "declaration": {
1166
+ "name": "*",
1167
+ "package": "./seat-reservation-navigation/seat-reservation-navigation-coach.js"
1168
+ }
1169
+ },
1170
+ {
1171
+ "kind": "js",
1172
+ "name": "*",
1173
+ "declaration": {
1174
+ "name": "*",
1175
+ "package": "./seat-reservation-navigation/seat-reservation-navigation-services.js"
1176
+ }
1177
+ }
1178
+ ]
1179
+ },
1180
+ {
1181
+ "kind": "javascript-module",
1182
+ "path": "seat-reservation/seat-reservation-place-control.js",
1183
+ "declarations": [],
1184
+ "exports": [
1185
+ {
1186
+ "kind": "js",
1187
+ "name": "*",
1188
+ "declaration": {
1189
+ "name": "*",
1190
+ "package": "./seat-reservation-place-control/seat-reservation-place-control.component.js"
1191
+ }
1192
+ }
1193
+ ]
1194
+ },
1195
+ {
1196
+ "kind": "javascript-module",
1197
+ "path": "seat-reservation/seat-reservation.js",
1198
+ "declarations": [],
1199
+ "exports": [
1200
+ {
1201
+ "kind": "js",
1202
+ "name": "*",
1203
+ "declaration": {
1204
+ "name": "*",
1205
+ "package": "./seat-reservation/seat-reservation.component.js"
1206
+ }
1207
+ },
1208
+ {
1209
+ "kind": "js",
1210
+ "name": "*",
1211
+ "declaration": {
1212
+ "name": "*",
1213
+ "package": "./seat-reservation/seat-reservation-base-element.js"
1214
+ }
1215
+ },
1216
+ {
1217
+ "kind": "js",
1218
+ "name": "*",
1219
+ "declaration": {
1220
+ "name": "*",
1221
+ "package": "./seat-reservation/seat-reservation-scoped.js"
1222
+ }
1223
+ }
1224
+ ]
1225
+ },
1033
1226
  {
1034
1227
  "kind": "javascript-module",
1035
1228
  "path": "timetable-duration/timetable-duration.component.js",
@@ -1864,6 +2057,4170 @@
1864
2057
  "path": "core/timetable/timetable-properties.js",
1865
2058
  "declarations": [],
1866
2059
  "exports": []
2060
+ },
2061
+ {
2062
+ "kind": "javascript-module",
2063
+ "path": "seat-reservation/common/mapper.js",
2064
+ "declarations": [],
2065
+ "exports": [
2066
+ {
2067
+ "kind": "js",
2068
+ "name": "*",
2069
+ "declaration": {
2070
+ "name": "*",
2071
+ "package": "./mapper/mapper.js"
2072
+ }
2073
+ },
2074
+ {
2075
+ "kind": "js",
2076
+ "name": "*",
2077
+ "declaration": {
2078
+ "name": "*",
2079
+ "package": "./mapper/icon-mapper.js"
2080
+ }
2081
+ }
2082
+ ]
2083
+ },
2084
+ {
2085
+ "kind": "javascript-module",
2086
+ "path": "seat-reservation/common/svgs.js",
2087
+ "declarations": [
2088
+ {
2089
+ "kind": "variable",
2090
+ "name": "svgs",
2091
+ "type": {
2092
+ "text": "object"
2093
+ },
2094
+ "default": "{ chassisDriverBus, chassisDriverTrain, chassisDriverTrainFull, chassisPassageCompartmentLeftTop, chassisPassageCompartmentMiddle, chassisPassageCompartmentRightBottom, chassisPassageWaggonBottomRight, chassisPassageWaggonTopLeft, chassisRowOuter, chassisRowMiddle, chassisSeparator, interiorPlaceBikeDefault, interiorPlaceBikeNotBookable, interiorPlaceBikeSelected, interiorPlaceBikeUnavailable, interiorPlaceSeatDefault, interiorPlaceSeatNotBookable, interiorPlaceSeatSelected, interiorPlaceSeatUnavailable, interiorTable, layoutEntrance, }"
2095
+ }
2096
+ ],
2097
+ "exports": [
2098
+ {
2099
+ "kind": "js",
2100
+ "name": "svgs",
2101
+ "declaration": {
2102
+ "name": "svgs",
2103
+ "module": "seat-reservation/common/svgs.js"
2104
+ }
2105
+ }
2106
+ ]
2107
+ },
2108
+ {
2109
+ "kind": "javascript-module",
2110
+ "path": "seat-reservation/common/translations.js",
2111
+ "declarations": [],
2112
+ "exports": [
2113
+ {
2114
+ "kind": "js",
2115
+ "name": "*",
2116
+ "declaration": {
2117
+ "name": "*",
2118
+ "package": "./translations/i18n.js"
2119
+ }
2120
+ }
2121
+ ]
2122
+ },
2123
+ {
2124
+ "kind": "javascript-module",
2125
+ "path": "seat-reservation/common/types.js",
2126
+ "declarations": [],
2127
+ "exports": []
2128
+ },
2129
+ {
2130
+ "kind": "javascript-module",
2131
+ "path": "seat-reservation/seat-reservation/seat-reservation-base-element.js",
2132
+ "declarations": [
2133
+ {
2134
+ "kind": "class",
2135
+ "description": "",
2136
+ "name": "SeatReservationBaseElement",
2137
+ "members": [
2138
+ {
2139
+ "kind": "field",
2140
+ "name": "events",
2141
+ "privacy": "public",
2142
+ "static": true,
2143
+ "readonly": true,
2144
+ "default": "{ selectedPlaces: 'selectedPlaces', selectedCoach: 'selectedCoach', }",
2145
+ "type": {
2146
+ "text": "{\n selectedPlaces: 'selectedPlaces',\n selectedCoach: 'selectedCoach',\n }"
2147
+ }
2148
+ },
2149
+ {
2150
+ "kind": "field",
2151
+ "name": "seatReservation",
2152
+ "type": {
2153
+ "text": "SeatReservation"
2154
+ },
2155
+ "privacy": "public",
2156
+ "default": "null!",
2157
+ "description": "The seat reservation object which contains all coaches and places",
2158
+ "attribute": "seat-reservation"
2159
+ },
2160
+ {
2161
+ "kind": "field",
2162
+ "name": "hasNavigation",
2163
+ "type": {
2164
+ "text": "boolean"
2165
+ },
2166
+ "privacy": "public",
2167
+ "default": "true",
2168
+ "description": "The seat resvervation navigation can be toggled by this property",
2169
+ "attribute": "has-navigation"
2170
+ },
2171
+ {
2172
+ "kind": "field",
2173
+ "name": "alignVertical",
2174
+ "type": {
2175
+ "text": "boolean"
2176
+ },
2177
+ "privacy": "public",
2178
+ "default": "false",
2179
+ "description": "The seat reservation area is aligned vertically",
2180
+ "attribute": "align-vertical"
2181
+ },
2182
+ {
2183
+ "kind": "field",
2184
+ "name": "baseGridSize",
2185
+ "type": {
2186
+ "text": "number"
2187
+ },
2188
+ "privacy": "public",
2189
+ "default": "16",
2190
+ "description": "The seat reservation area's base grid size",
2191
+ "attribute": "base-grid-size"
2192
+ },
2193
+ {
2194
+ "kind": "field",
2195
+ "name": "height",
2196
+ "type": {
2197
+ "text": "number"
2198
+ },
2199
+ "privacy": "public",
2200
+ "default": "null!",
2201
+ "description": "The seat reservation area's width",
2202
+ "attribute": "height"
2203
+ },
2204
+ {
2205
+ "kind": "field",
2206
+ "name": "maxReservations",
2207
+ "type": {
2208
+ "text": "number"
2209
+ },
2210
+ "privacy": "public",
2211
+ "default": "null!",
2212
+ "description": "Maximal number of possible clickable seats",
2213
+ "attribute": "max-reservations"
2214
+ },
2215
+ {
2216
+ "kind": "field",
2217
+ "name": "preventPlaceClick",
2218
+ "type": {
2219
+ "text": "boolean"
2220
+ },
2221
+ "privacy": "public",
2222
+ "default": "false",
2223
+ "description": "Any click functionality is prevented",
2224
+ "attribute": "prevent-place-click"
2225
+ },
2226
+ {
2227
+ "kind": "field",
2228
+ "name": "selectedCoachIndex",
2229
+ "type": {
2230
+ "text": "number"
2231
+ },
2232
+ "privacy": "protected",
2233
+ "default": "-1"
2234
+ },
2235
+ {
2236
+ "kind": "field",
2237
+ "name": "focusedCoachIndex",
2238
+ "type": {
2239
+ "text": "number"
2240
+ },
2241
+ "privacy": "protected",
2242
+ "default": "-1"
2243
+ },
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
+ {
2265
+ "kind": "field",
2266
+ "name": "coachBorderPadding",
2267
+ "type": {
2268
+ "text": "number"
2269
+ },
2270
+ "privacy": "protected",
2271
+ "default": "6"
2272
+ },
2273
+ {
2274
+ "kind": "field",
2275
+ "name": "coachBorderOffset",
2276
+ "privacy": "protected"
2277
+ },
2278
+ {
2279
+ "kind": "field",
2280
+ "name": "currScrollDirection",
2281
+ "type": {
2282
+ "text": "ScrollDirection"
2283
+ },
2284
+ "privacy": "protected"
2285
+ },
2286
+ {
2287
+ "kind": "field",
2288
+ "name": "maxCalcCoachsWidth",
2289
+ "type": {
2290
+ "text": "number"
2291
+ },
2292
+ "privacy": "protected",
2293
+ "default": "0"
2294
+ },
2295
+ {
2296
+ "kind": "field",
2297
+ "name": "scrollCoachsAreaWidth",
2298
+ "type": {
2299
+ "text": "number"
2300
+ },
2301
+ "privacy": "protected",
2302
+ "default": "0"
2303
+ },
2304
+ {
2305
+ "kind": "field",
2306
+ "name": "triggerCoachPositionsCollection",
2307
+ "type": {
2308
+ "text": "CoachScrollTriggerPoint[]"
2309
+ },
2310
+ "privacy": "protected",
2311
+ "default": "[]"
2312
+ },
2313
+ {
2314
+ "kind": "field",
2315
+ "name": "firstTabElement",
2316
+ "type": {
2317
+ "text": "HTMLElement"
2318
+ },
2319
+ "privacy": "protected",
2320
+ "default": "null!"
2321
+ },
2322
+ {
2323
+ "kind": "field",
2324
+ "name": "lastTabElement",
2325
+ "type": {
2326
+ "text": "HTMLElement"
2327
+ },
2328
+ "privacy": "protected",
2329
+ "default": "null!"
2330
+ },
2331
+ {
2332
+ "kind": "field",
2333
+ "name": "coachScrollArea",
2334
+ "type": {
2335
+ "text": "HTMLElement"
2336
+ },
2337
+ "privacy": "protected",
2338
+ "default": "null!"
2339
+ },
2340
+ {
2341
+ "kind": "field",
2342
+ "name": "currSelectedPlace",
2343
+ "type": {
2344
+ "text": "Place | null"
2345
+ },
2346
+ "privacy": "protected",
2347
+ "default": "null"
2348
+ },
2349
+ {
2350
+ "kind": "field",
2351
+ "name": "currSelectedPlaceElementId",
2352
+ "type": {
2353
+ "text": "string | null"
2354
+ },
2355
+ "privacy": "protected",
2356
+ "default": "null"
2357
+ },
2358
+ {
2359
+ "kind": "field",
2360
+ "name": "currSelectedCoachIndex",
2361
+ "type": {
2362
+ "text": "number"
2363
+ },
2364
+ "privacy": "protected",
2365
+ "default": "-1"
2366
+ },
2367
+ {
2368
+ "kind": "field",
2369
+ "name": "preventCoachScrollByPlaceClick",
2370
+ "type": {
2371
+ "text": "boolean"
2372
+ },
2373
+ "privacy": "protected",
2374
+ "default": "false"
2375
+ },
2376
+ {
2377
+ "kind": "field",
2378
+ "name": "selectedSeatReservationPlaces",
2379
+ "type": {
2380
+ "text": "SeatReservationPlaceSelection[]"
2381
+ },
2382
+ "privacy": "protected",
2383
+ "default": "[]"
2384
+ },
2385
+ {
2386
+ "kind": "field",
2387
+ "name": "seatReservationWithoutNavigationHasFocus",
2388
+ "type": {
2389
+ "text": "boolean"
2390
+ },
2391
+ "privacy": "protected",
2392
+ "default": "false"
2393
+ },
2394
+ {
2395
+ "kind": "field",
2396
+ "name": "isCoachGridFocusable",
2397
+ "type": {
2398
+ "text": "boolean"
2399
+ },
2400
+ "privacy": "protected",
2401
+ "default": "false"
2402
+ },
2403
+ {
2404
+ "kind": "field",
2405
+ "name": "isAutoScrolling",
2406
+ "type": {
2407
+ "text": "boolean"
2408
+ },
2409
+ "privacy": "protected",
2410
+ "default": "false"
2411
+ },
2412
+ {
2413
+ "kind": "field",
2414
+ "name": "isKeyboardNavigation",
2415
+ "type": {
2416
+ "text": "boolean"
2417
+ },
2418
+ "privacy": "protected",
2419
+ "default": "false"
2420
+ },
2421
+ {
2422
+ "kind": "field",
2423
+ "name": "keyboardNavigationEvents",
2424
+ "privacy": "protected",
2425
+ "default": "{ ArrowLeft: 'ArrowLeft', ArrowRight: 'ArrowRight', ArrowUp: 'ArrowUp', ArrowDown: 'ArrowDown', Tab: 'Tab', Enter: 'Enter', }",
2426
+ "type": {
2427
+ "text": "{\n ArrowLeft: 'ArrowLeft',\n ArrowRight: 'ArrowRight',\n ArrowUp: 'ArrowUp',\n ArrowDown: 'ArrowDown',\n Tab: 'Tab',\n Enter: 'Enter',\n }"
2428
+ }
2429
+ },
2430
+ {
2431
+ "kind": "method",
2432
+ "name": "initNavigationSelectionByScrollEvent",
2433
+ "privacy": "protected",
2434
+ "return": {
2435
+ "type": {
2436
+ "text": "void"
2437
+ }
2438
+ }
2439
+ },
2440
+ {
2441
+ "kind": "method",
2442
+ "name": "onFocusTableCoachAndPreselectPlace",
2443
+ "privacy": "protected",
2444
+ "return": {
2445
+ "type": {
2446
+ "text": "void"
2447
+ }
2448
+ },
2449
+ "parameters": [
2450
+ {
2451
+ "name": "focusCoachIndex",
2452
+ "type": {
2453
+ "text": "number"
2454
+ }
2455
+ }
2456
+ ],
2457
+ "description": "If no navigation exists (property setting -> hasNavigation) and a table coach gets the focus,\nthe first place in the coach must be automatically preselected to control the place navigation via keyboard"
2458
+ },
2459
+ {
2460
+ "kind": "method",
2461
+ "name": "handleKeyboardEvent",
2462
+ "privacy": "protected",
2463
+ "return": {
2464
+ "type": {
2465
+ "text": "void"
2466
+ }
2467
+ },
2468
+ "parameters": [
2469
+ {
2470
+ "name": "event",
2471
+ "type": {
2472
+ "text": "KeyboardEvent"
2473
+ }
2474
+ }
2475
+ ],
2476
+ "description": "Initialisation of Keyboard event handling to navigation between each places inside a selected coach by using [arrow] keys.\nWith the [TAB] key the user navigation goes to the next coach navigation element and the currently selected place is automatically reset."
2477
+ },
2478
+ {
2479
+ "kind": "method",
2480
+ "name": "preselectPlaceInCoach",
2481
+ "privacy": "protected",
2482
+ "return": {
2483
+ "type": {
2484
+ "text": "void"
2485
+ }
2486
+ },
2487
+ "description": "Selects a place inside the coach if navigated via keyboard,\notherwise the coach grid is selected (necessary for ScreenReader)"
2488
+ },
2489
+ {
2490
+ "kind": "method",
2491
+ "name": "scrollToSelectedNavCoach",
2492
+ "privacy": "protected",
2493
+ "return": {
2494
+ "type": {
2495
+ "text": "void"
2496
+ }
2497
+ },
2498
+ "parameters": [
2499
+ {
2500
+ "name": "selectedNavCoachIndex",
2501
+ "type": {
2502
+ "text": "number"
2503
+ }
2504
+ }
2505
+ ]
2506
+ },
2507
+ {
2508
+ "kind": "method",
2509
+ "name": "_setScrollDirectionByCoachIndex",
2510
+ "privacy": "private",
2511
+ "return": {
2512
+ "type": {
2513
+ "text": "void"
2514
+ }
2515
+ },
2516
+ "description": "Sets the new ScrollDirection by the new given target coach index."
2517
+ },
2518
+ {
2519
+ "kind": "method",
2520
+ "name": "_getCoachScrollPositionX",
2521
+ "privacy": "private",
2522
+ "return": {
2523
+ "type": {
2524
+ "text": ""
2525
+ }
2526
+ },
2527
+ "description": "Returns the scroll start or end position X from the selected coach.\nIn case the user is curretnly navigate throught places by keyboard and goes to previous coach,\nthen we return the end position of the coach to get clostest next scroll position of the next focus place."
2528
+ },
2529
+ {
2530
+ "kind": "method",
2531
+ "name": "_setFocusToSelectedCoachGrid",
2532
+ "privacy": "private",
2533
+ "return": {
2534
+ "type": {
2535
+ "text": "void"
2536
+ }
2537
+ },
2538
+ "description": "Sets the focus on the HTML table (grid) caption element so that the heading is read out when using a ScreenReader."
2539
+ },
2540
+ {
2541
+ "kind": "method",
2542
+ "name": "_isScrollableToSelectedCoach",
2543
+ "privacy": "private",
2544
+ "return": {
2545
+ "type": {
2546
+ "text": ""
2547
+ }
2548
+ },
2549
+ "description": "Returns whether the current scrolled position can be used to scroll to the selected wagon"
2550
+ },
2551
+ {
2552
+ "kind": "method",
2553
+ "name": "_getCoachIndexByScrollTriggerPosition",
2554
+ "privacy": "private",
2555
+ "return": {
2556
+ "type": {
2557
+ "text": ""
2558
+ }
2559
+ },
2560
+ "description": "Returns the coach index which is currently visible in the scroll area"
2561
+ },
2562
+ {
2563
+ "kind": "method",
2564
+ "name": "_getFirstPlaceInSelecedCoach",
2565
+ "privacy": "private",
2566
+ "return": {
2567
+ "type": {
2568
+ "text": ""
2569
+ }
2570
+ },
2571
+ "description": "Get the first place of current selected coach by table cell coordinate 0-0 id."
2572
+ },
2573
+ {
2574
+ "kind": "method",
2575
+ "name": "_getClosestPlaceByKeyDirection",
2576
+ "privacy": "private",
2577
+ "return": {
2578
+ "type": {
2579
+ "text": ""
2580
+ }
2581
+ },
2582
+ "parameters": [
2583
+ {
2584
+ "name": "pressedKey",
2585
+ "optional": true,
2586
+ "type": {
2587
+ "text": "string"
2588
+ }
2589
+ }
2590
+ ],
2591
+ "description": "To get the correct closest place of current pressed key and the current selected place,\nwe have to investigate the coordinates of each place to find the closest place of the currSelectedPlaceElementId."
2592
+ },
2593
+ {
2594
+ "kind": "method",
2595
+ "name": "focusPlaceElement",
2596
+ "privacy": "protected",
2597
+ "return": {
2598
+ "type": {
2599
+ "text": "void"
2600
+ }
2601
+ },
2602
+ "parameters": [
2603
+ {
2604
+ "name": "place",
2605
+ "type": {
2606
+ "text": "Place | null"
2607
+ }
2608
+ },
2609
+ {
2610
+ "name": "coachIndex",
2611
+ "optional": true,
2612
+ "type": {
2613
+ "text": "number"
2614
+ }
2615
+ }
2616
+ ]
2617
+ },
2618
+ {
2619
+ "kind": "method",
2620
+ "name": "unfocusPlaceElement",
2621
+ "privacy": "protected",
2622
+ "return": {
2623
+ "type": {
2624
+ "text": "void"
2625
+ }
2626
+ }
2627
+ },
2628
+ {
2629
+ "kind": "method",
2630
+ "name": "getCalculatedDimension",
2631
+ "privacy": "protected",
2632
+ "return": {
2633
+ "type": {
2634
+ "text": "ElementDimension"
2635
+ }
2636
+ },
2637
+ "parameters": [
2638
+ {
2639
+ "name": "elementDimension",
2640
+ "type": {
2641
+ "text": "ElementDimension"
2642
+ }
2643
+ },
2644
+ {
2645
+ "name": "coachDimension",
2646
+ "optional": true,
2647
+ "type": {
2648
+ "text": "ElementDimension"
2649
+ }
2650
+ },
2651
+ {
2652
+ "name": "isOriginHeight",
2653
+ "optional": true,
2654
+ "type": {
2655
+ "text": "boolean"
2656
+ }
2657
+ },
2658
+ {
2659
+ "name": "isStretchHeight",
2660
+ "optional": true,
2661
+ "type": {
2662
+ "text": "boolean"
2663
+ }
2664
+ }
2665
+ ]
2666
+ },
2667
+ {
2668
+ "kind": "method",
2669
+ "name": "getCalculatedPosition",
2670
+ "privacy": "protected",
2671
+ "return": {
2672
+ "type": {
2673
+ "text": "ElementPosition"
2674
+ }
2675
+ },
2676
+ "parameters": [
2677
+ {
2678
+ "name": "elementPosition",
2679
+ "type": {
2680
+ "text": "ElementPosition"
2681
+ }
2682
+ },
2683
+ {
2684
+ "name": "elementDimension",
2685
+ "optional": true,
2686
+ "type": {
2687
+ "text": "ElementDimension"
2688
+ }
2689
+ },
2690
+ {
2691
+ "name": "coachDimension",
2692
+ "optional": true,
2693
+ "type": {
2694
+ "text": "ElementDimension"
2695
+ }
2696
+ },
2697
+ {
2698
+ "name": "isOriginHeight",
2699
+ "optional": true,
2700
+ "type": {
2701
+ "text": "boolean"
2702
+ }
2703
+ }
2704
+ ]
2705
+ },
2706
+ {
2707
+ "kind": "method",
2708
+ "name": "_navigateCoachNavigationByKeyboard",
2709
+ "privacy": "private",
2710
+ "return": {
2711
+ "type": {
2712
+ "text": "void"
2713
+ }
2714
+ },
2715
+ "parameters": [
2716
+ {
2717
+ "name": "tabDirection",
2718
+ "type": {
2719
+ "text": "string"
2720
+ }
2721
+ }
2722
+ ]
2723
+ },
2724
+ {
2725
+ "kind": "method",
2726
+ "name": "_navigateToPlaceByKeyboard",
2727
+ "privacy": "private",
2728
+ "return": {
2729
+ "type": {
2730
+ "text": "void"
2731
+ }
2732
+ },
2733
+ "parameters": [
2734
+ {
2735
+ "name": "pressedKey",
2736
+ "type": {
2737
+ "text": "string"
2738
+ }
2739
+ }
2740
+ ]
2741
+ },
2742
+ {
2743
+ "kind": "method",
2744
+ "name": "getNextAvailableCoachIndex",
2745
+ "privacy": "protected",
2746
+ "return": {
2747
+ "type": {
2748
+ "text": "number"
2749
+ }
2750
+ },
2751
+ "parameters": [
2752
+ {
2753
+ "name": "currentIndex",
2754
+ "optional": true,
2755
+ "type": {
2756
+ "text": "number"
2757
+ }
2758
+ }
2759
+ ]
2760
+ },
2761
+ {
2762
+ "kind": "method",
2763
+ "name": "getPrevAvailableCoachIndex",
2764
+ "privacy": "protected",
2765
+ "return": {
2766
+ "type": {
2767
+ "text": "number"
2768
+ }
2769
+ },
2770
+ "parameters": [
2771
+ {
2772
+ "name": "currentIndex",
2773
+ "optional": true,
2774
+ "type": {
2775
+ "text": "number"
2776
+ }
2777
+ }
2778
+ ]
2779
+ },
2780
+ {
2781
+ "kind": "method",
2782
+ "name": "updateSelectedSeatReservationPlaces",
2783
+ "privacy": "protected",
2784
+ "return": {
2785
+ "type": {
2786
+ "text": "void"
2787
+ }
2788
+ },
2789
+ "parameters": [
2790
+ {
2791
+ "name": "placeSelection",
2792
+ "type": {
2793
+ "text": "PlaceSelection"
2794
+ }
2795
+ }
2796
+ ]
2797
+ },
2798
+ {
2799
+ "kind": "method",
2800
+ "name": "updateCurrentSelectedPlaceInCoach",
2801
+ "privacy": "protected",
2802
+ "return": {
2803
+ "type": {
2804
+ "text": "void"
2805
+ }
2806
+ },
2807
+ "parameters": [
2808
+ {
2809
+ "name": "placeSelection",
2810
+ "type": {
2811
+ "text": "PlaceSelection"
2812
+ }
2813
+ }
2814
+ ]
2815
+ },
2816
+ {
2817
+ "kind": "method",
2818
+ "name": "updateCurrentSelectedCoach",
2819
+ "privacy": "protected",
2820
+ "return": {
2821
+ "type": {
2822
+ "text": "void"
2823
+ }
2824
+ }
2825
+ },
2826
+ {
2827
+ "kind": "method",
2828
+ "name": "_initSeatReservationPlaceSelection",
2829
+ "privacy": "private",
2830
+ "return": {
2831
+ "type": {
2832
+ "text": "void"
2833
+ }
2834
+ },
2835
+ "description": "Initialization of SeatReservationPlaceSelection Array based on the transferred places\nthat have the state SELECTED within the seatReservation object"
2836
+ },
2837
+ {
2838
+ "kind": "method",
2839
+ "name": "_resetAllPlaceSelections",
2840
+ "privacy": "private",
2841
+ "return": {
2842
+ "type": {
2843
+ "text": "void"
2844
+ }
2845
+ },
2846
+ "parameters": [
2847
+ {
2848
+ "name": "currSelectedPlace",
2849
+ "optional": true,
2850
+ "type": {
2851
+ "text": "PlaceSelection"
2852
+ }
2853
+ }
2854
+ ],
2855
+ "description": "All selected places will be reset or the currentSelectedPlace was given, then we reset all except currentSelectedPlace"
2856
+ },
2857
+ {
2858
+ "kind": "method",
2859
+ "name": "_getSeatReservationPlaceSelection",
2860
+ "privacy": "private",
2861
+ "return": {
2862
+ "type": {
2863
+ "text": "SeatReservationPlaceSelection | null"
2864
+ }
2865
+ },
2866
+ "parameters": [
2867
+ {
2868
+ "name": "currSelectedPlace",
2869
+ "type": {
2870
+ "text": "PlaceSelection"
2871
+ }
2872
+ }
2873
+ ]
2874
+ },
2875
+ {
2876
+ "kind": "method",
2877
+ "name": "_getSeatReservationCoachSelection",
2878
+ "privacy": "private",
2879
+ "return": {
2880
+ "type": {
2881
+ "text": "SeatReservationCoachSelection | null"
2882
+ }
2883
+ },
2884
+ "parameters": [
2885
+ {
2886
+ "name": "coachIndex",
2887
+ "type": {
2888
+ "text": "number"
2889
+ }
2890
+ }
2891
+ ]
2892
+ },
2893
+ {
2894
+ "kind": "method",
2895
+ "name": "_setCurrSelectedPlaceElementId",
2896
+ "privacy": "private",
2897
+ "return": {
2898
+ "type": {
2899
+ "text": "void"
2900
+ }
2901
+ },
2902
+ "parameters": [
2903
+ {
2904
+ "name": "place",
2905
+ "type": {
2906
+ "text": "Place | null"
2907
+ }
2908
+ }
2909
+ ]
2910
+ },
2911
+ {
2912
+ "kind": "method",
2913
+ "name": "_getPlaceHtmlElement",
2914
+ "privacy": "private",
2915
+ "return": {
2916
+ "type": {
2917
+ "text": ""
2918
+ }
2919
+ },
2920
+ "parameters": [
2921
+ {
2922
+ "name": "placeNumber",
2923
+ "optional": true,
2924
+ "type": {
2925
+ "text": "string"
2926
+ },
2927
+ "description": "optional as string"
2928
+ },
2929
+ {
2930
+ "name": "coachIndex",
2931
+ "optional": true,
2932
+ "type": {
2933
+ "text": "number"
2934
+ },
2935
+ "description": "optional as string"
2936
+ }
2937
+ ],
2938
+ "description": "Returns the current selected place HTML element by given placeNumber and coachIndex.\nIf both doesnt exist, we try to return the place HTML element by the _currentSelectedPlaceElementId"
2939
+ },
2940
+ {
2941
+ "kind": "method",
2942
+ "name": "_setVerticalAlignmentOffset",
2943
+ "privacy": "private",
2944
+ "return": {
2945
+ "type": {
2946
+ "text": "void"
2947
+ }
2948
+ }
2949
+ }
2950
+ ],
2951
+ "attributes": [
2952
+ {
2953
+ "name": "seat-reservation",
2954
+ "type": {
2955
+ "text": "SeatReservation"
2956
+ },
2957
+ "default": "null!",
2958
+ "description": "The seat reservation object which contains all coaches and places",
2959
+ "fieldName": "seatReservation"
2960
+ },
2961
+ {
2962
+ "name": "has-navigation",
2963
+ "type": {
2964
+ "text": "boolean"
2965
+ },
2966
+ "default": "true",
2967
+ "description": "The seat resvervation navigation can be toggled by this property",
2968
+ "fieldName": "hasNavigation"
2969
+ },
2970
+ {
2971
+ "name": "align-vertical",
2972
+ "type": {
2973
+ "text": "boolean"
2974
+ },
2975
+ "default": "false",
2976
+ "description": "The seat reservation area is aligned vertically",
2977
+ "fieldName": "alignVertical"
2978
+ },
2979
+ {
2980
+ "name": "base-grid-size",
2981
+ "type": {
2982
+ "text": "number"
2983
+ },
2984
+ "default": "16",
2985
+ "description": "The seat reservation area's base grid size",
2986
+ "fieldName": "baseGridSize"
2987
+ },
2988
+ {
2989
+ "name": "height",
2990
+ "type": {
2991
+ "text": "number"
2992
+ },
2993
+ "default": "null!",
2994
+ "description": "The seat reservation area's width",
2995
+ "fieldName": "height"
2996
+ },
2997
+ {
2998
+ "name": "max-reservations",
2999
+ "type": {
3000
+ "text": "number"
3001
+ },
3002
+ "default": "null!",
3003
+ "description": "Maximal number of possible clickable seats",
3004
+ "fieldName": "maxReservations"
3005
+ },
3006
+ {
3007
+ "name": "prevent-place-click",
3008
+ "type": {
3009
+ "text": "boolean"
3010
+ },
3011
+ "default": "false",
3012
+ "description": "Any click functionality is prevented",
3013
+ "fieldName": "preventPlaceClick"
3014
+ }
3015
+ ],
3016
+ "superclass": {
3017
+ "name": "LitElement",
3018
+ "package": "lit"
3019
+ }
3020
+ }
3021
+ ],
3022
+ "exports": [
3023
+ {
3024
+ "kind": "js",
3025
+ "name": "SeatReservationBaseElement",
3026
+ "declaration": {
3027
+ "name": "SeatReservationBaseElement",
3028
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3029
+ }
3030
+ }
3031
+ ]
3032
+ },
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
+ {
3049
+ "kind": "javascript-module",
3050
+ "path": "seat-reservation/seat-reservation/seat-reservation.component.js",
3051
+ "declarations": [
3052
+ {
3053
+ "kind": "class",
3054
+ "description": "Describe the purpose of the component with a single short sentence.",
3055
+ "name": "SbbSeatReservationElement",
3056
+ "members": [
3057
+ {
3058
+ "kind": "field",
3059
+ "name": "seatReservation",
3060
+ "type": {
3061
+ "text": "SeatReservation"
3062
+ },
3063
+ "privacy": "public",
3064
+ "default": "null!",
3065
+ "description": "The seat reservation object which contains all coaches and places",
3066
+ "attribute": "seat-reservation",
3067
+ "inheritedFrom": {
3068
+ "name": "SeatReservationBaseElement",
3069
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3070
+ }
3071
+ },
3072
+ {
3073
+ "kind": "field",
3074
+ "name": "hasNavigation",
3075
+ "type": {
3076
+ "text": "boolean"
3077
+ },
3078
+ "privacy": "public",
3079
+ "default": "true",
3080
+ "description": "The seat reservation navigation can be toggled by this property",
3081
+ "attribute": "has-navigation",
3082
+ "inheritedFrom": {
3083
+ "name": "SeatReservationBaseElement",
3084
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3085
+ }
3086
+ },
3087
+ {
3088
+ "kind": "field",
3089
+ "name": "alignVertical",
3090
+ "type": {
3091
+ "text": "boolean"
3092
+ },
3093
+ "privacy": "public",
3094
+ "default": "false",
3095
+ "description": "Controls the visual representation of seat reservation in a horizonal or vertical alignment",
3096
+ "attribute": "align-vertical",
3097
+ "inheritedFrom": {
3098
+ "name": "SeatReservationBaseElement",
3099
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3100
+ }
3101
+ },
3102
+ {
3103
+ "kind": "field",
3104
+ "name": "maxReservations",
3105
+ "type": {
3106
+ "text": "number"
3107
+ },
3108
+ "privacy": "public",
3109
+ "default": "null!",
3110
+ "description": "Maximal number of possible clickable seats",
3111
+ "attribute": "max-reservations",
3112
+ "inheritedFrom": {
3113
+ "name": "SeatReservationBaseElement",
3114
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3115
+ }
3116
+ },
3117
+ {
3118
+ "kind": "field",
3119
+ "name": "preventPlaceClick",
3120
+ "type": {
3121
+ "text": "boolean"
3122
+ },
3123
+ "privacy": "public",
3124
+ "default": "false",
3125
+ "description": "Any click functionality is prevented",
3126
+ "attribute": "prevent-place-click",
3127
+ "inheritedFrom": {
3128
+ "name": "SeatReservationBaseElement",
3129
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3130
+ }
3131
+ },
3132
+ {
3133
+ "kind": "field",
3134
+ "name": "_language",
3135
+ "privacy": "private",
3136
+ "default": "new SbbLanguageController(this)"
3137
+ },
3138
+ {
3139
+ "kind": "field",
3140
+ "name": "_coachesHtmlTemplate",
3141
+ "type": {
3142
+ "text": "TemplateResult | undefined"
3143
+ },
3144
+ "privacy": "private"
3145
+ },
3146
+ {
3147
+ "kind": "field",
3148
+ "name": "_notAreaElements",
3149
+ "type": {
3150
+ "text": "array"
3151
+ },
3152
+ "privacy": "private",
3153
+ "default": "[ 'DRIVER_AREA_FULL', 'COACH_PASSAGE', 'COACH_WALL_NO_PASSAGE', 'COMPARTMENT_PASSAGE', 'COMPARTMENT_PASSAGE_HIGH', 'COMPARTMENT_PASSAGE_MIDDLE', 'COMPARTMENT_PASSAGE_LOW', ]"
3154
+ },
3155
+ {
3156
+ "kind": "field",
3157
+ "name": "_notFixedRotatableAreaIcons",
3158
+ "type": {
3159
+ "text": "array"
3160
+ },
3161
+ "privacy": "private",
3162
+ "default": "['ENTRY_EXIT']"
3163
+ },
3164
+ {
3165
+ "kind": "method",
3166
+ "name": "_componentSetup",
3167
+ "privacy": "private",
3168
+ "return": {
3169
+ "type": {
3170
+ "text": "void"
3171
+ }
3172
+ }
3173
+ },
3174
+ {
3175
+ "kind": "method",
3176
+ "name": "_initVehicleSeatReservationConstruction",
3177
+ "privacy": "private",
3178
+ "return": {
3179
+ "type": {
3180
+ "text": "void"
3181
+ }
3182
+ }
3183
+ },
3184
+ {
3185
+ "kind": "method",
3186
+ "name": "_renderNavigation",
3187
+ "privacy": "private",
3188
+ "return": {
3189
+ "type": {
3190
+ "text": "TemplateResult | null"
3191
+ }
3192
+ }
3193
+ },
3194
+ {
3195
+ "kind": "method",
3196
+ "name": "_renderCoaches",
3197
+ "privacy": "private",
3198
+ "return": {
3199
+ "type": {
3200
+ "text": ""
3201
+ }
3202
+ },
3203
+ "parameters": [
3204
+ {
3205
+ "name": "coaches",
3206
+ "optional": true,
3207
+ "type": {
3208
+ "text": "CoachItem[]"
3209
+ }
3210
+ }
3211
+ ]
3212
+ },
3213
+ {
3214
+ "kind": "method",
3215
+ "name": "_renderCoachElement",
3216
+ "privacy": "private",
3217
+ "return": {
3218
+ "type": {
3219
+ "text": "TemplateResult"
3220
+ }
3221
+ },
3222
+ "parameters": [
3223
+ {
3224
+ "name": "coachItem",
3225
+ "type": {
3226
+ "text": "CoachItem"
3227
+ }
3228
+ },
3229
+ {
3230
+ "name": "index",
3231
+ "type": {
3232
+ "text": "number"
3233
+ }
3234
+ }
3235
+ ]
3236
+ },
3237
+ {
3238
+ "kind": "method",
3239
+ "name": "_getRenderedCoachBorders",
3240
+ "privacy": "private",
3241
+ "return": {
3242
+ "type": {
3243
+ "text": "TemplateResult"
3244
+ }
3245
+ },
3246
+ "parameters": [
3247
+ {
3248
+ "name": "coachItem",
3249
+ "type": {
3250
+ "text": "CoachItem"
3251
+ }
3252
+ },
3253
+ {
3254
+ "name": "coachIndex",
3255
+ "type": {
3256
+ "text": "number"
3257
+ }
3258
+ }
3259
+ ]
3260
+ },
3261
+ {
3262
+ "kind": "method",
3263
+ "name": "_getRenderedRowPlaces",
3264
+ "privacy": "private",
3265
+ "return": {
3266
+ "type": {
3267
+ "text": "TemplateResult[] | null"
3268
+ }
3269
+ },
3270
+ "parameters": [
3271
+ {
3272
+ "name": "coach",
3273
+ "type": {
3274
+ "text": "CoachItem"
3275
+ }
3276
+ },
3277
+ {
3278
+ "name": "coachIndex",
3279
+ "type": {
3280
+ "text": "number"
3281
+ }
3282
+ }
3283
+ ]
3284
+ },
3285
+ {
3286
+ "kind": "method",
3287
+ "name": "_getRenderedColumnPlaces",
3288
+ "privacy": "private",
3289
+ "return": {
3290
+ "type": {
3291
+ "text": "TemplateResult[] | null"
3292
+ }
3293
+ },
3294
+ "parameters": [
3295
+ {
3296
+ "name": "places",
3297
+ "type": {
3298
+ "text": "Place[]"
3299
+ }
3300
+ },
3301
+ {
3302
+ "name": "coachIndex",
3303
+ "type": {
3304
+ "text": "number"
3305
+ }
3306
+ }
3307
+ ]
3308
+ },
3309
+ {
3310
+ "kind": "method",
3311
+ "name": "_getRenderedGraphicalElements",
3312
+ "privacy": "private",
3313
+ "return": {
3314
+ "type": {
3315
+ "text": "TemplateResult[] | null"
3316
+ }
3317
+ },
3318
+ "parameters": [
3319
+ {
3320
+ "name": "graphicalElements",
3321
+ "type": {
3322
+ "text": "BaseElement[]"
3323
+ }
3324
+ },
3325
+ {
3326
+ "name": "coachDimension",
3327
+ "type": {
3328
+ "text": "ElementDimension"
3329
+ }
3330
+ }
3331
+ ]
3332
+ },
3333
+ {
3334
+ "kind": "method",
3335
+ "name": "_getRenderElementWithArea",
3336
+ "privacy": "private",
3337
+ "return": {
3338
+ "type": {
3339
+ "text": "TemplateResult"
3340
+ }
3341
+ },
3342
+ "parameters": [
3343
+ {
3344
+ "name": "graphicalElement",
3345
+ "type": {
3346
+ "text": "BaseElement"
3347
+ }
3348
+ },
3349
+ {
3350
+ "name": "rotation",
3351
+ "type": {
3352
+ "text": "number"
3353
+ }
3354
+ },
3355
+ {
3356
+ "name": "coachDimension",
3357
+ "type": {
3358
+ "text": "ElementDimension"
3359
+ }
3360
+ }
3361
+ ]
3362
+ },
3363
+ {
3364
+ "kind": "method",
3365
+ "name": "_getRenderElementWithoutArea",
3366
+ "privacy": "private",
3367
+ "return": {
3368
+ "type": {
3369
+ "text": "TemplateResult"
3370
+ }
3371
+ },
3372
+ "parameters": [
3373
+ {
3374
+ "name": "graphicalElement",
3375
+ "type": {
3376
+ "text": "BaseElement"
3377
+ }
3378
+ },
3379
+ {
3380
+ "name": "rotation",
3381
+ "type": {
3382
+ "text": "number"
3383
+ }
3384
+ },
3385
+ {
3386
+ "name": "coachDimension",
3387
+ "type": {
3388
+ "text": "ElementDimension"
3389
+ }
3390
+ }
3391
+ ]
3392
+ },
3393
+ {
3394
+ "kind": "method",
3395
+ "name": "_getRenderedServiceElements",
3396
+ "privacy": "private",
3397
+ "return": {
3398
+ "type": {
3399
+ "text": "TemplateResult[] | null"
3400
+ }
3401
+ },
3402
+ "parameters": [
3403
+ {
3404
+ "name": "serviceElements",
3405
+ "optional": true,
3406
+ "type": {
3407
+ "text": "BaseElement[]"
3408
+ }
3409
+ }
3410
+ ]
3411
+ },
3412
+ {
3413
+ "kind": "method",
3414
+ "name": "_onSelectPlace",
3415
+ "privacy": "private",
3416
+ "return": {
3417
+ "type": {
3418
+ "text": "void"
3419
+ }
3420
+ },
3421
+ "parameters": [
3422
+ {
3423
+ "name": "selectPlaceEvent",
3424
+ "type": {
3425
+ "text": "CustomEvent"
3426
+ }
3427
+ }
3428
+ ],
3429
+ "description": "Manages the selected place event triggered from the place\nEach selection emits an array of all selected places"
3430
+ },
3431
+ {
3432
+ "kind": "method",
3433
+ "name": "_onSelectNavCoach",
3434
+ "privacy": "private",
3435
+ "return": {
3436
+ "type": {
3437
+ "text": "void"
3438
+ }
3439
+ },
3440
+ "parameters": [
3441
+ {
3442
+ "name": "event",
3443
+ "type": {
3444
+ "text": "CustomEvent"
3445
+ }
3446
+ }
3447
+ ]
3448
+ },
3449
+ {
3450
+ "kind": "method",
3451
+ "name": "_onFocusNavCoach",
3452
+ "privacy": "private",
3453
+ "return": {
3454
+ "type": {
3455
+ "text": "void"
3456
+ }
3457
+ }
3458
+ },
3459
+ {
3460
+ "kind": "method",
3461
+ "name": "_getDescriptionTableCoach",
3462
+ "privacy": "private",
3463
+ "return": {
3464
+ "type": {
3465
+ "text": "string"
3466
+ }
3467
+ },
3468
+ "parameters": [
3469
+ {
3470
+ "name": "coachItem",
3471
+ "type": {
3472
+ "text": "CoachItem"
3473
+ }
3474
+ }
3475
+ ]
3476
+ },
3477
+ {
3478
+ "kind": "method",
3479
+ "name": "_getTitleDescriptionListString",
3480
+ "privacy": "private",
3481
+ "return": {
3482
+ "type": {
3483
+ "text": "string"
3484
+ }
3485
+ },
3486
+ "parameters": [
3487
+ {
3488
+ "name": "descriptionsElements",
3489
+ "type": {
3490
+ "text": "BaseElement[]"
3491
+ }
3492
+ }
3493
+ ]
3494
+ },
3495
+ {
3496
+ "kind": "field",
3497
+ "name": "events",
3498
+ "privacy": "public",
3499
+ "static": true,
3500
+ "readonly": true,
3501
+ "default": "{ selectedPlaces: 'selectedPlaces', selectedCoach: 'selectedCoach', }",
3502
+ "type": {
3503
+ "text": "{\n selectedPlaces: 'selectedPlaces',\n selectedCoach: 'selectedCoach',\n }"
3504
+ },
3505
+ "inheritedFrom": {
3506
+ "name": "SeatReservationBaseElement",
3507
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3508
+ }
3509
+ },
3510
+ {
3511
+ "kind": "field",
3512
+ "name": "baseGridSize",
3513
+ "type": {
3514
+ "text": "number"
3515
+ },
3516
+ "privacy": "public",
3517
+ "default": "16",
3518
+ "description": "The seat reservation area's base grid size",
3519
+ "attribute": "base-grid-size",
3520
+ "inheritedFrom": {
3521
+ "name": "SeatReservationBaseElement",
3522
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3523
+ }
3524
+ },
3525
+ {
3526
+ "kind": "field",
3527
+ "name": "height",
3528
+ "type": {
3529
+ "text": "number"
3530
+ },
3531
+ "privacy": "public",
3532
+ "default": "null!",
3533
+ "description": "The seat reservation area's width",
3534
+ "attribute": "height",
3535
+ "inheritedFrom": {
3536
+ "name": "SeatReservationBaseElement",
3537
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3538
+ }
3539
+ },
3540
+ {
3541
+ "kind": "field",
3542
+ "name": "selectedCoachIndex",
3543
+ "type": {
3544
+ "text": "number"
3545
+ },
3546
+ "privacy": "protected",
3547
+ "default": "-1",
3548
+ "inheritedFrom": {
3549
+ "name": "SeatReservationBaseElement",
3550
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3551
+ }
3552
+ },
3553
+ {
3554
+ "kind": "field",
3555
+ "name": "focusedCoachIndex",
3556
+ "type": {
3557
+ "text": "number"
3558
+ },
3559
+ "privacy": "protected",
3560
+ "default": "-1",
3561
+ "inheritedFrom": {
3562
+ "name": "SeatReservationBaseElement",
3563
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3564
+ }
3565
+ },
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
+ {
3595
+ "kind": "field",
3596
+ "name": "coachBorderPadding",
3597
+ "type": {
3598
+ "text": "number"
3599
+ },
3600
+ "privacy": "protected",
3601
+ "default": "6",
3602
+ "inheritedFrom": {
3603
+ "name": "SeatReservationBaseElement",
3604
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3605
+ }
3606
+ },
3607
+ {
3608
+ "kind": "field",
3609
+ "name": "coachBorderOffset",
3610
+ "privacy": "protected",
3611
+ "inheritedFrom": {
3612
+ "name": "SeatReservationBaseElement",
3613
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3614
+ }
3615
+ },
3616
+ {
3617
+ "kind": "field",
3618
+ "name": "currScrollDirection",
3619
+ "type": {
3620
+ "text": "ScrollDirection"
3621
+ },
3622
+ "privacy": "protected",
3623
+ "inheritedFrom": {
3624
+ "name": "SeatReservationBaseElement",
3625
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3626
+ }
3627
+ },
3628
+ {
3629
+ "kind": "field",
3630
+ "name": "maxCalcCoachsWidth",
3631
+ "type": {
3632
+ "text": "number"
3633
+ },
3634
+ "privacy": "protected",
3635
+ "default": "0",
3636
+ "inheritedFrom": {
3637
+ "name": "SeatReservationBaseElement",
3638
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3639
+ }
3640
+ },
3641
+ {
3642
+ "kind": "field",
3643
+ "name": "scrollCoachsAreaWidth",
3644
+ "type": {
3645
+ "text": "number"
3646
+ },
3647
+ "privacy": "protected",
3648
+ "default": "0",
3649
+ "inheritedFrom": {
3650
+ "name": "SeatReservationBaseElement",
3651
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3652
+ }
3653
+ },
3654
+ {
3655
+ "kind": "field",
3656
+ "name": "triggerCoachPositionsCollection",
3657
+ "type": {
3658
+ "text": "CoachScrollTriggerPoint[]"
3659
+ },
3660
+ "privacy": "protected",
3661
+ "default": "[]",
3662
+ "inheritedFrom": {
3663
+ "name": "SeatReservationBaseElement",
3664
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3665
+ }
3666
+ },
3667
+ {
3668
+ "kind": "field",
3669
+ "name": "firstTabElement",
3670
+ "type": {
3671
+ "text": "HTMLElement"
3672
+ },
3673
+ "privacy": "protected",
3674
+ "default": "null!",
3675
+ "inheritedFrom": {
3676
+ "name": "SeatReservationBaseElement",
3677
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3678
+ }
3679
+ },
3680
+ {
3681
+ "kind": "field",
3682
+ "name": "lastTabElement",
3683
+ "type": {
3684
+ "text": "HTMLElement"
3685
+ },
3686
+ "privacy": "protected",
3687
+ "default": "null!",
3688
+ "inheritedFrom": {
3689
+ "name": "SeatReservationBaseElement",
3690
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3691
+ }
3692
+ },
3693
+ {
3694
+ "kind": "field",
3695
+ "name": "coachScrollArea",
3696
+ "type": {
3697
+ "text": "HTMLElement"
3698
+ },
3699
+ "privacy": "protected",
3700
+ "default": "null!",
3701
+ "inheritedFrom": {
3702
+ "name": "SeatReservationBaseElement",
3703
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3704
+ }
3705
+ },
3706
+ {
3707
+ "kind": "field",
3708
+ "name": "currSelectedPlace",
3709
+ "type": {
3710
+ "text": "Place | null"
3711
+ },
3712
+ "privacy": "protected",
3713
+ "default": "null",
3714
+ "inheritedFrom": {
3715
+ "name": "SeatReservationBaseElement",
3716
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3717
+ }
3718
+ },
3719
+ {
3720
+ "kind": "field",
3721
+ "name": "currSelectedPlaceElementId",
3722
+ "type": {
3723
+ "text": "string | null"
3724
+ },
3725
+ "privacy": "protected",
3726
+ "default": "null",
3727
+ "inheritedFrom": {
3728
+ "name": "SeatReservationBaseElement",
3729
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3730
+ }
3731
+ },
3732
+ {
3733
+ "kind": "field",
3734
+ "name": "currSelectedCoachIndex",
3735
+ "type": {
3736
+ "text": "number"
3737
+ },
3738
+ "privacy": "protected",
3739
+ "default": "-1",
3740
+ "inheritedFrom": {
3741
+ "name": "SeatReservationBaseElement",
3742
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3743
+ }
3744
+ },
3745
+ {
3746
+ "kind": "field",
3747
+ "name": "preventCoachScrollByPlaceClick",
3748
+ "type": {
3749
+ "text": "boolean"
3750
+ },
3751
+ "privacy": "protected",
3752
+ "default": "false",
3753
+ "inheritedFrom": {
3754
+ "name": "SeatReservationBaseElement",
3755
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3756
+ }
3757
+ },
3758
+ {
3759
+ "kind": "field",
3760
+ "name": "selectedSeatReservationPlaces",
3761
+ "type": {
3762
+ "text": "SeatReservationPlaceSelection[]"
3763
+ },
3764
+ "privacy": "protected",
3765
+ "default": "[]",
3766
+ "inheritedFrom": {
3767
+ "name": "SeatReservationBaseElement",
3768
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3769
+ }
3770
+ },
3771
+ {
3772
+ "kind": "field",
3773
+ "name": "seatReservationWithoutNavigationHasFocus",
3774
+ "type": {
3775
+ "text": "boolean"
3776
+ },
3777
+ "privacy": "protected",
3778
+ "default": "false",
3779
+ "inheritedFrom": {
3780
+ "name": "SeatReservationBaseElement",
3781
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3782
+ }
3783
+ },
3784
+ {
3785
+ "kind": "field",
3786
+ "name": "isCoachGridFocusable",
3787
+ "type": {
3788
+ "text": "boolean"
3789
+ },
3790
+ "privacy": "protected",
3791
+ "default": "false",
3792
+ "inheritedFrom": {
3793
+ "name": "SeatReservationBaseElement",
3794
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3795
+ }
3796
+ },
3797
+ {
3798
+ "kind": "field",
3799
+ "name": "isAutoScrolling",
3800
+ "type": {
3801
+ "text": "boolean"
3802
+ },
3803
+ "privacy": "protected",
3804
+ "default": "false",
3805
+ "inheritedFrom": {
3806
+ "name": "SeatReservationBaseElement",
3807
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3808
+ }
3809
+ },
3810
+ {
3811
+ "kind": "field",
3812
+ "name": "isKeyboardNavigation",
3813
+ "type": {
3814
+ "text": "boolean"
3815
+ },
3816
+ "privacy": "protected",
3817
+ "default": "false",
3818
+ "inheritedFrom": {
3819
+ "name": "SeatReservationBaseElement",
3820
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3821
+ }
3822
+ },
3823
+ {
3824
+ "kind": "field",
3825
+ "name": "keyboardNavigationEvents",
3826
+ "privacy": "protected",
3827
+ "default": "{ ArrowLeft: 'ArrowLeft', ArrowRight: 'ArrowRight', ArrowUp: 'ArrowUp', ArrowDown: 'ArrowDown', Tab: 'Tab', Enter: 'Enter', }",
3828
+ "type": {
3829
+ "text": "{\n ArrowLeft: 'ArrowLeft',\n ArrowRight: 'ArrowRight',\n ArrowUp: 'ArrowUp',\n ArrowDown: 'ArrowDown',\n Tab: 'Tab',\n Enter: 'Enter',\n }"
3830
+ },
3831
+ "inheritedFrom": {
3832
+ "name": "SeatReservationBaseElement",
3833
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3834
+ }
3835
+ },
3836
+ {
3837
+ "kind": "method",
3838
+ "name": "initNavigationSelectionByScrollEvent",
3839
+ "privacy": "protected",
3840
+ "return": {
3841
+ "type": {
3842
+ "text": "void"
3843
+ }
3844
+ },
3845
+ "inheritedFrom": {
3846
+ "name": "SeatReservationBaseElement",
3847
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3848
+ }
3849
+ },
3850
+ {
3851
+ "kind": "method",
3852
+ "name": "onFocusTableCoachAndPreselectPlace",
3853
+ "privacy": "protected",
3854
+ "return": {
3855
+ "type": {
3856
+ "text": "void"
3857
+ }
3858
+ },
3859
+ "parameters": [
3860
+ {
3861
+ "name": "focusCoachIndex",
3862
+ "type": {
3863
+ "text": "number"
3864
+ }
3865
+ }
3866
+ ],
3867
+ "description": "If no navigation exists (property setting -> hasNavigation) and a table coach gets the focus,\nthe first place in the coach must be automatically preselected to control the place navigation via keyboard",
3868
+ "inheritedFrom": {
3869
+ "name": "SeatReservationBaseElement",
3870
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3871
+ }
3872
+ },
3873
+ {
3874
+ "kind": "method",
3875
+ "name": "handleKeyboardEvent",
3876
+ "privacy": "protected",
3877
+ "return": {
3878
+ "type": {
3879
+ "text": "void"
3880
+ }
3881
+ },
3882
+ "parameters": [
3883
+ {
3884
+ "name": "event",
3885
+ "type": {
3886
+ "text": "KeyboardEvent"
3887
+ }
3888
+ }
3889
+ ],
3890
+ "description": "Initialisation of Keyboard event handling to navigation between each places inside a selected coach by using [arrow] keys.\nWith the [TAB] key the user navigation goes to the next coach navigation element and the currently selected place is automatically reset.",
3891
+ "inheritedFrom": {
3892
+ "name": "SeatReservationBaseElement",
3893
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3894
+ }
3895
+ },
3896
+ {
3897
+ "kind": "method",
3898
+ "name": "preselectPlaceInCoach",
3899
+ "privacy": "protected",
3900
+ "return": {
3901
+ "type": {
3902
+ "text": "void"
3903
+ }
3904
+ },
3905
+ "description": "Selects a place inside the coach if navigated via keyboard,\notherwise the coach grid is selected (necessary for ScreenReader)",
3906
+ "inheritedFrom": {
3907
+ "name": "SeatReservationBaseElement",
3908
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3909
+ }
3910
+ },
3911
+ {
3912
+ "kind": "method",
3913
+ "name": "scrollToSelectedNavCoach",
3914
+ "privacy": "protected",
3915
+ "return": {
3916
+ "type": {
3917
+ "text": "void"
3918
+ }
3919
+ },
3920
+ "parameters": [
3921
+ {
3922
+ "name": "selectedNavCoachIndex",
3923
+ "type": {
3924
+ "text": "number"
3925
+ }
3926
+ }
3927
+ ],
3928
+ "inheritedFrom": {
3929
+ "name": "SeatReservationBaseElement",
3930
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3931
+ }
3932
+ },
3933
+ {
3934
+ "kind": "method",
3935
+ "name": "_setScrollDirectionByCoachIndex",
3936
+ "privacy": "private",
3937
+ "return": {
3938
+ "type": {
3939
+ "text": "void"
3940
+ }
3941
+ },
3942
+ "description": "Sets the new ScrollDirection by the new given target coach index.",
3943
+ "inheritedFrom": {
3944
+ "name": "SeatReservationBaseElement",
3945
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3946
+ }
3947
+ },
3948
+ {
3949
+ "kind": "method",
3950
+ "name": "_getCoachScrollPositionX",
3951
+ "privacy": "private",
3952
+ "return": {
3953
+ "type": {
3954
+ "text": ""
3955
+ }
3956
+ },
3957
+ "description": "Returns the scroll start or end position X from the selected coach.\nIn case the user is curretnly navigate throught places by keyboard and goes to previous coach,\nthen we return the end position of the coach to get clostest next scroll position of the next focus place.",
3958
+ "inheritedFrom": {
3959
+ "name": "SeatReservationBaseElement",
3960
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3961
+ }
3962
+ },
3963
+ {
3964
+ "kind": "method",
3965
+ "name": "_setFocusToSelectedCoachGrid",
3966
+ "privacy": "private",
3967
+ "return": {
3968
+ "type": {
3969
+ "text": "void"
3970
+ }
3971
+ },
3972
+ "description": "Sets the focus on the HTML table (grid) caption element so that the heading is read out when using a ScreenReader.",
3973
+ "inheritedFrom": {
3974
+ "name": "SeatReservationBaseElement",
3975
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3976
+ }
3977
+ },
3978
+ {
3979
+ "kind": "method",
3980
+ "name": "_isScrollableToSelectedCoach",
3981
+ "privacy": "private",
3982
+ "return": {
3983
+ "type": {
3984
+ "text": ""
3985
+ }
3986
+ },
3987
+ "description": "Returns whether the current scrolled position can be used to scroll to the selected wagon",
3988
+ "inheritedFrom": {
3989
+ "name": "SeatReservationBaseElement",
3990
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
3991
+ }
3992
+ },
3993
+ {
3994
+ "kind": "method",
3995
+ "name": "_getCoachIndexByScrollTriggerPosition",
3996
+ "privacy": "private",
3997
+ "return": {
3998
+ "type": {
3999
+ "text": ""
4000
+ }
4001
+ },
4002
+ "description": "Returns the coach index which is currently visible in the scroll area",
4003
+ "inheritedFrom": {
4004
+ "name": "SeatReservationBaseElement",
4005
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4006
+ }
4007
+ },
4008
+ {
4009
+ "kind": "method",
4010
+ "name": "_getFirstPlaceInSelecedCoach",
4011
+ "privacy": "private",
4012
+ "return": {
4013
+ "type": {
4014
+ "text": ""
4015
+ }
4016
+ },
4017
+ "description": "Get the first place of current selected coach by table cell coordinate 0-0 id.",
4018
+ "inheritedFrom": {
4019
+ "name": "SeatReservationBaseElement",
4020
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4021
+ }
4022
+ },
4023
+ {
4024
+ "kind": "method",
4025
+ "name": "_getClosestPlaceByKeyDirection",
4026
+ "privacy": "private",
4027
+ "return": {
4028
+ "type": {
4029
+ "text": ""
4030
+ }
4031
+ },
4032
+ "parameters": [
4033
+ {
4034
+ "name": "pressedKey",
4035
+ "optional": true,
4036
+ "type": {
4037
+ "text": "string"
4038
+ }
4039
+ }
4040
+ ],
4041
+ "description": "To get the correct closest place of current pressed key and the current selected place,\nwe have to investigate the coordinates of each place to find the closest place of the currSelectedPlaceElementId.",
4042
+ "inheritedFrom": {
4043
+ "name": "SeatReservationBaseElement",
4044
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4045
+ }
4046
+ },
4047
+ {
4048
+ "kind": "method",
4049
+ "name": "focusPlaceElement",
4050
+ "privacy": "protected",
4051
+ "return": {
4052
+ "type": {
4053
+ "text": "void"
4054
+ }
4055
+ },
4056
+ "parameters": [
4057
+ {
4058
+ "name": "place",
4059
+ "type": {
4060
+ "text": "Place | null"
4061
+ }
4062
+ },
4063
+ {
4064
+ "name": "coachIndex",
4065
+ "optional": true,
4066
+ "type": {
4067
+ "text": "number"
4068
+ }
4069
+ }
4070
+ ],
4071
+ "inheritedFrom": {
4072
+ "name": "SeatReservationBaseElement",
4073
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4074
+ }
4075
+ },
4076
+ {
4077
+ "kind": "method",
4078
+ "name": "unfocusPlaceElement",
4079
+ "privacy": "protected",
4080
+ "return": {
4081
+ "type": {
4082
+ "text": "void"
4083
+ }
4084
+ },
4085
+ "inheritedFrom": {
4086
+ "name": "SeatReservationBaseElement",
4087
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4088
+ }
4089
+ },
4090
+ {
4091
+ "kind": "method",
4092
+ "name": "getCalculatedDimension",
4093
+ "privacy": "protected",
4094
+ "return": {
4095
+ "type": {
4096
+ "text": "ElementDimension"
4097
+ }
4098
+ },
4099
+ "parameters": [
4100
+ {
4101
+ "name": "elementDimension",
4102
+ "type": {
4103
+ "text": "ElementDimension"
4104
+ }
4105
+ },
4106
+ {
4107
+ "name": "coachDimension",
4108
+ "optional": true,
4109
+ "type": {
4110
+ "text": "ElementDimension"
4111
+ }
4112
+ },
4113
+ {
4114
+ "name": "isOriginHeight",
4115
+ "optional": true,
4116
+ "type": {
4117
+ "text": "boolean"
4118
+ }
4119
+ },
4120
+ {
4121
+ "name": "isStretchHeight",
4122
+ "optional": true,
4123
+ "type": {
4124
+ "text": "boolean"
4125
+ }
4126
+ }
4127
+ ],
4128
+ "inheritedFrom": {
4129
+ "name": "SeatReservationBaseElement",
4130
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4131
+ }
4132
+ },
4133
+ {
4134
+ "kind": "method",
4135
+ "name": "getCalculatedPosition",
4136
+ "privacy": "protected",
4137
+ "return": {
4138
+ "type": {
4139
+ "text": "ElementPosition"
4140
+ }
4141
+ },
4142
+ "parameters": [
4143
+ {
4144
+ "name": "elementPosition",
4145
+ "type": {
4146
+ "text": "ElementPosition"
4147
+ }
4148
+ },
4149
+ {
4150
+ "name": "elementDimension",
4151
+ "optional": true,
4152
+ "type": {
4153
+ "text": "ElementDimension"
4154
+ }
4155
+ },
4156
+ {
4157
+ "name": "coachDimension",
4158
+ "optional": true,
4159
+ "type": {
4160
+ "text": "ElementDimension"
4161
+ }
4162
+ },
4163
+ {
4164
+ "name": "isOriginHeight",
4165
+ "optional": true,
4166
+ "type": {
4167
+ "text": "boolean"
4168
+ }
4169
+ }
4170
+ ],
4171
+ "inheritedFrom": {
4172
+ "name": "SeatReservationBaseElement",
4173
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4174
+ }
4175
+ },
4176
+ {
4177
+ "kind": "method",
4178
+ "name": "_navigateCoachNavigationByKeyboard",
4179
+ "privacy": "private",
4180
+ "return": {
4181
+ "type": {
4182
+ "text": "void"
4183
+ }
4184
+ },
4185
+ "parameters": [
4186
+ {
4187
+ "name": "tabDirection",
4188
+ "type": {
4189
+ "text": "string"
4190
+ }
4191
+ }
4192
+ ],
4193
+ "inheritedFrom": {
4194
+ "name": "SeatReservationBaseElement",
4195
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4196
+ }
4197
+ },
4198
+ {
4199
+ "kind": "method",
4200
+ "name": "_navigateToPlaceByKeyboard",
4201
+ "privacy": "private",
4202
+ "return": {
4203
+ "type": {
4204
+ "text": "void"
4205
+ }
4206
+ },
4207
+ "parameters": [
4208
+ {
4209
+ "name": "pressedKey",
4210
+ "type": {
4211
+ "text": "string"
4212
+ }
4213
+ }
4214
+ ],
4215
+ "inheritedFrom": {
4216
+ "name": "SeatReservationBaseElement",
4217
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4218
+ }
4219
+ },
4220
+ {
4221
+ "kind": "method",
4222
+ "name": "getNextAvailableCoachIndex",
4223
+ "privacy": "protected",
4224
+ "return": {
4225
+ "type": {
4226
+ "text": "number"
4227
+ }
4228
+ },
4229
+ "parameters": [
4230
+ {
4231
+ "name": "currentIndex",
4232
+ "optional": true,
4233
+ "type": {
4234
+ "text": "number"
4235
+ }
4236
+ }
4237
+ ],
4238
+ "inheritedFrom": {
4239
+ "name": "SeatReservationBaseElement",
4240
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4241
+ }
4242
+ },
4243
+ {
4244
+ "kind": "method",
4245
+ "name": "getPrevAvailableCoachIndex",
4246
+ "privacy": "protected",
4247
+ "return": {
4248
+ "type": {
4249
+ "text": "number"
4250
+ }
4251
+ },
4252
+ "parameters": [
4253
+ {
4254
+ "name": "currentIndex",
4255
+ "optional": true,
4256
+ "type": {
4257
+ "text": "number"
4258
+ }
4259
+ }
4260
+ ],
4261
+ "inheritedFrom": {
4262
+ "name": "SeatReservationBaseElement",
4263
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4264
+ }
4265
+ },
4266
+ {
4267
+ "kind": "method",
4268
+ "name": "updateSelectedSeatReservationPlaces",
4269
+ "privacy": "protected",
4270
+ "return": {
4271
+ "type": {
4272
+ "text": "void"
4273
+ }
4274
+ },
4275
+ "parameters": [
4276
+ {
4277
+ "name": "placeSelection",
4278
+ "type": {
4279
+ "text": "PlaceSelection"
4280
+ }
4281
+ }
4282
+ ],
4283
+ "inheritedFrom": {
4284
+ "name": "SeatReservationBaseElement",
4285
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4286
+ }
4287
+ },
4288
+ {
4289
+ "kind": "method",
4290
+ "name": "updateCurrentSelectedPlaceInCoach",
4291
+ "privacy": "protected",
4292
+ "return": {
4293
+ "type": {
4294
+ "text": "void"
4295
+ }
4296
+ },
4297
+ "parameters": [
4298
+ {
4299
+ "name": "placeSelection",
4300
+ "type": {
4301
+ "text": "PlaceSelection"
4302
+ }
4303
+ }
4304
+ ],
4305
+ "inheritedFrom": {
4306
+ "name": "SeatReservationBaseElement",
4307
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4308
+ }
4309
+ },
4310
+ {
4311
+ "kind": "method",
4312
+ "name": "updateCurrentSelectedCoach",
4313
+ "privacy": "protected",
4314
+ "return": {
4315
+ "type": {
4316
+ "text": "void"
4317
+ }
4318
+ },
4319
+ "inheritedFrom": {
4320
+ "name": "SeatReservationBaseElement",
4321
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4322
+ }
4323
+ },
4324
+ {
4325
+ "kind": "method",
4326
+ "name": "_initSeatReservationPlaceSelection",
4327
+ "privacy": "private",
4328
+ "return": {
4329
+ "type": {
4330
+ "text": "void"
4331
+ }
4332
+ },
4333
+ "description": "Initialization of SeatReservationPlaceSelection Array based on the transferred places\nthat have the state SELECTED within the seatReservation object",
4334
+ "inheritedFrom": {
4335
+ "name": "SeatReservationBaseElement",
4336
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4337
+ }
4338
+ },
4339
+ {
4340
+ "kind": "method",
4341
+ "name": "_resetAllPlaceSelections",
4342
+ "privacy": "private",
4343
+ "return": {
4344
+ "type": {
4345
+ "text": "void"
4346
+ }
4347
+ },
4348
+ "parameters": [
4349
+ {
4350
+ "name": "currSelectedPlace",
4351
+ "optional": true,
4352
+ "type": {
4353
+ "text": "PlaceSelection"
4354
+ }
4355
+ }
4356
+ ],
4357
+ "description": "All selected places will be reset or the currentSelectedPlace was given, then we reset all except currentSelectedPlace",
4358
+ "inheritedFrom": {
4359
+ "name": "SeatReservationBaseElement",
4360
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4361
+ }
4362
+ },
4363
+ {
4364
+ "kind": "method",
4365
+ "name": "_getSeatReservationPlaceSelection",
4366
+ "privacy": "private",
4367
+ "return": {
4368
+ "type": {
4369
+ "text": "SeatReservationPlaceSelection | null"
4370
+ }
4371
+ },
4372
+ "parameters": [
4373
+ {
4374
+ "name": "currSelectedPlace",
4375
+ "type": {
4376
+ "text": "PlaceSelection"
4377
+ }
4378
+ }
4379
+ ],
4380
+ "inheritedFrom": {
4381
+ "name": "SeatReservationBaseElement",
4382
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4383
+ }
4384
+ },
4385
+ {
4386
+ "kind": "method",
4387
+ "name": "_getSeatReservationCoachSelection",
4388
+ "privacy": "private",
4389
+ "return": {
4390
+ "type": {
4391
+ "text": "SeatReservationCoachSelection | null"
4392
+ }
4393
+ },
4394
+ "parameters": [
4395
+ {
4396
+ "name": "coachIndex",
4397
+ "type": {
4398
+ "text": "number"
4399
+ }
4400
+ }
4401
+ ],
4402
+ "inheritedFrom": {
4403
+ "name": "SeatReservationBaseElement",
4404
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4405
+ }
4406
+ },
4407
+ {
4408
+ "kind": "method",
4409
+ "name": "_setCurrSelectedPlaceElementId",
4410
+ "privacy": "private",
4411
+ "return": {
4412
+ "type": {
4413
+ "text": "void"
4414
+ }
4415
+ },
4416
+ "parameters": [
4417
+ {
4418
+ "name": "place",
4419
+ "type": {
4420
+ "text": "Place | null"
4421
+ }
4422
+ }
4423
+ ],
4424
+ "inheritedFrom": {
4425
+ "name": "SeatReservationBaseElement",
4426
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4427
+ }
4428
+ },
4429
+ {
4430
+ "kind": "method",
4431
+ "name": "_getPlaceHtmlElement",
4432
+ "privacy": "private",
4433
+ "return": {
4434
+ "type": {
4435
+ "text": ""
4436
+ }
4437
+ },
4438
+ "parameters": [
4439
+ {
4440
+ "name": "placeNumber",
4441
+ "optional": true,
4442
+ "type": {
4443
+ "text": "string"
4444
+ },
4445
+ "description": "optional as string"
4446
+ },
4447
+ {
4448
+ "name": "coachIndex",
4449
+ "optional": true,
4450
+ "type": {
4451
+ "text": "number"
4452
+ },
4453
+ "description": "optional as string"
4454
+ }
4455
+ ],
4456
+ "description": "Returns the current selected place HTML element by given placeNumber and coachIndex.\nIf both doesnt exist, we try to return the place HTML element by the _currentSelectedPlaceElementId",
4457
+ "inheritedFrom": {
4458
+ "name": "SeatReservationBaseElement",
4459
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4460
+ }
4461
+ },
4462
+ {
4463
+ "kind": "method",
4464
+ "name": "_setVerticalAlignmentOffset",
4465
+ "privacy": "private",
4466
+ "return": {
4467
+ "type": {
4468
+ "text": "void"
4469
+ }
4470
+ },
4471
+ "inheritedFrom": {
4472
+ "name": "SeatReservationBaseElement",
4473
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4474
+ }
4475
+ }
4476
+ ],
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
+ "attributes": [
4494
+ {
4495
+ "name": "seat-reservation",
4496
+ "type": {
4497
+ "text": "SeatReservation"
4498
+ },
4499
+ "default": "null!",
4500
+ "description": "The seat reservation object which contains all coaches and places",
4501
+ "fieldName": "seatReservation",
4502
+ "inheritedFrom": {
4503
+ "name": "SeatReservationBaseElement",
4504
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4505
+ }
4506
+ },
4507
+ {
4508
+ "name": "has-navigation",
4509
+ "type": {
4510
+ "text": "boolean"
4511
+ },
4512
+ "default": "true",
4513
+ "description": "The seat reservation navigation can be toggled by this property",
4514
+ "fieldName": "hasNavigation",
4515
+ "inheritedFrom": {
4516
+ "name": "SeatReservationBaseElement",
4517
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4518
+ }
4519
+ },
4520
+ {
4521
+ "name": "align-vertical",
4522
+ "type": {
4523
+ "text": "boolean"
4524
+ },
4525
+ "default": "false",
4526
+ "description": "Controls the visual representation of seat reservation in a horizonal or vertical alignment",
4527
+ "fieldName": "alignVertical",
4528
+ "inheritedFrom": {
4529
+ "name": "SeatReservationBaseElement",
4530
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4531
+ }
4532
+ },
4533
+ {
4534
+ "name": "max-reservations",
4535
+ "type": {
4536
+ "text": "number"
4537
+ },
4538
+ "default": "null!",
4539
+ "description": "Maximal number of possible clickable seats",
4540
+ "fieldName": "maxReservations",
4541
+ "inheritedFrom": {
4542
+ "name": "SeatReservationBaseElement",
4543
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4544
+ }
4545
+ },
4546
+ {
4547
+ "name": "prevent-place-click",
4548
+ "type": {
4549
+ "text": "boolean"
4550
+ },
4551
+ "default": "false",
4552
+ "description": "Any click functionality is prevented",
4553
+ "fieldName": "preventPlaceClick",
4554
+ "inheritedFrom": {
4555
+ "name": "SeatReservationBaseElement",
4556
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4557
+ }
4558
+ },
4559
+ {
4560
+ "name": "base-grid-size",
4561
+ "type": {
4562
+ "text": "number"
4563
+ },
4564
+ "default": "16",
4565
+ "description": "The seat reservation area's base grid size",
4566
+ "fieldName": "baseGridSize",
4567
+ "inheritedFrom": {
4568
+ "name": "SeatReservationBaseElement",
4569
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4570
+ }
4571
+ },
4572
+ {
4573
+ "name": "height",
4574
+ "type": {
4575
+ "text": "number"
4576
+ },
4577
+ "default": "null!",
4578
+ "description": "The seat reservation area's width",
4579
+ "fieldName": "height",
4580
+ "inheritedFrom": {
4581
+ "name": "SeatReservationBaseElement",
4582
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4583
+ }
4584
+ }
4585
+ ],
4586
+ "superclass": {
4587
+ "name": "SeatReservationBaseElement",
4588
+ "module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
4589
+ },
4590
+ "tagName": "sbb-seat-reservation",
4591
+ "customElement": true
4592
+ }
4593
+ ],
4594
+ "exports": [
4595
+ {
4596
+ "kind": "js",
4597
+ "name": "SbbSeatReservationElement",
4598
+ "declaration": {
4599
+ "name": "SbbSeatReservationElement",
4600
+ "module": "seat-reservation/seat-reservation/seat-reservation.component.js"
4601
+ }
4602
+ },
4603
+ {
4604
+ "kind": "custom-element-definition",
4605
+ "name": "sbb-seat-reservation",
4606
+ "declaration": {
4607
+ "name": "SbbSeatReservationElement",
4608
+ "module": "seat-reservation/seat-reservation/seat-reservation.component.js"
4609
+ }
4610
+ }
4611
+ ]
4612
+ },
4613
+ {
4614
+ "kind": "javascript-module",
4615
+ "path": "seat-reservation/seat-reservation-area/seat-reservation-area.component.js",
4616
+ "declarations": [
4617
+ {
4618
+ "kind": "class",
4619
+ "description": "Visualize an area with a special meaning within a wagon.",
4620
+ "name": "SbbSeatReservationAreaElement",
4621
+ "members": [
4622
+ {
4623
+ "kind": "field",
4624
+ "name": "mounting",
4625
+ "type": {
4626
+ "text": "'free' | 'upper-border' | 'lower-border' | 'upper-to-lower-border'"
4627
+ },
4628
+ "privacy": "public",
4629
+ "default": "'free'",
4630
+ "description": "Mounting Prop",
4631
+ "attribute": "mounting",
4632
+ "reflects": true
4633
+ },
4634
+ {
4635
+ "kind": "field",
4636
+ "name": "background",
4637
+ "type": {
4638
+ "text": "'light' | 'dark'"
4639
+ },
4640
+ "privacy": "public",
4641
+ "default": "'light'",
4642
+ "description": "the background of the area",
4643
+ "attribute": "background",
4644
+ "reflects": true
4645
+ }
4646
+ ],
4647
+ "attributes": [
4648
+ {
4649
+ "name": "mounting",
4650
+ "type": {
4651
+ "text": "'free' | 'upper-border' | 'lower-border' | 'upper-to-lower-border'"
4652
+ },
4653
+ "default": "'free'",
4654
+ "description": "Mounting Prop",
4655
+ "fieldName": "mounting"
4656
+ },
4657
+ {
4658
+ "name": "background",
4659
+ "type": {
4660
+ "text": "'light' | 'dark'"
4661
+ },
4662
+ "default": "'light'",
4663
+ "description": "the background of the area",
4664
+ "fieldName": "background"
4665
+ }
4666
+ ],
4667
+ "superclass": {
4668
+ "name": "LitElement",
4669
+ "package": "lit"
4670
+ },
4671
+ "tagName": "sbb-seat-reservation-area",
4672
+ "customElement": true
4673
+ }
4674
+ ],
4675
+ "exports": [
4676
+ {
4677
+ "kind": "js",
4678
+ "name": "SbbSeatReservationAreaElement",
4679
+ "declaration": {
4680
+ "name": "SbbSeatReservationAreaElement",
4681
+ "module": "seat-reservation/seat-reservation-area/seat-reservation-area.component.js"
4682
+ }
4683
+ },
4684
+ {
4685
+ "kind": "custom-element-definition",
4686
+ "name": "sbb-seat-reservation-area",
4687
+ "declaration": {
4688
+ "name": "SbbSeatReservationAreaElement",
4689
+ "module": "seat-reservation/seat-reservation-area/seat-reservation-area.component.js"
4690
+ }
4691
+ }
4692
+ ]
4693
+ },
4694
+ {
4695
+ "kind": "javascript-module",
4696
+ "path": "seat-reservation/seat-reservation-graphic/seat-reservation-assets.js",
4697
+ "declarations": [
4698
+ {
4699
+ "kind": "function",
4700
+ "name": "svgImageByOSDMCode",
4701
+ "return": {
4702
+ "type": {
4703
+ "text": ""
4704
+ }
4705
+ },
4706
+ "parameters": [
4707
+ {
4708
+ "name": "osdmCode",
4709
+ "type": {
4710
+ "text": "string"
4711
+ }
4712
+ }
4713
+ ],
4714
+ "description": "svgImageByOSDMCode Function returns the corresponding svg image by OSDM Code"
4715
+ },
4716
+ {
4717
+ "kind": "variable",
4718
+ "name": "assetsTemplate",
4719
+ "type": {
4720
+ "text": "TemplateResult"
4721
+ },
4722
+ "default": "html` <style> .story-asset { width: max-content; background-color: var(--sbb-color-white); } </style> <h1>List of all currently available assets.</h1> <h2>Interior</h2> ${interiorTable} <h2>Layout</h2> ${layoutItemsTable} <h2>Service Icons</h2> ${serviceIconTable} <h2>Chassis</h2> ${chassisTable} `"
4723
+ }
4724
+ ],
4725
+ "exports": [
4726
+ {
4727
+ "kind": "js",
4728
+ "name": "svgImageByOSDMCode",
4729
+ "declaration": {
4730
+ "name": "svgImageByOSDMCode",
4731
+ "module": "seat-reservation/seat-reservation-graphic/seat-reservation-assets.js"
4732
+ }
4733
+ },
4734
+ {
4735
+ "kind": "js",
4736
+ "name": "assetsTemplate",
4737
+ "declaration": {
4738
+ "name": "assetsTemplate",
4739
+ "module": "seat-reservation/seat-reservation-graphic/seat-reservation-assets.js"
4740
+ }
4741
+ }
4742
+ ]
4743
+ },
4744
+ {
4745
+ "kind": "javascript-module",
4746
+ "path": "seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js",
4747
+ "declarations": [
4748
+ {
4749
+ "kind": "class",
4750
+ "description": "Output one of the SVG graphics based on its code.",
4751
+ "name": "SbbSeatReservationGraphicElement",
4752
+ "members": [
4753
+ {
4754
+ "kind": "field",
4755
+ "name": "name",
4756
+ "type": {
4757
+ "text": "string"
4758
+ },
4759
+ "privacy": "public",
4760
+ "default": "''",
4761
+ "description": "Name of the SVG graphic to be displayed.",
4762
+ "attribute": "name"
4763
+ },
4764
+ {
4765
+ "kind": "field",
4766
+ "name": "stretch",
4767
+ "type": {
4768
+ "text": "boolean"
4769
+ },
4770
+ "privacy": "public",
4771
+ "default": "false",
4772
+ "description": "if true, scale the graphic content of the given element non-uniformly if necessary",
4773
+ "attribute": "stretch"
4774
+ },
4775
+ {
4776
+ "kind": "field",
4777
+ "name": "rotation",
4778
+ "type": {
4779
+ "text": "number"
4780
+ },
4781
+ "privacy": "public",
4782
+ "default": "0",
4783
+ "description": "handles the rotation of the SVG graphic",
4784
+ "attribute": "rotation"
4785
+ },
4786
+ {
4787
+ "kind": "field",
4788
+ "name": "inverseRotation",
4789
+ "type": {
4790
+ "text": "number"
4791
+ },
4792
+ "privacy": "public",
4793
+ "default": "0",
4794
+ "description": "Inverse rotation for part of an SVG that can be rotated opposite to the normal rotation",
4795
+ "attribute": "inverse-roration"
4796
+ },
4797
+ {
4798
+ "kind": "field",
4799
+ "name": "width",
4800
+ "type": {
4801
+ "text": "number"
4802
+ },
4803
+ "privacy": "public",
4804
+ "default": "null!",
4805
+ "description": "width of the svg in pixels (without unit)",
4806
+ "attribute": "width"
4807
+ },
4808
+ {
4809
+ "kind": "field",
4810
+ "name": "height",
4811
+ "type": {
4812
+ "text": "number"
4813
+ },
4814
+ "privacy": "public",
4815
+ "default": "null!",
4816
+ "description": "height of the svg in pixels (without unit)",
4817
+ "attribute": "height"
4818
+ },
4819
+ {
4820
+ "kind": "field",
4821
+ "name": "_language",
4822
+ "privacy": "private",
4823
+ "default": "new SbbLanguageController(this)"
4824
+ },
4825
+ {
4826
+ "kind": "method",
4827
+ "name": "_getSvgElement",
4828
+ "privacy": "private",
4829
+ "return": {
4830
+ "type": {
4831
+ "text": "Element | null"
4832
+ }
4833
+ },
4834
+ "parameters": [
4835
+ {
4836
+ "name": "svg",
4837
+ "type": {
4838
+ "text": "string"
4839
+ }
4840
+ }
4841
+ ]
4842
+ }
4843
+ ],
4844
+ "attributes": [
4845
+ {
4846
+ "name": "name",
4847
+ "type": {
4848
+ "text": "string"
4849
+ },
4850
+ "default": "''",
4851
+ "description": "Name of the SVG graphic to be displayed.",
4852
+ "fieldName": "name"
4853
+ },
4854
+ {
4855
+ "name": "stretch",
4856
+ "type": {
4857
+ "text": "boolean"
4858
+ },
4859
+ "default": "false",
4860
+ "description": "if true, scale the graphic content of the given element non-uniformly if necessary",
4861
+ "fieldName": "stretch"
4862
+ },
4863
+ {
4864
+ "name": "rotation",
4865
+ "type": {
4866
+ "text": "number"
4867
+ },
4868
+ "default": "0",
4869
+ "description": "handles the rotation of the SVG graphic",
4870
+ "fieldName": "rotation"
4871
+ },
4872
+ {
4873
+ "name": "inverse-roration",
4874
+ "type": {
4875
+ "text": "number"
4876
+ },
4877
+ "default": "0",
4878
+ "description": "Inverse rotation for part of an SVG that can be rotated opposite to the normal rotation",
4879
+ "fieldName": "inverseRotation"
4880
+ },
4881
+ {
4882
+ "name": "width",
4883
+ "type": {
4884
+ "text": "number"
4885
+ },
4886
+ "default": "null!",
4887
+ "description": "width of the svg in pixels (without unit)",
4888
+ "fieldName": "width"
4889
+ },
4890
+ {
4891
+ "name": "height",
4892
+ "type": {
4893
+ "text": "number"
4894
+ },
4895
+ "default": "null!",
4896
+ "description": "height of the svg in pixels (without unit)",
4897
+ "fieldName": "height"
4898
+ }
4899
+ ],
4900
+ "superclass": {
4901
+ "name": "LitElement",
4902
+ "package": "lit"
4903
+ },
4904
+ "tagName": "sbb-seat-reservation-graphic",
4905
+ "customElement": true
4906
+ }
4907
+ ],
4908
+ "exports": [
4909
+ {
4910
+ "kind": "js",
4911
+ "name": "SbbSeatReservationGraphicElement",
4912
+ "declaration": {
4913
+ "name": "SbbSeatReservationGraphicElement",
4914
+ "module": "seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js"
4915
+ }
4916
+ },
4917
+ {
4918
+ "kind": "custom-element-definition",
4919
+ "name": "sbb-seat-reservation-graphic",
4920
+ "declaration": {
4921
+ "name": "SbbSeatReservationGraphicElement",
4922
+ "module": "seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js"
4923
+ }
4924
+ }
4925
+ ]
4926
+ },
4927
+ {
4928
+ "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",
4960
+ "declarations": [
4961
+ {
4962
+ "kind": "class",
4963
+ "description": "Output the graphic of a seat or a bicycle place as a control element.",
4964
+ "name": "SbbSeatReservationPlaceControlElement",
4965
+ "members": [
4966
+ {
4967
+ "kind": "field",
4968
+ "name": "events",
4969
+ "privacy": "public",
4970
+ "static": true,
4971
+ "readonly": true,
4972
+ "default": "{ selectPlace: 'selectPlace', }",
4973
+ "type": {
4974
+ "text": "{\n selectPlace: 'selectPlace',\n }"
4975
+ }
4976
+ },
4977
+ {
4978
+ "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",
4991
+ "type": {
4992
+ "text": "PlaceState"
4993
+ },
4994
+ "privacy": "public",
4995
+ "default": "'FREE'",
4996
+ "description": "state of the place, e.g. 'FREE', 'SELECTED', 'BLOCKED'",
4997
+ "attribute": "state"
4998
+ },
4999
+ {
5000
+ "kind": "field",
5001
+ "name": "propertyIds",
5002
+ "type": {
5003
+ "text": "string[]"
5004
+ },
5005
+ "privacy": "public",
5006
+ "default": "[]",
5007
+ "description": "property ids of the place, to display more info about the place",
5008
+ "attribute": "propertyIds"
5009
+ },
5010
+ {
5011
+ "kind": "field",
5012
+ "name": "rotation",
5013
+ "type": {
5014
+ "text": "number"
5015
+ },
5016
+ "privacy": "public",
5017
+ "default": "0",
5018
+ "description": "rotation in degrees (without unit)",
5019
+ "attribute": "rotation"
5020
+ },
5021
+ {
5022
+ "kind": "field",
5023
+ "name": "width",
5024
+ "type": {
5025
+ "text": "number"
5026
+ },
5027
+ "privacy": "public",
5028
+ "default": "32",
5029
+ "description": "width of the place in pixels (without unit)",
5030
+ "attribute": "width"
5031
+ },
5032
+ {
5033
+ "kind": "field",
5034
+ "name": "height",
5035
+ "type": {
5036
+ "text": "number"
5037
+ },
5038
+ "privacy": "public",
5039
+ "default": "32",
5040
+ "description": "height of the place in pixels (without unit)",
5041
+ "attribute": "height"
5042
+ },
5043
+ {
5044
+ "kind": "field",
5045
+ "name": "text",
5046
+ "type": {
5047
+ "text": "string"
5048
+ },
5049
+ "privacy": "public",
5050
+ "default": "''",
5051
+ "description": "label of the place, e.g. '1A', '2B'",
5052
+ "attribute": "text"
5053
+ },
5054
+ {
5055
+ "kind": "field",
5056
+ "name": "textRotation",
5057
+ "type": {
5058
+ "text": "number"
5059
+ },
5060
+ "privacy": "public",
5061
+ "default": "0",
5062
+ "description": "Rotation of the text in degrees (without unit)",
5063
+ "attribute": "text-rotation"
5064
+ },
5065
+ {
5066
+ "kind": "field",
5067
+ "name": "coachIndex",
5068
+ "type": {
5069
+ "text": "number"
5070
+ },
5071
+ "privacy": "public",
5072
+ "default": "null!",
5073
+ "description": "Coach Index Prop to identifier the right place to coach",
5074
+ "attribute": "coach-index"
5075
+ },
5076
+ {
5077
+ "kind": "field",
5078
+ "name": "preventClick",
5079
+ "type": {
5080
+ "text": "boolean"
5081
+ },
5082
+ "privacy": "public",
5083
+ "default": "false",
5084
+ "description": "Prevent click prop prevent any place action",
5085
+ "attribute": "prevent-click"
5086
+ },
5087
+ {
5088
+ "kind": "field",
5089
+ "name": "keyfocus",
5090
+ "type": {
5091
+ "text": "string"
5092
+ },
5093
+ "privacy": "public",
5094
+ "default": "'unfocus'",
5095
+ "description": "Set the place focus outline style",
5096
+ "attribute": "keyfocus"
5097
+ },
5098
+ {
5099
+ "kind": "field",
5100
+ "name": "placeSelected",
5101
+ "type": {
5102
+ "text": "EventEmitter<PlaceSelection>"
5103
+ },
5104
+ "privacy": "protected",
5105
+ "default": "new EventEmitter( this, SbbSeatReservationPlaceControlElement.events.selectPlace, )",
5106
+ "description": "Emits when a place was selected by user."
5107
+ },
5108
+ {
5109
+ "kind": "field",
5110
+ "name": "_language",
5111
+ "privacy": "private",
5112
+ "default": "new SbbLanguageController(this)"
5113
+ },
5114
+ {
5115
+ "kind": "method",
5116
+ "name": "_getPlaceSvg",
5117
+ "privacy": "private",
5118
+ "return": {
5119
+ "type": {
5120
+ "text": "string"
5121
+ }
5122
+ },
5123
+ "parameters": [
5124
+ {
5125
+ "name": "type",
5126
+ "type": {
5127
+ "text": "PlaceType"
5128
+ }
5129
+ },
5130
+ {
5131
+ "name": "state",
5132
+ "type": {
5133
+ "text": "PlaceState"
5134
+ }
5135
+ }
5136
+ ]
5137
+ },
5138
+ {
5139
+ "kind": "method",
5140
+ "name": "_getTitleDescriptionPlace",
5141
+ "privacy": "private",
5142
+ "return": {
5143
+ "type": {
5144
+ "text": "string"
5145
+ }
5146
+ }
5147
+ },
5148
+ {
5149
+ "kind": "method",
5150
+ "name": "_selectPlace",
5151
+ "privacy": "private",
5152
+ "return": {
5153
+ "type": {
5154
+ "text": "void"
5155
+ }
5156
+ },
5157
+ "description": "If the place selectable, we emit the placeSelection object which contains infos to the place state"
5158
+ }
5159
+ ],
5160
+ "events": [
5161
+ {
5162
+ "type": {
5163
+ "text": "CustomEvent<PlaceSelection>"
5164
+ },
5165
+ "description": "Emits when a place was selected and returns a PlaceSelection object with necessary place information",
5166
+ "name": "selectPlace"
5167
+ }
5168
+ ],
5169
+ "attributes": [
5170
+ {
5171
+ "name": "type",
5172
+ "type": {
5173
+ "text": "PlaceType"
5174
+ },
5175
+ "default": "'SEAT'",
5176
+ "description": "placeType of the place, e.g. 'SEAT', 'BICYCLE'",
5177
+ "fieldName": "placeType"
5178
+ },
5179
+ {
5180
+ "name": "state",
5181
+ "type": {
5182
+ "text": "PlaceState"
5183
+ },
5184
+ "default": "'FREE'",
5185
+ "description": "state of the place, e.g. 'FREE', 'SELECTED', 'BLOCKED'",
5186
+ "fieldName": "state"
5187
+ },
5188
+ {
5189
+ "name": "propertyIds",
5190
+ "type": {
5191
+ "text": "string[]"
5192
+ },
5193
+ "default": "[]",
5194
+ "description": "property ids of the place, to display more info about the place",
5195
+ "fieldName": "propertyIds"
5196
+ },
5197
+ {
5198
+ "name": "rotation",
5199
+ "type": {
5200
+ "text": "number"
5201
+ },
5202
+ "default": "0",
5203
+ "description": "rotation in degrees (without unit)",
5204
+ "fieldName": "rotation"
5205
+ },
5206
+ {
5207
+ "name": "width",
5208
+ "type": {
5209
+ "text": "number"
5210
+ },
5211
+ "default": "32",
5212
+ "description": "width of the place in pixels (without unit)",
5213
+ "fieldName": "width"
5214
+ },
5215
+ {
5216
+ "name": "height",
5217
+ "type": {
5218
+ "text": "number"
5219
+ },
5220
+ "default": "32",
5221
+ "description": "height of the place in pixels (without unit)",
5222
+ "fieldName": "height"
5223
+ },
5224
+ {
5225
+ "name": "text",
5226
+ "type": {
5227
+ "text": "string"
5228
+ },
5229
+ "default": "''",
5230
+ "description": "label of the place, e.g. '1A', '2B'",
5231
+ "fieldName": "text"
5232
+ },
5233
+ {
5234
+ "name": "text-rotation",
5235
+ "type": {
5236
+ "text": "number"
5237
+ },
5238
+ "default": "0",
5239
+ "description": "Rotation of the text in degrees (without unit)",
5240
+ "fieldName": "textRotation"
5241
+ },
5242
+ {
5243
+ "name": "coach-index",
5244
+ "type": {
5245
+ "text": "number"
5246
+ },
5247
+ "default": "null!",
5248
+ "description": "Coach Index Prop to identifier the right place to coach",
5249
+ "fieldName": "coachIndex"
5250
+ },
5251
+ {
5252
+ "name": "prevent-click",
5253
+ "type": {
5254
+ "text": "boolean"
5255
+ },
5256
+ "default": "false",
5257
+ "description": "Prevent click prop prevent any place action",
5258
+ "fieldName": "preventClick"
5259
+ },
5260
+ {
5261
+ "name": "keyfocus",
5262
+ "type": {
5263
+ "text": "string"
5264
+ },
5265
+ "default": "'unfocus'",
5266
+ "description": "Set the place focus outline style",
5267
+ "fieldName": "keyfocus"
5268
+ }
5269
+ ],
5270
+ "superclass": {
5271
+ "name": "SbbButtonBaseElement",
5272
+ "package": "@sbb-esta/lyne-elements/core/base-elements.js"
5273
+ },
5274
+ "tagName": "sbb-seat-reservation-place-control",
5275
+ "customElement": true
5276
+ }
5277
+ ],
5278
+ "exports": [
5279
+ {
5280
+ "kind": "js",
5281
+ "name": "SbbSeatReservationPlaceControlElement",
5282
+ "declaration": {
5283
+ "name": "SbbSeatReservationPlaceControlElement",
5284
+ "module": "seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js"
5285
+ }
5286
+ },
5287
+ {
5288
+ "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",
5314
+ "declaration": {
5315
+ "name": "mapIconToSvg",
5316
+ "module": "seat-reservation/common/mapper/icon-mapper.js"
5317
+ }
5318
+ }
5319
+ ]
5320
+ },
5321
+ {
5322
+ "kind": "javascript-module",
5323
+ "path": "seat-reservation/common/mapper/mapper.js",
5324
+ "declarations": [
5325
+ {
5326
+ "kind": "function",
5327
+ "name": "mapRawDataToSeatReservation",
5328
+ "return": {
5329
+ "type": {
5330
+ "text": "SeatReservation"
5331
+ }
5332
+ },
5333
+ "parameters": [
5334
+ {
5335
+ "name": "vehicleType",
5336
+ "type": {
5337
+ "text": "VehicleType"
5338
+ }
5339
+ }
5340
+ ],
5341
+ "description": "Map function that converts the RAW OSDM mock data into SeatReservation"
5342
+ },
5343
+ {
5344
+ "kind": "function",
5345
+ "name": "mapPlaceInfosToPlaceSelection",
5346
+ "return": {
5347
+ "type": {
5348
+ "text": ""
5349
+ }
5350
+ },
5351
+ "parameters": [
5352
+ {
5353
+ "name": "place",
5354
+ "type": {
5355
+ "text": "Place"
5356
+ }
5357
+ },
5358
+ {
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",
5378
+ "type": {
5379
+ "text": "Place"
5380
+ }
5381
+ },
5382
+ {
5383
+ "name": "coach",
5384
+ "type": {
5385
+ "text": "CoachItem"
5386
+ }
5387
+ },
5388
+ {
5389
+ "name": "coachIndex",
5390
+ "type": {
5391
+ "text": "number"
5392
+ }
5393
+ }
5394
+ ],
5395
+ "description": "Mapped information from place, coach and the coachindex to the seatReservationPlaceSelection.\nThis Object information is emitted outwards"
5396
+ },
5397
+ {
5398
+ "kind": "function",
5399
+ "name": "mapCoachInfosToCoachSelection",
5400
+ "return": {
5401
+ "type": {
5402
+ "text": ""
5403
+ }
5404
+ },
5405
+ "parameters": [
5406
+ {
5407
+ "name": "coachIndex",
5408
+ "type": {
5409
+ "text": "number"
5410
+ }
5411
+ },
5412
+ {
5413
+ "name": "coach",
5414
+ "type": {
5415
+ "text": "CoachItem"
5416
+ }
5417
+ }
5418
+ ],
5419
+ "description": "Mapped coach information to coach selection"
5420
+ }
5421
+ ],
5422
+ "exports": [
5423
+ {
5424
+ "kind": "js",
5425
+ "name": "mapRawDataToSeatReservation",
5426
+ "declaration": {
5427
+ "name": "mapRawDataToSeatReservation",
5428
+ "module": "seat-reservation/common/mapper/mapper.js"
5429
+ }
5430
+ },
5431
+ {
5432
+ "kind": "js",
5433
+ "name": "mapPlaceInfosToPlaceSelection",
5434
+ "declaration": {
5435
+ "name": "mapPlaceInfosToPlaceSelection",
5436
+ "module": "seat-reservation/common/mapper/mapper.js"
5437
+ }
5438
+ },
5439
+ {
5440
+ "kind": "js",
5441
+ "name": "mapPlaceAndCoachToSeatReservationPlaceSelection",
5442
+ "declaration": {
5443
+ "name": "mapPlaceAndCoachToSeatReservationPlaceSelection",
5444
+ "module": "seat-reservation/common/mapper/mapper.js"
5445
+ }
5446
+ },
5447
+ {
5448
+ "kind": "js",
5449
+ "name": "mapCoachInfosToCoachSelection",
5450
+ "declaration": {
5451
+ "name": "mapCoachInfosToCoachSelection",
5452
+ "module": "seat-reservation/common/mapper/mapper.js"
5453
+ }
5454
+ }
5455
+ ]
5456
+ },
5457
+ {
5458
+ "kind": "javascript-module",
5459
+ "path": "seat-reservation/common/mapper/seat-reservation-sample-data.js",
5460
+ "declarations": [
5461
+ {
5462
+ "kind": "variable",
5463
+ "name": "MOCK_COACHES_RAW_0",
5464
+ "type": {
5465
+ "text": "array"
5466
+ },
5467
+ "default": "[ { warnings: null, coachDeckLayout: { id: '80', name: 'B10(501) - not touch', dimension: { width: 58, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [ { travelClass: 'FIRST', accommodationSubType: 'BICYCLE', places: [ { number: '153', rectangle: { position: { x: 26, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '151', rectangle: { position: { x: 26, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '154', rectangle: { position: { x: 26, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'FIRST', accommodationSubType: 'BICYCLE', places: [ { number: '152', rectangle: { position: { x: 26, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'WHEELCHAIR_ICON', places: [ { number: '48', rectangle: { position: { x: 20, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '42', rectangle: { position: { x: 20, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '35', rectangle: { position: { x: 13, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 90, placeLocations: ['WINDOW'], placeProperties: ['AISLE_SEAT', 'WINDOW_SEAT'], state: 'FREE', }, { number: '37', rectangle: { position: { x: 15, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 90, placeLocations: ['WINDOW'], placeProperties: ['AISLE_SEAT', 'WINDOW_SEAT'], state: 'FREE', }, { number: '36', rectangle: { position: { x: 17, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 90, placeLocations: ['WINDOW'], placeProperties: ['AISLE_SEAT', 'WINDOW_SEAT'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '51', rectangle: { position: { x: 38, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '53', rectangle: { position: { x: 38, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '52', rectangle: { position: { x: 43, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '58', rectangle: { position: { x: 43, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '71', rectangle: { position: { x: 51, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '73', rectangle: { position: { x: 51, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '72', rectangle: { position: { x: 55, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '78', rectangle: { position: { x: 55, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, //SPECIAL TEST SET FOR EVERY POSSIBILITY { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '31', rectangle: { position: { x: 13, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'ALLOCATED', }, { number: '33', rectangle: { position: { x: 13, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['TABLE'], placeProperties: [], state: 'RESTRICTED', }, { number: '32', rectangle: { position: { x: 17, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: [], placeProperties: [], state: 'SELECTED', }, { number: '34', rectangle: { position: { x: 17, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '55', rectangle: { position: { x: 38, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '57', rectangle: { position: { x: 38, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '56', rectangle: { position: { x: 43, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '54', rectangle: { position: { x: 43, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '45', rectangle: { position: { x: 19, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 90, placeLocations: ['WINDOW'], placeProperties: ['AISLE_SEAT', 'WINDOW_SEAT'], state: 'FREE', }, { number: '47', rectangle: { position: { x: 21, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 90, placeLocations: ['WINDOW'], placeProperties: ['AISLE_SEAT', 'WINDOW_SEAT'], state: 'FREE', }, { number: '46', rectangle: { position: { x: 23, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 90, placeLocations: ['WINDOW'], placeProperties: ['AISLE_SEAT', 'WINDOW_SEAT'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '65', rectangle: { position: { x: 45, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '67', rectangle: { position: { x: 45, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '66', rectangle: { position: { x: 49, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '64', rectangle: { position: { x: 49, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '61', rectangle: { position: { x: 45, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '63', rectangle: { position: { x: 45, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '62', rectangle: { position: { x: 49, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '68', rectangle: { position: { x: 49, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '75', rectangle: { position: { x: 51, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '77', rectangle: { position: { x: 51, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '76', rectangle: { position: { x: 55, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '74', rectangle: { position: { x: 55, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, ], graphicElements: [ { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 12, height: 10, borderRadius: null, }, }, orientation: 0, type: 'DRIVER_AREA_FULL', }, { rectangle: { position: { x: 7, y: 4, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'STAIR_AREA', }, { rectangle: { position: { x: 7, y: 1, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'WIFI', }, { rectangle: { position: { x: 33, y: 0, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 22, y: 8, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'LUGGAGE_AREA', }, { rectangle: { position: { x: 28, y: 8, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TOILET_AREA', }, { rectangle: { position: { x: 33, y: 9, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 37, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 57, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_PASSAGE', }, { rectangle: { position: { x: 40, y: 4, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'PLAYGROUND_AREA', }, { rectangle: { position: { x: 28, y: 0, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TOILET_WHEELCHAIR_AREA', }, { rectangle: { position: { x: 13, y: 3, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'SKI_AREA', }, { rectangle: { position: { x: 18, y: 3, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'MULTI_FUNCTION_AREA', }, { rectangle: { position: { x: 22, y: 3, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'EASY_ACCESS_AREA', }, { rectangle: { position: { x: 33, y: 6, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'PRAM_AREA', }, ], serviceIcons: [ { rectangle: { position: { x: 40, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, { rectangle: { position: { x: 40, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, ], }, }, { warnings: null, coachDeckLayout: { id: '81', name: 'B10(501) - not touch', dimension: { width: 58, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [ { travelClass: 'SECOND', accommodationSubType: 'BICYCLE_HIGH', places: [ { number: '153', rectangle: { position: { x: 26, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '151', rectangle: { position: { x: 26, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '154', rectangle: { position: { x: 26, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '152', rectangle: { position: { x: 26, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '48', rectangle: { position: { x: 20, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '42', rectangle: { position: { x: 20, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '15', rectangle: { position: { x: 1, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '17', rectangle: { position: { x: 1, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '16', rectangle: { position: { x: 5, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '14', rectangle: { position: { x: 5, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '11', rectangle: { position: { x: 1, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '13', rectangle: { position: { x: 1, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '12', rectangle: { position: { x: 5, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '18', rectangle: { position: { x: 5, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '25', rectangle: { position: { x: 7, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '27', rectangle: { position: { x: 7, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '26', rectangle: { position: { x: 11, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '24', rectangle: { position: { x: 11, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '21', rectangle: { position: { x: 7, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '23', rectangle: { position: { x: 7, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '22', rectangle: { position: { x: 11, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '28', rectangle: { position: { x: 11, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '35', rectangle: { position: { x: 13, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '37', rectangle: { position: { x: 13, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '36', rectangle: { position: { x: 17, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '34', rectangle: { position: { x: 17, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '51', rectangle: { position: { x: 38, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '53', rectangle: { position: { x: 38, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '52', rectangle: { position: { x: 43, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '58', rectangle: { position: { x: 43, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '71', rectangle: { position: { x: 51, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '73', rectangle: { position: { x: 51, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '72', rectangle: { position: { x: 55, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '78', rectangle: { position: { x: 55, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '31', rectangle: { position: { x: 13, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '33', rectangle: { position: { x: 13, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '32', rectangle: { position: { x: 17, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '38', rectangle: { position: { x: 17, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '55', rectangle: { position: { x: 38, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '57', rectangle: { position: { x: 38, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '56', rectangle: { position: { x: 43, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '54', rectangle: { position: { x: 43, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '45', rectangle: { position: { x: 19, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '47', rectangle: { position: { x: 19, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '46', rectangle: { position: { x: 23, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '44', rectangle: { position: { x: 23, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '65', rectangle: { position: { x: 45, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '67', rectangle: { position: { x: 45, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '66', rectangle: { position: { x: 49, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '64', rectangle: { position: { x: 49, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '61', rectangle: { position: { x: 45, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '63', rectangle: { position: { x: 45, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '62', rectangle: { position: { x: 49, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '68', rectangle: { position: { x: 49, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '75', rectangle: { position: { x: 51, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '77', rectangle: { position: { x: 51, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '74', rectangle: { position: { x: 55, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, ], graphicElements: [ { rectangle: { position: { x: 33, y: 0, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 22, y: 6, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'SILENCE_AREA_ICON', }, { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COACH_PASSAGE', }, { rectangle: { position: { x: 33, y: 9, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 37, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 57, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_PASSAGE', }, { rectangle: { position: { x: 34, y: 2, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'BUSINESS', }, { rectangle: { position: { x: 34, y: 6, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'BISTRO', }, { rectangle: { position: { x: 40, y: 4, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'RESTAURANT_ICON', }, ], serviceIcons: [ { rectangle: { position: { x: 40, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 7, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, { rectangle: { position: { x: 40, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 1, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, ], }, }, { warnings: null, coachDeckLayout: { id: '82', name: 'B10(501) - not touch', dimension: { width: 46, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [ { travelClass: 'SECOND', accommodationSubType: 'BISTRO', places: [ { number: '15', rectangle: { position: { x: 1, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '17', rectangle: { position: { x: 1, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '16', rectangle: { position: { x: 5, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '14', rectangle: { position: { x: 5, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'FAMILY', places: [ { number: '11', rectangle: { position: { x: 1, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '13', rectangle: { position: { x: 1, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '12', rectangle: { position: { x: 5, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '18', rectangle: { position: { x: 5, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '25', rectangle: { position: { x: 7, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '27', rectangle: { position: { x: 7, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '26', rectangle: { position: { x: 11, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '24', rectangle: { position: { x: 11, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'WHEELCHAIR_NO_SEAT', places: [ { number: '21', rectangle: { position: { x: 7, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '23', rectangle: { position: { x: 7, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '22', rectangle: { position: { x: 11, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '28', rectangle: { position: { x: 11, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'BICYCLE_ICON', places: [ { number: '153', rectangle: { position: { x: 26, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'ALLOCATED', }, { number: '151', rectangle: { position: { x: 26, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '154', rectangle: { position: { x: 26, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'RESTRICTED', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'BICYCLE_ICON', places: [ { number: '152', rectangle: { position: { x: 26, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'SELECTED', }, ], }, { travelClass: 'FIRST', accommodationSubType: 'PRAM', places: [ { number: '48', rectangle: { position: { x: 20, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '42', rectangle: { position: { x: 20, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'FIRST', accommodationSubType: 'ANY_SEAT', places: [ { number: '35', rectangle: { position: { x: 13, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '37', rectangle: { position: { x: 13, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '36', rectangle: { position: { x: 17, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '34', rectangle: { position: { x: 17, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '51', rectangle: { position: { x: 38, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '53', rectangle: { position: { x: 38, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '52', rectangle: { position: { x: 43, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '58', rectangle: { position: { x: 43, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '31', rectangle: { position: { x: 13, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '33', rectangle: { position: { x: 13, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '32', rectangle: { position: { x: 17, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '38', rectangle: { position: { x: 17, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '55', rectangle: { position: { x: 38, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '57', rectangle: { position: { x: 38, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '56', rectangle: { position: { x: 43, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '54', rectangle: { position: { x: 43, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '45', rectangle: { position: { x: 19, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '47', rectangle: { position: { x: 19, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '46', rectangle: { position: { x: 23, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '44', rectangle: { position: { x: 23, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, ], graphicElements: [ { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COACH_PASSAGE', }, { rectangle: { position: { x: 33, y: 0, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 22, y: 8, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'LUGGAGE_AREA', }, { rectangle: { position: { x: 33, y: 9, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 45, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_WALL_NO_PASSAGE', }, ], serviceIcons: [ { rectangle: { position: { x: 40, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 7, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, { rectangle: { position: { x: 40, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 1, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, ], }, }, // CoachDeckLayout einer DRIVER_AREA mitten im Zug { warnings: null, coachDeckLayout: { id: '86', name: 'B10(501) - not touch', dimension: { width: 32, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [], graphicElements: [ { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COACH_WALL_NO_PASSAGE', }, { rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_WALL_NO_PASSAGE', }, ], serviceIcons: [], }, }, { warnings: null, coachDeckLayout: { id: '843', name: 'B10(501) - not touch', dimension: { width: 46, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [ { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '15', rectangle: { position: { x: 1, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '17', rectangle: { position: { x: 1, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '16', rectangle: { position: { x: 5, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '14', rectangle: { position: { x: 5, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '11', rectangle: { position: { x: 1, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '13', rectangle: { position: { x: 1, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '12', rectangle: { position: { x: 5, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '18', rectangle: { position: { x: 5, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '25', rectangle: { position: { x: 7, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '27', rectangle: { position: { x: 7, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '26', rectangle: { position: { x: 11, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '24', rectangle: { position: { x: 11, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '21', rectangle: { position: { x: 7, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '23', rectangle: { position: { x: 7, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '22', rectangle: { position: { x: 11, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '28', rectangle: { position: { x: 11, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'BICYCLE_ICON', places: [ { number: '153', rectangle: { position: { x: 26, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, { number: '151', rectangle: { position: { x: 26, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: ['BICYCLE_LOW'], state: 'FREE', }, { number: '154', rectangle: { position: { x: 26, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'BICYCLE_ICON', places: [ { number: '152', rectangle: { position: { x: 26, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['BICYCLE_LOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'FIRST', accommodationSubType: 'PRAM', places: [ { number: '48', rectangle: { position: { x: 20, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '42', rectangle: { position: { x: 20, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'FIRST', accommodationSubType: 'ANY_SEAT', places: [ { number: '35', rectangle: { position: { x: 13, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '37', rectangle: { position: { x: 13, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '36', rectangle: { position: { x: 17, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '34', rectangle: { position: { x: 17, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '51', rectangle: { position: { x: 38, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '53', rectangle: { position: { x: 38, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '52', rectangle: { position: { x: 43, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '58', rectangle: { position: { x: 43, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '31', rectangle: { position: { x: 13, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '33', rectangle: { position: { x: 13, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '32', rectangle: { position: { x: 17, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '38', rectangle: { position: { x: 17, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '55', rectangle: { position: { x: 38, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '57', rectangle: { position: { x: 38, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '56', rectangle: { position: { x: 43, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '54', rectangle: { position: { x: 43, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'ANY_SEAT', places: [ { number: '45', rectangle: { position: { x: 19, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '47', rectangle: { position: { x: 19, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, { number: '46', rectangle: { position: { x: 23, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: [], state: 'FREE', }, { number: '44', rectangle: { position: { x: 23, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: [], state: 'FREE', }, ], }, ], graphicElements: [ { rectangle: { position: { x: 33, y: 0, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 22, y: 8, z: 0, }, dimension: { width: 3, height: 2, borderRadius: null, }, }, orientation: 0, type: 'LUGGAGE_AREA', }, { rectangle: { position: { x: 33, y: 9, z: 0, }, dimension: { width: 4, height: 1, borderRadius: null, }, }, orientation: 90, type: 'ENTRY_EXIT', }, { rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 37, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COMPARTMENT_PASSAGE', }, { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COACH_WALL_NO_PASSAGE', }, { rectangle: { position: { x: 45, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_WALL_NO_PASSAGE', }, ], serviceIcons: [ { rectangle: { position: { x: 40, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 7, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, { rectangle: { position: { x: 40, y: 2, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'WHEELCHAIR_ICON', }, { rectangle: { position: { x: 28, y: 1, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'BICYCLE_LOW_ICON', }, ], }, }, // noch ein CoachDeckLayout einer DRIVER_AREA diesmal am Ende/Anfang des Zuges { warnings: null, coachDeckLayout: { id: '185', name: 'B10(501) - not touch', dimension: { width: 40, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [], graphicElements: [ { rectangle: { position: { x: 28, y: 0, z: 0, }, dimension: { width: 12, height: 10, borderRadius: null, }, }, orientation: 180, type: 'DRIVER_AREA_FULL', }, { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 0, type: 'COACH_WALL_NO_PASSAGE', }, ], serviceIcons: [], }, }, ]"
5468
+ },
5469
+ {
5470
+ "kind": "variable",
5471
+ "name": "MOCK_COACHES_RAW_1",
5472
+ "type": {
5473
+ "text": "array"
5474
+ },
5475
+ "default": "[ { warnings: null, coachDeckLayout: { id: '32801', name: 'WR6(501) - not touch', dimension: { width: 56, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [ { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '21', rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '22', rectangle: { position: { x: 37, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '41', rectangle: { position: { x: 39, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '42', rectangle: { position: { x: 45, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '61', rectangle: { position: { x: 47, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '62', rectangle: { position: { x: 53, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '13', rectangle: { position: { x: 31, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '14', rectangle: { position: { x: 37, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '11', rectangle: { position: { x: 31, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, { number: '12', rectangle: { position: { x: 37, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '33', rectangle: { position: { x: 39, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '34', rectangle: { position: { x: 45, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '31', rectangle: { position: { x: 39, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, { number: '32', rectangle: { position: { x: 45, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '53', rectangle: { position: { x: 47, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '51', rectangle: { position: { x: 47, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, { number: '52', rectangle: { position: { x: 53, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, ], }, ], graphicElements: [ { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 6, height: 10, borderRadius: null, }, }, orientation: 0, type: 'DRIVER_AREA_FULL', }, { rectangle: { position: { x: 55, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_WALL_NO_PASSAGE', }, { rectangle: { position: { x: 42, y: 6, z: 0, }, dimension: { width: 2, height: 4, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 50, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 34, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 34, y: 6, z: 0, }, dimension: { width: 2, height: 4, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 42, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 50, y: 6, z: 0, }, dimension: { width: 2, height: 4, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, ], serviceIcons: [ { rectangle: { position: { x: 32, y: 3, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'RESTAURANT_ICON', }, { rectangle: { position: { x: 46, y: 3, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'RESTAURANT_ICON', }, ], }, }, ]"
5476
+ },
5477
+ {
5478
+ "kind": "variable",
5479
+ "name": "MOCK_COACHES_RAW_REAL_DATA",
5480
+ "type": {
5481
+ "text": "array"
5482
+ },
5483
+ "default": "[ { notifications: [], coachDeckLayout: { name: '65200', dimension: { width: 64, height: 10, }, lowFloorEntry: true, id: '30802', deckLevel: 'LOWER_DECK', placeGroups: [ { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '15', rectangle: { position: { x: 14, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '11', rectangle: { position: { x: 14, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '16', rectangle: { position: { x: 17, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '14', rectangle: { position: { x: 17, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '12', rectangle: { position: { x: 17, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '25', rectangle: { position: { x: 20, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '26', rectangle: { position: { x: 24, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '23', rectangle: { position: { x: 20, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '24', rectangle: { position: { x: 24, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '21', rectangle: { position: { x: 20, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '22', rectangle: { position: { x: 24, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '35', rectangle: { position: { x: 27, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '33', rectangle: { position: { x: 27, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '31', rectangle: { position: { x: 27, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '36', rectangle: { position: { x: 30, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '34', rectangle: { position: { x: 30, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '32', rectangle: { position: { x: 30, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '46', rectangle: { position: { x: 33, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '44', rectangle: { position: { x: 33, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '42', rectangle: { position: { x: 33, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '55', rectangle: { position: { x: 44, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '56', rectangle: { position: { x: 49, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '53', rectangle: { position: { x: 44, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '54', rectangle: { position: { x: 49, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '52', rectangle: { position: { x: 48, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '65', rectangle: { position: { x: 51, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '66', rectangle: { position: { x: 55, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '63', rectangle: { position: { x: 51, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '61', rectangle: { position: { x: 51, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '62', rectangle: { position: { x: 55, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '75', rectangle: { position: { x: 57, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '76', rectangle: { position: { x: 61, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '71', rectangle: { position: { x: 57, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '72', rectangle: { position: { x: 61, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, ], graphicElements: [ { rectangle: { position: { x: 0, y: 1, z: 0, }, dimension: { width: 13, height: 8, borderRadius: { topLeft: 3, topRight: 0, bottomRight: 0, bottomLeft: 3, }, }, }, orientation: 0, type: 'DRIVER_AREA', }, { rectangle: { position: { x: 36, y: 0, z: 0, }, dimension: { width: 2, height: 4, }, }, orientation: 0, type: 'LUGGAGE_AREA', }, { rectangle: { position: { x: 44, y: 8, z: 0, }, dimension: { width: 4, height: 2, }, }, orientation: 0, type: 'LUGGAGE_AREA', }, { rectangle: { position: { x: 39, y: 0, z: 0, }, dimension: { width: 4, height: 1, }, }, orientation: 0, type: 'ENTRANCE', }, { rectangle: { position: { x: 38, y: 1, z: 0, }, dimension: { width: 1, height: 4, }, }, orientation: 0, type: 'WALL', }, { rectangle: { position: { x: 38, y: 7, z: 0, }, dimension: { width: 1, height: 2, }, }, orientation: 0, type: 'WALL', }, { rectangle: { position: { x: 43, y: 1, z: 0, }, dimension: { width: 1, height: 4, }, }, orientation: 0, type: 'WALL', }, { rectangle: { position: { x: 43, y: 7, z: 0, }, dimension: { width: 1, height: 2, }, }, orientation: 0, type: 'WALL', }, ], serviceIcons: [ { rectangle: { position: { x: 47, y: 4, z: 0, }, dimension: { width: 1, height: 1, }, }, type: 'WHEELCHAIR_ICON', }, ], }, }, ]",
5484
+ "description": "taken from json provided by VAKE;\nAttention: <b>all the type information does not reflect our assumptions</b> and the data was\nmanuelly adjusted."
5485
+ }
5486
+ ],
5487
+ "exports": [
5488
+ {
5489
+ "kind": "js",
5490
+ "name": "MOCK_COACHES_RAW_0",
5491
+ "declaration": {
5492
+ "name": "MOCK_COACHES_RAW_0",
5493
+ "module": "seat-reservation/common/mapper/seat-reservation-sample-data.js"
5494
+ }
5495
+ },
5496
+ {
5497
+ "kind": "js",
5498
+ "name": "MOCK_COACHES_RAW_1",
5499
+ "declaration": {
5500
+ "name": "MOCK_COACHES_RAW_1",
5501
+ "module": "seat-reservation/common/mapper/seat-reservation-sample-data.js"
5502
+ }
5503
+ },
5504
+ {
5505
+ "kind": "js",
5506
+ "name": "MOCK_COACHES_RAW_REAL_DATA",
5507
+ "declaration": {
5508
+ "name": "MOCK_COACHES_RAW_REAL_DATA",
5509
+ "module": "seat-reservation/common/mapper/seat-reservation-sample-data.js"
5510
+ }
5511
+ }
5512
+ ]
5513
+ },
5514
+ {
5515
+ "kind": "javascript-module",
5516
+ "path": "seat-reservation/common/translations/i18n.js",
5517
+ "declarations": [
5518
+ {
5519
+ "kind": "function",
5520
+ "name": "getI18nSeatReservation",
5521
+ "return": {
5522
+ "type": {
5523
+ "text": "string"
5524
+ }
5525
+ },
5526
+ "parameters": [
5527
+ {
5528
+ "name": "key",
5529
+ "type": {
5530
+ "text": "string"
5531
+ }
5532
+ },
5533
+ {
5534
+ "name": "language",
5535
+ "type": {
5536
+ "text": "string"
5537
+ }
5538
+ },
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
+ {
5571
+ "kind": "field",
5572
+ "name": "insetBlockStart",
5573
+ "type": {
5574
+ "text": "string"
5575
+ },
5576
+ "privacy": "public",
5577
+ "default": "''",
5578
+ "description": "Inset block start in pixels (without unit)",
5579
+ "attribute": "inset-block-start"
5580
+ },
5581
+ {
5582
+ "kind": "field",
5583
+ "name": "insetInlineStart",
5584
+ "type": {
5585
+ "text": "string"
5586
+ },
5587
+ "privacy": "public",
5588
+ "default": "''",
5589
+ "description": "Inset inline start in pixels (without unit)",
5590
+ "attribute": "inset-inline-start"
5591
+ },
5592
+ {
5593
+ "kind": "field",
5594
+ "name": "width",
5595
+ "type": {
5596
+ "text": "string"
5597
+ },
5598
+ "privacy": "public",
5599
+ "default": "''",
5600
+ "description": "Width of the scoped element in pixels (without unit)",
5601
+ "attribute": "width"
5602
+ },
5603
+ {
5604
+ "kind": "field",
5605
+ "name": "height",
5606
+ "type": {
5607
+ "text": "string"
5608
+ },
5609
+ "privacy": "public",
5610
+ "default": "''",
5611
+ "description": "Height of the scoped element in pixels (without unit)",
5612
+ "attribute": "height"
5613
+ },
5614
+ {
5615
+ "kind": "field",
5616
+ "name": "zIndex",
5617
+ "type": {
5618
+ "text": "string"
5619
+ },
5620
+ "privacy": "public",
5621
+ "default": "''",
5622
+ "description": "Z-index of the scoped element",
5623
+ "attribute": "z-index"
5624
+ },
5625
+ {
5626
+ "kind": "field",
5627
+ "name": "cellId",
5628
+ "type": {
5629
+ "text": "string"
5630
+ },
5631
+ "privacy": "public",
5632
+ "default": "''",
5633
+ "description": "Cell id of the scoped element, if it is used in a table",
5634
+ "attribute": "cell-id"
5635
+ },
5636
+ {
5637
+ "kind": "field",
5638
+ "name": "scopedClasses",
5639
+ "type": {
5640
+ "text": "string"
5641
+ },
5642
+ "privacy": "public",
5643
+ "default": "''",
5644
+ "description": "Scoped classes for the scoped element",
5645
+ "attribute": "scoped-classes"
5646
+ }
5647
+ ],
5648
+ "attributes": [
5649
+ {
5650
+ "name": "inset-block-start",
5651
+ "type": {
5652
+ "text": "string"
5653
+ },
5654
+ "default": "''",
5655
+ "description": "Inset block start in pixels (without unit)",
5656
+ "fieldName": "insetBlockStart"
5657
+ },
5658
+ {
5659
+ "name": "inset-inline-start",
5660
+ "type": {
5661
+ "text": "string"
5662
+ },
5663
+ "default": "''",
5664
+ "description": "Inset inline start in pixels (without unit)",
5665
+ "fieldName": "insetInlineStart"
5666
+ },
5667
+ {
5668
+ "name": "width",
5669
+ "type": {
5670
+ "text": "string"
5671
+ },
5672
+ "default": "''",
5673
+ "description": "Width of the scoped element in pixels (without unit)",
5674
+ "fieldName": "width"
5675
+ },
5676
+ {
5677
+ "name": "height",
5678
+ "type": {
5679
+ "text": "string"
5680
+ },
5681
+ "default": "''",
5682
+ "description": "Height of the scoped element in pixels (without unit)",
5683
+ "fieldName": "height"
5684
+ },
5685
+ {
5686
+ "name": "z-index",
5687
+ "type": {
5688
+ "text": "string"
5689
+ },
5690
+ "default": "''",
5691
+ "description": "Z-index of the scoped element",
5692
+ "fieldName": "zIndex"
5693
+ },
5694
+ {
5695
+ "name": "cell-id",
5696
+ "type": {
5697
+ "text": "string"
5698
+ },
5699
+ "default": "''",
5700
+ "description": "Cell id of the scoped element, if it is used in a table",
5701
+ "fieldName": "cellId"
5702
+ },
5703
+ {
5704
+ "name": "scoped-classes",
5705
+ "type": {
5706
+ "text": "string"
5707
+ },
5708
+ "default": "''",
5709
+ "description": "Scoped classes for the scoped element",
5710
+ "fieldName": "scopedClasses"
5711
+ }
5712
+ ],
5713
+ "superclass": {
5714
+ "name": "LitElement",
5715
+ "package": "lit"
5716
+ },
5717
+ "tagName": "sbb-seat-reservation-scoped",
5718
+ "customElement": true
5719
+ }
5720
+ ],
5721
+ "exports": [
5722
+ {
5723
+ "kind": "js",
5724
+ "name": "SbbSeatReservationScopedElement",
5725
+ "declaration": {
5726
+ "name": "SbbSeatReservationScopedElement",
5727
+ "module": "seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js"
5728
+ }
5729
+ },
5730
+ {
5731
+ "kind": "custom-element-definition",
5732
+ "name": "sbb-seat-reservation-scoped",
5733
+ "declaration": {
5734
+ "name": "SbbSeatReservationScopedElement",
5735
+ "module": "seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js"
5736
+ }
5737
+ }
5738
+ ]
5739
+ },
5740
+ {
5741
+ "kind": "javascript-module",
5742
+ "path": "seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js",
5743
+ "declarations": [
5744
+ {
5745
+ "kind": "class",
5746
+ "description": "This component will display the navigation coach item for Seat reservation.",
5747
+ "name": "SbbSeatReservationNavigationCoachElement",
5748
+ "members": [
5749
+ {
5750
+ "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",
5763
+ "type": {
5764
+ "text": "string"
5765
+ },
5766
+ "privacy": "public",
5767
+ "default": "''",
5768
+ "description": "Coach ID, which is used to identify the coach in the navigation",
5769
+ "attribute": "coach-id"
5770
+ },
5771
+ {
5772
+ "kind": "field",
5773
+ "name": "propertyIds",
5774
+ "type": {
5775
+ "text": "string[]"
5776
+ },
5777
+ "privacy": "public",
5778
+ "default": "[]",
5779
+ "description": "Coach service property ids, which are used to display the services in the navigation",
5780
+ "attribute": "property-ids"
5781
+ },
5782
+ {
5783
+ "kind": "field",
5784
+ "name": "selected",
5785
+ "type": {
5786
+ "text": "boolean"
5787
+ },
5788
+ "privacy": "public",
5789
+ "default": "false",
5790
+ "attribute": "selected"
5791
+ },
5792
+ {
5793
+ "kind": "field",
5794
+ "name": "focused",
5795
+ "type": {
5796
+ "text": "boolean"
5797
+ },
5798
+ "privacy": "public",
5799
+ "default": "false",
5800
+ "attribute": "focused"
5801
+ },
5802
+ {
5803
+ "kind": "field",
5804
+ "name": "index",
5805
+ "type": {
5806
+ "text": "number"
5807
+ },
5808
+ "privacy": "public",
5809
+ "default": "0",
5810
+ "attribute": "index"
5811
+ },
5812
+ {
5813
+ "kind": "field",
5814
+ "name": "travelClass",
5815
+ "type": {
5816
+ "text": "PlaceTravelClass[]"
5817
+ },
5818
+ "privacy": "public",
5819
+ "default": "['ANY_CLASS']",
5820
+ "description": "Travel class of the coach",
5821
+ "attribute": "travel-class"
5822
+ },
5823
+ {
5824
+ "kind": "field",
5825
+ "name": "driverArea",
5826
+ "type": {
5827
+ "text": "boolean"
5828
+ },
5829
+ "privacy": "public",
5830
+ "default": "false",
5831
+ "description": "If the coach is a driver/restricted area",
5832
+ "attribute": "driver-area"
5833
+ },
5834
+ {
5835
+ "kind": "field",
5836
+ "name": "first",
5837
+ "type": {
5838
+ "text": "boolean"
5839
+ },
5840
+ "privacy": "public",
5841
+ "default": "false",
5842
+ "description": "If the coach is the first in the navigation",
5843
+ "attribute": "first"
5844
+ },
5845
+ {
5846
+ "kind": "field",
5847
+ "name": "last",
5848
+ "type": {
5849
+ "text": "boolean"
5850
+ },
5851
+ "privacy": "public",
5852
+ "default": "false",
5853
+ "description": "If the coach is the last in the navigation",
5854
+ "attribute": "last"
5855
+ },
5856
+ {
5857
+ "kind": "field",
5858
+ "name": "disable",
5859
+ "type": {
5860
+ "text": "boolean"
5861
+ },
5862
+ "privacy": "public",
5863
+ "default": "false",
5864
+ "description": "Disable the coach navigation",
5865
+ "attribute": "disable"
5866
+ },
5867
+ {
5868
+ "kind": "field",
5869
+ "name": "vertical",
5870
+ "type": {
5871
+ "text": "boolean"
5872
+ },
5873
+ "privacy": "public",
5874
+ "default": "false",
5875
+ "description": "If the coach navigation should be displayed vertically",
5876
+ "attribute": "vertical"
5877
+ },
5878
+ {
5879
+ "kind": "field",
5880
+ "name": "_language",
5881
+ "privacy": "private",
5882
+ "default": "new SbbLanguageController(this)"
5883
+ },
5884
+ {
5885
+ "kind": "field",
5886
+ "name": "selectNavCoach",
5887
+ "type": {
5888
+ "text": "EventEmitter<SelectCoachEventDetails>"
5889
+ },
5890
+ "privacy": "protected",
5891
+ "default": "new EventEmitter( this, SbbSeatReservationNavigationCoachElement.events.selectCoach, )",
5892
+ "description": "Emits when a coach within the navigation was selected"
5893
+ },
5894
+ {
5895
+ "kind": "field",
5896
+ "name": "focusNavCoach",
5897
+ "type": {
5898
+ "text": "EventEmitter<void>"
5899
+ },
5900
+ "privacy": "protected",
5901
+ "default": "new EventEmitter( this, SbbSeatReservationNavigationCoachElement.events.focusCoach, )"
5902
+ },
5903
+ {
5904
+ "kind": "method",
5905
+ "name": "_getNavigationButton",
5906
+ "privacy": "private",
5907
+ "return": {
5908
+ "type": {
5909
+ "text": "TemplateResult | null"
5910
+ }
5911
+ }
5912
+ },
5913
+ {
5914
+ "kind": "method",
5915
+ "name": "_getBtnInformation",
5916
+ "privacy": "private",
5917
+ "return": {
5918
+ "type": {
5919
+ "text": "TemplateResult | null"
5920
+ }
5921
+ },
5922
+ "parameters": [
5923
+ {
5924
+ "name": "serviceClassNumber",
5925
+ "type": {
5926
+ "text": "number | null"
5927
+ }
5928
+ }
5929
+ ]
5930
+ },
5931
+ {
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
+ }
5986
+ }
5987
+ }
5988
+ ],
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"
6003
+ }
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
+ },
6024
+ {
6025
+ "name": "selected",
6026
+ "type": {
6027
+ "text": "boolean"
6028
+ },
6029
+ "default": "false",
6030
+ "fieldName": "selected"
6031
+ },
6032
+ {
6033
+ "name": "focused",
6034
+ "type": {
6035
+ "text": "boolean"
6036
+ },
6037
+ "default": "false",
6038
+ "fieldName": "focused"
6039
+ },
6040
+ {
6041
+ "name": "index",
6042
+ "type": {
6043
+ "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
+ },
6084
+ {
6085
+ "name": "disable",
6086
+ "type": {
6087
+ "text": "boolean"
6088
+ },
6089
+ "default": "false",
6090
+ "description": "Disable the coach navigation",
6091
+ "fieldName": "disable"
6092
+ },
6093
+ {
6094
+ "name": "vertical",
6095
+ "type": {
6096
+ "text": "boolean"
6097
+ },
6098
+ "default": "false",
6099
+ "description": "If the coach navigation should be displayed vertically",
6100
+ "fieldName": "vertical"
6101
+ }
6102
+ ],
6103
+ "superclass": {
6104
+ "name": "LitElement",
6105
+ "package": "lit"
6106
+ },
6107
+ "tagName": "sbb-seat-reservation-navigation-coach",
6108
+ "customElement": true
6109
+ }
6110
+ ],
6111
+ "exports": [
6112
+ {
6113
+ "kind": "js",
6114
+ "name": "SbbSeatReservationNavigationCoachElement",
6115
+ "declaration": {
6116
+ "name": "SbbSeatReservationNavigationCoachElement",
6117
+ "module": "seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js"
6118
+ }
6119
+ },
6120
+ {
6121
+ "kind": "custom-element-definition",
6122
+ "name": "sbb-seat-reservation-navigation-coach",
6123
+ "declaration": {
6124
+ "name": "SbbSeatReservationNavigationCoachElement",
6125
+ "module": "seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js"
6126
+ }
6127
+ }
6128
+ ]
6129
+ },
6130
+ {
6131
+ "kind": "javascript-module",
6132
+ "path": "seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js",
6133
+ "declarations": [
6134
+ {
6135
+ "kind": "class",
6136
+ "description": "Component displays the available service icons of one coach.",
6137
+ "name": "SbbSeatReservationNavigationServicesElement",
6138
+ "members": [
6139
+ {
6140
+ "kind": "field",
6141
+ "name": "propertyIds",
6142
+ "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"
6149
+ },
6150
+ {
6151
+ "kind": "field",
6152
+ "name": "vertical",
6153
+ "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
+ }
6175
+ }
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
+ },
6188
+ {
6189
+ "name": "vertical",
6190
+ "type": {
6191
+ "text": "boolean"
6192
+ },
6193
+ "default": "false",
6194
+ "description": "If true, the service icons are displayed vertically",
6195
+ "fieldName": "vertical"
6196
+ }
6197
+ ],
6198
+ "superclass": {
6199
+ "name": "LitElement",
6200
+ "package": "lit"
6201
+ },
6202
+ "tagName": "sbb-seat-reservation-navigation-services",
6203
+ "customElement": true
6204
+ }
6205
+ ],
6206
+ "exports": [
6207
+ {
6208
+ "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",
6218
+ "declaration": {
6219
+ "name": "SbbSeatReservationNavigationServicesElement",
6220
+ "module": "seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js"
6221
+ }
6222
+ }
6223
+ ]
1867
6224
  }
1868
6225
  ]
1869
6226
  }