@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.7 → 0.0.0-pr1628.9
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/bibtemplate/dist/auro-bibtemplate.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +1 -1
- package/components/bibtemplate/dist/registered.js +1 -1
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/accessibility.md +2 -2
- package/components/checkbox/demo/api.md +17 -17
- package/components/checkbox/demo/customize.md +16 -16
- package/components/checkbox/demo/customize.min.js +3 -3
- package/components/checkbox/demo/design.md +24 -24
- package/components/checkbox/demo/getting-started.md +33 -27
- package/components/checkbox/demo/getting-started.min.js +3 -3
- package/components/checkbox/demo/index.md +17 -17
- package/components/checkbox/demo/index.min.js +3 -3
- package/components/checkbox/demo/readme.md +1 -1
- package/components/checkbox/dist/auro-checkbox-group.d.ts +2 -2
- package/components/checkbox/dist/index.js +3 -3
- package/components/checkbox/dist/registered.js +3 -3
- package/components/combobox/demo/api.md +3 -3
- package/components/combobox/demo/css-only.md +3 -3
- package/components/combobox/demo/customize.md +12 -12
- package/components/combobox/demo/customize.min.js +22 -19
- package/components/combobox/demo/getting-started.min.js +22 -19
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +22 -19
- package/components/combobox/dist/auro-combobox.d.ts +6 -4
- package/components/combobox/dist/index.js +21 -18
- package/components/combobox/dist/registered.js +21 -18
- package/components/counter/demo/accessibility.md +1 -1
- package/components/counter/demo/css-only.md +1 -1
- package/components/counter/demo/customize.md +2 -2
- package/components/counter/demo/customize.min.js +12 -12
- package/components/counter/demo/getting-started.min.js +12 -12
- package/components/counter/demo/index.min.js +12 -12
- package/components/counter/demo/why-counter.md +3 -3
- package/components/counter/dist/auro-counter-group.d.ts +2 -3
- package/components/counter/dist/index.js +12 -12
- package/components/counter/dist/registered.js +12 -12
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/accessibility.md +2 -2
- package/components/datepicker/demo/css-only.md +4 -4
- package/components/datepicker/demo/customize.md +3 -3
- package/components/datepicker/demo/customize.min.js +128 -113
- package/components/datepicker/demo/design.md +2 -2
- package/components/datepicker/demo/getting-started.md +1 -1
- package/components/datepicker/demo/getting-started.min.js +128 -113
- package/components/datepicker/demo/index.md +2 -2
- package/components/datepicker/demo/index.min.js +128 -113
- package/components/datepicker/demo/keyboard-behavior.md +1 -1
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/demo/voiceover.md +3 -3
- package/components/datepicker/demo/why-datepicker.md +3 -3
- package/components/datepicker/dist/auro-calendar-cell.d.ts +32 -33
- package/components/datepicker/dist/auro-calendar-month.d.ts +8 -8
- package/components/datepicker/dist/auro-calendar.d.ts +43 -42
- package/components/datepicker/dist/auro-datepicker.d.ts +9 -7
- package/components/datepicker/dist/index.js +128 -113
- package/components/datepicker/dist/registered.js +128 -113
- package/components/datepicker/dist/utilities.d.ts +1 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts +9 -4
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +9 -6
- package/components/dropdown/demo/api.md +1 -1
- package/components/dropdown/demo/customize.min.js +8 -7
- package/components/dropdown/demo/getting-started.min.js +13 -12
- package/components/dropdown/demo/index.min.js +8 -7
- package/components/dropdown/demo/voiceover.md +1 -1
- package/components/dropdown/demo/why-dropdown.md +1 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +7 -6
- package/components/dropdown/dist/index.js +8 -7
- package/components/dropdown/dist/registered.js +8 -7
- package/components/form/README.md +1 -1
- package/components/form/demo/api.md +1 -1
- package/components/form/demo/css-only.md +1 -1
- package/components/form/demo/customize.md +2 -0
- package/components/form/demo/customize.min.js +185 -168
- package/components/form/demo/getting-started.md +2 -0
- package/components/form/demo/getting-started.min.js +185 -168
- package/components/form/demo/index.min.js +185 -168
- package/components/form/demo/keyboard-behavior.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/form/demo/registerDemoDeps.min.js +184 -167
- package/components/form/demo/voiceover.md +2 -2
- package/components/form/dist/auro-form.d.ts +1 -1
- package/components/form/dist/index.js +1 -1
- package/components/form/dist/registered.js +1 -1
- package/components/input/demo/api.md +1 -1
- package/components/input/demo/css-only.md +4 -4
- package/components/input/demo/customize.md +4 -4
- package/components/input/demo/customize.min.js +5 -5
- package/components/input/demo/design.md +2 -2
- package/components/input/demo/getting-started.md +2 -2
- package/components/input/demo/getting-started.min.js +5 -5
- package/components/input/demo/index.md +1 -1
- package/components/input/demo/index.min.js +5 -5
- package/components/input/demo/why-input.md +2 -2
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +3 -3
- package/components/input/dist/index.js +5 -5
- package/components/input/dist/registered.js +5 -5
- package/components/menu/demo/api.md +1 -1
- package/components/menu/demo/css-only.md +4 -4
- package/components/menu/demo/getting-started.md +2 -2
- package/components/menu/demo/index.min.js +1 -1
- package/components/menu/demo/why-menu.md +3 -3
- package/components/menu/dist/auro-menu.d.ts +1 -1
- package/components/menu/dist/index.js +1 -1
- package/components/menu/dist/registered.js +1 -1
- package/components/radio/demo/api.md +4 -4
- package/components/radio/demo/customize.md +14 -4
- package/components/radio/demo/customize.min.js +4 -6
- package/components/radio/demo/getting-started.md +2 -2
- package/components/radio/demo/getting-started.min.js +4 -6
- package/components/radio/demo/index.min.js +4 -6
- package/components/radio/demo/why-radio.md +1 -1
- package/components/radio/dist/auro-radio-group.d.ts +3 -5
- package/components/radio/dist/index.js +4 -6
- package/components/radio/dist/registered.js +4 -6
- package/components/select/demo/css-only.md +1 -1
- package/components/select/demo/customize.md +1 -1
- package/components/select/demo/customize.min.js +11 -10
- package/components/select/demo/getting-started.min.js +11 -10
- package/components/select/demo/index.md +1 -1
- package/components/select/demo/index.min.js +11 -10
- package/components/select/demo/voiceover.md +1 -1
- package/components/select/dist/index.js +10 -9
- package/components/select/dist/registered.js +10 -9
- package/custom-elements.json +88 -84
- package/package.json +1 -1
|
@@ -10670,7 +10670,7 @@ class AuroDatepickerUtilities {
|
|
|
10670
10670
|
}
|
|
10671
10671
|
|
|
10672
10672
|
/**
|
|
10673
|
-
*
|
|
10673
|
+
* Checks whether two dates are the same moment in time.
|
|
10674
10674
|
* @private
|
|
10675
10675
|
* @param {Object} date1 - The first date to compare.
|
|
10676
10676
|
* @param {Object} date2 - The second date to compare.
|
|
@@ -10686,13 +10686,18 @@ class AuroDatepickerUtilities {
|
|
|
10686
10686
|
*/
|
|
10687
10687
|
class UtilitiesCalendarRender {
|
|
10688
10688
|
constructor() {
|
|
10689
|
+
|
|
10690
|
+
/**
|
|
10691
|
+
* The date helpers these methods use.
|
|
10692
|
+
* @private
|
|
10693
|
+
*/
|
|
10689
10694
|
this.util = new AuroDatepickerUtilities();
|
|
10690
10695
|
}
|
|
10691
10696
|
|
|
10692
10697
|
/**
|
|
10693
10698
|
* Sets `centralDate` to the first day of the date's month, when the date is valid.
|
|
10694
|
-
* @param {Object} elem - The element to set
|
|
10695
|
-
* @param {
|
|
10699
|
+
* @param {Object} elem - The element to set `centralDate` on.
|
|
10700
|
+
* @param {string|Date|number} date - The date whose month to show: an ISO date string, a `Date` object, or a timestamp in milliseconds.
|
|
10696
10701
|
* @private
|
|
10697
10702
|
*/
|
|
10698
10703
|
updateCentralDate(elem, date) {
|
|
@@ -10818,12 +10823,12 @@ class UtilitiesCalendarRender {
|
|
|
10818
10823
|
}
|
|
10819
10824
|
|
|
10820
10825
|
/**
|
|
10821
|
-
* Renders
|
|
10826
|
+
* Renders an `auro-formkit-calendar-month` element for one month.
|
|
10822
10827
|
* @private
|
|
10823
10828
|
* @param {Object} elem - The auro-calendar element.
|
|
10824
10829
|
* @param {Number} month - The month the calendar displays.
|
|
10825
10830
|
* @param {Number} year - The year the calendar displays.
|
|
10826
|
-
* @returns {Object} The auro-calendar-month
|
|
10831
|
+
* @returns {Object} The `auro-formkit-calendar-month` template.
|
|
10827
10832
|
*/
|
|
10828
10833
|
renderCalendar(elem, month, year) {
|
|
10829
10834
|
return html`
|
|
@@ -11945,7 +11950,9 @@ class AuroCalendarCell extends LitElement {
|
|
|
11945
11950
|
}
|
|
11946
11951
|
|
|
11947
11952
|
/**
|
|
11948
|
-
*
|
|
11953
|
+
* Called when someone clicks the cell's button, or presses Enter or Space while it's the active cell.
|
|
11954
|
+
* Selects the cell's date unless the cell is turned off or the date is a blackout date, and fires
|
|
11955
|
+
* `calendar-cell-activate` so the calendar makes the cell the active cell.
|
|
11949
11956
|
* @private
|
|
11950
11957
|
* @returns {void}
|
|
11951
11958
|
*/
|
|
@@ -11965,9 +11972,9 @@ class AuroCalendarCell extends LitElement {
|
|
|
11965
11972
|
}
|
|
11966
11973
|
|
|
11967
11974
|
/**
|
|
11968
|
-
*
|
|
11969
|
-
*
|
|
11970
|
-
*
|
|
11975
|
+
* Called when the pointer moves over the cell's button. Fires `date-is-hovered` with the cell's date.
|
|
11976
|
+
* Doesn't set any reactive properties, because the calendar updates the range preview
|
|
11977
|
+
* directly to avoid re-rendering every cell.
|
|
11971
11978
|
* @private
|
|
11972
11979
|
* @returns {void}
|
|
11973
11980
|
*/
|
|
@@ -11978,10 +11985,8 @@ class AuroCalendarCell extends LitElement {
|
|
|
11978
11985
|
}
|
|
11979
11986
|
|
|
11980
11987
|
/**
|
|
11981
|
-
*
|
|
11982
|
-
*
|
|
11983
|
-
* announcements and range preview updates without triggering
|
|
11984
|
-
* any Lit lifecycle updates.
|
|
11988
|
+
* Called when the cell's button gets focus. Fires `calendar-cell-focused` so the calendar can
|
|
11989
|
+
* announce the date to screen readers and update the range preview without re-rendering the cell.
|
|
11985
11990
|
* @private
|
|
11986
11991
|
* @returns {void}
|
|
11987
11992
|
*/
|
|
@@ -11994,12 +11999,12 @@ class AuroCalendarCell extends LitElement {
|
|
|
11994
11999
|
}
|
|
11995
12000
|
|
|
11996
12001
|
/**
|
|
11997
|
-
* Checks
|
|
11998
|
-
* Out-of-range cells
|
|
12002
|
+
* Checks whether the cell's date is earlier than `min` or later than `max`.
|
|
12003
|
+
* Out-of-range cells aren't focusable and are hidden from screen readers.
|
|
11999
12004
|
* @private
|
|
12000
|
-
* @param {Object} day -
|
|
12001
|
-
* @param {Number} min - The
|
|
12002
|
-
* @param {Number} max - The
|
|
12005
|
+
* @param {Object} day - The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.
|
|
12006
|
+
* @param {Number} min - The earliest date people can choose, as a Unix timestamp in seconds.
|
|
12007
|
+
* @param {Number} max - The latest date people can choose, as a Unix timestamp in seconds.
|
|
12003
12008
|
* @returns {Boolean} True if the date is out of range; false otherwise.
|
|
12004
12009
|
*/
|
|
12005
12010
|
isOutOfRange(day, min, max) {
|
|
@@ -12050,16 +12055,15 @@ class AuroCalendarCell extends LitElement {
|
|
|
12050
12055
|
}
|
|
12051
12056
|
|
|
12052
12057
|
/**
|
|
12053
|
-
* Checks
|
|
12054
|
-
*
|
|
12055
|
-
*
|
|
12056
|
-
* disabledDays. Note: blackout dates are handled separately by `isBlackout()`.
|
|
12058
|
+
* Checks whether the cell's date is turned off because it's outside `min` and `max` or in the
|
|
12059
|
+
* deprecated `disabledDays`, and sets the host's `disabled` attribute to match. Despite its name,
|
|
12060
|
+
* it returns true for a turned-off date. Blackout dates are handled separately by `isBlackout()`.
|
|
12057
12061
|
* @private
|
|
12058
|
-
* @param {Object} day -
|
|
12059
|
-
* @param {Number} min - The
|
|
12060
|
-
* @param {Number} max - The
|
|
12061
|
-
* @param {Array} disabledDays -
|
|
12062
|
-
* @returns {Boolean} True if the date is
|
|
12062
|
+
* @param {Object} day - The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.
|
|
12063
|
+
* @param {Number} min - The earliest date people can choose, as a Unix timestamp in seconds.
|
|
12064
|
+
* @param {Number} max - The latest date people can choose, as a Unix timestamp in seconds.
|
|
12065
|
+
* @param {Array} disabledDays - The deprecated array of dates people can't select, as Unix timestamps in seconds.
|
|
12066
|
+
* @returns {Boolean} True if the date is turned off; false otherwise.
|
|
12063
12067
|
*/
|
|
12064
12068
|
isEnabled(day, min, max, disabledDays) {
|
|
12065
12069
|
this.removeAttribute('disabled');
|
|
@@ -12074,9 +12078,9 @@ class AuroCalendarCell extends LitElement {
|
|
|
12074
12078
|
}
|
|
12075
12079
|
|
|
12076
12080
|
/**
|
|
12077
|
-
* Generates a unique cell ID in the format cell-YYYY-MM-DD
|
|
12081
|
+
* Generates a unique cell ID in the format `cell-YYYY-MM-DD`.
|
|
12078
12082
|
* @private
|
|
12079
|
-
* @returns {String} The unique cell ID.
|
|
12083
|
+
* @returns {String} The unique cell ID, or an empty string when the cell has no date.
|
|
12080
12084
|
*/
|
|
12081
12085
|
getCellId() {
|
|
12082
12086
|
if (!this.day || !this.day.date) return '';
|
|
@@ -12088,10 +12092,10 @@ class AuroCalendarCell extends LitElement {
|
|
|
12088
12092
|
}
|
|
12089
12093
|
|
|
12090
12094
|
/**
|
|
12091
|
-
* Generates
|
|
12092
|
-
*
|
|
12095
|
+
* Generates the cell's localized `aria-label` with `Intl.DateTimeFormat`.
|
|
12096
|
+
* Adds the date slot and popover content, the range position, and the blackout label.
|
|
12093
12097
|
* @private
|
|
12094
|
-
* @returns {String} The aria-label string.
|
|
12098
|
+
* @returns {String} The `aria-label` text, or an empty string when the cell has no date.
|
|
12095
12099
|
*/
|
|
12096
12100
|
getAriaLabel() {
|
|
12097
12101
|
if (!this.day || this.day.date === undefined) return '';
|
|
@@ -12263,10 +12267,10 @@ class AuroCalendarCell extends LitElement {
|
|
|
12263
12267
|
}
|
|
12264
12268
|
|
|
12265
12269
|
/**
|
|
12266
|
-
*
|
|
12270
|
+
* Formats a date as a full date in the cell's `locale`, such as "Monday, April 21, 2025" for `en-US`.
|
|
12267
12271
|
* @private
|
|
12268
|
-
* @param {Number} date - The date
|
|
12269
|
-
* @returns {String} The
|
|
12272
|
+
* @param {Number} date - The date, as a Unix timestamp in seconds.
|
|
12273
|
+
* @returns {String} The formatted date, or an empty string when `date` is undefined.
|
|
12270
12274
|
*/
|
|
12271
12275
|
getTitle(date) {
|
|
12272
12276
|
if (date === undefined) {
|
|
@@ -12313,7 +12317,7 @@ class AuroCalendarCell extends LitElement {
|
|
|
12313
12317
|
}
|
|
12314
12318
|
|
|
12315
12319
|
/**
|
|
12316
|
-
*
|
|
12320
|
+
* Removes the cell's copied slot content, then copies in the `date_YYYY_MM_DD` and `popover_YYYY_MM_DD` content for the cell's date from `auro-datepicker`.
|
|
12317
12321
|
* @private
|
|
12318
12322
|
* @returns {void}
|
|
12319
12323
|
*/
|
|
@@ -12475,8 +12479,8 @@ class AuroCalendarCell extends LitElement {
|
|
|
12475
12479
|
}
|
|
12476
12480
|
|
|
12477
12481
|
/**
|
|
12478
|
-
* Sets
|
|
12479
|
-
* and blackout
|
|
12482
|
+
* Sets ARIA attributes on the cell so screen reader users browsing the month grid hear its date,
|
|
12483
|
+
* whether it's selected, and whether it's a blackout date. Removes them for a date outside `min` and `max`.
|
|
12480
12484
|
* @private
|
|
12481
12485
|
* @returns {void}
|
|
12482
12486
|
*/
|
|
@@ -12718,8 +12722,8 @@ const getMonthNamesFromLocale = (locale) => {
|
|
|
12718
12722
|
* Gets the localized names of the days of the week, starting from Sunday, in the given style.
|
|
12719
12723
|
* Uses UTC dates to avoid DST-related day drift across timezones.
|
|
12720
12724
|
* @private
|
|
12721
|
-
* @param {String} locale - The BCP 47 language tag for localization, such as
|
|
12722
|
-
* @param {String} weekday - The style of the weekday name:
|
|
12725
|
+
* @param {String} locale - The BCP 47 language tag for localization, such as `en-US`.
|
|
12726
|
+
* @param {String} weekday - The style of the weekday name: `narrow`, `short`, or `long`.
|
|
12723
12727
|
* @returns {Array} An array of seven localized weekday names, starting from Sunday.
|
|
12724
12728
|
*/
|
|
12725
12729
|
const getWeekdayNames = (locale, weekday) => {
|
|
@@ -12852,10 +12856,10 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12852
12856
|
}
|
|
12853
12857
|
|
|
12854
12858
|
/**
|
|
12855
|
-
* Renders a day-of-week column header that shows the
|
|
12859
|
+
* Renders a day-of-week column header that shows the narrow day name, such as "S" for Sunday in `en-US`, and gives screen readers the full name with `aria-label`.
|
|
12856
12860
|
* @private
|
|
12857
|
-
* @param {String} dayOfWeek - The
|
|
12858
|
-
* @param {Number} index - The index in
|
|
12861
|
+
* @param {String} dayOfWeek - The narrow day name, such as "S".
|
|
12862
|
+
* @param {Number} index - The column's index in `dayNamesOfTheWeek`, from 0 for Sunday.
|
|
12859
12863
|
* @returns {Object} The header HTML.
|
|
12860
12864
|
*/
|
|
12861
12865
|
renderDayOfWeek(dayOfWeek, index) {
|
|
@@ -12878,9 +12882,9 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12878
12882
|
}
|
|
12879
12883
|
|
|
12880
12884
|
/**
|
|
12881
|
-
*
|
|
12882
|
-
*
|
|
12883
|
-
* the
|
|
12885
|
+
* Called when a cell fires `date-is-hovered`. Fires `hovered-date-changed` with the date
|
|
12886
|
+
* instead of setting the base class's reactive `hoveredDate`, so the calendar can update
|
|
12887
|
+
* the range preview without re-rendering.
|
|
12884
12888
|
* @private
|
|
12885
12889
|
* @param {CustomEvent} event - The date-is-hovered event from a cell.
|
|
12886
12890
|
* @returns {void}
|
|
@@ -12892,8 +12896,8 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12892
12896
|
}
|
|
12893
12897
|
|
|
12894
12898
|
/**
|
|
12895
|
-
*
|
|
12896
|
-
* so the
|
|
12899
|
+
* Called when the pointer leaves the month's date grid. Fires a bubbling
|
|
12900
|
+
* `calendar-month-mouseleave` event so the calendar can clear the range preview.
|
|
12897
12901
|
* @private
|
|
12898
12902
|
* @returns {void}
|
|
12899
12903
|
*/
|
|
@@ -13245,6 +13249,11 @@ var chevronRight = {"role":"img","color":"currentColor","title":"","desc":"Direc
|
|
|
13245
13249
|
*/
|
|
13246
13250
|
class CalendarUtilities {
|
|
13247
13251
|
constructor() {
|
|
13252
|
+
|
|
13253
|
+
/**
|
|
13254
|
+
* The date helpers these methods use.
|
|
13255
|
+
* @private
|
|
13256
|
+
*/
|
|
13248
13257
|
this.util = new AuroDatepickerUtilities();
|
|
13249
13258
|
}
|
|
13250
13259
|
|
|
@@ -13270,7 +13279,8 @@ class CalendarUtilities {
|
|
|
13270
13279
|
}
|
|
13271
13280
|
|
|
13272
13281
|
/**
|
|
13273
|
-
*
|
|
13282
|
+
* Called when someone selects the fullscreen calendar's close button or the Done button.
|
|
13283
|
+
* Fires `auroCalendar-dismissRequest` so the datepicker closes the calendar.
|
|
13274
13284
|
* @private
|
|
13275
13285
|
* @returns {void}
|
|
13276
13286
|
*/
|
|
@@ -13346,7 +13356,8 @@ class CalendarUtilities {
|
|
|
13346
13356
|
}
|
|
13347
13357
|
|
|
13348
13358
|
/**
|
|
13349
|
-
*
|
|
13359
|
+
* Called when the calendar's `centralDate` changes. Updates the previous and next month buttons
|
|
13360
|
+
* and fires `auroCalendar-centralDateChanged` with the new date.
|
|
13350
13361
|
* @param {Object} elem - The auro-calendar element.
|
|
13351
13362
|
* @private
|
|
13352
13363
|
* @returns {void}
|
|
@@ -13757,7 +13768,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13757
13768
|
}
|
|
13758
13769
|
|
|
13759
13770
|
/**
|
|
13760
|
-
* Called
|
|
13771
|
+
* Called when a `touchmove` event reaches the element. Stops the page behind the bib from scrolling when the touch is on the bibtemplate's own layout, such as its padding, instead of on slotted content.
|
|
13761
13772
|
* @param {Event} event - The `touchmove` event.
|
|
13762
13773
|
* @returns {void}
|
|
13763
13774
|
*/
|
|
@@ -13853,7 +13864,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13853
13864
|
}
|
|
13854
13865
|
}
|
|
13855
13866
|
|
|
13856
|
-
var formkitVersion$2 = '
|
|
13867
|
+
var formkitVersion$2 = '202611090436';
|
|
13857
13868
|
|
|
13858
13869
|
let l$1 = class l{generateElementName(e,t){let s=e;return s+="-",s+=t.replace(/[.]/g,"_"),s}generateTag(s,o,a){const r=this.generateElementName(s,o),i=literal`${unsafeStatic(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let h$1 = class h{registerComponent(e,t){customElements.get(e)||customElements.define(e,class extends t{});}closestElement(e,t=this,s=(t,o=t&&t.closest(e))=>t&&t!==document&&t!==window?o||s(t.getRootNode().host):null){return s(t)}handleComponentTagRename(e,t){const s=t.toLowerCase();e.tagName.toLowerCase()!==s&&e.setAttribute(s,true);}elementMatch(e,t){const s=t.toLowerCase();return e.tagName.toLowerCase()===s||e.hasAttribute(s)}getSlotText(e,t){const s=e.shadowRoot?.querySelector(`slot[name="${t}"]`),o=(s?.assignedNodes({flatten:true})||[]).map(e=>e.textContent?.trim()).join(" ").trim();return o||null}};let d$1 = class d{registerComponent(e,t){customElements.get(e)||customElements.define(e,class extends t{});}closestElement(e,t=this,s=(t,o=t&&t.closest(e))=>t&&t!==document&&t!==window?o||s(t.getRootNode().host):null){return s(t)}handleComponentTagRename(e,t){const s=t.toLowerCase();e.tagName.toLowerCase()!==s&&e.setAttribute(s,true);}elementMatch(e,t){const s=t.toLowerCase();return e.tagName.toLowerCase()===s||e.hasAttribute(s)}getSlotText(e,t){const s=e.shadowRoot?.querySelector(`slot[name="${t}"]`);return (s?.assignedNodes({flatten:true})||[]).map(e=>e.textContent?.trim()).join(" ").trim()||null}};var c$1=css`:host{color:var(--ds-auro-loader-color)}:host>.loader-shape>span{border-color:var(--ds-auro-loader-border-color);background-color:var(--ds-auro-loader-background-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])>.loader-shape>span{--ds-auro-loader-background-color: transparent}:host([orbit])>.loader-shape>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>.loader-shape>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
13859
13870
|
`,u$4=css`.body-default{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-default-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{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-default-emphasized-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{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-lg-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{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-lg-emphasized-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{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-sm-font-size, .875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{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-sm-emphasized-font-size, .875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{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-xs-font-size, .75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{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-xs-emphasized-font-size, .75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-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-variant-ligatures:none;font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, .875rem)}.body-2xs,.body-2xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{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-emphasized-font-size, .625rem);font-variant-ligatures:none;font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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-variant-ligatures:none;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{position:relative;display:inline-flex;flex-direction:column;align-items:center}:host([message-position=top]){flex-direction:column-reverse}:host([message-position=left]){flex-direction:row-reverse}:host([message-position=right]){flex-direction:row}:host([has-message]){gap:var(--ds-auro-loader-message-spacing)}.loader-shape{position:relative;display:inline-block;width:2rem;height:2rem;flex-shrink:0;font-size:0}.loader-shape>span{position:absolute;top:0;left:0;display:inline-block;width:2rem;height:2rem;box-sizing:border-box;border-width:0;border-style:solid;border-radius:100%;float:none}:host([xs])>.loader-shape{width:1.2rem;height:1.2rem}:host([xs])>.loader-shape>span{width:1.2rem;height:1.2rem}:host([sm])>.loader-shape{width:3rem;height:3rem}:host([sm])>.loader-shape>span{width:3rem;height:3rem}:host([md])>.loader-shape{width:5rem;height:5rem}:host([md])>.loader-shape>span{width:5rem;height:5rem}:host([lg])>.loader-shape{width:8rem;height:8rem}:host([lg])>.loader-shape>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]){position:relative}:host([pulse])>.loader-shape{position:relative;width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>.loader-shape>span{position:relative;width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse])>.loader-shape>span:nth-child(1){animation-delay:-.4s}:host([pulse])>.loader-shape>span:nth-child(2){animation-delay:-.2s}:host([pulse])>.loader-shape>span:nth-child(3){animation-delay:0ms}:host([pulse][xs])>.loader-shape{width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>.loader-shape>span{width:.65rem;height:.65rem;margin:var(--margin-xs)}:host([pulse][sm])>.loader-shape{width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>.loader-shape>span{width:2rem;height:2rem;margin:var(--margin-sm)}:host([pulse][md])>.loader-shape{width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>.loader-shape>span{width:3rem;height:3rem;margin:var(--margin-md)}:host([pulse][lg])>.loader-shape{width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>.loader-shape>span{width:5rem;height:5rem;margin:var(--margin-lg)}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]){opacity:1}:host([orbit])>.loader-shape>span{border-width:5px;opacity:1}:host([orbit])>.loader-shape>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>.loader-shape>span{border-width:8px}:host([orbit][md])>.loader-shape>span{border-width:13px}:host([orbit][lg])>.loader-shape>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>.loader-shape>svg{width:100%;height:100%;animation:rotate 2s linear infinite;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{animation:ringworm 1.5s ease-in-out infinite;stroke-dashoffset:0;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;display:block;overflow:hidden;width:100%;height:0;font-size:unset}:host([laser])>.no-animation,:host([laser])>.message-region{display:none}:host([laser])>.loader-shape>span{position:fixed;z-index:100;width:100%;height:.25rem;border-radius:0}:host([laser])>.loader-shape>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>.loader-shape>span:nth-child(2){width:50%;border-color:currentcolor;animation:laser 2s linear infinite;opacity:1}:host([laser][sm])>.loader-shape>span:nth-child(2){width:20%}:host([laser][md])>.loader-shape>span:nth-child(2){width:30%}:host([laser][lg])>.loader-shape>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>.loader-shape>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}.message-region{min-width:0;color:var(--ds-auro-loader-message-color)}.message-list{padding:0;margin:0}slot[name=message]::slotted([hidden]){display:none!important}:host>.no-animation{display:none;min-width:0}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>.loader-shape{display:none}:host>.loader-shape>span{opacity:1}:host>.no-animation{display:block}:host([has-default-content])>.message-region{display:none}:host([has-message]:not([has-default-content]))>.no-animation{display:none}}
|
|
@@ -14017,18 +14028,13 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14017
14028
|
*/
|
|
14018
14029
|
this.calendarRangeMonths = null;
|
|
14019
14030
|
|
|
14020
|
-
/**
|
|
14021
|
-
* @deprecated Use `auro-datepicker.blackoutDates` (an array of
|
|
14022
|
-
* `YYYY-MM-DD` ISO strings) instead. This legacy array of Unix
|
|
14023
|
-
* timestamps is still honored for backward compatibility but emits a
|
|
14024
|
-
* one-time `console.debug` the first time a non-empty value is observed.
|
|
14025
|
-
* Support will be removed in a future major release.
|
|
14026
|
-
* @private
|
|
14027
|
-
*/
|
|
14028
14031
|
// Initialize the backing field directly so the constructor's default
|
|
14029
14032
|
// empty array doesn't trigger the deprecation warning. Assignments from
|
|
14030
14033
|
// consumers still route through the setter below.
|
|
14031
14034
|
/**
|
|
14035
|
+
* Deprecated: Use `blackoutDates` on `auro-datepicker` instead.
|
|
14036
|
+
* Holds the dates set with the deprecated `disabledDays`, as Unix timestamps in seconds. The calendar still honors them, and the first non-empty value logs a one-time console message.
|
|
14037
|
+
* @deprecated Use `blackoutDates` on `auro-datepicker` instead.
|
|
14032
14038
|
* @private
|
|
14033
14039
|
* @type {number[]}
|
|
14034
14040
|
*/
|
|
@@ -14205,7 +14211,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14205
14211
|
},
|
|
14206
14212
|
|
|
14207
14213
|
/**
|
|
14208
|
-
*
|
|
14214
|
+
* Sets the window width, in pixels, below which `scrollMonthIntoView()` scrolls to a month. The datepicker doesn't currently set it.
|
|
14209
14215
|
* @private
|
|
14210
14216
|
*/
|
|
14211
14217
|
mobileBreakpoint: {
|
|
@@ -14403,9 +14409,10 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14403
14409
|
}
|
|
14404
14410
|
|
|
14405
14411
|
/**
|
|
14406
|
-
* Renders
|
|
14412
|
+
* Renders the calendar's `auro-formkit-calendar-month` elements, one for each month shown.
|
|
14413
|
+
* Renders nothing until `visible` is set.
|
|
14407
14414
|
* @private
|
|
14408
|
-
* @returns {Object} The
|
|
14415
|
+
* @returns {Object|undefined} The months' template, or undefined when `visible` isn't set.
|
|
14409
14416
|
*/
|
|
14410
14417
|
renderAllCalendars() {
|
|
14411
14418
|
let renderedHtml = undefined;
|
|
@@ -14619,7 +14626,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14619
14626
|
}
|
|
14620
14627
|
|
|
14621
14628
|
/**
|
|
14622
|
-
* Shows the
|
|
14629
|
+
* Called when focus moves into the calendar grid. Shows the focus ring on the active cell
|
|
14630
|
+
* when the grid itself gets focus, not a cell inside it.
|
|
14623
14631
|
* @private
|
|
14624
14632
|
* @param {FocusEvent} [event] - The focusin event.
|
|
14625
14633
|
* @returns {void}
|
|
@@ -14648,7 +14656,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14648
14656
|
}
|
|
14649
14657
|
|
|
14650
14658
|
/**
|
|
14651
|
-
*
|
|
14659
|
+
* Called when the calendar grid or an element in it loses focus. Removes the focus ring from
|
|
14660
|
+
* every cell, and clears the range preview while the range doesn't have both dates.
|
|
14652
14661
|
* @private
|
|
14653
14662
|
* @returns {void}
|
|
14654
14663
|
*/
|
|
@@ -14739,15 +14748,17 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14739
14748
|
/**
|
|
14740
14749
|
* Computes the initial active date from data properties alone, without the DOM.
|
|
14741
14750
|
* Priority:
|
|
14742
|
-
* 1.
|
|
14743
|
-
* 2.
|
|
14744
|
-
* 3.
|
|
14745
|
-
* 4.
|
|
14746
|
-
* 5.
|
|
14747
|
-
*
|
|
14748
|
-
*
|
|
14749
|
-
*
|
|
14750
|
-
*
|
|
14751
|
+
* 1. The selected date (`dateFrom`), if it's within range.
|
|
14752
|
+
* 2. When `centralDate` is in a different month than today, the first enabled date in that month, or else its first in-range date.
|
|
14753
|
+
* 3. Today's date, if it's enabled (in range and not a blackout date).
|
|
14754
|
+
* 4. The first enabled date in the visible months, or else their first in-range date.
|
|
14755
|
+
* 5. The first enabled date after today, scanning day by day for up to a year.
|
|
14756
|
+
* 6. The first enabled date before today, scanning day by day for up to a year.
|
|
14757
|
+
* 7. The first enabled date in a finite [min, max] range.
|
|
14758
|
+
* 7b. The first enabled date scanning forward from a finite min (unbounded max).
|
|
14759
|
+
* 7c. The first enabled date scanning backward from a finite max (unbounded min).
|
|
14760
|
+
* 8. An in-range date, even if it's a blackout date, so focus can land somewhere: min when it's finite, or else today.
|
|
14761
|
+
* 9. Undefined: no valid target.
|
|
14751
14762
|
*
|
|
14752
14763
|
* @private
|
|
14753
14764
|
* @param {Object} [options] - The optional settings.
|
|
@@ -14995,9 +15006,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14995
15006
|
}
|
|
14996
15007
|
|
|
14997
15008
|
/**
|
|
14998
|
-
*
|
|
14999
|
-
*
|
|
15000
|
-
*
|
|
15009
|
+
* Called when a key is pressed while the calendar grid has focus. The arrow keys move the
|
|
15010
|
+
* active cell, into another month when needed, and Enter or Space selects the active date
|
|
15011
|
+
* unless it's a blackout date. Focus stays on the grid, and the live region announces the new active cell.
|
|
15001
15012
|
* @private
|
|
15002
15013
|
* @param {KeyboardEvent} event - The keyboard event.
|
|
15003
15014
|
* @returns {void}
|
|
@@ -15129,7 +15140,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15129
15140
|
}
|
|
15130
15141
|
|
|
15131
15142
|
/**
|
|
15132
|
-
*
|
|
15143
|
+
* Called when the calendar receives a `calendar-month-boundary` event. Moves the active cell
|
|
15144
|
+
* across a month boundary for the arrow key in `event.detail.key`. Nothing in the datepicker
|
|
15145
|
+
* currently fires this event.
|
|
15133
15146
|
* @private
|
|
15134
15147
|
* @param {CustomEvent} event - The boundary event with direction and source date info.
|
|
15135
15148
|
* @returns {void}
|
|
@@ -15270,7 +15283,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15270
15283
|
}
|
|
15271
15284
|
|
|
15272
15285
|
/**
|
|
15273
|
-
*
|
|
15286
|
+
* Called when a cell fires `calendar-cell-activate` after someone selects it. Makes that cell
|
|
15287
|
+
* the active cell without moving focus to the grid.
|
|
15274
15288
|
* @private
|
|
15275
15289
|
* @param {CustomEvent} event - The activation event with target date.
|
|
15276
15290
|
* @returns {void}
|
|
@@ -15288,9 +15302,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15288
15302
|
}
|
|
15289
15303
|
|
|
15290
15304
|
/**
|
|
15291
|
-
*
|
|
15292
|
-
*
|
|
15293
|
-
* the imperative range preview if applicable.
|
|
15305
|
+
* Called when a cell's button gets focus, and after the arrow keys move the active cell.
|
|
15306
|
+
* Announces the date to screen readers through the live region and updates the range preview.
|
|
15294
15307
|
* @private
|
|
15295
15308
|
* @param {CustomEvent} event - The calendar-cell-focused event.
|
|
15296
15309
|
* @returns {void}
|
|
@@ -15472,7 +15485,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15472
15485
|
*
|
|
15473
15486
|
* The cell's `applyCommittedRangeClasses` reuses the same
|
|
15474
15487
|
* `isInRange`/`isDepartDate`/`isReturnDate` helpers `renderCellButton`
|
|
15475
|
-
* uses, so
|
|
15488
|
+
* uses, so this method doesn't parse `dateFrom` or `dateTo`; the helpers already
|
|
15476
15489
|
* normalize their inputs (midnight-truncation, string→int) internally.
|
|
15477
15490
|
* @private
|
|
15478
15491
|
* @returns {void}
|
|
@@ -15508,8 +15521,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15508
15521
|
}
|
|
15509
15522
|
|
|
15510
15523
|
/**
|
|
15511
|
-
*
|
|
15512
|
-
*
|
|
15524
|
+
* Called when a month fires `hovered-date-changed`. Updates the range preview directly
|
|
15525
|
+
* instead of setting the base class's reactive `hoveredDate`, so the cells don't re-render.
|
|
15513
15526
|
* @private
|
|
15514
15527
|
* @param {CustomEvent} event - The hovered-date-changed event from a month.
|
|
15515
15528
|
* @returns {void}
|
|
@@ -15525,7 +15538,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15525
15538
|
* Walks the flat tree (rendered, slot-aware) outward from the active
|
|
15526
15539
|
* cell's button and calls `scrollBy` on every vertically-scrollable
|
|
15527
15540
|
* ancestor by whatever delta still separates the cell from that
|
|
15528
|
-
* ancestor's viewport. Native `scrollIntoView`
|
|
15541
|
+
* ancestor's viewport. Native `scrollIntoView` isn't used because the
|
|
15529
15542
|
* cell sits inside multiple nested scroll containers (the dropdown bib's
|
|
15530
15543
|
* `<dialog>`, the bibtemplate's `#bodyContainer`) and the algorithm only
|
|
15531
15544
|
* scrolls one of them on its own, leaving the cell short of the
|
|
@@ -15535,7 +15548,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15535
15548
|
* value) so each `scrollBy` resolves synchronously and the next
|
|
15536
15549
|
* iteration's `getBoundingClientRect` reads post-scroll positions
|
|
15537
15550
|
* accurately. This also satisfies `prefers-reduced-motion` users: the
|
|
15538
|
-
* scroll containers
|
|
15551
|
+
* scroll containers don't set CSS `scroll-behavior: smooth`, so `auto`
|
|
15539
15552
|
* is effectively instant.
|
|
15540
15553
|
*
|
|
15541
15554
|
* The active cell is looked up from the cache populated by
|
|
@@ -15750,16 +15763,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15750
15763
|
}
|
|
15751
15764
|
|
|
15752
15765
|
/**
|
|
15753
|
-
*
|
|
15754
|
-
*
|
|
15755
|
-
*
|
|
15756
|
-
*
|
|
15757
|
-
*
|
|
15758
|
-
* keyboard navigation, so the announcements were silently dropped.
|
|
15766
|
+
* Announces a date to screen readers after a 150 ms pause, so only the
|
|
15767
|
+
* last cell reached with the arrow keys is announced.
|
|
15768
|
+
* Uses the assertive live region, because VoiceOver waits for the page to
|
|
15769
|
+
* be idle before it reads a polite one, which never happens during
|
|
15770
|
+
* arrow-key navigation, so polite announcements were dropped.
|
|
15759
15771
|
*
|
|
15760
15772
|
* This is a documented deviation from WCAG 2.1 SC 4.1.3, which
|
|
15761
15773
|
* prefers `polite` for status messages. See the "Documented
|
|
15762
|
-
*
|
|
15774
|
+
* deviation" section in `components/datepicker/docs/pages/accessibility.md`.
|
|
15763
15775
|
* @private
|
|
15764
15776
|
* @param {String} dateStr - The localized date string to announce.
|
|
15765
15777
|
* @returns {void}
|
|
@@ -19977,7 +19989,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
19977
19989
|
}
|
|
19978
19990
|
};
|
|
19979
19991
|
|
|
19980
|
-
var formkitVersion$1 = '
|
|
19992
|
+
var formkitVersion$1 = '202611090436';
|
|
19981
19993
|
|
|
19982
19994
|
/**
|
|
19983
19995
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -20473,6 +20485,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20473
20485
|
/**
|
|
20474
20486
|
* Removes the trigger's border, background, and shadow.
|
|
20475
20487
|
* Applies only when `shape` and `size` are both set.
|
|
20488
|
+
* @relevantWhen shape !== undefined && size !== undefined
|
|
20476
20489
|
* @category ui
|
|
20477
20490
|
*/
|
|
20478
20491
|
simple: {
|
|
@@ -20765,6 +20778,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20765
20778
|
/**
|
|
20766
20779
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
20767
20780
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
20781
|
+
* @default 0
|
|
20768
20782
|
* @category a11y
|
|
20769
20783
|
*/
|
|
20770
20784
|
tabIndex: {
|
|
@@ -21456,7 +21470,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
21456
21470
|
*
|
|
21457
21471
|
* @private
|
|
21458
21472
|
* @method handleDefaultSlot
|
|
21459
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
21460
21473
|
*/
|
|
21461
21474
|
handleDefaultSlot() {
|
|
21462
21475
|
|
|
@@ -21469,7 +21482,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
21469
21482
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
21470
21483
|
* @private
|
|
21471
21484
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
21472
|
-
* @returns {
|
|
21485
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
21473
21486
|
*/
|
|
21474
21487
|
renderBasicHtml(helpTextClasses) {
|
|
21475
21488
|
return html$1`
|
|
@@ -21531,7 +21544,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
21531
21544
|
/**
|
|
21532
21545
|
* Renders the classic layout.
|
|
21533
21546
|
* @private
|
|
21534
|
-
* @returns {
|
|
21547
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
21535
21548
|
*/
|
|
21536
21549
|
renderLayoutClassic() {
|
|
21537
21550
|
// TODO: check with Doug why this was never used?
|
|
@@ -21547,7 +21560,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
21547
21560
|
/**
|
|
21548
21561
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
21549
21562
|
* @private
|
|
21550
|
-
* @returns {
|
|
21563
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
21551
21564
|
*/
|
|
21552
21565
|
renderLayoutSnowflake() {
|
|
21553
21566
|
const helpTextClasses = {
|
|
@@ -21564,7 +21577,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
21564
21577
|
/**
|
|
21565
21578
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
21566
21579
|
* @private
|
|
21567
|
-
* @returns {
|
|
21580
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
21568
21581
|
*/
|
|
21569
21582
|
renderLayoutEmphasized() {
|
|
21570
21583
|
const helpTextClasses = {
|
|
@@ -21582,7 +21595,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
21582
21595
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
21583
21596
|
* @private
|
|
21584
21597
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
21585
|
-
* @returns {
|
|
21598
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
21586
21599
|
*/
|
|
21587
21600
|
renderLayout(ForcedLayout) {
|
|
21588
21601
|
const layout = ForcedLayout || this.layout;
|
|
@@ -32194,7 +32207,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
32194
32207
|
// The initial-load focus theft was caused by the static `autofocus`
|
|
32195
32208
|
// attribute on the bib input (now conditional), not by delegatesFocus.
|
|
32196
32209
|
/**
|
|
32197
|
-
*
|
|
32210
|
+
* Gets the options Lit uses to create the shadow root.
|
|
32198
32211
|
* @internal
|
|
32199
32212
|
*/
|
|
32200
32213
|
static get shadowRootOptions() {
|
|
@@ -32368,8 +32381,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
32368
32381
|
},
|
|
32369
32382
|
|
|
32370
32383
|
/**
|
|
32371
|
-
* Sets the field's
|
|
32372
|
-
* emphasized layouts support only `xl`.
|
|
32384
|
+
* Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
|
|
32385
|
+
* and the emphasized layouts support only `xl`.
|
|
32373
32386
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
32374
32387
|
* @default 'lg'
|
|
32375
32388
|
* @category ui
|
|
@@ -34165,7 +34178,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
34165
34178
|
}
|
|
34166
34179
|
};
|
|
34167
34180
|
|
|
34168
|
-
var formkitVersion = '
|
|
34181
|
+
var formkitVersion = '202611090436';
|
|
34169
34182
|
|
|
34170
34183
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
34171
34184
|
// See LICENSE in the project root for license information.
|
|
@@ -34624,7 +34637,7 @@ class AuroInput extends BaseInput {
|
|
|
34624
34637
|
|
|
34625
34638
|
/**
|
|
34626
34639
|
* Gets the `pattern` for the inner `<input>` element. For credit card numbers,
|
|
34627
|
-
* builds a length check from `minLength` and `maxLength` instead.
|
|
34640
|
+
* builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
|
|
34628
34641
|
* @private
|
|
34629
34642
|
* @returns {string}
|
|
34630
34643
|
*/
|
|
@@ -36546,7 +36559,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
36546
36559
|
},
|
|
36547
36560
|
|
|
36548
36561
|
/**
|
|
36549
|
-
*
|
|
36562
|
+
* Marks the datepicker as used once it gets focus, so validation can report a missing required date. `reset()` clears it.
|
|
36550
36563
|
* @private
|
|
36551
36564
|
*/
|
|
36552
36565
|
touched: {
|
|
@@ -36702,7 +36715,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
36702
36715
|
}
|
|
36703
36716
|
|
|
36704
36717
|
/**
|
|
36705
|
-
*
|
|
36718
|
+
* Called when the `displayValue` slot's content changes. Records whether the slot has content to show.
|
|
36706
36719
|
* @private
|
|
36707
36720
|
* @returns {void}
|
|
36708
36721
|
*/
|
|
@@ -37495,7 +37508,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
37495
37508
|
* Per-class dedup set used by `_warnInvalidLocale`. Static so the dedup
|
|
37496
37509
|
* spans every datepicker instance on the page; lives on the class (not
|
|
37497
37510
|
* at module scope) so it stays an encapsulated implementation detail of
|
|
37498
|
-
* this component and
|
|
37511
|
+
* this component and doesn't interfere with WCA's class-JSDoc
|
|
37499
37512
|
* attachment.
|
|
37500
37513
|
* @private
|
|
37501
37514
|
*/
|
|
@@ -37503,7 +37516,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
37503
37516
|
|
|
37504
37517
|
/**
|
|
37505
37518
|
* Logs a one-time `console.debug` when an unsupported locale falls back to
|
|
37506
|
-
* en-US
|
|
37519
|
+
* `en-US`. Deduped by the offending tag so noisy re-renders that resurface
|
|
37507
37520
|
* the same bad value stay quiet, but each new bad value still signals so
|
|
37508
37521
|
* consumers can spot the typo or missing tag.
|
|
37509
37522
|
* @private
|
|
@@ -37801,7 +37814,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
37801
37814
|
}
|
|
37802
37815
|
|
|
37803
37816
|
/**
|
|
37804
|
-
*
|
|
37817
|
+
* Called when a slot the datepicker passes to the calendar changes, such as `bib.fullscreen.headline`.
|
|
37818
|
+
* Copies the slot's content into the calendar.
|
|
37805
37819
|
*
|
|
37806
37820
|
* @private
|
|
37807
37821
|
* @method handleSlotToSlot
|
|
@@ -37814,7 +37828,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
37814
37828
|
}
|
|
37815
37829
|
|
|
37816
37830
|
/**
|
|
37817
|
-
*
|
|
37831
|
+
* Called when someone clicks the datepicker. Stops a click on the inert trigger from closing the open calendar,
|
|
37832
|
+
* and in the `snowflake` layout, moves focus to the start date input when the click isn't on an input or the calendar and no input has focus.
|
|
37818
37833
|
* @param {PointerEvent} event - The pointer event object.
|
|
37819
37834
|
* @private
|
|
37820
37835
|
* @returns {void}
|
|
@@ -38184,7 +38199,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
38184
38199
|
// ------------------------------------
|
|
38185
38200
|
|
|
38186
38201
|
/**
|
|
38187
|
-
*
|
|
38202
|
+
* Called when someone selects the clear button. Clears the chosen dates and moves focus to the start date input.
|
|
38188
38203
|
* @private
|
|
38189
38204
|
* @param {MouseEvent} event - The mouse event from the clear button click.
|
|
38190
38205
|
* @returns {void}
|