@aurodesignsystem-dev/auro-formkit 0.0.0-pr1510.1 → 0.0.0-pr1510.3
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 +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +3 -3
- package/components/combobox/demo/getting-started.min.js +3 -3
- package/components/combobox/demo/index.min.js +3 -3
- package/components/combobox/dist/index.js +3 -3
- package/components/combobox/dist/registered.js +3 -3
- package/components/counter/demo/customize.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/customize.min.js +59 -27
- package/components/datepicker/demo/index.min.js +59 -27
- package/components/datepicker/dist/index.js +59 -27
- package/components/datepicker/dist/registered.js +59 -27
- 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 +69 -37
- package/components/form/demo/getting-started.min.js +69 -37
- package/components/form/demo/index.min.js +69 -37
- package/components/form/demo/registerDemoDeps.min.js +69 -37
- package/components/input/demo/customize.min.js +1 -1
- package/components/input/demo/getting-started.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/customize.min.js +2 -2
- package/components/select/demo/getting-started.min.js +2 -2
- package/components/select/demo/index.min.js +2 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +550 -550
- package/package.json +1 -1
|
@@ -13562,7 +13562,7 @@ class AuroBibtemplate extends i$1 {
|
|
|
13562
13562
|
}
|
|
13563
13563
|
}
|
|
13564
13564
|
|
|
13565
|
-
var formkitVersion$2 = '
|
|
13565
|
+
var formkitVersion$2 = '202606252324';
|
|
13566
13566
|
|
|
13567
13567
|
let l$1 = 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 = 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$4 = 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$3=i$3`: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}
|
|
13568
13568
|
`,u$6=i$3`.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}}
|
|
@@ -14250,11 +14250,13 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14250
14250
|
* @returns {Set<Number>}
|
|
14251
14251
|
*/
|
|
14252
14252
|
_getBlackoutSet() {
|
|
14253
|
-
//
|
|
14254
|
-
//
|
|
14255
|
-
//
|
|
14256
|
-
//
|
|
14257
|
-
|
|
14253
|
+
// Normalize non-array values to a stable `null` sentinel rather than a
|
|
14254
|
+
// fresh `[]` per call — otherwise the reference-identity cache key
|
|
14255
|
+
// (`_cachedBlackoutDisabledDays === disabledDays`) never matches on
|
|
14256
|
+
// subsequent calls and the Set rebuilds every time. `buildBlackoutSet`
|
|
14257
|
+
// already treats null/non-array as "no legacy disabledDays" via its
|
|
14258
|
+
// own Array.isArray gate.
|
|
14259
|
+
const disabledDays = Array.isArray(this.disabledDays) ? this.disabledDays : null;
|
|
14258
14260
|
const blackoutDates = this.datepicker?.blackoutDates;
|
|
14259
14261
|
if (this._blackoutSet &&
|
|
14260
14262
|
this._cachedBlackoutDisabledDays === disabledDays &&
|
|
@@ -14262,7 +14264,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14262
14264
|
return this._blackoutSet;
|
|
14263
14265
|
}
|
|
14264
14266
|
|
|
14265
|
-
if (disabledDays.length > 0) {
|
|
14267
|
+
if (disabledDays && disabledDays.length > 0) {
|
|
14266
14268
|
this._warnDisabledDaysDeprecated();
|
|
14267
14269
|
}
|
|
14268
14270
|
|
|
@@ -14716,10 +14718,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14716
14718
|
if (target) {
|
|
14717
14719
|
this.setActiveCell(target.day.date);
|
|
14718
14720
|
this.focusActiveCell();
|
|
14719
|
-
} else
|
|
14720
|
-
//
|
|
14721
|
-
|
|
14722
|
-
|
|
14721
|
+
} else {
|
|
14722
|
+
// Same nearest-by-date fallback handleGridKeyDown uses — direct
|
|
14723
|
+
// `cells[length - 1]` would land on the end of the new month,
|
|
14724
|
+
// far from the user's intended `nextTs`.
|
|
14725
|
+
const fallback = this.pickNearestCell(cells, nextTs, 'next');
|
|
14726
|
+
if (fallback) {
|
|
14727
|
+
this.setActiveCell(fallback.day.date);
|
|
14728
|
+
this.focusActiveCell();
|
|
14729
|
+
}
|
|
14723
14730
|
}
|
|
14724
14731
|
});
|
|
14725
14732
|
} else if (direction === 'prev' && this.showPrevMonthBtn) {
|
|
@@ -14740,10 +14747,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14740
14747
|
if (target) {
|
|
14741
14748
|
this.setActiveCell(target.day.date);
|
|
14742
14749
|
this.focusActiveCell();
|
|
14743
|
-
} else
|
|
14744
|
-
//
|
|
14745
|
-
|
|
14746
|
-
|
|
14750
|
+
} else {
|
|
14751
|
+
// Same nearest-by-date fallback handleGridKeyDown uses — direct
|
|
14752
|
+
// `cells[0]` would land on the start of the previous month, far
|
|
14753
|
+
// from the user's intended `prevTs`.
|
|
14754
|
+
const fallback = this.pickNearestCell(cells, prevTs, 'prev');
|
|
14755
|
+
if (fallback) {
|
|
14756
|
+
this.setActiveCell(fallback.day.date);
|
|
14757
|
+
this.focusActiveCell();
|
|
14758
|
+
}
|
|
14747
14759
|
}
|
|
14748
14760
|
});
|
|
14749
14761
|
}
|
|
@@ -14778,11 +14790,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14778
14790
|
if (target) {
|
|
14779
14791
|
this.setActiveCell(target.day.date);
|
|
14780
14792
|
this.focusActiveCell();
|
|
14781
|
-
} else
|
|
14782
|
-
//
|
|
14783
|
-
|
|
14784
|
-
|
|
14785
|
-
this.
|
|
14793
|
+
} else {
|
|
14794
|
+
// Same nearest-by-date fallback handleGridKeyDown uses — the
|
|
14795
|
+
// old direction-based `cells[0]`/`cells[length-1]` clamp
|
|
14796
|
+
// could land 25+ days from the intended target.
|
|
14797
|
+
const nearest = this.pickNearestCell(cells, targetDate, navDirection);
|
|
14798
|
+
if (nearest) {
|
|
14799
|
+
this.setActiveCell(nearest.day.date);
|
|
14800
|
+
this.focusActiveCell();
|
|
14801
|
+
}
|
|
14786
14802
|
}
|
|
14787
14803
|
});
|
|
14788
14804
|
}
|
|
@@ -19215,7 +19231,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
19215
19231
|
}
|
|
19216
19232
|
};
|
|
19217
19233
|
|
|
19218
|
-
var formkitVersion$1 = '
|
|
19234
|
+
var formkitVersion$1 = '202606252324';
|
|
19219
19235
|
|
|
19220
19236
|
let AuroElement$2 = class AuroElement extends i$1 {
|
|
19221
19237
|
static get properties() {
|
|
@@ -32815,7 +32831,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
32815
32831
|
}
|
|
32816
32832
|
};
|
|
32817
32833
|
|
|
32818
|
-
var formkitVersion = '
|
|
32834
|
+
var formkitVersion = '202606252324';
|
|
32819
32835
|
|
|
32820
32836
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
32821
32837
|
// See LICENSE in the project root for license information.
|
|
@@ -35521,12 +35537,23 @@ class AuroDatePicker extends AuroElement {
|
|
|
35521
35537
|
const { signal } = this._listenerAbortController;
|
|
35522
35538
|
|
|
35523
35539
|
this.calendar.addEventListener('auroCalendar-dateSelected', () => {
|
|
35524
|
-
|
|
35525
|
-
|
|
35540
|
+
// Compare the input's ISO value against the *converted* calendar
|
|
35541
|
+
// timestamp (the vendor's `dateFrom`/`dateTo` are Unix-seconds
|
|
35542
|
+
// strings — comparing the input ISO directly against them would
|
|
35543
|
+
// never match, so the write would fire on every event and emit
|
|
35544
|
+
// redundant input/change activity).
|
|
35545
|
+
if (this.calendar.dateFrom !== undefined) {
|
|
35546
|
+
const fromIso = this.convertWcTimeToDate(this.calendar.dateFrom);
|
|
35547
|
+
if (this.inputList[0].value !== fromIso) {
|
|
35548
|
+
this.inputList[0].value = fromIso;
|
|
35549
|
+
}
|
|
35526
35550
|
}
|
|
35527
35551
|
|
|
35528
|
-
if (this.inputList[1] && this.calendar.dateTo
|
|
35529
|
-
|
|
35552
|
+
if (this.inputList[1] && this.calendar.dateTo) {
|
|
35553
|
+
const toIso = this.convertWcTimeToDate(this.calendar.dateTo);
|
|
35554
|
+
if (this.inputList[1].value !== toIso) {
|
|
35555
|
+
this.inputList[1].value = toIso;
|
|
35556
|
+
}
|
|
35530
35557
|
}
|
|
35531
35558
|
}, { signal });
|
|
35532
35559
|
|
|
@@ -35791,7 +35818,12 @@ class AuroDatePicker extends AuroElement {
|
|
|
35791
35818
|
* @returns {void}
|
|
35792
35819
|
*/
|
|
35793
35820
|
_warnInvalidLocale(badLocale) {
|
|
35794
|
-
|
|
35821
|
+
// Stringify without coalescing — `String(undefined)` / `String(null)`
|
|
35822
|
+
// surface the actual offending value in the log, instead of the
|
|
35823
|
+
// ambiguous `Locale ""` that `String(badLocale ?? '')` would produce.
|
|
35824
|
+
// Dedup still works correctly because each unique stringification
|
|
35825
|
+
// becomes its own Set entry.
|
|
35826
|
+
const key = String(badLocale);
|
|
35795
35827
|
const seen = AuroDatePicker._warnedInvalidLocales;
|
|
35796
35828
|
if (seen.has(key)) {
|
|
35797
35829
|
return;
|
|
@@ -13514,7 +13514,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13514
13514
|
}
|
|
13515
13515
|
}
|
|
13516
13516
|
|
|
13517
|
-
var formkitVersion$2 = '
|
|
13517
|
+
var formkitVersion$2 = '202606252324';
|
|
13518
13518
|
|
|
13519
13519
|
let l$1 = 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=literal`${unsafeStatic(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = 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 = 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=css`: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}
|
|
13520
13520
|
`,u$4=css`.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}}
|
|
@@ -14202,11 +14202,13 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14202
14202
|
* @returns {Set<Number>}
|
|
14203
14203
|
*/
|
|
14204
14204
|
_getBlackoutSet() {
|
|
14205
|
-
//
|
|
14206
|
-
//
|
|
14207
|
-
//
|
|
14208
|
-
//
|
|
14209
|
-
|
|
14205
|
+
// Normalize non-array values to a stable `null` sentinel rather than a
|
|
14206
|
+
// fresh `[]` per call — otherwise the reference-identity cache key
|
|
14207
|
+
// (`_cachedBlackoutDisabledDays === disabledDays`) never matches on
|
|
14208
|
+
// subsequent calls and the Set rebuilds every time. `buildBlackoutSet`
|
|
14209
|
+
// already treats null/non-array as "no legacy disabledDays" via its
|
|
14210
|
+
// own Array.isArray gate.
|
|
14211
|
+
const disabledDays = Array.isArray(this.disabledDays) ? this.disabledDays : null;
|
|
14210
14212
|
const blackoutDates = this.datepicker?.blackoutDates;
|
|
14211
14213
|
if (this._blackoutSet &&
|
|
14212
14214
|
this._cachedBlackoutDisabledDays === disabledDays &&
|
|
@@ -14214,7 +14216,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14214
14216
|
return this._blackoutSet;
|
|
14215
14217
|
}
|
|
14216
14218
|
|
|
14217
|
-
if (disabledDays.length > 0) {
|
|
14219
|
+
if (disabledDays && disabledDays.length > 0) {
|
|
14218
14220
|
this._warnDisabledDaysDeprecated();
|
|
14219
14221
|
}
|
|
14220
14222
|
|
|
@@ -14668,10 +14670,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14668
14670
|
if (target) {
|
|
14669
14671
|
this.setActiveCell(target.day.date);
|
|
14670
14672
|
this.focusActiveCell();
|
|
14671
|
-
} else
|
|
14672
|
-
//
|
|
14673
|
-
|
|
14674
|
-
|
|
14673
|
+
} else {
|
|
14674
|
+
// Same nearest-by-date fallback handleGridKeyDown uses — direct
|
|
14675
|
+
// `cells[length - 1]` would land on the end of the new month,
|
|
14676
|
+
// far from the user's intended `nextTs`.
|
|
14677
|
+
const fallback = this.pickNearestCell(cells, nextTs, 'next');
|
|
14678
|
+
if (fallback) {
|
|
14679
|
+
this.setActiveCell(fallback.day.date);
|
|
14680
|
+
this.focusActiveCell();
|
|
14681
|
+
}
|
|
14675
14682
|
}
|
|
14676
14683
|
});
|
|
14677
14684
|
} else if (direction === 'prev' && this.showPrevMonthBtn) {
|
|
@@ -14692,10 +14699,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14692
14699
|
if (target) {
|
|
14693
14700
|
this.setActiveCell(target.day.date);
|
|
14694
14701
|
this.focusActiveCell();
|
|
14695
|
-
} else
|
|
14696
|
-
//
|
|
14697
|
-
|
|
14698
|
-
|
|
14702
|
+
} else {
|
|
14703
|
+
// Same nearest-by-date fallback handleGridKeyDown uses — direct
|
|
14704
|
+
// `cells[0]` would land on the start of the previous month, far
|
|
14705
|
+
// from the user's intended `prevTs`.
|
|
14706
|
+
const fallback = this.pickNearestCell(cells, prevTs, 'prev');
|
|
14707
|
+
if (fallback) {
|
|
14708
|
+
this.setActiveCell(fallback.day.date);
|
|
14709
|
+
this.focusActiveCell();
|
|
14710
|
+
}
|
|
14699
14711
|
}
|
|
14700
14712
|
});
|
|
14701
14713
|
}
|
|
@@ -14730,11 +14742,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14730
14742
|
if (target) {
|
|
14731
14743
|
this.setActiveCell(target.day.date);
|
|
14732
14744
|
this.focusActiveCell();
|
|
14733
|
-
} else
|
|
14734
|
-
//
|
|
14735
|
-
|
|
14736
|
-
|
|
14737
|
-
this.
|
|
14745
|
+
} else {
|
|
14746
|
+
// Same nearest-by-date fallback handleGridKeyDown uses — the
|
|
14747
|
+
// old direction-based `cells[0]`/`cells[length-1]` clamp
|
|
14748
|
+
// could land 25+ days from the intended target.
|
|
14749
|
+
const nearest = this.pickNearestCell(cells, targetDate, navDirection);
|
|
14750
|
+
if (nearest) {
|
|
14751
|
+
this.setActiveCell(nearest.day.date);
|
|
14752
|
+
this.focusActiveCell();
|
|
14753
|
+
}
|
|
14738
14754
|
}
|
|
14739
14755
|
});
|
|
14740
14756
|
}
|
|
@@ -19143,7 +19159,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
19143
19159
|
}
|
|
19144
19160
|
};
|
|
19145
19161
|
|
|
19146
|
-
var formkitVersion$1 = '
|
|
19162
|
+
var formkitVersion$1 = '202606252324';
|
|
19147
19163
|
|
|
19148
19164
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
19149
19165
|
static get properties() {
|
|
@@ -32736,7 +32752,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
32736
32752
|
}
|
|
32737
32753
|
};
|
|
32738
32754
|
|
|
32739
|
-
var formkitVersion = '
|
|
32755
|
+
var formkitVersion = '202606252324';
|
|
32740
32756
|
|
|
32741
32757
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
32742
32758
|
// See LICENSE in the project root for license information.
|
|
@@ -35442,12 +35458,23 @@ class AuroDatePicker extends AuroElement {
|
|
|
35442
35458
|
const { signal } = this._listenerAbortController;
|
|
35443
35459
|
|
|
35444
35460
|
this.calendar.addEventListener('auroCalendar-dateSelected', () => {
|
|
35445
|
-
|
|
35446
|
-
|
|
35461
|
+
// Compare the input's ISO value against the *converted* calendar
|
|
35462
|
+
// timestamp (the vendor's `dateFrom`/`dateTo` are Unix-seconds
|
|
35463
|
+
// strings — comparing the input ISO directly against them would
|
|
35464
|
+
// never match, so the write would fire on every event and emit
|
|
35465
|
+
// redundant input/change activity).
|
|
35466
|
+
if (this.calendar.dateFrom !== undefined) {
|
|
35467
|
+
const fromIso = this.convertWcTimeToDate(this.calendar.dateFrom);
|
|
35468
|
+
if (this.inputList[0].value !== fromIso) {
|
|
35469
|
+
this.inputList[0].value = fromIso;
|
|
35470
|
+
}
|
|
35447
35471
|
}
|
|
35448
35472
|
|
|
35449
|
-
if (this.inputList[1] && this.calendar.dateTo
|
|
35450
|
-
|
|
35473
|
+
if (this.inputList[1] && this.calendar.dateTo) {
|
|
35474
|
+
const toIso = this.convertWcTimeToDate(this.calendar.dateTo);
|
|
35475
|
+
if (this.inputList[1].value !== toIso) {
|
|
35476
|
+
this.inputList[1].value = toIso;
|
|
35477
|
+
}
|
|
35451
35478
|
}
|
|
35452
35479
|
}, { signal });
|
|
35453
35480
|
|
|
@@ -35712,7 +35739,12 @@ class AuroDatePicker extends AuroElement {
|
|
|
35712
35739
|
* @returns {void}
|
|
35713
35740
|
*/
|
|
35714
35741
|
_warnInvalidLocale(badLocale) {
|
|
35715
|
-
|
|
35742
|
+
// Stringify without coalescing — `String(undefined)` / `String(null)`
|
|
35743
|
+
// surface the actual offending value in the log, instead of the
|
|
35744
|
+
// ambiguous `Locale ""` that `String(badLocale ?? '')` would produce.
|
|
35745
|
+
// Dedup still works correctly because each unique stringification
|
|
35746
|
+
// becomes its own Set entry.
|
|
35747
|
+
const key = String(badLocale);
|
|
35716
35748
|
const seen = AuroDatePicker._warnedInvalidLocales;
|
|
35717
35749
|
if (seen.has(key)) {
|
|
35718
35750
|
return;
|
|
@@ -13514,7 +13514,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13514
13514
|
}
|
|
13515
13515
|
}
|
|
13516
13516
|
|
|
13517
|
-
var formkitVersion$2 = '
|
|
13517
|
+
var formkitVersion$2 = '202606252324';
|
|
13518
13518
|
|
|
13519
13519
|
let l$1 = 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=literal`${unsafeStatic(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = 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 = 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=css`: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}
|
|
13520
13520
|
`,u$4=css`.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}}
|
|
@@ -14202,11 +14202,13 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14202
14202
|
* @returns {Set<Number>}
|
|
14203
14203
|
*/
|
|
14204
14204
|
_getBlackoutSet() {
|
|
14205
|
-
//
|
|
14206
|
-
//
|
|
14207
|
-
//
|
|
14208
|
-
//
|
|
14209
|
-
|
|
14205
|
+
// Normalize non-array values to a stable `null` sentinel rather than a
|
|
14206
|
+
// fresh `[]` per call — otherwise the reference-identity cache key
|
|
14207
|
+
// (`_cachedBlackoutDisabledDays === disabledDays`) never matches on
|
|
14208
|
+
// subsequent calls and the Set rebuilds every time. `buildBlackoutSet`
|
|
14209
|
+
// already treats null/non-array as "no legacy disabledDays" via its
|
|
14210
|
+
// own Array.isArray gate.
|
|
14211
|
+
const disabledDays = Array.isArray(this.disabledDays) ? this.disabledDays : null;
|
|
14210
14212
|
const blackoutDates = this.datepicker?.blackoutDates;
|
|
14211
14213
|
if (this._blackoutSet &&
|
|
14212
14214
|
this._cachedBlackoutDisabledDays === disabledDays &&
|
|
@@ -14214,7 +14216,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14214
14216
|
return this._blackoutSet;
|
|
14215
14217
|
}
|
|
14216
14218
|
|
|
14217
|
-
if (disabledDays.length > 0) {
|
|
14219
|
+
if (disabledDays && disabledDays.length > 0) {
|
|
14218
14220
|
this._warnDisabledDaysDeprecated();
|
|
14219
14221
|
}
|
|
14220
14222
|
|
|
@@ -14668,10 +14670,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14668
14670
|
if (target) {
|
|
14669
14671
|
this.setActiveCell(target.day.date);
|
|
14670
14672
|
this.focusActiveCell();
|
|
14671
|
-
} else
|
|
14672
|
-
//
|
|
14673
|
-
|
|
14674
|
-
|
|
14673
|
+
} else {
|
|
14674
|
+
// Same nearest-by-date fallback handleGridKeyDown uses — direct
|
|
14675
|
+
// `cells[length - 1]` would land on the end of the new month,
|
|
14676
|
+
// far from the user's intended `nextTs`.
|
|
14677
|
+
const fallback = this.pickNearestCell(cells, nextTs, 'next');
|
|
14678
|
+
if (fallback) {
|
|
14679
|
+
this.setActiveCell(fallback.day.date);
|
|
14680
|
+
this.focusActiveCell();
|
|
14681
|
+
}
|
|
14675
14682
|
}
|
|
14676
14683
|
});
|
|
14677
14684
|
} else if (direction === 'prev' && this.showPrevMonthBtn) {
|
|
@@ -14692,10 +14699,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14692
14699
|
if (target) {
|
|
14693
14700
|
this.setActiveCell(target.day.date);
|
|
14694
14701
|
this.focusActiveCell();
|
|
14695
|
-
} else
|
|
14696
|
-
//
|
|
14697
|
-
|
|
14698
|
-
|
|
14702
|
+
} else {
|
|
14703
|
+
// Same nearest-by-date fallback handleGridKeyDown uses — direct
|
|
14704
|
+
// `cells[0]` would land on the start of the previous month, far
|
|
14705
|
+
// from the user's intended `prevTs`.
|
|
14706
|
+
const fallback = this.pickNearestCell(cells, prevTs, 'prev');
|
|
14707
|
+
if (fallback) {
|
|
14708
|
+
this.setActiveCell(fallback.day.date);
|
|
14709
|
+
this.focusActiveCell();
|
|
14710
|
+
}
|
|
14699
14711
|
}
|
|
14700
14712
|
});
|
|
14701
14713
|
}
|
|
@@ -14730,11 +14742,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14730
14742
|
if (target) {
|
|
14731
14743
|
this.setActiveCell(target.day.date);
|
|
14732
14744
|
this.focusActiveCell();
|
|
14733
|
-
} else
|
|
14734
|
-
//
|
|
14735
|
-
|
|
14736
|
-
|
|
14737
|
-
this.
|
|
14745
|
+
} else {
|
|
14746
|
+
// Same nearest-by-date fallback handleGridKeyDown uses — the
|
|
14747
|
+
// old direction-based `cells[0]`/`cells[length-1]` clamp
|
|
14748
|
+
// could land 25+ days from the intended target.
|
|
14749
|
+
const nearest = this.pickNearestCell(cells, targetDate, navDirection);
|
|
14750
|
+
if (nearest) {
|
|
14751
|
+
this.setActiveCell(nearest.day.date);
|
|
14752
|
+
this.focusActiveCell();
|
|
14753
|
+
}
|
|
14738
14754
|
}
|
|
14739
14755
|
});
|
|
14740
14756
|
}
|
|
@@ -19143,7 +19159,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
19143
19159
|
}
|
|
19144
19160
|
};
|
|
19145
19161
|
|
|
19146
|
-
var formkitVersion$1 = '
|
|
19162
|
+
var formkitVersion$1 = '202606252324';
|
|
19147
19163
|
|
|
19148
19164
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
19149
19165
|
static get properties() {
|
|
@@ -32736,7 +32752,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
32736
32752
|
}
|
|
32737
32753
|
};
|
|
32738
32754
|
|
|
32739
|
-
var formkitVersion = '
|
|
32755
|
+
var formkitVersion = '202606252324';
|
|
32740
32756
|
|
|
32741
32757
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
32742
32758
|
// See LICENSE in the project root for license information.
|
|
@@ -35442,12 +35458,23 @@ class AuroDatePicker extends AuroElement {
|
|
|
35442
35458
|
const { signal } = this._listenerAbortController;
|
|
35443
35459
|
|
|
35444
35460
|
this.calendar.addEventListener('auroCalendar-dateSelected', () => {
|
|
35445
|
-
|
|
35446
|
-
|
|
35461
|
+
// Compare the input's ISO value against the *converted* calendar
|
|
35462
|
+
// timestamp (the vendor's `dateFrom`/`dateTo` are Unix-seconds
|
|
35463
|
+
// strings — comparing the input ISO directly against them would
|
|
35464
|
+
// never match, so the write would fire on every event and emit
|
|
35465
|
+
// redundant input/change activity).
|
|
35466
|
+
if (this.calendar.dateFrom !== undefined) {
|
|
35467
|
+
const fromIso = this.convertWcTimeToDate(this.calendar.dateFrom);
|
|
35468
|
+
if (this.inputList[0].value !== fromIso) {
|
|
35469
|
+
this.inputList[0].value = fromIso;
|
|
35470
|
+
}
|
|
35447
35471
|
}
|
|
35448
35472
|
|
|
35449
|
-
if (this.inputList[1] && this.calendar.dateTo
|
|
35450
|
-
|
|
35473
|
+
if (this.inputList[1] && this.calendar.dateTo) {
|
|
35474
|
+
const toIso = this.convertWcTimeToDate(this.calendar.dateTo);
|
|
35475
|
+
if (this.inputList[1].value !== toIso) {
|
|
35476
|
+
this.inputList[1].value = toIso;
|
|
35477
|
+
}
|
|
35451
35478
|
}
|
|
35452
35479
|
}, { signal });
|
|
35453
35480
|
|
|
@@ -35712,7 +35739,12 @@ class AuroDatePicker extends AuroElement {
|
|
|
35712
35739
|
* @returns {void}
|
|
35713
35740
|
*/
|
|
35714
35741
|
_warnInvalidLocale(badLocale) {
|
|
35715
|
-
|
|
35742
|
+
// Stringify without coalescing — `String(undefined)` / `String(null)`
|
|
35743
|
+
// surface the actual offending value in the log, instead of the
|
|
35744
|
+
// ambiguous `Locale ""` that `String(badLocale ?? '')` would produce.
|
|
35745
|
+
// Dedup still works correctly because each unique stringification
|
|
35746
|
+
// becomes its own Set entry.
|
|
35747
|
+
const key = String(badLocale);
|
|
35716
35748
|
const seen = AuroDatePicker._warnedInvalidLocales;
|
|
35717
35749
|
if (seen.has(key)) {
|
|
35718
35750
|
return;
|