@oiz/stzh-components 4.12.1 → 4.12.2
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/{index-Cj3dPOnE.js → index-D-_ltZeJ.js} +3 -3
- package/dist/cjs/{index-Cj3dPOnE.js.map → index-D-_ltZeJ.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-accordion_3.cjs.entry.js +2 -2
- package/dist/cjs/stzh-actions_6.cjs.entry.js +2 -2
- package/dist/cjs/stzh-actionset.cjs.entry.js +1 -1
- package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
- package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-appointments.cjs.entry.js +2 -2
- package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +2 -2
- package/dist/cjs/stzh-badge_3.cjs.entry.js +2 -2
- package/dist/cjs/stzh-banner.cjs.entry.js +1 -1
- package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-navigation.cjs.entry.js +2 -2
- package/dist/cjs/stzh-card-searchresult.cjs.entry.js +2 -2
- package/dist/cjs/stzh-card-superteaser.cjs.entry.js +2 -2
- package/dist/cjs/stzh-card_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-carousel.cjs.entry.js +2 -2
- package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
- package/dist/cjs/stzh-checkbox.cjs.entry.js +36 -6
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -3
- package/dist/cjs/stzh-chip_2.cjs.entry.js +3 -3
- package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
- package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contact-cv.cjs.entry.js +2 -2
- package/dist/cjs/stzh-contact.cjs.entry.js +2 -2
- package/dist/cjs/stzh-container_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-content.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cta.cjs.entry.js +2 -2
- package/dist/cjs/stzh-datalist_3.cjs.entry.js +2 -2
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +2 -2
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +36 -6
- package/dist/cjs/stzh-daterange.cjs.entry.js +2 -2
- package/dist/cjs/stzh-details.cjs.entry.js +2 -2
- package/dist/cjs/stzh-dialog.cjs.entry.js +2 -2
- package/dist/cjs/stzh-disturber.cjs.entry.js +2 -2
- package/dist/cjs/stzh-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
- package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
- package/dist/cjs/stzh-eventinfo.cjs.entry.js +2 -2
- package/dist/cjs/stzh-feedreader-item.cjs.entry.js +2 -2
- package/dist/cjs/stzh-feedreader.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-gallery.cjs.entry.js +1 -1
- package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +1 -1
- package/dist/cjs/stzh-ghettobox.cjs.entry.js +2 -2
- package/dist/cjs/stzh-header_3.cjs.entry.js +2 -2
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
- package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
- package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +2 -2
- package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
- package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
- package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
- package/dist/cjs/{stzh-input-description-IeBc75qD.js → stzh-input-description-BCu4biHD.js} +3 -3
- package/dist/cjs/{stzh-input-description-IeBc75qD.js.map → stzh-input-description-BCu4biHD.js.map} +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +31 -36
- package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +2 -2
- package/dist/cjs/stzh-linklist.cjs.entry.js +2 -2
- package/dist/cjs/stzh-list_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
- package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
- package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagecontent.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +2 -2
- package/dist/cjs/stzh-panorama.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pi-teaser.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-popover.cjs.entry.js +2 -2
- package/dist/cjs/stzh-print_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
- package/dist/cjs/stzh-rating.cjs.entry.js +37 -9
- package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +2 -2
- package/dist/cjs/stzh-richtext.cjs.entry.js +1 -1
- package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
- package/dist/cjs/stzh-scrollup.cjs.entry.js +2 -2
- package/dist/cjs/stzh-search.cjs.entry.js +2 -2
- package/dist/cjs/stzh-section.cjs.entry.js +2 -2
- package/dist/cjs/stzh-show.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
- package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-socialmediastream.cjs.entry.js +2 -2
- package/dist/cjs/stzh-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-stepper.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sticky-actions.cjs.entry.js +2 -2
- package/dist/cjs/stzh-sticky.cjs.entry.js +2 -2
- package/dist/cjs/stzh-table.cjs.entry.js +2 -2
- package/dist/cjs/stzh-text.cjs.entry.js +1 -1
- package/dist/cjs/stzh-textandimage.cjs.entry.js +2 -2
- package/dist/cjs/stzh-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toast_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-toggle.cjs.entry.js +36 -7
- package/dist/cjs/stzh-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/stzh-twocolumns.cjs.entry.js +2 -2
- package/dist/cjs/stzh-upload.cjs.entry.js +37 -8
- package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-intro.cjs.entry.js +2 -2
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
- package/dist/cjs/{utils-BtvTjHH2.js → utils-CjJm84Uq.js} +59 -2
- package/dist/cjs/utils-CjJm84Uq.js.map +1 -0
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +40 -4
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.js.map +1 -1
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.stories.js +12 -0
- package/dist/collection/components/stzh-input/stzh-input.js +29 -34
- package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
- package/dist/collection/components/stzh-input/stzh-input.stories.js +32 -9
- package/dist/collection/components/stzh-radio/stzh-radio.js +40 -4
- package/dist/collection/components/stzh-radio/stzh-radio.js.map +1 -1
- package/dist/collection/components/stzh-radio/stzh-radio.stories.js +13 -1
- package/dist/collection/components/stzh-rating/stzh-rating.js +39 -9
- package/dist/collection/components/stzh-rating/stzh-rating.js.map +1 -1
- package/dist/collection/components/stzh-rating/stzh-rating.stories.js +11 -0
- package/dist/collection/components/stzh-toggle/stzh-toggle.js +40 -5
- package/dist/collection/components/stzh-toggle/stzh-toggle.js.map +1 -1
- package/dist/collection/components/stzh-toggle/stzh-toggle.stories.js +15 -0
- package/dist/collection/components/stzh-upload/stzh-upload.js +37 -6
- package/dist/collection/components/stzh-upload/stzh-upload.js.map +1 -1
- package/dist/collection/components/stzh-upload/stzh-upload.stories.js +9 -0
- package/dist/collection/utils/utils.js +56 -0
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/{p-CqIeGIYq.js → p-4Vt8Vqot.js} +3 -3
- package/dist/components/{p-CqIeGIYq.js.map → p-4Vt8Vqot.js.map} +1 -1
- package/dist/components/{p-C3JKH-3Y.js → p-6cYGuE14.js} +12 -12
- package/dist/components/{p-C3JKH-3Y.js.map → p-6cYGuE14.js.map} +1 -1
- package/dist/components/{p-Chfmq0ty.js → p-AIPoMvau.js} +3 -3
- package/dist/components/{p-Chfmq0ty.js.map → p-AIPoMvau.js.map} +1 -1
- package/dist/components/{p-G6s0H-yQ.js → p-B44NYxqN.js} +38 -43
- package/dist/components/p-B44NYxqN.js.map +1 -0
- package/dist/components/{p-LMO8z7aY.js → p-BB0rFoJE.js} +10 -10
- package/dist/components/{p-LMO8z7aY.js.map → p-BB0rFoJE.js.map} +1 -1
- package/dist/components/{p-5QD-jnDI.js → p-BBg6OWDc.js} +3 -3
- package/dist/components/{p-5QD-jnDI.js.map → p-BBg6OWDc.js.map} +1 -1
- package/dist/components/{p-Bh1lCPM9.js → p-BDTpabg7.js} +3 -3
- package/dist/components/{p-Bh1lCPM9.js.map → p-BDTpabg7.js.map} +1 -1
- package/dist/components/{p-B7_vqC4s.js → p-BK6Q89R0.js} +6 -6
- package/dist/components/{p-B7_vqC4s.js.map → p-BK6Q89R0.js.map} +1 -1
- package/dist/components/{p-BVyHe4zB.js → p-BTNpLREK.js} +8 -8
- package/dist/components/{p-BVyHe4zB.js.map → p-BTNpLREK.js.map} +1 -1
- package/dist/components/{p-uzlslKFU.js → p-BYIlBCuU.js} +7 -7
- package/dist/components/{p-uzlslKFU.js.map → p-BYIlBCuU.js.map} +1 -1
- package/dist/components/{p-BdnKcZer.js → p-BaU8F8yT.js} +12 -12
- package/dist/components/{p-BdnKcZer.js.map → p-BaU8F8yT.js.map} +1 -1
- package/dist/components/{p-BErZsbTE.js → p-BbXrDPd7.js} +4 -4
- package/dist/components/{p-BErZsbTE.js.map → p-BbXrDPd7.js.map} +1 -1
- package/dist/components/{p-a_AFmDN-.js → p-Bc9gWpUe.js} +13 -13
- package/dist/components/{p-a_AFmDN-.js.map → p-Bc9gWpUe.js.map} +1 -1
- package/dist/components/{p-CC0Gv1-E.js → p-BdtE_fpY.js} +3 -3
- package/dist/components/{p-CC0Gv1-E.js.map → p-BdtE_fpY.js.map} +1 -1
- package/dist/components/{p-DfpWfXtU.js → p-BeN1KWYK.js} +6 -6
- package/dist/components/{p-DfpWfXtU.js.map → p-BeN1KWYK.js.map} +1 -1
- package/dist/components/{p-CLg_b_CM.js → p-Bg2ganSs.js} +3 -3
- package/dist/components/{p-CLg_b_CM.js.map → p-Bg2ganSs.js.map} +1 -1
- package/dist/components/{p-ts8WMMWF.js → p-BiFb4c_S.js} +6 -6
- package/dist/components/{p-ts8WMMWF.js.map → p-BiFb4c_S.js.map} +1 -1
- package/dist/components/{p-DX8rme7W.js → p-BiZ4OWbq.js} +3 -3
- package/dist/components/{p-DX8rme7W.js.map → p-BiZ4OWbq.js.map} +1 -1
- package/dist/components/{p-x2lzAuxg.js → p-BmG3hFM8.js} +3 -3
- package/dist/components/{p-x2lzAuxg.js.map → p-BmG3hFM8.js.map} +1 -1
- package/dist/components/{p-CFzhqAe_.js → p-BsRNqz_b.js} +6 -6
- package/dist/components/{p-CFzhqAe_.js.map → p-BsRNqz_b.js.map} +1 -1
- package/dist/components/{p-BW2gjhHd.js → p-Bsor2Gp2.js} +8 -8
- package/dist/components/{p-BW2gjhHd.js.map → p-Bsor2Gp2.js.map} +1 -1
- package/dist/components/{p-DF6aCFVH.js → p-C0lp0Fm8.js} +3 -3
- package/dist/components/{p-DF6aCFVH.js.map → p-C0lp0Fm8.js.map} +1 -1
- package/dist/components/{p-CHL7PZWx.js → p-C3-tTDZG.js} +4 -4
- package/dist/components/{p-CHL7PZWx.js.map → p-C3-tTDZG.js.map} +1 -1
- package/dist/components/{p-CnS9iJUS.js → p-C3YgJPrk.js} +3 -3
- package/dist/components/{p-CnS9iJUS.js.map → p-C3YgJPrk.js.map} +1 -1
- package/dist/components/{p-U00jMEtY.js → p-CKLwcqdK.js} +10 -10
- package/dist/components/{p-U00jMEtY.js.map → p-CKLwcqdK.js.map} +1 -1
- package/dist/components/{p-C_jR89kU.js → p-CPdCE2fo.js} +7 -7
- package/dist/components/{p-C_jR89kU.js.map → p-CPdCE2fo.js.map} +1 -1
- package/dist/components/{p-DZ_hOgVb.js → p-CRo_30JG.js} +3 -3
- package/dist/components/{p-DZ_hOgVb.js.map → p-CRo_30JG.js.map} +1 -1
- package/dist/components/{p-AGCnIH-Q.js → p-CSqS_CuA.js} +3 -3
- package/dist/components/{p-AGCnIH-Q.js.map → p-CSqS_CuA.js.map} +1 -1
- package/dist/components/{p-D4BnQdqZ.js → p-CUN47AJ6.js} +4 -4
- package/dist/components/{p-D4BnQdqZ.js.map → p-CUN47AJ6.js.map} +1 -1
- package/dist/components/{p-IifQDlUC.js → p-CUfKtr7R.js} +3 -3
- package/dist/components/{p-IifQDlUC.js.map → p-CUfKtr7R.js.map} +1 -1
- package/dist/components/{p-DgsPcRuX.js → p-CVHui8fR.js} +4 -4
- package/dist/components/{p-DgsPcRuX.js.map → p-CVHui8fR.js.map} +1 -1
- package/dist/components/{p-HFkl_vzF.js → p-CWliRPVy.js} +6 -6
- package/dist/components/{p-HFkl_vzF.js.map → p-CWliRPVy.js.map} +1 -1
- package/dist/components/{p-zn9oE-TU.js → p-CX72zNNm.js} +3 -3
- package/dist/components/{p-zn9oE-TU.js.map → p-CX72zNNm.js.map} +1 -1
- package/dist/components/{p-BROnohFy.js → p-CXhl6EKC.js} +6 -6
- package/dist/components/{p-BROnohFy.js.map → p-CXhl6EKC.js.map} +1 -1
- package/dist/components/{p-DFNN4tQ9.js → p-ChcKhy4e.js} +4 -4
- package/dist/components/{p-DFNN4tQ9.js.map → p-ChcKhy4e.js.map} +1 -1
- package/dist/components/{p-B4rimZ__.js → p-CriJMdWt.js} +3 -3
- package/dist/components/{p-B4rimZ__.js.map → p-CriJMdWt.js.map} +1 -1
- package/dist/components/{p-p0_NS-tW.js → p-CuR6yL1b.js} +3 -3
- package/dist/components/{p-p0_NS-tW.js.map → p-CuR6yL1b.js.map} +1 -1
- package/dist/components/{p-BaMZCxiX.js → p-Cy--N6et.js} +9 -9
- package/dist/components/{p-BaMZCxiX.js.map → p-Cy--N6et.js.map} +1 -1
- package/dist/components/{p-CUg-9OV-.js → p-D2yGNkLU.js} +4 -4
- package/dist/components/{p-CUg-9OV-.js.map → p-D2yGNkLU.js.map} +1 -1
- package/dist/components/{p-CB6SGGWh.js → p-D4c33pwr.js} +13 -13
- package/dist/components/{p-CB6SGGWh.js.map → p-D4c33pwr.js.map} +1 -1
- package/dist/components/{p-CN5apKPb.js → p-DBHUqFOB.js} +59 -3
- package/dist/components/p-DBHUqFOB.js.map +1 -0
- package/dist/components/{p-B1ilR8O2.js → p-DDAHV4ye.js} +4 -4
- package/dist/components/{p-B1ilR8O2.js.map → p-DDAHV4ye.js.map} +1 -1
- package/dist/components/{p-Yktwo3G-.js → p-DEfzwFSm.js} +3 -3
- package/dist/components/{p-Yktwo3G-.js.map → p-DEfzwFSm.js.map} +1 -1
- package/dist/components/{p-B3K72yyt.js → p-DFEhv2Xw.js} +3 -3
- package/dist/components/{p-B3K72yyt.js.map → p-DFEhv2Xw.js.map} +1 -1
- package/dist/components/{p-CfeU7ZQ3.js → p-DL-zsyu2.js} +11 -11
- package/dist/components/{p-CfeU7ZQ3.js.map → p-DL-zsyu2.js.map} +1 -1
- package/dist/components/{p-COE06LBm.js → p-DLBRj3YX.js} +4 -4
- package/dist/components/{p-COE06LBm.js.map → p-DLBRj3YX.js.map} +1 -1
- package/dist/components/{p-CjzcK4cD.js → p-DOnc5uKa.js} +6 -6
- package/dist/components/{p-CjzcK4cD.js.map → p-DOnc5uKa.js.map} +1 -1
- package/dist/components/{p-BQkPv0M-.js → p-DPyihiYB.js} +4 -4
- package/dist/components/{p-BQkPv0M-.js.map → p-DPyihiYB.js.map} +1 -1
- package/dist/components/{p-BNRtW-oE.js → p-DT0ux3Yn.js} +5 -5
- package/dist/components/{p-BNRtW-oE.js.map → p-DT0ux3Yn.js.map} +1 -1
- package/dist/components/{p-Bnxt1olk.js → p-DT8WI_DQ.js} +6 -6
- package/dist/components/{p-Bnxt1olk.js.map → p-DT8WI_DQ.js.map} +1 -1
- package/dist/components/{p-RtvhBPkV.js → p-DTs8UJec.js} +4 -4
- package/dist/components/{p-RtvhBPkV.js.map → p-DTs8UJec.js.map} +1 -1
- package/dist/components/{p-CXxKSOOe.js → p-DXesblGY.js} +7 -7
- package/dist/components/{p-CXxKSOOe.js.map → p-DXesblGY.js.map} +1 -1
- package/dist/components/{p-jcnUY7bc.js → p-DaIlRoxA.js} +4 -4
- package/dist/components/{p-jcnUY7bc.js.map → p-DaIlRoxA.js.map} +1 -1
- package/dist/components/{p-C7bl96a5.js → p-Deiikj-l.js} +8 -8
- package/dist/components/{p-C7bl96a5.js.map → p-Deiikj-l.js.map} +1 -1
- package/dist/components/{p-BJXTTK_V.js → p-DmRzqkUn.js} +4 -4
- package/dist/components/{p-BJXTTK_V.js.map → p-DmRzqkUn.js.map} +1 -1
- package/dist/components/{p-DStLZwaI.js → p-Dp2_qh2g.js} +44 -12
- package/dist/components/p-Dp2_qh2g.js.map +1 -0
- package/dist/components/{p-D1qHu5Qi.js → p-DrLVNdlm.js} +6 -6
- package/dist/components/{p-D1qHu5Qi.js.map → p-DrLVNdlm.js.map} +1 -1
- package/dist/components/{p-BmZW5NzL.js → p-EWvxAi6Y.js} +44 -12
- package/dist/components/p-EWvxAi6Y.js.map +1 -0
- package/dist/components/{p-D7YAOnX0.js → p-JcCSKOtR.js} +7 -7
- package/dist/components/{p-D7YAOnX0.js.map → p-JcCSKOtR.js.map} +1 -1
- package/dist/components/{p-RvRbhcRQ.js → p-KKaagY0f.js} +10 -10
- package/dist/components/{p-RvRbhcRQ.js.map → p-KKaagY0f.js.map} +1 -1
- package/dist/components/{p-Nj7vgfBU.js → p-R8ubFYun.js} +7 -7
- package/dist/components/{p-Nj7vgfBU.js.map → p-R8ubFYun.js.map} +1 -1
- package/dist/components/{p-cNHNXCvC.js → p-RJIRkyt1.js} +9 -9
- package/dist/components/{p-cNHNXCvC.js.map → p-RJIRkyt1.js.map} +1 -1
- package/dist/components/{p-gRw8yRKG.js → p-SW8QhG6M.js} +3 -3
- package/dist/components/{p-gRw8yRKG.js.map → p-SW8QhG6M.js.map} +1 -1
- package/dist/components/{p-Cqgkebne.js → p-dgzFBTky.js} +3 -3
- package/dist/components/{p-Cqgkebne.js.map → p-dgzFBTky.js.map} +1 -1
- package/dist/components/{p-C9VQ8n2k.js → p-i5bFTONl.js} +3 -3
- package/dist/components/{p-C9VQ8n2k.js.map → p-i5bFTONl.js.map} +1 -1
- package/dist/components/{p-BKIlDLNH.js → p-rjZPG2L3.js} +3 -3
- package/dist/components/{p-BKIlDLNH.js.map → p-rjZPG2L3.js.map} +1 -1
- package/dist/components/{p-hX8escCp.js → p-wa6O8ip3.js} +4 -4
- package/dist/components/{p-hX8escCp.js.map → p-wa6O8ip3.js.map} +1 -1
- package/dist/components/{p-BOLjzZGE.js → p-xKyBBmWw.js} +3 -3
- package/dist/components/{p-BOLjzZGE.js.map → p-xKyBBmWw.js.map} +1 -1
- package/dist/components/{p-CaNZTZoV.js → p-xa5yO3I6.js} +8 -8
- package/dist/components/{p-CaNZTZoV.js.map → p-xa5yO3I6.js.map} +1 -1
- package/dist/components/stzh-accordion-item.js +1 -1
- package/dist/components/stzh-accordion.js +1 -1
- package/dist/components/stzh-actions.js +1 -1
- package/dist/components/stzh-actionset.js +1 -1
- package/dist/components/stzh-amount.js +9 -9
- package/dist/components/stzh-anchornav.js +5 -5
- package/dist/components/stzh-app-nav.js +1 -1
- package/dist/components/stzh-appointments.js +14 -14
- package/dist/components/stzh-archivelist.js +7 -7
- package/dist/components/stzh-audio.js +6 -6
- package/dist/components/stzh-badge.js +1 -1
- package/dist/components/stzh-banner.js +4 -4
- package/dist/components/stzh-breadcrumb.js +1 -1
- package/dist/components/stzh-button.js +1 -1
- package/dist/components/stzh-buttongroup.js +1 -1
- package/dist/components/stzh-calendar.js +1 -1
- package/dist/components/stzh-card-navigation.js +3 -3
- package/dist/components/stzh-card-searchresult.js +15 -15
- package/dist/components/stzh-card-superteaser.js +15 -15
- package/dist/components/stzh-card.js +1 -1
- package/dist/components/stzh-cardlist.js +1 -1
- package/dist/components/stzh-carousel.js +1 -1
- package/dist/components/stzh-cell.js +1 -1
- package/dist/components/stzh-chart.js +1 -1
- package/dist/components/stzh-checkbox.js +1 -1
- package/dist/components/stzh-checkboxgroup.js +6 -6
- package/dist/components/stzh-chip.js +1 -1
- package/dist/components/stzh-chipgroup.js +1 -1
- package/dist/components/stzh-chipselect.js +1 -1
- package/dist/components/stzh-clamp.js +1 -1
- package/dist/components/stzh-company-logo.js +1 -1
- package/dist/components/stzh-contact-cv.js +5 -5
- package/dist/components/stzh-contact.js +11 -11
- package/dist/components/stzh-container.js +1 -1
- package/dist/components/stzh-content.js +1 -1
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-cta.js +4 -4
- package/dist/components/stzh-datalist-item.js +1 -1
- package/dist/components/stzh-datalist.js +1 -1
- package/dist/components/stzh-datamessagelist-item.js +11 -11
- package/dist/components/stzh-datamessagelist.js +1 -1
- package/dist/components/stzh-datatable.js +18 -18
- package/dist/components/stzh-datepicker.js +1 -1
- package/dist/components/stzh-daterange.js +5 -5
- package/dist/components/stzh-details.js +1 -1
- package/dist/components/stzh-dialog.js +1 -1
- package/dist/components/stzh-disturber.js +5 -5
- package/dist/components/stzh-dropdown.js +1 -1
- package/dist/components/stzh-editor.js +4 -4
- package/dist/components/stzh-eventdata.js +1 -1
- package/dist/components/stzh-eventinfo.js +6 -6
- package/dist/components/stzh-feedreader-item.js +3 -3
- package/dist/components/stzh-feedreader.js +9 -9
- package/dist/components/stzh-fieldset.js +1 -1
- package/dist/components/stzh-figure.js +1 -1
- package/dist/components/stzh-flyingfocus.js +1 -1
- package/dist/components/stzh-footer.js +5 -5
- package/dist/components/stzh-gallery.js +8 -8
- package/dist/components/stzh-geo-ref-data.js +24 -24
- package/dist/components/stzh-ghettobox.js +5 -5
- package/dist/components/stzh-header.js +1 -1
- package/dist/components/stzh-heading.js +1 -1
- package/dist/components/stzh-homepage-search.js +2 -2
- package/dist/components/stzh-homepage-service-highlights.js +7 -7
- package/dist/components/stzh-hr.js +1 -1
- package/dist/components/stzh-hspace.js +1 -1
- package/dist/components/stzh-http-error.js +7 -7
- package/dist/components/stzh-icon.js +1 -1
- package/dist/components/stzh-iframe.js +1 -1
- package/dist/components/stzh-imagecomparison.js +2 -2
- package/dist/components/stzh-input.js +1 -1
- package/dist/components/stzh-invert.js +1 -1
- package/dist/components/stzh-link.js +1 -1
- package/dist/components/stzh-linklist.js +11 -11
- package/dist/components/stzh-list-item.js +1 -1
- package/dist/components/stzh-list.js +1 -1
- package/dist/components/stzh-loader.js +1 -1
- package/dist/components/stzh-loadingbar.js +1 -1
- package/dist/components/stzh-menu-item.js +1 -1
- package/dist/components/stzh-menu.js +1 -1
- package/dist/components/stzh-message.js +1 -1
- package/dist/components/stzh-microsite-teaserlist.js +20 -20
- package/dist/components/stzh-monthyearpicker.js +5 -5
- package/dist/components/stzh-offline-indicator.js +6 -6
- package/dist/components/stzh-olmap.js +1 -1
- package/dist/components/stzh-overlay.js +1 -1
- package/dist/components/stzh-page-skiplinks.js +1 -1
- package/dist/components/stzh-pagebottom.js +8 -8
- package/dist/components/stzh-pagecontent.js +2 -2
- package/dist/components/stzh-pagetitle-hero.js +2 -2
- package/dist/components/stzh-pagetitle-home.js +3 -3
- package/dist/components/stzh-pagetitle.js +3 -3
- package/dist/components/stzh-pagination.js +1 -1
- package/dist/components/stzh-panorama.js +11 -11
- package/dist/components/stzh-pi-content-navigation.js +4 -4
- package/dist/components/stzh-pi-menu.js +3 -3
- package/dist/components/stzh-pi-pagetitle.js +3 -3
- package/dist/components/stzh-pi-quote.js +1 -1
- package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
- package/dist/components/stzh-pi-teaser-layout.js +3 -3
- package/dist/components/stzh-pi-teaser.js +3 -3
- package/dist/components/stzh-pkzh-qr.js +20 -20
- package/dist/components/stzh-popover.js +1 -1
- package/dist/components/stzh-print.js +1 -1
- package/dist/components/stzh-quote.js +1 -1
- package/dist/components/stzh-radio.js +1 -1
- package/dist/components/stzh-radiogroup.js +1 -1
- package/dist/components/stzh-rating.js +42 -12
- package/dist/components/stzh-rating.js.map +1 -1
- package/dist/components/stzh-ratio.js +1 -1
- package/dist/components/stzh-readspeaker.js +5 -5
- package/dist/components/stzh-richtext.js +2 -2
- package/dist/components/stzh-row.js +1 -1
- package/dist/components/stzh-saptcha.js +7 -7
- package/dist/components/stzh-scrollup.js +2 -2
- package/dist/components/stzh-search.js +17 -17
- package/dist/components/stzh-section.js +2 -2
- package/dist/components/stzh-share.js +1 -1
- package/dist/components/stzh-show.js +1 -1
- package/dist/components/stzh-sitemap.js +9 -9
- package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
- package/dist/components/stzh-skin-storybook-preview.js +1 -1
- package/dist/components/stzh-skiplink.js +1 -1
- package/dist/components/stzh-socialmediastream-item.js +1 -1
- package/dist/components/stzh-socialmediastream.js +7 -7
- package/dist/components/stzh-sortable.js +1 -1
- package/dist/components/stzh-space.js +1 -1
- package/dist/components/stzh-status.js +1 -1
- package/dist/components/stzh-stepper-item.js +1 -1
- package/dist/components/stzh-stepper.js +3 -3
- package/dist/components/stzh-sticky-actions.js +3 -3
- package/dist/components/stzh-sticky.js +1 -1
- package/dist/components/stzh-table.js +2 -2
- package/dist/components/stzh-tag.js +1 -1
- package/dist/components/stzh-text.js +1 -1
- package/dist/components/stzh-textandimage.js +2 -2
- package/dist/components/stzh-timeline-item.js +4 -4
- package/dist/components/stzh-timeline.js +1 -1
- package/dist/components/stzh-timepicker.js +5 -5
- package/dist/components/stzh-toast.js +1 -1
- package/dist/components/stzh-toastbar.js +1 -1
- package/dist/components/stzh-toggle.js +42 -11
- package/dist/components/stzh-toggle.js.map +1 -1
- package/dist/components/stzh-tooltip.js +1 -1
- package/dist/components/stzh-twocolumns.js +2 -2
- package/dist/components/stzh-upload.js +50 -19
- package/dist/components/stzh-upload.js.map +1 -1
- package/dist/components/stzh-vbz-carousel.js +2 -2
- package/dist/components/stzh-vbz-connection-finder.js +1 -1
- package/dist/components/stzh-vbz-intro.js +6 -6
- package/dist/components/stzh-vbz-linechip.js +1 -1
- package/dist/components/stzh-vbz-majorticker.js +8 -8
- package/dist/components/stzh-vbz-ticker.js +7 -7
- package/dist/components/stzh-visuallyhidden.js +1 -1
- package/dist/components/stzh-vspace.js +1 -1
- package/dist/components/stzh-youtube.js +6 -6
- package/dist/esm/{index-Qb46gVIp.js → index-BMrO_esM.js} +3 -3
- package/dist/esm/{index-Qb46gVIp.js.map → index-BMrO_esM.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/stzh-accordion_3.entry.js +2 -2
- package/dist/esm/stzh-actions_6.entry.js +2 -2
- package/dist/esm/stzh-actionset.entry.js +1 -1
- package/dist/esm/stzh-amount.entry.js +1 -1
- package/dist/esm/stzh-anchornav.entry.js +1 -1
- package/dist/esm/stzh-app-nav.entry.js +1 -1
- package/dist/esm/stzh-appointments.entry.js +2 -2
- package/dist/esm/stzh-archivelist.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +2 -2
- package/dist/esm/stzh-badge_3.entry.js +2 -2
- package/dist/esm/stzh-banner.entry.js +1 -1
- package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
- package/dist/esm/stzh-buttongroup.entry.js +1 -1
- package/dist/esm/stzh-calendar.entry.js +1 -1
- package/dist/esm/stzh-card-navigation.entry.js +2 -2
- package/dist/esm/stzh-card-searchresult.entry.js +2 -2
- package/dist/esm/stzh-card-superteaser.entry.js +2 -2
- package/dist/esm/stzh-card_2.entry.js +2 -2
- package/dist/esm/stzh-carousel.entry.js +2 -2
- package/dist/esm/stzh-chart.entry.js +1 -1
- package/dist/esm/stzh-checkbox.entry.js +36 -6
- package/dist/esm/stzh-checkbox.entry.js.map +1 -1
- package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
- package/dist/esm/stzh-chip_2.entry.js +3 -3
- package/dist/esm/stzh-chipgroup.entry.js +1 -1
- package/dist/esm/stzh-clamp.entry.js +1 -1
- package/dist/esm/stzh-company-logo.entry.js +1 -1
- package/dist/esm/stzh-components.js +3 -3
- package/dist/esm/stzh-contact-cv.entry.js +2 -2
- package/dist/esm/stzh-contact.entry.js +2 -2
- package/dist/esm/stzh-container_2.entry.js +1 -1
- package/dist/esm/stzh-content.entry.js +1 -1
- package/dist/esm/stzh-cta.entry.js +2 -2
- package/dist/esm/stzh-datalist_3.entry.js +2 -2
- package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +2 -2
- package/dist/esm/stzh-datepicker_3.entry.js +36 -6
- package/dist/esm/stzh-daterange.entry.js +2 -2
- package/dist/esm/stzh-details.entry.js +2 -2
- package/dist/esm/stzh-dialog.entry.js +2 -2
- package/dist/esm/stzh-disturber.entry.js +2 -2
- package/dist/esm/stzh-dropdown.entry.js +3 -3
- package/dist/esm/stzh-editor.entry.js +1 -1
- package/dist/esm/stzh-eventdata.entry.js +1 -1
- package/dist/esm/stzh-eventinfo.entry.js +2 -2
- package/dist/esm/stzh-feedreader-item.entry.js +2 -2
- package/dist/esm/stzh-feedreader.entry.js +2 -2
- package/dist/esm/stzh-figure.entry.js +2 -2
- package/dist/esm/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm/stzh-footer.entry.js +2 -2
- package/dist/esm/stzh-gallery.entry.js +1 -1
- package/dist/esm/stzh-geo-ref-data.entry.js +1 -1
- package/dist/esm/stzh-ghettobox.entry.js +2 -2
- package/dist/esm/stzh-header_3.entry.js +2 -2
- package/dist/esm/stzh-heading.entry.js +1 -1
- package/dist/esm/stzh-homepage-search.entry.js +1 -1
- package/dist/esm/stzh-homepage-service-highlights.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-http-error.entry.js +1 -1
- package/dist/esm/stzh-iframe.entry.js +1 -1
- package/dist/esm/stzh-imagecomparison.entry.js +1 -1
- package/dist/esm/{stzh-input-description-CkiDnZXP.js → stzh-input-description-F6xJmR4b.js} +3 -3
- package/dist/esm/{stzh-input-description-CkiDnZXP.js.map → stzh-input-description-F6xJmR4b.js.map} +1 -1
- package/dist/esm/stzh-input.entry.js +31 -36
- package/dist/esm/stzh-input.entry.js.map +1 -1
- package/dist/esm/stzh-invert.entry.js +1 -1
- package/dist/esm/stzh-link.entry.js +2 -2
- package/dist/esm/stzh-linklist.entry.js +2 -2
- package/dist/esm/stzh-list_2.entry.js +1 -1
- package/dist/esm/stzh-loader.entry.js +1 -1
- package/dist/esm/stzh-loadingbar.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +2 -2
- package/dist/esm/stzh-message.entry.js +1 -1
- package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
- package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
- package/dist/esm/stzh-offline-indicator.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-pagecontent.entry.js +2 -2
- package/dist/esm/stzh-pagetitle-hero.entry.js +2 -2
- package/dist/esm/stzh-pagetitle-home.entry.js +2 -2
- package/dist/esm/stzh-pagetitle.entry.js +2 -2
- package/dist/esm/stzh-panorama.entry.js +1 -1
- package/dist/esm/stzh-pi-content-navigation.entry.js +2 -2
- package/dist/esm/stzh-pi-menu.entry.js +1 -1
- package/dist/esm/stzh-pi-pagetitle.entry.js +2 -2
- package/dist/esm/stzh-pi-quote.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser-layout.entry.js +2 -2
- package/dist/esm/stzh-pi-teaser.entry.js +2 -2
- package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
- package/dist/esm/stzh-popover.entry.js +2 -2
- package/dist/esm/stzh-print_2.entry.js +2 -2
- package/dist/esm/stzh-quote.entry.js +1 -1
- package/dist/esm/stzh-rating.entry.js +37 -9
- package/dist/esm/stzh-rating.entry.js.map +1 -1
- package/dist/esm/stzh-ratio.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +2 -2
- package/dist/esm/stzh-richtext.entry.js +1 -1
- package/dist/esm/stzh-saptcha.entry.js +1 -1
- package/dist/esm/stzh-scrollup.entry.js +2 -2
- package/dist/esm/stzh-search.entry.js +2 -2
- package/dist/esm/stzh-section.entry.js +2 -2
- package/dist/esm/stzh-show.entry.js +1 -1
- package/dist/esm/stzh-sitemap.entry.js +1 -1
- package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
- package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
- package/dist/esm/stzh-skiplink.entry.js +1 -1
- package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
- package/dist/esm/stzh-socialmediastream.entry.js +2 -2
- package/dist/esm/stzh-stepper-item.entry.js +1 -1
- package/dist/esm/stzh-stepper.entry.js +1 -1
- package/dist/esm/stzh-sticky-actions.entry.js +2 -2
- package/dist/esm/stzh-sticky.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/stzh-timeline-item.entry.js +2 -2
- package/dist/esm/stzh-timeline.entry.js +1 -1
- package/dist/esm/stzh-timepicker.entry.js +1 -1
- package/dist/esm/stzh-toast_2.entry.js +2 -2
- package/dist/esm/stzh-toggle.entry.js +36 -7
- package/dist/esm/stzh-toggle.entry.js.map +1 -1
- package/dist/esm/stzh-tooltip.entry.js +2 -2
- package/dist/esm/stzh-twocolumns.entry.js +2 -2
- package/dist/esm/stzh-upload.entry.js +37 -8
- package/dist/esm/stzh-upload.entry.js.map +1 -1
- package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
- package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
- package/dist/esm/stzh-vbz-intro.entry.js +2 -2
- package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +1 -1
- package/dist/esm/stzh-youtube.entry.js +1 -1
- package/dist/esm/{utils-BnOofzDv.js → utils-CnvjJ2wY.js} +59 -3
- package/dist/esm/utils-CnvjJ2wY.js.map +1 -0
- package/dist/stzh-components/{p-Be8ir2AL.js → p--ooR_PU_.js} +2 -2
- package/dist/stzh-components/{p-Be8ir2AL.js.map → p--ooR_PU_.js.map} +1 -1
- package/dist/stzh-components/{p-42707a5b.entry.js → p-00353dba.entry.js} +2 -2
- package/dist/stzh-components/{p-51d869eb.entry.js → p-01b57dff.entry.js} +2 -2
- package/dist/stzh-components/{p-42628b3a.entry.js → p-08c26fa4.entry.js} +2 -2
- package/dist/stzh-components/{p-62ffe60a.entry.js → p-0bcce878.entry.js} +2 -2
- package/dist/stzh-components/{p-a7bed4b7.entry.js → p-0d71a712.entry.js} +2 -2
- package/dist/stzh-components/{p-2baa284a.entry.js → p-102abd6c.entry.js} +2 -2
- package/dist/stzh-components/p-11375541.entry.js +2 -0
- package/dist/stzh-components/{p-a1e07163.entry.js.map → p-11375541.entry.js.map} +1 -1
- package/dist/stzh-components/{p-a6209841.entry.js → p-117d79b0.entry.js} +2 -2
- package/dist/stzh-components/{p-1bb272ca.entry.js → p-11984d87.entry.js} +2 -2
- package/dist/stzh-components/{p-edffd239.entry.js → p-15818fb6.entry.js} +2 -2
- package/dist/stzh-components/{p-af4ea4bc.entry.js → p-182be2cb.entry.js} +5 -5
- package/dist/stzh-components/{p-d7ce73a1.entry.js → p-19425494.entry.js} +2 -2
- package/dist/stzh-components/{p-055e9962.entry.js → p-1c0d8bd1.entry.js} +2 -2
- package/dist/stzh-components/{p-0cf712e6.entry.js → p-1c10554c.entry.js} +2 -2
- package/dist/stzh-components/{p-73a79275.entry.js → p-1da17a3f.entry.js} +2 -2
- package/dist/stzh-components/p-1e895ec3.entry.js +2 -0
- package/dist/stzh-components/p-1e895ec3.entry.js.map +1 -0
- package/dist/stzh-components/{p-cbef543b.entry.js → p-21d6ad19.entry.js} +2 -2
- package/dist/stzh-components/{p-61c9ed2d.entry.js → p-223813c2.entry.js} +2 -2
- package/dist/stzh-components/{p-d94cc86b.entry.js → p-2a02f828.entry.js} +2 -2
- package/dist/stzh-components/{p-7635b6f5.entry.js → p-2a127cc2.entry.js} +2 -2
- package/dist/stzh-components/{p-58882212.entry.js → p-2a398b2e.entry.js} +2 -2
- package/dist/stzh-components/{p-6c517443.entry.js → p-2b767b1b.entry.js} +2 -2
- package/dist/stzh-components/{p-9f3bbad2.entry.js → p-2c7792b4.entry.js} +2 -2
- package/dist/stzh-components/{p-234bf6bf.entry.js → p-2ddaf03b.entry.js} +2 -2
- package/dist/stzh-components/{p-7f6e2c50.entry.js → p-301c1aa1.entry.js} +2 -2
- package/dist/stzh-components/{p-745161ef.entry.js → p-3066d7ac.entry.js} +2 -2
- package/dist/stzh-components/{p-60c3106c.entry.js → p-32c6e24a.entry.js} +2 -2
- package/dist/stzh-components/{p-390766ab.entry.js → p-34e31715.entry.js} +3 -3
- package/dist/stzh-components/{p-b4d3dd64.entry.js → p-357943a8.entry.js} +2 -2
- package/dist/stzh-components/{p-ecd3be50.entry.js → p-39d6dad5.entry.js} +2 -2
- package/dist/stzh-components/{p-83a059a0.entry.js → p-3b764057.entry.js} +2 -2
- package/dist/stzh-components/{p-3084c3a5.entry.js → p-3efa45ca.entry.js} +2 -2
- package/dist/stzh-components/{p-d434e9ef.entry.js → p-3f5f0aaf.entry.js} +2 -2
- package/dist/stzh-components/{p-3edfb735.entry.js → p-44b7bd82.entry.js} +2 -2
- package/dist/stzh-components/{p-f51d4bbe.entry.js → p-490d880f.entry.js} +2 -2
- package/dist/stzh-components/{p-0dd74312.entry.js → p-49717f35.entry.js} +2 -2
- package/dist/stzh-components/{p-2d09b8b3.entry.js → p-4cc1d883.entry.js} +2 -2
- package/dist/stzh-components/{p-93afea50.entry.js → p-4e26f1e1.entry.js} +2 -2
- package/dist/stzh-components/{p-02cb3aae.entry.js → p-51069c51.entry.js} +2 -2
- package/dist/stzh-components/{p-d80119b5.entry.js → p-51f6f724.entry.js} +2 -2
- package/dist/stzh-components/{p-70b8ed74.entry.js → p-56216434.entry.js} +2 -2
- package/dist/stzh-components/{p-6cd6392a.entry.js → p-5eff4877.entry.js} +2 -2
- package/dist/stzh-components/{p-e8e9ceff.entry.js → p-61bf5c59.entry.js} +2 -2
- package/dist/stzh-components/{p-19cc2896.entry.js → p-66aa2138.entry.js} +2 -2
- package/dist/stzh-components/{p-ec817cb2.entry.js → p-66b8f10b.entry.js} +2 -2
- package/dist/stzh-components/{p-e95ee8a4.entry.js → p-683a19bb.entry.js} +2 -2
- package/dist/stzh-components/{p-e947cbc0.entry.js → p-684d4d18.entry.js} +3 -3
- package/dist/stzh-components/p-687cae2d.entry.js +2 -0
- package/dist/stzh-components/p-687cae2d.entry.js.map +1 -0
- package/dist/stzh-components/{p-e236ee82.entry.js → p-6add6579.entry.js} +2 -2
- package/dist/stzh-components/{p-c5157043.entry.js → p-6af8d5cb.entry.js} +2 -2
- package/dist/stzh-components/{p-0134136f.entry.js → p-6b450966.entry.js} +2 -2
- package/dist/stzh-components/{p-09f28398.entry.js → p-6c6e664c.entry.js} +2 -2
- package/dist/stzh-components/{p-23cdc8a4.entry.js → p-6e23fc8e.entry.js} +2 -2
- package/dist/stzh-components/{p-033c3b6b.entry.js → p-6ec9e3dc.entry.js} +2 -2
- package/dist/stzh-components/{p-bd256924.entry.js → p-7368a3bd.entry.js} +2 -2
- package/dist/stzh-components/{p-99b23557.entry.js → p-77ab7971.entry.js} +2 -2
- package/dist/stzh-components/{p-ac647202.entry.js → p-7898ab3c.entry.js} +2 -2
- package/dist/stzh-components/{p-94f25b97.entry.js → p-7a8d05c2.entry.js} +2 -2
- package/dist/stzh-components/{p-5204cd86.entry.js → p-7b070e13.entry.js} +2 -2
- package/dist/stzh-components/{p-b7b21a8c.entry.js → p-7dc226b0.entry.js} +2 -2
- package/dist/stzh-components/{p-aee4a2ae.entry.js → p-7fef5a6d.entry.js} +2 -2
- package/dist/stzh-components/{p-80503011.entry.js → p-80c514e1.entry.js} +2 -2
- package/dist/stzh-components/{p-bae8c063.entry.js → p-833bd793.entry.js} +2 -2
- package/dist/stzh-components/{p-c297a620.entry.js → p-8550b2d8.entry.js} +2 -2
- package/dist/stzh-components/{p-a711447d.entry.js → p-85b5bdbd.entry.js} +2 -2
- package/dist/stzh-components/{p-414a3145.entry.js → p-873bec1c.entry.js} +2 -2
- package/dist/stzh-components/{p-e7e813f8.entry.js → p-89c070b8.entry.js} +2 -2
- package/dist/stzh-components/{p-4eefbac4.entry.js → p-90c4a686.entry.js} +2 -2
- package/dist/stzh-components/{p-32a41205.entry.js → p-90db31fb.entry.js} +2 -2
- package/dist/stzh-components/{p-96c7ceb0.entry.js → p-91083053.entry.js} +2 -2
- package/dist/stzh-components/p-95b9d704.entry.js +2 -0
- package/dist/stzh-components/p-95b9d704.entry.js.map +1 -0
- package/dist/stzh-components/{p-af59c189.entry.js → p-97be25ae.entry.js} +2 -2
- package/dist/stzh-components/{p-4b928978.entry.js → p-9a732268.entry.js} +2 -2
- package/dist/stzh-components/{p-90807e9e.entry.js → p-9b164561.entry.js} +2 -2
- package/dist/stzh-components/{p-923deb7b.entry.js → p-9bd07097.entry.js} +2 -2
- package/dist/stzh-components/{p-7aca0e23.entry.js → p-9d3dcadd.entry.js} +2 -2
- package/dist/stzh-components/{p-dc72b0de.entry.js → p-9db9d368.entry.js} +2 -2
- package/dist/stzh-components/{p-Qb46gVIp.js → p-BMrO_esM.js} +2 -2
- package/dist/stzh-components/{p-Qb46gVIp.js.map → p-BMrO_esM.js.map} +1 -1
- package/dist/stzh-components/p-DhuTERdU.js +2 -0
- package/dist/stzh-components/p-DhuTERdU.js.map +1 -0
- package/dist/stzh-components/{p-d9d0a469.entry.js → p-a2313acc.entry.js} +2 -2
- package/dist/stzh-components/{p-37aae8ac.entry.js → p-a466bef7.entry.js} +3 -3
- package/dist/stzh-components/{p-7fc9372f.entry.js → p-a6073abd.entry.js} +2 -2
- package/dist/stzh-components/{p-43882380.entry.js → p-a924e049.entry.js} +2 -2
- package/dist/stzh-components/{p-bc3af3b4.entry.js → p-ab14b19a.entry.js} +2 -2
- package/dist/stzh-components/{p-d2acf05b.entry.js → p-ad11c427.entry.js} +2 -2
- package/dist/stzh-components/{p-2940951b.entry.js → p-ad5b037d.entry.js} +2 -2
- package/dist/stzh-components/{p-ef8e4a95.entry.js → p-afbf7bd5.entry.js} +2 -2
- package/dist/stzh-components/p-b0f5c226.entry.js +2 -0
- package/dist/stzh-components/p-b0f5c226.entry.js.map +1 -0
- package/dist/stzh-components/{p-2c30f74d.entry.js → p-b322c0cd.entry.js} +2 -2
- package/dist/stzh-components/{p-7a726c47.entry.js → p-b401f555.entry.js} +2 -2
- package/dist/stzh-components/{p-b8f44c79.entry.js → p-b6518908.entry.js} +6 -6
- package/dist/stzh-components/{p-ced452d5.entry.js → p-b67a197e.entry.js} +2 -2
- package/dist/stzh-components/{p-e5675129.entry.js → p-b91a1fb5.entry.js} +2 -2
- package/dist/stzh-components/{p-fb25534f.entry.js → p-b936ffdb.entry.js} +2 -2
- package/dist/stzh-components/{p-dfb3d918.entry.js → p-b93a07a9.entry.js} +2 -2
- package/dist/stzh-components/{p-ff03f780.entry.js → p-b9c11320.entry.js} +2 -2
- package/dist/stzh-components/{p-d7668a3b.entry.js → p-b9d617d4.entry.js} +2 -2
- package/dist/stzh-components/{p-10c5d519.entry.js → p-bc49448d.entry.js} +2 -2
- package/dist/stzh-components/{p-1341927f.entry.js → p-c1ccb40f.entry.js} +2 -2
- package/dist/stzh-components/{p-647a80da.entry.js → p-c359686c.entry.js} +2 -2
- package/dist/stzh-components/{p-a41ed36a.entry.js → p-c6ae1a73.entry.js} +2 -2
- package/dist/stzh-components/{p-cf40ac5b.entry.js → p-c8332abd.entry.js} +2 -2
- package/dist/stzh-components/{p-20735c80.entry.js → p-ca39f17b.entry.js} +2 -2
- package/dist/stzh-components/{p-1021e488.entry.js → p-cba7e887.entry.js} +2 -2
- package/dist/stzh-components/{p-a85ed304.entry.js → p-d0c780be.entry.js} +2 -2
- package/dist/stzh-components/{p-0795bbcd.entry.js → p-d10a459c.entry.js} +2 -2
- package/dist/stzh-components/{p-6ecf3d10.entry.js → p-d10e2ff4.entry.js} +2 -2
- package/dist/stzh-components/{p-0ed4cd7e.entry.js → p-d319b8db.entry.js} +2 -2
- package/dist/stzh-components/{p-71291933.entry.js → p-d3ae51da.entry.js} +2 -2
- package/dist/stzh-components/{p-a96614ae.entry.js → p-d57711e5.entry.js} +2 -2
- package/dist/stzh-components/{p-d7470d02.entry.js → p-d591892c.entry.js} +2 -2
- package/dist/stzh-components/{p-326b55a2.entry.js → p-d8cacb50.entry.js} +2 -2
- package/dist/stzh-components/{p-5f86ac2c.entry.js → p-d971957a.entry.js} +2 -2
- package/dist/stzh-components/{p-61d59943.entry.js → p-defa4f14.entry.js} +2 -2
- package/dist/stzh-components/p-e04fe921.entry.js +2 -0
- package/dist/stzh-components/p-e04fe921.entry.js.map +1 -0
- package/dist/stzh-components/{p-64b3d4c2.entry.js → p-e6d33dfe.entry.js} +2 -2
- package/dist/stzh-components/{p-e8b7bf12.entry.js → p-e7c05a67.entry.js} +2 -2
- package/dist/stzh-components/{p-42e5eb19.entry.js → p-e85f497a.entry.js} +2 -2
- package/dist/stzh-components/{p-7960db96.entry.js → p-e88b56a4.entry.js} +2 -2
- package/dist/stzh-components/{p-c52c1aef.entry.js → p-ea2a37fa.entry.js} +2 -2
- package/dist/stzh-components/{p-14d86c1d.entry.js → p-ec4dc01c.entry.js} +2 -2
- package/dist/stzh-components/{p-0cd89ab9.entry.js → p-ec958f98.entry.js} +2 -2
- package/dist/stzh-components/{p-1b92110f.entry.js → p-ed66b150.entry.js} +2 -2
- package/dist/stzh-components/{p-216a9cc6.entry.js → p-eec61b75.entry.js} +2 -2
- package/dist/stzh-components/{p-86ffdc58.entry.js → p-f1fcc0d8.entry.js} +2 -2
- package/dist/stzh-components/{p-6ca9c23c.entry.js → p-f31d01ea.entry.js} +2 -2
- package/dist/stzh-components/{p-e19b6d8c.entry.js → p-f76c80da.entry.js} +2 -2
- package/dist/stzh-components/{p-4640481a.entry.js → p-fce7bd0a.entry.js} +2 -2
- package/dist/stzh-components/{p-ed8062c2.entry.js → p-fd92dbe7.entry.js} +2 -2
- package/dist/stzh-components/p-fdb2fa88.entry.js +2 -0
- package/dist/stzh-components/p-fdb2fa88.entry.js.map +1 -0
- package/dist/stzh-components/{p-a29de908.entry.js → p-fdca724c.entry.js} +2 -2
- package/dist/stzh-components/{p-b47d51d7.entry.js → p-fe2e3916.entry.js} +2 -2
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +18 -0
- package/dist/types/components/stzh-input/stzh-input.d.ts +15 -4
- package/dist/types/components/stzh-radio/stzh-radio.d.ts +18 -0
- package/dist/types/components/stzh-rating/stzh-rating.d.ts +18 -0
- package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +18 -0
- package/dist/types/components/stzh-upload/stzh-upload.d.ts +18 -0
- package/dist/types/components.d.ts +2 -2
- package/dist/types/utils/utils.d.ts +13 -0
- package/package.json +1 -1
- package/dist/cjs/utils-BtvTjHH2.js.map +0 -1
- package/dist/components/p-BmZW5NzL.js.map +0 -1
- package/dist/components/p-CN5apKPb.js.map +0 -1
- package/dist/components/p-DStLZwaI.js.map +0 -1
- package/dist/components/p-G6s0H-yQ.js.map +0 -1
- package/dist/esm/utils-BnOofzDv.js.map +0 -1
- package/dist/stzh-components/p--MYN2wgX.js +0 -2
- package/dist/stzh-components/p--MYN2wgX.js.map +0 -1
- package/dist/stzh-components/p-18237cd2.entry.js +0 -2
- package/dist/stzh-components/p-18237cd2.entry.js.map +0 -1
- package/dist/stzh-components/p-61aa75b0.entry.js +0 -2
- package/dist/stzh-components/p-61aa75b0.entry.js.map +0 -1
- package/dist/stzh-components/p-6a798b0a.entry.js +0 -2
- package/dist/stzh-components/p-6a798b0a.entry.js.map +0 -1
- package/dist/stzh-components/p-a1e07163.entry.js +0 -2
- package/dist/stzh-components/p-b6d762b2.entry.js +0 -2
- package/dist/stzh-components/p-b6d762b2.entry.js.map +0 -1
- package/dist/stzh-components/p-d21526d5.entry.js +0 -2
- package/dist/stzh-components/p-d21526d5.entry.js.map +0 -1
- package/dist/stzh-components/p-facf3e9e.entry.js +0 -2
- package/dist/stzh-components/p-facf3e9e.entry.js.map +0 -1
- /package/dist/stzh-components/{p-42707a5b.entry.js.map → p-00353dba.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-51d869eb.entry.js.map → p-01b57dff.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-42628b3a.entry.js.map → p-08c26fa4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-62ffe60a.entry.js.map → p-0bcce878.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a7bed4b7.entry.js.map → p-0d71a712.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2baa284a.entry.js.map → p-102abd6c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a6209841.entry.js.map → p-117d79b0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1bb272ca.entry.js.map → p-11984d87.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-edffd239.entry.js.map → p-15818fb6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-af4ea4bc.entry.js.map → p-182be2cb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d7ce73a1.entry.js.map → p-19425494.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-055e9962.entry.js.map → p-1c0d8bd1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0cf712e6.entry.js.map → p-1c10554c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-73a79275.entry.js.map → p-1da17a3f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cbef543b.entry.js.map → p-21d6ad19.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-61c9ed2d.entry.js.map → p-223813c2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d94cc86b.entry.js.map → p-2a02f828.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7635b6f5.entry.js.map → p-2a127cc2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-58882212.entry.js.map → p-2a398b2e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6c517443.entry.js.map → p-2b767b1b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9f3bbad2.entry.js.map → p-2c7792b4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-234bf6bf.entry.js.map → p-2ddaf03b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7f6e2c50.entry.js.map → p-301c1aa1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-745161ef.entry.js.map → p-3066d7ac.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-60c3106c.entry.js.map → p-32c6e24a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-390766ab.entry.js.map → p-34e31715.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b4d3dd64.entry.js.map → p-357943a8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ecd3be50.entry.js.map → p-39d6dad5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-83a059a0.entry.js.map → p-3b764057.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3084c3a5.entry.js.map → p-3efa45ca.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d434e9ef.entry.js.map → p-3f5f0aaf.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3edfb735.entry.js.map → p-44b7bd82.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f51d4bbe.entry.js.map → p-490d880f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0dd74312.entry.js.map → p-49717f35.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2d09b8b3.entry.js.map → p-4cc1d883.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-93afea50.entry.js.map → p-4e26f1e1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-02cb3aae.entry.js.map → p-51069c51.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d80119b5.entry.js.map → p-51f6f724.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-70b8ed74.entry.js.map → p-56216434.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6cd6392a.entry.js.map → p-5eff4877.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e8e9ceff.entry.js.map → p-61bf5c59.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-19cc2896.entry.js.map → p-66aa2138.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ec817cb2.entry.js.map → p-66b8f10b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e95ee8a4.entry.js.map → p-683a19bb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e947cbc0.entry.js.map → p-684d4d18.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e236ee82.entry.js.map → p-6add6579.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c5157043.entry.js.map → p-6af8d5cb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0134136f.entry.js.map → p-6b450966.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-09f28398.entry.js.map → p-6c6e664c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-23cdc8a4.entry.js.map → p-6e23fc8e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-033c3b6b.entry.js.map → p-6ec9e3dc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bd256924.entry.js.map → p-7368a3bd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-99b23557.entry.js.map → p-77ab7971.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ac647202.entry.js.map → p-7898ab3c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-94f25b97.entry.js.map → p-7a8d05c2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5204cd86.entry.js.map → p-7b070e13.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b7b21a8c.entry.js.map → p-7dc226b0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-aee4a2ae.entry.js.map → p-7fef5a6d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-80503011.entry.js.map → p-80c514e1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bae8c063.entry.js.map → p-833bd793.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c297a620.entry.js.map → p-8550b2d8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a711447d.entry.js.map → p-85b5bdbd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-414a3145.entry.js.map → p-873bec1c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e7e813f8.entry.js.map → p-89c070b8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4eefbac4.entry.js.map → p-90c4a686.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-32a41205.entry.js.map → p-90db31fb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-96c7ceb0.entry.js.map → p-91083053.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-af59c189.entry.js.map → p-97be25ae.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4b928978.entry.js.map → p-9a732268.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-90807e9e.entry.js.map → p-9b164561.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-923deb7b.entry.js.map → p-9bd07097.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7aca0e23.entry.js.map → p-9d3dcadd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dc72b0de.entry.js.map → p-9db9d368.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d9d0a469.entry.js.map → p-a2313acc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-37aae8ac.entry.js.map → p-a466bef7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7fc9372f.entry.js.map → p-a6073abd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-43882380.entry.js.map → p-a924e049.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bc3af3b4.entry.js.map → p-ab14b19a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d2acf05b.entry.js.map → p-ad11c427.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2940951b.entry.js.map → p-ad5b037d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ef8e4a95.entry.js.map → p-afbf7bd5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2c30f74d.entry.js.map → p-b322c0cd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7a726c47.entry.js.map → p-b401f555.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b8f44c79.entry.js.map → p-b6518908.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ced452d5.entry.js.map → p-b67a197e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e5675129.entry.js.map → p-b91a1fb5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fb25534f.entry.js.map → p-b936ffdb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dfb3d918.entry.js.map → p-b93a07a9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ff03f780.entry.js.map → p-b9c11320.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d7668a3b.entry.js.map → p-b9d617d4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-10c5d519.entry.js.map → p-bc49448d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1341927f.entry.js.map → p-c1ccb40f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-647a80da.entry.js.map → p-c359686c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a41ed36a.entry.js.map → p-c6ae1a73.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cf40ac5b.entry.js.map → p-c8332abd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-20735c80.entry.js.map → p-ca39f17b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1021e488.entry.js.map → p-cba7e887.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a85ed304.entry.js.map → p-d0c780be.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0795bbcd.entry.js.map → p-d10a459c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6ecf3d10.entry.js.map → p-d10e2ff4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0ed4cd7e.entry.js.map → p-d319b8db.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-71291933.entry.js.map → p-d3ae51da.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a96614ae.entry.js.map → p-d57711e5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d7470d02.entry.js.map → p-d591892c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-326b55a2.entry.js.map → p-d8cacb50.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5f86ac2c.entry.js.map → p-d971957a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-61d59943.entry.js.map → p-defa4f14.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-64b3d4c2.entry.js.map → p-e6d33dfe.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e8b7bf12.entry.js.map → p-e7c05a67.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-42e5eb19.entry.js.map → p-e85f497a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7960db96.entry.js.map → p-e88b56a4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c52c1aef.entry.js.map → p-ea2a37fa.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-14d86c1d.entry.js.map → p-ec4dc01c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0cd89ab9.entry.js.map → p-ec958f98.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1b92110f.entry.js.map → p-ed66b150.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-216a9cc6.entry.js.map → p-eec61b75.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-86ffdc58.entry.js.map → p-f1fcc0d8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6ca9c23c.entry.js.map → p-f31d01ea.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e19b6d8c.entry.js.map → p-f76c80da.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4640481a.entry.js.map → p-fce7bd0a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ed8062c2.entry.js.map → p-fd92dbe7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a29de908.entry.js.map → p-fdca724c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b47d51d7.entry.js.map → p-fe2e3916.entry.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
|
-
import { hasSlot } from "../../utils/utils";
|
|
2
|
+
import { hasDefaultSlotContent, hasSlot } from "../../utils/utils";
|
|
3
3
|
import { StzhInputDescription } from "../stzh-input/stzh-input-description";
|
|
4
4
|
let checkboxCounter = 0;
|
|
5
5
|
/**
|
|
@@ -29,6 +29,18 @@ export class StzhCheckbox {
|
|
|
29
29
|
this.hideOptional = false;
|
|
30
30
|
/** Id for element which describes the input (this will be overwritten if description prop or slot is used) */
|
|
31
31
|
this.a11yDescribedby = "";
|
|
32
|
+
/**
|
|
33
|
+
* Whether the component has meaningful default-slot content.
|
|
34
|
+
* Becomes obsolete with the implementation of PDESI-1908.
|
|
35
|
+
*/
|
|
36
|
+
this.hasDefaultSlot = false;
|
|
37
|
+
/**
|
|
38
|
+
* Indicates whether default-slot content detection has run at least once.
|
|
39
|
+
* Used to avoid rendering state-dependent markup before the slot content
|
|
40
|
+
* has been evaluated.
|
|
41
|
+
* Becomes obsolete with the implementation of PDESI-1908.
|
|
42
|
+
*/
|
|
43
|
+
this.hasResolvedDefaultSlot = false;
|
|
32
44
|
this.focusedByInput = false;
|
|
33
45
|
this.handleReset = async () => {
|
|
34
46
|
this.checked = this.defaultChecked;
|
|
@@ -73,6 +85,19 @@ export class StzhCheckbox {
|
|
|
73
85
|
originalEvent: event,
|
|
74
86
|
});
|
|
75
87
|
};
|
|
88
|
+
/**
|
|
89
|
+
* Re-evaluates default-slot content and updates the related render state.
|
|
90
|
+
* Becomes obsolete with implementation of PDESI-1908.
|
|
91
|
+
*/
|
|
92
|
+
this.updateDefaultSlotState = () => {
|
|
93
|
+
const hasDefaultSlot = hasDefaultSlotContent(this.element, ["stzh-checkbox"]);
|
|
94
|
+
if (this.hasDefaultSlot !== hasDefaultSlot) {
|
|
95
|
+
this.hasDefaultSlot = hasDefaultSlot;
|
|
96
|
+
}
|
|
97
|
+
if (!this.hasResolvedDefaultSlot) {
|
|
98
|
+
this.hasResolvedDefaultSlot = true;
|
|
99
|
+
}
|
|
100
|
+
};
|
|
76
101
|
}
|
|
77
102
|
resetListener(event) {
|
|
78
103
|
if (event.target.contains(this.element)) {
|
|
@@ -102,6 +127,9 @@ export class StzhCheckbox {
|
|
|
102
127
|
this._error = [];
|
|
103
128
|
}
|
|
104
129
|
}
|
|
130
|
+
componentDidLoad() {
|
|
131
|
+
this.updateDefaultSlotState();
|
|
132
|
+
}
|
|
105
133
|
async componentWillLoad() {
|
|
106
134
|
this.inputId = `stzh-checkbox-${checkboxCounter++}`;
|
|
107
135
|
this.errorWatcher(this.error);
|
|
@@ -115,6 +143,8 @@ export class StzhCheckbox {
|
|
|
115
143
|
const descriptionUsed = hasSlot(this.element, "description") || !!this.description;
|
|
116
144
|
const descriptionLongUsed = hasSlot(this.element, "description-long") || !!this.descriptionLong;
|
|
117
145
|
const errorUsed = hasSlot(this.element, "error") || ((_a = this._error) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
146
|
+
const labelUsed = !!this.label || this.hasDefaultSlot;
|
|
147
|
+
const labelWrapperUsed = !this.hasResolvedDefaultSlot || labelUsed || descriptionLongUsed;
|
|
118
148
|
const classes = {
|
|
119
149
|
"stzh-checkbox": true,
|
|
120
150
|
"stzh-checkbox--has-description": descriptionUsed,
|
|
@@ -125,11 +155,11 @@ export class StzhCheckbox {
|
|
|
125
155
|
"stzh-checkbox--is-disabled": this.disabled,
|
|
126
156
|
"stzh-checkbox--is-checked": this.checked,
|
|
127
157
|
};
|
|
128
|
-
return (h(Host, { key: '
|
|
158
|
+
return (h(Host, { key: '537f513e59420cdd81c30e11e7693fa8c17c9297', "is-invalid": this.invalid || errorUsed, tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: '6e05f673ff02b275963fa9a155f94f35a3d26327', class: classes }, labelWrapperUsed && (h("label", { key: '7a156947326aba88f8fa42fe81f0daf13a806593', class: "stzh-checkbox__field-wrapper" }, h("input", { key: 'c3066caf3f0ce7f2a12f1ff00dec43d3c826206a', class: "stzh-checkbox__input", ref: el => (this.input = el), type: "checkbox", id: this.inputId, name: this.name, value: this.value, disabled: this.disabled, "aria-describedby": `${this.inputId}-description ${this.a11yDescribedby}`, "aria-required": this.required ? "true" : "false", "aria-invalid": this.invalid ? "true" : "false", checked: this.checked, defaultChecked: this.defaultChecked, onInput: this.onInput, onFocus: this.onFocus, onBlur: this.onBlur }), h("div", { key: 'c52ba2385d4d6a9084eb46fae02fafd87e66e5ae', class: "stzh-checkbox__mark" }, h("div", { key: '3b5409b58af429ead966884c2c931ec20994c0f0', class: "stzh-checkbox__check", "aria-hidden": "true" })), h("div", { key: 'f7d089ff0906243025ddb13064aa6174bee7f131', class: "stzh-checkbox__label" }, this.label ? this.label : h("slot", { onSlotchange: this.updateDefaultSlotState }), labelUsed && !this.hideOptional && (h("span", { key: '9f669f3c89a2c6f06bbb69fe0a6a5aebb3e7a060', class: "stzh-checkbox__marker" }, h("span", { key: 'b46bd3223a7b4921a4093e813fa95fcae30de5c3', class: "stzh-checkbox__marker-symbol", "aria-hidden": "true" }, this.required
|
|
129
159
|
? this.localization.$globals.requiredFieldMarker
|
|
130
|
-
: this.localization.$globals.optionalFieldMarker), h("span", { key: '
|
|
160
|
+
: this.localization.$globals.optionalFieldMarker), h("span", { key: 'd77de20275f3cf9d107caa25434c5c61ebf4a009', class: "stzh-checkbox__marker-text" }, this.required
|
|
131
161
|
? this.localization.$globals.requiredFieldText
|
|
132
|
-
: this.localization.$globals.optionalFieldText))), descriptionLongUsed && (h(StzhInputDescription, { key: '
|
|
162
|
+
: this.localization.$globals.optionalFieldText))), descriptionLongUsed && (h(StzhInputDescription, { key: '23aae5a7a4d5bc8927a21eb4ccf7024248392119', classPrefix: "stzh-checkbox", id: `${this.inputId}-description-long`, descriptionLong: this.descriptionLong, descriptionLongTitle: this.descriptionLongTitle, descriptionLongUsed: true, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel, showError: false, showDescriptionText: false }))))), (errorUsed || descriptionUsed) && (h(StzhInputDescription, { key: '1914f69a94ea08ffd8f9679349e246f652f3fa2c', classPrefix: "stzh-checkbox", id: `${this.inputId}-description`, error: this._error, description: this.description, descriptionLongUsed: false })))));
|
|
133
163
|
}
|
|
134
164
|
static get is() { return "stzh-checkbox"; }
|
|
135
165
|
static get encapsulation() { return "scoped"; }
|
|
@@ -445,6 +475,12 @@ export class StzhCheckbox {
|
|
|
445
475
|
}
|
|
446
476
|
};
|
|
447
477
|
}
|
|
478
|
+
static get states() {
|
|
479
|
+
return {
|
|
480
|
+
"hasDefaultSlot": {},
|
|
481
|
+
"hasResolvedDefaultSlot": {}
|
|
482
|
+
};
|
|
483
|
+
}
|
|
448
484
|
static get events() {
|
|
449
485
|
return [{
|
|
450
486
|
"method": "stzhChange",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stzh-checkbox.js","sourceRoot":"","sources":["../../../../src/components/stzh-checkbox/stzh-checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAgB,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAItG,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E,IAAI,eAAe,GAAG,CAAC,CAAC;AAExB;;;;;;GAMG;AAMH,MAAM,OAAO,YAAY;IALzB;QASE,uCAAuC;QACd,aAAQ,GAAY,KAAK,CAAC;QAEnD,gCAAgC;QACP,SAAI,GAAW,EAAE,CAAC;QAE3C,iCAAiC;QACR,UAAK,GAAW,EAAE,CAAC;QAE5C,qBAAqB;QACI,YAAO,GAAY,KAAK,CAAC;QAElD,sBAAsB;QACG,aAAQ,GAAY,KAAK,CAAC;QAEnD,qBAAqB;QACmB,YAAO,GAAY,KAAK,CAAC;QAKjE,YAAY;QACJ,UAAK,GAAW,EAAE,CAAC;QAc3B,yEAAyE;QAChD,iBAAY,GAAY,KAAK,CAAC;QAMvD,8G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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Host, Component, Prop, Event, EventEmitter, Element, h, Watch, Listen } from \"@stencil/core\";\n\nimport { StzhCheckboxChangeEvent, StzhCheckboxFocusEvent, StzhCheckboxBlurEvent } from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\nimport { StzhLocaleComponent } from \"../../index\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nlet checkboxCounter = 0;\n\n/**\n * @slot - Slot for label content\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-checkbox\",\n styleUrl: \"stzh-checkbox.scss\",\n scoped: true,\n})\nexport class StzhCheckbox {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Whether the checkbox is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Name of the input element */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Value of the input element */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Checked status */\n @Prop({ mutable: true, reflect: true }) checked: boolean = false;\n\n /** Default checked (used by reset) */\n @Prop({ mutable: true }) defaultChecked: boolean;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Use the `description-long-title` slot or the `description` property instead.\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Id for element which describes the input (this will be overwritten if description prop or slot is used) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Change event */\n @Event() stzhChange: EventEmitter<StzhCheckboxChangeEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhCheckboxFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhCheckboxBlurEvent>;\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n @Element() element: HTMLStzhRadioElement;\n\n private input: HTMLInputElement;\n private inputId: string;\n private focusedByInput: boolean = false;\n\n private handleReset = async () => {\n this.checked = this.defaultChecked;\n };\n\n private onInput = (event: InputEvent) => {\n this.checked = this.input.checked;\n\n this.stzhChange.emit({\n component: \"stzh-checkbox\",\n originalEvent: event,\n value: this.value,\n checked: this.checked,\n });\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.input.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-checkbox\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-checkbox\",\n originalEvent: event,\n });\n };\n\n async componentWillLoad() {\n this.inputId = `stzh-checkbox-${checkboxCounter++}`;\n this.errorWatcher(this.error);\n\n this.defaultChecked = typeof this.defaultChecked === \"boolean\" ? this.defaultChecked : this.checked;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"checkbox\");\n }\n }\n\n render() {\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n const errorUsed = hasSlot(this.element, \"error\") || this._error?.length > 0;\n\n const classes = {\n \"stzh-checkbox\": true,\n \"stzh-checkbox--has-description\": descriptionUsed,\n \"stzh-checkbox--has-description-long\": descriptionLongUsed,\n \"stzh-checkbox--has-error\": errorUsed,\n \"stzh-checkbox--is-required\": this.required,\n \"stzh-checkbox--is-invalid\": this.invalid || errorUsed,\n \"stzh-checkbox--is-disabled\": this.disabled,\n \"stzh-checkbox--is-checked\": this.checked,\n };\n\n return (\n <Host is-invalid={this.invalid || errorUsed} tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n <label class=\"stzh-checkbox__field-wrapper\">\n <input\n class=\"stzh-checkbox__input\"\n ref={el => (this.input = el as HTMLInputElement)}\n type=\"checkbox\"\n id={this.inputId}\n name={this.name}\n value={this.value}\n disabled={this.disabled}\n aria-describedby={`${this.inputId}-description ${this.a11yDescribedby}`}\n aria-required={this.required ? \"true\" : \"false\"}\n aria-invalid={this.invalid ? \"true\" : \"false\"}\n checked={this.checked}\n defaultChecked={this.defaultChecked}\n onInput={this.onInput}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n />\n <div class=\"stzh-checkbox__mark\">\n <div class=\"stzh-checkbox__check\" aria-hidden=\"true\"></div>\n </div>\n <div class=\"stzh-checkbox__label\">\n {this.label ? (\n this.label\n ) : (\n <span class=\"stzh-checkbox__label-slot\">\n <slot></slot>\n </span>\n )}\n\n {!this.hideOptional && (\n <span class=\"stzh-checkbox__marker\">\n <span class=\"stzh-checkbox__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-checkbox__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n\n {descriptionLongUsed && (\n <StzhInputDescription\n classPrefix=\"stzh-checkbox\"\n id={`${this.inputId}-description-long`}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={true}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n showError={false}\n showDescriptionText={false}\n />\n )}\n </div>\n </label>\n {(errorUsed || descriptionUsed) && (\n <StzhInputDescription\n classPrefix=\"stzh-checkbox\"\n id={`${this.inputId}-description`}\n error={this._error}\n description={this.description}\n descriptionLongUsed={false}\n />\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"stzh-checkbox.js","sourceRoot":"","sources":["../../../../src/components/stzh-checkbox/stzh-checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAgB,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAI7G,OAAO,EAAE,qBAAqB,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAGnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E,IAAI,eAAe,GAAG,CAAC,CAAC;AAExB;;;;;;GAMG;AAMH,MAAM,OAAO,YAAY;IALzB;QASE,uCAAuC;QACd,aAAQ,GAAY,KAAK,CAAC;QAE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Element, h, Watch, Listen, State } from \"@stencil/core\";\n\nimport { StzhCheckboxChangeEvent, StzhCheckboxFocusEvent, StzhCheckboxBlurEvent } from \"../../index\";\n\nimport { hasDefaultSlotContent, hasSlot } from \"../../utils/utils\";\nimport { StzhLocaleComponent } from \"../../index\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nlet checkboxCounter = 0;\n\n/**\n * @slot - Slot for label content\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-checkbox\",\n styleUrl: \"stzh-checkbox.scss\",\n scoped: true,\n})\nexport class StzhCheckbox {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Whether the checkbox is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Name of the input element */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Value of the input element */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Checked status */\n @Prop({ mutable: true, reflect: true }) checked: boolean = false;\n\n /** Default checked (used by reset) */\n @Prop({ mutable: true }) defaultChecked: boolean;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Use the `description-long-title` slot or the `description` property instead.\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Id for element which describes the input (this will be overwritten if description prop or slot is used) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Change event */\n @Event() stzhChange: EventEmitter<StzhCheckboxChangeEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhCheckboxFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhCheckboxBlurEvent>;\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n /**\n * Whether the component has meaningful default-slot content.\n * Becomes obsolete with the implementation of PDESI-1908.\n */\n @State() hasDefaultSlot: boolean = false;\n\n /**\n * Indicates whether default-slot content detection has run at least once.\n * Used to avoid rendering state-dependent markup before the slot content\n * has been evaluated.\n * Becomes obsolete with the implementation of PDESI-1908.\n */\n @State() hasResolvedDefaultSlot: boolean = false;\n\n @Element() element: HTMLStzhRadioElement;\n\n private input: HTMLInputElement;\n private inputId: string;\n private focusedByInput: boolean = false;\n\n private handleReset = async () => {\n this.checked = this.defaultChecked;\n };\n\n private onInput = (event: InputEvent) => {\n this.checked = this.input.checked;\n\n this.stzhChange.emit({\n component: \"stzh-checkbox\",\n originalEvent: event,\n value: this.value,\n checked: this.checked,\n });\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.input.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-checkbox\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-checkbox\",\n originalEvent: event,\n });\n };\n\n /**\n * Re-evaluates default-slot content and updates the related render state.\n * Becomes obsolete with implementation of PDESI-1908.\n */\n private updateDefaultSlotState = () => {\n const hasDefaultSlot = hasDefaultSlotContent(this.element, [\"stzh-checkbox\"]);\n if (this.hasDefaultSlot !== hasDefaultSlot) {\n this.hasDefaultSlot = hasDefaultSlot;\n }\n if (!this.hasResolvedDefaultSlot) {\n this.hasResolvedDefaultSlot = true;\n }\n };\n\n componentDidLoad() {\n this.updateDefaultSlotState();\n }\n\n async componentWillLoad() {\n this.inputId = `stzh-checkbox-${checkboxCounter++}`;\n this.errorWatcher(this.error);\n\n this.defaultChecked = typeof this.defaultChecked === \"boolean\" ? this.defaultChecked : this.checked;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"checkbox\");\n }\n }\n\n render() {\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n const errorUsed = hasSlot(this.element, \"error\") || this._error?.length > 0;\n\n const labelUsed = !!this.label || this.hasDefaultSlot;\n const labelWrapperUsed = !this.hasResolvedDefaultSlot || labelUsed || descriptionLongUsed;\n\n const classes = {\n \"stzh-checkbox\": true,\n \"stzh-checkbox--has-description\": descriptionUsed,\n \"stzh-checkbox--has-description-long\": descriptionLongUsed,\n \"stzh-checkbox--has-error\": errorUsed,\n \"stzh-checkbox--is-required\": this.required,\n \"stzh-checkbox--is-invalid\": this.invalid || errorUsed,\n \"stzh-checkbox--is-disabled\": this.disabled,\n \"stzh-checkbox--is-checked\": this.checked,\n };\n\n return (\n <Host is-invalid={this.invalid || errorUsed} tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {labelWrapperUsed && (\n <label class=\"stzh-checkbox__field-wrapper\">\n <input\n class=\"stzh-checkbox__input\"\n ref={el => (this.input = el as HTMLInputElement)}\n type=\"checkbox\"\n id={this.inputId}\n name={this.name}\n value={this.value}\n disabled={this.disabled}\n aria-describedby={`${this.inputId}-description ${this.a11yDescribedby}`}\n aria-required={this.required ? \"true\" : \"false\"}\n aria-invalid={this.invalid ? \"true\" : \"false\"}\n checked={this.checked}\n defaultChecked={this.defaultChecked}\n onInput={this.onInput}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n />\n <div class=\"stzh-checkbox__mark\">\n <div class=\"stzh-checkbox__check\" aria-hidden=\"true\"></div>\n </div>\n <div class=\"stzh-checkbox__label\">\n {this.label ? this.label : <slot onSlotchange={this.updateDefaultSlotState}></slot>}\n\n {labelUsed && !this.hideOptional && (\n <span class=\"stzh-checkbox__marker\">\n <span class=\"stzh-checkbox__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-checkbox__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n\n {descriptionLongUsed && (\n <StzhInputDescription\n classPrefix=\"stzh-checkbox\"\n id={`${this.inputId}-description-long`}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={true}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n showError={false}\n showDescriptionText={false}\n />\n )}\n </div>\n </label>\n )}\n {(errorUsed || descriptionUsed) && (\n <StzhInputDescription\n classPrefix=\"stzh-checkbox\"\n id={`${this.inputId}-description`}\n error={this._error}\n description={this.description}\n descriptionLongUsed={false}\n />\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -256,3 +256,15 @@ export const ErrorMessageInSlot = {
|
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
258
|
};
|
|
259
|
+
|
|
260
|
+
const TEMPLATE_LABEL_SLOT = `
|
|
261
|
+
<${COMPONENT_NAME} data-testid="${CHECKBOX_TEST_ID}">Label in default slot</${COMPONENT_NAME}>
|
|
262
|
+
`;
|
|
263
|
+
|
|
264
|
+
export const LabelSlotted = {
|
|
265
|
+
render: (args) => story(args, TEMPLATE_LABEL_SLOT),
|
|
266
|
+
args: {
|
|
267
|
+
name: 'option',
|
|
268
|
+
value: 'test'
|
|
269
|
+
}
|
|
270
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
-
import { hasSlot } from "../../utils/utils";
|
|
2
|
+
import { hasDefaultSlotContent, hasSlot } from "../../utils/utils";
|
|
3
3
|
import { StzhInputDescription } from "./stzh-input-description";
|
|
4
4
|
let inputCounter = 0;
|
|
5
5
|
/**
|
|
@@ -53,19 +53,19 @@ export class StzhInput {
|
|
|
53
53
|
this.size = "default";
|
|
54
54
|
/** Id for element which describes the input (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */
|
|
55
55
|
this.a11yDescribedby = "";
|
|
56
|
+
/**
|
|
57
|
+
* Whether the component has meaningful default-slot content.
|
|
58
|
+
* Becomes obsolete with the implementation of PDESI-1908.
|
|
59
|
+
*/
|
|
56
60
|
this.hasDefaultSlot = false;
|
|
61
|
+
/**
|
|
62
|
+
* Indicates whether default-slot content detection has run at least once.
|
|
63
|
+
* Used to avoid rendering state-dependent markup before the slot content
|
|
64
|
+
* has been evaluated.
|
|
65
|
+
* Becomes obsolete with the implementation of PDESI-1908.
|
|
66
|
+
*/
|
|
57
67
|
this.hasResolvedDefaultSlot = false;
|
|
58
68
|
this.focusedByInput = false;
|
|
59
|
-
/** Updates default-slot state after initial render and later slot content changes. */
|
|
60
|
-
this.updateDefaultSlotState = () => {
|
|
61
|
-
const hasDefaultSlot = this.hasDefaultLabelContent();
|
|
62
|
-
if (this.hasDefaultSlot !== hasDefaultSlot) {
|
|
63
|
-
this.hasDefaultSlot = hasDefaultSlot;
|
|
64
|
-
}
|
|
65
|
-
if (!this.hasResolvedDefaultSlot) {
|
|
66
|
-
this.hasResolvedDefaultSlot = true;
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
69
|
this.onClearClick = async (event) => {
|
|
70
70
|
this.value = "";
|
|
71
71
|
this.input.focus();
|
|
@@ -145,6 +145,19 @@ export class StzhInput {
|
|
|
145
145
|
originalEvent: event,
|
|
146
146
|
});
|
|
147
147
|
};
|
|
148
|
+
/**
|
|
149
|
+
* Re-evaluates default-slot content and updates the related render state.
|
|
150
|
+
* Becomes obsolete with implementation of PDESI-1908.
|
|
151
|
+
*/
|
|
152
|
+
this.updateDefaultSlotState = () => {
|
|
153
|
+
const hasDefaultSlot = hasDefaultSlotContent(this.element, ["stzh-input"]);
|
|
154
|
+
if (this.hasDefaultSlot !== hasDefaultSlot) {
|
|
155
|
+
this.hasDefaultSlot = hasDefaultSlot;
|
|
156
|
+
}
|
|
157
|
+
if (!this.hasResolvedDefaultSlot) {
|
|
158
|
+
this.hasResolvedDefaultSlot = true;
|
|
159
|
+
}
|
|
160
|
+
};
|
|
148
161
|
}
|
|
149
162
|
resetListener(event) {
|
|
150
163
|
if (event.target.contains(this.element)) {
|
|
@@ -183,24 +196,6 @@ export class StzhInput {
|
|
|
183
196
|
throw new Error(`Type ${newValue} not supported`);
|
|
184
197
|
}
|
|
185
198
|
}
|
|
186
|
-
/** Detects default-slot label content, including Stencil's scoped-slot fallback nodes. */
|
|
187
|
-
hasDefaultLabelContent() {
|
|
188
|
-
if (hasSlot(this.element)) {
|
|
189
|
-
return true;
|
|
190
|
-
}
|
|
191
|
-
return Array.from(this.element.childNodes).some(node => {
|
|
192
|
-
var _a, _b;
|
|
193
|
-
const slotNode = (_a = node["s-nr"]) !== null && _a !== void 0 ? _a : node;
|
|
194
|
-
if (slotNode.nodeType === Node.TEXT_NODE) {
|
|
195
|
-
return ((_b = slotNode.textContent) !== null && _b !== void 0 ? _b : "").trim() !== "";
|
|
196
|
-
}
|
|
197
|
-
if (slotNode.nodeType === Node.ELEMENT_NODE) {
|
|
198
|
-
const element = slotNode;
|
|
199
|
-
return !element.hasAttribute("slot") && !element.classList.contains("stzh-input");
|
|
200
|
-
}
|
|
201
|
-
return false;
|
|
202
|
-
});
|
|
203
|
-
}
|
|
204
199
|
waitForNextRender() {
|
|
205
200
|
return new Promise(resolve => (this.renderPromiseResolve = resolve));
|
|
206
201
|
}
|
|
@@ -257,18 +252,18 @@ export class StzhInput {
|
|
|
257
252
|
[`stzh-input--size-${this.size}`]: !!this.size,
|
|
258
253
|
[`stzh-input--type-${this.type}`]: !!this.type,
|
|
259
254
|
};
|
|
260
|
-
return (h(Host, { key: '
|
|
255
|
+
return (h(Host, { key: 'edcd8b17d9a523b18ec3dc3fd8e7616a792bb1c4', "is-invalid": this.invalid || errorUsed, tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus, "is-filled": this.filled }, h("div", { key: '9cb9427ab5db441a4e26b80a389a527032d36a9f', class: classes }, labelWrapperUsed && (h("div", { key: '53bc2d5cea8f5a4e9f738ba973cd53e229864f04', class: "stzh-input__label-wrapper" }, h("label", { key: '73d80f001275d4f2eead5e9c97f10d0a4d6b3021', class: {
|
|
261
256
|
"stzh-input__label": true,
|
|
262
257
|
"no-label-truncate": this.noLabelTruncate,
|
|
263
|
-
}, htmlFor: this.inputId }, this.label ? this.label : h("slot", { onSlotchange: this.updateDefaultSlotState }), labelUsed && !this.hideOptional && (h("span", { key: '
|
|
258
|
+
}, htmlFor: this.inputId }, this.label ? this.label : h("slot", { onSlotchange: this.updateDefaultSlotState }), labelUsed && !this.hideOptional && (h("span", { key: 'd842519268ef41d93e4822963a80464bb52d81ba', class: "stzh-input__marker" }, h("span", { key: '9f9733c50f43d439398beda36b470c415effda56', class: "stzh-input__marker-symbol", "aria-hidden": "true" }, this.required
|
|
264
259
|
? this.localization.$globals.requiredFieldMarker
|
|
265
|
-
: this.localization.$globals.optionalFieldMarker), h("span", { key: '
|
|
260
|
+
: this.localization.$globals.optionalFieldMarker), h("span", { key: 'a6677f03b473f76df2874e577c6ea5fa262e9b86', class: "stzh-input__marker-text" }, this.required
|
|
266
261
|
? this.localization.$globals.requiredFieldText
|
|
267
|
-
: this.localization.$globals.optionalFieldText)))), descriptionLongUsed && (h(StzhInputDescription, { key: '
|
|
262
|
+
: this.localization.$globals.optionalFieldText)))), descriptionLongUsed && (h(StzhInputDescription, { key: '58c5653a9a53c6f617833a3fae920cdebaf1f988', classPrefix: "stzh-input", id: `${this.inputId}-description-long`, description: this.description, descriptionLong: this.descriptionLong, descriptionLongTitle: this.descriptionLongTitle, descriptionLongUsed: descriptionLongUsed, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel, showError: false, showDescriptionText: false })))), h("div", { key: '910fb2dfae4791492c3085dbfd4e5de012c7a063', class: "stzh-input__field-wrapper" }, this.multiline ? this.renderTextarea() : this.renderInput(), this.clearable || this.type === "search" || this.type === "password" ? ((!this.clearable || this.disabled || this.readonly || !this.filled) && this.type === "search" ? (h("stzh-icon", { class: "stzh-input__button-right", name: "search" })) : this.type === "password" ? (h("stzh-button", { class: "stzh-input__button-right", icon: this.showPassword ? "view-hidden" : "view", size: this.size, iconOnly: true, onClick: this.onTogglePasswordVisibilityClick, disabled: this.disabled || this.readonly, a11yLabel: this.type === "password"
|
|
268
263
|
? this.showPassword
|
|
269
264
|
? this.localization.$globals.passwordToggleButtonHideLabel
|
|
270
265
|
: this.localization.$globals.passwordToggleButtonShowLabel
|
|
271
|
-
: undefined })) : this.filled ? (h("stzh-button", { class: "stzh-input__button-right", icon: "close", size: this.size, iconOnly: true, onClick: this.onClearClick, a11yLabel: this.localization.$globals.clearButtonLabel, "aria-controls": this.inputId, a11yTabindex: "-1", "aria-hidden": this.clearable ? "true" : undefined })) : (h("slot", { name: "button-right" }))) : (h("slot", { name: "button-right" }))), (errorUsed || descriptionUsed) && (h(StzhInputDescription, { key: '
|
|
266
|
+
: undefined })) : this.filled ? (h("stzh-button", { class: "stzh-input__button-right", icon: "close", size: this.size, iconOnly: true, onClick: this.onClearClick, a11yLabel: this.localization.$globals.clearButtonLabel, "aria-controls": this.inputId, a11yTabindex: "-1", "aria-hidden": this.clearable ? "true" : undefined })) : (h("slot", { name: "button-right" }))) : (h("slot", { name: "button-right" }))), (errorUsed || descriptionUsed) && (h(StzhInputDescription, { key: '0150eaf57c9e266cc8234c76a21f98e4904e95b3', classPrefix: "stzh-input", id: `${this.inputId}-description`, error: this._error, description: this.description, descriptionLongUsed: false })))));
|
|
272
267
|
}
|
|
273
268
|
static get is() { return "stzh-input"; }
|
|
274
269
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stzh-input.js","sourceRoot":"","sources":["../../../../src/components/stzh-input/stzh-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE7G,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhE,IAAI,YAAY,GAAG,CAAC,CAAC;AAErB;;;;;;;GAOG;AAMH,MAAM,OAAO,SAAS;IALtB;QASE,wDAAwD;QAChD,cAAS,GAAY,KAAK,CAAC;QAKnC,2FAA2F;QAClE,SAAI,GAC3B,MAAM,CAAC;QAET,2DAA2D;QACnD,SAAI,GAAW,CAAC,CAAC;QAQzB,wGAAwG;QAC/E,aAAQ,GAAY,KAAK,CAAC;QAEnD,6CAA6C;QACpB,aAAQ,GAAY,KAAK,CAAC;QAEnD,6CAA6C;QACpB,aAAQ,GAAY,KAAK,CAAC;QAEnD,qIAAqI;QAC5G,cAAS,GAAY,KAAK,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Listen, Prop, State, Watch } from \"@stencil/core\";\nimport { StzhInputBlurEvent, StzhInputChangedEvent, StzhInputChangeEvent, StzhInputFocusEvent } from \"../../index\";\nimport { hasSlot } from \"../../utils/utils\";\n\nimport { StzhInputLocalizedText } from \"./stzh-input.localization\";\nimport { StzhInputDescription } from \"./stzh-input-description\";\n\nlet inputCounter = 0;\n\n/**\n * @slot - Slot for label content\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot error - Slot for error\n * @slot button-right - Slot for right button\n */\n@Component({\n tag: \"stzh-input\",\n styleUrl: \"stzh-input.scss\",\n scoped: true,\n})\nexport class StzhInput {\n /** Translation strings */\n @Prop() localization: StzhInputLocalizedText;\n\n /** Whether the input is a textarea or an input field */\n @Prop() multiline: boolean = false;\n\n /** Rows attribute if input element is textarea */\n @Prop() rows: number;\n\n /** If input field, this defines the type (if `search`, a search icon will be displayed) */\n @Prop({ reflect: true }) type: \"text\" | \"search\" | \"password\" | \"email\" | \"url\" | \"tel\" | \"number\" | \"hidden\" =\n \"text\";\n\n /** If input type is number, this will be the step size */\n @Prop() step: number = 1;\n\n /** If input type is number, this will be the minimum step number */\n @Prop() min: number;\n\n /** If input type is number, this will be the maximum step number */\n @Prop() max: number;\n\n /** If input type is number and this property is true, this will show the spin buttons on hover/focus */\n @Prop({ reflect: true }) showSpin: boolean = false;\n\n /** Whether the element is readonly or not */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether clearable button is showing when input field has value and is enabled (button-right slot not usable anymore when true) */\n @Prop({ reflect: true }) clearable: boolean = false;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** Minimum of characters */\n @Prop() minlength: number;\n\n /** Maxlength of characters */\n @Prop() maxlength: number;\n\n /** The name of the input element */\n @Prop({ reflect: true }) name: string;\n\n /** The value of the input element */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Default value (used by reset) */\n @Prop({ mutable: true }) defaultValue: string = \"\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /**\n * Specify inputmode.\n * See [MDN](https://developer.mozilla.org/de/docs/Web/HTML/Global_attributes/inputmode) for possible values\n */\n @Prop() inputmode: string;\n\n /**\n * Specify what the user agent has to provide as automated assistance.\n * See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for possible values\n */\n @Prop() autocomplete: string = \"on\";\n\n /** Whether autocomplete should be turned off */\n @Prop() noAutocomplete: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Whether label should be truncated or not */\n @Prop() noLabelTruncate: boolean = false;\n\n /** Whether label should be visually hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Size variant */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Id for element which describes the input (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Whether the input is filled or not */\n @State() filled: boolean;\n\n /** Whether to show the password or not */\n @State() showPassword: boolean;\n\n @State() hasDefaultSlot: boolean = false;\n @State() hasResolvedDefaultSlot: boolean = false;\n\n @Element() element: HTMLStzhInputElement;\n\n /** Input change event */\n @Event() stzhChange: EventEmitter<StzhInputChangeEvent>;\n\n /** Input changed event */\n @Event() stzhChanged: EventEmitter<StzhInputChangedEvent>;\n\n /** Input focus event */\n @Event() stzhFocus: EventEmitter<StzhInputFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhInputBlurEvent>;\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"value\")\n valueWatcher(newValue: string) {\n this.filled = newValue !== \"\";\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n @Watch(\"type\")\n typeWatcher(newValue: string) {\n const types = [\"text\", \"search\", \"password\", \"email\", \"url\", \"tel\", \"number\", \"hidden\"];\n\n if (!this.multiline && !types.includes(newValue)) {\n throw new Error(`Type ${newValue} not supported`);\n }\n }\n\n private input: HTMLInputElement | HTMLTextAreaElement;\n private inputId: string;\n private focusedByInput: boolean = false;\n private renderPromiseResolve: (value?: unknown) => void;\n\n /** Detects default-slot label content, including Stencil's scoped-slot fallback nodes. */\n private hasDefaultLabelContent() {\n if (hasSlot(this.element)) {\n return true;\n }\n\n return Array.from(this.element.childNodes).some(node => {\n const slotNode = (node as any)[\"s-nr\"] ?? node;\n\n if (slotNode.nodeType === Node.TEXT_NODE) {\n return (slotNode.textContent ?? \"\").trim() !== \"\";\n }\n\n if (slotNode.nodeType === Node.ELEMENT_NODE) {\n const element = slotNode as HTMLElement;\n\n return !element.hasAttribute(\"slot\") && !element.classList.contains(\"stzh-input\");\n }\n\n return false;\n });\n }\n\n /** Updates default-slot state after initial render and later slot content changes. */\n private updateDefaultSlotState = () => {\n const hasDefaultSlot = this.hasDefaultLabelContent();\n\n if (this.hasDefaultSlot !== hasDefaultSlot) {\n this.hasDefaultSlot = hasDefaultSlot;\n }\n\n if (!this.hasResolvedDefaultSlot) {\n this.hasResolvedDefaultSlot = true;\n }\n };\n\n private waitForNextRender() {\n return new Promise(resolve => (this.renderPromiseResolve = resolve));\n }\n\n private onClearClick = async (event: MouseEvent) => {\n this.value = \"\";\n this.input.focus();\n\n await this.waitForNextRender();\n\n this.stzhChange.emit({\n component: \"stzh-input\",\n originalEvent: event,\n value: this.value,\n });\n\n this.stzhChanged.emit({\n component: \"stzh-input\",\n originalEvent: event,\n value: this.value,\n });\n };\n\n private onTogglePasswordVisibilityClick = async () => {\n this.showPassword = !this.showPassword;\n };\n\n private handleReset = async () => {\n this.value = this.defaultValue;\n // we also update value, since render doesn't get executed sometimes\n this.input.value = this.defaultValue;\n\n // TODO: check if we need own reset event or trigger the change event\n // (custom browser behaviour doesn't send change event, when reset is executed)\n // this.stzhChange.emit({\n // component: \"stzh-input\",\n // originalEvent: event,\n // value: this.value\n // });\n };\n\n private onInput = (event: InputEvent) => {\n this.value = this.input.value;\n\n this.stzhChange.emit({\n component: \"stzh-input\",\n originalEvent: event,\n value: this.value,\n });\n };\n\n private onChange = (event: InputEvent) => {\n this.value = this.input.value;\n\n this.stzhChanged.emit({\n component: \"stzh-input\",\n originalEvent: event,\n value: this.value,\n });\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.input.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-input\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n // fixes weird bug where autofill selection doesn't get removed\n this.input.value = this.input.value;\n\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-input\",\n originalEvent: event,\n });\n };\n\n private renderTextarea(): HTMLTextAreaElement {\n return (\n <textarea\n class=\"stzh-input__input stzh-input__input--textarea\"\n ref={el => (this.input = el as HTMLTextAreaElement)}\n id={this.inputId}\n name={this.name}\n value={this.value}\n rows={this.rows}\n disabled={this.disabled}\n readonly={this.readonly}\n minlength={this.minlength}\n maxlength={this.maxlength}\n aria-describedby={`${this.inputId}-description ${this.a11yDescribedby}`}\n aria-required={this.required ? \"true\" : \"false\"}\n aria-invalid={this.invalid ? \"true\" : \"false\"}\n onChange={this.onChange}\n onInput={this.onInput}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n ></textarea>\n );\n }\n\n private renderInput(): HTMLInputElement {\n return (\n <input\n class=\"stzh-input__input stzh-input__input--input\"\n ref={el => (this.input = el as HTMLInputElement)}\n id={this.inputId}\n type={this.showPassword ? \"text\" : this.type}\n name={this.name}\n value={this.value}\n defaultValue={this.defaultValue}\n min={this.min}\n max={this.max}\n step={this.step}\n inputmode={this.inputmode}\n disabled={this.disabled}\n readonly={this.readonly}\n minlength={this.minlength}\n maxlength={this.maxlength}\n autocomplete={this.noAutocomplete ? \"off\" : this.autocomplete}\n aria-autocomplete={this.noAutocomplete ? \"none\" : undefined}\n aria-describedby={`${this.inputId}-description ${this.a11yDescribedby}`}\n aria-required={this.required ? \"true\" : \"false\"}\n aria-invalid={this.invalid ? \"true\" : \"false\"}\n onChange={this.onChange}\n onInput={this.onInput}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n />\n );\n }\n\n componentDidRender() {\n if (this.renderPromiseResolve) {\n this.renderPromiseResolve();\n }\n }\n\n componentDidLoad() {\n this.updateDefaultSlotState();\n }\n\n async componentWillLoad() {\n this.inputId = `stzh-input-${inputCounter++}`;\n this.typeWatcher(this.type);\n this.valueWatcher(this.value);\n this.errorWatcher(this.error);\n\n this.defaultValue = this.defaultValue || this.value;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"input\");\n }\n }\n\n render() {\n const buttonRightSlotUsed = hasSlot(this.element, \"button-right\");\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n const errorUsed = hasSlot(this.element, \"error\") || this._error?.length > 0;\n\n const labelUsed = !!this.label || this.hasDefaultSlot;\n const labelWrapperUsed = !this.hasResolvedDefaultSlot || labelUsed || descriptionLongUsed;\n\n const classes = {\n \"stzh-input\": true,\n \"stzh-input--has-button-right\":\n buttonRightSlotUsed ||\n this.type === \"search\" ||\n (this.clearable && this.filled && !this.readonly && !this.disabled),\n \"stzh-input--has-description\": descriptionUsed,\n \"stzh-input--has-description-long\": descriptionLongUsed,\n \"stzh-input--has-error\": errorUsed,\n \"stzh-input--has-spin\": this.showSpin,\n \"stzh-input--is-invalid\": this.invalid || errorUsed,\n \"stzh-input--is-disabled\": this.disabled,\n \"stzh-input--is-readonly\": this.readonly,\n \"stzh-input--is-required\": this.required,\n \"stzh-input--is-filled\": this.filled,\n \"stzh-input--is-not-filled\": !this.filled,\n \"stzh-input--is-clearable\": this.clearable,\n \"stzh-input--is-not-clearable\": !this.clearable,\n \"stzh-input--has-label-hidden\": this.labelHidden,\n [`stzh-input--size-${this.size}`]: !!this.size,\n [`stzh-input--type-${this.type}`]: !!this.type,\n };\n\n return (\n <Host\n is-invalid={this.invalid || errorUsed}\n tabindex={this.disabled ? null : \"-1\"}\n onFocus={this.onRootFocus}\n is-filled={this.filled}\n >\n <div class={classes}>\n {labelWrapperUsed && (\n <div class=\"stzh-input__label-wrapper\">\n <label\n class={{\n \"stzh-input__label\": true,\n \"no-label-truncate\": this.noLabelTruncate,\n }}\n htmlFor={this.inputId}\n >\n {this.label ? this.label : <slot onSlotchange={this.updateDefaultSlotState}></slot>}\n\n {labelUsed && !this.hideOptional && (\n <span class=\"stzh-input__marker\">\n <span class=\"stzh-input__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-input__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </label>\n\n {descriptionLongUsed && (\n <StzhInputDescription\n classPrefix=\"stzh-input\"\n id={`${this.inputId}-description-long`}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n showError={false}\n showDescriptionText={false}\n />\n )}\n </div>\n )}\n <div class=\"stzh-input__field-wrapper\">\n {this.multiline ? this.renderTextarea() : this.renderInput()}\n {this.clearable || this.type === \"search\" || this.type === \"password\" ? (\n (!this.clearable || this.disabled || this.readonly || !this.filled) && this.type === \"search\" ? (\n <stzh-icon class=\"stzh-input__button-right\" name=\"search\"></stzh-icon>\n ) : this.type === \"password\" ? (\n <stzh-button\n class=\"stzh-input__button-right\"\n icon={this.showPassword ? \"view-hidden\" : \"view\"}\n size={this.size}\n iconOnly={true}\n onClick={this.onTogglePasswordVisibilityClick}\n disabled={this.disabled || this.readonly}\n a11yLabel={\n this.type === \"password\"\n ? this.showPassword\n ? this.localization.$globals.passwordToggleButtonHideLabel\n : this.localization.$globals.passwordToggleButtonShowLabel\n : undefined\n }\n ></stzh-button>\n ) : this.filled ? (\n <stzh-button\n class=\"stzh-input__button-right\"\n icon=\"close\"\n size={this.size}\n iconOnly={true}\n onClick={this.onClearClick}\n a11yLabel={this.localization.$globals.clearButtonLabel}\n aria-controls={this.inputId}\n a11yTabindex=\"-1\"\n aria-hidden={this.clearable ? \"true\" : undefined}\n ></stzh-button>\n ) : (\n <slot name=\"button-right\"></slot>\n )\n ) : (\n <slot name=\"button-right\"></slot>\n )}\n </div>\n {(errorUsed || descriptionUsed) && (\n <StzhInputDescription\n classPrefix=\"stzh-input\"\n id={`${this.inputId}-description`}\n error={this._error}\n description={this.description}\n descriptionLongUsed={false}\n />\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"stzh-input.js","sourceRoot":"","sources":["../../../../src/components/stzh-input/stzh-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE7G,OAAO,EAAE,qBAAqB,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAGnE,OAAO,EAAE,oBAAo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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Listen, Prop, State, Watch } from \"@stencil/core\";\nimport { StzhInputBlurEvent, StzhInputChangedEvent, StzhInputChangeEvent, StzhInputFocusEvent } from \"../../index\";\nimport { hasDefaultSlotContent, hasSlot } from \"../../utils/utils\";\n\nimport { StzhInputLocalizedText } from \"./stzh-input.localization\";\nimport { StzhInputDescription } from \"./stzh-input-description\";\n\nlet inputCounter = 0;\n\n/**\n * @slot - Slot for label content\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot error - Slot for error\n * @slot button-right - Slot for right button\n */\n@Component({\n tag: \"stzh-input\",\n styleUrl: \"stzh-input.scss\",\n scoped: true,\n})\nexport class StzhInput {\n /** Translation strings */\n @Prop() localization: StzhInputLocalizedText;\n\n /** Whether the input is a textarea or an input field */\n @Prop() multiline: boolean = false;\n\n /** Rows attribute if input element is textarea */\n @Prop() rows: number;\n\n /** If input field, this defines the type (if `search`, a search icon will be displayed) */\n @Prop({ reflect: true }) type: \"text\" | \"search\" | \"password\" | \"email\" | \"url\" | \"tel\" | \"number\" | \"hidden\" =\n \"text\";\n\n /** If input type is number, this will be the step size */\n @Prop() step: number = 1;\n\n /** If input type is number, this will be the minimum step number */\n @Prop() min: number;\n\n /** If input type is number, this will be the maximum step number */\n @Prop() max: number;\n\n /** If input type is number and this property is true, this will show the spin buttons on hover/focus */\n @Prop({ reflect: true }) showSpin: boolean = false;\n\n /** Whether the element is readonly or not */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether clearable button is showing when input field has value and is enabled (button-right slot not usable anymore when true) */\n @Prop({ reflect: true }) clearable: boolean = false;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** Minimum of characters */\n @Prop() minlength: number;\n\n /** Maxlength of characters */\n @Prop() maxlength: number;\n\n /** The name of the input element */\n @Prop({ reflect: true }) name: string;\n\n /** The value of the input element */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Default value (used by reset) */\n @Prop({ mutable: true }) defaultValue: string = \"\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /**\n * Specify inputmode.\n * See [MDN](https://developer.mozilla.org/de/docs/Web/HTML/Global_attributes/inputmode) for possible values\n */\n @Prop() inputmode: string;\n\n /**\n * Specify what the user agent has to provide as automated assistance.\n * See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for possible values\n */\n @Prop() autocomplete: string = \"on\";\n\n /** Whether autocomplete should be turned off */\n @Prop() noAutocomplete: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Whether label should be truncated or not */\n @Prop() noLabelTruncate: boolean = false;\n\n /** Whether label should be visually hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Size variant */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Id for element which describes the input (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Whether the input is filled or not */\n @State() filled: boolean;\n\n /** Whether to show the password or not */\n @State() showPassword: boolean;\n\n /**\n * Whether the component has meaningful default-slot content.\n * Becomes obsolete with the implementation of PDESI-1908.\n */\n @State() hasDefaultSlot: boolean = false;\n\n /**\n * Indicates whether default-slot content detection has run at least once.\n * Used to avoid rendering state-dependent markup before the slot content\n * has been evaluated.\n * Becomes obsolete with the implementation of PDESI-1908.\n */\n @State() hasResolvedDefaultSlot: boolean = false;\n\n @Element() element: HTMLStzhInputElement;\n\n /** Input change event */\n @Event() stzhChange: EventEmitter<StzhInputChangeEvent>;\n\n /** Input changed event */\n @Event() stzhChanged: EventEmitter<StzhInputChangedEvent>;\n\n /** Input focus event */\n @Event() stzhFocus: EventEmitter<StzhInputFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhInputBlurEvent>;\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"value\")\n valueWatcher(newValue: string) {\n this.filled = newValue !== \"\";\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n @Watch(\"type\")\n typeWatcher(newValue: string) {\n const types = [\"text\", \"search\", \"password\", \"email\", \"url\", \"tel\", \"number\", \"hidden\"];\n\n if (!this.multiline && !types.includes(newValue)) {\n throw new Error(`Type ${newValue} not supported`);\n }\n }\n\n private input: HTMLInputElement | HTMLTextAreaElement;\n private inputId: string;\n private focusedByInput: boolean = false;\n private renderPromiseResolve: (value?: unknown) => void;\n\n private waitForNextRender() {\n return new Promise(resolve => (this.renderPromiseResolve = resolve));\n }\n\n private onClearClick = async (event: MouseEvent) => {\n this.value = \"\";\n this.input.focus();\n\n await this.waitForNextRender();\n\n this.stzhChange.emit({\n component: \"stzh-input\",\n originalEvent: event,\n value: this.value,\n });\n\n this.stzhChanged.emit({\n component: \"stzh-input\",\n originalEvent: event,\n value: this.value,\n });\n };\n\n private onTogglePasswordVisibilityClick = async () => {\n this.showPassword = !this.showPassword;\n };\n\n private handleReset = async () => {\n this.value = this.defaultValue;\n // we also update value, since render doesn't get executed sometimes\n this.input.value = this.defaultValue;\n\n // TODO: check if we need own reset event or trigger the change event\n // (custom browser behaviour doesn't send change event, when reset is executed)\n // this.stzhChange.emit({\n // component: \"stzh-input\",\n // originalEvent: event,\n // value: this.value\n // });\n };\n\n private onInput = (event: InputEvent) => {\n this.value = this.input.value;\n\n this.stzhChange.emit({\n component: \"stzh-input\",\n originalEvent: event,\n value: this.value,\n });\n };\n\n private onChange = (event: InputEvent) => {\n this.value = this.input.value;\n\n this.stzhChanged.emit({\n component: \"stzh-input\",\n originalEvent: event,\n value: this.value,\n });\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.input.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-input\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n // fixes weird bug where autofill selection doesn't get removed\n this.input.value = this.input.value;\n\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-input\",\n originalEvent: event,\n });\n };\n\n private renderTextarea(): HTMLTextAreaElement {\n return (\n <textarea\n class=\"stzh-input__input stzh-input__input--textarea\"\n ref={el => (this.input = el as HTMLTextAreaElement)}\n id={this.inputId}\n name={this.name}\n value={this.value}\n rows={this.rows}\n disabled={this.disabled}\n readonly={this.readonly}\n minlength={this.minlength}\n maxlength={this.maxlength}\n aria-describedby={`${this.inputId}-description ${this.a11yDescribedby}`}\n aria-required={this.required ? \"true\" : \"false\"}\n aria-invalid={this.invalid ? \"true\" : \"false\"}\n onChange={this.onChange}\n onInput={this.onInput}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n ></textarea>\n );\n }\n\n private renderInput(): HTMLInputElement {\n return (\n <input\n class=\"stzh-input__input stzh-input__input--input\"\n ref={el => (this.input = el as HTMLInputElement)}\n id={this.inputId}\n type={this.showPassword ? \"text\" : this.type}\n name={this.name}\n value={this.value}\n defaultValue={this.defaultValue}\n min={this.min}\n max={this.max}\n step={this.step}\n inputmode={this.inputmode}\n disabled={this.disabled}\n readonly={this.readonly}\n minlength={this.minlength}\n maxlength={this.maxlength}\n autocomplete={this.noAutocomplete ? \"off\" : this.autocomplete}\n aria-autocomplete={this.noAutocomplete ? \"none\" : undefined}\n aria-describedby={`${this.inputId}-description ${this.a11yDescribedby}`}\n aria-required={this.required ? \"true\" : \"false\"}\n aria-invalid={this.invalid ? \"true\" : \"false\"}\n onChange={this.onChange}\n onInput={this.onInput}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n />\n );\n }\n\n /**\n * Re-evaluates default-slot content and updates the related render state.\n * Becomes obsolete with implementation of PDESI-1908.\n */\n private updateDefaultSlotState = () => {\n const hasDefaultSlot = hasDefaultSlotContent(this.element, [\"stzh-input\"]);\n if (this.hasDefaultSlot !== hasDefaultSlot) {\n this.hasDefaultSlot = hasDefaultSlot;\n }\n if (!this.hasResolvedDefaultSlot) {\n this.hasResolvedDefaultSlot = true;\n }\n };\n\n componentDidRender() {\n if (this.renderPromiseResolve) {\n this.renderPromiseResolve();\n }\n }\n\n componentDidLoad() {\n this.updateDefaultSlotState();\n }\n\n async componentWillLoad() {\n this.inputId = `stzh-input-${inputCounter++}`;\n this.typeWatcher(this.type);\n this.valueWatcher(this.value);\n this.errorWatcher(this.error);\n\n this.defaultValue = this.defaultValue || this.value;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"input\");\n }\n }\n\n render() {\n const buttonRightSlotUsed = hasSlot(this.element, \"button-right\");\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n const errorUsed = hasSlot(this.element, \"error\") || this._error?.length > 0;\n\n const labelUsed = !!this.label || this.hasDefaultSlot;\n const labelWrapperUsed = !this.hasResolvedDefaultSlot || labelUsed || descriptionLongUsed;\n\n const classes = {\n \"stzh-input\": true,\n \"stzh-input--has-button-right\":\n buttonRightSlotUsed ||\n this.type === \"search\" ||\n (this.clearable && this.filled && !this.readonly && !this.disabled),\n \"stzh-input--has-description\": descriptionUsed,\n \"stzh-input--has-description-long\": descriptionLongUsed,\n \"stzh-input--has-error\": errorUsed,\n \"stzh-input--has-spin\": this.showSpin,\n \"stzh-input--is-invalid\": this.invalid || errorUsed,\n \"stzh-input--is-disabled\": this.disabled,\n \"stzh-input--is-readonly\": this.readonly,\n \"stzh-input--is-required\": this.required,\n \"stzh-input--is-filled\": this.filled,\n \"stzh-input--is-not-filled\": !this.filled,\n \"stzh-input--is-clearable\": this.clearable,\n \"stzh-input--is-not-clearable\": !this.clearable,\n \"stzh-input--has-label-hidden\": this.labelHidden,\n [`stzh-input--size-${this.size}`]: !!this.size,\n [`stzh-input--type-${this.type}`]: !!this.type,\n };\n\n return (\n <Host\n is-invalid={this.invalid || errorUsed}\n tabindex={this.disabled ? null : \"-1\"}\n onFocus={this.onRootFocus}\n is-filled={this.filled}\n >\n <div class={classes}>\n {labelWrapperUsed && (\n <div class=\"stzh-input__label-wrapper\">\n <label\n class={{\n \"stzh-input__label\": true,\n \"no-label-truncate\": this.noLabelTruncate,\n }}\n htmlFor={this.inputId}\n >\n {this.label ? this.label : <slot onSlotchange={this.updateDefaultSlotState}></slot>}\n\n {labelUsed && !this.hideOptional && (\n <span class=\"stzh-input__marker\">\n <span class=\"stzh-input__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-input__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </label>\n\n {descriptionLongUsed && (\n <StzhInputDescription\n classPrefix=\"stzh-input\"\n id={`${this.inputId}-description-long`}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n showError={false}\n showDescriptionText={false}\n />\n )}\n </div>\n )}\n <div class=\"stzh-input__field-wrapper\">\n {this.multiline ? this.renderTextarea() : this.renderInput()}\n {this.clearable || this.type === \"search\" || this.type === \"password\" ? (\n (!this.clearable || this.disabled || this.readonly || !this.filled) && this.type === \"search\" ? (\n <stzh-icon class=\"stzh-input__button-right\" name=\"search\"></stzh-icon>\n ) : this.type === \"password\" ? (\n <stzh-button\n class=\"stzh-input__button-right\"\n icon={this.showPassword ? \"view-hidden\" : \"view\"}\n size={this.size}\n iconOnly={true}\n onClick={this.onTogglePasswordVisibilityClick}\n disabled={this.disabled || this.readonly}\n a11yLabel={\n this.type === \"password\"\n ? this.showPassword\n ? this.localization.$globals.passwordToggleButtonHideLabel\n : this.localization.$globals.passwordToggleButtonShowLabel\n : undefined\n }\n ></stzh-button>\n ) : this.filled ? (\n <stzh-button\n class=\"stzh-input__button-right\"\n icon=\"close\"\n size={this.size}\n iconOnly={true}\n onClick={this.onClearClick}\n a11yLabel={this.localization.$globals.clearButtonLabel}\n aria-controls={this.inputId}\n a11yTabindex=\"-1\"\n aria-hidden={this.clearable ? \"true\" : undefined}\n ></stzh-button>\n ) : (\n <slot name=\"button-right\"></slot>\n )\n ) : (\n <slot name=\"button-right\"></slot>\n )}\n </div>\n {(errorUsed || descriptionUsed) && (\n <StzhInputDescription\n classPrefix=\"stzh-input\"\n id={`${this.inputId}-description`}\n error={this._error}\n description={this.description}\n descriptionLongUsed={false}\n />\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -266,15 +266,6 @@ export const LongLabel = {
|
|
|
266
266
|
}
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export const ErrorMessage = {
|
|
270
|
-
render: (args) => story(args, TEMPLATE),
|
|
271
|
-
args: {
|
|
272
|
-
name: 'firstname',
|
|
273
|
-
label: 'Label',
|
|
274
|
-
error: ['Please fill the field']
|
|
275
|
-
}
|
|
276
|
-
};
|
|
277
|
-
|
|
278
269
|
const TEMPLATE_ERROR_SLOT = `
|
|
279
270
|
<stzh-input data-testid="${INPUT_TEST_ID}">
|
|
280
271
|
<div slot="error">
|
|
@@ -284,6 +275,15 @@ const TEMPLATE_ERROR_SLOT = `
|
|
|
284
275
|
</stzh-input>
|
|
285
276
|
`;
|
|
286
277
|
|
|
278
|
+
export const ErrorMessage = {
|
|
279
|
+
render: (args) => story(args, TEMPLATE),
|
|
280
|
+
args: {
|
|
281
|
+
name: 'firstname',
|
|
282
|
+
label: 'Label',
|
|
283
|
+
error: ['Please fill the field']
|
|
284
|
+
}
|
|
285
|
+
};
|
|
286
|
+
|
|
287
287
|
export const ErrorMessageInSlot = {
|
|
288
288
|
render: (args) => story(args, TEMPLATE_ERROR_SLOT),
|
|
289
289
|
args: {
|
|
@@ -422,3 +422,26 @@ export const ButtonRight = {
|
|
|
422
422
|
});
|
|
423
423
|
}
|
|
424
424
|
};
|
|
425
|
+
|
|
426
|
+
const TEMPLATE_LABEL_SLOT = `
|
|
427
|
+
<stzh-input data-testid="${INPUT_TEST_ID}">
|
|
428
|
+
Label in default slot
|
|
429
|
+
</stzh-input>
|
|
430
|
+
`;
|
|
431
|
+
|
|
432
|
+
export const LabelSlotted = {
|
|
433
|
+
render: (args) => story(args, TEMPLATE_LABEL_SLOT),
|
|
434
|
+
args: {},
|
|
435
|
+
play: async ({ canvasElement, step }) => {
|
|
436
|
+
await step('Assert label via default slot', async () => {
|
|
437
|
+
stzhInputEl = await getComponentByTestId(canvasElement, INPUT_TEST_ID);
|
|
438
|
+
|
|
439
|
+
expect(stzhInputEl).not.toHaveAttribute('label');
|
|
440
|
+
|
|
441
|
+
const labelEl = stzhInputEl.querySelector('label');
|
|
442
|
+
expect(labelEl).not.toBeNull();
|
|
443
|
+
expectIsVisible(labelEl);
|
|
444
|
+
expect(labelEl).toHaveTextContent('Label in default slot');
|
|
445
|
+
});
|
|
446
|
+
}
|
|
447
|
+
};
|