@sbb-esta/lyne-elements-dev 5.0.0-next.1-dev.1777528728 → 5.0.0-next.1-dev.1777534945
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/{block-link-common-ykaxTKZw.js → block-link-common-e4bk3Jpf.js} +2 -2
- package/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +1 -1
- package/{breadcrumb-group.component-DtW1ZFNq.js → breadcrumb-group.component-De3Lu3lx.js} +1 -5
- package/breadcrumb.js +1 -1
- package/breadcrumb.pure.js +1 -1
- package/button/accent-button/accent-button.component.js +1 -1
- package/button/accent-button-link/accent-button-link.component.js +1 -1
- package/button/accent-button-static/accent-button-static.component.js +1 -1
- package/button/button/button.component.js +1 -1
- package/button/button-link/button-link.component.js +1 -1
- package/button/button-static/button-static.component.js +1 -1
- package/button/common/button-common.js +1 -1
- package/button/mini-button-group/mini-button-group.component.js +1 -1
- package/button/secondary-button/secondary-button.component.js +1 -1
- package/button/secondary-button-link/secondary-button-link.component.js +1 -1
- package/button/secondary-button-static/secondary-button-static.component.js +1 -1
- package/button/transparent-button/transparent-button.component.js +1 -1
- package/button/transparent-button-link/transparent-button-link.component.js +1 -1
- package/button/transparent-button-static/transparent-button-static.component.js +1 -1
- package/{button-common-DID0gi9b.js → button-common-h8m8WPzJ.js} +73 -80
- package/button.js +2 -2
- package/button.pure.js +2 -2
- package/calendar/calendar-day/calendar-day.component.js +1 -1
- package/{calendar-day.component-C6Xth1In.js → calendar-day.component-CcZymuSD.js} +1 -1
- package/calendar.js +1 -1
- package/calendar.pure.js +1 -1
- package/card/common/card-action-common.js +1 -1
- package/{card-action-common-DcyolMVU.js → card-action-common-DQDVfsGW.js} +0 -1
- package/card.js +1 -1
- package/card.pure.js +1 -1
- package/checkbox/checkbox.component.js +1 -1
- package/checkbox/common/checkbox-common.js +1 -1
- package/{checkbox-common-CbMkoAks.js → checkbox-common-CGJMgGgK.js} +62 -69
- package/checkbox-panel/checkbox-panel.component.js +1 -1
- package/{checkbox.component-DLkmHbNb.js → checkbox.component-AHeymsm8.js} +2 -2
- package/checkbox.js +2 -2
- package/checkbox.pure.js +2 -2
- package/{compact-paginator.component-CoAxdqWU.js → compact-paginator.component-DwBfi6Ec.js} +1 -1
- package/container/sticky-bar/sticky-bar.component.js +1 -1
- package/container.js +1 -1
- package/container.pure.js +1 -1
- package/core/base-elements/element.js +5 -0
- package/core/mixins/form-associated-input-mixin.js +1 -1
- package/core/mixins/named-slot-list-mixin.js +1 -1
- package/core/mixins/panel-mixin.js +1 -1
- package/core.js +1 -1
- package/custom-elements.json +5537 -284
- package/datepicker/datepicker/datepicker.component.js +1 -1
- package/development/{block-link-common-0Savn_ta.js → block-link-common-B2zlM5si.js} +3 -3
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.d.ts.map +1 -1
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +1 -1
- package/development/{breadcrumb-group.component-Djhr0rmt.js → breadcrumb-group.component-BC1mWiQE.js} +2 -6
- package/development/breadcrumb.js +1 -1
- package/development/breadcrumb.pure.js +1 -1
- package/development/button/accent-button/accent-button.component.d.ts.map +1 -1
- package/development/button/accent-button/accent-button.component.js +2 -2
- package/development/button/accent-button-link/accent-button-link.component.d.ts.map +1 -1
- package/development/button/accent-button-link/accent-button-link.component.js +2 -2
- package/development/button/accent-button-static/accent-button-static.component.d.ts.map +1 -1
- package/development/button/accent-button-static/accent-button-static.component.js +2 -2
- package/development/button/button/button.component.d.ts.map +1 -1
- package/development/button/button/button.component.js +2 -2
- package/development/button/button-link/button-link.component.d.ts.map +1 -1
- package/development/button/button-link/button-link.component.js +2 -2
- package/development/button/button-static/button-static.component.d.ts.map +1 -1
- package/development/button/button-static/button-static.component.js +2 -2
- package/development/button/common/button-common.d.ts.map +1 -1
- package/development/button/common/button-common.js +1 -1
- package/development/button/mini-button-group/mini-button-group.component.d.ts.map +1 -1
- package/development/button/mini-button-group/mini-button-group.component.js +1 -1
- package/development/button/secondary-button/secondary-button.component.d.ts.map +1 -1
- package/development/button/secondary-button/secondary-button.component.js +2 -2
- package/development/button/secondary-button-link/secondary-button-link.component.d.ts.map +1 -1
- package/development/button/secondary-button-link/secondary-button-link.component.js +2 -2
- package/development/button/secondary-button-static/secondary-button-static.component.d.ts.map +1 -1
- package/development/button/secondary-button-static/secondary-button-static.component.js +2 -2
- package/development/button/transparent-button/transparent-button.component.d.ts.map +1 -1
- package/development/button/transparent-button/transparent-button.component.js +2 -2
- package/development/button/transparent-button-link/transparent-button-link.component.d.ts.map +1 -1
- package/development/button/transparent-button-link/transparent-button-link.component.js +2 -2
- package/development/button/transparent-button-static/transparent-button-static.component.d.ts.map +1 -1
- package/development/button/transparent-button-static/transparent-button-static.component.js +2 -2
- package/development/{button-common-B96jQwgA.js → button-common-CXgSX4qz.js} +3 -8
- package/development/button.js +2 -2
- package/development/button.pure.js +2 -2
- package/development/calendar/calendar-day/calendar-day.component.d.ts.map +1 -1
- package/development/calendar/calendar-day/calendar-day.component.js +1 -1
- package/development/{calendar-day.component-BpqN28Nh.js → calendar-day.component-BHvdRxll.js} +2 -2
- package/development/calendar.js +1 -1
- package/development/calendar.pure.js +1 -1
- package/development/card/common/card-action-common.d.ts.map +1 -1
- package/development/card/common/card-action-common.js +1 -1
- package/development/{card-action-common-BRH3JFlC.js → card-action-common-DSg5TqIA.js} +1 -2
- package/development/card.js +1 -1
- package/development/card.pure.js +1 -1
- package/development/checkbox/checkbox.component.d.ts.map +1 -1
- package/development/checkbox/checkbox.component.js +1 -1
- package/development/checkbox/common/checkbox-common.d.ts.map +1 -1
- package/development/checkbox/common/checkbox-common.js +1 -1
- package/development/{checkbox-common-Bg3267ZQ.js → checkbox-common-zrAq1gCy.js} +3 -8
- package/development/checkbox-panel/checkbox-panel.component.d.ts.map +1 -1
- package/development/checkbox-panel/checkbox-panel.component.js +2 -2
- package/development/{checkbox.component-CShWuJ8S.js → checkbox.component-Jhp7gZKb.js} +3 -3
- package/development/checkbox.js +2 -2
- package/development/checkbox.pure.js +2 -2
- package/development/{compact-paginator.component-D4K03FGq.js → compact-paginator.component-DkOmmbnb.js} +2 -2
- package/development/container/sticky-bar/sticky-bar.component.js +1 -1
- package/development/container.js +1 -1
- package/development/container.pure.js +1 -1
- package/development/core/base-elements/element.d.ts +10 -1
- package/development/core/base-elements/element.d.ts.map +1 -1
- package/development/core/base-elements/element.js +18 -1
- package/development/core/mixins/form-associated-input-mixin.js +2 -2
- package/development/core/mixins/named-slot-list-mixin.d.ts.map +1 -1
- package/development/core/mixins/named-slot-list-mixin.js +2 -2
- package/development/core/mixins/panel-mixin.d.ts.map +1 -1
- package/development/core/mixins/panel-mixin.js +1 -1
- package/development/core.js +1 -1
- package/development/datepicker/datepicker/datepicker.component.d.ts.map +1 -1
- package/development/datepicker/datepicker/datepicker.component.js +2 -2
- package/development/dialog/dialog-actions/dialog-actions.component.d.ts.map +1 -1
- package/development/dialog/dialog-actions/dialog-actions.component.js +1 -1
- package/development/dialog/dialog-close-button/dialog-close-button.component.d.ts.map +1 -1
- package/development/dialog/dialog-close-button/dialog-close-button.component.js +1 -1
- package/development/dialog/dialog-title/dialog-title.component.d.ts.map +1 -1
- package/development/dialog/dialog-title/dialog-title.component.js +1 -1
- package/development/{dialog-actions.component-BlSlGrPX.js → dialog-actions.component-JnuXNR99.js} +2 -2
- package/development/{dialog-close-button.component-BbTNGFLs.js → dialog-close-button.component-Cucp_HVP.js} +2 -2
- package/development/{dialog-title.component-6tKpHsR0.js → dialog-title.component-CfGpsHCz.js} +2 -2
- package/development/dialog.js +3 -3
- package/development/dialog.pure.js +3 -3
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
- package/development/{expansion-panel-header.component-QbxqMGKG.js → expansion-panel-header.component-DFTa_og5.js} +2 -2
- package/development/expansion-panel.js +1 -1
- package/development/expansion-panel.pure.js +1 -1
- package/development/form-field/form-field-text-counter/form-field-text-counter.component.d.ts +1 -2
- package/development/form-field/form-field-text-counter/form-field-text-counter.component.d.ts.map +1 -1
- package/development/form-field/form-field-text-counter/form-field-text-counter.component.js +1 -4
- package/development/header/common/header-action-common.d.ts.map +1 -1
- package/development/header/common/header-action-common.js +1 -1
- package/development/{header-action-common-OnaZsRvd.js → header-action-common-gt9IY50k.js} +3 -8
- package/development/header.js +1 -1
- package/development/header.pure.js +1 -1
- package/development/{inline-link-common-BPSsiV2l.js → inline-link-common-D0ucqLI0.js} +3 -3
- package/development/journey-header/journey-header.component.d.ts.map +1 -1
- package/development/journey-header/journey-header.component.js +1 -1
- package/development/{journey-header.component-vQ7AYDSM.js → journey-header.component-CbtLbBj8.js} +2 -6
- package/development/journey-header.js +1 -1
- package/development/journey-header.pure.js +1 -1
- package/development/link/common/block-link-common.js +1 -1
- package/development/link/common/inline-link-common.js +1 -1
- package/development/link/common/link-common.d.ts.map +1 -1
- package/development/link/common/link-common.js +1 -1
- package/development/{link-common-u_29CvHh.js → link-common-CVPiVpe3.js} +3 -8
- package/development/link-list/common/link-list-base.d.ts.map +1 -1
- package/development/link-list/common/link-list-base.js +1 -1
- package/development/link-list/link-list.component.d.ts.map +1 -1
- package/development/link-list/link-list.component.js +1 -1
- package/development/link-list-anchor/link-list-anchor.component.d.ts.map +1 -1
- package/development/link-list-anchor/link-list-anchor.component.js +1 -1
- package/development/{link-list-anchor.component-USmY8EgB.js → link-list-anchor.component-CfpDrucM.js} +2 -2
- package/development/link-list-anchor.js +1 -1
- package/development/link-list-anchor.pure.js +1 -1
- package/development/{link-list-base-B7lhyRQX.js → link-list-base-DHx1uyIJ.js} +2 -6
- package/development/{link-list.component-BELz_qbY.js → link-list.component-BnwPCXG4.js} +3 -3
- package/development/link-list.js +2 -2
- package/development/link-list.pure.js +2 -2
- package/development/link.js +3 -3
- package/development/link.pure.js +3 -3
- package/development/menu/common/menu-action-common.d.ts.map +1 -1
- package/development/menu/common/menu-action-common.js +1 -1
- package/development/{menu-action-common-B_8L-wRC.js → menu-action-common-zev1oItt.js} +3 -8
- package/development/menu.js +1 -1
- package/development/menu.pure.js +1 -1
- package/development/{mini-button-group.component-DAbgiDdb.js → mini-button-group.component-DNFyLMg_.js} +2 -6
- package/development/navigation/common/navigation-action-common.d.ts.map +1 -1
- package/development/navigation/common/navigation-action-common.js +1 -1
- package/development/navigation/navigation-list/navigation-list.component.d.ts.map +1 -1
- package/development/navigation/navigation-list/navigation-list.component.js +1 -1
- package/development/navigation/navigation-marker/navigation-marker.component.d.ts.map +1 -1
- package/development/navigation/navigation-marker/navigation-marker.component.js +1 -1
- package/development/{navigation-action-common-CEFNy2YF.js → navigation-action-common-BrO3JPmN.js} +2 -6
- package/development/{navigation-list.component-Djgm6YPH.js → navigation-list.component-DDjMz5TE.js} +2 -6
- package/development/{navigation-marker.component-B2yzOStm.js → navigation-marker.component-Cd6apD2P.js} +2 -6
- package/development/navigation.js +3 -3
- package/development/navigation.pure.js +3 -3
- package/development/option/option/option.component.d.ts.map +1 -1
- package/development/option/option/option.component.js +1 -1
- package/development/{option.component-B18Ra5d9.js → option.component-BPHnz8y-.js} +3 -3
- package/development/option.js +1 -1
- package/development/option.pure.js +1 -1
- package/development/overlay/overlay.component.d.ts.map +1 -1
- package/development/overlay/overlay.component.js +1 -1
- package/development/{overlay.component-h3sOVMuU.js → overlay.component-CC_quHYI.js} +2 -2
- package/development/overlay.js +1 -1
- package/development/overlay.pure.js +1 -1
- package/development/paginator/common/paginator-common.d.ts.map +1 -1
- package/development/paginator/common/paginator-common.js +3 -8
- package/development/paginator/compact-paginator/compact-paginator.component.d.ts.map +1 -1
- package/development/paginator/compact-paginator/compact-paginator.component.js +1 -1
- package/development/paginator/paginator/paginator.component.d.ts.map +1 -1
- package/development/paginator/paginator/paginator.component.js +1 -1
- package/development/{paginator.component-Cn5a9c-2.js → paginator.component-D90qfI3Z.js} +2 -2
- package/development/paginator.js +2 -2
- package/development/paginator.pure.js +2 -2
- package/development/{panel-mixin-X1lzGg3S.js → panel-mixin-Doy4ko_C.js} +2 -6
- package/development/radio-button/common/radio-button-common.d.ts.map +1 -1
- package/development/radio-button/common/radio-button-common.js +1 -1
- package/development/radio-button/radio-button.component.d.ts.map +1 -1
- package/development/radio-button/radio-button.component.js +1 -1
- package/development/{radio-button-common-DUBFbGXY.js → radio-button-common-DvTx7Pb7.js} +3 -8
- package/development/radio-button-panel/radio-button-panel.component.d.ts.map +1 -1
- package/development/radio-button-panel/radio-button-panel.component.js +2 -2
- package/development/{radio-button.component-Cdbpqlt3.js → radio-button.component-DDz0a27A.js} +3 -3
- package/development/radio-button.js +2 -2
- package/development/radio-button.pure.js +2 -2
- package/development/sidebar/sidebar-close-button/sidebar-close-button.component.d.ts.map +1 -1
- package/development/sidebar/sidebar-close-button/sidebar-close-button.component.js +1 -1
- package/development/sidebar/sidebar-title/sidebar-title.component.d.ts.map +1 -1
- package/development/sidebar/sidebar-title/sidebar-title.component.js +1 -1
- package/development/{sidebar-close-button.component-CC0QzPhd.js → sidebar-close-button.component-Dz6l27_H.js} +2 -2
- package/development/{sidebar-title.component-CS3CJ0To.js → sidebar-title.component-BGlNsXi6.js} +2 -2
- package/development/sidebar.js +2 -2
- package/development/sidebar.pure.js +2 -2
- package/development/skiplink-list/skiplink-list.component.d.ts.map +1 -1
- package/development/skiplink-list/skiplink-list.component.js +1 -1
- package/development/{skiplink-list.component-wKB19gkw.js → skiplink-list.component-uY9Pkn0A.js} +2 -6
- package/development/skiplink-list.js +1 -1
- package/development/skiplink-list.pure.js +1 -1
- package/development/{sticky-bar.component-MMBSPa2B.js → sticky-bar.component-CVKi_65S.js} +3 -3
- package/development/{tab-group.component-CxuecHpZ.js → tab-group.component-B56RhxCr.js} +2 -2
- package/development/{tab-nav-bar.component-meiT_l0B.js → tab-nav-bar.component-DA2ZuWak.js} +1 -2
- package/development/tabs/tab-group/tab-group.component.d.ts.map +1 -1
- package/development/tabs/tab-group/tab-group.component.js +1 -1
- package/development/tabs/tab-nav-bar/tab-nav-bar.component.d.ts.map +1 -1
- package/development/tabs/tab-nav-bar/tab-nav-bar.component.js +1 -1
- package/development/tabs.js +2 -2
- package/development/tabs.pure.js +2 -2
- package/development/tag/tag-group/tag-group.component.d.ts.map +1 -1
- package/development/tag/tag-group/tag-group.component.js +1 -1
- package/development/tag-group.component-BToOrf6_.js +196 -0
- package/development/tag.js +1 -1
- package/development/tag.pure.js +1 -1
- package/development/teaser-product/common/teaser-product-common.d.ts.map +1 -1
- package/development/teaser-product/common/teaser-product-common.js +1 -1
- package/development/teaser-product/teaser-product/teaser-product.component.d.ts.map +1 -1
- package/development/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/development/teaser-product/teaser-product-static/teaser-product-static.component.d.ts +0 -2
- package/development/teaser-product/teaser-product-static/teaser-product-static.component.d.ts.map +1 -1
- package/development/teaser-product/teaser-product-static/teaser-product-static.component.js +1 -4
- package/development/{teaser-product-common-BzWTIGcp.js → teaser-product-common-ChG0_NH6.js} +3 -8
- package/development/{teaser-product.component-C0WLn7xi.js → teaser-product.component-EpVRs6g3.js} +2 -2
- package/development/teaser-product.js +2 -2
- package/development/teaser-product.pure.js +2 -2
- package/development/timetable-form/timetable-form-field/timetable-form-field.component.d.ts.map +1 -1
- package/development/timetable-form/timetable-form-field/timetable-form-field.component.js +1 -1
- package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts.map +1 -1
- package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +1 -1
- package/development/{timetable-form-field.component-BrlJuDx4.js → timetable-form-field.component-CoV4V8Lv.js} +2 -2
- package/development/{timetable-form-swap-button.component-Cz3FAIVE.js → timetable-form-swap-button.component-B68AZbbq.js} +2 -2
- package/development/timetable-form.js +2 -2
- package/development/timetable-form.pure.js +2 -2
- package/development/timetable-occupancy-icon/timetable-occupancy-icon.component.d.ts.map +1 -1
- package/development/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
- package/development/{timetable-occupancy-icon.component-Bi8hQJfy.js → timetable-occupancy-icon.component-CVdSBTO9.js} +2 -2
- package/development/timetable-occupancy-icon.js +1 -1
- package/development/timetable-occupancy-icon.pure.js +1 -1
- package/development/title/title.component.d.ts.map +1 -1
- package/development/title/title.component.js +1 -1
- package/development/{title.component-CbbTO4LU.js → title.component-A-ng32xE.js} +2 -2
- package/development/title.js +1 -1
- package/development/title.pure.js +1 -1
- package/development/train/train/train.component.d.ts.map +1 -1
- package/development/train/train/train.component.js +1 -1
- package/development/train/train-formation/train-formation.component.d.ts.map +1 -1
- package/development/train/train-formation/train-formation.component.js +1 -1
- package/development/train/train-wagon-common.d.ts.map +1 -1
- package/development/train/train-wagon-common.js +1 -1
- package/development/{train-formation.component-CT9XEGMW.js → train-formation.component-BCI6okR1.js} +1 -2
- package/development/{train-wagon-common-F03qDEN2.js → train-wagon-common-rq0Ptt97.js} +3 -8
- package/development/{train.component-BYo4x9no.js → train.component-Dc4unzp3.js} +2 -6
- package/development/train.js +3 -3
- package/development/train.pure.js +3 -3
- package/dialog/dialog-actions/dialog-actions.component.js +1 -1
- package/dialog/dialog-close-button/dialog-close-button.component.js +1 -1
- package/dialog/dialog-title/dialog-title.component.js +1 -1
- package/{dialog-actions.component-CqeDlr0B.js → dialog-actions.component-DGqZm5YQ.js} +1 -1
- package/{dialog-close-button.component-DuiEzbQJ.js → dialog-close-button.component-DB8SqzCb.js} +1 -1
- package/{dialog-title.component-DLD2RVTt.js → dialog-title.component-CxGEDHF8.js} +1 -1
- package/dialog.js +3 -3
- package/dialog.pure.js +3 -3
- package/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
- package/{expansion-panel-header.component-BEpspobZ.js → expansion-panel-header.component-BecyqC-C.js} +1 -1
- package/expansion-panel.js +1 -1
- package/expansion-panel.pure.js +1 -1
- package/form-field/form-field-text-counter/form-field-text-counter.component.js +0 -3
- package/header/common/header-action-common.js +1 -1
- package/{header-action-common-yOZmEFZa.js → header-action-common-LmhQeks_.js} +46 -53
- package/header.js +1 -1
- package/header.pure.js +1 -1
- package/{inline-link-common-saTIMWz0.js → inline-link-common-afDDbZ-k.js} +2 -2
- package/journey-header/journey-header.component.js +1 -1
- package/{journey-header.component-5JGTTMs7.js → journey-header.component-B7R7bNJZ.js} +1 -5
- package/journey-header.js +1 -1
- package/journey-header.pure.js +1 -1
- package/link/common/block-link-common.js +1 -1
- package/link/common/inline-link-common.js +1 -1
- package/link/common/link-common.js +1 -1
- package/{link-common-DPzMQFnE.js → link-common-D836V2nr.js} +3 -8
- package/link-list/common/link-list-base.js +1 -1
- package/link-list/link-list.component.js +1 -1
- package/link-list-anchor/link-list-anchor.component.js +1 -1
- package/{link-list-anchor.component-C3z8Q5V2.js → link-list-anchor.component-DfNod1F3.js} +1 -1
- package/link-list-anchor.js +1 -1
- package/link-list-anchor.pure.js +1 -1
- package/{link-list-base-DQL62JCi.js → link-list-base-DfOgyR8E.js} +1 -5
- package/{link-list.component-D69GdXfA.js → link-list.component-C_mSHB4h.js} +2 -2
- package/link-list.js +2 -2
- package/link-list.pure.js +2 -2
- package/link.js +3 -3
- package/link.pure.js +3 -3
- package/menu/common/menu-action-common.js +1 -1
- package/{menu-action-common-C0pXDwH9.js → menu-action-common-qkxdgw3d.js} +3 -8
- package/menu.js +1 -1
- package/menu.pure.js +1 -1
- package/{mini-button-group.component-t9YZBv-8.js → mini-button-group.component-BHbNqePj.js} +1 -5
- package/navigation/common/navigation-action-common.js +1 -1
- package/navigation/navigation-list/navigation-list.component.js +1 -1
- package/navigation/navigation-marker/navigation-marker.component.js +1 -1
- package/{navigation-action-common-BoxkAi8d.js → navigation-action-common-DdyVJJjU.js} +1 -5
- package/{navigation-list.component-DbaRXKc8.js → navigation-list.component-DhR9V87U.js} +1 -5
- package/{navigation-marker.component-KLFGeUft.js → navigation-marker.component-B6bGeKeo.js} +1 -5
- package/navigation.js +3 -3
- package/navigation.pure.js +3 -3
- package/option/option/option.component.js +1 -1
- package/{option.component-DCBEIrw4.js → option.component-QwHFIP3m.js} +2 -2
- package/option.js +1 -1
- package/option.pure.js +1 -1
- package/overlay/overlay.component.js +1 -1
- package/{overlay.component-DNFt8QLV.js → overlay.component-B00EoAd5.js} +1 -1
- package/overlay.js +1 -1
- package/overlay.pure.js +1 -1
- package/package.json +2 -2
- package/paginator/common/paginator-common.js +263 -270
- package/paginator/compact-paginator/compact-paginator.component.js +1 -1
- package/paginator/paginator/paginator.component.js +1 -1
- package/{paginator.component-BtBmabiW.js → paginator.component-BHKLJn4y.js} +1 -1
- package/paginator.js +2 -2
- package/paginator.pure.js +2 -2
- package/{panel-mixin-DcdteEmP.js → panel-mixin-755CTCLW.js} +1 -5
- package/radio-button/common/radio-button-common.js +1 -1
- package/radio-button/radio-button.component.js +1 -1
- package/{radio-button-common-CowDWcBS.js → radio-button-common-nP0appXU.js} +75 -82
- package/radio-button-panel/radio-button-panel.component.js +1 -1
- package/{radio-button.component-B80224NM.js → radio-button.component-0DmkhN7g.js} +2 -2
- package/radio-button.js +2 -2
- package/radio-button.pure.js +2 -2
- package/sidebar/sidebar-close-button/sidebar-close-button.component.js +1 -1
- package/sidebar/sidebar-title/sidebar-title.component.js +1 -1
- package/{sidebar-close-button.component-DZNZH9Zo.js → sidebar-close-button.component-L5ydAilf.js} +1 -1
- package/{sidebar-title.component-CBlyUcJi.js → sidebar-title.component-D6btDsb8.js} +1 -1
- package/sidebar.js +2 -2
- package/sidebar.pure.js +2 -2
- package/skiplink-list/skiplink-list.component.js +1 -1
- package/{skiplink-list.component-D9xJZ_t5.js → skiplink-list.component-BeBbIsNv.js} +1 -5
- package/skiplink-list.js +1 -1
- package/skiplink-list.pure.js +1 -1
- package/{sticky-bar.component-B_cdkr-V.js → sticky-bar.component-C3ey8Qj8.js} +2 -2
- package/{tab-group.component-CYbbE0J6.js → tab-group.component-C02ZTjXT.js} +1 -1
- package/{tab-nav-bar.component-3bbum8b-.js → tab-nav-bar.component-CPaV9kxe.js} +0 -1
- package/tabs/tab-group/tab-group.component.js +1 -1
- package/tabs/tab-nav-bar/tab-nav-bar.component.js +1 -1
- package/tabs.js +2 -2
- package/tabs.pure.js +2 -2
- package/tag/tag-group/tag-group.component.js +1 -1
- package/{tag-group.component-CBYyds-0.js → tag-group.component-BIhED38z.js} +1 -5
- package/tag.js +1 -1
- package/tag.pure.js +1 -1
- package/teaser-product/common/teaser-product-common.js +1 -1
- package/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/teaser-product/teaser-product-static/teaser-product-static.component.js +0 -3
- package/{teaser-product-common-CtbFDRqf.js → teaser-product-common-BCb5GBo9.js} +46 -53
- package/{teaser-product.component-BO58I4Hg.js → teaser-product.component-kf1XTKTq.js} +1 -1
- package/teaser-product.js +2 -2
- package/teaser-product.pure.js +2 -2
- package/timetable-form/timetable-form-field/timetable-form-field.component.js +1 -1
- package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +1 -1
- package/{timetable-form-field.component-D1-gyKZB.js → timetable-form-field.component-Bb2bhSEk.js} +1 -1
- package/{timetable-form-swap-button.component-DsuJq-fr.js → timetable-form-swap-button.component-WNC4q9ml.js} +1 -1
- package/timetable-form.js +2 -2
- package/timetable-form.pure.js +2 -2
- package/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
- package/{timetable-occupancy-icon.component-DKhtb4y_.js → timetable-occupancy-icon.component-DVdAxNOy.js} +1 -1
- package/timetable-occupancy-icon.js +1 -1
- package/timetable-occupancy-icon.pure.js +1 -1
- package/title/title.component.js +1 -1
- package/{title.component-D52MY-b3.js → title.component-DSKezSdR.js} +1 -1
- package/title.js +1 -1
- package/title.pure.js +1 -1
- package/train/train/train.component.js +1 -1
- package/train/train-formation/train-formation.component.js +1 -1
- package/train/train-wagon-common.js +1 -1
- package/{train-formation.component-mZej4Z1v.js → train-formation.component-DLbC60V8.js} +0 -1
- package/{train-wagon-common-Chw0-9Xv.js → train-wagon-common-qxnkLA4J.js} +274 -281
- package/{train.component-iMqXsF19.js → train.component-CMLK46ds.js} +1 -5
- package/train.js +3 -3
- package/train.pure.js +3 -3
- package/development/tag-group.component-L1wyub-I.js +0 -200
|
@@ -2,18 +2,18 @@ import { SbbTrainFormationOrientationMixin as e } from "./train/train-formation-
|
|
|
2
2
|
import { __esDecorate as t, __runInitializers as n } from "tslib";
|
|
3
3
|
import { isServer as r, nothing as i, unsafeCSS as a } from "lit";
|
|
4
4
|
import { property as o, state as s } from "lit/decorators.js";
|
|
5
|
-
import { SbbLanguageController as c, SbbNamedSlotListMixin as l, SbbPropertyWatcherController as
|
|
6
|
-
import { html as
|
|
7
|
-
import { SbbDividerElement as
|
|
8
|
-
import { SbbIconElement as
|
|
9
|
-
import { SbbTimetableOccupancyIconElement as
|
|
10
|
-
import { when as
|
|
5
|
+
import { SbbLanguageController as c, SbbNamedSlotListMixin as l, SbbPropertyWatcherController as ee, boxSizingStyles as te, forceType as u, handleDistinctChange as d, i18nAdditionalWagonInformationHeading as f, i18nAnd as p, i18nBlockedPassage as m, i18nClass as h, i18nClosedCompartmentLabel as g, i18nCouchetteWagonLabel as _, i18nLocomotiveLabel as v, i18nRestaurantWagonLabel as ne, i18nSector as re, i18nSleepingWagonLabel as ie, i18nWagonLabel as ae, i18nWagonLabelNumber as oe, omitEmptyConverter as y } from "./core.js";
|
|
6
|
+
import { html as b } from "lit/static-html.js";
|
|
7
|
+
import { SbbDividerElement as x } from "./divider.pure.js";
|
|
8
|
+
import { SbbIconElement as S } from "./icon.pure.js";
|
|
9
|
+
import { SbbTimetableOccupancyIconElement as C } from "./timetable-occupancy-icon.pure.js";
|
|
10
|
+
import { when as w } from "lit/directives/when.js";
|
|
11
11
|
//#region src/elements/train/train-wagon-common.scss?inline
|
|
12
|
-
var
|
|
12
|
+
var T = ":host{--sbb-train-wagon-transition-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-2x) );display:block;font-size:var(--sbb-train-wagon-font-size);letter-spacing:var(--sbb-typo-letter-spacing-text);outline:none!important}:host([wagon-type=closed]){--sbb-train-wagon-crossed-shape-display: block}@media(forced-colors:active){:host([wagon-type=closed]){--sbb-train-wagon-shape-color: GrayText}}:host(:is(:state(view-side),[state--view-side])[wagon-type=wagon-end-left]){--sbb-train-wagon-padding-inline: var(--sbb-spacing-fixed-4x) var(--sbb-spacing-fixed-3x)}:host(:is(:state(view-side),[state--view-side])[wagon-type=wagon-end-right]){--sbb-train-wagon-padding-inline: var(--sbb-spacing-fixed-3x) var(--sbb-spacing-fixed-4x)}:host(:is(:state(view-side),[state--view-side])[wagon-type=locomotive]){--sbb-train-wagon-padding-inline: var(--sbb-spacing-fixed-4x)}:host(:is(:state(view-top),[state--view-top])){--sbb-train-wagon-border-radius: var(--sbb-border-radius-4x)}:host([label]){--_sbb-train-wagon-attributes-max-width: var(--sbb-train-wagon-attributes-max-width)}:host(:not([label])){--_sbb-train-wagon-attributes-justify-content: center}:host(.sbb-active){--sbb-train-wagon-border-width: var(--sbb-border-width-3x)}:host(:is(:state(action),[state--action])){cursor:var(--sbb-cursor-pointer)}@media(forced-colors:active){:host(:is(:state(link),[state--link])){--sbb-train-wagon-shape-color: LinkText}}.sbb-train-wagon-link{outline:none;color:inherit;text-decoration:none}.sbb-train-wagon{display:flex;flex-direction:var(--_sbb-train-formation-flex-direction-inverted);align-items:center;width:var(--_sbb-train-formation-wagon-width);gap:var(--sbb-train-wagon-vertical-gap);position:relative}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon{width:auto;height:var(--_sbb-train-formation-wagon-height)}.sbb-train-wagon:before{content:\"\";position:absolute;width:var(--_sbb-train-formation-wagon-width);height:var(--_sbb-train-formation-wagon-height);border-radius:var(--sbb-train-wagon-border-radius)}:host(:is(:state(button),[state--button]):focus-visible) .sbb-train-wagon:before,.sbb-train-wagon-link:focus-visible .sbb-train-wagon:before{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width)}.sbb-train-wagon__compartment{list-style:none;margin:0;padding:0;font-size:inherit;display:flex;flex-direction:var(--_sbb-train-formation-flex-direction);justify-content:center;padding-inline:var(--sbb-train-wagon-padding-inline);-webkit-mask-image:var(--_sbb-train-wagon-clip-shape-compartment);mask-image:var(--_sbb-train-wagon-clip-shape-compartment);transition:background-color var(--sbb-train-wagon-transition-duration) var(--sbb-animation-easing)}@media(any-hover:hover){:host(:is(:state(action),[state--action]):hover) .sbb-train-wagon__compartment{background-color:var(--sbb-train-wagon-background-color-hover)}}:host(:is(:state(action),[state--action]):is(:active,:is(:state(active),[state--active]))) .sbb-train-wagon__compartment{background-color:var(--sbb-train-wagon-background-color-active)}.sbb-train-wagon__compartment:has(.sbb-train-wagon__occupancy):has(.sbb-train-wagon__class){justify-content:space-between}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon__compartment{padding-inline:0;padding-block:var(--sbb-train-wagon-padding-inline)}.sbb-train-wagon__compartment,.sbb-train-wagon__main-icon{width:var(--_sbb-train-formation-wagon-width);height:var(--_sbb-train-formation-wagon-height)}.sbb-train-wagon__shape{position:absolute;inset:0;width:var(--sbb-train-formation-wagon-dimension-long);height:var(--sbb-train-formation-wagon-dimension-short);transform-origin:0 0;will-change:transform}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon__shape{rotate:-90deg;transform:scaleX(-1)}.sbb-train-wagon__shape{-webkit-mask-image:var(--_sbb-train-wagon-clip-shape);mask-image:var(--_sbb-train-wagon-clip-shape);pointer-events:none;fill:none;stroke:var(--sbb-train-wagon-shape-color);stroke-width:calc(var(--sbb-train-wagon-border-width) * 2)}.sbb-train-wagon__main-icon{--sbb-icon-svg-height: var(--sbb-train-wagon-main-icon-height);position:absolute;inset:0;display:flex;justify-content:center;align-items:center}.sbb-train-wagon__shape-closed{display:var(--sbb-train-wagon-crossed-shape-display, none);stroke-width:var(--sbb-border-width-1x)}.sbb-train-wagon__occupancy,.sbb-train-wagon__class{height:var(--_sbb-train-formation-wagon-height);flex-direction:var(--_sbb-train-formation-flex-direction);display:flex;align-items:center;justify-content:center}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon__occupancy,:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon__class{height:auto;width:var(--_sbb-train-formation-wagon-width)}.sbb-train-wagon__occupancy{--sbb-icon-svg-height: var(--sbb-train-wagon-occupancy-height);grid-area:occupancy}.sbb-train-wagon__class{gap:.0625rem;order:1}.sbb-train-wagon__class-entry{display:flex;align-items:center;justify-content:center;width:var(--sbb-train-wagon-class-dimension);height:var(--sbb-train-wagon-class-dimension);border:var(--sbb-train-wagon-class-border);background-color:var(--sbb-train-wagon-class-background-color);border-radius:var(--sbb-train-wagon-class-border-radius);font-weight:var(--sbb-train-wagon-class-font-weight);color:var(--sbb-train-wagon-class-color);position:relative;line-height:1}.sbb-train-wagon__class-entry.first:before{content:\"\";position:absolute;background-color:var(--sbb-train-wagon-class-first-color);border-end-end-radius:var(--sbb-train-wagon-class-first-border-radius)}:host(:not(:is(:state(orientation-vertical),[state--orientation-vertical]))) .sbb-train-wagon__class-entry.first:before{height:var(--sbb-train-wagon-class-first-thickness);width:var(--sbb-train-wagon-class-dimension);inset:calc(-.5 * (var(--_sbb-train-formation-wagon-height) - var(--sbb-train-wagon-class-dimension)) + var(--sbb-train-wagon-border-width) - var(--sbb-train-wagon-class-border-width)) 0 auto calc(-1 * var(--sbb-train-wagon-class-border-width));border-end-start-radius:var(--sbb-train-wagon-class-first-border-radius)}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon__class-entry.first:before{width:var(--sbb-train-wagon-class-first-thickness);height:var(--sbb-train-wagon-class-dimension);inset:calc(-1 * var(--sbb-train-wagon-class-border-width)) auto 0 calc(-.5 * (var(--_sbb-train-formation-wagon-width) - var(--sbb-train-wagon-class-dimension)) + var(--sbb-train-wagon-border-width) - var(--sbb-train-wagon-class-border-width));border-start-end-radius:var(--sbb-train-wagon-class-first-border-radius)}.sbb-train-wagon__information-wrapper{display:flex;align-items:start;flex-direction:var(--_sbb-train-formation-flex-direction);gap:var(--sbb-train-wagon-information-gap)}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon__information-wrapper{min-width:var(--sbb-train-wagon-information-min-width)}.sbb-train-wagon__information-wrapper[hidden]{display:none}:is(.sbb-train-wagon__label,.sbb-train-wagon__label-divider){margin-block-start:calc(.5 * (1em * var(--sbb-typo-line-height-text) - var(--sbb-train-wagon-font-size)))}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) :is(.sbb-train-wagon__label,.sbb-train-wagon__label-divider){margin-block-start:0}.sbb-train-wagon__label{line-height:1}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon__label{max-width:var(--sbb-train-wagon-information-min-width);width:100%;text-align:center}.sbb-train-wagon__label-divider{height:var(--sbb-train-wagon-font-size)}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon__label-divider{height:auto;width:var(--sbb-train-wagon-font-size);margin-inline-start:calc(.5 * (var(--sbb-train-wagon-information-min-width) - var(--sbb-train-wagon-font-size)))}.sbb-train-wagon__attribute-icon-list{list-style:none;margin:0;padding:0;font-size:inherit;--sbb-icon-svg-height: var(--sbb-train-wagon-attribute-icon-height);display:flex;justify-content:var(--_sbb-train-wagon-attributes-justify-content, start);flex-wrap:wrap;gap:var(--sbb-train-wagon-attribute-icon-gap);color:var(--sbb-train-wagon-attribute-icon-color);padding-block-start:calc(.5 * (1em * var(--sbb-typo-line-height-text) - var(--sbb-train-wagon-attribute-icon-height)));max-width:var(--_sbb-train-wagon-attributes-max-width)}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon__attribute-icon-list{max-width:calc(var(--_sbb-train-wagon-attributes-icon-columns) * var(--sbb-train-wagon-attributes-mean-width));max-height:calc(var(--_sbb-train-wagon-attributes-icon-rows, 3) * var(--sbb-train-wagon-attribute-icon-height) + (var(--_sbb-train-wagon-attributes-icon-rows, 3) - 1) * var(--sbb-train-wagon-attribute-icon-gap));padding-block-start:0;justify-content:center;width:100%}.sbb-train-wagon__attribute-icon-list>:is(li,span){display:inline-flex}", E = {
|
|
13
13
|
couchette: "sa-cc",
|
|
14
14
|
sleeping: "sa-wl",
|
|
15
15
|
restaurant: "sa-wr"
|
|
16
|
-
},
|
|
16
|
+
}, D = {
|
|
17
17
|
wagon: {
|
|
18
18
|
side: "M12 0H72A12 12 0 0184 12V24A12 12 0 0172 36H12A12 12 0 010 24V12A12 12 0 0112 0Z",
|
|
19
19
|
top: "M8 0A8 8 0 000 8V28a8 8 0 008 8H76a8 8 0 008-8V8A8 8 0 0076 0H8Z"
|
|
@@ -30,296 +30,290 @@ var D = ":host{--sbb-train-wagon-transition-duration: var( --sbb-disable-animati
|
|
|
30
30
|
side: "M76.3 8.6A16 16 0 0062 0H12C6 0 0 6 0 13v11c0 6 6 12 12 12h58.4c8.6 0 15-9.9 10.4-17.9z",
|
|
31
31
|
top: "M66 0H8C4 0 0 4 0 8V28c0 4 4 8 8 8H66c9.75 0 17.5-8.25 17.5-18S76 0 66 0Z"
|
|
32
32
|
}
|
|
33
|
-
},
|
|
34
|
-
let
|
|
35
|
-
return
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
p((e) => e._sectorChanged()),
|
|
46
|
-
o({
|
|
47
|
-
reflect: !0,
|
|
48
|
-
converter: x
|
|
49
|
-
})
|
|
50
|
-
], z = [o({ attribute: "blocked-passage" })], H = [o({ attribute: "wagon-class" })], G = [f(), o({
|
|
33
|
+
}, O = (O) => (() => {
|
|
34
|
+
let k = e(l(O)), A, j = [], M = [], N, P = [], F = [], I, L = [], R = [], z, B = [], V = [], H, U = [], W = [], G, K = [], q = [], J, Y = [], X = [], Z, Q = [], $ = [];
|
|
35
|
+
return class extends k {
|
|
36
|
+
static {
|
|
37
|
+
let e = typeof Symbol == "function" && Symbol.metadata ? Object.create(k[Symbol.metadata] ?? null) : void 0;
|
|
38
|
+
A = [o({
|
|
39
|
+
attribute: "wagon-type",
|
|
40
|
+
reflect: !0
|
|
41
|
+
})], N = [o()], I = [
|
|
42
|
+
u(),
|
|
43
|
+
d((e) => e._sectorChanged()),
|
|
44
|
+
o({
|
|
51
45
|
reflect: !0,
|
|
52
|
-
converter:
|
|
53
|
-
})
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
46
|
+
converter: y
|
|
47
|
+
})
|
|
48
|
+
], z = [o({ attribute: "blocked-passage" })], H = [o({ attribute: "wagon-class" })], G = [u(), o({
|
|
49
|
+
reflect: !0,
|
|
50
|
+
converter: y
|
|
51
|
+
})], J = [u(), o({ attribute: "additional-accessibility-text" })], Z = [s()], t(this, null, A, {
|
|
52
|
+
kind: "accessor",
|
|
53
|
+
name: "wagonType",
|
|
54
|
+
static: !1,
|
|
55
|
+
private: !1,
|
|
56
|
+
access: {
|
|
57
|
+
has: (e) => "wagonType" in e,
|
|
58
|
+
get: (e) => e.wagonType,
|
|
59
|
+
set: (e, t) => {
|
|
60
|
+
e.wagonType = t;
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
metadata: e
|
|
64
|
+
}, j, M), t(this, null, N, {
|
|
65
|
+
kind: "accessor",
|
|
66
|
+
name: "occupancy",
|
|
67
|
+
static: !1,
|
|
68
|
+
private: !1,
|
|
69
|
+
access: {
|
|
70
|
+
has: (e) => "occupancy" in e,
|
|
71
|
+
get: (e) => e.occupancy,
|
|
72
|
+
set: (e, t) => {
|
|
73
|
+
e.occupancy = t;
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
metadata: e
|
|
77
|
+
}, P, F), t(this, null, I, {
|
|
78
|
+
kind: "accessor",
|
|
79
|
+
name: "sector",
|
|
80
|
+
static: !1,
|
|
81
|
+
private: !1,
|
|
82
|
+
access: {
|
|
83
|
+
has: (e) => "sector" in e,
|
|
84
|
+
get: (e) => e.sector,
|
|
85
|
+
set: (e, t) => {
|
|
86
|
+
e.sector = t;
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
metadata: e
|
|
90
|
+
}, L, R), t(this, null, z, {
|
|
91
|
+
kind: "accessor",
|
|
92
|
+
name: "blockedPassage",
|
|
93
|
+
static: !1,
|
|
94
|
+
private: !1,
|
|
95
|
+
access: {
|
|
96
|
+
has: (e) => "blockedPassage" in e,
|
|
97
|
+
get: (e) => e.blockedPassage,
|
|
98
|
+
set: (e, t) => {
|
|
99
|
+
e.blockedPassage = t;
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
metadata: e
|
|
103
|
+
}, B, V), t(this, null, H, {
|
|
104
|
+
kind: "accessor",
|
|
105
|
+
name: "wagonClass",
|
|
106
|
+
static: !1,
|
|
107
|
+
private: !1,
|
|
108
|
+
access: {
|
|
109
|
+
has: (e) => "wagonClass" in e,
|
|
110
|
+
get: (e) => e.wagonClass,
|
|
111
|
+
set: (e, t) => {
|
|
112
|
+
e.wagonClass = t;
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
metadata: e
|
|
116
|
+
}, U, W), t(this, null, G, {
|
|
117
|
+
kind: "accessor",
|
|
118
|
+
name: "label",
|
|
119
|
+
static: !1,
|
|
120
|
+
private: !1,
|
|
121
|
+
access: {
|
|
122
|
+
has: (e) => "label" in e,
|
|
123
|
+
get: (e) => e.label,
|
|
124
|
+
set: (e, t) => {
|
|
125
|
+
e.label = t;
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
metadata: e
|
|
129
|
+
}, K, q), t(this, null, J, {
|
|
130
|
+
kind: "accessor",
|
|
131
|
+
name: "additionalAccessibilityText",
|
|
132
|
+
static: !1,
|
|
133
|
+
private: !1,
|
|
134
|
+
access: {
|
|
135
|
+
has: (e) => "additionalAccessibilityText" in e,
|
|
136
|
+
get: (e) => e.additionalAccessibilityText,
|
|
137
|
+
set: (e, t) => {
|
|
138
|
+
e.additionalAccessibilityText = t;
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
metadata: e
|
|
142
|
+
}, Y, X), t(this, null, Z, {
|
|
143
|
+
kind: "accessor",
|
|
144
|
+
name: "_view",
|
|
145
|
+
static: !1,
|
|
146
|
+
private: !1,
|
|
147
|
+
access: {
|
|
148
|
+
has: (e) => "_view" in e,
|
|
149
|
+
get: (e) => e._view,
|
|
150
|
+
set: (e, t) => {
|
|
151
|
+
e._view = t;
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
metadata: e
|
|
155
|
+
}, Q, $), e && Object.defineProperty(this, Symbol.metadata, {
|
|
156
|
+
enumerable: !0,
|
|
157
|
+
configurable: !0,
|
|
158
|
+
writable: !0,
|
|
159
|
+
value: e
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
static {
|
|
163
|
+
this.elementDependencies = [
|
|
164
|
+
S,
|
|
165
|
+
C,
|
|
166
|
+
x
|
|
167
|
+
];
|
|
168
|
+
}
|
|
169
|
+
static {
|
|
170
|
+
this.styles = [te, a(T)];
|
|
171
|
+
}
|
|
172
|
+
#e;
|
|
173
|
+
get wagonType() {
|
|
174
|
+
return this.#e;
|
|
175
|
+
}
|
|
176
|
+
set wagonType(e) {
|
|
177
|
+
this.#e = e;
|
|
178
|
+
}
|
|
179
|
+
#t;
|
|
180
|
+
get occupancy() {
|
|
181
|
+
return this.#t;
|
|
182
|
+
}
|
|
183
|
+
set occupancy(e) {
|
|
184
|
+
this.#t = e;
|
|
185
|
+
}
|
|
186
|
+
#n;
|
|
187
|
+
get sector() {
|
|
188
|
+
return this.#n;
|
|
189
|
+
}
|
|
190
|
+
set sector(e) {
|
|
191
|
+
this.#n = e;
|
|
192
|
+
}
|
|
193
|
+
#r;
|
|
194
|
+
get blockedPassage() {
|
|
195
|
+
return this.#r;
|
|
196
|
+
}
|
|
197
|
+
set blockedPassage(e) {
|
|
198
|
+
this.#r = e;
|
|
199
|
+
}
|
|
200
|
+
#i;
|
|
201
|
+
get wagonClass() {
|
|
202
|
+
return this.#i;
|
|
203
|
+
}
|
|
204
|
+
set wagonClass(e) {
|
|
205
|
+
this.#i = e;
|
|
206
|
+
}
|
|
207
|
+
#a;
|
|
208
|
+
get label() {
|
|
209
|
+
return this.#a;
|
|
210
|
+
}
|
|
211
|
+
set label(e) {
|
|
212
|
+
this.#a = e;
|
|
213
|
+
}
|
|
214
|
+
#o;
|
|
215
|
+
get additionalAccessibilityText() {
|
|
216
|
+
return this.#o;
|
|
217
|
+
}
|
|
218
|
+
set additionalAccessibilityText(e) {
|
|
219
|
+
this.#o = e;
|
|
220
|
+
}
|
|
221
|
+
#s;
|
|
222
|
+
get _view() {
|
|
223
|
+
return this.#s;
|
|
224
|
+
}
|
|
225
|
+
set _view(e) {
|
|
226
|
+
this.#s = e;
|
|
227
|
+
}
|
|
228
|
+
constructor(...e) {
|
|
229
|
+
super(...e), this.#e = n(this, j, "wagon"), this.listChildLocalNames = (n(this, M), ["sbb-icon"]), this.#t = n(this, P, null), this.#n = (n(this, F), n(this, L, "")), this.#r = (n(this, R), n(this, B, "none")), this.#i = (n(this, V), n(this, U, null)), this.#a = (n(this, W), n(this, K, "")), this.#o = (n(this, q), n(this, Y, "")), this.#s = (n(this, X), n(this, Q, null)), this._language = (n(this, $), new c(this)), this._clipStyleSheet = null, this.addController(new ee(this, () => this.closest("sbb-train-formation"), { view: (e) => {
|
|
230
|
+
this._view && this.internals.states.delete(`view-${this._view}`), this._view = e.view, this._view && this.internals.states.add(`view-${this._view}`);
|
|
231
|
+
} }));
|
|
232
|
+
}
|
|
233
|
+
createRenderRoot() {
|
|
234
|
+
let e = super.createRenderRoot();
|
|
235
|
+
return r || (this._clipStyleSheet = new CSSStyleSheet(), e.adoptedStyleSheets.push(this._clipStyleSheet)), e;
|
|
236
|
+
}
|
|
237
|
+
_sectorChanged() {
|
|
238
|
+
this.dispatchEvent(new Event("sectorchange", {
|
|
239
|
+
bubbles: !0,
|
|
240
|
+
composed: !0
|
|
241
|
+
}));
|
|
242
|
+
}
|
|
243
|
+
_wagonTypeLabel() {
|
|
244
|
+
switch (this.wagonType) {
|
|
245
|
+
case "closed": return g[this._language.current];
|
|
246
|
+
case "locomotive": return v[this._language.current];
|
|
247
|
+
case "couchette": return _[this._language.current];
|
|
248
|
+
case "sleeping": return ie[this._language.current];
|
|
249
|
+
case "restaurant": return ne[this._language.current];
|
|
250
|
+
default: return ae[this._language.current];
|
|
163
251
|
}
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
252
|
+
}
|
|
253
|
+
_wagonShape() {
|
|
254
|
+
let e = this._view ?? "side";
|
|
255
|
+
return [
|
|
256
|
+
"wagon",
|
|
257
|
+
"couchette",
|
|
258
|
+
"sleeping",
|
|
259
|
+
"restaurant",
|
|
260
|
+
"closed"
|
|
261
|
+
].includes(this.wagonType) ? D.wagon[e] : D[this.wagonType][e] ?? D.wagon[e];
|
|
262
|
+
}
|
|
263
|
+
_classLabel() {
|
|
264
|
+
switch (this.wagonClass) {
|
|
265
|
+
case "1": return h.first[this._language.current];
|
|
266
|
+
case "2": return h.second[this._language.current];
|
|
267
|
+
case "1-2": return `${h.first[this._language.current]} ${p[this._language.current]} ${h.second[this._language.current]}`;
|
|
268
|
+
case "2-1": return `${h.second[this._language.current]} ${p[this._language.current]} ${h.first[this._language.current]}`;
|
|
269
|
+
default: return "";
|
|
170
270
|
}
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
d,
|
|
175
|
-
a(D)
|
|
176
|
-
];
|
|
177
|
-
}
|
|
178
|
-
#e;
|
|
179
|
-
get wagonType() {
|
|
180
|
-
return this.#e;
|
|
181
|
-
}
|
|
182
|
-
set wagonType(e) {
|
|
183
|
-
this.#e = e;
|
|
184
|
-
}
|
|
185
|
-
#t;
|
|
186
|
-
get occupancy() {
|
|
187
|
-
return this.#t;
|
|
188
|
-
}
|
|
189
|
-
set occupancy(e) {
|
|
190
|
-
this.#t = e;
|
|
191
|
-
}
|
|
192
|
-
#n;
|
|
193
|
-
get sector() {
|
|
194
|
-
return this.#n;
|
|
195
|
-
}
|
|
196
|
-
set sector(e) {
|
|
197
|
-
this.#n = e;
|
|
198
|
-
}
|
|
199
|
-
#r;
|
|
200
|
-
get blockedPassage() {
|
|
201
|
-
return this.#r;
|
|
202
|
-
}
|
|
203
|
-
set blockedPassage(e) {
|
|
204
|
-
this.#r = e;
|
|
205
|
-
}
|
|
206
|
-
#i;
|
|
207
|
-
get wagonClass() {
|
|
208
|
-
return this.#i;
|
|
209
|
-
}
|
|
210
|
-
set wagonClass(e) {
|
|
211
|
-
this.#i = e;
|
|
212
|
-
}
|
|
213
|
-
#a;
|
|
214
|
-
get label() {
|
|
215
|
-
return this.#a;
|
|
216
|
-
}
|
|
217
|
-
set label(e) {
|
|
218
|
-
this.#a = e;
|
|
219
|
-
}
|
|
220
|
-
#o;
|
|
221
|
-
get additionalAccessibilityText() {
|
|
222
|
-
return this.#o;
|
|
223
|
-
}
|
|
224
|
-
set additionalAccessibilityText(e) {
|
|
225
|
-
this.#o = e;
|
|
226
|
-
}
|
|
227
|
-
#s;
|
|
228
|
-
get _view() {
|
|
229
|
-
return this.#s;
|
|
230
|
-
}
|
|
231
|
-
set _view(e) {
|
|
232
|
-
this.#s = e;
|
|
233
|
-
}
|
|
234
|
-
constructor(...e) {
|
|
235
|
-
super(...e), this.#e = n(this, A, "wagon"), this.listChildLocalNames = (n(this, M), ["sbb-icon"]), this.#t = n(this, P, null), this.#n = (n(this, F), n(this, L, "")), this.#r = (n(this, R), n(this, B, "none")), this.#i = (n(this, V), n(this, U, null)), this.#a = (n(this, W), n(this, K, "")), this.#o = (n(this, q), n(this, Y, "")), this.#s = (n(this, X), n(this, Q, null)), this._language = (n(this, $), new c(this)), this._clipStyleSheet = null, this.addController(new u(this, () => this.closest("sbb-train-formation"), { view: (e) => {
|
|
236
|
-
this._view && this.internals.states.delete(`view-${this._view}`), this._view = e.view, this._view && this.internals.states.add(`view-${this._view}`);
|
|
237
|
-
} }));
|
|
238
|
-
}
|
|
239
|
-
createRenderRoot() {
|
|
240
|
-
let e = super.createRenderRoot();
|
|
241
|
-
return r || (this._clipStyleSheet = new CSSStyleSheet(), e.adoptedStyleSheets.push(this._clipStyleSheet)), e;
|
|
242
|
-
}
|
|
243
|
-
_sectorChanged() {
|
|
244
|
-
this.dispatchEvent(new Event("sectorchange", {
|
|
245
|
-
bubbles: !0,
|
|
246
|
-
composed: !0
|
|
247
|
-
}));
|
|
248
|
-
}
|
|
249
|
-
_wagonTypeLabel() {
|
|
250
|
-
switch (this.wagonType) {
|
|
251
|
-
case "closed": return ee[this._language.current];
|
|
252
|
-
case "locomotive": return y[this._language.current];
|
|
253
|
-
case "couchette": return v[this._language.current];
|
|
254
|
-
case "sleeping": return ne[this._language.current];
|
|
255
|
-
case "restaurant": return b[this._language.current];
|
|
256
|
-
default: return re[this._language.current];
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
_wagonShape() {
|
|
260
|
-
let e = this._view ?? "side";
|
|
261
|
-
return [
|
|
262
|
-
"wagon",
|
|
263
|
-
"couchette",
|
|
264
|
-
"sleeping",
|
|
265
|
-
"restaurant",
|
|
266
|
-
"closed"
|
|
267
|
-
].includes(this.wagonType) ? k.wagon[e] : k[this.wagonType][e] ?? k.wagon[e];
|
|
268
|
-
}
|
|
269
|
-
_classLabel() {
|
|
270
|
-
switch (this.wagonClass) {
|
|
271
|
-
case "1": return _.first[this._language.current];
|
|
272
|
-
case "2": return _.second[this._language.current];
|
|
273
|
-
case "1-2": return `${_.first[this._language.current]} ${h[this._language.current]} ${_.second[this._language.current]}`;
|
|
274
|
-
case "2-1": return `${_.second[this._language.current]} ${h[this._language.current]} ${_.first[this._language.current]}`;
|
|
275
|
-
default: return "";
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
renderTemplate() {
|
|
279
|
-
let e = this.wagonType === "wagon-end-left" && this.blockedPassage === "none" ? "previous" : this.wagonType === "wagon-end-right" && this.blockedPassage === "none" ? "next" : this.blockedPassage ?? "none", t = e !== "none", n = +!!this.sector + +!!this.label + +(!!this.wagonClass && this.wagonType !== "closed") + +(!!this.occupancy && this.wagonType !== "closed") + +t, r = `${te[this._language.current]}, ${this.sector}`, a = `${ie[this._language.current]}, ${this.label}`, o = S`<span class="sbb-screen-reader-only">
|
|
271
|
+
}
|
|
272
|
+
renderTemplate() {
|
|
273
|
+
let e = this.wagonType === "wagon-end-left" && this.blockedPassage === "none" ? "previous" : this.wagonType === "wagon-end-right" && this.blockedPassage === "none" ? "next" : this.blockedPassage ?? "none", t = e !== "none", n = +!!this.sector + +!!this.label + +(!!this.wagonClass && this.wagonType !== "closed") + +(!!this.occupancy && this.wagonType !== "closed") + +t, r = `${re[this._language.current]}, ${this.sector}`, a = `${oe[this._language.current]}, ${this.label}`, o = b`<span class="sbb-screen-reader-only">
|
|
280
274
|
${this._classLabel()}
|
|
281
275
|
</span>
|
|
282
|
-
${this.wagonClass?.split("-").map((e) =>
|
|
276
|
+
${this.wagonClass?.split("-").map((e) => b`<span
|
|
283
277
|
aria-hidden="true"
|
|
284
278
|
class="sbb-train-wagon__class-entry ${e === "1" ? "first" : ""}"
|
|
285
279
|
>
|
|
286
280
|
${e}
|
|
287
281
|
</span>`)} `, s = this._wagonShape(), c = this.label ? 3 : 4;
|
|
288
|
-
|
|
282
|
+
return this._clipStyleSheet?.replaceSync(`:host {
|
|
289
283
|
--_sbb-train-wagon-clip-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 36' fill='black'%3E%3Cpath d='${s}' /%3E%3C/svg%3E");
|
|
290
284
|
--_sbb-train-wagon-clip-shape-compartment: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 ${this.orientation === "vertical" ? 36 : 84} ${this.orientation === "vertical" ? 84 : 36}' fill='black'%3E%3Cpath d='${s}'${this.orientation === "vertical" ? " transform='rotate(-90, 0, 0) scale(-1, 1)'" : ""} /%3E%3C/svg%3E");
|
|
291
285
|
--_sbb-train-wagon-attributes-icon-columns: ${Math.ceil(this.listChildren.length / c)};
|
|
292
286
|
--_sbb-train-wagon-attributes-icon-rows: ${c};
|
|
293
|
-
}`),
|
|
287
|
+
}`), b`
|
|
294
288
|
<div class="sbb-train-wagon">
|
|
295
|
-
${
|
|
296
|
-
${this.sector ?
|
|
297
|
-
${this.label ?
|
|
298
|
-
${this.wagonClass && this.wagonType !== "closed" ?
|
|
299
|
-
${this.occupancy && this.wagonType !== "closed" ?
|
|
289
|
+
${w(n > 1, () => b`<ul aria-label=${this._wagonTypeLabel()} class="sbb-train-wagon__compartment">
|
|
290
|
+
${this.sector ? b`<li class="sbb-screen-reader-only">${r}</li>` : i}
|
|
291
|
+
${this.label ? b`<li class="sbb-screen-reader-only">${a}</li>` : i}
|
|
292
|
+
${this.wagonClass && this.wagonType !== "closed" ? b`<li class="sbb-train-wagon__class">${o}</li>` : i}
|
|
293
|
+
${this.occupancy && this.wagonType !== "closed" ? b`<sbb-timetable-occupancy-icon
|
|
300
294
|
class="sbb-train-wagon__occupancy"
|
|
301
295
|
role="listitem"
|
|
302
296
|
occupancy=${this.occupancy}
|
|
303
297
|
></sbb-timetable-occupancy-icon>` : i}
|
|
304
|
-
${t ?
|
|
305
|
-
${
|
|
298
|
+
${t ? b`<li class="sbb-screen-reader-only">
|
|
299
|
+
${m[e][this._language.current]}
|
|
306
300
|
</li>` : i}
|
|
307
|
-
</ul>`, () =>
|
|
301
|
+
</ul>`, () => b`<div class="sbb-train-wagon__compartment">
|
|
308
302
|
<span class="sbb-screen-reader-only">
|
|
309
303
|
${`${this._wagonTypeLabel()}${this.sector ? `, ${r}` : ""}`}
|
|
310
304
|
</span>
|
|
311
|
-
${this.label ?
|
|
312
|
-
${this.wagonClass && this.wagonType !== "closed" ?
|
|
313
|
-
${this.occupancy && this.wagonType !== "closed" ?
|
|
305
|
+
${this.label ? b`<span class="sbb-screen-reader-only">${a}</span>` : i}
|
|
306
|
+
${this.wagonClass && this.wagonType !== "closed" ? b`<span class="sbb-train-wagon__class">${o}</span>` : i}
|
|
307
|
+
${this.occupancy && this.wagonType !== "closed" ? b`<sbb-timetable-occupancy-icon
|
|
314
308
|
class="sbb-train-wagon__occupancy"
|
|
315
309
|
occupancy=${this.occupancy}
|
|
316
310
|
></sbb-timetable-occupancy-icon>` : i}
|
|
317
|
-
${t ?
|
|
318
|
-
${
|
|
311
|
+
${t ? b`<span class="sbb-screen-reader-only">
|
|
312
|
+
${m[e][this._language.current]}
|
|
319
313
|
</span>` : i}
|
|
320
314
|
</div> `)}
|
|
321
|
-
${
|
|
322
|
-
name=${
|
|
315
|
+
${E[this.wagonType] ? b`<sbb-icon
|
|
316
|
+
name=${E[this.wagonType]}
|
|
323
317
|
class="sbb-train-wagon__main-icon"
|
|
324
318
|
></sbb-icon>` : i}
|
|
325
319
|
<svg class="sbb-train-wagon__shape" viewBox="0 0 84 36" aria-hidden="true">
|
|
@@ -333,29 +327,28 @@ var D = ":host{--sbb-train-wagon-transition-duration: var( --sbb-disable-animati
|
|
|
333
327
|
d=${this._view === "top" ? "M81 34L3 3" : "M81 32L4 4"}
|
|
334
328
|
></path>
|
|
335
329
|
</svg>
|
|
336
|
-
${this.additionalAccessibilityText ?
|
|
330
|
+
${this.additionalAccessibilityText ? b`<span class="sbb-screen-reader-only"
|
|
337
331
|
>, ${this.additionalAccessibilityText}</span
|
|
338
332
|
>` : i}
|
|
339
333
|
<span
|
|
340
334
|
class="sbb-train-wagon__information-wrapper"
|
|
341
335
|
?hidden=${!this.listChildren.length && !this.label}
|
|
342
336
|
>
|
|
343
|
-
${this.label ?
|
|
344
|
-
${this.label && this.listChildren.length ?
|
|
337
|
+
${this.label ? b`<span aria-hidden="true" class="sbb-train-wagon__label">${this.label}</span>` : i}
|
|
338
|
+
${this.label && this.listChildren.length ? b`<sbb-divider
|
|
345
339
|
orientation=${this.orientation === "vertical" ? "horizontal" : "vertical"}
|
|
346
340
|
aria-hidden="true"
|
|
347
341
|
class="sbb-train-wagon__label-divider"
|
|
348
342
|
></sbb-divider>` : i}
|
|
349
343
|
${this.renderList({
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
344
|
+
class: "sbb-train-wagon__attribute-icon-list",
|
|
345
|
+
ariaLabel: f[this._language.current]
|
|
346
|
+
})}
|
|
353
347
|
</span>
|
|
354
348
|
</div>
|
|
355
349
|
`;
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
};
|
|
350
|
+
}
|
|
351
|
+
};
|
|
352
|
+
})();
|
|
360
353
|
//#endregion
|
|
361
|
-
export {
|
|
354
|
+
export { O as t };
|