@sbb-esta/lyne-elements-experimental 2.10.0 → 2.11.0

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