@oiz/stzh-components 4.12.1-beta1 → 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-N0ol04NL.js → index-D-_ltZeJ.js} +3 -3
- package/dist/cjs/{index-N0ol04NL.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-Dbubu75V.js → stzh-input-description-BCu4biHD.js} +3 -3
- package/dist/cjs/{stzh-input-description-Dbubu75V.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 +4 -4
- 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-message/stzh-message.js +5 -5
- package/dist/collection/components/stzh-message/stzh-message.js.map +1 -1
- package/dist/collection/components/stzh-message/stzh-message.stories.js +127 -2
- 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-5iYOoBns.js → p-4Vt8Vqot.js} +3 -3
- package/dist/components/{p-5iYOoBns.js.map → p-4Vt8Vqot.js.map} +1 -1
- package/dist/components/{p-H9Yh6P94.js → p-6cYGuE14.js} +12 -12
- package/dist/components/{p-H9Yh6P94.js.map → p-6cYGuE14.js.map} +1 -1
- package/dist/components/{p-CzvAx4N0.js → p-AIPoMvau.js} +3 -3
- package/dist/components/{p-CzvAx4N0.js.map → p-AIPoMvau.js.map} +1 -1
- package/dist/components/{p-8vUD5Pvs.js → p-B44NYxqN.js} +38 -43
- package/dist/components/p-B44NYxqN.js.map +1 -0
- package/dist/components/{p-BcfJQ2iG.js → p-BB0rFoJE.js} +10 -10
- package/dist/components/{p-BcfJQ2iG.js.map → p-BB0rFoJE.js.map} +1 -1
- package/dist/components/{p-DajXzNIS.js → p-BBg6OWDc.js} +3 -3
- package/dist/components/{p-DajXzNIS.js.map → p-BBg6OWDc.js.map} +1 -1
- package/dist/components/{p-B9l_iEm8.js → p-BDTpabg7.js} +3 -3
- package/dist/components/{p-B9l_iEm8.js.map → p-BDTpabg7.js.map} +1 -1
- package/dist/components/{p-ulFcx8BE.js → p-BK6Q89R0.js} +6 -6
- package/dist/components/{p-ulFcx8BE.js.map → p-BK6Q89R0.js.map} +1 -1
- package/dist/components/{p-CLC2TbXk.js → p-BTNpLREK.js} +8 -8
- package/dist/components/{p-CLC2TbXk.js.map → p-BTNpLREK.js.map} +1 -1
- package/dist/components/{p-B6XvNGiA.js → p-BYIlBCuU.js} +7 -7
- package/dist/components/{p-B6XvNGiA.js.map → p-BYIlBCuU.js.map} +1 -1
- package/dist/components/{p-dZ-dwebM.js → p-BaU8F8yT.js} +12 -12
- package/dist/components/{p-dZ-dwebM.js.map → p-BaU8F8yT.js.map} +1 -1
- package/dist/components/{p-Cq0yCqAz.js → p-BbXrDPd7.js} +4 -4
- package/dist/components/{p-Cq0yCqAz.js.map → p-BbXrDPd7.js.map} +1 -1
- package/dist/components/{p-Cg0FICEV.js → p-Bc9gWpUe.js} +13 -13
- package/dist/components/{p-Cg0FICEV.js.map → p-Bc9gWpUe.js.map} +1 -1
- package/dist/components/{p-zoQGoMI3.js → p-BdtE_fpY.js} +3 -3
- package/dist/components/{p-zoQGoMI3.js.map → p-BdtE_fpY.js.map} +1 -1
- package/dist/components/{p-D6v9nUys.js → p-BeN1KWYK.js} +6 -6
- package/dist/components/{p-D6v9nUys.js.map → p-BeN1KWYK.js.map} +1 -1
- package/dist/components/{p-C4RWomy3.js → p-Bg2ganSs.js} +3 -3
- package/dist/components/{p-C4RWomy3.js.map → p-Bg2ganSs.js.map} +1 -1
- package/dist/components/{p-UU-uJ6rm.js → p-BiFb4c_S.js} +6 -6
- package/dist/components/{p-UU-uJ6rm.js.map → p-BiFb4c_S.js.map} +1 -1
- package/dist/components/{p-DWVF3j-K.js → p-BiZ4OWbq.js} +3 -3
- package/dist/components/{p-DWVF3j-K.js.map → p-BiZ4OWbq.js.map} +1 -1
- package/dist/components/{p-nQojTf6Q.js → p-BmG3hFM8.js} +3 -3
- package/dist/components/{p-nQojTf6Q.js.map → p-BmG3hFM8.js.map} +1 -1
- package/dist/components/{p-BphPIp_9.js → p-BsRNqz_b.js} +6 -6
- package/dist/components/{p-BphPIp_9.js.map → p-BsRNqz_b.js.map} +1 -1
- package/dist/components/{p-DOs1ZWHT.js → p-Bsor2Gp2.js} +8 -8
- package/dist/components/{p-DOs1ZWHT.js.map → p-Bsor2Gp2.js.map} +1 -1
- package/dist/components/{p-B5bRe2QR.js → p-C0lp0Fm8.js} +3 -3
- package/dist/components/{p-B5bRe2QR.js.map → p-C0lp0Fm8.js.map} +1 -1
- package/dist/components/{p-C9g8C0mi.js → p-C3-tTDZG.js} +4 -4
- package/dist/components/{p-C9g8C0mi.js.map → p-C3-tTDZG.js.map} +1 -1
- package/dist/components/{p-CtfINZeC.js → p-C3YgJPrk.js} +3 -3
- package/dist/components/{p-CtfINZeC.js.map → p-C3YgJPrk.js.map} +1 -1
- package/dist/components/{p-Di88jQY_.js → p-CKLwcqdK.js} +10 -10
- package/dist/components/{p-Di88jQY_.js.map → p-CKLwcqdK.js.map} +1 -1
- package/dist/components/{p-C4ew4BWF.js → p-CPdCE2fo.js} +7 -7
- package/dist/components/{p-C4ew4BWF.js.map → p-CPdCE2fo.js.map} +1 -1
- package/dist/components/{p-C7Wum7Zf.js → p-CRo_30JG.js} +3 -3
- package/dist/components/{p-C7Wum7Zf.js.map → p-CRo_30JG.js.map} +1 -1
- package/dist/components/{p-C8p_ftK9.js → p-CSqS_CuA.js} +3 -3
- package/dist/components/{p-C8p_ftK9.js.map → p-CSqS_CuA.js.map} +1 -1
- package/dist/components/{p-BHnUxFJO.js → p-CUN47AJ6.js} +4 -4
- package/dist/components/{p-BHnUxFJO.js.map → p-CUN47AJ6.js.map} +1 -1
- package/dist/components/{p-DjTm4fFR.js → p-CUfKtr7R.js} +3 -3
- package/dist/components/{p-DjTm4fFR.js.map → p-CUfKtr7R.js.map} +1 -1
- package/dist/components/{p-DmE9OpGH.js → p-CVHui8fR.js} +4 -4
- package/dist/components/{p-DmE9OpGH.js.map → p-CVHui8fR.js.map} +1 -1
- package/dist/components/{p-Bouerm1u.js → p-CWliRPVy.js} +6 -6
- package/dist/components/{p-Bouerm1u.js.map → p-CWliRPVy.js.map} +1 -1
- package/dist/components/{p-SGLayYK3.js → p-CX72zNNm.js} +3 -3
- package/dist/components/{p-SGLayYK3.js.map → p-CX72zNNm.js.map} +1 -1
- package/dist/components/{p-o34Djtsg.js → p-CXhl6EKC.js} +6 -6
- package/dist/components/{p-o34Djtsg.js.map → p-CXhl6EKC.js.map} +1 -1
- package/dist/components/{p-DONIQb7T.js → p-ChcKhy4e.js} +4 -4
- package/dist/components/{p-DONIQb7T.js.map → p-ChcKhy4e.js.map} +1 -1
- package/dist/components/{p-SyDKOxzb.js → p-CriJMdWt.js} +3 -3
- package/dist/components/{p-SyDKOxzb.js.map → p-CriJMdWt.js.map} +1 -1
- package/dist/components/{p-CK7gMyRU.js → p-CuR6yL1b.js} +3 -3
- package/dist/components/{p-CK7gMyRU.js.map → p-CuR6yL1b.js.map} +1 -1
- package/dist/components/{p-DMh6Sy1I.js → p-Cy--N6et.js} +9 -9
- package/dist/components/{p-DMh6Sy1I.js.map → p-Cy--N6et.js.map} +1 -1
- package/dist/components/{p-CPrTAi5M.js → p-D2yGNkLU.js} +4 -4
- package/dist/components/{p-CPrTAi5M.js.map → p-D2yGNkLU.js.map} +1 -1
- package/dist/components/{p-DbtxIjHJ.js → p-D4c33pwr.js} +13 -13
- package/dist/components/{p-DbtxIjHJ.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-B2I6UGb-.js → p-DDAHV4ye.js} +4 -4
- package/dist/components/{p-B2I6UGb-.js.map → p-DDAHV4ye.js.map} +1 -1
- package/dist/components/{p-BSx9yT8P.js → p-DEfzwFSm.js} +3 -3
- package/dist/components/{p-BSx9yT8P.js.map → p-DEfzwFSm.js.map} +1 -1
- package/dist/components/{p-B-Td5eEF.js → p-DFEhv2Xw.js} +3 -3
- package/dist/components/{p-B-Td5eEF.js.map → p-DFEhv2Xw.js.map} +1 -1
- package/dist/components/{p-CzWLgw4z.js → p-DL-zsyu2.js} +11 -11
- package/dist/components/{p-CzWLgw4z.js.map → p-DL-zsyu2.js.map} +1 -1
- package/dist/components/{p-DGZVtVjz.js → p-DLBRj3YX.js} +4 -4
- package/dist/components/{p-DGZVtVjz.js.map → p-DLBRj3YX.js.map} +1 -1
- package/dist/components/{p-BWt1OlCP.js → p-DOnc5uKa.js} +6 -6
- package/dist/components/{p-BWt1OlCP.js.map → p-DOnc5uKa.js.map} +1 -1
- package/dist/components/{p-XSAPGv74.js → p-DPyihiYB.js} +4 -4
- package/dist/components/{p-XSAPGv74.js.map → p-DPyihiYB.js.map} +1 -1
- package/dist/components/{p-DvQXjdsB.js → p-DT0ux3Yn.js} +5 -5
- package/dist/components/{p-DvQXjdsB.js.map → p-DT0ux3Yn.js.map} +1 -1
- package/dist/components/{p-DsHYayb4.js → p-DT8WI_DQ.js} +6 -6
- package/dist/components/{p-DsHYayb4.js.map → p-DT8WI_DQ.js.map} +1 -1
- package/dist/components/{p-DcQjVFab.js → p-DTs8UJec.js} +4 -4
- package/dist/components/{p-DcQjVFab.js.map → p-DTs8UJec.js.map} +1 -1
- package/dist/components/{p-DX6blqyR.js → p-DXesblGY.js} +7 -7
- package/dist/components/{p-DX6blqyR.js.map → p-DXesblGY.js.map} +1 -1
- package/dist/components/{p-BKzN4XU2.js → p-DaIlRoxA.js} +4 -4
- package/dist/components/{p-BKzN4XU2.js.map → p-DaIlRoxA.js.map} +1 -1
- package/dist/components/{p-RMVTGhIS.js → p-Deiikj-l.js} +8 -8
- package/dist/components/{p-RMVTGhIS.js.map → p-Deiikj-l.js.map} +1 -1
- package/dist/components/{p-CnJ7i4Ge.js → p-DmRzqkUn.js} +4 -4
- package/dist/components/{p-CnJ7i4Ge.js.map → p-DmRzqkUn.js.map} +1 -1
- package/dist/components/{p-Dn5GUbNz.js → p-Dp2_qh2g.js} +44 -12
- package/dist/components/p-Dp2_qh2g.js.map +1 -0
- package/dist/components/{p-BA-k3iZ-.js → p-DrLVNdlm.js} +6 -6
- package/dist/components/{p-BA-k3iZ-.js.map → p-DrLVNdlm.js.map} +1 -1
- package/dist/components/{p-CjdErtj_.js → p-EWvxAi6Y.js} +44 -12
- package/dist/components/p-EWvxAi6Y.js.map +1 -0
- package/dist/components/{p-BopctUFy.js → p-JcCSKOtR.js} +7 -7
- package/dist/components/{p-BopctUFy.js.map → p-JcCSKOtR.js.map} +1 -1
- package/dist/components/{p-KSZ8qiZE.js → p-KKaagY0f.js} +10 -10
- package/dist/components/{p-KSZ8qiZE.js.map → p-KKaagY0f.js.map} +1 -1
- package/dist/components/{p-DehXKx39.js → p-R8ubFYun.js} +10 -10
- package/dist/components/{p-DehXKx39.js.map → p-R8ubFYun.js.map} +1 -1
- package/dist/components/{p-CVwbuuw7.js → p-RJIRkyt1.js} +9 -9
- package/dist/components/{p-CVwbuuw7.js.map → p-RJIRkyt1.js.map} +1 -1
- package/dist/components/{p-Bq8KQiri.js → p-SW8QhG6M.js} +3 -3
- package/dist/components/{p-Bq8KQiri.js.map → p-SW8QhG6M.js.map} +1 -1
- package/dist/components/{p-pWmESorT.js → p-dgzFBTky.js} +3 -3
- package/dist/components/{p-pWmESorT.js.map → p-dgzFBTky.js.map} +1 -1
- package/dist/components/{p-CdY_9ADR.js → p-i5bFTONl.js} +3 -3
- package/dist/components/{p-CdY_9ADR.js.map → p-i5bFTONl.js.map} +1 -1
- package/dist/components/{p-VpVgAuYa.js → p-rjZPG2L3.js} +3 -3
- package/dist/components/{p-VpVgAuYa.js.map → p-rjZPG2L3.js.map} +1 -1
- package/dist/components/{p-BS1D_VQu.js → p-wa6O8ip3.js} +4 -4
- package/dist/components/{p-BS1D_VQu.js.map → p-wa6O8ip3.js.map} +1 -1
- package/dist/components/{p-B0HsC5lT.js → p-xKyBBmWw.js} +3 -3
- package/dist/components/{p-B0HsC5lT.js.map → p-xKyBBmWw.js.map} +1 -1
- package/dist/components/{p-Cb-REzD8.js → p-xa5yO3I6.js} +8 -8
- package/dist/components/{p-Cb-REzD8.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-BDy81lpO.js → index-BMrO_esM.js} +3 -3
- package/dist/esm/{index-BDy81lpO.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-D2d54L27.js → stzh-input-description-F6xJmR4b.js} +3 -3
- package/dist/esm/{stzh-input-description-D2d54L27.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 +4 -4
- package/dist/esm/stzh-message.entry.js.map +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-D4oTGvdl.js → p--ooR_PU_.js} +2 -2
- package/dist/stzh-components/{p-D4oTGvdl.js.map → p--ooR_PU_.js.map} +1 -1
- package/dist/stzh-components/{p-f3276383.entry.js → p-00353dba.entry.js} +2 -2
- package/dist/stzh-components/{p-59da8df1.entry.js → p-01b57dff.entry.js} +2 -2
- package/dist/stzh-components/{p-65e3833f.entry.js → p-08c26fa4.entry.js} +2 -2
- package/dist/stzh-components/{p-561fd23e.entry.js → p-0bcce878.entry.js} +2 -2
- package/dist/stzh-components/{p-5f862749.entry.js → p-0d71a712.entry.js} +2 -2
- package/dist/stzh-components/{p-8e4ecd25.entry.js → p-102abd6c.entry.js} +2 -2
- package/dist/stzh-components/p-11375541.entry.js +2 -0
- package/dist/stzh-components/{p-deb5310a.entry.js.map → p-11375541.entry.js.map} +1 -1
- package/dist/stzh-components/{p-f1e336dc.entry.js → p-117d79b0.entry.js} +2 -2
- package/dist/stzh-components/{p-f1a64a00.entry.js → p-11984d87.entry.js} +2 -2
- package/dist/stzh-components/{p-7da86126.entry.js → p-15818fb6.entry.js} +2 -2
- package/dist/stzh-components/{p-1b39c90b.entry.js → p-182be2cb.entry.js} +6 -6
- package/dist/stzh-components/{p-e2f97240.entry.js → p-19425494.entry.js} +2 -2
- package/dist/stzh-components/{p-f442969e.entry.js → p-1c0d8bd1.entry.js} +2 -2
- package/dist/stzh-components/{p-1f1aac25.entry.js → p-1c10554c.entry.js} +2 -2
- package/dist/stzh-components/{p-e51cd413.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-74494120.entry.js → p-21d6ad19.entry.js} +2 -2
- package/dist/stzh-components/{p-931abfe7.entry.js → p-223813c2.entry.js} +2 -2
- package/dist/stzh-components/{p-54d92856.entry.js → p-2a02f828.entry.js} +2 -2
- package/dist/stzh-components/{p-0cac70a3.entry.js → p-2a127cc2.entry.js} +2 -2
- package/dist/stzh-components/{p-5b7298a4.entry.js → p-2a398b2e.entry.js} +2 -2
- package/dist/stzh-components/{p-75ffb877.entry.js → p-2b767b1b.entry.js} +2 -2
- package/dist/stzh-components/{p-dbe53670.entry.js → p-2c7792b4.entry.js} +2 -2
- package/dist/stzh-components/{p-1c3942a6.entry.js → p-2ddaf03b.entry.js} +2 -2
- package/dist/stzh-components/{p-fc96a153.entry.js → p-301c1aa1.entry.js} +2 -2
- package/dist/stzh-components/{p-f18c1bc6.entry.js → p-3066d7ac.entry.js} +2 -2
- package/dist/stzh-components/{p-ae8fe7f0.entry.js → p-32c6e24a.entry.js} +2 -2
- package/dist/stzh-components/{p-645c7fba.entry.js → p-34e31715.entry.js} +3 -3
- package/dist/stzh-components/{p-75dad6c7.entry.js → p-357943a8.entry.js} +2 -2
- package/dist/stzh-components/{p-9337582a.entry.js → p-39d6dad5.entry.js} +2 -2
- package/dist/stzh-components/{p-fd0e8627.entry.js → p-3b764057.entry.js} +2 -2
- package/dist/stzh-components/{p-0e3d6349.entry.js → p-3efa45ca.entry.js} +2 -2
- package/dist/stzh-components/{p-c471680d.entry.js → p-3f5f0aaf.entry.js} +2 -2
- package/dist/stzh-components/{p-2683a93d.entry.js → p-44b7bd82.entry.js} +2 -2
- package/dist/stzh-components/{p-8d558e1d.entry.js → p-490d880f.entry.js} +2 -2
- package/dist/stzh-components/{p-1db6f565.entry.js → p-49717f35.entry.js} +2 -2
- package/dist/stzh-components/{p-7f825eff.entry.js → p-4cc1d883.entry.js} +2 -2
- package/dist/stzh-components/{p-e92a11b6.entry.js → p-4e26f1e1.entry.js} +2 -2
- package/dist/stzh-components/{p-2e1efcc9.entry.js → p-51069c51.entry.js} +2 -2
- package/dist/stzh-components/{p-deb499e2.entry.js → p-51f6f724.entry.js} +2 -2
- package/dist/stzh-components/{p-0e45d2de.entry.js → p-56216434.entry.js} +2 -2
- package/dist/stzh-components/{p-46c5b453.entry.js → p-5eff4877.entry.js} +2 -2
- package/dist/stzh-components/{p-85ac6d83.entry.js → p-61bf5c59.entry.js} +2 -2
- package/dist/stzh-components/{p-bfa62b65.entry.js → p-66aa2138.entry.js} +2 -2
- package/dist/stzh-components/{p-759099e2.entry.js → p-66b8f10b.entry.js} +2 -2
- package/dist/stzh-components/{p-8f956678.entry.js → p-683a19bb.entry.js} +2 -2
- package/dist/stzh-components/{p-e281a715.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-3c861eb0.entry.js → p-6add6579.entry.js} +2 -2
- package/dist/stzh-components/{p-7a1296d4.entry.js → p-6af8d5cb.entry.js} +2 -2
- package/dist/stzh-components/{p-69f5276e.entry.js → p-6b450966.entry.js} +2 -2
- package/dist/stzh-components/{p-b663c8f6.entry.js → p-6c6e664c.entry.js} +2 -2
- package/dist/stzh-components/{p-d3209381.entry.js → p-6e23fc8e.entry.js} +2 -2
- package/dist/stzh-components/{p-9957d575.entry.js → p-6ec9e3dc.entry.js} +2 -2
- package/dist/stzh-components/{p-70b10351.entry.js → p-7368a3bd.entry.js} +2 -2
- package/dist/stzh-components/{p-aef3c5ac.entry.js → p-77ab7971.entry.js} +2 -2
- package/dist/stzh-components/{p-e27591a6.entry.js → p-7898ab3c.entry.js} +2 -2
- package/dist/stzh-components/{p-aed15ee1.entry.js → p-7a8d05c2.entry.js} +2 -2
- package/dist/stzh-components/{p-f301a05c.entry.js → p-7b070e13.entry.js} +2 -2
- package/dist/stzh-components/{p-07639e2e.entry.js → p-7dc226b0.entry.js} +2 -2
- package/dist/stzh-components/{p-c0b4f81f.entry.js → p-7fef5a6d.entry.js} +2 -2
- package/dist/stzh-components/{p-b2fcc490.entry.js → p-80c514e1.entry.js} +2 -2
- package/dist/stzh-components/{p-82d1f2f4.entry.js → p-833bd793.entry.js} +2 -2
- package/dist/stzh-components/{p-6c3de48d.entry.js → p-8550b2d8.entry.js} +2 -2
- package/dist/stzh-components/{p-cd9b9eac.entry.js → p-85b5bdbd.entry.js} +2 -2
- package/dist/stzh-components/{p-65a6428c.entry.js → p-873bec1c.entry.js} +2 -2
- package/dist/stzh-components/{p-44df0e58.entry.js → p-89c070b8.entry.js} +2 -2
- package/dist/stzh-components/{p-8bc9e95b.entry.js → p-90c4a686.entry.js} +2 -2
- package/dist/stzh-components/{p-e93dbde4.entry.js → p-90db31fb.entry.js} +2 -2
- package/dist/stzh-components/{p-33c80dea.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-52d757b2.entry.js → p-97be25ae.entry.js} +2 -2
- package/dist/stzh-components/{p-94eed7e7.entry.js → p-9a732268.entry.js} +2 -2
- package/dist/stzh-components/{p-39217901.entry.js → p-9b164561.entry.js} +2 -2
- package/dist/stzh-components/{p-8735dc17.entry.js → p-9bd07097.entry.js} +2 -2
- package/dist/stzh-components/{p-92d54e6a.entry.js → p-9d3dcadd.entry.js} +2 -2
- package/dist/stzh-components/{p-f4243fa8.entry.js → p-9db9d368.entry.js} +2 -2
- package/dist/stzh-components/p-BMrO_esM.js +3 -0
- package/dist/stzh-components/{p-BDy81lpO.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-dd01dcf6.entry.js → p-a2313acc.entry.js} +2 -2
- package/dist/stzh-components/{p-d3969952.entry.js → p-a466bef7.entry.js} +3 -3
- package/dist/stzh-components/{p-0fe0982a.entry.js → p-a6073abd.entry.js} +2 -2
- package/dist/stzh-components/{p-c5986c0b.entry.js → p-a924e049.entry.js} +2 -2
- package/dist/stzh-components/{p-58d6b294.entry.js → p-ab14b19a.entry.js} +2 -2
- package/dist/stzh-components/{p-25df4336.entry.js → p-ad11c427.entry.js} +2 -2
- package/dist/stzh-components/{p-85cb6ac3.entry.js → p-ad5b037d.entry.js} +2 -2
- package/dist/stzh-components/{p-09219622.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-233a253c.entry.js → p-b322c0cd.entry.js} +2 -2
- package/dist/stzh-components/{p-e6626ed6.entry.js → p-b401f555.entry.js} +2 -2
- package/dist/stzh-components/{p-c9972340.entry.js → p-b6518908.entry.js} +6 -6
- package/dist/stzh-components/{p-97a89608.entry.js → p-b67a197e.entry.js} +2 -2
- package/dist/stzh-components/{p-5198a930.entry.js → p-b91a1fb5.entry.js} +2 -2
- package/dist/stzh-components/{p-8e34c9c9.entry.js → p-b936ffdb.entry.js} +2 -2
- package/dist/stzh-components/{p-64c9a8f7.entry.js → p-b93a07a9.entry.js} +2 -2
- package/dist/stzh-components/{p-bc622b2a.entry.js → p-b9c11320.entry.js} +2 -2
- package/dist/stzh-components/{p-539bb440.entry.js → p-b9d617d4.entry.js} +2 -2
- package/dist/stzh-components/{p-158b16e0.entry.js → p-bc49448d.entry.js} +2 -2
- package/dist/stzh-components/{p-45452a45.entry.js → p-c1ccb40f.entry.js} +2 -2
- package/dist/stzh-components/{p-d1a50145.entry.js → p-c359686c.entry.js} +2 -2
- package/dist/stzh-components/{p-d9ceb9a1.entry.js → p-c6ae1a73.entry.js} +2 -2
- package/dist/stzh-components/{p-3816c34e.entry.js → p-c8332abd.entry.js} +2 -2
- package/dist/stzh-components/{p-0df1be19.entry.js → p-ca39f17b.entry.js} +2 -2
- package/dist/stzh-components/{p-0a1eb5fd.entry.js → p-cba7e887.entry.js} +2 -2
- package/dist/stzh-components/{p-cc579b5c.entry.js → p-d0c780be.entry.js} +2 -2
- package/dist/stzh-components/{p-6aa53daf.entry.js → p-d10a459c.entry.js} +2 -2
- package/dist/stzh-components/{p-9c4e1649.entry.js → p-d10e2ff4.entry.js} +2 -2
- package/dist/stzh-components/{p-0dc95d03.entry.js → p-d319b8db.entry.js} +2 -2
- package/dist/stzh-components/{p-5ebd56ff.entry.js → p-d3ae51da.entry.js} +2 -2
- package/dist/stzh-components/{p-8a9f9b42.entry.js → p-d57711e5.entry.js} +2 -2
- package/dist/stzh-components/{p-7bb32473.entry.js → p-d591892c.entry.js} +2 -2
- package/dist/stzh-components/{p-968ef9db.entry.js → p-d8cacb50.entry.js} +2 -2
- package/dist/stzh-components/{p-32258f20.entry.js → p-d971957a.entry.js} +2 -2
- package/dist/stzh-components/{p-6e6064a5.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-752e3cd8.entry.js → p-e6d33dfe.entry.js} +2 -2
- package/dist/stzh-components/{p-bb16873e.entry.js → p-e7c05a67.entry.js} +2 -2
- package/dist/stzh-components/{p-0747c17b.entry.js → p-e85f497a.entry.js} +2 -2
- package/dist/stzh-components/{p-38a9cabf.entry.js → p-e88b56a4.entry.js} +2 -2
- package/dist/stzh-components/{p-e84a2d9e.entry.js → p-ea2a37fa.entry.js} +2 -2
- package/dist/stzh-components/{p-67b2d82d.entry.js → p-ec4dc01c.entry.js} +2 -2
- package/dist/stzh-components/{p-32cd07f2.entry.js → p-ec958f98.entry.js} +2 -2
- package/dist/stzh-components/{p-120fc2f7.entry.js → p-ed66b150.entry.js} +2 -2
- package/dist/stzh-components/{p-78f63571.entry.js → p-eec61b75.entry.js} +2 -2
- package/dist/stzh-components/{p-68692aca.entry.js → p-f1fcc0d8.entry.js} +2 -2
- package/dist/stzh-components/{p-67e2ea65.entry.js → p-f31d01ea.entry.js} +2 -2
- package/dist/stzh-components/{p-79823ee9.entry.js → p-f76c80da.entry.js} +2 -2
- package/dist/stzh-components/{p-375f8787.entry.js → p-fce7bd0a.entry.js} +2 -2
- package/dist/stzh-components/{p-cd10adbb.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-4dfa25ec.entry.js → p-fdca724c.entry.js} +2 -2
- package/dist/stzh-components/{p-01cb747a.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-message/stzh-message.d.ts +2 -2
- 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 +4 -4
- package/dist/types/utils/utils.d.ts +13 -0
- package/dist/vscode-data.json +1 -1
- package/package.json +1 -1
- package/dist/cjs/utils-BtvTjHH2.js.map +0 -1
- package/dist/components/p-8vUD5Pvs.js.map +0 -1
- package/dist/components/p-CN5apKPb.js.map +0 -1
- package/dist/components/p-CjdErtj_.js.map +0 -1
- package/dist/components/p-Dn5GUbNz.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-0f6a6d68.entry.js +0 -2
- package/dist/stzh-components/p-0f6a6d68.entry.js.map +0 -1
- package/dist/stzh-components/p-17c76b7f.entry.js +0 -2
- package/dist/stzh-components/p-17c76b7f.entry.js.map +0 -1
- package/dist/stzh-components/p-42f4c28d.entry.js +0 -2
- package/dist/stzh-components/p-42f4c28d.entry.js.map +0 -1
- package/dist/stzh-components/p-856faa3f.entry.js +0 -2
- package/dist/stzh-components/p-856faa3f.entry.js.map +0 -1
- package/dist/stzh-components/p-963b4a81.entry.js +0 -2
- package/dist/stzh-components/p-963b4a81.entry.js.map +0 -1
- package/dist/stzh-components/p-BDy81lpO.js +0 -3
- package/dist/stzh-components/p-d215409f.entry.js +0 -2
- package/dist/stzh-components/p-d215409f.entry.js.map +0 -1
- package/dist/stzh-components/p-deb5310a.entry.js +0 -2
- /package/dist/stzh-components/{p-f3276383.entry.js.map → p-00353dba.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-59da8df1.entry.js.map → p-01b57dff.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-65e3833f.entry.js.map → p-08c26fa4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-561fd23e.entry.js.map → p-0bcce878.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5f862749.entry.js.map → p-0d71a712.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8e4ecd25.entry.js.map → p-102abd6c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f1e336dc.entry.js.map → p-117d79b0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f1a64a00.entry.js.map → p-11984d87.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7da86126.entry.js.map → p-15818fb6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1b39c90b.entry.js.map → p-182be2cb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e2f97240.entry.js.map → p-19425494.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f442969e.entry.js.map → p-1c0d8bd1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1f1aac25.entry.js.map → p-1c10554c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e51cd413.entry.js.map → p-1da17a3f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-74494120.entry.js.map → p-21d6ad19.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-931abfe7.entry.js.map → p-223813c2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-54d92856.entry.js.map → p-2a02f828.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0cac70a3.entry.js.map → p-2a127cc2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5b7298a4.entry.js.map → p-2a398b2e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-75ffb877.entry.js.map → p-2b767b1b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dbe53670.entry.js.map → p-2c7792b4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1c3942a6.entry.js.map → p-2ddaf03b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fc96a153.entry.js.map → p-301c1aa1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f18c1bc6.entry.js.map → p-3066d7ac.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ae8fe7f0.entry.js.map → p-32c6e24a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-645c7fba.entry.js.map → p-34e31715.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-75dad6c7.entry.js.map → p-357943a8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9337582a.entry.js.map → p-39d6dad5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fd0e8627.entry.js.map → p-3b764057.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0e3d6349.entry.js.map → p-3efa45ca.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c471680d.entry.js.map → p-3f5f0aaf.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2683a93d.entry.js.map → p-44b7bd82.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8d558e1d.entry.js.map → p-490d880f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1db6f565.entry.js.map → p-49717f35.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7f825eff.entry.js.map → p-4cc1d883.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e92a11b6.entry.js.map → p-4e26f1e1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2e1efcc9.entry.js.map → p-51069c51.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-deb499e2.entry.js.map → p-51f6f724.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0e45d2de.entry.js.map → p-56216434.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-46c5b453.entry.js.map → p-5eff4877.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-85ac6d83.entry.js.map → p-61bf5c59.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bfa62b65.entry.js.map → p-66aa2138.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-759099e2.entry.js.map → p-66b8f10b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8f956678.entry.js.map → p-683a19bb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e281a715.entry.js.map → p-684d4d18.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3c861eb0.entry.js.map → p-6add6579.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7a1296d4.entry.js.map → p-6af8d5cb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-69f5276e.entry.js.map → p-6b450966.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b663c8f6.entry.js.map → p-6c6e664c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d3209381.entry.js.map → p-6e23fc8e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9957d575.entry.js.map → p-6ec9e3dc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-70b10351.entry.js.map → p-7368a3bd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-aef3c5ac.entry.js.map → p-77ab7971.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e27591a6.entry.js.map → p-7898ab3c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-aed15ee1.entry.js.map → p-7a8d05c2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f301a05c.entry.js.map → p-7b070e13.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-07639e2e.entry.js.map → p-7dc226b0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c0b4f81f.entry.js.map → p-7fef5a6d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b2fcc490.entry.js.map → p-80c514e1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-82d1f2f4.entry.js.map → p-833bd793.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6c3de48d.entry.js.map → p-8550b2d8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cd9b9eac.entry.js.map → p-85b5bdbd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-65a6428c.entry.js.map → p-873bec1c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-44df0e58.entry.js.map → p-89c070b8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8bc9e95b.entry.js.map → p-90c4a686.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e93dbde4.entry.js.map → p-90db31fb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-33c80dea.entry.js.map → p-91083053.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-52d757b2.entry.js.map → p-97be25ae.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-94eed7e7.entry.js.map → p-9a732268.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-39217901.entry.js.map → p-9b164561.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8735dc17.entry.js.map → p-9bd07097.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-92d54e6a.entry.js.map → p-9d3dcadd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f4243fa8.entry.js.map → p-9db9d368.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dd01dcf6.entry.js.map → p-a2313acc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d3969952.entry.js.map → p-a466bef7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0fe0982a.entry.js.map → p-a6073abd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c5986c0b.entry.js.map → p-a924e049.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-58d6b294.entry.js.map → p-ab14b19a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-25df4336.entry.js.map → p-ad11c427.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-85cb6ac3.entry.js.map → p-ad5b037d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-09219622.entry.js.map → p-afbf7bd5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-233a253c.entry.js.map → p-b322c0cd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e6626ed6.entry.js.map → p-b401f555.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c9972340.entry.js.map → p-b6518908.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-97a89608.entry.js.map → p-b67a197e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5198a930.entry.js.map → p-b91a1fb5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8e34c9c9.entry.js.map → p-b936ffdb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-64c9a8f7.entry.js.map → p-b93a07a9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bc622b2a.entry.js.map → p-b9c11320.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-539bb440.entry.js.map → p-b9d617d4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-158b16e0.entry.js.map → p-bc49448d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-45452a45.entry.js.map → p-c1ccb40f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d1a50145.entry.js.map → p-c359686c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d9ceb9a1.entry.js.map → p-c6ae1a73.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3816c34e.entry.js.map → p-c8332abd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0df1be19.entry.js.map → p-ca39f17b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0a1eb5fd.entry.js.map → p-cba7e887.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cc579b5c.entry.js.map → p-d0c780be.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6aa53daf.entry.js.map → p-d10a459c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9c4e1649.entry.js.map → p-d10e2ff4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0dc95d03.entry.js.map → p-d319b8db.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5ebd56ff.entry.js.map → p-d3ae51da.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8a9f9b42.entry.js.map → p-d57711e5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7bb32473.entry.js.map → p-d591892c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-968ef9db.entry.js.map → p-d8cacb50.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-32258f20.entry.js.map → p-d971957a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6e6064a5.entry.js.map → p-defa4f14.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-752e3cd8.entry.js.map → p-e6d33dfe.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bb16873e.entry.js.map → p-e7c05a67.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0747c17b.entry.js.map → p-e85f497a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-38a9cabf.entry.js.map → p-e88b56a4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e84a2d9e.entry.js.map → p-ea2a37fa.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-67b2d82d.entry.js.map → p-ec4dc01c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-32cd07f2.entry.js.map → p-ec958f98.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-120fc2f7.entry.js.map → p-ed66b150.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-78f63571.entry.js.map → p-eec61b75.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-68692aca.entry.js.map → p-f1fcc0d8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-67e2ea65.entry.js.map → p-f31d01ea.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-79823ee9.entry.js.map → p-f76c80da.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-375f8787.entry.js.map → p-fce7bd0a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cd10adbb.entry.js.map → p-fd92dbe7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4dfa25ec.entry.js.map → p-fdca724c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-01cb747a.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,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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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Host, Component, Prop, Event, EventEmitter, 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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,MAAM,EAClB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,mBAAmB,EAAE,KAAK,GAC1B,CACH,CACG,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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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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
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
/**
|
|
3
|
-
* @slot - Slot for description content (
|
|
3
|
+
* @slot - Slot for trusted rich description content (only used when the description property is empty)
|
|
4
4
|
* @slot label - Slot for label (use as alternative for property)
|
|
5
5
|
* @slot link - Slot for optional stzh-link element
|
|
6
6
|
*/
|
|
@@ -8,7 +8,7 @@ export class StzhMessage {
|
|
|
8
8
|
constructor() {
|
|
9
9
|
/** Label (slot can also be used as alternative) */
|
|
10
10
|
this.label = "";
|
|
11
|
-
/**
|
|
11
|
+
/** Plain text description. If set, this takes precedence over the default slot. */
|
|
12
12
|
this.description = "";
|
|
13
13
|
/** Type */
|
|
14
14
|
/** Do not use page-message property. It will be deprecated with the next major release. */
|
|
@@ -44,10 +44,10 @@ export class StzhMessage {
|
|
|
44
44
|
"stzh-message--has-close-hidden": this.hideClose,
|
|
45
45
|
[`stzh-message--type-${this.type}`]: !!this.type,
|
|
46
46
|
};
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: 'f9c8973ef46672059f0dbd9834fe675311720fa7', hidden: !this.open }, h("div", { key: '3f3c43051e4c182b9c690aa8498fecd83858ddc8', class: classes }, h("div", { key: '95c7536c4970b772f3a871afd3f1ef99e11d3a39', class: "stzh-message__content" }, h("div", { key: '767219fa034a217680e6c4108eb211467e6c77b7', class: "stzh-message__icon-wrapper" }, h("stzh-icon", { key: 'a8f6d151aaa264ae3d7a3ac66c81b5396f420c51', class: "stzh-message__icon", name: ((this.type === "info" || this.type === "page-message") && "info-help-filled") ||
|
|
48
48
|
(this.type === "success" && "checkmark-circle-filled") ||
|
|
49
49
|
(this.type === "warning" && "important-warning-filled") ||
|
|
50
|
-
(this.type === "error" && "warning-filled") })), h("div", { key: '
|
|
50
|
+
(this.type === "error" && "warning-filled") })), h("div", { key: '6939aaddc4549aa9221e8a7ddf887f3f176d14c1', class: "stzh-message__text-wrapper" }, h("div", { key: '6a48a095671aff712fd30284b58b0b11c7b705b9', class: "stzh-message__label" }, this.label ? h("strong", null, this.label) : h("slot", { name: "label" })), h("div", { key: 'a185d89f443a0ad4fc25d28629f28ad3be0d6975', class: "stzh-message__description" }, this.description ? (h("stzh-text", { color: "inherit" }, h("p", null, this.description))) : (h("slot", null))), h("div", { key: '208d811f4ca0f47e488d537b9844ea3eda72fbc7', class: "stzh-message__link" }, h("slot", { key: 'c7c951f18df76bcb3c99f0e63e206c46f35acad9', name: "link" })))), !this.hideClose && (h("stzh-button", { key: '7cec92efb1eb1c97990d0e8290be2166e67068d1', class: "stzh-message__close", onClick: this.onCloseButtonClick, a11yLabel: this.localization.close, variant: "tertiary", size: "small", iconOnly: true, icon: "close-big" })))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "stzh-message"; }
|
|
53
53
|
static get encapsulation() { return "scoped"; }
|
|
@@ -95,7 +95,7 @@ export class StzhMessage {
|
|
|
95
95
|
"optional": false,
|
|
96
96
|
"docs": {
|
|
97
97
|
"tags": [],
|
|
98
|
-
"text": "
|
|
98
|
+
"text": "Plain text description. If set, this takes precedence over the default slot."
|
|
99
99
|
},
|
|
100
100
|
"getter": false,
|
|
101
101
|
"setter": false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stzh-message.js","sourceRoot":"","sources":["../../../../src/components/stzh-message/stzh-message.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAMtG;;;;GAIG;AAMH,MAAM,OAAO,WAAW;IALxB;QAME,mDAAmD;QAC3C,UAAK,GAAW,EAAE,CAAC;QAE3B,
|
|
1
|
+
{"version":3,"file":"stzh-message.js","sourceRoot":"","sources":["../../../../src/components/stzh-message/stzh-message.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAMtG;;;;GAIG;AAMH,MAAM,OAAO,WAAW;IALxB;QAME,mDAAmD;QAC3C,UAAK,GAAW,EAAE,CAAC;QAE3B,mFAAmF;QAC3E,gBAAW,GAAW,EAAE,CAAC;QAEjC,WAAW;QACX,2FAA2F;QAClE,SAAI,GAA8D,MAAM,CAAC;QAElG,mCA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;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State } from \"@stencil/core\";\n\nimport { StzhMessageCloseEvent, StzhMessageOpenEvent } from \"../../index\";\n\nimport { StzhMessageLocalizedText } from \"./stzh-message.localization\";\n\n/**\n * @slot - Slot for trusted rich description content (only used when the description property is empty)\n * @slot label - Slot for label (use as alternative for property)\n * @slot link - Slot for optional stzh-link element\n */\n@Component({\n tag: \"stzh-message\",\n styleUrl: \"stzh-message.scss\",\n scoped: true,\n})\nexport class StzhMessage {\n /** Label (slot can also be used as alternative) */\n @Prop() label: string = \"\";\n\n /** Plain text description. If set, this takes precedence over the default slot. */\n @Prop() description: string = \"\";\n\n /** Type */\n /** Do not use page-message property. It will be deprecated with the next major release. */\n @Prop({ reflect: true }) type: \"info\" | \"success\" | \"warning\" | \"error\" | \"page-message\" = \"info\";\n\n /** Whether to hide close button */\n @Prop() hideClose: boolean = false;\n\n /** Translation strings. */\n @Prop() localization: StzhMessageLocalizedText;\n\n /** Message open event */\n @Event() stzhOpen: EventEmitter<StzhMessageOpenEvent>;\n\n /** Message close event */\n @Event() stzhClose: EventEmitter<StzhMessageCloseEvent>;\n\n @Element() element: HTMLStzhMessageElement;\n\n /** Open state */\n @State() open: boolean = true;\n\n @Method()\n async show() {\n this.open = true;\n this.stzhOpen.emit({\n component: \"stzh-message\",\n });\n }\n\n @Method()\n async hide() {\n this.open = false;\n this.stzhClose.emit({\n component: \"stzh-message\",\n });\n }\n\n private onCloseButtonClick = () => {\n this.hide();\n };\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"message\");\n }\n }\n\n render() {\n const classes = {\n \"stzh-message\": true,\n \"stzh-message--has-close-hidden\": this.hideClose,\n [`stzh-message--type-${this.type}`]: !!this.type,\n };\n\n return (\n <Host hidden={!this.open}>\n <div class={classes}>\n <div class=\"stzh-message__content\">\n <div class=\"stzh-message__icon-wrapper\">\n <stzh-icon\n class=\"stzh-message__icon\"\n name={\n ((this.type === \"info\" || this.type === \"page-message\") && \"info-help-filled\") ||\n (this.type === \"success\" && \"checkmark-circle-filled\") ||\n (this.type === \"warning\" && \"important-warning-filled\") ||\n (this.type === \"error\" && \"warning-filled\")\n }\n ></stzh-icon>\n </div>\n <div class=\"stzh-message__text-wrapper\">\n <div class=\"stzh-message__label\">\n {this.label ? <strong>{this.label}</strong> : <slot name=\"label\"></slot>}\n </div>\n <div class=\"stzh-message__description\">\n {this.description ? (\n <stzh-text color=\"inherit\">\n <p>{this.description}</p>\n </stzh-text>\n ) : (\n <slot></slot>\n )}\n </div>\n <div class=\"stzh-message__link\">\n <slot name=\"link\"></slot>\n </div>\n </div>\n </div>\n\n {!this.hideClose && (\n <stzh-button\n class=\"stzh-message__close\"\n onClick={this.onCloseButtonClick}\n a11yLabel={this.localization.close}\n variant=\"tertiary\"\n size=\"small\"\n iconOnly={true}\n icon=\"close-big\"\n ></stzh-button>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
|