@aurodesignsystem-dev/auro-formkit 0.0.0-pr1530.1 → 0.0.0-pr1531.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox/demo/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +43 -21
- package/components/combobox/demo/getting-started.min.js +43 -21
- package/components/combobox/demo/index.min.js +43 -21
- package/components/combobox/dist/index.js +43 -21
- package/components/combobox/dist/registered.js +43 -21
- package/components/counter/demo/customize.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/accessibility.md +4 -13
- package/components/datepicker/demo/api.md +1 -1
- package/components/datepicker/demo/customize.min.js +69 -193
- package/components/datepicker/demo/index.min.js +69 -193
- package/components/datepicker/demo/voiceover.md +1 -1
- package/components/datepicker/dist/auro-calendar-cell.d.ts +0 -11
- package/components/datepicker/dist/auro-calendar.d.ts +2 -26
- package/components/datepicker/dist/auro-datepicker.d.ts +1 -9
- package/components/datepicker/dist/index.js +69 -193
- package/components/datepicker/dist/registered.js +69 -193
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +1 -1
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/customize.min.js +159 -239
- package/components/form/demo/getting-started.min.js +159 -239
- package/components/form/demo/index.min.js +159 -239
- package/components/form/demo/registerDemoDeps.min.js +159 -239
- package/components/input/demo/customize.min.js +41 -19
- package/components/input/demo/getting-started.min.js +41 -19
- package/components/input/demo/index.min.js +41 -19
- package/components/input/dist/base-input.d.ts +20 -4
- package/components/input/dist/index.js +41 -19
- package/components/input/dist/registered.js +41 -19
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/customize.min.js +2 -2
- package/components/select/demo/getting-started.min.js +2 -2
- package/components/select/demo/index.min.js +2 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +1619 -1595
- package/package.json +1 -1
|
@@ -11769,14 +11769,16 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11769
11769
|
this.label = 'Input label is undefined';
|
|
11770
11770
|
this.layout = 'classic';
|
|
11771
11771
|
this.locale = 'en-US';
|
|
11772
|
+
this._format = undefined;
|
|
11773
|
+
|
|
11774
|
+
/** @private */
|
|
11775
|
+
this._userSetFormat = false;
|
|
11772
11776
|
this.max = undefined;
|
|
11773
11777
|
this.maxLength = undefined;
|
|
11774
11778
|
this.min = undefined;
|
|
11775
11779
|
this.minLength = undefined;
|
|
11776
11780
|
this.noValidate = false;
|
|
11777
11781
|
this.onDark = false;
|
|
11778
|
-
// Raw values returned from the input mask before model normalization.
|
|
11779
|
-
this._rawMaskValue = undefined;
|
|
11780
11782
|
this.required = false;
|
|
11781
11783
|
this.setCustomValidityForType = undefined;
|
|
11782
11784
|
// Credit Card is intentionally excluded — its mask manages the cursor
|
|
@@ -11934,7 +11936,8 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11934
11936
|
*/
|
|
11935
11937
|
format: {
|
|
11936
11938
|
type: String,
|
|
11937
|
-
reflect: true
|
|
11939
|
+
reflect: true,
|
|
11940
|
+
noAccessor: true
|
|
11938
11941
|
},
|
|
11939
11942
|
|
|
11940
11943
|
/**
|
|
@@ -12272,6 +12275,34 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12272
12275
|
return this.max && dateFormatter$3.isValidDate(this.max) ? dateFormatter$3.stringToDateInstance(this.max) : undefined;
|
|
12273
12276
|
}
|
|
12274
12277
|
|
|
12278
|
+
get format() {
|
|
12279
|
+
return this._format;
|
|
12280
|
+
}
|
|
12281
|
+
|
|
12282
|
+
/**
|
|
12283
|
+
* Overrides LitElement's generated accessor so we can track whether the
|
|
12284
|
+
* consumer explicitly set `format`. Locale-derived updates use
|
|
12285
|
+
* `_setFormatFromLocale` instead, which skips this flag.
|
|
12286
|
+
*/
|
|
12287
|
+
set format(value) {
|
|
12288
|
+
const oldValue = this._format;
|
|
12289
|
+
this._format = value;
|
|
12290
|
+
this._userSetFormat = true;
|
|
12291
|
+
this.requestUpdate('format', oldValue);
|
|
12292
|
+
}
|
|
12293
|
+
|
|
12294
|
+
/**
|
|
12295
|
+
* Sets format without marking it as user-set. Used by locale auto-derive
|
|
12296
|
+
* so that a subsequent locale change can still update the format.
|
|
12297
|
+
* @private
|
|
12298
|
+
* @param {string} value
|
|
12299
|
+
*/
|
|
12300
|
+
_setFormatFromLocale(value) {
|
|
12301
|
+
const oldValue = this._format;
|
|
12302
|
+
this._format = value;
|
|
12303
|
+
this.requestUpdate('format', oldValue);
|
|
12304
|
+
}
|
|
12305
|
+
|
|
12275
12306
|
connectedCallback() {
|
|
12276
12307
|
super.connectedCallback();
|
|
12277
12308
|
|
|
@@ -12325,7 +12356,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12325
12356
|
// format silently misses the map and leaves `setCustomValidityForType`
|
|
12326
12357
|
// unset.
|
|
12327
12358
|
if (this.format) {
|
|
12328
|
-
this.
|
|
12359
|
+
this._setFormatFromLocale(this.format.toLowerCase());
|
|
12329
12360
|
}
|
|
12330
12361
|
|
|
12331
12362
|
// use validity message override if declared when initializing the component
|
|
@@ -12434,12 +12465,10 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12434
12465
|
updated(changedProperties) {
|
|
12435
12466
|
super.updated(changedProperties);
|
|
12436
12467
|
|
|
12437
|
-
// When locale changes
|
|
12438
|
-
// Only runs if the current format is still the previous locale's default (not user-overridden).
|
|
12468
|
+
// When locale changes, auto-derive format unless the consumer explicitly set one.
|
|
12439
12469
|
if (changedProperties.has('locale') && !changedProperties.has('format') && this.type === 'date') {
|
|
12440
|
-
|
|
12441
|
-
|
|
12442
|
-
this.format = getDateFormatFromLocale$3(this.locale);
|
|
12470
|
+
if (!this._userSetFormat) {
|
|
12471
|
+
this._setFormatFromLocale(getDateFormatFromLocale$3(this.locale));
|
|
12443
12472
|
}
|
|
12444
12473
|
}
|
|
12445
12474
|
|
|
@@ -12610,9 +12639,6 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12610
12639
|
this.maskInstance.on('accept', () => {
|
|
12611
12640
|
if (this._configuringMask) return;
|
|
12612
12641
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
12613
|
-
if (this.type === "date") {
|
|
12614
|
-
this._rawMaskValue = this.maskInstance.value;
|
|
12615
|
-
}
|
|
12616
12642
|
});
|
|
12617
12643
|
|
|
12618
12644
|
// Mask fires 'complete' on the restore step below for any value that
|
|
@@ -12620,9 +12646,6 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12620
12646
|
this.maskInstance.on('complete', () => {
|
|
12621
12647
|
if (this._configuringMask) return;
|
|
12622
12648
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
12623
|
-
if (this.type === "date") {
|
|
12624
|
-
this._rawMaskValue = this.maskInstance.value;
|
|
12625
|
-
}
|
|
12626
12649
|
});
|
|
12627
12650
|
|
|
12628
12651
|
// Write existingValue through the mask (not the input directly) so
|
|
@@ -12859,8 +12882,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12859
12882
|
|
|
12860
12883
|
// Set default date format if type=date and no format is defined
|
|
12861
12884
|
if (this.type === "date" && !this.format) {
|
|
12862
|
-
|
|
12863
|
-
this.format = this.util.getDateMaskFromLocale().toLowerCase();
|
|
12885
|
+
this._setFormatFromLocale(this.util.getDateMaskFromLocale().toLowerCase());
|
|
12864
12886
|
this.util.updateFormat(this.format);
|
|
12865
12887
|
}
|
|
12866
12888
|
}
|
|
@@ -12889,7 +12911,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
12889
12911
|
const creditCard = this.matchInputValueToCreditCard();
|
|
12890
12912
|
const previousFormat = this.format;
|
|
12891
12913
|
|
|
12892
|
-
this.
|
|
12914
|
+
this._setFormatFromLocale(creditCard.maskFormat);
|
|
12893
12915
|
|
|
12894
12916
|
this.maxLength = creditCard.formatLength;
|
|
12895
12917
|
this.minLength = creditCard.formatMinLength;
|
|
@@ -13363,7 +13385,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$3 {
|
|
|
13363
13385
|
}
|
|
13364
13386
|
};
|
|
13365
13387
|
|
|
13366
|
-
var formkitVersion$8 = '
|
|
13388
|
+
var formkitVersion$8 = '202607022131';
|
|
13367
13389
|
|
|
13368
13390
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13369
13391
|
// See LICENSE in the project root for license information.
|
|
@@ -25734,28 +25756,23 @@ var popoverVersion = '6.0.1';
|
|
|
25734
25756
|
* @returns {number|null} Local-midnight Unix timestamp (seconds), or null.
|
|
25735
25757
|
*/
|
|
25736
25758
|
function parseIsoToTimestamp(isoStr) {
|
|
25737
|
-
// Strict YYYY-MM-DD matcher with named groups. Rejects trailing garbage
|
|
25738
|
-
// ("2024x-01-01"), short segments ("2024-1-1"), and any non-digit
|
|
25739
|
-
// characters. `parseInt` alone accepted both because it stops at the
|
|
25740
|
-
// first non-digit and doesn't require a minimum length.
|
|
25741
|
-
const ISO_DATE_RE = /^(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})$/u;
|
|
25742
|
-
const MAX_MONTH = 12;
|
|
25743
|
-
const MAX_DAY = 31;
|
|
25744
|
-
|
|
25745
25759
|
if (typeof isoStr !== 'string') {
|
|
25746
25760
|
return null;
|
|
25747
25761
|
}
|
|
25748
|
-
const
|
|
25749
|
-
if (
|
|
25762
|
+
const parts = isoStr.split('-');
|
|
25763
|
+
if (parts.length !== 3) {
|
|
25764
|
+
return null;
|
|
25765
|
+
}
|
|
25766
|
+
const year = parseInt(parts[0], 10);
|
|
25767
|
+
const month = parseInt(parts[1], 10);
|
|
25768
|
+
const day = parseInt(parts[2], 10);
|
|
25769
|
+
if (!Number.isFinite(year) || !Number.isFinite(month) || !Number.isFinite(day)) {
|
|
25750
25770
|
return null;
|
|
25751
25771
|
}
|
|
25752
|
-
const year = Number(match.groups.year);
|
|
25753
|
-
const month = Number(match.groups.month);
|
|
25754
|
-
const day = Number(match.groups.day);
|
|
25755
25772
|
// Reject overflow values like "2024-13-40" — JS `new Date(year, month, day)`
|
|
25756
25773
|
// silently normalizes those to a different calendar day, which would
|
|
25757
25774
|
// disable the wrong date if we let the result through.
|
|
25758
|
-
if (month < 1 || month >
|
|
25775
|
+
if (month < 1 || month > 12 || day < 1 || day > 31) {
|
|
25759
25776
|
return null;
|
|
25760
25777
|
}
|
|
25761
25778
|
const date = new Date(year, month - 1, day);
|
|
@@ -26333,36 +26350,13 @@ class AuroCalendarCell extends i$3 {
|
|
|
26333
26350
|
}
|
|
26334
26351
|
|
|
26335
26352
|
firstUpdated() {
|
|
26336
|
-
this._initFromAncestors();
|
|
26337
|
-
}
|
|
26338
|
-
|
|
26339
|
-
/**
|
|
26340
|
-
* Wires the cell to its ancestor calendar-month and calendar (and, via
|
|
26341
|
-
* the calendar, to the datepicker). Extracted from firstUpdated() so the
|
|
26342
|
-
* retry loop can re-attempt without recursively invoking a Lit lifecycle
|
|
26343
|
-
* method (which is outside the framework's contract).
|
|
26344
|
-
* @private
|
|
26345
|
-
* @returns {void}
|
|
26346
|
-
*/
|
|
26347
|
-
_initFromAncestors() {
|
|
26348
26353
|
const calendarMonth = this.runtimeUtils.closestElement('auro-formkit-calendar-month', this);
|
|
26349
26354
|
const calendar = this.runtimeUtils.closestElement('auro-formkit-calendar', calendarMonth);
|
|
26350
26355
|
|
|
26351
26356
|
if (!calendar) {
|
|
26352
|
-
|
|
26353
|
-
// to attach — but cap attempts so a permanently detached cell doesn't
|
|
26354
|
-
// spin forever. 10 turns is far more than any observed race needs.
|
|
26355
|
-
this._firstUpdatedRetries = (this._firstUpdatedRetries || 0) + 1;
|
|
26356
|
-
if (this._firstUpdatedRetries > 10) {
|
|
26357
|
-
return;
|
|
26358
|
-
}
|
|
26359
|
-
this._firstUpdatedRetryTimer = setTimeout(() => {
|
|
26360
|
-
this._firstUpdatedRetryTimer = null;
|
|
26361
|
-
this._initFromAncestors();
|
|
26362
|
-
}, 0);
|
|
26357
|
+
setTimeout(() => this.firstUpdated(), 0);
|
|
26363
26358
|
return;
|
|
26364
26359
|
}
|
|
26365
|
-
this._firstUpdatedRetries = 0;
|
|
26366
26360
|
this.calendar = calendar;
|
|
26367
26361
|
this.datepicker = calendar.datepicker;
|
|
26368
26362
|
this._slotContentHandler = () => {
|
|
@@ -26390,10 +26384,6 @@ class AuroCalendarCell extends i$3 {
|
|
|
26390
26384
|
if (this.datepicker && this._slotContentHandler) {
|
|
26391
26385
|
this.datepicker.removeEventListener('auroDatePicker-newSlotContent', this._slotContentHandler);
|
|
26392
26386
|
}
|
|
26393
|
-
if (this._firstUpdatedRetryTimer) {
|
|
26394
|
-
clearTimeout(this._firstUpdatedRetryTimer);
|
|
26395
|
-
this._firstUpdatedRetryTimer = null;
|
|
26396
|
-
}
|
|
26397
26387
|
}
|
|
26398
26388
|
|
|
26399
26389
|
/**
|
|
@@ -27765,7 +27755,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$3 {
|
|
|
27765
27755
|
}
|
|
27766
27756
|
};
|
|
27767
27757
|
|
|
27768
|
-
var formkitVersion$2$1 = '
|
|
27758
|
+
var formkitVersion$2$1 = '202607022131';
|
|
27769
27759
|
|
|
27770
27760
|
let l$1$2 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=i$2`${s$3(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1$2 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$1$2 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$1$3=i$6`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
27771
27761
|
`,u$4$2=i$6`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
|
|
@@ -27904,10 +27894,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
27904
27894
|
* Support will be removed in a future major release.
|
|
27905
27895
|
* @private
|
|
27906
27896
|
*/
|
|
27907
|
-
|
|
27908
|
-
// empty array doesn't trigger the deprecation warning. Assignments from
|
|
27909
|
-
// consumers still route through the setter below.
|
|
27910
|
-
this._disabledDays = [];
|
|
27897
|
+
this.disabledDays = [];
|
|
27911
27898
|
|
|
27912
27899
|
/**
|
|
27913
27900
|
* @private
|
|
@@ -27940,44 +27927,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
27940
27927
|
this._calendarInstanceId = Date.now().toString(36);
|
|
27941
27928
|
}
|
|
27942
27929
|
|
|
27943
|
-
/**
|
|
27944
|
-
* @deprecated See constructor JSDoc — migrate to
|
|
27945
|
-
* `auro-datepicker.blackoutDates`. The getter/setter pair exists so the
|
|
27946
|
-
* one-time deprecation warning fires as soon as a consumer assigns a
|
|
27947
|
-
* non-empty array (empty assignments are ignored — an empty array is
|
|
27948
|
-
* indistinguishable from the constructor default and would produce a
|
|
27949
|
-
* spurious warning), rather than only when `_getBlackoutSet()` happens
|
|
27950
|
-
* to rebuild.
|
|
27951
|
-
* @returns {Array} The current legacy `disabledDays` array.
|
|
27952
|
-
*/
|
|
27953
|
-
get disabledDays() {
|
|
27954
|
-
return this._disabledDays;
|
|
27955
|
-
}
|
|
27956
|
-
|
|
27957
|
-
/**
|
|
27958
|
-
* @param {Array} value - The legacy `disabledDays` array to set.
|
|
27959
|
-
*/
|
|
27960
|
-
set disabledDays(value) {
|
|
27961
|
-
const oldValue = this._disabledDays;
|
|
27962
|
-
// Coerce non-arrays to `[]`. Consumers occasionally pass `null`
|
|
27963
|
-
// (Lit's Array attribute converter returns null for a missing/empty
|
|
27964
|
-
// attribute) or misuse the API; downstream code in
|
|
27965
|
-
// `auro-calendar-cell.isEnabled` calls `.findIndex()` on this value
|
|
27966
|
-
// without an Array.isArray guard, so a truthy non-array would throw
|
|
27967
|
-
// at render.
|
|
27968
|
-
const coerced = Array.isArray(value) ? value : [];
|
|
27969
|
-
if (coerced.length > 0) {
|
|
27970
|
-
this._warnDisabledDaysDeprecated();
|
|
27971
|
-
}
|
|
27972
|
-
this._disabledDays = coerced;
|
|
27973
|
-
// `disabledDays` is a Lit `@property({ type: Array })` on the
|
|
27974
|
-
// RangeDatepicker base class; Lit's generated setter (which we've
|
|
27975
|
-
// overridden here to insert the warning) is what normally invalidates
|
|
27976
|
-
// the reactive cycle. Re-invoke requestUpdate manually so consumer
|
|
27977
|
-
// assignments still re-render the calendar.
|
|
27978
|
-
this.requestUpdate('disabledDays', oldValue);
|
|
27979
|
-
}
|
|
27980
|
-
|
|
27981
27930
|
static get styles() {
|
|
27982
27931
|
return [
|
|
27983
27932
|
styleCss$7$1,
|
|
@@ -28523,19 +28472,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
28523
28472
|
/**
|
|
28524
28473
|
* Returns a memoized Set of blackout timestamps (seconds) drawn from both
|
|
28525
28474
|
* the legacy `disabledDays` array and the datepicker's ISO `blackoutDates`.
|
|
28526
|
-
*
|
|
28527
|
-
*
|
|
28528
|
-
* consumer reassigns the array (`el.blackoutDates = [...]`), matching
|
|
28529
|
-
* Lit's own reactivity semantics for array properties. In-place mutations
|
|
28530
|
-
* on the existing array (`push`, `splice`, index assignment) will NOT
|
|
28531
|
-
* invalidate the cache and the new entries will be silently ignored.
|
|
28532
|
-
* Consumers must reassign to update — see the JSDoc on
|
|
28533
|
-
* `auro-datepicker.blackoutDates` for the recommended pattern.
|
|
28534
|
-
*
|
|
28535
|
-
* A shallow-equality tier was considered but rejected: it would run
|
|
28536
|
-
* O(N) work on every cell render (this method is called per-cell via
|
|
28537
|
-
* `isBlackout()`) and still wouldn't catch same-length value swaps,
|
|
28538
|
-
* offering a false sense of safety.
|
|
28475
|
+
* The cache invalidates when either source array's reference changes, which
|
|
28476
|
+
* matches Lit's own reactive identity semantics for array properties.
|
|
28539
28477
|
* @private
|
|
28540
28478
|
* @returns {Set<Number>}
|
|
28541
28479
|
*/
|
|
@@ -28716,24 +28654,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
28716
28654
|
// rendered month(s) first so a single-month calendar does not pick a date
|
|
28717
28655
|
// that has no DOM cell. Determine the visible range based on centralDate and
|
|
28718
28656
|
// the number of rendered months.
|
|
28719
|
-
|
|
28720
|
-
// numCalendars is assigned inside renderAllCalendars(), which runs during
|
|
28721
|
-
// render() — so by the time the visible-change handler in updated()
|
|
28722
|
-
// calls computeActiveDate() in the same cycle, numCalendars is normally
|
|
28723
|
-
// set. Guard against the pre-first-render path anyway (e.g. any future
|
|
28724
|
-
// caller that reaches computeActiveDate before render() has run):
|
|
28725
|
-
// Math.max(undefined, 1) is NaN, which would silently skip the
|
|
28726
|
-
// visible-month scan below. Fall back to maximumRenderableMonths'
|
|
28727
|
-
// desktop default (1 for non-range, 2 for range) so the scan window is
|
|
28728
|
-
// correctly sized whenever numCalendars is not yet populated.
|
|
28729
|
-
let renderedMonths = null;
|
|
28730
|
-
|
|
28731
|
-
if (Number.isFinite(this.numCalendars) && this.numCalendars > 0) {
|
|
28732
|
-
renderedMonths = this.numCalendars;
|
|
28733
|
-
} else {
|
|
28734
|
-
renderedMonths = this.noRange ? 1 : 2;
|
|
28735
|
-
}
|
|
28736
|
-
|
|
28657
|
+
const renderedMonths = Math.max(this.numCalendars, 1);
|
|
28737
28658
|
const visibleAnchor = this.centralDateObject ?? new Date(now * 1000);
|
|
28738
28659
|
const visMonthStart = new Date(visibleAnchor.getFullYear(), visibleAnchor.getMonth(), 1);
|
|
28739
28660
|
visMonthStart.setHours(0, 0, 0, 0);
|
|
@@ -29003,8 +28924,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
29003
28924
|
let targetIndex = -1;
|
|
29004
28925
|
if (direction === 'next') {
|
|
29005
28926
|
targetIndex = currentIndex + 1;
|
|
29006
|
-
} else if (direction === 'prev') {
|
|
29007
|
-
targetIndex = currentIndex - 1;
|
|
29008
28927
|
}
|
|
29009
28928
|
|
|
29010
28929
|
if (targetIndex >= 0 && targetIndex < allCells.length) {
|
|
@@ -29609,10 +29528,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
29609
29528
|
* originally tried aria-live="polite" here, but VoiceOver treats
|
|
29610
29529
|
* polite as "wait until idle" — which never happens during active
|
|
29611
29530
|
* keyboard navigation — so the announcements were silently dropped.
|
|
29612
|
-
*
|
|
29613
|
-
* This is a documented deviation from WCAG 2.1 SC 4.1.3, which
|
|
29614
|
-
* prefers `polite` for status messages. See the "Documented
|
|
29615
|
-
* Deviation" section in components/datepicker/docs/pages/accessibility.md.
|
|
29616
29531
|
* @private
|
|
29617
29532
|
* @param {String} dateStr - The localized date string to announce.
|
|
29618
29533
|
* @returns {void}
|
|
@@ -33658,7 +33573,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$3 {
|
|
|
33658
33573
|
}
|
|
33659
33574
|
};
|
|
33660
33575
|
|
|
33661
|
-
var formkitVersion$1$3 = '
|
|
33576
|
+
var formkitVersion$1$3 = '202607022131';
|
|
33662
33577
|
|
|
33663
33578
|
let AuroElement$2$2 = class AuroElement extends i$3 {
|
|
33664
33579
|
static get properties() {
|
|
@@ -45666,14 +45581,16 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45666
45581
|
this.label = 'Input label is undefined';
|
|
45667
45582
|
this.layout = 'classic';
|
|
45668
45583
|
this.locale = 'en-US';
|
|
45584
|
+
this._format = undefined;
|
|
45585
|
+
|
|
45586
|
+
/** @private */
|
|
45587
|
+
this._userSetFormat = false;
|
|
45669
45588
|
this.max = undefined;
|
|
45670
45589
|
this.maxLength = undefined;
|
|
45671
45590
|
this.min = undefined;
|
|
45672
45591
|
this.minLength = undefined;
|
|
45673
45592
|
this.noValidate = false;
|
|
45674
45593
|
this.onDark = false;
|
|
45675
|
-
// Raw values returned from the input mask before model normalization.
|
|
45676
|
-
this._rawMaskValue = undefined;
|
|
45677
45594
|
this.required = false;
|
|
45678
45595
|
this.setCustomValidityForType = undefined;
|
|
45679
45596
|
// Credit Card is intentionally excluded — its mask manages the cursor
|
|
@@ -45831,7 +45748,8 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45831
45748
|
*/
|
|
45832
45749
|
format: {
|
|
45833
45750
|
type: String,
|
|
45834
|
-
reflect: true
|
|
45751
|
+
reflect: true,
|
|
45752
|
+
noAccessor: true
|
|
45835
45753
|
},
|
|
45836
45754
|
|
|
45837
45755
|
/**
|
|
@@ -46169,6 +46087,34 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46169
46087
|
return this.max && dateFormatter$2.isValidDate(this.max) ? dateFormatter$2.stringToDateInstance(this.max) : undefined;
|
|
46170
46088
|
}
|
|
46171
46089
|
|
|
46090
|
+
get format() {
|
|
46091
|
+
return this._format;
|
|
46092
|
+
}
|
|
46093
|
+
|
|
46094
|
+
/**
|
|
46095
|
+
* Overrides LitElement's generated accessor so we can track whether the
|
|
46096
|
+
* consumer explicitly set `format`. Locale-derived updates use
|
|
46097
|
+
* `_setFormatFromLocale` instead, which skips this flag.
|
|
46098
|
+
*/
|
|
46099
|
+
set format(value) {
|
|
46100
|
+
const oldValue = this._format;
|
|
46101
|
+
this._format = value;
|
|
46102
|
+
this._userSetFormat = true;
|
|
46103
|
+
this.requestUpdate('format', oldValue);
|
|
46104
|
+
}
|
|
46105
|
+
|
|
46106
|
+
/**
|
|
46107
|
+
* Sets format without marking it as user-set. Used by locale auto-derive
|
|
46108
|
+
* so that a subsequent locale change can still update the format.
|
|
46109
|
+
* @private
|
|
46110
|
+
* @param {string} value
|
|
46111
|
+
*/
|
|
46112
|
+
_setFormatFromLocale(value) {
|
|
46113
|
+
const oldValue = this._format;
|
|
46114
|
+
this._format = value;
|
|
46115
|
+
this.requestUpdate('format', oldValue);
|
|
46116
|
+
}
|
|
46117
|
+
|
|
46172
46118
|
connectedCallback() {
|
|
46173
46119
|
super.connectedCallback();
|
|
46174
46120
|
|
|
@@ -46222,7 +46168,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46222
46168
|
// format silently misses the map and leaves `setCustomValidityForType`
|
|
46223
46169
|
// unset.
|
|
46224
46170
|
if (this.format) {
|
|
46225
|
-
this.
|
|
46171
|
+
this._setFormatFromLocale(this.format.toLowerCase());
|
|
46226
46172
|
}
|
|
46227
46173
|
|
|
46228
46174
|
// use validity message override if declared when initializing the component
|
|
@@ -46331,12 +46277,10 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46331
46277
|
updated(changedProperties) {
|
|
46332
46278
|
super.updated(changedProperties);
|
|
46333
46279
|
|
|
46334
|
-
// When locale changes
|
|
46335
|
-
// Only runs if the current format is still the previous locale's default (not user-overridden).
|
|
46280
|
+
// When locale changes, auto-derive format unless the consumer explicitly set one.
|
|
46336
46281
|
if (changedProperties.has('locale') && !changedProperties.has('format') && this.type === 'date') {
|
|
46337
|
-
|
|
46338
|
-
|
|
46339
|
-
this.format = getDateFormatFromLocale$2(this.locale);
|
|
46282
|
+
if (!this._userSetFormat) {
|
|
46283
|
+
this._setFormatFromLocale(getDateFormatFromLocale$2(this.locale));
|
|
46340
46284
|
}
|
|
46341
46285
|
}
|
|
46342
46286
|
|
|
@@ -46507,9 +46451,6 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46507
46451
|
this.maskInstance.on('accept', () => {
|
|
46508
46452
|
if (this._configuringMask) return;
|
|
46509
46453
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
46510
|
-
if (this.type === "date") {
|
|
46511
|
-
this._rawMaskValue = this.maskInstance.value;
|
|
46512
|
-
}
|
|
46513
46454
|
});
|
|
46514
46455
|
|
|
46515
46456
|
// Mask fires 'complete' on the restore step below for any value that
|
|
@@ -46517,9 +46458,6 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46517
46458
|
this.maskInstance.on('complete', () => {
|
|
46518
46459
|
if (this._configuringMask) return;
|
|
46519
46460
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
46520
|
-
if (this.type === "date") {
|
|
46521
|
-
this._rawMaskValue = this.maskInstance.value;
|
|
46522
|
-
}
|
|
46523
46461
|
});
|
|
46524
46462
|
|
|
46525
46463
|
// Write existingValue through the mask (not the input directly) so
|
|
@@ -46756,8 +46694,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46756
46694
|
|
|
46757
46695
|
// Set default date format if type=date and no format is defined
|
|
46758
46696
|
if (this.type === "date" && !this.format) {
|
|
46759
|
-
|
|
46760
|
-
this.format = this.util.getDateMaskFromLocale().toLowerCase();
|
|
46697
|
+
this._setFormatFromLocale(this.util.getDateMaskFromLocale().toLowerCase());
|
|
46761
46698
|
this.util.updateFormat(this.format);
|
|
46762
46699
|
}
|
|
46763
46700
|
}
|
|
@@ -46786,7 +46723,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
46786
46723
|
const creditCard = this.matchInputValueToCreditCard();
|
|
46787
46724
|
const previousFormat = this.format;
|
|
46788
46725
|
|
|
46789
|
-
this.
|
|
46726
|
+
this._setFormatFromLocale(creditCard.maskFormat);
|
|
46790
46727
|
|
|
46791
46728
|
this.maxLength = creditCard.formatLength;
|
|
46792
46729
|
this.minLength = creditCard.formatMinLength;
|
|
@@ -47260,7 +47197,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$3 {
|
|
|
47260
47197
|
}
|
|
47261
47198
|
};
|
|
47262
47199
|
|
|
47263
|
-
var formkitVersion$7 = '
|
|
47200
|
+
var formkitVersion$7 = '202607022131';
|
|
47264
47201
|
|
|
47265
47202
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
47266
47203
|
// See LICENSE in the project root for license information.
|
|
@@ -48637,15 +48574,6 @@ const datepickerKeyboardStrategy = {
|
|
|
48637
48574
|
evt.stopPropagation();
|
|
48638
48575
|
evt.preventDefault();
|
|
48639
48576
|
|
|
48640
|
-
// Signal to the visibility-change handler in auro-datepicker.js that
|
|
48641
|
-
// focus should be restored to the trigger regardless of hasFocus.
|
|
48642
|
-
// hidePopover() (desktop non-modal path) does not auto-restore focus,
|
|
48643
|
-
// and hiding the grid's popover ancestor drops focus to <body>. That
|
|
48644
|
-
// synchronously fires focusout on the datepicker host — clearing
|
|
48645
|
-
// hasFocus — before updated() runs, which would otherwise skip the
|
|
48646
|
-
// input refocus. Native <dialog>.close() (modal path) restores focus
|
|
48647
|
-
// itself, but the flag is harmless there.
|
|
48648
|
-
component._restoreFocusOnClose = true;
|
|
48649
48577
|
component.hideBib();
|
|
48650
48578
|
},
|
|
48651
48579
|
|
|
@@ -48919,14 +48847,6 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
48919
48847
|
|
|
48920
48848
|
/**
|
|
48921
48849
|
* Array of dates that cannot be selected. Dates should be in ISO format (YYYY-MM-DD).
|
|
48922
|
-
*
|
|
48923
|
-
* **Immutable update required.** The datepicker treats this array as
|
|
48924
|
-
* immutable and memoizes a lookup Set keyed on the array's reference
|
|
48925
|
-
* identity — matching Lit's own reactivity semantics for array
|
|
48926
|
-
* properties. In-place mutations (`blackoutDates.push(...)`,
|
|
48927
|
-
* `blackoutDates[i] = ...`, `blackoutDates.splice(...)`) will not
|
|
48928
|
-
* invalidate the cache and the new entries will be silently ignored.
|
|
48929
|
-
* To update, reassign the property: `el.blackoutDates = [...el.blackoutDates, '2024-12-25']`.
|
|
48930
48850
|
*/
|
|
48931
48851
|
blackoutDates: {
|
|
48932
48852
|
type: Array,
|
|
@@ -49812,13 +49732,12 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
49812
49732
|
this.calendar.activeCellDate = null;
|
|
49813
49733
|
|
|
49814
49734
|
// Show the month containing the selected date (or today) instead of
|
|
49815
|
-
// whichever month the user last navigated to.
|
|
49816
|
-
// updateCentralDate so centralDate stays first-of-month.
|
|
49735
|
+
// whichever month the user last navigated to.
|
|
49817
49736
|
// Respect consumer-provided centralDate/calendarStartDate if no value is set.
|
|
49818
49737
|
if (this.valueObject) {
|
|
49819
|
-
this.
|
|
49738
|
+
this.centralDate = this.value;
|
|
49820
49739
|
} else if (!this.centralDate && !this.calendarStartDate && !this.minDate) {
|
|
49821
|
-
this.
|
|
49740
|
+
this.centralDate = dateFormatter$1.toISOFormatString(new Date());
|
|
49822
49741
|
}
|
|
49823
49742
|
}
|
|
49824
49743
|
|
|
@@ -49876,15 +49795,8 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
49876
49795
|
// Always clear the inert flag. Only restore focus to the input when the datepicker
|
|
49877
49796
|
// still has focus (e.g. Escape, date selected) — not when the user tabbed away,
|
|
49878
49797
|
// which would pull them back and require extra Tab presses to escape.
|
|
49879
|
-
//
|
|
49880
|
-
// `_restoreFocusOnClose` is set by the Escape handler in
|
|
49881
|
-
// datepickerKeyboardStrategy.js to force restore even when hasFocus
|
|
49882
|
-
// has already been cleared — hidePopover() (desktop non-modal path)
|
|
49883
|
-
// can drop focus to <body> before this update fires.
|
|
49884
49798
|
this.dropdown.trigger.inert = false;
|
|
49885
|
-
|
|
49886
|
-
this._restoreFocusOnClose = false;
|
|
49887
|
-
if (shouldRestoreFocus) {
|
|
49799
|
+
if (this.hasFocus) {
|
|
49888
49800
|
requestAnimationFrame(() => {
|
|
49889
49801
|
if (!this.dropdown.isPopoverVisible) {
|
|
49890
49802
|
this.inputList[0].focus();
|
|
@@ -50330,18 +50242,6 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
50330
50242
|
this.calendar.requestUpdate();
|
|
50331
50243
|
this.dispatchEvent(new CustomEvent('auroDatePicker-newSlotContent'));
|
|
50332
50244
|
}
|
|
50333
|
-
|
|
50334
|
-
// Range invariant: if a value change (from click or programmatic) has
|
|
50335
|
-
// moved start past end, clear valueEnd here so both properties land in
|
|
50336
|
-
// the SAME reactive cycle. Doing it in updated() would schedule a
|
|
50337
|
-
// second cycle after cellClickActive/wasCellClick has already been
|
|
50338
|
-
// consumed by the value branch, leaving the valueEnd branch to run
|
|
50339
|
-
// with a stale handshake and racing with any intervening programmatic
|
|
50340
|
-
// value assignments.
|
|
50341
|
-
if ((changedProperties.has('value') || changedProperties.has('valueEnd')) &&
|
|
50342
|
-
this.valueObject && this.valueEndObject && this.valueObject > this.valueEndObject) {
|
|
50343
|
-
this.valueEnd = undefined;
|
|
50344
|
-
}
|
|
50345
50245
|
}
|
|
50346
50246
|
|
|
50347
50247
|
updated(changedProperties) {
|
|
@@ -50409,12 +50309,8 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
50409
50309
|
|
|
50410
50310
|
if (this.value && this.value.length === this.inputList[0].lengthForType && !(this.wasCellClick && this.range)) {
|
|
50411
50311
|
// Skip centralDate update when user clicked a cell in range mode
|
|
50412
|
-
// to prevent the displayed months from shifting
|
|
50413
|
-
|
|
50414
|
-
// assignment of the raw value briefly holds a mid-month string
|
|
50415
|
-
// and violates the invariant that observers (e.g. calendar sync)
|
|
50416
|
-
// rely on.
|
|
50417
|
-
this.calendarRenderUtil.updateCentralDate(this, this.value);
|
|
50312
|
+
// to prevent the displayed months from shifting
|
|
50313
|
+
this.centralDate = this.value;
|
|
50418
50314
|
}
|
|
50419
50315
|
|
|
50420
50316
|
this.setHasValue();
|
|
@@ -50472,10 +50368,8 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
50472
50368
|
|
|
50473
50369
|
if (this.valueEnd && this.valueEnd.length === this.inputList[1].lengthForType && !this.wasCellClick) {
|
|
50474
50370
|
// Skip centralDate update when user clicked a cell in range mode
|
|
50475
|
-
// to prevent the displayed months from shifting
|
|
50476
|
-
|
|
50477
|
-
// (see matching comment in the value branch above).
|
|
50478
|
-
this.calendarRenderUtil.updateCentralDate(this, this.valueEnd);
|
|
50371
|
+
// to prevent the displayed months from shifting
|
|
50372
|
+
this.centralDate = this.valueEnd;
|
|
50479
50373
|
}
|
|
50480
50374
|
|
|
50481
50375
|
this.validate();
|
|
@@ -50499,6 +50393,10 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
50499
50393
|
this.validation.validate(lastInput, true);
|
|
50500
50394
|
}
|
|
50501
50395
|
|
|
50396
|
+
if (this.valueObject && this.valueEndObject && this.valueObject > this.valueEndObject) {
|
|
50397
|
+
this.valueEnd = undefined;
|
|
50398
|
+
}
|
|
50399
|
+
|
|
50502
50400
|
// This resets the datepicker when the minDate is set to a new value that is
|
|
50503
50401
|
// a later date than the current value date
|
|
50504
50402
|
if (changedProperties.has('minDate') && this.minDate) {
|
|
@@ -52181,7 +52079,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$3 {
|
|
|
52181
52079
|
}
|
|
52182
52080
|
};
|
|
52183
52081
|
|
|
52184
|
-
var formkitVersion$1$2 = '
|
|
52082
|
+
var formkitVersion$1$2 = '202607022131';
|
|
52185
52083
|
|
|
52186
52084
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
52187
52085
|
// See LICENSE in the project root for license information.
|
|
@@ -56509,7 +56407,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$3 {
|
|
|
56509
56407
|
}
|
|
56510
56408
|
};
|
|
56511
56409
|
|
|
56512
|
-
var formkitVersion$6 = '
|
|
56410
|
+
var formkitVersion$6 = '202607022131';
|
|
56513
56411
|
|
|
56514
56412
|
let AuroElement$1$2 = class AuroElement extends i$3 {
|
|
56515
56413
|
static get properties() {
|
|
@@ -60489,7 +60387,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$3 {
|
|
|
60489
60387
|
}
|
|
60490
60388
|
};
|
|
60491
60389
|
|
|
60492
|
-
var formkitVersion$5 = '
|
|
60390
|
+
var formkitVersion$5 = '202607022131';
|
|
60493
60391
|
|
|
60494
60392
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
60495
60393
|
// See LICENSE in the project root for license information.
|
|
@@ -62254,7 +62152,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$3 {
|
|
|
62254
62152
|
}
|
|
62255
62153
|
};
|
|
62256
62154
|
|
|
62257
|
-
var formkitVersion$4 = '
|
|
62155
|
+
var formkitVersion$4 = '202607022131';
|
|
62258
62156
|
|
|
62259
62157
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
62260
62158
|
// See LICENSE in the project root for license information.
|
|
@@ -67475,7 +67373,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
67475
67373
|
}
|
|
67476
67374
|
};
|
|
67477
67375
|
|
|
67478
|
-
var formkitVersion$2 = '
|
|
67376
|
+
var formkitVersion$2 = '202607022131';
|
|
67479
67377
|
|
|
67480
67378
|
let AuroElement$2$1 = class AuroElement extends i$3 {
|
|
67481
67379
|
static get properties() {
|
|
@@ -79483,14 +79381,16 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79483
79381
|
this.label = 'Input label is undefined';
|
|
79484
79382
|
this.layout = 'classic';
|
|
79485
79383
|
this.locale = 'en-US';
|
|
79384
|
+
this._format = undefined;
|
|
79385
|
+
|
|
79386
|
+
/** @private */
|
|
79387
|
+
this._userSetFormat = false;
|
|
79486
79388
|
this.max = undefined;
|
|
79487
79389
|
this.maxLength = undefined;
|
|
79488
79390
|
this.min = undefined;
|
|
79489
79391
|
this.minLength = undefined;
|
|
79490
79392
|
this.noValidate = false;
|
|
79491
79393
|
this.onDark = false;
|
|
79492
|
-
// Raw values returned from the input mask before model normalization.
|
|
79493
|
-
this._rawMaskValue = undefined;
|
|
79494
79394
|
this.required = false;
|
|
79495
79395
|
this.setCustomValidityForType = undefined;
|
|
79496
79396
|
// Credit Card is intentionally excluded — its mask manages the cursor
|
|
@@ -79648,7 +79548,8 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79648
79548
|
*/
|
|
79649
79549
|
format: {
|
|
79650
79550
|
type: String,
|
|
79651
|
-
reflect: true
|
|
79551
|
+
reflect: true,
|
|
79552
|
+
noAccessor: true
|
|
79652
79553
|
},
|
|
79653
79554
|
|
|
79654
79555
|
/**
|
|
@@ -79986,6 +79887,34 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79986
79887
|
return this.max && dateFormatter.isValidDate(this.max) ? dateFormatter.stringToDateInstance(this.max) : undefined;
|
|
79987
79888
|
}
|
|
79988
79889
|
|
|
79890
|
+
get format() {
|
|
79891
|
+
return this._format;
|
|
79892
|
+
}
|
|
79893
|
+
|
|
79894
|
+
/**
|
|
79895
|
+
* Overrides LitElement's generated accessor so we can track whether the
|
|
79896
|
+
* consumer explicitly set `format`. Locale-derived updates use
|
|
79897
|
+
* `_setFormatFromLocale` instead, which skips this flag.
|
|
79898
|
+
*/
|
|
79899
|
+
set format(value) {
|
|
79900
|
+
const oldValue = this._format;
|
|
79901
|
+
this._format = value;
|
|
79902
|
+
this._userSetFormat = true;
|
|
79903
|
+
this.requestUpdate('format', oldValue);
|
|
79904
|
+
}
|
|
79905
|
+
|
|
79906
|
+
/**
|
|
79907
|
+
* Sets format without marking it as user-set. Used by locale auto-derive
|
|
79908
|
+
* so that a subsequent locale change can still update the format.
|
|
79909
|
+
* @private
|
|
79910
|
+
* @param {string} value
|
|
79911
|
+
*/
|
|
79912
|
+
_setFormatFromLocale(value) {
|
|
79913
|
+
const oldValue = this._format;
|
|
79914
|
+
this._format = value;
|
|
79915
|
+
this.requestUpdate('format', oldValue);
|
|
79916
|
+
}
|
|
79917
|
+
|
|
79989
79918
|
connectedCallback() {
|
|
79990
79919
|
super.connectedCallback();
|
|
79991
79920
|
|
|
@@ -80039,7 +79968,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
80039
79968
|
// format silently misses the map and leaves `setCustomValidityForType`
|
|
80040
79969
|
// unset.
|
|
80041
79970
|
if (this.format) {
|
|
80042
|
-
this.
|
|
79971
|
+
this._setFormatFromLocale(this.format.toLowerCase());
|
|
80043
79972
|
}
|
|
80044
79973
|
|
|
80045
79974
|
// use validity message override if declared when initializing the component
|
|
@@ -80148,12 +80077,10 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
80148
80077
|
updated(changedProperties) {
|
|
80149
80078
|
super.updated(changedProperties);
|
|
80150
80079
|
|
|
80151
|
-
// When locale changes
|
|
80152
|
-
// Only runs if the current format is still the previous locale's default (not user-overridden).
|
|
80080
|
+
// When locale changes, auto-derive format unless the consumer explicitly set one.
|
|
80153
80081
|
if (changedProperties.has('locale') && !changedProperties.has('format') && this.type === 'date') {
|
|
80154
|
-
|
|
80155
|
-
|
|
80156
|
-
this.format = getDateFormatFromLocale(this.locale);
|
|
80082
|
+
if (!this._userSetFormat) {
|
|
80083
|
+
this._setFormatFromLocale(getDateFormatFromLocale(this.locale));
|
|
80157
80084
|
}
|
|
80158
80085
|
}
|
|
80159
80086
|
|
|
@@ -80324,9 +80251,6 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
80324
80251
|
this.maskInstance.on('accept', () => {
|
|
80325
80252
|
if (this._configuringMask) return;
|
|
80326
80253
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
80327
|
-
if (this.type === "date") {
|
|
80328
|
-
this._rawMaskValue = this.maskInstance.value;
|
|
80329
|
-
}
|
|
80330
80254
|
});
|
|
80331
80255
|
|
|
80332
80256
|
// Mask fires 'complete' on the restore step below for any value that
|
|
@@ -80334,9 +80258,6 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
80334
80258
|
this.maskInstance.on('complete', () => {
|
|
80335
80259
|
if (this._configuringMask) return;
|
|
80336
80260
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
80337
|
-
if (this.type === "date") {
|
|
80338
|
-
this._rawMaskValue = this.maskInstance.value;
|
|
80339
|
-
}
|
|
80340
80261
|
});
|
|
80341
80262
|
|
|
80342
80263
|
// Write existingValue through the mask (not the input directly) so
|
|
@@ -80573,8 +80494,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
80573
80494
|
|
|
80574
80495
|
// Set default date format if type=date and no format is defined
|
|
80575
80496
|
if (this.type === "date" && !this.format) {
|
|
80576
|
-
|
|
80577
|
-
this.format = this.util.getDateMaskFromLocale().toLowerCase();
|
|
80497
|
+
this._setFormatFromLocale(this.util.getDateMaskFromLocale().toLowerCase());
|
|
80578
80498
|
this.util.updateFormat(this.format);
|
|
80579
80499
|
}
|
|
80580
80500
|
}
|
|
@@ -80603,7 +80523,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
80603
80523
|
const creditCard = this.matchInputValueToCreditCard();
|
|
80604
80524
|
const previousFormat = this.format;
|
|
80605
80525
|
|
|
80606
|
-
this.
|
|
80526
|
+
this._setFormatFromLocale(creditCard.maskFormat);
|
|
80607
80527
|
|
|
80608
80528
|
this.maxLength = creditCard.formatLength;
|
|
80609
80529
|
this.minLength = creditCard.formatMinLength;
|
|
@@ -81077,7 +80997,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$3 {
|
|
|
81077
80997
|
}
|
|
81078
80998
|
};
|
|
81079
80999
|
|
|
81080
|
-
var formkitVersion$1$1 = '
|
|
81000
|
+
var formkitVersion$1$1 = '202607022131';
|
|
81081
81001
|
|
|
81082
81002
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
81083
81003
|
// See LICENSE in the project root for license information.
|
|
@@ -82203,7 +82123,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$3 {
|
|
|
82203
82123
|
}
|
|
82204
82124
|
};
|
|
82205
82125
|
|
|
82206
|
-
var formkitVersion$3 = '
|
|
82126
|
+
var formkitVersion$3 = '202607022131';
|
|
82207
82127
|
|
|
82208
82128
|
var styleCss$1$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
82209
82129
|
|
|
@@ -91039,7 +90959,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
91039
90959
|
}
|
|
91040
90960
|
};
|
|
91041
90961
|
|
|
91042
|
-
var formkitVersion$1 = '
|
|
90962
|
+
var formkitVersion$1 = '202607022131';
|
|
91043
90963
|
|
|
91044
90964
|
class AuroElement extends i$3 {
|
|
91045
90965
|
static get properties() {
|
|
@@ -93078,7 +92998,7 @@ class AuroHelpText extends i$3 {
|
|
|
93078
92998
|
}
|
|
93079
92999
|
}
|
|
93080
93000
|
|
|
93081
|
-
var formkitVersion = '
|
|
93001
|
+
var formkitVersion = '202607022131';
|
|
93082
93002
|
|
|
93083
93003
|
var styleCss = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer [slot=displayValue]{display:none}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) .value{height:auto}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
|
|
93084
93004
|
|