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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/_index.scss +2 -0
  2. package/{core.css → autocomplete-grid/_autocomplete-grid.global.scss} +4 -3
  3. package/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +4 -4
  4. package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +42 -66
  5. package/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +1 -1
  6. package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +1 -1
  7. package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +1 -1
  8. package/{autocomplete-grid-option.component-kcihiOWt.js → autocomplete-grid-option.component-DUFBhQwI.js} +1 -1
  9. package/autocomplete-grid.js +3 -3
  10. package/autocomplete-grid.pure.js +3 -3
  11. package/core/datetime/date-helper.js +1 -1
  12. package/core/styles/_theme.scss +19 -0
  13. package/core.js +1 -1
  14. package/custom-elements.json +165 -27
  15. package/{date-helper-CuMnZCsr.js → date-helper-DNzMLcyb.js} +3 -3
  16. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts.map +1 -1
  17. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +5 -5
  18. package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.d.ts.map +1 -1
  19. package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +54 -83
  20. package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +1 -1
  21. package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js +1 -1
  22. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.d.ts +0 -1
  23. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.d.ts.map +1 -1
  24. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +1 -1
  25. package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +1 -1
  26. package/development/{autocomplete-grid-cell.component-BF8i4388.js → autocomplete-grid-cell.component-BbdELDro.js} +1 -1
  27. package/development/{autocomplete-grid-option.component-D9pTXPlu.js → autocomplete-grid-option.component-C7WuqRit.js} +1 -2
  28. package/development/{autocomplete-grid-row.component-CBHh50jC.js → autocomplete-grid-row.component-DoXbOsQM.js} +1 -1
  29. package/development/autocomplete-grid.js +4 -4
  30. package/development/autocomplete-grid.pure.js +3 -3
  31. package/development/core/datetime/date-helper.js +1 -1
  32. package/development/core/timetable/access-leg-helper.js +1 -1
  33. package/development/core/timetable/timetable-helper.js +1 -1
  34. package/development/core.js +1 -1
  35. package/development/date-helper-BcTDWVeP.js +539 -0
  36. package/development/{differenceInMinutes-B7_GTDq7.js → differenceInMinutes-CxAbGYQ3.js} +2 -2
  37. package/development/{format-DFx4997p.js → format-Cx3zmmaF.js} +3 -3
  38. package/development/{isValid-JpZ7FphI.js → isValid-40Olgzo1.js} +2 -2
  39. package/development/journey-summary/journey-summary.component.js +1 -1
  40. package/development/journey-summary.component-BsC7wBIn.js +341 -0
  41. package/development/journey-summary.js +2 -2
  42. package/development/journey-summary.pure.js +1 -1
  43. package/development/{mapper-hWWm7Uke.js → mapper-BrZOqqfe.js} +1 -1
  44. package/development/pearl-chain/pearl-chain.component.js +1 -1
  45. package/development/pearl-chain-time/pearl-chain-time.component.js +1 -1
  46. package/development/{pearl-chain-time.component-BxVQ1z-Z.js → pearl-chain-time.component-C-CuC1ke.js} +3 -3
  47. package/development/pearl-chain-time.js +2 -2
  48. package/development/pearl-chain-time.pure.js +1 -1
  49. package/development/pearl-chain-vertical/pearl-chain-vertical.component.js +1 -1
  50. package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +1 -1
  51. package/development/{pearl-chain-vertical-item.component-DJioJtxP.js → pearl-chain-vertical-item.component-CLu9QrqJ.js} +2 -2
  52. package/development/pearl-chain-vertical-item.js +2 -2
  53. package/development/pearl-chain-vertical-item.pure.js +1 -1
  54. package/development/{pearl-chain-vertical.component-zSOeIkhh.js → pearl-chain-vertical.component-DbPz5k_R.js} +1 -1
  55. package/development/pearl-chain-vertical.js +2 -2
  56. package/development/pearl-chain-vertical.pure.js +1 -1
  57. package/development/pearl-chain.component-10OsJZIX.js +318 -0
  58. package/development/pearl-chain.js +2 -2
  59. package/development/pearl-chain.pure.js +1 -1
  60. package/development/seat-reservation/common/mapper/icon-mapper.js +1 -1
  61. package/development/seat-reservation/common/mapper/mapper.js +1 -1
  62. package/development/seat-reservation/common/mapper.js +1 -1
  63. package/development/seat-reservation/common/svgs.js +1 -1
  64. package/development/seat-reservation/common/translations/i18n.js +1 -1
  65. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts +11 -1
  66. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -1
  67. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.js +41 -24
  68. package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -1
  69. package/development/seat-reservation/seat-reservation/seat-reservation.component.js +1 -1
  70. package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +1 -1
  71. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +1 -1
  72. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts +6 -2
  73. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +1 -1
  74. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +2 -2
  75. package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +1 -1
  76. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts +6 -2
  77. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts.map +1 -1
  78. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +2 -2
  79. package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js +1 -1
  80. package/development/{seat-reservation-area.component-CMqjbUtV.js → seat-reservation-area.component-DPhQJFid.js} +2 -2
  81. package/development/{seat-reservation-graphic.component-C2r57590.js → seat-reservation-graphic.component-0LYsmerm.js} +2 -2
  82. package/development/seat-reservation-navigation-coach.component-B97jKD7Y.js +438 -0
  83. package/development/{seat-reservation-navigation-services.component-Do8JLJh3.js → seat-reservation-navigation-services.component-Cx0Is97w.js} +2 -2
  84. package/development/{seat-reservation-place-control.component-BfuOGZYq.js → seat-reservation-place-control.component-DaL1g8WH.js} +40 -37
  85. package/development/{seat-reservation-scoped.component-D-Mvw-Q3.js → seat-reservation-scoped.component-BHbORVsR.js} +1 -1
  86. package/development/seat-reservation.component-DI9pSlzt.js +473 -0
  87. package/development/seat-reservation.js +12 -12
  88. package/development/seat-reservation.pure.js +11 -11
  89. package/development/{svgs-kDpBCto5.js → svgs-Dj-RKmRs.js} +1 -1
  90. package/development/timetable-duration/timetable-duration.component.js +1 -1
  91. package/development/timetable-duration.component-Chk5D4Is.js +96 -0
  92. package/development/timetable-duration.js +2 -2
  93. package/development/timetable-duration.pure.js +1 -1
  94. package/development/timetable-row/timetable-row.component.d.ts.map +1 -1
  95. package/development/timetable-row/timetable-row.component.js +1 -1
  96. package/development/timetable-row.component-nzrQzxL6.js +736 -0
  97. package/development/timetable-row.js +2 -2
  98. package/development/timetable-row.pure.js +1 -1
  99. package/development/{toDate-DOFAOjP-.js → toDate-CDWut5fS.js} +1 -1
  100. package/{differenceInMinutes-Dr9gRqtu.js → differenceInMinutes-BAZ-Fham.js} +1 -1
  101. package/{format-DbUuNYFU.js → format-DjgG1QPc.js} +2 -2
  102. package/{isValid-B9oVW3lA.js → isValid-CXnsFZVu.js} +1 -1
  103. package/journey-summary/journey-summary.component.js +1 -1
  104. package/{journey-summary.component-CkDRawn9.js → journey-summary.component-DNoO3OCf.js} +41 -41
  105. package/journey-summary.js +1 -1
  106. package/journey-summary.pure.js +1 -1
  107. package/package.json +6 -6
  108. package/pearl-chain/pearl-chain.component.js +1 -1
  109. package/pearl-chain-time/pearl-chain-time.component.js +1 -1
  110. package/{pearl-chain-time.component-D5OCEBJ_.js → pearl-chain-time.component-BuvA6IE1.js} +33 -33
  111. package/pearl-chain-time.js +1 -1
  112. package/pearl-chain-time.pure.js +1 -1
  113. package/pearl-chain-vertical/pearl-chain-vertical.component.js +1 -1
  114. package/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +1 -1
  115. package/{pearl-chain-vertical-item.component-IdquCJMy.js → pearl-chain-vertical-item.component-QZ4s8Jbv.js} +24 -24
  116. package/pearl-chain-vertical-item.js +1 -1
  117. package/pearl-chain-vertical-item.pure.js +1 -1
  118. package/pearl-chain-vertical.js +1 -1
  119. package/pearl-chain-vertical.pure.js +1 -1
  120. package/{pearl-chain.component-C6lcD7Xl.js → pearl-chain.component-DtGXXkY6.js} +26 -26
  121. package/pearl-chain.js +1 -1
  122. package/pearl-chain.pure.js +1 -1
  123. package/seat-reservation/common/mapper/mapper.js +1 -1
  124. package/seat-reservation/common/mapper.js +1 -1
  125. package/seat-reservation/common/svgs.js +1 -1
  126. package/seat-reservation/seat-reservation/seat-reservation-base-element.js +91 -77
  127. package/seat-reservation/seat-reservation/seat-reservation.component.js +1 -1
  128. package/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +1 -1
  129. package/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +1 -1
  130. package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +2 -2
  131. package/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +1 -1
  132. package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +2 -2
  133. package/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js +1 -1
  134. package/{seat-reservation-area.component-BcmwKJSK.js → seat-reservation-area.component-G9lHb7S8.js} +16 -16
  135. package/{seat-reservation-graphic.component-C3wc4DKr.js → seat-reservation-graphic.component-BXFcQDxY.js} +20 -20
  136. package/seat-reservation-navigation-coach.component-BXy8EkJe.js +338 -0
  137. package/{seat-reservation-navigation-services.component-CfAQa7pa.js → seat-reservation-navigation-services.component-49XmV9rv.js} +21 -21
  138. package/{seat-reservation-place-control.component-DrzEDW8Z.js → seat-reservation-place-control.component-DToIW328.js} +70 -71
  139. package/{seat-reservation.component-RNI6_X71.js → seat-reservation.component--0XnrCkk.js} +78 -77
  140. package/seat-reservation.js +12 -12
  141. package/seat-reservation.pure.js +11 -11
  142. package/timetable-duration/timetable-duration.component.js +1 -1
  143. package/timetable-duration.component-iMCvh1zr.js +61 -0
  144. package/timetable-duration.js +1 -1
  145. package/timetable-duration.pure.js +1 -1
  146. package/timetable-row/timetable-row.component.js +1 -1
  147. package/{timetable-row.component-Din-TQ9u.js → timetable-row.component-mNKmhRmP.js} +89 -85
  148. package/timetable-row.js +1 -1
  149. package/timetable-row.pure.js +1 -1
  150. package/core/styles/core.scss +0 -13
  151. package/core/styles/theme.scss +0 -5
  152. package/development/date-helper-DGz-ztQM.js +0 -520
  153. package/development/journey-summary.component-De1ioDRq.js +0 -341
  154. package/development/pearl-chain.component-B83OsEx8.js +0 -312
  155. package/development/seat-reservation-navigation-coach.component-BwLbiHCG.js +0 -426
  156. package/development/seat-reservation.component-B-n0sIL5.js +0 -472
  157. package/development/timetable-duration.component-fBla8Kue.js +0 -96
  158. package/development/timetable-row.component-DSTGtQAC.js +0 -732
  159. package/seat-reservation-navigation-coach.component-D1SgS8BU.js +0 -328
  160. package/timetable-duration.component-DPRcG1LP.js +0 -61
  161. /package/{autocomplete-grid-cell.component-DAsWZlTn.js → autocomplete-grid-cell.component-79IjA__I.js} +0 -0
  162. /package/{autocomplete-grid-row.component-VbyYP0U-.js → autocomplete-grid-row.component-B3U15Rwa.js} +0 -0
  163. /package/{mapper-Cqie5ivY.js → mapper-Dcou8VEf.js} +0 -0
  164. /package/{pearl-chain-vertical.component-CDOWaup3.js → pearl-chain-vertical.component-Dc3vaHsQ.js} +0 -0
  165. /package/{seat-reservation-scoped.component-BohQUGVW.js → seat-reservation-scoped.component-D8dAmrP7.js} +0 -0
  166. /package/{svgs-D5DhLHxC.js → svgs-D4fuYTHV.js} +0 -0
  167. /package/{toDate-p-Tpkb7t.js → toDate-BhNUyM4s.js} +0 -0
