@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
|
@@ -11719,6 +11719,14 @@ function isBlackoutTimestamp(dateTs, disabledDays, blackoutDates) {
|
|
|
11719
11719
|
|
|
11720
11720
|
/* 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 */
|
|
11721
11721
|
|
|
11722
|
+
/**
|
|
11723
|
+
* The `auro-calendar-cell` component renders a single selectable day button within a calendar month grid.
|
|
11724
|
+
*
|
|
11725
|
+
* @event calendar-cell-activate - Notifies that this cell has been activated via click or tap.
|
|
11726
|
+
* @event date-is-hovered - Notifies that this cell's date is being hovered.
|
|
11727
|
+
* @event calendar-cell-focused - Notifies that this cell's button has received focus.
|
|
11728
|
+
* @csspart dateSlot - Use for customizing the style of the date slot content container.
|
|
11729
|
+
*/
|
|
11722
11730
|
class AuroCalendarCell extends LitElement {
|
|
11723
11731
|
constructor() {
|
|
11724
11732
|
super();
|
|
@@ -11754,18 +11762,58 @@ class AuroCalendarCell extends LitElement {
|
|
|
11754
11762
|
static get properties() {
|
|
11755
11763
|
return {
|
|
11756
11764
|
// ...super.properties,
|
|
11765
|
+
|
|
11766
|
+
/**
|
|
11767
|
+
* The day object for this cell, containing its Unix timestamp (`date`) and day-of-month title.
|
|
11768
|
+
*/
|
|
11757
11769
|
day: { type: Object },
|
|
11770
|
+
|
|
11771
|
+
/**
|
|
11772
|
+
* Whether this cell's date is currently selected.
|
|
11773
|
+
*/
|
|
11758
11774
|
selected: { type: Boolean },
|
|
11759
|
-
|
|
11760
|
-
|
|
11775
|
+
|
|
11776
|
+
/**
|
|
11777
|
+
* The end (return) date of the selected range as a Unix-timestamp string.
|
|
11778
|
+
*/
|
|
11779
|
+
dateTo: {
|
|
11780
|
+
type: String,
|
|
11781
|
+
attribute: 'dateto'
|
|
11782
|
+
},
|
|
11783
|
+
|
|
11784
|
+
/**
|
|
11785
|
+
* The start (depart) date of the selected range as a Unix-timestamp string.
|
|
11786
|
+
*/
|
|
11787
|
+
dateFrom: {
|
|
11788
|
+
type: String,
|
|
11789
|
+
attribute: 'datefrom'
|
|
11790
|
+
},
|
|
11791
|
+
|
|
11792
|
+
/**
|
|
11793
|
+
* The month this cell belongs to.
|
|
11794
|
+
*/
|
|
11761
11795
|
month: { type: String },
|
|
11796
|
+
|
|
11797
|
+
/**
|
|
11798
|
+
* The minimum selectable date as a Unix timestamp.
|
|
11799
|
+
*/
|
|
11762
11800
|
min: { type: Number },
|
|
11801
|
+
|
|
11802
|
+
/**
|
|
11803
|
+
* The maximum selectable date as a Unix timestamp.
|
|
11804
|
+
*/
|
|
11763
11805
|
max: { type: Number },
|
|
11806
|
+
|
|
11807
|
+
/**
|
|
11808
|
+
* Whether this cell is disabled because its date falls outside the min/max range.
|
|
11809
|
+
*/
|
|
11764
11810
|
disabled: {
|
|
11765
11811
|
type: Boolean,
|
|
11766
11812
|
reflect: true
|
|
11767
11813
|
},
|
|
11814
|
+
|
|
11768
11815
|
/**
|
|
11816
|
+
* Legacy array of Unix-timestamp dates that cannot be selected.
|
|
11769
11817
|
* @deprecated Propagated from the legacy `auro-calendar.disabledDays`
|
|
11770
11818
|
* Unix-timestamp array. The cell honors it for backward compatibility
|
|
11771
11819
|
* (see the divergence-check fallback inside `isBlackout`), but
|
|
@@ -11773,12 +11821,47 @@ class AuroCalendarCell extends LitElement {
|
|
|
11773
11821
|
* (YYYY-MM-DD ISO strings). The calendar emits a one-time
|
|
11774
11822
|
* deprecation warning the first time a non-empty value is observed.
|
|
11775
11823
|
*/
|
|
11776
|
-
disabledDays: {
|
|
11777
|
-
|
|
11824
|
+
disabledDays: {
|
|
11825
|
+
type: Array,
|
|
11826
|
+
attribute: 'disableddays'
|
|
11827
|
+
},
|
|
11828
|
+
|
|
11829
|
+
/**
|
|
11830
|
+
* Whether this cell represents the current date (today).
|
|
11831
|
+
*/
|
|
11832
|
+
isCurrentDate: {
|
|
11833
|
+
type: Boolean,
|
|
11834
|
+
attribute: 'iscurrentdate'
|
|
11835
|
+
},
|
|
11836
|
+
|
|
11837
|
+
/**
|
|
11838
|
+
* The BCP 47 locale tag used to format the cell's date.
|
|
11839
|
+
*/
|
|
11778
11840
|
locale: { type: String },
|
|
11779
|
-
|
|
11780
|
-
|
|
11781
|
-
|
|
11841
|
+
|
|
11842
|
+
/**
|
|
11843
|
+
* The cell's date formatted as a `YYYY_MM_DD` slot-name string.
|
|
11844
|
+
*/
|
|
11845
|
+
dateStr: {
|
|
11846
|
+
type: String,
|
|
11847
|
+
attribute: 'datestr'
|
|
11848
|
+
},
|
|
11849
|
+
|
|
11850
|
+
/**
|
|
11851
|
+
* Whether to render the numerical date off-center to leave room below for date slot content.
|
|
11852
|
+
*/
|
|
11853
|
+
renderForDateSlot: {
|
|
11854
|
+
type: Boolean,
|
|
11855
|
+
attribute: 'renderfordateslot'
|
|
11856
|
+
},
|
|
11857
|
+
|
|
11858
|
+
/**
|
|
11859
|
+
* Whether this cell has popover slot content to display.
|
|
11860
|
+
*/
|
|
11861
|
+
hasPopoverContent: {
|
|
11862
|
+
type: Boolean,
|
|
11863
|
+
attribute: 'haspopovercontent'
|
|
11864
|
+
}
|
|
11782
11865
|
};
|
|
11783
11866
|
}
|
|
11784
11867
|
|
|
@@ -12635,6 +12718,11 @@ const getWeekdayNames = (locale, weekday) => {
|
|
|
12635
12718
|
};
|
|
12636
12719
|
|
|
12637
12720
|
|
|
12721
|
+
/**
|
|
12722
|
+
* The `auro-calendar-month` component renders a single localized month grid of selectable day cells within the calendar.
|
|
12723
|
+
* @event hovered-date-changed - Notifies that the date currently hovered within the month grid has changed.
|
|
12724
|
+
* @event calendar-month-mouseleave - Notifies that the mouse has left the month's date grid so the range hover preview can be cleared.
|
|
12725
|
+
*/
|
|
12638
12726
|
class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
12639
12727
|
static get styles() {
|
|
12640
12728
|
return [
|
|
@@ -12649,10 +12737,11 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12649
12737
|
return {
|
|
12650
12738
|
|
|
12651
12739
|
/**
|
|
12652
|
-
*
|
|
12740
|
+
* When set, the month name is displayed before the year in the header.
|
|
12653
12741
|
*/
|
|
12654
12742
|
monthFirst: {
|
|
12655
12743
|
type: Boolean,
|
|
12744
|
+
attribute: 'monthfirst',
|
|
12656
12745
|
reflect: true
|
|
12657
12746
|
},
|
|
12658
12747
|
|
|
@@ -12661,14 +12750,16 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
12661
12750
|
* As wc-range-datepicker expects a `locale` prop, we use `localeCode` to avoid conflicts.
|
|
12662
12751
|
*/
|
|
12663
12752
|
localeCode: {
|
|
12664
|
-
type: String
|
|
12753
|
+
type: String,
|
|
12754
|
+
attribute: 'localecode'
|
|
12665
12755
|
},
|
|
12666
12756
|
|
|
12667
12757
|
/**
|
|
12668
12758
|
* Names of all 12 months. When omitted, names are derived from `localeCode`.
|
|
12669
12759
|
*/
|
|
12670
12760
|
monthNames: {
|
|
12671
|
-
type: Array
|
|
12761
|
+
type: Array,
|
|
12762
|
+
attribute: 'monthnames'
|
|
12672
12763
|
}
|
|
12673
12764
|
};
|
|
12674
12765
|
}
|
|
@@ -13504,6 +13595,9 @@ var headerVersion = '5.0.1';
|
|
|
13504
13595
|
* @slot subheader - Slot for the subheader content.
|
|
13505
13596
|
* @slot footer - Slot for the footer content.
|
|
13506
13597
|
* @slot ariaLabel.close - Slot for the close button aria-label.
|
|
13598
|
+
* @csspart bibtemplate - The outermost bibtemplate container element.
|
|
13599
|
+
* @event close-click - Notifies when the close button is clicked.
|
|
13600
|
+
* @event auro-bibtemplate-connected - Notifies that the bibtemplate has connected to the DOM, passing a reference to the element in the event detail.
|
|
13507
13601
|
*/
|
|
13508
13602
|
class AuroBibtemplate extends LitElement {
|
|
13509
13603
|
|
|
@@ -13543,10 +13637,19 @@ class AuroBibtemplate extends LitElement {
|
|
|
13543
13637
|
// function to define props used within the scope of this component
|
|
13544
13638
|
static get properties() {
|
|
13545
13639
|
return {
|
|
13640
|
+
|
|
13641
|
+
/**
|
|
13642
|
+
* If declared, the bibtemplate renders in fullscreen mode, exposing the header, subheader, and footer regions.
|
|
13643
|
+
*/
|
|
13546
13644
|
isFullscreen: {
|
|
13547
13645
|
type: Boolean,
|
|
13646
|
+
attribute: 'isfullscreen',
|
|
13548
13647
|
reflect: true
|
|
13549
13648
|
},
|
|
13649
|
+
|
|
13650
|
+
/**
|
|
13651
|
+
* If declared, the fullscreen headline renders using the larger display heading style.
|
|
13652
|
+
*/
|
|
13550
13653
|
large: {
|
|
13551
13654
|
type: Boolean,
|
|
13552
13655
|
reflect: true
|
|
@@ -13557,6 +13660,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13557
13660
|
*/
|
|
13558
13661
|
showFooter: {
|
|
13559
13662
|
type: Boolean,
|
|
13663
|
+
attribute: 'showfooter',
|
|
13560
13664
|
reflect: true
|
|
13561
13665
|
}
|
|
13562
13666
|
};
|
|
@@ -13669,7 +13773,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13669
13773
|
}
|
|
13670
13774
|
}
|
|
13671
13775
|
|
|
13672
|
-
var formkitVersion$2 = '
|
|
13776
|
+
var formkitVersion$2 = '202608291822';
|
|
13673
13777
|
|
|
13674
13778
|
let l$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=literal`${unsafeStatic(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$1 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$1=css`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
13675
13779
|
`,u$4=css`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
|
|
@@ -13735,8 +13839,10 @@ var buttonVersion$1 = '12.3.2';
|
|
|
13735
13839
|
|
|
13736
13840
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
13737
13841
|
/**
|
|
13842
|
+
* The `auro-calendar` component renders the calendar month(s) shown inside the datepicker dropdown and manages date selection, range preview, and keyboard navigation.
|
|
13738
13843
|
* @event auroCalendar-dateSelected - Notifies that a date has been selected in the calendar.
|
|
13739
13844
|
* @event auroCalendar-monthChanged - Notifies that the visible calendar month(s) have changed.
|
|
13845
|
+
* @event narrow-changedProperties - Notifies that the calendar's narrow (mobile) layout state has changed.
|
|
13740
13846
|
*/
|
|
13741
13847
|
class AuroCalendar extends RangeDatepicker {
|
|
13742
13848
|
constructor() {
|
|
@@ -13898,6 +14004,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13898
14004
|
*/
|
|
13899
14005
|
calendarEndMonth: {
|
|
13900
14006
|
type: String,
|
|
14007
|
+
attribute: 'calendarendmonth',
|
|
13901
14008
|
reflect: true
|
|
13902
14009
|
},
|
|
13903
14010
|
|
|
@@ -13906,6 +14013,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13906
14013
|
*/
|
|
13907
14014
|
calendarStartMonth: {
|
|
13908
14015
|
type: String,
|
|
14016
|
+
attribute: 'calendarstartmonth',
|
|
13909
14017
|
reflect: true
|
|
13910
14018
|
},
|
|
13911
14019
|
|
|
@@ -13914,6 +14022,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13914
14022
|
*/
|
|
13915
14023
|
centralDate: {
|
|
13916
14024
|
type: String,
|
|
14025
|
+
attribute: 'centraldate',
|
|
13917
14026
|
reflect: true
|
|
13918
14027
|
},
|
|
13919
14028
|
|
|
@@ -13921,14 +14030,16 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13921
14030
|
* The starting date of the selected range.
|
|
13922
14031
|
*/
|
|
13923
14032
|
dateFrom: {
|
|
13924
|
-
type: String
|
|
14033
|
+
type: String,
|
|
14034
|
+
attribute: 'datefrom'
|
|
13925
14035
|
},
|
|
13926
14036
|
|
|
13927
14037
|
/**
|
|
13928
14038
|
* The ending date of the selected range.
|
|
13929
14039
|
*/
|
|
13930
14040
|
dateTo: {
|
|
13931
|
-
type: String
|
|
14041
|
+
type: String,
|
|
14042
|
+
attribute: 'dateto'
|
|
13932
14043
|
},
|
|
13933
14044
|
|
|
13934
14045
|
/**
|
|
@@ -13944,6 +14055,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13944
14055
|
*/
|
|
13945
14056
|
isFullscreen: {
|
|
13946
14057
|
type: Boolean,
|
|
14058
|
+
attribute: 'isfullscreen',
|
|
13947
14059
|
reflect: true
|
|
13948
14060
|
},
|
|
13949
14061
|
|
|
@@ -13953,6 +14065,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13953
14065
|
*/
|
|
13954
14066
|
largeFullscreenHeadline: {
|
|
13955
14067
|
type: Boolean,
|
|
14068
|
+
attribute: 'largefullscreenheadline',
|
|
13956
14069
|
reflect: true
|
|
13957
14070
|
},
|
|
13958
14071
|
|
|
@@ -13961,6 +14074,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13961
14074
|
*/
|
|
13962
14075
|
maxDate: {
|
|
13963
14076
|
type: String,
|
|
14077
|
+
attribute: 'maxdate',
|
|
13964
14078
|
reflect: true
|
|
13965
14079
|
},
|
|
13966
14080
|
|
|
@@ -13969,6 +14083,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13969
14083
|
*/
|
|
13970
14084
|
minDate: {
|
|
13971
14085
|
type: String,
|
|
14086
|
+
attribute: 'mindate',
|
|
13972
14087
|
reflect: true
|
|
13973
14088
|
},
|
|
13974
14089
|
|
|
@@ -13978,6 +14093,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13978
14093
|
*/
|
|
13979
14094
|
mobileBreakpoint: {
|
|
13980
14095
|
type: Number,
|
|
14096
|
+
attribute: 'mobilebreakpoint',
|
|
13981
14097
|
reflect: false
|
|
13982
14098
|
},
|
|
13983
14099
|
|
|
@@ -13987,7 +14103,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13987
14103
|
* @private
|
|
13988
14104
|
*/
|
|
13989
14105
|
monthFirst: {
|
|
13990
|
-
type: Boolean
|
|
14106
|
+
type: Boolean,
|
|
14107
|
+
attribute: 'monthfirst'
|
|
13991
14108
|
},
|
|
13992
14109
|
|
|
13993
14110
|
/**
|
|
@@ -13995,7 +14112,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13995
14112
|
* @private
|
|
13996
14113
|
*/
|
|
13997
14114
|
numCalendars: {
|
|
13998
|
-
type: Number
|
|
14115
|
+
type: Number,
|
|
14116
|
+
attribute: 'numcalendars'
|
|
13999
14117
|
},
|
|
14000
14118
|
|
|
14001
14119
|
/**
|
|
@@ -14011,14 +14129,16 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14011
14129
|
* as wc-range-datepicker expects a `locale` prop, we use `localeCode` to avoid conflicts and pass the locale down to calendar-month elements.
|
|
14012
14130
|
*/
|
|
14013
14131
|
localeCode: {
|
|
14014
|
-
type: String
|
|
14132
|
+
type: String,
|
|
14133
|
+
attribute: 'localecode'
|
|
14015
14134
|
},
|
|
14016
14135
|
|
|
14017
14136
|
/**
|
|
14018
14137
|
* Names of all 12 months. When omitted, names are derived from `localeCode`.
|
|
14019
14138
|
*/
|
|
14020
14139
|
monthNames: {
|
|
14021
|
-
type: Array
|
|
14140
|
+
type: Array,
|
|
14141
|
+
attribute: 'monthnames'
|
|
14022
14142
|
}
|
|
14023
14143
|
};
|
|
14024
14144
|
}
|
|
@@ -18811,8 +18931,11 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
|
18811
18931
|
];
|
|
18812
18932
|
|
|
18813
18933
|
/**
|
|
18934
|
+
* The `auro-dropdownbib` element renders the dropdown's bib as a dialog/popover container and manages its fullscreen and modal display.
|
|
18814
18935
|
* @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.
|
|
18815
18936
|
* @csspart bibContainer - Apply css to the bib container.
|
|
18937
|
+
* @event auro-dropdownbib-connected - Notifies that the dropdown bib has connected to the DOM, passing a reference to the element in the event detail.
|
|
18938
|
+
* @event auro-bib-cancel - Notifies that the bib was cancelled (e.g. via the ESC key) so parent components can close it.
|
|
18816
18939
|
*/
|
|
18817
18940
|
|
|
18818
18941
|
class AuroDropdownBib extends LitElement {
|
|
@@ -18827,9 +18950,17 @@ class AuroDropdownBib extends LitElement {
|
|
|
18827
18950
|
|
|
18828
18951
|
AuroLibraryRuntimeUtils$1$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
18829
18952
|
|
|
18830
|
-
this.shape = "rounded";
|
|
18831
18953
|
this.matchWidth = false;
|
|
18832
18954
|
this.hasActiveDescendant = false;
|
|
18955
|
+
|
|
18956
|
+
this.initializeArchitectureDefaults();
|
|
18957
|
+
}
|
|
18958
|
+
|
|
18959
|
+
// The `shape` default is set in a helper (not the constructor body) so the CEM
|
|
18960
|
+
// analyzer keeps its `@type` union instead of inferring `string` from a
|
|
18961
|
+
// constructor-literal assignment. See AlaskaAirlines/discussions#653.
|
|
18962
|
+
initializeArchitectureDefaults() {
|
|
18963
|
+
this.shape = "rounded";
|
|
18833
18964
|
}
|
|
18834
18965
|
|
|
18835
18966
|
static get styles() {
|
|
@@ -18848,6 +18979,7 @@ class AuroDropdownBib extends LitElement {
|
|
|
18848
18979
|
*/
|
|
18849
18980
|
isFullscreen: {
|
|
18850
18981
|
type: Boolean,
|
|
18982
|
+
attribute: 'isfullscreen',
|
|
18851
18983
|
reflect: true
|
|
18852
18984
|
},
|
|
18853
18985
|
|
|
@@ -18873,6 +19005,7 @@ class AuroDropdownBib extends LitElement {
|
|
|
18873
19005
|
*/
|
|
18874
19006
|
matchWidth: {
|
|
18875
19007
|
type: Boolean,
|
|
19008
|
+
attribute: 'matchwidth',
|
|
18876
19009
|
reflect: true
|
|
18877
19010
|
},
|
|
18878
19011
|
|
|
@@ -18888,11 +19021,18 @@ class AuroDropdownBib extends LitElement {
|
|
|
18888
19021
|
* A reference to the associated bib template element.
|
|
18889
19022
|
*/
|
|
18890
19023
|
bibTemplate: {
|
|
18891
|
-
type: Object
|
|
19024
|
+
type: Object,
|
|
19025
|
+
attribute: 'bibtemplate'
|
|
18892
19026
|
},
|
|
18893
19027
|
|
|
19028
|
+
/**
|
|
19029
|
+
* Sets the shape of the dropdown bib.
|
|
19030
|
+
* @type {'box' | 'classic' | 'pill' | 'rounded' | 'snowflake'}
|
|
19031
|
+
* @default 'rounded'
|
|
19032
|
+
*/
|
|
18894
19033
|
shape: {
|
|
18895
19034
|
type: String,
|
|
19035
|
+
attribute: "shape",
|
|
18896
19036
|
reflect: true
|
|
18897
19037
|
},
|
|
18898
19038
|
|
|
@@ -18904,7 +19044,8 @@ class AuroDropdownBib extends LitElement {
|
|
|
18904
19044
|
* @private
|
|
18905
19045
|
*/
|
|
18906
19046
|
dialogLabel: {
|
|
18907
|
-
type: String
|
|
19047
|
+
type: String,
|
|
19048
|
+
attribute: 'dialoglabel'
|
|
18908
19049
|
},
|
|
18909
19050
|
|
|
18910
19051
|
/**
|
|
@@ -18915,7 +19056,8 @@ class AuroDropdownBib extends LitElement {
|
|
|
18915
19056
|
* @private
|
|
18916
19057
|
*/
|
|
18917
19058
|
dialogRole: {
|
|
18918
|
-
type: String
|
|
19059
|
+
type: String,
|
|
19060
|
+
attribute: 'dialogrole'
|
|
18919
19061
|
},
|
|
18920
19062
|
|
|
18921
19063
|
/**
|
|
@@ -18923,7 +19065,8 @@ class AuroDropdownBib extends LitElement {
|
|
|
18923
19065
|
* @private
|
|
18924
19066
|
*/
|
|
18925
19067
|
hasActiveDescendant: {
|
|
18926
|
-
type: Boolean
|
|
19068
|
+
type: Boolean,
|
|
19069
|
+
attribute: 'hasactivedescendant'
|
|
18927
19070
|
}
|
|
18928
19071
|
};
|
|
18929
19072
|
}
|
|
@@ -19274,6 +19417,8 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
19274
19417
|
super();
|
|
19275
19418
|
|
|
19276
19419
|
this.error = false;
|
|
19420
|
+
|
|
19421
|
+
/** @type {'default' | 'inverse'} */
|
|
19277
19422
|
this.appearance = "default";
|
|
19278
19423
|
this.onDark = false;
|
|
19279
19424
|
this.hasTextContent = false;
|
|
@@ -19294,8 +19439,8 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
19294
19439
|
return {
|
|
19295
19440
|
|
|
19296
19441
|
/**
|
|
19297
|
-
*
|
|
19298
|
-
* @
|
|
19442
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
19443
|
+
* @type {'default' | 'inverse'}
|
|
19299
19444
|
* @default 'default'
|
|
19300
19445
|
*/
|
|
19301
19446
|
appearance: {
|
|
@@ -19308,6 +19453,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
19308
19453
|
*/
|
|
19309
19454
|
slotNodes: {
|
|
19310
19455
|
type: Boolean,
|
|
19456
|
+
attribute: 'slotnodes',
|
|
19311
19457
|
},
|
|
19312
19458
|
|
|
19313
19459
|
/**
|
|
@@ -19315,6 +19461,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
19315
19461
|
*/
|
|
19316
19462
|
hasTextContent: {
|
|
19317
19463
|
type: Boolean,
|
|
19464
|
+
attribute: 'hastextcontent',
|
|
19318
19465
|
},
|
|
19319
19466
|
|
|
19320
19467
|
/**
|
|
@@ -19330,6 +19477,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
19330
19477
|
*/
|
|
19331
19478
|
onDark: {
|
|
19332
19479
|
type: Boolean,
|
|
19480
|
+
attribute: 'ondark',
|
|
19333
19481
|
reflect: true
|
|
19334
19482
|
}
|
|
19335
19483
|
};
|
|
@@ -19400,39 +19548,39 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
19400
19548
|
}
|
|
19401
19549
|
};
|
|
19402
19550
|
|
|
19403
|
-
var formkitVersion$1 = '
|
|
19551
|
+
var formkitVersion$1 = '202608291822';
|
|
19404
19552
|
|
|
19553
|
+
/**
|
|
19554
|
+
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
19555
|
+
*
|
|
19556
|
+
* It defines the common `layout`, `shape`, `size`, and `ondark` reactive
|
|
19557
|
+
* properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
|
|
19558
|
+
* `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
|
|
19559
|
+
* the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
|
|
19560
|
+
* own default and valid value set for `layout`, `shape`, and `size`.
|
|
19561
|
+
*/
|
|
19405
19562
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
19406
19563
|
static get properties() {
|
|
19407
19564
|
return {
|
|
19408
19565
|
|
|
19409
19566
|
/**
|
|
19410
|
-
*
|
|
19411
|
-
* @default {'default'}
|
|
19567
|
+
* When true, renders the component styled for use on a dark background.
|
|
19412
19568
|
*/
|
|
19413
|
-
layout: {
|
|
19414
|
-
type: String,
|
|
19415
|
-
attribute: "layout",
|
|
19416
|
-
reflect: true
|
|
19417
|
-
},
|
|
19418
|
-
|
|
19419
|
-
shape: {
|
|
19420
|
-
type: String,
|
|
19421
|
-
attribute: "shape",
|
|
19422
|
-
reflect: true
|
|
19423
|
-
},
|
|
19424
|
-
|
|
19425
|
-
size: {
|
|
19426
|
-
type: String,
|
|
19427
|
-
attribute: "size",
|
|
19428
|
-
reflect: true
|
|
19429
|
-
},
|
|
19430
|
-
|
|
19431
19569
|
onDark: {
|
|
19432
19570
|
type: Boolean,
|
|
19433
19571
|
attribute: "ondark",
|
|
19434
19572
|
reflect: true
|
|
19435
19573
|
}
|
|
19574
|
+
|
|
19575
|
+
// NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
|
|
19576
|
+
// Their valid value sets differ per component, and the CEM analyzer roots
|
|
19577
|
+
// an inherited property's `type` in the class that declares it — a base
|
|
19578
|
+
// declaration would force every subclass's `@type` to be discarded and
|
|
19579
|
+
// emitted as plain `string`. Each subclass declares its own `layout` /
|
|
19580
|
+
// `shape` / `size` with an exact `@type` union instead. AuroElement still
|
|
19581
|
+
// consumes `this.layout` / `this.shape` / `this.size` in its render and
|
|
19582
|
+
// architecture helpers below (subclasses guarantee the reactive props).
|
|
19583
|
+
// See AlaskaAirlines/discussions#653.
|
|
19436
19584
|
};
|
|
19437
19585
|
}
|
|
19438
19586
|
|
|
@@ -19518,6 +19666,7 @@ let AuroElement$2 = class AuroElement extends LitElement {
|
|
|
19518
19666
|
* @slot helpText - Defines the content of the helpText.
|
|
19519
19667
|
* @slot trigger - Defines the content of the trigger.
|
|
19520
19668
|
* @csspart trigger - The trigger content container.
|
|
19669
|
+
* @csspart wrapper - The trigger wrapper element surrounding the trigger content and chevron.
|
|
19521
19670
|
* @csspart chevron - The collapsed/expanded state icon container.
|
|
19522
19671
|
* @csspart size - The size of the dropdown bib. (height, width, maxHeight, maxWidth only)
|
|
19523
19672
|
* @csspart helpText - The helpText content container.
|
|
@@ -19542,7 +19691,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19542
19691
|
|
|
19543
19692
|
/**
|
|
19544
19693
|
* When true, the dropdown skips its generic focus restoration on close.
|
|
19545
|
-
* Set by consumers (
|
|
19694
|
+
* Set by consumers (for example combobox) that manage their own focus routing
|
|
19546
19695
|
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
19547
19696
|
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
19548
19697
|
* @private
|
|
@@ -19711,7 +19860,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19711
19860
|
/**
|
|
19712
19861
|
* Focus the trigger content. When the trigger wrapper itself is focusable
|
|
19713
19862
|
* (has tabindex), focus it directly. Otherwise, focus the first focusable
|
|
19714
|
-
* element slotted into the trigger slot (
|
|
19863
|
+
* element slotted into the trigger slot (for example the auro-input).
|
|
19715
19864
|
* @private
|
|
19716
19865
|
*/
|
|
19717
19866
|
focusTrigger() {
|
|
@@ -19808,6 +19957,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19808
19957
|
*/
|
|
19809
19958
|
autoPlacement: {
|
|
19810
19959
|
type: Boolean,
|
|
19960
|
+
attribute: 'autoplacement',
|
|
19811
19961
|
reflect: true
|
|
19812
19962
|
},
|
|
19813
19963
|
|
|
@@ -19816,6 +19966,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19816
19966
|
*/
|
|
19817
19967
|
desktopModal: {
|
|
19818
19968
|
type: Boolean,
|
|
19969
|
+
attribute: 'desktopmodal',
|
|
19819
19970
|
reflect: true
|
|
19820
19971
|
},
|
|
19821
19972
|
|
|
@@ -19824,6 +19975,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19824
19975
|
*/
|
|
19825
19976
|
disableEventShow: {
|
|
19826
19977
|
type: Boolean,
|
|
19978
|
+
attribute: 'disableeventshow',
|
|
19827
19979
|
reflect: true
|
|
19828
19980
|
},
|
|
19829
19981
|
|
|
@@ -19857,14 +20009,16 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19857
20009
|
*/
|
|
19858
20010
|
disableKeyboardHandling: {
|
|
19859
20011
|
type: Boolean,
|
|
20012
|
+
attribute: 'disablekeyboardhandling',
|
|
19860
20013
|
reflect: true
|
|
19861
20014
|
},
|
|
19862
20015
|
|
|
19863
20016
|
/**
|
|
19864
|
-
*
|
|
20017
|
+
* Sets the width of the dropdown bib in pixels.
|
|
19865
20018
|
*/
|
|
19866
20019
|
dropdownWidth: {
|
|
19867
|
-
type: Number
|
|
20020
|
+
type: Number,
|
|
20021
|
+
attribute: 'dropdownwidth'
|
|
19868
20022
|
},
|
|
19869
20023
|
|
|
19870
20024
|
/**
|
|
@@ -19889,7 +20043,8 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19889
20043
|
* Contains the help text message for the current validity error.
|
|
19890
20044
|
*/
|
|
19891
20045
|
errorMessage: {
|
|
19892
|
-
type: String
|
|
20046
|
+
type: String,
|
|
20047
|
+
attribute: 'errormessage'
|
|
19893
20048
|
},
|
|
19894
20049
|
|
|
19895
20050
|
/**
|
|
@@ -19897,6 +20052,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19897
20052
|
*/
|
|
19898
20053
|
focusShow: {
|
|
19899
20054
|
type: Boolean,
|
|
20055
|
+
attribute: 'focusshow',
|
|
19900
20056
|
reflect: true
|
|
19901
20057
|
},
|
|
19902
20058
|
|
|
@@ -19914,6 +20070,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19914
20070
|
*/
|
|
19915
20071
|
isBibFullscreen: {
|
|
19916
20072
|
type: Boolean,
|
|
20073
|
+
attribute: 'isbibfullscreen',
|
|
19917
20074
|
reflect: true
|
|
19918
20075
|
},
|
|
19919
20076
|
|
|
@@ -19922,6 +20079,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19922
20079
|
*/
|
|
19923
20080
|
hoverToggle: {
|
|
19924
20081
|
type: Boolean,
|
|
20082
|
+
attribute: 'hovertoggle',
|
|
19925
20083
|
reflect: true
|
|
19926
20084
|
},
|
|
19927
20085
|
|
|
@@ -19929,7 +20087,8 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19929
20087
|
* @private
|
|
19930
20088
|
*/
|
|
19931
20089
|
hasTriggerContent: {
|
|
19932
|
-
type: Boolean
|
|
20090
|
+
type: Boolean,
|
|
20091
|
+
attribute: 'hastriggercontent'
|
|
19933
20092
|
},
|
|
19934
20093
|
|
|
19935
20094
|
/**
|
|
@@ -19942,6 +20101,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19942
20101
|
*/
|
|
19943
20102
|
fullscreenBreakpoint: {
|
|
19944
20103
|
type: String,
|
|
20104
|
+
attribute: "fullscreenbreakpoint",
|
|
19945
20105
|
reflect: true
|
|
19946
20106
|
},
|
|
19947
20107
|
|
|
@@ -19952,6 +20112,27 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19952
20112
|
*/
|
|
19953
20113
|
layout: {
|
|
19954
20114
|
type: String,
|
|
20115
|
+
attribute: "layout",
|
|
20116
|
+
reflect: true
|
|
20117
|
+
},
|
|
20118
|
+
|
|
20119
|
+
/**
|
|
20120
|
+
* Sets the shape of the dropdown.
|
|
20121
|
+
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
20122
|
+
*/
|
|
20123
|
+
shape: {
|
|
20124
|
+
type: String,
|
|
20125
|
+
attribute: "shape",
|
|
20126
|
+
reflect: true
|
|
20127
|
+
},
|
|
20128
|
+
|
|
20129
|
+
/**
|
|
20130
|
+
* Sets the size of the dropdown.
|
|
20131
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
20132
|
+
*/
|
|
20133
|
+
size: {
|
|
20134
|
+
type: String,
|
|
20135
|
+
attribute: "size",
|
|
19955
20136
|
reflect: true
|
|
19956
20137
|
},
|
|
19957
20138
|
|
|
@@ -19961,6 +20142,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19961
20142
|
*/
|
|
19962
20143
|
parentBorder: {
|
|
19963
20144
|
type: Boolean,
|
|
20145
|
+
attribute: 'parentborder',
|
|
19964
20146
|
reflect: true
|
|
19965
20147
|
},
|
|
19966
20148
|
|
|
@@ -19969,6 +20151,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19969
20151
|
*/
|
|
19970
20152
|
matchWidth: {
|
|
19971
20153
|
type: Boolean,
|
|
20154
|
+
attribute: 'matchwidth',
|
|
19972
20155
|
reflect: true
|
|
19973
20156
|
},
|
|
19974
20157
|
|
|
@@ -19978,6 +20161,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19978
20161
|
*/
|
|
19979
20162
|
noFlip: {
|
|
19980
20163
|
type: Boolean,
|
|
20164
|
+
attribute: 'noflip',
|
|
19981
20165
|
reflect: true
|
|
19982
20166
|
},
|
|
19983
20167
|
|
|
@@ -19994,6 +20178,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
19994
20178
|
*/
|
|
19995
20179
|
noHideOnThisFocusLoss: {
|
|
19996
20180
|
type: Boolean,
|
|
20181
|
+
attribute: 'nohideonthisfocusloss',
|
|
19997
20182
|
reflect: true
|
|
19998
20183
|
},
|
|
19999
20184
|
|
|
@@ -20002,6 +20187,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20002
20187
|
*/
|
|
20003
20188
|
noToggle: {
|
|
20004
20189
|
type: Boolean,
|
|
20190
|
+
attribute: 'notoggle',
|
|
20005
20191
|
reflect: true
|
|
20006
20192
|
},
|
|
20007
20193
|
|
|
@@ -20019,6 +20205,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20019
20205
|
*/
|
|
20020
20206
|
onDark: {
|
|
20021
20207
|
type: Boolean,
|
|
20208
|
+
attribute: 'ondark',
|
|
20022
20209
|
reflect: true
|
|
20023
20210
|
},
|
|
20024
20211
|
|
|
@@ -20027,6 +20214,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20027
20214
|
*/
|
|
20028
20215
|
onSlotChange: {
|
|
20029
20216
|
type: Function,
|
|
20217
|
+
attribute: 'onslotchange',
|
|
20030
20218
|
reflect: false
|
|
20031
20219
|
},
|
|
20032
20220
|
|
|
@@ -20041,10 +20229,11 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20041
20229
|
},
|
|
20042
20230
|
|
|
20043
20231
|
/**
|
|
20044
|
-
*
|
|
20232
|
+
* Sets the tabindex applied to the dropdown trigger for keyboard focus order.
|
|
20045
20233
|
*/
|
|
20046
20234
|
tabIndex: {
|
|
20047
|
-
type: Number
|
|
20235
|
+
type: Number,
|
|
20236
|
+
attribute: 'tabindex'
|
|
20048
20237
|
},
|
|
20049
20238
|
|
|
20050
20239
|
/**
|
|
@@ -20268,7 +20457,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20268
20457
|
/**
|
|
20269
20458
|
* @description Let subscribers know that the dropdown ID ha been generated and added.
|
|
20270
20459
|
* @event auroDropdown-idAdded
|
|
20271
|
-
* @type {
|
|
20460
|
+
* @type {CustomEvent<{ id: string }>} - Detail carries the generated ID of the dropdown bib element.
|
|
20272
20461
|
*/
|
|
20273
20462
|
this.dispatchEvent(new CustomEvent('auroDropdown-idAdded', {detail: {id: this.floater.element.id}}));
|
|
20274
20463
|
|
|
@@ -25410,37 +25599,37 @@ class AuroFormValidation {
|
|
|
25410
25599
|
}
|
|
25411
25600
|
}
|
|
25412
25601
|
|
|
25602
|
+
/**
|
|
25603
|
+
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
25604
|
+
*
|
|
25605
|
+
* It defines the common `layout`, `shape`, `size`, and `ondark` reactive
|
|
25606
|
+
* properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
|
|
25607
|
+
* `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
|
|
25608
|
+
* the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
|
|
25609
|
+
* own default and valid value set for `layout`, `shape`, and `size`.
|
|
25610
|
+
*/
|
|
25413
25611
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
25414
25612
|
static get properties() {
|
|
25415
25613
|
return {
|
|
25416
25614
|
|
|
25417
25615
|
/**
|
|
25418
|
-
*
|
|
25419
|
-
* @default {'default'}
|
|
25616
|
+
* When true, renders the component styled for use on a dark background.
|
|
25420
25617
|
*/
|
|
25421
|
-
layout: {
|
|
25422
|
-
type: String,
|
|
25423
|
-
attribute: "layout",
|
|
25424
|
-
reflect: true
|
|
25425
|
-
},
|
|
25426
|
-
|
|
25427
|
-
shape: {
|
|
25428
|
-
type: String,
|
|
25429
|
-
attribute: "shape",
|
|
25430
|
-
reflect: true
|
|
25431
|
-
},
|
|
25432
|
-
|
|
25433
|
-
size: {
|
|
25434
|
-
type: String,
|
|
25435
|
-
attribute: "size",
|
|
25436
|
-
reflect: true
|
|
25437
|
-
},
|
|
25438
|
-
|
|
25439
25618
|
onDark: {
|
|
25440
25619
|
type: Boolean,
|
|
25441
25620
|
attribute: "ondark",
|
|
25442
25621
|
reflect: true
|
|
25443
25622
|
}
|
|
25623
|
+
|
|
25624
|
+
// NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
|
|
25625
|
+
// Their valid value sets differ per component, and the CEM analyzer roots
|
|
25626
|
+
// an inherited property's `type` in the class that declares it — a base
|
|
25627
|
+
// declaration would force every subclass's `@type` to be discarded and
|
|
25628
|
+
// emitted as plain `string`. Each subclass declares its own `layout` /
|
|
25629
|
+
// `shape` / `size` with an exact `@type` union instead. AuroElement still
|
|
25630
|
+
// consumes `this.layout` / `this.shape` / `this.size` in its render and
|
|
25631
|
+
// architecture helpers below (subclasses guarantee the reactive props).
|
|
25632
|
+
// See AlaskaAirlines/discussions#653.
|
|
25444
25633
|
};
|
|
25445
25634
|
}
|
|
25446
25635
|
|
|
@@ -31407,6 +31596,7 @@ class DomHandler {
|
|
|
31407
31596
|
* Base class for auro-input component that provides core input functionality.
|
|
31408
31597
|
* @event input - Event fires when the value of an `auro-input` has been changed.
|
|
31409
31598
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
|
|
31599
|
+
* @event auroInput-validityChange - Notifies that the `validity` state of the input has changed.
|
|
31410
31600
|
*/
|
|
31411
31601
|
class BaseInput extends AuroElement$1 {
|
|
31412
31602
|
|
|
@@ -31446,6 +31636,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
31446
31636
|
"credit-card",
|
|
31447
31637
|
"tel"
|
|
31448
31638
|
];
|
|
31639
|
+
|
|
31640
|
+
/** @type {'default' | 'inverse'} */
|
|
31449
31641
|
this.appearance = "default";
|
|
31450
31642
|
|
|
31451
31643
|
/** @private */
|
|
@@ -31479,7 +31671,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
31479
31671
|
|
|
31480
31672
|
/** @private */
|
|
31481
31673
|
this.label = 'Input label is undefined';
|
|
31482
|
-
this.layout = 'classic';
|
|
31483
31674
|
this.locale = 'en-US';
|
|
31484
31675
|
this._format = undefined;
|
|
31485
31676
|
|
|
@@ -31501,11 +31692,9 @@ class BaseInput extends AuroElement$1 {
|
|
|
31501
31692
|
"password",
|
|
31502
31693
|
"email"
|
|
31503
31694
|
];
|
|
31504
|
-
this.shape = 'classic';
|
|
31505
31695
|
|
|
31506
31696
|
/** @private */
|
|
31507
31697
|
this.showPassword = false;
|
|
31508
|
-
this.size = 'lg';
|
|
31509
31698
|
this.touched = false;
|
|
31510
31699
|
|
|
31511
31700
|
/** @private */
|
|
@@ -31523,6 +31712,24 @@ class BaseInput extends AuroElement$1 {
|
|
|
31523
31712
|
/** @private */
|
|
31524
31713
|
this.validationCCLength = undefined;
|
|
31525
31714
|
this.value = undefined;
|
|
31715
|
+
|
|
31716
|
+
this.initializeArchitectureDefaults();
|
|
31717
|
+
}
|
|
31718
|
+
|
|
31719
|
+
/**
|
|
31720
|
+
* Sets the default `layout`, `shape`, and `size` values.
|
|
31721
|
+
*
|
|
31722
|
+
* These are assigned in a helper method rather than the constructor body so
|
|
31723
|
+
* the CEM analyzer keeps their `@type` string-literal unions (a literal
|
|
31724
|
+
* assignment in the constructor would make the analyzer infer `string` and
|
|
31725
|
+
* override the union — see AlaskaAirlines/discussions#653, gotcha 1).
|
|
31726
|
+
* @private
|
|
31727
|
+
* @returns {void}
|
|
31728
|
+
*/
|
|
31729
|
+
initializeArchitectureDefaults() {
|
|
31730
|
+
this.layout = 'classic';
|
|
31731
|
+
this.shape = 'classic';
|
|
31732
|
+
this.size = 'lg';
|
|
31526
31733
|
}
|
|
31527
31734
|
|
|
31528
31735
|
// function to define props used within the scope of this component
|
|
@@ -31530,11 +31737,45 @@ class BaseInput extends AuroElement$1 {
|
|
|
31530
31737
|
return {
|
|
31531
31738
|
...super.properties,
|
|
31532
31739
|
|
|
31740
|
+
/**
|
|
31741
|
+
* Sets the layout variant of the input.
|
|
31742
|
+
* @type {'classic' | 'emphasized' | 'emphasized-left' | 'emphasized-right' | 'snowflake' | 'snowflake-left' | 'snowflake-right'}
|
|
31743
|
+
* @default 'classic'
|
|
31744
|
+
*/
|
|
31745
|
+
layout: {
|
|
31746
|
+
type: String,
|
|
31747
|
+
attribute: "layout",
|
|
31748
|
+
reflect: true
|
|
31749
|
+
},
|
|
31750
|
+
|
|
31751
|
+
/**
|
|
31752
|
+
* Sets the shape of the input.
|
|
31753
|
+
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
31754
|
+
* @default 'classic'
|
|
31755
|
+
*/
|
|
31756
|
+
shape: {
|
|
31757
|
+
type: String,
|
|
31758
|
+
attribute: "shape",
|
|
31759
|
+
reflect: true
|
|
31760
|
+
},
|
|
31761
|
+
|
|
31762
|
+
/**
|
|
31763
|
+
* Sets the size of the input.
|
|
31764
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
31765
|
+
* @default 'lg'
|
|
31766
|
+
*/
|
|
31767
|
+
size: {
|
|
31768
|
+
type: String,
|
|
31769
|
+
attribute: "size",
|
|
31770
|
+
reflect: true
|
|
31771
|
+
},
|
|
31772
|
+
|
|
31533
31773
|
/**
|
|
31534
31774
|
* The value for the role attribute.
|
|
31535
31775
|
*/
|
|
31536
31776
|
a11yRole: {
|
|
31537
31777
|
type: String,
|
|
31778
|
+
attribute: 'a11yrole',
|
|
31538
31779
|
reflect: true
|
|
31539
31780
|
},
|
|
31540
31781
|
|
|
@@ -31543,6 +31784,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31543
31784
|
*/
|
|
31544
31785
|
a11yControls: {
|
|
31545
31786
|
type: String,
|
|
31787
|
+
attribute: 'a11ycontrols',
|
|
31546
31788
|
reflect: true
|
|
31547
31789
|
},
|
|
31548
31790
|
|
|
@@ -31551,6 +31793,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31551
31793
|
*/
|
|
31552
31794
|
a11yExpanded: {
|
|
31553
31795
|
type: Boolean,
|
|
31796
|
+
attribute: 'a11yexpanded',
|
|
31554
31797
|
reflect: true
|
|
31555
31798
|
},
|
|
31556
31799
|
|
|
@@ -31560,6 +31803,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31560
31803
|
*/
|
|
31561
31804
|
a11yActivedescendant: {
|
|
31562
31805
|
type: String,
|
|
31806
|
+
attribute: 'a11yactivedescendant',
|
|
31563
31807
|
reflect: true
|
|
31564
31808
|
},
|
|
31565
31809
|
|
|
@@ -31570,6 +31814,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31570
31814
|
*/
|
|
31571
31815
|
activeLabel: {
|
|
31572
31816
|
type: Boolean,
|
|
31817
|
+
attribute: 'activelabel',
|
|
31573
31818
|
reflect: true
|
|
31574
31819
|
},
|
|
31575
31820
|
|
|
@@ -31584,7 +31829,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
31584
31829
|
},
|
|
31585
31830
|
|
|
31586
31831
|
/**
|
|
31587
|
-
* An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
31832
|
+
* An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
31833
|
+
* @type {'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'}
|
|
31588
31834
|
*/
|
|
31589
31835
|
autocapitalize: {
|
|
31590
31836
|
type: String,
|
|
@@ -31601,6 +31847,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31601
31847
|
|
|
31602
31848
|
/**
|
|
31603
31849
|
* When set to `off`, stops iOS from auto-correcting words when typed into a text box.
|
|
31850
|
+
* @type {'on' | 'off'}
|
|
31604
31851
|
*/
|
|
31605
31852
|
autocorrect: {
|
|
31606
31853
|
type: String,
|
|
@@ -31611,7 +31858,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
31611
31858
|
* Custom help text message for email type validity.
|
|
31612
31859
|
*/
|
|
31613
31860
|
customValidityTypeEmail: {
|
|
31614
|
-
type: String
|
|
31861
|
+
type: String,
|
|
31862
|
+
attribute: 'customvaliditytypeemail'
|
|
31615
31863
|
},
|
|
31616
31864
|
|
|
31617
31865
|
/**
|
|
@@ -31627,6 +31875,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31627
31875
|
*/
|
|
31628
31876
|
dvInputOnly: {
|
|
31629
31877
|
type: Boolean,
|
|
31878
|
+
attribute: 'dvinputonly',
|
|
31630
31879
|
reflect: true
|
|
31631
31880
|
},
|
|
31632
31881
|
|
|
@@ -31642,7 +31891,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
31642
31891
|
* Contains the help text message for the current validity error.
|
|
31643
31892
|
*/
|
|
31644
31893
|
errorMessage: {
|
|
31645
|
-
type: String
|
|
31894
|
+
type: String,
|
|
31895
|
+
attribute: 'errormessage'
|
|
31646
31896
|
},
|
|
31647
31897
|
|
|
31648
31898
|
/**
|
|
@@ -31678,6 +31928,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31678
31928
|
*/
|
|
31679
31929
|
hideLabelVisually: {
|
|
31680
31930
|
type: Boolean,
|
|
31931
|
+
attribute: 'hidelabelvisually',
|
|
31681
31932
|
reflect: true
|
|
31682
31933
|
},
|
|
31683
31934
|
|
|
@@ -31744,6 +31995,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31744
31995
|
*/
|
|
31745
31996
|
maxLength: {
|
|
31746
31997
|
type: Number,
|
|
31998
|
+
attribute: 'maxlength',
|
|
31747
31999
|
reflect: true
|
|
31748
32000
|
},
|
|
31749
32001
|
|
|
@@ -31759,6 +32011,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31759
32011
|
*/
|
|
31760
32012
|
minLength: {
|
|
31761
32013
|
type: Number,
|
|
32014
|
+
attribute: 'minlength',
|
|
31762
32015
|
reflect: true
|
|
31763
32016
|
},
|
|
31764
32017
|
|
|
@@ -31784,6 +32037,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31784
32037
|
*/
|
|
31785
32038
|
noValidate: {
|
|
31786
32039
|
type: Boolean,
|
|
32040
|
+
attribute: 'novalidate',
|
|
31787
32041
|
reflect: true
|
|
31788
32042
|
},
|
|
31789
32043
|
|
|
@@ -31792,6 +32046,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31792
32046
|
*/
|
|
31793
32047
|
onDark: {
|
|
31794
32048
|
type: Boolean,
|
|
32049
|
+
attribute: 'ondark',
|
|
31795
32050
|
reflect: true
|
|
31796
32051
|
},
|
|
31797
32052
|
|
|
@@ -31831,77 +32086,88 @@ class BaseInput extends AuroElement$1 {
|
|
|
31831
32086
|
* Sets a custom help text message to display for all validityStates.
|
|
31832
32087
|
*/
|
|
31833
32088
|
setCustomValidity: {
|
|
31834
|
-
type: String
|
|
32089
|
+
type: String,
|
|
32090
|
+
attribute: 'setcustomvalidity'
|
|
31835
32091
|
},
|
|
31836
32092
|
|
|
31837
32093
|
/**
|
|
31838
32094
|
* Custom help text message to display when validity = `badInput`.
|
|
31839
32095
|
*/
|
|
31840
32096
|
setCustomValidityBadInput: {
|
|
31841
|
-
type: String
|
|
32097
|
+
type: String,
|
|
32098
|
+
attribute: 'setcustomvaliditybadinput'
|
|
31842
32099
|
},
|
|
31843
32100
|
|
|
31844
32101
|
/**
|
|
31845
32102
|
* Custom help text message to display when validity = `customError`.
|
|
31846
32103
|
*/
|
|
31847
32104
|
setCustomValidityCustomError: {
|
|
31848
|
-
type: String
|
|
32105
|
+
type: String,
|
|
32106
|
+
attribute: 'setcustomvaliditycustomerror'
|
|
31849
32107
|
},
|
|
31850
32108
|
|
|
31851
32109
|
/**
|
|
31852
32110
|
* Custom help text message to display for the declared element `type` and type validity fails.
|
|
31853
32111
|
*/
|
|
31854
32112
|
setCustomValidityForType: {
|
|
31855
|
-
type: String
|
|
32113
|
+
type: String,
|
|
32114
|
+
attribute: 'setcustomvalidityfortype'
|
|
31856
32115
|
},
|
|
31857
32116
|
|
|
31858
32117
|
/**
|
|
31859
32118
|
* Custom help text message to display when validity = `patternMismatch`.
|
|
31860
32119
|
*/
|
|
31861
32120
|
setCustomValidityPatternMismatch: {
|
|
31862
|
-
type: String
|
|
32121
|
+
type: String,
|
|
32122
|
+
attribute: 'setcustomvaliditypatternmismatch'
|
|
31863
32123
|
},
|
|
31864
32124
|
|
|
31865
32125
|
/**
|
|
31866
32126
|
* Custom help text message to display when validity = `rangeOverflow`.
|
|
31867
32127
|
*/
|
|
31868
32128
|
setCustomValidityRangeOverflow: {
|
|
31869
|
-
type: String
|
|
32129
|
+
type: String,
|
|
32130
|
+
attribute: 'setcustomvalidityrangeoverflow'
|
|
31870
32131
|
},
|
|
31871
32132
|
|
|
31872
32133
|
/**
|
|
31873
32134
|
* Custom help text message to display when validity = `rangeUnderflow`.
|
|
31874
32135
|
*/
|
|
31875
32136
|
setCustomValidityRangeUnderflow: {
|
|
31876
|
-
type: String
|
|
32137
|
+
type: String,
|
|
32138
|
+
attribute: 'setcustomvalidityrangeunderflow'
|
|
31877
32139
|
},
|
|
31878
32140
|
|
|
31879
32141
|
/**
|
|
31880
32142
|
* Custom help text message to display when validity = `tooLong`.
|
|
31881
32143
|
*/
|
|
31882
32144
|
setCustomValidityTooLong: {
|
|
31883
|
-
type: String
|
|
32145
|
+
type: String,
|
|
32146
|
+
attribute: 'setcustomvaliditytoolong'
|
|
31884
32147
|
},
|
|
31885
32148
|
|
|
31886
32149
|
/**
|
|
31887
32150
|
* Custom help text message to display when validity = `tooShort`.
|
|
31888
32151
|
*/
|
|
31889
32152
|
setCustomValidityTooShort: {
|
|
31890
|
-
type: String
|
|
32153
|
+
type: String,
|
|
32154
|
+
attribute: 'setcustomvaliditytooshort'
|
|
31891
32155
|
},
|
|
31892
32156
|
|
|
31893
32157
|
/**
|
|
31894
32158
|
* Custom help text message to display when validity = `valueMissing`.
|
|
31895
32159
|
*/
|
|
31896
32160
|
setCustomValidityValueMissing: {
|
|
31897
|
-
type: String
|
|
32161
|
+
type: String,
|
|
32162
|
+
attribute: 'setcustomvalidityvaluemissing'
|
|
31898
32163
|
},
|
|
31899
32164
|
|
|
31900
32165
|
/**
|
|
31901
32166
|
* @ignore
|
|
31902
32167
|
*/
|
|
31903
32168
|
showPassword: {
|
|
31904
|
-
state: true
|
|
32169
|
+
state: true,
|
|
32170
|
+
attribute: false
|
|
31905
32171
|
},
|
|
31906
32172
|
|
|
31907
32173
|
/**
|
|
@@ -31913,7 +32179,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
31913
32179
|
},
|
|
31914
32180
|
|
|
31915
32181
|
/**
|
|
31916
|
-
* An enumerated attribute defines whether the element may be checked for spelling errors.
|
|
32182
|
+
* 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`.
|
|
32183
|
+
* @type {'true' | 'false'}
|
|
31917
32184
|
*/
|
|
31918
32185
|
spellcheck: {
|
|
31919
32186
|
type: String,
|
|
@@ -31944,7 +32211,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
31944
32211
|
* Sets validation mode to re-eval with each input.
|
|
31945
32212
|
*/
|
|
31946
32213
|
validateOnInput: {
|
|
31947
|
-
type: Boolean
|
|
32214
|
+
type: Boolean,
|
|
32215
|
+
attribute: 'validateoninput'
|
|
31948
32216
|
},
|
|
31949
32217
|
|
|
31950
32218
|
/**
|
|
@@ -32998,6 +33266,8 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
32998
33266
|
super();
|
|
32999
33267
|
|
|
33000
33268
|
this.error = false;
|
|
33269
|
+
|
|
33270
|
+
/** @type {'default' | 'inverse'} */
|
|
33001
33271
|
this.appearance = "default";
|
|
33002
33272
|
this.onDark = false;
|
|
33003
33273
|
this.hasTextContent = false;
|
|
@@ -33018,8 +33288,8 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
33018
33288
|
return {
|
|
33019
33289
|
|
|
33020
33290
|
/**
|
|
33021
|
-
*
|
|
33022
|
-
* @
|
|
33291
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
33292
|
+
* @type {'default' | 'inverse'}
|
|
33023
33293
|
* @default 'default'
|
|
33024
33294
|
*/
|
|
33025
33295
|
appearance: {
|
|
@@ -33032,6 +33302,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
33032
33302
|
*/
|
|
33033
33303
|
slotNodes: {
|
|
33034
33304
|
type: Boolean,
|
|
33305
|
+
attribute: 'slotnodes',
|
|
33035
33306
|
},
|
|
33036
33307
|
|
|
33037
33308
|
/**
|
|
@@ -33039,6 +33310,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
33039
33310
|
*/
|
|
33040
33311
|
hasTextContent: {
|
|
33041
33312
|
type: Boolean,
|
|
33313
|
+
attribute: 'hastextcontent',
|
|
33042
33314
|
},
|
|
33043
33315
|
|
|
33044
33316
|
/**
|
|
@@ -33054,6 +33326,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
33054
33326
|
*/
|
|
33055
33327
|
onDark: {
|
|
33056
33328
|
type: Boolean,
|
|
33329
|
+
attribute: 'ondark',
|
|
33057
33330
|
reflect: true
|
|
33058
33331
|
}
|
|
33059
33332
|
};
|
|
@@ -33124,7 +33397,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
33124
33397
|
}
|
|
33125
33398
|
};
|
|
33126
33399
|
|
|
33127
|
-
var formkitVersion = '
|
|
33400
|
+
var formkitVersion = '202608291822';
|
|
33128
33401
|
|
|
33129
33402
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
33130
33403
|
// See LICENSE in the project root for license information.
|
|
@@ -34058,6 +34331,8 @@ class AuroHelpText extends LitElement {
|
|
|
34058
34331
|
super();
|
|
34059
34332
|
|
|
34060
34333
|
this.error = false;
|
|
34334
|
+
|
|
34335
|
+
/** @type {'default' | 'inverse'} */
|
|
34061
34336
|
this.appearance = "default";
|
|
34062
34337
|
this.onDark = false;
|
|
34063
34338
|
this.hasTextContent = false;
|
|
@@ -34078,8 +34353,8 @@ class AuroHelpText extends LitElement {
|
|
|
34078
34353
|
return {
|
|
34079
34354
|
|
|
34080
34355
|
/**
|
|
34081
|
-
*
|
|
34082
|
-
* @
|
|
34356
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
34357
|
+
* @type {'default' | 'inverse'}
|
|
34083
34358
|
* @default 'default'
|
|
34084
34359
|
*/
|
|
34085
34360
|
appearance: {
|
|
@@ -34092,6 +34367,7 @@ class AuroHelpText extends LitElement {
|
|
|
34092
34367
|
*/
|
|
34093
34368
|
slotNodes: {
|
|
34094
34369
|
type: Boolean,
|
|
34370
|
+
attribute: 'slotnodes',
|
|
34095
34371
|
},
|
|
34096
34372
|
|
|
34097
34373
|
/**
|
|
@@ -34099,6 +34375,7 @@ class AuroHelpText extends LitElement {
|
|
|
34099
34375
|
*/
|
|
34100
34376
|
hasTextContent: {
|
|
34101
34377
|
type: Boolean,
|
|
34378
|
+
attribute: 'hastextcontent',
|
|
34102
34379
|
},
|
|
34103
34380
|
|
|
34104
34381
|
/**
|
|
@@ -34114,6 +34391,7 @@ class AuroHelpText extends LitElement {
|
|
|
34114
34391
|
*/
|
|
34115
34392
|
onDark: {
|
|
34116
34393
|
type: Boolean,
|
|
34394
|
+
attribute: 'ondark',
|
|
34117
34395
|
reflect: true
|
|
34118
34396
|
}
|
|
34119
34397
|
};
|
|
@@ -34184,37 +34462,37 @@ class AuroHelpText extends LitElement {
|
|
|
34184
34462
|
}
|
|
34185
34463
|
}
|
|
34186
34464
|
|
|
34465
|
+
/**
|
|
34466
|
+
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
34467
|
+
*
|
|
34468
|
+
* It defines the common `layout`, `shape`, `size`, and `ondark` reactive
|
|
34469
|
+
* properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
|
|
34470
|
+
* `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
|
|
34471
|
+
* the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
|
|
34472
|
+
* own default and valid value set for `layout`, `shape`, and `size`.
|
|
34473
|
+
*/
|
|
34187
34474
|
class AuroElement extends LitElement {
|
|
34188
34475
|
static get properties() {
|
|
34189
34476
|
return {
|
|
34190
34477
|
|
|
34191
34478
|
/**
|
|
34192
|
-
*
|
|
34193
|
-
* @default {'default'}
|
|
34479
|
+
* When true, renders the component styled for use on a dark background.
|
|
34194
34480
|
*/
|
|
34195
|
-
layout: {
|
|
34196
|
-
type: String,
|
|
34197
|
-
attribute: "layout",
|
|
34198
|
-
reflect: true
|
|
34199
|
-
},
|
|
34200
|
-
|
|
34201
|
-
shape: {
|
|
34202
|
-
type: String,
|
|
34203
|
-
attribute: "shape",
|
|
34204
|
-
reflect: true
|
|
34205
|
-
},
|
|
34206
|
-
|
|
34207
|
-
size: {
|
|
34208
|
-
type: String,
|
|
34209
|
-
attribute: "size",
|
|
34210
|
-
reflect: true
|
|
34211
|
-
},
|
|
34212
|
-
|
|
34213
34481
|
onDark: {
|
|
34214
34482
|
type: Boolean,
|
|
34215
34483
|
attribute: "ondark",
|
|
34216
34484
|
reflect: true
|
|
34217
34485
|
}
|
|
34486
|
+
|
|
34487
|
+
// NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
|
|
34488
|
+
// Their valid value sets differ per component, and the CEM analyzer roots
|
|
34489
|
+
// an inherited property's `type` in the class that declares it — a base
|
|
34490
|
+
// declaration would force every subclass's `@type` to be discarded and
|
|
34491
|
+
// emitted as plain `string`. Each subclass declares its own `layout` /
|
|
34492
|
+
// `shape` / `size` with an exact `@type` union instead. AuroElement still
|
|
34493
|
+
// consumes `this.layout` / `this.shape` / `this.size` in its render and
|
|
34494
|
+
// architecture helpers below (subclasses guarantee the reactive props).
|
|
34495
|
+
// See AlaskaAirlines/discussions#653.
|
|
34218
34496
|
};
|
|
34219
34497
|
}
|
|
34220
34498
|
|
|
@@ -34632,6 +34910,10 @@ const datepickerKeyboardStrategy = {
|
|
|
34632
34910
|
* @slot popover_YYYY_MM_DD - Defines the content to display in the auro-calendar-cell popover for the specified date.
|
|
34633
34911
|
* @csspart dropdown - Use for customizing the style of the dropdown.
|
|
34634
34912
|
* @csspart trigger - Use for customizing the style of the datepicker trigger.
|
|
34913
|
+
* @csspart wrapper - Use for customizing the style of the trigger content wrapper.
|
|
34914
|
+
* @csspart mainLabel - Use for customizing the style of the main label in the snowflake layout.
|
|
34915
|
+
* @csspart inputSection - Use for customizing the style of the input section within the trigger.
|
|
34916
|
+
* @csspart accentIcon - Use for customizing the style of the leading calendar accent icon.
|
|
34635
34917
|
* @csspart input - Use for customizing the style of the datepicker inputs.
|
|
34636
34918
|
* @csspart calendarWrapper - Use for customizing the style of the calendar container.
|
|
34637
34919
|
* @csspart calendar - Use for customizing the style of the calendar.
|
|
@@ -34641,6 +34923,7 @@ const datepickerKeyboardStrategy = {
|
|
|
34641
34923
|
* @event auroDatePicker-monthChanged - Notifies that the visible calendar month(s) have changed.
|
|
34642
34924
|
* @event auroFormElement-validated - Notifies that the component value(s) have been validated.
|
|
34643
34925
|
* @event auroDatePicker-newSlotContent - Notifies that new slot content has been added to the datepicker.
|
|
34926
|
+
* @event input - Notifies that the datepicker's value has changed.
|
|
34644
34927
|
*/
|
|
34645
34928
|
class AuroDatePicker extends AuroElement {
|
|
34646
34929
|
static get shadowRootOptions() {
|
|
@@ -34804,11 +35087,17 @@ class AuroDatePicker extends AuroElement {
|
|
|
34804
35087
|
*/
|
|
34805
35088
|
this.handleClearClick = this.handleClearClick.bind(this);
|
|
34806
35089
|
|
|
34807
|
-
|
|
35090
|
+
this.initializeArchitectureDefaults();
|
|
35091
|
+
}
|
|
35092
|
+
|
|
35093
|
+
// Defaults for the inherited layout/shape/size architecture props are set in a
|
|
35094
|
+
// helper (not the constructor body) so the CEM analyzer keeps their `@type`
|
|
35095
|
+
// unions instead of inferring `string` from a constructor-literal assignment.
|
|
35096
|
+
// See AlaskaAirlines/discussions#653.
|
|
35097
|
+
initializeArchitectureDefaults() {
|
|
34808
35098
|
this.layout = 'classic';
|
|
34809
35099
|
this.shape = 'classic';
|
|
34810
35100
|
this.size = 'lg';
|
|
34811
|
-
|
|
34812
35101
|
}
|
|
34813
35102
|
|
|
34814
35103
|
// This function is to define props used within the scope of this component
|
|
@@ -34834,6 +35123,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
34834
35123
|
*/
|
|
34835
35124
|
autoPlacement: {
|
|
34836
35125
|
type: Boolean,
|
|
35126
|
+
attribute: "autoplacement",
|
|
34837
35127
|
reflect: true
|
|
34838
35128
|
},
|
|
34839
35129
|
|
|
@@ -34850,6 +35140,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
34850
35140
|
*/
|
|
34851
35141
|
blackoutDates: {
|
|
34852
35142
|
type: Array,
|
|
35143
|
+
attribute: 'blackoutdates',
|
|
34853
35144
|
reflect: true
|
|
34854
35145
|
},
|
|
34855
35146
|
|
|
@@ -34859,6 +35150,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
34859
35150
|
*/
|
|
34860
35151
|
blackoutLabel: {
|
|
34861
35152
|
type: String,
|
|
35153
|
+
attribute: 'blackoutlabel',
|
|
34862
35154
|
reflect: true
|
|
34863
35155
|
},
|
|
34864
35156
|
|
|
@@ -34867,6 +35159,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
34867
35159
|
*/
|
|
34868
35160
|
calendarEndDate: {
|
|
34869
35161
|
type: String,
|
|
35162
|
+
attribute: 'calendarenddate',
|
|
34870
35163
|
reflect: true
|
|
34871
35164
|
},
|
|
34872
35165
|
|
|
@@ -34876,6 +35169,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
34876
35169
|
*/
|
|
34877
35170
|
calendarGridLabel: {
|
|
34878
35171
|
type: String,
|
|
35172
|
+
attribute: 'calendargridlabel',
|
|
34879
35173
|
reflect: true
|
|
34880
35174
|
},
|
|
34881
35175
|
|
|
@@ -34884,6 +35178,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
34884
35178
|
*/
|
|
34885
35179
|
calendarFocusDate: {
|
|
34886
35180
|
type: String,
|
|
35181
|
+
attribute: 'calendarfocusdate',
|
|
34887
35182
|
reflect: true
|
|
34888
35183
|
},
|
|
34889
35184
|
|
|
@@ -34892,6 +35187,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
34892
35187
|
*/
|
|
34893
35188
|
calendarStartDate: {
|
|
34894
35189
|
type: String,
|
|
35190
|
+
attribute: 'calendarstartdate',
|
|
34895
35191
|
reflect: true
|
|
34896
35192
|
},
|
|
34897
35193
|
|
|
@@ -34899,7 +35195,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
34899
35195
|
* The date that determines the currently visible month.
|
|
34900
35196
|
*/
|
|
34901
35197
|
centralDate: {
|
|
34902
|
-
type: String
|
|
35198
|
+
type: String,
|
|
35199
|
+
attribute: 'centraldate'
|
|
34903
35200
|
},
|
|
34904
35201
|
|
|
34905
35202
|
/**
|
|
@@ -34915,6 +35212,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
34915
35212
|
*/
|
|
34916
35213
|
dvInputOnly: {
|
|
34917
35214
|
type: Boolean,
|
|
35215
|
+
attribute: 'dvinputonly',
|
|
34918
35216
|
reflect: true
|
|
34919
35217
|
},
|
|
34920
35218
|
|
|
@@ -34952,6 +35250,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
34952
35250
|
*/
|
|
34953
35251
|
fullscreenBreakpoint: {
|
|
34954
35252
|
type: String,
|
|
35253
|
+
attribute: "fullscreenbreakpoint",
|
|
34955
35254
|
reflect: true
|
|
34956
35255
|
},
|
|
34957
35256
|
|
|
@@ -34960,11 +35259,13 @@ class AuroDatePicker extends AuroElement {
|
|
|
34960
35259
|
*/
|
|
34961
35260
|
hasAllValues: {
|
|
34962
35261
|
type: Boolean,
|
|
35262
|
+
attribute: 'hasallvalues',
|
|
34963
35263
|
reflect: false
|
|
34964
35264
|
},
|
|
34965
35265
|
|
|
34966
35266
|
hasFocus: {
|
|
34967
35267
|
type: Boolean,
|
|
35268
|
+
attribute: 'hasfocus',
|
|
34968
35269
|
reflect: false,
|
|
34969
35270
|
},
|
|
34970
35271
|
|
|
@@ -34973,10 +35274,14 @@ class AuroDatePicker extends AuroElement {
|
|
|
34973
35274
|
*/
|
|
34974
35275
|
hasValue: {
|
|
34975
35276
|
type: Boolean,
|
|
35277
|
+
attribute: 'hasvalue',
|
|
34976
35278
|
reflect: false,
|
|
34977
35279
|
},
|
|
34978
35280
|
|
|
34979
|
-
/**
|
|
35281
|
+
/**
|
|
35282
|
+
* Sets the `inputmode` attribute on the underlying input, hinting at the virtual keyboard to display.
|
|
35283
|
+
* @type {'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'}
|
|
35284
|
+
*/
|
|
34980
35285
|
inputmode: {
|
|
34981
35286
|
type: String,
|
|
34982
35287
|
attribute: true,
|
|
@@ -34989,6 +35294,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
34989
35294
|
*/
|
|
34990
35295
|
largeFullscreenHeadline: {
|
|
34991
35296
|
type: Boolean,
|
|
35297
|
+
attribute: 'largefullscreenheadline',
|
|
34992
35298
|
reflect: true
|
|
34993
35299
|
},
|
|
34994
35300
|
|
|
@@ -34999,6 +35305,29 @@ class AuroDatePicker extends AuroElement {
|
|
|
34999
35305
|
*/
|
|
35000
35306
|
layout: {
|
|
35001
35307
|
type: String,
|
|
35308
|
+
attribute: "layout",
|
|
35309
|
+
reflect: true
|
|
35310
|
+
},
|
|
35311
|
+
|
|
35312
|
+
/**
|
|
35313
|
+
* Sets the shape of the datepicker.
|
|
35314
|
+
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
35315
|
+
* @default 'classic'
|
|
35316
|
+
*/
|
|
35317
|
+
shape: {
|
|
35318
|
+
type: String,
|
|
35319
|
+
attribute: "shape",
|
|
35320
|
+
reflect: true
|
|
35321
|
+
},
|
|
35322
|
+
|
|
35323
|
+
/**
|
|
35324
|
+
* Sets the size of the datepicker.
|
|
35325
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
35326
|
+
* @default 'lg'
|
|
35327
|
+
*/
|
|
35328
|
+
size: {
|
|
35329
|
+
type: String,
|
|
35330
|
+
attribute: "size",
|
|
35002
35331
|
reflect: true
|
|
35003
35332
|
},
|
|
35004
35333
|
|
|
@@ -35007,6 +35336,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35007
35336
|
*/
|
|
35008
35337
|
maxDate: {
|
|
35009
35338
|
type: String,
|
|
35339
|
+
attribute: 'maxdate',
|
|
35010
35340
|
reflect: true
|
|
35011
35341
|
},
|
|
35012
35342
|
|
|
@@ -35015,14 +35345,16 @@ class AuroDatePicker extends AuroElement {
|
|
|
35015
35345
|
*/
|
|
35016
35346
|
minDate: {
|
|
35017
35347
|
type: String,
|
|
35348
|
+
attribute: 'mindate',
|
|
35018
35349
|
reflect: true
|
|
35019
35350
|
},
|
|
35020
35351
|
|
|
35021
35352
|
/**
|
|
35022
|
-
*
|
|
35353
|
+
* When set, the calendar displays the month before the year in the header.
|
|
35023
35354
|
*/
|
|
35024
35355
|
monthFirst: {
|
|
35025
|
-
type: Boolean
|
|
35356
|
+
type: Boolean,
|
|
35357
|
+
attribute: 'monthfirst'
|
|
35026
35358
|
},
|
|
35027
35359
|
|
|
35028
35360
|
/**
|
|
@@ -35030,7 +35362,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
35030
35362
|
* When omitted, month names will be automatically populated from the active `locale` (falling back to `en-US`).
|
|
35031
35363
|
*/
|
|
35032
35364
|
monthNames: {
|
|
35033
|
-
type: Array
|
|
35365
|
+
type: Array,
|
|
35366
|
+
attribute: 'monthnames'
|
|
35034
35367
|
},
|
|
35035
35368
|
|
|
35036
35369
|
/**
|
|
@@ -35039,6 +35372,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35039
35372
|
*/
|
|
35040
35373
|
navLabelNextMonth: {
|
|
35041
35374
|
type: String,
|
|
35375
|
+
attribute: 'navlabelnextmonth',
|
|
35042
35376
|
reflect: true
|
|
35043
35377
|
},
|
|
35044
35378
|
|
|
@@ -35048,6 +35382,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35048
35382
|
*/
|
|
35049
35383
|
navLabelPrevMonth: {
|
|
35050
35384
|
type: String,
|
|
35385
|
+
attribute: 'navlabelprevmonth',
|
|
35051
35386
|
reflect: true
|
|
35052
35387
|
},
|
|
35053
35388
|
|
|
@@ -35057,6 +35392,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35057
35392
|
*/
|
|
35058
35393
|
noFlip: {
|
|
35059
35394
|
type: Boolean,
|
|
35395
|
+
attribute: 'noflip',
|
|
35060
35396
|
reflect: true
|
|
35061
35397
|
},
|
|
35062
35398
|
|
|
@@ -35065,6 +35401,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35065
35401
|
*/
|
|
35066
35402
|
noValidate: {
|
|
35067
35403
|
type: Boolean,
|
|
35404
|
+
attribute: 'novalidate',
|
|
35068
35405
|
reflect: true
|
|
35069
35406
|
},
|
|
35070
35407
|
|
|
@@ -35082,6 +35419,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35082
35419
|
*/
|
|
35083
35420
|
onDark: {
|
|
35084
35421
|
type: Boolean,
|
|
35422
|
+
attribute: 'ondark',
|
|
35085
35423
|
reflect: true
|
|
35086
35424
|
},
|
|
35087
35425
|
|
|
@@ -35100,6 +35438,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35100
35438
|
*/
|
|
35101
35439
|
placeholderEndDate: {
|
|
35102
35440
|
type: String,
|
|
35441
|
+
attribute: 'placeholderenddate',
|
|
35103
35442
|
reflect: true
|
|
35104
35443
|
},
|
|
35105
35444
|
|
|
@@ -35130,6 +35469,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35130
35469
|
*/
|
|
35131
35470
|
rangeLabelAfterRange: {
|
|
35132
35471
|
type: String,
|
|
35472
|
+
attribute: 'rangelabelafterrange',
|
|
35133
35473
|
reflect: true
|
|
35134
35474
|
},
|
|
35135
35475
|
|
|
@@ -35139,6 +35479,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35139
35479
|
*/
|
|
35140
35480
|
rangeLabelBeforeRange: {
|
|
35141
35481
|
type: String,
|
|
35482
|
+
attribute: 'rangelabelbeforerange',
|
|
35142
35483
|
reflect: true
|
|
35143
35484
|
},
|
|
35144
35485
|
|
|
@@ -35148,6 +35489,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35148
35489
|
*/
|
|
35149
35490
|
rangeLabelEnd: {
|
|
35150
35491
|
type: String,
|
|
35492
|
+
attribute: 'rangelabelend',
|
|
35151
35493
|
reflect: true
|
|
35152
35494
|
},
|
|
35153
35495
|
|
|
@@ -35159,6 +35501,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35159
35501
|
*/
|
|
35160
35502
|
rangeLabelEndPreview: {
|
|
35161
35503
|
type: String,
|
|
35504
|
+
attribute: 'rangelabelendpreview',
|
|
35162
35505
|
reflect: true
|
|
35163
35506
|
},
|
|
35164
35507
|
|
|
@@ -35168,6 +35511,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35168
35511
|
*/
|
|
35169
35512
|
rangeLabelInRange: {
|
|
35170
35513
|
type: String,
|
|
35514
|
+
attribute: 'rangelabelinrange',
|
|
35171
35515
|
reflect: true
|
|
35172
35516
|
},
|
|
35173
35517
|
|
|
@@ -35177,6 +35521,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35177
35521
|
*/
|
|
35178
35522
|
rangeLabelStart: {
|
|
35179
35523
|
type: String,
|
|
35524
|
+
attribute: 'rangelabelstart',
|
|
35180
35525
|
reflect: true
|
|
35181
35526
|
},
|
|
35182
35527
|
|
|
@@ -35186,6 +35531,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
35186
35531
|
*/
|
|
35187
35532
|
referenceDates: {
|
|
35188
35533
|
type: Array,
|
|
35534
|
+
attribute: 'referencedates',
|
|
35189
35535
|
reflect: true
|
|
35190
35536
|
},
|
|
35191
35537
|
|
|
@@ -35201,7 +35547,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
35201
35547
|
* Sets a custom help text message to display for all validityStates.
|
|
35202
35548
|
*/
|
|
35203
35549
|
setCustomValidity: {
|
|
35204
|
-
type: String
|
|
35550
|
+
type: String,
|
|
35551
|
+
attribute: 'setcustomvalidity'
|
|
35205
35552
|
},
|
|
35206
35553
|
|
|
35207
35554
|
/**
|
|
@@ -35209,28 +35556,32 @@ class AuroDatePicker extends AuroElement {
|
|
|
35209
35556
|
* Also used as the validation message when a blackout date is typed into the input.
|
|
35210
35557
|
*/
|
|
35211
35558
|
setCustomValidityCustomError: {
|
|
35212
|
-
type: String
|
|
35559
|
+
type: String,
|
|
35560
|
+
attribute: 'setcustomvaliditycustomerror'
|
|
35213
35561
|
},
|
|
35214
35562
|
|
|
35215
35563
|
/**
|
|
35216
35564
|
* Custom help text message to display when validity = `rangeOverflow`.
|
|
35217
35565
|
*/
|
|
35218
35566
|
setCustomValidityRangeOverflow: {
|
|
35219
|
-
type: String
|
|
35567
|
+
type: String,
|
|
35568
|
+
attribute: 'setcustomvalidityrangeoverflow'
|
|
35220
35569
|
},
|
|
35221
35570
|
|
|
35222
35571
|
/**
|
|
35223
35572
|
* Custom help text message to display when validity = `rangeUnderflow`.
|
|
35224
35573
|
*/
|
|
35225
35574
|
setCustomValidityRangeUnderflow: {
|
|
35226
|
-
type: String
|
|
35575
|
+
type: String,
|
|
35576
|
+
attribute: 'setcustomvalidityrangeunderflow'
|
|
35227
35577
|
},
|
|
35228
35578
|
|
|
35229
35579
|
/**
|
|
35230
35580
|
* Custom help text message to display when validity = `valueMissing`.
|
|
35231
35581
|
*/
|
|
35232
35582
|
setCustomValidityValueMissing: {
|
|
35233
|
-
type: String
|
|
35583
|
+
type: String,
|
|
35584
|
+
attribute: 'setcustomvalidityvaluemissing'
|
|
35234
35585
|
},
|
|
35235
35586
|
|
|
35236
35587
|
/**
|
|
@@ -35278,7 +35629,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
35278
35629
|
* Value selected for the second datepicker when using date range.
|
|
35279
35630
|
*/
|
|
35280
35631
|
valueEnd: {
|
|
35281
|
-
type: String
|
|
35632
|
+
type: String,
|
|
35633
|
+
attribute: 'valueend'
|
|
35282
35634
|
}
|
|
35283
35635
|
};
|
|
35284
35636
|
}
|