@sbb-esta/lyne-elements-experimental-dev 5.0.0-next.3-dev.1779268564 → 5.0.0-next.3-dev.1779279798

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 (79) hide show
  1. package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +42 -66
  2. package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.d.ts.map +1 -1
  3. package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +54 -83
  4. package/development/journey-summary/journey-summary.component.js +1 -1
  5. package/development/{journey-summary.component-De1ioDRq.js → journey-summary.component-Bjf9cIpR.js} +2 -2
  6. package/development/journey-summary.js +1 -1
  7. package/development/journey-summary.pure.js +1 -1
  8. package/development/pearl-chain/pearl-chain.component.js +1 -1
  9. package/development/pearl-chain-time/pearl-chain-time.component.js +1 -1
  10. package/development/{pearl-chain-time.component-BxVQ1z-Z.js → pearl-chain-time.component-y-YnuSnn.js} +2 -2
  11. package/development/pearl-chain-time.js +1 -1
  12. package/development/pearl-chain-time.pure.js +1 -1
  13. package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +1 -1
  14. package/development/{pearl-chain-vertical-item.component-DJioJtxP.js → pearl-chain-vertical-item.component-zo48V6sO.js} +2 -2
  15. package/development/pearl-chain-vertical-item.js +1 -1
  16. package/development/pearl-chain-vertical-item.pure.js +1 -1
  17. package/development/{pearl-chain.component-EEAZ7Kol.js → pearl-chain.component-CO4eTDeD.js} +2 -2
  18. package/development/pearl-chain.js +1 -1
  19. package/development/pearl-chain.pure.js +1 -1
  20. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.js +1 -1
  21. package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +1 -1
  22. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +1 -1
  23. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +1 -1
  24. package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +1 -1
  25. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +1 -1
  26. package/development/{seat-reservation-area.component-CMqjbUtV.js → seat-reservation-area.component-BiUbY2fJ.js} +2 -2
  27. package/development/{seat-reservation-graphic.component-C2r57590.js → seat-reservation-graphic.component-sXZS5AQ-.js} +2 -2
  28. package/development/{seat-reservation-navigation-coach.component-CMm-2Vuc.js → seat-reservation-navigation-coach.component-n9HVhAW1.js} +2 -2
  29. package/development/{seat-reservation-navigation-services.component-Do8JLJh3.js → seat-reservation-navigation-services.component-C_DDizl4.js} +2 -2
  30. package/development/{seat-reservation-place-control.component-Dfxv9B6C.js → seat-reservation-place-control.component-CEYulcPi.js} +2 -2
  31. package/development/seat-reservation.js +5 -5
  32. package/development/seat-reservation.pure.js +5 -5
  33. package/development/timetable-duration/timetable-duration.component.js +1 -1
  34. package/development/{timetable-duration.component-fBla8Kue.js → timetable-duration.component-QutPySyE.js} +2 -2
  35. package/development/timetable-duration.js +1 -1
  36. package/development/timetable-duration.pure.js +1 -1
  37. package/development/timetable-row/timetable-row.component.js +1 -1
  38. package/development/{timetable-row.component-CTShHdLn.js → timetable-row.component-2GBdtFiF.js} +2 -2
  39. package/development/timetable-row.js +1 -1
  40. package/development/timetable-row.pure.js +1 -1
  41. package/journey-summary/journey-summary.component.js +1 -1
  42. package/{journey-summary.component-CkDRawn9.js → journey-summary.component-Bbx7WYGU.js} +39 -39
  43. package/journey-summary.js +1 -1
  44. package/journey-summary.pure.js +1 -1
  45. package/package.json +2 -2
  46. package/pearl-chain/pearl-chain.component.js +1 -1
  47. package/pearl-chain-time/pearl-chain-time.component.js +1 -1
  48. package/{pearl-chain-time.component-D5OCEBJ_.js → pearl-chain-time.component-BDkOrxQ3.js} +32 -32
  49. package/pearl-chain-time.js +1 -1
  50. package/pearl-chain-time.pure.js +1 -1
  51. package/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +1 -1
  52. package/{pearl-chain-vertical-item.component-IdquCJMy.js → pearl-chain-vertical-item.component-an8iT9Ao.js} +24 -24
  53. package/pearl-chain-vertical-item.js +1 -1
  54. package/pearl-chain-vertical-item.pure.js +1 -1
  55. package/{pearl-chain.component-C6lcD7Xl.js → pearl-chain.component-DYzhEgWG.js} +24 -24
  56. package/pearl-chain.js +1 -1
  57. package/pearl-chain.pure.js +1 -1
  58. package/seat-reservation/seat-reservation/seat-reservation-base-element.js +58 -58
  59. package/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +1 -1
  60. package/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +1 -1
  61. package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +1 -1
  62. package/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +1 -1
  63. package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +1 -1
  64. package/{seat-reservation-area.component-BcmwKJSK.js → seat-reservation-area.component-B8HJ-Or8.js} +16 -16
  65. package/{seat-reservation-graphic.component-C3wc4DKr.js → seat-reservation-graphic.component-Ddpuv-Aw.js} +20 -20
  66. package/{seat-reservation-navigation-coach.component-Cwxd9vLy.js → seat-reservation-navigation-coach.component-DMKlwxPa.js} +45 -45
  67. package/{seat-reservation-navigation-services.component-CfAQa7pa.js → seat-reservation-navigation-services.component-2os7VI7i.js} +21 -21
  68. package/{seat-reservation-place-control.component-CE-FrGMT.js → seat-reservation-place-control.component-CvGYSTnc.js} +38 -38
  69. package/seat-reservation.js +5 -5
  70. package/seat-reservation.pure.js +5 -5
  71. package/timetable-duration/timetable-duration.component.js +1 -1
  72. package/timetable-duration.component-DHuPMaq5.js +61 -0
  73. package/timetable-duration.js +1 -1
  74. package/timetable-duration.pure.js +1 -1
  75. package/timetable-row/timetable-row.component.js +1 -1
  76. package/{timetable-row.component-DawXp2ut.js → timetable-row.component-DMiay4xK.js} +117 -117
  77. package/timetable-row.js +1 -1
  78. package/timetable-row.pure.js +1 -1
  79. package/timetable-duration.component-DPRcG1LP.js +0 -61
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./toDate-p-Tpkb7t.js";
2
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";
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-DYzhEgWG.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-DYzhEgWG.js";
2
2
  export { e as SbbPearlChainElement };