@@ -1,22 +1,22 @@
1
- import { __esDecorate as e, __runInitializers as t } from "tslib";
2
- import { SbbElement as n, forceType as r } from "@sbb-esta/lyne-elements/core.js";
3
- import { html as i, nothing as a, unsafeCSS as o } from "lit";
1
+ import { SbbElement as e, forceType as t } from "@sbb-esta/lyne-elements/core.js";
2
+ import { html as n, nothing as r, unsafeCSS as i } from "lit";
3
+ import { __esDecorate as a, __runInitializers as o } from "tslib";
4
4
  import { property as s } from "lit/decorators.js";
5
5
  import { styleMap as c } from "lit/directives/style-map.js";
6
6
  //#region src/elements-experimental/pearl-chain-vertical-item/pearl-chain-vertical-item.scss?inline
7
7
  var l = ":host{--sbb-pearl-chain-position-color: var(--sbb-color-primary);--sbb-pearl-chain-bullet-size-start-end: .625rem;--sbb-pearl-chain-bullet-size-stop: .5rem;--sbb-pearl-chain-bullet-color: var(--sbb-background-color-3-inverted);--sbb-pearl-chain-bullet-color-past: var(--sbb-color-metal);--sbb-pearl-chain-bullet-color-past: light-dark(var(--sbb-color-metal), var(--sbb-color-granite));--sbb-pearl-chain-bullet-color-irrelevant: var(--sbb-color-metal);--sbb-pearl-chain-bullet-color-irrelevant: light-dark( var(--sbb-color-metal), var(--sbb-color-granite) );--sbb-pearl-chain-bullet-color-disruption: var(--sbb-color-error);--sbb-pearl-chain-bullet-border-width: var(--sbb-border-width-2x);--sbb-pearl-chain-bullet-animation-duration: 1.92s;--sbb-pearl-chain-bullet-animation-easing: ease-out;--sbb-pearl-chain-bullet-crossed-width: .88375rem;--sbb-pearl-chain-bullet-crossed-height: .21875rem;--sbb-pearl-chain-bullet-crossed-border-width: .09375rem;display:table-row;position:relative;--sbb-pearl-chain-vertical-right-item-width: 100%;--sbb-pearl-chain-vertical-middle-item-min-width: var(--sbb-pearl-chain-bullet-size-start-end);--sbb-pearl-chain-vertical-item-border-width: var(--sbb-border-width-2x);--sbb-pearl-chain-vertical-item-border-width-thin: var(--sbb-border-width-1x);--sbb-pearl-chain-vertical-item-spacing-small: var(--sbb-spacing-fixed-1x);--sbb-pearl-chain-vertical-item-color-default: var(--sbb-pearl-chain-bullet-color);--sbb-pearl-chain-vertical-item-color-disruption: var(--sbb-pearl-chain-bullet-color-disruption);--sbb-pearl-chain-vertical-item-color-past: var(--sbb-pearl-chain-bullet-color-past);--sbb-pearl-chain-vertical-item-color-walk: var(--sbb-color-sky);--sbb-pearl-chain-vertical-item-inline-start: 50%;--sbb-pearl-chain-vertical-item-transform: translateX(-50%)}slot[name=right],.sbb-pearl-chain-vertical-item__column{display:table-cell;position:relative;vertical-align:top}slot[name=right]{width:var(--sbb-pearl-chain-vertical-right-item-width)}.sbb-pearl-chain-vertical-item__column--middle{min-width:var(--sbb-pearl-chain-vertical-middle-item-min-width, --sbb-pearl-chain-vertical-middle-min-width)}slot[name=left]::slotted(*){margin-block-start:var(--sbb-pearl-chain-vertical-left-item-block-start);padding-inline-end:var(--sbb-pearl-chain-vertical-left-item-inline-end)}slot[name=right]::slotted(*){margin-block-start:var(--sbb-pearl-chain-vertical-right-item-block-start);padding-inline-start:var(--sbb-pearl-chain-vertical-right-item-inline-start)}.sbb-pearl-chain-vertical-item__middle{vertical-align:top;border-spacing:0}.sbb-pearl-chain-vertical-item__line{position:absolute;bottom:0;inset-inline-start:var(--sbb-pearl-chain-vertical-item-inline-start);transform:var(--sbb-pearl-chain-vertical-item-transform);width:var(--sbb-border-width-2x);inset-block-start:calc(var(--sbb-pearl-chain-bullet-size-start-end) / 2)}.sbb-pearl-chain-vertical-item__line:after{content:\"\";position:absolute;inset-inline-start:0;inset-block-start:0;height:var(--sbb-pearl-chain-vertical-item-leg-status);width:var(--sbb-pearl-chain-vertical-item-border-width);background-color:var(--sbb-pearl-chain-vertical-item-color-past)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line:after{--sbb-pearl-chain-vertical-item-color-past: GrayText}}.sbb-pearl-chain-vertical-item__line--dotted{background-color:unset;border-color:unset;background-image:linear-gradient(to bottom,currentcolor 0%,currentcolor 50%,Canvas 50%);background-repeat:repeat-y;background-size:calc(2 * var(--sbb-pearl-chain-vertical-item-spacing-small)) var(--sbb-pearl-chain-vertical-item-spacing-small)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line--dotted{background-color:unset!important;border-inline-start:.0625rem dashed Highlight;transform:translateY(.0625rem)}}.sbb-pearl-chain-vertical-item__line--thin{width:var(--sbb-pearl-chain-vertical-item-border-width-thin)}.sbb-pearl-chain-vertical-item__line--default{background-color:var(--sbb-pearl-chain-vertical-item-color-default);border-color:var(--sbb-pearl-chain-vertical-item-color-default);color:var(--sbb-pearl-chain-vertical-item-color-default)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line--default{--sbb-pearl-chain-vertical-item-color-default: CanvasText}}.sbb-pearl-chain-vertical-item__line--disruption{border-color:var(--sbb-pearl-chain-vertical-item-color-disruption);background-color:var(--sbb-pearl-chain-vertical-item-color-disruption);color:var(--sbb-pearl-chain-vertical-item-color-disruption)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line--disruption{--sbb-pearl-chain-vertical-item-color-disruption: Highlight}}.sbb-pearl-chain-vertical-item__line--past{border-color:var(--sbb-pearl-chain-vertical-item-color-past);background-color:var(--sbb-pearl-chain-vertical-item-color-past);color:var(--sbb-pearl-chain-vertical-item-color-past)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line--past{--sbb-pearl-chain-vertical-item-color-past: GrayText}}.sbb-pearl-chain-vertical-item__line--walk{border-color:var(--sbb-pearl-chain-vertical-item-color-walk);background-color:var(--sbb-pearl-chain-vertical-item-color-walk);color:var(--sbb-pearl-chain-vertical-item-color-walk)}.sbb-pearl-chain-vertical-item__bullet{position:relative;inset-inline-start:var(--sbb-pearl-chain-vertical-item-inline-start);transform:var(--sbb-pearl-chain-vertical-item-transform);background:var(--sbb-pearl-chain-bullet-color);color:var(--sbb-pearl-chain-bullet-color);border-color:var(--sbb-pearl-chain-bullet-color);border-radius:100%}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet{--sbb-pearl-chain-bullet-color: CanvasText}}.sbb-pearl-chain-vertical-item__bullet--start-end{min-height:var(--sbb-pearl-chain-bullet-size-start-end);min-width:var(--sbb-pearl-chain-bullet-size-start-end);height:var(--sbb-pearl-chain-bullet-size-start-end);width:var(--sbb-pearl-chain-bullet-size-start-end)}.sbb-pearl-chain-vertical-item__bullet--stop{min-height:var(--sbb-pearl-chain-bullet-size-stop);min-width:var(--sbb-pearl-chain-bullet-size-stop);height:var(--sbb-pearl-chain-bullet-size-stop);width:var(--sbb-pearl-chain-bullet-size-stop);border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain-vertical-item__bullet--disruption{--sbb-pearl-chain-bullet-color: var(--sbb-pearl-chain-bullet-color-disruption)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--disruption{--sbb-pearl-chain-bullet-color: Highlight}}.sbb-pearl-chain-vertical-item__bullet--irrelevant,.sbb-pearl-chain-vertical-item__bullet--past{--sbb-pearl-chain-bullet-color: var(--sbb-pearl-chain-bullet-color-past)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--irrelevant,.sbb-pearl-chain-vertical-item__bullet--past{--sbb-pearl-chain-bullet-color: GrayText !important}}.sbb-pearl-chain-vertical-item__bullet--stop.sbb-pearl-chain-vertical-item__bullet--irrelevant{--sbb-pearl-chain-bullet-border-width: var(--sbb-border-width-1x);min-height:var(--sbb-pearl-chain-bullet-size-stop);min-width:var(--sbb-pearl-chain-bullet-size-stop);height:var(--sbb-pearl-chain-bullet-size-stop);width:var(--sbb-pearl-chain-bullet-size-stop);border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain-vertical-item__bullet--start-end.sbb-pearl-chain-vertical-item__bullet--skipped{border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain-vertical-item__bullet--start-end.sbb-pearl-chain-vertical-item__bullet--skipped:before{content:\"\";position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%) rotate(45deg);border-block-start:var(--sbb-pearl-chain-bullet-crossed-border-width) solid canvas;background:var(--sbb-pearl-chain-bullet-color-disruption);height:var(--sbb-pearl-chain-bullet-crossed-height);width:var(--sbb-pearl-chain-bullet-crossed-width)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--start-end.sbb-pearl-chain-vertical-item__bullet--skipped:before{background:Highlight}}.sbb-pearl-chain-vertical-item__bullet--stop.sbb-pearl-chain-vertical-item__bullet--skipped{--sbb-pearl-chain-bullet-crossed-width: .706875rem;--sbb-pearl-chain-bullet-crossed-height: .1875rem;min-height:var(--sbb-pearl-chain-bullet-size-stop);min-width:var(--sbb-pearl-chain-bullet-size-stop);height:var(--sbb-pearl-chain-bullet-size-stop);width:var(--sbb-pearl-chain-bullet-size-stop);border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain-vertical-item__bullet--stop.sbb-pearl-chain-vertical-item__bullet--skipped:before{content:\"\";position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%) rotate(45deg);border-block-start:var(--sbb-pearl-chain-bullet-crossed-border-width) solid canvas;background:var(--sbb-pearl-chain-bullet-color-disruption);height:var(--sbb-pearl-chain-bullet-crossed-height);width:var(--sbb-pearl-chain-bullet-crossed-width)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--stop.sbb-pearl-chain-vertical-item__bullet--skipped:before{background:Highlight}}.sbb-pearl-chain-vertical-item__bullet--position{inset-block-start:var(--sbb-pearl-chain-vertical-item-position);position:absolute;left:50%;translate:-50% 0;min-height:var(--sbb-pearl-chain-bullet-size-start-end);min-width:var(--sbb-pearl-chain-bullet-size-start-end);height:var(--sbb-pearl-chain-bullet-size-start-end);width:var(--sbb-pearl-chain-bullet-size-start-end);background:var(--sbb-pearl-chain-bullet-color);color:var(--sbb-pearl-chain-bullet-color);border-color:var(--sbb-pearl-chain-bullet-color);border-radius:100%}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--position{--sbb-pearl-chain-bullet-color: CanvasText}}.sbb-pearl-chain-vertical-item__bullet--position{--sbb-pearl-chain-bullet-color: var(--sbb-pearl-chain-position-color)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--position{--sbb-pearl-chain-position-color: Highlight}}@keyframes pearl-chain-bullet-position-pulse{0%{box-shadow:0 0 0 0 var(--sbb-pearl-chain-position-color)}25%{box-shadow:0 0 0 0 var(--sbb-pearl-chain-position-color)}50%{box-shadow:0 0 0 .1875rem color-mix(in srgb,var(--sbb-pearl-chain-position-color) 20%,transparent)}to{box-shadow:0 0 0 0 var(--sbb-pearl-chain-position-color)}}.sbb-pearl-chain-vertical-item__bullet--position{animation:pearl-chain-bullet-position-pulse var(--sbb-pearl-chain-bullet-animation-duration) var(--sbb-pearl-chain-bullet-animation-easing) infinite}:host([disable-animation]) .sbb-pearl-chain-vertical-item__bullet--position{animation:unset!important}", u = (() => {
8
- let u = n, d, f = [], p = [], m, h = [], g = [];
8
+ let u = e, d, f = [], p = [], m, h = [], g = [];
9
9
  return class extends u {
10
10
  static {
11
- let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(u[Symbol.metadata] ?? null) : void 0;
11
+ let e = typeof Symbol == "function" && Symbol.metadata ? Object.create(u[Symbol.metadata] ?? null) : void 0;
12
12
  d = [s({
13
13
  attribute: "pearl-chain-vertical-item-attributes",
14
14
  type: Object
15
- })], m = [r(), s({
15
+ })], m = [t(), s({
16
16
  attribute: "disable-animation",
17
17
  reflect: !0,
18
18
  type: Boolean
19
- })], e(this, null, d, {
19
+ })], a(this, null, d, {
20
20
  kind: "accessor",
21
21
  name: "pearlChainVerticalItemAttributes",
22
22
  static: !1,
@@ -28,8 +28,8 @@ var l = ":host{--sbb-pearl-chain-position-color: var(--sbb-color-primary);--sbb-
28
28
  e.pearlChainVerticalItemAttributes = t;
29
29
  }
30
30
  },
31
- metadata: t
32
- }, f, p), e(this, null, m, {
31
+ metadata: e
32
+ }, f, p), a(this, null, m, {
33
33
  kind: "accessor",
34
34
  name: "disableAnimation",
35
35
  static: !1,
@@ -41,28 +41,28 @@ var l = ":host{--sbb-pearl-chain-position-color: var(--sbb-color-primary);--sbb-
41
41
  e.disableAnimation = t;
42
42
  }
43
43
  },
44
- metadata: t
45
- }, h, g), t && Object.defineProperty(this, Symbol.metadata, {
44
+ metadata: e
45
+ }, h, g), e && Object.defineProperty(this, Symbol.metadata, {
46
46
  enumerable: !0,
47
47
  configurable: !0,
48
48
  writable: !0,
49
- value: t
49
+ value: e
50
50
  });
