@aurodesignsystem-dev/auro-formkit 0.0.0-pr1483.0 → 0.0.0-pr1483.1
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 -233
- package/components/checkbox/demo/getting-started.min.js +2 -233
- package/components/checkbox/demo/index.min.js +2 -233
- package/components/checkbox/dist/index.js +2 -233
- package/components/checkbox/dist/registered.js +2 -233
- package/components/combobox/demo/customize.min.js +5 -236
- package/components/combobox/demo/getting-started.min.js +5 -236
- package/components/combobox/demo/index.min.js +5 -236
- package/components/combobox/dist/index.js +5 -236
- package/components/combobox/dist/registered.js +5 -236
- package/components/counter/demo/customize.min.js +3 -234
- package/components/counter/demo/index.min.js +3 -234
- package/components/counter/dist/index.js +2 -233
- package/components/counter/dist/registered.js +2 -233
- package/components/datepicker/demo/index.min.js +6 -5
- package/components/datepicker/dist/index.js +6 -5
- package/components/datepicker/dist/registered.js +6 -5
- 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 +168 -1322
- package/components/form/demo/getting-started.min.js +168 -1322
- package/components/form/demo/index.min.js +168 -1322
- package/components/form/demo/registerDemoDeps.min.js +168 -1322
- package/components/input/demo/customize.min.js +2 -2
- package/components/input/demo/getting-started.min.js +2 -2
- package/components/input/demo/index.min.js +2 -2
- package/components/input/dist/index.js +2 -2
- package/components/input/dist/registered.js +2 -2
- package/components/radio/demo/index.min.js +2 -233
- package/components/radio/dist/index.js +2 -233
- package/components/radio/dist/registered.js +2 -233
- package/components/select/demo/customize.min.js +3 -234
- package/components/select/demo/getting-started.min.js +3 -234
- package/components/select/demo/index.min.js +3 -234
- package/components/select/dist/index.js +3 -234
- package/components/select/dist/registered.js +3 -234
- package/custom-elements.json +1444 -1444
- package/package.json +1 -1
|
@@ -258,237 +258,6 @@ let p$2 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
|
|
|
258
258
|
|
|
259
259
|
var iconVersion$1 = '9.1.2';
|
|
260
260
|
|
|
261
|
-
/**
|
|
262
|
-
* @description Splits a date string into its parts according to the provided format. Does NOT validate that the result is a real calendar date — use `parseDate` when validation is required.
|
|
263
|
-
* @param {string} dateStr - Date string to parse.
|
|
264
|
-
* @param {string} format - Date format to parse.
|
|
265
|
-
* @returns {{ month?: string, day?: string, year?: string }|undefined}
|
|
266
|
-
*/
|
|
267
|
-
function getDateParts(dateStr, format) {
|
|
268
|
-
if (!dateStr) {
|
|
269
|
-
return undefined;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
const formatSeparatorMatch = format.match(/[/.-]/);
|
|
273
|
-
let valueParts;
|
|
274
|
-
let formatParts;
|
|
275
|
-
|
|
276
|
-
if (formatSeparatorMatch) {
|
|
277
|
-
const separator = formatSeparatorMatch[0];
|
|
278
|
-
valueParts = dateStr.split(separator);
|
|
279
|
-
formatParts = format.split(separator);
|
|
280
|
-
} else {
|
|
281
|
-
if (dateStr.match(/[/.-]/)) {
|
|
282
|
-
throw new Error(
|
|
283
|
-
"AuroDatepickerUtilities | parseDate: Date string has no separators",
|
|
284
|
-
);
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
if (dateStr.length !== format.length) {
|
|
288
|
-
throw new Error(
|
|
289
|
-
"AuroDatepickerUtilities | parseDate: Date string and format length do not match",
|
|
290
|
-
);
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
valueParts = [dateStr];
|
|
294
|
-
formatParts = [format];
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
if (valueParts.length !== formatParts.length) {
|
|
298
|
-
throw new Error(
|
|
299
|
-
`AuroDatepickerUtilities | parseDate: Date string and format do not match : ${dateStr} vs ${format}`,
|
|
300
|
-
);
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
const result = formatParts.reduce((acc, part, index) => {
|
|
304
|
-
const value = valueParts[index];
|
|
305
|
-
|
|
306
|
-
if (/m/iu.test(part) && part.length === value.length) {
|
|
307
|
-
acc.month = value;
|
|
308
|
-
} else if (/d/iu.test(part) && part.length === value.length) {
|
|
309
|
-
acc.day = value;
|
|
310
|
-
} else if (/y/iu.test(part) && part.length === value.length) {
|
|
311
|
-
acc.year = value;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
return acc;
|
|
315
|
-
}, {});
|
|
316
|
-
|
|
317
|
-
if (!result.month && !result.day && !result.year) {
|
|
318
|
-
throw new Error(
|
|
319
|
-
"AuroDatepickerUtilities | parseDate: Unable to parse date string",
|
|
320
|
-
);
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
return result;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
function isCalendarDate(year, month, day) {
|
|
327
|
-
let yearNumber = Number(year);
|
|
328
|
-
const monthNumber = Number(month);
|
|
329
|
-
const dayNumber = Number(day);
|
|
330
|
-
|
|
331
|
-
if (
|
|
332
|
-
!Number.isInteger(yearNumber) ||
|
|
333
|
-
!Number.isInteger(monthNumber) ||
|
|
334
|
-
!Number.isInteger(dayNumber)
|
|
335
|
-
) {
|
|
336
|
-
return false;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
// Handle 2-digit years by converting them to 4-digit years based on a cutoff. This allows for parsing of 2-digit year formats while still validating the resulting date.
|
|
340
|
-
if (yearNumber < 100 && yearNumber >= 50) {
|
|
341
|
-
yearNumber += 1900;
|
|
342
|
-
} else if (yearNumber < 50) {
|
|
343
|
-
yearNumber += 2000;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
const stringified = `${String(yearNumber).padStart(4, "0")}-${String(monthNumber).padStart(2, "0")}-${String(dayNumber).padStart(2, "0")}`;
|
|
347
|
-
const date = new Date(stringified.replace(/[.-]/g, "/"));
|
|
348
|
-
|
|
349
|
-
return (
|
|
350
|
-
!Number.isNaN(date.getTime()) && toISOFormatString(date) === stringified
|
|
351
|
-
);
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* @description Parses a date string into its components and validates that the result is a real calendar date. Use `getDateParts` instead when raw splitting without validation is needed (e.g. for in-progress input).
|
|
356
|
-
*
|
|
357
|
-
* Partial formats are supported: components absent from `format` default to `year → "0"`,
|
|
358
|
-
* `month → "01"`, `day → "01"` for calendar validation only. The returned object contains
|
|
359
|
-
* only the fields actually present in the format string — missing fields are never injected.
|
|
360
|
-
* @param {string} dateStr - Date string to parse.
|
|
361
|
-
* @param {string} format - Date format to parse.
|
|
362
|
-
* @returns {{ month?: string, day?: string, year?: string }|undefined}
|
|
363
|
-
* @throws {Error} Throws when the parsed result does not represent a valid calendar date.
|
|
364
|
-
*/
|
|
365
|
-
function parseDate(dateStr, format = "mm/dd/yyyy") {
|
|
366
|
-
if (!dateStr || !format) {
|
|
367
|
-
return undefined;
|
|
368
|
-
}
|
|
369
|
-
const result = getDateParts(dateStr.trim(), format);
|
|
370
|
-
|
|
371
|
-
if (!result) {
|
|
372
|
-
return undefined;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
const lowerFormat = format.toLowerCase();
|
|
376
|
-
const year = lowerFormat.includes("yy") ? result.year : "0";
|
|
377
|
-
const month = lowerFormat.includes("mm") ? result.month : "01";
|
|
378
|
-
const day = lowerFormat.includes("dd") ? result.day : "01";
|
|
379
|
-
|
|
380
|
-
if (isCalendarDate(year, month, day)) {
|
|
381
|
-
return result;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
throw new Error(
|
|
385
|
-
`AuroDatepickerUtilities | parseDate: Date string is not a valid date ${JSON.stringify(result)} with format ${format}`,
|
|
386
|
-
);
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* Convert a date object to string format.
|
|
391
|
-
* @param {Object} date - Date to convert to string.
|
|
392
|
-
* @param {String} locale - Optional locale to use for the date string. Defaults to user's locale.
|
|
393
|
-
* @returns {String} Returns the date as a string.
|
|
394
|
-
*/
|
|
395
|
-
function getDateAsString(date, locale = undefined) {
|
|
396
|
-
return date.toLocaleDateString(locale, {
|
|
397
|
-
year: "numeric",
|
|
398
|
-
month: "2-digit",
|
|
399
|
-
day: "2-digit",
|
|
400
|
-
});
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
/**
|
|
404
|
-
* Converts a date string to a North American date format.
|
|
405
|
-
* @param {String} dateStr - Date to validate.
|
|
406
|
-
* @param {String} format - Date format to validate against.
|
|
407
|
-
* @returns {String}
|
|
408
|
-
*/
|
|
409
|
-
function toNorthAmericanFormat(dateStr, format) {
|
|
410
|
-
if (format === "mm/dd/yyyy") {
|
|
411
|
-
return dateStr;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
const parsedDate = parseDate(dateStr, format);
|
|
415
|
-
|
|
416
|
-
if (!parsedDate) {
|
|
417
|
-
throw new Error(
|
|
418
|
-
"AuroDatepickerUtilities | toNorthAmericanFormat: Unable to parse date string",
|
|
419
|
-
);
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
const { month, day, year } = parsedDate;
|
|
423
|
-
|
|
424
|
-
return [month, day, year].filter(Boolean).join("/");
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
* Validates that a date string matches the provided format and represents a real calendar date.
|
|
429
|
-
*
|
|
430
|
-
* @param {string} dateStr - Date string to validate.
|
|
431
|
-
* @param {string} [format="yyyy-mm-dd"] - Format of the date string.
|
|
432
|
-
* @returns {boolean} True when the date string is valid for the provided format, otherwise false.
|
|
433
|
-
*/
|
|
434
|
-
function isValidDate(dateStr, format = "yyyy-mm-dd") {
|
|
435
|
-
try {
|
|
436
|
-
if (typeof dateStr !== "string" || !dateStr || format?.length < 8) {
|
|
437
|
-
return false;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
if (parseDate(dateStr, format)) {
|
|
441
|
-
return true;
|
|
442
|
-
}
|
|
443
|
-
} catch (error) {
|
|
444
|
-
return false;
|
|
445
|
-
}
|
|
446
|
-
return false;
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
/**
|
|
450
|
-
* Converts a JavaScript Date instance to a simple ISO-like date string. This returns only the calendar date portion without any time or timezone information.
|
|
451
|
-
*
|
|
452
|
-
* @param {Date} date - Date instance to convert to an ISO-like string.
|
|
453
|
-
* @returns {string} A string in the format "yyyy-mm-dd" representing the provided date.
|
|
454
|
-
* @throws {Error} Throws an error when the input is not a valid Date instance.
|
|
455
|
-
*/
|
|
456
|
-
function toISOFormatString(date) {
|
|
457
|
-
if (!(date instanceof Date) || Number.isNaN(date.getTime())) {
|
|
458
|
-
throw new Error(
|
|
459
|
-
"AuroDatepickerUtilities | toISOFormatString: Input must be a valid Date instance",
|
|
460
|
-
);
|
|
461
|
-
}
|
|
462
|
-
return `${String(date.getFullYear()).padStart(4, "0")}-${String(date.getMonth() + 1).padStart(2, "0")}-${String(date.getDate()).padStart(2, "0")}`;
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
/**
|
|
466
|
-
* Converts a date string into a JavaScript Date instance. This method supports ISO formatted strings and other formats that can be parsed by the formatter.
|
|
467
|
-
*
|
|
468
|
-
* @param {String} dateStr - Date string to convert into a Date object.
|
|
469
|
-
* @param {String} format - Date format used to parse the string when it is not in ISO format.
|
|
470
|
-
* @returns {Date|null} Returns a Date instance for valid input or null for non-string input.
|
|
471
|
-
* @throws {Error} Throws when parsing fails for non-ISO string input.
|
|
472
|
-
*/
|
|
473
|
-
function stringToDateInstance(dateStr, format = "yyyy-mm-dd") {
|
|
474
|
-
if (typeof dateStr !== "string") {
|
|
475
|
-
return null;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
const { month, day, year } = parseDate(dateStr, format);
|
|
479
|
-
return new Date(`${year}/${month}/${day}`);
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
const dateFormatter = {
|
|
483
|
-
parseDate,
|
|
484
|
-
getDateParts,
|
|
485
|
-
getDateAsString,
|
|
486
|
-
toNorthAmericanFormat,
|
|
487
|
-
isValidDate,
|
|
488
|
-
toISOFormatString,
|
|
489
|
-
stringToDateInstance,
|
|
490
|
-
};
|
|
491
|
-
|
|
492
261
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
493
262
|
// See LICENSE in the project root for license information.
|
|
494
263
|
|
|
@@ -710,7 +479,7 @@ class AuroFormValidation {
|
|
|
710
479
|
}
|
|
711
480
|
|
|
712
481
|
// Validate that the date passed was the correct format and is a valid date
|
|
713
|
-
if (elem.value && !
|
|
482
|
+
if (elem.value && !elem.valueObject) {
|
|
714
483
|
elem.validity = 'patternMismatch';
|
|
715
484
|
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
716
485
|
return;
|
|
@@ -1280,7 +1049,7 @@ class AuroHelpText extends LitElement {
|
|
|
1280
1049
|
}
|
|
1281
1050
|
}
|
|
1282
1051
|
|
|
1283
|
-
var formkitVersion = '
|
|
1052
|
+
var formkitVersion = '202605271820';
|
|
1284
1053
|
|
|
1285
1054
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1286
1055
|
// See LICENSE in the project root for license information.
|
|
@@ -258,237 +258,6 @@ let p$2 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
|
|
|
258
258
|
|
|
259
259
|
var iconVersion$1 = '9.1.2';
|
|
260
260
|
|
|
261
|
-
/**
|
|
262
|
-
* @description Splits a date string into its parts according to the provided format. Does NOT validate that the result is a real calendar date — use `parseDate` when validation is required.
|
|
263
|
-
* @param {string} dateStr - Date string to parse.
|
|
264
|
-
* @param {string} format - Date format to parse.
|
|
265
|
-
* @returns {{ month?: string, day?: string, year?: string }|undefined}
|
|
266
|
-
*/
|
|
267
|
-
function getDateParts(dateStr, format) {
|
|
268
|
-
if (!dateStr) {
|
|
269
|
-
return undefined;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
const formatSeparatorMatch = format.match(/[/.-]/);
|
|
273
|
-
let valueParts;
|
|
274
|
-
let formatParts;
|
|
275
|
-
|
|
276
|
-
if (formatSeparatorMatch) {
|
|
277
|
-
const separator = formatSeparatorMatch[0];
|
|
278
|
-
valueParts = dateStr.split(separator);
|
|
279
|
-
formatParts = format.split(separator);
|
|
280
|
-
} else {
|
|
281
|
-
if (dateStr.match(/[/.-]/)) {
|
|
282
|
-
throw new Error(
|
|
283
|
-
"AuroDatepickerUtilities | parseDate: Date string has no separators",
|
|
284
|
-
);
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
if (dateStr.length !== format.length) {
|
|
288
|
-
throw new Error(
|
|
289
|
-
"AuroDatepickerUtilities | parseDate: Date string and format length do not match",
|
|
290
|
-
);
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
valueParts = [dateStr];
|
|
294
|
-
formatParts = [format];
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
if (valueParts.length !== formatParts.length) {
|
|
298
|
-
throw new Error(
|
|
299
|
-
`AuroDatepickerUtilities | parseDate: Date string and format do not match : ${dateStr} vs ${format}`,
|
|
300
|
-
);
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
const result = formatParts.reduce((acc, part, index) => {
|
|
304
|
-
const value = valueParts[index];
|
|
305
|
-
|
|
306
|
-
if (/m/iu.test(part) && part.length === value.length) {
|
|
307
|
-
acc.month = value;
|
|
308
|
-
} else if (/d/iu.test(part) && part.length === value.length) {
|
|
309
|
-
acc.day = value;
|
|
310
|
-
} else if (/y/iu.test(part) && part.length === value.length) {
|
|
311
|
-
acc.year = value;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
return acc;
|
|
315
|
-
}, {});
|
|
316
|
-
|
|
317
|
-
if (!result.month && !result.day && !result.year) {
|
|
318
|
-
throw new Error(
|
|
319
|
-
"AuroDatepickerUtilities | parseDate: Unable to parse date string",
|
|
320
|
-
);
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
return result;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
function isCalendarDate(year, month, day) {
|
|
327
|
-
let yearNumber = Number(year);
|
|
328
|
-
const monthNumber = Number(month);
|
|
329
|
-
const dayNumber = Number(day);
|
|
330
|
-
|
|
331
|
-
if (
|
|
332
|
-
!Number.isInteger(yearNumber) ||
|
|
333
|
-
!Number.isInteger(monthNumber) ||
|
|
334
|
-
!Number.isInteger(dayNumber)
|
|
335
|
-
) {
|
|
336
|
-
return false;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
// Handle 2-digit years by converting them to 4-digit years based on a cutoff. This allows for parsing of 2-digit year formats while still validating the resulting date.
|
|
340
|
-
if (yearNumber < 100 && yearNumber >= 50) {
|
|
341
|
-
yearNumber += 1900;
|
|
342
|
-
} else if (yearNumber < 50) {
|
|
343
|
-
yearNumber += 2000;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
const stringified = `${String(yearNumber).padStart(4, "0")}-${String(monthNumber).padStart(2, "0")}-${String(dayNumber).padStart(2, "0")}`;
|
|
347
|
-
const date = new Date(stringified.replace(/[.-]/g, "/"));
|
|
348
|
-
|
|
349
|
-
return (
|
|
350
|
-
!Number.isNaN(date.getTime()) && toISOFormatString(date) === stringified
|
|
351
|
-
);
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* @description Parses a date string into its components and validates that the result is a real calendar date. Use `getDateParts` instead when raw splitting without validation is needed (e.g. for in-progress input).
|
|
356
|
-
*
|
|
357
|
-
* Partial formats are supported: components absent from `format` default to `year → "0"`,
|
|
358
|
-
* `month → "01"`, `day → "01"` for calendar validation only. The returned object contains
|
|
359
|
-
* only the fields actually present in the format string — missing fields are never injected.
|
|
360
|
-
* @param {string} dateStr - Date string to parse.
|
|
361
|
-
* @param {string} format - Date format to parse.
|
|
362
|
-
* @returns {{ month?: string, day?: string, year?: string }|undefined}
|
|
363
|
-
* @throws {Error} Throws when the parsed result does not represent a valid calendar date.
|
|
364
|
-
*/
|
|
365
|
-
function parseDate(dateStr, format = "mm/dd/yyyy") {
|
|
366
|
-
if (!dateStr || !format) {
|
|
367
|
-
return undefined;
|
|
368
|
-
}
|
|
369
|
-
const result = getDateParts(dateStr.trim(), format);
|
|
370
|
-
|
|
371
|
-
if (!result) {
|
|
372
|
-
return undefined;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
const lowerFormat = format.toLowerCase();
|
|
376
|
-
const year = lowerFormat.includes("yy") ? result.year : "0";
|
|
377
|
-
const month = lowerFormat.includes("mm") ? result.month : "01";
|
|
378
|
-
const day = lowerFormat.includes("dd") ? result.day : "01";
|
|
379
|
-
|
|
380
|
-
if (isCalendarDate(year, month, day)) {
|
|
381
|
-
return result;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
throw new Error(
|
|
385
|
-
`AuroDatepickerUtilities | parseDate: Date string is not a valid date ${JSON.stringify(result)} with format ${format}`,
|
|
386
|
-
);
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* Convert a date object to string format.
|
|
391
|
-
* @param {Object} date - Date to convert to string.
|
|
392
|
-
* @param {String} locale - Optional locale to use for the date string. Defaults to user's locale.
|
|
393
|
-
* @returns {String} Returns the date as a string.
|
|
394
|
-
*/
|
|
395
|
-
function getDateAsString(date, locale = undefined) {
|
|
396
|
-
return date.toLocaleDateString(locale, {
|
|
397
|
-
year: "numeric",
|
|
398
|
-
month: "2-digit",
|
|
399
|
-
day: "2-digit",
|
|
400
|
-
});
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
/**
|
|
404
|
-
* Converts a date string to a North American date format.
|
|
405
|
-
* @param {String} dateStr - Date to validate.
|
|
406
|
-
* @param {String} format - Date format to validate against.
|
|
407
|
-
* @returns {String}
|
|
408
|
-
*/
|
|
409
|
-
function toNorthAmericanFormat(dateStr, format) {
|
|
410
|
-
if (format === "mm/dd/yyyy") {
|
|
411
|
-
return dateStr;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
const parsedDate = parseDate(dateStr, format);
|
|
415
|
-
|
|
416
|
-
if (!parsedDate) {
|
|
417
|
-
throw new Error(
|
|
418
|
-
"AuroDatepickerUtilities | toNorthAmericanFormat: Unable to parse date string",
|
|
419
|
-
);
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
const { month, day, year } = parsedDate;
|
|
423
|
-
|
|
424
|
-
return [month, day, year].filter(Boolean).join("/");
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
* Validates that a date string matches the provided format and represents a real calendar date.
|
|
429
|
-
*
|
|
430
|
-
* @param {string} dateStr - Date string to validate.
|
|
431
|
-
* @param {string} [format="yyyy-mm-dd"] - Format of the date string.
|
|
432
|
-
* @returns {boolean} True when the date string is valid for the provided format, otherwise false.
|
|
433
|
-
*/
|
|
434
|
-
function isValidDate(dateStr, format = "yyyy-mm-dd") {
|
|
435
|
-
try {
|
|
436
|
-
if (typeof dateStr !== "string" || !dateStr || format?.length < 8) {
|
|
437
|
-
return false;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
if (parseDate(dateStr, format)) {
|
|
441
|
-
return true;
|
|
442
|
-
}
|
|
443
|
-
} catch (error) {
|
|
444
|
-
return false;
|
|
445
|
-
}
|
|
446
|
-
return false;
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
/**
|
|
450
|
-
* Converts a JavaScript Date instance to a simple ISO-like date string. This returns only the calendar date portion without any time or timezone information.
|
|
451
|
-
*
|
|
452
|
-
* @param {Date} date - Date instance to convert to an ISO-like string.
|
|
453
|
-
* @returns {string} A string in the format "yyyy-mm-dd" representing the provided date.
|
|
454
|
-
* @throws {Error} Throws an error when the input is not a valid Date instance.
|
|
455
|
-
*/
|
|
456
|
-
function toISOFormatString(date) {
|
|
457
|
-
if (!(date instanceof Date) || Number.isNaN(date.getTime())) {
|
|
458
|
-
throw new Error(
|
|
459
|
-
"AuroDatepickerUtilities | toISOFormatString: Input must be a valid Date instance",
|
|
460
|
-
);
|
|
461
|
-
}
|
|
462
|
-
return `${String(date.getFullYear()).padStart(4, "0")}-${String(date.getMonth() + 1).padStart(2, "0")}-${String(date.getDate()).padStart(2, "0")}`;
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
/**
|
|
466
|
-
* Converts a date string into a JavaScript Date instance. This method supports ISO formatted strings and other formats that can be parsed by the formatter.
|
|
467
|
-
*
|
|
468
|
-
* @param {String} dateStr - Date string to convert into a Date object.
|
|
469
|
-
* @param {String} format - Date format used to parse the string when it is not in ISO format.
|
|
470
|
-
* @returns {Date|null} Returns a Date instance for valid input or null for non-string input.
|
|
471
|
-
* @throws {Error} Throws when parsing fails for non-ISO string input.
|
|
472
|
-
*/
|
|
473
|
-
function stringToDateInstance(dateStr, format = "yyyy-mm-dd") {
|
|
474
|
-
if (typeof dateStr !== "string") {
|
|
475
|
-
return null;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
const { month, day, year } = parseDate(dateStr, format);
|
|
479
|
-
return new Date(`${year}/${month}/${day}`);
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
const dateFormatter = {
|
|
483
|
-
parseDate,
|
|
484
|
-
getDateParts,
|
|
485
|
-
getDateAsString,
|
|
486
|
-
toNorthAmericanFormat,
|
|
487
|
-
isValidDate,
|
|
488
|
-
toISOFormatString,
|
|
489
|
-
stringToDateInstance,
|
|
490
|
-
};
|
|
491
|
-
|
|
492
261
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
493
262
|
// See LICENSE in the project root for license information.
|
|
494
263
|
|
|
@@ -710,7 +479,7 @@ class AuroFormValidation {
|
|
|
710
479
|
}
|
|
711
480
|
|
|
712
481
|
// Validate that the date passed was the correct format and is a valid date
|
|
713
|
-
if (elem.value && !
|
|
482
|
+
if (elem.value && !elem.valueObject) {
|
|
714
483
|
elem.validity = 'patternMismatch';
|
|
715
484
|
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
716
485
|
return;
|
|
@@ -1280,7 +1049,7 @@ class AuroHelpText extends LitElement {
|
|
|
1280
1049
|
}
|
|
1281
1050
|
}
|
|
1282
1051
|
|
|
1283
|
-
var formkitVersion = '
|
|
1052
|
+
var formkitVersion = '202605271820';
|
|
1284
1053
|
|
|
1285
1054
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1286
1055
|
// See LICENSE in the project root for license information.
|
|
@@ -560,7 +560,7 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
560
560
|
}
|
|
561
561
|
|
|
562
562
|
// Validate that the date passed was the correct format and is a valid date
|
|
563
|
-
if (elem.value && !
|
|
563
|
+
if (elem.value && !elem.valueObject) {
|
|
564
564
|
elem.validity = 'patternMismatch';
|
|
565
565
|
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
566
566
|
return;
|
|
@@ -9014,7 +9014,7 @@ class AuroBibtemplate extends i$1 {
|
|
|
9014
9014
|
}
|
|
9015
9015
|
}
|
|
9016
9016
|
|
|
9017
|
-
var formkitVersion$2 = '
|
|
9017
|
+
var formkitVersion$2 = '202605271820';
|
|
9018
9018
|
|
|
9019
9019
|
let l$1 = 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 = 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$4 = 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$3=i$3`: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}
|
|
9020
9020
|
`,u$6=i$3`.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}}
|
|
@@ -13397,7 +13397,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
13397
13397
|
}
|
|
13398
13398
|
};
|
|
13399
13399
|
|
|
13400
|
-
var formkitVersion$1 = '
|
|
13400
|
+
var formkitVersion$1 = '202605271820';
|
|
13401
13401
|
|
|
13402
13402
|
let AuroElement$2 = class AuroElement extends i$1 {
|
|
13403
13403
|
static get properties() {
|
|
@@ -18821,7 +18821,7 @@ class AuroFormValidation {
|
|
|
18821
18821
|
}
|
|
18822
18822
|
|
|
18823
18823
|
// Validate that the date passed was the correct format and is a valid date
|
|
18824
|
-
if (elem.value && !
|
|
18824
|
+
if (elem.value && !elem.valueObject) {
|
|
18825
18825
|
elem.validity = 'patternMismatch';
|
|
18826
18826
|
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
18827
18827
|
return;
|
|
@@ -26655,7 +26655,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
26655
26655
|
}
|
|
26656
26656
|
};
|
|
26657
26657
|
|
|
26658
|
-
var formkitVersion = '
|
|
26658
|
+
var formkitVersion = '202605271820';
|
|
26659
26659
|
|
|
26660
26660
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
26661
26661
|
// See LICENSE in the project root for license information.
|
|
@@ -29150,6 +29150,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
29150
29150
|
}
|
|
29151
29151
|
} else if (this.valueObject && this.valueEndObject) {
|
|
29152
29152
|
// both dateTo and dateFrom are valid, then reset dateEnd
|
|
29153
|
+
// set input's value as the callback restores this.valueEnd to the old value
|
|
29153
29154
|
this.inputList[1].value = undefined;
|
|
29154
29155
|
}
|
|
29155
29156
|
}
|
|
@@ -543,7 +543,7 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
543
543
|
}
|
|
544
544
|
|
|
545
545
|
// Validate that the date passed was the correct format and is a valid date
|
|
546
|
-
if (elem.value && !
|
|
546
|
+
if (elem.value && !elem.valueObject) {
|
|
547
547
|
elem.validity = 'patternMismatch';
|
|
548
548
|
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
549
549
|
return;
|
|
@@ -8966,7 +8966,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
8966
8966
|
}
|
|
8967
8967
|
}
|
|
8968
8968
|
|
|
8969
|
-
var formkitVersion$2 = '
|
|
8969
|
+
var formkitVersion$2 = '202605271820';
|
|
8970
8970
|
|
|
8971
8971
|
let l$1 = 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=literal`${unsafeStatic(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = 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 = 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=css`: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}
|
|
8972
8972
|
`,u$4=css`.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}}
|
|
@@ -13325,7 +13325,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
13325
13325
|
}
|
|
13326
13326
|
};
|
|
13327
13327
|
|
|
13328
|
-
var formkitVersion$1 = '
|
|
13328
|
+
var formkitVersion$1 = '202605271820';
|
|
13329
13329
|
|
|
13330
13330
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
13331
13331
|
static get properties() {
|
|
@@ -18742,7 +18742,7 @@ class AuroFormValidation {
|
|
|
18742
18742
|
}
|
|
18743
18743
|
|
|
18744
18744
|
// Validate that the date passed was the correct format and is a valid date
|
|
18745
|
-
if (elem.value && !
|
|
18745
|
+
if (elem.value && !elem.valueObject) {
|
|
18746
18746
|
elem.validity = 'patternMismatch';
|
|
18747
18747
|
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
18748
18748
|
return;
|
|
@@ -26576,7 +26576,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
26576
26576
|
}
|
|
26577
26577
|
};
|
|
26578
26578
|
|
|
26579
|
-
var formkitVersion = '
|
|
26579
|
+
var formkitVersion = '202605271820';
|
|
26580
26580
|
|
|
26581
26581
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
26582
26582
|
// See LICENSE in the project root for license information.
|
|
@@ -29071,6 +29071,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
29071
29071
|
}
|
|
29072
29072
|
} else if (this.valueObject && this.valueEndObject) {
|
|
29073
29073
|
// both dateTo and dateFrom are valid, then reset dateEnd
|
|
29074
|
+
// set input's value as the callback restores this.valueEnd to the old value
|
|
29074
29075
|
this.inputList[1].value = undefined;
|
|
29075
29076
|
}
|
|
29076
29077
|
}
|