@aurodesignsystem-dev/auro-formkit 0.0.0-pr1516.0 → 0.0.0-pr1518.0
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/components/checkbox/demo/customize.min.js +8 -6
- package/components/checkbox/demo/getting-started.min.js +8 -6
- package/components/checkbox/demo/index.min.js +8 -6
- package/components/checkbox/dist/index.js +8 -6
- package/components/checkbox/dist/registered.js +8 -6
- package/components/combobox/README.md +1 -1
- package/components/combobox/demo/customize.md +2 -10
- package/components/combobox/demo/customize.min.js +382 -466
- package/components/combobox/demo/getting-started.min.js +382 -462
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +382 -462
- package/components/combobox/demo/keyboard-behavior.md +2 -142
- package/components/combobox/demo/readme.md +1 -1
- package/components/combobox/demo/why-combobox.md +2 -2
- package/components/combobox/dist/auro-combobox.d.ts +30 -14
- package/components/combobox/dist/index.js +382 -462
- package/components/combobox/dist/registered.js +382 -462
- package/components/counter/demo/customize.min.js +9 -7
- package/components/counter/demo/index.min.js +9 -7
- package/components/counter/dist/index.js +9 -7
- package/components/counter/dist/registered.js +9 -7
- package/components/datepicker/demo/customize.min.js +78 -169
- package/components/datepicker/demo/index.min.js +78 -169
- package/components/datepicker/dist/index.js +78 -169
- package/components/datepicker/dist/registered.js +78 -169
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +1 -1
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/customize.min.js +561 -816
- package/components/form/demo/getting-started.min.js +561 -816
- package/components/form/demo/index.min.js +561 -816
- package/components/form/demo/registerDemoDeps.min.js +561 -816
- package/components/input/demo/customize.min.js +67 -159
- package/components/input/demo/getting-started.min.js +67 -159
- package/components/input/demo/index.min.js +67 -159
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +3 -51
- package/components/input/dist/index.js +67 -159
- package/components/input/dist/registered.js +67 -159
- package/components/input/dist/utilities.d.ts +1 -1
- package/components/radio/demo/customize.min.js +8 -6
- package/components/radio/demo/getting-started.min.js +8 -6
- package/components/radio/demo/index.min.js +8 -6
- package/components/radio/dist/index.js +8 -6
- package/components/radio/dist/registered.js +8 -6
- package/components/select/demo/customize.min.js +9 -7
- package/components/select/demo/getting-started.min.js +9 -7
- package/components/select/demo/index.min.js +9 -7
- package/components/select/dist/index.js +9 -7
- package/components/select/dist/registered.js +9 -7
- package/custom-elements.json +1503 -1709
- package/package.json +1 -1
|
@@ -1177,7 +1177,7 @@ const u$9=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r}
|
|
|
1177
1177
|
|
|
1178
1178
|
var shapeSizeCss$5 = i$6`.shape-classic-xl,.shape-classic-lg,.shape-classic-md,.shape-classic-sm,.shape-classic-xs{min-height:56px;max-height:56px;border-style:solid;border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}.shape-classic-xl.simple,.shape-classic-lg.simple,.shape-classic-md.simple,.shape-classic-sm.simple,.shape-classic-xs.simple{border-width:0px;min-height:58px;max-height:58px;background-color:unset;box-shadow:none}.shape-classic-xl.thin,.shape-classic-lg.thin,.shape-classic-md.thin,.shape-classic-sm.thin,.shape-classic-xs.thin{border-width:1px;min-height:56px;max-height:56px;background-color:unset}.shape-classic-xl.parentBorder,.shape-classic-lg.parentBorder,.shape-classic-md.parentBorder,.shape-classic-sm.parentBorder,.shape-classic-xs.parentBorder{border:0;box-shadow:unset;min-height:54px;max-height:54px}.shape-snowflake-xl,.shape-snowflake-lg,.shape-snowflake-md,.shape-snowflake-sm,.shape-snowflake-xs{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:30px}.shape-snowflake-xl.simple,.shape-snowflake-lg.simple,.shape-snowflake-md.simple,.shape-snowflake-sm.simple,.shape-snowflake-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-snowflake-xl.thin,.shape-snowflake-lg.thin,.shape-snowflake-md.thin,.shape-snowflake-sm.thin,.shape-snowflake-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-snowflake-xl.parentBorder,.shape-snowflake-lg.parentBorder,.shape-snowflake-md.parentBorder,.shape-snowflake-sm.parentBorder,.shape-snowflake-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-box-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-box-lg{min-height:52px;max-height:52px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-box-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-box-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-box-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-box-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-box-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-box-sm{min-height:32px;max-height:32px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-sm.simple{border-width:0px;min-height:36px;max-height:36px;background-color:unset;box-shadow:none}.shape-box-sm.thin{border-width:1px;min-height:34px;max-height:34px;background-color:unset}.shape-box-sm.parentBorder{border:0;box-shadow:unset;min-height:32px;max-height:32px}.shape-box-xs{min-height:20px;max-height:20px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xs.simple{border-width:0px;min-height:24px;max-height:24px;background-color:unset;box-shadow:none}.shape-box-xs.thin{border-width:1px;min-height:22px;max-height:22px;background-color:unset}.shape-box-xs.parentBorder{border:0;box-shadow:unset;min-height:20px;max-height:20px}.shape-rounded-lg{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-rounded-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-left-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-right-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-left-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-right-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}`;
|
|
1179
1179
|
|
|
1180
|
-
var styleCss$1$8 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:host{display:block}.wrapper:has(:enabled){cursor:text}.wrapper:has(:enabled) label{cursor:text}.helpTextClasses{cursor:default}input{overflow:clip !important;width:100%;padding:0;border:0;background:unset;outline:none;overflow-clip-margin:0 !important;text-overflow:ellipsis}input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.displayValue{display:none}.displayValue.hasContent:is(.withValue):not(.hasFocus){display:flex;align-items:center}.accents:not(.util_displayHidden){display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px}.wrapper:not(:focus-within):not(:hover) .notificationBtn.passwordBtn,.wrapper:not(:focus-within):not(:hover) .notification.clear{display:none}.notification{display:flex;align-items:center;justify-content:center}`;
|
|
1180
|
+
var styleCss$1$8 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:host{display:block}.wrapper:has(:enabled){cursor:text}.wrapper:has(:enabled) label{cursor:text}.helpTextClasses{cursor:default}input{overflow:clip !important;width:100%;padding:0;border:0;background:unset;outline:none;overflow-clip-margin:0 !important;text-overflow:ellipsis}input[type=number]{appearance:textfield}input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.displayValue{display:none}.displayValue.hasContent:is(.withValue):not(.hasFocus){display:flex;align-items:center}.accents:not(.util_displayHidden){display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px}.wrapper:not(:focus-within):not(:hover) .notificationBtn.passwordBtn,.wrapper:not(:focus-within):not(:hover) .notification.clear{display:none}.notification{display:flex;align-items:center;justify-content:center}`;
|
|
1181
1181
|
|
|
1182
1182
|
var styleDefaultCss$2 = i$6`.layoutDefault .typeIcon,:host(:not([layout])) .typeIcon{display:flex;flex-direction:row;align-items:center}.layoutDefault .typeIcon [auro-icon],:host(:not([layout])) .typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.layoutDefault .notificationIcons,:host(:not([layout])) .notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .typeIcon,:host(:not([layout])[bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .notificationIcons,:host(:not([layout])[bordered]) .notificationIcons{align-items:center}:host([class=layoutDefault][bordered]) .notification:not(:first-of-type),:host(:not([layout])[bordered]) .notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .alertNotification,:host(:not([layout])[bordered]) .alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}:host([class=layoutDefault][bordered]) .passwordBtn,:host(:not([layout])[bordered]) .passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}:host([class=layoutDefault][bordered]) .notificationBtn,:host(:not([layout])[bordered]) .notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon],:host(:not([layout])[bordered]) .notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon][hidden],:host(:not([layout])[bordered]) .notificationBtn [auro-icon][hidden]{display:none}:host([class=layoutDefault]:not([bordered])) .typeIcon,:host([class=layoutDefault]:not([bordered])) .notificationIcons,:host(:not([layout]):not([bordered])) .typeIcon,:host(:not([layout]):not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host([class=layoutDefault]:not([bordered])) .clearBtn,:host(:not([layout]):not([bordered])) .clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}.layoutDefault .wrapper:hover .clearBtn,.layoutDefault .wrapper:focus-within .clearBtn,:host(:not([layout])) .wrapper:hover .clearBtn,:host(:not([layout])) .wrapper:focus-within .clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:1}:host([class=layoutDefault]:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification,:host(:not([layout]):focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.layoutDefault input,:host(:not([layout])) input{border:unset}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{position:relative;overflow:hidden;border-style:solid}:host([class=layoutDefault]:not([bordered],[borderless])) .wrapper,:host(:not([layout]):not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([class=layoutDefault][bordered]) .wrapper,:host(:not([layout])[bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host([class=layoutDefault]:not([borderless])) .wrapper:focus-within:before,:host(:not([layout]):not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([class=layoutDefault][validity]:not([validity=valid])) .wrapper:before,:host(:not([layout])[validity]:not([validity=valid])) .wrapper:before{border-bottom:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{text-align:left}.layoutDefault :host,:host(:not([layout])) :host{position:relative;display:block}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{display:flex;flex-direction:row}.layoutDefault .main,:host(:not([layout])) .main{display:flex;flex-direction:row;position:relative;flex:1}`;
|
|
1183
1183
|
|
|
@@ -5553,15 +5553,17 @@ let AuroFormValidation$7 = class AuroFormValidation {
|
|
|
5553
5553
|
);
|
|
5554
5554
|
}
|
|
5555
5555
|
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5556
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
5557
|
+
|
|
5558
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
5559
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
5560
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
5561
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
5562
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
5559
5563
|
hasValue = false;
|
|
5560
5564
|
}
|
|
5561
5565
|
}
|
|
5562
5566
|
|
|
5563
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
5564
|
-
|
|
5565
5567
|
if (isCombobox) {
|
|
5566
5568
|
|
|
5567
5569
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -11242,8 +11244,6 @@ function cleanEscapedString$5(input) {
|
|
|
11242
11244
|
return input.match(escapedStringRegExp$5)[1].replace(doubleQuoteRegExp$5, "'");
|
|
11243
11245
|
}
|
|
11244
11246
|
|
|
11245
|
-
/* eslint-disable max-lines */
|
|
11246
|
-
|
|
11247
11247
|
let AuroInputUtilities$3 = class AuroInputUtilities {
|
|
11248
11248
|
|
|
11249
11249
|
/**
|
|
@@ -11286,7 +11286,7 @@ let AuroInputUtilities$3 = class AuroInputUtilities {
|
|
|
11286
11286
|
/**
|
|
11287
11287
|
* Converts an IMask-style date mask to a date-fns compatible format string.
|
|
11288
11288
|
* @param {string} mask - IMask date mask (e.g. "MM/DD/YYYY").
|
|
11289
|
-
* @returns {string} date-fns format string (e.g. "MM/dd/yyyy").
|
|
11289
|
+
* @returns {string} A date-fns format string (e.g. "MM/dd/yyyy").
|
|
11290
11290
|
*/
|
|
11291
11291
|
toDateFnsMask(mask) {
|
|
11292
11292
|
return mask
|
|
@@ -11508,6 +11508,7 @@ let AuroInputUtilities$3 = class AuroInputUtilities {
|
|
|
11508
11508
|
const maskOptions = this.getMaskOptions('date', normalizedFormat);
|
|
11509
11509
|
|
|
11510
11510
|
if (!(valueObject instanceof Date) || Number.isNaN(valueObject.getTime()) || !maskOptions || typeof maskOptions.format !== 'function') {
|
|
11511
|
+
console.debug('Invalid date object or mask options for formatting', { valueObject, maskOptions }); // eslint-disable-line no-console
|
|
11511
11512
|
return undefined;
|
|
11512
11513
|
}
|
|
11513
11514
|
|
|
@@ -11665,6 +11666,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11665
11666
|
// so a parent (datepicker/combobox) calling `validate()` synchronously
|
|
11666
11667
|
// during its own update cycle sees a populated util instance.
|
|
11667
11668
|
this.activeLabel = false;
|
|
11669
|
+
|
|
11668
11670
|
/** @private */
|
|
11669
11671
|
this.allowedInputTypes = [
|
|
11670
11672
|
"text",
|
|
@@ -11675,6 +11677,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11675
11677
|
"tel"
|
|
11676
11678
|
];
|
|
11677
11679
|
this.appearance = "default";
|
|
11680
|
+
|
|
11678
11681
|
/** @private */
|
|
11679
11682
|
this.dateFormatMap = {
|
|
11680
11683
|
'mm/dd/yyyy': 'dateMMDDYYYY',
|
|
@@ -11693,23 +11696,24 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11693
11696
|
'mm/dd': 'dateMMDD'
|
|
11694
11697
|
};
|
|
11695
11698
|
this.disabled = false;
|
|
11699
|
+
|
|
11696
11700
|
/** @private */
|
|
11697
11701
|
this.domHandler = new DomHandler$3();
|
|
11698
11702
|
this.dvInputOnly = false;
|
|
11699
11703
|
this.hasValue = false;
|
|
11700
11704
|
this.hideLabelVisually = false;
|
|
11701
11705
|
this.icon = false;
|
|
11706
|
+
|
|
11702
11707
|
/** @private */
|
|
11703
11708
|
this.inputIconName = undefined;
|
|
11709
|
+
|
|
11704
11710
|
/** @private */
|
|
11705
11711
|
this.label = 'Input label is undefined';
|
|
11706
11712
|
this.layout = 'classic';
|
|
11707
11713
|
this.locale = 'en-US';
|
|
11708
11714
|
this.max = undefined;
|
|
11709
|
-
this._maxObject = undefined;
|
|
11710
11715
|
this.maxLength = undefined;
|
|
11711
11716
|
this.min = undefined;
|
|
11712
|
-
this._minObject = undefined;
|
|
11713
11717
|
this.minLength = undefined;
|
|
11714
11718
|
this.noValidate = false;
|
|
11715
11719
|
this.onDark = false;
|
|
@@ -11726,23 +11730,27 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11726
11730
|
"email"
|
|
11727
11731
|
];
|
|
11728
11732
|
this.shape = 'classic';
|
|
11733
|
+
|
|
11729
11734
|
/** @private */
|
|
11730
11735
|
this.showPassword = false;
|
|
11731
11736
|
this.size = 'lg';
|
|
11732
11737
|
this.touched = false;
|
|
11738
|
+
|
|
11733
11739
|
/** @private */
|
|
11734
11740
|
this.uniqueId = new UniqueId$2().create();
|
|
11741
|
+
|
|
11735
11742
|
/** @private */
|
|
11736
11743
|
this.util = new AuroInputUtilities$3({
|
|
11737
11744
|
locale: this.locale,
|
|
11738
11745
|
format: this.format
|
|
11739
11746
|
});
|
|
11747
|
+
|
|
11740
11748
|
/** @private */
|
|
11741
11749
|
this.validation = new AuroFormValidation$7();
|
|
11750
|
+
|
|
11742
11751
|
/** @private */
|
|
11743
11752
|
this.validationCCLength = undefined;
|
|
11744
11753
|
this.value = undefined;
|
|
11745
|
-
this._valueObject = undefined;
|
|
11746
11754
|
}
|
|
11747
11755
|
|
|
11748
11756
|
// function to define props used within the scope of this component
|
|
@@ -12180,7 +12188,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12180
12188
|
* @returns {Date|undefined}
|
|
12181
12189
|
*/
|
|
12182
12190
|
get valueObject() {
|
|
12183
|
-
return this.
|
|
12191
|
+
return this.value && dateFormatter$3.isValidDate(this.value) ? dateFormatter$3.stringToDateInstance(this.value) : undefined;
|
|
12184
12192
|
}
|
|
12185
12193
|
|
|
12186
12194
|
/**
|
|
@@ -12188,7 +12196,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12188
12196
|
* @returns {Date|undefined}
|
|
12189
12197
|
*/
|
|
12190
12198
|
get minObject() {
|
|
12191
|
-
return this.
|
|
12199
|
+
return this.min && dateFormatter$3.isValidDate(this.min) ? dateFormatter$3.stringToDateInstance(this.min) : undefined;
|
|
12192
12200
|
}
|
|
12193
12201
|
|
|
12194
12202
|
/**
|
|
@@ -12196,50 +12204,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12196
12204
|
* @returns {Date|undefined}
|
|
12197
12205
|
*/
|
|
12198
12206
|
get maxObject() {
|
|
12199
|
-
return this.
|
|
12200
|
-
}
|
|
12201
|
-
|
|
12202
|
-
/**
|
|
12203
|
-
* Parses a date string into a Date object when the corresponding `_*Object`
|
|
12204
|
-
* field hasn't been synced yet by `updated()`. Returns undefined when the
|
|
12205
|
-
* input type/format isn't a full date or the string is not a valid date.
|
|
12206
|
-
*
|
|
12207
|
-
* Why this exists: a parent (datepicker) can call `inputN.validate()` from
|
|
12208
|
-
* inside its own `updated()` before this input's `updated()` has run
|
|
12209
|
-
* `syncDateValues()` — so `_valueObject`/`_maxObject` are still `undefined`
|
|
12210
|
-
* and range checks would otherwise silently no-op (flipping the result to
|
|
12211
|
-
* `valid` or `patternMismatch`).
|
|
12212
|
-
* @private
|
|
12213
|
-
* @param {string|undefined} dateStr - ISO date string from `value`/`min`/`max`.
|
|
12214
|
-
* @returns {Date|undefined}
|
|
12215
|
-
*/
|
|
12216
|
-
_computeDateObjectFallback(dateStr) {
|
|
12217
|
-
if (!dateStr || !this.util || !this.util.isFullDateFormat(this.type, this.format)) {
|
|
12218
|
-
return undefined;
|
|
12219
|
-
}
|
|
12220
|
-
if (!dateFormatter$3.isValidDate(dateStr)) {
|
|
12221
|
-
return undefined;
|
|
12222
|
-
}
|
|
12223
|
-
return dateFormatter$3.stringToDateInstance(dateStr);
|
|
12224
|
-
}
|
|
12225
|
-
|
|
12226
|
-
/**
|
|
12227
|
-
* Internal setter for readonly date object properties.
|
|
12228
|
-
* @private
|
|
12229
|
-
* @param {'valueObject'|'minObject'|'maxObject'} propertyName - Public object property name.
|
|
12230
|
-
* @param {Date|undefined} propertyValue - Value to assign.
|
|
12231
|
-
* @returns {void}
|
|
12232
|
-
*/
|
|
12233
|
-
setDateObjectProperty(propertyName, propertyValue) {
|
|
12234
|
-
const internalPropertyName = `_${propertyName}`;
|
|
12235
|
-
const previousValue = this[internalPropertyName];
|
|
12236
|
-
|
|
12237
|
-
if (previousValue === propertyValue) {
|
|
12238
|
-
return;
|
|
12239
|
-
}
|
|
12240
|
-
|
|
12241
|
-
this[internalPropertyName] = propertyValue;
|
|
12242
|
-
this.requestUpdate(propertyName, previousValue);
|
|
12207
|
+
return this.max && dateFormatter$3.isValidDate(this.max) ? dateFormatter$3.stringToDateInstance(this.max) : undefined;
|
|
12243
12208
|
}
|
|
12244
12209
|
|
|
12245
12210
|
connectedCallback() {
|
|
@@ -12268,7 +12233,6 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12268
12233
|
format: this.format
|
|
12269
12234
|
});
|
|
12270
12235
|
this.configureDataForType();
|
|
12271
|
-
this.syncDateValues();
|
|
12272
12236
|
}
|
|
12273
12237
|
|
|
12274
12238
|
disconnectedCallback() {
|
|
@@ -12307,7 +12271,6 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12307
12271
|
this.setCustomHelpTextMessage();
|
|
12308
12272
|
this.configureAutoFormatting();
|
|
12309
12273
|
this.configureDataForType();
|
|
12310
|
-
this.syncDateValues();
|
|
12311
12274
|
}
|
|
12312
12275
|
|
|
12313
12276
|
/**
|
|
@@ -12365,7 +12328,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12365
12328
|
|
|
12366
12329
|
/**
|
|
12367
12330
|
* @private
|
|
12368
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
12331
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
12369
12332
|
* @returns {void} Sets the default help text for the input.
|
|
12370
12333
|
*/
|
|
12371
12334
|
setCustomHelpTextMessage() {
|
|
@@ -12451,8 +12414,6 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12451
12414
|
this.configureDataForType();
|
|
12452
12415
|
}
|
|
12453
12416
|
|
|
12454
|
-
this.syncDateValues(changedProperties);
|
|
12455
|
-
|
|
12456
12417
|
if (changedProperties.has('value')) {
|
|
12457
12418
|
if (this.value && this.value.length > 0) {
|
|
12458
12419
|
this.hasValue = true;
|
|
@@ -12474,14 +12435,14 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12474
12435
|
|
|
12475
12436
|
if (formattedValue !== this.inputElement.value) {
|
|
12476
12437
|
this.skipNextProgrammaticInputEvent = true;
|
|
12477
|
-
if (this.maskInstance && this.type
|
|
12438
|
+
if (this.maskInstance && this.type !== 'date') {
|
|
12478
12439
|
// Route through the mask so its _value and el.value stay in lock-step
|
|
12479
12440
|
// (set value calls updateControl which writes el.value = displayValue).
|
|
12480
12441
|
// Writing el.value directly leaves the mask thinking displayValue is
|
|
12481
|
-
// stale; _saveSelection on the next focus/click then warns.
|
|
12482
|
-
//
|
|
12483
|
-
//
|
|
12484
|
-
//
|
|
12442
|
+
// stale; _saveSelection on the next focus/click then warns. Date is
|
|
12443
|
+
// excluded because its formattedValue can be raw ISO when the calendar
|
|
12444
|
+
// is invalid, and re-masking through mm/dd/yyyy would truncate it and
|
|
12445
|
+
// flip validity from patternMismatch to tooShort.
|
|
12485
12446
|
this.maskInstance.value = formattedValue || '';
|
|
12486
12447
|
} else if (formattedValue) {
|
|
12487
12448
|
this.inputElement.value = formattedValue;
|
|
@@ -12523,120 +12484,65 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12523
12484
|
}));
|
|
12524
12485
|
}
|
|
12525
12486
|
|
|
12526
|
-
|
|
12527
|
-
/**
|
|
12528
|
-
* Synchronizes the ISO string values and Date object representations for date-related properties.
|
|
12529
|
-
* This keeps the model and display values aligned when either side changes.
|
|
12530
|
-
*
|
|
12531
|
-
* When a full date format is in use, this method updates `value`, `min`, and `max` from their corresponding
|
|
12532
|
-
* Date objects or vice versa, based on which properties have changed. It only runs when the current configuration
|
|
12533
|
-
* represents a full year/month/day date format.
|
|
12534
|
-
*
|
|
12535
|
-
* @param {Map<string, unknown>|undefined} [changedProperties=undefined] - Optional map of changed properties used to limit which values are synchronized.
|
|
12536
|
-
* @returns {void}
|
|
12537
|
-
* @private
|
|
12538
|
-
*/
|
|
12539
|
-
syncDateValues(changedProperties = undefined) {
|
|
12540
|
-
if (!this.util.isFullDateFormat(this.type, this.format)) {
|
|
12541
|
-
return;
|
|
12542
|
-
}
|
|
12543
|
-
|
|
12544
|
-
this.syncSingleDateValue(changedProperties, 'valueObject', 'value');
|
|
12545
|
-
this.syncSingleDateValue(changedProperties, 'minObject', 'min');
|
|
12546
|
-
this.syncSingleDateValue(changedProperties, 'maxObject', 'max');
|
|
12547
|
-
}
|
|
12548
|
-
|
|
12549
|
-
/**
|
|
12550
|
-
* Synchronizes one date object/string property pair.
|
|
12551
|
-
* @private
|
|
12552
|
-
* @param {Map<string, unknown>|undefined} changedProperties - Map of changed properties from Lit.
|
|
12553
|
-
* @param {string} objectProperty - Date object property name.
|
|
12554
|
-
* @param {string} valueProperty - ISO string property name.
|
|
12555
|
-
* @returns {void}
|
|
12556
|
-
*/
|
|
12557
|
-
syncSingleDateValue(changedProperties, objectProperty, valueProperty) {
|
|
12558
|
-
const objectPropertyChanged = !changedProperties || changedProperties.has(objectProperty);
|
|
12559
|
-
|
|
12560
|
-
// objectProperty wins over valueProperty when both changed
|
|
12561
|
-
if (objectPropertyChanged && this[objectProperty]) {
|
|
12562
|
-
this[valueProperty] = dateFormatter$3.toISOFormatString(this[objectProperty]);
|
|
12563
|
-
return;
|
|
12564
|
-
}
|
|
12565
|
-
|
|
12566
|
-
const valuePropertyChanged = !changedProperties || changedProperties.has(valueProperty);
|
|
12567
|
-
if (!valuePropertyChanged) {
|
|
12568
|
-
return;
|
|
12569
|
-
}
|
|
12570
|
-
|
|
12571
|
-
// when value is newly set to the same ISO string that corresponds to the existing Date object, do not clear the Date object (avoid unnecessary updates)
|
|
12572
|
-
if (
|
|
12573
|
-
changedProperties &&
|
|
12574
|
-
valueProperty === 'value' &&
|
|
12575
|
-
changedProperties.get('value') === undefined &&
|
|
12576
|
-
this[objectProperty] instanceof Date &&
|
|
12577
|
-
this[valueProperty] === dateFormatter$3.toISOFormatString(this[objectProperty])
|
|
12578
|
-
) {
|
|
12579
|
-
return;
|
|
12580
|
-
}
|
|
12581
|
-
|
|
12582
|
-
if (dateFormatter$3.isValidDate(this[valueProperty])) {
|
|
12583
|
-
this.setDateObjectProperty(objectProperty, dateFormatter$3.stringToDateInstance(this[valueProperty]));
|
|
12584
|
-
} else {
|
|
12585
|
-
this.setDateObjectProperty(objectProperty, undefined);
|
|
12586
|
-
}
|
|
12587
|
-
}
|
|
12588
|
-
|
|
12589
12487
|
/**
|
|
12590
12488
|
* Sets up IMasks and logic based on auto-formatting requirements.
|
|
12591
12489
|
* @private
|
|
12592
12490
|
* @returns {void}
|
|
12593
12491
|
*/
|
|
12594
12492
|
configureAutoFormatting() {
|
|
12595
|
-
//
|
|
12596
|
-
//
|
|
12597
|
-
//
|
|
12598
|
-
//
|
|
12493
|
+
// _configuringMask gates two things: external re-entry into this method
|
|
12494
|
+
// while setup is mid-flight (from property changes that call back here),
|
|
12495
|
+
// and the accept/complete listeners below — both need to ignore the mask
|
|
12496
|
+
// events fired by our own value-restore step.
|
|
12599
12497
|
if (this._configuringMask) return;
|
|
12600
12498
|
this._configuringMask = true;
|
|
12601
12499
|
try {
|
|
12500
|
+
// Destroy any prior mask so IMask can attach fresh under the new format.
|
|
12501
|
+
// Null the reference too — if the new maskOptions.mask is falsy (e.g.
|
|
12502
|
+
// type switched from credit-card to text) the IMask() reassignment
|
|
12503
|
+
// below is skipped, and downstream writes at line ~823 would otherwise
|
|
12504
|
+
// route through the destroyed instance.
|
|
12602
12505
|
if (this.maskInstance) {
|
|
12603
12506
|
this.maskInstance.destroy();
|
|
12507
|
+
this.maskInstance = null;
|
|
12604
12508
|
}
|
|
12605
12509
|
|
|
12606
|
-
// Pass new format to util
|
|
12607
12510
|
this.util.updateFormat(this.format);
|
|
12608
12511
|
|
|
12609
12512
|
const maskOptions = this.util.getMaskOptions(this.type, this.format);
|
|
12610
12513
|
|
|
12611
12514
|
if (this.inputElement && maskOptions.mask) {
|
|
12612
|
-
|
|
12613
|
-
//
|
|
12614
|
-
//
|
|
12615
|
-
//
|
|
12616
|
-
// When the format changes (e.g. locale switch) and we have a valid ISO
|
|
12617
|
-
// model value, compute the display string for the NEW format instead of
|
|
12618
|
-
// re-using the old display string, which may be invalid in the new mask.
|
|
12515
|
+
// Capture the current display so it can be re-applied after IMask
|
|
12516
|
+
// attaches. The restore at the bottom goes through maskInstance.value
|
|
12517
|
+
// (not inputElement.value directly) so the mask's internal state and
|
|
12518
|
+
// the input's displayed text stay in lock-step.
|
|
12619
12519
|
let existingValue = this.inputElement.value;
|
|
12520
|
+
|
|
12521
|
+
// Format-change case (e.g. locale switch): existingValue is the OLD
|
|
12522
|
+
// mask's display string and may not parse under the new mask. When
|
|
12523
|
+
// we have a valid date model, rebuild the display from valueObject
|
|
12524
|
+
// (the canonical source) using the new mask's format function.
|
|
12620
12525
|
if (
|
|
12621
12526
|
this.util.isFullDateFormat(this.type, this.format) &&
|
|
12622
12527
|
this.value &&
|
|
12623
|
-
|
|
12624
|
-
this.valueObject instanceof Date &&
|
|
12625
|
-
!Number.isNaN(this.valueObject.getTime()) &&
|
|
12528
|
+
this.valueObject &&
|
|
12626
12529
|
typeof maskOptions.format === 'function'
|
|
12627
12530
|
) {
|
|
12628
12531
|
existingValue = maskOptions.format(this.valueObject);
|
|
12629
12532
|
}
|
|
12630
12533
|
|
|
12534
|
+
// Clear before IMask attaches so the constructor seeds an empty
|
|
12535
|
+
// internal value. Otherwise IMask reads the stale unmasked string
|
|
12536
|
+
// and emits a spurious 'accept' before the restore below runs.
|
|
12631
12537
|
this.skipNextProgrammaticInputEvent = true;
|
|
12632
12538
|
this.inputElement.value = '';
|
|
12633
12539
|
|
|
12634
12540
|
this.maskInstance = IMask$3(this.inputElement, maskOptions);
|
|
12635
12541
|
|
|
12542
|
+
// Mask fires 'accept' on every value change, including the restore
|
|
12543
|
+
// step below. Skip events fired during configureAutoFormatting so
|
|
12544
|
+
// we don't overwrite a value the parent just pushed.
|
|
12636
12545
|
this.maskInstance.on('accept', () => {
|
|
12637
|
-
// Suppress propagation during configureAutoFormatting's own value-restoration
|
|
12638
|
-
// (line below) — the mask emits 'accept' on every value-set, including ours,
|
|
12639
|
-
// and we don't want to overwrite a value the parent just pushed.
|
|
12640
12546
|
if (this._configuringMask) return;
|
|
12641
12547
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
12642
12548
|
if (this.type === "date") {
|
|
@@ -12644,6 +12550,8 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12644
12550
|
}
|
|
12645
12551
|
});
|
|
12646
12552
|
|
|
12553
|
+
// Mask fires 'complete' on the restore step below for any value that
|
|
12554
|
+
// happens to be a complete match. Same setup-suppression as 'accept'.
|
|
12647
12555
|
this.maskInstance.on('complete', () => {
|
|
12648
12556
|
if (this._configuringMask) return;
|
|
12649
12557
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
@@ -12652,7 +12560,9 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12652
12560
|
}
|
|
12653
12561
|
});
|
|
12654
12562
|
|
|
12655
|
-
//
|
|
12563
|
+
// Write existingValue through the mask (not the input directly) so
|
|
12564
|
+
// the mask reformats it under the new rules and keeps its internal
|
|
12565
|
+
// _value aligned with the input's displayed text.
|
|
12656
12566
|
if (existingValue) {
|
|
12657
12567
|
this.maskInstance.value = existingValue;
|
|
12658
12568
|
}
|
|
@@ -12746,10 +12656,10 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12746
12656
|
// the gated types currently support it, since the list is a public
|
|
12747
12657
|
// property a consumer could mutate.
|
|
12748
12658
|
if (this.setSelectionInputTypes.includes(this.type)) {
|
|
12749
|
-
let selectionStart;
|
|
12659
|
+
let selectionStart = null;
|
|
12750
12660
|
try {
|
|
12751
|
-
selectionStart = this.inputElement
|
|
12752
|
-
} catch
|
|
12661
|
+
({ selectionStart } = this.inputElement);
|
|
12662
|
+
} catch {
|
|
12753
12663
|
return;
|
|
12754
12664
|
}
|
|
12755
12665
|
if (typeof selectionStart !== 'number') {
|
|
@@ -12758,7 +12668,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12758
12668
|
this.updateComplete.then(() => {
|
|
12759
12669
|
try {
|
|
12760
12670
|
this.inputElement.setSelectionRange(selectionStart, selectionStart);
|
|
12761
|
-
} catch
|
|
12671
|
+
} catch {
|
|
12762
12672
|
// Some input types (number/email in certain UAs) throw on
|
|
12763
12673
|
// setSelectionRange; swallow and let the native cursor stand.
|
|
12764
12674
|
}
|
|
@@ -12852,7 +12762,6 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12852
12762
|
*/
|
|
12853
12763
|
reset() {
|
|
12854
12764
|
this.value = undefined;
|
|
12855
|
-
this.setDateObjectProperty('valueObject', undefined);
|
|
12856
12765
|
this.validation.reset(this);
|
|
12857
12766
|
}
|
|
12858
12767
|
|
|
@@ -12861,7 +12770,6 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12861
12770
|
*/
|
|
12862
12771
|
clear() {
|
|
12863
12772
|
this.value = undefined;
|
|
12864
|
-
this.setDateObjectProperty('valueObject', undefined);
|
|
12865
12773
|
}
|
|
12866
12774
|
|
|
12867
12775
|
/**
|
|
@@ -12936,7 +12844,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12936
12844
|
/**
|
|
12937
12845
|
* Function to support credit-card feature type.
|
|
12938
12846
|
* @private
|
|
12939
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
12847
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
12940
12848
|
* @returns {object} JSON with data for credit card formatting.
|
|
12941
12849
|
*/
|
|
12942
12850
|
matchInputValueToCreditCard() {
|
|
@@ -13390,7 +13298,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$3 {
|
|
|
13390
13298
|
}
|
|
13391
13299
|
};
|
|
13392
13300
|
|
|
13393
|
-
var formkitVersion$8 = '
|
|
13301
|
+
var formkitVersion$8 = '202607011652';
|
|
13394
13302
|
|
|
13395
13303
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13396
13304
|
// See LICENSE in the project root for license information.
|
|
@@ -13713,7 +13621,7 @@ let AuroInput$2 = class AuroInput extends BaseInput$2 {
|
|
|
13713
13621
|
/**
|
|
13714
13622
|
* Determines default help text string.
|
|
13715
13623
|
* @private
|
|
13716
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
13624
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
13717
13625
|
* @returns {string} Evaluates pre-determined help text.
|
|
13718
13626
|
*/
|
|
13719
13627
|
getHelpText() {
|
|
@@ -14763,15 +14671,17 @@ let AuroFormValidation$1$1 = class AuroFormValidation {
|
|
|
14763
14671
|
);
|
|
14764
14672
|
}
|
|
14765
14673
|
|
|
14766
|
-
|
|
14767
|
-
|
|
14768
|
-
|
|
14674
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
14675
|
+
|
|
14676
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
14677
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
14678
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
14679
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
14680
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
14769
14681
|
hasValue = false;
|
|
14770
14682
|
}
|
|
14771
14683
|
}
|
|
14772
14684
|
|
|
14773
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
14774
|
-
|
|
14775
14685
|
if (isCombobox) {
|
|
14776
14686
|
|
|
14777
14687
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -24375,8 +24285,6 @@ try {
|
|
|
24375
24285
|
globalThis.IMask = IMask$1;
|
|
24376
24286
|
} catch {}
|
|
24377
24287
|
|
|
24378
|
-
/* eslint-disable max-lines */
|
|
24379
|
-
|
|
24380
24288
|
let AuroInputUtilities$1 = class AuroInputUtilities {
|
|
24381
24289
|
|
|
24382
24290
|
/**
|
|
@@ -24419,7 +24327,7 @@ let AuroInputUtilities$1 = class AuroInputUtilities {
|
|
|
24419
24327
|
/**
|
|
24420
24328
|
* Converts an IMask-style date mask to a date-fns compatible format string.
|
|
24421
24329
|
* @param {string} mask - IMask date mask (e.g. "MM/DD/YYYY").
|
|
24422
|
-
* @returns {string} date-fns format string (e.g. "MM/dd/yyyy").
|
|
24330
|
+
* @returns {string} A date-fns format string (e.g. "MM/dd/yyyy").
|
|
24423
24331
|
*/
|
|
24424
24332
|
toDateFnsMask(mask) {
|
|
24425
24333
|
return mask
|
|
@@ -24641,6 +24549,7 @@ let AuroInputUtilities$1 = class AuroInputUtilities {
|
|
|
24641
24549
|
const maskOptions = this.getMaskOptions('date', normalizedFormat);
|
|
24642
24550
|
|
|
24643
24551
|
if (!(valueObject instanceof Date) || Number.isNaN(valueObject.getTime()) || !maskOptions || typeof maskOptions.format !== 'function') {
|
|
24552
|
+
console.debug('Invalid date object or mask options for formatting', { valueObject, maskOptions }); // eslint-disable-line no-console
|
|
24644
24553
|
return undefined;
|
|
24645
24554
|
}
|
|
24646
24555
|
|
|
@@ -27666,7 +27575,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$3 {
|
|
|
27666
27575
|
}
|
|
27667
27576
|
};
|
|
27668
27577
|
|
|
27669
|
-
var formkitVersion$2$1 = '
|
|
27578
|
+
var formkitVersion$2$1 = '202607011652';
|
|
27670
27579
|
|
|
27671
27580
|
let l$1$2 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=i$2`${s$3(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1$2 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$1$2 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$1$3=i$6`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
27672
27581
|
`,u$4$2=i$6`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
|
|
@@ -33418,7 +33327,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$3 {
|
|
|
33418
33327
|
}
|
|
33419
33328
|
};
|
|
33420
33329
|
|
|
33421
|
-
var formkitVersion$1$3 = '
|
|
33330
|
+
var formkitVersion$1$3 = '202607011652';
|
|
33422
33331
|
|
|
33423
33332
|
let AuroElement$2$2 = class AuroElement extends i$3 {
|
|
33424
33333
|
static get properties() {
|
|
@@ -34817,7 +34726,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
34817
34726
|
|
|
34818
34727
|
var shapeSizeCss$4 = i$6`.shape-classic-xl,.shape-classic-lg,.shape-classic-md,.shape-classic-sm,.shape-classic-xs{min-height:56px;max-height:56px;border-style:solid;border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}.shape-classic-xl.simple,.shape-classic-lg.simple,.shape-classic-md.simple,.shape-classic-sm.simple,.shape-classic-xs.simple{border-width:0px;min-height:58px;max-height:58px;background-color:unset;box-shadow:none}.shape-classic-xl.thin,.shape-classic-lg.thin,.shape-classic-md.thin,.shape-classic-sm.thin,.shape-classic-xs.thin{border-width:1px;min-height:56px;max-height:56px;background-color:unset}.shape-classic-xl.parentBorder,.shape-classic-lg.parentBorder,.shape-classic-md.parentBorder,.shape-classic-sm.parentBorder,.shape-classic-xs.parentBorder{border:0;box-shadow:unset;min-height:54px;max-height:54px}.shape-snowflake-xl,.shape-snowflake-lg,.shape-snowflake-md,.shape-snowflake-sm,.shape-snowflake-xs{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:30px}.shape-snowflake-xl.simple,.shape-snowflake-lg.simple,.shape-snowflake-md.simple,.shape-snowflake-sm.simple,.shape-snowflake-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-snowflake-xl.thin,.shape-snowflake-lg.thin,.shape-snowflake-md.thin,.shape-snowflake-sm.thin,.shape-snowflake-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-snowflake-xl.parentBorder,.shape-snowflake-lg.parentBorder,.shape-snowflake-md.parentBorder,.shape-snowflake-sm.parentBorder,.shape-snowflake-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-box-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-box-lg{min-height:52px;max-height:52px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-box-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-box-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-box-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-box-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-box-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-box-sm{min-height:32px;max-height:32px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-sm.simple{border-width:0px;min-height:36px;max-height:36px;background-color:unset;box-shadow:none}.shape-box-sm.thin{border-width:1px;min-height:34px;max-height:34px;background-color:unset}.shape-box-sm.parentBorder{border:0;box-shadow:unset;min-height:32px;max-height:32px}.shape-box-xs{min-height:20px;max-height:20px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xs.simple{border-width:0px;min-height:24px;max-height:24px;background-color:unset;box-shadow:none}.shape-box-xs.thin{border-width:1px;min-height:22px;max-height:22px;background-color:unset}.shape-box-xs.parentBorder{border:0;box-shadow:unset;min-height:20px;max-height:20px}.shape-rounded-lg{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-rounded-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-left-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-right-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-left-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-right-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}`;
|
|
34819
34728
|
|
|
34820
|
-
var styleCss$1$7 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:host{display:block}.wrapper:has(:enabled){cursor:text}.wrapper:has(:enabled) label{cursor:text}.helpTextClasses{cursor:default}input{overflow:clip !important;width:100%;padding:0;border:0;background:unset;outline:none;overflow-clip-margin:0 !important;text-overflow:ellipsis}input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.displayValue{display:none}.displayValue.hasContent:is(.withValue):not(.hasFocus){display:flex;align-items:center}.accents:not(.util_displayHidden){display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px}.wrapper:not(:focus-within):not(:hover) .notificationBtn.passwordBtn,.wrapper:not(:focus-within):not(:hover) .notification.clear{display:none}.notification{display:flex;align-items:center;justify-content:center}`;
|
|
34729
|
+
var styleCss$1$7 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:host{display:block}.wrapper:has(:enabled){cursor:text}.wrapper:has(:enabled) label{cursor:text}.helpTextClasses{cursor:default}input{overflow:clip !important;width:100%;padding:0;border:0;background:unset;outline:none;overflow-clip-margin:0 !important;text-overflow:ellipsis}input[type=number]{appearance:textfield}input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.displayValue{display:none}.displayValue.hasContent:is(.withValue):not(.hasFocus){display:flex;align-items:center}.accents:not(.util_displayHidden){display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px}.wrapper:not(:focus-within):not(:hover) .notificationBtn.passwordBtn,.wrapper:not(:focus-within):not(:hover) .notification.clear{display:none}.notification{display:flex;align-items:center;justify-content:center}`;
|
|
34821
34730
|
|
|
34822
34731
|
var styleDefaultCss$1 = i$6`.layoutDefault .typeIcon,:host(:not([layout])) .typeIcon{display:flex;flex-direction:row;align-items:center}.layoutDefault .typeIcon [auro-icon],:host(:not([layout])) .typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.layoutDefault .notificationIcons,:host(:not([layout])) .notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .typeIcon,:host(:not([layout])[bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .notificationIcons,:host(:not([layout])[bordered]) .notificationIcons{align-items:center}:host([class=layoutDefault][bordered]) .notification:not(:first-of-type),:host(:not([layout])[bordered]) .notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .alertNotification,:host(:not([layout])[bordered]) .alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}:host([class=layoutDefault][bordered]) .passwordBtn,:host(:not([layout])[bordered]) .passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}:host([class=layoutDefault][bordered]) .notificationBtn,:host(:not([layout])[bordered]) .notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon],:host(:not([layout])[bordered]) .notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon][hidden],:host(:not([layout])[bordered]) .notificationBtn [auro-icon][hidden]{display:none}:host([class=layoutDefault]:not([bordered])) .typeIcon,:host([class=layoutDefault]:not([bordered])) .notificationIcons,:host(:not([layout]):not([bordered])) .typeIcon,:host(:not([layout]):not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host([class=layoutDefault]:not([bordered])) .clearBtn,:host(:not([layout]):not([bordered])) .clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}.layoutDefault .wrapper:hover .clearBtn,.layoutDefault .wrapper:focus-within .clearBtn,:host(:not([layout])) .wrapper:hover .clearBtn,:host(:not([layout])) .wrapper:focus-within .clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:1}:host([class=layoutDefault]:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification,:host(:not([layout]):focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.layoutDefault input,:host(:not([layout])) input{border:unset}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{position:relative;overflow:hidden;border-style:solid}:host([class=layoutDefault]:not([bordered],[borderless])) .wrapper,:host(:not([layout]):not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([class=layoutDefault][bordered]) .wrapper,:host(:not([layout])[bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host([class=layoutDefault]:not([borderless])) .wrapper:focus-within:before,:host(:not([layout]):not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([class=layoutDefault][validity]:not([validity=valid])) .wrapper:before,:host(:not([layout])[validity]:not([validity=valid])) .wrapper:before{border-bottom:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{text-align:left}.layoutDefault :host,:host(:not([layout])) :host{position:relative;display:block}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{display:flex;flex-direction:row}.layoutDefault .main,:host(:not([layout])) .main{display:flex;flex-direction:row;position:relative;flex:1}`;
|
|
34823
34732
|
|
|
@@ -39193,15 +39102,17 @@ let AuroFormValidation$6 = class AuroFormValidation {
|
|
|
39193
39102
|
);
|
|
39194
39103
|
}
|
|
39195
39104
|
|
|
39196
|
-
|
|
39197
|
-
|
|
39198
|
-
|
|
39105
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
39106
|
+
|
|
39107
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
39108
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
39109
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
39110
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
39111
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
39199
39112
|
hasValue = false;
|
|
39200
39113
|
}
|
|
39201
39114
|
}
|
|
39202
39115
|
|
|
39203
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
39204
|
-
|
|
39205
39116
|
if (isCombobox) {
|
|
39206
39117
|
|
|
39207
39118
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -44882,8 +44793,6 @@ function cleanEscapedString$4(input) {
|
|
|
44882
44793
|
return input.match(escapedStringRegExp$4)[1].replace(doubleQuoteRegExp$4, "'");
|
|
44883
44794
|
}
|
|
44884
44795
|
|
|
44885
|
-
/* eslint-disable max-lines */
|
|
44886
|
-
|
|
44887
44796
|
let AuroInputUtilities$2 = class AuroInputUtilities {
|
|
44888
44797
|
|
|
44889
44798
|
/**
|
|
@@ -44926,7 +44835,7 @@ let AuroInputUtilities$2 = class AuroInputUtilities {
|
|
|
44926
44835
|
/**
|
|
44927
44836
|
* Converts an IMask-style date mask to a date-fns compatible format string.
|
|
44928
44837
|
* @param {string} mask - IMask date mask (e.g. "MM/DD/YYYY").
|
|
44929
|
-
* @returns {string} date-fns format string (e.g. "MM/dd/yyyy").
|
|
44838
|
+
* @returns {string} A date-fns format string (e.g. "MM/dd/yyyy").
|
|
44930
44839
|
*/
|
|
44931
44840
|
toDateFnsMask(mask) {
|
|
44932
44841
|
return mask
|
|
@@ -45148,6 +45057,7 @@ let AuroInputUtilities$2 = class AuroInputUtilities {
|
|
|
45148
45057
|
const maskOptions = this.getMaskOptions('date', normalizedFormat);
|
|
45149
45058
|
|
|
45150
45059
|
if (!(valueObject instanceof Date) || Number.isNaN(valueObject.getTime()) || !maskOptions || typeof maskOptions.format !== 'function') {
|
|
45060
|
+
console.debug('Invalid date object or mask options for formatting', { valueObject, maskOptions }); // eslint-disable-line no-console
|
|
45151
45061
|
return undefined;
|
|
45152
45062
|
}
|
|
45153
45063
|
|
|
@@ -45305,6 +45215,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45305
45215
|
// so a parent (datepicker/combobox) calling `validate()` synchronously
|
|
45306
45216
|
// during its own update cycle sees a populated util instance.
|
|
45307
45217
|
this.activeLabel = false;
|
|
45218
|
+
|
|
45308
45219
|
/** @private */
|
|
45309
45220
|
this.allowedInputTypes = [
|
|
45310
45221
|
"text",
|
|
@@ -45315,6 +45226,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45315
45226
|
"tel"
|
|
45316
45227
|
];
|
|
45317
45228
|
this.appearance = "default";
|
|
45229
|
+
|
|
45318
45230
|
/** @private */
|
|
45319
45231
|
this.dateFormatMap = {
|
|
45320
45232
|
'mm/dd/yyyy': 'dateMMDDYYYY',
|
|
@@ -45333,23 +45245,24 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45333
45245
|
'mm/dd': 'dateMMDD'
|
|
45334
45246
|
};
|
|
45335
45247
|
this.disabled = false;
|
|
45248
|
+
|
|
45336
45249
|
/** @private */
|
|
45337
45250
|
this.domHandler = new DomHandler$2();
|
|
45338
45251
|
this.dvInputOnly = false;
|
|
45339
45252
|
this.hasValue = false;
|
|
45340
45253
|
this.hideLabelVisually = false;
|
|
45341
45254
|
this.icon = false;
|
|
45255
|
+
|
|
45342
45256
|
/** @private */
|
|
45343
45257
|
this.inputIconName = undefined;
|
|
45258
|
+
|
|
45344
45259
|
/** @private */
|
|
45345
45260
|
this.label = 'Input label is undefined';
|
|
45346
45261
|
this.layout = 'classic';
|
|
45347
45262
|
this.locale = 'en-US';
|
|
45348
45263
|
this.max = undefined;
|
|
45349
|
-
this._maxObject = undefined;
|
|
45350
45264
|
this.maxLength = undefined;
|
|
45351
45265
|
this.min = undefined;
|
|
45352
|
-
this._minObject = undefined;
|
|
45353
45266
|
this.minLength = undefined;
|
|
45354
45267
|
this.noValidate = false;
|
|
45355
45268
|
this.onDark = false;
|
|
@@ -45366,23 +45279,27 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45366
45279
|
"email"
|
|
45367
45280
|
];
|
|
45368
45281
|
this.shape = 'classic';
|
|
45282
|
+
|
|
45369
45283
|
/** @private */
|
|
45370
45284
|
this.showPassword = false;
|
|
45371
45285
|
this.size = 'lg';
|
|
45372
45286
|
this.touched = false;
|
|
45287
|
+
|
|
45373
45288
|
/** @private */
|
|
45374
45289
|
this.uniqueId = new UniqueId$1().create();
|
|
45290
|
+
|
|
45375
45291
|
/** @private */
|
|
45376
45292
|
this.util = new AuroInputUtilities$2({
|
|
45377
45293
|
locale: this.locale,
|
|
45378
45294
|
format: this.format
|
|
45379
45295
|
});
|
|
45296
|
+
|
|
45380
45297
|
/** @private */
|
|
45381
45298
|
this.validation = new AuroFormValidation$6();
|
|
45299
|
+
|
|
45382
45300
|
/** @private */
|
|
45383
45301
|
this.validationCCLength = undefined;
|
|
45384
45302
|
this.value = undefined;
|
|
45385
|
-
this._valueObject = undefined;
|
|
45386
45303
|
}
|
|
45387
45304
|
|
|
45388
45305
|
// function to define props used within the scope of this component
|
|
@@ -45820,7 +45737,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45820
45737
|
* @returns {Date|undefined}
|
|
45821
45738
|
*/
|
|
45822
45739
|
get valueObject() {
|
|
45823
|
-
return this.
|
|
45740
|
+
return this.value && dateFormatter$2.isValidDate(this.value) ? dateFormatter$2.stringToDateInstance(this.value) : undefined;
|
|
45824
45741
|
}
|
|
45825
45742
|
|
|
45826
45743
|
/**
|
|
@@ -45828,7 +45745,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45828
45745
|
* @returns {Date|undefined}
|
|
45829
45746
|
*/
|
|
45830
45747
|
get minObject() {
|
|
45831
|
-
return this.
|
|
45748
|
+
return this.min && dateFormatter$2.isValidDate(this.min) ? dateFormatter$2.stringToDateInstance(this.min) : undefined;
|
|
45832
45749
|
}
|
|
45833
45750
|
|
|
45834
45751
|
/**
|
|
@@ -45836,50 +45753,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45836
45753
|
* @returns {Date|undefined}
|
|
45837
45754
|
*/
|
|
45838
45755
|
get maxObject() {
|
|
45839
|
-
return this.
|
|
45840
|
-
}
|
|
45841
|
-
|
|
45842
|
-
/**
|
|
45843
|
-
* Parses a date string into a Date object when the corresponding `_*Object`
|
|
45844
|
-
* field hasn't been synced yet by `updated()`. Returns undefined when the
|
|
45845
|
-
* input type/format isn't a full date or the string is not a valid date.
|
|
45846
|
-
*
|
|
45847
|
-
* Why this exists: a parent (datepicker) can call `inputN.validate()` from
|
|
45848
|
-
* inside its own `updated()` before this input's `updated()` has run
|
|
45849
|
-
* `syncDateValues()` — so `_valueObject`/`_maxObject` are still `undefined`
|
|
45850
|
-
* and range checks would otherwise silently no-op (flipping the result to
|
|
45851
|
-
* `valid` or `patternMismatch`).
|
|
45852
|
-
* @private
|
|
45853
|
-
* @param {string|undefined} dateStr - ISO date string from `value`/`min`/`max`.
|
|
45854
|
-
* @returns {Date|undefined}
|
|
45855
|
-
*/
|
|
45856
|
-
_computeDateObjectFallback(dateStr) {
|
|
45857
|
-
if (!dateStr || !this.util || !this.util.isFullDateFormat(this.type, this.format)) {
|
|
45858
|
-
return undefined;
|
|
45859
|
-
}
|
|
45860
|
-
if (!dateFormatter$2.isValidDate(dateStr)) {
|
|
45861
|
-
return undefined;
|
|
45862
|
-
}
|
|
45863
|
-
return dateFormatter$2.stringToDateInstance(dateStr);
|
|
45864
|
-
}
|
|
45865
|
-
|
|
45866
|
-
/**
|
|
45867
|
-
* Internal setter for readonly date object properties.
|
|
45868
|
-
* @private
|
|
45869
|
-
* @param {'valueObject'|'minObject'|'maxObject'} propertyName - Public object property name.
|
|
45870
|
-
* @param {Date|undefined} propertyValue - Value to assign.
|
|
45871
|
-
* @returns {void}
|
|
45872
|
-
*/
|
|
45873
|
-
setDateObjectProperty(propertyName, propertyValue) {
|
|
45874
|
-
const internalPropertyName = `_${propertyName}`;
|
|
45875
|
-
const previousValue = this[internalPropertyName];
|
|
45876
|
-
|
|
45877
|
-
if (previousValue === propertyValue) {
|
|
45878
|
-
return;
|
|
45879
|
-
}
|
|
45880
|
-
|
|
45881
|
-
this[internalPropertyName] = propertyValue;
|
|
45882
|
-
this.requestUpdate(propertyName, previousValue);
|
|
45756
|
+
return this.max && dateFormatter$2.isValidDate(this.max) ? dateFormatter$2.stringToDateInstance(this.max) : undefined;
|
|
45883
45757
|
}
|
|
45884
45758
|
|
|
45885
45759
|
connectedCallback() {
|
|
@@ -45908,7 +45782,6 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45908
45782
|
format: this.format
|
|
45909
45783
|
});
|
|
45910
45784
|
this.configureDataForType();
|
|
45911
|
-
this.syncDateValues();
|
|
45912
45785
|
}
|
|
45913
45786
|
|
|
45914
45787
|
disconnectedCallback() {
|
|
@@ -45947,7 +45820,6 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45947
45820
|
this.setCustomHelpTextMessage();
|
|
45948
45821
|
this.configureAutoFormatting();
|
|
45949
45822
|
this.configureDataForType();
|
|
45950
|
-
this.syncDateValues();
|
|
45951
45823
|
}
|
|
45952
45824
|
|
|
45953
45825
|
/**
|
|
@@ -46005,7 +45877,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46005
45877
|
|
|
46006
45878
|
/**
|
|
46007
45879
|
* @private
|
|
46008
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
45880
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
46009
45881
|
* @returns {void} Sets the default help text for the input.
|
|
46010
45882
|
*/
|
|
46011
45883
|
setCustomHelpTextMessage() {
|
|
@@ -46091,8 +45963,6 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46091
45963
|
this.configureDataForType();
|
|
46092
45964
|
}
|
|
46093
45965
|
|
|
46094
|
-
this.syncDateValues(changedProperties);
|
|
46095
|
-
|
|
46096
45966
|
if (changedProperties.has('value')) {
|
|
46097
45967
|
if (this.value && this.value.length > 0) {
|
|
46098
45968
|
this.hasValue = true;
|
|
@@ -46114,14 +45984,14 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46114
45984
|
|
|
46115
45985
|
if (formattedValue !== this.inputElement.value) {
|
|
46116
45986
|
this.skipNextProgrammaticInputEvent = true;
|
|
46117
|
-
if (this.maskInstance && this.type
|
|
45987
|
+
if (this.maskInstance && this.type !== 'date') {
|
|
46118
45988
|
// Route through the mask so its _value and el.value stay in lock-step
|
|
46119
45989
|
// (set value calls updateControl which writes el.value = displayValue).
|
|
46120
45990
|
// Writing el.value directly leaves the mask thinking displayValue is
|
|
46121
|
-
// stale; _saveSelection on the next focus/click then warns.
|
|
46122
|
-
//
|
|
46123
|
-
//
|
|
46124
|
-
//
|
|
45991
|
+
// stale; _saveSelection on the next focus/click then warns. Date is
|
|
45992
|
+
// excluded because its formattedValue can be raw ISO when the calendar
|
|
45993
|
+
// is invalid, and re-masking through mm/dd/yyyy would truncate it and
|
|
45994
|
+
// flip validity from patternMismatch to tooShort.
|
|
46125
45995
|
this.maskInstance.value = formattedValue || '';
|
|
46126
45996
|
} else if (formattedValue) {
|
|
46127
45997
|
this.inputElement.value = formattedValue;
|
|
@@ -46163,120 +46033,65 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46163
46033
|
}));
|
|
46164
46034
|
}
|
|
46165
46035
|
|
|
46166
|
-
|
|
46167
|
-
/**
|
|
46168
|
-
* Synchronizes the ISO string values and Date object representations for date-related properties.
|
|
46169
|
-
* This keeps the model and display values aligned when either side changes.
|
|
46170
|
-
*
|
|
46171
|
-
* When a full date format is in use, this method updates `value`, `min`, and `max` from their corresponding
|
|
46172
|
-
* Date objects or vice versa, based on which properties have changed. It only runs when the current configuration
|
|
46173
|
-
* represents a full year/month/day date format.
|
|
46174
|
-
*
|
|
46175
|
-
* @param {Map<string, unknown>|undefined} [changedProperties=undefined] - Optional map of changed properties used to limit which values are synchronized.
|
|
46176
|
-
* @returns {void}
|
|
46177
|
-
* @private
|
|
46178
|
-
*/
|
|
46179
|
-
syncDateValues(changedProperties = undefined) {
|
|
46180
|
-
if (!this.util.isFullDateFormat(this.type, this.format)) {
|
|
46181
|
-
return;
|
|
46182
|
-
}
|
|
46183
|
-
|
|
46184
|
-
this.syncSingleDateValue(changedProperties, 'valueObject', 'value');
|
|
46185
|
-
this.syncSingleDateValue(changedProperties, 'minObject', 'min');
|
|
46186
|
-
this.syncSingleDateValue(changedProperties, 'maxObject', 'max');
|
|
46187
|
-
}
|
|
46188
|
-
|
|
46189
|
-
/**
|
|
46190
|
-
* Synchronizes one date object/string property pair.
|
|
46191
|
-
* @private
|
|
46192
|
-
* @param {Map<string, unknown>|undefined} changedProperties - Map of changed properties from Lit.
|
|
46193
|
-
* @param {string} objectProperty - Date object property name.
|
|
46194
|
-
* @param {string} valueProperty - ISO string property name.
|
|
46195
|
-
* @returns {void}
|
|
46196
|
-
*/
|
|
46197
|
-
syncSingleDateValue(changedProperties, objectProperty, valueProperty) {
|
|
46198
|
-
const objectPropertyChanged = !changedProperties || changedProperties.has(objectProperty);
|
|
46199
|
-
|
|
46200
|
-
// objectProperty wins over valueProperty when both changed
|
|
46201
|
-
if (objectPropertyChanged && this[objectProperty]) {
|
|
46202
|
-
this[valueProperty] = dateFormatter$2.toISOFormatString(this[objectProperty]);
|
|
46203
|
-
return;
|
|
46204
|
-
}
|
|
46205
|
-
|
|
46206
|
-
const valuePropertyChanged = !changedProperties || changedProperties.has(valueProperty);
|
|
46207
|
-
if (!valuePropertyChanged) {
|
|
46208
|
-
return;
|
|
46209
|
-
}
|
|
46210
|
-
|
|
46211
|
-
// when value is newly set to the same ISO string that corresponds to the existing Date object, do not clear the Date object (avoid unnecessary updates)
|
|
46212
|
-
if (
|
|
46213
|
-
changedProperties &&
|
|
46214
|
-
valueProperty === 'value' &&
|
|
46215
|
-
changedProperties.get('value') === undefined &&
|
|
46216
|
-
this[objectProperty] instanceof Date &&
|
|
46217
|
-
this[valueProperty] === dateFormatter$2.toISOFormatString(this[objectProperty])
|
|
46218
|
-
) {
|
|
46219
|
-
return;
|
|
46220
|
-
}
|
|
46221
|
-
|
|
46222
|
-
if (dateFormatter$2.isValidDate(this[valueProperty])) {
|
|
46223
|
-
this.setDateObjectProperty(objectProperty, dateFormatter$2.stringToDateInstance(this[valueProperty]));
|
|
46224
|
-
} else {
|
|
46225
|
-
this.setDateObjectProperty(objectProperty, undefined);
|
|
46226
|
-
}
|
|
46227
|
-
}
|
|
46228
|
-
|
|
46229
46036
|
/**
|
|
46230
46037
|
* Sets up IMasks and logic based on auto-formatting requirements.
|
|
46231
46038
|
* @private
|
|
46232
46039
|
* @returns {void}
|
|
46233
46040
|
*/
|
|
46234
46041
|
configureAutoFormatting() {
|
|
46235
|
-
//
|
|
46236
|
-
//
|
|
46237
|
-
//
|
|
46238
|
-
//
|
|
46042
|
+
// _configuringMask gates two things: external re-entry into this method
|
|
46043
|
+
// while setup is mid-flight (from property changes that call back here),
|
|
46044
|
+
// and the accept/complete listeners below — both need to ignore the mask
|
|
46045
|
+
// events fired by our own value-restore step.
|
|
46239
46046
|
if (this._configuringMask) return;
|
|
46240
46047
|
this._configuringMask = true;
|
|
46241
46048
|
try {
|
|
46049
|
+
// Destroy any prior mask so IMask can attach fresh under the new format.
|
|
46050
|
+
// Null the reference too — if the new maskOptions.mask is falsy (e.g.
|
|
46051
|
+
// type switched from credit-card to text) the IMask() reassignment
|
|
46052
|
+
// below is skipped, and downstream writes at line ~823 would otherwise
|
|
46053
|
+
// route through the destroyed instance.
|
|
46242
46054
|
if (this.maskInstance) {
|
|
46243
46055
|
this.maskInstance.destroy();
|
|
46056
|
+
this.maskInstance = null;
|
|
46244
46057
|
}
|
|
46245
46058
|
|
|
46246
|
-
// Pass new format to util
|
|
46247
46059
|
this.util.updateFormat(this.format);
|
|
46248
46060
|
|
|
46249
46061
|
const maskOptions = this.util.getMaskOptions(this.type, this.format);
|
|
46250
46062
|
|
|
46251
46063
|
if (this.inputElement && maskOptions.mask) {
|
|
46252
|
-
|
|
46253
|
-
//
|
|
46254
|
-
//
|
|
46255
|
-
//
|
|
46256
|
-
// When the format changes (e.g. locale switch) and we have a valid ISO
|
|
46257
|
-
// model value, compute the display string for the NEW format instead of
|
|
46258
|
-
// re-using the old display string, which may be invalid in the new mask.
|
|
46064
|
+
// Capture the current display so it can be re-applied after IMask
|
|
46065
|
+
// attaches. The restore at the bottom goes through maskInstance.value
|
|
46066
|
+
// (not inputElement.value directly) so the mask's internal state and
|
|
46067
|
+
// the input's displayed text stay in lock-step.
|
|
46259
46068
|
let existingValue = this.inputElement.value;
|
|
46069
|
+
|
|
46070
|
+
// Format-change case (e.g. locale switch): existingValue is the OLD
|
|
46071
|
+
// mask's display string and may not parse under the new mask. When
|
|
46072
|
+
// we have a valid date model, rebuild the display from valueObject
|
|
46073
|
+
// (the canonical source) using the new mask's format function.
|
|
46260
46074
|
if (
|
|
46261
46075
|
this.util.isFullDateFormat(this.type, this.format) &&
|
|
46262
46076
|
this.value &&
|
|
46263
|
-
|
|
46264
|
-
this.valueObject instanceof Date &&
|
|
46265
|
-
!Number.isNaN(this.valueObject.getTime()) &&
|
|
46077
|
+
this.valueObject &&
|
|
46266
46078
|
typeof maskOptions.format === 'function'
|
|
46267
46079
|
) {
|
|
46268
46080
|
existingValue = maskOptions.format(this.valueObject);
|
|
46269
46081
|
}
|
|
46270
46082
|
|
|
46083
|
+
// Clear before IMask attaches so the constructor seeds an empty
|
|
46084
|
+
// internal value. Otherwise IMask reads the stale unmasked string
|
|
46085
|
+
// and emits a spurious 'accept' before the restore below runs.
|
|
46271
46086
|
this.skipNextProgrammaticInputEvent = true;
|
|
46272
46087
|
this.inputElement.value = '';
|
|
46273
46088
|
|
|
46274
46089
|
this.maskInstance = IMask$2(this.inputElement, maskOptions);
|
|
46275
46090
|
|
|
46091
|
+
// Mask fires 'accept' on every value change, including the restore
|
|
46092
|
+
// step below. Skip events fired during configureAutoFormatting so
|
|
46093
|
+
// we don't overwrite a value the parent just pushed.
|
|
46276
46094
|
this.maskInstance.on('accept', () => {
|
|
46277
|
-
// Suppress propagation during configureAutoFormatting's own value-restoration
|
|
46278
|
-
// (line below) — the mask emits 'accept' on every value-set, including ours,
|
|
46279
|
-
// and we don't want to overwrite a value the parent just pushed.
|
|
46280
46095
|
if (this._configuringMask) return;
|
|
46281
46096
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
46282
46097
|
if (this.type === "date") {
|
|
@@ -46284,6 +46099,8 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46284
46099
|
}
|
|
46285
46100
|
});
|
|
46286
46101
|
|
|
46102
|
+
// Mask fires 'complete' on the restore step below for any value that
|
|
46103
|
+
// happens to be a complete match. Same setup-suppression as 'accept'.
|
|
46287
46104
|
this.maskInstance.on('complete', () => {
|
|
46288
46105
|
if (this._configuringMask) return;
|
|
46289
46106
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
@@ -46292,7 +46109,9 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46292
46109
|
}
|
|
46293
46110
|
});
|
|
46294
46111
|
|
|
46295
|
-
//
|
|
46112
|
+
// Write existingValue through the mask (not the input directly) so
|
|
46113
|
+
// the mask reformats it under the new rules and keeps its internal
|
|
46114
|
+
// _value aligned with the input's displayed text.
|
|
46296
46115
|
if (existingValue) {
|
|
46297
46116
|
this.maskInstance.value = existingValue;
|
|
46298
46117
|
}
|
|
@@ -46386,10 +46205,10 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46386
46205
|
// the gated types currently support it, since the list is a public
|
|
46387
46206
|
// property a consumer could mutate.
|
|
46388
46207
|
if (this.setSelectionInputTypes.includes(this.type)) {
|
|
46389
|
-
let selectionStart;
|
|
46208
|
+
let selectionStart = null;
|
|
46390
46209
|
try {
|
|
46391
|
-
selectionStart = this.inputElement
|
|
46392
|
-
} catch
|
|
46210
|
+
({ selectionStart } = this.inputElement);
|
|
46211
|
+
} catch {
|
|
46393
46212
|
return;
|
|
46394
46213
|
}
|
|
46395
46214
|
if (typeof selectionStart !== 'number') {
|
|
@@ -46398,7 +46217,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46398
46217
|
this.updateComplete.then(() => {
|
|
46399
46218
|
try {
|
|
46400
46219
|
this.inputElement.setSelectionRange(selectionStart, selectionStart);
|
|
46401
|
-
} catch
|
|
46220
|
+
} catch {
|
|
46402
46221
|
// Some input types (number/email in certain UAs) throw on
|
|
46403
46222
|
// setSelectionRange; swallow and let the native cursor stand.
|
|
46404
46223
|
}
|
|
@@ -46492,7 +46311,6 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46492
46311
|
*/
|
|
46493
46312
|
reset() {
|
|
46494
46313
|
this.value = undefined;
|
|
46495
|
-
this.setDateObjectProperty('valueObject', undefined);
|
|
46496
46314
|
this.validation.reset(this);
|
|
46497
46315
|
}
|
|
46498
46316
|
|
|
@@ -46501,7 +46319,6 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46501
46319
|
*/
|
|
46502
46320
|
clear() {
|
|
46503
46321
|
this.value = undefined;
|
|
46504
|
-
this.setDateObjectProperty('valueObject', undefined);
|
|
46505
46322
|
}
|
|
46506
46323
|
|
|
46507
46324
|
/**
|
|
@@ -46576,7 +46393,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46576
46393
|
/**
|
|
46577
46394
|
* Function to support credit-card feature type.
|
|
46578
46395
|
* @private
|
|
46579
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
46396
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
46580
46397
|
* @returns {object} JSON with data for credit card formatting.
|
|
46581
46398
|
*/
|
|
46582
46399
|
matchInputValueToCreditCard() {
|
|
@@ -47030,7 +46847,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$3 {
|
|
|
47030
46847
|
}
|
|
47031
46848
|
};
|
|
47032
46849
|
|
|
47033
|
-
var formkitVersion$7 = '
|
|
46850
|
+
var formkitVersion$7 = '202607011652';
|
|
47034
46851
|
|
|
47035
46852
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
47036
46853
|
// See LICENSE in the project root for license information.
|
|
@@ -47353,7 +47170,7 @@ let AuroInput$1 = class AuroInput extends BaseInput$1 {
|
|
|
47353
47170
|
/**
|
|
47354
47171
|
* Determines default help text string.
|
|
47355
47172
|
* @private
|
|
47356
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
47173
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
47357
47174
|
* @returns {string} Evaluates pre-determined help text.
|
|
47358
47175
|
*/
|
|
47359
47176
|
getHelpText() {
|
|
@@ -51424,15 +51241,17 @@ let AuroFormValidation$5 = class AuroFormValidation {
|
|
|
51424
51241
|
);
|
|
51425
51242
|
}
|
|
51426
51243
|
|
|
51427
|
-
|
|
51428
|
-
|
|
51429
|
-
|
|
51244
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
51245
|
+
|
|
51246
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
51247
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
51248
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
51249
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
51250
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
51430
51251
|
hasValue = false;
|
|
51431
51252
|
}
|
|
51432
51253
|
}
|
|
51433
51254
|
|
|
51434
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
51435
|
-
|
|
51436
51255
|
if (isCombobox) {
|
|
51437
51256
|
|
|
51438
51257
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -51897,7 +51716,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$3 {
|
|
|
51897
51716
|
}
|
|
51898
51717
|
};
|
|
51899
51718
|
|
|
51900
|
-
var formkitVersion$1$2 = '
|
|
51719
|
+
var formkitVersion$1$2 = '202607011652';
|
|
51901
51720
|
|
|
51902
51721
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
51903
51722
|
// See LICENSE in the project root for license information.
|
|
@@ -56225,7 +56044,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$3 {
|
|
|
56225
56044
|
}
|
|
56226
56045
|
};
|
|
56227
56046
|
|
|
56228
|
-
var formkitVersion$6 = '
|
|
56047
|
+
var formkitVersion$6 = '202607011652';
|
|
56229
56048
|
|
|
56230
56049
|
let AuroElement$1$2 = class AuroElement extends i$3 {
|
|
56231
56050
|
static get properties() {
|
|
@@ -59774,15 +59593,17 @@ let AuroFormValidation$4 = class AuroFormValidation {
|
|
|
59774
59593
|
);
|
|
59775
59594
|
}
|
|
59776
59595
|
|
|
59777
|
-
|
|
59778
|
-
|
|
59779
|
-
|
|
59596
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
59597
|
+
|
|
59598
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
59599
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
59600
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
59601
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
59602
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
59780
59603
|
hasValue = false;
|
|
59781
59604
|
}
|
|
59782
59605
|
}
|
|
59783
59606
|
|
|
59784
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
59785
|
-
|
|
59786
59607
|
if (isCombobox) {
|
|
59787
59608
|
|
|
59788
59609
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -60173,7 +59994,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$3 {
|
|
|
60173
59994
|
}
|
|
60174
59995
|
};
|
|
60175
59996
|
|
|
60176
|
-
var formkitVersion$5 = '
|
|
59997
|
+
var formkitVersion$5 = '202607011652';
|
|
60177
59998
|
|
|
60178
59999
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
60179
60000
|
// See LICENSE in the project root for license information.
|
|
@@ -61520,15 +61341,17 @@ let AuroFormValidation$3 = class AuroFormValidation {
|
|
|
61520
61341
|
);
|
|
61521
61342
|
}
|
|
61522
61343
|
|
|
61523
|
-
|
|
61524
|
-
|
|
61525
|
-
|
|
61344
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
61345
|
+
|
|
61346
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
61347
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
61348
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
61349
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
61350
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
61526
61351
|
hasValue = false;
|
|
61527
61352
|
}
|
|
61528
61353
|
}
|
|
61529
61354
|
|
|
61530
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
61531
|
-
|
|
61532
61355
|
if (isCombobox) {
|
|
61533
61356
|
|
|
61534
61357
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -61923,7 +61746,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$3 {
|
|
|
61923
61746
|
}
|
|
61924
61747
|
};
|
|
61925
61748
|
|
|
61926
|
-
var formkitVersion$4 = '
|
|
61749
|
+
var formkitVersion$4 = '202607011652';
|
|
61927
61750
|
|
|
61928
61751
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
61929
61752
|
// See LICENSE in the project root for license information.
|
|
@@ -62780,15 +62603,17 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
62780
62603
|
);
|
|
62781
62604
|
}
|
|
62782
62605
|
|
|
62783
|
-
|
|
62784
|
-
|
|
62785
|
-
|
|
62606
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
62607
|
+
|
|
62608
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
62609
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
62610
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
62611
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
62612
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
62786
62613
|
hasValue = false;
|
|
62787
62614
|
}
|
|
62788
62615
|
}
|
|
62789
62616
|
|
|
62790
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
62791
|
-
|
|
62792
62617
|
if (isCombobox) {
|
|
62793
62618
|
|
|
62794
62619
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -63099,6 +62924,8 @@ function navigateArrow$1(component, direction, options = {}) {
|
|
|
63099
62924
|
}
|
|
63100
62925
|
}
|
|
63101
62926
|
|
|
62927
|
+
/* eslint-disable no-underscore-dangle */
|
|
62928
|
+
|
|
63102
62929
|
/**
|
|
63103
62930
|
* Returns the clear button element from the active input's shadow
|
|
63104
62931
|
* DOM, if available.
|
|
@@ -63134,11 +62961,9 @@ function isClearBtnFocused(ctx, clearBtn = getClearBtn(ctx)) {
|
|
|
63134
62961
|
* @param {Object} menu - The menu component.
|
|
63135
62962
|
*/
|
|
63136
62963
|
function reconcileMenuIndex(menu) {
|
|
63137
|
-
// eslint-disable-next-line no-underscore-dangle
|
|
63138
62964
|
if (menu._index < 0 && menu.optionActive && menu.items) {
|
|
63139
62965
|
const idx = menu.items.indexOf(menu.optionActive);
|
|
63140
62966
|
if (idx >= 0) {
|
|
63141
|
-
// eslint-disable-next-line no-underscore-dangle
|
|
63142
62967
|
menu._index = idx;
|
|
63143
62968
|
}
|
|
63144
62969
|
}
|
|
@@ -63157,11 +62982,7 @@ const comboboxKeyboardStrategy = {
|
|
|
63157
62982
|
|
|
63158
62983
|
// navigate if bib is open otherwise open it
|
|
63159
62984
|
if (component.dropdown.isPopoverVisible) {
|
|
63160
|
-
|
|
63161
|
-
component.activateLastEnabledAvailableOption();
|
|
63162
|
-
} else {
|
|
63163
|
-
navigateArrow$1(component, 'down');
|
|
63164
|
-
}
|
|
62985
|
+
navigateArrow$1(component, 'down');
|
|
63165
62986
|
} else {
|
|
63166
62987
|
component.showBib();
|
|
63167
62988
|
}
|
|
@@ -63180,11 +63001,7 @@ const comboboxKeyboardStrategy = {
|
|
|
63180
63001
|
|
|
63181
63002
|
// navigate if bib is open otherwise open it
|
|
63182
63003
|
if (component.dropdown.isPopoverVisible) {
|
|
63183
|
-
|
|
63184
|
-
component.activateFirstEnabledAvailableOption();
|
|
63185
|
-
} else {
|
|
63186
|
-
navigateArrow$1(component, 'up');
|
|
63187
|
-
}
|
|
63004
|
+
navigateArrow$1(component, 'up');
|
|
63188
63005
|
} else {
|
|
63189
63006
|
component.showBib();
|
|
63190
63007
|
}
|
|
@@ -63200,13 +63017,18 @@ const comboboxKeyboardStrategy = {
|
|
|
63200
63017
|
},
|
|
63201
63018
|
|
|
63202
63019
|
Enter(component, evt, ctx) {
|
|
63020
|
+
// Forms should not submit on Enter from a combobox, regardless of which
|
|
63021
|
+
// child element (input, clear button, menu) is focused.
|
|
63022
|
+
evt.stopPropagation();
|
|
63023
|
+
|
|
63203
63024
|
if (isClearBtnFocused(ctx)) {
|
|
63204
|
-
//
|
|
63205
|
-
//
|
|
63206
|
-
//
|
|
63207
|
-
|
|
63208
|
-
|
|
63209
|
-
|
|
63025
|
+
// Let the browser dispatch Enter to the focused clear button so its
|
|
63026
|
+
// built-in activation fires and clears the selection. Do NOT call
|
|
63027
|
+
// preventDefault — that would block the activation.
|
|
63028
|
+
return;
|
|
63029
|
+
}
|
|
63030
|
+
|
|
63031
|
+
if (ctx.isExpanded && component.menu.optionActive) {
|
|
63210
63032
|
reconcileMenuIndex(component.menu);
|
|
63211
63033
|
component.menu.makeSelection();
|
|
63212
63034
|
|
|
@@ -63215,14 +63037,8 @@ const comboboxKeyboardStrategy = {
|
|
|
63215
63037
|
}
|
|
63216
63038
|
|
|
63217
63039
|
evt.preventDefault();
|
|
63218
|
-
evt.stopPropagation();
|
|
63219
63040
|
} else {
|
|
63220
|
-
// Prevent the keypress from bubbling to parent containers (e.g., forms)
|
|
63221
|
-
// which could interpret Enter as a submit or trigger other unintended behavior.
|
|
63222
|
-
// This is safe because showBib() opens the dialog programmatically,
|
|
63223
|
-
// not via event propagation.
|
|
63224
63041
|
evt.preventDefault();
|
|
63225
|
-
evt.stopPropagation();
|
|
63226
63042
|
component.showBib();
|
|
63227
63043
|
}
|
|
63228
63044
|
},
|
|
@@ -63267,7 +63083,7 @@ const comboboxKeyboardStrategy = {
|
|
|
63267
63083
|
component.setClearBtnFocus();
|
|
63268
63084
|
}
|
|
63269
63085
|
}
|
|
63270
|
-
}
|
|
63086
|
+
}
|
|
63271
63087
|
};
|
|
63272
63088
|
|
|
63273
63089
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
@@ -67138,7 +66954,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
67138
66954
|
}
|
|
67139
66955
|
};
|
|
67140
66956
|
|
|
67141
|
-
var formkitVersion$2 = '
|
|
66957
|
+
var formkitVersion$2 = '202607011652';
|
|
67142
66958
|
|
|
67143
66959
|
let AuroElement$2$1 = class AuroElement extends i$3 {
|
|
67144
66960
|
static get properties() {
|
|
@@ -68537,7 +68353,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
68537
68353
|
|
|
68538
68354
|
var shapeSizeCss$2 = i$6`.shape-classic-xl,.shape-classic-lg,.shape-classic-md,.shape-classic-sm,.shape-classic-xs{min-height:56px;max-height:56px;border-style:solid;border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}.shape-classic-xl.simple,.shape-classic-lg.simple,.shape-classic-md.simple,.shape-classic-sm.simple,.shape-classic-xs.simple{border-width:0px;min-height:58px;max-height:58px;background-color:unset;box-shadow:none}.shape-classic-xl.thin,.shape-classic-lg.thin,.shape-classic-md.thin,.shape-classic-sm.thin,.shape-classic-xs.thin{border-width:1px;min-height:56px;max-height:56px;background-color:unset}.shape-classic-xl.parentBorder,.shape-classic-lg.parentBorder,.shape-classic-md.parentBorder,.shape-classic-sm.parentBorder,.shape-classic-xs.parentBorder{border:0;box-shadow:unset;min-height:54px;max-height:54px}.shape-snowflake-xl,.shape-snowflake-lg,.shape-snowflake-md,.shape-snowflake-sm,.shape-snowflake-xs{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:30px}.shape-snowflake-xl.simple,.shape-snowflake-lg.simple,.shape-snowflake-md.simple,.shape-snowflake-sm.simple,.shape-snowflake-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-snowflake-xl.thin,.shape-snowflake-lg.thin,.shape-snowflake-md.thin,.shape-snowflake-sm.thin,.shape-snowflake-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-snowflake-xl.parentBorder,.shape-snowflake-lg.parentBorder,.shape-snowflake-md.parentBorder,.shape-snowflake-sm.parentBorder,.shape-snowflake-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-box-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-box-lg{min-height:52px;max-height:52px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-box-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-box-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-box-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-box-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-box-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-box-sm{min-height:32px;max-height:32px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-sm.simple{border-width:0px;min-height:36px;max-height:36px;background-color:unset;box-shadow:none}.shape-box-sm.thin{border-width:1px;min-height:34px;max-height:34px;background-color:unset}.shape-box-sm.parentBorder{border:0;box-shadow:unset;min-height:32px;max-height:32px}.shape-box-xs{min-height:20px;max-height:20px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xs.simple{border-width:0px;min-height:24px;max-height:24px;background-color:unset;box-shadow:none}.shape-box-xs.thin{border-width:1px;min-height:22px;max-height:22px;background-color:unset}.shape-box-xs.parentBorder{border:0;box-shadow:unset;min-height:20px;max-height:20px}.shape-rounded-lg{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-rounded-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-left-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-right-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-left-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-right-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}`;
|
|
68539
68355
|
|
|
68540
|
-
var styleCss$1$1$1 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:host{display:block}.wrapper:has(:enabled){cursor:text}.wrapper:has(:enabled) label{cursor:text}.helpTextClasses{cursor:default}input{overflow:clip !important;width:100%;padding:0;border:0;background:unset;outline:none;overflow-clip-margin:0 !important;text-overflow:ellipsis}input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.displayValue{display:none}.displayValue.hasContent:is(.withValue):not(.hasFocus){display:flex;align-items:center}.accents:not(.util_displayHidden){display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px}.wrapper:not(:focus-within):not(:hover) .notificationBtn.passwordBtn,.wrapper:not(:focus-within):not(:hover) .notification.clear{display:none}.notification{display:flex;align-items:center;justify-content:center}`;
|
|
68356
|
+
var styleCss$1$1$1 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:host{display:block}.wrapper:has(:enabled){cursor:text}.wrapper:has(:enabled) label{cursor:text}.helpTextClasses{cursor:default}input{overflow:clip !important;width:100%;padding:0;border:0;background:unset;outline:none;overflow-clip-margin:0 !important;text-overflow:ellipsis}input[type=number]{appearance:textfield}input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.displayValue{display:none}.displayValue.hasContent:is(.withValue):not(.hasFocus){display:flex;align-items:center}.accents:not(.util_displayHidden){display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px}.wrapper:not(:focus-within):not(:hover) .notificationBtn.passwordBtn,.wrapper:not(:focus-within):not(:hover) .notification.clear{display:none}.notification{display:flex;align-items:center;justify-content:center}`;
|
|
68541
68357
|
|
|
68542
68358
|
var styleDefaultCss = i$6`.layoutDefault .typeIcon,:host(:not([layout])) .typeIcon{display:flex;flex-direction:row;align-items:center}.layoutDefault .typeIcon [auro-icon],:host(:not([layout])) .typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.layoutDefault .notificationIcons,:host(:not([layout])) .notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .typeIcon,:host(:not([layout])[bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .notificationIcons,:host(:not([layout])[bordered]) .notificationIcons{align-items:center}:host([class=layoutDefault][bordered]) .notification:not(:first-of-type),:host(:not([layout])[bordered]) .notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .alertNotification,:host(:not([layout])[bordered]) .alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}:host([class=layoutDefault][bordered]) .passwordBtn,:host(:not([layout])[bordered]) .passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}:host([class=layoutDefault][bordered]) .notificationBtn,:host(:not([layout])[bordered]) .notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon],:host(:not([layout])[bordered]) .notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon][hidden],:host(:not([layout])[bordered]) .notificationBtn [auro-icon][hidden]{display:none}:host([class=layoutDefault]:not([bordered])) .typeIcon,:host([class=layoutDefault]:not([bordered])) .notificationIcons,:host(:not([layout]):not([bordered])) .typeIcon,:host(:not([layout]):not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host([class=layoutDefault]:not([bordered])) .clearBtn,:host(:not([layout]):not([bordered])) .clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}.layoutDefault .wrapper:hover .clearBtn,.layoutDefault .wrapper:focus-within .clearBtn,:host(:not([layout])) .wrapper:hover .clearBtn,:host(:not([layout])) .wrapper:focus-within .clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:1}:host([class=layoutDefault]:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification,:host(:not([layout]):focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.layoutDefault input,:host(:not([layout])) input{border:unset}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{position:relative;overflow:hidden;border-style:solid}:host([class=layoutDefault]:not([bordered],[borderless])) .wrapper,:host(:not([layout]):not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([class=layoutDefault][bordered]) .wrapper,:host(:not([layout])[bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host([class=layoutDefault]:not([borderless])) .wrapper:focus-within:before,:host(:not([layout]):not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([class=layoutDefault][validity]:not([validity=valid])) .wrapper:before,:host(:not([layout])[validity]:not([validity=valid])) .wrapper:before{border-bottom:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{text-align:left}.layoutDefault :host,:host(:not([layout])) :host{position:relative;display:block}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{display:flex;flex-direction:row}.layoutDefault .main,:host(:not([layout])) .main{display:flex;flex-direction:row;position:relative;flex:1}`;
|
|
68543
68359
|
|
|
@@ -72913,15 +72729,17 @@ let AuroFormValidation$2 = class AuroFormValidation {
|
|
|
72913
72729
|
);
|
|
72914
72730
|
}
|
|
72915
72731
|
|
|
72916
|
-
|
|
72917
|
-
|
|
72918
|
-
|
|
72732
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
72733
|
+
|
|
72734
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
72735
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
72736
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
72737
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
72738
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
72919
72739
|
hasValue = false;
|
|
72920
72740
|
}
|
|
72921
72741
|
}
|
|
72922
72742
|
|
|
72923
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
72924
|
-
|
|
72925
72743
|
if (isCombobox) {
|
|
72926
72744
|
|
|
72927
72745
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -78602,8 +78420,6 @@ function cleanEscapedString(input) {
|
|
|
78602
78420
|
return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
|
|
78603
78421
|
}
|
|
78604
78422
|
|
|
78605
|
-
/* eslint-disable max-lines */
|
|
78606
|
-
|
|
78607
78423
|
class AuroInputUtilities {
|
|
78608
78424
|
|
|
78609
78425
|
/**
|
|
@@ -78646,7 +78462,7 @@ class AuroInputUtilities {
|
|
|
78646
78462
|
/**
|
|
78647
78463
|
* Converts an IMask-style date mask to a date-fns compatible format string.
|
|
78648
78464
|
* @param {string} mask - IMask date mask (e.g. "MM/DD/YYYY").
|
|
78649
|
-
* @returns {string} date-fns format string (e.g. "MM/dd/yyyy").
|
|
78465
|
+
* @returns {string} A date-fns format string (e.g. "MM/dd/yyyy").
|
|
78650
78466
|
*/
|
|
78651
78467
|
toDateFnsMask(mask) {
|
|
78652
78468
|
return mask
|
|
@@ -78868,6 +78684,7 @@ class AuroInputUtilities {
|
|
|
78868
78684
|
const maskOptions = this.getMaskOptions('date', normalizedFormat);
|
|
78869
78685
|
|
|
78870
78686
|
if (!(valueObject instanceof Date) || Number.isNaN(valueObject.getTime()) || !maskOptions || typeof maskOptions.format !== 'function') {
|
|
78687
|
+
console.debug('Invalid date object or mask options for formatting', { valueObject, maskOptions }); // eslint-disable-line no-console
|
|
78871
78688
|
return undefined;
|
|
78872
78689
|
}
|
|
78873
78690
|
|
|
@@ -79025,6 +78842,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79025
78842
|
// so a parent (datepicker/combobox) calling `validate()` synchronously
|
|
79026
78843
|
// during its own update cycle sees a populated util instance.
|
|
79027
78844
|
this.activeLabel = false;
|
|
78845
|
+
|
|
79028
78846
|
/** @private */
|
|
79029
78847
|
this.allowedInputTypes = [
|
|
79030
78848
|
"text",
|
|
@@ -79035,6 +78853,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79035
78853
|
"tel"
|
|
79036
78854
|
];
|
|
79037
78855
|
this.appearance = "default";
|
|
78856
|
+
|
|
79038
78857
|
/** @private */
|
|
79039
78858
|
this.dateFormatMap = {
|
|
79040
78859
|
'mm/dd/yyyy': 'dateMMDDYYYY',
|
|
@@ -79053,23 +78872,24 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79053
78872
|
'mm/dd': 'dateMMDD'
|
|
79054
78873
|
};
|
|
79055
78874
|
this.disabled = false;
|
|
78875
|
+
|
|
79056
78876
|
/** @private */
|
|
79057
78877
|
this.domHandler = new DomHandler();
|
|
79058
78878
|
this.dvInputOnly = false;
|
|
79059
78879
|
this.hasValue = false;
|
|
79060
78880
|
this.hideLabelVisually = false;
|
|
79061
78881
|
this.icon = false;
|
|
78882
|
+
|
|
79062
78883
|
/** @private */
|
|
79063
78884
|
this.inputIconName = undefined;
|
|
78885
|
+
|
|
79064
78886
|
/** @private */
|
|
79065
78887
|
this.label = 'Input label is undefined';
|
|
79066
78888
|
this.layout = 'classic';
|
|
79067
78889
|
this.locale = 'en-US';
|
|
79068
78890
|
this.max = undefined;
|
|
79069
|
-
this._maxObject = undefined;
|
|
79070
78891
|
this.maxLength = undefined;
|
|
79071
78892
|
this.min = undefined;
|
|
79072
|
-
this._minObject = undefined;
|
|
79073
78893
|
this.minLength = undefined;
|
|
79074
78894
|
this.noValidate = false;
|
|
79075
78895
|
this.onDark = false;
|
|
@@ -79086,23 +78906,27 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79086
78906
|
"email"
|
|
79087
78907
|
];
|
|
79088
78908
|
this.shape = 'classic';
|
|
78909
|
+
|
|
79089
78910
|
/** @private */
|
|
79090
78911
|
this.showPassword = false;
|
|
79091
78912
|
this.size = 'lg';
|
|
79092
78913
|
this.touched = false;
|
|
78914
|
+
|
|
79093
78915
|
/** @private */
|
|
79094
78916
|
this.uniqueId = new UniqueId().create();
|
|
78917
|
+
|
|
79095
78918
|
/** @private */
|
|
79096
78919
|
this.util = new AuroInputUtilities({
|
|
79097
78920
|
locale: this.locale,
|
|
79098
78921
|
format: this.format
|
|
79099
78922
|
});
|
|
78923
|
+
|
|
79100
78924
|
/** @private */
|
|
79101
78925
|
this.validation = new AuroFormValidation$2();
|
|
78926
|
+
|
|
79102
78927
|
/** @private */
|
|
79103
78928
|
this.validationCCLength = undefined;
|
|
79104
78929
|
this.value = undefined;
|
|
79105
|
-
this._valueObject = undefined;
|
|
79106
78930
|
}
|
|
79107
78931
|
|
|
79108
78932
|
// function to define props used within the scope of this component
|
|
@@ -79540,7 +79364,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79540
79364
|
* @returns {Date|undefined}
|
|
79541
79365
|
*/
|
|
79542
79366
|
get valueObject() {
|
|
79543
|
-
return this.
|
|
79367
|
+
return this.value && dateFormatter.isValidDate(this.value) ? dateFormatter.stringToDateInstance(this.value) : undefined;
|
|
79544
79368
|
}
|
|
79545
79369
|
|
|
79546
79370
|
/**
|
|
@@ -79548,7 +79372,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79548
79372
|
* @returns {Date|undefined}
|
|
79549
79373
|
*/
|
|
79550
79374
|
get minObject() {
|
|
79551
|
-
return this.
|
|
79375
|
+
return this.min && dateFormatter.isValidDate(this.min) ? dateFormatter.stringToDateInstance(this.min) : undefined;
|
|
79552
79376
|
}
|
|
79553
79377
|
|
|
79554
79378
|
/**
|
|
@@ -79556,50 +79380,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79556
79380
|
* @returns {Date|undefined}
|
|
79557
79381
|
*/
|
|
79558
79382
|
get maxObject() {
|
|
79559
|
-
return this.
|
|
79560
|
-
}
|
|
79561
|
-
|
|
79562
|
-
/**
|
|
79563
|
-
* Parses a date string into a Date object when the corresponding `_*Object`
|
|
79564
|
-
* field hasn't been synced yet by `updated()`. Returns undefined when the
|
|
79565
|
-
* input type/format isn't a full date or the string is not a valid date.
|
|
79566
|
-
*
|
|
79567
|
-
* Why this exists: a parent (datepicker) can call `inputN.validate()` from
|
|
79568
|
-
* inside its own `updated()` before this input's `updated()` has run
|
|
79569
|
-
* `syncDateValues()` — so `_valueObject`/`_maxObject` are still `undefined`
|
|
79570
|
-
* and range checks would otherwise silently no-op (flipping the result to
|
|
79571
|
-
* `valid` or `patternMismatch`).
|
|
79572
|
-
* @private
|
|
79573
|
-
* @param {string|undefined} dateStr - ISO date string from `value`/`min`/`max`.
|
|
79574
|
-
* @returns {Date|undefined}
|
|
79575
|
-
*/
|
|
79576
|
-
_computeDateObjectFallback(dateStr) {
|
|
79577
|
-
if (!dateStr || !this.util || !this.util.isFullDateFormat(this.type, this.format)) {
|
|
79578
|
-
return undefined;
|
|
79579
|
-
}
|
|
79580
|
-
if (!dateFormatter.isValidDate(dateStr)) {
|
|
79581
|
-
return undefined;
|
|
79582
|
-
}
|
|
79583
|
-
return dateFormatter.stringToDateInstance(dateStr);
|
|
79584
|
-
}
|
|
79585
|
-
|
|
79586
|
-
/**
|
|
79587
|
-
* Internal setter for readonly date object properties.
|
|
79588
|
-
* @private
|
|
79589
|
-
* @param {'valueObject'|'minObject'|'maxObject'} propertyName - Public object property name.
|
|
79590
|
-
* @param {Date|undefined} propertyValue - Value to assign.
|
|
79591
|
-
* @returns {void}
|
|
79592
|
-
*/
|
|
79593
|
-
setDateObjectProperty(propertyName, propertyValue) {
|
|
79594
|
-
const internalPropertyName = `_${propertyName}`;
|
|
79595
|
-
const previousValue = this[internalPropertyName];
|
|
79596
|
-
|
|
79597
|
-
if (previousValue === propertyValue) {
|
|
79598
|
-
return;
|
|
79599
|
-
}
|
|
79600
|
-
|
|
79601
|
-
this[internalPropertyName] = propertyValue;
|
|
79602
|
-
this.requestUpdate(propertyName, previousValue);
|
|
79383
|
+
return this.max && dateFormatter.isValidDate(this.max) ? dateFormatter.stringToDateInstance(this.max) : undefined;
|
|
79603
79384
|
}
|
|
79604
79385
|
|
|
79605
79386
|
connectedCallback() {
|
|
@@ -79628,7 +79409,6 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79628
79409
|
format: this.format
|
|
79629
79410
|
});
|
|
79630
79411
|
this.configureDataForType();
|
|
79631
|
-
this.syncDateValues();
|
|
79632
79412
|
}
|
|
79633
79413
|
|
|
79634
79414
|
disconnectedCallback() {
|
|
@@ -79667,7 +79447,6 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79667
79447
|
this.setCustomHelpTextMessage();
|
|
79668
79448
|
this.configureAutoFormatting();
|
|
79669
79449
|
this.configureDataForType();
|
|
79670
|
-
this.syncDateValues();
|
|
79671
79450
|
}
|
|
79672
79451
|
|
|
79673
79452
|
/**
|
|
@@ -79725,7 +79504,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79725
79504
|
|
|
79726
79505
|
/**
|
|
79727
79506
|
* @private
|
|
79728
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
79507
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
79729
79508
|
* @returns {void} Sets the default help text for the input.
|
|
79730
79509
|
*/
|
|
79731
79510
|
setCustomHelpTextMessage() {
|
|
@@ -79811,8 +79590,6 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79811
79590
|
this.configureDataForType();
|
|
79812
79591
|
}
|
|
79813
79592
|
|
|
79814
|
-
this.syncDateValues(changedProperties);
|
|
79815
|
-
|
|
79816
79593
|
if (changedProperties.has('value')) {
|
|
79817
79594
|
if (this.value && this.value.length > 0) {
|
|
79818
79595
|
this.hasValue = true;
|
|
@@ -79834,14 +79611,14 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79834
79611
|
|
|
79835
79612
|
if (formattedValue !== this.inputElement.value) {
|
|
79836
79613
|
this.skipNextProgrammaticInputEvent = true;
|
|
79837
|
-
if (this.maskInstance && this.type
|
|
79614
|
+
if (this.maskInstance && this.type !== 'date') {
|
|
79838
79615
|
// Route through the mask so its _value and el.value stay in lock-step
|
|
79839
79616
|
// (set value calls updateControl which writes el.value = displayValue).
|
|
79840
79617
|
// Writing el.value directly leaves the mask thinking displayValue is
|
|
79841
|
-
// stale; _saveSelection on the next focus/click then warns.
|
|
79842
|
-
//
|
|
79843
|
-
//
|
|
79844
|
-
//
|
|
79618
|
+
// stale; _saveSelection on the next focus/click then warns. Date is
|
|
79619
|
+
// excluded because its formattedValue can be raw ISO when the calendar
|
|
79620
|
+
// is invalid, and re-masking through mm/dd/yyyy would truncate it and
|
|
79621
|
+
// flip validity from patternMismatch to tooShort.
|
|
79845
79622
|
this.maskInstance.value = formattedValue || '';
|
|
79846
79623
|
} else if (formattedValue) {
|
|
79847
79624
|
this.inputElement.value = formattedValue;
|
|
@@ -79883,120 +79660,65 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79883
79660
|
}));
|
|
79884
79661
|
}
|
|
79885
79662
|
|
|
79886
|
-
|
|
79887
|
-
/**
|
|
79888
|
-
* Synchronizes the ISO string values and Date object representations for date-related properties.
|
|
79889
|
-
* This keeps the model and display values aligned when either side changes.
|
|
79890
|
-
*
|
|
79891
|
-
* When a full date format is in use, this method updates `value`, `min`, and `max` from their corresponding
|
|
79892
|
-
* Date objects or vice versa, based on which properties have changed. It only runs when the current configuration
|
|
79893
|
-
* represents a full year/month/day date format.
|
|
79894
|
-
*
|
|
79895
|
-
* @param {Map<string, unknown>|undefined} [changedProperties=undefined] - Optional map of changed properties used to limit which values are synchronized.
|
|
79896
|
-
* @returns {void}
|
|
79897
|
-
* @private
|
|
79898
|
-
*/
|
|
79899
|
-
syncDateValues(changedProperties = undefined) {
|
|
79900
|
-
if (!this.util.isFullDateFormat(this.type, this.format)) {
|
|
79901
|
-
return;
|
|
79902
|
-
}
|
|
79903
|
-
|
|
79904
|
-
this.syncSingleDateValue(changedProperties, 'valueObject', 'value');
|
|
79905
|
-
this.syncSingleDateValue(changedProperties, 'minObject', 'min');
|
|
79906
|
-
this.syncSingleDateValue(changedProperties, 'maxObject', 'max');
|
|
79907
|
-
}
|
|
79908
|
-
|
|
79909
|
-
/**
|
|
79910
|
-
* Synchronizes one date object/string property pair.
|
|
79911
|
-
* @private
|
|
79912
|
-
* @param {Map<string, unknown>|undefined} changedProperties - Map of changed properties from Lit.
|
|
79913
|
-
* @param {string} objectProperty - Date object property name.
|
|
79914
|
-
* @param {string} valueProperty - ISO string property name.
|
|
79915
|
-
* @returns {void}
|
|
79916
|
-
*/
|
|
79917
|
-
syncSingleDateValue(changedProperties, objectProperty, valueProperty) {
|
|
79918
|
-
const objectPropertyChanged = !changedProperties || changedProperties.has(objectProperty);
|
|
79919
|
-
|
|
79920
|
-
// objectProperty wins over valueProperty when both changed
|
|
79921
|
-
if (objectPropertyChanged && this[objectProperty]) {
|
|
79922
|
-
this[valueProperty] = dateFormatter.toISOFormatString(this[objectProperty]);
|
|
79923
|
-
return;
|
|
79924
|
-
}
|
|
79925
|
-
|
|
79926
|
-
const valuePropertyChanged = !changedProperties || changedProperties.has(valueProperty);
|
|
79927
|
-
if (!valuePropertyChanged) {
|
|
79928
|
-
return;
|
|
79929
|
-
}
|
|
79930
|
-
|
|
79931
|
-
// when value is newly set to the same ISO string that corresponds to the existing Date object, do not clear the Date object (avoid unnecessary updates)
|
|
79932
|
-
if (
|
|
79933
|
-
changedProperties &&
|
|
79934
|
-
valueProperty === 'value' &&
|
|
79935
|
-
changedProperties.get('value') === undefined &&
|
|
79936
|
-
this[objectProperty] instanceof Date &&
|
|
79937
|
-
this[valueProperty] === dateFormatter.toISOFormatString(this[objectProperty])
|
|
79938
|
-
) {
|
|
79939
|
-
return;
|
|
79940
|
-
}
|
|
79941
|
-
|
|
79942
|
-
if (dateFormatter.isValidDate(this[valueProperty])) {
|
|
79943
|
-
this.setDateObjectProperty(objectProperty, dateFormatter.stringToDateInstance(this[valueProperty]));
|
|
79944
|
-
} else {
|
|
79945
|
-
this.setDateObjectProperty(objectProperty, undefined);
|
|
79946
|
-
}
|
|
79947
|
-
}
|
|
79948
|
-
|
|
79949
79663
|
/**
|
|
79950
79664
|
* Sets up IMasks and logic based on auto-formatting requirements.
|
|
79951
79665
|
* @private
|
|
79952
79666
|
* @returns {void}
|
|
79953
79667
|
*/
|
|
79954
79668
|
configureAutoFormatting() {
|
|
79955
|
-
//
|
|
79956
|
-
//
|
|
79957
|
-
//
|
|
79958
|
-
//
|
|
79669
|
+
// _configuringMask gates two things: external re-entry into this method
|
|
79670
|
+
// while setup is mid-flight (from property changes that call back here),
|
|
79671
|
+
// and the accept/complete listeners below — both need to ignore the mask
|
|
79672
|
+
// events fired by our own value-restore step.
|
|
79959
79673
|
if (this._configuringMask) return;
|
|
79960
79674
|
this._configuringMask = true;
|
|
79961
79675
|
try {
|
|
79676
|
+
// Destroy any prior mask so IMask can attach fresh under the new format.
|
|
79677
|
+
// Null the reference too — if the new maskOptions.mask is falsy (e.g.
|
|
79678
|
+
// type switched from credit-card to text) the IMask() reassignment
|
|
79679
|
+
// below is skipped, and downstream writes at line ~823 would otherwise
|
|
79680
|
+
// route through the destroyed instance.
|
|
79962
79681
|
if (this.maskInstance) {
|
|
79963
79682
|
this.maskInstance.destroy();
|
|
79683
|
+
this.maskInstance = null;
|
|
79964
79684
|
}
|
|
79965
79685
|
|
|
79966
|
-
// Pass new format to util
|
|
79967
79686
|
this.util.updateFormat(this.format);
|
|
79968
79687
|
|
|
79969
79688
|
const maskOptions = this.util.getMaskOptions(this.type, this.format);
|
|
79970
79689
|
|
|
79971
79690
|
if (this.inputElement && maskOptions.mask) {
|
|
79972
|
-
|
|
79973
|
-
//
|
|
79974
|
-
//
|
|
79975
|
-
//
|
|
79976
|
-
// When the format changes (e.g. locale switch) and we have a valid ISO
|
|
79977
|
-
// model value, compute the display string for the NEW format instead of
|
|
79978
|
-
// re-using the old display string, which may be invalid in the new mask.
|
|
79691
|
+
// Capture the current display so it can be re-applied after IMask
|
|
79692
|
+
// attaches. The restore at the bottom goes through maskInstance.value
|
|
79693
|
+
// (not inputElement.value directly) so the mask's internal state and
|
|
79694
|
+
// the input's displayed text stay in lock-step.
|
|
79979
79695
|
let existingValue = this.inputElement.value;
|
|
79696
|
+
|
|
79697
|
+
// Format-change case (e.g. locale switch): existingValue is the OLD
|
|
79698
|
+
// mask's display string and may not parse under the new mask. When
|
|
79699
|
+
// we have a valid date model, rebuild the display from valueObject
|
|
79700
|
+
// (the canonical source) using the new mask's format function.
|
|
79980
79701
|
if (
|
|
79981
79702
|
this.util.isFullDateFormat(this.type, this.format) &&
|
|
79982
79703
|
this.value &&
|
|
79983
|
-
|
|
79984
|
-
this.valueObject instanceof Date &&
|
|
79985
|
-
!Number.isNaN(this.valueObject.getTime()) &&
|
|
79704
|
+
this.valueObject &&
|
|
79986
79705
|
typeof maskOptions.format === 'function'
|
|
79987
79706
|
) {
|
|
79988
79707
|
existingValue = maskOptions.format(this.valueObject);
|
|
79989
79708
|
}
|
|
79990
79709
|
|
|
79710
|
+
// Clear before IMask attaches so the constructor seeds an empty
|
|
79711
|
+
// internal value. Otherwise IMask reads the stale unmasked string
|
|
79712
|
+
// and emits a spurious 'accept' before the restore below runs.
|
|
79991
79713
|
this.skipNextProgrammaticInputEvent = true;
|
|
79992
79714
|
this.inputElement.value = '';
|
|
79993
79715
|
|
|
79994
79716
|
this.maskInstance = IMask(this.inputElement, maskOptions);
|
|
79995
79717
|
|
|
79718
|
+
// Mask fires 'accept' on every value change, including the restore
|
|
79719
|
+
// step below. Skip events fired during configureAutoFormatting so
|
|
79720
|
+
// we don't overwrite a value the parent just pushed.
|
|
79996
79721
|
this.maskInstance.on('accept', () => {
|
|
79997
|
-
// Suppress propagation during configureAutoFormatting's own value-restoration
|
|
79998
|
-
// (line below) — the mask emits 'accept' on every value-set, including ours,
|
|
79999
|
-
// and we don't want to overwrite a value the parent just pushed.
|
|
80000
79722
|
if (this._configuringMask) return;
|
|
80001
79723
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
80002
79724
|
if (this.type === "date") {
|
|
@@ -80004,6 +79726,8 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
80004
79726
|
}
|
|
80005
79727
|
});
|
|
80006
79728
|
|
|
79729
|
+
// Mask fires 'complete' on the restore step below for any value that
|
|
79730
|
+
// happens to be a complete match. Same setup-suppression as 'accept'.
|
|
80007
79731
|
this.maskInstance.on('complete', () => {
|
|
80008
79732
|
if (this._configuringMask) return;
|
|
80009
79733
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
@@ -80012,7 +79736,9 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
80012
79736
|
}
|
|
80013
79737
|
});
|
|
80014
79738
|
|
|
80015
|
-
//
|
|
79739
|
+
// Write existingValue through the mask (not the input directly) so
|
|
79740
|
+
// the mask reformats it under the new rules and keeps its internal
|
|
79741
|
+
// _value aligned with the input's displayed text.
|
|
80016
79742
|
if (existingValue) {
|
|
80017
79743
|
this.maskInstance.value = existingValue;
|
|
80018
79744
|
}
|
|
@@ -80106,10 +79832,10 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
80106
79832
|
// the gated types currently support it, since the list is a public
|
|
80107
79833
|
// property a consumer could mutate.
|
|
80108
79834
|
if (this.setSelectionInputTypes.includes(this.type)) {
|
|
80109
|
-
let selectionStart;
|
|
79835
|
+
let selectionStart = null;
|
|
80110
79836
|
try {
|
|
80111
|
-
selectionStart = this.inputElement
|
|
80112
|
-
} catch
|
|
79837
|
+
({ selectionStart } = this.inputElement);
|
|
79838
|
+
} catch {
|
|
80113
79839
|
return;
|
|
80114
79840
|
}
|
|
80115
79841
|
if (typeof selectionStart !== 'number') {
|
|
@@ -80118,7 +79844,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
80118
79844
|
this.updateComplete.then(() => {
|
|
80119
79845
|
try {
|
|
80120
79846
|
this.inputElement.setSelectionRange(selectionStart, selectionStart);
|
|
80121
|
-
} catch
|
|
79847
|
+
} catch {
|
|
80122
79848
|
// Some input types (number/email in certain UAs) throw on
|
|
80123
79849
|
// setSelectionRange; swallow and let the native cursor stand.
|
|
80124
79850
|
}
|
|
@@ -80212,7 +79938,6 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
80212
79938
|
*/
|
|
80213
79939
|
reset() {
|
|
80214
79940
|
this.value = undefined;
|
|
80215
|
-
this.setDateObjectProperty('valueObject', undefined);
|
|
80216
79941
|
this.validation.reset(this);
|
|
80217
79942
|
}
|
|
80218
79943
|
|
|
@@ -80221,7 +79946,6 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
80221
79946
|
*/
|
|
80222
79947
|
clear() {
|
|
80223
79948
|
this.value = undefined;
|
|
80224
|
-
this.setDateObjectProperty('valueObject', undefined);
|
|
80225
79949
|
}
|
|
80226
79950
|
|
|
80227
79951
|
/**
|
|
@@ -80296,7 +80020,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
80296
80020
|
/**
|
|
80297
80021
|
* Function to support credit-card feature type.
|
|
80298
80022
|
* @private
|
|
80299
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
80023
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
80300
80024
|
* @returns {object} JSON with data for credit card formatting.
|
|
80301
80025
|
*/
|
|
80302
80026
|
matchInputValueToCreditCard() {
|
|
@@ -80750,7 +80474,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$3 {
|
|
|
80750
80474
|
}
|
|
80751
80475
|
};
|
|
80752
80476
|
|
|
80753
|
-
var formkitVersion$1$1 = '
|
|
80477
|
+
var formkitVersion$1$1 = '202607011652';
|
|
80754
80478
|
|
|
80755
80479
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
80756
80480
|
// See LICENSE in the project root for license information.
|
|
@@ -81073,7 +80797,7 @@ class AuroInput extends BaseInput {
|
|
|
81073
80797
|
/**
|
|
81074
80798
|
* Determines default help text string.
|
|
81075
80799
|
* @private
|
|
81076
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
80800
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
81077
80801
|
* @returns {string} Evaluates pre-determined help text.
|
|
81078
80802
|
*/
|
|
81079
80803
|
getHelpText() {
|
|
@@ -81876,7 +81600,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$3 {
|
|
|
81876
81600
|
}
|
|
81877
81601
|
};
|
|
81878
81602
|
|
|
81879
|
-
var formkitVersion$3 = '
|
|
81603
|
+
var formkitVersion$3 = '202607011652';
|
|
81880
81604
|
|
|
81881
81605
|
var styleCss$1$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
81882
81606
|
|
|
@@ -82244,12 +81968,23 @@ function getOptionLabel(option) {
|
|
|
82244
81968
|
if (!option) {
|
|
82245
81969
|
return '';
|
|
82246
81970
|
}
|
|
82247
|
-
|
|
82248
|
-
|
|
82249
|
-
if (
|
|
82250
|
-
|
|
81971
|
+
|
|
81972
|
+
// Consumer-provided override: short-circuit the DOM walk entirely.
|
|
81973
|
+
if (option.dataset && option.dataset.label) {
|
|
81974
|
+
return option.dataset.label;
|
|
82251
81975
|
}
|
|
82252
|
-
|
|
81976
|
+
|
|
81977
|
+
// Walk direct children — the `slot` attribute only applies to direct children
|
|
81978
|
+
// of the slot host, so a shallow filter is sufficient. Avoids the cloneNode +
|
|
81979
|
+
// querySelector allocation that ran on every keystroke via syncValuesAndStates.
|
|
81980
|
+
let text = '';
|
|
81981
|
+
for (const node of option.childNodes) {
|
|
81982
|
+
const isDisplayValueSlot = node.nodeType === Node.ELEMENT_NODE && node.getAttribute('slot') === 'displayValue';
|
|
81983
|
+
if (!isDisplayValueSlot) {
|
|
81984
|
+
text += node.textContent || '';
|
|
81985
|
+
}
|
|
81986
|
+
}
|
|
81987
|
+
return text.replace(/\s+/gu, ' ').trim();
|
|
82253
81988
|
}
|
|
82254
81989
|
|
|
82255
81990
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
@@ -82324,8 +82059,6 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82324
82059
|
this.availableOptions = [];
|
|
82325
82060
|
this.dropdownId = undefined;
|
|
82326
82061
|
this.dropdownOpen = false;
|
|
82327
|
-
this.triggerExpandedState = false;
|
|
82328
|
-
this._expandedTimeout = null;
|
|
82329
82062
|
this._inFullscreenTransition = false;
|
|
82330
82063
|
this.errorMessage = null;
|
|
82331
82064
|
this.isHiddenWhileLoading = false;
|
|
@@ -82336,6 +82069,30 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82336
82069
|
this.touched = false;
|
|
82337
82070
|
this.validation = new AuroFormValidation$1();
|
|
82338
82071
|
this.validity = undefined;
|
|
82072
|
+
this._userTyped = false;
|
|
82073
|
+
// Tracks every setTimeout scheduled via _scheduleTimer so
|
|
82074
|
+
// disconnectedCallback can cancel them. Without this, a detached
|
|
82075
|
+
// combobox's pending timers still fire — most are no-ops, but
|
|
82076
|
+
// configureMenu's racing-condition retry would otherwise loop.
|
|
82077
|
+
this._pendingTimers = new Set();
|
|
82078
|
+
}
|
|
82079
|
+
|
|
82080
|
+
/**
|
|
82081
|
+
* Wraps setTimeout and records the timer id so disconnectedCallback
|
|
82082
|
+
* can cancel any outstanding callbacks. The id is removed from the set
|
|
82083
|
+
* once the callback fires so the set doesn't grow unbounded.
|
|
82084
|
+
* @param {Function} fn - Callback to run.
|
|
82085
|
+
* @param {number} ms - Delay in milliseconds.
|
|
82086
|
+
* @returns {number} The timer id.
|
|
82087
|
+
* @private
|
|
82088
|
+
*/
|
|
82089
|
+
_scheduleTimer(fn, ms) {
|
|
82090
|
+
const id = setTimeout(() => {
|
|
82091
|
+
this._pendingTimers.delete(id);
|
|
82092
|
+
fn();
|
|
82093
|
+
}, ms);
|
|
82094
|
+
this._pendingTimers.add(id);
|
|
82095
|
+
return id;
|
|
82339
82096
|
}
|
|
82340
82097
|
|
|
82341
82098
|
// This function is to define props used within the scope of this component
|
|
@@ -82697,17 +82454,6 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82697
82454
|
attribute: false
|
|
82698
82455
|
},
|
|
82699
82456
|
|
|
82700
|
-
/**
|
|
82701
|
-
* Deferred aria-expanded state for the trigger input.
|
|
82702
|
-
* Delays the "true" transition so VoiceOver finishes its character echo
|
|
82703
|
-
* before announcing "expanded".
|
|
82704
|
-
* @private
|
|
82705
|
-
*/
|
|
82706
|
-
triggerExpandedState: {
|
|
82707
|
-
type: Boolean,
|
|
82708
|
-
reflect: false,
|
|
82709
|
-
attribute: false
|
|
82710
|
-
},
|
|
82711
82457
|
};
|
|
82712
82458
|
}
|
|
82713
82459
|
|
|
@@ -82730,13 +82476,6 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82730
82476
|
return this.input.value;
|
|
82731
82477
|
}
|
|
82732
82478
|
|
|
82733
|
-
// /**
|
|
82734
|
-
// * Sets the value of the input element within the combobox.
|
|
82735
|
-
// */
|
|
82736
|
-
// set inputValue(value) {
|
|
82737
|
-
// this.input.value = value;
|
|
82738
|
-
// }
|
|
82739
|
-
|
|
82740
82479
|
/**
|
|
82741
82480
|
* Checks if the element is valid.
|
|
82742
82481
|
* @returns {boolean} - Returns true if the element is valid, false otherwise.
|
|
@@ -82863,7 +82602,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82863
82602
|
if (this.menu) {
|
|
82864
82603
|
this.menu.matchWord = normalizeFilterValue(this.input.value);
|
|
82865
82604
|
}
|
|
82866
|
-
const label = getOptionLabel(this.menu.optionSelected)
|
|
82605
|
+
const label = getOptionLabel(this.menu.optionSelected);
|
|
82867
82606
|
this.updateTriggerTextDisplay(label || this.value);
|
|
82868
82607
|
}
|
|
82869
82608
|
|
|
@@ -82877,44 +82616,16 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82877
82616
|
// in suggestion mode, do not override input value if no selection has been made and the input currently has focus
|
|
82878
82617
|
const isInputFocusedWithNoSelection = !this.menu.value && (this.input.matches(':focus-within') || (this.inputInBib && this.inputInBib.matches(':focus-within')));
|
|
82879
82618
|
|
|
82880
|
-
|
|
82881
|
-
|
|
82882
|
-
|
|
82883
|
-
// syncValuesAndStates re-enters here during typing when both inputs
|
|
82884
|
-
// already match, and a no-op flag flip would make the bib branch's
|
|
82885
|
-
// bail eat legitimate user-input events.
|
|
82886
|
-
const triggerNeedsSync = this.input.value !== nextValue;
|
|
82887
|
-
const bibNeedsSync = Boolean(this.inputInBib && this.inputInBib !== this.input && this.inputInBib.value !== nextValue);
|
|
82888
|
-
if (triggerNeedsSync || bibNeedsSync) {
|
|
82889
|
-
this._syncingDisplayValue = true;
|
|
82890
|
-
if (triggerNeedsSync) {
|
|
82891
|
-
this.input.value = nextValue;
|
|
82892
|
-
}
|
|
82893
|
-
if (bibNeedsSync) {
|
|
82894
|
-
this.inputInBib.value = nextValue;
|
|
82895
|
-
}
|
|
82896
|
-
const pending = [];
|
|
82897
|
-
if (triggerNeedsSync) {
|
|
82898
|
-
pending.push(this.input.updateComplete);
|
|
82899
|
-
}
|
|
82900
|
-
if (bibNeedsSync) {
|
|
82901
|
-
pending.push(this.inputInBib.updateComplete);
|
|
82902
|
-
}
|
|
82903
|
-
Promise.all(pending).then(() => {
|
|
82904
|
-
// imask reasserts otherwise, and handleBlur reverts to its stale value.
|
|
82905
|
-
if (triggerNeedsSync && this.input.maskInstance && typeof this.input.maskInstance.updateValue === 'function') {
|
|
82906
|
-
this.input.maskInstance.updateValue();
|
|
82907
|
-
}
|
|
82908
|
-
if (bibNeedsSync && this.inputInBib && this.inputInBib.maskInstance && typeof this.inputInBib.maskInstance.updateValue === 'function') {
|
|
82909
|
-
this.inputInBib.maskInstance.updateValue();
|
|
82910
|
-
}
|
|
82911
|
-
this._syncingDisplayValue = false;
|
|
82912
|
-
});
|
|
82913
|
-
}
|
|
82619
|
+
const suppressed = this.persistInput || (this.behavior === 'suggestion' && isInputFocusedWithNoSelection);
|
|
82620
|
+
if (!suppressed) {
|
|
82621
|
+
this.syncInputValuesAcrossTriggerAndBib(label || this.value);
|
|
82914
82622
|
}
|
|
82915
82623
|
|
|
82916
|
-
//
|
|
82917
|
-
|
|
82624
|
+
// Replace any previously appended displayValue clone in the trigger.
|
|
82625
|
+
// :not(slot) excludes the template's <slot name="displayValue"
|
|
82626
|
+
// slot="displayValue"> forwarder, which also has slot="displayValue"
|
|
82627
|
+
// and would otherwise be matched first and removed.
|
|
82628
|
+
const displayValueInTrigger = this.input.querySelector('[slot="displayValue"]:not(slot)');
|
|
82918
82629
|
|
|
82919
82630
|
if (displayValueInTrigger) {
|
|
82920
82631
|
displayValueInTrigger.remove();
|
|
@@ -82938,6 +82649,53 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82938
82649
|
this.requestUpdate();
|
|
82939
82650
|
}
|
|
82940
82651
|
|
|
82652
|
+
/**
|
|
82653
|
+
* Writes nextValue to the trigger input and the bib input when their current
|
|
82654
|
+
* value differs, then re-asserts imask after Lit's update flushes.
|
|
82655
|
+
* @param {string} nextValue - The value to write to both inputs.
|
|
82656
|
+
* @returns {Promise<void>} Resolves after both inputs flush and imask
|
|
82657
|
+
* re-asserts; resolves immediately when no sync is needed.
|
|
82658
|
+
* @private
|
|
82659
|
+
*/
|
|
82660
|
+
async syncInputValuesAcrossTriggerAndBib(nextValue) {
|
|
82661
|
+
// Only set the flag when there's an actual write to suppress —
|
|
82662
|
+
// syncValuesAndStates re-enters here during typing when both inputs
|
|
82663
|
+
// already match, and a no-op flag flip would make the bib branch's
|
|
82664
|
+
// bail eat legitimate user-input events.
|
|
82665
|
+
const triggerNeedsSync = this.input.value !== nextValue;
|
|
82666
|
+
const bibNeedsSync = Boolean(this.inputInBib) && this.inputInBib.value !== nextValue;
|
|
82667
|
+
if (!triggerNeedsSync && !bibNeedsSync) {
|
|
82668
|
+
return;
|
|
82669
|
+
}
|
|
82670
|
+
|
|
82671
|
+
this._syncingDisplayValue = true;
|
|
82672
|
+
|
|
82673
|
+
const pending = [];
|
|
82674
|
+
if (triggerNeedsSync) {
|
|
82675
|
+
this.input.value = nextValue;
|
|
82676
|
+
pending.push(this.input.updateComplete);
|
|
82677
|
+
}
|
|
82678
|
+
if (bibNeedsSync) {
|
|
82679
|
+
this.inputInBib.value = nextValue;
|
|
82680
|
+
pending.push(this.inputInBib.updateComplete);
|
|
82681
|
+
}
|
|
82682
|
+
// finally — not a bare .then — so that an imask throw (see commit
|
|
82683
|
+
// d1857401c: imask can throw on credit-card format change) doesn't strand
|
|
82684
|
+
// _syncingDisplayValue=true and silently swallow every subsequent input.
|
|
82685
|
+
try {
|
|
82686
|
+
await Promise.all(pending);
|
|
82687
|
+
// imask reasserts otherwise, and handleBlur reverts to its stale value.
|
|
82688
|
+
if (triggerNeedsSync && this.input.maskInstance && typeof this.input.maskInstance.updateValue === 'function') {
|
|
82689
|
+
this.input.maskInstance.updateValue();
|
|
82690
|
+
}
|
|
82691
|
+
if (bibNeedsSync && this.inputInBib.maskInstance && typeof this.inputInBib.maskInstance.updateValue === 'function') {
|
|
82692
|
+
this.inputInBib.maskInstance.updateValue();
|
|
82693
|
+
}
|
|
82694
|
+
} finally {
|
|
82695
|
+
this._syncingDisplayValue = false;
|
|
82696
|
+
}
|
|
82697
|
+
}
|
|
82698
|
+
|
|
82941
82699
|
/**
|
|
82942
82700
|
* Processes hidden state of all menu options and determines if there are any available options not hidden.
|
|
82943
82701
|
* @private
|
|
@@ -82946,6 +82704,13 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82946
82704
|
handleMenuOptions() {
|
|
82947
82705
|
this.generateOptionsArray();
|
|
82948
82706
|
this.availableOptions = [];
|
|
82707
|
+
// Single source of truth for the menu's filter/highlight token per call.
|
|
82708
|
+
// syncValuesAndStates re-writes the same value on exact-match keystrokes —
|
|
82709
|
+
// Lit's hasChanged makes that a no-op — and the prior duplicate set inside
|
|
82710
|
+
// handleTriggerInputValueChange is gone.
|
|
82711
|
+
if (this.menu) {
|
|
82712
|
+
this.menu.matchWord = normalizeFilterValue(this.input.value);
|
|
82713
|
+
}
|
|
82949
82714
|
this.updateFilter();
|
|
82950
82715
|
|
|
82951
82716
|
// Set aria-setsize/aria-posinset on each visible option so screen readers
|
|
@@ -82957,17 +82722,14 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82957
82722
|
option.setAttribute('aria-posinset', index + 1);
|
|
82958
82723
|
});
|
|
82959
82724
|
|
|
82960
|
-
if (this.value && this.
|
|
82961
|
-
|
|
82962
|
-
this.setMenuValue(this.value);
|
|
82963
|
-
}
|
|
82964
|
-
|
|
82725
|
+
if (this.input.value && this.menu.options && this.menu.options.some((opt) => opt.value === this.input.value)) {
|
|
82726
|
+
this.setMenuValue(this.input.value);
|
|
82965
82727
|
this.syncValuesAndStates();
|
|
82966
82728
|
}
|
|
82967
82729
|
|
|
82968
|
-
// Re-activate when optionActive is
|
|
82969
|
-
// been reset (e.g. by clearSelection in an async update)
|
|
82970
|
-
// makeSelection() can find the correct option.
|
|
82730
|
+
// Re-activate when optionActive is not in the current scrollable viewport,
|
|
82731
|
+
// or when _index has been reset (e.g. by clearSelection in an async update)
|
|
82732
|
+
// so that makeSelection() can find the correct option.
|
|
82971
82733
|
if (!this.availableOptions.includes(this.menu.optionActive) || this.menu._index < 0) {
|
|
82972
82734
|
this.activateFirstEnabledAvailableOption();
|
|
82973
82735
|
}
|
|
@@ -83040,18 +82802,6 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83040
82802
|
this.dropdownOpen = ev.detail.expanded;
|
|
83041
82803
|
this.updateMenuShapeSize();
|
|
83042
82804
|
|
|
83043
|
-
// Defer aria-expanded "true" so VoiceOver finishes character echo
|
|
83044
|
-
// before announcing "expanded". Set "false" immediately on close.
|
|
83045
|
-
clearTimeout(this._expandedTimeout);
|
|
83046
|
-
if (this.dropdownOpen) {
|
|
83047
|
-
const expandedDelay = 150;
|
|
83048
|
-
this._expandedTimeout = setTimeout(() => {
|
|
83049
|
-
this.triggerExpandedState = true;
|
|
83050
|
-
}, expandedDelay);
|
|
83051
|
-
} else {
|
|
83052
|
-
this.triggerExpandedState = false;
|
|
83053
|
-
}
|
|
83054
|
-
|
|
83055
82805
|
// Clear aria-activedescendant when dropdown closes
|
|
83056
82806
|
if (!this.dropdownOpen && this.input) {
|
|
83057
82807
|
this.input.setActiveDescendant(null);
|
|
@@ -83101,28 +82851,25 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83101
82851
|
|
|
83102
82852
|
guardTouchPassthrough$1(this.menu);
|
|
83103
82853
|
|
|
83104
|
-
//
|
|
83105
|
-
//
|
|
83106
|
-
//
|
|
82854
|
+
// showModal() takes focus away from the trigger. Early focus once
|
|
82855
|
+
// the dialog has painted; the shared doubleRaf below is the fallback
|
|
82856
|
+
// for when the dialog needs an extra frame and also clears the
|
|
82857
|
+
// validation guard.
|
|
83107
82858
|
requestAnimationFrame(() => {
|
|
83108
82859
|
this.setInputFocus();
|
|
83109
82860
|
});
|
|
83110
|
-
|
|
83111
|
-
doubleRaf$1(() => {
|
|
83112
|
-
this.setInputFocus();
|
|
83113
|
-
this._inFullscreenTransition = false;
|
|
83114
|
-
});
|
|
83115
|
-
} else {
|
|
83116
|
-
// Desktop popover-open: restore the trigger caret to end-of-text.
|
|
83117
|
-
// Clicking the trigger lands on auro-input's floating <label for="…">
|
|
83118
|
-
// overlay; Chrome resets the native input's selection to [0, 0] on
|
|
83119
|
-
// label-focus before any JS runs. setInputFocus()'s non-fullscreen
|
|
83120
|
-
// branch parks the caret at end. doubleRaf lets the dropdown layout
|
|
83121
|
-
// settle first, matching the fullscreen branch timing.
|
|
83122
|
-
doubleRaf$1(() => {
|
|
83123
|
-
this.setInputFocus();
|
|
83124
|
-
});
|
|
83125
82861
|
}
|
|
82862
|
+
// else (desktop popover-open): Chrome resets the trigger caret to
|
|
82863
|
+
// [0, 0] when its floating <label for="…"> overlay receives focus.
|
|
82864
|
+
// The shared doubleRaf below parks the caret back at end-of-text
|
|
82865
|
+
// after the dropdown layout settles.
|
|
82866
|
+
|
|
82867
|
+
doubleRaf$1(() => {
|
|
82868
|
+
this.setInputFocus();
|
|
82869
|
+
if (this._inFullscreenTransition) {
|
|
82870
|
+
this._inFullscreenTransition = false;
|
|
82871
|
+
}
|
|
82872
|
+
});
|
|
83126
82873
|
}
|
|
83127
82874
|
});
|
|
83128
82875
|
|
|
@@ -83159,7 +82906,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83159
82906
|
this.dropdown.trigger.inert = false;
|
|
83160
82907
|
}
|
|
83161
82908
|
|
|
83162
|
-
|
|
82909
|
+
this._scheduleTimer(() => {
|
|
83163
82910
|
this.setInputFocus();
|
|
83164
82911
|
}, 0);
|
|
83165
82912
|
});
|
|
@@ -83303,7 +83050,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83303
83050
|
|
|
83304
83051
|
// racing condition on custom-combobox with custom-menu
|
|
83305
83052
|
if (!this.menu) {
|
|
83306
|
-
|
|
83053
|
+
this._scheduleTimer(() => {
|
|
83307
83054
|
this.configureMenu();
|
|
83308
83055
|
}, 0);
|
|
83309
83056
|
return;
|
|
@@ -83333,7 +83080,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83333
83080
|
if (this.menu.optionSelected) {
|
|
83334
83081
|
const selected = this.menu.optionSelected;
|
|
83335
83082
|
|
|
83336
|
-
if (
|
|
83083
|
+
if (this.optionSelected !== selected) {
|
|
83337
83084
|
this.optionSelected = selected;
|
|
83338
83085
|
}
|
|
83339
83086
|
|
|
@@ -83346,7 +83093,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83346
83093
|
}
|
|
83347
83094
|
|
|
83348
83095
|
// Update display
|
|
83349
|
-
this.updateTriggerTextDisplay(getOptionLabel(this.optionSelected)
|
|
83096
|
+
this.updateTriggerTextDisplay(getOptionLabel(this.optionSelected));
|
|
83350
83097
|
|
|
83351
83098
|
// Update match word for filtering
|
|
83352
83099
|
const trimmedInput = normalizeFilterValue(this.input.value);
|
|
@@ -83358,17 +83105,24 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83358
83105
|
// Hide dropdown on selection (except during slot changes)
|
|
83359
83106
|
if (evt.detail && evt.detail.source !== 'slotchange') {
|
|
83360
83107
|
// do not close while typing in suggestion mode with no value selected, to allow freeform input
|
|
83361
|
-
|
|
83362
|
-
|
|
83108
|
+
this.hideBib();
|
|
83109
|
+
|
|
83110
|
+
// Move focus to the clear button when the user makes a selection.
|
|
83111
|
+
if (!isEcho && this.menu.value !== undefined) {
|
|
83112
|
+
this.setClearBtnFocus();
|
|
83363
83113
|
}
|
|
83364
83114
|
|
|
83365
83115
|
// Announce the selection after the dropdown closes so it isn't
|
|
83366
83116
|
// overridden by VoiceOver's "collapsed" announcement from aria-expanded.
|
|
83117
|
+
// Skip when there's no selected value (e.g. menu.clearSelection() from
|
|
83118
|
+
// the unmatched-value path), otherwise VoiceOver reads "undefined".
|
|
83367
83119
|
const selectedValue = this.menu.value;
|
|
83368
|
-
|
|
83369
|
-
|
|
83370
|
-
|
|
83371
|
-
|
|
83120
|
+
if (selectedValue) {
|
|
83121
|
+
const announcementDelay = 300;
|
|
83122
|
+
this._scheduleTimer(() => {
|
|
83123
|
+
announceToScreenReader$1(this._getAnnouncementRoot(), `${selectedValue}, selected`);
|
|
83124
|
+
}, announcementDelay);
|
|
83125
|
+
}
|
|
83372
83126
|
}
|
|
83373
83127
|
|
|
83374
83128
|
// Programmatic value syncs leave availableOptions stale because
|
|
@@ -83377,22 +83131,6 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83377
83131
|
// only — fresh user selections take the existing hideBib path.
|
|
83378
83132
|
if (isEcho && this.menu.optionSelected) {
|
|
83379
83133
|
this._programmaticFilterRefresh = true;
|
|
83380
|
-
this.handleMenuOptions();
|
|
83381
|
-
setTimeout(() => {
|
|
83382
|
-
this._programmaticFilterRefresh = false;
|
|
83383
|
-
}, 0);
|
|
83384
|
-
}
|
|
83385
|
-
|
|
83386
|
-
// base-input skips auto-validate when focus is inside its own shadow,
|
|
83387
|
-
// which it is after setTriggerInputFocus — re-run so prior tooShort
|
|
83388
|
-
// clears. processCreditCard reasserts errorMessage on every render.
|
|
83389
|
-
if (!isEcho && this.menu.optionSelected && this.input.validate) {
|
|
83390
|
-
this.input.updateComplete.then(() => {
|
|
83391
|
-
this.input.validate(true);
|
|
83392
|
-
if (this.input.validity === 'valid') {
|
|
83393
|
-
this.input.errorMessage = '';
|
|
83394
|
-
}
|
|
83395
|
-
});
|
|
83396
83134
|
}
|
|
83397
83135
|
});
|
|
83398
83136
|
|
|
@@ -83405,6 +83143,14 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83405
83143
|
// stale option. Safe from re-entrancy because any resulting
|
|
83406
83144
|
// input.value changes dispatch isProgrammatic events.
|
|
83407
83145
|
this.menu.addEventListener('auroMenu-selectValueFailure', () => {
|
|
83146
|
+
// Announce the rejection BEFORE we clear `this.value` so the live
|
|
83147
|
+
// region carries the attempted value — without this the bib closes
|
|
83148
|
+
// silently and screen-reader users get no signal that their request
|
|
83149
|
+
// (e.g. a direct setMenuValue() call) was dropped.
|
|
83150
|
+
const attemptedValue = this.value;
|
|
83151
|
+
if (attemptedValue) {
|
|
83152
|
+
announceToScreenReader$1(this._getAnnouncementRoot(), `No matching option for ${attemptedValue}`);
|
|
83153
|
+
}
|
|
83408
83154
|
this.value = undefined;
|
|
83409
83155
|
this.optionSelected = undefined;
|
|
83410
83156
|
});
|
|
@@ -83416,10 +83162,13 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83416
83162
|
this.input.setActiveDescendant(this.optionActive);
|
|
83417
83163
|
}
|
|
83418
83164
|
|
|
83419
|
-
//
|
|
83420
|
-
//
|
|
83421
|
-
//
|
|
83422
|
-
|
|
83165
|
+
// In fullscreen mode the menu sits inside a nested <dialog> shadow root,
|
|
83166
|
+
// and aria-activedescendant references across that boundary are lost —
|
|
83167
|
+
// VoiceOver/NVDA don't read the active option natively, so we mirror it
|
|
83168
|
+
// into the polite live region. In popover mode aria-activedescendant on
|
|
83169
|
+
// the trigger input is read natively; double-announcing would flood the
|
|
83170
|
+
// queue on arrow-key repeat.
|
|
83171
|
+
if (this.optionActive && this.dropdown.isBibFullscreen) {
|
|
83423
83172
|
const optionText = this.optionActive.textContent.trim();
|
|
83424
83173
|
const selectedState = this.optionActive.hasAttribute('selected') ? ', selected' : ', not selected';
|
|
83425
83174
|
const optionIndex = this.availableOptions.indexOf(this.optionActive) + 1;
|
|
@@ -83452,7 +83201,12 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83452
83201
|
* Validate every time we remove focus from the combo box.
|
|
83453
83202
|
*/
|
|
83454
83203
|
this.addEventListener('focusout', () => {
|
|
83455
|
-
|
|
83204
|
+
// Skip while the dropdown is open — focus transits out briefly on
|
|
83205
|
+
// mousedown of a menu option (popover top-layer breaks :focus-within),
|
|
83206
|
+
// and validating against the pre-selection value flashes a stale error
|
|
83207
|
+
// between mousedown and mouseup. The next focusout fires after the
|
|
83208
|
+
// dropdown closes and validates against the post-selection value.
|
|
83209
|
+
if (!this.componentHasFocus && !this._inFullscreenTransition && !this.dropdownOpen) {
|
|
83456
83210
|
this.validate();
|
|
83457
83211
|
}
|
|
83458
83212
|
});
|
|
@@ -83515,49 +83269,40 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83515
83269
|
if (this._syncingDisplayValue) {
|
|
83516
83270
|
return;
|
|
83517
83271
|
}
|
|
83518
|
-
this._syncingBibValue = true;
|
|
83519
|
-
this.input.value = this.inputInBib.value;
|
|
83520
|
-
this.input.updateComplete.then(() => {
|
|
83521
|
-
this._syncingBibValue = false;
|
|
83522
|
-
});
|
|
83523
|
-
|
|
83524
|
-
// Run filtering inline — the re-entrant event won't reach this code.
|
|
83525
|
-
this.menu.matchWord = normalizeFilterValue(this.inputInBib.value);
|
|
83526
|
-
this.optionActive = null;
|
|
83527
83272
|
|
|
83528
|
-
//
|
|
83529
|
-
//
|
|
83530
|
-
//
|
|
83531
|
-
if (this.
|
|
83532
|
-
this.
|
|
83273
|
+
// Filtering runs via re-entrance: writing this.input.value below
|
|
83274
|
+
// dispatches an 'input' event that the trigger's listener routes to
|
|
83275
|
+
// handleTriggerInputValueChange, which refreshes the menu filter.
|
|
83276
|
+
if (this.input.value !== this.inputInBib.value) {
|
|
83277
|
+
this._syncingBibValue = true;
|
|
83278
|
+
this.input.value = this.inputInBib.value;
|
|
83279
|
+
this.input.updateComplete.then(() => {
|
|
83280
|
+
this._syncingBibValue = false;
|
|
83281
|
+
});
|
|
83533
83282
|
}
|
|
83534
83283
|
|
|
83535
|
-
this.handleMenuOptions();
|
|
83536
83284
|
this.dispatchEvent(new CustomEvent('inputValue', { detail: { value: this.inputValue } }));
|
|
83537
|
-
|
|
83285
|
+
} else if (event.target === this.input) {
|
|
83286
|
+
|
|
83287
|
+
// Also sync the native input immediately so keystrokes arriving
|
|
83288
|
+
// before Lit's async update cycle (e.g. rapid Backspaces during a
|
|
83289
|
+
// fullscreen transition) operate on the correct content.
|
|
83290
|
+
// Skip the next programmatic input event to prevent the patched setter
|
|
83291
|
+
// from re-entering handleInputValueChange via the bib path.
|
|
83292
|
+
const bibNativeInput = this.inputInBib.inputElement;
|
|
83293
|
+
if (bibNativeInput && bibNativeInput.value !== this.input.value) {
|
|
83294
|
+
this.inputInBib.skipNextProgrammaticInputEvent = true;
|
|
83295
|
+
bibNativeInput.value = this.input.value || '';
|
|
83296
|
+
}
|
|
83538
83297
|
}
|
|
83539
83298
|
|
|
83299
|
+
this.value = this.input.value;
|
|
83300
|
+
|
|
83540
83301
|
// Ignore re-entrant input events caused by programmatic value sets.
|
|
83541
83302
|
if (this._syncingBibValue || this._syncingDisplayValue) {
|
|
83542
83303
|
return;
|
|
83543
83304
|
}
|
|
83544
83305
|
|
|
83545
|
-
this.inputInBib.value = this.input.value;
|
|
83546
|
-
|
|
83547
|
-
// Also sync the native input immediately so keystrokes arriving
|
|
83548
|
-
// before Lit's async update cycle (e.g. rapid Backspaces during a
|
|
83549
|
-
// fullscreen transition) operate on the correct content.
|
|
83550
|
-
// Skip the next programmatic input event to prevent the patched setter
|
|
83551
|
-
// from re-entering handleInputValueChange via the bib path.
|
|
83552
|
-
const bibNativeInput = this.inputInBib.inputElement;
|
|
83553
|
-
if (bibNativeInput && bibNativeInput.value !== this.input.value) {
|
|
83554
|
-
this.inputInBib.skipNextProgrammaticInputEvent = true;
|
|
83555
|
-
bibNativeInput.value = this.input.value || '';
|
|
83556
|
-
}
|
|
83557
|
-
|
|
83558
|
-
this.menu.matchWord = normalizeFilterValue(this.input.value);
|
|
83559
|
-
this.optionActive = null;
|
|
83560
|
-
|
|
83561
83306
|
if (this.behavior === 'suggestion') {
|
|
83562
83307
|
this.value = this.input.value;
|
|
83563
83308
|
}
|
|
@@ -83565,7 +83310,6 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83565
83310
|
if (!this.input.value && !this._clearing) {
|
|
83566
83311
|
this.clear();
|
|
83567
83312
|
}
|
|
83568
|
-
this.handleMenuOptions();
|
|
83569
83313
|
|
|
83570
83314
|
// Validate only if the value was set programmatically (not during user
|
|
83571
83315
|
// interaction). In fullscreen dialog mode, componentHasFocus returns false
|
|
@@ -83575,34 +83319,44 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83575
83319
|
this.validate();
|
|
83576
83320
|
}
|
|
83577
83321
|
|
|
83578
|
-
|
|
83579
|
-
|
|
83580
|
-
|
|
83581
|
-
|
|
83582
|
-
|
|
83583
|
-
|
|
83584
|
-
|
|
83585
|
-
|
|
83586
|
-
|
|
83322
|
+
this.dispatchEvent(new CustomEvent('inputValue', { detail: { value: this.inputValue } }));
|
|
83323
|
+
}
|
|
83324
|
+
|
|
83325
|
+
/**
|
|
83326
|
+
* Handles input value changes originating from the trigger input.
|
|
83327
|
+
* Refreshes menu options and filtering, delegates to handleInputValueChange
|
|
83328
|
+
* for value synchronization, and manages fullscreen bib focus.
|
|
83329
|
+
* @private
|
|
83330
|
+
* @param {Event} event - The input event from the trigger input element.
|
|
83331
|
+
* @returns {void}
|
|
83332
|
+
*/
|
|
83333
|
+
handleTriggerInputValueChange(event) {
|
|
83334
|
+
// 'input' fires for every user-initiated value change — typing, paste,
|
|
83335
|
+
// IME composition end, dead-key composition, drag-drop. Flip _userTyped
|
|
83336
|
+
// here so updated('availableOptions') auto-opens the bib for sources
|
|
83337
|
+
// that keydown alone misses: paste fires no keydown, IME uses
|
|
83338
|
+
// key='Process', and dead keys produce multi-char keys (all bypass the
|
|
83339
|
+
// prior keydown.key.length===1 gate). Skip programmatic syncs.
|
|
83340
|
+
if (!this._syncingDisplayValue && !this._syncingBibValue && !this._programmaticFilterRefresh) {
|
|
83341
|
+
this._userTyped = true;
|
|
83587
83342
|
}
|
|
83588
83343
|
|
|
83589
|
-
|
|
83590
|
-
|
|
83591
|
-
|
|
83592
|
-
|
|
83593
|
-
|
|
83594
|
-
// dialog opens — the user then has to tap the input again to resume
|
|
83595
|
-
// typing.
|
|
83596
|
-
if (this.dropdown.isBibFullscreen && this.input.value && this.input.value.length > 0) {
|
|
83597
|
-
if (!this.dropdown.isPopoverVisible) {
|
|
83598
|
-
this.showBib();
|
|
83599
|
-
}
|
|
83600
|
-
if (this.dropdown.isPopoverVisible) {
|
|
83601
|
-
this.setInputFocus();
|
|
83602
|
-
}
|
|
83344
|
+
this.handleMenuOptions();
|
|
83345
|
+
this.optionActive = null;
|
|
83346
|
+
|
|
83347
|
+
if (this.value === this.input.value) {
|
|
83348
|
+
return;
|
|
83603
83349
|
}
|
|
83604
83350
|
|
|
83605
|
-
this.
|
|
83351
|
+
this.handleInputValueChange(event);
|
|
83352
|
+
|
|
83353
|
+
if (this.dropdown.isBibFullscreen && this.input.value && this.input.value.length > 0 && this.dropdown.isPopoverVisible) {
|
|
83354
|
+
this.setInputFocus();
|
|
83355
|
+
}
|
|
83356
|
+
|
|
83357
|
+
if (this._programmaticFilterRefresh) {
|
|
83358
|
+
this._programmaticFilterRefresh = false;
|
|
83359
|
+
}
|
|
83606
83360
|
}
|
|
83607
83361
|
|
|
83608
83362
|
/**
|
|
@@ -83670,6 +83424,11 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83670
83424
|
disconnectedCallback() {
|
|
83671
83425
|
super.disconnectedCallback();
|
|
83672
83426
|
this._inFullscreenTransition = false;
|
|
83427
|
+
// Cancel any outstanding timers so detached callbacks don't fire on
|
|
83428
|
+
// disposed DOM — most are no-ops, but configureMenu's racing-condition
|
|
83429
|
+
// retry would otherwise keep rescheduling itself indefinitely.
|
|
83430
|
+
this._pendingTimers.forEach((id) => clearTimeout(id));
|
|
83431
|
+
this._pendingTimers.clear();
|
|
83673
83432
|
}
|
|
83674
83433
|
|
|
83675
83434
|
firstUpdated() {
|
|
@@ -83711,7 +83470,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83711
83470
|
this.menu.value = value;
|
|
83712
83471
|
// Backup clear: if menu.value === menu.optionSelected.value already, the
|
|
83713
83472
|
// listener won't fire and the flag would swallow the next user click.
|
|
83714
|
-
|
|
83473
|
+
this._scheduleTimer(() => {
|
|
83715
83474
|
this._pendingMenuValueSync = false;
|
|
83716
83475
|
}, 0);
|
|
83717
83476
|
}
|
|
@@ -83728,15 +83487,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83728
83487
|
this.menu.value = undefined;
|
|
83729
83488
|
this.validation.reset(this);
|
|
83730
83489
|
this.touched = false;
|
|
83731
|
-
// Force validity back to the cleared state. validation.reset() calls
|
|
83732
|
-
// validate() at the end, and (post-credit-card-fix) the trigger input's
|
|
83733
|
-
// residual validity may still be copied into the combobox by the
|
|
83734
|
-
// auroInputElements loop. Explicitly clear here so reset() actually
|
|
83735
|
-
// leaves the component in a "no validity" state.
|
|
83736
83490
|
this.validity = undefined;
|
|
83737
|
-
this.errorMessage = '';
|
|
83738
|
-
this.input.validity = undefined;
|
|
83739
|
-
this.input.errorMessage = '';
|
|
83740
83491
|
}
|
|
83741
83492
|
|
|
83742
83493
|
/**
|
|
@@ -83754,6 +83505,17 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83754
83505
|
this.optionSelected = undefined;
|
|
83755
83506
|
this.value = undefined;
|
|
83756
83507
|
|
|
83508
|
+
// Clear the appended displayValue clone in the trigger if present.
|
|
83509
|
+
// :not(slot) excludes the template's <slot name="displayValue"
|
|
83510
|
+
// slot="displayValue"> forwarder (line 1816), which also has
|
|
83511
|
+
// slot="displayValue" and would otherwise be matched first and removed,
|
|
83512
|
+
// permanently breaking the consumer-provided displayValue slot.
|
|
83513
|
+
const displayValueInTrigger = this.input.querySelector('[slot="displayValue"]:not(slot)');
|
|
83514
|
+
|
|
83515
|
+
if (displayValueInTrigger) {
|
|
83516
|
+
displayValueInTrigger.remove();
|
|
83517
|
+
}
|
|
83518
|
+
|
|
83757
83519
|
if (this.input.value) {
|
|
83758
83520
|
this.input.clear();
|
|
83759
83521
|
}
|
|
@@ -83777,81 +83539,50 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83777
83539
|
}
|
|
83778
83540
|
|
|
83779
83541
|
updated(changedProperties) {
|
|
83780
|
-
// After the component is ready,
|
|
83542
|
+
// After the component is ready, propagate direct changes down to child components.
|
|
83781
83543
|
if (changedProperties.has('value')) {
|
|
83782
|
-
|
|
83783
|
-
|
|
83784
|
-
|
|
83785
|
-
|
|
83544
|
+
// Only flag programmatic refreshes — user-typed value changes must not
|
|
83545
|
+
// suppress the availableOptions branch's showBib(). Firefox batches
|
|
83546
|
+
// 'value' and 'availableOptions' into the same updated() call, so
|
|
83547
|
+
// setting the flag unconditionally here masks the user-typed open path.
|
|
83548
|
+
if (!this._userTyped) {
|
|
83549
|
+
this._programmaticFilterRefresh = true;
|
|
83786
83550
|
}
|
|
83787
83551
|
|
|
83788
|
-
if (this.
|
|
83789
|
-
|
|
83790
|
-
|
|
83552
|
+
if (this.input.value !== this.value) {
|
|
83553
|
+
// Clear menu.value AND menu.optionSelected together. Clearing only
|
|
83554
|
+
// menu.value leaves the previously-selected option element pinned
|
|
83555
|
+
// as menu.optionSelected; a later auroMenu-selectedOption event
|
|
83556
|
+
// would then write its stale .value back into combobox.value
|
|
83557
|
+
// (e.g. Tab-after-Backspace re-selecting the prior option).
|
|
83558
|
+
if (this.menu.value || this.menu.optionSelected) {
|
|
83559
|
+
this.menu.clearSelection();
|
|
83560
|
+
}
|
|
83791
83561
|
|
|
83792
|
-
|
|
83793
|
-
|
|
83794
|
-
|
|
83795
|
-
|
|
83796
|
-
|
|
83797
|
-
|
|
83798
|
-
|
|
83799
|
-
|
|
83800
|
-
|
|
83801
|
-
|
|
83802
|
-
|
|
83803
|
-
|
|
83804
|
-
|
|
83805
|
-
|
|
83806
|
-
|
|
83807
|
-
|
|
83808
|
-
|
|
83809
|
-
|
|
83810
|
-
// matches to avoid spurious events during the normal typing path.
|
|
83811
|
-
const nextValue = this.value || '';
|
|
83812
|
-
const triggerNeedsSync = this.input.value !== nextValue;
|
|
83813
|
-
const bibNeedsSync = Boolean(this.inputInBib && this.inputInBib !== this.input && this.inputInBib.value !== nextValue);
|
|
83814
|
-
if (triggerNeedsSync || bibNeedsSync) {
|
|
83815
|
-
this._syncingDisplayValue = true;
|
|
83816
|
-
if (triggerNeedsSync) {
|
|
83817
|
-
this.input.value = nextValue;
|
|
83818
|
-
}
|
|
83819
|
-
if (bibNeedsSync) {
|
|
83820
|
-
this.inputInBib.value = nextValue;
|
|
83821
|
-
}
|
|
83822
|
-
const pending = [];
|
|
83823
|
-
if (triggerNeedsSync) {
|
|
83824
|
-
pending.push(this.input.updateComplete);
|
|
83825
|
-
}
|
|
83826
|
-
if (bibNeedsSync) {
|
|
83827
|
-
pending.push(this.inputInBib.updateComplete);
|
|
83828
|
-
}
|
|
83829
|
-
Promise.all(pending).then(() => {
|
|
83830
|
-
if (triggerNeedsSync && this.input.maskInstance && typeof this.input.maskInstance.updateValue === 'function') {
|
|
83831
|
-
this.input.maskInstance.updateValue();
|
|
83832
|
-
}
|
|
83833
|
-
if (bibNeedsSync && this.inputInBib && this.inputInBib.maskInstance && typeof this.inputInBib.maskInstance.updateValue === 'function') {
|
|
83834
|
-
this.inputInBib.maskInstance.updateValue();
|
|
83835
|
-
}
|
|
83836
|
-
this._syncingDisplayValue = false;
|
|
83837
|
-
// handleInputValueChange bailed on the flag — refresh the filter.
|
|
83838
|
-
this._programmaticFilterRefresh = true;
|
|
83839
|
-
this.handleMenuOptions();
|
|
83840
|
-
setTimeout(() => {
|
|
83841
|
-
this._programmaticFilterRefresh = false;
|
|
83842
|
-
}, 0);
|
|
83843
|
-
});
|
|
83844
|
-
}
|
|
83562
|
+
if (!this.persistInput) {
|
|
83563
|
+
this.syncInputValuesAcrossTriggerAndBib(this.value || '');
|
|
83564
|
+
}
|
|
83565
|
+
|
|
83566
|
+
// Programmatic value with no matching option: updateFilter will close
|
|
83567
|
+
// the bib silently (see line 648 — no noMatchOption + 0 results
|
|
83568
|
+
// hides). Announce so screen-reader users hear the request was
|
|
83569
|
+
// dropped. Gated on `input.value !== this.value` so this never fires
|
|
83570
|
+
// for user typing — that path always reconciles input.value to
|
|
83571
|
+
// this.value before updated() runs.
|
|
83572
|
+
if (
|
|
83573
|
+
this.value &&
|
|
83574
|
+
this.menu &&
|
|
83575
|
+
this.menu.options &&
|
|
83576
|
+
this.menu.options.length > 0 &&
|
|
83577
|
+
!this.menu.options.some((opt) => opt.value === this.value)
|
|
83578
|
+
) {
|
|
83579
|
+
announceToScreenReader$1(this._getAnnouncementRoot(), `No matching option for ${this.value}`);
|
|
83845
83580
|
}
|
|
83846
83581
|
}
|
|
83582
|
+
|
|
83847
83583
|
if (!this.value) {
|
|
83848
83584
|
this.clear();
|
|
83849
83585
|
}
|
|
83850
|
-
if (this.value && !this.componentHasFocus) {
|
|
83851
|
-
// If the value got set programmatically make sure we hide the bib
|
|
83852
|
-
// when input is not taking the focus (input can be in dropdown.trigger or in bibtemplate)
|
|
83853
|
-
this.hideBib();
|
|
83854
|
-
}
|
|
83855
83586
|
|
|
83856
83587
|
// Sync the input and match word, but don't directly set menu.value again
|
|
83857
83588
|
if (this.menu) {
|
|
@@ -83864,7 +83595,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83864
83595
|
composed: true,
|
|
83865
83596
|
detail: {
|
|
83866
83597
|
optionSelected: this.menu.optionSelected,
|
|
83867
|
-
value: this.
|
|
83598
|
+
value: this.value
|
|
83868
83599
|
}
|
|
83869
83600
|
}));
|
|
83870
83601
|
|
|
@@ -83887,16 +83618,28 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83887
83618
|
// from a programmatic filter refresh after a value swap — the user
|
|
83888
83619
|
// didn't interact, so we shouldn't auto-open the bib (especially for
|
|
83889
83620
|
// the no-match path where the existing condition unconditionally fires).
|
|
83890
|
-
if (this._programmaticFilterRefresh) {
|
|
83891
|
-
|
|
83892
|
-
|
|
83893
|
-
|
|
83621
|
+
if ((this.menu && !this._programmaticFilterRefresh)) {
|
|
83622
|
+
if (
|
|
83623
|
+
this.availableOptions.length > 0 ||
|
|
83624
|
+
this.menu.loading ||
|
|
83625
|
+
this.noMatchOption
|
|
83626
|
+
) {
|
|
83627
|
+
if (this._userTyped && !this.dropdownOpen) {
|
|
83628
|
+
this.showBib();
|
|
83629
|
+
}
|
|
83630
|
+
this._userTyped = false;
|
|
83631
|
+
}
|
|
83632
|
+
|
|
83894
83633
|
if (!this.availableOptions.includes(this.menu.optionActive)) {
|
|
83895
83634
|
this.activateFirstEnabledAvailableOption();
|
|
83896
83635
|
}
|
|
83897
|
-
} else if (this.dropdown
|
|
83636
|
+
} else if (!this.dropdown.isBibFullscreen) {
|
|
83898
83637
|
this.hideBib();
|
|
83899
83638
|
}
|
|
83639
|
+
|
|
83640
|
+
if (this._programmaticFilterRefresh) {
|
|
83641
|
+
this._programmaticFilterRefresh = false;
|
|
83642
|
+
}
|
|
83900
83643
|
}
|
|
83901
83644
|
|
|
83902
83645
|
if (changedProperties.has('error')) {
|
|
@@ -84038,10 +83781,10 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
84038
83781
|
shape="${this.shape}"
|
|
84039
83782
|
size="${this.size}">
|
|
84040
83783
|
<${this.inputTag}
|
|
84041
|
-
@input="${this.
|
|
83784
|
+
@input="${this.handleTriggerInputValueChange}"
|
|
84042
83785
|
appearance="${this.onDark ? 'inverse' : this.appearance}"
|
|
84043
83786
|
.a11yActivedescendant="${this.dropdownOpen && this.optionActive ? this.optionActive.id : undefined}"
|
|
84044
|
-
.a11yExpanded="${this.
|
|
83787
|
+
.a11yExpanded="${this.dropdownOpen}"
|
|
84045
83788
|
.a11yControls="${this.dropdownId}"
|
|
84046
83789
|
.autocomplete="${this.autocomplete}"
|
|
84047
83790
|
.inputmode="${this.inputmode}"
|
|
@@ -86289,15 +86032,17 @@ class AuroFormValidation {
|
|
|
86289
86032
|
);
|
|
86290
86033
|
}
|
|
86291
86034
|
|
|
86292
|
-
|
|
86293
|
-
|
|
86294
|
-
|
|
86035
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
86036
|
+
|
|
86037
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
86038
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
86039
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
86040
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
86041
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
86295
86042
|
hasValue = false;
|
|
86296
86043
|
}
|
|
86297
86044
|
}
|
|
86298
86045
|
|
|
86299
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
86300
|
-
|
|
86301
86046
|
if (isCombobox) {
|
|
86302
86047
|
|
|
86303
86048
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -90678,7 +90423,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
90678
90423
|
}
|
|
90679
90424
|
};
|
|
90680
90425
|
|
|
90681
|
-
var formkitVersion$1 = '
|
|
90426
|
+
var formkitVersion$1 = '202607011652';
|
|
90682
90427
|
|
|
90683
90428
|
class AuroElement extends i$3 {
|
|
90684
90429
|
static get properties() {
|
|
@@ -92700,7 +92445,7 @@ class AuroHelpText extends i$3 {
|
|
|
92700
92445
|
}
|
|
92701
92446
|
}
|
|
92702
92447
|
|
|
92703
|
-
var formkitVersion = '
|
|
92448
|
+
var formkitVersion = '202607011652';
|
|
92704
92449
|
|
|
92705
92450
|
var styleCss = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer [slot=displayValue]{display:none}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) .value{height:auto}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
|
|
92706
92451
|
|