51
51
  }
52
52
  static {
53
53
  this.elementName = "sbb-pearl-chain-vertical-item";
54
54
  }
55
55
  static {
56
- this.styles = [o(l)];
56
+ this.styles = [i(l)];
57
57
  }
58
- #e = t(this, f, null);
58
+ #e = o(this, f, null);
59
59
  get pearlChainVerticalItemAttributes() {
60
60
  return this.#e;
61
61
  }
62
62
  set pearlChainVerticalItemAttributes(e) {
63
63
  this.#e = e;
64
64
  }
65
- #t = (t(this, p), t(this, h, !1));
65
+ #t = (o(this, p), o(this, h, !1));
66
66
  get disableAnimation() {
67
67
  return this.#t;
68
68
  }
@@ -70,8 +70,8 @@ var l = ":host{--sbb-pearl-chain-position-color: var(--sbb-color-primary);--sbb-
70
70
  this.#t = e;
71
71
  }
72
72
  render() {
73
- let { bulletType: e, lineType: t, lineColor: n, hideLine: r, minHeight: o, bulletSize: s, position: l } = this.pearlChainVerticalItemAttributes || {}, u = l && l > 0 && l <= 100 ? "sbb-pearl-chain-vertical-item__bullet--past" : `sbb-pearl-chain-vertical-item__bullet--${e}`;
74
- return i`
73
+ let { bulletType: e, lineType: t, lineColor: i, hideLine: a, minHeight: o, bulletSize: s, position: l } = this.pearlChainVerticalItemAttributes || {}, u = l && l > 0 && l <= 100 ? "sbb-pearl-chain-vertical-item__bullet--past" : `sbb-pearl-chain-vertical-item__bullet--${e}`;
74
+ return n`
75
75
  <div
76
76
  class="sbb-pearl-chain-vertical-item__column"
77
77
  style=${c({ height: `${o}px` })}
@@ -82,23 +82,23 @@ var l = ":host{--sbb-pearl-chain-position-color: var(--sbb-color-primary);--sbb-
82
82
  aria-hidden="true"
83
83
  class="sbb-pearl-chain-vertical-item__column sbb-pearl-chain-vertical-item__column--middle"
84
84
  >
85
- ${r ? a : i`<div
85
+ ${a ? r : n`<div
86
86
  style=${c({ "--sbb-pearl-chain-vertical-item-leg-status": `${l}%` })}
87
- class="sbb-pearl-chain-vertical-item__line sbb-pearl-chain-vertical-item__line--${t} sbb-pearl-chain-vertical-item__line--${n}"
87
+ class="sbb-pearl-chain-vertical-item__line sbb-pearl-chain-vertical-item__line--${t} sbb-pearl-chain-vertical-item__line--${i}"
88
88
  ></div>`}
89
- ${e ? i`<div
89
+ ${e ? n`<div
90
90
  class="sbb-pearl-chain-vertical-item__bullet sbb-pearl-chain-vertical-item__bullet--${s} ${u}"
91
- ></div>` : a}
92
- ${l && l > 0 ? i`<div
91
+ ></div>` : r}
92
+ ${l && l > 0 ? n`<div
93
93
  style=${c({ "--sbb-pearl-chain-vertical-item-position": `${l}%` })}
94
94
  class="sbb-pearl-chain-vertical-item__bullet--position"
95
- ></div>` : a}
95
+ ></div>` : r}
96
96
  </div>
97
97
  <slot name="right"></slot>
98
98
  `;
99
99
  }
100
100
  constructor() {
101
- super(...arguments), t(this, g);
101
+ super(...arguments), o(this, g);
102
102
  }
103
103
  };
