@sbb-esta/lyne-elements-experimental 5.0.0-next → 5.0.0-next.2

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 (153) hide show
  1. package/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +2 -1
  2. package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +18 -18
  3. package/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +1 -1
  4. package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +1 -1
  5. package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +1 -1
  6. package/{autocomplete-grid-cell.component-BFzREPWp.js → autocomplete-grid-cell.component-DAsWZlTn.js} +6 -6
  7. package/{autocomplete-grid-option.component-DhmoLeEw.js → autocomplete-grid-option.component-iEj9qreq.js} +9 -9
  8. package/{autocomplete-grid-row.component-BQxCxOI6.js → autocomplete-grid-row.component-VbyYP0U-.js} +7 -7
  9. package/autocomplete-grid.js +3 -3
  10. package/autocomplete-grid.pure.js +3 -3
  11. package/custom-elements.json +309 -188
  12. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +3 -2
  13. package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.d.ts.map +1 -1
  14. package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +3 -3
  15. package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.d.ts.map +1 -1
  16. package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +1 -1
  17. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.d.ts.map +1 -1
  18. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +1 -1
  19. package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.d.ts.map +1 -1
  20. package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +1 -1
  21. package/development/autocomplete-grid-cell.component-BF8i4388.js +33 -0
  22. package/development/{autocomplete-grid-option.component-B4SXR9_v.js → autocomplete-grid-option.component-BQwwanAf.js} +3 -3
  23. package/development/{autocomplete-grid-row.component-CY4UDuuj.js → autocomplete-grid-row.component-CBHh50jC.js} +3 -3
  24. package/development/autocomplete-grid.js +4 -4
  25. package/development/autocomplete-grid.pure.js +3 -3
  26. package/development/date-helper-DGz-ztQM.js +1 -1
  27. package/development/format-DFx4997p.js +1 -1
  28. package/development/journey-summary/journey-summary.component.d.ts.map +1 -1
  29. package/development/journey-summary/journey-summary.component.js +1 -1
  30. package/development/journey-summary.component-De1ioDRq.js +341 -0
  31. package/development/journey-summary.js +1 -1
  32. package/development/journey-summary.pure.js +1 -1
  33. package/development/pearl-chain/pearl-chain.component.d.ts.map +1 -1
  34. package/development/pearl-chain/pearl-chain.component.js +1 -1
  35. package/development/pearl-chain-time/pearl-chain-time.component.d.ts.map +1 -1
  36. package/development/pearl-chain-time/pearl-chain-time.component.js +1 -1
  37. package/development/{pearl-chain-time.component-DDnGnI77.js → pearl-chain-time.component-BxVQ1z-Z.js} +4 -4
  38. package/development/pearl-chain-time.js +1 -1
  39. package/development/pearl-chain-time.pure.js +1 -1
  40. package/development/pearl-chain-vertical/pearl-chain-vertical.component.d.ts.map +1 -1
  41. package/development/pearl-chain-vertical/pearl-chain-vertical.component.js +1 -1
  42. package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.d.ts.map +1 -1
  43. package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +1 -1
  44. package/development/{pearl-chain-vertical-item.component-CRh0l20F.js → pearl-chain-vertical-item.component-DJioJtxP.js} +4 -4
  45. package/development/pearl-chain-vertical-item.js +1 -1
  46. package/development/pearl-chain-vertical-item.pure.js +1 -1
  47. package/development/pearl-chain-vertical.component-zSOeIkhh.js +30 -0
  48. package/development/pearl-chain-vertical.js +1 -1
  49. package/development/pearl-chain-vertical.pure.js +1 -1
  50. package/development/{pearl-chain.component-Dl2RvtJo.js → pearl-chain.component-B83OsEx8.js} +5 -5
  51. package/development/pearl-chain.js +1 -1
  52. package/development/pearl-chain.pure.js +1 -1
  53. package/development/seat-reservation/common/translations/i18n.d.ts.map +1 -1
  54. package/development/seat-reservation/common/translations/i18n.js +1 -1
  55. package/development/seat-reservation/common/types.d.ts +3 -4
  56. package/development/seat-reservation/common/types.d.ts.map +1 -1
  57. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts +39 -8
  58. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -1
  59. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.js +143 -32
  60. package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts +2 -13
  61. package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -1
  62. package/development/seat-reservation/seat-reservation/seat-reservation.component.js +1 -1
  63. package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.d.ts.map +1 -1
  64. package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +1 -1
  65. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.d.ts.map +1 -1
  66. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +1 -1
  67. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +1 -1
  68. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +1 -1
  69. package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +1 -1
  70. package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +1 -1
  71. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts +1 -1
  72. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts.map +1 -1
  73. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +1 -1
  74. package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +1 -1
  75. package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js +1 -1
  76. package/development/seat-reservation-area.component-CMqjbUtV.js +94 -0
  77. package/development/seat-reservation-graphic.component-C2r57590.js +129 -0
  78. package/development/{seat-reservation-navigation-coach.component-DRCcI2ss.js → seat-reservation-navigation-coach.component-BwLbiHCG.js} +8 -8
  79. package/development/{seat-reservation-navigation-services.component-ZNm77ZG-.js → seat-reservation-navigation-services.component-Do8JLJh3.js} +8 -6
  80. package/development/{seat-reservation-place-control.component-QF_px_in.js → seat-reservation-place-control.component-BfuOGZYq.js} +7 -7
  81. package/development/{seat-reservation-scoped.component-X-Kq0-w5.js → seat-reservation-scoped.component-D-Mvw-Q3.js} +3 -3
  82. package/development/seat-reservation.component-B2nJ13F1.js +472 -0
  83. package/development/seat-reservation.js +8 -8
  84. package/development/seat-reservation.pure.js +7 -7
  85. package/development/svgs-kDpBCto5.js +1 -1
  86. package/development/timetable-duration/timetable-duration.component.d.ts.map +1 -1
  87. package/development/timetable-duration/timetable-duration.component.js +1 -1
  88. package/development/timetable-duration.component-fBla8Kue.js +96 -0
  89. package/development/timetable-duration.js +1 -1
  90. package/development/timetable-duration.pure.js +1 -1
  91. package/development/timetable-row/timetable-row.component.d.ts +1 -1
  92. package/development/timetable-row/timetable-row.component.d.ts.map +1 -1
  93. package/development/timetable-row/timetable-row.component.js +1 -1
  94. package/development/timetable-row.component-C9Y9Rev1.js +732 -0
  95. package/development/timetable-row.js +1 -1
  96. package/development/timetable-row.pure.js +1 -1
  97. package/development/toDate-DOFAOjP-.js +1 -1
  98. package/journey-summary/journey-summary.component.js +1 -1
  99. package/{journey-summary.component-C7WPKx8k.js → journey-summary.component-CkDRawn9.js} +53 -54
  100. package/journey-summary.js +1 -1
  101. package/journey-summary.pure.js +1 -1
  102. package/package.json +2 -2
  103. package/pearl-chain/pearl-chain.component.js +1 -1
  104. package/pearl-chain-time/pearl-chain-time.component.js +1 -1
  105. package/{pearl-chain-time.component-awU4lFdO.js → pearl-chain-time.component-D5OCEBJ_.js} +11 -11
  106. package/pearl-chain-time.js +1 -1
  107. package/pearl-chain-time.pure.js +1 -1
  108. package/pearl-chain-vertical/pearl-chain-vertical.component.js +1 -1
  109. package/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +1 -1
  110. package/{pearl-chain-vertical-item.component-BynmUBXa.js → pearl-chain-vertical-item.component-IdquCJMy.js} +28 -28
  111. package/pearl-chain-vertical-item.js +1 -1
  112. package/pearl-chain-vertical-item.pure.js +1 -1
  113. package/{pearl-chain-vertical.component-Lx47SlJU.js → pearl-chain-vertical.component-CDOWaup3.js} +6 -6
  114. package/pearl-chain-vertical.js +1 -1
  115. package/pearl-chain-vertical.pure.js +1 -1
  116. package/{pearl-chain.component-BAtmfmpA.js → pearl-chain.component-C6lcD7Xl.js} +5 -5
  117. package/pearl-chain.js +1 -1
  118. package/pearl-chain.pure.js +1 -1
  119. package/seat-reservation/seat-reservation/seat-reservation-base-element.js +130 -77
  120. package/seat-reservation/seat-reservation/seat-reservation.component.js +1 -1
  121. package/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +1 -1
  122. package/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +1 -1
  123. package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +1 -1
  124. package/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +1 -1
  125. package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +1 -1
  126. package/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js +1 -1
  127. package/seat-reservation-area.component-BcmwKJSK.js +73 -0
  128. package/seat-reservation-graphic.component-C3wc4DKr.js +102 -0
  129. package/{seat-reservation-navigation-coach.component-CGfmiQJq.js → seat-reservation-navigation-coach.component-D1SgS8BU.js} +51 -51
  130. package/{seat-reservation-navigation-services.component-DQviLWvy.js → seat-reservation-navigation-services.component-CfAQa7pa.js} +29 -27
  131. package/{seat-reservation-place-control.component-BYJi6aYS.js → seat-reservation-place-control.component-DrzEDW8Z.js} +42 -42
  132. package/{seat-reservation-scoped.component-CdB7HYzl.js → seat-reservation-scoped.component-BohQUGVW.js} +6 -6
  133. package/{seat-reservation.component-DBtJhrR_.js → seat-reservation.component-CB2IWgM9.js} +84 -88
  134. package/seat-reservation.js +7 -7
  135. package/seat-reservation.pure.js +7 -7
  136. package/timetable-duration/timetable-duration.component.js +1 -1
  137. package/{timetable-duration.component-PmvoOKVw.js → timetable-duration.component-DPRcG1LP.js} +7 -7
  138. package/timetable-duration.js +1 -1
  139. package/timetable-duration.pure.js +1 -1
  140. package/timetable-row/timetable-row.component.js +1 -1
  141. package/{timetable-row.component-BnmrhD2d.js → timetable-row.component-BqIVlISS.js} +34 -34
  142. package/timetable-row.js +1 -1
  143. package/timetable-row.pure.js +1 -1
  144. package/development/autocomplete-grid-cell.component-Buvsof-Y.js +0 -33
  145. package/development/journey-summary.component-B9P1PAJv.js +0 -342
  146. package/development/pearl-chain-vertical.component-Cmc3QXgd.js +0 -30
  147. package/development/seat-reservation-area.component-BQEtJhk0.js +0 -94
  148. package/development/seat-reservation-graphic.component-XpqxL5nq.js +0 -129
  149. package/development/seat-reservation.component-C-ttTPW5.js +0 -515
  150. package/development/timetable-duration.component-2JBYobDt.js +0 -96
  151. package/development/timetable-row.component-Binmks-o.js +0 -732
  152. package/seat-reservation-area.component-CVc6uuMG.js +0 -73
  153. package/seat-reservation-graphic.component-Dzkv9tyR.js +0 -102
