@aurodesignsystem-dev/auro-formkit 0.0.0-pr1594.2 → 0.0.0-pr1595.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +11 -0
- package/components/bibtemplate/dist/index.js +13 -0
- package/components/bibtemplate/dist/registered.js +13 -0
- package/components/checkbox/demo/api.md +17 -11
- package/components/checkbox/demo/customize.min.js +23 -6
- package/components/checkbox/demo/getting-started.min.js +23 -6
- package/components/checkbox/demo/index.min.js +23 -6
- package/components/checkbox/dist/auro-checkbox-group.d.ts +8 -0
- package/components/checkbox/dist/auro-checkbox.d.ts +4 -0
- package/components/checkbox/dist/index.js +23 -6
- package/components/checkbox/dist/registered.js +23 -6
- package/components/combobox/demo/api.md +24 -16
- package/components/combobox/demo/customize.min.js +405 -121
- package/components/combobox/demo/getting-started.min.js +405 -121
- package/components/combobox/demo/index.min.js +405 -121
- package/components/combobox/dist/auro-combobox.d.ts +29 -0
- package/components/combobox/dist/index.js +320 -107
- package/components/combobox/dist/registered.js +320 -107
- package/components/counter/demo/api.md +33 -15
- package/components/counter/demo/customize.min.js +201 -64
- package/components/counter/demo/index.min.js +201 -64
- package/components/counter/dist/auro-counter-button.d.ts +4 -0
- package/components/counter/dist/auro-counter-group.d.ts +23 -0
- package/components/counter/dist/auro-counter.d.ts +7 -0
- package/components/counter/dist/index.js +201 -64
- package/components/counter/dist/registered.js +201 -64
- package/components/datepicker/demo/api.md +55 -49
- package/components/datepicker/demo/customize.min.js +483 -131
- package/components/datepicker/demo/index.min.js +483 -131
- package/components/datepicker/dist/auro-calendar-cell.d.ts +55 -0
- package/components/datepicker/dist/auro-calendar-month.d.ts +9 -1
- package/components/datepicker/dist/auro-calendar.d.ts +16 -0
- package/components/datepicker/dist/auro-datepicker.d.ts +63 -10
- package/components/datepicker/dist/index.js +483 -131
- package/components/datepicker/dist/registered.js +483 -131
- package/components/dropdown/demo/api.md +25 -22
- package/components/dropdown/demo/customize.min.js +106 -37
- package/components/dropdown/demo/getting-started.min.js +232 -79
- package/components/dropdown/demo/index.min.js +106 -37
- package/components/dropdown/dist/auro-dropdown.d.ts +33 -4
- package/components/dropdown/dist/auro-dropdownBib.d.ts +17 -5
- package/components/dropdown/dist/index.js +106 -37
- package/components/dropdown/dist/registered.js +106 -37
- package/components/form/demo/customize.min.js +1448 -455
- package/components/form/demo/getting-started.min.js +1448 -455
- package/components/form/demo/index.min.js +1448 -455
- package/components/form/demo/registerDemoDeps.min.js +1448 -455
- package/components/helptext/dist/auro-helptext.d.ts +8 -7
- package/components/helptext/dist/index.js +7 -2
- package/components/helptext/dist/registered.js +7 -2
- package/components/input/demo/api.md +30 -30
- package/components/input/demo/customize.min.js +126 -42
- package/components/input/demo/getting-started.min.js +126 -42
- package/components/input/demo/index.min.js +126 -42
- package/components/input/dist/base-input.d.ts +67 -22
- package/components/input/dist/index.js +126 -42
- package/components/input/dist/registered.js +126 -42
- package/components/layoutElement/dist/auroElement.d.ts +10 -17
- package/components/layoutElement/dist/index.js +20 -20
- package/components/layoutElement/dist/registered.js +20 -20
- package/components/menu/demo/api.md +30 -27
- package/components/menu/demo/index.min.js +105 -34
- package/components/menu/dist/auro-menu.d.ts +24 -13
- package/components/menu/dist/auro-menuoption.d.ts +26 -0
- package/components/menu/dist/index.js +105 -34
- package/components/menu/dist/registered.js +105 -34
- package/components/radio/demo/api.md +8 -7
- package/components/radio/demo/customize.min.js +20 -7
- package/components/radio/demo/getting-started.min.js +20 -7
- package/components/radio/demo/index.min.js +20 -7
- package/components/radio/dist/auro-radio-group.d.ts +7 -0
- package/components/radio/dist/auro-radio.d.ts +1 -0
- package/components/radio/dist/index.js +20 -7
- package/components/radio/dist/registered.js +20 -7
- package/components/select/demo/api.md +18 -15
- package/components/select/demo/customize.min.js +255 -78
- package/components/select/demo/getting-started.min.js +255 -78
- package/components/select/demo/index.min.js +255 -78
- package/components/select/dist/auro-select.d.ts +17 -0
- package/components/select/dist/index.js +170 -64
- package/components/select/dist/registered.js +170 -64
- package/custom-elements.json +2573 -2680
- package/package.json +1 -1
|
@@ -11761,6 +11761,14 @@ function isBlackoutTimestamp(dateTs, disabledDays, blackoutDates) {
|
|
|
11761
11761
|
|
|
11762
11762
|
/* eslint-disable curly, max-lines, no-underscore-dangle, no-magic-numbers, no-underscore-dangle, max-params, no-extra-parens, arrow-parens, max-lines, line-comment-position, no-inline-comments, lit/binding-positions, lit/no-invalid-html */
|
|
11763
11763
|
|
|
11764
|
+
/**
|
|
11765
|
+
* The `auro-calendar-cell` component renders a single selectable day button within a calendar month grid.
|
|
11766
|
+
*
|
|
11767
|
+
* @event calendar-cell-activate - Notifies that this cell has been activated via click or tap.
|
|
11768
|
+
* @event date-is-hovered - Notifies that this cell's date is being hovered.
|
|
11769
|
+
* @event calendar-cell-focused - Notifies that this cell's button has received focus.
|
|
11770
|
+
* @csspart dateSlot - Use for customizing the style of the date slot content container.
|
|
11771
|
+
*/
|
|
11764
11772
|
class AuroCalendarCell extends i$1 {
|
|
11765
11773
|
constructor() {
|
|
11766
11774
|
super();
|
|
@@ -11796,18 +11804,58 @@ class AuroCalendarCell extends i$1 {
|
|
|
11796
11804
|
static get properties() {
|
|
11797
11805
|
return {
|
|
11798
11806
|
// ...super.properties,
|
|
11807
|
+
|
|
11808
|
+
/**
|
|
11809
|
+
* The day object for this cell, containing its Unix timestamp (`date`) and day-of-month title.
|
|
11810
|
+
*/
|
|
11799
11811
|
day: { type: Object },
|
|
11812
|
+
|
|
11813
|
+
/**
|
|
11814
|
+
* Whether this cell's date is currently selected.
|
|
11815
|
+
*/
|
|
11800
11816
|
selected: { type: Boolean },
|
|
11801
|
-
|
|
11802
|
-
|
|
11817
|
+
|
|
11818
|
+
/**
|
|
11819
|
+
* The end (return) date of the selected range as a Unix-timestamp string.
|
|
11820
|
+
*/
|
|
11821
|
+
dateTo: {
|
|
11822
|
+
type: String,
|
|
11823
|
+
attribute: 'dateto'
|
|
11824
|
+
},
|
|
11825
|
+
|
|
11826
|
+
/**
|
|
11827
|
+
* The start (depart) date of the selected range as a Unix-timestamp string.
|
|
11828
|
+
*/
|
|
11829
|
+
dateFrom: {
|
|
11830
|
+
type: String,
|
|
11831
|
+
attribute: 'datefrom'
|
|
11832
|
+
},
|
|
11833
|
+
|
|
11834
|
+
/**
|
|
11835
|
+
* The month this cell belongs to.
|
|
11836
|
+
*/
|
|
11803
11837
|
month: { type: String },
|
|
11838
|
+
|
|
11839
|
+
/**
|
|
11840
|
+
* The minimum selectable date as a Unix timestamp.
|
|
11841
|
+
*/
|
|
11804
11842
|
min: { type: Number },
|
|
11843
|
+
|
|
11844
|
+
/**
|
|
11845
|
+
* The maximum selectable date as a Unix timestamp.
|
|
11846
|
+
*/
|
|
11805
11847
|
max: { type: Number },
|
|
11848
|
+
|
|
11849
|
+
/**
|
|
11850
|
+
* Whether this cell is disabled because its date falls outside the min/max range.
|
|
11851
|
+
*/
|
|
11806
11852
|
disabled: {
|
|
11807
11853
|
type: Boolean,
|
|
11808
11854
|
reflect: true
|
|
11809
11855
|
},
|
|
11856
|
+
|
|
11810
11857
|
/**
|
|
11858
|
+
* Legacy array of Unix-timestamp dates that cannot be selected.
|
|
11811
11859
|
* @deprecated Propagated from the legacy `auro-calendar.disabledDays`
|
|
11812
11860
|
* Unix-timestamp array. The cell honors it for backward compatibility
|
|
11813
11861
|
* (see the divergence-check fallback inside `isBlackout`), but
|
|
@@ -11815,12 +11863,47 @@ class AuroCalendarCell extends i$1 {
|
|
|
11815
11863
|
* (YYYY-MM-DD ISO strings). The calendar emits a one-time
|
|
11816
11864
|
* deprecation warning the first time a non-empty value is observed.
|
|
11817
11865
|
*/
|
|
11818
|
-
disabledDays: {
|
|
11819
|
-
|
|
11866
|
+
disabledDays: {
|
|
11867
|
+
type: Array,
|
|
11868
|
+
attribute: 'disableddays'
|
|
11869
|
+
},
|
|
11870
|
+
|
|
11871
|
+
/**
|
|
11872
|
+
* Whether this cell represents the current date (today).
|
|
11873
|
+
*/
|
|
11874
|
+
isCurrentDate: {
|
|
11875
|
+
type: Boolean,
|
|
11876
|
+
attribute: 'iscurrentdate'
|
|
11877
|
+
},
|
|
11878
|
+
|
|
11879
|
+
/**
|
|
11880
|
+
* The BCP 47 locale tag used to format the cell's date.
|
|
11881
|
+
*/
|
|
11820
11882
|
locale: { type: String },
|
|
11821
|
-
|
|
11822
|
-
|
|
11823
|
-
|
|
11883
|
+
|
|
11884
|
+
/**
|
|
11885
|
+
* The cell's date formatted as a `YYYY_MM_DD` slot-name string.
|
|
11886
|
+
*/
|
|
11887
|
+
dateStr: {
|
|
11888
|
+
type: String,
|
|
11889
|
+
attribute: 'datestr'
|
|
11890
|
+
},
|
|
11891
|
+
|
|
11892
|
+
/**
|
|
11893
|
+
* Whether to render the numerical date off-center to leave room below for date slot content.
|
|
11894
|
+
*/
|
|
11895
|
+
renderForDateSlot: {
|
|
11896
|
+
type: Boolean,
|
|
11897
|
+
attribute: 'renderfordateslot'
|
|
11898
|
+
},
|
|
11899
|
+
|
|
11900
|
+
/**
|
|
11901
|
+
* Whether this cell has popover slot content to display.
|
|
11902
|
+
*/
|
|
11903
|
+
hasPopoverContent: {
|
|
11904
|
+
type: Boolean,
|
|
11905
|
+
attribute: 'haspopovercontent'
|
|
11906
|
+
}
|
|
11824
11907
|
};
|
|
11825
11908
|
}
|
|
11826
11909
|
|
|
@@ -12677,6 +12760,11 @@ const getWeekdayNames = (locale, weekday) => {
|
|
|
12677
12760
|
};
|
|
12678
12761
|
|
|
12679
12762
|
|
|
12763
|
+
/**
|
|
12764
|
+
* The `auro-calendar-month` component renders a single localized month grid of selectable day cells within the calendar.
|
|
12765
|
+
* @event hovered-date-changed - Notifies that the date currently hovered within the month grid has changed.
|
|
12766
|
+
* @event calendar-month-mouseleave - Notifies that the mouse has left the month's date grid so the range hover preview can be cleared.
|
|
12767
|
+
*/
|
|
12680
12768
|
class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
12681
12769
|
static get styles() {
|
|
12682
12770
|
return [
|
|
@@ -12691,10 +12779,11 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12691
12779
|
return {
|
|
12692
12780
|
|
|
12693
12781
|
/**
|
|
12694
|
-
*
|
|
12782
|
+
* When set, the month name is displayed before the year in the header.
|
|
12695
12783
|
*/
|
|
12696
12784
|
monthFirst: {
|
|
12697
12785
|
type: Boolean,
|
|
12786
|
+
attribute: 'monthfirst',
|
|
12698
12787
|
reflect: true
|
|
12699
12788
|
},
|
|
12700
12789
|
|
|
@@ -12703,14 +12792,16 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12703
12792
|
* As wc-range-datepicker expects a `locale` prop, we use `localeCode` to avoid conflicts.
|
|
12704
12793
|
*/
|
|
12705
12794
|
localeCode: {
|
|
12706
|
-
type: String
|
|
12795
|
+
type: String,
|
|
12796
|
+
attribute: 'localecode'
|
|
12707
12797
|
},
|
|
12708
12798
|
|
|
12709
12799
|
/**
|
|
12710
12800
|
* Names of all 12 months. When omitted, names are derived from `localeCode`.
|
|
12711
12801
|
*/
|
|
12712
12802
|
monthNames: {
|
|
12713
|
-
type: Array
|
|
12803
|
+
type: Array,
|
|
12804
|
+
attribute: 'monthnames'
|
|
12714
12805
|
}
|
|
12715
12806
|
};
|
|
12716
12807
|
}
|
|
@@ -13552,6 +13643,9 @@ var headerVersion = '5.0.1';
|
|
|
13552
13643
|
* @slot subheader - Slot for the subheader content.
|
|
13553
13644
|
* @slot footer - Slot for the footer content.
|
|
13554
13645
|
* @slot ariaLabel.close - Slot for the close button aria-label.
|
|
13646
|
+
* @csspart bibtemplate - The outermost bibtemplate container element.
|
|
13647
|
+
* @event close-click - Notifies when the close button is clicked.
|
|
13648
|
+
* @event auro-bibtemplate-connected - Notifies that the bibtemplate has connected to the DOM, passing a reference to the element in the event detail.
|
|
13555
13649
|
*/
|
|
13556
13650
|
class AuroBibtemplate extends i$1 {
|
|
13557
13651
|
|
|
@@ -13591,10 +13685,19 @@ class AuroBibtemplate extends i$1 {
|
|
|
13591
13685
|
// function to define props used within the scope of this component
|
|
13592
13686
|
static get properties() {
|
|
13593
13687
|
return {
|
|
13688
|
+
|
|
13689
|
+
/**
|
|
13690
|
+
* If declared, the bibtemplate renders in fullscreen mode, exposing the header, subheader, and footer regions.
|
|
13691
|
+
*/
|
|
13594
13692
|
isFullscreen: {
|
|
13595
13693
|
type: Boolean,
|
|
13694
|
+
attribute: 'isfullscreen',
|
|
13596
13695
|
reflect: true
|
|
13597
13696
|
},
|
|
13697
|
+
|
|
13698
|
+
/**
|
|
13699
|
+
* If declared, the fullscreen headline renders using the larger display heading style.
|
|
13700
|
+
*/
|
|
13598
13701
|
large: {
|
|
13599
13702
|
type: Boolean,
|
|
13600
13703
|
reflect: true
|
|
@@ -13605,6 +13708,7 @@ class AuroBibtemplate extends i$1 {
|
|
|
13605
13708
|
*/
|
|
13606
13709
|
showFooter: {
|
|
13607
13710
|
type: Boolean,
|
|
13711
|
+
attribute: 'showfooter',
|
|
13608
13712
|
reflect: true
|
|
13609
13713
|
}
|
|
13610
13714
|
};
|
|
@@ -13717,7 +13821,7 @@ class AuroBibtemplate extends i$1 {
|
|
|
13717
13821
|
}
|
|
13718
13822
|
}
|
|
13719
13823
|
|
|
13720
|
-
var formkitVersion$2 = '
|
|
13824
|
+
var formkitVersion$2 = '202608291822';
|
|
13721
13825
|
|
|
13722
13826
|
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}
|
|
13723
13827
|
`,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}}
|
|
@@ -13783,8 +13887,10 @@ var buttonVersion$1 = '12.3.2';
|
|
|
13783
13887
|
|
|
13784
13888
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
13785
13889
|
/**
|
|
13890
|
+
* The `auro-calendar` component renders the calendar month(s) shown inside the datepicker dropdown and manages date selection, range preview, and keyboard navigation.
|
|
13786
13891
|
* @event auroCalendar-dateSelected - Notifies that a date has been selected in the calendar.
|
|
13787
13892
|
* @event auroCalendar-monthChanged - Notifies that the visible calendar month(s) have changed.
|
|
13893
|
+
* @event narrow-changedProperties - Notifies that the calendar's narrow (mobile) layout state has changed.
|
|
13788
13894
|
*/
|
|
13789
13895
|
class AuroCalendar extends RangeDatepicker {
|
|
13790
13896
|
constructor() {
|
|
@@ -13946,6 +14052,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13946
14052
|
*/
|
|
13947
14053
|
calendarEndMonth: {
|
|
13948
14054
|
type: String,
|
|
14055
|
+
attribute: 'calendarendmonth',
|
|
13949
14056
|
reflect: true
|
|
13950
14057
|
},
|
|
13951
14058
|
|
|
@@ -13954,6 +14061,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13954
14061
|
*/
|
|
13955
14062
|
calendarStartMonth: {
|
|
13956
14063
|
type: String,
|
|
14064
|
+
attribute: 'calendarstartmonth',
|
|
13957
14065
|
reflect: true
|
|
13958
14066
|
},
|
|
13959
14067
|
|
|
@@ -13962,6 +14070,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13962
14070
|
*/
|
|
13963
14071
|
centralDate: {
|
|
13964
14072
|
type: String,
|
|
14073
|
+
attribute: 'centraldate',
|
|
13965
14074
|
reflect: true
|
|
13966
14075
|
},
|
|
13967
14076
|
|
|
@@ -13969,14 +14078,16 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13969
14078
|
* The starting date of the selected range.
|
|
13970
14079
|
*/
|
|
13971
14080
|
dateFrom: {
|
|
13972
|
-
type: String
|
|
14081
|
+
type: String,
|
|
14082
|
+
attribute: 'datefrom'
|
|
13973
14083
|
},
|
|
13974
14084
|
|
|
13975
14085
|
/**
|
|
13976
14086
|
* The ending date of the selected range.
|
|
13977
14087
|
*/
|
|
13978
14088
|
dateTo: {
|
|
13979
|
-
type: String
|
|
14089
|
+
type: String,
|
|
14090
|
+
attribute: 'dateto'
|
|
13980
14091
|
},
|
|
13981
14092
|
|
|
13982
14093
|
/**
|
|
@@ -13992,6 +14103,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13992
14103
|
*/
|
|
13993
14104
|
isFullscreen: {
|
|
13994
14105
|
type: Boolean,
|
|
14106
|
+
attribute: 'isfullscreen',
|
|
13995
14107
|
reflect: true
|
|
13996
14108
|
},
|
|
13997
14109
|
|
|
@@ -14001,6 +14113,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14001
14113
|
*/
|
|
14002
14114
|
largeFullscreenHeadline: {
|
|
14003
14115
|
type: Boolean,
|
|
14116
|
+
attribute: 'largefullscreenheadline',
|
|
14004
14117
|
reflect: true
|
|
14005
14118
|
},
|
|
14006
14119
|
|
|
@@ -14009,6 +14122,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14009
14122
|
*/
|
|
14010
14123
|
maxDate: {
|
|
14011
14124
|
type: String,
|
|
14125
|
+
attribute: 'maxdate',
|
|
14012
14126
|
reflect: true
|
|
14013
14127
|
},
|
|
14014
14128
|
|
|
@@ -14017,6 +14131,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14017
14131
|
*/
|
|
14018
14132
|
minDate: {
|
|
14019
14133
|
type: String,
|
|
14134
|
+
attribute: 'mindate',
|
|
14020
14135
|
reflect: true
|
|
14021
14136
|
},
|
|
14022
14137
|
|
|
@@ -14026,6 +14141,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14026
14141
|
*/
|
|
14027
14142
|
mobileBreakpoint: {
|
|
14028
14143
|
type: Number,
|
|
14144
|
+
attribute: 'mobilebreakpoint',
|
|
14029
14145
|
reflect: false
|
|
14030
14146
|
},
|
|
14031
14147
|
|
|
@@ -14035,7 +14151,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14035
14151
|
* @private
|
|
14036
14152
|
*/
|
|
14037
14153
|
monthFirst: {
|
|
14038
|
-
type: Boolean
|
|
14154
|
+
type: Boolean,
|
|
14155
|
+
attribute: 'monthfirst'
|
|
14039
14156
|
},
|
|
14040
14157
|
|
|
14041
14158
|
/**
|
|
@@ -14043,7 +14160,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14043
14160
|
* @private
|
|
14044
14161
|
*/
|
|
14045
14162
|
numCalendars: {
|
|
14046
|
-
type: Number
|
|
14163
|
+
type: Number,
|
|
14164
|
+
attribute: 'numcalendars'
|
|
14047
14165
|
},
|
|
14048
14166
|
|
|
14049
14167
|
/**
|
|
@@ -14059,14 +14177,16 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14059
14177
|
* as wc-range-datepicker expects a `locale` prop, we use `localeCode` to avoid conflicts and pass the locale down to calendar-month elements.
|
|
14060
14178
|
*/
|
|
14061
14179
|
localeCode: {
|
|
14062
|
-
type: String
|
|
14180
|
+
type: String,
|
|
14181
|
+
attribute: 'localecode'
|
|
14063
14182
|
},
|
|
14064
14183
|
|
|
14065
14184
|
/**
|
|
14066
14185
|
* Names of all 12 months. When omitted, names are derived from `localeCode`.
|
|
14067
14186
|
*/
|
|
14068
14187
|
monthNames: {
|
|
14069
|
-
type: Array
|
|
14188
|
+
type: Array,
|
|
14189
|
+
attribute: 'monthnames'
|
|
14070
14190
|
}
|
|
14071
14191
|
};
|
|
14072
14192
|
}
|
|
@@ -18883,8 +19003,11 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
|
18883
19003
|
];
|
|
18884
19004
|
|
|
18885
19005
|
/**
|
|
19006
|
+
* The `auro-dropdownbib` element renders the dropdown's bib as a dialog/popover container and manages its fullscreen and modal display.
|
|
18886
19007
|
* @prop { String } fullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
18887
19008
|
* @csspart bibContainer - Apply css to the bib container.
|
|
19009
|
+
* @event auro-dropdownbib-connected - Notifies that the dropdown bib has connected to the DOM, passing a reference to the element in the event detail.
|
|
19010
|
+
* @event auro-bib-cancel - Notifies that the bib was cancelled (e.g. via the ESC key) so parent components can close it.
|
|
18888
19011
|
*/
|
|
18889
19012
|
|
|
18890
19013
|
class AuroDropdownBib extends i$1 {
|
|
@@ -18899,9 +19022,17 @@ class AuroDropdownBib extends i$1 {
|
|
|
18899
19022
|
|
|
18900
19023
|
AuroLibraryRuntimeUtils$1$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
18901
19024
|
|
|
18902
|
-
this.shape = "rounded";
|
|
18903
19025
|
this.matchWidth = false;
|
|
18904
19026
|
this.hasActiveDescendant = false;
|
|
19027
|
+
|
|
19028
|
+
this.initializeArchitectureDefaults();
|
|
19029
|
+
}
|
|
19030
|
+
|
|
19031
|
+
// The `shape` default is set in a helper (not the constructor body) so the CEM
|
|
19032
|
+
// analyzer keeps its `@type` union instead of inferring `string` from a
|
|
19033
|
+
// constructor-literal assignment. See AlaskaAirlines/discussions#653.
|
|
19034
|
+
initializeArchitectureDefaults() {
|
|
19035
|
+
this.shape = "rounded";
|
|
18905
19036
|
}
|
|
18906
19037
|
|
|
18907
19038
|
static get styles() {
|
|
@@ -18920,6 +19051,7 @@ class AuroDropdownBib extends i$1 {
|
|
|
18920
19051
|
*/
|
|
18921
19052
|
isFullscreen: {
|
|
18922
19053
|
type: Boolean,
|
|
19054
|
+
attribute: 'isfullscreen',
|
|
18923
19055
|
reflect: true
|
|
18924
19056
|
},
|
|
18925
19057
|
|
|
@@ -18945,6 +19077,7 @@ class AuroDropdownBib extends i$1 {
|
|
|
18945
19077
|
*/
|
|
18946
19078
|
matchWidth: {
|
|
18947
19079
|
type: Boolean,
|
|
19080
|
+
attribute: 'matchwidth',
|
|
18948
19081
|
reflect: true
|
|
18949
19082
|
},
|
|
18950
19083
|
|
|
@@ -18960,11 +19093,18 @@ class AuroDropdownBib extends i$1 {
|
|
|
18960
19093
|
* A reference to the associated bib template element.
|
|
18961
19094
|
*/
|
|
18962
19095
|
bibTemplate: {
|
|
18963
|
-
type: Object
|
|
19096
|
+
type: Object,
|
|
19097
|
+
attribute: 'bibtemplate'
|
|
18964
19098
|
},
|
|
18965
19099
|
|
|
19100
|
+
/**
|
|
19101
|
+
* Sets the shape of the dropdown bib.
|
|
19102
|
+
* @type {'box' | 'classic' | 'pill' | 'rounded' | 'snowflake'}
|
|
19103
|
+
* @default 'rounded'
|
|
19104
|
+
*/
|
|
18966
19105
|
shape: {
|
|
18967
19106
|
type: String,
|
|
19107
|
+
attribute: "shape",
|
|
18968
19108
|
reflect: true
|
|
18969
19109
|
},
|
|
18970
19110
|
|
|
@@ -18976,7 +19116,8 @@ class AuroDropdownBib extends i$1 {
|
|
|
18976
19116
|
* @private
|
|
18977
19117
|
*/
|
|
18978
19118
|
dialogLabel: {
|
|
18979
|
-
type: String
|
|
19119
|
+
type: String,
|
|
19120
|
+
attribute: 'dialoglabel'
|
|
18980
19121
|
},
|
|
18981
19122
|
|
|
18982
19123
|
/**
|
|
@@ -18987,7 +19128,8 @@ class AuroDropdownBib extends i$1 {
|
|
|
18987
19128
|
* @private
|
|
18988
19129
|
*/
|
|
18989
19130
|
dialogRole: {
|
|
18990
|
-
type: String
|
|
19131
|
+
type: String,
|
|
19132
|
+
attribute: 'dialogrole'
|
|
18991
19133
|
},
|
|
18992
19134
|
|
|
18993
19135
|
/**
|
|
@@ -18995,7 +19137,8 @@ class AuroDropdownBib extends i$1 {
|
|
|
18995
19137
|
* @private
|
|
18996
19138
|
*/
|
|
18997
19139
|
hasActiveDescendant: {
|
|
18998
|
-
type: Boolean
|
|
19140
|
+
type: Boolean,
|
|
19141
|
+
attribute: 'hasactivedescendant'
|
|
18999
19142
|
}
|
|
19000
19143
|
};
|
|
19001
19144
|
}
|
|
@@ -19346,6 +19489,8 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
19346
19489
|
super();
|
|
19347
19490
|
|
|
19348
19491
|
this.error = false;
|
|
19492
|
+
|
|
19493
|
+
/** @type {'default' | 'inverse'} */
|
|
19349
19494
|
this.appearance = "default";
|
|
19350
19495
|
this.onDark = false;
|
|
19351
19496
|
this.hasTextContent = false;
|
|
@@ -19366,8 +19511,8 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
19366
19511
|
return {
|
|
19367
19512
|
|
|
19368
19513
|
/**
|
|
19369
|
-
*
|
|
19370
|
-
* @
|
|
19514
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
19515
|
+
* @type {'default' | 'inverse'}
|
|
19371
19516
|
* @default 'default'
|
|
19372
19517
|
*/
|
|
19373
19518
|
appearance: {
|
|
@@ -19380,6 +19525,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
19380
19525
|
*/
|
|
19381
19526
|
slotNodes: {
|
|
19382
19527
|
type: Boolean,
|
|
19528
|
+
attribute: 'slotnodes',
|
|
19383
19529
|
},
|
|
19384
19530
|
|
|
19385
19531
|
/**
|
|
@@ -19387,6 +19533,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
19387
19533
|
*/
|
|
19388
19534
|
hasTextContent: {
|
|
19389
19535
|
type: Boolean,
|
|
19536
|
+
attribute: 'hastextcontent',
|
|
19390
19537
|
},
|
|
19391
19538
|
|
|
19392
19539
|
/**
|
|
@@ -19402,6 +19549,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
19402
19549
|
*/
|
|
19403
19550
|
onDark: {
|
|
19404
19551
|
type: Boolean,
|
|
19552
|
+
attribute: 'ondark',
|
|
19405
19553
|
reflect: true
|
|
19406
19554
|
}
|
|
19407
19555
|
};
|
|
@@ -19472,39 +19620,39 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
19472
19620
|
}
|
|
19473
19621
|
};
|
|
19474
19622
|
|
|
19475
|
-
var formkitVersion$1 = '
|
|
19623
|
+
var formkitVersion$1 = '202608291822';
|
|
19476
19624
|
|
|
19625
|
+
/**
|
|
19626
|
+
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
19627
|
+
*
|
|
19628
|
+
* It defines the common `layout`, `shape`, `size`, and `ondark` reactive
|
|
19629
|
+
* properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
|
|
19630
|
+
* `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
|
|
19631
|
+
* the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
|
|
19632
|
+
* own default and valid value set for `layout`, `shape`, and `size`.
|
|
19633
|
+
*/
|
|
19477
19634
|
let AuroElement$2 = class AuroElement extends i$1 {
|
|
19478
19635
|
static get properties() {
|
|
19479
19636
|
return {
|
|
19480
19637
|
|
|
19481
19638
|
/**
|
|
19482
|
-
*
|
|
19483
|
-
* @default {'default'}
|
|
19639
|
+
* When true, renders the component styled for use on a dark background.
|
|
19484
19640
|
*/
|
|
19485
|
-
layout: {
|
|
19486
|
-
type: String,
|
|
19487
|
-
attribute: "layout",
|
|
19488
|
-
reflect: true
|
|
19489
|
-
},
|
|
19490
|
-
|
|
19491
|
-
shape: {
|
|
19492
|
-
type: String,
|
|
19493
|
-
attribute: "shape",
|
|
19494
|
-
reflect: true
|
|
19495
|
-
},
|
|
19496
|
-
|
|
19497
|
-
size: {
|
|
19498
|
-
type: String,
|
|
19499
|
-
attribute: "size",
|
|
19500
|
-
reflect: true
|
|
19501
|
-
},
|
|
19502
|
-
|
|
19503
19641
|
onDark: {
|
|
19504
19642
|
type: Boolean,
|
|
19505
19643
|
attribute: "ondark",
|
|
19506
19644
|
reflect: true
|
|
19507
19645
|
}
|
|
19646
|
+
|
|
19647
|
+
// NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
|
|
19648
|
+
// Their valid value sets differ per component, and the CEM analyzer roots
|
|
19649
|
+
// an inherited property's `type` in the class that declares it — a base
|
|
19650
|
+
// declaration would force every subclass's `@type` to be discarded and
|
|
19651
|
+
// emitted as plain `string`. Each subclass declares its own `layout` /
|
|
19652
|
+
// `shape` / `size` with an exact `@type` union instead. AuroElement still
|
|
19653
|
+
// consumes `this.layout` / `this.shape` / `this.size` in its render and
|
|
19654
|
+
// architecture helpers below (subclasses guarantee the reactive props).
|
|
19655
|
+
// See AlaskaAirlines/discussions#653.
|
|
19508
19656
|
};
|
|
19509
19657
|
}
|
|
19510
19658
|
|
|
@@ -19590,6 +19738,7 @@ let AuroElement$2 = class AuroElement extends i$1 {
|
|
|
19590
19738
|
* @slot helpText - Defines the content of the helpText.
|
|
19591
19739
|
* @slot trigger - Defines the content of the trigger.
|
|
19592
19740
|
* @csspart trigger - The trigger content container.
|
|
19741
|
+
* @csspart wrapper - The trigger wrapper element surrounding the trigger content and chevron.
|
|
19593
19742
|
* @csspart chevron - The collapsed/expanded state icon container.
|
|
19594
19743
|
* @csspart size - The size of the dropdown bib. (height, width, maxHeight, maxWidth only)
|
|
19595
19744
|
* @csspart helpText - The helpText content container.
|
|
@@ -19614,7 +19763,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19614
19763
|
|
|
19615
19764
|
/**
|
|
19616
19765
|
* When true, the dropdown skips its generic focus restoration on close.
|
|
19617
|
-
* Set by consumers (
|
|
19766
|
+
* Set by consumers (for example combobox) that manage their own focus routing
|
|
19618
19767
|
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
19619
19768
|
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
19620
19769
|
* @private
|
|
@@ -19783,7 +19932,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19783
19932
|
/**
|
|
19784
19933
|
* Focus the trigger content. When the trigger wrapper itself is focusable
|
|
19785
19934
|
* (has tabindex), focus it directly. Otherwise, focus the first focusable
|
|
19786
|
-
* element slotted into the trigger slot (
|
|
19935
|
+
* element slotted into the trigger slot (for example the auro-input).
|
|
19787
19936
|
* @private
|
|
19788
19937
|
*/
|
|
19789
19938
|
focusTrigger() {
|
|
@@ -19880,6 +20029,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19880
20029
|
*/
|
|
19881
20030
|
autoPlacement: {
|
|
19882
20031
|
type: Boolean,
|
|
20032
|
+
attribute: 'autoplacement',
|
|
19883
20033
|
reflect: true
|
|
19884
20034
|
},
|
|
19885
20035
|
|
|
@@ -19888,6 +20038,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19888
20038
|
*/
|
|
19889
20039
|
desktopModal: {
|
|
19890
20040
|
type: Boolean,
|
|
20041
|
+
attribute: 'desktopmodal',
|
|
19891
20042
|
reflect: true
|
|
19892
20043
|
},
|
|
19893
20044
|
|
|
@@ -19896,6 +20047,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19896
20047
|
*/
|
|
19897
20048
|
disableEventShow: {
|
|
19898
20049
|
type: Boolean,
|
|
20050
|
+
attribute: 'disableeventshow',
|
|
19899
20051
|
reflect: true
|
|
19900
20052
|
},
|
|
19901
20053
|
|
|
@@ -19929,14 +20081,16 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19929
20081
|
*/
|
|
19930
20082
|
disableKeyboardHandling: {
|
|
19931
20083
|
type: Boolean,
|
|
20084
|
+
attribute: 'disablekeyboardhandling',
|
|
19932
20085
|
reflect: true
|
|
19933
20086
|
},
|
|
19934
20087
|
|
|
19935
20088
|
/**
|
|
19936
|
-
*
|
|
20089
|
+
* Sets the width of the dropdown bib in pixels.
|
|
19937
20090
|
*/
|
|
19938
20091
|
dropdownWidth: {
|
|
19939
|
-
type: Number
|
|
20092
|
+
type: Number,
|
|
20093
|
+
attribute: 'dropdownwidth'
|
|
19940
20094
|
},
|
|
19941
20095
|
|
|
19942
20096
|
/**
|
|
@@ -19961,7 +20115,8 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19961
20115
|
* Contains the help text message for the current validity error.
|
|
19962
20116
|
*/
|
|
19963
20117
|
errorMessage: {
|
|
19964
|
-
type: String
|
|
20118
|
+
type: String,
|
|
20119
|
+
attribute: 'errormessage'
|
|
19965
20120
|
},
|
|
19966
20121
|
|
|
19967
20122
|
/**
|
|
@@ -19969,6 +20124,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19969
20124
|
*/
|
|
19970
20125
|
focusShow: {
|
|
19971
20126
|
type: Boolean,
|
|
20127
|
+
attribute: 'focusshow',
|
|
19972
20128
|
reflect: true
|
|
19973
20129
|
},
|
|
19974
20130
|
|
|
@@ -19986,6 +20142,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19986
20142
|
*/
|
|
19987
20143
|
isBibFullscreen: {
|
|
19988
20144
|
type: Boolean,
|
|
20145
|
+
attribute: 'isbibfullscreen',
|
|
19989
20146
|
reflect: true
|
|
19990
20147
|
},
|
|
19991
20148
|
|
|
@@ -19994,6 +20151,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19994
20151
|
*/
|
|
19995
20152
|
hoverToggle: {
|
|
19996
20153
|
type: Boolean,
|
|
20154
|
+
attribute: 'hovertoggle',
|
|
19997
20155
|
reflect: true
|
|
19998
20156
|
},
|
|
19999
20157
|
|
|
@@ -20001,7 +20159,8 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20001
20159
|
* @private
|
|
20002
20160
|
*/
|
|
20003
20161
|
hasTriggerContent: {
|
|
20004
|
-
type: Boolean
|
|
20162
|
+
type: Boolean,
|
|
20163
|
+
attribute: 'hastriggercontent'
|
|
20005
20164
|
},
|
|
20006
20165
|
|
|
20007
20166
|
/**
|
|
@@ -20014,6 +20173,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20014
20173
|
*/
|
|
20015
20174
|
fullscreenBreakpoint: {
|
|
20016
20175
|
type: String,
|
|
20176
|
+
attribute: "fullscreenbreakpoint",
|
|
20017
20177
|
reflect: true
|
|
20018
20178
|
},
|
|
20019
20179
|
|
|
@@ -20024,6 +20184,27 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20024
20184
|
*/
|
|
20025
20185
|
layout: {
|
|
20026
20186
|
type: String,
|
|
20187
|
+
attribute: "layout",
|
|
20188
|
+
reflect: true
|
|
20189
|
+
},
|
|
20190
|
+
|
|
20191
|
+
/**
|
|
20192
|
+
* Sets the shape of the dropdown.
|
|
20193
|
+
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
20194
|
+
*/
|
|
20195
|
+
shape: {
|
|
20196
|
+
type: String,
|
|
20197
|
+
attribute: "shape",
|
|
20198
|
+
reflect: true
|
|
20199
|
+
},
|
|
20200
|
+
|
|
20201
|
+
/**
|
|
20202
|
+
* Sets the size of the dropdown.
|
|
20203
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
20204
|
+
*/
|
|
20205
|
+
size: {
|
|
20206
|
+
type: String,
|
|
20207
|
+
attribute: "size",
|
|
20027
20208
|
reflect: true
|
|
20028
20209
|
},
|
|
20029
20210
|
|
|
@@ -20033,6 +20214,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20033
20214
|
*/
|
|
20034
20215
|
parentBorder: {
|
|
20035
20216
|
type: Boolean,
|
|
20217
|
+
attribute: 'parentborder',
|
|
20036
20218
|
reflect: true
|
|
20037
20219
|
},
|
|
20038
20220
|
|
|
@@ -20041,6 +20223,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20041
20223
|
*/
|
|
20042
20224
|
matchWidth: {
|
|
20043
20225
|
type: Boolean,
|
|
20226
|
+
attribute: 'matchwidth',
|
|
20044
20227
|
reflect: true
|
|
20045
20228
|
},
|
|
20046
20229
|
|
|
@@ -20050,6 +20233,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20050
20233
|
*/
|
|
20051
20234
|
noFlip: {
|
|
20052
20235
|
type: Boolean,
|
|
20236
|
+
attribute: 'noflip',
|
|
20053
20237
|
reflect: true
|
|
20054
20238
|
},
|
|
20055
20239
|
|
|
@@ -20066,6 +20250,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20066
20250
|
*/
|
|
20067
20251
|
noHideOnThisFocusLoss: {
|
|
20068
20252
|
type: Boolean,
|
|
20253
|
+
attribute: 'nohideonthisfocusloss',
|
|
20069
20254
|
reflect: true
|
|
20070
20255
|
},
|
|
20071
20256
|
|
|
@@ -20074,6 +20259,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20074
20259
|
*/
|
|
20075
20260
|
noToggle: {
|
|
20076
20261
|
type: Boolean,
|
|
20262
|
+
attribute: 'notoggle',
|
|
20077
20263
|
reflect: true
|
|
20078
20264
|
},
|
|
20079
20265
|
|
|
@@ -20091,6 +20277,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20091
20277
|
*/
|
|
20092
20278
|
onDark: {
|
|
20093
20279
|
type: Boolean,
|
|
20280
|
+
attribute: 'ondark',
|
|
20094
20281
|
reflect: true
|
|
20095
20282
|
},
|
|
20096
20283
|
|
|
@@ -20099,6 +20286,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20099
20286
|
*/
|
|
20100
20287
|
onSlotChange: {
|
|
20101
20288
|
type: Function,
|
|
20289
|
+
attribute: 'onslotchange',
|
|
20102
20290
|
reflect: false
|
|
20103
20291
|
},
|
|
20104
20292
|
|
|
@@ -20113,10 +20301,11 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20113
20301
|
},
|
|
20114
20302
|
|
|
20115
20303
|
/**
|
|
20116
|
-
*
|
|
20304
|
+
* Sets the tabindex applied to the dropdown trigger for keyboard focus order.
|
|
20117
20305
|
*/
|
|
20118
20306
|
tabIndex: {
|
|
20119
|
-
type: Number
|
|
20307
|
+
type: Number,
|
|
20308
|
+
attribute: 'tabindex'
|
|
20120
20309
|
},
|
|
20121
20310
|
|
|
20122
20311
|
/**
|
|
@@ -20340,7 +20529,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20340
20529
|
/**
|
|
20341
20530
|
* @description Let subscribers know that the dropdown ID ha been generated and added.
|
|
20342
20531
|
* @event auroDropdown-idAdded
|
|
20343
|
-
* @type {
|
|
20532
|
+
* @type {CustomEvent<{ id: string }>} - Detail carries the generated ID of the dropdown bib element.
|
|
20344
20533
|
*/
|
|
20345
20534
|
this.dispatchEvent(new CustomEvent('auroDropdown-idAdded', {detail: {id: this.floater.element.id}}));
|
|
20346
20535
|
|
|
@@ -25489,37 +25678,37 @@ class AuroFormValidation {
|
|
|
25489
25678
|
}
|
|
25490
25679
|
}
|
|
25491
25680
|
|
|
25681
|
+
/**
|
|
25682
|
+
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
25683
|
+
*
|
|
25684
|
+
* It defines the common `layout`, `shape`, `size`, and `ondark` reactive
|
|
25685
|
+
* properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
|
|
25686
|
+
* `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
|
|
25687
|
+
* the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
|
|
25688
|
+
* own default and valid value set for `layout`, `shape`, and `size`.
|
|
25689
|
+
*/
|
|
25492
25690
|
let AuroElement$1 = class AuroElement extends i$1 {
|
|
25493
25691
|
static get properties() {
|
|
25494
25692
|
return {
|
|
25495
25693
|
|
|
25496
25694
|
/**
|
|
25497
|
-
*
|
|
25498
|
-
* @default {'default'}
|
|
25695
|
+
* When true, renders the component styled for use on a dark background.
|
|
25499
25696
|
*/
|
|
25500
|
-
layout: {
|
|
25501
|
-
type: String,
|
|
25502
|
-
attribute: "layout",
|
|
25503
|
-
reflect: true
|
|
25504
|
-
},
|
|
25505
|
-
|
|
25506
|
-
shape: {
|
|
25507
|
-
type: String,
|
|
25508
|
-
attribute: "shape",
|
|
25509
|
-
reflect: true
|
|
25510
|
-
},
|
|
25511
|
-
|
|
25512
|
-
size: {
|
|
25513
|
-
type: String,
|
|
25514
|
-
attribute: "size",
|
|
25515
|
-
reflect: true
|
|
25516
|
-
},
|
|
25517
|
-
|
|
25518
25697
|
onDark: {
|
|
25519
25698
|
type: Boolean,
|
|
25520
25699
|
attribute: "ondark",
|
|
25521
25700
|
reflect: true
|
|
25522
25701
|
}
|
|
25702
|
+
|
|
25703
|
+
// NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
|
|
25704
|
+
// Their valid value sets differ per component, and the CEM analyzer roots
|
|
25705
|
+
// an inherited property's `type` in the class that declares it — a base
|
|
25706
|
+
// declaration would force every subclass's `@type` to be discarded and
|
|
25707
|
+
// emitted as plain `string`. Each subclass declares its own `layout` /
|
|
25708
|
+
// `shape` / `size` with an exact `@type` union instead. AuroElement still
|
|
25709
|
+
// consumes `this.layout` / `this.shape` / `this.size` in its render and
|
|
25710
|
+
// architecture helpers below (subclasses guarantee the reactive props).
|
|
25711
|
+
// See AlaskaAirlines/discussions#653.
|
|
25523
25712
|
};
|
|
25524
25713
|
}
|
|
25525
25714
|
|
|
@@ -31486,6 +31675,7 @@ class DomHandler {
|
|
|
31486
31675
|
* Base class for auro-input component that provides core input functionality.
|
|
31487
31676
|
* @event input - Event fires when the value of an `auro-input` has been changed.
|
|
31488
31677
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
|
|
31678
|
+
* @event auroInput-validityChange - Notifies that the `validity` state of the input has changed.
|
|
31489
31679
|
*/
|
|
31490
31680
|
class BaseInput extends AuroElement$1 {
|
|
31491
31681
|
|
|
@@ -31525,6 +31715,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
31525
31715
|
"credit-card",
|
|
31526
31716
|
"tel"
|
|
31527
31717
|
];
|
|
31718
|
+
|
|
31719
|
+
/** @type {'default' | 'inverse'} */
|
|
31528
31720
|
this.appearance = "default";
|
|
31529
31721
|
|
|
31530
31722
|
/** @private */
|
|
@@ -31558,7 +31750,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
31558
31750
|
|
|
31559
31751
|
/** @private */
|
|
31560
31752
|
this.label = 'Input label is undefined';
|
|
31561
|
-
this.layout = 'classic';
|
|
31562
31753
|
this.locale = 'en-US';
|
|
31563
31754
|
this._format = undefined;
|
|
31564
31755
|
|
|
@@ -31580,11 +31771,9 @@ class BaseInput extends AuroElement$1 {
|
|
|
31580
31771
|
"password",
|
|
31581
31772
|
"email"
|
|
31582
31773
|
];
|
|
31583
|
-
this.shape = 'classic';
|
|
31584
31774
|
|
|
31585
31775
|
/** @private */
|
|
31586
31776
|
this.showPassword = false;
|
|
31587
|
-
this.size = 'lg';
|
|
31588
31777
|
this.touched = false;
|
|
31589
31778
|
|
|
31590
31779
|
/** @private */
|
|
@@ -31602,6 +31791,24 @@ class BaseInput extends AuroElement$1 {
|
|
|
31602
31791
|
/** @private */
|
|
31603
31792
|
this.validationCCLength = undefined;
|
|
31604
31793
|
this.value = undefined;
|
|
31794
|
+
|
|
31795
|
+
this.initializeArchitectureDefaults();
|
|
31796
|
+
}
|
|
31797
|
+
|
|
31798
|
+
/**
|
|
31799
|
+
* Sets the default `layout`, `shape`, and `size` values.
|
|
31800
|
+
*
|
|
31801
|
+
* These are assigned in a helper method rather than the constructor body so
|
|
31802
|
+
* the CEM analyzer keeps their `@type` string-literal unions (a literal
|
|
31803
|
+
* assignment in the constructor would make the analyzer infer `string` and
|
|
31804
|
+
* override the union — see AlaskaAirlines/discussions#653, gotcha 1).
|
|
31805
|
+
* @private
|
|
31806
|
+
* @returns {void}
|
|
31807
|
+
*/
|
|
31808
|
+
initializeArchitectureDefaults() {
|
|
31809
|
+
this.layout = 'classic';
|
|
31810
|
+
this.shape = 'classic';
|
|
31811
|
+
this.size = 'lg';
|
|
31605
31812
|
}
|
|
31606
31813
|
|
|
31607
31814
|
// function to define props used within the scope of this component
|
|
@@ -31609,11 +31816,45 @@ class BaseInput extends AuroElement$1 {
|
|
|
31609
31816
|
return {
|
|
31610
31817
|
...super.properties,
|
|
31611
31818
|
|
|
31819
|
+
/**
|
|
31820
|
+
* Sets the layout variant of the input.
|
|
31821
|
+
* @type {'classic' | 'emphasized' | 'emphasized-left' | 'emphasized-right' | 'snowflake' | 'snowflake-left' | 'snowflake-right'}
|
|
31822
|
+
* @default 'classic'
|
|
31823
|
+
*/
|
|
31824
|
+
layout: {
|
|
31825
|
+
type: String,
|
|
31826
|
+
attribute: "layout",
|
|
31827
|
+
reflect: true
|
|
31828
|
+
},
|
|
31829
|
+
|
|
31830
|
+
/**
|
|
31831
|
+
* Sets the shape of the input.
|
|
31832
|
+
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
31833
|
+
* @default 'classic'
|
|
31834
|
+
*/
|
|
31835
|
+
shape: {
|
|
31836
|
+
type: String,
|
|
31837
|
+
attribute: "shape",
|
|
31838
|
+
reflect: true
|
|
31839
|
+
},
|
|
31840
|
+
|
|
31841
|
+
/**
|
|
31842
|
+
* Sets the size of the input.
|
|
31843
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
31844
|
+
* @default 'lg'
|
|
31845
|
+
*/
|
|
31846
|
+
size: {
|
|
31847
|
+
type: String,
|
|
31848
|
+
attribute: "size",
|
|
31849
|
+
reflect: true
|
|
31850
|
+
},
|
|
31851
|
+
|
|
31612
31852
|
/**
|
|
31613
31853
|
* The value for the role attribute.
|
|
31614
31854
|
*/
|
|
31615
31855
|
a11yRole: {
|
|
31616
31856
|
type: String,
|
|
31857
|
+
attribute: 'a11yrole',
|
|
31617
31858
|
reflect: true
|
|
31618
31859
|
},
|
|
31619
31860
|
|
|
@@ -31622,6 +31863,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31622
31863
|
*/
|
|
31623
31864
|
a11yControls: {
|
|
31624
31865
|
type: String,
|
|
31866
|
+
attribute: 'a11ycontrols',
|
|
31625
31867
|
reflect: true
|
|
31626
31868
|
},
|
|
31627
31869
|
|
|
@@ -31630,6 +31872,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31630
31872
|
*/
|
|
31631
31873
|
a11yExpanded: {
|
|
31632
31874
|
type: Boolean,
|
|
31875
|
+
attribute: 'a11yexpanded',
|
|
31633
31876
|
reflect: true
|
|
31634
31877
|
},
|
|
31635
31878
|
|
|
@@ -31639,6 +31882,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31639
31882
|
*/
|
|
31640
31883
|
a11yActivedescendant: {
|
|
31641
31884
|
type: String,
|
|
31885
|
+
attribute: 'a11yactivedescendant',
|
|
31642
31886
|
reflect: true
|
|
31643
31887
|
},
|
|
31644
31888
|
|
|
@@ -31649,6 +31893,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31649
31893
|
*/
|
|
31650
31894
|
activeLabel: {
|
|
31651
31895
|
type: Boolean,
|
|
31896
|
+
attribute: 'activelabel',
|
|
31652
31897
|
reflect: true
|
|
31653
31898
|
},
|
|
31654
31899
|
|
|
@@ -31663,7 +31908,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
31663
31908
|
},
|
|
31664
31909
|
|
|
31665
31910
|
/**
|
|
31666
|
-
* An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
31911
|
+
* An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
31912
|
+
* @type {'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'}
|
|
31667
31913
|
*/
|
|
31668
31914
|
autocapitalize: {
|
|
31669
31915
|
type: String,
|
|
@@ -31680,6 +31926,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31680
31926
|
|
|
31681
31927
|
/**
|
|
31682
31928
|
* When set to `off`, stops iOS from auto-correcting words when typed into a text box.
|
|
31929
|
+
* @type {'on' | 'off'}
|
|
31683
31930
|
*/
|
|
31684
31931
|
autocorrect: {
|
|
31685
31932
|
type: String,
|
|
@@ -31690,7 +31937,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
31690
31937
|
* Custom help text message for email type validity.
|
|
31691
31938
|
*/
|
|
31692
31939
|
customValidityTypeEmail: {
|
|
31693
|
-
type: String
|
|
31940
|
+
type: String,
|
|
31941
|
+
attribute: 'customvaliditytypeemail'
|
|
31694
31942
|
},
|
|
31695
31943
|
|
|
31696
31944
|
/**
|
|
@@ -31706,6 +31954,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31706
31954
|
*/
|
|
31707
31955
|
dvInputOnly: {
|
|
31708
31956
|
type: Boolean,
|
|
31957
|
+
attribute: 'dvinputonly',
|
|
31709
31958
|
reflect: true
|
|
31710
31959
|
},
|
|
31711
31960
|
|
|
@@ -31721,7 +31970,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
31721
31970
|
* Contains the help text message for the current validity error.
|
|
31722
31971
|
*/
|
|
31723
31972
|
errorMessage: {
|
|
31724
|
-
type: String
|
|
31973
|
+
type: String,
|
|
31974
|
+
attribute: 'errormessage'
|
|
31725
31975
|
},
|
|
31726
31976
|
|
|
31727
31977
|
/**
|
|
@@ -31757,6 +32007,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31757
32007
|
*/
|
|
31758
32008
|
hideLabelVisually: {
|
|
31759
32009
|
type: Boolean,
|
|
32010
|
+
attribute: 'hidelabelvisually',
|
|
31760
32011
|
reflect: true
|
|
31761
32012
|
},
|
|
31762
32013
|
|
|
@@ -31823,6 +32074,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31823
32074
|
*/
|
|
31824
32075
|
maxLength: {
|
|
31825
32076
|
type: Number,
|
|
32077
|
+
attribute: 'maxlength',
|
|
31826
32078
|
reflect: true
|
|
31827
32079
|
},
|
|
31828
32080
|
|
|
@@ -31838,6 +32090,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31838
32090
|
*/
|
|
31839
32091
|
minLength: {
|
|
31840
32092
|
type: Number,
|
|
32093
|
+
attribute: 'minlength',
|
|
31841
32094
|
reflect: true
|
|
31842
32095
|
},
|
|
31843
32096
|
|
|
@@ -31863,6 +32116,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31863
32116
|
*/
|
|
31864
32117
|
noValidate: {
|
|
31865
32118
|
type: Boolean,
|
|
32119
|
+
attribute: 'novalidate',
|
|
31866
32120
|
reflect: true
|
|
31867
32121
|
},
|
|
31868
32122
|
|
|
@@ -31871,6 +32125,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31871
32125
|
*/
|
|
31872
32126
|
onDark: {
|
|
31873
32127
|
type: Boolean,
|
|
32128
|
+
attribute: 'ondark',
|
|
31874
32129
|
reflect: true
|
|
31875
32130
|
},
|
|
31876
32131
|
|
|
@@ -31910,77 +32165,88 @@ class BaseInput extends AuroElement$1 {
|
|
|
31910
32165
|
* Sets a custom help text message to display for all validityStates.
|
|
31911
32166
|
*/
|
|
31912
32167
|
setCustomValidity: {
|
|
31913
|
-
type: String
|
|
32168
|
+
type: String,
|
|
32169
|
+
attribute: 'setcustomvalidity'
|
|
31914
32170
|
},
|
|
31915
32171
|
|
|
31916
32172
|
/**
|
|
31917
32173
|
* Custom help text message to display when validity = `badInput`.
|
|
31918
32174
|
*/
|
|
31919
32175
|
setCustomValidityBadInput: {
|
|
31920
|
-
type: String
|
|
32176
|
+
type: String,
|
|
32177
|
+
attribute: 'setcustomvaliditybadinput'
|
|
31921
32178
|
},
|
|
31922
32179
|
|
|
31923
32180
|
/**
|
|
31924
32181
|
* Custom help text message to display when validity = `customError`.
|
|
31925
32182
|
*/
|
|
31926
32183
|
setCustomValidityCustomError: {
|
|
31927
|
-
type: String
|
|
32184
|
+
type: String,
|
|
32185
|
+
attribute: 'setcustomvaliditycustomerror'
|
|
31928
32186
|
},
|
|
31929
32187
|
|
|
31930
32188
|
/**
|
|
31931
32189
|
* Custom help text message to display for the declared element `type` and type validity fails.
|
|
31932
32190
|
*/
|
|
31933
32191
|
setCustomValidityForType: {
|
|
31934
|
-
type: String
|
|
32192
|
+
type: String,
|
|
32193
|
+
attribute: 'setcustomvalidityfortype'
|
|
31935
32194
|
},
|
|
31936
32195
|
|
|
31937
32196
|
/**
|
|
31938
32197
|
* Custom help text message to display when validity = `patternMismatch`.
|
|
31939
32198
|
*/
|
|
31940
32199
|
setCustomValidityPatternMismatch: {
|
|
31941
|
-
type: String
|
|
32200
|
+
type: String,
|
|
32201
|
+
attribute: 'setcustomvaliditypatternmismatch'
|
|
31942
32202
|
},
|
|
31943
32203
|
|
|
31944
32204
|
/**
|
|
31945
32205
|
* Custom help text message to display when validity = `rangeOverflow`.
|
|
31946
32206
|
*/
|
|
31947
32207
|
setCustomValidityRangeOverflow: {
|
|
31948
|
-
type: String
|
|
32208
|
+
type: String,
|
|
32209
|
+
attribute: 'setcustomvalidityrangeoverflow'
|
|
31949
32210
|
},
|
|
31950
32211
|
|
|
31951
32212
|
/**
|
|
31952
32213
|
* Custom help text message to display when validity = `rangeUnderflow`.
|
|
31953
32214
|
*/
|
|
31954
32215
|
setCustomValidityRangeUnderflow: {
|
|
31955
|
-
type: String
|
|
32216
|
+
type: String,
|
|
32217
|
+
attribute: 'setcustomvalidityrangeunderflow'
|
|
31956
32218
|
},
|
|
31957
32219
|
|
|
31958
32220
|
/**
|
|
31959
32221
|
* Custom help text message to display when validity = `tooLong`.
|
|
31960
32222
|
*/
|
|
31961
32223
|
setCustomValidityTooLong: {
|
|
31962
|
-
type: String
|
|
32224
|
+
type: String,
|
|
32225
|
+
attribute: 'setcustomvaliditytoolong'
|
|
31963
32226
|
},
|
|
31964
32227
|
|
|
31965
32228
|
/**
|
|
31966
32229
|
* Custom help text message to display when validity = `tooShort`.
|
|
31967
32230
|
*/
|
|
31968
32231
|
setCustomValidityTooShort: {
|
|
31969
|
-
type: String
|
|
32232
|
+
type: String,
|
|
32233
|
+
attribute: 'setcustomvaliditytooshort'
|
|
31970
32234
|
},
|
|
31971
32235
|
|
|
31972
32236
|
/**
|
|
31973
32237
|
* Custom help text message to display when validity = `valueMissing`.
|
|
31974
32238
|
*/
|
|
31975
32239
|
setCustomValidityValueMissing: {
|
|
31976
|
-
type: String
|
|
32240
|
+
type: String,
|
|
32241
|
+
attribute: 'setcustomvalidityvaluemissing'
|
|
31977
32242
|
},
|
|
31978
32243
|
|
|
31979
32244
|
/**
|
|
31980
32245
|
* @ignore
|
|
31981
32246
|
*/
|
|
31982
32247
|
showPassword: {
|
|
31983
|
-
state: true
|
|
32248
|
+
state: true,
|
|
32249
|
+
attribute: false
|
|
31984
32250
|
},
|
|
31985
32251
|
|
|
31986
32252
|
/**
|
|
@@ -31992,7 +32258,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
31992
32258
|
},
|
|
31993
32259
|
|
|
31994
32260
|
/**
|
|
31995
|
-
* An enumerated attribute defines whether the element may be checked for spelling errors.
|
|
32261
|
+
* An enumerated attribute defines whether the element may be checked for spelling errors. When set to `false` the attribute `autocorrect` is set to `off` and `autocapitalize` is set to `none`.
|
|
32262
|
+
* @type {'true' | 'false'}
|
|
31996
32263
|
*/
|
|
31997
32264
|
spellcheck: {
|
|
31998
32265
|
type: String,
|
|
@@ -32023,7 +32290,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
32023
32290
|
* Sets validation mode to re-eval with each input.
|
|
32024
32291
|
*/
|
|
32025
32292
|
validateOnInput: {
|
|
32026
|
-
type: Boolean
|
|
32293
|
+
type: Boolean,
|
|
32294
|
+
attribute: 'validateoninput'
|
|
32027
32295
|
},
|
|
32028
32296
|
|
|
32029
32297
|
/**
|
|
@@ -33077,6 +33345,8 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
33077
33345
|
super();
|
|
33078
33346
|
|
|
33079
33347
|
this.error = false;
|
|
33348
|
+
|
|
33349
|
+
/** @type {'default' | 'inverse'} */
|
|
33080
33350
|
this.appearance = "default";
|
|
33081
33351
|
this.onDark = false;
|
|
33082
33352
|
this.hasTextContent = false;
|
|
@@ -33097,8 +33367,8 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
33097
33367
|
return {
|
|
33098
33368
|
|
|
33099
33369
|
/**
|
|
33100
|
-
*
|
|
33101
|
-
* @
|
|
33370
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
33371
|
+
* @type {'default' | 'inverse'}
|
|
33102
33372
|
* @default 'default'
|
|
33103
33373
|
*/
|
|
33104
33374
|
appearance: {
|
|
@@ -33111,6 +33381,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
33111
33381
|
*/
|
|
33112
33382
|
slotNodes: {
|
|
33113
33383
|
type: Boolean,
|
|
33384
|
+
attribute: 'slotnodes',
|
|
33114
33385
|
},
|
|
33115
33386
|
|
|
33116
33387
|
/**
|
|
@@ -33118,6 +33389,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
33118
33389
|
*/
|
|
33119
33390
|
hasTextContent: {
|
|
33120
33391
|
type: Boolean,
|
|
33392
|
+
attribute: 'hastextcontent',
|
|
33121
33393
|
},
|
|
33122
33394
|
|
|
33123
33395
|
/**
|
|
@@ -33133,6 +33405,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
33133
33405
|
*/
|
|
33134
33406
|
onDark: {
|
|
33135
33407
|
type: Boolean,
|
|
33408
|
+
attribute: 'ondark',
|
|
33136
33409
|
reflect: true
|
|
33137
33410
|
}
|
|
33138
33411
|
};
|
|
@@ -33203,7 +33476,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
33203
33476
|
}
|
|
33204
33477
|
};
|
|
33205
33478
|
|
|
33206
|
-
var formkitVersion = '
|
|
33479
|
+
var formkitVersion = '202608291822';
|
|
33207
33480
|
|
|
33208
33481
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
33209
33482
|
// See LICENSE in the project root for license information.
|
|
@@ -34137,6 +34410,8 @@ class AuroHelpText extends i$1 {
|
|
|
34137
34410
|
super();
|
|
34138
34411
|
|
|
34139
34412
|
this.error = false;
|
|
34413
|
+
|
|
34414
|
+
/** @type {'default' | 'inverse'} */
|
|
34140
34415
|
this.appearance = "default";
|
|
34141
34416
|
this.onDark = false;
|
|
34142
34417
|
this.hasTextContent = false;
|
|
@@ -34157,8 +34432,8 @@ class AuroHelpText extends i$1 {
|
|
|
34157
34432
|
return {
|
|
34158
34433
|
|
|
34159
34434
|
/**
|
|
34160
|
-
*
|
|
34161
|
-
* @
|
|
34435
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
34436
|
+
* @type {'default' | 'inverse'}
|
|
34162
34437
|
* @default 'default'
|
|
34163
34438
|
*/
|
|
34164
34439
|
appearance: {
|
|
@@ -34171,6 +34446,7 @@ class AuroHelpText extends i$1 {
|
|
|
34171
34446
|
*/
|
|
34172
34447
|
slotNodes: {
|
|
34173
34448
|
type: Boolean,
|
|
34449
|
+
attribute: 'slotnodes',
|
|
34174
34450
|
},
|
|
34175
34451
|
|
|
34176
34452
|
/**
|
|
@@ -34178,6 +34454,7 @@ class AuroHelpText extends i$1 {
|
|
|
34178
34454
|
*/
|
|
34179
34455
|
hasTextContent: {
|
|
34180
34456
|
type: Boolean,
|
|
34457
|
+
attribute: 'hastextcontent',
|
|
34181
34458
|
},
|
|
34182
34459
|
|
|
34183
34460
|
/**
|
|
@@ -34193,6 +34470,7 @@ class AuroHelpText extends i$1 {
|
|
|
34193
34470
|
*/
|
|
34194
34471
|
onDark: {
|
|
34195
34472
|
type: Boolean,
|
|
34473
|
+
attribute: 'ondark',
|
|
34196
34474
|
reflect: true
|
|
34197
34475
|
}
|
|
34198
34476
|
};
|
|
@@ -34263,37 +34541,37 @@ class AuroHelpText extends i$1 {
|
|
|
34263
34541
|
}
|
|
34264
34542
|
}
|
|
34265
34543
|
|
|
34544
|
+
/**
|
|
34545
|
+
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
34546
|
+
*
|
|
34547
|
+
* It defines the common `layout`, `shape`, `size`, and `ondark` reactive
|
|
34548
|
+
* properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
|
|
34549
|
+
* `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
|
|
34550
|
+
* the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
|
|
34551
|
+
* own default and valid value set for `layout`, `shape`, and `size`.
|
|
34552
|
+
*/
|
|
34266
34553
|
class AuroElement extends i$1 {
|
|
34267
34554
|
static get properties() {
|
|
34268
34555
|
return {
|
|
34269
34556
|
|
|
34270
34557
|
/**
|
|
34271
|
-
*
|
|
34272
|
-
* @default {'default'}
|
|
34558
|
+
* When true, renders the component styled for use on a dark background.
|
|
34273
34559
|
*/
|
|
34274
|
-
layout: {
|
|
34275
|
-
type: String,
|
|
34276
|
-
attribute: "layout",
|
|
34277
|
-
reflect: true
|
|
34278
|
-
},
|
|
34279
|
-
|
|
34280
|
-
shape: {
|
|
34281
|
-
type: String,
|
|
34282
|
-
attribute: "shape",
|
|
34283
|
-
reflect: true
|
|
34284
|
-
},
|
|
34285
|
-
|
|
34286
|
-
size: {
|
|
34287
|
-
type: String,
|
|
34288
|
-
attribute: "size",
|
|
34289
|
-
reflect: true
|
|
34290
|
-
},
|
|
34291
|
-
|
|
34292
34560
|
onDark: {
|
|
34293
34561
|
type: Boolean,
|
|
34294
34562
|
attribute: "ondark",
|
|
34295
34563
|
reflect: true
|
|
34296
34564
|
}
|
|
34565
|
+
|
|
34566
|
+
// NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
|
|
34567
|
+
// Their valid value sets differ per component, and the CEM analyzer roots
|
|
34568
|
+
// an inherited property's `type` in the class that declares it — a base
|
|
34569
|
+
// declaration would force every subclass's `@type` to be discarded and
|
|
34570
|
+
// emitted as plain `string`. Each subclass declares its own `layout` /
|
|
34571
|
+
// `shape` / `size` with an exact `@type` union instead. AuroElement still
|
|
34572
|
+
// consumes `this.layout` / `this.shape` / `this.size` in its render and
|
|
34573
|
+
// architecture helpers below (subclasses guarantee the reactive props).
|
|
34574
|
+
// See AlaskaAirlines/discussions#653.
|
|
34297
34575
|
};
|
|
34298
34576
|
}
|
|
34299
34577
|
|
|
@@ -34711,6 +34989,10 @@ const datepickerKeyboardStrategy = {
|
|
|
34711
34989
|
* @slot popover_YYYY_MM_DD - Defines the content to display in the auro-calendar-cell popover for the specified date.
|
|
34712
34990
|
* @csspart dropdown - Use for customizing the style of the dropdown.
|
|
34713
34991
|
* @csspart trigger - Use for customizing the style of the datepicker trigger.
|
|
34992
|
+
* @csspart wrapper - Use for customizing the style of the trigger content wrapper.
|
|
34993
|
+
* @csspart mainLabel - Use for customizing the style of the main label in the snowflake layout.
|
|
34994
|
+
* @csspart inputSection - Use for customizing the style of the input section within the trigger.
|
|
34995
|
+
* @csspart accentIcon - Use for customizing the style of the leading calendar accent icon.
|
|
34714
34996
|
* @csspart input - Use for customizing the style of the datepicker inputs.
|
|
34715
34997
|
* @csspart calendarWrapper - Use for customizing the style of the calendar container.
|
|
34716
34998
|
* @csspart calendar - Use for customizing the style of the calendar.
|
|
@@ -34720,6 +35002,7 @@ const datepickerKeyboardStrategy = {
|
|
|
34720
35002
|
* @event auroDatePicker-monthChanged - Notifies that the visible calendar month(s) have changed.
|
|
34721
35003
|
* @event auroFormElement-validated - Notifies that the component value(s) have been validated.
|
|
34722
35004
|
* @event auroDatePicker-newSlotContent - Notifies that new slot content has been added to the datepicker.
|
|
35005
|
+
* @event input - Notifies that the datepicker's value has changed.
|
|
34723
35006
|
*/
|
|
34724
35007
|
class AuroDatePicker extends AuroElement {
|
|
34725
35008
|
static get shadowRootOptions() {
|
|
@@ -34883,11 +35166,17 @@ class AuroDatePicker extends AuroElement {
|
|
|
34883
35166
|
*/
|
|
34884
35167
|
this.handleClearClick = this.handleClearClick.bind(this);
|
|
34885
35168
|
|
|
34886
|
-
|
|
35169
|
+
this.initializeArchitectureDefaults();
|
|
35170
|
+
}
|
|
35171
|
+
|
|
35172
|
+
// Defaults for the inherited layout/shape/size architecture props are set in a
|
|
35173
|
+
// helper (not the constructor body) so the CEM analyzer keeps their `@type`
|
|
35174
|
+
// unions instead of inferring `string` from a constructor-literal assignment.
|
|
35175
|
+
// See AlaskaAirlines/discussions#653.
|
|
35176
|
+
initializeArchitectureDefaults() {
|
|
34887
35177
|
this.layout = 'classic';
|
|
34888
35178
|
this.shape = 'classic';
|
|
34889
35179
|
this.size = 'lg';
|
|
34890
|
-
|
|
34891
35180
|
}
|
|
34892
35181
|
|
|
34893
35182
|
// This function is to define props used within the scope of this component
|
|
@@ -34913,6 +35202,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
34913
35202
|
*/
|
|
34914
35203
|
autoPlacement: {
|
|
34915
35204
|
type: Boolean,
|
|
35205
|
+
attribute: "autoplacement",
|
|
34916
35206
|
reflect: true
|
|
34917
35207
|
},
|
|
34918
35208
|
|
|
@@ -34929,6 +35219,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
34929
35219
|
*/
|
|
34930
35220
|
blackoutDates: {
|
|
34931
35221
|
type: Array,
|
|
35222
|
+
attribute: 'blackoutdates',
|
|
34932
35223
|
reflect: true
|
|
34933
35224
|
},
|
|
34934
35225
|
|
|
@@ -34938,6 +35229,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
34938
35229
|
*/
|
|
34939
35230
|
blackoutLabel: {
|
|
34940
35231
|
type: String,
|
|
35232
|
+
attribute: 'blackoutlabel',
|
|
34941
35233
|
reflect: true
|
|
34942
35234
|
},
|
|
34943
35235
|
|
|
@@ -34946,6 +35238,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
34946
35238
|
*/
|
|
34947
35239
|
calendarEndDate: {
|
|
34948
35240
|
type: String,
|
|
35241
|
+
attribute: 'calendarenddate',
|
|
34949
35242
|
reflect: true
|
|
34950
35243
|
},
|
|
34951
35244
|
|
|
@@ -34955,6 +35248,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
34955
35248
|
*/
|
|
34956
35249
|
calendarGridLabel: {
|
|
34957
35250
|
type: String,
|
|
35251
|
+
attribute: 'calendargridlabel',
|
|
34958
35252
|
reflect: true
|
|
34959
35253
|
},
|
|
34960
35254
|
|
|
@@ -34963,6 +35257,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
34963
35257
|
*/
|
|
34964
35258
|
calendarFocusDate: {
|
|
34965
35259
|
type: String,
|
|
35260
|
+
attribute: 'calendarfocusdate',
|
|
34966
35261
|
reflect: true
|
|
34967
35262
|
},
|
|
34968
35263
|
|
|
@@ -34971,6 +35266,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
34971
35266
|
*/
|
|
34972
35267
|
calendarStartDate: {
|
|
34973
35268
|
type: String,
|
|
35269
|
+
attribute: 'calendarstartdate',
|
|
34974
35270
|
reflect: true
|
|
34975
35271
|
},
|
|
34976
35272
|
|
|
@@ -34978,7 +35274,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
34978
35274
|
* The date that determines the currently visible month.
|
|
34979
35275
|
*/
|
|
34980
35276
|
centralDate: {
|
|
34981
|
-
type: String
|
|
35277
|
+
type: String,
|
|
35278
|
+
attribute: 'centraldate'
|
|
34982
35279
|
},
|
|
34983
35280
|
|
|
34984
35281
|
/**
|
|
@@ -34994,6 +35291,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
34994
35291
|
*/
|
|
34995
35292
|
dvInputOnly: {
|
|
34996
35293
|
type: Boolean,
|
|
35294
|
+
attribute: 'dvinputonly',
|
|
34997
35295
|
reflect: true
|
|
34998
35296
|
},
|
|
34999
35297
|
|
|
@@ -35031,6 +35329,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35031
35329
|
*/
|
|
35032
35330
|
fullscreenBreakpoint: {
|
|
35033
35331
|
type: String,
|
|
35332
|
+
attribute: "fullscreenbreakpoint",
|
|
35034
35333
|
reflect: true
|
|
35035
35334
|
},
|
|
35036
35335
|
|
|
@@ -35039,11 +35338,13 @@ class AuroDatePicker extends AuroElement {
|
|
|
35039
35338
|
*/
|
|
35040
35339
|
hasAllValues: {
|
|
35041
35340
|
type: Boolean,
|
|
35341
|
+
attribute: 'hasallvalues',
|
|
35042
35342
|
reflect: false
|
|
35043
35343
|
},
|
|
35044
35344
|
|
|
35045
35345
|
hasFocus: {
|
|
35046
35346
|
type: Boolean,
|
|
35347
|
+
attribute: 'hasfocus',
|
|
35047
35348
|
reflect: false,
|
|
35048
35349
|
},
|
|
35049
35350
|
|
|
@@ -35052,10 +35353,14 @@ class AuroDatePicker extends AuroElement {
|
|
|
35052
35353
|
*/
|
|
35053
35354
|
hasValue: {
|
|
35054
35355
|
type: Boolean,
|
|
35356
|
+
attribute: 'hasvalue',
|
|
35055
35357
|
reflect: false,
|
|
35056
35358
|
},
|
|
35057
35359
|
|
|
35058
|
-
/**
|
|
35360
|
+
/**
|
|
35361
|
+
* Sets the `inputmode` attribute on the underlying input, hinting at the virtual keyboard to display.
|
|
35362
|
+
* @type {'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'}
|
|
35363
|
+
*/
|
|
35059
35364
|
inputmode: {
|
|
35060
35365
|
type: String,
|
|
35061
35366
|
attribute: true,
|
|
@@ -35068,6 +35373,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35068
35373
|
*/
|
|
35069
35374
|
largeFullscreenHeadline: {
|
|
35070
35375
|
type: Boolean,
|
|
35376
|
+
attribute: 'largefullscreenheadline',
|
|
35071
35377
|
reflect: true
|
|
35072
35378
|
},
|
|
35073
35379
|
|
|
@@ -35078,6 +35384,29 @@ class AuroDatePicker extends AuroElement {
|
|
|
35078
35384
|
*/
|
|
35079
35385
|
layout: {
|
|
35080
35386
|
type: String,
|
|
35387
|
+
attribute: "layout",
|
|
35388
|
+
reflect: true
|
|
35389
|
+
},
|
|
35390
|
+
|
|
35391
|
+
/**
|
|
35392
|
+
* Sets the shape of the datepicker.
|
|
35393
|
+
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
35394
|
+
* @default 'classic'
|
|
35395
|
+
*/
|
|
35396
|
+
shape: {
|
|
35397
|
+
type: String,
|
|
35398
|
+
attribute: "shape",
|
|
35399
|
+
reflect: true
|
|
35400
|
+
},
|
|
35401
|
+
|
|
35402
|
+
/**
|
|
35403
|
+
* Sets the size of the datepicker.
|
|
35404
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
35405
|
+
* @default 'lg'
|
|
35406
|
+
*/
|
|
35407
|
+
size: {
|
|
35408
|
+
type: String,
|
|
35409
|
+
attribute: "size",
|
|
35081
35410
|
reflect: true
|
|
35082
35411
|
},
|
|
35083
35412
|
|
|
@@ -35086,6 +35415,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35086
35415
|
*/
|
|
35087
35416
|
maxDate: {
|
|
35088
35417
|
type: String,
|
|
35418
|
+
attribute: 'maxdate',
|
|
35089
35419
|
reflect: true
|
|
35090
35420
|
},
|
|
35091
35421
|
|
|
@@ -35094,14 +35424,16 @@ class AuroDatePicker extends AuroElement {
|
|
|
35094
35424
|
*/
|
|
35095
35425
|
minDate: {
|
|
35096
35426
|
type: String,
|
|
35427
|
+
attribute: 'mindate',
|
|
35097
35428
|
reflect: true
|
|
35098
35429
|
},
|
|
35099
35430
|
|
|
35100
35431
|
/**
|
|
35101
|
-
*
|
|
35432
|
+
* When set, the calendar displays the month before the year in the header.
|
|
35102
35433
|
*/
|
|
35103
35434
|
monthFirst: {
|
|
35104
|
-
type: Boolean
|
|
35435
|
+
type: Boolean,
|
|
35436
|
+
attribute: 'monthfirst'
|
|
35105
35437
|
},
|
|
35106
35438
|
|
|
35107
35439
|
/**
|
|
@@ -35109,7 +35441,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
35109
35441
|
* When omitted, month names will be automatically populated from the active `locale` (falling back to `en-US`).
|
|
35110
35442
|
*/
|
|
35111
35443
|
monthNames: {
|
|
35112
|
-
type: Array
|
|
35444
|
+
type: Array,
|
|
35445
|
+
attribute: 'monthnames'
|
|
35113
35446
|
},
|
|
35114
35447
|
|
|
35115
35448
|
/**
|
|
@@ -35118,6 +35451,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35118
35451
|
*/
|
|
35119
35452
|
navLabelNextMonth: {
|
|
35120
35453
|
type: String,
|
|
35454
|
+
attribute: 'navlabelnextmonth',
|
|
35121
35455
|
reflect: true
|
|
35122
35456
|
},
|
|
35123
35457
|
|
|
@@ -35127,6 +35461,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35127
35461
|
*/
|
|
35128
35462
|
navLabelPrevMonth: {
|
|
35129
35463
|
type: String,
|
|
35464
|
+
attribute: 'navlabelprevmonth',
|
|
35130
35465
|
reflect: true
|
|
35131
35466
|
},
|
|
35132
35467
|
|
|
@@ -35136,6 +35471,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35136
35471
|
*/
|
|
35137
35472
|
noFlip: {
|
|
35138
35473
|
type: Boolean,
|
|
35474
|
+
attribute: 'noflip',
|
|
35139
35475
|
reflect: true
|
|
35140
35476
|
},
|
|
35141
35477
|
|
|
@@ -35144,6 +35480,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35144
35480
|
*/
|
|
35145
35481
|
noValidate: {
|
|
35146
35482
|
type: Boolean,
|
|
35483
|
+
attribute: 'novalidate',
|
|
35147
35484
|
reflect: true
|
|
35148
35485
|
},
|
|
35149
35486
|
|
|
@@ -35161,6 +35498,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35161
35498
|
*/
|
|
35162
35499
|
onDark: {
|
|
35163
35500
|
type: Boolean,
|
|
35501
|
+
attribute: 'ondark',
|
|
35164
35502
|
reflect: true
|
|
35165
35503
|
},
|
|
35166
35504
|
|
|
@@ -35179,6 +35517,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35179
35517
|
*/
|
|
35180
35518
|
placeholderEndDate: {
|
|
35181
35519
|
type: String,
|
|
35520
|
+
attribute: 'placeholderenddate',
|
|
35182
35521
|
reflect: true
|
|
35183
35522
|
},
|
|
35184
35523
|
|
|
@@ -35209,6 +35548,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35209
35548
|
*/
|
|
35210
35549
|
rangeLabelAfterRange: {
|
|
35211
35550
|
type: String,
|
|
35551
|
+
attribute: 'rangelabelafterrange',
|
|
35212
35552
|
reflect: true
|
|
35213
35553
|
},
|
|
35214
35554
|
|
|
@@ -35218,6 +35558,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35218
35558
|
*/
|
|
35219
35559
|
rangeLabelBeforeRange: {
|
|
35220
35560
|
type: String,
|
|
35561
|
+
attribute: 'rangelabelbeforerange',
|
|
35221
35562
|
reflect: true
|
|
35222
35563
|
},
|
|
35223
35564
|
|
|
@@ -35227,6 +35568,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35227
35568
|
*/
|
|
35228
35569
|
rangeLabelEnd: {
|
|
35229
35570
|
type: String,
|
|
35571
|
+
attribute: 'rangelabelend',
|
|
35230
35572
|
reflect: true
|
|
35231
35573
|
},
|
|
35232
35574
|
|
|
@@ -35238,6 +35580,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35238
35580
|
*/
|
|
35239
35581
|
rangeLabelEndPreview: {
|
|
35240
35582
|
type: String,
|
|
35583
|
+
attribute: 'rangelabelendpreview',
|
|
35241
35584
|
reflect: true
|
|
35242
35585
|
},
|
|
35243
35586
|
|
|
@@ -35247,6 +35590,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35247
35590
|
*/
|
|
35248
35591
|
rangeLabelInRange: {
|
|
35249
35592
|
type: String,
|
|
35593
|
+
attribute: 'rangelabelinrange',
|
|
35250
35594
|
reflect: true
|
|
35251
35595
|
},
|
|
35252
35596
|
|
|
@@ -35256,6 +35600,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35256
35600
|
*/
|
|
35257
35601
|
rangeLabelStart: {
|
|
35258
35602
|
type: String,
|
|
35603
|
+
attribute: 'rangelabelstart',
|
|
35259
35604
|
reflect: true
|
|
35260
35605
|
},
|
|
35261
35606
|
|
|
@@ -35265,6 +35610,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35265
35610
|
*/
|
|
35266
35611
|
referenceDates: {
|
|
35267
35612
|
type: Array,
|
|
35613
|
+
attribute: 'referencedates',
|
|
35268
35614
|
reflect: true
|
|
35269
35615
|
},
|
|
35270
35616
|
|
|
@@ -35280,7 +35626,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
35280
35626
|
* Sets a custom help text message to display for all validityStates.
|
|
35281
35627
|
*/
|
|
35282
35628
|
setCustomValidity: {
|
|
35283
|
-
type: String
|
|
35629
|
+
type: String,
|
|
35630
|
+
attribute: 'setcustomvalidity'
|
|
35284
35631
|
},
|
|
35285
35632
|
|
|
35286
35633
|
/**
|
|
@@ -35288,28 +35635,32 @@ class AuroDatePicker extends AuroElement {
|
|
|
35288
35635
|
* Also used as the validation message when a blackout date is typed into the input.
|
|
35289
35636
|
*/
|
|
35290
35637
|
setCustomValidityCustomError: {
|
|
35291
|
-
type: String
|
|
35638
|
+
type: String,
|
|
35639
|
+
attribute: 'setcustomvaliditycustomerror'
|
|
35292
35640
|
},
|
|
35293
35641
|
|
|
35294
35642
|
/**
|
|
35295
35643
|
* Custom help text message to display when validity = `rangeOverflow`.
|
|
35296
35644
|
*/
|
|
35297
35645
|
setCustomValidityRangeOverflow: {
|
|
35298
|
-
type: String
|
|
35646
|
+
type: String,
|
|
35647
|
+
attribute: 'setcustomvalidityrangeoverflow'
|
|
35299
35648
|
},
|
|
35300
35649
|
|
|
35301
35650
|
/**
|
|
35302
35651
|
* Custom help text message to display when validity = `rangeUnderflow`.
|
|
35303
35652
|
*/
|
|
35304
35653
|
setCustomValidityRangeUnderflow: {
|
|
35305
|
-
type: String
|
|
35654
|
+
type: String,
|
|
35655
|
+
attribute: 'setcustomvalidityrangeunderflow'
|
|
35306
35656
|
},
|
|
35307
35657
|
|
|
35308
35658
|
/**
|
|
35309
35659
|
* Custom help text message to display when validity = `valueMissing`.
|
|
35310
35660
|
*/
|
|
35311
35661
|
setCustomValidityValueMissing: {
|
|
35312
|
-
type: String
|
|
35662
|
+
type: String,
|
|
35663
|
+
attribute: 'setcustomvalidityvaluemissing'
|
|
35313
35664
|
},
|
|
35314
35665
|
|
|
35315
35666
|
/**
|
|
@@ -35357,7 +35708,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
35357
35708
|
* Value selected for the second datepicker when using date range.
|
|
35358
35709
|
*/
|
|
35359
35710
|
valueEnd: {
|
|
35360
|
-
type: String
|
|
35711
|
+
type: String,
|
|
35712
|
+
attribute: 'valueend'
|
|
35361
35713
|
}
|
|
35362
35714
|
};
|
|
35363
35715
|
}
|