@oiz/stzh-components 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{animation-utils-cfa35ce7.js → animation-utils-54d784c2.js} +3 -0
- package/dist/cjs/{app-globals-dc82b9ca.js → app-globals-b6d82414.js} +1 -1
- package/dist/cjs/index.cjs.js +17 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-accordion-item.cjs.entry.js +7 -3
- package/dist/cjs/stzh-accordion.cjs.entry.js +3 -1
- package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
- package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
- package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
- package/dist/cjs/stzh-badge_3.cjs.entry.js +13 -6
- package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card_3.cjs.entry.js +504 -0
- package/dist/cjs/stzh-chart.cjs.entry.js +2 -3
- package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
- package/dist/cjs/stzh-chip.cjs.entry.js +6 -5
- package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contactaddress.cjs.entry.js +33 -7
- package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist_2.cjs.entry.js +180 -0
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +3 -2
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +3 -3
- package/dist/cjs/stzh-details.cjs.entry.js +155 -0
- package/dist/cjs/stzh-dialog.cjs.entry.js +5 -5
- package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/stzh-figure.cjs.entry.js +2 -2
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
- package/dist/cjs/stzh-footer.cjs.entry.js +2 -2
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +8 -5
- package/dist/cjs/stzh-header.cjs.entry.js +28 -14
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
- package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +2 -2
- package/dist/cjs/stzh-langnav.cjs.entry.js +37 -0
- package/dist/cjs/stzh-link.cjs.entry.js +11 -4
- package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-message.cjs.entry.js +1 -1
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +96 -0
- package/dist/cjs/stzh-olmap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +3 -3
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +2 -2
- package/dist/cjs/stzh-popover.cjs.entry.js +27 -9
- package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-progressbar-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sitemap.cjs.entry.js +24 -0
- package/dist/cjs/stzh-sortable.cjs.entry.js +30 -11
- package/dist/cjs/stzh-table.cjs.entry.js +1 -1
- package/dist/cjs/stzh-textandimage.cjs.entry.js +35 -0
- package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
- package/dist/cjs/stzh-tooltip.cjs.entry.js +37 -13
- package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +2 -1
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +20 -9
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +27 -38
- package/dist/cjs/{utils-8dc66449.js → utils-ff153309.js} +1 -0
- package/dist/collection/assets/i18n/de.json +15 -7
- package/dist/collection/assets/i18n/en.json +16 -8
- package/dist/collection/assets/icons/mono/arrow-right-down.svg +3 -0
- package/dist/collection/assets/icons/mono/construction.svg +2 -2
- package/dist/collection/assets/icons/mono/fountain.svg +3 -0
- package/dist/collection/assets/icons/mono/pause-filled.svg +3 -0
- package/dist/collection/assets/icons/mono/play-filled.svg +3 -0
- package/dist/collection/assets/icons/mono/reload.svg +2 -9
- package/dist/collection/assets/icons/mono/water-drops.svg +11 -0
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/stzh-accordion/stzh-accordion.js +3 -1
- package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +12 -1
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +3 -2
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +7 -3
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +3 -3
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
- package/dist/collection/components/stzh-audio/stzh-audio.css +1 -1
- package/dist/collection/components/stzh-audio/stzh-audio.js +1 -1
- package/dist/collection/components/stzh-button/stzh-button.css +3 -2
- package/dist/collection/components/stzh-button/stzh-button.js +78 -3
- package/dist/collection/components/stzh-button/stzh-button.stories.js +12 -12
- package/dist/collection/components/stzh-calendar/stzh-calendar.css +1 -0
- package/dist/collection/components/stzh-card/stzh-card.css +107 -22
- package/dist/collection/components/stzh-card/stzh-card.js +116 -6
- package/dist/collection/components/stzh-card/stzh-card.stories.js +1 -1
- package/dist/collection/components/stzh-card-list/stzh-card-list.css +55 -14
- package/dist/collection/components/stzh-card-list/stzh-card-list.js +43 -3
- package/dist/collection/components/stzh-chart/stzh-chart.css +0 -14
- package/dist/collection/components/stzh-chart/stzh-chart.js +1 -20
- package/dist/collection/components/stzh-chart/stzh-chart.stories.js +4 -3
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +7 -3
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +1 -0
- package/dist/collection/components/stzh-chip/stzh-chip.css +52 -4
- package/dist/collection/components/stzh-chip/stzh-chip.js +23 -5
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +2 -0
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +33 -6
- package/dist/collection/components/stzh-clamp/stzh-clamp.css +5 -0
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.css +91 -12
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.js +76 -9
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.stories.js +52 -2
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +49 -1
- package/dist/collection/components/stzh-datalist/stzh-datalist.css +28 -516
- package/dist/collection/components/stzh-datalist/stzh-datalist.js +110 -23
- package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +65 -4
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +261 -0
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +323 -0
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.stories.js +49 -0
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +11 -0
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +3 -2
- package/dist/collection/components/stzh-details/stzh-details.css +119 -0
- package/dist/collection/components/stzh-details/stzh-details.js +316 -0
- package/dist/collection/components/stzh-details/stzh-details.stories.js +41 -0
- package/dist/collection/components/stzh-dialog/stzh-dialog.css +1 -0
- package/dist/collection/components/stzh-dialog/stzh-dialog.js +3 -3
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +6 -3
- package/dist/collection/components/stzh-figure/stzh-figure.css +1 -3
- package/dist/collection/components/stzh-footer/stzh-footer.css +2 -1
- package/dist/collection/components/stzh-footer/stzh-footer.stories.js +3 -1
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +33 -5
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +23 -2
- package/dist/collection/components/stzh-header/stzh-header.css +87 -4
- package/dist/collection/components/stzh-header/stzh-header.js +63 -13
- package/dist/collection/components/stzh-header/stzh-header.stories.js +21 -1
- package/dist/collection/components/stzh-heading/stzh-heading.css +3 -0
- package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +102 -37
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/collection/components/stzh-input/stzh-input.css +6 -5
- package/dist/collection/components/stzh-langnav/stzh-langnav.css +106 -0
- package/dist/collection/components/stzh-langnav/stzh-langnav.js +136 -0
- package/dist/collection/components/stzh-langnav/stzh-langnav.stories.js +42 -0
- package/dist/collection/components/stzh-link/stzh-link.css +1 -0
- package/dist/collection/components/stzh-link/stzh-link.js +95 -2
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +1 -0
- package/dist/collection/components/stzh-message/stzh-message.css +1 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.css +125 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +198 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.js +1 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.stories.js +58 -0
- package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +1 -1
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +14 -5
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +1 -1
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
- package/dist/collection/components/stzh-popover/stzh-popover.css +2 -0
- package/dist/collection/components/stzh-popover/stzh-popover.js +26 -8
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +2 -0
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +107 -6
- package/dist/collection/components/stzh-radio/stzh-radio.css +3 -2
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +1 -0
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +2 -0
- package/dist/collection/components/stzh-sitemap/stzh-sitemap.css +113 -0
- package/dist/collection/components/stzh-sitemap/stzh-sitemap.js +53 -0
- package/dist/collection/components/stzh-sitemap/stzh-sitemap.stories.js +78 -0
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +29 -10
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +203 -0
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.js +98 -0
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.stories.js +56 -0
- package/dist/collection/components/stzh-toggle/stzh-toggle.css +3 -1
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +1 -0
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +36 -12
- package/dist/collection/components/stzh-upload/stzh-upload.css +2 -1
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +3 -2
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +2 -1
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +84 -12
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +1 -16
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +26 -37
- package/dist/collection/index.js +12 -0
- package/dist/collection/pages/egov.stories.js +18 -15
- package/dist/collection/pages/example.stories.js +1 -1
- package/dist/collection/pages/meinkonto.stories.js +3 -3
- package/dist/collection/patterns/appointments.stories.js +3 -3
- package/dist/collection/patterns/contact.stories.js +144 -0
- package/dist/collection/patterns/contactform.stories.js +125 -0
- package/dist/collection/patterns/subpages.stories.js +98 -0
- package/dist/collection/utils/animation-utils.js +3 -0
- package/dist/components/animation-utils.js +3 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +8 -1
- package/dist/components/index2.js +17 -2017
- package/dist/components/index3.js +2017 -0
- package/dist/components/stzh-accordion-item.js +6 -2
- package/dist/components/stzh-accordion.js +3 -1
- package/dist/components/stzh-anchornav.js +2 -2
- package/dist/components/stzh-audio.js +2 -2
- package/dist/components/stzh-button2.js +15 -4
- package/dist/components/stzh-calendar2.js +1 -1
- package/dist/components/stzh-card-list.js +1 -114
- package/dist/components/stzh-card-list2.js +123 -0
- package/dist/components/stzh-card.js +1 -358
- package/dist/components/stzh-card2.js +380 -0
- package/dist/components/stzh-chart.js +3 -5
- package/dist/components/stzh-checkbox.js +1 -1
- package/dist/components/stzh-checkboxgroup.js +1 -1
- package/dist/components/stzh-chip-select.js +1 -157
- package/dist/components/stzh-chip-select2.js +186 -0
- package/dist/components/stzh-chip2.js +7 -5
- package/dist/components/stzh-clamp2.js +1 -1
- package/dist/components/stzh-contactaddress.js +74 -10
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-datalist-item.d.ts +11 -0
- package/dist/components/stzh-datalist-item.js +6 -0
- package/dist/components/stzh-datalist-item2.js +128 -0
- package/dist/components/stzh-datalist.js +1 -96
- package/dist/components/stzh-datalist2.js +147 -0
- package/dist/components/stzh-datamessagelist-item.js +3 -2
- package/dist/components/stzh-details.d.ts +11 -0
- package/dist/components/stzh-details.js +173 -0
- package/dist/components/stzh-dialog.js +4 -4
- package/dist/components/stzh-dropdown2.js +1 -1
- package/dist/components/stzh-figure.js +1 -1
- package/dist/components/stzh-footer.js +1 -1
- package/dist/components/stzh-ghettobox2.js +7 -3
- package/dist/components/stzh-header.js +29 -13
- package/dist/components/stzh-heading2.js +1 -1
- package/dist/components/stzh-icon-sprite.js +1 -1
- package/dist/components/stzh-icon2.js +1 -1
- package/dist/components/stzh-input2.js +1 -1
- package/dist/components/stzh-langnav.d.ts +11 -0
- package/dist/components/stzh-langnav.js +73 -0
- package/dist/components/stzh-link2.js +15 -3
- package/dist/components/stzh-menu-item2.js +1 -1
- package/dist/components/stzh-message.js +1 -1
- package/dist/components/stzh-microsite-teaserlist.d.ts +11 -0
- package/dist/components/stzh-microsite-teaserlist.js +212 -0
- package/dist/components/stzh-olmap.js +1 -1
- package/dist/components/stzh-pagetitle-hero.js +2 -2
- package/dist/components/stzh-pagetitle.js +1 -1
- package/dist/components/stzh-popover2.js +26 -8
- package/dist/components/stzh-portal-mitwirken.js +1 -1
- package/dist/components/stzh-progressbar-item2.js +1 -1
- package/dist/components/stzh-radio2.js +1 -1
- package/dist/components/stzh-radiogroup2.js +1 -1
- package/dist/components/stzh-richtext2.js +1 -1
- package/dist/components/stzh-sitemap.d.ts +11 -0
- package/dist/components/stzh-sitemap.js +69 -0
- package/dist/components/stzh-sortable2.js +29 -10
- package/dist/components/stzh-textandimage.d.ts +11 -0
- package/dist/components/stzh-textandimage.js +53 -0
- package/dist/components/stzh-toggle.js +1 -1
- package/dist/components/stzh-tooltip2.js +36 -12
- package/dist/components/stzh-upload.js +1 -1
- package/dist/components/stzh-vbz-linechip2.js +2 -1
- package/dist/components/stzh-vbz-majorticker.js +25 -12
- package/dist/components/stzh-vbz-ticker.js +26 -37
- package/dist/components/utils.js +1 -1
- package/dist/esm/{animation-utils-25c74e5b.js → animation-utils-e234a5f8.js} +3 -0
- package/dist/esm/{app-globals-246b5e49.js → app-globals-ff581b69.js} +1 -1
- package/dist/esm/{index-2915b467.js → index-011c84fe.js} +1 -1
- package/dist/esm/index.js +16 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/stzh-accordion-item.entry.js +8 -4
- package/dist/esm/stzh-accordion.entry.js +4 -2
- package/dist/esm/stzh-actions.entry.js +2 -2
- package/dist/esm/stzh-actionset.entry.js +1 -1
- package/dist/esm/stzh-anchornav.entry.js +3 -3
- package/dist/esm/stzh-appnav.entry.js +2 -2
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +4 -4
- package/dist/esm/stzh-badge_3.entry.js +14 -7
- package/dist/esm/stzh-calendar.entry.js +2 -2
- package/dist/esm/stzh-card_3.entry.js +498 -0
- package/dist/esm/stzh-cell.entry.js +1 -1
- package/dist/esm/stzh-chart.entry.js +3 -4
- package/dist/esm/stzh-checkbox.entry.js +4 -4
- package/dist/esm/stzh-checkboxgroup.entry.js +4 -4
- package/dist/esm/stzh-chip.entry.js +7 -6
- package/dist/esm/stzh-clamp.entry.js +2 -2
- package/dist/esm/stzh-components.js +3 -3
- package/dist/esm/stzh-contactaddress.entry.js +34 -8
- package/dist/esm/stzh-container.entry.js +1 -1
- package/dist/esm/stzh-cspace.entry.js +2 -2
- package/dist/esm/stzh-datalist_2.entry.js +175 -0
- package/dist/esm/stzh-datamessagelist-item.entry.js +4 -3
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +1 -1
- package/dist/esm/stzh-datepicker_3.entry.js +5 -5
- package/dist/esm/stzh-details.entry.js +151 -0
- package/dist/esm/stzh-dialog.entry.js +6 -6
- package/dist/esm/stzh-dropdown.entry.js +4 -4
- package/dist/esm/stzh-fieldset.entry.js +1 -1
- package/dist/esm/stzh-figure.entry.js +3 -3
- package/dist/esm/stzh-flyingfocus.entry.js +2 -2
- package/dist/esm/stzh-footer.entry.js +3 -3
- package/dist/esm/stzh-ghettobox_2.entry.js +9 -6
- package/dist/esm/stzh-header.entry.js +29 -15
- package/dist/esm/stzh-heading.entry.js +2 -2
- package/dist/esm/stzh-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +1 -1
- package/dist/esm/stzh-icon-sprite.entry.js +2 -2
- package/dist/esm/{stzh-input-description-e87e6697.js → stzh-input-description-bdd1e340.js} +1 -1
- package/dist/esm/stzh-input.entry.js +4 -4
- package/dist/esm/stzh-langnav.entry.js +33 -0
- package/dist/esm/stzh-link.entry.js +12 -5
- package/dist/esm/stzh-list-item.entry.js +1 -1
- package/dist/esm/stzh-list.entry.js +1 -1
- package/dist/esm/stzh-loader.entry.js +1 -1
- package/dist/esm/stzh-loadingbar.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +3 -3
- package/dist/esm/stzh-message.entry.js +2 -2
- package/dist/esm/stzh-metanav.entry.js +1 -1
- package/dist/esm/stzh-microsite-teaserlist.entry.js +92 -0
- package/dist/esm/stzh-olmap.entry.js +2 -2
- package/dist/esm/stzh-overlay.entry.js +1 -1
- package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm/stzh-pagebottom.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +4 -4
- package/dist/esm/stzh-pagetitle.entry.js +3 -3
- package/dist/esm/stzh-popover.entry.js +28 -10
- package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
- package/dist/esm/stzh-progressbar-item.entry.js +2 -2
- package/dist/esm/stzh-progressbar.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +2 -2
- package/dist/esm/stzh-row.entry.js +1 -1
- package/dist/esm/stzh-saptcha.entry.js +1 -1
- package/dist/esm/stzh-section.entry.js +1 -1
- package/dist/esm/stzh-share.entry.js +1 -1
- package/dist/esm/stzh-sitemap.entry.js +20 -0
- package/dist/esm/stzh-skiplink.entry.js +1 -1
- package/dist/esm/stzh-sortable.entry.js +31 -12
- package/dist/esm/stzh-status.entry.js +1 -1
- package/dist/esm/stzh-sticky.entry.js +1 -1
- package/dist/esm/stzh-table.entry.js +2 -2
- package/dist/esm/stzh-text.entry.js +1 -1
- package/dist/esm/stzh-textandimage.entry.js +31 -0
- package/dist/esm/stzh-toggle.entry.js +4 -4
- package/dist/esm/stzh-tooltip.entry.js +38 -14
- package/dist/esm/stzh-upload.entry.js +4 -4
- package/dist/esm/stzh-vbz-linechip.entry.js +3 -2
- package/dist/esm/stzh-vbz-majorticker.entry.js +21 -10
- package/dist/esm/stzh-vbz-ticker.entry.js +26 -37
- package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +1 -1
- package/dist/esm/{utils-68a28fce.js → utils-92a77db5.js} +1 -1
- package/dist/esm-es5/animation-utils-e234a5f8.js +1 -0
- package/dist/esm-es5/{app-globals-246b5e49.js → app-globals-ff581b69.js} +1 -1
- package/dist/esm-es5/{index-2915b467.js → index-011c84fe.js} +1 -1
- package/dist/esm-es5/index.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
- package/dist/esm-es5/stzh-accordion.entry.js +1 -1
- package/dist/esm-es5/stzh-actions.entry.js +1 -1
- package/dist/esm-es5/stzh-actionset.entry.js +1 -1
- package/dist/esm-es5/stzh-anchornav.entry.js +1 -1
- package/dist/esm-es5/stzh-appnav.entry.js +1 -1
- package/dist/esm-es5/stzh-appointments.entry.js +1 -1
- package/dist/esm-es5/stzh-audio.entry.js +2 -2
- package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-calendar.entry.js +1 -1
- package/dist/esm-es5/stzh-card_3.entry.js +1 -0
- package/dist/esm-es5/stzh-cell.entry.js +1 -1
- package/dist/esm-es5/stzh-chart.entry.js +2 -2
- package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
- package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
- package/dist/esm-es5/stzh-chip.entry.js +1 -1
- package/dist/esm-es5/stzh-clamp.entry.js +1 -1
- package/dist/esm-es5/stzh-components.js +1 -1
- package/dist/esm-es5/stzh-contactaddress.entry.js +1 -1
- package/dist/esm-es5/stzh-container.entry.js +1 -1
- package/dist/esm-es5/stzh-cspace.entry.js +1 -1
- package/dist/esm-es5/stzh-datalist_2.entry.js +1 -0
- package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm-es5/stzh-datatable.entry.js +1 -1
- package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
- package/dist/esm-es5/stzh-details.entry.js +1 -0
- package/dist/esm-es5/stzh-dialog.entry.js +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
- package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
- package/dist/esm-es5/stzh-figure.entry.js +1 -1
- package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm-es5/stzh-footer.entry.js +1 -1
- package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
- package/dist/esm-es5/stzh-header.entry.js +1 -1
- package/dist/esm-es5/stzh-heading.entry.js +1 -1
- package/dist/esm-es5/stzh-hr.entry.js +1 -1
- package/dist/esm-es5/stzh-hspace.entry.js +1 -1
- package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
- package/dist/esm-es5/{stzh-input-description-e87e6697.js → stzh-input-description-bdd1e340.js} +1 -1
- package/dist/esm-es5/stzh-input.entry.js +1 -1
- package/dist/esm-es5/stzh-langnav.entry.js +1 -0
- package/dist/esm-es5/stzh-link.entry.js +1 -1
- package/dist/esm-es5/stzh-list-item.entry.js +1 -1
- package/dist/esm-es5/stzh-list.entry.js +1 -1
- package/dist/esm-es5/stzh-loader.entry.js +1 -1
- package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
- package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
- package/dist/esm-es5/stzh-message.entry.js +1 -1
- package/dist/esm-es5/stzh-metanav.entry.js +1 -1
- package/dist/esm-es5/stzh-microsite-teaserlist.entry.js +1 -0
- package/dist/esm-es5/stzh-olmap.entry.js +2 -2
- package/dist/esm-es5/stzh-overlay.entry.js +1 -1
- package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
- package/dist/esm-es5/stzh-popover.entry.js +1 -1
- package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
- package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
- package/dist/esm-es5/stzh-row.entry.js +1 -1
- package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
- package/dist/esm-es5/stzh-section.entry.js +1 -1
- package/dist/esm-es5/stzh-share.entry.js +1 -1
- package/dist/esm-es5/stzh-sitemap.entry.js +1 -0
- package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
- package/dist/esm-es5/stzh-sortable.entry.js +2 -2
- package/dist/esm-es5/stzh-status.entry.js +1 -1
- package/dist/esm-es5/stzh-sticky.entry.js +1 -1
- package/dist/esm-es5/stzh-table.entry.js +1 -1
- package/dist/esm-es5/stzh-text.entry.js +1 -1
- package/dist/esm-es5/stzh-textandimage.entry.js +1 -0
- package/dist/esm-es5/stzh-toggle.entry.js +1 -1
- package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
- package/dist/esm-es5/stzh-upload.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm-es5/stzh-vspace.entry.js +1 -1
- package/dist/esm-es5/{utils-68a28fce.js → utils-92a77db5.js} +1 -1
- package/dist/stzh-components/assets/i18n/de.json +15 -7
- package/dist/stzh-components/assets/i18n/en.json +16 -8
- package/dist/stzh-components/assets/icons/mono/arrow-right-down.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/construction.svg +2 -2
- package/dist/stzh-components/assets/icons/mono/fountain.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/pause-filled.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/play-filled.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/reload.svg +2 -9
- package/dist/stzh-components/assets/icons/mono/water-drops.svg +11 -0
- package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +102 -37
- package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/stzh-components/index.esm.js +1 -0
- package/dist/stzh-components/{p-f6ab391e.system.entry.js → p-006751fc.system.entry.js} +1 -1
- package/dist/stzh-components/{p-27839f48.entry.js → p-025c9c5b.entry.js} +1 -1
- package/dist/stzh-components/{p-e9313802.system.entry.js → p-0409bf6b.system.entry.js} +2 -2
- package/dist/stzh-components/p-06d9b884.system.entry.js +1 -0
- package/dist/stzh-components/{p-3e504f50.entry.js → p-0743d7fa.entry.js} +1 -1
- package/dist/stzh-components/p-0850a2e1.system.entry.js +1 -0
- package/dist/stzh-components/{p-d5ee4ac0.entry.js → p-09da70d8.entry.js} +1 -1
- package/dist/stzh-components/{p-4e6ddb5f.entry.js → p-0a647396.entry.js} +1 -1
- package/dist/stzh-components/p-0c8427bc.entry.js +1 -0
- package/dist/stzh-components/{p-b1ff3a21.system.entry.js → p-0cc8bbd7.system.entry.js} +2 -2
- package/dist/stzh-components/{p-e662b688.entry.js → p-0cff4e01.entry.js} +1 -1
- package/dist/stzh-components/{p-0321e98e.system.entry.js → p-104df3a8.system.entry.js} +1 -1
- package/dist/stzh-components/p-10c046fc.system.entry.js +1 -0
- package/dist/stzh-components/{p-26159eac.system.entry.js → p-11d7b426.system.entry.js} +1 -1
- package/dist/stzh-components/p-12a2afe9.entry.js +1 -0
- package/dist/stzh-components/p-17645237.entry.js +1 -0
- package/dist/stzh-components/p-18cb06e2.entry.js +1 -0
- package/dist/stzh-components/{p-c3161c9b.system.entry.js → p-19ab7e34.system.entry.js} +1 -1
- package/dist/stzh-components/p-1ae4d600.system.entry.js +1 -0
- package/dist/stzh-components/{p-ff534e27.entry.js → p-1d8272a5.entry.js} +1 -1
- package/dist/stzh-components/{p-27bfb4c2.system.entry.js → p-21cad060.system.entry.js} +1 -1
- package/dist/stzh-components/{p-14f0d546.entry.js → p-22b06793.entry.js} +1 -1
- package/dist/stzh-components/{p-22c9a00d.system.entry.js → p-23829f75.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3fc40cc0.system.entry.js → p-2577ca1e.system.entry.js} +1 -1
- package/dist/stzh-components/{p-7dd6fbc9.system.entry.js → p-288ee536.system.entry.js} +1 -1
- package/dist/stzh-components/{p-2c16d2ea.entry.js → p-28d8aa31.entry.js} +1 -1
- package/dist/stzh-components/{p-8fc8d8c2.system.entry.js → p-2bdc71ae.system.entry.js} +1 -1
- package/dist/stzh-components/p-2bec3c77.entry.js +1 -0
- package/dist/stzh-components/p-2d340222.system.entry.js +1 -0
- package/dist/stzh-components/{p-2e276f2e.system.entry.js → p-30ae5c00.system.entry.js} +1 -1
- package/dist/stzh-components/{p-34eb65b9.entry.js → p-30ba96a3.entry.js} +1 -1
- package/dist/stzh-components/{p-62afe664.entry.js → p-31c3469c.entry.js} +1 -1
- package/dist/stzh-components/{p-881e526e.system.entry.js → p-3200f52a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-725b3e74.system.entry.js → p-33f80cd2.system.entry.js} +1 -1
- package/dist/stzh-components/{p-456143f9.entry.js → p-376946bc.entry.js} +1 -1
- package/dist/stzh-components/p-385dda6c.system.entry.js +1 -0
- package/dist/stzh-components/{p-71220066.entry.js → p-391e6b90.entry.js} +1 -1
- package/dist/stzh-components/p-3a1ff759.entry.js +1 -0
- package/dist/stzh-components/p-3ad67331.entry.js +1 -0
- package/dist/stzh-components/p-3e850dce.entry.js +1 -0
- package/dist/stzh-components/p-4226dec6.system.entry.js +1 -0
- package/dist/stzh-components/p-441ea784.entry.js +1 -0
- package/dist/stzh-components/{p-229f4ebc.system.entry.js → p-44e0b101.system.entry.js} +1 -1
- package/dist/stzh-components/p-4704588f.system.entry.js +1 -0
- package/dist/stzh-components/{p-30e5a674.entry.js → p-49b292df.entry.js} +1 -1
- package/dist/stzh-components/p-49bb09a5.entry.js +1 -0
- package/dist/stzh-components/{p-9454a438.entry.js → p-4b0f473e.entry.js} +1 -1
- package/dist/stzh-components/p-4b369bac.entry.js +1 -0
- package/dist/stzh-components/p-5011f10c.js +1 -0
- package/dist/stzh-components/{p-53c30c58.entry.js → p-51be647d.entry.js} +1 -1
- package/dist/stzh-components/{p-6267a327.system.js → p-5494f37d.system.js} +1 -1
- package/dist/stzh-components/p-557f07b5.system.entry.js +1 -0
- package/dist/stzh-components/p-55b7cda7.system.entry.js +1 -0
- package/dist/stzh-components/{p-05901b22.system.entry.js → p-57237509.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b09b85ac.entry.js → p-576e1345.entry.js} +1 -1
- package/dist/stzh-components/p-5790eb4f.system.entry.js +1 -0
- package/dist/stzh-components/p-57a0f895.entry.js +1 -0
- package/dist/stzh-components/p-57f8596f.system.entry.js +1 -0
- package/dist/stzh-components/p-586a8b3f.entry.js +1 -0
- package/dist/stzh-components/p-58af0855.system.entry.js +1 -0
- package/dist/stzh-components/{p-c866224d.entry.js → p-5b1c1cf7.entry.js} +1 -1
- package/dist/stzh-components/{p-bd5b8114.system.entry.js → p-5ddf8258.system.entry.js} +1 -1
- package/dist/stzh-components/{p-470e5f38.system.entry.js → p-5fd9ae99.system.entry.js} +1 -1
- package/dist/stzh-components/{p-6c1ad586.system.entry.js → p-60274e67.system.entry.js} +1 -1
- package/dist/stzh-components/{p-470ccde5.system.entry.js → p-60d9bf98.system.entry.js} +1 -1
- package/dist/stzh-components/{p-652eee8b.system.entry.js → p-60ec90b2.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3efefb7f.entry.js → p-62a2684d.entry.js} +1 -1
- package/dist/stzh-components/p-63d94a57.system.entry.js +1 -0
- package/dist/stzh-components/{p-4a3f9353.entry.js → p-64422176.entry.js} +1 -1
- package/dist/stzh-components/{p-a3559e69.entry.js → p-661831da.entry.js} +1 -1
- package/dist/stzh-components/{p-bc841847.entry.js → p-669896ec.entry.js} +1 -1
- package/dist/stzh-components/{p-38b9e5e9.entry.js → p-67c6f0f2.entry.js} +1 -1
- package/dist/stzh-components/{p-b666bb15.entry.js → p-6a0a76b3.entry.js} +1 -1
- package/dist/stzh-components/{p-8ab86ca3.system.entry.js → p-6d009f56.system.entry.js} +1 -1
- package/dist/stzh-components/p-71c07419.system.entry.js +1 -0
- package/dist/stzh-components/{p-3a0f37bd.entry.js → p-72389069.entry.js} +1 -1
- package/dist/stzh-components/p-75068cd7.system.entry.js +1 -0
- package/dist/stzh-components/{p-229d4ad2.entry.js → p-76165227.entry.js} +1 -1
- package/dist/stzh-components/p-7704b10b.entry.js +1 -0
- package/dist/stzh-components/p-791bc813.system.js +1 -0
- package/dist/stzh-components/{p-71d757d3.js → p-7941cf38.js} +1 -1
- package/dist/stzh-components/{p-cc735465.system.entry.js → p-7adc28a4.system.entry.js} +2 -2
- package/dist/stzh-components/p-7b86c022.entry.js +1 -0
- package/dist/stzh-components/p-7c26f80f.system.entry.js +1 -0
- package/dist/stzh-components/p-7ce59988.system.entry.js +1 -0
- package/dist/stzh-components/{p-e785d9cc.entry.js → p-7e94dde2.entry.js} +1 -1
- package/dist/stzh-components/{p-bdc627fa.system.entry.js → p-812ea5e9.system.entry.js} +1 -1
- package/dist/stzh-components/{p-5c2d0572.entry.js → p-84965eac.entry.js} +1 -1
- package/dist/stzh-components/p-84b9f66f.system.entry.js +1 -0
- package/dist/stzh-components/p-853a1f92.entry.js +1 -0
- package/dist/stzh-components/p-86a29c35.js +1 -0
- package/dist/stzh-components/{p-44435254.system.entry.js → p-88a31179.system.entry.js} +1 -1
- package/dist/stzh-components/p-8991d3bc.entry.js +1 -0
- package/dist/stzh-components/{p-4fd4a703.entry.js → p-8a1d00fe.entry.js} +2 -2
- package/dist/stzh-components/{p-b99c0844.entry.js → p-8bbaed3a.entry.js} +1 -1
- package/dist/stzh-components/{p-6a96d63e.system.entry.js → p-8cc119d3.system.entry.js} +1 -1
- package/dist/stzh-components/p-8fa2fb95.system.entry.js +1 -0
- package/dist/stzh-components/p-9072a490.system.entry.js +1 -0
- package/dist/stzh-components/p-912706bb.entry.js +1 -0
- package/dist/stzh-components/{p-5e81420b.entry.js → p-9176246f.entry.js} +1 -1
- package/dist/stzh-components/p-92afa8df.entry.js +1 -0
- package/dist/stzh-components/{p-61d4852f.system.entry.js → p-94830f96.system.entry.js} +1 -1
- package/dist/stzh-components/p-95b490ec.system.entry.js +1 -0
- package/dist/stzh-components/p-9743f558.system.entry.js +1 -0
- package/dist/stzh-components/p-97e16665.system.entry.js +1 -0
- package/dist/stzh-components/p-996579d0.entry.js +1 -0
- package/dist/stzh-components/{p-7a4c6adb.js → p-9a5ebb1f.js} +1 -1
- package/dist/stzh-components/{p-1a5fc8e3.system.entry.js → p-9dac46e2.system.entry.js} +1 -1
- package/dist/stzh-components/p-9e38b823.system.entry.js +1 -0
- package/dist/stzh-components/p-9e4e0cc9.entry.js +1 -0
- package/dist/stzh-components/p-a16dc363.entry.js +1 -0
- package/dist/stzh-components/{p-33a52001.system.entry.js → p-a474826c.system.entry.js} +1 -1
- package/dist/stzh-components/{p-7d77b8d2.entry.js → p-a53c0a98.entry.js} +1 -1
- package/dist/stzh-components/{p-0c10d9b1.entry.js → p-a8101552.entry.js} +2 -2
- package/dist/stzh-components/p-a934dd4d.entry.js +1 -0
- package/dist/stzh-components/{p-5caa837c.system.entry.js → p-aacf685b.system.entry.js} +2 -2
- package/dist/stzh-components/{p-c1100fde.entry.js → p-aae4655f.entry.js} +1 -1
- package/dist/stzh-components/p-ac1a6085.system.entry.js +1 -0
- package/dist/stzh-components/p-ac3aa560.system.entry.js +1 -0
- package/dist/stzh-components/{p-7c172e64.system.entry.js → p-afedafa6.system.entry.js} +1 -1
- package/dist/stzh-components/p-b0d8866d.entry.js +1 -0
- package/dist/stzh-components/{p-36596b2b.system.entry.js → p-b2145753.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3a279b45.entry.js → p-b3dc4913.entry.js} +1 -1
- package/dist/stzh-components/{p-44dd74d1.system.entry.js → p-b436a18d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-55435022.system.entry.js → p-b908d228.system.entry.js} +1 -1
- package/dist/stzh-components/{p-909d7a3c.system.js → p-b937ae70.system.js} +1 -1
- package/dist/stzh-components/{p-daa34275.system.entry.js → p-ba0b93c4.system.entry.js} +1 -1
- package/dist/stzh-components/{p-90665664.system.entry.js → p-be79497f.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0e48efa7.entry.js → p-bee6eef5.entry.js} +1 -1
- package/dist/stzh-components/{p-616e70e9.system.entry.js → p-bfcfbfbb.system.entry.js} +1 -1
- package/dist/stzh-components/p-c0fef3d1.entry.js +1 -0
- package/dist/stzh-components/{p-8eb72064.system.entry.js → p-c30600d0.system.entry.js} +1 -1
- package/dist/stzh-components/{p-46f4e907.entry.js → p-c3a543a6.entry.js} +1 -1
- package/dist/stzh-components/p-c63aecaa.system.entry.js +1 -0
- package/dist/stzh-components/p-c87e12de.system.entry.js +1 -0
- package/dist/stzh-components/{p-2c783943.entry.js → p-cc720d2d.entry.js} +1 -1
- package/dist/stzh-components/p-cfd22a5e.system.entry.js +1 -0
- package/dist/stzh-components/p-cff8376e.entry.js +1 -0
- package/dist/stzh-components/p-d240494d.entry.js +1 -0
- package/dist/stzh-components/p-d2f6fb1b.system.js +1 -0
- package/dist/stzh-components/p-d5c0801b.entry.js +1 -0
- package/dist/stzh-components/{p-440ae0cc.system.entry.js → p-d5cb80ad.system.entry.js} +1 -1
- package/dist/stzh-components/p-d6ec20c8.system.entry.js +1 -0
- package/dist/stzh-components/p-d9bf09b1.system.entry.js +1 -0
- package/dist/stzh-components/{p-b5a59ac0.entry.js → p-db1692fb.entry.js} +1 -1
- package/dist/stzh-components/{p-609bf766.system.js → p-dbdc01c7.system.js} +2 -2
- package/dist/stzh-components/{p-8347b91f.js → p-df5f49b4.js} +1 -1
- package/dist/stzh-components/p-e016ceb9.entry.js +1 -0
- package/dist/stzh-components/{p-fade35c7.entry.js → p-e0f063ac.entry.js} +1 -1
- package/dist/stzh-components/p-e32bc982.system.js +1 -0
- package/dist/stzh-components/{p-5ed4d1d5.system.entry.js → p-e46d82b9.system.entry.js} +1 -1
- package/dist/stzh-components/p-e76a3647.entry.js +1 -0
- package/dist/stzh-components/{p-e347ce1e.system.entry.js → p-e7cf6c45.system.entry.js} +1 -1
- package/dist/stzh-components/p-ea9ca52b.entry.js +1 -0
- package/dist/stzh-components/p-eaa65f52.system.js +1 -0
- package/dist/stzh-components/p-eade9f77.entry.js +1 -0
- package/dist/stzh-components/{p-e69903fe.entry.js → p-eb6d3e6c.entry.js} +1 -1
- package/dist/stzh-components/{p-d408604f.system.entry.js → p-ec3a472a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-d4b93488.entry.js → p-ec7b6ce8.entry.js} +2 -2
- package/dist/stzh-components/{p-ef62b905.entry.js → p-ed0d51b6.entry.js} +1 -1
- package/dist/stzh-components/p-ed6adb96.entry.js +1 -0
- package/dist/stzh-components/p-ef3da23b.entry.js +1 -0
- package/dist/stzh-components/{p-27573504.system.entry.js → p-f027e569.system.entry.js} +1 -1
- package/dist/stzh-components/{p-95defe16.system.entry.js → p-f03ce92d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-a866b3a3.entry.js → p-f133eba2.entry.js} +1 -1
- package/dist/stzh-components/p-f3107fc7.system.entry.js +1 -0
- package/dist/stzh-components/{p-92788577.entry.js → p-f5fdc88c.entry.js} +2 -2
- package/dist/stzh-components/{p-183e4790.system.entry.js → p-fbf2f4ed.system.entry.js} +1 -1
- package/dist/stzh-components/{p-f5f3475c.system.entry.js → p-fcec6003.system.entry.js} +1 -1
- package/dist/stzh-components/{p-cf781b59.entry.js → p-fd265f3a.entry.js} +1 -1
- package/dist/stzh-components/p-fdb906b9.system.entry.js +1 -0
- package/dist/stzh-components/{p-b54ed1f9.entry.js → p-fee6a938.entry.js} +1 -1
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.d.ts +1 -0
- package/dist/types/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.d.ts +5 -0
- package/dist/types/components/stzh-popover/stzh-popover.localization.d.ts +1 -0
- package/dist/types/components/stzh-tooltip/stzh-tooltip.localization.d.ts +1 -0
- package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +13 -12
- package/dist/types/components.d.ts +534 -29
- package/dist/types/index.d.ts +86 -2
- package/dist/vscode-data.json +291 -18
- package/package.json +1 -1
- package/dist/cjs/stzh-card-list.cjs.entry.js +0 -76
- package/dist/cjs/stzh-card.cjs.entry.js +0 -282
- package/dist/cjs/stzh-chip-select.cjs.entry.js +0 -112
- package/dist/cjs/stzh-datalist.cjs.entry.js +0 -62
- package/dist/esm/stzh-card-list.entry.js +0 -72
- package/dist/esm/stzh-card.entry.js +0 -278
- package/dist/esm/stzh-chip-select.entry.js +0 -108
- package/dist/esm/stzh-datalist.entry.js +0 -58
- package/dist/esm-es5/animation-utils-25c74e5b.js +0 -1
- package/dist/esm-es5/stzh-card-list.entry.js +0 -1
- package/dist/esm-es5/stzh-card.entry.js +0 -1
- package/dist/esm-es5/stzh-chip-select.entry.js +0 -1
- package/dist/esm-es5/stzh-datalist.entry.js +0 -1
- package/dist/stzh-components/p-01909f35.system.entry.js +0 -1
- package/dist/stzh-components/p-0230004d.system.js +0 -1
- package/dist/stzh-components/p-025953d1.system.entry.js +0 -1
- package/dist/stzh-components/p-04dd6821.entry.js +0 -1
- package/dist/stzh-components/p-090bfb8e.system.entry.js +0 -1
- package/dist/stzh-components/p-105a11cb.entry.js +0 -1
- package/dist/stzh-components/p-140e4b63.entry.js +0 -1
- package/dist/stzh-components/p-14e457c6.system.entry.js +0 -1
- package/dist/stzh-components/p-17ae6581.entry.js +0 -1
- package/dist/stzh-components/p-1f57d28e.js +0 -1
- package/dist/stzh-components/p-20a6ffbb.entry.js +0 -1
- package/dist/stzh-components/p-238a8c83.system.entry.js +0 -1
- package/dist/stzh-components/p-25ef050a.entry.js +0 -1
- package/dist/stzh-components/p-293ceb5e.entry.js +0 -1
- package/dist/stzh-components/p-2a5855f8.js +0 -1
- package/dist/stzh-components/p-2ba8b5c9.system.entry.js +0 -1
- package/dist/stzh-components/p-37bdb9cd.system.entry.js +0 -1
- package/dist/stzh-components/p-38977481.entry.js +0 -1
- package/dist/stzh-components/p-3a47ff2d.system.entry.js +0 -1
- package/dist/stzh-components/p-509c97c9.system.entry.js +0 -1
- package/dist/stzh-components/p-50ea2036.system.js +0 -1
- package/dist/stzh-components/p-51c75fba.system.entry.js +0 -1
- package/dist/stzh-components/p-529a56aa.system.entry.js +0 -1
- package/dist/stzh-components/p-52cd1bd1.system.js +0 -1
- package/dist/stzh-components/p-5869502c.system.entry.js +0 -1
- package/dist/stzh-components/p-5c311df3.entry.js +0 -1
- package/dist/stzh-components/p-60d8e2da.entry.js +0 -1
- package/dist/stzh-components/p-61c9ca5d.entry.js +0 -1
- package/dist/stzh-components/p-67ade1c7.system.entry.js +0 -1
- package/dist/stzh-components/p-6830f839.entry.js +0 -1
- package/dist/stzh-components/p-6a16ceff.entry.js +0 -1
- package/dist/stzh-components/p-6d22bd0d.entry.js +0 -1
- package/dist/stzh-components/p-783346ed.entry.js +0 -1
- package/dist/stzh-components/p-7909f56b.entry.js +0 -1
- package/dist/stzh-components/p-7a584d3f.system.entry.js +0 -1
- package/dist/stzh-components/p-7aef399f.entry.js +0 -1
- package/dist/stzh-components/p-7dec02ca.entry.js +0 -1
- package/dist/stzh-components/p-84aace40.system.entry.js +0 -1
- package/dist/stzh-components/p-8d9056de.entry.js +0 -1
- package/dist/stzh-components/p-8f9de52f.system.entry.js +0 -1
- package/dist/stzh-components/p-90ad5e2c.entry.js +0 -1
- package/dist/stzh-components/p-92ad9720.system.entry.js +0 -1
- package/dist/stzh-components/p-965829a6.system.entry.js +0 -1
- package/dist/stzh-components/p-98a972b7.system.entry.js +0 -1
- package/dist/stzh-components/p-9a7593f5.entry.js +0 -1
- package/dist/stzh-components/p-a10e0117.system.entry.js +0 -1
- package/dist/stzh-components/p-ac409e7b.system.entry.js +0 -1
- package/dist/stzh-components/p-ad119aca.entry.js +0 -1
- package/dist/stzh-components/p-b0e514c7.entry.js +0 -1
- package/dist/stzh-components/p-b3587b9d.system.entry.js +0 -1
- package/dist/stzh-components/p-bc34bf07.system.entry.js +0 -1
- package/dist/stzh-components/p-bfdce66c.entry.js +0 -1
- package/dist/stzh-components/p-c051fc3b.entry.js +0 -1
- package/dist/stzh-components/p-c2238fbf.entry.js +0 -1
- package/dist/stzh-components/p-c3846ccf.system.entry.js +0 -1
- package/dist/stzh-components/p-c6813d9f.system.entry.js +0 -1
- package/dist/stzh-components/p-c777032f.system.entry.js +0 -1
- package/dist/stzh-components/p-c8009c05.system.entry.js +0 -1
- package/dist/stzh-components/p-cbaab05e.entry.js +0 -1
- package/dist/stzh-components/p-ce06b4f2.system.js +0 -1
- package/dist/stzh-components/p-d00e20ff.entry.js +0 -1
- package/dist/stzh-components/p-d26ed018.entry.js +0 -1
- package/dist/stzh-components/p-e161760f.system.entry.js +0 -1
- package/dist/stzh-components/p-ee711f37.system.entry.js +0 -1
- package/dist/stzh-components/p-ee944add.system.entry.js +0 -1
- package/dist/stzh-components/p-f8ccf5b1.entry.js +0 -1
- package/dist/stzh-components/p-f9039c23.entry.js +0 -1
- package/dist/stzh-components/p-ff2a6bdf.system.entry.js +0 -1
|
@@ -1,160 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { S as StzhInputDescription } from './stzh-input-description.js';
|
|
3
|
-
import { f as fetchTranslations } from './translation-utils.js';
|
|
4
|
-
import { d as defineCustomElement$5 } from './stzh-chip2.js';
|
|
5
|
-
import { d as defineCustomElement$4 } from './stzh-dropdown2.js';
|
|
6
|
-
import { d as defineCustomElement$3 } from './stzh-icon2.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './stzh-popover2.js';
|
|
8
|
-
|
|
9
|
-
const stzhChipSelectCss = ".sc-stzh-chip-select-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-chip-select-h{display:none}.sc-stzh-chip-select-h *.sc-stzh-chip-select,.sc-stzh-chip-select-h *.sc-stzh-chip-select::before,.sc-stzh-chip-select-h *.sc-stzh-chip-select::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-chip-select__marker-symbol.sc-stzh-chip-select{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-chip-select__marker-text.sc-stzh-chip-select{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-chip-select__description-wrapper.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select__description.sc-stzh-chip-select{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-chip-select__error.sc-stzh-chip-select{color:var(--stzh-color-error)}.stzh-chip-select__error-list.sc-stzh-chip-select{list-style:none;margin:0;padding:0}.stzh-chip-select__description.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-chip-select__description-long.sc-stzh-chip-select{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-chip-select__description-long-popover.sc-stzh-chip-select{--width:auto;--max-width:27.3125rem}.stzh-chip-select__description-long-popover[open].sc-stzh-chip-select:not([open=false]) .stzh-chip-select__description-long-button.sc-stzh-chip-select{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select__description-long-button.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-chip-select__description-long-button.sc-stzh-chip-select:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select.sc-stzh-chip-select stzh-icon.stzh-chip-select__description-long-icon.sc-stzh-chip-select{--size:var(--stzh-icon-size-xsmall)}.stzh-chip-select--has-error.sc-stzh-chip-select .stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select--has-description.sc-stzh-chip-select .stzh-chip-select__description.sc-stzh-chip-select{margin-top:var(--stzh-space-xxsmall)}.stzh-chip-select__chips.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-space-small) / -2) calc(var(--stzh-space-xsmall) / -2)}@media screen and (max-width: 1023px){.stzh-chip-select__chips.sc-stzh-chip-select{display:none}}.stzh-chip-select__chip.sc-stzh-chip-select{margin:calc(var(--stzh-space-small) / 2) calc(var(--stzh-space-xsmall) / 2)}@media screen and (min-width: 1024px){.stzh-chip-select__dropdown.sc-stzh-chip-select{display:none}}@media screen and (max-width: 1023px){.stzh-chip-select__description-wrapper.sc-stzh-chip-select{display:none}}.stzh-chip-select--has-error.sc-stzh-chip-select .stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select--has-description.sc-stzh-chip-select .stzh-chip-select__description.sc-stzh-chip-select{margin-top:var(--stzh-space-xsmall)}";
|
|
10
|
-
|
|
11
|
-
let chipSelectCounter = 0;
|
|
12
|
-
const StzhChipSelect$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
13
|
-
constructor() {
|
|
14
|
-
super();
|
|
15
|
-
this.__registerHost();
|
|
16
|
-
this.stzhChange = createEvent(this, "stzhChange", 7);
|
|
17
|
-
this._data = [];
|
|
18
|
-
this._dataDropdown = [];
|
|
19
|
-
this.chipClick = (data) => {
|
|
20
|
-
this.value = data.value;
|
|
21
|
-
this.stzhChange.emit({
|
|
22
|
-
component: "stzh-chip-select",
|
|
23
|
-
value: this.value
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
this.onDropdownChange = (event) => {
|
|
27
|
-
this.value = event.detail.value;
|
|
28
|
-
this.stzhChange.emit({
|
|
29
|
-
component: "stzh-chip-select",
|
|
30
|
-
value: this.value
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
this.localization = undefined;
|
|
34
|
-
this.data = [];
|
|
35
|
-
this.name = undefined;
|
|
36
|
-
this.label = "";
|
|
37
|
-
this.value = "";
|
|
38
|
-
this.description = undefined;
|
|
39
|
-
this.descriptionLong = undefined;
|
|
40
|
-
this.error = undefined;
|
|
41
|
-
this.invalid = false;
|
|
42
|
-
this.required = false;
|
|
43
|
-
this.disabled = false;
|
|
44
|
-
this.a11yDescribedby = "";
|
|
45
|
-
}
|
|
46
|
-
dataWatcher(newValue) {
|
|
47
|
-
if (typeof newValue === "string") {
|
|
48
|
-
this._data = JSON.parse(newValue);
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
this._data = newValue;
|
|
52
|
-
}
|
|
53
|
-
this._dataDropdown = this._data.map((data) => {
|
|
54
|
-
return {
|
|
55
|
-
text: `${data.label} (${data.counter})`,
|
|
56
|
-
value: data.value
|
|
57
|
-
};
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
errorWatcher(newValue) {
|
|
61
|
-
if (typeof newValue === "string") {
|
|
62
|
-
try {
|
|
63
|
-
this._error = JSON.parse(newValue);
|
|
64
|
-
}
|
|
65
|
-
catch (e) {
|
|
66
|
-
if (newValue) {
|
|
67
|
-
this._error = [newValue];
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
this._error = [];
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
else if (newValue) {
|
|
75
|
-
this._error = newValue;
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
this._error = [];
|
|
79
|
-
}
|
|
80
|
-
this.invalid = this._error.length > 0;
|
|
81
|
-
}
|
|
82
|
-
async componentWillLoad() {
|
|
83
|
-
this.inputId = `stzh-chip-select-${chipSelectCounter++}`;
|
|
84
|
-
this.dataWatcher(this.data);
|
|
85
|
-
this.errorWatcher(this.error);
|
|
86
|
-
if (!this.localization) {
|
|
87
|
-
this.localization = await fetchTranslations(this.element, "chip-select");
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
render() {
|
|
91
|
-
const descriptionUsed = !!this.description;
|
|
92
|
-
const descriptionLongUsed = !!this.descriptionLong;
|
|
93
|
-
const errorUsed = !!this.error;
|
|
94
|
-
const classes = {
|
|
95
|
-
"stzh-chip-select": true,
|
|
96
|
-
"stzh-chip-select--has-description": descriptionUsed,
|
|
97
|
-
"stzh-chip-select--has-description-long": descriptionLongUsed,
|
|
98
|
-
"stzh-chip-select--has-error": errorUsed,
|
|
99
|
-
"stzh-chip-select--is-invalid": this.invalid,
|
|
100
|
-
"stzh-chip-select--is-disabled": this.disabled,
|
|
101
|
-
"stzh-chip-select--is-required": this.required
|
|
102
|
-
};
|
|
103
|
-
return (h(Host, null, h("div", { class: classes }, h("input", { type: "hidden", name: this.name, value: this.value }), h("div", { class: "stzh-chip-select__chips", role: "listbox" }, this._data.map((data) => (h("stzh-chip", { role: "option", class: "stzh-chip-select__chip", label: data.label, counter: data.counter, icon: data.icon, type: data.type, variant: data.variant, size: data.size, disabled: this.disabled || data.disabled, active: this.value === data.value, "aria-selected": this.value === data.value ? "true" : null, a11yDescribedby: `${this.inputId}-description ${this.a11yDescribedby}`, onClick: () => this.chipClick(data) })))), h(StzhInputDescription, { classPrefix: "stzh-chip-select", id: `${this.inputId}-description`, error: this._error, description: this.description, descriptionLong: this.descriptionLong, descriptionLongUsed: descriptionLongUsed, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel }), h("stzh-dropdown", { class: "stzh-chip-select__dropdown", disabled: this.disabled, error: this._error, description: this.description, descriptionLong: this.descriptionLong, required: this.required, invalid: this.invalid, items: [this.value], label: this.label, options: this._dataDropdown, onStzhChange: this.onDropdownChange }))));
|
|
104
|
-
}
|
|
105
|
-
get element() { return this; }
|
|
106
|
-
static get watchers() { return {
|
|
107
|
-
"data": ["dataWatcher"],
|
|
108
|
-
"error": ["errorWatcher"]
|
|
109
|
-
}; }
|
|
110
|
-
static get style() { return stzhChipSelectCss; }
|
|
111
|
-
}, [6, "stzh-chip-select", {
|
|
112
|
-
"localization": [16],
|
|
113
|
-
"data": [1],
|
|
114
|
-
"name": [513],
|
|
115
|
-
"label": [1],
|
|
116
|
-
"value": [1],
|
|
117
|
-
"description": [1],
|
|
118
|
-
"descriptionLong": [1, "description-long"],
|
|
119
|
-
"error": [1],
|
|
120
|
-
"invalid": [516],
|
|
121
|
-
"required": [516],
|
|
122
|
-
"disabled": [516],
|
|
123
|
-
"a11yDescribedby": [1, "a11y-describedby"]
|
|
124
|
-
}]);
|
|
125
|
-
function defineCustomElement$1() {
|
|
126
|
-
if (typeof customElements === "undefined") {
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
const components = ["stzh-chip-select", "stzh-chip", "stzh-dropdown", "stzh-icon", "stzh-popover"];
|
|
130
|
-
components.forEach(tagName => { switch (tagName) {
|
|
131
|
-
case "stzh-chip-select":
|
|
132
|
-
if (!customElements.get(tagName)) {
|
|
133
|
-
customElements.define(tagName, StzhChipSelect$1);
|
|
134
|
-
}
|
|
135
|
-
break;
|
|
136
|
-
case "stzh-chip":
|
|
137
|
-
if (!customElements.get(tagName)) {
|
|
138
|
-
defineCustomElement$5();
|
|
139
|
-
}
|
|
140
|
-
break;
|
|
141
|
-
case "stzh-dropdown":
|
|
142
|
-
if (!customElements.get(tagName)) {
|
|
143
|
-
defineCustomElement$4();
|
|
144
|
-
}
|
|
145
|
-
break;
|
|
146
|
-
case "stzh-icon":
|
|
147
|
-
if (!customElements.get(tagName)) {
|
|
148
|
-
defineCustomElement$3();
|
|
149
|
-
}
|
|
150
|
-
break;
|
|
151
|
-
case "stzh-popover":
|
|
152
|
-
if (!customElements.get(tagName)) {
|
|
153
|
-
defineCustomElement$2();
|
|
154
|
-
}
|
|
155
|
-
break;
|
|
156
|
-
} });
|
|
157
|
-
}
|
|
1
|
+
import { S as StzhChipSelect$1, d as defineCustomElement$1 } from './stzh-chip-select2.js';
|
|
158
2
|
|
|
159
3
|
const StzhChipSelect = StzhChipSelect$1;
|
|
160
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { S as StzhInputDescription } from './stzh-input-description.js';
|
|
3
|
+
import { f as fetchTranslations } from './translation-utils.js';
|
|
4
|
+
import { d as defineCustomElement$4 } from './stzh-chip2.js';
|
|
5
|
+
import { d as defineCustomElement$3 } from './stzh-dropdown2.js';
|
|
6
|
+
import { d as defineCustomElement$2 } from './stzh-icon2.js';
|
|
7
|
+
import { d as defineCustomElement$1 } from './stzh-popover2.js';
|
|
8
|
+
|
|
9
|
+
const stzhChipSelectCss = ".sc-stzh-chip-select-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-chip-select-h{display:none}.sc-stzh-chip-select-h *.sc-stzh-chip-select,.sc-stzh-chip-select-h *.sc-stzh-chip-select::before,.sc-stzh-chip-select-h *.sc-stzh-chip-select::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-chip-select__marker-symbol.sc-stzh-chip-select{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-chip-select__marker-text.sc-stzh-chip-select{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-chip-select__description-wrapper.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select__description.sc-stzh-chip-select{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-chip-select__error.sc-stzh-chip-select{color:var(--stzh-color-error)}.stzh-chip-select__error-list.sc-stzh-chip-select{list-style:none;margin:0;padding:0}.stzh-chip-select__description.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-chip-select__description-long.sc-stzh-chip-select{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-chip-select__description-long-popover.sc-stzh-chip-select{--width:auto;--max-width:27.3125rem}.stzh-chip-select__description-long-popover[open].sc-stzh-chip-select:not([open=false]) .stzh-chip-select__description-long-button.sc-stzh-chip-select{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select__description-long-button.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;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)}@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)}";
|
|
10
|
+
|
|
11
|
+
let chipSelectCounter = 0;
|
|
12
|
+
const StzhChipSelect = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
13
|
+
constructor() {
|
|
14
|
+
super();
|
|
15
|
+
this.__registerHost();
|
|
16
|
+
this.stzhChange = createEvent(this, "stzhChange", 7);
|
|
17
|
+
this._data = [];
|
|
18
|
+
this._dataDropdown = [];
|
|
19
|
+
this.handleChipClick = (data) => {
|
|
20
|
+
this.value = data.value;
|
|
21
|
+
this.stzhChange.emit({
|
|
22
|
+
component: "stzh-chip-select",
|
|
23
|
+
value: this.value
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
this.handleDropdownChange = (event) => {
|
|
27
|
+
this.value = event.detail.value;
|
|
28
|
+
this.stzhChange.emit({
|
|
29
|
+
component: "stzh-chip-select",
|
|
30
|
+
value: this.value
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
this.handleKeydown = (event) => {
|
|
34
|
+
let newIndex = null;
|
|
35
|
+
if (event.key === "ArrowUp" || event.key === "ArrowLeft") {
|
|
36
|
+
event.preventDefault();
|
|
37
|
+
const activeOptionIndex = this.getActiveOptionIndex();
|
|
38
|
+
if (activeOptionIndex > 0) {
|
|
39
|
+
newIndex = activeOptionIndex - 1;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
else if (event.key === "ArrowDown" || event.key === "ArrowRight") {
|
|
43
|
+
event.preventDefault();
|
|
44
|
+
const activeOptionIndex = this.getActiveOptionIndex();
|
|
45
|
+
if (activeOptionIndex < this._data.length - 1) {
|
|
46
|
+
newIndex = activeOptionIndex + 1;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
if (newIndex !== null) {
|
|
50
|
+
this.value = this._data[newIndex].value;
|
|
51
|
+
this.stzhChange.emit({
|
|
52
|
+
component: "stzh-chip-select",
|
|
53
|
+
value: this.value
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
this.localization = undefined;
|
|
58
|
+
this.data = [];
|
|
59
|
+
this.name = undefined;
|
|
60
|
+
this.label = "";
|
|
61
|
+
this.value = "";
|
|
62
|
+
this.description = undefined;
|
|
63
|
+
this.descriptionLong = undefined;
|
|
64
|
+
this.error = undefined;
|
|
65
|
+
this.invalid = false;
|
|
66
|
+
this.required = false;
|
|
67
|
+
this.disabled = false;
|
|
68
|
+
this.a11yDescribedby = "";
|
|
69
|
+
}
|
|
70
|
+
dataWatcher(newValue) {
|
|
71
|
+
if (typeof newValue === "string") {
|
|
72
|
+
this._data = JSON.parse(newValue);
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
this._data = newValue;
|
|
76
|
+
}
|
|
77
|
+
this._dataDropdown = this._data.map((data) => {
|
|
78
|
+
return {
|
|
79
|
+
text: `${data.label} (${data.counter})`,
|
|
80
|
+
value: data.value
|
|
81
|
+
};
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
errorWatcher(newValue) {
|
|
85
|
+
if (typeof newValue === "string") {
|
|
86
|
+
try {
|
|
87
|
+
this._error = JSON.parse(newValue);
|
|
88
|
+
}
|
|
89
|
+
catch (e) {
|
|
90
|
+
if (newValue) {
|
|
91
|
+
this._error = [newValue];
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
this._error = [];
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
else if (newValue) {
|
|
99
|
+
this._error = newValue;
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
this._error = [];
|
|
103
|
+
}
|
|
104
|
+
this.invalid = this._error.length > 0;
|
|
105
|
+
}
|
|
106
|
+
getActiveOptionIndex() {
|
|
107
|
+
return this._data.findIndex(data => this.value === data.value);
|
|
108
|
+
}
|
|
109
|
+
async componentWillLoad() {
|
|
110
|
+
this.id = `stzh-chip-select-${chipSelectCounter++}`;
|
|
111
|
+
this.dataWatcher(this.data);
|
|
112
|
+
this.errorWatcher(this.error);
|
|
113
|
+
if (!this.localization) {
|
|
114
|
+
this.localization = await fetchTranslations(this.element, "chip-select");
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
render() {
|
|
118
|
+
const descriptionUsed = !!this.description;
|
|
119
|
+
const descriptionLongUsed = !!this.descriptionLong;
|
|
120
|
+
const errorUsed = !!this.error;
|
|
121
|
+
const classes = {
|
|
122
|
+
"stzh-chip-select": true,
|
|
123
|
+
"stzh-chip-select--has-description": descriptionUsed,
|
|
124
|
+
"stzh-chip-select--has-description-long": descriptionLongUsed,
|
|
125
|
+
"stzh-chip-select--has-error": errorUsed,
|
|
126
|
+
"stzh-chip-select--is-invalid": this.invalid,
|
|
127
|
+
"stzh-chip-select--is-disabled": this.disabled,
|
|
128
|
+
"stzh-chip-select--is-required": this.required
|
|
129
|
+
};
|
|
130
|
+
return (h(Host, null, h("div", { class: classes }, h("input", { type: "hidden", name: this.name, value: this.value }), h("div", { class: "stzh-chip-select__chips", role: "listbox", tabindex: "0", "aria-multiselectable": "false", "aria-activedescendant": `${this.id}-option-${this.getActiveOptionIndex()}`, "aria-describedby": `${this.id}-description ${this.a11yDescribedby}`, onKeyDown: this.handleKeydown }, this._data.map((data, i) => (h("stzh-chip", { role: "option", class: "stzh-chip-select__chip", label: data.label, counter: data.counter, icon: data.icon, type: data.type, variant: data.variant, size: data.size, disabled: this.disabled || data.disabled, active: this.value === data.value, "aria-selected": this.value === data.value, id: `${this.id}-option-${i}`, a11yTabindex: "-1", onClick: () => this.handleChipClick(data) })))), h(StzhInputDescription, { classPrefix: "stzh-chip-select", id: `${this.id}-description`, error: this._error, description: this.description, descriptionLong: this.descriptionLong, descriptionLongUsed: descriptionLongUsed, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel }), h("stzh-dropdown", { class: "stzh-chip-select__dropdown", disabled: this.disabled, error: this._error, description: this.description, descriptionLong: this.descriptionLong, required: this.required, invalid: this.invalid, items: [this.value], label: this.label, options: this._dataDropdown, onStzhChange: this.handleDropdownChange }))));
|
|
131
|
+
}
|
|
132
|
+
get element() { return this; }
|
|
133
|
+
static get watchers() { return {
|
|
134
|
+
"data": ["dataWatcher"],
|
|
135
|
+
"error": ["errorWatcher"]
|
|
136
|
+
}; }
|
|
137
|
+
static get style() { return stzhChipSelectCss; }
|
|
138
|
+
}, [6, "stzh-chip-select", {
|
|
139
|
+
"localization": [16],
|
|
140
|
+
"data": [1],
|
|
141
|
+
"name": [513],
|
|
142
|
+
"label": [1],
|
|
143
|
+
"value": [1],
|
|
144
|
+
"description": [1],
|
|
145
|
+
"descriptionLong": [1, "description-long"],
|
|
146
|
+
"error": [1],
|
|
147
|
+
"invalid": [516],
|
|
148
|
+
"required": [516],
|
|
149
|
+
"disabled": [516],
|
|
150
|
+
"a11yDescribedby": [1, "a11y-describedby"]
|
|
151
|
+
}]);
|
|
152
|
+
function defineCustomElement() {
|
|
153
|
+
if (typeof customElements === "undefined") {
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
const components = ["stzh-chip-select", "stzh-chip", "stzh-dropdown", "stzh-icon", "stzh-popover"];
|
|
157
|
+
components.forEach(tagName => { switch (tagName) {
|
|
158
|
+
case "stzh-chip-select":
|
|
159
|
+
if (!customElements.get(tagName)) {
|
|
160
|
+
customElements.define(tagName, StzhChipSelect);
|
|
161
|
+
}
|
|
162
|
+
break;
|
|
163
|
+
case "stzh-chip":
|
|
164
|
+
if (!customElements.get(tagName)) {
|
|
165
|
+
defineCustomElement$4();
|
|
166
|
+
}
|
|
167
|
+
break;
|
|
168
|
+
case "stzh-dropdown":
|
|
169
|
+
if (!customElements.get(tagName)) {
|
|
170
|
+
defineCustomElement$3();
|
|
171
|
+
}
|
|
172
|
+
break;
|
|
173
|
+
case "stzh-icon":
|
|
174
|
+
if (!customElements.get(tagName)) {
|
|
175
|
+
defineCustomElement$2();
|
|
176
|
+
}
|
|
177
|
+
break;
|
|
178
|
+
case "stzh-popover":
|
|
179
|
+
if (!customElements.get(tagName)) {
|
|
180
|
+
defineCustomElement$1();
|
|
181
|
+
}
|
|
182
|
+
break;
|
|
183
|
+
} });
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export { StzhChipSelect as S, defineCustomElement as d };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { d as defineCustomElement$1 } from './stzh-icon2.js';
|
|
3
3
|
|
|
4
|
-
const stzhChipCss = ".sc-stzh-chip-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-h{display:none}.sc-stzh-chip-h *.sc-stzh-chip,.sc-stzh-chip-h *.sc-stzh-chip::before,.sc-stzh-chip-h *.sc-stzh-chip::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-chip-h{--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--height:2rem;--border:0.0625rem solid var(--stzh-color-grey13);--border-radius:1rem;--remove-color:var(--stzh-base-lead-color);--remove-border-radius:1.5rem;--background-color:var(--stzh-color-white);--icon-size:var(--stzh-icon-size-small);--icon-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--counter-color:var(--stzh-color-primary48);--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border:var(--border);--hover-background-color:var(--stzh-color-primary8);--hover-remove-color:var(--hover-color);--hover-remove-background-color:var(--hover-background-color);--hover-icon-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-counter-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));display:-ms-inline-flexbox;display:inline-flex;border-radius:var(--border-radius)}[size=small].sc-stzh-chip-h{--height:1.5rem;--border-radius:0.75rem;--icon-size:var(--stzh-icon-size-xsmall)}[variant=input].sc-stzh-chip-h{--border:0.0625rem solid transparent;--background-color:var(--stzh-color-grey5);--hover-border:0.0625rem solid transparent}[variant=tag].sc-stzh-chip-h{--color:var(--stzh-base-color);--icon-color:var(--stzh-base-color);--counter-color:var(--stzh-base-color);--border:0.0625rem solid transparent;--background-color:var(--stzh-color-black8);--hover-color:var(--stzh-base-color);--hover-border:0.0625rem solid transparent;--hover-background-color:var(--stzh-color-black8);--hover-icon-color:var(--stzh-base-color);--hover-counter-color:var(--stzh-base-color)}[type=secondary].sc-stzh-chip-h{--color:var(--stzh-base-lead-color);--counter-color:var(--stzh-color-grey40)}[type=important].sc-stzh-chip-h{--color:var(--stzh-color-error);--icon-color:var(--stzh-color-error);--counter-color:var(--stzh-color-error);--hover-color:var(--stzh-color-error);--hover-icon-color:var(--stzh-color-error);--hover-counter-color:var(--stzh-color-error)}[active].sc-stzh-chip-h:not([active=false]){--color:var(--stzh-color-white);--border:0.0625rem solid transparent;--remove-color:var(--stzh-color-white);--background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--
|
|
4
|
+
const stzhChipCss = ".sc-stzh-chip-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-h{display:none}.sc-stzh-chip-h *.sc-stzh-chip,.sc-stzh-chip-h *.sc-stzh-chip::before,.sc-stzh-chip-h *.sc-stzh-chip::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-chip-h{--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--height:2rem;--border:0.0625rem solid var(--stzh-color-grey13);--border-radius:1rem;--remove-color:var(--stzh-base-lead-color);--remove-border-radius:1.5rem;--background-color:var(--stzh-color-white);--icon-size:var(--stzh-icon-size-small);--icon-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--counter-color:var(--stzh-color-primary48);--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border:var(--border);--hover-background-color:var(--stzh-color-primary8);--hover-remove-color:var(--hover-color);--hover-remove-background-color:var(--hover-background-color);--hover-icon-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-counter-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));display:-ms-inline-flexbox;display:inline-flex;border-radius:var(--border-radius)}@media (forced-colors: active), (-ms-high-contrast: active){.sc-stzh-chip-h{--hover-color:Highlight;--hover-border:0.0625rem solid Highlight;--hover-background-color:Canvas;--hover-remove-color:Highlight;--hover-remove-background-color:Canvas;--hover-icon-color:Highlight;--hover-counter-color:Highlight}}[size=small].sc-stzh-chip-h{--height:1.5rem;--border-radius:0.75rem;--icon-size:var(--stzh-icon-size-xsmall)}[variant=input].sc-stzh-chip-h{--border:0.0625rem solid transparent;--background-color:var(--stzh-color-grey5);--hover-border:0.0625rem solid transparent}[variant=tag].sc-stzh-chip-h{--color:var(--stzh-base-color);--icon-color:var(--stzh-base-color);--counter-color:var(--stzh-base-color);--border:0.0625rem solid transparent;--background-color:var(--stzh-color-black8);--hover-color:var(--stzh-base-color);--hover-border:0.0625rem solid transparent;--hover-background-color:var(--stzh-color-black8);--hover-icon-color:var(--stzh-base-color);--hover-counter-color:var(--stzh-base-color)}[type=secondary].sc-stzh-chip-h{--color:var(--stzh-base-lead-color);--counter-color:var(--stzh-color-grey40)}[type=important].sc-stzh-chip-h{--color:var(--stzh-color-error);--icon-color:var(--stzh-color-error);--counter-color:var(--stzh-color-error);--hover-color:var(--stzh-color-error);--hover-icon-color:var(--stzh-color-error);--hover-counter-color:var(--stzh-color-error)}@media (forced-colors: active), (-ms-high-contrast: active){[type=important].sc-stzh-chip-h{--hover-color:Highlight;--hover-icon-color:Highlight;--hover-counter-color:Highlight}}[active].sc-stzh-chip-h:not([active=false]){--color:var(--stzh-color-white);--border:0.0625rem solid transparent;--remove-color:var(--stzh-color-white);--background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--icon-color:var(--stzh-color-white);--counter-color:var(--stzh-color-white48);--hover-color:var(--stzh-color-white);--hover-border:0.0625rem solid transparent;--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-remove-color:var(--stzh-color-white);--hover-remove-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-icon-color:var(--stzh-color-white);--hover-counter-color:var(--stzh-color-white48)}@media (forced-colors: active), (-ms-high-contrast: active){[active].sc-stzh-chip-h:not([active=false]){--color:SelectedItem;--border:0.0625rem solid SelectedItem;--remove-color:SelectedItem;--background-color:Canvas;--icon-color:SelectedItem;--counter-color:SelectedItem;--hover-color:Highlight;--hover-border:0.0625rem solid Highlight;--hover-background-color:Canvas;--hover-remove-color:Highlight;--hover-remove-background-color:Canvas;--hover-icon-color:Highlight;--hover-counter-color:Highlight}}[disabled].sc-stzh-chip-h:not([disabled=false]){--color:var(--stzh-color-grey25);--border:0.0625rem solid var(--stzh-base-border-color);--remove-color:var(--stzh-color-grey13);--background-color:var(--stzh-color-white);--icon-color:var(--stzh-color-grey25);--counter-color:var(--stzh-color-grey25);--hover-color:var(--stzh-color-grey25);--hover-border:0.0625rem solid var(--stzh-base-border-color);--hover-background-color:var(--stzh-color-white);--hover-remove-color:var(--stzh-color-grey13);--hover-remove-background-color:transparent;--hover-icon-color:var(--stzh-color-grey25);--hover-counter-color:var(--stzh-color-grey25)}.sc-stzh-chip-h .sc-stzh-chip-s>stzh-icon,.stzh-chip__icon.sc-stzh-chip{--size:var(--icon-size)}.stzh-chip.sc-stzh-chip{position:relative;white-space:nowrap}.stzh-chip__vhidden.sc-stzh-chip{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__button.sc-stzh-chip{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);font-family:inherit;height:var(--height);display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;border-radius:var(--border-radius);padding:0 var(--stzh-space-medium);color:var(--color);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:var(--border);background-color:var(--background-color);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);text-decoration:none}.stzh-chip__icon-wrapper.sc-stzh-chip{display:-ms-flexbox;display:flex;color:var(--icon-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-chip__icon-wrapper.sc-stzh-chip:not(:empty){margin-right:var(--stzh-space-xsmall)}.stzh-chip__counter.sc-stzh-chip{display:-ms-flexbox;display:flex;font-variant-numeric:tabular-nums;margin-left:var(--stzh-space-xsmall);color:var(--counter-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-chip__remove.sc-stzh-chip{position:absolute;top:0;right:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;border:none;background:none;padding:0;width:var(--height);height:var(--height);border-radius:var(--remove-border-radius);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin-left:var(--stzh-space-xxsmall);color:var(--remove-color);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed)}.stzh-chip__remove.sc-stzh-chip:hover{color:var(--hover-remove-color);background-color:var(--hover-remove-background-color)}.stzh-chip__remove-icon.sc-stzh-chip{--size:var(--stzh-icon-size-xxsmall)}.stzh-chip__button.sc-stzh-chip:hover,.stzh-chip__remove.sc-stzh-chip:hover+.stzh-chip__button.sc-stzh-chip{color:var(--hover-color);background-color:var(--hover-background-color);border:var(--hover-border)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__counter.sc-stzh-chip{color:var(--hover-counter-color)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__icon-wrapper.sc-stzh-chip{color:var(--hover-icon-color)}.stzh-chip--size-small.sc-stzh-chip .stzh-chip__button.sc-stzh-chip{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);padding:0 var(--stzh-space-small)}.stzh-chip--size-small.sc-stzh-chip .stzh-chip__icon-wrapper.sc-stzh-chip:not(:empty){margin-right:var(--stzh-space-xxsmall)}.stzh-chip--size-small.sc-stzh-chip .stzh-chip__counter.sc-stzh-chip{margin-left:var(--stzh-space-xxsmall)}.stzh-chip--is-removable.sc-stzh-chip .stzh-chip__button.sc-stzh-chip{padding-right:calc(var(--height) + var(--stzh-space-xxsmall))}.stzh-chip--is-disabled.sc-stzh-chip .stzh-chip__button.sc-stzh-chip,.stzh-chip--is-disabled.sc-stzh-chip .stzh-chip__remove.sc-stzh-chip{cursor:not-allowed}";
|
|
5
5
|
|
|
6
6
|
const StzhChip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
7
|
constructor() {
|
|
@@ -59,6 +59,7 @@ const StzhChip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
59
59
|
this.removeLabel = "";
|
|
60
60
|
this.active = false;
|
|
61
61
|
this.disabled = false;
|
|
62
|
+
this.a11yTabindex = undefined;
|
|
62
63
|
this.a11yLabel = undefined;
|
|
63
64
|
this.a11yDescribedby = "";
|
|
64
65
|
}
|
|
@@ -70,8 +71,8 @@ const StzhChip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
70
71
|
return (h(Fragment, null, h("div", { class: "stzh-chip__icon-wrapper" }, this.icon ?
|
|
71
72
|
h("stzh-icon", { class: "stzh-chip__icon", name: this.icon })
|
|
72
73
|
:
|
|
73
|
-
h("slot", { name: "icon" })), h("div", { class: "stzh-chip__label" }, this.label ? this.label : h("slot", null)), this.counter &&
|
|
74
|
-
h("div", { class: "stzh-chip__counter" }, this.counter)));
|
|
74
|
+
h("slot", { name: "icon" })), h("div", { class: "stzh-chip__label" }, this.label ? this.label : h("slot", null), h("span", { class: "stzh-chip__vhidden" }, "\u00A0(", this.counter, ")")), this.counter &&
|
|
75
|
+
h("div", { class: "stzh-chip__counter", "aria-hidden": "true" }, this.counter)));
|
|
75
76
|
}
|
|
76
77
|
render() {
|
|
77
78
|
const classes = {
|
|
@@ -86,9 +87,9 @@ const StzhChip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
86
87
|
};
|
|
87
88
|
return (h(Host, null, h("div", { class: classes }, this.removable &&
|
|
88
89
|
h("button", { class: "stzh-chip__remove", onClick: this.onRemoveClick, disabled: this.disabled, "aria-label": this.removeLabel, type: "button" }, h("stzh-icon", { class: "stzh-chip__remove-icon", name: "close" })), this.href ?
|
|
89
|
-
h("a", { class: "stzh-chip__button", href: this.disabled ? null : this.href, target: this.target, "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }, this.renderInner())
|
|
90
|
+
h("a", { ref: (el) => (this.chip = el), class: "stzh-chip__button", href: this.disabled ? null : this.href, target: this.target, tabindex: this.a11yTabindex, "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }, this.renderInner())
|
|
90
91
|
:
|
|
91
|
-
h("button", { class: "stzh-chip__button", disabled: this.disabled, type: "button", "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }, this.renderInner()))));
|
|
92
|
+
h("button", { ref: (el) => (this.chip = el), class: "stzh-chip__button", disabled: this.disabled, type: "button", tabindex: this.a11yTabindex, "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }, this.renderInner()))));
|
|
92
93
|
}
|
|
93
94
|
get element() { return this; }
|
|
94
95
|
static get style() { return stzhChipCss; }
|
|
@@ -105,6 +106,7 @@ const StzhChip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
105
106
|
"removeLabel": [1, "remove-label"],
|
|
106
107
|
"active": [516],
|
|
107
108
|
"disabled": [516],
|
|
109
|
+
"a11yTabindex": [1, "a11y-tabindex"],
|
|
108
110
|
"a11yLabel": [1, "a11y-label"],
|
|
109
111
|
"a11yDescribedby": [1, "a11y-describedby"],
|
|
110
112
|
"setFocus": [64]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const stzhClampCss = ".sc-stzh-clamp-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-clamp-h{display:none}.sc-stzh-clamp-h *.sc-stzh-clamp,.sc-stzh-clamp-h *.sc-stzh-clamp::before,.sc-stzh-clamp-h *.sc-stzh-clamp::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-clamp-h{--lines:1;width:100%;color:inherit}[lines=\"1\"].sc-stzh-clamp-h{--lines:1}[lines=\"2\"].sc-stzh-clamp-h{--lines:2}[lines=\"3\"].sc-stzh-clamp-h{--lines:3}[lines=\"4\"].sc-stzh-clamp-h{--lines:4}[lines=\"5\"].sc-stzh-clamp-h{--lines:5}@media screen and (min-width: 600px){[lines-small=\"1\"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 600px){[lines-small=\"2\"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 600px){[lines-small=\"3\"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 600px){[lines-small=\"4\"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 600px){[lines-small=\"5\"].sc-stzh-clamp-h{--lines:5}}@media screen and (min-width: 800px){[lines-smallheader=\"1\"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 800px){[lines-smallheader=\"2\"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 800px){[lines-smallheader=\"3\"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 800px){[lines-smallheader=\"4\"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 800px){[lines-smallheader=\"5\"].sc-stzh-clamp-h{--lines:5}}@media screen and (min-width: 1024px){[lines-medium=\"1\"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 1024px){[lines-medium=\"2\"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 1024px){[lines-medium=\"3\"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 1024px){[lines-medium=\"4\"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 1024px){[lines-medium=\"5\"].sc-stzh-clamp-h{--lines:5}}@media screen and (min-width: 1260px){[lines-large=\"1\"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 1260px){[lines-large=\"2\"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 1260px){[lines-large=\"3\"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 1260px){[lines-large=\"4\"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 1260px){[lines-large=\"5\"].sc-stzh-clamp-h{--lines:5}}@media screen and (min-width: 1440px){[lines-ultra=\"1\"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 1440px){[lines-ultra=\"2\"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 1440px){[lines-ultra=\"3\"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 1440px){[lines-ultra=\"4\"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 1440px){[lines-ultra=\"5\"].sc-stzh-clamp-h{--lines:5}}.stzh-clamp.sc-stzh-clamp{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--lines);line-clamp:var(--lines);overflow:hidden}";
|
|
3
|
+
const stzhClampCss = ".sc-stzh-clamp-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-clamp-h{display:none}.sc-stzh-clamp-h *.sc-stzh-clamp,.sc-stzh-clamp-h *.sc-stzh-clamp::before,.sc-stzh-clamp-h *.sc-stzh-clamp::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-clamp-h{--lines:1;width:100%;color:inherit;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;line-height:inherit}[lines=\"1\"].sc-stzh-clamp-h{--lines:1}[lines=\"2\"].sc-stzh-clamp-h{--lines:2}[lines=\"3\"].sc-stzh-clamp-h{--lines:3}[lines=\"4\"].sc-stzh-clamp-h{--lines:4}[lines=\"5\"].sc-stzh-clamp-h{--lines:5}@media screen and (min-width: 600px){[lines-small=\"1\"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 600px){[lines-small=\"2\"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 600px){[lines-small=\"3\"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 600px){[lines-small=\"4\"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 600px){[lines-small=\"5\"].sc-stzh-clamp-h{--lines:5}}@media screen and (min-width: 800px){[lines-smallheader=\"1\"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 800px){[lines-smallheader=\"2\"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 800px){[lines-smallheader=\"3\"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 800px){[lines-smallheader=\"4\"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 800px){[lines-smallheader=\"5\"].sc-stzh-clamp-h{--lines:5}}@media screen and (min-width: 1024px){[lines-medium=\"1\"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 1024px){[lines-medium=\"2\"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 1024px){[lines-medium=\"3\"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 1024px){[lines-medium=\"4\"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 1024px){[lines-medium=\"5\"].sc-stzh-clamp-h{--lines:5}}@media screen and (min-width: 1260px){[lines-large=\"1\"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 1260px){[lines-large=\"2\"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 1260px){[lines-large=\"3\"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 1260px){[lines-large=\"4\"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 1260px){[lines-large=\"5\"].sc-stzh-clamp-h{--lines:5}}@media screen and (min-width: 1440px){[lines-ultra=\"1\"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 1440px){[lines-ultra=\"2\"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 1440px){[lines-ultra=\"3\"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 1440px){[lines-ultra=\"4\"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 1440px){[lines-ultra=\"5\"].sc-stzh-clamp-h{--lines:5}}.stzh-clamp.sc-stzh-clamp{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--lines);line-clamp:var(--lines);overflow:hidden}";
|
|
4
4
|
|
|
5
5
|
const StzhClamp = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host, Fragment } from '@stencil/core/internal/client';
|
|
2
|
+
import { h as hasSlot } from './utils.js';
|
|
3
|
+
import { d as defineCustomElement$7 } from './stzh-badge2.js';
|
|
4
|
+
import { d as defineCustomElement$6 } from './stzh-button2.js';
|
|
5
|
+
import { d as defineCustomElement$5 } from './stzh-datalist2.js';
|
|
6
|
+
import { d as defineCustomElement$4 } from './stzh-datalist-item2.js';
|
|
7
|
+
import { d as defineCustomElement$3 } from './stzh-heading2.js';
|
|
8
|
+
import { d as defineCustomElement$2 } from './stzh-icon2.js';
|
|
2
9
|
|
|
3
|
-
const stzhContactaddressCss = ".sc-stzh-contactaddress-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-contactaddress-h{display:none}.sc-stzh-contactaddress-h *.sc-stzh-contactaddress,.sc-stzh-contactaddress-h *.sc-stzh-contactaddress::before,.sc-stzh-contactaddress-h *.sc-stzh-contactaddress::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-contactaddress.sc-stzh-contactaddress{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)}@media screen and (min-width: 1024px){.stzh-contactaddress.sc-stzh-contactaddress{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-contactaddress__pobox.sc-stzh-contactaddress{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-contactaddress__pobox.sc-stzh-contactaddress{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-contactaddress__pobox.sc-stzh-contactaddress{margin-top:var(--stzh-space-large)}}.stzh-
|
|
10
|
+
const stzhContactaddressCss = ".sc-stzh-contactaddress-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-contactaddress-h{display:none}.sc-stzh-contactaddress-h *.sc-stzh-contactaddress,.sc-stzh-contactaddress-h *.sc-stzh-contactaddress::before,.sc-stzh-contactaddress-h *.sc-stzh-contactaddress::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-contactaddress-h .sc-stzh-contactaddress-s>[slot=image]{width:5.5rem;height:5.5rem;top:0;left:0;border-radius:50%;-o-object-fit:cover;object-fit:cover;margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 800px){.sc-stzh-contactaddress-h .sc-stzh-contactaddress-s>[slot=image]{margin-right:var(--stzh-space-xlarge);margin-bottom:0}}@media screen and (min-width: 800px) and (min-width: 1024px){.sc-stzh-contactaddress-h .sc-stzh-contactaddress-s>[slot=image]{margin-right:var(--stzh-space-xxlarge)}}@media screen and (min-width: 800px) and (min-width: 1260px){.sc-stzh-contactaddress-h .sc-stzh-contactaddress-s>[slot=image]{margin-right:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-contactaddress-h .sc-stzh-contactaddress-s>[slot=image]{width:12.25rem;height:12.25rem}}.stzh-contactaddress.sc-stzh-contactaddress{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)}@media screen and (min-width: 1024px){.stzh-contactaddress.sc-stzh-contactaddress{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-contactaddress.sc-stzh-contactaddress,.stzh-contactaddress__inner-wrapper.sc-stzh-contactaddress{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 800px){.stzh-contactaddress.sc-stzh-contactaddress,.stzh-contactaddress__inner-wrapper.sc-stzh-contactaddress{-ms-flex-direction:row;flex-direction:row}}.stzh-contactaddress__wrapper.sc-stzh-contactaddress{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-contactaddress__image.sc-stzh-contactaddress{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}.stzh-contactaddress__pobox.sc-stzh-contactaddress{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-contactaddress__pobox.sc-stzh-contactaddress{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-contactaddress__pobox.sc-stzh-contactaddress{margin-top:var(--stzh-space-large)}}.stzh-contactaddress__main-heading.sc-stzh-contactaddress{margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-contactaddress__main-heading.sc-stzh-contactaddress{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-contactaddress__main-heading.sc-stzh-contactaddress{margin-bottom:var(--stzh-space-large)}}.stzh-contactaddress__number-link.sc-stzh-contactaddress{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-contactaddress__number-link.sc-stzh-contactaddress:hover,.stzh-contactaddress__number-link.sc-stzh-contactaddress:focus{color:var(--stzh-link-hover-color)}.stzh-contactaddress__info.sc-stzh-contactaddress{-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 800px){.stzh-contactaddress__info.sc-stzh-contactaddress{-ms-flex-preferred-size:45%;flex-basis:45%}}.stzh-contactaddress__availability-title.sc-stzh-contactaddress{margin-bottom:var(--stzh-space-xsmall)}.stzh-contactaddress__availability.sc-stzh-contactaddress{margin-top:var(--stzh-space-xlarge)}@media screen and (min-width: 800px){.stzh-contactaddress__availability.sc-stzh-contactaddress{margin-left:var(--stzh-space-xlarge);margin-top:0;-ms-flex-preferred-size:55%;flex-basis:55%}}@media screen and (min-width: 800px) and (min-width: 1024px){.stzh-contactaddress__availability.sc-stzh-contactaddress{margin-left:var(--stzh-space-xxlarge)}}@media screen and (min-width: 800px) and (min-width: 1260px){.stzh-contactaddress__availability.sc-stzh-contactaddress{margin-left:var(--stzh-space-xxxlarge)}}.stzh-contactaddress--has-border.sc-stzh-contactaddress{padding-bottom:var(--stzh-space-xlarge);border-bottom:0.0625rem solid var(--stzh-base-border-color)}";
|
|
4
11
|
|
|
5
12
|
function formatTel(tel) {
|
|
6
13
|
return tel.replace(/\s/g, '');
|
|
@@ -10,9 +17,11 @@ const StzhContactaddress$1 = /*@__PURE__*/ proxyCustomElement(class extends HTML
|
|
|
10
17
|
super();
|
|
11
18
|
this.__registerHost();
|
|
12
19
|
this._numbers = [];
|
|
20
|
+
this._availability = [];
|
|
21
|
+
this.availabilityDataItems = [];
|
|
13
22
|
this.type = "Organization";
|
|
14
23
|
this.heading = undefined;
|
|
15
|
-
this.
|
|
24
|
+
this.mainHeading = undefined;
|
|
16
25
|
this.name = undefined;
|
|
17
26
|
this.street = undefined;
|
|
18
27
|
this.streetInfo = undefined;
|
|
@@ -23,8 +32,24 @@ const StzhContactaddress$1 = /*@__PURE__*/ proxyCustomElement(class extends HTML
|
|
|
23
32
|
this.poboxTitle = undefined;
|
|
24
33
|
this.poboxPostalCode = undefined;
|
|
25
34
|
this.poboxLocation = undefined;
|
|
35
|
+
this.availabilityTitle = undefined;
|
|
36
|
+
this.availability = undefined;
|
|
26
37
|
this.withBorder = false;
|
|
27
38
|
}
|
|
39
|
+
availabilityWatcher(newValue) {
|
|
40
|
+
if (typeof newValue === "string") {
|
|
41
|
+
this._availability = JSON.parse(newValue);
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
this._availability = newValue;
|
|
45
|
+
}
|
|
46
|
+
if (this._availability) {
|
|
47
|
+
this.availabilityDataItems = this._availability.map((item) => ({
|
|
48
|
+
value: item.hours.join(' | '),
|
|
49
|
+
label: item.weekday
|
|
50
|
+
}));
|
|
51
|
+
}
|
|
52
|
+
}
|
|
28
53
|
numbersWatcher(newValue) {
|
|
29
54
|
if (typeof newValue === "string") {
|
|
30
55
|
this._numbers = JSON.parse(newValue);
|
|
@@ -35,32 +60,39 @@ const StzhContactaddress$1 = /*@__PURE__*/ proxyCustomElement(class extends HTML
|
|
|
35
60
|
}
|
|
36
61
|
async componentWillLoad() {
|
|
37
62
|
this.numbersWatcher(this.numbers);
|
|
63
|
+
this.availabilityWatcher(this.availability);
|
|
38
64
|
}
|
|
39
65
|
render() {
|
|
66
|
+
const hasImage = hasSlot(this.element, "image");
|
|
40
67
|
const classes = {
|
|
41
68
|
"stzh-contactaddress": true,
|
|
69
|
+
"stzh-contactaddress--has-image": hasImage,
|
|
42
70
|
"stzh-contactaddress--has-border": this.withBorder
|
|
43
71
|
};
|
|
44
|
-
return (h(Host, null, h("div", { class: classes, itemscope: true, itemtype: `http://schema.org/${this.type}` }, this.
|
|
45
|
-
h("
|
|
46
|
-
|
|
47
|
-
h("
|
|
72
|
+
return (h(Host, null, h("div", { class: classes, itemscope: true, itemtype: `http://schema.org/${this.type}` }, h("div", { class: "stzh-contactaddress__image" }, h("slot", { name: "image" })), h("div", { class: "stzh-contactaddress__wrapper" }, this.mainHeading &&
|
|
73
|
+
h("stzh-heading", { level: "3", class: "stzh-contactaddress__main-heading", itemprop: (this.type === "Organization" && !this.heading
|
|
74
|
+
|| this.type === "Person" && !this.name) ? "name" : null, innerHTML: this.mainHeading }), h("div", { class: "stzh-contactaddress__inner-wrapper" }, h("div", { class: "stzh-contactaddress__info" }, this.heading &&
|
|
75
|
+
h("stzh-heading", { level: "4", class: "stzh-contactaddress__heading", itemprop: this.type === "Organization" || !this.name ? "name" : null, innerHTML: this.heading }), this.name &&
|
|
76
|
+
h("div", { class: "stzh-contactaddress__name", itemprop: this.type === "Person" ? "name" : null }, this.name), (this.street || this.postalCode || this.location) &&
|
|
48
77
|
h("div", { class: "stzh-contactaddress__address", itemprop: "address", itemscope: true, itemtype: "http://schema.org/PostalAddress" }, this.street &&
|
|
49
78
|
h("div", { class: "stzh-contactaddress__street", itemprop: "streetAddress" }, this.street, this.streetInfo &&
|
|
50
79
|
h(Fragment, null, h("br", null), " ", this.streetInfo)), this.postalCode &&
|
|
51
80
|
h("span", { class: "stzh-contactaddress__postal-code", itemprop: "postalCode" }, this.postalCode, "\u00A0"), this.location &&
|
|
52
81
|
h("span", { class: "stzh-contactaddress__locality", itemprop: "addressLocality" }, this.location)), this._numbers.map((number) => h("div", { class: "stzh-contactaddress__number" }, h("span", null, number.label, "\u00A0"), h("span", { itemprop: number.type === "fax" ? "faxNumber" : "telephone" }, h("a", { class: "stzh-contactaddress__number-link", href: `${number.type}:${formatTel(number.number)}` }, number.number)))), (this.poBoxHeading || this.poboxTitle || this.poboxPostalCode || this.poboxLocation) &&
|
|
53
|
-
h("div", { class: "stzh-contactaddress__pobox" }, h("div", { class: "stzh-contactaddress__pobox-heading" }, this.poBoxHeading), h("div", { class: "stzh-contactaddress__pobox-title" }, this.poboxTitle), h("span", { class: "stzh-contactaddress__pobox-postal-code" }, this.poboxPostalCode, "\u00A0"), h("span", { class: "stzh-contactaddress__pobox-locality" }, this.poboxLocation)))
|
|
82
|
+
h("div", { class: "stzh-contactaddress__pobox" }, h("div", { class: "stzh-contactaddress__pobox-heading" }, this.poBoxHeading), h("div", { class: "stzh-contactaddress__pobox-title" }, this.poboxTitle), h("span", { class: "stzh-contactaddress__pobox-postal-code" }, this.poboxPostalCode, "\u00A0"), h("span", { class: "stzh-contactaddress__pobox-locality" }, this.poboxLocation))), this.availability &&
|
|
83
|
+
h("div", { class: "stzh-contactaddress__availability" }, this.availabilityTitle &&
|
|
84
|
+
h("stzh-heading", { level: "4", class: "stzh-contactaddress__availability-title" }, this.availabilityTitle), h("stzh-datalist", { hideBorder: true, directionSmall: "vertical", items: this.availabilityDataItems })))))));
|
|
54
85
|
}
|
|
55
86
|
get element() { return this; }
|
|
56
87
|
static get watchers() { return {
|
|
88
|
+
"availability": ["availabilityWatcher"],
|
|
57
89
|
"numbers": ["numbersWatcher"]
|
|
58
90
|
}; }
|
|
59
91
|
static get style() { return stzhContactaddressCss; }
|
|
60
|
-
}, [
|
|
92
|
+
}, [6, "stzh-contactaddress", {
|
|
61
93
|
"type": [1],
|
|
62
94
|
"heading": [1],
|
|
63
|
-
"
|
|
95
|
+
"mainHeading": [1, "main-heading"],
|
|
64
96
|
"name": [1],
|
|
65
97
|
"street": [1],
|
|
66
98
|
"streetInfo": [1, "street-info"],
|
|
@@ -71,19 +103,51 @@ const StzhContactaddress$1 = /*@__PURE__*/ proxyCustomElement(class extends HTML
|
|
|
71
103
|
"poboxTitle": [1, "pobox-title"],
|
|
72
104
|
"poboxPostalCode": [1, "pobox-postal-code"],
|
|
73
105
|
"poboxLocation": [1, "pobox-location"],
|
|
106
|
+
"availabilityTitle": [1, "availability-title"],
|
|
107
|
+
"availability": [1],
|
|
74
108
|
"withBorder": [4, "with-border"]
|
|
75
109
|
}]);
|
|
76
110
|
function defineCustomElement$1() {
|
|
77
111
|
if (typeof customElements === "undefined") {
|
|
78
112
|
return;
|
|
79
113
|
}
|
|
80
|
-
const components = ["stzh-contactaddress"];
|
|
114
|
+
const components = ["stzh-contactaddress", "stzh-badge", "stzh-button", "stzh-datalist", "stzh-datalist-item", "stzh-heading", "stzh-icon"];
|
|
81
115
|
components.forEach(tagName => { switch (tagName) {
|
|
82
116
|
case "stzh-contactaddress":
|
|
83
117
|
if (!customElements.get(tagName)) {
|
|
84
118
|
customElements.define(tagName, StzhContactaddress$1);
|
|
85
119
|
}
|
|
86
120
|
break;
|
|
121
|
+
case "stzh-badge":
|
|
122
|
+
if (!customElements.get(tagName)) {
|
|
123
|
+
defineCustomElement$7();
|
|
124
|
+
}
|
|
125
|
+
break;
|
|
126
|
+
case "stzh-button":
|
|
127
|
+
if (!customElements.get(tagName)) {
|
|
128
|
+
defineCustomElement$6();
|
|
129
|
+
}
|
|
130
|
+
break;
|
|
131
|
+
case "stzh-datalist":
|
|
132
|
+
if (!customElements.get(tagName)) {
|
|
133
|
+
defineCustomElement$5();
|
|
134
|
+
}
|
|
135
|
+
break;
|
|
136
|
+
case "stzh-datalist-item":
|
|
137
|
+
if (!customElements.get(tagName)) {
|
|
138
|
+
defineCustomElement$4();
|
|
139
|
+
}
|
|
140
|
+
break;
|
|
141
|
+
case "stzh-heading":
|
|
142
|
+
if (!customElements.get(tagName)) {
|
|
143
|
+
defineCustomElement$3();
|
|
144
|
+
}
|
|
145
|
+
break;
|
|
146
|
+
case "stzh-icon":
|
|
147
|
+
if (!customElements.get(tagName)) {
|
|
148
|
+
defineCustomElement$2();
|
|
149
|
+
}
|
|
150
|
+
break;
|
|
87
151
|
} });
|
|
88
152
|
}
|
|
89
153
|
|