@oiz/stzh-components 2.1.0-alpha → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{_commonjsHelpers-bcc1208a.js → _commonjsHelpers-dcc4cf71.js} +16 -0
- package/dist/cjs/{app-globals-e1f4f1d9.js → app-globals-dc82b9ca.js} +1 -1
- package/dist/cjs/{js.cookie-9c263d23.js → js.cookie-226c94ed.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/stzh-actions.cjs.entry.js +2 -2
- package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
- package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js +2 -1
- package/dist/cjs/stzh-chart.cjs.entry.js +26127 -0
- package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/stzh-chip.cjs.entry.js +13 -6
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contactaddress.cjs.entry.js +65 -0
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +2 -2
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
- package/dist/cjs/stzh-footer.cjs.entry.js +12 -6
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +3 -3
- package/dist/cjs/stzh-header.cjs.entry.js +1 -1
- package/dist/cjs/stzh-heading.cjs.entry.js +2 -2
- package/dist/cjs/stzh-icon-sprite.cjs.entry.js +2 -2
- package/dist/cjs/stzh-link.cjs.entry.js +2 -1
- package/dist/cjs/stzh-list-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-message.cjs.entry.js +2 -2
- package/dist/cjs/stzh-olmap.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +32 -0
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +99 -0
- package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-share.cjs.entry.js +113 -0
- package/dist/cjs/stzh-upload.cjs.entry.js +52 -36
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +12 -4
- package/dist/collection/assets/i18n/de.json +10 -0
- package/dist/collection/assets/i18n/en.json +10 -0
- package/dist/collection/assets/icons/mono/facebook-filled.svg +3 -0
- package/dist/collection/assets/icons/mono/linkedin-filled.svg +12 -0
- package/dist/collection/assets/icons/mono/mail-filled.svg +6 -0
- package/dist/collection/assets/icons/mono/star-filled.svg +1 -1
- package/dist/collection/assets/icons/mono/twitter-filled.svg +3 -0
- package/dist/collection/assets/icons/mono/xing-filled.svg +4 -0
- package/dist/collection/assets/media/olmap/marker-active.png +0 -0
- package/dist/collection/assets/media/olmap/marker.png +0 -0
- package/dist/collection/collection-manifest.json +5 -0
- package/dist/collection/components/stzh-accordion/stzh-accordion.css +3 -0
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +51 -3
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
- package/dist/collection/components/stzh-actions/stzh-actions.css +7 -1
- package/dist/collection/components/stzh-actions/stzh-actions.js +3 -3
- package/dist/collection/components/stzh-actionset/stzh-actionset.css +3 -0
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +5 -0
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
- package/dist/collection/components/stzh-appnav/stzh-appnav.css +3 -0
- package/dist/collection/components/stzh-appointments/stzh-appointments.css +3 -0
- package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
- package/dist/collection/components/stzh-audio/stzh-audio.css +3 -0
- package/dist/collection/components/stzh-badge/stzh-badge.css +3 -0
- package/dist/collection/components/stzh-button/stzh-button.css +3 -0
- package/dist/collection/components/stzh-button/stzh-button.js +19 -1
- package/dist/collection/components/stzh-calendar/stzh-calendar.css +3 -0
- package/dist/collection/components/stzh-card/stzh-card.css +3 -0
- package/dist/collection/components/stzh-card-list/stzh-card-list.css +3 -0
- package/dist/collection/components/stzh-cell/stzh-cell.css +3 -0
- package/dist/collection/components/stzh-chart/stzh-chart.css +799 -0
- package/dist/collection/components/stzh-chart/stzh-chart.js +110 -0
- package/dist/collection/components/stzh-chart/stzh-chart.stories.js +287 -0
- package/dist/collection/components/stzh-checkbox/assets/check.svg +1 -1
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +3 -3
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +3 -0
- package/dist/collection/components/stzh-chip/stzh-chip.css +4 -21
- package/dist/collection/components/stzh-chip/stzh-chip.js +49 -24
- package/dist/collection/components/stzh-chip/stzh-chip.stories.js +0 -9
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +3 -0
- package/dist/collection/components/stzh-clamp/stzh-clamp.css +3 -0
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.css +153 -0
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.js +321 -0
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.stories.js +100 -0
- package/dist/collection/components/stzh-container/stzh-container.css +3 -0
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +3 -0
- package/dist/collection/components/stzh-datalist/stzh-datalist.css +3 -0
- package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.css +13 -2
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +3 -11
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
- package/dist/collection/components/stzh-datatable/stzh-datatable.css +3 -0
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +3 -0
- package/dist/collection/components/stzh-dialog/stzh-dialog.css +3 -0
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +3 -0
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +3 -0
- package/dist/collection/components/stzh-figure/stzh-figure.css +3 -1
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.css +3 -0
- package/dist/collection/components/stzh-footer/stzh-footer.css +53 -0
- package/dist/collection/components/stzh-footer/stzh-footer.js +46 -18
- package/dist/collection/components/stzh-footer/stzh-footer.stories.js +21 -1
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +10 -10
- package/dist/collection/components/stzh-header/stzh-header.css +3 -0
- package/dist/collection/components/stzh-header/stzh-header.js +2 -2
- package/dist/collection/components/stzh-heading/stzh-heading.css +9 -6
- package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
- package/dist/collection/components/stzh-hr/stzh-hr.css +3 -0
- package/dist/collection/components/stzh-hspace/stzh-hspace.css +3 -0
- package/dist/collection/components/stzh-icon/stzh-icon.css +3 -0
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +95 -30
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.css +8 -1
- package/dist/collection/components/stzh-input/stzh-input.css +3 -0
- package/dist/collection/components/stzh-link/stzh-link.css +3 -0
- package/dist/collection/components/stzh-link/stzh-link.js +19 -1
- package/dist/collection/components/stzh-list/stzh-list.css +3 -0
- package/dist/collection/components/stzh-list-item/assets/checkmark.svg +1 -1
- package/dist/collection/components/stzh-list-item/stzh-list-item.css +3 -0
- package/dist/collection/components/stzh-loader/stzh-loader.css +3 -0
- package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.css +3 -0
- package/dist/collection/components/stzh-menu/stzh-menu.css +3 -0
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +3 -0
- package/dist/collection/components/stzh-message/stzh-message.css +3 -0
- package/dist/collection/components/stzh-metanav/stzh-metanav.css +3 -0
- package/dist/collection/components/stzh-olmap/stzh-olmap.css +3 -0
- package/dist/collection/components/stzh-olmap/stzh-olmap.js +2 -2
- package/dist/collection/components/stzh-overlay/stzh-overlay.css +3 -0
- package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.css +3 -0
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.css +153 -0
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.js +151 -0
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +44 -0
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +3 -0
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +5 -1
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +3 -3
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +396 -0
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.js +157 -0
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.stories.js +94 -0
- package/dist/collection/components/stzh-popover/stzh-popover.css +3 -0
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +8 -4
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.css +3 -0
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +3 -0
- package/dist/collection/components/stzh-radio/stzh-radio.css +3 -0
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +3 -0
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +1 -1
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.css +3 -0
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +3 -0
- package/dist/collection/components/stzh-row/stzh-row.css +3 -0
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +3 -0
- package/dist/collection/components/stzh-section/stzh-section.css +3 -0
- package/dist/collection/components/stzh-share/stzh-share.css +149 -0
- package/dist/collection/components/stzh-share/stzh-share.js +184 -0
- package/dist/collection/components/stzh-share/stzh-share.localization.js +1 -0
- package/dist/collection/components/stzh-share/stzh-share.stories.js +33 -0
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.css +3 -0
- package/dist/collection/components/stzh-sortable/stzh-sortable.css +3 -0
- package/dist/collection/components/stzh-status/stzh-status.css +3 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.css +3 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +1 -1
- package/dist/collection/components/stzh-table/stzh-table.css +3 -0
- package/dist/collection/components/stzh-text/stzh-text.css +3 -0
- package/dist/collection/components/stzh-toggle/stzh-toggle.css +3 -0
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +3 -0
- package/dist/collection/components/stzh-upload/stzh-upload.css +44 -19
- package/dist/collection/components/stzh-upload/stzh-upload.js +69 -35
- package/dist/collection/components/stzh-upload/stzh-upload.stories.js +3 -3
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.css +3 -0
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +1 -1
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +3 -0
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +3 -0
- package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.css +3 -0
- package/dist/collection/components/stzh-vspace/stzh-vspace.css +3 -0
- package/dist/components/_commonjsHelpers.js +16 -1
- package/dist/components/index.d.ts +5 -0
- package/dist/components/index.js +6 -1
- package/dist/components/stzh-accordion-item.js +2 -2
- package/dist/components/stzh-actions.js +2 -2
- package/dist/components/stzh-anchornav.js +2 -2
- package/dist/components/stzh-appointments.js +1 -1
- package/dist/components/stzh-button2.js +3 -1
- package/dist/components/stzh-chart.d.ts +11 -0
- package/dist/components/stzh-chart.js +26144 -0
- package/dist/components/stzh-checkbox.js +2 -2
- package/dist/components/stzh-chip2.js +16 -8
- package/dist/components/stzh-contactaddress.d.ts +11 -0
- package/dist/components/stzh-contactaddress.js +93 -0
- package/dist/components/stzh-datamessagelist-item.js +14 -8
- package/dist/components/stzh-datamessagelist.js +1 -1
- package/dist/components/stzh-figure.js +1 -1
- package/dist/components/stzh-footer.js +14 -7
- package/dist/components/stzh-ghettobox2.js +1 -1
- package/dist/components/stzh-header.js +1 -1
- package/dist/components/stzh-heading2.js +2 -2
- package/dist/components/stzh-icon-sprite.js +2 -2
- package/dist/components/stzh-link2.js +3 -1
- package/dist/components/stzh-list-item.js +1 -1
- package/dist/components/stzh-olmap.js +1 -1
- package/dist/components/stzh-pagebottom.d.ts +11 -0
- package/dist/components/stzh-pagebottom.js +70 -0
- package/dist/components/stzh-pagetitle-hero.d.ts +11 -0
- package/dist/components/stzh-pagetitle-hero.js +116 -0
- package/dist/components/stzh-portal-mitwirken.js +1 -1
- package/dist/components/stzh-share.d.ts +11 -0
- package/dist/components/stzh-share.js +6 -0
- package/dist/components/stzh-share2.js +139 -0
- package/dist/components/stzh-upload.js +53 -36
- package/dist/components/stzh-vbz-linechip2.js +11 -3
- package/dist/esm/{_commonjsHelpers-ba3f0406.js → _commonjsHelpers-f9dc4873.js} +16 -1
- package/dist/esm/{app-globals-453acbdb.js → app-globals-246b5e49.js} +1 -1
- package/dist/esm/{js.cookie-28a40640.js → js.cookie-53735b72.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-accordion-item.entry.js +2 -2
- package/dist/esm/stzh-actions.entry.js +2 -2
- package/dist/esm/stzh-anchornav.entry.js +2 -2
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-badge_3.entry.js +2 -1
- package/dist/esm/stzh-chart.entry.js +26123 -0
- package/dist/esm/stzh-checkbox.entry.js +2 -2
- package/dist/esm/stzh-chip.entry.js +14 -7
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-contactaddress.entry.js +61 -0
- package/dist/esm/stzh-datamessagelist-item.entry.js +2 -2
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +1 -1
- package/dist/esm/stzh-dropdown.entry.js +1 -1
- package/dist/esm/stzh-figure.entry.js +1 -1
- package/dist/esm/stzh-footer.entry.js +12 -6
- package/dist/esm/stzh-ghettobox_2.entry.js +3 -3
- package/dist/esm/stzh-header.entry.js +1 -1
- package/dist/esm/stzh-heading.entry.js +2 -2
- package/dist/esm/stzh-icon-sprite.entry.js +2 -2
- package/dist/esm/stzh-link.entry.js +2 -1
- package/dist/esm/stzh-list-item.entry.js +1 -1
- package/dist/esm/stzh-message.entry.js +2 -2
- package/dist/esm/stzh-olmap.entry.js +2 -2
- package/dist/esm/stzh-pagebottom.entry.js +28 -0
- package/dist/esm/stzh-pagetitle-hero.entry.js +95 -0
- package/dist/esm/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm/stzh-share.entry.js +109 -0
- package/dist/esm/stzh-upload.entry.js +52 -36
- package/dist/esm/stzh-vbz-linechip.entry.js +12 -4
- package/dist/esm-es5/_commonjsHelpers-f9dc4873.js +1 -0
- package/dist/esm-es5/app-globals-246b5e49.js +1 -0
- package/dist/esm-es5/{js.cookie-28a40640.js → js.cookie-53735b72.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
- package/dist/esm-es5/stzh-actions.entry.js +1 -1
- package/dist/esm-es5/stzh-anchornav.entry.js +1 -1
- package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-chart.entry.js +3 -0
- package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
- package/dist/esm-es5/stzh-chip.entry.js +1 -1
- package/dist/esm-es5/stzh-components.js +1 -1
- package/dist/esm-es5/stzh-contactaddress.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-dropdown.entry.js +1 -1
- package/dist/esm-es5/stzh-figure.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-icon-sprite.entry.js +1 -1
- 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-message.entry.js +1 -1
- package/dist/esm-es5/stzh-olmap.entry.js +2 -2
- package/dist/esm-es5/stzh-pagebottom.entry.js +1 -0
- package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -0
- package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm-es5/stzh-share.entry.js +1 -0
- package/dist/esm-es5/stzh-upload.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
- package/dist/stzh-components/assets/i18n/de.json +10 -0
- package/dist/stzh-components/assets/i18n/en.json +10 -0
- package/dist/stzh-components/assets/icons/mono/facebook-filled.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/linkedin-filled.svg +12 -0
- package/dist/stzh-components/assets/icons/mono/mail-filled.svg +6 -0
- package/dist/stzh-components/assets/icons/mono/star-filled.svg +1 -1
- package/dist/stzh-components/assets/icons/mono/twitter-filled.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/xing-filled.svg +4 -0
- package/dist/stzh-components/assets/media/olmap/marker-active.png +0 -0
- package/dist/stzh-components/assets/media/olmap/marker.png +0 -0
- package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +95 -30
- package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/stzh-components/{p-29d9a568.entry.js → p-105a11cb.entry.js} +1 -1
- package/dist/stzh-components/{p-b491bcd7.system.entry.js → p-14e457c6.system.entry.js} +1 -1
- package/dist/stzh-components/p-17ae6581.entry.js +1 -0
- package/dist/stzh-components/{p-3e24b964.entry.js → p-229d4ad2.entry.js} +1 -1
- package/dist/stzh-components/{p-3f8976bc.system.entry.js → p-22c9a00d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-8e363084.system.entry.js → p-238a8c83.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b10682ee.js → p-24b8df26.js} +1 -1
- package/dist/stzh-components/p-25ef050a.entry.js +1 -0
- package/dist/stzh-components/p-293ceb5e.entry.js +1 -0
- package/dist/stzh-components/p-2ba8b5c9.system.entry.js +1 -0
- package/dist/stzh-components/{p-e7afcd6f.entry.js → p-38b9e5e9.entry.js} +1 -1
- package/dist/stzh-components/p-3a0f37bd.entry.js +1 -0
- package/dist/stzh-components/p-44dd74d1.system.entry.js +1 -0
- package/dist/stzh-components/p-470ccde5.system.entry.js +1 -0
- package/dist/stzh-components/{p-5db542ae.system.js → p-484a366f.system.js} +1 -1
- package/dist/stzh-components/{p-a61bf274.entry.js → p-4a3f9353.entry.js} +1 -1
- package/dist/stzh-components/{p-d69b12f8.entry.js → p-4e6ddb5f.entry.js} +1 -1
- package/dist/stzh-components/p-4fd4a703.entry.js +3 -0
- package/dist/stzh-components/p-51c75fba.system.entry.js +1 -0
- package/dist/stzh-components/p-5caa837c.system.entry.js +3 -0
- package/dist/stzh-components/{p-3b33fa76.system.entry.js → p-5ed4d1d5.system.entry.js} +1 -1
- package/dist/stzh-components/p-60d8e2da.entry.js +1 -0
- package/dist/stzh-components/p-61c9ca5d.entry.js +1 -0
- package/dist/stzh-components/p-61d4852f.system.entry.js +1 -0
- package/dist/stzh-components/p-6830f839.entry.js +1 -0
- package/dist/stzh-components/p-6d22bd0d.entry.js +1 -0
- package/dist/stzh-components/{p-6f7a7f7a.entry.js → p-71220066.entry.js} +1 -1
- package/dist/stzh-components/p-71d757d3.js +1 -0
- package/dist/stzh-components/p-7909f56b.entry.js +1 -0
- package/dist/stzh-components/p-7a584d3f.system.entry.js +1 -0
- package/dist/stzh-components/p-7aef399f.entry.js +1 -0
- package/dist/stzh-components/{p-c5749124.system.entry.js → p-7c172e64.system.entry.js} +1 -1
- package/dist/stzh-components/p-7dec02ca.entry.js +1 -0
- package/dist/stzh-components/p-84aace40.system.entry.js +1 -0
- package/dist/stzh-components/{p-6b5f447c.system.entry.js → p-8ab86ca3.system.entry.js} +1 -1
- package/dist/stzh-components/p-8f9de52f.system.entry.js +1 -0
- package/dist/stzh-components/p-909d7a3c.system.js +1 -0
- package/dist/stzh-components/p-95defe16.system.entry.js +1 -0
- package/dist/stzh-components/p-98a972b7.system.entry.js +1 -0
- package/dist/stzh-components/p-9c90535a.system.js +1 -0
- package/dist/stzh-components/p-a6d4a8b1.js +1 -0
- package/dist/stzh-components/p-a866b3a3.entry.js +1 -0
- package/dist/stzh-components/p-ac409e7b.system.entry.js +1 -0
- package/dist/stzh-components/p-ad119aca.entry.js +1 -0
- package/dist/stzh-components/p-b0e514c7.entry.js +1 -0
- package/dist/stzh-components/{p-020379d7.system.entry.js → p-b1ff3a21.system.entry.js} +2 -2
- package/dist/stzh-components/p-b54ed1f9.entry.js +1 -0
- package/dist/stzh-components/p-bc34bf07.system.entry.js +1 -0
- package/dist/stzh-components/p-bd5b8114.system.entry.js +1 -0
- package/dist/stzh-components/p-c2238fbf.entry.js +1 -0
- package/dist/stzh-components/p-c3846ccf.system.entry.js +1 -0
- package/dist/stzh-components/p-c777032f.system.entry.js +1 -0
- package/dist/stzh-components/p-ce06b4f2.system.js +1 -0
- package/dist/stzh-components/p-cf781b59.entry.js +1 -0
- package/dist/stzh-components/{p-bb8f71a4.entry.js → p-d4b93488.entry.js} +2 -2
- package/dist/stzh-components/p-d5ee4ac0.entry.js +1 -0
- package/dist/stzh-components/{p-fd811f6b.system.entry.js → p-daa34275.system.entry.js} +2 -2
- package/dist/stzh-components/p-e161760f.system.entry.js +1 -0
- package/dist/stzh-components/p-e785d9cc.entry.js +1 -0
- package/dist/stzh-components/{p-641126a8.system.entry.js → p-f5f3475c.system.entry.js} +1 -1
- package/dist/stzh-components/p-f6ab391e.system.entry.js +1 -0
- package/dist/stzh-components/{p-74786856.system.entry.js → p-ff2a6bdf.system.entry.js} +1 -1
- package/dist/stzh-components/p-ff534e27.entry.js +1 -0
- package/dist/stzh-components/stzh-components.css +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-share/stzh-share.localization.d.ts +10 -0
- package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +1 -0
- package/dist/types/components.d.ts +351 -13
- package/dist/types/index.d.ts +7 -1
- package/dist/vscode-data.json +201 -11
- package/package.json +6 -2
- package/dist/esm-es5/_commonjsHelpers-ba3f0406.js +0 -1
- package/dist/esm-es5/app-globals-453acbdb.js +0 -1
- package/dist/stzh-components/p-011dcf30.system.entry.js +0 -1
- package/dist/stzh-components/p-08714718.system.entry.js +0 -1
- package/dist/stzh-components/p-0977d9b6.entry.js +0 -1
- package/dist/stzh-components/p-0e474d1a.system.entry.js +0 -1
- package/dist/stzh-components/p-1399b2d7.entry.js +0 -1
- package/dist/stzh-components/p-2bf021f2.js +0 -1
- package/dist/stzh-components/p-2c891eee.entry.js +0 -1
- package/dist/stzh-components/p-3623b3a5.system.js +0 -1
- package/dist/stzh-components/p-3a73b8b5.system.js +0 -1
- package/dist/stzh-components/p-3e8ff66b.js +0 -1
- package/dist/stzh-components/p-4b93fb24.entry.js +0 -1
- package/dist/stzh-components/p-554fb3ac.system.js +0 -1
- package/dist/stzh-components/p-58714045.entry.js +0 -1
- package/dist/stzh-components/p-59970f71.entry.js +0 -1
- package/dist/stzh-components/p-62c7caed.entry.js +0 -1
- package/dist/stzh-components/p-648e03bc.entry.js +0 -1
- package/dist/stzh-components/p-6b2282cd.system.entry.js +0 -1
- package/dist/stzh-components/p-6c76e51d.entry.js +0 -1
- package/dist/stzh-components/p-6cbdbd06.entry.js +0 -1
- package/dist/stzh-components/p-90941379.system.entry.js +0 -1
- package/dist/stzh-components/p-9ca1efe4.system.entry.js +0 -1
- package/dist/stzh-components/p-9d58c713.entry.js +0 -1
- package/dist/stzh-components/p-a4a4370d.entry.js +0 -1
- package/dist/stzh-components/p-a6da8c06.system.entry.js +0 -1
- package/dist/stzh-components/p-afaa9c37.system.entry.js +0 -1
- package/dist/stzh-components/p-bb9e8364.entry.js +0 -1
- package/dist/stzh-components/p-bd7dd853.system.entry.js +0 -1
- package/dist/stzh-components/p-be534671.entry.js +0 -1
- package/dist/stzh-components/p-c7c3735a.entry.js +0 -1
- package/dist/stzh-components/p-da857e0d.entry.js +0 -1
- package/dist/stzh-components/p-de8f9508.system.entry.js +0 -1
- package/dist/stzh-components/p-e56d7b16.system.entry.js +0 -1
- package/dist/stzh-components/p-eb3425a1.system.entry.js +0 -1
- package/dist/stzh-components/p-fa9a4cd5.system.entry.js +0 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -109,6 +109,7 @@ export declare type StzhAudioErrorEvent = {
|
|
|
109
109
|
component: "stzh-audio";
|
|
110
110
|
originalEvent: ErrorEvent;
|
|
111
111
|
};
|
|
112
|
+
export declare type ShareService = "facebook" | "twitter" | "linkedin" | "xing" | "mail";
|
|
112
113
|
export declare type StzhCardHeaderAction = {
|
|
113
114
|
id: string;
|
|
114
115
|
label?: string;
|
|
@@ -294,6 +295,11 @@ export declare type StzhDialogOpenEvent = {
|
|
|
294
295
|
export declare type StzhDialogCloseEvent = {
|
|
295
296
|
component: "stzh-dialog";
|
|
296
297
|
};
|
|
298
|
+
export declare type ContactaddressNumber = {
|
|
299
|
+
type: "tel" | "fax";
|
|
300
|
+
label: string;
|
|
301
|
+
number: string;
|
|
302
|
+
};
|
|
297
303
|
export declare type StzhOverlayOpenEvent = {
|
|
298
304
|
component: "stzh-overlay";
|
|
299
305
|
};
|
|
@@ -536,6 +542,6 @@ export declare namespace Font {
|
|
|
536
542
|
type Curves = "p1" | "p2" | "caption" | "h4" | "h3" | "h2" | "h1" | "hero" | "default";
|
|
537
543
|
}
|
|
538
544
|
export declare namespace VBZ {
|
|
539
|
-
type Lines = "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "19" | "21" | "23" | "24" | "25" | "29" | "31" | "32" | "33" | "34" | "35" | "36" | "37" | "38" | "39" | "40" | "45" | "46" | "54" | "61" | "62" | "63" | "64" | "66" | "67" | "69" | "70" | "72" | "73" | "75" | "76" | "77" | "78" | "79" | "80" | "83" | "89" | "91" | "94" | "95" | "99" | "151" | "152" | "153" | "156" | "161" | "162" | "163" | "165" | "184" | "185" | "200" | "201" | "215" | "220" | "235" | "236" | "245" | "301" | "302" | "303" | "304" | "305" | "306" | "307" | "308" | "309" | "311" | "314" | "315" | "321" | "323" | "325" | "350" | "444" | "445" | "701" | "702" | "703" | "704" | "705" | "720" | "721" | "725" | "726" | "727" | "742" | "743" | "744" | "745" | "747" | "748" | "751" | "752" | "753" | "754" | "759" | "760" | "765" | "768" | "781" | "786" | "787" | "910" | "912" | "916" | "917" | "918" | "919" | "E" | "N" | "N1" | "N2" | "N4" | "N5" | "N6" | "N7" | "N8" | "N9" | "N10" | "N11" | "N12" | "N13" | "N14" | "N15" | "N16" | "N17" | "N18" | "N19" | "N30" | "N31" | "N32" | "N33" | "N34" | "N45" | "N72" | "N78" | "SN1" | "SN4" | "SN5" | "SN6" | "SN7" | "SN8" | "SN9" | "S2" | "S3" | "S4" | "S5" | "S6" | "S7" | "S8" | "S9" | "S10" | "S11" | "S14" | "S15" | "S16" | "S18" | "S19" | "S20" | "S21" | "S23" | "S24" | "S25";
|
|
545
|
+
type Lines = "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "19" | "20" | "21" | "23" | "24" | "25" | "29" | "31" | "32" | "33" | "34" | "35" | "36" | "37" | "38" | "39" | "40" | "45" | "46" | "54" | "61" | "62" | "63" | "64" | "66" | "67" | "69" | "70" | "72" | "73" | "75" | "76" | "77" | "78" | "79" | "80" | "83" | "89" | "91" | "94" | "95" | "99" | "151" | "152" | "153" | "156" | "161" | "162" | "163" | "165" | "184" | "185" | "200" | "201" | "215" | "220" | "235" | "236" | "245" | "301" | "302" | "303" | "304" | "305" | "306" | "307" | "308" | "309" | "311" | "314" | "315" | "317" | "321" | "323" | "325" | "350" | "444" | "445" | "701" | "702" | "703" | "704" | "705" | "720" | "721" | "725" | "726" | "727" | "742" | "743" | "744" | "745" | "747" | "748" | "751" | "752" | "753" | "754" | "759" | "760" | "765" | "768" | "781" | "786" | "787" | "910" | "912" | "916" | "917" | "918" | "919" | "E" | "N" | "N1" | "N2" | "N4" | "N5" | "N6" | "N7" | "N8" | "N9" | "N10" | "N11" | "N12" | "N13" | "N14" | "N15" | "N16" | "N17" | "N18" | "N19" | "N30" | "N31" | "N32" | "N33" | "N34" | "N45" | "N72" | "N78" | "SN1" | "SN4" | "SN5" | "SN6" | "SN7" | "SN8" | "SN9" | "S2" | "S3" | "S4" | "S5" | "S6" | "S7" | "S8" | "S9" | "S10" | "S11" | "S14" | "S15" | "S16" | "S18" | "S19" | "S20" | "S21" | "S23" | "S24" | "S25";
|
|
540
546
|
}
|
|
541
547
|
export * from './components';
|
package/dist/vscode-data.json
CHANGED
|
@@ -109,6 +109,9 @@
|
|
|
109
109
|
"name": "variant",
|
|
110
110
|
"description": "Variant determining what position the action buttons are",
|
|
111
111
|
"values": [
|
|
112
|
+
{
|
|
113
|
+
"name": "cta"
|
|
114
|
+
},
|
|
112
115
|
{
|
|
113
116
|
"name": "dialog"
|
|
114
117
|
},
|
|
@@ -230,7 +233,7 @@
|
|
|
230
233
|
"name": "stzh-anchornav",
|
|
231
234
|
"description": {
|
|
232
235
|
"kind": "markdown",
|
|
233
|
-
"value": "The STZH anchornav component.\n\n```html\n<stzh-anchornav\n items='[\n {\n \"label\": \"Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.\",\n \"href\": \"#laboris\"\n },\n {\n \"label\": \"Lorem Ipsum\",\n \"href\": \"#lorem\"\n },\n {\n \"label\": \"Lorem Ipsum\",\n \"href\": \"#lorem\"\n },\n {\n \"label\": \"Lorem Ipsum\",\n \"href\": \"#lorem\"\n },\n {\n \"label\": \"Lorem Ipsum\",\n \"href\": \"#lorem\"\n },\n {\n \"label\": \"Lorem Ipsum\",\n \"href\": \"#lorem\"\n },\n {\n \"label\": \"Lorem Ipsum\",\n \"href\": \"#lorem\"\n }\n ]'\n></stzh-anchornav>\n```"
|
|
236
|
+
"value": "The STZH anchornav component.\n<mark>Beta version, do not use in production yet.</mark>\n\n```html\n<stzh-anchornav\n items='[\n {\n \"label\": \"Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.\",\n \"href\": \"#laboris\"\n },\n {\n \"label\": \"Lorem Ipsum\",\n \"href\": \"#lorem\"\n },\n {\n \"label\": \"Lorem Ipsum\",\n \"href\": \"#lorem\"\n },\n {\n \"label\": \"Lorem Ipsum\",\n \"href\": \"#lorem\"\n },\n {\n \"label\": \"Lorem Ipsum\",\n \"href\": \"#lorem\"\n },\n {\n \"label\": \"Lorem Ipsum\",\n \"href\": \"#lorem\"\n },\n {\n \"label\": \"Lorem Ipsum\",\n \"href\": \"#lorem\"\n }\n ]'\n></stzh-anchornav>\n```"
|
|
234
237
|
},
|
|
235
238
|
"attributes": [
|
|
236
239
|
{
|
|
@@ -341,7 +344,7 @@
|
|
|
341
344
|
"name": "stzh-audio",
|
|
342
345
|
"description": {
|
|
343
346
|
"kind": "markdown",
|
|
344
|
-
"value": "The STZH audio component.\n\nInternally, the [`vidstack` library](https://www.vidstack.io/) is used."
|
|
347
|
+
"value": "The STZH audio component.\n<mark>Beta version, do not use in production yet.</mark>\n\nInternally, the [`vidstack` library](https://www.vidstack.io/) is used."
|
|
345
348
|
},
|
|
346
349
|
"attributes": [
|
|
347
350
|
{
|
|
@@ -475,6 +478,10 @@
|
|
|
475
478
|
"name": "disabled",
|
|
476
479
|
"description": "Whether the button is disabled"
|
|
477
480
|
},
|
|
481
|
+
{
|
|
482
|
+
"name": "download",
|
|
483
|
+
"description": "Download attribute of link (if `href` used)"
|
|
484
|
+
},
|
|
478
485
|
{
|
|
479
486
|
"name": "effect",
|
|
480
487
|
"description": "Effect/Animation used",
|
|
@@ -812,6 +819,23 @@
|
|
|
812
819
|
}
|
|
813
820
|
]
|
|
814
821
|
},
|
|
822
|
+
{
|
|
823
|
+
"name": "stzh-chart",
|
|
824
|
+
"description": {
|
|
825
|
+
"kind": "markdown",
|
|
826
|
+
"value": "The STZH chart component.\n<mark>Beta version, do not use in production yet.</mark>\n\nUses the [`sszvis` chart library](https://statistikstadtzuerich.github.io/sszvis/)."
|
|
827
|
+
},
|
|
828
|
+
"attributes": [
|
|
829
|
+
{
|
|
830
|
+
"name": "caption",
|
|
831
|
+
"description": "Caption"
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
"name": "chart-id",
|
|
835
|
+
"description": "Chart id"
|
|
836
|
+
}
|
|
837
|
+
]
|
|
838
|
+
},
|
|
815
839
|
{
|
|
816
840
|
"name": "stzh-checkbox",
|
|
817
841
|
"description": {
|
|
@@ -962,12 +986,12 @@
|
|
|
962
986
|
"description": "Disabled"
|
|
963
987
|
},
|
|
964
988
|
{
|
|
965
|
-
"name": "
|
|
966
|
-
"description": "
|
|
989
|
+
"name": "href",
|
|
990
|
+
"description": "`href` if the chip should be used as link"
|
|
967
991
|
},
|
|
968
992
|
{
|
|
969
|
-
"name": "
|
|
970
|
-
"description": "
|
|
993
|
+
"name": "icon",
|
|
994
|
+
"description": "Icon (use instead of icon slot)"
|
|
971
995
|
},
|
|
972
996
|
{
|
|
973
997
|
"name": "label",
|
|
@@ -993,6 +1017,10 @@
|
|
|
993
1017
|
}
|
|
994
1018
|
]
|
|
995
1019
|
},
|
|
1020
|
+
{
|
|
1021
|
+
"name": "target",
|
|
1022
|
+
"description": "Target if the button is used as link (if `href` used)"
|
|
1023
|
+
},
|
|
996
1024
|
{
|
|
997
1025
|
"name": "type",
|
|
998
1026
|
"description": "Type",
|
|
@@ -1082,7 +1110,7 @@
|
|
|
1082
1110
|
"name": "stzh-clamp",
|
|
1083
1111
|
"description": {
|
|
1084
1112
|
"kind": "markdown",
|
|
1085
|
-
"value": "The STZH clamp component.\n\n```html\n<stzh-clamp>Long text
|
|
1113
|
+
"value": "The STZH clamp component.\n<mark>Beta version, do not use in production yet.</mark>\n\n```html\n<stzh-clamp>Long text to clamp</stzh-clamp>\n```"
|
|
1086
1114
|
},
|
|
1087
1115
|
"attributes": [
|
|
1088
1116
|
{
|
|
@@ -1107,6 +1135,79 @@
|
|
|
1107
1135
|
}
|
|
1108
1136
|
]
|
|
1109
1137
|
},
|
|
1138
|
+
{
|
|
1139
|
+
"name": "stzh-contactaddress",
|
|
1140
|
+
"description": {
|
|
1141
|
+
"kind": "markdown",
|
|
1142
|
+
"value": "The STZH contactaddress component.\n<mark>Beta version, do not use in production yet.</mark>"
|
|
1143
|
+
},
|
|
1144
|
+
"attributes": [
|
|
1145
|
+
{
|
|
1146
|
+
"name": "company",
|
|
1147
|
+
"description": "Company Title"
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"name": "heading",
|
|
1151
|
+
"description": "Heading"
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
"name": "location",
|
|
1155
|
+
"description": "Location / city"
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"name": "name",
|
|
1159
|
+
"description": "Name"
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
"name": "numbers",
|
|
1163
|
+
"description": "Numbers\nArray of objects that can include the attributes `type` = `tel`|`fax`, `label` and `number`."
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
"name": "po-box-heading",
|
|
1167
|
+
"description": "Post office box heading"
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
"name": "pobox-location",
|
|
1171
|
+
"description": "Post office box location / city"
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"name": "pobox-postal-code",
|
|
1175
|
+
"description": "Post office box postal code"
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
"name": "pobox-title",
|
|
1179
|
+
"description": "Post office box title"
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
"name": "postal-code",
|
|
1183
|
+
"description": "Postal code"
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"name": "street",
|
|
1187
|
+
"description": "Street"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"name": "street-info",
|
|
1191
|
+
"description": "Additional street info"
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"name": "type",
|
|
1195
|
+
"description": "Type",
|
|
1196
|
+
"values": [
|
|
1197
|
+
{
|
|
1198
|
+
"name": "Organization"
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"name": "Person"
|
|
1202
|
+
}
|
|
1203
|
+
]
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
"name": "with-border",
|
|
1207
|
+
"description": "Whether to display border or not"
|
|
1208
|
+
}
|
|
1209
|
+
]
|
|
1210
|
+
},
|
|
1110
1211
|
{
|
|
1111
1212
|
"name": "stzh-container",
|
|
1112
1213
|
"description": {
|
|
@@ -1782,6 +1883,10 @@
|
|
|
1782
1883
|
"name": "egov"
|
|
1783
1884
|
}
|
|
1784
1885
|
]
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
"name": "with-border",
|
|
1889
|
+
"description": "Whether to display separation border"
|
|
1785
1890
|
}
|
|
1786
1891
|
]
|
|
1787
1892
|
},
|
|
@@ -2483,6 +2588,10 @@
|
|
|
2483
2588
|
"name": "disabled",
|
|
2484
2589
|
"description": "Disabled status"
|
|
2485
2590
|
},
|
|
2591
|
+
{
|
|
2592
|
+
"name": "download",
|
|
2593
|
+
"description": "Download attribute of link (if `href` used)"
|
|
2594
|
+
},
|
|
2486
2595
|
{
|
|
2487
2596
|
"name": "fullwidth",
|
|
2488
2597
|
"description": "Whether the link is full width"
|
|
@@ -2799,7 +2908,7 @@
|
|
|
2799
2908
|
"name": "stzh-olmap",
|
|
2800
2909
|
"description": {
|
|
2801
2910
|
"kind": "markdown",
|
|
2802
|
-
"value": "The STZH olmap component
|
|
2911
|
+
"value": "The STZH olmap component.\n<mark>Beta version, do not use in production yet.</mark>"
|
|
2803
2912
|
},
|
|
2804
2913
|
"attributes": [
|
|
2805
2914
|
{
|
|
@@ -2869,6 +2978,39 @@
|
|
|
2869
2978
|
},
|
|
2870
2979
|
"attributes": []
|
|
2871
2980
|
},
|
|
2981
|
+
{
|
|
2982
|
+
"name": "stzh-pagebottom",
|
|
2983
|
+
"description": {
|
|
2984
|
+
"kind": "markdown",
|
|
2985
|
+
"value": "The STZH pagebottom component.\n<mark>Beta version, do not use in production yet.</mark>"
|
|
2986
|
+
},
|
|
2987
|
+
"attributes": [
|
|
2988
|
+
{
|
|
2989
|
+
"name": "logo-href",
|
|
2990
|
+
"description": "Logo href"
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"name": "share-disabled",
|
|
2994
|
+
"description": "Whether to show share"
|
|
2995
|
+
},
|
|
2996
|
+
{
|
|
2997
|
+
"name": "share-services",
|
|
2998
|
+
"description": "Array of enabled share buttons.\nPossible services: `facebook` / `twitter` / `linkedin` / `xing` / `mail`"
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
"name": "share-title",
|
|
3002
|
+
"description": "Share Title"
|
|
3003
|
+
},
|
|
3004
|
+
{
|
|
3005
|
+
"name": "share-url",
|
|
3006
|
+
"description": "URL of current site (uses full URL by default)"
|
|
3007
|
+
},
|
|
3008
|
+
{
|
|
3009
|
+
"name": "with-border",
|
|
3010
|
+
"description": "Whether to display border"
|
|
3011
|
+
}
|
|
3012
|
+
]
|
|
3013
|
+
},
|
|
2872
3014
|
{
|
|
2873
3015
|
"name": "stzh-pagetitle",
|
|
2874
3016
|
"description": {
|
|
@@ -2877,6 +3019,27 @@
|
|
|
2877
3019
|
},
|
|
2878
3020
|
"attributes": []
|
|
2879
3021
|
},
|
|
3022
|
+
{
|
|
3023
|
+
"name": "stzh-pagetitle-hero",
|
|
3024
|
+
"description": {
|
|
3025
|
+
"kind": "markdown",
|
|
3026
|
+
"value": "The STZH pagetitle hero component.\n<mark>Beta version, do not use in production yet.</mark>"
|
|
3027
|
+
},
|
|
3028
|
+
"attributes": [
|
|
3029
|
+
{
|
|
3030
|
+
"name": "heading",
|
|
3031
|
+
"description": "Heading"
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
"name": "lead-author",
|
|
3035
|
+
"description": "Lead author"
|
|
3036
|
+
},
|
|
3037
|
+
{
|
|
3038
|
+
"name": "subtitle",
|
|
3039
|
+
"description": "Subtitle"
|
|
3040
|
+
}
|
|
3041
|
+
]
|
|
3042
|
+
},
|
|
2880
3043
|
{
|
|
2881
3044
|
"name": "stzh-popover",
|
|
2882
3045
|
"description": {
|
|
@@ -3058,7 +3221,7 @@
|
|
|
3058
3221
|
"name": "stzh-radio",
|
|
3059
3222
|
"description": {
|
|
3060
3223
|
"kind": "markdown",
|
|
3061
|
-
"value": "The STZH radio component.\n\
|
|
3224
|
+
"value": "The STZH radio component.\n\nOnly use it together with the `stzh-radiogroup` component if you want to use multiple radio elements and connect them easily.\nOtherwise think about using stzh-checkbox."
|
|
3062
3225
|
},
|
|
3063
3226
|
"attributes": [
|
|
3064
3227
|
{
|
|
@@ -3164,7 +3327,7 @@
|
|
|
3164
3327
|
},
|
|
3165
3328
|
{
|
|
3166
3329
|
"name": "name",
|
|
3167
|
-
"description": "The name of the input radio elements"
|
|
3330
|
+
"description": "The name of the input radio elements, will define the radio group. If you have more than one radio group on a page, every group needs to have its own unique name"
|
|
3168
3331
|
},
|
|
3169
3332
|
{
|
|
3170
3333
|
"name": "prevent-update-properties",
|
|
@@ -3370,6 +3533,23 @@
|
|
|
3370
3533
|
}
|
|
3371
3534
|
]
|
|
3372
3535
|
},
|
|
3536
|
+
{
|
|
3537
|
+
"name": "stzh-share",
|
|
3538
|
+
"description": {
|
|
3539
|
+
"kind": "markdown",
|
|
3540
|
+
"value": "The STZH share component.\n<mark>Beta version, do not use in production yet.</mark>\n\nEnables sharing the current page on different social networks or by email."
|
|
3541
|
+
},
|
|
3542
|
+
"attributes": [
|
|
3543
|
+
{
|
|
3544
|
+
"name": "services",
|
|
3545
|
+
"description": "Array of enabled share buttons.\nPossible services: `facebook` / `twitter` / `linkedin` / `xing` / `mail`"
|
|
3546
|
+
},
|
|
3547
|
+
{
|
|
3548
|
+
"name": "url",
|
|
3549
|
+
"description": "URL of current site (uses full URL by default)"
|
|
3550
|
+
}
|
|
3551
|
+
]
|
|
3552
|
+
},
|
|
3373
3553
|
{
|
|
3374
3554
|
"name": "stzh-skiplink",
|
|
3375
3555
|
"description": {
|
|
@@ -3458,7 +3638,7 @@
|
|
|
3458
3638
|
"name": "stzh-sticky",
|
|
3459
3639
|
"description": {
|
|
3460
3640
|
"kind": "markdown",
|
|
3461
|
-
"value": "The STZH sticky component.\n\nMakes slotted content sticky with help of `position: sticky` and adds additional events when element gets stucked. To make it work, parent elements are not allowed to have a overflow set to `auto`, `hidden` or `scroll`.\n\nWhen element is stuck `is-stuck` attribute will be added to the host element. Additionally `is-stuck-top` or `is-stuck-bottom` will be added."
|
|
3641
|
+
"value": "The STZH sticky component.\n<mark>Beta version, do not use in production yet.</mark>\n\nMakes slotted content sticky with help of `position: sticky` and adds additional events when element gets stucked. To make it work, parent elements are not allowed to have a overflow set to `auto`, `hidden` or `scroll`.\n\nWhen element is stuck `is-stuck` attribute will be added to the host element. Additionally `is-stuck-top` or `is-stuck-bottom` will be added."
|
|
3462
3642
|
},
|
|
3463
3643
|
"attributes": [
|
|
3464
3644
|
{
|
|
@@ -3994,6 +4174,10 @@
|
|
|
3994
4174
|
"name": "disabled",
|
|
3995
4175
|
"description": "Whether the upload is disabled or not."
|
|
3996
4176
|
},
|
|
4177
|
+
{
|
|
4178
|
+
"name": "download-disabled",
|
|
4179
|
+
"description": "Whether download functionality should be disabled."
|
|
4180
|
+
},
|
|
3997
4181
|
{
|
|
3998
4182
|
"name": "error",
|
|
3999
4183
|
"description": "One or multiple error message (use error slot as alternative)"
|
|
@@ -4146,6 +4330,9 @@
|
|
|
4146
4330
|
{
|
|
4147
4331
|
"name": "19"
|
|
4148
4332
|
},
|
|
4333
|
+
{
|
|
4334
|
+
"name": "20"
|
|
4335
|
+
},
|
|
4149
4336
|
{
|
|
4150
4337
|
"name": "21"
|
|
4151
4338
|
},
|
|
@@ -4353,6 +4540,9 @@
|
|
|
4353
4540
|
{
|
|
4354
4541
|
"name": "315"
|
|
4355
4542
|
},
|
|
4543
|
+
{
|
|
4544
|
+
"name": "317"
|
|
4545
|
+
},
|
|
4356
4546
|
{
|
|
4357
4547
|
"name": "321"
|
|
4358
4548
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oiz/stzh-components",
|
|
3
|
-
"version": "2.1.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "STZH Web Components Library",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -78,7 +78,9 @@
|
|
|
78
78
|
"@vidstack/player": "^1.6.5",
|
|
79
79
|
"axios": "^0.27.2",
|
|
80
80
|
"body-scroll-lock": "^3.1.3",
|
|
81
|
+
"d3": "^4.13.0",
|
|
81
82
|
"dropzone": "^5.9.3",
|
|
83
|
+
"fitty": "^2.3.6",
|
|
82
84
|
"flexsearch": "^0.7.21",
|
|
83
85
|
"focus-trap": "^7.0.0",
|
|
84
86
|
"hls.js": "^1.2.9",
|
|
@@ -88,10 +90,12 @@
|
|
|
88
90
|
"proj4": "^2.4.4",
|
|
89
91
|
"scroll-into-view-if-needed": "^2.2.29",
|
|
90
92
|
"sortablejs": "^1.15.0",
|
|
93
|
+
"sszvis": "^2.1.1",
|
|
91
94
|
"tabbable": "^6.0.0",
|
|
92
95
|
"tinycolor2": "^1.4.2",
|
|
93
96
|
"tippy.js": "^6.2.6",
|
|
94
|
-
"tom-select": "^2.1.0"
|
|
97
|
+
"tom-select": "^2.1.0",
|
|
98
|
+
"topojson-client": "^3.0.0"
|
|
95
99
|
},
|
|
96
100
|
"engines": {
|
|
97
101
|
"node": ">=16.14.2 <16.15.1"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var commonjsGlobal=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}function createCommonjsModule(e,o,r){return r={path:o,exports:{},require:function(e,o){return commonjsRequire()}},e(r,r.exports),r.exports}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}export{commonjsGlobal as a,createCommonjsModule as c,getDefaultExportFromCjs as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var name="@oiz/stzh-components";var version="2.1.0-alpha";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
|
-
System.register(["./p-609bf766.system.js","./p-0230004d.system.js"],(function(t){"use strict";var s,o,i,e,n;return{setters:[function(t){s=t.r;o=t.h;i=t.a;e=t.g},function(t){n=t.s}],execute:function(){var c=".sc-stzh-actions-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-actions-h{display:none}.sc-stzh-actions-h *.sc-stzh-actions,.sc-stzh-actions-h *.sc-stzh-actions::before,.sc-stzh-actions-h *.sc-stzh-actions::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-actions-h .sc-stzh-actions-s>[slot=primary],.sc-stzh-actions-h .sc-stzh-actions-s>[slot=secondary]{-ms-flex-positive:1;flex-grow:1;margin:var(--stzh-space-xxsmall)}.stzh-actions__actions.sc-stzh-actions{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:calc(var(--stzh-space-xxsmall) * -1)}@media screen and (min-width: 600px){.stzh-actions__actions.sc-stzh-actions{-ms-flex-direction:row;flex-direction:row}}.stzh-actions__primary-actions.sc-stzh-actions,.stzh-actions__secondary-actions.sc-stzh-actions{display:-ms-flexbox;display:flex}.stzh-actions--dialog.sc-stzh-actions .stzh-actions__actions.sc-stzh-actions{-ms-flex-pack:end;justify-content:flex-end}.stzh-actions--process.sc-stzh-actions .stzh-actions__actions.sc-stzh-actions{-ms-flex-pack:justify;justify-content:space-between}.stzh-actions--with-border.sc-stzh-actions{padding-top:var(--stzh-space-medium);border-top:0.0625rem solid var(--stzh-base-border-color)}";var a=t("stzh_actions",function(){function t(t){var o=this;s(this,t);this.init=function(){var t=o.element.querySelectorAll('stzh-button[slot="secondary"], [slot="secondary"] stzh-button');var s=o.element.querySelectorAll("stzh-button");t.forEach((function(t){n(t,{variant:"secondary"})}));s.forEach((function(t){t.setAttribute("role","listitem")}))};this.variant="form";this.withBorder=false}t.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){this.observer.disconnect()};t.prototype.render=function(){var t;var s=(t={"stzh-actions":true,"stzh-actions--with-border":this.withBorder},t["stzh-actions--".concat(this.variant)]=!!this.variant,t);return o(i,null,o("div",{class:s},o("div",{class:"stzh-actions__actions",role:"list"},o("div",{class:"stzh-actions__secondary-actions"},o("slot",{name:"secondary"})),o("div",{class:"stzh-actions__primary-actions"},o("slot",{name:"primary"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});return t}());a.style=c}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,c,t,s){function o(e){return e instanceof t?e:new t((function(c){c(e)}))}return new(t||(t=Promise))((function(t,h){function r(e){try{n(s.next(e))}catch(c){h(c)}}function i(e){try{n(s["throw"](e))}catch(c){h(c)}}function n(e){e.done?t(e.value):o(e.value).then(r,i)}n((s=s.apply(e,c||[])).next())}))};var __generator=this&&this.__generator||function(e,c){var t={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},s,o,h,r;return r={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function i(e){return function(c){return n([e,c])}}function n(r){if(s)throw new TypeError("Generator is already executing.");while(t)try{if(s=1,o&&(h=r[0]&2?o["return"]:r[0]?o["throw"]||((h=o["return"])&&h.call(o),0):o.next)&&!(h=h.call(o,r[1])).done)return h;if(o=0,h)r=[r[0]&2,h.value];switch(r[0]){case 0:case 1:h=r;break;case 4:t.label++;return{value:r[1],done:false};case 5:t.label++;o=r[1];r=[0];continue;case 7:r=t.ops.pop();t.trys.pop();continue;default:if(!(h=t.trys,h=h.length>0&&h[h.length-1])&&(r[0]===6||r[0]===2)){t=0;continue}if(r[0]===3&&(!h||r[1]>h[0]&&r[1]<h[3])){t.label=r[1];break}if(r[0]===6&&t.label<h[1]){t.label=h[1];h=r;break}if(h&&t.label<h[2]){t.label=h[2];t.ops.push(r);break}if(h[2])t.ops.pop();t.trys.pop();continue}r=c.call(e,t)}catch(i){r=[6,i];o=0}finally{s=h=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};System.register(["./p-609bf766.system.js","./p-0230004d.system.js","./p-a408bfba.system.js","./p-52cd1bd1.system.js"],(function(e){"use strict";var c,t,s,o,h,r,i;return{setters:[function(e){c=e.r;t=e.c;s=e.h;o=e.g},function(e){h=e.h},function(e){r=e.f},function(e){i=e.S}],execute:function(){var n='<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M2 11.3333L9 18.6667L22 5.33334" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n';var a=".sc-stzh-checkbox-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-checkbox-h{display:none}.sc-stzh-checkbox-h *.sc-stzh-checkbox,.sc-stzh-checkbox-h *.sc-stzh-checkbox::before,.sc-stzh-checkbox-h *.sc-stzh-checkbox::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-checkbox-h{display:inline-block;border-radius:var(--stzh-form-input-border-radius)}.sc-stzh-checkbox-h .sc-stzh-checkbox-s>stzh-text{--color:inherit}.stzh-checkbox__marker-symbol.sc-stzh-checkbox{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-checkbox__marker-text.sc-stzh-checkbox{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-checkbox__description-wrapper.sc-stzh-checkbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-checkbox__error.sc-stzh-checkbox,.stzh-checkbox__description.sc-stzh-checkbox{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-checkbox__error.sc-stzh-checkbox{color:var(--stzh-color-error)}.stzh-checkbox__error-list.sc-stzh-checkbox{list-style:none;margin:0;padding:0}.stzh-checkbox__description.sc-stzh-checkbox{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-checkbox__description-long.sc-stzh-checkbox{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-checkbox__description-long-popover.sc-stzh-checkbox{--width:auto;--max-width:27.3125rem}.stzh-checkbox__description-long-popover[open].sc-stzh-checkbox:not([open=false]) .stzh-checkbox__description-long-button.sc-stzh-checkbox{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox__description-long-button.sc-stzh-checkbox{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-checkbox__description-long-button.sc-stzh-checkbox:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox.sc-stzh-checkbox stzh-icon.stzh-checkbox__description-long-icon.sc-stzh-checkbox{--size:var(--stzh-icon-size-xsmall)}.stzh-checkbox--has-error.sc-stzh-checkbox .stzh-checkbox__error.sc-stzh-checkbox,.stzh-checkbox--has-description.sc-stzh-checkbox .stzh-checkbox__description.sc-stzh-checkbox{margin-top:var(--stzh-space-xxsmall)}.stzh-checkbox__field-wrapper.sc-stzh-checkbox{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);position:relative;display:-ms-flexbox;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.stzh-checkbox__input.sc-stzh-checkbox{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none}.stzh-checkbox__mark.sc-stzh-checkbox{border:0.0625rem solid var(--stzh-color-grey61);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;-ms-flex-negative:0;flex-shrink:0;border-radius:var(--stzh-form-input-border-radius);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border-color var(--stzh-base-transition-animation-speed);transition:border-color var(--stzh-base-transition-animation-speed)}.stzh-checkbox__check.sc-stzh-checkbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;opacity:0;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox__check.sc-stzh-checkbox path.sc-stzh-checkbox{vector-effect:var(--stzh-base-vector-effect)}.stzh-checkbox__label.sc-stzh-checkbox{display:inline-block;color:var(--stzh-base-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);margin-left:var(--stzh-space-small);line-height:1.5rem}.stzh-checkbox__label.sc-stzh-checkbox:empty{display:none}.stzh-checkbox__marker-symbol.sc-stzh-checkbox{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-checkbox.sc-stzh-checkbox:hover .stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:focus~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-checkbox__input.sc-stzh-checkbox:checked~.stzh-checkbox__label.sc-stzh-checkbox{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox.sc-stzh-checkbox:hover .stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:focus:hover~.stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:focus~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-checkbox__input.sc-stzh-checkbox:focus~.stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox__input.sc-stzh-checkbox:checked~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{opacity:1}.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{color:var(--stzh-color-error)}.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-error)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__field-wrapper.sc-stzh-checkbox{cursor:not-allowed}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{color:var(--stzh-color-grey61)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-grey5)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__mark.sc-stzh-checkbox{background-color:var(--stzh-color-grey5)}";var l=0;var b=e("stzh_checkbox",function(){function e(e){var s=this;c(this,e);this.stzhChange=t(this,"stzhChange",7);this.stzhFocus=t(this,"stzhFocus",7);this.stzhBlur=t(this,"stzhBlur",7);this.onInput=function(e){s.checked=s.input.checked;s.stzhChange.emit({component:"stzh-checkbox",originalEvent:e,value:s.value,checked:s.checked})};this.onFocus=function(e){var c=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});s.element.dispatchEvent(c);s.stzhFocus.emit({component:"stzh-checkbox",originalEvent:e})};this.onBlur=function(e){var c=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});s.element.dispatchEvent(c);s.stzhBlur.emit({component:"stzh-checkbox",originalEvent:e})};this.localization=undefined;this.disabled=false;this.name="";this.value="";this.invalid=false;this.required=false;this.checked=false;this.label="";this.description=undefined;this.descriptionLong=undefined;this.showMarker=false;this.error=undefined;this.a11yDescribedby=""}e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.input.focus();return[2]}))}))};e.prototype.errorWatcher=function(e){if(typeof e==="string"){try{this._error=JSON.parse(e)}catch(c){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(c){switch(c.label){case 0:this.inputId="stzh-checkbox-".concat(l++);this.errorWatcher(this.error);if(!!this.localization)return[3,2];e=this;return[4,r(this.element,"checkbox")];case 1:e.localization=c.sent();c.label=2;case 2:return[2]}}))}))};e.prototype.render=function(){var e=this;var c=h(this.element,"description")||!!this.description;var t=h(this.element,"description-long")||!!this.descriptionLong;var o=h(this.element,"error")||!!this.error;var r={"stzh-checkbox":true,"stzh-checkbox--has-description":c,"stzh-checkbox--has-description-long":t,"stzh-checkbox--has-error":o,"stzh-checkbox--is-required":this.required,"stzh-checkbox--is-invalid":this.invalid,"stzh-checkbox--is-disabled":this.disabled};return s("div",{class:r},s("label",{class:"stzh-checkbox__field-wrapper"},s("input",{class:"stzh-checkbox__input",ref:function(c){return e.input=c},type:"checkbox",id:this.inputId,name:this.name,value:this.value,disabled:this.disabled,"aria-describedby":"".concat(this.inputId,"-description ").concat(this.a11yDescribedby),"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",checked:this.checked,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur}),s("div",{class:"stzh-checkbox__mark"},s("div",{class:"stzh-checkbox__check",innerHTML:n})),s("div",{class:"stzh-checkbox__label"},this.label?this.label:s("slot",null),this.showMarker&&s("span",{class:"stzh-checkbox__marker"},s("span",{class:"stzh-checkbox__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),s("span",{class:"stzh-checkbox__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),s(i,{classPrefix:"stzh-checkbox",id:"".concat(this.inputId,"-description"),error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:t,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel}))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{error:["errorWatcher"]}},enumerable:false,configurable:true});return e}());b.style=a}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,a as h}from"./p-7a4c6adb.js";const i=class{constructor(t){e(this,t),this.level="1",this.curve="auto",this.withBorder=!1}render(){return t(h,null,t(`h${this.level}`,{class:{"stzh-heading":!0,"stzh-heading--with-border":this.withBorder,[`stzh-heading--level-${this.level}`]:!!this.level,[`stzh-heading--curve-${this.curve}`]:!!this.curve}},t("slot",null)))}};i.style=".sc-stzh-heading-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-heading-h{display:none}.sc-stzh-heading-h *.sc-stzh-heading,.sc-stzh-heading-h *.sc-stzh-heading::before,.sc-stzh-heading-h *.sc-stzh-heading::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-heading-h{width:100%;--color:var(--stzh-heading-color);color:var(--color)}.stzh-heading.sc-stzh-heading{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-size:var(--stzh-font-curve-h1-default-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h1-default-heading-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h1-default-heading-letter-spacing, var(--stzh-font-deca-text-letter-spacing));color:var(--color);margin:0}@media screen and (min-width: 600px){.stzh-heading.sc-stzh-heading{font-size:var(--stzh-font-curve-h1-small-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-h1-small-heading-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-h1-small-heading-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}@media screen and (min-width: 1024px){.stzh-heading.sc-stzh-heading{font-size:var(--stzh-font-curve-h1-medium-font-size, var(--stzh-font-mega-font-size));line-height:var(--stzh-font-curve-h1-medium-heading-line-height, var(--stzh-font-mega-text-line-height));letter-spacing:var(--stzh-font-curve-h1-medium-heading-letter-spacing, var(--stzh-font-mega-text-letter-spacing))}}@media screen and (min-width: 1440px){.stzh-heading.sc-stzh-heading{font-size:var(--stzh-font-curve-h1-ultra-font-size, var(--stzh-font-giga-font-size));line-height:var(--stzh-font-curve-h1-ultra-heading-line-height, var(--stzh-font-giga-text-line-height));letter-spacing:var(--stzh-font-curve-h1-ultra-heading-letter-spacing, var(--stzh-font-giga-text-letter-spacing))}}.stzh-heading--with-border.sc-stzh-heading{padding-bottom:var(--stzh-space-xsmall);border-bottom:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-heading--with-border.sc-stzh-heading{padding-bottom:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-heading--with-border.sc-stzh-heading{padding-bottom:var(--stzh-space-medium)}}.stzh-heading--curve-hero.stzh-heading--with-border.sc-stzh-heading{padding-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-heading--curve-hero.stzh-heading--with-border.sc-stzh-heading{padding-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-heading--curve-hero.stzh-heading--with-border.sc-stzh-heading{padding-bottom:var(--stzh-space-xxxlarge)}}.stzh-heading--level-1.sc-stzh-heading{font-size:var(--stzh-font-curve-h1-default-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h1-default-heading-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h1-default-heading-letter-spacing, var(--stzh-font-deca-text-letter-spacing))}@media screen and (min-width: 600px){.stzh-heading--level-1.sc-stzh-heading{font-size:var(--stzh-font-curve-h1-small-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-h1-small-heading-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-h1-small-heading-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}@media screen and (min-width: 1024px){.stzh-heading--level-1.sc-stzh-heading{font-size:var(--stzh-font-curve-h1-medium-font-size, var(--stzh-font-mega-font-size));line-height:var(--stzh-font-curve-h1-medium-heading-line-height, var(--stzh-font-mega-text-line-height));letter-spacing:var(--stzh-font-curve-h1-medium-heading-letter-spacing, var(--stzh-font-mega-text-letter-spacing))}}@media screen and (min-width: 1440px){.stzh-heading--level-1.sc-stzh-heading{font-size:var(--stzh-font-curve-h1-ultra-font-size, var(--stzh-font-giga-font-size));line-height:var(--stzh-font-curve-h1-ultra-heading-line-height, var(--stzh-font-giga-text-line-height));letter-spacing:var(--stzh-font-curve-h1-ultra-heading-letter-spacing, var(--stzh-font-giga-text-letter-spacing))}}.stzh-heading--level-2.sc-stzh-heading{font-size:var(--stzh-font-curve-h2-default-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h2-default-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h2-default-heading-letter-spacing)}@media screen and (min-width: 600px){.stzh-heading--level-2.sc-stzh-heading{font-size:var(--stzh-font-curve-h2-small-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h2-small-heading-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h2-small-heading-letter-spacing, var(--stzh-font-deca-text-letter-spacing))}}@media screen and (min-width: 1024px){.stzh-heading--level-2.sc-stzh-heading{font-size:var(--stzh-font-curve-h2-medium-font-size, var(--stzh-font-hecto-font-size));line-height:var(--stzh-font-curve-h2-medium-heading-line-height, var(--stzh-font-hecto-text-line-height));letter-spacing:var(--stzh-font-curve-h2-medium-heading-letter-spacing, var(--stzh-font-hecto-text-letter-spacing))}}@media screen and (min-width: 1440px){.stzh-heading--level-2.sc-stzh-heading{font-size:var(--stzh-font-curve-h2-ultra-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-h2-ultra-heading-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-h2-ultra-heading-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}.stzh-heading--level-3.sc-stzh-heading{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)}@media screen and (min-width: 600px){.stzh-heading--level-3.sc-stzh-heading{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-heading--level-3.sc-stzh-heading{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-heading--level-4.sc-stzh-heading{font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-heading-line-height, var(--stzh-font-milli-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-default-heading-letter-spacing)}@media screen and (min-width: 1024px){.stzh-heading--level-4.sc-stzh-heading{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-heading-letter-spacing)}}.stzh-heading--curve-caption.sc-stzh-heading{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-heading-line-height, var(--stzh-font-nano-heading-line-height));letter-spacing:var(--stzh-font-curve-caption-default-heading-letter-spacing, var(--stzh-font-nano-heading-letter-spacing))}@media screen and (min-width: 1024px){.stzh-heading--curve-caption.sc-stzh-heading{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-heading-line-height, var(--stzh-font-micro-heading-line-height));letter-spacing:var(--stzh-font-curve-caption-medium-heading-letter-spacing, var(--stzh-font-micro-heading-letter-spacing))}}.stzh-heading--curve-p2.sc-stzh-heading{font-size:var(--stzh-font-curve-p2-default-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-p2-default-heading-line-height, var(--stzh-font-micro-heading-line-height));letter-spacing:var(--stzh-font-curve-p2-default-heading-letter-spacing, var(--stzh-font-micro-heading-letter-spacing))}@media screen and (min-width: 1024px){.stzh-heading--curve-p2.sc-stzh-heading{font-size:var(--stzh-font-curve-p2-medium-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p2-medium-heading-line-height, var(--stzh-font-milli-heading-line-height));letter-spacing:var(--stzh-font-curve-p2-medium-heading-letter-spacing)}}.stzh-heading--curve-p1.sc-stzh-heading{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-heading-line-height, var(--stzh-font-milli-heading-line-height));letter-spacing:var(--stzh-font-curve-p1-default-heading-letter-spacing)}@media screen and (min-width: 1024px){.stzh-heading--curve-p1.sc-stzh-heading{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-heading-letter-spacing)}}.stzh-heading--curve-h4.sc-stzh-heading{font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-heading-line-height, var(--stzh-font-milli-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-default-heading-letter-spacing)}@media screen and (min-width: 1024px){.stzh-heading--curve-h4.sc-stzh-heading{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-heading-letter-spacing)}}.stzh-heading--curve-h3.sc-stzh-heading{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)}@media screen and (min-width: 600px){.stzh-heading--curve-h3.sc-stzh-heading{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-heading--curve-h3.sc-stzh-heading{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-heading--curve-h2.sc-stzh-heading{font-size:var(--stzh-font-curve-h2-default-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h2-default-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h2-default-heading-letter-spacing)}@media screen and (min-width: 600px){.stzh-heading--curve-h2.sc-stzh-heading{font-size:var(--stzh-font-curve-h2-small-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h2-small-heading-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h2-small-heading-letter-spacing, var(--stzh-font-deca-text-letter-spacing))}}@media screen and (min-width: 1024px){.stzh-heading--curve-h2.sc-stzh-heading{font-size:var(--stzh-font-curve-h2-medium-font-size, var(--stzh-font-hecto-font-size));line-height:var(--stzh-font-curve-h2-medium-heading-line-height, var(--stzh-font-hecto-text-line-height));letter-spacing:var(--stzh-font-curve-h2-medium-heading-letter-spacing, var(--stzh-font-hecto-text-letter-spacing))}}@media screen and (min-width: 1440px){.stzh-heading--curve-h2.sc-stzh-heading{font-size:var(--stzh-font-curve-h2-ultra-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-h2-ultra-heading-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-h2-ultra-heading-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}.stzh-heading--curve-h1.sc-stzh-heading{font-size:var(--stzh-font-curve-h1-default-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h1-default-heading-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h1-default-heading-letter-spacing, var(--stzh-font-deca-text-letter-spacing))}@media screen and (min-width: 600px){.stzh-heading--curve-h1.sc-stzh-heading{font-size:var(--stzh-font-curve-h1-small-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-h1-small-heading-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-h1-small-heading-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}@media screen and (min-width: 1024px){.stzh-heading--curve-h1.sc-stzh-heading{font-size:var(--stzh-font-curve-h1-medium-font-size, var(--stzh-font-mega-font-size));line-height:var(--stzh-font-curve-h1-medium-heading-line-height, var(--stzh-font-mega-text-line-height));letter-spacing:var(--stzh-font-curve-h1-medium-heading-letter-spacing, var(--stzh-font-mega-text-letter-spacing))}}@media screen and (min-width: 1440px){.stzh-heading--curve-h1.sc-stzh-heading{font-size:var(--stzh-font-curve-h1-ultra-font-size, var(--stzh-font-giga-font-size));line-height:var(--stzh-font-curve-h1-ultra-heading-line-height, var(--stzh-font-giga-text-line-height));letter-spacing:var(--stzh-font-curve-h1-ultra-heading-letter-spacing, var(--stzh-font-giga-text-letter-spacing))}}.stzh-heading--curve-hero.sc-stzh-heading{font-size:var(--stzh-font-curve-hero-default-font-size, var(--stzh-font-hecto-font-size));line-height:var(--stzh-font-curve-hero-default-heading-line-height, var(--stzh-font-hecto-text-line-height));letter-spacing:var(--stzh-font-curve-hero-default-heading-letter-spacing, var(--stzh-font-hecto-text-letter-spacing))}@media screen and (min-width: 600px){.stzh-heading--curve-hero.sc-stzh-heading{font-size:var(--stzh-font-curve-hero-small-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-hero-small-heading-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-hero-small-heading-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}@media screen and (min-width: 1024px){.stzh-heading--curve-hero.sc-stzh-heading{font-size:var(--stzh-font-curve-hero-medium-font-size, var(--stzh-font-giga-font-size));line-height:var(--stzh-font-curve-hero-medium-heading-line-height, var(--stzh-font-giga-text-line-height));letter-spacing:var(--stzh-font-curve-hero-medium-heading-letter-spacing, var(--stzh-font-giga-text-letter-spacing))}}@media screen and (min-width: 1260px){.stzh-heading--curve-hero.sc-stzh-heading{font-size:var(--stzh-font-curve-hero-large-font-size, var(--stzh-font-hero-font-size));line-height:var(--stzh-font-curve-hero-large-heading-line-height, var(--stzh-font-hero-text-line-height));letter-spacing:var(--stzh-font-curve-hero-large-heading-letter-spacing, var(--stzh-font-hero-text-letter-spacing))}}";export{i as stzh_heading}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,s,a){function i(t){return t instanceof s?t:new s((function(e){e(t)}))}return new(s||(s=Promise))((function(s,n){function l(t){try{r(a.next(t))}catch(e){n(e)}}function m(t){try{r(a["throw"](t))}catch(e){n(e)}}function r(t){t.done?s(t.value):i(t.value).then(l,m)}r((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var s={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},a,i,n,l;return l={next:m(0),throw:m(1),return:m(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function m(t){return function(e){return r([t,e])}}function r(l){if(a)throw new TypeError("Generator is already executing.");while(s)try{if(a=1,i&&(n=l[0]&2?i["return"]:l[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,l[1])).done)return n;if(i=0,n)l=[l[0]&2,n.value];switch(l[0]){case 0:case 1:n=l;break;case 4:s.label++;return{value:l[1],done:false};case 5:s.label++;i=l[1];l=[0];continue;case 7:l=s.ops.pop();s.trys.pop();continue;default:if(!(n=s.trys,n=n.length>0&&n[n.length-1])&&(l[0]===6||l[0]===2)){s=0;continue}if(l[0]===3&&(!n||l[1]>n[0]&&l[1]<n[3])){s.label=l[1];break}if(l[0]===6&&s.label<n[1]){s.label=n[1];n=l;break}if(n&&s.label<n[2]){s.label=n[2];s.ops.push(l);break}if(n[2])s.ops.pop();s.trys.pop();continue}l=e.call(t,s)}catch(m){l=[6,m];i=0}finally{a=n=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-609bf766.system.js","./p-a408bfba.system.js"],(function(t){"use strict";var e,s,a,i,n,l;return{setters:[function(t){e=t.r;s=t.c;a=t.h;i=t.a;n=t.g},function(t){l=t.f}],execute:function(){var m='.sc-stzh-datamessagelist-item-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-datamessagelist-item-h{display:none}.sc-stzh-datamessagelist-item-h *.sc-stzh-datamessagelist-item,.sc-stzh-datamessagelist-item-h *.sc-stzh-datamessagelist-item::before,.sc-stzh-datamessagelist-item-h *.sc-stzh-datamessagelist-item::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-left:var(--stzh-space-xlarge);padding-right:var(--stzh-space-medium);display:-ms-flexbox;display:flex;position:relative;padding:var(--stzh-space-medium);background-color:var(--stzh-color-white)}@media screen and (min-width: 1024px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-left:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-left:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-xlarge)}}.stzh-datamessagelist-item__content.sc-stzh-datamessagelist-item{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__content.sc-stzh-datamessagelist-item{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}}.stzh-datamessagelist-item__text.sc-stzh-datamessagelist-item{-ms-flex-positive:1;flex-grow:1}.stzh-datamessagelist-item__heading.sc-stzh-datamessagelist-item{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-heading-line-height, var(--stzh-font-milli-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-default-heading-letter-spacing);color:var(--stzh-base-lead-color);margin:0}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__heading.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-heading-letter-spacing)}}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item{color:inherit;text-decoration:none;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius)}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover,.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::before{-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed)}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::before,.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::after{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover::before,.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus::before{background-color:var(--stzh-color-primary4)}.stzh-datamessagelist-item__description.sc-stzh-datamessagelist-item{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);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__description.sc-stzh-datamessagelist-item{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)}}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__description.sc-stzh-datamessagelist-item{-webkit-line-clamp:1;line-clamp:1}}.stzh-datamessagelist-item__meta-wrapper.sc-stzh-datamessagelist-item{margin-top:var(--stzh-space-small)}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta-wrapper.sc-stzh-datamessagelist-item{margin-top:var(--stzh-space-xxsmall)}}.stzh-datamessagelist-item__meta.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height));display:table;list-style:none;margin:0;padding:0}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__meta.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta.sc-stzh-datamessagelist-item{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 calc(var(--stzh-space-xsmall) / -1)}}.stzh-datamessagelist-item__meta-item.sc-stzh-datamessagelist-item{display:table-row}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta-item.sc-stzh-datamessagelist-item{display:-ms-flexbox;display:flex;margin:0 var(--stzh-space-xsmall)}}.stzh-datamessagelist-item__meta-item-label.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__meta-item-value.sc-stzh-datamessagelist-item{display:table-cell}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta-item-label.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__meta-item-value.sc-stzh-datamessagelist-item{display:inline-block}}.stzh-datamessagelist-item__meta-item-label.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-xsmall)}.stzh-datamessagelist-item__meta-item-value.sc-stzh-datamessagelist-item{color:var(--stzh-color-black)}.stzh-datamessagelist-item__status.sc-stzh-datamessagelist-item{width:10rem}.stzh-datamessagelist-item__status.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__tags-wrapper.sc-stzh-datamessagelist-item{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__status.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__tags-wrapper.sc-stzh-datamessagelist-item{margin-top:0;margin-left:var(--stzh-space-xxlarge)}}.stzh-datamessagelist-item__tags.sc-stzh-datamessagelist-item{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-space-xxsmall) / -1)}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__tags.sc-stzh-datamessagelist-item{-ms-flex-wrap:nowrap;flex-wrap:nowrap}}.stzh-datamessagelist-item__tag.sc-stzh-datamessagelist-item{margin:var(--stzh-space-xxsmall)}.stzh-datamessagelist-item__actions.sc-stzh-datamessagelist-item{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center}.stzh-datamessagelist-item__actions.sc-stzh-datamessagelist-item:not(:empty){margin-left:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__actions.sc-stzh-datamessagelist-item:not(:empty){margin-left:var(--stzh-space-xxlarge);-ms-flex-pack:center;justify-content:center}}.stzh-datamessagelist-item__action-popover.sc-stzh-datamessagelist-item{--width:auto;--min-width:12.5rem}.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover,.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::before{border-left:0.3125rem solid var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover::before,.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus::before{border-left-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}';var r=t("stzh_datamessagelist_item",function(){function t(t){var a=this;e(this,t);this.stzhClick=s(this,"stzhClick",7);this.stzhActionClick=s(this,"stzhActionClick",7);this.actionClick=function(t,e){a.stzhActionClick.emit({component:"stzh-datamessagelist-item",action:t,originalEvent:e})};this.itemClick=function(t){a.stzhClick.emit({component:"stzh-datamessagelist-item",originalEvent:t})};this.localization=undefined;this.heading="";this.unread=false;this.href="";this.description="";this.externalHref="";this.loadingStatus=undefined;this.meta=undefined;this.actions=undefined;this.tags=undefined}t.prototype.loadingStatusWatcher=function(t){if(typeof t==="string"){this._loadingStatus=JSON.parse(t)}else{this._loadingStatus=t}};t.prototype.metaWatcher=function(t){if(typeof t==="string"){this._meta=JSON.parse(t)}else{this._meta=t}};t.prototype.actionsWatcher=function(t){if(typeof t==="string"){this._actions=JSON.parse(t)}else{this._actions=t}};t.prototype.tagsWatcher=function(t){if(typeof t==="string"){this._tags=JSON.parse(t)}else{this._tags=t}};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.loadingStatusWatcher(this.loadingStatus);this.metaWatcher(this.meta);this.actionsWatcher(this.actions);this.tagsWatcher(this.tags);if(!!this.localization)return[3,2];t=this;return[4,l(this.element,"datamessagelist-item")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.render=function(){var t=this;var e={"stzh-datamessagelist-item":true,"stzh-datamessagelist-item--is-unread":this.unread};return a(i,{role:"listitem"},a("article",{class:e},a("div",{class:"stzh-datamessagelist-item__content"},a("div",{class:"stzh-datamessagelist-item__text"},a("h3",{class:"stzh-datamessagelist-item__heading"},a("a",{class:"stzh-datamessagelist-item__heading-link",href:this.href,onClick:this.itemClick},this.heading)),this.description&&a("div",{class:"stzh-datamessagelist-item__description"},this.description),this._meta&&this._meta.length>0&&a("div",{class:"stzh-datamessagelist-item__meta-wrapper"},a("ul",{class:"stzh-datamessagelist-item__meta"},this._meta.map((function(t){return a("li",{class:"stzh-datamessagelist-item__meta-item"},a("span",{class:"stzh-datamessagelist-item__meta-item-label"},t.label),a("span",{class:"stzh-datamessagelist-item__meta-item-value"},t.value))}))))),this._loadingStatus&&a("stzh-status",{class:"stzh-datamessagelist-item__status",label:this._loadingStatus.label,percent:this._loadingStatus.percent,type:this._loadingStatus.type,withLoadingbar:true}),this._tags&&this._tags.length>0&&a("div",{class:"stzh-datamessagelist-item__tags-wrapper"},a("div",{class:"stzh-datamessagelist-item__tags"},this._tags.map((function(t){return a("stzh-chip",{class:"stzh-datamessagelist-item__tag",variant:"tag",size:"small",type:t.type,icon:t.icon,label:t.label})}))))),a("div",{class:"stzh-datamessagelist-item__actions"},this.externalHref&&a("stzh-button",{href:this.externalHref,variant:"tertiary",icon:"external-link",size:"tiny",iconOnly:true}),this._actions&&this._actions.length>0&&a("stzh-popover",{label:this.localization.actionsPopoverLabel,placement:"bottom-end",class:"stzh-datamessagelist-item__action-popover"},a("stzh-button",{variant:"tertiary",size:"tiny",icon:"more-horizontal",iconOnly:true}),a("stzh-menu",{slot:"content"},this._actions.map((function(e){return a("stzh-menu-item",{icon:e.icon,badge:e.badge,onClick:function(s){t.actionClick(e,s)}},e.label)})))))))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{loadingStatus:["loadingStatusWatcher"],meta:["metaWatcher"],actions:["actionsWatcher"],tags:["tagsWatcher"]}},enumerable:false,configurable:true});return t}());r.style=m}}}));
|