@aurodesignsystem/auro-formkit 2.0.0-beta.7 → 2.0.0-beta.9
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/.turbo/cache/012997da408d7381-meta.json +1 -0
- package/.turbo/cache/0c8124a987c1cc05-meta.json +1 -1
- package/.turbo/cache/114f70925d97840c-meta.json +1 -0
- package/.turbo/cache/114f70925d97840c.tar.zst +0 -0
- package/.turbo/cache/144803363093af6b-meta.json +1 -0
- package/.turbo/cache/18129dba20f51b6b-meta.json +1 -1
- package/.turbo/cache/19afa09c8e45c25d-meta.json +1 -0
- package/.turbo/cache/19afa09c8e45c25d.tar.zst +0 -0
- package/.turbo/cache/20a17be1e896dc95-meta.json +1 -0
- package/.turbo/cache/20a17be1e896dc95.tar.zst +0 -0
- package/.turbo/cache/2624bedf18a03ab1-meta.json +1 -0
- package/.turbo/cache/2624bedf18a03ab1.tar.zst +0 -0
- package/.turbo/cache/2706814699cff63a-meta.json +1 -0
- package/.turbo/cache/2787020e69f50af2-meta.json +1 -1
- package/.turbo/cache/29d704afd7578cda-meta.json +1 -0
- package/.turbo/cache/29d704afd7578cda.tar.zst +0 -0
- package/.turbo/cache/2edcc8b31cd713fc-meta.json +1 -0
- package/.turbo/cache/2edcc8b31cd713fc.tar.zst +0 -0
- package/.turbo/cache/318a9085a92f2d32-meta.json +1 -0
- package/.turbo/cache/326d9e4692d61af1-meta.json +1 -0
- package/.turbo/cache/326d9e4692d61af1.tar.zst +0 -0
- package/.turbo/cache/36962b1c4c89a3a2-meta.json +1 -0
- package/.turbo/cache/36962b1c4c89a3a2.tar.zst +0 -0
- package/.turbo/cache/3cd8fc5f388323db-meta.json +1 -1
- package/.turbo/cache/3f8ea42b850fd7b1-meta.json +1 -0
- package/.turbo/cache/{c114d428251f56a5.tar.zst → 3f8ea42b850fd7b1.tar.zst} +0 -0
- package/.turbo/cache/4006a206400d5c7b-meta.json +1 -1
- package/.turbo/cache/457af7906413d2ff-meta.json +1 -0
- package/.turbo/cache/492dda333b8d15f1-meta.json +1 -1
- package/.turbo/cache/508f2fcc60e5046f-meta.json +1 -0
- package/.turbo/cache/508f2fcc60e5046f.tar.zst +0 -0
- package/.turbo/cache/50993de942ec15a9-meta.json +1 -1
- package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -1
- package/.turbo/cache/5567d6b2fdae56a9-meta.json +1 -0
- package/.turbo/cache/5a6290b52b84f5ef-meta.json +1 -0
- package/.turbo/cache/5a6290b52b84f5ef.tar.zst +0 -0
- package/.turbo/cache/5aadae8d3f94202e-meta.json +1 -1
- package/.turbo/cache/6081837e8943b62e-meta.json +1 -0
- package/.turbo/cache/6081837e8943b62e.tar.zst +0 -0
- package/.turbo/cache/60ad74320c682a2b-meta.json +1 -1
- package/.turbo/cache/61e218aba69cff58-meta.json +1 -1
- package/.turbo/cache/64ac8d6a4669ba20-meta.json +1 -0
- package/.turbo/cache/64ac8d6a4669ba20.tar.zst +0 -0
- package/.turbo/cache/706649b429184693-meta.json +1 -0
- package/.turbo/cache/706649b429184693.tar.zst +0 -0
- package/.turbo/cache/71dbeaf0706c12fe-meta.json +1 -1
- package/.turbo/cache/7445df6e7feed2a7-meta.json +1 -1
- package/.turbo/cache/769652d1b874d7cf-meta.json +1 -0
- package/.turbo/cache/77da375a012de9d0-meta.json +1 -1
- package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -1
- package/.turbo/cache/7c4645de5001b034-meta.json +1 -0
- package/.turbo/cache/7c4645de5001b034.tar.zst +0 -0
- package/.turbo/cache/7e3244d67de2d977-meta.json +1 -0
- package/.turbo/cache/7e3244d67de2d977.tar.zst +0 -0
- package/.turbo/cache/7f3b42ddf36d0158-meta.json +1 -1
- package/.turbo/cache/804ad767c7ba2fc3-meta.json +1 -0
- package/.turbo/cache/804ad767c7ba2fc3.tar.zst +0 -0
- package/.turbo/cache/8366405184d123d2-meta.json +1 -0
- package/.turbo/cache/{a3db8f78e018a955.tar.zst → 8366405184d123d2.tar.zst} +0 -0
- package/.turbo/cache/85cc23a2de6b1009-meta.json +1 -0
- package/.turbo/cache/99936b010f1533f9-meta.json +1 -0
- package/.turbo/cache/{dc6fbe2a8d5b9d9b.tar.zst → 99936b010f1533f9.tar.zst} +0 -0
- package/.turbo/cache/9a9b4e449cd84be4-meta.json +1 -1
- package/.turbo/cache/9ae99e8e7bd83d06-meta.json +1 -1
- package/.turbo/cache/a275406512608e45-meta.json +1 -1
- package/.turbo/cache/a54b4d75b5d265de-meta.json +1 -0
- package/.turbo/cache/b280ed4daaf15dcb-meta.json +1 -0
- package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -1
- package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -1
- package/.turbo/cache/c44efc9e4ddd8a0e-meta.json +1 -1
- package/.turbo/cache/c47b8032d18fc452-meta.json +1 -0
- package/.turbo/cache/c47b8032d18fc452.tar.zst +0 -0
- package/.turbo/cache/c6c6411199b68170-meta.json +1 -1
- package/.turbo/cache/d3a05e38449c9b24-meta.json +1 -1
- package/.turbo/cache/d44acd685455b288-meta.json +1 -0
- package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -1
- package/.turbo/cache/d683a7d23b0d7073-meta.json +1 -0
- package/.turbo/cache/d683a7d23b0d7073.tar.zst +0 -0
- package/.turbo/cache/d7caaacb8114772f-meta.json +1 -0
- package/.turbo/cache/d7caaacb8114772f.tar.zst +0 -0
- package/.turbo/cache/dad3d78b33edd9e4-meta.json +1 -0
- package/.turbo/cache/dad3d78b33edd9e4.tar.zst +0 -0
- package/.turbo/cache/db4ea5071b44ee8c-meta.json +1 -1
- package/.turbo/cache/de44707e76bdd80c-meta.json +1 -0
- package/.turbo/cache/de44707e76bdd80c.tar.zst +0 -0
- package/.turbo/cache/e03997efe5adad43-meta.json +1 -0
- package/.turbo/cache/e1aa836f0cc2d7c5-meta.json +1 -0
- package/.turbo/cache/e1aa836f0cc2d7c5.tar.zst +0 -0
- package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -1
- package/.turbo/cache/e820cc8f220a05f3-meta.json +1 -0
- package/.turbo/cache/e9e36823f6c98f07-meta.json +1 -0
- package/.turbo/cache/e9e36823f6c98f07.tar.zst +0 -0
- package/.turbo/cache/f3f4ddfd3230e489-meta.json +1 -0
- package/.turbo/cache/f3f4ddfd3230e489.tar.zst +0 -0
- package/.turbo/cache/fdaf484b1ec4b5ed-meta.json +1 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +27 -0
- package/components/checkbox/.turbo/turbo-build.log +2 -2
- package/components/checkbox/.turbo/turbo-bundler.log +3 -3
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.min.js +79 -20
- package/components/checkbox/demo/index.min.js +79 -20
- package/components/checkbox/dist/index.js +79 -20
- package/components/combobox/.turbo/turbo-build.log +2 -2
- package/components/combobox/.turbo/turbo-bundler.log +3 -3
- package/components/combobox/README.md +4 -4
- package/components/combobox/demo/api.min.js +160 -42
- package/components/combobox/demo/index.min.js +160 -42
- package/components/combobox/dist/index.js +158 -40
- package/components/counter/.turbo/turbo-build$colon$sass.log +172 -0
- package/components/counter/.turbo/turbo-build$colon$version.log +10 -0
- package/components/counter/.turbo/turbo-build.log +278 -4
- package/components/counter/.turbo/turbo-bundler.log +3 -3
- package/components/counter/.turbo/turbo-sass$colon$render.log +36 -0
- package/components/counter/README.md +188 -0
- package/components/counter/demo/api.md +98 -1016
- package/components/counter/demo/api.min.js +1670 -32
- package/components/counter/demo/index.js +2 -1
- package/components/counter/demo/index.md +194 -0
- package/components/counter/demo/index.min.js +1702 -19
- package/components/counter/dist/auro-counter-button.d.ts +13 -0
- package/components/counter/dist/auro-counter-button.d.ts.map +1 -0
- package/components/counter/dist/auro-counter-group.d.ts +77 -6
- package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
- package/components/counter/dist/auro-counter.d.ts +78 -0
- package/components/counter/dist/auro-counter.d.ts.map +1 -1
- package/components/counter/dist/formkit/auro-dropdownVersion.d.ts +3 -0
- package/components/counter/dist/formkit/auro-dropdownVersion.d.ts.map +1 -0
- package/components/counter/dist/iconVersion.d.ts +3 -0
- package/components/counter/dist/iconVersion.d.ts.map +1 -0
- package/components/counter/dist/index.js +1670 -32
- package/components/counter/dist/styles/color-css.d.ts +3 -0
- package/components/counter/dist/styles/color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-group-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-group-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/tokens-css.d.ts +3 -0
- package/components/counter/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/counter/package.json +8 -2
- package/components/counter/src/auro-counter-button.js +42 -0
- package/components/counter/src/auro-counter-group.js +150 -21
- package/components/counter/src/auro-counter.js +272 -12
- package/components/counter/src/formkit/auro-dropdownVersion.js +1 -0
- package/components/counter/src/iconVersion.js +1 -0
- package/components/counter/src/index.js +1 -1
- package/components/counter/src/styles/color-css.js +2 -0
- package/components/counter/src/styles/color.css +25 -0
- package/components/counter/src/styles/color.scss +44 -0
- package/components/counter/src/styles/counter-button-color-css.js +2 -0
- package/components/counter/src/styles/counter-button-color.css +14 -0
- package/components/counter/src/styles/counter-button-color.scss +29 -0
- package/components/counter/src/styles/counter-button-css.js +2 -0
- package/components/counter/src/styles/counter-button-tokens-css.js +2 -0
- package/components/counter/src/styles/counter-button-tokens.css +7 -0
- package/components/counter/src/styles/counter-button-tokens.scss +9 -0
- package/components/counter/src/styles/counter-button.css +187 -0
- package/components/counter/src/styles/counter-button.scss +83 -0
- package/components/counter/src/styles/counter-group-color-css.js +2 -0
- package/components/counter/src/styles/counter-group-color.css +4 -0
- package/components/counter/src/styles/counter-group-color.scss +19 -0
- package/components/counter/src/styles/counter-group-css.js +1 -1
- package/components/counter/src/styles/counter-group.css +13 -1
- package/components/counter/src/styles/counter-group.scss +14 -1
- package/components/counter/src/styles/style-css.js +1 -1
- package/components/counter/src/styles/style.css +43 -1
- package/components/counter/src/styles/style.scss +48 -2
- package/components/counter/src/styles/tokens-css.js +2 -0
- package/components/counter/src/styles/tokens.css +11 -0
- package/components/counter/src/styles/tokens.scss +24 -0
- package/components/datepicker/.turbo/turbo-build.log +2 -2
- package/components/datepicker/.turbo/turbo-bundler.log +2 -2
- package/components/datepicker/README.md +4 -4
- package/components/datepicker/demo/api.min.js +160 -41
- package/components/datepicker/demo/index.min.js +160 -41
- package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
- package/components/datepicker/dist/index.js +160 -41
- package/components/datepicker/src/auro-datepicker.js +2 -1
- package/components/dropdown/.turbo/turbo-build.log +3 -3
- package/components/dropdown/.turbo/turbo-bundler.log +3 -3
- package/components/dropdown/README.md +1 -1
- package/components/form/.turbo/turbo-build.log +3 -3
- package/components/form/.turbo/turbo-bundler.log +3 -3
- package/components/form/README.md +1 -1
- package/components/input/.turbo/turbo-build.log +3 -3
- package/components/input/.turbo/turbo-bundler.log +3 -3
- package/components/input/README.md +1 -1
- package/components/input/demo/api.min.js +79 -20
- package/components/input/demo/index.min.js +79 -20
- package/components/input/dist/index.js +79 -20
- package/components/menu/.turbo/turbo-build.log +3 -3
- package/components/menu/.turbo/turbo-bundler.log +3 -3
- package/components/menu/README.md +1 -1
- package/components/radio/.turbo/turbo-build.log +3 -3
- package/components/radio/.turbo/turbo-bundler.log +3 -3
- package/components/radio/README.md +1 -1
- package/components/radio/demo/api.min.js +79 -20
- package/components/radio/demo/index.min.js +79 -20
- package/components/radio/dist/index.js +79 -20
- package/components/select/.turbo/turbo-build.log +3 -3
- package/components/select/.turbo/turbo-bundler.log +3 -3
- package/components/select/README.md +3 -3
- package/components/select/demo/api.min.js +79 -20
- package/components/select/demo/index.min.js +79 -20
- package/components/select/dist/index.js +79 -20
- package/package.json +1 -1
- package/packages/form-validation/src/validation.js +79 -20
- package/packages/utils/package.json +12 -0
- package/packages/utils/src/iconUtil.js +25 -0
- package/packages/utils/src/index.js +1 -0
- package/.turbo/cache/06845874cc82b186-meta.json +0 -1
- package/.turbo/cache/06845874cc82b186.tar.zst +0 -0
- package/.turbo/cache/0a96f136af026d57-meta.json +0 -1
- package/.turbo/cache/0a96f136af026d57.tar.zst +0 -0
- package/.turbo/cache/0c9ee13a7c863709-meta.json +0 -1
- package/.turbo/cache/0ca9c5ccf3e90704-meta.json +0 -1
- package/.turbo/cache/0ca9c5ccf3e90704.tar.zst +0 -0
- package/.turbo/cache/1a8d6e4cab38121a-meta.json +0 -1
- package/.turbo/cache/2ec1b6d23563659e-meta.json +0 -1
- package/.turbo/cache/3afc5b2ea7c1bf51-meta.json +0 -1
- package/.turbo/cache/3afc5b2ea7c1bf51.tar.zst +0 -0
- package/.turbo/cache/40de011abc31c0cf-meta.json +0 -1
- package/.turbo/cache/40de011abc31c0cf.tar.zst +0 -0
- package/.turbo/cache/426c825f57054f5f-meta.json +0 -1
- package/.turbo/cache/426c825f57054f5f.tar.zst +0 -0
- package/.turbo/cache/4524aae614598308-meta.json +0 -1
- package/.turbo/cache/4524aae614598308.tar.zst +0 -0
- package/.turbo/cache/45ea3e30ae949d53-meta.json +0 -1
- package/.turbo/cache/45ea3e30ae949d53.tar.zst +0 -0
- package/.turbo/cache/577d86e4072c01f5-meta.json +0 -1
- package/.turbo/cache/577d86e4072c01f5.tar.zst +0 -0
- package/.turbo/cache/5d770c787aa78d4d-meta.json +0 -1
- package/.turbo/cache/5d770c787aa78d4d.tar.zst +0 -0
- package/.turbo/cache/624bf5350aacae42-meta.json +0 -1
- package/.turbo/cache/66333b75c8f57565-meta.json +0 -1
- package/.turbo/cache/66333b75c8f57565.tar.zst +0 -0
- package/.turbo/cache/66e9cca767930b1d-meta.json +0 -1
- package/.turbo/cache/66e9cca767930b1d.tar.zst +0 -0
- package/.turbo/cache/68060c79df03f45a-meta.json +0 -1
- package/.turbo/cache/68060c79df03f45a.tar.zst +0 -0
- package/.turbo/cache/68e3afb31feab4e9-meta.json +0 -1
- package/.turbo/cache/6a1c28febca6163f-meta.json +0 -1
- package/.turbo/cache/6bc4e2d881af6ffb-meta.json +0 -1
- package/.turbo/cache/6bc4e2d881af6ffb.tar.zst +0 -0
- package/.turbo/cache/6c8ea74dc3b07640-meta.json +0 -1
- package/.turbo/cache/7a6ef918375d4010-meta.json +0 -1
- package/.turbo/cache/7a6ef918375d4010.tar.zst +0 -0
- package/.turbo/cache/83e1029b14af6545-meta.json +0 -1
- package/.turbo/cache/98936c69a55361fc-meta.json +0 -1
- package/.turbo/cache/a3db8f78e018a955-meta.json +0 -1
- package/.turbo/cache/ad2b775dd9172ae8-meta.json +0 -1
- package/.turbo/cache/ad2b775dd9172ae8.tar.zst +0 -0
- package/.turbo/cache/b91d2888e699c76a-meta.json +0 -1
- package/.turbo/cache/b91d2888e699c76a.tar.zst +0 -0
- package/.turbo/cache/bdc6aadfdbb6feb9-meta.json +0 -1
- package/.turbo/cache/be128506a9bcaa65-meta.json +0 -1
- package/.turbo/cache/be128506a9bcaa65.tar.zst +0 -0
- package/.turbo/cache/c114d428251f56a5-meta.json +0 -1
- package/.turbo/cache/c7338727efbc457a-meta.json +0 -1
- package/.turbo/cache/c7338727efbc457a.tar.zst +0 -0
- package/.turbo/cache/cf235df1ef8d90b0-meta.json +0 -1
- package/.turbo/cache/d1d1a072ee099992-meta.json +0 -1
- package/.turbo/cache/d9331772756d3d94-meta.json +0 -1
- package/.turbo/cache/d9331772756d3d94.tar.zst +0 -0
- package/.turbo/cache/dc6fbe2a8d5b9d9b-meta.json +0 -1
- package/.turbo/cache/e1e2582a7131011f-meta.json +0 -1
- package/.turbo/cache/e6271174c00888fe-meta.json +0 -1
- package/.turbo/cache/e8485d2a584b5f08-meta.json +0 -1
- package/.turbo/cache/e8485d2a584b5f08.tar.zst +0 -0
- package/.turbo/cache/e86451b8f88594b2-meta.json +0 -1
- package/.turbo/cache/e86451b8f88594b2.tar.zst +0 -0
- package/.turbo/cache/e9872ba002963dd3-meta.json +0 -1
- package/.turbo/cache/e9872ba002963dd3.tar.zst +0 -0
- /package/.turbo/cache/{e6271174c00888fe.tar.zst → 012997da408d7381.tar.zst} +0 -0
- /package/.turbo/cache/{6a1c28febca6163f.tar.zst → 144803363093af6b.tar.zst} +0 -0
- /package/.turbo/cache/{0c9ee13a7c863709.tar.zst → 2706814699cff63a.tar.zst} +0 -0
- /package/.turbo/cache/{68e3afb31feab4e9.tar.zst → 318a9085a92f2d32.tar.zst} +0 -0
- /package/.turbo/cache/{1a8d6e4cab38121a.tar.zst → 457af7906413d2ff.tar.zst} +0 -0
- /package/.turbo/cache/{6c8ea74dc3b07640.tar.zst → 5567d6b2fdae56a9.tar.zst} +0 -0
- /package/.turbo/cache/{d1d1a072ee099992.tar.zst → 769652d1b874d7cf.tar.zst} +0 -0
- /package/.turbo/cache/{bdc6aadfdbb6feb9.tar.zst → 85cc23a2de6b1009.tar.zst} +0 -0
- /package/.turbo/cache/{e1e2582a7131011f.tar.zst → a54b4d75b5d265de.tar.zst} +0 -0
- /package/.turbo/cache/{83e1029b14af6545.tar.zst → b280ed4daaf15dcb.tar.zst} +0 -0
- /package/.turbo/cache/{624bf5350aacae42.tar.zst → d44acd685455b288.tar.zst} +0 -0
- /package/.turbo/cache/{cf235df1ef8d90b0.tar.zst → e03997efe5adad43.tar.zst} +0 -0
- /package/.turbo/cache/{2ec1b6d23563659e.tar.zst → e820cc8f220a05f3.tar.zst} +0 -0
- /package/.turbo/cache/{98936c69a55361fc.tar.zst → fdaf484b1ec4b5ed.tar.zst} +0 -0
|
@@ -93,10 +93,10 @@ In cases where the project is not able to process JS assets, there are pre-proce
|
|
|
93
93
|
<!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
|
|
94
94
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.12.1/dist/tokens/CSSCustomProperties.css" />
|
|
95
95
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
|
|
96
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.
|
|
97
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-input@2.0.0-beta.
|
|
98
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-popover@2.0.0-beta.
|
|
99
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-datepicker@2.0.0-beta.
|
|
96
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.8/dist/auro-dropdown__bundled.js" type="module"></script>
|
|
97
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-input@2.0.0-beta.8/dist/auro-input__bundled.js" type="module"></script>
|
|
98
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-popover@2.0.0-beta.8/dist/auro-popover__bundled.js" type="module"></script>
|
|
99
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-datepicker@2.0.0-beta.8/dist/auro-datepicker__bundled.js" type="module"></script>
|
|
100
100
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
101
101
|
|
|
102
102
|
## auro-datepicker use cases
|
|
@@ -395,30 +395,87 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
/**
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
* @param {
|
|
398
|
+
* Validates the attributes of a given element based on predefined validation rules.
|
|
399
|
+
*
|
|
400
|
+
* @param {HTMLElement} elem - The element to be validated.
|
|
401
401
|
* @returns {void}
|
|
402
|
+
*
|
|
403
|
+
* @example
|
|
404
|
+
* // Assuming `inputElement` is a reference to an input element in the DOM
|
|
405
|
+
* validateElementAttributes(inputElement);
|
|
406
|
+
*
|
|
407
|
+
* The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
|
|
408
|
+
* If a validation rule is violated, it sets the element's validity state and error message accordingly.
|
|
409
|
+
*
|
|
410
|
+
* Validation rules:
|
|
411
|
+
* - input:
|
|
412
|
+
* - length:
|
|
413
|
+
* - tooShort: Checks if the value length is less than the minimum length.
|
|
414
|
+
* - tooLong: Checks if the value length exceeds the maximum length.
|
|
415
|
+
* - pattern:
|
|
416
|
+
* - patternMismatch: Checks if the value does not match the specified pattern.
|
|
417
|
+
* - counter:
|
|
418
|
+
* - range:
|
|
419
|
+
* - rangeOverflow: Checks if the value exceeds the maximum value.
|
|
420
|
+
* - rangeUnderflow: Checks if the value is less than the minimum value.
|
|
402
421
|
*/
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
422
|
+
validateElementAttributes(elem) {
|
|
423
|
+
const validationRules = {
|
|
424
|
+
input: {
|
|
425
|
+
length: [
|
|
426
|
+
{
|
|
427
|
+
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
428
|
+
validity: 'tooShort',
|
|
429
|
+
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
check: (e) => e.value?.length > e.maxLength,
|
|
433
|
+
validity: 'tooLong',
|
|
434
|
+
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
435
|
+
}
|
|
436
|
+
],
|
|
437
|
+
pattern: [
|
|
438
|
+
{
|
|
439
|
+
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
440
|
+
validity: 'patternMismatch',
|
|
441
|
+
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
442
|
+
}
|
|
443
|
+
]
|
|
444
|
+
},
|
|
445
|
+
counter: {
|
|
446
|
+
range: [
|
|
447
|
+
{
|
|
448
|
+
check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
|
|
449
|
+
validity: 'rangeOverflow',
|
|
450
|
+
message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
|
|
454
|
+
validity: 'rangeUnderflow',
|
|
455
|
+
message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
|
|
456
|
+
}
|
|
457
|
+
]
|
|
410
458
|
}
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
if (
|
|
415
|
-
|
|
416
|
-
|
|
459
|
+
};
|
|
460
|
+
|
|
461
|
+
let elementType;
|
|
462
|
+
if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
463
|
+
elementType = 'input';
|
|
464
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
465
|
+
elementType = 'counter';
|
|
417
466
|
}
|
|
418
467
|
|
|
419
|
-
if (
|
|
420
|
-
|
|
421
|
-
|
|
468
|
+
if (elementType) {
|
|
469
|
+
const rules = validationRules[elementType];
|
|
470
|
+
|
|
471
|
+
if (rules) {
|
|
472
|
+
Object.values(rules).flat().forEach(rule => {
|
|
473
|
+
if (rule.check(elem)) {
|
|
474
|
+
elem.validity = rule.validity;
|
|
475
|
+
elem.errorMessage = rule.message(elem);
|
|
476
|
+
}
|
|
477
|
+
});
|
|
478
|
+
}
|
|
422
479
|
}
|
|
423
480
|
}
|
|
424
481
|
|
|
@@ -528,7 +585,9 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
528
585
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
529
586
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
530
587
|
this.validateType(elem);
|
|
531
|
-
this.
|
|
588
|
+
this.validateElementAttributes(elem);
|
|
589
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
590
|
+
this.validateElementAttributes(elem);
|
|
532
591
|
}
|
|
533
592
|
}
|
|
534
593
|
|
|
@@ -15504,30 +15563,87 @@ class AuroFormValidation {
|
|
|
15504
15563
|
}
|
|
15505
15564
|
|
|
15506
15565
|
/**
|
|
15507
|
-
*
|
|
15508
|
-
*
|
|
15509
|
-
* @param {
|
|
15566
|
+
* Validates the attributes of a given element based on predefined validation rules.
|
|
15567
|
+
*
|
|
15568
|
+
* @param {HTMLElement} elem - The element to be validated.
|
|
15510
15569
|
* @returns {void}
|
|
15570
|
+
*
|
|
15571
|
+
* @example
|
|
15572
|
+
* // Assuming `inputElement` is a reference to an input element in the DOM
|
|
15573
|
+
* validateElementAttributes(inputElement);
|
|
15574
|
+
*
|
|
15575
|
+
* The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
|
|
15576
|
+
* If a validation rule is violated, it sets the element's validity state and error message accordingly.
|
|
15577
|
+
*
|
|
15578
|
+
* Validation rules:
|
|
15579
|
+
* - input:
|
|
15580
|
+
* - length:
|
|
15581
|
+
* - tooShort: Checks if the value length is less than the minimum length.
|
|
15582
|
+
* - tooLong: Checks if the value length exceeds the maximum length.
|
|
15583
|
+
* - pattern:
|
|
15584
|
+
* - patternMismatch: Checks if the value does not match the specified pattern.
|
|
15585
|
+
* - counter:
|
|
15586
|
+
* - range:
|
|
15587
|
+
* - rangeOverflow: Checks if the value exceeds the maximum value.
|
|
15588
|
+
* - rangeUnderflow: Checks if the value is less than the minimum value.
|
|
15511
15589
|
*/
|
|
15512
|
-
|
|
15513
|
-
|
|
15514
|
-
|
|
15515
|
-
|
|
15516
|
-
|
|
15517
|
-
|
|
15518
|
-
|
|
15590
|
+
validateElementAttributes(elem) {
|
|
15591
|
+
const validationRules = {
|
|
15592
|
+
input: {
|
|
15593
|
+
length: [
|
|
15594
|
+
{
|
|
15595
|
+
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
15596
|
+
validity: 'tooShort',
|
|
15597
|
+
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
15598
|
+
},
|
|
15599
|
+
{
|
|
15600
|
+
check: (e) => e.value?.length > e.maxLength,
|
|
15601
|
+
validity: 'tooLong',
|
|
15602
|
+
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
15603
|
+
}
|
|
15604
|
+
],
|
|
15605
|
+
pattern: [
|
|
15606
|
+
{
|
|
15607
|
+
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
15608
|
+
validity: 'patternMismatch',
|
|
15609
|
+
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
15610
|
+
}
|
|
15611
|
+
]
|
|
15612
|
+
},
|
|
15613
|
+
counter: {
|
|
15614
|
+
range: [
|
|
15615
|
+
{
|
|
15616
|
+
check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
|
|
15617
|
+
validity: 'rangeOverflow',
|
|
15618
|
+
message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
|
|
15619
|
+
},
|
|
15620
|
+
{
|
|
15621
|
+
check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
|
|
15622
|
+
validity: 'rangeUnderflow',
|
|
15623
|
+
message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
|
|
15624
|
+
}
|
|
15625
|
+
]
|
|
15519
15626
|
}
|
|
15627
|
+
};
|
|
15628
|
+
|
|
15629
|
+
let elementType;
|
|
15630
|
+
if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
15631
|
+
elementType = 'input';
|
|
15632
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
15633
|
+
elementType = 'counter';
|
|
15520
15634
|
}
|
|
15521
|
-
|
|
15522
|
-
// Length > 0 is required to prevent the error message from showing when the input is empty
|
|
15523
|
-
if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
|
|
15524
|
-
elem.validity = 'tooShort';
|
|
15525
|
-
elem.errorMessage = elem.setCustomValidityTooShort || elem.setCustomValidity || '';
|
|
15526
|
-
}
|
|
15527
15635
|
|
|
15528
|
-
if (
|
|
15529
|
-
|
|
15530
|
-
|
|
15636
|
+
if (elementType) {
|
|
15637
|
+
const rules = validationRules[elementType];
|
|
15638
|
+
|
|
15639
|
+
if (rules) {
|
|
15640
|
+
Object.values(rules).flat().forEach(rule => {
|
|
15641
|
+
if (rule.check(elem)) {
|
|
15642
|
+
elem.validity = rule.validity;
|
|
15643
|
+
elem.errorMessage = rule.message(elem);
|
|
15644
|
+
}
|
|
15645
|
+
});
|
|
15646
|
+
}
|
|
15531
15647
|
}
|
|
15532
15648
|
}
|
|
15533
15649
|
|
|
@@ -15637,7 +15753,9 @@ class AuroFormValidation {
|
|
|
15637
15753
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
15638
15754
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
15639
15755
|
this.validateType(elem);
|
|
15640
|
-
this.
|
|
15756
|
+
this.validateElementAttributes(elem);
|
|
15757
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
15758
|
+
this.validateElementAttributes(elem);
|
|
15641
15759
|
}
|
|
15642
15760
|
}
|
|
15643
15761
|
|
|
@@ -18484,10 +18602,11 @@ class AuroDatePicker extends r$7 {
|
|
|
18484
18602
|
if (!this.value || !this.util.validDateStr(this.value)) {
|
|
18485
18603
|
this.value = newDate;
|
|
18486
18604
|
} else if (!this.valueEnd || !this.util.validDateStr(this.valueEnd)) {
|
|
18487
|
-
|
|
18488
18605
|
// verify the date is after this.value to insure we are setting a proper range
|
|
18489
18606
|
if (new Date(newDate) >= new Date(this.value)) {
|
|
18490
18607
|
this.valueEnd = newDate;
|
|
18608
|
+
} else {
|
|
18609
|
+
this.value = newDate;
|
|
18491
18610
|
}
|
|
18492
18611
|
} else {
|
|
18493
18612
|
this.value = newDate;
|
|
@@ -135,30 +135,87 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
* @param {
|
|
138
|
+
* Validates the attributes of a given element based on predefined validation rules.
|
|
139
|
+
*
|
|
140
|
+
* @param {HTMLElement} elem - The element to be validated.
|
|
141
141
|
* @returns {void}
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* // Assuming `inputElement` is a reference to an input element in the DOM
|
|
145
|
+
* validateElementAttributes(inputElement);
|
|
146
|
+
*
|
|
147
|
+
* The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
|
|
148
|
+
* If a validation rule is violated, it sets the element's validity state and error message accordingly.
|
|
149
|
+
*
|
|
150
|
+
* Validation rules:
|
|
151
|
+
* - input:
|
|
152
|
+
* - length:
|
|
153
|
+
* - tooShort: Checks if the value length is less than the minimum length.
|
|
154
|
+
* - tooLong: Checks if the value length exceeds the maximum length.
|
|
155
|
+
* - pattern:
|
|
156
|
+
* - patternMismatch: Checks if the value does not match the specified pattern.
|
|
157
|
+
* - counter:
|
|
158
|
+
* - range:
|
|
159
|
+
* - rangeOverflow: Checks if the value exceeds the maximum value.
|
|
160
|
+
* - rangeUnderflow: Checks if the value is less than the minimum value.
|
|
142
161
|
*/
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
162
|
+
validateElementAttributes(elem) {
|
|
163
|
+
const validationRules = {
|
|
164
|
+
input: {
|
|
165
|
+
length: [
|
|
166
|
+
{
|
|
167
|
+
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
168
|
+
validity: 'tooShort',
|
|
169
|
+
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
check: (e) => e.value?.length > e.maxLength,
|
|
173
|
+
validity: 'tooLong',
|
|
174
|
+
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
pattern: [
|
|
178
|
+
{
|
|
179
|
+
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
180
|
+
validity: 'patternMismatch',
|
|
181
|
+
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
},
|
|
185
|
+
counter: {
|
|
186
|
+
range: [
|
|
187
|
+
{
|
|
188
|
+
check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
|
|
189
|
+
validity: 'rangeOverflow',
|
|
190
|
+
message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
|
|
194
|
+
validity: 'rangeUnderflow',
|
|
195
|
+
message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
|
|
196
|
+
}
|
|
197
|
+
]
|
|
150
198
|
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
if (
|
|
155
|
-
|
|
156
|
-
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
let elementType;
|
|
202
|
+
if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
203
|
+
elementType = 'input';
|
|
204
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
205
|
+
elementType = 'counter';
|
|
157
206
|
}
|
|
158
207
|
|
|
159
|
-
if (
|
|
160
|
-
|
|
161
|
-
|
|
208
|
+
if (elementType) {
|
|
209
|
+
const rules = validationRules[elementType];
|
|
210
|
+
|
|
211
|
+
if (rules) {
|
|
212
|
+
Object.values(rules).flat().forEach(rule => {
|
|
213
|
+
if (rule.check(elem)) {
|
|
214
|
+
elem.validity = rule.validity;
|
|
215
|
+
elem.errorMessage = rule.message(elem);
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
}
|
|
162
219
|
}
|
|
163
220
|
}
|
|
164
221
|
|
|
@@ -268,7 +325,9 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
268
325
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
269
326
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
270
327
|
this.validateType(elem);
|
|
271
|
-
this.
|
|
328
|
+
this.validateElementAttributes(elem);
|
|
329
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
330
|
+
this.validateElementAttributes(elem);
|
|
272
331
|
}
|
|
273
332
|
}
|
|
274
333
|
|
|
@@ -15244,30 +15303,87 @@ class AuroFormValidation {
|
|
|
15244
15303
|
}
|
|
15245
15304
|
|
|
15246
15305
|
/**
|
|
15247
|
-
*
|
|
15248
|
-
*
|
|
15249
|
-
* @param {
|
|
15306
|
+
* Validates the attributes of a given element based on predefined validation rules.
|
|
15307
|
+
*
|
|
15308
|
+
* @param {HTMLElement} elem - The element to be validated.
|
|
15250
15309
|
* @returns {void}
|
|
15310
|
+
*
|
|
15311
|
+
* @example
|
|
15312
|
+
* // Assuming `inputElement` is a reference to an input element in the DOM
|
|
15313
|
+
* validateElementAttributes(inputElement);
|
|
15314
|
+
*
|
|
15315
|
+
* The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
|
|
15316
|
+
* If a validation rule is violated, it sets the element's validity state and error message accordingly.
|
|
15317
|
+
*
|
|
15318
|
+
* Validation rules:
|
|
15319
|
+
* - input:
|
|
15320
|
+
* - length:
|
|
15321
|
+
* - tooShort: Checks if the value length is less than the minimum length.
|
|
15322
|
+
* - tooLong: Checks if the value length exceeds the maximum length.
|
|
15323
|
+
* - pattern:
|
|
15324
|
+
* - patternMismatch: Checks if the value does not match the specified pattern.
|
|
15325
|
+
* - counter:
|
|
15326
|
+
* - range:
|
|
15327
|
+
* - rangeOverflow: Checks if the value exceeds the maximum value.
|
|
15328
|
+
* - rangeUnderflow: Checks if the value is less than the minimum value.
|
|
15251
15329
|
*/
|
|
15252
|
-
|
|
15253
|
-
|
|
15254
|
-
|
|
15255
|
-
|
|
15256
|
-
|
|
15257
|
-
|
|
15258
|
-
|
|
15330
|
+
validateElementAttributes(elem) {
|
|
15331
|
+
const validationRules = {
|
|
15332
|
+
input: {
|
|
15333
|
+
length: [
|
|
15334
|
+
{
|
|
15335
|
+
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
15336
|
+
validity: 'tooShort',
|
|
15337
|
+
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
15338
|
+
},
|
|
15339
|
+
{
|
|
15340
|
+
check: (e) => e.value?.length > e.maxLength,
|
|
15341
|
+
validity: 'tooLong',
|
|
15342
|
+
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
15343
|
+
}
|
|
15344
|
+
],
|
|
15345
|
+
pattern: [
|
|
15346
|
+
{
|
|
15347
|
+
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
15348
|
+
validity: 'patternMismatch',
|
|
15349
|
+
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
15350
|
+
}
|
|
15351
|
+
]
|
|
15352
|
+
},
|
|
15353
|
+
counter: {
|
|
15354
|
+
range: [
|
|
15355
|
+
{
|
|
15356
|
+
check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
|
|
15357
|
+
validity: 'rangeOverflow',
|
|
15358
|
+
message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
|
|
15359
|
+
},
|
|
15360
|
+
{
|
|
15361
|
+
check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
|
|
15362
|
+
validity: 'rangeUnderflow',
|
|
15363
|
+
message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
|
|
15364
|
+
}
|
|
15365
|
+
]
|
|
15259
15366
|
}
|
|
15367
|
+
};
|
|
15368
|
+
|
|
15369
|
+
let elementType;
|
|
15370
|
+
if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
15371
|
+
elementType = 'input';
|
|
15372
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
15373
|
+
elementType = 'counter';
|
|
15260
15374
|
}
|
|
15261
|
-
|
|
15262
|
-
// Length > 0 is required to prevent the error message from showing when the input is empty
|
|
15263
|
-
if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
|
|
15264
|
-
elem.validity = 'tooShort';
|
|
15265
|
-
elem.errorMessage = elem.setCustomValidityTooShort || elem.setCustomValidity || '';
|
|
15266
|
-
}
|
|
15267
15375
|
|
|
15268
|
-
if (
|
|
15269
|
-
|
|
15270
|
-
|
|
15376
|
+
if (elementType) {
|
|
15377
|
+
const rules = validationRules[elementType];
|
|
15378
|
+
|
|
15379
|
+
if (rules) {
|
|
15380
|
+
Object.values(rules).flat().forEach(rule => {
|
|
15381
|
+
if (rule.check(elem)) {
|
|
15382
|
+
elem.validity = rule.validity;
|
|
15383
|
+
elem.errorMessage = rule.message(elem);
|
|
15384
|
+
}
|
|
15385
|
+
});
|
|
15386
|
+
}
|
|
15271
15387
|
}
|
|
15272
15388
|
}
|
|
15273
15389
|
|
|
@@ -15377,7 +15493,9 @@ class AuroFormValidation {
|
|
|
15377
15493
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
15378
15494
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
15379
15495
|
this.validateType(elem);
|
|
15380
|
-
this.
|
|
15496
|
+
this.validateElementAttributes(elem);
|
|
15497
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
15498
|
+
this.validateElementAttributes(elem);
|
|
15381
15499
|
}
|
|
15382
15500
|
}
|
|
15383
15501
|
|
|
@@ -18224,10 +18342,11 @@ class AuroDatePicker extends r$7 {
|
|
|
18224
18342
|
if (!this.value || !this.util.validDateStr(this.value)) {
|
|
18225
18343
|
this.value = newDate;
|
|
18226
18344
|
} else if (!this.valueEnd || !this.util.validDateStr(this.valueEnd)) {
|
|
18227
|
-
|
|
18228
18345
|
// verify the date is after this.value to insure we are setting a proper range
|
|
18229
18346
|
if (new Date(newDate) >= new Date(this.value)) {
|
|
18230
18347
|
this.valueEnd = newDate;
|
|
18348
|
+
} else {
|
|
18349
|
+
this.value = newDate;
|
|
18231
18350
|
}
|
|
18232
18351
|
} else {
|
|
18233
18352
|
this.value = newDate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auro-datepicker.d.ts","sourceRoot":"","sources":["../src/auro-datepicker.js"],"names":[],"mappings":"AAkCA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH;IA0FE;QAGI;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;MAKN;IAED,+CAMC;IAED;;;;;;;OAOG;IACH,uBANW,MAAM,QAQhB;IAnQC;;OAEG;IACH,aAAyC;IAEzC;;OAEG;IACH,2BAAuD;IASvD,kBAAqB;IACrB,kBAAqB;IACrB,eAAkB;IAClB,oBAAuB;IACvB,cAAyB;IACzB,WAAsB;IACtB,cAAyB;IACzB,uBAAkC;IAClC,qBAAgC;IAChC,uBAAmC;IACnC,qBAaC;IAED;;OAEG;IACH,aAA4B;IAE5B;;OAEG;IACH,wBAAyB;IAEzB;;OAEG;IACH,mBAA0C;IAE1C;;OAEG;IACH,qBAAiD;IAEjD;;OAEG;IACH,8CAAkD;IAOlD;;OAEG;IACH,oBAAyF;IAEzF;;OAEG;IACH,iBAA6E;IAqL/E;;;;OAIG;IACH,8BAMC;IAED;;;;OAIG;IACH,6BAEC;IAED;;;;OAIG;IACH,2BAFa,IAAI,CAIhB;IAGD;;;;;OAKG;IACH,6BAEC;IAED;;;;;OAKG;IACH,4BAMC;IAED;;;;OAIG;IACH,2BAUC;IAED;;;;;OAKG;IACH,yBAiBC;IAED;;;;OAIG;IACH,gCAEC;IAED;;;;OAIG;IACH,gCAQC;IAED;;;;;OAKG;IACH,2BAUC;IAED;;;;OAIG;IACH,0BA0BC;IAzBC,cAA4E;IA2B9E;;;;OAIG;IACH,uBAsCC;IArCC,kBAAkE;IAElE,iBAAgF;IAyB1E,kBAAsC;IAY9C;;;;OAIG;IACH,0BA2BC;IA1BC,kBAA8D;IA4BhE;;;;OAIG;IACH,4BAwDC;IAED;;;;OAIG;IACH,uBAWC;IAED;;;;;OAKG;IACH,wCAMC;IAED;;;;;OAKG;IACH,
|
|
1
|
+
{"version":3,"file":"auro-datepicker.d.ts","sourceRoot":"","sources":["../src/auro-datepicker.js"],"names":[],"mappings":"AAkCA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH;IA0FE;QAGI;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;MAKN;IAED,+CAMC;IAED;;;;;;;OAOG;IACH,uBANW,MAAM,QAQhB;IAnQC;;OAEG;IACH,aAAyC;IAEzC;;OAEG;IACH,2BAAuD;IASvD,kBAAqB;IACrB,kBAAqB;IACrB,eAAkB;IAClB,oBAAuB;IACvB,cAAyB;IACzB,WAAsB;IACtB,cAAyB;IACzB,uBAAkC;IAClC,qBAAgC;IAChC,uBAAmC;IACnC,qBAaC;IAED;;OAEG;IACH,aAA4B;IAE5B;;OAEG;IACH,wBAAyB;IAEzB;;OAEG;IACH,mBAA0C;IAE1C;;OAEG;IACH,qBAAiD;IAEjD;;OAEG;IACH,8CAAkD;IAOlD;;OAEG;IACH,oBAAyF;IAEzF;;OAEG;IACH,iBAA6E;IAqL/E;;;;OAIG;IACH,8BAMC;IAED;;;;OAIG;IACH,6BAEC;IAED;;;;OAIG;IACH,2BAFa,IAAI,CAIhB;IAGD;;;;;OAKG;IACH,6BAEC;IAED;;;;;OAKG;IACH,4BAMC;IAED;;;;OAIG;IACH,2BAUC;IAED;;;;;OAKG;IACH,yBAiBC;IAED;;;;OAIG;IACH,gCAEC;IAED;;;;OAIG;IACH,gCAQC;IAED;;;;;OAKG;IACH,2BAUC;IAED;;;;OAIG;IACH,0BA0BC;IAzBC,cAA4E;IA2B9E;;;;OAIG;IACH,uBAsCC;IArCC,kBAAkE;IAElE,iBAAgF;IAyB1E,kBAAsC;IAY9C;;;;OAIG;IACH,0BA2BC;IA1BC,kBAA8D;IA4BhE;;;;OAIG;IACH,4BAwDC;IAED;;;;OAIG;IACH,uBAWC;IAED;;;;;OAKG;IACH,wCAMC;IAED;;;;;OAKG;IACH,wBAwBC;IAvBC,yBAA2B;IAyB7B;;;;OAIG;IACH,wBAEC;IAED;;;OAGG;IACH,SAFa,IAAI,CAQhB;IAED,sCAwKC;IAED;;;;;;;OAOG;IACH,yBAGC;IAED,qBAYC;IAGD,4CAkFC;CACF;2BAj+B0B,KAAK"}
|