@aurodesignsystem-dev/auro-formkit 0.0.0-pr1429.0 → 0.0.0-pr1430.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/api.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/api.html +0 -1
- package/components/combobox/demo/api.js +1 -3
- package/components/combobox/demo/api.md +0 -75
- package/components/combobox/demo/api.min.js +120 -30
- package/components/combobox/demo/index.min.js +119 -17
- package/components/combobox/dist/comboboxKeyboardStrategy.d.ts +1 -1
- package/components/combobox/dist/index.js +119 -17
- package/components/combobox/dist/registered.js +119 -17
- package/components/counter/demo/api.html +0 -3
- package/components/counter/demo/api.js +0 -4
- package/components/counter/demo/api.md +0 -130
- package/components/counter/demo/api.min.js +129 -58
- package/components/counter/demo/index.min.js +129 -38
- package/components/counter/dist/index.js +129 -38
- package/components/counter/dist/registered.js +129 -38
- package/components/datepicker/demo/api.html +0 -1
- package/components/datepicker/demo/api.js +0 -2
- package/components/datepicker/demo/api.md +0 -55
- package/components/datepicker/demo/api.min.js +121 -102
- package/components/datepicker/demo/index.min.js +121 -90
- package/components/datepicker/dist/datepickerKeyboardStrategy.d.ts +1 -3
- package/components/datepicker/dist/index.js +121 -90
- package/components/datepicker/dist/registered.js +121 -90
- package/components/dropdown/demo/api.html +0 -1
- package/components/dropdown/demo/api.js +0 -2
- package/components/dropdown/demo/api.md +0 -95
- package/components/dropdown/demo/api.min.js +115 -24
- package/components/dropdown/demo/index.min.js +115 -4
- package/components/dropdown/dist/index.js +115 -4
- package/components/dropdown/dist/registered.js +115 -4
- package/components/form/demo/api.min.js +533 -201
- package/components/form/demo/index.min.js +533 -201
- package/components/input/demo/api.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/api.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/api.html +0 -1
- package/components/select/demo/api.js +0 -2
- package/components/select/demo/api.md +0 -79
- package/components/select/demo/api.min.js +127 -35
- package/components/select/demo/index.min.js +127 -19
- package/components/select/dist/index.js +123 -15
- package/components/select/dist/registered.js +123 -15
- package/custom-elements.json +3 -27
- package/package.json +2 -3
- package/components/counter/dist/counterGroupKeyboardStrategy.d.ts +0 -3
|
@@ -33,7 +33,7 @@ var styleCss$b = i$7``;
|
|
|
33
33
|
|
|
34
34
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
35
35
|
|
|
36
|
-
let AuroLibraryRuntimeUtils$
|
|
36
|
+
let AuroLibraryRuntimeUtils$c = class AuroLibraryRuntimeUtils {
|
|
37
37
|
|
|
38
38
|
/* eslint-disable jsdoc/require-param */
|
|
39
39
|
|
|
@@ -563,7 +563,7 @@ class AuroForm extends i$4 {
|
|
|
563
563
|
* AuroForm.register("custom-form") // registers as <custom-form>
|
|
564
564
|
*/
|
|
565
565
|
static register(name = "auro-form") {
|
|
566
|
-
AuroLibraryRuntimeUtils$
|
|
566
|
+
AuroLibraryRuntimeUtils$c.prototype.registerComponent(name, AuroForm);
|
|
567
567
|
}
|
|
568
568
|
|
|
569
569
|
/**
|
|
@@ -7255,7 +7255,7 @@ var tokensCss$a = i$7`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
7255
7255
|
|
|
7256
7256
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
7257
7257
|
|
|
7258
|
-
let AuroLibraryRuntimeUtils$
|
|
7258
|
+
let AuroLibraryRuntimeUtils$b = class AuroLibraryRuntimeUtils {
|
|
7259
7259
|
|
|
7260
7260
|
/* eslint-disable jsdoc/require-param */
|
|
7261
7261
|
|
|
@@ -7348,7 +7348,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$4 {
|
|
|
7348
7348
|
this.onDark = false;
|
|
7349
7349
|
this.hasTextContent = false;
|
|
7350
7350
|
|
|
7351
|
-
AuroLibraryRuntimeUtils$
|
|
7351
|
+
AuroLibraryRuntimeUtils$b.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
7352
7352
|
}
|
|
7353
7353
|
|
|
7354
7354
|
static get styles() {
|
|
@@ -7414,7 +7414,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$4 {
|
|
|
7414
7414
|
*
|
|
7415
7415
|
*/
|
|
7416
7416
|
static register(name = "auro-helptext") {
|
|
7417
|
-
AuroLibraryRuntimeUtils$
|
|
7417
|
+
AuroLibraryRuntimeUtils$b.prototype.registerComponent(name, AuroHelpText);
|
|
7418
7418
|
}
|
|
7419
7419
|
|
|
7420
7420
|
updated() {
|
|
@@ -7470,7 +7470,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$4 {
|
|
|
7470
7470
|
}
|
|
7471
7471
|
};
|
|
7472
7472
|
|
|
7473
|
-
var formkitVersion$8 = '
|
|
7473
|
+
var formkitVersion$8 = '202604082129';
|
|
7474
7474
|
|
|
7475
7475
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7476
7476
|
// See LICENSE in the project root for license information.
|
|
@@ -8574,7 +8574,7 @@ const {
|
|
|
8574
8574
|
|
|
8575
8575
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
8576
8576
|
|
|
8577
|
-
let AuroLibraryRuntimeUtils$5$
|
|
8577
|
+
let AuroLibraryRuntimeUtils$5$2 = class AuroLibraryRuntimeUtils {
|
|
8578
8578
|
|
|
8579
8579
|
/* eslint-disable jsdoc/require-param */
|
|
8580
8580
|
|
|
@@ -8657,7 +8657,7 @@ let AuroLibraryRuntimeUtils$5$1 = class AuroLibraryRuntimeUtils {
|
|
|
8657
8657
|
let AuroFormValidation$1$1 = class AuroFormValidation {
|
|
8658
8658
|
|
|
8659
8659
|
constructor() {
|
|
8660
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$5$
|
|
8660
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$5$2();
|
|
8661
8661
|
}
|
|
8662
8662
|
|
|
8663
8663
|
/**
|
|
@@ -15516,7 +15516,7 @@ __decorate([n$5({ type: Array })], RangeDatepickerCell.prototype, "disabledDays"
|
|
|
15516
15516
|
__decorate([n$5({ type: String })], RangeDatepickerCell.prototype, "hoveredDate", void 0);
|
|
15517
15517
|
__decorate([n$5({ type: Boolean })], RangeDatepickerCell.prototype, "isCurrentDate", void 0);
|
|
15518
15518
|
__decorate([n$5({ type: Object })], RangeDatepickerCell.prototype, "locale", null);
|
|
15519
|
-
AuroLibraryRuntimeUtils$5$
|
|
15519
|
+
AuroLibraryRuntimeUtils$5$2.prototype.registerComponent('wc-range-datepicker-cell', RangeDatepickerCell);
|
|
15520
15520
|
|
|
15521
15521
|
class Day {
|
|
15522
15522
|
constructor(date) {
|
|
@@ -16034,7 +16034,7 @@ __decorate([n$5({ type: Array })], RangeDatepickerCalendar.prototype, "yearsList
|
|
|
16034
16034
|
__decorate([n$5({ type: Array })], RangeDatepickerCalendar.prototype, "monthsList", void 0);
|
|
16035
16035
|
__decorate([n$5({ type: Array })], RangeDatepickerCalendar.prototype, "dayNamesOfTheWeek", void 0);
|
|
16036
16036
|
__decorate([n$5({ type: Array })], RangeDatepickerCalendar.prototype, "daysOfMonth", void 0);
|
|
16037
|
-
AuroLibraryRuntimeUtils$5$
|
|
16037
|
+
AuroLibraryRuntimeUtils$5$2.prototype.registerComponent('wc-range-datepicker-calendar', RangeDatepickerCalendar);
|
|
16038
16038
|
|
|
16039
16039
|
var styleCss$5$2 = i$7`.body-default{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);font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.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);font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{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);font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.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);font-size:var(--wcss-body-xs-font-size, 0.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-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-2xs-font-size, 0.625rem);line-height:var(--wcss-body-2xs-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);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);font-weight:var(--wcss-display-2xl-weight, 300);line-height:var(--wcss-display-2xl-line-height, 1.3);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem))}.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);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);font-weight:var(--wcss-display-xl-weight, 300);line-height:var(--wcss-display-xl-line-height, 1.3);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem))}.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);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);font-weight:var(--wcss-display-lg-weight, 300);line-height:var(--wcss-display-lg-line-height, 1.3);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem))}.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);letter-spacing:var(--wcss-display-md-letter-spacing, 0);font-weight:var(--wcss-display-md-weight, 300);line-height:var(--wcss-display-md-line-height, 1.3);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem))}.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);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);font-weight:var(--wcss-display-sm-weight, 300);line-height:var(--wcss-display-sm-line-height, 1.3);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem))}.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);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);font-weight:var(--wcss-display-xs-weight, 300);line-height:var(--wcss-display-xs-line-height, 1.3);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem))}.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);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);font-weight:var(--wcss-heading-xl-weight, 300);line-height:var(--wcss-heading-xl-line-height, 1.3);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem))}.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);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);font-weight:var(--wcss-heading-lg-weight, 300);line-height:var(--wcss-heading-lg-line-height, 1.3);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem))}.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);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);font-weight:var(--wcss-heading-md-weight, 300);line-height:var(--wcss-heading-md-line-height, 1.3);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem))}.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);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);font-weight:var(--wcss-heading-sm-weight, 300);line-height:var(--wcss-heading-sm-line-height, 1.3);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem))}.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);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);font-weight:var(--wcss-heading-xs-weight, 450);line-height:var(--wcss-heading-xs-line-height, 1.3);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem))}.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);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);font-weight:var(--wcss-heading-2xs-weight, 450);line-height:var(--wcss-heading-2xs-line-height, 1.3);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem))}.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);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-2xl-weight, 450);line-height:var(--wcss-accent-2xl-line-height, 1);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));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);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-xl-weight, 450);line-height:var(--wcss-accent-xl-line-height, 1.3);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);font-weight:var(--wcss-accent-lg-weight, 450);line-height:var(--wcss-accent-lg-line-height, 1.3);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));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);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);font-weight:var(--wcss-accent-md-weight, 500);line-height:var(--wcss-accent-md-line-height, 1.3);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);font-weight:var(--wcss-accent-sm-weight, 500);line-height:var(--wcss-accent-sm-line-height, 1.3);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));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);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-xs-weight, 500);line-height:var(--wcss-accent-xs-line-height, 1.3);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-2xs-weight, 450);line-height:var(--wcss-accent-2xs-line-height, 1.3);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));text-transform:uppercase}@media screen and (max-width: 576px){:host{display:flex;justify-content:center}}.day{position:relative;width:var(--ds-size-500, 2.5rem);height:calc(var(--ds-size-700, 3.5rem) - 2px);padding:0;border-width:1px;border-style:solid;border-radius:var(--ds-size-300, 1.5rem);cursor:pointer;user-select:none}.day.disabled{cursor:default !important;pointer-events:none}.day.reference{box-shadow:inset 0 0 0 2px var(--ds-advanced-color-shared-background, #ffffff)}.day.inRange::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%)}@media screen and (min-width: 576px){.day.inRange::before{width:var(--ds-size-600, 3rem)}}.day.rangeDepartDate::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%);width:7.1428571429vw;transform:translate(0%, -50%)}@media screen and (min-width: 576px){.day.rangeDepartDate::before{width:calc(var(--ds-size-600, 3rem)/2)}}.day.rangeReturnDate::before,.day.lastHoveredDate::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%);width:7.1428571429vw;transform:translate(-100%, -50%)}@media screen and (min-width: 576px){.day.rangeReturnDate::before,.day.lastHoveredDate::before{width:calc(var(--ds-size-600, 3rem)/2)}}.dateSlot{display:flex;flex-direction:column}::slotted([slot^=date_]){position:absolute;top:80%;left:50%;width:100%;white-space:nowrap;transform:translate(-50%, -50%)}::slotted(auro-icon){max-height:24px;max-width:24px}:host([renderForDateSlot]) .buttonWrapper{position:relative;width:100%;top:5px}:host([renderForDateSlot]) .currentDayMarker{position:relative;padding-bottom:5px;top:-8px}@media screen and (min-width: 576px){.day{width:var(--ds-size-600, 3rem);height:var(--ds-size-800, 4rem)}.day:hover{cursor:pointer}}`;
|
|
16040
16040
|
|
|
@@ -16078,7 +16078,7 @@ class AuroCalendarCell extends i$4 {
|
|
|
16078
16078
|
this.dateStr = null;
|
|
16079
16079
|
this.renderForDateSlot = false; // When false, the numerical date will render vertically centered. When true, the date will render off-center to the top and leave room below for the slot content.
|
|
16080
16080
|
|
|
16081
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$5$
|
|
16081
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$5$2();
|
|
16082
16082
|
|
|
16083
16083
|
/**
|
|
16084
16084
|
* Generate unique names for dependency components.
|
|
@@ -17392,7 +17392,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$4 {
|
|
|
17392
17392
|
}
|
|
17393
17393
|
};
|
|
17394
17394
|
|
|
17395
|
-
var formkitVersion$2$1 = '
|
|
17395
|
+
var formkitVersion$2$1 = '202604082129';
|
|
17396
17396
|
|
|
17397
17397
|
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$3`${s$6(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$7`: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}
|
|
17398
17398
|
`,u$4$2=i$7`.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}}
|
|
@@ -17875,7 +17875,7 @@ if (!customElements.get('auro-formkit-calendar')) {
|
|
|
17875
17875
|
|
|
17876
17876
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
17877
17877
|
|
|
17878
|
-
let AuroLibraryRuntimeUtils$1$1
|
|
17878
|
+
let AuroLibraryRuntimeUtils$2$1$1 = class AuroLibraryRuntimeUtils {
|
|
17879
17879
|
|
|
17880
17880
|
/* eslint-disable jsdoc/require-param */
|
|
17881
17881
|
|
|
@@ -19664,6 +19664,7 @@ let AuroFloatingUI$3 = class AuroFloatingUI {
|
|
|
19664
19664
|
this.focusHandler = null;
|
|
19665
19665
|
this.clickHandler = null;
|
|
19666
19666
|
this.keyDownHandler = null;
|
|
19667
|
+
this.touchHandler = null;
|
|
19667
19668
|
|
|
19668
19669
|
/**
|
|
19669
19670
|
* @private
|
|
@@ -20081,6 +20082,28 @@ let AuroFloatingUI$3 = class AuroFloatingUI {
|
|
|
20081
20082
|
setTimeout(() => {
|
|
20082
20083
|
window.addEventListener("click", this.clickHandler);
|
|
20083
20084
|
}, 0);
|
|
20085
|
+
|
|
20086
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
20087
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
20088
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
20089
|
+
this.touchHandler = (evt) => {
|
|
20090
|
+
const element = this.element;
|
|
20091
|
+
if (!element?.bib) {
|
|
20092
|
+
return;
|
|
20093
|
+
}
|
|
20094
|
+
|
|
20095
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
20096
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
20097
|
+
return;
|
|
20098
|
+
}
|
|
20099
|
+
|
|
20100
|
+
const path = evt.composedPath();
|
|
20101
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
20102
|
+
this.hideBib("click");
|
|
20103
|
+
}
|
|
20104
|
+
};
|
|
20105
|
+
|
|
20106
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
20084
20107
|
}
|
|
20085
20108
|
|
|
20086
20109
|
cleanupHideHandlers() {
|
|
@@ -20096,6 +20119,11 @@ let AuroFloatingUI$3 = class AuroFloatingUI {
|
|
|
20096
20119
|
this.clickHandler = null;
|
|
20097
20120
|
}
|
|
20098
20121
|
|
|
20122
|
+
if (this.touchHandler) {
|
|
20123
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
20124
|
+
this.touchHandler = null;
|
|
20125
|
+
}
|
|
20126
|
+
|
|
20099
20127
|
if (this.keyDownHandler) {
|
|
20100
20128
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
20101
20129
|
this.keyDownHandler = null;
|
|
@@ -20888,6 +20916,89 @@ let p$3$3 = class p{registerComponent(t,a){customElements.get(t)||customElements
|
|
|
20888
20916
|
|
|
20889
20917
|
var iconVersion$2$3 = '9.1.2';
|
|
20890
20918
|
|
|
20919
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
20920
|
+
// See LICENSE in the project root for license information.
|
|
20921
|
+
|
|
20922
|
+
// ---------------------------------------------------------------------
|
|
20923
|
+
|
|
20924
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
20925
|
+
|
|
20926
|
+
let AuroLibraryRuntimeUtils$1$1$2 = class AuroLibraryRuntimeUtils {
|
|
20927
|
+
|
|
20928
|
+
/* eslint-disable jsdoc/require-param */
|
|
20929
|
+
|
|
20930
|
+
/**
|
|
20931
|
+
* This will register a new custom element with the browser.
|
|
20932
|
+
* @param {String} name - The name of the custom element.
|
|
20933
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
20934
|
+
* @returns {void}
|
|
20935
|
+
*/
|
|
20936
|
+
registerComponent(name, componentClass) {
|
|
20937
|
+
if (!customElements.get(name)) {
|
|
20938
|
+
customElements.define(name, class extends componentClass {});
|
|
20939
|
+
}
|
|
20940
|
+
}
|
|
20941
|
+
|
|
20942
|
+
/**
|
|
20943
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
20944
|
+
* @returns {void}
|
|
20945
|
+
*/
|
|
20946
|
+
closestElement(
|
|
20947
|
+
selector, // selector like in .closest()
|
|
20948
|
+
base = this, // extra functionality to skip a parent
|
|
20949
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
20950
|
+
!el || el === document || el === window
|
|
20951
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
20952
|
+
: found
|
|
20953
|
+
? found // found a selector INside this element
|
|
20954
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
20955
|
+
) {
|
|
20956
|
+
return __Closest(base);
|
|
20957
|
+
}
|
|
20958
|
+
/* eslint-enable jsdoc/require-param */
|
|
20959
|
+
|
|
20960
|
+
/**
|
|
20961
|
+
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
20962
|
+
* @param {Object} elem - The element to check.
|
|
20963
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
20964
|
+
* @returns {void}
|
|
20965
|
+
*/
|
|
20966
|
+
handleComponentTagRename(elem, tagName) {
|
|
20967
|
+
const tag = tagName.toLowerCase();
|
|
20968
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
20969
|
+
|
|
20970
|
+
if (elemTag !== tag) {
|
|
20971
|
+
elem.setAttribute(tag, true);
|
|
20972
|
+
}
|
|
20973
|
+
}
|
|
20974
|
+
|
|
20975
|
+
/**
|
|
20976
|
+
* Validates if an element is a specific Auro component.
|
|
20977
|
+
* @param {Object} elem - The element to validate.
|
|
20978
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
20979
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
20980
|
+
*/
|
|
20981
|
+
elementMatch(elem, tagName) {
|
|
20982
|
+
const tag = tagName.toLowerCase();
|
|
20983
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
20984
|
+
|
|
20985
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
20986
|
+
}
|
|
20987
|
+
|
|
20988
|
+
/**
|
|
20989
|
+
* Gets the text content of a named slot.
|
|
20990
|
+
* @returns {String}
|
|
20991
|
+
* @private
|
|
20992
|
+
*/
|
|
20993
|
+
getSlotText(elem, name) {
|
|
20994
|
+
const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
|
|
20995
|
+
const nodes = slot?.assignedNodes({ flatten: true }) || [];
|
|
20996
|
+
const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
|
|
20997
|
+
|
|
20998
|
+
return text || null;
|
|
20999
|
+
}
|
|
21000
|
+
};
|
|
21001
|
+
|
|
20891
21002
|
/**
|
|
20892
21003
|
* Computes display state once per keydown event.
|
|
20893
21004
|
* Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
|
|
@@ -20899,7 +21010,7 @@ var iconVersion$2$3 = '9.1.2';
|
|
|
20899
21010
|
* @returns {{isExpanded: boolean, isModal: boolean, isPopover: boolean, activeInput: HTMLElement|null}}
|
|
20900
21011
|
* isModal and isPopover reflect the display mode (fullscreen vs not) regardless of expanded state.
|
|
20901
21012
|
*/
|
|
20902
|
-
function createDisplayContext$
|
|
21013
|
+
function createDisplayContext$4(component, options = {}) {
|
|
20903
21014
|
const dd = options.dropdown || component.dropdown;
|
|
20904
21015
|
// isPopoverVisible reflects as the `open` attribute.
|
|
20905
21016
|
// It reports whether the bib is open in any mode (popover or modal).
|
|
@@ -20929,11 +21040,11 @@ function createDisplayContext$1$3(component, options = {}) {
|
|
|
20929
21040
|
* @param {Object} strategy - Map of key names to handler functions.
|
|
20930
21041
|
* @param {Object} [options] - Optional config passed to createDisplayContext.
|
|
20931
21042
|
*/
|
|
20932
|
-
function applyKeyboardStrategy$
|
|
21043
|
+
function applyKeyboardStrategy$4(component, strategy, options = {}) {
|
|
20933
21044
|
component.addEventListener('keydown', async (evt) => {
|
|
20934
21045
|
const handler = strategy[evt.key] || strategy.default;
|
|
20935
21046
|
if (typeof handler === 'function') {
|
|
20936
|
-
const ctx = createDisplayContext$
|
|
21047
|
+
const ctx = createDisplayContext$4(component, options);
|
|
20937
21048
|
await handler(component, evt, ctx);
|
|
20938
21049
|
}
|
|
20939
21050
|
});
|
|
@@ -21168,7 +21279,7 @@ let AuroDropdownBib$3 = class AuroDropdownBib extends i$4 {
|
|
|
21168
21279
|
|
|
21169
21280
|
const dialog = this.shadowRoot.querySelector('dialog');
|
|
21170
21281
|
this._setupCancelHandler(dialog);
|
|
21171
|
-
applyKeyboardStrategy$
|
|
21282
|
+
applyKeyboardStrategy$4(dialog, createDropdownBibKeyboardStrategy$3());
|
|
21172
21283
|
|
|
21173
21284
|
this.dispatchEvent(new CustomEvent('auro-dropdownbib-connected', {
|
|
21174
21285
|
bubbles: true,
|
|
@@ -21570,7 +21681,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$4 {
|
|
|
21570
21681
|
}
|
|
21571
21682
|
};
|
|
21572
21683
|
|
|
21573
|
-
var formkitVersion$1$3 = '
|
|
21684
|
+
var formkitVersion$1$3 = '202604082129';
|
|
21574
21685
|
|
|
21575
21686
|
let AuroElement$2$2 = class AuroElement extends i$4 {
|
|
21576
21687
|
static get properties() {
|
|
@@ -21781,7 +21892,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
21781
21892
|
/**
|
|
21782
21893
|
* @private
|
|
21783
21894
|
*/
|
|
21784
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1
|
|
21895
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$2$1$1();
|
|
21785
21896
|
|
|
21786
21897
|
/**
|
|
21787
21898
|
* @private
|
|
@@ -22199,7 +22310,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
22199
22310
|
*
|
|
22200
22311
|
*/
|
|
22201
22312
|
static register(name = "auro-dropdown") {
|
|
22202
|
-
AuroLibraryRuntimeUtils$1$1
|
|
22313
|
+
AuroLibraryRuntimeUtils$2$1$1.prototype.registerComponent(name, AuroDropdown);
|
|
22203
22314
|
}
|
|
22204
22315
|
|
|
22205
22316
|
/**
|
|
@@ -29112,7 +29223,7 @@ var tokensCss$2$3 = i$7`:host{--ds-auro-helptext-color: var(--ds-basic-color-tex
|
|
|
29112
29223
|
|
|
29113
29224
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
29114
29225
|
|
|
29115
|
-
let AuroLibraryRuntimeUtils$2$
|
|
29226
|
+
let AuroLibraryRuntimeUtils$2$4 = class AuroLibraryRuntimeUtils {
|
|
29116
29227
|
|
|
29117
29228
|
/* eslint-disable jsdoc/require-param */
|
|
29118
29229
|
|
|
@@ -29205,7 +29316,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$4 {
|
|
|
29205
29316
|
this.onDark = false;
|
|
29206
29317
|
this.hasTextContent = false;
|
|
29207
29318
|
|
|
29208
|
-
AuroLibraryRuntimeUtils$2$
|
|
29319
|
+
AuroLibraryRuntimeUtils$2$4.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
29209
29320
|
}
|
|
29210
29321
|
|
|
29211
29322
|
static get styles() {
|
|
@@ -29271,7 +29382,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$4 {
|
|
|
29271
29382
|
*
|
|
29272
29383
|
*/
|
|
29273
29384
|
static register(name = "auro-helptext") {
|
|
29274
|
-
AuroLibraryRuntimeUtils$2$
|
|
29385
|
+
AuroLibraryRuntimeUtils$2$4.prototype.registerComponent(name, AuroHelpText);
|
|
29275
29386
|
}
|
|
29276
29387
|
|
|
29277
29388
|
updated() {
|
|
@@ -29327,7 +29438,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$4 {
|
|
|
29327
29438
|
}
|
|
29328
29439
|
};
|
|
29329
29440
|
|
|
29330
|
-
var formkitVersion$7 = '
|
|
29441
|
+
var formkitVersion$7 = '202604082129';
|
|
29331
29442
|
|
|
29332
29443
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
29333
29444
|
// See LICENSE in the project root for license information.
|
|
@@ -30016,7 +30127,7 @@ var tokensCss$9 = i$7`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
30016
30127
|
|
|
30017
30128
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
30018
30129
|
|
|
30019
|
-
let AuroLibraryRuntimeUtils$
|
|
30130
|
+
let AuroLibraryRuntimeUtils$a = class AuroLibraryRuntimeUtils {
|
|
30020
30131
|
|
|
30021
30132
|
/* eslint-disable jsdoc/require-param */
|
|
30022
30133
|
|
|
@@ -30109,7 +30220,7 @@ let AuroHelpText$7 = class AuroHelpText extends i$4 {
|
|
|
30109
30220
|
this.onDark = false;
|
|
30110
30221
|
this.hasTextContent = false;
|
|
30111
30222
|
|
|
30112
|
-
AuroLibraryRuntimeUtils$
|
|
30223
|
+
AuroLibraryRuntimeUtils$a.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
30113
30224
|
}
|
|
30114
30225
|
|
|
30115
30226
|
static get styles() {
|
|
@@ -30175,7 +30286,7 @@ let AuroHelpText$7 = class AuroHelpText extends i$4 {
|
|
|
30175
30286
|
*
|
|
30176
30287
|
*/
|
|
30177
30288
|
static register(name = "auro-helptext") {
|
|
30178
|
-
AuroLibraryRuntimeUtils$
|
|
30289
|
+
AuroLibraryRuntimeUtils$a.prototype.registerComponent(name, AuroHelpText);
|
|
30179
30290
|
}
|
|
30180
30291
|
|
|
30181
30292
|
updated() {
|
|
@@ -30524,85 +30635,6 @@ function guardTouchPassthrough$2(element) {
|
|
|
30524
30635
|
}, { once: true });
|
|
30525
30636
|
}
|
|
30526
30637
|
|
|
30527
|
-
/**
|
|
30528
|
-
* Computes display state once per keydown event.
|
|
30529
|
-
* Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
|
|
30530
|
-
*
|
|
30531
|
-
* @param {HTMLElement} component - The component with a dropdown reference.
|
|
30532
|
-
* @param {Object} [options] - Optional config.
|
|
30533
|
-
* @param {HTMLElement} [options.dropdown] - Explicit dropdown reference. Falls back to component.dropdown.
|
|
30534
|
-
* @param {Function} [options.inputResolver] - Called with (component, ctx) to resolve the active input element.
|
|
30535
|
-
* @returns {{isExpanded: boolean, isModal: boolean, isPopover: boolean, activeInput: HTMLElement|null}}
|
|
30536
|
-
* isModal and isPopover reflect the display mode (fullscreen vs not) regardless of expanded state.
|
|
30537
|
-
*/
|
|
30538
|
-
function createDisplayContext$4(component, options = {}) {
|
|
30539
|
-
const dd = options.dropdown || component.dropdown;
|
|
30540
|
-
// isPopoverVisible reflects as the `open` attribute.
|
|
30541
|
-
// It reports whether the bib is open in any mode (popover or modal).
|
|
30542
|
-
const isExpanded = Boolean(dd && dd.isPopoverVisible);
|
|
30543
|
-
const isFullscreen = Boolean(dd && dd.isBibFullscreen);
|
|
30544
|
-
|
|
30545
|
-
const ctx = {
|
|
30546
|
-
isExpanded,
|
|
30547
|
-
isModal: isFullscreen,
|
|
30548
|
-
isPopover: !isFullscreen,
|
|
30549
|
-
activeInput: null,
|
|
30550
|
-
};
|
|
30551
|
-
|
|
30552
|
-
if (options.inputResolver) {
|
|
30553
|
-
const resolvedInput = options.inputResolver(component, ctx);
|
|
30554
|
-
// Guard against resolvers returning undefined or non-HTMLElement values.
|
|
30555
|
-
ctx.activeInput = resolvedInput instanceof HTMLElement ? resolvedInput : null;
|
|
30556
|
-
}
|
|
30557
|
-
|
|
30558
|
-
return ctx;
|
|
30559
|
-
}
|
|
30560
|
-
|
|
30561
|
-
/**
|
|
30562
|
-
* Wires up a keydown listener that dispatches to strategy[evt.key] or strategy.default.
|
|
30563
|
-
* Handles both sync and async handlers.
|
|
30564
|
-
* @param {HTMLElement} component - The component to attach the listener to.
|
|
30565
|
-
* @param {Object} strategy - Map of key names to handler functions.
|
|
30566
|
-
* @param {Object} [options] - Optional config passed to createDisplayContext.
|
|
30567
|
-
*/
|
|
30568
|
-
function applyKeyboardStrategy$4(component, strategy, options = {}) {
|
|
30569
|
-
component.addEventListener('keydown', async (evt) => {
|
|
30570
|
-
const handler = strategy[evt.key] || strategy.default;
|
|
30571
|
-
if (typeof handler === 'function') {
|
|
30572
|
-
const ctx = createDisplayContext$4(component, options);
|
|
30573
|
-
await handler(component, evt, ctx);
|
|
30574
|
-
}
|
|
30575
|
-
});
|
|
30576
|
-
}
|
|
30577
|
-
|
|
30578
|
-
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
30579
|
-
// See LICENSE in the project root for license information.
|
|
30580
|
-
|
|
30581
|
-
// Authoritative datepicker keyboard behavior spec:
|
|
30582
|
-
// components/datepicker/docs/partials/keyboardBehavior.md
|
|
30583
|
-
//
|
|
30584
|
-
// Current behavior (transitional — full bib keyboard navigation is planned for a future iteration):
|
|
30585
|
-
// - The bib opens and closes via pointer/touch interaction only.
|
|
30586
|
-
// - Escape closes the bib and prevents the event from reaching parent containers.
|
|
30587
|
-
// - Tab uses the browser's default tabindex sequence across trigger controls.
|
|
30588
|
-
// - Enter and Space do not open or close the bib.
|
|
30589
|
-
//
|
|
30590
|
-
// This file is an intentional placeholder for most keys. When datepicker bib keyboard navigation is
|
|
30591
|
-
// added, handlers should go here following the same strategy pattern used by
|
|
30592
|
-
// auro-select (selectKeyboardStrategy.js) and auro-combobox (comboboxKeyboardStrategy.js).
|
|
30593
|
-
const datepickerKeyboardStrategy = {
|
|
30594
|
-
Escape(component, evt) {
|
|
30595
|
-
// Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups.
|
|
30596
|
-
// Because stopPropagation prevents the document-level floatingUI keydown handler from
|
|
30597
|
-
// seeing this event, we must also close the dropdown explicitly.
|
|
30598
|
-
evt.stopPropagation();
|
|
30599
|
-
|
|
30600
|
-
if (component.dropdown && component.dropdown.isPopoverVisible) {
|
|
30601
|
-
component.dropdown.hide();
|
|
30602
|
-
}
|
|
30603
|
-
},
|
|
30604
|
-
};
|
|
30605
|
-
|
|
30606
30638
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
30607
30639
|
// See LICENSE in the project root for license information.
|
|
30608
30640
|
|
|
@@ -30740,7 +30772,7 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
30740
30772
|
/**
|
|
30741
30773
|
* @private
|
|
30742
30774
|
*/
|
|
30743
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$5$
|
|
30775
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$5$2();
|
|
30744
30776
|
|
|
30745
30777
|
/**
|
|
30746
30778
|
* @private
|
|
@@ -31171,7 +31203,7 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
31171
31203
|
*
|
|
31172
31204
|
*/
|
|
31173
31205
|
static register(name = "auro-datepicker") {
|
|
31174
|
-
AuroLibraryRuntimeUtils$5$
|
|
31206
|
+
AuroLibraryRuntimeUtils$5$2.prototype.registerComponent(name, AuroDatePicker);
|
|
31175
31207
|
}
|
|
31176
31208
|
|
|
31177
31209
|
/**
|
|
@@ -32060,7 +32092,6 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
32060
32092
|
this.configureCalendar();
|
|
32061
32093
|
this.configureDatepicker();
|
|
32062
32094
|
this.configureClickHandler();
|
|
32063
|
-
applyKeyboardStrategy$4(this, datepickerKeyboardStrategy);
|
|
32064
32095
|
}
|
|
32065
32096
|
|
|
32066
32097
|
connectedCallback() {
|
|
@@ -32587,7 +32618,7 @@ let l$1$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(
|
|
|
32587
32618
|
|
|
32588
32619
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
32589
32620
|
|
|
32590
|
-
let AuroLibraryRuntimeUtils$
|
|
32621
|
+
let AuroLibraryRuntimeUtils$5$1 = class AuroLibraryRuntimeUtils {
|
|
32591
32622
|
|
|
32592
32623
|
/* eslint-disable jsdoc/require-param */
|
|
32593
32624
|
|
|
@@ -32693,7 +32724,7 @@ class AuroCounterButton extends T$1$1 {
|
|
|
32693
32724
|
*
|
|
32694
32725
|
*/
|
|
32695
32726
|
static register(name = "auro-counter-button") {
|
|
32696
|
-
AuroLibraryRuntimeUtils$
|
|
32727
|
+
AuroLibraryRuntimeUtils$5$1.prototype.registerComponent(name, AuroCounterButton);
|
|
32697
32728
|
}
|
|
32698
32729
|
}
|
|
32699
32730
|
|
|
@@ -33185,7 +33216,7 @@ const {
|
|
|
33185
33216
|
let AuroFormValidation$5 = class AuroFormValidation {
|
|
33186
33217
|
|
|
33187
33218
|
constructor() {
|
|
33188
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
33219
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$5$1();
|
|
33189
33220
|
}
|
|
33190
33221
|
|
|
33191
33222
|
/**
|
|
@@ -33767,7 +33798,7 @@ var tokensCss$2$2 = i$7`:host{--ds-auro-helptext-color: var(--ds-basic-color-tex
|
|
|
33767
33798
|
|
|
33768
33799
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
33769
33800
|
|
|
33770
|
-
let AuroLibraryRuntimeUtils$
|
|
33801
|
+
let AuroLibraryRuntimeUtils$4$2 = class AuroLibraryRuntimeUtils {
|
|
33771
33802
|
|
|
33772
33803
|
/* eslint-disable jsdoc/require-param */
|
|
33773
33804
|
|
|
@@ -33860,7 +33891,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$4 {
|
|
|
33860
33891
|
this.onDark = false;
|
|
33861
33892
|
this.hasTextContent = false;
|
|
33862
33893
|
|
|
33863
|
-
AuroLibraryRuntimeUtils$
|
|
33894
|
+
AuroLibraryRuntimeUtils$4$2.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
33864
33895
|
}
|
|
33865
33896
|
|
|
33866
33897
|
static get styles() {
|
|
@@ -33926,7 +33957,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$4 {
|
|
|
33926
33957
|
*
|
|
33927
33958
|
*/
|
|
33928
33959
|
static register(name = "auro-helptext") {
|
|
33929
|
-
AuroLibraryRuntimeUtils$
|
|
33960
|
+
AuroLibraryRuntimeUtils$4$2.prototype.registerComponent(name, AuroHelpText);
|
|
33930
33961
|
}
|
|
33931
33962
|
|
|
33932
33963
|
updated() {
|
|
@@ -33982,7 +34013,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$4 {
|
|
|
33982
34013
|
}
|
|
33983
34014
|
};
|
|
33984
34015
|
|
|
33985
|
-
var formkitVersion$1$2 = '
|
|
34016
|
+
var formkitVersion$1$2 = '202604082129';
|
|
33986
34017
|
|
|
33987
34018
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
33988
34019
|
// See LICENSE in the project root for license information.
|
|
@@ -34073,7 +34104,7 @@ class AuroCounter extends i$4 {
|
|
|
34073
34104
|
/**
|
|
34074
34105
|
* @private
|
|
34075
34106
|
*/
|
|
34076
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
34107
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$5$1();
|
|
34077
34108
|
|
|
34078
34109
|
}
|
|
34079
34110
|
|
|
@@ -34215,7 +34246,7 @@ class AuroCounter extends i$4 {
|
|
|
34215
34246
|
* AuroCounter.register("custom-counter") // registers <custom-counter/>
|
|
34216
34247
|
*/
|
|
34217
34248
|
static register(name = "auro-counter") {
|
|
34218
|
-
AuroLibraryRuntimeUtils$
|
|
34249
|
+
AuroLibraryRuntimeUtils$5$1.prototype.registerComponent(name, AuroCounter);
|
|
34219
34250
|
}
|
|
34220
34251
|
|
|
34221
34252
|
static get styles() {
|
|
@@ -34453,7 +34484,7 @@ var shapeSizeCss$1$2 = i$7`.shape-classic-xl,.shape-classic-lg,.shape-classic-md
|
|
|
34453
34484
|
|
|
34454
34485
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
34455
34486
|
|
|
34456
|
-
let AuroLibraryRuntimeUtils$
|
|
34487
|
+
let AuroLibraryRuntimeUtils$2$3 = class AuroLibraryRuntimeUtils {
|
|
34457
34488
|
|
|
34458
34489
|
/* eslint-disable jsdoc/require-param */
|
|
34459
34490
|
|
|
@@ -36242,6 +36273,7 @@ let AuroFloatingUI$2 = class AuroFloatingUI {
|
|
|
36242
36273
|
this.focusHandler = null;
|
|
36243
36274
|
this.clickHandler = null;
|
|
36244
36275
|
this.keyDownHandler = null;
|
|
36276
|
+
this.touchHandler = null;
|
|
36245
36277
|
|
|
36246
36278
|
/**
|
|
36247
36279
|
* @private
|
|
@@ -36659,6 +36691,28 @@ let AuroFloatingUI$2 = class AuroFloatingUI {
|
|
|
36659
36691
|
setTimeout(() => {
|
|
36660
36692
|
window.addEventListener("click", this.clickHandler);
|
|
36661
36693
|
}, 0);
|
|
36694
|
+
|
|
36695
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
36696
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
36697
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
36698
|
+
this.touchHandler = (evt) => {
|
|
36699
|
+
const element = this.element;
|
|
36700
|
+
if (!element?.bib) {
|
|
36701
|
+
return;
|
|
36702
|
+
}
|
|
36703
|
+
|
|
36704
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
36705
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
36706
|
+
return;
|
|
36707
|
+
}
|
|
36708
|
+
|
|
36709
|
+
const path = evt.composedPath();
|
|
36710
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
36711
|
+
this.hideBib("click");
|
|
36712
|
+
}
|
|
36713
|
+
};
|
|
36714
|
+
|
|
36715
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
36662
36716
|
}
|
|
36663
36717
|
|
|
36664
36718
|
cleanupHideHandlers() {
|
|
@@ -36674,6 +36728,11 @@ let AuroFloatingUI$2 = class AuroFloatingUI {
|
|
|
36674
36728
|
this.clickHandler = null;
|
|
36675
36729
|
}
|
|
36676
36730
|
|
|
36731
|
+
if (this.touchHandler) {
|
|
36732
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
36733
|
+
this.touchHandler = null;
|
|
36734
|
+
}
|
|
36735
|
+
|
|
36677
36736
|
if (this.keyDownHandler) {
|
|
36678
36737
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
36679
36738
|
this.keyDownHandler = null;
|
|
@@ -37466,6 +37525,89 @@ let p$2$2 = class p{registerComponent(t,a){customElements.get(t)||customElements
|
|
|
37466
37525
|
|
|
37467
37526
|
var iconVersion$1$2 = '9.1.2';
|
|
37468
37527
|
|
|
37528
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
37529
|
+
// See LICENSE in the project root for license information.
|
|
37530
|
+
|
|
37531
|
+
// ---------------------------------------------------------------------
|
|
37532
|
+
|
|
37533
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
37534
|
+
|
|
37535
|
+
let AuroLibraryRuntimeUtils$1$6 = class AuroLibraryRuntimeUtils {
|
|
37536
|
+
|
|
37537
|
+
/* eslint-disable jsdoc/require-param */
|
|
37538
|
+
|
|
37539
|
+
/**
|
|
37540
|
+
* This will register a new custom element with the browser.
|
|
37541
|
+
* @param {String} name - The name of the custom element.
|
|
37542
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
37543
|
+
* @returns {void}
|
|
37544
|
+
*/
|
|
37545
|
+
registerComponent(name, componentClass) {
|
|
37546
|
+
if (!customElements.get(name)) {
|
|
37547
|
+
customElements.define(name, class extends componentClass {});
|
|
37548
|
+
}
|
|
37549
|
+
}
|
|
37550
|
+
|
|
37551
|
+
/**
|
|
37552
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
37553
|
+
* @returns {void}
|
|
37554
|
+
*/
|
|
37555
|
+
closestElement(
|
|
37556
|
+
selector, // selector like in .closest()
|
|
37557
|
+
base = this, // extra functionality to skip a parent
|
|
37558
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
37559
|
+
!el || el === document || el === window
|
|
37560
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
37561
|
+
: found
|
|
37562
|
+
? found // found a selector INside this element
|
|
37563
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
37564
|
+
) {
|
|
37565
|
+
return __Closest(base);
|
|
37566
|
+
}
|
|
37567
|
+
/* eslint-enable jsdoc/require-param */
|
|
37568
|
+
|
|
37569
|
+
/**
|
|
37570
|
+
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
37571
|
+
* @param {Object} elem - The element to check.
|
|
37572
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
37573
|
+
* @returns {void}
|
|
37574
|
+
*/
|
|
37575
|
+
handleComponentTagRename(elem, tagName) {
|
|
37576
|
+
const tag = tagName.toLowerCase();
|
|
37577
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
37578
|
+
|
|
37579
|
+
if (elemTag !== tag) {
|
|
37580
|
+
elem.setAttribute(tag, true);
|
|
37581
|
+
}
|
|
37582
|
+
}
|
|
37583
|
+
|
|
37584
|
+
/**
|
|
37585
|
+
* Validates if an element is a specific Auro component.
|
|
37586
|
+
* @param {Object} elem - The element to validate.
|
|
37587
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
37588
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
37589
|
+
*/
|
|
37590
|
+
elementMatch(elem, tagName) {
|
|
37591
|
+
const tag = tagName.toLowerCase();
|
|
37592
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
37593
|
+
|
|
37594
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
37595
|
+
}
|
|
37596
|
+
|
|
37597
|
+
/**
|
|
37598
|
+
* Gets the text content of a named slot.
|
|
37599
|
+
* @returns {String}
|
|
37600
|
+
* @private
|
|
37601
|
+
*/
|
|
37602
|
+
getSlotText(elem, name) {
|
|
37603
|
+
const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
|
|
37604
|
+
const nodes = slot?.assignedNodes({ flatten: true }) || [];
|
|
37605
|
+
const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
|
|
37606
|
+
|
|
37607
|
+
return text || null;
|
|
37608
|
+
}
|
|
37609
|
+
};
|
|
37610
|
+
|
|
37469
37611
|
/**
|
|
37470
37612
|
* Computes display state once per keydown event.
|
|
37471
37613
|
* Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
|
|
@@ -37933,7 +38075,7 @@ var tokensCss$8 = i$7`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
37933
38075
|
|
|
37934
38076
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
37935
38077
|
|
|
37936
|
-
let AuroLibraryRuntimeUtils$
|
|
38078
|
+
let AuroLibraryRuntimeUtils$3$2 = class AuroLibraryRuntimeUtils {
|
|
37937
38079
|
|
|
37938
38080
|
/* eslint-disable jsdoc/require-param */
|
|
37939
38081
|
|
|
@@ -38026,7 +38168,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$4 {
|
|
|
38026
38168
|
this.onDark = false;
|
|
38027
38169
|
this.hasTextContent = false;
|
|
38028
38170
|
|
|
38029
|
-
AuroLibraryRuntimeUtils$
|
|
38171
|
+
AuroLibraryRuntimeUtils$3$2.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
38030
38172
|
}
|
|
38031
38173
|
|
|
38032
38174
|
static get styles() {
|
|
@@ -38092,7 +38234,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$4 {
|
|
|
38092
38234
|
*
|
|
38093
38235
|
*/
|
|
38094
38236
|
static register(name = "auro-helptext") {
|
|
38095
|
-
AuroLibraryRuntimeUtils$
|
|
38237
|
+
AuroLibraryRuntimeUtils$3$2.prototype.registerComponent(name, AuroHelpText);
|
|
38096
38238
|
}
|
|
38097
38239
|
|
|
38098
38240
|
updated() {
|
|
@@ -38148,7 +38290,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$4 {
|
|
|
38148
38290
|
}
|
|
38149
38291
|
};
|
|
38150
38292
|
|
|
38151
|
-
var formkitVersion$6 = '
|
|
38293
|
+
var formkitVersion$6 = '202604082129';
|
|
38152
38294
|
|
|
38153
38295
|
let AuroElement$1$2 = class AuroElement extends i$4 {
|
|
38154
38296
|
static get properties() {
|
|
@@ -38359,7 +38501,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
38359
38501
|
/**
|
|
38360
38502
|
* @private
|
|
38361
38503
|
*/
|
|
38362
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
38504
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$2$3();
|
|
38363
38505
|
|
|
38364
38506
|
/**
|
|
38365
38507
|
* @private
|
|
@@ -38777,7 +38919,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
38777
38919
|
*
|
|
38778
38920
|
*/
|
|
38779
38921
|
static register(name = "auro-dropdown") {
|
|
38780
|
-
AuroLibraryRuntimeUtils$
|
|
38922
|
+
AuroLibraryRuntimeUtils$2$3.prototype.registerComponent(name, AuroDropdown);
|
|
38781
38923
|
}
|
|
38782
38924
|
|
|
38783
38925
|
/**
|
|
@@ -39297,7 +39439,7 @@ var tokenCss$3 = i$7`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--d
|
|
|
39297
39439
|
|
|
39298
39440
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
39299
39441
|
|
|
39300
|
-
let AuroLibraryRuntimeUtils$
|
|
39442
|
+
let AuroLibraryRuntimeUtils$9 = class AuroLibraryRuntimeUtils {
|
|
39301
39443
|
|
|
39302
39444
|
/* eslint-disable jsdoc/require-param */
|
|
39303
39445
|
|
|
@@ -39524,7 +39666,7 @@ let AuroBibtemplate$2 = class AuroBibtemplate extends i$4 {
|
|
|
39524
39666
|
|
|
39525
39667
|
this.large = false;
|
|
39526
39668
|
|
|
39527
|
-
AuroLibraryRuntimeUtils$
|
|
39669
|
+
AuroLibraryRuntimeUtils$9.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
39528
39670
|
|
|
39529
39671
|
const versioning = new AuroDependencyVersioning$7();
|
|
39530
39672
|
|
|
@@ -39576,7 +39718,7 @@ let AuroBibtemplate$2 = class AuroBibtemplate extends i$4 {
|
|
|
39576
39718
|
*
|
|
39577
39719
|
*/
|
|
39578
39720
|
static register(name = "auro-bibtemplate") {
|
|
39579
|
-
AuroLibraryRuntimeUtils$
|
|
39721
|
+
AuroLibraryRuntimeUtils$9.prototype.registerComponent(name, AuroBibtemplate);
|
|
39580
39722
|
}
|
|
39581
39723
|
|
|
39582
39724
|
/**
|
|
@@ -39703,7 +39845,7 @@ class AuroCounterWrapper extends i$4 {
|
|
|
39703
39845
|
* AuroCounterWrapper.register("custom-counter-wrapper") // registers <custom-counter-wrapper/>
|
|
39704
39846
|
*/
|
|
39705
39847
|
static register(name = "auro-counter-wrapper") {
|
|
39706
|
-
AuroLibraryRuntimeUtils$
|
|
39848
|
+
AuroLibraryRuntimeUtils$5$1.prototype.registerComponent(name, AuroCounterWrapper);
|
|
39707
39849
|
}
|
|
39708
39850
|
|
|
39709
39851
|
// function that renders the HTML and CSS into the scope of the component
|
|
@@ -39822,22 +39964,6 @@ let AuroElement$4 = class AuroElement extends i$4 {
|
|
|
39822
39964
|
}
|
|
39823
39965
|
};
|
|
39824
39966
|
|
|
39825
|
-
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
39826
|
-
// See LICENSE in the project root for license information.
|
|
39827
|
-
|
|
39828
|
-
const counterGroupKeyboardStrategy = {
|
|
39829
|
-
Escape(component, evt) {
|
|
39830
|
-
// Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups.
|
|
39831
|
-
// Because stopPropagation prevents the document-level floatingUI keydown handler from
|
|
39832
|
-
// seeing this event, we must also close the dropdown explicitly.
|
|
39833
|
-
evt.stopPropagation();
|
|
39834
|
-
|
|
39835
|
-
if (component.dropdown && component.dropdown.isPopoverVisible) {
|
|
39836
|
-
component.dropdown.hide();
|
|
39837
|
-
}
|
|
39838
|
-
},
|
|
39839
|
-
};
|
|
39840
|
-
|
|
39841
39967
|
/* eslint-disable lit/no-invalid-html, lit/binding-positions, max-lines, no-underscore-dangle, arrow-parens, no-confusing-arrow, curly, dot-location, no-inline-comments, line-comment-position,
|
|
39842
39968
|
*/
|
|
39843
39969
|
|
|
@@ -40438,10 +40564,6 @@ class AuroCounterGroup extends AuroElement$4 {
|
|
|
40438
40564
|
super.firstUpdated();
|
|
40439
40565
|
this.updateValue();
|
|
40440
40566
|
this.updateValueText();
|
|
40441
|
-
|
|
40442
|
-
if (this.isDropdown) {
|
|
40443
|
-
applyKeyboardStrategy$1$2(this, counterGroupKeyboardStrategy);
|
|
40444
|
-
}
|
|
40445
40567
|
}
|
|
40446
40568
|
|
|
40447
40569
|
/**
|
|
@@ -40451,7 +40573,7 @@ class AuroCounterGroup extends AuroElement$4 {
|
|
|
40451
40573
|
* AuroCounterGroup.register("custom-counter-group") // registers <custom-counter-group/>
|
|
40452
40574
|
*/
|
|
40453
40575
|
static register(name = "auro-counter-group") {
|
|
40454
|
-
AuroLibraryRuntimeUtils$
|
|
40576
|
+
AuroLibraryRuntimeUtils$5$1.prototype.registerComponent(name, AuroCounterGroup);
|
|
40455
40577
|
}
|
|
40456
40578
|
|
|
40457
40579
|
/**
|
|
@@ -42023,7 +42145,7 @@ var tokensCss$7 = i$7`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
42023
42145
|
|
|
42024
42146
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
42025
42147
|
|
|
42026
|
-
let AuroLibraryRuntimeUtils$
|
|
42148
|
+
let AuroLibraryRuntimeUtils$8 = class AuroLibraryRuntimeUtils {
|
|
42027
42149
|
|
|
42028
42150
|
/* eslint-disable jsdoc/require-param */
|
|
42029
42151
|
|
|
@@ -42116,7 +42238,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$4 {
|
|
|
42116
42238
|
this.onDark = false;
|
|
42117
42239
|
this.hasTextContent = false;
|
|
42118
42240
|
|
|
42119
|
-
AuroLibraryRuntimeUtils$
|
|
42241
|
+
AuroLibraryRuntimeUtils$8.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
42120
42242
|
}
|
|
42121
42243
|
|
|
42122
42244
|
static get styles() {
|
|
@@ -42182,7 +42304,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$4 {
|
|
|
42182
42304
|
*
|
|
42183
42305
|
*/
|
|
42184
42306
|
static register(name = "auro-helptext") {
|
|
42185
|
-
AuroLibraryRuntimeUtils$
|
|
42307
|
+
AuroLibraryRuntimeUtils$8.prototype.registerComponent(name, AuroHelpText);
|
|
42186
42308
|
}
|
|
42187
42309
|
|
|
42188
42310
|
updated() {
|
|
@@ -42238,7 +42360,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$4 {
|
|
|
42238
42360
|
}
|
|
42239
42361
|
};
|
|
42240
42362
|
|
|
42241
|
-
var formkitVersion$5 = '
|
|
42363
|
+
var formkitVersion$5 = '202604082129';
|
|
42242
42364
|
|
|
42243
42365
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
42244
42366
|
// See LICENSE in the project root for license information.
|
|
@@ -44192,7 +44314,7 @@ var tokensCss$6 = i$7`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
44192
44314
|
|
|
44193
44315
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
44194
44316
|
|
|
44195
|
-
let AuroLibraryRuntimeUtils$
|
|
44317
|
+
let AuroLibraryRuntimeUtils$7 = class AuroLibraryRuntimeUtils {
|
|
44196
44318
|
|
|
44197
44319
|
/* eslint-disable jsdoc/require-param */
|
|
44198
44320
|
|
|
@@ -44285,7 +44407,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$4 {
|
|
|
44285
44407
|
this.onDark = false;
|
|
44286
44408
|
this.hasTextContent = false;
|
|
44287
44409
|
|
|
44288
|
-
AuroLibraryRuntimeUtils$
|
|
44410
|
+
AuroLibraryRuntimeUtils$7.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
44289
44411
|
}
|
|
44290
44412
|
|
|
44291
44413
|
static get styles() {
|
|
@@ -44351,7 +44473,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$4 {
|
|
|
44351
44473
|
*
|
|
44352
44474
|
*/
|
|
44353
44475
|
static register(name = "auro-helptext") {
|
|
44354
|
-
AuroLibraryRuntimeUtils$
|
|
44476
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroHelpText);
|
|
44355
44477
|
}
|
|
44356
44478
|
|
|
44357
44479
|
updated() {
|
|
@@ -44407,7 +44529,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$4 {
|
|
|
44407
44529
|
}
|
|
44408
44530
|
};
|
|
44409
44531
|
|
|
44410
|
-
var formkitVersion$4 = '
|
|
44532
|
+
var formkitVersion$4 = '202604082129';
|
|
44411
44533
|
|
|
44412
44534
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
44413
44535
|
// See LICENSE in the project root for license information.
|
|
@@ -46123,19 +46245,10 @@ const comboboxKeyboardStrategy = {
|
|
|
46123
46245
|
}
|
|
46124
46246
|
},
|
|
46125
46247
|
|
|
46126
|
-
Escape(component,
|
|
46127
|
-
|
|
46128
|
-
evt.stopPropagation();
|
|
46129
|
-
|
|
46130
|
-
if (!ctx.isExpanded) {
|
|
46131
|
-
return;
|
|
46132
|
-
}
|
|
46133
|
-
|
|
46134
|
-
if (ctx.isModal) {
|
|
46248
|
+
Escape(component, _evt, ctx) {
|
|
46249
|
+
if (ctx.isExpanded && ctx.isModal) {
|
|
46135
46250
|
component.setTriggerInputFocus();
|
|
46136
46251
|
}
|
|
46137
|
-
|
|
46138
|
-
component.hideBib();
|
|
46139
46252
|
},
|
|
46140
46253
|
|
|
46141
46254
|
Home(component, evt, ctx) {
|
|
@@ -46172,7 +46285,7 @@ const comboboxKeyboardStrategy = {
|
|
|
46172
46285
|
|
|
46173
46286
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
46174
46287
|
|
|
46175
|
-
let AuroLibraryRuntimeUtils$1
|
|
46288
|
+
let AuroLibraryRuntimeUtils$2$1 = class AuroLibraryRuntimeUtils {
|
|
46176
46289
|
|
|
46177
46290
|
/* eslint-disable jsdoc/require-param */
|
|
46178
46291
|
|
|
@@ -47961,6 +48074,7 @@ let AuroFloatingUI$1 = class AuroFloatingUI {
|
|
|
47961
48074
|
this.focusHandler = null;
|
|
47962
48075
|
this.clickHandler = null;
|
|
47963
48076
|
this.keyDownHandler = null;
|
|
48077
|
+
this.touchHandler = null;
|
|
47964
48078
|
|
|
47965
48079
|
/**
|
|
47966
48080
|
* @private
|
|
@@ -48378,6 +48492,28 @@ let AuroFloatingUI$1 = class AuroFloatingUI {
|
|
|
48378
48492
|
setTimeout(() => {
|
|
48379
48493
|
window.addEventListener("click", this.clickHandler);
|
|
48380
48494
|
}, 0);
|
|
48495
|
+
|
|
48496
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
48497
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
48498
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
48499
|
+
this.touchHandler = (evt) => {
|
|
48500
|
+
const element = this.element;
|
|
48501
|
+
if (!element?.bib) {
|
|
48502
|
+
return;
|
|
48503
|
+
}
|
|
48504
|
+
|
|
48505
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
48506
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
48507
|
+
return;
|
|
48508
|
+
}
|
|
48509
|
+
|
|
48510
|
+
const path = evt.composedPath();
|
|
48511
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
48512
|
+
this.hideBib("click");
|
|
48513
|
+
}
|
|
48514
|
+
};
|
|
48515
|
+
|
|
48516
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
48381
48517
|
}
|
|
48382
48518
|
|
|
48383
48519
|
cleanupHideHandlers() {
|
|
@@ -48393,6 +48529,11 @@ let AuroFloatingUI$1 = class AuroFloatingUI {
|
|
|
48393
48529
|
this.clickHandler = null;
|
|
48394
48530
|
}
|
|
48395
48531
|
|
|
48532
|
+
if (this.touchHandler) {
|
|
48533
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
48534
|
+
this.touchHandler = null;
|
|
48535
|
+
}
|
|
48536
|
+
|
|
48396
48537
|
if (this.keyDownHandler) {
|
|
48397
48538
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
48398
48539
|
this.keyDownHandler = null;
|
|
@@ -49185,6 +49326,89 @@ let p$3$1 = class p{registerComponent(t,a){customElements.get(t)||customElements
|
|
|
49185
49326
|
|
|
49186
49327
|
var iconVersion$2$1 = '9.1.2';
|
|
49187
49328
|
|
|
49329
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
49330
|
+
// See LICENSE in the project root for license information.
|
|
49331
|
+
|
|
49332
|
+
// ---------------------------------------------------------------------
|
|
49333
|
+
|
|
49334
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
49335
|
+
|
|
49336
|
+
let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
|
|
49337
|
+
|
|
49338
|
+
/* eslint-disable jsdoc/require-param */
|
|
49339
|
+
|
|
49340
|
+
/**
|
|
49341
|
+
* This will register a new custom element with the browser.
|
|
49342
|
+
* @param {String} name - The name of the custom element.
|
|
49343
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
49344
|
+
* @returns {void}
|
|
49345
|
+
*/
|
|
49346
|
+
registerComponent(name, componentClass) {
|
|
49347
|
+
if (!customElements.get(name)) {
|
|
49348
|
+
customElements.define(name, class extends componentClass {});
|
|
49349
|
+
}
|
|
49350
|
+
}
|
|
49351
|
+
|
|
49352
|
+
/**
|
|
49353
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
49354
|
+
* @returns {void}
|
|
49355
|
+
*/
|
|
49356
|
+
closestElement(
|
|
49357
|
+
selector, // selector like in .closest()
|
|
49358
|
+
base = this, // extra functionality to skip a parent
|
|
49359
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
49360
|
+
!el || el === document || el === window
|
|
49361
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
49362
|
+
: found
|
|
49363
|
+
? found // found a selector INside this element
|
|
49364
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
49365
|
+
) {
|
|
49366
|
+
return __Closest(base);
|
|
49367
|
+
}
|
|
49368
|
+
/* eslint-enable jsdoc/require-param */
|
|
49369
|
+
|
|
49370
|
+
/**
|
|
49371
|
+
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
49372
|
+
* @param {Object} elem - The element to check.
|
|
49373
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
49374
|
+
* @returns {void}
|
|
49375
|
+
*/
|
|
49376
|
+
handleComponentTagRename(elem, tagName) {
|
|
49377
|
+
const tag = tagName.toLowerCase();
|
|
49378
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
49379
|
+
|
|
49380
|
+
if (elemTag !== tag) {
|
|
49381
|
+
elem.setAttribute(tag, true);
|
|
49382
|
+
}
|
|
49383
|
+
}
|
|
49384
|
+
|
|
49385
|
+
/**
|
|
49386
|
+
* Validates if an element is a specific Auro component.
|
|
49387
|
+
* @param {Object} elem - The element to validate.
|
|
49388
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
49389
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
49390
|
+
*/
|
|
49391
|
+
elementMatch(elem, tagName) {
|
|
49392
|
+
const tag = tagName.toLowerCase();
|
|
49393
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
49394
|
+
|
|
49395
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
49396
|
+
}
|
|
49397
|
+
|
|
49398
|
+
/**
|
|
49399
|
+
* Gets the text content of a named slot.
|
|
49400
|
+
* @returns {String}
|
|
49401
|
+
* @private
|
|
49402
|
+
*/
|
|
49403
|
+
getSlotText(elem, name) {
|
|
49404
|
+
const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
|
|
49405
|
+
const nodes = slot?.assignedNodes({ flatten: true }) || [];
|
|
49406
|
+
const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
|
|
49407
|
+
|
|
49408
|
+
return text || null;
|
|
49409
|
+
}
|
|
49410
|
+
};
|
|
49411
|
+
|
|
49188
49412
|
/**
|
|
49189
49413
|
* Computes display state once per keydown event.
|
|
49190
49414
|
* Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
|
|
@@ -49867,7 +50091,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
49867
50091
|
}
|
|
49868
50092
|
};
|
|
49869
50093
|
|
|
49870
|
-
var formkitVersion$2 = '
|
|
50094
|
+
var formkitVersion$2 = '202604082129';
|
|
49871
50095
|
|
|
49872
50096
|
let AuroElement$2$1 = class AuroElement extends i$4 {
|
|
49873
50097
|
static get properties() {
|
|
@@ -50078,7 +50302,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
50078
50302
|
/**
|
|
50079
50303
|
* @private
|
|
50080
50304
|
*/
|
|
50081
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$1
|
|
50305
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$2$1();
|
|
50082
50306
|
|
|
50083
50307
|
/**
|
|
50084
50308
|
* @private
|
|
@@ -50496,7 +50720,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
50496
50720
|
*
|
|
50497
50721
|
*/
|
|
50498
50722
|
static register(name = "auro-dropdown") {
|
|
50499
|
-
AuroLibraryRuntimeUtils$1
|
|
50723
|
+
AuroLibraryRuntimeUtils$2$1.prototype.registerComponent(name, AuroDropdown);
|
|
50500
50724
|
}
|
|
50501
50725
|
|
|
50502
50726
|
/**
|
|
@@ -57409,7 +57633,7 @@ var tokensCss$2$1 = i$7`:host{--ds-auro-helptext-color: var(--ds-basic-color-tex
|
|
|
57409
57633
|
|
|
57410
57634
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
57411
57635
|
|
|
57412
|
-
let AuroLibraryRuntimeUtils$2$
|
|
57636
|
+
let AuroLibraryRuntimeUtils$2$2 = class AuroLibraryRuntimeUtils {
|
|
57413
57637
|
|
|
57414
57638
|
/* eslint-disable jsdoc/require-param */
|
|
57415
57639
|
|
|
@@ -57502,7 +57726,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$4 {
|
|
|
57502
57726
|
this.onDark = false;
|
|
57503
57727
|
this.hasTextContent = false;
|
|
57504
57728
|
|
|
57505
|
-
AuroLibraryRuntimeUtils$2$
|
|
57729
|
+
AuroLibraryRuntimeUtils$2$2.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
57506
57730
|
}
|
|
57507
57731
|
|
|
57508
57732
|
static get styles() {
|
|
@@ -57568,7 +57792,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$4 {
|
|
|
57568
57792
|
*
|
|
57569
57793
|
*/
|
|
57570
57794
|
static register(name = "auro-helptext") {
|
|
57571
|
-
AuroLibraryRuntimeUtils$2$
|
|
57795
|
+
AuroLibraryRuntimeUtils$2$2.prototype.registerComponent(name, AuroHelpText);
|
|
57572
57796
|
}
|
|
57573
57797
|
|
|
57574
57798
|
updated() {
|
|
@@ -57624,7 +57848,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$4 {
|
|
|
57624
57848
|
}
|
|
57625
57849
|
};
|
|
57626
57850
|
|
|
57627
|
-
var formkitVersion$1$1 = '
|
|
57851
|
+
var formkitVersion$1$1 = '202604082129';
|
|
57628
57852
|
|
|
57629
57853
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
57630
57854
|
// See LICENSE in the project root for license information.
|
|
@@ -58689,7 +58913,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$4 {
|
|
|
58689
58913
|
}
|
|
58690
58914
|
};
|
|
58691
58915
|
|
|
58692
|
-
var formkitVersion$3 = '
|
|
58916
|
+
var formkitVersion$3 = '202604082129';
|
|
58693
58917
|
|
|
58694
58918
|
var styleCss$1$3 = i$7`.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}`;
|
|
58695
58919
|
|
|
@@ -58814,7 +59038,7 @@ var tokensCss$5 = i$7`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
58814
59038
|
|
|
58815
59039
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
58816
59040
|
|
|
58817
|
-
let AuroLibraryRuntimeUtils$
|
|
59041
|
+
let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
|
|
58818
59042
|
|
|
58819
59043
|
/* eslint-disable jsdoc/require-param */
|
|
58820
59044
|
|
|
@@ -58907,7 +59131,7 @@ let AuroHelpText$3 = class AuroHelpText extends i$4 {
|
|
|
58907
59131
|
this.onDark = false;
|
|
58908
59132
|
this.hasTextContent = false;
|
|
58909
59133
|
|
|
58910
|
-
AuroLibraryRuntimeUtils$
|
|
59134
|
+
AuroLibraryRuntimeUtils$6.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
58911
59135
|
}
|
|
58912
59136
|
|
|
58913
59137
|
static get styles() {
|
|
@@ -58973,7 +59197,7 @@ let AuroHelpText$3 = class AuroHelpText extends i$4 {
|
|
|
58973
59197
|
*
|
|
58974
59198
|
*/
|
|
58975
59199
|
static register(name = "auro-helptext") {
|
|
58976
|
-
AuroLibraryRuntimeUtils$
|
|
59200
|
+
AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroHelpText);
|
|
58977
59201
|
}
|
|
58978
59202
|
|
|
58979
59203
|
updated() {
|
|
@@ -60827,7 +61051,7 @@ var colorCss$4 = i$7`:host .wrapper{background-color:var(--ds-auro-menuoption-co
|
|
|
60827
61051
|
|
|
60828
61052
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
60829
61053
|
|
|
60830
|
-
let AuroLibraryRuntimeUtils$
|
|
61054
|
+
let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
|
|
60831
61055
|
|
|
60832
61056
|
/* eslint-disable jsdoc/require-param */
|
|
60833
61057
|
|
|
@@ -61016,7 +61240,7 @@ class AuroMenuOption extends AuroElement$2 {
|
|
|
61016
61240
|
*
|
|
61017
61241
|
*/
|
|
61018
61242
|
static register(name = "auro-menuoption") {
|
|
61019
|
-
AuroLibraryRuntimeUtils$
|
|
61243
|
+
AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroMenuOption);
|
|
61020
61244
|
}
|
|
61021
61245
|
|
|
61022
61246
|
/**
|
|
@@ -61058,7 +61282,7 @@ class AuroMenuOption extends AuroElement$2 {
|
|
|
61058
61282
|
/**
|
|
61059
61283
|
* @private
|
|
61060
61284
|
*/
|
|
61061
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
61285
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
|
|
61062
61286
|
|
|
61063
61287
|
// Initialize context-related properties
|
|
61064
61288
|
this.menuService = null;
|
|
@@ -62496,7 +62720,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62496
62720
|
*
|
|
62497
62721
|
*/
|
|
62498
62722
|
static register(name = "auro-menu") {
|
|
62499
|
-
AuroLibraryRuntimeUtils$
|
|
62723
|
+
AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroMenu);
|
|
62500
62724
|
}
|
|
62501
62725
|
|
|
62502
62726
|
/**
|
|
@@ -62646,7 +62870,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62646
62870
|
}
|
|
62647
62871
|
|
|
62648
62872
|
firstUpdated() {
|
|
62649
|
-
AuroLibraryRuntimeUtils$
|
|
62873
|
+
AuroLibraryRuntimeUtils$5.prototype.handleComponentTagRename(this, 'auro-menu');
|
|
62650
62874
|
|
|
62651
62875
|
this.loadingSlots = this.querySelectorAll("[slot='loadingText'], [slot='loadingIcon']");
|
|
62652
62876
|
this.initializeMenu();
|
|
@@ -63419,7 +63643,7 @@ const {
|
|
|
63419
63643
|
|
|
63420
63644
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
63421
63645
|
|
|
63422
|
-
let AuroLibraryRuntimeUtils$
|
|
63646
|
+
let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
63423
63647
|
|
|
63424
63648
|
/* eslint-disable jsdoc/require-param */
|
|
63425
63649
|
|
|
@@ -63502,7 +63726,7 @@ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
|
63502
63726
|
class AuroFormValidation {
|
|
63503
63727
|
|
|
63504
63728
|
constructor() {
|
|
63505
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
63729
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
63506
63730
|
}
|
|
63507
63731
|
|
|
63508
63732
|
/**
|
|
@@ -64175,9 +64399,6 @@ const selectKeyboardStrategy = {
|
|
|
64175
64399
|
},
|
|
64176
64400
|
|
|
64177
64401
|
Escape(component, evt, ctx) {
|
|
64178
|
-
// Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups
|
|
64179
|
-
evt.stopPropagation();
|
|
64180
|
-
|
|
64181
64402
|
if (!ctx.isExpanded) {
|
|
64182
64403
|
return;
|
|
64183
64404
|
}
|
|
@@ -64292,7 +64513,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
64292
64513
|
|
|
64293
64514
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
64294
64515
|
|
|
64295
|
-
let AuroLibraryRuntimeUtils$
|
|
64516
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
64296
64517
|
|
|
64297
64518
|
/* eslint-disable jsdoc/require-param */
|
|
64298
64519
|
|
|
@@ -66081,6 +66302,7 @@ class AuroFloatingUI {
|
|
|
66081
66302
|
this.focusHandler = null;
|
|
66082
66303
|
this.clickHandler = null;
|
|
66083
66304
|
this.keyDownHandler = null;
|
|
66305
|
+
this.touchHandler = null;
|
|
66084
66306
|
|
|
66085
66307
|
/**
|
|
66086
66308
|
* @private
|
|
@@ -66498,6 +66720,28 @@ class AuroFloatingUI {
|
|
|
66498
66720
|
setTimeout(() => {
|
|
66499
66721
|
window.addEventListener("click", this.clickHandler);
|
|
66500
66722
|
}, 0);
|
|
66723
|
+
|
|
66724
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
66725
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
66726
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
66727
|
+
this.touchHandler = (evt) => {
|
|
66728
|
+
const element = this.element;
|
|
66729
|
+
if (!element?.bib) {
|
|
66730
|
+
return;
|
|
66731
|
+
}
|
|
66732
|
+
|
|
66733
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
66734
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
66735
|
+
return;
|
|
66736
|
+
}
|
|
66737
|
+
|
|
66738
|
+
const path = evt.composedPath();
|
|
66739
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
66740
|
+
this.hideBib("click");
|
|
66741
|
+
}
|
|
66742
|
+
};
|
|
66743
|
+
|
|
66744
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
66501
66745
|
}
|
|
66502
66746
|
|
|
66503
66747
|
cleanupHideHandlers() {
|
|
@@ -66513,6 +66757,11 @@ class AuroFloatingUI {
|
|
|
66513
66757
|
this.clickHandler = null;
|
|
66514
66758
|
}
|
|
66515
66759
|
|
|
66760
|
+
if (this.touchHandler) {
|
|
66761
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
66762
|
+
this.touchHandler = null;
|
|
66763
|
+
}
|
|
66764
|
+
|
|
66516
66765
|
if (this.keyDownHandler) {
|
|
66517
66766
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
66518
66767
|
this.keyDownHandler = null;
|
|
@@ -67305,6 +67554,89 @@ let p$2 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
|
|
|
67305
67554
|
|
|
67306
67555
|
var iconVersion$1 = '9.1.2';
|
|
67307
67556
|
|
|
67557
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
67558
|
+
// See LICENSE in the project root for license information.
|
|
67559
|
+
|
|
67560
|
+
// ---------------------------------------------------------------------
|
|
67561
|
+
|
|
67562
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
67563
|
+
|
|
67564
|
+
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
67565
|
+
|
|
67566
|
+
/* eslint-disable jsdoc/require-param */
|
|
67567
|
+
|
|
67568
|
+
/**
|
|
67569
|
+
* This will register a new custom element with the browser.
|
|
67570
|
+
* @param {String} name - The name of the custom element.
|
|
67571
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
67572
|
+
* @returns {void}
|
|
67573
|
+
*/
|
|
67574
|
+
registerComponent(name, componentClass) {
|
|
67575
|
+
if (!customElements.get(name)) {
|
|
67576
|
+
customElements.define(name, class extends componentClass {});
|
|
67577
|
+
}
|
|
67578
|
+
}
|
|
67579
|
+
|
|
67580
|
+
/**
|
|
67581
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
67582
|
+
* @returns {void}
|
|
67583
|
+
*/
|
|
67584
|
+
closestElement(
|
|
67585
|
+
selector, // selector like in .closest()
|
|
67586
|
+
base = this, // extra functionality to skip a parent
|
|
67587
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
67588
|
+
!el || el === document || el === window
|
|
67589
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
67590
|
+
: found
|
|
67591
|
+
? found // found a selector INside this element
|
|
67592
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
67593
|
+
) {
|
|
67594
|
+
return __Closest(base);
|
|
67595
|
+
}
|
|
67596
|
+
/* eslint-enable jsdoc/require-param */
|
|
67597
|
+
|
|
67598
|
+
/**
|
|
67599
|
+
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
67600
|
+
* @param {Object} elem - The element to check.
|
|
67601
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
67602
|
+
* @returns {void}
|
|
67603
|
+
*/
|
|
67604
|
+
handleComponentTagRename(elem, tagName) {
|
|
67605
|
+
const tag = tagName.toLowerCase();
|
|
67606
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
67607
|
+
|
|
67608
|
+
if (elemTag !== tag) {
|
|
67609
|
+
elem.setAttribute(tag, true);
|
|
67610
|
+
}
|
|
67611
|
+
}
|
|
67612
|
+
|
|
67613
|
+
/**
|
|
67614
|
+
* Validates if an element is a specific Auro component.
|
|
67615
|
+
* @param {Object} elem - The element to validate.
|
|
67616
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
67617
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
67618
|
+
*/
|
|
67619
|
+
elementMatch(elem, tagName) {
|
|
67620
|
+
const tag = tagName.toLowerCase();
|
|
67621
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
67622
|
+
|
|
67623
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
67624
|
+
}
|
|
67625
|
+
|
|
67626
|
+
/**
|
|
67627
|
+
* Gets the text content of a named slot.
|
|
67628
|
+
* @returns {String}
|
|
67629
|
+
* @private
|
|
67630
|
+
*/
|
|
67631
|
+
getSlotText(elem, name) {
|
|
67632
|
+
const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
|
|
67633
|
+
const nodes = slot?.assignedNodes({ flatten: true }) || [];
|
|
67634
|
+
const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
|
|
67635
|
+
|
|
67636
|
+
return text || null;
|
|
67637
|
+
}
|
|
67638
|
+
};
|
|
67639
|
+
|
|
67308
67640
|
/**
|
|
67309
67641
|
* Computes display state once per keydown event.
|
|
67310
67642
|
* Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
|
|
@@ -67772,7 +68104,7 @@ var tokensCss$2 = i$7`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
67772
68104
|
|
|
67773
68105
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
67774
68106
|
|
|
67775
|
-
let AuroLibraryRuntimeUtils$
|
|
68107
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
67776
68108
|
|
|
67777
68109
|
/* eslint-disable jsdoc/require-param */
|
|
67778
68110
|
|
|
@@ -67865,7 +68197,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
67865
68197
|
this.onDark = false;
|
|
67866
68198
|
this.hasTextContent = false;
|
|
67867
68199
|
|
|
67868
|
-
AuroLibraryRuntimeUtils$
|
|
68200
|
+
AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
67869
68201
|
}
|
|
67870
68202
|
|
|
67871
68203
|
static get styles() {
|
|
@@ -67931,7 +68263,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
67931
68263
|
*
|
|
67932
68264
|
*/
|
|
67933
68265
|
static register(name = "auro-helptext") {
|
|
67934
|
-
AuroLibraryRuntimeUtils$
|
|
68266
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroHelpText);
|
|
67935
68267
|
}
|
|
67936
68268
|
|
|
67937
68269
|
updated() {
|
|
@@ -67987,7 +68319,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
67987
68319
|
}
|
|
67988
68320
|
};
|
|
67989
68321
|
|
|
67990
|
-
var formkitVersion$1 = '
|
|
68322
|
+
var formkitVersion$1 = '202604082129';
|
|
67991
68323
|
|
|
67992
68324
|
class AuroElement extends i$4 {
|
|
67993
68325
|
static get properties() {
|
|
@@ -68198,7 +68530,7 @@ class AuroDropdown extends AuroElement {
|
|
|
68198
68530
|
/**
|
|
68199
68531
|
* @private
|
|
68200
68532
|
*/
|
|
68201
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
68533
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
|
|
68202
68534
|
|
|
68203
68535
|
/**
|
|
68204
68536
|
* @private
|
|
@@ -68616,7 +68948,7 @@ class AuroDropdown extends AuroElement {
|
|
|
68616
68948
|
*
|
|
68617
68949
|
*/
|
|
68618
68950
|
static register(name = "auro-dropdown") {
|
|
68619
|
-
AuroLibraryRuntimeUtils$
|
|
68951
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroDropdown);
|
|
68620
68952
|
}
|
|
68621
68953
|
|
|
68622
68954
|
/**
|
|
@@ -69740,7 +70072,7 @@ class AuroHelpText extends i$4 {
|
|
|
69740
70072
|
}
|
|
69741
70073
|
}
|
|
69742
70074
|
|
|
69743
|
-
var formkitVersion = '
|
|
70075
|
+
var formkitVersion = '202604082129';
|
|
69744
70076
|
|
|
69745
70077
|
var styleCss = i$7`.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);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, 0.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, 0.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, 0.625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-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, 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, 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}`;
|
|
69746
70078
|
|
|
@@ -69809,7 +70141,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
69809
70141
|
/**
|
|
69810
70142
|
* @private
|
|
69811
70143
|
*/
|
|
69812
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
70144
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
69813
70145
|
|
|
69814
70146
|
/**
|
|
69815
70147
|
* Generate unique names for dependency components.
|
|
@@ -70365,7 +70697,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
70365
70697
|
*
|
|
70366
70698
|
*/
|
|
70367
70699
|
static register(name = "auro-select") {
|
|
70368
|
-
AuroLibraryRuntimeUtils$
|
|
70700
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroSelect);
|
|
70369
70701
|
}
|
|
70370
70702
|
|
|
70371
70703
|
/**
|