@sbb-esta/lyne-elements-experimental 2.11.1 → 2.11.3

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 (119) hide show
  1. package/core/datetime/date-helper.js +142 -142
  2. package/core/timetable/access-leg-helper.js +49 -52
  3. package/core/timetable/timetable-helper.js +7 -8
  4. package/custom-elements.json +852 -867
  5. package/development/core/datetime/date-helper.js +10 -10
  6. package/development/core/timetable/access-leg-helper.js +12 -15
  7. package/development/core/timetable/timetable-helper.js +6 -7
  8. package/development/{differenceInMinutes-CHSyWiQs.js → differenceInMinutes-D5Nj8Stc.js} +3 -3
  9. package/development/{format-D0-yhzi4.js → format-BQfaa1ZT.js} +22 -26
  10. package/development/{isValid-Bo4R7iA7.js → isValid-DvieCZVi.js} +3 -3
  11. package/development/journey-summary/journey-summary.component.js +4 -5
  12. package/development/pearl-chain/pearl-chain.component.d.ts.map +1 -1
  13. package/development/pearl-chain/pearl-chain.component.js +28 -39
  14. package/development/pearl-chain-time/pearl-chain-time.component.js +5 -6
  15. package/development/pearl-chain-vertical/pearl-chain-vertical.component.js +1 -1
  16. package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +1 -1
  17. package/development/seat-reservation/common/mapper/icon-mapper.js +1 -1
  18. package/development/seat-reservation/common/mapper/mapper.js +14 -16
  19. package/development/seat-reservation/common/mapper/seat-reservation-sample-data.js +1 -1
  20. package/development/seat-reservation/common/svgs.js +1 -1
  21. package/development/seat-reservation/common/translations/i18n.js +2 -3
  22. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -1
  23. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.js +22 -33
  24. package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -1
  25. package/development/seat-reservation/seat-reservation/seat-reservation.component.js +18 -25
  26. package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +1 -1
  27. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-assets.js +2 -3
  28. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +7 -8
  29. package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach → seat-reservation-navigation-coach}/seat-reservation-navigation-coach.component.d.ts +1 -1
  30. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +1 -0
  31. package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach → seat-reservation-navigation-coach}/seat-reservation-navigation-coach.component.js +8 -12
  32. package/development/seat-reservation/seat-reservation-navigation-coach.d.ts.map +1 -0
  33. package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +1 -0
  34. package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +123 -0
  35. package/development/seat-reservation/seat-reservation-navigation-services.d.ts.map +1 -0
  36. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +4 -5
  37. package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +1 -0
  38. package/development/seat-reservation/{seat-reservation/seat-reservation-scoped → seat-reservation-scoped}/seat-reservation-scoped.component.js +6 -7
  39. package/{seat-reservation → development}/seat-reservation/seat-reservation-scoped.d.ts.map +1 -1
  40. package/development/seat-reservation/seat-reservation.d.ts +0 -1
  41. package/development/seat-reservation/seat-reservation.d.ts.map +1 -1
  42. package/development/seat-reservation/seat-reservation.js +1 -3
  43. package/development/seat-reservation.d.ts +3 -1
  44. package/development/seat-reservation.d.ts.map +1 -1
  45. package/development/seat-reservation.js +3 -3
  46. package/development/timetable-duration/timetable-duration.component.js +1 -1
  47. package/development/timetable-row/timetable-row.component.js +58 -89
  48. package/differenceInMinutes-CP_C5onR.js +23 -0
  49. package/{format-Dg8rkk7h.js → format-lqeCzmzS.js} +438 -442
  50. package/index.d.ts +3 -3
  51. package/index.js +3 -3
  52. package/isValid-Ceq2O0NQ.js +45 -0
  53. package/journey-summary/journey-summary.component.js +3 -4
  54. package/package.json +14 -19
  55. package/pearl-chain/pearl-chain.component.d.ts.map +1 -1
  56. package/pearl-chain/pearl-chain.component.js +78 -95
  57. package/pearl-chain-time/pearl-chain-time.component.js +44 -45
  58. package/seat-reservation/common/mapper/mapper.js +50 -54
  59. package/seat-reservation/common/translations/i18n.js +5 -6
  60. package/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -1
  61. package/seat-reservation/seat-reservation/seat-reservation-base-element.js +104 -115
  62. package/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -1
  63. package/seat-reservation/seat-reservation/seat-reservation.component.js +80 -89
  64. package/seat-reservation/seat-reservation-graphic/seat-reservation-assets.js +15 -18
  65. package/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +58 -59
  66. package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach → seat-reservation-navigation-coach}/seat-reservation-navigation-coach.component.d.ts +1 -1
  67. package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +1 -0
  68. package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach → seat-reservation-navigation-coach}/seat-reservation-navigation-coach.component.js +71 -75
  69. package/seat-reservation/seat-reservation-navigation-coach.d.ts.map +1 -0
  70. package/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +1 -0
  71. package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services → seat-reservation-navigation-services}/seat-reservation-navigation-services.component.js +14 -15
  72. package/seat-reservation/seat-reservation-navigation-services.d.ts.map +1 -0
  73. package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +23 -24
  74. package/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +1 -0
  75. package/seat-reservation/{seat-reservation/seat-reservation-scoped → seat-reservation-scoped}/seat-reservation-scoped.component.js +40 -41
  76. package/seat-reservation/seat-reservation-scoped.d.ts.map +1 -0
  77. package/seat-reservation/seat-reservation.d.ts +0 -1
  78. package/seat-reservation/seat-reservation.d.ts.map +1 -1
  79. package/seat-reservation/seat-reservation.js +0 -2
  80. package/seat-reservation.d.ts +3 -1
  81. package/seat-reservation.d.ts.map +1 -1
  82. package/seat-reservation.js +12 -12
  83. package/timetable-row/timetable-row.component.js +207 -247
  84. package/development/seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +0 -1
  85. package/development/seat-reservation/seat-reservation/seat-reservation-scoped.d.ts.map +0 -1
  86. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +0 -1
  87. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.d.ts.map +0 -1
  88. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +0 -1
  89. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +0 -123
  90. package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.d.ts.map +0 -1
  91. package/development/seat-reservation/seat-reservation-navigation.d.ts +0 -6
  92. package/development/seat-reservation/seat-reservation-navigation.d.ts.map +0 -1
  93. package/development/seat-reservation/seat-reservation-navigation.js +0 -7
  94. package/differenceInMinutes-BMqUZdhj.js +0 -23
  95. package/isValid-DJ69OMZJ.js +0 -45
  96. package/seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +0 -1
  97. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +0 -1
  98. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.d.ts.map +0 -1
  99. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +0 -1
  100. package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.d.ts.map +0 -1
  101. package/seat-reservation/seat-reservation-navigation.d.ts +0 -6
  102. package/seat-reservation/seat-reservation-navigation.d.ts.map +0 -1
  103. package/seat-reservation/seat-reservation-navigation.js +0 -6
  104. /package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach.d.ts → seat-reservation-navigation-coach.d.ts} +0 -0
  105. /package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach.js → seat-reservation-navigation-coach.js} +0 -0
  106. /package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services → seat-reservation-navigation-services}/seat-reservation-navigation-services.component.d.ts +0 -0
  107. /package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services.d.ts → seat-reservation-navigation-services.d.ts} +0 -0
  108. /package/development/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services.js → seat-reservation-navigation-services.js} +0 -0
  109. /package/development/seat-reservation/{seat-reservation/seat-reservation-scoped → seat-reservation-scoped}/seat-reservation-scoped.component.d.ts +0 -0
  110. /package/development/seat-reservation/{seat-reservation/seat-reservation-scoped.d.ts → seat-reservation-scoped.d.ts} +0 -0
  111. /package/development/seat-reservation/{seat-reservation/seat-reservation-scoped.js → seat-reservation-scoped.js} +0 -0
  112. /package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach.d.ts → seat-reservation-navigation-coach.d.ts} +0 -0
  113. /package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-coach.js → seat-reservation-navigation-coach.js} +0 -0
  114. /package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services → seat-reservation-navigation-services}/seat-reservation-navigation-services.component.d.ts +0 -0
  115. /package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services.d.ts → seat-reservation-navigation-services.d.ts} +0 -0
  116. /package/seat-reservation/{seat-reservation-navigation/seat-reservation-navigation-services.js → seat-reservation-navigation-services.js} +0 -0
  117. /package/seat-reservation/{seat-reservation/seat-reservation-scoped → seat-reservation-scoped}/seat-reservation-scoped.component.d.ts +0 -0
  118. /package/seat-reservation/{seat-reservation/seat-reservation-scoped.d.ts → seat-reservation-scoped.d.ts} +0 -0
  119. /package/seat-reservation/{seat-reservation/seat-reservation-scoped.js → seat-reservation-scoped.js} +0 -0
