@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
|
@@ -14,7 +14,7 @@ var o = ":host{display:block;background-color:var(--sbb-option-background-color)
|
|
|
14
14
|
this.role = "option";
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
|
-
this.styles = [
|
|
17
|
+
this.styles = [r(o)];
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
20
|
this.events = {
|
|
@@ -40,7 +40,7 @@ var o = ":host{display:block;background-color:var(--sbb-option-background-color)
|
|
|
40
40
|
}));
|
|
41
41
|
}
|
|
42
42
|
_isMultiple() {
|
|
43
|
-
return !this.hydrationRequired && this.
|
|
43
|
+
return !this.hydrationRequired && this.matches?.(":is(:state(multiple),[state--multiple])");
|
|
44
44
|
}
|
|
45
45
|
_handleNegativeChange(e) {
|
|
46
46
|
this.toggleState("negative", e.negative), this.requestUpdate();
|
package/option.js
CHANGED
|
@@ -2,7 +2,7 @@ import { t as e } from "./optgroup-base-element-czVSe8WD.js";
|
|
|
2
2
|
import { SbbOptGroupElement as t } from "./option/optgroup/optgroup.component.js";
|
|
3
3
|
import { t as n } from "./option-hint.component-OwZnq0ZX.js";
|
|
4
4
|
import { SbbOptionBaseElement as r } from "./option/option/option-base-element.js";
|
|
5
|
-
import { t as i } from "./option.component-
|
|
5
|
+
import { t as i } from "./option.component-QwHFIP3m.js";
|
|
6
6
|
import "./option.pure.js";
|
|
7
7
|
t.define(), i.define(), n.define();
|
|
8
8
|
//#endregion
|
package/option.pure.js
CHANGED
|
@@ -2,5 +2,5 @@ import { t as e } from "./optgroup-base-element-czVSe8WD.js";
|
|
|
2
2
|
import { SbbOptGroupElement as t } from "./option/optgroup/optgroup.component.js";
|
|
3
3
|
import { t as n } from "./option-hint.component-OwZnq0ZX.js";
|
|
4
4
|
import { SbbOptionBaseElement as r } from "./option/option/option-base-element.js";
|
|
5
|
-
import { t as i } from "./option.component-
|
|
5
|
+
import { t as i } from "./option.component-QwHFIP3m.js";
|
|
6
6
|
export { t as SbbOptGroupElement, e as SbbOptgroupBaseElement, r as SbbOptionBaseElement, i as SbbOptionElement, n as SbbOptionHintElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../overlay.component-
|
|
1
|
+
import { t as e } from "../overlay.component-B00EoAd5.js";
|
|
2
2
|
export { e as SbbOverlayElement };
|
package/overlay.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SbbOverlayBaseElement as e, SbbOverlayCloseEvent as t, assignOverlayResult as n, overlayRefs as r } from "./overlay/overlay-base-element.js";
|
|
2
|
-
import { t as i } from "./overlay.component-
|
|
2
|
+
import { t as i } from "./overlay.component-B00EoAd5.js";
|
|
3
3
|
import "./overlay.pure.js";
|
|
4
4
|
//#region src/elements/overlay.ts
|
|
5
5
|
i.define();
|
package/overlay.pure.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SbbOverlayBaseElement as e, SbbOverlayCloseEvent as t, assignOverlayResult as n, overlayRefs as r } from "./overlay/overlay-base-element.js";
|
|
2
|
-
import { t as i } from "./overlay.component-
|
|
2
|
+
import { t as i } from "./overlay.component-B00EoAd5.js";
|
|
3
3
|
export { e as SbbOverlayBaseElement, t as SbbOverlayCloseEvent, i as SbbOverlayElement, n as assignOverlayResult, r as overlayRefs };
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-elements-dev",
|
|
3
|
-
"version": "5.0.0-next.1-dev.
|
|
3
|
+
"version": "5.0.0-next.1-dev.1777534945",
|
|
4
4
|
"description": "Lyne Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design system",
|
|
7
7
|
"web components",
|
|
8
8
|
"lit",
|
|
9
|
-
"https://github.com/sbb-design-systems/lyne-components/commit/
|
|
9
|
+
"https://github.com/sbb-design-systems/lyne-components/commit/7f06978af919f8b01e2992fc8fb4c6bf4d76767b"
|
|
10
10
|
],
|
|
11
11
|
"type": "module",
|
|
12
12
|
"exports": {
|
|
@@ -5,266 +5,260 @@ import { SbbDisabledMixin as i, SbbLanguageController as a, SbbNegativeMixin as
|
|
|
5
5
|
import { SbbMiniButtonElement as g, SbbMiniButtonGroupElement as _ } from "../../button.pure.js";
|
|
6
6
|
import { SbbDividerElement as v } from "../../divider.pure.js";
|
|
7
7
|
//#region src/elements/paginator/common/paginator-common.ts
|
|
8
|
-
var y = (y) => {
|
|
9
|
-
let b = o(i(y));
|
|
10
|
-
return
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
set: (e, t) => {
|
|
36
|
-
e.length = t;
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
metadata: t
|
|
40
|
-
}, y, x), e(this, null, S, {
|
|
41
|
-
kind: "accessor",
|
|
42
|
-
name: "pageSize",
|
|
43
|
-
static: !1,
|
|
44
|
-
private: !1,
|
|
45
|
-
access: {
|
|
46
|
-
has: (e) => "pageSize" in e,
|
|
47
|
-
get: (e) => e.pageSize,
|
|
48
|
-
set: (e, t) => {
|
|
49
|
-
e.pageSize = t;
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
metadata: t
|
|
53
|
-
}, C, w), e(this, null, T, {
|
|
54
|
-
kind: "accessor",
|
|
55
|
-
name: "pageIndex",
|
|
56
|
-
static: !1,
|
|
57
|
-
private: !1,
|
|
58
|
-
access: {
|
|
59
|
-
has: (e) => "pageIndex" in e,
|
|
60
|
-
get: (e) => e.pageIndex,
|
|
61
|
-
set: (e, t) => {
|
|
62
|
-
e.pageIndex = t;
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
metadata: t
|
|
66
|
-
}, E, D), e(this, null, O, {
|
|
67
|
-
kind: "accessor",
|
|
68
|
-
name: "pagerPosition",
|
|
69
|
-
static: !1,
|
|
70
|
-
private: !1,
|
|
71
|
-
access: {
|
|
72
|
-
has: (e) => "pagerPosition" in e,
|
|
73
|
-
get: (e) => e.pagerPosition,
|
|
74
|
-
set: (e, t) => {
|
|
75
|
-
e.pagerPosition = t;
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
metadata: t
|
|
79
|
-
}, k, A), e(this, null, j, {
|
|
80
|
-
kind: "accessor",
|
|
81
|
-
name: "size",
|
|
82
|
-
static: !1,
|
|
83
|
-
private: !1,
|
|
84
|
-
access: {
|
|
85
|
-
has: (e) => "size" in e,
|
|
86
|
-
get: (e) => e.size,
|
|
87
|
-
set: (e, t) => {
|
|
88
|
-
e.size = t;
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
metadata: t
|
|
92
|
-
}, M, N), e(this, null, P, {
|
|
93
|
-
kind: "accessor",
|
|
94
|
-
name: "accessibilityPageLabel",
|
|
95
|
-
static: !1,
|
|
96
|
-
private: !1,
|
|
97
|
-
access: {
|
|
98
|
-
has: (e) => "accessibilityPageLabel" in e,
|
|
99
|
-
get: (e) => e.accessibilityPageLabel,
|
|
100
|
-
set: (e, t) => {
|
|
101
|
-
e.accessibilityPageLabel = t;
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
metadata: t
|
|
105
|
-
}, F, I), e(this, null, L, {
|
|
106
|
-
kind: "accessor",
|
|
107
|
-
name: "accessibilityPreviousPageLabel",
|
|
108
|
-
static: !1,
|
|
109
|
-
private: !1,
|
|
110
|
-
access: {
|
|
111
|
-
has: (e) => "accessibilityPreviousPageLabel" in e,
|
|
112
|
-
get: (e) => e.accessibilityPreviousPageLabel,
|
|
113
|
-
set: (e, t) => {
|
|
114
|
-
e.accessibilityPreviousPageLabel = t;
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
metadata: t
|
|
118
|
-
}, R, z), e(this, null, B, {
|
|
119
|
-
kind: "accessor",
|
|
120
|
-
name: "accessibilityNextPageLabel",
|
|
121
|
-
static: !1,
|
|
122
|
-
private: !1,
|
|
123
|
-
access: {
|
|
124
|
-
has: (e) => "accessibilityNextPageLabel" in e,
|
|
125
|
-
get: (e) => e.accessibilityNextPageLabel,
|
|
126
|
-
set: (e, t) => {
|
|
127
|
-
e.accessibilityNextPageLabel = t;
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
metadata: t
|
|
131
|
-
}, V, H), t && Object.defineProperty(this, Symbol.metadata, {
|
|
132
|
-
enumerable: !0,
|
|
133
|
-
configurable: !0,
|
|
134
|
-
writable: !0,
|
|
135
|
-
value: t
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
static {
|
|
139
|
-
this.styles = [
|
|
140
|
-
b.styles ?? [],
|
|
141
|
-
s,
|
|
142
|
-
h
|
|
143
|
-
];
|
|
144
|
-
}
|
|
145
|
-
static {
|
|
146
|
-
this.elementDependencies = [
|
|
147
|
-
_,
|
|
148
|
-
g,
|
|
149
|
-
v
|
|
150
|
-
];
|
|
151
|
-
}
|
|
152
|
-
static {
|
|
153
|
-
this.role = "group";
|
|
154
|
-
}
|
|
155
|
-
#e;
|
|
156
|
-
get length() {
|
|
157
|
-
return this.#e;
|
|
158
|
-
}
|
|
159
|
-
set length(e) {
|
|
160
|
-
this.#e = e;
|
|
161
|
-
}
|
|
162
|
-
#t;
|
|
163
|
-
get pageSize() {
|
|
164
|
-
return this.#t;
|
|
165
|
-
}
|
|
166
|
-
set pageSize(e) {
|
|
167
|
-
this.#t = e;
|
|
168
|
-
}
|
|
169
|
-
#n;
|
|
170
|
-
get pageIndex() {
|
|
171
|
-
return this.#n;
|
|
172
|
-
}
|
|
173
|
-
set pageIndex(e) {
|
|
174
|
-
this.#n = e;
|
|
175
|
-
}
|
|
176
|
-
#r;
|
|
177
|
-
get pagerPosition() {
|
|
178
|
-
return this.#r;
|
|
179
|
-
}
|
|
180
|
-
set pagerPosition(e) {
|
|
181
|
-
this.#r = e;
|
|
182
|
-
}
|
|
183
|
-
#i;
|
|
184
|
-
get size() {
|
|
185
|
-
return this.#i;
|
|
186
|
-
}
|
|
187
|
-
set size(e) {
|
|
188
|
-
this.#i = e;
|
|
189
|
-
}
|
|
190
|
-
#a;
|
|
191
|
-
get accessibilityPageLabel() {
|
|
192
|
-
return this.#a;
|
|
193
|
-
}
|
|
194
|
-
set accessibilityPageLabel(e) {
|
|
195
|
-
this.#a = e;
|
|
196
|
-
}
|
|
197
|
-
#o;
|
|
198
|
-
get accessibilityPreviousPageLabel() {
|
|
199
|
-
return this.#o;
|
|
200
|
-
}
|
|
201
|
-
set accessibilityPreviousPageLabel(e) {
|
|
202
|
-
this.#o = e;
|
|
203
|
-
}
|
|
204
|
-
#s;
|
|
205
|
-
get accessibilityNextPageLabel() {
|
|
206
|
-
return this.#s;
|
|
207
|
-
}
|
|
208
|
-
set accessibilityNextPageLabel(e) {
|
|
209
|
-
this.#s = e;
|
|
210
|
-
}
|
|
211
|
-
willUpdate(e) {
|
|
212
|
-
super.willUpdate(e);
|
|
213
|
-
let t = null;
|
|
214
|
-
if (e.has("length") && this.length !== e.get("length") && (this.length = isNaN(this.length) || this.length < 0 ? 0 : this.length, this.pageIndex = this._coercePageIndexInRange(this.pageIndex)), e.has("pageSize") && this.pageSize !== e.get("pageSize")) {
|
|
215
|
-
let n = e.get("pageSize");
|
|
216
|
-
this.pageSize = isNaN(this.pageSize) || this.pageSize < 0 ? 0 : this.pageSize, n && !e.has("pageIndex") && (this.pageIndex = Math.floor(this.pageIndex * n / this.pageSize) || 0), t = this.pageIndex;
|
|
217
|
-
}
|
|
218
|
-
e.has("pageIndex") && this.pageIndex !== e.get("pageIndex") && (this.pageIndex = this._coercePageIndexInRange(this.pageIndex), t = e.get("pageIndex")), t !== null && this._emitPageEvent(t);
|
|
219
|
-
}
|
|
220
|
-
updated(e) {
|
|
221
|
-
super.updated(e), this.shadowRoot.querySelector(".sbb-screen-reader-only#status").textContent = this._currentPageLabel();
|
|
222
|
-
}
|
|
223
|
-
_coercePageIndexInRange(e) {
|
|
224
|
-
return Math.max(Math.min(Math.max(isNaN(e) ? 0 : e, 0), this.numberOfPages() - 1), 0);
|
|
225
|
-
}
|
|
226
|
-
_currentPageLabel() {
|
|
227
|
-
return `${this.accessibilityPageLabel ? this.accessibilityPageLabel : u[this.language.current]} ${this.pageIndex + 1} ${d[this.language.current]}.`;
|
|
228
|
-
}
|
|
229
|
-
nextPage() {
|
|
230
|
-
this.pageIndex += 1;
|
|
231
|
-
}
|
|
232
|
-
previousPage() {
|
|
233
|
-
--this.pageIndex;
|
|
234
|
-
}
|
|
235
|
-
firstPage() {
|
|
236
|
-
this.pageIndex = 0;
|
|
237
|
-
}
|
|
238
|
-
lastPage() {
|
|
239
|
-
this.pageIndex = this.numberOfPages() - 1;
|
|
240
|
-
}
|
|
241
|
-
selectPage(e) {
|
|
242
|
-
this.pageIndex = e;
|
|
243
|
-
}
|
|
244
|
-
hasPreviousPage() {
|
|
245
|
-
return this.pageIndex >= 1 && this.pageSize !== 0;
|
|
246
|
-
}
|
|
247
|
-
hasNextPage() {
|
|
248
|
-
let e = this.numberOfPages() - 1;
|
|
249
|
-
return this.pageIndex < e && this.pageSize !== 0;
|
|
250
|
-
}
|
|
251
|
-
numberOfPages() {
|
|
252
|
-
return this.pageSize ? Math.ceil(this.length / this.pageSize) : 0;
|
|
253
|
-
}
|
|
254
|
-
_emitPageEvent(e) {
|
|
255
|
-
this.hasUpdated && this.dispatchEvent(new CustomEvent("page", {
|
|
256
|
-
bubbles: !0,
|
|
257
|
-
composed: !0,
|
|
258
|
-
detail: {
|
|
259
|
-
previousPageIndex: e,
|
|
260
|
-
pageIndex: this.pageIndex,
|
|
261
|
-
length: this.length,
|
|
262
|
-
pageSize: this.pageSize
|
|
8
|
+
var y = (y) => (() => {
|
|
9
|
+
let b = o(i(y)), x, S = [], C = [], w, T = [], E = [], D, O = [], k = [], A, j = [], M = [], N, P = [], F = [], I, L = [], R = [], z, B = [], V = [], H, U = [], W = [];
|
|
10
|
+
return class extends b {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments), this.#e = t(this, S, 0), this.#t = (t(this, C), t(this, T, 10)), this.#n = (t(this, E), t(this, O, 0)), this.#r = (t(this, k), t(this, j, "start")), this.#i = (t(this, M), t(this, P, p() ? "s" : "m")), this.#a = (t(this, F), t(this, L, "")), this.#o = (t(this, R), t(this, B, "")), this.#s = (t(this, V), t(this, U, "")), this.language = (t(this, W), new a(this));
|
|
13
|
+
}
|
|
14
|
+
static {
|
|
15
|
+
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(b[Symbol.metadata] ?? null) : void 0;
|
|
16
|
+
x = [c(), r({ type: Number })], w = [c(), r({
|
|
17
|
+
attribute: "page-size",
|
|
18
|
+
type: Number
|
|
19
|
+
})], D = [c(), r({
|
|
20
|
+
attribute: "page-index",
|
|
21
|
+
type: Number
|
|
22
|
+
})], A = [r({
|
|
23
|
+
attribute: "pager-position",
|
|
24
|
+
reflect: !0
|
|
25
|
+
})], N = [r({ reflect: !0 })], I = [c(), r({ attribute: "accessibility-page-label" })], z = [c(), r({ attribute: "accessibility-previous-page-label" })], H = [c(), r({ attribute: "accessibility-next-page-label" })], e(this, null, x, {
|
|
26
|
+
kind: "accessor",
|
|
27
|
+
name: "length",
|
|
28
|
+
static: !1,
|
|
29
|
+
private: !1,
|
|
30
|
+
access: {
|
|
31
|
+
has: (e) => "length" in e,
|
|
32
|
+
get: (e) => e.length,
|
|
33
|
+
set: (e, t) => {
|
|
34
|
+
e.length = t;
|
|
263
35
|
}
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
36
|
+
},
|
|
37
|
+
metadata: t
|
|
38
|
+
}, S, C), e(this, null, w, {
|
|
39
|
+
kind: "accessor",
|
|
40
|
+
name: "pageSize",
|
|
41
|
+
static: !1,
|
|
42
|
+
private: !1,
|
|
43
|
+
access: {
|
|
44
|
+
has: (e) => "pageSize" in e,
|
|
45
|
+
get: (e) => e.pageSize,
|
|
46
|
+
set: (e, t) => {
|
|
47
|
+
e.pageSize = t;
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
metadata: t
|
|
51
|
+
}, T, E), e(this, null, D, {
|
|
52
|
+
kind: "accessor",
|
|
53
|
+
name: "pageIndex",
|
|
54
|
+
static: !1,
|
|
55
|
+
private: !1,
|
|
56
|
+
access: {
|
|
57
|
+
has: (e) => "pageIndex" in e,
|
|
58
|
+
get: (e) => e.pageIndex,
|
|
59
|
+
set: (e, t) => {
|
|
60
|
+
e.pageIndex = t;
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
metadata: t
|
|
64
|
+
}, O, k), e(this, null, A, {
|
|
65
|
+
kind: "accessor",
|
|
66
|
+
name: "pagerPosition",
|
|
67
|
+
static: !1,
|
|
68
|
+
private: !1,
|
|
69
|
+
access: {
|
|
70
|
+
has: (e) => "pagerPosition" in e,
|
|
71
|
+
get: (e) => e.pagerPosition,
|
|
72
|
+
set: (e, t) => {
|
|
73
|
+
e.pagerPosition = t;
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
metadata: t
|
|
77
|
+
}, j, M), e(this, null, N, {
|
|
78
|
+
kind: "accessor",
|
|
79
|
+
name: "size",
|
|
80
|
+
static: !1,
|
|
81
|
+
private: !1,
|
|
82
|
+
access: {
|
|
83
|
+
has: (e) => "size" in e,
|
|
84
|
+
get: (e) => e.size,
|
|
85
|
+
set: (e, t) => {
|
|
86
|
+
e.size = t;
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
metadata: t
|
|
90
|
+
}, P, F), e(this, null, I, {
|
|
91
|
+
kind: "accessor",
|
|
92
|
+
name: "accessibilityPageLabel",
|
|
93
|
+
static: !1,
|
|
94
|
+
private: !1,
|
|
95
|
+
access: {
|
|
96
|
+
has: (e) => "accessibilityPageLabel" in e,
|
|
97
|
+
get: (e) => e.accessibilityPageLabel,
|
|
98
|
+
set: (e, t) => {
|
|
99
|
+
e.accessibilityPageLabel = t;
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
metadata: t
|
|
103
|
+
}, L, R), e(this, null, z, {
|
|
104
|
+
kind: "accessor",
|
|
105
|
+
name: "accessibilityPreviousPageLabel",
|
|
106
|
+
static: !1,
|
|
107
|
+
private: !1,
|
|
108
|
+
access: {
|
|
109
|
+
has: (e) => "accessibilityPreviousPageLabel" in e,
|
|
110
|
+
get: (e) => e.accessibilityPreviousPageLabel,
|
|
111
|
+
set: (e, t) => {
|
|
112
|
+
e.accessibilityPreviousPageLabel = t;
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
metadata: t
|
|
116
|
+
}, B, V), e(this, null, H, {
|
|
117
|
+
kind: "accessor",
|
|
118
|
+
name: "accessibilityNextPageLabel",
|
|
119
|
+
static: !1,
|
|
120
|
+
private: !1,
|
|
121
|
+
access: {
|
|
122
|
+
has: (e) => "accessibilityNextPageLabel" in e,
|
|
123
|
+
get: (e) => e.accessibilityNextPageLabel,
|
|
124
|
+
set: (e, t) => {
|
|
125
|
+
e.accessibilityNextPageLabel = t;
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
metadata: t
|
|
129
|
+
}, U, W), t && Object.defineProperty(this, Symbol.metadata, {
|
|
130
|
+
enumerable: !0,
|
|
131
|
+
configurable: !0,
|
|
132
|
+
writable: !0,
|
|
133
|
+
value: t
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
static {
|
|
137
|
+
this.styles = [s, h];
|
|
138
|
+
}
|
|
139
|
+
static {
|
|
140
|
+
this.elementDependencies = [
|
|
141
|
+
_,
|
|
142
|
+
g,
|
|
143
|
+
v
|
|
144
|
+
];
|
|
145
|
+
}
|
|
146
|
+
static {
|
|
147
|
+
this.role = "group";
|
|
148
|
+
}
|
|
149
|
+
#e;
|
|
150
|
+
get length() {
|
|
151
|
+
return this.#e;
|
|
152
|
+
}
|
|
153
|
+
set length(e) {
|
|
154
|
+
this.#e = e;
|
|
155
|
+
}
|
|
156
|
+
#t;
|
|
157
|
+
get pageSize() {
|
|
158
|
+
return this.#t;
|
|
159
|
+
}
|
|
160
|
+
set pageSize(e) {
|
|
161
|
+
this.#t = e;
|
|
162
|
+
}
|
|
163
|
+
#n;
|
|
164
|
+
get pageIndex() {
|
|
165
|
+
return this.#n;
|
|
166
|
+
}
|
|
167
|
+
set pageIndex(e) {
|
|
168
|
+
this.#n = e;
|
|
169
|
+
}
|
|
170
|
+
#r;
|
|
171
|
+
get pagerPosition() {
|
|
172
|
+
return this.#r;
|
|
173
|
+
}
|
|
174
|
+
set pagerPosition(e) {
|
|
175
|
+
this.#r = e;
|
|
176
|
+
}
|
|
177
|
+
#i;
|
|
178
|
+
get size() {
|
|
179
|
+
return this.#i;
|
|
180
|
+
}
|
|
181
|
+
set size(e) {
|
|
182
|
+
this.#i = e;
|
|
183
|
+
}
|
|
184
|
+
#a;
|
|
185
|
+
get accessibilityPageLabel() {
|
|
186
|
+
return this.#a;
|
|
187
|
+
}
|
|
188
|
+
set accessibilityPageLabel(e) {
|
|
189
|
+
this.#a = e;
|
|
190
|
+
}
|
|
191
|
+
#o;
|
|
192
|
+
get accessibilityPreviousPageLabel() {
|
|
193
|
+
return this.#o;
|
|
194
|
+
}
|
|
195
|
+
set accessibilityPreviousPageLabel(e) {
|
|
196
|
+
this.#o = e;
|
|
197
|
+
}
|
|
198
|
+
#s;
|
|
199
|
+
get accessibilityNextPageLabel() {
|
|
200
|
+
return this.#s;
|
|
201
|
+
}
|
|
202
|
+
set accessibilityNextPageLabel(e) {
|
|
203
|
+
this.#s = e;
|
|
204
|
+
}
|
|
205
|
+
willUpdate(e) {
|
|
206
|
+
super.willUpdate(e);
|
|
207
|
+
let t = null;
|
|
208
|
+
if (e.has("length") && this.length !== e.get("length") && (this.length = isNaN(this.length) || this.length < 0 ? 0 : this.length, this.pageIndex = this._coercePageIndexInRange(this.pageIndex)), e.has("pageSize") && this.pageSize !== e.get("pageSize")) {
|
|
209
|
+
let n = e.get("pageSize");
|
|
210
|
+
this.pageSize = isNaN(this.pageSize) || this.pageSize < 0 ? 0 : this.pageSize, n && !e.has("pageIndex") && (this.pageIndex = Math.floor(this.pageIndex * n / this.pageSize) || 0), t = this.pageIndex;
|
|
211
|
+
}
|
|
212
|
+
e.has("pageIndex") && this.pageIndex !== e.get("pageIndex") && (this.pageIndex = this._coercePageIndexInRange(this.pageIndex), t = e.get("pageIndex")), t !== null && this._emitPageEvent(t);
|
|
213
|
+
}
|
|
214
|
+
updated(e) {
|
|
215
|
+
super.updated(e), this.shadowRoot.querySelector(".sbb-screen-reader-only#status").textContent = this._currentPageLabel();
|
|
216
|
+
}
|
|
217
|
+
_coercePageIndexInRange(e) {
|
|
218
|
+
return Math.max(Math.min(Math.max(isNaN(e) ? 0 : e, 0), this.numberOfPages() - 1), 0);
|
|
219
|
+
}
|
|
220
|
+
_currentPageLabel() {
|
|
221
|
+
return `${this.accessibilityPageLabel ? this.accessibilityPageLabel : u[this.language.current]} ${this.pageIndex + 1} ${d[this.language.current]}.`;
|
|
222
|
+
}
|
|
223
|
+
nextPage() {
|
|
224
|
+
this.pageIndex += 1;
|
|
225
|
+
}
|
|
226
|
+
previousPage() {
|
|
227
|
+
--this.pageIndex;
|
|
228
|
+
}
|
|
229
|
+
firstPage() {
|
|
230
|
+
this.pageIndex = 0;
|
|
231
|
+
}
|
|
232
|
+
lastPage() {
|
|
233
|
+
this.pageIndex = this.numberOfPages() - 1;
|
|
234
|
+
}
|
|
235
|
+
selectPage(e) {
|
|
236
|
+
this.pageIndex = e;
|
|
237
|
+
}
|
|
238
|
+
hasPreviousPage() {
|
|
239
|
+
return this.pageIndex >= 1 && this.pageSize !== 0;
|
|
240
|
+
}
|
|
241
|
+
hasNextPage() {
|
|
242
|
+
let e = this.numberOfPages() - 1;
|
|
243
|
+
return this.pageIndex < e && this.pageSize !== 0;
|
|
244
|
+
}
|
|
245
|
+
numberOfPages() {
|
|
246
|
+
return this.pageSize ? Math.ceil(this.length / this.pageSize) : 0;
|
|
247
|
+
}
|
|
248
|
+
_emitPageEvent(e) {
|
|
249
|
+
this.hasUpdated && this.dispatchEvent(new CustomEvent("page", {
|
|
250
|
+
bubbles: !0,
|
|
251
|
+
composed: !0,
|
|
252
|
+
detail: {
|
|
253
|
+
previousPageIndex: e,
|
|
254
|
+
pageIndex: this.pageIndex,
|
|
255
|
+
length: this.length,
|
|
256
|
+
pageSize: this.pageSize
|
|
257
|
+
}
|
|
258
|
+
}));
|
|
259
|
+
}
|
|
260
|
+
renderPrevNextButtons() {
|
|
261
|
+
return n`
|
|
268
262
|
<sbb-mini-button-group ?negative=${this.negative} size=${this.size === "s" ? "s" : "l"}>
|
|
269
263
|
<sbb-mini-button
|
|
270
264
|
id="sbb-paginator-prev-page"
|
|
@@ -272,8 +266,8 @@ var y = (y) => {
|
|
|
272
266
|
icon-name="chevron-small-left-small"
|
|
273
267
|
?disabled=${this.disabled || !this.hasPreviousPage()}
|
|
274
268
|
@click=${() => {
|
|
275
|
-
|
|
276
|
-
|
|
269
|
+
this.previousPage(), !this.hasPreviousPage() && m.mostRecentModality === "keyboard" && this.shadowRoot?.getElementById("sbb-paginator-next-page").focus();
|
|
270
|
+
}}
|
|
277
271
|
></sbb-mini-button>
|
|
278
272
|
<sbb-divider orientation="vertical"></sbb-divider>
|
|
279
273
|
<sbb-mini-button
|
|
@@ -282,20 +276,19 @@ var y = (y) => {
|
|
|
282
276
|
icon-name="chevron-small-right-small"
|
|
283
277
|
?disabled=${this.disabled || !this.hasNextPage()}
|
|
284
278
|
@click=${() => {
|
|
285
|
-
|
|
286
|
-
|
|
279
|
+
this.nextPage(), !this.hasNextPage() && m.mostRecentModality === "keyboard" && this.shadowRoot?.getElementById("sbb-paginator-prev-page").focus();
|
|
280
|
+
}}
|
|
287
281
|
></sbb-mini-button>
|
|
288
282
|
</sbb-mini-button-group>
|
|
289
283
|
`;
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
284
|
+
}
|
|
285
|
+
render() {
|
|
286
|
+
return n`
|
|
293
287
|
${this.renderPaginator()}
|
|
294
288
|
<span class="sbb-screen-reader-only" id="status" role="status"></span>
|
|
295
289
|
`;
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
};
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
})();
|
|
300
293
|
//#endregion
|
|
301
294
|
export { y as SbbPaginatorCommonElementMixin };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../compact-paginator.component-
|
|
1
|
+
import { t as e } from "../../compact-paginator.component-DwBfi6Ec.js";
|
|
2
2
|
export { e as SbbCompactPaginatorElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../paginator.component-
|
|
1
|
+
import { t as e } from "../../paginator.component-BHKLJn4y.js";
|
|
2
2
|
export { e as SbbPaginatorElement };
|
package/paginator.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SbbPaginatorCommonElementMixin as e } from "./paginator/common/paginator-common.js";
|
|
2
|
-
import { t } from "./compact-paginator.component-
|
|
3
|
-
import { t as n } from "./paginator.component-
|
|
2
|
+
import { t } from "./compact-paginator.component-DwBfi6Ec.js";
|
|
3
|
+
import { t as n } from "./paginator.component-BHKLJn4y.js";
|
|
4
4
|
import "./paginator.pure.js";
|
|
5
5
|
t.define(), n.define();
|
|
6
6
|
//#endregion
|
package/paginator.pure.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SbbPaginatorCommonElementMixin as e } from "./paginator/common/paginator-common.js";
|
|
2
|
-
import { t } from "./compact-paginator.component-
|
|
3
|
-
import { t as n } from "./paginator.component-
|
|
2
|
+
import { t } from "./compact-paginator.component-DwBfi6Ec.js";
|
|
3
|
+
import { t as n } from "./paginator.component-BHKLJn4y.js";
|
|
4
4
|
export { t as SbbCompactPaginatorElement, e as SbbPaginatorCommonElementMixin, n as SbbPaginatorElement };
|