@oiz/stzh-components 2.1.0 → 2.2.0
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/dist/cjs/{animation-utils-cfa35ce7.js → animation-utils-54d784c2.js} +3 -0
- package/dist/cjs/{app-globals-dc82b9ca.js → app-globals-b6d82414.js} +1 -1
- package/dist/cjs/index.cjs.js +17 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-accordion-item.cjs.entry.js +7 -3
- package/dist/cjs/stzh-accordion.cjs.entry.js +3 -1
- package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
- package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
- package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
- package/dist/cjs/stzh-badge_3.cjs.entry.js +13 -6
- package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card_3.cjs.entry.js +504 -0
- package/dist/cjs/stzh-chart.cjs.entry.js +2 -3
- package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
- package/dist/cjs/stzh-chip.cjs.entry.js +6 -5
- package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contactaddress.cjs.entry.js +33 -7
- package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist_2.cjs.entry.js +180 -0
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +3 -2
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +3 -3
- package/dist/cjs/stzh-details.cjs.entry.js +155 -0
- package/dist/cjs/stzh-dialog.cjs.entry.js +5 -5
- package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/stzh-figure.cjs.entry.js +2 -2
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
- package/dist/cjs/stzh-footer.cjs.entry.js +2 -2
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +8 -5
- package/dist/cjs/stzh-header.cjs.entry.js +28 -14
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
- package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +2 -2
- package/dist/cjs/stzh-langnav.cjs.entry.js +37 -0
- package/dist/cjs/stzh-link.cjs.entry.js +11 -4
- package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-message.cjs.entry.js +1 -1
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +96 -0
- package/dist/cjs/stzh-olmap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +3 -3
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +2 -2
- package/dist/cjs/stzh-popover.cjs.entry.js +27 -9
- package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-progressbar-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sitemap.cjs.entry.js +24 -0
- package/dist/cjs/stzh-sortable.cjs.entry.js +30 -11
- package/dist/cjs/stzh-table.cjs.entry.js +1 -1
- package/dist/cjs/stzh-textandimage.cjs.entry.js +35 -0
- package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
- package/dist/cjs/stzh-tooltip.cjs.entry.js +37 -13
- package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +2 -1
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +20 -9
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +27 -38
- package/dist/cjs/{utils-8dc66449.js → utils-ff153309.js} +1 -0
- package/dist/collection/assets/i18n/de.json +15 -7
- package/dist/collection/assets/i18n/en.json +16 -8
- package/dist/collection/assets/icons/mono/arrow-right-down.svg +3 -0
- package/dist/collection/assets/icons/mono/construction.svg +2 -2
- package/dist/collection/assets/icons/mono/fountain.svg +3 -0
- package/dist/collection/assets/icons/mono/pause-filled.svg +3 -0
- package/dist/collection/assets/icons/mono/play-filled.svg +3 -0
- package/dist/collection/assets/icons/mono/reload.svg +2 -9
- package/dist/collection/assets/icons/mono/water-drops.svg +11 -0
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/stzh-accordion/stzh-accordion.js +3 -1
- package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +12 -1
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +3 -2
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +7 -3
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +3 -3
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
- package/dist/collection/components/stzh-audio/stzh-audio.css +1 -1
- package/dist/collection/components/stzh-audio/stzh-audio.js +1 -1
- package/dist/collection/components/stzh-button/stzh-button.css +3 -2
- package/dist/collection/components/stzh-button/stzh-button.js +78 -3
- package/dist/collection/components/stzh-button/stzh-button.stories.js +12 -12
- package/dist/collection/components/stzh-calendar/stzh-calendar.css +1 -0
- package/dist/collection/components/stzh-card/stzh-card.css +107 -22
- package/dist/collection/components/stzh-card/stzh-card.js +116 -6
- package/dist/collection/components/stzh-card/stzh-card.stories.js +1 -1
- package/dist/collection/components/stzh-card-list/stzh-card-list.css +55 -14
- package/dist/collection/components/stzh-card-list/stzh-card-list.js +43 -3
- package/dist/collection/components/stzh-chart/stzh-chart.css +0 -14
- package/dist/collection/components/stzh-chart/stzh-chart.js +1 -20
- package/dist/collection/components/stzh-chart/stzh-chart.stories.js +4 -3
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +7 -3
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +1 -0
- package/dist/collection/components/stzh-chip/stzh-chip.css +52 -4
- package/dist/collection/components/stzh-chip/stzh-chip.js +23 -5
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +2 -0
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +33 -6
- package/dist/collection/components/stzh-clamp/stzh-clamp.css +5 -0
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.css +91 -12
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.js +76 -9
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.stories.js +52 -2
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +49 -1
- package/dist/collection/components/stzh-datalist/stzh-datalist.css +28 -516
- package/dist/collection/components/stzh-datalist/stzh-datalist.js +110 -23
- package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +65 -4
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +261 -0
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +323 -0
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.stories.js +49 -0
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +11 -0
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +3 -2
- package/dist/collection/components/stzh-details/stzh-details.css +119 -0
- package/dist/collection/components/stzh-details/stzh-details.js +316 -0
- package/dist/collection/components/stzh-details/stzh-details.stories.js +41 -0
- package/dist/collection/components/stzh-dialog/stzh-dialog.css +1 -0
- package/dist/collection/components/stzh-dialog/stzh-dialog.js +3 -3
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +6 -3
- package/dist/collection/components/stzh-figure/stzh-figure.css +1 -3
- package/dist/collection/components/stzh-footer/stzh-footer.css +2 -1
- package/dist/collection/components/stzh-footer/stzh-footer.stories.js +3 -1
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +33 -5
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +23 -2
- package/dist/collection/components/stzh-header/stzh-header.css +87 -4
- package/dist/collection/components/stzh-header/stzh-header.js +63 -13
- package/dist/collection/components/stzh-header/stzh-header.stories.js +21 -1
- package/dist/collection/components/stzh-heading/stzh-heading.css +3 -0
- package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +102 -37
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/collection/components/stzh-input/stzh-input.css +6 -5
- package/dist/collection/components/stzh-langnav/stzh-langnav.css +106 -0
- package/dist/collection/components/stzh-langnav/stzh-langnav.js +136 -0
- package/dist/collection/components/stzh-langnav/stzh-langnav.stories.js +42 -0
- package/dist/collection/components/stzh-link/stzh-link.css +1 -0
- package/dist/collection/components/stzh-link/stzh-link.js +95 -2
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +1 -0
- package/dist/collection/components/stzh-message/stzh-message.css +1 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.css +125 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +198 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.js +1 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.stories.js +58 -0
- package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +1 -1
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +14 -5
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +1 -1
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
- package/dist/collection/components/stzh-popover/stzh-popover.css +2 -0
- package/dist/collection/components/stzh-popover/stzh-popover.js +26 -8
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +2 -0
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +107 -6
- package/dist/collection/components/stzh-radio/stzh-radio.css +3 -2
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +1 -0
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +2 -0
- package/dist/collection/components/stzh-sitemap/stzh-sitemap.css +113 -0
- package/dist/collection/components/stzh-sitemap/stzh-sitemap.js +53 -0
- package/dist/collection/components/stzh-sitemap/stzh-sitemap.stories.js +78 -0
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +29 -10
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +203 -0
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.js +98 -0
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.stories.js +56 -0
- package/dist/collection/components/stzh-toggle/stzh-toggle.css +3 -1
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +1 -0
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +36 -12
- package/dist/collection/components/stzh-upload/stzh-upload.css +2 -1
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +3 -2
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +2 -1
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +84 -12
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +1 -16
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +26 -37
- package/dist/collection/index.js +12 -0
- package/dist/collection/pages/egov.stories.js +18 -15
- package/dist/collection/pages/example.stories.js +1 -1
- package/dist/collection/pages/meinkonto.stories.js +3 -3
- package/dist/collection/patterns/appointments.stories.js +3 -3
- package/dist/collection/patterns/contact.stories.js +144 -0
- package/dist/collection/patterns/contactform.stories.js +125 -0
- package/dist/collection/patterns/subpages.stories.js +98 -0
- package/dist/collection/utils/animation-utils.js +3 -0
- package/dist/components/animation-utils.js +3 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +8 -1
- package/dist/components/index2.js +17 -2017
- package/dist/components/index3.js +2017 -0
- package/dist/components/stzh-accordion-item.js +6 -2
- package/dist/components/stzh-accordion.js +3 -1
- package/dist/components/stzh-anchornav.js +2 -2
- package/dist/components/stzh-audio.js +2 -2
- package/dist/components/stzh-button2.js +15 -4
- package/dist/components/stzh-calendar2.js +1 -1
- package/dist/components/stzh-card-list.js +1 -114
- package/dist/components/stzh-card-list2.js +123 -0
- package/dist/components/stzh-card.js +1 -358
- package/dist/components/stzh-card2.js +380 -0
- package/dist/components/stzh-chart.js +3 -5
- package/dist/components/stzh-checkbox.js +1 -1
- package/dist/components/stzh-checkboxgroup.js +1 -1
- package/dist/components/stzh-chip-select.js +1 -157
- package/dist/components/stzh-chip-select2.js +186 -0
- package/dist/components/stzh-chip2.js +7 -5
- package/dist/components/stzh-clamp2.js +1 -1
- package/dist/components/stzh-contactaddress.js +74 -10
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-datalist-item.d.ts +11 -0
- package/dist/components/stzh-datalist-item.js +6 -0
- package/dist/components/stzh-datalist-item2.js +128 -0
- package/dist/components/stzh-datalist.js +1 -96
- package/dist/components/stzh-datalist2.js +147 -0
- package/dist/components/stzh-datamessagelist-item.js +3 -2
- package/dist/components/stzh-details.d.ts +11 -0
- package/dist/components/stzh-details.js +173 -0
- package/dist/components/stzh-dialog.js +4 -4
- package/dist/components/stzh-dropdown2.js +1 -1
- package/dist/components/stzh-figure.js +1 -1
- package/dist/components/stzh-footer.js +1 -1
- package/dist/components/stzh-ghettobox2.js +7 -3
- package/dist/components/stzh-header.js +29 -13
- package/dist/components/stzh-heading2.js +1 -1
- package/dist/components/stzh-icon-sprite.js +1 -1
- package/dist/components/stzh-icon2.js +1 -1
- package/dist/components/stzh-input2.js +1 -1
- package/dist/components/stzh-langnav.d.ts +11 -0
- package/dist/components/stzh-langnav.js +73 -0
- package/dist/components/stzh-link2.js +15 -3
- package/dist/components/stzh-menu-item2.js +1 -1
- package/dist/components/stzh-message.js +1 -1
- package/dist/components/stzh-microsite-teaserlist.d.ts +11 -0
- package/dist/components/stzh-microsite-teaserlist.js +212 -0
- package/dist/components/stzh-olmap.js +1 -1
- package/dist/components/stzh-pagetitle-hero.js +2 -2
- package/dist/components/stzh-pagetitle.js +1 -1
- package/dist/components/stzh-popover2.js +26 -8
- package/dist/components/stzh-portal-mitwirken.js +1 -1
- package/dist/components/stzh-progressbar-item2.js +1 -1
- package/dist/components/stzh-radio2.js +1 -1
- package/dist/components/stzh-radiogroup2.js +1 -1
- package/dist/components/stzh-richtext2.js +1 -1
- package/dist/components/stzh-sitemap.d.ts +11 -0
- package/dist/components/stzh-sitemap.js +69 -0
- package/dist/components/stzh-sortable2.js +29 -10
- package/dist/components/stzh-textandimage.d.ts +11 -0
- package/dist/components/stzh-textandimage.js +53 -0
- package/dist/components/stzh-toggle.js +1 -1
- package/dist/components/stzh-tooltip2.js +36 -12
- package/dist/components/stzh-upload.js +1 -1
- package/dist/components/stzh-vbz-linechip2.js +2 -1
- package/dist/components/stzh-vbz-majorticker.js +25 -12
- package/dist/components/stzh-vbz-ticker.js +26 -37
- package/dist/components/utils.js +1 -1
- package/dist/esm/{animation-utils-25c74e5b.js → animation-utils-e234a5f8.js} +3 -0
- package/dist/esm/{app-globals-246b5e49.js → app-globals-ff581b69.js} +1 -1
- package/dist/esm/{index-2915b467.js → index-011c84fe.js} +1 -1
- package/dist/esm/index.js +16 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/stzh-accordion-item.entry.js +8 -4
- package/dist/esm/stzh-accordion.entry.js +4 -2
- package/dist/esm/stzh-actions.entry.js +2 -2
- package/dist/esm/stzh-actionset.entry.js +1 -1
- package/dist/esm/stzh-anchornav.entry.js +3 -3
- package/dist/esm/stzh-appnav.entry.js +2 -2
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +4 -4
- package/dist/esm/stzh-badge_3.entry.js +14 -7
- package/dist/esm/stzh-calendar.entry.js +2 -2
- package/dist/esm/stzh-card_3.entry.js +498 -0
- package/dist/esm/stzh-cell.entry.js +1 -1
- package/dist/esm/stzh-chart.entry.js +3 -4
- package/dist/esm/stzh-checkbox.entry.js +4 -4
- package/dist/esm/stzh-checkboxgroup.entry.js +4 -4
- package/dist/esm/stzh-chip.entry.js +7 -6
- package/dist/esm/stzh-clamp.entry.js +2 -2
- package/dist/esm/stzh-components.js +3 -3
- package/dist/esm/stzh-contactaddress.entry.js +34 -8
- package/dist/esm/stzh-container.entry.js +1 -1
- package/dist/esm/stzh-cspace.entry.js +2 -2
- package/dist/esm/stzh-datalist_2.entry.js +175 -0
- package/dist/esm/stzh-datamessagelist-item.entry.js +4 -3
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +1 -1
- package/dist/esm/stzh-datepicker_3.entry.js +5 -5
- package/dist/esm/stzh-details.entry.js +151 -0
- package/dist/esm/stzh-dialog.entry.js +6 -6
- package/dist/esm/stzh-dropdown.entry.js +4 -4
- package/dist/esm/stzh-fieldset.entry.js +1 -1
- package/dist/esm/stzh-figure.entry.js +3 -3
- package/dist/esm/stzh-flyingfocus.entry.js +2 -2
- package/dist/esm/stzh-footer.entry.js +3 -3
- package/dist/esm/stzh-ghettobox_2.entry.js +9 -6
- package/dist/esm/stzh-header.entry.js +29 -15
- package/dist/esm/stzh-heading.entry.js +2 -2
- package/dist/esm/stzh-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +1 -1
- package/dist/esm/stzh-icon-sprite.entry.js +2 -2
- package/dist/esm/{stzh-input-description-e87e6697.js → stzh-input-description-bdd1e340.js} +1 -1
- package/dist/esm/stzh-input.entry.js +4 -4
- package/dist/esm/stzh-langnav.entry.js +33 -0
- package/dist/esm/stzh-link.entry.js +12 -5
- package/dist/esm/stzh-list-item.entry.js +1 -1
- package/dist/esm/stzh-list.entry.js +1 -1
- package/dist/esm/stzh-loader.entry.js +1 -1
- package/dist/esm/stzh-loadingbar.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +3 -3
- package/dist/esm/stzh-message.entry.js +2 -2
- package/dist/esm/stzh-metanav.entry.js +1 -1
- package/dist/esm/stzh-microsite-teaserlist.entry.js +92 -0
- package/dist/esm/stzh-olmap.entry.js +2 -2
- package/dist/esm/stzh-overlay.entry.js +1 -1
- package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm/stzh-pagebottom.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +4 -4
- package/dist/esm/stzh-pagetitle.entry.js +3 -3
- package/dist/esm/stzh-popover.entry.js +28 -10
- package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
- package/dist/esm/stzh-progressbar-item.entry.js +2 -2
- package/dist/esm/stzh-progressbar.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +2 -2
- package/dist/esm/stzh-row.entry.js +1 -1
- package/dist/esm/stzh-saptcha.entry.js +1 -1
- package/dist/esm/stzh-section.entry.js +1 -1
- package/dist/esm/stzh-share.entry.js +1 -1
- package/dist/esm/stzh-sitemap.entry.js +20 -0
- package/dist/esm/stzh-skiplink.entry.js +1 -1
- package/dist/esm/stzh-sortable.entry.js +31 -12
- package/dist/esm/stzh-status.entry.js +1 -1
- package/dist/esm/stzh-sticky.entry.js +1 -1
- package/dist/esm/stzh-table.entry.js +2 -2
- package/dist/esm/stzh-text.entry.js +1 -1
- package/dist/esm/stzh-textandimage.entry.js +31 -0
- package/dist/esm/stzh-toggle.entry.js +4 -4
- package/dist/esm/stzh-tooltip.entry.js +38 -14
- package/dist/esm/stzh-upload.entry.js +4 -4
- package/dist/esm/stzh-vbz-linechip.entry.js +3 -2
- package/dist/esm/stzh-vbz-majorticker.entry.js +21 -10
- package/dist/esm/stzh-vbz-ticker.entry.js +26 -37
- package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +1 -1
- package/dist/esm/{utils-68a28fce.js → utils-92a77db5.js} +1 -1
- package/dist/esm-es5/animation-utils-e234a5f8.js +1 -0
- package/dist/esm-es5/{app-globals-246b5e49.js → app-globals-ff581b69.js} +1 -1
- package/dist/esm-es5/{index-2915b467.js → index-011c84fe.js} +1 -1
- package/dist/esm-es5/index.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
- package/dist/esm-es5/stzh-accordion.entry.js +1 -1
- package/dist/esm-es5/stzh-actions.entry.js +1 -1
- package/dist/esm-es5/stzh-actionset.entry.js +1 -1
- package/dist/esm-es5/stzh-anchornav.entry.js +1 -1
- package/dist/esm-es5/stzh-appnav.entry.js +1 -1
- package/dist/esm-es5/stzh-appointments.entry.js +1 -1
- package/dist/esm-es5/stzh-audio.entry.js +2 -2
- package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-calendar.entry.js +1 -1
- package/dist/esm-es5/stzh-card_3.entry.js +1 -0
- package/dist/esm-es5/stzh-cell.entry.js +1 -1
- package/dist/esm-es5/stzh-chart.entry.js +2 -2
- package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
- package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
- package/dist/esm-es5/stzh-chip.entry.js +1 -1
- package/dist/esm-es5/stzh-clamp.entry.js +1 -1
- package/dist/esm-es5/stzh-components.js +1 -1
- package/dist/esm-es5/stzh-contactaddress.entry.js +1 -1
- package/dist/esm-es5/stzh-container.entry.js +1 -1
- package/dist/esm-es5/stzh-cspace.entry.js +1 -1
- package/dist/esm-es5/stzh-datalist_2.entry.js +1 -0
- package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm-es5/stzh-datatable.entry.js +1 -1
- package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
- package/dist/esm-es5/stzh-details.entry.js +1 -0
- package/dist/esm-es5/stzh-dialog.entry.js +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
- package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
- package/dist/esm-es5/stzh-figure.entry.js +1 -1
- package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm-es5/stzh-footer.entry.js +1 -1
- package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
- package/dist/esm-es5/stzh-header.entry.js +1 -1
- package/dist/esm-es5/stzh-heading.entry.js +1 -1
- package/dist/esm-es5/stzh-hr.entry.js +1 -1
- package/dist/esm-es5/stzh-hspace.entry.js +1 -1
- package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
- package/dist/esm-es5/{stzh-input-description-e87e6697.js → stzh-input-description-bdd1e340.js} +1 -1
- package/dist/esm-es5/stzh-input.entry.js +1 -1
- package/dist/esm-es5/stzh-langnav.entry.js +1 -0
- package/dist/esm-es5/stzh-link.entry.js +1 -1
- package/dist/esm-es5/stzh-list-item.entry.js +1 -1
- package/dist/esm-es5/stzh-list.entry.js +1 -1
- package/dist/esm-es5/stzh-loader.entry.js +1 -1
- package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
- package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
- package/dist/esm-es5/stzh-message.entry.js +1 -1
- package/dist/esm-es5/stzh-metanav.entry.js +1 -1
- package/dist/esm-es5/stzh-microsite-teaserlist.entry.js +1 -0
- package/dist/esm-es5/stzh-olmap.entry.js +2 -2
- package/dist/esm-es5/stzh-overlay.entry.js +1 -1
- package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
- package/dist/esm-es5/stzh-popover.entry.js +1 -1
- package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
- package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
- package/dist/esm-es5/stzh-row.entry.js +1 -1
- package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
- package/dist/esm-es5/stzh-section.entry.js +1 -1
- package/dist/esm-es5/stzh-share.entry.js +1 -1
- package/dist/esm-es5/stzh-sitemap.entry.js +1 -0
- package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
- package/dist/esm-es5/stzh-sortable.entry.js +2 -2
- package/dist/esm-es5/stzh-status.entry.js +1 -1
- package/dist/esm-es5/stzh-sticky.entry.js +1 -1
- package/dist/esm-es5/stzh-table.entry.js +1 -1
- package/dist/esm-es5/stzh-text.entry.js +1 -1
- package/dist/esm-es5/stzh-textandimage.entry.js +1 -0
- package/dist/esm-es5/stzh-toggle.entry.js +1 -1
- package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
- package/dist/esm-es5/stzh-upload.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm-es5/stzh-vspace.entry.js +1 -1
- package/dist/esm-es5/{utils-68a28fce.js → utils-92a77db5.js} +1 -1
- package/dist/stzh-components/assets/i18n/de.json +15 -7
- package/dist/stzh-components/assets/i18n/en.json +16 -8
- package/dist/stzh-components/assets/icons/mono/arrow-right-down.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/construction.svg +2 -2
- package/dist/stzh-components/assets/icons/mono/fountain.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/pause-filled.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/play-filled.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/reload.svg +2 -9
- package/dist/stzh-components/assets/icons/mono/water-drops.svg +11 -0
- package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +102 -37
- package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/stzh-components/index.esm.js +1 -0
- package/dist/stzh-components/{p-f6ab391e.system.entry.js → p-006751fc.system.entry.js} +1 -1
- package/dist/stzh-components/{p-27839f48.entry.js → p-025c9c5b.entry.js} +1 -1
- package/dist/stzh-components/{p-e9313802.system.entry.js → p-0409bf6b.system.entry.js} +2 -2
- package/dist/stzh-components/p-06d9b884.system.entry.js +1 -0
- package/dist/stzh-components/{p-3e504f50.entry.js → p-0743d7fa.entry.js} +1 -1
- package/dist/stzh-components/p-0850a2e1.system.entry.js +1 -0
- package/dist/stzh-components/{p-d5ee4ac0.entry.js → p-09da70d8.entry.js} +1 -1
- package/dist/stzh-components/{p-4e6ddb5f.entry.js → p-0a647396.entry.js} +1 -1
- package/dist/stzh-components/p-0c8427bc.entry.js +1 -0
- package/dist/stzh-components/{p-b1ff3a21.system.entry.js → p-0cc8bbd7.system.entry.js} +2 -2
- package/dist/stzh-components/{p-e662b688.entry.js → p-0cff4e01.entry.js} +1 -1
- package/dist/stzh-components/{p-0321e98e.system.entry.js → p-104df3a8.system.entry.js} +1 -1
- package/dist/stzh-components/p-10c046fc.system.entry.js +1 -0
- package/dist/stzh-components/{p-26159eac.system.entry.js → p-11d7b426.system.entry.js} +1 -1
- package/dist/stzh-components/p-12a2afe9.entry.js +1 -0
- package/dist/stzh-components/p-17645237.entry.js +1 -0
- package/dist/stzh-components/p-18cb06e2.entry.js +1 -0
- package/dist/stzh-components/{p-c3161c9b.system.entry.js → p-19ab7e34.system.entry.js} +1 -1
- package/dist/stzh-components/p-1ae4d600.system.entry.js +1 -0
- package/dist/stzh-components/{p-ff534e27.entry.js → p-1d8272a5.entry.js} +1 -1
- package/dist/stzh-components/{p-27bfb4c2.system.entry.js → p-21cad060.system.entry.js} +1 -1
- package/dist/stzh-components/{p-14f0d546.entry.js → p-22b06793.entry.js} +1 -1
- package/dist/stzh-components/{p-22c9a00d.system.entry.js → p-23829f75.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3fc40cc0.system.entry.js → p-2577ca1e.system.entry.js} +1 -1
- package/dist/stzh-components/{p-7dd6fbc9.system.entry.js → p-288ee536.system.entry.js} +1 -1
- package/dist/stzh-components/{p-2c16d2ea.entry.js → p-28d8aa31.entry.js} +1 -1
- package/dist/stzh-components/{p-8fc8d8c2.system.entry.js → p-2bdc71ae.system.entry.js} +1 -1
- package/dist/stzh-components/p-2bec3c77.entry.js +1 -0
- package/dist/stzh-components/p-2d340222.system.entry.js +1 -0
- package/dist/stzh-components/{p-2e276f2e.system.entry.js → p-30ae5c00.system.entry.js} +1 -1
- package/dist/stzh-components/{p-34eb65b9.entry.js → p-30ba96a3.entry.js} +1 -1
- package/dist/stzh-components/{p-62afe664.entry.js → p-31c3469c.entry.js} +1 -1
- package/dist/stzh-components/{p-881e526e.system.entry.js → p-3200f52a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-725b3e74.system.entry.js → p-33f80cd2.system.entry.js} +1 -1
- package/dist/stzh-components/{p-456143f9.entry.js → p-376946bc.entry.js} +1 -1
- package/dist/stzh-components/p-385dda6c.system.entry.js +1 -0
- package/dist/stzh-components/{p-71220066.entry.js → p-391e6b90.entry.js} +1 -1
- package/dist/stzh-components/p-3a1ff759.entry.js +1 -0
- package/dist/stzh-components/p-3ad67331.entry.js +1 -0
- package/dist/stzh-components/p-3e850dce.entry.js +1 -0
- package/dist/stzh-components/p-4226dec6.system.entry.js +1 -0
- package/dist/stzh-components/p-441ea784.entry.js +1 -0
- package/dist/stzh-components/{p-229f4ebc.system.entry.js → p-44e0b101.system.entry.js} +1 -1
- package/dist/stzh-components/p-4704588f.system.entry.js +1 -0
- package/dist/stzh-components/{p-30e5a674.entry.js → p-49b292df.entry.js} +1 -1
- package/dist/stzh-components/p-49bb09a5.entry.js +1 -0
- package/dist/stzh-components/{p-9454a438.entry.js → p-4b0f473e.entry.js} +1 -1
- package/dist/stzh-components/p-4b369bac.entry.js +1 -0
- package/dist/stzh-components/p-5011f10c.js +1 -0
- package/dist/stzh-components/{p-53c30c58.entry.js → p-51be647d.entry.js} +1 -1
- package/dist/stzh-components/{p-6267a327.system.js → p-5494f37d.system.js} +1 -1
- package/dist/stzh-components/p-557f07b5.system.entry.js +1 -0
- package/dist/stzh-components/p-55b7cda7.system.entry.js +1 -0
- package/dist/stzh-components/{p-05901b22.system.entry.js → p-57237509.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b09b85ac.entry.js → p-576e1345.entry.js} +1 -1
- package/dist/stzh-components/p-5790eb4f.system.entry.js +1 -0
- package/dist/stzh-components/p-57a0f895.entry.js +1 -0
- package/dist/stzh-components/p-57f8596f.system.entry.js +1 -0
- package/dist/stzh-components/p-586a8b3f.entry.js +1 -0
- package/dist/stzh-components/p-58af0855.system.entry.js +1 -0
- package/dist/stzh-components/{p-c866224d.entry.js → p-5b1c1cf7.entry.js} +1 -1
- package/dist/stzh-components/{p-bd5b8114.system.entry.js → p-5ddf8258.system.entry.js} +1 -1
- package/dist/stzh-components/{p-470e5f38.system.entry.js → p-5fd9ae99.system.entry.js} +1 -1
- package/dist/stzh-components/{p-6c1ad586.system.entry.js → p-60274e67.system.entry.js} +1 -1
- package/dist/stzh-components/{p-470ccde5.system.entry.js → p-60d9bf98.system.entry.js} +1 -1
- package/dist/stzh-components/{p-652eee8b.system.entry.js → p-60ec90b2.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3efefb7f.entry.js → p-62a2684d.entry.js} +1 -1
- package/dist/stzh-components/p-63d94a57.system.entry.js +1 -0
- package/dist/stzh-components/{p-4a3f9353.entry.js → p-64422176.entry.js} +1 -1
- package/dist/stzh-components/{p-a3559e69.entry.js → p-661831da.entry.js} +1 -1
- package/dist/stzh-components/{p-bc841847.entry.js → p-669896ec.entry.js} +1 -1
- package/dist/stzh-components/{p-38b9e5e9.entry.js → p-67c6f0f2.entry.js} +1 -1
- package/dist/stzh-components/{p-b666bb15.entry.js → p-6a0a76b3.entry.js} +1 -1
- package/dist/stzh-components/{p-8ab86ca3.system.entry.js → p-6d009f56.system.entry.js} +1 -1
- package/dist/stzh-components/p-71c07419.system.entry.js +1 -0
- package/dist/stzh-components/{p-3a0f37bd.entry.js → p-72389069.entry.js} +1 -1
- package/dist/stzh-components/p-75068cd7.system.entry.js +1 -0
- package/dist/stzh-components/{p-229d4ad2.entry.js → p-76165227.entry.js} +1 -1
- package/dist/stzh-components/p-7704b10b.entry.js +1 -0
- package/dist/stzh-components/p-791bc813.system.js +1 -0
- package/dist/stzh-components/{p-71d757d3.js → p-7941cf38.js} +1 -1
- package/dist/stzh-components/{p-cc735465.system.entry.js → p-7adc28a4.system.entry.js} +2 -2
- package/dist/stzh-components/p-7b86c022.entry.js +1 -0
- package/dist/stzh-components/p-7c26f80f.system.entry.js +1 -0
- package/dist/stzh-components/p-7ce59988.system.entry.js +1 -0
- package/dist/stzh-components/{p-e785d9cc.entry.js → p-7e94dde2.entry.js} +1 -1
- package/dist/stzh-components/{p-bdc627fa.system.entry.js → p-812ea5e9.system.entry.js} +1 -1
- package/dist/stzh-components/{p-5c2d0572.entry.js → p-84965eac.entry.js} +1 -1
- package/dist/stzh-components/p-84b9f66f.system.entry.js +1 -0
- package/dist/stzh-components/p-853a1f92.entry.js +1 -0
- package/dist/stzh-components/p-86a29c35.js +1 -0
- package/dist/stzh-components/{p-44435254.system.entry.js → p-88a31179.system.entry.js} +1 -1
- package/dist/stzh-components/p-8991d3bc.entry.js +1 -0
- package/dist/stzh-components/{p-4fd4a703.entry.js → p-8a1d00fe.entry.js} +2 -2
- package/dist/stzh-components/{p-b99c0844.entry.js → p-8bbaed3a.entry.js} +1 -1
- package/dist/stzh-components/{p-6a96d63e.system.entry.js → p-8cc119d3.system.entry.js} +1 -1
- package/dist/stzh-components/p-8fa2fb95.system.entry.js +1 -0
- package/dist/stzh-components/p-9072a490.system.entry.js +1 -0
- package/dist/stzh-components/p-912706bb.entry.js +1 -0
- package/dist/stzh-components/{p-5e81420b.entry.js → p-9176246f.entry.js} +1 -1
- package/dist/stzh-components/p-92afa8df.entry.js +1 -0
- package/dist/stzh-components/{p-61d4852f.system.entry.js → p-94830f96.system.entry.js} +1 -1
- package/dist/stzh-components/p-95b490ec.system.entry.js +1 -0
- package/dist/stzh-components/p-9743f558.system.entry.js +1 -0
- package/dist/stzh-components/p-97e16665.system.entry.js +1 -0
- package/dist/stzh-components/p-996579d0.entry.js +1 -0
- package/dist/stzh-components/{p-7a4c6adb.js → p-9a5ebb1f.js} +1 -1
- package/dist/stzh-components/{p-1a5fc8e3.system.entry.js → p-9dac46e2.system.entry.js} +1 -1
- package/dist/stzh-components/p-9e38b823.system.entry.js +1 -0
- package/dist/stzh-components/p-9e4e0cc9.entry.js +1 -0
- package/dist/stzh-components/p-a16dc363.entry.js +1 -0
- package/dist/stzh-components/{p-33a52001.system.entry.js → p-a474826c.system.entry.js} +1 -1
- package/dist/stzh-components/{p-7d77b8d2.entry.js → p-a53c0a98.entry.js} +1 -1
- package/dist/stzh-components/{p-0c10d9b1.entry.js → p-a8101552.entry.js} +2 -2
- package/dist/stzh-components/p-a934dd4d.entry.js +1 -0
- package/dist/stzh-components/{p-5caa837c.system.entry.js → p-aacf685b.system.entry.js} +2 -2
- package/dist/stzh-components/{p-c1100fde.entry.js → p-aae4655f.entry.js} +1 -1
- package/dist/stzh-components/p-ac1a6085.system.entry.js +1 -0
- package/dist/stzh-components/p-ac3aa560.system.entry.js +1 -0
- package/dist/stzh-components/{p-7c172e64.system.entry.js → p-afedafa6.system.entry.js} +1 -1
- package/dist/stzh-components/p-b0d8866d.entry.js +1 -0
- package/dist/stzh-components/{p-36596b2b.system.entry.js → p-b2145753.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3a279b45.entry.js → p-b3dc4913.entry.js} +1 -1
- package/dist/stzh-components/{p-44dd74d1.system.entry.js → p-b436a18d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-55435022.system.entry.js → p-b908d228.system.entry.js} +1 -1
- package/dist/stzh-components/{p-909d7a3c.system.js → p-b937ae70.system.js} +1 -1
- package/dist/stzh-components/{p-daa34275.system.entry.js → p-ba0b93c4.system.entry.js} +1 -1
- package/dist/stzh-components/{p-90665664.system.entry.js → p-be79497f.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0e48efa7.entry.js → p-bee6eef5.entry.js} +1 -1
- package/dist/stzh-components/{p-616e70e9.system.entry.js → p-bfcfbfbb.system.entry.js} +1 -1
- package/dist/stzh-components/p-c0fef3d1.entry.js +1 -0
- package/dist/stzh-components/{p-8eb72064.system.entry.js → p-c30600d0.system.entry.js} +1 -1
- package/dist/stzh-components/{p-46f4e907.entry.js → p-c3a543a6.entry.js} +1 -1
- package/dist/stzh-components/p-c63aecaa.system.entry.js +1 -0
- package/dist/stzh-components/p-c87e12de.system.entry.js +1 -0
- package/dist/stzh-components/{p-2c783943.entry.js → p-cc720d2d.entry.js} +1 -1
- package/dist/stzh-components/p-cfd22a5e.system.entry.js +1 -0
- package/dist/stzh-components/p-cff8376e.entry.js +1 -0
- package/dist/stzh-components/p-d240494d.entry.js +1 -0
- package/dist/stzh-components/p-d2f6fb1b.system.js +1 -0
- package/dist/stzh-components/p-d5c0801b.entry.js +1 -0
- package/dist/stzh-components/{p-440ae0cc.system.entry.js → p-d5cb80ad.system.entry.js} +1 -1
- package/dist/stzh-components/p-d6ec20c8.system.entry.js +1 -0
- package/dist/stzh-components/p-d9bf09b1.system.entry.js +1 -0
- package/dist/stzh-components/{p-b5a59ac0.entry.js → p-db1692fb.entry.js} +1 -1
- package/dist/stzh-components/{p-609bf766.system.js → p-dbdc01c7.system.js} +2 -2
- package/dist/stzh-components/{p-8347b91f.js → p-df5f49b4.js} +1 -1
- package/dist/stzh-components/p-e016ceb9.entry.js +1 -0
- package/dist/stzh-components/{p-fade35c7.entry.js → p-e0f063ac.entry.js} +1 -1
- package/dist/stzh-components/p-e32bc982.system.js +1 -0
- package/dist/stzh-components/{p-5ed4d1d5.system.entry.js → p-e46d82b9.system.entry.js} +1 -1
- package/dist/stzh-components/p-e76a3647.entry.js +1 -0
- package/dist/stzh-components/{p-e347ce1e.system.entry.js → p-e7cf6c45.system.entry.js} +1 -1
- package/dist/stzh-components/p-ea9ca52b.entry.js +1 -0
- package/dist/stzh-components/p-eaa65f52.system.js +1 -0
- package/dist/stzh-components/p-eade9f77.entry.js +1 -0
- package/dist/stzh-components/{p-e69903fe.entry.js → p-eb6d3e6c.entry.js} +1 -1
- package/dist/stzh-components/{p-d408604f.system.entry.js → p-ec3a472a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-d4b93488.entry.js → p-ec7b6ce8.entry.js} +2 -2
- package/dist/stzh-components/{p-ef62b905.entry.js → p-ed0d51b6.entry.js} +1 -1
- package/dist/stzh-components/p-ed6adb96.entry.js +1 -0
- package/dist/stzh-components/p-ef3da23b.entry.js +1 -0
- package/dist/stzh-components/{p-27573504.system.entry.js → p-f027e569.system.entry.js} +1 -1
- package/dist/stzh-components/{p-95defe16.system.entry.js → p-f03ce92d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-a866b3a3.entry.js → p-f133eba2.entry.js} +1 -1
- package/dist/stzh-components/p-f3107fc7.system.entry.js +1 -0
- package/dist/stzh-components/{p-92788577.entry.js → p-f5fdc88c.entry.js} +2 -2
- package/dist/stzh-components/{p-183e4790.system.entry.js → p-fbf2f4ed.system.entry.js} +1 -1
- package/dist/stzh-components/{p-f5f3475c.system.entry.js → p-fcec6003.system.entry.js} +1 -1
- package/dist/stzh-components/{p-cf781b59.entry.js → p-fd265f3a.entry.js} +1 -1
- package/dist/stzh-components/p-fdb906b9.system.entry.js +1 -0
- package/dist/stzh-components/{p-b54ed1f9.entry.js → p-fee6a938.entry.js} +1 -1
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.d.ts +1 -0
- package/dist/types/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.d.ts +5 -0
- package/dist/types/components/stzh-popover/stzh-popover.localization.d.ts +1 -0
- package/dist/types/components/stzh-tooltip/stzh-tooltip.localization.d.ts +1 -0
- package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +13 -12
- package/dist/types/components.d.ts +534 -29
- package/dist/types/index.d.ts +86 -2
- package/dist/vscode-data.json +291 -18
- package/package.json +1 -1
- package/dist/cjs/stzh-card-list.cjs.entry.js +0 -76
- package/dist/cjs/stzh-card.cjs.entry.js +0 -282
- package/dist/cjs/stzh-chip-select.cjs.entry.js +0 -112
- package/dist/cjs/stzh-datalist.cjs.entry.js +0 -62
- package/dist/esm/stzh-card-list.entry.js +0 -72
- package/dist/esm/stzh-card.entry.js +0 -278
- package/dist/esm/stzh-chip-select.entry.js +0 -108
- package/dist/esm/stzh-datalist.entry.js +0 -58
- package/dist/esm-es5/animation-utils-25c74e5b.js +0 -1
- package/dist/esm-es5/stzh-card-list.entry.js +0 -1
- package/dist/esm-es5/stzh-card.entry.js +0 -1
- package/dist/esm-es5/stzh-chip-select.entry.js +0 -1
- package/dist/esm-es5/stzh-datalist.entry.js +0 -1
- package/dist/stzh-components/p-01909f35.system.entry.js +0 -1
- package/dist/stzh-components/p-0230004d.system.js +0 -1
- package/dist/stzh-components/p-025953d1.system.entry.js +0 -1
- package/dist/stzh-components/p-04dd6821.entry.js +0 -1
- package/dist/stzh-components/p-090bfb8e.system.entry.js +0 -1
- package/dist/stzh-components/p-105a11cb.entry.js +0 -1
- package/dist/stzh-components/p-140e4b63.entry.js +0 -1
- package/dist/stzh-components/p-14e457c6.system.entry.js +0 -1
- package/dist/stzh-components/p-17ae6581.entry.js +0 -1
- package/dist/stzh-components/p-1f57d28e.js +0 -1
- package/dist/stzh-components/p-20a6ffbb.entry.js +0 -1
- package/dist/stzh-components/p-238a8c83.system.entry.js +0 -1
- package/dist/stzh-components/p-25ef050a.entry.js +0 -1
- package/dist/stzh-components/p-293ceb5e.entry.js +0 -1
- package/dist/stzh-components/p-2a5855f8.js +0 -1
- package/dist/stzh-components/p-2ba8b5c9.system.entry.js +0 -1
- package/dist/stzh-components/p-37bdb9cd.system.entry.js +0 -1
- package/dist/stzh-components/p-38977481.entry.js +0 -1
- package/dist/stzh-components/p-3a47ff2d.system.entry.js +0 -1
- package/dist/stzh-components/p-509c97c9.system.entry.js +0 -1
- package/dist/stzh-components/p-50ea2036.system.js +0 -1
- package/dist/stzh-components/p-51c75fba.system.entry.js +0 -1
- package/dist/stzh-components/p-529a56aa.system.entry.js +0 -1
- package/dist/stzh-components/p-52cd1bd1.system.js +0 -1
- package/dist/stzh-components/p-5869502c.system.entry.js +0 -1
- package/dist/stzh-components/p-5c311df3.entry.js +0 -1
- package/dist/stzh-components/p-60d8e2da.entry.js +0 -1
- package/dist/stzh-components/p-61c9ca5d.entry.js +0 -1
- package/dist/stzh-components/p-67ade1c7.system.entry.js +0 -1
- package/dist/stzh-components/p-6830f839.entry.js +0 -1
- package/dist/stzh-components/p-6a16ceff.entry.js +0 -1
- package/dist/stzh-components/p-6d22bd0d.entry.js +0 -1
- package/dist/stzh-components/p-783346ed.entry.js +0 -1
- package/dist/stzh-components/p-7909f56b.entry.js +0 -1
- package/dist/stzh-components/p-7a584d3f.system.entry.js +0 -1
- package/dist/stzh-components/p-7aef399f.entry.js +0 -1
- package/dist/stzh-components/p-7dec02ca.entry.js +0 -1
- package/dist/stzh-components/p-84aace40.system.entry.js +0 -1
- package/dist/stzh-components/p-8d9056de.entry.js +0 -1
- package/dist/stzh-components/p-8f9de52f.system.entry.js +0 -1
- package/dist/stzh-components/p-90ad5e2c.entry.js +0 -1
- package/dist/stzh-components/p-92ad9720.system.entry.js +0 -1
- package/dist/stzh-components/p-965829a6.system.entry.js +0 -1
- package/dist/stzh-components/p-98a972b7.system.entry.js +0 -1
- package/dist/stzh-components/p-9a7593f5.entry.js +0 -1
- package/dist/stzh-components/p-a10e0117.system.entry.js +0 -1
- package/dist/stzh-components/p-ac409e7b.system.entry.js +0 -1
- package/dist/stzh-components/p-ad119aca.entry.js +0 -1
- package/dist/stzh-components/p-b0e514c7.entry.js +0 -1
- package/dist/stzh-components/p-b3587b9d.system.entry.js +0 -1
- package/dist/stzh-components/p-bc34bf07.system.entry.js +0 -1
- package/dist/stzh-components/p-bfdce66c.entry.js +0 -1
- package/dist/stzh-components/p-c051fc3b.entry.js +0 -1
- package/dist/stzh-components/p-c2238fbf.entry.js +0 -1
- package/dist/stzh-components/p-c3846ccf.system.entry.js +0 -1
- package/dist/stzh-components/p-c6813d9f.system.entry.js +0 -1
- package/dist/stzh-components/p-c777032f.system.entry.js +0 -1
- package/dist/stzh-components/p-c8009c05.system.entry.js +0 -1
- package/dist/stzh-components/p-cbaab05e.entry.js +0 -1
- package/dist/stzh-components/p-ce06b4f2.system.js +0 -1
- package/dist/stzh-components/p-d00e20ff.entry.js +0 -1
- package/dist/stzh-components/p-d26ed018.entry.js +0 -1
- package/dist/stzh-components/p-e161760f.system.entry.js +0 -1
- package/dist/stzh-components/p-ee711f37.system.entry.js +0 -1
- package/dist/stzh-components/p-ee944add.system.entry.js +0 -1
- package/dist/stzh-components/p-f8ccf5b1.entry.js +0 -1
- package/dist/stzh-components/p-f9039c23.entry.js +0 -1
- package/dist/stzh-components/p-ff2a6bdf.system.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,a,e,s){function r(t){return t instanceof e?t:new e((function(a){a(t)}))}return new(e||(e=Promise))((function(e,i){function n(t){try{c(s.next(t))}catch(a){i(a)}}function h(t){try{c(s["throw"](t))}catch(a){i(a)}}function c(t){t.done?e(t.value):r(t.value).then(n,h)}c((s=s.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},s,r,i,n;return n={next:h(0),throw:h(1),return:h(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function h(t){return function(a){return c([t,a])}}function c(n){if(s)throw new TypeError("Generator is already executing.");while(e)try{if(s=1,r&&(i=n[0]&2?r["return"]:n[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;if(r=0,i)n=[n[0]&2,i.value];switch(n[0]){case 0:case 1:i=n;break;case 4:e.label++;return{value:n[1],done:false};case 5:e.label++;r=n[1];n=[0];continue;case 7:n=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(n[0]===6||n[0]===2)){e=0;continue}if(n[0]===3&&(!i||n[1]>i[0]&&n[1]<i[3])){e.label=n[1];break}if(n[0]===6&&e.label<i[1]){e.label=i[1];i=n;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(n);break}if(i[2])e.ops.pop();e.trys.pop();continue}n=a.call(t,e)}catch(h){n=[6,h];r=0}finally{s=i=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};System.register(["./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,a,e,s){function r(t){return t instanceof e?t:new e((function(a){a(t)}))}return new(e||(e=Promise))((function(e,i){function n(t){try{c(s.next(t))}catch(a){i(a)}}function h(t){try{c(s["throw"](t))}catch(a){i(a)}}function c(t){t.done?e(t.value):r(t.value).then(n,h)}c((s=s.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},s,r,i,n;return n={next:h(0),throw:h(1),return:h(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function h(t){return function(a){return c([t,a])}}function c(n){if(s)throw new TypeError("Generator is already executing.");while(e)try{if(s=1,r&&(i=n[0]&2?r["return"]:n[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;if(r=0,i)n=[n[0]&2,i.value];switch(n[0]){case 0:case 1:i=n;break;case 4:e.label++;return{value:n[1],done:false};case 5:e.label++;r=n[1];n=[0];continue;case 7:n=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(n[0]===6||n[0]===2)){e=0;continue}if(n[0]===3&&(!i||n[1]>i[0]&&n[1]<i[3])){e.label=n[1];break}if(n[0]===6&&e.label<i[1]){e.label=i[1];i=n;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(n);break}if(i[2])e.ops.pop();e.trys.pop();continue}n=a.call(t,e)}catch(h){n=[6,h];r=0}finally{s=i=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};System.register(["./p-dbdc01c7.system.js","./p-a408bfba.system.js"],(function(t){"use strict";var a,e,s,r,i;return{setters:[function(t){a=t.r;e=t.h;s=t.a;r=t.g},function(t){i=t.f}],execute:function(){var n=".sc-stzh-saptcha-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-saptcha-h{display:none}.sc-stzh-saptcha-h *.sc-stzh-saptcha,.sc-stzh-saptcha-h *.sc-stzh-saptcha::before,.sc-stzh-saptcha-h *.sc-stzh-saptcha::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-saptcha__box.sc-stzh-saptcha{padding-top:var(--stzh-space-medium);padding-bottom:var(--stzh-space-xlarge);padding-left:var(--stzh-space-medium);padding-right:var(--stzh-space-medium);background-color:var(--stzh-section-highlight-background-color)}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-top:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-bottom:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-left:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-left:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-right:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-right:var(--stzh-space-xlarge)}}.stzh-saptcha__info.sc-stzh-saptcha,.stzh-saptcha__question.sc-stzh-saptcha{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-saptcha__answer.sc-stzh-saptcha{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;font-size:var(--stzh-font-regular-font-size);line-height:var(--stzh-font-regular-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-saptcha__input.sc-stzh-saptcha{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-saptcha__input.sc-stzh-saptcha{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-saptcha__input.sc-stzh-saptcha{margin-top:var(--stzh-space-large)}}";var h=0;var c=t("stzh_saptcha",function(){function t(t){a(this,t);this._numbers=[];this.localization=undefined;this.numbers=[];this.value="";this.name="saptcha";this.error=undefined;this.invalid=false;this.disabled=false}t.prototype.numbersWatcher=function(t){if(typeof t==="string"){this._numbers=JSON.parse(t)}else{this._numbers=t}};t.prototype.errorWatcher=function(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(a){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}this.invalid=this._error.length>0};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(a){switch(a.label){case 0:this.saptchaId="stzh-saptcha-".concat(h++);this.numbersWatcher(this.numbers);this.errorWatcher(this.error);if(!!this.localization)return[3,2];t=this;return[4,i(this.element,"saptcha")];case 1:t.localization=a.sent();a.label=2;case 2:return[2]}}))}))};t.prototype.render=function(){var t=this;var a={"stzh-saptcha":true};return e(s,null,e("div",{class:a},e("div",{class:"stzh-saptcha__box"},e("div",{class:"stzh-saptcha__info",id:"".concat(this.saptchaId,"-info")},this.localization.info),e("div",{id:"".concat(this.saptchaId,"-question")},e("div",{class:"stzh-saptcha__question"},this.localization.question),e("div",{class:"stzh-saptcha__answer"},this._numbers.map((function(a,s){return e("span",{class:"stzh-saptcha__number"},a,s<t._numbers.length-1&&(s===t._numbers.length-2?t.localization.answerOr:", "))})))),e("stzh-input",{class:"stzh-saptcha__input",label:this.localization.answer,name:this.name,invalid:this.invalid,error:this.error,disabled:this.disabled,value:this.value,required:true,"show-marker":true,a11yDescribedby:"".concat(this.saptchaId,"-info ").concat(this.saptchaId,"-question")}))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{numbers:["numbersWatcher"],error:["errorWatcher"]}},enumerable:false,configurable:true});return t}());c.style=n}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as s,a as e,g as a}from"./p-
|
|
1
|
+
import{r as t,h as s,a as e,g as a}from"./p-9a5ebb1f.js";import{s as i,h}from"./p-86a29c35.js";const l=class{constructor(s){t(this,s),this.init=()=>{const t=this.element.querySelectorAll('stzh-heading[slot="heading"], [slot="heading"] stzh-heading'),s=this.element.querySelectorAll('stzh-text[slot="lead"], [slot="lead"] stzh-text'),e=this.element.querySelectorAll('stzh-link[slot="action-left"], stzh-link[slot="action-right"], [slot="action-left"] stzh-link, [slot="action-right"] stzh-link'),a=this.element.querySelectorAll('stzh-link[slot="action-right"], [slot="action-right"] stzh-link');t.forEach((t=>{i(t,{withBorder:!0})})),s.forEach((t=>{i(t,{lead:!0})})),a.forEach((t=>{i(t,{icon:"web-link"})})),e.forEach((t=>{i(t,{size:"small"})}))}}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer.disconnect()}render(){const t=h(this.element,"heading"),a=h(this.element,"image"),i=h(this.element,"lead"),l=h(this.element,"action-left"),n=h(this.element,"action-right");return s(e,null,s("div",{class:{"stzh-pagetitle":!0,"stzh-pagetitle--has-heading":t,"stzh-pagetitle--has-image":a,"stzh-pagetitle--has-lead":i,"stzh-pagetitle--has-action":l||n,"stzh-pagetitle--has-action-left":l,"stzh-pagetitle--has-action-right":n}},s("slot",{name:"heading"}),s("div",{class:"stzh-pagetitle__actions"},s("slot",{name:"action-left"}),s("slot",{name:"action-right"})),s("slot",{name:"image"}),s("slot",{name:"lead"})))}get element(){return a(this)}};l.style=".sc-stzh-pagetitle-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-pagetitle-h{display:none}.sc-stzh-pagetitle-h *.sc-stzh-pagetitle,.sc-stzh-pagetitle-h *.sc-stzh-pagetitle::before,.sc-stzh-pagetitle-h *.sc-stzh-pagetitle::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=heading]{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=heading]{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=heading]{margin-bottom:var(--stzh-space-xxxlarge)}}.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=image]{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=image]{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=image]{margin-top:var(--stzh-space-xlarge)}}.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=lead]{margin-top:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=lead]{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=lead]{margin-top:var(--stzh-space-xxxlarge)}}.stzh-pagetitle__actions.sc-stzh-pagetitle{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}";export{l as stzh_pagetitle}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,o,r){function c(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,i){function s(e){try{h(r.next(e))}catch(t){i(t)}}function n(e){try{h(r["throw"](e))}catch(t){i(t)}}function h(e){e.done?o(e.value):c(e.value).then(s,n)}h((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,c,i,s;return s={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function n(e){return function(t){return h([e,t])}}function h(s){if(r)throw new TypeError("Generator is already executing.");while(o)try{if(r=1,c&&(i=s[0]&2?c["return"]:s[0]?c["throw"]||((i=c["return"])&&i.call(c),0):c.next)&&!(i=i.call(c,s[1])).done)return i;if(c=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:o.label++;return{value:s[1],done:false};case 5:o.label++;c=s[1];s=[0];continue;case 7:s=o.ops.pop();o.trys.pop();continue;default:if(!(i=o.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){o=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(s[0]===6&&o.label<i[1]){o.label=i[1];i=s;break}if(i&&o.label<i[2]){o.label=i[2];o.ops.push(s);break}if(i[2])o.ops.pop();o.trys.pop();continue}s=t.call(e,o)}catch(n){s=[6,n];c=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-dbdc01c7.system.js","./p-791bc813.system.js","./p-f58c28ad.system.js","./p-a408bfba.system.js","./p-d2f6fb1b.system.js"],(function(e){"use strict";var t,o,r,c,i,s,n;return{setters:[function(e){t=e.r;o=e.h;r=e.g},function(e){c=e.h},function(e){i=e.c},function(e){s=e.f},function(e){n=e.S}],execute:function(){var h=".sc-stzh-checkboxgroup-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-checkboxgroup-h{display:none}.sc-stzh-checkboxgroup-h *.sc-stzh-checkboxgroup,.sc-stzh-checkboxgroup-h *.sc-stzh-checkboxgroup::before,.sc-stzh-checkboxgroup-h *.sc-stzh-checkboxgroup::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-checkboxgroup-h[direction=vertical] .sc-stzh-checkboxgroup-s>stzh-checkbox:not(:last-child){margin-bottom:var(--stzh-space-medium)}.sc-stzh-checkboxgroup-h[direction=horizontal] .sc-stzh-checkboxgroup-s>stzh-checkbox:not(:last-child){margin-right:var(--stzh-space-large)}.stzh-checkboxgroup.sc-stzh-checkboxgroup{margin:0;padding:0;border:none}.stzh-checkboxgroup__marker-symbol.sc-stzh-checkboxgroup{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-checkboxgroup__marker-text.sc-stzh-checkboxgroup{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-checkboxgroup__description-wrapper.sc-stzh-checkboxgroup{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-checkboxgroup__error.sc-stzh-checkboxgroup,.stzh-checkboxgroup__description.sc-stzh-checkboxgroup{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-checkboxgroup__error.sc-stzh-checkboxgroup{color:var(--stzh-color-error)}.stzh-checkboxgroup__error-list.sc-stzh-checkboxgroup{list-style:none;margin:0;padding:0}.stzh-checkboxgroup__description.sc-stzh-checkboxgroup{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-checkboxgroup__description-long.sc-stzh-checkboxgroup{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-checkboxgroup__description-long-popover.sc-stzh-checkboxgroup{--width:auto;--max-width:27.3125rem}.stzh-checkboxgroup__description-long-popover[open].sc-stzh-checkboxgroup:not([open=false]) .stzh-checkboxgroup__description-long-button.sc-stzh-checkboxgroup{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkboxgroup__description-long-button.sc-stzh-checkboxgroup{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-checkboxgroup__description-long-button.sc-stzh-checkboxgroup:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkboxgroup.sc-stzh-checkboxgroup stzh-icon.stzh-checkboxgroup__description-long-icon.sc-stzh-checkboxgroup{--size:var(--stzh-icon-size-xsmall)}.stzh-checkboxgroup--has-error.sc-stzh-checkboxgroup .stzh-checkboxgroup__error.sc-stzh-checkboxgroup,.stzh-checkboxgroup--has-description.sc-stzh-checkboxgroup .stzh-checkboxgroup__description.sc-stzh-checkboxgroup{margin-top:var(--stzh-space-xxsmall)}.stzh-checkboxgroup__fields.sc-stzh-checkboxgroup{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:column;flex-direction:column}.stzh-checkboxgroup__legend.sc-stzh-checkboxgroup{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);padding:0;margin-bottom:var(--stzh-space-xsmall)}.stzh-checkboxgroup--hide-legend.sc-stzh-checkboxgroup .stzh-checkboxgroup__legend.sc-stzh-checkboxgroup{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-checkboxgroup--direction-horizontal.sc-stzh-checkboxgroup .stzh-checkboxgroup__fields.sc-stzh-checkboxgroup{-ms-flex-direction:row;flex-direction:row}";var a=0;var l=e("stzh_checkboxgroup",function(){function e(e){var o=this;t(this,e);this._value=[];this._preventUpdateProperties=[];this.init=function(){o.checkboxes=Array.from(o.element.querySelectorAll("stzh-checkbox"));o.updateCheckboxesProperty("a11y-describedby","".concat(o.checkboxgroupId,"-description"));o.watchValue(o.value);o.watchName(o.name);o.watchDisabled(o.disabled);o.watchInvalid(o.invalid);o.watchShowMarker(o.showMarker)};this.localization=undefined;this.disabled=false;this.name=undefined;this.legend=undefined;this.hideLegend=false;this.invalid=false;this.showMarker=false;this.value="";this.direction="vertical";this.description=undefined;this.descriptionLong=undefined;this.error=undefined;this.checkedCheckbox=null;this.preventUpdateProperties=[]}e.prototype.watchName=function(e){this.updateCheckboxesProperty("name",e)};e.prototype.watchDisabled=function(e){this.updateCheckboxesProperty("disabled",e)};e.prototype.watchInvalid=function(e){this.updateCheckboxesProperty("invalid",e)};e.prototype.watchShowMarker=function(e){this.updateCheckboxesProperty("showMarker",e)};e.prototype.watchValue=function(e){if(typeof e==="string"){this._value=JSON.parse(e)}else{this._value=e}this.updateCheckedCheckboxByValue(this._value)};e.prototype.errorWatcher=function(e){if(typeof e==="string"){try{this._error=JSON.parse(e)}catch(t){if(e){this._error=[e]}else{this._error=[]}}}else if(e){this._error=e}else{this._error=[]}this.invalid=this._error.length>0};e.prototype.preventUpdatePropertiesWatcher=function(e){if(typeof e==="string"){this._preventUpdateProperties=JSON.parse(e)}else{this._preventUpdateProperties=e}};e.prototype.onChange=function(e){if(e.detail.checked){this._value.push(e.detail.value)}else{this._value=this._value.filter((function(t){return t!==e.detail.value}))}this.value=this._value};e.prototype.updateCheckboxesProperty=function(e,t){var o=this;this.checkboxes.forEach((function(r){if(e==="name"||o._preventUpdateProperties.indexOf(e)===-1){r[i(e)]=t}}))};e.prototype.updateCheckedCheckboxByValue=function(e){this.checkedCheckbox=this.checkboxes.filter((function(t){return e.indexOf(t.value)>-1}));this.checkboxes.forEach((function(t){return t.checked=e.indexOf(t.value)>-1}))};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:this.checkboxgroupId="stzh-checkboxgroup-".concat(a++);this.errorWatcher(this.error);this.preventUpdatePropertiesWatcher(this.preventUpdateProperties);if(!!this.localization)return[3,2];e=this;return[4,s(this.element,"checkboxgroup")];case 1:e.localization=t.sent();t.label=2;case 2:return[2]}}))}))};e.prototype.componentShouldUpdate=function(e,t,o){return o!=="checkedCheckbox"};e.prototype.componentDidRender=function(){this.init()};e.prototype.connectedCallback=function(){if(!this.value.length){this.checkboxes=Array.from(this.element.querySelectorAll("stzh-checkbox"));this.value=this.checkboxes.filter((function(e){return e.checked})).map((function(e){return e.value}))}this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};e.prototype.disconnectedCallback=function(){this.observer.disconnect()};e.prototype.render=function(){var e;var t=c(this.element,"description")||!!this.description;var r=c(this.element,"description-long")||!!this.descriptionLong;var i=c(this.element,"error")||!!this.error;var s=(e={"stzh-checkboxgroup":true,"stzh-checkboxgroup--has-description":t,"stzh-checkboxgroup--has-description-long":r,"stzh-checkboxgroup--has-error":i,"stzh-checkboxgroup--is-disabled":this.disabled,"stzh-checkboxgroup--is-invalid":this.invalid,"stzh-checkboxgroup--hide-legend":this.hideLegend},e["stzh-checkboxgroup--direction-".concat(this.direction)]=!!this.direction,e);return o("fieldset",{class:s},this.legend&&o("legend",{class:"stzh-checkboxgroup__legend"},this.legend),o("div",{class:"stzh-checkboxgroup__fields"},o("slot",null)),o(n,{classPrefix:"stzh-checkboxgroup",id:"".concat(this.checkboxgroupId,"-description"),error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:r,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel}))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{name:["watchName"],disabled:["watchDisabled"],invalid:["watchInvalid"],showMarker:["watchShowMarker"],value:["watchValue"],error:["errorWatcher"],preventUpdateProperties:["preventUpdatePropertiesWatcher"]}},enumerable:false,configurable:true});return e}());l.style=h}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as registerInstance,h,a as Host,g as getElement}from"./p-
|
|
1
|
+
import{r as registerInstance,h,a as Host,g as getElement}from"./p-9a5ebb1f.js";import{c as createCommonjsModule,b as commonjsGlobal}from"./p-a6d4a8b1.js";import{f as fetchTranslations}from"./p-25a09313.js";var flexsearch_bundle=createCommonjsModule((function(module){
|
|
2
2
|
/**!
|
|
3
3
|
* FlexSearch.js v0.7.21 (Bundle)
|
|
4
4
|
* Copyright 2018-2021 Nextapps GmbH
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,a,g as s}from"./p-7a4c6adb.js";import{s as i}from"./p-1f57d28e.js";const r=class{constructor(e){t(this,e),this.updateCellClasses=()=>{this.tableWrapper&&Array.from(this.tableWrapper.querySelectorAll("tr")).forEach((t=>{Array.from(t.children).forEach(((t,e)=>{t.classList.remove("is-sticky-left"),t.classList.remove("is-sticky-right"),e===this.fixedLeft&&t.classList.add("is-sticky-left"),e===this.fixedRight&&t.classList.add("is-sticky-right")}))}))},this.updateScrollStates=()=>{if(!this.tableWrapper)return;const t=this.tableWrapper.scrollLeft,e=this.tableWrapper.scrollWidth,a=this.tableWrapper.clientWidth;this.isScrollable=e>a,this.hasScrollLeft=t>0,this.hasScrollRight=t<e-a;const s=Array.from(this.tableWrapper.querySelectorAll("tr")),i=s[0];i&&(this.cellsStickyLeft=[],this.cellsStickyRight=[],Array.from(i.children).forEach(((e,s)=>{const i=e.offsetLeft,r=i+e.offsetWidth;this.hasScrollLeft&&s===this.fixedLeft&&Math.ceil(t)>=i&&this.cellsStickyLeft.push(s),this.hasScrollRight&&s===this.fixedRight&&Math.ceil(t)+a<=r&&this.cellsStickyRight.push(s)})),s.forEach((t=>{Array.from(t.children).forEach(((t,e)=>{this.cellsStickyLeft.indexOf(e)>-1||this.cellsStickyRight.indexOf(e)>-1?t.classList.add("has-sticked"):t.classList.remove("has-sticked")}))})))},this.init=()=>{const t=this.element.querySelector('stzh-input[slot="search"], [slot="search"] stzh-input');t&&i(t,{size:"small"}),this.updateCellClasses(),this.updateScrollStates()},this.handleScroll=()=>{this.debounceScroll&&window.cancelAnimationFrame(this.debounceScroll),this.debounceScroll=requestAnimationFrame(this.updateScrollStates)},this.fixedLeft=null,this.fixedRight=null,this.hasScrollLeft=!1,this.hasScrollRight=!1,this.isScrollable=!1,this.cellsStickyLeft=[],this.cellsStickyRight=[]}fixedCellWatcher(){this.updateCellClasses(),this.updateScrollStates()}handleResize(){this.updateScrollStates()}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer.disconnect()}render(){return e(a,null,e("div",{class:{"stzh-table":!0,"is-scrollable":this.isScrollable,"has-scroll-left":this.hasScrollLeft,"has-scroll-right":this.hasScrollRight,"has-scroll-left-shadow":this.hasScrollLeft&&0===this.cellsStickyLeft.length,"has-scroll-right-shadow":this.hasScrollRight&&0===this.cellsStickyRight.length}},e("div",{class:"stzh-table__header"},e("div",{class:"stzh-table__heading"},e("slot",{name:"heading"})),e("div",{class:"stzh-table__search"},e("slot",{name:"search"}))),e("div",{class:"stzh-table__outer-wrapper"},e("div",{ref:t=>this.tableWrapper=t,class:"stzh-table__wrapper",onScroll:this.handleScroll},e("slot",null)))))}get element(){return s(this)}static get watchers(){return{fixedLeft:["fixedCellWatcher"],fixedRight:["fixedCellWatcher"]}}};r.style=':host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-table{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block;--max-height:var(--stzh-table-max-height);--min-width:var(--stzh-table-min-width);--cell-padding:var(--stzh-table-cell-padding);--input-width:var(--stzh-table-input-width)}stzh-table[hidden]{display:none}stzh-table *,stzh-table *::before,stzh-table *::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-table{}.stzh-table__header{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-bottom:0.0625rem solid var(--stzh-base-border-color);padding-bottom:var(--stzh-space-small);margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-table__header{padding-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-table__header{padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.stzh-table__header{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-table__header{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-table__header{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}.stzh-table__heading{margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-table__heading{margin-bottom:0}}.stzh-table__header .stzh-table__search{width:var(--stzh-table-input-width)}@media screen and (min-width: 1024px){.stzh-table__header .stzh-table__search{margin-left:var(--stzh-space-large)}}.stzh-table__outer-wrapper{position:relative}.stzh-table__outer-wrapper::before,.stzh-table__outer-wrapper::after{z-index:4;background:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.16)), to(rgba(0, 0, 0, 0)));background:linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:0.375rem;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed);opacity:0}.stzh-table__outer-wrapper::before{left:0}.stzh-table__outer-wrapper::after{right:0;-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.stzh-table__wrapper{overflow-x:auto;max-height:var(--max-height)}.stzh-table__sort-button{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:inherit;line-height:inherit;color:inherit;padding:var(--cell-padding)}.stzh-table__sort-button:hover,.stzh-table__sort-button:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-table__sort-icon{opacity:0}.stzh-table table{width:100%;border-spacing:0;min-width:var(--min-width)}.stzh-table thead{position:-webkit-sticky;position:sticky;top:0;z-index:3}.stzh-table tr:hover td,.stzh-table tr:hover th{background-color:var(--stzh-color-grey5)}.stzh-table td,.stzh-table th{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);text-align:left;border:none;vertical-align:top;border:none;border-bottom:0.0625rem solid var(--stzh-base-border-color);background-color:var(--stzh-color-white);-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed);padding:var(--cell-padding);}.stzh-table td a,.stzh-table th a{color:var(--stzh-link-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius)}.stzh-table td a:hover,.stzh-table td a:focus,.stzh-table th a:hover,.stzh-table th a:focus{color:var(--stzh-link-hover-color)}.stzh-table td b,.stzh-table td strong,.stzh-table th b,.stzh-table th strong{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal}.stzh-table td i,.stzh-table td em,.stzh-table th i,.stzh-table th em{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-table td.align-left,.stzh-table th.align-left{text-align:left}.stzh-table td.align-right,.stzh-table th.align-right{text-align:right}.stzh-table td.align-center,.stzh-table th.align-center{text-align:center}.stzh-table td.valign-auto,.stzh-table th.valign-auto{vertical-align:auto}.stzh-table td.valign-middle,.stzh-table th.valign-middle{vertical-align:middle}.stzh-table td.valign-bottom,.stzh-table th.valign-bottom{vertical-align:bottom}.stzh-table td.nowrap,.stzh-table th.nowrap{white-space:nowrap}.stzh-table td.is-sticky-left,.stzh-table td.is-sticky-right,.stzh-table th.is-sticky-left,.stzh-table th.is-sticky-right{position:-webkit-sticky;position:sticky;z-index:1}.stzh-table td.has-sticked,.stzh-table th.has-sticked{z-index:2}.stzh-table td.is-sticky-left,.stzh-table th.is-sticky-left{left:0}.stzh-table td.is-sticky-right,.stzh-table th.is-sticky-right{right:0}.stzh-table td.is-sticky-left::after,.stzh-table td.is-sticky-right::after,.stzh-table th.is-sticky-left::after,.stzh-table th.is-sticky-right::after{background:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.16)), to(rgba(0, 0, 0, 0)));background:linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:0.375rem;-webkit-transform:translate(100%);transform:translate(100%);opacity:0;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed)}.stzh-table td.is-sticky-left::after,.stzh-table th.is-sticky-left::after{right:0}.stzh-table td.is-sticky-right::after,.stzh-table th.is-sticky-right::after{left:0;-webkit-transform:rotate(-180deg) translate(100%);transform:rotate(-180deg) translate(100%)}.stzh-table td.has-sticked.is-sticky-left::after,.stzh-table td.has-sticked.is-sticky-right::after,.stzh-table th.has-sticked.is-sticky-left::after,.stzh-table th.has-sticked.is-sticky-right::after{opacity:1}.stzh-table th{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-table th.is-sortable{padding:0}td.has-sorted .stzh-table__sort-icon,th.has-sorted .stzh-table__sort-icon{opacity:1}td.has-sorted-desc .stzh-table__sort-icon,th.has-sorted-desc .stzh-table__sort-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.stzh-table.has-scroll-left-shadow .stzh-table__outer-wrapper::before,.stzh-table.has-scroll-right-shadow .stzh-table__outer-wrapper::after{opacity:1}';export{r as stzh_table}
|
|
1
|
+
import{r as t,h as e,a,g as s}from"./p-9a5ebb1f.js";import{s as i}from"./p-86a29c35.js";const r=class{constructor(e){t(this,e),this.updateCellClasses=()=>{this.tableWrapper&&Array.from(this.tableWrapper.querySelectorAll("tr")).forEach((t=>{Array.from(t.children).forEach(((t,e)=>{t.classList.remove("is-sticky-left"),t.classList.remove("is-sticky-right"),e===this.fixedLeft&&t.classList.add("is-sticky-left"),e===this.fixedRight&&t.classList.add("is-sticky-right")}))}))},this.updateScrollStates=()=>{if(!this.tableWrapper)return;const t=this.tableWrapper.scrollLeft,e=this.tableWrapper.scrollWidth,a=this.tableWrapper.clientWidth;this.isScrollable=e>a,this.hasScrollLeft=t>0,this.hasScrollRight=t<e-a;const s=Array.from(this.tableWrapper.querySelectorAll("tr")),i=s[0];i&&(this.cellsStickyLeft=[],this.cellsStickyRight=[],Array.from(i.children).forEach(((e,s)=>{const i=e.offsetLeft,r=i+e.offsetWidth;this.hasScrollLeft&&s===this.fixedLeft&&Math.ceil(t)>=i&&this.cellsStickyLeft.push(s),this.hasScrollRight&&s===this.fixedRight&&Math.ceil(t)+a<=r&&this.cellsStickyRight.push(s)})),s.forEach((t=>{Array.from(t.children).forEach(((t,e)=>{this.cellsStickyLeft.indexOf(e)>-1||this.cellsStickyRight.indexOf(e)>-1?t.classList.add("has-sticked"):t.classList.remove("has-sticked")}))})))},this.init=()=>{const t=this.element.querySelector('stzh-input[slot="search"], [slot="search"] stzh-input');t&&i(t,{size:"small"}),this.updateCellClasses(),this.updateScrollStates()},this.handleScroll=()=>{this.debounceScroll&&window.cancelAnimationFrame(this.debounceScroll),this.debounceScroll=requestAnimationFrame(this.updateScrollStates)},this.fixedLeft=null,this.fixedRight=null,this.hasScrollLeft=!1,this.hasScrollRight=!1,this.isScrollable=!1,this.cellsStickyLeft=[],this.cellsStickyRight=[]}fixedCellWatcher(){this.updateCellClasses(),this.updateScrollStates()}handleResize(){this.updateScrollStates()}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer.disconnect()}render(){return e(a,null,e("div",{class:{"stzh-table":!0,"is-scrollable":this.isScrollable,"has-scroll-left":this.hasScrollLeft,"has-scroll-right":this.hasScrollRight,"has-scroll-left-shadow":this.hasScrollLeft&&0===this.cellsStickyLeft.length,"has-scroll-right-shadow":this.hasScrollRight&&0===this.cellsStickyRight.length}},e("div",{class:"stzh-table__header"},e("div",{class:"stzh-table__heading"},e("slot",{name:"heading"})),e("div",{class:"stzh-table__search"},e("slot",{name:"search"}))),e("div",{class:"stzh-table__outer-wrapper"},e("div",{ref:t=>this.tableWrapper=t,class:"stzh-table__wrapper",onScroll:this.handleScroll},e("slot",null)))))}get element(){return s(this)}static get watchers(){return{fixedLeft:["fixedCellWatcher"],fixedRight:["fixedCellWatcher"]}}};r.style=':host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-table{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block;--max-height:var(--stzh-table-max-height);--min-width:var(--stzh-table-min-width);--cell-padding:var(--stzh-table-cell-padding);--input-width:var(--stzh-table-input-width)}stzh-table[hidden]{display:none}stzh-table *,stzh-table *::before,stzh-table *::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-table{}.stzh-table__header{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-bottom:0.0625rem solid var(--stzh-base-border-color);padding-bottom:var(--stzh-space-small);margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-table__header{padding-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-table__header{padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.stzh-table__header{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-table__header{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-table__header{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}.stzh-table__heading{margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-table__heading{margin-bottom:0}}.stzh-table__header .stzh-table__search{width:var(--stzh-table-input-width)}@media screen and (min-width: 1024px){.stzh-table__header .stzh-table__search{margin-left:var(--stzh-space-large)}}.stzh-table__outer-wrapper{position:relative}.stzh-table__outer-wrapper::before,.stzh-table__outer-wrapper::after{z-index:4;background:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.16)), to(rgba(0, 0, 0, 0)));background:linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:0.375rem;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed);opacity:0}.stzh-table__outer-wrapper::before{left:0}.stzh-table__outer-wrapper::after{right:0;-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.stzh-table__wrapper{overflow-x:auto;max-height:var(--max-height)}.stzh-table__sort-button{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:inherit;line-height:inherit;color:inherit;padding:var(--cell-padding)}.stzh-table__sort-button:hover,.stzh-table__sort-button:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-table__sort-icon{opacity:0}.stzh-table table{width:100%;border-spacing:0;min-width:var(--min-width)}.stzh-table thead{position:-webkit-sticky;position:sticky;top:0;z-index:3}.stzh-table tr:hover td,.stzh-table tr:hover th{background-color:var(--stzh-color-grey5)}.stzh-table td,.stzh-table th{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);text-align:left;border:none;vertical-align:top;border:none;border-bottom:0.0625rem solid var(--stzh-base-border-color);background-color:var(--stzh-color-white);-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed);padding:var(--cell-padding);}.stzh-table td a,.stzh-table th a{color:var(--stzh-link-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius)}.stzh-table td a:hover,.stzh-table td a:focus,.stzh-table th a:hover,.stzh-table th a:focus{color:var(--stzh-link-hover-color)}.stzh-table td b,.stzh-table td strong,.stzh-table th b,.stzh-table th strong{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal}.stzh-table td i,.stzh-table td em,.stzh-table th i,.stzh-table th em{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-table td.align-left,.stzh-table th.align-left{text-align:left}.stzh-table td.align-right,.stzh-table th.align-right{text-align:right}.stzh-table td.align-center,.stzh-table th.align-center{text-align:center}.stzh-table td.valign-auto,.stzh-table th.valign-auto{vertical-align:auto}.stzh-table td.valign-middle,.stzh-table th.valign-middle{vertical-align:middle}.stzh-table td.valign-bottom,.stzh-table th.valign-bottom{vertical-align:bottom}.stzh-table td.nowrap,.stzh-table th.nowrap{white-space:nowrap}.stzh-table td.is-sticky-left,.stzh-table td.is-sticky-right,.stzh-table th.is-sticky-left,.stzh-table th.is-sticky-right{position:-webkit-sticky;position:sticky;z-index:1}.stzh-table td.has-sticked,.stzh-table th.has-sticked{z-index:2}.stzh-table td.is-sticky-left,.stzh-table th.is-sticky-left{left:0}.stzh-table td.is-sticky-right,.stzh-table th.is-sticky-right{right:0}.stzh-table td.is-sticky-left::after,.stzh-table td.is-sticky-right::after,.stzh-table th.is-sticky-left::after,.stzh-table th.is-sticky-right::after{background:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.16)), to(rgba(0, 0, 0, 0)));background:linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:0.375rem;-webkit-transform:translate(100%);transform:translate(100%);opacity:0;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed)}.stzh-table td.is-sticky-left::after,.stzh-table th.is-sticky-left::after{right:0}.stzh-table td.is-sticky-right::after,.stzh-table th.is-sticky-right::after{left:0;-webkit-transform:rotate(-180deg) translate(100%);transform:rotate(-180deg) translate(100%)}.stzh-table td.has-sticked.is-sticky-left::after,.stzh-table td.has-sticked.is-sticky-right::after,.stzh-table th.has-sticked.is-sticky-left::after,.stzh-table th.has-sticked.is-sticky-right::after{opacity:1}.stzh-table th{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-table th.is-sortable{padding:0}td.has-sorted .stzh-table__sort-icon,th.has-sorted .stzh-table__sort-icon{opacity:1}td.has-sorted-desc .stzh-table__sort-icon,th.has-sorted-desc .stzh-table__sort-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.stzh-table.has-scroll-left-shadow .stzh-table__outer-wrapper::before,.stzh-table.has-scroll-right-shadow .stzh-table__outer-wrapper::after{opacity:1}';export{r as stzh_table}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,a as n,g as e}from"./p-7a4c6adb.js";import{f as a,t as h}from"./p-25a09313.js";import{p,a as o}from"./p-77a00e55.js";import{c as r}from"./p-c8bcceac.js";const m=class{constructor(i){t(this,i),this.stzhChange=s(this,"stzhChange",7),this.showMoreLink=!1,this.moreItemsLeft=0,this.showCalendar=!1,this.showSort=!1,this.showSortStart=!1,this.showSortPlace=!1,this.showAppointmentsTitle=!1,this.allAppointsmentOnSameDay=!0,this.sortOptions=[],this.isDateDisabled=t=>!this._appointments.find((s=>s.start.getFullYear()===t.getFullYear()&&s.start.getMonth()===t.getMonth()&&s.start.getDate()===t.getDate())),this.onNextActiveDateClick=async()=>{if(this.nextDate){this.currentDate=this.nextDate;const t=await this.datepickerElement.getPopover();t&&t.hide()}},this.onMoreClick=()=>{this.showItems=this.stepItems+this.showItems,this.inputElement.querySelector("stzh-radio").setFocus()},this.onDropdownChange=async t=>{const s=t.target,i=await s.getValue();i&&(this.sortBy=i)},this.onDatepickerChange=t=>{"stzh-datepicker"===t.detail.component&&t.detail.valueAsDate&&(this.currentDate=t.detail.valueAsDate,this.showItems=this.stepItems)},this.onRadioChange=t=>{this.value=t.detail.value,this.stzhChange.emit({component:"stzh-appointments",value:this.value})},this.localization=void 0,this.sortBy="start",this.appointments=[],this.currentDate=void 0,this.value="",this.name="appointment",this.showItems=5,this.stepItems=5,this.calendarTitle="",this.appointmentsTitle="",this.dateAdapter=void 0}currentDateWatcher(t){t?"string"==typeof t?(this._currentDate=p(t),this.setValueToFirstAppointmentOfCurrentDate()):(this._currentDate=t,this.setValueToFirstAppointmentOfCurrentDate()):(this._currentDate=this.dateByValue||this.earliestDate,this.dateByValue||this.setValueToFirstAppointmentOfCurrentDate())}sortByWatcher(){this.setValueToFirstAppointmentOfCurrentDate()}valueWatcher(){this.updateDateByValue(),this.currentDateWatcher(this.currentDate)}appointmentsWatcher(t){if(this._appointments="string"==typeof t?JSON.parse(t):t,this._appointments.forEach((t=>{t.start=new Date(t.start),t.end=new Date(t.end)})),this._appointments.length>0&&(this._appointments.sort(((t,s)=>t.start>s.start?1:-1)),this.earliestDate=this._appointments[0].start,this.latestDate=this._appointments[this._appointments.length-1].start,this.updateDateByValue()),this._appointments.length>1){const t=this._appointments[0].start;this.allAppointsmentOnSameDay=this._appointments.map((t=>t.start)).every((s=>`${s.getFullYear()}-${s.getMonth()}-${s.getDate()}`==`${t.getFullYear()}-${t.getMonth()}-${t.getDate()}`))}this.showCalendar=!this.allAppointsmentOnSameDay,this.showAppointmentsTitle=this._appointments.length>1,this.currentDateWatcher(this.currentDate)}updateDateByValue(){this.dateByValue=this.value&&this._appointments.find((t=>t.value===this.value)).start}getCurrentDateAppointments(){let t=0;const s=this._appointments.filter(((s,i)=>{const n=s.start.getFullYear()===this._currentDate.getFullYear()&&s.start.getMonth()===this._currentDate.getMonth()&&s.start.getDate()===this._currentDate.getDate();return n&&(t=i),n}));return this.nextDate=this._appointments[t+1]?this._appointments[t+1].start:null,s.sort(((t,s)=>t[this.sortBy]>s[this.sortBy]?1:-1)),s}setValueToFirstAppointmentOfCurrentDate(){const t=this.getCurrentDateAppointments().filter((t=>!t.disabled));t.length>0&&(this.value=t[0].value,this.stzhChange.emit({component:"stzh-appointments",value:this.value}))}async componentWillLoad(){this.appointmentsWatcher(this.appointments),this.localization||(this.localization=await a(this.element,"appointments")),this.dateAdapter||(this.dateAdapter=r(this.localization.$formats,this.localization.$globals))}componentWillRender(){const t=this.getCurrentDateAppointments();this.appointmentsShown=t.slice(0,this.showItems),this.showMoreLink=this.showItems<t.length,this.moreItemsLeft=t.length-this.showItems,this.showSortStart=t.map((t=>this.dateAdapter.format(t.start,"time"))).filter(((t,s,i)=>i.indexOf(t)==s)).length>1,this.showSortPlace=t.map((t=>t.place)).filter(((t,s,i)=>i.indexOf(t)==s)).length>1,this.sortOptions=[],this.showSortStart&&this.sortOptions.push({text:this.localization.sortByTime,value:"start"}),this.showSortPlace&&this.sortOptions.push({text:this.localization.sortByPlace,value:"place"}),this.showSort=this.appointmentsShown.length>1,this._sortBy=(this.showSortStart&&!this.showSortPlace?"start":!this.showSortStart&&this.showSortPlace&&"place")||this.sortBy}componentDidRender(){this.datepickerElement&&this.datepickerElement.setDate(this._currentDate),this.datepickerElementMedium&&this.datepickerElementMedium.setDate(this._currentDate)}render(){return i(n,null,i("div",{class:{"stzh-appointments":!0,"stzh-appointments--has-calendar":this.showCalendar,"stzh-appointments--has-appointments-title":this.showAppointmentsTitle,"stzh-appointments--has-sort":this.showSort}},i("div",{class:"stzh-appointments__wrapper"},this.showCalendar&&i("div",{class:"stzh-appointments__calendar-wrapper"},i("div",{class:"stzh-appointments__calendar-title-wrapper"},i("div",{class:"stzh-appointments__calendar-title"},i("stzh-icon",{class:"stzh-appointments__calendar-icon",name:"calendar"}),i("stzh-text",{font:"heavy"},this.calendarTitle||this.localization.calendarTitle))),i("div",{class:"stzh-appointments__calendar-content"},i("stzh-datepicker",{ref:t=>this.datepickerElement=t,onStzhChange:this.onDatepickerChange,label:this.localization.datepickerLabel,calendarIsDateDisabled:this.isDateDisabled,calendarMin:o(this.earliestDate),calendarMax:o(this.latestDate)},i("stzh-link",{slot:"action",disabled:!this.nextDate,onClick:this.onNextActiveDateClick},i("stzh-text",{size:"milli"},this.localization.nextDayWithAppointments)))),i("div",{class:"stzh-appointments__calendar-content-medium"},i("stzh-datepicker",{ref:t=>this.datepickerElementMedium=t,onStzhChange:this.onDatepickerChange,inline:!0,calendarIsDateDisabled:this.isDateDisabled,calendarMin:o(this.earliestDate),calendarMax:o(this.latestDate)},this.nextDate&&i("stzh-link",{slot:"action",onClick:this.onNextActiveDateClick},i("stzh-text",{size:"milli"},this.localization.nextDayWithAppointments))))),i("div",{class:"stzh-appointments__appointments-wrapper"},this.showAppointmentsTitle&&i("div",{class:"stzh-appointments__appointments-title-wrapper"},i("div",{class:"stzh-appointments__appointments-title"},i("stzh-icon",{class:"stzh-appointments__appointments-icon",name:"clock"}),i("stzh-text",{font:"heavy"},this.appointmentsTitle||this.localization.appointmentsTitle)),this.showSort&&i("div",{class:"stzh-appointments__sort"},i("stzh-dropdown",{inline:!0,"no-search":!0,class:"stzh-appointments__sort-dropdown",variant:"plain",size:"small",items:[this._sortBy],options:this.sortOptions,onStzhChange:this.onDropdownChange}))),i("div",{class:"stzh-appointments__appointments-content"},i("stzh-radiogroup",{ref:t=>this.inputElement=t,legend:this.localization.inputLegend,"hide-legend":!0,name:this.name,value:this.value,preventUpdateProperties:["disabled"]},this.appointmentsShown.map((t=>i("stzh-radio",{onStzhChange:this.onRadioChange,value:t.value,disabled:void 0!==t.disabled&&t.disabled},i("stzh-text",{font:"heavy",size:"milli"},!this.showCalendar&&i("span",null,this.dateAdapter.format(t.start),", "),this.dateAdapter.format(t.start,"time"),i("span",{innerHTML:this.localization.$formats.timeRange}),this.dateAdapter.format(t.end,"time"),i("span",{innerHTML:this.localization.$formats.timePostfix})),i("stzh-text",{size:"milli"},t.caption))))),this.showMoreLink&&i("stzh-link",{class:"stzh-appointments__more-link",onClick:this.onMoreClick},i("stzh-text",{size:"milli"},h(this.localization.moreTextItems,this.moreItemsLeft>this.stepItems?this.stepItems:this.moreItemsLeft))))))))}get element(){return e(this)}static get watchers(){return{currentDate:["currentDateWatcher"],sortBy:["sortByWatcher"],value:["valueWatcher"],appointments:["appointmentsWatcher"]}}};m.style=".sc-stzh-appointments-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-appointments-h{display:none}.sc-stzh-appointments-h *.sc-stzh-appointments,.sc-stzh-appointments-h *.sc-stzh-appointments::before,.sc-stzh-appointments-h *.sc-stzh-appointments::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-appointments__wrapper.sc-stzh-appointments{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 1024px){.stzh-appointments__wrapper.sc-stzh-appointments{-ms-flex-direction:row;flex-direction:row}}.stzh-appointments__calendar-wrapper.sc-stzh-appointments{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 1024px){.stzh-appointments__calendar-wrapper.sc-stzh-appointments{margin-right:var(--stzh-space-large)}}.stzh-appointments__appointments-wrapper.sc-stzh-appointments{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:column;flex-direction:column;margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:var(--stzh-space-medium);height:var(--stzh-space-xxlarge)}}.stzh-appointments__calendar-title.sc-stzh-appointments,.stzh-appointments__appointments-title.sc-stzh-appointments{display:-ms-flexbox;display:flex}.stzh-appointments__calendar-icon.sc-stzh-appointments,.stzh-appointments__appointments-icon.sc-stzh-appointments{margin-right:var(--stzh-space-xsmall);display:none}@media screen and (min-width: 1024px){.stzh-appointments__calendar-icon.sc-stzh-appointments,.stzh-appointments__appointments-icon.sc-stzh-appointments{display:-ms-inline-flexbox;display:inline-flex}}.stzh-appointments__calendar-content-medium.sc-stzh-appointments,.stzh-appointments__appointments-content.sc-stzh-appointments{background-color:var(--stzh-color-white);border:0.0625rem solid var(--stzh-color-grey13);border-radius:0.125rem}@media screen and (min-width: 1024px){.stzh-appointments__calendar-content.sc-stzh-appointments{display:none}}.stzh-appointments__calendar-content-medium.sc-stzh-appointments{display:none;padding:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-appointments__calendar-content-medium.sc-stzh-appointments{display:block}}.stzh-appointments__appointments-content.sc-stzh-appointments{padding:var(--stzh-space-xlarge);-ms-flex-positive:1;flex-grow:1}.stzh-appointments__more-link.sc-stzh-appointments{margin-top:var(--stzh-space-medium)}.stzh-appointments--has-calendar.sc-stzh-appointments .stzh-appointments__appointments-wrapper.sc-stzh-appointments{margin-top:var(--stzh-space-large)}@media screen and (min-width: 1024px){.stzh-appointments--has-calendar.sc-stzh-appointments .stzh-appointments__appointments-wrapper.sc-stzh-appointments{margin-top:0}}";export{m as stzh_appointments}
|
|
1
|
+
import{r as t,c as s,h as i,a as n,g as e}from"./p-9a5ebb1f.js";import{f as a,t as h}from"./p-25a09313.js";import{p,a as o}from"./p-77a00e55.js";import{c as r}from"./p-c8bcceac.js";const m=class{constructor(i){t(this,i),this.stzhChange=s(this,"stzhChange",7),this.showMoreLink=!1,this.moreItemsLeft=0,this.showCalendar=!1,this.showSort=!1,this.showSortStart=!1,this.showSortPlace=!1,this.showAppointmentsTitle=!1,this.allAppointsmentOnSameDay=!0,this.sortOptions=[],this.isDateDisabled=t=>!this._appointments.find((s=>s.start.getFullYear()===t.getFullYear()&&s.start.getMonth()===t.getMonth()&&s.start.getDate()===t.getDate())),this.onNextActiveDateClick=async()=>{if(this.nextDate){this.currentDate=this.nextDate;const t=await this.datepickerElement.getPopover();t&&t.hide()}},this.onMoreClick=()=>{this.showItems=this.stepItems+this.showItems,this.inputElement.querySelector("stzh-radio").setFocus()},this.onDropdownChange=async t=>{const s=t.target,i=await s.getValue();i&&(this.sortBy=i)},this.onDatepickerChange=t=>{"stzh-datepicker"===t.detail.component&&t.detail.valueAsDate&&(this.currentDate=t.detail.valueAsDate,this.showItems=this.stepItems)},this.onRadioChange=t=>{this.value=t.detail.value,this.stzhChange.emit({component:"stzh-appointments",value:this.value})},this.localization=void 0,this.sortBy="start",this.appointments=[],this.currentDate=void 0,this.value="",this.name="appointment",this.showItems=5,this.stepItems=5,this.calendarTitle="",this.appointmentsTitle="",this.dateAdapter=void 0}currentDateWatcher(t){t?"string"==typeof t?(this._currentDate=p(t),this.setValueToFirstAppointmentOfCurrentDate()):(this._currentDate=t,this.setValueToFirstAppointmentOfCurrentDate()):(this._currentDate=this.dateByValue||this.earliestDate,this.dateByValue||this.setValueToFirstAppointmentOfCurrentDate())}sortByWatcher(){this.setValueToFirstAppointmentOfCurrentDate()}valueWatcher(){this.updateDateByValue(),this.currentDateWatcher(this.currentDate)}appointmentsWatcher(t){if(this._appointments="string"==typeof t?JSON.parse(t):t,this._appointments.forEach((t=>{t.start=new Date(t.start),t.end=new Date(t.end)})),this._appointments.length>0&&(this._appointments.sort(((t,s)=>t.start>s.start?1:-1)),this.earliestDate=this._appointments[0].start,this.latestDate=this._appointments[this._appointments.length-1].start,this.updateDateByValue()),this._appointments.length>1){const t=this._appointments[0].start;this.allAppointsmentOnSameDay=this._appointments.map((t=>t.start)).every((s=>`${s.getFullYear()}-${s.getMonth()}-${s.getDate()}`==`${t.getFullYear()}-${t.getMonth()}-${t.getDate()}`))}this.showCalendar=!this.allAppointsmentOnSameDay,this.showAppointmentsTitle=this._appointments.length>1,this.currentDateWatcher(this.currentDate)}updateDateByValue(){this.dateByValue=this.value&&this._appointments.find((t=>t.value===this.value)).start}getCurrentDateAppointments(){let t=0;const s=this._appointments.filter(((s,i)=>{const n=s.start.getFullYear()===this._currentDate.getFullYear()&&s.start.getMonth()===this._currentDate.getMonth()&&s.start.getDate()===this._currentDate.getDate();return n&&(t=i),n}));return this.nextDate=this._appointments[t+1]?this._appointments[t+1].start:null,s.sort(((t,s)=>t[this.sortBy]>s[this.sortBy]?1:-1)),s}setValueToFirstAppointmentOfCurrentDate(){const t=this.getCurrentDateAppointments().filter((t=>!t.disabled));t.length>0&&(this.value=t[0].value,this.stzhChange.emit({component:"stzh-appointments",value:this.value}))}async componentWillLoad(){this.appointmentsWatcher(this.appointments),this.localization||(this.localization=await a(this.element,"appointments")),this.dateAdapter||(this.dateAdapter=r(this.localization.$formats,this.localization.$globals))}componentWillRender(){const t=this.getCurrentDateAppointments();this.appointmentsShown=t.slice(0,this.showItems),this.showMoreLink=this.showItems<t.length,this.moreItemsLeft=t.length-this.showItems,this.showSortStart=t.map((t=>this.dateAdapter.format(t.start,"time"))).filter(((t,s,i)=>i.indexOf(t)==s)).length>1,this.showSortPlace=t.map((t=>t.place)).filter(((t,s,i)=>i.indexOf(t)==s)).length>1,this.sortOptions=[],this.showSortStart&&this.sortOptions.push({text:this.localization.sortByTime,value:"start"}),this.showSortPlace&&this.sortOptions.push({text:this.localization.sortByPlace,value:"place"}),this.showSort=this.appointmentsShown.length>1,this._sortBy=(this.showSortStart&&!this.showSortPlace?"start":!this.showSortStart&&this.showSortPlace&&"place")||this.sortBy}componentDidRender(){this.datepickerElement&&this.datepickerElement.setDate(this._currentDate),this.datepickerElementMedium&&this.datepickerElementMedium.setDate(this._currentDate)}render(){return i(n,null,i("div",{class:{"stzh-appointments":!0,"stzh-appointments--has-calendar":this.showCalendar,"stzh-appointments--has-appointments-title":this.showAppointmentsTitle,"stzh-appointments--has-sort":this.showSort}},i("div",{class:"stzh-appointments__wrapper"},this.showCalendar&&i("div",{class:"stzh-appointments__calendar-wrapper"},i("div",{class:"stzh-appointments__calendar-title-wrapper"},i("div",{class:"stzh-appointments__calendar-title"},i("stzh-icon",{class:"stzh-appointments__calendar-icon",name:"calendar"}),i("stzh-text",{font:"heavy"},this.calendarTitle||this.localization.calendarTitle))),i("div",{class:"stzh-appointments__calendar-content"},i("stzh-datepicker",{ref:t=>this.datepickerElement=t,onStzhChange:this.onDatepickerChange,label:this.localization.datepickerLabel,calendarIsDateDisabled:this.isDateDisabled,calendarMin:o(this.earliestDate),calendarMax:o(this.latestDate)},i("stzh-link",{slot:"action",disabled:!this.nextDate,onClick:this.onNextActiveDateClick},i("stzh-text",{size:"milli"},this.localization.nextDayWithAppointments)))),i("div",{class:"stzh-appointments__calendar-content-medium"},i("stzh-datepicker",{ref:t=>this.datepickerElementMedium=t,onStzhChange:this.onDatepickerChange,inline:!0,calendarIsDateDisabled:this.isDateDisabled,calendarMin:o(this.earliestDate),calendarMax:o(this.latestDate)},this.nextDate&&i("stzh-link",{slot:"action",onClick:this.onNextActiveDateClick},i("stzh-text",{size:"milli"},this.localization.nextDayWithAppointments))))),i("div",{class:"stzh-appointments__appointments-wrapper"},this.showAppointmentsTitle&&i("div",{class:"stzh-appointments__appointments-title-wrapper"},i("div",{class:"stzh-appointments__appointments-title"},i("stzh-icon",{class:"stzh-appointments__appointments-icon",name:"clock"}),i("stzh-text",{font:"heavy"},this.appointmentsTitle||this.localization.appointmentsTitle)),this.showSort&&i("div",{class:"stzh-appointments__sort"},i("stzh-dropdown",{inline:!0,"no-search":!0,class:"stzh-appointments__sort-dropdown",variant:"plain",size:"small",items:[this._sortBy],options:this.sortOptions,onStzhChange:this.onDropdownChange}))),i("div",{class:"stzh-appointments__appointments-content"},i("stzh-radiogroup",{ref:t=>this.inputElement=t,legend:this.localization.inputLegend,"hide-legend":!0,name:this.name,value:this.value,preventUpdateProperties:["disabled"]},this.appointmentsShown.map((t=>i("stzh-radio",{onStzhChange:this.onRadioChange,value:t.value,disabled:void 0!==t.disabled&&t.disabled},i("stzh-text",{font:"heavy",size:"milli"},!this.showCalendar&&i("span",null,this.dateAdapter.format(t.start),", "),this.dateAdapter.format(t.start,"time"),i("span",{innerHTML:this.localization.$formats.timeRange}),this.dateAdapter.format(t.end,"time"),i("span",{innerHTML:this.localization.$formats.timePostfix})),i("stzh-text",{size:"milli"},t.caption))))),this.showMoreLink&&i("stzh-link",{class:"stzh-appointments__more-link",onClick:this.onMoreClick},i("stzh-text",{size:"milli"},h(this.localization.moreTextItems,this.moreItemsLeft>this.stepItems?this.stepItems:this.moreItemsLeft))))))))}get element(){return e(this)}static get watchers(){return{currentDate:["currentDateWatcher"],sortBy:["sortByWatcher"],value:["valueWatcher"],appointments:["appointmentsWatcher"]}}};m.style=".sc-stzh-appointments-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-appointments-h{display:none}.sc-stzh-appointments-h *.sc-stzh-appointments,.sc-stzh-appointments-h *.sc-stzh-appointments::before,.sc-stzh-appointments-h *.sc-stzh-appointments::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-appointments__wrapper.sc-stzh-appointments{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 1024px){.stzh-appointments__wrapper.sc-stzh-appointments{-ms-flex-direction:row;flex-direction:row}}.stzh-appointments__calendar-wrapper.sc-stzh-appointments{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 1024px){.stzh-appointments__calendar-wrapper.sc-stzh-appointments{margin-right:var(--stzh-space-large)}}.stzh-appointments__appointments-wrapper.sc-stzh-appointments{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:column;flex-direction:column;margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:var(--stzh-space-medium);height:var(--stzh-space-xxlarge)}}.stzh-appointments__calendar-title.sc-stzh-appointments,.stzh-appointments__appointments-title.sc-stzh-appointments{display:-ms-flexbox;display:flex}.stzh-appointments__calendar-icon.sc-stzh-appointments,.stzh-appointments__appointments-icon.sc-stzh-appointments{margin-right:var(--stzh-space-xsmall);display:none}@media screen and (min-width: 1024px){.stzh-appointments__calendar-icon.sc-stzh-appointments,.stzh-appointments__appointments-icon.sc-stzh-appointments{display:-ms-inline-flexbox;display:inline-flex}}.stzh-appointments__calendar-content-medium.sc-stzh-appointments,.stzh-appointments__appointments-content.sc-stzh-appointments{background-color:var(--stzh-color-white);border:0.0625rem solid var(--stzh-color-grey13);border-radius:0.125rem}@media screen and (min-width: 1024px){.stzh-appointments__calendar-content.sc-stzh-appointments{display:none}}.stzh-appointments__calendar-content-medium.sc-stzh-appointments{display:none;padding:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-appointments__calendar-content-medium.sc-stzh-appointments{display:block}}.stzh-appointments__appointments-content.sc-stzh-appointments{padding:var(--stzh-space-xlarge);-ms-flex-positive:1;flex-grow:1}.stzh-appointments__more-link.sc-stzh-appointments{margin-top:var(--stzh-space-medium)}.stzh-appointments--has-calendar.sc-stzh-appointments .stzh-appointments__appointments-wrapper.sc-stzh-appointments{margin-top:var(--stzh-space-large)}@media screen and (min-width: 1024px){.stzh-appointments--has-calendar.sc-stzh-appointments .stzh-appointments__appointments-wrapper.sc-stzh-appointments{margin-top:0}}";export{m as stzh_appointments}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,c as e,h as t,a,g as i}from"./p-
|
|
1
|
+
import{r as s,c as e,h as t,a,g as i}from"./p-9a5ebb1f.js";import{j as o}from"./p-24b8df26.js";import{f as r}from"./p-25a09313.js";import"./p-a6d4a8b1.js";const h=class{constructor(t){s(this,t),this.stzhOpen=e(this,"stzhOpen",7),this.stzhClose=e(this,"stzhClose",7),this.onCloseButtonClick=()=>{this.hide()},this.label="",this.description="",this.closeKey="",this.type="info",this.hideClose=!1,this.localization=void 0,this.open=!0}async show(){this.open=!0,this.stzhOpen.emit({component:"stzh-message"})}async hide(s=!0){this.open=!1,this.stzhClose.emit({component:"stzh-message"}),this.closeKey&&s&&o.set(`stzh-components-message-close-${this.closeKey}`,Date.now().toString())}async componentWillLoad(){this.closeKey&&o.get(`stzh-components-message-close-${this.closeKey}`)&&this.hide(!1),this.localization||(this.localization=await r(this.element,"message"))}render(){return t(a,{hidden:!this.open},t("div",{class:{"stzh-message":!0,"stzh-message--has-close-hidden":this.hideClose,[`stzh-message--type-${this.type}`]:!!this.type}},t("div",{class:"stzh-message__content"},t("div",{class:"stzh-message__icon-wrapper"},t("stzh-icon",{class:"stzh-message__icon",name:("info"===this.type?"info-help":"success"===this.type&&"checkmark-circle")||"warning"===this.type&&"warning"||"error"===this.type&&"important-warning"})),t("div",{class:"stzh-message__text-wrapper"},t("div",{class:"stzh-message__label"},this.label),t("div",{class:"stzh-message__description"},this.description?this.description:t("slot",null)),t("div",{class:"stzh-message__link"},t("slot",{name:"link"})))),!this.hideClose&&t("div",{class:"stzh-message__close"},t("button",{class:"stzh-message__close-button",onClick:this.onCloseButtonClick,"aria-label":this.localization.close,type:"button"},t("stzh-icon",{class:"stzh-message__close-icon",name:"close"})))))}get element(){return i(this)}};h.style=".sc-stzh-message-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-message-h{display:none}.sc-stzh-message-h *.sc-stzh-message,.sc-stzh-message-h *.sc-stzh-message::before,.sc-stzh-message-h *.sc-stzh-message::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-message-h{--background-color:var(--stzh-color-white);--icon-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--close-color:var(--stzh-base-lead-color);--label-color:var(--stzh-base-color);--description-color:var(--stzh-base-color);--priority-high-link-color:var(--stzh-base-invert-color);--priority-high-link-hover-color:var(--stzh-base-invert-color)}[type=success].sc-stzh-message-h{--label-color:var(--stzh-color-truegreen);--icon-color:var(--stzh-color-truegreen)}[type=warning].sc-stzh-message-h{--label-color:var(--stzh-color-warning);--icon-color:var(--stzh-color-warning)}[type=error].sc-stzh-message-h{--label-color:var(--stzh-color-error);--icon-color:var(--stzh-color-error)}.stzh-message.sc-stzh-message{padding:var(--stzh-space-medium);position:relative;display:-ms-flexbox;display:flex;-webkit-box-shadow:var(--stzh-box-shadow-message);box-shadow:var(--stzh-box-shadow-message);background-color:var(--background-color)}@media screen and (min-width: 1024px){.stzh-message.sc-stzh-message{padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-message.sc-stzh-message{padding:var(--stzh-space-xlarge)}}.stzh-message__content.sc-stzh-message{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 600px){.stzh-message__content.sc-stzh-message{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:start;align-items:flex-start}}.stzh-message__icon-wrapper.sc-stzh-message{display:-ms-flexbox;display:flex}.stzh-message__icon.sc-stzh-message{--size:var(--stzh-icon-size-large);color:var(--icon-color)}@media screen and (min-width: 600px){.stzh-message__text-wrapper.sc-stzh-message{-ms-flex-positive:1;flex-grow:1;margin-left:var(--stzh-space-small)}}.stzh-message__label.sc-stzh-message{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-h4-default-text-letter-spacing);margin-top:var(--stzh-space-small);color:var(--label-color)}@media screen and (min-width: 1024px){.stzh-message__label.sc-stzh-message{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-message__label.sc-stzh-message{margin-top:0}}.stzh-message__description.sc-stzh-message{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);color:var(--description-color)}@media screen and (min-width: 1024px){.stzh-message__description.sc-stzh-message{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-message__link.sc-stzh-message:not(:empty){margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-message__link.sc-stzh-message:not(:empty){margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-message__link.sc-stzh-message:not(:empty){margin-top:var(--stzh-space-large)}}.stzh-message__description.sc-stzh-message:empty+.stzh-message__link.sc-stzh-message{margin-top:0}.stzh-message__close.sc-stzh-message{-ms-flex-negative:0;flex-shrink:0}@media screen and (min-width: 600px){.stzh-message__close.sc-stzh-message{margin-left:var(--stzh-space-small)}}.stzh-message__close-button.sc-stzh-message{top:var(--stzh-space-medium);right:var(--stzh-space-medium);position:absolute;display:-ms-flexbox;display:flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;border:none;background:none;padding:var(--stzh-space-xsmall);margin:calc(var(--stzh-space-xsmall) * -1);border-radius:var(--stzh-button-border-radius);cursor:pointer}@media screen and (min-width: 1024px){.stzh-message__close-button.sc-stzh-message{top:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-message__close-button.sc-stzh-message{top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-message__close-button.sc-stzh-message{right:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-message__close-button.sc-stzh-message{right:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){.stzh-message__close-button.sc-stzh-message{position:initial;top:initial;right:initial}}.stzh-message__close-icon.sc-stzh-message{--size:var(--stzh-icon-size-medium);color:var(--close-color)}";export{h as stzh_message}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as t,a as r,g as i}from"./p-
|
|
1
|
+
import{r as s,h as t,a as r,g as i}from"./p-9a5ebb1f.js";import{m as e,a as h,r as a}from"./p-9111e257.js";const o=class{constructor(t){s(this,t),this.setCurrentSteps=()=>{this.currentSteps=e("ultra").matches&&this.stepsUltra?this.stepsUltra:e("large").matches&&this.stepsLarge?this.stepsLarge:e("medium").matches&&this.stepsMedium?this.stepsMedium:e("small").matches&&this.stepsSmall?this.stepsSmall:this.steps,this.element.style.setProperty("--steps",this.currentSteps.toString())},this.data=[],this.index=0,this.steps=5,this.stepsSmall=6,this.stepsMedium=0,this.stepsLarge=0,this.stepsUltra=0,this.currentSteps=void 0}dataWatcher(s){this._data="string"==typeof s?JSON.parse(s):s,this.lastItemIndex=this._data.length-1,this.maxStepIndex=this.currentSteps-1,this.withinLastFewSteps=this.index>=this._data.length-this.maxStepIndex}getItemAttributes(s){const t={};if(t.step=s+1,t.first=0===s,t.last=s===this.lastItemIndex,t.current=s===this.index,t.passed=s<this.index,this._data.length>this.currentSteps)if(s!==this.lastItemIndex||this.withinLastFewSteps||(t.dotted=!0),this.index<2)t.hide=s>this.maxStepIndex-1&&s<this.lastItemIndex;else{0===s&&(t.dotted=!0);let r=this.index;this.withinLastFewSteps&&(r=this._data.length-this.maxStepIndex),t.hide=s>0&&s<r||s>this.index+(this.currentSteps-3)&&s<this.lastItemIndex}return t}componentWillLoad(){this.dataWatcher(this.data)}connectedCallback(){this.setCurrentSteps(),h(this.setCurrentSteps)}disconnectedCallback(){a(this.setCurrentSteps)}render(){return t(r,null,t("div",{class:{"stzh-progressbar":!0,[`stzh-progressbar--index-${this.index}`]:!!this.index}},t("div",{class:"stzh-progressbar__items",role:"list"},this._data.map(((s,r)=>t("stzh-progressbar-item",Object.assign({},this.getItemAttributes(r),{icon:s.icon,class:"stzh-progressbar__item"}),s.label))))))}get element(){return i(this)}static get watchers(){return{data:["dataWatcher"]}}};o.style=".sc-stzh-progressbar-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-progressbar-h{display:none}.sc-stzh-progressbar-h *.sc-stzh-progressbar,.sc-stzh-progressbar-h *.sc-stzh-progressbar::before,.sc-stzh-progressbar-h *.sc-stzh-progressbar::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-progressbar-h{min-width:calc(var(--steps) * 1.6875rem * 2)}@media screen and (min-width: 600px){.sc-stzh-progressbar-h{min-width:calc(var(--steps) * 1.9375rem * 2)}}.stzh-progressbar.sc-stzh-progressbar{position:relative;overflow:hidden}.stzh-progressbar__items.sc-stzh-progressbar{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.stzh-progressbar__item.sc-stzh-progressbar{-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1;-ms-flex-preferred-size:0;flex-basis:0}";export{o as stzh_progressbar}
|