@sbb-esta/lyne-elements-experimental-dev 4.7.0-dev.1773333596 → 4.7.0-dev.1773388997

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 (199) hide show
  1. package/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +65 -76
  2. package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +72 -52
  3. package/autocomplete-grid/autocomplete-grid-button.js +3 -6
  4. package/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +2 -17
  5. package/autocomplete-grid/autocomplete-grid-cell.js +4 -7
  6. package/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js +20 -21
  7. package/autocomplete-grid/autocomplete-grid-optgroup.js +3 -6
  8. package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +2 -33
  9. package/autocomplete-grid/autocomplete-grid-option.js +4 -9
  10. package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +2 -22
  11. package/autocomplete-grid/autocomplete-grid-row.js +4 -7
  12. package/autocomplete-grid/autocomplete-grid.js +3 -6
  13. package/autocomplete-grid-cell.component-Dak9wlBr.js +24 -0
  14. package/autocomplete-grid-option.component-DNRFHOwc.js +37 -0
  15. package/autocomplete-grid-row.component-DBHZQ0GQ.js +27 -0
  16. package/autocomplete-grid.js +9 -21
  17. package/autocomplete-grid.pure.js +7 -15
  18. package/core/datetime/date-helper.js +2 -191
  19. package/core/datetime.js +2 -5
  20. package/core/timetable/access-leg-helper.js +76 -71
  21. package/core/timetable/timetable-helper.js +9 -11
  22. package/core/timetable/timetable-properties.js +0 -1
  23. package/core/timetable.js +3 -7
  24. package/date-helper-CGproP5d.js +185 -0
  25. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +114 -122
  26. package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +92 -70
  27. package/development/autocomplete-grid/autocomplete-grid-button.js +6 -4
  28. package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +2 -29
  29. package/development/autocomplete-grid/autocomplete-grid-cell.js +7 -5
  30. package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js +27 -22
  31. package/development/autocomplete-grid/autocomplete-grid-optgroup.js +6 -4
  32. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +2 -109
  33. package/development/autocomplete-grid/autocomplete-grid-option.js +7 -7
  34. package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +2 -91
  35. package/development/autocomplete-grid/autocomplete-grid-row.js +7 -5
  36. package/development/autocomplete-grid/autocomplete-grid.js +6 -4
  37. package/development/autocomplete-grid-cell.component-BBvM4o2H.js +42 -0
  38. package/development/autocomplete-grid-option.component-QzfM5eIE.js +123 -0
  39. package/development/autocomplete-grid-row.component-H8sCTCkT.js +104 -0
  40. package/development/autocomplete-grid.js +10 -14
  41. package/development/autocomplete-grid.pure.js +4 -13
  42. package/development/core/datetime/date-helper.js +2 -285
  43. package/development/core/datetime.js +2 -6
  44. package/development/core/timetable/access-leg-helper.js +104 -82
  45. package/development/core/timetable/timetable-helper.js +16 -17
  46. package/development/core/timetable/timetable-properties.js +0 -2
  47. package/development/core/timetable.js +3 -8
  48. package/development/date-helper-8_Y-PuHh.js +520 -0
  49. package/development/differenceInMinutes-DN_1Rk3O.js +110 -0
  50. package/development/format-Bbrn2bgo.js +1848 -0
  51. package/development/isValid-C-HzKv4v.js +178 -0
  52. package/development/journey-summary/journey-summary.component.js +2 -288
  53. package/development/journey-summary.component-uGhZvA4p.js +385 -0
  54. package/development/journey-summary.js +8 -5
  55. package/development/journey-summary.pure.js +2 -5
  56. package/development/pearl-chain/pearl-chain.component.js +2 -634
  57. package/development/pearl-chain-time/pearl-chain-time.component.js +2 -306
  58. package/development/pearl-chain-time.component-B8mayTWD.js +415 -0
  59. package/development/pearl-chain-time.js +8 -5
  60. package/development/pearl-chain-time.pure.js +2 -5
  61. package/development/pearl-chain-vertical/pearl-chain-vertical.component.js +2 -28
  62. package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +2 -393
  63. package/development/pearl-chain-vertical-item.component-BDzbcIaf.js +435 -0
  64. package/development/pearl-chain-vertical-item.js +8 -5
  65. package/development/pearl-chain-vertical-item.pure.js +2 -5
  66. package/development/pearl-chain-vertical.component-CswE7b3M.js +39 -0
  67. package/development/pearl-chain-vertical.js +8 -5
  68. package/development/pearl-chain-vertical.pure.js +2 -5
  69. package/development/pearl-chain.component-wpsTvoSe.js +704 -0
  70. package/development/pearl-chain.js +8 -5
  71. package/development/pearl-chain.pure.js +2 -5
  72. package/development/seat-reservation/common/mapper/icon-mapper.js +168 -71
  73. package/development/seat-reservation/common/mapper/mapper.js +153 -122
  74. package/development/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-bus.js +570 -559
  75. package/development/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-decks.js +992 -972
  76. package/development/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-giruno.js +20334 -20367
  77. package/development/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-others.js +1731 -1738
  78. package/development/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-train.js +9741 -9782
  79. package/development/seat-reservation/common/mapper.js +1 -8
  80. package/development/seat-reservation/common/svgs.js +2 -46
  81. package/development/seat-reservation/common/translations/i18n.js +1118 -900
  82. package/development/seat-reservation/common/translations.js +1 -4
  83. package/development/seat-reservation/common/types.js +0 -2
  84. package/development/seat-reservation/common.js +7 -11
  85. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.js +1305 -1230
  86. package/development/seat-reservation/seat-reservation/seat-reservation.component.js +2 -859
  87. package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +2 -106
  88. package/development/seat-reservation/seat-reservation-area.js +7 -5
  89. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-assets.js +35 -34
  90. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +2 -162
  91. package/development/seat-reservation/seat-reservation-graphic.js +7 -5
  92. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +2 -713
  93. package/development/seat-reservation/seat-reservation-navigation-coach.js +7 -5
  94. package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +2 -131
  95. package/development/seat-reservation/seat-reservation-navigation-services.js +7 -5
  96. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +2 -601
  97. package/development/seat-reservation/seat-reservation-place-control.js +7 -5
  98. package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js +2 -22
  99. package/development/seat-reservation/seat-reservation-scoped.js +7 -5
  100. package/development/seat-reservation/seat-reservation.js +7 -6
  101. package/development/seat-reservation-area.component-BK92ZtFo.js +138 -0
  102. package/development/seat-reservation-graphic.component-cUnsHh5x.js +193 -0
  103. package/development/seat-reservation-navigation-coach.component-D6Bglus8.js +828 -0
  104. package/development/seat-reservation-navigation-services.component-DYJ6Ddkg.js +179 -0
  105. package/development/seat-reservation-place-control.component-Bg9evKBW.js +726 -0
  106. package/development/seat-reservation-scoped.component-DRQ_I702.js +31 -0
  107. package/development/seat-reservation.component-Cq_aJKR0.js +818 -0
  108. package/development/seat-reservation.js +15 -28
  109. package/development/seat-reservation.pure.js +10 -28
  110. package/development/svgs-C3JMWR26.js +28 -0
  111. package/development/timetable-duration/timetable-duration.component.js +2 -108
  112. package/development/timetable-duration.component-DI0lET17.js +125 -0
  113. package/development/timetable-duration.js +8 -5
  114. package/development/timetable-duration.pure.js +2 -5
  115. package/development/timetable-row/timetable-row.component.js +2 -781
  116. package/development/timetable-row.component-CAED6Zwc.js +932 -0
  117. package/development/timetable-row.js +8 -13
  118. package/development/timetable-row.pure.js +2 -12
  119. package/development/toDate-Biiv3kyf.js +150 -0
  120. package/differenceInMinutes-Dr9gRqtu.js +27 -0
  121. package/format-CM5exOsN.js +1103 -0
  122. package/isValid-B9oVW3lA.js +36 -0
  123. package/journey-summary/journey-summary.component.js +2 -194
  124. package/journey-summary.component-Cq_4kaOp.js +264 -0
  125. package/journey-summary.js +5 -4
  126. package/journey-summary.pure.js +2 -4
  127. package/package.json +2 -2
  128. package/pearl-chain/pearl-chain.component.js +2 -165
  129. package/pearl-chain-time/pearl-chain-time.component.js +2 -157
  130. package/pearl-chain-time.component-DGDW5S1c.js +239 -0
  131. package/pearl-chain-time.js +5 -4
  132. package/pearl-chain-time.pure.js +2 -4
  133. package/pearl-chain-vertical/pearl-chain-vertical.component.js +2 -17
  134. package/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +2 -77
  135. package/pearl-chain-vertical-item.component-G22bWhLU.js +108 -0
  136. package/pearl-chain-vertical-item.js +5 -4
  137. package/pearl-chain-vertical-item.pure.js +2 -4
  138. package/pearl-chain-vertical.component-CXIDT5RD.js +21 -0
  139. package/pearl-chain-vertical.js +5 -4
  140. package/pearl-chain-vertical.pure.js +2 -4
  141. package/pearl-chain.component-DmjkVIva.js +194 -0
  142. package/pearl-chain.js +5 -4
  143. package/pearl-chain.pure.js +2 -4
  144. package/seat-reservation/common/mapper/icon-mapper.js +71 -71
  145. package/seat-reservation/common/mapper/mapper.js +95 -89
  146. package/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-bus.js +568 -558
  147. package/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-decks.js +989 -970
  148. package/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-giruno.js +20332 -20366
  149. package/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-others.js +1729 -1737
  150. package/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-train.js +9739 -9781
  151. package/seat-reservation/common/mapper.js +3 -9
  152. package/seat-reservation/common/svgs.js +2 -243
  153. package/seat-reservation/common/translations/i18n.js +1084 -891
  154. package/seat-reservation/common/translations.js +2 -4
  155. package/seat-reservation/common/types.js +0 -1
  156. package/seat-reservation/common.js +9 -15
  157. package/seat-reservation/seat-reservation/seat-reservation-base-element.js +832 -810
  158. package/seat-reservation/seat-reservation/seat-reservation.component.js +2 -420
  159. package/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +2 -51
  160. package/seat-reservation/seat-reservation-area.js +4 -7
  161. package/seat-reservation/seat-reservation-graphic/seat-reservation-assets.js +68 -71
  162. package/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +2 -75
  163. package/seat-reservation/seat-reservation-graphic.js +4 -7
  164. package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +2 -234
  165. package/seat-reservation/seat-reservation-navigation-coach.js +4 -7
  166. package/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +2 -85
  167. package/seat-reservation/seat-reservation-navigation-services.js +4 -7
  168. package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +2 -203
  169. package/seat-reservation/seat-reservation-place-control.js +4 -7
  170. package/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js +2 -13
  171. package/seat-reservation/seat-reservation-scoped.js +4 -7
  172. package/seat-reservation/seat-reservation.js +5 -9
  173. package/seat-reservation-area.component-n-9rGn_y.js +75 -0
  174. package/seat-reservation-graphic.component-YTXRmKt0.js +102 -0
  175. package/seat-reservation-navigation-coach.component-YJ0vaYmO.js +333 -0
  176. package/seat-reservation-navigation-services.component-C3xnLJg2.js +127 -0
  177. package/seat-reservation-place-control.component-DmBAfM6K.js +322 -0
  178. package/seat-reservation-scoped.component-DPkz6u17.js +17 -0
  179. package/seat-reservation.component-C_anMkgw.js +364 -0
  180. package/seat-reservation.js +17 -39
  181. package/seat-reservation.pure.js +15 -32
  182. package/svgs-D9arBcqr.js +26 -0
  183. package/timetable-duration/timetable-duration.component.js +2 -57
  184. package/timetable-duration.component-DCu8Phts.js +65 -0
  185. package/timetable-duration.js +5 -4
  186. package/timetable-duration.pure.js +2 -4
  187. package/timetable-row/timetable-row.component.js +2 -427
  188. package/timetable-row.component-BVRCB3xK.js +559 -0
  189. package/timetable-row.js +6 -13
  190. package/timetable-row.pure.js +2 -11
  191. package/toDate-p-Tpkb7t.js +16 -0
  192. package/development/differenceInMinutes-B0dawX-5.js +0 -26
  193. package/development/format-BMkeaqaF.js +0 -1433
  194. package/development/isValid-BYRch7pV.js +0 -53
  195. package/development/toDate-BWb6Z1JD.js +0 -24
  196. package/differenceInMinutes-COvvdYsJ.js +0 -23
  197. package/format-CmKROkbc.js +0 -1186
  198. package/isValid-m3_OsPaB.js +0 -45
  199. package/toDate-Bw2KTWeq.js +0 -15
