@sbb-esta/lyne-elements-experimental-dev 5.0.0-next.1-dev.1777448516 → 5.0.0-next.1-dev.1777455651

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 (84) hide show
  1. package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +1 -1
  2. package/{autocomplete-grid-option.component-DhmoLeEw.js → autocomplete-grid-option.component-DC-XxD8e.js} +9 -9
  3. package/autocomplete-grid.js +1 -1
  4. package/autocomplete-grid.pure.js +1 -1
  5. package/custom-elements.json +5 -5
  6. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.d.ts.map +1 -1
  7. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +1 -1
  8. package/development/{autocomplete-grid-option.component-B4SXR9_v.js → autocomplete-grid-option.component-BvDlE8TK.js} +3 -3
  9. package/development/autocomplete-grid.js +1 -1
  10. package/development/autocomplete-grid.pure.js +1 -1
  11. package/development/journey-summary/journey-summary.component.d.ts.map +1 -1
  12. package/development/journey-summary/journey-summary.component.js +1 -1
  13. package/development/journey-summary.component-Ch38LiQx.js +345 -0
  14. package/development/journey-summary.js +1 -1
  15. package/development/journey-summary.pure.js +1 -1
  16. package/development/pearl-chain/pearl-chain.component.d.ts.map +1 -1
  17. package/development/pearl-chain/pearl-chain.component.js +1 -1
  18. package/development/pearl-chain-time/pearl-chain-time.component.d.ts.map +1 -1
  19. package/development/pearl-chain-time/pearl-chain-time.component.js +1 -1
  20. package/development/{pearl-chain-time.component-DDnGnI77.js → pearl-chain-time.component-f2y8Jebp.js} +8 -4
  21. package/development/pearl-chain-time.js +1 -1
  22. package/development/pearl-chain-time.pure.js +1 -1
  23. package/development/{pearl-chain.component-CngXp3rK.js → pearl-chain.component-bTvnaUEj.js} +8 -4
  24. package/development/pearl-chain.js +1 -1
  25. package/development/pearl-chain.pure.js +1 -1
  26. package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -1
  27. package/development/seat-reservation/seat-reservation/seat-reservation.component.js +1 -1
  28. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +1 -1
  29. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +1 -1
  30. package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +1 -1
  31. package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +1 -1
  32. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts.map +1 -1
  33. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +1 -1
  34. package/development/{seat-reservation-navigation-coach.component-DRCcI2ss.js → seat-reservation-navigation-coach.component-cSX-OEsP.js} +10 -6
  35. package/development/{seat-reservation-navigation-services.component-ZNm77ZG-.js → seat-reservation-navigation-services.component-CLho6RnU.js} +12 -6
  36. package/development/{seat-reservation-place-control.component-BQ7fOSHM.js → seat-reservation-place-control.component-BEeaDOS6.js} +10 -6
  37. package/development/seat-reservation.component-Dkn66vPo.js +518 -0
  38. package/development/seat-reservation.js +4 -4
  39. package/development/seat-reservation.pure.js +4 -4
  40. package/development/timetable-duration/timetable-duration.component.d.ts.map +1 -1
  41. package/development/timetable-duration/timetable-duration.component.js +1 -1
  42. package/development/timetable-duration.component-BhIBA6le.js +100 -0
  43. package/development/timetable-duration.js +1 -1
  44. package/development/timetable-duration.pure.js +1 -1
  45. package/development/timetable-row/timetable-row.component.d.ts.map +1 -1
  46. package/development/timetable-row/timetable-row.component.js +1 -1
  47. package/development/timetable-row.component-BjaJFKLW.js +736 -0
  48. package/development/timetable-row.js +1 -1
  49. package/development/timetable-row.pure.js +1 -1
  50. package/journey-summary/journey-summary.component.js +1 -1
  51. package/{journey-summary.component-DqeuhXNk.js → journey-summary.component-DZ9M06Nt.js} +15 -12
  52. package/journey-summary.js +1 -1
  53. package/journey-summary.pure.js +1 -1
  54. package/package.json +2 -2
  55. package/pearl-chain/pearl-chain.component.js +1 -1
  56. package/pearl-chain-time/pearl-chain-time.component.js +1 -1
  57. package/{pearl-chain-time.component-awU4lFdO.js → pearl-chain-time.component-DGilJDFx.js} +39 -35
  58. package/pearl-chain-time.js +1 -1
  59. package/pearl-chain-time.pure.js +1 -1
  60. package/{pearl-chain.component-BAtmfmpA.js → pearl-chain.component-D7Dz_ruc.js} +40 -36
  61. package/pearl-chain.js +1 -1
  62. package/pearl-chain.pure.js +1 -1
  63. package/seat-reservation/seat-reservation/seat-reservation.component.js +1 -1
  64. package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +1 -1
  65. package/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +1 -1
  66. package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +1 -1
  67. package/{seat-reservation-navigation-coach.component-CGfmiQJq.js → seat-reservation-navigation-coach.component-cYSUjsBj.js} +13 -9
  68. package/{seat-reservation-navigation-services.component-DQviLWvy.js → seat-reservation-navigation-services.component-BSeCIGnn.js} +13 -7
  69. package/{seat-reservation-place-control.component-BYJi6aYS.js → seat-reservation-place-control.component-DOEKL6FP.js} +14 -10
  70. package/{seat-reservation.component-uWai3ks6.js → seat-reservation.component-80NgYHsf.js} +7 -4
  71. package/seat-reservation.js +4 -4
  72. package/seat-reservation.pure.js +4 -4
  73. package/timetable-duration/timetable-duration.component.js +1 -1
  74. package/{timetable-duration.component-PmvoOKVw.js → timetable-duration.component-B2Wq8dP0.js} +19 -15
  75. package/timetable-duration.js +1 -1
  76. package/timetable-duration.pure.js +1 -1
  77. package/timetable-row/timetable-row.component.js +1 -1
  78. package/{timetable-row.component-BnmrhD2d.js → timetable-row.component-BPH5pFQO.js} +102 -98
  79. package/timetable-row.js +1 -1
  80. package/timetable-row.pure.js +1 -1
  81. package/development/journey-summary.component-BHnQ-M7H.js +0 -342
  82. package/development/seat-reservation.component-wkvc3Frp.js +0 -515
  83. package/development/timetable-duration.component-2JBYobDt.js +0 -96
  84. package/development/timetable-row.component-B884Zj89.js +0 -732
