@aurodesignsystem/auro-formkit 2.0.3-beta.1 → 2.1.0-beta.2
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/CHANGELOG.md +19 -0
- package/components/bibtemplate/dist/index.js +148 -8
- package/components/bibtemplate/dist/registered.js +148 -8
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/demo/readme.md +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/README.md +1 -1
- package/components/combobox/demo/api.min.js +644 -113
- package/components/combobox/demo/index.min.js +644 -113
- package/components/combobox/demo/readme.md +1 -1
- package/components/combobox/dist/index.js +511 -50
- package/components/combobox/dist/registered.js +511 -50
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.min.js +500 -39
- package/components/counter/demo/index.js +1 -0
- package/components/counter/demo/index.min.js +501 -39
- package/components/counter/demo/readme.md +1 -1
- package/components/counter/dist/index.js +500 -39
- package/components/counter/dist/registered.js +500 -39
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/api.md +30 -0
- package/components/datepicker/demo/api.min.js +1281 -207
- package/components/datepicker/demo/index.min.js +1281 -207
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/dist/auro-calendar.d.ts +5 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +7 -0
- package/components/datepicker/dist/buttonVersion.d.ts +2 -0
- package/components/datepicker/dist/index.js +1281 -207
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/dist/registered.js +1281 -207
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/api.min.js +81 -10
- package/components/dropdown/demo/index.min.js +81 -10
- package/components/dropdown/demo/readme.md +1 -1
- package/components/dropdown/dist/index.js +81 -10
- package/components/dropdown/dist/registered.js +81 -10
- package/components/form/README.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/input/README.md +1 -1
- package/components/input/demo/api.min.js +263 -13
- package/components/input/demo/index.min.js +263 -13
- package/components/input/demo/readme.md +1 -1
- package/components/input/dist/index.js +263 -13
- package/components/input/dist/registered.js +263 -13
- package/components/menu/README.md +1 -1
- package/components/menu/demo/api.min.js +77 -7
- package/components/menu/demo/index.min.js +77 -7
- package/components/menu/demo/readme.md +1 -1
- package/components/menu/dist/index.js +77 -7
- package/components/menu/dist/registered.js +77 -7
- package/components/radio/README.md +1 -1
- package/components/radio/demo/api.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/demo/readme.md +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/README.md +1 -1
- package/components/select/demo/api.min.js +319 -38
- package/components/select/demo/index.min.js +319 -38
- package/components/select/demo/readme.md +1 -1
- package/components/select/dist/index.js +240 -29
- package/components/select/dist/registered.js +240 -29
- package/package.json +2 -2
|
@@ -38,7 +38,7 @@ const a=Symbol.for(""),o$2=t=>{if(t?.r===a)return t?._$litStatic$},s$1=t=>({_$li
|
|
|
38
38
|
|
|
39
39
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
40
40
|
|
|
41
|
-
let AuroLibraryRuntimeUtils$
|
|
41
|
+
let AuroLibraryRuntimeUtils$9 = class AuroLibraryRuntimeUtils {
|
|
42
42
|
|
|
43
43
|
/* eslint-disable jsdoc/require-param */
|
|
44
44
|
|
|
@@ -107,7 +107,7 @@ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
|
107
107
|
|
|
108
108
|
let AuroFormValidation$1 = class AuroFormValidation {
|
|
109
109
|
constructor() {
|
|
110
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
110
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$9();
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
/**
|
|
@@ -416,7 +416,7 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
416
416
|
// See LICENSE in the project root for license information.
|
|
417
417
|
|
|
418
418
|
|
|
419
|
-
let AuroDependencyVersioning$
|
|
419
|
+
let AuroDependencyVersioning$5 = class AuroDependencyVersioning {
|
|
420
420
|
|
|
421
421
|
/**
|
|
422
422
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -775,7 +775,7 @@ class UtilitiesCalendarRender {
|
|
|
775
775
|
*/
|
|
776
776
|
renderCalendar(elem, month, year) {
|
|
777
777
|
return x`
|
|
778
|
-
<auro-calendar-month
|
|
778
|
+
<auro-formkit-calendar-month
|
|
779
779
|
id="${`month-${month}-${year}`}"
|
|
780
780
|
.disabledDays="${elem.disabledDays}"
|
|
781
781
|
.min="${elem.min}"
|
|
@@ -793,24 +793,24 @@ class UtilitiesCalendarRender {
|
|
|
793
793
|
@date-from-changed="${elem.dateFromChanged}"
|
|
794
794
|
@date-to-changed="${elem.dateToChanged}"
|
|
795
795
|
>
|
|
796
|
-
</auro-calendar-month>
|
|
796
|
+
</auro-formkit-calendar-month>
|
|
797
797
|
`;
|
|
798
798
|
}
|
|
799
799
|
}
|
|
800
800
|
|
|
801
|
-
var styleCss$
|
|
801
|
+
var styleCss$d = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[auro-input]::part(iconContainer){top:0;display:flex;height:100%;align-items:center}[auro-input]::part(accentIcon){transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}[auro-input]::part(helpText){display:none}[auro-input]::part(wrapper){border-width:0 !important}[auro-input]:not(:first-child)::part(wrapper)::after{position:absolute;left:50%;width:95%;height:1px;background-color:var(--ds-auro-datepicker-range-input-divider-color);content:"";transform:translateX(-50%)}.outerWrapper{position:relative;container:outerwrapper/inline-size}.dpTriggerContent{display:flex;flex-direction:column}.dpTriggerContent [auro-input]{flex:1}:host(:not([stacked])) .dpTriggerContent{flex-direction:row}:host(:not([stacked])) [auro-input]:first-of-type{margin-right:var(--ds-size-150, 0.75rem)}:host(:not([stacked])) [auro-input]:nth-child(2){margin-left:var(--ds-size-150, 0.75rem)}:host(:not([stacked])) [auro-input]:nth-child(2)::part(accentIcon){display:none}:host(:not([stacked])) [auro-input]:nth-child(2)::part(label){left:0;width:100%}:host(:not([stacked])) [auro-input]:nth-child(2)::part(input){padding-left:0}:host(:not([stacked])) [auro-input]:nth-child(2):before{position:absolute;top:13px;left:calc(var(--ds-size-150, 0.75rem)*-1);display:block;width:1px;height:2rem;content:""}:host(:not([stacked])) [auro-input]:not(:first-child)::part(wrapper):after{content:none}:host(:not([stacked])[range]) [auro-input]{max-width:50%}@media screen and (max-width: 576px){::part(popover){position:fixed !important;top:0 !important;left:0 !important;width:100vw !important;height:100vh !important;margin-bottom:var(--ds-size-200, 1rem);transform:unset !important}.calendarWrapper{display:flex;height:100dvh;flex-direction:row;justify-content:center}}`;
|
|
802
802
|
|
|
803
|
-
var colorCss$
|
|
803
|
+
var colorCss$d = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[auro-input]::part(wrapper){--ds-auro-input-border-color: transparent;--ds-auro-input-container-color: transparent}.dpTriggerContent [auro-input]:nth-child(2):before{background-color:var(--ds-auro-datepicker-range-input-divider-color)}.placeholderDate{color:var(--ds-auro-datepicker-placeholder-color)}`;
|
|
804
804
|
|
|
805
|
-
var tokensCss$
|
|
805
|
+
var tokensCss$a = i$6`:host{--ds-auro-datepicker-placeholder-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-datepicker-range-input-divider-color: var(--ds-color-border-primary-default, #585e67);--ds-auro-calendar-mobile-header-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-calendar-mobile-header-divider-color: var(--ds-color-border-divider-default, rgba(0, 0, 0, 0.12));--ds-auro-calendar-mobile-header-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-calendar-nav-btn-border-color: transparent;--ds-auro-calendar-nav-btn-chevron-color: var(--ds-color-icon-ui-primary-default-default, #2c67b5);--ds-auro-calendar-nav-btn-container-color: transparent;--ds-auro-calendar-month-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-calendar-month-divider-color: var(--ds-color-border-divider-default, rgba(0, 0, 0, 0.12));--ds-auro-calendar-month-header-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-calendar-cell-border-color: transparent;--ds-auro-calendar-cell-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-calendar-cell-container-color: transparent;--ds-auro-calendar-cell-in-range-color: var(--ds-color-container-secondary-default, #f7f7f7);--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-calendar-cell-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
806
806
|
|
|
807
|
-
var styleCss$
|
|
807
|
+
var styleCss$c = i$6`:host{--calendar-width: 336px;--mobile-footer-height: 150px;--mobile-header-height: 68px;height:100vh;height:100dvh}.calendars{display:flex;flex-direction:row}.calendarNavButtons{position:absolute;top:var(--ds-size-200, 1rem);right:var(--ds-size-50, 0.25rem);left:var(--ds-size-50, 0.25rem)}.calendarNavBtn{display:flex;width:var(--ds-size-500, 2.5rem);height:var(--ds-size-500, 2.5rem);align-items:center;justify-content:center;border-width:1px;border-style:solid;border-radius:50%;cursor:pointer}.prevMonth,.nextMonth{position:absolute;top:0}.prevMonth{left:0}.nextMonth{right:0}.headerActions{padding:0 var(--ds-size-200, 1rem)}.mobileHeader{width:100%;height:var(--mobile-header-height);z-index:1;align-items:center;flex-direction:row}.headerDateFrom{display:flex;height:var(--mobile-header-height);flex:1;flex-direction:column;justify-content:center;padding:0 var(--ds-size-150, 0.75rem) 0 var(--ds-size-200, 1rem)}.mobileDateLabel{font-size:var(--ds-text-body-size-xs, 0.75rem)}.headerDateTo{height:calc(var(--mobile-header-height) - var(--ds-size-300, 1.5rem));padding:var(--ds-size-300, 1.5rem) var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host(:not([noRange])) .headerDateTo{position:relative;display:flex;flex:1;flex-direction:column;justify-content:center}:host(:not([noRange])) .headerDateTo:after{position:absolute;top:calc(50% + 10px);left:0;display:block;width:1px;height:var(--ds-size-300, 1.5rem);content:"";transform:translateY(-50%)}.mobileFooter{display:none;width:100%;align-items:flex-end;flex-direction:column;justify-content:flex-end}.mobileFooterActions{position:relative;bottom:0;left:50%;display:none;width:calc(100% - var(--ds-size-200, 1rem)*2);align-items:flex-end;flex-direction:column;justify-content:flex-end;padding:var(--ds-size-150) calc(var(--ds-size-200, 1rem));transform:translateX(-50%)}.mobileFooterActions auro-button{width:100%}:host([isfullscreen]){width:100%;max-height:100dvh;overflow:hidden}:host([isfullscreen]) .prevMonth,:host([isfullscreen]) .nextMonth{display:none}:host([isfullscreen]) .mobileHeader,:host([isfullscreen]) .mobileFooter,:host([isfullscreen]) .mobileFooterActions{display:flex}:host([isfullscreen]) .calendarWrapper{display:flex;flex-direction:column}:host([isfullscreen]) .calendars{display:flex;flex-direction:column;flex:1;align-items:center;width:100%;overscroll-behavior:contain}:host([isfullscreen]) .calendars:after{display:block;width:100%;height:var(--mobile-footer-height);content:""}`;
|
|
808
808
|
|
|
809
|
-
var colorCss$
|
|
809
|
+
var colorCss$c = i$6`.calendarNavBtn{border-color:var(--ds-auro-calendar-nav-btn-border-color);background-color:var(--ds-auro-calendar-nav-btn-container-color);color:var(--ds-auro-calendar-nav-btn-chevron-color)}.calendarNavBtn:hover,.calendarNavBtn:focus{--ds-auro-calendar-nav-btn-border-color: var(--ds-color-border-ui-default-default, #2c67b5)}.calendarNavBtn:active{--ds-auro-calendar-nav-btn-border-color: var(--ds-color-border-ui-default-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-auro-calendar-nav-btn-border-color)}.mobileHeader{background-color:var(--ds-auro-calendar-mobile-header-container-color)}.mobileDateLabel{color:var(--ds-auro-calendar-mobile-header-text-color)}:host(:not([noRange])) .headerDateTo:after{background-color:var(--ds-auro-calendar-mobile-header-divider-color)}@media screen and (max-width: 576px){.calendarNavBtn{--ds-auro-calendar-nav-btn-border-color: var(--ds-color-border-ui-default-default, #2c67b5)}}`;
|
|
810
810
|
|
|
811
|
-
var styleCss$
|
|
811
|
+
var styleCss$b = i$6`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}:host{position:relative;display:block;width:calc(100% - var(--ds-size-200, 1rem) - var(--ds-size-200, 1rem));margin:0 var(--ds-size-200, 1rem)}@media screen and (min-width: 576px){:host{width:336px;padding:var(--ds-size-200, 1rem)}}@media screen and (min-width: 576px){:host(:not(:last-of-type)):after{position:absolute;top:var(--ds-size-200, 1rem);right:calc(-1*var(--ds-size-200, 1rem));height:calc(100% - var(--ds-size-200, 1rem) - var(--ds-size-200, 1rem));display:block;width:1px;content:""}}.header{display:flex;height:var(--ds-size-500, 2.5rem);margin-bottom:var(--ds-size-150, 0.75rem);align-items:center;flex-direction:row;text-align:center}.headerTitle{display:flex;align-items:center;flex:1;flex-direction:row;justify-content:center;font-size:var(--ds-text-heading-400-size, 1.25rem);font-weight:var(--ds-text-heading-400-weight, 300);line-height:var(--ds-text-heading-400-height, 1.625rem)}.headerTitle div:first-child{margin-right:var(--ds-size-100, 0.5rem)}.calendarNavBtn{position:relative;display:flex;width:var(--ds-size-500, 2.5rem);height:var(--ds-size-500, 2.5rem);align-items:center;justify-content:center;border-width:1px;border-style:solid;border-radius:50%;cursor:pointer}.table{width:100%;border-collapse:collapse}.thead{margin-bottom:var(--ds-size-100, 0.5rem)}.th{display:flex;flex:1;align-items:center;justify-content:center;font-weight:700}.tbody{width:100%;transition:all 0ms;transform:translateX(0)}@media screen and (min-width: 576px){.tbody{height:384px}}.td{flex:1;margin:0;padding:0}.tr{display:flex;flex-direction:row;width:100%}`;
|
|
812
812
|
|
|
813
|
-
var colorCss$
|
|
813
|
+
var colorCss$b = i$6`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}:host{background-color:var(--ds-auro-calendar-month-container-color)}@media screen and (min-width: 576px){:host(:not(:last-of-type)):after{background-color:var(--ds-auro-calendar-month-divider-color)}}.header{color:var(--ds-auro-calendar-month-header-color)}`;
|
|
814
814
|
|
|
815
815
|
/******************************************************************************
|
|
816
816
|
Copyright (c) Microsoft Corporation.
|
|
@@ -6802,7 +6802,7 @@ __decorate([n({ type: Array })], RangeDatepickerCell.prototype, "disabledDays",
|
|
|
6802
6802
|
__decorate([n({ type: String })], RangeDatepickerCell.prototype, "hoveredDate", void 0);
|
|
6803
6803
|
__decorate([n({ type: Boolean })], RangeDatepickerCell.prototype, "isCurrentDate", void 0);
|
|
6804
6804
|
__decorate([n({ type: Object })], RangeDatepickerCell.prototype, "locale", null);
|
|
6805
|
-
AuroLibraryRuntimeUtils$
|
|
6805
|
+
AuroLibraryRuntimeUtils$9.prototype.registerComponent('wc-range-datepicker-cell', RangeDatepickerCell);
|
|
6806
6806
|
|
|
6807
6807
|
class Day {
|
|
6808
6808
|
constructor(date) {
|
|
@@ -7320,7 +7320,7 @@ __decorate([n({ type: Array })], RangeDatepickerCalendar.prototype, "yearsList",
|
|
|
7320
7320
|
__decorate([n({ type: Array })], RangeDatepickerCalendar.prototype, "monthsList", void 0);
|
|
7321
7321
|
__decorate([n({ type: Array })], RangeDatepickerCalendar.prototype, "dayNamesOfTheWeek", void 0);
|
|
7322
7322
|
__decorate([n({ type: Array })], RangeDatepickerCalendar.prototype, "daysOfMonth", void 0);
|
|
7323
|
-
AuroLibraryRuntimeUtils$
|
|
7323
|
+
AuroLibraryRuntimeUtils$9.prototype.registerComponent('wc-range-datepicker-calendar', RangeDatepickerCalendar);
|
|
7324
7324
|
|
|
7325
7325
|
/**
|
|
7326
7326
|
* @license
|
|
@@ -7335,9 +7335,9 @@ const t$1={ATTRIBUTE:1,CHILD:2},e$1=t=>(...e)=>({_$litDirective$:t,values:e});le
|
|
|
7335
7335
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7336
7336
|
*/const e=e$1(class extends i$1{constructor(t){if(super(t),t.type!==t$1.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T}});
|
|
7337
7337
|
|
|
7338
|
-
var styleCss$
|
|
7338
|
+
var styleCss$a = i$6`@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;font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-text-body-size-default, 1rem);user-select:none}.day.disabled{cursor:default !important}.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;font-size:var(--ds-text-body-size-xxs, 0.625rem)}::slotted([slot^=date_]){position:absolute;top:80%;left:50%;width:80%;overflow:hidden;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);font-size:var(--ds-text-body-size-lg, 1.125rem)}.day:hover{cursor:pointer}.dateSlot{font-size:var(--ds-text-body-size-xs, 0.75rem)}}`;
|
|
7339
7339
|
|
|
7340
|
-
var colorCss$
|
|
7340
|
+
var colorCss$a = i$6`:host ::slotted([slot^=date_]){color:var(--ds-auro-calendar-cell-price-text-color)}:host ::slotted([slot^=date_][highlight]){--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-success-default, #0b6f4d)}.day{border-color:var(--ds-auro-calendar-cell-border-color);background-color:var(--ds-auro-calendar-cell-container-color);color:var(--ds-auro-calendar-cell-text-color)}.day.selected{--ds-auro-calendar-border-color: var(--ds-color-border-ui-active-default, #225296);--ds-auro-calendar-cell-container-color: var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-calendar-cell-text-color: var(--ds-color-text-primary-inverse, #ffffff);box-shadow:var(--ds-auro-calendar-boxshadow-color)}.day.selected:hover{--ds-auro-calendar-cell-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-calendar-cell-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:unset}.day.selected:not(:hover){--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-primary-inverse, #ffffff)}.day:hover{--ds-auro-calendar-cell-container-color: var(--ds-color-brand-neutral-200, #e4e8ec);--ds-auro-calendar-cell-text-color: var(--ds-color-text-primary-default, #2a2a2a)}.day.disabled{--ds-auro-calendar-cell-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-calendar-cell-container-color: var(--ds-color-container-primary-default, #ffffff)}.day.inRange:before,.day.rangeDepartDate:before,.day.rangeReturnDate:before,.day.lastHoveredDate:before{background-color:var(--ds-auro-calendar-cell-in-range-color)}.day.sameDateTrip:before{--ds-auro-calendar-cell-in-range-color: transparent}:host([disabled]){--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}`;
|
|
7341
7341
|
|
|
7342
7342
|
/**
|
|
7343
7343
|
* @license
|
|
@@ -7345,11 +7345,11 @@ var colorCss$8 = i$6`:host ::slotted([slot^=date_]){color:var(--ds-auro-calendar
|
|
|
7345
7345
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7346
7346
|
*/let r$1 = class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}};r$1._$litElement$=true,r$1["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$1});const i=globalThis.litElementPolyfillSupport;i?.({LitElement:r$1});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
7347
7347
|
|
|
7348
|
-
var styleCss$7 = i$6`:root{--ds-asset-font-circular-family-name: "AS Circular";--ds-asset-font-circular-filename: "ASCircularWeb";--ds-asset-font-circular-weight-light: "-Light";--ds-asset-font-circular-weight-medium: "-Medium";--ds-asset-font-circular-weight-book: "-Book";--ds-border-radius: 0.375rem;--ds-size-25: 0.125rem;--ds-size-50: 0.25rem;--ds-size-75: 0.375rem;--ds-size-100: 0.5rem;--ds-size-150: 0.75rem;--ds-size-200: 1rem;--ds-size-250: 1.25rem;--ds-size-300: 1.5rem;--ds-size-400: 2rem;--ds-size-500: 2.5rem;--ds-size-600: 3rem;--ds-size-700: 3.5rem;--ds-size-800: 4rem;--ds-size-900: 4.5rem;--ds-size-1000: 5rem;--ds-unitless-scale-20: 0.25;--ds-unitless-scale-50: 0.5;--ds-unitless-scale-100: 1;--ds-unitless-scale-140: 1.4;--ds-unitless-scale-150: 1.5;--ds-unitless-scale-200: 2;--ds-unitless-scale-300: 3;--ds-unitless-scale-350: 3.5;--ds-animation-default-property: all;--ds-animation-default-duration: 0.3s;--ds-animation-default-timing: ease-out;--ds-depth-overlay: 200;--ds-depth-modal: 300;--ds-depth-tooltip: 400;--ds-elevation-100: 0px 0px 5px rgba(0, 0, 0, 0.15);--ds-elevation-200: 0px 0px 10px rgba(0, 0, 0, 0.15);--ds-elevation-300: 0px 0px 15px rgba(0, 0, 0, 0.2);--ds-grid-breakpoint-xs: 320px;--ds-grid-breakpoint-sm: 576px;--ds-grid-breakpoint-md: 768px;--ds-grid-breakpoint-lg: 1024px;--ds-grid-breakpoint-xl: 1232px;--ds-grid-column-xs: 6;--ds-grid-column-sm: 12;--ds-grid-column-md: 12;--ds-grid-column-lg: 12;--ds-grid-column-xl: 12;--ds-grid-gutter-xs: 0.5rem;--ds-grid-gutter-sm: 1rem;--ds-grid-gutter-md: 1.5rem;--ds-grid-gutter-lg: 1.5rem;--ds-grid-gutter-xl: 2rem;--ds-grid-margin-xs: 1rem;--ds-grid-margin-sm: 1rem;--ds-grid-margin-md: 1.5rem;--ds-grid-margin-lg: 2rem;--ds-grid-margin-xl: 2rem;--ds-font-family-default: "AS Circular", Helvetica Neue, Arial, sans-serif;--ds-font-family-mono: Menlo, Monaco, Consolas, "Courier New", monospace;--ds-text-heading-300-weight: 300;--ds-text-heading-300-px: 18px;--ds-text-heading-300-size: 1.125rem;--ds-text-heading-300-height: 1.625rem;--ds-text-heading-300-height-px: 26px;--ds-text-heading-400-weight: 300;--ds-text-heading-400-px: 20px;--ds-text-heading-400-size: 1.25rem;--ds-text-heading-400-height: 1.625rem;--ds-text-heading-400-height-px: 26px;--ds-text-heading-500-weight: 300;--ds-text-heading-500-px-breakpoint-sm: 22px;--ds-text-heading-500-px-breakpoint-md: 24px;--ds-text-heading-500-px-breakpoint-lg: 24px;--ds-text-heading-500-size-breakpoint-sm: 1.375rem;--ds-text-heading-500-size-breakpoint-md: 1.5rem;--ds-text-heading-500-size-breakpoint-lg: 1.5rem;--ds-text-heading-500-height-breakpoint-sm: 1.625rem;--ds-text-heading-500-height-breakpoint-px-sm: 26px;--ds-text-heading-500-height-breakpoint-md: 1.875rem;--ds-text-heading-500-height-breakpoint-px-md: 30px;--ds-text-heading-500-height-breakpoint-lg: 2rem;--ds-text-heading-500-height-breakpoint-px-lg: 32px;--ds-text-heading-600-weight: 300;--ds-text-heading-600-px-breakpoint-sm: 26px;--ds-text-heading-600-px-breakpoint-md: 28px;--ds-text-heading-600-px-breakpoint-lg: 28px;--ds-text-heading-600-size-breakpoint-sm: 1.625rem;--ds-text-heading-600-size-breakpoint-md: 1.75rem;--ds-text-heading-600-size-breakpoint-lg: 1.75rem;--ds-text-heading-600-height-breakpoint-sm: 1.875rem;--ds-text-heading-600-height-breakpoint-px-sm: 30px;--ds-text-heading-600-height-breakpoint-md: 2.125rem;--ds-text-heading-600-height-breakpoint-px-md: 34px;--ds-text-heading-600-height-breakpoint-lg: 2.25rem;--ds-text-heading-600-height-breakpoint-px-lg: 36px;--ds-text-heading-700-weight: 500;--ds-text-heading-700-px-breakpoint-sm: 28px;--ds-text-heading-700-px-breakpoint-md: 32px;--ds-text-heading-700-px-breakpoint-lg: 36px;--ds-text-heading-700-size-breakpoint-sm: 1.75rem;--ds-text-heading-700-size-breakpoint-md: 2rem;--ds-text-heading-700-size-breakpoint-lg: 2.25rem;--ds-text-heading-700-height-breakpoint-sm: 2.125rem;--ds-text-heading-700-height-breakpoint-px-sm: 34px;--ds-text-heading-700-height-breakpoint-md: 2.375rem;--ds-text-heading-700-height-breakpoint-px-md: 38px;--ds-text-heading-700-height-breakpoint-lg: 2.75rem;--ds-text-heading-700-height-breakpoint-px-lg: 44px;--ds-text-heading-800-weight: 500;--ds-text-heading-800-px-breakpoint-sm: 32px;--ds-text-heading-800-px-breakpoint-md: 36px;--ds-text-heading-800-px-breakpoint-lg: 40px;--ds-text-heading-800-size-breakpoint-sm: 2rem;--ds-text-heading-800-size-breakpoint-md: 2.25rem;--ds-text-heading-800-size-breakpoint-lg: 2.5rem;--ds-text-heading-800-height-breakpoint-sm: 2.375rem;--ds-text-heading-800-height-breakpoint-px-sm: 38px;--ds-text-heading-800-height-breakpoint-md: 2.625rem;--ds-text-heading-800-height-breakpoint-px-md: 42px;--ds-text-heading-800-height-breakpoint-lg: 3rem;--ds-text-heading-800-height-breakpoint-px-lg: 48px;--ds-text-heading-default-weight: 500;--ds-text-heading-default-margin: 0;--ds-text-heading-default-spacing: -0.2px;--ds-text-heading-medium-weight: 300;--ds-text-heading-display-weight: 100;--ds-text-heading-display-px-breakpoint-sm: 44px;--ds-text-heading-display-px-breakpoint-md: 48px;--ds-text-heading-display-px-breakpoint-lg: 56px;--ds-text-heading-display-size-breakpoint-sm: 2.75rem;--ds-text-heading-display-size-breakpoint-md: 3rem;--ds-text-heading-display-size-breakpoint-lg: 3.5rem;--ds-text-heading-display-height-breakpoint-sm: 3.375rem;--ds-text-heading-display-height-breakpoint-px-sm: 54px;--ds-text-heading-display-height-breakpoint-md: 3.75rem;--ds-text-heading-display-height-breakpoint-px-md: 60px;--ds-text-heading-display-height-breakpoint-lg: 4.25rem;--ds-text-heading-display-height-breakpoint-px-lg: 68px;--ds-text-body-default-weight: 500;--ds-text-body-size-xxs: 0.625rem;--ds-text-body-size-xs: 0.75rem;--ds-text-body-size-sm: 0.875rem;--ds-text-body-size-default: 1rem;--ds-text-body-size-lg: 1.125rem;--ds-text-body-height-xs: 1rem;--ds-text-body-height-sm: 1.25rem;--ds-text-body-height-default: 1.5rem;--ds-text-body-height-lg: 1.625rem;--ds-color-alert-notification-default: #0074c8;--ds-color-alert-warning-default: #de750c;--ds-color-alert-error-default: #df0b37;--ds-color-alert-success-default: #00805d;--ds-color-alert-advisory-default: #fff0cd;--ds-color-alert-bkg-success-default: #ddf6e8;--ds-color-alert-bkg-error-default: #ffedf1;--ds-color-background-primary-100-default: #ffffff;--ds-color-background-primary-100-inverse: #0e2b4f;--ds-color-background-primary-200-default: #f7f7f7;--ds-color-background-primary-200-inverse: #194069;--ds-color-background-primary-300-default: #e4e8ec;--ds-color-background-primary-300-inverse: #265688;--ds-color-background-primary-400-default: #dddddd;--ds-color-background-primary-400-inverse: #326aa5;--ds-color-background-success-default: #eef8f5;--ds-color-background-success-inverse: #173c30;--ds-color-background-error-default: #fff4f4;--ds-color-background-error-inverse: #74110e;--ds-color-background-warning-default: #fef8e9;--ds-color-background-warning-inverse: #5d4514;--ds-color-background-info-default: #f0f7fd;--ds-color-background-info-inverse: #193d73;--ds-color-background-subtle-default: #f7f8fa;--ds-color-background-subtle-inverse: #2a2a2a;--ds-color-background-accent-default: #ebfafd;--ds-color-background-accent-inverse: #275b72;--ds-color-background-emphasis-default: #c9e0f7;--ds-color-background-emphasis-inverse: #225296;--ds-color-background-scrimmed-default: rgba(0, 0, 0, 0.5);--ds-color-background-lightest: #ffffff;--ds-color-background-lighter: #f7f7f7;--ds-color-background-darker: #01426a;--ds-color-background-darkest: #00274a;--ds-color-background-gradient-default: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));--ds-color-base-white: #ffffff;--ds-color-base-white-100: rgba(255, 255, 255, 0.03);--ds-color-base-white-200: rgba(255, 255, 255, 0.06);--ds-color-base-white-300: rgba(255, 255, 255, 0.12);--ds-color-base-white-400: rgba(255, 255, 255, 0.25);--ds-color-base-white-500: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-50: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-40: rgba(255, 255, 255, 0.4);--ds-color-base-white-opacity-0: rgba(255, 255, 255, 0);--ds-color-base-black: #000000;--ds-color-base-black-100: rgba(0, 0, 0, 0.03);--ds-color-base-black-200: rgba(0, 0, 0, 0.06);--ds-color-base-black-300: rgba(0, 0, 0, 0.12);--ds-color-base-black-400: rgba(0, 0, 0, 0.25);--ds-color-base-black-500: rgba(0, 0, 0, 0.5);--ds-color-base-black-opacity-15: rgba(0, 0, 0, 0.15);--ds-color-base-blue-100: #f0f7fd;--ds-color-base-blue-200: #c9e0f7;--ds-color-base-blue-300: #a0c9f1;--ds-color-base-blue-400: #79b2ec;--ds-color-base-blue-500: #5398e6;--ds-color-base-blue-600: #3b7fd2;--ds-color-base-blue-700: #2c67b5;--ds-color-base-blue-800: #225296;--ds-color-base-blue-900: #193d73;--ds-color-base-blue-1000: #102a51;--ds-color-base-cyan-100: #ebfafd;--ds-color-base-cyan-200: #a8e9f7;--ds-color-base-cyan-300: #6ad5ef;--ds-color-base-cyan-400: #56bbde;--ds-color-base-cyan-500: #4aa2c7;--ds-color-base-cyan-600: #3e89aa;--ds-color-base-cyan-700: #32718e;--ds-color-base-cyan-800: #275b72;--ds-color-base-cyan-900: #1d4658;--ds-color-base-cyan-1000: #12303d;--ds-color-base-error-100: #fff4f4;--ds-color-base-error-200: #f9aca6;--ds-color-base-error-300: #f16359;--ds-color-base-error-400: #cc1816;--ds-color-base-error-500: #74110e;--ds-color-base-gray-100: #f7f7f7;--ds-color-base-gray-200: #d4d4d4;--ds-color-base-gray-300: #c5c5c5;--ds-color-base-gray-400: #adadad;--ds-color-base-gray-500: #959595;--ds-color-base-gray-600: #7e7e7e;--ds-color-base-gray-700: #676767;--ds-color-base-gray-800: #525252;--ds-color-base-gray-900: #3d3d3d;--ds-color-base-gray-1000: #2a2a2a;--ds-color-base-green-100: #f3faf7;--ds-color-base-green-200: #000000;--ds-color-base-green-300: #addbca;--ds-color-base-green-400: #7ec6ac;--ds-color-base-green-500: #51ae8c;--ds-color-base-green-600: #459578;--ds-color-base-green-700: #3a7d64;--ds-color-base-green-800: #306854;--ds-color-base-green-900: #285545;--ds-color-base-green-1000: #1f4436;--ds-color-base-lime-100: #f5fbeb;--ds-color-base-lime-200: #d8efb4;--ds-color-base-lime-300: #badd81;--ds-color-base-lime-400: #a2c270;--ds-color-base-lime-500: #8ca761;--ds-color-base-lime-600: #778f53;--ds-color-base-lime-700: #647845;--ds-color-base-lime-800: #53643a;--ds-color-base-lime-900: #44522f;--ds-color-base-lime-1000: #364126;--ds-color-base-navy-100: #f2f7fb;--ds-color-base-navy-200: #cfe0ef;--ds-color-base-navy-300: #acc9e2;--ds-color-base-navy-400: #89b2d4;--ds-color-base-navy-500: #6899c6;--ds-color-base-navy-600: #4a82b7;--ds-color-base-navy-700: #326aa5;--ds-color-base-navy-800: #265688;--ds-color-base-navy-900: #194069;--ds-color-base-navy-1000: #0e2b4f;--ds-color-base-neutral-100: #f7f8fa;--ds-color-base-neutral-200: #e4e8ec;--ds-color-base-neutral-300: #ccd2db;--ds-color-base-neutral-400: #afb9c6;--ds-color-base-neutral-500: #939fad;--ds-color-base-neutral-600: #7e8894;--ds-color-base-neutral-700: #6a717c;--ds-color-base-neutral-800: #585e67;--ds-color-base-neutral-900: #484d55;--ds-color-base-neutral-1000: #393d43;--ds-color-base-pink-100: #fff7f8;--ds-color-base-pink-200: #fde0e6;--ds-color-base-pink-300: #fcc2ce;--ds-color-base-pink-400: #fa9db0;--ds-color-base-pink-500: #f7738e;--ds-color-base-pink-600: #e45472;--ds-color-base-pink-700: #bf475f;--ds-color-base-pink-800: #a03b50;--ds-color-base-pink-900: #833142;--ds-color-base-pink-1000: #692734;--ds-color-base-purple-100: #fbf8fe;--ds-color-base-purple-200: #ede3fd;--ds-color-base-purple-300: #ddc9fb;--ds-color-base-purple-400: #c9a9f8;--ds-color-base-purple-500: #b588f5;--ds-color-base-purple-600: #a268f3;--ds-color-base-purple-700: #8d47f0;--ds-color-base-purple-800: #7633d7;--ds-color-base-purple-900: #622ab2;--ds-color-base-purple-1000: #4e228d;--ds-color-base-red-100: #fef7f5;--ds-color-base-red-200: #fae2da;--ds-color-base-red-300: #f5c7b8;--ds-color-base-red-400: #f0a68d;--ds-color-base-red-500: #e9815e;--ds-color-base-red-600: #e35c2f;--ds-color-base-red-700: #d03a08;--ds-color-base-red-800: #ae3007;--ds-color-base-red-900: #902806;--ds-color-base-red-1000: #732005;--ds-color-base-success-100: #eef8f5;--ds-color-base-success-200: #8eceb9;--ds-color-base-success-300: #40a080;--ds-color-base-success-400: #0b6f4d;--ds-color-base-success-500: #173c30;--ds-color-base-turquoise-100: #f7fafa;--ds-color-base-turquoise-200: #dfe9ea;--ds-color-base-turquoise-300: #c2d5d6;--ds-color-base-turquoise-400: #9fbdbe;--ds-color-base-turquoise-500: #7ba5a6;--ds-color-base-turquoise-600: #5c8f91;--ds-color-base-turquoise-700: #3d7a7d;--ds-color-base-turquoise-800: #21686a;--ds-color-base-turquoise-900: #085659;--ds-color-base-turquoise-1000: #004447;--ds-color-base-yellow-100: #fff9df;--ds-color-base-yellow-200: #ffe87e;--ds-color-base-yellow-300: #f9ce06;--ds-color-base-yellow-400: #d6b622;--ds-color-base-yellow-500: #b49d35;--ds-color-base-yellow-600: #96873e;--ds-color-base-yellow-700: #7c7140;--ds-color-base-yellow-800: #665e3d;--ds-color-base-yellow-900: #524e38;--ds-color-base-yellow-1000: #403d30;--ds-color-base-warning-100: #fef8e9;--ds-color-base-warning-200: #f2c153;--ds-color-base-warning-300: #c49432;--ds-color-base-warning-400: #8e6b22;--ds-color-base-warning-500: #5d4514;--ds-color-state-error-100: #ff999b;--ds-color-state-error-500: #df0b37;--ds-color-state-success-100: #69cf96;--ds-color-state-success-500: #00805d;--ds-color-state-warning-500: #de750c;--ds-color-border-primary-default: #585e67;--ds-color-border-primary-inverse: #afb9c6;--ds-color-border-secondary-default: #939fad;--ds-color-border-secondary-inverse: #7e8894;--ds-color-border-tertiary-default: #dddddd;--ds-color-border-tertiary-inverse: #676767;--ds-color-border-error-default: #cc1816;--ds-color-border-error-inverse: #f9aca6;--ds-color-border-divider-default: rgba(0, 0, 0, 0.12);--ds-color-border-divider-inverse: rgba(255, 255, 255, 0.25);--ds-color-border-subtle-default: #f0f7fd;--ds-color-border-subtle-inverse: #326aa5;--ds-color-border-emphasis-default: #194069;--ds-color-border-emphasis-inverse: #f2f7fb;--ds-color-border-accent-default: #badd81;--ds-color-border-accent-inverse: #a2c270;--ds-color-border-success-default: #0b6f4d;--ds-color-border-success-inverse: #8eceb9;--ds-color-border-warning-default: #c49432;--ds-color-border-warning-inverse: #f2c153;--ds-color-border-info-default: #326aa5;--ds-color-border-info-inverse: #89b2d4;--ds-color-border-ui-default-default: #2c67b5;--ds-color-border-ui-default-inverse: #56bbde;--ds-color-border-ui-hover-default: #193d73;--ds-color-border-ui-hover-inverse: #a8e9f7;--ds-color-border-ui-active-default: #225296;--ds-color-border-ui-active-inverse: #6ad5ef;--ds-color-border-ui-focus-default: #2c67b5;--ds-color-border-ui-focus-inverse: #56bbde;--ds-color-border-ui-disabled-default: #adadad;--ds-color-border-ui-disabled-inverse: #7e7e7e;--ds-color-border-active-default: #0074c8;--ds-color-border-active-inverse: #00cff0;--ds-color-border-disabled-default: #d4d4d4;--ds-color-border-focus-default: #959595;--ds-color-brand-neutral-100: #f7f8fa;--ds-color-brand-neutral-200: #e4e8ec;--ds-color-brand-neutral-300: #ccd2db;--ds-color-brand-neutral-400: #afb9c6;--ds-color-brand-neutral-500: #939fad;--ds-color-brand-neutral-600: #7e8894;--ds-color-brand-neutral-700: #6a717c;--ds-color-brand-neutral-800: #585e67;--ds-color-brand-neutral-900: #484d55;--ds-color-brand-neutral-1000: #393d43;--ds-color-brand-gray-100: #f7f7f7;--ds-color-brand-gray-200: #dddddd;--ds-color-brand-gray-300: #c5c5c5;--ds-color-brand-gray-400: #adadad;--ds-color-brand-gray-500: #959595;--ds-color-brand-gray-600: #7e7e7e;--ds-color-brand-gray-700: #676767;--ds-color-brand-gray-800: #525252;--ds-color-brand-gray-900: #3d3d3d;--ds-color-brand-gray-1000: #2a2a2a;--ds-color-brand-red-100: #fef7f5;--ds-color-brand-red-200: #fae2da;--ds-color-brand-red-300: #f5c7b8;--ds-color-brand-red-400: #f0a68d;--ds-color-brand-red-500: #e9815e;--ds-color-brand-red-600: #e35c2f;--ds-color-brand-red-700: #d03a08;--ds-color-brand-red-800: #ae3007;--ds-color-brand-red-900: #902806;--ds-color-brand-red-1000: #732005;--ds-color-brand-yellow-100: #fff9df;--ds-color-brand-yellow-200: #ffe87e;--ds-color-brand-yellow-300: #f9ce06;--ds-color-brand-yellow-400: #d6b622;--ds-color-brand-yellow-500: #b49d35;--ds-color-brand-yellow-600: #96873e;--ds-color-brand-yellow-700: #7c7140;--ds-color-brand-yellow-800: #665e3d;--ds-color-brand-yellow-900: #524e38;--ds-color-brand-yellow-1000: #403d30;--ds-color-brand-lime-100: #f5fbeb;--ds-color-brand-lime-200: #d8efb4;--ds-color-brand-lime-300: #badd81;--ds-color-brand-lime-400: #a2c270;--ds-color-brand-lime-500: #8ca761;--ds-color-brand-lime-600: #778f53;--ds-color-brand-lime-700: #647845;--ds-color-brand-lime-800: #53643a;--ds-color-brand-lime-900: #44522f;--ds-color-brand-lime-1000: #364126;--ds-color-brand-green-100: #f3faf7;--ds-color-brand-green-200: #d4ece4;--ds-color-brand-green-300: #addbca;--ds-color-brand-green-400: #7ec6ac;--ds-color-brand-green-500: #51ae8c;--ds-color-brand-green-600: #459578;--ds-color-brand-green-700: #3a7d64;--ds-color-brand-green-800: #306854;--ds-color-brand-green-900: #285545;--ds-color-brand-green-1000: #1f4436;--ds-color-brand-turquoise-100: #f7fafa;--ds-color-brand-turquoise-200: #dfe9ea;--ds-color-brand-turquoise-300: #c2d5d6;--ds-color-brand-turquoise-400: #9fbdbe;--ds-color-brand-turquoise-500: #7ba5a6;--ds-color-brand-turquoise-600: #5c8f91;--ds-color-brand-turquoise-700: #3d7a7d;--ds-color-brand-turquoise-800: #21686a;--ds-color-brand-turquoise-900: #085659;--ds-color-brand-turquoise-1000: #004447;--ds-color-brand-cyan-100: #ebfafd;--ds-color-brand-cyan-200: #a8e9f7;--ds-color-brand-cyan-300: #6ad5ef;--ds-color-brand-cyan-400: #56bbde;--ds-color-brand-cyan-500: #4aa2c7;--ds-color-brand-cyan-600: #3e89aa;--ds-color-brand-cyan-700: #32718e;--ds-color-brand-cyan-800: #275b72;--ds-color-brand-cyan-900: #1d4658;--ds-color-brand-cyan-1000: #12303d;--ds-color-brand-blue-100: #f0f7fd;--ds-color-brand-blue-200: #c9e0f7;--ds-color-brand-blue-300: #a0c9f1;--ds-color-brand-blue-400: #79b2ec;--ds-color-brand-blue-500: #5398e6;--ds-color-brand-blue-600: #3b7fd2;--ds-color-brand-blue-700: #2c67b5;--ds-color-brand-blue-800: #225296;--ds-color-brand-blue-900: #193d73;--ds-color-brand-blue-1000: #102a51;--ds-color-brand-navy-100: #f2f7fb;--ds-color-brand-navy-200: #cfe0ef;--ds-color-brand-navy-300: #acc9e2;--ds-color-brand-navy-400: #89b2d4;--ds-color-brand-navy-500: #6899c6;--ds-color-brand-navy-600: #4a82b7;--ds-color-brand-navy-700: #326aa5;--ds-color-brand-navy-800: #265688;--ds-color-brand-navy-900: #194069;--ds-color-brand-navy-1000: #0e2b4f;--ds-color-brand-purple-100: #fbf8fe;--ds-color-brand-purple-200: #ede3fd;--ds-color-brand-purple-300: #ddc9fb;--ds-color-brand-purple-400: #c9a9f8;--ds-color-brand-purple-500: #b588f5;--ds-color-brand-purple-600: #a268f3;--ds-color-brand-purple-700: #8d47f0;--ds-color-brand-purple-800: #7633d7;--ds-color-brand-purple-900: #622ab2;--ds-color-brand-purple-1000: #4e228d;--ds-color-brand-pink-100: #fff7f8;--ds-color-brand-pink-200: #fde0e6;--ds-color-brand-pink-300: #fcc2ce;--ds-color-brand-pink-400: #fa9db0;--ds-color-brand-pink-500: #f7738e;--ds-color-brand-pink-600: #e45472;--ds-color-brand-pink-700: #bf475f;--ds-color-brand-pink-800: #a03b50;--ds-color-brand-pink-900: #833142;--ds-color-brand-pink-1000: #692734;--ds-color-brand-midnight-100: #c1daf0;--ds-color-brand-midnight-200: #569ed7;--ds-color-brand-midnight-300: #156fad;--ds-color-brand-midnight-400: #01426a;--ds-color-brand-midnight-500: #00274a;--ds-color-brand-atlas-100: #cde6ff;--ds-color-brand-atlas-200: #6bb7fb;--ds-color-brand-atlas-300: #2492eb;--ds-color-brand-atlas-400: #0074c8;--ds-color-brand-atlas-500: #054687;--ds-color-brand-atlas-400-opacity-20: rgba(0, 116, 200, 0.2);--ds-color-brand-breeze-100: #c0f7ff;--ds-color-brand-breeze-200: #5de3f7;--ds-color-brand-breeze-300: #00cff0;--ds-color-brand-breeze-400: #099dc5;--ds-color-brand-breeze-500: #0b5575;--ds-color-brand-breeze-300-opacity-30: rgba(0, 207, 240, 0.3);--ds-color-brand-tropical-100: #e2ffcd;--ds-color-brand-tropical-200: #d0fba6;--ds-color-brand-tropical-300: #c0e585;--ds-color-brand-tropical-400: #91be62;--ds-color-brand-tropical-500: #5e8741;--ds-color-brand-alpine-100: #bcaae6;--ds-color-brand-alpine-200: #9e73ea;--ds-color-brand-alpine-300: #8439ef;--ds-color-brand-alpine-400: #631db8;--ds-color-brand-alpine-500: #39115c;--ds-color-brand-flamingo-100: #ffebee;--ds-color-brand-flamingo-200: #ffc0ca;--ds-color-brand-flamingo-300: #ff94a7;--ds-color-brand-flamingo-400: #f65b7b;--ds-color-brand-flamingo-500: #b82b47;--ds-color-brand-canyon-100: #ffcab6;--ds-color-brand-canyon-200: #f99574;--ds-color-brand-canyon-300: #f26135;--ds-color-brand-canyon-400: #de3e09;--ds-color-brand-canyon-500: #b83302;--ds-color-brand-goldcoast-100: #fff0cd;--ds-color-brand-goldcoast-200: #ffdb67;--ds-color-brand-goldcoast-300: #ffd200;--ds-color-brand-goldcoast-400: #e5ad07;--ds-color-brand-goldcoast-500: #b88624;--ds-color-brand-goldgray-100: #c5c1bf;--ds-color-brand-goldgray-200: #726e6c;--ds-color-brand-gold-100: #ccbc94;--ds-color-brand-gold-200: #7f682e;--ds-color-brand-emerald: #139142;--ds-color-brand-sapphire: #015daa;--ds-color-brand-ruby: #a41d4a;--ds-color-brand-lounge: #01426a;--ds-color-brand-loungeplus: #53b390;--ds-color-container-accent-default: #f5fbeb;--ds-color-container-accent-inverse: #badd81;--ds-color-container-emphasis-default: #ebfafd;--ds-color-container-emphasis-inverse: #6ad5ef;--ds-color-container-error-default: #fff4f4;--ds-color-container-error-inverse: #74110e;--ds-color-container-info-default: #f0f7fd;--ds-color-container-info-inverse: #193d73;--ds-color-container-primary-default: #ffffff;--ds-color-container-primary-inverse: #0e2b4f;--ds-color-container-secondary-default: #f7f7f7;--ds-color-container-secondary-inverse: #194069;--ds-color-container-subtle-default: #f7f8fa;--ds-color-container-subtle-inverse: #393d43;--ds-color-container-success-default: #eef8f5;--ds-color-container-success-inverse: #173c30;--ds-color-container-tertiary-default: rgba(0, 0, 0, 0.03);--ds-color-container-tertiary-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-warning-default: #fef8e9;--ds-color-container-warning-inverse: #5d4514;--ds-color-container-ui-primary-active-default: #225296;--ds-color-container-ui-primary-active-inverse: #6ad5ef;--ds-color-container-ui-primary-default-default: #2c67b5;--ds-color-container-ui-primary-default-inverse: #56bbde;--ds-color-container-ui-primary-disabled-default: #a0c9f1;--ds-color-container-ui-primary-disabled-inverse: #275b72;--ds-color-container-ui-primary-focus-default: #2c67b5;--ds-color-container-ui-primary-focus-inverse: #56bbde;--ds-color-container-ui-primary-hover-default: #193d73;--ds-color-container-ui-primary-hover-inverse: #a8e9f7;--ds-color-container-ui-secondary-active-default: #f0f7fd;--ds-color-container-ui-secondary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-secondary-default-default: #ffffff;--ds-color-container-ui-secondary-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-disabled-default: #f7f7f7;--ds-color-container-ui-secondary-disabled-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-secondary-focus-default: #ffffff;--ds-color-container-ui-secondary-focus-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-hover-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-secondary-hover-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-active-default: rgba(0, 0, 0, 0.06);--ds-color-container-ui-tertiary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-tertiary-default-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-default-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-disabled-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-disabled-inverse: rgba(255, 255, 255, 0.25);--ds-color-container-ui-tertiary-focus-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-focus-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-hover-default: rgba(0, 0, 0, 0.12);--ds-color-container-ui-tertiary-hover-inverse: rgba(255, 255, 255, 0.25);--ds-color-icon-primary-default: #676767;--ds-color-icon-primary-inverse: #f7f7f7;--ds-color-icon-secondary-default: #7e8894;--ds-color-icon-secondary-inverse: #ccd2db;--ds-color-icon-tertiary-default: #afb9c6;--ds-color-icon-tertiary-inverse: #939fad;--ds-color-icon-emphasis-default: #2a2a2a;--ds-color-icon-emphasis-inverse: #ffffff;--ds-color-icon-accent-default: #a2c270;--ds-color-icon-accent-inverse: #badd81;--ds-color-icon-info-default: #326aa5;--ds-color-icon-info-inverse: #89b2d4;--ds-color-icon-error-default: #cc1816;--ds-color-icon-error-inverse: #f9aca6;--ds-color-icon-warning-default: #c49432;--ds-color-icon-warning-inverse: #f2c153;--ds-color-icon-success-default: #40a080;--ds-color-icon-success-inverse: #8eceb9;--ds-color-icon-subtle-default: #a0c9f1;--ds-color-icon-subtle-inverse: #326aa5;--ds-color-icon-ui-primary-default-default: #2c67b5;--ds-color-icon-ui-primary-default-inverse: #56bbde;--ds-color-icon-ui-primary-hover-default: #193d73;--ds-color-icon-ui-primary-hover-inverse: #a8e9f7;--ds-color-icon-ui-primary-active-default: #225296;--ds-color-icon-ui-primary-active-inverse: #6ad5ef;--ds-color-icon-ui-primary-disabled-default: #adadad;--ds-color-icon-ui-primary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-primary-focus-default: #2c67b5;--ds-color-icon-ui-primary-focus-inverse: #56bbde;--ds-color-icon-ui-secondary-active-default: #676767;--ds-color-icon-ui-secondary-active-inverse: #c5c5c5;--ds-color-icon-ui-secondary-default-default: #7e7e7e;--ds-color-icon-ui-secondary-default-inverse: #adadad;--ds-color-icon-ui-secondary-disabled-default: #adadad;--ds-color-icon-ui-secondary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-secondary-focus-default: #7e7e7e;--ds-color-icon-ui-secondary-focus-inverse: #adadad;--ds-color-icon-ui-secondary-hover-default: #525252;--ds-color-icon-ui-secondary-hover-inverse: #dddddd;--ds-color-icon-brand-red-default: #d03a08;--ds-color-icon-brand-red-inverse: #e9815e;--ds-color-icon-brand-yellow-default: #7c7140;--ds-color-icon-brand-yellow-inverse: #f9ce06;--ds-color-icon-brand-pink-default: #bf475f;--ds-color-icon-brand-pink-inverse: #f7738e;--ds-color-icon-brand-purple-default: #8d47f0;--ds-color-icon-brand-purple-inverse: #b588f5;--ds-color-icon-brand-lime-default: #647845;--ds-color-icon-brand-lime-inverse: #badd81;--ds-color-icon-brand-green-default: #3a7d64;--ds-color-icon-brand-green-inverse: #51ae8c;--ds-color-icon-brand-turquoise-default: #3d7a7d;--ds-color-icon-brand-turquoise-inverse: #7ba5a6;--ds-color-icon-brand-navy-default: #265688;--ds-color-icon-brand-navy-inverse: #6899c6;--ds-color-icon-brand-blue-default: #2c67b5;--ds-color-icon-brand-blue-inverse: #5398e6;--ds-color-icon-brand-cyan-default: #32718e;--ds-color-icon-brand-cyan-inverse: #6ad5ef;--ds-color-icon-brand-gray-default: #676767;--ds-color-icon-brand-gray-inverse: #c5c5c5;--ds-color-icon-brand-neutral-default: #6a717c;--ds-color-icon-brand-neutral-inverse: #afb9c6;--ds-color-icon-disabled-default: rgba(0, 0, 0, 0.15);--ds-color-text-primary-default: #2a2a2a;--ds-color-text-primary-inverse: #ffffff;--ds-color-text-secondary-default: #525252;--ds-color-text-secondary-inverse: #dddddd;--ds-color-text-tertiary-default: #6a717c;--ds-color-text-tertiary-inverse: #adadad;--ds-color-text-error-default: #cc1816;--ds-color-text-error-inverse: #f9aca6;--ds-color-text-emphasis-default: #265688;--ds-color-text-emphasis-inverse: #cfe0ef;--ds-color-text-accent-default: #647845;--ds-color-text-accent-inverse: #badd81;--ds-color-text-info-default: #326aa5;--ds-color-text-info-inverse: #acc9e2;--ds-color-text-subtle-default: #32718e;--ds-color-text-subtle-inverse: #56bbde;--ds-color-text-success-default: #0b6f4d;--ds-color-text-success-inverse: #8eceb9;--ds-color-text-ui-active-default: #225296;--ds-color-text-ui-active-inverse: #6ad5ef;--ds-color-text-ui-default-default: #2c67b5;--ds-color-text-ui-default-inverse: #56bbde;--ds-color-text-ui-disabled-default: #adadad;--ds-color-text-ui-disabled-inverse: #7e7e7e;--ds-color-text-ui-focus-default: #2c67b5;--ds-color-text-ui-focus-inverse: #56bbde;--ds-color-text-ui-hover-default: #193d73;--ds-color-text-ui-hover-inverse: #a8e9f7;--ds-color-text-link-default: #0074c8;--ds-color-text-link-inverse: #00cff0;--ds-color-tier-alaska-mvp-default: #726e6c;--ds-color-tier-alaska-mvp-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold-default: #7f682e;--ds-color-tier-alaska-mvpgold-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold75k-default: #7f682e;--ds-color-tier-alaska-mvpgold75k-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold100k-default: #7f682e;--ds-color-tier-alaska-mvpgold100k-inverse: #c5c1bf;--ds-color-tier-alaska-lounge: #01426a;--ds-color-tier-alaska-loungeplus: #53b390;--ds-color-tier-fare-business-default: #005154;--ds-color-tier-fare-business-inverse: #9fbdbe;--ds-color-tier-fare-economy-default: #2c67b5;--ds-color-tier-fare-economy-inverse: #a0c9f1;--ds-color-tier-fare-first-class-default: #002c4e;--ds-color-tier-fare-first-class-inverse: #89b2d4;--ds-color-tier-fare-saver-default: #4aa2c7;--ds-color-tier-fare-saver-inverse: #a8e9f7;--ds-color-tier-oneworld-emerald: #139142;--ds-color-tier-oneworld-sapphire: #015daa;--ds-color-tier-oneworld-ruby: #a41d4a;--ds-color-ui-default-default: #0074c8;--ds-color-ui-default-inverse: #00cff0;--ds-color-ui-hover-default: #054687;--ds-color-ui-hover-inverse: #5de3f7;--ds-color-ui-active-default: #054687;--ds-color-ui-active-inverse: #5de3f7;--ds-color-ui-disabled-default: rgba(0, 116, 200, 0.2);--ds-color-ui-bkg-default-default: rgba(0, 0, 0, 0.03);--ds-color-ui-bkg-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-ui-bkg-hover-default: rgba(0, 0, 0, 0.06);--ds-color-ui-bkg-hover-inverse: rgba(255, 255, 255, 0.06);--ds-color-utility-blue-default: #79b2ec;--ds-color-utility-blue-inverse: #c9e0f7;--ds-color-utility-cyan-default: #6ad5ef;--ds-color-utility-cyan-inverse: #a8e9f7;--ds-color-utility-green-default: #7ec6ac;--ds-color-utility-green-inverse: #addbca;--ds-color-utility-gray-default: #adadad;--ds-color-utility-gray-inverse: #dddddd;--ds-color-utility-lime-default: #badd81;--ds-color-utility-lime-inverse: #d8efb4;--ds-color-utility-navy-default: #265688;--ds-color-utility-navy-inverse: #acc9e2;--ds-color-utility-neutral-default: #7e8894;--ds-color-utility-neutral-inverse: #ccd2db;--ds-color-utility-pink-default: #f7738e;--ds-color-utility-pink-inverse: #fcc2ce;--ds-color-utility-purple-default: #8d47f0;--ds-color-utility-purple-inverse: #ddc9fb;--ds-color-utility-red-default: #e35c2f;--ds-color-utility-red-inverse: #f0a68d;--ds-color-utility-turquoise-default: #5c8f91;--ds-color-utility-turquoise-inverse: #9fbdbe;--ds-color-utility-yellow-default: #f9ce06;--ds-color-utility-yellow-inverse: #ffe87e;--ds-color-utility-error-default: #cc1816;--ds-color-utility-error-inverse: #f9aca6;--ds-color-utility-warning-default: #f2c153;--ds-color-utility-warning-inverse: #f2c153;--ds-color-utility-success-default: #0b6f4d;--ds-color-utility-success-inverse: #8eceb9}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([addSpace]) :host(:not([data-show])) .popover,:host(:not([data-show])) .popover,:host([disabled]) .popover{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}::slotted(*){white-space:normal}::slotted(*:hover){cursor:pointer}[data-trigger-placement]::slotted(*:hover){position:relative}[data-trigger-placement]::slotted(*:hover):before{position:absolute;left:0;display:block;width:100%;height:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));content:""}[data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}[data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}:host([data-show]) .popover{z-index:var(--ds-depth-tooltip, 400)}:host([removeSpace]) .popover{margin:calc(-1*(var(--ds-size-50, 0.25rem) + 1px)) 0 !important}:host([addSpace]) .popover{margin:var(--ds-size-200, 1rem) 0 !important}:host([addSpace]) [data-trigger-placement]::slotted(*:hover):before{height:var(--ds-size-500, 2.5rem)}:host([addSpace]) [data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*var(--ds-size-500, 2.5rem))}:host([addSpace]) [data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*var(--ds-size-500, 2.5rem))}.popover{display:inline-block;max-width:calc(100% - var(--ds-size-400, 2rem));border-radius:var(--ds-border-radius, 0.375rem)}@media screen and (min-width: 576px){.popover{max-width:50%}}@media screen and (min-width: 768px){.popover{max-width:40%}}@media screen and (min-width: 1024px){.popover{max-width:27rem}}[data-popper-placement^=top]>.arrow{bottom:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=top]>.arrow:before{top:calc(-1*var(--ds-size-200, 1rem));left:calc(-1*var(--ds-size-75, 0.375rem));transform:rotate(45deg)}[data-popper-placement^=bottom]>.arrow{top:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=bottom]>.arrow:before{top:var(--ds-size-50, 0.25rem);right:calc(-1*var(--ds-size-200, 1rem));transform:rotate(-135deg)}.arrow{position:relative;margin-top:-var(--ds-size-100, 0.5rem)}.arrow:before{position:absolute;width:var(--ds-size-150, 0.75rem);height:var(--ds-size-150, 0.75rem);content:""}`;
|
|
7348
|
+
var styleCss$9 = i$6`:root{--ds-asset-font-circular-family-name: "AS Circular";--ds-asset-font-circular-filename: "ASCircularWeb";--ds-asset-font-circular-weight-light: "-Light";--ds-asset-font-circular-weight-medium: "-Medium";--ds-asset-font-circular-weight-book: "-Book";--ds-border-radius: 0.375rem;--ds-size-25: 0.125rem;--ds-size-50: 0.25rem;--ds-size-75: 0.375rem;--ds-size-100: 0.5rem;--ds-size-150: 0.75rem;--ds-size-200: 1rem;--ds-size-250: 1.25rem;--ds-size-300: 1.5rem;--ds-size-400: 2rem;--ds-size-500: 2.5rem;--ds-size-600: 3rem;--ds-size-700: 3.5rem;--ds-size-800: 4rem;--ds-size-900: 4.5rem;--ds-size-1000: 5rem;--ds-unitless-scale-20: 0.25;--ds-unitless-scale-50: 0.5;--ds-unitless-scale-100: 1;--ds-unitless-scale-140: 1.4;--ds-unitless-scale-150: 1.5;--ds-unitless-scale-200: 2;--ds-unitless-scale-300: 3;--ds-unitless-scale-350: 3.5;--ds-animation-default-property: all;--ds-animation-default-duration: 0.3s;--ds-animation-default-timing: ease-out;--ds-depth-overlay: 200;--ds-depth-modal: 300;--ds-depth-tooltip: 400;--ds-elevation-100: 0px 0px 5px rgba(0, 0, 0, 0.15);--ds-elevation-200: 0px 0px 10px rgba(0, 0, 0, 0.15);--ds-elevation-300: 0px 0px 15px rgba(0, 0, 0, 0.2);--ds-grid-breakpoint-xs: 320px;--ds-grid-breakpoint-sm: 576px;--ds-grid-breakpoint-md: 768px;--ds-grid-breakpoint-lg: 1024px;--ds-grid-breakpoint-xl: 1232px;--ds-grid-column-xs: 6;--ds-grid-column-sm: 12;--ds-grid-column-md: 12;--ds-grid-column-lg: 12;--ds-grid-column-xl: 12;--ds-grid-gutter-xs: 0.5rem;--ds-grid-gutter-sm: 1rem;--ds-grid-gutter-md: 1.5rem;--ds-grid-gutter-lg: 1.5rem;--ds-grid-gutter-xl: 2rem;--ds-grid-margin-xs: 1rem;--ds-grid-margin-sm: 1rem;--ds-grid-margin-md: 1.5rem;--ds-grid-margin-lg: 2rem;--ds-grid-margin-xl: 2rem;--ds-font-family-default: "AS Circular", Helvetica Neue, Arial, sans-serif;--ds-font-family-mono: Menlo, Monaco, Consolas, "Courier New", monospace;--ds-text-heading-300-weight: 300;--ds-text-heading-300-px: 18px;--ds-text-heading-300-size: 1.125rem;--ds-text-heading-300-height: 1.625rem;--ds-text-heading-300-height-px: 26px;--ds-text-heading-400-weight: 300;--ds-text-heading-400-px: 20px;--ds-text-heading-400-size: 1.25rem;--ds-text-heading-400-height: 1.625rem;--ds-text-heading-400-height-px: 26px;--ds-text-heading-500-weight: 300;--ds-text-heading-500-px-breakpoint-sm: 22px;--ds-text-heading-500-px-breakpoint-md: 24px;--ds-text-heading-500-px-breakpoint-lg: 24px;--ds-text-heading-500-size-breakpoint-sm: 1.375rem;--ds-text-heading-500-size-breakpoint-md: 1.5rem;--ds-text-heading-500-size-breakpoint-lg: 1.5rem;--ds-text-heading-500-height-breakpoint-sm: 1.625rem;--ds-text-heading-500-height-breakpoint-px-sm: 26px;--ds-text-heading-500-height-breakpoint-md: 1.875rem;--ds-text-heading-500-height-breakpoint-px-md: 30px;--ds-text-heading-500-height-breakpoint-lg: 2rem;--ds-text-heading-500-height-breakpoint-px-lg: 32px;--ds-text-heading-600-weight: 300;--ds-text-heading-600-px-breakpoint-sm: 26px;--ds-text-heading-600-px-breakpoint-md: 28px;--ds-text-heading-600-px-breakpoint-lg: 28px;--ds-text-heading-600-size-breakpoint-sm: 1.625rem;--ds-text-heading-600-size-breakpoint-md: 1.75rem;--ds-text-heading-600-size-breakpoint-lg: 1.75rem;--ds-text-heading-600-height-breakpoint-sm: 1.875rem;--ds-text-heading-600-height-breakpoint-px-sm: 30px;--ds-text-heading-600-height-breakpoint-md: 2.125rem;--ds-text-heading-600-height-breakpoint-px-md: 34px;--ds-text-heading-600-height-breakpoint-lg: 2.25rem;--ds-text-heading-600-height-breakpoint-px-lg: 36px;--ds-text-heading-700-weight: 500;--ds-text-heading-700-px-breakpoint-sm: 28px;--ds-text-heading-700-px-breakpoint-md: 32px;--ds-text-heading-700-px-breakpoint-lg: 36px;--ds-text-heading-700-size-breakpoint-sm: 1.75rem;--ds-text-heading-700-size-breakpoint-md: 2rem;--ds-text-heading-700-size-breakpoint-lg: 2.25rem;--ds-text-heading-700-height-breakpoint-sm: 2.125rem;--ds-text-heading-700-height-breakpoint-px-sm: 34px;--ds-text-heading-700-height-breakpoint-md: 2.375rem;--ds-text-heading-700-height-breakpoint-px-md: 38px;--ds-text-heading-700-height-breakpoint-lg: 2.75rem;--ds-text-heading-700-height-breakpoint-px-lg: 44px;--ds-text-heading-800-weight: 500;--ds-text-heading-800-px-breakpoint-sm: 32px;--ds-text-heading-800-px-breakpoint-md: 36px;--ds-text-heading-800-px-breakpoint-lg: 40px;--ds-text-heading-800-size-breakpoint-sm: 2rem;--ds-text-heading-800-size-breakpoint-md: 2.25rem;--ds-text-heading-800-size-breakpoint-lg: 2.5rem;--ds-text-heading-800-height-breakpoint-sm: 2.375rem;--ds-text-heading-800-height-breakpoint-px-sm: 38px;--ds-text-heading-800-height-breakpoint-md: 2.625rem;--ds-text-heading-800-height-breakpoint-px-md: 42px;--ds-text-heading-800-height-breakpoint-lg: 3rem;--ds-text-heading-800-height-breakpoint-px-lg: 48px;--ds-text-heading-default-weight: 500;--ds-text-heading-default-margin: 0;--ds-text-heading-default-spacing: -0.2px;--ds-text-heading-medium-weight: 300;--ds-text-heading-display-weight: 100;--ds-text-heading-display-px-breakpoint-sm: 44px;--ds-text-heading-display-px-breakpoint-md: 48px;--ds-text-heading-display-px-breakpoint-lg: 56px;--ds-text-heading-display-size-breakpoint-sm: 2.75rem;--ds-text-heading-display-size-breakpoint-md: 3rem;--ds-text-heading-display-size-breakpoint-lg: 3.5rem;--ds-text-heading-display-height-breakpoint-sm: 3.375rem;--ds-text-heading-display-height-breakpoint-px-sm: 54px;--ds-text-heading-display-height-breakpoint-md: 3.75rem;--ds-text-heading-display-height-breakpoint-px-md: 60px;--ds-text-heading-display-height-breakpoint-lg: 4.25rem;--ds-text-heading-display-height-breakpoint-px-lg: 68px;--ds-text-body-default-weight: 500;--ds-text-body-size-xxs: 0.625rem;--ds-text-body-size-xs: 0.75rem;--ds-text-body-size-sm: 0.875rem;--ds-text-body-size-default: 1rem;--ds-text-body-size-lg: 1.125rem;--ds-text-body-height-xs: 1rem;--ds-text-body-height-sm: 1.25rem;--ds-text-body-height-default: 1.5rem;--ds-text-body-height-lg: 1.625rem;--ds-color-alert-notification-default: #0074c8;--ds-color-alert-warning-default: #de750c;--ds-color-alert-error-default: #df0b37;--ds-color-alert-success-default: #00805d;--ds-color-alert-advisory-default: #fff0cd;--ds-color-alert-bkg-success-default: #ddf6e8;--ds-color-alert-bkg-error-default: #ffedf1;--ds-color-background-primary-100-default: #ffffff;--ds-color-background-primary-100-inverse: #0e2b4f;--ds-color-background-primary-200-default: #f7f7f7;--ds-color-background-primary-200-inverse: #194069;--ds-color-background-primary-300-default: #e4e8ec;--ds-color-background-primary-300-inverse: #265688;--ds-color-background-primary-400-default: #dddddd;--ds-color-background-primary-400-inverse: #326aa5;--ds-color-background-success-default: #eef8f5;--ds-color-background-success-inverse: #173c30;--ds-color-background-error-default: #fff4f4;--ds-color-background-error-inverse: #74110e;--ds-color-background-warning-default: #fef8e9;--ds-color-background-warning-inverse: #5d4514;--ds-color-background-info-default: #f0f7fd;--ds-color-background-info-inverse: #193d73;--ds-color-background-subtle-default: #f7f8fa;--ds-color-background-subtle-inverse: #2a2a2a;--ds-color-background-accent-default: #ebfafd;--ds-color-background-accent-inverse: #275b72;--ds-color-background-emphasis-default: #c9e0f7;--ds-color-background-emphasis-inverse: #225296;--ds-color-background-scrimmed-default: rgba(0, 0, 0, 0.5);--ds-color-background-lightest: #ffffff;--ds-color-background-lighter: #f7f7f7;--ds-color-background-darker: #01426a;--ds-color-background-darkest: #00274a;--ds-color-background-gradient-default: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));--ds-color-base-white: #ffffff;--ds-color-base-white-100: rgba(255, 255, 255, 0.03);--ds-color-base-white-200: rgba(255, 255, 255, 0.06);--ds-color-base-white-300: rgba(255, 255, 255, 0.12);--ds-color-base-white-400: rgba(255, 255, 255, 0.25);--ds-color-base-white-500: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-50: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-40: rgba(255, 255, 255, 0.4);--ds-color-base-white-opacity-0: rgba(255, 255, 255, 0);--ds-color-base-black: #000000;--ds-color-base-black-100: rgba(0, 0, 0, 0.03);--ds-color-base-black-200: rgba(0, 0, 0, 0.06);--ds-color-base-black-300: rgba(0, 0, 0, 0.12);--ds-color-base-black-400: rgba(0, 0, 0, 0.25);--ds-color-base-black-500: rgba(0, 0, 0, 0.5);--ds-color-base-black-opacity-15: rgba(0, 0, 0, 0.15);--ds-color-base-blue-100: #f0f7fd;--ds-color-base-blue-200: #c9e0f7;--ds-color-base-blue-300: #a0c9f1;--ds-color-base-blue-400: #79b2ec;--ds-color-base-blue-500: #5398e6;--ds-color-base-blue-600: #3b7fd2;--ds-color-base-blue-700: #2c67b5;--ds-color-base-blue-800: #225296;--ds-color-base-blue-900: #193d73;--ds-color-base-blue-1000: #102a51;--ds-color-base-cyan-100: #ebfafd;--ds-color-base-cyan-200: #a8e9f7;--ds-color-base-cyan-300: #6ad5ef;--ds-color-base-cyan-400: #56bbde;--ds-color-base-cyan-500: #4aa2c7;--ds-color-base-cyan-600: #3e89aa;--ds-color-base-cyan-700: #32718e;--ds-color-base-cyan-800: #275b72;--ds-color-base-cyan-900: #1d4658;--ds-color-base-cyan-1000: #12303d;--ds-color-base-error-100: #fff4f4;--ds-color-base-error-200: #f9aca6;--ds-color-base-error-300: #f16359;--ds-color-base-error-400: #cc1816;--ds-color-base-error-500: #74110e;--ds-color-base-gray-100: #f7f7f7;--ds-color-base-gray-200: #d4d4d4;--ds-color-base-gray-300: #c5c5c5;--ds-color-base-gray-400: #adadad;--ds-color-base-gray-500: #959595;--ds-color-base-gray-600: #7e7e7e;--ds-color-base-gray-700: #676767;--ds-color-base-gray-800: #525252;--ds-color-base-gray-900: #3d3d3d;--ds-color-base-gray-1000: #2a2a2a;--ds-color-base-green-100: #f3faf7;--ds-color-base-green-200: #000000;--ds-color-base-green-300: #addbca;--ds-color-base-green-400: #7ec6ac;--ds-color-base-green-500: #51ae8c;--ds-color-base-green-600: #459578;--ds-color-base-green-700: #3a7d64;--ds-color-base-green-800: #306854;--ds-color-base-green-900: #285545;--ds-color-base-green-1000: #1f4436;--ds-color-base-lime-100: #f5fbeb;--ds-color-base-lime-200: #d8efb4;--ds-color-base-lime-300: #badd81;--ds-color-base-lime-400: #a2c270;--ds-color-base-lime-500: #8ca761;--ds-color-base-lime-600: #778f53;--ds-color-base-lime-700: #647845;--ds-color-base-lime-800: #53643a;--ds-color-base-lime-900: #44522f;--ds-color-base-lime-1000: #364126;--ds-color-base-navy-100: #f2f7fb;--ds-color-base-navy-200: #cfe0ef;--ds-color-base-navy-300: #acc9e2;--ds-color-base-navy-400: #89b2d4;--ds-color-base-navy-500: #6899c6;--ds-color-base-navy-600: #4a82b7;--ds-color-base-navy-700: #326aa5;--ds-color-base-navy-800: #265688;--ds-color-base-navy-900: #194069;--ds-color-base-navy-1000: #0e2b4f;--ds-color-base-neutral-100: #f7f8fa;--ds-color-base-neutral-200: #e4e8ec;--ds-color-base-neutral-300: #ccd2db;--ds-color-base-neutral-400: #afb9c6;--ds-color-base-neutral-500: #939fad;--ds-color-base-neutral-600: #7e8894;--ds-color-base-neutral-700: #6a717c;--ds-color-base-neutral-800: #585e67;--ds-color-base-neutral-900: #484d55;--ds-color-base-neutral-1000: #393d43;--ds-color-base-pink-100: #fff7f8;--ds-color-base-pink-200: #fde0e6;--ds-color-base-pink-300: #fcc2ce;--ds-color-base-pink-400: #fa9db0;--ds-color-base-pink-500: #f7738e;--ds-color-base-pink-600: #e45472;--ds-color-base-pink-700: #bf475f;--ds-color-base-pink-800: #a03b50;--ds-color-base-pink-900: #833142;--ds-color-base-pink-1000: #692734;--ds-color-base-purple-100: #fbf8fe;--ds-color-base-purple-200: #ede3fd;--ds-color-base-purple-300: #ddc9fb;--ds-color-base-purple-400: #c9a9f8;--ds-color-base-purple-500: #b588f5;--ds-color-base-purple-600: #a268f3;--ds-color-base-purple-700: #8d47f0;--ds-color-base-purple-800: #7633d7;--ds-color-base-purple-900: #622ab2;--ds-color-base-purple-1000: #4e228d;--ds-color-base-red-100: #fef7f5;--ds-color-base-red-200: #fae2da;--ds-color-base-red-300: #f5c7b8;--ds-color-base-red-400: #f0a68d;--ds-color-base-red-500: #e9815e;--ds-color-base-red-600: #e35c2f;--ds-color-base-red-700: #d03a08;--ds-color-base-red-800: #ae3007;--ds-color-base-red-900: #902806;--ds-color-base-red-1000: #732005;--ds-color-base-success-100: #eef8f5;--ds-color-base-success-200: #8eceb9;--ds-color-base-success-300: #40a080;--ds-color-base-success-400: #0b6f4d;--ds-color-base-success-500: #173c30;--ds-color-base-turquoise-100: #f7fafa;--ds-color-base-turquoise-200: #dfe9ea;--ds-color-base-turquoise-300: #c2d5d6;--ds-color-base-turquoise-400: #9fbdbe;--ds-color-base-turquoise-500: #7ba5a6;--ds-color-base-turquoise-600: #5c8f91;--ds-color-base-turquoise-700: #3d7a7d;--ds-color-base-turquoise-800: #21686a;--ds-color-base-turquoise-900: #085659;--ds-color-base-turquoise-1000: #004447;--ds-color-base-yellow-100: #fff9df;--ds-color-base-yellow-200: #ffe87e;--ds-color-base-yellow-300: #f9ce06;--ds-color-base-yellow-400: #d6b622;--ds-color-base-yellow-500: #b49d35;--ds-color-base-yellow-600: #96873e;--ds-color-base-yellow-700: #7c7140;--ds-color-base-yellow-800: #665e3d;--ds-color-base-yellow-900: #524e38;--ds-color-base-yellow-1000: #403d30;--ds-color-base-warning-100: #fef8e9;--ds-color-base-warning-200: #f2c153;--ds-color-base-warning-300: #c49432;--ds-color-base-warning-400: #8e6b22;--ds-color-base-warning-500: #5d4514;--ds-color-state-error-100: #ff999b;--ds-color-state-error-500: #df0b37;--ds-color-state-success-100: #69cf96;--ds-color-state-success-500: #00805d;--ds-color-state-warning-500: #de750c;--ds-color-border-primary-default: #585e67;--ds-color-border-primary-inverse: #afb9c6;--ds-color-border-secondary-default: #939fad;--ds-color-border-secondary-inverse: #7e8894;--ds-color-border-tertiary-default: #dddddd;--ds-color-border-tertiary-inverse: #676767;--ds-color-border-error-default: #cc1816;--ds-color-border-error-inverse: #f9aca6;--ds-color-border-divider-default: rgba(0, 0, 0, 0.12);--ds-color-border-divider-inverse: rgba(255, 255, 255, 0.25);--ds-color-border-subtle-default: #f0f7fd;--ds-color-border-subtle-inverse: #326aa5;--ds-color-border-emphasis-default: #194069;--ds-color-border-emphasis-inverse: #f2f7fb;--ds-color-border-accent-default: #badd81;--ds-color-border-accent-inverse: #a2c270;--ds-color-border-success-default: #0b6f4d;--ds-color-border-success-inverse: #8eceb9;--ds-color-border-warning-default: #c49432;--ds-color-border-warning-inverse: #f2c153;--ds-color-border-info-default: #326aa5;--ds-color-border-info-inverse: #89b2d4;--ds-color-border-ui-default-default: #2c67b5;--ds-color-border-ui-default-inverse: #56bbde;--ds-color-border-ui-hover-default: #193d73;--ds-color-border-ui-hover-inverse: #a8e9f7;--ds-color-border-ui-active-default: #225296;--ds-color-border-ui-active-inverse: #6ad5ef;--ds-color-border-ui-focus-default: #2c67b5;--ds-color-border-ui-focus-inverse: #56bbde;--ds-color-border-ui-disabled-default: #adadad;--ds-color-border-ui-disabled-inverse: #7e7e7e;--ds-color-border-active-default: #0074c8;--ds-color-border-active-inverse: #00cff0;--ds-color-border-disabled-default: #d4d4d4;--ds-color-border-focus-default: #959595;--ds-color-brand-neutral-100: #f7f8fa;--ds-color-brand-neutral-200: #e4e8ec;--ds-color-brand-neutral-300: #ccd2db;--ds-color-brand-neutral-400: #afb9c6;--ds-color-brand-neutral-500: #939fad;--ds-color-brand-neutral-600: #7e8894;--ds-color-brand-neutral-700: #6a717c;--ds-color-brand-neutral-800: #585e67;--ds-color-brand-neutral-900: #484d55;--ds-color-brand-neutral-1000: #393d43;--ds-color-brand-gray-100: #f7f7f7;--ds-color-brand-gray-200: #dddddd;--ds-color-brand-gray-300: #c5c5c5;--ds-color-brand-gray-400: #adadad;--ds-color-brand-gray-500: #959595;--ds-color-brand-gray-600: #7e7e7e;--ds-color-brand-gray-700: #676767;--ds-color-brand-gray-800: #525252;--ds-color-brand-gray-900: #3d3d3d;--ds-color-brand-gray-1000: #2a2a2a;--ds-color-brand-red-100: #fef7f5;--ds-color-brand-red-200: #fae2da;--ds-color-brand-red-300: #f5c7b8;--ds-color-brand-red-400: #f0a68d;--ds-color-brand-red-500: #e9815e;--ds-color-brand-red-600: #e35c2f;--ds-color-brand-red-700: #d03a08;--ds-color-brand-red-800: #ae3007;--ds-color-brand-red-900: #902806;--ds-color-brand-red-1000: #732005;--ds-color-brand-yellow-100: #fff9df;--ds-color-brand-yellow-200: #ffe87e;--ds-color-brand-yellow-300: #f9ce06;--ds-color-brand-yellow-400: #d6b622;--ds-color-brand-yellow-500: #b49d35;--ds-color-brand-yellow-600: #96873e;--ds-color-brand-yellow-700: #7c7140;--ds-color-brand-yellow-800: #665e3d;--ds-color-brand-yellow-900: #524e38;--ds-color-brand-yellow-1000: #403d30;--ds-color-brand-lime-100: #f5fbeb;--ds-color-brand-lime-200: #d8efb4;--ds-color-brand-lime-300: #badd81;--ds-color-brand-lime-400: #a2c270;--ds-color-brand-lime-500: #8ca761;--ds-color-brand-lime-600: #778f53;--ds-color-brand-lime-700: #647845;--ds-color-brand-lime-800: #53643a;--ds-color-brand-lime-900: #44522f;--ds-color-brand-lime-1000: #364126;--ds-color-brand-green-100: #f3faf7;--ds-color-brand-green-200: #d4ece4;--ds-color-brand-green-300: #addbca;--ds-color-brand-green-400: #7ec6ac;--ds-color-brand-green-500: #51ae8c;--ds-color-brand-green-600: #459578;--ds-color-brand-green-700: #3a7d64;--ds-color-brand-green-800: #306854;--ds-color-brand-green-900: #285545;--ds-color-brand-green-1000: #1f4436;--ds-color-brand-turquoise-100: #f7fafa;--ds-color-brand-turquoise-200: #dfe9ea;--ds-color-brand-turquoise-300: #c2d5d6;--ds-color-brand-turquoise-400: #9fbdbe;--ds-color-brand-turquoise-500: #7ba5a6;--ds-color-brand-turquoise-600: #5c8f91;--ds-color-brand-turquoise-700: #3d7a7d;--ds-color-brand-turquoise-800: #21686a;--ds-color-brand-turquoise-900: #085659;--ds-color-brand-turquoise-1000: #004447;--ds-color-brand-cyan-100: #ebfafd;--ds-color-brand-cyan-200: #a8e9f7;--ds-color-brand-cyan-300: #6ad5ef;--ds-color-brand-cyan-400: #56bbde;--ds-color-brand-cyan-500: #4aa2c7;--ds-color-brand-cyan-600: #3e89aa;--ds-color-brand-cyan-700: #32718e;--ds-color-brand-cyan-800: #275b72;--ds-color-brand-cyan-900: #1d4658;--ds-color-brand-cyan-1000: #12303d;--ds-color-brand-blue-100: #f0f7fd;--ds-color-brand-blue-200: #c9e0f7;--ds-color-brand-blue-300: #a0c9f1;--ds-color-brand-blue-400: #79b2ec;--ds-color-brand-blue-500: #5398e6;--ds-color-brand-blue-600: #3b7fd2;--ds-color-brand-blue-700: #2c67b5;--ds-color-brand-blue-800: #225296;--ds-color-brand-blue-900: #193d73;--ds-color-brand-blue-1000: #102a51;--ds-color-brand-navy-100: #f2f7fb;--ds-color-brand-navy-200: #cfe0ef;--ds-color-brand-navy-300: #acc9e2;--ds-color-brand-navy-400: #89b2d4;--ds-color-brand-navy-500: #6899c6;--ds-color-brand-navy-600: #4a82b7;--ds-color-brand-navy-700: #326aa5;--ds-color-brand-navy-800: #265688;--ds-color-brand-navy-900: #194069;--ds-color-brand-navy-1000: #0e2b4f;--ds-color-brand-purple-100: #fbf8fe;--ds-color-brand-purple-200: #ede3fd;--ds-color-brand-purple-300: #ddc9fb;--ds-color-brand-purple-400: #c9a9f8;--ds-color-brand-purple-500: #b588f5;--ds-color-brand-purple-600: #a268f3;--ds-color-brand-purple-700: #8d47f0;--ds-color-brand-purple-800: #7633d7;--ds-color-brand-purple-900: #622ab2;--ds-color-brand-purple-1000: #4e228d;--ds-color-brand-pink-100: #fff7f8;--ds-color-brand-pink-200: #fde0e6;--ds-color-brand-pink-300: #fcc2ce;--ds-color-brand-pink-400: #fa9db0;--ds-color-brand-pink-500: #f7738e;--ds-color-brand-pink-600: #e45472;--ds-color-brand-pink-700: #bf475f;--ds-color-brand-pink-800: #a03b50;--ds-color-brand-pink-900: #833142;--ds-color-brand-pink-1000: #692734;--ds-color-brand-midnight-100: #c1daf0;--ds-color-brand-midnight-200: #569ed7;--ds-color-brand-midnight-300: #156fad;--ds-color-brand-midnight-400: #01426a;--ds-color-brand-midnight-500: #00274a;--ds-color-brand-atlas-100: #cde6ff;--ds-color-brand-atlas-200: #6bb7fb;--ds-color-brand-atlas-300: #2492eb;--ds-color-brand-atlas-400: #0074c8;--ds-color-brand-atlas-500: #054687;--ds-color-brand-atlas-400-opacity-20: rgba(0, 116, 200, 0.2);--ds-color-brand-breeze-100: #c0f7ff;--ds-color-brand-breeze-200: #5de3f7;--ds-color-brand-breeze-300: #00cff0;--ds-color-brand-breeze-400: #099dc5;--ds-color-brand-breeze-500: #0b5575;--ds-color-brand-breeze-300-opacity-30: rgba(0, 207, 240, 0.3);--ds-color-brand-tropical-100: #e2ffcd;--ds-color-brand-tropical-200: #d0fba6;--ds-color-brand-tropical-300: #c0e585;--ds-color-brand-tropical-400: #91be62;--ds-color-brand-tropical-500: #5e8741;--ds-color-brand-alpine-100: #bcaae6;--ds-color-brand-alpine-200: #9e73ea;--ds-color-brand-alpine-300: #8439ef;--ds-color-brand-alpine-400: #631db8;--ds-color-brand-alpine-500: #39115c;--ds-color-brand-flamingo-100: #ffebee;--ds-color-brand-flamingo-200: #ffc0ca;--ds-color-brand-flamingo-300: #ff94a7;--ds-color-brand-flamingo-400: #f65b7b;--ds-color-brand-flamingo-500: #b82b47;--ds-color-brand-canyon-100: #ffcab6;--ds-color-brand-canyon-200: #f99574;--ds-color-brand-canyon-300: #f26135;--ds-color-brand-canyon-400: #de3e09;--ds-color-brand-canyon-500: #b83302;--ds-color-brand-goldcoast-100: #fff0cd;--ds-color-brand-goldcoast-200: #ffdb67;--ds-color-brand-goldcoast-300: #ffd200;--ds-color-brand-goldcoast-400: #e5ad07;--ds-color-brand-goldcoast-500: #b88624;--ds-color-brand-goldgray-100: #c5c1bf;--ds-color-brand-goldgray-200: #726e6c;--ds-color-brand-gold-100: #ccbc94;--ds-color-brand-gold-200: #7f682e;--ds-color-brand-emerald: #139142;--ds-color-brand-sapphire: #015daa;--ds-color-brand-ruby: #a41d4a;--ds-color-brand-lounge: #01426a;--ds-color-brand-loungeplus: #53b390;--ds-color-container-accent-default: #f5fbeb;--ds-color-container-accent-inverse: #badd81;--ds-color-container-emphasis-default: #ebfafd;--ds-color-container-emphasis-inverse: #6ad5ef;--ds-color-container-error-default: #fff4f4;--ds-color-container-error-inverse: #74110e;--ds-color-container-info-default: #f0f7fd;--ds-color-container-info-inverse: #193d73;--ds-color-container-primary-default: #ffffff;--ds-color-container-primary-inverse: #0e2b4f;--ds-color-container-secondary-default: #f7f7f7;--ds-color-container-secondary-inverse: #194069;--ds-color-container-subtle-default: #f7f8fa;--ds-color-container-subtle-inverse: #393d43;--ds-color-container-success-default: #eef8f5;--ds-color-container-success-inverse: #173c30;--ds-color-container-tertiary-default: rgba(0, 0, 0, 0.03);--ds-color-container-tertiary-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-warning-default: #fef8e9;--ds-color-container-warning-inverse: #5d4514;--ds-color-container-ui-primary-active-default: #225296;--ds-color-container-ui-primary-active-inverse: #6ad5ef;--ds-color-container-ui-primary-default-default: #2c67b5;--ds-color-container-ui-primary-default-inverse: #56bbde;--ds-color-container-ui-primary-disabled-default: #a0c9f1;--ds-color-container-ui-primary-disabled-inverse: #275b72;--ds-color-container-ui-primary-focus-default: #2c67b5;--ds-color-container-ui-primary-focus-inverse: #56bbde;--ds-color-container-ui-primary-hover-default: #193d73;--ds-color-container-ui-primary-hover-inverse: #a8e9f7;--ds-color-container-ui-secondary-active-default: #f0f7fd;--ds-color-container-ui-secondary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-secondary-default-default: #ffffff;--ds-color-container-ui-secondary-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-disabled-default: #f7f7f7;--ds-color-container-ui-secondary-disabled-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-secondary-focus-default: #ffffff;--ds-color-container-ui-secondary-focus-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-hover-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-secondary-hover-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-active-default: rgba(0, 0, 0, 0.06);--ds-color-container-ui-tertiary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-tertiary-default-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-default-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-disabled-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-disabled-inverse: rgba(255, 255, 255, 0.25);--ds-color-container-ui-tertiary-focus-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-focus-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-hover-default: rgba(0, 0, 0, 0.12);--ds-color-container-ui-tertiary-hover-inverse: rgba(255, 255, 255, 0.25);--ds-color-icon-primary-default: #676767;--ds-color-icon-primary-inverse: #f7f7f7;--ds-color-icon-secondary-default: #7e8894;--ds-color-icon-secondary-inverse: #ccd2db;--ds-color-icon-tertiary-default: #afb9c6;--ds-color-icon-tertiary-inverse: #939fad;--ds-color-icon-emphasis-default: #2a2a2a;--ds-color-icon-emphasis-inverse: #ffffff;--ds-color-icon-accent-default: #a2c270;--ds-color-icon-accent-inverse: #badd81;--ds-color-icon-info-default: #326aa5;--ds-color-icon-info-inverse: #89b2d4;--ds-color-icon-error-default: #cc1816;--ds-color-icon-error-inverse: #f9aca6;--ds-color-icon-warning-default: #c49432;--ds-color-icon-warning-inverse: #f2c153;--ds-color-icon-success-default: #40a080;--ds-color-icon-success-inverse: #8eceb9;--ds-color-icon-subtle-default: #a0c9f1;--ds-color-icon-subtle-inverse: #326aa5;--ds-color-icon-ui-primary-default-default: #2c67b5;--ds-color-icon-ui-primary-default-inverse: #56bbde;--ds-color-icon-ui-primary-hover-default: #193d73;--ds-color-icon-ui-primary-hover-inverse: #a8e9f7;--ds-color-icon-ui-primary-active-default: #225296;--ds-color-icon-ui-primary-active-inverse: #6ad5ef;--ds-color-icon-ui-primary-disabled-default: #adadad;--ds-color-icon-ui-primary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-primary-focus-default: #2c67b5;--ds-color-icon-ui-primary-focus-inverse: #56bbde;--ds-color-icon-ui-secondary-active-default: #676767;--ds-color-icon-ui-secondary-active-inverse: #c5c5c5;--ds-color-icon-ui-secondary-default-default: #7e7e7e;--ds-color-icon-ui-secondary-default-inverse: #adadad;--ds-color-icon-ui-secondary-disabled-default: #adadad;--ds-color-icon-ui-secondary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-secondary-focus-default: #7e7e7e;--ds-color-icon-ui-secondary-focus-inverse: #adadad;--ds-color-icon-ui-secondary-hover-default: #525252;--ds-color-icon-ui-secondary-hover-inverse: #dddddd;--ds-color-icon-brand-red-default: #d03a08;--ds-color-icon-brand-red-inverse: #e9815e;--ds-color-icon-brand-yellow-default: #7c7140;--ds-color-icon-brand-yellow-inverse: #f9ce06;--ds-color-icon-brand-pink-default: #bf475f;--ds-color-icon-brand-pink-inverse: #f7738e;--ds-color-icon-brand-purple-default: #8d47f0;--ds-color-icon-brand-purple-inverse: #b588f5;--ds-color-icon-brand-lime-default: #647845;--ds-color-icon-brand-lime-inverse: #badd81;--ds-color-icon-brand-green-default: #3a7d64;--ds-color-icon-brand-green-inverse: #51ae8c;--ds-color-icon-brand-turquoise-default: #3d7a7d;--ds-color-icon-brand-turquoise-inverse: #7ba5a6;--ds-color-icon-brand-navy-default: #265688;--ds-color-icon-brand-navy-inverse: #6899c6;--ds-color-icon-brand-blue-default: #2c67b5;--ds-color-icon-brand-blue-inverse: #5398e6;--ds-color-icon-brand-cyan-default: #32718e;--ds-color-icon-brand-cyan-inverse: #6ad5ef;--ds-color-icon-brand-gray-default: #676767;--ds-color-icon-brand-gray-inverse: #c5c5c5;--ds-color-icon-brand-neutral-default: #6a717c;--ds-color-icon-brand-neutral-inverse: #afb9c6;--ds-color-icon-disabled-default: rgba(0, 0, 0, 0.15);--ds-color-text-primary-default: #2a2a2a;--ds-color-text-primary-inverse: #ffffff;--ds-color-text-secondary-default: #525252;--ds-color-text-secondary-inverse: #dddddd;--ds-color-text-tertiary-default: #6a717c;--ds-color-text-tertiary-inverse: #adadad;--ds-color-text-error-default: #cc1816;--ds-color-text-error-inverse: #f9aca6;--ds-color-text-emphasis-default: #265688;--ds-color-text-emphasis-inverse: #cfe0ef;--ds-color-text-accent-default: #647845;--ds-color-text-accent-inverse: #badd81;--ds-color-text-info-default: #326aa5;--ds-color-text-info-inverse: #acc9e2;--ds-color-text-subtle-default: #32718e;--ds-color-text-subtle-inverse: #56bbde;--ds-color-text-success-default: #0b6f4d;--ds-color-text-success-inverse: #8eceb9;--ds-color-text-ui-active-default: #225296;--ds-color-text-ui-active-inverse: #6ad5ef;--ds-color-text-ui-default-default: #2c67b5;--ds-color-text-ui-default-inverse: #56bbde;--ds-color-text-ui-disabled-default: #adadad;--ds-color-text-ui-disabled-inverse: #7e7e7e;--ds-color-text-ui-focus-default: #2c67b5;--ds-color-text-ui-focus-inverse: #56bbde;--ds-color-text-ui-hover-default: #193d73;--ds-color-text-ui-hover-inverse: #a8e9f7;--ds-color-text-link-default: #0074c8;--ds-color-text-link-inverse: #00cff0;--ds-color-tier-alaska-mvp-default: #726e6c;--ds-color-tier-alaska-mvp-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold-default: #7f682e;--ds-color-tier-alaska-mvpgold-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold75k-default: #7f682e;--ds-color-tier-alaska-mvpgold75k-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold100k-default: #7f682e;--ds-color-tier-alaska-mvpgold100k-inverse: #c5c1bf;--ds-color-tier-alaska-lounge: #01426a;--ds-color-tier-alaska-loungeplus: #53b390;--ds-color-tier-fare-business-default: #005154;--ds-color-tier-fare-business-inverse: #9fbdbe;--ds-color-tier-fare-economy-default: #2c67b5;--ds-color-tier-fare-economy-inverse: #a0c9f1;--ds-color-tier-fare-first-class-default: #002c4e;--ds-color-tier-fare-first-class-inverse: #89b2d4;--ds-color-tier-fare-saver-default: #4aa2c7;--ds-color-tier-fare-saver-inverse: #a8e9f7;--ds-color-tier-oneworld-emerald: #139142;--ds-color-tier-oneworld-sapphire: #015daa;--ds-color-tier-oneworld-ruby: #a41d4a;--ds-color-ui-default-default: #0074c8;--ds-color-ui-default-inverse: #00cff0;--ds-color-ui-hover-default: #054687;--ds-color-ui-hover-inverse: #5de3f7;--ds-color-ui-active-default: #054687;--ds-color-ui-active-inverse: #5de3f7;--ds-color-ui-disabled-default: rgba(0, 116, 200, 0.2);--ds-color-ui-bkg-default-default: rgba(0, 0, 0, 0.03);--ds-color-ui-bkg-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-ui-bkg-hover-default: rgba(0, 0, 0, 0.06);--ds-color-ui-bkg-hover-inverse: rgba(255, 255, 255, 0.06);--ds-color-utility-blue-default: #79b2ec;--ds-color-utility-blue-inverse: #c9e0f7;--ds-color-utility-cyan-default: #6ad5ef;--ds-color-utility-cyan-inverse: #a8e9f7;--ds-color-utility-green-default: #7ec6ac;--ds-color-utility-green-inverse: #addbca;--ds-color-utility-gray-default: #adadad;--ds-color-utility-gray-inverse: #dddddd;--ds-color-utility-lime-default: #badd81;--ds-color-utility-lime-inverse: #d8efb4;--ds-color-utility-navy-default: #265688;--ds-color-utility-navy-inverse: #acc9e2;--ds-color-utility-neutral-default: #7e8894;--ds-color-utility-neutral-inverse: #ccd2db;--ds-color-utility-pink-default: #f7738e;--ds-color-utility-pink-inverse: #fcc2ce;--ds-color-utility-purple-default: #8d47f0;--ds-color-utility-purple-inverse: #ddc9fb;--ds-color-utility-red-default: #e35c2f;--ds-color-utility-red-inverse: #f0a68d;--ds-color-utility-turquoise-default: #5c8f91;--ds-color-utility-turquoise-inverse: #9fbdbe;--ds-color-utility-yellow-default: #f9ce06;--ds-color-utility-yellow-inverse: #ffe87e;--ds-color-utility-error-default: #cc1816;--ds-color-utility-error-inverse: #f9aca6;--ds-color-utility-warning-default: #f2c153;--ds-color-utility-warning-inverse: #f2c153;--ds-color-utility-success-default: #0b6f4d;--ds-color-utility-success-inverse: #8eceb9}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([addSpace]) :host(:not([data-show])) .popover,:host(:not([data-show])) .popover,:host([disabled]) .popover{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}::slotted(*){white-space:normal}::slotted(*:hover){cursor:pointer}[data-trigger-placement]::slotted(*:hover){position:relative}[data-trigger-placement]::slotted(*:hover):before{position:absolute;left:0;display:block;width:100%;height:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));content:""}[data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}[data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}:host([data-show]) .popover{z-index:var(--ds-depth-tooltip, 400)}:host([removeSpace]) .popover{margin:calc(-1*(var(--ds-size-50, 0.25rem) + 1px)) 0 !important}:host([addSpace]) .popover{margin:var(--ds-size-200, 1rem) 0 !important}:host([addSpace]) [data-trigger-placement]::slotted(*:hover):before{height:var(--ds-size-500, 2.5rem)}:host([addSpace]) [data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*var(--ds-size-500, 2.5rem))}:host([addSpace]) [data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*var(--ds-size-500, 2.5rem))}.popover{display:inline-block;max-width:calc(100% - var(--ds-size-400, 2rem));border-radius:var(--ds-border-radius, 0.375rem)}@media screen and (min-width: 576px){.popover{max-width:50%}}@media screen and (min-width: 768px){.popover{max-width:40%}}@media screen and (min-width: 1024px){.popover{max-width:27rem}}[data-popper-placement^=top]>.arrow{bottom:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=top]>.arrow:before{top:calc(-1*var(--ds-size-200, 1rem));left:calc(-1*var(--ds-size-75, 0.375rem));transform:rotate(45deg)}[data-popper-placement^=bottom]>.arrow{top:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=bottom]>.arrow:before{top:var(--ds-size-50, 0.25rem);right:calc(-1*var(--ds-size-200, 1rem));transform:rotate(-135deg)}.arrow{position:relative;margin-top:-var(--ds-size-100, 0.5rem)}.arrow:before{position:absolute;width:var(--ds-size-150, 0.75rem);height:var(--ds-size-150, 0.75rem);content:""}`;
|
|
7349
7349
|
|
|
7350
|
-
var colorCss$
|
|
7350
|
+
var colorCss$9 = i$6`::slotted(*){color:var(--ds-auro-popover-text-color)}.popover{background-color:var(--ds-auro-popover-container-color);box-shadow:var(--ds-auro-popover-boxshadow-color)}.arrow:before{background-color:var(--ds-auro-popover-container-color);box-shadow:2px 2px 1px 0 var(--ds-auro-popover-boxshadow-color)}`;
|
|
7351
7351
|
|
|
7352
|
-
var tokensCss$
|
|
7352
|
+
var tokensCss$9 = i$6`:host{--ds-auro-popover-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
7353
7353
|
|
|
7354
7354
|
var top = 'top';
|
|
7355
7355
|
var bottom = 'bottom';
|
|
@@ -9240,7 +9240,7 @@ class AuroPopover extends r$1 {
|
|
|
9240
9240
|
privateDefaults() {
|
|
9241
9241
|
this.isPopoverVisible = false;
|
|
9242
9242
|
this.id = `popover-${(Math.random() + 1).toString(36).substring(7)}`;
|
|
9243
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
9243
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$9();
|
|
9244
9244
|
}
|
|
9245
9245
|
|
|
9246
9246
|
// function to define props used within the scope of this component
|
|
@@ -9255,9 +9255,9 @@ class AuroPopover extends r$1 {
|
|
|
9255
9255
|
|
|
9256
9256
|
static get styles() {
|
|
9257
9257
|
return [
|
|
9258
|
-
i$6`${styleCss$
|
|
9259
|
-
i$6`${colorCss$
|
|
9260
|
-
i$6`${tokensCss$
|
|
9258
|
+
i$6`${styleCss$9}`,
|
|
9259
|
+
i$6`${colorCss$9}`,
|
|
9260
|
+
i$6`${tokensCss$9}`
|
|
9261
9261
|
];
|
|
9262
9262
|
}
|
|
9263
9263
|
|
|
@@ -9270,7 +9270,7 @@ class AuroPopover extends r$1 {
|
|
|
9270
9270
|
*
|
|
9271
9271
|
*/
|
|
9272
9272
|
static register(name = "auro-popover") {
|
|
9273
|
-
AuroLibraryRuntimeUtils$
|
|
9273
|
+
AuroLibraryRuntimeUtils$9.prototype.registerComponent(name, AuroPopover);
|
|
9274
9274
|
}
|
|
9275
9275
|
|
|
9276
9276
|
connectedCallback() {
|
|
@@ -9414,7 +9414,7 @@ class AuroPopover extends r$1 {
|
|
|
9414
9414
|
}
|
|
9415
9415
|
}
|
|
9416
9416
|
|
|
9417
|
-
var popoverVersion = '4.1.
|
|
9417
|
+
var popoverVersion = '4.1.3';
|
|
9418
9418
|
|
|
9419
9419
|
/* eslint-disable max-lines, no-underscore-dangle, no-magic-numbers, no-underscore-dangle, max-params, no-void, init-declarations, no-extra-parens, arrow-parens, max-lines, line-comment-position, no-inline-comments, lit/binding-positions, lit/no-invalid-html */
|
|
9420
9420
|
|
|
@@ -9438,13 +9438,13 @@ class AuroCalendarCell extends r$3 {
|
|
|
9438
9438
|
this.dateStr = null;
|
|
9439
9439
|
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.
|
|
9440
9440
|
|
|
9441
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
9441
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$9();
|
|
9442
9442
|
|
|
9443
9443
|
/**
|
|
9444
9444
|
* Generate unique names for dependency components.
|
|
9445
9445
|
*/
|
|
9446
|
-
const versioning = new AuroDependencyVersioning$
|
|
9447
|
-
this.popoverTag = versioning.generateTag('auro-popover', popoverVersion, AuroPopover);
|
|
9446
|
+
const versioning = new AuroDependencyVersioning$5();
|
|
9447
|
+
this.popoverTag = versioning.generateTag('auro-formkit-datepicker-popover', popoverVersion, AuroPopover);
|
|
9448
9448
|
}
|
|
9449
9449
|
|
|
9450
9450
|
// This function is to define props used within the scope of this component
|
|
@@ -9484,9 +9484,9 @@ class AuroCalendarCell extends r$3 {
|
|
|
9484
9484
|
static get styles() {
|
|
9485
9485
|
return [
|
|
9486
9486
|
// ...super.styles,
|
|
9487
|
-
styleCss$
|
|
9488
|
-
colorCss$
|
|
9489
|
-
tokensCss$
|
|
9487
|
+
styleCss$a,
|
|
9488
|
+
colorCss$a,
|
|
9489
|
+
tokensCss$a
|
|
9490
9490
|
];
|
|
9491
9491
|
}
|
|
9492
9492
|
|
|
@@ -9713,8 +9713,8 @@ class AuroCalendarCell extends r$3 {
|
|
|
9713
9713
|
}
|
|
9714
9714
|
|
|
9715
9715
|
firstUpdated() {
|
|
9716
|
-
const calendarMonth = this.runtimeUtils.closestElement('auro-calendar-month', this);
|
|
9717
|
-
const calendar = this.runtimeUtils.closestElement('auro-calendar', calendarMonth);
|
|
9716
|
+
const calendarMonth = this.runtimeUtils.closestElement('auro-formkit-calendar-month', this);
|
|
9717
|
+
const calendar = this.runtimeUtils.closestElement('auro-formkit-calendar', calendarMonth);
|
|
9718
9718
|
|
|
9719
9719
|
if (!calendar) {
|
|
9720
9720
|
setTimeout(() => this.firstUpdated(), 0);
|
|
@@ -9777,8 +9777,8 @@ class AuroCalendarCell extends r$3 {
|
|
|
9777
9777
|
}
|
|
9778
9778
|
}
|
|
9779
9779
|
|
|
9780
|
-
if (!customElements.get('auro-calendar-cell')) {
|
|
9781
|
-
customElements.define('auro-calendar-cell', AuroCalendarCell);
|
|
9780
|
+
if (!customElements.get('auro-formkit-calendar-cell')) {
|
|
9781
|
+
customElements.define('auro-formkit-calendar-cell', AuroCalendarCell);
|
|
9782
9782
|
}
|
|
9783
9783
|
|
|
9784
9784
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
@@ -9789,9 +9789,9 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
9789
9789
|
static get styles() {
|
|
9790
9790
|
return [
|
|
9791
9791
|
// ...super.styles,
|
|
9792
|
-
styleCss$
|
|
9793
|
-
colorCss$
|
|
9794
|
-
tokensCss$
|
|
9792
|
+
styleCss$b,
|
|
9793
|
+
colorCss$b,
|
|
9794
|
+
tokensCss$a
|
|
9795
9795
|
];
|
|
9796
9796
|
}
|
|
9797
9797
|
|
|
@@ -9866,7 +9866,7 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
9866
9866
|
<div class="td ${this.tdIsEnabled(day)}">
|
|
9867
9867
|
${day
|
|
9868
9868
|
? x`
|
|
9869
|
-
<auro-calendar-cell
|
|
9869
|
+
<auro-formkit-calendar-cell
|
|
9870
9870
|
.disabledDays="${this.disabledDays}"
|
|
9871
9871
|
.min="${this.min}"
|
|
9872
9872
|
.max="${this.max}"
|
|
@@ -9880,7 +9880,7 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
9880
9880
|
@date-is-selected="${this.handleDateSelected}"
|
|
9881
9881
|
@date-is-hovered="${this.handleDateHovered}"
|
|
9882
9882
|
>
|
|
9883
|
-
</auro-calendar-cell>
|
|
9883
|
+
</auro-formkit-calendar-cell>
|
|
9884
9884
|
`
|
|
9885
9885
|
: null}
|
|
9886
9886
|
</div>
|
|
@@ -9924,8 +9924,8 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
9924
9924
|
/* eslint-enable */
|
|
9925
9925
|
}
|
|
9926
9926
|
|
|
9927
|
-
if (!customElements.get('auro-calendar-month')) {
|
|
9928
|
-
customElements.define('auro-calendar-month', AuroCalendarMonth);
|
|
9927
|
+
if (!customElements.get('auro-formkit-calendar-month')) {
|
|
9928
|
+
customElements.define('auro-formkit-calendar-month', AuroCalendarMonth);
|
|
9929
9929
|
}
|
|
9930
9930
|
|
|
9931
9931
|
/* eslint-disable no-underscore-dangle, no-magic-numbers, no-underscore-dangle, no-void, init-declarations, no-extra-parens, no-unused-expressions */
|
|
@@ -10338,7 +10338,7 @@ var tokenCss = i$6`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
|
|
|
10338
10338
|
|
|
10339
10339
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
10340
10340
|
|
|
10341
|
-
let AuroLibraryRuntimeUtils$
|
|
10341
|
+
let AuroLibraryRuntimeUtils$2$2 = class AuroLibraryRuntimeUtils {
|
|
10342
10342
|
|
|
10343
10343
|
/* eslint-disable jsdoc/require-param */
|
|
10344
10344
|
|
|
@@ -10405,7 +10405,7 @@ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
|
10405
10405
|
// See LICENSE in the project root for license information.
|
|
10406
10406
|
|
|
10407
10407
|
|
|
10408
|
-
let AuroDependencyVersioning$
|
|
10408
|
+
let AuroDependencyVersioning$4 = class AuroDependencyVersioning {
|
|
10409
10409
|
|
|
10410
10410
|
/**
|
|
10411
10411
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -10588,9 +10588,79 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
|
10588
10588
|
}
|
|
10589
10589
|
};
|
|
10590
10590
|
|
|
10591
|
-
var tokensCss$
|
|
10591
|
+
var tokensCss$8 = i$6`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-default, #676767);--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
|
|
10592
|
+
|
|
10593
|
+
var colorCss$8 = i$6`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color:var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color:var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color:var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color:var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color:var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color:var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color:var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
10594
|
+
|
|
10595
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10596
|
+
// See LICENSE in the project root for license information.
|
|
10597
|
+
|
|
10598
|
+
// ---------------------------------------------------------------------
|
|
10599
|
+
|
|
10600
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
10601
|
+
|
|
10602
|
+
let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
|
|
10603
|
+
|
|
10604
|
+
/* eslint-disable jsdoc/require-param */
|
|
10605
|
+
|
|
10606
|
+
/**
|
|
10607
|
+
* This will register a new custom element with the browser.
|
|
10608
|
+
* @param {String} name - The name of the custom element.
|
|
10609
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
10610
|
+
* @returns {void}
|
|
10611
|
+
*/
|
|
10612
|
+
registerComponent(name, componentClass) {
|
|
10613
|
+
if (!customElements.get(name)) {
|
|
10614
|
+
customElements.define(name, class extends componentClass {});
|
|
10615
|
+
}
|
|
10616
|
+
}
|
|
10617
|
+
|
|
10618
|
+
/**
|
|
10619
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
10620
|
+
* @returns {void}
|
|
10621
|
+
*/
|
|
10622
|
+
closestElement(
|
|
10623
|
+
selector, // selector like in .closest()
|
|
10624
|
+
base = this, // extra functionality to skip a parent
|
|
10625
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
10626
|
+
!el || el === document || el === window
|
|
10627
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
10628
|
+
: found
|
|
10629
|
+
? found // found a selector INside this element
|
|
10630
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
10631
|
+
) {
|
|
10632
|
+
return __Closest(base);
|
|
10633
|
+
}
|
|
10634
|
+
/* eslint-enable jsdoc/require-param */
|
|
10635
|
+
|
|
10636
|
+
/**
|
|
10637
|
+
* 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.
|
|
10638
|
+
* @param {Object} elem - The element to check.
|
|
10639
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
10640
|
+
* @returns {void}
|
|
10641
|
+
*/
|
|
10642
|
+
handleComponentTagRename(elem, tagName) {
|
|
10643
|
+
const tag = tagName.toLowerCase();
|
|
10644
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
10645
|
+
|
|
10646
|
+
if (elemTag !== tag) {
|
|
10647
|
+
elem.setAttribute(tag, true);
|
|
10648
|
+
}
|
|
10649
|
+
}
|
|
10650
|
+
|
|
10651
|
+
/**
|
|
10652
|
+
* Validates if an element is a specific Auro component.
|
|
10653
|
+
* @param {Object} elem - The element to validate.
|
|
10654
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
10655
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
10656
|
+
*/
|
|
10657
|
+
elementMatch(elem, tagName) {
|
|
10658
|
+
const tag = tagName.toLowerCase();
|
|
10659
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
10592
10660
|
|
|
10593
|
-
|
|
10661
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
10662
|
+
}
|
|
10663
|
+
};
|
|
10594
10664
|
|
|
10595
10665
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
10596
10666
|
// See LICENSE in the project root for license information.
|
|
@@ -10624,7 +10694,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
10624
10694
|
this.tertiary = false;
|
|
10625
10695
|
this.warning = false;
|
|
10626
10696
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
10627
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
10697
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$2();
|
|
10628
10698
|
}
|
|
10629
10699
|
|
|
10630
10700
|
// function to define props used within the scope of this component
|
|
@@ -10771,9 +10841,9 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
10771
10841
|
static get styles() {
|
|
10772
10842
|
return [
|
|
10773
10843
|
super.styles,
|
|
10774
|
-
i$6`${tokensCss$
|
|
10844
|
+
i$6`${tokensCss$8}`,
|
|
10775
10845
|
i$6`${styleCss$1$2}`,
|
|
10776
|
-
i$6`${colorCss$
|
|
10846
|
+
i$6`${colorCss$8}`
|
|
10777
10847
|
];
|
|
10778
10848
|
}
|
|
10779
10849
|
|
|
@@ -10786,7 +10856,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
10786
10856
|
*
|
|
10787
10857
|
*/
|
|
10788
10858
|
static register(name = "auro-icon") {
|
|
10789
|
-
AuroLibraryRuntimeUtils$
|
|
10859
|
+
AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroIcon);
|
|
10790
10860
|
}
|
|
10791
10861
|
|
|
10792
10862
|
connectedCallback() {
|
|
@@ -10854,7 +10924,77 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
10854
10924
|
|
|
10855
10925
|
var iconVersion$2 = '7.0.1';
|
|
10856
10926
|
|
|
10857
|
-
|
|
10927
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10928
|
+
// See LICENSE in the project root for license information.
|
|
10929
|
+
|
|
10930
|
+
// ---------------------------------------------------------------------
|
|
10931
|
+
|
|
10932
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
10933
|
+
|
|
10934
|
+
let AuroLibraryRuntimeUtils$8 = class AuroLibraryRuntimeUtils {
|
|
10935
|
+
|
|
10936
|
+
/* eslint-disable jsdoc/require-param */
|
|
10937
|
+
|
|
10938
|
+
/**
|
|
10939
|
+
* This will register a new custom element with the browser.
|
|
10940
|
+
* @param {String} name - The name of the custom element.
|
|
10941
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
10942
|
+
* @returns {void}
|
|
10943
|
+
*/
|
|
10944
|
+
registerComponent(name, componentClass) {
|
|
10945
|
+
if (!customElements.get(name)) {
|
|
10946
|
+
customElements.define(name, class extends componentClass {});
|
|
10947
|
+
}
|
|
10948
|
+
}
|
|
10949
|
+
|
|
10950
|
+
/**
|
|
10951
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
10952
|
+
* @returns {void}
|
|
10953
|
+
*/
|
|
10954
|
+
closestElement(
|
|
10955
|
+
selector, // selector like in .closest()
|
|
10956
|
+
base = this, // extra functionality to skip a parent
|
|
10957
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
10958
|
+
!el || el === document || el === window
|
|
10959
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
10960
|
+
: found
|
|
10961
|
+
? found // found a selector INside this element
|
|
10962
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
10963
|
+
) {
|
|
10964
|
+
return __Closest(base);
|
|
10965
|
+
}
|
|
10966
|
+
/* eslint-enable jsdoc/require-param */
|
|
10967
|
+
|
|
10968
|
+
/**
|
|
10969
|
+
* 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.
|
|
10970
|
+
* @param {Object} elem - The element to check.
|
|
10971
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
10972
|
+
* @returns {void}
|
|
10973
|
+
*/
|
|
10974
|
+
handleComponentTagRename(elem, tagName) {
|
|
10975
|
+
const tag = tagName.toLowerCase();
|
|
10976
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
10977
|
+
|
|
10978
|
+
if (elemTag !== tag) {
|
|
10979
|
+
elem.setAttribute(tag, true);
|
|
10980
|
+
}
|
|
10981
|
+
}
|
|
10982
|
+
|
|
10983
|
+
/**
|
|
10984
|
+
* Validates if an element is a specific Auro component.
|
|
10985
|
+
* @param {Object} elem - The element to validate.
|
|
10986
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
10987
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
10988
|
+
*/
|
|
10989
|
+
elementMatch(elem, tagName) {
|
|
10990
|
+
const tag = tagName.toLowerCase();
|
|
10991
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
10992
|
+
|
|
10993
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
10994
|
+
}
|
|
10995
|
+
};
|
|
10996
|
+
|
|
10997
|
+
var styleCss$8 = i$6`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-heading-default-spacing, -0.2px);font-weight:var(--ds-text-heading-default-weight, 500)}.heading--display{margin-top:0;font-size:var(--ds-text-heading-display-size-breakpoint-sm, 2.75rem);font-weight:var(--ds-text-heading-display-weight, 100);line-height:var(--ds-text-heading-display-height-breakpoint-sm, 3.375rem)}@media screen and (min-width: 768px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-md, 3rem);line-height:var(--ds-text-heading-display-height-breakpoint-md, 3.75rem)}}@media screen and (min-width: 1024px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-lg, 3.5rem);line-height:var(--ds-text-heading-display-height-breakpoint-lg, 4.25rem)}}.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-sm, 2rem);font-weight:var(--ds-text-heading-800-weight, 500);line-height:var(--ds-text-heading-800-height-breakpoint-sm, 2.375rem)}@media screen and (min-width: 768px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-md, 2.25rem);line-height:var(--ds-text-heading-800-height-breakpoint-md, 2.625rem)}}@media screen and (min-width: 1024px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-lg, 2.5rem);line-height:var(--ds-text-heading-800-height-breakpoint-lg, 3rem)}}.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-sm, 1.75rem);font-weight:var(--ds-text-heading-700-weight, 500);line-height:var(--ds-text-heading-700-height-breakpoint-sm, 2.125rem)}@media screen and (min-width: 768px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-md, 2rem);line-height:var(--ds-text-heading-700-height-breakpoint-md, 2.375rem)}}@media screen and (min-width: 1024px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-lg, 2.25rem);line-height:var(--ds-text-heading-700-height-breakpoint-lg, 2.75rem)}}.heading--600{margin:1rem 0;font-size:var(--ds-text-heading-600-size-breakpoint-sm, 1.625rem);font-weight:var(--ds-text-heading-600-weight, 300);line-height:var(--ds-text-heading-600-height-breakpoint-sm, 1.875rem)}@media screen and (min-width: 768px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-md, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-md, 2.125rem)}}@media screen and (min-width: 1024px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-lg, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-lg, 2.25rem)}}.heading--500{margin:1rem 0;font-size:var(--ds-text-heading-500-size-breakpoint-sm, 1.375rem);font-weight:var(--ds-text-heading-500-weight, 300);line-height:var(--ds-text-heading-500-height-breakpoint-sm, 1.625rem)}@media screen and (min-width: 768px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-md, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-md, 1.875rem)}}@media screen and (min-width: 1024px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-lg, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-lg, 2rem)}}.heading--400{margin:.75rem 0;font-size:var(--ds-text-heading-400-size, 1.25rem);font-weight:var(--ds-text-heading-400-weight, 300);line-height:var(--ds-text-heading-400-height, 1.625rem)}.heading--300{margin:.75rem 0;font-size:var(--ds-text-heading-300-size, 1.125rem);font-weight:var(--ds-text-heading-300-weight, 300);line-height:var(--ds-text-heading-300-height, 1.625rem)}:host([no-margin-block]) .heading{margin-block:0}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}`;
|
|
10858
10998
|
|
|
10859
10999
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
10860
11000
|
// See LICENSE in the project root for license information.
|
|
@@ -10883,7 +11023,7 @@ class AuroHeader extends r$3 {
|
|
|
10883
11023
|
/**
|
|
10884
11024
|
* @private
|
|
10885
11025
|
*/
|
|
10886
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
11026
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$8();
|
|
10887
11027
|
}
|
|
10888
11028
|
|
|
10889
11029
|
// function to define props used within the scope of this component
|
|
@@ -10901,7 +11041,7 @@ class AuroHeader extends r$3 {
|
|
|
10901
11041
|
}
|
|
10902
11042
|
|
|
10903
11043
|
static get styles() {
|
|
10904
|
-
return [styleCss$
|
|
11044
|
+
return [styleCss$8];
|
|
10905
11045
|
}
|
|
10906
11046
|
|
|
10907
11047
|
/**
|
|
@@ -10913,7 +11053,7 @@ class AuroHeader extends r$3 {
|
|
|
10913
11053
|
*
|
|
10914
11054
|
*/
|
|
10915
11055
|
static register(name = "auro-header") {
|
|
10916
|
-
AuroLibraryRuntimeUtils$
|
|
11056
|
+
AuroLibraryRuntimeUtils$8.prototype.registerComponent(name, AuroHeader);
|
|
10917
11057
|
}
|
|
10918
11058
|
|
|
10919
11059
|
firstUpdated() {
|
|
@@ -11007,11 +11147,11 @@ class AuroBibtemplate extends r$3 {
|
|
|
11007
11147
|
constructor() {
|
|
11008
11148
|
super();
|
|
11009
11149
|
|
|
11010
|
-
AuroLibraryRuntimeUtils$
|
|
11150
|
+
AuroLibraryRuntimeUtils$2$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
11011
11151
|
|
|
11012
|
-
const versioning = new AuroDependencyVersioning$
|
|
11013
|
-
this.iconTag = versioning.generateTag('auro-icon', iconVersion$2, AuroIcon$2);
|
|
11014
|
-
this.headerTag = versioning.generateTag('auro-header', headerVersion, AuroHeader);
|
|
11152
|
+
const versioning = new AuroDependencyVersioning$4();
|
|
11153
|
+
this.iconTag = versioning.generateTag('auro-formkit-bibtemplate-icon', iconVersion$2, AuroIcon$2);
|
|
11154
|
+
this.headerTag = versioning.generateTag('auro-formkit-bibtemplate-header', headerVersion, AuroHeader);
|
|
11015
11155
|
}
|
|
11016
11156
|
|
|
11017
11157
|
static get styles() {
|
|
@@ -11046,7 +11186,7 @@ class AuroBibtemplate extends r$3 {
|
|
|
11046
11186
|
*
|
|
11047
11187
|
*/
|
|
11048
11188
|
static register(name = "auro-bibtemplate") {
|
|
11049
|
-
AuroLibraryRuntimeUtils$
|
|
11189
|
+
AuroLibraryRuntimeUtils$2$2.prototype.registerComponent(name, AuroBibtemplate);
|
|
11050
11190
|
}
|
|
11051
11191
|
|
|
11052
11192
|
/**
|
|
@@ -11118,95 +11258,697 @@ class AuroBibtemplate extends r$3 {
|
|
|
11118
11258
|
|
|
11119
11259
|
var bibTemplateVersion = '1.0.0';
|
|
11120
11260
|
|
|
11121
|
-
//
|
|
11122
|
-
|
|
11123
|
-
* @prop {Object} firstDayOfWeek - Weekday that will be displayed in first column of month grid.
|
|
11124
|
-
* 0: sunday, 1: monday, 2: tuesday, 3: wednesday , 4: thursday, 5: friday, 6: saturday
|
|
11125
|
-
* Default is 0.
|
|
11126
|
-
* @prop {Date | null} focusedDate - The currently focused date (if any).
|
|
11127
|
-
* @prop {Date} maxDate - Maximum date. All dates after will be disabled.
|
|
11128
|
-
* @prop {Date} minDate - Minimum date. All dates before will be disabled.
|
|
11129
|
-
* @prop {Date | undefined} selectedDate - The selected date, usually synchronized with datepicker-input.
|
|
11130
|
-
* Not to be confused with the focused date (therefore not necessarily in active month view).
|
|
11131
|
-
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat:.
|
|
11132
|
-
* @prop {Boolean} visible - Flag indicating if the calendar is visible.
|
|
11133
|
-
* - 'short' (e.g., Thu)
|
|
11134
|
-
* - 'narrow' (e.g., T).
|
|
11135
|
-
* Default is 'short'.
|
|
11136
|
-
* @event auroCalendar-dateSelected - Notifies that a date has been selected in the calendar.
|
|
11137
|
-
* @event auroCalendar-monthChanged - Notifies that the visible calendar month(s) have changed.
|
|
11138
|
-
*/
|
|
11139
|
-
|
|
11140
|
-
/* eslint-disable no-magic-numbers, no-undef-init, max-lines, lit/binding-positions, lit/no-invalid-html */
|
|
11141
|
-
|
|
11142
|
-
// class AuroCalendar extends LitElement {
|
|
11143
|
-
class AuroCalendar extends RangeDatepicker {
|
|
11144
|
-
constructor() {
|
|
11145
|
-
super();
|
|
11261
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
11262
|
+
// See LICENSE in the project root for license information.
|
|
11146
11263
|
|
|
11147
|
-
/**
|
|
11148
|
-
* @private
|
|
11149
|
-
*/
|
|
11150
|
-
this.util = new AuroDatepickerUtilities();
|
|
11151
11264
|
|
|
11152
|
-
|
|
11153
|
-
* @private
|
|
11154
|
-
*/
|
|
11155
|
-
this.utilCal = new CalendarUtilities();
|
|
11265
|
+
let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
|
|
11156
11266
|
|
|
11157
|
-
|
|
11158
|
-
|
|
11159
|
-
|
|
11160
|
-
|
|
11267
|
+
/**
|
|
11268
|
+
* Generates a unique string to be used for child auro element naming.
|
|
11269
|
+
* @private
|
|
11270
|
+
* @param {string} baseName - Defines the first part of the unique element name.
|
|
11271
|
+
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
11272
|
+
* @returns {string} - Unique string to be used for naming.
|
|
11273
|
+
*/
|
|
11274
|
+
generateElementName(baseName, version) {
|
|
11275
|
+
let result = baseName;
|
|
11161
11276
|
|
|
11162
|
-
|
|
11163
|
-
|
|
11164
|
-
this.centralDate = undefined;
|
|
11165
|
-
this.showPrevMonthBtn = true;
|
|
11166
|
-
this.showNextMonthBtn = true;
|
|
11277
|
+
result += '-';
|
|
11278
|
+
result += version.replace(/[.]/g, '_');
|
|
11167
11279
|
|
|
11168
|
-
|
|
11169
|
-
|
|
11170
|
-
*/
|
|
11171
|
-
this.firstMonthRenderable = undefined;
|
|
11280
|
+
return result;
|
|
11281
|
+
}
|
|
11172
11282
|
|
|
11173
|
-
|
|
11174
|
-
|
|
11175
|
-
|
|
11176
|
-
|
|
11283
|
+
/**
|
|
11284
|
+
* Generates a unique string to be used for child auro element naming.
|
|
11285
|
+
* @param {string} baseName - Defines the first part of the unique element name.
|
|
11286
|
+
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
11287
|
+
* @returns {string} - Unique string to be used for naming.
|
|
11288
|
+
*/
|
|
11289
|
+
generateTag(baseName, version, tagClass) {
|
|
11290
|
+
const elementName = this.generateElementName(baseName, version);
|
|
11291
|
+
const tag = i$2`${s$1(elementName)}`;
|
|
11177
11292
|
|
|
11178
|
-
|
|
11179
|
-
|
|
11180
|
-
|
|
11181
|
-
this.numCalendars = undefined;
|
|
11293
|
+
if (!customElements.get(elementName)) {
|
|
11294
|
+
customElements.define(elementName, class extends tagClass {});
|
|
11295
|
+
}
|
|
11182
11296
|
|
|
11297
|
+
return tag;
|
|
11298
|
+
}
|
|
11299
|
+
};
|
|
11183
11300
|
|
|
11184
|
-
|
|
11301
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
11302
|
+
// See LICENSE in the project root for license information.
|
|
11185
11303
|
|
|
11304
|
+
// ---------------------------------------------------------------------
|
|
11186
11305
|
|
|
11187
|
-
|
|
11188
|
-
* @private
|
|
11189
|
-
*/
|
|
11190
|
-
this.slots = {};
|
|
11306
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
11191
11307
|
|
|
11192
|
-
|
|
11308
|
+
let AuroLibraryRuntimeUtils$7 = class AuroLibraryRuntimeUtils {
|
|
11193
11309
|
|
|
11194
|
-
|
|
11195
|
-
|
|
11196
|
-
|
|
11197
|
-
|
|
11310
|
+
/* eslint-disable jsdoc/require-param */
|
|
11311
|
+
|
|
11312
|
+
/**
|
|
11313
|
+
* This will register a new custom element with the browser.
|
|
11314
|
+
* @param {String} name - The name of the custom element.
|
|
11315
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
11316
|
+
* @returns {void}
|
|
11317
|
+
*/
|
|
11318
|
+
registerComponent(name, componentClass) {
|
|
11319
|
+
if (!customElements.get(name)) {
|
|
11320
|
+
customElements.define(name, class extends componentClass {});
|
|
11321
|
+
}
|
|
11322
|
+
}
|
|
11323
|
+
|
|
11324
|
+
/**
|
|
11325
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
11326
|
+
* @returns {void}
|
|
11327
|
+
*/
|
|
11328
|
+
closestElement(
|
|
11329
|
+
selector, // selector like in .closest()
|
|
11330
|
+
base = this, // extra functionality to skip a parent
|
|
11331
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
11332
|
+
!el || el === document || el === window
|
|
11333
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
11334
|
+
: found
|
|
11335
|
+
? found // found a selector INside this element
|
|
11336
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
11337
|
+
) {
|
|
11338
|
+
return __Closest(base);
|
|
11339
|
+
}
|
|
11340
|
+
/* eslint-enable jsdoc/require-param */
|
|
11341
|
+
|
|
11342
|
+
/**
|
|
11343
|
+
* 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.
|
|
11344
|
+
* @param {Object} elem - The element to check.
|
|
11345
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
11346
|
+
* @returns {void}
|
|
11347
|
+
*/
|
|
11348
|
+
handleComponentTagRename(elem, tagName) {
|
|
11349
|
+
const tag = tagName.toLowerCase();
|
|
11350
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
11351
|
+
|
|
11352
|
+
if (elemTag !== tag) {
|
|
11353
|
+
elem.setAttribute(tag, true);
|
|
11354
|
+
}
|
|
11355
|
+
}
|
|
11356
|
+
|
|
11357
|
+
/**
|
|
11358
|
+
* Validates if an element is a specific Auro component.
|
|
11359
|
+
* @param {Object} elem - The element to validate.
|
|
11360
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
11361
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
11362
|
+
*/
|
|
11363
|
+
elementMatch(elem, tagName) {
|
|
11364
|
+
const tag = tagName.toLowerCase();
|
|
11365
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
11366
|
+
|
|
11367
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
11368
|
+
}
|
|
11369
|
+
};
|
|
11370
|
+
|
|
11371
|
+
var styleCss$7 = i$6`:focus:not(:focus-visible){outline:3px solid transparent}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}:host([fluid]) .auro-button,:host([fluid=true]) .auro-button{min-width:auto;width:100%}:host([variant=flat]){display:inline-block;height:var(--ds-size-300, 1.5rem);width:var(--ds-size-300, 1.5rem)}:host([variant=flat]) .auro-button{height:100%;width:100%}::slotted(svg){vertical-align:middle}slot{pointer-events:none}.auro-button{position:relative;padding:0 var(--ds-size-300, 1.5rem);cursor:pointer;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem);font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-text-body-size-default, 1rem);font-weight:var(--ds-text-body-default-weight, 500);overflow:hidden;text-overflow:ellipsis;user-select:none;white-space:nowrap;min-height:var(--ds-size-600, 3rem);max-height:var(--ds-size-600, 3rem);display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--ds-size-100, 0.5rem);margin:0;-webkit-touch-callout:none;-webkit-user-select:none}.auro-button:active{transform:scale(0.95)}.auro-button:focus-visible:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]):after{display:block;content:"";height:calc(100% - 2px);width:calc(100% - 2px);position:absolute;top:1px;left:1px;border-radius:4px;border-style:solid;border-width:2px}.auro-button:focus-visible[variant=secondary]:after,.auro-button:focus-visible[variant=tertiary]:after{display:block;content:"";height:100%;width:100%;position:absolute;top:0;left:0;border-radius:var(--ds-border-radius, 0.375rem);border-style:solid;border-width:2px}.auro-button.loading{cursor:not-allowed}.auro-button.loading *:not([auro-loader]){visibility:hidden}@media screen and (min-width: 576px){.auro-button{min-width:8.75rem;width:auto}}.auro-button:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=secondary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=flat]{height:unset;width:unset;min-height:unset;max-height:unset;min-width:unset;max-width:unset;border:0;border-radius:unset;gap:unset;padding:unset}.auro-button[onDark]:disabled{cursor:not-allowed;transform:unset}.auro-button[onDark][variant=secondary]:disabled{cursor:not-allowed;transform:unset}@media(hover: hover){.auro-button[onDark][variant=tertiary]:active,.auro-button[onDark][variant=tertiary]:hover{box-shadow:none}}.auro-button[onDark][variant=tertiary]:active{box-shadow:none}.auro-button[onDark][variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button--slim{padding:var(--ds-size-100, 0.5rem) var(--ds-size-200, 1rem);font-size:var(--ds-text-body-size-sm, 0.875rem);min-width:unset;min-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem));max-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem))}.auro-button--iconOnly{padding:0 var(--ds-size-100, 0.5rem);border-radius:100px;min-width:unset;height:var(--ds-size-600, 3rem);width:var(--ds-size-500, 2.5rem)}.auro-button--iconOnly ::slotted(auro-icon),.auro-button--iconOnly ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, $ds-size-300)}.auro-button--iconOnlySlim{padding:0 var(--ds-size-50, 0.25rem);height:calc(var(--ds-size-400, 2rem) + var(--ds-size-50, 0.25rem));width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-50, 0.25rem))}.auro-button--iconOnlySlim ::slotted(auro-icon),.auro-button--iconOnlySlim ::slotted([auro-icon]){--ds-auro-icon-size:calc(var(--ds-size-200, $ds-size-200) + var(--ds-size-50, $ds-size-50))}.auro-button--rounded{border-radius:100px;box-shadow:var(--ds-elevation-300, 0px 0px 15px rgba(0, 0, 0, 0.2));height:var(--ds-size-500, 2.5rem);min-width:unset;transition:all 300ms ease-out}.auro-button--rounded ::slotted(auro-icon),.auro-button--rounded ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, $ds-size-300)}:host([rounded]) .textSlot{transition:opacity 300ms ease-in;opacity:1}:host([rounded][iconOnly]) .textSlot{opacity:0}:host([rounded][iconOnly]) .textWrapper{display:none}:host([rounded][iconOnly]) .auro-button{min-width:unset;padding:unset;width:var(--ds-size-600, 3rem)}[auro-loader]{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}`;
|
|
11372
|
+
|
|
11373
|
+
var colorCss$7 = i$6`[auro-loader]{color:var(--ds-auro-button-loader-color)}.auro-button{-webkit-tap-highlight-color:var(--ds-auro-button-tap-color);color:var(--ds-auro-button-text-color);background-color:var(--ds-auro-button-container-color);background-image:linear-gradient(var(--ds-auro-button-container-image), var(--ds-auro-button-container-image));border-color:var(--ds-auro-button-border-color)}.auro-button:not([variant=secondary]):not([variant=tertiary]):focus-visible:after{border-color:var(--ds-auro-button-border-inset-color)}.auro-button:not([ondark]):active{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-active-default, #225296)}.auro-button:not([ondark])[disabled]{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-disabled-default, #a0c9f1)}@media(hover: hover){.auro-button:not([ondark]):active:not(:disabled),.auro-button:not([ondark]):hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-border-color:var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-text-color:var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=secondary]:active:not(:disabled),.auro-button:not([ondark])[variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color:var(--ds-color-border-ui-hover-default, #193d73);--ds-auro-button-text-color:var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-color-border-ui-focus-default, #2c67b5)}.auro-button:not([ondark])[variant=secondary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-border-color:var(--ds-color-border-ui-active-default, #225296);--ds-auro-button-text-color:var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=secondary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-border-color:var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=tertiary]{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=tertiary]:active:not(:disabled),.auro-button:not([ondark])[variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-border-inset-color:var(--ds-color-border-ui-default-default, #2c67b5)}.auro-button:not([ondark])[variant=tertiary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=tertiary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=flat]{color:var(--ds-color-icon-ui-secondary-default-default);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button:not([ondark])[variant=flat]:active:not(:disabled),.auro-button:not([ondark])[variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-default);background-color:transparent;background-image:none;border-color:transparent}}.auro-button:not([ondark])[variant=flat]:disabled{color:var(--ds-color-icon-ui-secondary-disabled-default);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark]{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-text-color:var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-button-loader-color:var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark]:active:not(:disabled),.auro-button[ondark]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7)}}.auro-button[ondark]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-active-inverse, #6ad5ef)}.auro-button[ondark][disabled]{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-inverse, #7e7e7e);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-disabled-inverse, #275b72)}.auro-button[ondark][variant=secondary]{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-border-color:var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-text-color:var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=secondary]:hover{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color:var(--ds-color-border-ui-hover-inverse, #a8e9f7);--ds-auro-button-text-color:var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-color-border-ui-focus-inverse, #56bbde)}.auro-button[ondark][variant=secondary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color:var(--ds-color-border-ui-active-inverse, #6ad5ef);--ds-auro-button-text-color:var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=secondary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color:var(--ds-color-border-ui-disabled-inverse, #7e7e7e);--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=tertiary]{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=tertiary]:active:not(:disabled),.auro-button[ondark][variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-border-inset-color:var(--ds-color-border-ui-default-inverse, #56bbde)}.auro-button[ondark][variant=tertiary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=tertiary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=flat]{color:var(--ds-color-icon-ui-secondary-default-inverse);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button[ondark][variant=flat]:active:not(:disabled),.auro-button[ondark][variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-inverse);background-color:transparent;background-image:none;border-color:transparent}}.auro-button[ondark][variant=flat]:disabled{color:var(--ds-color-icon-ui-disabled-default);background-color:transparent;background-image:none;border-color:transparent}`;
|
|
11374
|
+
|
|
11375
|
+
var tokensCss$7 = i$6`:host{--ds-auro-button-border-color:var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-border-inset-color:var(--ds-color-border-emphasis-inverse, #f2f7fb);--ds-auro-button-container-color:var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-loader-color:var(--ds-color-utility-navy-default, #265688);--ds-auro-button-text-color:var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-tap-color:transparent}`;
|
|
11376
|
+
|
|
11377
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
11378
|
+
// See LICENSE in the project root for license information.
|
|
11379
|
+
|
|
11380
|
+
// ---------------------------------------------------------------------
|
|
11381
|
+
|
|
11382
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
11383
|
+
|
|
11384
|
+
let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
|
|
11385
|
+
|
|
11386
|
+
/* eslint-disable jsdoc/require-param */
|
|
11387
|
+
|
|
11388
|
+
/**
|
|
11389
|
+
* This will register a new custom element with the browser.
|
|
11390
|
+
* @param {String} name - The name of the custom element.
|
|
11391
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
11392
|
+
* @returns {void}
|
|
11393
|
+
*/
|
|
11394
|
+
registerComponent(name, componentClass) {
|
|
11395
|
+
if (!customElements.get(name)) {
|
|
11396
|
+
customElements.define(name, class extends componentClass {});
|
|
11397
|
+
}
|
|
11398
|
+
}
|
|
11399
|
+
|
|
11400
|
+
/**
|
|
11401
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
11402
|
+
* @returns {void}
|
|
11403
|
+
*/
|
|
11404
|
+
closestElement(
|
|
11405
|
+
selector, // selector like in .closest()
|
|
11406
|
+
base = this, // extra functionality to skip a parent
|
|
11407
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
11408
|
+
!el || el === document || el === window
|
|
11409
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
11410
|
+
: found
|
|
11411
|
+
? found // found a selector INside this element
|
|
11412
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
11413
|
+
) {
|
|
11414
|
+
return __Closest(base);
|
|
11415
|
+
}
|
|
11416
|
+
/* eslint-enable jsdoc/require-param */
|
|
11417
|
+
|
|
11418
|
+
/**
|
|
11419
|
+
* 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.
|
|
11420
|
+
* @param {Object} elem - The element to check.
|
|
11421
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
11422
|
+
* @returns {void}
|
|
11423
|
+
*/
|
|
11424
|
+
handleComponentTagRename(elem, tagName) {
|
|
11425
|
+
const tag = tagName.toLowerCase();
|
|
11426
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
11427
|
+
|
|
11428
|
+
if (elemTag !== tag) {
|
|
11429
|
+
elem.setAttribute(tag, true);
|
|
11430
|
+
}
|
|
11431
|
+
}
|
|
11432
|
+
|
|
11433
|
+
/**
|
|
11434
|
+
* Validates if an element is a specific Auro component.
|
|
11435
|
+
* @param {Object} elem - The element to validate.
|
|
11436
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
11437
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
11438
|
+
*/
|
|
11439
|
+
elementMatch(elem, tagName) {
|
|
11440
|
+
const tag = tagName.toLowerCase();
|
|
11441
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
11442
|
+
|
|
11443
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
11444
|
+
}
|
|
11445
|
+
};
|
|
11446
|
+
|
|
11447
|
+
var styleCss$6 = i$6`: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}: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:0.375rem;--margin-xs:0.2rem;--margin-sm:0.5rem;--margin-md:0.75rem;--margin-lg:1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin)*6);height:1.5rem}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(2.55rem + var(--margin-xs)*6);height:1.55rem}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm)*6);height:2.5rem}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md)*6);height:3.5rem}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg)*6);height:5.5rem}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-400ms}:host([pulse])>span:nth-child(2){animation-delay:-200ms}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,100%{opacity:.1;transform:scale(0.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(0deg)}100%{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{100%{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{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%}100%{left:110%}}:host>.no-animation{display:none}@media(prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center;font-size:1rem}:host>span{opacity:1}:host>.loader{display:none}:host>.no-animation{display:block}}`;
|
|
11448
|
+
|
|
11449
|
+
var colorCss$6 = i$6`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]){--ds-auro-loader-color:var(--ds-color-utility-navy-default, #265688)}:host([ondark]){--ds-auro-loader-color:var(--ds-color-utility-cyan-inverse, #a8e9f7)}:host([white]){--ds-auro-loader-color:var(--ds-color-utility-neutral-inverse, #ccd2db)}: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}`;
|
|
11450
|
+
|
|
11451
|
+
var tokensCss$6 = i$6`:host{--ds-auro-loader-background-color:currentcolor;--ds-auro-loader-border-color:currentcolor;--ds-auro-loader-color:currentcolor}`;
|
|
11452
|
+
|
|
11453
|
+
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11454
|
+
// See LICENSE in the project root for license information.
|
|
11455
|
+
|
|
11456
|
+
|
|
11457
|
+
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
11458
|
+
/**
|
|
11459
|
+
* The auro-loader element is an easy to use animated loader component.
|
|
11460
|
+
*
|
|
11461
|
+
* @attr {Boolean} pulse - sets loader type
|
|
11462
|
+
* @attr {Boolean} ringworm - sets loader type
|
|
11463
|
+
* @attr {Boolean} laser - sets loader type
|
|
11464
|
+
* @attr {Boolean} orbit - sets loader type
|
|
11465
|
+
* @attr {Boolean} white - sets color of loader to white
|
|
11466
|
+
* @attr {Boolean} ondark - sets color of loader to auro-color-ui-default-on-dark
|
|
11467
|
+
* @attr {Boolean} onlight - sets color of loader to auro-color-ui-default-on-light
|
|
11468
|
+
* @attr {Boolean} xs - sets size to extra small
|
|
11469
|
+
* @attr {Boolean} sm - sets size to small
|
|
11470
|
+
* @attr {Boolean} md - sets size to medium
|
|
11471
|
+
* @attr {Boolean} lg - sets size to large
|
|
11472
|
+
* @csspart element - apply style to adjust speed of animation
|
|
11473
|
+
*/
|
|
11474
|
+
|
|
11475
|
+
// build the component class
|
|
11476
|
+
let AuroLoader$1 = class AuroLoader extends r$3 {
|
|
11477
|
+
constructor() {
|
|
11478
|
+
super();
|
|
11479
|
+
|
|
11480
|
+
/**
|
|
11481
|
+
* @private
|
|
11482
|
+
*/
|
|
11483
|
+
this.keys = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
|
|
11484
|
+
|
|
11485
|
+
/**
|
|
11486
|
+
* @private
|
|
11487
|
+
*/
|
|
11488
|
+
this.mdCount = 3;
|
|
11489
|
+
|
|
11490
|
+
/**
|
|
11491
|
+
* @private
|
|
11492
|
+
*/
|
|
11493
|
+
this.smCount = 2;
|
|
11494
|
+
|
|
11495
|
+
/**
|
|
11496
|
+
* @private
|
|
11497
|
+
*/
|
|
11498
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
|
|
11499
|
+
|
|
11500
|
+
this.orbit = false;
|
|
11501
|
+
this.ringworm = false;
|
|
11502
|
+
this.laser = false;
|
|
11503
|
+
this.pulse = false;
|
|
11504
|
+
}
|
|
11505
|
+
|
|
11506
|
+
// function to define props used within the scope of this component
|
|
11507
|
+
static get properties() {
|
|
11508
|
+
return {
|
|
11509
|
+
pulse: {
|
|
11510
|
+
type: Boolean,
|
|
11511
|
+
reflect: true
|
|
11512
|
+
},
|
|
11513
|
+
orbit: {
|
|
11514
|
+
type: Boolean,
|
|
11515
|
+
reflect: true
|
|
11516
|
+
},
|
|
11517
|
+
ringworm: {
|
|
11518
|
+
type: Boolean,
|
|
11519
|
+
reflect: true
|
|
11520
|
+
},
|
|
11521
|
+
laser: {
|
|
11522
|
+
type: Boolean,
|
|
11523
|
+
reflect: true
|
|
11524
|
+
}
|
|
11525
|
+
};
|
|
11526
|
+
}
|
|
11527
|
+
|
|
11528
|
+
static get styles() {
|
|
11529
|
+
return [
|
|
11530
|
+
i$6`${styleCss$6}`,
|
|
11531
|
+
i$6`${colorCss$6}`,
|
|
11532
|
+
i$6`${tokensCss$6}`
|
|
11533
|
+
];
|
|
11534
|
+
}
|
|
11535
|
+
|
|
11536
|
+
/**
|
|
11537
|
+
* This will register this element with the browser.
|
|
11538
|
+
* @param {string} [name="auro-loader"] - The name of element that you want to register to.
|
|
11539
|
+
*
|
|
11540
|
+
* @example
|
|
11541
|
+
* AuroLoader.register("custom-loader") // this will register this element to <custom-loader/>
|
|
11542
|
+
*
|
|
11543
|
+
*/
|
|
11544
|
+
static register(name = "auro-loader") {
|
|
11545
|
+
AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroLoader);
|
|
11546
|
+
}
|
|
11547
|
+
|
|
11548
|
+
firstUpdated() {
|
|
11549
|
+
// Add the tag name as an attribute if it is different than the component name
|
|
11550
|
+
this.runtimeUtils.handleComponentTagRename(this, 'auro-loader');
|
|
11551
|
+
}
|
|
11552
|
+
|
|
11553
|
+
connectedCallback() {
|
|
11554
|
+
super.connectedCallback();
|
|
11555
|
+
}
|
|
11556
|
+
|
|
11557
|
+
/**
|
|
11558
|
+
* @private
|
|
11559
|
+
* @returns {Array} Numbered array for template map.
|
|
11560
|
+
*/
|
|
11561
|
+
defineTemplate() {
|
|
11562
|
+
let nodes = Array.from(Array(this.mdCount).keys());
|
|
11563
|
+
|
|
11564
|
+
if (this.orbit || this.laser) {
|
|
11565
|
+
nodes = Array.from(Array(this.smCount).keys());
|
|
11566
|
+
} else if (this.ringworm) {
|
|
11567
|
+
nodes = Array.from(Array(0).keys());
|
|
11568
|
+
}
|
|
11569
|
+
|
|
11570
|
+
return nodes;
|
|
11571
|
+
}
|
|
11572
|
+
|
|
11573
|
+
// When using auroElement, use the following attribute and function when hiding content from screen readers.
|
|
11574
|
+
// aria-hidden="${this.hideAudible(this.hiddenAudible)}"
|
|
11575
|
+
|
|
11576
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
11577
|
+
render() {
|
|
11578
|
+
return x`
|
|
11579
|
+
${this.defineTemplate().map((idx) => x`
|
|
11580
|
+
<span part="element" class="loader node-${idx}"></span>
|
|
11581
|
+
`)}
|
|
11582
|
+
|
|
11583
|
+
<div class="no-animation">Loading...</div>
|
|
11584
|
+
|
|
11585
|
+
${this.ringworm ? x`
|
|
11586
|
+
<svg part="element" class="circular" viewBox="25 25 50 50">
|
|
11587
|
+
<circle class="path" cx="50" cy="50" r="20" fill="none"/>
|
|
11588
|
+
</svg>`
|
|
11589
|
+
: ``
|
|
11590
|
+
}
|
|
11591
|
+
`;
|
|
11592
|
+
}
|
|
11593
|
+
};
|
|
11594
|
+
|
|
11595
|
+
var loaderVersion$1 = '4.0.0';
|
|
11596
|
+
|
|
11597
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
11598
|
+
// See LICENSE in the project root for license information.
|
|
11599
|
+
|
|
11600
|
+
|
|
11601
|
+
/**
|
|
11602
|
+
* @attr {Boolean} autofocus - This Boolean attribute lets you specify that the button should have input focus when the page loads, unless overridden by the user
|
|
11603
|
+
* @attr {Boolean} disabled - If set to true button will become disabled and not allow for interactions
|
|
11604
|
+
* @attr {Boolean} iconOnly - If set to true, the button will contain an icon with no additional content
|
|
11605
|
+
* @attr {Boolean} loading - If set to true button text will be replaced with `auro-loader` and become disabled
|
|
11606
|
+
* @attr {Boolean} onDark - Set value for on-dark version of auro-button
|
|
11607
|
+
* @attr {Boolean} rounded - If set to true, the button will have a rounded shape
|
|
11608
|
+
* @attr {Boolean} slim - Set value for slim version of auro-button
|
|
11609
|
+
* @attr {Boolean} fluid - Alters the shape of the button to be full width of its parent container
|
|
11610
|
+
* @attr {String} arialabel - Populates the `aria-label` attribute that is used to define a string that labels the current element. Use it in cases where a text label is not visible on the screen. If there is visible text labeling the element, use `aria-labelledby` instead.
|
|
11611
|
+
* @attr {String} arialabelledby - Populates the `aria-labelledby` attribute that establishes relationships between objects and their label(s), and its value should be one or more element IDs, which refer to elements that have the text needed for labeling. List multiple element IDs in a space delimited fashion.
|
|
11612
|
+
* @attr {String} id - Set the unique ID of an element.
|
|
11613
|
+
* @attr {String} title - Sets title attribute. The information is most often shown as a tooltip text when the mouse moves over the element.
|
|
11614
|
+
* @attr {String} type - The type of the button. Possible values are: `submit`, `reset`, `button`
|
|
11615
|
+
* @attr {String} value - Defines the value associated with the button which is submitted with the form data.
|
|
11616
|
+
* @attr {String} variant - Sets button variant option. Possible values are: `secondary`, `tertiary`
|
|
11617
|
+
* @attr {Boolean} secondary - DEPRECATED
|
|
11618
|
+
* @attr {Boolean} tertiary - DEPRECATED
|
|
11619
|
+
* @prop {Boolean} ready - When false the component API should not be called.
|
|
11620
|
+
* @event auroButton-ready - Notifies that the component has finished initializing.
|
|
11621
|
+
* @slot - Default slot for the text of the button.
|
|
11622
|
+
* @slot icon - Slot to provide auro-icon for the button.
|
|
11623
|
+
* @csspart button - Apply CSS to HTML5 button.
|
|
11624
|
+
* @csspart loader - Apply CSS to auro-loader.
|
|
11625
|
+
* @csspart text - Apply CSS to text slot.
|
|
11626
|
+
* @csspart icon - Apply CSS to icon slot.
|
|
11627
|
+
*/
|
|
11628
|
+
|
|
11629
|
+
/* eslint-disable lit/no-invalid-html, lit/binding-positions */
|
|
11630
|
+
|
|
11631
|
+
let AuroButton$1 = class AuroButton extends r$3 {
|
|
11632
|
+
|
|
11633
|
+
/**
|
|
11634
|
+
* Enables form association for this element.
|
|
11635
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals
|
|
11636
|
+
* @returns {boolean} - Returns true to enable form association.
|
|
11637
|
+
*/
|
|
11638
|
+
static get formAssociated() {
|
|
11639
|
+
return true;
|
|
11640
|
+
}
|
|
11641
|
+
|
|
11642
|
+
constructor() {
|
|
11643
|
+
super();
|
|
11644
|
+
|
|
11645
|
+
this.autofocus = false;
|
|
11646
|
+
this.disabled = false;
|
|
11647
|
+
this.iconOnly = false;
|
|
11648
|
+
this.loading = false;
|
|
11649
|
+
this.onDark = false;
|
|
11650
|
+
this.ready = false;
|
|
11651
|
+
this.secondary = false;
|
|
11652
|
+
this.tertiary = false;
|
|
11653
|
+
this.rounded = false;
|
|
11654
|
+
this.slim = false;
|
|
11655
|
+
this.fluid = false;
|
|
11656
|
+
|
|
11657
|
+
// Support for HTML5 forms
|
|
11658
|
+
if (typeof this.attachInternals === 'function') {
|
|
11659
|
+
this.internals = this.attachInternals();
|
|
11660
|
+
} else {
|
|
11661
|
+
this.internals = null;
|
|
11662
|
+
|
|
11663
|
+
// eslint-disable-next-line no-console
|
|
11664
|
+
console.warn('This browser does not support form association features. Some form-related functionality may not work as expected. Consider using a polyfill or handling click events manually.');
|
|
11665
|
+
}
|
|
11666
|
+
|
|
11667
|
+
/**
|
|
11668
|
+
* Generate unique names for dependency components.
|
|
11669
|
+
*/
|
|
11670
|
+
const versioning = new AuroDependencyVersioning$3();
|
|
11671
|
+
|
|
11672
|
+
/**
|
|
11673
|
+
* @private
|
|
11674
|
+
*/
|
|
11675
|
+
this.loaderTag = versioning.generateTag('auro-loader', loaderVersion$1, AuroLoader$1);
|
|
11676
|
+
}
|
|
11677
|
+
|
|
11678
|
+
static get styles() {
|
|
11679
|
+
return [
|
|
11680
|
+
tokensCss$7,
|
|
11681
|
+
styleCss$7,
|
|
11682
|
+
colorCss$7
|
|
11683
|
+
];
|
|
11684
|
+
}
|
|
11685
|
+
|
|
11686
|
+
static get properties() {
|
|
11687
|
+
return {
|
|
11688
|
+
autofocus: {
|
|
11689
|
+
type: Boolean,
|
|
11690
|
+
reflect: true
|
|
11691
|
+
},
|
|
11692
|
+
disabled: {
|
|
11693
|
+
type: Boolean,
|
|
11694
|
+
reflect: true
|
|
11695
|
+
},
|
|
11696
|
+
secondary: {
|
|
11697
|
+
type: Boolean,
|
|
11698
|
+
reflect: true
|
|
11699
|
+
},
|
|
11700
|
+
tertiary: {
|
|
11701
|
+
type: Boolean,
|
|
11702
|
+
reflect: true
|
|
11703
|
+
},
|
|
11704
|
+
fluid: {
|
|
11705
|
+
type: Boolean,
|
|
11706
|
+
reflect: true
|
|
11707
|
+
},
|
|
11708
|
+
iconOnly: {
|
|
11709
|
+
type: Boolean,
|
|
11710
|
+
reflect: true
|
|
11711
|
+
},
|
|
11712
|
+
loading: {
|
|
11713
|
+
type: Boolean,
|
|
11714
|
+
reflect: true
|
|
11715
|
+
},
|
|
11716
|
+
onDark: {
|
|
11717
|
+
type: Boolean,
|
|
11718
|
+
reflect: true
|
|
11719
|
+
},
|
|
11720
|
+
rounded: {
|
|
11721
|
+
type: Boolean,
|
|
11722
|
+
reflect: true
|
|
11723
|
+
},
|
|
11724
|
+
slim: {
|
|
11725
|
+
type: Boolean,
|
|
11726
|
+
reflect: true
|
|
11727
|
+
},
|
|
11728
|
+
arialabel: {
|
|
11729
|
+
type: String,
|
|
11730
|
+
reflect: true
|
|
11731
|
+
},
|
|
11732
|
+
arialabelledby: {
|
|
11733
|
+
type: String,
|
|
11734
|
+
reflect: true
|
|
11735
|
+
},
|
|
11736
|
+
title: {
|
|
11737
|
+
type: String,
|
|
11738
|
+
reflect: true
|
|
11739
|
+
},
|
|
11740
|
+
type: {
|
|
11741
|
+
type: String,
|
|
11742
|
+
reflect: true
|
|
11743
|
+
},
|
|
11744
|
+
value: {
|
|
11745
|
+
type: String,
|
|
11746
|
+
reflect: true
|
|
11747
|
+
},
|
|
11748
|
+
variant: {
|
|
11749
|
+
type: String,
|
|
11750
|
+
reflect: true
|
|
11751
|
+
},
|
|
11752
|
+
ready: { type: Boolean },
|
|
11753
|
+
};
|
|
11754
|
+
}
|
|
11755
|
+
|
|
11756
|
+
/**
|
|
11757
|
+
* This will register this element with the browser.
|
|
11758
|
+
* @param {string} [name="auro-button"] - The name of element that you want to register to.
|
|
11759
|
+
*
|
|
11760
|
+
* @example
|
|
11761
|
+
* AuroButton.register("custom-button") // this will register this element to <custom-button/>
|
|
11762
|
+
*
|
|
11763
|
+
*/
|
|
11764
|
+
static register(name = "auro-button") {
|
|
11765
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroButton);
|
|
11766
|
+
}
|
|
11767
|
+
|
|
11768
|
+
/**
|
|
11769
|
+
* Internal method to apply focus to the HTML5 button.
|
|
11770
|
+
* @private
|
|
11771
|
+
* @returns {void}
|
|
11772
|
+
*/
|
|
11773
|
+
focus() {
|
|
11774
|
+
this.renderRoot.querySelector('button').focus();
|
|
11775
|
+
}
|
|
11776
|
+
|
|
11777
|
+
/**
|
|
11778
|
+
* Marks the component as ready and sends event.
|
|
11779
|
+
* @private
|
|
11780
|
+
* @returns {void}
|
|
11781
|
+
*/
|
|
11782
|
+
notifyReady() {
|
|
11783
|
+
this.ready = true;
|
|
11784
|
+
|
|
11785
|
+
this.dispatchEvent(new CustomEvent('auroButton-ready', {
|
|
11786
|
+
bubbles: true,
|
|
11787
|
+
cancelable: false,
|
|
11788
|
+
composed: true,
|
|
11789
|
+
}));
|
|
11790
|
+
}
|
|
11791
|
+
|
|
11792
|
+
updated() {
|
|
11793
|
+
// support the old `secondary` and `tertiary` attributes` that are deprecated
|
|
11794
|
+
if (this.secondary) {
|
|
11795
|
+
this.setAttribute('variant', 'secondary');
|
|
11796
|
+
}
|
|
11797
|
+
|
|
11798
|
+
if (this.tertiary) {
|
|
11799
|
+
this.setAttribute('variant', 'tertiary');
|
|
11800
|
+
}
|
|
11801
|
+
}
|
|
11802
|
+
|
|
11803
|
+
firstUpdated() {
|
|
11804
|
+
this.notifyReady();
|
|
11805
|
+
}
|
|
11806
|
+
|
|
11807
|
+
surfaceSubmitEvent() {
|
|
11808
|
+
if (this.form) {
|
|
11809
|
+
this.form.requestSubmit();
|
|
11810
|
+
}
|
|
11811
|
+
}
|
|
11812
|
+
|
|
11813
|
+
get form() {
|
|
11814
|
+
return this.internals ? this.internals.form : null;
|
|
11815
|
+
}
|
|
11816
|
+
|
|
11817
|
+
render() {
|
|
11818
|
+
const classes = {
|
|
11819
|
+
'util_insetLg--squish': true,
|
|
11820
|
+
'auro-button': true,
|
|
11821
|
+
'auroButton': true,
|
|
11822
|
+
'auro-button--rounded': this.rounded,
|
|
11823
|
+
'auro-button--slim': this.slim,
|
|
11824
|
+
'auro-button--iconOnly': this.iconOnly,
|
|
11825
|
+
'auro-button--iconOnlySlim': this.iconOnly && this.slim,
|
|
11826
|
+
'loading': this.loading
|
|
11827
|
+
};
|
|
11828
|
+
|
|
11829
|
+
return u$2`
|
|
11830
|
+
<button
|
|
11831
|
+
part="button"
|
|
11832
|
+
aria-label="${o(this.arialabel ? this.arialabel : undefined)}"
|
|
11833
|
+
aria-labelledby="${o(this.arialabelledby ? this.arialabelledby : undefined)}"
|
|
11834
|
+
?autofocus="${this.autofocus}"
|
|
11835
|
+
class="${e(classes)}"
|
|
11836
|
+
?disabled="${this.disabled || this.loading}"
|
|
11837
|
+
?onDark="${this.onDark}"
|
|
11838
|
+
title="${o(this.title ? this.title : undefined)}"
|
|
11839
|
+
name="${o(this.name ? this.name : undefined)}"
|
|
11840
|
+
type="${o(this.type ? this.type : undefined)}"
|
|
11841
|
+
variant="${o(this.variant ? this.variant : undefined)}"
|
|
11842
|
+
.value="${o(this.value ? this.value : undefined)}"
|
|
11843
|
+
@click="${this.type === 'submit' ? this.surfaceSubmitEvent : undefined}"
|
|
11844
|
+
>
|
|
11845
|
+
${o(this.loading ? u$2`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
11846
|
+
|
|
11847
|
+
<span class="contentWrapper">
|
|
11848
|
+
<span class="textSlot" part="text">
|
|
11849
|
+
${this.iconOnly ? undefined : u$2`<slot></slot>`}
|
|
11850
|
+
</span>
|
|
11851
|
+
|
|
11852
|
+
<span part="icon">
|
|
11853
|
+
<slot name="icon"></slot>
|
|
11854
|
+
</span>
|
|
11855
|
+
</span>
|
|
11856
|
+
</button>
|
|
11857
|
+
`;
|
|
11858
|
+
}
|
|
11859
|
+
};
|
|
11860
|
+
|
|
11861
|
+
var buttonVersion$1 = '9.0.0';
|
|
11862
|
+
|
|
11863
|
+
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
11864
|
+
/**
|
|
11865
|
+
* @prop {Object} firstDayOfWeek - Weekday that will be displayed in first column of month grid.
|
|
11866
|
+
* 0: sunday, 1: monday, 2: tuesday, 3: wednesday , 4: thursday, 5: friday, 6: saturday
|
|
11867
|
+
* Default is 0.
|
|
11868
|
+
* @prop {Date | null} focusedDate - The currently focused date (if any).
|
|
11869
|
+
* @prop {Date} maxDate - Maximum date. All dates after will be disabled.
|
|
11870
|
+
* @prop {Date} minDate - Minimum date. All dates before will be disabled.
|
|
11871
|
+
* @prop {Date | undefined} selectedDate - The selected date, usually synchronized with datepicker-input.
|
|
11872
|
+
* Not to be confused with the focused date (therefore not necessarily in active month view).
|
|
11873
|
+
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat:.
|
|
11874
|
+
* @prop {Boolean} visible - Flag indicating if the calendar is visible.
|
|
11875
|
+
* - 'short' (e.g., Thu)
|
|
11876
|
+
* - 'narrow' (e.g., T).
|
|
11877
|
+
* Default is 'short'.
|
|
11878
|
+
* @event auroCalendar-dateSelected - Notifies that a date has been selected in the calendar.
|
|
11879
|
+
* @event auroCalendar-monthChanged - Notifies that the visible calendar month(s) have changed.
|
|
11880
|
+
*/
|
|
11881
|
+
|
|
11882
|
+
/* eslint-disable no-magic-numbers, no-undef-init, max-lines, lit/binding-positions, lit/no-invalid-html */
|
|
11883
|
+
|
|
11884
|
+
// class AuroCalendar extends LitElement {
|
|
11885
|
+
class AuroCalendar extends RangeDatepicker {
|
|
11886
|
+
constructor() {
|
|
11887
|
+
super();
|
|
11888
|
+
|
|
11889
|
+
/**
|
|
11890
|
+
* @private
|
|
11891
|
+
*/
|
|
11892
|
+
this.util = new AuroDatepickerUtilities();
|
|
11893
|
+
|
|
11894
|
+
/**
|
|
11895
|
+
* @private
|
|
11896
|
+
*/
|
|
11897
|
+
this.utilCal = new CalendarUtilities();
|
|
11898
|
+
|
|
11899
|
+
/**
|
|
11900
|
+
* @private
|
|
11901
|
+
*/
|
|
11902
|
+
this.utilCalRender = new UtilitiesCalendarRender();
|
|
11903
|
+
|
|
11904
|
+
this.calendarStartDate = undefined;
|
|
11905
|
+
this.calendarEndDate = undefined;
|
|
11906
|
+
this.centralDate = undefined;
|
|
11907
|
+
this.showPrevMonthBtn = true;
|
|
11908
|
+
this.showNextMonthBtn = true;
|
|
11909
|
+
|
|
11910
|
+
/**
|
|
11911
|
+
* @private
|
|
11912
|
+
*/
|
|
11913
|
+
this.firstMonthRenderable = undefined;
|
|
11914
|
+
|
|
11915
|
+
/**
|
|
11916
|
+
* @private
|
|
11917
|
+
*/
|
|
11918
|
+
this.calendarRangeMonths = null;
|
|
11919
|
+
|
|
11920
|
+
/**
|
|
11921
|
+
* @private
|
|
11922
|
+
*/
|
|
11923
|
+
this.numCalendars = undefined;
|
|
11924
|
+
|
|
11925
|
+
this.visible = false;
|
|
11926
|
+
|
|
11927
|
+
/**
|
|
11928
|
+
* @private
|
|
11929
|
+
*/
|
|
11930
|
+
this.slots = {};
|
|
11931
|
+
|
|
11932
|
+
const versioning = new AuroDependencyVersioning$5();
|
|
11933
|
+
|
|
11934
|
+
/**
|
|
11935
|
+
* @private
|
|
11936
|
+
*/
|
|
11937
|
+
this.bibtemplateTag = versioning.generateTag('auro-formkit-datepicker-bibtemplate', bibTemplateVersion, AuroBibtemplate);
|
|
11938
|
+
|
|
11939
|
+
/**
|
|
11940
|
+
* @private
|
|
11941
|
+
*/
|
|
11942
|
+
this.buttonTag = versioning.generateTag('auro-formkit-datepicker-button', buttonVersion$1, AuroButton$1);
|
|
11198
11943
|
|
|
11199
|
-
/**
|
|
11200
|
-
* @private
|
|
11201
|
-
*/
|
|
11202
11944
|
this.dropdown = undefined;
|
|
11203
11945
|
}
|
|
11204
11946
|
|
|
11205
11947
|
static get styles() {
|
|
11206
11948
|
return [
|
|
11207
|
-
styleCss$
|
|
11208
|
-
colorCss$
|
|
11209
|
-
tokensCss$
|
|
11949
|
+
styleCss$c,
|
|
11950
|
+
colorCss$c,
|
|
11951
|
+
tokensCss$a
|
|
11210
11952
|
];
|
|
11211
11953
|
}
|
|
11212
11954
|
|
|
@@ -11253,6 +11995,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
11253
11995
|
type: Boolean,
|
|
11254
11996
|
reflect: true
|
|
11255
11997
|
},
|
|
11998
|
+
dropdown: {
|
|
11999
|
+
type: Object
|
|
12000
|
+
},
|
|
11256
12001
|
|
|
11257
12002
|
/**
|
|
11258
12003
|
* @private
|
|
@@ -11288,16 +12033,14 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
11288
12033
|
*/
|
|
11289
12034
|
renderAllCalendars() {
|
|
11290
12035
|
let renderedHtml = undefined;
|
|
12036
|
+
|
|
11291
12037
|
if (this.visible) {
|
|
11292
12038
|
this.utilCalRender.setFirstRenderableMonthDate(this);
|
|
11293
12039
|
this.utilCal.assessNavigationButtonVisibility(this);
|
|
11294
12040
|
|
|
11295
|
-
|
|
11296
|
-
const dropdownbib = dropdown ? dropdown.bibContent : AuroLibraryRuntimeUtils$4.prototype.closestElement('auro-dropdownbib, [auro-dropdownbib]', this);
|
|
11297
|
-
this.isFullscreen = dropdownbib.hasAttribute('isFullscreen');
|
|
12041
|
+
this.isFullscreen = this.dropdown.bibContent.hasAttribute('isFullscreen');
|
|
11298
12042
|
this.utilCalRender.determineNumCalendarsToRender(this, this.isFullscreen);
|
|
11299
12043
|
|
|
11300
|
-
|
|
11301
12044
|
// Determine which month to render first
|
|
11302
12045
|
let dateMatches = undefined;
|
|
11303
12046
|
|
|
@@ -11362,6 +12105,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
11362
12105
|
renderedHtml = u$2`${renderedHtml}${this.utilCalRender.renderCalendar(this, newMonth, newYear)}`;
|
|
11363
12106
|
}
|
|
11364
12107
|
}
|
|
12108
|
+
|
|
11365
12109
|
return renderedHtml;
|
|
11366
12110
|
}
|
|
11367
12111
|
|
|
@@ -11457,14 +12201,14 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
11457
12201
|
</div>
|
|
11458
12202
|
</div>
|
|
11459
12203
|
|
|
11460
|
-
|
|
12204
|
+
<${this.buttonTag} slot="footer" fluid @click="${this.utilCal.requestDismiss}">Done</${this.buttonTag}>
|
|
11461
12205
|
</${this.bibtemplateTag}>
|
|
11462
12206
|
`;
|
|
11463
12207
|
}
|
|
11464
12208
|
}
|
|
11465
12209
|
|
|
11466
|
-
if (!customElements.get('auro-calendar')) {
|
|
11467
|
-
customElements.define('auro-calendar', AuroCalendar);
|
|
12210
|
+
if (!customElements.get('auro-formkit-calendar')) {
|
|
12211
|
+
customElements.define('auro-formkit-calendar', AuroCalendar);
|
|
11468
12212
|
}
|
|
11469
12213
|
|
|
11470
12214
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
@@ -11474,7 +12218,7 @@ if (!customElements.get('auro-calendar')) {
|
|
|
11474
12218
|
|
|
11475
12219
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
11476
12220
|
|
|
11477
|
-
let AuroLibraryRuntimeUtils$
|
|
12221
|
+
let AuroLibraryRuntimeUtils$2$1 = class AuroLibraryRuntimeUtils {
|
|
11478
12222
|
|
|
11479
12223
|
/* eslint-disable jsdoc/require-param */
|
|
11480
12224
|
|
|
@@ -13287,11 +14031,11 @@ class AuroFloatingUI {
|
|
|
13287
14031
|
|
|
13288
14032
|
updateCurrentExpandedDropdown() {
|
|
13289
14033
|
// Close any other dropdown that is already open
|
|
13290
|
-
if (document.
|
|
13291
|
-
|
|
14034
|
+
if (document.expandedAuroFormkitDropdown) {
|
|
14035
|
+
document.expandedAuroFormkitDropdown.hide;
|
|
13292
14036
|
}
|
|
13293
14037
|
|
|
13294
|
-
document.
|
|
14038
|
+
document.expandedAuroFormkitDropdown = this;
|
|
13295
14039
|
}
|
|
13296
14040
|
|
|
13297
14041
|
showBib() {
|
|
@@ -13479,7 +14223,7 @@ class AuroFloatingUI {
|
|
|
13479
14223
|
// See LICENSE in the project root for license information.
|
|
13480
14224
|
|
|
13481
14225
|
|
|
13482
|
-
let AuroDependencyVersioning$
|
|
14226
|
+
let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
13483
14227
|
|
|
13484
14228
|
/**
|
|
13485
14229
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -13666,6 +14410,76 @@ var tokensCss$2$1 = i$6`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-d
|
|
|
13666
14410
|
|
|
13667
14411
|
var colorCss$3$1 = i$6`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color:var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color:var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color:var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color:var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color:var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color:var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color:var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
13668
14412
|
|
|
14413
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
14414
|
+
// See LICENSE in the project root for license information.
|
|
14415
|
+
|
|
14416
|
+
// ---------------------------------------------------------------------
|
|
14417
|
+
|
|
14418
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
14419
|
+
|
|
14420
|
+
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
14421
|
+
|
|
14422
|
+
/* eslint-disable jsdoc/require-param */
|
|
14423
|
+
|
|
14424
|
+
/**
|
|
14425
|
+
* This will register a new custom element with the browser.
|
|
14426
|
+
* @param {String} name - The name of the custom element.
|
|
14427
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
14428
|
+
* @returns {void}
|
|
14429
|
+
*/
|
|
14430
|
+
registerComponent(name, componentClass) {
|
|
14431
|
+
if (!customElements.get(name)) {
|
|
14432
|
+
customElements.define(name, class extends componentClass {});
|
|
14433
|
+
}
|
|
14434
|
+
}
|
|
14435
|
+
|
|
14436
|
+
/**
|
|
14437
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
14438
|
+
* @returns {void}
|
|
14439
|
+
*/
|
|
14440
|
+
closestElement(
|
|
14441
|
+
selector, // selector like in .closest()
|
|
14442
|
+
base = this, // extra functionality to skip a parent
|
|
14443
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
14444
|
+
!el || el === document || el === window
|
|
14445
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
14446
|
+
: found
|
|
14447
|
+
? found // found a selector INside this element
|
|
14448
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
14449
|
+
) {
|
|
14450
|
+
return __Closest(base);
|
|
14451
|
+
}
|
|
14452
|
+
/* eslint-enable jsdoc/require-param */
|
|
14453
|
+
|
|
14454
|
+
/**
|
|
14455
|
+
* 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.
|
|
14456
|
+
* @param {Object} elem - The element to check.
|
|
14457
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
14458
|
+
* @returns {void}
|
|
14459
|
+
*/
|
|
14460
|
+
handleComponentTagRename(elem, tagName) {
|
|
14461
|
+
const tag = tagName.toLowerCase();
|
|
14462
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
14463
|
+
|
|
14464
|
+
if (elemTag !== tag) {
|
|
14465
|
+
elem.setAttribute(tag, true);
|
|
14466
|
+
}
|
|
14467
|
+
}
|
|
14468
|
+
|
|
14469
|
+
/**
|
|
14470
|
+
* Validates if an element is a specific Auro component.
|
|
14471
|
+
* @param {Object} elem - The element to validate.
|
|
14472
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
14473
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
14474
|
+
*/
|
|
14475
|
+
elementMatch(elem, tagName) {
|
|
14476
|
+
const tag = tagName.toLowerCase();
|
|
14477
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
14478
|
+
|
|
14479
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
14480
|
+
}
|
|
14481
|
+
};
|
|
14482
|
+
|
|
13669
14483
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13670
14484
|
// See LICENSE in the project root for license information.
|
|
13671
14485
|
|
|
@@ -13962,7 +14776,7 @@ class AuroDropdownBib extends r$3 {
|
|
|
13962
14776
|
*/
|
|
13963
14777
|
this._mobileBreakpointValue = undefined;
|
|
13964
14778
|
|
|
13965
|
-
AuroLibraryRuntimeUtils$
|
|
14779
|
+
AuroLibraryRuntimeUtils$2$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
13966
14780
|
}
|
|
13967
14781
|
|
|
13968
14782
|
static get styles() {
|
|
@@ -14070,7 +14884,7 @@ var tokensCss$5 = i$6`:host{--ds-auro-helptext-color: var(--ds-color-text-tertia
|
|
|
14070
14884
|
|
|
14071
14885
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
14072
14886
|
|
|
14073
|
-
let AuroLibraryRuntimeUtils$
|
|
14887
|
+
let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
|
|
14074
14888
|
|
|
14075
14889
|
/* eslint-disable jsdoc/require-param */
|
|
14076
14890
|
|
|
@@ -14150,7 +14964,7 @@ let AuroHelpText$1 = class AuroHelpText extends r$3 {
|
|
|
14150
14964
|
this.error = false;
|
|
14151
14965
|
this.hasTextContent = false;
|
|
14152
14966
|
|
|
14153
|
-
AuroLibraryRuntimeUtils$
|
|
14967
|
+
AuroLibraryRuntimeUtils$5.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
14154
14968
|
}
|
|
14155
14969
|
|
|
14156
14970
|
static get styles() {
|
|
@@ -14198,7 +15012,7 @@ let AuroHelpText$1 = class AuroHelpText extends r$3 {
|
|
|
14198
15012
|
*
|
|
14199
15013
|
*/
|
|
14200
15014
|
static register(name = "auro-helptext") {
|
|
14201
|
-
AuroLibraryRuntimeUtils$
|
|
15015
|
+
AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroHelpText);
|
|
14202
15016
|
}
|
|
14203
15017
|
|
|
14204
15018
|
updated() {
|
|
@@ -14331,7 +15145,7 @@ class AuroDropdown extends r$3 {
|
|
|
14331
15145
|
/**
|
|
14332
15146
|
* @private
|
|
14333
15147
|
*/
|
|
14334
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
15148
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$2$1();
|
|
14335
15149
|
|
|
14336
15150
|
/**
|
|
14337
15151
|
* @private
|
|
@@ -14351,22 +15165,22 @@ class AuroDropdown extends r$3 {
|
|
|
14351
15165
|
/**
|
|
14352
15166
|
* Generate unique names for dependency components.
|
|
14353
15167
|
*/
|
|
14354
|
-
const versioning = new AuroDependencyVersioning$
|
|
15168
|
+
const versioning = new AuroDependencyVersioning$2();
|
|
14355
15169
|
|
|
14356
15170
|
/**
|
|
14357
15171
|
* @private
|
|
14358
15172
|
*/
|
|
14359
|
-
this.iconTag = versioning.generateTag('auro-icon', iconVersion$1, AuroIcon$1);
|
|
15173
|
+
this.iconTag = versioning.generateTag('auro-formkit-dropdown-icon', iconVersion$1, AuroIcon$1);
|
|
14360
15174
|
|
|
14361
15175
|
/**
|
|
14362
15176
|
* @private
|
|
14363
15177
|
*/
|
|
14364
|
-
this.dropdownBibTag = versioning.generateTag('auro-dropdownbib', dropdownVersion$1, AuroDropdownBib);
|
|
15178
|
+
this.dropdownBibTag = versioning.generateTag('auro-formkit-dropdown-dropdownbib', dropdownVersion$1, AuroDropdownBib);
|
|
14365
15179
|
|
|
14366
15180
|
/**
|
|
14367
15181
|
* @private
|
|
14368
15182
|
*/
|
|
14369
|
-
this.helpTextTag = versioning.generateTag('auro-helptext', helpTextVersion$1, AuroHelpText$1);
|
|
15183
|
+
this.helpTextTag = versioning.generateTag('auro-formkit-dropdown-helptext', helpTextVersion$1, AuroHelpText$1);
|
|
14370
15184
|
}
|
|
14371
15185
|
|
|
14372
15186
|
/**
|
|
@@ -14569,7 +15383,7 @@ class AuroDropdown extends r$3 {
|
|
|
14569
15383
|
*
|
|
14570
15384
|
*/
|
|
14571
15385
|
static register(name = "auro-dropdown") {
|
|
14572
|
-
AuroLibraryRuntimeUtils$
|
|
15386
|
+
AuroLibraryRuntimeUtils$2$1.prototype.registerComponent(name, AuroDropdown);
|
|
14573
15387
|
}
|
|
14574
15388
|
|
|
14575
15389
|
connectedCallback() {
|
|
@@ -14592,6 +15406,7 @@ class AuroDropdown extends r$3 {
|
|
|
14592
15406
|
if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
|
|
14593
15407
|
this.handleTriggerContentSlotChange();
|
|
14594
15408
|
}
|
|
15409
|
+
|
|
14595
15410
|
}
|
|
14596
15411
|
|
|
14597
15412
|
firstUpdated() {
|
|
@@ -18639,7 +19454,7 @@ class AuroInputUtilities {
|
|
|
18639
19454
|
|
|
18640
19455
|
return {
|
|
18641
19456
|
mask: Date,
|
|
18642
|
-
pattern:
|
|
19457
|
+
pattern: dateFormat,
|
|
18643
19458
|
blocks,
|
|
18644
19459
|
format(date) {
|
|
18645
19460
|
if (!date) {
|
|
@@ -18813,7 +19628,7 @@ class AuroInputUtilities {
|
|
|
18813
19628
|
|
|
18814
19629
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
18815
19630
|
|
|
18816
|
-
let AuroLibraryRuntimeUtils$
|
|
19631
|
+
let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
18817
19632
|
|
|
18818
19633
|
/* eslint-disable jsdoc/require-param */
|
|
18819
19634
|
|
|
@@ -18882,7 +19697,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
18882
19697
|
|
|
18883
19698
|
class AuroFormValidation {
|
|
18884
19699
|
constructor() {
|
|
18885
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
19700
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
18886
19701
|
}
|
|
18887
19702
|
|
|
18888
19703
|
/**
|
|
@@ -20146,7 +20961,7 @@ class BaseInput extends r$3 {
|
|
|
20146
20961
|
// See LICENSE in the project root for license information.
|
|
20147
20962
|
|
|
20148
20963
|
|
|
20149
|
-
class AuroDependencyVersioning {
|
|
20964
|
+
let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
20150
20965
|
|
|
20151
20966
|
/**
|
|
20152
20967
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -20180,7 +20995,7 @@ class AuroDependencyVersioning {
|
|
|
20180
20995
|
|
|
20181
20996
|
return tag;
|
|
20182
20997
|
}
|
|
20183
|
-
}
|
|
20998
|
+
};
|
|
20184
20999
|
|
|
20185
21000
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
20186
21001
|
// See LICENSE in the project root for license information.
|
|
@@ -20293,45 +21108,115 @@ class BaseIcon extends AuroElement {
|
|
|
20293
21108
|
}
|
|
20294
21109
|
|
|
20295
21110
|
/**
|
|
20296
|
-
* Async function to fetch requested icon from npm CDN.
|
|
20297
|
-
* @private
|
|
20298
|
-
* @param {string} category - Icon category.
|
|
20299
|
-
* @param {string} name - Icon name.
|
|
20300
|
-
* @returns {SVGElement} DOM - Ready HTML to be appended.
|
|
21111
|
+
* Async function to fetch requested icon from npm CDN.
|
|
21112
|
+
* @private
|
|
21113
|
+
* @param {string} category - Icon category.
|
|
21114
|
+
* @param {string} name - Icon name.
|
|
21115
|
+
* @returns {SVGElement} DOM - Ready HTML to be appended.
|
|
21116
|
+
*/
|
|
21117
|
+
async fetchIcon(category, name) {
|
|
21118
|
+
let iconHTML = '';
|
|
21119
|
+
|
|
21120
|
+
if (category === 'logos') {
|
|
21121
|
+
iconHTML = await cacheFetch(`${this.uri}/${category}/${name}.svg`);
|
|
21122
|
+
} else {
|
|
21123
|
+
iconHTML = await cacheFetch(`${this.uri}/icons/${category}/${name}.svg`);
|
|
21124
|
+
}
|
|
21125
|
+
|
|
21126
|
+
const dom = new DOMParser().parseFromString(iconHTML, 'text/html');
|
|
21127
|
+
|
|
21128
|
+
return dom.body.querySelector('svg');
|
|
21129
|
+
}
|
|
21130
|
+
|
|
21131
|
+
// lifecycle function
|
|
21132
|
+
async firstUpdated() {
|
|
21133
|
+
if (!this.customSvg) {
|
|
21134
|
+
const svg = await this.fetchIcon(this.category, this.name);
|
|
21135
|
+
|
|
21136
|
+
if (svg) {
|
|
21137
|
+
this.svg = svg;
|
|
21138
|
+
} else if (!svg) {
|
|
21139
|
+
const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
|
|
21140
|
+
|
|
21141
|
+
this.svg = penDOM.body.firstChild;
|
|
21142
|
+
}
|
|
21143
|
+
}
|
|
21144
|
+
}
|
|
21145
|
+
}
|
|
21146
|
+
|
|
21147
|
+
var tokensCss$3 = i$6`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-default, #676767);--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
|
|
21148
|
+
|
|
21149
|
+
var colorCss$3 = i$6`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color:var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color:var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color:var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color:var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color:var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color:var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color:var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
21150
|
+
|
|
21151
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
21152
|
+
// See LICENSE in the project root for license information.
|
|
21153
|
+
|
|
21154
|
+
// ---------------------------------------------------------------------
|
|
21155
|
+
|
|
21156
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
21157
|
+
|
|
21158
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
21159
|
+
|
|
21160
|
+
/* eslint-disable jsdoc/require-param */
|
|
21161
|
+
|
|
21162
|
+
/**
|
|
21163
|
+
* This will register a new custom element with the browser.
|
|
21164
|
+
* @param {String} name - The name of the custom element.
|
|
21165
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
21166
|
+
* @returns {void}
|
|
21167
|
+
*/
|
|
21168
|
+
registerComponent(name, componentClass) {
|
|
21169
|
+
if (!customElements.get(name)) {
|
|
21170
|
+
customElements.define(name, class extends componentClass {});
|
|
21171
|
+
}
|
|
21172
|
+
}
|
|
21173
|
+
|
|
21174
|
+
/**
|
|
21175
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
21176
|
+
* @returns {void}
|
|
21177
|
+
*/
|
|
21178
|
+
closestElement(
|
|
21179
|
+
selector, // selector like in .closest()
|
|
21180
|
+
base = this, // extra functionality to skip a parent
|
|
21181
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
21182
|
+
!el || el === document || el === window
|
|
21183
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
21184
|
+
: found
|
|
21185
|
+
? found // found a selector INside this element
|
|
21186
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
21187
|
+
) {
|
|
21188
|
+
return __Closest(base);
|
|
21189
|
+
}
|
|
21190
|
+
/* eslint-enable jsdoc/require-param */
|
|
21191
|
+
|
|
21192
|
+
/**
|
|
21193
|
+
* 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.
|
|
21194
|
+
* @param {Object} elem - The element to check.
|
|
21195
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
21196
|
+
* @returns {void}
|
|
20301
21197
|
*/
|
|
20302
|
-
|
|
20303
|
-
|
|
21198
|
+
handleComponentTagRename(elem, tagName) {
|
|
21199
|
+
const tag = tagName.toLowerCase();
|
|
21200
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
20304
21201
|
|
|
20305
|
-
if (
|
|
20306
|
-
|
|
20307
|
-
} else {
|
|
20308
|
-
iconHTML = await cacheFetch(`${this.uri}/icons/${category}/${name}.svg`);
|
|
21202
|
+
if (elemTag !== tag) {
|
|
21203
|
+
elem.setAttribute(tag, true);
|
|
20309
21204
|
}
|
|
20310
|
-
|
|
20311
|
-
const dom = new DOMParser().parseFromString(iconHTML, 'text/html');
|
|
20312
|
-
|
|
20313
|
-
return dom.body.querySelector('svg');
|
|
20314
21205
|
}
|
|
20315
21206
|
|
|
20316
|
-
|
|
20317
|
-
|
|
20318
|
-
|
|
20319
|
-
|
|
20320
|
-
|
|
20321
|
-
|
|
20322
|
-
|
|
20323
|
-
|
|
20324
|
-
|
|
21207
|
+
/**
|
|
21208
|
+
* Validates if an element is a specific Auro component.
|
|
21209
|
+
* @param {Object} elem - The element to validate.
|
|
21210
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
21211
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
21212
|
+
*/
|
|
21213
|
+
elementMatch(elem, tagName) {
|
|
21214
|
+
const tag = tagName.toLowerCase();
|
|
21215
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
20325
21216
|
|
|
20326
|
-
|
|
20327
|
-
}
|
|
20328
|
-
}
|
|
21217
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
20329
21218
|
}
|
|
20330
|
-
}
|
|
20331
|
-
|
|
20332
|
-
var tokensCss$3 = i$6`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-default, #676767);--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
|
|
20333
|
-
|
|
20334
|
-
var colorCss$3 = i$6`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color:var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color:var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color:var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color:var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color:var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color:var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color:var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
21219
|
+
};
|
|
20335
21220
|
|
|
20336
21221
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
20337
21222
|
// See LICENSE in the project root for license information.
|
|
@@ -20365,7 +21250,7 @@ class AuroIcon extends BaseIcon {
|
|
|
20365
21250
|
this.tertiary = false;
|
|
20366
21251
|
this.warning = false;
|
|
20367
21252
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
20368
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
21253
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
20369
21254
|
}
|
|
20370
21255
|
|
|
20371
21256
|
// function to define props used within the scope of this component
|
|
@@ -20527,7 +21412,7 @@ class AuroIcon extends BaseIcon {
|
|
|
20527
21412
|
*
|
|
20528
21413
|
*/
|
|
20529
21414
|
static register(name = "auro-icon") {
|
|
20530
|
-
AuroLibraryRuntimeUtils$
|
|
21415
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroIcon);
|
|
20531
21416
|
}
|
|
20532
21417
|
|
|
20533
21418
|
connectedCallback() {
|
|
@@ -20595,12 +21480,192 @@ class AuroIcon extends BaseIcon {
|
|
|
20595
21480
|
|
|
20596
21481
|
var iconVersion = '6.1.2';
|
|
20597
21482
|
|
|
21483
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
21484
|
+
// See LICENSE in the project root for license information.
|
|
21485
|
+
|
|
21486
|
+
|
|
21487
|
+
class AuroDependencyVersioning {
|
|
21488
|
+
|
|
21489
|
+
/**
|
|
21490
|
+
* Generates a unique string to be used for child auro element naming.
|
|
21491
|
+
* @private
|
|
21492
|
+
* @param {string} baseName - Defines the first part of the unique element name.
|
|
21493
|
+
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
21494
|
+
* @returns {string} - Unique string to be used for naming.
|
|
21495
|
+
*/
|
|
21496
|
+
generateElementName(baseName, version) {
|
|
21497
|
+
let result = baseName;
|
|
21498
|
+
|
|
21499
|
+
result += '-';
|
|
21500
|
+
result += version.replace(/[.]/g, '_');
|
|
21501
|
+
|
|
21502
|
+
return result;
|
|
21503
|
+
}
|
|
21504
|
+
|
|
21505
|
+
/**
|
|
21506
|
+
* Generates a unique string to be used for child auro element naming.
|
|
21507
|
+
* @param {string} baseName - Defines the first part of the unique element name.
|
|
21508
|
+
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
21509
|
+
* @returns {string} - Unique string to be used for naming.
|
|
21510
|
+
*/
|
|
21511
|
+
generateTag(baseName, version, tagClass) {
|
|
21512
|
+
const elementName = this.generateElementName(baseName, version);
|
|
21513
|
+
const tag = i$2`${s$1(elementName)}`;
|
|
21514
|
+
|
|
21515
|
+
if (!customElements.get(elementName)) {
|
|
21516
|
+
customElements.define(elementName, class extends tagClass {});
|
|
21517
|
+
}
|
|
21518
|
+
|
|
21519
|
+
return tag;
|
|
21520
|
+
}
|
|
21521
|
+
}
|
|
21522
|
+
|
|
21523
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
21524
|
+
// See LICENSE in the project root for license information.
|
|
21525
|
+
|
|
21526
|
+
// ---------------------------------------------------------------------
|
|
21527
|
+
|
|
21528
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
21529
|
+
|
|
21530
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
21531
|
+
|
|
21532
|
+
/* eslint-disable jsdoc/require-param */
|
|
21533
|
+
|
|
21534
|
+
/**
|
|
21535
|
+
* This will register a new custom element with the browser.
|
|
21536
|
+
* @param {String} name - The name of the custom element.
|
|
21537
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
21538
|
+
* @returns {void}
|
|
21539
|
+
*/
|
|
21540
|
+
registerComponent(name, componentClass) {
|
|
21541
|
+
if (!customElements.get(name)) {
|
|
21542
|
+
customElements.define(name, class extends componentClass {});
|
|
21543
|
+
}
|
|
21544
|
+
}
|
|
21545
|
+
|
|
21546
|
+
/**
|
|
21547
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
21548
|
+
* @returns {void}
|
|
21549
|
+
*/
|
|
21550
|
+
closestElement(
|
|
21551
|
+
selector, // selector like in .closest()
|
|
21552
|
+
base = this, // extra functionality to skip a parent
|
|
21553
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
21554
|
+
!el || el === document || el === window
|
|
21555
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
21556
|
+
: found
|
|
21557
|
+
? found // found a selector INside this element
|
|
21558
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
21559
|
+
) {
|
|
21560
|
+
return __Closest(base);
|
|
21561
|
+
}
|
|
21562
|
+
/* eslint-enable jsdoc/require-param */
|
|
21563
|
+
|
|
21564
|
+
/**
|
|
21565
|
+
* 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.
|
|
21566
|
+
* @param {Object} elem - The element to check.
|
|
21567
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
21568
|
+
* @returns {void}
|
|
21569
|
+
*/
|
|
21570
|
+
handleComponentTagRename(elem, tagName) {
|
|
21571
|
+
const tag = tagName.toLowerCase();
|
|
21572
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
21573
|
+
|
|
21574
|
+
if (elemTag !== tag) {
|
|
21575
|
+
elem.setAttribute(tag, true);
|
|
21576
|
+
}
|
|
21577
|
+
}
|
|
21578
|
+
|
|
21579
|
+
/**
|
|
21580
|
+
* Validates if an element is a specific Auro component.
|
|
21581
|
+
* @param {Object} elem - The element to validate.
|
|
21582
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
21583
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
21584
|
+
*/
|
|
21585
|
+
elementMatch(elem, tagName) {
|
|
21586
|
+
const tag = tagName.toLowerCase();
|
|
21587
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
21588
|
+
|
|
21589
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
21590
|
+
}
|
|
21591
|
+
};
|
|
21592
|
+
|
|
20598
21593
|
var styleCss$2 = i$6`:focus:not(:focus-visible){outline:3px solid transparent}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}:host([fluid]) .auro-button,:host([fluid=true]) .auro-button{min-width:auto;width:100%}:host([variant=flat]){display:inline-block;height:var(--ds-size-300, 1.5rem);width:var(--ds-size-300, 1.5rem)}:host([variant=flat]) .auro-button{height:100%;width:100%}::slotted(svg){vertical-align:middle}slot{pointer-events:none}.auro-button{position:relative;padding:0 var(--ds-size-300, 1.5rem);cursor:pointer;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem);font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-text-body-size-default, 1rem);font-weight:var(--ds-text-body-default-weight, 500);overflow:hidden;text-overflow:ellipsis;user-select:none;white-space:nowrap;min-height:var(--ds-size-600, 3rem);max-height:var(--ds-size-600, 3rem);display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--ds-size-100, 0.5rem);margin:0;-webkit-touch-callout:none;-webkit-user-select:none}.auro-button:active{transform:scale(0.95)}.auro-button:focus-visible:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]):after{display:block;content:"";height:calc(100% - 2px);width:calc(100% - 2px);position:absolute;top:1px;left:1px;border-radius:4px;border-style:solid;border-width:2px}.auro-button:focus-visible[variant=secondary]:after,.auro-button:focus-visible[variant=tertiary]:after{display:block;content:"";height:100%;width:100%;position:absolute;top:0;left:0;border-radius:var(--ds-border-radius, 0.375rem);border-style:solid;border-width:2px}.auro-button.loading{cursor:not-allowed}.auro-button.loading *:not([auro-loader]){visibility:hidden}@media screen and (min-width: 576px){.auro-button{min-width:8.75rem;width:auto}}.auro-button:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=secondary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=flat]{height:unset;width:unset;min-height:unset;max-height:unset;min-width:unset;max-width:unset;border:0;border-radius:unset;gap:unset;padding:unset}.auro-button[onDark]:disabled{cursor:not-allowed;transform:unset}.auro-button[onDark][variant=secondary]:disabled{cursor:not-allowed;transform:unset}@media(hover: hover){.auro-button[onDark][variant=tertiary]:active,.auro-button[onDark][variant=tertiary]:hover{box-shadow:none}}.auro-button[onDark][variant=tertiary]:active{box-shadow:none}.auro-button[onDark][variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button--slim{padding:var(--ds-size-100, 0.5rem) var(--ds-size-200, 1rem);font-size:var(--ds-text-body-size-sm, 0.875rem);min-width:unset;min-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem));max-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem))}.auro-button--iconOnly{padding:0 var(--ds-size-100, 0.5rem);border-radius:100px;min-width:unset;height:var(--ds-size-600, 3rem);width:var(--ds-size-500, 2.5rem)}.auro-button--iconOnly ::slotted(auro-icon),.auro-button--iconOnly ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, $ds-size-300)}.auro-button--iconOnlySlim{padding:0 var(--ds-size-50, 0.25rem);height:calc(var(--ds-size-400, 2rem) + var(--ds-size-50, 0.25rem));width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-50, 0.25rem))}.auro-button--iconOnlySlim ::slotted(auro-icon),.auro-button--iconOnlySlim ::slotted([auro-icon]){--ds-auro-icon-size:calc(var(--ds-size-200, $ds-size-200) + var(--ds-size-50, $ds-size-50))}.auro-button--rounded{border-radius:100px;box-shadow:var(--ds-elevation-300, 0px 0px 15px rgba(0, 0, 0, 0.2));height:var(--ds-size-500, 2.5rem);min-width:unset;transition:all 300ms ease-out}.auro-button--rounded ::slotted(auro-icon),.auro-button--rounded ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, $ds-size-300)}:host([rounded]) .textSlot{transition:opacity 300ms ease-in;opacity:1}:host([rounded][iconOnly]) .textSlot{opacity:0}:host([rounded][iconOnly]) .textWrapper{display:none}:host([rounded][iconOnly]) .auro-button{min-width:unset;padding:unset;width:var(--ds-size-600, 3rem)}[auro-loader]{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}`;
|
|
20599
21594
|
|
|
20600
21595
|
var colorCss$2 = i$6`[auro-loader]{color:var(--ds-auro-button-loader-color)}.auro-button{-webkit-tap-highlight-color:var(--ds-auro-button-tap-color);color:var(--ds-auro-button-text-color);background-color:var(--ds-auro-button-container-color);background-image:linear-gradient(var(--ds-auro-button-container-image), var(--ds-auro-button-container-image));border-color:var(--ds-auro-button-border-color)}.auro-button:not([variant=secondary]):not([variant=tertiary]):focus-visible:after{border-color:var(--ds-auro-button-border-inset-color)}.auro-button:not([ondark]):active{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-active-default, #225296)}.auro-button:not([ondark])[disabled]{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-disabled-default, #a0c9f1)}@media(hover: hover){.auro-button:not([ondark]):active:not(:disabled),.auro-button:not([ondark]):hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-border-color:var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-text-color:var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=secondary]:active:not(:disabled),.auro-button:not([ondark])[variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color:var(--ds-color-border-ui-hover-default, #193d73);--ds-auro-button-text-color:var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-color-border-ui-focus-default, #2c67b5)}.auro-button:not([ondark])[variant=secondary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-border-color:var(--ds-color-border-ui-active-default, #225296);--ds-auro-button-text-color:var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=secondary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-border-color:var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=tertiary]{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=tertiary]:active:not(:disabled),.auro-button:not([ondark])[variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-border-inset-color:var(--ds-color-border-ui-default-default, #2c67b5)}.auro-button:not([ondark])[variant=tertiary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=tertiary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=flat]{color:var(--ds-color-icon-ui-secondary-default-default);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button:not([ondark])[variant=flat]:active:not(:disabled),.auro-button:not([ondark])[variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-default);background-color:transparent;background-image:none;border-color:transparent}}.auro-button:not([ondark])[variant=flat]:disabled{color:var(--ds-color-icon-ui-secondary-disabled-default);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark]{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-text-color:var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-button-loader-color:var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark]:active:not(:disabled),.auro-button[ondark]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7)}}.auro-button[ondark]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-active-inverse, #6ad5ef)}.auro-button[ondark][disabled]{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-inverse, #7e7e7e);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-disabled-inverse, #275b72)}.auro-button[ondark][variant=secondary]{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-border-color:var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-text-color:var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=secondary]:hover{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color:var(--ds-color-border-ui-hover-inverse, #a8e9f7);--ds-auro-button-text-color:var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-color-border-ui-focus-inverse, #56bbde)}.auro-button[ondark][variant=secondary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color:var(--ds-color-border-ui-active-inverse, #6ad5ef);--ds-auro-button-text-color:var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=secondary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color:var(--ds-color-border-ui-disabled-inverse, #7e7e7e);--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=tertiary]{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=tertiary]:active:not(:disabled),.auro-button[ondark][variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-border-inset-color:var(--ds-color-border-ui-default-inverse, #56bbde)}.auro-button[ondark][variant=tertiary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=tertiary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=flat]{color:var(--ds-color-icon-ui-secondary-default-inverse);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button[ondark][variant=flat]:active:not(:disabled),.auro-button[ondark][variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-inverse);background-color:transparent;background-image:none;border-color:transparent}}.auro-button[ondark][variant=flat]:disabled{color:var(--ds-color-icon-ui-disabled-default);background-color:transparent;background-image:none;border-color:transparent}`;
|
|
20601
21596
|
|
|
20602
21597
|
var tokensCss$2 = i$6`:host{--ds-auro-button-border-color:var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-border-inset-color:var(--ds-color-border-emphasis-inverse, #f2f7fb);--ds-auro-button-container-color:var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-loader-color:var(--ds-color-utility-navy-default, #265688);--ds-auro-button-text-color:var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-tap-color:transparent}`;
|
|
20603
21598
|
|
|
21599
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
21600
|
+
// See LICENSE in the project root for license information.
|
|
21601
|
+
|
|
21602
|
+
// ---------------------------------------------------------------------
|
|
21603
|
+
|
|
21604
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
21605
|
+
|
|
21606
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
21607
|
+
|
|
21608
|
+
/* eslint-disable jsdoc/require-param */
|
|
21609
|
+
|
|
21610
|
+
/**
|
|
21611
|
+
* This will register a new custom element with the browser.
|
|
21612
|
+
* @param {String} name - The name of the custom element.
|
|
21613
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
21614
|
+
* @returns {void}
|
|
21615
|
+
*/
|
|
21616
|
+
registerComponent(name, componentClass) {
|
|
21617
|
+
if (!customElements.get(name)) {
|
|
21618
|
+
customElements.define(name, class extends componentClass {});
|
|
21619
|
+
}
|
|
21620
|
+
}
|
|
21621
|
+
|
|
21622
|
+
/**
|
|
21623
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
21624
|
+
* @returns {void}
|
|
21625
|
+
*/
|
|
21626
|
+
closestElement(
|
|
21627
|
+
selector, // selector like in .closest()
|
|
21628
|
+
base = this, // extra functionality to skip a parent
|
|
21629
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
21630
|
+
!el || el === document || el === window
|
|
21631
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
21632
|
+
: found
|
|
21633
|
+
? found // found a selector INside this element
|
|
21634
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
21635
|
+
) {
|
|
21636
|
+
return __Closest(base);
|
|
21637
|
+
}
|
|
21638
|
+
/* eslint-enable jsdoc/require-param */
|
|
21639
|
+
|
|
21640
|
+
/**
|
|
21641
|
+
* 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.
|
|
21642
|
+
* @param {Object} elem - The element to check.
|
|
21643
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
21644
|
+
* @returns {void}
|
|
21645
|
+
*/
|
|
21646
|
+
handleComponentTagRename(elem, tagName) {
|
|
21647
|
+
const tag = tagName.toLowerCase();
|
|
21648
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
21649
|
+
|
|
21650
|
+
if (elemTag !== tag) {
|
|
21651
|
+
elem.setAttribute(tag, true);
|
|
21652
|
+
}
|
|
21653
|
+
}
|
|
21654
|
+
|
|
21655
|
+
/**
|
|
21656
|
+
* Validates if an element is a specific Auro component.
|
|
21657
|
+
* @param {Object} elem - The element to validate.
|
|
21658
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
21659
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
21660
|
+
*/
|
|
21661
|
+
elementMatch(elem, tagName) {
|
|
21662
|
+
const tag = tagName.toLowerCase();
|
|
21663
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
21664
|
+
|
|
21665
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
21666
|
+
}
|
|
21667
|
+
};
|
|
21668
|
+
|
|
20604
21669
|
var styleCss$1 = i$6`: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}: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:0.375rem;--margin-xs:0.2rem;--margin-sm:0.5rem;--margin-md:0.75rem;--margin-lg:1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin)*6);height:1.5rem}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(2.55rem + var(--margin-xs)*6);height:1.55rem}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm)*6);height:2.5rem}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md)*6);height:3.5rem}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg)*6);height:5.5rem}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-400ms}:host([pulse])>span:nth-child(2){animation-delay:-200ms}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,100%{opacity:.1;transform:scale(0.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(0deg)}100%{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{100%{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{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%}100%{left:110%}}:host>.no-animation{display:none}@media(prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center;font-size:1rem}:host>span{opacity:1}:host>.loader{display:none}:host>.no-animation{display:block}}`;
|
|
20605
21670
|
|
|
20606
21671
|
var colorCss$1 = i$6`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]){--ds-auro-loader-color:var(--ds-color-utility-navy-default, #265688)}:host([ondark]){--ds-auro-loader-color:var(--ds-color-utility-cyan-inverse, #a8e9f7)}:host([white]){--ds-auro-loader-color:var(--ds-color-utility-neutral-inverse, #ccd2db)}: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}`;
|
|
@@ -20919,7 +21984,7 @@ class AuroButton extends r$3 {
|
|
|
20919
21984
|
*
|
|
20920
21985
|
*/
|
|
20921
21986
|
static register(name = "auro-button") {
|
|
20922
|
-
AuroLibraryRuntimeUtils$
|
|
21987
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroButton);
|
|
20923
21988
|
}
|
|
20924
21989
|
|
|
20925
21990
|
/**
|
|
@@ -21228,22 +22293,22 @@ class AuroInput extends BaseInput {
|
|
|
21228
22293
|
/**
|
|
21229
22294
|
* Generate unique names for dependency components.
|
|
21230
22295
|
*/
|
|
21231
|
-
const versioning = new AuroDependencyVersioning();
|
|
22296
|
+
const versioning = new AuroDependencyVersioning$1();
|
|
21232
22297
|
|
|
21233
22298
|
/**
|
|
21234
22299
|
* @private
|
|
21235
22300
|
*/
|
|
21236
|
-
this.iconTag = versioning.generateTag('auro-icon', iconVersion, AuroIcon);
|
|
22301
|
+
this.iconTag = versioning.generateTag('auro-formkit-input-icon', iconVersion, AuroIcon);
|
|
21237
22302
|
|
|
21238
22303
|
/**
|
|
21239
22304
|
* @private
|
|
21240
22305
|
*/
|
|
21241
|
-
this.buttonTag = versioning.generateTag('auro-button', buttonVersion, AuroButton);
|
|
22306
|
+
this.buttonTag = versioning.generateTag('auro-formkit-input-button', buttonVersion, AuroButton);
|
|
21242
22307
|
|
|
21243
22308
|
/**
|
|
21244
22309
|
* @private
|
|
21245
22310
|
*/
|
|
21246
|
-
this.helpTextTag = versioning.generateTag('auro-helptext', helpTextVersion, AuroHelpText);
|
|
22311
|
+
this.helpTextTag = versioning.generateTag('auro-formkit-input-helptext', helpTextVersion, AuroHelpText);
|
|
21247
22312
|
}
|
|
21248
22313
|
|
|
21249
22314
|
/**
|
|
@@ -21255,7 +22320,7 @@ class AuroInput extends BaseInput {
|
|
|
21255
22320
|
*
|
|
21256
22321
|
*/
|
|
21257
22322
|
static register(name = "auro-input") {
|
|
21258
|
-
AuroLibraryRuntimeUtils$
|
|
22323
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroInput);
|
|
21259
22324
|
}
|
|
21260
22325
|
|
|
21261
22326
|
/**
|
|
@@ -21513,7 +22578,7 @@ class AuroDatePicker extends r$3 {
|
|
|
21513
22578
|
/**
|
|
21514
22579
|
* @private
|
|
21515
22580
|
*/
|
|
21516
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
22581
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$9();
|
|
21517
22582
|
|
|
21518
22583
|
/**
|
|
21519
22584
|
* @private
|
|
@@ -21523,17 +22588,17 @@ class AuroDatePicker extends r$3 {
|
|
|
21523
22588
|
/**
|
|
21524
22589
|
* Generate unique names for dependency components.
|
|
21525
22590
|
*/
|
|
21526
|
-
const versioning = new AuroDependencyVersioning$
|
|
22591
|
+
const versioning = new AuroDependencyVersioning$5();
|
|
21527
22592
|
|
|
21528
22593
|
/**
|
|
21529
22594
|
* @private
|
|
21530
22595
|
*/
|
|
21531
|
-
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
22596
|
+
this.dropdownTag = versioning.generateTag('auro-formkit-datepicker-dropdown', dropdownVersion, AuroDropdown);
|
|
21532
22597
|
|
|
21533
22598
|
/**
|
|
21534
22599
|
* @private
|
|
21535
22600
|
*/
|
|
21536
|
-
this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
|
|
22601
|
+
this.inputTag = versioning.generateTag('auro-formkit-datepicker-input', inputVersion, AuroInput);
|
|
21537
22602
|
|
|
21538
22603
|
/**
|
|
21539
22604
|
* @private
|
|
@@ -21699,6 +22764,14 @@ class AuroDatePicker extends r$3 {
|
|
|
21699
22764
|
type: String
|
|
21700
22765
|
},
|
|
21701
22766
|
|
|
22767
|
+
/**
|
|
22768
|
+
* Set true to make datepicker stacked style.
|
|
22769
|
+
*/
|
|
22770
|
+
stacked: {
|
|
22771
|
+
type: Boolean,
|
|
22772
|
+
reflect: true,
|
|
22773
|
+
},
|
|
22774
|
+
|
|
21702
22775
|
/**
|
|
21703
22776
|
* Specifies the `validityState` this element is in.
|
|
21704
22777
|
*/
|
|
@@ -21725,9 +22798,9 @@ class AuroDatePicker extends r$3 {
|
|
|
21725
22798
|
|
|
21726
22799
|
static get styles() {
|
|
21727
22800
|
return [
|
|
21728
|
-
styleCss$
|
|
21729
|
-
colorCss$
|
|
21730
|
-
tokensCss$
|
|
22801
|
+
styleCss$d,
|
|
22802
|
+
colorCss$d,
|
|
22803
|
+
tokensCss$a
|
|
21731
22804
|
];
|
|
21732
22805
|
}
|
|
21733
22806
|
|
|
@@ -21740,7 +22813,7 @@ class AuroDatePicker extends r$3 {
|
|
|
21740
22813
|
*
|
|
21741
22814
|
*/
|
|
21742
22815
|
static register(name = "auro-datepicker") {
|
|
21743
|
-
AuroLibraryRuntimeUtils$
|
|
22816
|
+
AuroLibraryRuntimeUtils$9.prototype.registerComponent(name, AuroDatePicker);
|
|
21744
22817
|
}
|
|
21745
22818
|
|
|
21746
22819
|
/**
|
|
@@ -21957,9 +23030,10 @@ class AuroDatePicker extends r$3 {
|
|
|
21957
23030
|
* @returns {void}
|
|
21958
23031
|
*/
|
|
21959
23032
|
configureCalendar() {
|
|
21960
|
-
this.calendar = this.shadowRoot.querySelector('auro-calendar');
|
|
23033
|
+
this.calendar = this.shadowRoot.querySelector('auro-formkit-calendar');
|
|
21961
23034
|
this.calendar.datepicker = this;
|
|
21962
23035
|
this.calendar.format = this.format;
|
|
23036
|
+
this.calendar.dropdown = this.dropdown;
|
|
21963
23037
|
|
|
21964
23038
|
this.calendar.addEventListener('auroCalendar-dateSelected', () => {
|
|
21965
23039
|
if (this.inputList[0].value !== this.calendar.dateFrom && this.calendar.dateFrom !== undefined) {
|
|
@@ -22439,7 +23513,7 @@ class AuroDatePicker extends r$3 {
|
|
|
22439
23513
|
` : undefined}
|
|
22440
23514
|
</div>
|
|
22441
23515
|
<div class="calendarWrapper" part="calendarWrapper">
|
|
22442
|
-
<auro-calendar
|
|
23516
|
+
<auro-formkit-calendar
|
|
22443
23517
|
?largeFullscreenHeadline="${this.largeFullscreenHeadline}"
|
|
22444
23518
|
?noRange="${!this.range}"
|
|
22445
23519
|
.format="${this.format}"
|
|
@@ -22455,7 +23529,7 @@ class AuroDatePicker extends r$3 {
|
|
|
22455
23529
|
<slot slot="bib.fullscreen.dateLabel" name="bib.fullscreen.dateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
22456
23530
|
<span slot="bib.fullscreen.fromStr">${this.value || u$2`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>
|
|
22457
23531
|
${this.range ? u$2`<span slot="mobileDateToStr">${this.valueEnd || u$2`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>` : undefined}
|
|
22458
|
-
</auro-calendar>
|
|
23532
|
+
</auro-formkit-calendar>
|
|
22459
23533
|
</div>
|
|
22460
23534
|
<p slot="helpText" part="helpTextSpan">
|
|
22461
23535
|
<!-- Help text and error message template -->
|