scu-web-components 0.0.43 → 0.0.45
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/chunks/chunk.3T3AZSZZ.js +2 -0
- package/dist/chunks/chunk.3T3AZSZZ.js.gz +0 -0
- package/dist/chunks/{chunk.QZKLXTNT.js → chunk.6JACVQKT.js} +2 -2
- package/dist/chunks/chunk.6JACVQKT.js.gz +0 -0
- package/dist/chunks/chunk.BSXT6VJ5.js +2 -0
- package/dist/chunks/chunk.BSXT6VJ5.js.gz +0 -0
- package/dist/chunks/chunk.FNC5OKC3.js +2 -0
- package/dist/chunks/chunk.FNC5OKC3.js.gz +0 -0
- package/dist/chunks/{chunk.FFIHTL2R.js → chunk.J6QOERDS.js} +2 -2
- package/dist/chunks/chunk.J6QOERDS.js.gz +0 -0
- package/dist/chunks/chunk.LONEBJ2H.js +2 -0
- package/dist/chunks/chunk.LONEBJ2H.js.gz +0 -0
- package/dist/chunks/chunk.MKQHB2CE.js +2 -0
- package/dist/chunks/chunk.MKQHB2CE.js.gz +0 -0
- package/dist/chunks/chunk.MKQHB2CE.js.map +7 -0
- package/dist/chunks/chunk.MKQHB2CE.js.map.gz +0 -0
- package/dist/chunks/{chunk.CGB4QC57.js → chunk.MQP3LJ22.js} +2 -2
- package/dist/chunks/chunk.MQP3LJ22.js.gz +0 -0
- package/dist/chunks/{chunk.VNI42AF7.js → chunk.NU46QA6I.js} +2 -2
- package/dist/chunks/chunk.NU46QA6I.js.gz +0 -0
- package/dist/chunks/chunk.SQW7MXRN.js +2 -0
- package/dist/chunks/chunk.SQW7MXRN.js.gz +0 -0
- package/dist/chunks/{chunk.IMYNKCK7.js → chunk.TLLMTMXY.js} +2 -2
- package/dist/chunks/chunk.TLLMTMXY.js.gz +0 -0
- package/dist/chunks/{chunk.VN2YAMKQ.js → chunk.X5NS5YBQ.js} +2 -2
- package/dist/chunks/chunk.X5NS5YBQ.js.gz +0 -0
- package/dist/chunks/{chunk.AEXBD2CN.js → chunk.XO3UZUKH.js} +1 -1
- package/dist/chunks/chunk.XO3UZUKH.js.gz +0 -0
- package/dist/chunks/chunk.ZQIHYYIC.js +2 -0
- package/dist/chunks/chunk.ZQIHYYIC.js.gz +0 -0
- package/dist/chunks/graphic-apple-app-store.BINYIYOC.js +2 -0
- package/dist/chunks/graphic-apple-app-store.BINYIYOC.js.gz +0 -0
- package/dist/chunks/graphic-apple-app-store.BINYIYOC.js.map +7 -0
- package/dist/chunks/graphic-apple-app-store.BINYIYOC.js.map.gz +0 -0
- package/dist/chunks/graphic-ehl.HFHAC6QM.js +2 -0
- package/dist/chunks/graphic-ehl.HFHAC6QM.js.gz +0 -0
- package/dist/chunks/graphic-ehl.HFHAC6QM.js.map +7 -0
- package/dist/chunks/graphic-ehl.HFHAC6QM.js.map.gz +0 -0
- package/dist/chunks/graphic-google-play-store.7EJSH2VV.js +2 -0
- package/dist/chunks/graphic-google-play-store.7EJSH2VV.js.gz +0 -0
- package/dist/chunks/graphic-google-play-store.7EJSH2VV.js.map +7 -0
- package/dist/chunks/graphic-google-play-store.7EJSH2VV.js.map.gz +0 -0
- package/dist/chunks/graphic-logo.ZDB2NNEH.js +2 -0
- package/dist/chunks/graphic-logo.ZDB2NNEH.js.gz +0 -0
- package/dist/chunks/graphic-logo.ZDB2NNEH.js.map +7 -0
- package/dist/chunks/graphic-logo.ZDB2NNEH.js.map.gz +0 -0
- package/dist/chunks/graphic-ncua.AGM6NECM.js +2 -0
- package/dist/chunks/graphic-ncua.AGM6NECM.js.gz +0 -0
- package/dist/chunks/graphic-ncua.AGM6NECM.js.map +7 -0
- package/dist/chunks/graphic-ncua.AGM6NECM.js.map.gz +0 -0
- package/dist/chunks/icon-checkbox-selected-disabled.YPIYXSB5.js +2 -0
- package/dist/chunks/icon-checkbox-selected-disabled.YPIYXSB5.js.gz +0 -0
- package/dist/chunks/{icon-checkbox-selected-disabled.DLMEJCDA.js.map → icon-checkbox-selected-disabled.YPIYXSB5.js.map} +1 -1
- package/dist/chunks/icon-checkbox-selected-disabled.YPIYXSB5.js.map.gz +0 -0
- package/dist/chunks/icon-checkbox-selected-hover.Z2A35DYF.js +2 -0
- package/dist/chunks/icon-checkbox-selected-hover.Z2A35DYF.js.gz +0 -0
- package/dist/chunks/{icon-checkbox-selected-hover.PGUVZ62C.js.map → icon-checkbox-selected-hover.Z2A35DYF.js.map} +1 -1
- package/dist/chunks/icon-checkbox-selected-hover.Z2A35DYF.js.map.gz +0 -0
- package/dist/chunks/icon-checkbox-selected.FED2RUMY.js +2 -0
- package/dist/chunks/icon-checkbox-selected.FED2RUMY.js.gz +0 -0
- package/dist/chunks/{icon-checkbox-selected.SVAKK3LA.js.map → icon-checkbox-selected.FED2RUMY.js.map} +1 -1
- package/dist/chunks/icon-checkbox-selected.FED2RUMY.js.map.gz +0 -0
- package/dist/chunks/{icon-chevron-left.7EWLMQJO.js → icon-chevron-left.U4KXPC3Z.js} +2 -2
- package/dist/chunks/icon-chevron-left.U4KXPC3Z.js.gz +0 -0
- package/dist/chunks/{icon-chevron-left.7EWLMQJO.js.map → icon-chevron-left.U4KXPC3Z.js.map} +1 -1
- package/dist/chunks/{icon-chevron-left.7EWLMQJO.js.map.gz → icon-chevron-left.U4KXPC3Z.js.map.gz} +0 -0
- package/dist/chunks/icon-document.ZFL6AULX.js +2 -0
- package/dist/chunks/icon-document.ZFL6AULX.js.gz +0 -0
- package/dist/chunks/icon-document.ZFL6AULX.js.map +7 -0
- package/dist/chunks/icon-document.ZFL6AULX.js.map.gz +0 -0
- package/dist/chunks/icon-pdf.NPPTHMNU.js +2 -0
- package/dist/chunks/icon-pdf.NPPTHMNU.js.gz +0 -0
- package/dist/chunks/icon-pdf.NPPTHMNU.js.map +7 -0
- package/dist/chunks/icon-pdf.NPPTHMNU.js.map.gz +0 -0
- package/dist/chunks/icon-print.U3N7JRFD.js +2 -0
- package/dist/chunks/icon-print.U3N7JRFD.js.gz +0 -0
- package/dist/chunks/icon-print.U3N7JRFD.js.map +7 -0
- package/dist/chunks/icon-print.U3N7JRFD.js.map.gz +0 -0
- package/dist/chunks/icon-tester.PNAPVVCU.js +2 -0
- package/dist/chunks/icon-tester.PNAPVVCU.js.gz +0 -0
- package/dist/chunks/icon-tester.PNAPVVCU.js.map +7 -0
- package/dist/chunks/icon-tester.PNAPVVCU.js.map.gz +0 -0
- package/dist/custom-elements.json +376 -408
- package/dist/custom-elements.json.gz +0 -0
- package/dist/docs/components/manifest.json +22 -22
- package/dist/docs/config.json +3 -3
- package/dist/scw-alert/ScwAlert.d.ts +24 -0
- package/dist/scw-alert/scw-alert.d.ts +1 -0
- package/dist/scw-button/ScwButton.d.ts +21 -0
- package/dist/scw-button/ScwButton.js +1 -1
- package/dist/scw-button/ScwButton.js.gz +0 -0
- package/dist/scw-button/scw-button.d.ts +1 -0
- package/dist/scw-button/scw-button.js +1 -1
- package/dist/scw-button/scw-button.js.gz +0 -0
- package/dist/scw-card/ScwCard.d.ts +84 -0
- package/dist/scw-card/ScwCard.js +1 -1
- package/dist/scw-card/ScwCard.js.gz +0 -0
- package/dist/scw-card/scw-card-enums.d.ts +20 -0
- package/dist/scw-card/scw-card-light-dom.d.ts +6 -0
- package/dist/scw-card/scw-card.d.ts +1 -0
- package/dist/scw-card/scw-card.js +1 -1
- package/dist/scw-card/scw-card.js.gz +0 -0
- package/dist/scw-card/tests/imageExample.d.ts +2 -0
- package/dist/scw-center-component/ScwCenterComponent.d.ts +15 -0
- package/dist/scw-center-component/scw-center-component.d.ts +1 -0
- package/dist/scw-component/ScwComponent.d.ts +74 -0
- package/dist/scw-component/scw-component-interface.d.ts +8 -0
- package/dist/scw-component/scw-component.d.ts +1 -0
- package/dist/scw-components.d.ts +12 -0
- package/dist/scw-components.js +1 -1
- package/dist/scw-components.js.gz +0 -0
- package/dist/scw-element-component/scw-element-component.d.ts +10 -0
- package/dist/scw-flex-h-component/scw-flex-h-component.d.ts +15 -0
- package/dist/scw-flex-v-component/scw-flex-v-component.d.ts +15 -0
- package/dist/scw-float-component/scw-float-component.d.ts +15 -0
- package/dist/scw-form/scw-form.d.ts +56 -0
- package/dist/scw-form-component/scw-form-component.d.ts +92 -0
- package/dist/scw-form-component/scw-form-component.js +1 -1
- package/dist/scw-form-component/scw-form-component.js.gz +0 -0
- package/dist/scw-heading/ScwHeading.d.ts +32 -0
- package/dist/scw-heading/parseLightDomHeading.d.ts +6 -0
- package/dist/scw-heading/scw-heading-enums.d.ts +7 -0
- package/dist/scw-heading/scw-heading.d.ts +1 -0
- package/dist/scw-icon/ScwIcon.d.ts +46 -0
- package/dist/scw-icon/ScwIcon.js +1 -1
- package/dist/scw-icon/ScwIcon.js.gz +0 -0
- package/dist/scw-icon/scw-icon-enums.d.ts +12 -0
- package/dist/scw-icon/scw-icon.d.ts +1 -0
- package/dist/scw-icon/scw-icon.js +1 -1
- package/dist/scw-icon/scw-icon.js.gz +0 -0
- package/dist/scw-icon/tests/checkIconADA.d.ts +6 -0
- package/dist/scw-image/ScwImage.d.ts +91 -0
- package/dist/scw-image/scw-image-src-parser.d.ts +7 -0
- package/dist/scw-image/scw-image-validate.d.ts +6 -0
- package/dist/scw-image/scw-image.d.ts +1 -0
- package/dist/scw-image/tests/imageExamples.d.ts +3 -0
- package/dist/scw-input/scw-input.d.ts +59 -0
- package/dist/scw-input/scw-input.js +1 -1
- package/dist/scw-input/scw-input.js.gz +0 -0
- package/dist/scw-input-field/autoformatters/autoFormat.d.ts +52 -0
- package/dist/scw-input-field/autoformatters/currencyFormatter.d.ts +10 -0
- package/dist/scw-input-field/autoformatters/dateAutoFormatter.d.ts +39 -0
- package/dist/scw-input-field/autoformatters/numberFormatter.d.ts +8 -0
- package/dist/scw-input-field/autoformatters/phoneNumberAutoFormatter.d.ts +9 -0
- package/dist/scw-input-field/inputTypes.d.ts +28 -0
- package/dist/scw-input-field/scw-input-field.d.ts +94 -0
- package/dist/scw-input-layout/scw-input-layout.d.ts +34 -0
- package/dist/scw-layout-component/scw-layout-component.d.ts +15 -0
- package/dist/scw-link/ScwLink.d.ts +68 -0
- package/dist/scw-link/ScwLink.js +1 -1
- package/dist/scw-link/ScwLink.js.gz +0 -0
- package/dist/scw-link/scw-link-enums.d.ts +10 -0
- package/dist/scw-link/scw-link.d.ts +1 -0
- package/dist/scw-link/scw-link.js +1 -1
- package/dist/scw-link/scw-link.js.gz +0 -0
- package/dist/scw-link-base/ScwLinkBase.d.ts +53 -0
- package/dist/scw-link-base/parseLightDomAnchor.d.ts +6 -0
- package/dist/scw-link-base/scw-link-base.d.ts +1 -0
- package/dist/scw-menu/ScwMenu.d.ts +59 -0
- package/dist/scw-menu/keyboard/keyboardElements.d.ts +42 -0
- package/dist/scw-menu/keyboard/scw-menu-keyboard.d.ts +67 -0
- package/dist/scw-menu/scw-menu-enums.d.ts +5 -0
- package/dist/scw-menu/scw-menu-validate.d.ts +6 -0
- package/dist/scw-menu/scw-menu.d.ts +1 -0
- package/dist/scw-menu-item/ScwMenuItem.d.ts +56 -0
- package/dist/scw-menu-item/ScwMenuItem.js +1 -1
- package/dist/scw-menu-item/ScwMenuItem.js.gz +0 -0
- package/dist/scw-menu-item/scw-menu-item-enums.d.ts +4 -0
- package/dist/scw-menu-item/scw-menu-item.d.ts +1 -0
- package/dist/scw-menu-item/scw-menu-item.js +1 -1
- package/dist/scw-menu-item/scw-menu-item.js.gz +0 -0
- package/dist/scw-page-alert/scw-page-alert.d.ts +34 -0
- package/dist/scw-pane-component/scw-pane-component.d.ts +15 -0
- package/dist/scw-select/scw-select.d.ts +58 -0
- package/dist/scw-select/scw-select.js +1 -1
- package/dist/scw-select/scw-select.js.gz +0 -0
- package/dist/scw-single-input/scw-single-input.d.ts +95 -0
- package/dist/scw-single-input/scw-single-input.js +1 -1
- package/dist/scw-single-input/scw-single-input.js.gz +0 -0
- package/dist/scw-single-input-layout/scw-single-input-layout.d.ts +61 -0
- package/dist/scw-stack-component/scw-stack-component.d.ts +8 -0
- package/dist/scw-test/ScwTest.d.ts +30 -0
- package/dist/scw-test/scw-test.d.ts +1 -0
- package/dist/scw-textarea/scw-textarea.d.ts +53 -0
- package/dist/scw-textarea/scw-textarea.js +1 -1
- package/dist/scw-textarea/scw-textarea.js.gz +0 -0
- package/dist/scw-validate/rules/alphanumeric.d.ts +9 -0
- package/dist/scw-validate/rules/currency.d.ts +8 -0
- package/dist/scw-validate/rules/date.d.ts +8 -0
- package/dist/scw-validate/rules/email.d.ts +8 -0
- package/dist/scw-validate/rules/number.d.ts +9 -0
- package/dist/scw-validate/rules/required.d.ts +8 -0
- package/dist/scw-validate/rules/telephone.d.ts +8 -0
- package/dist/scw-validate/rules/url.d.ts +0 -0
- package/dist/scw-validate/rules/utils.d.ts +49 -0
- package/dist/scw-validate/scw-validate.d.ts +55 -0
- package/dist/scw-validate/validationTypes.d.ts +22 -0
- package/dist/scw-validation/scw-validation.d.ts +55 -0
- package/dist/scw.d.ts +18 -0
- package/dist/scw.js +1 -1
- package/dist/scw.js.gz +0 -0
- package/dist/tokens/source/assets/graphic-apple-app-store.js +1 -1
- package/dist/tokens/source/assets/graphic-apple-app-store.js.gz +0 -0
- package/dist/tokens/source/assets/graphic-apple-app-store.svg +1 -1
- package/dist/tokens/source/assets/graphic-apple-app-store.svg.gz +0 -0
- package/dist/tokens/source/assets/graphic-ehl.js +1 -1
- package/dist/tokens/source/assets/graphic-ehl.js.gz +0 -0
- package/dist/tokens/source/assets/graphic-ehl.svg +1 -1
- package/dist/tokens/source/assets/graphic-ehl.svg.gz +0 -0
- package/dist/tokens/source/assets/graphic-google-play-store.js +1 -1
- package/dist/tokens/source/assets/graphic-google-play-store.js.gz +0 -0
- package/dist/tokens/source/assets/graphic-google-play-store.svg +1 -1
- package/dist/tokens/source/assets/graphic-google-play-store.svg.gz +0 -0
- package/dist/tokens/source/assets/graphic-logo.js +1 -1
- package/dist/tokens/source/assets/graphic-logo.js.gz +0 -0
- package/dist/tokens/source/assets/graphic-logo.svg +1 -1
- package/dist/tokens/source/assets/graphic-logo.svg.gz +0 -0
- package/dist/tokens/source/assets/graphic-ncua.js +1 -1
- package/dist/tokens/source/assets/graphic-ncua.js.gz +0 -0
- package/dist/tokens/source/assets/graphic-ncua.svg +1 -1
- package/dist/tokens/source/assets/graphic-ncua.svg.gz +0 -0
- package/dist/tokens/source/assets/icon-checkbox-selected-disabled.js +1 -1
- package/dist/tokens/source/assets/icon-checkbox-selected-disabled.js.gz +0 -0
- package/dist/tokens/source/assets/icon-checkbox-selected-disabled.svg +1 -1
- package/dist/tokens/source/assets/icon-checkbox-selected-disabled.svg.gz +0 -0
- package/dist/tokens/source/assets/icon-checkbox-selected-hover.js +1 -1
- package/dist/tokens/source/assets/icon-checkbox-selected-hover.js.gz +0 -0
- package/dist/tokens/source/assets/icon-checkbox-selected-hover.svg +1 -1
- package/dist/tokens/source/assets/icon-checkbox-selected-hover.svg.gz +0 -0
- package/dist/tokens/source/assets/icon-checkbox-selected.js +1 -1
- package/dist/tokens/source/assets/icon-checkbox-selected.js.gz +0 -0
- package/dist/tokens/source/assets/icon-checkbox-selected.svg +1 -1
- package/dist/tokens/source/assets/icon-checkbox-selected.svg.gz +0 -0
- package/dist/tokens/source/assets/icon-chevron-left.js +1 -1
- package/dist/tokens/source/assets/icon-chevron-left.js.gz +0 -0
- package/dist/tokens/source/assets/icon-chevron-left.svg +1 -1
- package/dist/tokens/source/assets/icon-chevron-left.svg.gz +0 -0
- package/dist/tokens/source/assets/icon-document.js +1 -1
- package/dist/tokens/source/assets/icon-document.js.gz +0 -0
- package/dist/tokens/source/assets/icon-document.svg +1 -1
- package/dist/tokens/source/assets/icon-document.svg.gz +0 -0
- package/dist/tokens/source/assets/icon-pdf.js +1 -1
- package/dist/tokens/source/assets/icon-pdf.js.gz +0 -0
- package/dist/tokens/source/assets/icon-pdf.svg +1 -1
- package/dist/tokens/source/assets/icon-pdf.svg.gz +0 -0
- package/dist/tokens/source/assets/icon-print.js +1 -1
- package/dist/tokens/source/assets/icon-print.js.gz +0 -0
- package/dist/tokens/source/assets/icon-print.svg +1 -1
- package/dist/tokens/source/assets/icon-print.svg.gz +0 -0
- package/dist/tokens/source/assets/icon-tester.js +1 -0
- package/dist/tokens/source/assets/icon-tester.js.gz +0 -0
- package/dist/tokens/source/assets/icon-tester.svg +1 -0
- package/dist/tokens/source/assets/icon-tester.svg.gz +0 -0
- package/dist/tokens/source/assets/svgs.js +2 -0
- package/dist/tokens/source/assets/svgs.js.gz +0 -0
- package/dist/tokens/source/jsCss.js +1 -1
- package/dist/tokens/source/jsCss.js.gz +0 -0
- package/dist/tokens/source/jsCssGenerator.js +2 -2
- package/dist/tokens/source/jsCssGenerator.js.gz +0 -0
- package/dist/tokens/source/jsCssGeneratorSansAssets.js +2 -2
- package/dist/tokens/source/jsCssGeneratorSansAssets.js.gz +0 -0
- package/dist/tokens/source/tokens.json +32 -12
- package/dist/tokens/source/tokens.json.gz +0 -0
- package/dist/utils/enums/Components.d.ts +35 -0
- package/dist/utils/events/event.d.ts +19 -0
- package/dist/utils/findJsCss.d.ts +24 -0
- package/dist/utils/formEnums.d.ts +17 -0
- package/dist/utils/getComputedStyleValue.d.ts +7 -0
- package/dist/utils/getIconSvg.d.ts +6 -0
- package/dist/utils/getIconSvg.js +1 -1
- package/dist/utils/getIconSvg.js.gz +0 -0
- package/dist/utils/lightCss.d.ts +6 -0
- package/dist/utils/lightDomMutationObserver.d.ts +32 -0
- package/dist/utils/observers/intersectionObserverSingleton.d.ts +34 -0
- package/dist/utils/observers/mutationObserverSingleton.d.ts +18 -0
- package/dist/utils/observers/resizeObserverSingleton.d.ts +34 -0
- package/dist/utils/responsive/breakpoints.d.ts +5 -0
- package/dist/utils/responsive/breakpoints.js +1 -1
- package/dist/utils/responsive/breakpoints.js.gz +0 -0
- package/dist/utils/responsive/breakpoints.js.map +3 -3
- package/dist/utils/responsive/breakpoints.js.map.gz +0 -0
- package/dist/utils/submitForm.d.ts +14 -0
- package/dist/utils/suffix.d.ts +6 -0
- package/dist/utils/suffix.js +1 -1
- package/dist/utils/suffix.js.gz +0 -0
- package/dist/utils/testing/colorContrast.d.ts +10 -0
- package/dist/utils/testing/expectLink.d.ts +10 -0
- package/dist/utils/testing/getActiveElement.d.ts +6 -0
- package/dist/utils/testing/ssrTesting.d.ts +15 -0
- package/dist/utils/testing/testButtonADA.d.ts +6 -0
- package/dist/utils/themes/enums.d.ts +21 -0
- package/dist/utils/uuid.d.ts +5 -0
- package/dist/utils/watch.d.ts +14 -0
- package/package.json +2 -2
- package/dist/chunks/chunk.2BI5PH3F.js +0 -2
- package/dist/chunks/chunk.2BI5PH3F.js.gz +0 -0
- package/dist/chunks/chunk.2BI5PH3F.js.map +0 -7
- package/dist/chunks/chunk.2BI5PH3F.js.map.gz +0 -0
- package/dist/chunks/chunk.6TKTUVOT.js +0 -2
- package/dist/chunks/chunk.6TKTUVOT.js.gz +0 -0
- package/dist/chunks/chunk.AEXBD2CN.js.gz +0 -0
- package/dist/chunks/chunk.CGB4QC57.js.gz +0 -0
- package/dist/chunks/chunk.CR7MPPVB.js +0 -2
- package/dist/chunks/chunk.CR7MPPVB.js.gz +0 -0
- package/dist/chunks/chunk.FFIHTL2R.js.gz +0 -0
- package/dist/chunks/chunk.GFFNAQYS.js +0 -2
- package/dist/chunks/chunk.GFFNAQYS.js.gz +0 -0
- package/dist/chunks/chunk.IMYNKCK7.js.gz +0 -0
- package/dist/chunks/chunk.PYKX7ECT.js +0 -2
- package/dist/chunks/chunk.PYKX7ECT.js.gz +0 -0
- package/dist/chunks/chunk.QZKLXTNT.js.gz +0 -0
- package/dist/chunks/chunk.VN2YAMKQ.js.gz +0 -0
- package/dist/chunks/chunk.VNI42AF7.js.gz +0 -0
- package/dist/chunks/chunk.X3VUYQJP.js +0 -2
- package/dist/chunks/chunk.X3VUYQJP.js.gz +0 -0
- package/dist/chunks/chunk.XO4NLQ7T.js +0 -2
- package/dist/chunks/chunk.XO4NLQ7T.js.gz +0 -0
- package/dist/chunks/graphic-apple-app-store.64CLN6WQ.js +0 -2
- package/dist/chunks/graphic-apple-app-store.64CLN6WQ.js.gz +0 -0
- package/dist/chunks/graphic-apple-app-store.64CLN6WQ.js.map +0 -7
- package/dist/chunks/graphic-apple-app-store.64CLN6WQ.js.map.gz +0 -0
- package/dist/chunks/graphic-ehl.ESGKDW72.js +0 -2
- package/dist/chunks/graphic-ehl.ESGKDW72.js.gz +0 -0
- package/dist/chunks/graphic-ehl.ESGKDW72.js.map +0 -7
- package/dist/chunks/graphic-ehl.ESGKDW72.js.map.gz +0 -0
- package/dist/chunks/graphic-google-play-store.4YAJ4NUV.js +0 -2
- package/dist/chunks/graphic-google-play-store.4YAJ4NUV.js.gz +0 -0
- package/dist/chunks/graphic-google-play-store.4YAJ4NUV.js.map +0 -7
- package/dist/chunks/graphic-google-play-store.4YAJ4NUV.js.map.gz +0 -0
- package/dist/chunks/graphic-logo.UL6BCYFE.js +0 -2
- package/dist/chunks/graphic-logo.UL6BCYFE.js.gz +0 -0
- package/dist/chunks/graphic-logo.UL6BCYFE.js.map +0 -7
- package/dist/chunks/graphic-logo.UL6BCYFE.js.map.gz +0 -0
- package/dist/chunks/graphic-ncua.PJDHZQTE.js +0 -2
- package/dist/chunks/graphic-ncua.PJDHZQTE.js.gz +0 -0
- package/dist/chunks/graphic-ncua.PJDHZQTE.js.map +0 -7
- package/dist/chunks/graphic-ncua.PJDHZQTE.js.map.gz +0 -0
- package/dist/chunks/icon-checkbox-selected-disabled.DLMEJCDA.js +0 -2
- package/dist/chunks/icon-checkbox-selected-disabled.DLMEJCDA.js.gz +0 -0
- package/dist/chunks/icon-checkbox-selected-disabled.DLMEJCDA.js.map.gz +0 -0
- package/dist/chunks/icon-checkbox-selected-hover.PGUVZ62C.js +0 -2
- package/dist/chunks/icon-checkbox-selected-hover.PGUVZ62C.js.gz +0 -0
- package/dist/chunks/icon-checkbox-selected-hover.PGUVZ62C.js.map.gz +0 -0
- package/dist/chunks/icon-checkbox-selected.SVAKK3LA.js +0 -2
- package/dist/chunks/icon-checkbox-selected.SVAKK3LA.js.gz +0 -0
- package/dist/chunks/icon-checkbox-selected.SVAKK3LA.js.map.gz +0 -0
- package/dist/chunks/icon-chevron-left.7EWLMQJO.js.gz +0 -0
- package/dist/chunks/icon-document.UHQUZDIW.js +0 -2
- package/dist/chunks/icon-document.UHQUZDIW.js.gz +0 -0
- package/dist/chunks/icon-document.UHQUZDIW.js.map +0 -7
- package/dist/chunks/icon-document.UHQUZDIW.js.map.gz +0 -0
- package/dist/chunks/icon-pdf.EH6BCNYI.js +0 -2
- package/dist/chunks/icon-pdf.EH6BCNYI.js.gz +0 -0
- package/dist/chunks/icon-pdf.EH6BCNYI.js.map +0 -7
- package/dist/chunks/icon-pdf.EH6BCNYI.js.map.gz +0 -0
- package/dist/chunks/icon-print.SXGTREIU.js +0 -2
- package/dist/chunks/icon-print.SXGTREIU.js.gz +0 -0
- package/dist/chunks/icon-print.SXGTREIU.js.map +0 -7
- package/dist/chunks/icon-print.SXGTREIU.js.map.gz +0 -0
- package/dist/utils/observers/mediaQueryListSingleton.js +0 -2
- package/dist/utils/observers/mediaQueryListSingleton.js.gz +0 -0
- package/dist/utils/observers/mediaQueryListSingleton.js.map +0 -7
- package/dist/utils/observers/mediaQueryListSingleton.js.map.gz +0 -0
- /package/dist/chunks/{chunk.CR7MPPVB.js.map → chunk.3T3AZSZZ.js.map} +0 -0
- /package/dist/chunks/{chunk.CR7MPPVB.js.map.gz → chunk.3T3AZSZZ.js.map.gz} +0 -0
- /package/dist/chunks/{chunk.QZKLXTNT.js.map → chunk.6JACVQKT.js.map} +0 -0
- /package/dist/chunks/{chunk.QZKLXTNT.js.map.gz → chunk.6JACVQKT.js.map.gz} +0 -0
- /package/dist/chunks/{chunk.X3VUYQJP.js.map → chunk.BSXT6VJ5.js.map} +0 -0
- /package/dist/chunks/{chunk.X3VUYQJP.js.map.gz → chunk.BSXT6VJ5.js.map.gz} +0 -0
- /package/dist/chunks/{chunk.XO4NLQ7T.js.map → chunk.FNC5OKC3.js.map} +0 -0
- /package/dist/chunks/{chunk.XO4NLQ7T.js.map.gz → chunk.FNC5OKC3.js.map.gz} +0 -0
- /package/dist/chunks/{chunk.FFIHTL2R.js.map → chunk.J6QOERDS.js.map} +0 -0
- /package/dist/chunks/{chunk.FFIHTL2R.js.map.gz → chunk.J6QOERDS.js.map.gz} +0 -0
- /package/dist/chunks/{chunk.PYKX7ECT.js.map → chunk.LONEBJ2H.js.map} +0 -0
- /package/dist/chunks/{chunk.PYKX7ECT.js.map.gz → chunk.LONEBJ2H.js.map.gz} +0 -0
- /package/dist/chunks/{chunk.CGB4QC57.js.map → chunk.MQP3LJ22.js.map} +0 -0
- /package/dist/chunks/{chunk.CGB4QC57.js.map.gz → chunk.MQP3LJ22.js.map.gz} +0 -0
- /package/dist/chunks/{chunk.VNI42AF7.js.map → chunk.NU46QA6I.js.map} +0 -0
- /package/dist/chunks/{chunk.VNI42AF7.js.map.gz → chunk.NU46QA6I.js.map.gz} +0 -0
- /package/dist/chunks/{chunk.GFFNAQYS.js.map → chunk.SQW7MXRN.js.map} +0 -0
- /package/dist/chunks/{chunk.GFFNAQYS.js.map.gz → chunk.SQW7MXRN.js.map.gz} +0 -0
- /package/dist/chunks/{chunk.IMYNKCK7.js.map → chunk.TLLMTMXY.js.map} +0 -0
- /package/dist/chunks/{chunk.IMYNKCK7.js.map.gz → chunk.TLLMTMXY.js.map.gz} +0 -0
- /package/dist/chunks/{chunk.VN2YAMKQ.js.map → chunk.X5NS5YBQ.js.map} +0 -0
- /package/dist/chunks/{chunk.VN2YAMKQ.js.map.gz → chunk.X5NS5YBQ.js.map.gz} +0 -0
- /package/dist/chunks/{chunk.AEXBD2CN.js.map → chunk.XO3UZUKH.js.map} +0 -0
- /package/dist/chunks/{chunk.AEXBD2CN.js.map.gz → chunk.XO3UZUKH.js.map.gz} +0 -0
- /package/dist/chunks/{chunk.6TKTUVOT.js.map → chunk.ZQIHYYIC.js.map} +0 -0
- /package/dist/chunks/{chunk.6TKTUVOT.js.map.gz → chunk.ZQIHYYIC.js.map.gz} +0 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import ScwFormComponent from '../scw-form-component/scw-form-component';
|
|
2
|
+
import { InputTypes } from '../scw-input-field/inputTypes';
|
|
3
|
+
/**
|
|
4
|
+
* ScwSelect
|
|
5
|
+
* @class
|
|
6
|
+
* @tag scw-select
|
|
7
|
+
*
|
|
8
|
+
* @cssprop --scw-input-padding - controls the padding around text input
|
|
9
|
+
* @cssprop --scw-min-height - minimum height of the textarea
|
|
10
|
+
* @event scw-focus input recieved focus
|
|
11
|
+
* @event scw-blur input lost focus
|
|
12
|
+
* @event scw-value-change value has changed (not necessarily value displayed)
|
|
13
|
+
*/
|
|
14
|
+
export default class ScwSelect extends ScwFormComponent {
|
|
15
|
+
/**
|
|
16
|
+
* styles
|
|
17
|
+
*/
|
|
18
|
+
static get styles(): any[];
|
|
19
|
+
/** constructor */
|
|
20
|
+
constructor();
|
|
21
|
+
/** connectedCallback */
|
|
22
|
+
connectedCallback(): void;
|
|
23
|
+
/** override with options */
|
|
24
|
+
domMutated(): void;
|
|
25
|
+
/**
|
|
26
|
+
* processOptions
|
|
27
|
+
*/
|
|
28
|
+
processOptions(): void;
|
|
29
|
+
/** _options */
|
|
30
|
+
_options: any[];
|
|
31
|
+
/** scw-single-input-layout with versioning suffix */
|
|
32
|
+
scwInputLayout: any;
|
|
33
|
+
/** (ScwSelectField) type of input field */
|
|
34
|
+
type: InputTypes;
|
|
35
|
+
/**
|
|
36
|
+
* handle focus into input
|
|
37
|
+
*/
|
|
38
|
+
_focusHandler(): void;
|
|
39
|
+
/**
|
|
40
|
+
* handle blurs from input
|
|
41
|
+
*/
|
|
42
|
+
_blurHandler(): void;
|
|
43
|
+
/**
|
|
44
|
+
* handle changes from input
|
|
45
|
+
* @param {CustomEvent} evt
|
|
46
|
+
*/
|
|
47
|
+
_valueChangeHandler(evt: Event): void;
|
|
48
|
+
/**
|
|
49
|
+
* checkForSubmit
|
|
50
|
+
* @param {KeyboardEvent} evt
|
|
51
|
+
*/
|
|
52
|
+
checkForSubmit(evt: KeyboardEvent): void;
|
|
53
|
+
/**
|
|
54
|
+
* render
|
|
55
|
+
* @return {object} component DOM
|
|
56
|
+
*/
|
|
57
|
+
render(): object;
|
|
58
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as p}from"../chunks/chunk.HD75M3T5.js";import{c as v}from"../chunks/chunk.
|
|
1
|
+
import{a as p}from"../chunks/chunk.HD75M3T5.js";import{c as v}from"../chunks/chunk.MQP3LJ22.js";import"../chunks/chunk.WXC634JO.js";import{a}from"../chunks/chunk.2T4VPIKP.js";import{a as d,b as i}from"../chunks/chunk.NBLIIWTN.js";import{a as u}from"../chunks/chunk.BSXT6VJ5.js";import"../chunks/chunk.XO3UZUKH.js";import"../chunks/chunk.UXIAMI3F.js";import"../chunks/chunk.RSR7WC4R.js";import{a as n,b as r}from"../chunks/chunk.XWFI56OY.js";import"../chunks/chunk.HMMADQ7Y.js";import"../chunks/chunk.3DNJZ75B.js";import{a as l}from"../chunks/chunk.3IG37SCP.js";import"../chunks/chunk.PKA6D7UK.js";import{g as s}from"../chunks/chunk.5YJY6NT6.js";var h=l`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
Binary file
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import ScwFormComponent from '../scw-form-component/scw-form-component';
|
|
2
|
+
import { Ref } from 'lit/directives/ref.js';
|
|
3
|
+
import ScwInputField from '../scw-input-field/scw-input-field';
|
|
4
|
+
import { FormMethods } from '../utils/submitForm';
|
|
5
|
+
declare enum SingleInputTypes {
|
|
6
|
+
search = "search",
|
|
7
|
+
email = "email"
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* ScwSingleInput
|
|
11
|
+
* @class
|
|
12
|
+
* @tag scw-single-input
|
|
13
|
+
*
|
|
14
|
+
* @event scw-submit - fires on valid or invalid submit (return or button).
|
|
15
|
+
* detail is {value: this.value, validation: []}
|
|
16
|
+
* @event scw-focus input recieved focus
|
|
17
|
+
* @event scw-blur input lost focus
|
|
18
|
+
* @event scw-value-change value has changed (not necessarily value displayed)
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export default class ScwSingleInput extends ScwFormComponent {
|
|
22
|
+
/**
|
|
23
|
+
* styles
|
|
24
|
+
*/
|
|
25
|
+
static get styles(): any[];
|
|
26
|
+
/** scw-input-field with versioning suffix */
|
|
27
|
+
scwInputField: any;
|
|
28
|
+
/** scw-single-input-layout with versioning suffix */
|
|
29
|
+
scwSingleInputLayout: any;
|
|
30
|
+
/** scw-form with versioning suffix */
|
|
31
|
+
scwForm: any;
|
|
32
|
+
/** constructor */
|
|
33
|
+
constructor();
|
|
34
|
+
/** scw-form reference */
|
|
35
|
+
scwInputRef: Ref<ScwInputField>;
|
|
36
|
+
/** (ScwSingleInput) the type of input, determines what types of icons and
|
|
37
|
+
* buttons show up on the input */
|
|
38
|
+
type: SingleInputTypes;
|
|
39
|
+
/** (ScwSingleInput) where to submit search, same as form */
|
|
40
|
+
action?: string;
|
|
41
|
+
/** (ScwSingleInput) how to submit search, same as form */
|
|
42
|
+
method: FormMethods;
|
|
43
|
+
/**
|
|
44
|
+
* Watching type to adjust validation rules
|
|
45
|
+
* @param {string} oldValue
|
|
46
|
+
* @param {string} newValue
|
|
47
|
+
*/
|
|
48
|
+
typeWatcher(oldValue: string, newValue: string): void;
|
|
49
|
+
/**
|
|
50
|
+
* handle focus into input
|
|
51
|
+
*/
|
|
52
|
+
_focusHandler(): void;
|
|
53
|
+
/**
|
|
54
|
+
* handle blurs from input
|
|
55
|
+
*/
|
|
56
|
+
_blurHandler(): void;
|
|
57
|
+
/**
|
|
58
|
+
* handle changes from input
|
|
59
|
+
* @param {CustomEvent} evt
|
|
60
|
+
*/
|
|
61
|
+
_valueChangeHandler(evt: CustomEvent): void;
|
|
62
|
+
/**
|
|
63
|
+
* handles actions from layout
|
|
64
|
+
* @param {CustomEvent} evt
|
|
65
|
+
*/
|
|
66
|
+
_layoutActionHandler(evt: CustomEvent): void;
|
|
67
|
+
/**
|
|
68
|
+
* checkForSubmit
|
|
69
|
+
* @param {KeyboardEvent} evt
|
|
70
|
+
*/
|
|
71
|
+
checkForSubmit(evt: KeyboardEvent): void;
|
|
72
|
+
/** submit */
|
|
73
|
+
submit(): void;
|
|
74
|
+
/**
|
|
75
|
+
* render core input filed
|
|
76
|
+
* @return {object} component DOM
|
|
77
|
+
*/
|
|
78
|
+
renderInputField(): object;
|
|
79
|
+
/**
|
|
80
|
+
* render email type
|
|
81
|
+
* @return {object} component DOM
|
|
82
|
+
*/
|
|
83
|
+
renderEmail(): object;
|
|
84
|
+
/**
|
|
85
|
+
* render search type
|
|
86
|
+
* @return {object} component DOM
|
|
87
|
+
*/
|
|
88
|
+
renderSearch(): object;
|
|
89
|
+
/**
|
|
90
|
+
* render
|
|
91
|
+
* @return {object} component DOM
|
|
92
|
+
*/
|
|
93
|
+
render(): object;
|
|
94
|
+
}
|
|
95
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../chunks/chunk.GO5WDIBC.js";import{a as g}from"../chunks/chunk.7A7HJBKL.js";import{b as I}from"../chunks/chunk.QWNRWJUF.js";import{c as N}from"../chunks/chunk.
|
|
1
|
+
import"../chunks/chunk.GO5WDIBC.js";import{a as g}from"../chunks/chunk.7A7HJBKL.js";import{b as I}from"../chunks/chunk.QWNRWJUF.js";import{c as N}from"../chunks/chunk.MQP3LJ22.js";import"../chunks/chunk.WXC634JO.js";import{a as w}from"../chunks/chunk.2T4VPIKP.js";import{a as d,b as l}from"../chunks/chunk.NBLIIWTN.js";import{a as F}from"../chunks/chunk.BSXT6VJ5.js";import"../chunks/chunk.XO3UZUKH.js";import{c as b}from"../chunks/chunk.UXIAMI3F.js";import{a as f,b as v,c as $}from"../chunks/chunk.RSR7WC4R.js";import{a as h}from"../chunks/chunk.XWFI56OY.js";import"../chunks/chunk.HMMADQ7Y.js";import"../chunks/chunk.3DNJZ75B.js";import{a as A}from"../chunks/chunk.3IG37SCP.js";import{d as m}from"../chunks/chunk.PKA6D7UK.js";import{g as a}from"../chunks/chunk.5YJY6NT6.js";var S=A`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
Binary file
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import ScwComponent from '../scw-component/ScwComponent';
|
|
2
|
+
export declare enum ScwSingleInputLayoutActions {
|
|
3
|
+
rightIcon = "right-icon",
|
|
4
|
+
right2Icon = "right-2-icon",
|
|
5
|
+
rightAction = "right-action"
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* ScwSingleInputLayout
|
|
9
|
+
* @class
|
|
10
|
+
* @tag scw-single-input-layout
|
|
11
|
+
* @status new
|
|
12
|
+
* @since 0.0.5
|
|
13
|
+
*
|
|
14
|
+
* @event scw-action - This fires when one of the various icons or submit
|
|
15
|
+
* button is clicked. detail is {action:
|
|
16
|
+
* 'right-icon'|'right-2-icon'|'right-action'}
|
|
17
|
+
*/
|
|
18
|
+
export default class ScwSingleInputLayout extends ScwComponent {
|
|
19
|
+
/**
|
|
20
|
+
* styles
|
|
21
|
+
*/
|
|
22
|
+
static get styles(): any[];
|
|
23
|
+
/** constructor */
|
|
24
|
+
constructor();
|
|
25
|
+
/** (ScwSingleInputLayout) the text to use for feedback */
|
|
26
|
+
feedback: string | undefined;
|
|
27
|
+
/** (ScwSingleInputLayout) hides the feedback label */
|
|
28
|
+
hideFeedback: boolean;
|
|
29
|
+
/** (ScwSingleInputLayout) shows left action section and determines what icon
|
|
30
|
+
* is used within the left action. */
|
|
31
|
+
leftActionIcon: string | undefined;
|
|
32
|
+
/** (ScwSingleInputLayout) shows right action section and determines what icon
|
|
33
|
+
* is used within the right action. */
|
|
34
|
+
rightActionIcon: string | undefined;
|
|
35
|
+
/** (ScwSingleInputLayout) shows first right icon and determines the icon
|
|
36
|
+
* svg. */
|
|
37
|
+
rightIcon: string | undefined;
|
|
38
|
+
/** (ScwSingleInputLayout) shows second right icon and determines the icon
|
|
39
|
+
* svg. */
|
|
40
|
+
right2Icon: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Handle click from right 2 icon.
|
|
43
|
+
* @param {Event} evt
|
|
44
|
+
*/
|
|
45
|
+
_right2ClickHandler(evt: Event): void;
|
|
46
|
+
/**
|
|
47
|
+
* Handle click from right icon.
|
|
48
|
+
* @param {Event} evt
|
|
49
|
+
*/
|
|
50
|
+
_rightClickHandler(evt: Event): void;
|
|
51
|
+
/**
|
|
52
|
+
* Handle click from right action icon.
|
|
53
|
+
* @param {Event} evt
|
|
54
|
+
*/
|
|
55
|
+
_rightActionClickHandler(evt: Event): void;
|
|
56
|
+
/**
|
|
57
|
+
* render
|
|
58
|
+
* @return {object} component DOM
|
|
59
|
+
*/
|
|
60
|
+
render(): object;
|
|
61
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import ScwComponent from '../scw-component/ScwComponent';
|
|
2
|
+
/**
|
|
3
|
+
* ScwTest
|
|
4
|
+
* @class
|
|
5
|
+
* @tag scw-test
|
|
6
|
+
*/
|
|
7
|
+
export default class ScwTest extends ScwComponent {
|
|
8
|
+
/**
|
|
9
|
+
* styles
|
|
10
|
+
*/
|
|
11
|
+
static get styles(): import("lit").CSSResult;
|
|
12
|
+
/**
|
|
13
|
+
* a test variable
|
|
14
|
+
* @type {string}
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
/** connectedCallback */
|
|
18
|
+
connectedCallback(): void;
|
|
19
|
+
/** Constructor */
|
|
20
|
+
constructor();
|
|
21
|
+
/**
|
|
22
|
+
* Handle click from right icon.
|
|
23
|
+
*/
|
|
24
|
+
clickHandler(): void;
|
|
25
|
+
/**
|
|
26
|
+
* render
|
|
27
|
+
* @return {object} component DOM
|
|
28
|
+
*/
|
|
29
|
+
render(): object;
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import ScwFormComponent from '../scw-form-component/scw-form-component';
|
|
2
|
+
import { InputTypes } from '../scw-input-field/inputTypes';
|
|
3
|
+
import { AutoCaptializeValues, AutoCompleteValues, AutoCorrectValues } from '../utils/formEnums';
|
|
4
|
+
/**
|
|
5
|
+
* ScwTextarea
|
|
6
|
+
* @class
|
|
7
|
+
* @tag scw-textarea
|
|
8
|
+
*
|
|
9
|
+
* @cssprop --scw-input-padding - the padding around text within the textarea
|
|
10
|
+
* @cssprop --scw-min-height - minimum height of the textarea
|
|
11
|
+
* @event scw-focus input recieved focus
|
|
12
|
+
* @event scw-blur input lost focus
|
|
13
|
+
* @event scw-value-change value has changed (not necessarily value displayed)
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
export default class ScwTextarea extends ScwFormComponent {
|
|
17
|
+
/**
|
|
18
|
+
* styles
|
|
19
|
+
*/
|
|
20
|
+
static get styles(): any[];
|
|
21
|
+
/** constructor */
|
|
22
|
+
constructor();
|
|
23
|
+
/** scw-single-input-layout with versioning suffix */
|
|
24
|
+
scwInputLayout: any;
|
|
25
|
+
/** (ScwTextareaField) type of input field */
|
|
26
|
+
type: InputTypes;
|
|
27
|
+
/** (ScwTextareaField) automatically capitalize input */
|
|
28
|
+
autoCapitalize: AutoCaptializeValues;
|
|
29
|
+
/** (ScwTextareaField) automatically completes input */
|
|
30
|
+
autoComplete: AutoCompleteValues;
|
|
31
|
+
/** (ScwTextareaField) automatically correct input */
|
|
32
|
+
autoCorrect: AutoCorrectValues;
|
|
33
|
+
/** (ScwTextareaField) automatically focus input */
|
|
34
|
+
autoFocus: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* handle focus into input
|
|
37
|
+
*/
|
|
38
|
+
_focusHandler(): void;
|
|
39
|
+
/**
|
|
40
|
+
* handle blurs from input
|
|
41
|
+
*/
|
|
42
|
+
_blurHandler(): void;
|
|
43
|
+
/**
|
|
44
|
+
* handle changes from input
|
|
45
|
+
* @param {CustomEvent} evt
|
|
46
|
+
*/
|
|
47
|
+
_valueChangeHandler(evt: Event): void;
|
|
48
|
+
/**
|
|
49
|
+
* render
|
|
50
|
+
* @return {object} component DOM
|
|
51
|
+
*/
|
|
52
|
+
render(): object;
|
|
53
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as u,b as n,c as p}from"../chunks/chunk.MNM5PCHW.js";import{a as c}from"../chunks/chunk.HD75M3T5.js";import{c as f}from"../chunks/chunk.
|
|
1
|
+
import{a as u,b as n,c as p}from"../chunks/chunk.MNM5PCHW.js";import{a as c}from"../chunks/chunk.HD75M3T5.js";import{c as f}from"../chunks/chunk.MQP3LJ22.js";import"../chunks/chunk.WXC634JO.js";import{a as o}from"../chunks/chunk.2T4VPIKP.js";import{a as s,b as r}from"../chunks/chunk.NBLIIWTN.js";import{a as d}from"../chunks/chunk.BSXT6VJ5.js";import"../chunks/chunk.XO3UZUKH.js";import"../chunks/chunk.UXIAMI3F.js";import"../chunks/chunk.RSR7WC4R.js";import{a}from"../chunks/chunk.XWFI56OY.js";import"../chunks/chunk.HMMADQ7Y.js";import"../chunks/chunk.3DNJZ75B.js";import{a as l}from"../chunks/chunk.3IG37SCP.js";import"../chunks/chunk.PKA6D7UK.js";import{g as e}from"../chunks/chunk.5YJY6NT6.js";var h=l`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
Binary file
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ValidationResult } from '../validationTypes';
|
|
2
|
+
/**
|
|
3
|
+
* Validates for alphanumeric characters
|
|
4
|
+
* @param {string} value
|
|
5
|
+
* @param {string} include
|
|
6
|
+
* @param {string} feedback
|
|
7
|
+
* @return {ValidationResult | false}
|
|
8
|
+
*/
|
|
9
|
+
export default function validateAlphaNumeric(value: string, include?: string, feedback?: string): ValidationResult | false;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ValidationResult } from '../validationTypes';
|
|
2
|
+
/**
|
|
3
|
+
* validates for valid currencies
|
|
4
|
+
* @param {string} value
|
|
5
|
+
* @param {string} feedback
|
|
6
|
+
* @return {ValidationResult | false}
|
|
7
|
+
*/
|
|
8
|
+
export default function validateCurrency(value: string, feedback?: string): ValidationResult | false;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ValidationResult } from '../validationTypes';
|
|
2
|
+
/**
|
|
3
|
+
* validates for valid dates
|
|
4
|
+
* @param {string} value
|
|
5
|
+
* @param {string} feedback
|
|
6
|
+
* @return {ValidationResult | false}
|
|
7
|
+
*/
|
|
8
|
+
export default function validateDate(value: string, feedback?: string): ValidationResult | false;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ValidationResult } from '../validationTypes';
|
|
2
|
+
/**
|
|
3
|
+
* validates for a valid email
|
|
4
|
+
* @param {string} value
|
|
5
|
+
* @param {string} feedback
|
|
6
|
+
* @return {ValidationResult | false}
|
|
7
|
+
*/
|
|
8
|
+
export default function validateEmail(value: string, feedback?: string): ValidationResult | false;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ValidationResult } from '../validationTypes';
|
|
2
|
+
/**
|
|
3
|
+
* validates for valid numbers
|
|
4
|
+
* @param {string} value
|
|
5
|
+
* @param {number} decimalLimit
|
|
6
|
+
* @param {string} feedback
|
|
7
|
+
* @return {ValidationResult | false}
|
|
8
|
+
*/
|
|
9
|
+
export default function validateNumber(value: string, decimalLimit: number, feedback?: string): ValidationResult | false;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ValidationResult } from '../validationTypes';
|
|
2
|
+
/**
|
|
3
|
+
* validates for required field
|
|
4
|
+
* @param {string} value
|
|
5
|
+
* @param {string} feedback
|
|
6
|
+
* @return {ValidationResult | false}
|
|
7
|
+
*/
|
|
8
|
+
export default function validateRequired(value: string, feedback?: string): ValidationResult | false;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ValidationResult } from '../validationTypes';
|
|
2
|
+
/**
|
|
3
|
+
* validates for valid telephone
|
|
4
|
+
* @param {string} value
|
|
5
|
+
* @param {string} feedback
|
|
6
|
+
* @return {ValidationResult | false}
|
|
7
|
+
*/
|
|
8
|
+
export default function validateTelephone(value: string, feedback?: string): ValidationResult | false;
|
|
File without changes
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ValidationResult } from '../validationTypes';
|
|
2
|
+
/**
|
|
3
|
+
* validates for valid minimum number
|
|
4
|
+
* @param {number} value
|
|
5
|
+
* @param {number} min
|
|
6
|
+
* @param {string} feedback
|
|
7
|
+
* @return {ValidationResult | false}
|
|
8
|
+
*/
|
|
9
|
+
export declare function validateMin(value: number, min: number, feedback?: string): ValidationResult | false;
|
|
10
|
+
/**
|
|
11
|
+
* validates for valid maximum number
|
|
12
|
+
* @param {number} value
|
|
13
|
+
* @param {number} max
|
|
14
|
+
* @param {string} feedback
|
|
15
|
+
* @return {ValidationResult | false}
|
|
16
|
+
*/
|
|
17
|
+
export declare function validateMax(value: number, max: number, feedback?: string): ValidationResult | false;
|
|
18
|
+
/**
|
|
19
|
+
* validates for valid minimum string length
|
|
20
|
+
* @param {string} value
|
|
21
|
+
* @param {number} min
|
|
22
|
+
* @param {string} feedback
|
|
23
|
+
* @return {ValidationResult | false}
|
|
24
|
+
*/
|
|
25
|
+
export declare function validateMinLength(value: string, min: number, feedback?: string): ValidationResult | false;
|
|
26
|
+
/**
|
|
27
|
+
* validates for valid maximum string length
|
|
28
|
+
* @param {string} value
|
|
29
|
+
* @param {number} max
|
|
30
|
+
* @param {string} feedback
|
|
31
|
+
* @return {ValidationResult | false}
|
|
32
|
+
*/
|
|
33
|
+
export declare function validateMaxLength(value: string, max: number, feedback?: string): ValidationResult | false;
|
|
34
|
+
/**
|
|
35
|
+
* validates for excluded characters
|
|
36
|
+
* @param {string} value
|
|
37
|
+
* @param {string} exclude
|
|
38
|
+
* @param {string} feedback
|
|
39
|
+
* @return {ValidationResult | false}
|
|
40
|
+
*/
|
|
41
|
+
export declare function validateExclude(value: string, exclude: string, feedback?: string): ValidationResult | false;
|
|
42
|
+
/**
|
|
43
|
+
* validates for regex pattern
|
|
44
|
+
* @param {string} value
|
|
45
|
+
* @param {string} pattern
|
|
46
|
+
* @param {string} feedback
|
|
47
|
+
* @return {ValidationResult | false}
|
|
48
|
+
*/
|
|
49
|
+
export declare function validatePattern(value: string, pattern: string, feedback?: string): ValidationResult | false;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import ScwComponent from '../scw-component/ScwComponent';
|
|
2
|
+
import { ValidationTypes, ValidationResult } from './validationTypes';
|
|
3
|
+
/**
|
|
4
|
+
* ScwValidate
|
|
5
|
+
* @class
|
|
6
|
+
* @tag scw-validate
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export default class ScwValidate extends ScwComponent {
|
|
10
|
+
/**
|
|
11
|
+
* styles
|
|
12
|
+
*/
|
|
13
|
+
static get styles(): any[];
|
|
14
|
+
/**
|
|
15
|
+
* Constructor
|
|
16
|
+
*/
|
|
17
|
+
constructor();
|
|
18
|
+
/**
|
|
19
|
+
* (ScwValidate) the type of validation this component executes
|
|
20
|
+
* @type {string} */
|
|
21
|
+
type: ValidationTypes;
|
|
22
|
+
/**
|
|
23
|
+
* (ScwValidate) contains the root element name for each component
|
|
24
|
+
* @type {string} */
|
|
25
|
+
feedback: string | undefined;
|
|
26
|
+
/** minimum number range */
|
|
27
|
+
min: number;
|
|
28
|
+
/** maximum number range */
|
|
29
|
+
max: number;
|
|
30
|
+
/** step mismatch */
|
|
31
|
+
step: string;
|
|
32
|
+
/** regex pattern to match */
|
|
33
|
+
pattern: string;
|
|
34
|
+
include: string;
|
|
35
|
+
exclude: string;
|
|
36
|
+
decimalLimit: number;
|
|
37
|
+
results: ValidationResult[];
|
|
38
|
+
/**
|
|
39
|
+
* pushes result into results array if there
|
|
40
|
+
* @param {ValidationResult | false} item
|
|
41
|
+
*/
|
|
42
|
+
addResult(item: ValidationResult | false): void;
|
|
43
|
+
/**
|
|
44
|
+
* executes the validation...
|
|
45
|
+
* @param {string} value
|
|
46
|
+
* @param {ValidationResult[]} overallResults
|
|
47
|
+
* @return {ValidationResult[]}
|
|
48
|
+
*/
|
|
49
|
+
validate(value: string, overallResults?: ValidationResult[]): ValidationResult[];
|
|
50
|
+
/**
|
|
51
|
+
* render
|
|
52
|
+
* @return {object} component DOM
|
|
53
|
+
*/
|
|
54
|
+
render(): object;
|
|
55
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import ScwFormComponent from '../scw-form-component/scw-form-component';
|
|
2
|
+
export interface ValidationResult {
|
|
3
|
+
type: ValidationTypes;
|
|
4
|
+
valid: boolean;
|
|
5
|
+
feedback: string;
|
|
6
|
+
component?: ScwFormComponent;
|
|
7
|
+
}
|
|
8
|
+
export declare enum ValidationTypes {
|
|
9
|
+
number = "number",
|
|
10
|
+
alphanumeric = "alphanumeric",
|
|
11
|
+
required = "required",
|
|
12
|
+
email = "email",
|
|
13
|
+
currency = "currency",
|
|
14
|
+
telephone = "telephone",
|
|
15
|
+
date = "date",
|
|
16
|
+
unknown = "unknown",
|
|
17
|
+
memberAccountNumber = "memberAccountNumber",
|
|
18
|
+
minMax = "minMax",
|
|
19
|
+
minMaxLength = "minMaxLength",
|
|
20
|
+
pattern = "pattern",
|
|
21
|
+
exclude = "exclude"
|
|
22
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import ScwComponent from '../scw-component/ScwComponent';
|
|
2
|
+
import ScwValidate from '../scw-validate/scw-validate';
|
|
3
|
+
import { ValidationResult } from '../scw-validate/validationTypes';
|
|
4
|
+
/**
|
|
5
|
+
* ScwValidation
|
|
6
|
+
* @class
|
|
7
|
+
* @tag scw-validation
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
export default class ScwValidation extends ScwComponent {
|
|
11
|
+
/**
|
|
12
|
+
* styles
|
|
13
|
+
*/
|
|
14
|
+
static get styles(): any[];
|
|
15
|
+
/**
|
|
16
|
+
* Constructor
|
|
17
|
+
*/
|
|
18
|
+
constructor();
|
|
19
|
+
/**
|
|
20
|
+
* connected callback
|
|
21
|
+
*/
|
|
22
|
+
connectedCallback(): void;
|
|
23
|
+
/**
|
|
24
|
+
* (ScwValidation) what validation operates upon...
|
|
25
|
+
* @type {string}
|
|
26
|
+
*/
|
|
27
|
+
value: string;
|
|
28
|
+
/**
|
|
29
|
+
* watch value
|
|
30
|
+
* @param {string} oldValue
|
|
31
|
+
* @param {string} newValue
|
|
32
|
+
*/
|
|
33
|
+
valueHandler(): void;
|
|
34
|
+
/**
|
|
35
|
+
* executes the full stack of validates
|
|
36
|
+
* @param {string} value
|
|
37
|
+
* @return {ValidationResult[]}
|
|
38
|
+
*/
|
|
39
|
+
validate(value: string): ValidationResult[];
|
|
40
|
+
/**
|
|
41
|
+
* figures out if there is a required validation
|
|
42
|
+
* @return {boolean}
|
|
43
|
+
*/
|
|
44
|
+
isRequired(): boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Gathers child validate components
|
|
47
|
+
* @return {ScwValidate[]}
|
|
48
|
+
*/
|
|
49
|
+
getValidationRules(): ScwValidate[];
|
|
50
|
+
/**
|
|
51
|
+
* render
|
|
52
|
+
* @return {object} component DOM
|
|
53
|
+
*/
|
|
54
|
+
render(): object;
|
|
55
|
+
}
|
package/dist/scw.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import 'lit-element/experimental-hydrate-support.js';
|
|
2
|
+
export declare let config: {
|
|
3
|
+
suffix: string | false;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Define Components
|
|
7
|
+
* Gotchas:
|
|
8
|
+
* - can't have two runtimes on same page, so need root to be unversioned and
|
|
9
|
+
* child versioned (from same url)
|
|
10
|
+
* - b/c the comp classes can only be registered once. The child should
|
|
11
|
+
* always be bundled.
|
|
12
|
+
* @param {object} args
|
|
13
|
+
* @return {void}
|
|
14
|
+
*/
|
|
15
|
+
export declare function defineComponents(args?: {
|
|
16
|
+
components?: string[];
|
|
17
|
+
suffix?: string;
|
|
18
|
+
}): Promise<void[]>;
|
package/dist/scw.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"./chunks/chunk.
|
|
1
|
+
import{a,b}from"./chunks/chunk.XO3UZUKH.js";import"./chunks/chunk.UXIAMI3F.js";import"./chunks/chunk.RSR7WC4R.js";import"./chunks/chunk.PKA6D7UK.js";import"./chunks/chunk.5YJY6NT6.js";export{a as config,b as defineComponents};
|
|
2
2
|
//# sourceMappingURL=scw.js.map
|
package/dist/scw.js.gz
CHANGED
|
Binary file
|