@sbb-esta/lyne-elements-dev 5.0.0-next.1-dev.1777534699 → 5.0.0-next.1-dev.1777541398

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 (37) hide show
  1. package/container/sticky-bar/sticky-bar.component.js +1 -1
  2. package/container.js +1 -1
  3. package/container.pure.js +1 -1
  4. package/core/mixins/form-associated-input-mixin.js +1 -1
  5. package/custom-elements.json +568 -568
  6. package/development/container/sticky-bar/sticky-bar.component.js +1 -1
  7. package/development/container.js +1 -1
  8. package/development/container.pure.js +1 -1
  9. package/development/core/mixins/form-associated-input-mixin.js +2 -2
  10. package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
  11. package/development/{expansion-panel-header.component-QbxqMGKG.js → expansion-panel-header.component-DFTa_og5.js} +2 -2
  12. package/development/expansion-panel.js +1 -1
  13. package/development/expansion-panel.pure.js +1 -1
  14. package/development/option/option/option.component.js +1 -1
  15. package/development/{option.component-BbrXKO7i.js → option.component-BPHnz8y-.js} +2 -2
  16. package/development/option.js +1 -1
  17. package/development/option.pure.js +1 -1
  18. package/development/{sticky-bar.component-MMBSPa2B.js → sticky-bar.component-CVKi_65S.js} +3 -3
  19. package/development/{tab-group.component-CxuecHpZ.js → tab-group.component-B56RhxCr.js} +2 -2
  20. package/development/tabs/tab-group/tab-group.component.d.ts.map +1 -1
  21. package/development/tabs/tab-group/tab-group.component.js +1 -1
  22. package/development/tabs.js +1 -1
  23. package/development/tabs.pure.js +1 -1
  24. package/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
  25. package/{expansion-panel-header.component-BEpspobZ.js → expansion-panel-header.component-BecyqC-C.js} +1 -1
  26. package/expansion-panel.js +1 -1
  27. package/expansion-panel.pure.js +1 -1
  28. package/option/option/option.component.js +1 -1
  29. package/{option.component-aSuNGDJg.js → option.component-QwHFIP3m.js} +1 -1
  30. package/option.js +1 -1
  31. package/option.pure.js +1 -1
  32. package/package.json +2 -2
  33. package/{sticky-bar.component-B_cdkr-V.js → sticky-bar.component-C3ey8Qj8.js} +2 -2
  34. package/{tab-group.component-CYbbE0J6.js → tab-group.component-C02ZTjXT.js} +1 -1
  35. package/tabs/tab-group/tab-group.component.js +1 -1
  36. package/tabs.js +1 -1
  37. package/tabs.pure.js +1 -1
@@ -165555,12 +165555,25 @@
165555
165555
  },
