@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
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-9fcb4305.js');
|
|
6
|
+
const translationUtils = require('./translation-utils-73073e44.js');
|
|
7
|
+
|
|
8
|
+
const stzhShareCss = ".sc-stzh-share-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-share-h{display:none}.sc-stzh-share-h *.sc-stzh-share,.sc-stzh-share-h *.sc-stzh-share::before,.sc-stzh-share-h *.sc-stzh-share::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-share__list.sc-stzh-share{list-style:none;margin:0;padding:0;display:-ms-flexbox;display:flex}.stzh-share__item.sc-stzh-share:not(:last-child){margin-right:var(--stzh-space-small)}.stzh-share__icon.sc-stzh-share{--size:var(--stzh-icon-size-xsmall)}.stzh-share__button.sc-stzh-share{color:var(--stzh-color-white);border-radius:var(--stzh-button-border-radius);display:grid;place-items:center;width:2.875rem;height:1.625rem}.stzh-share__button.is-facebook.sc-stzh-share{background-color:#3b5998}.stzh-share__button.is-facebook.sc-stzh-share:hover{background-color:#23355B}.stzh-share__button.is-twitter.sc-stzh-share{background-color:#1da1f2}.stzh-share__button.is-twitter.sc-stzh-share:hover{background-color:#116091}.stzh-share__button.is-linkedin.sc-stzh-share{background-color:#1485BD}.stzh-share__button.is-linkedin.sc-stzh-share:hover{background-color:#0C4F71}.stzh-share__button.is-xing.sc-stzh-share{background-color:#0E7574}.stzh-share__button.is-xing.sc-stzh-share:hover{background-color:#084645}.stzh-share__button.is-mail.sc-stzh-share{background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-share__button.is-mail.sc-stzh-share:hover{background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}";
|
|
9
|
+
|
|
10
|
+
const abbreviateText = function (text, length) {
|
|
11
|
+
if (text.length <= length) {
|
|
12
|
+
return text;
|
|
13
|
+
}
|
|
14
|
+
var lastWhitespaceIndex = text.substring(0, length - 1).lastIndexOf(' ');
|
|
15
|
+
if (lastWhitespaceIndex) {
|
|
16
|
+
return text.substring(0, lastWhitespaceIndex) + '\u2026';
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
return text.substring(0, length - 1);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
// returns content of <meta name="" content=""> tags or '' if empty/non existant
|
|
23
|
+
const getMeta = function (name) {
|
|
24
|
+
const meta = document.querySelector(`meta[name="${name}"],[property="${name}"]`);
|
|
25
|
+
return meta ? meta.getAttribute("content") : "";
|
|
26
|
+
};
|
|
27
|
+
const StzhShare = class {
|
|
28
|
+
constructor(hostRef) {
|
|
29
|
+
index.registerInstance(this, hostRef);
|
|
30
|
+
this._services = [];
|
|
31
|
+
this.openPopup = (url, event) => {
|
|
32
|
+
event.preventDefault();
|
|
33
|
+
window.open(url, "_blank", "width=600,height=460");
|
|
34
|
+
};
|
|
35
|
+
this.localization = undefined;
|
|
36
|
+
this.url = window.location.href;
|
|
37
|
+
this.services = [
|
|
38
|
+
"facebook", "twitter", "linkedin", "xing", "mail"
|
|
39
|
+
];
|
|
40
|
+
}
|
|
41
|
+
servicesWatcher(newValue) {
|
|
42
|
+
if (typeof newValue === "string") {
|
|
43
|
+
this._services = JSON.parse(newValue);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
this._services = newValue;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
async componentWillLoad() {
|
|
50
|
+
this.servicesWatcher(this.services);
|
|
51
|
+
if (!this.localization) {
|
|
52
|
+
this.localization = await translationUtils.fetchTranslations(this.element, "share");
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
render() {
|
|
56
|
+
var _a;
|
|
57
|
+
const classes = {
|
|
58
|
+
"stzh-share": true
|
|
59
|
+
};
|
|
60
|
+
const shareUrl = encodeURIComponent(this.url);
|
|
61
|
+
const mailSubject = encodeURIComponent(this.localization.mailSubject);
|
|
62
|
+
const mailBody = encodeURIComponent((_a = this.localization.mailBody) === null || _a === void 0 ? void 0 : _a.replace(/\{shareUrl\}/gi, this.url));
|
|
63
|
+
const title = encodeURIComponent(document.title);
|
|
64
|
+
const description = encodeURIComponent(getMeta("description"));
|
|
65
|
+
// 280 - URL (always 24) = 256
|
|
66
|
+
const maxTweetLength = 256;
|
|
67
|
+
const serviceData = {
|
|
68
|
+
"facebook": {
|
|
69
|
+
popup: true,
|
|
70
|
+
blank: true,
|
|
71
|
+
url: `https://www.facebook.com/sharer/sharer.php?u=${shareUrl}`,
|
|
72
|
+
text: this.localization.shareFacebook,
|
|
73
|
+
icon: "facebook-filled"
|
|
74
|
+
},
|
|
75
|
+
"twitter": {
|
|
76
|
+
popup: true,
|
|
77
|
+
blank: true,
|
|
78
|
+
url: `https://twitter.com/intent/tweet?text=${abbreviateText(title, maxTweetLength)}&url=${shareUrl}`,
|
|
79
|
+
text: this.localization.shareTwitter,
|
|
80
|
+
icon: "twitter-filled"
|
|
81
|
+
},
|
|
82
|
+
"linkedin": {
|
|
83
|
+
popup: true,
|
|
84
|
+
blank: true,
|
|
85
|
+
url: `https://www.linkedin.com/shareArticle?mini=true&summary=${description}&title=${title}&url=${shareUrl}`,
|
|
86
|
+
text: this.localization.shareLinkedin,
|
|
87
|
+
icon: "linkedin-filled"
|
|
88
|
+
},
|
|
89
|
+
"xing": {
|
|
90
|
+
popup: true,
|
|
91
|
+
blank: true,
|
|
92
|
+
url: `https://www.xing.com/spi/shares/new?url=${shareUrl}`,
|
|
93
|
+
text: this.localization.shareXing,
|
|
94
|
+
icon: "xing-filled"
|
|
95
|
+
},
|
|
96
|
+
"mail": {
|
|
97
|
+
popup: false,
|
|
98
|
+
blank: false,
|
|
99
|
+
url: `mailto:?subject=${mailSubject}&body=${mailBody}`,
|
|
100
|
+
text: this.localization.shareMail,
|
|
101
|
+
icon: "mail-filled"
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
return (index.h(index.Host, null, index.h("div", { class: classes }, index.h("ul", { class: "stzh-share__list" }, this._services.map((service) => index.h("li", { class: "stzh-share__item" }, index.h("stzh-tooltip", { content: serviceData[service].text }, index.h("a", { class: `stzh-share__button is-${service}`, href: serviceData[service].url, "aria-label": serviceData[service].text, rel: serviceData[service].blank ? "nofollow noopener noreferrer" : "nofollow", target: serviceData[service].blank ? "_blank" : "_self", onClick: serviceData[service].popup ? (e) => this.openPopup(serviceData[service].url, e) : null }, index.h("stzh-icon", { class: "stzh-share__icon", name: serviceData[service].icon })))))))));
|
|
105
|
+
}
|
|
106
|
+
get element() { return index.getElement(this); }
|
|
107
|
+
static get watchers() { return {
|
|
108
|
+
"services": ["servicesWatcher"]
|
|
109
|
+
}; }
|
|
110
|
+
};
|
|
111
|
+
StzhShare.style = stzhShareCss;
|
|
112
|
+
|
|
113
|
+
exports.stzh_share = StzhShare;
|
|
@@ -6,7 +6,7 @@ const index = require('./index-9fcb4305.js');
|
|
|
6
6
|
const utils = require('./utils-8dc66449.js');
|
|
7
7
|
const translationUtils = require('./translation-utils-73073e44.js');
|
|
8
8
|
const stzhInputDescription = require('./stzh-input-description-4326b0d9.js');
|
|
9
|
-
const _commonjsHelpers = require('./_commonjsHelpers-
|
|
9
|
+
const _commonjsHelpers = require('./_commonjsHelpers-dcc4cf71.js');
|
|
10
10
|
|
|
11
11
|
var dropzone = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
12
12
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -10306,11 +10306,13 @@ window.Dropzone = Dropzone;
|
|
|
10306
10306
|
|
|
10307
10307
|
const Dropzone = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(dropzone);
|
|
10308
10308
|
|
|
10309
|
-
const stzhUploadCss = ":host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-upload{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}stzh-upload[hidden]{display:none}stzh-upload *,stzh-upload *::before,stzh-upload *::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-upload{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;position:relative;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;}.stzh-upload__marker-symbol{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-upload__marker-text{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-upload__description-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-upload__error,.stzh-upload__description{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-upload__error{color:var(--stzh-color-error)}.stzh-upload__error-list{list-style:none;margin:0;padding:0}.stzh-upload__description{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-upload__description-long{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-upload__description-long-popover{--width:auto;--max-width:27.3125rem}.stzh-upload__description-long-popover[open]:not([open=false]) .stzh-upload__description-long-button{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__description-long-button{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-upload__description-long-button:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload stzh-icon.stzh-upload__description-long-icon{--size:var(--stzh-icon-size-xsmall)}.stzh-upload--has-error .stzh-upload__error,.stzh-upload--has-description .stzh-upload__description{margin-top:var(--stzh-space-xxsmall)}.stzh-upload__label{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-h4-default-text-letter-spacing);color:var(--stzh-base-lead-color);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-upload__label{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-text-letter-spacing)}}.stzh-upload__clickarea{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);padding:var(--stzh-space-xxlarge);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;text-align:center;border:0.0625rem solid var(--stzh-base-border-color);border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD4SURBVHgB7dlBCoMwEAXQSXqBHsUj9ChWdK2eoN6gdi/W3shjtLssWxDTmZKFFGqhphDhPxBDIOEbJAyMIpYkSay1PvJwSxPjOO7btu1oBq8t3NqPFuxj+Dk1TVOpNE0PwzBcZLLrOkMBieNYDm7LH7DTPCgowJDCZTKvk+YTtRQ4yahpJRDUNwlaUuDkeiMAAFhGalEKXJZlOVdQ+kyBs9bWKEp8Q1DfENQ3VPg+ocIHAPAAFb5HqPD/YVVBjes+BMllM5soim78s175TX3f3ykgk/bNQ8kEdx0qDpsrpd5PtuRmVD23mWumfbs5ftqHMxl+SmmmPQHYcmyn56UnaQAAAABJRU5ErkJggg==');border-image-slice:12;border-image-width:0.75rem;border-image-repeat:round;-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 1024px){.stzh-upload__clickarea{padding:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-upload__clickarea{padding:var(--stzh-space-xxxxlarge)}}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.stzh-upload__clickarea{border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIpSURBVHgB7d3BbeJAFMbxsYXFlRLYDtgKllIsC0vcEiqIU8EmB04glu2EdEAHYTvgbgv2vawdcdokni/ikP9Pwp6YyB59YCcej/SS0MrzfDQYDG6sOW1fb2qa5tt2uz2ECHbcsR33OQhcoT/70+n0uNlstt2G9LWRprmtqvCOMM/n89FWi9jOu3Yf9yHCFfszsdx+zWaz225D4ouyLG9Wq9WjfzpZlo3quj7Yjo8B/2VBTpMkOVp2e8/QcvudFEWRe8r2xnd/I+DDLi4T95Zl6tdNP21GAX112f3wa+jEW+v1ehfQ16FdT9OAaJd/bwhUjEDFCFSMQMUIVIxAxQhU5+Vfpy7QqMEJhGCjTv8ynM/n4wAJv6cPAAAAAAAAAPBVMCiq44P1qc8au5zfiH4sw7umaZ67Z0p3AbEqX3SBMpVRhMfIYgQqRqBiBCpGoGIEKkagYgQqRqBiBCpGoGIEKkagYgSqwxx7JebYfwIeJwEAAAAAAAD4UhgU1WGOvRBz7PUqXzDHXozHyGIEKkagYgQqRqBiBCr2GqhXqwmI5oHuvJFl2TigFy+y0jb3HuiTt+q6pjpNT3bL+ZKd11Ya2A8Pdj9/9DpCZVlOvMgKdUHe5pdIP6v9i2jZ7e1buvBCVUn3C0VR3KZp+vMD+6wseMm8Uq9FZB9kFeJuga/Zn4Ud+8EbyeXWtraSlwOavGcvw+FwvFwu/4QIyhJqV+jPzl5PfpZ3BVb+AjID1CfgWYnZAAAAAElFTkSuQmCC');border-image-slice:24}}.stzh-upload__button{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-upload__button{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-upload__button{margin-top:var(--stzh-space-large)}}.stzh-upload stzh-icon.stzh-upload__delete-icon-error{display:none}.stzh-upload__preview{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-upload__preview.dz-error .stzh-upload__title{color:var(--stzh-color-error)}.stzh-upload__preview.dz-error .stzh-upload__error-message{display:block}.stzh-upload__preview.dz-error .stzh-upload__meta,.stzh-upload__preview.dz-error stzh-icon.stzh-upload__delete-icon{display:none}.stzh-upload__preview.dz-error stzh-icon.stzh-upload__delete-icon-error{display:-ms-inline-flexbox;display:inline-flex}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-processing{display:none}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-complete{display:-ms-flexbox;display:flex}.stzh-upload__preview.dz-empty .stzh-upload__extension::after{content:\"\"}.stzh-upload__preview.dz-empty .stzh-upload__size{display:none}.stzh-upload__inner{height:3.875rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-upload__details{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;overflow:hidden}.stzh-upload__info-wrapper-processing,.stzh-upload__info-wrapper-complete{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.stzh-upload__info-wrapper-complete{display:none}.stzh-upload__actions{-ms-flex-negative:0;flex-shrink:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-left:var(--stzh-space-medium)}.stzh-upload__infos{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);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:var(--stzh-space-xxsmall)}.stzh-upload__title,.stzh-upload__subtitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-upload__title{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__meta{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em}.stzh-upload__size strong{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-upload__image{display:none}.stzh-upload__progress{display:block;height:0.5rem;border-radius:0.75rem;background-color:var(--stzh-color-grey13)}.stzh-upload__progress-bar{display:block;height:100%;width:0;border-radius:0.75rem;background:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__progress-text{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;margin-left:var(--stzh-space-medium);font-variant-numeric:tabular-nums}.stzh-upload__extension{text-transform:uppercase}.stzh-upload__extension::after{content:\" | \"}.stzh-upload__delete{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;padding:0;background:none;display:-ms-flexbox;display:flex;color:var(--stzh-base-color)}.stzh-upload__error-message{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;color:var(--stzh-color-error);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);display:none}.stzh-upload.dz-started .stzh-upload__clickarea{margin-bottom:var(--stzh-space-small)}.stzh-upload:has(.stzh-upload__preview) .stzh-upload__clickarea{margin-bottom:var(--stzh-space-small)}.stzh-upload.dz-drag-hover .stzh-upload__clickarea{background-color:var(--stzh-color-primary4)}.stzh-upload.dz-drag-hover .stzh-upload__button{--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-upload--is-invalid .stzh-upload__clickarea{border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD/SURBVHgB7dlBasJAFAbg/71supy16aI9Qm7Qo7QnsDlBvUHrCdqeKPUEXbUunY0gCPOcMQgimIWOMOL/bRJC8vgJITz4BVFX1c9ieI+nDnss4KXB3xcGdKhfRbfPHnXGHG+waRP+JzLT0VsI4RtY+QbeoyAdXHxxdw5V9SQ/Wi8sLB9LC7nT4cGJrn8RgxoKlzIqrgSD5qbxA21RuPR7AxERnSftoijcTO/H3J5yY9DcGDQ3Bs2NGz4R0a3ghp8RN/xLuKqgvm8fypTKhnjwGleoNlUkJYbtM62cQaayvaCjiZiMIQeFGELbhPnH4LC+TPscuufkORYLMUObyrQNlY5lla7HUdEAAAAASUVORK5CYII=')}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.stzh-upload--is-invalid .stzh-upload__clickarea{border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIwSURBVHgB7d1NUhNBGIfxf3dKrdJNNlaJYTFu3Zg5gTlKbjByAuAEwgn0KHKCTk4gLhCrXJiFKy3mdXomCeoCQuYFFjy/DZOhauh6CGE+uqqDlpKGwxifVmZhoqCJNmD1xatS307VQ9KLIsTBZzm48/GYZhZ1XF6cfVztipfffTY1hYONYpoWJu31HXyWj9H83EP1cV/jCRoH04eknXf/7J/HnSp/zb+dpNE4v1uFayXtTnKvvD2Pu1XuFtJgNM2Vrf5Vlvo+E25s9TFhssPYxKy63U94V25t0LYLFt6GWRxZfjGuz4KwlaRiGOLvH3k7Cr2VOl2stgnqjKDOCOqMoM4I6oygzgjqpz11aoP2vjmB5k6XuobNWX4huMjX9AIAAAAAAACAh4Kbon5yy5hnjaX43/xG3Ng8vtzPLdtnSkFxX+ilnaysy6eeTGV0wmNkZwR1RlBnBHVGUGcEdUZQZwR1RlBnBHVGUGcEdUZQZwT1wxx7T8yxvwU8TgIAAAAAAADwoHBT1A9z7B0xx94Zc+xvCY+RnRHUGUGdEdQZQZ0R1Nk6KOt/+IjNGemnbvNRIWylueSctBtms2jBTrrdg4Wwpa6dWThu17FIcdReyyc9H69r40r5I3LZq2hfLxuuF1TJO5oX7zc9YJAdvKm/uswrzWsRWXM89bgEvs/xmOq9sj4/6sbxl6TRNARVeSWrTQ70uK6L1zr/oh48l1C78/E0/38shBPVP49KLdo/+z+8SbPi8H5KCQAAAABJRU5ErkJggg==')}}.stzh-upload--has-error .stzh-upload__error,.stzh-upload--has-description .stzh-upload__description{margin-top:var(--stzh-space-small)}.stzh-upload--is-disabled .stzh-upload__clickarea{cursor:not-allowed;background-color:var(--stzh-color-grey5)}";
|
|
10309
|
+
const stzhUploadCss = ":host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-upload{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}stzh-upload[hidden]{display:none}stzh-upload *,stzh-upload *::before,stzh-upload *::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-upload{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;position:relative;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;}.stzh-upload__marker-symbol{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-upload__marker-text{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-upload__description-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-upload__error,.stzh-upload__description{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-upload__error{color:var(--stzh-color-error)}.stzh-upload__error-list{list-style:none;margin:0;padding:0}.stzh-upload__description{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-upload__description-long{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-upload__description-long-popover{--width:auto;--max-width:27.3125rem}.stzh-upload__description-long-popover[open]:not([open=false]) .stzh-upload__description-long-button{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__description-long-button{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-upload__description-long-button:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload stzh-icon.stzh-upload__description-long-icon{--size:var(--stzh-icon-size-xsmall)}.stzh-upload--has-error .stzh-upload__error,.stzh-upload--has-description .stzh-upload__description{margin-top:var(--stzh-space-xxsmall)}.stzh-upload__label{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-h4-default-text-letter-spacing);color:var(--stzh-base-lead-color);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-upload__label{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-text-letter-spacing)}}.stzh-upload__clickarea{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);padding:var(--stzh-space-xxlarge);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;text-align:center;border:0.0625rem solid var(--stzh-base-border-color);border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD4SURBVHgB7dlBCoMwEAXQSXqBHsUj9ChWdK2eoN6gdi/W3shjtLssWxDTmZKFFGqhphDhPxBDIOEbJAyMIpYkSay1PvJwSxPjOO7btu1oBq8t3NqPFuxj+Dk1TVOpNE0PwzBcZLLrOkMBieNYDm7LH7DTPCgowJDCZTKvk+YTtRQ4yahpJRDUNwlaUuDkeiMAAFhGalEKXJZlOVdQ+kyBs9bWKEp8Q1DfENQ3VPg+ocIHAPAAFb5HqPD/YVVBjes+BMllM5soim78s175TX3f3ykgk/bNQ8kEdx0qDpsrpd5PtuRmVD23mWumfbs5ftqHMxl+SmmmPQHYcmyn56UnaQAAAABJRU5ErkJggg==');border-image-slice:12;border-image-width:0.75rem;border-image-repeat:round;-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 1024px){.stzh-upload__clickarea{padding:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-upload__clickarea{padding:var(--stzh-space-xxxxlarge)}}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.stzh-upload__clickarea{border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIpSURBVHgB7d3BbeJAFMbxsYXFlRLYDtgKllIsC0vcEiqIU8EmB04glu2EdEAHYTvgbgv2vawdcdokni/ikP9Pwp6YyB59YCcej/SS0MrzfDQYDG6sOW1fb2qa5tt2uz2ECHbcsR33OQhcoT/70+n0uNlstt2G9LWRprmtqvCOMM/n89FWi9jOu3Yf9yHCFfszsdx+zWaz225D4ouyLG9Wq9WjfzpZlo3quj7Yjo8B/2VBTpMkOVp2e8/QcvudFEWRe8r2xnd/I+DDLi4T95Zl6tdNP21GAX112f3wa+jEW+v1ehfQ16FdT9OAaJd/bwhUjEDFCFSMQMUIVIxAxQhU5+Vfpy7QqMEJhGCjTv8ynM/n4wAJv6cPAAAAAAAAAPBVMCiq44P1qc8au5zfiH4sw7umaZ67Z0p3AbEqX3SBMpVRhMfIYgQqRqBiBCpGoGIEKkagYgQqRqBiBCpGoGIEKkagYgSqwxx7JebYfwIeJwEAAAAAAAD4UhgU1WGOvRBz7PUqXzDHXozHyGIEKkagYgQqRqBiBCr2GqhXqwmI5oHuvJFl2TigFy+y0jb3HuiTt+q6pjpNT3bL+ZKd11Ya2A8Pdj9/9DpCZVlOvMgKdUHe5pdIP6v9i2jZ7e1buvBCVUn3C0VR3KZp+vMD+6wseMm8Uq9FZB9kFeJuga/Zn4Ud+8EbyeXWtraSlwOavGcvw+FwvFwu/4QIyhJqV+jPzl5PfpZ3BVb+AjID1CfgWYnZAAAAAElFTkSuQmCC');border-image-slice:24}}.stzh-upload__button{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-upload__button{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-upload__button{margin-top:var(--stzh-space-large)}}.stzh-upload stzh-icon.stzh-upload__delete-icon-error{display:none}.stzh-upload__preview{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border:0.0625rem solid var(--stzh-base-border-color);border-bottom:none;padding:var(--stzh-space-xsmall);padding-left:var(--stzh-space-medium);padding-right:var(--stzh-space-small)}.stzh-upload__preview:not(.dz-error):last-child,.stzh-upload__errors:last-child .stzh-upload__preview:last-child{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-upload__errors .stzh-upload__preview:first-child,.stzh-upload__errors:empty+.stzh-upload__preview{border-top-left-radius:var(--stzh-button-border-radius);border-top-right-radius:var(--stzh-button-border-radius)}.stzh-upload__preview:last-child{border-bottom-left-radius:var(--stzh-button-border-radius);border-bottom-right-radius:var(--stzh-button-border-radius)}.stzh-upload:has(>.stzh-upload__preview) .stzh-upload__errors .stzh-upload__preview:last-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.stzh-upload__preview.dz-error .stzh-upload__title{color:var(--stzh-color-error)}.stzh-upload__preview.dz-error .stzh-upload__error-message{display:block}.stzh-upload__preview.dz-error .stzh-upload__meta,.stzh-upload__preview.dz-error stzh-icon.stzh-upload__delete-icon{display:none}.stzh-upload__preview.dz-error stzh-icon.stzh-upload__delete-icon-error{display:-ms-inline-flexbox;display:inline-flex}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-processing{display:none}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-complete{display:-ms-flexbox;display:flex}.stzh-upload__preview.dz-empty .stzh-upload__extension::after{content:\"\"}.stzh-upload__preview.dz-empty .stzh-upload__size{display:none}.stzh-upload__details{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;overflow:hidden}.stzh-upload__info-wrapper-processing,.stzh-upload__info-wrapper-complete{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.stzh-upload__info-wrapper-complete{display:none}.stzh-upload__actions{-ms-flex-negative:0;flex-shrink:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-upload__infos{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);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:var(--stzh-space-xxsmall)}.stzh-upload__title,.stzh-upload__subtitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-upload__title{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__link[href]{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__link[href]:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-upload__meta{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em}.stzh-upload__size strong{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-upload__image{display:none}.stzh-upload__progress{display:block;height:0.5rem;border-radius:0.75rem;background-color:var(--stzh-color-grey13)}.stzh-upload__progress-bar{display:block;height:100%;width:0;border-radius:0.75rem;background:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__progress-text{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;margin-left:var(--stzh-space-medium);font-variant-numeric:tabular-nums}.stzh-upload__extension{text-transform:uppercase}.stzh-upload__extension::after{content:\" | \"}.stzh-upload__download,.stzh-upload__delete{margin-left:var(--stzh-space-xsmall)}.stzh-upload__download[variant=tertiary][icon-only],.stzh-upload__delete[variant=tertiary][icon-only]{--color:var(--stzh-color-grey70)}.stzh-upload__download[variant=tertiary]{display:none}.stzh-upload__download[variant=tertiary][href]{display:-ms-flexbox;display:flex}.stzh-upload__error-message{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;color:var(--stzh-color-error);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);display:none}.stzh-upload.dz-started .stzh-upload__errors{margin-top:var(--stzh-space-small)}.stzh-upload:has(.stzh-upload__preview) .stzh-upload__errors{margin-top:var(--stzh-space-small)}.stzh-upload.dz-drag-hover .stzh-upload__clickarea{background-color:var(--stzh-color-primary4)}.stzh-upload.dz-drag-hover .stzh-upload__button{--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-upload--is-invalid .stzh-upload__clickarea{border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD/SURBVHgB7dlBasJAFAbg/71supy16aI9Qm7Qo7QnsDlBvUHrCdqeKPUEXbUunY0gCPOcMQgimIWOMOL/bRJC8vgJITz4BVFX1c9ieI+nDnss4KXB3xcGdKhfRbfPHnXGHG+waRP+JzLT0VsI4RtY+QbeoyAdXHxxdw5V9SQ/Wi8sLB9LC7nT4cGJrn8RgxoKlzIqrgSD5qbxA21RuPR7AxERnSftoijcTO/H3J5yY9DcGDQ3Bs2NGz4R0a3ghp8RN/xLuKqgvm8fypTKhnjwGleoNlUkJYbtM62cQaayvaCjiZiMIQeFGELbhPnH4LC+TPscuufkORYLMUObyrQNlY5lla7HUdEAAAAASUVORK5CYII=')}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.stzh-upload--is-invalid .stzh-upload__clickarea{border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIwSURBVHgB7d1NUhNBGIfxf3dKrdJNNlaJYTFu3Zg5gTlKbjByAuAEwgn0KHKCTk4gLhCrXJiFKy3mdXomCeoCQuYFFjy/DZOhauh6CGE+uqqDlpKGwxifVmZhoqCJNmD1xatS307VQ9KLIsTBZzm48/GYZhZ1XF6cfVztipfffTY1hYONYpoWJu31HXyWj9H83EP1cV/jCRoH04eknXf/7J/HnSp/zb+dpNE4v1uFayXtTnKvvD2Pu1XuFtJgNM2Vrf5Vlvo+E25s9TFhssPYxKy63U94V25t0LYLFt6GWRxZfjGuz4KwlaRiGOLvH3k7Cr2VOl2stgnqjKDOCOqMoM4I6oygzgjqpz11aoP2vjmB5k6XuobNWX4huMjX9AIAAAAAAACAh4Kbon5yy5hnjaX43/xG3Ng8vtzPLdtnSkFxX+ilnaysy6eeTGV0wmNkZwR1RlBnBHVGUGcEdUZQZwR1RlBnBHVGUGcEdUZQZwT1wxx7T8yxvwU8TgIAAAAAAADwoHBT1A9z7B0xx94Zc+xvCY+RnRHUGUGdEdQZQZ0R1Nk6KOt/+IjNGemnbvNRIWylueSctBtms2jBTrrdg4Wwpa6dWThu17FIcdReyyc9H69r40r5I3LZq2hfLxuuF1TJO5oX7zc9YJAdvKm/uswrzWsRWXM89bgEvs/xmOq9sj4/6sbxl6TRNARVeSWrTQ70uK6L1zr/oh48l1C78/E0/38shBPVP49KLdo/+z+8SbPi8H5KCQAAAABJRU5ErkJggg==')}}.stzh-upload--has-error .stzh-upload__error,.stzh-upload--has-description .stzh-upload__description{margin-top:var(--stzh-space-small)}.stzh-upload--is-disabled .stzh-upload__clickarea{cursor:not-allowed;background-color:var(--stzh-color-grey5)}";
|
|
10310
10310
|
|
|
10311
10311
|
Dropzone.autoDiscover = false;
|
|
10312
10312
|
const ATTR_NAME = "data-dz-name";
|
|
10313
10313
|
const ATTR_TYPE = "data-dz-type";
|
|
10314
|
+
const ATTR_SIZE = "data-dz-size";
|
|
10315
|
+
const ATTR_LINK = "data-dz-link";
|
|
10314
10316
|
const ATTR_EXTENSION = "data-dz-extension";
|
|
10315
10317
|
const ATTR_PROGRESS_TEXT = "data-dz-progress-text";
|
|
10316
10318
|
let uploadCounter = 0;
|
|
@@ -10344,6 +10346,7 @@ const StzhUpload = class {
|
|
|
10344
10346
|
this.withCredentials = false;
|
|
10345
10347
|
this.disabled = false;
|
|
10346
10348
|
this.invalid = false;
|
|
10349
|
+
this.downloadDisabled = false;
|
|
10347
10350
|
this.error = undefined;
|
|
10348
10351
|
this.acceptedFiles = null;
|
|
10349
10352
|
this.autoProcessQueue = true;
|
|
@@ -10469,12 +10472,12 @@ const StzhUpload = class {
|
|
|
10469
10472
|
file.previewTemplate = file.previewElement; // Backwards compatibility
|
|
10470
10473
|
this.previewsContainer.appendChild(file.previewElement);
|
|
10471
10474
|
if (file.size == 0) {
|
|
10472
|
-
file.previewElement.classList.add(
|
|
10475
|
+
file.previewElement.classList.add("dz-empty");
|
|
10473
10476
|
}
|
|
10474
|
-
for (var node of file.previewElement.querySelectorAll(
|
|
10477
|
+
for (var node of file.previewElement.querySelectorAll(`[${ATTR_NAME}]`)) {
|
|
10475
10478
|
node.textContent = file.name;
|
|
10476
10479
|
}
|
|
10477
|
-
for (node of file.previewElement.querySelectorAll(
|
|
10480
|
+
for (node of file.previewElement.querySelectorAll(`[${ATTR_SIZE}]`)) {
|
|
10478
10481
|
node.innerHTML = this.filesize(file.size);
|
|
10479
10482
|
}
|
|
10480
10483
|
if (this.options.addRemoveLinks) {
|
|
@@ -10512,6 +10515,20 @@ const StzhUpload = class {
|
|
|
10512
10515
|
if (file.status === "error") {
|
|
10513
10516
|
self.errorsElement.appendChild(file.previewElement);
|
|
10514
10517
|
}
|
|
10518
|
+
else {
|
|
10519
|
+
if (!self.downloadDisabled) {
|
|
10520
|
+
let fileHref = file.url || '';
|
|
10521
|
+
if (file.upload) {
|
|
10522
|
+
fileHref = URL.createObjectURL(file);
|
|
10523
|
+
}
|
|
10524
|
+
if (fileHref) {
|
|
10525
|
+
for (var node of file.previewElement.querySelectorAll(`[${ATTR_LINK}]`)) {
|
|
10526
|
+
node.setAttribute("href", fileHref);
|
|
10527
|
+
node.setAttribute("download", file.name);
|
|
10528
|
+
}
|
|
10529
|
+
}
|
|
10530
|
+
}
|
|
10531
|
+
}
|
|
10515
10532
|
if (file._removeLink) {
|
|
10516
10533
|
file._removeLink.innerHTML = this.options.dictRemoveFile;
|
|
10517
10534
|
}
|
|
@@ -10561,43 +10578,42 @@ const StzhUpload = class {
|
|
|
10561
10578
|
},
|
|
10562
10579
|
previewTemplate: `
|
|
10563
10580
|
<div class="stzh-upload__preview">
|
|
10564
|
-
<div class="stzh-
|
|
10565
|
-
<
|
|
10566
|
-
|
|
10567
|
-
</div>
|
|
10581
|
+
<div class="stzh-upload__image">
|
|
10582
|
+
<img data-dz-thumbnail />
|
|
10583
|
+
</div>
|
|
10568
10584
|
|
|
10569
|
-
|
|
10570
|
-
|
|
10571
|
-
|
|
10572
|
-
|
|
10573
|
-
|
|
10574
|
-
</div>
|
|
10575
|
-
<div class="stzh-upload__progress-text">
|
|
10576
|
-
<span data-dz-progress-text></span>
|
|
10577
|
-
</div>
|
|
10585
|
+
<div class="stzh-upload__details">
|
|
10586
|
+
<div class="stzh-upload__info-wrapper-processing">
|
|
10587
|
+
<div class="stzh-upload__infos">
|
|
10588
|
+
<div class="stzh-upload__subtitle">
|
|
10589
|
+
<span ${ATTR_NAME}></span>
|
|
10578
10590
|
</div>
|
|
10579
|
-
<div class="stzh-upload__progress">
|
|
10580
|
-
<span
|
|
10591
|
+
<div class="stzh-upload__progress-text">
|
|
10592
|
+
<span ${ATTR_PROGRESS_TEXT}></span>
|
|
10581
10593
|
</div>
|
|
10582
10594
|
</div>
|
|
10583
|
-
<div class="stzh-
|
|
10584
|
-
<
|
|
10585
|
-
<span data-dz-name></span>
|
|
10586
|
-
</div>
|
|
10587
|
-
<div class="stzh-upload__meta">
|
|
10588
|
-
<span class="stzh-upload__extension" data-dz-extension></span>
|
|
10589
|
-
<span class="stzh-upload__size" data-dz-size></span>
|
|
10590
|
-
</div>
|
|
10591
|
-
<div class="stzh-upload__error-message">
|
|
10592
|
-
<span data-dz-errormessage></span>
|
|
10593
|
-
</div>
|
|
10595
|
+
<div class="stzh-upload__progress">
|
|
10596
|
+
<span class="stzh-upload__progress-bar" data-dz-uploadprogress></span>
|
|
10594
10597
|
</div>
|
|
10595
|
-
|
|
10596
|
-
|
|
10597
|
-
|
|
10598
|
-
|
|
10599
|
-
</button>
|
|
10598
|
+
</div>
|
|
10599
|
+
<div class="stzh-upload__info-wrapper-complete">
|
|
10600
|
+
<div class="stzh-upload__title">
|
|
10601
|
+
<a class="stzh-upload__link" ${ATTR_NAME} ${ATTR_LINK}></a>
|
|
10600
10602
|
</div>
|
|
10603
|
+
<div class="stzh-upload__meta">
|
|
10604
|
+
<span class="stzh-upload__extension" ${ATTR_EXTENSION}></span>
|
|
10605
|
+
<span class="stzh-upload__size" ${ATTR_SIZE}></span>
|
|
10606
|
+
</div>
|
|
10607
|
+
<div class="stzh-upload__error-message">
|
|
10608
|
+
<span data-dz-errormessage></span>
|
|
10609
|
+
</div>
|
|
10610
|
+
</div>
|
|
10611
|
+
<div class="stzh-upload__actions">
|
|
10612
|
+
<stzh-button variant="tertiary" size="tiny" icon-only icon="download" class="stzh-upload__download" ${ATTR_LINK} aria-label="${this.localization.download}" title="${this.localization.download}"></stzh-button>
|
|
10613
|
+
<stzh-button variant="tertiary" size="tiny" icon-only class="stzh-upload__delete" data-dz-remove aria-label="${this.localization.cancelUpload}" title="${this.localization.cancelUpload}">
|
|
10614
|
+
<stzh-icon slot="icon" class="stzh-upload__delete-icon" name="delete"></stzh-icon>
|
|
10615
|
+
<stzh-icon slot="icon" class="stzh-upload__delete-icon-error" name="close"></stzh-icon>
|
|
10616
|
+
</stzh-button>
|
|
10601
10617
|
</div>
|
|
10602
10618
|
</div>
|
|
10603
10619
|
</div>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9fcb4305.js');
|
|
6
|
-
const _commonjsHelpers = require('./_commonjsHelpers-
|
|
6
|
+
const _commonjsHelpers = require('./_commonjsHelpers-dcc4cf71.js');
|
|
7
7
|
|
|
8
8
|
var tinycolor = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
9
9
|
// TinyColor v1.4.2
|
|
@@ -1487,6 +1487,10 @@ const LineColors = {
|
|
|
1487
1487
|
"19": {
|
|
1488
1488
|
color: "rgb(0, 0, 0)",
|
|
1489
1489
|
background: "rgb(255, 255, 255)"
|
|
1490
|
+
},
|
|
1491
|
+
"20": {
|
|
1492
|
+
color: "rgb(255, 255, 255)",
|
|
1493
|
+
background: "rgb(142, 34, 77)"
|
|
1490
1494
|
},
|
|
1491
1495
|
"21": {
|
|
1492
1496
|
color: "rgb(0, 0, 0)",
|
|
@@ -1761,11 +1765,15 @@ const LineColors = {
|
|
|
1761
1765
|
},
|
|
1762
1766
|
"314": {
|
|
1763
1767
|
color: "rgb(0, 0, 0)",
|
|
1764
|
-
background: "rgb(255,
|
|
1768
|
+
background: "rgb(255, 93, 85)"
|
|
1765
1769
|
},
|
|
1766
1770
|
"315": {
|
|
1767
1771
|
color: "rgb(0, 0, 0)",
|
|
1768
1772
|
background: "rgb(255, 255, 255)"
|
|
1773
|
+
},
|
|
1774
|
+
"317": {
|
|
1775
|
+
color: "rgb(255, 255, 255)",
|
|
1776
|
+
background: "rgb(17, 41, 111)"
|
|
1769
1777
|
},
|
|
1770
1778
|
"321": {
|
|
1771
1779
|
color: "rgb(0, 0, 0)",
|
|
@@ -1776,8 +1784,8 @@ const LineColors = {
|
|
|
1776
1784
|
background: "rgb(255, 255, 255)"
|
|
1777
1785
|
},
|
|
1778
1786
|
"325": {
|
|
1779
|
-
color: "rgb(
|
|
1780
|
-
background: "rgb(
|
|
1787
|
+
color: "rgb(255, 255, 255)",
|
|
1788
|
+
background: "rgb(225, 36, 114)"
|
|
1781
1789
|
},
|
|
1782
1790
|
"350": {
|
|
1783
1791
|
color: "rgb(0, 0, 0)",
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"upload": {
|
|
62
62
|
"description": "Um Dateien zu uploaden, ziehen Sie die Dateien in diesen Bereich.",
|
|
63
63
|
"button": "Dateien auswählen",
|
|
64
|
+
"download": "Download",
|
|
64
65
|
"cancelUpload": "Upload abbrechen",
|
|
65
66
|
"uploadCanceled": "Upload abgebrochen.",
|
|
66
67
|
"cancelUploadConfirmation": "Sind Sie sicher, dass Sie den Upload abbrechen wollen?",
|
|
@@ -150,6 +151,15 @@
|
|
|
150
151
|
"showTranscript": "Abschrift zeigen",
|
|
151
152
|
"download": "Download"
|
|
152
153
|
},
|
|
154
|
+
"share": {
|
|
155
|
+
"mailSubject": "Link-Empfehlung Website Stadt Zürich",
|
|
156
|
+
"mailBody": "Folgende Seite (Stadt Zürich) wurde Ihnen empfohlen:\n\n{shareUrl}",
|
|
157
|
+
"shareFacebook": "Bei Facebook teilen",
|
|
158
|
+
"shareTwitter": "Bei Twitter teilen",
|
|
159
|
+
"shareLinkedin": "Bei LinkedIn teilen",
|
|
160
|
+
"shareXing": "Bei XING teilen",
|
|
161
|
+
"shareMail": "Per E-Mail versenden"
|
|
162
|
+
},
|
|
153
163
|
"footer": {
|
|
154
164
|
"legalNoticeUrl": "rechtliche-hinweise",
|
|
155
165
|
"legalNoticeText": "Rechtliche Hinweise",
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"upload": {
|
|
62
62
|
"description": "To upload files drag & drop them in this area.",
|
|
63
63
|
"button": "Choose files",
|
|
64
|
+
"download": "Download",
|
|
64
65
|
"cancelUpload": "Cancel upload",
|
|
65
66
|
"uploadCanceled": "Upload canceled.",
|
|
66
67
|
"cancelUploadConfirmation": "Are you sure you want to cancel this upload?",
|
|
@@ -150,6 +151,15 @@
|
|
|
150
151
|
"showTranscript": "Show transcript",
|
|
151
152
|
"download": "Download"
|
|
152
153
|
},
|
|
154
|
+
"share": {
|
|
155
|
+
"mailSubject": "Recommended link City of Zurich website",
|
|
156
|
+
"mailBody": "The following website (City of Zurich) is recommended:\n\n{shareUrl}",
|
|
157
|
+
"shareFacebook": "Share on Facebook",
|
|
158
|
+
"shareTwitter": "Share on Twitter",
|
|
159
|
+
"shareLinkedin": "Share on LinkedIn",
|
|
160
|
+
"shareXing": "Share on XING",
|
|
161
|
+
"shareMail": "Send by email"
|
|
162
|
+
},
|
|
153
163
|
"footer": {
|
|
154
164
|
"legalNoticeUrl": "legal-notice",
|
|
155
165
|
"legalNoticeText": "Legal notice",
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M14.742 5.03888H17.625V0.75H14.2147C10.1017 0.925875 9.258 3.246 9.1875 5.67188V7.8165H6.375V12H9.1875V23.25H13.4062V12H16.8866L17.5545 7.8165H13.4062V6.51562C13.3949 6.33049 13.4207 6.14496 13.482 5.96991C13.5434 5.79487 13.6391 5.63384 13.7635 5.49628C13.8879 5.35873 14.0386 5.24741 14.2066 5.16886C14.3746 5.09031 14.5567 5.04612 14.742 5.03888Z" fill="#4D4D4D"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_773_103846)">
|
|
3
|
+
<path d="M1.15427 8.37411H5.72477V22.1906H1.15427V8.37411Z" fill="#4D4D4D"/>
|
|
4
|
+
<path d="M17.5196 7.91699C15.5156 7.91699 14.3205 8.65536 13.0549 10.2724V8.37411H8.48439V22.1906H13.0898V14.7022C13.0898 13.1201 13.8983 11.5732 15.7264 11.5732C17.5545 11.5732 18.6443 13.1201 18.6443 14.667V22.1906H23.25V14.3509C23.25 8.90136 19.5585 7.91699 17.5196 7.91699Z" fill="#4D4D4D"/>
|
|
5
|
+
<path d="M3.45714 1.65936C1.94552 1.65936 0.750015 2.74911 0.750015 4.08524C0.750015 5.42136 1.94552 6.51111 3.45714 6.51111C4.96877 6.51111 6.16427 5.42136 6.16427 4.08524C6.16427 2.74911 4.96877 1.65936 3.45714 1.65936Z" fill="#4D4D4D"/>
|
|
6
|
+
</g>
|
|
7
|
+
<defs>
|
|
8
|
+
<clipPath id="clip0_773_103846">
|
|
9
|
+
<rect width="24" height="24" fill="white"/>
|
|
10
|
+
</clipPath>
|
|
11
|
+
</defs>
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M0.749939 5.19542V18.7858L7.59073 11.8082L0.749939 5.19542Z" fill="#4D4D4D"/>
|
|
3
|
+
<path d="M1.45015 19.5H22.5497L15.6901 12.5032L12.3475 15.7345C12.1536 15.9218 11.8462 15.9218 11.6524 15.7345L8.30973 12.5032L1.45015 19.5Z" fill="#4D4D4D"/>
|
|
4
|
+
<path d="M23.2499 18.7858V5.19542L16.4092 11.8082L23.2499 18.7858Z" fill="#4D4D4D"/>
|
|
5
|
+
<path d="M22.5305 4.5H1.46934L11.9999 14.6796L22.5305 4.5Z" fill="#4D4D4D"/>
|
|
6
|
+
</svg>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M12 18L5.625 21.75L7.125 14.625L1.875 9.
|
|
2
|
+
<path d="M12 18L5.625 21.75L7.125 14.625L1.875 9.75L9 9L12 2.25L15 9L22.125 9.75L16.875 14.625L18.375 21.75L12 18Z" fill="#4D4D4D" stroke="#4D4D4D" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
3
|
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M23.643 4.93701C22.808 5.30701 21.911 5.55701 20.968 5.67001C21.93 5.09401 22.668 4.18001 23.016 3.09201C22.116 3.62601 21.119 4.01401 20.058 4.22201C19.208 3.31801 17.998 2.75201 16.658 2.75201C14.086 2.75201 12 4.83801 12 7.41201C12 7.77601 12.042 8.13001 12.12 8.47201C8.247 8.27701 4.816 6.42201 2.518 3.60401C2.118 4.29401 1.888 5.09401 1.888 5.94601C1.888 7.56201 2.711 8.98901 3.96 9.82401C3.196 9.79901 2.478 9.59001 1.85 9.24101V9.30101C1.85 11.558 3.455 13.441 5.587 13.869C5.195 13.975 4.784 14.031 4.36 14.031C4.06 14.031 3.767 14.003 3.483 13.949C4.076 15.799 5.796 17.147 7.835 17.183C6.24 18.433 4.231 19.178 2.049 19.178C1.673 19.178 1.302 19.156 0.936996 19.113C2.999 20.436 5.447 21.206 8.077 21.206C16.647 21.206 21.332 14.108 21.332 7.95201C21.332 7.75201 21.327 7.55001 21.318 7.35001C22.228 6.69201 23.018 5.87301 23.641 4.94001L23.643 4.93701Z" fill="#4D4D4D"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M9.3495 5.80238C9.26694 5.6283 9.13785 5.48045 8.9765 5.37515C8.81515 5.26986 8.62783 5.21124 8.43525 5.20576H5.20125C5.11347 5.19957 5.02556 5.21565 4.94565 5.25249C4.86574 5.28933 4.79642 5.34574 4.74412 5.41651C4.70694 5.49443 4.69064 5.58067 4.69682 5.66679C4.703 5.75291 4.73145 5.83594 4.77937 5.90776L6.95887 9.69863V9.73388L3.54862 15.7714C3.50536 15.846 3.48257 15.9307 3.48257 16.017C3.48257 16.1033 3.50536 16.188 3.54862 16.2626C3.5903 16.3355 3.6526 16.3943 3.72767 16.4318C3.80274 16.4693 3.88723 16.4838 3.9705 16.4734H7.20487C7.39774 16.4679 7.58454 16.4048 7.7412 16.2921C7.89786 16.1795 8.01721 16.0226 8.08387 15.8415C8.08387 15.8415 11.4589 9.87413 11.5995 9.66376C11.5646 9.66376 9.3495 5.80238 9.3495 5.80238Z" fill="#4D4D4D"/>
|
|
3
|
+
<path d="M22.5334 1.45013C22.5849 1.37859 22.6126 1.29266 22.6126 1.20451C22.6126 1.11635 22.5849 1.03042 22.5334 0.958882C22.4917 0.886047 22.4294 0.827172 22.3543 0.78967C22.2793 0.752168 22.1948 0.737715 22.1115 0.748132H18.8419C18.649 0.753525 18.4621 0.816561 18.3054 0.929114C18.1487 1.04167 18.0292 1.19858 17.9625 1.37963C17.9625 1.37963 10.9669 13.7704 10.7557 14.1566C10.7557 14.1919 15.3611 22.6163 15.3611 22.6163C15.4415 22.7948 15.5691 22.9479 15.7301 23.0592C15.8912 23.1705 16.0796 23.2357 16.275 23.2478H19.5094C19.5926 23.2582 19.6771 23.2437 19.7522 23.2062C19.8273 23.1687 19.8896 23.1098 19.9312 23.037C19.9661 22.9598 19.9841 22.8761 19.9841 22.7914C19.9841 22.7067 19.9661 22.623 19.9312 22.5458L15.3615 14.1919V14.1566L22.5334 1.45013Z" fill="#4D4D4D"/>
|
|
4
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
@@ -14,11 +14,13 @@
|
|
|
14
14
|
"./components/stzh-card/stzh-card.js",
|
|
15
15
|
"./components/stzh-card-list/stzh-card-list.js",
|
|
16
16
|
"./components/stzh-cell/stzh-cell.js",
|
|
17
|
+
"./components/stzh-chart/stzh-chart.js",
|
|
17
18
|
"./components/stzh-checkbox/stzh-checkbox.js",
|
|
18
19
|
"./components/stzh-checkboxgroup/stzh-checkboxgroup.js",
|
|
19
20
|
"./components/stzh-chip/stzh-chip.js",
|
|
20
21
|
"./components/stzh-chip-select/stzh-chip-select.js",
|
|
21
22
|
"./components/stzh-clamp/stzh-clamp.js",
|
|
23
|
+
"./components/stzh-contactaddress/stzh-contactaddress.js",
|
|
22
24
|
"./components/stzh-container/stzh-container.js",
|
|
23
25
|
"./components/stzh-cspace/stzh-cspace.js",
|
|
24
26
|
"./components/stzh-datalist/stzh-datalist.js",
|
|
@@ -52,7 +54,9 @@
|
|
|
52
54
|
"./components/stzh-olmap/stzh-olmap.js",
|
|
53
55
|
"./components/stzh-overlay/stzh-overlay.js",
|
|
54
56
|
"./components/stzh-page-skiplinks/stzh-page-skiplinks.js",
|
|
57
|
+
"./components/stzh-pagebottom/stzh-pagebottom.js",
|
|
55
58
|
"./components/stzh-pagetitle/stzh-pagetitle.js",
|
|
59
|
+
"./components/stzh-pagetitle-hero/stzh-pagetitle-hero.js",
|
|
56
60
|
"./components/stzh-popover/stzh-popover.js",
|
|
57
61
|
"./components/stzh-portal-mitwirken/stzh-portal-mitwirken.js",
|
|
58
62
|
"./components/stzh-progressbar/stzh-progressbar.js",
|
|
@@ -64,6 +68,7 @@
|
|
|
64
68
|
"./components/stzh-row/stzh-row.js",
|
|
65
69
|
"./components/stzh-saptcha/stzh-saptcha.js",
|
|
66
70
|
"./components/stzh-section/stzh-section.js",
|
|
71
|
+
"./components/stzh-share/stzh-share.js",
|
|
67
72
|
"./components/stzh-skiplink/stzh-skiplink.js",
|
|
68
73
|
"./components/stzh-sortable/stzh-sortable.js",
|
|
69
74
|
"./components/stzh-status/stzh-status.js",
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
/*
|
|
5
5
|
* Base
|
|
6
6
|
*/
|
|
7
|
+
/**
|
|
8
|
+
* Flyingfocus
|
|
9
|
+
*/
|
|
7
10
|
/**
|
|
8
11
|
* Link
|
|
9
12
|
*/
|
|
@@ -96,7 +99,6 @@
|
|
|
96
99
|
|
|
97
100
|
:host {
|
|
98
101
|
--trigger-size: 1.3125rem;
|
|
99
|
-
--content-padding: var(--stzh-accordion-content-padding);
|
|
100
102
|
--content-background: var(--stzh-accordion-content-background);
|
|
101
103
|
--icon-size: var(--stzh-icon-size-small);
|
|
102
104
|
}
|
|
@@ -124,7 +126,8 @@
|
|
|
124
126
|
-moz-appearance: none;
|
|
125
127
|
appearance: none;
|
|
126
128
|
background-color: transparent;
|
|
127
|
-
padding: var(--stzh-space-
|
|
129
|
+
padding-top: var(--stzh-space-medium);
|
|
130
|
+
padding-bottom: var(--stzh-space-medium);
|
|
128
131
|
border: none;
|
|
129
132
|
display: flex;
|
|
130
133
|
align-items: center;
|
|
@@ -146,6 +149,30 @@
|
|
|
146
149
|
.stzh-accordion-item__button:hover, .stzh-accordion-item__button:focus {
|
|
147
150
|
color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
|
|
148
151
|
}
|
|
152
|
+
.stzh-accordion-item__button, .stzh-accordion-item__content-inner {
|
|
153
|
+
padding-left: var(--stzh-space-medium);
|
|
154
|
+
padding-right: var(--stzh-space-medium);
|
|
155
|
+
}
|
|
156
|
+
@media screen and (min-width: 1024px) {
|
|
157
|
+
.stzh-accordion-item__button, .stzh-accordion-item__content-inner {
|
|
158
|
+
padding-left: var(--stzh-space-large);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
@media screen and (min-width: 1260px) {
|
|
162
|
+
.stzh-accordion-item__button, .stzh-accordion-item__content-inner {
|
|
163
|
+
padding-left: var(--stzh-space-xlarge);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
@media screen and (min-width: 1024px) {
|
|
167
|
+
.stzh-accordion-item__button, .stzh-accordion-item__content-inner {
|
|
168
|
+
padding-right: var(--stzh-space-large);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
@media screen and (min-width: 1260px) {
|
|
172
|
+
.stzh-accordion-item__button, .stzh-accordion-item__content-inner {
|
|
173
|
+
padding-right: var(--stzh-space-xlarge);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
149
176
|
.stzh-accordion-item__button-text {
|
|
150
177
|
flex-grow: 1;
|
|
151
178
|
}
|
|
@@ -178,7 +205,28 @@
|
|
|
178
205
|
background-color: var(--content-background);
|
|
179
206
|
}
|
|
180
207
|
.stzh-accordion-item__content-inner {
|
|
181
|
-
padding: var(--
|
|
208
|
+
padding-top: var(--stzh-space-medium);
|
|
209
|
+
padding-bottom: var(--stzh-space-xlarge);
|
|
210
|
+
}
|
|
211
|
+
@media screen and (min-width: 1024px) {
|
|
212
|
+
.stzh-accordion-item__content-inner {
|
|
213
|
+
padding-top: var(--stzh-space-large);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
@media screen and (min-width: 1260px) {
|
|
217
|
+
.stzh-accordion-item__content-inner {
|
|
218
|
+
padding-top: var(--stzh-space-xlarge);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
@media screen and (min-width: 1024px) {
|
|
222
|
+
.stzh-accordion-item__content-inner {
|
|
223
|
+
padding-bottom: var(--stzh-space-xxlarge);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
@media screen and (min-width: 1260px) {
|
|
227
|
+
.stzh-accordion-item__content-inner {
|
|
228
|
+
padding-bottom: var(--stzh-space-xxxlarge);
|
|
229
|
+
}
|
|
182
230
|
}
|
|
183
231
|
.stzh-accordion-item__icon-wrapper {
|
|
184
232
|
align-self: flex-start;
|
|
@@ -105,10 +105,10 @@ export class StzhAccordionItem {
|
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
107
|
await stopAnimations(this.bodyElement);
|
|
108
|
+
this.bodyElement.style.overflow = "hidden";
|
|
108
109
|
await animateTo(this.bodyElement, shimKeyframesHeightAuto(ANIMATION_HIDE.keyframes, this.bodyElement.scrollHeight), ANIMATION_HIDE.options);
|
|
109
110
|
this.bodyElement.hidden = true;
|
|
110
111
|
this.bodyElement.style.height = "0px";
|
|
111
|
-
this.bodyElement.style.overflow = "hidden";
|
|
112
112
|
if (this.toggledByMethod) {
|
|
113
113
|
this.stzhClosed.emit({
|
|
114
114
|
component: "stzh-accordion-item"
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
/*
|
|
5
5
|
* Base
|
|
6
6
|
*/
|
|
7
|
+
/**
|
|
8
|
+
* Flyingfocus
|
|
9
|
+
*/
|
|
7
10
|
/**
|
|
8
11
|
* Link
|
|
9
12
|
*/
|
|
@@ -99,6 +102,9 @@
|
|
|
99
102
|
flex-grow: 1;
|
|
100
103
|
margin: var(--stzh-space-xxsmall);
|
|
101
104
|
}
|
|
105
|
+
:host[variant=cta] ::slotted([slot=primary]), :host[variant=cta] ::slotted([slot=secondary]) {
|
|
106
|
+
flex-grow: 0;
|
|
107
|
+
}
|
|
102
108
|
|
|
103
109
|
.stzh-actions__actions {
|
|
104
110
|
display: flex;
|
|
@@ -119,7 +125,7 @@
|
|
|
119
125
|
.stzh-actions--process .stzh-actions__actions {
|
|
120
126
|
justify-content: space-between;
|
|
121
127
|
}
|
|
122
|
-
.stzh-actions--
|
|
128
|
+
.stzh-actions--has-border {
|
|
123
129
|
padding-top: var(--stzh-space-medium);
|
|
124
130
|
border-top: 0.0625rem solid var(--stzh-base-border-color);
|
|
125
131
|
}
|