@momentum-ui/web-components 2.25.4 → 2.25.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/2237.js +1 -0
- package/dist/3192.js +4 -4
- package/dist/5830.js +1 -1
- package/dist/6798.js +3 -3
- package/dist/7330.js +1 -1
- package/dist/comp/md-accordion-item-entry.js +1 -1
- package/dist/comp/md-accordion-item.js +1 -1
- package/dist/comp/md-activity-button-entry.js +1 -1
- package/dist/comp/md-activity-button.js +1 -1
- package/dist/comp/md-alert-banner-entry.js +1 -1
- package/dist/comp/md-alert-banner.js +1 -1
- package/dist/comp/md-alert-entry.js +37 -37
- package/dist/comp/md-alert.js +1 -1
- package/dist/comp/md-audio-player-entry.js +1 -1
- package/dist/comp/md-audio-player.js +1 -1
- package/dist/comp/md-avatar-entry.js +1 -1
- package/dist/comp/md-avatar.js +1 -1
- package/dist/comp/md-button-entry.js +8 -8
- package/dist/comp/md-card-ai-entry.js +1 -1
- package/dist/comp/md-card-ai.js +1 -1
- package/dist/comp/md-card-entry.js +1 -1
- package/dist/comp/md-card-v2-entry.js +1 -1
- package/dist/comp/md-card-v2.js +1 -1
- package/dist/comp/md-card.js +1 -1
- package/dist/comp/md-chat-message-entry.js +1 -1
- package/dist/comp/md-chat-message.js +1 -1
- package/dist/comp/md-checkbox-entry.js +1 -1
- package/dist/comp/md-checkbox.js +1 -1
- package/dist/comp/md-coachmark-popover-entry.js +1 -1
- package/dist/comp/md-coachmark-popover.js +1 -1
- package/dist/comp/md-combobox-entry.js +1 -1
- package/dist/comp/md-combobox.js +1 -1
- package/dist/comp/md-country-code-picker-entry.js +1 -1
- package/dist/comp/md-country-code-picker.js +1 -1
- package/dist/comp/md-date-range-picker-entry.js +1 -1
- package/dist/comp/md-date-range-picker.js +1 -1
- package/dist/comp/md-date-time-picker-entry.js +1 -1
- package/dist/comp/md-date-time-picker.js +1 -1
- package/dist/comp/md-datepicker-calendar-entry.js +1 -1
- package/dist/comp/md-datepicker-calendar.js +1 -1
- package/dist/comp/md-datepicker-entry.js +1 -1
- package/dist/comp/md-datepicker.js +1 -1
- package/dist/comp/md-dropdown-entry.js +1 -1
- package/dist/comp/md-dropdown.js +1 -1
- package/dist/comp/md-editable-field-entry.js +1 -1
- package/dist/comp/md-editable-field.js +1 -1
- package/dist/comp/md-favorite-entry.js +1 -1
- package/dist/comp/md-favorite.js +1 -1
- package/dist/comp/md-floating-minimize-entry.js +6 -4
- package/dist/comp/md-floating-minimize.js +1 -1
- package/dist/comp/md-floating-modal-entry.js +12 -7
- package/dist/comp/md-floating-modal.js +1 -1
- package/dist/comp/md-grabber-entry.js +1 -1
- package/dist/comp/md-grabber.js +1 -1
- package/dist/comp/md-icon-entry.js +1 -1
- package/dist/comp/md-icon.js +1 -1
- package/dist/comp/md-input-entry.js +1 -1
- package/dist/comp/md-input.js +1 -1
- package/dist/comp/md-link-entry.js +36 -36
- package/dist/comp/md-meeting-alert-entry.js +1 -1
- package/dist/comp/md-meeting-alert.js +1 -1
- package/dist/comp/md-modal-entry.js +1 -1
- package/dist/comp/md-modal.js +1 -1
- package/dist/comp/md-pagination-entry.js +1 -1
- package/dist/comp/md-pagination.js +1 -1
- package/dist/comp/md-phone-input-entry.js +1 -1
- package/dist/comp/md-phone-input.js +1 -1
- package/dist/comp/md-popover-entry.js +1 -1
- package/dist/comp/md-popover.js +1 -1
- package/dist/comp/md-presence-entry.js +1 -1
- package/dist/comp/md-presence.js +1 -1
- package/dist/comp/md-table-advanced-entry.js +1 -1
- package/dist/comp/md-table-advanced.js +1 -1
- package/dist/comp/md-table-entry.js +1 -1
- package/dist/comp/md-table.js +1 -1
- package/dist/comp/md-tabs-entry.js +1 -1
- package/dist/comp/md-tabs.js +1 -1
- package/dist/comp/md-task-item-entry.js +1 -1
- package/dist/comp/md-task-item.js +1 -1
- package/dist/comp/md-timepicker-entry.js +1 -1
- package/dist/comp/md-timepicker.js +1 -1
- package/dist/comp/md-tooltip-entry.js +2 -2
- package/dist/index-entry.js +52 -47
- package/dist/index.js +1 -1
- package/dist/types/components/button/Button.d.ts +6 -1
- package/dist/types/components/dropdown/Dropdown.d.ts +14 -2
- package/dist/types/components/grabber/Grabber.d.ts +1 -1
- package/dist/types/components/link/Link.d.ts +7 -0
- package/dist/types/components/slider/Slider.d.ts +11 -0
- package/dist/types/components/tooltip/Tooltip.d.ts +3 -0
- package/package.json +2 -2
- package/dist/6633.js +0 -1
package/dist/index-entry.js
CHANGED
|
@@ -569,42 +569,42 @@
|
|
|
569
569
|
${(0,p.repeat)(this.codeList,t=>t.name,(t,e)=>this.countryCodeOptionTemplate(t,e))}
|
|
570
570
|
</md-combobox>
|
|
571
571
|
</div>
|
|
572
|
-
`}};u([(0,l.property)({type:String,reflect:!0})],e.prototype,"codePlaceholder",void 0),u([(0,l.property)({type:String,attribute:"country-calling-code"})],e.prototype,"countryCallingCode",void 0),u([(0,l.property)({type:Boolean,attribute:"show-flags"})],e.prototype,"showFlags",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"pill",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"disabled",void 0),u([(0,l.property)({type:String})],e.prototype,"ariaLabel",void 0),u([(0,l.property)({type:String})],e.prototype,"clearAriaLabel",void 0),u([(0,l.property)({type:String})],e.prototype,"id",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"newMomentum",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"isDropdownArrow",void 0),u([(0,l.internalProperty)()],e.prototype,"countryCode",void 0),u([(0,l.internalProperty)()],e.prototype,"codeList",void 0),u([(0,l.query)("md-combobox")],e.prototype,"combobox",void 0),e=u([(0,s.w)("md-country-code-picker")],e),t.ELEMENT=e}(o||(o={}))},19026:(t,e,i)=>{i.d(e,{Link:()=>o});var o,s=i(31890),r=i(26272),n=i(41488),a=i(23968),l=i(97822),d=i(73112),h=function(t,e,i,o){var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){let e=class extends n.LitElement{constructor(){super(...arguments),this.color="",this.ariaLabel="",this.ariaRole="link",this.disabled=!1,this.inline=!1,this.inlineStyle=void 0,this.inverted=void 0,this.href="",this.tag="a",this.target="_self",this.size=void 0,this._tabIndex=0}get tabIndex(){return this._tabIndex}set tabIndex(t){const e=this._tabIndex;this._tabIndex=t,this.requestUpdate("tabIndex",e)}static get styles(){return[r.A,d.A]}
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
572
|
+
`}};u([(0,l.property)({type:String,reflect:!0})],e.prototype,"codePlaceholder",void 0),u([(0,l.property)({type:String,attribute:"country-calling-code"})],e.prototype,"countryCallingCode",void 0),u([(0,l.property)({type:Boolean,attribute:"show-flags"})],e.prototype,"showFlags",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"pill",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"disabled",void 0),u([(0,l.property)({type:String})],e.prototype,"ariaLabel",void 0),u([(0,l.property)({type:String})],e.prototype,"clearAriaLabel",void 0),u([(0,l.property)({type:String})],e.prototype,"id",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"newMomentum",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"isDropdownArrow",void 0),u([(0,l.internalProperty)()],e.prototype,"countryCode",void 0),u([(0,l.internalProperty)()],e.prototype,"codeList",void 0),u([(0,l.query)("md-combobox")],e.prototype,"combobox",void 0),e=u([(0,s.w)("md-country-code-picker")],e),t.ELEMENT=e}(o||(o={}))},19026:(t,e,i)=>{i.d(e,{Link:()=>o});var o,s=i(31890),r=i(26272),n=i(41488),a=i(23968),l=i(97822),d=i(73112),h=function(t,e,i,o){var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){let e=class extends n.LitElement{constructor(){super(...arguments),this.color="",this.ariaLabel="",this.ariaRole="link",this.disabled=!1,this.inline=!1,this.inlineStyle=void 0,this.inverted=void 0,this.href="",this.tag="a",this.target="_self",this.size=void 0,this._tabIndex=0,this.autofocus=!1}get tabIndex(){return this._tabIndex}set tabIndex(t){const e=this._tabIndex;this._tabIndex=t,this.requestUpdate("tabIndex",e)}static get styles(){return[r.A,d.A]}firstUpdated(){this.autofocus&&requestAnimationFrame(()=>{this.focus()})}focus(){var t;null===(t=this.linkRef)||void 0===t||t.focus()}blur(){var t;null===(t=this.linkRef)||void 0===t||t.blur()}get linkClassNamesInfo(){return{[`md-link--${this.color}`]:this.color,"md-link--inline":this.inline,[`md-link--inline-style-${this.inlineStyle}`]:!!this.inlineStyle,[`${this.size}`]:!!this.size,inverted:!0===this.inverted,disabled:this.disabled}}get linkElement(){switch(this.tag){case"div":return n.html`
|
|
573
|
+
<div
|
|
574
|
+
class="md-link ${(0,a.classMap)(this.linkClassNamesInfo)}"
|
|
575
|
+
tabindex=${this.tabIndex}
|
|
576
|
+
aria-label=${(0,l.ifDefined)(this.ariaLabel||void 0)}
|
|
577
|
+
aria-disabled=${(0,l.ifDefined)(this.disabled||void 0)}
|
|
578
|
+
role=${this.ariaRole}
|
|
579
|
+
part="link"
|
|
580
|
+
>
|
|
581
|
+
<slot></slot>
|
|
582
|
+
</div>
|
|
583
|
+
`;case"span":return n.html`
|
|
584
|
+
<span
|
|
585
|
+
class="md-link ${(0,a.classMap)(this.linkClassNamesInfo)}"
|
|
586
|
+
tabindex=${this.tabIndex}
|
|
587
|
+
aria-label=${(0,l.ifDefined)(this.ariaLabel||void 0)}
|
|
588
|
+
aria-disabled=${(0,l.ifDefined)(this.disabled||void 0)}
|
|
589
|
+
role=${this.ariaRole}
|
|
590
|
+
part="link"
|
|
591
|
+
>
|
|
592
|
+
<slot></slot>
|
|
593
|
+
</span>
|
|
594
|
+
`;default:return n.html`
|
|
595
|
+
<a
|
|
596
|
+
class="md-link ${(0,a.classMap)(this.linkClassNamesInfo)}"
|
|
597
|
+
.target="${this.target}"
|
|
598
|
+
href=${(0,l.ifDefined)(this.disabled?void 0:this.href)}
|
|
599
|
+
tabindex=${this.tabIndex}
|
|
600
|
+
aria-label=${(0,l.ifDefined)(this.ariaLabel||void 0)}
|
|
601
|
+
aria-disabled=${(0,l.ifDefined)(this.disabled||void 0)}
|
|
602
|
+
role=${this.ariaRole}
|
|
603
|
+
part="link"
|
|
604
|
+
>
|
|
605
|
+
<slot></slot>
|
|
606
|
+
</a>
|
|
607
|
+
`}}render(){return n.html` ${this.linkElement} `}};h([(0,n.property)({type:String,attribute:!1})],e.prototype,"color",void 0),h([(0,n.property)({type:String})],e.prototype,"ariaLabel",void 0),h([(0,n.property)({type:String})],e.prototype,"ariaRole",void 0),h([(0,n.property)({type:Boolean})],e.prototype,"disabled",void 0),h([(0,n.property)({type:Boolean})],e.prototype,"inline",void 0),h([(0,n.property)({type:String,attribute:"inline-style"})],e.prototype,"inlineStyle",void 0),h([(0,n.property)({type:Boolean})],e.prototype,"inverted",void 0),h([(0,n.property)({type:String})],e.prototype,"href",void 0),h([(0,n.property)({type:String})],e.prototype,"tag",void 0),h([(0,n.property)({type:String})],e.prototype,"target",void 0),h([(0,n.property)({type:String})],e.prototype,"size",void 0),h([(0,n.property)({type:Number,attribute:"tab-index",reflect:!0})],e.prototype,"tabIndex",null),h([(0,n.property)({type:Boolean})],e.prototype,"autofocus",void 0),h([(0,n.query)(".md-link")],e.prototype,"linkRef",void 0),e=h([(0,s.w)("md-link")],e),t.ELEMENT=e}(o||(o={}))},19239:t=>{t.exports=P},19479:(t,e,i)=>{i.d(e,{AlertBanner:()=>o}),i(96798),i(61200);var o,s=i(31890),r=i(26283),n=i(26272),a=i(41488),l=i(40333),d=i(17518),h=i(35467),p=function(t,e,i,o){var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){let e=class extends a.LitElement{constructor(){super(...arguments),this.type="",this.titleText="",this.message="",this.closable=!1,this.show=!1,this.closeAriaLabel="Close Banner",this.showBannerTypeIcon=!1,this.showRefreshButton=!1,this.alignment="center"}connectedCallback(){super.connectedCallback(),this.requestUpdate("show")}onHide(){this.show=!this.show,this.dispatchEvent(new CustomEvent("alertBanner-hide")),this.requestUpdate("show")}handleKeyDown(t){const{code:e}=t;(0,r.o)(e)&&this.onHide()}get isLeadingAlignment(){return"leading"===this.alignment}static get styles(){return[n.A,h.A]}getIconForType(){switch(this.type){case"error":return"error-legacy-bold";case"warning":return"warning-bold";case"success":return"check-circle-bold";default:return"info-circle-bold"}}get alertBannerClassMap(){return{"md-alert-banner":!0,[`md-alert-banner--${this.type}`]:this.type,"md-alert-banner--leading":this.isLeadingAlignment||this.titleText,closable:this.closable,"with-title":!!this.titleText}}get alertBannerTextClassMap(){return{"md-alert-banner__text":!0,"md-alert-banner__with-title":!!this.titleText,leading:this.isLeadingAlignment||this.titleText}}get alertBannerRightClassMap(){return{trailing:this.isLeadingAlignment||this.titleText}}get closeButtonTemplate(){const t=this.titleText?"close-div with-title":"close-div";return a.html`
|
|
608
608
|
<div class="${t}">
|
|
609
609
|
<md-button
|
|
610
610
|
class="md-alert-banner__close"
|
|
@@ -1613,7 +1613,8 @@
|
|
|
1613
1613
|
</div>
|
|
1614
1614
|
<md-button
|
|
1615
1615
|
color="color-none"
|
|
1616
|
-
|
|
1616
|
+
size="20"
|
|
1617
|
+
class="md-floating__resize md-floating__header-button"
|
|
1617
1618
|
ariaLabel="${this.maximizeIconAriaLabel}"
|
|
1618
1619
|
circle
|
|
1619
1620
|
@click=${this.handleMinimize}
|
|
@@ -1623,7 +1624,8 @@
|
|
|
1623
1624
|
|
|
1624
1625
|
<md-button
|
|
1625
1626
|
color="color-none"
|
|
1626
|
-
|
|
1627
|
+
size="20"
|
|
1628
|
+
class="md-floating__close md-floating__header-button"
|
|
1627
1629
|
aria-label="${this.closeAriaLabel}"
|
|
1628
1630
|
circle
|
|
1629
1631
|
@click=${this.handleClose}
|
|
@@ -1988,16 +1990,18 @@
|
|
|
1988
1990
|
</div>
|
|
1989
1991
|
${this.minimizable?d.html` <md-button
|
|
1990
1992
|
color="color-none"
|
|
1991
|
-
|
|
1993
|
+
size="20"
|
|
1994
|
+
class="md-floating__minimize md-floating__header-button"
|
|
1992
1995
|
ariaLabel="${this.minimizeAriaLabel}"
|
|
1993
1996
|
circle
|
|
1994
1997
|
@click=${this.handleMinimize}
|
|
1995
1998
|
>
|
|
1996
|
-
<md-icon name="minus-bold" size="16" iconSet="momentumDesign"></md-icon>
|
|
1999
|
+
<md-icon name="minus-bold" size="16" iconSet="momentumDesign" ariaHidden="true"></md-icon>
|
|
1997
2000
|
</md-button>`:h.nothing}
|
|
1998
2001
|
${!this.minimize&&this.maximizable?d.html` <md-button
|
|
1999
2002
|
color="color-none"
|
|
2000
|
-
|
|
2003
|
+
size="20"
|
|
2004
|
+
class="md-floating__resize md-floating__header-button"
|
|
2001
2005
|
ariaLabel="${this.full?this.resizeAriaLabel:this.maximizeScreenLabel}"
|
|
2002
2006
|
circle
|
|
2003
2007
|
@click=${this.handleToggleExpandCollapse}
|
|
@@ -2011,7 +2015,8 @@
|
|
|
2011
2015
|
|
|
2012
2016
|
<md-button
|
|
2013
2017
|
color="color-none"
|
|
2014
|
-
|
|
2018
|
+
size="20"
|
|
2019
|
+
class="md-floating__close md-floating__header-button"
|
|
2015
2020
|
ariaLabel="${this.closeAriaLabel}"
|
|
2016
2021
|
circle
|
|
2017
2022
|
@click=${this.handleClose}
|
|
@@ -2352,7 +2357,7 @@
|
|
|
2352
2357
|
<slot></slot>
|
|
2353
2358
|
</label>
|
|
2354
2359
|
</div>
|
|
2355
|
-
`}};h([(0,a.property)({type:Number,reflect:!0})],e.prototype,"tabIndex",void 0),h([(0,a.property)({type:String})],e.prototype,"label",void 0),h([(0,a.property)({type:String})],e.prototype,"value",void 0),h([(0,a.property)({type:String})],e.prototype,"ariaLabel",void 0),h([(0,a.property)({type:Boolean,reflect:!0})],e.prototype,"autofocus",void 0),h([(0,a.property)({type:Boolean,reflect:!0})],e.prototype,"disabled",null),h([(0,a.property)({type:Boolean,reflect:!0})],e.prototype,"checked",void 0),e=h([(0,r.w)("md-radio")],e),t.ELEMENT=e}(o||(o={}))},83192:(t,e,i)=>{i.d(e,{Tooltip:()=>o});var o,s=i(90195),r=i(3001),n=i(31890),a=i(66677),l=i(26272),d=i(41488),h=i(23968),p=i(77251),c=function(t,e,i,o){var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){let e=class extends((0,r.UM)((0,r.yC)(d.LitElement))){constructor(){super(...arguments),this.message="",this.placement="auto",this.disabled=!1,this.opened=!1,this.slotToTooltip=!1,this.slotContent=null,this._keyDownListener=t=>{this.handleKeyDown(t)},this._wheelListener=t=>{this.opened&&this.notifyTooltipDestroy()}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this._keyDownListener),window.addEventListener("wheel",this._wheelListener,{passive:!0})}disconnectedCallback(){this.notifyTooltipDisconnected(),super.disconnectedCallback(),document.removeEventListener("keydown",this._keyDownListener),window.removeEventListener("wheel",this._wheelListener)}handleResize(t){var e;null===(e=super.handleResize)||void 0===e||e.call(this,t),(0,a.sg)(()=>{this.slotToTooltip&&(this.disabled=this.reference&&!this.isContentTruncated(this.reference))},100)()}handleFocusIn(t){super.handleFocusIn&&super.handleFocusIn(t),this.notifyTooltipCreate()}handleFocusOut(t){super.handleFocusOut&&super.handleFocusOut(t),this.notifyTooltipDestroy()}openTooltip(){this.dispatchEvent(new CustomEvent("tooltip-create",{bubbles:!0,composed:!0,detail:Object.assign({placement:this.placement,reference:this.reference,popper:this.popper},!this.message&&{slotContent:this.slotContent})}))}notifyTooltipDisconnected(){document.dispatchEvent(new CustomEvent("tooltip-disconnected",{bubbles:!0,composed:!0,detail:{}}))}closeTooltip(){this.dispatchEvent(new CustomEvent("tooltip-destroy",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper}}))}changeMessage(){this.dispatchEvent(new CustomEvent("tooltip-message",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper}}))}changeSlotContent(t){this.dispatchEvent(new CustomEvent("tooltip-slot",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper,slotContent:t}}))}notifyTooltipCreate(){this.disabled
|
|
2360
|
+
`}};h([(0,a.property)({type:Number,reflect:!0})],e.prototype,"tabIndex",void 0),h([(0,a.property)({type:String})],e.prototype,"label",void 0),h([(0,a.property)({type:String})],e.prototype,"value",void 0),h([(0,a.property)({type:String})],e.prototype,"ariaLabel",void 0),h([(0,a.property)({type:Boolean,reflect:!0})],e.prototype,"autofocus",void 0),h([(0,a.property)({type:Boolean,reflect:!0})],e.prototype,"disabled",null),h([(0,a.property)({type:Boolean,reflect:!0})],e.prototype,"checked",void 0),e=h([(0,r.w)("md-radio")],e),t.ELEMENT=e}(o||(o={}))},83192:(t,e,i)=>{i.d(e,{Tooltip:()=>o});var o,s=i(90195),r=i(3001),n=i(31890),a=i(66677),l=i(26272),d=i(41488),h=i(23968),p=i(77251),c=function(t,e,i,o){var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){let e=class extends((0,r.UM)((0,r.yC)(d.LitElement))){constructor(){super(...arguments),this.message="",this.placement="auto",this.disabled=!1,this.opened=!1,this.slotToTooltip=!1,this.slotContent=null,this._keyDownListener=t=>{this.handleKeyDown(t)},this._wheelListener=t=>{this.opened&&this.notifyTooltipDestroy()}}hasMessage(){return this.message&&this.message.trim().length>0}hasSlotContent(){return this.slotContent&&this.slotContent.length>0}get hasTooltipContent(){return this.hasMessage()||this.hasSlotContent()}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this._keyDownListener),window.addEventListener("wheel",this._wheelListener,{passive:!0})}disconnectedCallback(){this.notifyTooltipDisconnected(),super.disconnectedCallback(),document.removeEventListener("keydown",this._keyDownListener),window.removeEventListener("wheel",this._wheelListener)}handleResize(t){var e;null===(e=super.handleResize)||void 0===e||e.call(this,t),(0,a.sg)(()=>{this.slotToTooltip&&(this.disabled=this.reference&&!this.isContentTruncated(this.reference))},100)()}handleFocusIn(t){super.handleFocusIn&&super.handleFocusIn(t),this.notifyTooltipCreate()}handleFocusOut(t){super.handleFocusOut&&super.handleFocusOut(t),this.notifyTooltipDestroy()}openTooltip(){this.dispatchEvent(new CustomEvent("tooltip-create",{bubbles:!0,composed:!0,detail:Object.assign({placement:this.placement,reference:this.reference,popper:this.popper},!this.message&&{slotContent:this.slotContent})}))}notifyTooltipDisconnected(){document.dispatchEvent(new CustomEvent("tooltip-disconnected",{bubbles:!0,composed:!0,detail:{}}))}closeTooltip(){this.dispatchEvent(new CustomEvent("tooltip-destroy",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper}}))}changeMessage(){this.dispatchEvent(new CustomEvent("tooltip-message",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper}}))}changeSlotContent(t){this.dispatchEvent(new CustomEvent("tooltip-slot",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper,slotContent:t}}))}notifyTooltipCreate(){!this.disabled&&this.hasTooltipContent&&(this.opened=!0)}notifyTooltipDestroy(){this.disabled||(this.opened=!1)}handleKeyDown(t){t.code===s.Uz.Escape&&this.notifyTooltipDestroy()}handleSlotContentChange(t){const e=t.target;if(e){const t=e.assignedElements({flatten:!0});t.length&&(this.slotContent&&this.changeSlotContent(t),this.slotContent=t)}}updated(t){super.updated(t),t.has("opened")&&(this.opened?this.openTooltip():this.closeTooltip()),t.has("message")&&this.changeMessage(),t.has("disabled")&&this.opened&&(this.opened=!1)}handleSlotChanged(t){const e=t.target;if(this.slotToTooltip&&e){const t=e.assignedNodes({flatten:!0}).map(t=>t.textContent).join(" ").trim();this.message=t,this.disabled=this.reference&&!this.isContentTruncated(this.reference)}}isContentTruncated(t){return t.scrollWidth>t.clientWidth}get tooltipClassMap(){return{"md-tooltip--disabled":this.disabled}}render(){return d.html`
|
|
2356
2361
|
<div class="md-tooltip ${(0,h.classMap)(this.tooltipClassMap)}">
|
|
2357
2362
|
<div class="md-tooltip__popper" role="tooltip" part="tooltip-popper">
|
|
2358
2363
|
<div id="md-tooltip__content" class="md-tooltip__content" part="tooltip-content">
|
|
@@ -2746,14 +2751,14 @@
|
|
|
2746
2751
|
</div>
|
|
2747
2752
|
${this.messagesTemplate()} ${this.secondaryLabelTemplate()} ${this.helpTextTemplate()}
|
|
2748
2753
|
</div>
|
|
2749
|
-
`}};y([(0,l.property)({type:String})],i.prototype,"ariaDescribedBy",void 0),y([(0,l.property)({type:String,reflect:!0})],i.prototype,"ariaInvalid",void 0),y([(0,l.property)({type:String})],i.prototype,"ariaLabel",void 0),y([(0,l.property)({type:Boolean,reflect:!0})],i.prototype,"autofocus",void 0),y([(0,l.property)({type:String})],i.prototype,"auxiliaryContentPosition",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"clear",void 0),y([(0,l.property)({type:String})],i.prototype,"clearAriaLabel",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"compact",void 0),y([(0,l.property)({type:String})],i.prototype,"containerSize",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"disabled",void 0),y([(0,l.property)({type:String})],i.prototype,"id",void 0),y([(0,l.property)({type:String})],i.prototype,"inputSize",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"isFilled",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"isLoading",void 0),y([(0,l.property)({type:String})],i.prototype,"label",void 0),y([(0,l.property)({type:String})],i.prototype,"helpText",void 0),y([(0,l.property)({type:Boolean,attribute:"hide-message",reflect:!0})],i.prototype,"hideMessage",void 0),y([(0,l.property)({type:String})],i.prototype,"htmlId",void 0),y([(0,l.property)({type:String})],i.prototype,"role",void 0),y([(0,l.property)({type:Array})],i.prototype,"messageArr",void 0),y([(0,l.property)({type:Number,reflect:!0})],i.prototype,"min",void 0),y([(0,l.property)({type:Number,reflect:!0})],i.prototype,"max",void 0),y([(0,l.property)({type:Number})],i.prototype,"maxLength",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"multi",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"multiline",void 0),y([(0,l.property)({type:String,reflect:!0})],i.prototype,"name",void 0),y([(0,l.property)({type:Number})],i.prototype,"nestedLevel",void 0),y([(0,l.property)({type:String})],i.prototype,"placeholder",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"readOnly",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"required",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"searchable",void 0),y([(0,l.property)({type:String})],i.prototype,"secondaryLabel",void 0),y([(0,l.property)({type:Boolean,attribute:"select-when-in-focus"})],i.prototype,"selectWhenInFocus",void 0),y([(0,l.property)({type:String})],i.prototype,"shape",void 0),y([(0,l.property)({type:String})],i.prototype,"type",void 0),y([(0,l.property)({type:String,reflect:!0})],i.prototype,"value",void 0),y([(0,l.property)({type:String})],i.prototype,"ariaControls",void 0),y([(0,l.property)({type:String})],i.prototype,"ariaExpanded",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"newMomentum",void 0),y([(0,l.property)({type:Object})],i.prototype,"control",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"disableUserTextInput",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"showDropdown",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"dropdownExpanded",void 0),y([(0,l.property)({type:String})],i.prototype,"dropdownAriaLabel",void 0),y([(0,l.query)(".md-input")],i.prototype,"input",void 0),y([(0,l.internalProperty)()],i.prototype,"isEditing",void 0),y([(0,l.query)('slot[name="input-section-right"]')],i.prototype,"inputSectionRightSlot",void 0),y([(0,l.internalProperty)()],i.prototype,"hasRightSlotContent",void 0),i=y([(0,r.w)("md-input")],i),t.ELEMENT=i}(o||(o={}))},96798:(t,e,i)=>{i.d(e,{Button:()=>o});var o,s=i(73940),r=(i(12176),i(31890)),n=i(26283),a=i(26272),l=i(41488),d=i(40333),h=i(23968),p=i(97822),c=i(11740),u=function(t,e,i,o){var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){let e=class extends l.LitElement{constructor(){super(...arguments),this._active=!1,this._tabIndex=0,this.ariaLabel="",this.ariaLabelledBy="",this.ariaLive="",this.ariaExpanded="",this.ariaHaspopup="false",this.ariaPressed="",this.circle=!1,this.rounded=!1,this.color="",this.containerLarge=!1,this.disabled=!1,this.href="",this.id="",this.value="",this.keyboardKey="",this.label="",this.loading=!1,this.outline=!1,this.hasRemoveStyle=!1,this.size="32",this.tag="button",this.type="button",this.role="button",this.variant="secondary",this.width="",this.maxWidth="",this.activityType="",this.iconActive=!1,this.isActive=!1,this.renderWidth=()=>this.width?`width: ${this.width};`:d.nothing,this.renderMaxWidth=()=>this.maxWidth?`max-width: ${this.maxWidth};`:d.nothing,this.getStyles=()=>{if(this.width||this.maxWidth)return l.html`
|
|
2754
|
+
`}};y([(0,l.property)({type:String})],i.prototype,"ariaDescribedBy",void 0),y([(0,l.property)({type:String,reflect:!0})],i.prototype,"ariaInvalid",void 0),y([(0,l.property)({type:String})],i.prototype,"ariaLabel",void 0),y([(0,l.property)({type:Boolean,reflect:!0})],i.prototype,"autofocus",void 0),y([(0,l.property)({type:String})],i.prototype,"auxiliaryContentPosition",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"clear",void 0),y([(0,l.property)({type:String})],i.prototype,"clearAriaLabel",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"compact",void 0),y([(0,l.property)({type:String})],i.prototype,"containerSize",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"disabled",void 0),y([(0,l.property)({type:String})],i.prototype,"id",void 0),y([(0,l.property)({type:String})],i.prototype,"inputSize",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"isFilled",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"isLoading",void 0),y([(0,l.property)({type:String})],i.prototype,"label",void 0),y([(0,l.property)({type:String})],i.prototype,"helpText",void 0),y([(0,l.property)({type:Boolean,attribute:"hide-message",reflect:!0})],i.prototype,"hideMessage",void 0),y([(0,l.property)({type:String})],i.prototype,"htmlId",void 0),y([(0,l.property)({type:String})],i.prototype,"role",void 0),y([(0,l.property)({type:Array})],i.prototype,"messageArr",void 0),y([(0,l.property)({type:Number,reflect:!0})],i.prototype,"min",void 0),y([(0,l.property)({type:Number,reflect:!0})],i.prototype,"max",void 0),y([(0,l.property)({type:Number})],i.prototype,"maxLength",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"multi",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"multiline",void 0),y([(0,l.property)({type:String,reflect:!0})],i.prototype,"name",void 0),y([(0,l.property)({type:Number})],i.prototype,"nestedLevel",void 0),y([(0,l.property)({type:String})],i.prototype,"placeholder",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"readOnly",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"required",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"searchable",void 0),y([(0,l.property)({type:String})],i.prototype,"secondaryLabel",void 0),y([(0,l.property)({type:Boolean,attribute:"select-when-in-focus"})],i.prototype,"selectWhenInFocus",void 0),y([(0,l.property)({type:String})],i.prototype,"shape",void 0),y([(0,l.property)({type:String})],i.prototype,"type",void 0),y([(0,l.property)({type:String,reflect:!0})],i.prototype,"value",void 0),y([(0,l.property)({type:String})],i.prototype,"ariaControls",void 0),y([(0,l.property)({type:String})],i.prototype,"ariaExpanded",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"newMomentum",void 0),y([(0,l.property)({type:Object})],i.prototype,"control",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"disableUserTextInput",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"showDropdown",void 0),y([(0,l.property)({type:Boolean})],i.prototype,"dropdownExpanded",void 0),y([(0,l.property)({type:String})],i.prototype,"dropdownAriaLabel",void 0),y([(0,l.query)(".md-input")],i.prototype,"input",void 0),y([(0,l.internalProperty)()],i.prototype,"isEditing",void 0),y([(0,l.query)('slot[name="input-section-right"]')],i.prototype,"inputSectionRightSlot",void 0),y([(0,l.internalProperty)()],i.prototype,"hasRightSlotContent",void 0),i=y([(0,r.w)("md-input")],i),t.ELEMENT=i}(o||(o={}))},96798:(t,e,i)=>{i.d(e,{Button:()=>o});var o,s=i(73940),r=(i(12176),i(31890)),n=i(26283),a=i(26272),l=i(41488),d=i(40333),h=i(23968),p=i(97822),c=i(11740),u=function(t,e,i,o){var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){let e=class extends l.LitElement{constructor(){super(...arguments),this._active=!1,this._tabIndex=0,this.ariaLabel="",this.ariaLabelledBy="",this.ariaLive="",this.ariaExpanded="",this.ariaHaspopup="false",this.ariaPressed="",this.circle=!1,this.rounded=!1,this.color="",this.containerLarge=!1,this.disabled=!1,this.href="",this.id="",this.value="",this.keyboardKey="",this.label="",this.loading=!1,this.outline=!1,this.hasRemoveStyle=!1,this.size="32",this.tag="button",this.type="button",this.role="button",this.variant="secondary",this.width="",this.maxWidth="",this.activityType="",this.iconActive=!1,this.isActive=!1,this.autofocus=!1,this.renderWidth=()=>this.width?`width: ${this.width};`:d.nothing,this.renderMaxWidth=()=>this.maxWidth?`max-width: ${this.maxWidth};`:d.nothing,this.getStyles=()=>{if(this.width||this.maxWidth)return l.html`
|
|
2750
2755
|
<style>
|
|
2751
2756
|
:host .md-button--${this.size} {
|
|
2752
2757
|
${this.renderWidth()};
|
|
2753
2758
|
${this.renderMaxWidth()};
|
|
2754
2759
|
}
|
|
2755
2760
|
</style>
|
|
2756
|
-
`},this.iconTemplate=()=>this.loading?l.html` <md-spinner size="16"></md-spinner> `:l.html` <slot name="icon"></slot> `,this.textTemplate=()=>this.circle&&this.hasIcon?d.nothing:l.html` <slot name="text"></slot> `}get active(){return this._active}set active(t){const e=this._active;this._active=t,this.requestUpdate("active",e)}get tabIndex(){return this._tabIndex}set tabIndex(t){const e=this._tabIndex;this._tabIndex=t,this.requestUpdate("tabIndex",e)}handleKeyDown(t){if(this.disabled)return;const{code:e}=t;(0,n.o)(e)&&this.dispatchEvent(new CustomEvent("button-keydown",{composed:!0,bubbles:!0,detail:{srcEvent:t}}))}handleClick(t){var e;this.disabled||(null===(e=this.clickFunction)||void 0===e||e.call(this),this.dispatchEvent(new CustomEvent("button-click",{composed:!0,bubbles:!0,detail:{srcEvent:t}})))}static get styles(){return[a.A,c.A,s.A]}get buttonClassMap(){return{"md-button--circle":this.circle,"md-button--rounded":this.rounded,"md-button--none":this.hasRemoveStyle,"md-button--outline":this.outline,active:this.active&&!this.disabled,disabled:this.disabled&&!this.active,isActive:this.isActive,[`md-button--${this.size}`]:!this.hasRemoveStyle,[`md-button--${this.color}`]:!this.hasRemoveStyle&&!!this.color,[`md-activity__${this.activityType}`]:!!this.activityType,"md-activity":!!this.activityType,"md-button--icon":this.iconActive,"md-button--onlyicon":this.hasIcon&&!this.slottedText,"md-button--placeholder-text":!0===this.isPlaceholderText}}get slottedText(){var t;return null===(t=this.querySelector("[slot=text]"))||void 0===t?void 0:t.textContent}get hasIcon(){return null!==this.querySelector("[slot=icon]")||this.loading}childrenTemplate(){return l.html`
|
|
2761
|
+
`},this.iconTemplate=()=>this.loading?l.html` <md-spinner size="16"></md-spinner> `:l.html` <slot name="icon"></slot> `,this.textTemplate=()=>this.circle&&this.hasIcon?d.nothing:l.html` <slot name="text"></slot> `}get active(){return this._active}set active(t){const e=this._active;this._active=t,this.requestUpdate("active",e)}get tabIndex(){return this._tabIndex}set tabIndex(t){const e=this._tabIndex;this._tabIndex=t,this.requestUpdate("tabIndex",e)}firstUpdated(t){super.firstUpdated(t),this.autofocus&&requestAnimationFrame(()=>{this.manageAutoFocus()})}manageAutoFocus(t=this){t.focus()}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}blur(){var t;null===(t=this.button)||void 0===t||t.blur()}handleKeyDown(t){if(this.disabled)return;const{code:e}=t;(0,n.o)(e)&&this.dispatchEvent(new CustomEvent("button-keydown",{composed:!0,bubbles:!0,detail:{srcEvent:t}}))}handleClick(t){var e;this.disabled||(null===(e=this.clickFunction)||void 0===e||e.call(this),this.dispatchEvent(new CustomEvent("button-click",{composed:!0,bubbles:!0,detail:{srcEvent:t}})))}static get styles(){return[a.A,c.A,s.A]}get buttonClassMap(){return{"md-button--circle":this.circle,"md-button--rounded":this.rounded,"md-button--none":this.hasRemoveStyle,"md-button--outline":this.outline,active:this.active&&!this.disabled,disabled:this.disabled&&!this.active,isActive:this.isActive,[`md-button--${this.size}`]:!this.hasRemoveStyle,[`md-button--${this.color}`]:!this.hasRemoveStyle&&!!this.color,[`md-activity__${this.activityType}`]:!!this.activityType,"md-activity":!!this.activityType,"md-button--icon":this.iconActive,"md-button--onlyicon":this.hasIcon&&!this.slottedText,"md-button--placeholder-text":!0===this.isPlaceholderText}}get slottedText(){var t;return null===(t=this.querySelector("[slot=text]"))||void 0===t?void 0:t.textContent}get hasIcon(){return null!==this.querySelector("[slot=icon]")||this.loading}childrenTemplate(){return l.html`
|
|
2757
2762
|
<span part="button-children" class="md-button__children">
|
|
2758
2763
|
${this.iconTemplate()} ${this.textTemplate()}
|
|
2759
2764
|
<slot></slot>
|
|
@@ -2824,7 +2829,7 @@
|
|
|
2824
2829
|
<div part="button-label" class="md-button__label">${this.label}</div>
|
|
2825
2830
|
</div>
|
|
2826
2831
|
`:l.html` ${this.buttonTemplate(this.tag)} `}
|
|
2827
|
-
`}};u([(0,l.property)({type:Boolean,reflect:!0})],e.prototype,"active",null),u([(0,l.property)({type:Number,attribute:"tab-index",reflect:!0})],e.prototype,"tabIndex",null),u([(0,l.property)({type:String})],e.prototype,"ariaLabel",void 0),u([(0,l.property)({type:String})],e.prototype,"ariaLabelledBy",void 0),u([(0,l.property)({type:String})],e.prototype,"ariaLive",void 0),u([(0,l.property)({type:String})],e.prototype,"ariaExpanded",void 0),u([(0,l.property)({type:String})],e.prototype,"ariaHaspopup",void 0),u([(0,l.property)({type:String})],e.prototype,"ariaPressed",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"circle",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"rounded",void 0),u([(0,l.property)({type:String})],e.prototype,"color",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"containerLarge",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"disabled",void 0),u([(0,l.property)({type:String})],e.prototype,"href",void 0),u([(0,l.property)({type:String})],e.prototype,"id",void 0),u([(0,l.property)({type:String})],e.prototype,"value",void 0),u([(0,l.property)({type:String})],e.prototype,"keyboardKey",void 0),u([(0,l.property)({type:String})],e.prototype,"label",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"loading",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"outline",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"hasRemoveStyle",void 0),u([(0,l.property)({type:String})],e.prototype,"size",void 0),u([(0,l.property)({type:String})],e.prototype,"tag",void 0),u([(0,l.property)({type:String})],e.prototype,"type",void 0),u([(0,l.property)({type:String})],e.prototype,"role",void 0),u([(0,l.property)({type:String})],e.prototype,"variant",void 0),u([(0,l.property)({type:String})],e.prototype,"width",void 0),u([(0,l.property)({type:String})],e.prototype,"maxWidth",void 0),u([(0,l.property)({type:String})],e.prototype,"activityType",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"iconActive",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"isActive",void 0),u([(0,l.property)({type:String,attribute:"aria-describedby"})],e.prototype,"ariaDescribedBy",void 0),u([(0,l.property)({attribute:!1})],e.prototype,"clickFunction",void 0),u([(0,l.property)({type:Boolean,attribute:"is-placeholder-text"})],e.prototype,"isPlaceholderText",void 0),u([(0,l.query)(".md-button")],e.prototype,"button",void 0),e=u([(0,r.w)("md-button")],e),t.ELEMENT=e}(o||(o={}))},97737:(t,e,i)=>{i.d(e,{TabPanel:()=>o});var o,s=i(3001),r=i(31890),n=i(26272),a=i(41488),l=i(30076),d=function(t,e,i,o){var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){let e=class extends((0,s.yC)(a.LitElement)){constructor(){super(...arguments),this.selected=!1,this.name="",this.focusablePanel="true"}static get styles(){return[n.A,l.A]}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tabpanel")}firstUpdated(t){super.firstUpdated(t),"true"===this.focusablePanel&&this.setAttribute("tabindex","0")}render(){return a.html` <slot></slot> `}};d([(0,a.property)({type:Boolean,reflect:!0})],e.prototype,"selected",void 0),d([(0,a.property)({type:String,attribute:"name"})],e.prototype,"name",void 0),d([(0,a.property)({type:String,attribute:"focusable-panel"})],e.prototype,"focusablePanel",void 0),e=d([(0,r.w)("md-tab-panel")],e),t.ELEMENT=e}(o||(o={}))},97822:t=>{t.exports=s},97866:(t,e,i)=>{i.d(e,{Form:()=>o});var o,s=i(3001),r=i(41488),n=i(97822),a=function(t,e,i,o){var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){let e=class extends((0,s.TS)(r.LitElement)){constructor(){super(...arguments),this.rel="",this.name="",this.action="",this.label="",this.method="get",this.target="_self",this.enctype="application/x-www-form-urlencoded",this.novalidate=!1,this.charset="UTF-8",this.isvalid=!1,this.token="on",this.allowRedirect=!1,this.autofillname="input-name",this.formElement=[],this.handleSubmit=t=>{t.preventDefault(),this.validated()&&this.submitForm()},this.handleFormSubmit=t=>{this.allowRedirect||t.preventDefault(),this.dispatchEvent(new CustomEvent("form-submitted",{composed:!0,bubbles:!0}))}}get formMethod(){return"GET"===this.method?"get":"POST"===this.method?"post":this.method}isSubmittable(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement}isDisabled(t){return t.hasAttribute("disabled")||"true"===t.getAttribute("aria-disabled")}findSubmittable(t,e){const i=Array.from(t.children);for(const t of i)if(!this.isDisabled(t))if(this.isSubmittable(t)&&e.add(t),t.shadowRoot)this.findSubmittable(t.shadowRoot,e);else if("SLOT"===t.tagName){const i=t.assignedElements();if(i.length){const{parentElement:t}=i[0];t&&this.findSubmittable(t,e)}}else this.findSubmittable(t,e);return[...e]}validated(){return!!this.novalidate||this.isvalid}submitForm(){const{form:t}=this;t.requestSubmit?t.requestSubmit():t.submit()}get submitButton(){return this.querySelector("button[type='submit']")||this.querySelector("input[type='submit']")||this.querySelector("md-button[type='submit']")}disconnectedCallback(){super.disconnectedCallback(),this.cleanupWrappedForms(),this.teardownEvents()}deleteWrappedForm(t){t.removeEventListener("submit",this.handleFormSubmit)}cleanupWrappedForms(){const{formElement:t}=this;if(t.length)for(const e of t)this.deleteWrappedForm(e);this.formElement=[]}createWrappedForm(t){const e=document.createElement("form");e.addEventListener("submit",this.handleFormSubmit);const{parentNode:i}=t;t.autocomplete=this.token,t.id||(t.id=this.autofillname),t.name||(t.name=this.autofillname),i&&(this.formElement.push(e),i.insertBefore(e,t),e.append(t))}teardownEvents(){this.submitButton&&this.submitButton.removeEventListener("click",this.handleSubmit)}setupEvents(){this.submitButton&&this.submitButton.addEventListener("click",this.handleSubmit)}setupSubmittable(){const t=this.findSubmittable(this.form,new Set);if(t.length)for(const e of t)this.createWrappedForm(e)}slottedChanged(){this.setupSubmittable(),this.setupEvents()}render(){return r.html`
|
|
2832
|
+
`}};u([(0,l.property)({type:Boolean,reflect:!0})],e.prototype,"active",null),u([(0,l.property)({type:Number,attribute:"tab-index",reflect:!0})],e.prototype,"tabIndex",null),u([(0,l.property)({type:String})],e.prototype,"ariaLabel",void 0),u([(0,l.property)({type:String})],e.prototype,"ariaLabelledBy",void 0),u([(0,l.property)({type:String})],e.prototype,"ariaLive",void 0),u([(0,l.property)({type:String})],e.prototype,"ariaExpanded",void 0),u([(0,l.property)({type:String})],e.prototype,"ariaHaspopup",void 0),u([(0,l.property)({type:String})],e.prototype,"ariaPressed",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"circle",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"rounded",void 0),u([(0,l.property)({type:String})],e.prototype,"color",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"containerLarge",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"disabled",void 0),u([(0,l.property)({type:String})],e.prototype,"href",void 0),u([(0,l.property)({type:String})],e.prototype,"id",void 0),u([(0,l.property)({type:String})],e.prototype,"value",void 0),u([(0,l.property)({type:String})],e.prototype,"keyboardKey",void 0),u([(0,l.property)({type:String})],e.prototype,"label",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"loading",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"outline",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"hasRemoveStyle",void 0),u([(0,l.property)({type:String})],e.prototype,"size",void 0),u([(0,l.property)({type:String})],e.prototype,"tag",void 0),u([(0,l.property)({type:String})],e.prototype,"type",void 0),u([(0,l.property)({type:String})],e.prototype,"role",void 0),u([(0,l.property)({type:String})],e.prototype,"variant",void 0),u([(0,l.property)({type:String})],e.prototype,"width",void 0),u([(0,l.property)({type:String})],e.prototype,"maxWidth",void 0),u([(0,l.property)({type:String})],e.prototype,"activityType",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"iconActive",void 0),u([(0,l.property)({type:Boolean})],e.prototype,"isActive",void 0),u([(0,l.property)({type:String,attribute:"aria-describedby"})],e.prototype,"ariaDescribedBy",void 0),u([(0,l.property)({attribute:!1})],e.prototype,"clickFunction",void 0),u([(0,l.property)({type:Boolean,attribute:"is-placeholder-text"})],e.prototype,"isPlaceholderText",void 0),u([(0,l.property)({type:Boolean,reflect:!0})],e.prototype,"autofocus",void 0),u([(0,l.query)(".md-button")],e.prototype,"button",void 0),e=u([(0,r.w)("md-button")],e),t.ELEMENT=e}(o||(o={}))},97737:(t,e,i)=>{i.d(e,{TabPanel:()=>o});var o,s=i(3001),r=i(31890),n=i(26272),a=i(41488),l=i(30076),d=function(t,e,i,o){var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){let e=class extends((0,s.yC)(a.LitElement)){constructor(){super(...arguments),this.selected=!1,this.name="",this.focusablePanel="true"}static get styles(){return[n.A,l.A]}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tabpanel")}firstUpdated(t){super.firstUpdated(t),"true"===this.focusablePanel&&this.setAttribute("tabindex","0")}render(){return a.html` <slot></slot> `}};d([(0,a.property)({type:Boolean,reflect:!0})],e.prototype,"selected",void 0),d([(0,a.property)({type:String,attribute:"name"})],e.prototype,"name",void 0),d([(0,a.property)({type:String,attribute:"focusable-panel"})],e.prototype,"focusablePanel",void 0),e=d([(0,r.w)("md-tab-panel")],e),t.ELEMENT=e}(o||(o={}))},97822:t=>{t.exports=s},97866:(t,e,i)=>{i.d(e,{Form:()=>o});var o,s=i(3001),r=i(41488),n=i(97822),a=function(t,e,i,o){var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){let e=class extends((0,s.TS)(r.LitElement)){constructor(){super(...arguments),this.rel="",this.name="",this.action="",this.label="",this.method="get",this.target="_self",this.enctype="application/x-www-form-urlencoded",this.novalidate=!1,this.charset="UTF-8",this.isvalid=!1,this.token="on",this.allowRedirect=!1,this.autofillname="input-name",this.formElement=[],this.handleSubmit=t=>{t.preventDefault(),this.validated()&&this.submitForm()},this.handleFormSubmit=t=>{this.allowRedirect||t.preventDefault(),this.dispatchEvent(new CustomEvent("form-submitted",{composed:!0,bubbles:!0}))}}get formMethod(){return"GET"===this.method?"get":"POST"===this.method?"post":this.method}isSubmittable(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement}isDisabled(t){return t.hasAttribute("disabled")||"true"===t.getAttribute("aria-disabled")}findSubmittable(t,e){const i=Array.from(t.children);for(const t of i)if(!this.isDisabled(t))if(this.isSubmittable(t)&&e.add(t),t.shadowRoot)this.findSubmittable(t.shadowRoot,e);else if("SLOT"===t.tagName){const i=t.assignedElements();if(i.length){const{parentElement:t}=i[0];t&&this.findSubmittable(t,e)}}else this.findSubmittable(t,e);return[...e]}validated(){return!!this.novalidate||this.isvalid}submitForm(){const{form:t}=this;t.requestSubmit?t.requestSubmit():t.submit()}get submitButton(){return this.querySelector("button[type='submit']")||this.querySelector("input[type='submit']")||this.querySelector("md-button[type='submit']")}disconnectedCallback(){super.disconnectedCallback(),this.cleanupWrappedForms(),this.teardownEvents()}deleteWrappedForm(t){t.removeEventListener("submit",this.handleFormSubmit)}cleanupWrappedForms(){const{formElement:t}=this;if(t.length)for(const e of t)this.deleteWrappedForm(e);this.formElement=[]}createWrappedForm(t){const e=document.createElement("form");e.addEventListener("submit",this.handleFormSubmit);const{parentNode:i}=t;t.autocomplete=this.token,t.id||(t.id=this.autofillname),t.name||(t.name=this.autofillname),i&&(this.formElement.push(e),i.insertBefore(e,t),e.append(t))}teardownEvents(){this.submitButton&&this.submitButton.removeEventListener("click",this.handleSubmit)}setupEvents(){this.submitButton&&this.submitButton.addEventListener("click",this.handleSubmit)}setupSubmittable(){const t=this.findSubmittable(this.form,new Set);if(t.length)for(const e of t)this.createWrappedForm(e)}slottedChanged(){this.setupSubmittable(),this.setupEvents()}render(){return r.html`
|
|
2828
2833
|
<form
|
|
2829
2834
|
class="md-form"
|
|
2830
2835
|
role="form"
|
|
@@ -2864,4 +2869,4 @@
|
|
|
2864
2869
|
size="16"
|
|
2865
2870
|
></md-icon>
|
|
2866
2871
|
</label>
|
|
2867
|
-
`}};c([(0,l.property)({type:Boolean})],e.prototype,"disabled",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"checked",void 0),c([(0,l.property)({type:String})],e.prototype,"value",void 0),c([(0,l.property)({type:String})],e.prototype,"id",void 0),c([(0,l.property)({type:String})],e.prototype,"label",void 0),c([(0,l.internalProperty)()],e.prototype,"customId",void 0),e=c([(0,n.w)("md-favorite")],e),t.ELEMENT=e}(o||(o={}))}},j={};function U(t){var e=j[t];if(void 0!==e)return e.exports;var i=j[t]={exports:{}};return N[t].call(i.exports,i,i.exports,U),i.exports}U.m=N,_=[],U.O=(t,e,i,o)=>{if(!e){var s=1/0;for(l=0;l<_.length;l++){for(var[e,i,o]=_[l],r=!0,n=0;n<e.length;n++)(!1&o||s>=o)&&Object.keys(U.O).every(t=>U.O[t](e[n]))?e.splice(n--,1):(r=!1,o<s&&(s=o));if(r){_.splice(l--,1);var a=i();void 0!==a&&(t=a)}}return t}o=o||0;for(var l=_.length;l>0&&_[l-1][2]>o;l--)_[l]=_[l-1];_[l]=[e,i,o]},U.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return U.d(e,{a:e}),e},z=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,U.t=function(t,e){if(1&e&&(t=this(t)),8&e)return t;if("object"==typeof t&&t){if(4&e&&t.__esModule)return t;if(16&e&&"function"==typeof t.then)return t}var i=Object.create(null);U.r(i);var o={};B=B||[null,z({}),z([]),z(z)];for(var s=2&e&&t;("object"==typeof s||"function"==typeof s)&&!~B.indexOf(s);s=z(s))Object.getOwnPropertyNames(s).forEach(e=>o[e]=()=>t[e]);return o.default=()=>t,U.d(i,o),i},U.d=(t,e)=>{for(var i in e)U.o(e,i)&&!U.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},U.f={},U.e=t=>Promise.all(Object.keys(U.f).reduce((e,i)=>(U.f[i](t,e),e),[])),U.u=t=>"chunks/md-"+t+".js",U.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),U.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),F={},V="@momentum-ui/web-components:",U.l=(t,e,i,o)=>{if(F[t])F[t].push(e);else{var s,r;if(void 0!==i)for(var n=document.getElementsByTagName("script"),a=0;a<n.length;a++){var l=n[a];if(l.getAttribute("src")==t||l.getAttribute("data-webpack")==V+i){s=l;break}}s||(r=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,U.nc&&s.setAttribute("nonce",U.nc),s.setAttribute("data-webpack",V+i),s.src=t),F[t]=[e];var d=(e,i)=>{s.onerror=s.onload=null,clearTimeout(h);var o=F[t];if(delete F[t],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach(t=>t(i)),e)return e(i)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),r&&document.head.appendChild(s)}},U.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},U.p="/",(()=>{var t={109:0,144:0,195:0,445:0,502:0,555:0,671:0,762:0,984:0,1037:0,1200:0,1266:0,1323:0,1439:0,1459:0,1462:0,1521:0,1528:0,1682:0,1745:0,1788:0,1807:0,2105:0,2139:0,2169:0,2176:0,2330:0,2434:0,2547:0,2555:0,2576:0,2779:0,2781:0,2909:0,3001:0,3079:0,3192:0,3413:0,3477:0,3539:0,3747:0,3820:0,3938:0,3943:0,4131:0,4139:0,4259:0,4545:0,4908:0,4928:0,4971:0,5156:0,5310:0,5369:0,5382:0,5427:0,5433:0,5517:0,6029:0,6060:0,6085:0,6132:0,6220:0,6396:0,6408:0,6433:0,6494:0,6587:0,6677:0,6724:0,6753:0,6754:0,6798:0,6834:0,6920:0,7119:0,7145:0,7219:0,7455:0,7684:0,7711:0,7719:0,7763:0,7814:0,7927:0,8028:0,8111:0,8115:0,8220:0,8334:0,8339:0,8442:0,8510:0,8654:0,8894:0,9058:0,9237:0};U.f.j=(e,i)=>{var o=U.o(t,e)?t[e]:void 0;if(0!==o)if(o)i.push(o[2]);else{var s=new Promise((i,s)=>o=t[e]=[i,s]);i.push(o[2]=s);var r=U.p+U.u(e),n=new Error;U.l(r,i=>{if(U.o(t,e)&&(0!==(o=t[e])&&(t[e]=void 0),o)){var s=i&&("load"===i.type?"missing":i.type),r=i&&i.target&&i.target.src;n.message="Loading chunk "+e+" failed.\n("+s+": "+r+")",n.name="ChunkLoadError",n.type=s,n.request=r,o[1](n)}},"chunk-"+e,e)}},U.O.j=e=>0===t[e];var e=(e,i)=>{var o,s,[r,n,a]=i,l=0;if(r.some(e=>0!==t[e])){for(o in n)U.o(n,o)&&(U.m[o]=n[o]);if(a)var d=a(U)}for(e&&e(i);l<r.length;l++)s=r[l],U.o(t,s)&&t[s]&&t[s][0](),t[s]=0;return U.O(d)},i=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var q=U.O(void 0,[
|
|
2872
|
+
`}};c([(0,l.property)({type:Boolean})],e.prototype,"disabled",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"checked",void 0),c([(0,l.property)({type:String})],e.prototype,"value",void 0),c([(0,l.property)({type:String})],e.prototype,"id",void 0),c([(0,l.property)({type:String})],e.prototype,"label",void 0),c([(0,l.internalProperty)()],e.prototype,"customId",void 0),e=c([(0,n.w)("md-favorite")],e),t.ELEMENT=e}(o||(o={}))}},j={};function U(t){var e=j[t];if(void 0!==e)return e.exports;var i=j[t]={exports:{}};return N[t].call(i.exports,i,i.exports,U),i.exports}U.m=N,_=[],U.O=(t,e,i,o)=>{if(!e){var s=1/0;for(l=0;l<_.length;l++){for(var[e,i,o]=_[l],r=!0,n=0;n<e.length;n++)(!1&o||s>=o)&&Object.keys(U.O).every(t=>U.O[t](e[n]))?e.splice(n--,1):(r=!1,o<s&&(s=o));if(r){_.splice(l--,1);var a=i();void 0!==a&&(t=a)}}return t}o=o||0;for(var l=_.length;l>0&&_[l-1][2]>o;l--)_[l]=_[l-1];_[l]=[e,i,o]},U.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return U.d(e,{a:e}),e},z=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,U.t=function(t,e){if(1&e&&(t=this(t)),8&e)return t;if("object"==typeof t&&t){if(4&e&&t.__esModule)return t;if(16&e&&"function"==typeof t.then)return t}var i=Object.create(null);U.r(i);var o={};B=B||[null,z({}),z([]),z(z)];for(var s=2&e&&t;("object"==typeof s||"function"==typeof s)&&!~B.indexOf(s);s=z(s))Object.getOwnPropertyNames(s).forEach(e=>o[e]=()=>t[e]);return o.default=()=>t,U.d(i,o),i},U.d=(t,e)=>{for(var i in e)U.o(e,i)&&!U.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},U.f={},U.e=t=>Promise.all(Object.keys(U.f).reduce((e,i)=>(U.f[i](t,e),e),[])),U.u=t=>"chunks/md-"+t+".js",U.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),U.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),F={},V="@momentum-ui/web-components:",U.l=(t,e,i,o)=>{if(F[t])F[t].push(e);else{var s,r;if(void 0!==i)for(var n=document.getElementsByTagName("script"),a=0;a<n.length;a++){var l=n[a];if(l.getAttribute("src")==t||l.getAttribute("data-webpack")==V+i){s=l;break}}s||(r=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,U.nc&&s.setAttribute("nonce",U.nc),s.setAttribute("data-webpack",V+i),s.src=t),F[t]=[e];var d=(e,i)=>{s.onerror=s.onload=null,clearTimeout(h);var o=F[t];if(delete F[t],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach(t=>t(i)),e)return e(i)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),r&&document.head.appendChild(s)}},U.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},U.p="/",(()=>{var t={109:0,144:0,195:0,445:0,502:0,555:0,671:0,762:0,984:0,1037:0,1200:0,1266:0,1323:0,1439:0,1459:0,1462:0,1521:0,1528:0,1682:0,1745:0,1788:0,1807:0,2105:0,2139:0,2169:0,2176:0,2330:0,2434:0,2547:0,2555:0,2576:0,2779:0,2781:0,2909:0,3001:0,3079:0,3192:0,3413:0,3477:0,3539:0,3747:0,3820:0,3938:0,3943:0,4131:0,4139:0,4259:0,4545:0,4908:0,4928:0,4971:0,5156:0,5310:0,5369:0,5382:0,5427:0,5433:0,5517:0,6029:0,6060:0,6085:0,6132:0,6220:0,6396:0,6408:0,6433:0,6494:0,6587:0,6677:0,6724:0,6753:0,6754:0,6798:0,6834:0,6920:0,7119:0,7145:0,7219:0,7455:0,7684:0,7711:0,7719:0,7763:0,7814:0,7927:0,8028:0,8111:0,8115:0,8220:0,8334:0,8339:0,8442:0,8510:0,8654:0,8894:0,9058:0,9237:0};U.f.j=(e,i)=>{var o=U.o(t,e)?t[e]:void 0;if(0!==o)if(o)i.push(o[2]);else{var s=new Promise((i,s)=>o=t[e]=[i,s]);i.push(o[2]=s);var r=U.p+U.u(e),n=new Error;U.l(r,i=>{if(U.o(t,e)&&(0!==(o=t[e])&&(t[e]=void 0),o)){var s=i&&("load"===i.type?"missing":i.type),r=i&&i.target&&i.target.src;n.message="Loading chunk "+e+" failed.\n("+s+": "+r+")",n.name="ChunkLoadError",n.type=s,n.request=r,o[1](n)}},"chunk-"+e,e)}},U.O.j=e=>0===t[e];var e=(e,i)=>{var o,s,[r,n,a]=i,l=0;if(r.some(e=>0!==t[e])){for(o in n)U.o(n,o)&&(U.m[o]=n[o]);if(a)var d=a(U)}for(e&&e(i);l<r.length;l++)s=r[l],U.o(t,s)&&t[s]&&t[s][0](),t[s]=0;return U.O(d)},i=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var q=U.O(void 0,[2237,7103,1890,6272,6325,6283,9217,5830,8889,8210,4977,3135,1598,1572,6366,7251,4974,2243,7919,3553,6877,6700,8004,6795,8923,4548,76,1392,9164,2019,1625,6067,3625,8841,3112,3866,1107,6953,7330,7092,9719,6979,9130,6273,9618,8612,8521,4400,779,573,5801,2043,8171,2798,5467,2984,1869,2215,7997,4392,630,3604,8728,8227,1250,1705,7833,7875,6400,587,6441,6015,3663],()=>U(2864));return U.O(q)})());
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require("./
|
|
1
|
+
require("./2237"),require("./7103"),require("./1890"),require("./6272"),require("./6325"),require("./6283"),require("./9217"),require("./5830"),require("./8889"),require("./8210"),require("./4977"),require("./3135"),require("./1598"),require("./1572"),require("./6366"),require("./7251"),require("./4974"),require("./2243"),require("./7919"),require("./3553"),require("./6877"),require("./6700"),require("./8004"),require("./6795"),require("./8923"),require("./4548"),require("./76"),require("./1392"),require("./9164"),require("./2019"),require("./1625"),require("./6067"),require("./3625"),require("./8841"),require("./3112"),require("./3866"),require("./1107"),require("./6953"),require("./7330"),require("./7092"),require("./9719"),require("./6979"),require("./9130"),require("./6273"),require("./9618"),require("./8612"),require("./8521"),require("./4400"),require("./779"),require("./573"),require("./5801"),require("./2043"),require("./8171"),require("./2798"),require("./5467"),require("./2984"),require("./1869"),require("./2215"),require("./7997"),require("./4392"),require("./630"),require("./3604"),require("./8728"),require("./8227"),require("./1250"),require("./1705"),require("./7833"),require("./7875"),require("./6400"),require("./587"),require("./6441"),require("./6015"),require("./3663"),module.exports=require("./index-entry");
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
*/
|
|
8
8
|
import "@/components/spinner/Spinner";
|
|
9
|
-
import { LitElement } from "lit-element";
|
|
9
|
+
import { LitElement, PropertyValues } from "lit-element";
|
|
10
10
|
export declare const buttonSize: readonly ["20", "24", "28", "32", "36", "40", "44", "52", "56", "72", "68", "84", "size-none", 20, 24, 28, 32, 36, 40, 44, 52, 56, 68, 72, 68, 84];
|
|
11
11
|
export declare const buttonTag: readonly ["button", "input", "a"];
|
|
12
12
|
export declare const buttonType: readonly ["button", "reset", "submit"];
|
|
@@ -100,7 +100,12 @@ export declare namespace Button {
|
|
|
100
100
|
ariaDescribedBy?: string;
|
|
101
101
|
clickFunction?: () => void;
|
|
102
102
|
isPlaceholderText?: boolean;
|
|
103
|
+
autofocus: boolean;
|
|
103
104
|
button: HTMLButtonElement;
|
|
105
|
+
protected firstUpdated(changedProperties: PropertyValues): void;
|
|
106
|
+
manageAutoFocus(element?: HTMLElement): void;
|
|
107
|
+
focus(): void;
|
|
108
|
+
blur(): void;
|
|
104
109
|
renderWidth: () => {};
|
|
105
110
|
renderMaxWidth: () => {};
|
|
106
111
|
getStyles: () => import("lit-element").TemplateResult | undefined;
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
import "@/components/icon/Icon";
|
|
9
9
|
import { LitElement, PropertyValues } from "lit-element";
|
|
10
10
|
export declare namespace Dropdown {
|
|
11
|
-
type OptionMember = {
|
|
11
|
+
export type OptionMember = {
|
|
12
12
|
[key: string]: string;
|
|
13
13
|
};
|
|
14
|
-
type Option = string | OptionMember;
|
|
14
|
+
export type Option = string | OptionMember;
|
|
15
15
|
type RenderOptionMember = {
|
|
16
16
|
key: string;
|
|
17
17
|
value: string;
|
|
@@ -151,4 +151,16 @@ declare global {
|
|
|
151
151
|
interface HTMLElementTagNameMap {
|
|
152
152
|
"md-dropdown": Dropdown.ELEMENT;
|
|
153
153
|
}
|
|
154
|
+
interface HTMLElementEventMap {
|
|
155
|
+
"dropdown-focus-in": CustomEvent<undefined>;
|
|
156
|
+
"dropdown-focus-out": CustomEvent<undefined>;
|
|
157
|
+
"dropdown-selected": CustomEvent<{
|
|
158
|
+
option: Dropdown.Option;
|
|
159
|
+
}>;
|
|
160
|
+
"dropdown-input": CustomEvent<{
|
|
161
|
+
value: string;
|
|
162
|
+
}>;
|
|
163
|
+
"combobox-on-expand": CustomEvent<undefined>;
|
|
164
|
+
"remove-all-selected": CustomEvent<undefined>;
|
|
165
|
+
}
|
|
154
166
|
}
|
|
@@ -83,7 +83,7 @@ export declare namespace Grabber {
|
|
|
83
83
|
};
|
|
84
84
|
private get grabberContainerClassMap();
|
|
85
85
|
private get isRtl();
|
|
86
|
-
get iconName(): "arrow-up-bold" | "arrow-down-bold" | "
|
|
86
|
+
get iconName(): "arrow-up-bold" | "arrow-down-bold" | "arrow-left-bold" | "arrow-right-bold" | "list-menu-bold";
|
|
87
87
|
get iconSize(): "10" | "12";
|
|
88
88
|
render(): import("lit-element").TemplateResult;
|
|
89
89
|
}
|
|
@@ -32,7 +32,14 @@ export declare namespace Link {
|
|
|
32
32
|
private _tabIndex;
|
|
33
33
|
get tabIndex(): number;
|
|
34
34
|
set tabIndex(newValue: number);
|
|
35
|
+
autofocus: boolean;
|
|
36
|
+
linkRef: HTMLElement;
|
|
35
37
|
static get styles(): import("lit-element").CSSResult[];
|
|
38
|
+
firstUpdated(): void;
|
|
39
|
+
focus(): void;
|
|
40
|
+
blur(): void;
|
|
41
|
+
private get linkClassNamesInfo();
|
|
42
|
+
private get linkElement();
|
|
36
43
|
render(): import("lit-element").TemplateResult;
|
|
37
44
|
}
|
|
38
45
|
}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { LitElement, PropertyValues } from "lit-element";
|
|
2
2
|
export declare namespace Slider {
|
|
3
|
+
export interface SliderChangeEventDetail {
|
|
4
|
+
value: number;
|
|
5
|
+
}
|
|
6
|
+
export interface SliderChangingEventDetail {
|
|
7
|
+
oldValue: number;
|
|
8
|
+
newValue: number;
|
|
9
|
+
}
|
|
3
10
|
const ELEMENT_base: typeof LitElement & import("../../mixins/FocusMixin").AnyConstructor<import("../../mixins/FocusMixin").FocusClass>;
|
|
4
11
|
export class ELEMENT extends ELEMENT_base {
|
|
5
12
|
private _disabled;
|
|
@@ -45,4 +52,8 @@ declare global {
|
|
|
45
52
|
interface HTMLElementTagNameMap {
|
|
46
53
|
"md-slider": Slider.ELEMENT;
|
|
47
54
|
}
|
|
55
|
+
interface HTMLElementEventMap {
|
|
56
|
+
"slider-change": CustomEvent<Slider.SliderChangeEventDetail>;
|
|
57
|
+
"slider-changing": CustomEvent<Slider.SliderChangingEventDetail>;
|
|
58
|
+
}
|
|
48
59
|
}
|
|
@@ -30,6 +30,9 @@ export declare namespace Tooltip {
|
|
|
30
30
|
private slotContent;
|
|
31
31
|
private readonly _keyDownListener;
|
|
32
32
|
private readonly _wheelListener;
|
|
33
|
+
private hasMessage;
|
|
34
|
+
private hasSlotContent;
|
|
35
|
+
private get hasTooltipContent();
|
|
33
36
|
connectedCallback(): void;
|
|
34
37
|
disconnectedCallback(): void;
|
|
35
38
|
protected handleResize(contentRect: DOMRect): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@momentum-ui/web-components",
|
|
3
|
-
"version": "2.25.
|
|
3
|
+
"version": "2.25.5",
|
|
4
4
|
"author": "Yana Harris",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/momentum-design/momentum-ui.git",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@interactjs/interact": "1.10.3",
|
|
15
15
|
"@interactjs/modifiers": "1.10.3",
|
|
16
16
|
"@interactjs/utils": "1.10.3",
|
|
17
|
-
"@momentum-design/icons": "0.
|
|
17
|
+
"@momentum-design/icons": "0.35.0",
|
|
18
18
|
"@popperjs/core": "^2.11.8",
|
|
19
19
|
"country-codes-list": "1.6.8",
|
|
20
20
|
"country-flags-svg": "1.1.4",
|