@aurodesignsystem-dev/auro-formkit 0.0.0-pr1492.3 → 0.0.0-pr1492.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox/demo/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +3 -3
- package/components/combobox/demo/getting-started.min.js +3 -3
- package/components/combobox/demo/index.min.js +3 -3
- package/components/combobox/dist/index.js +3 -3
- package/components/combobox/dist/registered.js +3 -3
- package/components/counter/demo/customize.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +1 -1
- package/components/counter/dist/registered.js +1 -1
- package/components/datepicker/demo/index.min.js +35 -53
- package/components/datepicker/dist/index.js +35 -53
- package/components/datepicker/dist/registered.js +35 -53
- package/components/datepicker/dist/src/auro-calendar-month.d.ts +0 -7
- package/components/datepicker/dist/src/auro-datepicker.d.ts +0 -13
- 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 +45 -63
- package/components/form/demo/getting-started.min.js +45 -63
- package/components/form/demo/index.min.js +45 -63
- package/components/form/demo/registerDemoDeps.min.js +45 -63
- package/components/input/demo/customize.min.js +1 -1
- package/components/input/demo/getting-started.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/customize.min.js +2 -2
- package/components/select/demo/getting-started.min.js +2 -2
- package/components/select/demo/index.min.js +2 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +0 -11
- package/package.json +1 -1
|
@@ -1260,7 +1260,7 @@ class AuroHelpText extends i$2 {
|
|
|
1260
1260
|
}
|
|
1261
1261
|
}
|
|
1262
1262
|
|
|
1263
|
-
var formkitVersion = '
|
|
1263
|
+
var formkitVersion = '202606031942';
|
|
1264
1264
|
|
|
1265
1265
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1266
1266
|
// See LICENSE in the project root for license information.
|
|
@@ -1260,7 +1260,7 @@ class AuroHelpText extends i$2 {
|
|
|
1260
1260
|
}
|
|
1261
1261
|
}
|
|
1262
1262
|
|
|
1263
|
-
var formkitVersion = '
|
|
1263
|
+
var formkitVersion = '202606031942';
|
|
1264
1264
|
|
|
1265
1265
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1266
1266
|
// See LICENSE in the project root for license information.
|
|
@@ -1260,7 +1260,7 @@ class AuroHelpText extends i$2 {
|
|
|
1260
1260
|
}
|
|
1261
1261
|
}
|
|
1262
1262
|
|
|
1263
|
-
var formkitVersion = '
|
|
1263
|
+
var formkitVersion = '202606031942';
|
|
1264
1264
|
|
|
1265
1265
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1266
1266
|
// See LICENSE in the project root for license information.
|
|
@@ -1213,7 +1213,7 @@ class AuroHelpText extends LitElement {
|
|
|
1213
1213
|
}
|
|
1214
1214
|
}
|
|
1215
1215
|
|
|
1216
|
-
var formkitVersion = '
|
|
1216
|
+
var formkitVersion = '202606031942';
|
|
1217
1217
|
|
|
1218
1218
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1219
1219
|
// See LICENSE in the project root for license information.
|
|
@@ -1213,7 +1213,7 @@ class AuroHelpText extends LitElement {
|
|
|
1213
1213
|
}
|
|
1214
1214
|
}
|
|
1215
1215
|
|
|
1216
|
-
var formkitVersion = '
|
|
1216
|
+
var formkitVersion = '202606031942';
|
|
1217
1217
|
|
|
1218
1218
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1219
1219
|
// See LICENSE in the project root for license information.
|
|
@@ -4856,7 +4856,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
4856
4856
|
}
|
|
4857
4857
|
};
|
|
4858
4858
|
|
|
4859
|
-
var formkitVersion$2 = '
|
|
4859
|
+
var formkitVersion$2 = '202606031942';
|
|
4860
4860
|
|
|
4861
4861
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
4862
4862
|
static get properties() {
|
|
@@ -18114,7 +18114,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
18114
18114
|
}
|
|
18115
18115
|
};
|
|
18116
18116
|
|
|
18117
|
-
var formkitVersion$1 = '
|
|
18117
|
+
var formkitVersion$1 = '202606031942';
|
|
18118
18118
|
|
|
18119
18119
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18120
18120
|
// See LICENSE in the project root for license information.
|
|
@@ -19231,7 +19231,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
19231
19231
|
}
|
|
19232
19232
|
}
|
|
19233
19233
|
|
|
19234
|
-
var formkitVersion = '
|
|
19234
|
+
var formkitVersion = '202606031942';
|
|
19235
19235
|
|
|
19236
19236
|
var styleCss$3 = i$7`.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}`;
|
|
19237
19237
|
|
|
@@ -4856,7 +4856,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
4856
4856
|
}
|
|
4857
4857
|
};
|
|
4858
4858
|
|
|
4859
|
-
var formkitVersion$2 = '
|
|
4859
|
+
var formkitVersion$2 = '202606031942';
|
|
4860
4860
|
|
|
4861
4861
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
4862
4862
|
static get properties() {
|
|
@@ -18114,7 +18114,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
18114
18114
|
}
|
|
18115
18115
|
};
|
|
18116
18116
|
|
|
18117
|
-
var formkitVersion$1 = '
|
|
18117
|
+
var formkitVersion$1 = '202606031942';
|
|
18118
18118
|
|
|
18119
18119
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18120
18120
|
// See LICENSE in the project root for license information.
|
|
@@ -19231,7 +19231,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
19231
19231
|
}
|
|
19232
19232
|
}
|
|
19233
19233
|
|
|
19234
|
-
var formkitVersion = '
|
|
19234
|
+
var formkitVersion = '202606031942';
|
|
19235
19235
|
|
|
19236
19236
|
var styleCss$3 = i$7`.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}`;
|
|
19237
19237
|
|
|
@@ -4871,7 +4871,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
4871
4871
|
}
|
|
4872
4872
|
};
|
|
4873
4873
|
|
|
4874
|
-
var formkitVersion$2 = '
|
|
4874
|
+
var formkitVersion$2 = '202606031942';
|
|
4875
4875
|
|
|
4876
4876
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
4877
4877
|
static get properties() {
|
|
@@ -18129,7 +18129,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
18129
18129
|
}
|
|
18130
18130
|
};
|
|
18131
18131
|
|
|
18132
|
-
var formkitVersion$1 = '
|
|
18132
|
+
var formkitVersion$1 = '202606031942';
|
|
18133
18133
|
|
|
18134
18134
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18135
18135
|
// See LICENSE in the project root for license information.
|
|
@@ -19246,7 +19246,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
19246
19246
|
}
|
|
19247
19247
|
}
|
|
19248
19248
|
|
|
19249
|
-
var formkitVersion = '
|
|
19249
|
+
var formkitVersion = '202606031942';
|
|
19250
19250
|
|
|
19251
19251
|
var styleCss$3 = i$7`.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}`;
|
|
19252
19252
|
|
|
@@ -4789,7 +4789,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4789
4789
|
}
|
|
4790
4790
|
};
|
|
4791
4791
|
|
|
4792
|
-
var formkitVersion$2 = '
|
|
4792
|
+
var formkitVersion$2 = '202606031942';
|
|
4793
4793
|
|
|
4794
4794
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4795
4795
|
static get properties() {
|
|
@@ -18040,7 +18040,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
18040
18040
|
}
|
|
18041
18041
|
};
|
|
18042
18042
|
|
|
18043
|
-
var formkitVersion$1 = '
|
|
18043
|
+
var formkitVersion$1 = '202606031942';
|
|
18044
18044
|
|
|
18045
18045
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18046
18046
|
// See LICENSE in the project root for license information.
|
|
@@ -19157,7 +19157,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
19157
19157
|
}
|
|
19158
19158
|
}
|
|
19159
19159
|
|
|
19160
|
-
var formkitVersion = '
|
|
19160
|
+
var formkitVersion = '202606031942';
|
|
19161
19161
|
|
|
19162
19162
|
var styleCss$1 = css`.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}`;
|
|
19163
19163
|
|
|
@@ -4789,7 +4789,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4789
4789
|
}
|
|
4790
4790
|
};
|
|
4791
4791
|
|
|
4792
|
-
var formkitVersion$2 = '
|
|
4792
|
+
var formkitVersion$2 = '202606031942';
|
|
4793
4793
|
|
|
4794
4794
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4795
4795
|
static get properties() {
|
|
@@ -18040,7 +18040,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
18040
18040
|
}
|
|
18041
18041
|
};
|
|
18042
18042
|
|
|
18043
|
-
var formkitVersion$1 = '
|
|
18043
|
+
var formkitVersion$1 = '202606031942';
|
|
18044
18044
|
|
|
18045
18045
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18046
18046
|
// See LICENSE in the project root for license information.
|
|
@@ -19157,7 +19157,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
19157
19157
|
}
|
|
19158
19158
|
}
|
|
19159
19159
|
|
|
19160
|
-
var formkitVersion = '
|
|
19160
|
+
var formkitVersion = '202606031942';
|
|
19161
19161
|
|
|
19162
19162
|
var styleCss$1 = css`.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}`;
|
|
19163
19163
|
|
|
@@ -1099,7 +1099,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1099
1099
|
}
|
|
1100
1100
|
};
|
|
1101
1101
|
|
|
1102
|
-
var formkitVersion$1 = '
|
|
1102
|
+
var formkitVersion$1 = '202606031942';
|
|
1103
1103
|
|
|
1104
1104
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1105
1105
|
// See LICENSE in the project root for license information.
|
|
@@ -5445,7 +5445,7 @@ class AuroHelpText extends i$2 {
|
|
|
5445
5445
|
}
|
|
5446
5446
|
}
|
|
5447
5447
|
|
|
5448
|
-
var formkitVersion = '
|
|
5448
|
+
var formkitVersion = '202606031942';
|
|
5449
5449
|
|
|
5450
5450
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5451
5451
|
static get properties() {
|
|
@@ -1099,7 +1099,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1099
1099
|
}
|
|
1100
1100
|
};
|
|
1101
1101
|
|
|
1102
|
-
var formkitVersion$1 = '
|
|
1102
|
+
var formkitVersion$1 = '202606031942';
|
|
1103
1103
|
|
|
1104
1104
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1105
1105
|
// See LICENSE in the project root for license information.
|
|
@@ -5445,7 +5445,7 @@ class AuroHelpText extends i$2 {
|
|
|
5445
5445
|
}
|
|
5446
5446
|
}
|
|
5447
5447
|
|
|
5448
|
-
var formkitVersion = '
|
|
5448
|
+
var formkitVersion = '202606031942';
|
|
5449
5449
|
|
|
5450
5450
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5451
5451
|
static get properties() {
|
|
@@ -1049,7 +1049,7 @@ class AuroHelpText extends LitElement {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
|
-
var formkitVersion = '
|
|
1052
|
+
var formkitVersion = '202606031942';
|
|
1053
1053
|
|
|
1054
1054
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1055
1055
|
// See LICENSE in the project root for license information.
|
|
@@ -1049,7 +1049,7 @@ class AuroHelpText extends LitElement {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
|
-
var formkitVersion = '
|
|
1052
|
+
var formkitVersion = '202606031942';
|
|
1053
1053
|
|
|
1054
1054
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1055
1055
|
// See LICENSE in the project root for license information.
|
|
@@ -11695,7 +11695,7 @@ class AuroCalendarCell extends i$1 {
|
|
|
11695
11695
|
}
|
|
11696
11696
|
|
|
11697
11697
|
get locale() {
|
|
11698
|
-
return this._locale;
|
|
11698
|
+
return this._locale || 'en-US';
|
|
11699
11699
|
}
|
|
11700
11700
|
|
|
11701
11701
|
set locale(value) {
|
|
@@ -12041,6 +12041,32 @@ if (!customElements.get('auro-formkit-calendar-cell')) {
|
|
|
12041
12041
|
|
|
12042
12042
|
/* eslint-disable no-magic-numbers, dot-location */
|
|
12043
12043
|
|
|
12044
|
+
const getMonthNamesFromLocale = (locale) => {
|
|
12045
|
+
const fmt = new Intl.DateTimeFormat(locale || 'en-US', { month: 'long' });
|
|
12046
|
+
return Array.from({ length: 12 }, (_, i) => fmt.format(new Date(2000, i, 1)));
|
|
12047
|
+
};
|
|
12048
|
+
|
|
12049
|
+
/**
|
|
12050
|
+
* Generates the localized short names for each day of the week.
|
|
12051
|
+
* The list always starts with the day that corresponds to Sunday in the target locale.
|
|
12052
|
+
* @private
|
|
12053
|
+
* @param {String} locale - The BCP 47 language tag for localization (e.g. "en-US").
|
|
12054
|
+
* @returns {Array} An array of seven localized narrow weekday names, starting from Sunday.
|
|
12055
|
+
*/
|
|
12056
|
+
const getWeekdayNames = (locale) => {
|
|
12057
|
+
const fmt = new Intl.DateTimeFormat(locale|| 'en-US', { weekday: 'narrow' });
|
|
12058
|
+
// Jan 5 2025 is a known Sunday; iterate to get all 7 narrow day names starting from Sunday
|
|
12059
|
+
const sundayMs = new Date(2025, 0, 5).getTime();
|
|
12060
|
+
const msPerDay = 864e5;
|
|
12061
|
+
const allDays = [];
|
|
12062
|
+
for (let day = 0; day < 7; day += 1) {
|
|
12063
|
+
const offsetMs = day * msPerDay;
|
|
12064
|
+
allDays.push(fmt.format(new Date(sundayMs + offsetMs)));
|
|
12065
|
+
}
|
|
12066
|
+
return allDays;
|
|
12067
|
+
};
|
|
12068
|
+
|
|
12069
|
+
|
|
12044
12070
|
class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
12045
12071
|
static get styles() {
|
|
12046
12072
|
return [
|
|
@@ -12101,7 +12127,7 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12101
12127
|
* @returns {String} The name of the month.
|
|
12102
12128
|
*/
|
|
12103
12129
|
computeCurrentMonthName(month) {
|
|
12104
|
-
return this.monthNames[month - 1];
|
|
12130
|
+
return this.monthNames?.[month - 1] || getMonthNamesFromLocale(this.localeCode)[month - 1] || '';
|
|
12105
12131
|
}
|
|
12106
12132
|
|
|
12107
12133
|
/**
|
|
@@ -12117,33 +12143,12 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12117
12143
|
}
|
|
12118
12144
|
}
|
|
12119
12145
|
|
|
12120
|
-
/**
|
|
12121
|
-
* Generates the localized short names for each day of the week.
|
|
12122
|
-
* The list always starts with the day that corresponds to Sunday in the target locale.
|
|
12123
|
-
* @private
|
|
12124
|
-
* @returns {Array} An array of seven localized narrow weekday names, starting from Sunday.
|
|
12125
|
-
*/
|
|
12126
|
-
getWeekdayNames() {
|
|
12127
|
-
const fmt = new Intl.DateTimeFormat(this.localeCode || 'en-US', { weekday: 'narrow' });
|
|
12128
|
-
// Jan 5 2025 is a known Sunday; iterate to get all 7 narrow day names starting from Sunday
|
|
12129
|
-
const sundayMs = new Date(2025, 0, 5).getTime();
|
|
12130
|
-
const msPerDay = 864e5;
|
|
12131
|
-
const allDays = [];
|
|
12132
|
-
for (let day = 0; day < 7; day += 1) {
|
|
12133
|
-
const offsetMs = day * msPerDay;
|
|
12134
|
-
allDays.push(fmt.format(new Date(sundayMs + offsetMs)));
|
|
12135
|
-
}
|
|
12136
|
-
return allDays;
|
|
12137
|
-
}
|
|
12138
|
-
|
|
12139
12146
|
localeChanged() {
|
|
12140
|
-
|
|
12141
12147
|
// get localized weekday names based on current locale and store in a property for use in day name rendering
|
|
12142
|
-
const allDays = this.
|
|
12148
|
+
const allDays = getWeekdayNames(this.localeCode);
|
|
12143
12149
|
|
|
12144
|
-
//
|
|
12145
|
-
|
|
12146
|
-
const firstDayOfWeek = this.locale?.options?.weekStartsOn || 1;
|
|
12150
|
+
// Week starts on Sunday (index 0)
|
|
12151
|
+
const firstDayOfWeek = this.locale?.options?.weekStartsOn || 0;
|
|
12147
12152
|
this.dayNamesOfTheWeek = allDays.slice(firstDayOfWeek).concat(allDays.slice(0, firstDayOfWeek));
|
|
12148
12153
|
}
|
|
12149
12154
|
|
|
@@ -13015,7 +13020,7 @@ class AuroBibtemplate extends i$1 {
|
|
|
13015
13020
|
}
|
|
13016
13021
|
}
|
|
13017
13022
|
|
|
13018
|
-
var formkitVersion$2 = '
|
|
13023
|
+
var formkitVersion$2 = '202606031942';
|
|
13019
13024
|
|
|
13020
13025
|
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}
|
|
13021
13026
|
`,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}}
|
|
@@ -17415,7 +17420,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
17415
17420
|
}
|
|
17416
17421
|
};
|
|
17417
17422
|
|
|
17418
|
-
var formkitVersion$1 = '
|
|
17423
|
+
var formkitVersion$1 = '202606031942';
|
|
17419
17424
|
|
|
17420
17425
|
let AuroElement$2 = class AuroElement extends i$1 {
|
|
17421
17426
|
static get properties() {
|
|
@@ -30673,7 +30678,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
30673
30678
|
}
|
|
30674
30679
|
};
|
|
30675
30680
|
|
|
30676
|
-
var formkitVersion = '
|
|
30681
|
+
var formkitVersion = '202606031942';
|
|
30677
30682
|
|
|
30678
30683
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
30679
30684
|
// See LICENSE in the project root for license information.
|
|
@@ -32045,11 +32050,6 @@ const datepickerKeyboardStrategy = {
|
|
|
32045
32050
|
// See LICENSE in the project root for license information.
|
|
32046
32051
|
|
|
32047
32052
|
|
|
32048
|
-
const getMonthNamesFromLocale = (locale) => {
|
|
32049
|
-
const fmt = new Intl.DateTimeFormat(locale || 'en-US', { month: 'long' });
|
|
32050
|
-
return Array.from({ length: 12 }, (_, i) => fmt.format(new Date(2000, i, 1)));
|
|
32051
|
-
};
|
|
32052
|
-
|
|
32053
32053
|
|
|
32054
32054
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
32055
32055
|
/**
|
|
@@ -33253,24 +33253,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
33253
33253
|
return this.validity !== undefined && this.validity !== 'valid';
|
|
33254
33254
|
}
|
|
33255
33255
|
|
|
33256
|
-
/**
|
|
33257
|
-
* @private
|
|
33258
|
-
* Lifecycle method used to react to changes in properties.
|
|
33259
|
-
* In this case, we want to update the default month names when the locale changes.
|
|
33260
|
-
* @param {*} changedProperties
|
|
33261
|
-
*/
|
|
33262
|
-
willUpdate(changedProperties) {
|
|
33263
|
-
if (changedProperties.has('locale')) {
|
|
33264
|
-
|
|
33265
|
-
/**
|
|
33266
|
-
* Default month names are derived from the locale,
|
|
33267
|
-
* but can be overridden by the monthNames property.
|
|
33268
|
-
* @private
|
|
33269
|
-
*/
|
|
33270
|
-
this._defaultMonthNames = getMonthNamesFromLocale(this.locale);
|
|
33271
|
-
}
|
|
33272
|
-
}
|
|
33273
|
-
|
|
33274
33256
|
updated(changedProperties) {
|
|
33275
33257
|
if (changedProperties.has('locale')) {
|
|
33276
33258
|
if (!changedProperties.has('format')) {
|
|
@@ -33922,7 +33904,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
33922
33904
|
.monthFirst="${this.format.indexOf('mm') < this.format.indexOf('yyyy')}"
|
|
33923
33905
|
.maxDate="${this.maxDate}"
|
|
33924
33906
|
.minDate="${this.minDate}"
|
|
33925
|
-
.monthNames="${this.monthNames
|
|
33907
|
+
.monthNames="${this.monthNames}"
|
|
33926
33908
|
.localeCode="${this.locale}"
|
|
33927
33909
|
.mobileBreakpoint="${this.mobileBreakpoint}"
|
|
33928
33910
|
part="calendar"
|
|
@@ -11653,7 +11653,7 @@ class AuroCalendarCell extends LitElement {
|
|
|
11653
11653
|
}
|
|
11654
11654
|
|
|
11655
11655
|
get locale() {
|
|
11656
|
-
return this._locale;
|
|
11656
|
+
return this._locale || 'en-US';
|
|
11657
11657
|
}
|
|
11658
11658
|
|
|
11659
11659
|
set locale(value) {
|
|
@@ -11999,6 +11999,32 @@ if (!customElements.get('auro-formkit-calendar-cell')) {
|
|
|
11999
11999
|
|
|
12000
12000
|
/* eslint-disable no-magic-numbers, dot-location */
|
|
12001
12001
|
|
|
12002
|
+
const getMonthNamesFromLocale = (locale) => {
|
|
12003
|
+
const fmt = new Intl.DateTimeFormat(locale || 'en-US', { month: 'long' });
|
|
12004
|
+
return Array.from({ length: 12 }, (_, i) => fmt.format(new Date(2000, i, 1)));
|
|
12005
|
+
};
|
|
12006
|
+
|
|
12007
|
+
/**
|
|
12008
|
+
* Generates the localized short names for each day of the week.
|
|
12009
|
+
* The list always starts with the day that corresponds to Sunday in the target locale.
|
|
12010
|
+
* @private
|
|
12011
|
+
* @param {String} locale - The BCP 47 language tag for localization (e.g. "en-US").
|
|
12012
|
+
* @returns {Array} An array of seven localized narrow weekday names, starting from Sunday.
|
|
12013
|
+
*/
|
|
12014
|
+
const getWeekdayNames = (locale) => {
|
|
12015
|
+
const fmt = new Intl.DateTimeFormat(locale|| 'en-US', { weekday: 'narrow' });
|
|
12016
|
+
// Jan 5 2025 is a known Sunday; iterate to get all 7 narrow day names starting from Sunday
|
|
12017
|
+
const sundayMs = new Date(2025, 0, 5).getTime();
|
|
12018
|
+
const msPerDay = 864e5;
|
|
12019
|
+
const allDays = [];
|
|
12020
|
+
for (let day = 0; day < 7; day += 1) {
|
|
12021
|
+
const offsetMs = day * msPerDay;
|
|
12022
|
+
allDays.push(fmt.format(new Date(sundayMs + offsetMs)));
|
|
12023
|
+
}
|
|
12024
|
+
return allDays;
|
|
12025
|
+
};
|
|
12026
|
+
|
|
12027
|
+
|
|
12002
12028
|
class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
12003
12029
|
static get styles() {
|
|
12004
12030
|
return [
|
|
@@ -12059,7 +12085,7 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12059
12085
|
* @returns {String} The name of the month.
|
|
12060
12086
|
*/
|
|
12061
12087
|
computeCurrentMonthName(month) {
|
|
12062
|
-
return this.monthNames[month - 1];
|
|
12088
|
+
return this.monthNames?.[month - 1] || getMonthNamesFromLocale(this.localeCode)[month - 1] || '';
|
|
12063
12089
|
}
|
|
12064
12090
|
|
|
12065
12091
|
/**
|
|
@@ -12075,33 +12101,12 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12075
12101
|
}
|
|
12076
12102
|
}
|
|
12077
12103
|
|
|
12078
|
-
/**
|
|
12079
|
-
* Generates the localized short names for each day of the week.
|
|
12080
|
-
* The list always starts with the day that corresponds to Sunday in the target locale.
|
|
12081
|
-
* @private
|
|
12082
|
-
* @returns {Array} An array of seven localized narrow weekday names, starting from Sunday.
|
|
12083
|
-
*/
|
|
12084
|
-
getWeekdayNames() {
|
|
12085
|
-
const fmt = new Intl.DateTimeFormat(this.localeCode || 'en-US', { weekday: 'narrow' });
|
|
12086
|
-
// Jan 5 2025 is a known Sunday; iterate to get all 7 narrow day names starting from Sunday
|
|
12087
|
-
const sundayMs = new Date(2025, 0, 5).getTime();
|
|
12088
|
-
const msPerDay = 864e5;
|
|
12089
|
-
const allDays = [];
|
|
12090
|
-
for (let day = 0; day < 7; day += 1) {
|
|
12091
|
-
const offsetMs = day * msPerDay;
|
|
12092
|
-
allDays.push(fmt.format(new Date(sundayMs + offsetMs)));
|
|
12093
|
-
}
|
|
12094
|
-
return allDays;
|
|
12095
|
-
}
|
|
12096
|
-
|
|
12097
12104
|
localeChanged() {
|
|
12098
|
-
|
|
12099
12105
|
// get localized weekday names based on current locale and store in a property for use in day name rendering
|
|
12100
|
-
const allDays = this.
|
|
12106
|
+
const allDays = getWeekdayNames(this.localeCode);
|
|
12101
12107
|
|
|
12102
|
-
//
|
|
12103
|
-
|
|
12104
|
-
const firstDayOfWeek = this.locale?.options?.weekStartsOn || 1;
|
|
12108
|
+
// Week starts on Sunday (index 0)
|
|
12109
|
+
const firstDayOfWeek = this.locale?.options?.weekStartsOn || 0;
|
|
12105
12110
|
this.dayNamesOfTheWeek = allDays.slice(firstDayOfWeek).concat(allDays.slice(0, firstDayOfWeek));
|
|
12106
12111
|
}
|
|
12107
12112
|
|
|
@@ -12967,7 +12972,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
12967
12972
|
}
|
|
12968
12973
|
}
|
|
12969
12974
|
|
|
12970
|
-
var formkitVersion$2 = '
|
|
12975
|
+
var formkitVersion$2 = '202606031942';
|
|
12971
12976
|
|
|
12972
12977
|
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}
|
|
12973
12978
|
`,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}}
|
|
@@ -17343,7 +17348,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
17343
17348
|
}
|
|
17344
17349
|
};
|
|
17345
17350
|
|
|
17346
|
-
var formkitVersion$1 = '
|
|
17351
|
+
var formkitVersion$1 = '202606031942';
|
|
17347
17352
|
|
|
17348
17353
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
17349
17354
|
static get properties() {
|
|
@@ -30594,7 +30599,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
30594
30599
|
}
|
|
30595
30600
|
};
|
|
30596
30601
|
|
|
30597
|
-
var formkitVersion = '
|
|
30602
|
+
var formkitVersion = '202606031942';
|
|
30598
30603
|
|
|
30599
30604
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
30600
30605
|
// See LICENSE in the project root for license information.
|
|
@@ -31966,11 +31971,6 @@ const datepickerKeyboardStrategy = {
|
|
|
31966
31971
|
// See LICENSE in the project root for license information.
|
|
31967
31972
|
|
|
31968
31973
|
|
|
31969
|
-
const getMonthNamesFromLocale = (locale) => {
|
|
31970
|
-
const fmt = new Intl.DateTimeFormat(locale || 'en-US', { month: 'long' });
|
|
31971
|
-
return Array.from({ length: 12 }, (_, i) => fmt.format(new Date(2000, i, 1)));
|
|
31972
|
-
};
|
|
31973
|
-
|
|
31974
31974
|
|
|
31975
31975
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
31976
31976
|
/**
|
|
@@ -33174,24 +33174,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
33174
33174
|
return this.validity !== undefined && this.validity !== 'valid';
|
|
33175
33175
|
}
|
|
33176
33176
|
|
|
33177
|
-
/**
|
|
33178
|
-
* @private
|
|
33179
|
-
* Lifecycle method used to react to changes in properties.
|
|
33180
|
-
* In this case, we want to update the default month names when the locale changes.
|
|
33181
|
-
* @param {*} changedProperties
|
|
33182
|
-
*/
|
|
33183
|
-
willUpdate(changedProperties) {
|
|
33184
|
-
if (changedProperties.has('locale')) {
|
|
33185
|
-
|
|
33186
|
-
/**
|
|
33187
|
-
* Default month names are derived from the locale,
|
|
33188
|
-
* but can be overridden by the monthNames property.
|
|
33189
|
-
* @private
|
|
33190
|
-
*/
|
|
33191
|
-
this._defaultMonthNames = getMonthNamesFromLocale(this.locale);
|
|
33192
|
-
}
|
|
33193
|
-
}
|
|
33194
|
-
|
|
33195
33177
|
updated(changedProperties) {
|
|
33196
33178
|
if (changedProperties.has('locale')) {
|
|
33197
33179
|
if (!changedProperties.has('format')) {
|
|
@@ -33843,7 +33825,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
33843
33825
|
.monthFirst="${this.format.indexOf('mm') < this.format.indexOf('yyyy')}"
|
|
33844
33826
|
.maxDate="${this.maxDate}"
|
|
33845
33827
|
.minDate="${this.minDate}"
|
|
33846
|
-
.monthNames="${this.monthNames
|
|
33828
|
+
.monthNames="${this.monthNames}"
|
|
33847
33829
|
.localeCode="${this.locale}"
|
|
33848
33830
|
.mobileBreakpoint="${this.mobileBreakpoint}"
|
|
33849
33831
|
part="calendar"
|