@@ -1,6 +1,6 @@
1
- import { __esDecorate as e, __runInitializers as t } from "tslib";
2
- import { SbbElement as n, forceType as r, isArrowKeyOrPageKeysPressed as i } from "@sbb-esta/lyne-elements/core.js";
3
- import { isServer as a } from "lit";
1
+ import { SbbElement as e, forceType as t, isArrowKeyOrPageKeysPressed as n } from "@sbb-esta/lyne-elements/core.js";
2
+ import { isServer as r } from "lit";
3
+ import { __esDecorate as i, __runInitializers as a } from "tslib";
4
4
  import { eventOptions as o, property as s, state as c } from "lit/decorators.js";
5
5
  import { mapCoachInfosToCoachSelection as l, mapIconToSvg as u, mapPlaceAndCoachToSeatReservationPlaceSelection as ee, mapPlaceInfosToPlaceSelection as te } from "../common/mapper.js";
6
6
  //#region src/elements-experimental/seat-reservation/seat-reservation/seat-reservation-base-element.ts
@@ -37,46 +37,46 @@ var ne = 3, re = [
37
37
  }), this._detail = e;
38
38
  }
39
39
  }, m = (() => {
40
- let m = n, h = [], g, _ = [], v = [], y, b = [], x = [], S, C = [], w = [], T, E = [], D = [], O, k = [], A = [], j, ie = [], M = [], N, P = [], F = [], I, L = [], R = [], z, B = [], V = [], H, U = [], W = [], G, K = [], q = [], J, Y = [], X = [], Z, Q = [], $ = [], ae, oe = [], se = [], ce;
40
+ let m = e, h = [], g, _ = [], v = [], y, b = [], x = [], S, C = [], w = [], T, E = [], D = [], O, k = [], A = [], j, ie = [], M = [], N, P = [], F = [], I, L = [], R = [], z, B = [], V = [], H, U = [], W = [], G, K = [], q = [], J, Y = [], X = [], Z, Q = [], $ = [], ae, oe = [], se = [], ce;
41
41
  return class extends m {
42
42
  static {
43
- let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(m[Symbol.metadata] ?? null) : void 0;
43
+ let e = typeof Symbol == "function" && Symbol.metadata ? Object.create(m[Symbol.metadata] ?? null) : void 0;
44
44
  g = [s({
45
45
  attribute: "seat-reservations",
46
46
  type: Array
47
47
  })], y = [s({
48
48
  attribute: "travel-direction",
49
49
  type: String
50
- })], S = [r(), s({
50
+ })], S = [t(), s({
51
51
  attribute: "has-navigation",
52
52
  type: Boolean
53
- })], T = [r(), s({
53
+ })], T = [t(), s({
54
54
  attribute: "align-vertical",
55
55
  type: Boolean,
56
56
  reflect: !0,
57
57
  useDefault: !0
58
- })], O = [r(), s({
58
+ })], O = [t(), s({
59
59
  attribute: "base-grid-size",
60
60
  type: Number
61
- })], j = [r(), s({
61
+ })], j = [t(), s({
62
62
  attribute: "height",
63
63
  type: Number
64
- })], N = [r(), s({
64
+ })], N = [t(), s({
65
65
  attribute: "max-seat-reservations",
66
66
  type: Number
67
- })], I = [r(), s({
67
+ })], I = [t(), s({
68
68
  attribute: "max-bicycle-reservations",
69
69
  type: Number
70
- })], z = [r(), s({
70
+ })], z = [t(), s({
71
71
  attribute: "prevent-place-click",
72
72
  type: Boolean
73
- })], H = [r(), s({
73
+ })], H = [t(), s({
74
74
  attribute: "preselect-coach-index",
75
75
  type: Number
76
- })], G = [r(), s({
76
+ })], G = [t(), s({
77
77
  attribute: "show-title-info",
78
78
  type: Boolean
79
- })], J = [c()], Z = [c()], ae = [c()], ce = [o({ passive: !0 })], e(this, null, g, {
79
+ })], J = [c()], Z = [c()], ae = [c()], ce = [o({ passive: !0 })], i(this, null, g, {
80
80
  kind: "accessor",
81
81
  name: "seatReservations",
82
82
  static: !1,
@@ -88,8 +88,8 @@ var ne = 3, re = [
88
88
  e.seatReservations = t;
89
89
  }
90
90
  },
91
- metadata: t
92
- }, _, v), e(this, null, y, {
91
+ metadata: e
92
+ }, _, v), i(this, null, y, {
93
93
  kind: "accessor",
94
94
  name: "travelDirection",
95
95
  static: !1,
@@ -101,8 +101,8 @@ var ne = 3, re = [
101
101
  e.travelDirection = t;
102
102
  }
103
103
  },
104
- metadata: t
105
- }, b, x), e(this, null, S, {
104
+ metadata: e
105
+ }, b, x), i(this, null, S, {
106
106
  kind: "accessor",
107
107
  name: "hasNavigation",
108
108
  static: !1,
@@ -114,8 +114,8 @@ var ne = 3, re = [
114
114
  e.hasNavigation = t;
115
115
  }
116
116
  },
117
- metadata: t
118
- }, C, w), e(this, null, T, {
117
+ metadata: e
118
+ }, C, w), i(this, null, T, {
119
119
  kind: "accessor",
120
120
  name: "alignVertical",
121
121
  static: !1,
@@ -127,8 +127,8 @@ var ne = 3, re = [
127
127
  e.alignVertical = t;
128
128
  }
129
129
  },
130
- metadata: t
131
- }, E, D), e(this, null, O, {
130
+ metadata: e
131
+ }, E, D), i(this, null, O, {
132
132
  kind: "accessor",
133
133
  name: "baseGridSize",
134
134
  static: !1,
@@ -140,8 +140,8 @@ var ne = 3, re = [
140
140
  e.baseGridSize = t;
141
141
  }
142
142
  },
143
- metadata: t
144
- }, k, A), e(this, null, j, {
143
+ metadata: e
144
+ }, k, A), i(this, null, j, {
145
145
  kind: "accessor",
146
146
  name: "height",
147
147
  static: !1,
@@ -153,8 +153,8 @@ var ne = 3, re = [
153
153
  e.height = t;
154
154
  }
155
155
  },
156
- metadata: t
157
- }, ie, M), e(this, null, N, {
156
+ metadata: e
157
+ }, ie, M), i(this, null, N, {
158
158
  kind: "accessor",
159
159
  name: "maxSeatReservations",
160
160
  static: !1,
@@ -166,8 +166,8 @@ var ne = 3, re = [
166
166
  e.maxSeatReservations = t;
167
167
  }
168
168
  },
169
- metadata: t
170
- }, P, F), e(this, null, I, {
169
+ metadata: e
170
+ }, P, F), i(this, null, I, {
171
171
  kind: "accessor",
172
172
  name: "maxBicycleReservations",
173
173
  static: !1,
@@ -179,8 +179,8 @@ var ne = 3, re = [
179
179
  e.maxBicycleReservations = t;
180
180
  }
181
181
  },
182
- metadata: t
183
- }, L, R), e(this, null, z, {
182
+ metadata: e
183
+ }, L, R), i(this, null, z, {
184
184
  kind: "accessor",
185
185
  name: "preventPlaceClick",
186
186
  static: !1,
@@ -192,8 +192,8 @@ var ne = 3, re = [
192
192
  e.preventPlaceClick = t;
193
193
  }
194
194
  },
195
- metadata: t
196
- }, B, V), e(this, null, H, {
195
+ metadata: e
196
+ }, B, V), i(this, null, H, {
197
197
  kind: "accessor",
198
198
  name: "preselectCoachIndex",
199
199
  static: !1,
@@ -205,8 +205,8 @@ var ne = 3, re = [
205
205
  e.preselectCoachIndex = t;
206
206
  }
207
207
  },
208
- metadata: t
209
- }, U, W), e(this, null, G, {
208
+ metadata: e
209
+ }, U, W), i(this, null, G, {
210
210
  kind: "accessor",
211
211
  name: "showTitleInfo",
212
212
  static: !1,
@@ -218,8 +218,8 @@ var ne = 3, re = [
218
218
  e.showTitleInfo = t;
219
219
  }
220
220
  },
221
- metadata: t
222
- }, K, q), e(this, null, J, {
221
+ metadata: e
222
+ }, K, q), i(this, null, J, {
223
223
  kind: "accessor",
224
224
  name: "selectedCoachIndex",
225
225
  static: !1,
@@ -231,8 +231,8 @@ var ne = 3, re = [
231
231
  e.selectedCoachIndex = t;
232
232
  }
233
233
  },
234
- metadata: t
235
- }, Y, X), e(this, null, Z, {
234
+ metadata: e
235
+ }, Y, X), i(this, null, Z, {
236
236
  kind: "accessor",
237
237
  name: "focusedCoachIndex",
238
238
  static: !1,
@@ -244,8 +244,8 @@ var ne = 3, re = [
244
244
  e.focusedCoachIndex = t;
245
245
  }
246
246
  },
247
- metadata: t
248
- }, Q, $), e(this, null, ae, {
247
+ metadata: e
248
+ }, Q, $), i(this, null, ae, {
249
249
  kind: "accessor",
250
250
  name: "hoveredCoachIndex",
251
251
  static: !1,
@@ -257,8 +257,8 @@ var ne = 3, re = [
257
257
  e.hoveredCoachIndex = t;
258
258
  }
259
259
  },
260
- metadata: t
261
- }, oe, se), e(this, null, ce, {
260
+ metadata: e
261
+ }, oe, se), i(this, null, ce, {
262
262
  kind: "method",
263
263
  name: "coachAreaScrollend",
264
264
  static: !1,
@@ -267,12 +267,12 @@ var ne = 3, re = [
267
267
  has: (e) => "coachAreaScrollend" in e,
268
268
  get: (e) => e.coachAreaScrollend
269
269
  },
270
- metadata: t
271
- }, null, h), t && Object.defineProperty(this, Symbol.metadata, {
270
+ metadata: e
271
+ }, null, h), e && Object.defineProperty(this, Symbol.metadata, {
272
272
  enumerable: !0,
273
273
  configurable: !0,
274
274
  writable: !0,
275
- value: t
275
+ value: e
276
276
  });