@@ -1,970 +1,989 @@
1
- const e = [
2
- {
3
- warnings: null,
4
- coachDeckLayout: {
5
- id: "32801",
6
- name: "WR6(501) - not touch",
7
- dimension: {
8
- width: 56,
9
- height: 10,
10
- borderRadius: null
11
- },
12
- lowFloorEntry: !1,
13
- deckLevel: "LOWER_DECK",
14
- placeGroups: [
15
- {
16
- travelClass: "SECOND",
17
- accommodationSubType: "RESTAURANT",
18
- places: [
19
- {
20
- number: "21",
21
- rectangle: {
22
- position: {
23
- x: 31,
24
- y: 0,
25
- z: 0
26
- },
27
- dimension: {
28
- width: 2,
29
- height: 2,
30
- borderRadius: null
31
- }
32
- },
33
- orientation: 0,
34
- placeLocations: ["WINDOW"],
35
- placeProperties: ["WINDOW_SEAT", "AISLE_SEAT", "TABLE"],
36
- state: "FREE"
37
- },
38
- {
39
- number: "22",
40
- rectangle: {
41
- position: {
42
- x: 37,
43
- y: 0,
44
- z: 0
45
- },
46
- dimension: {
47
- width: 2,
48
- height: 2,
49
- borderRadius: null
50
- }
51
- },
52
- orientation: 180,
53
- placeLocations: ["WINDOW"],
54
- placeProperties: ["WINDOW_SEAT", "AISLE_SEAT", "TABLE"],
55
- state: "FREE"
56
- }
57
- ]
58
- },
59
- {
60
- travelClass: "SECOND",
61
- accommodationSubType: "RESTAURANT",
62
- places: [
63
- {
64
- number: "41",
65
- rectangle: {
66
- position: {
67
- x: 39,
68
- y: 0,
69
- z: 0
70
- },
71
- dimension: {
72
- width: 2,
73
- height: 2,
74
- borderRadius: null
75
- }
76
- },
77
- orientation: 0,
78
- placeLocations: ["WINDOW"],
79
- placeProperties: ["WINDOW_SEAT", "AISLE_SEAT", "TABLE"],
80
- state: "FREE"
81
- },
82
- {
83
- number: "42",
84
- rectangle: {
85
- position: {
86
- x: 45,
87
- y: 0,
88
- z: 0
89
- },
90
- dimension: {
91
- width: 2,
92
- height: 2,
93
- borderRadius: null
94
- }
95
- },
96
- orientation: 180,
97
- placeLocations: ["WINDOW"],
98
- placeProperties: ["WINDOW_SEAT", "AISLE_SEAT", "TABLE"],
99
- state: "FREE"
100
- }
101
- ]
102
- },
103
- {
104
- travelClass: "SECOND",
105
- accommodationSubType: "RESTAURANT",
106
- places: [
107
- {
108
- number: "61",
109
- rectangle: {
110
- position: {
111
- x: 47,
112
- y: 0,
113
- z: 0
114
- },
115
- dimension: {
116
- width: 2,
117
- height: 2,
118
- borderRadius: null
119
- }
120
- },
121
- orientation: 0,
122
- placeLocations: ["WINDOW"],
123
- placeProperties: ["WINDOW_SEAT", "AISLE_SEAT", "TABLE"],
124
- state: "FREE"
125
- },
126
- {
127
- number: "62",
128
- rectangle: {
129
- position: {
130
- x: 53,
131
- y: 0,
132
- z: 0
133
- },
134
- dimension: {
135
- width: 2,
136
- height: 2,
137
- borderRadius: null
138
- }
139
- },
140
- orientation: 180,
141
- placeLocations: ["WINDOW"],
142
- placeProperties: ["WINDOW_SEAT", "AISLE_SEAT", "TABLE"],
143
- state: "FREE"
144
- }
145
- ]
146
- },
147
- {
148
- travelClass: "SECOND",
149
- accommodationSubType: "RESTAURANT",
150
- places: [
151
- {
152
- number: "13",
153
- rectangle: {
154
- position: {
155
- x: 31,
156
- y: 6,
157
- z: 0
158
- },
159
- dimension: {
160
- width: 2,
161
- height: 2,
162
- borderRadius: null
163
- }
164
- },
165
- orientation: 0,
166
- placeLocations: ["AISLE"],
167
- placeProperties: ["AISLE_SEAT", "TABLE"],
168
- state: "FREE"
169
- },
170
- {
171
- number: "14",
172
- rectangle: {
173
- position: {
174
- x: 37,
175
- y: 6,
176
- z: 0
177
- },
178
- dimension: {
179
- width: 2,
180
- height: 2,
181
- borderRadius: null
182
- }
183
- },
184
- orientation: 180,
185
- placeLocations: ["AISLE"],
186
- placeProperties: ["AISLE_SEAT", "TABLE"],
187
- state: "FREE"
188
- },
189
- {
190
- number: "11",
191
- rectangle: {
192
- position: {
193
- x: 31,
194
- y: 8,
195
- z: 0
196
- },
197
- dimension: {
198
- width: 2,
199
- height: 2,
200
- borderRadius: null
201
- }
202
- },
203
- orientation: 0,
204
- placeLocations: ["WINDOW"],
205
- placeProperties: ["WINDOW_SEAT", "TABLE"],
206
- state: "FREE"
207
- },
208
- {
209
- number: "12",
210
- rectangle: {
211
- position: {
212
- x: 37,
213
- y: 8,
214
- z: 0
215
- },
216
- dimension: {
217
- width: 2,
218
- height: 2,
219
- borderRadius: null
220
- }
221
- },
222
- orientation: 180,
223
- placeLocations: ["WINDOW"],
224
- placeProperties: ["WINDOW_SEAT", "TABLE"],
225
- state: "FREE"
226
- }
227
- ]
228
- },
229
- {
230
- travelClass: "SECOND",
231
- accommodationSubType: "RESTAURANT",
232
- places: [
233
- {
234
- number: "33",
235
- rectangle: {
236
- position: {
237
- x: 39,
238
- y: 6,
239
- z: 0
240
- },
241
- dimension: {
242
- width: 2,
243
- height: 2,
244
- borderRadius: null
245
- }
246
- },
247
- orientation: 0,
248
- placeLocations: ["AISLE"],
249
- placeProperties: ["AISLE_SEAT", "TABLE"],
250
- state: "FREE"
251
- },
252
- {
253
- number: "34",
254
- rectangle: {
255
- position: {
256
- x: 45,
257
- y: 6,
258
- z: 0
259
- },
260
- dimension: {
261
- width: 2,
262
- height: 2,
263
- borderRadius: null
264
- }
265
- },
266
- orientation: 180,
267
- placeLocations: ["AISLE"],
268
- placeProperties: ["AISLE_SEAT", "TABLE"],
269
- state: "FREE"
270
- },
271
- {
272
- number: "31",
273
- rectangle: {
274
- position: {
275
- x: 39,
276
- y: 8,
277
- z: 0
278
- },
279
- dimension: {
280
- width: 2,
281
- height: 2,
282
- borderRadius: null
283
- }
284
- },
285
- orientation: 0,
286
- placeLocations: ["WINDOW"],
287
- placeProperties: ["WINDOW_SEAT", "TABLE"],
288
- state: "FREE"
289
- },
290
- {
291
- number: "32",
292
- rectangle: {
293
- position: {
294
- x: 45,
295
- y: 8,
296
- z: 0
297
- },
298
- dimension: {
299
- width: 2,
300
- height: 2,
301
- borderRadius: null
302
- }
303
- },
304
- orientation: 180,
305
- placeLocations: ["WINDOW"],
306
- placeProperties: ["WINDOW_SEAT", "TABLE"],
307
- state: "FREE"
308
- }
309
- ]
310
- },
311
- {
312
- travelClass: "SECOND",
313
- accommodationSubType: "RESTAURANT",
314
- places: [
315
- {
316
- number: "53",
317
- rectangle: {
318
- position: {
319
- x: 47,
320
- y: 6,
321
- z: 0
322
- },
323
- dimension: {
324
- width: 2,
325
- height: 2,
326
- borderRadius: null
327
- }
328
- },
329
- orientation: 0,
330
- placeLocations: ["AISLE"],
331
- placeProperties: ["AISLE_SEAT", "TABLE"],
332
- state: "FREE"
333
- },
334
- {
335
- number: "51",
336
- rectangle: {
337
- position: {
338
- x: 47,
339
- y: 8,
340
- z: 0
341
- },
342
- dimension: {
343
- width: 2,
344
- height: 2,
345
- borderRadius: null
346
- }
347
- },
348
- orientation: 0,
349
- placeLocations: ["WINDOW"],
350
- placeProperties: ["WINDOW_SEAT", "TABLE"],
351
- state: "FREE"
352
- },
353
- {
354
- number: "52",
355
- rectangle: {
356
- position: {
357
- x: 53,
358
- y: 8,
359
- z: 0
360
- },
361
- dimension: {
362
- width: 2,
363
- height: 2,
364
- borderRadius: null
365
- }
366
- },
367
- orientation: 180,
368
- placeLocations: ["WINDOW"],
369
- placeProperties: ["WINDOW_SEAT", "TABLE"],
370
- state: "FREE"
371
- }
372
- ]
373
- }
374
- ],
375
- graphicElements: [
376
- {
377
- rectangle: {
378
- position: {
379
- x: 0,
380
- y: 0,
381
- z: 0
382
- },
383
- dimension: {
384
- width: 6,
385
- height: 10,
386
- borderRadius: null
387
- }
388
- },
389
- orientation: 0,
390
- type: "DRIVER_AREA"
391
- },
392
- {
393
- rectangle: {
394
- position: {
395
- x: 55,
396
- y: 0,
397
- z: 0
398
- },
399
- dimension: {
400
- width: 1,
401
- height: 10,
402
- borderRadius: null
403
- }
404
- },
405
- orientation: 180,
406
- type: "COACH_WALL_NO_PASSAGE"
407
- },
408
- {
409
- rectangle: {
410
- position: {
411
- x: 42,
412
- y: 6,
413
- z: 0
414
- },
415
- dimension: {
416
- width: 2,
417
- height: 4,
418
- borderRadius: null
419
- }
420
- },
421
- orientation: 0,
422
- type: "TABLE_RESTAURANT"
423
- },
424
- {
425
- rectangle: {
426
- position: {
427
- x: 50,
428
- y: 0,
429
- z: 0
430
- },
431
- dimension: {
432
- width: 2,
433
- height: 2,
434
- borderRadius: null
435
- }
436
- },
437
- orientation: 0,
438
- type: "TABLE_RESTAURANT"
439
- },
440
- {
441
- rectangle: {
442
- position: {
443
- x: 34,
444
- y: 0,
445
- z: 0
446
- },
447
- dimension: {
448
- width: 2,
449
- height: 2,
450
- borderRadius: null
451
- }
452
- },
453
- orientation: 0,
454
- type: "TABLE_RESTAURANT"
455
- },
456
- {
457
- rectangle: {
458
- position: {
459
- x: 34,
460
- y: 6,
461
- z: 0
462
- },
463
- dimension: {
464
- width: 2,
465
- height: 4,
466
- borderRadius: null
467
- }
468
- },
469
- orientation: 0,
470
- type: "TABLE_RESTAURANT"
471
- },
472
- {
473
- rectangle: {
474
- position: {
475
- x: 42,
476
- y: 0,
477
- z: 0
478
- },
479
- dimension: {
480
- width: 2,
481
- height: 2,
482
- borderRadius: null
483
- }
484
- },
485
- orientation: 0,
486
- type: "TABLE_RESTAURANT"
487
- },
488
- {
489
- rectangle: {
490
- position: {
491
- x: 50,
492
- y: 6,
493
- z: 0
494
- },
495
- dimension: {
496
- width: 2,
497
- height: 2,
498
- borderRadius: null
499
- }
500
- },
501
- orientation: 0,
502
- type: "TABLE_RESTAURANT"
503
- },
504
- {
505
- rectangle: {
506
- position: {
507
- x: 8,
508
- y: 2,
509
- z: 0
510
- },
511
- dimension: {
512
- width: 6,
513
- height: 6,
514
- borderRadius: null
515
- }
516
- },
517
- orientation: 0,
518
- type: "TABLE_RESTAURANT"
519
- }
520
- ],
521
- serviceIcons: [
522
- {
523
- rectangle: {
524
- position: {
525
- x: 32,
526
- y: 3,
527
- z: 0
528
- },
529
- dimension: {
530
- width: 2,
531
- height: 2,
532
- borderRadius: null
533
- }
534
- },
535
- type: "RESTAURANT_ICON"
536
- },
537
- {
538
- rectangle: {
539
- position: {
540
- x: 46,
541
- y: 3,
542
- z: 0
543
- },
544
- dimension: {
545
- width: 2,
546
- height: 2,
547
- borderRadius: null
548
- }
549
- },
550
- type: "RESTAURANT_ICON"
551
- }
552
- ]
553
- }
554
- }
555
- ], i = [
556
- {
557
- warnings: null,
558
- coachDeckLayout: {
559
- id: "32801",
560
- name: "WR6(501) - not touch",
561
- dimension: {
562
- width: 56,
563
- height: 10,
564
- borderRadius: null
565
- },
566
- lowFloorEntry: !1,
567
- deckLevel: "UPPER_DECK",
568
- placeGroups: [
569
- {
570
- travelClass: "SECOND",
571
- accommodationSubType: "RESTAURANT",
572
- places: [
573
- {
574
- number: "21",
575
- rectangle: {
576
- position: {
577
- x: 31,
578
- y: 0,
579
- z: 0
580
- },
581
- dimension: {
582
- width: 2,
583
- height: 2,
584
- borderRadius: null
585
- }
586
- },
587
- orientation: 0,
588
- placeLocations: ["WINDOW"],
589
- placeProperties: ["WINDOW_SEAT", "AISLE_SEAT", "TABLE"],
590
- state: "FREE"
591
- },
592
- {
593
- number: "22",
594
- rectangle: {
595
- position: {
596
- x: 37,
597
- y: 0,
598
- z: 0
599
- },
600
- dimension: {
601
- width: 2,
602
- height: 2,
603
- borderRadius: null
604
- }
605
- },
606
- orientation: 180,
607
- placeLocations: ["WINDOW"],
608
- placeProperties: ["WINDOW_SEAT", "AISLE_SEAT", "TABLE"],
609
- state: "FREE"
610
- }
611
- ]
612
- },
613
- {
614
- travelClass: "SECOND",
615
- accommodationSubType: "RESTAURANT",
616
- places: [
617
- {
618
- number: "41",
619
- rectangle: {
620
- position: {
621
- x: 39,
622
- y: 0,
623
- z: 0
624
- },
625
- dimension: {
626
- width: 2,
627
- height: 2,
628
- borderRadius: null
629
- }
630
- },
631
- orientation: 0,
632
- placeLocations: ["WINDOW"],
633
- placeProperties: ["WINDOW_SEAT", "AISLE_SEAT", "TABLE"],
634
- state: "FREE"
635
- },
636
- {
637
- number: "42",
638
- rectangle: {
639
- position: {
640
- x: 45,
641
- y: 0,
642
- z: 0
643
- },
644
- dimension: {
645
- width: 2,
646
- height: 2,
647
- borderRadius: null
648
- }
649
- },
650
- orientation: 180,
651
- placeLocations: ["WINDOW"],
652
- placeProperties: ["WINDOW_SEAT", "AISLE_SEAT", "TABLE"],
653
- state: "FREE"
654
- }
655
- ]
656
- },
657
- {
658
- travelClass: "SECOND",
659
- accommodationSubType: "RESTAURANT",
660
- places: [
661
- {
662
- number: "61",
663
- rectangle: {
664
- position: {
665
- x: 47,
666
- y: 0,
667
- z: 0
668
- },
669
- dimension: {
670
- width: 2,
671
- height: 2,
672
- borderRadius: null
673
- }
674
- },
675
- orientation: 0,
676
- placeLocations: ["WINDOW"],
677
- placeProperties: ["WINDOW_SEAT", "AISLE_SEAT", "TABLE"],
678
- state: "FREE"
679
- },
680
- {
681
- number: "62",
682
- rectangle: {
683
- position: {
684
- x: 53,
685
- y: 0,
686
- z: 0
687
- },
688
- dimension: {
689
- width: 2,
690
- height: 2,
691
- borderRadius: null
692
- }
693
- },
694
- orientation: 180,
695
- placeLocations: ["WINDOW"],
696
- placeProperties: ["WINDOW_SEAT", "AISLE_SEAT", "TABLE"],
697
- state: "FREE"
698
- }
699
- ]
700
- },
701
- {
702
- travelClass: "SECOND",
703
- accommodationSubType: "RESTAURANT",
704
- places: [
705
- {
706
- number: "13",
707
- rectangle: {
708
- position: {
709
- x: 31,
710
- y: 6,
711
- z: 0
712
- },
713
- dimension: {
714
- width: 2,
715
- height: 2,
716
- borderRadius: null
717
- }
718
- },
719
- orientation: 0,
720
- placeLocations: ["AISLE"],
721
- placeProperties: ["AISLE_SEAT", "TABLE"],
722
- state: "FREE"
723
- },
724
- {
725
- number: "14",
726
- rectangle: {
727
- position: {
728
- x: 37,
729
- y: 6,
730
- z: 0
731
- },
732
- dimension: {
733
- width: 2,
734
- height: 2,
735
- borderRadius: null
736
- }
737
- },
738
- orientation: 180,
739
- placeLocations: ["AISLE"],
740
- placeProperties: ["AISLE_SEAT", "TABLE"],
741
- state: "FREE"
742
- },
743
- {
744
- number: "11",
745
- rectangle: {
746
- position: {
747
- x: 31,
748
- y: 8,
749
- z: 0
750
- },
751
- dimension: {
752
- width: 2,
753
- height: 2,
754
- borderRadius: null
755
- }
756
- },
757
- orientation: 0,
758
- placeLocations: ["WINDOW"],
759
- placeProperties: ["WINDOW_SEAT", "TABLE"],
760
- state: "FREE"
761
- },
762
- {
763
- number: "12",
764
- rectangle: {
765
- position: {
766
- x: 37,
767
- y: 8,
768
- z: 0
769
- },
770
- dimension: {
771
- width: 2,
772
- height: 2,
773
- borderRadius: null
774
- }
775
- },
776
- orientation: 180,
777
- placeLocations: ["WINDOW"],
778
- placeProperties: ["WINDOW_SEAT", "TABLE"],
779
- state: "FREE"
780
- }
781
- ]
782
- },
783
- {
784
- travelClass: "SECOND",
785
- accommodationSubType: "RESTAURANT",
786
- places: [
787
- {
788
- number: "33",
789
- rectangle: {
790
- position: {
791
- x: 39,
792
- y: 6,
793
- z: 0
794
- },
795
- dimension: {
796
- width: 2,
797
- height: 2,
798
- borderRadius: null
799
- }
800
- },
801
- orientation: 0,
802
- placeLocations: ["AISLE"],
803
- placeProperties: ["AISLE_SEAT", "TABLE"],
804
- state: "FREE"
805
- },
806
- {
807
- number: "34",
808
- rectangle: {
809
- position: {
810
- x: 45,
811
- y: 6,
812
- z: 0
813
- },
814
- dimension: {
815
- width: 2,
816
- height: 2,
817
- borderRadius: null
818
- }
819
- },
820
- orientation: 180,
821
- placeLocations: ["AISLE"],
822
- placeProperties: ["AISLE_SEAT", "TABLE"],
823
- state: "FREE"
824
- },
825
- {
826
- number: "31",
827
- rectangle: {
828
- position: {
829
- x: 39,
830
- y: 8,
831
- z: 0
832
- },
833
- dimension: {
834
- width: 2,
835
- height: 2,
836
- borderRadius: null
837
- }
838
- },
839
- orientation: 0,
840
- placeLocations: ["WINDOW"],
841
- placeProperties: ["WINDOW_SEAT", "TABLE"],
842
- state: "FREE"
843
- },
844
- {
845
- number: "32",
846
- rectangle: {
847
- position: {
848
- x: 45,
849
- y: 8,
850
- z: 0
851
- },
852
- dimension: {
853
- width: 2,
854
- height: 2,
855
- borderRadius: null
856
- }
857
- },
858
- orientation: 180,
859
- placeLocations: ["WINDOW"],
860
- placeProperties: ["WINDOW_SEAT", "TABLE"],
861
- state: "FREE"
862
- }
863
- ]
864
- },
865
- {
866
- travelClass: "SECOND",
867
- accommodationSubType: "RESTAURANT",
868
- places: [
869
- {
870
- number: "53",
871
- rectangle: {
872
- position: {
873
- x: 47,
874
- y: 6,
875
- z: 0
876
- },
877
- dimension: {
878
- width: 2,
879
- height: 2,
880
- borderRadius: null
881
- }
882
- },
883
- orientation: 0,
884
- placeLocations: ["AISLE"],
885
- placeProperties: ["AISLE_SEAT", "TABLE"],
886
- state: "FREE"
887
- },
888
- {
889
- number: "51",
890
- rectangle: {
891
- position: {
892
- x: 47,
893
- y: 8,
894
- z: 0
895
- },
896
- dimension: {
897
- width: 2,
898
- height: 2,
899
- borderRadius: null
900
- }
901
- },
902
- orientation: 0,
903
- placeLocations: ["WINDOW"],
904
- placeProperties: ["WINDOW_SEAT", "TABLE"],
905
- state: "SELECTED"
906
- },
907
- {
908
- number: "52",
909
- rectangle: {
910
- position: {
911
- x: 53,
912
- y: 8,
913
- z: 0
914
- },
915
- dimension: {
916
- width: 2,
917
- height: 2,
918
- borderRadius: null
919
- }
920
- },
921
- orientation: 180,
922
- placeLocations: ["WINDOW"],
923
- placeProperties: ["WINDOW_SEAT", "TABLE"],
924
- state: "FREE"
925
- }
926
- ]
927
- }
928
- ],
929
- graphicElements: [
930
- {
931
- rectangle: {
932
- position: {
933
- x: 0,
934
- y: 0,
935
- z: 0
936
- },
937
- dimension: {
938
- width: 6,
939
- height: 10,
940
- borderRadius: null
941
- }
942
- },
943
- orientation: 0,
944
- type: "DRIVER_AREA"
945
- },
946
- {
947
- rectangle: {
948
- position: {
949
- x: 55,
950
- y: 0,
951
- z: 0
952
- },
953
- dimension: {
954
- width: 1,
955
- height: 10,
956
- borderRadius: null
957
- }
958
- },
959
- orientation: 180,
960
- type: "COACH_WALL_NO_PASSAGE"
961
- }
962
- ],
963
- serviceIcons: []
964
- }
965
- }
966
- ];
967
- export {
968
- e as MOCK_COACHE_RAW_DECK_LOWER,
969
- i as MOCK_COACHE_RAW_DECK_UPPPER
970
- };
1
+ //#region src/elements-experimental/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-decks.ts
2
+ var e = [{
3
+ warnings: null,
4
+ coachDeckLayout: {
5
+ id: "32801",
6
+ name: "WR6(501) - not touch",
7
+ dimension: {
8
+ width: 56,
9
+ height: 10,
10
+ borderRadius: null
11
+ },
12
+ lowFloorEntry: !1,
13
+ deckLevel: "LOWER_DECK",
14
+ placeGroups: [
15
+ {
16
+ travelClass: "SECOND",
17
+ accommodationSubType: "RESTAURANT",
18
+ places: [{
19
+ number: "21",
20
+ rectangle: {
21
+ position: {
22
+ x: 31,
23
+ y: 0,
24
+ z: 0
25
+ },
26
+ dimension: {
27
+ width: 2,
28
+ height: 2,
29
+ borderRadius: null
30
+ }
31
+ },
32
+ orientation: 0,
33
+ placeLocations: ["WINDOW"],
34
+ placeProperties: [
35
+ "WINDOW_SEAT",
36
+ "AISLE_SEAT",
37
+ "TABLE"
38
+ ],
39
+ state: "FREE"
40
+ }, {
41
+ number: "22",
42
+ rectangle: {
43
+ position: {
44
+ x: 37,
45
+ y: 0,
46
+ z: 0
47
+ },
48
+ dimension: {
49
+ width: 2,
50
+ height: 2,
51
+ borderRadius: null
52
+ }
53
+ },
54
+ orientation: 180,
55
+ placeLocations: ["WINDOW"],
56
+ placeProperties: [
57
+ "WINDOW_SEAT",
58
+ "AISLE_SEAT",
59
+ "TABLE"
60
+ ],
61
+ state: "FREE"
62
+ }]
63
+ },
64
+ {
65
+ travelClass: "SECOND",
66
+ accommodationSubType: "RESTAURANT",
67
+ places: [{
68
+ number: "41",
69
+ rectangle: {
70
+ position: {
71
+ x: 39,
72
+ y: 0,
73
+ z: 0
74
+ },
75
+ dimension: {
76
+ width: 2,
77
+ height: 2,
78
+ borderRadius: null
79
+ }
80
+ },
81
+ orientation: 0,
82
+ placeLocations: ["WINDOW"],
83
+ placeProperties: [
84
+ "WINDOW_SEAT",
85
+ "AISLE_SEAT",
86
+ "TABLE"
87
+ ],
88
+ state: "FREE"
89
+ }, {
90
+ number: "42",
91
+ rectangle: {
92
+ position: {
93
+ x: 45,
94
+ y: 0,
95
+ z: 0
96
+ },
97
+ dimension: {
98
+ width: 2,
99
+ height: 2,
100
+ borderRadius: null
101
+ }
102
+ },
103
+ orientation: 180,
104
+ placeLocations: ["WINDOW"],
105
+ placeProperties: [
106
+ "WINDOW_SEAT",
107
+ "AISLE_SEAT",
108
+ "TABLE"
109
+ ],
110
+ state: "FREE"
111
+ }]
112
+ },
113
+ {
114
+ travelClass: "SECOND",
115
+ accommodationSubType: "RESTAURANT",
116
+ places: [{
117
+ number: "61",
118
+ rectangle: {
119
+ position: {
120
+ x: 47,
121
+ y: 0,
122
+ z: 0
123
+ },
124
+ dimension: {
125
+ width: 2,
126
+ height: 2,
127
+ borderRadius: null
128
+ }
129
+ },
130
+ orientation: 0,
131
+ placeLocations: ["WINDOW"],
132
+ placeProperties: [
133
+ "WINDOW_SEAT",
134
+ "AISLE_SEAT",
135
+ "TABLE"
136
+ ],
137
+ state: "FREE"
138
+ }, {
139
+ number: "62",
140
+ rectangle: {
141
+ position: {
142
+ x: 53,
143
+ y: 0,
144
+ z: 0
145
+ },
146
+ dimension: {
147
+ width: 2,
148
+ height: 2,
149
+ borderRadius: null
150
+ }
151
+ },
152
+ orientation: 180,
153
+ placeLocations: ["WINDOW"],
154
+ placeProperties: [
155
+ "WINDOW_SEAT",
156
+ "AISLE_SEAT",
157
+ "TABLE"
158
+ ],
159
+ state: "FREE"
160
+ }]
161
+ },
162
+ {
163
+ travelClass: "SECOND",
164
+ accommodationSubType: "RESTAURANT",
165
+ places: [
166
+ {
167
+ number: "13",
168
+ rectangle: {
169
+ position: {
170
+ x: 31,
171
+ y: 6,
172
+ z: 0
173
+ },
174
+ dimension: {
175
+ width: 2,
176
+ height: 2,
177
+ borderRadius: null
178
+ }
179
+ },
180
+ orientation: 0,
181
+ placeLocations: ["AISLE"],
182
+ placeProperties: ["AISLE_SEAT", "TABLE"],
183
+ state: "FREE"
184
+ },
185
+ {
186
+ number: "14",
187
+ rectangle: {
188
+ position: {
189
+ x: 37,
190
+ y: 6,
191
+ z: 0
192
+ },
193
+ dimension: {
194
+ width: 2,
195
+ height: 2,
196
+ borderRadius: null
197
+ }
198
+ },
199
+ orientation: 180,
200
+ placeLocations: ["AISLE"],
201
+ placeProperties: ["AISLE_SEAT", "TABLE"],
202
+ state: "FREE"
203
+ },
204
+ {
205
+ number: "11",
206
+ rectangle: {
207
+ position: {
208
+ x: 31,
209
+ y: 8,
210
+ z: 0
211
+ },
212
+ dimension: {
213
+ width: 2,
214
+ height: 2,
215
+ borderRadius: null
216
+ }
217
+ },
218
+ orientation: 0,
219
+ placeLocations: ["WINDOW"],
220
+ placeProperties: ["WINDOW_SEAT", "TABLE"],
221
+ state: "FREE"
222
+ },
223
+ {
224
+ number: "12",
225
+ rectangle: {
226
+ position: {
227
+ x: 37,
228
+ y: 8,
229
+ z: 0
230
+ },
231
+ dimension: {
232
+ width: 2,
233
+ height: 2,
234
+ borderRadius: null
235
+ }
236
+ },
237
+ orientation: 180,
238
+ placeLocations: ["WINDOW"],
239
+ placeProperties: ["WINDOW_SEAT", "TABLE"],
240
+ state: "FREE"
241
+ }
242
+ ]
243
+ },
244
+ {
245
+ travelClass: "SECOND",
246
+ accommodationSubType: "RESTAURANT",
247
+ places: [
248
+ {
249
+ number: "33",
250
+ rectangle: {
251
+ position: {
252
+ x: 39,
253
+ y: 6,
254
+ z: 0
255
+ },
256
+ dimension: {
257
+ width: 2,
258
+ height: 2,
259
+ borderRadius: null
260
+ }
261
+ },
262
+ orientation: 0,
263
+ placeLocations: ["AISLE"],
264
+ placeProperties: ["AISLE_SEAT", "TABLE"],
265
+ state: "FREE"
266
+ },
267
+ {
268
+ number: "34",
269
+ rectangle: {
270
+ position: {
271
+ x: 45,
272
+ y: 6,
273
+ z: 0
274
+ },
275
+ dimension: {
276
+ width: 2,
277
+ height: 2,
278
+ borderRadius: null
279
+ }
280
+ },
281
+ orientation: 180,
282
+ placeLocations: ["AISLE"],
283
+ placeProperties: ["AISLE_SEAT", "TABLE"],
284
+ state: "FREE"
285
+ },
286
+ {
287
+ number: "31",
288
+ rectangle: {
289
+ position: {
290
+ x: 39,
291
+ y: 8,
292
+ z: 0
293
+ },
294
+ dimension: {
295
+ width: 2,
296
+ height: 2,
297
+ borderRadius: null
298
+ }
299
+ },
300
+ orientation: 0,
301
+ placeLocations: ["WINDOW"],
302
+ placeProperties: ["WINDOW_SEAT", "TABLE"],
303
+ state: "FREE"
304
+ },
305
+ {
306
+ number: "32",
307
+ rectangle: {
308
+ position: {
309
+ x: 45,
310
+ y: 8,
311
+ z: 0
312
+ },
313
+ dimension: {
314
+ width: 2,
315
+ height: 2,
316
+ borderRadius: null
317
+ }
318
+ },
319
+ orientation: 180,
320
+ placeLocations: ["WINDOW"],
321
+ placeProperties: ["WINDOW_SEAT", "TABLE"],
322
+ state: "FREE"
323
+ }
324
+ ]
325
+ },
326
+ {
327
+ travelClass: "SECOND",
328
+ accommodationSubType: "RESTAURANT",
329
+ places: [
330
+ {
331
+ number: "53",
332
+ rectangle: {
333
+ position: {
334
+ x: 47,
335
+ y: 6,
336
+ z: 0
337
+ },
338
+ dimension: {
339
+ width: 2,
340
+ height: 2,
341
+ borderRadius: null
342
+ }
343
+ },
344
+ orientation: 0,
345
+ placeLocations: ["AISLE"],
346
+ placeProperties: ["AISLE_SEAT", "TABLE"],
347
+ state: "FREE"
348
+ },
349
+ {
350
+ number: "51",
351
+ rectangle: {
352
+ position: {
353
+ x: 47,
354
+ y: 8,
355
+ z: 0
356
+ },
357
+ dimension: {
358
+ width: 2,
359
+ height: 2,
360
+ borderRadius: null
361
+ }
362
+ },
363
+ orientation: 0,
364
+ placeLocations: ["WINDOW"],
365
+ placeProperties: ["WINDOW_SEAT", "TABLE"],
366
+ state: "FREE"
367
+ },
368
+ {
369
+ number: "52",
370
+ rectangle: {
371
+ position: {
372
+ x: 53,
373
+ y: 8,
374
+ z: 0
375
+ },
376
+ dimension: {
377
+ width: 2,
378
+ height: 2,
379
+ borderRadius: null
380
+ }
381
+ },
382
+ orientation: 180,
383
+ placeLocations: ["WINDOW"],
384
+ placeProperties: ["WINDOW_SEAT", "TABLE"],
385
+ state: "FREE"
386
+ }
387
+ ]
388
+ }
389
+ ],
390
+ graphicElements: [
391
+ {
392
+ rectangle: {
393
+ position: {
394
+ x: 0,
395
+ y: 0,
396
+ z: 0
397
+ },
398
+ dimension: {
399
+ width: 6,
400
+ height: 10,
401
+ borderRadius: null
402
+ }
403
+ },
404
+ orientation: 0,
405
+ type: "DRIVER_AREA"
406
+ },
407
+ {
408
+ rectangle: {
409
+ position: {
410
+ x: 55,
411
+ y: 0,
412
+ z: 0
413
+ },
414
+ dimension: {
415
+ width: 1,
416
+ height: 10,
417
+ borderRadius: null
418
+ }
419
+ },
420
+ orientation: 180,
421
+ type: "COACH_WALL_NO_PASSAGE"
422
+ },
423
+ {
424
+ rectangle: {
425
+ position: {
426
+ x: 42,
427
+ y: 6,
428
+ z: 0
429
+ },
430
+ dimension: {
431
+ width: 2,
432
+ height: 4,
433
+ borderRadius: null
434
+ }
435
+ },
436
+ orientation: 0,
437
+ type: "TABLE_RESTAURANT"
438
+ },
439
+ {
440
+ rectangle: {
441
+ position: {
442
+ x: 50,
443
+ y: 0,
444
+ z: 0
445
+ },
446
+ dimension: {
447
+ width: 2,
448
+ height: 2,
449
+ borderRadius: null
450
+ }
451
+ },
452
+ orientation: 0,
453
+ type: "TABLE_RESTAURANT"
454
+ },
455
+ {
456
+ rectangle: {
457
+ position: {
458
+ x: 34,
459
+ y: 0,
460
+ z: 0
461
+ },
462
+ dimension: {
463
+ width: 2,
464
+ height: 2,
465
+ borderRadius: null
466
+ }
467
+ },
468
+ orientation: 0,
469
+ type: "TABLE_RESTAURANT"
470
+ },
471
+ {
472
+ rectangle: {
473
+ position: {
474
+ x: 34,
475
+ y: 6,
476
+ z: 0
477
+ },
478
+ dimension: {
479
+ width: 2,
480
+ height: 4,
481
+ borderRadius: null
482
+ }
483
+ },
484
+ orientation: 0,
485
+ type: "TABLE_RESTAURANT"
486
+ },
487
+ {
488
+ rectangle: {
489
+ position: {
490
+ x: 42,
491
+ y: 0,
492
+ z: 0
493
+ },
494
+ dimension: {
495
+ width: 2,
496
+ height: 2,
497
+ borderRadius: null
498
+ }
499
+ },
500
+ orientation: 0,
501
+ type: "TABLE_RESTAURANT"
502
+ },
503
+ {
504
+ rectangle: {
505
+ position: {
506
+ x: 50,
507
+ y: 6,
508
+ z: 0
509
+ },
510
+ dimension: {
511
+ width: 2,
512
+ height: 2,
513
+ borderRadius: null
514
+ }
515
+ },
516
+ orientation: 0,
517
+ type: "TABLE_RESTAURANT"
518
+ },
519
+ {
520
+ rectangle: {
521
+ position: {
522
+ x: 8,
523
+ y: 2,
524
+ z: 0
525
+ },
526
+ dimension: {
527
+ width: 6,
528
+ height: 6,
529
+ borderRadius: null
530
+ }
531
+ },
532
+ orientation: 0,
533
+ type: "TABLE_RESTAURANT"
534
+ }
535
+ ],
536
+ serviceIcons: [{
537
+ rectangle: {
538
+ position: {
539
+ x: 32,
540
+ y: 3,
541
+ z: 0
542
+ },
543
+ dimension: {
544
+ width: 2,
545
+ height: 2,
546
+ borderRadius: null
547
+ }
548
+ },
549
+ type: "RESTAURANT_ICON"
550
+ }, {
551
+ rectangle: {
552
+ position: {
553
+ x: 46,
554
+ y: 3,
555
+ z: 0
556
+ },
557
+ dimension: {
558
+ width: 2,
559
+ height: 2,
560
+ borderRadius: null
561
+ }
562
+ },
563
+ type: "RESTAURANT_ICON"
564
+ }]
565
+ }
566
+ }], t = [{
567
+ warnings: null,
568
+ coachDeckLayout: {
569
+ id: "32801",
570
+ name: "WR6(501) - not touch",
571
+ dimension: {
572
+ width: 56,
573
+ height: 10,
574
+ borderRadius: null
575
+ },
576
+ lowFloorEntry: !1,
577
+ deckLevel: "UPPER_DECK",
578
+ placeGroups: [
579
+ {
580
+ travelClass: "SECOND",
581
+ accommodationSubType: "RESTAURANT",
582
+ places: [{
583
+ number: "21",
584
+ rectangle: {
585
+ position: {
586
+ x: 31,
587
+ y: 0,
588
+ z: 0
589
+ },
590
+ dimension: {
591
+ width: 2,
592
+ height: 2,
593
+ borderRadius: null
594
+ }
595
+ },
596
+ orientation: 0,
597
+ placeLocations: ["WINDOW"],
598
+ placeProperties: [
599
+ "WINDOW_SEAT",
600
+ "AISLE_SEAT",
601
+ "TABLE"
602
+ ],
603
+ state: "FREE"
604
+ }, {
605
+ number: "22",
606
+ rectangle: {
607
+ position: {
608
+ x: 37,
609
+ y: 0,
610
+ z: 0
611
+ },
612
+ dimension: {
613
+ width: 2,
614
+ height: 2,
615
+ borderRadius: null
616
+ }
617
+ },
618
+ orientation: 180,
619
+ placeLocations: ["WINDOW"],
620
+ placeProperties: [
621
+ "WINDOW_SEAT",
622
+ "AISLE_SEAT",
623
+ "TABLE"
624
+ ],
625
+ state: "FREE"
626
+ }]
627
+ },
628
+ {
629
+ travelClass: "SECOND",
630
+ accommodationSubType: "RESTAURANT",
631
+ places: [{
632
+ number: "41",
633
+ rectangle: {
634
+ position: {
635
+ x: 39,
636
+ y: 0,
637
+ z: 0
638
+ },
639
+ dimension: {
640
+ width: 2,
641
+ height: 2,
642
+ borderRadius: null
643
+ }
644
+ },
645
+ orientation: 0,
646
+ placeLocations: ["WINDOW"],
647
+ placeProperties: [
648
+ "WINDOW_SEAT",
649
+ "AISLE_SEAT",
650
+ "TABLE"
651
+ ],
652
+ state: "FREE"
653
+ }, {
654
+ number: "42",
655
+ rectangle: {
656
+ position: {
657
+ x: 45,
658
+ y: 0,
659
+ z: 0
660
+ },
661
+ dimension: {
662
+ width: 2,
663
+ height: 2,
664
+ borderRadius: null
665
+ }
666
+ },
667
+ orientation: 180,
668
+ placeLocations: ["WINDOW"],
669
+ placeProperties: [
670
+ "WINDOW_SEAT",
671
+ "AISLE_SEAT",
672
+ "TABLE"
673
+ ],
674
+ state: "FREE"
675
+ }]
676
+ },
677
+ {
678
+ travelClass: "SECOND",
679
+ accommodationSubType: "RESTAURANT",
680
+ places: [{
681
+ number: "61",
682
+ rectangle: {
683
+ position: {
684
+ x: 47,
685
+ y: 0,
686
+ z: 0
687
+ },
688
+ dimension: {
689
+ width: 2,
690
+ height: 2,
691
+ borderRadius: null
692
+ }
693
+ },
694
+ orientation: 0,
695
+ placeLocations: ["WINDOW"],
696
+ placeProperties: [
697
+ "WINDOW_SEAT",
698
+ "AISLE_SEAT",
699
+ "TABLE"
700
+ ],
701
+ state: "FREE"
702
+ }, {
703
+ number: "62",
704
+ rectangle: {
705
+ position: {
706
+ x: 53,
707
+ y: 0,
708
+ z: 0
709
+ },
710
+ dimension: {
711
+ width: 2,
712
+ height: 2,
713
+ borderRadius: null
714
+ }
715
+ },
716
+ orientation: 180,
717
+ placeLocations: ["WINDOW"],
718
+ placeProperties: [
719
+ "WINDOW_SEAT",
720
+ "AISLE_SEAT",
721
+ "TABLE"
722
+ ],
723
+ state: "FREE"
724
+ }]
725
+ },
726
+ {
727
+ travelClass: "SECOND",
728
+ accommodationSubType: "RESTAURANT",
729
+ places: [
730
+ {
731
+ number: "13",
732
+ rectangle: {
733
+ position: {
734
+ x: 31,
735
+ y: 6,
736
+ z: 0
737
+ },
738
+ dimension: {
739
+ width: 2,
740
+ height: 2,
741
+ borderRadius: null
742
+ }
743
+ },
744
+ orientation: 0,
745
+ placeLocations: ["AISLE"],
746
+ placeProperties: ["AISLE_SEAT", "TABLE"],
747
+ state: "FREE"
748
+ },
749
+ {
750
+ number: "14",
751
+ rectangle: {
752
+ position: {
753
+ x: 37,
754
+ y: 6,
755
+ z: 0
756
+ },
757
+ dimension: {
758
+ width: 2,
759
+ height: 2,
760
+ borderRadius: null
761
+ }
762
+ },
763
+ orientation: 180,
764
+ placeLocations: ["AISLE"],
765
+ placeProperties: ["AISLE_SEAT", "TABLE"],
766
+ state: "FREE"
767
+ },
768
+ {
769
+ number: "11",
770
+ rectangle: {
771
+ position: {
772
+ x: 31,
773
+ y: 8,
774
+ z: 0
775
+ },
776
+ dimension: {
777
+ width: 2,
778
+ height: 2,
779
+ borderRadius: null
780
+ }
781
+ },
782
+ orientation: 0,
783
+ placeLocations: ["WINDOW"],
784
+ placeProperties: ["WINDOW_SEAT", "TABLE"],
785
+ state: "FREE"
786
+ },
787
+ {
788
+ number: "12",
789
+ rectangle: {
790
+ position: {
791
+ x: 37,
792
+ y: 8,
793
+ z: 0
794
+ },
795
+ dimension: {
796
+ width: 2,
797
+ height: 2,
798
+ borderRadius: null
799
+ }
800
+ },
801
+ orientation: 180,
802
+ placeLocations: ["WINDOW"],
803
+ placeProperties: ["WINDOW_SEAT", "TABLE"],
804
+ state: "FREE"
805
+ }
806
+ ]
807
+ },
808
+ {
809
+ travelClass: "SECOND",
810
+ accommodationSubType: "RESTAURANT",
811
+ places: [
812
+ {
813
+ number: "33",
814
+ rectangle: {
815
+ position: {
816
+ x: 39,
817
+ y: 6,
818
+ z: 0
819
+ },
820
+ dimension: {
821
+ width: 2,
822
+ height: 2,
823
+ borderRadius: null
824
+ }
825
+ },
826
+ orientation: 0,
827
+ placeLocations: ["AISLE"],
828
+ placeProperties: ["AISLE_SEAT", "TABLE"],
829
+ state: "FREE"
830
+ },
831
+ {
832
+ number: "34",
833
+ rectangle: {
834
+ position: {
835
+ x: 45,
836
+ y: 6,
837
+ z: 0
838
+ },
839
+ dimension: {
840
+ width: 2,
841
+ height: 2,
842
+ borderRadius: null
843
+ }
844
+ },
845
+ orientation: 180,
846
+ placeLocations: ["AISLE"],
847
+ placeProperties: ["AISLE_SEAT", "TABLE"],
848
+ state: "FREE"
849
+ },
850
+ {
851
+ number: "31",
852
+ rectangle: {
853
+ position: {
854
+ x: 39,
855
+ y: 8,
856
+ z: 0
857
+ },
858
+ dimension: {
859
+ width: 2,
860
+ height: 2,
861
+ borderRadius: null
862
+ }
863
+ },
864
+ orientation: 0,
865
+ placeLocations: ["WINDOW"],
866
+ placeProperties: ["WINDOW_SEAT", "TABLE"],
867
+ state: "FREE"
868
+ },
869
+ {
870
+ number: "32",
871
+ rectangle: {
872
+ position: {
873
+ x: 45,
874
+ y: 8,
875
+ z: 0
876
+ },
877
+ dimension: {
878
+ width: 2,
879
+ height: 2,
880
+ borderRadius: null
881
+ }
882
+ },
883
+ orientation: 180,
884
+ placeLocations: ["WINDOW"],
885
+ placeProperties: ["WINDOW_SEAT", "TABLE"],
886
+ state: "FREE"
887
+ }
888
+ ]
889
+ },
890
+ {
891
+ travelClass: "SECOND",
892
+ accommodationSubType: "RESTAURANT",
893
+ places: [
894
+ {
895
+ number: "53",
896
+ rectangle: {
897
+ position: {
898
+ x: 47,
899
+ y: 6,
900
+ z: 0
901
+ },
902
+ dimension: {
903
+ width: 2,
904
+ height: 2,
905
+ borderRadius: null
906
+ }
907
+ },
908
+ orientation: 0,
909
+ placeLocations: ["AISLE"],
910
+ placeProperties: ["AISLE_SEAT", "TABLE"],
911
+ state: "FREE"
912
+ },
913
+ {
914
+ number: "51",
915
+ rectangle: {
916
+ position: {
917
+ x: 47,
918
+ y: 8,
919
+ z: 0
920
+ },
921
+ dimension: {
922
+ width: 2,
923
+ height: 2,
924
+ borderRadius: null
925
+ }
926
+ },
927
+ orientation: 0,
928
+ placeLocations: ["WINDOW"],
929
+ placeProperties: ["WINDOW_SEAT", "TABLE"],
930
+ state: "SELECTED"
931
+ },
932
+ {
933
+ number: "52",
934
+ rectangle: {
935
+ position: {
936
+ x: 53,
937
+ y: 8,
938
+ z: 0
939
+ },
940
+ dimension: {
941
+ width: 2,
942
+ height: 2,
943
+ borderRadius: null
944
+ }
945
+ },
946
+ orientation: 180,
947
+ placeLocations: ["WINDOW"],
948
+ placeProperties: ["WINDOW_SEAT", "TABLE"],
949
+ state: "FREE"
950
+ }
951
+ ]
952
+ }
953
+ ],
954
+ graphicElements: [{
955
+ rectangle: {
956
+ position: {
957
+ x: 0,
958
+ y: 0,
959
+ z: 0
960
+ },
961
+ dimension: {
962
+ width: 6,
963
+ height: 10,
964
+ borderRadius: null
965
+ }
966
+ },
967
+ orientation: 0,
968
+ type: "DRIVER_AREA"
969
+ }, {
970
+ rectangle: {
971
+ position: {
972
+ x: 55,
973
+ y: 0,
974
+ z: 0
975
+ },
976
+ dimension: {
977
+ width: 1,
978
+ height: 10,
979
+ borderRadius: null
980
+ }
981
+ },
982
+ orientation: 180,
983
+ type: "COACH_WALL_NO_PASSAGE"
984
+ }],
985
+ serviceIcons: []
986
+ }
987
+ }];
988
+ //#endregion
989
+ export { e as MOCK_COACHE_RAW_DECK_LOWER, t as MOCK_COACHE_RAW_DECK_UPPPER };