@aurodesignsystem-dev/auro-formkit 0.0.0-pr1519.1 → 0.0.0-pr1520.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 +2 -15
- package/components/checkbox/demo/getting-started.min.js +2 -15
- package/components/checkbox/demo/index.min.js +2 -15
- package/components/checkbox/dist/index.js +2 -15
- package/components/checkbox/dist/registered.js +2 -15
- package/components/combobox/demo/customize.min.js +10 -105
- package/components/combobox/demo/getting-started.min.js +10 -105
- package/components/combobox/demo/index.min.js +10 -105
- package/components/combobox/dist/index.js +10 -105
- package/components/combobox/dist/registered.js +10 -105
- package/components/counter/demo/customize.min.js +3 -33
- package/components/counter/demo/index.min.js +3 -33
- package/components/counter/dist/index.js +3 -33
- package/components/counter/dist/registered.js +3 -33
- package/components/datepicker/demo/customize.min.js +13 -153
- package/components/datepicker/demo/index.min.js +13 -153
- package/components/datepicker/dist/index.js +13 -153
- package/components/datepicker/dist/registered.js +13 -153
- package/components/dropdown/demo/customize.min.js +1 -18
- package/components/dropdown/demo/getting-started.min.js +1 -18
- package/components/dropdown/demo/index.min.js +1 -18
- package/components/dropdown/dist/index.js +1 -18
- package/components/dropdown/dist/registered.js +1 -18
- package/components/form/demo/customize.min.js +40 -426
- package/components/form/demo/getting-started.min.js +40 -426
- package/components/form/demo/index.min.js +40 -426
- package/components/form/demo/registerDemoDeps.min.js +40 -426
- package/components/input/demo/api.md +57 -58
- package/components/input/demo/customize.min.js +7 -72
- package/components/input/demo/getting-started.min.js +7 -72
- package/components/input/demo/index.min.js +7 -72
- package/components/input/dist/base-input.d.ts +3 -9
- package/components/input/dist/index.js +7 -72
- package/components/input/dist/registered.js +7 -72
- package/components/input/dist/utilities.d.ts +0 -9
- package/components/radio/demo/customize.min.js +2 -15
- package/components/radio/demo/getting-started.min.js +2 -15
- package/components/radio/demo/index.min.js +2 -15
- package/components/radio/dist/index.js +2 -15
- package/components/radio/dist/registered.js +2 -15
- package/components/select/demo/customize.min.js +3 -33
- package/components/select/demo/getting-started.min.js +3 -33
- package/components/select/demo/index.min.js +3 -33
- package/components/select/dist/index.js +3 -33
- package/components/select/dist/registered.js +3 -33
- package/custom-elements.json +8 -78
- package/package.json +1 -1
|
@@ -4414,21 +4414,8 @@ let AuroFormValidation$7 = class AuroFormValidation {
|
|
|
4414
4414
|
return;
|
|
4415
4415
|
}
|
|
4416
4416
|
|
|
4417
|
-
// Validate that the date passed was the correct format and is a valid date
|
|
4418
|
-
// For partial date formats, valueObject is never populated; validate them directly.
|
|
4417
|
+
// Validate that the date passed was the correct format and is a valid date
|
|
4419
4418
|
if (elem.value && !elem.valueObject) {
|
|
4420
|
-
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
4421
|
-
|
|
4422
|
-
if (isPartialDateFormat) {
|
|
4423
|
-
if (!elem.util.isValidPartialDate(elem.value, elem.format)) {
|
|
4424
|
-
elem.validity = 'patternMismatch';
|
|
4425
|
-
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
4426
|
-
}
|
|
4427
|
-
// Partial date format — validate directly and skip max/min checks since valueObject is undefined.
|
|
4428
|
-
return;
|
|
4429
|
-
}
|
|
4430
|
-
|
|
4431
|
-
// Full date format with no valueObject means the value is not a valid calendar date.
|
|
4432
4419
|
elem.validity = 'patternMismatch';
|
|
4433
4420
|
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
4434
4421
|
return;
|
|
@@ -10358,11 +10345,10 @@ let AuroInputUtilities$3 = class AuroInputUtilities {
|
|
|
10358
10345
|
const dateFormat = format$1 || this.overrideFormat || pattern || 'mm/dd/yyyy';
|
|
10359
10346
|
|
|
10360
10347
|
if (dateFormat === 'dd' || dateFormat === 'yy' || dateFormat === 'yyyy') {
|
|
10361
|
-
const
|
|
10362
|
-
const maxValue = dateFormat === 'dd' ? 31 : (dateFormat === 'yy' ? 99 : 2100);
|
|
10348
|
+
const maxValue = dateFormat === 'dd' ? 31 : (dateFormat === 'yy' ? 99 : 9999);
|
|
10363
10349
|
return {
|
|
10364
10350
|
mask: IMask$3.MaskedRange,
|
|
10365
|
-
from:
|
|
10351
|
+
from: 1,
|
|
10366
10352
|
to: maxValue,
|
|
10367
10353
|
lazy: true,
|
|
10368
10354
|
placeholderChar: '',
|
|
@@ -10370,8 +10356,7 @@ let AuroInputUtilities$3 = class AuroInputUtilities {
|
|
|
10370
10356
|
return value.toString().padStart(dateFormat.length, '0');
|
|
10371
10357
|
},
|
|
10372
10358
|
parse(str) {
|
|
10373
|
-
|
|
10374
|
-
return isNaN(num) ? null : num;
|
|
10359
|
+
return parseInt(str) || null;
|
|
10375
10360
|
}
|
|
10376
10361
|
};
|
|
10377
10362
|
}
|
|
@@ -10435,49 +10420,6 @@ let AuroInputUtilities$3 = class AuroInputUtilities {
|
|
|
10435
10420
|
return type === 'date' && normalizedFormat.includes('yy') && normalizedFormat.includes('mm') && normalizedFormat.includes('dd');
|
|
10436
10421
|
}
|
|
10437
10422
|
|
|
10438
|
-
/**
|
|
10439
|
-
* Validates a value against a partial date format (one that lacks yy/mm/dd all three).
|
|
10440
|
-
* Day- and year-only formats (dd/yy/yyyy) are checked as integer ranges; other partial formats use
|
|
10441
|
-
* a date-fns parse + round-trip to confirm both validity and exact formatting.
|
|
10442
|
-
* @param {string} value - The user-facing display value.
|
|
10443
|
-
* @param {string} format - The partial date format string (e.g. "mm/yyyy", "yyyy", "dd").
|
|
10444
|
-
* @returns {boolean}
|
|
10445
|
-
*/
|
|
10446
|
-
isValidPartialDate(value, format$1) {
|
|
10447
|
-
if (!value || !format$1) {
|
|
10448
|
-
return false;
|
|
10449
|
-
}
|
|
10450
|
-
const normalizedFormat = format$1.toLowerCase();
|
|
10451
|
-
|
|
10452
|
-
if (normalizedFormat === 'dd') {
|
|
10453
|
-
const num = Number(value);
|
|
10454
|
-
return (/^\d{2}$/u).test(value) && num >= 1 && num <= 31;
|
|
10455
|
-
}
|
|
10456
|
-
if (normalizedFormat === 'yy') {
|
|
10457
|
-
const num = Number(value);
|
|
10458
|
-
return (/^\d{2}$/u).test(value) && num >= 0 && num <= 99;
|
|
10459
|
-
}
|
|
10460
|
-
if (normalizedFormat === 'yyyy') {
|
|
10461
|
-
const num = Number(value);
|
|
10462
|
-
return (/^\d{4}$/u).test(value) && num >= 1900 && num <= 2100;
|
|
10463
|
-
}
|
|
10464
|
-
|
|
10465
|
-
const dateFnsMask = this.toDateFnsMask(normalizedFormat);
|
|
10466
|
-
// Use the 1st of the current month as the reference so that formats
|
|
10467
|
-
// omitting a day (e.g. MM/yyyy) never roll over on days 29–31.
|
|
10468
|
-
const referenceDate = new Date();
|
|
10469
|
-
referenceDate.setDate(1);
|
|
10470
|
-
const parsed = parse$3(value, dateFnsMask, referenceDate);
|
|
10471
|
-
if (!isValid$3(parsed) || format$3(parsed, dateFnsMask) !== value) {
|
|
10472
|
-
return false;
|
|
10473
|
-
}
|
|
10474
|
-
if (normalizedFormat.includes('yyyy')) {
|
|
10475
|
-
const year = parsed.getFullYear();
|
|
10476
|
-
return year >= 1900 && year <= 2100;
|
|
10477
|
-
}
|
|
10478
|
-
return true;
|
|
10479
|
-
}
|
|
10480
|
-
|
|
10481
10423
|
/**
|
|
10482
10424
|
* Converts a display string to its model value.
|
|
10483
10425
|
* For full date formats, converts the display string to an ISO date string.
|
|
@@ -11097,13 +11039,6 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11097
11039
|
type: String
|
|
11098
11040
|
},
|
|
11099
11041
|
|
|
11100
|
-
/**
|
|
11101
|
-
* Custom help text message to display when validity = `patternMismatch`.
|
|
11102
|
-
*/
|
|
11103
|
-
setCustomValidityPatternMismatch: {
|
|
11104
|
-
type: String
|
|
11105
|
-
},
|
|
11106
|
-
|
|
11107
11042
|
/**
|
|
11108
11043
|
* Custom help text message to display when validity = `rangeOverflow`.
|
|
11109
11044
|
*/
|
|
@@ -11174,7 +11109,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11174
11109
|
|
|
11175
11110
|
/**
|
|
11176
11111
|
* Populates the `type` attribute on the input.
|
|
11177
|
-
* @type {'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'
|
|
11112
|
+
* @type {'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'}
|
|
11178
11113
|
* @default 'text'
|
|
11179
11114
|
*/
|
|
11180
11115
|
type: {
|
|
@@ -11199,7 +11134,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
11199
11134
|
|
|
11200
11135
|
/**
|
|
11201
11136
|
* Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
11202
|
-
*
|
|
11137
|
+
* The format for this property should be ISO for `date` type inputs.
|
|
11203
11138
|
*/
|
|
11204
11139
|
value: {
|
|
11205
11140
|
type: String
|
|
@@ -12322,7 +12257,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$2 {
|
|
|
12322
12257
|
}
|
|
12323
12258
|
};
|
|
12324
12259
|
|
|
12325
|
-
var formkitVersion$8 = '
|
|
12260
|
+
var formkitVersion$8 = '202607011727';
|
|
12326
12261
|
|
|
12327
12262
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12328
12263
|
// See LICENSE in the project root for license information.
|
|
@@ -13597,21 +13532,8 @@ let AuroFormValidation$1$1 = class AuroFormValidation {
|
|
|
13597
13532
|
return;
|
|
13598
13533
|
}
|
|
13599
13534
|
|
|
13600
|
-
// Validate that the date passed was the correct format and is a valid date
|
|
13601
|
-
// For partial date formats, valueObject is never populated; validate them directly.
|
|
13535
|
+
// Validate that the date passed was the correct format and is a valid date
|
|
13602
13536
|
if (elem.value && !elem.valueObject) {
|
|
13603
|
-
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
13604
|
-
|
|
13605
|
-
if (isPartialDateFormat) {
|
|
13606
|
-
if (!elem.util.isValidPartialDate(elem.value, elem.format)) {
|
|
13607
|
-
elem.validity = 'patternMismatch';
|
|
13608
|
-
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
13609
|
-
}
|
|
13610
|
-
// Partial date format — validate directly and skip max/min checks since valueObject is undefined.
|
|
13611
|
-
return;
|
|
13612
|
-
}
|
|
13613
|
-
|
|
13614
|
-
// Full date format with no valueObject means the value is not a valid calendar date.
|
|
13615
13537
|
elem.validity = 'patternMismatch';
|
|
13616
13538
|
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
13617
13539
|
return;
|
|
@@ -23464,11 +23386,10 @@ let AuroInputUtilities$1 = class AuroInputUtilities {
|
|
|
23464
23386
|
const dateFormat = format || this.overrideFormat || pattern || 'mm/dd/yyyy';
|
|
23465
23387
|
|
|
23466
23388
|
if (dateFormat === 'dd' || dateFormat === 'yy' || dateFormat === 'yyyy') {
|
|
23467
|
-
const
|
|
23468
|
-
const maxValue = dateFormat === 'dd' ? 31 : (dateFormat === 'yy' ? 99 : 2100);
|
|
23389
|
+
const maxValue = dateFormat === 'dd' ? 31 : (dateFormat === 'yy' ? 99 : 9999);
|
|
23469
23390
|
return {
|
|
23470
23391
|
mask: IMask$1.MaskedRange,
|
|
23471
|
-
from:
|
|
23392
|
+
from: 1,
|
|
23472
23393
|
to: maxValue,
|
|
23473
23394
|
lazy: true,
|
|
23474
23395
|
placeholderChar: '',
|
|
@@ -23476,8 +23397,7 @@ let AuroInputUtilities$1 = class AuroInputUtilities {
|
|
|
23476
23397
|
return value.toString().padStart(dateFormat.length, '0');
|
|
23477
23398
|
},
|
|
23478
23399
|
parse(str) {
|
|
23479
|
-
|
|
23480
|
-
return isNaN(num) ? null : num;
|
|
23400
|
+
return parseInt(str) || null;
|
|
23481
23401
|
}
|
|
23482
23402
|
};
|
|
23483
23403
|
}
|
|
@@ -23541,49 +23461,6 @@ let AuroInputUtilities$1 = class AuroInputUtilities {
|
|
|
23541
23461
|
return type === 'date' && normalizedFormat.includes('yy') && normalizedFormat.includes('mm') && normalizedFormat.includes('dd');
|
|
23542
23462
|
}
|
|
23543
23463
|
|
|
23544
|
-
/**
|
|
23545
|
-
* Validates a value against a partial date format (one that lacks yy/mm/dd all three).
|
|
23546
|
-
* Day- and year-only formats (dd/yy/yyyy) are checked as integer ranges; other partial formats use
|
|
23547
|
-
* a date-fns parse + round-trip to confirm both validity and exact formatting.
|
|
23548
|
-
* @param {string} value - The user-facing display value.
|
|
23549
|
-
* @param {string} format - The partial date format string (e.g. "mm/yyyy", "yyyy", "dd").
|
|
23550
|
-
* @returns {boolean}
|
|
23551
|
-
*/
|
|
23552
|
-
isValidPartialDate(value, format) {
|
|
23553
|
-
if (!value || !format) {
|
|
23554
|
-
return false;
|
|
23555
|
-
}
|
|
23556
|
-
const normalizedFormat = format.toLowerCase();
|
|
23557
|
-
|
|
23558
|
-
if (normalizedFormat === 'dd') {
|
|
23559
|
-
const num = Number(value);
|
|
23560
|
-
return (/^\d{2}$/u).test(value) && num >= 1 && num <= 31;
|
|
23561
|
-
}
|
|
23562
|
-
if (normalizedFormat === 'yy') {
|
|
23563
|
-
const num = Number(value);
|
|
23564
|
-
return (/^\d{2}$/u).test(value) && num >= 0 && num <= 99;
|
|
23565
|
-
}
|
|
23566
|
-
if (normalizedFormat === 'yyyy') {
|
|
23567
|
-
const num = Number(value);
|
|
23568
|
-
return (/^\d{4}$/u).test(value) && num >= 1900 && num <= 2100;
|
|
23569
|
-
}
|
|
23570
|
-
|
|
23571
|
-
const dateFnsMask = this.toDateFnsMask(normalizedFormat);
|
|
23572
|
-
// Use the 1st of the current month as the reference so that formats
|
|
23573
|
-
// omitting a day (e.g. MM/yyyy) never roll over on days 29–31.
|
|
23574
|
-
const referenceDate = new Date();
|
|
23575
|
-
referenceDate.setDate(1);
|
|
23576
|
-
const parsed = parse$1(value, dateFnsMask, referenceDate);
|
|
23577
|
-
if (!isValid$1(parsed) || format$1(parsed, dateFnsMask) !== value) {
|
|
23578
|
-
return false;
|
|
23579
|
-
}
|
|
23580
|
-
if (normalizedFormat.includes('yyyy')) {
|
|
23581
|
-
const year = parsed.getFullYear();
|
|
23582
|
-
return year >= 1900 && year <= 2100;
|
|
23583
|
-
}
|
|
23584
|
-
return true;
|
|
23585
|
-
}
|
|
23586
|
-
|
|
23587
23464
|
/**
|
|
23588
23465
|
* Converts a display string to its model value.
|
|
23589
23466
|
* For full date formats, converts the display string to an ISO date string.
|
|
@@ -26657,7 +26534,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$2 {
|
|
|
26657
26534
|
}
|
|
26658
26535
|
};
|
|
26659
26536
|
|
|
26660
|
-
var formkitVersion$2$1 = '
|
|
26537
|
+
var formkitVersion$2$1 = '202607011727';
|
|
26661
26538
|
|
|
26662
26539
|
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}
|
|
26663
26540
|
`,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}}
|
|
@@ -32409,7 +32286,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$2 {
|
|
|
32409
32286
|
}
|
|
32410
32287
|
};
|
|
32411
32288
|
|
|
32412
|
-
var formkitVersion$1$3 = '
|
|
32289
|
+
var formkitVersion$1$3 = '202607011727';
|
|
32413
32290
|
|
|
32414
32291
|
let AuroElement$2$2 = class AuroElement extends i$2 {
|
|
32415
32292
|
static get properties() {
|
|
@@ -33161,23 +33038,6 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
33161
33038
|
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
|
|
33162
33039
|
this.trigger.focus();
|
|
33163
33040
|
}
|
|
33164
|
-
|
|
33165
|
-
|
|
33166
|
-
if (!this.isPopoverVisible) {
|
|
33167
|
-
// wait til the bib gets fully closed and rendered
|
|
33168
|
-
setTimeout(() => {
|
|
33169
|
-
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
33170
|
-
// Restore focus to trigger when focus is still inside the bib (:focus-within) or fell to body.
|
|
33171
|
-
if (this.isPopoverVisible ||
|
|
33172
|
-
// eslint-disable-next-line no-extra-parens
|
|
33173
|
-
(!this.bibContent?.matches(':focus-within') &&
|
|
33174
|
-
document.activeElement !== document.body)) {
|
|
33175
|
-
return;
|
|
33176
|
-
}
|
|
33177
|
-
// Restore focus to the trigger.
|
|
33178
|
-
this.trigger.focus();
|
|
33179
|
-
});
|
|
33180
|
-
}
|
|
33181
33041
|
}
|
|
33182
33042
|
|
|
33183
33043
|
firstUpdated() {
|
|
@@ -38103,21 +37963,8 @@ let AuroFormValidation$6 = class AuroFormValidation {
|
|
|
38103
37963
|
return;
|
|
38104
37964
|
}
|
|
38105
37965
|
|
|
38106
|
-
// Validate that the date passed was the correct format and is a valid date
|
|
38107
|
-
// For partial date formats, valueObject is never populated; validate them directly.
|
|
37966
|
+
// Validate that the date passed was the correct format and is a valid date
|
|
38108
37967
|
if (elem.value && !elem.valueObject) {
|
|
38109
|
-
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
38110
|
-
|
|
38111
|
-
if (isPartialDateFormat) {
|
|
38112
|
-
if (!elem.util.isValidPartialDate(elem.value, elem.format)) {
|
|
38113
|
-
elem.validity = 'patternMismatch';
|
|
38114
|
-
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
38115
|
-
}
|
|
38116
|
-
// Partial date format — validate directly and skip max/min checks since valueObject is undefined.
|
|
38117
|
-
return;
|
|
38118
|
-
}
|
|
38119
|
-
|
|
38120
|
-
// Full date format with no valueObject means the value is not a valid calendar date.
|
|
38121
37968
|
elem.validity = 'patternMismatch';
|
|
38122
37969
|
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
38123
37970
|
return;
|
|
@@ -44047,11 +43894,10 @@ let AuroInputUtilities$2 = class AuroInputUtilities {
|
|
|
44047
43894
|
const dateFormat = format$1 || this.overrideFormat || pattern || 'mm/dd/yyyy';
|
|
44048
43895
|
|
|
44049
43896
|
if (dateFormat === 'dd' || dateFormat === 'yy' || dateFormat === 'yyyy') {
|
|
44050
|
-
const
|
|
44051
|
-
const maxValue = dateFormat === 'dd' ? 31 : (dateFormat === 'yy' ? 99 : 2100);
|
|
43897
|
+
const maxValue = dateFormat === 'dd' ? 31 : (dateFormat === 'yy' ? 99 : 9999);
|
|
44052
43898
|
return {
|
|
44053
43899
|
mask: IMask$2.MaskedRange,
|
|
44054
|
-
from:
|
|
43900
|
+
from: 1,
|
|
44055
43901
|
to: maxValue,
|
|
44056
43902
|
lazy: true,
|
|
44057
43903
|
placeholderChar: '',
|
|
@@ -44059,8 +43905,7 @@ let AuroInputUtilities$2 = class AuroInputUtilities {
|
|
|
44059
43905
|
return value.toString().padStart(dateFormat.length, '0');
|
|
44060
43906
|
},
|
|
44061
43907
|
parse(str) {
|
|
44062
|
-
|
|
44063
|
-
return isNaN(num) ? null : num;
|
|
43908
|
+
return parseInt(str) || null;
|
|
44064
43909
|
}
|
|
44065
43910
|
};
|
|
44066
43911
|
}
|
|
@@ -44124,49 +43969,6 @@ let AuroInputUtilities$2 = class AuroInputUtilities {
|
|
|
44124
43969
|
return type === 'date' && normalizedFormat.includes('yy') && normalizedFormat.includes('mm') && normalizedFormat.includes('dd');
|
|
44125
43970
|
}
|
|
44126
43971
|
|
|
44127
|
-
/**
|
|
44128
|
-
* Validates a value against a partial date format (one that lacks yy/mm/dd all three).
|
|
44129
|
-
* Day- and year-only formats (dd/yy/yyyy) are checked as integer ranges; other partial formats use
|
|
44130
|
-
* a date-fns parse + round-trip to confirm both validity and exact formatting.
|
|
44131
|
-
* @param {string} value - The user-facing display value.
|
|
44132
|
-
* @param {string} format - The partial date format string (e.g. "mm/yyyy", "yyyy", "dd").
|
|
44133
|
-
* @returns {boolean}
|
|
44134
|
-
*/
|
|
44135
|
-
isValidPartialDate(value, format$1) {
|
|
44136
|
-
if (!value || !format$1) {
|
|
44137
|
-
return false;
|
|
44138
|
-
}
|
|
44139
|
-
const normalizedFormat = format$1.toLowerCase();
|
|
44140
|
-
|
|
44141
|
-
if (normalizedFormat === 'dd') {
|
|
44142
|
-
const num = Number(value);
|
|
44143
|
-
return (/^\d{2}$/u).test(value) && num >= 1 && num <= 31;
|
|
44144
|
-
}
|
|
44145
|
-
if (normalizedFormat === 'yy') {
|
|
44146
|
-
const num = Number(value);
|
|
44147
|
-
return (/^\d{2}$/u).test(value) && num >= 0 && num <= 99;
|
|
44148
|
-
}
|
|
44149
|
-
if (normalizedFormat === 'yyyy') {
|
|
44150
|
-
const num = Number(value);
|
|
44151
|
-
return (/^\d{4}$/u).test(value) && num >= 1900 && num <= 2100;
|
|
44152
|
-
}
|
|
44153
|
-
|
|
44154
|
-
const dateFnsMask = this.toDateFnsMask(normalizedFormat);
|
|
44155
|
-
// Use the 1st of the current month as the reference so that formats
|
|
44156
|
-
// omitting a day (e.g. MM/yyyy) never roll over on days 29–31.
|
|
44157
|
-
const referenceDate = new Date();
|
|
44158
|
-
referenceDate.setDate(1);
|
|
44159
|
-
const parsed = parse$2(value, dateFnsMask, referenceDate);
|
|
44160
|
-
if (!isValid$2(parsed) || format$2(parsed, dateFnsMask) !== value) {
|
|
44161
|
-
return false;
|
|
44162
|
-
}
|
|
44163
|
-
if (normalizedFormat.includes('yyyy')) {
|
|
44164
|
-
const year = parsed.getFullYear();
|
|
44165
|
-
return year >= 1900 && year <= 2100;
|
|
44166
|
-
}
|
|
44167
|
-
return true;
|
|
44168
|
-
}
|
|
44169
|
-
|
|
44170
43972
|
/**
|
|
44171
43973
|
* Converts a display string to its model value.
|
|
44172
43974
|
* For full date formats, converts the display string to an ISO date string.
|
|
@@ -44786,13 +44588,6 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
44786
44588
|
type: String
|
|
44787
44589
|
},
|
|
44788
44590
|
|
|
44789
|
-
/**
|
|
44790
|
-
* Custom help text message to display when validity = `patternMismatch`.
|
|
44791
|
-
*/
|
|
44792
|
-
setCustomValidityPatternMismatch: {
|
|
44793
|
-
type: String
|
|
44794
|
-
},
|
|
44795
|
-
|
|
44796
44591
|
/**
|
|
44797
44592
|
* Custom help text message to display when validity = `rangeOverflow`.
|
|
44798
44593
|
*/
|
|
@@ -44863,7 +44658,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
44863
44658
|
|
|
44864
44659
|
/**
|
|
44865
44660
|
* Populates the `type` attribute on the input.
|
|
44866
|
-
* @type {'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'
|
|
44661
|
+
* @type {'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'}
|
|
44867
44662
|
* @default 'text'
|
|
44868
44663
|
*/
|
|
44869
44664
|
type: {
|
|
@@ -44888,7 +44683,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
44888
44683
|
|
|
44889
44684
|
/**
|
|
44890
44685
|
* Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
44891
|
-
*
|
|
44686
|
+
* The format for this property should be ISO for `date` type inputs.
|
|
44892
44687
|
*/
|
|
44893
44688
|
value: {
|
|
44894
44689
|
type: String
|
|
@@ -46011,7 +45806,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$2 {
|
|
|
46011
45806
|
}
|
|
46012
45807
|
};
|
|
46013
45808
|
|
|
46014
|
-
var formkitVersion$7 = '
|
|
45809
|
+
var formkitVersion$7 = '202607011727';
|
|
46015
45810
|
|
|
46016
45811
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
46017
45812
|
// See LICENSE in the project root for license information.
|
|
@@ -50307,21 +50102,8 @@ let AuroFormValidation$5 = class AuroFormValidation {
|
|
|
50307
50102
|
return;
|
|
50308
50103
|
}
|
|
50309
50104
|
|
|
50310
|
-
// Validate that the date passed was the correct format and is a valid date
|
|
50311
|
-
// For partial date formats, valueObject is never populated; validate them directly.
|
|
50105
|
+
// Validate that the date passed was the correct format and is a valid date
|
|
50312
50106
|
if (elem.value && !elem.valueObject) {
|
|
50313
|
-
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
50314
|
-
|
|
50315
|
-
if (isPartialDateFormat) {
|
|
50316
|
-
if (!elem.util.isValidPartialDate(elem.value, elem.format)) {
|
|
50317
|
-
elem.validity = 'patternMismatch';
|
|
50318
|
-
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
50319
|
-
}
|
|
50320
|
-
// Partial date format — validate directly and skip max/min checks since valueObject is undefined.
|
|
50321
|
-
return;
|
|
50322
|
-
}
|
|
50323
|
-
|
|
50324
|
-
// Full date format with no valueObject means the value is not a valid calendar date.
|
|
50325
50107
|
elem.validity = 'patternMismatch';
|
|
50326
50108
|
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
50327
50109
|
return;
|
|
@@ -50893,7 +50675,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$2 {
|
|
|
50893
50675
|
}
|
|
50894
50676
|
};
|
|
50895
50677
|
|
|
50896
|
-
var formkitVersion$1$2 = '
|
|
50678
|
+
var formkitVersion$1$2 = '202607011727';
|
|
50897
50679
|
|
|
50898
50680
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
50899
50681
|
// See LICENSE in the project root for license information.
|
|
@@ -55221,7 +55003,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$2 {
|
|
|
55221
55003
|
}
|
|
55222
55004
|
};
|
|
55223
55005
|
|
|
55224
|
-
var formkitVersion$6 = '
|
|
55006
|
+
var formkitVersion$6 = '202607011727';
|
|
55225
55007
|
|
|
55226
55008
|
let AuroElement$1$2 = class AuroElement extends i$2 {
|
|
55227
55009
|
static get properties() {
|
|
@@ -55973,23 +55755,6 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
55973
55755
|
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
|
|
55974
55756
|
this.trigger.focus();
|
|
55975
55757
|
}
|
|
55976
|
-
|
|
55977
|
-
|
|
55978
|
-
if (!this.isPopoverVisible) {
|
|
55979
|
-
// wait til the bib gets fully closed and rendered
|
|
55980
|
-
setTimeout(() => {
|
|
55981
|
-
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
55982
|
-
// Restore focus to trigger when focus is still inside the bib (:focus-within) or fell to body.
|
|
55983
|
-
if (this.isPopoverVisible ||
|
|
55984
|
-
// eslint-disable-next-line no-extra-parens
|
|
55985
|
-
(!this.bibContent?.matches(':focus-within') &&
|
|
55986
|
-
document.activeElement !== document.body)) {
|
|
55987
|
-
return;
|
|
55988
|
-
}
|
|
55989
|
-
// Restore focus to the trigger.
|
|
55990
|
-
this.trigger.focus();
|
|
55991
|
-
});
|
|
55992
|
-
}
|
|
55993
55758
|
}
|
|
55994
55759
|
|
|
55995
55760
|
firstUpdated() {
|
|
@@ -58689,21 +58454,8 @@ let AuroFormValidation$4 = class AuroFormValidation {
|
|
|
58689
58454
|
return;
|
|
58690
58455
|
}
|
|
58691
58456
|
|
|
58692
|
-
// Validate that the date passed was the correct format and is a valid date
|
|
58693
|
-
// For partial date formats, valueObject is never populated; validate them directly.
|
|
58457
|
+
// Validate that the date passed was the correct format and is a valid date
|
|
58694
58458
|
if (elem.value && !elem.valueObject) {
|
|
58695
|
-
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
58696
|
-
|
|
58697
|
-
if (isPartialDateFormat) {
|
|
58698
|
-
if (!elem.util.isValidPartialDate(elem.value, elem.format)) {
|
|
58699
|
-
elem.validity = 'patternMismatch';
|
|
58700
|
-
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
58701
|
-
}
|
|
58702
|
-
// Partial date format — validate directly and skip max/min checks since valueObject is undefined.
|
|
58703
|
-
return;
|
|
58704
|
-
}
|
|
58705
|
-
|
|
58706
|
-
// Full date format with no valueObject means the value is not a valid calendar date.
|
|
58707
58459
|
elem.validity = 'patternMismatch';
|
|
58708
58460
|
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
58709
58461
|
return;
|
|
@@ -59201,7 +58953,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$2 {
|
|
|
59201
58953
|
}
|
|
59202
58954
|
};
|
|
59203
58955
|
|
|
59204
|
-
var formkitVersion$5 = '
|
|
58956
|
+
var formkitVersion$5 = '202607011727';
|
|
59205
58957
|
|
|
59206
58958
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
59207
58959
|
// See LICENSE in the project root for license information.
|
|
@@ -60450,21 +60202,8 @@ let AuroFormValidation$3 = class AuroFormValidation {
|
|
|
60450
60202
|
return;
|
|
60451
60203
|
}
|
|
60452
60204
|
|
|
60453
|
-
// Validate that the date passed was the correct format and is a valid date
|
|
60454
|
-
// For partial date formats, valueObject is never populated; validate them directly.
|
|
60205
|
+
// Validate that the date passed was the correct format and is a valid date
|
|
60455
60206
|
if (elem.value && !elem.valueObject) {
|
|
60456
|
-
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
60457
|
-
|
|
60458
|
-
if (isPartialDateFormat) {
|
|
60459
|
-
if (!elem.util.isValidPartialDate(elem.value, elem.format)) {
|
|
60460
|
-
elem.validity = 'patternMismatch';
|
|
60461
|
-
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
60462
|
-
}
|
|
60463
|
-
// Partial date format — validate directly and skip max/min checks since valueObject is undefined.
|
|
60464
|
-
return;
|
|
60465
|
-
}
|
|
60466
|
-
|
|
60467
|
-
// Full date format with no valueObject means the value is not a valid calendar date.
|
|
60468
60207
|
elem.validity = 'patternMismatch';
|
|
60469
60208
|
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
60470
60209
|
return;
|
|
@@ -60966,7 +60705,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$2 {
|
|
|
60966
60705
|
}
|
|
60967
60706
|
};
|
|
60968
60707
|
|
|
60969
|
-
var formkitVersion$4 = '
|
|
60708
|
+
var formkitVersion$4 = '202607011727';
|
|
60970
60709
|
|
|
60971
60710
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
60972
60711
|
// See LICENSE in the project root for license information.
|
|
@@ -61725,21 +61464,8 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
61725
61464
|
return;
|
|
61726
61465
|
}
|
|
61727
61466
|
|
|
61728
|
-
// Validate that the date passed was the correct format and is a valid date
|
|
61729
|
-
// For partial date formats, valueObject is never populated; validate them directly.
|
|
61467
|
+
// Validate that the date passed was the correct format and is a valid date
|
|
61730
61468
|
if (elem.value && !elem.valueObject) {
|
|
61731
|
-
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
61732
|
-
|
|
61733
|
-
if (isPartialDateFormat) {
|
|
61734
|
-
if (!elem.util.isValidPartialDate(elem.value, elem.format)) {
|
|
61735
|
-
elem.validity = 'patternMismatch';
|
|
61736
|
-
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
61737
|
-
}
|
|
61738
|
-
// Partial date format — validate directly and skip max/min checks since valueObject is undefined.
|
|
61739
|
-
return;
|
|
61740
|
-
}
|
|
61741
|
-
|
|
61742
|
-
// Full date format with no valueObject means the value is not a valid calendar date.
|
|
61743
61469
|
elem.validity = 'patternMismatch';
|
|
61744
61470
|
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
61745
61471
|
return;
|
|
@@ -66187,7 +65913,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$2 {
|
|
|
66187
65913
|
}
|
|
66188
65914
|
};
|
|
66189
65915
|
|
|
66190
|
-
var formkitVersion$2 = '
|
|
65916
|
+
var formkitVersion$2 = '202607011727';
|
|
66191
65917
|
|
|
66192
65918
|
let AuroElement$2$1 = class AuroElement extends i$2 {
|
|
66193
65919
|
static get properties() {
|
|
@@ -66939,23 +66665,6 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
66939
66665
|
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
|
|
66940
66666
|
this.trigger.focus();
|
|
66941
66667
|
}
|
|
66942
|
-
|
|
66943
|
-
|
|
66944
|
-
if (!this.isPopoverVisible) {
|
|
66945
|
-
// wait til the bib gets fully closed and rendered
|
|
66946
|
-
setTimeout(() => {
|
|
66947
|
-
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
66948
|
-
// Restore focus to trigger when focus is still inside the bib (:focus-within) or fell to body.
|
|
66949
|
-
if (this.isPopoverVisible ||
|
|
66950
|
-
// eslint-disable-next-line no-extra-parens
|
|
66951
|
-
(!this.bibContent?.matches(':focus-within') &&
|
|
66952
|
-
document.activeElement !== document.body)) {
|
|
66953
|
-
return;
|
|
66954
|
-
}
|
|
66955
|
-
// Restore focus to the trigger.
|
|
66956
|
-
this.trigger.focus();
|
|
66957
|
-
});
|
|
66958
|
-
}
|
|
66959
66668
|
}
|
|
66960
66669
|
|
|
66961
66670
|
firstUpdated() {
|
|
@@ -71881,21 +71590,8 @@ let AuroFormValidation$2 = class AuroFormValidation {
|
|
|
71881
71590
|
return;
|
|
71882
71591
|
}
|
|
71883
71592
|
|
|
71884
|
-
// Validate that the date passed was the correct format and is a valid date
|
|
71885
|
-
// For partial date formats, valueObject is never populated; validate them directly.
|
|
71593
|
+
// Validate that the date passed was the correct format and is a valid date
|
|
71886
71594
|
if (elem.value && !elem.valueObject) {
|
|
71887
|
-
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
71888
|
-
|
|
71889
|
-
if (isPartialDateFormat) {
|
|
71890
|
-
if (!elem.util.isValidPartialDate(elem.value, elem.format)) {
|
|
71891
|
-
elem.validity = 'patternMismatch';
|
|
71892
|
-
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
71893
|
-
}
|
|
71894
|
-
// Partial date format — validate directly and skip max/min checks since valueObject is undefined.
|
|
71895
|
-
return;
|
|
71896
|
-
}
|
|
71897
|
-
|
|
71898
|
-
// Full date format with no valueObject means the value is not a valid calendar date.
|
|
71899
71595
|
elem.validity = 'patternMismatch';
|
|
71900
71596
|
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
71901
71597
|
return;
|
|
@@ -77825,11 +77521,10 @@ class AuroInputUtilities {
|
|
|
77825
77521
|
const dateFormat = format$1 || this.overrideFormat || pattern || 'mm/dd/yyyy';
|
|
77826
77522
|
|
|
77827
77523
|
if (dateFormat === 'dd' || dateFormat === 'yy' || dateFormat === 'yyyy') {
|
|
77828
|
-
const
|
|
77829
|
-
const maxValue = dateFormat === 'dd' ? 31 : (dateFormat === 'yy' ? 99 : 2100);
|
|
77524
|
+
const maxValue = dateFormat === 'dd' ? 31 : (dateFormat === 'yy' ? 99 : 9999);
|
|
77830
77525
|
return {
|
|
77831
77526
|
mask: IMask.MaskedRange,
|
|
77832
|
-
from:
|
|
77527
|
+
from: 1,
|
|
77833
77528
|
to: maxValue,
|
|
77834
77529
|
lazy: true,
|
|
77835
77530
|
placeholderChar: '',
|
|
@@ -77837,8 +77532,7 @@ class AuroInputUtilities {
|
|
|
77837
77532
|
return value.toString().padStart(dateFormat.length, '0');
|
|
77838
77533
|
},
|
|
77839
77534
|
parse(str) {
|
|
77840
|
-
|
|
77841
|
-
return isNaN(num) ? null : num;
|
|
77535
|
+
return parseInt(str) || null;
|
|
77842
77536
|
}
|
|
77843
77537
|
};
|
|
77844
77538
|
}
|
|
@@ -77902,49 +77596,6 @@ class AuroInputUtilities {
|
|
|
77902
77596
|
return type === 'date' && normalizedFormat.includes('yy') && normalizedFormat.includes('mm') && normalizedFormat.includes('dd');
|
|
77903
77597
|
}
|
|
77904
77598
|
|
|
77905
|
-
/**
|
|
77906
|
-
* Validates a value against a partial date format (one that lacks yy/mm/dd all three).
|
|
77907
|
-
* Day- and year-only formats (dd/yy/yyyy) are checked as integer ranges; other partial formats use
|
|
77908
|
-
* a date-fns parse + round-trip to confirm both validity and exact formatting.
|
|
77909
|
-
* @param {string} value - The user-facing display value.
|
|
77910
|
-
* @param {string} format - The partial date format string (e.g. "mm/yyyy", "yyyy", "dd").
|
|
77911
|
-
* @returns {boolean}
|
|
77912
|
-
*/
|
|
77913
|
-
isValidPartialDate(value, format$1) {
|
|
77914
|
-
if (!value || !format$1) {
|
|
77915
|
-
return false;
|
|
77916
|
-
}
|
|
77917
|
-
const normalizedFormat = format$1.toLowerCase();
|
|
77918
|
-
|
|
77919
|
-
if (normalizedFormat === 'dd') {
|
|
77920
|
-
const num = Number(value);
|
|
77921
|
-
return (/^\d{2}$/u).test(value) && num >= 1 && num <= 31;
|
|
77922
|
-
}
|
|
77923
|
-
if (normalizedFormat === 'yy') {
|
|
77924
|
-
const num = Number(value);
|
|
77925
|
-
return (/^\d{2}$/u).test(value) && num >= 0 && num <= 99;
|
|
77926
|
-
}
|
|
77927
|
-
if (normalizedFormat === 'yyyy') {
|
|
77928
|
-
const num = Number(value);
|
|
77929
|
-
return (/^\d{4}$/u).test(value) && num >= 1900 && num <= 2100;
|
|
77930
|
-
}
|
|
77931
|
-
|
|
77932
|
-
const dateFnsMask = this.toDateFnsMask(normalizedFormat);
|
|
77933
|
-
// Use the 1st of the current month as the reference so that formats
|
|
77934
|
-
// omitting a day (e.g. MM/yyyy) never roll over on days 29–31.
|
|
77935
|
-
const referenceDate = new Date();
|
|
77936
|
-
referenceDate.setDate(1);
|
|
77937
|
-
const parsed = parse(value, dateFnsMask, referenceDate);
|
|
77938
|
-
if (!isValid(parsed) || format(parsed, dateFnsMask) !== value) {
|
|
77939
|
-
return false;
|
|
77940
|
-
}
|
|
77941
|
-
if (normalizedFormat.includes('yyyy')) {
|
|
77942
|
-
const year = parsed.getFullYear();
|
|
77943
|
-
return year >= 1900 && year <= 2100;
|
|
77944
|
-
}
|
|
77945
|
-
return true;
|
|
77946
|
-
}
|
|
77947
|
-
|
|
77948
77599
|
/**
|
|
77949
77600
|
* Converts a display string to its model value.
|
|
77950
77601
|
* For full date formats, converts the display string to an ISO date string.
|
|
@@ -78564,13 +78215,6 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78564
78215
|
type: String
|
|
78565
78216
|
},
|
|
78566
78217
|
|
|
78567
|
-
/**
|
|
78568
|
-
* Custom help text message to display when validity = `patternMismatch`.
|
|
78569
|
-
*/
|
|
78570
|
-
setCustomValidityPatternMismatch: {
|
|
78571
|
-
type: String
|
|
78572
|
-
},
|
|
78573
|
-
|
|
78574
78218
|
/**
|
|
78575
78219
|
* Custom help text message to display when validity = `rangeOverflow`.
|
|
78576
78220
|
*/
|
|
@@ -78641,7 +78285,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78641
78285
|
|
|
78642
78286
|
/**
|
|
78643
78287
|
* Populates the `type` attribute on the input.
|
|
78644
|
-
* @type {'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'
|
|
78288
|
+
* @type {'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'}
|
|
78645
78289
|
* @default 'text'
|
|
78646
78290
|
*/
|
|
78647
78291
|
type: {
|
|
@@ -78666,7 +78310,7 @@ class BaseInput extends AuroElement$1$1 {
|
|
|
78666
78310
|
|
|
78667
78311
|
/**
|
|
78668
78312
|
* Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
78669
|
-
*
|
|
78313
|
+
* The format for this property should be ISO for `date` type inputs.
|
|
78670
78314
|
*/
|
|
78671
78315
|
value: {
|
|
78672
78316
|
type: String
|
|
@@ -79789,7 +79433,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$2 {
|
|
|
79789
79433
|
}
|
|
79790
79434
|
};
|
|
79791
79435
|
|
|
79792
|
-
var formkitVersion$1$1 = '
|
|
79436
|
+
var formkitVersion$1$1 = '202607011727';
|
|
79793
79437
|
|
|
79794
79438
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
79795
79439
|
// See LICENSE in the project root for license information.
|
|
@@ -80915,7 +80559,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$2 {
|
|
|
80915
80559
|
}
|
|
80916
80560
|
};
|
|
80917
80561
|
|
|
80918
|
-
var formkitVersion$3 = '
|
|
80562
|
+
var formkitVersion$3 = '202607011727';
|
|
80919
80563
|
|
|
80920
80564
|
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}`;
|
|
80921
80565
|
|
|
@@ -85249,21 +84893,8 @@ class AuroFormValidation {
|
|
|
85249
84893
|
return;
|
|
85250
84894
|
}
|
|
85251
84895
|
|
|
85252
|
-
// Validate that the date passed was the correct format and is a valid date
|
|
85253
|
-
// For partial date formats, valueObject is never populated; validate them directly.
|
|
84896
|
+
// Validate that the date passed was the correct format and is a valid date
|
|
85254
84897
|
if (elem.value && !elem.valueObject) {
|
|
85255
|
-
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
85256
|
-
|
|
85257
|
-
if (isPartialDateFormat) {
|
|
85258
|
-
if (!elem.util.isValidPartialDate(elem.value, elem.format)) {
|
|
85259
|
-
elem.validity = 'patternMismatch';
|
|
85260
|
-
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
85261
|
-
}
|
|
85262
|
-
// Partial date format — validate directly and skip max/min checks since valueObject is undefined.
|
|
85263
|
-
return;
|
|
85264
|
-
}
|
|
85265
|
-
|
|
85266
|
-
// Full date format with no valueObject means the value is not a valid calendar date.
|
|
85267
84898
|
elem.validity = 'patternMismatch';
|
|
85268
84899
|
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
85269
84900
|
return;
|
|
@@ -89751,7 +89382,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
89751
89382
|
}
|
|
89752
89383
|
};
|
|
89753
89384
|
|
|
89754
|
-
var formkitVersion$1 = '
|
|
89385
|
+
var formkitVersion$1 = '202607011727';
|
|
89755
89386
|
|
|
89756
89387
|
class AuroElement extends i$2 {
|
|
89757
89388
|
static get properties() {
|
|
@@ -90503,23 +90134,6 @@ class AuroDropdown extends AuroElement {
|
|
|
90503
90134
|
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
|
|
90504
90135
|
this.trigger.focus();
|
|
90505
90136
|
}
|
|
90506
|
-
|
|
90507
|
-
|
|
90508
|
-
if (!this.isPopoverVisible) {
|
|
90509
|
-
// wait til the bib gets fully closed and rendered
|
|
90510
|
-
setTimeout(() => {
|
|
90511
|
-
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
90512
|
-
// Restore focus to trigger when focus is still inside the bib (:focus-within) or fell to body.
|
|
90513
|
-
if (this.isPopoverVisible ||
|
|
90514
|
-
// eslint-disable-next-line no-extra-parens
|
|
90515
|
-
(!this.bibContent?.matches(':focus-within') &&
|
|
90516
|
-
document.activeElement !== document.body)) {
|
|
90517
|
-
return;
|
|
90518
|
-
}
|
|
90519
|
-
// Restore focus to the trigger.
|
|
90520
|
-
this.trigger.focus();
|
|
90521
|
-
});
|
|
90522
|
-
}
|
|
90523
90137
|
}
|
|
90524
90138
|
|
|
90525
90139
|
firstUpdated() {
|
|
@@ -91790,7 +91404,7 @@ class AuroHelpText extends i$2 {
|
|
|
91790
91404
|
}
|
|
91791
91405
|
}
|
|
91792
91406
|
|
|
91793
|
-
var formkitVersion = '
|
|
91407
|
+
var formkitVersion = '202607011727';
|
|
91794
91408
|
|
|
91795
91409
|
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}`;
|
|
91796
91410
|
|