@sbb-esta/lyne-elements-experimental 3.0.1 → 3.2.0

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 (64) hide show
  1. package/custom-elements.json +908 -567
  2. package/development/seat-reservation/common/mapper/icon-mapper.d.ts.map +1 -1
  3. package/development/seat-reservation/common/mapper/icon-mapper.js +1 -3
  4. package/development/seat-reservation/common/mapper/mapper.d.ts +4 -3
  5. package/development/seat-reservation/common/mapper/mapper.d.ts.map +1 -1
  6. package/development/seat-reservation/common/mapper/mapper.js +6 -4
  7. package/development/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts.map +1 -1
  8. package/development/seat-reservation/common/mapper/seat-reservation-sample-data.js +4989 -4
  9. package/development/seat-reservation/common/svgs.d.ts +0 -1
  10. package/development/seat-reservation/common/svgs.d.ts.map +1 -1
  11. package/development/seat-reservation/common/svgs.js +1 -3
  12. package/development/seat-reservation/common/translations/i18n.js +194 -194
  13. package/development/seat-reservation/common/types.d.ts +10 -0
  14. package/development/seat-reservation/common/types.d.ts.map +1 -1
  15. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts +38 -12
  16. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -1
  17. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.js +252 -122
  18. package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts +28 -13
  19. package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -1
  20. package/development/seat-reservation/seat-reservation/seat-reservation.component.js +481 -262
  21. package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +17 -10
  22. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-assets.d.ts.map +1 -1
  23. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-assets.js +1 -6
  24. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +36 -18
  25. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts +3 -1
  26. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +1 -1
  27. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +26 -4
  28. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts.map +1 -1
  29. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +86 -54
  30. package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts +1 -16
  31. package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +1 -1
  32. package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js +10 -164
  33. package/package.json +3 -3
  34. package/seat-reservation/common/mapper/icon-mapper.d.ts.map +1 -1
  35. package/seat-reservation/common/mapper/icon-mapper.js +0 -2
  36. package/seat-reservation/common/mapper/mapper.d.ts +4 -3
  37. package/seat-reservation/common/mapper/mapper.d.ts.map +1 -1
  38. package/seat-reservation/common/mapper/mapper.js +16 -14
  39. package/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts.map +1 -1
  40. package/seat-reservation/common/mapper/seat-reservation-sample-data.js +4988 -3
  41. package/seat-reservation/common/svgs.d.ts +0 -1
  42. package/seat-reservation/common/svgs.d.ts.map +1 -1
  43. package/seat-reservation/common/svgs.js +4 -11
  44. package/seat-reservation/common/translations/i18n.js +197 -197
  45. package/seat-reservation/common/types.d.ts +10 -0
  46. package/seat-reservation/common/types.d.ts.map +1 -1
  47. package/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts +38 -12
  48. package/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -1
  49. package/seat-reservation/seat-reservation/seat-reservation-base-element.js +208 -134
  50. package/seat-reservation/seat-reservation/seat-reservation.component.d.ts +28 -13
  51. package/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -1
  52. package/seat-reservation/seat-reservation/seat-reservation.component.js +290 -298
  53. package/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +22 -22
  54. package/seat-reservation/seat-reservation-graphic/seat-reservation-assets.d.ts.map +1 -1
  55. package/seat-reservation/seat-reservation-graphic/seat-reservation-assets.js +0 -5
  56. package/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +37 -37
  57. package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts +3 -1
  58. package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +1 -1
  59. package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +69 -58
  60. package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts.map +1 -1
  61. package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +28 -27
  62. package/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts +1 -16
  63. package/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +1 -1
  64. package/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js +14 -101
@@ -2,8 +2,8 @@ var it = (o) => {
2
2
  throw TypeError(o);
3
3
  };
4
4
  var nt = (o, l, i) => l.has(o) || it("Cannot " + i);
5
- var n = (o, l, i) => (nt(o, l, "read from private field"), i ? i.call(o) : l.get(o)), b = (o, l, i) => l.has(o) ? it("Cannot add the same private member more than once") : l instanceof WeakSet ? l.add(o) : l.set(o, i), r = (o, l, i, h) => (nt(o, l, "write to private field"), h ? h.call(o, i) : l.set(o, i), i);
6
- import { __esDecorate as p, __runInitializers as a } from "tslib";
5
+ var n = (o, l, i) => (nt(o, l, "read from private field"), i ? i.call(o) : l.get(o)), b = (o, l, i) => l.has(o) ? it("Cannot add the same private member more than once") : l instanceof WeakSet ? l.add(o) : l.set(o, i), a = (o, l, i, h) => (nt(o, l, "write to private field"), h ? h.call(o, i) : l.set(o, i), i);
6
+ import { __esDecorate as p, __runInitializers as r } from "tslib";
7
7
  import { SbbButtonBaseElement as vt } from "@sbb-esta/lyne-elements/core/base-elements.js";
