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

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 +76 -65
  2. package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +52 -72
  3. package/autocomplete-grid/autocomplete-grid-button.js +6 -3
  4. package/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +17 -2
  5. package/autocomplete-grid/autocomplete-grid-cell.js +7 -4
  6. package/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js +21 -20
  7. package/autocomplete-grid/autocomplete-grid-optgroup.js +6 -3
  8. package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +33 -2
  9. package/autocomplete-grid/autocomplete-grid-option.js +9 -4
  10. package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +22 -2
  11. package/autocomplete-grid/autocomplete-grid-row.js +7 -4
  12. package/autocomplete-grid/autocomplete-grid.js +6 -3
  13. package/autocomplete-grid.js +21 -9
  14. package/autocomplete-grid.pure.js +15 -7
  15. package/core/datetime/date-helper.js +191 -2
  16. package/core/datetime.js +5 -2
  17. package/core/timetable/access-leg-helper.js +71 -76
  18. package/core/timetable/timetable-helper.js +11 -9
  19. package/core/timetable/timetable-properties.js +1 -0
  20. package/core/timetable.js +7 -3
  21. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +122 -114
  22. package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +70 -92
  23. package/development/autocomplete-grid/autocomplete-grid-button.js +4 -6
  24. package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +29 -2
  25. package/development/autocomplete-grid/autocomplete-grid-cell.js +5 -7
  26. package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js +22 -27
  27. package/development/autocomplete-grid/autocomplete-grid-optgroup.js +4 -6
  28. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +109 -2
  29. package/development/autocomplete-grid/autocomplete-grid-option.js +7 -7
  30. package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +91 -2
  31. package/development/autocomplete-grid/autocomplete-grid-row.js +5 -7
  32. package/development/autocomplete-grid/autocomplete-grid.js +4 -6
  33. package/development/autocomplete-grid.js +14 -10
  34. package/development/autocomplete-grid.pure.js +13 -4
  35. package/development/core/datetime/date-helper.js +285 -2
  36. package/development/core/datetime.js +6 -2
  37. package/development/core/timetable/access-leg-helper.js +82 -104
  38. package/development/core/timetable/timetable-helper.js +17 -16
  39. package/development/core/timetable/timetable-properties.js +2 -0
  40. package/development/core/timetable.js +8 -3
  41. package/development/differenceInMinutes-B0dawX-5.js +26 -0
  42. package/development/format-BMkeaqaF.js +1433 -0
  43. package/development/isValid-BYRch7pV.js +53 -0
  44. package/development/journey-summary/journey-summary.component.js +288 -2
  45. package/development/journey-summary.js +5 -8
  46. package/development/journey-summary.pure.js +5 -2
  47. package/development/pearl-chain/pearl-chain.component.js +634 -2
  48. package/development/pearl-chain-time/pearl-chain-time.component.js +306 -2
  49. package/development/pearl-chain-time.js +5 -8
  50. package/development/pearl-chain-time.pure.js +5 -2
  51. package/development/pearl-chain-vertical/pearl-chain-vertical.component.js +28 -2
  52. package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +393 -2
  53. package/development/pearl-chain-vertical-item.js +5 -8
  54. package/development/pearl-chain-vertical-item.pure.js +5 -2
  55. package/development/pearl-chain-vertical.js +5 -8
  56. package/development/pearl-chain-vertical.pure.js +5 -2
  57. package/development/pearl-chain.js +5 -8
  58. package/development/pearl-chain.pure.js +5 -2
  59. package/development/seat-reservation/common/mapper/icon-mapper.js +71 -168
  60. package/development/seat-reservation/common/mapper/mapper.js +122 -153
  61. package/development/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-bus.js +559 -570
  62. package/development/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-decks.js +972 -992
  63. package/development/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-giruno.js +20367 -20334
  64. package/development/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-others.js +1738 -1731
  65. package/development/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-train.js +9782 -9741
  66. package/development/seat-reservation/common/mapper.js +8 -1
  67. package/development/seat-reservation/common/svgs.js +46 -2
  68. package/development/seat-reservation/common/translations/i18n.js +900 -1118
  69. package/development/seat-reservation/common/translations.js +4 -1
  70. package/development/seat-reservation/common/types.js +2 -0
  71. package/development/seat-reservation/common.js +11 -7
  72. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.js +1230 -1305
  73. package/development/seat-reservation/seat-reservation/seat-reservation.component.js +859 -2
  74. package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +106 -2
  75. package/development/seat-reservation/seat-reservation-area.js +5 -7
  76. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-assets.js +34 -35
  77. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +162 -2
  78. package/development/seat-reservation/seat-reservation-graphic.js +5 -7
  79. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +713 -2
  80. package/development/seat-reservation/seat-reservation-navigation-coach.js +5 -7
  81. package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +131 -2
  82. package/development/seat-reservation/seat-reservation-navigation-services.js +5 -7
  83. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +601 -2
  84. package/development/seat-reservation/seat-reservation-place-control.js +5 -7
  85. package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js +22 -2
  86. package/development/seat-reservation/seat-reservation-scoped.js +5 -7
  87. package/development/seat-reservation/seat-reservation.js +6 -7
  88. package/development/seat-reservation.js +28 -15
  89. package/development/seat-reservation.pure.js +28 -10
  90. package/development/timetable-duration/timetable-duration.component.js +108 -2
  91. package/development/timetable-duration.js +5 -8
  92. package/development/timetable-duration.pure.js +5 -2
  93. package/development/timetable-row/timetable-row.component.js +781 -2
  94. package/development/timetable-row.js +13 -8
  95. package/development/timetable-row.pure.js +12 -2
  96. package/development/toDate-BWb6Z1JD.js +24 -0
  97. package/differenceInMinutes-COvvdYsJ.js +23 -0
  98. package/format-CmKROkbc.js +1186 -0
  99. package/isValid-m3_OsPaB.js +45 -0
  100. package/journey-summary/journey-summary.component.js +194 -2
  101. package/journey-summary.js +4 -5
  102. package/journey-summary.pure.js +4 -2
  103. package/package.json +2 -2
  104. package/pearl-chain/pearl-chain.component.js +165 -2
  105. package/pearl-chain-time/pearl-chain-time.component.js +157 -2
  106. package/pearl-chain-time.js +4 -5
  107. package/pearl-chain-time.pure.js +4 -2
  108. package/pearl-chain-vertical/pearl-chain-vertical.component.js +17 -2
  109. package/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +77 -2
  110. package/pearl-chain-vertical-item.js +4 -5
  111. package/pearl-chain-vertical-item.pure.js +4 -2
  112. package/pearl-chain-vertical.js +4 -5
  113. package/pearl-chain-vertical.pure.js +4 -2
  114. package/pearl-chain.js +4 -5
  115. package/pearl-chain.pure.js +4 -2
  116. package/seat-reservation/common/mapper/icon-mapper.js +71 -71
  117. package/seat-reservation/common/mapper/mapper.js +89 -95
  118. package/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-bus.js +558 -568
  119. package/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-decks.js +970 -989
  120. package/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-giruno.js +20366 -20332
  121. package/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-others.js +1737 -1729
  122. package/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-train.js +9781 -9739
  123. package/seat-reservation/common/mapper.js +9 -3
  124. package/seat-reservation/common/svgs.js +243 -2
  125. package/seat-reservation/common/translations/i18n.js +891 -1084
  126. package/seat-reservation/common/translations.js +4 -2
  127. package/seat-reservation/common/types.js +1 -0
  128. package/seat-reservation/common.js +15 -9
  129. package/seat-reservation/seat-reservation/seat-reservation-base-element.js +810 -832
  130. package/seat-reservation/seat-reservation/seat-reservation.component.js +420 -2
  131. package/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +51 -2
  132. package/seat-reservation/seat-reservation-area.js +7 -4
  133. package/seat-reservation/seat-reservation-graphic/seat-reservation-assets.js +71 -68
  134. package/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +75 -2
  135. package/seat-reservation/seat-reservation-graphic.js +7 -4
  136. package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +234 -2
  137. package/seat-reservation/seat-reservation-navigation-coach.js +7 -4
  138. package/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +85 -2
  139. package/seat-reservation/seat-reservation-navigation-services.js +7 -4
  140. package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +203 -2
  141. package/seat-reservation/seat-reservation-place-control.js +7 -4
  142. package/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js +13 -2
  143. package/seat-reservation/seat-reservation-scoped.js +7 -4
  144. package/seat-reservation/seat-reservation.js +9 -5
  145. package/seat-reservation.js +39 -17
  146. package/seat-reservation.pure.js +32 -15
  147. package/timetable-duration/timetable-duration.component.js +57 -2
  148. package/timetable-duration.js +4 -5
  149. package/timetable-duration.pure.js +4 -2
  150. package/timetable-row/timetable-row.component.js +427 -2
  151. package/timetable-row.js +13 -6
  152. package/timetable-row.pure.js +11 -2
  153. package/toDate-Bw2KTWeq.js +15 -0
  154. package/autocomplete-grid-cell.component-Dak9wlBr.js +0 -24
  155. package/autocomplete-grid-option.component-DNRFHOwc.js +0 -37
  156. package/autocomplete-grid-row.component-DBHZQ0GQ.js +0 -27
  157. package/date-helper-CGproP5d.js +0 -185
  158. package/development/autocomplete-grid-cell.component-BBvM4o2H.js +0 -42
  159. package/development/autocomplete-grid-option.component-QzfM5eIE.js +0 -123
  160. package/development/autocomplete-grid-row.component-H8sCTCkT.js +0 -104
  161. package/development/date-helper-8_Y-PuHh.js +0 -520
  162. package/development/differenceInMinutes-DN_1Rk3O.js +0 -110
  163. package/development/format-Bbrn2bgo.js +0 -1848
  164. package/development/isValid-C-HzKv4v.js +0 -178
  165. package/development/journey-summary.component-uGhZvA4p.js +0 -385
  166. package/development/pearl-chain-time.component-B8mayTWD.js +0 -415
  167. package/development/pearl-chain-vertical-item.component-BDzbcIaf.js +0 -435
  168. package/development/pearl-chain-vertical.component-CswE7b3M.js +0 -39
  169. package/development/pearl-chain.component-wpsTvoSe.js +0 -704
  170. package/development/seat-reservation-area.component-BK92ZtFo.js +0 -138
  171. package/development/seat-reservation-graphic.component-cUnsHh5x.js +0 -193
  172. package/development/seat-reservation-navigation-coach.component-D6Bglus8.js +0 -828
  173. package/development/seat-reservation-navigation-services.component-DYJ6Ddkg.js +0 -179
  174. package/development/seat-reservation-place-control.component-Bg9evKBW.js +0 -726
  175. package/development/seat-reservation-scoped.component-DRQ_I702.js +0 -31
  176. package/development/seat-reservation.component-Cq_aJKR0.js +0 -818
  177. package/development/svgs-C3JMWR26.js +0 -28
  178. package/development/timetable-duration.component-DI0lET17.js +0 -125
  179. package/development/timetable-row.component-CAED6Zwc.js +0 -932
  180. package/development/toDate-Biiv3kyf.js +0 -150
  181. package/differenceInMinutes-Dr9gRqtu.js +0 -27
  182. package/format-CM5exOsN.js +0 -1103
  183. package/isValid-B9oVW3lA.js +0 -36
  184. package/journey-summary.component-Cq_4kaOp.js +0 -264
  185. package/pearl-chain-time.component-DGDW5S1c.js +0 -239
  186. package/pearl-chain-vertical-item.component-G22bWhLU.js +0 -108
  187. package/pearl-chain-vertical.component-CXIDT5RD.js +0 -21
  188. package/pearl-chain.component-DmjkVIva.js +0 -194
  189. package/seat-reservation-area.component-n-9rGn_y.js +0 -75
  190. package/seat-reservation-graphic.component-YTXRmKt0.js +0 -102
  191. package/seat-reservation-navigation-coach.component-YJ0vaYmO.js +0 -333
  192. package/seat-reservation-navigation-services.component-C3xnLJg2.js +0 -127
  193. package/seat-reservation-place-control.component-DmBAfM6K.js +0 -322
  194. package/seat-reservation-scoped.component-DPkz6u17.js +0 -17
  195. package/seat-reservation.component-C_anMkgw.js +0 -364
  196. package/svgs-D9arBcqr.js +0 -26
  197. package/timetable-duration.component-DCu8Phts.js +0 -65
  198. package/timetable-row.component-BVRCB3xK.js +0 -559
  199. package/toDate-p-Tpkb7t.js +0 -16
@@ -1,568 +1,558 @@
1
- //#region src/elements-experimental/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-bus.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
- }];
567
- //#endregion
568
- export { e as MOCK_COACHES_RAW_BUS };
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
+ ];
556
+ export {
557
+ e as MOCK_COACHES_RAW_BUS
558
+ };