@momentum-ui/web-components 3.2.16 → 3.2.17

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/7137.js CHANGED
@@ -1 +1 @@
1
- "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[7137],{7137(e,t,r){r.d(t,{A:()=>a});const a=r(7161).css`:host(md-card-alert){display:block}:host(md-card-alert) .md-card-alert{align-content:center;align-items:stretch;display:flex;flex-flow:column nowrap;justify-content:flex-start;background:var(--md-secondary-bg-color);border:1px solid var(--md-quaternary-bg-color);border-radius:.75rem;box-sizing:border-box;box-shadow:0 2px 8px rgba(0,0,0,.1);gap:.75rem;padding:.75rem;width:22.9375rem}:host(md-card-alert) .md-card-alert--no-insight{height:329px;max-height:329px;min-height:329px}:host(md-card-alert) .md-card-alert:focus{outline:0}:host(md-card-alert) .md-card-alert-header{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:space-between;flex-wrap:nowrap}:host(md-card-alert) .md-card-alert-chips{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;gap:.375rem}:host(md-card-alert) .md-card-alert-timestamp{color:var(--md-secondary-text-color);font-size:.875rem;font-weight:400;flex-shrink:0}:host(md-card-alert) .md-card-alert-title-section{align-content:center;align-items:flex-start;display:flex;flex-flow:column nowrap;justify-content:flex-start;gap:.125rem;min-width:0;width:100%}:host(md-card-alert) .md-card-alert-title{-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;color:var(--md-primary-text-color);display:-webkit-box;font-size:1rem;font-weight:700;height:3rem;line-height:1.5rem;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:normal;width:100%}:host(md-card-alert) .md-card-alert-subtitle{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;color:var(--md-secondary-text-color);font-size:.875rem;gap:.25rem;margin:0}:host(md-card-alert) .md-card-alert-subtitle-icon{flex-shrink:0;--md-icon-size:1rem}:host(md-card-alert) .md-card-alert-details{align-content:center;align-items:stretch;display:flex;flex-flow:column nowrap;justify-content:flex-start;background:var(--md-background-tertiary,#f3f4f6);border-radius:.5rem;gap:.1875rem;padding:.75rem}:host(md-card-alert) .md-card-alert-details-heading{color:var(--md-secondary-text-color);font-size:.875rem;margin-bottom:.125rem}:host(md-card-alert) .md-card-alert-detail-row{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:space-between}:host(md-card-alert) .md-card-alert-detail-label{color:var(--md-primary-text-color);font-size:.875rem;font-weight:700;margin-bottom:.125rem}:host(md-card-alert) .md-card-alert-detail-value{color:var(--md-primary-text-color);font-size:.875rem;text-align:right;margin-bottom:.125rem}:host(md-card-alert) .md-card-alert-detail-value--highlighted{color:var(--md-alert-error-text-color,#dc2626)}:host(md-card-alert) .md-card-alert-insight{align-content:center;align-items:flex-start;display:flex;flex-flow:row nowrap;justify-content:flex-start;background:var(--card-ai-blue-bg-color,#eff6ff);border-radius:.5rem;border:1px solid var(--badge-confidence-cobalt-border-color,#dbeafe);color:var(--md-primary-text-color);gap:.5rem;padding:.625rem .75rem}:host(md-card-alert) .md-card-alert-insight-icon{color:var(--badge-status-accent-text-color,#0284c7);flex-shrink:0;margin-top:.0625rem;--md-icon-size:1rem}:host(md-card-alert) .md-card-alert-insight-text{font-size:.875rem;line-height:1.25rem}:host(md-card-alert) .md-card-alert-actions{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;gap:.5rem}`}}]);
1
+ "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[7137],{7137(r,e,t){t.d(e,{A:()=>a});const a=t(7161).css`:host(md-card-alert){display:block}:host(md-card-alert) .md-card-alert{align-content:center;align-items:stretch;display:flex;flex-flow:column nowrap;justify-content:flex-start;background:var(--md-glass-overlay-bg-color);border:1px solid var(--md-quaternary-bg-color);border-radius:.75rem;box-sizing:border-box;box-shadow:0 2px 8px rgba(0,0,0,.1);gap:.75rem;padding:.75rem;width:19.5625rem}:host(md-card-alert) .md-card-alert--no-insight{height:329px;max-height:329px;min-height:329px}:host(md-card-alert) .md-card-alert:hover{background:var(--md-card-v2-background-hover,var(--md-glass-overlay-bg-color));border:1px solid var(--card-v2-border-hover,var(--md-quaternary-bg-color))}:host(md-card-alert) .md-card-alert--expanded{border:1px solid var(--md-primary-text-color)}:host(md-card-alert) .md-card-alert:focus{outline:0}:host(md-card-alert) .md-card-alert-header{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:space-between;flex-wrap:nowrap}:host(md-card-alert) .md-card-alert-chips{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;gap:.375rem;min-width:0;overflow:hidden}:host(md-card-alert) .md-card-alert-timestamp{color:var(--md-secondary-text-color);font-size:.875rem;font-weight:400;flex-shrink:0}:host(md-card-alert) .md-card-alert-title-section{align-content:center;align-items:flex-start;display:flex;flex-flow:column nowrap;justify-content:flex-start;gap:.125rem;min-width:0;width:100%}:host(md-card-alert) .md-card-alert-title{-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;color:var(--md-primary-text-color);display:-webkit-box;font-size:1rem;font-weight:700;max-height:3rem;line-height:1.5rem;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:normal;width:100%}:host(md-card-alert) .md-card-alert-subtitle{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;color:var(--md-secondary-text-color);font-size:.875rem;gap:.25rem;margin:0}:host(md-card-alert) .md-card-alert-subtitle-icon{flex-shrink:0;--md-icon-size:1rem}:host(md-card-alert) .md-card-alert-details{align-content:center;align-items:stretch;display:flex;flex-flow:column nowrap;justify-content:flex-start;margin-top:auto;background:var(--md-subtle-bg-color,#f3f4f6);border-radius:.5rem;gap:.1875rem;padding:.75rem}:host(md-card-alert) .md-card-alert-details-heading{color:var(--md-secondary-text-color);font-size:.875rem;margin-bottom:.125rem}:host(md-card-alert) .md-card-alert-detail-row{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:space-between}:host(md-card-alert) .md-card-alert-detail-label{color:var(--md-primary-text-color);font-size:.875rem;font-weight:700;margin-bottom:.125rem}:host(md-card-alert) .md-card-alert-detail-value{color:var(--md-primary-text-color);font-size:.875rem;text-align:right;margin-bottom:.125rem}:host(md-card-alert) .md-card-alert-detail-value--highlighted{color:var(--md-alert-error-text-color,#dc2626)}:host(md-card-alert) .md-card-alert-insight{align-content:center;align-items:flex-start;display:flex;flex-flow:row nowrap;justify-content:flex-start;background:var(--card-ai-blue-bg-color,#eff6ff);border-radius:.5rem;border:1px solid var(--badge-confidence-cobalt-border-color,#dbeafe);color:var(--md-primary-text-color);gap:.5rem;padding:.625rem .75rem}:host(md-card-alert) .md-card-alert-insight-icon{color:var(--badge-status-accent-text-color,#0284c7);flex-shrink:0;margin-top:.0625rem;--md-icon-size:1rem}:host(md-card-alert) .md-card-alert-insight-text{font-size:.875rem;line-height:1.25rem}:host(md-card-alert) .md-card-alert-actions{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;gap:.5rem}`}}]);
@@ -1,17 +1,15 @@
1
- !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","mobx"],e);else{var i="object"==typeof exports?e(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx")):e(t.lit,t["lit/decorators.js"],t["lit/directives/class-map.js"],t["lit/directives/style-map.js"],t["lit/directives/if-defined.js"],t["@momentum-ui/icons/data/momentumUiIconsNames.json"],t["@momentum-ui/utils/lib/getColorValue"],t.mobx);for(var r in i)("object"==typeof exports?exports:t)[r]=i[r]}}(self,(t,e,i,r,o,s,n,a)=>(()=>{"use strict";var l,d={4882(t,e,i){i.r(e),i.d(e,{CardAlert:()=>m,CardAlertSeverity:()=>r}),i(5983),i(2583),i(1821);var r,o=i(9609),s=i(4084),n=i(7161),a=i(429),l=i(5125),d=i(7137),p=function(t,e,i,r){var o,s=arguments.length,n=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,i,n):o(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.CRITICAL="critical",t.MEDIUM="medium"}(r||(r={}));const h={[r.CRITICAL]:{icon:"flag-filled",color:"negative"},[r.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;!function(t){let e=class extends n.LitElement{constructor(){super(...arguments),this.severity="",this.category="",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,d.A]}get normalizedSeverity(){var t;const e=(null!==(t=this.severity)&&void 0!==t?t:"").toLowerCase();return Object.values(r).includes(e)?e:void 0}get severityIcon(){return this.normalizedSeverity?h[this.normalizedSeverity].icon:"info-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:[]}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.constructor.locale,i=Date.now(),r="number"==typeof t?t:new Date(t).getTime();if(isNaN(r))return"";const o=i-r;if(o<0)return e.justNow;const s=Math.floor(o/6e4);if(s<1)return e.justNow;if(s<60)return e.minutesAgo(s);const n=Math.floor(s/60);if(n<24)return e.hoursAgo(n);const a=Math.floor(n/24);return e.daysAgo(a)}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?n.html`<span class="md-card-alert-timestamp">${this.relativeTime}</span>`:n.nothing}renderHeader(){return this.severity||this.category||this.timestamp?n.html`
1
+ !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","mobx"],e);else{var i="object"==typeof exports?e(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx")):e(t.lit,t["lit/decorators.js"],t["lit/directives/class-map.js"],t["lit/directives/style-map.js"],t["lit/directives/if-defined.js"],t["@momentum-ui/icons/data/momentumUiIconsNames.json"],t["@momentum-ui/utils/lib/getColorValue"],t.mobx);for(var o in i)("object"==typeof exports?exports:t)[o]=i[o]}}(self,(t,e,i,o,r,s,n,a)=>(()=>{"use strict";var l,d={4882(t,e,i){i.r(e),i.d(e,{CardAlert:()=>m,CardAlertSeverity:()=>o}),i(5983),i(2583),i(1821);var o,r=i(9609),s=i(4084),n=i(7161),a=i(429),l=i(5125),d=i(7137),p=function(t,e,i,o){var r,s=arguments.length,n=s<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--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};!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;!function(t){let e=class extends n.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,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?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 n=Math.floor(s/60);if(n<24)return e.hoursAgo(n);const a=Math.floor(n/24);return e.daysAgo(a)}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?n.html`<span class="md-card-alert-timestamp">${this.relativeTime}</span>`:n.nothing}renderHeader(){return this.severity||this.category||this.timestamp?n.html`
2
2
  <div class="md-card-alert-header">
3
3
  <div class="md-card-alert-chips">
4
- ${this.severity?n.html`
5
- <md-chip color=${this.severityColor} small>
6
- <md-icon
7
- name=${this.severityIcon}
8
- size="14"
9
- iconSet="momentumDesign"
10
- slot="custom-left-content"
11
- ></md-icon>
12
- </md-chip>
13
- `:n.nothing}
14
- ${this.category?n.html`<md-chip value=${this.category} color="neutral" small></md-chip>`:n.nothing}
4
+ <md-chip color=${this.severityColor} value=${this.category} small>
5
+ <md-icon
6
+ name=${this.severityIcon}
7
+ size="14"
8
+ iconSet="momentumDesign"
9
+ slot="custom-left-content"
10
+ ></md-icon>
11
+ </md-chip>
12
+ ${this.secondaryChip?n.html`<md-chip color="confidence-cobalt" value=${this.secondaryChip} small></md-chip>`:n.nothing}
15
13
  </div>
16
14
  ${this.renderTimestamp()}
17
15
  </div>
@@ -48,11 +46,11 @@
48
46
  <md-icon name="sparkle-filled" iconSet="momentumDesign" class="md-card-alert-insight-icon"></md-icon>
49
47
  <span class="md-card-alert-insight-text">${this.insight}</span>
50
48
  </div>
51
- `:n.nothing}renderActions(){return n.html`
49
+ `:n.nothing}renderActions(){const t=this.resolvedLocale.dismiss;return n.html`
52
50
  <div class="md-card-alert-actions">
53
51
  <md-button
54
52
  size="32"
55
- variant="primary"
53
+ variant="secondary"
56
54
  class="md-card-alert-primary-action"
57
55
  ariaLabel=${this.primaryActionLabel}
58
56
  @click=${this.handlePrimaryAction}
@@ -68,25 +66,24 @@
68
66
  <md-button
69
67
  size="32"
70
68
  variant="secondary"
71
- outline
72
69
  class="md-card-alert-dismiss"
73
- ariaLabel=${this.constructor.locale.dismiss}
70
+ ariaLabel=${t}
74
71
  @click=${this.handleDismiss}
75
72
  >
76
- <span slot="text">${this.constructor.locale.dismiss}</span>
73
+ <span slot="text">${t}</span>
77
74
  </md-button>
78
75
  `:n.nothing}
79
76
  </div>
80
77
  `}render(){return n.html`
81
78
  <div
82
- class=${(0,l.classMap)({"md-card-alert":!0,"md-card-alert--no-insight":!this.hasInsight})}
79
+ class=${(0,l.classMap)({"md-card-alert":!0,"md-card-alert--no-insight":!this.hasInsight,"md-card-alert--expanded":this.expanded})}
83
80
  part="card"
84
81
  tabindex="0"
85
82
  >
86
83
  ${this.renderHeader()} ${this.renderTitleSection()} ${this.renderDetails()} ${this.renderInsight()}
87
84
  ${this.renderActions()}
88
85
  </div>
89
- `}};e.locale=Object.assign({},c),p([(0,a.property)({type:String})],e.prototype,"severity",void 0),p([(0,a.property)({type:String})],e.prototype,"category",void 0),p([(0,a.property)({type:String})],e.prototype,"timestamp",void 0),p([(0,a.property)({type:String})],e.prototype,"title",void 0),p([(0,a.property)({type:String})],e.prototype,"queueName",void 0),p([(0,a.property)({type:Array})],e.prototype,"details",void 0),p([(0,a.property)({type:String})],e.prototype,"insight",void 0),p([(0,a.property)({type:String})],e.prototype,"primaryActionLabel",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"primaryActionDropdown",void 0),p([(0,a.property)({type:String})],e.prototype,"detailsHeading",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"showDismiss",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"expanded",void 0),p([(0,a.state)()],e.prototype,"relativeTime",void 0),e=p([(0,o.w)("md-card-alert")],e),t.ELEMENT=e}(m||(m={}))},2583(t,e,i){i(2708),i(9613);var r,o=i(2900),s=i(9609),n=i(4084),a=i(7161),l=i(429),d=i(5125),p=i(291),h=i(9558),c=function(t,e,i,r){var o,s=arguments.length,n=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,i,n):o(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};!function(t){let e=class extends a.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};`:a.nothing,this.renderTextColor=()=>this.textColor?`color: ${this.textColor};`:a.nothing,this.renderHeight=()=>this.height?`height: ${this.height};`:a.nothing,this.getStyles=()=>this.bgColor||this.textColor||this.height?a.html`
86
+ `}};e.locale=Object.assign({},c),p([(0,a.property)({type:String})],e.prototype,"severity",void 0),p([(0,a.property)({type:String})],e.prototype,"category",void 0),p([(0,a.property)({type:String})],e.prototype,"secondaryChip",void 0),p([(0,a.property)({type:String})],e.prototype,"timestamp",void 0),p([(0,a.property)({type:String})],e.prototype,"title",void 0),p([(0,a.property)({type:String})],e.prototype,"queueName",void 0),p([(0,a.property)({type:Array})],e.prototype,"details",void 0),p([(0,a.property)({type:String})],e.prototype,"insight",void 0),p([(0,a.property)({type:String})],e.prototype,"primaryActionLabel",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"primaryActionDropdown",void 0),p([(0,a.property)({type:String})],e.prototype,"detailsHeading",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"showDismiss",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"expanded",void 0),p([(0,a.state)()],e.prototype,"relativeTime",void 0),e=p([(0,r.w)("md-card-alert")],e),t.ELEMENT=e}(m||(m={}))},2583(t,e,i){i(2708),i(9613);var o,r=i(2900),s=i(9609),n=i(4084),a=i(7161),l=i(429),d=i(5125),p=i(291),h=i(9558),c=function(t,e,i,o){var r,s=arguments.length,n=s<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--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};!function(t){let e=class extends a.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};`:a.nothing,this.renderTextColor=()=>this.textColor?`color: ${this.textColor};`:a.nothing,this.renderHeight=()=>this.height?`height: ${this.height};`:a.nothing,this.getStyles=()=>this.bgColor||this.textColor||this.height?a.html`
90
87
  <style>
91
88
  :host .md-chip {
92
89
  ${this.renderBgColor()};
@@ -94,7 +91,7 @@
94
91
  ${this.renderHeight()};
95
92
  }
96
93
  </style>
97
- `:a.nothing}connectedCallback(){super.connectedCallback(),this.truncStringPortion(this.value),this.setAttribute("role",this.role)}willUpdate(t){super.willUpdate(t),(t.has("value")||t.has("shouldTruncateValue"))&&this.truncStringPortion(this.value)}getTextWidth(t,e){const i=null!=e?e:getComputedStyle(this).font,r=document.createElement("canvas").getContext("2d");return r?(r.font=i,r.measureText(t).width):0}truncStringPortion(t){const e=this.getTextWidth(t);if(!this.shouldTruncateValue||e<this.MAXWIDTH)return this.renderedText=t,void(this.textOverflow=!1);const i=Array.from(t);let r=Math.min(4,i.length),o=Math.min(5,Math.max(0,i.length-r-1)),s=i.slice(0,r).join(""),n=i.slice(-o).join(""),a=`${s}…${n}`;if(this.getTextWidth(a)>this.MAXWIDTH)return this.renderedText=a,void(this.textOverflow=!0);for(;r+o<i.length;){let t=!1;if(r+o<i.length){const e=s+i[r],o=`${e}…${n}`;this.getTextWidth(o)<=this.MAXWIDTH&&(s=e,r+=1,a=o,t=!0)}if(r+o<i.length){const e=i[i.length-o-1]+n,r=`${s}…${e}`;this.getTextWidth(r)<=this.MAXWIDTH&&(n=e,o+=1,a=r,t=!0)}if(!t)break}this.renderedText=a,this.textOverflow=!0}handleClick(){var t;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector("md-tooltip");null==e||e.dispatchEvent(new CustomEvent("tooltip-destroy",{bubbles:!0,composed:!0,detail:{placement:null==e?void 0:e.placement,reference:null==e?void 0:e.reference,popper:null==e?void 0:e.popper}})),this.dispatchEvent(new CustomEvent("chip-interaction",{composed:!0,bubbles:!0,detail:{id:this.id}}))}handleKeydown(t){switch(t.code){case o.Uz.Space:case o.Uz.Enter:this.handleSelect(),this.handleClick()}}static get styles(){return[n.A,h.A]}loadingTemplate(){return this.determinateProgress||this.indeterminateProgress?this.determinateProgress?a.html`
94
+ `:a.nothing}connectedCallback(){super.connectedCallback(),this.truncStringPortion(this.value),this.setAttribute("role",this.role)}willUpdate(t){super.willUpdate(t),(t.has("value")||t.has("shouldTruncateValue"))&&this.truncStringPortion(this.value)}getTextWidth(t,e){const i=null!=e?e:getComputedStyle(this).font,o=document.createElement("canvas").getContext("2d");return o?(o.font=i,o.measureText(t).width):0}truncStringPortion(t){const e=this.getTextWidth(t);if(!this.shouldTruncateValue||e<this.MAXWIDTH)return this.renderedText=t,void(this.textOverflow=!1);const i=Array.from(t);let o=Math.min(4,i.length),r=Math.min(5,Math.max(0,i.length-o-1)),s=i.slice(0,o).join(""),n=i.slice(-r).join(""),a=`${s}…${n}`;if(this.getTextWidth(a)>this.MAXWIDTH)return this.renderedText=a,void(this.textOverflow=!0);for(;o+r<i.length;){let t=!1;if(o+r<i.length){const e=s+i[o],r=`${e}…${n}`;this.getTextWidth(r)<=this.MAXWIDTH&&(s=e,o+=1,a=r,t=!0)}if(o+r<i.length){const e=i[i.length-r-1]+n,o=`${s}…${e}`;this.getTextWidth(o)<=this.MAXWIDTH&&(n=e,r+=1,a=o,t=!0)}if(!t)break}this.renderedText=a,this.textOverflow=!0}handleClick(){var t;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector("md-tooltip");null==e||e.dispatchEvent(new CustomEvent("tooltip-destroy",{bubbles:!0,composed:!0,detail:{placement:null==e?void 0:e.placement,reference:null==e?void 0:e.reference,popper:null==e?void 0:e.popper}})),this.dispatchEvent(new CustomEvent("chip-interaction",{composed:!0,bubbles:!0,detail:{id:this.id}}))}handleKeydown(t){switch(t.code){case r.Uz.Space:case r.Uz.Enter:this.handleSelect(),this.handleClick()}}static get styles(){return[n.A,h.A]}loadingTemplate(){return this.determinateProgress||this.indeterminateProgress?this.determinateProgress?a.html`
98
95
  <md-progress-bar
99
96
  class="md-chip--loading"
100
97
  type="determinate"
@@ -137,4 +134,4 @@
137
134
  <slot name="custom-right-content" part="chip-right"> </slot>
138
135
  </span>
139
136
  </md-tooltip>
140
- `}};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}(r||(r={}))},2022(t){t.exports=s},554(t){t.exports=n},7161(e){e.exports=t},429(t){t.exports=e},5125(t){t.exports=i},291(t){t.exports=o},318(t){t.exports=r},5314(t){t.exports=a}},p={};function h(t){var e=p[t];if(void 0!==e)return e.exports;var i=p[t]={exports:{}};return d[t](i,i.exports,h),i.exports}h.m=d,l=[],h.O=(t,e,i,r)=>{if(!e){var o=1/0;for(d=0;d<l.length;d++){for(var[e,i,r]=l[d],s=!0,n=0;n<e.length;n++)(!1&r||o>=r)&&Object.keys(h.O).every(t=>h.O[t](e[n]))?e.splice(n--,1):(s=!1,r<o&&(o=r));if(s){l.splice(d--,1);var a=i();void 0!==a&&(t=a)}}return t}r=r||0;for(var d=l.length;d>0&&l[d-1][2]>r;d--)l[d]=l[d-1];l[d]=[e,i,r]},h.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return h.d(e,{a:e}),e},h.d=(t,e)=>{for(var i in e)h.o(e,i)&&!h.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},h.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),h.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={8619:0,8894:0};h.O.j=e=>0===t[e];var e=(e,i)=>{var r,o,[s,n,a]=i,l=0;if(s.some(e=>0!==t[e])){for(r in n)h.o(n,r)&&(h.m[r]=n[r]);if(a)var d=a(h)}for(e&&e(i);l<s.length;l++)o=s[l],h.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return h.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 c=h.O(void 0,[9609,4084,3305,4739,7154,9773,5983,9488,1821,2364,9938,4781,5584,8227,2900,2050,6343,7582,9613,5323,6631,9558,2708,7137],()=>h(4882));return h.O(c)})());
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={}))},2022(t){t.exports=s},554(t){t.exports=n},7161(e){e.exports=t},429(t){t.exports=e},5125(t){t.exports=i},291(t){t.exports=r},318(t){t.exports=o},5314(t){t.exports=a}},p={};function h(t){var e=p[t];if(void 0!==e)return e.exports;var i=p[t]={exports:{}};return d[t](i,i.exports,h),i.exports}h.m=d,l=[],h.O=(t,e,i,o)=>{if(!e){var r=1/0;for(d=0;d<l.length;d++){for(var[e,i,o]=l[d],s=!0,n=0;n<e.length;n++)(!1&o||r>=o)&&Object.keys(h.O).every(t=>h.O[t](e[n]))?e.splice(n--,1):(s=!1,o<r&&(r=o));if(s){l.splice(d--,1);var a=i();void 0!==a&&(t=a)}}return t}o=o||0;for(var d=l.length;d>0&&l[d-1][2]>o;d--)l[d]=l[d-1];l[d]=[e,i,o]},h.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return h.d(e,{a:e}),e},h.d=(t,e)=>{for(var i in e)h.o(e,i)&&!h.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},h.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),h.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={8619:0,8894:0};h.O.j=e=>0===t[e];var e=(e,i)=>{var o,r,[s,n,a]=i,l=0;if(s.some(e=>0!==t[e])){for(o in n)h.o(n,o)&&(h.m[o]=n[o]);if(a)var d=a(h)}for(e&&e(i);l<s.length;l++)r=s[l],h.o(t,r)&&t[r]&&t[r][0](),t[r]=0;return h.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 c=h.O(void 0,[9609,4084,3305,4739,7154,9773,5983,9488,1821,2364,9938,4781,5584,8227,2900,2050,6343,7582,9613,5323,6631,9558,2708,7137],()=>h(4882));return h.O(c)})());
package/dist/esm/7137.js CHANGED
@@ -1 +1 @@
1
- export const __webpack_esm_id__=7137;export const __webpack_esm_ids__=[7137];export const __webpack_esm_modules__={7137(e,t,r){r.d(t,{A:()=>a});const a=r(2927).css`:host(md-card-alert){display:block}:host(md-card-alert) .md-card-alert{align-content:center;align-items:stretch;display:flex;flex-flow:column nowrap;justify-content:flex-start;background:var(--md-secondary-bg-color);border:1px solid var(--md-quaternary-bg-color);border-radius:.75rem;box-sizing:border-box;box-shadow:0 2px 8px rgba(0,0,0,.1);gap:.75rem;padding:.75rem;width:22.9375rem}:host(md-card-alert) .md-card-alert--no-insight{height:329px;max-height:329px;min-height:329px}:host(md-card-alert) .md-card-alert:focus{outline:0}:host(md-card-alert) .md-card-alert-header{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:space-between;flex-wrap:nowrap}:host(md-card-alert) .md-card-alert-chips{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;gap:.375rem}:host(md-card-alert) .md-card-alert-timestamp{color:var(--md-secondary-text-color);font-size:.875rem;font-weight:400;flex-shrink:0}:host(md-card-alert) .md-card-alert-title-section{align-content:center;align-items:flex-start;display:flex;flex-flow:column nowrap;justify-content:flex-start;gap:.125rem;min-width:0;width:100%}:host(md-card-alert) .md-card-alert-title{-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;color:var(--md-primary-text-color);display:-webkit-box;font-size:1rem;font-weight:700;height:3rem;line-height:1.5rem;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:normal;width:100%}:host(md-card-alert) .md-card-alert-subtitle{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;color:var(--md-secondary-text-color);font-size:.875rem;gap:.25rem;margin:0}:host(md-card-alert) .md-card-alert-subtitle-icon{flex-shrink:0;--md-icon-size:1rem}:host(md-card-alert) .md-card-alert-details{align-content:center;align-items:stretch;display:flex;flex-flow:column nowrap;justify-content:flex-start;background:var(--md-background-tertiary,#f3f4f6);border-radius:.5rem;gap:.1875rem;padding:.75rem}:host(md-card-alert) .md-card-alert-details-heading{color:var(--md-secondary-text-color);font-size:.875rem;margin-bottom:.125rem}:host(md-card-alert) .md-card-alert-detail-row{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:space-between}:host(md-card-alert) .md-card-alert-detail-label{color:var(--md-primary-text-color);font-size:.875rem;font-weight:700;margin-bottom:.125rem}:host(md-card-alert) .md-card-alert-detail-value{color:var(--md-primary-text-color);font-size:.875rem;text-align:right;margin-bottom:.125rem}:host(md-card-alert) .md-card-alert-detail-value--highlighted{color:var(--md-alert-error-text-color,#dc2626)}:host(md-card-alert) .md-card-alert-insight{align-content:center;align-items:flex-start;display:flex;flex-flow:row nowrap;justify-content:flex-start;background:var(--card-ai-blue-bg-color,#eff6ff);border-radius:.5rem;border:1px solid var(--badge-confidence-cobalt-border-color,#dbeafe);color:var(--md-primary-text-color);gap:.5rem;padding:.625rem .75rem}:host(md-card-alert) .md-card-alert-insight-icon{color:var(--badge-status-accent-text-color,#0284c7);flex-shrink:0;margin-top:.0625rem;--md-icon-size:1rem}:host(md-card-alert) .md-card-alert-insight-text{font-size:.875rem;line-height:1.25rem}:host(md-card-alert) .md-card-alert-actions{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;gap:.5rem}`}};
1
+ export const __webpack_esm_id__=7137;export const __webpack_esm_ids__=[7137];export const __webpack_esm_modules__={7137(r,e,t){t.d(e,{A:()=>a});const a=t(2927).css`:host(md-card-alert){display:block}:host(md-card-alert) .md-card-alert{align-content:center;align-items:stretch;display:flex;flex-flow:column nowrap;justify-content:flex-start;background:var(--md-glass-overlay-bg-color);border:1px solid var(--md-quaternary-bg-color);border-radius:.75rem;box-sizing:border-box;box-shadow:0 2px 8px rgba(0,0,0,.1);gap:.75rem;padding:.75rem;width:19.5625rem}:host(md-card-alert) .md-card-alert--no-insight{height:329px;max-height:329px;min-height:329px}:host(md-card-alert) .md-card-alert:hover{background:var(--md-card-v2-background-hover,var(--md-glass-overlay-bg-color));border:1px solid var(--card-v2-border-hover,var(--md-quaternary-bg-color))}:host(md-card-alert) .md-card-alert--expanded{border:1px solid var(--md-primary-text-color)}:host(md-card-alert) .md-card-alert:focus{outline:0}:host(md-card-alert) .md-card-alert-header{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:space-between;flex-wrap:nowrap}:host(md-card-alert) .md-card-alert-chips{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;gap:.375rem;min-width:0;overflow:hidden}:host(md-card-alert) .md-card-alert-timestamp{color:var(--md-secondary-text-color);font-size:.875rem;font-weight:400;flex-shrink:0}:host(md-card-alert) .md-card-alert-title-section{align-content:center;align-items:flex-start;display:flex;flex-flow:column nowrap;justify-content:flex-start;gap:.125rem;min-width:0;width:100%}:host(md-card-alert) .md-card-alert-title{-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;color:var(--md-primary-text-color);display:-webkit-box;font-size:1rem;font-weight:700;max-height:3rem;line-height:1.5rem;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:normal;width:100%}:host(md-card-alert) .md-card-alert-subtitle{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;color:var(--md-secondary-text-color);font-size:.875rem;gap:.25rem;margin:0}:host(md-card-alert) .md-card-alert-subtitle-icon{flex-shrink:0;--md-icon-size:1rem}:host(md-card-alert) .md-card-alert-details{align-content:center;align-items:stretch;display:flex;flex-flow:column nowrap;justify-content:flex-start;margin-top:auto;background:var(--md-subtle-bg-color,#f3f4f6);border-radius:.5rem;gap:.1875rem;padding:.75rem}:host(md-card-alert) .md-card-alert-details-heading{color:var(--md-secondary-text-color);font-size:.875rem;margin-bottom:.125rem}:host(md-card-alert) .md-card-alert-detail-row{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:space-between}:host(md-card-alert) .md-card-alert-detail-label{color:var(--md-primary-text-color);font-size:.875rem;font-weight:700;margin-bottom:.125rem}:host(md-card-alert) .md-card-alert-detail-value{color:var(--md-primary-text-color);font-size:.875rem;text-align:right;margin-bottom:.125rem}:host(md-card-alert) .md-card-alert-detail-value--highlighted{color:var(--md-alert-error-text-color,#dc2626)}:host(md-card-alert) .md-card-alert-insight{align-content:center;align-items:flex-start;display:flex;flex-flow:row nowrap;justify-content:flex-start;background:var(--card-ai-blue-bg-color,#eff6ff);border-radius:.5rem;border:1px solid var(--badge-confidence-cobalt-border-color,#dbeafe);color:var(--md-primary-text-color);gap:.5rem;padding:.625rem .75rem}:host(md-card-alert) .md-card-alert-insight-icon{color:var(--badge-status-accent-text-color,#0284c7);flex-shrink:0;margin-top:.0625rem;--md-icon-size:1rem}:host(md-card-alert) .md-card-alert-insight-text{font-size:.875rem;line-height:1.25rem}:host(md-card-alert) .md-card-alert-actions{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;gap:.5rem}`}};
@@ -1,17 +1,15 @@
1
- var t,e,i={4882(t,e,i){i.d(e,{I:()=>o,v:()=>m}),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;!function(t){let e=class extends a.LitElement{constructor(){super(...arguments),this.severity="",this.category="",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:"info-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:[]}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.constructor.locale,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,{I:()=>o,v:()=>m}),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;!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`
2
2
  <div class="md-card-alert-header">
3
3
  <div class="md-card-alert-chips">
4
- ${this.severity?a.html`
5
- <md-chip color=${this.severityColor} small>
6
- <md-icon
7
- name=${this.severityIcon}
8
- size="14"
9
- iconSet="momentumDesign"
10
- slot="custom-left-content"
11
- ></md-icon>
12
- </md-chip>
13
- `:a.nothing}
14
- ${this.category?a.html`<md-chip value=${this.category} color="neutral" small></md-chip>`:a.nothing}
4
+ <md-chip color=${this.severityColor} value=${this.category} small>
5
+ <md-icon
6
+ name=${this.severityIcon}
7
+ size="14"
8
+ iconSet="momentumDesign"
9
+ slot="custom-left-content"
10
+ ></md-icon>
11
+ </md-chip>
12
+ ${this.secondaryChip?a.html`<md-chip color="confidence-cobalt" value=${this.secondaryChip} small></md-chip>`:a.nothing}
15
13
  </div>
16
14
  ${this.renderTimestamp()}
17
15
  </div>
@@ -48,11 +46,11 @@ var t,e,i={4882(t,e,i){i.d(e,{I:()=>o,v:()=>m}),i(5983),i(2583),i(1821);var o,r=
48
46
  <md-icon name="sparkle-filled" iconSet="momentumDesign" class="md-card-alert-insight-icon"></md-icon>
49
47
  <span class="md-card-alert-insight-text">${this.insight}</span>
50
48
  </div>
51
- `:a.nothing}renderActions(){return a.html`
49
+ `:a.nothing}renderActions(){const t=this.resolvedLocale.dismiss;return a.html`
52
50
  <div class="md-card-alert-actions">
53
51
  <md-button
54
52
  size="32"
55
- variant="primary"
53
+ variant="secondary"
56
54
  class="md-card-alert-primary-action"
57
55
  ariaLabel=${this.primaryActionLabel}
58
56
  @click=${this.handlePrimaryAction}
@@ -68,25 +66,24 @@ var t,e,i={4882(t,e,i){i.d(e,{I:()=>o,v:()=>m}),i(5983),i(2583),i(1821);var o,r=
68
66
  <md-button
69
67
  size="32"
70
68
  variant="secondary"
71
- outline
72
69
  class="md-card-alert-dismiss"
73
- ariaLabel=${this.constructor.locale.dismiss}
70
+ ariaLabel=${t}
74
71
  @click=${this.handleDismiss}
75
72
  >
76
- <span slot="text">${this.constructor.locale.dismiss}</span>
73
+ <span slot="text">${t}</span>
77
74
  </md-button>
78
75
  `:a.nothing}
79
76
  </div>
80
77
  `}render(){return a.html`
81
78
  <div
82
- class=${(0,l.classMap)({"md-card-alert":!0,"md-card-alert--no-insight":!this.hasInsight})}
79
+ class=${(0,l.classMap)({"md-card-alert":!0,"md-card-alert--no-insight":!this.hasInsight,"md-card-alert--expanded":this.expanded})}
83
80
  part="card"
84
81
  tabindex="0"
85
82
  >
86
83
  ${this.renderHeader()} ${this.renderTitleSection()} ${this.renderDetails()} ${this.renderInsight()}
87
84
  ${this.renderActions()}
88
85
  </div>
89
- `}};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,"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}(m||(m={}))},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`
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}(m||(m={}))},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`
90
87
  <style>
91
88
  :host .md-chip {
92
89
  ${this.renderBgColor()};
@@ -137,4 +134,4 @@ var t,e,i={4882(t,e,i){i.d(e,{I:()=>o,v:()=>m}),i(5983),i(2583),i(1821);var o,r=
137
134
  <slot name="custom-right-content" part="chip-right"> </slot>
138
135
  </span>
139
136
  </md-tooltip>
140
- `}};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 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 x from"../4781.js";r.C(x);import*as T from"../5584.js";r.C(T);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 M from"../9613.js";r.C(M);import*as O from"../5323.js";r.C(O);import*as E from"../6631.js";r.C(E);import*as P from"../9558.js";r.C(P);import*as k from"../2708.js";r.C(k);import*as _ from"../7137.js";r.C(_);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 z=(R=r.O(R)).v,W=R.I;export{z as CardAlert,W as CardAlertSeverity};
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 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 x from"../4781.js";r.C(x);import*as T from"../5584.js";r.C(T);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 O from"../7582.js";r.C(O);import*as I from"../9613.js";r.C(I);import*as M from"../5323.js";r.C(M);import*as E from"../6631.js";r.C(E);import*as P from"../9558.js";r.C(P);import*as k from"../2708.js";r.C(k);import*as _ from"../7137.js";r.C(_);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 z=(R=r.O(R)).v,L=R.I;export{z as CardAlert,L as CardAlertSeverity};
@@ -542,20 +542,18 @@ import*as t from"luxon";var e,i,s={3701(t,e,i){i.d(e,{n:()=>s});var s,o=i(2900),
542
542
  ${this.renderHeader()}
543
543
  <div class="content-margin">${this.renderCardText()} ${this.renderFooter()}</div>
544
544
  </div>
545
- `}};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,a.w)("md-card-ai")],e),t.ELEMENT=e}(o||(o={}))},4882(t,e,i){i.d(e,{v:()=>u}),i(5983),i(2583),i(1821);var s,o=i(9609),a=i(4084),r=i(2927),n=i(8899),l=i(4955),d=i(7137),h=function(t,e,i,s){var o,a=arguments.length,r=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.CRITICAL="critical",t.MEDIUM="medium"}(s||(s={}));const c={[s.CRITICAL]:{icon:"flag-filled",color:"negative"},[s.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;!function(t){let e=class extends r.LitElement{constructor(){super(...arguments),this.severity="",this.category="",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(s).includes(e)?e:void 0}get severityIcon(){return this.normalizedSeverity?c[this.normalizedSeverity].icon:"info-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:[]}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.constructor.locale,i=Date.now(),s="number"==typeof t?t:new Date(t).getTime();if(isNaN(s))return"";const o=i-s;if(o<0)return e.justNow;const a=Math.floor(o/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
+ `}};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,a.w)("md-card-ai")],e),t.ELEMENT=e}(o||(o={}))},4882(t,e,i){i.d(e,{v:()=>u}),i(5983),i(2583),i(1821);var s,o=i(9609),a=i(4084),r=i(2927),n=i(8899),l=i(4955),d=i(7137),h=function(t,e,i,s){var o,a=arguments.length,r=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.CRITICAL="critical",t.MEDIUM="medium"}(s||(s={}));const c={[s.CRITICAL]:{icon:"flag-filled",color:"negative"},[s.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;!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(s).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(),s="number"==typeof t?t:new Date(t).getTime();if(isNaN(s))return"";const o=i-s;if(o<0)return e.justNow;const a=Math.floor(o/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
- ${this.severity?r.html`
549
- <md-chip color=${this.severityColor} small>
550
- <md-icon
551
- name=${this.severityIcon}
552
- size="14"
553
- iconSet="momentumDesign"
554
- slot="custom-left-content"
555
- ></md-icon>
556
- </md-chip>
557
- `:r.nothing}
558
- ${this.category?r.html`<md-chip value=${this.category} color="neutral" small></md-chip>`:r.nothing}
548
+ <md-chip color=${this.severityColor} value=${this.category} small>
549
+ <md-icon
550
+ name=${this.severityIcon}
551
+ size="14"
552
+ iconSet="momentumDesign"
553
+ slot="custom-left-content"
554
+ ></md-icon>
555
+ </md-chip>
556
+ ${this.secondaryChip?r.html`<md-chip color="confidence-cobalt" value=${this.secondaryChip} small></md-chip>`:r.nothing}
559
557
  </div>
560
558
  ${this.renderTimestamp()}
561
559
  </div>
@@ -592,11 +590,11 @@ import*as t from"luxon";var e,i,s={3701(t,e,i){i.d(e,{n:()=>s});var s,o=i(2900),
592
590
  <md-icon name="sparkle-filled" iconSet="momentumDesign" class="md-card-alert-insight-icon"></md-icon>
593
591
  <span class="md-card-alert-insight-text">${this.insight}</span>
594
592
  </div>
595
- `:r.nothing}renderActions(){return r.html`
593
+ `:r.nothing}renderActions(){const t=this.resolvedLocale.dismiss;return r.html`
596
594
  <div class="md-card-alert-actions">
597
595
  <md-button
598
596
  size="32"
599
- variant="primary"
597
+ variant="secondary"
600
598
  class="md-card-alert-primary-action"
601
599
  ariaLabel=${this.primaryActionLabel}
602
600
  @click=${this.handlePrimaryAction}
@@ -612,25 +610,24 @@ import*as t from"luxon";var e,i,s={3701(t,e,i){i.d(e,{n:()=>s});var s,o=i(2900),
612
610
  <md-button
613
611
  size="32"
614
612
  variant="secondary"
615
- outline
616
613
  class="md-card-alert-dismiss"
617
- ariaLabel=${this.constructor.locale.dismiss}
614
+ ariaLabel=${t}
618
615
  @click=${this.handleDismiss}
619
616
  >
620
- <span slot="text">${this.constructor.locale.dismiss}</span>
617
+ <span slot="text">${t}</span>
621
618
  </md-button>
622
619
  `:r.nothing}
623
620
  </div>
624
621
  `}render(){return r.html`
625
622
  <div
626
- class=${(0,l.classMap)({"md-card-alert":!0,"md-card-alert--no-insight":!this.hasInsight})}
623
+ class=${(0,l.classMap)({"md-card-alert":!0,"md-card-alert--no-insight":!this.hasInsight,"md-card-alert--expanded":this.expanded})}
627
624
  part="card"
628
625
  tabindex="0"
629
626
  >
630
627
  ${this.renderHeader()} ${this.renderTitleSection()} ${this.renderDetails()} ${this.renderInsight()}
631
628
  ${this.renderActions()}
632
629
  </div>
633
- `}};e.locale=Object.assign({},p),h([(0,n.property)({type:String})],e.prototype,"severity",void 0),h([(0,n.property)({type:String})],e.prototype,"category",void 0),h([(0,n.property)({type:String})],e.prototype,"timestamp",void 0),h([(0,n.property)({type:String})],e.prototype,"title",void 0),h([(0,n.property)({type:String})],e.prototype,"queueName",void 0),h([(0,n.property)({type:Array})],e.prototype,"details",void 0),h([(0,n.property)({type:String})],e.prototype,"insight",void 0),h([(0,n.property)({type:String})],e.prototype,"primaryActionLabel",void 0),h([(0,n.property)({type:Boolean})],e.prototype,"primaryActionDropdown",void 0),h([(0,n.property)({type:String})],e.prototype,"detailsHeading",void 0),h([(0,n.property)({type:Boolean})],e.prototype,"showDismiss",void 0),h([(0,n.property)({type:Boolean})],e.prototype,"expanded",void 0),h([(0,n.state)()],e.prototype,"relativeTime",void 0),e=h([(0,o.w)("md-card-alert")],e),t.ELEMENT=e}(u||(u={}))},7540(t,e,i){i.d(e,{h:()=>u}),i(5983),i(1821),i(9613);var s=i(9609),o=i(4084),a=i(2927),r=i(8899),n=i(4955),l=i(9642),d=i(513),h=function(t,e,i,s){var o,a=arguments.length,r=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};const c="hh:mm:ss";var p,u;!function(t){t.DEFAULT="default",t.ACTIVE="active",t.INACTIVE="inactive"}(p||(p={})),function(t){let e=class extends a.LitElement{constructor(){super(...arguments),this.state=p.DEFAULT,this.identifier=void 0,this.header=void 0,this.info=void 0,this.data=void 0,this.createdTime=0,this.active=!1,this.expandable=!1,this.expandAriaLabel="Expand for more details",this.renderedData=""}connectedCallback(){super.connectedCallback(),this.checkForExtraInfoSlot()}disconnectedCallback(){super.disconnectedCallback(),this.clearInterval()}clearInterval(){this.interval&&(clearInterval(this.interval),this.interval=void 0)}static get styles(){return[o.A,d.A]}get isCardActive(){return this.state===p.ACTIVE}willUpdate(t){super.willUpdate(t),(t.has("active")||t.has("data")||t.has("createdTime"))&&this.calculateRenderedData()}expandCardToggled(){var t;this.state=this.isCardActive?p.DEFAULT:p.ACTIVE,this.dispatchEvent(new CustomEvent("expand-card-toggled",{detail:{identifier:null!==(t=this.identifier)&&void 0!==t?t:"",active:this.isCardActive},bubbles:!0,composed:!0}))}checkForExtraInfoSlot(){var t;(null===(t=this.extraInfoSlot)||void 0===t?void 0:t.assignedNodes().length)>0?this.setAttribute("has-extra-info",""):this.removeAttribute("has-extra-info")}handleExtraInfoSlotChange(t){this.checkForExtraInfoSlot()}get cardClassMap(){return{"md-card-v2":!0,[`md-card--${this.state}`]:!0}}get contentClassMap(){return{"md-card-v2-content":!0,inactive:this.state===p.INACTIVE}}get footerExpandClassMap(){return{"md-card-v2-footer-expand":!0,hidden:!this.expandable}}get expandCardHandler(){return this.expandable?this.expandCardToggled:null}renderHeader(){return a.html`
630
+ `}};e.locale=Object.assign({},p),h([(0,n.property)({type:String})],e.prototype,"severity",void 0),h([(0,n.property)({type:String})],e.prototype,"category",void 0),h([(0,n.property)({type:String})],e.prototype,"secondaryChip",void 0),h([(0,n.property)({type:String})],e.prototype,"timestamp",void 0),h([(0,n.property)({type:String})],e.prototype,"title",void 0),h([(0,n.property)({type:String})],e.prototype,"queueName",void 0),h([(0,n.property)({type:Array})],e.prototype,"details",void 0),h([(0,n.property)({type:String})],e.prototype,"insight",void 0),h([(0,n.property)({type:String})],e.prototype,"primaryActionLabel",void 0),h([(0,n.property)({type:Boolean})],e.prototype,"primaryActionDropdown",void 0),h([(0,n.property)({type:String})],e.prototype,"detailsHeading",void 0),h([(0,n.property)({type:Boolean})],e.prototype,"showDismiss",void 0),h([(0,n.property)({type:Boolean})],e.prototype,"expanded",void 0),h([(0,n.state)()],e.prototype,"relativeTime",void 0),e=h([(0,o.w)("md-card-alert")],e),t.ELEMENT=e}(u||(u={}))},7540(t,e,i){i.d(e,{h:()=>u}),i(5983),i(1821),i(9613);var s=i(9609),o=i(4084),a=i(2927),r=i(8899),n=i(4955),l=i(9642),d=i(513),h=function(t,e,i,s){var o,a=arguments.length,r=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};const c="hh:mm:ss";var p,u;!function(t){t.DEFAULT="default",t.ACTIVE="active",t.INACTIVE="inactive"}(p||(p={})),function(t){let e=class extends a.LitElement{constructor(){super(...arguments),this.state=p.DEFAULT,this.identifier=void 0,this.header=void 0,this.info=void 0,this.data=void 0,this.createdTime=0,this.active=!1,this.expandable=!1,this.expandAriaLabel="Expand for more details",this.renderedData=""}connectedCallback(){super.connectedCallback(),this.checkForExtraInfoSlot()}disconnectedCallback(){super.disconnectedCallback(),this.clearInterval()}clearInterval(){this.interval&&(clearInterval(this.interval),this.interval=void 0)}static get styles(){return[o.A,d.A]}get isCardActive(){return this.state===p.ACTIVE}willUpdate(t){super.willUpdate(t),(t.has("active")||t.has("data")||t.has("createdTime"))&&this.calculateRenderedData()}expandCardToggled(){var t;this.state=this.isCardActive?p.DEFAULT:p.ACTIVE,this.dispatchEvent(new CustomEvent("expand-card-toggled",{detail:{identifier:null!==(t=this.identifier)&&void 0!==t?t:"",active:this.isCardActive},bubbles:!0,composed:!0}))}checkForExtraInfoSlot(){var t;(null===(t=this.extraInfoSlot)||void 0===t?void 0:t.assignedNodes().length)>0?this.setAttribute("has-extra-info",""):this.removeAttribute("has-extra-info")}handleExtraInfoSlotChange(t){this.checkForExtraInfoSlot()}get cardClassMap(){return{"md-card-v2":!0,[`md-card--${this.state}`]:!0}}get contentClassMap(){return{"md-card-v2-content":!0,inactive:this.state===p.INACTIVE}}get footerExpandClassMap(){return{"md-card-v2-footer-expand":!0,hidden:!this.expandable}}get expandCardHandler(){return this.expandable?this.expandCardToggled:null}renderHeader(){return a.html`
634
631
  <div class="md-card-v2-header-title">
635
632
  <h3>${this.header}</h3>
636
633
  ${this.info?a.html`
@@ -2436,4 +2433,4 @@ import*as t from"luxon";var e,i,s={3701(t,e,i){i.d(e,{n:()=>s});var s,o=i(2900),
2436
2433
  @click=${this.stopEventPropagation}
2437
2434
  @keyup=${this.stopEventPropagation}
2438
2435
  @keydown=${this.stopEventPropagation}
2439
- ></slot>`}stopArrowKeyEventPropagation(t){t instanceof KeyboardEvent&&(0,$t.q)(t.key)&&t.stopPropagation()}isExpandCollapseKey(t){return t===Tt.Uz.ArrowRight||t===Tt.Uz.ArrowLeft}stopEventPropagation(t){(t instanceof KeyboardEvent&&((0,$t.o)(t.key)||this.isExpandCollapseKey(t.key))||t instanceof MouseEvent)&&t.stopPropagation()}setExpanded(t){this.expanded=t,this.setAttribute("aria-expanded",String(this.expanded)),this.dispatchEvent(new CustomEvent("list-item-expanded",{bubbles:!0,detail:this.expanded}))}_handleExpand(t){t.stopPropagation(),this.expandable&&this.setExpanded(!this.expanded)}_handleListItemClick(t){const e=t.composedPath(),i=e[0];!e.includes(this.header)&&i!==this||this.disabled||this.dispatchEvent(new CustomEvent("list-item-click",{bubbles:!0}))}_handleArrowKeyExpand(t){t.key!==Tt.Uz.ArrowRight||this.expanded?t.key===Tt.Uz.ArrowLeft&&this.expanded&&(t.stopPropagation(),this.setExpanded(!1)):(t.stopPropagation(),this.setExpanded(!0))}connectedCallback(){super.connectedCallback(),this.setAttribute("role","listitem"),this.setAttribute("tabindex","0"),this.addEventListener("click",this._handleListItemClick),this.expandable&&this.addEventListener("keydown",this._handleArrowKeyExpand)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this._handleListItemClick),this.removeEventListener("keydown",this._handleArrowKeyExpand)}static get styles(){return xt}};kt([(0,v.property)({type:String,reflect:!0})],e.prototype,"label",void 0),kt([(0,v.property)({type:String,reflect:!0,attribute:"secondary-label"})],e.prototype,"secondaryLabel",void 0),kt([(0,v.property)({type:String,reflect:!0,attribute:"tertiary-label"})],e.prototype,"tertiaryLabel",void 0),kt([(0,v.property)({type:Boolean})],e.prototype,"expandable",void 0),kt([(0,v.property)({type:Boolean,reflect:!0})],e.prototype,"expanded",void 0),kt([(0,v.property)({type:Boolean,reflect:!0})],e.prototype,"disabled",void 0),kt([(0,v.property)({type:String})],e.prototype,"variant",void 0),kt([(0,v.property)({type:String,attribute:"expand-label"})],e.prototype,"expandLabel",void 0),kt([(0,v.query)(".header")],e.prototype,"header",void 0),e=kt([(0,st.w)("md-list-item-v2")],e),t.ELEMENT=e}(St||(St={}));var At,Lt=function(t,e,i,s){var o,a=arguments.length,r=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};!function(t){let e=class extends b.LitElement{constructor(){super(...arguments),this.gap="none",this.orientation="vertical"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","list"),this.addEventListener("keydown",this.handleKeyDown)}render(){return b.html` <slot @click=${this.handleMouseClick}></slot>`}get listItems(){return Array.from(this.assignedNodes).filter(t=>t instanceof St.ELEMENT&&!t.disabled)}handleMouseClick(t){const e=this.getCurrentIndex(t.target);this.resetTabIndexAndSetActiveTabIndex(e)}getNewIndexBasedOnKey(t,e,i){switch(t){case Tt.Uz.ArrowDown:return(e+1)%i;case Tt.Uz.ArrowUp:return(e-1+i)%i;case Tt.Uz.Home:return 0;case Tt.Uz.End:return i-1;default:return}}handleKeyDown(t){var e;const i=this.getCurrentIndex(t.target),s=this.getNewIndexBasedOnKey(t.key,i,this.listItems.length);void 0!==s&&(null===(e=this.listItems[s])||void 0===e||e.focus(),this.resetTabIndexAndSetActiveTabIndex(s))}getCurrentIndex(t){return this.listItems.findIndex(e=>e===t||e===t.parentElement)}resetTabIndexAndSetActiveTabIndex(t){this.listItems.forEach((e,i)=>{const s=t===i?"0":"-1";e.setAttribute("tabindex",s)})}static get styles(){return xt}};Lt([(0,v.property)({type:String})],e.prototype,"gap",void 0),Lt([(0,v.property)({type:String})],e.prototype,"orientation",void 0),Lt([(0,v.queryAssignedNodes)()],e.prototype,"assignedNodes",void 0),e=Lt([(0,st.w)("md-list-v2")],e),t.ELEMENT=e}(At||(At={}));var It=i(6131),Dt=i(8552),Mt=i(1161),Ot=i(7030),Rt=i(708),_t=i(4085),Pt=i(5410),Bt=i(329),zt=i(8751),Ft=i(5566),jt=i(405),Nt=i(3477),Vt=i(2708),Ut=i(3949),Ht=i(8358);const qt=b.css`:host{width:100%;height:100%;display:block;background-color:var(--md-textColor-primary);opacity:.5}:host([variant=circle]){border-radius:50%}:host([variant=rectangular]){border-radius:0}:host([variant=rounded]){border-radius:.5rem}:host([animation=none]){animation:none}:host([animation=pulse]){animation:skeleton-pulse 2s ease-in-out infinite}@keyframes skeleton-pulse{0%{opacity:.5}50%{opacity:.25}100%{opacity:.5}}`;var Kt,Wt=function(t,e,i,s){var o,a=arguments.length,r=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};!function(t){let e=class extends b.LitElement{constructor(){super(...arguments),this.variant="rounded",this.animation="pulse"}render(){var t,e;return this.style.width=null!==(t=this.width)&&void 0!==t?t:this.style.width,this.style.height=null!==(e=this.height)&&void 0!==e?e:this.style.height,b.html`<slot></slot>`}static get styles(){return[qt]}};Wt([(0,v.property)({type:String})],e.prototype,"width",void 0),Wt([(0,v.property)({type:String})],e.prototype,"height",void 0),Wt([(0,v.property)({reflect:!0})],e.prototype,"variant",void 0),Wt([(0,v.property)({reflect:!0})],e.prototype,"animation",void 0),e=Wt([(0,st.w)("md-skeleton")],e),t.ELEMENT=e}(Kt||(Kt={}));var Yt=i(3773),Gt=i(9773),Xt=i(7936),Zt=i(3273),Qt=i(120),Jt=i(6056),te=i(8543),ee=i(1479),ie=i(1853),se=i(2218),oe=i(6328),ae=i(7253),re=i(3876)},3876(t,e,i){i.d(e,{IB:()=>r,N_:()=>o,vz:()=>a});var s=i(4980);class o{get isMomentumV2Enabled(){return"momentumV2"===this.themeName}constructor(t){this.isDarkMode=!1,this.themeName="lumos",this.backgroundMode="DEFAULT",this.isVisualRebrandEnabled=!1,this.isMomentumAvatarEnabled=!1,(0,s.makeObservable)(this,{isDarkMode:s.observable,themeName:s.observable,backgroundMode:s.observable,isVisualRebrandEnabled:s.observable,isMomentumAvatarEnabled:s.observable,isMomentumV2Enabled:s.computed,setDarkMode:s.action,setThemeName:s.action,setBackgroundMode:s.action,setVisualRebrandEnabled:s.action,setMomentumAvatar:s.action,update:s.action}),t&&this.update(t)}update(t){void 0!==t.isDarkMode&&(this.isDarkMode=t.isDarkMode),void 0!==t.themeName&&(this.themeName=t.themeName),void 0!==t.backgroundMode&&(this.backgroundMode=t.backgroundMode),void 0!==t.isVisualRebrandEnabled&&(this.isVisualRebrandEnabled=t.isVisualRebrandEnabled),void 0!==t.isMomentumAvatarEnabled&&(this.isMomentumAvatarEnabled=t.isMomentumAvatarEnabled)}setDarkMode(t){this.isDarkMode=t}setThemeName(t){this.themeName=t}setBackgroundMode(t){this.backgroundMode=t}setVisualRebrandEnabled(t){this.isVisualRebrandEnabled=t}setMomentumAvatar(t){this.isMomentumAvatarEnabled=t}}const a=new o;function r(t="MomentumUIThemeManager",e=a){"undefined"!=typeof globalThis&&(globalThis[t]=e),"undefined"!=typeof window&&(window[t]=e),void 0!==i.g&&(i.g[t]=e)}},7704(t,e,i){i.d(e,{Io:()=>r.I,TS:()=>n.T,UM:()=>a.U,dY:()=>o.d,wW:()=>l.w,yC:()=>s.y}),i(2364);var s=i(3203),o=i(9938),a=i(5201),r=i(4781),n=i(608),l=i(9609)},2050(t,e,i){i.d(e,{QZ:()=>a,Qx:()=>r,XI:()=>l,dw:()=>d,qi:()=>n,sg:()=>o,ws:()=>s});const s=(t,e)=>{const i=[];[e].forEach(e=>{i.push(...((t,e)=>{const i=e.length;if(0===i)return[];const s=[],o=t.toLowerCase(),a=e.toLowerCase();let r=0,n=o.indexOf(a,r);for(;n>-1;)r=n+i,s.push([n,r]),n=o.indexOf(a,n+1);return s})(t,e))});const s=(([...t])=>{if(!t.length)return[];t.sort((t,e)=>t[0]!==e[0]?t[0]-e[0]:t[1]-e[1]);const e=[];let i=t[0][0],s=t[0][1];return t.shift(),t.forEach(([t,o])=>{t>=s?(e.push([i,s]),i=t,s=o):o>s&&(s=o)}),e.push([i,s]),e})(i),o=[];let a=0;return s.forEach(([e,i])=>{a!==e&&o.push({range:[e,i],matching:!1,text:t.slice(a,e)}),o.push({range:[e,i],matching:!0,text:t.slice(e,i)}),a=i}),a!==t.length&&o.push({range:[a],matching:!1,text:t.slice(a)}),o};function o(t,e,i){let s;return function(...o){const a=this,r=i&&!s;clearTimeout(s),s=setTimeout(function(){s=null,i||t.apply(a,o)},e),r&&t.apply(a,o)}}function a(t,e){return function e(i){if(!i||i===document||i===window)return null;const s=i.closest(t);return null!=s?s:e(i.getRootNode().host)}(e)}function r(t,e){return e>=0&&e<t.length?t[e]:void 0}function n(t,e=document){var i;const s=e instanceof ShadowRoot||e instanceof Document?e.querySelector(t):null===(i=e.shadowRoot)||void 0===i?void 0:i.querySelector(t);if(s)return s;const o=Array.from(e.querySelectorAll("*")).map(t=>{var e;return null!==(e=t.shadowRoot)&&void 0!==e?e:null}).filter(t=>null!==t);for(const e of o){const i=n(t,e);if(i)return i}return null}function l(t,e=document){if(e instanceof ShadowRoot||e instanceof Document){const i=e.getElementById(t);if(i)return i}const i=Array.from(e.querySelectorAll("*")).map(t=>{var e;return null!==(e=t.shadowRoot)&&void 0!==e?e:null}).filter(t=>null!==t);for(const e of i){const i=l(t,e);if(i)return i}return null}function d(){var t;let e=document.activeElement;for(;null===(t=null==e?void 0:e.shadowRoot)||void 0===t?void 0:t.activeElement;)e=e.shadowRoot.activeElement;return e}},7154(t,e,i){i.d(e,{o:()=>a,q:()=>r});var s=i(2900);const o=[s.Uz.ArrowDown,s.Uz.ArrowUp,s.Uz.ArrowLeft,s.Uz.ArrowRight,s.Uz.Home,s.Uz.End];function a(t){return t===s.Uz.Enter||t===s.Uz.Space||t===s.Uz.NumpadEnter}function r(t){return o.includes(t)}},9642(e,i,s){var o,a;e.exports=(o={DateTime:()=>t.DateTime,Duration:()=>t.Duration},a={},s.d(a,o),a)}},o={};function a(t){var e=o[t];if(void 0!==e)return e.exports;var i=o[t]={exports:{}};return s[t].call(i.exports,i,i.exports,a),i.exports}a.m=s,e=[],a.O=(t,i,s,o)=>{if(!i){var r=1/0;for(h=0;h<e.length;h++){for(var[i,s,o]=e[h],n=!0,l=0;l<i.length;l++)(!1&o||r>=o)&&Object.keys(a.O).every(t=>a.O[t](i[l]))?i.splice(l--,1):(n=!1,o<r&&(r=o));if(n){e.splice(h--,1);var d=s();void 0!==d&&(t=d)}}return t}o=o||0;for(var h=e.length;h>0&&e[h-1][2]>o;h--)e[h]=e[h-1];e[h]=[i,s,o]},a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var i in e)a.o(e,i)&&!a.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{a as __webpack_require__};i={519:0,561:0,708:0,1037:0,1521:0,1682:0,1788:0,1807:0,1821:0,2050:0,2105:0,2139:0,2330:0,2434:0,2779:0,2781:0,2900:0,2909:0,2942:0,3079:0,3539:0,3747:0,3876:0,3938:0,3943:0,4139:0,4259:0,4431:0,4908:0,4958:0,4971:0,5156:0,5310:0,5323:0,5757:0,5983:0,6029:0,6085:0,6132:0,6220:0,6433:0,6587:0,6724:0,6812:0,6834:0,7145:0,7154:0,7219:0,7455:0,7684:0,7704:0,7711:0,7927:0,8138:0,8180:0,8220:0,8334:0,8654:0,9189:0,9613:0,9642:0,9669:0},a.C=t=>{var e,s,{__webpack_esm_ids__:o,__webpack_esm_modules__:r,__webpack_esm_runtime__:n}=t,l=0;for(e in r)a.o(r,e)&&(a.m[e]=r[e]);for(n&&n(a);l<o.length;l++)s=o[l],a.o(i,s)&&i[s]&&i[s][0](),i[o[l]]=0;a.O()},a.O.j=t=>0===i[t];import*as r from"./7103.js";a.C(r);import*as n from"./9609.js";a.C(n);import*as l from"./4084.js";a.C(l);import*as d from"./4955.js";a.C(d);import*as h from"./3517.js";a.C(h);import*as c from"./1156.js";a.C(c);import*as p from"./3305.js";a.C(p);import*as u from"./4739.js";a.C(u);import*as m from"./7755.js";a.C(m);import*as b from"./2364.js";a.C(b);import*as v from"./5308.js";a.C(v);import*as y from"./2577.js";a.C(y);import*as g from"./8441.js";a.C(g);import*as f from"./2797.js";a.C(f);import*as w from"./4700.js";a.C(w);import*as C from"./3970.js";a.C(C);import*as E from"./6343.js";a.C(E);import*as T from"./9336.js";a.C(T);import*as $ from"./6525.js";a.C($);import*as x from"./7582.js";a.C(x);import*as S from"./3842.js";a.C(S);import*as k from"./7162.js";a.C(k);import*as A from"./7119.js";a.C(A);import*as L from"./6325.js";a.C(L);import*as I from"./4449.js";a.C(I);import*as D from"./1392.js";a.C(D);import*as M from"./2599.js";a.C(M);import*as O from"./477.js";a.C(O);import*as R from"./4047.js";a.C(R);import*as _ from"./3365.js";a.C(_);import*as P from"./3331.js";a.C(P);import*as B from"./3272.js";a.C(B);import*as z from"./740.js";a.C(z);import*as F from"./6631.js";a.C(F);import*as j from"./93.js";a.C(j);import*as N from"./9558.js";a.C(N);import*as V from"./3543.js";a.C(V);import*as U from"./878.js";a.C(U);import*as H from"./7231.js";a.C(H);import*as q from"./5846.js";a.C(q);import*as K from"./742.js";a.C(K);import*as W from"./4973.js";a.C(W);import*as Y from"./476.js";a.C(Y);import*as G from"./2458.js";a.C(G);import*as X from"./3648.js";a.C(X);import*as Z from"./6816.js";a.C(Z);import*as Q from"./5432.js";a.C(Q);import*as J from"./9431.js";a.C(J);import*as tt from"./6933.js";a.C(tt);import*as et from"./6897.js";a.C(et);import*as it from"./7638.js";a.C(it);import*as st from"./8235.js";a.C(st);import*as ot from"./2273.js";a.C(ot);import*as at from"./405.js";a.C(at);import*as rt from"./8663.js";a.C(rt);import*as nt from"./2245.js";a.C(nt);import*as lt from"./861.js";a.C(lt);import*as dt from"./2583.js";a.C(dt);import*as ht from"./5958.js";a.C(ht);import*as ct from"./837.js";a.C(ct);import*as pt from"./5057.js";a.C(pt);import*as ut from"./6005.js";a.C(ut);import*as mt from"./8687.js";a.C(mt);import*as bt from"./3155.js";a.C(bt);import*as vt from"./6131.js";a.C(vt);import*as yt from"./6020.js";a.C(yt);import*as gt from"./6709.js";a.C(gt);import*as ft from"./7901.js";a.C(ft);import*as wt from"./1816.js";a.C(wt);import*as Ct from"./887.js";a.C(Ct);import*as Et from"./327.js";a.C(Et);import*as Tt from"./4839.js";a.C(Tt);import*as $t from"./5410.js";a.C($t);import*as xt from"./1161.js";a.C(xt);import*as St from"./226.js";a.C(St);import*as kt from"./23.js";a.C(kt);import*as At from"./4750.js";a.C(At);import*as Lt from"./2154.js";a.C(Lt);import*as It from"./9404.js";a.C(It);import*as Dt from"./2297.js";a.C(Dt);import*as Mt from"./7155.js";a.C(Mt);import*as Ot from"./7137.js";a.C(Ot);import*as Rt from"./8552.js";a.C(Rt);import*as _t from"./3477.js";a.C(_t);import*as Pt from"./2670.js";a.C(Pt);import*as Bt from"./513.js";a.C(Bt);import*as zt from"./5525.js";a.C(zt);import*as Ft from"./752.js";a.C(Ft);import*as jt from"./3182.js";a.C(jt);import*as Nt from"./9940.js";a.C(Nt);import*as Vt from"./4242.js";a.C(Vt);import*as Ut from"./1928.js";a.C(Ut);import*as Ht from"./4060.js";a.C(Ht);import*as qt from"./2451.js";a.C(qt);import*as Kt from"./1982.js";a.C(Kt);import*as Wt from"./9316.js";a.C(Wt);import*as Yt from"./7838.js";a.C(Yt);import*as Gt from"./7911.js";a.C(Gt);import*as Xt from"./2991.js";a.C(Xt);import*as Zt from"./9485.js";a.C(Zt);import*as Qt from"./6843.js";a.C(Qt);import*as Jt from"./3051.js";a.C(Jt);var te=a.O(void 0,[7103,9609,4084,4955,3517,1156,3305,4739,7755,2364,5308,2577,8441,2797,4700,3970,6343,9336,6525,7582,3842,7162,7119,6325,4449,1392,2599,477,4047,3365,3331,3272,740,6631,93,9558,3543,878,7231,5846,742,4973,476,2458,3648,6816,5432,9431,6933,6897,7638,8235,2273,405,8663,2245,861,2583,5958,837,5057,6005,8687,3155,6131,6020,6709,7901,1816,887,327,4839,5410,1161,226,23,4750,2154,9404,2297,7155,7137,8552,3477,2670,513,5525,752,3182,9940,4242,1928,4060,2451,1982,9316,7838,7911,2991,9485,6843,3051],()=>a(371));const ee=(te=a.O(te)).nD,ie=te.As,se=te.uo,oe=te.Lj,ae=te.Fc,re=te.ZT,ne=te.Fu,le=te.Y$,de=te.eu,he=te.uW,ce=te.Ex,pe=te.Qp,ue=te.$n,me=te.e2,be=te.Zp,ve=te.pI,ye=te.vg,ge=te.h$,fe=te.cM,we=te.Sc,Ce=te.$Q,Ee=te.vu,Te=te.iU,$e=te.xw,xe=te.BY,Se=te.a3,ke=te.Xz,Ae=te.YQ,Le=te.lr,Ie=te.$5,De=te.XE,Me=te.j_,Oe=te.xx,Re=te.Ur,_e=te.K7,Pe=te.sx,Be=te.T_,ze=te.ms,Fe=te.I,je=te.NG,Ne=te.Uz,Ve=te.gQ,Ue=te.oH,He=te.lV,qe=te.Yp,Ke=te.MJ,We=te.gE,Ye=te.IJ,Ge=te.$9,Xe=te.In,Ze=te.pd,Qe=te.bT,Je=te.JU,ti=te.N_,ei=te.B8,ii=te.ck,si=te.Eu,oi=te.Pj,ai=te.Rh,ri=te.A1,ni=te.DE,li=te.Dr,di=te.W1,hi=te.aF,ci=te.vd,pi=te.dK,ui=te.LR,mi=te.AM,bi=te.IE,vi=te.Cq,yi=te.z2,gi=te.pO,fi=te.z6,wi=te.EA,Ci=te.Ap,Ei=te.y$,Ti=te.oz,$i=te.Kp,xi=te.XI,Si=te.v1,ki=te.tU,Ai=te.L2,Li=te.Sx,Ii=te.ew,Di=te.AG,Mi=te.jF,Oi=te.m_,Ri=te.k0,_i=te.Ou,Pi=te.IB,Bi=te.vz;export{ee as Accordion,ie as AccordionItem,se as ActivityButton,oe as AdvanceList,ae as Alert,re as AlertBanner,ne as ArrayValidators,le as AudioPlayer,de as Avatar,he as AvatarType,ce as Badge,pe as Breadcrumb,ue as Button,me as ButtonGroup,be as Card,ve as CardAi,ye as CardAlert,ge as CardV2,fe as ChatMessage,we as Checkbox,Ce as CheckboxGroup,Ee as Chip,Te as Coachmark,$e as CoachmarkPopover,xe as CodeEditor,Se as ComboBox,ke as CompositeAvatar,Ae as CountryCodePicker,Le as DatePicker,Ie as DatePickerCalendar,De as DatePickerDay,Me as DatePickerMonth,Oe as DatePickerWeek,Re as DateRangePicker,_e as DateTimePicker,Pe as Draggable,Be as DraggableItem,ze as Dropdown,Fe as EditableTextfield,je as Favorite,Ne as FloatingButtonBar,Ve as FloatingMinimizedModal,Ue as FloatingModal,He as Form,qe as FormArray,Ke as FormControl,We as FormGroup,Ye as Grabber,Ge as HelpText,Xe as Icon,Ze as Input,Qe as InputFile,Je as Label,ti as Link,ei as List,ii as ListItem,si as ListItemV2,oi as ListV2,ai as Loading,ri as MeetingAlert,ni as Menu,li as MenuItem,di as MenuOverlay,hi as Modal,ci as NotificationBadge,pi as Pagination,ui as PhoneInput,mi as Popover,bi as PopoverController,vi as Presence,yi as ProgressBar,gi as Radio,fi as RadioGroup,wi as Skeleton,Ci as Slider,Ei as Spinner,Ti as Tab,$i as TabPanel,xi as Table,Si as TableAdvanced,ki as Tabs,Ai as TaskItem,Li as Theme,Ii as ThemeManager,Di as TimePicker,Mi as ToggleSwitch,Oi as Tooltip,Ri as Validators,_i as iconUrlManager,Pi as registerThemeManagerGlobally,Bi as themeManager};
2436
+ ></slot>`}stopArrowKeyEventPropagation(t){t instanceof KeyboardEvent&&(0,$t.q)(t.key)&&t.stopPropagation()}isExpandCollapseKey(t){return t===Tt.Uz.ArrowRight||t===Tt.Uz.ArrowLeft}stopEventPropagation(t){(t instanceof KeyboardEvent&&((0,$t.o)(t.key)||this.isExpandCollapseKey(t.key))||t instanceof MouseEvent)&&t.stopPropagation()}setExpanded(t){this.expanded=t,this.setAttribute("aria-expanded",String(this.expanded)),this.dispatchEvent(new CustomEvent("list-item-expanded",{bubbles:!0,detail:this.expanded}))}_handleExpand(t){t.stopPropagation(),this.expandable&&this.setExpanded(!this.expanded)}_handleListItemClick(t){const e=t.composedPath(),i=e[0];!e.includes(this.header)&&i!==this||this.disabled||this.dispatchEvent(new CustomEvent("list-item-click",{bubbles:!0}))}_handleArrowKeyExpand(t){t.key!==Tt.Uz.ArrowRight||this.expanded?t.key===Tt.Uz.ArrowLeft&&this.expanded&&(t.stopPropagation(),this.setExpanded(!1)):(t.stopPropagation(),this.setExpanded(!0))}connectedCallback(){super.connectedCallback(),this.setAttribute("role","listitem"),this.setAttribute("tabindex","0"),this.addEventListener("click",this._handleListItemClick),this.expandable&&this.addEventListener("keydown",this._handleArrowKeyExpand)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this._handleListItemClick),this.removeEventListener("keydown",this._handleArrowKeyExpand)}static get styles(){return xt}};kt([(0,v.property)({type:String,reflect:!0})],e.prototype,"label",void 0),kt([(0,v.property)({type:String,reflect:!0,attribute:"secondary-label"})],e.prototype,"secondaryLabel",void 0),kt([(0,v.property)({type:String,reflect:!0,attribute:"tertiary-label"})],e.prototype,"tertiaryLabel",void 0),kt([(0,v.property)({type:Boolean})],e.prototype,"expandable",void 0),kt([(0,v.property)({type:Boolean,reflect:!0})],e.prototype,"expanded",void 0),kt([(0,v.property)({type:Boolean,reflect:!0})],e.prototype,"disabled",void 0),kt([(0,v.property)({type:String})],e.prototype,"variant",void 0),kt([(0,v.property)({type:String,attribute:"expand-label"})],e.prototype,"expandLabel",void 0),kt([(0,v.query)(".header")],e.prototype,"header",void 0),e=kt([(0,st.w)("md-list-item-v2")],e),t.ELEMENT=e}(St||(St={}));var At,Lt=function(t,e,i,s){var o,a=arguments.length,r=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};!function(t){let e=class extends b.LitElement{constructor(){super(...arguments),this.gap="none",this.orientation="vertical"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","list"),this.addEventListener("keydown",this.handleKeyDown)}render(){return b.html` <slot @click=${this.handleMouseClick}></slot>`}get listItems(){return Array.from(this.assignedNodes).filter(t=>t instanceof St.ELEMENT&&!t.disabled)}handleMouseClick(t){const e=this.getCurrentIndex(t.target);this.resetTabIndexAndSetActiveTabIndex(e)}getNewIndexBasedOnKey(t,e,i){switch(t){case Tt.Uz.ArrowDown:return(e+1)%i;case Tt.Uz.ArrowUp:return(e-1+i)%i;case Tt.Uz.Home:return 0;case Tt.Uz.End:return i-1;default:return}}handleKeyDown(t){var e;const i=this.getCurrentIndex(t.target),s=this.getNewIndexBasedOnKey(t.key,i,this.listItems.length);void 0!==s&&(null===(e=this.listItems[s])||void 0===e||e.focus(),this.resetTabIndexAndSetActiveTabIndex(s))}getCurrentIndex(t){return this.listItems.findIndex(e=>e===t||e===t.parentElement)}resetTabIndexAndSetActiveTabIndex(t){this.listItems.forEach((e,i)=>{const s=t===i?"0":"-1";e.setAttribute("tabindex",s)})}static get styles(){return xt}};Lt([(0,v.property)({type:String})],e.prototype,"gap",void 0),Lt([(0,v.property)({type:String})],e.prototype,"orientation",void 0),Lt([(0,v.queryAssignedNodes)()],e.prototype,"assignedNodes",void 0),e=Lt([(0,st.w)("md-list-v2")],e),t.ELEMENT=e}(At||(At={}));var It=i(6131),Dt=i(8552),Mt=i(1161),Ot=i(7030),Rt=i(708),_t=i(4085),Pt=i(5410),Bt=i(329),zt=i(8751),Ft=i(5566),jt=i(405),Nt=i(3477),Vt=i(2708),Ut=i(3949),Ht=i(8358);const qt=b.css`:host{width:100%;height:100%;display:block;background-color:var(--md-textColor-primary);opacity:.5}:host([variant=circle]){border-radius:50%}:host([variant=rectangular]){border-radius:0}:host([variant=rounded]){border-radius:.5rem}:host([animation=none]){animation:none}:host([animation=pulse]){animation:skeleton-pulse 2s ease-in-out infinite}@keyframes skeleton-pulse{0%{opacity:.5}50%{opacity:.25}100%{opacity:.5}}`;var Kt,Wt=function(t,e,i,s){var o,a=arguments.length,r=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};!function(t){let e=class extends b.LitElement{constructor(){super(...arguments),this.variant="rounded",this.animation="pulse"}render(){var t,e;return this.style.width=null!==(t=this.width)&&void 0!==t?t:this.style.width,this.style.height=null!==(e=this.height)&&void 0!==e?e:this.style.height,b.html`<slot></slot>`}static get styles(){return[qt]}};Wt([(0,v.property)({type:String})],e.prototype,"width",void 0),Wt([(0,v.property)({type:String})],e.prototype,"height",void 0),Wt([(0,v.property)({reflect:!0})],e.prototype,"variant",void 0),Wt([(0,v.property)({reflect:!0})],e.prototype,"animation",void 0),e=Wt([(0,st.w)("md-skeleton")],e),t.ELEMENT=e}(Kt||(Kt={}));var Yt=i(3773),Gt=i(9773),Xt=i(7936),Zt=i(3273),Qt=i(120),Jt=i(6056),te=i(8543),ee=i(1479),ie=i(1853),se=i(2218),oe=i(6328),ae=i(7253),re=i(3876)},3876(t,e,i){i.d(e,{IB:()=>r,N_:()=>o,vz:()=>a});var s=i(4980);class o{get isMomentumV2Enabled(){return"momentumV2"===this.themeName}constructor(t){this.isDarkMode=!1,this.themeName="lumos",this.backgroundMode="DEFAULT",this.isVisualRebrandEnabled=!1,this.isMomentumAvatarEnabled=!1,(0,s.makeObservable)(this,{isDarkMode:s.observable,themeName:s.observable,backgroundMode:s.observable,isVisualRebrandEnabled:s.observable,isMomentumAvatarEnabled:s.observable,isMomentumV2Enabled:s.computed,setDarkMode:s.action,setThemeName:s.action,setBackgroundMode:s.action,setVisualRebrandEnabled:s.action,setMomentumAvatar:s.action,update:s.action}),t&&this.update(t)}update(t){void 0!==t.isDarkMode&&(this.isDarkMode=t.isDarkMode),void 0!==t.themeName&&(this.themeName=t.themeName),void 0!==t.backgroundMode&&(this.backgroundMode=t.backgroundMode),void 0!==t.isVisualRebrandEnabled&&(this.isVisualRebrandEnabled=t.isVisualRebrandEnabled),void 0!==t.isMomentumAvatarEnabled&&(this.isMomentumAvatarEnabled=t.isMomentumAvatarEnabled)}setDarkMode(t){this.isDarkMode=t}setThemeName(t){this.themeName=t}setBackgroundMode(t){this.backgroundMode=t}setVisualRebrandEnabled(t){this.isVisualRebrandEnabled=t}setMomentumAvatar(t){this.isMomentumAvatarEnabled=t}}const a=new o;function r(t="MomentumUIThemeManager",e=a){"undefined"!=typeof globalThis&&(globalThis[t]=e),"undefined"!=typeof window&&(window[t]=e),void 0!==i.g&&(i.g[t]=e)}},7704(t,e,i){i.d(e,{Io:()=>r.I,TS:()=>n.T,UM:()=>a.U,dY:()=>o.d,wW:()=>l.w,yC:()=>s.y}),i(2364);var s=i(3203),o=i(9938),a=i(5201),r=i(4781),n=i(608),l=i(9609)},2050(t,e,i){i.d(e,{QZ:()=>a,Qx:()=>r,XI:()=>l,dw:()=>d,qi:()=>n,sg:()=>o,ws:()=>s});const s=(t,e)=>{const i=[];[e].forEach(e=>{i.push(...((t,e)=>{const i=e.length;if(0===i)return[];const s=[],o=t.toLowerCase(),a=e.toLowerCase();let r=0,n=o.indexOf(a,r);for(;n>-1;)r=n+i,s.push([n,r]),n=o.indexOf(a,n+1);return s})(t,e))});const s=(([...t])=>{if(!t.length)return[];t.sort((t,e)=>t[0]!==e[0]?t[0]-e[0]:t[1]-e[1]);const e=[];let i=t[0][0],s=t[0][1];return t.shift(),t.forEach(([t,o])=>{t>=s?(e.push([i,s]),i=t,s=o):o>s&&(s=o)}),e.push([i,s]),e})(i),o=[];let a=0;return s.forEach(([e,i])=>{a!==e&&o.push({range:[e,i],matching:!1,text:t.slice(a,e)}),o.push({range:[e,i],matching:!0,text:t.slice(e,i)}),a=i}),a!==t.length&&o.push({range:[a],matching:!1,text:t.slice(a)}),o};function o(t,e,i){let s;return function(...o){const a=this,r=i&&!s;clearTimeout(s),s=setTimeout(function(){s=null,i||t.apply(a,o)},e),r&&t.apply(a,o)}}function a(t,e){return function e(i){if(!i||i===document||i===window)return null;const s=i.closest(t);return null!=s?s:e(i.getRootNode().host)}(e)}function r(t,e){return e>=0&&e<t.length?t[e]:void 0}function n(t,e=document){var i;const s=e instanceof ShadowRoot||e instanceof Document?e.querySelector(t):null===(i=e.shadowRoot)||void 0===i?void 0:i.querySelector(t);if(s)return s;const o=Array.from(e.querySelectorAll("*")).map(t=>{var e;return null!==(e=t.shadowRoot)&&void 0!==e?e:null}).filter(t=>null!==t);for(const e of o){const i=n(t,e);if(i)return i}return null}function l(t,e=document){if(e instanceof ShadowRoot||e instanceof Document){const i=e.getElementById(t);if(i)return i}const i=Array.from(e.querySelectorAll("*")).map(t=>{var e;return null!==(e=t.shadowRoot)&&void 0!==e?e:null}).filter(t=>null!==t);for(const e of i){const i=l(t,e);if(i)return i}return null}function d(){var t;let e=document.activeElement;for(;null===(t=null==e?void 0:e.shadowRoot)||void 0===t?void 0:t.activeElement;)e=e.shadowRoot.activeElement;return e}},7154(t,e,i){i.d(e,{o:()=>a,q:()=>r});var s=i(2900);const o=[s.Uz.ArrowDown,s.Uz.ArrowUp,s.Uz.ArrowLeft,s.Uz.ArrowRight,s.Uz.Home,s.Uz.End];function a(t){return t===s.Uz.Enter||t===s.Uz.Space||t===s.Uz.NumpadEnter}function r(t){return o.includes(t)}},9642(e,i,s){var o,a;e.exports=(o={DateTime:()=>t.DateTime,Duration:()=>t.Duration},a={},s.d(a,o),a)}},o={};function a(t){var e=o[t];if(void 0!==e)return e.exports;var i=o[t]={exports:{}};return s[t].call(i.exports,i,i.exports,a),i.exports}a.m=s,e=[],a.O=(t,i,s,o)=>{if(!i){var r=1/0;for(h=0;h<e.length;h++){for(var[i,s,o]=e[h],n=!0,l=0;l<i.length;l++)(!1&o||r>=o)&&Object.keys(a.O).every(t=>a.O[t](i[l]))?i.splice(l--,1):(n=!1,o<r&&(r=o));if(n){e.splice(h--,1);var d=s();void 0!==d&&(t=d)}}return t}o=o||0;for(var h=e.length;h>0&&e[h-1][2]>o;h--)e[h]=e[h-1];e[h]=[i,s,o]},a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var i in e)a.o(e,i)&&!a.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{a as __webpack_require__};i={519:0,561:0,708:0,1037:0,1521:0,1682:0,1788:0,1807:0,1821:0,2050:0,2105:0,2139:0,2330:0,2434:0,2779:0,2781:0,2900:0,2909:0,2942:0,3079:0,3539:0,3747:0,3876:0,3938:0,3943:0,4139:0,4259:0,4431:0,4908:0,4958:0,4971:0,5156:0,5310:0,5323:0,5757:0,5983:0,6029:0,6085:0,6132:0,6220:0,6433:0,6587:0,6724:0,6812:0,6834:0,7145:0,7154:0,7219:0,7455:0,7684:0,7704:0,7711:0,7927:0,8138:0,8180:0,8220:0,8334:0,8654:0,9189:0,9613:0,9642:0,9669:0},a.C=t=>{var e,s,{__webpack_esm_ids__:o,__webpack_esm_modules__:r,__webpack_esm_runtime__:n}=t,l=0;for(e in r)a.o(r,e)&&(a.m[e]=r[e]);for(n&&n(a);l<o.length;l++)s=o[l],a.o(i,s)&&i[s]&&i[s][0](),i[o[l]]=0;a.O()},a.O.j=t=>0===i[t];import*as r from"./7103.js";a.C(r);import*as n from"./9609.js";a.C(n);import*as l from"./4084.js";a.C(l);import*as d from"./4955.js";a.C(d);import*as h from"./3517.js";a.C(h);import*as c from"./1156.js";a.C(c);import*as p from"./3305.js";a.C(p);import*as u from"./4739.js";a.C(u);import*as m from"./7755.js";a.C(m);import*as b from"./2364.js";a.C(b);import*as v from"./5308.js";a.C(v);import*as y from"./2577.js";a.C(y);import*as g from"./8441.js";a.C(g);import*as f from"./2797.js";a.C(f);import*as w from"./4700.js";a.C(w);import*as C from"./3970.js";a.C(C);import*as E from"./6343.js";a.C(E);import*as T from"./9336.js";a.C(T);import*as $ from"./6525.js";a.C($);import*as x from"./7582.js";a.C(x);import*as S from"./3842.js";a.C(S);import*as k from"./7162.js";a.C(k);import*as A from"./7119.js";a.C(A);import*as L from"./6325.js";a.C(L);import*as I from"./4449.js";a.C(I);import*as D from"./1392.js";a.C(D);import*as M from"./2599.js";a.C(M);import*as O from"./477.js";a.C(O);import*as R from"./4047.js";a.C(R);import*as _ from"./3365.js";a.C(_);import*as P from"./3331.js";a.C(P);import*as B from"./3272.js";a.C(B);import*as z from"./740.js";a.C(z);import*as F from"./6631.js";a.C(F);import*as j from"./93.js";a.C(j);import*as N from"./9558.js";a.C(N);import*as V from"./3543.js";a.C(V);import*as U from"./878.js";a.C(U);import*as H from"./7231.js";a.C(H);import*as q from"./5846.js";a.C(q);import*as K from"./742.js";a.C(K);import*as W from"./4973.js";a.C(W);import*as Y from"./476.js";a.C(Y);import*as G from"./2458.js";a.C(G);import*as X from"./3648.js";a.C(X);import*as Z from"./6816.js";a.C(Z);import*as Q from"./5432.js";a.C(Q);import*as J from"./9431.js";a.C(J);import*as tt from"./6933.js";a.C(tt);import*as et from"./6897.js";a.C(et);import*as it from"./7638.js";a.C(it);import*as st from"./8235.js";a.C(st);import*as ot from"./2273.js";a.C(ot);import*as at from"./405.js";a.C(at);import*as rt from"./8663.js";a.C(rt);import*as nt from"./2245.js";a.C(nt);import*as lt from"./861.js";a.C(lt);import*as dt from"./2583.js";a.C(dt);import*as ht from"./5958.js";a.C(ht);import*as ct from"./837.js";a.C(ct);import*as pt from"./5057.js";a.C(pt);import*as ut from"./6005.js";a.C(ut);import*as mt from"./8687.js";a.C(mt);import*as bt from"./3155.js";a.C(bt);import*as vt from"./6131.js";a.C(vt);import*as yt from"./6020.js";a.C(yt);import*as gt from"./6709.js";a.C(gt);import*as ft from"./7901.js";a.C(ft);import*as wt from"./1816.js";a.C(wt);import*as Ct from"./887.js";a.C(Ct);import*as Et from"./327.js";a.C(Et);import*as Tt from"./4839.js";a.C(Tt);import*as $t from"./5410.js";a.C($t);import*as xt from"./1161.js";a.C(xt);import*as St from"./226.js";a.C(St);import*as kt from"./23.js";a.C(kt);import*as At from"./4750.js";a.C(At);import*as Lt from"./7137.js";a.C(Lt);import*as It from"./2154.js";a.C(It);import*as Dt from"./9404.js";a.C(Dt);import*as Mt from"./2297.js";a.C(Mt);import*as Ot from"./7155.js";a.C(Ot);import*as Rt from"./8552.js";a.C(Rt);import*as _t from"./3477.js";a.C(_t);import*as Pt from"./2670.js";a.C(Pt);import*as Bt from"./513.js";a.C(Bt);import*as zt from"./5525.js";a.C(zt);import*as Ft from"./752.js";a.C(Ft);import*as jt from"./3182.js";a.C(jt);import*as Nt from"./9940.js";a.C(Nt);import*as Vt from"./4242.js";a.C(Vt);import*as Ut from"./1928.js";a.C(Ut);import*as Ht from"./4060.js";a.C(Ht);import*as qt from"./2451.js";a.C(qt);import*as Kt from"./1982.js";a.C(Kt);import*as Wt from"./9316.js";a.C(Wt);import*as Yt from"./7838.js";a.C(Yt);import*as Gt from"./7911.js";a.C(Gt);import*as Xt from"./2991.js";a.C(Xt);import*as Zt from"./9485.js";a.C(Zt);import*as Qt from"./6843.js";a.C(Qt);import*as Jt from"./3051.js";a.C(Jt);var te=a.O(void 0,[7103,9609,4084,4955,3517,1156,3305,4739,7755,2364,5308,2577,8441,2797,4700,3970,6343,9336,6525,7582,3842,7162,7119,6325,4449,1392,2599,477,4047,3365,3331,3272,740,6631,93,9558,3543,878,7231,5846,742,4973,476,2458,3648,6816,5432,9431,6933,6897,7638,8235,2273,405,8663,2245,861,2583,5958,837,5057,6005,8687,3155,6131,6020,6709,7901,1816,887,327,4839,5410,1161,226,23,4750,7137,2154,9404,2297,7155,8552,3477,2670,513,5525,752,3182,9940,4242,1928,4060,2451,1982,9316,7838,7911,2991,9485,6843,3051],()=>a(371));const ee=(te=a.O(te)).nD,ie=te.As,se=te.uo,oe=te.Lj,ae=te.Fc,re=te.ZT,ne=te.Fu,le=te.Y$,de=te.eu,he=te.uW,ce=te.Ex,pe=te.Qp,ue=te.$n,me=te.e2,be=te.Zp,ve=te.pI,ye=te.vg,ge=te.h$,fe=te.cM,we=te.Sc,Ce=te.$Q,Ee=te.vu,Te=te.iU,$e=te.xw,xe=te.BY,Se=te.a3,ke=te.Xz,Ae=te.YQ,Le=te.lr,Ie=te.$5,De=te.XE,Me=te.j_,Oe=te.xx,Re=te.Ur,_e=te.K7,Pe=te.sx,Be=te.T_,ze=te.ms,Fe=te.I,je=te.NG,Ne=te.Uz,Ve=te.gQ,Ue=te.oH,He=te.lV,qe=te.Yp,Ke=te.MJ,We=te.gE,Ye=te.IJ,Ge=te.$9,Xe=te.In,Ze=te.pd,Qe=te.bT,Je=te.JU,ti=te.N_,ei=te.B8,ii=te.ck,si=te.Eu,oi=te.Pj,ai=te.Rh,ri=te.A1,ni=te.DE,li=te.Dr,di=te.W1,hi=te.aF,ci=te.vd,pi=te.dK,ui=te.LR,mi=te.AM,bi=te.IE,vi=te.Cq,yi=te.z2,gi=te.pO,fi=te.z6,wi=te.EA,Ci=te.Ap,Ei=te.y$,Ti=te.oz,$i=te.Kp,xi=te.XI,Si=te.v1,ki=te.tU,Ai=te.L2,Li=te.Sx,Ii=te.ew,Di=te.AG,Mi=te.jF,Oi=te.m_,Ri=te.k0,_i=te.Ou,Pi=te.IB,Bi=te.vz;export{ee as Accordion,ie as AccordionItem,se as ActivityButton,oe as AdvanceList,ae as Alert,re as AlertBanner,ne as ArrayValidators,le as AudioPlayer,de as Avatar,he as AvatarType,ce as Badge,pe as Breadcrumb,ue as Button,me as ButtonGroup,be as Card,ve as CardAi,ye as CardAlert,ge as CardV2,fe as ChatMessage,we as Checkbox,Ce as CheckboxGroup,Ee as Chip,Te as Coachmark,$e as CoachmarkPopover,xe as CodeEditor,Se as ComboBox,ke as CompositeAvatar,Ae as CountryCodePicker,Le as DatePicker,Ie as DatePickerCalendar,De as DatePickerDay,Me as DatePickerMonth,Oe as DatePickerWeek,Re as DateRangePicker,_e as DateTimePicker,Pe as Draggable,Be as DraggableItem,ze as Dropdown,Fe as EditableTextfield,je as Favorite,Ne as FloatingButtonBar,Ve as FloatingMinimizedModal,Ue as FloatingModal,He as Form,qe as FormArray,Ke as FormControl,We as FormGroup,Ye as Grabber,Ge as HelpText,Xe as Icon,Ze as Input,Qe as InputFile,Je as Label,ti as Link,ei as List,ii as ListItem,si as ListItemV2,oi as ListV2,ai as Loading,ri as MeetingAlert,ni as Menu,li as MenuItem,di as MenuOverlay,hi as Modal,ci as NotificationBadge,pi as Pagination,ui as PhoneInput,mi as Popover,bi as PopoverController,vi as Presence,yi as ProgressBar,gi as Radio,fi as RadioGroup,wi as Skeleton,Ci as Slider,Ei as Spinner,Ti as Tab,$i as TabPanel,xi as Table,Si as TableAdvanced,ki as Tabs,Ai as TaskItem,Li as Theme,Ii as ThemeManager,Di as TimePicker,Mi as ToggleSwitch,Oi as Tooltip,Ri as Validators,_i as iconUrlManager,Pi as registerThemeManagerGlobally,Bi as themeManager};
package/dist/esm/index.js CHANGED
@@ -1 +1 @@
1
- import"./7103.js";import"./9609.js";import"./4084.js";import"./4955.js";import"./3517.js";import"./1156.js";import"./3305.js";import"./4739.js";import"./7755.js";import"./2364.js";import"./5308.js";import"./2577.js";import"./8441.js";import"./2797.js";import"./4700.js";import"./3970.js";import"./6343.js";import"./9336.js";import"./6525.js";import"./7582.js";import"./3842.js";import"./7162.js";import"./7119.js";import"./6325.js";import"./4449.js";import"./1392.js";import"./2599.js";import"./477.js";import"./4047.js";import"./3365.js";import"./3331.js";import"./3272.js";import"./740.js";import"./6631.js";import"./93.js";import"./9558.js";import"./3543.js";import"./878.js";import"./7231.js";import"./5846.js";import"./742.js";import"./4973.js";import"./476.js";import"./2458.js";import"./3648.js";import"./6816.js";import"./5432.js";import"./9431.js";import"./6933.js";import"./6897.js";import"./7638.js";import"./8235.js";import"./2273.js";import"./405.js";import"./8663.js";import"./2245.js";import"./861.js";import"./2583.js";import"./5958.js";import"./837.js";import"./5057.js";import"./6005.js";import"./8687.js";import"./3155.js";import"./6131.js";import"./6020.js";import"./6709.js";import"./7901.js";import"./1816.js";import"./887.js";import"./327.js";import"./4839.js";import"./5410.js";import"./1161.js";import"./226.js";import"./23.js";import"./4750.js";import"./2154.js";import"./9404.js";import"./2297.js";import"./7155.js";import"./7137.js";import"./8552.js";import"./3477.js";import"./2670.js";import"./513.js";import"./5525.js";import"./752.js";import"./3182.js";import"./9940.js";import"./4242.js";import"./1928.js";import"./4060.js";import"./2451.js";import"./1982.js";import"./9316.js";import"./7838.js";import"./7911.js";import"./2991.js";import"./9485.js";import"./6843.js";import"./3051.js";export*from"./index-entry.js";
1
+ import"./7103.js";import"./9609.js";import"./4084.js";import"./4955.js";import"./3517.js";import"./1156.js";import"./3305.js";import"./4739.js";import"./7755.js";import"./2364.js";import"./5308.js";import"./2577.js";import"./8441.js";import"./2797.js";import"./4700.js";import"./3970.js";import"./6343.js";import"./9336.js";import"./6525.js";import"./7582.js";import"./3842.js";import"./7162.js";import"./7119.js";import"./6325.js";import"./4449.js";import"./1392.js";import"./2599.js";import"./477.js";import"./4047.js";import"./3365.js";import"./3331.js";import"./3272.js";import"./740.js";import"./6631.js";import"./93.js";import"./9558.js";import"./3543.js";import"./878.js";import"./7231.js";import"./5846.js";import"./742.js";import"./4973.js";import"./476.js";import"./2458.js";import"./3648.js";import"./6816.js";import"./5432.js";import"./9431.js";import"./6933.js";import"./6897.js";import"./7638.js";import"./8235.js";import"./2273.js";import"./405.js";import"./8663.js";import"./2245.js";import"./861.js";import"./2583.js";import"./5958.js";import"./837.js";import"./5057.js";import"./6005.js";import"./8687.js";import"./3155.js";import"./6131.js";import"./6020.js";import"./6709.js";import"./7901.js";import"./1816.js";import"./887.js";import"./327.js";import"./4839.js";import"./5410.js";import"./1161.js";import"./226.js";import"./23.js";import"./4750.js";import"./7137.js";import"./2154.js";import"./9404.js";import"./2297.js";import"./7155.js";import"./8552.js";import"./3477.js";import"./2670.js";import"./513.js";import"./5525.js";import"./752.js";import"./3182.js";import"./9940.js";import"./4242.js";import"./1928.js";import"./4060.js";import"./2451.js";import"./1982.js";import"./9316.js";import"./7838.js";import"./7911.js";import"./2991.js";import"./9485.js";import"./6843.js";import"./3051.js";export*from"./index-entry.js";
@@ -638,20 +638,18 @@
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:()=>u}),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;!function(t){let e=class extends a.LitElement{constructor(){super(...arguments),this.severity="",this.category="",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:"info-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:[]}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.constructor.locale,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:()=>u}),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;!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`
642
642
  <div class="md-card-alert-header">
643
643
  <div class="md-card-alert-chips">
644
- ${this.severity?a.html`
645
- <md-chip color=${this.severityColor} small>
646
- <md-icon
647
- name=${this.severityIcon}
648
- size="14"
649
- iconSet="momentumDesign"
650
- slot="custom-left-content"
651
- ></md-icon>
652
- </md-chip>
653
- `:a.nothing}
654
- ${this.category?a.html`<md-chip value=${this.category} color="neutral" small></md-chip>`:a.nothing}
644
+ <md-chip color=${this.severityColor} value=${this.category} small>
645
+ <md-icon
646
+ name=${this.severityIcon}
647
+ size="14"
648
+ iconSet="momentumDesign"
649
+ slot="custom-left-content"
650
+ ></md-icon>
651
+ </md-chip>
652
+ ${this.secondaryChip?a.html`<md-chip color="confidence-cobalt" value=${this.secondaryChip} small></md-chip>`:a.nothing}
655
653
  </div>
656
654
  ${this.renderTimestamp()}
657
655
  </div>
@@ -688,11 +686,11 @@
688
686
  <md-icon name="sparkle-filled" iconSet="momentumDesign" class="md-card-alert-insight-icon"></md-icon>
689
687
  <span class="md-card-alert-insight-text">${this.insight}</span>
690
688
  </div>
691
- `:a.nothing}renderActions(){return a.html`
689
+ `:a.nothing}renderActions(){const t=this.resolvedLocale.dismiss;return a.html`
692
690
  <div class="md-card-alert-actions">
693
691
  <md-button
694
692
  size="32"
695
- variant="primary"
693
+ variant="secondary"
696
694
  class="md-card-alert-primary-action"
697
695
  ariaLabel=${this.primaryActionLabel}
698
696
  @click=${this.handlePrimaryAction}
@@ -708,25 +706,24 @@
708
706
  <md-button
709
707
  size="32"
710
708
  variant="secondary"
711
- outline
712
709
  class="md-card-alert-dismiss"
713
- ariaLabel=${this.constructor.locale.dismiss}
710
+ ariaLabel=${t}
714
711
  @click=${this.handleDismiss}
715
712
  >
716
- <span slot="text">${this.constructor.locale.dismiss}</span>
713
+ <span slot="text">${t}</span>
717
714
  </md-button>
718
715
  `:a.nothing}
719
716
  </div>
720
717
  `}render(){return a.html`
721
718
  <div
722
- class=${(0,l.classMap)({"md-card-alert":!0,"md-card-alert--no-insight":!this.hasInsight})}
719
+ class=${(0,l.classMap)({"md-card-alert":!0,"md-card-alert--no-insight":!this.hasInsight,"md-card-alert--expanded":this.expanded})}
723
720
  part="card"
724
721
  tabindex="0"
725
722
  >
726
723
  ${this.renderHeader()} ${this.renderTitleSection()} ${this.renderDetails()} ${this.renderInsight()}
727
724
  ${this.renderActions()}
728
725
  </div>
729
- `}};e.locale=Object.assign({},p),h([(0,n.property)({type:String})],e.prototype,"severity",void 0),h([(0,n.property)({type:String})],e.prototype,"category",void 0),h([(0,n.property)({type:String})],e.prototype,"timestamp",void 0),h([(0,n.property)({type:String})],e.prototype,"title",void 0),h([(0,n.property)({type:String})],e.prototype,"queueName",void 0),h([(0,n.property)({type:Array})],e.prototype,"details",void 0),h([(0,n.property)({type:String})],e.prototype,"insight",void 0),h([(0,n.property)({type:String})],e.prototype,"primaryActionLabel",void 0),h([(0,n.property)({type:Boolean})],e.prototype,"primaryActionDropdown",void 0),h([(0,n.property)({type:String})],e.prototype,"detailsHeading",void 0),h([(0,n.property)({type:Boolean})],e.prototype,"showDismiss",void 0),h([(0,n.property)({type:Boolean})],e.prototype,"expanded",void 0),h([(0,n.state)()],e.prototype,"relativeTime",void 0),e=h([(0,s.w)("md-card-alert")],e),t.ELEMENT=e}(u||(u={}))},7540(t,e,i){i.d(e,{CardV2:()=>u}),i(5983),i(1821),i(9613);var o=i(9609),s=i(4084),r=i(7161),a=i(429),n=i(5125),l=i(5796),d=i(513),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};const c="hh:mm:ss";var p,u;!function(t){t.DEFAULT="default",t.ACTIVE="active",t.INACTIVE="inactive"}(p||(p={})),function(t){let e=class extends r.LitElement{constructor(){super(...arguments),this.state=p.DEFAULT,this.identifier=void 0,this.header=void 0,this.info=void 0,this.data=void 0,this.createdTime=0,this.active=!1,this.expandable=!1,this.expandAriaLabel="Expand for more details",this.renderedData=""}connectedCallback(){super.connectedCallback(),this.checkForExtraInfoSlot()}disconnectedCallback(){super.disconnectedCallback(),this.clearInterval()}clearInterval(){this.interval&&(clearInterval(this.interval),this.interval=void 0)}static get styles(){return[s.A,d.A]}get isCardActive(){return this.state===p.ACTIVE}willUpdate(t){super.willUpdate(t),(t.has("active")||t.has("data")||t.has("createdTime"))&&this.calculateRenderedData()}expandCardToggled(){var t;this.state=this.isCardActive?p.DEFAULT:p.ACTIVE,this.dispatchEvent(new CustomEvent("expand-card-toggled",{detail:{identifier:null!==(t=this.identifier)&&void 0!==t?t:"",active:this.isCardActive},bubbles:!0,composed:!0}))}checkForExtraInfoSlot(){var t;(null===(t=this.extraInfoSlot)||void 0===t?void 0:t.assignedNodes().length)>0?this.setAttribute("has-extra-info",""):this.removeAttribute("has-extra-info")}handleExtraInfoSlotChange(t){this.checkForExtraInfoSlot()}get cardClassMap(){return{"md-card-v2":!0,[`md-card--${this.state}`]:!0}}get contentClassMap(){return{"md-card-v2-content":!0,inactive:this.state===p.INACTIVE}}get footerExpandClassMap(){return{"md-card-v2-footer-expand":!0,hidden:!this.expandable}}get expandCardHandler(){return this.expandable?this.expandCardToggled:null}renderHeader(){return r.html`
726
+ `}};e.locale=Object.assign({},p),h([(0,n.property)({type:String})],e.prototype,"severity",void 0),h([(0,n.property)({type:String})],e.prototype,"category",void 0),h([(0,n.property)({type:String})],e.prototype,"secondaryChip",void 0),h([(0,n.property)({type:String})],e.prototype,"timestamp",void 0),h([(0,n.property)({type:String})],e.prototype,"title",void 0),h([(0,n.property)({type:String})],e.prototype,"queueName",void 0),h([(0,n.property)({type:Array})],e.prototype,"details",void 0),h([(0,n.property)({type:String})],e.prototype,"insight",void 0),h([(0,n.property)({type:String})],e.prototype,"primaryActionLabel",void 0),h([(0,n.property)({type:Boolean})],e.prototype,"primaryActionDropdown",void 0),h([(0,n.property)({type:String})],e.prototype,"detailsHeading",void 0),h([(0,n.property)({type:Boolean})],e.prototype,"showDismiss",void 0),h([(0,n.property)({type:Boolean})],e.prototype,"expanded",void 0),h([(0,n.state)()],e.prototype,"relativeTime",void 0),e=h([(0,s.w)("md-card-alert")],e),t.ELEMENT=e}(u||(u={}))},7540(t,e,i){i.d(e,{CardV2:()=>u}),i(5983),i(1821),i(9613);var o=i(9609),s=i(4084),r=i(7161),a=i(429),n=i(5125),l=i(5796),d=i(513),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};const c="hh:mm:ss";var p,u;!function(t){t.DEFAULT="default",t.ACTIVE="active",t.INACTIVE="inactive"}(p||(p={})),function(t){let e=class extends r.LitElement{constructor(){super(...arguments),this.state=p.DEFAULT,this.identifier=void 0,this.header=void 0,this.info=void 0,this.data=void 0,this.createdTime=0,this.active=!1,this.expandable=!1,this.expandAriaLabel="Expand for more details",this.renderedData=""}connectedCallback(){super.connectedCallback(),this.checkForExtraInfoSlot()}disconnectedCallback(){super.disconnectedCallback(),this.clearInterval()}clearInterval(){this.interval&&(clearInterval(this.interval),this.interval=void 0)}static get styles(){return[s.A,d.A]}get isCardActive(){return this.state===p.ACTIVE}willUpdate(t){super.willUpdate(t),(t.has("active")||t.has("data")||t.has("createdTime"))&&this.calculateRenderedData()}expandCardToggled(){var t;this.state=this.isCardActive?p.DEFAULT:p.ACTIVE,this.dispatchEvent(new CustomEvent("expand-card-toggled",{detail:{identifier:null!==(t=this.identifier)&&void 0!==t?t:"",active:this.isCardActive},bubbles:!0,composed:!0}))}checkForExtraInfoSlot(){var t;(null===(t=this.extraInfoSlot)||void 0===t?void 0:t.assignedNodes().length)>0?this.setAttribute("has-extra-info",""):this.removeAttribute("has-extra-info")}handleExtraInfoSlotChange(t){this.checkForExtraInfoSlot()}get cardClassMap(){return{"md-card-v2":!0,[`md-card--${this.state}`]:!0}}get contentClassMap(){return{"md-card-v2-content":!0,inactive:this.state===p.INACTIVE}}get footerExpandClassMap(){return{"md-card-v2-footer-expand":!0,hidden:!this.expandable}}get expandCardHandler(){return this.expandable?this.expandCardToggled:null}renderHeader(){return r.html`
730
727
  <div class="md-card-v2-header-title">
731
728
  <h3>${this.header}</h3>
732
729
  ${this.info?r.html`
@@ -3081,4 +3078,4 @@
3081
3078
  @click=${this.stopEventPropagation}
3082
3079
  @keyup=${this.stopEventPropagation}
3083
3080
  @keydown=${this.stopEventPropagation}
3084
- ></slot>`}stopArrowKeyEventPropagation(t){t instanceof KeyboardEvent&&(0,$t.q)(t.key)&&t.stopPropagation()}isExpandCollapseKey(t){return t===St.Uz.ArrowRight||t===St.Uz.ArrowLeft}stopEventPropagation(t){(t instanceof KeyboardEvent&&((0,$t.o)(t.key)||this.isExpandCollapseKey(t.key))||t instanceof MouseEvent)&&t.stopPropagation()}setExpanded(t){this.expanded=t,this.setAttribute("aria-expanded",String(this.expanded)),this.dispatchEvent(new CustomEvent("list-item-expanded",{bubbles:!0,detail:this.expanded}))}_handleExpand(t){t.stopPropagation(),this.expandable&&this.setExpanded(!this.expanded)}_handleListItemClick(t){const e=t.composedPath(),i=e[0];!e.includes(this.header)&&i!==this||this.disabled||this.dispatchEvent(new CustomEvent("list-item-click",{bubbles:!0}))}_handleArrowKeyExpand(t){t.key!==St.Uz.ArrowRight||this.expanded?t.key===St.Uz.ArrowLeft&&this.expanded&&(t.stopPropagation(),this.setExpanded(!1)):(t.stopPropagation(),this.setExpanded(!0))}connectedCallback(){super.connectedCallback(),this.setAttribute("role","listitem"),this.setAttribute("tabindex","0"),this.addEventListener("click",this._handleListItemClick),this.expandable&&this.addEventListener("keydown",this._handleArrowKeyExpand)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this._handleListItemClick),this.removeEventListener("keydown",this._handleArrowKeyExpand)}static get styles(){return Tt}};At([(0,y.property)({type:String,reflect:!0})],e.prototype,"label",void 0),At([(0,y.property)({type:String,reflect:!0,attribute:"secondary-label"})],e.prototype,"secondaryLabel",void 0),At([(0,y.property)({type:String,reflect:!0,attribute:"tertiary-label"})],e.prototype,"tertiaryLabel",void 0),At([(0,y.property)({type:Boolean})],e.prototype,"expandable",void 0),At([(0,y.property)({type:Boolean,reflect:!0})],e.prototype,"expanded",void 0),At([(0,y.property)({type:Boolean,reflect:!0})],e.prototype,"disabled",void 0),At([(0,y.property)({type:String})],e.prototype,"variant",void 0),At([(0,y.property)({type:String,attribute:"expand-label"})],e.prototype,"expandLabel",void 0),At([(0,y.query)(".header")],e.prototype,"header",void 0),e=At([(0,st.w)("md-list-item-v2")],e),t.ELEMENT=e}(kt||(kt={}));var It,Lt=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 v.LitElement{constructor(){super(...arguments),this.gap="none",this.orientation="vertical"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","list"),this.addEventListener("keydown",this.handleKeyDown)}render(){return v.html` <slot @click=${this.handleMouseClick}></slot>`}get listItems(){return Array.from(this.assignedNodes).filter(t=>t instanceof kt.ELEMENT&&!t.disabled)}handleMouseClick(t){const e=this.getCurrentIndex(t.target);this.resetTabIndexAndSetActiveTabIndex(e)}getNewIndexBasedOnKey(t,e,i){switch(t){case St.Uz.ArrowDown:return(e+1)%i;case St.Uz.ArrowUp:return(e-1+i)%i;case St.Uz.Home:return 0;case St.Uz.End:return i-1;default:return}}handleKeyDown(t){var e;const i=this.getCurrentIndex(t.target),o=this.getNewIndexBasedOnKey(t.key,i,this.listItems.length);void 0!==o&&(null===(e=this.listItems[o])||void 0===e||e.focus(),this.resetTabIndexAndSetActiveTabIndex(o))}getCurrentIndex(t){return this.listItems.findIndex(e=>e===t||e===t.parentElement)}resetTabIndexAndSetActiveTabIndex(t){this.listItems.forEach((e,i)=>{const o=t===i?"0":"-1";e.setAttribute("tabindex",o)})}static get styles(){return Tt}};Lt([(0,y.property)({type:String})],e.prototype,"gap",void 0),Lt([(0,y.property)({type:String})],e.prototype,"orientation",void 0),Lt([(0,y.queryAssignedNodes)()],e.prototype,"assignedNodes",void 0),e=Lt([(0,st.w)("md-list-v2")],e),t.ELEMENT=e}(It||(It={}));var Ot=i(6131),Mt=i(8552),Dt=i(1161),Pt=i(7030),Rt=i(708),_t=i(4085),Bt=i(5410),zt=i(329),Ft=i(8751),Vt=i(5566),Nt=i(405),jt=i(3477),Ut=i(2708),qt=i(3949),Ht=i(8358);const Wt=v.css`:host{width:100%;height:100%;display:block;background-color:var(--md-textColor-primary);opacity:.5}:host([variant=circle]){border-radius:50%}:host([variant=rectangular]){border-radius:0}:host([variant=rounded]){border-radius:.5rem}:host([animation=none]){animation:none}:host([animation=pulse]){animation:skeleton-pulse 2s ease-in-out infinite}@keyframes skeleton-pulse{0%{opacity:.5}50%{opacity:.25}100%{opacity:.5}}`;var Kt,Gt=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 v.LitElement{constructor(){super(...arguments),this.variant="rounded",this.animation="pulse"}render(){var t,e;return this.style.width=null!==(t=this.width)&&void 0!==t?t:this.style.width,this.style.height=null!==(e=this.height)&&void 0!==e?e:this.style.height,v.html`<slot></slot>`}static get styles(){return[Wt]}};Gt([(0,y.property)({type:String})],e.prototype,"width",void 0),Gt([(0,y.property)({type:String})],e.prototype,"height",void 0),Gt([(0,y.property)({reflect:!0})],e.prototype,"variant",void 0),Gt([(0,y.property)({reflect:!0})],e.prototype,"animation",void 0),e=Gt([(0,st.w)("md-skeleton")],e),t.ELEMENT=e}(Kt||(Kt={}));var Yt=i(3773),Xt=i(9773),Zt=i(7936),Qt=i(3273),Jt=i(120),te=i(6056),ee=i(8543),ie=i(1479),oe=i(1853),se=i(2218),re=i(6328),ae=i(7253),ne=i(3876)},3876(t,e,i){i.d(e,{ThemeManager:()=>s,registerThemeManagerGlobally:()=>a,themeManager:()=>r});var o=i(5314);class s{get isMomentumV2Enabled(){return"momentumV2"===this.themeName}constructor(t){this.isDarkMode=!1,this.themeName="lumos",this.backgroundMode="DEFAULT",this.isVisualRebrandEnabled=!1,this.isMomentumAvatarEnabled=!1,(0,o.makeObservable)(this,{isDarkMode:o.observable,themeName:o.observable,backgroundMode:o.observable,isVisualRebrandEnabled:o.observable,isMomentumAvatarEnabled:o.observable,isMomentumV2Enabled:o.computed,setDarkMode:o.action,setThemeName:o.action,setBackgroundMode:o.action,setVisualRebrandEnabled:o.action,setMomentumAvatar:o.action,update:o.action}),t&&this.update(t)}update(t){void 0!==t.isDarkMode&&(this.isDarkMode=t.isDarkMode),void 0!==t.themeName&&(this.themeName=t.themeName),void 0!==t.backgroundMode&&(this.backgroundMode=t.backgroundMode),void 0!==t.isVisualRebrandEnabled&&(this.isVisualRebrandEnabled=t.isVisualRebrandEnabled),void 0!==t.isMomentumAvatarEnabled&&(this.isMomentumAvatarEnabled=t.isMomentumAvatarEnabled)}setDarkMode(t){this.isDarkMode=t}setThemeName(t){this.themeName=t}setBackgroundMode(t){this.backgroundMode=t}setVisualRebrandEnabled(t){this.isVisualRebrandEnabled=t}setMomentumAvatar(t){this.isMomentumAvatarEnabled=t}}const r=new s;function a(t="MomentumUIThemeManager",e=r){"undefined"!=typeof globalThis&&(globalThis[t]=e),"undefined"!=typeof window&&(window[t]=e),void 0!==i.g&&(i.g[t]=e)}},7704(t,e,i){i.d(e,{Io:()=>a.I,TS:()=>n.T,UM:()=>r.U,dY:()=>s.d,wW:()=>l.w,yC:()=>o.y}),i(2364);var o=i(3203),s=i(9938),r=i(5201),a=i(4781),n=i(608),l=i(9609)},2050(t,e,i){i.d(e,{QZ:()=>r,Qx:()=>a,XI:()=>l,dw:()=>d,qi:()=>n,sg:()=>s,ws:()=>o});const o=(t,e)=>{const i=[];[e].forEach(e=>{i.push(...((t,e)=>{const i=e.length;if(0===i)return[];const o=[],s=t.toLowerCase(),r=e.toLowerCase();let a=0,n=s.indexOf(r,a);for(;n>-1;)a=n+i,o.push([n,a]),n=s.indexOf(r,n+1);return o})(t,e))});const o=(([...t])=>{if(!t.length)return[];t.sort((t,e)=>t[0]!==e[0]?t[0]-e[0]:t[1]-e[1]);const e=[];let i=t[0][0],o=t[0][1];return t.shift(),t.forEach(([t,s])=>{t>=o?(e.push([i,o]),i=t,o=s):s>o&&(o=s)}),e.push([i,o]),e})(i),s=[];let r=0;return o.forEach(([e,i])=>{r!==e&&s.push({range:[e,i],matching:!1,text:t.slice(r,e)}),s.push({range:[e,i],matching:!0,text:t.slice(e,i)}),r=i}),r!==t.length&&s.push({range:[r],matching:!1,text:t.slice(r)}),s};function s(t,e,i){let o;return function(...s){const r=this,a=i&&!o;clearTimeout(o),o=setTimeout(function(){o=null,i||t.apply(r,s)},e),a&&t.apply(r,s)}}function r(t,e){return function e(i){if(!i||i===document||i===window)return null;const o=i.closest(t);return null!=o?o:e(i.getRootNode().host)}(e)}function a(t,e){return e>=0&&e<t.length?t[e]:void 0}function n(t,e=document){var i;const o=e instanceof ShadowRoot||e instanceof Document?e.querySelector(t):null===(i=e.shadowRoot)||void 0===i?void 0:i.querySelector(t);if(o)return o;const s=Array.from(e.querySelectorAll("*")).map(t=>{var e;return null!==(e=t.shadowRoot)&&void 0!==e?e:null}).filter(t=>null!==t);for(const e of s){const i=n(t,e);if(i)return i}return null}function l(t,e=document){if(e instanceof ShadowRoot||e instanceof Document){const i=e.getElementById(t);if(i)return i}const i=Array.from(e.querySelectorAll("*")).map(t=>{var e;return null!==(e=t.shadowRoot)&&void 0!==e?e:null}).filter(t=>null!==t);for(const e of i){const i=l(t,e);if(i)return i}return null}function d(){var t;let e=document.activeElement;for(;null===(t=null==e?void 0:e.shadowRoot)||void 0===t?void 0:t.activeElement;)e=e.shadowRoot.activeElement;return e}},7154(t,e,i){i.d(e,{o:()=>r,q:()=>a});var o=i(2900);const s=[o.Uz.ArrowDown,o.Uz.ArrowUp,o.Uz.ArrowLeft,o.Uz.ArrowRight,o.Uz.Home,o.Uz.End];function r(t){return t===o.Uz.Enter||t===o.Uz.Space||t===o.Uz.NumpadEnter}function a(t){return s.includes(t)}},5784(t){t.exports=b},8088(t){t.exports=E},7346(t){t.exports=S},9e3(t){t.exports=$},727(t){t.exports=T},3288(t){t.exports=k},3048(t){t.exports=l},2022(t){t.exports=r},554(t){t.exports=a},4893(t){t.exports=O},2962(t){t.exports=p},6538(t){t.exports=u},8250(t){t.exports=m},9371(t){t.exports=v},4863(t){t.exports=y},3060(t){t.exports=f},5875(t){t.exports=w},1347(t){t.exports=C},5001(t){t.exports=g},860(t){t.exports=A},7161(e){e.exports=t},429(t){t.exports=e},5125(t){t.exports=i},291(t){t.exports=s},8175(t){t.exports=h},318(t){t.exports=o},6968(t){t.exports=I},9756(t){t.exports=d},5796(t){t.exports=c},5314(t){t.exports=n},8187(t){t.exports=L},1891(t){t.exports=x}},P={};function R(t){var e=P[t];if(void 0!==e)return e.exports;var i=P[t]={exports:{}};return D[t].call(i.exports,i,i.exports,R),i.exports}R.m=D,M=[],R.O=(t,e,i,o)=>{if(!e){var s=1/0;for(l=0;l<M.length;l++){for(var[e,i,o]=M[l],r=!0,a=0;a<e.length;a++)(!1&o||s>=o)&&Object.keys(R.O).every(t=>R.O[t](e[a]))?e.splice(a--,1):(r=!1,o<s&&(s=o));if(r){M.splice(l--,1);var n=i();void 0!==n&&(t=n)}}return t}o=o||0;for(var l=M.length;l>0&&M[l-1][2]>o;l--)M[l]=M[l-1];M[l]=[e,i,o]},R.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return R.d(e,{a:e}),e},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.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),R.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),R.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={378:0,445:0,502:0,519:0,555:0,561:0,708:0,762:0,801:0,953:0,1037:0,1266:0,1459:0,1462:0,1521:0,1528:0,1682:0,1745:0,1788:0,1807:0,1821:0,2050:0,2105:0,2139:0,2169:0,2245:0,2273:0,2330:0,2369:0,2434:0,2708:0,2779:0,2781:0,2900:0,2909:0,2942:0,3079:0,3413:0,3539:0,3639:0,3747:0,3876:0,3938:0,3943:0,4131:0,4139:0,4259:0,4431:0,4545:0,4908:0,4928:0,4958:0,4971:0,5156:0,5310:0,5323:0,5369:0,5517:0,5757:0,5983:0,6029:0,6060:0,6085:0,6132:0,6220:0,6433:0,6494:0,6587:0,6724:0,6753:0,6812:0,6834:0,6920:0,7145:0,7154:0,7219:0,7455:0,7684:0,7704:0,7711:0,7906:0,7927:0,8111:0,8115:0,8138:0,8180:0,8220:0,8334:0,8339:0,8371:0,8442:0,8510:0,8619:0,8654:0,8894:0,9189:0,9237:0,9613:0,9669:0,9773:0};R.O.j=e=>0===t[e];var e=(e,i)=>{var o,s,[r,a,n]=i,l=0;if(r.some(e=>0!==t[e])){for(o in a)R.o(a,o)&&(R.m[o]=a[o]);if(n)var d=n(R)}for(e&&e(i);l<r.length;l++)s=r[l],R.o(t,s)&&t[s]&&t[s][0](),t[s]=0;return R.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 _=R.O(void 0,[7103,9609,4084,3305,4739,9488,2364,8441,2797,4700,3970,6343,9336,9146,7582,3842,7162,6325,4449,1392,2492,4047,1618,3331,3272,740,6631,93,9558,3543,878,7231,5846,742,4973,476,8373,7262,6816,3051,9431,6573,8663,861,5057,6005,8687,8881,1816,887,4839,5410,226,9404,2297,7155,7137,2670,513,9940,4242,1928,9956,2927,3013,9316,6429,7911,2991,9485,6843,3241],()=>R(371));return R.O(_)})());
3081
+ ></slot>`}stopArrowKeyEventPropagation(t){t instanceof KeyboardEvent&&(0,$t.q)(t.key)&&t.stopPropagation()}isExpandCollapseKey(t){return t===St.Uz.ArrowRight||t===St.Uz.ArrowLeft}stopEventPropagation(t){(t instanceof KeyboardEvent&&((0,$t.o)(t.key)||this.isExpandCollapseKey(t.key))||t instanceof MouseEvent)&&t.stopPropagation()}setExpanded(t){this.expanded=t,this.setAttribute("aria-expanded",String(this.expanded)),this.dispatchEvent(new CustomEvent("list-item-expanded",{bubbles:!0,detail:this.expanded}))}_handleExpand(t){t.stopPropagation(),this.expandable&&this.setExpanded(!this.expanded)}_handleListItemClick(t){const e=t.composedPath(),i=e[0];!e.includes(this.header)&&i!==this||this.disabled||this.dispatchEvent(new CustomEvent("list-item-click",{bubbles:!0}))}_handleArrowKeyExpand(t){t.key!==St.Uz.ArrowRight||this.expanded?t.key===St.Uz.ArrowLeft&&this.expanded&&(t.stopPropagation(),this.setExpanded(!1)):(t.stopPropagation(),this.setExpanded(!0))}connectedCallback(){super.connectedCallback(),this.setAttribute("role","listitem"),this.setAttribute("tabindex","0"),this.addEventListener("click",this._handleListItemClick),this.expandable&&this.addEventListener("keydown",this._handleArrowKeyExpand)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this._handleListItemClick),this.removeEventListener("keydown",this._handleArrowKeyExpand)}static get styles(){return Tt}};At([(0,y.property)({type:String,reflect:!0})],e.prototype,"label",void 0),At([(0,y.property)({type:String,reflect:!0,attribute:"secondary-label"})],e.prototype,"secondaryLabel",void 0),At([(0,y.property)({type:String,reflect:!0,attribute:"tertiary-label"})],e.prototype,"tertiaryLabel",void 0),At([(0,y.property)({type:Boolean})],e.prototype,"expandable",void 0),At([(0,y.property)({type:Boolean,reflect:!0})],e.prototype,"expanded",void 0),At([(0,y.property)({type:Boolean,reflect:!0})],e.prototype,"disabled",void 0),At([(0,y.property)({type:String})],e.prototype,"variant",void 0),At([(0,y.property)({type:String,attribute:"expand-label"})],e.prototype,"expandLabel",void 0),At([(0,y.query)(".header")],e.prototype,"header",void 0),e=At([(0,st.w)("md-list-item-v2")],e),t.ELEMENT=e}(kt||(kt={}));var It,Lt=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 v.LitElement{constructor(){super(...arguments),this.gap="none",this.orientation="vertical"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","list"),this.addEventListener("keydown",this.handleKeyDown)}render(){return v.html` <slot @click=${this.handleMouseClick}></slot>`}get listItems(){return Array.from(this.assignedNodes).filter(t=>t instanceof kt.ELEMENT&&!t.disabled)}handleMouseClick(t){const e=this.getCurrentIndex(t.target);this.resetTabIndexAndSetActiveTabIndex(e)}getNewIndexBasedOnKey(t,e,i){switch(t){case St.Uz.ArrowDown:return(e+1)%i;case St.Uz.ArrowUp:return(e-1+i)%i;case St.Uz.Home:return 0;case St.Uz.End:return i-1;default:return}}handleKeyDown(t){var e;const i=this.getCurrentIndex(t.target),o=this.getNewIndexBasedOnKey(t.key,i,this.listItems.length);void 0!==o&&(null===(e=this.listItems[o])||void 0===e||e.focus(),this.resetTabIndexAndSetActiveTabIndex(o))}getCurrentIndex(t){return this.listItems.findIndex(e=>e===t||e===t.parentElement)}resetTabIndexAndSetActiveTabIndex(t){this.listItems.forEach((e,i)=>{const o=t===i?"0":"-1";e.setAttribute("tabindex",o)})}static get styles(){return Tt}};Lt([(0,y.property)({type:String})],e.prototype,"gap",void 0),Lt([(0,y.property)({type:String})],e.prototype,"orientation",void 0),Lt([(0,y.queryAssignedNodes)()],e.prototype,"assignedNodes",void 0),e=Lt([(0,st.w)("md-list-v2")],e),t.ELEMENT=e}(It||(It={}));var Ot=i(6131),Mt=i(8552),Dt=i(1161),Pt=i(7030),Rt=i(708),_t=i(4085),Bt=i(5410),zt=i(329),Ft=i(8751),Vt=i(5566),Nt=i(405),jt=i(3477),Ut=i(2708),qt=i(3949),Ht=i(8358);const Wt=v.css`:host{width:100%;height:100%;display:block;background-color:var(--md-textColor-primary);opacity:.5}:host([variant=circle]){border-radius:50%}:host([variant=rectangular]){border-radius:0}:host([variant=rounded]){border-radius:.5rem}:host([animation=none]){animation:none}:host([animation=pulse]){animation:skeleton-pulse 2s ease-in-out infinite}@keyframes skeleton-pulse{0%{opacity:.5}50%{opacity:.25}100%{opacity:.5}}`;var Kt,Gt=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 v.LitElement{constructor(){super(...arguments),this.variant="rounded",this.animation="pulse"}render(){var t,e;return this.style.width=null!==(t=this.width)&&void 0!==t?t:this.style.width,this.style.height=null!==(e=this.height)&&void 0!==e?e:this.style.height,v.html`<slot></slot>`}static get styles(){return[Wt]}};Gt([(0,y.property)({type:String})],e.prototype,"width",void 0),Gt([(0,y.property)({type:String})],e.prototype,"height",void 0),Gt([(0,y.property)({reflect:!0})],e.prototype,"variant",void 0),Gt([(0,y.property)({reflect:!0})],e.prototype,"animation",void 0),e=Gt([(0,st.w)("md-skeleton")],e),t.ELEMENT=e}(Kt||(Kt={}));var Yt=i(3773),Xt=i(9773),Zt=i(7936),Qt=i(3273),Jt=i(120),te=i(6056),ee=i(8543),ie=i(1479),oe=i(1853),se=i(2218),re=i(6328),ae=i(7253),ne=i(3876)},3876(t,e,i){i.d(e,{ThemeManager:()=>s,registerThemeManagerGlobally:()=>a,themeManager:()=>r});var o=i(5314);class s{get isMomentumV2Enabled(){return"momentumV2"===this.themeName}constructor(t){this.isDarkMode=!1,this.themeName="lumos",this.backgroundMode="DEFAULT",this.isVisualRebrandEnabled=!1,this.isMomentumAvatarEnabled=!1,(0,o.makeObservable)(this,{isDarkMode:o.observable,themeName:o.observable,backgroundMode:o.observable,isVisualRebrandEnabled:o.observable,isMomentumAvatarEnabled:o.observable,isMomentumV2Enabled:o.computed,setDarkMode:o.action,setThemeName:o.action,setBackgroundMode:o.action,setVisualRebrandEnabled:o.action,setMomentumAvatar:o.action,update:o.action}),t&&this.update(t)}update(t){void 0!==t.isDarkMode&&(this.isDarkMode=t.isDarkMode),void 0!==t.themeName&&(this.themeName=t.themeName),void 0!==t.backgroundMode&&(this.backgroundMode=t.backgroundMode),void 0!==t.isVisualRebrandEnabled&&(this.isVisualRebrandEnabled=t.isVisualRebrandEnabled),void 0!==t.isMomentumAvatarEnabled&&(this.isMomentumAvatarEnabled=t.isMomentumAvatarEnabled)}setDarkMode(t){this.isDarkMode=t}setThemeName(t){this.themeName=t}setBackgroundMode(t){this.backgroundMode=t}setVisualRebrandEnabled(t){this.isVisualRebrandEnabled=t}setMomentumAvatar(t){this.isMomentumAvatarEnabled=t}}const r=new s;function a(t="MomentumUIThemeManager",e=r){"undefined"!=typeof globalThis&&(globalThis[t]=e),"undefined"!=typeof window&&(window[t]=e),void 0!==i.g&&(i.g[t]=e)}},7704(t,e,i){i.d(e,{Io:()=>a.I,TS:()=>n.T,UM:()=>r.U,dY:()=>s.d,wW:()=>l.w,yC:()=>o.y}),i(2364);var o=i(3203),s=i(9938),r=i(5201),a=i(4781),n=i(608),l=i(9609)},2050(t,e,i){i.d(e,{QZ:()=>r,Qx:()=>a,XI:()=>l,dw:()=>d,qi:()=>n,sg:()=>s,ws:()=>o});const o=(t,e)=>{const i=[];[e].forEach(e=>{i.push(...((t,e)=>{const i=e.length;if(0===i)return[];const o=[],s=t.toLowerCase(),r=e.toLowerCase();let a=0,n=s.indexOf(r,a);for(;n>-1;)a=n+i,o.push([n,a]),n=s.indexOf(r,n+1);return o})(t,e))});const o=(([...t])=>{if(!t.length)return[];t.sort((t,e)=>t[0]!==e[0]?t[0]-e[0]:t[1]-e[1]);const e=[];let i=t[0][0],o=t[0][1];return t.shift(),t.forEach(([t,s])=>{t>=o?(e.push([i,o]),i=t,o=s):s>o&&(o=s)}),e.push([i,o]),e})(i),s=[];let r=0;return o.forEach(([e,i])=>{r!==e&&s.push({range:[e,i],matching:!1,text:t.slice(r,e)}),s.push({range:[e,i],matching:!0,text:t.slice(e,i)}),r=i}),r!==t.length&&s.push({range:[r],matching:!1,text:t.slice(r)}),s};function s(t,e,i){let o;return function(...s){const r=this,a=i&&!o;clearTimeout(o),o=setTimeout(function(){o=null,i||t.apply(r,s)},e),a&&t.apply(r,s)}}function r(t,e){return function e(i){if(!i||i===document||i===window)return null;const o=i.closest(t);return null!=o?o:e(i.getRootNode().host)}(e)}function a(t,e){return e>=0&&e<t.length?t[e]:void 0}function n(t,e=document){var i;const o=e instanceof ShadowRoot||e instanceof Document?e.querySelector(t):null===(i=e.shadowRoot)||void 0===i?void 0:i.querySelector(t);if(o)return o;const s=Array.from(e.querySelectorAll("*")).map(t=>{var e;return null!==(e=t.shadowRoot)&&void 0!==e?e:null}).filter(t=>null!==t);for(const e of s){const i=n(t,e);if(i)return i}return null}function l(t,e=document){if(e instanceof ShadowRoot||e instanceof Document){const i=e.getElementById(t);if(i)return i}const i=Array.from(e.querySelectorAll("*")).map(t=>{var e;return null!==(e=t.shadowRoot)&&void 0!==e?e:null}).filter(t=>null!==t);for(const e of i){const i=l(t,e);if(i)return i}return null}function d(){var t;let e=document.activeElement;for(;null===(t=null==e?void 0:e.shadowRoot)||void 0===t?void 0:t.activeElement;)e=e.shadowRoot.activeElement;return e}},7154(t,e,i){i.d(e,{o:()=>r,q:()=>a});var o=i(2900);const s=[o.Uz.ArrowDown,o.Uz.ArrowUp,o.Uz.ArrowLeft,o.Uz.ArrowRight,o.Uz.Home,o.Uz.End];function r(t){return t===o.Uz.Enter||t===o.Uz.Space||t===o.Uz.NumpadEnter}function a(t){return s.includes(t)}},5784(t){t.exports=b},8088(t){t.exports=E},7346(t){t.exports=S},9e3(t){t.exports=$},727(t){t.exports=T},3288(t){t.exports=k},3048(t){t.exports=l},2022(t){t.exports=r},554(t){t.exports=a},4893(t){t.exports=O},2962(t){t.exports=p},6538(t){t.exports=u},8250(t){t.exports=m},9371(t){t.exports=v},4863(t){t.exports=y},3060(t){t.exports=f},5875(t){t.exports=w},1347(t){t.exports=C},5001(t){t.exports=g},860(t){t.exports=A},7161(e){e.exports=t},429(t){t.exports=e},5125(t){t.exports=i},291(t){t.exports=s},8175(t){t.exports=h},318(t){t.exports=o},6968(t){t.exports=I},9756(t){t.exports=d},5796(t){t.exports=c},5314(t){t.exports=n},8187(t){t.exports=L},1891(t){t.exports=x}},P={};function R(t){var e=P[t];if(void 0!==e)return e.exports;var i=P[t]={exports:{}};return D[t].call(i.exports,i,i.exports,R),i.exports}R.m=D,M=[],R.O=(t,e,i,o)=>{if(!e){var s=1/0;for(l=0;l<M.length;l++){for(var[e,i,o]=M[l],r=!0,a=0;a<e.length;a++)(!1&o||s>=o)&&Object.keys(R.O).every(t=>R.O[t](e[a]))?e.splice(a--,1):(r=!1,o<s&&(s=o));if(r){M.splice(l--,1);var n=i();void 0!==n&&(t=n)}}return t}o=o||0;for(var l=M.length;l>0&&M[l-1][2]>o;l--)M[l]=M[l-1];M[l]=[e,i,o]},R.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return R.d(e,{a:e}),e},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.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),R.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),R.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={378:0,445:0,502:0,519:0,555:0,561:0,708:0,762:0,801:0,953:0,1037:0,1266:0,1459:0,1462:0,1521:0,1528:0,1682:0,1745:0,1788:0,1807:0,1821:0,2050:0,2105:0,2139:0,2169:0,2245:0,2273:0,2330:0,2369:0,2434:0,2708:0,2779:0,2781:0,2900:0,2909:0,2942:0,3079:0,3413:0,3539:0,3639:0,3747:0,3876:0,3938:0,3943:0,4131:0,4139:0,4259:0,4431:0,4545:0,4908:0,4928:0,4958:0,4971:0,5156:0,5310:0,5323:0,5369:0,5517:0,5757:0,5983:0,6029:0,6060:0,6085:0,6132:0,6220:0,6433:0,6494:0,6587:0,6724:0,6753:0,6812:0,6834:0,6920:0,7145:0,7154:0,7219:0,7455:0,7684:0,7704:0,7711:0,7906:0,7927:0,8111:0,8115:0,8138:0,8180:0,8220:0,8334:0,8339:0,8371:0,8442:0,8510:0,8619:0,8654:0,8894:0,9189:0,9237:0,9613:0,9669:0,9773:0};R.O.j=e=>0===t[e];var e=(e,i)=>{var o,s,[r,a,n]=i,l=0;if(r.some(e=>0!==t[e])){for(o in a)R.o(a,o)&&(R.m[o]=a[o]);if(n)var d=n(R)}for(e&&e(i);l<r.length;l++)s=r[l],R.o(t,s)&&t[s]&&t[s][0](),t[s]=0;return R.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 _=R.O(void 0,[7103,9609,4084,3305,4739,9488,2364,8441,2797,4700,3970,6343,9336,9146,7582,3842,7162,6325,4449,1392,2492,4047,1618,3331,3272,740,6631,93,9558,3543,878,7231,5846,742,4973,476,8373,7262,6816,3051,9431,6573,8663,861,5057,6005,8687,8881,1816,887,4839,5410,226,7137,9404,2297,7155,2670,513,9940,4242,1928,9956,2927,3013,9316,6429,7911,2991,9485,6843,3241],()=>R(371));return R.O(_)})());
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- require("./7103"),require("./9609"),require("./4084"),require("./3305"),require("./4739"),require("./9488"),require("./2364"),require("./8441"),require("./2797"),require("./4700"),require("./3970"),require("./6343"),require("./9336"),require("./9146"),require("./7582"),require("./3842"),require("./7162"),require("./6325"),require("./4449"),require("./1392"),require("./2492"),require("./4047"),require("./1618"),require("./3331"),require("./3272"),require("./740"),require("./6631"),require("./93"),require("./9558"),require("./3543"),require("./878"),require("./7231"),require("./5846"),require("./742"),require("./4973"),require("./476"),require("./8373"),require("./7262"),require("./6816"),require("./3051"),require("./9431"),require("./6573"),require("./8663"),require("./861"),require("./5057"),require("./6005"),require("./8687"),require("./8881"),require("./1816"),require("./887"),require("./4839"),require("./5410"),require("./226"),require("./9404"),require("./2297"),require("./7155"),require("./7137"),require("./2670"),require("./513"),require("./9940"),require("./4242"),require("./1928"),require("./9956"),require("./2927"),require("./3013"),require("./9316"),require("./6429"),require("./7911"),require("./2991"),require("./9485"),require("./6843"),require("./3241"),module.exports=require("./index-entry");
1
+ require("./7103"),require("./9609"),require("./4084"),require("./3305"),require("./4739"),require("./9488"),require("./2364"),require("./8441"),require("./2797"),require("./4700"),require("./3970"),require("./6343"),require("./9336"),require("./9146"),require("./7582"),require("./3842"),require("./7162"),require("./6325"),require("./4449"),require("./1392"),require("./2492"),require("./4047"),require("./1618"),require("./3331"),require("./3272"),require("./740"),require("./6631"),require("./93"),require("./9558"),require("./3543"),require("./878"),require("./7231"),require("./5846"),require("./742"),require("./4973"),require("./476"),require("./8373"),require("./7262"),require("./6816"),require("./3051"),require("./9431"),require("./6573"),require("./8663"),require("./861"),require("./5057"),require("./6005"),require("./8687"),require("./8881"),require("./1816"),require("./887"),require("./4839"),require("./5410"),require("./226"),require("./7137"),require("./9404"),require("./2297"),require("./7155"),require("./2670"),require("./513"),require("./9940"),require("./4242"),require("./1928"),require("./9956"),require("./2927"),require("./3013"),require("./9316"),require("./6429"),require("./7911"),require("./2991"),require("./9485"),require("./6843"),require("./3241"),module.exports=require("./index-entry");
@@ -14,7 +14,7 @@ export declare enum CardAlertSeverity {
14
14
  MEDIUM = "medium"
15
15
  }
16
16
  export interface CardAlertLocale {
17
- dismiss: string;
17
+ dismiss?: string;
18
18
  justNow: string;
19
19
  minutesAgo: (n: number) => string;
20
20
  hoursAgo: (n: number) => string;
@@ -30,6 +30,7 @@ export declare namespace CardAlert {
30
30
  static readonly locale: CardAlertLocale;
31
31
  severity: CardAlertSeverity | "";
32
32
  category: string;
33
+ secondaryChip: string;
33
34
  timestamp: string;
34
35
  title: string;
35
36
  queueName: string;
@@ -48,6 +49,7 @@ export declare namespace CardAlert {
48
49
  private get severityColor();
49
50
  private get hasInsight();
50
51
  private get detailRows();
52
+ private get resolvedLocale();
51
53
  private updateRelativeTime;
52
54
  private startTimer;
53
55
  private stopTimer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momentum-ui/web-components",
3
- "version": "3.2.16",
3
+ "version": "3.2.17",
4
4
  "author": "Yana Harris",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/momentum-design/momentum-ui.git",