@sbb-esta/lyne-elements-dev 4.7.0-dev.1773817408 → 4.7.0-dev.1773821763
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/core/styles/core.scss +9 -0
- package/core.css +20 -0
- package/custom-elements.json +200 -200
- package/development/menu/common/menu-action-common.js +1 -1
- package/development/menu/common.js +1 -1
- package/development/menu/menu/menu.component.js +1 -1
- package/development/menu/menu.js +1 -1
- package/development/menu-action-common-CE1gySL_.js +140 -0
- package/development/menu.component-D4nt6M9b.js +620 -0
- package/development/menu.js +2 -2
- package/development/menu.pure.js +2 -2
- package/menu/common/menu-action-common.js +1 -1
- package/menu/common.js +1 -1
- package/menu/menu/menu.component.js +1 -1
- package/menu/menu.js +1 -1
- package/menu-action-common-vt9j6nkG.js +29 -0
- package/{menu.component-_ncuRAqx.js → menu.component-elxRPsQz.js} +1 -1
- package/menu.js +2 -2
- package/menu.pure.js +2 -2
- package/off-brand-theme.css +20 -0
- package/package.json +2 -2
- package/safety-theme.css +20 -0
- package/standard-theme.css +20 -0
- package/development/menu-action-common-BTOi6wCg.js +0 -148
- package/development/menu.component-Dt6ilHX4.js +0 -638
- package/menu-action-common-BCV8hNkz.js +0 -29
package/core/styles/core.scss
CHANGED
|
@@ -147,6 +147,12 @@ $theme: 'standard' !default;
|
|
|
147
147
|
@use '../../map-container/map-container.global' as map-container with (
|
|
148
148
|
$theme: $theme
|
|
149
149
|
);
|
|
150
|
+
@use '../../menu/menu/menu.global' as menu with (
|
|
151
|
+
$theme: $theme
|
|
152
|
+
);
|
|
153
|
+
@use '../../menu/common/menu-action.global' as menu-action with (
|
|
154
|
+
$theme: $theme
|
|
155
|
+
);
|
|
150
156
|
@use '../../message/message.global' as message with (
|
|
151
157
|
$theme: $theme
|
|
152
158
|
);
|
|
@@ -245,6 +251,8 @@ $theme: 'standard' !default;
|
|
|
245
251
|
@include loading-indicator-circle.base;
|
|
246
252
|
@include logo.base;
|
|
247
253
|
@include map-container.base;
|
|
254
|
+
@include menu.base;
|
|
255
|
+
@include menu-action.base;
|
|
248
256
|
@include message.base;
|
|
249
257
|
@include mini-calendar-day.base;
|
|
250
258
|
@include mini-calendar-month.base;
|
|
@@ -347,6 +355,7 @@ $theme: 'standard' !default;
|
|
|
347
355
|
@include flip-card.base-breakpoint-large;
|
|
348
356
|
@include form-field.base-breakpoint-large;
|
|
349
357
|
@include header.base-breakpoint-large;
|
|
358
|
+
@include menu.base-breakpoint-large;
|
|
350
359
|
|
|
351
360
|
// TODO: Remove complete block when new lean theme is complete
|
|
352
361
|
// Only render the block in standard theme as fallback for CSS class usage
|
package/core.css
CHANGED
|
@@ -1509,6 +1509,23 @@ slot[name=error]::slotted(*) {
|
|
|
1509
1509
|
--sbb-map-container-sidebar-width: 25rem;
|
|
1510
1510
|
--sbb-map-container-sidebar-background-color: var(--sbb-background-color-1);
|
|
1511
1511
|
--sbb-map-container-border-radius: var(--sbb-border-radius-4x);
|
|
1512
|
+
--sbb-menu-animation-easing: ease;
|
|
1513
|
+
--sbb-menu-max-width: 100%;
|
|
1514
|
+
--sbb-menu-min-width: 100%;
|
|
1515
|
+
--sbb-menu-container-height: 100dvh;
|
|
1516
|
+
--sbb-menu-max-height: calc(85vh - var(--sbb-spacing-fixed-8x));
|
|
1517
|
+
--sbb-menu-min-height: 3.03125rem;
|
|
1518
|
+
--sbb-menu-border-radius: var(--sbb-border-radius-4x);
|
|
1519
|
+
--sbb-menu-color: var(--sbb-color-2-inverted);
|
|
1520
|
+
--sbb-menu-background-color: var(--sbb-background-color-1-inverted);
|
|
1521
|
+
--sbb-menu-action-border-radius: var(--sbb-border-radius-infinity);
|
|
1522
|
+
--sbb-menu-action-outer-horizontal-padding: var(--sbb-spacing-fixed-3x);
|
|
1523
|
+
--sbb-menu-action-outer-vertical-padding: var(--sbb-spacing-fixed-1x);
|
|
1524
|
+
--sbb-menu-action-gap: var(--sbb-spacing-fixed-2x);
|
|
1525
|
+
--sbb-menu-action-color: var(--sbb-color-2-inverted);
|
|
1526
|
+
--sbb-menu-action-content-padding-inline: var(--sbb-spacing-fixed-2x);
|
|
1527
|
+
--sbb-menu-action-content-padding-block: var(--sbb-spacing-fixed-1x);
|
|
1528
|
+
--sbb-menu-action-forced-color-border-color: CanvasText;
|
|
1512
1529
|
--sbb-message-action-margin-block: var(--sbb-spacing-responsive-xxxs) 0;
|
|
1513
1530
|
--sbb-message-image-margin-block: 0 var(--sbb-spacing-responsive-s);
|
|
1514
1531
|
--sbb-message-image-border-radius: var(--sbb-border-radius-4x);
|
|
@@ -1779,6 +1796,9 @@ slot[name=error]::slotted(*) {
|
|
|
1779
1796
|
--_sbb-form-field-floating-label-transform: 0.65625rem;
|
|
1780
1797
|
--_sbb-form-field-spacer-margin-block-end: calc(-1 * var(--_sbb-form-field-label-to-input-overlapping));
|
|
1781
1798
|
--sbb-header-height: var(--sbb-spacing-fixed-24x);
|
|
1799
|
+
--sbb-menu-max-width: 20rem;
|
|
1800
|
+
--sbb-menu-min-width: 11.25rem;
|
|
1801
|
+
--sbb-menu-transform-y: var(--sbb-spacing-fixed-2x);
|
|
1782
1802
|
}
|
|
1783
1803
|
:root.sbb-lean {
|
|
1784
1804
|
--sbb-title-font-size-level-6-lean: var(--sbb-typo-scale-0-875x);
|
package/custom-elements.json
CHANGED
|
@@ -131758,22 +131758,15 @@
|
|
|
131758
131758
|
},
|
|
131759
131759
|
{
|
|
131760
131760
|
"kind": "javascript-module",
|
|
131761
|
-
"path": "train/train-
|
|
131761
|
+
"path": "train/train-wagon/train-wagon.component.js",
|
|
131762
131762
|
"declarations": [
|
|
131763
131763
|
{
|
|
131764
131764
|
"kind": "class",
|
|
131765
|
-
"description": "It displays a train
|
|
131766
|
-
"name": "
|
|
131767
|
-
"cssProperties": [
|
|
131768
|
-
{
|
|
131769
|
-
"description": "Defines the inline padding inside the horizontal scrolling area.",
|
|
131770
|
-
"name": "--sbb-train-formation-padding-inline",
|
|
131771
|
-
"default": "0px"
|
|
131772
|
-
}
|
|
131773
|
-
],
|
|
131765
|
+
"description": "It displays a train compartment within a `sbb-train` component.",
|
|
131766
|
+
"name": "SbbTrainWagonElement",
|
|
131774
131767
|
"slots": [
|
|
131775
131768
|
{
|
|
131776
|
-
"description": "Use the unnamed slot to add
|
|
131769
|
+
"description": "Use the unnamed slot to add one or more `sbb-icon` for meta-information of the `sbb-train-wagon`.",
|
|
131777
131770
|
"name": ""
|
|
131778
131771
|
}
|
|
131779
131772
|
],
|
|
@@ -131787,12 +131780,35 @@
|
|
|
131787
131780
|
"privacy": "public",
|
|
131788
131781
|
"static": true,
|
|
131789
131782
|
"readonly": true,
|
|
131790
|
-
"default": "'sbb-train-
|
|
131783
|
+
"default": "'sbb-train-wagon'",
|
|
131791
131784
|
"inheritedFrom": {
|
|
131792
131785
|
"name": "SbbElement",
|
|
131793
131786
|
"module": "core/base-elements/element.js"
|
|
131794
131787
|
}
|
|
131795
131788
|
},
|
|
131789
|
+
{
|
|
131790
|
+
"kind": "field",
|
|
131791
|
+
"name": "events",
|
|
131792
|
+
"privacy": "public",
|
|
131793
|
+
"static": true,
|
|
131794
|
+
"readonly": true,
|
|
131795
|
+
"default": "{ sectorchange: 'sectorchange', }",
|
|
131796
|
+
"type": {
|
|
131797
|
+
"text": "{\n sectorchange: 'sectorchange',\n }"
|
|
131798
|
+
}
|
|
131799
|
+
},
|
|
131800
|
+
{
|
|
131801
|
+
"kind": "field",
|
|
131802
|
+
"name": "type",
|
|
131803
|
+
"type": {
|
|
131804
|
+
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
131805
|
+
},
|
|
131806
|
+
"privacy": "public",
|
|
131807
|
+
"default": "'wagon'",
|
|
131808
|
+
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
131809
|
+
"attribute": "type",
|
|
131810
|
+
"reflects": true
|
|
131811
|
+
},
|
|
131796
131812
|
{
|
|
131797
131813
|
"kind": "field",
|
|
131798
131814
|
"name": "listChildLocalNames",
|
|
@@ -131802,7 +131818,7 @@
|
|
|
131802
131818
|
"privacy": "protected",
|
|
131803
131819
|
"readonly": true,
|
|
131804
131820
|
"description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
|
|
131805
|
-
"default": "['sbb-
|
|
131821
|
+
"default": "['sbb-icon']",
|
|
131806
131822
|
"inheritedFrom": {
|
|
131807
131823
|
"name": "SbbNamedSlotListMixin",
|
|
131808
131824
|
"module": "core/mixins/named-slot-list-mixin.js"
|
|
@@ -131810,24 +131826,71 @@
|
|
|
131810
131826
|
},
|
|
131811
131827
|
{
|
|
131812
131828
|
"kind": "field",
|
|
131813
|
-
"name": "
|
|
131829
|
+
"name": "occupancy",
|
|
131814
131830
|
"type": {
|
|
131815
|
-
"text": "
|
|
131831
|
+
"text": "SbbOccupancy | null"
|
|
131816
131832
|
},
|
|
131817
131833
|
"privacy": "public",
|
|
131818
|
-
"default": "
|
|
131819
|
-
"description": "
|
|
131820
|
-
"attribute": "
|
|
131834
|
+
"default": "null",
|
|
131835
|
+
"description": "Occupancy of a wagon.",
|
|
131836
|
+
"attribute": "occupancy"
|
|
131837
|
+
},
|
|
131838
|
+
{
|
|
131839
|
+
"kind": "field",
|
|
131840
|
+
"name": "sector",
|
|
131841
|
+
"type": {
|
|
131842
|
+
"text": "string"
|
|
131843
|
+
},
|
|
131844
|
+
"privacy": "public",
|
|
131845
|
+
"default": "''",
|
|
131846
|
+
"description": "Sector in which the wagon stops.",
|
|
131847
|
+
"attribute": "sector",
|
|
131821
131848
|
"reflects": true
|
|
131822
131849
|
},
|
|
131823
131850
|
{
|
|
131824
131851
|
"kind": "field",
|
|
131825
|
-
"name": "
|
|
131852
|
+
"name": "blockedPassage",
|
|
131826
131853
|
"type": {
|
|
131827
|
-
"text": "
|
|
131854
|
+
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
131828
131855
|
},
|
|
131829
|
-
"privacy": "
|
|
131830
|
-
"default": "
|
|
131856
|
+
"privacy": "public",
|
|
131857
|
+
"default": "'none'",
|
|
131858
|
+
"description": "Accessibility text for blocked passages of the wagon.",
|
|
131859
|
+
"attribute": "blocked-passage"
|
|
131860
|
+
},
|
|
131861
|
+
{
|
|
131862
|
+
"kind": "field",
|
|
131863
|
+
"name": "wagonClass",
|
|
131864
|
+
"type": {
|
|
131865
|
+
"text": "'1' | '2' | null"
|
|
131866
|
+
},
|
|
131867
|
+
"privacy": "public",
|
|
131868
|
+
"default": "null",
|
|
131869
|
+
"description": "Class label",
|
|
131870
|
+
"attribute": "wagon-class"
|
|
131871
|
+
},
|
|
131872
|
+
{
|
|
131873
|
+
"kind": "field",
|
|
131874
|
+
"name": "label",
|
|
131875
|
+
"type": {
|
|
131876
|
+
"text": "string"
|
|
131877
|
+
},
|
|
131878
|
+
"privacy": "public",
|
|
131879
|
+
"default": "''",
|
|
131880
|
+
"description": "Wagon number",
|
|
131881
|
+
"attribute": "label",
|
|
131882
|
+
"reflects": true
|
|
131883
|
+
},
|
|
131884
|
+
{
|
|
131885
|
+
"kind": "field",
|
|
131886
|
+
"name": "additionalAccessibilityText",
|
|
131887
|
+
"type": {
|
|
131888
|
+
"text": "string"
|
|
131889
|
+
},
|
|
131890
|
+
"privacy": "public",
|
|
131891
|
+
"default": "''",
|
|
131892
|
+
"description": "Additional accessibility text which will be appended to the end.",
|
|
131893
|
+
"attribute": "additional-accessibility-text"
|
|
131831
131894
|
},
|
|
131832
131895
|
{
|
|
131833
131896
|
"kind": "field",
|
|
@@ -131837,22 +131900,23 @@
|
|
|
131837
131900
|
},
|
|
131838
131901
|
{
|
|
131839
131902
|
"kind": "method",
|
|
131840
|
-
"name": "
|
|
131903
|
+
"name": "_sectorChanged",
|
|
131841
131904
|
"privacy": "private",
|
|
131842
131905
|
"return": {
|
|
131843
131906
|
"type": {
|
|
131844
131907
|
"text": "void"
|
|
131845
131908
|
}
|
|
131846
|
-
}
|
|
131847
|
-
|
|
131848
|
-
|
|
131849
|
-
|
|
131850
|
-
|
|
131851
|
-
|
|
131852
|
-
|
|
131853
|
-
|
|
131909
|
+
}
|
|
131910
|
+
},
|
|
131911
|
+
{
|
|
131912
|
+
"kind": "method",
|
|
131913
|
+
"name": "_typeLabel",
|
|
131914
|
+
"privacy": "private",
|
|
131915
|
+
"return": {
|
|
131916
|
+
"type": {
|
|
131917
|
+
"text": "string"
|
|
131854
131918
|
}
|
|
131855
|
-
|
|
131919
|
+
}
|
|
131856
131920
|
},
|
|
131857
131921
|
{
|
|
131858
131922
|
"kind": "field",
|
|
@@ -132054,13 +132118,67 @@
|
|
|
132054
132118
|
],
|
|
132055
132119
|
"attributes": [
|
|
132056
132120
|
{
|
|
132057
|
-
"name": "
|
|
132121
|
+
"name": "type",
|
|
132058
132122
|
"type": {
|
|
132059
|
-
"text": "'
|
|
132123
|
+
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
132060
132124
|
},
|
|
132061
|
-
"default": "'
|
|
132062
|
-
"description": "
|
|
132063
|
-
"fieldName": "
|
|
132125
|
+
"default": "'wagon'",
|
|
132126
|
+
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
132127
|
+
"fieldName": "type"
|
|
132128
|
+
},
|
|
132129
|
+
{
|
|
132130
|
+
"name": "occupancy",
|
|
132131
|
+
"type": {
|
|
132132
|
+
"text": "SbbOccupancy | null"
|
|
132133
|
+
},
|
|
132134
|
+
"default": "null",
|
|
132135
|
+
"description": "Occupancy of a wagon.",
|
|
132136
|
+
"fieldName": "occupancy"
|
|
132137
|
+
},
|
|
132138
|
+
{
|
|
132139
|
+
"name": "sector",
|
|
132140
|
+
"type": {
|
|
132141
|
+
"text": "string"
|
|
132142
|
+
},
|
|
132143
|
+
"default": "''",
|
|
132144
|
+
"description": "Sector in which the wagon stops.",
|
|
132145
|
+
"fieldName": "sector"
|
|
132146
|
+
},
|
|
132147
|
+
{
|
|
132148
|
+
"name": "blocked-passage",
|
|
132149
|
+
"type": {
|
|
132150
|
+
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
132151
|
+
},
|
|
132152
|
+
"default": "'none'",
|
|
132153
|
+
"description": "Accessibility text for blocked passages of the wagon.",
|
|
132154
|
+
"fieldName": "blockedPassage"
|
|
132155
|
+
},
|
|
132156
|
+
{
|
|
132157
|
+
"name": "wagon-class",
|
|
132158
|
+
"type": {
|
|
132159
|
+
"text": "'1' | '2' | null"
|
|
132160
|
+
},
|
|
132161
|
+
"default": "null",
|
|
132162
|
+
"description": "Class label",
|
|
132163
|
+
"fieldName": "wagonClass"
|
|
132164
|
+
},
|
|
132165
|
+
{
|
|
132166
|
+
"name": "label",
|
|
132167
|
+
"type": {
|
|
132168
|
+
"text": "string"
|
|
132169
|
+
},
|
|
132170
|
+
"default": "''",
|
|
132171
|
+
"description": "Wagon number",
|
|
132172
|
+
"fieldName": "label"
|
|
132173
|
+
},
|
|
132174
|
+
{
|
|
132175
|
+
"name": "additional-accessibility-text",
|
|
132176
|
+
"type": {
|
|
132177
|
+
"text": "string"
|
|
132178
|
+
},
|
|
132179
|
+
"default": "''",
|
|
132180
|
+
"description": "Additional accessibility text which will be appended to the end.",
|
|
132181
|
+
"fieldName": "additionalAccessibilityText"
|
|
132064
132182
|
}
|
|
132065
132183
|
],
|
|
132066
132184
|
"mixins": [
|
|
@@ -132073,32 +132191,39 @@
|
|
|
132073
132191
|
"name": "SbbElement",
|
|
132074
132192
|
"module": "core/base-elements.js"
|
|
132075
132193
|
},
|
|
132076
|
-
"tagName": "sbb-train-
|
|
132194
|
+
"tagName": "sbb-train-wagon",
|
|
132077
132195
|
"customElement": true
|
|
132078
132196
|
}
|
|
132079
132197
|
],
|
|
132080
132198
|
"exports": [
|
|
132081
132199
|
{
|
|
132082
132200
|
"kind": "js",
|
|
132083
|
-
"name": "
|
|
132201
|
+
"name": "SbbTrainWagonElement",
|
|
132084
132202
|
"declaration": {
|
|
132085
|
-
"name": "
|
|
132086
|
-
"module": "train/train-
|
|
132203
|
+
"name": "SbbTrainWagonElement",
|
|
132204
|
+
"module": "train/train-wagon/train-wagon.component.js"
|
|
132087
132205
|
}
|
|
132088
132206
|
}
|
|
132089
132207
|
]
|
|
132090
132208
|
},
|
|
132091
132209
|
{
|
|
132092
132210
|
"kind": "javascript-module",
|
|
132093
|
-
"path": "train/train-
|
|
132211
|
+
"path": "train/train-formation/train-formation.component.js",
|
|
132094
132212
|
"declarations": [
|
|
132095
132213
|
{
|
|
132096
132214
|
"kind": "class",
|
|
132097
|
-
"description": "It displays a train
|
|
132098
|
-
"name": "
|
|
132215
|
+
"description": "It displays a train composition, acting as a container for one or more `sbb-train` component.",
|
|
132216
|
+
"name": "SbbTrainFormationElement",
|
|
132217
|
+
"cssProperties": [
|
|
132218
|
+
{
|
|
132219
|
+
"description": "Defines the inline padding inside the horizontal scrolling area.",
|
|
132220
|
+
"name": "--sbb-train-formation-padding-inline",
|
|
132221
|
+
"default": "0px"
|
|
132222
|
+
}
|
|
132223
|
+
],
|
|
132099
132224
|
"slots": [
|
|
132100
132225
|
{
|
|
132101
|
-
"description": "Use the unnamed slot to add
|
|
132226
|
+
"description": "Use the unnamed slot to add 'sbb-train' elements to the `sbb-train-formation`.",
|
|
132102
132227
|
"name": ""
|
|
132103
132228
|
}
|
|
132104
132229
|
],
|
|
@@ -132112,35 +132237,12 @@
|
|
|
132112
132237
|
"privacy": "public",
|
|
132113
132238
|
"static": true,
|
|
132114
132239
|
"readonly": true,
|
|
132115
|
-
"default": "'sbb-train-
|
|
132240
|
+
"default": "'sbb-train-formation'",
|
|
132116
132241
|
"inheritedFrom": {
|
|
132117
132242
|
"name": "SbbElement",
|
|
132118
132243
|
"module": "core/base-elements/element.js"
|
|
132119
132244
|
}
|
|
132120
132245
|
},
|
|
132121
|
-
{
|
|
132122
|
-
"kind": "field",
|
|
132123
|
-
"name": "events",
|
|
132124
|
-
"privacy": "public",
|
|
132125
|
-
"static": true,
|
|
132126
|
-
"readonly": true,
|
|
132127
|
-
"default": "{ sectorchange: 'sectorchange', }",
|
|
132128
|
-
"type": {
|
|
132129
|
-
"text": "{\n sectorchange: 'sectorchange',\n }"
|
|
132130
|
-
}
|
|
132131
|
-
},
|
|
132132
|
-
{
|
|
132133
|
-
"kind": "field",
|
|
132134
|
-
"name": "type",
|
|
132135
|
-
"type": {
|
|
132136
|
-
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
132137
|
-
},
|
|
132138
|
-
"privacy": "public",
|
|
132139
|
-
"default": "'wagon'",
|
|
132140
|
-
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
132141
|
-
"attribute": "type",
|
|
132142
|
-
"reflects": true
|
|
132143
|
-
},
|
|
132144
132246
|
{
|
|
132145
132247
|
"kind": "field",
|
|
132146
132248
|
"name": "listChildLocalNames",
|
|
@@ -132150,7 +132252,7 @@
|
|
|
132150
132252
|
"privacy": "protected",
|
|
132151
132253
|
"readonly": true,
|
|
132152
132254
|
"description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
|
|
132153
|
-
"default": "['sbb-
|
|
132255
|
+
"default": "['sbb-train']",
|
|
132154
132256
|
"inheritedFrom": {
|
|
132155
132257
|
"name": "SbbNamedSlotListMixin",
|
|
132156
132258
|
"module": "core/mixins/named-slot-list-mixin.js"
|
|
@@ -132158,71 +132260,24 @@
|
|
|
132158
132260
|
},
|
|
132159
132261
|
{
|
|
132160
132262
|
"kind": "field",
|
|
132161
|
-
"name": "
|
|
132162
|
-
"type": {
|
|
132163
|
-
"text": "SbbOccupancy | null"
|
|
132164
|
-
},
|
|
132165
|
-
"privacy": "public",
|
|
132166
|
-
"default": "null",
|
|
132167
|
-
"description": "Occupancy of a wagon.",
|
|
132168
|
-
"attribute": "occupancy"
|
|
132169
|
-
},
|
|
132170
|
-
{
|
|
132171
|
-
"kind": "field",
|
|
132172
|
-
"name": "sector",
|
|
132173
|
-
"type": {
|
|
132174
|
-
"text": "string"
|
|
132175
|
-
},
|
|
132176
|
-
"privacy": "public",
|
|
132177
|
-
"default": "''",
|
|
132178
|
-
"description": "Sector in which the wagon stops.",
|
|
132179
|
-
"attribute": "sector",
|
|
132180
|
-
"reflects": true
|
|
132181
|
-
},
|
|
132182
|
-
{
|
|
132183
|
-
"kind": "field",
|
|
132184
|
-
"name": "blockedPassage",
|
|
132185
|
-
"type": {
|
|
132186
|
-
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
132187
|
-
},
|
|
132188
|
-
"privacy": "public",
|
|
132189
|
-
"default": "'none'",
|
|
132190
|
-
"description": "Accessibility text for blocked passages of the wagon.",
|
|
132191
|
-
"attribute": "blocked-passage"
|
|
132192
|
-
},
|
|
132193
|
-
{
|
|
132194
|
-
"kind": "field",
|
|
132195
|
-
"name": "wagonClass",
|
|
132196
|
-
"type": {
|
|
132197
|
-
"text": "'1' | '2' | null"
|
|
132198
|
-
},
|
|
132199
|
-
"privacy": "public",
|
|
132200
|
-
"default": "null",
|
|
132201
|
-
"description": "Class label",
|
|
132202
|
-
"attribute": "wagon-class"
|
|
132203
|
-
},
|
|
132204
|
-
{
|
|
132205
|
-
"kind": "field",
|
|
132206
|
-
"name": "label",
|
|
132263
|
+
"name": "view",
|
|
132207
132264
|
"type": {
|
|
132208
|
-
"text": "
|
|
132265
|
+
"text": "'side' | 'top'"
|
|
132209
132266
|
},
|
|
132210
132267
|
"privacy": "public",
|
|
132211
|
-
"default": "''",
|
|
132212
|
-
"description": "
|
|
132213
|
-
"attribute": "
|
|
132268
|
+
"default": "'side'",
|
|
132269
|
+
"description": "Whether the view of the wagons is from side or top perspective.",
|
|
132270
|
+
"attribute": "view",
|
|
132214
132271
|
"reflects": true
|
|
132215
132272
|
},
|
|
132216
132273
|
{
|
|
132217
132274
|
"kind": "field",
|
|
132218
|
-
"name": "
|
|
132275
|
+
"name": "_sectors",
|
|
132219
132276
|
"type": {
|
|
132220
|
-
"text": "
|
|
132277
|
+
"text": "AggregatedSector[]"
|
|
132221
132278
|
},
|
|
132222
|
-
"privacy": "
|
|
132223
|
-
"default": "
|
|
132224
|
-
"description": "Additional accessibility text which will be appended to the end.",
|
|
132225
|
-
"attribute": "additional-accessibility-text"
|
|
132279
|
+
"privacy": "private",
|
|
132280
|
+
"default": "[]"
|
|
132226
132281
|
},
|
|
132227
132282
|
{
|
|
132228
132283
|
"kind": "field",
|
|
@@ -132232,23 +132287,22 @@
|
|
|
132232
132287
|
},
|
|
132233
132288
|
{
|
|
132234
132289
|
"kind": "method",
|
|
132235
|
-
"name": "
|
|
132290
|
+
"name": "_readSectors",
|
|
132236
132291
|
"privacy": "private",
|
|
132237
132292
|
"return": {
|
|
132238
132293
|
"type": {
|
|
132239
132294
|
"text": "void"
|
|
132240
132295
|
}
|
|
132241
|
-
}
|
|
132242
|
-
|
|
132243
|
-
|
|
132244
|
-
|
|
132245
|
-
|
|
132246
|
-
|
|
132247
|
-
|
|
132248
|
-
|
|
132249
|
-
"text": "string"
|
|
132296
|
+
},
|
|
132297
|
+
"parameters": [
|
|
132298
|
+
{
|
|
132299
|
+
"name": "event",
|
|
132300
|
+
"optional": true,
|
|
132301
|
+
"type": {
|
|
132302
|
+
"text": "Event"
|
|
132303
|
+
}
|
|
132250
132304
|
}
|
|
132251
|
-
|
|
132305
|
+
]
|
|
132252
132306
|
},
|
|
132253
132307
|
{
|
|
132254
132308
|
"kind": "field",
|
|
@@ -132450,67 +132504,13 @@
|
|
|
132450
132504
|
],
|
|
132451
132505
|
"attributes": [
|
|
132452
132506
|
{
|
|
132453
|
-
"name": "
|
|
132454
|
-
"type": {
|
|
132455
|
-
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
132456
|
-
},
|
|
132457
|
-
"default": "'wagon'",
|
|
132458
|
-
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
132459
|
-
"fieldName": "type"
|
|
132460
|
-
},
|
|
132461
|
-
{
|
|
132462
|
-
"name": "occupancy",
|
|
132463
|
-
"type": {
|
|
132464
|
-
"text": "SbbOccupancy | null"
|
|
132465
|
-
},
|
|
132466
|
-
"default": "null",
|
|
132467
|
-
"description": "Occupancy of a wagon.",
|
|
132468
|
-
"fieldName": "occupancy"
|
|
132469
|
-
},
|
|
132470
|
-
{
|
|
132471
|
-
"name": "sector",
|
|
132472
|
-
"type": {
|
|
132473
|
-
"text": "string"
|
|
132474
|
-
},
|
|
132475
|
-
"default": "''",
|
|
132476
|
-
"description": "Sector in which the wagon stops.",
|
|
132477
|
-
"fieldName": "sector"
|
|
132478
|
-
},
|
|
132479
|
-
{
|
|
132480
|
-
"name": "blocked-passage",
|
|
132481
|
-
"type": {
|
|
132482
|
-
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
132483
|
-
},
|
|
132484
|
-
"default": "'none'",
|
|
132485
|
-
"description": "Accessibility text for blocked passages of the wagon.",
|
|
132486
|
-
"fieldName": "blockedPassage"
|
|
132487
|
-
},
|
|
132488
|
-
{
|
|
132489
|
-
"name": "wagon-class",
|
|
132490
|
-
"type": {
|
|
132491
|
-
"text": "'1' | '2' | null"
|
|
132492
|
-
},
|
|
132493
|
-
"default": "null",
|
|
132494
|
-
"description": "Class label",
|
|
132495
|
-
"fieldName": "wagonClass"
|
|
132496
|
-
},
|
|
132497
|
-
{
|
|
132498
|
-
"name": "label",
|
|
132499
|
-
"type": {
|
|
132500
|
-
"text": "string"
|
|
132501
|
-
},
|
|
132502
|
-
"default": "''",
|
|
132503
|
-
"description": "Wagon number",
|
|
132504
|
-
"fieldName": "label"
|
|
132505
|
-
},
|
|
132506
|
-
{
|
|
132507
|
-
"name": "additional-accessibility-text",
|
|
132507
|
+
"name": "view",
|
|
132508
132508
|
"type": {
|
|
132509
|
-
"text": "
|
|
132509
|
+
"text": "'side' | 'top'"
|
|
132510
132510
|
},
|
|
132511
|
-
"default": "''",
|
|
132512
|
-
"description": "
|
|
132513
|
-
"fieldName": "
|
|
132511
|
+
"default": "'side'",
|
|
132512
|
+
"description": "Whether the view of the wagons is from side or top perspective.",
|
|
132513
|
+
"fieldName": "view"
|
|
132514
132514
|
}
|
|
132515
132515
|
],
|
|
132516
132516
|
"mixins": [
|
|
@@ -132523,17 +132523,17 @@
|
|
|
132523
132523
|
"name": "SbbElement",
|
|
132524
132524
|
"module": "core/base-elements.js"
|
|
132525
132525
|
},
|
|
132526
|
-
"tagName": "sbb-train-
|
|
132526
|
+
"tagName": "sbb-train-formation",
|
|
132527
132527
|
"customElement": true
|
|
132528
132528
|
}
|
|
132529
132529
|
],
|
|
132530
132530
|
"exports": [
|
|
132531
132531
|
{
|
|
132532
132532
|
"kind": "js",
|
|
132533
|
-
"name": "
|
|
132533
|
+
"name": "SbbTrainFormationElement",
|
|
132534
132534
|
"declaration": {
|
|
132535
|
-
"name": "
|
|
132536
|
-
"module": "train/train-
|
|
132535
|
+
"name": "SbbTrainFormationElement",
|
|
132536
|
+
"module": "train/train-formation/train-formation.component.js"
|
|
132537
132537
|
}
|
|
132538
132538
|
}
|
|
132539
132539
|
]
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SbbMenuActionCommonElementMixin } from "../../menu-action-common-
|
|
1
|
+
import { t as SbbMenuActionCommonElementMixin } from "../../menu-action-common-CE1gySL_.js";
|
|
2
2
|
export { SbbMenuActionCommonElementMixin };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as SbbMenuActionCommonElementMixin } from "../menu-action-common-
|
|
1
|
+
import { t as SbbMenuActionCommonElementMixin } from "../menu-action-common-CE1gySL_.js";
|
|
2
2
|
//#region src/elements/menu/common.ts
|
|
3
3
|
console.warn(`The entrypoint '@sbb-esta/elements/menu/common.js' has been deprecated.
|
|
4
4
|
Use either '@sbb-esta/elements/menu.js' or '@sbb-esta/elements/menu.pure.js' instead.`);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SbbMenuElement } from "../../menu.component-
|
|
1
|
+
import { t as SbbMenuElement } from "../../menu.component-D4nt6M9b.js";
|
|
2
2
|
export { SbbMenuElement };
|
package/development/menu/menu.js
CHANGED