@sbb-esta/lyne-elements-experimental 4.11.0 → 5.0.0-next
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.
- package/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +15 -18
- package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +6 -11
- package/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +1 -1
- package/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js +1 -1
- package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +1 -1
- package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +1 -1
- package/{autocomplete-grid-cell.component-DkD9aFKc.js → autocomplete-grid-cell.component-BFzREPWp.js} +1 -2
- package/{autocomplete-grid-option.component-CtATJy7n.js → autocomplete-grid-option.component-DhmoLeEw.js} +5 -7
- package/{autocomplete-grid-row.component-6nJv5PMj.js → autocomplete-grid-row.component-BQxCxOI6.js} +1 -2
- package/autocomplete-grid.js +3 -3
- package/autocomplete-grid.pure.js +3 -3
- package/core/datetime/date-helper.js +1 -1
- package/core/timetable/access-leg-helper.js +27 -27
- package/core.js +5 -0
- package/custom-elements.json +226 -453
- package/{date-helper-CGproP5d.js → date-helper-CuMnZCsr.js} +1 -1
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts +1 -1
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +3 -6
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.d.ts +2 -2
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +3 -8
- package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.d.ts +1 -1
- package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +1 -1
- package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.d.ts +1 -1
- package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js +2 -2
- package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.d.ts +1 -1
- package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +1 -1
- package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.d.ts +1 -1
- package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +1 -1
- package/development/autocomplete-grid-cell.component-Buvsof-Y.js +33 -0
- package/development/{autocomplete-grid-option.component-5mPGswUO.js → autocomplete-grid-option.component-B4SXR9_v.js} +3 -5
- package/development/{autocomplete-grid-row.component-DEm6zyHZ.js → autocomplete-grid-row.component-CY4UDuuj.js} +2 -3
- package/development/autocomplete-grid.js +3 -3
- package/development/autocomplete-grid.pure.js +3 -3
- package/development/core/datetime/date-helper.js +1 -1
- package/development/core/timetable/access-leg-helper.d.ts.map +1 -1
- package/development/core/timetable/access-leg-helper.js +3 -3
- package/development/core.d.ts +6 -0
- package/development/core.d.ts.map +1 -0
- package/development/core.js +5 -0
- package/development/{date-helper-qNdwgC9O.js → date-helper-DGz-ztQM.js} +2 -2
- package/development/journey-summary/journey-summary.component.d.ts +4 -3
- package/development/journey-summary/journey-summary.component.d.ts.map +1 -1
- package/development/journey-summary/journey-summary.component.js +1 -1
- package/development/{journey-summary.component-BZwgD4im.js → journey-summary.component-B9P1PAJv.js} +14 -12
- package/development/journey-summary.js +1 -1
- package/development/journey-summary.pure.js +1 -1
- package/development/pearl-chain/pearl-chain.component.d.ts +2 -2
- package/development/pearl-chain/pearl-chain.component.d.ts.map +1 -1
- package/development/pearl-chain/pearl-chain.component.js +1 -1
- package/development/pearl-chain-time/pearl-chain-time.component.d.ts +3 -2
- package/development/pearl-chain-time/pearl-chain-time.component.d.ts.map +1 -1
- package/development/pearl-chain-time/pearl-chain-time.component.js +1 -1
- package/development/{pearl-chain-time.component-B2_BI6E_.js → pearl-chain-time.component-DDnGnI77.js} +8 -10
- package/development/pearl-chain-time.js +1 -1
- package/development/pearl-chain-time.pure.js +1 -1
- package/development/pearl-chain-vertical/pearl-chain-vertical.component.d.ts +1 -1
- package/development/pearl-chain-vertical/pearl-chain-vertical.component.d.ts.map +1 -1
- package/development/pearl-chain-vertical/pearl-chain-vertical.component.js +1 -1
- package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.d.ts +1 -1
- package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.d.ts.map +1 -1
- package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +1 -1
- package/development/{pearl-chain-vertical-item.component-DcmH13Vb.js → pearl-chain-vertical-item.component-CRh0l20F.js} +2 -4
- package/development/pearl-chain-vertical-item.js +1 -1
- package/development/pearl-chain-vertical-item.pure.js +1 -1
- package/development/pearl-chain-vertical.component-Cmc3QXgd.js +30 -0
- package/development/pearl-chain-vertical.js +1 -1
- package/development/pearl-chain-vertical.pure.js +1 -1
- package/development/{pearl-chain.component-oQZUzsyW.js → pearl-chain.component-Dl2RvtJo.js} +3 -7
- package/development/pearl-chain.js +1 -1
- package/development/pearl-chain.pure.js +1 -1
- package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts +1 -1
- package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -1
- package/development/seat-reservation/seat-reservation/seat-reservation-base-element.js +2 -4
- package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts +2 -0
- package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -1
- package/development/seat-reservation/seat-reservation/seat-reservation.component.js +1 -1
- package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.d.ts +1 -1
- package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.d.ts.map +1 -1
- package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +1 -1
- package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.d.ts +2 -1
- package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.d.ts.map +1 -1
- package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +1 -1
- package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts +2 -1
- package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +1 -1
- package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +1 -1
- package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts +2 -1
- package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +1 -1
- package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +1 -1
- package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts +2 -1
- package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts.map +1 -1
- package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +1 -1
- package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts +1 -1
- package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +1 -1
- package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js +1 -1
- package/development/{seat-reservation-area.component-DbeuTnXT.js → seat-reservation-area.component-BQEtJhk0.js} +2 -4
- package/development/{seat-reservation-graphic.component-DlrHtlia.js → seat-reservation-graphic.component-XpqxL5nq.js} +7 -7
- package/development/{seat-reservation-navigation-coach.component-CjoDkcVU.js → seat-reservation-navigation-coach.component-DRCcI2ss.js} +5 -7
- package/development/{seat-reservation-navigation-services.component-CGel7__P.js → seat-reservation-navigation-services.component-ZNm77ZG-.js} +5 -7
- package/development/{seat-reservation-place-control.component-CM9efId7.js → seat-reservation-place-control.component-QF_px_in.js} +5 -6
- package/development/{seat-reservation-scoped.component-CFA_bJ3o.js → seat-reservation-scoped.component-X-Kq0-w5.js} +2 -3
- package/development/seat-reservation.component-C-ttTPW5.js +515 -0
- package/development/seat-reservation.js +9 -10
- package/development/seat-reservation.pure.d.ts +0 -1
- package/development/seat-reservation.pure.d.ts.map +1 -1
- package/development/seat-reservation.pure.js +8 -9
- package/development/timetable-duration/timetable-duration.component.d.ts +1 -1
- package/development/timetable-duration/timetable-duration.component.d.ts.map +1 -1
- package/development/timetable-duration/timetable-duration.component.js +1 -1
- package/development/timetable-duration.component-2JBYobDt.js +96 -0
- package/development/timetable-duration.js +1 -1
- package/development/timetable-duration.pure.js +1 -1
- package/development/timetable-row/timetable-row.component.d.ts +3 -2
- package/development/timetable-row/timetable-row.component.d.ts.map +1 -1
- package/development/timetable-row/timetable-row.component.js +1 -1
- package/development/timetable-row.component-Binmks-o.js +732 -0
- package/development/timetable-row.js +1 -1
- package/development/timetable-row.pure.js +1 -1
- package/journey-summary/journey-summary.component.js +1 -1
- package/{journey-summary.component-OFYXlkzg.js → journey-summary.component-C7WPKx8k.js} +56 -54
- package/journey-summary.js +1 -1
- package/journey-summary.pure.js +1 -1
- package/package.json +6 -81
- package/pearl-chain/pearl-chain.component.js +1 -1
- package/pearl-chain-time/pearl-chain-time.component.js +1 -1
- package/{pearl-chain-time.component-CNKsGfIp.js → pearl-chain-time.component-awU4lFdO.js} +41 -43
- package/pearl-chain-time.js +1 -1
- package/pearl-chain-time.pure.js +1 -1
- package/pearl-chain-vertical/pearl-chain-vertical.component.js +1 -1
- package/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +1 -1
- package/{pearl-chain-vertical-item.component-BUqZ-3Ay.js → pearl-chain-vertical-item.component-BynmUBXa.js} +3 -5
- package/pearl-chain-vertical-item.js +1 -1
- package/pearl-chain-vertical-item.pure.js +1 -1
- package/{pearl-chain-vertical.component-Df9CvRxo.js → pearl-chain-vertical.component-Lx47SlJU.js} +1 -2
- package/pearl-chain-vertical.js +1 -1
- package/pearl-chain-vertical.pure.js +1 -1
- package/{pearl-chain.component-CpISVoAu.js → pearl-chain.component-BAtmfmpA.js} +22 -26
- package/pearl-chain.js +1 -1
- package/pearl-chain.pure.js +1 -1
- package/seat-reservation/seat-reservation/seat-reservation-base-element.js +5 -7
- package/seat-reservation/seat-reservation/seat-reservation.component.js +1 -1
- package/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +1 -1
- package/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +1 -1
- package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +1 -1
- package/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +1 -1
- package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +1 -1
- package/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js +1 -1
- package/{seat-reservation-area.component-CtYawDjE.js → seat-reservation-area.component-CVc6uuMG.js} +3 -5
- package/{seat-reservation-graphic.component-Cm_pVxaB.js → seat-reservation-graphic.component-Dzkv9tyR.js} +26 -26
- package/{seat-reservation-navigation-coach.component-sug9IBTH.js → seat-reservation-navigation-coach.component-CGfmiQJq.js} +51 -56
- package/{seat-reservation-navigation-services.component-C9dDYD_M.js → seat-reservation-navigation-services.component-DQviLWvy.js} +28 -33
- package/{seat-reservation-place-control.component-CE7d9M2b.js → seat-reservation-place-control.component-BYJi6aYS.js} +43 -47
- package/{seat-reservation-scoped.component-DVyP2JGE.js → seat-reservation-scoped.component-CdB7HYzl.js} +1 -2
- package/{seat-reservation.component-DajC6fqU.js → seat-reservation.component-DBtJhrR_.js} +115 -107
- package/seat-reservation.js +10 -11
- package/seat-reservation.pure.js +9 -10
- package/timetable-duration/timetable-duration.component.js +1 -1
- package/{timetable-duration.component-BnJA8wSb.js → timetable-duration.component-PmvoOKVw.js} +6 -10
- package/timetable-duration.js +1 -1
- package/timetable-duration.pure.js +1 -1
- package/timetable-row/timetable-row.component.js +1 -1
- package/{timetable-row.component-Cd_7Pu_E.js → timetable-row.component-BnmrhD2d.js} +119 -116
- package/timetable-row.js +1 -1
- package/timetable-row.pure.js +1 -1
- package/autocomplete-grid/autocomplete-grid-button.js +0 -4
- package/autocomplete-grid/autocomplete-grid-cell.js +0 -4
- package/autocomplete-grid/autocomplete-grid-optgroup.js +0 -4
- package/autocomplete-grid/autocomplete-grid-option.js +0 -4
- package/autocomplete-grid/autocomplete-grid-row.js +0 -4
- package/autocomplete-grid/autocomplete-grid.js +0 -4
- package/core/datetime.js +0 -2
- package/core/timetable.js +0 -4
- package/development/autocomplete-grid/autocomplete-grid-button.d.ts +0 -2
- package/development/autocomplete-grid/autocomplete-grid-button.d.ts.map +0 -1
- package/development/autocomplete-grid/autocomplete-grid-button.js +0 -10
- package/development/autocomplete-grid/autocomplete-grid-cell.d.ts +0 -2
- package/development/autocomplete-grid/autocomplete-grid-cell.d.ts.map +0 -1
- package/development/autocomplete-grid/autocomplete-grid-cell.js +0 -10
- package/development/autocomplete-grid/autocomplete-grid-optgroup.d.ts +0 -2
- package/development/autocomplete-grid/autocomplete-grid-optgroup.d.ts.map +0 -1
- package/development/autocomplete-grid/autocomplete-grid-optgroup.js +0 -10
- package/development/autocomplete-grid/autocomplete-grid-option.d.ts +0 -2
- package/development/autocomplete-grid/autocomplete-grid-option.d.ts.map +0 -1
- package/development/autocomplete-grid/autocomplete-grid-option.js +0 -10
- package/development/autocomplete-grid/autocomplete-grid-row.d.ts +0 -2
- package/development/autocomplete-grid/autocomplete-grid-row.d.ts.map +0 -1
- package/development/autocomplete-grid/autocomplete-grid-row.js +0 -10
- package/development/autocomplete-grid/autocomplete-grid.d.ts +0 -2
- package/development/autocomplete-grid/autocomplete-grid.d.ts.map +0 -1
- package/development/autocomplete-grid/autocomplete-grid.js +0 -10
- package/development/autocomplete-grid-cell.component-BxkWGaX0.js +0 -34
- package/development/core/datetime.d.ts +0 -3
- package/development/core/datetime.d.ts.map +0 -1
- package/development/core/datetime.js +0 -2
- package/development/core/timetable.d.ts +0 -5
- package/development/core/timetable.d.ts.map +0 -1
- package/development/core/timetable.js +0 -4
- package/development/pearl-chain-vertical.component-CpcNFl-x.js +0 -31
- package/development/seat-reservation/common.d.ts +0 -6
- package/development/seat-reservation/common.d.ts.map +0 -1
- package/development/seat-reservation/common.js +0 -12
- package/development/seat-reservation/seat-reservation-area.d.ts +0 -2
- package/development/seat-reservation/seat-reservation-area.d.ts.map +0 -1
- package/development/seat-reservation/seat-reservation-area.js +0 -10
- package/development/seat-reservation/seat-reservation-graphic/seat-reservation-assets.d.ts +0 -9
- package/development/seat-reservation/seat-reservation-graphic/seat-reservation-assets.d.ts.map +0 -1
- package/development/seat-reservation/seat-reservation-graphic/seat-reservation-assets.js +0 -306
- package/development/seat-reservation/seat-reservation-graphic.d.ts +0 -2
- package/development/seat-reservation/seat-reservation-graphic.d.ts.map +0 -1
- package/development/seat-reservation/seat-reservation-graphic.js +0 -10
- package/development/seat-reservation/seat-reservation-navigation-coach.d.ts +0 -2
- package/development/seat-reservation/seat-reservation-navigation-coach.d.ts.map +0 -1
- package/development/seat-reservation/seat-reservation-navigation-coach.js +0 -10
- package/development/seat-reservation/seat-reservation-navigation-services.d.ts +0 -2
- package/development/seat-reservation/seat-reservation-navigation-services.d.ts.map +0 -1
- package/development/seat-reservation/seat-reservation-navigation-services.js +0 -10
- package/development/seat-reservation/seat-reservation-place-control.d.ts +0 -2
- package/development/seat-reservation/seat-reservation-place-control.d.ts.map +0 -1
- package/development/seat-reservation/seat-reservation-place-control.js +0 -10
- package/development/seat-reservation/seat-reservation-scoped.d.ts +0 -2
- package/development/seat-reservation/seat-reservation-scoped.d.ts.map +0 -1
- package/development/seat-reservation/seat-reservation-scoped.js +0 -10
- package/development/seat-reservation/seat-reservation.d.ts +0 -3
- package/development/seat-reservation/seat-reservation.d.ts.map +0 -1
- package/development/seat-reservation/seat-reservation.js +0 -11
- package/development/seat-reservation.component-DFJVFmrI.js +0 -510
- package/development/timetable-duration.component-BhFlqYbV.js +0 -100
- package/development/timetable-row.component-Dko8laRT.js +0 -729
- package/seat-reservation/common.js +0 -9
- package/seat-reservation/seat-reservation-area.js +0 -4
- package/seat-reservation/seat-reservation-graphic/seat-reservation-assets.js +0 -291
- package/seat-reservation/seat-reservation-graphic.js +0 -4
- package/seat-reservation/seat-reservation-navigation-coach.js +0 -4
- package/seat-reservation/seat-reservation-navigation-services.js +0 -4
- package/seat-reservation/seat-reservation-place-control.js +0 -4
- package/seat-reservation/seat-reservation-scoped.js +0 -4
- package/seat-reservation/seat-reservation.js +0 -5
|
@@ -1,31 +1,39 @@
|
|
|
1
1
|
import { SeatReservationBaseElement as e } from "./seat-reservation/seat-reservation/seat-reservation-base-element.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { html as
|
|
5
|
-
import "
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { SbbSeatReservationNavigationCoachElement as
|
|
13
|
-
import { SbbSeatReservationPlaceControlElement as
|
|
14
|
-
import { SbbSeatReservationScopedElement as
|
|
15
|
-
import "@sbb-esta/lyne-elements/button.js";
|
|
16
|
-
import "@sbb-esta/lyne-elements/popover.js";
|
|
2
|
+
import { SbbSecondaryButtonElement as t } from "@sbb-esta/lyne-elements/button.pure.js";
|
|
3
|
+
import { SbbLanguageController as n, SbbScreenReaderOnlyElement as r, boxSizingStyles as i } from "@sbb-esta/lyne-elements/core.js";
|
|
4
|
+
import { html as a, isServer as o, nothing as s, unsafeCSS as c } from "lit";
|
|
5
|
+
import { styleMap as l } from "lit/directives/style-map.js";
|
|
6
|
+
import { classMap as u } from "lit/directives/class-map.js";
|
|
7
|
+
import { getI18nSeatReservation as d } from "./seat-reservation/common/translations.js";
|
|
8
|
+
import { SbbSeatReservationGraphicElement as f } from "./seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js";
|
|
9
|
+
import { SbbPopoverElement as p } from "@sbb-esta/lyne-elements/popover.pure.js";
|
|
10
|
+
import { repeat as m } from "lit/directives/repeat.js";
|
|
11
|
+
import { SbbSeatReservationAreaElement as h } from "./seat-reservation/seat-reservation-area/seat-reservation-area.component.js";
|
|
12
|
+
import { SbbSeatReservationNavigationCoachElement as g } from "./seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js";
|
|
13
|
+
import { SbbSeatReservationPlaceControlElement as _ } from "./seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js";
|
|
14
|
+
import { SbbSeatReservationScopedElement as v } from "./seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js";
|
|
17
15
|
//#region src/elements-experimental/seat-reservation/seat-reservation/seat-reservation.scss?inline
|
|
18
|
-
var
|
|
19
|
-
c.define(), d.define(), m.define(), p.define(), h.define();
|
|
20
|
-
var _ = class extends e {
|
|
16
|
+
var y = ":host{--sbb-seat-reservation-grid-size: 16px;--sbb-seat-reservation-height: 0;--sbb-seat-reservation-decks: 1;display:block;height:inherit}:host ::part(coach-floor){fill:var(--sbb-background-color-2)}@media(forced-colors:active){:host ::part(coach-floor){fill:transparent}}:host(:dir(rtl)) :not(.sbb-sr-place-ctrl--type-bicycle,.sbb-sr-place-ctrl--orientation-90,.sbb-sr-place-ctrl--orientation-270,.sbb-sr-place-ctrl--state-selected) ::part(coach-floor){rotate:180deg}[popover]:where(sbb-popover){margin:0;padding:0;border:none;width:auto;height:auto;background-color:transparent;color:inherit;pointer-events:none}[popover]:where(sbb-popover) .sbb-sr-popover{margin-block:calc(4 * var(--sbb-seat-reservation-one-px-rem, .0625rem))}:host([align-vertical]) .sbb-sr__component{flex-direction:row-reverse;justify-content:flex-end;gap:calc(22 * var(--sbb-seat-reservation-one-px-rem, .0625rem));height:inherit}@media(min-width:37.5rem){:host([align-vertical]) .sbb-sr__component{gap:calc(54 * var(--sbb-seat-reservation-one-px-rem, .0625rem))}}:host([align-vertical]) .sbb-sr__component nav.sbb-sr-navigation,:host([align-vertical]) .sbb-sr__component ul.sbb-sr-navigation__list-coaches{flex-direction:column}:host([align-vertical]) .sbb-sr__component nav.sbb-sr-navigation{padding:calc(16 * var(--sbb-seat-reservation-one-px-rem, .0625rem)) 0}:host([align-vertical]) .sbb-sr__component nav.sbb-sr-navigation .sbb-sr__navigation-control-button{left:calc(1 * var(--sbb-seat-reservation-one-px-rem, .0625rem));top:0;rotate:90deg}@media(min-width:64rem){:host([align-vertical]) .sbb-sr__component nav.sbb-sr-navigation .sbb-sr__navigation-control-button{left:calc(-1 * var(--sbb-seat-reservation-one-px-rem, .0625rem))}}:host([align-vertical]) .sbb-sr__component nav.sbb-sr-navigation ul.sbb-sr-navigation__list-coaches{max-width:initial;padding:calc(5 * var(--sbb-seat-reservation-one-px-rem, .0625rem));overflow:hidden scroll}:host([align-vertical]) .sbb-sr__component nav.sbb-sr-navigation ul.sbb-sr-navigation__list-coaches li{display:flex}:host([align-vertical]) .sbb-sr__wrapper-coach-decks{flex-direction:column}:host([align-vertical]) .sbb-sr__wrapper-coach-decks .sbb-sr__wrapper-deck-labels{flex-direction:column-reverse;width:calc((var(--sbb-seat-reservation-height) + 24) * var(--sbb-seat-reservation-one-px-rem, .0625rem));height:initial}:host([align-vertical]) .sbb-sr__wrapper-coach-decks .sbb-sr__wrapper-deck-labels b{inline-size:calc(50% - 16 * var(--sbb-seat-reservation-one-px-rem, .0625rem));block-size:calc(20 * var(--sbb-seat-reservation-one-px-rem, .0625rem));margin-bottom:calc(16 * var(--sbb-seat-reservation-one-px-rem, .0625rem));rotate:initial;writing-mode:initial}:host([align-vertical]) .sbb-sr__wrapper-scrollarea{width:calc((var(--sbb-seat-reservation-height) + 24) * var(--sbb-seat-reservation-one-px-rem, .0625rem));height:100%;overflow:hidden scroll}:host([align-vertical]) .sbb-sr__wrapper-scrollarea .sbb-sr__parent{rotate:90deg}:host([align-vertical]) .sbb-sr-travel-direction-wrapper{width:calc(var(--sbb-seat-reservation-height) * var(--sbb-seat-reservation-one-px-rem, .0625rem));margin-block-start:calc(4 * var(--sbb-seat-reservation-one-px-rem, .0625rem))}.sbb-sr-navigation{gap:calc(3 * var(--sbb-seat-reservation-one-px-rem, .0625rem))}.sbb-sr-navigation .sbb-sr__navigation-control-button{position:relative;top:calc(2 * var(--sbb-seat-reservation-one-px-rem, .0625rem))}@media(min-width:64rem){.sbb-sr-navigation .sbb-sr__navigation-control-button{top:0}}.sbb-sr__component{display:flex;flex-direction:column;gap:calc(64 * var(--sbb-seat-reservation-one-px-rem, .0625rem) - 16px)}.sbb-sr-travel-direction-wrapper{display:flex;justify-content:center;align-items:center;column-gap:calc(4 * var(--sbb-seat-reservation-one-px-rem, .0625rem));margin-block:calc(8 * var(--sbb-seat-reservation-one-px-rem, .0625rem)) calc(4 * var(--sbb-seat-reservation-one-px-rem, .0625rem));font-size:var(--sbb-text-font-size-s)}.sbb-sr-travel-direction-wrapper .sbb-sr__travel-direction--arrow{display:flex;align-items:center}.sbb-sr-navigation-wrapper{display:flex}.sbb-sr-navigation{display:flex;justify-content:center;width:100%;padding-inline:16px}.sbb-sr-navigation__list-coaches{list-style:none;margin:0;padding:0;font-size:inherit;--sbb-scrollbar-thumb-width: .125rem;--sbb-scrollbar-thumb-width-hover: .25rem;--sbb-scrollbar-width-firefox: thin;--sbb-scrollbar-color: color-mix(in srgb, var(--sbb-color-black) 30%, transparent);--sbb-scrollbar-color: light-dark( color-mix(in srgb, var(--sbb-color-black) 30%, transparent), color-mix(in srgb, var(--sbb-color-white) 30%, transparent) );--sbb-scrollbar-color-hover: color-mix(in srgb, var(--sbb-color-black) 60%, transparent);--sbb-scrollbar-color-hover: light-dark( color-mix(in srgb, var(--sbb-color-black) 60%, transparent), color-mix(in srgb, var(--sbb-color-white) 60%, transparent) );--sbb-scrollbar-track-color: transparent;--sbb-scrollbar-width: var(--sbb-spacing-fixed-3x)}.sbb-sr-navigation__list-coaches::-webkit-scrollbar{width:var(--sbb-scrollbar-width);height:var(--sbb-scrollbar-width);background-color:var(--sbb-scrollbar-track-color, transparent)}.sbb-sr-navigation__list-coaches::-webkit-scrollbar-corner{background-color:var(--sbb-scrollbar-track-color, transparent)}.sbb-sr-navigation__list-coaches::-webkit-scrollbar-thumb{background-color:var(--sbb-scrollbar-color, currentcolor);border:calc(.5 * (var(--sbb-scrollbar-width) - var(--sbb-scrollbar-thumb-width))) solid transparent;border-radius:var(--sbb-border-radius-4x);background-clip:padding-box}.sbb-sr-navigation__list-coaches::-webkit-scrollbar-thumb:hover{background-color:var(--sbb-scrollbar-color-hover, currentcolor);border-width:calc(.5 * (var(--sbb-scrollbar-width) - var(--sbb-scrollbar-thumb-width-hover)))}.sbb-sr-navigation__list-coaches::-webkit-scrollbar-button,.sbb-sr-navigation__list-coaches::-webkit-scrollbar-corner{display:none}@supports not selector(::-webkit-scrollbar){.sbb-sr-navigation__list-coaches{scrollbar-width:var(--sbb-scrollbar-width-firefox);scrollbar-color:var(--sbb-scrollbar-color, currentcolor) var(--sbb-scrollbar-track-color, transparent)}}.sbb-sr-navigation__list-coaches{display:flex;flex-wrap:nowrap;gap:calc(4 * var(--sbb-seat-reservation-one-px-rem, .0625rem));padding:calc(6 * var(--sbb-seat-reservation-one-px-rem, .0625rem)) calc(5 * var(--sbb-seat-reservation-one-px-rem, .0625rem)) 0;max-width:856px;--sbb-scrollbar-color: transparent;overflow:scroll hidden;position:relative}.sbb-sr__wrapper-coach-decks{display:flex;overflow:hidden;height:inherit}.sbb-sr__wrapper-coach-decks .sbb-sr__wrapper-deck-labels{display:flex;justify-content:space-between;height:calc(var(--sbb-seat-reservation-height) * var(--sbb-seat-reservation-one-px-rem, .0625rem));writing-mode:vertical-lr}.sbb-sr__wrapper-coach-decks .sbb-sr__wrapper-deck-labels b{height:calc(50% - 16 * var(--sbb-seat-reservation-one-px-rem, .0625rem));width:calc(20 * var(--sbb-seat-reservation-one-px-rem, .0625rem));margin-block-end:16px;rotate:180deg;text-align:center;line-height:calc(20 * var(--sbb-seat-reservation-one-px-rem, .0625rem))}.sbb-sr__wrapper-scrollarea{--sbb-scrollbar-thumb-width: .125rem;--sbb-scrollbar-thumb-width-hover: .25rem;--sbb-scrollbar-width-firefox: thin;--sbb-scrollbar-color: color-mix(in srgb, var(--sbb-color-black) 30%, transparent);--sbb-scrollbar-color: light-dark( color-mix(in srgb, var(--sbb-color-black) 30%, transparent), color-mix(in srgb, var(--sbb-color-white) 30%, transparent) );--sbb-scrollbar-color-hover: color-mix(in srgb, var(--sbb-color-black) 60%, transparent);--sbb-scrollbar-color-hover: light-dark( color-mix(in srgb, var(--sbb-color-black) 60%, transparent), color-mix(in srgb, var(--sbb-color-white) 60%, transparent) );--sbb-scrollbar-track-color: transparent;--sbb-scrollbar-width: var(--sbb-spacing-fixed-3x)}.sbb-sr__wrapper-scrollarea::-webkit-scrollbar{width:var(--sbb-scrollbar-width);height:var(--sbb-scrollbar-width);background-color:var(--sbb-scrollbar-track-color, transparent)}.sbb-sr__wrapper-scrollarea::-webkit-scrollbar-corner{background-color:var(--sbb-scrollbar-track-color, transparent)}.sbb-sr__wrapper-scrollarea::-webkit-scrollbar-thumb{background-color:var(--sbb-scrollbar-color, currentcolor);border:calc(.5 * (var(--sbb-scrollbar-width) - var(--sbb-scrollbar-thumb-width))) solid transparent;border-radius:var(--sbb-border-radius-4x);background-clip:padding-box}.sbb-sr__wrapper-scrollarea::-webkit-scrollbar-thumb:hover{background-color:var(--sbb-scrollbar-color-hover, currentcolor);border-width:calc(.5 * (var(--sbb-scrollbar-width) - var(--sbb-scrollbar-thumb-width-hover)))}.sbb-sr__wrapper-scrollarea::-webkit-scrollbar-button,.sbb-sr__wrapper-scrollarea::-webkit-scrollbar-corner{display:none}@supports not selector(::-webkit-scrollbar){.sbb-sr__wrapper-scrollarea{scrollbar-width:var(--sbb-scrollbar-width-firefox);scrollbar-color:var(--sbb-scrollbar-color, currentcolor) var(--sbb-scrollbar-track-color, transparent)}}.sbb-sr__wrapper-scrollarea{overflow:scroll hidden;padding-block:calc(8 * var(--sbb-seat-reservation-one-px-rem, .0625rem)) calc(16 * var(--sbb-seat-reservation-one-px-rem, .0625rem))}.sbb-sr__wrapper-scrollarea .sbb-sr__parent{display:flex;flex-direction:column;position:relative}.sbb-sr__list-decks{list-style:none;margin:0;padding:0;font-size:inherit;display:flex;flex-direction:column}.sbb-sr__list-decks--gap{gap:calc(48 * var(--sbb-seat-reservation-one-px-rem, .0625rem))}.sbb-sr__list-item-deck{position:relative}.sbb-sr__list-coaches{list-style:none;margin:0;padding:0;font-size:inherit;display:flex;gap:calc(4 * var(--sbb-seat-reservation-one-px-rem, .0625rem))}.sbb-sr__list-decks:has(.sbb-sr-coach-has-overhanging-elements) .sbb-sr__list-coaches{gap:calc(8 * var(--sbb-seat-reservation-one-px-rem, .0625rem))}.sbb-sr__item-coach{position:relative}.sbb-sr-coach-wrapper__table{outline:0}", b = class extends e {
|
|
21
17
|
constructor() {
|
|
22
|
-
super(...arguments), this._language = new
|
|
18
|
+
super(...arguments), this._language = new n(this), this._notFixedRotatableAreaIcons = ["ENTRY_EXIT"];
|
|
23
19
|
}
|
|
24
20
|
static {
|
|
25
21
|
this.elementName = "sbb-seat-reservation";
|
|
26
22
|
}
|
|
27
23
|
static {
|
|
28
|
-
this.
|
|
24
|
+
this.elementDependencies = [
|
|
25
|
+
t,
|
|
26
|
+
r,
|
|
27
|
+
p,
|
|
28
|
+
h,
|
|
29
|
+
f,
|
|
30
|
+
_,
|
|
31
|
+
g,
|
|
32
|
+
v
|
|
33
|
+
];
|
|
34
|
+
}
|
|
35
|
+
static {
|
|
36
|
+
this.styles = [i, c(y)];
|
|
29
37
|
}
|
|
30
38
|
willUpdate(e) {
|
|
31
39
|
super.willUpdate(e), e.has("hasNavigation") && (this.hasNavigation ? this.shadowRoot?.querySelectorAll("table").forEach((e) => e.removeAttribute("tabindex")) : this.shadowRoot?.querySelectorAll("table").forEach((e) => e.setAttribute("tabindex", "0")));
|
|
@@ -39,7 +47,7 @@ var _ = class extends e {
|
|
|
39
47
|
return this._initVehicleSeatReservationConstruction(), this._coachesHtmlTemplate || null;
|
|
40
48
|
}
|
|
41
49
|
_initVehicleSeatReservationConstruction() {
|
|
42
|
-
this._coachesHtmlTemplate =
|
|
50
|
+
this._coachesHtmlTemplate = a`
|
|
43
51
|
${this._renderTravelDirection()}
|
|
44
52
|
<div class="sbb-sr__component">
|
|
45
53
|
${this._renderNavigation()}
|
|
@@ -56,12 +64,12 @@ var _ = class extends e {
|
|
|
56
64
|
>
|
|
57
65
|
<div id="sbb-sr__parent-area" class="sbb-sr__parent">
|
|
58
66
|
<ul
|
|
59
|
-
class="${
|
|
67
|
+
class="${u({
|
|
60
68
|
"sbb-sr__list-decks": !0,
|
|
61
69
|
"sbb-sr__list-decks--gap": this.hasMultipleDecks
|
|
62
70
|
})}"
|
|
63
71
|
>
|
|
64
|
-
${this.seatReservations?.map((e, t) =>
|
|
72
|
+
${this.seatReservations?.map((e, t) => a`<li class="sbb-sr__list-item-deck">
|
|
65
73
|
<ul class="sbb-sr__list-coaches" role="presentation">
|
|
66
74
|
${this._renderCoaches(e, t)}
|
|
67
75
|
</ul>
|
|
@@ -74,12 +82,12 @@ var _ = class extends e {
|
|
|
74
82
|
`;
|
|
75
83
|
}
|
|
76
84
|
_renderDeckLabels() {
|
|
77
|
-
return this.hasMultipleDecks ? this.seatReservations.map((e) =>
|
|
85
|
+
return this.hasMultipleDecks ? this.seatReservations.map((e) => a`<b aria-hidden="true">${d(e.deckCoachLevel, this._language.current)}</b>`) : null;
|
|
78
86
|
}
|
|
79
87
|
_renderNavigationControlButton(e) {
|
|
80
88
|
if (!this.hasNavigation || !this.seatReservations) return null;
|
|
81
|
-
let t = e == "DIRECTION_RIGHT" ? "sbb-sr-navigation__wrapper-button-direction--right" : "sbb-sr-navigation__wrapper-button-direction--left", n = e == "DIRECTION_RIGHT" ? "chevron-small-right-small" : "chevron-small-left-small",
|
|
82
|
-
return (e == "DIRECTION_LEFT" && this.selectedCoachIndex > 0 || e == "DIRECTION_RIGHT" && this.selectedCoachIndex < this.coachItemDetailsElements.length - 1) && (
|
|
89
|
+
let t = e == "DIRECTION_RIGHT" ? "sbb-sr-navigation__wrapper-button-direction--right" : "sbb-sr-navigation__wrapper-button-direction--left", n = e == "DIRECTION_RIGHT" ? "chevron-small-right-small" : "chevron-small-left-small", r = d(e == "DIRECTION_RIGHT" ? "SEAT_RESERVATION_END" : "SEAT_RESERVATION_BEGIN", this._language.current), i = !0;
|
|
90
|
+
return (e == "DIRECTION_LEFT" && this.selectedCoachIndex > 0 || e == "DIRECTION_RIGHT" && this.selectedCoachIndex < this.coachItemDetailsElements.length - 1) && (i = !1), a`<div class="sbb-sr-navigation__wrapper-button-direction">
|
|
83
91
|
<sbb-secondary-button
|
|
84
92
|
@click="${() => this.navigateByDirectionBtn(e)}"
|
|
85
93
|
@focus="${() => this.onFocusNavDirectionButton()}"
|
|
@@ -88,17 +96,17 @@ var _ = class extends e {
|
|
|
88
96
|
size="m"
|
|
89
97
|
icon-name="${n}"
|
|
90
98
|
type="button"
|
|
91
|
-
aria-label="${
|
|
99
|
+
aria-label="${r}"
|
|
92
100
|
role="button"
|
|
93
|
-
.disabledInteractive="${
|
|
94
|
-
.disabled="${
|
|
101
|
+
.disabledInteractive="${i || s}"
|
|
102
|
+
.disabled="${i || s}"
|
|
95
103
|
></sbb-secondary-button>
|
|
96
104
|
</div>`;
|
|
97
105
|
}
|
|
98
106
|
_renderTravelDirection() {
|
|
99
107
|
if (!this.travelDirection || this.travelDirection === "NONE") return null;
|
|
100
|
-
let e =
|
|
101
|
-
return
|
|
108
|
+
let e = d("SEAT_RESERVATION_TRAVEL_DIRECTION", this._language.current);
|
|
109
|
+
return a`<div class="sbb-sr-travel-direction-wrapper">
|
|
102
110
|
<div class="sbb-sr__travel-direction--arrow">
|
|
103
111
|
<sbb-icon slot="icon" name="${`arrow-${this.alignVertical ? this.travelDirection === "RIGHT" ? "down" : "up" : this.travelDirection === "RIGHT" ? "right" : "left"}-small`}"></sbb-icon>
|
|
104
112
|
</div>
|
|
@@ -106,15 +114,15 @@ var _ = class extends e {
|
|
|
106
114
|
</div>`;
|
|
107
115
|
}
|
|
108
116
|
_renderNavigation() {
|
|
109
|
-
return
|
|
117
|
+
return o || !this.hasNavigation || !this.seatReservations ? null : a`<div class="sbb-sr-navigation-wrapper">
|
|
110
118
|
<nav id="sbb-sr-navigation" class="sbb-sr-navigation">
|
|
111
119
|
${this._renderNavigationControlButton("DIRECTION_LEFT")}
|
|
112
120
|
<ul
|
|
113
121
|
id="sbb-sr__navigation-list-coaches"
|
|
114
122
|
class="sbb-sr-navigation__list-coaches"
|
|
115
|
-
aria-label="${
|
|
123
|
+
aria-label="${d("SEAT_RESERVATION_NAVIGATION", this._language.current)}"
|
|
116
124
|
>
|
|
117
|
-
${this.coachItemDetailsElements.map((e, t) =>
|
|
125
|
+
${this.coachItemDetailsElements.map((e, t) => a`<li>
|
|
118
126
|
<sbb-seat-reservation-navigation-coach
|
|
119
127
|
@selectcoach=${(e) => this._onSelectNavCoach(e)}
|
|
120
128
|
@focuscoach=${() => this._onFocusNavCoach()}
|
|
@@ -137,18 +145,18 @@ var _ = class extends e {
|
|
|
137
145
|
}
|
|
138
146
|
_renderCoaches(e, t) {
|
|
139
147
|
let n = JSON.parse(JSON.stringify(e?.coachItems));
|
|
140
|
-
return !n ||
|
|
148
|
+
return !n || o ? null : n.map((n, r) => a`
|
|
141
149
|
<li class="sbb-sr__item-coach">
|
|
142
|
-
${this._renderCoachElement(n,
|
|
150
|
+
${this._renderCoachElement(n, r, t, e.deckCoachIndex)}
|
|
143
151
|
</li>
|
|
144
152
|
`);
|
|
145
153
|
}
|
|
146
|
-
_renderCoachElement(e, t, n,
|
|
147
|
-
let
|
|
148
|
-
return
|
|
149
|
-
style=${
|
|
150
|
-
"--sbb-seat-reservation-scoped-width":
|
|
151
|
-
"--sbb-seat-reservation-scoped-height":
|
|
154
|
+
_renderCoachElement(e, t, n, r) {
|
|
155
|
+
let i = this.getCalculatedDimension(e.dimension), o = this._getDescriptionTableCoach(e);
|
|
156
|
+
return a`<sbb-seat-reservation-scoped
|
|
157
|
+
style=${l({
|
|
158
|
+
"--sbb-seat-reservation-scoped-width": i.w,
|
|
159
|
+
"--sbb-seat-reservation-scoped-height": i.h
|
|
152
160
|
})}
|
|
153
161
|
>
|
|
154
162
|
${this._getRenderedCoachBorders(e, t)}
|
|
@@ -165,25 +173,25 @@ var _ = class extends e {
|
|
|
165
173
|
<caption id="sbb-sr-coach-caption-${t}" tabindex="-1">
|
|
166
174
|
<sbb-screen-reader-only>${o}</sbb-screen-reader-only>
|
|
167
175
|
</caption>
|
|
168
|
-
${this._getRenderedRowPlaces(e, t, n,
|
|
176
|
+
${this._getRenderedRowPlaces(e, t, n, r)}
|
|
169
177
|
</table>
|
|
170
178
|
</sbb-seat-reservation-scoped>`;
|
|
171
179
|
}
|
|
172
180
|
_getRenderedCoachBorders(e, t) {
|
|
173
181
|
if (!e.graphicElements) return null;
|
|
174
|
-
let n = this.coachItemDetailsElements[t]?.driverAreaElements?.driverArea,
|
|
175
|
-
|
|
176
|
-
let o = (e.dimension.h + this.coachBorderOffset * 2) * this.baseGridSize,
|
|
177
|
-
|
|
178
|
-
let
|
|
179
|
-
return (
|
|
182
|
+
let n = this.coachItemDetailsElements[t]?.driverAreaElements?.driverArea, r = this.coachItemDetailsElements[t]?.driverAreaElements?.driverAreaNoVerticalWall, i = n ? e.dimension.w - n.dimension.w - 1 : e.dimension.w - 2;
|
|
183
|
+
i *= this.baseGridSize;
|
|
184
|
+
let o = (e.dimension.h + this.coachBorderOffset * 2) * this.baseGridSize, s = n && n.position.x === 0 ? n?.dimension.w * this.baseGridSize : this.baseGridSize;
|
|
185
|
+
r && (i = this.getCalculatedDimension(e.dimension).w - 2 * (r.dimension.w * this.baseGridSize), s = r.dimension.w * this.baseGridSize);
|
|
186
|
+
let c = this.overHangingElementInformation.find((t) => t.coachId === e.id);
|
|
187
|
+
return (c?.overhangingPlaces || c?.overhangingGraphicAreas) && (i += 2 * this.baseGridSize, s = 0), a`
|
|
180
188
|
<sbb-seat-reservation-graphic
|
|
181
|
-
class="${
|
|
182
|
-
style=${
|
|
183
|
-
"--sbb-seat-reservation-graphic-width":
|
|
189
|
+
class="${u({ "sbb-sr-coach-has-overhanging-elements": c?.overhangingPlaces || c?.overhangingGraphicAreas || !1 })}"
|
|
190
|
+
style=${l({
|
|
191
|
+
"--sbb-seat-reservation-graphic-width": i,
|
|
184
192
|
"--sbb-seat-reservation-graphic-height": o,
|
|
185
193
|
"--sbb-seat-reservation-graphic-top": this.coachBorderPadding * -1,
|
|
186
|
-
"--sbb-seat-reservation-graphic-left":
|
|
194
|
+
"--sbb-seat-reservation-graphic-left": s,
|
|
187
195
|
"--sbb-seat-reservation-graphic-position": "absolute"
|
|
188
196
|
})}
|
|
189
197
|
name="COACH_BORDER_MIDDLE"
|
|
@@ -192,34 +200,34 @@ var _ = class extends e {
|
|
|
192
200
|
></sbb-seat-reservation-graphic>
|
|
193
201
|
`;
|
|
194
202
|
}
|
|
195
|
-
_getRenderedRowPlaces(e, t, n,
|
|
203
|
+
_getRenderedRowPlaces(e, t, n, r) {
|
|
196
204
|
if (!e.places) return null;
|
|
197
|
-
let
|
|
198
|
-
for (let t of e.places)
|
|
199
|
-
return Object.values(
|
|
200
|
-
<tr id="row-${t}-${e[0].position.y}" data-row-index=${
|
|
201
|
-
${this._getRenderedColumnPlaces(e, t, n,
|
|
205
|
+
let i = {};
|
|
206
|
+
for (let t of e.places) i[t.position.y] ? i[t.position.y].push(t) : i[t.position.y] = [t];
|
|
207
|
+
return Object.values(i).map((e, i) => a`
|
|
208
|
+
<tr id="row-${t}-${e[0].position.y}" data-row-index=${i}>
|
|
209
|
+
${this._getRenderedColumnPlaces(e, t, n, r)}
|
|
202
210
|
</tr>
|
|
203
211
|
`).flatMap((e) => e);
|
|
204
212
|
}
|
|
205
|
-
_getRenderedColumnPlaces(e, t, n,
|
|
213
|
+
_getRenderedColumnPlaces(e, t, n, r) {
|
|
206
214
|
e.sort((e, t) => Number(e.position.x) - Number(t.position.x));
|
|
207
|
-
let
|
|
208
|
-
return
|
|
209
|
-
let o = this.getCalculatedDimension(e.dimension),
|
|
210
|
-
return
|
|
215
|
+
let i = t + "-" + r;
|
|
216
|
+
return a`${m(e, (e) => i + "-" + e.number, (e, i) => {
|
|
217
|
+
let o = this.getCalculatedDimension(e.dimension), s = this.getCalculatedPosition(e.position), c = e.rotation || 0, u = this.alignVertical ? -90 : 0, d = this.getPlaceElementId(n, t, e.number);
|
|
218
|
+
return a`
|
|
211
219
|
<td
|
|
212
|
-
id="cell-${n}-${t}-${e.position.y}-${
|
|
220
|
+
id="cell-${n}-${t}-${e.position.y}-${i}"
|
|
213
221
|
class="graphical-element"
|
|
214
222
|
>
|
|
215
223
|
<sbb-seat-reservation-place-control
|
|
216
|
-
style=${
|
|
224
|
+
style=${l({
|
|
217
225
|
"--sbb-seat-reservation-place-control-text-scale-value": Math.min(o.w, o.h),
|
|
218
226
|
"--sbb-seat-reservation-place-control-width": o.w,
|
|
219
227
|
"--sbb-seat-reservation-place-control-height": o.h,
|
|
220
|
-
"--sbb-seat-reservation-place-control-top":
|
|
221
|
-
"--sbb-seat-reservation-place-control-left":
|
|
222
|
-
"--sbb-seat-reservation-place-control-rotation":
|
|
228
|
+
"--sbb-seat-reservation-place-control-top": s.y,
|
|
229
|
+
"--sbb-seat-reservation-place-control-left": s.x,
|
|
230
|
+
"--sbb-seat-reservation-place-control-rotation": c,
|
|
223
231
|
"--sbb-seat-reservation-place-control-text-rotation": u
|
|
224
232
|
})}
|
|
225
233
|
@selectplace=${(e) => this._onSelectPlace(e)}
|
|
@@ -231,7 +239,7 @@ var _ = class extends e {
|
|
|
231
239
|
state=${e.state}
|
|
232
240
|
travel-direction=${this.travelDirection}
|
|
233
241
|
coach-index=${t}
|
|
234
|
-
deck-index=${
|
|
242
|
+
deck-index=${r}
|
|
235
243
|
data-deck-index=${n}
|
|
236
244
|
.propertyIds=${e.propertyIds}
|
|
237
245
|
.preventClick=${this.preventPlaceClick}
|
|
@@ -247,13 +255,13 @@ var _ = class extends e {
|
|
|
247
255
|
return this.notAreaElements.findIndex((e) => e === i) > -1 ? this._getRenderElementWithoutArea(e, a, t) : this._getRenderElementWithArea(e, s, t, n, r);
|
|
248
256
|
}) : null;
|
|
249
257
|
}
|
|
250
|
-
_getRenderElementWithArea(e, t, n,
|
|
251
|
-
let
|
|
252
|
-
return e.position.y === this.coachBorderOffset * -1 ? _ = "upper-border" : e.position.y + e.dimension.h === n.h + this.coachBorderOffset && (_ = "lower-border"), _ !== "free" && (h.y += _ === "upper-border" ? 2 : 1, m.h -= 3),
|
|
258
|
+
_getRenderElementWithArea(e, t, n, r, i) {
|
|
259
|
+
let o = e.icon?.indexOf("TABLE") === -1, c = e.icon && o ? e.icon : null, f = this.isElementDirectlyOnBorder(e, n) && c !== "ENTRY_EXIT", p = e.icon ? d(e.icon, this._language.current) : s, m = this.getCalculatedDimension(e.dimension, n, !0, f), h = this.getCalculatedPosition(e.position, e.dimension, n, !0), g = `popover-trigger-${i}-${r}-${h.x}-${h.y}`, _ = "free";
|
|
260
|
+
return e.position.y === this.coachBorderOffset * -1 ? _ = "upper-border" : e.position.y + e.dimension.h === n.h + this.coachBorderOffset && (_ = "lower-border"), _ !== "free" && (h.y += _ === "upper-border" ? 2 : 1, m.h -= 3), a`
|
|
253
261
|
<sbb-seat-reservation-area
|
|
254
262
|
id="${g}"
|
|
255
|
-
class="${
|
|
256
|
-
style=${
|
|
263
|
+
class="${u({ "sbb-seat-reservation-area--cursor-pointer": c !== null })}"
|
|
264
|
+
style=${l({
|
|
257
265
|
"--sbb-seat-reservation-area-width": m.w,
|
|
258
266
|
"--sbb-seat-reservation-area-height": m.h,
|
|
259
267
|
"--sbb-seat-reservation-area-top": h.y,
|
|
@@ -263,62 +271,62 @@ var _ = class extends e {
|
|
|
263
271
|
background="dark"
|
|
264
272
|
aria-hidden="true"
|
|
265
273
|
>
|
|
266
|
-
${
|
|
274
|
+
${c ? a`
|
|
267
275
|
<sbb-seat-reservation-graphic
|
|
268
|
-
style=${
|
|
276
|
+
style=${l({
|
|
269
277
|
"--sbb-seat-reservation-graphic-max-width": this.globalAreaIconDim.w,
|
|
270
278
|
"--sbb-seat-reservation-graphic-max-height": this.globalAreaIconDim.h,
|
|
271
279
|
"--sbb-seat-reservation-graphic-width": m.w,
|
|
272
280
|
"--sbb-seat-reservation-graphic-height": m.h,
|
|
273
281
|
"--sbb-seat-reservation-graphic-rotation": t,
|
|
274
|
-
"--sbb-seat-reservation-graphic-padding-percent":
|
|
282
|
+
"--sbb-seat-reservation-graphic-padding-percent": c === "ENTRY_EXIT" ? 1 : this.globalAreaIconPadding
|
|
275
283
|
})}
|
|
276
|
-
name=${
|
|
284
|
+
name=${c}
|
|
277
285
|
role="img"
|
|
278
286
|
aria-hidden="true"
|
|
279
287
|
class="sbb-sr-graphic__dimension--square-dim"
|
|
280
288
|
></sbb-seat-reservation-graphic>
|
|
281
|
-
` :
|
|
289
|
+
` : s}
|
|
282
290
|
</sbb-seat-reservation-area>
|
|
283
|
-
${
|
|
291
|
+
${c ? this._popover(g, p) : s}
|
|
284
292
|
`;
|
|
285
293
|
}
|
|
286
294
|
_getRenderElementWithoutArea(e, t, n) {
|
|
287
|
-
let
|
|
288
|
-
return
|
|
289
|
-
style=${
|
|
290
|
-
"--sbb-seat-reservation-graphic-width":
|
|
291
|
-
"--sbb-seat-reservation-graphic-height":
|
|
292
|
-
"--sbb-seat-reservation-graphic-top":
|
|
293
|
-
"--sbb-seat-reservation-graphic-left":
|
|
295
|
+
let r = this.getCalculatedDimension(e.dimension, n), i = this.getCalculatedPosition(e.position, e.dimension, n), o = e.icon && e.icon.endsWith("DRIVER_AREA") ? e.icon?.concat("_", this.seatReservations[this.currSelectedDeckIndex].vehicleType) : e.icon;
|
|
296
|
+
return a` <sbb-seat-reservation-graphic
|
|
297
|
+
style=${l({
|
|
298
|
+
"--sbb-seat-reservation-graphic-width": r.w,
|
|
299
|
+
"--sbb-seat-reservation-graphic-height": r.h,
|
|
300
|
+
"--sbb-seat-reservation-graphic-top": i.y,
|
|
301
|
+
"--sbb-seat-reservation-graphic-left": i.x,
|
|
294
302
|
"--sbb-seat-reservation-graphic-position": "absolute",
|
|
295
303
|
"--sbb-seat-reservation-graphic-rotation": t
|
|
296
304
|
})}
|
|
297
|
-
name=${
|
|
305
|
+
name=${o ?? s}
|
|
298
306
|
aria-hidden="true"
|
|
299
307
|
?stretch=${!0}
|
|
300
308
|
></sbb-seat-reservation-graphic>`;
|
|
301
309
|
}
|
|
302
310
|
_getRenderedServiceElements(e, t, n) {
|
|
303
311
|
return n ? n?.map((n) => {
|
|
304
|
-
let
|
|
305
|
-
return
|
|
312
|
+
let r = n.icon ? d(n.icon, this._language.current) : null, i = this.getCalculatedDimension(n.dimension), o = this.getCalculatedPosition(n.position), c = n.rotation || 0, u = this.alignVertical ? c - 90 : c, f = `popover-trigger-${t}-${e}-${o.x}-${o.y}`;
|
|
313
|
+
return a`
|
|
306
314
|
<sbb-seat-reservation-graphic
|
|
307
315
|
id="${f}"
|
|
308
|
-
style=${
|
|
309
|
-
"--sbb-seat-reservation-graphic-width":
|
|
310
|
-
"--sbb-seat-reservation-graphic-height":
|
|
311
|
-
"--sbb-seat-reservation-graphic-top":
|
|
312
|
-
"--sbb-seat-reservation-graphic-left":
|
|
316
|
+
style=${l({
|
|
317
|
+
"--sbb-seat-reservation-graphic-width": i.w,
|
|
318
|
+
"--sbb-seat-reservation-graphic-height": i.h,
|
|
319
|
+
"--sbb-seat-reservation-graphic-top": o.y,
|
|
320
|
+
"--sbb-seat-reservation-graphic-left": o.x,
|
|
313
321
|
"--sbb-seat-reservation-graphic-position": "absolute",
|
|
314
|
-
"--sbb-seat-reservation-graphic-rotation":
|
|
322
|
+
"--sbb-seat-reservation-graphic-rotation": u
|
|
315
323
|
})}
|
|
316
324
|
class="sbb-seat-reservation-graphic--cursor-pointer"
|
|
317
|
-
name=${n.icon ??
|
|
325
|
+
name=${n.icon ?? s}
|
|
318
326
|
role="img"
|
|
319
327
|
aria-hidden="true"
|
|
320
328
|
></sbb-seat-reservation-graphic>
|
|
321
|
-
${this._popover(f,
|
|
329
|
+
${this._popover(f, r)}
|
|
322
330
|
`;
|
|
323
331
|
}) : null;
|
|
324
332
|
}
|
|
@@ -334,7 +342,7 @@ var _ = class extends e {
|
|
|
334
342
|
this.preventCoachScrollByPlaceClick ? this.focusPlaceElement(this.currSelectedPlace) : this.preselectPlaceInCoach(), this.isAutoScrolling = !1;
|
|
335
343
|
}
|
|
336
344
|
_popover(e, t) {
|
|
337
|
-
return
|
|
345
|
+
return a`
|
|
338
346
|
<sbb-popover trigger="${e}" hover-trigger="">
|
|
339
347
|
<p class="sbb-text-s sbb-sr-popover">${t}</p>
|
|
340
348
|
</sbb-popover>
|
|
@@ -344,24 +352,24 @@ var _ = class extends e {
|
|
|
344
352
|
this.shadowRoot?.querySelectorAll("sbb-popover:is(:state(state-opened),[state--state-opened])").forEach((e) => e.close());
|
|
345
353
|
}
|
|
346
354
|
_getDescriptionTableCoach(e) {
|
|
347
|
-
if (e.type === "LOCOMOTIVE_COACH") return
|
|
348
|
-
if (!e.places?.length) return
|
|
355
|
+
if (e.type === "LOCOMOTIVE_COACH") return d("COACH_LOCOMOTIVE", this._language.current);
|
|
356
|
+
if (!e.places?.length) return d("COACH_BLOCKED_TABLE_CAPTION", this._language.current, [e.id]);
|
|
349
357
|
let t, n = this._getTitleDescriptionListString(e.graphicElements), r = this._getTitleDescriptionListString(e.serviceElements);
|
|
350
|
-
if (t =
|
|
351
|
-
let n = this.getAvailableFreePlacesNumFromCoach(e.places), r =
|
|
358
|
+
if (t = d("COACH_TABLE_CAPTION", this._language.current, [e.id]), !this.hasNavigation) {
|
|
359
|
+
let n = this.getAvailableFreePlacesNumFromCoach(e.places), r = d("COACH_AVAILABLE_NUMBER_OF_PLACES", this._language.current, [n.seats, n.bicycles]);
|
|
352
360
|
t = t.concat(". ").concat(r).concat(". ");
|
|
353
361
|
}
|
|
354
|
-
return (n || r) && (t += ". " +
|
|
362
|
+
return (n || r) && (t += ". " + d("COACH_AVAILABLE_SERVICES", this._language.current) + ": ", t += r + ", " + n + "."), t;
|
|
355
363
|
}
|
|
356
364
|
_getTitleDescriptionListString(e) {
|
|
357
365
|
let t = [];
|
|
358
366
|
return e?.map((e) => {
|
|
359
367
|
let n = e.icon;
|
|
360
368
|
if (!n) return null;
|
|
361
|
-
let r = t.indexOf(n) > -1, i =
|
|
369
|
+
let r = t.indexOf(n) > -1, i = d(e.icon, this._language.current), a = this._notFixedRotatableAreaIcons.indexOf(n) === -1 && this.notAreaElements.indexOf(n) === -1;
|
|
362
370
|
return r || t.push(e.icon), i && !r && a ? i : null;
|
|
363
371
|
}).filter((e) => !!e).join(", ");
|
|
364
372
|
}
|
|
365
373
|
};
|
|
366
374
|
//#endregion
|
|
367
|
-
export {
|
|
375
|
+
export { b as t };
|
package/seat-reservation.js
CHANGED
|
@@ -2,16 +2,15 @@ import { i as e, n as t, r as n, t as r } from "./mapper-Cqie5ivY.js";
|
|
|
2
2
|
import { mapIconToSvg as i } from "./seat-reservation/common/mapper/icon-mapper.js";
|
|
3
3
|
import { t as a } from "./svgs-D5DhLHxC.js";
|
|
4
4
|
import { getI18nSeatReservation as o } from "./seat-reservation/common/translations/i18n.js";
|
|
5
|
-
import { t as s } from "./seat-reservation-area.component-
|
|
6
|
-
import { t as c } from "./seat-reservation-graphic.component-
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as g } from "./seat-reservation.component-DajC6fqU.js";
|
|
5
|
+
import { t as s } from "./seat-reservation-area.component-CVc6uuMG.js";
|
|
6
|
+
import { t as c } from "./seat-reservation-graphic.component-Dzkv9tyR.js";
|
|
7
|
+
import { t as l } from "./seat-reservation-navigation-coach.component-CGfmiQJq.js";
|
|
8
|
+
import { t as u } from "./seat-reservation-navigation-services.component-DQviLWvy.js";
|
|
9
|
+
import { t as d } from "./seat-reservation-place-control.component-BYJi6aYS.js";
|
|
10
|
+
import { t as f } from "./seat-reservation-scoped.component-CdB7HYzl.js";
|
|
11
|
+
import { SeatReservationBaseElement as p } from "./seat-reservation/seat-reservation/seat-reservation-base-element.js";
|
|
12
|
+
import { t as m } from "./seat-reservation.component-DBtJhrR_.js";
|
|
14
13
|
import "./seat-reservation.pure.js";
|
|
15
|
-
|
|
14
|
+
m.define(), s.define(), c.define(), l.define(), u.define(), d.define(), f.define();
|
|
16
15
|
//#endregion
|
|
17
|
-
export { s as SbbSeatReservationAreaElement,
|
|
16
|
+
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 };
|
package/seat-reservation.pure.js
CHANGED
|
@@ -3,13 +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-
|
|
7
|
-
import { t as c } from "./seat-reservation-graphic.component-
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
export { s as SbbSeatReservationAreaElement, g as SbbSeatReservationElement, c as SbbSeatReservationGraphicElement, d as SbbSeatReservationNavigationCoachElement, f as SbbSeatReservationNavigationServicesElement, p as SbbSeatReservationPlaceControlElement, m as SbbSeatReservationScopedElement, h as SeatReservationBaseElement, l as assetsTemplate, o as getI18nSeatReservation, r as mapCoachInfosToCoachSelection, i as mapIconToSvg, t as mapPlaceAndCoachToSeatReservationPlaceSelection, n as mapPlaceInfosToPlaceSelection, e as mapRawDataToSeatReservation, u as svgImageByOSDMCode, a as svgs };
|
|
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";
|
|
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";
|
|
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-
|
|
1
|
+
import { t as e } from "../timetable-duration.component-PmvoOKVw.js";
|
|
2
2
|
export { e as SbbTimetableDurationElement };
|
package/{timetable-duration.component-BnJA8wSb.js → timetable-duration.component-PmvoOKVw.js}
RENAMED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { __esDecorate as e, __runInitializers as t } from "tslib";
|
|
2
|
-
import { SbbElement as n } from "@sbb-esta/lyne-elements/core
|
|
3
|
-
import {
|
|
4
|
-
import { forceType as i } from "@sbb-esta/lyne-elements/core/decorators.js";
|
|
5
|
-
import { boxSizingStyles as a } from "@sbb-esta/lyne-elements/core/styles.js";
|
|
6
|
-
import { html as o, unsafeCSS as s } from "lit";
|
|
7
|
-
import { i18nDurationHour as c, i18nDurationMinute as l } from "@sbb-esta/lyne-elements/core/i18n.js";
|
|
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";
|
|
3
|
+
import { html as c, unsafeCSS as l } from "lit";
|
|
8
4
|
import { property as u } from "lit/decorators.js";
|
|
9
5
|
//#region src/elements-experimental/timetable-duration/timetable-duration.scss?inline
|
|
10
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 = (() => {
|
|
@@ -15,7 +11,7 @@ var d = ":host{display:inline-block}.duration{--sbb-text-font-size: var(--sbb-te
|
|
|
15
11
|
}
|
|
16
12
|
static {
|
|
17
13
|
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(f[Symbol.metadata] ?? null) : void 0;
|
|
18
|
-
p = [
|
|
14
|
+
p = [a(), u()], e(this, null, p, {
|
|
19
15
|
kind: "accessor",
|
|
20
16
|
name: "config",
|
|
21
17
|
static: !1,
|
|
@@ -39,7 +35,7 @@ var d = ":host{display:inline-block}.duration{--sbb-text-font-size: var(--sbb-te
|
|
|
39
35
|
this.elementName = "sbb-timetable-duration";
|
|
40
36
|
}
|
|
41
37
|
static {
|
|
42
|
-
this.styles = [
|
|
38
|
+
this.styles = [i, l(d)];
|
|
43
39
|
}
|
|
44
40
|
#e;
|
|
45
41
|
get config() {
|
|
@@ -49,8 +45,8 @@ var d = ":host{display:inline-block}.duration{--sbb-text-font-size: var(--sbb-te
|
|
|
49
45
|
this.#e = e;
|
|
50
46
|
}
|
|
51
47
|
render() {
|
|
52
|
-
let e = JSON.parse(this.config), t =
|
|
53
|
-
return e.hours === 1 && (a =
|
|
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`
|
|
54
50
|
<p aria-label=${i} class="duration" role="text">
|
|
55
51
|
<span aria-hidden="true" class="duration__text--visual" role="presentation">
|
|
56
52
|
${r}
|
package/timetable-duration.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./timetable-duration.component-
|
|
1
|
+
import { t as e } from "./timetable-duration.component-PmvoOKVw.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-
|
|
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";
|
|
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 };
|