@@ -3,12 +3,12 @@ import { mapIconToSvg as i } from "./seat-reservation/common/mapper/icon-mapper.
3
3
  import "./seat-reservation/common/mapper.js";
4
4
  import { t as a } from "./svgs-D5DhLHxC.js";
5
5
  import { getI18nSeatReservation as o } from "./seat-reservation/common/translations/i18n.js";
6
- import { t as s } from "./seat-reservation-area.component-CVc6uuMG.js";
7
- import { t as c } from "./seat-reservation-graphic.component-Dzkv9tyR.js";
8
- import { t as l } from "./seat-reservation-navigation-coach.component-CGfmiQJq.js";
9
- import { t as u } from "./seat-reservation-navigation-services.component-DQviLWvy.js";
10
- import { t as d } from "./seat-reservation-place-control.component-BYJi6aYS.js";
11
- import { t as f } from "./seat-reservation-scoped.component-CdB7HYzl.js";
6
+ import { t as s } from "./seat-reservation-area.component-BcmwKJSK.js";
7
+ import { t as c } from "./seat-reservation-graphic.component-C3wc4DKr.js";
8
+ import { t as l } from "./seat-reservation-navigation-coach.component-D1SgS8BU.js";
9
+ import { t as u } from "./seat-reservation-navigation-services.component-CfAQa7pa.js";
10
+ import { t as d } from "./seat-reservation-place-control.component-DrzEDW8Z.js";
11
+ import { t as f } from "./seat-reservation-scoped.component-BohQUGVW.js";
12
12
  import { SeatReservationBaseElement as p } from "./seat-reservation/seat-reservation/seat-reservation-base-element.js";
13
- import { t as m } from "./seat-reservation.component-DBtJhrR_.js";
13
+ import { t as m } from "./seat-reservation.component-CB2IWgM9.js";
14
14
  export { s as SbbSeatReservationAreaElement, m as SbbSeatReservationElement, c as SbbSeatReservationGraphicElement, l as SbbSeatReservationNavigationCoachElement, u as SbbSeatReservationNavigationServicesElement, d as SbbSeatReservationPlaceControlElement, f as SbbSeatReservationScopedElement, p as SeatReservationBaseElement, o as getI18nSeatReservation, r as mapCoachInfosToCoachSelection, i as mapIconToSvg, t as mapPlaceAndCoachToSeatReservationPlaceSelection, n as mapPlaceInfosToPlaceSelection, e as mapRawDataToSeatReservation, a as svgs };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../timetable-duration.component-PmvoOKVw.js";