104
104
  })();
@@ -1,4 +1,4 @@
1
- import { t as e } from "./pearl-chain-vertical-item.component-IdquCJMy.js";
1
+ import { t as e } from "./pearl-chain-vertical-item.component-QZ4s8Jbv.js";
2
2
  import "./pearl-chain-vertical-item.pure.js";
3
3
  //#region src/elements-experimental/pearl-chain-vertical-item.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./pearl-chain-vertical-item.component-IdquCJMy.js";
1
+ import { t as e } from "./pearl-chain-vertical-item.component-QZ4s8Jbv.js";
2
2
  export { e as SbbPearlChainVerticalItemElement };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./pearl-chain-vertical.component-CDOWaup3.js";
1
+ import { t as e } from "./pearl-chain-vertical.component-Dc3vaHsQ.js";
2
2
  import "./pearl-chain-vertical.pure.js";
3
3
  //#region src/elements-experimental/pearl-chain-vertical.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./pearl-chain-vertical.component-CDOWaup3.js";
1
+ import { t as e } from "./pearl-chain-vertical.component-Dc3vaHsQ.js";
2
2
  export { e as SbbPearlChainVerticalElement };
@@ -1,8 +1,8 @@
1
- import { t as e } from "./toDate-p-Tpkb7t.js";
2
- import { r as t, t as n } from "./differenceInMinutes-Dr9gRqtu.js";
3
- import { __esDecorate as r, __runInitializers as i } from "tslib";
4
- import { SbbElement as a, defaultDateAdapter as o, forceType as s, screenReaderOnlyStyles as c } from "@sbb-esta/lyne-elements/core.js";
5
- import { html as l, nothing as u, unsafeCSS as d } from "lit";
1
+ import { t as e } from "./toDate-BhNUyM4s.js";
2
+ import { r as t, t as n } from "./differenceInMinutes-BAZ-Fham.js";
3
+ import { SbbElement as r, defaultDateAdapter as i, forceType as a, screenReaderOnlyStyles as o } from "@sbb-esta/lyne-elements/core.js";
4
+ import { html as s, nothing as c, unsafeCSS as l } from "lit";
5
+ import { __esDecorate as u, __runInitializers as d } from "tslib";
6
6
  import { property as f } from "lit/decorators.js";