@@ -10,13 +10,13 @@ import { forceType as v } from "@sbb-esta/lyne-elements/core/decorators.js";
10
10
  import { EventEmitter as ft } from "@sbb-esta/lyne-elements/core/eventing.js";
11
11
  import { css as gt, nothing as kt, html as xt } from "lit";
12
12
  import { customElement as yt, property as d } from "lit/decorators.js";
13
- import { getI18nSeatReservation as R } from "../common.js";
13
+ import { getI18nSeatReservation as C } from "../common.js";
14
14
  import "../seat-reservation-graphic.js";
15
15
  const mt = gt`*,:before,:after{box-sizing:border-box}:host{--sbb-reservation-place-control-rotation: 0;--sbb-reservation-place-control-text-rotation: 0;--sbb-reservation-place-control-text-size: calc( var(--sbb-place-control-text-scale-value, 1) * .5 );--sbb-reservation-place-control-default-text: var(--sbb-color-black);--sbb-reservation-place-control-hover-text: var(--sbb-color-iron);--sbb-reservation-place-control-focus-text: var(--sbb-color-anthracite);--sbb-reservation-place-control-allocated-text: var(--sbb-color-smoke);--sbb-reservation-place-control-free-background-default: var(--sbb-color-white);--sbb-reservation-place-control-free-background-hover: var(--sbb-color-cloud);--sbb-reservation-place-control-free-background-focus: var(--sbb-color-silver);--sbb-reservation-place-control-free-backrest-background-default: var(--sbb-color-black);--sbb-reservation-place-control-free-backrest-background-hover: var(--sbb-color-black);--sbb-reservation-place-control-free-backrest-background-focus: var(--sbb-color-black);--sbb-reservation-place-control-selected-background-default: var(--sbb-color-red);--sbb-reservation-place-control-selected-background-hover: var(--sbb-color-red125);--sbb-reservation-place-control-selected-background-focus: var(--sbb-color-red150);--sbb-reservation-place-control-selected-backrest-background-default: var(--sbb-color-red150);--sbb-reservation-place-control-selected-backrest-background-hover: #7d000f;--sbb-reservation-place-control-selected-backrest-background-focus: #5a000b;--sbb-reservation-place-control-allocated-background-default: var(--sbb-color-milk);cursor:pointer}:host(:hover) .sbb-sr-place-ctrl--state-free:not(.sbb-reservation-place-control--disabled) ::part(svg-place){fill:var(--sbb-reservation-place-control-free-background-hover)}:host(:hover) .sbb-sr-place-ctrl--state-free:not(.sbb-reservation-place-control--disabled) ::part(svg-backrest){fill:var(--sbb-reservation-place-control-free-backrest-background-hover)}:host(:hover) .sbb-sr-place-ctrl--state-free:not(.sbb-reservation-place-control--disabled) .sbb-sr-place-ctrl__text{background-color:var(--sbb-reservation-place-control-free-background-hover);color:var(--sbb-reservation-place-control-free-text)}:host(:hover) .sbb-sr-place-ctrl--state-selected:not(.sbb-reservation-place-control--disabled) ::part(svg-place){fill:var(--sbb-reservation-place-control-selected-background-hover)}:host(:hover) .sbb-sr-place-ctrl--state-selected:not(.sbb-reservation-place-control--disabled) ::part(svg-backrest){fill:var(--sbb-reservation-place-control-selected-backrest-background-hover)}:host(:hover) .sbb-sr-place-ctrl--state-selected:not(.sbb-reservation-place-control--disabled) .sbb-sr-place-ctrl__text{background-color:var(--sbb-reservation-place-control-selected-background-hover);color:var(--sbb-reservation-place-control-selected-text)}:host(:focus){border-radius:var(--sbb-border-width-1x);outline:var(--sbb-border-width-2x) solid var(--sbb-color-black)}:host(:focus) .sbb-sr-place-ctrl--state-free:not(.sbb-reservation-place-control--disabled) ::part(svg-place){fill:var(--sbb-reservation-place-control-free-background-focus)}:host(:focus) .sbb-sr-place-ctrl--state-free:not(.sbb-reservation-place-control--disabled) ::part(svg-backrest){fill:var(--sbb-reservation-place-control-free-backrest-background-focus)}:host(:focus) .sbb-sr-place-ctrl--state-free:not(.sbb-reservation-place-control--disabled) .sbb-sr-place-ctrl__text{background-color:var(--sbb-reservation-place-control-free-background-focus);color:var(--sbb-reservation-place-control-free-text)}:host(:focus) .sbb-sr-place-ctrl--state-selected:not(.sbb-reservation-place-control--disabled) ::part(svg-place){fill:var(--sbb-reservation-place-control-selected-background-focus)}:host(:focus) .sbb-sr-place-ctrl--state-selected:not(.sbb-reservation-place-control--disabled) ::part(svg-backrest){fill:var(--sbb-reservation-place-control-selected-backrest-background-focus)}:host(:focus) .sbb-sr-place-ctrl--state-selected:not(.sbb-reservation-place-control--disabled) .sbb-sr-place-ctrl__text{background-color:var(--sbb-reservation-place-control-selected-background-focus);color:var(--sbb-reservation-place-control-selected-text)}.sbb-sr-place-ctrl{width:max-content;position:relative;font-size:calc(var(--sbb-reservation-place-control-text-size) * .0625rem)}.sbb-sr-place-ctrl--state-free ::part(svg-place){fill:var(--sbb-reservation-place-control-free-background-default)}.sbb-sr-place-ctrl--state-free ::part(svg-backrest){fill:var(--sbb-reservation-place-control-free-backrest-background-default)}.sbb-sr-place-ctrl--state-free .sbb-sr-place-ctrl__text{background-color:var(--sbb-reservation-place-control-free-background-default);color:var(--sbb-reservation-place-control-free-text)}.sbb-sr-place-ctrl--state-selected ::part(svg-place){fill:var(--sbb-reservation-place-control-selected-background-default)}.sbb-sr-place-ctrl--state-selected ::part(svg-backrest){fill:var(--sbb-reservation-place-control-selected-backrest-background-default)}.sbb-sr-place-ctrl--state-selected .sbb-sr-place-ctrl__text{background-color:var(--sbb-reservation-place-control-selected-background-default);color:var(--sbb-reservation-place-control-selected-text)}.sbb-sr-place-ctrl--state-allocated,.sbb-sr-place-ctrl--state-restricted{cursor:not-allowed}.sbb-sr-place-ctrl--state-allocated ::part(svg-place),.sbb-sr-place-ctrl--state-restricted ::part(svg-place){fill:var(--sbb-reservation-place-control-allocated-background-default)}.sbb-sr-place-ctrl--state-allocated ::part(svg-backrest),.sbb-sr-place-ctrl--state-restricted ::part(svg-backrest){fill:var(--sbb-reservation-place-control-allocated-backrest-background-default)}.sbb-sr-place-ctrl--state-allocated .sbb-sr-place-ctrl__text,.sbb-sr-place-ctrl--state-restricted .sbb-sr-place-ctrl__text{background-color:var(--sbb-reservation-place-control-allocated-background-default);color:var(--sbb-reservation-place-control-allocated-text)}.sbb-sr-place-ctrl__text{overflow:hidden;display:none;position:absolute;inset-block-start:50%;translate:-50% -50%;rotate:calc(var(--sbb-reservation-place-control-text-rotation) * 1deg);font-family:var(--sbb-typo-font-family);font-size:.75em;line-height:initial}.sbb-sr-place-ctrl--state-free .sbb-sr-place-ctrl__text,.sbb-sr-place-ctrl--state-allocated .sbb-sr-place-ctrl__text,.sbb-sr-place-ctrl--state-restricted.sbb-sr-place-ctrl--type-bicycle .sbb-sr-place-ctrl__text{display:block}.sbb-sr-place-ctrl--type-bicycle .sbb-sr-place-ctrl__text{inset-block-start:65%;inset-inline-start:50%;transform-origin:center 16%;font-size:.6875em}.sbb-sr-place-ctrl--orientation-0.sbb-sr-place-ctrl--type-seat .sbb-sr-place-ctrl__text{inset-inline-start:45%}.sbb-sr-place-ctrl--orientation-90.sbb-sr-place-ctrl--type-seat .sbb-sr-place-ctrl__text{inset-block-start:46%;inset-inline-start:50%}.sbb-sr-place-ctrl--orientation-180.sbb-sr-place-ctrl--type-seat .sbb-sr-place-ctrl__text{inset-inline-start:55%}.sbb-sr-place-ctrl--orientation-270.sbb-sr-place-ctrl--type-seat .sbb-sr-place-ctrl__text{inset-block-start:52%;inset-inline-start:52%}`;
