@momentum-ui/web-components 3.2.19 → 3.2.21

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/esm/8687.js CHANGED
@@ -1 +1 @@
1
- export const __webpack_esm_id__=8687;export const __webpack_esm_ids__=[8687];export const __webpack_esm_modules__={8687(t,e,l){l.d(e,{A:()=>g});const g=l(2927).css`.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color)}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:var(--toggle-switch-slider-color)}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--hover)}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label:active .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--pressed,var(--toggle-switch-bg-color--hover))}.md-toggle-switch .md-toggle-switch__input.focus+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:focus+.md-toggle-switch__label .md-toggle-switch__label__container{outline:2px solid var(--md-focus-border-color)}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--checked)}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:var(--toggle-switch-slider-color--checked)}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--checked-hover)}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label:active .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label:active .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--checked-pressed,var(--toggle-switch-bg-color--checked-hover))}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--disabled)}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:var(--toggle-switch-slider-color-disabled)}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label:active .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label:active .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--disabled)}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--disabled--checked)}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:var(--toggle-switch-slider-color-disabled--checked)}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label:active .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label:active .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label:active .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label:active .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--disabled--checked)}.md-toggle-switch__input{margin-left:-9999px;opacity:0;position:absolute}.md-toggle-switch__input.disabled+.md-toggle-switch__label,.md-toggle-switch__input:disabled+.md-toggle-switch__label{cursor:default}.md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container{cursor:default}.md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container{border:none}.md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{left:calc(100% - 2px);transform:translateX(-100%) translateY(-50%)}.md-toggle-switch__accessible-description{display:none}.md-toggle-switch__label{cursor:pointer;display:inline-flex;line-height:.09375rem}.md-toggle-switch__label__container{background-clip:padding-box;border:1px solid var(--toggle-switch-border-color);border-radius:1.5rem;cursor:pointer;display:block;height:1.5rem;margin-right:.75rem;position:relative;transition:background 350ms;width:2.5rem}.md-toggle-switch__label__container__left{margin-right:0;margin-left:.75rem}@media screen and (forced-colors:active){.md-toggle-switch__label__container{filter:brightness(1) contrast(1) saturate(1.5)}}.md-toggle-switch__label__container::after{border-radius:100%;box-shadow:0 1px 2px 0 rgba(0,0,0,.32);content:"";height:1.25rem;left:2px;position:absolute;top:50%;transform:translateY(-50%);transition:350ms;width:1.25rem}.md-toggle-switch--small .md-toggle-switch__label__container{height:1.375rem;width:2.25rem}.md-toggle-switch--small .md-toggle-switch__label__container::after{height:1.125rem;width:1.125rem}.md-toggle-switch--smaller .md-toggle-switch__label__container{height:1.25rem;width:2rem}.md-toggle-switch--smaller .md-toggle-switch__label__container::after{height:1rem;width:1rem}@media(forced-colors:active){.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:Canvas;outline:1px solid CanvasText;transition:background-color 350ms,outline 350ms}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:CanvasText;transition:background-color 350ms}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:HighlightText}.md-toggle-switch .md-toggle-switch__input.focus+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:focus+.md-toggle-switch__label .md-toggle-switch__label__container{outline:2px solid Highlight}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:Highlight}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:HighlightText}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:GrayText;transition:background 350ms,background-color 350ms,outline 350ms}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:Canvas}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:GrayText}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:GrayText}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:CanvasText;border:1px solid Canvas}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:GrayText}}`}};
1
+ export const __webpack_esm_id__=8687;export const __webpack_esm_ids__=[8687];export const __webpack_esm_modules__={8687(t,e,l){l.d(e,{A:()=>g});const g=l(2927).css`.md-toggle-switch .md-toggle-switch__input:focus,.md-toggle-switch .md-toggle-switch__input:focus-visible{outline:0}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color)}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:var(--toggle-switch-slider-color)}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--hover)}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label:active .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--pressed,var(--toggle-switch-bg-color--hover))}.md-toggle-switch .md-toggle-switch__input.focus+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:focus-visible+.md-toggle-switch__label .md-toggle-switch__label__container{outline:0;box-shadow:0 0 0 .125rem var(--md-focus-inner-color),0 0 0 .25rem var(--md-focus-middle-color),0 0 0 .3125rem var(--md-focus-outer-color)}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--checked)}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:var(--toggle-switch-slider-color--checked)}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--checked-hover)}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label:active .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label:active .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--checked-pressed,var(--toggle-switch-bg-color--checked-hover))}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--disabled)}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:var(--toggle-switch-slider-color-disabled)}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label:active .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label:active .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--disabled)}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--disabled--checked)}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:var(--toggle-switch-slider-color-disabled--checked)}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label:active .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label:active .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label:active .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label:active .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:var(--toggle-switch-bg-color--disabled--checked)}.md-toggle-switch__input{margin-left:-9999px;opacity:0;position:absolute}.md-toggle-switch__input.disabled+.md-toggle-switch__label,.md-toggle-switch__input:disabled+.md-toggle-switch__label{cursor:default}.md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container{cursor:default}.md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container{border:none}.md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{left:calc(100% - 2px);transform:translateX(-100%) translateY(-50%)}.md-toggle-switch__accessible-description{display:none}.md-toggle-switch__label{cursor:pointer;display:inline-flex;line-height:.09375rem}.md-toggle-switch__label__container{background-clip:padding-box;border:1px solid var(--toggle-switch-border-color);border-radius:1.5rem;cursor:pointer;display:block;height:1.5rem;margin-right:.75rem;position:relative;transition:background 350ms;width:2.5rem}.md-toggle-switch__label__container__left{margin-right:0;margin-left:.75rem}@media screen and (forced-colors:active){.md-toggle-switch__label__container{filter:brightness(1) contrast(1) saturate(1.5)}}.md-toggle-switch__label__container::after{border-radius:100%;box-shadow:0 1px 2px 0 rgba(0,0,0,.32);content:"";height:1.25rem;left:2px;position:absolute;top:50%;transform:translateY(-50%);transition:350ms;width:1.25rem}.md-toggle-switch--small .md-toggle-switch__label__container{height:1.375rem;width:2.25rem}.md-toggle-switch--small .md-toggle-switch__label__container::after{height:1.125rem;width:1.125rem}.md-toggle-switch--smaller .md-toggle-switch__label__container{height:1.25rem;width:2rem}.md-toggle-switch--smaller .md-toggle-switch__label__container::after{height:1rem;width:1rem}@media(forced-colors:active){.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:Canvas;outline:1px solid CanvasText;transition:background-color 350ms,outline 350ms}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:CanvasText;transition:background-color 350ms}.md-toggle-switch .md-toggle-switch__input+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:HighlightText}.md-toggle-switch .md-toggle-switch__input.focus+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:focus+.md-toggle-switch__label .md-toggle-switch__label__container{outline:2px solid Highlight}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:Highlight}.md-toggle-switch .md-toggle-switch__input.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:HighlightText}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:GrayText;transition:background 350ms,background-color 350ms,outline 350ms}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:Canvas}.md-toggle-switch .md-toggle-switch__input.disabled+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:GrayText}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container{background-color:GrayText}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label .md-toggle-switch__label__container::after,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label .md-toggle-switch__label__container::after{background-color:CanvasText;border:1px solid Canvas}.md-toggle-switch .md-toggle-switch__input.disabled.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input.disabled:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled.checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container,.md-toggle-switch .md-toggle-switch__input:disabled:checked+.md-toggle-switch__label:hover .md-toggle-switch__label__container{background-color:GrayText}}`}};
@@ -1,4 +1,4 @@
1
- var t,e,i={4882(t,e,i){i.d(e,{IF:()=>o,eE:()=>m,vg:()=>y}),i(5983),i(2583),i(1821);var o,r=i(9609),s=i(4084),a=i(2927),n=i(8899),l=i(4955),p=i(7137),d=function(t,e,i,o){var r,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(a=(s<3?r(a):s>3?r(e,i,a):r(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};!function(t){t.CRITICAL="critical",t.MEDIUM="medium"}(o||(o={}));const h={[o.CRITICAL]:{icon:"flag-filled",color:"negative"},[o.MEDIUM]:{icon:"warning-filled",color:"warning"}},c={dismiss:"Dismiss",justNow:"Just now",minutesAgo:t=>`${t} ${1===t?"min":"mins"} ago`,hoursAgo:t=>`${t} ${1===t?"hour":"hours"} ago`,daysAgo:t=>`${t} ${1===t?"day":"days"} ago`};var m,y;!function(t){t.POSITIVE="positive",t.NEGATIVE="negative",t.NEUTRAL="neutral"}(m||(m={})),function(t){let e=class extends a.LitElement{constructor(){super(...arguments),this.severity="",this.category="",this.secondaryChip="",this.timestamp="",this.title="",this.queueName="",this.details=[],this.insight="",this.primaryActionLabel="Click",this.primaryActionDropdown=!1,this.detailsHeading="",this.showDismiss=!1,this.expanded=!1,this.relativeTime=""}static get styles(){return[s.A,p.A]}get normalizedSeverity(){var t;const e=(null!==(t=this.severity)&&void 0!==t?t:"").toLowerCase();return Object.values(o).includes(e)?e:void 0}get severityIcon(){return this.normalizedSeverity?h[this.normalizedSeverity].icon:"plus-circle-filled"}get severityColor(){return this.normalizedSeverity?h[this.normalizedSeverity].color:"neutral"}get hasInsight(){var t;return(null!==(t=this.insight)&&void 0!==t?t:"").trim().length>0}get detailRows(){return Array.isArray(this.details)?this.details:[]}get resolvedLocale(){return t=this.constructor.locale,Object.assign(Object.assign(Object.assign({},c),t),{dismiss:null!==(e=null==t?void 0:t.dismiss)&&void 0!==e?e:c.dismiss});var t,e}updateRelativeTime(){this.timestamp&&(this.relativeTime=this.formatRelativeTime(this.timestamp))}startTimer(){this.stopTimer(),this.timestamp&&(this.updateRelativeTime(),this.timerInterval=setInterval(()=>this.updateRelativeTime(),6e4))}stopTimer(){this.timerInterval&&(clearInterval(this.timerInterval),this.timerInterval=void 0)}willUpdate(t){t.has("timestamp")&&this.startTimer()}disconnectedCallback(){super.disconnectedCallback(),this.stopTimer()}formatRelativeTime(t){const e=this.resolvedLocale,i=Date.now(),o="number"==typeof t?t:new Date(t).getTime();if(isNaN(o))return"";const r=i-o;if(r<0)return e.justNow;const s=Math.floor(r/6e4);if(s<1)return e.justNow;if(s<60)return e.minutesAgo(s);const a=Math.floor(s/60);if(a<24)return e.hoursAgo(a);const n=Math.floor(a/24);return e.daysAgo(n)}handlePrimaryAction(){this.dispatchEvent(new CustomEvent("primary-action-clicked",{bubbles:!0,composed:!0}))}handleDismiss(){this.dispatchEvent(new CustomEvent("dismiss-clicked",{bubbles:!0,composed:!0}))}renderTimestamp(){return this.relativeTime?a.html`<span class="md-card-alert-timestamp">${this.relativeTime}</span>`:a.nothing}renderHeader(){return this.severity||this.category||this.timestamp?a.html`
1
+ var t,e,i={4882(t,e,i){i.d(e,{IF:()=>o,eE:()=>m,vg:()=>y}),i(5983),i(2583),i(1821);var o,r=i(9609),s=i(4084),a=i(2927),n=i(8899),l=i(4955),p=i(7137),d=function(t,e,i,o){var r,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(a=(s<3?r(a):s>3?r(e,i,a):r(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};!function(t){t.CRITICAL="critical",t.MEDIUM="medium"}(o||(o={}));const h={[o.CRITICAL]:{icon:"flag-filled",color:"negative"},[o.MEDIUM]:{icon:"warning-filled",color:"warning"}},c={dismiss:"Dismiss",justNow:"Just now",minutesAgo:t=>`${t} ${1===t?"min":"mins"} ago`,hoursAgo:t=>`${t} ${1===t?"hour":"hours"} ago`,daysAgo:t=>`${t} ${1===t?"day":"days"} ago`};var m,y;!function(t){t.POSITIVE="positive",t.NEGATIVE="negative",t.NEUTRAL="neutral"}(m||(m={})),function(t){let e=class extends a.LitElement{constructor(){super(...arguments),this.severity="",this.category="",this.secondaryChip="",this.timestamp="",this.title="",this.queueName="",this.details=[],this.insight="",this.primaryActionLabel="",this.primaryActionDropdown=!1,this.detailsHeading="",this.showDismiss=!1,this.expanded=!1,this.relativeTime=""}static get styles(){return[s.A,p.A]}get normalizedSeverity(){var t;const e=(null!==(t=this.severity)&&void 0!==t?t:"").toLowerCase();return Object.values(o).includes(e)?e:void 0}get severityIcon(){return this.normalizedSeverity?h[this.normalizedSeverity].icon:"plus-circle-filled"}get severityColor(){return this.normalizedSeverity?h[this.normalizedSeverity].color:"neutral"}get hasInsight(){var t;return(null!==(t=this.insight)&&void 0!==t?t:"").trim().length>0}get detailRows(){return Array.isArray(this.details)?this.details:[]}get resolvedLocale(){return t=this.constructor.locale,Object.assign(Object.assign(Object.assign({},c),t),{dismiss:null!==(e=null==t?void 0:t.dismiss)&&void 0!==e?e:c.dismiss});var t,e}updateRelativeTime(){this.timestamp&&(this.relativeTime=this.formatRelativeTime(this.timestamp))}startTimer(){this.stopTimer(),this.timestamp&&(this.updateRelativeTime(),this.timerInterval=setInterval(()=>this.updateRelativeTime(),6e4))}stopTimer(){this.timerInterval&&(clearInterval(this.timerInterval),this.timerInterval=void 0)}willUpdate(t){t.has("timestamp")&&this.startTimer()}disconnectedCallback(){super.disconnectedCallback(),this.stopTimer()}formatRelativeTime(t){const e=this.resolvedLocale,i=Date.now(),o="number"==typeof t?t:new Date(t).getTime();if(isNaN(o))return"";const r=i-o;if(r<0)return e.justNow;const s=Math.floor(r/6e4);if(s<1)return e.justNow;if(s<60)return e.minutesAgo(s);const a=Math.floor(s/60);if(a<24)return e.hoursAgo(a);const n=Math.floor(a/24);return e.daysAgo(n)}handlePrimaryAction(){this.dispatchEvent(new CustomEvent("primary-action-clicked",{bubbles:!0,composed:!0}))}handleDismiss(){this.dispatchEvent(new CustomEvent("dismiss-clicked",{bubbles:!0,composed:!0}))}renderTimestamp(){return this.relativeTime?a.html`<span class="md-card-alert-timestamp">${this.relativeTime}</span>`:a.nothing}renderHeader(){return this.severity||this.category||this.timestamp?a.html`
2
2
  <div class="md-card-alert-header">
3
3
  <div class="md-card-alert-chips">
4
4
  <md-chip color=${this.severityColor} value=${this.category} small>
@@ -48,20 +48,22 @@ var t,e,i={4882(t,e,i){i.d(e,{IF:()=>o,eE:()=>m,vg:()=>y}),i(5983),i(2583),i(182
48
48
  </div>
49
49
  `:a.nothing}renderActions(){const t=this.resolvedLocale.dismiss;return a.html`
50
50
  <div class="md-card-alert-actions">
51
- <md-button
52
- size="32"
53
- variant="secondary"
54
- class="md-card-alert-primary-action"
55
- ariaLabel=${this.primaryActionLabel}
56
- @click=${this.handlePrimaryAction}
57
- >
58
- <span slot="text">${this.primaryActionLabel}</span>
59
- ${this.primaryActionDropdown?a.html`<md-icon
60
- name=${this.expanded?"arrow-up-bold":"arrow-down-bold"}
61
- size="12"
62
- iconSet="momentumDesign"
63
- ></md-icon>`:a.nothing}
64
- </md-button>
51
+ ${this.primaryActionLabel?a.html`
52
+ <md-button
53
+ size="32"
54
+ variant="secondary"
55
+ class="md-card-alert-primary-action"
56
+ ariaLabel=${this.primaryActionLabel}
57
+ @click=${this.handlePrimaryAction}
58
+ >
59
+ <span slot="text">${this.primaryActionLabel}</span>
60
+ ${this.primaryActionDropdown?a.html`<md-icon
61
+ name=${this.expanded?"arrow-up-bold":"arrow-down-bold"}
62
+ size="12"
63
+ iconSet="momentumDesign"
64
+ ></md-icon>`:a.nothing}
65
+ </md-button>
66
+ `:a.nothing}
65
67
  ${this.showDismiss?a.html`
66
68
  <md-button
67
69
  size="32"
@@ -83,7 +85,7 @@ var t,e,i={4882(t,e,i){i.d(e,{IF:()=>o,eE:()=>m,vg:()=>y}),i(5983),i(2583),i(182
83
85
  ${this.renderHeader()} ${this.renderTitleSection()} ${this.renderDetails()} ${this.renderInsight()}
84
86
  ${this.renderActions()}
85
87
  </div>
86
- `}};e.locale=Object.assign({},c),d([(0,n.property)({type:String})],e.prototype,"severity",void 0),d([(0,n.property)({type:String})],e.prototype,"category",void 0),d([(0,n.property)({type:String})],e.prototype,"secondaryChip",void 0),d([(0,n.property)({type:String})],e.prototype,"timestamp",void 0),d([(0,n.property)({type:String})],e.prototype,"title",void 0),d([(0,n.property)({type:String})],e.prototype,"queueName",void 0),d([(0,n.property)({type:Array})],e.prototype,"details",void 0),d([(0,n.property)({type:String})],e.prototype,"insight",void 0),d([(0,n.property)({type:String})],e.prototype,"primaryActionLabel",void 0),d([(0,n.property)({type:Boolean})],e.prototype,"primaryActionDropdown",void 0),d([(0,n.property)({type:String})],e.prototype,"detailsHeading",void 0),d([(0,n.property)({type:Boolean})],e.prototype,"showDismiss",void 0),d([(0,n.property)({type:Boolean})],e.prototype,"expanded",void 0),d([(0,n.state)()],e.prototype,"relativeTime",void 0),e=d([(0,r.w)("md-card-alert")],e),t.ELEMENT=e}(y||(y={}))},2583(t,e,i){i(2708),i(9613);var o,r=i(2900),s=i(9609),a=i(4084),n=i(2927),l=i(8899),p=i(4955),d=i(3517),h=i(9558),c=function(t,e,i,o){var r,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(a=(s<3?r(a):s>3?r(e,i,a):r(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};!function(t){let e=class extends n.LitElement{constructor(){super(...arguments),this.color="",this.bgColor="",this.textColor="",this.height="",this.icon="",this.iconColor="",this.iconSize="",this.role="group",this.id="",this.small=!1,this.readonly=!1,this.selected=!1,this.disabled=!1,this.determinateProgress=0,this.indeterminateProgress=!1,this.tooltipText="",this.tooltipPlacement="auto",this.iconSet="momentumUI",this.suppressDefaultMaxWidth=!1,this.decorative=!1,this.shouldTruncateValue=!0,this.value="",this.textOverflow=!1,this.renderedText="",this.MAXWIDTH=115,this.selectionChange=t=>{this.dispatchEvent(new CustomEvent("chip-selected",{composed:!0,bubbles:!0,detail:{selected:t}}))},this.handleClear=t=>{this.dispatchEvent(new CustomEvent("chip-deleted",{composed:!0,bubbles:!0,detail:{id:t}}))},this.handleSelect=()=>{this.disabled||(this.selected=!0,this.selectionChange(!0))},this.handleDeSelect=()=>{this.selected=!1,this.selectionChange(!1)},this.renderBgColor=()=>this.bgColor?`background-color: ${this.bgColor};`:n.nothing,this.renderTextColor=()=>this.textColor?`color: ${this.textColor};`:n.nothing,this.renderHeight=()=>this.height?`height: ${this.height};`:n.nothing,this.getStyles=()=>this.bgColor||this.textColor||this.height?n.html`
88
+ `}};e.locale=Object.assign({},c),d([(0,n.property)({type:String})],e.prototype,"severity",void 0),d([(0,n.property)({type:String})],e.prototype,"category",void 0),d([(0,n.property)({type:String})],e.prototype,"secondaryChip",void 0),d([(0,n.property)({type:String})],e.prototype,"timestamp",void 0),d([(0,n.property)({type:String})],e.prototype,"title",void 0),d([(0,n.property)({type:String})],e.prototype,"queueName",void 0),d([(0,n.property)({type:Array})],e.prototype,"details",void 0),d([(0,n.property)({type:String})],e.prototype,"insight",void 0),d([(0,n.property)({type:String})],e.prototype,"primaryActionLabel",void 0),d([(0,n.property)({type:Boolean})],e.prototype,"primaryActionDropdown",void 0),d([(0,n.property)({type:String})],e.prototype,"detailsHeading",void 0),d([(0,n.property)({type:Boolean})],e.prototype,"showDismiss",void 0),d([(0,n.property)({type:Boolean})],e.prototype,"expanded",void 0),d([(0,n.state)()],e.prototype,"relativeTime",void 0),e=d([(0,r.w)("md-card-alert")],e),t.ELEMENT=e}(y||(y={}))},2583(t,e,i){i(2708),i(9613);var o,r=i(2900),s=i(9609),a=i(4084),n=i(2927),l=i(8899),p=i(4955),d=i(3517),h=i(9558),c=function(t,e,i,o){var r,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(a=(s<3?r(a):s>3?r(e,i,a):r(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};!function(t){let e=class extends n.LitElement{constructor(){super(...arguments),this.color="",this.bgColor="",this.textColor="",this.height="",this.icon="",this.iconColor="",this.iconSize="",this.role="group",this.id="",this.small=!1,this.readonly=!1,this.selected=!1,this.disabled=!1,this.determinateProgress=0,this.indeterminateProgress=!1,this.tooltipText="",this.tooltipPlacement="auto",this.iconSet="momentumUI",this.suppressDefaultMaxWidth=!1,this.decorative=!1,this.shouldTruncateValue=!0,this.focusable=!0,this.value="",this.textOverflow=!1,this.renderedText="",this.MAXWIDTH=115,this.selectionChange=t=>{this.dispatchEvent(new CustomEvent("chip-selected",{composed:!0,bubbles:!0,detail:{selected:t}}))},this.handleClear=t=>{this.dispatchEvent(new CustomEvent("chip-deleted",{composed:!0,bubbles:!0,detail:{id:t}}))},this.handleSelect=()=>{this.disabled||(this.selected=!0,this.selectionChange(!0))},this.handleDeSelect=()=>{this.selected=!1,this.selectionChange(!1)},this.renderBgColor=()=>this.bgColor?`background-color: ${this.bgColor};`:n.nothing,this.renderTextColor=()=>this.textColor?`color: ${this.textColor};`:n.nothing,this.renderHeight=()=>this.height?`height: ${this.height};`:n.nothing,this.getStyles=()=>this.bgColor||this.textColor||this.height?n.html`
87
89
  <style>
88
90
  :host .md-chip {
89
91
  ${this.renderBgColor()};
@@ -121,7 +123,7 @@ var t,e,i={4882(t,e,i){i.d(e,{IF:()=>o,eE:()=>m,vg:()=>y}),i(5983),i(2583),i(182
121
123
  >
122
124
  <span
123
125
  role=${(0,d.ifDefined)(this.decorative?void 0:"button")}
124
- tabindex="0"
126
+ tabindex=${(0,d.ifDefined)(this.focusable?"0":void 0)}
125
127
  class="md-chip ${(0,p.classMap)(t)}"
126
128
  part="chip"
127
129
  aria-pressed=${(0,d.ifDefined)(e)}
@@ -134,4 +136,4 @@ var t,e,i={4882(t,e,i){i.d(e,{IF:()=>o,eE:()=>m,vg:()=>y}),i(5983),i(2583),i(182
134
136
  <slot name="custom-right-content" part="chip-right"> </slot>
135
137
  </span>
136
138
  </md-tooltip>
137
- `}};c([(0,l.property)({type:String})],e.prototype,"color",void 0),c([(0,l.property)({type:String})],e.prototype,"bgColor",void 0),c([(0,l.property)({type:String})],e.prototype,"textColor",void 0),c([(0,l.property)({type:String})],e.prototype,"height",void 0),c([(0,l.property)({type:String})],e.prototype,"icon",void 0),c([(0,l.property)({type:String})],e.prototype,"iconColor",void 0),c([(0,l.property)({type:String})],e.prototype,"iconSize",void 0),c([(0,l.property)({type:String})],e.prototype,"role",void 0),c([(0,l.property)({type:String,reflect:!0})],e.prototype,"id",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"small",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"readonly",void 0),c([(0,l.property)({type:Boolean,reflect:!0})],e.prototype,"selected",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"disabled",void 0),c([(0,l.property)({type:Number})],e.prototype,"determinateProgress",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"indeterminateProgress",void 0),c([(0,l.property)({type:String})],e.prototype,"tooltipText",void 0),c([(0,l.property)({type:String})],e.prototype,"tooltipPlacement",void 0),c([(0,l.property)({type:String})],e.prototype,"iconSet",void 0),c([(0,l.property)({type:Boolean,attribute:"suppress-default-max-width"})],e.prototype,"suppressDefaultMaxWidth",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"decorative",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"shouldTruncateValue",void 0),c([(0,l.property)({type:String,hasChanged:(t,e)=>t!==e})],e.prototype,"value",void 0),c([(0,l.state)({hasChanged:(t,e)=>t!==e})],e.prototype,"textOverflow",void 0),c([(0,l.state)()],e.prototype,"renderedText",void 0),e=c([(0,s.w)("md-chip")],e),t.ELEMENT=e}(o||(o={}))}},o={};function r(t){var e=o[t];if(void 0!==e)return e.exports;var s=o[t]={exports:{}};return i[t](s,s.exports,r),s.exports}r.m=i,t=[],r.O=(e,i,o,s)=>{if(!i){var a=1/0;for(d=0;d<t.length;d++){for(var[i,o,s]=t[d],n=!0,l=0;l<i.length;l++)(!1&s||a>=s)&&Object.keys(r.O).every(t=>r.O[t](i[l]))?i.splice(l--,1):(n=!1,s<a&&(a=s));if(n){t.splice(d--,1);var p=o();void 0!==p&&(e=p)}}return e}s=s||0;for(var d=t.length;d>0&&t[d-1][2]>s;d--)t[d]=t[d-1];t[d]=[i,o,s]},r.d=(t,e)=>{for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{r as __webpack_require__};e={2583:0,8619:0},r.C=t=>{var i,o,{__webpack_esm_ids__:s,__webpack_esm_modules__:a,__webpack_esm_runtime__:n}=t,l=0;for(i in a)r.o(a,i)&&(r.m[i]=a[i]);for(n&&n(r);l<s.length;l++)o=s[l],r.o(e,o)&&e[o]&&e[o][0](),e[s[l]]=0;r.O()},r.O.j=t=>0===e[t];import*as s from"../9609.js";r.C(s);import*as a from"../4084.js";r.C(a);import*as n from"../4955.js";r.C(n);import*as l from"../3517.js";r.C(l);import*as p from"../1156.js";r.C(p);import*as d from"../3305.js";r.C(d);import*as h from"../4739.js";r.C(h);import*as c from"../7154.js";r.C(c);import*as m from"../9773.js";r.C(m);import*as y from"../5983.js";r.C(y);import*as v from"../7755.js";r.C(v);import*as u from"../1821.js";r.C(u);import*as g from"../2364.js";r.C(g);import*as f from"../4980.js";r.C(f);import*as C from"../5308.js";r.C(C);import*as b from"../9938.js";r.C(b);import*as T from"../9500.js";r.C(T);import*as $ from"../4781.js";r.C($);import*as x from"../5584.js";r.C(x);import*as w from"../8227.js";r.C(w);import*as S from"../2900.js";r.C(S);import*as j from"../2050.js";r.C(j);import*as A from"../1280.js";r.C(A);import*as D from"../6343.js";r.C(D);import*as I from"../7582.js";r.C(I);import*as E from"../9613.js";r.C(E);import*as O from"../5323.js";r.C(O);import*as M from"../6631.js";r.C(M);import*as P from"../9558.js";r.C(P);import*as k from"../2708.js";r.C(k);import*as R from"../7137.js";r.C(R);var _=r.O(void 0,[9609,4084,4955,3517,1156,3305,4739,7154,9773,5983,7755,1821,2364,4980,5308,9938,9500,4781,5584,8227,2900,2050,1280,6343,7582,9613,5323,6631,9558,2708,7137],()=>r(4882));const L=(_=r.O(_)).vg,z=_.eE,N=_.IF;export{L as CardAlert,z as CardAlertDetailImpact,N as CardAlertSeverity};
139
+ `}};c([(0,l.property)({type:String})],e.prototype,"color",void 0),c([(0,l.property)({type:String})],e.prototype,"bgColor",void 0),c([(0,l.property)({type:String})],e.prototype,"textColor",void 0),c([(0,l.property)({type:String})],e.prototype,"height",void 0),c([(0,l.property)({type:String})],e.prototype,"icon",void 0),c([(0,l.property)({type:String})],e.prototype,"iconColor",void 0),c([(0,l.property)({type:String})],e.prototype,"iconSize",void 0),c([(0,l.property)({type:String})],e.prototype,"role",void 0),c([(0,l.property)({type:String,reflect:!0})],e.prototype,"id",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"small",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"readonly",void 0),c([(0,l.property)({type:Boolean,reflect:!0})],e.prototype,"selected",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"disabled",void 0),c([(0,l.property)({type:Number})],e.prototype,"determinateProgress",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"indeterminateProgress",void 0),c([(0,l.property)({type:String})],e.prototype,"tooltipText",void 0),c([(0,l.property)({type:String})],e.prototype,"tooltipPlacement",void 0),c([(0,l.property)({type:String})],e.prototype,"iconSet",void 0),c([(0,l.property)({type:Boolean,attribute:"suppress-default-max-width"})],e.prototype,"suppressDefaultMaxWidth",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"decorative",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"shouldTruncateValue",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"focusable",void 0),c([(0,l.property)({type:String,hasChanged:(t,e)=>t!==e})],e.prototype,"value",void 0),c([(0,l.state)({hasChanged:(t,e)=>t!==e})],e.prototype,"textOverflow",void 0),c([(0,l.state)()],e.prototype,"renderedText",void 0),e=c([(0,s.w)("md-chip")],e),t.ELEMENT=e}(o||(o={}))}},o={};function r(t){var e=o[t];if(void 0!==e)return e.exports;var s=o[t]={exports:{}};return i[t](s,s.exports,r),s.exports}r.m=i,t=[],r.O=(e,i,o,s)=>{if(!i){var a=1/0;for(d=0;d<t.length;d++){for(var[i,o,s]=t[d],n=!0,l=0;l<i.length;l++)(!1&s||a>=s)&&Object.keys(r.O).every(t=>r.O[t](i[l]))?i.splice(l--,1):(n=!1,s<a&&(a=s));if(n){t.splice(d--,1);var p=o();void 0!==p&&(e=p)}}return e}s=s||0;for(var d=t.length;d>0&&t[d-1][2]>s;d--)t[d]=t[d-1];t[d]=[i,o,s]},r.d=(t,e)=>{for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{r as __webpack_require__};e={2583:0,8619:0},r.C=t=>{var i,o,{__webpack_esm_ids__:s,__webpack_esm_modules__:a,__webpack_esm_runtime__:n}=t,l=0;for(i in a)r.o(a,i)&&(r.m[i]=a[i]);for(n&&n(r);l<s.length;l++)o=s[l],r.o(e,o)&&e[o]&&e[o][0](),e[s[l]]=0;r.O()},r.O.j=t=>0===e[t];import*as s from"../9609.js";r.C(s);import*as a from"../4084.js";r.C(a);import*as n from"../4955.js";r.C(n);import*as l from"../3517.js";r.C(l);import*as p from"../1156.js";r.C(p);import*as d from"../3305.js";r.C(d);import*as h from"../4739.js";r.C(h);import*as c from"../7154.js";r.C(c);import*as m from"../9773.js";r.C(m);import*as y from"../5983.js";r.C(y);import*as u from"../7755.js";r.C(u);import*as v from"../1821.js";r.C(v);import*as g from"../2364.js";r.C(g);import*as f from"../4980.js";r.C(f);import*as C from"../5308.js";r.C(C);import*as b from"../9938.js";r.C(b);import*as $ from"../9500.js";r.C($);import*as T from"../4781.js";r.C(T);import*as x from"../5584.js";r.C(x);import*as w from"../8227.js";r.C(w);import*as S from"../2900.js";r.C(S);import*as j from"../2050.js";r.C(j);import*as A from"../1280.js";r.C(A);import*as D from"../6343.js";r.C(D);import*as I from"../7582.js";r.C(I);import*as E from"../9613.js";r.C(E);import*as O from"../5323.js";r.C(O);import*as M from"../6631.js";r.C(M);import*as P from"../9558.js";r.C(P);import*as k from"../2708.js";r.C(k);import*as L from"../7137.js";r.C(L);var R=r.O(void 0,[9609,4084,4955,3517,1156,3305,4739,7154,9773,5983,7755,1821,2364,4980,5308,9938,9500,4781,5584,8227,2900,2050,1280,6343,7582,9613,5323,6631,9558,2708,7137],()=>r(4882));const _=(R=r.O(R)).vg,z=R.eE,N=R.IF;export{_ as CardAlert,z as CardAlertDetailImpact,N as CardAlertSeverity};
@@ -14,4 +14,4 @@ var e,t,r={6436(e,t,r){r.d(t,{b:()=>i}),r(5983);var i,o=r(7704),a=r(4084),n=r(65
14
14
  @change=${e=>this.handleFile(e)}
15
15
  />
16
16
  </div>
17
- `}};f([(0,p.property)({type:String,attribute:"accept-language"})],t.prototype,"acceptLanguage",void 0),f([(0,p.property)({type:String})],t.prototype,"getLocalization",void 0),f([(0,p.query)("input[type='file']")],t.prototype,"input",void 0),f([(0,p.state)()],t.prototype,"acceptTypes",void 0),f([(0,p.state)()],t.prototype,"fileName",void 0),t=f([(0,o.wW)("md-input-file")],t),e.ELEMENT=t}(i||(i={}))},2364(e,t,r){new WeakMap},7704(e,t,r){r.d(t,{wW:()=>i.w}),r(2364),r(3203),r(9938),r(5201),r(4781),r(608);var i=r(9609)}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var a=i[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,e=[],o.O=(t,r,i,a)=>{if(!r){var n=1/0;for(l=0;l<e.length;l++){for(var[r,i,a]=e[l],s=!0,p=0;p<r.length;p++)(!1&a||n>=a)&&Object.keys(o.O).every(e=>o.O[e](r[p]))?r.splice(p--,1):(s=!1,a<n&&(n=a));if(s){e.splice(l--,1);var c=i();void 0!==c&&(t=c)}}return t}a=a||0;for(var l=e.length;l>0&&e[l-1][2]>a;l--)e[l]=e[l-1];e[l]=[r,i,a]},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);export{o as __webpack_require__};t={561:0,2364:0,2942:0,5323:0,7032:0,7704:0,8180:0,9983:0},o.C=e=>{var r,i,{__webpack_esm_ids__:a,__webpack_esm_modules__:n,__webpack_esm_runtime__:s}=e,p=0;for(r in n)o.o(n,r)&&(o.m[r]=n[r]);for(s&&s(o);p<a.length;p++)i=a[p],o.o(t,i)&&t[i]&&t[i][0](),t[a[p]]=0;o.O()},o.O.j=e=>0===t[e];import*as a from"../9609.js";o.C(a);import*as n from"../4084.js";o.C(n);import*as s from"../4955.js";o.C(s);import*as p from"../3517.js";o.C(p);import*as c from"../1156.js";o.C(c);import*as l from"../3305.js";o.C(l);import*as f from"../4739.js";o.C(f);import*as u from"../7154.js";o.C(u);import*as m from"../9773.js";o.C(m);import*as g from"../5983.js";o.C(g);import*as d from"../5308.js";o.C(d);import*as h from"../9938.js";o.C(h);import*as y from"../4781.js";o.C(y);import*as v from"../5201.js";o.C(v);import*as j from"../8227.js";o.C(j);import*as b from"../2900.js";o.C(b);import*as C from"../1280.js";o.C(C);import*as _ from"../3203.js";o.C(_);import*as L from"../3051.js";o.C(L);var w=o.O(void 0,[9609,4084,4955,3517,1156,3305,4739,7154,9773,5983,5308,9938,4781,5201,8227,2900,1280,3203,3051],()=>o(6436));const O=(w=o.O(w)).b;export{O as InputFile};
17
+ `}};f([(0,p.property)({type:String,attribute:"accept-language"})],t.prototype,"acceptLanguage",void 0),f([(0,p.property)({type:String})],t.prototype,"getLocalization",void 0),f([(0,p.query)("input[type='file']")],t.prototype,"input",void 0),f([(0,p.state)()],t.prototype,"acceptTypes",void 0),f([(0,p.state)()],t.prototype,"fileName",void 0),t=f([(0,o.wW)("md-input-file")],t),e.ELEMENT=t}(i||(i={}))},2364(){new WeakMap},7704(e,t,r){r.d(t,{wW:()=>i.w}),r(2364),r(3203),r(9938),r(5201),r(4781),r(608);var i=r(9609)}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var a=i[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,e=[],o.O=(t,r,i,a)=>{if(!r){var n=1/0;for(l=0;l<e.length;l++){for(var[r,i,a]=e[l],s=!0,p=0;p<r.length;p++)(!1&a||n>=a)&&Object.keys(o.O).every(e=>o.O[e](r[p]))?r.splice(p--,1):(s=!1,a<n&&(n=a));if(s){e.splice(l--,1);var c=i();void 0!==c&&(t=c)}}return t}a=a||0;for(var l=e.length;l>0&&e[l-1][2]>a;l--)e[l]=e[l-1];e[l]=[r,i,a]},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);export{o as __webpack_require__};t={561:0,2364:0,2942:0,5323:0,7032:0,7704:0,8180:0,9983:0},o.C=e=>{var r,i,{__webpack_esm_ids__:a,__webpack_esm_modules__:n,__webpack_esm_runtime__:s}=e,p=0;for(r in n)o.o(n,r)&&(o.m[r]=n[r]);for(s&&s(o);p<a.length;p++)i=a[p],o.o(t,i)&&t[i]&&t[i][0](),t[a[p]]=0;o.O()},o.O.j=e=>0===t[e];import*as a from"../9609.js";o.C(a);import*as n from"../4084.js";o.C(n);import*as s from"../4955.js";o.C(s);import*as p from"../3517.js";o.C(p);import*as c from"../1156.js";o.C(c);import*as l from"../3305.js";o.C(l);import*as f from"../4739.js";o.C(f);import*as u from"../7154.js";o.C(u);import*as m from"../9773.js";o.C(m);import*as g from"../5983.js";o.C(g);import*as d from"../5308.js";o.C(d);import*as h from"../9938.js";o.C(h);import*as y from"../4781.js";o.C(y);import*as v from"../5201.js";o.C(v);import*as j from"../8227.js";o.C(j);import*as b from"../2900.js";o.C(b);import*as C from"../1280.js";o.C(C);import*as _ from"../3203.js";o.C(_);import*as L from"../3051.js";o.C(L);var w=o.O(void 0,[9609,4084,4955,3517,1156,3305,4739,7154,9773,5983,5308,9938,4781,5201,8227,2900,1280,3203,3051],()=>o(6436));const O=(w=o.O(w)).b;export{O as InputFile};
@@ -17,7 +17,7 @@ var t,e,i={7936(t,e,i){i.d(e,{v:()=>v}),i(5983),i(1821),i(708);var o=i(9609),s=i
17
17
  </div>
18
18
  `}ariaSortOrder(t){return"ascending"===t||"descending"===t?t:"none"}renderHead(){let t=a.nothing;const e=this.COLS.reduce((t,e)=>!!e.group||t,!1);if(e){let e="";t=a.html`
19
19
  ${this.COLS.map(t=>t.group?e!=t.group.name?(e=t.group.name,a.html` <colgroup span=${t.group.length}></colgroup> `):void 0:a.html` <col /> `)}
20
- <tr tabindex="0">
20
+ <tr>
21
21
  ${this.COLS.map(t=>t.group?e!=t.group.name?(e=t.group.name,a.html`
22
22
  <th colspan=${t.group.length} scope="colgroup" title="${t.group.name}">
23
23
  <div class="head-inner-cell">
@@ -28,7 +28,7 @@ var t,e,i={7936(t,e,i){i.d(e,{v:()=>v}),i(5983),i(1821),i(708);var o=i(9609),s=i
28
28
  `):void 0:this.renderCol(t,2))}
29
29
  </tr>
30
30
  `}const i=a.html`
31
- <tr tabindex="0">
31
+ <tr>
32
32
  ${this.COLS.map(t=>e?t.group?this.renderCol(t):void 0:this.renderCol(t))}
33
33
  </tr>
34
34
  `;return a.html`
@@ -542,7 +542,7 @@ import*as t from"luxon";var e,i,o={3701(t,e,i){i.d(e,{n:()=>o});var o,s=i(2900),
542
542
  ${this.renderHeader()}
543
543
  <div class="content-margin">${this.renderCardText()} ${this.renderFooter()}</div>
544
544
  </div>
545
- `}};p([(0,l.property)({type:String})],e.prototype,"id",void 0),p([(0,l.property)({type:String})],e.prototype,"title",void 0),p([(0,l.property)({type:String})],e.prototype,"cardText",void 0),p([(0,l.property)({type:String})],e.prototype,"timestamp",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"summariseMoreVisible",void 0),p([(0,l.property)({type:String})],e.prototype,"variant",void 0),p([(0,l.state)()],e.prototype,"copyChecked",void 0),p([(0,l.state)()],e.prototype,"thumbsUpChecked",void 0),p([(0,l.state)()],e.prototype,"thumbsDownChecked",void 0),e=p([(0,a.w)("md-card-ai")],e),t.ELEMENT=e}(s||(s={}))},4882(t,e,i){i.d(e,{vg:()=>m}),i(5983),i(2583),i(1821);var o,s=i(9609),a=i(4084),r=i(2927),n=i(8899),l=i(4955),d=i(7137),h=function(t,e,i,o){var s,a=arguments.length,r=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(r=(a<3?s(r):a>3?s(e,i,r):s(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.CRITICAL="critical",t.MEDIUM="medium"}(o||(o={}));const p={[o.CRITICAL]:{icon:"flag-filled",color:"negative"},[o.MEDIUM]:{icon:"warning-filled",color:"warning"}},c={dismiss:"Dismiss",justNow:"Just now",minutesAgo:t=>`${t} ${1===t?"min":"mins"} ago`,hoursAgo:t=>`${t} ${1===t?"hour":"hours"} ago`,daysAgo:t=>`${t} ${1===t?"day":"days"} ago`};var u,m;!function(t){t.POSITIVE="positive",t.NEGATIVE="negative",t.NEUTRAL="neutral"}(u||(u={})),function(t){let e=class extends r.LitElement{constructor(){super(...arguments),this.severity="",this.category="",this.secondaryChip="",this.timestamp="",this.title="",this.queueName="",this.details=[],this.insight="",this.primaryActionLabel="Click",this.primaryActionDropdown=!1,this.detailsHeading="",this.showDismiss=!1,this.expanded=!1,this.relativeTime=""}static get styles(){return[a.A,d.A]}get normalizedSeverity(){var t;const e=(null!==(t=this.severity)&&void 0!==t?t:"").toLowerCase();return Object.values(o).includes(e)?e:void 0}get severityIcon(){return this.normalizedSeverity?p[this.normalizedSeverity].icon:"plus-circle-filled"}get severityColor(){return this.normalizedSeverity?p[this.normalizedSeverity].color:"neutral"}get hasInsight(){var t;return(null!==(t=this.insight)&&void 0!==t?t:"").trim().length>0}get detailRows(){return Array.isArray(this.details)?this.details:[]}get resolvedLocale(){return t=this.constructor.locale,Object.assign(Object.assign(Object.assign({},c),t),{dismiss:null!==(e=null==t?void 0:t.dismiss)&&void 0!==e?e:c.dismiss});var t,e}updateRelativeTime(){this.timestamp&&(this.relativeTime=this.formatRelativeTime(this.timestamp))}startTimer(){this.stopTimer(),this.timestamp&&(this.updateRelativeTime(),this.timerInterval=setInterval(()=>this.updateRelativeTime(),6e4))}stopTimer(){this.timerInterval&&(clearInterval(this.timerInterval),this.timerInterval=void 0)}willUpdate(t){t.has("timestamp")&&this.startTimer()}disconnectedCallback(){super.disconnectedCallback(),this.stopTimer()}formatRelativeTime(t){const e=this.resolvedLocale,i=Date.now(),o="number"==typeof t?t:new Date(t).getTime();if(isNaN(o))return"";const s=i-o;if(s<0)return e.justNow;const a=Math.floor(s/6e4);if(a<1)return e.justNow;if(a<60)return e.minutesAgo(a);const r=Math.floor(a/60);if(r<24)return e.hoursAgo(r);const n=Math.floor(r/24);return e.daysAgo(n)}handlePrimaryAction(){this.dispatchEvent(new CustomEvent("primary-action-clicked",{bubbles:!0,composed:!0}))}handleDismiss(){this.dispatchEvent(new CustomEvent("dismiss-clicked",{bubbles:!0,composed:!0}))}renderTimestamp(){return this.relativeTime?r.html`<span class="md-card-alert-timestamp">${this.relativeTime}</span>`:r.nothing}renderHeader(){return this.severity||this.category||this.timestamp?r.html`
545
+ `}};p([(0,l.property)({type:String})],e.prototype,"id",void 0),p([(0,l.property)({type:String})],e.prototype,"title",void 0),p([(0,l.property)({type:String})],e.prototype,"cardText",void 0),p([(0,l.property)({type:String})],e.prototype,"timestamp",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"summariseMoreVisible",void 0),p([(0,l.property)({type:String})],e.prototype,"variant",void 0),p([(0,l.state)()],e.prototype,"copyChecked",void 0),p([(0,l.state)()],e.prototype,"thumbsUpChecked",void 0),p([(0,l.state)()],e.prototype,"thumbsDownChecked",void 0),e=p([(0,a.w)("md-card-ai")],e),t.ELEMENT=e}(s||(s={}))},4882(t,e,i){i.d(e,{vg:()=>m}),i(5983),i(2583),i(1821);var o,s=i(9609),a=i(4084),r=i(2927),n=i(8899),l=i(4955),d=i(7137),h=function(t,e,i,o){var s,a=arguments.length,r=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(r=(a<3?s(r):a>3?s(e,i,r):s(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.CRITICAL="critical",t.MEDIUM="medium"}(o||(o={}));const p={[o.CRITICAL]:{icon:"flag-filled",color:"negative"},[o.MEDIUM]:{icon:"warning-filled",color:"warning"}},c={dismiss:"Dismiss",justNow:"Just now",minutesAgo:t=>`${t} ${1===t?"min":"mins"} ago`,hoursAgo:t=>`${t} ${1===t?"hour":"hours"} ago`,daysAgo:t=>`${t} ${1===t?"day":"days"} ago`};var u,m;!function(t){t.POSITIVE="positive",t.NEGATIVE="negative",t.NEUTRAL="neutral"}(u||(u={})),function(t){let e=class extends r.LitElement{constructor(){super(...arguments),this.severity="",this.category="",this.secondaryChip="",this.timestamp="",this.title="",this.queueName="",this.details=[],this.insight="",this.primaryActionLabel="",this.primaryActionDropdown=!1,this.detailsHeading="",this.showDismiss=!1,this.expanded=!1,this.relativeTime=""}static get styles(){return[a.A,d.A]}get normalizedSeverity(){var t;const e=(null!==(t=this.severity)&&void 0!==t?t:"").toLowerCase();return Object.values(o).includes(e)?e:void 0}get severityIcon(){return this.normalizedSeverity?p[this.normalizedSeverity].icon:"plus-circle-filled"}get severityColor(){return this.normalizedSeverity?p[this.normalizedSeverity].color:"neutral"}get hasInsight(){var t;return(null!==(t=this.insight)&&void 0!==t?t:"").trim().length>0}get detailRows(){return Array.isArray(this.details)?this.details:[]}get resolvedLocale(){return t=this.constructor.locale,Object.assign(Object.assign(Object.assign({},c),t),{dismiss:null!==(e=null==t?void 0:t.dismiss)&&void 0!==e?e:c.dismiss});var t,e}updateRelativeTime(){this.timestamp&&(this.relativeTime=this.formatRelativeTime(this.timestamp))}startTimer(){this.stopTimer(),this.timestamp&&(this.updateRelativeTime(),this.timerInterval=setInterval(()=>this.updateRelativeTime(),6e4))}stopTimer(){this.timerInterval&&(clearInterval(this.timerInterval),this.timerInterval=void 0)}willUpdate(t){t.has("timestamp")&&this.startTimer()}disconnectedCallback(){super.disconnectedCallback(),this.stopTimer()}formatRelativeTime(t){const e=this.resolvedLocale,i=Date.now(),o="number"==typeof t?t:new Date(t).getTime();if(isNaN(o))return"";const s=i-o;if(s<0)return e.justNow;const a=Math.floor(s/6e4);if(a<1)return e.justNow;if(a<60)return e.minutesAgo(a);const r=Math.floor(a/60);if(r<24)return e.hoursAgo(r);const n=Math.floor(r/24);return e.daysAgo(n)}handlePrimaryAction(){this.dispatchEvent(new CustomEvent("primary-action-clicked",{bubbles:!0,composed:!0}))}handleDismiss(){this.dispatchEvent(new CustomEvent("dismiss-clicked",{bubbles:!0,composed:!0}))}renderTimestamp(){return this.relativeTime?r.html`<span class="md-card-alert-timestamp">${this.relativeTime}</span>`:r.nothing}renderHeader(){return this.severity||this.category||this.timestamp?r.html`
546
546
  <div class="md-card-alert-header">
547
547
  <div class="md-card-alert-chips">
548
548
  <md-chip color=${this.severityColor} value=${this.category} small>
@@ -592,20 +592,22 @@ import*as t from"luxon";var e,i,o={3701(t,e,i){i.d(e,{n:()=>o});var o,s=i(2900),
592
592
  </div>
593
593
  `:r.nothing}renderActions(){const t=this.resolvedLocale.dismiss;return r.html`
594
594
  <div class="md-card-alert-actions">
595
- <md-button
596
- size="32"
597
- variant="secondary"
598
- class="md-card-alert-primary-action"
599
- ariaLabel=${this.primaryActionLabel}
600
- @click=${this.handlePrimaryAction}
601
- >
602
- <span slot="text">${this.primaryActionLabel}</span>
603
- ${this.primaryActionDropdown?r.html`<md-icon
604
- name=${this.expanded?"arrow-up-bold":"arrow-down-bold"}
605
- size="12"
606
- iconSet="momentumDesign"
607
- ></md-icon>`:r.nothing}
608
- </md-button>
595
+ ${this.primaryActionLabel?r.html`
596
+ <md-button
597
+ size="32"
598
+ variant="secondary"
599
+ class="md-card-alert-primary-action"
600
+ ariaLabel=${this.primaryActionLabel}
601
+ @click=${this.handlePrimaryAction}
602
+ >
603
+ <span slot="text">${this.primaryActionLabel}</span>
604
+ ${this.primaryActionDropdown?r.html`<md-icon
605
+ name=${this.expanded?"arrow-up-bold":"arrow-down-bold"}
606
+ size="12"
607
+ iconSet="momentumDesign"
608
+ ></md-icon>`:r.nothing}
609
+ </md-button>
610
+ `:r.nothing}
609
611
  ${this.showDismiss?r.html`
610
612
  <md-button
611
613
  size="32"
@@ -1817,7 +1819,7 @@ import*as t from"luxon";var e,i,o={3701(t,e,i){i.d(e,{n:()=>o});var o,s=i(2900),
1817
1819
  </div>
1818
1820
  `}ariaSortOrder(t){return"ascending"===t||"descending"===t?t:"none"}renderHead(){let t=r.nothing;const e=this.COLS.reduce((t,e)=>!!e.group||t,!1);if(e){let e="";t=r.html`
1819
1821
  ${this.COLS.map(t=>t.group?e!=t.group.name?(e=t.group.name,r.html` <colgroup span=${t.group.length}></colgroup> `):void 0:r.html` <col /> `)}
1820
- <tr tabindex="0">
1822
+ <tr>
1821
1823
  ${this.COLS.map(t=>t.group?e!=t.group.name?(e=t.group.name,r.html`
1822
1824
  <th colspan=${t.group.length} scope="colgroup" title="${t.group.name}">
1823
1825
  <div class="head-inner-cell">
@@ -1828,7 +1830,7 @@ import*as t from"luxon";var e,i,o={3701(t,e,i){i.d(e,{n:()=>o});var o,s=i(2900),
1828
1830
  `):void 0:this.renderCol(t,2))}
1829
1831
  </tr>
1830
1832
  `}const i=r.html`
1831
- <tr tabindex="0">
1833
+ <tr>
1832
1834
  ${this.COLS.map(t=>e?t.group?this.renderCol(t):void 0:this.renderCol(t))}
1833
1835
  </tr>
1834
1836
  `;return r.html`
@@ -638,7 +638,7 @@
638
638
  ${this.renderHeader()}
639
639
  <div class="content-margin">${this.renderCardText()} ${this.renderFooter()}</div>
640
640
  </div>
641
- `}};c([(0,l.property)({type:String})],e.prototype,"id",void 0),c([(0,l.property)({type:String})],e.prototype,"title",void 0),c([(0,l.property)({type:String})],e.prototype,"cardText",void 0),c([(0,l.property)({type:String})],e.prototype,"timestamp",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"summariseMoreVisible",void 0),c([(0,l.property)({type:String})],e.prototype,"variant",void 0),c([(0,l.state)()],e.prototype,"copyChecked",void 0),c([(0,l.state)()],e.prototype,"thumbsUpChecked",void 0),c([(0,l.state)()],e.prototype,"thumbsDownChecked",void 0),e=c([(0,r.w)("md-card-ai")],e),t.ELEMENT=e}(s||(s={}))},4882(t,e,i){i.d(e,{CardAlert:()=>m}),i(5983),i(2583),i(1821);var o,s=i(9609),r=i(4084),a=i(7161),n=i(429),l=i(5125),d=i(7137),h=function(t,e,i,o){var s,r=arguments.length,a=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(r<3?s(a):r>3?s(e,i,a):s(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};!function(t){t.CRITICAL="critical",t.MEDIUM="medium"}(o||(o={}));const c={[o.CRITICAL]:{icon:"flag-filled",color:"negative"},[o.MEDIUM]:{icon:"warning-filled",color:"warning"}},p={dismiss:"Dismiss",justNow:"Just now",minutesAgo:t=>`${t} ${1===t?"min":"mins"} ago`,hoursAgo:t=>`${t} ${1===t?"hour":"hours"} ago`,daysAgo:t=>`${t} ${1===t?"day":"days"} ago`};var u,m;!function(t){t.POSITIVE="positive",t.NEGATIVE="negative",t.NEUTRAL="neutral"}(u||(u={})),function(t){let e=class extends a.LitElement{constructor(){super(...arguments),this.severity="",this.category="",this.secondaryChip="",this.timestamp="",this.title="",this.queueName="",this.details=[],this.insight="",this.primaryActionLabel="Click",this.primaryActionDropdown=!1,this.detailsHeading="",this.showDismiss=!1,this.expanded=!1,this.relativeTime=""}static get styles(){return[r.A,d.A]}get normalizedSeverity(){var t;const e=(null!==(t=this.severity)&&void 0!==t?t:"").toLowerCase();return Object.values(o).includes(e)?e:void 0}get severityIcon(){return this.normalizedSeverity?c[this.normalizedSeverity].icon:"plus-circle-filled"}get severityColor(){return this.normalizedSeverity?c[this.normalizedSeverity].color:"neutral"}get hasInsight(){var t;return(null!==(t=this.insight)&&void 0!==t?t:"").trim().length>0}get detailRows(){return Array.isArray(this.details)?this.details:[]}get resolvedLocale(){return t=this.constructor.locale,Object.assign(Object.assign(Object.assign({},p),t),{dismiss:null!==(e=null==t?void 0:t.dismiss)&&void 0!==e?e:p.dismiss});var t,e}updateRelativeTime(){this.timestamp&&(this.relativeTime=this.formatRelativeTime(this.timestamp))}startTimer(){this.stopTimer(),this.timestamp&&(this.updateRelativeTime(),this.timerInterval=setInterval(()=>this.updateRelativeTime(),6e4))}stopTimer(){this.timerInterval&&(clearInterval(this.timerInterval),this.timerInterval=void 0)}willUpdate(t){t.has("timestamp")&&this.startTimer()}disconnectedCallback(){super.disconnectedCallback(),this.stopTimer()}formatRelativeTime(t){const e=this.resolvedLocale,i=Date.now(),o="number"==typeof t?t:new Date(t).getTime();if(isNaN(o))return"";const s=i-o;if(s<0)return e.justNow;const r=Math.floor(s/6e4);if(r<1)return e.justNow;if(r<60)return e.minutesAgo(r);const a=Math.floor(r/60);if(a<24)return e.hoursAgo(a);const n=Math.floor(a/24);return e.daysAgo(n)}handlePrimaryAction(){this.dispatchEvent(new CustomEvent("primary-action-clicked",{bubbles:!0,composed:!0}))}handleDismiss(){this.dispatchEvent(new CustomEvent("dismiss-clicked",{bubbles:!0,composed:!0}))}renderTimestamp(){return this.relativeTime?a.html`<span class="md-card-alert-timestamp">${this.relativeTime}</span>`:a.nothing}renderHeader(){return this.severity||this.category||this.timestamp?a.html`
641
+ `}};c([(0,l.property)({type:String})],e.prototype,"id",void 0),c([(0,l.property)({type:String})],e.prototype,"title",void 0),c([(0,l.property)({type:String})],e.prototype,"cardText",void 0),c([(0,l.property)({type:String})],e.prototype,"timestamp",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"summariseMoreVisible",void 0),c([(0,l.property)({type:String})],e.prototype,"variant",void 0),c([(0,l.state)()],e.prototype,"copyChecked",void 0),c([(0,l.state)()],e.prototype,"thumbsUpChecked",void 0),c([(0,l.state)()],e.prototype,"thumbsDownChecked",void 0),e=c([(0,r.w)("md-card-ai")],e),t.ELEMENT=e}(s||(s={}))},4882(t,e,i){i.d(e,{CardAlert:()=>m}),i(5983),i(2583),i(1821);var o,s=i(9609),r=i(4084),a=i(7161),n=i(429),l=i(5125),d=i(7137),h=function(t,e,i,o){var s,r=arguments.length,a=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(r<3?s(a):r>3?s(e,i,a):s(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};!function(t){t.CRITICAL="critical",t.MEDIUM="medium"}(o||(o={}));const c={[o.CRITICAL]:{icon:"flag-filled",color:"negative"},[o.MEDIUM]:{icon:"warning-filled",color:"warning"}},p={dismiss:"Dismiss",justNow:"Just now",minutesAgo:t=>`${t} ${1===t?"min":"mins"} ago`,hoursAgo:t=>`${t} ${1===t?"hour":"hours"} ago`,daysAgo:t=>`${t} ${1===t?"day":"days"} ago`};var u,m;!function(t){t.POSITIVE="positive",t.NEGATIVE="negative",t.NEUTRAL="neutral"}(u||(u={})),function(t){let e=class extends a.LitElement{constructor(){super(...arguments),this.severity="",this.category="",this.secondaryChip="",this.timestamp="",this.title="",this.queueName="",this.details=[],this.insight="",this.primaryActionLabel="",this.primaryActionDropdown=!1,this.detailsHeading="",this.showDismiss=!1,this.expanded=!1,this.relativeTime=""}static get styles(){return[r.A,d.A]}get normalizedSeverity(){var t;const e=(null!==(t=this.severity)&&void 0!==t?t:"").toLowerCase();return Object.values(o).includes(e)?e:void 0}get severityIcon(){return this.normalizedSeverity?c[this.normalizedSeverity].icon:"plus-circle-filled"}get severityColor(){return this.normalizedSeverity?c[this.normalizedSeverity].color:"neutral"}get hasInsight(){var t;return(null!==(t=this.insight)&&void 0!==t?t:"").trim().length>0}get detailRows(){return Array.isArray(this.details)?this.details:[]}get resolvedLocale(){return t=this.constructor.locale,Object.assign(Object.assign(Object.assign({},p),t),{dismiss:null!==(e=null==t?void 0:t.dismiss)&&void 0!==e?e:p.dismiss});var t,e}updateRelativeTime(){this.timestamp&&(this.relativeTime=this.formatRelativeTime(this.timestamp))}startTimer(){this.stopTimer(),this.timestamp&&(this.updateRelativeTime(),this.timerInterval=setInterval(()=>this.updateRelativeTime(),6e4))}stopTimer(){this.timerInterval&&(clearInterval(this.timerInterval),this.timerInterval=void 0)}willUpdate(t){t.has("timestamp")&&this.startTimer()}disconnectedCallback(){super.disconnectedCallback(),this.stopTimer()}formatRelativeTime(t){const e=this.resolvedLocale,i=Date.now(),o="number"==typeof t?t:new Date(t).getTime();if(isNaN(o))return"";const s=i-o;if(s<0)return e.justNow;const r=Math.floor(s/6e4);if(r<1)return e.justNow;if(r<60)return e.minutesAgo(r);const a=Math.floor(r/60);if(a<24)return e.hoursAgo(a);const n=Math.floor(a/24);return e.daysAgo(n)}handlePrimaryAction(){this.dispatchEvent(new CustomEvent("primary-action-clicked",{bubbles:!0,composed:!0}))}handleDismiss(){this.dispatchEvent(new CustomEvent("dismiss-clicked",{bubbles:!0,composed:!0}))}renderTimestamp(){return this.relativeTime?a.html`<span class="md-card-alert-timestamp">${this.relativeTime}</span>`:a.nothing}renderHeader(){return this.severity||this.category||this.timestamp?a.html`
642
642
  <div class="md-card-alert-header">
643
643
  <div class="md-card-alert-chips">
644
644
  <md-chip color=${this.severityColor} value=${this.category} small>
@@ -688,20 +688,22 @@
688
688
  </div>
689
689
  `:a.nothing}renderActions(){const t=this.resolvedLocale.dismiss;return a.html`
690
690
  <div class="md-card-alert-actions">
691
- <md-button
692
- size="32"
693
- variant="secondary"
694
- class="md-card-alert-primary-action"
695
- ariaLabel=${this.primaryActionLabel}
696
- @click=${this.handlePrimaryAction}
697
- >
698
- <span slot="text">${this.primaryActionLabel}</span>
699
- ${this.primaryActionDropdown?a.html`<md-icon
700
- name=${this.expanded?"arrow-up-bold":"arrow-down-bold"}
701
- size="12"
702
- iconSet="momentumDesign"
703
- ></md-icon>`:a.nothing}
704
- </md-button>
691
+ ${this.primaryActionLabel?a.html`
692
+ <md-button
693
+ size="32"
694
+ variant="secondary"
695
+ class="md-card-alert-primary-action"
696
+ ariaLabel=${this.primaryActionLabel}
697
+ @click=${this.handlePrimaryAction}
698
+ >
699
+ <span slot="text">${this.primaryActionLabel}</span>
700
+ ${this.primaryActionDropdown?a.html`<md-icon
701
+ name=${this.expanded?"arrow-up-bold":"arrow-down-bold"}
702
+ size="12"
703
+ iconSet="momentumDesign"
704
+ ></md-icon>`:a.nothing}
705
+ </md-button>
706
+ `:a.nothing}
705
707
  ${this.showDismiss?a.html`
706
708
  <md-button
707
709
  size="32"
@@ -881,7 +883,7 @@
881
883
  <div role="group" aria-labelledby="id-group-label">
882
884
  <slot name="checkbox"></slot>
883
885
  </div>
884
- `}};c([(0,d.property)({type:String,attribute:"group-label"})],e.prototype,"label",void 0),c([(0,d.property)({type:String,reflect:!0})],e.prototype,"alignment",void 0),c([(0,d.query)("slot[name='checkbox']")],e.prototype,"checkboxSlot",void 0),e=c([(0,a.w)("md-checkboxgroup")],e),t.ELEMENT=e}(o||(o={}))},2583(t,e,i){i.d(e,{Chip:()=>o}),i(2708),i(9613);var o,s=i(2900),r=i(9609),a=i(4084),n=i(7161),l=i(429),d=i(5125),h=i(291),c=i(9558),p=function(t,e,i,o){var s,r=arguments.length,a=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(r<3?s(a):r>3?s(e,i,a):s(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};!function(t){let e=class extends n.LitElement{constructor(){super(...arguments),this.color="",this.bgColor="",this.textColor="",this.height="",this.icon="",this.iconColor="",this.iconSize="",this.role="group",this.id="",this.small=!1,this.readonly=!1,this.selected=!1,this.disabled=!1,this.determinateProgress=0,this.indeterminateProgress=!1,this.tooltipText="",this.tooltipPlacement="auto",this.iconSet="momentumUI",this.suppressDefaultMaxWidth=!1,this.decorative=!1,this.shouldTruncateValue=!0,this.value="",this.textOverflow=!1,this.renderedText="",this.MAXWIDTH=115,this.selectionChange=t=>{this.dispatchEvent(new CustomEvent("chip-selected",{composed:!0,bubbles:!0,detail:{selected:t}}))},this.handleClear=t=>{this.dispatchEvent(new CustomEvent("chip-deleted",{composed:!0,bubbles:!0,detail:{id:t}}))},this.handleSelect=()=>{this.disabled||(this.selected=!0,this.selectionChange(!0))},this.handleDeSelect=()=>{this.selected=!1,this.selectionChange(!1)},this.renderBgColor=()=>this.bgColor?`background-color: ${this.bgColor};`:n.nothing,this.renderTextColor=()=>this.textColor?`color: ${this.textColor};`:n.nothing,this.renderHeight=()=>this.height?`height: ${this.height};`:n.nothing,this.getStyles=()=>this.bgColor||this.textColor||this.height?n.html`
886
+ `}};c([(0,d.property)({type:String,attribute:"group-label"})],e.prototype,"label",void 0),c([(0,d.property)({type:String,reflect:!0})],e.prototype,"alignment",void 0),c([(0,d.query)("slot[name='checkbox']")],e.prototype,"checkboxSlot",void 0),e=c([(0,a.w)("md-checkboxgroup")],e),t.ELEMENT=e}(o||(o={}))},2583(t,e,i){i.d(e,{Chip:()=>o}),i(2708),i(9613);var o,s=i(2900),r=i(9609),a=i(4084),n=i(7161),l=i(429),d=i(5125),h=i(291),c=i(9558),p=function(t,e,i,o){var s,r=arguments.length,a=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(r<3?s(a):r>3?s(e,i,a):s(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};!function(t){let e=class extends n.LitElement{constructor(){super(...arguments),this.color="",this.bgColor="",this.textColor="",this.height="",this.icon="",this.iconColor="",this.iconSize="",this.role="group",this.id="",this.small=!1,this.readonly=!1,this.selected=!1,this.disabled=!1,this.determinateProgress=0,this.indeterminateProgress=!1,this.tooltipText="",this.tooltipPlacement="auto",this.iconSet="momentumUI",this.suppressDefaultMaxWidth=!1,this.decorative=!1,this.shouldTruncateValue=!0,this.focusable=!0,this.value="",this.textOverflow=!1,this.renderedText="",this.MAXWIDTH=115,this.selectionChange=t=>{this.dispatchEvent(new CustomEvent("chip-selected",{composed:!0,bubbles:!0,detail:{selected:t}}))},this.handleClear=t=>{this.dispatchEvent(new CustomEvent("chip-deleted",{composed:!0,bubbles:!0,detail:{id:t}}))},this.handleSelect=()=>{this.disabled||(this.selected=!0,this.selectionChange(!0))},this.handleDeSelect=()=>{this.selected=!1,this.selectionChange(!1)},this.renderBgColor=()=>this.bgColor?`background-color: ${this.bgColor};`:n.nothing,this.renderTextColor=()=>this.textColor?`color: ${this.textColor};`:n.nothing,this.renderHeight=()=>this.height?`height: ${this.height};`:n.nothing,this.getStyles=()=>this.bgColor||this.textColor||this.height?n.html`
885
887
  <style>
886
888
  :host .md-chip {
887
889
  ${this.renderBgColor()};
@@ -919,7 +921,7 @@
919
921
  >
920
922
  <span
921
923
  role=${(0,h.ifDefined)(this.decorative?void 0:"button")}
922
- tabindex="0"
924
+ tabindex=${(0,h.ifDefined)(this.focusable?"0":void 0)}
923
925
  class="md-chip ${(0,d.classMap)(t)}"
924
926
  part="chip"
925
927
  aria-pressed=${(0,h.ifDefined)(e)}
@@ -932,7 +934,7 @@
932
934
  <slot name="custom-right-content" part="chip-right"> </slot>
933
935
  </span>
934
936
  </md-tooltip>
935
- `}};p([(0,l.property)({type:String})],e.prototype,"color",void 0),p([(0,l.property)({type:String})],e.prototype,"bgColor",void 0),p([(0,l.property)({type:String})],e.prototype,"textColor",void 0),p([(0,l.property)({type:String})],e.prototype,"height",void 0),p([(0,l.property)({type:String})],e.prototype,"icon",void 0),p([(0,l.property)({type:String})],e.prototype,"iconColor",void 0),p([(0,l.property)({type:String})],e.prototype,"iconSize",void 0),p([(0,l.property)({type:String})],e.prototype,"role",void 0),p([(0,l.property)({type:String,reflect:!0})],e.prototype,"id",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"small",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"readonly",void 0),p([(0,l.property)({type:Boolean,reflect:!0})],e.prototype,"selected",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"disabled",void 0),p([(0,l.property)({type:Number})],e.prototype,"determinateProgress",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"indeterminateProgress",void 0),p([(0,l.property)({type:String})],e.prototype,"tooltipText",void 0),p([(0,l.property)({type:String})],e.prototype,"tooltipPlacement",void 0),p([(0,l.property)({type:String})],e.prototype,"iconSet",void 0),p([(0,l.property)({type:Boolean,attribute:"suppress-default-max-width"})],e.prototype,"suppressDefaultMaxWidth",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"decorative",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"shouldTruncateValue",void 0),p([(0,l.property)({type:String,hasChanged:(t,e)=>t!==e})],e.prototype,"value",void 0),p([(0,l.state)({hasChanged:(t,e)=>t!==e})],e.prototype,"textOverflow",void 0),p([(0,l.state)()],e.prototype,"renderedText",void 0),e=p([(0,r.w)("md-chip")],e),t.ELEMENT=e}(o||(o={}))},7744(t,e,i){i.d(e,{CoachmarkPopover:()=>o}),i(5983),i(1821),i(405);var o,s=i(9609),r=i(4084),a=i(7161),n=i(429),l=i(5125),d=i(2991),h=function(t,e,i,o){var s,r=arguments.length,a=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(r<3?s(a):r>3?s(e,i,a):s(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};!function(t){let e=class extends a.LitElement{constructor(){super(...arguments),this.placement="bottom",this.triggerID="",this.headerIconName=void 0,this.header=void 0,this.message=void 0,this.show=!1,this.hideCloseButton=!1,this.href="",this.slotContent=null}static get styles(){return[r.A,d.A]}connectedCallback(){super.connectedCallback()}notifyCustomEvent(t){this.dispatchEvent(new CustomEvent(t,{bubbles:!0,composed:!0,detail:{placement:this.placement,triggerComponent:this.triggerComponent,popper:this.popper}}))}notifyCoachCreate(){this.notifyCustomEvent("coach-create")}notifyPrimaryButtonAction(){this.notifyCustomEvent("primary-button-action")}notifySecondaryButtonAction(){this.notifyCustomEvent("secondary-button-action")}notifyLinkAction(){this.notifyCustomEvent("link-action")}notifyCoachClose(){this.notifyCustomEvent("coachmark-close")}handleSlotChange(t){const e=t.target;if(e){const t=e.assignedElements({flatten:!0});t.length&&(this.slotContent=t)}}updated(t){super.updated(t),t.has("show")&&(this.show?this.notifyCoachCreate():this.notifyCoachClose())}coachmarkContentTemplate(){return a.html`
937
+ `}};p([(0,l.property)({type:String})],e.prototype,"color",void 0),p([(0,l.property)({type:String})],e.prototype,"bgColor",void 0),p([(0,l.property)({type:String})],e.prototype,"textColor",void 0),p([(0,l.property)({type:String})],e.prototype,"height",void 0),p([(0,l.property)({type:String})],e.prototype,"icon",void 0),p([(0,l.property)({type:String})],e.prototype,"iconColor",void 0),p([(0,l.property)({type:String})],e.prototype,"iconSize",void 0),p([(0,l.property)({type:String})],e.prototype,"role",void 0),p([(0,l.property)({type:String,reflect:!0})],e.prototype,"id",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"small",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"readonly",void 0),p([(0,l.property)({type:Boolean,reflect:!0})],e.prototype,"selected",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"disabled",void 0),p([(0,l.property)({type:Number})],e.prototype,"determinateProgress",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"indeterminateProgress",void 0),p([(0,l.property)({type:String})],e.prototype,"tooltipText",void 0),p([(0,l.property)({type:String})],e.prototype,"tooltipPlacement",void 0),p([(0,l.property)({type:String})],e.prototype,"iconSet",void 0),p([(0,l.property)({type:Boolean,attribute:"suppress-default-max-width"})],e.prototype,"suppressDefaultMaxWidth",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"decorative",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"shouldTruncateValue",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"focusable",void 0),p([(0,l.property)({type:String,hasChanged:(t,e)=>t!==e})],e.prototype,"value",void 0),p([(0,l.state)({hasChanged:(t,e)=>t!==e})],e.prototype,"textOverflow",void 0),p([(0,l.state)()],e.prototype,"renderedText",void 0),e=p([(0,r.w)("md-chip")],e),t.ELEMENT=e}(o||(o={}))},7744(t,e,i){i.d(e,{CoachmarkPopover:()=>o}),i(5983),i(1821),i(405);var o,s=i(9609),r=i(4084),a=i(7161),n=i(429),l=i(5125),d=i(2991),h=function(t,e,i,o){var s,r=arguments.length,a=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(r<3?s(a):r>3?s(e,i,a):s(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};!function(t){let e=class extends a.LitElement{constructor(){super(...arguments),this.placement="bottom",this.triggerID="",this.headerIconName=void 0,this.header=void 0,this.message=void 0,this.show=!1,this.hideCloseButton=!1,this.href="",this.slotContent=null}static get styles(){return[r.A,d.A]}connectedCallback(){super.connectedCallback()}notifyCustomEvent(t){this.dispatchEvent(new CustomEvent(t,{bubbles:!0,composed:!0,detail:{placement:this.placement,triggerComponent:this.triggerComponent,popper:this.popper}}))}notifyCoachCreate(){this.notifyCustomEvent("coach-create")}notifyPrimaryButtonAction(){this.notifyCustomEvent("primary-button-action")}notifySecondaryButtonAction(){this.notifyCustomEvent("secondary-button-action")}notifyLinkAction(){this.notifyCustomEvent("link-action")}notifyCoachClose(){this.notifyCustomEvent("coachmark-close")}handleSlotChange(t){const e=t.target;if(e){const t=e.assignedElements({flatten:!0});t.length&&(this.slotContent=t)}}updated(t){super.updated(t),t.has("show")&&(this.show?this.notifyCoachCreate():this.notifyCoachClose())}coachmarkContentTemplate(){return a.html`
936
938
  <div class="md-coachmark__content">
937
939
  ${this.message?this.message:a.html` <slot name="coachmark-content" @slotchange=${this.handleSlotChange}></slot> `}
938
940
  </div>
@@ -2464,7 +2466,7 @@
2464
2466
  </div>
2465
2467
  `}ariaSortOrder(t){return"ascending"===t||"descending"===t?t:"none"}renderHead(){let t=a.nothing;const e=this.COLS.reduce((t,e)=>!!e.group||t,!1);if(e){let e="";t=a.html`
2466
2468
  ${this.COLS.map(t=>t.group?e!=t.group.name?(e=t.group.name,a.html` <colgroup span=${t.group.length}></colgroup> `):void 0:a.html` <col /> `)}
2467
- <tr tabindex="0">
2469
+ <tr>
2468
2470
  ${this.COLS.map(t=>t.group?e!=t.group.name?(e=t.group.name,a.html`
2469
2471
  <th colspan=${t.group.length} scope="colgroup" title="${t.group.name}">
2470
2472
  <div class="head-inner-cell">
@@ -2475,7 +2477,7 @@
2475
2477
  `):void 0:this.renderCol(t,2))}
2476
2478
  </tr>
2477
2479
  `}const i=a.html`
2478
- <tr tabindex="0">
2480
+ <tr>
2479
2481
  ${this.COLS.map(t=>e?t.group?this.renderCol(t):void 0:this.renderCol(t))}
2480
2482
  </tr>
2481
2483
  `;return a.html`
@@ -35,6 +35,7 @@ export declare namespace Chip {
35
35
  suppressDefaultMaxWidth: boolean;
36
36
  decorative: boolean;
37
37
  shouldTruncateValue: boolean;
38
+ focusable: boolean;
38
39
  value: string;
39
40
  private textOverflow;
40
41
  private renderedText;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momentum-ui/web-components",
3
- "version": "3.2.19",
3
+ "version": "3.2.21",
4
4
  "author": "Yana Harris",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/momentum-design/momentum-ui.git",