7
7
  import { isRideLeg as p, removeTimezoneFromISOTimeString as m } from "./core.js";
8
8
  import { styleMap as h } from "lit/directives/style-map.js";
@@ -18,17 +18,17 @@ function _(t, n) {
18
18
  //#endregion
19
19
  //#region src/elements-experimental/pearl-chain/pearl-chain.scss?inline
20
20
  var v = ":host{--sbb-pearl-chain-height: var(--sbb-border-width-2x);--sbb-pearl-chain-spacing-small: .125rem;--sbb-pearl-chain-color: var(--sbb-pearl-chain-bullet-color);--sbb-pearl-chain-color-disruption: var(--sbb-pearl-chain-bullet-color-disruption);--sbb-pearl-chain-color-past: var(--sbb-pearl-chain-bullet-color-past);--sbb-pearl-chain-leg-width: 100%;display:block;--sbb-pearl-chain-position-color: var(--sbb-color-primary);--sbb-pearl-chain-bullet-size-start-end: .625rem;--sbb-pearl-chain-bullet-size-stop: .5rem;--sbb-pearl-chain-bullet-color: var(--sbb-background-color-3-inverted);--sbb-pearl-chain-bullet-color-past: var(--sbb-color-metal);--sbb-pearl-chain-bullet-color-past: light-dark(var(--sbb-color-metal), var(--sbb-color-granite));--sbb-pearl-chain-bullet-color-irrelevant: var(--sbb-color-metal);--sbb-pearl-chain-bullet-color-irrelevant: light-dark( var(--sbb-color-metal), var(--sbb-color-granite) );--sbb-pearl-chain-bullet-color-disruption: var(--sbb-color-error);--sbb-pearl-chain-bullet-border-width: var(--sbb-border-width-2x);--sbb-pearl-chain-bullet-animation-duration: 1.92s;--sbb-pearl-chain-bullet-animation-easing: ease-out;--sbb-pearl-chain-bullet-crossed-width: .88375rem;--sbb-pearl-chain-bullet-crossed-height: .21875rem;--sbb-pearl-chain-bullet-crossed-border-width: .09375rem}.sbb-pearl-chain{position:relative;display:flex;justify-content:space-between;flex-wrap:nowrap;color:var(--sbb-pearl-chain-color);width:100%;padding-block:calc((var(--sbb-pearl-chain-bullet-size-start-end) - var(--sbb-pearl-chain-height)) / 2);padding-inline-end:var(--sbb-pearl-chain-bullet-size-start-end)}.sbb-pearl-chain__bullet{min-height:var(--sbb-pearl-chain-bullet-size-start-end);min-width:var(--sbb-pearl-chain-bullet-size-start-end);height:var(--sbb-pearl-chain-bullet-size-start-end);width:var(--sbb-pearl-chain-bullet-size-start-end);background:var(--sbb-pearl-chain-bullet-color);color:var(--sbb-pearl-chain-bullet-color);border-color:var(--sbb-pearl-chain-bullet-color);border-radius:100%}@media(forced-colors:active){.sbb-pearl-chain__bullet{--sbb-pearl-chain-bullet-color: CanvasText}}.sbb-pearl-chain__bullet{content:\"\";position:absolute;background-color:currentcolor;inset-block-start:0;z-index:3}.sbb-pearl-chain__bullet:first-of-type{inset-inline-start:0}.sbb-pearl-chain__bullet:last-of-type{inset-inline-end:0}.sbb-pearl-chain__leg{flex-shrink:0;flex-grow:0;position:relative;height:var(--sbb-pearl-chain-height);border-inline-end:var(--sbb-pearl-chain-spacing-small) solid Canvas;background-color:currentcolor;width:var(--sbb-pearl-chain-leg-width);display:flex;align-items:center}@media(forced-colors:active){.sbb-pearl-chain__leg{background-color:CanvasText}.sbb-pearl-chain--past .sbb-pearl-chain__leg{background-color:GrayText}}.sbb-pearl-chain__leg:last-of-type{border:none}.sbb-pearl-chain__stop{position:relative;z-index:2;background:var(--sbb-pearl-chain-bullet-color);color:var(--sbb-pearl-chain-bullet-color);border-color:var(--sbb-pearl-chain-bullet-color);border-radius:100%}@media(forced-colors:active){.sbb-pearl-chain__stop{--sbb-pearl-chain-bullet-color: CanvasText}}.sbb-pearl-chain__stop{min-height:var(--sbb-pearl-chain-bullet-size-stop);min-width:var(--sbb-pearl-chain-bullet-size-stop);height:var(--sbb-pearl-chain-bullet-size-stop);width:var(--sbb-pearl-chain-bullet-size-stop);border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain__bullet--future{background:var(--sbb-pearl-chain-bullet-color);color:var(--sbb-pearl-chain-bullet-color);border-color:var(--sbb-pearl-chain-bullet-color);border-radius:100%}@media(forced-colors:active){.sbb-pearl-chain__bullet--future{--sbb-pearl-chain-bullet-color: CanvasText}}.sbb-pearl-chain__leg--past,.sbb-pearl-chain--past,.sbb-pearl-chain__leg--past:after,.sbb-pearl-chain__leg--progress:after,.sbb-pearl-chain__leg--progress .sbb-pearl-chain__stop,.sbb-pearl-chain--progress,.sbb-pearl-chain__bullet--past{color:var(--sbb-pearl-chain-color-past);--sbb-pearl-chain-bullet-color: var(--sbb-pearl-chain-bullet-color-past)}@media(forced-colors:active){.sbb-pearl-chain__leg--past,.sbb-pearl-chain--past,.sbb-pearl-chain__leg--past:after,.sbb-pearl-chain__leg--progress:after,.sbb-pearl-chain__leg--progress .sbb-pearl-chain__stop,.sbb-pearl-chain--progress,.sbb-pearl-chain__bullet--past{--sbb-pearl-chain-bullet-color: GrayText !important}}@media(forced-colors:active){.sbb-pearl-chain__leg--past,.sbb-pearl-chain--past,.sbb-pearl-chain__leg--past:after,.sbb-pearl-chain__leg--progress:after,.sbb-pearl-chain__leg--progress .sbb-pearl-chain__stop,.sbb-pearl-chain--progress,.sbb-pearl-chain__bullet--past{background-color:GrayText!important}}.sbb-pearl-chain__bullet--progress{background:var(--sbb-pearl-chain-bullet-color);--sbb-pearl-chain-bullet-color: var(--sbb-pearl-chain-bullet-color-past)}@media(forced-colors:active){.sbb-pearl-chain__bullet--progress{--sbb-pearl-chain-bullet-color: GrayText !important}}.sbb-pearl-chain__bullet--departure-disruption,.sbb-pearl-chain--arrival-disruption,.sbb-pearl-chain--departure-disruption,.sbb-pearl-chain__leg--disruption{color:var(--sbb-pearl-chain-color-disruption);--sbb-pearl-chain-bullet-color: var(--sbb-pearl-chain-bullet-color-disruption)}@media(forced-colors:active){.sbb-pearl-chain__bullet--departure-disruption,.sbb-pearl-chain--arrival-disruption,.sbb-pearl-chain--departure-disruption,.sbb-pearl-chain__leg--disruption{--sbb-pearl-chain-bullet-color: Highlight}}@media(forced-colors:active){.sbb-pearl-chain__bullet--departure-disruption,.sbb-pearl-chain--arrival-disruption,.sbb-pearl-chain--departure-disruption,.sbb-pearl-chain__leg--disruption{color:Highlight;background:Highlight}}.sbb-pearl-chain__leg--disruption .sbb-pearl-chain__stop{--sbb-pearl-chain-bullet-color: var(--sbb-pearl-chain-bullet-color-disruption)}@media(forced-colors:active){.sbb-pearl-chain__leg--disruption .sbb-pearl-chain__stop{--sbb-pearl-chain-bullet-color: Highlight}}.sbb-pearl-chain__leg--past .sbb-pearl-chain__stop{--sbb-pearl-chain-bullet-color: var(--sbb-pearl-chain-bullet-color-past)}@media(forced-colors:active){.sbb-pearl-chain__leg--past .sbb-pearl-chain__stop{--sbb-pearl-chain-bullet-color: GrayText !important}}.sbb-pearl-chain__leg--disruption:after{background-color:unset;background-image:linear-gradient(to right,currentcolor 0%,currentcolor 50%,Canvas 50%);background-repeat:repeat-x;background-size:calc(2 * var(--sbb-pearl-chain-spacing-small)) var(--sbb-pearl-chain-height);inset-inline-end:var(--sbb-pearl-chain-height)}@media(forced-colors:active){.sbb-pearl-chain__leg--disruption:after{background:unset;border-block-start:.0625rem dashed Highlight;transform:translateY(.0625rem)}}.sbb-pearl-chain__leg--skipped{color:var(--sbb-pearl-chain-color-disruption)}.sbb-pearl-chain__leg--skipped:after{background-color:unset;background-image:linear-gradient(to right,currentcolor 0%,currentcolor 50%,Canvas 50%);background-repeat:repeat-x;background-size:calc(2 * var(--sbb-pearl-chain-spacing-small)) var(--sbb-pearl-chain-height);inset-inline-end:var(--sbb-pearl-chain-height)}@media(forced-colors:active){.sbb-pearl-chain__leg--skipped:after{background:unset;border-block-start:.0625rem dashed Highlight;transform:translateY(.0625rem)}}.sbb-pearl-chain__stop--departure-skipped{min-height:var(--sbb-pearl-chain-bullet-size-stop);min-width:var(--sbb-pearl-chain-bullet-size-stop);height:var(--sbb-pearl-chain-bullet-size-stop);width:var(--sbb-pearl-chain-bullet-size-stop);border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain__stop--departure-skipped:before{content:\"\";position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%) rotate(45deg);border-block-start:var(--sbb-pearl-chain-bullet-crossed-border-width) solid canvas;background:var(--sbb-pearl-chain-bullet-color-disruption);height:var(--sbb-pearl-chain-bullet-crossed-height);width:var(--sbb-pearl-chain-bullet-crossed-width)}@media(forced-colors:active){.sbb-pearl-chain__stop--departure-skipped:before{background:Highlight}}.sbb-pearl-chain--arrival-skipped,.sbb-pearl-chain--departure-skipped{min-height:var(--sbb-pearl-chain-bullet-size-start-end);min-width:var(--sbb-pearl-chain-bullet-size-start-end);height:var(--sbb-pearl-chain-bullet-size-start-end);width:var(--sbb-pearl-chain-bullet-size-start-end);border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain--arrival-skipped:before,.sbb-pearl-chain--departure-skipped:before{content:\"\";position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%) rotate(45deg);border-block-start:var(--sbb-pearl-chain-bullet-crossed-border-width) solid canvas;background:var(--sbb-pearl-chain-bullet-color-disruption);height:var(--sbb-pearl-chain-bullet-crossed-height);width:var(--sbb-pearl-chain-bullet-crossed-width)}@media(forced-colors:active){.sbb-pearl-chain--arrival-skipped:before,.sbb-pearl-chain--departure-skipped:before{background:Highlight}}.sbb-pearl-chain__leg:after{content:\"\";position:absolute;inset-block:0;inset-inline-start:0;background-color:currentcolor;border-radius:var(--sbb-pearl-chain-height);z-index:1}@media(forced-colors:active){.sbb-pearl-chain__leg:after{background-color:CanvasText}.sbb-pearl-chain--past .sbb-pearl-chain__leg:after{background-color:GrayText}}.sbb-pearl-chain__leg:last-of-type:after{inset-inline-end:calc(-1 * var(--sbb-pearl-chain-height))}.sbb-pearl-chain__leg--progress:after{background-color:var(--sbb-pearl-chain-color-past);width:var(--sbb-pearl-chain-leg-status)}.sbb-pearl-chain__position{min-height:var(--sbb-pearl-chain-bullet-size-start-end);min-width:var(--sbb-pearl-chain-bullet-size-start-end);height:var(--sbb-pearl-chain-bullet-size-start-end);width:var(--sbb-pearl-chain-bullet-size-start-end);background:var(--sbb-pearl-chain-bullet-color);color:var(--sbb-pearl-chain-bullet-color);border-color:var(--sbb-pearl-chain-bullet-color);border-radius:100%}@media(forced-colors:active){.sbb-pearl-chain__position{--sbb-pearl-chain-bullet-color: CanvasText}}.sbb-pearl-chain__position{--sbb-pearl-chain-bullet-color: var(--sbb-pearl-chain-position-color)}@media(forced-colors:active){.sbb-pearl-chain__position{--sbb-pearl-chain-position-color: Highlight}}@keyframes pearl-chain-bullet-position-pulse{0%{box-shadow:0 0 0 0 var(--sbb-pearl-chain-position-color)}25%{box-shadow:0 0 0 0 var(--sbb-pearl-chain-position-color)}50%{box-shadow:0 0 0 .1875rem color-mix(in srgb,var(--sbb-pearl-chain-position-color) 20%,transparent)}to{box-shadow:0 0 0 0 var(--sbb-pearl-chain-position-color)}}.sbb-pearl-chain__position{animation:pearl-chain-bullet-position-pulse var(--sbb-pearl-chain-bullet-animation-duration) var(--sbb-pearl-chain-bullet-animation-easing) infinite;position:absolute;inset-block-start:-200%;z-index:4;inset-inline-start:var(--sbb-pearl-chain-status-position)}.sbb-pearl-chain__position--no-animation{animation:unset}", y = (() => {
21
- let e = a, y = [], b, x = [], S = [], C, w = [], T = [], E;
21
+ let e = r, y = [], b, x = [], S = [], C, w = [], T = [], E;
22
22
  return class extends e {
23
23
  constructor() {
24
- super(...arguments), this.#e = (i(this, y), i(this, x, [])), this.#t = (i(this, S), i(this, w, !1)), this._now = (i(this, T), null);
24
+ super(...arguments), this.#e = (d(this, y), d(this, x, [])), this.#t = (d(this, S), d(this, w, !1)), this._now = (d(this, T), null);
25
25
  }
26
26
  static {
27
27
  let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(e[Symbol.metadata] ?? null) : void 0;
28
- b = [f({ type: Array })], C = [s(), f({
28
+ b = [f({ type: Array })], C = [a(), f({
29
29
  attribute: "disable-animation",
30
30
  type: Boolean
31
- })], E = [f()], r(this, null, b, {
31
+ })], E = [f()], u(this, null, b, {
32
32
  kind: "accessor",
33
33
  name: "legs",
34
34
  static: !1,
@@ -41,7 +41,7 @@ var v = ":host{--sbb-pearl-chain-height: var(--sbb-border-width-2x);--sbb-pearl-
41
41
  }
42
42
  },
43
43
  metadata: t
44
- }, x, S), r(this, null, C, {
44
+ }, x, S), u(this, null, C, {
45
45
  kind: "accessor",
46
46
  name: "disableAnimation",
47
47
  static: !1,
@@ -54,7 +54,7 @@ var v = ":host{--sbb-pearl-chain-height: var(--sbb-border-width-2x);--sbb-pearl-
54
54
  }
55
55
  },
56
56
  metadata: t
57
- }, w, T), r(this, null, E, {
57
+ }, w, T), u(this, null, E, {
58
58
  kind: "setter",
59
59
  name: "now",
60
60
  static: !1,
@@ -77,7 +77,7 @@ var v = ":host{--sbb-pearl-chain-height: var(--sbb-border-width-2x);--sbb-pearl-
77
77
  this.elementName = "sbb-pearl-chain";
78
78
  }
79
79
  static {
80
- this.styles = [c, d(v)];
80
+ this.styles = [o, l(v)];
81
81
  }
82
82
  #e;
83
83
  get legs() {
@@ -94,7 +94,7 @@ var v = ":host{--sbb-pearl-chain-height: var(--sbb-border-width-2x);--sbb-pearl-
94
94
  this.#t = e;
95
95
  }
96
96
  set now(e) {
97
- this._now = o.getValidDateOrNull(o.deserialize(e));
97
+ this._now = i.getValidDateOrNull(i.deserialize(e));
98
98
  }
99
99
  get now() {
100
100
  return this._now;
@@ -132,7 +132,7 @@ var v = ":host{--sbb-pearl-chain-height: var(--sbb-border-width-2x);--sbb-pearl-
132
132
  "--sbb-pearl-chain-status-position": `${r}%`,
133
133
  ...r >= 50 ? { transform: "translateX(-100%)" } : {}
134
134
  }), a = this.disableAnimation ? "sbb-pearl-chain__position--no-animation" : "";
135
- return l`<span
135
+ return s`<span
136
136
  style=${h(i())}
137
137
  class="sbb-pearl-chain__position ${a}"
138
138
  ></span>`;
@@ -144,42 +144,42 @@ var v = ":host{--sbb-pearl-chain-height: var(--sbb-border-width-2x);--sbb-pearl-
144
144
  }, i = t?.length && m(t[t.length - 1].arrival?.time), a = i && {
145
145
  time: i,
146
146
  delay: t[t.length - 1]?.arrival.delay ?? 0
147
- }, o = t && t[0]?.serviceJourney?.stopPoints && t[0]?.serviceJourney?.stopPoints[0].stopStatus === "NOT_SERVICED" ? "sbb-pearl-chain--departure-skipped" : "", s = (() => {
147
+ }, o = t && t[0]?.serviceJourney?.stopPoints && t[0]?.serviceJourney?.stopPoints[0].stopStatus === "NOT_SERVICED" ? "sbb-pearl-chain--departure-skipped" : "", l = (() => {
148
148
  let e = t && t[t.length - 1], n = e && e.serviceJourney?.stopPoints;
149
149
  return n && n[n.length - 1].stopStatus === "NOT_SERVICED" ? "sbb-pearl-chain--arrival-skipped" : "";
150
- })(), c = t && t[0]?.serviceJourney?.serviceAlteration?.cancelled ? "sbb-pearl-chain--departure-disruption" : "", d = t && t[t.length - 1]?.serviceJourney?.serviceAlteration?.cancelled ? "sbb-pearl-chain--arrival-disruption" : "", f = r && a && this._getStatus(e, r, a), g = t && f && !c ? "sbb-pearl-chain__bullet--" + f : "", _ = t && f && !d ? "sbb-pearl-chain__bullet--" + this._getStatus(e, void 0, a) : "";
151
- return this._isAllCancelled(t) ? l`
150
+ })(), u = t && t[0]?.serviceJourney?.serviceAlteration?.cancelled ? "sbb-pearl-chain--departure-disruption" : "", d = t && t[t.length - 1]?.serviceJourney?.serviceAlteration?.cancelled ? "sbb-pearl-chain--arrival-disruption" : "", f = r && a && this._getStatus(e, r, a), g = t && f && !u ? "sbb-pearl-chain__bullet--" + f : "", _ = t && f && !d ? "sbb-pearl-chain__bullet--" + this._getStatus(e, void 0, a) : "";
151
+ return this._isAllCancelled(t) ? s`
152
152
  <div class="sbb-pearl-chain">
153
153
  <span class="sbb-pearl-chain__bullet sbb-pearl-chain--departure-disruption"></span>
154
154
  <div class="sbb-pearl-chain__leg sbb-pearl-chain__leg--disruption"></div>
155
155
  <span class="sbb-pearl-chain__bullet sbb-pearl-chain--departure-disruption"></span>
156
156
  </div>
157
- ` : l`
157
+ ` : s`
158
158
  <div class="sbb-pearl-chain">
159
159
  <span
160
- class="sbb-pearl-chain__bullet ${g} ${o} ${c}"
160
+ class="sbb-pearl-chain__bullet ${g} ${o} ${u}"
161
161
  ></span>
162
162
  ${t?.map((n, r) => {
163
- let { stopPoints: i, serviceAlteration: a } = n?.serviceJourney || {}, o = this._getRelativeDuration(t, n), s = m(n.departure?.time), c = m(n.arrival?.time), d = i && i[i.length - 1]?.stopStatus === "NOT_SERVICED", f = i && i[i.length - 1]?.stopStatus === "PLANNED", p = i && i[0]?.stopStatus === "NOT_SERVICED", g = r > 0 && t[r - 1].serviceJourney.stopPoints, _ = g && g[g.length - 1]?.stopStatus === "NOT_SERVICED", v = d || p && f ? "sbb-pearl-chain__leg--skipped" : "", y = p || _ ? "sbb-pearl-chain__stop--departure-skipped" : "", b = a?.cancelled || a?.partiallyCancelled ? "sbb-pearl-chain__leg--disruption" : "", x = {
164
- time: s,
163
+ let { stopPoints: i, serviceAlteration: a } = n?.serviceJourney || {}, o = this._getRelativeDuration(t, n), l = m(n.departure?.time), u = m(n.arrival?.time), d = i && i[i.length - 1]?.stopStatus === "NOT_SERVICED", f = i && i[i.length - 1]?.stopStatus === "PLANNED", p = i && i[0]?.stopStatus === "NOT_SERVICED", g = r > 0 && t[r - 1].serviceJourney.stopPoints, _ = g && g[g.length - 1]?.stopStatus === "NOT_SERVICED", v = d || p && f ? "sbb-pearl-chain__leg--skipped" : "", y = p || _ ? "sbb-pearl-chain__stop--departure-skipped" : "", b = a?.cancelled || a?.partiallyCancelled ? "sbb-pearl-chain__leg--disruption" : "", x = {
164
+ time: l,
165
165
  delay: n.departure?.delay ?? 0
166
166
  }, S = {
167
- time: c,
167
+ time: u,
168
168
  delay: n.arrival?.delay ?? 0
169
169
  }, C = this._getStatus(e, x, S);
170
- return l` <div
170
+ return s` <div
171
171
  class="sbb-pearl-chain__leg ${!b && !v && "sbb-pearl-chain__leg--" + C || ""} ${b} ${v}"
172
172
  style=${h({
173
173
  "--sbb-pearl-chain-leg-width": `${o}%`,
174
174
  ...C === "progress" && !b && !v ? { "--sbb-pearl-chain-leg-status": `${this._getProgress(e, x, S)}%` } : {}
175
175
  })}
176
176
  >
177
- ${r > 0 && r < t.length ? l`<span class="sbb-pearl-chain__stop ${y}"></span>` : u}
178
- ${C === "progress" && !b && !v ? this._renderPosition(e, x, S) : u}
177
+ ${r > 0 && r < t.length ? s`<span class="sbb-pearl-chain__stop ${y}"></span>` : c}
178
+ ${C === "progress" && !b && !v ? this._renderPosition(e, x, S) : c}
179
179
  </div>`;
180
180
  })}
