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,92 @@
|
|
|
1
|
+
import ScwComponent from '../scw-component/ScwComponent';
|
|
2
|
+
import ScwValidate from '../scw-validate/scw-validate';
|
|
3
|
+
import ScwValidation from '../scw-validation/scw-validation';
|
|
4
|
+
import { ValidationResult, ValidationTypes } from '../scw-validate/validationTypes';
|
|
5
|
+
export declare enum ScwFormComponentTypes {
|
|
6
|
+
text = "text",
|
|
7
|
+
boolean = "boolean",
|
|
8
|
+
submit = "submit"
|
|
9
|
+
}
|
|
10
|
+
export declare enum ScwFormComponentSubmitTypes {
|
|
11
|
+
submit = "submit",
|
|
12
|
+
cancel = "cancel"
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* ScwFormComponent
|
|
16
|
+
* @class
|
|
17
|
+
* @tag scw-form-component
|
|
18
|
+
*/
|
|
19
|
+
export default class ScwFormComponent extends ScwComponent {
|
|
20
|
+
/** (ScwFormComponent) the usage in a form (& scw-form a query target) */
|
|
21
|
+
formType: ScwFormComponentTypes;
|
|
22
|
+
/** (ScwFormComponent) name to identify form element and attach data */
|
|
23
|
+
name: string | undefined;
|
|
24
|
+
/** (ScwFormComponent) name to identify form element and attach data */
|
|
25
|
+
value: string;
|
|
26
|
+
/** (ScwFormComponent) text showing when there is no value */
|
|
27
|
+
placeholder: string;
|
|
28
|
+
/** (ScwFormComponent) name to identify form element and attach data */
|
|
29
|
+
selected: boolean;
|
|
30
|
+
/** (ScwFormComponent) read-only state management */
|
|
31
|
+
readOnly: boolean;
|
|
32
|
+
/** (ScwFormComponent) required state management */
|
|
33
|
+
required: boolean;
|
|
34
|
+
/** (ScwFormComponent) label indicator for required */
|
|
35
|
+
requiredLabel: string;
|
|
36
|
+
/** (ScwFormComponent) label indicator for required */
|
|
37
|
+
requiredFeedback?: string;
|
|
38
|
+
/** the text to use for feedback */
|
|
39
|
+
feedback: string | undefined;
|
|
40
|
+
/** determines whether the input is focused or not */
|
|
41
|
+
focused: boolean;
|
|
42
|
+
/** whether this form element is valid, passed validation */
|
|
43
|
+
invalid: boolean;
|
|
44
|
+
/** connectedCallback */
|
|
45
|
+
connectedCallback(): void;
|
|
46
|
+
/** (ScwFormComponent) each form element to decorates the final data object
|
|
47
|
+
* @param {Object} formData
|
|
48
|
+
*/
|
|
49
|
+
decorateValues(formData: {}): void;
|
|
50
|
+
/**
|
|
51
|
+
* Check to see if form element is required w/o knowing if there is validation
|
|
52
|
+
* @return {boolean}
|
|
53
|
+
*/
|
|
54
|
+
findIfRequired(): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Find validation child if there...
|
|
57
|
+
* @return {ScwValidation | undefined}
|
|
58
|
+
*/
|
|
59
|
+
findValidationRules(): ScwValidation | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* run the validation rules if there...
|
|
62
|
+
* @param {string} value
|
|
63
|
+
* @return {ValidationResult[]}
|
|
64
|
+
*/
|
|
65
|
+
validate(): ValidationResult[];
|
|
66
|
+
/**
|
|
67
|
+
* create a validation rule from scratch
|
|
68
|
+
* @return {ScwValidate}
|
|
69
|
+
*/
|
|
70
|
+
createValidateRule(): ScwValidate;
|
|
71
|
+
/**
|
|
72
|
+
* add validation to to child validation (create if not there)
|
|
73
|
+
* @param {ScwValidate} rule
|
|
74
|
+
*/
|
|
75
|
+
addValidationRule(rule: ScwValidate): void;
|
|
76
|
+
/**
|
|
77
|
+
* create a validation of a certain type...
|
|
78
|
+
* @param {ValidationTypes} type
|
|
79
|
+
* @param {string} feedbackOverride
|
|
80
|
+
*/
|
|
81
|
+
createAndAddValidationRule(type: ValidationTypes, feedbackOverride?: string): void;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @param {ValidationTypes} type
|
|
85
|
+
*/
|
|
86
|
+
removeValidationRule(type: ValidationTypes): void;
|
|
87
|
+
/**
|
|
88
|
+
* render
|
|
89
|
+
* @return {object} component DOM
|
|
90
|
+
*/
|
|
91
|
+
render(): object;
|
|
92
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c}from"../chunks/chunk.
|
|
1
|
+
import{a,b,c}from"../chunks/chunk.MQP3LJ22.js";import"../chunks/chunk.WXC634JO.js";import"../chunks/chunk.BSXT6VJ5.js";import"../chunks/chunk.XO3UZUKH.js";import"../chunks/chunk.UXIAMI3F.js";import"../chunks/chunk.RSR7WC4R.js";import"../chunks/chunk.XWFI56OY.js";import"../chunks/chunk.HMMADQ7Y.js";import"../chunks/chunk.3DNJZ75B.js";import"../chunks/chunk.3IG37SCP.js";import"../chunks/chunk.PKA6D7UK.js";import"../chunks/chunk.5YJY6NT6.js";export{b as ScwFormComponentSubmitTypes,a as ScwFormComponentTypes,c as default};
|
|
2
2
|
//# sourceMappingURL=scw-form-component.js.map
|
|
Binary file
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ScwHeadingSizes } from './scw-heading-enums';
|
|
2
|
+
import ScwComponent from 'scw-component/ScwComponent';
|
|
3
|
+
/**
|
|
4
|
+
* ScwHeading
|
|
5
|
+
* @class
|
|
6
|
+
* @tag scw-heading
|
|
7
|
+
*/
|
|
8
|
+
export default class ScwHeading extends ScwComponent {
|
|
9
|
+
/**
|
|
10
|
+
* styles
|
|
11
|
+
*/
|
|
12
|
+
static get styles(): any[];
|
|
13
|
+
/**
|
|
14
|
+
* (ScwHeader) Size of heading (h1, h2, h3, h4, h5)
|
|
15
|
+
* @type {string}
|
|
16
|
+
*/
|
|
17
|
+
size: ScwHeadingSizes;
|
|
18
|
+
/**
|
|
19
|
+
* Constructor
|
|
20
|
+
*/
|
|
21
|
+
constructor();
|
|
22
|
+
/**
|
|
23
|
+
* renderHeading
|
|
24
|
+
* @return {object} component DOM
|
|
25
|
+
*/
|
|
26
|
+
renderHeading(): object;
|
|
27
|
+
/**
|
|
28
|
+
* render
|
|
29
|
+
* @return {object} component DOM
|
|
30
|
+
*/
|
|
31
|
+
render(): object;
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ScwIconSizes } from './scw-icon-enums';
|
|
2
|
+
import ScwComponent from 'scw-component/ScwComponent';
|
|
3
|
+
/**
|
|
4
|
+
* ScwIcon
|
|
5
|
+
* @class
|
|
6
|
+
* @tag scw-icon
|
|
7
|
+
*
|
|
8
|
+
* @slot [default="<a href target />"]
|
|
9
|
+
(OPTIONAL) anchor (for SEO) will determine the label, href, and target.
|
|
10
|
+
*/
|
|
11
|
+
export default class ScwIcon extends ScwComponent {
|
|
12
|
+
/**
|
|
13
|
+
* styles
|
|
14
|
+
*/
|
|
15
|
+
static get styles(): any[];
|
|
16
|
+
/**
|
|
17
|
+
* (ScwIcon) Determines the icon to use with the text
|
|
18
|
+
* @param {string | undefined} icon
|
|
19
|
+
* */
|
|
20
|
+
set icon(icon: string | undefined);
|
|
21
|
+
/**
|
|
22
|
+
* icon getter
|
|
23
|
+
*/
|
|
24
|
+
get icon(): string | undefined;
|
|
25
|
+
private _icon;
|
|
26
|
+
/** (ScwIcon) Determines the square size of the icon */
|
|
27
|
+
size: ScwIconSizes;
|
|
28
|
+
/** (ScwIcon) Background color (w/ accompanying state colors) */
|
|
29
|
+
colorBackground: boolean;
|
|
30
|
+
_svgInfo: string;
|
|
31
|
+
/** Constructor */
|
|
32
|
+
constructor();
|
|
33
|
+
/**
|
|
34
|
+
* connectedCallback()
|
|
35
|
+
*/
|
|
36
|
+
connectedCallback(): void;
|
|
37
|
+
/**
|
|
38
|
+
* refreshIcon
|
|
39
|
+
*/
|
|
40
|
+
refreshIcon(): void;
|
|
41
|
+
/**
|
|
42
|
+
* render
|
|
43
|
+
* @return {object} component DOM
|
|
44
|
+
*/
|
|
45
|
+
render(): object;
|
|
46
|
+
}
|
package/dist/scw-icon/ScwIcon.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunks/chunk.
|
|
1
|
+
import{a}from"../chunks/chunk.J6QOERDS.js";import"../chunks/chunk.6YJJGD4O.js";import"../chunks/chunk.MKQHB2CE.js";import"../chunks/chunk.WJ7GGTRH.js";import"../chunks/chunk.RSR7WC4R.js";import"../chunks/chunk.XWFI56OY.js";import"../chunks/chunk.HMMADQ7Y.js";import"../chunks/chunk.3DNJZ75B.js";import"../chunks/chunk.3IG37SCP.js";import"../chunks/chunk.PKA6D7UK.js";import"../chunks/chunk.5YJY6NT6.js";export{a as default};
|
|
2
2
|
//# sourceMappingURL=ScwIcon.js.map
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunks/chunk.
|
|
1
|
+
import"../chunks/chunk.SQW7MXRN.js";import"../chunks/chunk.J6QOERDS.js";import"../chunks/chunk.6YJJGD4O.js";import"../chunks/chunk.MKQHB2CE.js";import"../chunks/chunk.WJ7GGTRH.js";import"../chunks/chunk.RSR7WC4R.js";import"../chunks/chunk.XWFI56OY.js";import"../chunks/chunk.HMMADQ7Y.js";import"../chunks/chunk.3DNJZ75B.js";import"../chunks/chunk.3IG37SCP.js";import"../chunks/chunk.PKA6D7UK.js";import"../chunks/chunk.5YJY6NT6.js";
|
|
2
2
|
//# sourceMappingURL=scw-icon.js.map
|
|
Binary file
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import ScwComponent from 'scw-component/ScwComponent';
|
|
2
|
+
/**
|
|
3
|
+
* ScwImage
|
|
4
|
+
* @class
|
|
5
|
+
* @tag scw-image
|
|
6
|
+
*
|
|
7
|
+
* @slot [default="<img src alt />"]
|
|
8
|
+
Base image to display. This is generally a LQIP (Low Quality Image
|
|
9
|
+
Placeholder)
|
|
10
|
+
* @slot [default="<a href target><source /><img src alt /></a>"]
|
|
11
|
+
(OPTIONAL) anchor (for SEO) will determine the label, href, and target in
|
|
12
|
+
addition to size and label.
|
|
13
|
+
*/
|
|
14
|
+
export default class ScwImage extends ScwComponent {
|
|
15
|
+
/**
|
|
16
|
+
* styles
|
|
17
|
+
*/
|
|
18
|
+
static get styles(): any[];
|
|
19
|
+
/** (ScwImage) Width:Height ratio */
|
|
20
|
+
aspectRatio: string | undefined;
|
|
21
|
+
/** (ScwImage) Object Fit CSS */
|
|
22
|
+
objectFit: string | undefined;
|
|
23
|
+
/** (ScwImage) Object Position CSS */
|
|
24
|
+
objectPosition: string | undefined;
|
|
25
|
+
/** (ScwImage) srcset of image */
|
|
26
|
+
srcset: string | undefined;
|
|
27
|
+
/** (ScwImage) src of image */
|
|
28
|
+
src: string | undefined;
|
|
29
|
+
/** (ScwImage) alt of image */
|
|
30
|
+
alt: string | undefined;
|
|
31
|
+
/** (ScwImage) whether to preload image or not */
|
|
32
|
+
preload: boolean;
|
|
33
|
+
/** (ScwImage) turn off lazy loading */
|
|
34
|
+
noLazyLoading: boolean;
|
|
35
|
+
/** (ScwImage) the image size derived from resize observer */
|
|
36
|
+
_imageSize: number | undefined;
|
|
37
|
+
/** (ScwImage) determines whether element is intersecting */
|
|
38
|
+
_isIntersecting: boolean;
|
|
39
|
+
/** (ScwImage) determines whether element has intersected once */
|
|
40
|
+
_hasIntersected: boolean;
|
|
41
|
+
/** Constructor */
|
|
42
|
+
constructor();
|
|
43
|
+
/**
|
|
44
|
+
* first updated
|
|
45
|
+
* @param {Map<string | number | symbol, unknown>} changedProps
|
|
46
|
+
*/
|
|
47
|
+
firstUpdated(changedProps: Map<string | number | symbol, unknown>): void;
|
|
48
|
+
/**
|
|
49
|
+
* disconnect from dom
|
|
50
|
+
*/
|
|
51
|
+
disconnectedCallback(): void;
|
|
52
|
+
/**
|
|
53
|
+
* domMutated
|
|
54
|
+
*/
|
|
55
|
+
domMutated(): void;
|
|
56
|
+
/**
|
|
57
|
+
* handle resize events
|
|
58
|
+
*/
|
|
59
|
+
_resizeHandler(): void;
|
|
60
|
+
/**
|
|
61
|
+
* handle resize events
|
|
62
|
+
* @param {boolean} intersecting
|
|
63
|
+
* @param {number} ratio
|
|
64
|
+
*/
|
|
65
|
+
_intersectionHandler(intersecting: boolean): void;
|
|
66
|
+
/**
|
|
67
|
+
* Translate aspect ration string to a number (percent)
|
|
68
|
+
* @return {string}
|
|
69
|
+
*/
|
|
70
|
+
renderContainerCss(): string;
|
|
71
|
+
/**
|
|
72
|
+
* Css for image
|
|
73
|
+
* @return {string}
|
|
74
|
+
*/
|
|
75
|
+
renderImgCss(): string;
|
|
76
|
+
/**
|
|
77
|
+
* render preload link
|
|
78
|
+
* @return {object} component DOM
|
|
79
|
+
*/
|
|
80
|
+
renderPreload(): object | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* render
|
|
83
|
+
* @return {object} component DOM
|
|
84
|
+
*/
|
|
85
|
+
renderContent(): object;
|
|
86
|
+
/**
|
|
87
|
+
* render
|
|
88
|
+
* @return {object} component DOM
|
|
89
|
+
*/
|
|
90
|
+
render(): object;
|
|
91
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const square = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNSAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjI1IiBoZWlnaHQ9IjI1IiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIGZpbGw9IiNDNEM0QzQiLz4KPC9zdmc+Cg==";
|
|
2
|
+
export declare const triangle = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNSAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjI1IiBoZWlnaHQ9IjI1IiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMTIuNSAwTDI1IDI1SDBMMTIuNSAwWiIgZmlsbD0iI0M0QzRDNCIvPgo8L3N2Zz4K";
|
|
3
|
+
export declare const circle = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iMjYiIHZpZXdCb3g9IjAgMCAyNiAyNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjI2IiBoZWlnaHQ9IjI2IiBmaWxsPSJ3aGl0ZSIvPgo8Y2lyY2xlIGN4PSIxMyIgY3k9IjEzIiByPSIxMyIgZmlsbD0iI0M0QzRDNCIvPgo8L3N2Zz4K";
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
* ScwInput
|
|
6
|
+
* @class
|
|
7
|
+
* @tag scw-input
|
|
8
|
+
*
|
|
9
|
+
* @cssprop --scw-input-padding - controls the padding around text input
|
|
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
|
+
export default class ScwInput extends ScwFormComponent {
|
|
16
|
+
/**
|
|
17
|
+
* styles
|
|
18
|
+
*/
|
|
19
|
+
static get styles(): any[];
|
|
20
|
+
/** constructor */
|
|
21
|
+
constructor();
|
|
22
|
+
/** scw-input-field with versioning suffix */
|
|
23
|
+
scwInputField: any;
|
|
24
|
+
/** scw-single-input-layout with versioning suffix */
|
|
25
|
+
scwInputLayout: any;
|
|
26
|
+
/** (ScwInputField) type of input field */
|
|
27
|
+
type: InputTypes;
|
|
28
|
+
/** (ScwInput) automatically capitalize input */
|
|
29
|
+
autoCapitalize: AutoCaptializeValues;
|
|
30
|
+
/** (ScwInput) automatically completes input */
|
|
31
|
+
autoComplete: AutoCompleteValues;
|
|
32
|
+
/** (ScwInput) automatically correct input */
|
|
33
|
+
autoCorrect: AutoCorrectValues;
|
|
34
|
+
/** (ScwInput) automatically focus input */
|
|
35
|
+
autoFocus: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* handle focus into input
|
|
38
|
+
*/
|
|
39
|
+
_focusHandler(): void;
|
|
40
|
+
/**
|
|
41
|
+
* handle blurs from input
|
|
42
|
+
*/
|
|
43
|
+
_blurHandler(): void;
|
|
44
|
+
/**
|
|
45
|
+
* handle changes from input
|
|
46
|
+
* @param {CustomEvent} evt
|
|
47
|
+
*/
|
|
48
|
+
_valueChangeHandler(evt: CustomEvent): void;
|
|
49
|
+
/**
|
|
50
|
+
* checkForSubmit
|
|
51
|
+
* @param {KeyboardEvent} evt
|
|
52
|
+
*/
|
|
53
|
+
checkForSubmit(evt: KeyboardEvent): void;
|
|
54
|
+
/**
|
|
55
|
+
* render
|
|
56
|
+
* @return {object} component DOM
|
|
57
|
+
*/
|
|
58
|
+
render(): object;
|
|
59
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as c,b as p,c as d}from"../chunks/chunk.MNM5PCHW.js";import{a as r}from"../chunks/chunk.HD75M3T5.js";import{c as m}from"../chunks/chunk.
|
|
1
|
+
import{a as c,b as p,c as d}from"../chunks/chunk.MNM5PCHW.js";import{a as r}from"../chunks/chunk.HD75M3T5.js";import{c as m}from"../chunks/chunk.MQP3LJ22.js";import"../chunks/chunk.WXC634JO.js";import{a as l}from"../chunks/chunk.2T4VPIKP.js";import{a as i,b as u}from"../chunks/chunk.NBLIIWTN.js";import{a as n}from"../chunks/chunk.BSXT6VJ5.js";import"../chunks/chunk.XO3UZUKH.js";import"../chunks/chunk.UXIAMI3F.js";import"../chunks/chunk.RSR7WC4R.js";import{a as o}from"../chunks/chunk.XWFI56OY.js";import"../chunks/chunk.HMMADQ7Y.js";import"../chunks/chunk.3DNJZ75B.js";import{a as s}from"../chunks/chunk.3IG37SCP.js";import"../chunks/chunk.PKA6D7UK.js";import{g as a}from"../chunks/chunk.5YJY6NT6.js";var h=s`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
Binary file
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import ScwInputField from '../scw-input-field';
|
|
2
|
+
import { InputTypes } from '../inputTypes';
|
|
3
|
+
export interface FormatResult {
|
|
4
|
+
value: string;
|
|
5
|
+
display: string;
|
|
6
|
+
selectionIndex: number;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* AutoFormatter
|
|
10
|
+
*/
|
|
11
|
+
export default class AutoFormatter {
|
|
12
|
+
lastSelectionStart: number;
|
|
13
|
+
inputBase: ScwInputField;
|
|
14
|
+
/**
|
|
15
|
+
* constructor
|
|
16
|
+
* @param {ScwInputField} inputBase
|
|
17
|
+
*/
|
|
18
|
+
constructor(inputBase: ScwInputField);
|
|
19
|
+
/**
|
|
20
|
+
* autoFormat
|
|
21
|
+
* // KEEP IN SYNC WITH autoFormatResult BELOW!!!!
|
|
22
|
+
* @param {string} newValue
|
|
23
|
+
*/
|
|
24
|
+
autoFormat(newValue: string): void;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @param {string} newValue
|
|
28
|
+
*/
|
|
29
|
+
autoFormatFinish(newValue: string): void;
|
|
30
|
+
/**
|
|
31
|
+
* Apply Values
|
|
32
|
+
* @param {string} newValues
|
|
33
|
+
* @param {string} useDisplayAsValue
|
|
34
|
+
* @param {number} doSetSelectionRange
|
|
35
|
+
*/
|
|
36
|
+
applyValues(newValues: {
|
|
37
|
+
display: string;
|
|
38
|
+
value: string;
|
|
39
|
+
selectionIndex: number;
|
|
40
|
+
}, useDisplayAsValue?: boolean, doSetSelectionRange?: boolean): void;
|
|
41
|
+
/**
|
|
42
|
+
* updateSelection
|
|
43
|
+
*/
|
|
44
|
+
updateSelection(): void;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Auto Forrmat Result
|
|
48
|
+
* @param {InputTypes} type
|
|
49
|
+
* @param {string} newValue
|
|
50
|
+
* @return {string}
|
|
51
|
+
*/
|
|
52
|
+
export declare function autoFormatResult(type: InputTypes, newValue: string): string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FormatResult } from './autoFormat';
|
|
2
|
+
/**
|
|
3
|
+
* currencyAutoFormatter
|
|
4
|
+
* @param {string} newValue
|
|
5
|
+
* @param {number} selectionStart
|
|
6
|
+
* @param {boolean} finishDigits
|
|
7
|
+
* @param {number} lastSelectionStart
|
|
8
|
+
* @return {FormatResult}
|
|
9
|
+
*/
|
|
10
|
+
export declare function currencyAutoFormatter(newValue: string, selectionStart: number, finishDigits: boolean | undefined, lastSelectionStart: number | undefined): FormatResult;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { FormatResult } from './autoFormat';
|
|
2
|
+
/**
|
|
3
|
+
* isValidDate
|
|
4
|
+
* @param {Date} date
|
|
5
|
+
* @return {boolean}
|
|
6
|
+
*/
|
|
7
|
+
export declare function isValidDate(date: Date): boolean;
|
|
8
|
+
/**
|
|
9
|
+
* dateAutoFormatter
|
|
10
|
+
* @param {string} valueDisplayed
|
|
11
|
+
* @param {string} prevValueDisplayed
|
|
12
|
+
* @param {number} selectionStart
|
|
13
|
+
* @return {FormatResult}
|
|
14
|
+
*/
|
|
15
|
+
export declare function dateAutoFormatter(valueDisplayed: string, prevValueDisplayed: string, selectionStart: number): FormatResult;
|
|
16
|
+
/**
|
|
17
|
+
* Date or Date String To Formatted String
|
|
18
|
+
* @param {Date | string} dateStr
|
|
19
|
+
* @return {string}
|
|
20
|
+
*/
|
|
21
|
+
export declare function dateStrToFormattedStr(dateStr: Date | string): string;
|
|
22
|
+
/**
|
|
23
|
+
* Formatted String To Date
|
|
24
|
+
* @param {string} formattedStr
|
|
25
|
+
* @return {Date | null}
|
|
26
|
+
*/
|
|
27
|
+
export declare function formattedStringToDate(formattedStr: string): Date | null;
|
|
28
|
+
/**
|
|
29
|
+
* Formatted String To Date String
|
|
30
|
+
* @param {string} formattedStr
|
|
31
|
+
* @return {string}
|
|
32
|
+
*/
|
|
33
|
+
export declare function formattedStringToDateStr(formattedStr: string): string;
|
|
34
|
+
/**
|
|
35
|
+
* Date To Formatted String
|
|
36
|
+
* @param {Date} date
|
|
37
|
+
* @return {string}
|
|
38
|
+
*/
|
|
39
|
+
export declare function dateToFormattedStr(date: Date): string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormatResult } from './autoFormat';
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @param {string} valueDisplayed
|
|
5
|
+
* @param {string} prevValueDisplayed
|
|
6
|
+
* @param {number} selectionStart
|
|
7
|
+
* @return {FormatResult}
|
|
8
|
+
*/
|
|
9
|
+
export declare function phoneNumberAutoFormatter(valueDisplayed: string, prevValueDisplayed: string, selectionStart: number): FormatResult;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare enum InputTypes {
|
|
2
|
+
button = "button",
|
|
3
|
+
color = "color",
|
|
4
|
+
datetimeLocal = "datetimeLocal",
|
|
5
|
+
file = "file",
|
|
6
|
+
hidden = "hidden",
|
|
7
|
+
image = "image",
|
|
8
|
+
month = "month",
|
|
9
|
+
number = "number",
|
|
10
|
+
range = "range",
|
|
11
|
+
reset = "reset",
|
|
12
|
+
search = "search",
|
|
13
|
+
select = "select",
|
|
14
|
+
submit = "submit",
|
|
15
|
+
tel = "tel",
|
|
16
|
+
time = "time",
|
|
17
|
+
url = "url",
|
|
18
|
+
week = "week",
|
|
19
|
+
fieldset = "fieldset",
|
|
20
|
+
date = "date",
|
|
21
|
+
checkbox = "checkbox",
|
|
22
|
+
email = "email",
|
|
23
|
+
password = "password",
|
|
24
|
+
radio = "radio",
|
|
25
|
+
text = "text",
|
|
26
|
+
telephone = "telephone",
|
|
27
|
+
currency = "currency"
|
|
28
|
+
}
|