165556
165556
  {
165557
165557
  "kind": "javascript-module",
165558
- "path": "train/train-blocked-passage/train-blocked-passage.component.js",
165558
+ "path": "train/train-formation/train-formation.component.js",
165559
165559
  "declarations": [
165560
165560
  {
165561
165561
  "kind": "class",
165562
- "description": "It visually displays a blocked passage between train wagons.",
165563
- "name": "SbbTrainBlockedPassageElement",
165562
+ "description": "It displays a train composition, acting as a container for one or more `sbb-train` component.",
165563
+ "name": "SbbTrainFormationElement",
165564
+ "cssProperties": [
165565
+ {
165566
+ "description": "Defines the inline or block padding inside the horizontal or vertical scrolling area.",
165567
+ "name": "--sbb-train-formation-scroll-padding",
165568
+ "default": "var(--sbb-spacing-fixed-1x)"
165569
+ }
165570
+ ],
165571
+ "slots": [
165572
+ {
165573
+ "description": "Use the unnamed slot to add 'sbb-train' elements to the `sbb-train-formation`.",
165574
+ "name": ""
165575
+ }
165576
+ ],
165564
165577
  "members": [
165565
165578
  {
165566
165579
  "kind": "field",
@@ -165571,7 +165584,7 @@
165571
165584
  "privacy": "public",
165572
165585
  "static": true,
165573
165586
  "readonly": true,
165574
- "default": "'sbb-train-blocked-passage'",
165587
+ "default": "'sbb-train-formation'",
165575
165588
  "inheritedFrom": {
165576
165589
  "name": "SbbElement",
165577
165590
  "module": "core/base-elements/element.js"
@@ -165579,26 +165592,105 @@
165579
165592
  },
165580
165593
  {
165581
165594
  "kind": "field",
165582
- "name": "orientation",
165595
+ "name": "listChildLocalNames",
165583
165596
  "type": {
165584
- "text": "SbbOrientation | null"
165597
+ "text": "array"
165585
165598
  },
165586
165599
  "privacy": "protected",
165587
- "default": "null",
165600
+ "readonly": true,
165601
+ "description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
165602
+ "default": "['sbb-train']",
165588
165603
  "inheritedFrom": {
165589
- "name": "SbbTrainFormationOrientationMixin",
165590
- "module": "train/train-formation-orientation-mixin.js"
165604
+ "name": "SbbNamedSlotListMixin",
165605
+ "module": "core/mixins/named-slot-list-mixin.js"
165591
165606
  }
165592
165607
  },
165593
165608
  {
165594
165609
  "kind": "field",
165595
- "name": "['_$sbbElement$']",
165610
+ "name": "view",
165596
165611
  "type": {
165597
- "text": "boolean"
165612
+ "text": "'side' | 'top'"
165613
+ },
165614
+ "privacy": "public",
165615
+ "default": "'side'",
165616
+ "description": "Whether the view of the wagons is from side or top perspective.",
165617
+ "attribute": "view",
165618
+ "reflects": true
165619
+ },
165620
+ {
165621
+ "kind": "field",
165622
+ "name": "orientation",
165623
+ "type": {
165624
+ "text": "SbbOrientation"
165625
+ },
165626
+ "privacy": "public",
165627
+ "default": "'horizontal'",
165628
+ "description": "Orientation, either horizontal or vertical.",
165629
+ "attribute": "orientation",
165630
+ "reflects": true
165631
+ },
165632
+ {
165633
+ "kind": "field",
165634
+ "name": "_sectors",
165635
+ "type": {
165636
+ "text": "AggregatedSector[]"
165637
+ },
165638
+ "privacy": "private",
165639
+ "default": "[]"
165640
+ },
165641
+ {
165642
+ "kind": "field",
165643
+ "name": "_language",
165644
+ "privacy": "private",
165645
+ "default": "new SbbLanguageController(this)"
165646
+ },
165647
+ {
165648
+ "kind": "method",
165649
+ "name": "_readDirectionLabel",
165650
+ "privacy": "private",
165651
+ "return": {
165652
+ "type": {
165653
+ "text": "void"
165654
+ }
165655
+ },
165656
+ "parameters": [
165657
+ {
165658
+ "name": "event",
165659
+ "optional": true,
165660
+ "type": {
165661
+ "text": "Event"
165662
+ }
165663
+ }
165664
+ ]
165665
+ },
165666
+ {
165667
+ "kind": "method",
165668
+ "name": "_readSectors",
165669
+ "privacy": "private",
165670
+ "return": {
165671
+ "type": {
165672
+ "text": "void"
165673
+ }
165674
+ },
165675
+ "parameters": [
165676
+ {
165677
+ "name": "event",
165678
+ "optional": true,
165679
+ "type": {
165680
+ "text": "Event"
165681
+ }
165682
+ }
165683
+ ]
165684
+ },
165685
+ {
165686
+ "kind": "field",
165687
+ "name": "elementDependencies",
165688
+ "type": {
165689
+ "text": "SbbElementType[]"
165598
165690
  },
165599
165691
  "privacy": "public",
165600
165692
  "static": true,
165601
- "default": "true",
165693
+ "default": "[]",
165602
165694
  "inheritedFrom": {
165603
165695
  "name": "SbbElement",
165604
165696
  "module": "core/base-elements/element.js"
@@ -165606,12 +165698,119 @@
165606
165698
  },
165607
165699
  {
165608
165700
  "kind": "field",
165609
- "name": "elementDependencies",
165701
+ "name": "styles",
165610
165702
  "type": {
165611
- "text": "SbbElementType[] | undefined"
165703
+ "text": "CSSResultGroup"
165704
+ },
165705
+ "privacy": "public",
165706
+ "static": true,
165707
+ "default": "[screenReaderOnlyStyles]",
165708
+ "inheritedFrom": {
165709
+ "name": "SbbNamedSlotListMixin",
165710
+ "module": "core/mixins/named-slot-list-mixin.js"
165711
+ }
165712
+ },
165713
+ {
165714
+ "kind": "field",
165715
+ "name": "listChildren",
165716
+ "type": {
165717
+ "text": "C[]"
165718
+ },
165719
+ "privacy": "protected",
165720
+ "default": "[]",
165721
+ "description": "A list of children with the defined tag names.\nThis array is only updated if there is an actual change\nto the child elements.",
165722
+ "inheritedFrom": {
165723
+ "name": "SbbNamedSlotListMixin",
165724
+ "module": "core/mixins/named-slot-list-mixin.js"
165725
+ }
165726
+ },
165727
+ {
165728
+ "kind": "field",
165729
+ "name": "_handleSlotchange",
165730
+ "privacy": "private",
165731
+ "inheritedFrom": {
165732
+ "name": "SbbNamedSlotListMixin",
165733
+ "module": "core/mixins/named-slot-list-mixin.js"
165734
+ }
165735
+ },
165736
+ {
165737
+ "kind": "method",
165738
+ "name": "renderList",
165739
+ "privacy": "protected",
165740
+ "return": {
165741
+ "type": {
165742
+ "text": "TemplateResult"
165743
+ }
165744
+ },
165745
+ "parameters": [
165746
+ {
165747
+ "name": "attributes",
165748
+ "default": "{}",
165749
+ "type": {
165750
+ "text": "{ class?: string; ariaLabel?: string; ariaLabelledby?: string }"
165751
+ }
165752
+ },
165753
+ {
165754
+ "name": "listItemAttributes",
165755
+ "default": "{}",
165756
+ "type": {
165757
+ "text": "{ localNameVisualOnly?: string[] }"
165758
+ }
165759
+ }
165760
+ ],
165761
+ "description": "Renders list and list slots for slotted children or a number of list slots\ncorresponding to the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
165762
+ "inheritedFrom": {
165763
+ "name": "SbbNamedSlotListMixin",
165764
+ "module": "core/mixins/named-slot-list-mixin.js"
165765
+ }
165766
+ },
165767
+ {
165768
+ "kind": "method",
165769
+ "name": "listSlotEntries",
165770
+ "privacy": "protected",
165771
+ "return": {
165772
+ "type": {
165773
+ "text": "SbbNamedSlotProperties[]"
165774
+ }
165775
+ },
165776
+ "parameters": [
165777
+ {
165778
+ "name": "listItemAttributes",
165779
+ "type": {
165780
+ "text": "{\n localNameVisualOnly?: string[];\n }"
165781
+ }
165782
+ }
165783
+ ],
165784
+ "description": "Returns an array of SbbNamedSlotProperties, which holds the list slot names and the hidden property;\nits length corresponds to the number of matched children or the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
165785
+ "inheritedFrom": {
165786
+ "name": "SbbNamedSlotListMixin",
165787
+ "module": "core/mixins/named-slot-list-mixin.js"
165788
+ }
165789
+ },
165790
+ {
165791
+ "kind": "method",
165792
+ "name": "renderHiddenSlot",
165793
+ "privacy": "protected",
165794
+ "return": {
165795
+ "type": {
165796
+ "text": "TemplateResult"
165797
+ }
165798
+ },
165799
+ "description": "Returns a hidden slot, which is intended as the children change detection.\nWhen an element without a slot attribute is slotted to the element, it triggers\nthe slotchange event, which can be used to assign it to the appropriate named slot.",
165800
+ "inheritedFrom": {
165801
+ "name": "SbbNamedSlotListMixin",
165802
+ "module": "core/mixins/named-slot-list-mixin.js"
165803
+ }
165804
+ },
165805
+ {
165806
+ "kind": "field",
165807
+ "name": "['_$sbbElement$']",
165808
+ "type": {
165809
+ "text": "boolean"
165612
165810
  },
165613
165811
  "privacy": "public",
165614
165812
  "static": true,
165813
+ "default": "true",
165615
165814
  "inheritedFrom": {
165616
165815
  "name": "SbbElement",
165617
165816
  "module": "core/base-elements/element.js"
@@ -165874,421 +166073,86 @@
165874
166073
  }
165875
166074
  }
165876
166075
  ],
166076
+ "attributes": [
166077
+ {
166078
+ "name": "view",
166079
+ "type": {
166080
+ "text": "'side' | 'top'"
166081
+ },
166082
+ "default": "'side'",
166083
+ "description": "Whether the view of the wagons is from side or top perspective.",
166084
+ "fieldName": "view"
166085
+ },
166086
+ {
166087
+ "name": "orientation",
166088
+ "type": {
166089
+ "text": "SbbOrientation"
166090
+ },
166091
+ "default": "'horizontal'",
166092
+ "description": "Orientation, either horizontal or vertical.",
166093
+ "fieldName": "orientation"
166094
+ }
166095
+ ],
165877
166096
  "mixins": [
165878
166097
  {
165879
- "name": "SbbTrainFormationOrientationMixin",
165880
- "module": "train/train-formation-orientation-mixin.js"
166098
+ "name": "SbbNamedSlotListMixin",
166099
+ "module": "core.js"
165881
166100
  }
165882
166101
  ],
165883
166102
  "superclass": {
165884
166103
  "name": "SbbElement",
165885
166104
  "module": "core.js"
165886
166105
  },
165887
- "tagName": "sbb-train-blocked-passage",
166106
+ "tagName": "sbb-train-formation",
165888
166107
  "customElement": true
165889
166108
  }
165890
166109
  ],
165891
166110
  "exports": [
165892
166111
  {
165893
166112
  "kind": "js",
165894
- "name": "SbbTrainBlockedPassageElement",
166113
+ "name": "SbbTrainFormationElement",
165895
166114
  "declaration": {
165896
- "name": "SbbTrainBlockedPassageElement",
165897
- "module": "train/train-blocked-passage/train-blocked-passage.component.js"
166115
+ "name": "SbbTrainFormationElement",
166116
+ "module": "train/train-formation/train-formation.component.js"
165898
166117
  }
165899
166118
  }
165900
166119
  ]
165901
166120
  },
165902
166121
  {
165903
166122
  "kind": "javascript-module",
165904
- "path": "train/train-wagon/train-wagon.component.js",
166123
+ "path": "train/train-blocked-passage/train-blocked-passage.component.js",
165905
166124
  "declarations": [
165906
166125
  {
165907
166126
  "kind": "class",
165908
- "description": "It displays a train compartment within a `sbb-train` component.",
165909
- "name": "SbbTrainWagonElement",
165910
- "slots": [
165911
- {
165912
- "description": "Use the unnamed slot to add one or more `sbb-icon` for meta-information of the wagon.",
165913
- "name": ""
165914
- }
165915
- ],
166127
+ "description": "It visually displays a blocked passage between train wagons.",
166128
+ "name": "SbbTrainBlockedPassageElement",
165916
166129
  "members": [
165917
166130
  {
165918
166131
  "kind": "field",
165919
166132
  "name": "elementName",
165920
166133
  "type": {
165921
- "text": "string"
165922
- },
165923
- "privacy": "public",
165924
- "static": true,
165925
- "readonly": true,
165926
- "default": "'sbb-train-wagon'",
165927
- "inheritedFrom": {
165928
- "name": "SbbElement",
165929
- "module": "core/base-elements/element.js"
165930
- }
165931
- },
165932
- {
165933
- "kind": "field",
165934
- "name": "elementDependencies",
165935
- "type": {
165936
- "text": "SbbElementType[]"
165937
- },
165938
- "privacy": "public",
165939
- "static": true,
165940
- "default": "[ SbbIconElement, SbbTimetableOccupancyIconElement, SbbDividerElement, ]",
165941
- "inheritedFrom": {
165942
- "name": "SbbElement",
165943
- "module": "core/base-elements/element.js"
165944
- }
165945
- },
165946
- {
165947
- "kind": "field",
165948
- "name": "styles",
165949
- "type": {
165950
- "text": "CSSResultGroup"
165951
- },
165952
- "privacy": "public",
165953
- "static": true,
165954
- "default": "[boxSizingStyles, unsafeCSS(style)]",
165955
- "inheritedFrom": {
165956
- "name": "SbbNamedSlotListMixin",
165957
- "module": "core/mixins/named-slot-list-mixin.js"
165958
- }
165959
- },
165960
- {
165961
- "kind": "field",
165962
- "name": "wagonType",
165963
- "type": {
165964
- "text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
165965
- },
165966
- "privacy": "public",
165967
- "default": "'wagon'",
165968
- "description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
165969
- "attribute": "wagon-type",
165970
- "reflects": true,
165971
- "inheritedFrom": {
165972
- "name": "SbbTrainWagonMixin",
165973
- "module": "train/train-wagon-common.js"
165974
- }
165975
- },
165976
- {
165977
- "kind": "field",
165978
- "name": "listChildLocalNames",
165979
- "type": {
165980
- "text": "array"
165981
- },
165982
- "privacy": "protected",
165983
- "readonly": true,
165984
- "description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
165985
- "default": "['sbb-icon']",
165986
- "inheritedFrom": {
165987
- "name": "SbbNamedSlotListMixin",
165988
- "module": "core/mixins/named-slot-list-mixin.js"
165989
- }
165990
- },
165991
- {
165992
- "kind": "field",
165993
- "name": "occupancy",
165994
- "type": {
165995
- "text": "SbbOccupancy | null"
165996
- },
165997
- "privacy": "public",
165998
- "default": "null",
165999
- "description": "Occupancy of a wagon.",
166000
- "attribute": "occupancy",
166001
- "inheritedFrom": {
166002
- "name": "SbbTrainWagonMixin",
166003
- "module": "train/train-wagon-common.js"
166004
- }
166005
- },
166006
- {
166007
- "kind": "field",
166008
- "name": "sector",
166009
- "type": {
166010
- "text": "string"
166011
- },
166012
- "privacy": "public",
166013
- "default": "''",
166014
- "description": "Sector in which the wagon stops.",
166015
- "attribute": "sector",
166016
- "reflects": true,
166017
- "inheritedFrom": {
166018
- "name": "SbbTrainWagonMixin",
166019
- "module": "train/train-wagon-common.js"
166020
- }
166021
- },
166022
- {
166023
- "kind": "field",
166024
- "name": "blockedPassage",
166025
- "type": {
166026
- "text": "'previous' | 'next' | 'both' | 'none'"
166027
- },
166028
- "privacy": "public",
166029
- "default": "'none'",
166030
- "description": "Accessibility text for blocked passages of the wagon.",
166031
- "attribute": "blocked-passage",
166032
- "inheritedFrom": {
166033
- "name": "SbbTrainWagonMixin",
166034
- "module": "train/train-wagon-common.js"
166035
- }
166036
- },
166037
- {
166038
- "kind": "field",
166039
- "name": "wagonClass",
166040
- "type": {
166041
- "text": "| '1'\n | '2'\n | '1-2'\n | '2-1'\n | null"
166042
- },
166043
- "privacy": "public",
166044
- "default": "null",
166045
- "description": "Class label",
166046
- "attribute": "wagon-class",
166047
- "inheritedFrom": {
166048
- "name": "SbbTrainWagonMixin",
166049
- "module": "train/train-wagon-common.js"
166050
- }
166051
- },
166052
- {
166053
- "kind": "field",
166054
- "name": "label",
166055
- "type": {
166056
- "text": "string"
166057
- },
166058
- "privacy": "public",
166059
- "default": "''",
166060
- "description": "Wagon number",
166061
- "attribute": "label",
166062
- "reflects": true,
166063
- "inheritedFrom": {
166064
- "name": "SbbTrainWagonMixin",
166065
- "module": "train/train-wagon-common.js"
166066
- }
166067
- },
166068
- {
166069
- "kind": "field",
166070
- "name": "additionalAccessibilityText",
166071
- "type": {
166072
- "text": "string"
166073
- },
166074
- "privacy": "public",
166075
- "default": "''",
166076
- "description": "Additional accessibility text which will be appended to the end.",
166077
- "attribute": "additional-accessibility-text",
166078
- "inheritedFrom": {
166079
- "name": "SbbTrainWagonMixin",
166080
- "module": "train/train-wagon-common.js"
166081
- }
166082
- },
166083
- {
166084
- "kind": "field",
166085
- "name": "_view",
166086
- "type": {
166087
- "text": "SbbTrainFormationElement['view'] | null"
166088
- },
166089
- "privacy": "private",
166090
- "default": "null",
166091
- "inheritedFrom": {
166092
- "name": "SbbTrainWagonMixin",
166093
- "module": "train/train-wagon-common.js"
166094
- }
166095
- },
166096
- {
166097
- "kind": "field",
166098
- "name": "_language",
166099
- "privacy": "private",
166100
- "default": "new SbbLanguageController(this)",
166101
- "inheritedFrom": {
166102
- "name": "SbbTrainWagonMixin",
166103
- "module": "train/train-wagon-common.js"
166104
- }
166105
- },
166106
- {
166107
- "kind": "field",
166108
- "name": "_clipStyleSheet",
166109
- "type": {
166110
- "text": "CSSStyleSheet | null"
166111
- },
166112
- "privacy": "private",
166113
- "default": "null",
166114
- "inheritedFrom": {
166115
- "name": "SbbTrainWagonMixin",
166116
- "module": "train/train-wagon-common.js"
166117
- }
166118
- },
166119
- {
166120
- "kind": "method",
166121
- "name": "_sectorChanged",
166122
- "privacy": "private",
166123
- "return": {
166124
- "type": {
166125
- "text": "void"
166126
- }
166127
- },
166128
- "inheritedFrom": {
166129
- "name": "SbbTrainWagonMixin",
166130
- "module": "train/train-wagon-common.js"
166131
- }
166132
- },
166133
- {
166134
- "kind": "method",
166135
- "name": "_wagonTypeLabel",
166136
- "privacy": "private",
166137
- "return": {
166138
- "type": {
166139
- "text": "string"
166140
- }
166141
- },
166142
- "inheritedFrom": {
166143
- "name": "SbbTrainWagonMixin",
166144
- "module": "train/train-wagon-common.js"
166145
- }
166146
- },
166147
- {
166148
- "kind": "method",
166149
- "name": "_wagonShape",
166150
- "privacy": "private",
166151
- "return": {
166152
- "type": {
166153
- "text": "string"
166154
- }
166155
- },
166156
- "inheritedFrom": {
166157
- "name": "SbbTrainWagonMixin",
166158
- "module": "train/train-wagon-common.js"
166159
- }
166160
- },
166161
- {
166162
- "kind": "method",
166163
- "name": "_classLabel",
166164
- "privacy": "private",
166165
- "return": {
166166
- "type": {
166167
- "text": "string"
166168
- }
166169
- },
166170
- "inheritedFrom": {
166171
- "name": "SbbTrainWagonMixin",
166172
- "module": "train/train-wagon-common.js"
166173
- }
166174
- },
166175
- {
166176
- "kind": "method",
166177
- "name": "renderTemplate",
166178
- "privacy": "protected",
166179
- "return": {
166180
- "type": {
166181
- "text": "TemplateResult"
166182
- }
166183
- },
166184
- "inheritedFrom": {
166185
- "name": "SbbTrainWagonMixin",
166186
- "module": "train/train-wagon-common.js"
166187
- }
166188
- },
166189
- {
166190
- "kind": "field",
166191
- "name": "orientation",
166192
- "type": {
166193
- "text": "SbbOrientation | null"
166194
- },
166195
- "privacy": "protected",
166196
- "default": "null",
166197
- "inheritedFrom": {
166198
- "name": "SbbTrainFormationOrientationMixin",
166199
- "module": "train/train-formation-orientation-mixin.js"
166200
- }
166201
- },
166202
- {
166203
- "kind": "field",
166204
- "name": "listChildren",
166205
- "type": {
166206
- "text": "C[]"
166207
- },
166208
- "privacy": "protected",
166209
- "default": "[]",
166210
- "description": "A list of children with the defined tag names.\nThis array is only updated if there is an actual change\nto the child elements.",
166211
- "inheritedFrom": {
166212
- "name": "SbbNamedSlotListMixin",
166213
- "module": "core/mixins/named-slot-list-mixin.js"
166214
- }
166215
- },
166216
- {
166217
- "kind": "field",
166218
- "name": "_handleSlotchange",
166219
- "privacy": "private",
166220
- "inheritedFrom": {
166221
- "name": "SbbNamedSlotListMixin",
166222
- "module": "core/mixins/named-slot-list-mixin.js"
166223
- }
166224
- },
166225
- {
166226
- "kind": "method",
166227
- "name": "renderList",
166228
- "privacy": "protected",
166229
- "return": {
166230
- "type": {
166231
- "text": "TemplateResult"
166232
- }
166233
- },
166234
- "parameters": [
166235
- {
166236
- "name": "attributes",
166237
- "default": "{}",
166238
- "type": {
166239
- "text": "{ class?: string; ariaLabel?: string; ariaLabelledby?: string }"
166240
- }
166241
- },
166242
- {
166243
- "name": "listItemAttributes",
166244
- "default": "{}",
166245
- "type": {
166246
- "text": "{ localNameVisualOnly?: string[] }"
166247
- }
166248
- }
166249
- ],
166250
- "description": "Renders list and list slots for slotted children or a number of list slots\ncorresponding to the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
166251
- "inheritedFrom": {
166252
- "name": "SbbNamedSlotListMixin",
166253
- "module": "core/mixins/named-slot-list-mixin.js"
166254
- }
166255
- },
166256
- {
166257
- "kind": "method",
166258
- "name": "listSlotEntries",
166259
- "privacy": "protected",
166260
- "return": {
166261
- "type": {
166262
- "text": "SbbNamedSlotProperties[]"
166263
- }
166264
- },
166265
- "parameters": [
166266
- {
166267
- "name": "listItemAttributes",
166268
- "type": {
166269
- "text": "{\n localNameVisualOnly?: string[];\n }"
166270
- }
166271
- }
166272
- ],
166273
- "description": "Returns an array of SbbNamedSlotProperties, which holds the list slot names and the hidden property;\nits length corresponds to the number of matched children or the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
166134
+ "text": "string"
166135
+ },
166136
+ "privacy": "public",
166137
+ "static": true,
166138
+ "readonly": true,
166139
+ "default": "'sbb-train-blocked-passage'",
166274
166140
  "inheritedFrom": {
166275
- "name": "SbbNamedSlotListMixin",
166276
- "module": "core/mixins/named-slot-list-mixin.js"
166141
+ "name": "SbbElement",
166142
+ "module": "core/base-elements/element.js"
166277
166143
  }
166278
166144
  },
166279
166145
  {
166280
- "kind": "method",
166281
- "name": "renderHiddenSlot",
166282
- "privacy": "protected",
166283
- "return": {
166284
- "type": {
166285
- "text": "TemplateResult"
166286
- }
166146
+ "kind": "field",
166147
+ "name": "orientation",
166148
+ "type": {
166149
+ "text": "SbbOrientation | null"
166287
166150
  },
166288
- "description": "Returns a hidden slot, which is intended as the children change detection.\nWhen an element without a slot attribute is slotted to the element, it triggers\nthe slotchange event, which can be used to assign it to the appropriate named slot.",
166151
+ "privacy": "protected",
166152
+ "default": "null",
166289
166153
  "inheritedFrom": {
166290
- "name": "SbbNamedSlotListMixin",
166291
- "module": "core/mixins/named-slot-list-mixin.js"
166154
+ "name": "SbbTrainFormationOrientationMixin",
166155
+ "module": "train/train-formation-orientation-mixin.js"
166292
166156
  }
166293
166157
  },
166294
166158
  {
@@ -166305,6 +166169,19 @@
166305
166169
  "module": "core/base-elements/element.js"
166306
166170
  }
166307
166171
  },
166172
+ {
166173
+ "kind": "field",
166174
+ "name": "elementDependencies",
166175
+ "type": {
166176
+ "text": "SbbElementType[] | undefined"
166177
+ },
166178
+ "privacy": "public",
166179
+ "static": true,
166180
+ "inheritedFrom": {
166181
+ "name": "SbbElement",
166182
+ "module": "core/base-elements/element.js"
166183
+ }
166184
+ },
166308
166185
  {
166309
166186
  "kind": "field",
166310
166187
  "name": "role",
@@ -166564,277 +166441,327 @@
166564
166441
  ],
166565
166442
  "mixins": [
166566
166443
  {
166567
- "name": "SbbTrainWagonMixin",
166568
- "module": "train/train-wagon-common.js"
166444
+ "name": "SbbTrainFormationOrientationMixin",
166445
+ "module": "train/train-formation-orientation-mixin.js"
166569
166446
  }
166570
166447
  ],
166571
166448
  "superclass": {
166572
166449
  "name": "SbbElement",
166573
166450
  "module": "core.js"
166574
166451
  },
166575
- "tagName": "sbb-train-wagon",
166576
- "customElement": true,
166577
- "attributes": [
166452
+ "tagName": "sbb-train-blocked-passage",
166453
+ "customElement": true
166454
+ }
166455
+ ],
166456
+ "exports": [
166457
+ {
166458
+ "kind": "js",
166459
+ "name": "SbbTrainBlockedPassageElement",
166460
+ "declaration": {
166461
+ "name": "SbbTrainBlockedPassageElement",
166462
+ "module": "train/train-blocked-passage/train-blocked-passage.component.js"
166463
+ }
166464
+ }
166465
+ ]
166466
+ },
166467
+ {
166468
+ "kind": "javascript-module",
166469
+ "path": "train/train-wagon/train-wagon.component.js",
166470
+ "declarations": [
166471
+ {
166472
+ "kind": "class",
166473
+ "description": "It displays a train compartment within a `sbb-train` component.",
166474
+ "name": "SbbTrainWagonElement",
166475
+ "slots": [
166578
166476
  {
166579
- "name": "wagon-type",
166477
+ "description": "Use the unnamed slot to add one or more `sbb-icon` for meta-information of the wagon.",
166478
+ "name": ""
166479
+ }
166480
+ ],
166481
+ "members": [
166482
+ {
166483
+ "kind": "field",
166484
+ "name": "elementName",
166580
166485
  "type": {
166581
- "text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
166486
+ "text": "string"
166582
166487
  },
166583
- "default": "'wagon'",
166584
- "description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
166585
- "fieldName": "wagonType",
166488
+ "privacy": "public",
166489
+ "static": true,
166490
+ "readonly": true,
166491
+ "default": "'sbb-train-wagon'",
166586
166492
  "inheritedFrom": {
166587
- "name": "SbbTrainWagonMixin",
166588
- "module": "train/train-wagon-common.js"
166493
+ "name": "SbbElement",
166494
+ "module": "core/base-elements/element.js"
166589
166495
  }
166590
166496
  },
166591
166497
  {
166592
- "name": "occupancy",
166498
+ "kind": "field",
166499
+ "name": "elementDependencies",
166593
166500
  "type": {
166594
- "text": "SbbOccupancy | null"
166501
+ "text": "SbbElementType[]"
166595
166502
  },
166596
- "default": "null",
166597
- "description": "Occupancy of a wagon.",
166598
- "fieldName": "occupancy",
166503
+ "privacy": "public",
166504
+ "static": true,
166505
+ "default": "[ SbbIconElement, SbbTimetableOccupancyIconElement, SbbDividerElement, ]",
166599
166506
  "inheritedFrom": {
166600
- "name": "SbbTrainWagonMixin",
166601
- "module": "train/train-wagon-common.js"
166507
+ "name": "SbbElement",
166508
+ "module": "core/base-elements/element.js"
166602
166509
  }
166603
166510
  },
166604
166511
  {
166605
- "name": "sector",
166512
+ "kind": "field",
166513
+ "name": "styles",
166606
166514
  "type": {
166607
- "text": "string"
166515
+ "text": "CSSResultGroup"
166608
166516
  },
166609
- "default": "''",
166610
- "description": "Sector in which the wagon stops.",
166611
- "fieldName": "sector",
166517
+ "privacy": "public",
166518
+ "static": true,
166519
+ "default": "[boxSizingStyles, unsafeCSS(style)]",
166612
166520
  "inheritedFrom": {
166613
- "name": "SbbTrainWagonMixin",
166614
- "module": "train/train-wagon-common.js"
166521
+ "name": "SbbNamedSlotListMixin",
166522
+ "module": "core/mixins/named-slot-list-mixin.js"
166615
166523
  }
166616
166524
  },
166617
166525
  {
166618
- "name": "blocked-passage",
166526
+ "kind": "field",
166527
+ "name": "wagonType",
166619
166528
  "type": {
166620
- "text": "'previous' | 'next' | 'both' | 'none'"
166529
+ "text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
166621
166530
  },
166622
- "default": "'none'",
166623
- "description": "Accessibility text for blocked passages of the wagon.",
166624
- "fieldName": "blockedPassage",
166531
+ "privacy": "public",
166532
+ "default": "'wagon'",
166533
+ "description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
166534
+ "attribute": "wagon-type",
166535
+ "reflects": true,
166625
166536
  "inheritedFrom": {
166626
166537
  "name": "SbbTrainWagonMixin",
166627
166538
  "module": "train/train-wagon-common.js"
166628
166539
  }
166629
166540
  },
166630
166541
  {
166631
- "name": "wagon-class",
166542
+ "kind": "field",
166543
+ "name": "listChildLocalNames",
166632
166544
  "type": {
166633
- "text": "| '1'\n | '2'\n | '1-2'\n | '2-1'\n | null"
166545
+ "text": "array"
166634
166546
  },
166635
- "default": "null",
166636
- "description": "Class label",
166637
- "fieldName": "wagonClass",
166547
+ "privacy": "protected",
166548
+ "readonly": true,
166549
+ "description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
166550
+ "default": "['sbb-icon']",
166638
166551
  "inheritedFrom": {
166639
- "name": "SbbTrainWagonMixin",
166640
- "module": "train/train-wagon-common.js"
166552
+ "name": "SbbNamedSlotListMixin",
166553
+ "module": "core/mixins/named-slot-list-mixin.js"
166641
166554
  }
166642
166555
  },
166643
166556
  {
166644
- "name": "label",
166557
+ "kind": "field",
166558
+ "name": "occupancy",
166645
166559
  "type": {
166646
- "text": "string"
166560
+ "text": "SbbOccupancy | null"
166647
166561
  },
166648
- "default": "''",
166649
- "description": "Wagon number",
166650
- "fieldName": "label",
166562
+ "privacy": "public",
166563
+ "default": "null",
166564
+ "description": "Occupancy of a wagon.",
166565
+ "attribute": "occupancy",
166651
166566
  "inheritedFrom": {
166652
166567
  "name": "SbbTrainWagonMixin",
166653
166568
  "module": "train/train-wagon-common.js"
166654
166569
  }
166655
166570
  },
166656
166571
  {
166657
- "name": "additional-accessibility-text",
166572
+ "kind": "field",
166573
+ "name": "sector",
166658
166574
  "type": {
166659
166575
  "text": "string"
166660
166576
  },
166577
+ "privacy": "public",
166661
166578
  "default": "''",
166662
- "description": "Additional accessibility text which will be appended to the end.",
166663
- "fieldName": "additionalAccessibilityText",
166579
+ "description": "Sector in which the wagon stops.",
166580
+ "attribute": "sector",
166581
+ "reflects": true,
166664
166582
  "inheritedFrom": {
166665
166583
  "name": "SbbTrainWagonMixin",
166666
166584
  "module": "train/train-wagon-common.js"
166667
166585
  }
166668
- }
166669
- ]
166670
- }
166671
- ],
166672
- "exports": [
166673
- {
166674
- "kind": "js",
166675
- "name": "SbbTrainWagonElement",
166676
- "declaration": {
166677
- "name": "SbbTrainWagonElement",
166678
- "module": "train/train-wagon/train-wagon.component.js"
166679
- }
166680
- }
166681
- ]
166682
- },
166683
- {
166684
- "kind": "javascript-module",
166685
- "path": "train/train-formation/train-formation.component.js",
166686
- "declarations": [
166687
- {
166688
- "kind": "class",
166689
- "description": "It displays a train composition, acting as a container for one or more `sbb-train` component.",
166690
- "name": "SbbTrainFormationElement",
166691
- "cssProperties": [
166692
- {
166693
- "description": "Defines the inline or block padding inside the horizontal or vertical scrolling area.",
166694
- "name": "--sbb-train-formation-scroll-padding",
166695
- "default": "var(--sbb-spacing-fixed-1x)"
166696
- }
166697
- ],
166698
- "slots": [
166699
- {
166700
- "description": "Use the unnamed slot to add 'sbb-train' elements to the `sbb-train-formation`.",
166701
- "name": ""
166702
- }
166703
- ],
166704
- "members": [
166586
+ },
166705
166587
  {
166706
166588
  "kind": "field",
166707
- "name": "elementName",
166589
+ "name": "blockedPassage",
166708
166590
  "type": {
166709
- "text": "string"
166591
+ "text": "'previous' | 'next' | 'both' | 'none'"
166710
166592
  },
166711
166593
  "privacy": "public",
166712
- "static": true,
166713
- "readonly": true,
166714
- "default": "'sbb-train-formation'",
166594
+ "default": "'none'",
166595
+ "description": "Accessibility text for blocked passages of the wagon.",
166596
+ "attribute": "blocked-passage",
166715
166597
  "inheritedFrom": {
166716
- "name": "SbbElement",
166717
- "module": "core/base-elements/element.js"
166598
+ "name": "SbbTrainWagonMixin",
166599
+ "module": "train/train-wagon-common.js"
166718
166600
  }
166719
166601
  },
166720
166602
  {
166721
166603
  "kind": "field",
166722
- "name": "listChildLocalNames",
166604
+ "name": "wagonClass",
166723
166605
  "type": {
166724
- "text": "array"
166606
+ "text": "| '1'\n | '2'\n | '1-2'\n | '2-1'\n | null"
166725
166607
  },
166726
- "privacy": "protected",
166727
- "readonly": true,
166728
- "description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
166729
- "default": "['sbb-train']",
166608
+ "privacy": "public",
166609
+ "default": "null",
166610
+ "description": "Class label",
166611
+ "attribute": "wagon-class",
166730
166612
  "inheritedFrom": {
166731
- "name": "SbbNamedSlotListMixin",
166732
- "module": "core/mixins/named-slot-list-mixin.js"
166613
+ "name": "SbbTrainWagonMixin",
166614
+ "module": "train/train-wagon-common.js"
166733
166615
  }
166734
166616
  },
166735
166617
  {
166736
166618
  "kind": "field",
166737
- "name": "view",
166619
+ "name": "label",
166738
166620
  "type": {
166739
- "text": "'side' | 'top'"
166621
+ "text": "string"
166740
166622
  },
166741
166623
  "privacy": "public",
166742
- "default": "'side'",
166743
- "description": "Whether the view of the wagons is from side or top perspective.",
166744
- "attribute": "view",
166745
- "reflects": true
166624
+ "default": "''",
166625
+ "description": "Wagon number",
166626
+ "attribute": "label",
166627
+ "reflects": true,
166628
+ "inheritedFrom": {
166629
+ "name": "SbbTrainWagonMixin",
166630
+ "module": "train/train-wagon-common.js"
166631
+ }
166746
166632
  },
166747
166633
  {
166748
166634
  "kind": "field",
166749
- "name": "orientation",
166635
+ "name": "additionalAccessibilityText",
166750
166636
  "type": {
166751
- "text": "SbbOrientation"
166637
+ "text": "string"
166752
166638
  },
166753
166639
  "privacy": "public",
166754
- "default": "'horizontal'",
166755
- "description": "Orientation, either horizontal or vertical.",
166756
- "attribute": "orientation",
166757
- "reflects": true
166640
+ "default": "''",
166641
+ "description": "Additional accessibility text which will be appended to the end.",
166642
+ "attribute": "additional-accessibility-text",
166643
+ "inheritedFrom": {
166644
+ "name": "SbbTrainWagonMixin",
166645
+ "module": "train/train-wagon-common.js"
166646
+ }
166758
166647
  },
166759
166648
  {
166760
166649
  "kind": "field",
166761
- "name": "_sectors",
166650
+ "name": "_view",
166762
166651
  "type": {
166763
- "text": "AggregatedSector[]"
166652
+ "text": "SbbTrainFormationElement['view'] | null"
166764
166653
  },
166765
166654
  "privacy": "private",
166766
- "default": "[]"
166655
+ "default": "null",
166656
+ "inheritedFrom": {
166657
+ "name": "SbbTrainWagonMixin",
166658
+ "module": "train/train-wagon-common.js"
166659
+ }
166767
166660
  },
166768
166661
  {
166769
166662
  "kind": "field",
166770
166663
  "name": "_language",
166771
166664
  "privacy": "private",
166772
- "default": "new SbbLanguageController(this)"
166665
+ "default": "new SbbLanguageController(this)",
166666
+ "inheritedFrom": {
166667
+ "name": "SbbTrainWagonMixin",
166668
+ "module": "train/train-wagon-common.js"
166669
+ }
166670
+ },
166671
+ {
166672
+ "kind": "field",
166673
+ "name": "_clipStyleSheet",
166674
+ "type": {
166675
+ "text": "CSSStyleSheet | null"
166676
+ },
166677
+ "privacy": "private",
166678
+ "default": "null",
166679
+ "inheritedFrom": {
166680
+ "name": "SbbTrainWagonMixin",
166681
+ "module": "train/train-wagon-common.js"
166682
+ }
166773
166683
  },
166774
166684
  {
166775
166685
  "kind": "method",
166776
- "name": "_readDirectionLabel",
166686
+ "name": "_sectorChanged",
166777
166687
  "privacy": "private",
166778
166688
  "return": {
166779
166689
  "type": {
166780
166690
  "text": "void"
166781
166691
  }
166782
166692
  },
166783
- "parameters": [
166784
- {
166785
- "name": "event",
166786
- "optional": true,
166787
- "type": {
166788
- "text": "Event"
166789
- }
166693
+ "inheritedFrom": {
166694
+ "name": "SbbTrainWagonMixin",
166695
+ "module": "train/train-wagon-common.js"
166696
+ }
166697
+ },
166698
+ {
166699
+ "kind": "method",
166700
+ "name": "_wagonTypeLabel",
166701
+ "privacy": "private",
166702
+ "return": {
166703
+ "type": {
166704
+ "text": "string"
166790
166705
  }
166791
- ]
166706
+ },
166707
+ "inheritedFrom": {
166708
+ "name": "SbbTrainWagonMixin",
166709
+ "module": "train/train-wagon-common.js"
166710
+ }
166792
166711
  },
166793
166712
  {
166794
166713
  "kind": "method",
166795
- "name": "_readSectors",
166714
+ "name": "_wagonShape",
166796
166715
  "privacy": "private",
166797
166716
  "return": {
166798
166717
  "type": {
166799
- "text": "void"
166718
+ "text": "string"
166800
166719
  }
166801
166720
  },
166802
- "parameters": [
166803
- {
166804
- "name": "event",
166805
- "optional": true,
166806
- "type": {
166807
- "text": "Event"
166808
- }
166721
+ "inheritedFrom": {
166722
+ "name": "SbbTrainWagonMixin",
166723
+ "module": "train/train-wagon-common.js"
166724
+ }
166725
+ },
166726
+ {
166727
+ "kind": "method",
166728
+ "name": "_classLabel",
166729
+ "privacy": "private",
166730
+ "return": {
166731
+ "type": {
166732
+ "text": "string"
166809
166733
  }
166810
- ]
166734
+ },
166735
+ "inheritedFrom": {
166736
+ "name": "SbbTrainWagonMixin",
166737
+ "module": "train/train-wagon-common.js"
166738
+ }
166811
166739
  },
166812
166740
  {
166813
- "kind": "field",
166814
- "name": "elementDependencies",
166815
- "type": {
166816
- "text": "SbbElementType[]"
166741
+ "kind": "method",
166742
+ "name": "renderTemplate",
166743
+ "privacy": "protected",
166744
+ "return": {
166745
+ "type": {
166746
+ "text": "TemplateResult"
166747
+ }
166817
166748
  },
166818
- "privacy": "public",
166819
- "static": true,
166820
- "default": "[]",
166821
166749
  "inheritedFrom": {
166822
- "name": "SbbElement",
166823
- "module": "core/base-elements/element.js"
166750
+ "name": "SbbTrainWagonMixin",
166751
+ "module": "train/train-wagon-common.js"
166824
166752
  }
166825
166753
  },
166826
166754
  {
166827
166755
  "kind": "field",
166828
- "name": "styles",
166756
+ "name": "orientation",
166829
166757
  "type": {
166830
- "text": "CSSResultGroup"
166758
+ "text": "SbbOrientation | null"
166831
166759
  },
166832
- "privacy": "public",
166833
- "static": true,
166834
- "default": "[screenReaderOnlyStyles]",
166760
+ "privacy": "protected",
166761
+ "default": "null",
166835
166762
  "inheritedFrom": {
166836
- "name": "SbbNamedSlotListMixin",
166837
- "module": "core/mixins/named-slot-list-mixin.js"
166763
+ "name": "SbbTrainFormationOrientationMixin",
166764
+ "module": "train/train-formation-orientation-mixin.js"
166838
166765
  }
166839
166766
  },
166840
166767
  {
@@ -167200,47 +167127,120 @@
167200
167127
  }
167201
167128
  }
167202
167129
  ],
167130
+ "mixins": [
167131
+ {
167132
+ "name": "SbbTrainWagonMixin",
167133
+ "module": "train/train-wagon-common.js"
167134
+ }
167135
+ ],
167136
+ "superclass": {
167137
+ "name": "SbbElement",
167138
+ "module": "core.js"
167139
+ },
167140
+ "tagName": "sbb-train-wagon",
167141
+ "customElement": true,
167203
167142
  "attributes": [
167204
167143
  {
167205
- "name": "view",
167144
+ "name": "wagon-type",
167206
167145
  "type": {
167207
- "text": "'side' | 'top'"
167146
+ "text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
167208
167147
  },
167209
- "default": "'side'",
167210
- "description": "Whether the view of the wagons is from side or top perspective.",
167211
- "fieldName": "view"
167148
+ "default": "'wagon'",
167149
+ "description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
167150
+ "fieldName": "wagonType",
167151
+ "inheritedFrom": {
167152
+ "name": "SbbTrainWagonMixin",
167153
+ "module": "train/train-wagon-common.js"
167154
+ }
167212
167155
  },
167213
167156
  {
167214
- "name": "orientation",
167157
+ "name": "occupancy",
167215
167158
  "type": {
167216
- "text": "SbbOrientation"
167159
+ "text": "SbbOccupancy | null"
167217
167160
  },
167218
- "default": "'horizontal'",
167219
- "description": "Orientation, either horizontal or vertical.",
167220
- "fieldName": "orientation"
167221
- }
167222
- ],
167223
- "mixins": [
167161
+ "default": "null",
167162
+ "description": "Occupancy of a wagon.",
167163
+ "fieldName": "occupancy",
167164
+ "inheritedFrom": {
167165
+ "name": "SbbTrainWagonMixin",
167166
+ "module": "train/train-wagon-common.js"
167167
+ }
167168
+ },
167224
167169
  {
167225
- "name": "SbbNamedSlotListMixin",
167226
- "module": "core.js"
167170
+ "name": "sector",
167171
+ "type": {
167172
+ "text": "string"
167173
+ },
167174
+ "default": "''",
167175
+ "description": "Sector in which the wagon stops.",
167176
+ "fieldName": "sector",
167177
+ "inheritedFrom": {
167178
+ "name": "SbbTrainWagonMixin",
167179
+ "module": "train/train-wagon-common.js"
167180
+ }
167181
+ },
167182
+ {
167183
+ "name": "blocked-passage",
167184
+ "type": {
167185
+ "text": "'previous' | 'next' | 'both' | 'none'"
167186
+ },
167187
+ "default": "'none'",
167188
+ "description": "Accessibility text for blocked passages of the wagon.",
167189
+ "fieldName": "blockedPassage",
167190
+ "inheritedFrom": {
167191
+ "name": "SbbTrainWagonMixin",
167192
+ "module": "train/train-wagon-common.js"
167193
+ }
167194
+ },
167195
+ {
167196
+ "name": "wagon-class",
167197
+ "type": {
167198
+ "text": "| '1'\n | '2'\n | '1-2'\n | '2-1'\n | null"
167199
+ },
167200
+ "default": "null",
167201
+ "description": "Class label",
167202
+ "fieldName": "wagonClass",
167203
+ "inheritedFrom": {
167204
+ "name": "SbbTrainWagonMixin",
167205
+ "module": "train/train-wagon-common.js"
167206
+ }
167207
+ },
167208
+ {
167209
+ "name": "label",
167210
+ "type": {
167211
+ "text": "string"
167212
+ },
167213
+ "default": "''",
167214
+ "description": "Wagon number",
167215
+ "fieldName": "label",
167216
+ "inheritedFrom": {
167217
+ "name": "SbbTrainWagonMixin",
167218
+ "module": "train/train-wagon-common.js"
167219
+ }
167220
+ },
167221
+ {
167222
+ "name": "additional-accessibility-text",
167223
+ "type": {
167224
+ "text": "string"
167225
+ },
167226
+ "default": "''",
167227
+ "description": "Additional accessibility text which will be appended to the end.",
167228
+ "fieldName": "additionalAccessibilityText",
167229
+ "inheritedFrom": {
167230
+ "name": "SbbTrainWagonMixin",
167231
+ "module": "train/train-wagon-common.js"
167232
+ }
167227
167233
  }
167228
- ],
167229
- "superclass": {
167230
- "name": "SbbElement",
167231
- "module": "core.js"
167232
- },
167233
- "tagName": "sbb-train-formation",
167234
- "customElement": true
167234
+ ]
167235
167235
  }
167236
167236
  ],
167237
167237
  "exports": [
167238
167238
  {
167239
167239
  "kind": "js",
167240
- "name": "SbbTrainFormationElement",
167240
+ "name": "SbbTrainWagonElement",
167241
167241
  "declaration": {
167242
- "name": "SbbTrainFormationElement",
167243
- "module": "train/train-formation/train-formation.component.js"
167242
+ "name": "SbbTrainWagonElement",
167243
+ "module": "train/train-wagon/train-wagon.component.js"
167244
167244
  }
167245
167245
  }
167246
167246
  ]