181
181
  <span
182
- class="sbb-pearl-chain__bullet ${_} ${s} ${d}"
182
+ class="sbb-pearl-chain__bullet ${_} ${l} ${d}"
183
183
  ></span>
184
184
  </div>
185
185
  `;
package/pearl-chain.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./pearl-chain.component-C6lcD7Xl.js";
1
+ import { t as e } from "./pearl-chain.component-DtGXXkY6.js";
2
2
  import "./pearl-chain.pure.js";
3
3
  //#region src/elements-experimental/pearl-chain.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./pearl-chain.component-C6lcD7Xl.js";
1
+ import { t as e } from "./pearl-chain.component-DtGXXkY6.js";
2
2
  export { e as SbbPearlChainElement };
@@ -1,2 +1,2 @@
1
- import { i as e, n as t, r as n, t as r } from "../../../mapper-Cqie5ivY.js";
1
+ import { i as e, n as t, r as n, t as r } from "../../../mapper-Dcou8VEf.js";
2
2
  export { r as mapCoachInfosToCoachSelection, t as mapPlaceAndCoachToSeatReservationPlaceSelection, n as mapPlaceInfosToPlaceSelection, e as mapRawDataToSeatReservation };
@@ -1,3 +1,3 @@
1
- import { i as e, n as t, r as n, t as r } from "../../mapper-Cqie5ivY.js";
1
+ import { i as e, n as t, r as n, t as r } from "../../mapper-Dcou8VEf.js";
2
2
  import { mapIconToSvg as i } from "./mapper/icon-mapper.js";
3
3
  export { r as mapCoachInfosToCoachSelection, i as mapIconToSvg, t as mapPlaceAndCoachToSeatReservationPlaceSelection, n as mapPlaceInfosToPlaceSelection, e as mapRawDataToSeatReservation };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../svgs-D5DhLHxC.js";
1
+ import { t as e } from "../../svgs-D4fuYTHV.js";
2
2
  export { e as svgs };