@oiz/stzh-components 2.4.0-beta → 2.5.0-alpha-carousel
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-dcc4cf71.js → _commonjsHelpers-bcc1208a.js} +0 -16
- package/dist/cjs/app-globals-d7bd37fe.js +889 -0
- package/dist/cjs/{js.cookie-226c94ed.js → js.cookie-9c263d23.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-actions.cjs.entry.js +3 -1
- package/dist/cjs/stzh-actionset.cjs.entry.js +11 -6
- package/dist/cjs/stzh-appnav.cjs.entry.js +3 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js +20 -8
- package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card_3.cjs.entry.js +36 -29
- package/dist/cjs/stzh-carousel.cjs.entry.js +522 -0
- package/dist/cjs/stzh-chart.cjs.entry.js +5998 -5171
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -1
- package/dist/cjs/stzh-chip_2.cjs.entry.js +82 -5
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist_2.cjs.entry.js +10 -3
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +16 -4
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +3 -1
- package/dist/cjs/stzh-dialog.cjs.entry.js +16 -13
- package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/stzh-footer.cjs.entry.js +3 -1
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +17 -4
- package/dist/cjs/stzh-header.cjs.entry.js +32 -27
- package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +1 -1
- package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +15 -4
- package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
- package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-message.cjs.entry.js +2 -2
- package/dist/cjs/stzh-metanav.cjs.entry.js +3 -1
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-olmap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +3 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +4 -2
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +3 -1
- package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
- package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +3 -1
- package/dist/cjs/stzh-sortable.cjs.entry.js +4 -2
- package/dist/cjs/stzh-space.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sticky.cjs.entry.js +3 -1
- package/dist/cjs/stzh-table.cjs.entry.js +14 -4
- package/dist/cjs/stzh-upload.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +16 -11
- package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
- package/dist/collection/assets/i18n/de.json +10 -0
- package/dist/collection/assets/i18n/en.json +11 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/stzh-actions/stzh-actions.js +3 -1
- package/dist/collection/components/stzh-actionset/stzh-actionset.js +11 -33
- package/dist/collection/components/stzh-appnav/stzh-appnav.js +3 -1
- package/dist/collection/components/stzh-button/stzh-button.css +16 -1
- package/dist/collection/components/stzh-button/stzh-button.js +73 -7
- package/dist/collection/components/stzh-calendar/stzh-calendar.css +1 -1
- package/dist/collection/components/stzh-card/stzh-card.css +34 -9
- package/dist/collection/components/stzh-card/stzh-card.js +52 -54
- package/dist/collection/components/stzh-carousel/stzh-carousel.css +253 -0
- package/dist/collection/components/stzh-carousel/stzh-carousel.js +966 -0
- package/dist/collection/components/stzh-carousel/stzh-carousel.localization.js +1 -0
- package/dist/collection/components/stzh-carousel/stzh-carousel.stories.js +138 -0
- package/dist/collection/components/stzh-chart/stzh-chart.css +101 -54
- package/dist/collection/components/stzh-chart/stzh-chart.stories.js +1 -0
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -1
- package/dist/collection/components/stzh-chip/stzh-chip.css +19 -17
- package/dist/collection/components/stzh-chip/stzh-chip.js +2 -1
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +1 -1
- package/dist/collection/components/stzh-clamp/stzh-clamp.css +46 -160
- package/dist/collection/components/stzh-clamp/stzh-clamp.js +218 -8
- package/dist/collection/components/stzh-clamp/stzh-clamp.localization.js +1 -0
- package/dist/collection/components/stzh-clamp/stzh-clamp.stories.js +1 -1
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +36 -0
- package/dist/collection/components/stzh-datalist/stzh-datalist.js +18 -18
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +11 -0
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +28 -1
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +10 -0
- package/dist/collection/components/stzh-datatable/stzh-datatable.js +15 -12
- package/dist/collection/components/stzh-dialog/stzh-dialog.css +2 -2
- package/dist/collection/components/stzh-dialog/stzh-dialog.js +15 -12
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +1 -1
- package/dist/collection/components/stzh-footer/stzh-footer.js +3 -1
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +3 -1
- package/dist/collection/components/stzh-header/stzh-header.js +32 -45
- package/dist/collection/components/stzh-hspace/stzh-hspace.css +4 -0
- package/dist/collection/components/stzh-input/stzh-input.css +1 -1
- package/dist/collection/components/stzh-input/stzh-input.stories.js +12 -12
- package/dist/collection/components/stzh-invert/stzh-invert.css +4 -4
- package/dist/collection/components/stzh-link/stzh-link.css +11 -0
- package/dist/collection/components/stzh-link/stzh-link.js +68 -3
- package/dist/collection/components/stzh-loader/stzh-loader.css +4 -4
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +27 -27
- package/dist/collection/components/stzh-metanav/stzh-metanav.js +3 -1
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
- package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.js +3 -1
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +3 -1
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +4 -4
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.js +3 -1
- package/dist/collection/components/stzh-popover/stzh-popover.css +3 -3
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +118 -12
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -1
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +3 -1
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +14 -3
- package/dist/collection/components/stzh-richtext/stzh-richtext.js +32 -0
- package/dist/collection/components/stzh-sortable/stzh-sortable.css +1 -1
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +3 -1
- package/dist/collection/components/stzh-space/stzh-space.css +4 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.js +3 -1
- package/dist/collection/components/stzh-table/stzh-table.js +14 -13
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +16 -11
- package/dist/collection/components/stzh-vspace/stzh-vspace.css +4 -0
- package/dist/collection/global/js/script.js +2 -0
- package/dist/components/_commonjsHelpers.js +1 -16
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +835 -1
- package/dist/components/stzh-actions.js +3 -1
- package/dist/components/stzh-actionset2.js +12 -7
- package/dist/components/stzh-appnav.js +3 -1
- package/dist/components/stzh-button2.js +23 -8
- package/dist/components/stzh-calendar2.js +1 -1
- package/dist/components/stzh-card2.js +37 -29
- package/dist/components/stzh-carousel.d.ts +11 -0
- package/dist/components/stzh-carousel.js +568 -0
- package/dist/components/stzh-chart.js +5995 -5168
- package/dist/components/stzh-checkboxgroup.js +3 -1
- package/dist/components/stzh-chip-select2.js +21 -9
- package/dist/components/stzh-chip2.js +19 -6
- package/dist/components/stzh-clamp2.js +110 -11
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-datalist-item2.js +10 -2
- package/dist/components/stzh-datalist2.js +3 -3
- package/dist/components/stzh-datamessagelist-item.js +17 -11
- package/dist/components/stzh-datatable.js +16 -4
- package/dist/components/stzh-dialog.js +16 -13
- package/dist/components/stzh-dropdown2.js +1 -1
- package/dist/components/stzh-footer.js +3 -1
- package/dist/components/stzh-ghettobox2.js +3 -1
- package/dist/components/stzh-header.js +33 -28
- package/dist/components/stzh-hspace.js +1 -1
- package/dist/components/stzh-input2.js +1 -1
- package/dist/components/stzh-invert.js +1 -1
- package/dist/components/stzh-link2.js +18 -4
- package/dist/components/stzh-loader2.js +1 -1
- package/dist/components/stzh-menu-item2.js +4 -4
- package/dist/components/stzh-metanav.js +3 -1
- package/dist/components/stzh-microsite-teaserlist.js +1 -1
- package/dist/components/stzh-page-skiplinks.js +3 -1
- package/dist/components/stzh-pagetitle-hero.js +4 -2
- package/dist/components/stzh-pagetitle.js +3 -1
- package/dist/components/stzh-popover2.js +1 -1
- package/dist/components/stzh-portal-mitwirken.js +1 -1
- package/dist/components/stzh-radiogroup2.js +3 -1
- package/dist/components/stzh-readspeaker.js +3 -1
- package/dist/components/stzh-richtext2.js +14 -1
- package/dist/components/stzh-sortable2.js +4 -2
- package/dist/components/stzh-space.js +1 -1
- package/dist/components/stzh-sticky.js +3 -1
- package/dist/components/stzh-table.js +15 -5
- package/dist/components/stzh-upload.js +1 -1
- package/dist/components/stzh-vbz-ticker.js +16 -11
- package/dist/components/stzh-vspace.js +1 -1
- package/dist/esm/{_commonjsHelpers-f9dc4873.js → _commonjsHelpers-ba3f0406.js} +1 -16
- package/dist/esm/app-globals-62e1178d.js +887 -0
- package/dist/esm/{js.cookie-53735b72.js → js.cookie-28a40640.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-actions.entry.js +3 -1
- package/dist/esm/stzh-actionset.entry.js +11 -6
- package/dist/esm/stzh-appnav.entry.js +3 -1
- package/dist/esm/stzh-badge_3.entry.js +20 -8
- package/dist/esm/stzh-calendar.entry.js +1 -1
- package/dist/esm/stzh-card_3.entry.js +36 -29
- package/dist/esm/stzh-carousel.entry.js +518 -0
- package/dist/esm/stzh-chart.entry.js +5995 -5168
- package/dist/esm/stzh-checkboxgroup.entry.js +3 -1
- package/dist/esm/stzh-chip_2.entry.js +82 -5
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-cspace.entry.js +1 -1
- package/dist/esm/stzh-datalist_2.entry.js +10 -3
- package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +16 -4
- package/dist/esm/stzh-datepicker_3.entry.js +3 -1
- package/dist/esm/stzh-dialog.entry.js +16 -13
- package/dist/esm/stzh-dropdown.entry.js +2 -2
- package/dist/esm/stzh-footer.entry.js +3 -1
- package/dist/esm/stzh-ghettobox_2.entry.js +17 -4
- package/dist/esm/stzh-header.entry.js +32 -27
- package/dist/esm/stzh-hspace.entry.js +1 -1
- package/dist/esm/stzh-input.entry.js +1 -1
- package/dist/esm/stzh-invert.entry.js +1 -1
- package/dist/esm/stzh-link.entry.js +15 -4
- package/dist/esm/stzh-loader.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +2 -2
- package/dist/esm/stzh-message.entry.js +2 -2
- package/dist/esm/stzh-metanav.entry.js +3 -1
- package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
- package/dist/esm/stzh-olmap.entry.js +1 -1
- package/dist/esm/stzh-page-skiplinks.entry.js +3 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +4 -2
- package/dist/esm/stzh-pagetitle.entry.js +3 -1
- package/dist/esm/stzh-popover.entry.js +1 -1
- package/dist/esm/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +3 -1
- package/dist/esm/stzh-sortable.entry.js +4 -2
- package/dist/esm/stzh-space.entry.js +1 -1
- package/dist/esm/stzh-sticky.entry.js +3 -1
- package/dist/esm/stzh-table.entry.js +14 -4
- package/dist/esm/stzh-upload.entry.js +1 -1
- package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm/stzh-vbz-ticker.entry.js +16 -11
- package/dist/esm/stzh-vspace.entry.js +1 -1
- package/dist/esm-es5/_commonjsHelpers-ba3f0406.js +1 -0
- package/dist/esm-es5/app-globals-62e1178d.js +1 -0
- package/dist/esm-es5/{js.cookie-53735b72.js → js.cookie-28a40640.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/stzh-actions.entry.js +1 -1
- package/dist/esm-es5/stzh-actionset.entry.js +1 -1
- package/dist/esm-es5/stzh-appnav.entry.js +1 -1
- package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-calendar.entry.js +1 -1
- package/dist/esm-es5/stzh-card_3.entry.js +1 -1
- package/dist/esm-es5/stzh-carousel.entry.js +1 -0
- package/dist/esm-es5/stzh-chart.entry.js +3 -3
- package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
- package/dist/esm-es5/stzh-chip_2.entry.js +1 -1
- package/dist/esm-es5/stzh-components.js +1 -1
- package/dist/esm-es5/stzh-cspace.entry.js +1 -1
- package/dist/esm-es5/stzh-datalist_2.entry.js +1 -1
- package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm-es5/stzh-datatable.entry.js +2 -2
- package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
- package/dist/esm-es5/stzh-dialog.entry.js +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +2 -2
- 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-hspace.entry.js +1 -1
- package/dist/esm-es5/stzh-input.entry.js +1 -1
- package/dist/esm-es5/stzh-invert.entry.js +1 -1
- package/dist/esm-es5/stzh-link.entry.js +1 -1
- package/dist/esm-es5/stzh-loader.entry.js +1 -1
- package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
- package/dist/esm-es5/stzh-message.entry.js +1 -1
- package/dist/esm-es5/stzh-metanav.entry.js +1 -1
- package/dist/esm-es5/stzh-microsite-teaserlist.entry.js +1 -1
- package/dist/esm-es5/stzh-olmap.entry.js +1 -1
- package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
- package/dist/esm-es5/stzh-popover.entry.js +1 -1
- package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
- package/dist/esm-es5/stzh-sortable.entry.js +2 -2
- package/dist/esm-es5/stzh-space.entry.js +1 -1
- package/dist/esm-es5/stzh-sticky.entry.js +1 -1
- package/dist/esm-es5/stzh-table.entry.js +1 -1
- package/dist/esm-es5/stzh-upload.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm-es5/stzh-vspace.entry.js +1 -1
- package/dist/stzh-components/assets/i18n/de.json +10 -0
- package/dist/stzh-components/assets/i18n/en.json +11 -1
- package/dist/stzh-components/p-0a408348.entry.js +1 -0
- package/dist/stzh-components/{p-ff328114.system.entry.js → p-0c779613.system.entry.js} +1 -1
- package/dist/stzh-components/{p-55752bd5.system.entry.js → p-0e690e3e.system.entry.js} +1 -1
- package/dist/stzh-components/p-10b4fedd.system.entry.js +1 -0
- package/dist/stzh-components/p-14729939.entry.js +1 -0
- package/dist/stzh-components/p-1494b502.entry.js +1 -0
- package/dist/stzh-components/p-14d5a56d.entry.js +1 -0
- package/dist/stzh-components/p-205f5111.system.entry.js +1 -0
- package/dist/stzh-components/{p-c8cc2563.system.entry.js → p-263fd0bb.system.entry.js} +1 -1
- package/dist/stzh-components/p-2ed20db5.entry.js +1 -0
- package/dist/stzh-components/p-322e74e9.system.entry.js +1 -0
- package/dist/stzh-components/p-353294ce.entry.js +1 -0
- package/dist/stzh-components/p-396697db.system.entry.js +1 -0
- package/dist/stzh-components/p-3a73b8b5.system.js +1 -0
- package/dist/stzh-components/p-3af95b5d.entry.js +1 -0
- package/dist/stzh-components/p-3e8ff66b.js +1 -0
- package/dist/stzh-components/p-3f80ce87.entry.js +1 -0
- package/dist/stzh-components/{p-c2f909c1.system.entry.js → p-3fc51ad1.system.entry.js} +1 -1
- package/dist/stzh-components/p-4453449f.entry.js +1 -0
- package/dist/stzh-components/{p-6a94e520.system.entry.js → p-454e50f8.system.entry.js} +1 -1
- package/dist/stzh-components/{p-d54ff4d4.system.entry.js → p-47175c6f.system.entry.js} +1 -1
- package/dist/stzh-components/p-48d40c7c.system.entry.js +1 -0
- package/dist/stzh-components/{p-5c72664e.system.entry.js → p-4acb6752.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b1ffc2a9.system.entry.js → p-4b995fe4.system.entry.js} +1 -1
- package/dist/stzh-components/{p-be97cb22.entry.js → p-4da7ebff.entry.js} +1 -1
- package/dist/stzh-components/p-4f8085e5.entry.js +1 -0
- package/dist/stzh-components/{p-2f4448c9.system.entry.js → p-558f336d.system.entry.js} +1 -1
- package/dist/stzh-components/p-5a4aef52.entry.js +1 -0
- package/dist/stzh-components/{p-484a366f.system.js → p-5db542ae.system.js} +1 -1
- package/dist/stzh-components/{p-72a62d0d.system.entry.js → p-6659b6f6.system.entry.js} +1 -1
- package/dist/stzh-components/{p-f3276ca5.system.entry.js → p-6a109ce9.system.entry.js} +1 -1
- package/dist/stzh-components/{p-1a98470f.system.entry.js → p-6a26c9eb.system.entry.js} +1 -1
- package/dist/stzh-components/p-6bc7f44a.entry.js +1 -0
- package/dist/stzh-components/{p-02d51685.entry.js → p-6ee87986.entry.js} +1 -1
- package/dist/stzh-components/p-7ff1640c.entry.js +1 -0
- package/dist/stzh-components/{p-26889a91.entry.js → p-814e5ae7.entry.js} +2 -2
- package/dist/stzh-components/p-821ca4af.system.entry.js +1 -0
- package/dist/stzh-components/{p-2b67b0b3.system.entry.js → p-884793dd.system.entry.js} +2 -2
- package/dist/stzh-components/{p-a32ae73a.system.entry.js → p-88fbb2fc.system.entry.js} +2 -2
- package/dist/stzh-components/p-8b16550d.entry.js +1 -0
- package/dist/stzh-components/{p-963a7526.system.entry.js → p-8c371d1d.system.entry.js} +1 -1
- package/dist/stzh-components/p-8eda017e.entry.js +1 -0
- package/dist/stzh-components/p-949f7885.system.js +1 -0
- package/dist/stzh-components/{p-6adc5f0c.system.entry.js → p-95bfbf67.system.entry.js} +1 -1
- package/dist/stzh-components/p-99d85a97.entry.js +1 -0
- package/dist/stzh-components/p-9a94b249.system.entry.js +1 -0
- package/dist/stzh-components/{p-32a03d1c.entry.js → p-9ed30a9f.entry.js} +1 -1
- package/dist/stzh-components/{p-febba79b.entry.js → p-9f29e6c3.entry.js} +1 -1
- package/dist/stzh-components/{p-67816aa4.entry.js → p-a0b2739a.entry.js} +1 -1
- package/dist/stzh-components/p-a2121744.system.entry.js +1 -0
- package/dist/stzh-components/p-a22ac109.entry.js +1 -0
- package/dist/stzh-components/p-a3bf419d.entry.js +1 -0
- package/dist/stzh-components/{p-c9c7d88a.entry.js → p-a47e205f.entry.js} +1 -1
- package/dist/stzh-components/p-aa2c81e6.system.entry.js +3 -0
- package/dist/stzh-components/{p-088b16c6.system.entry.js → p-abf13db9.system.entry.js} +1 -1
- package/dist/stzh-components/p-ad96eb50.entry.js +1 -0
- package/dist/stzh-components/p-ae7255f6.entry.js +1 -0
- package/dist/stzh-components/p-af05718d.system.entry.js +1 -0
- package/dist/stzh-components/p-af9aac53.entry.js +3 -0
- package/dist/stzh-components/{p-24b8df26.js → p-b10682ee.js} +1 -1
- package/dist/stzh-components/p-b4c28bf5.entry.js +1 -0
- package/dist/stzh-components/p-b4db3558.js +1 -0
- package/dist/stzh-components/p-b61f7404.entry.js +1 -0
- package/dist/stzh-components/p-b9adebdc.entry.js +1 -0
- package/dist/stzh-components/{p-c4c620fa.system.entry.js → p-b9bd42e6.system.entry.js} +1 -1
- package/dist/stzh-components/p-b9f784e4.system.entry.js +1 -0
- package/dist/stzh-components/{p-b92734db.entry.js → p-bcfba21f.entry.js} +1 -1
- package/dist/stzh-components/p-bd1a5d6d.system.entry.js +1 -0
- package/dist/stzh-components/p-c457dad2.system.entry.js +1 -0
- package/dist/stzh-components/{p-f8feb07b.entry.js → p-c80a9d50.entry.js} +1 -1
- package/dist/stzh-components/p-c9940c35.entry.js +1 -0
- package/dist/stzh-components/p-cab1a192.entry.js +1 -0
- package/dist/stzh-components/p-cd59cead.system.js +1 -0
- package/dist/stzh-components/{p-102e2bcd.system.entry.js → p-cd979ce9.system.entry.js} +1 -1
- package/dist/stzh-components/{p-512c38b3.system.entry.js → p-ce5db779.system.entry.js} +1 -1
- package/dist/stzh-components/p-d29fd401.entry.js +1 -0
- package/dist/stzh-components/{p-7e4261ce.system.entry.js → p-d5514e5b.system.entry.js} +1 -1
- package/dist/stzh-components/{p-51b3a560.system.entry.js → p-d585e8fd.system.entry.js} +1 -1
- package/dist/stzh-components/p-d5994419.system.entry.js +1 -0
- package/dist/stzh-components/p-d6e5f396.system.entry.js +1 -0
- package/dist/stzh-components/{p-444b2baf.entry.js → p-e085a0a0.entry.js} +1 -1
- package/dist/stzh-components/p-e1501622.system.entry.js +1 -0
- package/dist/stzh-components/p-e2d80ee3.entry.js +1 -0
- package/dist/stzh-components/p-e4aa12ba.system.entry.js +1 -0
- package/dist/stzh-components/p-e54f66ea.system.entry.js +1 -0
- package/dist/stzh-components/{p-d9ae09b5.entry.js → p-eb16ad0d.entry.js} +2 -2
- package/dist/stzh-components/p-eb1ea7f0.entry.js +1 -0
- package/dist/stzh-components/{p-e1b2785b.entry.js → p-ec87506f.entry.js} +1 -1
- package/dist/stzh-components/{p-309fc559.system.entry.js → p-ee20b95b.system.entry.js} +1 -1
- package/dist/stzh-components/p-f122e15d.system.entry.js +1 -0
- package/dist/stzh-components/{p-809ed955.system.entry.js → p-f27d1a06.system.entry.js} +1 -1
- package/dist/stzh-components/p-f449f909.entry.js +1 -0
- package/dist/stzh-components/{p-af67ea5e.entry.js → p-f4c0d928.entry.js} +1 -1
- package/dist/stzh-components/p-f725921a.entry.js +1 -0
- package/dist/stzh-components/p-fe1c8047.system.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-carousel/stzh-carousel.localization.d.ts +5 -0
- package/dist/types/components/stzh-clamp/stzh-clamp.localization.d.ts +5 -0
- package/dist/types/components.d.ts +250 -2
- package/dist/types/index.d.ts +20 -0
- package/dist/types/utils/translation-utils.d.ts +2 -0
- package/dist/vscode-data.json +106 -17
- package/package.json +6 -4
- package/dist/cjs/app-globals-57922fc2.js +0 -56
- package/dist/esm/app-globals-b848652e.js +0 -54
- package/dist/esm-es5/_commonjsHelpers-f9dc4873.js +0 -1
- package/dist/esm-es5/app-globals-b848652e.js +0 -1
- package/dist/stzh-components/p-07dc23a3.system.entry.js +0 -1
- package/dist/stzh-components/p-0ba944ab.entry.js +0 -1
- package/dist/stzh-components/p-12856e02.system.entry.js +0 -1
- package/dist/stzh-components/p-16c0b9ae.entry.js +0 -3
- package/dist/stzh-components/p-18e20038.entry.js +0 -1
- package/dist/stzh-components/p-1bcda13d.system.entry.js +0 -1
- package/dist/stzh-components/p-1d435dd8.system.entry.js +0 -1
- package/dist/stzh-components/p-1f74846f.entry.js +0 -1
- package/dist/stzh-components/p-29e9ad9f.system.entry.js +0 -1
- package/dist/stzh-components/p-30a9de85.system.entry.js +0 -1
- package/dist/stzh-components/p-37920e74.system.entry.js +0 -1
- package/dist/stzh-components/p-4633b93d.entry.js +0 -1
- package/dist/stzh-components/p-4c60da30.entry.js +0 -1
- package/dist/stzh-components/p-4eee30ea.system.entry.js +0 -1
- package/dist/stzh-components/p-532b4218.entry.js +0 -1
- package/dist/stzh-components/p-5d55a672.system.entry.js +0 -1
- package/dist/stzh-components/p-64cdef2f.entry.js +0 -1
- package/dist/stzh-components/p-65918f6f.system.js +0 -1
- package/dist/stzh-components/p-761ee059.entry.js +0 -1
- package/dist/stzh-components/p-798ac79c.entry.js +0 -1
- package/dist/stzh-components/p-7f857e56.entry.js +0 -1
- package/dist/stzh-components/p-84a6e023.system.entry.js +0 -1
- package/dist/stzh-components/p-89bd0d46.entry.js +0 -1
- package/dist/stzh-components/p-8caafed2.system.entry.js +0 -1
- package/dist/stzh-components/p-923dffc7.entry.js +0 -1
- package/dist/stzh-components/p-94662bed.system.js +0 -1
- package/dist/stzh-components/p-951b04ab.entry.js +0 -1
- package/dist/stzh-components/p-990f395b.entry.js +0 -1
- package/dist/stzh-components/p-99b82949.entry.js +0 -1
- package/dist/stzh-components/p-9be21c72.entry.js +0 -1
- package/dist/stzh-components/p-9c35c9cd.entry.js +0 -1
- package/dist/stzh-components/p-9c90535a.system.js +0 -1
- package/dist/stzh-components/p-9de8b25b.entry.js +0 -1
- package/dist/stzh-components/p-a11ef2d6.system.entry.js +0 -1
- package/dist/stzh-components/p-a691fe87.js +0 -1
- package/dist/stzh-components/p-a6be6aca.system.entry.js +0 -1
- package/dist/stzh-components/p-a6d4a8b1.js +0 -1
- package/dist/stzh-components/p-a7eb3e02.system.entry.js +0 -1
- package/dist/stzh-components/p-ae38f1d2.entry.js +0 -1
- package/dist/stzh-components/p-b04a9d0f.system.entry.js +0 -1
- package/dist/stzh-components/p-b422041d.entry.js +0 -1
- package/dist/stzh-components/p-b9372a2a.entry.js +0 -1
- package/dist/stzh-components/p-bb698e26.entry.js +0 -1
- package/dist/stzh-components/p-bc545121.entry.js +0 -1
- package/dist/stzh-components/p-c2a22eb8.entry.js +0 -1
- package/dist/stzh-components/p-cc722b35.system.entry.js +0 -3
- package/dist/stzh-components/p-d1cfe06b.entry.js +0 -1
- package/dist/stzh-components/p-d943e02c.system.entry.js +0 -1
- package/dist/stzh-components/p-db306e24.entry.js +0 -1
- package/dist/stzh-components/p-e4a8f1bc.system.entry.js +0 -1
- package/dist/stzh-components/p-ed783154.system.entry.js +0 -1
- package/dist/stzh-components/p-ee4b939a.entry.js +0 -1
- package/dist/stzh-components/p-f0e2a32d.entry.js +0 -1
- package/dist/stzh-components/p-fd15cc86.entry.js +0 -1
- package/dist/types/components/stzh-clamp/stzh-clamp.d.ts +0 -16
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-36e72c1d.system.js","./p-d4b7a303.system.js"],(function(t){"use strict";var e,a,i,r,s;return{setters:[function(t){e=t.r;a=t.h;i=t.c;r=t.g},function(t){s=t.s}],execute:function(){var l=':host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-table{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block;--max-height:var(--stzh-table-max-height);--min-width:var(--stzh-table-min-width);--cell-padding:var(--stzh-table-cell-padding);--input-width:var(--stzh-table-input-width)}stzh-table[hidden]{display:none}stzh-table *,stzh-table *::before,stzh-table *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-table[disable-min-width]:not([disable-min-width=false]){--min-width:none}.stzh-table{}.stzh-table__header{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-bottom:0.0625rem solid var(--stzh-base-border-color);padding-bottom:var(--stzh-space-small);margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-table__header{padding-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-table__header{padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.stzh-table__header{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-table__header{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-table__header{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}.stzh-table__heading{margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-table__heading{margin-bottom:0}}.stzh-table__header .stzh-table__search{width:var(--stzh-table-input-width)}@media screen and (min-width: 1024px){.stzh-table__header .stzh-table__search{margin-left:var(--stzh-space-large)}}.stzh-table__outer-wrapper{position:relative}.stzh-table__outer-wrapper::before,.stzh-table__outer-wrapper::after{z-index:4;background:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.16)), to(rgba(0, 0, 0, 0)));background:linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:0.375rem;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed);opacity:0}.stzh-table__outer-wrapper::before{left:0}.stzh-table__outer-wrapper::after{right:0;-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.stzh-table__wrapper{overflow-x:auto;max-height:var(--max-height)}.stzh-table__sort-button{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:inherit;line-height:inherit;color:inherit;padding:var(--cell-padding)}.stzh-table__sort-button:hover,.stzh-table__sort-button:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-table__sort-icon{opacity:0}.stzh-table table{width:100%;border-spacing:0;min-width:var(--min-width)}.stzh-table thead{position:-webkit-sticky;position:sticky;top:0;z-index:3}.stzh-table tr:hover td,.stzh-table tr:hover th{background-color:var(--stzh-color-grey5)}.stzh-table td,.stzh-table th{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);text-align:left;border:none;vertical-align:top;border:none;border-bottom:0.0625rem solid var(--stzh-base-border-color);background-color:var(--stzh-color-white);-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed);padding:var(--cell-padding);}.stzh-table td a,.stzh-table th a{color:var(--stzh-link-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius)}.stzh-table td a:hover,.stzh-table td a:focus,.stzh-table th a:hover,.stzh-table th a:focus{color:var(--stzh-link-hover-color)}.stzh-table td b,.stzh-table td strong,.stzh-table th b,.stzh-table th strong{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal}.stzh-table td i,.stzh-table td em,.stzh-table th i,.stzh-table th em{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-table td.align-left,.stzh-table th.align-left{text-align:left}.stzh-table td.align-right,.stzh-table th.align-right{text-align:right}.stzh-table td.align-center,.stzh-table th.align-center{text-align:center}.stzh-table td.valign-auto,.stzh-table th.valign-auto{vertical-align:auto}.stzh-table td.valign-middle,.stzh-table th.valign-middle{vertical-align:middle}.stzh-table td.valign-bottom,.stzh-table th.valign-bottom{vertical-align:bottom}.stzh-table td.nowrap,.stzh-table th.nowrap{white-space:nowrap}.stzh-table td.is-sticky-left,.stzh-table td.is-sticky-right,.stzh-table th.is-sticky-left,.stzh-table th.is-sticky-right{position:-webkit-sticky;position:sticky;z-index:1}.stzh-table td.has-sticked,.stzh-table th.has-sticked{z-index:2}.stzh-table td.is-sticky-left,.stzh-table th.is-sticky-left{left:0}.stzh-table td.is-sticky-right,.stzh-table th.is-sticky-right{right:0}.stzh-table td.is-sticky-left::after,.stzh-table td.is-sticky-right::after,.stzh-table th.is-sticky-left::after,.stzh-table th.is-sticky-right::after{background:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.16)), to(rgba(0, 0, 0, 0)));background:linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:0.375rem;-webkit-transform:translate(100%);transform:translate(100%);opacity:0;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed)}.stzh-table td.is-sticky-left::after,.stzh-table th.is-sticky-left::after{right:0}.stzh-table td.is-sticky-right::after,.stzh-table th.is-sticky-right::after{left:0;-webkit-transform:rotate(-180deg) translate(100%);transform:rotate(-180deg) translate(100%)}.stzh-table td.has-sticked.is-sticky-left::after,.stzh-table td.has-sticked.is-sticky-right::after,.stzh-table th.has-sticked.is-sticky-left::after,.stzh-table th.has-sticked.is-sticky-right::after{opacity:1}.stzh-table th{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-table th.is-sortable{padding:0}td.has-sorted .stzh-table__sort-icon,th.has-sorted .stzh-table__sort-icon{opacity:1}td.has-sorted-desc .stzh-table__sort-icon,th.has-sorted-desc .stzh-table__sort-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.stzh-table.has-scroll-left-shadow .stzh-table__outer-wrapper::before,.stzh-table.has-scroll-right-shadow .stzh-table__outer-wrapper::after{opacity:1}';var o="has-sticked";var h="is-sticky-left";var n="is-sticky-right";var c=t("stzh_table",function(){function t(t){var a=this;e(this,t);this.updateCellClasses=function(){if(!a.tableWrapper){return}var t=Array.from(a.tableWrapper.querySelectorAll("tr"));t.forEach((function(t){var e=Array.from(t.children);e.forEach((function(t,e){t.classList.remove(h);t.classList.remove(n);if(e===a.fixedLeft){t.classList.add(h)}if(e===a.fixedRight){t.classList.add(n)}}))}))};this.updateScrollStates=function(){if(!a.tableWrapper){return}var t=a.tableWrapper.scrollLeft;var e=a.tableWrapper.scrollWidth;var i=a.tableWrapper.clientWidth;a.isScrollable=e>i;a.hasScrollLeft=t>0;a.hasScrollRight=t<e-i;var r=Array.from(a.tableWrapper.querySelectorAll("tr"));var s=r[0];if(!s){return}a.cellsStickyLeft=[];a.cellsStickyRight=[];var l=Array.from(s.children);l.forEach((function(e,r){var s=e.offsetLeft;var l=s+e.offsetWidth;if(a.hasScrollLeft&&r===a.fixedLeft&&Math.ceil(t)>=s){a.cellsStickyLeft.push(r)}if(a.hasScrollRight&&r===a.fixedRight&&Math.ceil(t)+i<=l){a.cellsStickyRight.push(r)}}));r.forEach((function(t){var e=Array.from(t.children);e.forEach((function(t,e){if(a.cellsStickyLeft.indexOf(e)>-1||a.cellsStickyRight.indexOf(e)>-1){t.classList.add(o)}else{t.classList.remove(o)}}))}))};this.init=function(){var t=a.element.querySelector('stzh-input[slot="search"], [slot="search"] stzh-input');if(t){s(t,{size:"small"})}a.updateCellClasses();a.updateScrollStates()};this.handleScroll=function(){if(a.debounceScroll){window.cancelAnimationFrame(a.debounceScroll)}a.debounceScroll=requestAnimationFrame(a.updateScrollStates)};this.fixedLeft=null;this.fixedRight=null;this.disableMinWidth=false;this.hasScrollLeft=false;this.hasScrollRight=false;this.isScrollable=false;this.cellsStickyLeft=[];this.cellsStickyRight=[]}t.prototype.fixedCellWatcher=function(){this.updateCellClasses();this.updateScrollStates()};t.prototype.handleResize=function(){this.updateScrollStates()};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=this;var e={"stzh-table":true,"is-scrollable":this.isScrollable,"has-scroll-left":this.hasScrollLeft,"has-scroll-right":this.hasScrollRight,"has-scroll-left-shadow":this.hasScrollLeft&&this.cellsStickyLeft.length===0,"has-scroll-right-shadow":this.hasScrollRight&&this.cellsStickyRight.length===0};return a(i,null,a("div",{class:e},a("div",{class:"stzh-table__header"},a("div",{class:"stzh-table__heading"},a("slot",{name:"heading"})),a("div",{class:"stzh-table__search"},a("slot",{name:"search"}))),a("div",{class:"stzh-table__outer-wrapper"},a("div",{ref:function(e){return t.tableWrapper=e},class:"stzh-table__wrapper",onScroll:this.handleScroll},a("slot",null)))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{fixedLeft:["fixedCellWatcher"],fixedRight:["fixedCellWatcher"]}},enumerable:false,configurable:true});return t}());c.style=l}}}));
|
|
1
|
+
System.register(["./p-36e72c1d.system.js","./p-d4b7a303.system.js"],(function(t){"use strict";var e,a,i,s,r;return{setters:[function(t){e=t.r;a=t.h;i=t.c;s=t.g},function(t){r=t.s}],execute:function(){var l=':host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-table{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block;--max-height:var(--stzh-table-max-height);--min-width:var(--stzh-table-min-width);--cell-padding:var(--stzh-table-cell-padding);--input-width:var(--stzh-table-input-width)}stzh-table[hidden]{display:none}stzh-table *,stzh-table *::before,stzh-table *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-table[disable-min-width]:not([disable-min-width=false]){--min-width:none}.stzh-table{}.stzh-table__header{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-bottom:0.0625rem solid var(--stzh-base-border-color);padding-bottom:var(--stzh-space-small);margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-table__header{padding-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-table__header{padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.stzh-table__header{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-table__header{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-table__header{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}.stzh-table__heading{margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-table__heading{margin-bottom:0}}.stzh-table__header .stzh-table__search{width:var(--stzh-table-input-width)}@media screen and (min-width: 1024px){.stzh-table__header .stzh-table__search{margin-left:var(--stzh-space-large)}}.stzh-table__outer-wrapper{position:relative}.stzh-table__outer-wrapper::before,.stzh-table__outer-wrapper::after{z-index:4;background:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.16)), to(rgba(0, 0, 0, 0)));background:linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:0.375rem;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed);opacity:0}.stzh-table__outer-wrapper::before{left:0}.stzh-table__outer-wrapper::after{right:0;-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.stzh-table__wrapper{overflow-x:auto;max-height:var(--max-height)}.stzh-table__sort-button{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:inherit;line-height:inherit;color:inherit;padding:var(--cell-padding)}.stzh-table__sort-button:hover,.stzh-table__sort-button:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-table__sort-icon{opacity:0}.stzh-table table{width:100%;border-spacing:0;min-width:var(--min-width)}.stzh-table thead{position:-webkit-sticky;position:sticky;top:0;z-index:3}.stzh-table tr:hover td,.stzh-table tr:hover th{background-color:var(--stzh-color-grey5)}.stzh-table td,.stzh-table th{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);text-align:left;border:none;vertical-align:top;border:none;border-bottom:0.0625rem solid var(--stzh-base-border-color);background-color:var(--stzh-color-white);-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed);padding:var(--cell-padding);}.stzh-table td a,.stzh-table th a{color:var(--stzh-link-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius)}.stzh-table td a:hover,.stzh-table td a:focus,.stzh-table th a:hover,.stzh-table th a:focus{color:var(--stzh-link-hover-color)}.stzh-table td b,.stzh-table td strong,.stzh-table th b,.stzh-table th strong{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal}.stzh-table td i,.stzh-table td em,.stzh-table th i,.stzh-table th em{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-table td.align-left,.stzh-table th.align-left{text-align:left}.stzh-table td.align-right,.stzh-table th.align-right{text-align:right}.stzh-table td.align-center,.stzh-table th.align-center{text-align:center}.stzh-table td.valign-auto,.stzh-table th.valign-auto{vertical-align:auto}.stzh-table td.valign-middle,.stzh-table th.valign-middle{vertical-align:middle}.stzh-table td.valign-bottom,.stzh-table th.valign-bottom{vertical-align:bottom}.stzh-table td.nowrap,.stzh-table th.nowrap{white-space:nowrap}.stzh-table td.is-sticky-left,.stzh-table td.is-sticky-right,.stzh-table th.is-sticky-left,.stzh-table th.is-sticky-right{position:-webkit-sticky;position:sticky;z-index:1}.stzh-table td.has-sticked,.stzh-table th.has-sticked{z-index:2}.stzh-table td.is-sticky-left,.stzh-table th.is-sticky-left{left:0}.stzh-table td.is-sticky-right,.stzh-table th.is-sticky-right{right:0}.stzh-table td.is-sticky-left::after,.stzh-table td.is-sticky-right::after,.stzh-table th.is-sticky-left::after,.stzh-table th.is-sticky-right::after{background:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.16)), to(rgba(0, 0, 0, 0)));background:linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:0.375rem;-webkit-transform:translate(100%);transform:translate(100%);opacity:0;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed)}.stzh-table td.is-sticky-left::after,.stzh-table th.is-sticky-left::after{right:0}.stzh-table td.is-sticky-right::after,.stzh-table th.is-sticky-right::after{left:0;-webkit-transform:rotate(-180deg) translate(100%);transform:rotate(-180deg) translate(100%)}.stzh-table td.has-sticked.is-sticky-left::after,.stzh-table td.has-sticked.is-sticky-right::after,.stzh-table th.has-sticked.is-sticky-left::after,.stzh-table th.has-sticked.is-sticky-right::after{opacity:1}.stzh-table th{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-table th.is-sortable{padding:0}td.has-sorted .stzh-table__sort-icon,th.has-sorted .stzh-table__sort-icon{opacity:1}td.has-sorted-desc .stzh-table__sort-icon,th.has-sorted-desc .stzh-table__sort-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.stzh-table.has-scroll-left-shadow .stzh-table__outer-wrapper::before,.stzh-table.has-scroll-right-shadow .stzh-table__outer-wrapper::after{opacity:1}';var o="has-sticked";var h="is-sticky-left";var n="is-sticky-right";var c=t("stzh_table",function(){function t(t){var a=this;e(this,t);this.updateCellClasses=function(){if(!a.tableWrapper){return}var t=Array.from(a.tableWrapper.querySelectorAll("tr"));t.forEach((function(t){var e=Array.from(t.children);e.forEach((function(t,e){t.classList.remove(h);t.classList.remove(n);if(e===a.fixedLeft){t.classList.add(h)}if(e===a.fixedRight){t.classList.add(n)}}))}))};this.updateScrollStates=function(){if(!a.tableWrapper){return}var t=a.tableWrapper.scrollLeft;var e=a.tableWrapper.scrollWidth;var i=a.tableWrapper.clientWidth;a.isScrollable=e>i;a.hasScrollLeft=t>0;a.hasScrollRight=t<e-i;var s=Array.from(a.tableWrapper.querySelectorAll("tr"));var r=s[0];if(!r){return}a.cellsStickyLeft=[];a.cellsStickyRight=[];var l=Array.from(r.children);l.forEach((function(e,s){var r=e.offsetLeft;var l=r+e.offsetWidth;if(a.hasScrollLeft&&s===a.fixedLeft&&Math.ceil(t)>=r){a.cellsStickyLeft.push(s)}if(a.hasScrollRight&&s===a.fixedRight&&Math.ceil(t)+i<=l){a.cellsStickyRight.push(s)}}));s.forEach((function(t){var e=Array.from(t.children);e.forEach((function(t,e){if(a.cellsStickyLeft.indexOf(e)>-1||a.cellsStickyRight.indexOf(e)>-1){t.classList.add(o)}else{t.classList.remove(o)}}))}))};this.init=function(){var t=a.element.querySelector('stzh-input[slot="search"], [slot="search"] stzh-input');if(t){r(t,{size:"small"})}a.updateCellClasses();a.updateScrollStates()};this.handleResize=function(){if(a.debounceResize){window.cancelAnimationFrame(a.debounceResize)}a.debounceResize=requestAnimationFrame(a.updateScrollStates)};this.handleScroll=function(){if(a.debounceScroll){window.cancelAnimationFrame(a.debounceScroll)}a.debounceScroll=requestAnimationFrame(a.updateScrollStates)};this.fixedLeft=null;this.fixedRight=null;this.disableMinWidth=false;this.hasScrollLeft=false;this.hasScrollRight=false;this.isScrollable=false;this.cellsStickyLeft=[];this.cellsStickyRight=[]}t.prototype.fixedCellWatcher=function(){this.updateCellClasses();this.updateScrollStates()};t.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true});this.resizeObserver=new ResizeObserver(this.handleResize);this.resizeObserver.observe(this.element)};t.prototype.disconnectedCallback=function(){if(this.observer){this.observer.disconnect()}if(this.resizeObserver){this.resizeObserver.disconnect()}};t.prototype.render=function(){var t=this;var e={"stzh-table":true,"is-scrollable":this.isScrollable,"has-scroll-left":this.hasScrollLeft,"has-scroll-right":this.hasScrollRight,"has-scroll-left-shadow":this.hasScrollLeft&&this.cellsStickyLeft.length===0,"has-scroll-right-shadow":this.hasScrollRight&&this.cellsStickyRight.length===0};return a(i,null,a("div",{class:e},a("div",{class:"stzh-table__header"},a("div",{class:"stzh-table__heading"},a("slot",{name:"heading"})),a("div",{class:"stzh-table__search"},a("slot",{name:"search"}))),a("div",{class:"stzh-table__outer-wrapper"},a("div",{ref:function(e){return t.tableWrapper=e},class:"stzh-table__wrapper",onScroll:this.handleScroll},a("slot",null)))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{fixedLeft:["fixedCellWatcher"],fixedRight:["fixedCellWatcher"]}},enumerable:false,configurable:true});return t}());c.style=l}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,e as s,j as e,h as i,F as a,c as h,g as r}from"./p-99a3742a.js";import{s as c,h as o,c as d}from"./p-5c697491.js";import{m as l}from"./p-9111e257.js";import{f as n}from"./p-25a09313.js";import{S as z}from"./p-7f0fb35c.js";const p=class{constructor(i){t(this,i),this.stzhClick=s(this,"stzhClick",7),this.stzhCollapse=s(this,"stzhCollapse",7),this.stzhSubtitleClick=s(this,"stzhSubtitleClick",7),this.stzhStarClick=s(this,"stzhStarClick",7),this.stzhHeaderActionClick=s(this,"stzhHeaderActionClick",7),this._subtitles=[],this.nodeChange=t=>{let s=!1;t.forEach((t=>{(t.target.closest("[slot]")||t.target.hasAttribute("slot"))&&(s=!0)})),s&&e(this.element)},this.update=()=>{this.mainElement&&(this.mainElement.classList.remove("stzh-card--has-collapsed-header"),l("medium").matches)&&this.headerElement.clientWidth-this.headerLeftElement.clientWidth<=this.headerRightElement.clientWidth&&this.mainElement.classList.add("stzh-card--has-collapsed-header")},this.headerClick=t=>{if(!this.collapsible)return;const s=["stzh-popover","stzh-tooltip","button","a","input","select","textarea","iframe","details","label","area"];t.composedPath().map((t=>{var s;return null===(s=t.tagName)||void 0===s?void 0:s.toLowerCase()})).some((t=>s.includes(t)))||(this.collapsed=!this.collapsed,this.stzhCollapse.emit({component:"stzh-card",collapsed:this.collapsed}))},this.subtitleClick=()=>{this.subtitleInteractive&&this.stzhSubtitleClick.emit({component:"stzh-card"})},this.starToggleClick=()=>{this.stzhStarClick.emit({component:"stzh-card",starred:this.starred})},this.actionClick=t=>{this.stzhHeaderActionClick.emit({component:"stzh-card",action:t})},this.arrowUpClick=()=>{const t=this.element.closest("stzh-sortable");if(t){const s=this.findSortableChildElement();t.moveItem(s,"up")}},this.arrowDownClick=()=>{const t=this.element.closest("stzh-sortable");if(t){const s=this.findSortableChildElement();t.moveItem(s,"down")}},this.updateElementInsideSortable=()=>{if(!this.element.closest("stzh-sortable"))return this.sortable.removeEventListener("stzhUpdate",this.updateElementInsideSortable),void this.sortable.removeEventListener("stzhDisable",this.updateElementInsideSortable);this.element&&e(this.element)},this.init=()=>{this.element.querySelectorAll('stzh-chip[slot="meta"], [slot="meta"] stzh-chip').forEach((t=>{c(t,{size:"small"})}))},this.handleResize=()=>{this.debounceResize&&window.cancelAnimationFrame(this.debounceResize),this.debounceResize=requestAnimationFrame(this.update)},this.handleMutation=t=>{this.init(),this.nodeChange(t)},this.handleSelectionChange=t=>{this.checked=t.detail.checked},this.cardClick=t=>{this.stzhClick.emit({component:"stzh-card",originalEvent:t})},this.localization=void 0,this.collapsed=!1,this.starred=!1,this.starrable=!1,this.selectable=!1,this.checked=!1,this.name="",this.href=void 0,this.target=void 0,this.value="",this.disabled=!1,this.withArrow=!1,this.heading="",this.subtitle="",this.headerActions=[],this.footerActions=[],this.subtitleInteractive=!1,this.sortableDisabled=!1,this.collapsible=!1,this.hideHeaderBorder=!1,this.hideFooterBorder=!1,this.hideElevation=!1,this.hideMovementActions=!1}subtitleWatcher(t){if("string"==typeof t)try{this._subtitles=JSON.parse(t)}catch(s){this._subtitles=[t]}else this._subtitles=t}headerActionsWatcher(t){this._headerActions="string"==typeof t?JSON.parse(t):t}footerActionsWatcher(t){this._footerActions="string"==typeof t?JSON.parse(t):t}collapsedWatcher(){this.handleResize()}findSortableChildElement(){const t=this.element.closest("stzh-sortable");if(t){let s=this.element,e=null;for(e="function"==typeof t.container?t.container():t.container;s.parentElement&&s.parentElement!==e;)s=s.parentElement;return s}}async componentWillLoad(){this.subtitleWatcher(this.subtitle),this.headerActionsWatcher(this.headerActions),this.footerActionsWatcher(this.footerActions),this.localization||(this.localization=await n(this.element,"card"))}componentDidLoad(){this.sortable=this.element.closest("stzh-sortable"),this.sortable&&(this.sortable.addEventListener("stzhUpdate",this.updateElementInsideSortable),this.sortable.addEventListener("stzhDisable",this.updateElementInsideSortable))}connectedCallback(){this.init(),this.observer=new MutationObserver(this.handleMutation),this.observer.observe(this.element,{childList:!0,subtree:!0}),this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.element)}disconnectedCallback(){this.observer&&this.observer.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect()}render(){var t,s,e;const r=o(this.element,"image"),c=o(this.element,"content"),d=this.subtitleInteractive?"button":"span",l=this.findSortableChildElement(),n=(null==l?void 0:l.parentElement)&&0===Array.from(null===(t=null==l?void 0:l.parentElement)||void 0===t?void 0:t.children).indexOf(l),z=(null==l?void 0:l.parentElement)&&Array.from(null===(s=null==l?void 0:l.parentElement)||void 0===s?void 0:s.children).indexOf(l)===(null===(e=null==l?void 0:l.parentElement)||void 0===e?void 0:e.children.length)-1,p=!this.sortableDisabled&&this.sortable&&!this.sortable.disabled,m=p&&!this.hideMovementActions,f=this._headerActions.filter((t=>!t.onlyCollapseText));return i(h,{role:"listitem","aria-label":this.heading,"is-sortable":p},i("article",{ref:t=>this.mainElement=t,class:{"stzh-card":!0,"stzh-card--has-link":!!this.href,"stzh-card--has-image":r,"stzh-card--has-content":c,"stzh-card--has-subtitle":!!this.subtitle,"stzh-card--has-subtitle-interactive":!!this.subtitle&&this.subtitleInteractive,"stzh-card--has-hidden-header-border":this.hideHeaderBorder,"stzh-card--has-hidden-footer-border":this.hideFooterBorder,"stzh-card--is-collapsible":this.collapsible,"stzh-card--is-collapsed":this.collapsed,"stzh-card--is-starred":this.starred,"stzh-card--is-checked":this.checked,"stzh-card--is-sortable":p}},i("a",{"aria-hidden":"true",tabindex:"-1",class:"stzh-card__image-link",href:this.href,target:this.target,onClick:this.href?this.cardClick:null},i("slot",{name:"image"})),i("div",{class:"stzh-card__content-wrapper"},i("stzh-icon",{class:"stzh-card__dnd",name:"drag"}),i("header",{ref:t=>this.headerElement=t,class:"stzh-card__header",onClick:this.headerClick},i("div",{class:"stzh-card__header-top"},i("div",{ref:t=>this.headerLeftElement=t,class:"stzh-card__header-left"},i("div",{class:"stzh-card__title-area"},i("h3",{class:"stzh-card__title"},i("a",{class:"stzh-card__title-link",href:this.href,target:this.target,onClick:this.href?this.cardClick:null},this.heading?this.heading:i("slot",{name:"heading"}))),this._subtitles.length>0&&i(d,{class:"stzh-card__subtitle",onClick:this.subtitleClick},this._subtitles.map((t=>i("span",{class:"stzh-card__subtitle-text"},t)))))),i("div",{ref:t=>this.headerRightElement=t,class:"stzh-card__header-right"},i("div",{class:"stzh-card__card-actions"},this._headerActions.map((t=>i("stzh-button",{class:{"stzh-card__card-action":!0,"is-button":!0,"show-medium":!t.onlyCollapseText,"hide-when-collapsed":!t.onlyCollapseText,"hide-text-when-collapsed":t.onlyCollapseText},icon:t.icon,badge:t.badge,badgeEmpty:t.badgeEmpty,badgeType:t.badgeType,variant:"tertiary",size:"tiny",badgePosition:"icon",onClick:()=>{this.actionClick(t)}},i("span",{class:{"vshow-medium":t.onlyCollapseText,"vhide-when-collapsed":t.onlyCollapseText}},t.label)))),this.starrable&&i("stzh-tooltip",null,i("stzh-button",{class:"stzh-card__card-action is-star",icon:this.starred?"star-filled":"star",variant:"tertiary",size:"tiny",iconOnly:!0,onClick:this.starToggleClick}),i("div",{slot:"content"},this.starred?this.localization.actionRemove:this.localization.actionAdd)),(f.length>0||this.starrable||m)&&i("stzh-popover",{label:this.localization.actionsPopoverLabel,placement:"bottom-end",class:{"stzh-card__card-action-popover":!0,"hide-medium show-when-collapsed":!this.starrable&&!m}},i("stzh-button",{class:"stzh-card__card-action is-further",variant:"tertiary",size:"tiny",icon:"more-vertical",iconOnly:!0}),i("stzh-menu",{slot:"content"},this.starrable&&i("stzh-menu-item",{icon:this.starred?"star-filled":"star",onClick:this.starToggleClick},this.starred?this.localization.actionRemove:this.localization.actionAdd),f.map((t=>i("stzh-menu-item",{class:"hide-medium show-when-collapsed",icon:t.icon,badge:t.badge,badgeEmpty:t.badgeEmpty,badgeType:t.badgeType,onClick:()=>{this.actionClick(t)}},t.label))),m&&i(a,null,!n&&i("stzh-menu-item",{icon:"arrow-up",onClick:this.arrowUpClick},this.localization.actionMoveUp),!z&&i("stzh-menu-item",{icon:"arrow-down",onClick:this.arrowDownClick},this.localization.actionMoveDown))))))),i("div",{class:"stzh-card__header-meta"},i("slot",{name:"meta"}))),i("div",{class:"stzh-card__content hide-when-collapsed"},i("slot",{name:"content"})),i("div",{class:"stzh-card__footer hide-when-collapsed"},i("slot",{name:"footer"},this._footerActions.length>0&&i("stzh-actionset",{class:"stzh-card__footer-actionset",actions:this._footerActions}),this.selectable&&i("stzh-button",{class:"stzh-card__footer-select-button",fullwidth:!0,type:"radio",variant:"secondary",name:this.name,value:this.value,checked:this.checked,disabled:this.disabled,label:this.localization.select,onStzhChange:this.handleSelectionChange}),this.withArrow&&i("stzh-icon",{class:"stzh-card__footer-arrow",name:"arrow-right-long"}))))))}get element(){return r(this)}static get watchers(){return{subtitle:["subtitleWatcher"],headerActions:["headerActionsWatcher"],footerActions:["footerActionsWatcher"],collapsed:["collapsedWatcher"]}}};p.style='.sc-stzh-card-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-card-h{display:none}.sc-stzh-card-h *.sc-stzh-card,.sc-stzh-card-h *.sc-stzh-card::before,.sc-stzh-card-h *.sc-stzh-card::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-card-h{--box-shadow:var(--stzh-box-shadow-popover);--border-color:var(--stzh-base-border-color);--border-radius:0.1875rem;--content-min-height:7.5rem;--dnd-visibility:hidden;--dnd-opacity:0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;border-radius:var(--border-radius)}[collapsed].sc-stzh-card-h:not([collapsed=false]){--content-min-height:none}[checked].sc-stzh-card-h:not([checked=false]){outline:0.1875rem solid var(--stzh-color-primary, var(--stzh-color-zueriblue))}[hide-elevation].sc-stzh-card-h:not([hide-elevation=false]){--box-shadow:none}[hide-elevation].sc-stzh-card-h:not([hide-elevation=false])[href]:hover,[hide-elevation].sc-stzh-card-h:not([hide-elevation=false])[href]:focus-within,[hide-elevation].sc-stzh-card-h:not([hide-elevation=false]).is-selected,[hide-elevation].sc-stzh-card-h:not([hide-elevation=false]).is-chosen,.is-selected [hide-elevation].sc-stzh-card-h:not([hide-elevation=false]),.is-chosen [hide-elevation].sc-stzh-card-h:not([hide-elevation=false]){--box-shadow:var(--stzh-box-shadow-popover)}.is-ghost.sc-stzh-card-h::after,.is-ghost .sc-stzh-card-h::after{border-radius:var(--border-radius)}[href].sc-stzh-card-h:hover,[href].sc-stzh-card-h:focus-within,.is-selected.sc-stzh-card-h,.is-chosen.sc-stzh-card-h,.is-selected .sc-stzh-card-h,.is-chosen .sc-stzh-card-h{--box-shadow:var(--stzh-box-shadow-overlay)}.is-ghost.sc-stzh-card-h,.is-ghost .sc-stzh-card-h{--box-shadow:none;--border-color:transparent;overflow:hidden}.is-drag.sc-stzh-card-h,.is-chosen.sc-stzh-card-h,.is-ghost.sc-stzh-card-h,.is-selected.sc-stzh-card-h,.is-drag .sc-stzh-card-h,.is-chosen .sc-stzh-card-h,.is-ghost .sc-stzh-card-h,.is-selected .sc-stzh-card-h,[is-sortable].sc-stzh-card-h:hover{--dnd-visibility:visible;--dnd-opacity:1}.sc-stzh-card-h .sc-stzh-card-s>*{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.sc-stzh-card-h .sc-stzh-card-s>[slot=image]{width:100%;max-width:100%}.sc-stzh-card-h .sc-stzh-card-s>img[slot=image]{display:block}.sc-stzh-card-h .sc-stzh-card-s>[slot=meta]:not(:last-child){margin-right:var(--stzh-space-xsmall)}.sc-stzh-card-h .sc-stzh-card-s>table{border:0;border-spacing:0}.sc-stzh-card-h .sc-stzh-card-s>table th{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.sc-stzh-card-h .sc-stzh-card-s>table td,.sc-stzh-card-h .sc-stzh-card-s>table th{padding:0}.sc-stzh-card-h .sc-stzh-card-s>table td{color:var(--stzh-color-black);padding-left:var(--stzh-space-xsmall)}.sc-stzh-card-h .sc-stzh-card-s>[slot=heading],.stzh-card__title.sc-stzh-card{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-default-heading-letter-spacing)}@media screen and (min-width: 600px){.sc-stzh-card-h .sc-stzh-card-s>[slot=heading],.stzh-card__title.sc-stzh-card{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-small-heading-letter-spacing)}}@media screen and (min-width: 1024px){.sc-stzh-card-h .sc-stzh-card-s>[slot=heading],.stzh-card__title.sc-stzh-card{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-heading-line-height, var(--stzh-font-regular-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-heading-letter-spacing)}}.stzh-card.sc-stzh-card{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--stzh-color-white);border-radius:var(--border-radius);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);border-width:0.0625rem;border-style:solid;border-color:var(--border-color);-webkit-transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed), -webkit-box-shadow var(--stzh-base-transition-animation-speed)}@media screen and (max-width: 1023px){.stzh-card.sc-stzh-card .vshow-medium.sc-stzh-card{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}}@media screen and (max-width: 1023px){.stzh-card.sc-stzh-card .show-medium.sc-stzh-card{display:none}}@media screen and (min-width: 1024px){.stzh-card.sc-stzh-card .hide-medium.sc-stzh-card{display:none}}.stzh-card__content-wrapper.sc-stzh-card{position:relative;-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:var(--content-min-height)}.stzh-card__dnd.sc-stzh-card{--size:var(--stzh-icon-size-xsmall);position:absolute;left:0.1875rem;top:1.4375rem;display:-ms-flexbox;display:flex;visibility:var(--dnd-visibility);opacity:var(--dnd-opacity);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);display:none}@media screen and (min-width: 1024px){.stzh-card__dnd.sc-stzh-card{display:block}}@media screen and (min-width: 1260px){.stzh-card__dnd.sc-stzh-card{left:0.25rem;top:1.6875rem}}.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-medium);border-bottom:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-xlarge)}}.stzh-card__header-top.sc-stzh-card{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:start;align-items:flex-start}.stzh-card__header-meta.sc-stzh-card{display:-ms-inline-flexbox;display:inline-flex}.stzh-card__header-meta.sc-stzh-card:not(:empty){margin-top:var(--stzh-space-xsmall)}.stzh-card__header-left.sc-stzh-card,.stzh-card__header-right.sc-stzh-card{display:-ms-flexbox;display:flex}.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-medium)}}.stzh-card__left.sc-stzh-card{-ms-flex-item-align:center;align-self:center}.stzh-card__title-area.sc-stzh-card{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden}.stzh-card__title.sc-stzh-card,.stzh-card__subtitle.sc-stzh-card{margin:0}.stzh-card__title-link.sc-stzh-card{color:inherit;text-decoration:none}.stzh-card__image-link.sc-stzh-card{display:block}.stzh-card__subtitle.sc-stzh-card{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;text-decoration:none;margin-left:-0.5625em}@media screen and (min-width: 1024px){.stzh-card__subtitle.sc-stzh-card{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-card__subtitle-text.sc-stzh-card{position:relative;display:-ms-inline-flexbox;display:inline-flex;padding-left:0.5625em}.stzh-card__subtitle-text.sc-stzh-card::after{content:",";position:absolute;left:0}.stzh-card__content.sc-stzh-card{-ms-flex-positive:1;flex-grow:1}.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-xlarge)}}.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-medium);border-top:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-xlarge)}}.stzh-card__footer-arrow.sc-stzh-card{--size:var(--stzh-icon-size-medium);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card__card-actions.sc-stzh-card{display:-ms-inline-flexbox;display:inline-flex;white-space:nowrap}@media screen and (max-width: 1023px){.stzh-card__card-action.sc-stzh-card{--icon-text-margin:0px;--badge-icon-text-margin:0px}}.stzh-card__card-action[variant=tertiary].sc-stzh-card{--color:var(--stzh-color-grey70)}.stzh-card__card-action.is-button.sc-stzh-card{--icon-size:var(--stzh-icon-size-small)}.stzh-card__card-action.is-placeholder.sc-stzh-card{width:var(--stzh-space-xxlarge);height:var(--stzh-space-xxlarge)}.stzh-card__card-action-popover.sc-stzh-card{--width:auto}.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card{color:var(--stzh-color-primary, var(--stzh-color-zueriblue));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-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card::before,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card::after{content:"";z-index:1;display:block;position:absolute;top:0;left:0;width:100%;height:100%}.stzh-card--has-link.sc-stzh-card .stzh-card__card-actions.sc-stzh-card,.stzh-card--has-link.sc-stzh-card .stzh-card__header-meta.sc-stzh-card,.stzh-card--has-link.sc-stzh-card .stzh-card__footer-actionset.sc-stzh-card,.stzh-card--has-link.sc-stzh-card .stzh-card__footer-select-button.sc-stzh-card{position:relative;z-index:2}.stzh-card--has-link.sc-stzh-card .stzh-card__image-link.sc-stzh-card:hover+.stzh-card__content-wrapper.sc-stzh-card .stzh-card__title-link.sc-stzh-card,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card:hover,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--has-link.sc-stzh-card:hover .stzh-card__footer-arrow.sc-stzh-card{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card{cursor:pointer;font-family:inherit;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card:hover,.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--is-collapsible.sc-stzh-card .stzh-card__header.sc-stzh-card{cursor:pointer}.stzh-card--is-collapsed.sc-stzh-card .vhide-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .vhide-when-collapsed.sc-stzh-card{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-card--is-collapsed.sc-stzh-card .hide-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .hide-when-collapsed.sc-stzh-card{display:none}.stzh-card--is-collapsed.sc-stzh-card .show-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .show-when-collapsed.sc-stzh-card{display:block}.stzh-card--is-collapsed.sc-stzh-card .stzh-card__header.sc-stzh-card{border-bottom:none}.stzh-card--is-collapsed.sc-stzh-card .stzh-card__card-action.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__card-action.sc-stzh-card{--icon-text-margin:0px;--badge-icon-text-margin:0px}.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card:hover,.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--has-hidden-header-border.sc-stzh-card .stzh-card__header.sc-stzh-card{border-bottom:none;padding-bottom:0}.stzh-card--has-hidden-footer-border.sc-stzh-card .stzh-card__footer.sc-stzh-card:not(:empty){padding-top:0;border-top:none}';const m=class{constructor(e){t(this,e),this.stzhCollapseAll=s(this,"stzhCollapseAll",7),this.collapseClick=()=>{Array.from(this.element.querySelectorAll("stzh-card")).forEach((t=>{t.collapsible&&(t.collapsed=!this.allCollapsed)})),this.allCollapsed=!this.allCollapsed,this.stzhCollapseAll.emit({component:"stzh-card-list",allCollapsed:this.allCollapsed})},this.updateCollapsedState=()=>{const t=Array.from(this.element.querySelectorAll("stzh-card"));this.allCollapsed=!t.some((t=>!t.collapsed))},this.sortableGhostClone=t=>{const[s,e,i]=d(t);if(e&&i&&"stzh-card"===e.tagName.toLowerCase()){const t=e,s=i;t.heading=s.heading,t.subtitle=s.subtitle,t.headerActions=s.headerActions,t.footerActions=s.footerActions,t.hideMovementActions=s.hideMovementActions}return s},this.localization=void 0,this.layout="fullwidth",this.description=void 0,this.showToggleLink=!1,this.sortableEnabled=!1,this.sortableDataIdAttribute="data-id",this.allCollapsed=!1}collapseListener(){this.updateCollapsedState()}async componentWillLoad(){this.localization||(this.localization=await n(this.element,"card-list"))}componentDidLoad(){this.updateCollapsedState()}render(){const t=o(this.element,"description")||!!this.description;return i(h,null,i("div",{class:{"stzh-card-list":!0,"stzh-card-list--has-header":this.showToggleLink||t,[`stzh-card-list--layout-${this.layout}`]:!!this.layout}},i("div",{class:"stzh-card-list__header"},i("div",{class:"stzh-card-list__description"},this.description?this.description:i("slot",{name:"description"})),this.showToggleLink&&i("stzh-link",{class:"stzh-card-list__switch",icon:this.allCollapsed?"list-expanded":"list-shrinked",label:this.allCollapsed?this.localization.expandAll:this.localization.collapseAll,onClick:this.collapseClick})),i("stzh-sortable",{disabled:!this.sortableEnabled,dataIdAttribute:this.sortableDataIdAttribute,ghostClone:this.sortableGhostClone},i("div",{class:"stzh-card-list__cards",role:"list"},i("slot",null)))))}get element(){return r(this)}};m.style=".sc-stzh-card-list-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-card-list-h{display:none}.sc-stzh-card-list-h *.sc-stzh-card-list,.sc-stzh-card-list-h *.sc-stzh-card-list::before,.sc-stzh-card-list-h *.sc-stzh-card-list::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-card-list-h[layout=fullwidth] .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.sc-stzh-card-list-h[layout=fullwidth] .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-card-list-h[layout=fullwidth] .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-xlarge)}}.sc-stzh-card-list-h[layout=subpages] .sc-stzh-card-list-s>*:not([slot]){width:100%;margin:calc(var(--stzh-grid-gutter) / 2)}@media screen and (min-width: 600px){.sc-stzh-card-list-h[layout=subpages] .sc-stzh-card-list-s>*:not([slot]){width:calc(50% - var(--stzh-grid-gutter-small));margin:calc(var(--stzh-grid-gutter-small) / 2)}}@media screen and (min-width: 1024px){.sc-stzh-card-list-h[layout=subpages] .sc-stzh-card-list-s>*:not([slot]){width:calc(33.333% - var(--stzh-grid-gutter-medium));margin:calc(var(--stzh-grid-gutter-medium) / 2)}}.sc-stzh-card-list-h .sc-stzh-card-list-s>[slot=description] stzh-icon{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.sc-stzh-card-list-h .sc-stzh-card-list-s>stzh-text[slot=description]{--color:inherit}.stzh-card-list__cards.sc-stzh-card-list{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-card-list__header.sc-stzh-card-list{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 800px){.stzh-card-list__header.sc-stzh-card-list{-ms-flex-direction:row;flex-direction:row}}.stzh-card-list__description.sc-stzh-card-list{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);color:var(--stzh-base-lead-color)}@media screen and (min-width: 1024px){.stzh-card-list__description.sc-stzh-card-list{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-card-list__description.sc-stzh-card-list:not(:empty){margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 800px){.stzh-card-list__description.sc-stzh-card-list:not(:empty){margin-bottom:0}}.stzh-card-list__switch.sc-stzh-card-list{--color:var(--stzh-base-lead-color);-ms-flex-item-align:end;align-self:end}.stzh-card-list--has-header.sc-stzh-card-list .stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-card-list--has-header.sc-stzh-card-list .stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card-list--has-header.sc-stzh-card-list .stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-xlarge)}}.stzh-card-list--layout-subpages.sc-stzh-card-list .stzh-card-list__cards.sc-stzh-card-list{-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-grid-gutter) / -2)}@media screen and (min-width: 600px){.stzh-card-list--layout-subpages.sc-stzh-card-list .stzh-card-list__cards.sc-stzh-card-list{margin:calc(var(--stzh-grid-gutter-small) / -2)}}@media screen and (min-width: 1024px){.stzh-card-list--layout-subpages.sc-stzh-card-list .stzh-card-list__cards.sc-stzh-card-list{margin:calc(var(--stzh-grid-gutter-medium) / -2)}}";let f=0;const v=class{constructor(e){t(this,e),this.stzhChange=s(this,"stzhChange",7),this._data=[],this._dataDropdown=[],this.handleChipClick=t=>{this.value=t.value,this.stzhChange.emit({component:"stzh-chip-select",value:this.value})},this.handleDropdownChange=t=>{this.value=t.detail.value,this.stzhChange.emit({component:"stzh-chip-select",value:this.value})},this.handleKeydown=t=>{let s=null;if("ArrowUp"===t.key||"ArrowLeft"===t.key){t.preventDefault();const e=this.activeFocusOptionIndex;e>0&&(s=e-1)}else if("ArrowDown"===t.key||"ArrowRight"===t.key){t.preventDefault();const e=this.activeFocusOptionIndex;e<this._data.length-1&&(s=e+1)}else" "!==t.key&&"Enter"!==t.key||(t.preventDefault(),this.value=this._data[this.activeFocusOptionIndex].value,this.stzhChange.emit({component:"stzh-chip-select",value:this.value}));null!==s&&(this.activeFocusOptionIndex=s)},this.localization=void 0,this.data=[],this.name=void 0,this.label="",this.value="",this.description=void 0,this.descriptionLong=void 0,this.error=void 0,this.invalid=!1,this.required=!1,this.disabled=!1,this.a11yDescribedby="",this.activeFocusOptionIndex=0}dataWatcher(t){this._data="string"==typeof t?JSON.parse(t):t,this._dataDropdown=this._data.map((t=>({text:`${t.label} (${t.counter})`,value:t.value})))}errorWatcher(t){if("string"==typeof t)try{this._error=JSON.parse(t)}catch(s){this._error=t?[t]:[]}else this._error=t||[];this.invalid=this._error.length>0}async componentWillLoad(){this.id="stzh-chip-select-"+f++,this.dataWatcher(this.data),this.errorWatcher(this.error),this.localization||(this.localization=await n(this.element,"chip-select"))}render(){const t=!!this.descriptionLong;return i(h,null,i("div",{class:{"stzh-chip-select":!0,"stzh-chip-select--has-description":!!this.description,"stzh-chip-select--has-description-long":t,"stzh-chip-select--has-error":!!this.error,"stzh-chip-select--is-invalid":this.invalid,"stzh-chip-select--is-disabled":this.disabled,"stzh-chip-select--is-required":this.required}},i("input",{type:"hidden",name:this.name,value:this.value}),i("div",{class:"stzh-chip-select__chips",role:"listbox",tabindex:"0","aria-multiselectable":"false","aria-activedescendant":`${this.id}-option-${this.activeFocusOptionIndex}`,"aria-describedby":`${this.id}-description ${this.a11yDescribedby}`,onKeyDown:this.handleKeydown},this._data.map(((t,s)=>i("stzh-chip",{role:"option",class:{"stzh-chip-select__chip":!0,"is-focused":this.activeFocusOptionIndex===s},label:t.label,counter:t.counter,icon:t.icon,type:t.type,variant:t.variant,size:t.size,disabled:this.disabled||t.disabled,active:this.value===t.value,"aria-selected":this.value===t.value?"true":"false",id:`${this.id}-option-${s}`,a11yTabindex:"-1",onClick:()=>this.handleChipClick(t)})))),i(z,{classPrefix:"stzh-chip-select",id:`${this.id}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:t,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel}),i("stzh-dropdown",{class:"stzh-chip-select__dropdown",disabled:this.disabled,error:this._error,description:this.description,descriptionLong:this.descriptionLong,required:this.required,invalid:this.invalid,items:[this.value],label:this.label,options:this._dataDropdown,onStzhChange:this.handleDropdownChange})))}get element(){return r(this)}static get watchers(){return{data:["dataWatcher"],error:["errorWatcher"]}}};v.style=".sc-stzh-chip-select-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-chip-select-h{display:none}.sc-stzh-chip-select-h *.sc-stzh-chip-select,.sc-stzh-chip-select-h *.sc-stzh-chip-select::before,.sc-stzh-chip-select-h *.sc-stzh-chip-select::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-chip-select__marker-symbol.sc-stzh-chip-select{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-chip-select__marker-text.sc-stzh-chip-select{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-chip-select__description-wrapper.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select__description.sc-stzh-chip-select{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-chip-select__error.sc-stzh-chip-select{color:var(--stzh-color-error)}.stzh-chip-select__error-list.sc-stzh-chip-select{list-style:none;margin:0;padding:0}.stzh-chip-select__description.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-chip-select__description-long.sc-stzh-chip-select{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-chip-select__description-long-popover.sc-stzh-chip-select{--width:auto;--max-width:27.3125rem}.stzh-chip-select__description-long-popover[open].sc-stzh-chip-select:not([open=false]) .stzh-chip-select__description-long-button.sc-stzh-chip-select{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select__description-long-button.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-chip-select__description-long-button.sc-stzh-chip-select:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select.sc-stzh-chip-select stzh-icon.stzh-chip-select__description-long-icon.sc-stzh-chip-select{--size:var(--stzh-icon-size-xsmall)}.stzh-chip-select--has-error.sc-stzh-chip-select .stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select--has-description.sc-stzh-chip-select .stzh-chip-select__description.sc-stzh-chip-select{margin-top:var(--stzh-space-xxsmall)}.stzh-chip-select__chips.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-space-small) / -2) calc(var(--stzh-space-xsmall) / -2);border-radius:var(--stzh-button-border-radius)}@media screen and (max-width: 1023px){.stzh-chip-select__chips.sc-stzh-chip-select{display:none}}.stzh-chip-select__chip.sc-stzh-chip-select{margin:calc(var(--stzh-space-small) / 2) calc(var(--stzh-space-xsmall) / 2)}.stzh-chip-select__chip.is-focused.sc-stzh-chip-select,.stzh-chip-select__chip.is-focused[active].sc-stzh-chip-select:not([active=false]){--border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-chip-select__chip.is-focused[active].sc-stzh-chip-select:not([active=false]){--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}@media screen and (min-width: 1024px){.stzh-chip-select__dropdown.sc-stzh-chip-select{display:none}}@media screen and (max-width: 1023px){.stzh-chip-select__description-wrapper.sc-stzh-chip-select{display:none}}.stzh-chip-select--has-error.sc-stzh-chip-select .stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select--has-description.sc-stzh-chip-select .stzh-chip-select__description.sc-stzh-chip-select{margin-top:var(--stzh-space-xsmall)}";export{p as stzh_card,m as stzh_card_list,v as stzh_chip_select}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,e as t,h as i,c as e,g as h}from"./p-99a3742a.js";import{i as a}from"./p-5c697491.js";import{f as r}from"./p-25a09313.js";import{a as o,r as l,m as c}from"./p-9111e257.js";const n=window.matchMedia("(prefers-reduced-motion: reduce)");let u=0;const d=class{constructor(i){s(this,i),this.stzhSlideStart=t(this,"stzhSlideStart",7),this.stzhSlidePassed=t(this,"stzhSlidePassed",7),this.stzhSlideEnd=t(this,"stzhSlideEnd",7),this.slideScrollLeft=0,this.scrolledByAutoplay=!1,this.scrollTimeoutId=null,this.lastX=null,this.startX=null,this.startScrollLeft=null,this.disableTimeoutId=null,this.stoppedDragging=!1,this.onReducedMotionMediaChange=()=>{this.autoplayDisabledByMotionMedia=n.matches},this.onMouseenter=()=>{this.autoplayDisabledByMouse=!0},this.onMouseleave=()=>{this.autoplayDisabledByMouse=!1},this.onFocusin=()=>{this.autoplayDisabledByFocus=!0},this.onFocusout=()=>{this.autoplayDisabledByFocus=!1},this.onPreviousClick=()=>{this.scrollToPreviousSnapPoint()},this.onNextClick=()=>{this.scrollToNextSnapPoint()},this.onSlideResize=()=>{this.scrollElement&&(this.itemSize=this.sizingMethod())},this.onMutation=()=>{this.scrollElement&&(this.slideElements=Array.from(this.scrollElement.children),this.slideElements.forEach(((s,t)=>{s.setAttribute("role","group"),s.setAttribute("aria-roledescription","slide"),s.setAttribute("aria-label",this.localization.slideLabel.replace(/\{current\}/gi,(t+1).toString()).replace(/\{total\}/gi,this.slideElements.length.toString()))})),this.previousElements=Array.from(this.element.querySelectorAll("[data-stzh-carousel-previous]")),this.nextElements=Array.from(this.element.querySelectorAll("[data-stzh-carousel-next]")),this.navigationTextElements=Array.from(this.element.querySelectorAll("[data-stzh-carousel-navigation-text]")))},this.onScroll=()=>{if(null===this.scrollTimeoutId){const s=this.scrollElement.scrollLeft>this.slideScrollLeft?1:-1;this.scrolling=!0,this.scrolledByAutoplay||(this.autoplay=!1),this.stzhSlideStart.emit({component:"stzh-carousel",index:this.slide+s})}this.slide!==this.calculateSlide()&&(this.update(),this.stzhSlidePassed.emit({component:"stzh-carousel",index:this.slide})),this.scrollTimeoutId&&window.clearTimeout(this.scrollTimeoutId),this.scrollTimeoutId=window.setTimeout(this.onScrollEnd,this.scrollTimeout)},this.onScrollEnd=()=>{this.scrollTimeoutId=null,this.update(),this.scrolling=!1,this.scrolledByAutoplay=!1,this.stoppedDragging&&(this.stoppedDragging=!1,this.scrollElement.style.removeProperty("scroll-behavior"),this.scrollElement.style.removeProperty("scroll-snap-type")),this.ariaLive=this.tabThrough||"cards"===this.variant?"":(this.currentSlides>1?this.localization.slidesLabel:this.localization.slideLabel).replace(/\{(current|from)\}/gi,(this.slide+1).toString()).replace(/\{to\}/gi,(this.slide+this.currentSlides).toString()).replace(/\{total\}/gi,this.slideElements.length.toString()),this.stzhSlideEnd.emit({component:"stzh-carousel",index:this.slide})},this.onMediaChange=()=>{const s=c("ultra").matches,t=c("large").matches,i=c("medium").matches,e=c("small").matches;this.currentSlides=s&&0!==this.slidesUltra?this.slidesUltra:t&&0!==this.slidesLarge?this.slidesLarge:i&&0!==this.slidesMedium?this.slidesMedium:e&&0!==this.slidesSmall?this.slidesSmall:this.slides,this.currentSwipeSlides=this.currentSlides},this.mouseMove=s=>{const t=this.lastX-s.clientX;this.lastX=s.clientX,this.scrollElement.scrollLeft+=t},this.startDragging=s=>{s.preventDefault(),this.disableTimeoutId&&window.clearTimeout(this.disableTimeoutId),this.disableTimeoutId=null,this.startX=this.lastX=s.clientX,this.startScrollLeft=this.scrollElement.scrollLeft,this.scrollElement.style.setProperty("scroll-behavior","auto"),this.scrollElement.style.setProperty("scroll-snap-type","unset"),this.dragging=!0,this.autoplay=!1,window.addEventListener("mousemove",this.mouseMove),window.addEventListener("mouseup",this.stopDragging,{capture:!0}),window.addEventListener("click",this.checkClick,{capture:!0})},this.stopDragging=s=>{s.preventDefault();const t=Math.abs(this.startX-this.lastX)>this.distanceQuickSwipe,i=this.lastX>this.startX?1:-1;this.dragging=!1;const e=this.scrollElement.scrollLeft;this.scrollElement.style.removeProperty("scroll-snap-type");const h=this.scrollElement.scrollLeft;this.scrollElement.style.setProperty("scroll-snap-type","unset"),this.scrollElement.scrollTo({left:e,behavior:"auto"}),h===this.startScrollLeft&&t?1===i?this.slideToPrevious():this.slideToNext():this.scrollElement.scrollTo({left:h,behavior:n.matches?"auto":"smooth"}),window.removeEventListener("mousemove",this.mouseMove),window.removeEventListener("mouseup",this.stopDragging,{capture:!0}),this.stoppedDragging=!0},this.checkClick=s=>{Math.abs(this.startX-this.lastX)>this.distancePreventClick&&s.preventDefault(),this.lastX=null,window.removeEventListener("click",this.checkClick,{capture:!0})},this.autoplayInterval=()=>{this.scrolledByAutoplay=!0,this.hasReachedLastSlide()?this.slideTo(0):this.slideToNext()},this.localization=void 0,this.variant="default",this.disabled=!1,this.slides=1,this.slidesSmall=0,this.slidesMedium=0,this.slidesLarge=0,this.slidesUltra=0,this.slide=0,this.autoplay=!1,this.tabThrough=!1,this.preventMouseDrag=!1,this.scrollTimeout=100,this.autoplayTimeout=3e3,this.distanceQuickSwipe=40,this.distancePreventClick=6,this.autoplayRunning=!1,this.autoplayDisabledByMotionMedia=!1,this.autoplayDisabledByMouse=!1,this.autoplayDisabledByFocus=!1,this.dragging=!1,this.scrolling=!1,this.ariaLive="",this.currentSlides=1,this.currentSwipeSlides=1,this.slideElements=[],this.previousElements=[],this.nextElements=[],this.navigationTextElements=[]}async slideTo(s,t="smooth"){this.scrollToSlide(s,t)}async slideToPrevious(s="smooth"){this.scrollToPreviousSnapPoint(s)}async slideToNext(s="smooth"){this.scrollToNextSnapPoint(s)}disabledWatcher(){this.disabled?(this.scrollElement&&this.scrollElement.removeEventListener("scroll",this.onScroll),this.scrollTimeoutId&&window.clearTimeout(this.scrollTimeoutId),this.scrollTimeoutId=null,this.element.removeEventListener("mouseenter",this.onMouseenter),this.element.removeEventListener("mouseleave",this.onMouseleave),this.element.removeEventListener("focusin",this.onFocusin),this.element.removeEventListener("focusout",this.onFocusout),this.onReducedMotionMediaChange(),n&&n.removeEventListener("change",this.onReducedMotionMediaChange)):(this.scrollElement&&this.scrollElement.addEventListener("scroll",this.onScroll,{passive:!0}),this.element.addEventListener("mouseenter",this.onMouseenter),this.element.addEventListener("mouseleave",this.onMouseleave),this.element.addEventListener("focusin",this.onFocusin),this.element.addEventListener("focusout",this.onFocusout),n&&n.addEventListener("change",this.onReducedMotionMediaChange))}preventMouseDragWatcher(){this.preventMouseDrag||this.disabled?(this.disableTimeoutId&&window.clearTimeout(this.disableTimeoutId),this.disableTimeoutId=null,this.scrollElement&&this.scrollElement.removeEventListener("mousedown",this.startDragging),this.lastX=null):this.scrollElement&&this.scrollElement.addEventListener("mousedown",this.startDragging)}autoplayRunningWatcher(){!this.autoplay||this.disabled||this.autoplayDisabledByMotionMedia||this.autoplayDisabledByMouse||this.autoplayDisabledByFocus?(this.autoplayIntervalId&&window.clearInterval(this.autoplayIntervalId),this.autoplayIntervalId=null,this.autoplayRunning=!1):(this.autoplayIntervalId&&window.clearInterval(this.autoplayIntervalId),this.autoplayIntervalId=window.setInterval(this.autoplayInterval,this.autoplayTimeout),this.autoplayRunning=!0)}snapAlignWatcher(){this.slideElements.forEach(((s,t)=>{(t-this.currentSwipeSlides)%this.currentSwipeSlides==0?s.style.removeProperty("scroll-snap-align"):s.style.setProperty("scroll-snap-align","none")}))}inertWatcher(){this.slideElements.forEach(((s,t)=>{const i=this.tabThrough||"cards"===this.variant||t>=this.slide&&t<this.slide+this.currentSlides;s.inert=!i,i?s.removeAttribute("aria-hidden"):s.setAttribute("aria-hidden",i?"false":"true")}))}prevNextNavigationWatcher(){const s=this.tabThrough||"cards"===this.variant,t=t=>{const i=a(t);s?(t.setAttribute("aria-hidden","true"),t.setAttribute(i?"a11y-tabindex":"tabindex","-1")):(t.removeAttribute("aria-hidden"),t.removeAttribute(i?"a11y-tabindex":"tabindex"))};this.nextElements.forEach(t),this.previousElements.forEach(t)}prevNextHiddenWatcher(){const s=this.slideElements.length<=this.currentSlides,t=t=>{s?t.setAttribute("hidden",""):t.removeAttribute("hidden")};this.navigationTextElements.forEach(t),this.nextElements.forEach(t),this.previousElements.forEach(t)}nextPrevDisabledWatcher(){if(!this.scrollElement)return;const s=0===this.slide,t=this.hasReachedLastSlide();this.nextElements.forEach((s=>{const i=a(s);s.setAttribute(i?"a11y-disabled":"aria-disabled",t?"true":"false")})),this.previousElements.forEach((t=>{const i=a(t);t.setAttribute(i?"a11y-disabled":"aria-disabled",s?"true":"false")}))}nextElementsWatcher(){this.nextElements.forEach((s=>{const t=a(s);s.addEventListener("click",this.onNextClick),s.setAttribute(t?"a11y-controls":"aria-controls",`${this.carouselId}-scroll`)}))}previousElementsWatcher(){this.previousElements.forEach((s=>{const t=a(s);s.addEventListener("click",this.onPreviousClick),s.setAttribute(t?"a11y-controls":"aria-controls",`${this.carouselId}-scroll`)}))}scrollToSlide(s,t="smooth"){this.disabled||this.scrollElement.scrollTo({left:s*this.itemSize,behavior:n.matches?"auto":t})}sizingMethod(){const s=window.getComputedStyle(this.scrollElement);return this.scrollElement.firstElementChild.offsetWidth+parseInt(s.getPropertyValue("column-gap"),10)}calculateSlide(){return Math.floor(this.scrollElement.scrollLeft/this.itemSize)}scrollToPreviousSnapPoint(s="smooth"){if(this.disabled)return;let t=this.slide,i=!1;for(;!i&&t>0;)t-=1,i=(t-this.currentSwipeSlides)%this.currentSwipeSlides==0;this.slideTo(t,s)}scrollToNextSnapPoint(s="smooth"){this.disabled||this.slideTo(this.slide+this.currentSwipeSlides,s)}update(){this.slide=this.calculateSlide(),this.slideScrollLeft=this.slide*this.itemSize,this.onMutation()}hasReachedLastSlide(){const{scrollLeft:s,offsetWidth:t,scrollWidth:i}=this.scrollElement;return Math.ceil(s+t)>=i}async componentWillLoad(){this.carouselId="stzh-carousel-"+u++,this.onMediaChange(),this.localization||(this.localization=await r(this.element,"carousel"))}componentDidLoad(){this.itemSize=this.sizingMethod(),this.update(),this.disabledWatcher(),this.preventMouseDragWatcher(),this.autoplayRunningWatcher()}connectedCallback(){o(this.onMediaChange),this.resizeObserver=new ResizeObserver(this.onSlideResize),this.resizeObserver.observe(this.element),this.mutationObserver=new MutationObserver(this.onMutation),this.mutationObserver.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.scrollTimeoutId&&window.clearTimeout(this.scrollTimeoutId),this.scrollTimeoutId=null,this.disabled=!0,l(this.onMediaChange),this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect()}render(){const s={"stzh-carousel":!0,"stzh-carousel--is-disabled":this.disabled,"stzh-carousel--is-draggable":!this.preventMouseDrag,"stzh-carousel--is-dragging":this.dragging,"stzh-carousel--is-scrolling":this.scrolling,"stzh-carousel--has-autoplay":this.autoplay,"stzh-carousel--is-autoplay-running":this.autoplayRunning,"stzh-carousel--is-autoplay-disabled-by-motion-media":this.autoplayDisabledByMotionMedia,"stzh-carousel--is-autoplay-disabled-by-mouse":this.autoplayDisabledByMouse,"stzh-carousel--is-autoplay-disabled-by-focus":this.autoplayDisabledByFocus};return i(e,{"aria-roledescription":"carousel",style:{"--slides":this.currentSlides.toString()}},i("div",{class:s},i("slot",{name:"actions"}),i("div",{class:"stzh-carousel__vhidden","aria-live":this.autoplayDisabledByFocus||this.autoplayDisabledByMouse?"polite":"off"},this.ariaLive),i("div",{ref:s=>this.scrollElement=s,id:`${this.carouselId}-scroll`,class:"stzh-carousel__scroll"},i("slot",null))))}get element(){return h(this)}static get watchers(){return{disabled:["disabledWatcher","preventMouseDragWatcher","autoplayRunningWatcher"],preventMouseDrag:["preventMouseDragWatcher"],autoplay:["autoplayRunningWatcher"],autoplayDisabledByMotionMedia:["autoplayRunningWatcher"],autoplayDisabledByMouse:["autoplayRunningWatcher"],autoplayDisabledByFocus:["autoplayRunningWatcher"],autoplayTimeout:["autoplayRunningWatcher"],slideElements:["snapAlignWatcher","inertWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher"],currentSwipeSlides:["snapAlignWatcher"],slide:["inertWatcher","nextPrevDisabledWatcher"],variant:["inertWatcher","prevNextNavigationWatcher"],currentSlides:["inertWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher"],tabThrough:["inertWatcher","prevNextNavigationWatcher"],nextElements:["prevNextNavigationWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher","nextElementsWatcher"],previousElements:["prevNextNavigationWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher","previousElementsWatcher"],navigationTextElements:["prevNextHiddenWatcher"]}}};d.style=".sc-stzh-carousel-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-carousel-h{display:none}.sc-stzh-carousel-h *.sc-stzh-carousel,.sc-stzh-carousel-h *.sc-stzh-carousel::before,.sc-stzh-carousel-h *.sc-stzh-carousel::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-carousel-h{--peek:calc(var(--peek-in, 0px) + var(--peek-out, 0px));--peek-out:1.25rem;--padding-top:0px;--padding-bottom:0px;--gutter:var(--stzh-space-xxxsmall);--snap-stop:always;--slides:1;--slide-size:calc((100% - (var(--slides) - 1) * var(--gutter)) / var(--slides))}@media screen and (min-width: 600px){.sc-stzh-carousel-h{--peek-out:0px}}[variant=cards].sc-stzh-carousel-h{--padding-top:0.25rem;--padding-bottom:0.25rem;--gutter:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){[variant=cards].sc-stzh-carousel-h{--peek-out:2rem}}@media screen and (min-width: 1024px){[variant=cards].sc-stzh-carousel-h{--peek-out:2.5rem;--gutter:var(--stzh-space-small)}}@media screen and (min-width: 1260px){[variant=cards].sc-stzh-carousel-h{--peek-out:5.5rem;--gutter:var(--stzh-space-medium)}}@media screen and (min-width: 1440px){[variant=cards].sc-stzh-carousel-h{--peek-out:calc((100vw - 78.75rem - var(--stzh-scrollbar-width, 0px)) / 2)}}.sc-stzh-carousel-h .sc-stzh-carousel-s>*{width:100%;height:100%;-ms-flex-negative:0;flex-shrink:0;scroll-snap-align:start;scroll-snap-stop:var(--snap-stop)}.sc-stzh-carousel-h .sc-stzh-carousel-s img{-webkit-user-drag:none;user-drag:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions]{position:absolute;top:0;left:0;z-index:1;pointer-events:none;padding:0 var(--peek)}.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] stzh-text{width:auto}.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] stzh-button{pointer-events:all}.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] stzh-button[data-stzh-carousel-previous]{--border-radius:var(--stzh-button-border-radius) 0 0 var(--stzh-button-border-radius);--border-width:0.0625rem 0 0.0625rem 0.0625rem}.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] stzh-button[data-stzh-carousel-next]{--border-radius:0 var(--stzh-button-border-radius) var(--stzh-button-border-radius) 0}.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-space,.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-hspace,.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-vspace{padding:var(--stzh-space-xsmall)}.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions]{--background-color:transparent}.sc-stzh-carousel-h[variant=cards] .sc-stzh-carousel-s>[slot=actions]{position:relative;-ms-flex-order:1;order:1;margin-top:calc(var(--stzh-space-medium) - var(--padding-bottom))}.stzh-carousel.sc-stzh-carousel{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:calc(100% + var(--peek-out) * 2);margin-left:calc(var(--peek-out) / -1);margin-right:calc(var(--peek-out) / -1)}.stzh-carousel__vhidden.sc-stzh-carousel{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-carousel__scroll.sc-stzh-carousel{position:relative;grid-area:slides;display:grid;width:100%;height:100%;place-items:center;overflow-x:auto;overflow-y:visible;grid-auto-flow:column;grid-auto-columns:var(--slide-size);grid-auto-rows:100%;-moz-column-gap:var(--gutter);-webkit-column-gap:var(--gutter);column-gap:var(--gutter);-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;overscroll-behavior-x:contain;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scroll-padding:0 var(--peek);padding:var(--padding-top) var(--peek) var(--padding-bottom)}@media (prefers-reduced-motion: reduce){.stzh-carousel__scroll.sc-stzh-carousel{scroll-behavior:auto}}.stzh-carousel__scroll.sc-stzh-carousel::-webkit-scrollbar{display:none}.stzh-carousel--is-draggable.sc-stzh-carousel .stzh-carousel__scroll.sc-stzh-carousel{cursor:-webkit-grab;cursor:grab}.stzh-carousel--is-dragging.sc-stzh-carousel .stzh-carousel__scroll.sc-stzh-carousel{cursor:-webkit-grabbing;cursor:grabbing}.stzh-carousel--is-disabled.sc-stzh-carousel .stzh-carousel__scroll.sc-stzh-carousel{cursor:not-allowed;overflow:hidden}";export{d as stzh_carousel}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-36e72c1d.system.js"],(function(e){"use strict";var s,a,t;return{setters:[function(e){s=e.r;a=e.h;t=e.c}],execute:function(){var i=':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}:host{--space:var(--stzh-space-default);--around:0;display:-ms-flexbox;display:flex;clear:both}:host::after{content:"";display:table;clear:both}:host ::slotted(*){max-width:100%;padding:calc((var(--space) / 2) * var(--around));margin:calc((var(--space) / 2) * (1 - var(--around)))}:host ::slotted(stzh-vspace),:host ::slotted(stzh-hspace),:host ::slotted(stzh-row),:host ::slotted(stzh-container),:host ::slotted(stzh-section){-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-positive:1;flex-grow:1}:host(:empty){--around:1;width:var(--space);height:var(--space)}:host([around]:not([around=false])){--around:1}:host([border=top]),:host([border=top-bottom]){border-top:0.0625rem solid var(--stzh-base-border-color)}:host([border=bottom]),:host([border=top-bottom]){border-bottom:0.0625rem solid var(--stzh-base-border-color)}:host([border=left]),:host([border=left-right]){border-left:0.0625rem solid var(--stzh-base-border-color)}:host([border=right]),:host([border=left-right]){border-right:0.0625rem solid var(--stzh-base-border-color)}:host([curve=tiny]){--space:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){:host([curve=tiny]){--space:var(--stzh-space-small)}}@media screen and (min-width: 1260px){:host([curve=tiny]){--space:var(--stzh-space-medium)}}:host([curve=small]){--space:var(--stzh-space-small)}@media screen and (min-width: 1024px){:host([curve=small]){--space:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){:host([curve=small]){--space:var(--stzh-space-large)}}:host([curve=regular]){--space:var(--stzh-space-medium)}@media screen and (min-width: 1024px){:host([curve=regular]){--space:var(--stzh-space-large)}}@media screen and (min-width: 1260px){:host([curve=regular]){--space:var(--stzh-space-xlarge)}}:host([curve=medium]){--space:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){:host([curve=medium]){--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){:host([curve=medium]){--space:var(--stzh-space-xxxlarge)}}:host([curve=large]){--space:var(--stzh-space-xxlarge)}@media screen and (min-width: 1024px){:host([curve=large]){--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){:host([curve=large]){--space:var(--stzh-space-xxxxlarge)}}:host([curve=big]){--space:var(--stzh-space-xxxlarge)}@media screen and (min-width: 600px){:host([curve=big]){--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){:host([curve=big]){--space:var(--stzh-space-big)}}@media screen and (min-width: 1260px){:host([curve=big]){--space:var(--stzh-space-xbig)}}:host([curve=huge]){--space:var(--stzh-space-xxxxlarge)}@media screen and (min-width: 600px){:host([curve=huge]){--space:var(--stzh-space-big)}}@media screen and (min-width: 1024px){:host([curve=huge]){--space:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){:host([curve=huge]){--space:var(--stzh-space-huge)}}:host([size=xxxsmall]){--space:var(--stzh-space-xxxsmall)}:host([size=xxsmall]){--space:var(--stzh-space-xxsmall)}:host([size=xsmall]){--space:var(--stzh-space-xsmall)}:host([size=small]){--space:var(--stzh-space-small)}:host([size=medium]){--space:var(--stzh-space-medium)}:host([size=large]){--space:var(--stzh-space-large)}:host([size=xlarge]){--space:var(--stzh-space-xlarge)}:host([size=xxlarge]){--space:var(--stzh-space-xxlarge)}:host([size=xxxlarge]){--space:var(--stzh-space-xxxlarge)}:host([size=xxxxlarge]){--space:var(--stzh-space-xxxxlarge)}:host([size=big]){--space:var(--stzh-space-big)}:host([size=xbig]){--space:var(--stzh-space-xbig)}:host([size=huge]){--space:var(--stzh-space-huge)}:host([size=xhuge]){--space:var(--stzh-space-xhuge)}:host([size=none]){--space:var(--stzh-space-none)}:host([size=default]){--space:var(--stzh-space-default)}@media screen and (min-width: 600px){:host([size-small=xxxsmall]){--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 600px){:host([size-small=xxsmall]){--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 600px){:host([size-small=xsmall]){--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 600px){:host([size-small=small]){--space:var(--stzh-space-small)}}@media screen and (min-width: 600px){:host([size-small=medium]){--space:var(--stzh-space-medium)}}@media screen and (min-width: 600px){:host([size-small=large]){--space:var(--stzh-space-large)}}@media screen and (min-width: 600px){:host([size-small=xlarge]){--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){:host([size-small=xxlarge]){--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 600px){:host([size-small=xxxlarge]){--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 600px){:host([size-small=xxxxlarge]){--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 600px){:host([size-small=big]){--space:var(--stzh-space-big)}}@media screen and (min-width: 600px){:host([size-small=xbig]){--space:var(--stzh-space-xbig)}}@media screen and (min-width: 600px){:host([size-small=huge]){--space:var(--stzh-space-huge)}}@media screen and (min-width: 600px){:host([size-small=xhuge]){--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 600px){:host([size-small=none]){--space:var(--stzh-space-none)}}@media screen and (min-width: 600px){:host([size-small=default]){--space:var(--stzh-space-default)}}@media screen and (min-width: 800px){:host([size-smallheader=xxxsmall]){--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 800px){:host([size-smallheader=xxsmall]){--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 800px){:host([size-smallheader=xsmall]){--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 800px){:host([size-smallheader=small]){--space:var(--stzh-space-small)}}@media screen and (min-width: 800px){:host([size-smallheader=medium]){--space:var(--stzh-space-medium)}}@media screen and (min-width: 800px){:host([size-smallheader=large]){--space:var(--stzh-space-large)}}@media screen and (min-width: 800px){:host([size-smallheader=xlarge]){--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=xxlarge]){--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=xxxlarge]){--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=xxxxlarge]){--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=big]){--space:var(--stzh-space-big)}}@media screen and (min-width: 800px){:host([size-smallheader=xbig]){--space:var(--stzh-space-xbig)}}@media screen and (min-width: 800px){:host([size-smallheader=huge]){--space:var(--stzh-space-huge)}}@media screen and (min-width: 800px){:host([size-smallheader=xhuge]){--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 800px){:host([size-smallheader=none]){--space:var(--stzh-space-none)}}@media screen and (min-width: 800px){:host([size-smallheader=default]){--space:var(--stzh-space-default)}}@media screen and (min-width: 1024px){:host([size-medium=xxxsmall]){--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1024px){:host([size-medium=xxsmall]){--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1024px){:host([size-medium=xsmall]){--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1024px){:host([size-medium=small]){--space:var(--stzh-space-small)}}@media screen and (min-width: 1024px){:host([size-medium=medium]){--space:var(--stzh-space-medium)}}@media screen and (min-width: 1024px){:host([size-medium=large]){--space:var(--stzh-space-large)}}@media screen and (min-width: 1024px){:host([size-medium=xlarge]){--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){:host([size-medium=xxlarge]){--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1024px){:host([size-medium=xxxlarge]){--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){:host([size-medium=xxxxlarge]){--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){:host([size-medium=big]){--space:var(--stzh-space-big)}}@media screen and (min-width: 1024px){:host([size-medium=xbig]){--space:var(--stzh-space-xbig)}}@media screen and (min-width: 1024px){:host([size-medium=huge]){--space:var(--stzh-space-huge)}}@media screen and (min-width: 1024px){:host([size-medium=xhuge]){--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1024px){:host([size-medium=none]){--space:var(--stzh-space-none)}}@media screen and (min-width: 1024px){:host([size-medium=default]){--space:var(--stzh-space-default)}}@media screen and (min-width: 1260px){:host([size-large=xxxsmall]){--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1260px){:host([size-large=xxsmall]){--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1260px){:host([size-large=xsmall]){--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){:host([size-large=small]){--space:var(--stzh-space-small)}}@media screen and (min-width: 1260px){:host([size-large=medium]){--space:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){:host([size-large=large]){--space:var(--stzh-space-large)}}@media screen and (min-width: 1260px){:host([size-large=xlarge]){--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){:host([size-large=xxlarge]){--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){:host([size-large=xxxlarge]){--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){:host([size-large=xxxxlarge]){--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){:host([size-large=big]){--space:var(--stzh-space-big)}}@media screen and (min-width: 1260px){:host([size-large=xbig]){--space:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){:host([size-large=huge]){--space:var(--stzh-space-huge)}}@media screen and (min-width: 1260px){:host([size-large=xhuge]){--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1260px){:host([size-large=none]){--space:var(--stzh-space-none)}}@media screen and (min-width: 1260px){:host([size-large=default]){--space:var(--stzh-space-default)}}@media screen and (min-width: 1440px){:host([size-ultra=xxxsmall]){--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1440px){:host([size-ultra=xxsmall]){--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1440px){:host([size-ultra=xsmall]){--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1440px){:host([size-ultra=small]){--space:var(--stzh-space-small)}}@media screen and (min-width: 1440px){:host([size-ultra=medium]){--space:var(--stzh-space-medium)}}@media screen and (min-width: 1440px){:host([size-ultra=large]){--space:var(--stzh-space-large)}}@media screen and (min-width: 1440px){:host([size-ultra=xlarge]){--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=xxlarge]){--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=xxxlarge]){--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=xxxxlarge]){--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=big]){--space:var(--stzh-space-big)}}@media screen and (min-width: 1440px){:host([size-ultra=xbig]){--space:var(--stzh-space-xbig)}}@media screen and (min-width: 1440px){:host([size-ultra=huge]){--space:var(--stzh-space-huge)}}@media screen and (min-width: 1440px){:host([size-ultra=xhuge]){--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1440px){:host([size-ultra=none]){--space:var(--stzh-space-none)}}@media screen and (min-width: 1440px){:host([size-ultra=default]){--space:var(--stzh-space-default)}}.stzh-space{-ms-flex-positive:1;flex-grow:1;width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:start;align-items:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:calc((var(--space) / -2) * var(--around));margin:calc((var(--space) / -2) * (1 - var(--around)));}.stzh-space--is-around{padding:calc((var(--space) / 2) * var(--around));margin:calc((var(--space) / 2) * (1 - var(--around)))}.stzh-space--justify-center{-ms-flex-pack:center;justify-content:center}.stzh-space--justify-end{-ms-flex-pack:end;justify-content:flex-end}.stzh-space--justify-between{-ms-flex-pack:justify;justify-content:space-between}.stzh-space--justify-around{-ms-flex-pack:distribute;justify-content:space-around}.stzh-space--justify-evenly{-ms-flex-pack:space-evenly;justify-content:space-evenly}.stzh-space--items-end{-ms-flex-align:end;align-items:flex-end}.stzh-space--items-center{-ms-flex-align:center;align-items:center}.stzh-space--items-baseline{-ms-flex-align:baseline;align-items:baseline}.stzh-space--items-stretch{-ms-flex-align:stretch;align-items:stretch}';var r=e("stzh_space",function(){function e(e){s(this,e);this.curve="none";this.size="inherit";this.sizeSmall="inherit";this.sizeMedium="inherit";this.sizeLarge="inherit";this.sizeUltra="inherit";this.justify="start";this.items="start";this.around=false;this.border="none"}e.prototype.render=function(){var e;return a(t,null,a("div",{class:(e={"stzh-space":true,"stzh-space--is-around":this.around},e["stzh-space--justify-".concat(this.justify)]=!!this.justify,e["stzh-space--items-".concat(this.items)]=!!this.items,e)},a("slot",null)))};return e}());r.style=i}}}));
|