8
8
  import { SbbLanguageController as ut } from "@sbb-esta/lyne-elements/core/controllers.js";
9
9
  import { forceType as v } from "@sbb-esta/lyne-elements/core/decorators.js";
@@ -11,10 +11,10 @@ import { css as _t, nothing as ft, html as gt } from "lit";
11
11
  import { customElement as kt, property as d } from "lit/decorators.js";
12
12
  import { getI18nSeatReservation as E } from "../common.js";
13
13
  import "../seat-reservation-graphic.js";
14
- const xt = _t`*,: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%}`;
14
+ const xt = _t`*,:before,:after{box-sizing:border-box}:host{--sbb-seat-reservation-place-control-width: 16;--sbb-seat-reservation-place-control-height: 16;--sbb-seat-reservation-place-control-top: 0;--sbb-seat-reservation-place-control-left: 0;--sbb-seat-reservation-place-control-rotation: 0;--sbb-seat-reservation-place-control-text-rotation: 0;--sbb-seat-reservation-place-control-text-size: calc( var(--sbb-place-control-text-scale-value, 1) * .5 );--sbb-seat-reservation-place-control-default-text: var(--sbb-color-black);--sbb-seat-reservation-place-control-hover-text: var(--sbb-color-iron);--sbb-seat-reservation-place-control-focus-text: var(--sbb-color-anthracite);--sbb-seat-reservation-place-control-allocated-text: var(--sbb-color-smoke);--sbb-seat-reservation-place-control-free-background-default: var(--sbb-color-white);--sbb-seat-reservation-place-control-free-background-hover: var(--sbb-color-cloud);--sbb-seat-reservation-place-control-free-background-focus: var(--sbb-color-silver);--sbb-seat-reservation-place-control-free-backrest-background-default: var(--sbb-color-black);--sbb-seat-reservation-place-control-free-backrest-background-hover: var(--sbb-color-black);--sbb-seat-reservation-place-control-free-backrest-background-focus: var(--sbb-color-black);--sbb-seat-reservation-place-control-selected-background-default: var(--sbb-color-red);--sbb-seat-reservation-place-control-selected-background-hover: var(--sbb-color-red125);--sbb-seat-reservation-place-control-selected-background-focus: var(--sbb-color-red150);--sbb-seat-reservation-place-control-selected-backrest-background-default: var( --sbb-color-red150 );--sbb-seat-reservation-place-control-selected-backrest-background-hover: #7d000f;--sbb-seat-reservation-place-control-selected-backrest-background-focus: #5a000b;--sbb-seat-reservation-place-control-allocated-background-default: var(--sbb-color-milk);width:calc(var(--sbb-seat-reservation-place-control-width) * var(--sbb-seat-reservation-one-px-rem, .0625rem));height:calc(var(--sbb-seat-reservation-place-control-height) * var(--sbb-seat-reservation-one-px-rem, .0625rem));position:absolute;inset-block-start:calc(var(--sbb-seat-reservation-place-control-top) * var(--sbb-seat-reservation-one-px-rem, .0625rem));inset-inline-start:calc(var(--sbb-seat-reservation-place-control-left) * var(--sbb-seat-reservation-one-px-rem, .0625rem));cursor:pointer}:host(:hover) .sbb-sr-place-ctrl--state-free:not(.sbb-reservation-place-control--disabled) ::part(svg-place){fill:var(--sbb-seat-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-seat-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-seat-reservation-place-control-free-background-hover);color:var(--sbb-seat-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-seat-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-seat-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-seat-reservation-place-control-selected-background-hover);color:var(--sbb-seat-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-seat-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-seat-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-seat-reservation-place-control-free-background-focus);color:var(--sbb-seat-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-seat-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-seat-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-seat-reservation-place-control-selected-background-focus);color:var(--sbb-seat-reservation-place-control-selected-text)}:host(:dir(rtl)) :not(.sbb-sr-place-ctrl--type-bicycle,.sbb-sr-place-ctrl--orientation-90,.sbb-sr-place-ctrl--orientation-270,.sbb-sr-place-ctrl--state-selected) ::part(svg-place){rotate:180deg}.sbb-sr-place-ctrl{width:max-content;position:relative;font-size:calc(var(--sbb-seat-reservation-place-control-text-size) * var(--sbb-seat-reservation-one-px-rem, .0625rem))}.sbb-sr-place-ctrl--state-free ::part(svg-place){fill:var(--sbb-seat-reservation-place-control-free-background-default)}.sbb-sr-place-ctrl--state-free ::part(svg-backrest){fill:var(--sbb-seat-reservation-place-control-free-backrest-background-default)}.sbb-sr-place-ctrl--state-free .sbb-sr-place-ctrl__text{background-color:var(--sbb-seat-reservation-place-control-free-background-default);color:var(--sbb-seat-reservation-place-control-free-text)}.sbb-sr-place-ctrl--state-selected ::part(svg-place){fill:var(--sbb-seat-reservation-place-control-selected-background-default)}.sbb-sr-place-ctrl--state-selected ::part(svg-backrest){fill:var(--sbb-seat-reservation-place-control-selected-backrest-background-default)}.sbb-sr-place-ctrl--state-selected .sbb-sr-place-ctrl__text{background-color:var(--sbb-seat-reservation-place-control-selected-background-default);color:var(--sbb-seat-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-seat-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-seat-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-seat-reservation-place-control-allocated-background-default);color:var(--sbb-seat-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-seat-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%}:host(:dir(rtl)) .sbb-sr-place-ctrl--orientation-0 .sbb-sr-place-ctrl__text{inset-inline-start:3%}:host(:dir(rtl)) .sbb-sr-place-ctrl--orientation-90 .sbb-sr-place-ctrl__text,:host(:dir(rtl)) .sbb-sr-place-ctrl--orientation-180 .sbb-sr-place-ctrl__text{inset-inline-start:10%}:host(:dir(rtl)) .sbb-sr-place-ctrl--orientation-270 .sbb-sr-place-ctrl__text{inset-inline-start:5%}:host(:dir(rtl)) .sbb-sr-place-ctrl--type-bicycle .sbb-sr-place-ctrl__text{inset-inline-start:-10%}`;
15
15
  let $t = (() => {
16
- var u, _, f, g, k, x, y, m, I, z, w, c;
17
- let o = [kt("sbb-seat-reservation-place-control")], l, i = [], h, C = vt, R, 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 = [];
16
+ var u, _, f, g, k, x, y, m, I, w, z, c;
17
+ let o = [kt("sbb-seat-reservation-place-control")], l, i = [], h, C = vt, R, T = [], S = [], $, 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 = [], at = [], rt, ct = [], ot = [];
18
18
  return c = class extends C {
19
19
  constructor() {
20
20
  super();
@@ -27,89 +27,89 @@ let $t = (() => {
27
27
  b(this, y);
28
28
  b(this, m);
29
29
  b(this, I);
30
- b(this, z);
31
30
  b(this, w);
32
- r(this, u, a(this, S, "SEAT")), r(this, _, (a(this, T), a(this, P, "FREE"))), r(this, f, (a(this, L), a(this, A, []))), r(this, g, (a(this, N), a(this, F, 0))), r(this, k, (a(this, j), a(this, U, 32))), r(this, x, (a(this, K), a(this, Y, 32))), r(this, y, (a(this, q), a(this, H, ""))), r(this, m, (a(this, J), a(this, V, 0))), r(this, I, (a(this, W), a(this, Z, null))), r(this, z, (a(this, tt), a(this, st, !1))), r(this, w, (a(this, rt), a(this, ct, "unfocus"))), this._language = (a(this, ot), new ut(this)), this.addEventListener("click", () => this._selectPlace());
31
+ b(this, z);
32
+ a(this, u, r(this, T, "SEAT")), a(this, _, (r(this, S), r(this, P, "FREE"))), a(this, f, (r(this, L), r(this, A, []))), a(this, g, (r(this, N), r(this, F, 0))), a(this, k, (r(this, j), r(this, U, 32))), a(this, x, (r(this, K), r(this, Y, 32))), a(this, y, (r(this, q), r(this, H, ""))), a(this, m, (r(this, J), r(this, V, 0))), a(this, I, (r(this, W), r(this, Z, null))), a(this, w, (r(this, tt), r(this, st, !1))), a(this, z, (r(this, at), r(this, ct, "unfocus"))), this._language = (r(this, ot), new ut(this)), this.addEventListener("click", () => this._selectPlace());
33
33
  }
34
34
  /** placeType of the place, e.g. 'SEAT', 'BICYCLE' */
35
35
  get placeType() {
36
36
  return n(this, u);
37
37
  }
38
38
  set placeType(e) {
39
- r(this, u, e);
39
+ a(this, u, e);
40
40
  }
41
41
  /** state of the place, e.g. 'FREE', 'SELECTED', 'BLOCKED' */
42
42
  get state() {
43
43
  return n(this, _);
44
44
  }
45
45
  set state(e) {
46
- r(this, _, e);
46
+ a(this, _, e);
47
47
  }
48
48
  /** property ids of the place, to display more info about the place */
49
49
  get propertyIds() {
50
50
  return n(this, f);
51
51
  }
52
52
  set propertyIds(e) {
53
- r(this, f, e);
53
+ a(this, f, e);
54
54
  }
55
55
  /** rotation in degrees (without unit) */
56
56
  get rotation() {
57
57
  return n(this, g);
58
58
  }
59
59
  set rotation(e) {
60
- r(this, g, e);
60
+ a(this, g, e);
61
61
  }
62
62
  /** width of the place in pixels (without unit) */
63
63
  get width() {
64
64
  return n(this, k);
65
65
  }
66
66
  set width(e) {
67
- r(this, k, e);
67
+ a(this, k, e);
68
68
  }
69
69
  /** height of the place in pixels (without unit) */
70
70
  get height() {
71
71
  return n(this, x);
72
72
  }
73
73
  set height(e) {
74
- r(this, x, e);
74
+ a(this, x, e);
75
75
  }
76
76
  /** label of the place, e.g. '1A', '2B' */
77
77
  get text() {
78
78
  return n(this, y);
79
79
  }
80
80
  set text(e) {
81
- r(this, y, e);
81
+ a(this, y, e);
82
82
  }
83
83
  /** Rotation of the text in degrees (without unit) */
84
84
  get textRotation() {
85
85
  return n(this, m);
86
86
  }
87
87
  set textRotation(e) {
88
- r(this, m, e);
88
+ a(this, m, e);
89
89
  }
90
90
  /** Coach Index Prop to identifier the right place to coach */
91
91
  get coachIndex() {
92
92
  return n(this, I);
93
93
  }
94
94
  set coachIndex(e) {
95
- r(this, I, e);
95
+ a(this, I, e);
96
96
  }
97
97
  /** Prevent click prop prevent any place action */
98
98
  get preventClick() {
99
- return n(this, z);
99
+ return n(this, w);
100
100
  }
101
101
  set preventClick(e) {
102
- r(this, z, e);
102
+ a(this, w, e);
103
103
  }
104
104
  /** Set the place focus outline style */
105
105
  get keyfocus() {
106
- return n(this, w);
106
+ return n(this, z);
107
107
  }
108
108
  set keyfocus(e) {
109
- r(this, w, e);
109
+ a(this, z, e);
110
110
  }
111
111
  willUpdate(e) {
112
- 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();
112
+ 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-seat-reservation-place-control-text-rotation", `${this.textRotation}`), e.has("rotation") && this.style?.setProperty("--sbb-seat-reservation-place-control-rotation", `${this.rotation}`), e.has("keyfocus") && this.keyfocus === "focus" && this.focus();
113
113
  }
114
114
  render() {
115
115
  const e = this._getPlaceSvg(this.placeType, this.state), t = this.type.toLowerCase(), s = this.state.toLowerCase(), lt = this.text, bt = this.width, pt = this.height, dt = this.textRotation - this.rotation, ht = this.preventClick ? "sbb-reservation-place-control--disabled" : null;
@@ -148,7 +148,8 @@ let $t = (() => {
148
148
  id: this.id,
149
149
  coachIndex: this.coachIndex,
150
150
  number: this.text,
151
- state: this.state
151
+ state: this.state,
152
+ placeType: this.placeType
152
153
  };
153
154
  this.dispatchEvent(new CustomEvent("selectplace", {
154
155
  detail: t,
@@ -157,11 +158,11 @@ let $t = (() => {
157
158
  }));
158
159
  }
159
160
  }
160
- }, 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, (() => {
161
+ }, 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(), w = new WeakMap(), z = new WeakMap(), h = c, (() => {
161
162
  const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(C[Symbol.metadata] ?? null) : void 0;
162
- R = [v(), d({ attribute: "type" })], $ = [v(), d({ attribute: "state" })], D = [d({ attribute: "propertyIds", type: Array })], O = [v(), d({ attribute: "rotation", type: Number })], B = [v(), d({ attribute: "width", type: Number })], M = [v(), d({ attribute: "height", type: Number })], G = [v(), d({ attribute: "text" })], Q = [v(), d({ attribute: "text-rotation" })], X = [v(), d({ attribute: "coach-index", type: Number })], et = [v(), d({ attribute: "prevent-click", type: Boolean })], at = [v(), d({ attribute: "keyfocus" })], p(c, null, R, { kind: "accessor", name: "placeType", static: !1, private: !1, access: { has: (t) => "placeType" in t, get: (t) => t.placeType, set: (t, s) => {
163
+ R = [v(), d({ attribute: "type" })], $ = [v(), d({ attribute: "state" })], D = [d({ attribute: "propertyIds", type: Array })], O = [v(), d({ attribute: "rotation", type: Number })], B = [v(), d({ attribute: "width", type: Number })], M = [v(), d({ attribute: "height", type: Number })], G = [v(), d({ attribute: "text" })], Q = [v(), d({ attribute: "text-rotation" })], X = [v(), d({ attribute: "coach-index", type: Number })], et = [v(), d({ attribute: "prevent-click", type: Boolean })], rt = [v(), d({ attribute: "keyfocus" })], p(c, null, R, { kind: "accessor", name: "placeType", static: !1, private: !1, access: { has: (t) => "placeType" in t, get: (t) => t.placeType, set: (t, s) => {
163
164
  t.placeType = s;
164
- } }, metadata: e }, S, T), p(c, null, $, { kind: "accessor", name: "state", static: !1, private: !1, access: { has: (t) => "state" in t, get: (t) => t.state, set: (t, s) => {
165
+ } }, metadata: e }, T, S), p(c, null, $, { kind: "accessor", name: "state", static: !1, private: !1, access: { has: (t) => "state" in t, get: (t) => t.state, set: (t, s) => {
165
166
  t.state = s;
166
167
  } }, metadata: e }, P, L), p(c, null, D, { kind: "accessor", name: "propertyIds", static: !1, private: !1, access: { has: (t) => "propertyIds" in t, get: (t) => t.propertyIds, set: (t, s) => {
167
168
  t.propertyIds = s;
@@ -179,12 +180,12 @@ let $t = (() => {
179
180
  t.coachIndex = s;
180
181
  } }, metadata: e }, Z, tt), p(c, null, et, { kind: "accessor", name: "preventClick", static: !1, private: !1, access: { has: (t) => "preventClick" in t, get: (t) => t.preventClick, set: (t, s) => {
181
182
  t.preventClick = s;
182
- } }, metadata: e }, st, rt), p(c, null, at, { kind: "accessor", name: "keyfocus", static: !1, private: !1, access: { has: (t) => "keyfocus" in t, get: (t) => t.keyfocus, set: (t, s) => {
183
+ } }, metadata: e }, st, at), p(c, null, rt, { kind: "accessor", name: "keyfocus", static: !1, private: !1, access: { has: (t) => "keyfocus" in t, get: (t) => t.keyfocus, set: (t, s) => {
183
184
  t.keyfocus = s;
184
185
  } }, metadata: e }, ct, ot), p(null, l = { value: h }, o, { kind: "class", name: h.name, metadata: e }, null, i), h = l.value, e && Object.defineProperty(h, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
185
186
  })(), c.styles = xt, c.events = {
186
187
  selectplace: "selectplace"
187
- }, a(h, i), h;
188
+ }, r(h, i), h;
188
189
  })();
189
190
  export {
190
191
  $t as SbbSeatReservationPlaceControlElement
@@ -1,24 +1,9 @@
1
- import { CSSResultGroup, PropertyValues, TemplateResult, LitElement } from 'lit';
1
+ import { CSSResultGroup, TemplateResult, LitElement } from 'lit';
2
2
  /**
3
3
  * Wrapper class for scoped elements with similar properties to set.
4
4
  */
5
5
  export declare class SbbSeatReservationScopedElement extends LitElement {
6
6
  static styles: CSSResultGroup;
7
- /** Inset block start in pixels (without unit) */
8
- accessor insetBlockStart: string;
9
- /** Inset inline start in pixels (without unit) */
10
- accessor insetInlineStart: string;
11
- /** Width of the scoped element in pixels (without unit) */
12
- accessor width: string;
13
- /** Height of the scoped element in pixels (without unit) */
14
- accessor height: string;
15
- /** Z-index of the scoped element */
16
- accessor zIndex: string;
17
- /** Cell id of the scoped element, if it is used in a table */
18
- accessor cellId: string;
19
- /** Scoped classes for the scoped element */
20
- accessor scopedClasses: string;
21
- protected willUpdate(_changedProperties: PropertyValues): void;
22
7
  protected render(): TemplateResult;
23
8
  }
24
9
  declare global {
@@ -1 +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
+ {"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":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAC/D,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAKvC;;GAEG;AACH,qBAEM,+BAAgC,SAAQ,UAAU;IACtD,OAAuB,MAAM,EAAE,cAAc,CAAS;cAEnC,MAAM,IAAI,cAAc;CAG5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,6BAA6B,EAAE,+BAA+B,CAAC;KAChE;CACF"}
@@ -1,106 +1,19 @@
1
- var J = (s) => {
2
- throw TypeError(s);
3
- };
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
- import { forceType as p } from "@sbb-esta/lyne-elements/core/decorators.js";
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
- constructor() {
16
- super(...arguments);
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
- }
26
- /** Inset block start in pixels (without unit) */
27
- get insetBlockStart() {
28
- return o(this, I);
29
- }
30
- set insetBlockStart(e) {
31
- d(this, I, e);
32
- }
33
- /** Inset inline start in pixels (without unit) */
34
- get insetInlineStart() {
35
- return o(this, u);
36
- }
37
- set insetInlineStart(e) {
38
- d(this, u, e);
39
- }
40
- /** Width of the scoped element in pixels (without unit) */
41
- get width() {
42
- return o(this, m);
43
- }
44
- set width(e) {
45
- d(this, m, e);
46
- }
47
- /** Height of the scoped element in pixels (without unit) */
48
- get height() {
49
- return o(this, g);
50
- }
51
- set height(e) {
52
- d(this, g, e);
53
- }
54
- /** Z-index of the scoped element */
55
- get zIndex() {
56
- return o(this, z);
57
- }
58
- set zIndex(e) {
59
- d(this, z, e);
60
- }
61
- /** Cell id of the scoped element, if it is used in a table */
62
- get cellId() {
63
- return o(this, f);
64
- }
65
- set cellId(e) {
66
- d(this, f, e);
67
- }
68
- /** Scoped classes for the scoped element */
69
- get scopedClasses() {
70
- return o(this, S);
71
- }
72
- set scopedClasses(e) {
73
- d(this, S, e);
74
- }
75
- willUpdate(e) {
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}`);
77
- }
1
+ import { __esDecorate as i, __runInitializers as c } from "tslib";
2
+ import { css as n, LitElement as b, html as m } from "lit";
3
+ import { customElement as d } from "lit/decorators.js";
4
+ const p = n`*,:before,:after{box-sizing:border-box}:host{--sbb-seat-reservation-scoped-width: 0;--sbb-seat-reservation-scoped-height: 0;display:block}:host .scoped-element{width:calc(var(--sbb-seat-reservation-scoped-width) * var(--sbb-seat-reservation-one-px-rem, .0625rem));height:calc(var(--sbb-seat-reservation-scoped-height) * var(--sbb-seat-reservation-one-px-rem, .0625rem))}`;
5
+ let f = (() => {
6
+ var t;
7
+ let l = [d("sbb-seat-reservation-scoped")], a, r = [], e, o = b;
8
+ return t = class extends o {
78
9
  render() {
79
- return this.cellId ? M`<td id="${this.cellId}" class="${this.scopedClasses}">
80
- <slot></slot>
81
- </td>` : M`<div class="${this.scopedClasses}">
82
- <slot></slot>
83
- </div>`;
10
+ return m`<div class="scoped-element"><slot></slot></div>`;
84
11
  }
85
- }, I = new WeakMap(), u = new WeakMap(), m = new WeakMap(), g = new WeakMap(), z = new WeakMap(), f = new WeakMap(), S = new WeakMap(), c = r, (() => {
86
- const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(v[Symbol.metadata] ?? null) : void 0;
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;
12
+ }, e = t, (() => {
13
+ const s = typeof Symbol == "function" && Symbol.metadata ? Object.create(o[Symbol.metadata] ?? null) : void 0;
14
+ i(null, a = { value: e }, l, { kind: "class", name: e.name, metadata: s }, null, r), e = a.value, s && Object.defineProperty(e, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: s });
15
+ })(), t.styles = p, c(e, r), e;
103
16
  })();
104
17
  export {
105
- it as SbbSeatReservationScopedElement
18
+ f as SbbSeatReservationScopedElement
106
19
  };