16
16
  let Dt = (() => {
17
17
  var u, _, f, g, k, x, y, m, I, z, w, c;
18
- let o = [yt("sbb-seat-reservation-place-control")], l, i = [], h, S = ut, T, P = [], $ = [], L, D = [], A = [], N, O = [], F = [], j, B = [], U = [], K, M = [], Y = [], q, G = [], H = [], J, Q = [], V = [], W, X = [], Z = [], tt, et = [], st = [], rt, at = [], ct = [], ot, lt = [], it = [];
19
- var C = (c = class extends S {
18
+ let o = [yt("sbb-seat-reservation-place-control")], l, i = [], h, R = ut, S, T = [], P = [], $, L = [], D = [], A, N = [], O = [], F, j = [], B = [], U, K = [], M = [], Y, q = [], G = [], H, J = [], Q = [], V, W = [], X = [], Z, tt = [], et = [], st, rt = [], at = [], ct, ot = [], lt = [];
19
+ var E = (c = class extends R {
20
20
  constructor() {
21
21
  super();
22
22
  b(this, u);
@@ -30,7 +30,7 @@ let Dt = (() => {
30
30
  b(this, I);
31
31
  b(this, z);
32
32
  b(this, w);
33
- r(this, u, a(this, P, "SEAT")), r(this, _, (a(this, $), a(this, D, "FREE"))), r(this, f, (a(this, A), a(this, O, []))), r(this, g, (a(this, F), a(this, B, 0))), r(this, k, (a(this, U), a(this, M, 32))), r(this, x, (a(this, Y), a(this, G, 32))), r(this, y, (a(this, H), a(this, Q, ""))), r(this, m, (a(this, V), a(this, X, 0))), r(this, I, (a(this, Z), a(this, et, null))), r(this, z, (a(this, st), a(this, at, !1))), r(this, w, (a(this, ct), a(this, lt, "unfocus"))), this.placeSelected = (a(this, it), new ft(this, C.events.selectPlace)), this._language = new _t(this), this.addEventListener("click", () => this._selectPlace());
33
+ r(this, u, a(this, T, "SEAT")), r(this, _, (a(this, P), a(this, L, "FREE"))), r(this, f, (a(this, D), a(this, N, []))), r(this, g, (a(this, O), a(this, j, 0))), r(this, k, (a(this, B), a(this, K, 32))), r(this, x, (a(this, M), a(this, q, 32))), r(this, y, (a(this, G), a(this, J, ""))), r(this, m, (a(this, Q), a(this, W, 0))), r(this, I, (a(this, X), a(this, tt, null))), r(this, z, (a(this, et), a(this, rt, !1))), r(this, w, (a(this, at), a(this, ot, "unfocus"))), this.placeSelected = (a(this, lt), new ft(this, E.events.selectPlace)), this._language = new _t(this), this.addEventListener("click", () => this._selectPlace());
34
34
  }
35
35
  /** placeType of the place, e.g. 'SEAT', 'BICYCLE' */
36
36
  get placeType() {
@@ -110,11 +110,10 @@ let Dt = (() => {
110
110
  r(this, w, e);
111
111
  }
112
112
  willUpdate(e) {
113
- var t, s, E;
114
- super.willUpdate(e), (e.has("width") || e.has("height")) && ((t = this.style) == null || t.setProperty("--sbb-place-control-text-scale-value", `${Math.min(this.width, this.height)}`)), e.has("textRotation") && ((s = this.style) == null || s.setProperty("--sbb-reservation-place-control-text-rotation", `${this.textRotation}`)), e.has("rotation") && ((E = this.style) == null || E.setProperty("--sbb-reservation-place-control-rotation", `${this.rotation}`)), e.has("keyfocus") && this.keyfocus === "focus" && this.focus();
113
+ super.willUpdate(e), (e.has("width") || e.has("height")) && this.style?.setProperty("--sbb-place-control-text-scale-value", `${Math.min(this.width, this.height)}`), e.has("textRotation") && this.style?.setProperty("--sbb-reservation-place-control-text-rotation", `${this.textRotation}`), e.has("rotation") && this.style?.setProperty("--sbb-reservation-place-control-rotation", `${this.rotation}`), e.has("keyfocus") && this.keyfocus === "focus" && this.focus();
115
114
  }
116
115
  render() {
117
- const e = this._getPlaceSvg(this.placeType, this.state), t = this.type.toLowerCase(), s = this.state.toLowerCase(), E = this.text, pt = this.width, dt = this.height, ht = this.textRotation - this.rotation, vt = this.preventClick ? "sbb-reservation-place-control--disabled" : null;
116
+ const e = this._getPlaceSvg(this.placeType, this.state), t = this.type.toLowerCase(), s = this.state.toLowerCase(), it = this.text, pt = this.width, dt = this.height, ht = this.textRotation - this.rotation, vt = this.preventClick ? "sbb-reservation-place-control--disabled" : null;
118
117
  return this.title = this._getTitleDescriptionPlace(), this.tabIndex = -1, xt`
119
118
  <div
120
119
  part="sbb-sr-place-part"
@@ -129,7 +128,7 @@ let Dt = (() => {
129
128
  aria-hidden="true"
130
129
  ></sbb-seat-reservation-graphic>
131
130
  <span ${this.text ?? kt} class="sbb-sr-place-ctrl__text" aria-hidden="true"
132
- >${E}</span
131
+ >${it}</span
133
132
  >
134
133
  </div>
135
134
  `;
@@ -139,8 +138,8 @@ let Dt = (() => {
139
138
  }
140
139
  _getTitleDescriptionPlace() {
141
140
  const e = "PLACE_CONTROL_" + this.type + "_" + this.state;
142
- let t = R(e, this._language.current, [this.text]);
143
- return this.propertyIds.length && (t += ". " + R("PLACE_PROPERTY", this._language.current).concat(": "), t += this.propertyIds.map((s) => R(s, this._language.current)).join(", ")), t;
141
+ let t = C(e, this._language.current, [this.text]);
142
+ return this.propertyIds.length && (t += ". " + C("PLACE_PROPERTY", this._language.current).concat(": "), t += this.propertyIds.map((s) => C(s, this._language.current)).join(", ")), t;
144
143
  }
145
144
  /** If the place selectable, we emit the placeSelection object which contains infos to the place state */
146
145
  _selectPlace() {
@@ -156,34 +155,34 @@ let Dt = (() => {
156
155
  }
157
156
  }
158
157
  }, u = new WeakMap(), _ = new WeakMap(), f = new WeakMap(), g = new WeakMap(), k = new WeakMap(), x = new WeakMap(), y = new WeakMap(), m = new WeakMap(), I = new WeakMap(), z = new WeakMap(), w = new WeakMap(), h = c, (() => {
159
- const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(S[Symbol.metadata] ?? null) : void 0;
160
- T = [v(), d({ attribute: "type" })], L = [v(), d({ attribute: "state" })], N = [d({ attribute: "propertyIds", type: Array })], j = [v(), d({ attribute: "rotation", type: Number })], K = [v(), d({ attribute: "width", type: Number })], q = [v(), d({ attribute: "height", type: Number })], J = [v(), d({ attribute: "text" })], W = [v(), d({ attribute: "text-rotation" })], tt = [v(), d({ attribute: "coach-index", type: Number })], rt = [v(), d({ attribute: "prevent-click", type: Boolean })], ot = [v(), d({ attribute: "keyfocus" })], p(c, null, T, { kind: "accessor", name: "placeType", static: !1, private: !1, access: { has: (t) => "placeType" in t, get: (t) => t.placeType, set: (t, s) => {
158
+ const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(R[Symbol.metadata] ?? null) : void 0;
159
+ S = [v(), d({ attribute: "type" })], $ = [v(), d({ attribute: "state" })], A = [d({ attribute: "propertyIds", type: Array })], F = [v(), d({ attribute: "rotation", type: Number })], U = [v(), d({ attribute: "width", type: Number })], Y = [v(), d({ attribute: "height", type: Number })], H = [v(), d({ attribute: "text" })], V = [v(), d({ attribute: "text-rotation" })], Z = [v(), d({ attribute: "coach-index", type: Number })], st = [v(), d({ attribute: "prevent-click", type: Boolean })], ct = [v(), d({ attribute: "keyfocus" })], p(c, null, S, { kind: "accessor", name: "placeType", static: !1, private: !1, access: { has: (t) => "placeType" in t, get: (t) => t.placeType, set: (t, s) => {
161
160
  t.placeType = s;
162
- } }, metadata: e }, P, $), p(c, null, L, { kind: "accessor", name: "state", static: !1, private: !1, access: { has: (t) => "state" in t, get: (t) => t.state, set: (t, s) => {
161
+ } }, metadata: e }, T, P), p(c, null, $, { kind: "accessor", name: "state", static: !1, private: !1, access: { has: (t) => "state" in t, get: (t) => t.state, set: (t, s) => {
163
162
  t.state = s;
164
- } }, metadata: e }, D, A), p(c, null, N, { kind: "accessor", name: "propertyIds", static: !1, private: !1, access: { has: (t) => "propertyIds" in t, get: (t) => t.propertyIds, set: (t, s) => {
163
+ } }, metadata: e }, L, D), p(c, null, A, { kind: "accessor", name: "propertyIds", static: !1, private: !1, access: { has: (t) => "propertyIds" in t, get: (t) => t.propertyIds, set: (t, s) => {
165
164
  t.propertyIds = s;
166
- } }, metadata: e }, O, F), p(c, null, j, { kind: "accessor", name: "rotation", static: !1, private: !1, access: { has: (t) => "rotation" in t, get: (t) => t.rotation, set: (t, s) => {
165
+ } }, metadata: e }, N, O), p(c, null, F, { kind: "accessor", name: "rotation", static: !1, private: !1, access: { has: (t) => "rotation" in t, get: (t) => t.rotation, set: (t, s) => {
167
166
  t.rotation = s;
168
- } }, metadata: e }, B, U), p(c, null, K, { kind: "accessor", name: "width", static: !1, private: !1, access: { has: (t) => "width" in t, get: (t) => t.width, set: (t, s) => {
167
+ } }, metadata: e }, j, B), p(c, null, U, { kind: "accessor", name: "width", static: !1, private: !1, access: { has: (t) => "width" in t, get: (t) => t.width, set: (t, s) => {
169
168
  t.width = s;
170
- } }, metadata: e }, M, Y), p(c, null, q, { kind: "accessor", name: "height", static: !1, private: !1, access: { has: (t) => "height" in t, get: (t) => t.height, set: (t, s) => {
169
+ } }, metadata: e }, K, M), p(c, null, Y, { kind: "accessor", name: "height", static: !1, private: !1, access: { has: (t) => "height" in t, get: (t) => t.height, set: (t, s) => {
171
170
  t.height = s;
172
- } }, metadata: e }, G, H), p(c, null, J, { kind: "accessor", name: "text", static: !1, private: !1, access: { has: (t) => "text" in t, get: (t) => t.text, set: (t, s) => {
171
+ } }, metadata: e }, q, G), p(c, null, H, { kind: "accessor", name: "text", static: !1, private: !1, access: { has: (t) => "text" in t, get: (t) => t.text, set: (t, s) => {
173
172
  t.text = s;
174
- } }, metadata: e }, Q, V), p(c, null, W, { kind: "accessor", name: "textRotation", static: !1, private: !1, access: { has: (t) => "textRotation" in t, get: (t) => t.textRotation, set: (t, s) => {
173
+ } }, metadata: e }, J, Q), p(c, null, V, { kind: "accessor", name: "textRotation", static: !1, private: !1, access: { has: (t) => "textRotation" in t, get: (t) => t.textRotation, set: (t, s) => {
175
174
  t.textRotation = s;
176
- } }, metadata: e }, X, Z), p(c, null, tt, { kind: "accessor", name: "coachIndex", static: !1, private: !1, access: { has: (t) => "coachIndex" in t, get: (t) => t.coachIndex, set: (t, s) => {
175
+ } }, metadata: e }, W, X), p(c, null, Z, { kind: "accessor", name: "coachIndex", static: !1, private: !1, access: { has: (t) => "coachIndex" in t, get: (t) => t.coachIndex, set: (t, s) => {
177
176
  t.coachIndex = s;
178
- } }, metadata: e }, et, st), p(c, null, rt, { kind: "accessor", name: "preventClick", static: !1, private: !1, access: { has: (t) => "preventClick" in t, get: (t) => t.preventClick, set: (t, s) => {
177
+ } }, metadata: e }, tt, et), p(c, null, st, { kind: "accessor", name: "preventClick", static: !1, private: !1, access: { has: (t) => "preventClick" in t, get: (t) => t.preventClick, set: (t, s) => {
179
178
  t.preventClick = s;
180
- } }, metadata: e }, at, ct), p(c, null, ot, { kind: "accessor", name: "keyfocus", static: !1, private: !1, access: { has: (t) => "keyfocus" in t, get: (t) => t.keyfocus, set: (t, s) => {
179
+ } }, metadata: e }, rt, at), p(c, null, ct, { kind: "accessor", name: "keyfocus", static: !1, private: !1, access: { has: (t) => "keyfocus" in t, get: (t) => t.keyfocus, set: (t, s) => {
181
180
  t.keyfocus = s;
182
- } }, metadata: e }, lt, it), p(null, l = { value: h }, o, { kind: "class", name: h.name, metadata: e }, null, i), C = h = l.value, e && Object.defineProperty(h, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
181
+ } }, metadata: e }, ot, lt), p(null, l = { value: h }, o, { kind: "class", name: h.name, metadata: e }, null, i), E = h = l.value, e && Object.defineProperty(h, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
183
182
  })(), c.styles = mt, c.events = {
184
183
  selectPlace: "selectPlace"
185
184
  }, a(h, i), c);
186
- return C = h;
185
+ return E = h;
187
186
  })();
188
187
  export {
189
188
  Dt as SbbSeatReservationPlaceControlElement
@@ -0,0 +1 @@
1
+ {"version":3,"file":"seat-reservation-scoped.component.d.ts","sourceRoot":"","sources":["../../../../src/elements-experimental/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AACpF,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAKvC;;GAEG;AACH,qBAEM,+BAAgC,SAAQ,UAAU;IACtD,OAAuB,MAAM,EAAE,cAAc,CAAS;IAEtD,iDAAiD;IACjD,SAEgB,eAAe,EAAE,MAAM,CAAM;IAE7C,kDAAkD;IAClD,SAEgB,gBAAgB,EAAE,MAAM,CAAM;IAE9C,2DAA2D;IAC3D,SAEgB,KAAK,EAAE,MAAM,CAAM;IAEnC,4DAA4D;IAC5D,SAEgB,MAAM,EAAE,MAAM,CAAM;IAEpC,oCAAoC;IACpC,SAEgB,MAAM,EAAE,MAAM,CAAM;IAEpC,8DAA8D;IAC9D,SAEgB,MAAM,EAAE,MAAM,CAAM;IAEpC,4CAA4C;IAC5C,SAEgB,aAAa,EAAE,MAAM,CAAM;cAExB,UAAU,CAAC,kBAAkB,EAAE,cAAc,GAAG,IAAI;cA8BpD,MAAM,IAAI,cAAc;CAW5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,6BAA6B,EAAE,+BAA+B,CAAC;KAChE;CACF"}
@@ -1,27 +1,27 @@
1
- var N = (s) => {
1
+ var J = (s) => {
2
2
  throw TypeError(s);
3
3
  };
4
- var Q = (s, a, n) => a.has(s) || N("Cannot " + n);
5
- var o = (s, a, n) => (Q(s, a, "read from private field"), n ? n.call(s) : a.get(s)), h = (s, a, n) => a.has(s) ? N("Cannot add the same private member more than once") : a instanceof WeakSet ? a.add(s) : a.set(s, n), d = (s, a, n, c) => (Q(s, a, "write to private field"), c ? c.call(s, n) : a.set(s, n), n);
6
- import { __esDecorate as _, __runInitializers as r } from "tslib";
4
+ var K = (s, i, l) => i.has(s) || J("Cannot " + l);
5
+ var o = (s, i, l) => (K(s, i, "read from private field"), l ? l.call(s) : i.get(s)), h = (s, i, l) => i.has(s) ? J("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(s) : i.set(s, l), d = (s, i, l, c) => (K(s, i, "write to private field"), c ? c.call(s, l) : i.set(s, l), l);
6
+ import { __esDecorate as _, __runInitializers as a } from "tslib";
7
7
  import { forceType as p } from "@sbb-esta/lyne-elements/core/decorators.js";
8
- import { css as W, LitElement as X, html as V } from "lit";
9
- import { customElement as Y, property as b } from "lit/decorators.js";
10
- const Z = W`*,:before,:after{box-sizing:border-box}:host{display:block}:host .coach-border,:host .coach-wrapper,:host .graphical-element{width:var(--sbb-seat-reservation-scoped-width);height:var(--sbb-seat-reservation-scoped-height);inset-block-start:var(--sbb-seat-reservation-scoped-inset-block-start);inset-inline-start:var(--sbb-seat-reservation-scoped-inset-inline-start);z-index:var(--sbb-seat-reservation-scoped-z-index)}:host .coach-border,:host .graphical-element ::slotted(*),:host .graphical-element{position:absolute}:host .coach-border{z-index:0}`;
11
- let lt = (() => {
12
- var I, u, m, g, z, f, S, l;
13
- let s = [Y("sbb-seat-reservation-scoped")], a, n = [], c, v = X, x, k = [], y = [], w, B = [], C = [], $, E = [], D = [], j, O = [], T = [], U, L = [], P = [], R, q = [], A = [], F, G = [], H = [];
14
- return l = class extends v {
8
+ import { css as N, LitElement as Q, html as M } from "lit";
9
+ import { customElement as V, property as b } from "lit/decorators.js";
10
+ const W = N`*,:before,:after{box-sizing:border-box}:host{display:block}:host .coach-border,:host .coach-wrapper,:host .graphical-element{width:var(--sbb-seat-reservation-scoped-width);height:var(--sbb-seat-reservation-scoped-height);inset-block-start:var(--sbb-seat-reservation-scoped-inset-block-start);inset-inline-start:var(--sbb-seat-reservation-scoped-inset-inline-start);z-index:var(--sbb-seat-reservation-scoped-z-index)}:host .coach-border,:host .graphical-element ::slotted(*),:host .graphical-element{position:absolute}:host .coach-border{z-index:0}`;
11
+ let it = (() => {
12
+ var I, u, m, g, z, f, S, r;
13
+ let s = [V("sbb-seat-reservation-scoped")], i, l = [], c, v = Q, x, k = [], y = [], w, B = [], C = [], $, E = [], D = [], j, O = [], T = [], U, L = [], P = [], R, q = [], A = [], F, G = [], H = [];
14
+ return r = class extends v {
15
15
  constructor() {
16
16
  super(...arguments);
17
- h(this, I, r(this, k, ""));
18
- h(this, u, (r(this, y), r(this, B, "")));
19
- h(this, m, (r(this, C), r(this, E, "")));
20
- h(this, g, (r(this, D), r(this, O, "")));
21
- h(this, z, (r(this, T), r(this, L, "")));
22
- h(this, f, (r(this, P), r(this, q, "")));
23
- h(this, S, (r(this, A), r(this, G, "")));
24
- r(this, H);
17
+ h(this, I, a(this, k, ""));
18
+ h(this, u, (a(this, y), a(this, B, "")));
19
+ h(this, m, (a(this, C), a(this, E, "")));
20
+ h(this, g, (a(this, D), a(this, O, "")));
21
+ h(this, z, (a(this, T), a(this, L, "")));
22
+ h(this, f, (a(this, P), a(this, q, "")));
23
+ h(this, S, (a(this, A), a(this, G, "")));
24
+ a(this, H);
25
25
  }
26
26
  /** Inset block start in pixels (without unit) */
27
27
  get insetBlockStart() {
@@ -73,35 +73,34 @@ let lt = (() => {
73
73
  d(this, S, e);
74
74
  }
75
75
  willUpdate(e) {
76
- var t, i, J, K, M;
77
- super.willUpdate(e), e.has("width") && ((t = this.style) == null || t.setProperty("--sbb-seat-reservation-scoped-width", `${this.width}`)), e.has("height") && ((i = this.style) == null || i.setProperty("--sbb-seat-reservation-scoped-height", `${this.height}`)), e.has("insetBlockStart") && ((J = this.style) == null || J.setProperty("--sbb-seat-reservation-scoped-inset-block-start", `${this.insetBlockStart}`)), e.has("insetInlineStart") && ((K = this.style) == null || K.setProperty("--sbb-seat-reservation-scoped-inset-inline-start", `${this.insetInlineStart}`)), e.has("zIndex") && ((M = this.style) == null || M.setProperty("--sbb-seat-reservation-scoped-z-index", `${this.zIndex}`));
76
+ super.willUpdate(e), e.has("width") && this.style?.setProperty("--sbb-seat-reservation-scoped-width", `${this.width}`), e.has("height") && this.style?.setProperty("--sbb-seat-reservation-scoped-height", `${this.height}`), e.has("insetBlockStart") && this.style?.setProperty("--sbb-seat-reservation-scoped-inset-block-start", `${this.insetBlockStart}`), e.has("insetInlineStart") && this.style?.setProperty("--sbb-seat-reservation-scoped-inset-inline-start", `${this.insetInlineStart}`), e.has("zIndex") && this.style?.setProperty("--sbb-seat-reservation-scoped-z-index", `${this.zIndex}`);
78
77
  }
79
78
  render() {
80
- return this.cellId ? V`<td id="${this.cellId}" class="${this.scopedClasses}">
79
+ return this.cellId ? M`<td id="${this.cellId}" class="${this.scopedClasses}">
81
80
  <slot></slot>
82
- </td>` : V`<div class="${this.scopedClasses}">
81
+ </td>` : M`<div class="${this.scopedClasses}">
83
82
  <slot></slot>
84
83
  </div>`;
85
84
  }
86
- }, I = new WeakMap(), u = new WeakMap(), m = new WeakMap(), g = new WeakMap(), z = new WeakMap(), f = new WeakMap(), S = new WeakMap(), c = l, (() => {
85
+ }, I = new WeakMap(), u = new WeakMap(), m = new WeakMap(), g = new WeakMap(), z = new WeakMap(), f = new WeakMap(), S = new WeakMap(), c = r, (() => {
87
86
  const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(v[Symbol.metadata] ?? null) : void 0;
88
- x = [p(), b({ attribute: "inset-block-start" })], w = [p(), b({ attribute: "inset-inline-start" })], $ = [p(), b({ attribute: "width" })], j = [p(), b({ attribute: "height" })], U = [p(), b({ attribute: "z-index" })], R = [p(), b({ attribute: "cell-id" })], F = [p(), b({ attribute: "scoped-classes" })], _(l, null, x, { kind: "accessor", name: "insetBlockStart", static: !1, private: !1, access: { has: (t) => "insetBlockStart" in t, get: (t) => t.insetBlockStart, set: (t, i) => {
89
- t.insetBlockStart = i;
90
- } }, metadata: e }, k, y), _(l, null, w, { kind: "accessor", name: "insetInlineStart", static: !1, private: !1, access: { has: (t) => "insetInlineStart" in t, get: (t) => t.insetInlineStart, set: (t, i) => {
91
- t.insetInlineStart = i;
92
- } }, metadata: e }, B, C), _(l, null, $, { kind: "accessor", name: "width", static: !1, private: !1, access: { has: (t) => "width" in t, get: (t) => t.width, set: (t, i) => {
93
- t.width = i;
94
- } }, metadata: e }, E, D), _(l, null, j, { kind: "accessor", name: "height", static: !1, private: !1, access: { has: (t) => "height" in t, get: (t) => t.height, set: (t, i) => {
95
- t.height = i;
96
- } }, metadata: e }, O, T), _(l, null, U, { kind: "accessor", name: "zIndex", static: !1, private: !1, access: { has: (t) => "zIndex" in t, get: (t) => t.zIndex, set: (t, i) => {
97
- t.zIndex = i;
98
- } }, metadata: e }, L, P), _(l, null, R, { kind: "accessor", name: "cellId", static: !1, private: !1, access: { has: (t) => "cellId" in t, get: (t) => t.cellId, set: (t, i) => {
99
- t.cellId = i;
100
- } }, metadata: e }, q, A), _(l, null, F, { kind: "accessor", name: "scopedClasses", static: !1, private: !1, access: { has: (t) => "scopedClasses" in t, get: (t) => t.scopedClasses, set: (t, i) => {
101
- t.scopedClasses = i;
102
- } }, metadata: e }, G, H), _(null, a = { value: c }, s, { kind: "class", name: c.name, metadata: e }, null, n), c = a.value, e && Object.defineProperty(c, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
103
- })(), l.styles = Z, r(c, n), c;
87
+ x = [p(), b({ attribute: "inset-block-start" })], w = [p(), b({ attribute: "inset-inline-start" })], $ = [p(), b({ attribute: "width" })], j = [p(), b({ attribute: "height" })], U = [p(), b({ attribute: "z-index" })], R = [p(), b({ attribute: "cell-id" })], F = [p(), b({ attribute: "scoped-classes" })], _(r, null, x, { kind: "accessor", name: "insetBlockStart", static: !1, private: !1, access: { has: (t) => "insetBlockStart" in t, get: (t) => t.insetBlockStart, set: (t, n) => {
88
+ t.insetBlockStart = n;
89
+ } }, metadata: e }, k, y), _(r, null, w, { kind: "accessor", name: "insetInlineStart", static: !1, private: !1, access: { has: (t) => "insetInlineStart" in t, get: (t) => t.insetInlineStart, set: (t, n) => {
90
+ t.insetInlineStart = n;
91
+ } }, metadata: e }, B, C), _(r, null, $, { kind: "accessor", name: "width", static: !1, private: !1, access: { has: (t) => "width" in t, get: (t) => t.width, set: (t, n) => {
92
+ t.width = n;
93
+ } }, metadata: e }, E, D), _(r, null, j, { kind: "accessor", name: "height", static: !1, private: !1, access: { has: (t) => "height" in t, get: (t) => t.height, set: (t, n) => {
94
+ t.height = n;
95
+ } }, metadata: e }, O, T), _(r, null, U, { kind: "accessor", name: "zIndex", static: !1, private: !1, access: { has: (t) => "zIndex" in t, get: (t) => t.zIndex, set: (t, n) => {
96
+ t.zIndex = n;
97
+ } }, metadata: e }, L, P), _(r, null, R, { kind: "accessor", name: "cellId", static: !1, private: !1, access: { has: (t) => "cellId" in t, get: (t) => t.cellId, set: (t, n) => {
98
+ t.cellId = n;
99
+ } }, metadata: e }, q, A), _(r, null, F, { kind: "accessor", name: "scopedClasses", static: !1, private: !1, access: { has: (t) => "scopedClasses" in t, get: (t) => t.scopedClasses, set: (t, n) => {
100
+ t.scopedClasses = n;
101
+ } }, metadata: e }, G, H), _(null, i = { value: c }, s, { kind: "class", name: c.name, metadata: e }, null, l), c = i.value, e && Object.defineProperty(c, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
102
+ })(), r.styles = W, a(c, l), c;
104
103
  })();
105
104
  export {
106
- lt as SbbSeatReservationScopedElement
105
+ it as SbbSeatReservationScopedElement
107
106
  };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"seat-reservation-scoped.d.ts","sourceRoot":"","sources":["../../../src/elements-experimental/seat-reservation/seat-reservation-scoped.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,gEAAgE,CAAC"}
@@ -3,5 +3,4 @@
3
3
  */
4
4
  export * from './seat-reservation/seat-reservation.component.js';
5
5
  export * from './seat-reservation/seat-reservation-base-element.js';
6
- export * from './seat-reservation/seat-reservation-scoped.js';
7
6
  //# sourceMappingURL=seat-reservation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"seat-reservation.d.ts","sourceRoot":"","sources":["../../../src/elements-experimental/seat-reservation/seat-reservation.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,kDAAkD,CAAC;AACjE,cAAc,qDAAqD,CAAC;AACpE,cAAc,+CAA+C,CAAC"}
1
+ {"version":3,"file":"seat-reservation.d.ts","sourceRoot":"","sources":["../../../src/elements-experimental/seat-reservation/seat-reservation.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,kDAAkD,CAAC;AACjE,cAAc,qDAAqD,CAAC"}
@@ -1,8 +1,6 @@
1
1
  import { SbbSeatReservationElement as o } from "./seat-reservation/seat-reservation.component.js";
2
2
  import { SeatReservationBaseElement as a } from "./seat-reservation/seat-reservation-base-element.js";
3
- import { SbbSeatReservationScopedElement as n } from "./seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js";
4
3
  export {
5
4
  o as SbbSeatReservationElement,
6
- n as SbbSeatReservationScopedElement,
7
5
  a as SeatReservationBaseElement
8
6
  };
@@ -5,6 +5,8 @@ export * from './seat-reservation/common.js';
5
5
  export * from './seat-reservation/seat-reservation.js';
6
6
  export * from './seat-reservation/seat-reservation-area.js';
7
7
  export * from './seat-reservation/seat-reservation-graphic.js';
8
- export * from './seat-reservation/seat-reservation-navigation.js';
8
+ export * from './seat-reservation/seat-reservation-navigation-coach.js';
9
+ export * from './seat-reservation/seat-reservation-navigation-services.js';
9
10
  export * from './seat-reservation/seat-reservation-place-control.js';
11
+ export * from './seat-reservation/seat-reservation-scoped.js';
10
12
  //# sourceMappingURL=seat-reservation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"seat-reservation.d.ts","sourceRoot":"","sources":["../../src/elements-experimental/seat-reservation.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,mDAAmD,CAAC;AAClE,cAAc,sDAAsD,CAAC"}
1
+ {"version":3,"file":"seat-reservation.d.ts","sourceRoot":"","sources":["../../src/elements-experimental/seat-reservation.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,yDAAyD,CAAC;AACxE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,sDAAsD,CAAC;AACrE,cAAc,+CAA+C,CAAC"}
@@ -4,20 +4,20 @@ import { svgs as p } from "./seat-reservation/common/svgs.js";
4
4
  import { getI18nSeatReservation as s } from "./seat-reservation/common/translations/i18n.js";
5
5
  import { SbbSeatReservationElement as v } from "./seat-reservation/seat-reservation/seat-reservation.component.js";
6
6
  import { SeatReservationBaseElement as f } from "./seat-reservation/seat-reservation/seat-reservation-base-element.js";
7
- import { SbbSeatReservationScopedElement as R } from "./seat-reservation/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js";
8
- import { SbbSeatReservationAreaElement as g } from "./seat-reservation/seat-reservation-area/seat-reservation-area.component.js";
9
- import { SbbSeatReservationGraphicElement as C } from "./seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js";
10
- import { SbbSeatReservationNavigationCoachElement as T } from "./seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js";
11
- import { SbbSeatReservationNavigationServicesElement as d } from "./seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js";
12
- import { SbbSeatReservationPlaceControlElement as N } from "./seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js";
7
+ import { SbbSeatReservationAreaElement as R } from "./seat-reservation/seat-reservation-area/seat-reservation-area.component.js";
8
+ import { SbbSeatReservationGraphicElement as g } from "./seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js";
9
+ import { SbbSeatReservationNavigationCoachElement as C } from "./seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js";
10
+ import { SbbSeatReservationNavigationServicesElement as T } from "./seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js";
11
+ import { SbbSeatReservationPlaceControlElement as d } from "./seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js";
12
+ import { SbbSeatReservationScopedElement as N } from "./seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js";
13
13
  export {
14
- g as SbbSeatReservationAreaElement,
14
+ R as SbbSeatReservationAreaElement,
15
15
  v as SbbSeatReservationElement,
16
- C as SbbSeatReservationGraphicElement,
17
- T as SbbSeatReservationNavigationCoachElement,
18
- d as SbbSeatReservationNavigationServicesElement,
19
- N as SbbSeatReservationPlaceControlElement,
20
- R as SbbSeatReservationScopedElement,
16
+ g as SbbSeatReservationGraphicElement,
17
+ C as SbbSeatReservationNavigationCoachElement,
18
+ T as SbbSeatReservationNavigationServicesElement,
19
+ d as SbbSeatReservationPlaceControlElement,
20
+ N as SbbSeatReservationScopedElement,
21
21
  f as SeatReservationBaseElement,
22
22
  s as getI18nSeatReservation,
23
23
  t as mapCoachInfosToCoachSelection,