277
277
  }
278
278
  static {
@@ -380,7 +380,7 @@ var ne = 3, re = [
380
380
  this.#p = e;
381
381
  }
382
382
  constructor() {
383
- super(), this.#e = (t(this, h), t(this, _, null)), this.#t = (t(this, v), t(this, b, "NONE")), this.#n = (t(this, x), t(this, C, !0)), this.#r = (t(this, w), t(this, E, !1)), this.#i = (t(this, D), t(this, k, 16)), this.#a = (t(this, A), t(this, ie, null)), this.#o = (t(this, M), t(this, P, -1)), this.#s = (t(this, F), t(this, L, -1)), this.#c = (t(this, R), t(this, B, !1)), this.#l = (t(this, V), t(this, U, -1)), this.#u = (t(this, W), t(this, K, !1)), this.#d = (t(this, q), t(this, Y, -1)), this.#f = (t(this, X), t(this, Q, -1)), this.#p = (t(this, $), t(this, oe, -1)), this.coachBorderPadding = (t(this, se), 6), this.gapBetweenCoaches = 4, this.coachBorderOffset = this.coachBorderPadding / this.baseGridSize, this.gapBetweenCoachDecks = 48, this.coachNavButtonDim = 0, this.globalAreaIconDim = {
383
+ super(), this.#e = (a(this, h), a(this, _, null)), this.#t = (a(this, v), a(this, b, "NONE")), this.#n = (a(this, x), a(this, C, !0)), this.#r = (a(this, w), a(this, E, !1)), this.#i = (a(this, D), a(this, k, 16)), this.#a = (a(this, A), a(this, ie, null)), this.#o = (a(this, M), a(this, P, -1)), this.#s = (a(this, F), a(this, L, -1)), this.#c = (a(this, R), a(this, B, !1)), this.#l = (a(this, V), a(this, U, -1)), this.#u = (a(this, W), a(this, K, !1)), this.#d = (a(this, q), a(this, Y, -1)), this.#f = (a(this, X), a(this, Q, -1)), this.#p = (a(this, $), a(this, oe, -1)), this.coachBorderPadding = (a(this, se), 6), this.gapBetweenCoaches = 4, this.coachBorderOffset = this.coachBorderPadding / this.baseGridSize, this.gapBetweenCoachDecks = 48, this.coachNavButtonDim = 0, this.globalAreaIconDim = {
384
384
  w: 2,
385
385
  h: 2
386
386
  }, this.globalAreaIconPadding = .8, this.coachItemDetailsElements = [], this.currScrollDirection = d.right, this.maxCalcCoachesWidth = 0, this.scrollCoachesAreaWidth = 0, this.scrollNavigationAreaDim = 0, this.triggerCoachPositionsCollection = [], this.navigationScrollArea = null, this.coachScrollArea = null, this.currSelectedPlace = null, this.currSelectedPlaceElementId = null, this.currSelectedCoachIndex = -1, this.currSelectedDeckIndex = 0, this.preventCoachScrollByPlaceClick = !1, this.selectedSeatReservationPlaces = {
@@ -471,42 +471,42 @@ var ne = 3, re = [
471
471
  this._handleTabKeyNavigation(e, "navigation", t);
472
472
  return;
473
473
  }
474
- i(e) && this.keyboardSeatmapEventHandling(e);
474
+ n(e) && this.keyboardSeatmapEventHandling(e);
475
475
  }
476
476
  _handleTabKeyNavigation(e, t, n) {
477
477
  let r = e.key, i = e.shiftKey;
478
478
  r === this.keyboardNavigationEvents.Tab && (t == "navigation" ? (n == this.currSelectedCoachIndex ? !this.currSelectedPlace || !i || this.coachItemDetailsElements[n].isDriverArea || this.focusedCoachIndex == -1 ? this.focusedCoachIndex = n : i && this.currSelectedPlace && (this.focusedCoachIndex = -1, this.focusPlaceElement(this.currSelectedPlace)) : this.focusedCoachIndex = n, this._scrollToSelectedNavigationButton(n)) : t == "seatmap" && (e.preventDefault(), i ? this._navigateCoachNavigationByKeyboard("PREV_TAB") : this._navigateCoachNavigationByKeyboard("NEXT_TAB")));
479
479
  }
480
480
  keyboardSeatmapEventHandling(e) {
481
- let t = e.key === this.keyboardNavigationEvents.Tab, n = e.shiftKey && t;
482
- if (!this.hasNavigation && this.currSelectedCoachIndex === 0 && n || this.currSelectedCoachIndex === this.coachItemDetailsElements.length - 1 && t) return;
483
- let r = e.key;
484
- if (this.preventCoachScrollByPlaceClick = !1, !this.hasSeatReservationNativeFocus && (t || n) && (this.hasSeatReservationNativeFocus = !0), t) {
481
+ let t = e.key === this.keyboardNavigationEvents.Tab, r = e.shiftKey && t;
482
+ if (!this.hasNavigation && this.currSelectedCoachIndex === 0 && r || this.currSelectedCoachIndex === this.coachItemDetailsElements.length - 1 && t) return;
483
+ let i = e.key;
484
+ if (this.preventCoachScrollByPlaceClick = !1, !this.hasSeatReservationNativeFocus && (t || r) && (this.hasSeatReservationNativeFocus = !0), t) {
485
485
  this._handleTabKeyNavigation(e, "seatmap");
486
486
  return;
487
487
  }
488
- if (this.currSelectedCoachIndex !== -1 && i(e)) switch (e.preventDefault(), r) {
488
+ if (this.currSelectedCoachIndex !== -1 && n(e)) switch (e.preventDefault(), i) {
489
489
  case this.keyboardNavigationEvents.ArrowLeft:
490
490
  {
491
- let e = this.alignVertical ? this.keyboardNavigationEvents.ArrowDown : r;
491
+ let e = this.alignVertical ? this.keyboardNavigationEvents.ArrowDown : i;
492
492
  this._navigateToPlaceByKeyboard(e);
493
493
  }
494
494
  break;
495
495
  case this.keyboardNavigationEvents.ArrowRight:
496
496
  {
497
- let e = this.alignVertical ? this.keyboardNavigationEvents.ArrowUp : r;
497
+ let e = this.alignVertical ? this.keyboardNavigationEvents.ArrowUp : i;
498
498
  this._navigateToPlaceByKeyboard(e);
499
499
  }
500
500
  break;
501
501
  case this.keyboardNavigationEvents.ArrowUp:
502
502
  {
503
- let e = this.alignVertical ? this.keyboardNavigationEvents.ArrowLeft : r;
503
+ let e = this.alignVertical ? this.keyboardNavigationEvents.ArrowLeft : i;
504
504
  this._navigateToPlaceByKeyboard(e);
505
505
  }
506
506
  break;
507
507
  case this.keyboardNavigationEvents.ArrowDown:
508
508
  {
509
- let e = this.alignVertical ? this.keyboardNavigationEvents.ArrowRight : r;
509
+ let e = this.alignVertical ? this.keyboardNavigationEvents.ArrowRight : i;
510
510
  this._navigateToPlaceByKeyboard(e);
511
511
  }
512
512
  break;
@@ -764,7 +764,7 @@ var ne = 3, re = [
764
764
  this.currSelectedPlaceElementId = e ? this.getPlaceElementId(this.currSelectedDeckIndex, this.currSelectedCoachIndex, e.number) : null;
765
765
  }
766
766
  _determineBaseFontSize() {
767
- if (!a) {
767
+ if (!r) {
768
768
  let e = 1 / parseInt(window.getComputedStyle(document.body).fontSize, 10);
769
769
  this.style?.setProperty("--sbb-seat-reservation-one-px-rem", `${e + "rem"}`);
770
770
  }
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../seat-reservation-area.component-BcmwKJSK.js";
1
+ import { t as e } from "../../seat-reservation-area.component-B8HJ-Or8.js";
2
2
  export { e as SbbSeatReservationAreaElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../seat-reservation-graphic.component-C3wc4DKr.js";
1
+ import { t as e } from "../../seat-reservation-graphic.component-Ddpuv-Aw.js";
2
2
  export { e as SbbSeatReservationGraphicElement };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../../seat-reservation-navigation-coach.component-Cwxd9vLy.js";
1
+ import { n as e, t } from "../../seat-reservation-navigation-coach.component-DMKlwxPa.js";
2
2
  export { t as SbbSeatReservationNavigationCoachElement, e as SbbSelectCoachEvent };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../seat-reservation-navigation-services.component-CfAQa7pa.js";
1
+ import { t as e } from "../../seat-reservation-navigation-services.component-2os7VI7i.js";
2
2
  export { e as SbbSeatReservationNavigationServicesElement };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../../seat-reservation-place-control.component-CE-FrGMT.js";
1
+ import { n as e, t } from "../../seat-reservation-place-control.component-CvGYSTnc.js";
2
2
  export { t as SbbPlaceSelectionEvent, e as SbbSeatReservationPlaceControlElement };
@@ -1,14 +1,14 @@
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, unsafeCSS as a } from "lit";
1
+ import { SbbElement as e, forceType as t } from "@sbb-esta/lyne-elements/core.js";
2
+ import { html as n, unsafeCSS as r } from "lit";
3
+ import { __esDecorate as i, __runInitializers as a } from "tslib";
4
4
  import { property as o } from "lit/decorators.js";
5
5
  //#region src/elements-experimental/seat-reservation/seat-reservation-area/seat-reservation-area.scss?inline
6
6
  var s = ":host{--sbb-seat-reservation-area-border-radius: var(--sbb-border-width-4x);--sbb-seat-reservation-area-rotation: 0;--sbb-seat-reservation-area-z-index: 0;display:flex;justify-content:center;align-items:center;height:calc(var(--sbb-seat-reservation-area-height) * var(--sbb-seat-reservation-one-px-rem, .0625rem));width:calc(var(--sbb-seat-reservation-area-width) * var(--sbb-seat-reservation-one-px-rem, .0625rem));border:var(--sbb-border-width-1x) solid var(--sbb-color-graphite);border:var(--sbb-border-width-1x) solid light-dark(var(--sbb-color-graphite),var(--sbb-color-granite));border-radius:var(--sbb-seat-reservation-area-border-radius);position:absolute;z-index:var(--sbb-seat-reservation-area-z-index);inset-block-start:calc(var(--sbb-seat-reservation-area-top) * var(--sbb-seat-reservation-one-px-rem, .0625rem));inset-inline-start:calc(var(--sbb-seat-reservation-area-left) * var(--sbb-seat-reservation-one-px-rem, .0625rem));rotate:calc(var(--sbb-seat-reservation-area-rotation) * 1deg);line-height:normal;background-color:var(--sbb-background-color-2)}:host([background=dark]){background-color:var(--sbb-color-milk);background-color:light-dark(var(--sbb-color-milk),var(--sbb-color-iron))}:host([mounting=upper-border]){border-block-start-width:0;border-radius:0 0 var(--sbb-seat-reservation-area-border-radius) var(--sbb-seat-reservation-area-border-radius)}:host([mounting=lower-border]){border-block-end-width:0;border-radius:var(--sbb-seat-reservation-area-border-radius) var(--sbb-seat-reservation-area-border-radius) 0 0}:host([mounting=upper-to-lower-border]){border-block-start:none;border-block-end:none;border-radius:0}:host(.sbb-seat-reservation-area--cursor-pointer){cursor:var(--sbb-cursor-pointer)}", c = (() => {
7
- let c = n, l, u = [], d = [], f, p = [], m = [];
7
+ let c = e, l, u = [], d = [], f, p = [], m = [];
8
8
  return class extends c {
9
9
  static {
10
- let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(c[Symbol.metadata] ?? null) : void 0;
11
- l = [r(), o({ reflect: !0 })], f = [r(), o({ reflect: !0 })], e(this, null, l, {
10
+ let e = typeof Symbol == "function" && Symbol.metadata ? Object.create(c[Symbol.metadata] ?? null) : void 0;
11
+ l = [t(), o({ reflect: !0 })], f = [t(), o({ reflect: !0 })], i(this, null, l, {
12
12
  kind: "accessor",
13
13
  name: "mounting",
14
14
  static: !1,
@@ -20,8 +20,8 @@ var s = ":host{--sbb-seat-reservation-area-border-radius: var(--sbb-border-width
20
20
  e.mounting = t;
21
21
  }
22
22
  },
23
- metadata: t
24
- }, u, d), e(this, null, f, {
23
+ metadata: e
24
+ }, u, d), i(this, null, f, {
25
25
  kind: "accessor",
26
26
  name: "background",
27
27
  static: !1,
@@ -33,28 +33,28 @@ var s = ":host{--sbb-seat-reservation-area-border-radius: var(--sbb-border-width
33
33
  e.background = t;
34
34
  }
35
35
  },
36
- metadata: t
37
- }, p, m), t && Object.defineProperty(this, Symbol.metadata, {
36
+ metadata: e
37
+ }, p, m), e && Object.defineProperty(this, Symbol.metadata, {
38
38
  enumerable: !0,
39
39
  configurable: !0,
40
40
  writable: !0,
41
- value: t
41
+ value: e
42
42
  });
43
43
  }
44
44
  static {
45
45
  this.elementName = "sbb-seat-reservation-area";
46
46
  }
47
47
  static {
48
- this.styles = [a(s)];
48
+ this.styles = [r(s)];
49
49
  }
50
- #e = t(this, u, "free");
50
+ #e = a(this, u, "free");
51
51
  get mounting() {
52
52
  return this.#e;
53
53
  }
54
54
  set mounting(e) {
55
55
  this.#e = e;
56
56
  }
57
- #t = (t(this, d), t(this, p, "light"));
57
+ #t = (a(this, d), a(this, p, "light"));
58
58
  get background() {
59
59
  return this.#t;
60
60
  }
@@ -62,10 +62,10 @@ var s = ":host{--sbb-seat-reservation-area-border-radius: var(--sbb-border-width
62
62
  this.#t = e;
63
63
  }
64
64
  render() {
65
- return i`<slot></slot>`;
65
+ return n`<slot></slot>`;
66
66
  }
67
67
  constructor() {
68
- super(...arguments), t(this, m);
68
+ super(...arguments), a(this, m);
69
69
  }
70
70
  };
71
71
  })();