@oiz/stzh-components 2.1.0 → 2.2.0-beta
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/{app-globals-dc82b9ca.js → app-globals-f4ad4e99.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 +3 -2
- 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 +12 -5
- package/dist/cjs/stzh-card_3.cjs.entry.js +474 -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 +1 -1
- 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-datepicker_3.cjs.entry.js +2 -2
- package/dist/cjs/stzh-details.cjs.entry.js +152 -0
- package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/stzh-figure.cjs.entry.js +2 -2
- 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 +10 -3
- package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +96 -0
- 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 +9 -5
- package/dist/cjs/stzh-portal-mitwirken.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 +33 -0
- package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
- package/dist/cjs/stzh-tooltip.cjs.entry.js +11 -8
- package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
- 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 +6 -1
- package/dist/collection/assets/i18n/en.json +6 -1
- 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-item/stzh-accordion-item.css +2 -2
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +4 -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 +2 -2
- package/dist/collection/components/stzh-button/stzh-button.js +78 -3
- package/dist/collection/components/stzh-card/stzh-card.css +71 -22
- package/dist/collection/components/stzh-card/stzh-card.js +90 -2
- 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 +6 -3
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +2 -2
- 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 +260 -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-details/stzh-details.css +119 -0
- package/dist/collection/components/stzh-details/stzh-details.js +313 -0
- package/dist/collection/components/stzh-details/stzh-details.stories.js +41 -0
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +3 -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 +32 -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 +20 -0
- package/dist/collection/components/stzh-heading/stzh-heading.css +3 -0
- 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 +5 -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.js +95 -2
- 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-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.js +9 -5
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +2 -0
- package/dist/collection/components/stzh-radio/stzh-radio.css +2 -2
- 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 +167 -0
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.js +78 -0
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.stories.js +56 -0
- package/dist/collection/components/stzh-toggle/stzh-toggle.css +2 -1
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +11 -8
- package/dist/collection/components/stzh-upload/stzh-upload.css +1 -1
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +1 -1
- 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 +9 -6
- package/dist/collection/patterns/appointments.stories.js +3 -3
- package/dist/collection/patterns/contact.stories.js +118 -0
- package/dist/collection/patterns/contactform.stories.js +125 -0
- package/dist/collection/patterns/subpages.stories.js +98 -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 +3 -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-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 +376 -0
- package/dist/components/stzh-chart.js +3 -5
- package/dist/components/stzh-checkbox.js +1 -1
- package/dist/components/stzh-chip-select.js +1 -157
- package/dist/{esm/stzh-chip-select.entry.js → components/stzh-chip-select2.js} +61 -10
- 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-details.d.ts +11 -0
- package/dist/components/stzh-details.js +170 -0
- 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-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 +14 -2
- package/dist/components/stzh-microsite-teaserlist.d.ts +11 -0
- package/dist/components/stzh-microsite-teaserlist.js +212 -0
- package/dist/components/stzh-pagetitle-hero.js +2 -2
- package/dist/components/stzh-pagetitle.js +1 -1
- package/dist/components/stzh-popover2.js +9 -5
- package/dist/components/stzh-portal-mitwirken.js +1 -1
- package/dist/components/stzh-radio2.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 +50 -0
- package/dist/components/stzh-toggle.js +1 -1
- package/dist/components/stzh-tooltip2.js +11 -8
- package/dist/components/stzh-upload.js +1 -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/{app-globals-246b5e49.js → app-globals-17c2ba8d.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 +4 -3
- 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 +13 -6
- package/dist/esm/stzh-calendar.entry.js +1 -1
- package/dist/esm/stzh-card_3.entry.js +468 -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 +3 -3
- package/dist/esm/stzh-chip.entry.js +1 -1
- 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 +1 -1
- 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 +4 -4
- package/dist/esm/stzh-details.entry.js +148 -0
- package/dist/esm/stzh-dialog.entry.js +2 -2
- 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 +1 -1
- 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 +11 -4
- 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 +2 -2
- package/dist/esm/stzh-message.entry.js +1 -1
- 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 +1 -1
- 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 +10 -6
- package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
- package/dist/esm/stzh-progressbar-item.entry.js +1 -1
- 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 +29 -0
- package/dist/esm/stzh-toggle.entry.js +4 -4
- package/dist/esm/stzh-tooltip.entry.js +12 -9
- package/dist/esm/stzh-upload.entry.js +4 -4
- package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
- 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/app-globals-17c2ba8d.js +1 -0
- 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 +1 -1
- 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 +6 -1
- package/dist/stzh-components/assets/i18n/en.json +6 -1
- 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-02fd7470.entry.js +1 -0
- package/dist/stzh-components/{p-27bfb4c2.system.entry.js → p-037357fc.system.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-04a45622.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-20a6ffbb.entry.js → p-0b264a7a.entry.js} +1 -1
- package/dist/stzh-components/p-0b9dc96d.system.js +1 -0
- package/dist/stzh-components/p-0c8427bc.entry.js +1 -0
- 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-22c9a00d.system.entry.js → p-171c5795.system.entry.js} +1 -1
- package/dist/stzh-components/{p-c3161c9b.system.entry.js → p-19ab7e34.system.entry.js} +1 -1
- package/dist/stzh-components/{p-67ade1c7.system.entry.js → p-1ca12032.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ff534e27.entry.js → p-1d8272a5.entry.js} +1 -1
- package/dist/stzh-components/{p-3e504f50.entry.js → p-1da26ca1.entry.js} +1 -1
- package/dist/stzh-components/p-1fe1169e.entry.js +1 -0
- package/dist/stzh-components/{p-229d4ad2.entry.js → p-213959b7.entry.js} +1 -1
- package/dist/stzh-components/{p-14f0d546.entry.js → p-22b06793.entry.js} +1 -1
- package/dist/stzh-components/p-231e6e6a.system.entry.js +1 -0
- package/dist/stzh-components/{p-3fc40cc0.system.entry.js → p-2577ca1e.system.entry.js} +1 -1
- package/dist/stzh-components/{p-881e526e.system.entry.js → p-2862cdd8.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-b1ff3a21.system.entry.js → p-2b5b1e4a.system.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-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-cbaab05e.entry.js → p-31029226.entry.js} +1 -1
- package/dist/stzh-components/{p-c777032f.system.entry.js → p-311813bc.system.entry.js} +1 -1
- package/dist/stzh-components/p-3145cd2f.entry.js +1 -0
- package/dist/stzh-components/{p-62afe664.entry.js → p-31c3469c.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-d4b93488.entry.js → p-34b45788.entry.js} +1 -1
- package/dist/stzh-components/{p-456143f9.entry.js → p-376946bc.entry.js} +1 -1
- package/dist/stzh-components/{p-a866b3a3.entry.js → p-3848d8ee.entry.js} +1 -1
- package/dist/stzh-components/p-38f9cbf3.system.entry.js +1 -0
- package/dist/stzh-components/p-3905ca20.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-4226dec6.system.entry.js +1 -0
- package/dist/stzh-components/{p-7a584d3f.system.entry.js → p-4228cd58.system.entry.js} +1 -1
- 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-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-238a8c83.system.entry.js → p-4bd7dafb.system.entry.js} +1 -1
- package/dist/stzh-components/{p-fade35c7.entry.js → p-4c7e52aa.entry.js} +1 -1
- package/dist/stzh-components/{p-ff2a6bdf.system.entry.js → p-4cd9f5c7.system.entry.js} +1 -1
- package/dist/stzh-components/{p-53c30c58.entry.js → p-51be647d.entry.js} +1 -1
- package/dist/stzh-components/p-55b7cda7.system.entry.js +1 -0
- package/dist/stzh-components/p-55f6fa41.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-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-37bdb9cd.system.entry.js → p-5b379647.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3a279b45.entry.js → p-5c3c9ad4.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-4a3f9353.entry.js → p-64422176.entry.js} +1 -1
- package/dist/stzh-components/p-65675e11.entry.js +1 -0
- 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-c1100fde.entry.js → p-68400ee7.entry.js} +1 -1
- package/dist/stzh-components/{p-b666bb15.entry.js → p-6a0a76b3.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-090bfb8e.system.entry.js → p-7684506e.system.entry.js} +1 -1
- package/dist/stzh-components/p-791bc813.system.js +1 -0
- package/dist/stzh-components/{p-cc735465.system.entry.js → p-7adc28a4.system.entry.js} +2 -2
- package/dist/stzh-components/p-7ce59988.system.entry.js +1 -0
- package/dist/stzh-components/p-7da446d5.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-83830baa.system.entry.js +1 -0
- package/dist/stzh-components/{p-5c2d0572.entry.js → p-84965eac.entry.js} +1 -1
- package/dist/stzh-components/p-84c86e4c.system.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-b0e514c7.entry.js → p-88cbd2c0.entry.js} +1 -1
- 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-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-99f92c6d.system.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-7c172e64.system.entry.js → p-a17754c7.system.entry.js} +1 -1
- 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-293ceb5e.entry.js → p-a795868f.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-8f9de52f.system.entry.js → p-ab28e094.system.entry.js} +1 -1
- package/dist/stzh-components/p-ac3aa560.system.entry.js +1 -0
- package/dist/stzh-components/{p-7dec02ca.entry.js → p-addc48e5.entry.js} +1 -1
- package/dist/stzh-components/p-af0ab448.system.entry.js +1 -0
- package/dist/stzh-components/p-af63f1a4.entry.js +1 -0
- package/dist/stzh-components/p-b0d8866d.entry.js +1 -0
- package/dist/stzh-components/{p-140e4b63.entry.js → p-b0fe9349.entry.js} +1 -1
- package/dist/stzh-components/{p-36596b2b.system.entry.js → p-b2145753.system.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-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-c065387a.entry.js +1 -0
- package/dist/stzh-components/p-c0fef3d1.entry.js +1 -0
- package/dist/stzh-components/p-c26aec94.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-c42435be.entry.js +1 -0
- package/dist/stzh-components/{p-2c783943.entry.js → p-cc720d2d.entry.js} +1 -1
- package/dist/stzh-components/{p-51c75fba.system.entry.js → p-cfc0bc2e.system.entry.js} +1 -1
- package/dist/stzh-components/p-cff8376e.entry.js +1 -0
- package/dist/stzh-components/p-d1d5825d.entry.js +1 -0
- package/dist/stzh-components/p-d2f6fb1b.system.js +1 -0
- package/dist/stzh-components/{p-92ad9720.system.entry.js → p-d4405931.system.entry.js} +1 -1
- 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-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-dce19efd.entry.js +1 -0
- package/dist/stzh-components/{p-8347b91f.js → p-df5f49b4.js} +1 -1
- package/dist/stzh-components/p-e2e54f09.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-b3587b9d.system.entry.js → p-e71cd5cd.system.entry.js} +1 -1
- package/dist/stzh-components/p-e72ca013.system.entry.js +1 -0
- 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-025953d1.system.entry.js → p-e812d35e.system.entry.js} +1 -1
- 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-ef62b905.entry.js → p-ed0d51b6.entry.js} +1 -1
- package/dist/stzh-components/p-ed6adb96.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-f3107fc7.system.entry.js +1 -0
- package/dist/stzh-components/{p-38b9e5e9.entry.js → p-f37be5d7.entry.js} +1 -1
- package/dist/stzh-components/{p-8ab86ca3.system.entry.js → p-f59b3545.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b54ed1f9.entry.js → p-f5db6234.entry.js} +1 -1
- package/dist/stzh-components/{p-92788577.entry.js → p-f5fdc88c.entry.js} +2 -2
- package/dist/stzh-components/{p-04dd6821.entry.js → p-f792fc8f.entry.js} +1 -1
- 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/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.d.ts +5 -0
- package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +13 -12
- package/dist/types/components.d.ts +508 -27
- package/dist/types/index.d.ts +81 -2
- package/dist/vscode-data.json +278 -17
- 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-datalist.entry.js +0 -58
- package/dist/esm-es5/app-globals-246b5e49.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-105a11cb.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-25ef050a.entry.js +0 -1
- package/dist/stzh-components/p-2ba8b5c9.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-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-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-71d757d3.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-7aef399f.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-909d7a3c.system.js +0 -1
- package/dist/stzh-components/p-90ad5e2c.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-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-c8009c05.system.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
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-2915b467.js';
|
|
2
|
-
import { c as cloneElement } from './utils-68a28fce.js';
|
|
3
|
-
import { f as fetchTranslations } from './translation-utils-2623783f.js';
|
|
4
|
-
|
|
5
|
-
const stzhCardListCss = ".sc-stzh-card-list-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-card-list-h{display:none}.sc-stzh-card-list-h *.sc-stzh-card-list,.sc-stzh-card-list-h *.sc-stzh-card-list::before,.sc-stzh-card-list-h *.sc-stzh-card-list::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-card-list-h .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.sc-stzh-card-list-h .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-card-list-h .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-xlarge)}}.sc-stzh-card-list-h .sc-stzh-card-list-s>[slot=description] stzh-icon{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.sc-stzh-card-list-h .sc-stzh-card-list-s>stzh-text[slot=description]{--color:inherit}.stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-medium);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 1024px){.stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 800px){.stzh-card-list__header.sc-stzh-card-list{-ms-flex-direction:row;flex-direction:row}}.stzh-card-list__description.sc-stzh-card-list{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(--stzh-base-lead-color)}@media screen and (min-width: 1024px){.stzh-card-list__description.sc-stzh-card-list{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-card-list__description.sc-stzh-card-list:not(:empty){margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 800px){.stzh-card-list__description.sc-stzh-card-list:not(:empty){margin-bottom:0}}.stzh-card-list__switch.sc-stzh-card-list{--color:var(--stzh-base-lead-color);-ms-flex-item-align:end;align-self:end}";
|
|
6
|
-
|
|
7
|
-
const StzhCardList = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.stzhCollapseAll = createEvent(this, "stzhCollapseAll", 7);
|
|
11
|
-
this.collapseClick = () => {
|
|
12
|
-
const cards = Array.from(this.element.querySelectorAll("stzh-card"));
|
|
13
|
-
cards.forEach(card => {
|
|
14
|
-
if (card.collapsible) {
|
|
15
|
-
card.collapsed = !this.allCollapsed;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
this.allCollapsed = !this.allCollapsed;
|
|
19
|
-
this.stzhCollapseAll.emit({
|
|
20
|
-
component: "stzh-card-list",
|
|
21
|
-
allCollapsed: this.allCollapsed
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
this.updateCollapsedState = () => {
|
|
25
|
-
const cards = Array.from(this.element.querySelectorAll("stzh-card"));
|
|
26
|
-
this.allCollapsed = !cards.some(card => !card.collapsed);
|
|
27
|
-
};
|
|
28
|
-
this.sortableGhostClone = (dragElement) => {
|
|
29
|
-
const [clonedElement, clonedStzhElement, originalStzhElement] = cloneElement(dragElement);
|
|
30
|
-
if (clonedStzhElement
|
|
31
|
-
&& originalStzhElement
|
|
32
|
-
&& clonedStzhElement.tagName.toLowerCase() === "stzh-card") {
|
|
33
|
-
const clonedStzhElementCard = clonedStzhElement;
|
|
34
|
-
const originalStzhElementCard = originalStzhElement;
|
|
35
|
-
// copy every property that is not reflected to its attribute
|
|
36
|
-
clonedStzhElementCard.heading = originalStzhElementCard.heading;
|
|
37
|
-
clonedStzhElementCard.subtitle = originalStzhElementCard.subtitle;
|
|
38
|
-
clonedStzhElementCard.headerActions = originalStzhElementCard.headerActions;
|
|
39
|
-
clonedStzhElementCard.footerActions = originalStzhElementCard.footerActions;
|
|
40
|
-
clonedStzhElementCard.hideMovementActions = originalStzhElementCard.hideMovementActions;
|
|
41
|
-
}
|
|
42
|
-
return clonedElement;
|
|
43
|
-
};
|
|
44
|
-
this.localization = undefined;
|
|
45
|
-
this.showToggleLink = false;
|
|
46
|
-
this.sortableEnabled = false;
|
|
47
|
-
this.sortableDataIdAttribute = "data-id";
|
|
48
|
-
this.allCollapsed = false;
|
|
49
|
-
}
|
|
50
|
-
collapseListener() {
|
|
51
|
-
this.updateCollapsedState();
|
|
52
|
-
}
|
|
53
|
-
async componentWillLoad() {
|
|
54
|
-
if (!this.localization) {
|
|
55
|
-
this.localization = await fetchTranslations(this.element, "card-list");
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
componentDidLoad() {
|
|
59
|
-
this.updateCollapsedState();
|
|
60
|
-
}
|
|
61
|
-
render() {
|
|
62
|
-
const classes = {
|
|
63
|
-
"stzh-card-list": true
|
|
64
|
-
};
|
|
65
|
-
return (h(Host, null, h("div", { class: classes }, h("div", { class: "stzh-card-list__header" }, h("div", { class: "stzh-card-list__description" }, h("slot", { name: "description" })), this.showToggleLink &&
|
|
66
|
-
h("stzh-link", { class: "stzh-card-list__switch", icon: this.allCollapsed ? "list-expanded" : "list-shrinked", label: this.allCollapsed ? this.localization.expandAll : this.localization.collapseAll, onClick: this.collapseClick })), h("stzh-sortable", { disabled: !this.sortableEnabled, dataIdAttribute: this.sortableDataIdAttribute, ghostClone: this.sortableGhostClone }, h("div", { class: "stzh-card-list__cards", role: "list" }, h("slot", null))))));
|
|
67
|
-
}
|
|
68
|
-
get element() { return getElement(this); }
|
|
69
|
-
};
|
|
70
|
-
StzhCardList.style = stzhCardListCss;
|
|
71
|
-
|
|
72
|
-
export { StzhCardList as stzh_card_list };
|
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, f as forceUpdate, h, F as Fragment, a as Host, g as getElement } from './index-2915b467.js';
|
|
2
|
-
import { s as setPropsIfNull, h as hasSlot } from './utils-68a28fce.js';
|
|
3
|
-
import { m as media } from './media-utils-9b041ceb.js';
|
|
4
|
-
import { f as fetchTranslations } from './translation-utils-2623783f.js';
|
|
5
|
-
|
|
6
|
-
const stzhCardCss = ".sc-stzh-card-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-card-h{display:none}.sc-stzh-card-h *.sc-stzh-card,.sc-stzh-card-h *.sc-stzh-card::before,.sc-stzh-card-h *.sc-stzh-card::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-card-h{--box-shadow:var(--stzh-box-shadow-popover);--border:0.0625rem solid var(--stzh-base-border-color);--border-radius:0.1875rem;--dnd-visibility:hidden;--dnd-opacity:0;position:relative;border-radius:var(--border-radius)}[checked].sc-stzh-card-h:not([checked=false]){outline:0.1875rem solid var(--stzh-color-primary, var(--stzh-color-zueriblue))}.is-ghost.sc-stzh-card-h::after,.is-ghost .sc-stzh-card-h::after{border-radius:var(--border-radius)}.is-selected.sc-stzh-card-h,.is-chosen.sc-stzh-card-h,.is-selected .sc-stzh-card-h,.is-chosen .sc-stzh-card-h{--box-shadow:var(--stzh-box-shadow-overlay)}.is-ghost.sc-stzh-card-h,.is-ghost .sc-stzh-card-h{--box-shadow:none;--border:0.0625rem solid transparent;overflow:hidden}.is-drag.sc-stzh-card-h,.is-chosen.sc-stzh-card-h,.is-ghost.sc-stzh-card-h,.is-selected.sc-stzh-card-h,.is-drag .sc-stzh-card-h,.is-chosen .sc-stzh-card-h,.is-ghost .sc-stzh-card-h,.is-selected .sc-stzh-card-h{--dnd-visibility:visible;--dnd-opacity:1}.sc-stzh-card-h .sc-stzh-card-s>*{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)}.sc-stzh-card-h .sc-stzh-card-s>[slot=image]{max-width:100%}.sc-stzh-card-h .sc-stzh-card-s>img[slot=image]{display:block}.sc-stzh-card-h .sc-stzh-card-s>[slot=meta]:not(:last-child){margin-right:var(--stzh-space-xsmall)}.sc-stzh-card-h .sc-stzh-card-s>table{border:0;border-spacing:0}.sc-stzh-card-h .sc-stzh-card-s>table th{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.sc-stzh-card-h .sc-stzh-card-s>table td,.sc-stzh-card-h .sc-stzh-card-s>table th{padding:0}.sc-stzh-card-h .sc-stzh-card-s>table td{color:var(--stzh-color-black);padding-left:var(--stzh-space-xsmall)}.stzh-card.sc-stzh-card{background-color:var(--stzh-color-white);border-radius:var(--border-radius);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);border:var(--border);-webkit-transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed), -webkit-box-shadow var(--stzh-base-transition-animation-speed)}@media screen and (max-width: 1023px){.stzh-card.sc-stzh-card .show-medium.sc-stzh-card{display:none}}@media screen and (min-width: 1024px){.stzh-card.sc-stzh-card .hide-medium.sc-stzh-card{display:none}}.stzh-card__content-wrapper.sc-stzh-card{position:relative}.stzh-card__dnd.sc-stzh-card{--size:var(--stzh-icon-size-xsmall);position:absolute;left:0.1875rem;top:1.4375rem;display:-ms-flexbox;display:flex;visibility:var(--dnd-visibility);opacity:var(--dnd-opacity);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);display:none}@media screen and (min-width: 1024px){.stzh-card__dnd.sc-stzh-card{display:block}}@media screen and (min-width: 1260px){.stzh-card__dnd.sc-stzh-card{left:0.25rem;top:1.6875rem}}.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-medium);border-bottom:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-xlarge)}}.stzh-card__header-top.sc-stzh-card{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:start;align-items:flex-start}.stzh-card__header-meta.sc-stzh-card{display:-ms-flexbox;display:flex}.stzh-card__header-meta.sc-stzh-card:not(:empty){margin-top:var(--stzh-space-xsmall)}.stzh-card__header-left.sc-stzh-card,.stzh-card__header-right.sc-stzh-card{display:-ms-flexbox;display:flex}.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-medium)}}.stzh-card__left.sc-stzh-card{-ms-flex-item-align:center;align-self:center}.stzh-card__title-area.sc-stzh-card{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden}.stzh-card__title.sc-stzh-card,.stzh-card__subtitle.sc-stzh-card{margin:0}.stzh-card__title.sc-stzh-card{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-default-heading-letter-spacing);color:var(--stzh-base-lead-color)}@media screen and (min-width: 600px){.stzh-card__title.sc-stzh-card{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-small-heading-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-card__title.sc-stzh-card{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-heading-line-height, var(--stzh-font-regular-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-heading-letter-spacing)}}.stzh-card__subtitle.sc-stzh-card{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);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;text-decoration:none;margin-left:-0.5625em}@media screen and (min-width: 1024px){.stzh-card__subtitle.sc-stzh-card{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-card__subtitle-text.sc-stzh-card{position:relative;display:-ms-inline-flexbox;display:inline-flex;padding-left:0.5625em}.stzh-card__subtitle-text.sc-stzh-card::after{content:\",\";position:absolute;left:0}.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-xlarge)}}.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-medium);border-top:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-xlarge)}}.stzh-card__card-actions.sc-stzh-card{display:-ms-inline-flexbox;display:inline-flex;white-space:nowrap}@media screen and (max-width: 1023px){.stzh-card__card-action.sc-stzh-card{--icon-text-margin:0;--badge-icon-text-margin:0}}.stzh-card__card-action[variant=tertiary].sc-stzh-card{--color:var(--stzh-color-grey70)}.stzh-card__card-action.is-button.sc-stzh-card{--icon-size:var(--stzh-icon-size-small)}.stzh-card__card-action.is-placeholder.sc-stzh-card{width:var(--stzh-space-xxlarge);height:var(--stzh-space-xxlarge)}.stzh-card__card-action-popover.sc-stzh-card{--width:auto}.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card{cursor:pointer;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card:hover,.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--is-collapsed.sc-stzh-card .hide-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .hide-when-collapsed.sc-stzh-card{display:none}.stzh-card--is-collapsed.sc-stzh-card .show-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .show-when-collapsed.sc-stzh-card{display:block}.stzh-card--is-collapsed.sc-stzh-card .stzh-card__header.sc-stzh-card{border-bottom:none}.stzh-card--is-collapsed.sc-stzh-card .stzh-card__card-action.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__card-action.sc-stzh-card{--icon-text-margin:0;--badge-icon-text-margin:0}.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card:hover,.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--has-hidden-header-border.sc-stzh-card .stzh-card__header.sc-stzh-card{border-bottom:none;padding-bottom:0}.stzh-card--has-hidden-footer-border.sc-stzh-card .stzh-card__footer.sc-stzh-card:not(:empty){padding-top:0;border-top:none}";
|
|
7
|
-
|
|
8
|
-
const StzhCard = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.stzhCollapse = createEvent(this, "stzhCollapse", 7);
|
|
12
|
-
this.stzhSubtitleClick = createEvent(this, "stzhSubtitleClick", 7);
|
|
13
|
-
this.stzhStarClick = createEvent(this, "stzhStarClick", 7);
|
|
14
|
-
this.stzhHeaderActionClick = createEvent(this, "stzhHeaderActionClick", 7);
|
|
15
|
-
this._subtitles = [];
|
|
16
|
-
this.nodeChange = (entries) => {
|
|
17
|
-
let changeInSlot = false;
|
|
18
|
-
entries.forEach((entry) => {
|
|
19
|
-
if (entry.target.closest('[slot]') || entry.target.hasAttribute('slot')) {
|
|
20
|
-
changeInSlot = true;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
if (changeInSlot) {
|
|
24
|
-
forceUpdate(this.element);
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
this.update = () => {
|
|
28
|
-
if (!this.mainElement) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
this.mainElement.classList.remove("stzh-card--has-collapsed-header");
|
|
32
|
-
if (media('medium').matches) {
|
|
33
|
-
const headerWidth = this.headerElement.clientWidth;
|
|
34
|
-
const leftWidth = this.headerLeftElement.clientWidth;
|
|
35
|
-
const rightWidth = this.headerRightElement.clientWidth;
|
|
36
|
-
if (headerWidth - leftWidth <= rightWidth) {
|
|
37
|
-
this.mainElement.classList.add("stzh-card--has-collapsed-header");
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
this.headerClick = (event) => {
|
|
42
|
-
if (!this.collapsible) {
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
const filterTags = ["stzh-popover", "stzh-tooltip", "button", "a", "input", "select", "textarea", "iframe", "details", "label", "area"];
|
|
46
|
-
const composedPathTags = event.composedPath().map(element => { var _a; return (_a = element.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase(); });
|
|
47
|
-
const found = composedPathTags.some(r => filterTags.includes(r));
|
|
48
|
-
if (!found) {
|
|
49
|
-
this.collapsed = !this.collapsed;
|
|
50
|
-
this.stzhCollapse.emit({
|
|
51
|
-
component: "stzh-card",
|
|
52
|
-
collapsed: this.collapsed
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
this.subtitleClick = () => {
|
|
57
|
-
if (this.subtitleInteractive) {
|
|
58
|
-
this.stzhSubtitleClick.emit({
|
|
59
|
-
component: "stzh-card"
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
this.starToggleClick = () => {
|
|
64
|
-
this.stzhStarClick.emit({
|
|
65
|
-
component: "stzh-card",
|
|
66
|
-
starred: this.starred
|
|
67
|
-
});
|
|
68
|
-
};
|
|
69
|
-
this.actionClick = (action) => {
|
|
70
|
-
this.stzhHeaderActionClick.emit({
|
|
71
|
-
component: "stzh-card",
|
|
72
|
-
action
|
|
73
|
-
});
|
|
74
|
-
};
|
|
75
|
-
this.arrowUpClick = () => {
|
|
76
|
-
const sortable = this.element.closest("stzh-sortable");
|
|
77
|
-
if (sortable) {
|
|
78
|
-
const element = this.findSortableChildElement();
|
|
79
|
-
sortable.moveItem(element, "up");
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
this.arrowDownClick = () => {
|
|
83
|
-
const sortable = this.element.closest("stzh-sortable");
|
|
84
|
-
if (sortable) {
|
|
85
|
-
const element = this.findSortableChildElement();
|
|
86
|
-
sortable.moveItem(element, "down");
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
this.updateElementInsideSortable = () => {
|
|
90
|
-
const currentSortable = this.element.closest("stzh-sortable");
|
|
91
|
-
// check if element is still inside sortable
|
|
92
|
-
if (!currentSortable) {
|
|
93
|
-
this.sortable.removeEventListener("stzhUpdate", this.updateElementInsideSortable);
|
|
94
|
-
this.sortable.removeEventListener("stzhDisable", this.updateElementInsideSortable);
|
|
95
|
-
return;
|
|
96
|
-
}
|
|
97
|
-
if (this.element) {
|
|
98
|
-
forceUpdate(this.element);
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
this.init = () => {
|
|
102
|
-
const chips = this.element.querySelectorAll('stzh-chip[slot="meta"], [slot="meta"] stzh-chip');
|
|
103
|
-
chips.forEach((chip) => {
|
|
104
|
-
setPropsIfNull(chip, {
|
|
105
|
-
size: "small"
|
|
106
|
-
});
|
|
107
|
-
});
|
|
108
|
-
};
|
|
109
|
-
this.handleMutation = (entries) => {
|
|
110
|
-
this.init();
|
|
111
|
-
this.nodeChange(entries);
|
|
112
|
-
};
|
|
113
|
-
this.handleSelectionChange = (event) => {
|
|
114
|
-
this.checked = event.detail.checked;
|
|
115
|
-
};
|
|
116
|
-
this.localization = undefined;
|
|
117
|
-
this.collapsed = false;
|
|
118
|
-
this.starred = false;
|
|
119
|
-
this.starrable = false;
|
|
120
|
-
this.selectable = false;
|
|
121
|
-
this.checked = false;
|
|
122
|
-
this.name = "";
|
|
123
|
-
this.value = "";
|
|
124
|
-
this.disabled = false;
|
|
125
|
-
this.heading = "";
|
|
126
|
-
this.subtitle = "";
|
|
127
|
-
this.headerActions = [];
|
|
128
|
-
this.footerActions = [];
|
|
129
|
-
this.subtitleInteractive = false;
|
|
130
|
-
this.sortableDisabled = false;
|
|
131
|
-
this.collapsible = false;
|
|
132
|
-
this.hideHeaderBorder = false;
|
|
133
|
-
this.hideFooterBorder = false;
|
|
134
|
-
this.hideMovementActions = false;
|
|
135
|
-
}
|
|
136
|
-
handleResize() {
|
|
137
|
-
if (this.debounceResize) {
|
|
138
|
-
window.cancelAnimationFrame(this.debounceResize);
|
|
139
|
-
}
|
|
140
|
-
this.debounceResize = requestAnimationFrame(this.update);
|
|
141
|
-
}
|
|
142
|
-
subtitleWatcher(newValue) {
|
|
143
|
-
if (typeof newValue === "string") {
|
|
144
|
-
try {
|
|
145
|
-
this._subtitles = JSON.parse(newValue);
|
|
146
|
-
}
|
|
147
|
-
catch (err) {
|
|
148
|
-
this._subtitles = [newValue];
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
else {
|
|
152
|
-
this._subtitles = newValue;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
headerActionsWatcher(newValue) {
|
|
156
|
-
if (typeof newValue === "string") {
|
|
157
|
-
this._headerActions = JSON.parse(newValue);
|
|
158
|
-
}
|
|
159
|
-
else {
|
|
160
|
-
this._headerActions = newValue;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
footerActionsWatcher(newValue) {
|
|
164
|
-
if (typeof newValue === "string") {
|
|
165
|
-
this._footerActions = JSON.parse(newValue);
|
|
166
|
-
}
|
|
167
|
-
else {
|
|
168
|
-
this._footerActions = newValue;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
findSortableChildElement() {
|
|
172
|
-
const sortable = this.element.closest("stzh-sortable");
|
|
173
|
-
if (sortable) {
|
|
174
|
-
let element = this.element;
|
|
175
|
-
let sortableContainer = null;
|
|
176
|
-
if (typeof sortable.container === "function") {
|
|
177
|
-
sortableContainer = sortable.container();
|
|
178
|
-
}
|
|
179
|
-
else {
|
|
180
|
-
sortableContainer = sortable.container;
|
|
181
|
-
}
|
|
182
|
-
while (element.parentElement && element.parentElement !== sortableContainer) {
|
|
183
|
-
element = element.parentElement;
|
|
184
|
-
}
|
|
185
|
-
return element;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
async componentWillLoad() {
|
|
189
|
-
this.subtitleWatcher(this.subtitle);
|
|
190
|
-
this.headerActionsWatcher(this.headerActions);
|
|
191
|
-
this.footerActionsWatcher(this.footerActions);
|
|
192
|
-
if (!this.localization) {
|
|
193
|
-
this.localization = await fetchTranslations(this.element, "card");
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
componentDidLoad() {
|
|
197
|
-
this.sortable = this.element.closest("stzh-sortable");
|
|
198
|
-
if (this.sortable) {
|
|
199
|
-
this.sortable.addEventListener("stzhUpdate", this.updateElementInsideSortable);
|
|
200
|
-
this.sortable.addEventListener("stzhDisable", this.updateElementInsideSortable);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
connectedCallback() {
|
|
204
|
-
this.init();
|
|
205
|
-
this.observer = new MutationObserver(this.handleMutation);
|
|
206
|
-
this.observer.observe(this.element, {
|
|
207
|
-
childList: true,
|
|
208
|
-
subtree: true
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
disconnectedCallback() {
|
|
212
|
-
this.observer.disconnect();
|
|
213
|
-
}
|
|
214
|
-
render() {
|
|
215
|
-
var _a, _b, _c;
|
|
216
|
-
const imageUsed = hasSlot(this.element, "image");
|
|
217
|
-
const contentUsed = hasSlot(this.element, "content");
|
|
218
|
-
const classes = {
|
|
219
|
-
"stzh-card": true,
|
|
220
|
-
"stzh-card--has-image": imageUsed,
|
|
221
|
-
"stzh-card--has-content": contentUsed,
|
|
222
|
-
"stzh-card--has-subtitle": !!this.subtitle,
|
|
223
|
-
"stzh-card--has-subtitle-interactive": !!this.subtitle && this.subtitleInteractive,
|
|
224
|
-
"stzh-card--has-hidden-header-border": this.hideHeaderBorder,
|
|
225
|
-
"stzh-card--has-hidden-footer-border": this.hideFooterBorder,
|
|
226
|
-
"stzh-card--is-collapsed": this.collapsed,
|
|
227
|
-
"stzh-card--is-starred": this.starred,
|
|
228
|
-
"stzh-card--is-checked": this.checked
|
|
229
|
-
};
|
|
230
|
-
const Subtitle = `${this.subtitleInteractive ? 'button' : 'span'}`;
|
|
231
|
-
const sortableChildElement = this.findSortableChildElement();
|
|
232
|
-
const isFirstItemInSortable = (sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement)
|
|
233
|
-
&& Array.from((_a = sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement) === null || _a === void 0 ? void 0 : _a.children)
|
|
234
|
-
.indexOf(sortableChildElement) === 0;
|
|
235
|
-
const isLastItemInSortable = (sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement)
|
|
236
|
-
&& Array.from((_b = sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement) === null || _b === void 0 ? void 0 : _b.children)
|
|
237
|
-
.indexOf(sortableChildElement) === ((_c = sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement) === null || _c === void 0 ? void 0 : _c.children.length) - 1;
|
|
238
|
-
const sortableActionsEnabled = !this.sortableDisabled
|
|
239
|
-
&& !this.hideMovementActions
|
|
240
|
-
&& this.sortable
|
|
241
|
-
&& !this.sortable.disabled;
|
|
242
|
-
const nonCollapsingTextHeaderActions = this._headerActions.filter(action => !action.onlyCollapseText);
|
|
243
|
-
// const headerActions = [
|
|
244
|
-
// ...this._headerActions
|
|
245
|
-
// ];
|
|
246
|
-
return (h(Host, { role: "listitem", "aria-label": this.heading }, h("article", { ref: (el) => (this.mainElement = el), class: classes }, h("slot", { name: "image" }), h("div", { class: "stzh-card__content-wrapper" }, h("stzh-icon", { class: "stzh-card__dnd", name: "drag" }), h("header", { ref: (el) => (this.headerElement = el), class: "stzh-card__header", onClick: this.headerClick }, h("div", { class: "stzh-card__header-top" }, h("div", { ref: (el) => (this.headerLeftElement = el), class: "stzh-card__header-left" }, h("div", { class: "stzh-card__title-area" }, h("h3", { class: "stzh-card__title" }, this.heading), this._subtitles.length > 0 &&
|
|
247
|
-
h(Subtitle, { class: "stzh-card__subtitle", onClick: this.subtitleClick }, this._subtitles.map(subtitle => (h("span", { class: "stzh-card__subtitle-text" }, subtitle)))))), h("div", { ref: (el) => (this.headerRightElement = el), class: "stzh-card__header-right" }, h("div", { class: "stzh-card__card-actions" }, this._headerActions.map(action => (h("stzh-button", { class: {
|
|
248
|
-
"stzh-card__card-action": true,
|
|
249
|
-
"is-button": true,
|
|
250
|
-
"show-medium": !action.onlyCollapseText,
|
|
251
|
-
"hide-when-collapsed": !action.onlyCollapseText,
|
|
252
|
-
"hide-text-when-collapsed": action.onlyCollapseText
|
|
253
|
-
}, icon: action.icon, badge: action.badge, badgeEmpty: action.badgeEmpty, badgeType: action.badgeType, variant: "tertiary", size: "tiny", badgePosition: "icon", onClick: () => { this.actionClick(action); } }, h("span", { class: {
|
|
254
|
-
"show-medium": action.onlyCollapseText,
|
|
255
|
-
"hide-when-collapsed": action.onlyCollapseText
|
|
256
|
-
} }, action.label)))), this.starrable &&
|
|
257
|
-
h("stzh-tooltip", null, h("stzh-button", { class: "stzh-card__card-action is-star", icon: this.starred ? "star-filled" : "star", variant: "tertiary", size: "tiny", iconOnly: true, onClick: this.starToggleClick }), h("div", { slot: "content" }, this.starred ? this.localization.actionRemove : this.localization.actionAdd)), (nonCollapsingTextHeaderActions.length > 0 || this.starrable || sortableActionsEnabled) &&
|
|
258
|
-
h("stzh-popover", { label: this.localization.actionsPopoverLabel, placement: "bottom-end", class: {
|
|
259
|
-
"stzh-card__card-action-popover": true,
|
|
260
|
-
"hide-medium show-when-collapsed": !this.starrable && !sortableActionsEnabled
|
|
261
|
-
} }, h("stzh-button", { class: "stzh-card__card-action is-further", variant: "tertiary", size: "tiny", icon: "more-vertical", iconOnly: true }), h("stzh-menu", { slot: "content" }, this.starrable &&
|
|
262
|
-
h("stzh-menu-item", { icon: this.starred ? "star-filled" : "star", onClick: this.starToggleClick }, this.starred ? this.localization.actionRemove : this.localization.actionAdd), nonCollapsingTextHeaderActions.map(action => (h("stzh-menu-item", { class: "hide-medium show-when-collapsed", icon: action.icon, badge: action.badge, badgeEmpty: action.badgeEmpty, badgeType: action.badgeType, onClick: () => { this.actionClick(action); } }, action.label))), sortableActionsEnabled &&
|
|
263
|
-
h(Fragment, null, !isFirstItemInSortable &&
|
|
264
|
-
h("stzh-menu-item", { icon: "arrow-up", onClick: this.arrowUpClick }, this.localization.actionMoveUp), !isLastItemInSortable &&
|
|
265
|
-
h("stzh-menu-item", { icon: "arrow-down", onClick: this.arrowDownClick }, this.localization.actionMoveDown))))))), h("div", { class: "stzh-card__header-meta" }, h("slot", { name: "meta" }))), h("div", { class: "stzh-card__content hide-when-collapsed" }, h("slot", { name: "content" })), h("div", { class: "stzh-card__footer hide-when-collapsed" }, this._footerActions.length > 0 &&
|
|
266
|
-
h("stzh-actionset", { actions: this._footerActions }), this.selectable &&
|
|
267
|
-
h("stzh-button", { fullwidth: true, type: "radio", variant: "secondary", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, label: this.localization.select, onStzhChange: this.handleSelectionChange }))))));
|
|
268
|
-
}
|
|
269
|
-
get element() { return getElement(this); }
|
|
270
|
-
static get watchers() { return {
|
|
271
|
-
"subtitle": ["subtitleWatcher"],
|
|
272
|
-
"headerActions": ["headerActionsWatcher"],
|
|
273
|
-
"footerActions": ["footerActionsWatcher"]
|
|
274
|
-
}; }
|
|
275
|
-
};
|
|
276
|
-
StzhCard.style = stzhCardCss;
|
|
277
|
-
|
|
278
|
-
export { StzhCard as stzh_card };
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-2915b467.js';
|
|
2
|
-
|
|
3
|
-
const stzhDatalistCss = ".sc-stzh-datalist-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-datalist-h{display:none}.sc-stzh-datalist-h *.sc-stzh-datalist,.sc-stzh-datalist-h *.sc-stzh-datalist::before,.sc-stzh-datalist-h *.sc-stzh-datalist::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-datalist__list-item.sc-stzh-datalist{position:relative}.stzh-datalist__list.sc-stzh-datalist{width:100%}.stzh-datalist__value.sc-stzh-datalist{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);color:var(--stzh-color-black)}.stzh-datalist__label.sc-stzh-datalist,.stzh-datalist__meta.sc-stzh-datalist{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-datalist__action.sc-stzh-datalist{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;padding:0;color:inherit;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-datalist__action.sc-stzh-datalist:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-datalist--direction-vertical.sc-stzh-datalist .stzh-datalist__list.sc-stzh-datalist{display:block}.stzh-datalist--direction-vertical.sc-stzh-datalist .stzh-datalist__list-item.sc-stzh-datalist{display:block;padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall)}.stzh-datalist--direction-vertical.sc-stzh-datalist .stzh-datalist__list-item--has-icon.sc-stzh-datalist{padding-right:calc(var(--stzh-space-xsmall) + var(--stzh-icon-size-default))}.stzh-datalist--direction-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__list-item.sc-stzh-datalist{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-datalist--direction-vertical.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-vertical.sc-stzh-datalist .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-vertical.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-vertical.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{display:block;padding-top:0;padding-bottom:0}.stzh-datalist--direction-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__action-list.sc-stzh-datalist{border-bottom:none}.stzh-datalist--direction-vertical.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist:not(:empty){padding-right:0}.stzh-datalist--direction-vertical.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist:not(:empty){padding-left:0}.stzh-datalist--direction-vertical.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{vertical-align:initial;position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.stzh-datalist--direction-vertical.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist:not(:empty){padding-left:var(--stzh-space-xsmall)}.stzh-datalist--direction-horizontal.sc-stzh-datalist .stzh-datalist__list.sc-stzh-datalist{display:table}.stzh-datalist--direction-horizontal.sc-stzh-datalist .stzh-datalist__list-item.sc-stzh-datalist{display:table-row;padding-top:0;padding-bottom:0}.stzh-datalist--direction-horizontal.sc-stzh-datalist .stzh-datalist__list-item--has-icon.sc-stzh-datalist{padding-right:0}.stzh-datalist--direction-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__list-item.sc-stzh-datalist{border-bottom:none}.stzh-datalist--direction-horizontal.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-horizontal.sc-stzh-datalist .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-horizontal.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-horizontal.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{display:table-cell;padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall)}.stzh-datalist--direction-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__action-list.sc-stzh-datalist{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-datalist--direction-horizontal.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist:not(:empty){padding-right:var(--stzh-space-xsmall)}.stzh-datalist--direction-horizontal.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist:not(:empty){padding-left:var(--stzh-space-xsmall)}.stzh-datalist--direction-horizontal.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{vertical-align:top;position:static;right:auto;top:auto;-webkit-transform:initial;transform:initial}.stzh-datalist--direction-horizontal.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist:not(:empty){padding-left:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-datalist--direction-small-vertical.sc-stzh-datalist .stzh-datalist__list.sc-stzh-datalist{display:block}.stzh-datalist--direction-small-vertical.sc-stzh-datalist .stzh-datalist__list-item.sc-stzh-datalist{display:block;border-bottom:0.0625rem solid var(--stzh-base-border-color);padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall)}.stzh-datalist--direction-small-vertical.sc-stzh-datalist .stzh-datalist__list-item--has-icon.sc-stzh-datalist{padding-right:calc(var(--stzh-space-xsmall) + var(--stzh-icon-size-default))}.stzh-datalist--direction-small-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__list-item.sc-stzh-datalist{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-datalist--direction-small-vertical.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-small-vertical.sc-stzh-datalist .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-small-vertical.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-small-vertical.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{display:block;padding-top:0;padding-bottom:0}.stzh-datalist--direction-small-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-small-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-small-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-small-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__action-list.sc-stzh-datalist{border-bottom:none}.stzh-datalist--direction-small-vertical.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist:not(:empty){padding-right:0}.stzh-datalist--direction-small-vertical.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist:not(:empty){padding-left:0}.stzh-datalist--direction-small-vertical.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{vertical-align:initial;position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.stzh-datalist--direction-small-vertical.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist:not(:empty){padding-left:var(--stzh-space-xsmall)}.stzh-datalist--direction-small-horizontal.sc-stzh-datalist .stzh-datalist__list.sc-stzh-datalist{display:table}.stzh-datalist--direction-small-horizontal.sc-stzh-datalist .stzh-datalist__list-item.sc-stzh-datalist{display:table-row;padding-top:0;padding-bottom:0}.stzh-datalist--direction-small-horizontal.sc-stzh-datalist .stzh-datalist__list-item--has-icon.sc-stzh-datalist{padding-right:0}.stzh-datalist--direction-small-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__list-item.sc-stzh-datalist{border-bottom:none}.stzh-datalist--direction-small-horizontal.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-small-horizontal.sc-stzh-datalist .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-small-horizontal.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-small-horizontal.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{display:table-cell;padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall)}.stzh-datalist--direction-small-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-small-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-small-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-small-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__action-list.sc-stzh-datalist{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-datalist--direction-small-horizontal.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist:not(:empty){padding-right:var(--stzh-space-xsmall)}.stzh-datalist--direction-small-horizontal.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist:not(:empty){padding-left:var(--stzh-space-xsmall)}.stzh-datalist--direction-small-horizontal.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{vertical-align:top;position:static;right:auto;top:auto;-webkit-transform:initial;transform:initial}.stzh-datalist--direction-small-horizontal.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist:not(:empty){padding-left:var(--stzh-space-xsmall)}}@media screen and (min-width: 800px){.stzh-datalist--direction-smallheader-vertical.sc-stzh-datalist .stzh-datalist__list.sc-stzh-datalist{display:block}.stzh-datalist--direction-smallheader-vertical.sc-stzh-datalist .stzh-datalist__list-item.sc-stzh-datalist{display:block;border-bottom:0.0625rem solid var(--stzh-base-border-color);padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall)}.stzh-datalist--direction-smallheader-vertical.sc-stzh-datalist .stzh-datalist__list-item--has-icon.sc-stzh-datalist{padding-right:calc(var(--stzh-space-xsmall) + var(--stzh-icon-size-default))}.stzh-datalist--direction-smallheader-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__list-item.sc-stzh-datalist{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-datalist--direction-smallheader-vertical.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-smallheader-vertical.sc-stzh-datalist .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-smallheader-vertical.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-smallheader-vertical.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{display:block;padding-top:0;padding-bottom:0}.stzh-datalist--direction-smallheader-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-smallheader-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-smallheader-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-smallheader-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__action-list.sc-stzh-datalist{border-bottom:none}.stzh-datalist--direction-smallheader-vertical.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist:not(:empty){padding-right:0}.stzh-datalist--direction-smallheader-vertical.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist:not(:empty){padding-left:0}.stzh-datalist--direction-smallheader-vertical.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{vertical-align:initial;position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.stzh-datalist--direction-smallheader-vertical.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist:not(:empty){padding-left:var(--stzh-space-xsmall)}.stzh-datalist--direction-smallheader-horizontal.sc-stzh-datalist .stzh-datalist__list.sc-stzh-datalist{display:table}.stzh-datalist--direction-smallheader-horizontal.sc-stzh-datalist .stzh-datalist__list-item.sc-stzh-datalist{display:table-row;padding-top:0;padding-bottom:0}.stzh-datalist--direction-smallheader-horizontal.sc-stzh-datalist .stzh-datalist__list-item--has-icon.sc-stzh-datalist{padding-right:0}.stzh-datalist--direction-smallheader-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__list-item.sc-stzh-datalist{border-bottom:none}.stzh-datalist--direction-smallheader-horizontal.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-smallheader-horizontal.sc-stzh-datalist .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-smallheader-horizontal.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-smallheader-horizontal.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{display:table-cell;padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall)}.stzh-datalist--direction-smallheader-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-smallheader-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-smallheader-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-smallheader-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__action-list.sc-stzh-datalist{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-datalist--direction-smallheader-horizontal.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist:not(:empty){padding-right:var(--stzh-space-xsmall)}.stzh-datalist--direction-smallheader-horizontal.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist:not(:empty){padding-left:var(--stzh-space-xsmall)}.stzh-datalist--direction-smallheader-horizontal.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{vertical-align:top;position:static;right:auto;top:auto;-webkit-transform:initial;transform:initial}.stzh-datalist--direction-smallheader-horizontal.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist:not(:empty){padding-left:var(--stzh-space-xsmall)}}@media screen and (min-width: 1024px){.stzh-datalist--direction-medium-vertical.sc-stzh-datalist .stzh-datalist__list.sc-stzh-datalist{display:block}.stzh-datalist--direction-medium-vertical.sc-stzh-datalist .stzh-datalist__list-item.sc-stzh-datalist{display:block;border-bottom:0.0625rem solid var(--stzh-base-border-color);padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall)}.stzh-datalist--direction-medium-vertical.sc-stzh-datalist .stzh-datalist__list-item--has-icon.sc-stzh-datalist{padding-right:calc(var(--stzh-space-xsmall) + var(--stzh-icon-size-default))}.stzh-datalist--direction-medium-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__list-item.sc-stzh-datalist{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-datalist--direction-medium-vertical.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-medium-vertical.sc-stzh-datalist .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-medium-vertical.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-medium-vertical.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{display:block;padding-top:0;padding-bottom:0}.stzh-datalist--direction-medium-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-medium-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-medium-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-medium-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__action-list.sc-stzh-datalist{border-bottom:none}.stzh-datalist--direction-medium-vertical.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist:not(:empty){padding-right:0}.stzh-datalist--direction-medium-vertical.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist:not(:empty){padding-left:0}.stzh-datalist--direction-medium-vertical.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{vertical-align:initial;position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.stzh-datalist--direction-medium-vertical.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist:not(:empty){padding-left:var(--stzh-space-xsmall)}.stzh-datalist--direction-medium-horizontal.sc-stzh-datalist .stzh-datalist__list.sc-stzh-datalist{display:table}.stzh-datalist--direction-medium-horizontal.sc-stzh-datalist .stzh-datalist__list-item.sc-stzh-datalist{display:table-row;padding-top:0;padding-bottom:0}.stzh-datalist--direction-medium-horizontal.sc-stzh-datalist .stzh-datalist__list-item--has-icon.sc-stzh-datalist{padding-right:0}.stzh-datalist--direction-medium-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__list-item.sc-stzh-datalist{border-bottom:none}.stzh-datalist--direction-medium-horizontal.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-medium-horizontal.sc-stzh-datalist .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-medium-horizontal.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-medium-horizontal.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{display:table-cell;padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall)}.stzh-datalist--direction-medium-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-medium-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-medium-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-medium-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__action-list.sc-stzh-datalist{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-datalist--direction-medium-horizontal.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist:not(:empty){padding-right:var(--stzh-space-xsmall)}.stzh-datalist--direction-medium-horizontal.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist:not(:empty){padding-left:var(--stzh-space-xsmall)}.stzh-datalist--direction-medium-horizontal.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{vertical-align:top;position:static;right:auto;top:auto;-webkit-transform:initial;transform:initial}.stzh-datalist--direction-medium-horizontal.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist:not(:empty){padding-left:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){.stzh-datalist--direction-large-vertical.sc-stzh-datalist .stzh-datalist__list.sc-stzh-datalist{display:block}.stzh-datalist--direction-large-vertical.sc-stzh-datalist .stzh-datalist__list-item.sc-stzh-datalist{display:block;border-bottom:0.0625rem solid var(--stzh-base-border-color);padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall)}.stzh-datalist--direction-large-vertical.sc-stzh-datalist .stzh-datalist__list-item--has-icon.sc-stzh-datalist{padding-right:calc(var(--stzh-space-xsmall) + var(--stzh-icon-size-default))}.stzh-datalist--direction-large-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__list-item.sc-stzh-datalist{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-datalist--direction-large-vertical.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-large-vertical.sc-stzh-datalist .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-large-vertical.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-large-vertical.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{display:block;padding-top:0;padding-bottom:0}.stzh-datalist--direction-large-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-large-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-large-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-large-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__action-list.sc-stzh-datalist{border-bottom:none}.stzh-datalist--direction-large-vertical.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist:not(:empty){padding-right:0}.stzh-datalist--direction-large-vertical.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist:not(:empty){padding-left:0}.stzh-datalist--direction-large-vertical.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{vertical-align:initial;position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.stzh-datalist--direction-large-vertical.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist:not(:empty){padding-left:var(--stzh-space-xsmall)}.stzh-datalist--direction-large-horizontal.sc-stzh-datalist .stzh-datalist__list.sc-stzh-datalist{display:table}.stzh-datalist--direction-large-horizontal.sc-stzh-datalist .stzh-datalist__list-item.sc-stzh-datalist{display:table-row;padding-top:0;padding-bottom:0}.stzh-datalist--direction-large-horizontal.sc-stzh-datalist .stzh-datalist__list-item--has-icon.sc-stzh-datalist{padding-right:0}.stzh-datalist--direction-large-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__list-item.sc-stzh-datalist{border-bottom:none}.stzh-datalist--direction-large-horizontal.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-large-horizontal.sc-stzh-datalist .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-large-horizontal.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-large-horizontal.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{display:table-cell;padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall)}.stzh-datalist--direction-large-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-large-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-large-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-large-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__action-list.sc-stzh-datalist{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-datalist--direction-large-horizontal.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist:not(:empty){padding-right:var(--stzh-space-xsmall)}.stzh-datalist--direction-large-horizontal.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist:not(:empty){padding-left:var(--stzh-space-xsmall)}.stzh-datalist--direction-large-horizontal.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{vertical-align:top;position:static;right:auto;top:auto;-webkit-transform:initial;transform:initial}.stzh-datalist--direction-large-horizontal.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist:not(:empty){padding-left:var(--stzh-space-xsmall)}}@media screen and (min-width: 1440px){.stzh-datalist--direction-ultra-vertical.sc-stzh-datalist .stzh-datalist__list.sc-stzh-datalist{display:block}.stzh-datalist--direction-ultra-vertical.sc-stzh-datalist .stzh-datalist__list-item.sc-stzh-datalist{display:block;border-bottom:0.0625rem solid var(--stzh-base-border-color);padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall)}.stzh-datalist--direction-ultra-vertical.sc-stzh-datalist .stzh-datalist__list-item--has-icon.sc-stzh-datalist{padding-right:calc(var(--stzh-space-xsmall) + var(--stzh-icon-size-default))}.stzh-datalist--direction-ultra-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__list-item.sc-stzh-datalist{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-datalist--direction-ultra-vertical.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-ultra-vertical.sc-stzh-datalist .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-ultra-vertical.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-ultra-vertical.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{display:block;padding-top:0;padding-bottom:0}.stzh-datalist--direction-ultra-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-ultra-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-ultra-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-ultra-vertical.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__action-list.sc-stzh-datalist{border-bottom:none}.stzh-datalist--direction-ultra-vertical.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist:not(:empty){padding-right:0}.stzh-datalist--direction-ultra-vertical.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist:not(:empty){padding-left:0}.stzh-datalist--direction-ultra-vertical.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{vertical-align:initial;position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.stzh-datalist--direction-ultra-vertical.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist:not(:empty){padding-left:var(--stzh-space-xsmall)}.stzh-datalist--direction-ultra-horizontal.sc-stzh-datalist .stzh-datalist__list.sc-stzh-datalist{display:table}.stzh-datalist--direction-ultra-horizontal.sc-stzh-datalist .stzh-datalist__list-item.sc-stzh-datalist{display:table-row;padding-top:0;padding-bottom:0}.stzh-datalist--direction-ultra-horizontal.sc-stzh-datalist .stzh-datalist__list-item--has-icon.sc-stzh-datalist{padding-right:0}.stzh-datalist--direction-ultra-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__list-item.sc-stzh-datalist{border-bottom:none}.stzh-datalist--direction-ultra-horizontal.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-ultra-horizontal.sc-stzh-datalist .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-ultra-horizontal.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-ultra-horizontal.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{display:table-cell;padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall)}.stzh-datalist--direction-ultra-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__label.sc-stzh-datalist,.stzh-datalist--direction-ultra-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__value.sc-stzh-datalist,.stzh-datalist--direction-ultra-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__meta.sc-stzh-datalist,.stzh-datalist--direction-ultra-horizontal.sc-stzh-datalist:not(.stzh-datalist--hide-border) .stzh-datalist__action-list.sc-stzh-datalist{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-datalist--direction-ultra-horizontal.sc-stzh-datalist .stzh-datalist__label.sc-stzh-datalist:not(:empty){padding-right:var(--stzh-space-xsmall)}.stzh-datalist--direction-ultra-horizontal.sc-stzh-datalist .stzh-datalist__meta.sc-stzh-datalist:not(:empty){padding-left:var(--stzh-space-xsmall)}.stzh-datalist--direction-ultra-horizontal.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist{vertical-align:top;position:static;right:auto;top:auto;-webkit-transform:initial;transform:initial}.stzh-datalist--direction-ultra-horizontal.sc-stzh-datalist .stzh-datalist__action-list.sc-stzh-datalist:not(:empty){padding-left:var(--stzh-space-xsmall)}}";
|
|
4
|
-
|
|
5
|
-
const StzhDatalist = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.stzhItemActionClick = createEvent(this, "stzhItemActionClick", 7);
|
|
9
|
-
this._items = [];
|
|
10
|
-
this.actionClick = (originalEvent, item) => {
|
|
11
|
-
this.stzhItemActionClick.emit({
|
|
12
|
-
component: "stzh-datalist",
|
|
13
|
-
originalEvent,
|
|
14
|
-
item
|
|
15
|
-
});
|
|
16
|
-
};
|
|
17
|
-
this.direction = "vertical";
|
|
18
|
-
this.directionSmall = "horizontal";
|
|
19
|
-
this.directionMedium = "inherit";
|
|
20
|
-
this.directionLarge = "inherit";
|
|
21
|
-
this.directionUltra = "inherit";
|
|
22
|
-
this.hideBorder = false;
|
|
23
|
-
this.items = [];
|
|
24
|
-
}
|
|
25
|
-
itemsWatcher(newValue) {
|
|
26
|
-
if (typeof newValue === "string") {
|
|
27
|
-
this._items = JSON.parse(newValue);
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
this._items = newValue;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
async componentWillLoad() {
|
|
34
|
-
this.itemsWatcher(this.items);
|
|
35
|
-
}
|
|
36
|
-
render() {
|
|
37
|
-
const classes = {
|
|
38
|
-
"stzh-datalist": true,
|
|
39
|
-
"stzh-datalist--hide-border": this.hideBorder,
|
|
40
|
-
[`stzh-datalist--direction-${this.direction}`]: !!this.direction,
|
|
41
|
-
[`stzh-datalist--direction-small-${this.directionSmall}`]: !!this.directionSmall,
|
|
42
|
-
[`stzh-datalist--direction-medium-${this.directionMedium}`]: !!this.directionMedium,
|
|
43
|
-
[`stzh-datalist--direction-large-${this.directionLarge}`]: !!this.directionLarge,
|
|
44
|
-
[`stzh-datalist--direction-ultra-${this.directionUltra}`]: !!this.directionUltra
|
|
45
|
-
};
|
|
46
|
-
return (h(Host, null, h("div", { class: classes }, h("div", { class: "stzh-datalist__list", role: "list" }, this._items.map((item) => h("div", { role: "listitem", class: {
|
|
47
|
-
"stzh-datalist__list-item": true,
|
|
48
|
-
"stzh-datalist__list-item--has-icon": !!item.icon,
|
|
49
|
-
} }, h("div", { class: "stzh-datalist__label" }, item.label), h("div", { class: "stzh-datalist__value" }, item.href ? h("stzh-link", { href: item.href, label: item.value, size: "inherit" }) : item.value), h("div", { class: "stzh-datalist__meta" }, item.meta), h("div", { class: "stzh-datalist__action-list" }, h("button", { class: "stzh-datalist__action", onClick: (event) => this.actionClick(event, item) }, h("stzh-icon", { name: item.icon })))))))));
|
|
50
|
-
}
|
|
51
|
-
get element() { return getElement(this); }
|
|
52
|
-
static get watchers() { return {
|
|
53
|
-
"items": ["itemsWatcher"]
|
|
54
|
-
}; }
|
|
55
|
-
};
|
|
56
|
-
StzhDatalist.style = stzhDatalistCss;
|
|
57
|
-
|
|
58
|
-
export { StzhDatalist as stzh_datalist };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var name="@oiz/stzh-components";var version="2.1.0";var packageName=name.substring(name.indexOf("/")+1);function applyAutofocus(){window.addEventListener("appload",(function(e){var o=document.querySelector("[autofocus]");if(o&&e.detail.namespace===packageName&&o.tagName.toLowerCase().indexOf("stzh-")===0&&"setFocus"in o){o.setFocus()}}))}function observeScrollbarWidth(){var e={threshold:1};var o=function(e){e.forEach((function(e){var o=0;if(e.intersectionRatio<1){o=window.innerWidth-document.body.clientWidth}document.documentElement.style.setProperty("--stzh-scrollbar-width",o+"px")}))};var t=new IntersectionObserver(o,e);t.observe(document.body)}function appGlobalScript(){window.stzhComponents=Object.assign({version:version,labels:"fixed",cacheTranslations:true,pathTranslations:"/",formats:{}},window.stzhComponents||{});applyAutofocus();observeScrollbarWidth()}var globalScripts=appGlobalScript;export{globalScripts as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,s,i){function a(t){return t instanceof s?t:new s((function(e){e(t)}))}return new(s||(s=Promise))((function(s,l){function r(t){try{o(i.next(t))}catch(e){l(e)}}function n(t){try{o(i["throw"](t))}catch(e){l(e)}}function o(t){t.done?s(t.value):a(t.value).then(r,n)}o((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var s={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},i,a,l,r;return r={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function n(t){return function(e){return o([t,e])}}function o(r){if(i)throw new TypeError("Generator is already executing.");while(s)try{if(i=1,a&&(l=r[0]&2?a["return"]:r[0]?a["throw"]||((l=a["return"])&&l.call(a),0):a.next)&&!(l=l.call(a,r[1])).done)return l;if(a=0,l)r=[r[0]&2,l.value];switch(r[0]){case 0:case 1:l=r;break;case 4:s.label++;return{value:r[1],done:false};case 5:s.label++;a=r[1];r=[0];continue;case 7:r=s.ops.pop();s.trys.pop();continue;default:if(!(l=s.trys,l=l.length>0&&l[l.length-1])&&(r[0]===6||r[0]===2)){s=0;continue}if(r[0]===3&&(!l||r[1]>l[0]&&r[1]<l[3])){s.label=r[1];break}if(r[0]===6&&s.label<l[1]){s.label=l[1];l=r;break}if(l&&s.label<l[2]){s.label=l[2];s.ops.push(r);break}if(l[2])s.ops.pop();s.trys.pop();continue}r=e.call(t,s)}catch(n){r=[6,n];a=0}finally{i=l=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,a as Host,g as getElement}from"./index-2915b467.js";import{c as cloneElement}from"./utils-68a28fce.js";import{f as fetchTranslations}from"./translation-utils-2623783f.js";var stzhCardListCss=".sc-stzh-card-list-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-card-list-h{display:none}.sc-stzh-card-list-h *.sc-stzh-card-list,.sc-stzh-card-list-h *.sc-stzh-card-list::before,.sc-stzh-card-list-h *.sc-stzh-card-list::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-card-list-h .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.sc-stzh-card-list-h .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-card-list-h .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-xlarge)}}.sc-stzh-card-list-h .sc-stzh-card-list-s>[slot=description] stzh-icon{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.sc-stzh-card-list-h .sc-stzh-card-list-s>stzh-text[slot=description]{--color:inherit}.stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-medium);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 1024px){.stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 800px){.stzh-card-list__header.sc-stzh-card-list{-ms-flex-direction:row;flex-direction:row}}.stzh-card-list__description.sc-stzh-card-list{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(--stzh-base-lead-color)}@media screen and (min-width: 1024px){.stzh-card-list__description.sc-stzh-card-list{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-card-list__description.sc-stzh-card-list:not(:empty){margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 800px){.stzh-card-list__description.sc-stzh-card-list:not(:empty){margin-bottom:0}}.stzh-card-list__switch.sc-stzh-card-list{--color:var(--stzh-base-lead-color);-ms-flex-item-align:end;align-self:end}";var StzhCardList=function(){function t(t){var e=this;registerInstance(this,t);this.stzhCollapseAll=createEvent(this,"stzhCollapseAll",7);this.collapseClick=function(){var t=Array.from(e.element.querySelectorAll("stzh-card"));t.forEach((function(t){if(t.collapsible){t.collapsed=!e.allCollapsed}}));e.allCollapsed=!e.allCollapsed;e.stzhCollapseAll.emit({component:"stzh-card-list",allCollapsed:e.allCollapsed})};this.updateCollapsedState=function(){var t=Array.from(e.element.querySelectorAll("stzh-card"));e.allCollapsed=!t.some((function(t){return!t.collapsed}))};this.sortableGhostClone=function(t){var e=cloneElement(t),s=e[0],i=e[1],a=e[2];if(i&&a&&i.tagName.toLowerCase()==="stzh-card"){var l=i;var r=a;l.heading=r.heading;l.subtitle=r.subtitle;l.headerActions=r.headerActions;l.footerActions=r.footerActions;l.hideMovementActions=r.hideMovementActions}return s};this.localization=undefined;this.showToggleLink=false;this.sortableEnabled=false;this.sortableDataIdAttribute="data-id";this.allCollapsed=false}t.prototype.collapseListener=function(){this.updateCollapsedState()};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:if(!!this.localization)return[3,2];t=this;return[4,fetchTranslations(this.element,"card-list")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.componentDidLoad=function(){this.updateCollapsedState()};t.prototype.render=function(){var t={"stzh-card-list":true};return h(Host,null,h("div",{class:t},h("div",{class:"stzh-card-list__header"},h("div",{class:"stzh-card-list__description"},h("slot",{name:"description"})),this.showToggleLink&&h("stzh-link",{class:"stzh-card-list__switch",icon:this.allCollapsed?"list-expanded":"list-shrinked",label:this.allCollapsed?this.localization.expandAll:this.localization.collapseAll,onClick:this.collapseClick})),h("stzh-sortable",{disabled:!this.sortableEnabled,dataIdAttribute:this.sortableDataIdAttribute,ghostClone:this.sortableGhostClone},h("div",{class:"stzh-card-list__cards",role:"list"},h("slot",null)))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();StzhCardList.style=stzhCardListCss;export{StzhCardList as stzh_card_list};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,s,a){function r(t){return t instanceof s?t:new s((function(e){e(t)}))}return new(s||(s=Promise))((function(s,i){function n(t){try{c(a.next(t))}catch(e){i(e)}}function h(t){try{c(a["throw"](t))}catch(e){i(e)}}function c(t){t.done?s(t.value):r(t.value).then(n,h)}c((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var s={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,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(e){return c([t,e])}}function c(n){if(a)throw new TypeError("Generator is already executing.");while(s)try{if(a=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:s.label++;return{value:n[1],done:false};case 5:s.label++;r=n[1];n=[0];continue;case 7:n=s.ops.pop();s.trys.pop();continue;default:if(!(i=s.trys,i=i.length>0&&i[i.length-1])&&(n[0]===6||n[0]===2)){s=0;continue}if(n[0]===3&&(!i||n[1]>i[0]&&n[1]<i[3])){s.label=n[1];break}if(n[0]===6&&s.label<i[1]){s.label=i[1];i=n;break}if(i&&s.label<i[2]){s.label=i[2];s.ops.push(n);break}if(i[2])s.ops.pop();s.trys.pop();continue}n=e.call(t,s)}catch(h){n=[6,h];r=0}finally{a=i=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,f as forceUpdate,h,F as Fragment,a as Host,g as getElement}from"./index-2915b467.js";import{s as setPropsIfNull,h as hasSlot}from"./utils-68a28fce.js";import{m as media}from"./media-utils-9b041ceb.js";import{f as fetchTranslations}from"./translation-utils-2623783f.js";var stzhCardCss='.sc-stzh-card-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-card-h{display:none}.sc-stzh-card-h *.sc-stzh-card,.sc-stzh-card-h *.sc-stzh-card::before,.sc-stzh-card-h *.sc-stzh-card::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-card-h{--box-shadow:var(--stzh-box-shadow-popover);--border:0.0625rem solid var(--stzh-base-border-color);--border-radius:0.1875rem;--dnd-visibility:hidden;--dnd-opacity:0;position:relative;border-radius:var(--border-radius)}[checked].sc-stzh-card-h:not([checked=false]){outline:0.1875rem solid var(--stzh-color-primary, var(--stzh-color-zueriblue))}.is-ghost.sc-stzh-card-h::after,.is-ghost .sc-stzh-card-h::after{border-radius:var(--border-radius)}.is-selected.sc-stzh-card-h,.is-chosen.sc-stzh-card-h,.is-selected .sc-stzh-card-h,.is-chosen .sc-stzh-card-h{--box-shadow:var(--stzh-box-shadow-overlay)}.is-ghost.sc-stzh-card-h,.is-ghost .sc-stzh-card-h{--box-shadow:none;--border:0.0625rem solid transparent;overflow:hidden}.is-drag.sc-stzh-card-h,.is-chosen.sc-stzh-card-h,.is-ghost.sc-stzh-card-h,.is-selected.sc-stzh-card-h,.is-drag .sc-stzh-card-h,.is-chosen .sc-stzh-card-h,.is-ghost .sc-stzh-card-h,.is-selected .sc-stzh-card-h{--dnd-visibility:visible;--dnd-opacity:1}.sc-stzh-card-h .sc-stzh-card-s>*{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)}.sc-stzh-card-h .sc-stzh-card-s>[slot=image]{max-width:100%}.sc-stzh-card-h .sc-stzh-card-s>img[slot=image]{display:block}.sc-stzh-card-h .sc-stzh-card-s>[slot=meta]:not(:last-child){margin-right:var(--stzh-space-xsmall)}.sc-stzh-card-h .sc-stzh-card-s>table{border:0;border-spacing:0}.sc-stzh-card-h .sc-stzh-card-s>table th{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.sc-stzh-card-h .sc-stzh-card-s>table td,.sc-stzh-card-h .sc-stzh-card-s>table th{padding:0}.sc-stzh-card-h .sc-stzh-card-s>table td{color:var(--stzh-color-black);padding-left:var(--stzh-space-xsmall)}.stzh-card.sc-stzh-card{background-color:var(--stzh-color-white);border-radius:var(--border-radius);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);border:var(--border);-webkit-transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed), -webkit-box-shadow var(--stzh-base-transition-animation-speed)}@media screen and (max-width: 1023px){.stzh-card.sc-stzh-card .show-medium.sc-stzh-card{display:none}}@media screen and (min-width: 1024px){.stzh-card.sc-stzh-card .hide-medium.sc-stzh-card{display:none}}.stzh-card__content-wrapper.sc-stzh-card{position:relative}.stzh-card__dnd.sc-stzh-card{--size:var(--stzh-icon-size-xsmall);position:absolute;left:0.1875rem;top:1.4375rem;display:-ms-flexbox;display:flex;visibility:var(--dnd-visibility);opacity:var(--dnd-opacity);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);display:none}@media screen and (min-width: 1024px){.stzh-card__dnd.sc-stzh-card{display:block}}@media screen and (min-width: 1260px){.stzh-card__dnd.sc-stzh-card{left:0.25rem;top:1.6875rem}}.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-medium);border-bottom:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-xlarge)}}.stzh-card__header-top.sc-stzh-card{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:start;align-items:flex-start}.stzh-card__header-meta.sc-stzh-card{display:-ms-flexbox;display:flex}.stzh-card__header-meta.sc-stzh-card:not(:empty){margin-top:var(--stzh-space-xsmall)}.stzh-card__header-left.sc-stzh-card,.stzh-card__header-right.sc-stzh-card{display:-ms-flexbox;display:flex}.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-medium)}}.stzh-card__left.sc-stzh-card{-ms-flex-item-align:center;align-self:center}.stzh-card__title-area.sc-stzh-card{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden}.stzh-card__title.sc-stzh-card,.stzh-card__subtitle.sc-stzh-card{margin:0}.stzh-card__title.sc-stzh-card{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-default-heading-letter-spacing);color:var(--stzh-base-lead-color)}@media screen and (min-width: 600px){.stzh-card__title.sc-stzh-card{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-small-heading-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-card__title.sc-stzh-card{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-heading-line-height, var(--stzh-font-regular-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-heading-letter-spacing)}}.stzh-card__subtitle.sc-stzh-card{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);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;text-decoration:none;margin-left:-0.5625em}@media screen and (min-width: 1024px){.stzh-card__subtitle.sc-stzh-card{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-card__subtitle-text.sc-stzh-card{position:relative;display:-ms-inline-flexbox;display:inline-flex;padding-left:0.5625em}.stzh-card__subtitle-text.sc-stzh-card::after{content:",";position:absolute;left:0}.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-xlarge)}}.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-medium);border-top:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-xlarge)}}.stzh-card__card-actions.sc-stzh-card{display:-ms-inline-flexbox;display:inline-flex;white-space:nowrap}@media screen and (max-width: 1023px){.stzh-card__card-action.sc-stzh-card{--icon-text-margin:0;--badge-icon-text-margin:0}}.stzh-card__card-action[variant=tertiary].sc-stzh-card{--color:var(--stzh-color-grey70)}.stzh-card__card-action.is-button.sc-stzh-card{--icon-size:var(--stzh-icon-size-small)}.stzh-card__card-action.is-placeholder.sc-stzh-card{width:var(--stzh-space-xxlarge);height:var(--stzh-space-xxlarge)}.stzh-card__card-action-popover.sc-stzh-card{--width:auto}.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card{cursor:pointer;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card:hover,.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--is-collapsed.sc-stzh-card .hide-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .hide-when-collapsed.sc-stzh-card{display:none}.stzh-card--is-collapsed.sc-stzh-card .show-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .show-when-collapsed.sc-stzh-card{display:block}.stzh-card--is-collapsed.sc-stzh-card .stzh-card__header.sc-stzh-card{border-bottom:none}.stzh-card--is-collapsed.sc-stzh-card .stzh-card__card-action.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__card-action.sc-stzh-card{--icon-text-margin:0;--badge-icon-text-margin:0}.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card:hover,.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--has-hidden-header-border.sc-stzh-card .stzh-card__header.sc-stzh-card{border-bottom:none;padding-bottom:0}.stzh-card--has-hidden-footer-border.sc-stzh-card .stzh-card__footer.sc-stzh-card:not(:empty){padding-top:0;border-top:none}';var StzhCard=function(){function t(t){var e=this;registerInstance(this,t);this.stzhCollapse=createEvent(this,"stzhCollapse",7);this.stzhSubtitleClick=createEvent(this,"stzhSubtitleClick",7);this.stzhStarClick=createEvent(this,"stzhStarClick",7);this.stzhHeaderActionClick=createEvent(this,"stzhHeaderActionClick",7);this._subtitles=[];this.nodeChange=function(t){var s=false;t.forEach((function(t){if(t.target.closest("[slot]")||t.target.hasAttribute("slot")){s=true}}));if(s){forceUpdate(e.element)}};this.update=function(){if(!e.mainElement){return}e.mainElement.classList.remove("stzh-card--has-collapsed-header");if(media("medium").matches){var t=e.headerElement.clientWidth;var s=e.headerLeftElement.clientWidth;var a=e.headerRightElement.clientWidth;if(t-s<=a){e.mainElement.classList.add("stzh-card--has-collapsed-header")}}};this.headerClick=function(t){if(!e.collapsible){return}var s=["stzh-popover","stzh-tooltip","button","a","input","select","textarea","iframe","details","label","area"];var a=t.composedPath().map((function(t){var e;return(e=t.tagName)===null||e===void 0?void 0:e.toLowerCase()}));var r=a.some((function(t){return s.includes(t)}));if(!r){e.collapsed=!e.collapsed;e.stzhCollapse.emit({component:"stzh-card",collapsed:e.collapsed})}};this.subtitleClick=function(){if(e.subtitleInteractive){e.stzhSubtitleClick.emit({component:"stzh-card"})}};this.starToggleClick=function(){e.stzhStarClick.emit({component:"stzh-card",starred:e.starred})};this.actionClick=function(t){e.stzhHeaderActionClick.emit({component:"stzh-card",action:t})};this.arrowUpClick=function(){var t=e.element.closest("stzh-sortable");if(t){var s=e.findSortableChildElement();t.moveItem(s,"up")}};this.arrowDownClick=function(){var t=e.element.closest("stzh-sortable");if(t){var s=e.findSortableChildElement();t.moveItem(s,"down")}};this.updateElementInsideSortable=function(){var t=e.element.closest("stzh-sortable");if(!t){e.sortable.removeEventListener("stzhUpdate",e.updateElementInsideSortable);e.sortable.removeEventListener("stzhDisable",e.updateElementInsideSortable);return}if(e.element){forceUpdate(e.element)}};this.init=function(){var t=e.element.querySelectorAll('stzh-chip[slot="meta"], [slot="meta"] stzh-chip');t.forEach((function(t){setPropsIfNull(t,{size:"small"})}))};this.handleMutation=function(t){e.init();e.nodeChange(t)};this.handleSelectionChange=function(t){e.checked=t.detail.checked};this.localization=undefined;this.collapsed=false;this.starred=false;this.starrable=false;this.selectable=false;this.checked=false;this.name="";this.value="";this.disabled=false;this.heading="";this.subtitle="";this.headerActions=[];this.footerActions=[];this.subtitleInteractive=false;this.sortableDisabled=false;this.collapsible=false;this.hideHeaderBorder=false;this.hideFooterBorder=false;this.hideMovementActions=false}t.prototype.handleResize=function(){if(this.debounceResize){window.cancelAnimationFrame(this.debounceResize)}this.debounceResize=requestAnimationFrame(this.update)};t.prototype.subtitleWatcher=function(t){if(typeof t==="string"){try{this._subtitles=JSON.parse(t)}catch(e){this._subtitles=[t]}}else{this._subtitles=t}};t.prototype.headerActionsWatcher=function(t){if(typeof t==="string"){this._headerActions=JSON.parse(t)}else{this._headerActions=t}};t.prototype.footerActionsWatcher=function(t){if(typeof t==="string"){this._footerActions=JSON.parse(t)}else{this._footerActions=t}};t.prototype.findSortableChildElement=function(){var t=this.element.closest("stzh-sortable");if(t){var e=this.element;var s=null;if(typeof t.container==="function"){s=t.container()}else{s=t.container}while(e.parentElement&&e.parentElement!==s){e=e.parentElement}return e}};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:this.subtitleWatcher(this.subtitle);this.headerActionsWatcher(this.headerActions);this.footerActionsWatcher(this.footerActions);if(!!this.localization)return[3,2];t=this;return[4,fetchTranslations(this.element,"card")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.componentDidLoad=function(){this.sortable=this.element.closest("stzh-sortable");if(this.sortable){this.sortable.addEventListener("stzhUpdate",this.updateElementInsideSortable);this.sortable.addEventListener("stzhDisable",this.updateElementInsideSortable)}};t.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.handleMutation);this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){this.observer.disconnect()};t.prototype.render=function(){var t=this;var e,s,a;var r=hasSlot(this.element,"image");var i=hasSlot(this.element,"content");var n={"stzh-card":true,"stzh-card--has-image":r,"stzh-card--has-content":i,"stzh-card--has-subtitle":!!this.subtitle,"stzh-card--has-subtitle-interactive":!!this.subtitle&&this.subtitleInteractive,"stzh-card--has-hidden-header-border":this.hideHeaderBorder,"stzh-card--has-hidden-footer-border":this.hideFooterBorder,"stzh-card--is-collapsed":this.collapsed,"stzh-card--is-starred":this.starred,"stzh-card--is-checked":this.checked};var c="".concat(this.subtitleInteractive?"button":"span");var o=this.findSortableChildElement();var d=(o===null||o===void 0?void 0:o.parentElement)&&Array.from((e=o===null||o===void 0?void 0:o.parentElement)===null||e===void 0?void 0:e.children).indexOf(o)===0;var l=(o===null||o===void 0?void 0:o.parentElement)&&Array.from((s=o===null||o===void 0?void 0:o.parentElement)===null||s===void 0?void 0:s.children).indexOf(o)===((a=o===null||o===void 0?void 0:o.parentElement)===null||a===void 0?void 0:a.children.length)-1;var z=!this.sortableDisabled&&!this.hideMovementActions&&this.sortable&&!this.sortable.disabled;var p=this._headerActions.filter((function(t){return!t.onlyCollapseText}));return h(Host,{role:"listitem","aria-label":this.heading},h("article",{ref:function(e){return t.mainElement=e},class:n},h("slot",{name:"image"}),h("div",{class:"stzh-card__content-wrapper"},h("stzh-icon",{class:"stzh-card__dnd",name:"drag"}),h("header",{ref:function(e){return t.headerElement=e},class:"stzh-card__header",onClick:this.headerClick},h("div",{class:"stzh-card__header-top"},h("div",{ref:function(e){return t.headerLeftElement=e},class:"stzh-card__header-left"},h("div",{class:"stzh-card__title-area"},h("h3",{class:"stzh-card__title"},this.heading),this._subtitles.length>0&&h(c,{class:"stzh-card__subtitle",onClick:this.subtitleClick},this._subtitles.map((function(t){return h("span",{class:"stzh-card__subtitle-text"},t)}))))),h("div",{ref:function(e){return t.headerRightElement=e},class:"stzh-card__header-right"},h("div",{class:"stzh-card__card-actions"},this._headerActions.map((function(e){return h("stzh-button",{class:{"stzh-card__card-action":true,"is-button":true,"show-medium":!e.onlyCollapseText,"hide-when-collapsed":!e.onlyCollapseText,"hide-text-when-collapsed":e.onlyCollapseText},icon:e.icon,badge:e.badge,badgeEmpty:e.badgeEmpty,badgeType:e.badgeType,variant:"tertiary",size:"tiny",badgePosition:"icon",onClick:function(){t.actionClick(e)}},h("span",{class:{"show-medium":e.onlyCollapseText,"hide-when-collapsed":e.onlyCollapseText}},e.label))})),this.starrable&&h("stzh-tooltip",null,h("stzh-button",{class:"stzh-card__card-action is-star",icon:this.starred?"star-filled":"star",variant:"tertiary",size:"tiny",iconOnly:true,onClick:this.starToggleClick}),h("div",{slot:"content"},this.starred?this.localization.actionRemove:this.localization.actionAdd)),(p.length>0||this.starrable||z)&&h("stzh-popover",{label:this.localization.actionsPopoverLabel,placement:"bottom-end",class:{"stzh-card__card-action-popover":true,"hide-medium show-when-collapsed":!this.starrable&&!z}},h("stzh-button",{class:"stzh-card__card-action is-further",variant:"tertiary",size:"tiny",icon:"more-vertical",iconOnly:true}),h("stzh-menu",{slot:"content"},this.starrable&&h("stzh-menu-item",{icon:this.starred?"star-filled":"star",onClick:this.starToggleClick},this.starred?this.localization.actionRemove:this.localization.actionAdd),p.map((function(e){return h("stzh-menu-item",{class:"hide-medium show-when-collapsed",icon:e.icon,badge:e.badge,badgeEmpty:e.badgeEmpty,badgeType:e.badgeType,onClick:function(){t.actionClick(e)}},e.label)})),z&&h(Fragment,null,!d&&h("stzh-menu-item",{icon:"arrow-up",onClick:this.arrowUpClick},this.localization.actionMoveUp),!l&&h("stzh-menu-item",{icon:"arrow-down",onClick:this.arrowDownClick},this.localization.actionMoveDown))))))),h("div",{class:"stzh-card__header-meta"},h("slot",{name:"meta"}))),h("div",{class:"stzh-card__content hide-when-collapsed"},h("slot",{name:"content"})),h("div",{class:"stzh-card__footer hide-when-collapsed"},this._footerActions.length>0&&h("stzh-actionset",{actions:this._footerActions}),this.selectable&&h("stzh-button",{fullwidth:true,type:"radio",variant:"secondary",name:this.name,value:this.value,checked:this.checked,disabled:this.disabled,label:this.localization.select,onStzhChange:this.handleSelectionChange})))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{subtitle:["subtitleWatcher"],headerActions:["headerActionsWatcher"],footerActions:["footerActionsWatcher"]}},enumerable:false,configurable:true});return t}();StzhCard.style=stzhCardCss;export{StzhCard as stzh_card};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,s,i){function r(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,c){function n(e){try{a(i.next(e))}catch(t){c(t)}}function h(e){try{a(i["throw"](e))}catch(t){c(t)}}function a(e){e.done?s(e.value):r(e.value).then(n,h)}a((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var s={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},i,r,c,n;return n={next:h(0),throw:h(1),return:h(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function h(e){return function(t){return a([e,t])}}function a(n){if(i)throw new TypeError("Generator is already executing.");while(s)try{if(i=1,r&&(c=n[0]&2?r["return"]:n[0]?r["throw"]||((c=r["return"])&&c.call(r),0):r.next)&&!(c=c.call(r,n[1])).done)return c;if(r=0,c)n=[n[0]&2,c.value];switch(n[0]){case 0:case 1:c=n;break;case 4:s.label++;return{value:n[1],done:false};case 5:s.label++;r=n[1];n=[0];continue;case 7:n=s.ops.pop();s.trys.pop();continue;default:if(!(c=s.trys,c=c.length>0&&c[c.length-1])&&(n[0]===6||n[0]===2)){s=0;continue}if(n[0]===3&&(!c||n[1]>c[0]&&n[1]<c[3])){s.label=n[1];break}if(n[0]===6&&s.label<c[1]){s.label=c[1];c=n;break}if(c&&s.label<c[2]){s.label=c[2];s.ops.push(n);break}if(c[2])s.ops.pop();s.trys.pop();continue}n=t.call(e,s)}catch(h){n=[6,h];r=0}finally{i=c=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,a as Host,g as getElement}from"./index-2915b467.js";import{S as StzhInputDescription}from"./stzh-input-description-e87e6697.js";import{f as fetchTranslations}from"./translation-utils-2623783f.js";var stzhChipSelectCss=".sc-stzh-chip-select-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-chip-select-h{display:none}.sc-stzh-chip-select-h *.sc-stzh-chip-select,.sc-stzh-chip-select-h *.sc-stzh-chip-select::before,.sc-stzh-chip-select-h *.sc-stzh-chip-select::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-chip-select__marker-symbol.sc-stzh-chip-select{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-chip-select__marker-text.sc-stzh-chip-select{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-chip-select__description-wrapper.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select__description.sc-stzh-chip-select{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-chip-select__error.sc-stzh-chip-select{color:var(--stzh-color-error)}.stzh-chip-select__error-list.sc-stzh-chip-select{list-style:none;margin:0;padding:0}.stzh-chip-select__description.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-chip-select__description-long.sc-stzh-chip-select{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-chip-select__description-long-popover.sc-stzh-chip-select{--width:auto;--max-width:27.3125rem}.stzh-chip-select__description-long-popover[open].sc-stzh-chip-select:not([open=false]) .stzh-chip-select__description-long-button.sc-stzh-chip-select{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select__description-long-button.sc-stzh-chip-select{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;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-chip-select__description-long-button.sc-stzh-chip-select:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select.sc-stzh-chip-select stzh-icon.stzh-chip-select__description-long-icon.sc-stzh-chip-select{--size:var(--stzh-icon-size-xsmall)}.stzh-chip-select--has-error.sc-stzh-chip-select .stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select--has-description.sc-stzh-chip-select .stzh-chip-select__description.sc-stzh-chip-select{margin-top:var(--stzh-space-xxsmall)}.stzh-chip-select__chips.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-space-small) / -2) calc(var(--stzh-space-xsmall) / -2)}@media screen and (max-width: 1023px){.stzh-chip-select__chips.sc-stzh-chip-select{display:none}}.stzh-chip-select__chip.sc-stzh-chip-select{margin:calc(var(--stzh-space-small) / 2) calc(var(--stzh-space-xsmall) / 2)}@media screen and (min-width: 1024px){.stzh-chip-select__dropdown.sc-stzh-chip-select{display:none}}@media screen and (max-width: 1023px){.stzh-chip-select__description-wrapper.sc-stzh-chip-select{display:none}}.stzh-chip-select--has-error.sc-stzh-chip-select .stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select--has-description.sc-stzh-chip-select .stzh-chip-select__description.sc-stzh-chip-select{margin-top:var(--stzh-space-xsmall)}";var chipSelectCounter=0;var StzhChipSelect=function(){function e(e){var t=this;registerInstance(this,e);this.stzhChange=createEvent(this,"stzhChange",7);this._data=[];this._dataDropdown=[];this.chipClick=function(e){t.value=e.value;t.stzhChange.emit({component:"stzh-chip-select",value:t.value})};this.onDropdownChange=function(e){t.value=e.detail.value;t.stzhChange.emit({component:"stzh-chip-select",value:t.value})};this.localization=undefined;this.data=[];this.name=undefined;this.label="";this.value="";this.description=undefined;this.descriptionLong=undefined;this.error=undefined;this.invalid=false;this.required=false;this.disabled=false;this.a11yDescribedby=""}e.prototype.dataWatcher=function(e){if(typeof e==="string"){this._data=JSON.parse(e)}else{this._data=e}this._dataDropdown=this._data.map((function(e){return{text:"".concat(e.label," (").concat(e.counter,")"),value:e.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.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:this.inputId="stzh-chip-select-".concat(chipSelectCounter++);this.dataWatcher(this.data);this.errorWatcher(this.error);if(!!this.localization)return[3,2];e=this;return[4,fetchTranslations(this.element,"chip-select")];case 1:e.localization=t.sent();t.label=2;case 2:return[2]}}))}))};e.prototype.render=function(){var e=this;var t=!!this.description;var s=!!this.descriptionLong;var i=!!this.error;var r={"stzh-chip-select":true,"stzh-chip-select--has-description":t,"stzh-chip-select--has-description-long":s,"stzh-chip-select--has-error":i,"stzh-chip-select--is-invalid":this.invalid,"stzh-chip-select--is-disabled":this.disabled,"stzh-chip-select--is-required":this.required};return h(Host,null,h("div",{class:r},h("input",{type:"hidden",name:this.name,value:this.value}),h("div",{class:"stzh-chip-select__chips",role:"listbox"},this._data.map((function(t){return h("stzh-chip",{role:"option",class:"stzh-chip-select__chip",label:t.label,counter:t.counter,icon:t.icon,type:t.type,variant:t.variant,size:t.size,disabled:e.disabled||t.disabled,active:e.value===t.value,"aria-selected":e.value===t.value?"true":null,a11yDescribedby:"".concat(e.inputId,"-description ").concat(e.a11yDescribedby),onClick:function(){return e.chipClick(t)}})}))),h(StzhInputDescription,{classPrefix:"stzh-chip-select",id:"".concat(this.inputId,"-description"),error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:s,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel}),h("stzh-dropdown",{class:"stzh-chip-select__dropdown",disabled:this.disabled,error:this._error,description:this.description,descriptionLong:this.descriptionLong,required:this.required,invalid:this.invalid,items:[this.value],label:this.label,options:this._dataDropdown,onStzhChange:this.onDropdownChange})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{data:["dataWatcher"],error:["errorWatcher"]}},enumerable:false,configurable:true});return e}();StzhChipSelect.style=stzhChipSelectCss;export{StzhChipSelect as stzh_chip_select};
|