@sbb-esta/lyne-elements-experimental-dev 5.0.0-next.3-dev.1779268564 → 5.0.0-next.3-dev.1779280410
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +42 -66
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +54 -83
- package/development/journey-summary/journey-summary.component.js +1 -1
- package/development/{journey-summary.component-De1ioDRq.js → journey-summary.component-Bjf9cIpR.js} +2 -2
- package/development/journey-summary.js +1 -1
- package/development/journey-summary.pure.js +1 -1
- package/development/pearl-chain/pearl-chain.component.js +1 -1
- package/development/pearl-chain-time/pearl-chain-time.component.js +1 -1
- package/development/{pearl-chain-time.component-BxVQ1z-Z.js → pearl-chain-time.component-y-YnuSnn.js} +2 -2
- package/development/pearl-chain-time.js +1 -1
- package/development/pearl-chain-time.pure.js +1 -1
- package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +1 -1
- package/development/{pearl-chain-vertical-item.component-DJioJtxP.js → pearl-chain-vertical-item.component-zo48V6sO.js} +2 -2
- package/development/pearl-chain-vertical-item.js +1 -1
- package/development/pearl-chain-vertical-item.pure.js +1 -1
- package/development/{pearl-chain.component-EEAZ7Kol.js → pearl-chain.component-CO4eTDeD.js} +2 -2
- package/development/pearl-chain.js +1 -1
- package/development/pearl-chain.pure.js +1 -1
- package/development/seat-reservation/seat-reservation/seat-reservation-base-element.js +1 -1
- package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +1 -1
- package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +1 -1
- package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +1 -1
- package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +1 -1
- package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +1 -1
- package/development/{seat-reservation-area.component-CMqjbUtV.js → seat-reservation-area.component-BiUbY2fJ.js} +2 -2
- package/development/{seat-reservation-graphic.component-C2r57590.js → seat-reservation-graphic.component-sXZS5AQ-.js} +2 -2
- package/development/{seat-reservation-navigation-coach.component-CMm-2Vuc.js → seat-reservation-navigation-coach.component-n9HVhAW1.js} +2 -2
- package/development/{seat-reservation-navigation-services.component-Do8JLJh3.js → seat-reservation-navigation-services.component-C_DDizl4.js} +2 -2
- package/development/{seat-reservation-place-control.component-Dfxv9B6C.js → seat-reservation-place-control.component-CEYulcPi.js} +2 -2
- package/development/seat-reservation.js +5 -5
- package/development/seat-reservation.pure.js +5 -5
- package/development/timetable-duration/timetable-duration.component.js +1 -1
- package/development/{timetable-duration.component-fBla8Kue.js → timetable-duration.component-QutPySyE.js} +2 -2
- package/development/timetable-duration.js +1 -1
- package/development/timetable-duration.pure.js +1 -1
- package/development/timetable-row/timetable-row.component.js +1 -1
- package/development/{timetable-row.component-CTShHdLn.js → timetable-row.component-2GBdtFiF.js} +2 -2
- package/development/timetable-row.js +1 -1
- package/development/timetable-row.pure.js +1 -1
- package/journey-summary/journey-summary.component.js +1 -1
- package/{journey-summary.component-CkDRawn9.js → journey-summary.component-Bbx7WYGU.js} +39 -39
- package/journey-summary.js +1 -1
- package/journey-summary.pure.js +1 -1
- package/package.json +2 -2
- package/pearl-chain/pearl-chain.component.js +1 -1
- package/pearl-chain-time/pearl-chain-time.component.js +1 -1
- package/{pearl-chain-time.component-D5OCEBJ_.js → pearl-chain-time.component-BDkOrxQ3.js} +32 -32
- package/pearl-chain-time.js +1 -1
- package/pearl-chain-time.pure.js +1 -1
- package/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +1 -1
- package/{pearl-chain-vertical-item.component-IdquCJMy.js → pearl-chain-vertical-item.component-an8iT9Ao.js} +24 -24
- package/pearl-chain-vertical-item.js +1 -1
- package/pearl-chain-vertical-item.pure.js +1 -1
- package/{pearl-chain.component-C6lcD7Xl.js → pearl-chain.component-DYzhEgWG.js} +24 -24
- package/pearl-chain.js +1 -1
- package/pearl-chain.pure.js +1 -1
- package/seat-reservation/seat-reservation/seat-reservation-base-element.js +58 -58
- package/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +1 -1
- package/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +1 -1
- package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +1 -1
- package/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +1 -1
- package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +1 -1
- package/{seat-reservation-area.component-BcmwKJSK.js → seat-reservation-area.component-B8HJ-Or8.js} +16 -16
- package/{seat-reservation-graphic.component-C3wc4DKr.js → seat-reservation-graphic.component-Ddpuv-Aw.js} +20 -20
- package/{seat-reservation-navigation-coach.component-Cwxd9vLy.js → seat-reservation-navigation-coach.component-DMKlwxPa.js} +45 -45
- package/{seat-reservation-navigation-services.component-CfAQa7pa.js → seat-reservation-navigation-services.component-2os7VI7i.js} +21 -21
- package/{seat-reservation-place-control.component-CE-FrGMT.js → seat-reservation-place-control.component-CvGYSTnc.js} +38 -38
- package/seat-reservation.js +5 -5
- package/seat-reservation.pure.js +5 -5
- package/timetable-duration/timetable-duration.component.js +1 -1
- package/timetable-duration.component-DHuPMaq5.js +61 -0
- package/timetable-duration.js +1 -1
- package/timetable-duration.pure.js +1 -1
- package/timetable-row/timetable-row.component.js +1 -1
- package/{timetable-row.component-DawXp2ut.js → timetable-row.component-DMiay4xK.js} +117 -117
- package/timetable-row.js +1 -1
- package/timetable-row.pure.js +1 -1
- package/timetable-duration.component-DPRcG1LP.js +0 -61
package/seat-reservation.js
CHANGED
|
@@ -2,11 +2,11 @@ import { i as e, n as t, r as n, t as r } from "./mapper-Cqie5ivY.js";
|
|
|
2
2
|
import { mapIconToSvg as i } from "./seat-reservation/common/mapper/icon-mapper.js";
|
|
3
3
|
import { t as a } from "./svgs-D5DhLHxC.js";
|
|
4
4
|
import { getI18nSeatReservation as o } from "./seat-reservation/common/translations/i18n.js";
|
|
5
|
-
import { t as s } from "./seat-reservation-area.component-
|
|
6
|
-
import { t as c } from "./seat-reservation-graphic.component-
|
|
7
|
-
import { n as l, t as u } from "./seat-reservation-navigation-coach.component-
|
|
8
|
-
import { t as d } from "./seat-reservation-navigation-services.component-
|
|
9
|
-
import { n as f, t as p } from "./seat-reservation-place-control.component-
|
|
5
|
+
import { t as s } from "./seat-reservation-area.component-B8HJ-Or8.js";
|
|
6
|
+
import { t as c } from "./seat-reservation-graphic.component-Ddpuv-Aw.js";
|
|
7
|
+
import { n as l, t as u } from "./seat-reservation-navigation-coach.component-DMKlwxPa.js";
|
|
8
|
+
import { t as d } from "./seat-reservation-navigation-services.component-2os7VI7i.js";
|
|
9
|
+
import { n as f, t as p } from "./seat-reservation-place-control.component-CvGYSTnc.js";
|
|
10
10
|
import { t as m } from "./seat-reservation-scoped.component-BohQUGVW.js";
|
|
11
11
|
import { SbbSeatReservationSelectedCoachEvent as h, SbbSeatReservationSelectedPlacesEvent as g, SeatReservationBaseElement as _ } from "./seat-reservation/seat-reservation/seat-reservation-base-element.js";
|
|
12
12
|
import { t as v } from "./seat-reservation.component-TLuTP9Nm.js";
|
package/seat-reservation.pure.js
CHANGED
|
@@ -3,11 +3,11 @@ import { mapIconToSvg as i } from "./seat-reservation/common/mapper/icon-mapper.
|
|
|
3
3
|
import "./seat-reservation/common/mapper.js";
|
|
4
4
|
import { t as a } from "./svgs-D5DhLHxC.js";
|
|
5
5
|
import { getI18nSeatReservation as o } from "./seat-reservation/common/translations/i18n.js";
|
|
6
|
-
import { t as s } from "./seat-reservation-area.component-
|
|
7
|
-
import { t as c } from "./seat-reservation-graphic.component-
|
|
8
|
-
import { n as l, t as u } from "./seat-reservation-navigation-coach.component-
|
|
9
|
-
import { t as d } from "./seat-reservation-navigation-services.component-
|
|
10
|
-
import { n as f, t as p } from "./seat-reservation-place-control.component-
|
|
6
|
+
import { t as s } from "./seat-reservation-area.component-B8HJ-Or8.js";
|
|
7
|
+
import { t as c } from "./seat-reservation-graphic.component-Ddpuv-Aw.js";
|
|
8
|
+
import { n as l, t as u } from "./seat-reservation-navigation-coach.component-DMKlwxPa.js";
|
|
9
|
+
import { t as d } from "./seat-reservation-navigation-services.component-2os7VI7i.js";
|
|
10
|
+
import { n as f, t as p } from "./seat-reservation-place-control.component-CvGYSTnc.js";
|
|
11
11
|
import { t as m } from "./seat-reservation-scoped.component-BohQUGVW.js";
|
|
12
12
|
import { SbbSeatReservationSelectedCoachEvent as h, SbbSeatReservationSelectedPlacesEvent as g, SeatReservationBaseElement as _ } from "./seat-reservation/seat-reservation/seat-reservation-base-element.js";
|
|
13
13
|
import { t as v } from "./seat-reservation.component-TLuTP9Nm.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../timetable-duration.component-
|
|
1
|
+
import { t as e } from "../timetable-duration.component-DHuPMaq5.js";
|
|
2
2
|
export { e as SbbTimetableDurationElement };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { SbbElement as e, SbbLanguageController as t, forceType as n, i18nDurationHour as r, i18nDurationMinute as i, screenReaderOnlyStyles as a } from "@sbb-esta/lyne-elements/core.js";
|
|
2
|
+
import { html as o, unsafeCSS as s } from "lit";
|
|
3
|
+
import { __esDecorate as c, __runInitializers as l } from "tslib";
|
|
4
|
+
import { property as u } from "lit/decorators.js";
|
|
5
|
+
//#region src/elements-experimental/timetable-duration/timetable-duration.scss?inline
|
|
6
|
+
var d = ":host{display:inline-block}.duration{--sbb-text-font-size: var(--sbb-text-font-size-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);margin:0;white-space:nowrap}", f = (() => {
|
|
7
|
+
let f = e, p, m = [], h = [];
|
|
8
|
+
return class extends f {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments), this.#e = l(this, m, ""), this._language = (l(this, h), new t(this));
|
|
11
|
+
}
|
|
12
|
+
static {
|
|
13
|
+
let e = typeof Symbol == "function" && Symbol.metadata ? Object.create(f[Symbol.metadata] ?? null) : void 0;
|
|
14
|
+
p = [n(), u()], c(this, null, p, {
|
|
15
|
+
kind: "accessor",
|
|
16
|
+
name: "config",
|
|
17
|
+
static: !1,
|
|
18
|
+
private: !1,
|
|
19
|
+
access: {
|
|
20
|
+
has: (e) => "config" in e,
|
|
21
|
+
get: (e) => e.config,
|
|
22
|
+
set: (e, t) => {
|
|
23
|
+
e.config = t;
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
metadata: e
|
|
27
|
+
}, m, h), e && Object.defineProperty(this, Symbol.metadata, {
|
|
28
|
+
enumerable: !0,
|
|
29
|
+
configurable: !0,
|
|
30
|
+
writable: !0,
|
|
31
|
+
value: e
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
static {
|
|
35
|
+
this.elementName = "sbb-timetable-duration";
|
|
36
|
+
}
|
|
37
|
+
static {
|
|
38
|
+
this.styles = [a, s(d)];
|
|
39
|
+
}
|
|
40
|
+
#e;
|
|
41
|
+
get config() {
|
|
42
|
+
return this.#e;
|
|
43
|
+
}
|
|
44
|
+
set config(e) {
|
|
45
|
+
this.#e = e;
|
|
46
|
+
}
|
|
47
|
+
render() {
|
|
48
|
+
let e = JSON.parse(this.config), t = r.multiple.short[this._language.current], n = i.multiple.short[this._language.current], a = "", s = "", c = r.multiple.long[this._language.current], l = i.multiple.long[this._language.current];
|
|
49
|
+
return e.hours === 1 && (c = r.single.long[this._language.current]), e.minutes === 1 && (l = i.single.long[this._language.current]), e.hours !== 0 && (a += `${e.hours} ${t}`, s += `${e.hours} ${c}`), a += ` ${e.minutes} ${n}`, s += ` ${e.minutes} ${l}.`, o`
|
|
50
|
+
<p aria-label=${s} class="duration" role="text">
|
|
51
|
+
<span aria-hidden="true" class="duration__text--visual" role="presentation">
|
|
52
|
+
${a}
|
|
53
|
+
</span>
|
|
54
|
+
<span class="sbb-screen-reader-only">${s}</span>
|
|
55
|
+
</p>
|
|
56
|
+
`;
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
})();
|
|
60
|
+
//#endregion
|
|
61
|
+
export { f as t };
|
package/timetable-duration.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./timetable-duration.component-
|
|
1
|
+
import { t as e } from "./timetable-duration.component-DHuPMaq5.js";
|
|
2
2
|
export { e as SbbTimetableDurationElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../timetable-row.component-
|
|
1
|
+
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../timetable-row.component-DMiay4xK.js";
|
|
2
2
|
export { s as SbbTimetableRowElement, r as filterNotices, a as getCus, n as getHimIcon, e as handleNotices, i as renderIconProduct, o as renderStringProduct, t as sortSituation };
|