@@ -1,5 +1,5 @@
1
1
  import { __esDecorate as e, __runInitializers as t } from "tslib";
2
- import { SbbElement as n, SbbLanguageController as r, SbbScreenReaderOnlyElement as i, boxSizingStyles as a, forceType as o } from "@sbb-esta/lyne-elements/core.js";
2
+ import { SbbElement as n, SbbLanguageController as r, boxSizingStyles as i, forceType as a, screenReaderOnlyStyles as o } from "@sbb-esta/lyne-elements/core.js";
3
3
  import { html as s, nothing as c, unsafeCSS as l } from "lit";
4
4
  import { property as u } from "lit/decorators.js";
5
5
  import { classMap as d } from "lit/directives/class-map.js";
@@ -14,17 +14,17 @@ var m = ":host{display:inline-block;min-height:calc(44 * var(--sbb-seat-reservat
14
14
  }
15
15
  static {
16
16
  let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(h[Symbol.metadata] ?? null) : void 0;
17
- g = [o(), u({ type: Boolean })], y = [o(), u({ type: Boolean })], S = [o(), u({ type: Boolean })], T = [o(), u({ type: Boolean })], O = [o(), u({ type: Number })], j = [u({
17
+ g = [a(), u({ type: Boolean })], y = [a(), u({ type: Boolean })], S = [a(), u({ type: Boolean })], T = [a(), u({ type: Boolean })], O = [a(), u({ type: Number })], j = [u({
18
18
  attribute: "coach-item-details",
19
19
  type: Object
20
- })], P = [o(), u({
20
+ })], P = [a(), u({
21
21
  attribute: "disable",
22
22
  type: Boolean
23
- })], L = [o(), u({
23
+ })], L = [a(), u({
24
24
  type: Boolean,
25
25
  reflect: !0,
26
26
  useDefault: !0
27
- })], B = [o(), u({ type: Boolean })], e(this, null, g, {
27
+ })], B = [a(), u({ type: Boolean })], e(this, null, g, {
28
28
  kind: "accessor",
29
29
  name: "selected",
30
30
  static: !1,
@@ -152,10 +152,14 @@ var m = ":host{display:inline-block;min-height:calc(44 * var(--sbb-seat-reservat
152
152
  this.elementName = "sbb-seat-reservation-navigation-coach";
153
153
  }
154
154
  static {
155
- this.elementDependencies = [i, p];
155
+ this.elementDependencies = [p];
156
156
  }
157
157
  static {
158
- this.styles = [a, l(m)];
158
+ this.styles = [
159
+ i,
160
+ o,
161
+ l(m)
162
+ ];
159
163
  }
160
164
  static {
161
165
  this.events = {
@@ -274,10 +278,10 @@ var m = ":host{display:inline-block;min-height:calc(44 * var(--sbb-seat-reservat
274
278
  aria-describedby="nav-coach-service-descriptions-${this.index}"
275
279
  >
276
280
  ${this._getBtnInformation(e)}
277
- <sbb-screen-reader-only id="nav-coach-service-descriptions-${this.index}">
281
+ <span class="sbb-screen-reader-only" id="nav-coach-service-descriptions-${this.index}">
278
282
  ${this.showTitleInfo ? c : s`<div>${t}</div>`}
279
283
  ${n ? s`<div>${n}</div>` : c}
280
- </sbb-screen-reader-only>
284
+ </span>
281
285
  </button>`;
282
286
  }
283
287
  _getBtnInformation(e) {
@@ -1,5 +1,5 @@
1
1
  import { __esDecorate as e, __runInitializers as t } from "tslib";
2
- import { SbbElement as n, SbbLanguageController as r, SbbScreenReaderOnlyElement as i, boxSizingStyles as a, forceType as o } from "@sbb-esta/lyne-elements/core.js";
2
+ import { SbbElement as n, SbbLanguageController as r, boxSizingStyles as i, forceType as a, screenReaderOnlyStyles as o } from "@sbb-esta/lyne-elements/core.js";
3
3
  import { html as s, nothing as c, unsafeCSS as l } from "lit";
4
4
  import { property as u } from "lit/decorators.js";
5
5
  import { getI18nSeatReservation as d } from "./seat-reservation/common/translations.js";
@@ -16,11 +16,11 @@ var p = ".sbb-sr-navigation__signs{display:flex;flex-direction:row;justify-conte
16
16
  h = [u({
17
17
  attribute: "property-ids",
18
18
  type: Array
19
- })], v = [o(), u({
19
+ })], v = [a(), u({
20
20
  type: Boolean,
21
21
  reflect: !0,
22
22
  useDefault: !0
23
- })], x = [o(), u({ type: Boolean })], e(this, null, h, {
23
+ })], x = [a(), u({ type: Boolean })], e(this, null, h, {
24
24
  kind: "accessor",
25
25
  name: "propertyIds",
26
26
  static: !1,
@@ -70,10 +70,14 @@ var p = ".sbb-sr-navigation__signs{display:flex;flex-direction:row;justify-conte
70
70
  this.elementName = "sbb-seat-reservation-navigation-services";
71
71
  }
72
72
  static {
73
- this.elementDependencies = [i, f];
73
+ this.elementDependencies = [f];
74
74
  }
75
75
  static {
76
- this.styles = [a, l(p)];
76
+ this.styles = [
77
+ i,
78
+ o,
79
+ l(p)
80
+ ];
77
81
  }
78
82
  #e;
79
83
  get propertyIds() {
@@ -99,8 +103,10 @@ var p = ".sbb-sr-navigation__signs{display:flex;flex-direction:row;justify-conte
99
103
  render() {
100
104
  let e = this.propertyIds?.length ? this._getServiceLabelDescription() : null;
101
105
  return s` <div class="sbb-sr-navigation__signs">
102
- <sbb-screen-reader-only ${e || c}
103
- >${e}</sbb-screen-reader-only
106
+ <span
107
+ class="sbb-screen-reader-only"
108
+ ${e || c}
109
+ >${e}</span
104
110
  >
105
111
  ${this.propertyIds?.map((e) => s`
106
112
  <sbb-seat-reservation-graphic
@@ -1,5 +1,5 @@
1
1
  import { __esDecorate as e, __runInitializers as t } from "tslib";
2
- import { SbbButtonBaseElement as n, SbbLanguageController as r, SbbScreenReaderOnlyElement as i, boxSizingStyles as a, forceType as o } from "@sbb-esta/lyne-elements/core.js";
2
+ import { SbbButtonBaseElement as n, SbbLanguageController as r, boxSizingStyles as i, forceType as a, screenReaderOnlyStyles as o } from "@sbb-esta/lyne-elements/core.js";
3
3
  import { html as s, nothing as c, unsafeCSS as l } from "lit";
4
4
  import { property as u } from "lit/decorators.js";
5
5
  import { styleMap as d } from "lit/directives/style-map.js";
@@ -11,22 +11,22 @@ var m = ":host{--sbb-seat-reservation-place-control-text-scale-value: 1;--sbb-se
11
11
  return class extends h {
12
12
  static {
13
13
  let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(h[Symbol.metadata] ?? null) : void 0;
14
- g = [o(), u({ attribute: "type" })], y = [o(), u({
14
+ g = [a(), u({ attribute: "type" })], y = [a(), u({
15
15
  attribute: "state",
16
16
  reflect: !0
17
17
  })], S = [u({ attribute: "travel-direction" })], T = [u({
18
18
  attribute: "propertyIds",
19
19
  type: Array
20
- })], O = [o(), u({ attribute: "text" })], j = [o(), u({
20
+ })], O = [a(), u({ attribute: "text" })], j = [a(), u({
21
21
  attribute: "deck-index",
22
22
  type: Number
23
- })], P = [o(), u({
23
+ })], P = [a(), u({
24
24
  attribute: "coach-index",
25
25
  type: Number
26
- })], L = [o(), u({
26
+ })], L = [a(), u({
27
27
  attribute: "prevent-click",
28
28
  type: Boolean
29
- })], B = [o(), u({ attribute: "keyfocus" })], U = [o(), u({
29
+ })], B = [a(), u({ attribute: "keyfocus" })], U = [a(), u({
30
30
  type: Boolean,
31
31
  useDefault: !0
32
32
  })], e(this, null, g, {
@@ -170,10 +170,14 @@ var m = ":host{--sbb-seat-reservation-place-control-text-scale-value: 1;--sbb-se
170
170
  this.elementName = "sbb-seat-reservation-place-control";
171
171
  }
172
172
  static {
173
- this.elementDependencies = [p, i];
173
+ this.elementDependencies = [p];
174
174
  }
175
175
  static {
176
- this.styles = [a, l(m)];
176
+ this.styles = [
177
+ i,
178
+ o,
179
+ l(m)
180
+ ];
177
181
  }
178
182
  static {
179
183
  this.events = { selectplace: "selectplace" };
@@ -274,8 +278,8 @@ var m = ":host{--sbb-seat-reservation-place-control-text-scale-value: 1;--sbb-se
274
278
  <span ${this.text ?? c} class="sbb-sr-place-ctrl__text" aria-hidden="true"
275
279
  >${r}</span
276
280
  >
277
- ${this.showTitleInfo ? c : s`<sbb-screen-reader-only id="${this.id}"
278
- >${this._optionalScreenreaderInfo}</sbb-screen-reader-only
281
+ ${this.showTitleInfo ? c : s`<span class="sbb-screen-reader-only" id="${this.id}"
282
+ >${this._optionalScreenreaderInfo}</span
279
283
  >`}
280
284
  </div>
281
285
  `;
@@ -1,6 +1,6 @@
1
1
  import { SeatReservationBaseElement as e } from "./seat-reservation/seat-reservation/seat-reservation-base-element.js";
2
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";
3
+ import { SbbLanguageController as n, boxSizingStyles as r, screenReaderOnlyStyles as i } from "@sbb-esta/lyne-elements/core.js";
4
4
  import { html as a, isServer as o, nothing as s, unsafeCSS as c } from "lit";
5
5
  import { styleMap as l } from "lit/directives/style-map.js";
6
6
  import { classMap as u } from "lit/directives/class-map.js";
@@ -23,7 +23,6 @@ var y = ":host{--sbb-seat-reservation-grid-size: 16px;--sbb-seat-reservation-hei
23
23
  static {
24
24
  this.elementDependencies = [
25
25
  t,
26
- r,
27
26
  p,
28
27
  h,
29
28
  f,
@@ -33,7 +32,11 @@ var y = ":host{--sbb-seat-reservation-grid-size: 16px;--sbb-seat-reservation-hei
33
32
  ];
34
33
  }
35
34
  static {
36
- this.styles = [i, c(y)];
35
+ this.styles = [
36
+ r,
37
+ i,
38
+ c(y)
39
+ ];
37
40
  }
38
41
  willUpdate(e) {
39
42
  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")));
@@ -171,7 +174,7 @@ var y = ":host{--sbb-seat-reservation-grid-size: 16px;--sbb-seat-reservation-hei
171
174
  tabindex="-1"
172
175
  >
173
176
  <caption id="sbb-sr-coach-caption-${t}" tabindex="-1">
174
- <sbb-screen-reader-only>${o}</sbb-screen-reader-only>
177
+ <span class="sbb-screen-reader-only">${o}</span>
175
178
  </caption>
176
179
  ${this._getRenderedRowPlaces(e, t, n, r)}
177
180
  </table>
@@ -4,12 +4,12 @@ import { t as a } from "./svgs-D5DhLHxC.js";
4
4
  import { getI18nSeatReservation as o } from "./seat-reservation/common/translations/i18n.js";
5
5
  import { t as s } from "./seat-reservation-area.component-CVc6uuMG.js";
6
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";
7
+ import { t as l } from "./seat-reservation-navigation-coach.component-cYSUjsBj.js";
8
+ import { t as u } from "./seat-reservation-navigation-services.component-BSeCIGnn.js";
9
+ import { t as d } from "./seat-reservation-place-control.component-DOEKL6FP.js";
10
10
  import { t as f } from "./seat-reservation-scoped.component-CdB7HYzl.js";
11
11
  import { SeatReservationBaseElement as p } from "./seat-reservation/seat-reservation/seat-reservation-base-element.js";
12
- import { t as m } from "./seat-reservation.component-uWai3ks6.js";
12
+ import { t as m } from "./seat-reservation.component-80NgYHsf.js";
13
13
  import "./seat-reservation.pure.js";
14
14
  m.define(), s.define(), c.define(), l.define(), u.define(), d.define(), f.define();
15
15
  //#endregion
@@ -5,10 +5,10 @@ import { t as a } from "./svgs-D5DhLHxC.js";
5
5
  import { getI18nSeatReservation as o } from "./seat-reservation/common/translations/i18n.js";
6
6
  import { t as s } from "./seat-reservation-area.component-CVc6uuMG.js";
7
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";
8
+ import { t as l } from "./seat-reservation-navigation-coach.component-cYSUjsBj.js";
9
+ import { t as u } from "./seat-reservation-navigation-services.component-BSeCIGnn.js";
10
+ import { t as d } from "./seat-reservation-place-control.component-DOEKL6FP.js";
11
11
  import { t as f } from "./seat-reservation-scoped.component-CdB7HYzl.js";
12
12
  import { SeatReservationBaseElement as p } from "./seat-reservation/seat-reservation/seat-reservation-base-element.js";
13
- import { t as m } from "./seat-reservation.component-uWai3ks6.js";
13
+ import { t as m } from "./seat-reservation.component-80NgYHsf.js";
14
14
  export { s as SbbSeatReservationAreaElement, m as SbbSeatReservationElement, c as SbbSeatReservationGraphicElement, l as SbbSeatReservationNavigationCoachElement, u as SbbSeatReservationNavigationServicesElement, d as SbbSeatReservationPlaceControlElement, f as SbbSeatReservationScopedElement, p as SeatReservationBaseElement, o as getI18nSeatReservation, r as mapCoachInfosToCoachSelection, i as mapIconToSvg, t as mapPlaceAndCoachToSeatReservationPlaceSelection, n as mapPlaceInfosToPlaceSelection, e as mapRawDataToSeatReservation, a as svgs };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../timetable-duration.component-PmvoOKVw.js";
1
+ import { t as e } from "../timetable-duration.component-B2Wq8dP0.js";
2
2
  export { e as SbbTimetableDurationElement };
@@ -1,17 +1,17 @@
1
1
  import { __esDecorate as e, __runInitializers as t } from "tslib";
2
- import { SbbElement as n, SbbLanguageController as r, boxSizingStyles as i, forceType as a, i18nDurationHour as o, i18nDurationMinute as s } from "@sbb-esta/lyne-elements/core.js";
3
- import { html as c, unsafeCSS as l } from "lit";
4
- import { property as u } from "lit/decorators.js";
2
+ import { SbbElement as n, SbbLanguageController as r, boxSizingStyles as i, forceType as a, i18nDurationHour as o, i18nDurationMinute as s, screenReaderOnlyStyles as c } from "@sbb-esta/lyne-elements/core.js";
3
+ import { html as l, unsafeCSS as u } from "lit";
4
+ import { property as d } from "lit/decorators.js";
5
5
  //#region src/elements-experimental/timetable-duration/timetable-duration.scss?inline
6
- var d = ":host{display:inline-block}.duration{--sbb-text-font-size: var(--sbb-text-font-size-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);margin:0;white-space:nowrap}.duration__text--visually-hidden{border:0;clip-path:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}", f = (() => {
7
- let f = n, p, m = [], h = [];
8
- return class extends f {
6
+ var f = ":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}", p = (() => {
7
+ let p = n, m, h = [], g = [];
8
+ return class extends p {
9
9
  constructor() {
10
- super(...arguments), this.#e = t(this, m, ""), this._language = (t(this, h), new r(this));
10
+ super(...arguments), this.#e = t(this, h, ""), this._language = (t(this, g), new r(this));
11
11
  }
12
12
  static {
13
- let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(f[Symbol.metadata] ?? null) : void 0;
14
- p = [a(), u()], e(this, null, p, {
13
+ let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(p[Symbol.metadata] ?? null) : void 0;
14
+ m = [a(), d()], e(this, null, m, {
15
15
  kind: "accessor",
16
16
  name: "config",
17
17
  static: !1,
@@ -24,7 +24,7 @@ var d = ":host{display:inline-block}.duration{--sbb-text-font-size: var(--sbb-te
24
24
  }
25
25
  },
26
26
  metadata: t
27
- }, m, h), t && Object.defineProperty(this, Symbol.metadata, {
27
+ }, h, g), t && Object.defineProperty(this, Symbol.metadata, {
28
28
  enumerable: !0,
29
29
  configurable: !0,
30
30
  writable: !0,
@@ -35,7 +35,11 @@ var d = ":host{display:inline-block}.duration{--sbb-text-font-size: var(--sbb-te
35
35
  this.elementName = "sbb-timetable-duration";
36
36
  }
37
37
  static {
38
- this.styles = [i, l(d)];
38
+ this.styles = [
39
+ i,
40
+ c,
41
+ u(f)
42
+ ];
39
43
  }
40
44
  #e;
41
45
  get config() {
@@ -45,17 +49,17 @@ var d = ":host{display:inline-block}.duration{--sbb-text-font-size: var(--sbb-te
45
49
  this.#e = e;
46
50
  }
47
51
  render() {
48
- let e = JSON.parse(this.config), t = o.multiple.short[this._language.current], n = s.multiple.short[this._language.current], r = "", i = "", a = o.multiple.long[this._language.current], l = s.multiple.long[this._language.current];
49
- return e.hours === 1 && (a = o.single.long[this._language.current]), e.minutes === 1 && (l = s.single.long[this._language.current]), e.hours !== 0 && (r += `${e.hours} ${t}`, i += `${e.hours} ${a}`), r += ` ${e.minutes} ${n}`, i += ` ${e.minutes} ${l}.`, c`
52
+ 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], c = s.multiple.long[this._language.current];
53
+ return e.hours === 1 && (a = o.single.long[this._language.current]), e.minutes === 1 && (c = s.single.long[this._language.current]), e.hours !== 0 && (r += `${e.hours} ${t}`, i += `${e.hours} ${a}`), r += ` ${e.minutes} ${n}`, i += ` ${e.minutes} ${c}.`, l`
50
54
  <p aria-label=${i} class="duration" role="text">
51
55
  <span aria-hidden="true" class="duration__text--visual" role="presentation">
52
56
  ${r}
53
57
  </span>
54
- <span class="duration__text--visually-hidden">${i}</span>
58
+ <span class="sbb-screen-reader-only">${i}</span>
55
59
  </p>
56
60
  `;
57
61
  }
58
62
  };
59
63
  })();
60
64
  //#endregion
61
- export { f as t };
65
+ export { p as t };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./timetable-duration.component-PmvoOKVw.js";
1
+ import { t as e } from "./timetable-duration.component-B2Wq8dP0.js";
2
2
  import "./timetable-duration.pure.js";
3
3
  //#region src/elements-experimental/timetable-duration.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./timetable-duration.component-PmvoOKVw.js";
1
+ import { t as e } from "./timetable-duration.component-B2Wq8dP0.js";
2
2
  export { e as SbbTimetableDurationElement };
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../timetable-row.component-BnmrhD2d.js";
1
+ import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../timetable-row.component-BPH5pFQO.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 };