@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
|
@@ -136,7 +136,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}
|
|
|
136
136
|
|
|
137
137
|
var shapeSizeCss$5 = i$4`.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}`;
|
|
138
138
|
|
|
139
|
-
var styleCss$1$8 = i$4`.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}`;
|
|
139
|
+
var styleCss$1$8 = i$4`.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}`;
|
|
140
140
|
|
|
141
141
|
var styleDefaultCss$2 = i$4`.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}`;
|
|
142
142
|
|
|
@@ -4512,15 +4512,17 @@ let AuroFormValidation$7 = class AuroFormValidation {
|
|
|
4512
4512
|
);
|
|
4513
4513
|
}
|
|
4514
4514
|
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4515
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
4516
|
+
|
|
4517
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
4518
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
4519
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
4520
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
4521
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
4518
4522
|
hasValue = false;
|
|
4519
4523
|
}
|
|
4520
4524
|
}
|
|
4521
4525
|
|
|
4522
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
4523
|
-
|
|
4524
4526
|
if (isCombobox) {
|
|
4525
4527
|
|
|
4526
4528
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -10201,8 +10203,6 @@ function cleanEscapedString$5(input) {
|
|
|
10201
10203
|
return input.match(escapedStringRegExp$5)[1].replace(doubleQuoteRegExp$5, "'");
|
|
10202
10204
|
}
|
|
10203
10205
|
|
|
10204
|
-
/* eslint-disable max-lines */
|
|
10205
|
-
|
|
10206
10206
|
let AuroInputUtilities$3 = class AuroInputUtilities {
|
|
10207
10207
|
|
|
10208
10208
|
/**
|
|
@@ -10245,7 +10245,7 @@ let AuroInputUtilities$3 = class AuroInputUtilities {
|
|
|
10245
10245
|
/**
|
|
10246
10246
|
* Converts an IMask-style date mask to a date-fns compatible format string.
|
|
10247
10247
|
* @param {string} mask - IMask date mask (e.g. "MM/DD/YYYY").
|
|
10248
|
-
* @returns {string} date-fns format string (e.g. "MM/dd/yyyy").
|
|
10248
|
+
* @returns {string} A date-fns format string (e.g. "MM/dd/yyyy").
|
|
10249
10249
|
*/
|
|
10250
10250
|
toDateFnsMask(mask) {
|
|
10251
10251
|
return mask
|
|
@@ -10467,6 +10467,7 @@ let AuroInputUtilities$3 = class AuroInputUtilities {
|
|
|
10467
10467
|
const maskOptions = this.getMaskOptions('date', normalizedFormat);
|
|
10468
10468
|
|
|
10469
10469
|
if (!(valueObject instanceof Date) || Number.isNaN(valueObject.getTime()) || !maskOptions || typeof maskOptions.format !== 'function') {
|
|
10470
|
+
console.debug('Invalid date object or mask options for formatting', { valueObject, maskOptions }); // eslint-disable-line no-console
|
|
10470
10471
|
return undefined;
|
|
10471
10472
|
}
|
|
10472
10473
|
|
|
@@ -10624,6 +10625,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
10624
10625
|
// so a parent (datepicker/combobox) calling `validate()` synchronously
|
|
10625
10626
|
// during its own update cycle sees a populated util instance.
|
|
10626
10627
|
this.activeLabel = false;
|
|
10628
|
+
|
|
10627
10629
|
/** @private */
|
|
10628
10630
|
this.allowedInputTypes = [
|
|
10629
10631
|
"text",
|
|
@@ -10634,6 +10636,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
10634
10636
|
"tel"
|
|
10635
10637
|
];
|
|
10636
10638
|
this.appearance = "default";
|
|
10639
|
+
|
|
10637
10640
|
/** @private */
|
|
10638
10641
|
this.dateFormatMap = {
|
|
10639
10642
|
'mm/dd/yyyy': 'dateMMDDYYYY',
|
|
@@ -10652,23 +10655,24 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
10652
10655
|
'mm/dd': 'dateMMDD'
|
|
10653
10656
|
};
|
|
10654
10657
|
this.disabled = false;
|
|
10658
|
+
|
|
10655
10659
|
/** @private */
|
|
10656
10660
|
this.domHandler = new DomHandler$3();
|
|
10657
10661
|
this.dvInputOnly = false;
|
|
10658
10662
|
this.hasValue = false;
|
|
10659
10663
|
this.hideLabelVisually = false;
|
|
10660
10664
|
this.icon = false;
|
|
10665
|
+
|
|
10661
10666
|
/** @private */
|
|
10662
10667
|
this.inputIconName = undefined;
|
|
10668
|
+
|
|
10663
10669
|
/** @private */
|
|
10664
10670
|
this.label = 'Input label is undefined';
|
|
10665
10671
|
this.layout = 'classic';
|
|
10666
10672
|
this.locale = 'en-US';
|
|
10667
10673
|
this.max = undefined;
|
|
10668
|
-
this._maxObject = undefined;
|
|
10669
10674
|
this.maxLength = undefined;
|
|
10670
10675
|
this.min = undefined;
|
|
10671
|
-
this._minObject = undefined;
|
|
10672
10676
|
this.minLength = undefined;
|
|
10673
10677
|
this.noValidate = false;
|
|
10674
10678
|
this.onDark = false;
|
|
@@ -10685,23 +10689,27 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
10685
10689
|
"email"
|
|
10686
10690
|
];
|
|
10687
10691
|
this.shape = 'classic';
|
|
10692
|
+
|
|
10688
10693
|
/** @private */
|
|
10689
10694
|
this.showPassword = false;
|
|
10690
10695
|
this.size = 'lg';
|
|
10691
10696
|
this.touched = false;
|
|
10697
|
+
|
|
10692
10698
|
/** @private */
|
|
10693
10699
|
this.uniqueId = new UniqueId$2().create();
|
|
10700
|
+
|
|
10694
10701
|
/** @private */
|
|
10695
10702
|
this.util = new AuroInputUtilities$3({
|
|
10696
10703
|
locale: this.locale,
|
|
10697
10704
|
format: this.format
|
|
10698
10705
|
});
|
|
10706
|
+
|
|
10699
10707
|
/** @private */
|
|
10700
10708
|
this.validation = new AuroFormValidation$7();
|
|
10709
|
+
|
|
10701
10710
|
/** @private */
|
|
10702
10711
|
this.validationCCLength = undefined;
|
|
10703
10712
|
this.value = undefined;
|
|
10704
|
-
this._valueObject = undefined;
|
|
10705
10713
|
}
|
|
10706
10714
|
|
|
10707
10715
|
// function to define props used within the scope of this component
|
|
@@ -11139,7 +11147,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11139
11147
|
* @returns {Date|undefined}
|
|
11140
11148
|
*/
|
|
11141
11149
|
get valueObject() {
|
|
11142
|
-
return this.
|
|
11150
|
+
return this.value && dateFormatter$3.isValidDate(this.value) ? dateFormatter$3.stringToDateInstance(this.value) : undefined;
|
|
11143
11151
|
}
|
|
11144
11152
|
|
|
11145
11153
|
/**
|
|
@@ -11147,7 +11155,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11147
11155
|
* @returns {Date|undefined}
|
|
11148
11156
|
*/
|
|
11149
11157
|
get minObject() {
|
|
11150
|
-
return this.
|
|
11158
|
+
return this.min && dateFormatter$3.isValidDate(this.min) ? dateFormatter$3.stringToDateInstance(this.min) : undefined;
|
|
11151
11159
|
}
|
|
11152
11160
|
|
|
11153
11161
|
/**
|
|
@@ -11155,50 +11163,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11155
11163
|
* @returns {Date|undefined}
|
|
11156
11164
|
*/
|
|
11157
11165
|
get maxObject() {
|
|
11158
|
-
return this.
|
|
11159
|
-
}
|
|
11160
|
-
|
|
11161
|
-
/**
|
|
11162
|
-
* Parses a date string into a Date object when the corresponding `_*Object`
|
|
11163
|
-
* field hasn't been synced yet by `updated()`. Returns undefined when the
|
|
11164
|
-
* input type/format isn't a full date or the string is not a valid date.
|
|
11165
|
-
*
|
|
11166
|
-
* Why this exists: a parent (datepicker) can call `inputN.validate()` from
|
|
11167
|
-
* inside its own `updated()` before this input's `updated()` has run
|
|
11168
|
-
* `syncDateValues()` — so `_valueObject`/`_maxObject` are still `undefined`
|
|
11169
|
-
* and range checks would otherwise silently no-op (flipping the result to
|
|
11170
|
-
* `valid` or `patternMismatch`).
|
|
11171
|
-
* @private
|
|
11172
|
-
* @param {string|undefined} dateStr - ISO date string from `value`/`min`/`max`.
|
|
11173
|
-
* @returns {Date|undefined}
|
|
11174
|
-
*/
|
|
11175
|
-
_computeDateObjectFallback(dateStr) {
|
|
11176
|
-
if (!dateStr || !this.util || !this.util.isFullDateFormat(this.type, this.format)) {
|
|
11177
|
-
return undefined;
|
|
11178
|
-
}
|
|
11179
|
-
if (!dateFormatter$3.isValidDate(dateStr)) {
|
|
11180
|
-
return undefined;
|
|
11181
|
-
}
|
|
11182
|
-
return dateFormatter$3.stringToDateInstance(dateStr);
|
|
11183
|
-
}
|
|
11184
|
-
|
|
11185
|
-
/**
|
|
11186
|
-
* Internal setter for readonly date object properties.
|
|
11187
|
-
* @private
|
|
11188
|
-
* @param {'valueObject'|'minObject'|'maxObject'} propertyName - Public object property name.
|
|
11189
|
-
* @param {Date|undefined} propertyValue - Value to assign.
|
|
11190
|
-
* @returns {void}
|
|
11191
|
-
*/
|
|
11192
|
-
setDateObjectProperty(propertyName, propertyValue) {
|
|
11193
|
-
const internalPropertyName = `_${propertyName}`;
|
|
11194
|
-
const previousValue = this[internalPropertyName];
|
|
11195
|
-
|
|
11196
|
-
if (previousValue === propertyValue) {
|
|
11197
|
-
return;
|
|
11198
|
-
}
|
|
11199
|
-
|
|
11200
|
-
this[internalPropertyName] = propertyValue;
|
|
11201
|
-
this.requestUpdate(propertyName, previousValue);
|
|
11166
|
+
return this.max && dateFormatter$3.isValidDate(this.max) ? dateFormatter$3.stringToDateInstance(this.max) : undefined;
|
|
11202
11167
|
}
|
|
11203
11168
|
|
|
11204
11169
|
connectedCallback() {
|
|
@@ -11227,7 +11192,6 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11227
11192
|
format: this.format
|
|
11228
11193
|
});
|
|
11229
11194
|
this.configureDataForType();
|
|
11230
|
-
this.syncDateValues();
|
|
11231
11195
|
}
|
|
11232
11196
|
|
|
11233
11197
|
disconnectedCallback() {
|
|
@@ -11266,7 +11230,6 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11266
11230
|
this.setCustomHelpTextMessage();
|
|
11267
11231
|
this.configureAutoFormatting();
|
|
11268
11232
|
this.configureDataForType();
|
|
11269
|
-
this.syncDateValues();
|
|
11270
11233
|
}
|
|
11271
11234
|
|
|
11272
11235
|
/**
|
|
@@ -11324,7 +11287,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11324
11287
|
|
|
11325
11288
|
/**
|
|
11326
11289
|
* @private
|
|
11327
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
11290
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
11328
11291
|
* @returns {void} Sets the default help text for the input.
|
|
11329
11292
|
*/
|
|
11330
11293
|
setCustomHelpTextMessage() {
|
|
@@ -11410,8 +11373,6 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11410
11373
|
this.configureDataForType();
|
|
11411
11374
|
}
|
|
11412
11375
|
|
|
11413
|
-
this.syncDateValues(changedProperties);
|
|
11414
|
-
|
|
11415
11376
|
if (changedProperties.has('value')) {
|
|
11416
11377
|
if (this.value && this.value.length > 0) {
|
|
11417
11378
|
this.hasValue = true;
|
|
@@ -11433,14 +11394,14 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11433
11394
|
|
|
11434
11395
|
if (formattedValue !== this.inputElement.value) {
|
|
11435
11396
|
this.skipNextProgrammaticInputEvent = true;
|
|
11436
|
-
if (this.maskInstance && this.type
|
|
11397
|
+
if (this.maskInstance && this.type !== 'date') {
|
|
11437
11398
|
// Route through the mask so its _value and el.value stay in lock-step
|
|
11438
11399
|
// (set value calls updateControl which writes el.value = displayValue).
|
|
11439
11400
|
// Writing el.value directly leaves the mask thinking displayValue is
|
|
11440
|
-
// stale; _saveSelection on the next focus/click then warns.
|
|
11441
|
-
//
|
|
11442
|
-
//
|
|
11443
|
-
//
|
|
11401
|
+
// stale; _saveSelection on the next focus/click then warns. Date is
|
|
11402
|
+
// excluded because its formattedValue can be raw ISO when the calendar
|
|
11403
|
+
// is invalid, and re-masking through mm/dd/yyyy would truncate it and
|
|
11404
|
+
// flip validity from patternMismatch to tooShort.
|
|
11444
11405
|
this.maskInstance.value = formattedValue || '';
|
|
11445
11406
|
} else if (formattedValue) {
|
|
11446
11407
|
this.inputElement.value = formattedValue;
|
|
@@ -11482,120 +11443,65 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11482
11443
|
}));
|
|
11483
11444
|
}
|
|
11484
11445
|
|
|
11485
|
-
|
|
11486
|
-
/**
|
|
11487
|
-
* Synchronizes the ISO string values and Date object representations for date-related properties.
|
|
11488
|
-
* This keeps the model and display values aligned when either side changes.
|
|
11489
|
-
*
|
|
11490
|
-
* When a full date format is in use, this method updates `value`, `min`, and `max` from their corresponding
|
|
11491
|
-
* Date objects or vice versa, based on which properties have changed. It only runs when the current configuration
|
|
11492
|
-
* represents a full year/month/day date format.
|
|
11493
|
-
*
|
|
11494
|
-
* @param {Map<string, unknown>|undefined} [changedProperties=undefined] - Optional map of changed properties used to limit which values are synchronized.
|
|
11495
|
-
* @returns {void}
|
|
11496
|
-
* @private
|
|
11497
|
-
*/
|
|
11498
|
-
syncDateValues(changedProperties = undefined) {
|
|
11499
|
-
if (!this.util.isFullDateFormat(this.type, this.format)) {
|
|
11500
|
-
return;
|
|
11501
|
-
}
|
|
11502
|
-
|
|
11503
|
-
this.syncSingleDateValue(changedProperties, 'valueObject', 'value');
|
|
11504
|
-
this.syncSingleDateValue(changedProperties, 'minObject', 'min');
|
|
11505
|
-
this.syncSingleDateValue(changedProperties, 'maxObject', 'max');
|
|
11506
|
-
}
|
|
11507
|
-
|
|
11508
|
-
/**
|
|
11509
|
-
* Synchronizes one date object/string property pair.
|
|
11510
|
-
* @private
|
|
11511
|
-
* @param {Map<string, unknown>|undefined} changedProperties - Map of changed properties from Lit.
|
|
11512
|
-
* @param {string} objectProperty - Date object property name.
|
|
11513
|
-
* @param {string} valueProperty - ISO string property name.
|
|
11514
|
-
* @returns {void}
|
|
11515
|
-
*/
|
|
11516
|
-
syncSingleDateValue(changedProperties, objectProperty, valueProperty) {
|
|
11517
|
-
const objectPropertyChanged = !changedProperties || changedProperties.has(objectProperty);
|
|
11518
|
-
|
|
11519
|
-
// objectProperty wins over valueProperty when both changed
|
|
11520
|
-
if (objectPropertyChanged && this[objectProperty]) {
|
|
11521
|
-
this[valueProperty] = dateFormatter$3.toISOFormatString(this[objectProperty]);
|
|
11522
|
-
return;
|
|
11523
|
-
}
|
|
11524
|
-
|
|
11525
|
-
const valuePropertyChanged = !changedProperties || changedProperties.has(valueProperty);
|
|
11526
|
-
if (!valuePropertyChanged) {
|
|
11527
|
-
return;
|
|
11528
|
-
}
|
|
11529
|
-
|
|
11530
|
-
// 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)
|
|
11531
|
-
if (
|
|
11532
|
-
changedProperties &&
|
|
11533
|
-
valueProperty === 'value' &&
|
|
11534
|
-
changedProperties.get('value') === undefined &&
|
|
11535
|
-
this[objectProperty] instanceof Date &&
|
|
11536
|
-
this[valueProperty] === dateFormatter$3.toISOFormatString(this[objectProperty])
|
|
11537
|
-
) {
|
|
11538
|
-
return;
|
|
11539
|
-
}
|
|
11540
|
-
|
|
11541
|
-
if (dateFormatter$3.isValidDate(this[valueProperty])) {
|
|
11542
|
-
this.setDateObjectProperty(objectProperty, dateFormatter$3.stringToDateInstance(this[valueProperty]));
|
|
11543
|
-
} else {
|
|
11544
|
-
this.setDateObjectProperty(objectProperty, undefined);
|
|
11545
|
-
}
|
|
11546
|
-
}
|
|
11547
|
-
|
|
11548
11446
|
/**
|
|
11549
11447
|
* Sets up IMasks and logic based on auto-formatting requirements.
|
|
11550
11448
|
* @private
|
|
11551
11449
|
* @returns {void}
|
|
11552
11450
|
*/
|
|
11553
11451
|
configureAutoFormatting() {
|
|
11554
|
-
//
|
|
11555
|
-
//
|
|
11556
|
-
//
|
|
11557
|
-
//
|
|
11452
|
+
// _configuringMask gates two things: external re-entry into this method
|
|
11453
|
+
// while setup is mid-flight (from property changes that call back here),
|
|
11454
|
+
// and the accept/complete listeners below — both need to ignore the mask
|
|
11455
|
+
// events fired by our own value-restore step.
|
|
11558
11456
|
if (this._configuringMask) return;
|
|
11559
11457
|
this._configuringMask = true;
|
|
11560
11458
|
try {
|
|
11459
|
+
// Destroy any prior mask so IMask can attach fresh under the new format.
|
|
11460
|
+
// Null the reference too — if the new maskOptions.mask is falsy (e.g.
|
|
11461
|
+
// type switched from credit-card to text) the IMask() reassignment
|
|
11462
|
+
// below is skipped, and downstream writes at line ~823 would otherwise
|
|
11463
|
+
// route through the destroyed instance.
|
|
11561
11464
|
if (this.maskInstance) {
|
|
11562
11465
|
this.maskInstance.destroy();
|
|
11466
|
+
this.maskInstance = null;
|
|
11563
11467
|
}
|
|
11564
11468
|
|
|
11565
|
-
// Pass new format to util
|
|
11566
11469
|
this.util.updateFormat(this.format);
|
|
11567
11470
|
|
|
11568
11471
|
const maskOptions = this.util.getMaskOptions(this.type, this.format);
|
|
11569
11472
|
|
|
11570
11473
|
if (this.inputElement && maskOptions.mask) {
|
|
11571
|
-
|
|
11572
|
-
//
|
|
11573
|
-
//
|
|
11574
|
-
//
|
|
11575
|
-
// When the format changes (e.g. locale switch) and we have a valid ISO
|
|
11576
|
-
// model value, compute the display string for the NEW format instead of
|
|
11577
|
-
// re-using the old display string, which may be invalid in the new mask.
|
|
11474
|
+
// Capture the current display so it can be re-applied after IMask
|
|
11475
|
+
// attaches. The restore at the bottom goes through maskInstance.value
|
|
11476
|
+
// (not inputElement.value directly) so the mask's internal state and
|
|
11477
|
+
// the input's displayed text stay in lock-step.
|
|
11578
11478
|
let existingValue = this.inputElement.value;
|
|
11479
|
+
|
|
11480
|
+
// Format-change case (e.g. locale switch): existingValue is the OLD
|
|
11481
|
+
// mask's display string and may not parse under the new mask. When
|
|
11482
|
+
// we have a valid date model, rebuild the display from valueObject
|
|
11483
|
+
// (the canonical source) using the new mask's format function.
|
|
11579
11484
|
if (
|
|
11580
11485
|
this.util.isFullDateFormat(this.type, this.format) &&
|
|
11581
11486
|
this.value &&
|
|
11582
|
-
|
|
11583
|
-
this.valueObject instanceof Date &&
|
|
11584
|
-
!Number.isNaN(this.valueObject.getTime()) &&
|
|
11487
|
+
this.valueObject &&
|
|
11585
11488
|
typeof maskOptions.format === 'function'
|
|
11586
11489
|
) {
|
|
11587
11490
|
existingValue = maskOptions.format(this.valueObject);
|
|
11588
11491
|
}
|
|
11589
11492
|
|
|
11493
|
+
// Clear before IMask attaches so the constructor seeds an empty
|
|
11494
|
+
// internal value. Otherwise IMask reads the stale unmasked string
|
|
11495
|
+
// and emits a spurious 'accept' before the restore below runs.
|
|
11590
11496
|
this.skipNextProgrammaticInputEvent = true;
|
|
11591
11497
|
this.inputElement.value = '';
|
|
11592
11498
|
|
|
11593
11499
|
this.maskInstance = IMask$3(this.inputElement, maskOptions);
|
|
11594
11500
|
|
|
11501
|
+
// Mask fires 'accept' on every value change, including the restore
|
|
11502
|
+
// step below. Skip events fired during configureAutoFormatting so
|
|
11503
|
+
// we don't overwrite a value the parent just pushed.
|
|
11595
11504
|
this.maskInstance.on('accept', () => {
|
|
11596
|
-
// Suppress propagation during configureAutoFormatting's own value-restoration
|
|
11597
|
-
// (line below) — the mask emits 'accept' on every value-set, including ours,
|
|
11598
|
-
// and we don't want to overwrite a value the parent just pushed.
|
|
11599
11505
|
if (this._configuringMask) return;
|
|
11600
11506
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
11601
11507
|
if (this.type === "date") {
|
|
@@ -11603,6 +11509,8 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11603
11509
|
}
|
|
11604
11510
|
});
|
|
11605
11511
|
|
|
11512
|
+
// Mask fires 'complete' on the restore step below for any value that
|
|
11513
|
+
// happens to be a complete match. Same setup-suppression as 'accept'.
|
|
11606
11514
|
this.maskInstance.on('complete', () => {
|
|
11607
11515
|
if (this._configuringMask) return;
|
|
11608
11516
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
@@ -11611,7 +11519,9 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11611
11519
|
}
|
|
11612
11520
|
});
|
|
11613
11521
|
|
|
11614
|
-
//
|
|
11522
|
+
// Write existingValue through the mask (not the input directly) so
|
|
11523
|
+
// the mask reformats it under the new rules and keeps its internal
|
|
11524
|
+
// _value aligned with the input's displayed text.
|
|
11615
11525
|
if (existingValue) {
|
|
11616
11526
|
this.maskInstance.value = existingValue;
|
|
11617
11527
|
}
|
|
@@ -11705,10 +11615,10 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11705
11615
|
// the gated types currently support it, since the list is a public
|
|
11706
11616
|
// property a consumer could mutate.
|
|
11707
11617
|
if (this.setSelectionInputTypes.includes(this.type)) {
|
|
11708
|
-
let selectionStart;
|
|
11618
|
+
let selectionStart = null;
|
|
11709
11619
|
try {
|
|
11710
|
-
selectionStart = this.inputElement
|
|
11711
|
-
} catch
|
|
11620
|
+
({ selectionStart } = this.inputElement);
|
|
11621
|
+
} catch {
|
|
11712
11622
|
return;
|
|
11713
11623
|
}
|
|
11714
11624
|
if (typeof selectionStart !== 'number') {
|
|
@@ -11717,7 +11627,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11717
11627
|
this.updateComplete.then(() => {
|
|
11718
11628
|
try {
|
|
11719
11629
|
this.inputElement.setSelectionRange(selectionStart, selectionStart);
|
|
11720
|
-
} catch
|
|
11630
|
+
} catch {
|
|
11721
11631
|
// Some input types (number/email in certain UAs) throw on
|
|
11722
11632
|
// setSelectionRange; swallow and let the native cursor stand.
|
|
11723
11633
|
}
|
|
@@ -11811,7 +11721,6 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11811
11721
|
*/
|
|
11812
11722
|
reset() {
|
|
11813
11723
|
this.value = undefined;
|
|
11814
|
-
this.setDateObjectProperty('valueObject', undefined);
|
|
11815
11724
|
this.validation.reset(this);
|
|
11816
11725
|
}
|
|
11817
11726
|
|
|
@@ -11820,7 +11729,6 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11820
11729
|
*/
|
|
11821
11730
|
clear() {
|
|
11822
11731
|
this.value = undefined;
|
|
11823
|
-
this.setDateObjectProperty('valueObject', undefined);
|
|
11824
11732
|
}
|
|
11825
11733
|
|
|
11826
11734
|
/**
|
|
@@ -11895,7 +11803,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11895
11803
|
/**
|
|
11896
11804
|
* Function to support credit-card feature type.
|
|
11897
11805
|
* @private
|
|
11898
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
11806
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
11899
11807
|
* @returns {object} JSON with data for credit card formatting.
|
|
11900
11808
|
*/
|
|
11901
11809
|
matchInputValueToCreditCard() {
|
|
@@ -12349,7 +12257,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$2 {
|
|
|
12349
12257
|
}
|
|
12350
12258
|
};
|
|
12351
12259
|
|
|
12352
|
-
var formkitVersion$8 = '
|
|
12260
|
+
var formkitVersion$8 = '202607011652';
|
|
12353
12261
|
|
|
12354
12262
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12355
12263
|
// See LICENSE in the project root for license information.
|
|
@@ -12672,7 +12580,7 @@ let AuroInput$2 = class AuroInput extends BaseInput$2 {
|
|
|
12672
12580
|
/**
|
|
12673
12581
|
* Determines default help text string.
|
|
12674
12582
|
* @private
|
|
12675
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
12583
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
12676
12584
|
* @returns {string} Evaluates pre-determined help text.
|
|
12677
12585
|
*/
|
|
12678
12586
|
getHelpText() {
|
|
@@ -13722,15 +13630,17 @@ let AuroFormValidation$1$1 = class AuroFormValidation {
|
|
|
13722
13630
|
);
|
|
13723
13631
|
}
|
|
13724
13632
|
|
|
13725
|
-
|
|
13726
|
-
|
|
13727
|
-
|
|
13633
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
13634
|
+
|
|
13635
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
13636
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
13637
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
13638
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
13639
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
13728
13640
|
hasValue = false;
|
|
13729
13641
|
}
|
|
13730
13642
|
}
|
|
13731
13643
|
|
|
13732
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
13733
|
-
|
|
13734
13644
|
if (isCombobox) {
|
|
13735
13645
|
|
|
13736
13646
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -23334,8 +23244,6 @@ try {
|
|
|
23334
23244
|
globalThis.IMask = IMask$1;
|
|
23335
23245
|
} catch {}
|
|
23336
23246
|
|
|
23337
|
-
/* eslint-disable max-lines */
|
|
23338
|
-
|
|
23339
23247
|
let AuroInputUtilities$1 = class AuroInputUtilities {
|
|
23340
23248
|
|
|
23341
23249
|
/**
|
|
@@ -23378,7 +23286,7 @@ let AuroInputUtilities$1 = class AuroInputUtilities {
|
|
|
23378
23286
|
/**
|
|
23379
23287
|
* Converts an IMask-style date mask to a date-fns compatible format string.
|
|
23380
23288
|
* @param {string} mask - IMask date mask (e.g. "MM/DD/YYYY").
|
|
23381
|
-
* @returns {string} date-fns format string (e.g. "MM/dd/yyyy").
|
|
23289
|
+
* @returns {string} A date-fns format string (e.g. "MM/dd/yyyy").
|
|
23382
23290
|
*/
|
|
23383
23291
|
toDateFnsMask(mask) {
|
|
23384
23292
|
return mask
|
|
@@ -23600,6 +23508,7 @@ let AuroInputUtilities$1 = class AuroInputUtilities {
|
|
|
23600
23508
|
const maskOptions = this.getMaskOptions('date', normalizedFormat);
|
|
23601
23509
|
|
|
23602
23510
|
if (!(valueObject instanceof Date) || Number.isNaN(valueObject.getTime()) || !maskOptions || typeof maskOptions.format !== 'function') {
|
|
23511
|
+
console.debug('Invalid date object or mask options for formatting', { valueObject, maskOptions }); // eslint-disable-line no-console
|
|
23603
23512
|
return undefined;
|
|
23604
23513
|
}
|
|
23605
23514
|
|
|
@@ -26625,7 +26534,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$2 {
|
|
|
26625
26534
|
}
|
|
26626
26535
|
};
|
|
26627
26536
|
|
|
26628
|
-
var formkitVersion$2$1 = '
|
|
26537
|
+
var formkitVersion$2$1 = '202607011652';
|
|
26629
26538
|
|
|
26630
26539
|
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$5`${s$5(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$4`: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}
|
|
26631
26540
|
`,u$4$2=i$4`.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}}
|
|
@@ -32377,7 +32286,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$2 {
|
|
|
32377
32286
|
}
|
|
32378
32287
|
};
|
|
32379
32288
|
|
|
32380
|
-
var formkitVersion$1$3 = '
|
|
32289
|
+
var formkitVersion$1$3 = '202607011652';
|
|
32381
32290
|
|
|
32382
32291
|
let AuroElement$2$2 = class AuroElement extends i$2 {
|
|
32383
32292
|
static get properties() {
|
|
@@ -33776,7 +33685,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
33776
33685
|
|
|
33777
33686
|
var shapeSizeCss$4 = i$4`.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}`;
|
|
33778
33687
|
|
|
33779
|
-
var styleCss$1$7 = i$4`.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}`;
|
|
33688
|
+
var styleCss$1$7 = i$4`.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}`;
|
|
33780
33689
|
|
|
33781
33690
|
var styleDefaultCss$1 = i$4`.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}`;
|
|
33782
33691
|
|
|
@@ -38152,15 +38061,17 @@ let AuroFormValidation$6 = class AuroFormValidation {
|
|
|
38152
38061
|
);
|
|
38153
38062
|
}
|
|
38154
38063
|
|
|
38155
|
-
|
|
38156
|
-
|
|
38157
|
-
|
|
38064
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
38065
|
+
|
|
38066
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
38067
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
38068
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
38069
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
38070
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
38158
38071
|
hasValue = false;
|
|
38159
38072
|
}
|
|
38160
38073
|
}
|
|
38161
38074
|
|
|
38162
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
38163
|
-
|
|
38164
38075
|
if (isCombobox) {
|
|
38165
38076
|
|
|
38166
38077
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -43841,8 +43752,6 @@ function cleanEscapedString$4(input) {
|
|
|
43841
43752
|
return input.match(escapedStringRegExp$4)[1].replace(doubleQuoteRegExp$4, "'");
|
|
43842
43753
|
}
|
|
43843
43754
|
|
|
43844
|
-
/* eslint-disable max-lines */
|
|
43845
|
-
|
|
43846
43755
|
let AuroInputUtilities$2 = class AuroInputUtilities {
|
|
43847
43756
|
|
|
43848
43757
|
/**
|
|
@@ -43885,7 +43794,7 @@ let AuroInputUtilities$2 = class AuroInputUtilities {
|
|
|
43885
43794
|
/**
|
|
43886
43795
|
* Converts an IMask-style date mask to a date-fns compatible format string.
|
|
43887
43796
|
* @param {string} mask - IMask date mask (e.g. "MM/DD/YYYY").
|
|
43888
|
-
* @returns {string} date-fns format string (e.g. "MM/dd/yyyy").
|
|
43797
|
+
* @returns {string} A date-fns format string (e.g. "MM/dd/yyyy").
|
|
43889
43798
|
*/
|
|
43890
43799
|
toDateFnsMask(mask) {
|
|
43891
43800
|
return mask
|
|
@@ -44107,6 +44016,7 @@ let AuroInputUtilities$2 = class AuroInputUtilities {
|
|
|
44107
44016
|
const maskOptions = this.getMaskOptions('date', normalizedFormat);
|
|
44108
44017
|
|
|
44109
44018
|
if (!(valueObject instanceof Date) || Number.isNaN(valueObject.getTime()) || !maskOptions || typeof maskOptions.format !== 'function') {
|
|
44019
|
+
console.debug('Invalid date object or mask options for formatting', { valueObject, maskOptions }); // eslint-disable-line no-console
|
|
44110
44020
|
return undefined;
|
|
44111
44021
|
}
|
|
44112
44022
|
|
|
@@ -44264,6 +44174,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
44264
44174
|
// so a parent (datepicker/combobox) calling `validate()` synchronously
|
|
44265
44175
|
// during its own update cycle sees a populated util instance.
|
|
44266
44176
|
this.activeLabel = false;
|
|
44177
|
+
|
|
44267
44178
|
/** @private */
|
|
44268
44179
|
this.allowedInputTypes = [
|
|
44269
44180
|
"text",
|
|
@@ -44274,6 +44185,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
44274
44185
|
"tel"
|
|
44275
44186
|
];
|
|
44276
44187
|
this.appearance = "default";
|
|
44188
|
+
|
|
44277
44189
|
/** @private */
|
|
44278
44190
|
this.dateFormatMap = {
|
|
44279
44191
|
'mm/dd/yyyy': 'dateMMDDYYYY',
|
|
@@ -44292,23 +44204,24 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
44292
44204
|
'mm/dd': 'dateMMDD'
|
|
44293
44205
|
};
|
|
44294
44206
|
this.disabled = false;
|
|
44207
|
+
|
|
44295
44208
|
/** @private */
|
|
44296
44209
|
this.domHandler = new DomHandler$2();
|
|
44297
44210
|
this.dvInputOnly = false;
|
|
44298
44211
|
this.hasValue = false;
|
|
44299
44212
|
this.hideLabelVisually = false;
|
|
44300
44213
|
this.icon = false;
|
|
44214
|
+
|
|
44301
44215
|
/** @private */
|
|
44302
44216
|
this.inputIconName = undefined;
|
|
44217
|
+
|
|
44303
44218
|
/** @private */
|
|
44304
44219
|
this.label = 'Input label is undefined';
|
|
44305
44220
|
this.layout = 'classic';
|
|
44306
44221
|
this.locale = 'en-US';
|
|
44307
44222
|
this.max = undefined;
|
|
44308
|
-
this._maxObject = undefined;
|
|
44309
44223
|
this.maxLength = undefined;
|
|
44310
44224
|
this.min = undefined;
|
|
44311
|
-
this._minObject = undefined;
|
|
44312
44225
|
this.minLength = undefined;
|
|
44313
44226
|
this.noValidate = false;
|
|
44314
44227
|
this.onDark = false;
|
|
@@ -44325,23 +44238,27 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
44325
44238
|
"email"
|
|
44326
44239
|
];
|
|
44327
44240
|
this.shape = 'classic';
|
|
44241
|
+
|
|
44328
44242
|
/** @private */
|
|
44329
44243
|
this.showPassword = false;
|
|
44330
44244
|
this.size = 'lg';
|
|
44331
44245
|
this.touched = false;
|
|
44246
|
+
|
|
44332
44247
|
/** @private */
|
|
44333
44248
|
this.uniqueId = new UniqueId$1().create();
|
|
44249
|
+
|
|
44334
44250
|
/** @private */
|
|
44335
44251
|
this.util = new AuroInputUtilities$2({
|
|
44336
44252
|
locale: this.locale,
|
|
44337
44253
|
format: this.format
|
|
44338
44254
|
});
|
|
44255
|
+
|
|
44339
44256
|
/** @private */
|
|
44340
44257
|
this.validation = new AuroFormValidation$6();
|
|
44258
|
+
|
|
44341
44259
|
/** @private */
|
|
44342
44260
|
this.validationCCLength = undefined;
|
|
44343
44261
|
this.value = undefined;
|
|
44344
|
-
this._valueObject = undefined;
|
|
44345
44262
|
}
|
|
44346
44263
|
|
|
44347
44264
|
// function to define props used within the scope of this component
|
|
@@ -44779,7 +44696,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
44779
44696
|
* @returns {Date|undefined}
|
|
44780
44697
|
*/
|
|
44781
44698
|
get valueObject() {
|
|
44782
|
-
return this.
|
|
44699
|
+
return this.value && dateFormatter$2.isValidDate(this.value) ? dateFormatter$2.stringToDateInstance(this.value) : undefined;
|
|
44783
44700
|
}
|
|
44784
44701
|
|
|
44785
44702
|
/**
|
|
@@ -44787,7 +44704,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
44787
44704
|
* @returns {Date|undefined}
|
|
44788
44705
|
*/
|
|
44789
44706
|
get minObject() {
|
|
44790
|
-
return this.
|
|
44707
|
+
return this.min && dateFormatter$2.isValidDate(this.min) ? dateFormatter$2.stringToDateInstance(this.min) : undefined;
|
|
44791
44708
|
}
|
|
44792
44709
|
|
|
44793
44710
|
/**
|
|
@@ -44795,50 +44712,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
44795
44712
|
* @returns {Date|undefined}
|
|
44796
44713
|
*/
|
|
44797
44714
|
get maxObject() {
|
|
44798
|
-
return this.
|
|
44799
|
-
}
|
|
44800
|
-
|
|
44801
|
-
/**
|
|
44802
|
-
* Parses a date string into a Date object when the corresponding `_*Object`
|
|
44803
|
-
* field hasn't been synced yet by `updated()`. Returns undefined when the
|
|
44804
|
-
* input type/format isn't a full date or the string is not a valid date.
|
|
44805
|
-
*
|
|
44806
|
-
* Why this exists: a parent (datepicker) can call `inputN.validate()` from
|
|
44807
|
-
* inside its own `updated()` before this input's `updated()` has run
|
|
44808
|
-
* `syncDateValues()` — so `_valueObject`/`_maxObject` are still `undefined`
|
|
44809
|
-
* and range checks would otherwise silently no-op (flipping the result to
|
|
44810
|
-
* `valid` or `patternMismatch`).
|
|
44811
|
-
* @private
|
|
44812
|
-
* @param {string|undefined} dateStr - ISO date string from `value`/`min`/`max`.
|
|
44813
|
-
* @returns {Date|undefined}
|
|
44814
|
-
*/
|
|
44815
|
-
_computeDateObjectFallback(dateStr) {
|
|
44816
|
-
if (!dateStr || !this.util || !this.util.isFullDateFormat(this.type, this.format)) {
|
|
44817
|
-
return undefined;
|
|
44818
|
-
}
|
|
44819
|
-
if (!dateFormatter$2.isValidDate(dateStr)) {
|
|
44820
|
-
return undefined;
|
|
44821
|
-
}
|
|
44822
|
-
return dateFormatter$2.stringToDateInstance(dateStr);
|
|
44823
|
-
}
|
|
44824
|
-
|
|
44825
|
-
/**
|
|
44826
|
-
* Internal setter for readonly date object properties.
|
|
44827
|
-
* @private
|
|
44828
|
-
* @param {'valueObject'|'minObject'|'maxObject'} propertyName - Public object property name.
|
|
44829
|
-
* @param {Date|undefined} propertyValue - Value to assign.
|
|
44830
|
-
* @returns {void}
|
|
44831
|
-
*/
|
|
44832
|
-
setDateObjectProperty(propertyName, propertyValue) {
|
|
44833
|
-
const internalPropertyName = `_${propertyName}`;
|
|
44834
|
-
const previousValue = this[internalPropertyName];
|
|
44835
|
-
|
|
44836
|
-
if (previousValue === propertyValue) {
|
|
44837
|
-
return;
|
|
44838
|
-
}
|
|
44839
|
-
|
|
44840
|
-
this[internalPropertyName] = propertyValue;
|
|
44841
|
-
this.requestUpdate(propertyName, previousValue);
|
|
44715
|
+
return this.max && dateFormatter$2.isValidDate(this.max) ? dateFormatter$2.stringToDateInstance(this.max) : undefined;
|
|
44842
44716
|
}
|
|
44843
44717
|
|
|
44844
44718
|
connectedCallback() {
|
|
@@ -44867,7 +44741,6 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
44867
44741
|
format: this.format
|
|
44868
44742
|
});
|
|
44869
44743
|
this.configureDataForType();
|
|
44870
|
-
this.syncDateValues();
|
|
44871
44744
|
}
|
|
44872
44745
|
|
|
44873
44746
|
disconnectedCallback() {
|
|
@@ -44906,7 +44779,6 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
44906
44779
|
this.setCustomHelpTextMessage();
|
|
44907
44780
|
this.configureAutoFormatting();
|
|
44908
44781
|
this.configureDataForType();
|
|
44909
|
-
this.syncDateValues();
|
|
44910
44782
|
}
|
|
44911
44783
|
|
|
44912
44784
|
/**
|
|
@@ -44964,7 +44836,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
44964
44836
|
|
|
44965
44837
|
/**
|
|
44966
44838
|
* @private
|
|
44967
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
44839
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
44968
44840
|
* @returns {void} Sets the default help text for the input.
|
|
44969
44841
|
*/
|
|
44970
44842
|
setCustomHelpTextMessage() {
|
|
@@ -45050,8 +44922,6 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45050
44922
|
this.configureDataForType();
|
|
45051
44923
|
}
|
|
45052
44924
|
|
|
45053
|
-
this.syncDateValues(changedProperties);
|
|
45054
|
-
|
|
45055
44925
|
if (changedProperties.has('value')) {
|
|
45056
44926
|
if (this.value && this.value.length > 0) {
|
|
45057
44927
|
this.hasValue = true;
|
|
@@ -45073,14 +44943,14 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45073
44943
|
|
|
45074
44944
|
if (formattedValue !== this.inputElement.value) {
|
|
45075
44945
|
this.skipNextProgrammaticInputEvent = true;
|
|
45076
|
-
if (this.maskInstance && this.type
|
|
44946
|
+
if (this.maskInstance && this.type !== 'date') {
|
|
45077
44947
|
// Route through the mask so its _value and el.value stay in lock-step
|
|
45078
44948
|
// (set value calls updateControl which writes el.value = displayValue).
|
|
45079
44949
|
// Writing el.value directly leaves the mask thinking displayValue is
|
|
45080
|
-
// stale; _saveSelection on the next focus/click then warns.
|
|
45081
|
-
//
|
|
45082
|
-
//
|
|
45083
|
-
//
|
|
44950
|
+
// stale; _saveSelection on the next focus/click then warns. Date is
|
|
44951
|
+
// excluded because its formattedValue can be raw ISO when the calendar
|
|
44952
|
+
// is invalid, and re-masking through mm/dd/yyyy would truncate it and
|
|
44953
|
+
// flip validity from patternMismatch to tooShort.
|
|
45084
44954
|
this.maskInstance.value = formattedValue || '';
|
|
45085
44955
|
} else if (formattedValue) {
|
|
45086
44956
|
this.inputElement.value = formattedValue;
|
|
@@ -45122,120 +44992,65 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45122
44992
|
}));
|
|
45123
44993
|
}
|
|
45124
44994
|
|
|
45125
|
-
|
|
45126
|
-
/**
|
|
45127
|
-
* Synchronizes the ISO string values and Date object representations for date-related properties.
|
|
45128
|
-
* This keeps the model and display values aligned when either side changes.
|
|
45129
|
-
*
|
|
45130
|
-
* When a full date format is in use, this method updates `value`, `min`, and `max` from their corresponding
|
|
45131
|
-
* Date objects or vice versa, based on which properties have changed. It only runs when the current configuration
|
|
45132
|
-
* represents a full year/month/day date format.
|
|
45133
|
-
*
|
|
45134
|
-
* @param {Map<string, unknown>|undefined} [changedProperties=undefined] - Optional map of changed properties used to limit which values are synchronized.
|
|
45135
|
-
* @returns {void}
|
|
45136
|
-
* @private
|
|
45137
|
-
*/
|
|
45138
|
-
syncDateValues(changedProperties = undefined) {
|
|
45139
|
-
if (!this.util.isFullDateFormat(this.type, this.format)) {
|
|
45140
|
-
return;
|
|
45141
|
-
}
|
|
45142
|
-
|
|
45143
|
-
this.syncSingleDateValue(changedProperties, 'valueObject', 'value');
|
|
45144
|
-
this.syncSingleDateValue(changedProperties, 'minObject', 'min');
|
|
45145
|
-
this.syncSingleDateValue(changedProperties, 'maxObject', 'max');
|
|
45146
|
-
}
|
|
45147
|
-
|
|
45148
|
-
/**
|
|
45149
|
-
* Synchronizes one date object/string property pair.
|
|
45150
|
-
* @private
|
|
45151
|
-
* @param {Map<string, unknown>|undefined} changedProperties - Map of changed properties from Lit.
|
|
45152
|
-
* @param {string} objectProperty - Date object property name.
|
|
45153
|
-
* @param {string} valueProperty - ISO string property name.
|
|
45154
|
-
* @returns {void}
|
|
45155
|
-
*/
|
|
45156
|
-
syncSingleDateValue(changedProperties, objectProperty, valueProperty) {
|
|
45157
|
-
const objectPropertyChanged = !changedProperties || changedProperties.has(objectProperty);
|
|
45158
|
-
|
|
45159
|
-
// objectProperty wins over valueProperty when both changed
|
|
45160
|
-
if (objectPropertyChanged && this[objectProperty]) {
|
|
45161
|
-
this[valueProperty] = dateFormatter$2.toISOFormatString(this[objectProperty]);
|
|
45162
|
-
return;
|
|
45163
|
-
}
|
|
45164
|
-
|
|
45165
|
-
const valuePropertyChanged = !changedProperties || changedProperties.has(valueProperty);
|
|
45166
|
-
if (!valuePropertyChanged) {
|
|
45167
|
-
return;
|
|
45168
|
-
}
|
|
45169
|
-
|
|
45170
|
-
// 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)
|
|
45171
|
-
if (
|
|
45172
|
-
changedProperties &&
|
|
45173
|
-
valueProperty === 'value' &&
|
|
45174
|
-
changedProperties.get('value') === undefined &&
|
|
45175
|
-
this[objectProperty] instanceof Date &&
|
|
45176
|
-
this[valueProperty] === dateFormatter$2.toISOFormatString(this[objectProperty])
|
|
45177
|
-
) {
|
|
45178
|
-
return;
|
|
45179
|
-
}
|
|
45180
|
-
|
|
45181
|
-
if (dateFormatter$2.isValidDate(this[valueProperty])) {
|
|
45182
|
-
this.setDateObjectProperty(objectProperty, dateFormatter$2.stringToDateInstance(this[valueProperty]));
|
|
45183
|
-
} else {
|
|
45184
|
-
this.setDateObjectProperty(objectProperty, undefined);
|
|
45185
|
-
}
|
|
45186
|
-
}
|
|
45187
|
-
|
|
45188
44995
|
/**
|
|
45189
44996
|
* Sets up IMasks and logic based on auto-formatting requirements.
|
|
45190
44997
|
* @private
|
|
45191
44998
|
* @returns {void}
|
|
45192
44999
|
*/
|
|
45193
45000
|
configureAutoFormatting() {
|
|
45194
|
-
//
|
|
45195
|
-
//
|
|
45196
|
-
//
|
|
45197
|
-
//
|
|
45001
|
+
// _configuringMask gates two things: external re-entry into this method
|
|
45002
|
+
// while setup is mid-flight (from property changes that call back here),
|
|
45003
|
+
// and the accept/complete listeners below — both need to ignore the mask
|
|
45004
|
+
// events fired by our own value-restore step.
|
|
45198
45005
|
if (this._configuringMask) return;
|
|
45199
45006
|
this._configuringMask = true;
|
|
45200
45007
|
try {
|
|
45008
|
+
// Destroy any prior mask so IMask can attach fresh under the new format.
|
|
45009
|
+
// Null the reference too — if the new maskOptions.mask is falsy (e.g.
|
|
45010
|
+
// type switched from credit-card to text) the IMask() reassignment
|
|
45011
|
+
// below is skipped, and downstream writes at line ~823 would otherwise
|
|
45012
|
+
// route through the destroyed instance.
|
|
45201
45013
|
if (this.maskInstance) {
|
|
45202
45014
|
this.maskInstance.destroy();
|
|
45015
|
+
this.maskInstance = null;
|
|
45203
45016
|
}
|
|
45204
45017
|
|
|
45205
|
-
// Pass new format to util
|
|
45206
45018
|
this.util.updateFormat(this.format);
|
|
45207
45019
|
|
|
45208
45020
|
const maskOptions = this.util.getMaskOptions(this.type, this.format);
|
|
45209
45021
|
|
|
45210
45022
|
if (this.inputElement && maskOptions.mask) {
|
|
45211
|
-
|
|
45212
|
-
//
|
|
45213
|
-
//
|
|
45214
|
-
//
|
|
45215
|
-
// When the format changes (e.g. locale switch) and we have a valid ISO
|
|
45216
|
-
// model value, compute the display string for the NEW format instead of
|
|
45217
|
-
// re-using the old display string, which may be invalid in the new mask.
|
|
45023
|
+
// Capture the current display so it can be re-applied after IMask
|
|
45024
|
+
// attaches. The restore at the bottom goes through maskInstance.value
|
|
45025
|
+
// (not inputElement.value directly) so the mask's internal state and
|
|
45026
|
+
// the input's displayed text stay in lock-step.
|
|
45218
45027
|
let existingValue = this.inputElement.value;
|
|
45028
|
+
|
|
45029
|
+
// Format-change case (e.g. locale switch): existingValue is the OLD
|
|
45030
|
+
// mask's display string and may not parse under the new mask. When
|
|
45031
|
+
// we have a valid date model, rebuild the display from valueObject
|
|
45032
|
+
// (the canonical source) using the new mask's format function.
|
|
45219
45033
|
if (
|
|
45220
45034
|
this.util.isFullDateFormat(this.type, this.format) &&
|
|
45221
45035
|
this.value &&
|
|
45222
|
-
|
|
45223
|
-
this.valueObject instanceof Date &&
|
|
45224
|
-
!Number.isNaN(this.valueObject.getTime()) &&
|
|
45036
|
+
this.valueObject &&
|
|
45225
45037
|
typeof maskOptions.format === 'function'
|
|
45226
45038
|
) {
|
|
45227
45039
|
existingValue = maskOptions.format(this.valueObject);
|
|
45228
45040
|
}
|
|
45229
45041
|
|
|
45042
|
+
// Clear before IMask attaches so the constructor seeds an empty
|
|
45043
|
+
// internal value. Otherwise IMask reads the stale unmasked string
|
|
45044
|
+
// and emits a spurious 'accept' before the restore below runs.
|
|
45230
45045
|
this.skipNextProgrammaticInputEvent = true;
|
|
45231
45046
|
this.inputElement.value = '';
|
|
45232
45047
|
|
|
45233
45048
|
this.maskInstance = IMask$2(this.inputElement, maskOptions);
|
|
45234
45049
|
|
|
45050
|
+
// Mask fires 'accept' on every value change, including the restore
|
|
45051
|
+
// step below. Skip events fired during configureAutoFormatting so
|
|
45052
|
+
// we don't overwrite a value the parent just pushed.
|
|
45235
45053
|
this.maskInstance.on('accept', () => {
|
|
45236
|
-
// Suppress propagation during configureAutoFormatting's own value-restoration
|
|
45237
|
-
// (line below) — the mask emits 'accept' on every value-set, including ours,
|
|
45238
|
-
// and we don't want to overwrite a value the parent just pushed.
|
|
45239
45054
|
if (this._configuringMask) return;
|
|
45240
45055
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
45241
45056
|
if (this.type === "date") {
|
|
@@ -45243,6 +45058,8 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45243
45058
|
}
|
|
45244
45059
|
});
|
|
45245
45060
|
|
|
45061
|
+
// Mask fires 'complete' on the restore step below for any value that
|
|
45062
|
+
// happens to be a complete match. Same setup-suppression as 'accept'.
|
|
45246
45063
|
this.maskInstance.on('complete', () => {
|
|
45247
45064
|
if (this._configuringMask) return;
|
|
45248
45065
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
@@ -45251,7 +45068,9 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45251
45068
|
}
|
|
45252
45069
|
});
|
|
45253
45070
|
|
|
45254
|
-
//
|
|
45071
|
+
// Write existingValue through the mask (not the input directly) so
|
|
45072
|
+
// the mask reformats it under the new rules and keeps its internal
|
|
45073
|
+
// _value aligned with the input's displayed text.
|
|
45255
45074
|
if (existingValue) {
|
|
45256
45075
|
this.maskInstance.value = existingValue;
|
|
45257
45076
|
}
|
|
@@ -45345,10 +45164,10 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45345
45164
|
// the gated types currently support it, since the list is a public
|
|
45346
45165
|
// property a consumer could mutate.
|
|
45347
45166
|
if (this.setSelectionInputTypes.includes(this.type)) {
|
|
45348
|
-
let selectionStart;
|
|
45167
|
+
let selectionStart = null;
|
|
45349
45168
|
try {
|
|
45350
|
-
selectionStart = this.inputElement
|
|
45351
|
-
} catch
|
|
45169
|
+
({ selectionStart } = this.inputElement);
|
|
45170
|
+
} catch {
|
|
45352
45171
|
return;
|
|
45353
45172
|
}
|
|
45354
45173
|
if (typeof selectionStart !== 'number') {
|
|
@@ -45357,7 +45176,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45357
45176
|
this.updateComplete.then(() => {
|
|
45358
45177
|
try {
|
|
45359
45178
|
this.inputElement.setSelectionRange(selectionStart, selectionStart);
|
|
45360
|
-
} catch
|
|
45179
|
+
} catch {
|
|
45361
45180
|
// Some input types (number/email in certain UAs) throw on
|
|
45362
45181
|
// setSelectionRange; swallow and let the native cursor stand.
|
|
45363
45182
|
}
|
|
@@ -45451,7 +45270,6 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45451
45270
|
*/
|
|
45452
45271
|
reset() {
|
|
45453
45272
|
this.value = undefined;
|
|
45454
|
-
this.setDateObjectProperty('valueObject', undefined);
|
|
45455
45273
|
this.validation.reset(this);
|
|
45456
45274
|
}
|
|
45457
45275
|
|
|
@@ -45460,7 +45278,6 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45460
45278
|
*/
|
|
45461
45279
|
clear() {
|
|
45462
45280
|
this.value = undefined;
|
|
45463
|
-
this.setDateObjectProperty('valueObject', undefined);
|
|
45464
45281
|
}
|
|
45465
45282
|
|
|
45466
45283
|
/**
|
|
@@ -45535,7 +45352,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45535
45352
|
/**
|
|
45536
45353
|
* Function to support credit-card feature type.
|
|
45537
45354
|
* @private
|
|
45538
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
45355
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
45539
45356
|
* @returns {object} JSON with data for credit card formatting.
|
|
45540
45357
|
*/
|
|
45541
45358
|
matchInputValueToCreditCard() {
|
|
@@ -45989,7 +45806,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$2 {
|
|
|
45989
45806
|
}
|
|
45990
45807
|
};
|
|
45991
45808
|
|
|
45992
|
-
var formkitVersion$7 = '
|
|
45809
|
+
var formkitVersion$7 = '202607011652';
|
|
45993
45810
|
|
|
45994
45811
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
45995
45812
|
// See LICENSE in the project root for license information.
|
|
@@ -46312,7 +46129,7 @@ let AuroInput$1 = class AuroInput extends BaseInput$1 {
|
|
|
46312
46129
|
/**
|
|
46313
46130
|
* Determines default help text string.
|
|
46314
46131
|
* @private
|
|
46315
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
46132
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
46316
46133
|
* @returns {string} Evaluates pre-determined help text.
|
|
46317
46134
|
*/
|
|
46318
46135
|
getHelpText() {
|
|
@@ -50383,15 +50200,17 @@ let AuroFormValidation$5 = class AuroFormValidation {
|
|
|
50383
50200
|
);
|
|
50384
50201
|
}
|
|
50385
50202
|
|
|
50386
|
-
|
|
50387
|
-
|
|
50388
|
-
|
|
50203
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
50204
|
+
|
|
50205
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
50206
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
50207
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
50208
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
50209
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
50389
50210
|
hasValue = false;
|
|
50390
50211
|
}
|
|
50391
50212
|
}
|
|
50392
50213
|
|
|
50393
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
50394
|
-
|
|
50395
50214
|
if (isCombobox) {
|
|
50396
50215
|
|
|
50397
50216
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -50856,7 +50675,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$2 {
|
|
|
50856
50675
|
}
|
|
50857
50676
|
};
|
|
50858
50677
|
|
|
50859
|
-
var formkitVersion$1$2 = '
|
|
50678
|
+
var formkitVersion$1$2 = '202607011652';
|
|
50860
50679
|
|
|
50861
50680
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
50862
50681
|
// See LICENSE in the project root for license information.
|
|
@@ -55184,7 +55003,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$2 {
|
|
|
55184
55003
|
}
|
|
55185
55004
|
};
|
|
55186
55005
|
|
|
55187
|
-
var formkitVersion$6 = '
|
|
55006
|
+
var formkitVersion$6 = '202607011652';
|
|
55188
55007
|
|
|
55189
55008
|
let AuroElement$1$2 = class AuroElement extends i$2 {
|
|
55190
55009
|
static get properties() {
|
|
@@ -58733,15 +58552,17 @@ let AuroFormValidation$4 = class AuroFormValidation {
|
|
|
58733
58552
|
);
|
|
58734
58553
|
}
|
|
58735
58554
|
|
|
58736
|
-
|
|
58737
|
-
|
|
58738
|
-
|
|
58555
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
58556
|
+
|
|
58557
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
58558
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
58559
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
58560
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
58561
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
58739
58562
|
hasValue = false;
|
|
58740
58563
|
}
|
|
58741
58564
|
}
|
|
58742
58565
|
|
|
58743
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
58744
|
-
|
|
58745
58566
|
if (isCombobox) {
|
|
58746
58567
|
|
|
58747
58568
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -59132,7 +58953,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$2 {
|
|
|
59132
58953
|
}
|
|
59133
58954
|
};
|
|
59134
58955
|
|
|
59135
|
-
var formkitVersion$5 = '
|
|
58956
|
+
var formkitVersion$5 = '202607011652';
|
|
59136
58957
|
|
|
59137
58958
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
59138
58959
|
// See LICENSE in the project root for license information.
|
|
@@ -60479,15 +60300,17 @@ let AuroFormValidation$3 = class AuroFormValidation {
|
|
|
60479
60300
|
);
|
|
60480
60301
|
}
|
|
60481
60302
|
|
|
60482
|
-
|
|
60483
|
-
|
|
60484
|
-
|
|
60303
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
60304
|
+
|
|
60305
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
60306
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
60307
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
60308
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
60309
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
60485
60310
|
hasValue = false;
|
|
60486
60311
|
}
|
|
60487
60312
|
}
|
|
60488
60313
|
|
|
60489
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
60490
|
-
|
|
60491
60314
|
if (isCombobox) {
|
|
60492
60315
|
|
|
60493
60316
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -60882,7 +60705,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$2 {
|
|
|
60882
60705
|
}
|
|
60883
60706
|
};
|
|
60884
60707
|
|
|
60885
|
-
var formkitVersion$4 = '
|
|
60708
|
+
var formkitVersion$4 = '202607011652';
|
|
60886
60709
|
|
|
60887
60710
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
60888
60711
|
// See LICENSE in the project root for license information.
|
|
@@ -61739,15 +61562,17 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
61739
61562
|
);
|
|
61740
61563
|
}
|
|
61741
61564
|
|
|
61742
|
-
|
|
61743
|
-
|
|
61744
|
-
|
|
61565
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
61566
|
+
|
|
61567
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
61568
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
61569
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
61570
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
61571
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
61745
61572
|
hasValue = false;
|
|
61746
61573
|
}
|
|
61747
61574
|
}
|
|
61748
61575
|
|
|
61749
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
61750
|
-
|
|
61751
61576
|
if (isCombobox) {
|
|
61752
61577
|
|
|
61753
61578
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -62058,6 +61883,8 @@ function navigateArrow$1(component, direction, options = {}) {
|
|
|
62058
61883
|
}
|
|
62059
61884
|
}
|
|
62060
61885
|
|
|
61886
|
+
/* eslint-disable no-underscore-dangle */
|
|
61887
|
+
|
|
62061
61888
|
/**
|
|
62062
61889
|
* Returns the clear button element from the active input's shadow
|
|
62063
61890
|
* DOM, if available.
|
|
@@ -62093,11 +61920,9 @@ function isClearBtnFocused(ctx, clearBtn = getClearBtn(ctx)) {
|
|
|
62093
61920
|
* @param {Object} menu - The menu component.
|
|
62094
61921
|
*/
|
|
62095
61922
|
function reconcileMenuIndex(menu) {
|
|
62096
|
-
// eslint-disable-next-line no-underscore-dangle
|
|
62097
61923
|
if (menu._index < 0 && menu.optionActive && menu.items) {
|
|
62098
61924
|
const idx = menu.items.indexOf(menu.optionActive);
|
|
62099
61925
|
if (idx >= 0) {
|
|
62100
|
-
// eslint-disable-next-line no-underscore-dangle
|
|
62101
61926
|
menu._index = idx;
|
|
62102
61927
|
}
|
|
62103
61928
|
}
|
|
@@ -62116,11 +61941,7 @@ const comboboxKeyboardStrategy = {
|
|
|
62116
61941
|
|
|
62117
61942
|
// navigate if bib is open otherwise open it
|
|
62118
61943
|
if (component.dropdown.isPopoverVisible) {
|
|
62119
|
-
|
|
62120
|
-
component.activateLastEnabledAvailableOption();
|
|
62121
|
-
} else {
|
|
62122
|
-
navigateArrow$1(component, 'down');
|
|
62123
|
-
}
|
|
61944
|
+
navigateArrow$1(component, 'down');
|
|
62124
61945
|
} else {
|
|
62125
61946
|
component.showBib();
|
|
62126
61947
|
}
|
|
@@ -62139,11 +61960,7 @@ const comboboxKeyboardStrategy = {
|
|
|
62139
61960
|
|
|
62140
61961
|
// navigate if bib is open otherwise open it
|
|
62141
61962
|
if (component.dropdown.isPopoverVisible) {
|
|
62142
|
-
|
|
62143
|
-
component.activateFirstEnabledAvailableOption();
|
|
62144
|
-
} else {
|
|
62145
|
-
navigateArrow$1(component, 'up');
|
|
62146
|
-
}
|
|
61963
|
+
navigateArrow$1(component, 'up');
|
|
62147
61964
|
} else {
|
|
62148
61965
|
component.showBib();
|
|
62149
61966
|
}
|
|
@@ -62159,13 +61976,18 @@ const comboboxKeyboardStrategy = {
|
|
|
62159
61976
|
},
|
|
62160
61977
|
|
|
62161
61978
|
Enter(component, evt, ctx) {
|
|
61979
|
+
// Forms should not submit on Enter from a combobox, regardless of which
|
|
61980
|
+
// child element (input, clear button, menu) is focused.
|
|
61981
|
+
evt.stopPropagation();
|
|
61982
|
+
|
|
62162
61983
|
if (isClearBtnFocused(ctx)) {
|
|
62163
|
-
//
|
|
62164
|
-
//
|
|
62165
|
-
//
|
|
62166
|
-
|
|
62167
|
-
|
|
62168
|
-
|
|
61984
|
+
// Let the browser dispatch Enter to the focused clear button so its
|
|
61985
|
+
// built-in activation fires and clears the selection. Do NOT call
|
|
61986
|
+
// preventDefault — that would block the activation.
|
|
61987
|
+
return;
|
|
61988
|
+
}
|
|
61989
|
+
|
|
61990
|
+
if (ctx.isExpanded && component.menu.optionActive) {
|
|
62169
61991
|
reconcileMenuIndex(component.menu);
|
|
62170
61992
|
component.menu.makeSelection();
|
|
62171
61993
|
|
|
@@ -62174,14 +61996,8 @@ const comboboxKeyboardStrategy = {
|
|
|
62174
61996
|
}
|
|
62175
61997
|
|
|
62176
61998
|
evt.preventDefault();
|
|
62177
|
-
evt.stopPropagation();
|
|
62178
61999
|
} else {
|
|
62179
|
-
// Prevent the keypress from bubbling to parent containers (e.g., forms)
|
|
62180
|
-
// which could interpret Enter as a submit or trigger other unintended behavior.
|
|
62181
|
-
// This is safe because showBib() opens the dialog programmatically,
|
|
62182
|
-
// not via event propagation.
|
|
62183
62000
|
evt.preventDefault();
|
|
62184
|
-
evt.stopPropagation();
|
|
62185
62001
|
component.showBib();
|
|
62186
62002
|
}
|
|
62187
62003
|
},
|
|
@@ -62226,7 +62042,7 @@ const comboboxKeyboardStrategy = {
|
|
|
62226
62042
|
component.setClearBtnFocus();
|
|
62227
62043
|
}
|
|
62228
62044
|
}
|
|
62229
|
-
}
|
|
62045
|
+
}
|
|
62230
62046
|
};
|
|
62231
62047
|
|
|
62232
62048
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
@@ -66097,7 +65913,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$2 {
|
|
|
66097
65913
|
}
|
|
66098
65914
|
};
|
|
66099
65915
|
|
|
66100
|
-
var formkitVersion$2 = '
|
|
65916
|
+
var formkitVersion$2 = '202607011652';
|
|
66101
65917
|
|
|
66102
65918
|
let AuroElement$2$1 = class AuroElement extends i$2 {
|
|
66103
65919
|
static get properties() {
|
|
@@ -67496,7 +67312,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
67496
67312
|
|
|
67497
67313
|
var shapeSizeCss$2 = i$4`.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}`;
|
|
67498
67314
|
|
|
67499
|
-
var styleCss$1$1$1 = i$4`.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}`;
|
|
67315
|
+
var styleCss$1$1$1 = i$4`.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}`;
|
|
67500
67316
|
|
|
67501
67317
|
var styleDefaultCss = i$4`.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}`;
|
|
67502
67318
|
|
|
@@ -71872,15 +71688,17 @@ let AuroFormValidation$2 = class AuroFormValidation {
|
|
|
71872
71688
|
);
|
|
71873
71689
|
}
|
|
71874
71690
|
|
|
71875
|
-
|
|
71876
|
-
|
|
71877
|
-
|
|
71691
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
71692
|
+
|
|
71693
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
71694
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
71695
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
71696
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
71697
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
71878
71698
|
hasValue = false;
|
|
71879
71699
|
}
|
|
71880
71700
|
}
|
|
71881
71701
|
|
|
71882
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
71883
|
-
|
|
71884
71702
|
if (isCombobox) {
|
|
71885
71703
|
|
|
71886
71704
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -77561,8 +77379,6 @@ function cleanEscapedString(input) {
|
|
|
77561
77379
|
return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
|
|
77562
77380
|
}
|
|
77563
77381
|
|
|
77564
|
-
/* eslint-disable max-lines */
|
|
77565
|
-
|
|
77566
77382
|
class AuroInputUtilities {
|
|
77567
77383
|
|
|
77568
77384
|
/**
|
|
@@ -77605,7 +77421,7 @@ class AuroInputUtilities {
|
|
|
77605
77421
|
/**
|
|
77606
77422
|
* Converts an IMask-style date mask to a date-fns compatible format string.
|
|
77607
77423
|
* @param {string} mask - IMask date mask (e.g. "MM/DD/YYYY").
|
|
77608
|
-
* @returns {string} date-fns format string (e.g. "MM/dd/yyyy").
|
|
77424
|
+
* @returns {string} A date-fns format string (e.g. "MM/dd/yyyy").
|
|
77609
77425
|
*/
|
|
77610
77426
|
toDateFnsMask(mask) {
|
|
77611
77427
|
return mask
|
|
@@ -77827,6 +77643,7 @@ class AuroInputUtilities {
|
|
|
77827
77643
|
const maskOptions = this.getMaskOptions('date', normalizedFormat);
|
|
77828
77644
|
|
|
77829
77645
|
if (!(valueObject instanceof Date) || Number.isNaN(valueObject.getTime()) || !maskOptions || typeof maskOptions.format !== 'function') {
|
|
77646
|
+
console.debug('Invalid date object or mask options for formatting', { valueObject, maskOptions }); // eslint-disable-line no-console
|
|
77830
77647
|
return undefined;
|
|
77831
77648
|
}
|
|
77832
77649
|
|
|
@@ -77984,6 +77801,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
77984
77801
|
// so a parent (datepicker/combobox) calling `validate()` synchronously
|
|
77985
77802
|
// during its own update cycle sees a populated util instance.
|
|
77986
77803
|
this.activeLabel = false;
|
|
77804
|
+
|
|
77987
77805
|
/** @private */
|
|
77988
77806
|
this.allowedInputTypes = [
|
|
77989
77807
|
"text",
|
|
@@ -77994,6 +77812,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
77994
77812
|
"tel"
|
|
77995
77813
|
];
|
|
77996
77814
|
this.appearance = "default";
|
|
77815
|
+
|
|
77997
77816
|
/** @private */
|
|
77998
77817
|
this.dateFormatMap = {
|
|
77999
77818
|
'mm/dd/yyyy': 'dateMMDDYYYY',
|
|
@@ -78012,23 +77831,24 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78012
77831
|
'mm/dd': 'dateMMDD'
|
|
78013
77832
|
};
|
|
78014
77833
|
this.disabled = false;
|
|
77834
|
+
|
|
78015
77835
|
/** @private */
|
|
78016
77836
|
this.domHandler = new DomHandler();
|
|
78017
77837
|
this.dvInputOnly = false;
|
|
78018
77838
|
this.hasValue = false;
|
|
78019
77839
|
this.hideLabelVisually = false;
|
|
78020
77840
|
this.icon = false;
|
|
77841
|
+
|
|
78021
77842
|
/** @private */
|
|
78022
77843
|
this.inputIconName = undefined;
|
|
77844
|
+
|
|
78023
77845
|
/** @private */
|
|
78024
77846
|
this.label = 'Input label is undefined';
|
|
78025
77847
|
this.layout = 'classic';
|
|
78026
77848
|
this.locale = 'en-US';
|
|
78027
77849
|
this.max = undefined;
|
|
78028
|
-
this._maxObject = undefined;
|
|
78029
77850
|
this.maxLength = undefined;
|
|
78030
77851
|
this.min = undefined;
|
|
78031
|
-
this._minObject = undefined;
|
|
78032
77852
|
this.minLength = undefined;
|
|
78033
77853
|
this.noValidate = false;
|
|
78034
77854
|
this.onDark = false;
|
|
@@ -78045,23 +77865,27 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78045
77865
|
"email"
|
|
78046
77866
|
];
|
|
78047
77867
|
this.shape = 'classic';
|
|
77868
|
+
|
|
78048
77869
|
/** @private */
|
|
78049
77870
|
this.showPassword = false;
|
|
78050
77871
|
this.size = 'lg';
|
|
78051
77872
|
this.touched = false;
|
|
77873
|
+
|
|
78052
77874
|
/** @private */
|
|
78053
77875
|
this.uniqueId = new UniqueId().create();
|
|
77876
|
+
|
|
78054
77877
|
/** @private */
|
|
78055
77878
|
this.util = new AuroInputUtilities({
|
|
78056
77879
|
locale: this.locale,
|
|
78057
77880
|
format: this.format
|
|
78058
77881
|
});
|
|
77882
|
+
|
|
78059
77883
|
/** @private */
|
|
78060
77884
|
this.validation = new AuroFormValidation$2();
|
|
77885
|
+
|
|
78061
77886
|
/** @private */
|
|
78062
77887
|
this.validationCCLength = undefined;
|
|
78063
77888
|
this.value = undefined;
|
|
78064
|
-
this._valueObject = undefined;
|
|
78065
77889
|
}
|
|
78066
77890
|
|
|
78067
77891
|
// function to define props used within the scope of this component
|
|
@@ -78499,7 +78323,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78499
78323
|
* @returns {Date|undefined}
|
|
78500
78324
|
*/
|
|
78501
78325
|
get valueObject() {
|
|
78502
|
-
return this.
|
|
78326
|
+
return this.value && dateFormatter.isValidDate(this.value) ? dateFormatter.stringToDateInstance(this.value) : undefined;
|
|
78503
78327
|
}
|
|
78504
78328
|
|
|
78505
78329
|
/**
|
|
@@ -78507,7 +78331,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78507
78331
|
* @returns {Date|undefined}
|
|
78508
78332
|
*/
|
|
78509
78333
|
get minObject() {
|
|
78510
|
-
return this.
|
|
78334
|
+
return this.min && dateFormatter.isValidDate(this.min) ? dateFormatter.stringToDateInstance(this.min) : undefined;
|
|
78511
78335
|
}
|
|
78512
78336
|
|
|
78513
78337
|
/**
|
|
@@ -78515,50 +78339,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78515
78339
|
* @returns {Date|undefined}
|
|
78516
78340
|
*/
|
|
78517
78341
|
get maxObject() {
|
|
78518
|
-
return this.
|
|
78519
|
-
}
|
|
78520
|
-
|
|
78521
|
-
/**
|
|
78522
|
-
* Parses a date string into a Date object when the corresponding `_*Object`
|
|
78523
|
-
* field hasn't been synced yet by `updated()`. Returns undefined when the
|
|
78524
|
-
* input type/format isn't a full date or the string is not a valid date.
|
|
78525
|
-
*
|
|
78526
|
-
* Why this exists: a parent (datepicker) can call `inputN.validate()` from
|
|
78527
|
-
* inside its own `updated()` before this input's `updated()` has run
|
|
78528
|
-
* `syncDateValues()` — so `_valueObject`/`_maxObject` are still `undefined`
|
|
78529
|
-
* and range checks would otherwise silently no-op (flipping the result to
|
|
78530
|
-
* `valid` or `patternMismatch`).
|
|
78531
|
-
* @private
|
|
78532
|
-
* @param {string|undefined} dateStr - ISO date string from `value`/`min`/`max`.
|
|
78533
|
-
* @returns {Date|undefined}
|
|
78534
|
-
*/
|
|
78535
|
-
_computeDateObjectFallback(dateStr) {
|
|
78536
|
-
if (!dateStr || !this.util || !this.util.isFullDateFormat(this.type, this.format)) {
|
|
78537
|
-
return undefined;
|
|
78538
|
-
}
|
|
78539
|
-
if (!dateFormatter.isValidDate(dateStr)) {
|
|
78540
|
-
return undefined;
|
|
78541
|
-
}
|
|
78542
|
-
return dateFormatter.stringToDateInstance(dateStr);
|
|
78543
|
-
}
|
|
78544
|
-
|
|
78545
|
-
/**
|
|
78546
|
-
* Internal setter for readonly date object properties.
|
|
78547
|
-
* @private
|
|
78548
|
-
* @param {'valueObject'|'minObject'|'maxObject'} propertyName - Public object property name.
|
|
78549
|
-
* @param {Date|undefined} propertyValue - Value to assign.
|
|
78550
|
-
* @returns {void}
|
|
78551
|
-
*/
|
|
78552
|
-
setDateObjectProperty(propertyName, propertyValue) {
|
|
78553
|
-
const internalPropertyName = `_${propertyName}`;
|
|
78554
|
-
const previousValue = this[internalPropertyName];
|
|
78555
|
-
|
|
78556
|
-
if (previousValue === propertyValue) {
|
|
78557
|
-
return;
|
|
78558
|
-
}
|
|
78559
|
-
|
|
78560
|
-
this[internalPropertyName] = propertyValue;
|
|
78561
|
-
this.requestUpdate(propertyName, previousValue);
|
|
78342
|
+
return this.max && dateFormatter.isValidDate(this.max) ? dateFormatter.stringToDateInstance(this.max) : undefined;
|
|
78562
78343
|
}
|
|
78563
78344
|
|
|
78564
78345
|
connectedCallback() {
|
|
@@ -78587,7 +78368,6 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78587
78368
|
format: this.format
|
|
78588
78369
|
});
|
|
78589
78370
|
this.configureDataForType();
|
|
78590
|
-
this.syncDateValues();
|
|
78591
78371
|
}
|
|
78592
78372
|
|
|
78593
78373
|
disconnectedCallback() {
|
|
@@ -78626,7 +78406,6 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78626
78406
|
this.setCustomHelpTextMessage();
|
|
78627
78407
|
this.configureAutoFormatting();
|
|
78628
78408
|
this.configureDataForType();
|
|
78629
|
-
this.syncDateValues();
|
|
78630
78409
|
}
|
|
78631
78410
|
|
|
78632
78411
|
/**
|
|
@@ -78684,7 +78463,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78684
78463
|
|
|
78685
78464
|
/**
|
|
78686
78465
|
* @private
|
|
78687
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
78466
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
78688
78467
|
* @returns {void} Sets the default help text for the input.
|
|
78689
78468
|
*/
|
|
78690
78469
|
setCustomHelpTextMessage() {
|
|
@@ -78770,8 +78549,6 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78770
78549
|
this.configureDataForType();
|
|
78771
78550
|
}
|
|
78772
78551
|
|
|
78773
|
-
this.syncDateValues(changedProperties);
|
|
78774
|
-
|
|
78775
78552
|
if (changedProperties.has('value')) {
|
|
78776
78553
|
if (this.value && this.value.length > 0) {
|
|
78777
78554
|
this.hasValue = true;
|
|
@@ -78793,14 +78570,14 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78793
78570
|
|
|
78794
78571
|
if (formattedValue !== this.inputElement.value) {
|
|
78795
78572
|
this.skipNextProgrammaticInputEvent = true;
|
|
78796
|
-
if (this.maskInstance && this.type
|
|
78573
|
+
if (this.maskInstance && this.type !== 'date') {
|
|
78797
78574
|
// Route through the mask so its _value and el.value stay in lock-step
|
|
78798
78575
|
// (set value calls updateControl which writes el.value = displayValue).
|
|
78799
78576
|
// Writing el.value directly leaves the mask thinking displayValue is
|
|
78800
|
-
// stale; _saveSelection on the next focus/click then warns.
|
|
78801
|
-
//
|
|
78802
|
-
//
|
|
78803
|
-
//
|
|
78577
|
+
// stale; _saveSelection on the next focus/click then warns. Date is
|
|
78578
|
+
// excluded because its formattedValue can be raw ISO when the calendar
|
|
78579
|
+
// is invalid, and re-masking through mm/dd/yyyy would truncate it and
|
|
78580
|
+
// flip validity from patternMismatch to tooShort.
|
|
78804
78581
|
this.maskInstance.value = formattedValue || '';
|
|
78805
78582
|
} else if (formattedValue) {
|
|
78806
78583
|
this.inputElement.value = formattedValue;
|
|
@@ -78842,120 +78619,65 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78842
78619
|
}));
|
|
78843
78620
|
}
|
|
78844
78621
|
|
|
78845
|
-
|
|
78846
|
-
/**
|
|
78847
|
-
* Synchronizes the ISO string values and Date object representations for date-related properties.
|
|
78848
|
-
* This keeps the model and display values aligned when either side changes.
|
|
78849
|
-
*
|
|
78850
|
-
* When a full date format is in use, this method updates `value`, `min`, and `max` from their corresponding
|
|
78851
|
-
* Date objects or vice versa, based on which properties have changed. It only runs when the current configuration
|
|
78852
|
-
* represents a full year/month/day date format.
|
|
78853
|
-
*
|
|
78854
|
-
* @param {Map<string, unknown>|undefined} [changedProperties=undefined] - Optional map of changed properties used to limit which values are synchronized.
|
|
78855
|
-
* @returns {void}
|
|
78856
|
-
* @private
|
|
78857
|
-
*/
|
|
78858
|
-
syncDateValues(changedProperties = undefined) {
|
|
78859
|
-
if (!this.util.isFullDateFormat(this.type, this.format)) {
|
|
78860
|
-
return;
|
|
78861
|
-
}
|
|
78862
|
-
|
|
78863
|
-
this.syncSingleDateValue(changedProperties, 'valueObject', 'value');
|
|
78864
|
-
this.syncSingleDateValue(changedProperties, 'minObject', 'min');
|
|
78865
|
-
this.syncSingleDateValue(changedProperties, 'maxObject', 'max');
|
|
78866
|
-
}
|
|
78867
|
-
|
|
78868
|
-
/**
|
|
78869
|
-
* Synchronizes one date object/string property pair.
|
|
78870
|
-
* @private
|
|
78871
|
-
* @param {Map<string, unknown>|undefined} changedProperties - Map of changed properties from Lit.
|
|
78872
|
-
* @param {string} objectProperty - Date object property name.
|
|
78873
|
-
* @param {string} valueProperty - ISO string property name.
|
|
78874
|
-
* @returns {void}
|
|
78875
|
-
*/
|
|
78876
|
-
syncSingleDateValue(changedProperties, objectProperty, valueProperty) {
|
|
78877
|
-
const objectPropertyChanged = !changedProperties || changedProperties.has(objectProperty);
|
|
78878
|
-
|
|
78879
|
-
// objectProperty wins over valueProperty when both changed
|
|
78880
|
-
if (objectPropertyChanged && this[objectProperty]) {
|
|
78881
|
-
this[valueProperty] = dateFormatter.toISOFormatString(this[objectProperty]);
|
|
78882
|
-
return;
|
|
78883
|
-
}
|
|
78884
|
-
|
|
78885
|
-
const valuePropertyChanged = !changedProperties || changedProperties.has(valueProperty);
|
|
78886
|
-
if (!valuePropertyChanged) {
|
|
78887
|
-
return;
|
|
78888
|
-
}
|
|
78889
|
-
|
|
78890
|
-
// 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)
|
|
78891
|
-
if (
|
|
78892
|
-
changedProperties &&
|
|
78893
|
-
valueProperty === 'value' &&
|
|
78894
|
-
changedProperties.get('value') === undefined &&
|
|
78895
|
-
this[objectProperty] instanceof Date &&
|
|
78896
|
-
this[valueProperty] === dateFormatter.toISOFormatString(this[objectProperty])
|
|
78897
|
-
) {
|
|
78898
|
-
return;
|
|
78899
|
-
}
|
|
78900
|
-
|
|
78901
|
-
if (dateFormatter.isValidDate(this[valueProperty])) {
|
|
78902
|
-
this.setDateObjectProperty(objectProperty, dateFormatter.stringToDateInstance(this[valueProperty]));
|
|
78903
|
-
} else {
|
|
78904
|
-
this.setDateObjectProperty(objectProperty, undefined);
|
|
78905
|
-
}
|
|
78906
|
-
}
|
|
78907
|
-
|
|
78908
78622
|
/**
|
|
78909
78623
|
* Sets up IMasks and logic based on auto-formatting requirements.
|
|
78910
78624
|
* @private
|
|
78911
78625
|
* @returns {void}
|
|
78912
78626
|
*/
|
|
78913
78627
|
configureAutoFormatting() {
|
|
78914
|
-
//
|
|
78915
|
-
//
|
|
78916
|
-
//
|
|
78917
|
-
//
|
|
78628
|
+
// _configuringMask gates two things: external re-entry into this method
|
|
78629
|
+
// while setup is mid-flight (from property changes that call back here),
|
|
78630
|
+
// and the accept/complete listeners below — both need to ignore the mask
|
|
78631
|
+
// events fired by our own value-restore step.
|
|
78918
78632
|
if (this._configuringMask) return;
|
|
78919
78633
|
this._configuringMask = true;
|
|
78920
78634
|
try {
|
|
78635
|
+
// Destroy any prior mask so IMask can attach fresh under the new format.
|
|
78636
|
+
// Null the reference too — if the new maskOptions.mask is falsy (e.g.
|
|
78637
|
+
// type switched from credit-card to text) the IMask() reassignment
|
|
78638
|
+
// below is skipped, and downstream writes at line ~823 would otherwise
|
|
78639
|
+
// route through the destroyed instance.
|
|
78921
78640
|
if (this.maskInstance) {
|
|
78922
78641
|
this.maskInstance.destroy();
|
|
78642
|
+
this.maskInstance = null;
|
|
78923
78643
|
}
|
|
78924
78644
|
|
|
78925
|
-
// Pass new format to util
|
|
78926
78645
|
this.util.updateFormat(this.format);
|
|
78927
78646
|
|
|
78928
78647
|
const maskOptions = this.util.getMaskOptions(this.type, this.format);
|
|
78929
78648
|
|
|
78930
78649
|
if (this.inputElement && maskOptions.mask) {
|
|
78931
|
-
|
|
78932
|
-
//
|
|
78933
|
-
//
|
|
78934
|
-
//
|
|
78935
|
-
// When the format changes (e.g. locale switch) and we have a valid ISO
|
|
78936
|
-
// model value, compute the display string for the NEW format instead of
|
|
78937
|
-
// re-using the old display string, which may be invalid in the new mask.
|
|
78650
|
+
// Capture the current display so it can be re-applied after IMask
|
|
78651
|
+
// attaches. The restore at the bottom goes through maskInstance.value
|
|
78652
|
+
// (not inputElement.value directly) so the mask's internal state and
|
|
78653
|
+
// the input's displayed text stay in lock-step.
|
|
78938
78654
|
let existingValue = this.inputElement.value;
|
|
78655
|
+
|
|
78656
|
+
// Format-change case (e.g. locale switch): existingValue is the OLD
|
|
78657
|
+
// mask's display string and may not parse under the new mask. When
|
|
78658
|
+
// we have a valid date model, rebuild the display from valueObject
|
|
78659
|
+
// (the canonical source) using the new mask's format function.
|
|
78939
78660
|
if (
|
|
78940
78661
|
this.util.isFullDateFormat(this.type, this.format) &&
|
|
78941
78662
|
this.value &&
|
|
78942
|
-
|
|
78943
|
-
this.valueObject instanceof Date &&
|
|
78944
|
-
!Number.isNaN(this.valueObject.getTime()) &&
|
|
78663
|
+
this.valueObject &&
|
|
78945
78664
|
typeof maskOptions.format === 'function'
|
|
78946
78665
|
) {
|
|
78947
78666
|
existingValue = maskOptions.format(this.valueObject);
|
|
78948
78667
|
}
|
|
78949
78668
|
|
|
78669
|
+
// Clear before IMask attaches so the constructor seeds an empty
|
|
78670
|
+
// internal value. Otherwise IMask reads the stale unmasked string
|
|
78671
|
+
// and emits a spurious 'accept' before the restore below runs.
|
|
78950
78672
|
this.skipNextProgrammaticInputEvent = true;
|
|
78951
78673
|
this.inputElement.value = '';
|
|
78952
78674
|
|
|
78953
78675
|
this.maskInstance = IMask(this.inputElement, maskOptions);
|
|
78954
78676
|
|
|
78677
|
+
// Mask fires 'accept' on every value change, including the restore
|
|
78678
|
+
// step below. Skip events fired during configureAutoFormatting so
|
|
78679
|
+
// we don't overwrite a value the parent just pushed.
|
|
78955
78680
|
this.maskInstance.on('accept', () => {
|
|
78956
|
-
// Suppress propagation during configureAutoFormatting's own value-restoration
|
|
78957
|
-
// (line below) — the mask emits 'accept' on every value-set, including ours,
|
|
78958
|
-
// and we don't want to overwrite a value the parent just pushed.
|
|
78959
78681
|
if (this._configuringMask) return;
|
|
78960
78682
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
78961
78683
|
if (this.type === "date") {
|
|
@@ -78963,6 +78685,8 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78963
78685
|
}
|
|
78964
78686
|
});
|
|
78965
78687
|
|
|
78688
|
+
// Mask fires 'complete' on the restore step below for any value that
|
|
78689
|
+
// happens to be a complete match. Same setup-suppression as 'accept'.
|
|
78966
78690
|
this.maskInstance.on('complete', () => {
|
|
78967
78691
|
if (this._configuringMask) return;
|
|
78968
78692
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
@@ -78971,7 +78695,9 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78971
78695
|
}
|
|
78972
78696
|
});
|
|
78973
78697
|
|
|
78974
|
-
//
|
|
78698
|
+
// Write existingValue through the mask (not the input directly) so
|
|
78699
|
+
// the mask reformats it under the new rules and keeps its internal
|
|
78700
|
+
// _value aligned with the input's displayed text.
|
|
78975
78701
|
if (existingValue) {
|
|
78976
78702
|
this.maskInstance.value = existingValue;
|
|
78977
78703
|
}
|
|
@@ -79065,10 +78791,10 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79065
78791
|
// the gated types currently support it, since the list is a public
|
|
79066
78792
|
// property a consumer could mutate.
|
|
79067
78793
|
if (this.setSelectionInputTypes.includes(this.type)) {
|
|
79068
|
-
let selectionStart;
|
|
78794
|
+
let selectionStart = null;
|
|
79069
78795
|
try {
|
|
79070
|
-
selectionStart = this.inputElement
|
|
79071
|
-
} catch
|
|
78796
|
+
({ selectionStart } = this.inputElement);
|
|
78797
|
+
} catch {
|
|
79072
78798
|
return;
|
|
79073
78799
|
}
|
|
79074
78800
|
if (typeof selectionStart !== 'number') {
|
|
@@ -79077,7 +78803,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79077
78803
|
this.updateComplete.then(() => {
|
|
79078
78804
|
try {
|
|
79079
78805
|
this.inputElement.setSelectionRange(selectionStart, selectionStart);
|
|
79080
|
-
} catch
|
|
78806
|
+
} catch {
|
|
79081
78807
|
// Some input types (number/email in certain UAs) throw on
|
|
79082
78808
|
// setSelectionRange; swallow and let the native cursor stand.
|
|
79083
78809
|
}
|
|
@@ -79171,7 +78897,6 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79171
78897
|
*/
|
|
79172
78898
|
reset() {
|
|
79173
78899
|
this.value = undefined;
|
|
79174
|
-
this.setDateObjectProperty('valueObject', undefined);
|
|
79175
78900
|
this.validation.reset(this);
|
|
79176
78901
|
}
|
|
79177
78902
|
|
|
@@ -79180,7 +78905,6 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79180
78905
|
*/
|
|
79181
78906
|
clear() {
|
|
79182
78907
|
this.value = undefined;
|
|
79183
|
-
this.setDateObjectProperty('valueObject', undefined);
|
|
79184
78908
|
}
|
|
79185
78909
|
|
|
79186
78910
|
/**
|
|
@@ -79255,7 +78979,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79255
78979
|
/**
|
|
79256
78980
|
* Function to support credit-card feature type.
|
|
79257
78981
|
* @private
|
|
79258
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
78982
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
79259
78983
|
* @returns {object} JSON with data for credit card formatting.
|
|
79260
78984
|
*/
|
|
79261
78985
|
matchInputValueToCreditCard() {
|
|
@@ -79709,7 +79433,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$2 {
|
|
|
79709
79433
|
}
|
|
79710
79434
|
};
|
|
79711
79435
|
|
|
79712
|
-
var formkitVersion$1$1 = '
|
|
79436
|
+
var formkitVersion$1$1 = '202607011652';
|
|
79713
79437
|
|
|
79714
79438
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
79715
79439
|
// See LICENSE in the project root for license information.
|
|
@@ -80032,7 +79756,7 @@ class AuroInput extends BaseInput {
|
|
|
80032
79756
|
/**
|
|
80033
79757
|
* Determines default help text string.
|
|
80034
79758
|
* @private
|
|
80035
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
79759
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
80036
79760
|
* @returns {string} Evaluates pre-determined help text.
|
|
80037
79761
|
*/
|
|
80038
79762
|
getHelpText() {
|
|
@@ -80835,7 +80559,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$2 {
|
|
|
80835
80559
|
}
|
|
80836
80560
|
};
|
|
80837
80561
|
|
|
80838
|
-
var formkitVersion$3 = '
|
|
80562
|
+
var formkitVersion$3 = '202607011652';
|
|
80839
80563
|
|
|
80840
80564
|
var styleCss$1$3 = i$4`.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}`;
|
|
80841
80565
|
|
|
@@ -81203,12 +80927,23 @@ function getOptionLabel(option) {
|
|
|
81203
80927
|
if (!option) {
|
|
81204
80928
|
return '';
|
|
81205
80929
|
}
|
|
81206
|
-
|
|
81207
|
-
|
|
81208
|
-
if (
|
|
81209
|
-
|
|
80930
|
+
|
|
80931
|
+
// Consumer-provided override: short-circuit the DOM walk entirely.
|
|
80932
|
+
if (option.dataset && option.dataset.label) {
|
|
80933
|
+
return option.dataset.label;
|
|
80934
|
+
}
|
|
80935
|
+
|
|
80936
|
+
// Walk direct children — the `slot` attribute only applies to direct children
|
|
80937
|
+
// of the slot host, so a shallow filter is sufficient. Avoids the cloneNode +
|
|
80938
|
+
// querySelector allocation that ran on every keystroke via syncValuesAndStates.
|
|
80939
|
+
let text = '';
|
|
80940
|
+
for (const node of option.childNodes) {
|
|
80941
|
+
const isDisplayValueSlot = node.nodeType === Node.ELEMENT_NODE && node.getAttribute('slot') === 'displayValue';
|
|
80942
|
+
if (!isDisplayValueSlot) {
|
|
80943
|
+
text += node.textContent || '';
|
|
80944
|
+
}
|
|
81210
80945
|
}
|
|
81211
|
-
return
|
|
80946
|
+
return text.replace(/\s+/gu, ' ').trim();
|
|
81212
80947
|
}
|
|
81213
80948
|
|
|
81214
80949
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
@@ -81283,8 +81018,6 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
81283
81018
|
this.availableOptions = [];
|
|
81284
81019
|
this.dropdownId = undefined;
|
|
81285
81020
|
this.dropdownOpen = false;
|
|
81286
|
-
this.triggerExpandedState = false;
|
|
81287
|
-
this._expandedTimeout = null;
|
|
81288
81021
|
this._inFullscreenTransition = false;
|
|
81289
81022
|
this.errorMessage = null;
|
|
81290
81023
|
this.isHiddenWhileLoading = false;
|
|
@@ -81295,6 +81028,30 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
81295
81028
|
this.touched = false;
|
|
81296
81029
|
this.validation = new AuroFormValidation$1();
|
|
81297
81030
|
this.validity = undefined;
|
|
81031
|
+
this._userTyped = false;
|
|
81032
|
+
// Tracks every setTimeout scheduled via _scheduleTimer so
|
|
81033
|
+
// disconnectedCallback can cancel them. Without this, a detached
|
|
81034
|
+
// combobox's pending timers still fire — most are no-ops, but
|
|
81035
|
+
// configureMenu's racing-condition retry would otherwise loop.
|
|
81036
|
+
this._pendingTimers = new Set();
|
|
81037
|
+
}
|
|
81038
|
+
|
|
81039
|
+
/**
|
|
81040
|
+
* Wraps setTimeout and records the timer id so disconnectedCallback
|
|
81041
|
+
* can cancel any outstanding callbacks. The id is removed from the set
|
|
81042
|
+
* once the callback fires so the set doesn't grow unbounded.
|
|
81043
|
+
* @param {Function} fn - Callback to run.
|
|
81044
|
+
* @param {number} ms - Delay in milliseconds.
|
|
81045
|
+
* @returns {number} The timer id.
|
|
81046
|
+
* @private
|
|
81047
|
+
*/
|
|
81048
|
+
_scheduleTimer(fn, ms) {
|
|
81049
|
+
const id = setTimeout(() => {
|
|
81050
|
+
this._pendingTimers.delete(id);
|
|
81051
|
+
fn();
|
|
81052
|
+
}, ms);
|
|
81053
|
+
this._pendingTimers.add(id);
|
|
81054
|
+
return id;
|
|
81298
81055
|
}
|
|
81299
81056
|
|
|
81300
81057
|
// This function is to define props used within the scope of this component
|
|
@@ -81656,17 +81413,6 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
81656
81413
|
attribute: false
|
|
81657
81414
|
},
|
|
81658
81415
|
|
|
81659
|
-
/**
|
|
81660
|
-
* Deferred aria-expanded state for the trigger input.
|
|
81661
|
-
* Delays the "true" transition so VoiceOver finishes its character echo
|
|
81662
|
-
* before announcing "expanded".
|
|
81663
|
-
* @private
|
|
81664
|
-
*/
|
|
81665
|
-
triggerExpandedState: {
|
|
81666
|
-
type: Boolean,
|
|
81667
|
-
reflect: false,
|
|
81668
|
-
attribute: false
|
|
81669
|
-
},
|
|
81670
81416
|
};
|
|
81671
81417
|
}
|
|
81672
81418
|
|
|
@@ -81689,13 +81435,6 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
81689
81435
|
return this.input.value;
|
|
81690
81436
|
}
|
|
81691
81437
|
|
|
81692
|
-
// /**
|
|
81693
|
-
// * Sets the value of the input element within the combobox.
|
|
81694
|
-
// */
|
|
81695
|
-
// set inputValue(value) {
|
|
81696
|
-
// this.input.value = value;
|
|
81697
|
-
// }
|
|
81698
|
-
|
|
81699
81438
|
/**
|
|
81700
81439
|
* Checks if the element is valid.
|
|
81701
81440
|
* @returns {boolean} - Returns true if the element is valid, false otherwise.
|
|
@@ -81822,7 +81561,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
81822
81561
|
if (this.menu) {
|
|
81823
81562
|
this.menu.matchWord = normalizeFilterValue(this.input.value);
|
|
81824
81563
|
}
|
|
81825
|
-
const label = getOptionLabel(this.menu.optionSelected)
|
|
81564
|
+
const label = getOptionLabel(this.menu.optionSelected);
|
|
81826
81565
|
this.updateTriggerTextDisplay(label || this.value);
|
|
81827
81566
|
}
|
|
81828
81567
|
|
|
@@ -81836,44 +81575,16 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
81836
81575
|
// in suggestion mode, do not override input value if no selection has been made and the input currently has focus
|
|
81837
81576
|
const isInputFocusedWithNoSelection = !this.menu.value && (this.input.matches(':focus-within') || (this.inputInBib && this.inputInBib.matches(':focus-within')));
|
|
81838
81577
|
|
|
81839
|
-
|
|
81840
|
-
|
|
81841
|
-
|
|
81842
|
-
// syncValuesAndStates re-enters here during typing when both inputs
|
|
81843
|
-
// already match, and a no-op flag flip would make the bib branch's
|
|
81844
|
-
// bail eat legitimate user-input events.
|
|
81845
|
-
const triggerNeedsSync = this.input.value !== nextValue;
|
|
81846
|
-
const bibNeedsSync = Boolean(this.inputInBib && this.inputInBib !== this.input && this.inputInBib.value !== nextValue);
|
|
81847
|
-
if (triggerNeedsSync || bibNeedsSync) {
|
|
81848
|
-
this._syncingDisplayValue = true;
|
|
81849
|
-
if (triggerNeedsSync) {
|
|
81850
|
-
this.input.value = nextValue;
|
|
81851
|
-
}
|
|
81852
|
-
if (bibNeedsSync) {
|
|
81853
|
-
this.inputInBib.value = nextValue;
|
|
81854
|
-
}
|
|
81855
|
-
const pending = [];
|
|
81856
|
-
if (triggerNeedsSync) {
|
|
81857
|
-
pending.push(this.input.updateComplete);
|
|
81858
|
-
}
|
|
81859
|
-
if (bibNeedsSync) {
|
|
81860
|
-
pending.push(this.inputInBib.updateComplete);
|
|
81861
|
-
}
|
|
81862
|
-
Promise.all(pending).then(() => {
|
|
81863
|
-
// imask reasserts otherwise, and handleBlur reverts to its stale value.
|
|
81864
|
-
if (triggerNeedsSync && this.input.maskInstance && typeof this.input.maskInstance.updateValue === 'function') {
|
|
81865
|
-
this.input.maskInstance.updateValue();
|
|
81866
|
-
}
|
|
81867
|
-
if (bibNeedsSync && this.inputInBib && this.inputInBib.maskInstance && typeof this.inputInBib.maskInstance.updateValue === 'function') {
|
|
81868
|
-
this.inputInBib.maskInstance.updateValue();
|
|
81869
|
-
}
|
|
81870
|
-
this._syncingDisplayValue = false;
|
|
81871
|
-
});
|
|
81872
|
-
}
|
|
81578
|
+
const suppressed = this.persistInput || (this.behavior === 'suggestion' && isInputFocusedWithNoSelection);
|
|
81579
|
+
if (!suppressed) {
|
|
81580
|
+
this.syncInputValuesAcrossTriggerAndBib(label || this.value);
|
|
81873
81581
|
}
|
|
81874
81582
|
|
|
81875
|
-
//
|
|
81876
|
-
|
|
81583
|
+
// Replace any previously appended displayValue clone in the trigger.
|
|
81584
|
+
// :not(slot) excludes the template's <slot name="displayValue"
|
|
81585
|
+
// slot="displayValue"> forwarder, which also has slot="displayValue"
|
|
81586
|
+
// and would otherwise be matched first and removed.
|
|
81587
|
+
const displayValueInTrigger = this.input.querySelector('[slot="displayValue"]:not(slot)');
|
|
81877
81588
|
|
|
81878
81589
|
if (displayValueInTrigger) {
|
|
81879
81590
|
displayValueInTrigger.remove();
|
|
@@ -81897,6 +81608,53 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
81897
81608
|
this.requestUpdate();
|
|
81898
81609
|
}
|
|
81899
81610
|
|
|
81611
|
+
/**
|
|
81612
|
+
* Writes nextValue to the trigger input and the bib input when their current
|
|
81613
|
+
* value differs, then re-asserts imask after Lit's update flushes.
|
|
81614
|
+
* @param {string} nextValue - The value to write to both inputs.
|
|
81615
|
+
* @returns {Promise<void>} Resolves after both inputs flush and imask
|
|
81616
|
+
* re-asserts; resolves immediately when no sync is needed.
|
|
81617
|
+
* @private
|
|
81618
|
+
*/
|
|
81619
|
+
async syncInputValuesAcrossTriggerAndBib(nextValue) {
|
|
81620
|
+
// Only set the flag when there's an actual write to suppress —
|
|
81621
|
+
// syncValuesAndStates re-enters here during typing when both inputs
|
|
81622
|
+
// already match, and a no-op flag flip would make the bib branch's
|
|
81623
|
+
// bail eat legitimate user-input events.
|
|
81624
|
+
const triggerNeedsSync = this.input.value !== nextValue;
|
|
81625
|
+
const bibNeedsSync = Boolean(this.inputInBib) && this.inputInBib.value !== nextValue;
|
|
81626
|
+
if (!triggerNeedsSync && !bibNeedsSync) {
|
|
81627
|
+
return;
|
|
81628
|
+
}
|
|
81629
|
+
|
|
81630
|
+
this._syncingDisplayValue = true;
|
|
81631
|
+
|
|
81632
|
+
const pending = [];
|
|
81633
|
+
if (triggerNeedsSync) {
|
|
81634
|
+
this.input.value = nextValue;
|
|
81635
|
+
pending.push(this.input.updateComplete);
|
|
81636
|
+
}
|
|
81637
|
+
if (bibNeedsSync) {
|
|
81638
|
+
this.inputInBib.value = nextValue;
|
|
81639
|
+
pending.push(this.inputInBib.updateComplete);
|
|
81640
|
+
}
|
|
81641
|
+
// finally — not a bare .then — so that an imask throw (see commit
|
|
81642
|
+
// d1857401c: imask can throw on credit-card format change) doesn't strand
|
|
81643
|
+
// _syncingDisplayValue=true and silently swallow every subsequent input.
|
|
81644
|
+
try {
|
|
81645
|
+
await Promise.all(pending);
|
|
81646
|
+
// imask reasserts otherwise, and handleBlur reverts to its stale value.
|
|
81647
|
+
if (triggerNeedsSync && this.input.maskInstance && typeof this.input.maskInstance.updateValue === 'function') {
|
|
81648
|
+
this.input.maskInstance.updateValue();
|
|
81649
|
+
}
|
|
81650
|
+
if (bibNeedsSync && this.inputInBib.maskInstance && typeof this.inputInBib.maskInstance.updateValue === 'function') {
|
|
81651
|
+
this.inputInBib.maskInstance.updateValue();
|
|
81652
|
+
}
|
|
81653
|
+
} finally {
|
|
81654
|
+
this._syncingDisplayValue = false;
|
|
81655
|
+
}
|
|
81656
|
+
}
|
|
81657
|
+
|
|
81900
81658
|
/**
|
|
81901
81659
|
* Processes hidden state of all menu options and determines if there are any available options not hidden.
|
|
81902
81660
|
* @private
|
|
@@ -81905,6 +81663,13 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
81905
81663
|
handleMenuOptions() {
|
|
81906
81664
|
this.generateOptionsArray();
|
|
81907
81665
|
this.availableOptions = [];
|
|
81666
|
+
// Single source of truth for the menu's filter/highlight token per call.
|
|
81667
|
+
// syncValuesAndStates re-writes the same value on exact-match keystrokes —
|
|
81668
|
+
// Lit's hasChanged makes that a no-op — and the prior duplicate set inside
|
|
81669
|
+
// handleTriggerInputValueChange is gone.
|
|
81670
|
+
if (this.menu) {
|
|
81671
|
+
this.menu.matchWord = normalizeFilterValue(this.input.value);
|
|
81672
|
+
}
|
|
81908
81673
|
this.updateFilter();
|
|
81909
81674
|
|
|
81910
81675
|
// Set aria-setsize/aria-posinset on each visible option so screen readers
|
|
@@ -81916,17 +81681,14 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
81916
81681
|
option.setAttribute('aria-posinset', index + 1);
|
|
81917
81682
|
});
|
|
81918
81683
|
|
|
81919
|
-
if (this.value && this.
|
|
81920
|
-
|
|
81921
|
-
this.setMenuValue(this.value);
|
|
81922
|
-
}
|
|
81923
|
-
|
|
81684
|
+
if (this.input.value && this.menu.options && this.menu.options.some((opt) => opt.value === this.input.value)) {
|
|
81685
|
+
this.setMenuValue(this.input.value);
|
|
81924
81686
|
this.syncValuesAndStates();
|
|
81925
81687
|
}
|
|
81926
81688
|
|
|
81927
|
-
// Re-activate when optionActive is
|
|
81928
|
-
// been reset (e.g. by clearSelection in an async update)
|
|
81929
|
-
// makeSelection() can find the correct option.
|
|
81689
|
+
// Re-activate when optionActive is not in the current scrollable viewport,
|
|
81690
|
+
// or when _index has been reset (e.g. by clearSelection in an async update)
|
|
81691
|
+
// so that makeSelection() can find the correct option.
|
|
81930
81692
|
if (!this.availableOptions.includes(this.menu.optionActive) || this.menu._index < 0) {
|
|
81931
81693
|
this.activateFirstEnabledAvailableOption();
|
|
81932
81694
|
}
|
|
@@ -81999,18 +81761,6 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
81999
81761
|
this.dropdownOpen = ev.detail.expanded;
|
|
82000
81762
|
this.updateMenuShapeSize();
|
|
82001
81763
|
|
|
82002
|
-
// Defer aria-expanded "true" so VoiceOver finishes character echo
|
|
82003
|
-
// before announcing "expanded". Set "false" immediately on close.
|
|
82004
|
-
clearTimeout(this._expandedTimeout);
|
|
82005
|
-
if (this.dropdownOpen) {
|
|
82006
|
-
const expandedDelay = 150;
|
|
82007
|
-
this._expandedTimeout = setTimeout(() => {
|
|
82008
|
-
this.triggerExpandedState = true;
|
|
82009
|
-
}, expandedDelay);
|
|
82010
|
-
} else {
|
|
82011
|
-
this.triggerExpandedState = false;
|
|
82012
|
-
}
|
|
82013
|
-
|
|
82014
81764
|
// Clear aria-activedescendant when dropdown closes
|
|
82015
81765
|
if (!this.dropdownOpen && this.input) {
|
|
82016
81766
|
this.input.setActiveDescendant(null);
|
|
@@ -82060,28 +81810,25 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82060
81810
|
|
|
82061
81811
|
guardTouchPassthrough$1(this.menu);
|
|
82062
81812
|
|
|
82063
|
-
//
|
|
82064
|
-
//
|
|
82065
|
-
//
|
|
81813
|
+
// showModal() takes focus away from the trigger. Early focus once
|
|
81814
|
+
// the dialog has painted; the shared doubleRaf below is the fallback
|
|
81815
|
+
// for when the dialog needs an extra frame and also clears the
|
|
81816
|
+
// validation guard.
|
|
82066
81817
|
requestAnimationFrame(() => {
|
|
82067
81818
|
this.setInputFocus();
|
|
82068
81819
|
});
|
|
82069
|
-
|
|
82070
|
-
doubleRaf$1(() => {
|
|
82071
|
-
this.setInputFocus();
|
|
82072
|
-
this._inFullscreenTransition = false;
|
|
82073
|
-
});
|
|
82074
|
-
} else {
|
|
82075
|
-
// Desktop popover-open: restore the trigger caret to end-of-text.
|
|
82076
|
-
// Clicking the trigger lands on auro-input's floating <label for="…">
|
|
82077
|
-
// overlay; Chrome resets the native input's selection to [0, 0] on
|
|
82078
|
-
// label-focus before any JS runs. setInputFocus()'s non-fullscreen
|
|
82079
|
-
// branch parks the caret at end. doubleRaf lets the dropdown layout
|
|
82080
|
-
// settle first, matching the fullscreen branch timing.
|
|
82081
|
-
doubleRaf$1(() => {
|
|
82082
|
-
this.setInputFocus();
|
|
82083
|
-
});
|
|
82084
81820
|
}
|
|
81821
|
+
// else (desktop popover-open): Chrome resets the trigger caret to
|
|
81822
|
+
// [0, 0] when its floating <label for="…"> overlay receives focus.
|
|
81823
|
+
// The shared doubleRaf below parks the caret back at end-of-text
|
|
81824
|
+
// after the dropdown layout settles.
|
|
81825
|
+
|
|
81826
|
+
doubleRaf$1(() => {
|
|
81827
|
+
this.setInputFocus();
|
|
81828
|
+
if (this._inFullscreenTransition) {
|
|
81829
|
+
this._inFullscreenTransition = false;
|
|
81830
|
+
}
|
|
81831
|
+
});
|
|
82085
81832
|
}
|
|
82086
81833
|
});
|
|
82087
81834
|
|
|
@@ -82118,7 +81865,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82118
81865
|
this.dropdown.trigger.inert = false;
|
|
82119
81866
|
}
|
|
82120
81867
|
|
|
82121
|
-
|
|
81868
|
+
this._scheduleTimer(() => {
|
|
82122
81869
|
this.setInputFocus();
|
|
82123
81870
|
}, 0);
|
|
82124
81871
|
});
|
|
@@ -82262,7 +82009,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82262
82009
|
|
|
82263
82010
|
// racing condition on custom-combobox with custom-menu
|
|
82264
82011
|
if (!this.menu) {
|
|
82265
|
-
|
|
82012
|
+
this._scheduleTimer(() => {
|
|
82266
82013
|
this.configureMenu();
|
|
82267
82014
|
}, 0);
|
|
82268
82015
|
return;
|
|
@@ -82292,7 +82039,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82292
82039
|
if (this.menu.optionSelected) {
|
|
82293
82040
|
const selected = this.menu.optionSelected;
|
|
82294
82041
|
|
|
82295
|
-
if (
|
|
82042
|
+
if (this.optionSelected !== selected) {
|
|
82296
82043
|
this.optionSelected = selected;
|
|
82297
82044
|
}
|
|
82298
82045
|
|
|
@@ -82305,7 +82052,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82305
82052
|
}
|
|
82306
82053
|
|
|
82307
82054
|
// Update display
|
|
82308
|
-
this.updateTriggerTextDisplay(getOptionLabel(this.optionSelected)
|
|
82055
|
+
this.updateTriggerTextDisplay(getOptionLabel(this.optionSelected));
|
|
82309
82056
|
|
|
82310
82057
|
// Update match word for filtering
|
|
82311
82058
|
const trimmedInput = normalizeFilterValue(this.input.value);
|
|
@@ -82317,17 +82064,24 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82317
82064
|
// Hide dropdown on selection (except during slot changes)
|
|
82318
82065
|
if (evt.detail && evt.detail.source !== 'slotchange') {
|
|
82319
82066
|
// do not close while typing in suggestion mode with no value selected, to allow freeform input
|
|
82320
|
-
|
|
82321
|
-
|
|
82067
|
+
this.hideBib();
|
|
82068
|
+
|
|
82069
|
+
// Move focus to the clear button when the user makes a selection.
|
|
82070
|
+
if (!isEcho && this.menu.value !== undefined) {
|
|
82071
|
+
this.setClearBtnFocus();
|
|
82322
82072
|
}
|
|
82323
82073
|
|
|
82324
82074
|
// Announce the selection after the dropdown closes so it isn't
|
|
82325
82075
|
// overridden by VoiceOver's "collapsed" announcement from aria-expanded.
|
|
82076
|
+
// Skip when there's no selected value (e.g. menu.clearSelection() from
|
|
82077
|
+
// the unmatched-value path), otherwise VoiceOver reads "undefined".
|
|
82326
82078
|
const selectedValue = this.menu.value;
|
|
82327
|
-
|
|
82328
|
-
|
|
82329
|
-
|
|
82330
|
-
|
|
82079
|
+
if (selectedValue) {
|
|
82080
|
+
const announcementDelay = 300;
|
|
82081
|
+
this._scheduleTimer(() => {
|
|
82082
|
+
announceToScreenReader$1(this._getAnnouncementRoot(), `${selectedValue}, selected`);
|
|
82083
|
+
}, announcementDelay);
|
|
82084
|
+
}
|
|
82331
82085
|
}
|
|
82332
82086
|
|
|
82333
82087
|
// Programmatic value syncs leave availableOptions stale because
|
|
@@ -82336,22 +82090,6 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82336
82090
|
// only — fresh user selections take the existing hideBib path.
|
|
82337
82091
|
if (isEcho && this.menu.optionSelected) {
|
|
82338
82092
|
this._programmaticFilterRefresh = true;
|
|
82339
|
-
this.handleMenuOptions();
|
|
82340
|
-
setTimeout(() => {
|
|
82341
|
-
this._programmaticFilterRefresh = false;
|
|
82342
|
-
}, 0);
|
|
82343
|
-
}
|
|
82344
|
-
|
|
82345
|
-
// base-input skips auto-validate when focus is inside its own shadow,
|
|
82346
|
-
// which it is after setTriggerInputFocus — re-run so prior tooShort
|
|
82347
|
-
// clears. processCreditCard reasserts errorMessage on every render.
|
|
82348
|
-
if (!isEcho && this.menu.optionSelected && this.input.validate) {
|
|
82349
|
-
this.input.updateComplete.then(() => {
|
|
82350
|
-
this.input.validate(true);
|
|
82351
|
-
if (this.input.validity === 'valid') {
|
|
82352
|
-
this.input.errorMessage = '';
|
|
82353
|
-
}
|
|
82354
|
-
});
|
|
82355
82093
|
}
|
|
82356
82094
|
});
|
|
82357
82095
|
|
|
@@ -82364,6 +82102,14 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82364
82102
|
// stale option. Safe from re-entrancy because any resulting
|
|
82365
82103
|
// input.value changes dispatch isProgrammatic events.
|
|
82366
82104
|
this.menu.addEventListener('auroMenu-selectValueFailure', () => {
|
|
82105
|
+
// Announce the rejection BEFORE we clear `this.value` so the live
|
|
82106
|
+
// region carries the attempted value — without this the bib closes
|
|
82107
|
+
// silently and screen-reader users get no signal that their request
|
|
82108
|
+
// (e.g. a direct setMenuValue() call) was dropped.
|
|
82109
|
+
const attemptedValue = this.value;
|
|
82110
|
+
if (attemptedValue) {
|
|
82111
|
+
announceToScreenReader$1(this._getAnnouncementRoot(), `No matching option for ${attemptedValue}`);
|
|
82112
|
+
}
|
|
82367
82113
|
this.value = undefined;
|
|
82368
82114
|
this.optionSelected = undefined;
|
|
82369
82115
|
});
|
|
@@ -82375,10 +82121,13 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82375
82121
|
this.input.setActiveDescendant(this.optionActive);
|
|
82376
82122
|
}
|
|
82377
82123
|
|
|
82378
|
-
//
|
|
82379
|
-
//
|
|
82380
|
-
//
|
|
82381
|
-
|
|
82124
|
+
// In fullscreen mode the menu sits inside a nested <dialog> shadow root,
|
|
82125
|
+
// and aria-activedescendant references across that boundary are lost —
|
|
82126
|
+
// VoiceOver/NVDA don't read the active option natively, so we mirror it
|
|
82127
|
+
// into the polite live region. In popover mode aria-activedescendant on
|
|
82128
|
+
// the trigger input is read natively; double-announcing would flood the
|
|
82129
|
+
// queue on arrow-key repeat.
|
|
82130
|
+
if (this.optionActive && this.dropdown.isBibFullscreen) {
|
|
82382
82131
|
const optionText = this.optionActive.textContent.trim();
|
|
82383
82132
|
const selectedState = this.optionActive.hasAttribute('selected') ? ', selected' : ', not selected';
|
|
82384
82133
|
const optionIndex = this.availableOptions.indexOf(this.optionActive) + 1;
|
|
@@ -82411,7 +82160,12 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82411
82160
|
* Validate every time we remove focus from the combo box.
|
|
82412
82161
|
*/
|
|
82413
82162
|
this.addEventListener('focusout', () => {
|
|
82414
|
-
|
|
82163
|
+
// Skip while the dropdown is open — focus transits out briefly on
|
|
82164
|
+
// mousedown of a menu option (popover top-layer breaks :focus-within),
|
|
82165
|
+
// and validating against the pre-selection value flashes a stale error
|
|
82166
|
+
// between mousedown and mouseup. The next focusout fires after the
|
|
82167
|
+
// dropdown closes and validates against the post-selection value.
|
|
82168
|
+
if (!this.componentHasFocus && !this._inFullscreenTransition && !this.dropdownOpen) {
|
|
82415
82169
|
this.validate();
|
|
82416
82170
|
}
|
|
82417
82171
|
});
|
|
@@ -82474,49 +82228,40 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82474
82228
|
if (this._syncingDisplayValue) {
|
|
82475
82229
|
return;
|
|
82476
82230
|
}
|
|
82477
|
-
this._syncingBibValue = true;
|
|
82478
|
-
this.input.value = this.inputInBib.value;
|
|
82479
|
-
this.input.updateComplete.then(() => {
|
|
82480
|
-
this._syncingBibValue = false;
|
|
82481
|
-
});
|
|
82482
82231
|
|
|
82483
|
-
//
|
|
82484
|
-
|
|
82485
|
-
|
|
82486
|
-
|
|
82487
|
-
|
|
82488
|
-
|
|
82489
|
-
|
|
82490
|
-
|
|
82491
|
-
|
|
82232
|
+
// Filtering runs via re-entrance: writing this.input.value below
|
|
82233
|
+
// dispatches an 'input' event that the trigger's listener routes to
|
|
82234
|
+
// handleTriggerInputValueChange, which refreshes the menu filter.
|
|
82235
|
+
if (this.input.value !== this.inputInBib.value) {
|
|
82236
|
+
this._syncingBibValue = true;
|
|
82237
|
+
this.input.value = this.inputInBib.value;
|
|
82238
|
+
this.input.updateComplete.then(() => {
|
|
82239
|
+
this._syncingBibValue = false;
|
|
82240
|
+
});
|
|
82492
82241
|
}
|
|
82493
82242
|
|
|
82494
|
-
this.handleMenuOptions();
|
|
82495
82243
|
this.dispatchEvent(new CustomEvent('inputValue', { detail: { value: this.inputValue } }));
|
|
82496
|
-
|
|
82244
|
+
} else if (event.target === this.input) {
|
|
82245
|
+
|
|
82246
|
+
// Also sync the native input immediately so keystrokes arriving
|
|
82247
|
+
// before Lit's async update cycle (e.g. rapid Backspaces during a
|
|
82248
|
+
// fullscreen transition) operate on the correct content.
|
|
82249
|
+
// Skip the next programmatic input event to prevent the patched setter
|
|
82250
|
+
// from re-entering handleInputValueChange via the bib path.
|
|
82251
|
+
const bibNativeInput = this.inputInBib.inputElement;
|
|
82252
|
+
if (bibNativeInput && bibNativeInput.value !== this.input.value) {
|
|
82253
|
+
this.inputInBib.skipNextProgrammaticInputEvent = true;
|
|
82254
|
+
bibNativeInput.value = this.input.value || '';
|
|
82255
|
+
}
|
|
82497
82256
|
}
|
|
82498
82257
|
|
|
82258
|
+
this.value = this.input.value;
|
|
82259
|
+
|
|
82499
82260
|
// Ignore re-entrant input events caused by programmatic value sets.
|
|
82500
82261
|
if (this._syncingBibValue || this._syncingDisplayValue) {
|
|
82501
82262
|
return;
|
|
82502
82263
|
}
|
|
82503
82264
|
|
|
82504
|
-
this.inputInBib.value = this.input.value;
|
|
82505
|
-
|
|
82506
|
-
// Also sync the native input immediately so keystrokes arriving
|
|
82507
|
-
// before Lit's async update cycle (e.g. rapid Backspaces during a
|
|
82508
|
-
// fullscreen transition) operate on the correct content.
|
|
82509
|
-
// Skip the next programmatic input event to prevent the patched setter
|
|
82510
|
-
// from re-entering handleInputValueChange via the bib path.
|
|
82511
|
-
const bibNativeInput = this.inputInBib.inputElement;
|
|
82512
|
-
if (bibNativeInput && bibNativeInput.value !== this.input.value) {
|
|
82513
|
-
this.inputInBib.skipNextProgrammaticInputEvent = true;
|
|
82514
|
-
bibNativeInput.value = this.input.value || '';
|
|
82515
|
-
}
|
|
82516
|
-
|
|
82517
|
-
this.menu.matchWord = normalizeFilterValue(this.input.value);
|
|
82518
|
-
this.optionActive = null;
|
|
82519
|
-
|
|
82520
82265
|
if (this.behavior === 'suggestion') {
|
|
82521
82266
|
this.value = this.input.value;
|
|
82522
82267
|
}
|
|
@@ -82524,7 +82269,6 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82524
82269
|
if (!this.input.value && !this._clearing) {
|
|
82525
82270
|
this.clear();
|
|
82526
82271
|
}
|
|
82527
|
-
this.handleMenuOptions();
|
|
82528
82272
|
|
|
82529
82273
|
// Validate only if the value was set programmatically (not during user
|
|
82530
82274
|
// interaction). In fullscreen dialog mode, componentHasFocus returns false
|
|
@@ -82534,34 +82278,44 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82534
82278
|
this.validate();
|
|
82535
82279
|
}
|
|
82536
82280
|
|
|
82537
|
-
|
|
82538
|
-
|
|
82539
|
-
|
|
82540
|
-
|
|
82541
|
-
|
|
82542
|
-
|
|
82543
|
-
|
|
82544
|
-
|
|
82545
|
-
|
|
82281
|
+
this.dispatchEvent(new CustomEvent('inputValue', { detail: { value: this.inputValue } }));
|
|
82282
|
+
}
|
|
82283
|
+
|
|
82284
|
+
/**
|
|
82285
|
+
* Handles input value changes originating from the trigger input.
|
|
82286
|
+
* Refreshes menu options and filtering, delegates to handleInputValueChange
|
|
82287
|
+
* for value synchronization, and manages fullscreen bib focus.
|
|
82288
|
+
* @private
|
|
82289
|
+
* @param {Event} event - The input event from the trigger input element.
|
|
82290
|
+
* @returns {void}
|
|
82291
|
+
*/
|
|
82292
|
+
handleTriggerInputValueChange(event) {
|
|
82293
|
+
// 'input' fires for every user-initiated value change — typing, paste,
|
|
82294
|
+
// IME composition end, dead-key composition, drag-drop. Flip _userTyped
|
|
82295
|
+
// here so updated('availableOptions') auto-opens the bib for sources
|
|
82296
|
+
// that keydown alone misses: paste fires no keydown, IME uses
|
|
82297
|
+
// key='Process', and dead keys produce multi-char keys (all bypass the
|
|
82298
|
+
// prior keydown.key.length===1 gate). Skip programmatic syncs.
|
|
82299
|
+
if (!this._syncingDisplayValue && !this._syncingBibValue && !this._programmaticFilterRefresh) {
|
|
82300
|
+
this._userTyped = true;
|
|
82546
82301
|
}
|
|
82547
82302
|
|
|
82548
|
-
|
|
82549
|
-
|
|
82550
|
-
|
|
82551
|
-
|
|
82552
|
-
|
|
82553
|
-
// dialog opens — the user then has to tap the input again to resume
|
|
82554
|
-
// typing.
|
|
82555
|
-
if (this.dropdown.isBibFullscreen && this.input.value && this.input.value.length > 0) {
|
|
82556
|
-
if (!this.dropdown.isPopoverVisible) {
|
|
82557
|
-
this.showBib();
|
|
82558
|
-
}
|
|
82559
|
-
if (this.dropdown.isPopoverVisible) {
|
|
82560
|
-
this.setInputFocus();
|
|
82561
|
-
}
|
|
82303
|
+
this.handleMenuOptions();
|
|
82304
|
+
this.optionActive = null;
|
|
82305
|
+
|
|
82306
|
+
if (this.value === this.input.value) {
|
|
82307
|
+
return;
|
|
82562
82308
|
}
|
|
82563
82309
|
|
|
82564
|
-
this.
|
|
82310
|
+
this.handleInputValueChange(event);
|
|
82311
|
+
|
|
82312
|
+
if (this.dropdown.isBibFullscreen && this.input.value && this.input.value.length > 0 && this.dropdown.isPopoverVisible) {
|
|
82313
|
+
this.setInputFocus();
|
|
82314
|
+
}
|
|
82315
|
+
|
|
82316
|
+
if (this._programmaticFilterRefresh) {
|
|
82317
|
+
this._programmaticFilterRefresh = false;
|
|
82318
|
+
}
|
|
82565
82319
|
}
|
|
82566
82320
|
|
|
82567
82321
|
/**
|
|
@@ -82629,6 +82383,11 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82629
82383
|
disconnectedCallback() {
|
|
82630
82384
|
super.disconnectedCallback();
|
|
82631
82385
|
this._inFullscreenTransition = false;
|
|
82386
|
+
// Cancel any outstanding timers so detached callbacks don't fire on
|
|
82387
|
+
// disposed DOM — most are no-ops, but configureMenu's racing-condition
|
|
82388
|
+
// retry would otherwise keep rescheduling itself indefinitely.
|
|
82389
|
+
this._pendingTimers.forEach((id) => clearTimeout(id));
|
|
82390
|
+
this._pendingTimers.clear();
|
|
82632
82391
|
}
|
|
82633
82392
|
|
|
82634
82393
|
firstUpdated() {
|
|
@@ -82670,7 +82429,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82670
82429
|
this.menu.value = value;
|
|
82671
82430
|
// Backup clear: if menu.value === menu.optionSelected.value already, the
|
|
82672
82431
|
// listener won't fire and the flag would swallow the next user click.
|
|
82673
|
-
|
|
82432
|
+
this._scheduleTimer(() => {
|
|
82674
82433
|
this._pendingMenuValueSync = false;
|
|
82675
82434
|
}, 0);
|
|
82676
82435
|
}
|
|
@@ -82687,15 +82446,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82687
82446
|
this.menu.value = undefined;
|
|
82688
82447
|
this.validation.reset(this);
|
|
82689
82448
|
this.touched = false;
|
|
82690
|
-
// Force validity back to the cleared state. validation.reset() calls
|
|
82691
|
-
// validate() at the end, and (post-credit-card-fix) the trigger input's
|
|
82692
|
-
// residual validity may still be copied into the combobox by the
|
|
82693
|
-
// auroInputElements loop. Explicitly clear here so reset() actually
|
|
82694
|
-
// leaves the component in a "no validity" state.
|
|
82695
82449
|
this.validity = undefined;
|
|
82696
|
-
this.errorMessage = '';
|
|
82697
|
-
this.input.validity = undefined;
|
|
82698
|
-
this.input.errorMessage = '';
|
|
82699
82450
|
}
|
|
82700
82451
|
|
|
82701
82452
|
/**
|
|
@@ -82713,6 +82464,17 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82713
82464
|
this.optionSelected = undefined;
|
|
82714
82465
|
this.value = undefined;
|
|
82715
82466
|
|
|
82467
|
+
// Clear the appended displayValue clone in the trigger if present.
|
|
82468
|
+
// :not(slot) excludes the template's <slot name="displayValue"
|
|
82469
|
+
// slot="displayValue"> forwarder (line 1816), which also has
|
|
82470
|
+
// slot="displayValue" and would otherwise be matched first and removed,
|
|
82471
|
+
// permanently breaking the consumer-provided displayValue slot.
|
|
82472
|
+
const displayValueInTrigger = this.input.querySelector('[slot="displayValue"]:not(slot)');
|
|
82473
|
+
|
|
82474
|
+
if (displayValueInTrigger) {
|
|
82475
|
+
displayValueInTrigger.remove();
|
|
82476
|
+
}
|
|
82477
|
+
|
|
82716
82478
|
if (this.input.value) {
|
|
82717
82479
|
this.input.clear();
|
|
82718
82480
|
}
|
|
@@ -82736,81 +82498,50 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82736
82498
|
}
|
|
82737
82499
|
|
|
82738
82500
|
updated(changedProperties) {
|
|
82739
|
-
// After the component is ready,
|
|
82501
|
+
// After the component is ready, propagate direct changes down to child components.
|
|
82740
82502
|
if (changedProperties.has('value')) {
|
|
82741
|
-
|
|
82742
|
-
|
|
82743
|
-
|
|
82744
|
-
|
|
82503
|
+
// Only flag programmatic refreshes — user-typed value changes must not
|
|
82504
|
+
// suppress the availableOptions branch's showBib(). Firefox batches
|
|
82505
|
+
// 'value' and 'availableOptions' into the same updated() call, so
|
|
82506
|
+
// setting the flag unconditionally here masks the user-typed open path.
|
|
82507
|
+
if (!this._userTyped) {
|
|
82508
|
+
this._programmaticFilterRefresh = true;
|
|
82745
82509
|
}
|
|
82746
82510
|
|
|
82747
|
-
if (this.
|
|
82748
|
-
|
|
82749
|
-
|
|
82511
|
+
if (this.input.value !== this.value) {
|
|
82512
|
+
// Clear menu.value AND menu.optionSelected together. Clearing only
|
|
82513
|
+
// menu.value leaves the previously-selected option element pinned
|
|
82514
|
+
// as menu.optionSelected; a later auroMenu-selectedOption event
|
|
82515
|
+
// would then write its stale .value back into combobox.value
|
|
82516
|
+
// (e.g. Tab-after-Backspace re-selecting the prior option).
|
|
82517
|
+
if (this.menu.value || this.menu.optionSelected) {
|
|
82518
|
+
this.menu.clearSelection();
|
|
82519
|
+
}
|
|
82750
82520
|
|
|
82751
|
-
|
|
82752
|
-
|
|
82753
|
-
|
|
82754
|
-
|
|
82755
|
-
|
|
82756
|
-
|
|
82757
|
-
|
|
82758
|
-
|
|
82759
|
-
|
|
82760
|
-
|
|
82761
|
-
|
|
82762
|
-
|
|
82763
|
-
|
|
82764
|
-
|
|
82765
|
-
|
|
82766
|
-
|
|
82767
|
-
|
|
82768
|
-
|
|
82769
|
-
// matches to avoid spurious events during the normal typing path.
|
|
82770
|
-
const nextValue = this.value || '';
|
|
82771
|
-
const triggerNeedsSync = this.input.value !== nextValue;
|
|
82772
|
-
const bibNeedsSync = Boolean(this.inputInBib && this.inputInBib !== this.input && this.inputInBib.value !== nextValue);
|
|
82773
|
-
if (triggerNeedsSync || bibNeedsSync) {
|
|
82774
|
-
this._syncingDisplayValue = true;
|
|
82775
|
-
if (triggerNeedsSync) {
|
|
82776
|
-
this.input.value = nextValue;
|
|
82777
|
-
}
|
|
82778
|
-
if (bibNeedsSync) {
|
|
82779
|
-
this.inputInBib.value = nextValue;
|
|
82780
|
-
}
|
|
82781
|
-
const pending = [];
|
|
82782
|
-
if (triggerNeedsSync) {
|
|
82783
|
-
pending.push(this.input.updateComplete);
|
|
82784
|
-
}
|
|
82785
|
-
if (bibNeedsSync) {
|
|
82786
|
-
pending.push(this.inputInBib.updateComplete);
|
|
82787
|
-
}
|
|
82788
|
-
Promise.all(pending).then(() => {
|
|
82789
|
-
if (triggerNeedsSync && this.input.maskInstance && typeof this.input.maskInstance.updateValue === 'function') {
|
|
82790
|
-
this.input.maskInstance.updateValue();
|
|
82791
|
-
}
|
|
82792
|
-
if (bibNeedsSync && this.inputInBib && this.inputInBib.maskInstance && typeof this.inputInBib.maskInstance.updateValue === 'function') {
|
|
82793
|
-
this.inputInBib.maskInstance.updateValue();
|
|
82794
|
-
}
|
|
82795
|
-
this._syncingDisplayValue = false;
|
|
82796
|
-
// handleInputValueChange bailed on the flag — refresh the filter.
|
|
82797
|
-
this._programmaticFilterRefresh = true;
|
|
82798
|
-
this.handleMenuOptions();
|
|
82799
|
-
setTimeout(() => {
|
|
82800
|
-
this._programmaticFilterRefresh = false;
|
|
82801
|
-
}, 0);
|
|
82802
|
-
});
|
|
82803
|
-
}
|
|
82521
|
+
if (!this.persistInput) {
|
|
82522
|
+
this.syncInputValuesAcrossTriggerAndBib(this.value || '');
|
|
82523
|
+
}
|
|
82524
|
+
|
|
82525
|
+
// Programmatic value with no matching option: updateFilter will close
|
|
82526
|
+
// the bib silently (see line 648 — no noMatchOption + 0 results
|
|
82527
|
+
// hides). Announce so screen-reader users hear the request was
|
|
82528
|
+
// dropped. Gated on `input.value !== this.value` so this never fires
|
|
82529
|
+
// for user typing — that path always reconciles input.value to
|
|
82530
|
+
// this.value before updated() runs.
|
|
82531
|
+
if (
|
|
82532
|
+
this.value &&
|
|
82533
|
+
this.menu &&
|
|
82534
|
+
this.menu.options &&
|
|
82535
|
+
this.menu.options.length > 0 &&
|
|
82536
|
+
!this.menu.options.some((opt) => opt.value === this.value)
|
|
82537
|
+
) {
|
|
82538
|
+
announceToScreenReader$1(this._getAnnouncementRoot(), `No matching option for ${this.value}`);
|
|
82804
82539
|
}
|
|
82805
82540
|
}
|
|
82541
|
+
|
|
82806
82542
|
if (!this.value) {
|
|
82807
82543
|
this.clear();
|
|
82808
82544
|
}
|
|
82809
|
-
if (this.value && !this.componentHasFocus) {
|
|
82810
|
-
// If the value got set programmatically make sure we hide the bib
|
|
82811
|
-
// when input is not taking the focus (input can be in dropdown.trigger or in bibtemplate)
|
|
82812
|
-
this.hideBib();
|
|
82813
|
-
}
|
|
82814
82545
|
|
|
82815
82546
|
// Sync the input and match word, but don't directly set menu.value again
|
|
82816
82547
|
if (this.menu) {
|
|
@@ -82823,7 +82554,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82823
82554
|
composed: true,
|
|
82824
82555
|
detail: {
|
|
82825
82556
|
optionSelected: this.menu.optionSelected,
|
|
82826
|
-
value: this.
|
|
82557
|
+
value: this.value
|
|
82827
82558
|
}
|
|
82828
82559
|
}));
|
|
82829
82560
|
|
|
@@ -82846,16 +82577,28 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82846
82577
|
// from a programmatic filter refresh after a value swap — the user
|
|
82847
82578
|
// didn't interact, so we shouldn't auto-open the bib (especially for
|
|
82848
82579
|
// the no-match path where the existing condition unconditionally fires).
|
|
82849
|
-
if (this._programmaticFilterRefresh) {
|
|
82850
|
-
|
|
82851
|
-
|
|
82852
|
-
|
|
82580
|
+
if ((this.menu && !this._programmaticFilterRefresh)) {
|
|
82581
|
+
if (
|
|
82582
|
+
this.availableOptions.length > 0 ||
|
|
82583
|
+
this.menu.loading ||
|
|
82584
|
+
this.noMatchOption
|
|
82585
|
+
) {
|
|
82586
|
+
if (this._userTyped && !this.dropdownOpen) {
|
|
82587
|
+
this.showBib();
|
|
82588
|
+
}
|
|
82589
|
+
this._userTyped = false;
|
|
82590
|
+
}
|
|
82591
|
+
|
|
82853
82592
|
if (!this.availableOptions.includes(this.menu.optionActive)) {
|
|
82854
82593
|
this.activateFirstEnabledAvailableOption();
|
|
82855
82594
|
}
|
|
82856
|
-
} else if (this.dropdown
|
|
82595
|
+
} else if (!this.dropdown.isBibFullscreen) {
|
|
82857
82596
|
this.hideBib();
|
|
82858
82597
|
}
|
|
82598
|
+
|
|
82599
|
+
if (this._programmaticFilterRefresh) {
|
|
82600
|
+
this._programmaticFilterRefresh = false;
|
|
82601
|
+
}
|
|
82859
82602
|
}
|
|
82860
82603
|
|
|
82861
82604
|
if (changedProperties.has('error')) {
|
|
@@ -82997,10 +82740,10 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82997
82740
|
shape="${this.shape}"
|
|
82998
82741
|
size="${this.size}">
|
|
82999
82742
|
<${this.inputTag}
|
|
83000
|
-
@input="${this.
|
|
82743
|
+
@input="${this.handleTriggerInputValueChange}"
|
|
83001
82744
|
appearance="${this.onDark ? 'inverse' : this.appearance}"
|
|
83002
82745
|
.a11yActivedescendant="${this.dropdownOpen && this.optionActive ? this.optionActive.id : undefined}"
|
|
83003
|
-
.a11yExpanded="${this.
|
|
82746
|
+
.a11yExpanded="${this.dropdownOpen}"
|
|
83004
82747
|
.a11yControls="${this.dropdownId}"
|
|
83005
82748
|
.autocomplete="${this.autocomplete}"
|
|
83006
82749
|
.inputmode="${this.inputmode}"
|
|
@@ -85248,15 +84991,17 @@ class AuroFormValidation {
|
|
|
85248
84991
|
);
|
|
85249
84992
|
}
|
|
85250
84993
|
|
|
85251
|
-
|
|
85252
|
-
|
|
85253
|
-
|
|
84994
|
+
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
84995
|
+
|
|
84996
|
+
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false.
|
|
84997
|
+
// Skip for combobox: its second auro-input is the fullscreen-bib mirror of the same value, not an independent
|
|
84998
|
+
// field (datepicker is the intended consumer — start/end are independently required).
|
|
84999
|
+
if (this.auroInputElements?.length === 2 && !isCombobox) {
|
|
85000
|
+
if (!this.auroInputElements[1].value || this.auroInputElements[1].value.length === 0) {
|
|
85254
85001
|
hasValue = false;
|
|
85255
85002
|
}
|
|
85256
85003
|
}
|
|
85257
85004
|
|
|
85258
|
-
const isCombobox = this.runtimeUtils.elementMatch(elem, 'auro-combobox');
|
|
85259
|
-
|
|
85260
85005
|
if (isCombobox) {
|
|
85261
85006
|
|
|
85262
85007
|
if (!elem.persistInput || elem.behavior === "filter") {
|
|
@@ -89637,7 +89382,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
89637
89382
|
}
|
|
89638
89383
|
};
|
|
89639
89384
|
|
|
89640
|
-
var formkitVersion$1 = '
|
|
89385
|
+
var formkitVersion$1 = '202607011652';
|
|
89641
89386
|
|
|
89642
89387
|
class AuroElement extends i$2 {
|
|
89643
89388
|
static get properties() {
|
|
@@ -91659,7 +91404,7 @@ class AuroHelpText extends i$2 {
|
|
|
91659
91404
|
}
|
|
91660
91405
|
}
|
|
91661
91406
|
|
|
91662
|
-
var formkitVersion = '
|
|
91407
|
+
var formkitVersion = '202607011652';
|
|
91663
91408
|
|
|
91664
91409
|
var styleCss = i$4`.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}`;
|
|
91665
91410
|
|