1
+ import { t as e } from "../timetable-duration.component-DPRcG1LP.js";
2
2
  export { e as SbbTimetableDurationElement };
@@ -1,9 +1,9 @@
1
1
  import { __esDecorate as e, __runInitializers as t } from "tslib";
2
- import { SbbElement as n, SbbLanguageController as r, boxSizingStyles as i, forceType as a, i18nDurationHour as o, i18nDurationMinute as s } from "@sbb-esta/lyne-elements/core.js";
2
+ import { SbbElement as n, SbbLanguageController as r, forceType as i, i18nDurationHour as a, i18nDurationMinute as o, screenReaderOnlyStyles as s } from "@sbb-esta/lyne-elements/core.js";
3
3
  import { html as c, unsafeCSS as l } from "lit";
4
4
  import { property as u } from "lit/decorators.js";
5
5
  //#region src/elements-experimental/timetable-duration/timetable-duration.scss?inline
6
- var d = ":host{display:inline-block}.duration{--sbb-text-font-size: var(--sbb-text-font-size-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);margin:0;white-space:nowrap}.duration__text--visually-hidden{border:0;clip-path:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}", f = (() => {
6
+ var d = ":host{display:inline-block}.duration{--sbb-text-font-size: var(--sbb-text-font-size-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);margin:0;white-space:nowrap}", f = (() => {
7
7
  let f = n, p, m = [], h = [];
8
8
  return class extends f {
9
9
  constructor() {
@@ -11,7 +11,7 @@ var d = ":host{display:inline-block}.duration{--sbb-text-font-size: var(--sbb-te
11
11
  }
12
12
  static {
13
13
  let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(f[Symbol.metadata] ?? null) : void 0;
14
- p = [a(), u()], e(this, null, p, {
14
+ p = [i(), u()], e(this, null, p, {
15
15
  kind: "accessor",
16
16
  name: "config",
17
17
  static: !1,
@@ -35,7 +35,7 @@ var d = ":host{display:inline-block}.duration{--sbb-text-font-size: var(--sbb-te
35
35
  this.elementName = "sbb-timetable-duration";
36
36
  }
37
37
  static {
38
- this.styles = [i, l(d)];
38
+ this.styles = [s, l(d)];
39
39
  }
40
40
  #e;
41
41
  get config() {
@@ -45,13 +45,13 @@ var d = ":host{display:inline-block}.duration{--sbb-text-font-size: var(--sbb-te
45
45
  this.#e = e;
46
46
  }
47
47
  render() {
48
- let e = JSON.parse(this.config), t = o.multiple.short[this._language.current], n = s.multiple.short[this._language.current], r = "", i = "", a = o.multiple.long[this._language.current], l = s.multiple.long[this._language.current];
49
- return e.hours === 1 && (a = o.single.long[this._language.current]), e.minutes === 1 && (l = s.single.long[this._language.current]), e.hours !== 0 && (r += `${e.hours} ${t}`, i += `${e.hours} ${a}`), r += ` ${e.minutes} ${n}`, i += ` ${e.minutes} ${l}.`, c`
48
+ let e = JSON.parse(this.config), t = a.multiple.short[this._language.current], n = o.multiple.short[this._language.current], r = "", i = "", s = a.multiple.long[this._language.current], l = o.multiple.long[this._language.current];
49
+ return e.hours === 1 && (s = a.single.long[this._language.current]), e.minutes === 1 && (l = o.single.long[this._language.current]), e.hours !== 0 && (r += `${e.hours} ${t}`, i += `${e.hours} ${s}`), r += ` ${e.minutes} ${n}`, i += ` ${e.minutes} ${l}.`, c`
50
50
  <p aria-label=${i} class="duration" role="text">
51
51
  <span aria-hidden="true" class="duration__text--visual" role="presentation">
52
52
  ${r}
53
53
  </span>
54
- <span class="duration__text--visually-hidden">${i}</span>
54
+ <span class="sbb-screen-reader-only">${i}</span>
55
55
  </p>
56
56
  `;
57
57
  }
@@ -1,4 +1,4 @@
1
- import { t as e } from "./timetable-duration.component-PmvoOKVw.js";
1
+ import { t as e } from "./timetable-duration.component-DPRcG1LP.js";
2
2
  import "./timetable-duration.pure.js";
3
3
  //#region src/elements-experimental/timetable-duration.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./timetable-duration.component-PmvoOKVw.js";
1
+ import { t as e } from "./timetable-duration.component-DPRcG1LP.js";
2
2
  export { e as SbbTimetableDurationElement };
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../timetable-row.component-BnmrhD2d.js";
1
+ import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../timetable-row.component-BqIVlISS.js";
2
2
  export { s as SbbTimetableRowElement, r as filterNotices, a as getCus, n as getHimIcon, e as handleNotices, i as renderIconProduct, o as renderStringProduct, t as sortSituation };
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./format-DbUuNYFU.js";
2
2
  import { __esDecorate as t, __runInitializers as n } from "tslib";
3
- import { SbbElement as r, SbbLanguageController as i, boxSizingStyles as a, defaultDateAdapter as o, forceType as s, i18nArrival as c, i18nClass as l, i18nDeparture as u, i18nDirection as d, i18nFromPlatform as f, i18nMeansOfTransport as p, i18nNew as m, i18nOccupancy as h, i18nRealTimeInfo as g, i18nSupersaver as _, i18nTransferProcedure as v, i18nTransferProcedures as y, i18nTravelhints as b, i18nTripDuration as x, i18nTripQuayChange as S, setOrRemoveAttribute as C } from "@sbb-esta/lyne-elements/core.js";
3
+ import { SbbElement as r, SbbLanguageController as i, defaultDateAdapter as a, forceType as o, i18nArrival as s, i18nClass as c, i18nDeparture as l, i18nDirection as u, i18nFromPlatform as d, i18nMeansOfTransport as f, i18nNew as p, i18nOccupancy as m, i18nRealTimeInfo as h, i18nSupersaver as g, i18nTransferProcedure as _, i18nTransferProcedures as v, i18nTravelhints as y, i18nTripDuration as b, i18nTripQuayChange as x, screenReaderOnlyStyles as S, setOrRemoveAttribute as C } from "@sbb-esta/lyne-elements/core.js";
4
4
  import { SbbIconElement as w } from "@sbb-esta/lyne-elements/icon.pure.js";
5
5
  import { html as T, nothing as E, unsafeCSS as D } from "lit";
6
6
  import { property as O } from "lit/decorators.js";
@@ -9,7 +9,7 @@ import { SbbPearlChainTimeElement as M } from "./pearl-chain-time.pure.js";
9
9
  import { SbbCardBadgeElement as N, SbbCardButtonElement as P, SbbCardElement as F } from "@sbb-esta/lyne-elements/card.pure.js";
10
10
  import { SbbTimetableOccupancyElement as I } from "@sbb-esta/lyne-elements/timetable-occupancy.pure.js";
11
11
  //#region src/elements-experimental/timetable-row/timetable-row.scss?inline
12
- var L = ":host{--sbb-timetable-row-gap: var(--sbb-spacing-fixed-2x);--sbb-timetable-row-height: 1.5625rem;--sbb-timetable-row-height-header: 1.25rem;--sbb-timetable-row-height-footer: 1rem;--sbb-timetable-row-skeleton-pulse-duration: 1.8s;display:block}:host([disable-animation]){--sbb-timetable-row-skeleton-pulse-duration: 0}.sbb-timetable__row-transport-icon{--sbb-icon-svg-width: 1.25rem;--sbb-icon-svg-height: 1.25rem}.sbb-travel-hints__item{--sbb-icon-svg-height: .875rem}.sbb-screen-reader-only{border:0;clip-path:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.sbb-timetable__row--quay{margin-inline-end:var(--sbb-spacing-fixed-1x)}.sbb-timetable__row--quay-type{float:left}ul{list-style:none;margin:0;padding:0;font-size:inherit;display:inline-flex}li,.sbb-timetable__row-transport{display:inline-flex;align-self:center}.sbb-timetable__row-transportnumber,.sbb-timetable__row-time{--sbb-text-font-size: var(--sbb-text-font-size-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);font-weight:700;line-height:unset;white-space:nowrap;align-self:center}.sbb-timetable__row{--sbb-text-font-size: var(--sbb-text-font-size-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);display:flex;flex-direction:column;gap:var(--sbb-timetable-row-gap)}.sbb-timetable__row-header,.sbb-timetable__row-footer{animation:none}.sbb-timetable__row-header{display:flex;gap:var(--sbb-spacing-fixed-2x);align-items:center;line-height:var(--sbb-timetable-row-height-header)}.sbb-timetable__row-details,.sbb-timetable__row-hints{display:inline-flex;gap:var(--sbb-spacing-fixed-1x);align-items:center}.sbb-timetable__row-header p{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0;align-self:center}.sbb-timetable__row-footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:var(--sbb-spacing-fixed-2x);line-height:var(--sbb-timetable-row-height-footer)}.sbb-timetable__row-footer>span{align-self:center}.sbb-timetable__row-footer :only-child{margin-inline-start:auto}.sbb-timetable__row-quay--changed{color:var(--sbb-color-primary)}.sbb-timetable__row-transport-wrapper,.sbb-timetable__row-warning{display:inline-flex}.sbb-loading{pointer-events:none}.sbb-loading__wrapper{display:flex;flex-direction:column;gap:var(--sbb-spacing-fixed-2x)}.sbb-loading__row{width:100%;border-radius:var(--sbb-border-radius-1x);height:var(--sbb-timetable-row-height)}@media(min-width:64rem){.sbb-loading__row{height:1.75rem}}@media(forced-colors:active){.sbb-loading__row{border:var(--sbb-border-width-1x) solid ButtonBorder!important}}.sbb-loading__row,.sbb-loading__badge{background:var(--sbb-background-color-4);animation:skeleton-pulse var(--sbb-timetable-row-skeleton-pulse-duration) ease-out infinite}.sbb-loading__row:first-of-type{height:var(--sbb-timetable-row-height-header);width:50%}.sbb-loading__row:last-of-type{height:var(--sbb-timetable-row-height-footer)}.sbb-loading__badge{margin-inline:auto calc(var(--sbb-spacing-fixed-3x) * -1);padding-inline-end:var(--sbb-spacing-fixed-6x);border-end-start-radius:var(--sbb-card-badge-border-radius);transform:var(--sbb-card-badge-skew);width:7.1875rem;height:1.25rem}@keyframes skeleton-pulse{0%{background:var(--sbb-background-color-4)}17%{background:var(--sbb-background-color-4)}50%{background:var(--sbb-background-color-3)}67%{background:var(--sbb-background-color-3)}to{background:var(--sbb-background-color-4)}}", R = (e, t) => T`<span class="sbb-timetable__row-transport">
12
+ var L = ":host{--sbb-timetable-row-gap: var(--sbb-spacing-fixed-2x);--sbb-timetable-row-height: 1.5625rem;--sbb-timetable-row-height-header: 1.25rem;--sbb-timetable-row-height-footer: 1rem;--sbb-timetable-row-skeleton-pulse-duration: 1.8s;display:block}:host([disable-animation]){--sbb-timetable-row-skeleton-pulse-duration: 0}.sbb-timetable__row-transport-icon{--sbb-icon-svg-width: 1.25rem;--sbb-icon-svg-height: 1.25rem}.sbb-travel-hints__item{--sbb-icon-svg-height: .875rem}.sbb-timetable__row--quay{margin-inline-end:var(--sbb-spacing-fixed-1x)}.sbb-timetable__row--quay-type{float:left}ul{list-style:none;margin:0;padding:0;font-size:inherit;display:inline-flex}li,.sbb-timetable__row-transport{display:inline-flex;align-self:center}.sbb-timetable__row-transportnumber,.sbb-timetable__row-time{--sbb-text-font-size: var(--sbb-text-font-size-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);font-weight:700;line-height:unset;white-space:nowrap;align-self:center}.sbb-timetable__row{--sbb-text-font-size: var(--sbb-text-font-size-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);display:flex;flex-direction:column;gap:var(--sbb-timetable-row-gap)}.sbb-timetable__row-header,.sbb-timetable__row-footer{animation:none}.sbb-timetable__row-header{display:flex;gap:var(--sbb-spacing-fixed-2x);align-items:center;line-height:var(--sbb-timetable-row-height-header)}.sbb-timetable__row-details,.sbb-timetable__row-hints{display:inline-flex;gap:var(--sbb-spacing-fixed-1x);align-items:center}.sbb-timetable__row-header p{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0;align-self:center}.sbb-timetable__row-footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:var(--sbb-spacing-fixed-2x);line-height:var(--sbb-timetable-row-height-footer)}.sbb-timetable__row-footer>span{align-self:center}.sbb-timetable__row-footer :only-child{margin-inline-start:auto}.sbb-timetable__row-quay--changed{color:var(--sbb-color-primary)}.sbb-timetable__row-transport-wrapper,.sbb-timetable__row-warning{display:inline-flex}.sbb-loading{pointer-events:none}.sbb-loading__wrapper{display:flex;flex-direction:column;gap:var(--sbb-spacing-fixed-2x)}.sbb-loading__row{width:100%;border-radius:var(--sbb-border-radius-1x);height:var(--sbb-timetable-row-height)}@media(min-width:64rem){.sbb-loading__row{height:1.75rem}}@media(forced-colors:active){.sbb-loading__row{border:var(--sbb-border-width-1x) solid ButtonBorder!important}}.sbb-loading__row,.sbb-loading__badge{background:var(--sbb-background-color-4);animation:skeleton-pulse var(--sbb-timetable-row-skeleton-pulse-duration) ease-out infinite}.sbb-loading__row:first-of-type{height:var(--sbb-timetable-row-height-header);width:50%}.sbb-loading__row:last-of-type{height:var(--sbb-timetable-row-height-footer)}.sbb-loading__badge{margin-inline:auto calc(var(--sbb-spacing-fixed-3x) * -1);padding-inline-end:var(--sbb-spacing-fixed-6x);border-end-start-radius:var(--sbb-card-badge-border-radius);transform:var(--sbb-card-badge-skew);width:7.1875rem;height:1.25rem}@keyframes skeleton-pulse{0%{background:var(--sbb-background-color-4)}17%{background:var(--sbb-background-color-4)}50%{background:var(--sbb-background-color-3)}67%{background:var(--sbb-background-color-3)}to{background:var(--sbb-background-color-4)}}", R = (e, t) => T`<span class="sbb-timetable__row-transport">
13
13
  <sbb-icon name=${e}></sbb-icon>
14
14
  <span class="sbb-screen-reader-only">${t}</span>
15
15
  </span>`, z = (e, t) => {
@@ -88,7 +88,7 @@ var L = ":host{--sbb-timetable-row-gap: var(--sbb-spacing-fixed-2x);--sbb-timeta
88
88
  let e = i[0].departure;
89
89
  return {
90
90
  name: "platform-change",
91
- text: e.quayChanged ? e.quayChangedText : S[t]
91
+ text: e.quayChanged ? e.quayChangedText : x[t]
92
92
  };
93
93
  }
94
94
  return {};
@@ -129,30 +129,30 @@ var L = ":host{--sbb-timetable-row-gap: var(--sbb-spacing-fixed-2x);--sbb-timeta
129
129
  n[1]
130
130
  ].concat(n.slice(2)) : [t, ...n] : [t];
131
131
  }, X = (() => {
132
- let S = r, B = [], V, H = [], U = [], q, J = [], X = [], Z, Q = [], te = [], $, ne = [], re = [], ie, ae = [], oe = [], se, ce = [], le = [], ue, de = [], fe = [], pe, me = [], he = [], ge, _e = [], ve = [], ye, be = [], xe = [], Se;
133
- return class extends S {
132
+ let x = r, B = [], V, H = [], U = [], q, J = [], X = [], Z, Q = [], $ = [], te, ne = [], re = [], ie, ae = [], oe = [], se, ce = [], le = [], ue, de = [], fe = [], pe, me = [], he = [], ge, _e = [], ve = [], ye, be = [], xe = [], Se;
133
+ return class extends x {
134
134
  constructor() {
135
- super(...arguments), this.#e = (n(this, B), n(this, H, null)), this.#t = (n(this, U), n(this, J, null)), this.#n = (n(this, X), n(this, Q, !1)), this.#r = (n(this, te), n(this, ne, null)), this.#i = (n(this, re), n(this, ae, !1)), this.#a = (n(this, oe), n(this, ce, !1)), this.#o = (n(this, le), n(this, de, !1)), this.#s = (n(this, fe), n(this, me, "")), this.#c = (n(this, he), n(this, _e, !1)), this.#l = (n(this, ve), n(this, be, !1)), this._now = (n(this, xe), null), this._language = new i(this);
135
+ super(...arguments), this.#e = (n(this, B), n(this, H, null)), this.#t = (n(this, U), n(this, J, null)), this.#n = (n(this, X), n(this, Q, !1)), this.#r = (n(this, $), n(this, ne, null)), this.#i = (n(this, re), n(this, ae, !1)), this.#a = (n(this, oe), n(this, ce, !1)), this.#o = (n(this, le), n(this, de, !1)), this.#s = (n(this, fe), n(this, me, "")), this.#c = (n(this, he), n(this, _e, !1)), this.#l = (n(this, ve), n(this, be, !1)), this._now = (n(this, xe), null), this._language = new i(this);
136
136
  }
137
137
  static {
138
- let e = typeof Symbol == "function" && Symbol.metadata ? Object.create(S[Symbol.metadata] ?? null) : void 0;
139
- V = [O({ type: Object })], q = [O({ type: Object })], Z = [s(), O({
138
+ let e = typeof Symbol == "function" && Symbol.metadata ? Object.create(x[Symbol.metadata] ?? null) : void 0;
139
+ V = [O({ type: Object })], q = [O({ type: Object })], Z = [o(), O({
140
140
  attribute: "disable-animation",
141
141
  reflect: !0,
142
142
  type: Boolean
143
- })], $ = [O({ type: Object })], ie = [s(), O({
143
+ })], te = [O({ type: Object })], ie = [o(), O({
144
144
  attribute: "loading-trip",
145
145
  type: Boolean
146
- })], se = [s(), O({
146
+ })], se = [o(), O({
147
147
  attribute: "a11y-footpath",
148
148
  type: Boolean
149
- })], ue = [s(), O({
149
+ })], ue = [o(), O({
150
150
  attribute: "loading-price",
151
151
  type: Boolean
152
- })], pe = [s(), O({ attribute: "card-action-label" })], ge = [s(), O({
152
+ })], pe = [o(), O({ attribute: "card-action-label" })], ge = [o(), O({
153
153
  attribute: "accessibility-expanded",
154
154
  type: Boolean
155
- })], ye = [s(), O({ type: Boolean })], Se = [O()], t(this, null, V, {
155
+ })], ye = [o(), O({ type: Boolean })], Se = [O()], t(this, null, V, {
156
156
  kind: "accessor",
157
157
  name: "trip",
158
158
  static: !1,
@@ -191,7 +191,7 @@ var L = ":host{--sbb-timetable-row-gap: var(--sbb-spacing-fixed-2x);--sbb-timeta
191
191
  }
192
192
  },
193
193
  metadata: e
194
- }, Q, te), t(this, null, $, {
194
+ }, Q, $), t(this, null, te, {
195
195
  kind: "accessor",
196
196
  name: "boarding",
197
197
  static: !1,
@@ -315,7 +315,7 @@ var L = ":host{--sbb-timetable-row-gap: var(--sbb-spacing-fixed-2x);--sbb-timeta
315
315
  ];
316
316
  }
317
317
  static {
318
- this.styles = [a, D(L)];
318
+ this.styles = [S, D(L)];
319
319
  }
320
320
  #e;
321
321
  get trip() {
@@ -388,7 +388,7 @@ var L = ":host{--sbb-timetable-row-gap: var(--sbb-spacing-fixed-2x);--sbb-timeta
388
388
  this.#l = e;
389
389
  }
390
390
  set now(e) {
391
- this._now = o.getValidDateOrNull(o.deserialize(e));
391
+ this._now = a.getValidDateOrNull(a.deserialize(e));
392
392
  }
393
393
  get now() {
394
394
  return this._now ?? /* @__PURE__ */ new Date();
@@ -415,7 +415,7 @@ var L = ":host{--sbb-timetable-row-gap: var(--sbb-spacing-fixed-2x);--sbb-timeta
415
415
  if (!this.trip.summary?.product) return null;
416
416
  let e = this._getRideLegs(), t = this.trip.summary.product?.vehicleMode === "TRAIN" ? e[0].serviceJourney.quayTypeShortName || "" : e[0].serviceJourney.quayTypeName || "";
417
417
  return {
418
- long: f[this._language.current] + " " + t,
418
+ long: d[this._language.current] + " " + t,
419
419
  short: t
420
420
  };
421
421
  }
@@ -439,9 +439,9 @@ var L = ":host{--sbb-timetable-row-gap: var(--sbb-spacing-fixed-2x);--sbb-timeta
439
439
  };
440
440
  }
441
441
  _getAccessibilityText(t) {
442
- let { summary: n, legs: r, notices: i } = t || {}, { departureWalk: a, arrivalWalk: o, departure: s, arrival: f, product: S, direction: C, occupancy: w, duration: T } = n || {}, { departureTimeAttribute: E, arrivalTimeAttribute: D } = ee(r, a || 0, o || 0, this._language.current, this.a11yFootpath), O = this._getRideLegs(), A = s?.time ? j(s.time) : void 0, M = f?.time ? j(f.time) : void 0, N = E ? `${E.text} ${E.duration}, ` : "", P = D ? `${D.text} ${D.duration}, ` : "", F = A ? `${u[this._language.current]}: ${e(A, "HH:mm")}, ` : "", I = () => s?.quayFormatted ? `${s?.quayChanged ? `${m[this._language.current]} ` : ""}${this._getQuayTypeStrings()?.long} ${s?.quayFormatted}, ` : "", L = S && S.vehicleMode ? p[S.vehicleMode.toLowerCase()] && `${p[S.vehicleMode.toLowerCase()][this._language.current]}, ` : "", R = S?.vehicleSubModeShortName ? `${S.vehicleSubModeShortName} ${S.line || ""}, ` : "", z = `${d[this._language.current]} ${C}, `, B = this._handleHimCus(t), V = B?.cus?.text ? `${g[this._language.current]}: ${B?.cus?.text}, ` : "", H = B?.him?.text ? `${g[this._language.current]}: ${B?.him?.text}, ` : "", U = this.boarding ? `${this.boarding.text}, ` : "", W = `${this.price?.isDiscount ? _[this._language.current] : ""} ${this.price?.text && this.price?.price ? (this.price?.text || "") + " " + (this.price?.price || "") + ", " : ""}`, G = O.length > 2 ? `${O.length - 1} ${y[this._language.current]}, ` : O.length > 1 ? `${O.length - 1} ${v[this._language.current]}, ` : "", K = M ? `${c[this._language.current]}: ${e(M, "HH:mm")}, ` : "", q = "";
443
- w && (w.firstClass && w.firstClass !== "UNKNOWN" && (q += `${l.first[this._language.current]} ${h[w.firstClass.toLowerCase()]?.[this._language.current]}.`), w.secondClass && w.secondClass !== "UNKNOWN" && (q += ` ${l.second[this._language.current]} ${h[w.secondClass.toLowerCase()]?.[this._language.current]}.`));
444
- let J = i && Y(i).length && Y(i)?.map((e, t) => t < 4 && e.text?.template).join(", ") + ", ", X = J ? `${b[this._language.current]}: ${J}` : "", Z = T && T > 0 ? `${x[this._language.current]} ${k(T, this._language.current).long}, ` : "";
442
+ let { summary: n, legs: r, notices: i } = t || {}, { departureWalk: a, arrivalWalk: o, departure: d, arrival: x, product: S, direction: C, occupancy: w, duration: T } = n || {}, { departureTimeAttribute: E, arrivalTimeAttribute: D } = ee(r, a || 0, o || 0, this._language.current, this.a11yFootpath), O = this._getRideLegs(), A = d?.time ? j(d.time) : void 0, M = x?.time ? j(x.time) : void 0, N = E ? `${E.text} ${E.duration}, ` : "", P = D ? `${D.text} ${D.duration}, ` : "", F = A ? `${l[this._language.current]}: ${e(A, "HH:mm")}, ` : "", I = () => d?.quayFormatted ? `${d?.quayChanged ? `${p[this._language.current]} ` : ""}${this._getQuayTypeStrings()?.long} ${d?.quayFormatted}, ` : "", L = S && S.vehicleMode ? f[S.vehicleMode.toLowerCase()] && `${f[S.vehicleMode.toLowerCase()][this._language.current]}, ` : "", R = S?.vehicleSubModeShortName ? `${S.vehicleSubModeShortName} ${S.line || ""}, ` : "", z = `${u[this._language.current]} ${C}, `, B = this._handleHimCus(t), V = B?.cus?.text ? `${h[this._language.current]}: ${B?.cus?.text}, ` : "", H = B?.him?.text ? `${h[this._language.current]}: ${B?.him?.text}, ` : "", U = this.boarding ? `${this.boarding.text}, ` : "", W = `${this.price?.isDiscount ? g[this._language.current] : ""} ${this.price?.text && this.price?.price ? (this.price?.text || "") + " " + (this.price?.price || "") + ", " : ""}`, G = O.length > 2 ? `${O.length - 1} ${v[this._language.current]}, ` : O.length > 1 ? `${O.length - 1} ${_[this._language.current]}, ` : "", K = M ? `${s[this._language.current]}: ${e(M, "HH:mm")}, ` : "", q = "";
443
+ w && (w.firstClass && w.firstClass !== "UNKNOWN" && (q += `${c.first[this._language.current]} ${m[w.firstClass.toLowerCase()]?.[this._language.current]}.`), w.secondClass && w.secondClass !== "UNKNOWN" && (q += ` ${c.second[this._language.current]} ${m[w.secondClass.toLowerCase()]?.[this._language.current]}.`));
444
+ let J = i && Y(i).length && Y(i)?.map((e, t) => t < 4 && e.text?.template).join(", ") + ", ", X = J ? `${y[this._language.current]}: ${J}` : "", Z = T && T > 0 ? `${b[this._language.current]} ${k(T, this._language.current).long}, ` : "";
445
445
  return [
446
446
  N,
447
447
  F,
@@ -463,7 +463,7 @@ var L = ":host{--sbb-timetable-row-gap: var(--sbb-spacing-fixed-2x);--sbb-timeta
463
463
  }
464
464
  render() {
465
465
  if (this.loadingTrip) return this._renderSkeleton();
466
- let { legs: e, id: t, notices: n, summary: r } = this.trip || {}, { product: i, direction: a, departureWalk: o, departure: s, arrival: c, arrivalWalk: l, occupancy: f, duration: h } = r || {}, g = this._handleHimCus(this.trip), v = !!g.cus || !!g.him, y = n && Y(n), b = h ? k(h, this._language.current) : null;
466
+ let { legs: e, id: t, notices: n, summary: r } = this.trip || {}, { product: i, direction: a, departureWalk: o, departure: s, arrival: c, arrivalWalk: d, occupancy: m, duration: h } = r || {}, _ = this._handleHimCus(this.trip), v = !!_.cus || !!_.him, y = n && Y(n), x = h ? k(h, this._language.current) : null;
467
467
  return T`
468
468
  <sbb-card class="sbb-card-spacing-4x-xxs" id=${t}>
469
469
  <sbb-card-button
@@ -476,7 +476,7 @@ var L = ":host{--sbb-timetable-row-gap: var(--sbb-spacing-fixed-2x);--sbb-timeta
476
476
  ${this.price && !this.loadingPrice ? T`<sbb-card-badge color=${this.price.isDiscount ? "charcoal" : "white"}>
477
477
  ${this.price.isDiscount ? T`<span aria-hidden="true">
478
478
  %<span class="sbb-screen-reader-only"
479
- >${_[this._language.current]}</span
479
+ >${g[this._language.current]}</span
480
480
  >
481
481
  </span>` : E}
482
482
  ${this.price.text ? T`<span>${this.price.text}</span>` : E}
@@ -491,13 +491,13 @@ var L = ":host{--sbb-timetable-row-gap: var(--sbb-spacing-fixed-2x);--sbb-timeta
491
491
  name="picto:${i.corporateIdentityPictogram}"
492
492
  ></sbb-icon>
493
493
  <span class="sbb-screen-reader-only">
494
- ${i && i.vehicleMode && p[i.vehicleMode.toLowerCase()] && p[i.vehicleMode.toLowerCase()][this._language.current]}
494
+ ${i && i.vehicleMode && f[i.vehicleMode.toLowerCase()] && f[i.vehicleMode.toLowerCase()][this._language.current]}
495
495
  &nbsp;
496
496
  </span>
497
497
  </span>`}
498
498
  ${i && (i.corporateIdentityIcon ? R(i.corporateIdentityIcon, i.name) : i.vehicleSubModeShortName && z(i.vehicleSubModeShortName, i?.line))}
499
499
  </div>
500
- ${a ? T`<p>${`${d[this._language.current]} ${a}`}</p>` : E}
500
+ ${a ? T`<p>${`${u[this._language.current]} ${a}`}</p>` : E}
501
501
  </div>
502
502
  <sbb-pearl-chain-time
503
503
  role="gridcell"
@@ -505,7 +505,7 @@ var L = ":host{--sbb-timetable-row-gap: var(--sbb-spacing-fixed-2x);--sbb-timeta
505
505
  .departureTime=${s?.time}
506
506
  .arrivalTime=${c?.time}
507
507
  .departureWalk=${o}
508
- .arrivalWalk=${l}
508
+ .arrivalWalk=${d}
509
509
  ?disable-animation=${this.disableAnimation}
510
510
  ?a11y-footpath=${this.a11yFootpath}
511
511
  .now=${this.now}
@@ -515,14 +515,14 @@ var L = ":host{--sbb-timetable-row-gap: var(--sbb-spacing-fixed-2x);--sbb-timeta
515
515
  class=${s?.quayChanged ? "sbb-timetable__row-quay--changed" : E}
516
516
  >
517
517
  <span class="sbb-screen-reader-only">
518
- ${`${u[this._language.current]} ${s?.quayChanged ? m[this._language.current] : ""}`}
518
+ ${`${l[this._language.current]} ${s?.quayChanged ? p[this._language.current] : ""}`}
519
519
  &nbsp;
520
520
  </span>
521
521
  ${this._renderQuayType()} ${s?.quayFormatted}
522
522
  </span>` : E}
523
- ${f?.firstClass && f?.firstClass !== "UNKNOWN" || f?.secondClass && f.secondClass !== "UNKNOWN" ? T`<sbb-timetable-occupancy
524
- .firstClassOccupancy=${f?.firstClass?.toLowerCase()}
525
- .secondClassOccupancy=${f?.secondClass?.toLowerCase()}
523
+ ${m?.firstClass && m?.firstClass !== "UNKNOWN" || m?.secondClass && m.secondClass !== "UNKNOWN" ? T`<sbb-timetable-occupancy
524
+ .firstClassOccupancy=${m?.firstClass?.toLowerCase()}
525
+ .secondClassOccupancy=${m?.secondClass?.toLowerCase()}
526
526
  ></sbb-timetable-occupancy>` : E}
527
527
  ${y && y.length || this.boarding ? T`<ul class="sbb-timetable__row-hints" role="list">
528
528
  ${y?.map((e, t) => t < 4 ? T`<li>
@@ -543,13 +543,13 @@ var L = ":host{--sbb-timetable-row-gap: var(--sbb-spacing-fixed-2x);--sbb-timeta
543
543
  </ul>` : E}
544
544
  ${h && h > 0 ? T`<time>
545
545
  <span class="sbb-screen-reader-only">
546
- ${`${x[this._language.current]} ${b.long}`}
546
+ ${`${b[this._language.current]} ${x.long}`}
547
547
  </span>
548
- <span aria-hidden="true">${b.short}</span>
548
+ <span aria-hidden="true">${x.short}</span>
549
549
  </time>` : E}
550
- ${v && (g.cus || g.him) ? T`<span class="sbb-timetable__row-warning">
551
- <sbb-icon name=${(g.cus || g.him).name}></sbb-icon>
552
- <span class="sbb-screen-reader-only">${(g.cus || g.him).text}</span>
550
+ ${v && (_.cus || _.him) ? T`<span class="sbb-timetable__row-warning">
551
+ <sbb-icon name=${(_.cus || _.him).name}></sbb-icon>
552
+ <span class="sbb-screen-reader-only">${(_.cus || _.him).text}</span>
553
553
  </span>` : E}
554
554
  </div>
555
555
  </div>
package/timetable-row.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./timetable-row.component-BnmrhD2d.js";
1
+ import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./timetable-row.component-BqIVlISS.js";
2
2
  import "./timetable-row.pure.js";
3
3
  //#region src/elements-experimental/timetable-row.ts
4
4
  s.define();
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./timetable-row.component-BnmrhD2d.js";
1
+ import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./timetable-row.component-BqIVlISS.js";
2
2
  export { s as SbbTimetableRowElement, r as filterNotices, a as getCus, n as getHimIcon, e as handleNotices, i as renderIconProduct, o as renderStringProduct, t as sortSituation };
@@ -1,33 +0,0 @@
1
- import { SbbElement, boxSizingStyles } from "@sbb-esta/lyne-elements/core.js";
2
- import { html, unsafeCSS } from "lit";
3
- //#region src/elements-experimental/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.scss?inline
4
- var autocomplete_grid_cell_default = ":host {\n --sbb-autocomplete-grid-cell-gap: var(--sbb-spacing-fixed-6x);\n display: block;\n}\n\n.sbb-autocomplete-grid-cell {\n display: flex;\n column-gap: var(--sbb-autocomplete-grid-cell-gap);\n}";
5
- //#endregion
6
- //#region src/elements-experimental/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.ts
7
- /**
8
- * A wrapper component for autocomplete-grid action button.
9
- *
10
- * @slot - Use the unnamed slot to add a `sbb-autocomplete-grid-button` element.
11
- */
12
- var SbbAutocompleteGridCellElement = class extends SbbElement {
13
- static {
14
- this.elementName = "sbb-autocomplete-grid-cell";
15
- }
16
- static {
17
- this.role = "gridcell";
18
- }
19
- static {
20
- this.styles = [boxSizingStyles, unsafeCSS(autocomplete_grid_cell_default)];
21
- }
22
- render() {
23
- return html`
24
- <span class="sbb-autocomplete-grid-cell">
25
- <slot></slot>
26
- </span>
27
- `;
28
- }
29
- };
30
- //#endregion
31
- export { SbbAutocompleteGridCellElement as t };
32
-
33
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b2NvbXBsZXRlLWdyaWQtY2VsbC5jb21wb25lbnQtQnV2c29mLVkuanMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2VsZW1lbnRzLWV4cGVyaW1lbnRhbC9hdXRvY29tcGxldGUtZ3JpZC9hdXRvY29tcGxldGUtZ3JpZC1jZWxsL2F1dG9jb21wbGV0ZS1ncmlkLWNlbGwuc2Nzcz9pbmxpbmUiLCIuLi8uLi8uLi9zcmMvZWxlbWVudHMtZXhwZXJpbWVudGFsL2F1dG9jb21wbGV0ZS1ncmlkL2F1dG9jb21wbGV0ZS1ncmlkLWNlbGwvYXV0b2NvbXBsZXRlLWdyaWQtY2VsbC5jb21wb25lbnQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiQHVzZSAnQHNiYi1lc3RhL2x5bmUtZWxlbWVudHMvY29yZS9zdHlsZXMnIGFzIHNiYjtcblxuOmhvc3Qge1xuICAtLXNiYi1hdXRvY29tcGxldGUtZ3JpZC1jZWxsLWdhcDogdmFyKC0tc2JiLXNwYWNpbmctZml4ZWQtNngpO1xuXG4gIGRpc3BsYXk6IGJsb2NrO1xufVxuXG4uc2JiLWF1dG9jb21wbGV0ZS1ncmlkLWNlbGwge1xuICBkaXNwbGF5OiBmbGV4O1xuICBjb2x1bW4tZ2FwOiB2YXIoLS1zYmItYXV0b2NvbXBsZXRlLWdyaWQtY2VsbC1nYXApO1xufVxuIiwiaW1wb3J0IHsgU2JiRWxlbWVudCwgYm94U2l6aW5nU3R5bGVzIH0gZnJvbSAnQHNiYi1lc3RhL2x5bmUtZWxlbWVudHMvY29yZS5qcyc7XG5pbXBvcnQgeyB0eXBlIENTU1Jlc3VsdEdyb3VwLCBodG1sLCB0eXBlIFRlbXBsYXRlUmVzdWx0LCB1bnNhZmVDU1MgfSBmcm9tICdsaXQnO1xuXG5pbXBvcnQgc3R5bGUgZnJvbSAnLi9hdXRvY29tcGxldGUtZ3JpZC1jZWxsLnNjc3M/aW5saW5lJztcblxuLyoqXG4gKiBBIHdyYXBwZXIgY29tcG9uZW50IGZvciBhdXRvY29tcGxldGUtZ3JpZCBhY3Rpb24gYnV0dG9uLlxuICpcbiAqIEBzbG90IC0gVXNlIHRoZSB1bm5hbWVkIHNsb3QgdG8gYWRkIGEgYHNiYi1hdXRvY29tcGxldGUtZ3JpZC1idXR0b25gIGVsZW1lbnQuXG4gKi9cbmV4cG9ydCBjbGFzcyBTYmJBdXRvY29tcGxldGVHcmlkQ2VsbEVsZW1lbnQgZXh0ZW5kcyBTYmJFbGVtZW50IHtcbiAgcHVibGljIHN0YXRpYyBvdmVycmlkZSByZWFkb25seSBlbGVtZW50TmFtZTogc3RyaW5nID0gJ3NiYi1hdXRvY29tcGxldGUtZ3JpZC1jZWxsJztcbiAgcHVibGljIHN0YXRpYyBvdmVycmlkZSByZWFkb25seSByb2xlID0gJ2dyaWRjZWxsJztcbiAgcHVibGljIHN0YXRpYyBvdmVycmlkZSBzdHlsZXM6IENTU1Jlc3VsdEdyb3VwID0gW2JveFNpemluZ1N0eWxlcywgdW5zYWZlQ1NTKHN0eWxlKV07XG5cbiAgcHJvdGVjdGVkIG92ZXJyaWRlIHJlbmRlcigpOiBUZW1wbGF0ZVJlc3VsdCB7XG4gICAgcmV0dXJuIGh0bWxgXG4gICAgICA8c3BhbiBjbGFzcz1cInNiYi1hdXRvY29tcGxldGUtZ3JpZC1jZWxsXCI+XG4gICAgICAgIDxzbG90Pjwvc2xvdD5cbiAgICAgIDwvc3Bhbj5cbiAgICBgO1xuICB9XG59XG5cbmRlY2xhcmUgZ2xvYmFsIHtcbiAgaW50ZXJmYWNlIEhUTUxFbGVtZW50VGFnTmFtZU1hcCB7XG4gICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uYW1pbmctY29udmVudGlvblxuICAgICdzYmItYXV0b2NvbXBsZXRlLWdyaWQtY2VsbCc6IFNiYkF1dG9jb21wbGV0ZUdyaWRDZWxsRWxlbWVudDtcbiAgfVxufVxuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQ1VBLElBQWEsaUNBQWIsY0FBb0QsV0FBVTs7QUFDNUIsT0FBQSxjQUFzQjs7O0FBQ3RCLE9BQUEsT0FBTzs7O0FBQ2hCLE9BQUEsU0FBeUIsQ0FBQyxpQkFBaUIsVUFBVSwrQkFBTSxDQUFDOztDQUVoRSxTQUFNO0FBQ3ZCLFNBQU8sSUFBSSJ9