@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
|
@@ -10728,14 +10728,16 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
10728
10728
|
this.label = 'Input label is undefined';
|
|
10729
10729
|
this.layout = 'classic';
|
|
10730
10730
|
this.locale = 'en-US';
|
|
10731
|
+
this._format = undefined;
|
|
10732
|
+
|
|
10733
|
+
/** @private */
|
|
10734
|
+
this._userSetFormat = false;
|
|
10731
10735
|
this.max = undefined;
|
|
10732
10736
|
this.maxLength = undefined;
|
|
10733
10737
|
this.min = undefined;
|
|
10734
10738
|
this.minLength = undefined;
|
|
10735
10739
|
this.noValidate = false;
|
|
10736
10740
|
this.onDark = false;
|
|
10737
|
-
// Raw values returned from the input mask before model normalization.
|
|
10738
|
-
this._rawMaskValue = undefined;
|
|
10739
10741
|
this.required = false;
|
|
10740
10742
|
this.setCustomValidityForType = undefined;
|
|
10741
10743
|
// Credit Card is intentionally excluded — its mask manages the cursor
|
|
@@ -10893,7 +10895,8 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
10893
10895
|
*/
|
|
10894
10896
|
format: {
|
|
10895
10897
|
type: String,
|
|
10896
|
-
reflect: true
|
|
10898
|
+
reflect: true,
|
|
10899
|
+
noAccessor: true
|
|
10897
10900
|
},
|
|
10898
10901
|
|
|
10899
10902
|
/**
|
|
@@ -11231,6 +11234,34 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11231
11234
|
return this.max && dateFormatter$3.isValidDate(this.max) ? dateFormatter$3.stringToDateInstance(this.max) : undefined;
|
|
11232
11235
|
}
|
|
11233
11236
|
|
|
11237
|
+
get format() {
|
|
11238
|
+
return this._format;
|
|
11239
|
+
}
|
|
11240
|
+
|
|
11241
|
+
/**
|
|
11242
|
+
* Overrides LitElement's generated accessor so we can track whether the
|
|
11243
|
+
* consumer explicitly set `format`. Locale-derived updates use
|
|
11244
|
+
* `_setFormatFromLocale` instead, which skips this flag.
|
|
11245
|
+
*/
|
|
11246
|
+
set format(value) {
|
|
11247
|
+
const oldValue = this._format;
|
|
11248
|
+
this._format = value;
|
|
11249
|
+
this._userSetFormat = true;
|
|
11250
|
+
this.requestUpdate('format', oldValue);
|
|
11251
|
+
}
|
|
11252
|
+
|
|
11253
|
+
/**
|
|
11254
|
+
* Sets format without marking it as user-set. Used by locale auto-derive
|
|
11255
|
+
* so that a subsequent locale change can still update the format.
|
|
11256
|
+
* @private
|
|
11257
|
+
* @param {string} value
|
|
11258
|
+
*/
|
|
11259
|
+
_setFormatFromLocale(value) {
|
|
11260
|
+
const oldValue = this._format;
|
|
11261
|
+
this._format = value;
|
|
11262
|
+
this.requestUpdate('format', oldValue);
|
|
11263
|
+
}
|
|
11264
|
+
|
|
11234
11265
|
connectedCallback() {
|
|
11235
11266
|
super.connectedCallback();
|
|
11236
11267
|
|
|
@@ -11284,7 +11315,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11284
11315
|
// format silently misses the map and leaves `setCustomValidityForType`
|
|
11285
11316
|
// unset.
|
|
11286
11317
|
if (this.format) {
|
|
11287
|
-
this.
|
|
11318
|
+
this._setFormatFromLocale(this.format.toLowerCase());
|
|
11288
11319
|
}
|
|
11289
11320
|
|
|
11290
11321
|
// use validity message override if declared when initializing the component
|
|
@@ -11393,12 +11424,10 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11393
11424
|
updated(changedProperties) {
|
|
11394
11425
|
super.updated(changedProperties);
|
|
11395
11426
|
|
|
11396
|
-
// When locale changes
|
|
11397
|
-
// Only runs if the current format is still the previous locale's default (not user-overridden).
|
|
11427
|
+
// When locale changes, auto-derive format unless the consumer explicitly set one.
|
|
11398
11428
|
if (changedProperties.has('locale') && !changedProperties.has('format') && this.type === 'date') {
|
|
11399
|
-
|
|
11400
|
-
|
|
11401
|
-
this.format = getDateFormatFromLocale$3(this.locale);
|
|
11429
|
+
if (!this._userSetFormat) {
|
|
11430
|
+
this._setFormatFromLocale(getDateFormatFromLocale$3(this.locale));
|
|
11402
11431
|
}
|
|
11403
11432
|
}
|
|
11404
11433
|
|
|
@@ -11569,9 +11598,6 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11569
11598
|
this.maskInstance.on('accept', () => {
|
|
11570
11599
|
if (this._configuringMask) return;
|
|
11571
11600
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
11572
|
-
if (this.type === "date") {
|
|
11573
|
-
this._rawMaskValue = this.maskInstance.value;
|
|
11574
|
-
}
|
|
11575
11601
|
});
|
|
11576
11602
|
|
|
11577
11603
|
// Mask fires 'complete' on the restore step below for any value that
|
|
@@ -11579,9 +11605,6 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11579
11605
|
this.maskInstance.on('complete', () => {
|
|
11580
11606
|
if (this._configuringMask) return;
|
|
11581
11607
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
11582
|
-
if (this.type === "date") {
|
|
11583
|
-
this._rawMaskValue = this.maskInstance.value;
|
|
11584
|
-
}
|
|
11585
11608
|
});
|
|
11586
11609
|
|
|
11587
11610
|
// Write existingValue through the mask (not the input directly) so
|
|
@@ -11818,8 +11841,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11818
11841
|
|
|
11819
11842
|
// Set default date format if type=date and no format is defined
|
|
11820
11843
|
if (this.type === "date" && !this.format) {
|
|
11821
|
-
|
|
11822
|
-
this.format = this.util.getDateMaskFromLocale().toLowerCase();
|
|
11844
|
+
this._setFormatFromLocale(this.util.getDateMaskFromLocale().toLowerCase());
|
|
11823
11845
|
this.util.updateFormat(this.format);
|
|
11824
11846
|
}
|
|
11825
11847
|
}
|
|
@@ -11848,7 +11870,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11848
11870
|
const creditCard = this.matchInputValueToCreditCard();
|
|
11849
11871
|
const previousFormat = this.format;
|
|
11850
11872
|
|
|
11851
|
-
this.
|
|
11873
|
+
this._setFormatFromLocale(creditCard.maskFormat);
|
|
11852
11874
|
|
|
11853
11875
|
this.maxLength = creditCard.formatLength;
|
|
11854
11876
|
this.minLength = creditCard.formatMinLength;
|
|
@@ -12322,7 +12344,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$2 {
|
|
|
12322
12344
|
}
|
|
12323
12345
|
};
|
|
12324
12346
|
|
|
12325
|
-
var formkitVersion$8 = '
|
|
12347
|
+
var formkitVersion$8 = '202607022131';
|
|
12326
12348
|
|
|
12327
12349
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12328
12350
|
// See LICENSE in the project root for license information.
|
|
@@ -24693,28 +24715,23 @@ var popoverVersion = '6.0.1';
|
|
|
24693
24715
|
* @returns {number|null} Local-midnight Unix timestamp (seconds), or null.
|
|
24694
24716
|
*/
|
|
24695
24717
|
function parseIsoToTimestamp(isoStr) {
|
|
24696
|
-
// Strict YYYY-MM-DD matcher with named groups. Rejects trailing garbage
|
|
24697
|
-
// ("2024x-01-01"), short segments ("2024-1-1"), and any non-digit
|
|
24698
|
-
// characters. `parseInt` alone accepted both because it stops at the
|
|
24699
|
-
// first non-digit and doesn't require a minimum length.
|
|
24700
|
-
const ISO_DATE_RE = /^(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})$/u;
|
|
24701
|
-
const MAX_MONTH = 12;
|
|
24702
|
-
const MAX_DAY = 31;
|
|
24703
|
-
|
|
24704
24718
|
if (typeof isoStr !== 'string') {
|
|
24705
24719
|
return null;
|
|
24706
24720
|
}
|
|
24707
|
-
const
|
|
24708
|
-
if (
|
|
24721
|
+
const parts = isoStr.split('-');
|
|
24722
|
+
if (parts.length !== 3) {
|
|
24723
|
+
return null;
|
|
24724
|
+
}
|
|
24725
|
+
const year = parseInt(parts[0], 10);
|
|
24726
|
+
const month = parseInt(parts[1], 10);
|
|
24727
|
+
const day = parseInt(parts[2], 10);
|
|
24728
|
+
if (!Number.isFinite(year) || !Number.isFinite(month) || !Number.isFinite(day)) {
|
|
24709
24729
|
return null;
|
|
24710
24730
|
}
|
|
24711
|
-
const year = Number(match.groups.year);
|
|
24712
|
-
const month = Number(match.groups.month);
|
|
24713
|
-
const day = Number(match.groups.day);
|
|
24714
24731
|
// Reject overflow values like "2024-13-40" — JS `new Date(year, month, day)`
|
|
24715
24732
|
// silently normalizes those to a different calendar day, which would
|
|
24716
24733
|
// disable the wrong date if we let the result through.
|
|
24717
|
-
if (month < 1 || month >
|
|
24734
|
+
if (month < 1 || month > 12 || day < 1 || day > 31) {
|
|
24718
24735
|
return null;
|
|
24719
24736
|
}
|
|
24720
24737
|
const date = new Date(year, month - 1, day);
|
|
@@ -25292,36 +25309,13 @@ class AuroCalendarCell extends i$2 {
|
|
|
25292
25309
|
}
|
|
25293
25310
|
|
|
25294
25311
|
firstUpdated() {
|
|
25295
|
-
this._initFromAncestors();
|
|
25296
|
-
}
|
|
25297
|
-
|
|
25298
|
-
/**
|
|
25299
|
-
* Wires the cell to its ancestor calendar-month and calendar (and, via
|
|
25300
|
-
* the calendar, to the datepicker). Extracted from firstUpdated() so the
|
|
25301
|
-
* retry loop can re-attempt without recursively invoking a Lit lifecycle
|
|
25302
|
-
* method (which is outside the framework's contract).
|
|
25303
|
-
* @private
|
|
25304
|
-
* @returns {void}
|
|
25305
|
-
*/
|
|
25306
|
-
_initFromAncestors() {
|
|
25307
25312
|
const calendarMonth = this.runtimeUtils.closestElement('auro-formkit-calendar-month', this);
|
|
25308
25313
|
const calendar = this.runtimeUtils.closestElement('auro-formkit-calendar', calendarMonth);
|
|
25309
25314
|
|
|
25310
25315
|
if (!calendar) {
|
|
25311
|
-
|
|
25312
|
-
// to attach — but cap attempts so a permanently detached cell doesn't
|
|
25313
|
-
// spin forever. 10 turns is far more than any observed race needs.
|
|
25314
|
-
this._firstUpdatedRetries = (this._firstUpdatedRetries || 0) + 1;
|
|
25315
|
-
if (this._firstUpdatedRetries > 10) {
|
|
25316
|
-
return;
|
|
25317
|
-
}
|
|
25318
|
-
this._firstUpdatedRetryTimer = setTimeout(() => {
|
|
25319
|
-
this._firstUpdatedRetryTimer = null;
|
|
25320
|
-
this._initFromAncestors();
|
|
25321
|
-
}, 0);
|
|
25316
|
+
setTimeout(() => this.firstUpdated(), 0);
|
|
25322
25317
|
return;
|
|
25323
25318
|
}
|
|
25324
|
-
this._firstUpdatedRetries = 0;
|
|
25325
25319
|
this.calendar = calendar;
|
|
25326
25320
|
this.datepicker = calendar.datepicker;
|
|
25327
25321
|
this._slotContentHandler = () => {
|
|
@@ -25349,10 +25343,6 @@ class AuroCalendarCell extends i$2 {
|
|
|
25349
25343
|
if (this.datepicker && this._slotContentHandler) {
|
|
25350
25344
|
this.datepicker.removeEventListener('auroDatePicker-newSlotContent', this._slotContentHandler);
|
|
25351
25345
|
}
|
|
25352
|
-
if (this._firstUpdatedRetryTimer) {
|
|
25353
|
-
clearTimeout(this._firstUpdatedRetryTimer);
|
|
25354
|
-
this._firstUpdatedRetryTimer = null;
|
|
25355
|
-
}
|
|
25356
25346
|
}
|
|
25357
25347
|
|
|
25358
25348
|
/**
|
|
@@ -26724,7 +26714,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$2 {
|
|
|
26724
26714
|
}
|
|
26725
26715
|
};
|
|
26726
26716
|
|
|
26727
|
-
var formkitVersion$2$1 = '
|
|
26717
|
+
var formkitVersion$2$1 = '202607022131';
|
|
26728
26718
|
|
|
26729
26719
|
let l$1$2 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=i$5`${s$5(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1$2 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$1$2 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$1$3=i$4`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
26730
26720
|
`,u$4$2=i$4`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
|
|
@@ -26863,10 +26853,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
26863
26853
|
* Support will be removed in a future major release.
|
|
26864
26854
|
* @private
|
|
26865
26855
|
*/
|
|
26866
|
-
|
|
26867
|
-
// empty array doesn't trigger the deprecation warning. Assignments from
|
|
26868
|
-
// consumers still route through the setter below.
|
|
26869
|
-
this._disabledDays = [];
|
|
26856
|
+
this.disabledDays = [];
|
|
26870
26857
|
|
|
26871
26858
|
/**
|
|
26872
26859
|
* @private
|
|
@@ -26899,44 +26886,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
26899
26886
|
this._calendarInstanceId = Date.now().toString(36);
|
|
26900
26887
|
}
|
|
26901
26888
|
|
|
26902
|
-
/**
|
|
26903
|
-
* @deprecated See constructor JSDoc — migrate to
|
|
26904
|
-
* `auro-datepicker.blackoutDates`. The getter/setter pair exists so the
|
|
26905
|
-
* one-time deprecation warning fires as soon as a consumer assigns a
|
|
26906
|
-
* non-empty array (empty assignments are ignored — an empty array is
|
|
26907
|
-
* indistinguishable from the constructor default and would produce a
|
|
26908
|
-
* spurious warning), rather than only when `_getBlackoutSet()` happens
|
|
26909
|
-
* to rebuild.
|
|
26910
|
-
* @returns {Array} The current legacy `disabledDays` array.
|
|
26911
|
-
*/
|
|
26912
|
-
get disabledDays() {
|
|
26913
|
-
return this._disabledDays;
|
|
26914
|
-
}
|
|
26915
|
-
|
|
26916
|
-
/**
|
|
26917
|
-
* @param {Array} value - The legacy `disabledDays` array to set.
|
|
26918
|
-
*/
|
|
26919
|
-
set disabledDays(value) {
|
|
26920
|
-
const oldValue = this._disabledDays;
|
|
26921
|
-
// Coerce non-arrays to `[]`. Consumers occasionally pass `null`
|
|
26922
|
-
// (Lit's Array attribute converter returns null for a missing/empty
|
|
26923
|
-
// attribute) or misuse the API; downstream code in
|
|
26924
|
-
// `auro-calendar-cell.isEnabled` calls `.findIndex()` on this value
|
|
26925
|
-
// without an Array.isArray guard, so a truthy non-array would throw
|
|
26926
|
-
// at render.
|
|
26927
|
-
const coerced = Array.isArray(value) ? value : [];
|
|
26928
|
-
if (coerced.length > 0) {
|
|
26929
|
-
this._warnDisabledDaysDeprecated();
|
|
26930
|
-
}
|
|
26931
|
-
this._disabledDays = coerced;
|
|
26932
|
-
// `disabledDays` is a Lit `@property({ type: Array })` on the
|
|
26933
|
-
// RangeDatepicker base class; Lit's generated setter (which we've
|
|
26934
|
-
// overridden here to insert the warning) is what normally invalidates
|
|
26935
|
-
// the reactive cycle. Re-invoke requestUpdate manually so consumer
|
|
26936
|
-
// assignments still re-render the calendar.
|
|
26937
|
-
this.requestUpdate('disabledDays', oldValue);
|
|
26938
|
-
}
|
|
26939
|
-
|
|
26940
26889
|
static get styles() {
|
|
26941
26890
|
return [
|
|
26942
26891
|
styleCss$7$1,
|
|
@@ -27482,19 +27431,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
27482
27431
|
/**
|
|
27483
27432
|
* Returns a memoized Set of blackout timestamps (seconds) drawn from both
|
|
27484
27433
|
* the legacy `disabledDays` array and the datepicker's ISO `blackoutDates`.
|
|
27485
|
-
*
|
|
27486
|
-
*
|
|
27487
|
-
* consumer reassigns the array (`el.blackoutDates = [...]`), matching
|
|
27488
|
-
* Lit's own reactivity semantics for array properties. In-place mutations
|
|
27489
|
-
* on the existing array (`push`, `splice`, index assignment) will NOT
|
|
27490
|
-
* invalidate the cache and the new entries will be silently ignored.
|
|
27491
|
-
* Consumers must reassign to update — see the JSDoc on
|
|
27492
|
-
* `auro-datepicker.blackoutDates` for the recommended pattern.
|
|
27493
|
-
*
|
|
27494
|
-
* A shallow-equality tier was considered but rejected: it would run
|
|
27495
|
-
* O(N) work on every cell render (this method is called per-cell via
|
|
27496
|
-
* `isBlackout()`) and still wouldn't catch same-length value swaps,
|
|
27497
|
-
* offering a false sense of safety.
|
|
27434
|
+
* The cache invalidates when either source array's reference changes, which
|
|
27435
|
+
* matches Lit's own reactive identity semantics for array properties.
|
|
27498
27436
|
* @private
|
|
27499
27437
|
* @returns {Set<Number>}
|
|
27500
27438
|
*/
|
|
@@ -27675,24 +27613,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
27675
27613
|
// rendered month(s) first so a single-month calendar does not pick a date
|
|
27676
27614
|
// that has no DOM cell. Determine the visible range based on centralDate and
|
|
27677
27615
|
// the number of rendered months.
|
|
27678
|
-
|
|
27679
|
-
// numCalendars is assigned inside renderAllCalendars(), which runs during
|
|
27680
|
-
// render() — so by the time the visible-change handler in updated()
|
|
27681
|
-
// calls computeActiveDate() in the same cycle, numCalendars is normally
|
|
27682
|
-
// set. Guard against the pre-first-render path anyway (e.g. any future
|
|
27683
|
-
// caller that reaches computeActiveDate before render() has run):
|
|
27684
|
-
// Math.max(undefined, 1) is NaN, which would silently skip the
|
|
27685
|
-
// visible-month scan below. Fall back to maximumRenderableMonths'
|
|
27686
|
-
// desktop default (1 for non-range, 2 for range) so the scan window is
|
|
27687
|
-
// correctly sized whenever numCalendars is not yet populated.
|
|
27688
|
-
let renderedMonths = null;
|
|
27689
|
-
|
|
27690
|
-
if (Number.isFinite(this.numCalendars) && this.numCalendars > 0) {
|
|
27691
|
-
renderedMonths = this.numCalendars;
|
|
27692
|
-
} else {
|
|
27693
|
-
renderedMonths = this.noRange ? 1 : 2;
|
|
27694
|
-
}
|
|
27695
|
-
|
|
27616
|
+
const renderedMonths = Math.max(this.numCalendars, 1);
|
|
27696
27617
|
const visibleAnchor = this.centralDateObject ?? new Date(now * 1000);
|
|
27697
27618
|
const visMonthStart = new Date(visibleAnchor.getFullYear(), visibleAnchor.getMonth(), 1);
|
|
27698
27619
|
visMonthStart.setHours(0, 0, 0, 0);
|
|
@@ -27962,8 +27883,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
27962
27883
|
let targetIndex = -1;
|
|
27963
27884
|
if (direction === 'next') {
|
|
27964
27885
|
targetIndex = currentIndex + 1;
|
|
27965
|
-
} else if (direction === 'prev') {
|
|
27966
|
-
targetIndex = currentIndex - 1;
|
|
27967
27886
|
}
|
|
27968
27887
|
|
|
27969
27888
|
if (targetIndex >= 0 && targetIndex < allCells.length) {
|
|
@@ -28568,10 +28487,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
28568
28487
|
* originally tried aria-live="polite" here, but VoiceOver treats
|
|
28569
28488
|
* polite as "wait until idle" — which never happens during active
|
|
28570
28489
|
* keyboard navigation — so the announcements were silently dropped.
|
|
28571
|
-
*
|
|
28572
|
-
* This is a documented deviation from WCAG 2.1 SC 4.1.3, which
|
|
28573
|
-
* prefers `polite` for status messages. See the "Documented
|
|
28574
|
-
* Deviation" section in components/datepicker/docs/pages/accessibility.md.
|
|
28575
28490
|
* @private
|
|
28576
28491
|
* @param {String} dateStr - The localized date string to announce.
|
|
28577
28492
|
* @returns {void}
|
|
@@ -32617,7 +32532,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$2 {
|
|
|
32617
32532
|
}
|
|
32618
32533
|
};
|
|
32619
32534
|
|
|
32620
|
-
var formkitVersion$1$3 = '
|
|
32535
|
+
var formkitVersion$1$3 = '202607022131';
|
|
32621
32536
|
|
|
32622
32537
|
let AuroElement$2$2 = class AuroElement extends i$2 {
|
|
32623
32538
|
static get properties() {
|
|
@@ -44625,14 +44540,16 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
44625
44540
|
this.label = 'Input label is undefined';
|
|
44626
44541
|
this.layout = 'classic';
|
|
44627
44542
|
this.locale = 'en-US';
|
|
44543
|
+
this._format = undefined;
|
|
44544
|
+
|
|
44545
|
+
/** @private */
|
|
44546
|
+
this._userSetFormat = false;
|
|
44628
44547
|
this.max = undefined;
|
|
44629
44548
|
this.maxLength = undefined;
|
|
44630
44549
|
this.min = undefined;
|
|
44631
44550
|
this.minLength = undefined;
|
|
44632
44551
|
this.noValidate = false;
|
|
44633
44552
|
this.onDark = false;
|
|
44634
|
-
// Raw values returned from the input mask before model normalization.
|
|
44635
|
-
this._rawMaskValue = undefined;
|
|
44636
44553
|
this.required = false;
|
|
44637
44554
|
this.setCustomValidityForType = undefined;
|
|
44638
44555
|
// Credit Card is intentionally excluded — its mask manages the cursor
|
|
@@ -44790,7 +44707,8 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
44790
44707
|
*/
|
|
44791
44708
|
format: {
|
|
44792
44709
|
type: String,
|
|
44793
|
-
reflect: true
|
|
44710
|
+
reflect: true,
|
|
44711
|
+
noAccessor: true
|
|
44794
44712
|
},
|
|
44795
44713
|
|
|
44796
44714
|
/**
|
|
@@ -45128,6 +45046,34 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45128
45046
|
return this.max && dateFormatter$2.isValidDate(this.max) ? dateFormatter$2.stringToDateInstance(this.max) : undefined;
|
|
45129
45047
|
}
|
|
45130
45048
|
|
|
45049
|
+
get format() {
|
|
45050
|
+
return this._format;
|
|
45051
|
+
}
|
|
45052
|
+
|
|
45053
|
+
/**
|
|
45054
|
+
* Overrides LitElement's generated accessor so we can track whether the
|
|
45055
|
+
* consumer explicitly set `format`. Locale-derived updates use
|
|
45056
|
+
* `_setFormatFromLocale` instead, which skips this flag.
|
|
45057
|
+
*/
|
|
45058
|
+
set format(value) {
|
|
45059
|
+
const oldValue = this._format;
|
|
45060
|
+
this._format = value;
|
|
45061
|
+
this._userSetFormat = true;
|
|
45062
|
+
this.requestUpdate('format', oldValue);
|
|
45063
|
+
}
|
|
45064
|
+
|
|
45065
|
+
/**
|
|
45066
|
+
* Sets format without marking it as user-set. Used by locale auto-derive
|
|
45067
|
+
* so that a subsequent locale change can still update the format.
|
|
45068
|
+
* @private
|
|
45069
|
+
* @param {string} value
|
|
45070
|
+
*/
|
|
45071
|
+
_setFormatFromLocale(value) {
|
|
45072
|
+
const oldValue = this._format;
|
|
45073
|
+
this._format = value;
|
|
45074
|
+
this.requestUpdate('format', oldValue);
|
|
45075
|
+
}
|
|
45076
|
+
|
|
45131
45077
|
connectedCallback() {
|
|
45132
45078
|
super.connectedCallback();
|
|
45133
45079
|
|
|
@@ -45181,7 +45127,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45181
45127
|
// format silently misses the map and leaves `setCustomValidityForType`
|
|
45182
45128
|
// unset.
|
|
45183
45129
|
if (this.format) {
|
|
45184
|
-
this.
|
|
45130
|
+
this._setFormatFromLocale(this.format.toLowerCase());
|
|
45185
45131
|
}
|
|
45186
45132
|
|
|
45187
45133
|
// use validity message override if declared when initializing the component
|
|
@@ -45290,12 +45236,10 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45290
45236
|
updated(changedProperties) {
|
|
45291
45237
|
super.updated(changedProperties);
|
|
45292
45238
|
|
|
45293
|
-
// When locale changes
|
|
45294
|
-
// Only runs if the current format is still the previous locale's default (not user-overridden).
|
|
45239
|
+
// When locale changes, auto-derive format unless the consumer explicitly set one.
|
|
45295
45240
|
if (changedProperties.has('locale') && !changedProperties.has('format') && this.type === 'date') {
|
|
45296
|
-
|
|
45297
|
-
|
|
45298
|
-
this.format = getDateFormatFromLocale$2(this.locale);
|
|
45241
|
+
if (!this._userSetFormat) {
|
|
45242
|
+
this._setFormatFromLocale(getDateFormatFromLocale$2(this.locale));
|
|
45299
45243
|
}
|
|
45300
45244
|
}
|
|
45301
45245
|
|
|
@@ -45466,9 +45410,6 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45466
45410
|
this.maskInstance.on('accept', () => {
|
|
45467
45411
|
if (this._configuringMask) return;
|
|
45468
45412
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
45469
|
-
if (this.type === "date") {
|
|
45470
|
-
this._rawMaskValue = this.maskInstance.value;
|
|
45471
|
-
}
|
|
45472
45413
|
});
|
|
45473
45414
|
|
|
45474
45415
|
// Mask fires 'complete' on the restore step below for any value that
|
|
@@ -45476,9 +45417,6 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45476
45417
|
this.maskInstance.on('complete', () => {
|
|
45477
45418
|
if (this._configuringMask) return;
|
|
45478
45419
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
45479
|
-
if (this.type === "date") {
|
|
45480
|
-
this._rawMaskValue = this.maskInstance.value;
|
|
45481
|
-
}
|
|
45482
45420
|
});
|
|
45483
45421
|
|
|
45484
45422
|
// Write existingValue through the mask (not the input directly) so
|
|
@@ -45715,8 +45653,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45715
45653
|
|
|
45716
45654
|
// Set default date format if type=date and no format is defined
|
|
45717
45655
|
if (this.type === "date" && !this.format) {
|
|
45718
|
-
|
|
45719
|
-
this.format = this.util.getDateMaskFromLocale().toLowerCase();
|
|
45656
|
+
this._setFormatFromLocale(this.util.getDateMaskFromLocale().toLowerCase());
|
|
45720
45657
|
this.util.updateFormat(this.format);
|
|
45721
45658
|
}
|
|
45722
45659
|
}
|
|
@@ -45745,7 +45682,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45745
45682
|
const creditCard = this.matchInputValueToCreditCard();
|
|
45746
45683
|
const previousFormat = this.format;
|
|
45747
45684
|
|
|
45748
|
-
this.
|
|
45685
|
+
this._setFormatFromLocale(creditCard.maskFormat);
|
|
45749
45686
|
|
|
45750
45687
|
this.maxLength = creditCard.formatLength;
|
|
45751
45688
|
this.minLength = creditCard.formatMinLength;
|
|
@@ -46219,7 +46156,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$2 {
|
|
|
46219
46156
|
}
|
|
46220
46157
|
};
|
|
46221
46158
|
|
|
46222
|
-
var formkitVersion$7 = '
|
|
46159
|
+
var formkitVersion$7 = '202607022131';
|
|
46223
46160
|
|
|
46224
46161
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
46225
46162
|
// See LICENSE in the project root for license information.
|
|
@@ -47596,15 +47533,6 @@ const datepickerKeyboardStrategy = {
|
|
|
47596
47533
|
evt.stopPropagation();
|
|
47597
47534
|
evt.preventDefault();
|
|
47598
47535
|
|
|
47599
|
-
// Signal to the visibility-change handler in auro-datepicker.js that
|
|
47600
|
-
// focus should be restored to the trigger regardless of hasFocus.
|
|
47601
|
-
// hidePopover() (desktop non-modal path) does not auto-restore focus,
|
|
47602
|
-
// and hiding the grid's popover ancestor drops focus to <body>. That
|
|
47603
|
-
// synchronously fires focusout on the datepicker host — clearing
|
|
47604
|
-
// hasFocus — before updated() runs, which would otherwise skip the
|
|
47605
|
-
// input refocus. Native <dialog>.close() (modal path) restores focus
|
|
47606
|
-
// itself, but the flag is harmless there.
|
|
47607
|
-
component._restoreFocusOnClose = true;
|
|
47608
47536
|
component.hideBib();
|
|
47609
47537
|
},
|
|
47610
47538
|
|
|
@@ -47878,14 +47806,6 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
47878
47806
|
|
|
47879
47807
|
/**
|
|
47880
47808
|
* Array of dates that cannot be selected. Dates should be in ISO format (YYYY-MM-DD).
|
|
47881
|
-
*
|
|
47882
|
-
* **Immutable update required.** The datepicker treats this array as
|
|
47883
|
-
* immutable and memoizes a lookup Set keyed on the array's reference
|
|
47884
|
-
* identity — matching Lit's own reactivity semantics for array
|
|
47885
|
-
* properties. In-place mutations (`blackoutDates.push(...)`,
|
|
47886
|
-
* `blackoutDates[i] = ...`, `blackoutDates.splice(...)`) will not
|
|
47887
|
-
* invalidate the cache and the new entries will be silently ignored.
|
|
47888
|
-
* To update, reassign the property: `el.blackoutDates = [...el.blackoutDates, '2024-12-25']`.
|
|
47889
47809
|
*/
|
|
47890
47810
|
blackoutDates: {
|
|
47891
47811
|
type: Array,
|
|
@@ -48771,13 +48691,12 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
48771
48691
|
this.calendar.activeCellDate = null;
|
|
48772
48692
|
|
|
48773
48693
|
// Show the month containing the selected date (or today) instead of
|
|
48774
|
-
// whichever month the user last navigated to.
|
|
48775
|
-
// updateCentralDate so centralDate stays first-of-month.
|
|
48694
|
+
// whichever month the user last navigated to.
|
|
48776
48695
|
// Respect consumer-provided centralDate/calendarStartDate if no value is set.
|
|
48777
48696
|
if (this.valueObject) {
|
|
48778
|
-
this.
|
|
48697
|
+
this.centralDate = this.value;
|
|
48779
48698
|
} else if (!this.centralDate && !this.calendarStartDate && !this.minDate) {
|
|
48780
|
-
this.
|
|
48699
|
+
this.centralDate = dateFormatter$1.toISOFormatString(new Date());
|
|
48781
48700
|
}
|
|
48782
48701
|
}
|
|
48783
48702
|
|
|
@@ -48835,15 +48754,8 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
48835
48754
|
// Always clear the inert flag. Only restore focus to the input when the datepicker
|
|
48836
48755
|
// still has focus (e.g. Escape, date selected) — not when the user tabbed away,
|
|
48837
48756
|
// which would pull them back and require extra Tab presses to escape.
|
|
48838
|
-
//
|
|
48839
|
-
// `_restoreFocusOnClose` is set by the Escape handler in
|
|
48840
|
-
// datepickerKeyboardStrategy.js to force restore even when hasFocus
|
|
48841
|
-
// has already been cleared — hidePopover() (desktop non-modal path)
|
|
48842
|
-
// can drop focus to <body> before this update fires.
|
|
48843
48757
|
this.dropdown.trigger.inert = false;
|
|
48844
|
-
|
|
48845
|
-
this._restoreFocusOnClose = false;
|
|
48846
|
-
if (shouldRestoreFocus) {
|
|
48758
|
+
if (this.hasFocus) {
|
|
48847
48759
|
requestAnimationFrame(() => {
|
|
48848
48760
|
if (!this.dropdown.isPopoverVisible) {
|
|
48849
48761
|
this.inputList[0].focus();
|
|
@@ -49289,18 +49201,6 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
49289
49201
|
this.calendar.requestUpdate();
|
|
49290
49202
|
this.dispatchEvent(new CustomEvent('auroDatePicker-newSlotContent'));
|
|
49291
49203
|
}
|
|
49292
|
-
|
|
49293
|
-
// Range invariant: if a value change (from click or programmatic) has
|
|
49294
|
-
// moved start past end, clear valueEnd here so both properties land in
|
|
49295
|
-
// the SAME reactive cycle. Doing it in updated() would schedule a
|
|
49296
|
-
// second cycle after cellClickActive/wasCellClick has already been
|
|
49297
|
-
// consumed by the value branch, leaving the valueEnd branch to run
|
|
49298
|
-
// with a stale handshake and racing with any intervening programmatic
|
|
49299
|
-
// value assignments.
|
|
49300
|
-
if ((changedProperties.has('value') || changedProperties.has('valueEnd')) &&
|
|
49301
|
-
this.valueObject && this.valueEndObject && this.valueObject > this.valueEndObject) {
|
|
49302
|
-
this.valueEnd = undefined;
|
|
49303
|
-
}
|
|
49304
49204
|
}
|
|
49305
49205
|
|
|
49306
49206
|
updated(changedProperties) {
|
|
@@ -49368,12 +49268,8 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
49368
49268
|
|
|
49369
49269
|
if (this.value && this.value.length === this.inputList[0].lengthForType && !(this.wasCellClick && this.range)) {
|
|
49370
49270
|
// Skip centralDate update when user clicked a cell in range mode
|
|
49371
|
-
// to prevent the displayed months from shifting
|
|
49372
|
-
|
|
49373
|
-
// assignment of the raw value briefly holds a mid-month string
|
|
49374
|
-
// and violates the invariant that observers (e.g. calendar sync)
|
|
49375
|
-
// rely on.
|
|
49376
|
-
this.calendarRenderUtil.updateCentralDate(this, this.value);
|
|
49271
|
+
// to prevent the displayed months from shifting
|
|
49272
|
+
this.centralDate = this.value;
|
|
49377
49273
|
}
|
|
49378
49274
|
|
|
49379
49275
|
this.setHasValue();
|
|
@@ -49431,10 +49327,8 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
49431
49327
|
|
|
49432
49328
|
if (this.valueEnd && this.valueEnd.length === this.inputList[1].lengthForType && !this.wasCellClick) {
|
|
49433
49329
|
// Skip centralDate update when user clicked a cell in range mode
|
|
49434
|
-
// to prevent the displayed months from shifting
|
|
49435
|
-
|
|
49436
|
-
// (see matching comment in the value branch above).
|
|
49437
|
-
this.calendarRenderUtil.updateCentralDate(this, this.valueEnd);
|
|
49330
|
+
// to prevent the displayed months from shifting
|
|
49331
|
+
this.centralDate = this.valueEnd;
|
|
49438
49332
|
}
|
|
49439
49333
|
|
|
49440
49334
|
this.validate();
|
|
@@ -49458,6 +49352,10 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
49458
49352
|
this.validation.validate(lastInput, true);
|
|
49459
49353
|
}
|
|
49460
49354
|
|
|
49355
|
+
if (this.valueObject && this.valueEndObject && this.valueObject > this.valueEndObject) {
|
|
49356
|
+
this.valueEnd = undefined;
|
|
49357
|
+
}
|
|
49358
|
+
|
|
49461
49359
|
// This resets the datepicker when the minDate is set to a new value that is
|
|
49462
49360
|
// a later date than the current value date
|
|
49463
49361
|
if (changedProperties.has('minDate') && this.minDate) {
|
|
@@ -51140,7 +51038,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$2 {
|
|
|
51140
51038
|
}
|
|
51141
51039
|
};
|
|
51142
51040
|
|
|
51143
|
-
var formkitVersion$1$2 = '
|
|
51041
|
+
var formkitVersion$1$2 = '202607022131';
|
|
51144
51042
|
|
|
51145
51043
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
51146
51044
|
// See LICENSE in the project root for license information.
|
|
@@ -55468,7 +55366,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$2 {
|
|
|
55468
55366
|
}
|
|
55469
55367
|
};
|
|
55470
55368
|
|
|
55471
|
-
var formkitVersion$6 = '
|
|
55369
|
+
var formkitVersion$6 = '202607022131';
|
|
55472
55370
|
|
|
55473
55371
|
let AuroElement$1$2 = class AuroElement extends i$2 {
|
|
55474
55372
|
static get properties() {
|
|
@@ -59448,7 +59346,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$2 {
|
|
|
59448
59346
|
}
|
|
59449
59347
|
};
|
|
59450
59348
|
|
|
59451
|
-
var formkitVersion$5 = '
|
|
59349
|
+
var formkitVersion$5 = '202607022131';
|
|
59452
59350
|
|
|
59453
59351
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
59454
59352
|
// See LICENSE in the project root for license information.
|
|
@@ -61213,7 +61111,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$2 {
|
|
|
61213
61111
|
}
|
|
61214
61112
|
};
|
|
61215
61113
|
|
|
61216
|
-
var formkitVersion$4 = '
|
|
61114
|
+
var formkitVersion$4 = '202607022131';
|
|
61217
61115
|
|
|
61218
61116
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
61219
61117
|
// See LICENSE in the project root for license information.
|
|
@@ -66434,7 +66332,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$2 {
|
|
|
66434
66332
|
}
|
|
66435
66333
|
};
|
|
66436
66334
|
|
|
66437
|
-
var formkitVersion$2 = '
|
|
66335
|
+
var formkitVersion$2 = '202607022131';
|
|
66438
66336
|
|
|
66439
66337
|
let AuroElement$2$1 = class AuroElement extends i$2 {
|
|
66440
66338
|
static get properties() {
|
|
@@ -78442,14 +78340,16 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78442
78340
|
this.label = 'Input label is undefined';
|
|
78443
78341
|
this.layout = 'classic';
|
|
78444
78342
|
this.locale = 'en-US';
|
|
78343
|
+
this._format = undefined;
|
|
78344
|
+
|
|
78345
|
+
/** @private */
|
|
78346
|
+
this._userSetFormat = false;
|
|
78445
78347
|
this.max = undefined;
|
|
78446
78348
|
this.maxLength = undefined;
|
|
78447
78349
|
this.min = undefined;
|
|
78448
78350
|
this.minLength = undefined;
|
|
78449
78351
|
this.noValidate = false;
|
|
78450
78352
|
this.onDark = false;
|
|
78451
|
-
// Raw values returned from the input mask before model normalization.
|
|
78452
|
-
this._rawMaskValue = undefined;
|
|
78453
78353
|
this.required = false;
|
|
78454
78354
|
this.setCustomValidityForType = undefined;
|
|
78455
78355
|
// Credit Card is intentionally excluded — its mask manages the cursor
|
|
@@ -78607,7 +78507,8 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78607
78507
|
*/
|
|
78608
78508
|
format: {
|
|
78609
78509
|
type: String,
|
|
78610
|
-
reflect: true
|
|
78510
|
+
reflect: true,
|
|
78511
|
+
noAccessor: true
|
|
78611
78512
|
},
|
|
78612
78513
|
|
|
78613
78514
|
/**
|
|
@@ -78945,6 +78846,34 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78945
78846
|
return this.max && dateFormatter.isValidDate(this.max) ? dateFormatter.stringToDateInstance(this.max) : undefined;
|
|
78946
78847
|
}
|
|
78947
78848
|
|
|
78849
|
+
get format() {
|
|
78850
|
+
return this._format;
|
|
78851
|
+
}
|
|
78852
|
+
|
|
78853
|
+
/**
|
|
78854
|
+
* Overrides LitElement's generated accessor so we can track whether the
|
|
78855
|
+
* consumer explicitly set `format`. Locale-derived updates use
|
|
78856
|
+
* `_setFormatFromLocale` instead, which skips this flag.
|
|
78857
|
+
*/
|
|
78858
|
+
set format(value) {
|
|
78859
|
+
const oldValue = this._format;
|
|
78860
|
+
this._format = value;
|
|
78861
|
+
this._userSetFormat = true;
|
|
78862
|
+
this.requestUpdate('format', oldValue);
|
|
78863
|
+
}
|
|
78864
|
+
|
|
78865
|
+
/**
|
|
78866
|
+
* Sets format without marking it as user-set. Used by locale auto-derive
|
|
78867
|
+
* so that a subsequent locale change can still update the format.
|
|
78868
|
+
* @private
|
|
78869
|
+
* @param {string} value
|
|
78870
|
+
*/
|
|
78871
|
+
_setFormatFromLocale(value) {
|
|
78872
|
+
const oldValue = this._format;
|
|
78873
|
+
this._format = value;
|
|
78874
|
+
this.requestUpdate('format', oldValue);
|
|
78875
|
+
}
|
|
78876
|
+
|
|
78948
78877
|
connectedCallback() {
|
|
78949
78878
|
super.connectedCallback();
|
|
78950
78879
|
|
|
@@ -78998,7 +78927,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78998
78927
|
// format silently misses the map and leaves `setCustomValidityForType`
|
|
78999
78928
|
// unset.
|
|
79000
78929
|
if (this.format) {
|
|
79001
|
-
this.
|
|
78930
|
+
this._setFormatFromLocale(this.format.toLowerCase());
|
|
79002
78931
|
}
|
|
79003
78932
|
|
|
79004
78933
|
// use validity message override if declared when initializing the component
|
|
@@ -79107,12 +79036,10 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79107
79036
|
updated(changedProperties) {
|
|
79108
79037
|
super.updated(changedProperties);
|
|
79109
79038
|
|
|
79110
|
-
// When locale changes
|
|
79111
|
-
// Only runs if the current format is still the previous locale's default (not user-overridden).
|
|
79039
|
+
// When locale changes, auto-derive format unless the consumer explicitly set one.
|
|
79112
79040
|
if (changedProperties.has('locale') && !changedProperties.has('format') && this.type === 'date') {
|
|
79113
|
-
|
|
79114
|
-
|
|
79115
|
-
this.format = getDateFormatFromLocale(this.locale);
|
|
79041
|
+
if (!this._userSetFormat) {
|
|
79042
|
+
this._setFormatFromLocale(getDateFormatFromLocale(this.locale));
|
|
79116
79043
|
}
|
|
79117
79044
|
}
|
|
79118
79045
|
|
|
@@ -79283,9 +79210,6 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79283
79210
|
this.maskInstance.on('accept', () => {
|
|
79284
79211
|
if (this._configuringMask) return;
|
|
79285
79212
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
79286
|
-
if (this.type === "date") {
|
|
79287
|
-
this._rawMaskValue = this.maskInstance.value;
|
|
79288
|
-
}
|
|
79289
79213
|
});
|
|
79290
79214
|
|
|
79291
79215
|
// Mask fires 'complete' on the restore step below for any value that
|
|
@@ -79293,9 +79217,6 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79293
79217
|
this.maskInstance.on('complete', () => {
|
|
79294
79218
|
if (this._configuringMask) return;
|
|
79295
79219
|
this.value = this.util.toModelValue(this.maskInstance.value, this.format);
|
|
79296
|
-
if (this.type === "date") {
|
|
79297
|
-
this._rawMaskValue = this.maskInstance.value;
|
|
79298
|
-
}
|
|
79299
79220
|
});
|
|
79300
79221
|
|
|
79301
79222
|
// Write existingValue through the mask (not the input directly) so
|
|
@@ -79532,8 +79453,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79532
79453
|
|
|
79533
79454
|
// Set default date format if type=date and no format is defined
|
|
79534
79455
|
if (this.type === "date" && !this.format) {
|
|
79535
|
-
|
|
79536
|
-
this.format = this.util.getDateMaskFromLocale().toLowerCase();
|
|
79456
|
+
this._setFormatFromLocale(this.util.getDateMaskFromLocale().toLowerCase());
|
|
79537
79457
|
this.util.updateFormat(this.format);
|
|
79538
79458
|
}
|
|
79539
79459
|
}
|
|
@@ -79562,7 +79482,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
79562
79482
|
const creditCard = this.matchInputValueToCreditCard();
|
|
79563
79483
|
const previousFormat = this.format;
|
|
79564
79484
|
|
|
79565
|
-
this.
|
|
79485
|
+
this._setFormatFromLocale(creditCard.maskFormat);
|
|
79566
79486
|
|
|
79567
79487
|
this.maxLength = creditCard.formatLength;
|
|
79568
79488
|
this.minLength = creditCard.formatMinLength;
|
|
@@ -80036,7 +79956,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$2 {
|
|
|
80036
79956
|
}
|
|
80037
79957
|
};
|
|
80038
79958
|
|
|
80039
|
-
var formkitVersion$1$1 = '
|
|
79959
|
+
var formkitVersion$1$1 = '202607022131';
|
|
80040
79960
|
|
|
80041
79961
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
80042
79962
|
// See LICENSE in the project root for license information.
|
|
@@ -81162,7 +81082,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$2 {
|
|
|
81162
81082
|
}
|
|
81163
81083
|
};
|
|
81164
81084
|
|
|
81165
|
-
var formkitVersion$3 = '
|
|
81085
|
+
var formkitVersion$3 = '202607022131';
|
|
81166
81086
|
|
|
81167
81087
|
var styleCss$1$3 = i$4`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
81168
81088
|
|
|
@@ -89998,7 +89918,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
89998
89918
|
}
|
|
89999
89919
|
};
|
|
90000
89920
|
|
|
90001
|
-
var formkitVersion$1 = '
|
|
89921
|
+
var formkitVersion$1 = '202607022131';
|
|
90002
89922
|
|
|
90003
89923
|
class AuroElement extends i$2 {
|
|
90004
89924
|
static get properties() {
|
|
@@ -92037,7 +91957,7 @@ class AuroHelpText extends i$2 {
|
|
|
92037
91957
|
}
|
|
92038
91958
|
}
|
|
92039
91959
|
|
|
92040
|
-
var formkitVersion = '
|
|
91960
|
+
var formkitVersion = '202607022131';
|
|
92041
91961
|
|
|
92042
91962
|
var styleCss = i$4`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer [slot=displayValue]{display:none}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) .value{height:auto}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
|
|
92043
91963
|
|