@ni/spright-components 6.24.0 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18101,7 +18101,7 @@ const Q6=Mt`
18101
18101
  .footer-actions ::slotted(*) {
18102
18102
  height: ${Dc};
18103
18103
  }
18104
- `,t5=Q`
18104
+ `,t5="Send",e5="Stop",n5=ki.create({name:"chat-send-label",cssCustomPropertyName:null}).withDefault(t5),i5=ki.create({name:"chat-stop-label",cssCustomPropertyName:null}).withDefault(e5),o5=Q`
18105
18105
  <div class="container">
18106
18106
  <section class="attachments ${t=>t.attachmentsIsEmpty?"":"has-content"}">
18107
18107
  <slot
@@ -18132,10 +18132,10 @@ const Q6=Mt`
18132
18132
  ?disabled=${t=>!t.processing&&(t.sendDisabled||t.isInputEmpty)}
18133
18133
  @click=${t=>t.processing?t.stopButtonClickHandler():t.sendButtonClickHandler()}
18134
18134
  tabindex="${t=>t.tabIndex}"
18135
- title=${t=>t.processing?t.stopButtonLabel:t.sendButtonLabel}
18135
+ title=${t=>t.processing?i5.getValueFor(t):n5.getValueFor(t)}
18136
18136
  content-hidden
18137
18137
  >
18138
- ${t=>t.processing?t.stopButtonLabel:t.sendButtonLabel}
18138
+ ${t=>t.processing?i5.getValueFor(t):n5.getValueFor(t)}
18139
18139
  ${qt(t=>t.processing,Q`<${zb} slot="start"></${zb}>`,Q`<${Nb} slot="start"></${Nb}>`)}
18140
18140
  </${rv}>
18141
18141
  </section>
@@ -18146,14 +18146,14 @@ const Q6=Mt`
18146
18146
  ></${gg}>
18147
18147
  ${zv}
18148
18148
  </div>`
18149
- class e5 extends(Pv(qe)){constructor(){super(...arguments),this.value="",this.maxLength=-1,this.processing=!1,this.sendDisabled=!1,this.isInputEmpty=!0,this.scrollbarWidth=-1,this.footerActionsIsEmpty=!0,this.attachmentsIsEmpty=!0,this.updateScrollbarWidthQueued=!1,this.fieldSizingSupported=CSS.supports("field-sizing","content")}slottedFooterActionsElementsChanged(t,e){this.footerActionsIsEmpty=void 0===e||0===e.length}slottedAttachmentsElementsChanged(t,e){this.attachmentsIsEmpty=void 0===e||0===e.length}textAreaKeydownHandler(t){return!(t.key===ln&&!t.shiftKey)||(this.processing||this.sendButtonClickHandler(),!1)}textAreaInputHandler(){this.value=this.textArea.value,this.isInputEmpty=0===this.textArea.value.length,this.adjustTextAreaHeight(),this.queueUpdateScrollbarWidth()}placeholderChanged(){this.queueUpdateScrollbarWidth()}valueChanged(){this.textArea&&(this.textArea.value=this.value,this.isInputEmpty=0===this.textArea.value.length,this.adjustTextAreaHeight(),this.queueUpdateScrollbarWidth())}connectedCallback(){super.connectedCallback(),this.textArea.value=this.value,this.isInputEmpty=0===this.textArea.value.length,this.adjustTextAreaHeight(),this.resizeObserver=new ResizeObserver(()=>this.onResize()),this.resizeObserver.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}sendButtonClickHandler(){if(this.shouldDisableSendButton())return
18149
+ class r5 extends(Pv(qe)){constructor(){super(...arguments),this.value="",this.maxLength=-1,this.processing=!1,this.sendDisabled=!1,this.isInputEmpty=!0,this.scrollbarWidth=-1,this.footerActionsIsEmpty=!0,this.attachmentsIsEmpty=!0,this.updateScrollbarWidthQueued=!1,this.fieldSizingSupported=CSS.supports("field-sizing","content")}slottedFooterActionsElementsChanged(t,e){this.footerActionsIsEmpty=void 0===e||0===e.length}slottedAttachmentsElementsChanged(t,e){this.attachmentsIsEmpty=void 0===e||0===e.length}textAreaKeydownHandler(t){return!(t.key===ln&&!t.shiftKey)||(this.processing||this.sendButtonClickHandler(),!1)}textAreaInputHandler(){this.value=this.textArea.value,this.isInputEmpty=0===this.textArea.value.length,this.adjustTextAreaHeight(),this.queueUpdateScrollbarWidth()}placeholderChanged(){this.queueUpdateScrollbarWidth()}valueChanged(){this.textArea&&(this.textArea.value=this.value,this.isInputEmpty=0===this.textArea.value.length,this.adjustTextAreaHeight(),this.queueUpdateScrollbarWidth())}connectedCallback(){super.connectedCallback(),this.textArea.value=this.value,this.isInputEmpty=0===this.textArea.value.length,this.adjustTextAreaHeight(),this.resizeObserver=new ResizeObserver(()=>this.onResize()),this.resizeObserver.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}sendButtonClickHandler(){if(this.shouldDisableSendButton())return
18150
18150
  const t={text:this.textArea.value}
18151
18151
  this.resetInput(),this.$emit("send",t)}stopButtonClickHandler(){this.processing&&(this.$emit("stop"),this.textArea?.blur())}shouldDisableSendButton(){return this.sendDisabled||0===this.textArea.value.length}resetInput(){this.value="",this.isInputEmpty=!0,this.textArea&&(this.textArea.value="",this.adjustTextAreaHeight(),this.textArea.focus())}onResize(){this.adjustTextAreaHeight(),this.scrollbarWidth=this.textArea.offsetWidth-this.textArea.clientWidth}queueUpdateScrollbarWidth(){this.$fastController.isConnected&&(this.updateScrollbarWidthQueued||(this.updateScrollbarWidthQueued=!0,y.queueUpdate(()=>this.updateScrollbarWidth())))}adjustTextAreaHeight(){if(this.fieldSizingSupported||!this.textArea)return
18152
18152
  const t=this.textArea
18153
- t.style.height="auto",t.style.height=`${t.scrollHeight}px`}updateScrollbarWidth(){this.updateScrollbarWidthQueued=!1,this.scrollbarWidth=this.textArea.offsetWidth-this.textArea.clientWidth}}t([ft],e5.prototype,"placeholder",void 0),t([ft({attribute:"send-button-label"})],e5.prototype,"sendButtonLabel",void 0),t([ft({attribute:"stop-button-label"})],e5.prototype,"stopButtonLabel",void 0),t([ft],e5.prototype,"value",void 0),t([ft({attribute:"tabindex",converter:ut})],e5.prototype,"tabIndex",void 0),t([ft({attribute:"maxlength",converter:ut})],e5.prototype,"maxLength",void 0),t([ft({attribute:"processing",mode:"boolean"})],e5.prototype,"processing",void 0),t([ft({attribute:"send-disabled",mode:"boolean"})],e5.prototype,"sendDisabled",void 0),t([k],e5.prototype,"textArea",void 0),t([k],e5.prototype,"isInputEmpty",void 0),t([k],e5.prototype,"scrollbarWidth",void 0),t([k],e5.prototype,"footerActionsIsEmpty",void 0),t([k],e5.prototype,"slottedFooterActionsElements",void 0),t([k],e5.prototype,"attachmentsIsEmpty",void 0),t([k],e5.prototype,"slottedAttachmentsElements",void 0)
18154
- const n5=e5.compose({baseName:"chat-input",template:t5,styles:Q6,shadowOptions:{delegatesFocus:!0}})
18155
- Ei.getOrCreate().withPrefix("spright").register(n5())
18156
- const i5={system:void 0,outbound:"outbound",inbound:"inbound"},o5=Mt`
18153
+ t.style.height="auto",t.style.height=`${t.scrollHeight}px`}updateScrollbarWidth(){this.updateScrollbarWidthQueued=!1,this.scrollbarWidth=this.textArea.offsetWidth-this.textArea.clientWidth}}t([ft],r5.prototype,"placeholder",void 0),t([ft],r5.prototype,"value",void 0),t([ft({attribute:"tabindex",converter:ut})],r5.prototype,"tabIndex",void 0),t([ft({attribute:"maxlength",converter:ut})],r5.prototype,"maxLength",void 0),t([ft({attribute:"processing",mode:"boolean"})],r5.prototype,"processing",void 0),t([ft({attribute:"send-disabled",mode:"boolean"})],r5.prototype,"sendDisabled",void 0),t([k],r5.prototype,"textArea",void 0),t([k],r5.prototype,"isInputEmpty",void 0),t([k],r5.prototype,"scrollbarWidth",void 0),t([k],r5.prototype,"footerActionsIsEmpty",void 0),t([k],r5.prototype,"slottedFooterActionsElements",void 0),t([k],r5.prototype,"attachmentsIsEmpty",void 0),t([k],r5.prototype,"slottedAttachmentsElements",void 0)
18154
+ const s5=r5.compose({baseName:"chat-input",template:o5,styles:Q6,shadowOptions:{delegatesFocus:!0}})
18155
+ Ei.getOrCreate().withPrefix("spright").register(s5())
18156
+ const a5={system:void 0,outbound:"outbound",inbound:"inbound"},l5=Mt`
18157
18157
  ${j6("flex")}
18158
18158
 
18159
18159
  :host {
@@ -18167,11 +18167,11 @@ const i5={system:void 0,outbound:"outbound",inbound:"inbound"},o5=Mt`
18167
18167
  color: ${ud};
18168
18168
  }
18169
18169
 
18170
- :host([message-type='${i5.outbound}']) {
18170
+ :host([message-type='${a5.outbound}']) {
18171
18171
  justify-content: flex-end;
18172
18172
  }
18173
18173
 
18174
- :host([message-type='${i5.inbound}']) {
18174
+ :host([message-type='${a5.inbound}']) {
18175
18175
  justify-content: flex-start;
18176
18176
  }
18177
18177
 
@@ -18191,7 +18191,7 @@ const i5={system:void 0,outbound:"outbound",inbound:"inbound"},o5=Mt`
18191
18191
  overflow-x: auto;
18192
18192
  }
18193
18193
 
18194
- :host([message-type='${i5.outbound}']) .message-content {
18194
+ :host([message-type='${a5.outbound}']) .message-content {
18195
18195
  background: ${nc};
18196
18196
  border: ${Nc} solid ${pc};
18197
18197
  border-radius: ${Fc} ${Fc} 0px ${Fc};
@@ -18202,7 +18202,7 @@ const i5={system:void 0,outbound:"outbound",inbound:"inbound"},o5=Mt`
18202
18202
  display: none;
18203
18203
  }
18204
18204
 
18205
- :host([message-type='${i5.inbound}'])
18205
+ :host([message-type='${a5.inbound}'])
18206
18206
  .footer-actions.has-content {
18207
18207
  display: flex;
18208
18208
  column-gap: ${Lc};
@@ -18220,14 +18220,14 @@ const i5={system:void 0,outbound:"outbound",inbound:"inbound"},o5=Mt`
18220
18220
  display: none;
18221
18221
  }
18222
18222
 
18223
- :host([message-type='${i5.inbound}']) .end {
18223
+ :host([message-type='${a5.inbound}']) .end {
18224
18224
  display: flex;
18225
18225
  column-gap: ${Lc};
18226
18226
  margin-top: ${Bc};
18227
18227
  }
18228
18228
  `
18229
- class r5 extends qe{constructor(){super(...arguments),this.messageType=i5.system,this.footerActionsIsEmpty=!0}slottedFooterActionsElementsChanged(t,e){this.footerActionsIsEmpty=void 0===e||0===e.length}}t([ft({attribute:"message-type"})],r5.prototype,"messageType",void 0),t([k],r5.prototype,"footerActionsIsEmpty",void 0),t([k],r5.prototype,"slottedFooterActionsElements",void 0),Ze(r5,ie)
18230
- const s5=r5.compose({baseName:"chat-message",template:(t,e)=>Q`
18229
+ class c5 extends qe{constructor(){super(...arguments),this.messageType=a5.system,this.footerActionsIsEmpty=!0}slottedFooterActionsElementsChanged(t,e){this.footerActionsIsEmpty=void 0===e||0===e.length}}t([ft({attribute:"message-type"})],c5.prototype,"messageType",void 0),t([k],c5.prototype,"footerActionsIsEmpty",void 0),t([k],c5.prototype,"slottedFooterActionsElements",void 0),Ze(c5,ie)
18230
+ const d5=c5.compose({baseName:"chat-message",template:(t,e)=>Q`
18231
18231
  <div class="container">
18232
18232
  ${re(0,e)}
18233
18233
  <section class="message-content">
@@ -18241,9 +18241,9 @@ const s5=r5.compose({baseName:"chat-message",template:(t,e)=>Q`
18241
18241
  </section>
18242
18242
  ${oe(0,e)}
18243
18243
  </div>
18244
- `,styles:o5})
18245
- Ei.getOrCreate().withPrefix("spright").register(s5())
18246
- const a5=Mt`
18244
+ `,styles:l5})
18245
+ Ei.getOrCreate().withPrefix("spright").register(d5())
18246
+ const h5=Mt`
18247
18247
  ${j6("flex")}
18248
18248
 
18249
18249
  :host {
@@ -18304,8 +18304,8 @@ const a5=Mt`
18304
18304
  margin-top: ${Bc};
18305
18305
  }
18306
18306
  `
18307
- class l5 extends qe{constructor(){super(...arguments),this.messageInternals=new K6(this),this.footerActionsIsEmpty=!0}slottedFooterActionsElementsChanged(t,e){this.footerActionsIsEmpty=void 0===e||0===e.length}}t([k],l5.prototype,"footerActionsIsEmpty",void 0),t([k],l5.prototype,"slottedFooterActionsElements",void 0),Ze(l5,ie)
18308
- const c5=l5.compose({baseName:"chat-message-inbound",template:(t,e)=>Q`
18307
+ class u5 extends qe{constructor(){super(...arguments),this.messageInternals=new K6(this),this.footerActionsIsEmpty=!0}slottedFooterActionsElementsChanged(t,e){this.footerActionsIsEmpty=void 0===e||0===e.length}}t([k],u5.prototype,"footerActionsIsEmpty",void 0),t([k],u5.prototype,"slottedFooterActionsElements",void 0),Ze(u5,ie)
18308
+ const p5=u5.compose({baseName:"chat-message-inbound",template:(t,e)=>Q`
18309
18309
  <div class="container">
18310
18310
  ${re(0,e)}
18311
18311
  <section class="message-content">
@@ -18319,9 +18319,9 @@ const c5=l5.compose({baseName:"chat-message-inbound",template:(t,e)=>Q`
18319
18319
  </section>
18320
18320
  ${oe(0,e)}
18321
18321
  </div>
18322
- `,styles:a5})
18323
- Ei.getOrCreate().withPrefix("spright").register(c5())
18324
- const d5=Mt`
18322
+ `,styles:h5})
18323
+ Ei.getOrCreate().withPrefix("spright").register(p5())
18324
+ const f5=Mt`
18325
18325
  ${j6("flex")}
18326
18326
 
18327
18327
  :host {
@@ -18355,15 +18355,15 @@ const d5=Mt`
18355
18355
  overflow-x: auto;
18356
18356
  }
18357
18357
  `
18358
- const h5=class extends qe{constructor(){super(...arguments),this.messageInternals=new K6(this,{anchorOnInsert:!0})}}.compose({baseName:"chat-message-outbound",template:()=>Q`
18358
+ const m5=class extends qe{constructor(){super(...arguments),this.messageInternals=new K6(this,{anchorOnInsert:!0})}}.compose({baseName:"chat-message-outbound",template:()=>Q`
18359
18359
  <div class="container">
18360
18360
  <section class="message-content">
18361
18361
  <slot></slot>
18362
18362
  </section>
18363
18363
  </div>
18364
- `,styles:d5})
18365
- Ei.getOrCreate().withPrefix("spright").register(h5())
18366
- const u5=Mt`
18364
+ `,styles:f5})
18365
+ Ei.getOrCreate().withPrefix("spright").register(m5())
18366
+ const g5=Mt`
18367
18367
  ${j6("flex")}
18368
18368
 
18369
18369
  :host {
@@ -18393,15 +18393,15 @@ const u5=Mt`
18393
18393
  overflow-x: auto;
18394
18394
  }
18395
18395
  `
18396
- const p5=class extends qe{constructor(){super(...arguments),this.messageInternals=new K6(this)}}.compose({baseName:"chat-message-system",template:()=>Q`
18396
+ const v5=class extends qe{constructor(){super(...arguments),this.messageInternals=new K6(this)}}.compose({baseName:"chat-message-system",template:()=>Q`
18397
18397
  <div class="container">
18398
18398
  <section class="message-content">
18399
18399
  <slot></slot>
18400
18400
  </section>
18401
18401
  </div>
18402
- `,styles:u5})
18403
- Ei.getOrCreate().withPrefix("spright").register(p5())
18404
- const f5=Mt`
18402
+ `,styles:g5})
18403
+ Ei.getOrCreate().withPrefix("spright").register(v5())
18404
+ const b5=Mt`
18405
18405
  ${j6("flex")}
18406
18406
 
18407
18407
  :host {
@@ -18459,10 +18459,10 @@ const f5=Mt`
18459
18459
  overflow-x: auto;
18460
18460
  gap: ${Fc};
18461
18461
  }
18462
- `,m5=Q`
18462
+ `,y5=Q`
18463
18463
  <div class="icon light-icon" aria-hidden="true" :innerHTML="${()=>'<?xml version="1.0" encoding="UTF-8"?>\n<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 16 16">\n <defs>\n <style>\n .nigel-chat-light-0 {\n fill: url(#nigel-chat-gradient-light-0);\n }\n\n .nigel-chat-light-1 {\n fill: url(#nigel-chat-gradient-light-1);\n }\n </style>\n <linearGradient id="nigel-chat-gradient-light-1" x1="11.84" y1="6.19" x2="4.84" y2="13.18" gradientTransform="translate(0 18) scale(1 -1)" gradientUnits="userSpaceOnUse">\n <stop offset="0" stop-color="#00ad7c"/>\n <stop offset="1" stop-color="#32eb96"/>\n </linearGradient>\n <linearGradient id="nigel-chat-gradient-light-0" x1="10.25" y1="-658.82" x2="6.95" y2="-662.11" gradientTransform="translate(0 668)" xlink:href="#nigel-chat-gradient-light-1"/>\n </defs>\n <path class="nigel-chat-light-1" d="M14.21,7.52l-.11-.06c-2.36-1.29-4.3-3.23-5.59-5.59l-.06-.11c-.19-.36-.7-.36-.9,0l-.06.11c-1.29,2.36-3.23,4.3-5.59,5.59l-.11.06c-.36.19-.36.7,0,.9l.11.06c2.36,1.29,4.3,3.23,5.59,5.59l.06.11c.19.36.7.36.9,0l.06-.11c1.29-2.36,3.23-4.3,5.59-5.59l.11-.06c.36-.19.36-.7,0-.9ZM12.5,7.88l-.08.04c-1.58.87-2.89,2.17-3.75,3.75l-.04.08c-.13.24-.47.24-.6,0l-.04-.08c-.87-1.58-2.17-2.89-3.75-3.75l-.08-.04c-.24-.13-.24-.47,0-.6l.08-.04c1.58-.87,2.89-2.17,3.75-3.75l.04-.08c.13-.24.47-.24.6,0l.04.08c.87,1.58,2.17,2.89,3.75,3.75l.08.04c.24.13.24.47,0,.6Z"/>\n <path class="nigel-chat-light-0" d="M11.36,7.6l-.03.02c-1.12.61-2.04,1.53-2.65,2.65l-.02.03c-.1.18-.35.18-.45,0l-.02-.03c-.61-1.12-1.53-2.04-2.65-2.65l-.03-.02c-.18-.1-.18-.35,0-.45l.03-.02c1.12-.61,2.04-1.53,2.65-2.65l.02-.03c.1-.18.35-.18.45,0l.02.03c.61,1.12,1.53,2.04,2.65,2.65l.03.02c.18.1.18.35,0,.45Z"/>\n</svg>'}"></div>
18464
18464
  <div class="icon dark-icon" aria-hidden="true" :innerHTML="${()=>'<?xml version="1.0" encoding="UTF-8"?>\n<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 16 16">\n <defs>\n <style>\n .nigel-chat-dark-0 {\n fill: url(#nigel-chat-gradient-dark-0);\n }\n\n .nigel-chat-dark-1 {\n fill: url(#nigel-chat-gradient-dark-1);\n }\n </style>\n <linearGradient id="nigel-chat-gradient-dark-1" x1="11.84" y1="6.19" x2="4.84" y2="13.18" gradientTransform="translate(0 18) scale(1 -1)" gradientUnits="userSpaceOnUse">\n <stop offset="0" stop-color="#00ad7c"/>\n <stop offset="1" stop-color="#32eb96"/>\n </linearGradient>\n <linearGradient id="nigel-chat-gradient-dark-0" x1="10.25" y1="-658.82" x2="6.95" y2="-662.11" gradientTransform="translate(0 668)" xlink:href="#nigel-chat-gradient-dark-1"/>\n </defs>\n <path class="nigel-chat-dark-1" d="M14.21,7.52l-.11-.06c-2.36-1.29-4.3-3.23-5.59-5.59l-.06-.11c-.19-.36-.7-.36-.9,0l-.06.11c-1.29,2.36-3.23,4.3-5.59,5.59l-.11.06c-.36.19-.36.7,0,.9l.11.06c2.36,1.29,4.3,3.23,5.59,5.59l.06.11c.19.36.7.36.9,0l.06-.11c1.29-2.36,3.23-4.3,5.59-5.59l.11-.06c.36-.19.36-.7,0-.9ZM12.5,7.88l-.08.04c-1.58.87-2.89,2.17-3.75,3.75l-.04.08c-.13.24-.47.24-.6,0l-.04-.08c-.87-1.58-2.17-2.89-3.75-3.75l-.08-.04c-.24-.13-.24-.47,0-.6l.08-.04c1.58-.87,2.89-2.17,3.75-3.75l.04-.08c.13-.24.47-.24.6,0l.04.08c.87,1.58,2.17,2.89,3.75,3.75l.08.04c.24.13.24.47,0,.6Z"/>\n <path class="nigel-chat-dark-0" d="M11.36,7.6l-.03.02c-1.12.61-2.04,1.53-2.65,2.65l-.02.03c-.1.18-.35.18-.45,0l-.02-.03c-.61-1.12-1.53-2.04-2.65-2.65l-.03-.02c-.18-.1-.18-.35,0-.45l.03-.02c1.12-.61,2.04-1.53,2.65-2.65l.02-.03c.1-.18.35-.18.45,0l.02.03c.61,1.12,1.53,2.04,2.65,2.65l.03.02c.18.1.18.35,0,.45Z"/>\n</svg>'}"></div>
18465
- `,g5=Mt`
18465
+ `,w5=Mt`
18466
18466
  ${ug}
18467
18467
 
18468
18468
  .dark-icon {
@@ -18477,15 +18477,15 @@ const f5=Mt`
18477
18477
  display: contents;
18478
18478
  }
18479
18479
  `))
18480
- const v5=class extends pg{}.compose({baseName:"icon-nigel-chat",template:m5,styles:g5})
18481
- Ei.getOrCreate().withPrefix("spright").register(v5())
18482
- const b5="spright-icon-nigel-chat"
18483
- class y5 extends qe{}t([ft({attribute:"welcome-title"})],y5.prototype,"welcomeTitle",void 0),t([ft],y5.prototype,"subtitle",void 0)
18484
- const w5=y5.compose({baseName:"chat-message-welcome",template:()=>Q`
18480
+ const x5=class extends pg{}.compose({baseName:"icon-nigel-chat",template:y5,styles:w5})
18481
+ Ei.getOrCreate().withPrefix("spright").register(x5())
18482
+ const C5="spright-icon-nigel-chat"
18483
+ class k5 extends qe{}t([ft({attribute:"welcome-title"})],k5.prototype,"welcomeTitle",void 0),t([ft],k5.prototype,"subtitle",void 0)
18484
+ const S5=k5.compose({baseName:"chat-message-welcome",template:()=>Q`
18485
18485
  <div class="container">
18486
18486
  <div class="brand-icon">
18487
18487
  <slot name="brand-icon">
18488
- <${b5}></${b5}>
18488
+ <${C5}></${C5}>
18489
18489
  </slot>
18490
18490
  </div>
18491
18491
  ${qt(t=>t.welcomeTitle,Q`
@@ -18498,100 +18498,104 @@ const w5=y5.compose({baseName:"chat-message-welcome",template:()=>Q`
18498
18498
  <slot></slot>
18499
18499
  </section>
18500
18500
  </div>
18501
- `,styles:f5})
18502
- Ei.getOrCreate().withPrefix("spright").register(w5())
18503
- const x5=Q`
18504
- <div class="icon" aria-hidden="true" :innerHTML="${()=>'<?xml version="1.0" encoding="UTF-8"?>\n<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">\n <defs>\n <style>\n .breakpoint-conditional-0 {\n fill: #c42126;\n }\n </style>\n </defs>\n <path class="breakpoint-conditional-0" d="M8,3c-2.76,0-5,2.24-5,5s2.24,5,5,5,5-2.24,5-5-2.24-5-5-5ZM11,9h-2v2h-2v-2h-2v-2h2v-2h2v2h2v2Z"/>\n</svg>'}"></div>
18505
- `,C5=class extends pg{}.compose({baseName:"icon-breakpoint-conditional",template:x5,styles:ug})
18506
- Ei.getOrCreate().withPrefix("spright").register(C5())
18507
- const k5=Q`
18508
- <div class="icon" aria-hidden="true" :innerHTML="${()=>'<?xml version="1.0" encoding="UTF-8"?>\n<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">\n <defs>\n <style>\n .breakpoint-disabled-0 {\n fill: #161617;\n opacity: .3;\n }\n </style>\n </defs>\n <circle class="breakpoint-disabled-0" cx="8" cy="8" r="5"/>\n</svg>'}"></div>
18509
- `,S5=class extends pg{}.compose({baseName:"icon-breakpoint-disabled",template:k5,styles:ug})
18501
+ `,styles:b5})
18510
18502
  Ei.getOrCreate().withPrefix("spright").register(S5())
18511
18503
  const $5=Q`
18512
- <div class="icon" aria-hidden="true" :innerHTML="${()=>'<?xml version="1.0" encoding="UTF-8"?>\n<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">\n <defs>\n <style>\n .breakpoint-enabled-0 {\n fill: #c42126;\n }\n </style>\n </defs>\n <circle class="breakpoint-enabled-0" cx="8" cy="8" r="5"/>\n</svg>'}"></div>
18513
- `,_5=class extends pg{}.compose({baseName:"icon-breakpoint-enabled",template:$5,styles:ug})
18504
+ <div class="icon" aria-hidden="true" :innerHTML="${()=>'<?xml version="1.0" encoding="UTF-8"?>\n<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">\n <defs>\n <style>\n .breakpoint-conditional-0 {\n fill: #c42126;\n }\n </style>\n </defs>\n <path class="breakpoint-conditional-0" d="M8,3c-2.76,0-5,2.24-5,5s2.24,5,5,5,5-2.24,5-5-2.24-5-5-5ZM11,9h-2v2h-2v-2h-2v-2h2v-2h2v2h2v2Z"/>\n</svg>'}"></div>
18505
+ `,_5=class extends pg{}.compose({baseName:"icon-breakpoint-conditional",template:$5,styles:ug})
18514
18506
  Ei.getOrCreate().withPrefix("spright").register(_5())
18515
18507
  const M5=Q`
18516
- <div class="icon" aria-hidden="true" :innerHTML="${()=>'<?xml version="1.0" encoding="UTF-8"?>\n<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">\n <defs>\n <style>\n .breakpoint-execution-pointer-0 {\n fill: #161617;\n }\n </style>\n </defs>\n <polygon class="breakpoint-execution-pointer-0" points="7.97 4.37 7.29 5.49 9.8 7 2 7 2 9 9.8 9 7.29 10.51 7.97 11.63 14 8 7.97 4.37"/>\n</svg>'}"></div>
18517
- `,I5=class extends pg{}.compose({baseName:"icon-breakpoint-execution-pointer",template:M5,styles:ug})
18508
+ <div class="icon" aria-hidden="true" :innerHTML="${()=>'<?xml version="1.0" encoding="UTF-8"?>\n<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">\n <defs>\n <style>\n .breakpoint-disabled-0 {\n fill: #161617;\n opacity: .3;\n }\n </style>\n </defs>\n <circle class="breakpoint-disabled-0" cx="8" cy="8" r="5"/>\n</svg>'}"></div>
18509
+ `,I5=class extends pg{}.compose({baseName:"icon-breakpoint-disabled",template:M5,styles:ug})
18518
18510
  Ei.getOrCreate().withPrefix("spright").register(I5())
18519
18511
  const E5=Q`
18520
- <div class="icon" aria-hidden="true" :innerHTML="${()=>'<?xml version="1.0" encoding="UTF-8"?>\n<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">\n <defs>\n <style>\n .breakpoint-hit-disabled-0 {\n opacity: .3;\n }\n\n .breakpoint-hit-disabled-0, .breakpoint-hit-disabled-1 {\n fill: #161617;\n }\n </style>\n </defs>\n <path class="breakpoint-hit-disabled-0" d="M3.36,6.25c.71-1.89,2.5-3.25,4.64-3.25s3.98,1.4,4.67,3.33l-4.96-2.99-1.45,2.4.84.51h-3.75ZM7.71,12.66l-1.45-2.4.84-.51h-3.75c.71,1.89,2.5,3.25,4.64,3.25s3.98-1.4,4.67-3.33l-4.96,2.99Z"/>\n <polygon class="breakpoint-hit-disabled-1" points="7.97 4.37 7.29 5.49 9.8 7 2 7 2 9 9.8 9 7.29 10.51 7.97 11.63 14 8 7.97 4.37"/>\n</svg>'}"></div>
18521
- `,A5=class extends pg{}.compose({baseName:"icon-breakpoint-hit-disabled",template:E5,styles:ug})
18512
+ <div class="icon" aria-hidden="true" :innerHTML="${()=>'<?xml version="1.0" encoding="UTF-8"?>\n<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">\n <defs>\n <style>\n .breakpoint-enabled-0 {\n fill: #c42126;\n }\n </style>\n </defs>\n <circle class="breakpoint-enabled-0" cx="8" cy="8" r="5"/>\n</svg>'}"></div>
18513
+ `,A5=class extends pg{}.compose({baseName:"icon-breakpoint-enabled",template:E5,styles:ug})
18522
18514
  Ei.getOrCreate().withPrefix("spright").register(A5())
18523
18515
  const T5=Q`
18524
- <div class="icon" aria-hidden="true" :innerHTML="${()=>'<?xml version="1.0" encoding="UTF-8"?>\n<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">\n <defs>\n <style>\n .breakpoint-hit-0 {\n fill: #c42126;\n }\n\n .breakpoint-hit-1 {\n fill: #161617;\n }\n </style>\n </defs>\n <path class="breakpoint-hit-0" d="M3.36,6.25c.71-1.89,2.5-3.25,4.64-3.25s3.98,1.4,4.67,3.33l-4.96-2.99-1.45,2.4.84.51h-3.75ZM7.71,12.66l-1.45-2.4.84-.51h-3.75c.71,1.89,2.5,3.25,4.64,3.25s3.98-1.4,4.67-3.33l-4.96,2.99Z"/>\n <polygon class="breakpoint-hit-1" points="7.97 4.37 7.29 5.49 9.8 7 2 7 2 9 9.8 9 7.29 10.51 7.97 11.63 14 8 7.97 4.37"/>\n</svg>'}"></div>
18525
- `,O5=class extends pg{}.compose({baseName:"icon-breakpoint-hit",template:T5,styles:ug})
18516
+ <div class="icon" aria-hidden="true" :innerHTML="${()=>'<?xml version="1.0" encoding="UTF-8"?>\n<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">\n <defs>\n <style>\n .breakpoint-execution-pointer-0 {\n fill: #161617;\n }\n </style>\n </defs>\n <polygon class="breakpoint-execution-pointer-0" points="7.97 4.37 7.29 5.49 9.8 7 2 7 2 9 9.8 9 7.29 10.51 7.97 11.63 14 8 7.97 4.37"/>\n</svg>'}"></div>
18517
+ `,O5=class extends pg{}.compose({baseName:"icon-breakpoint-execution-pointer",template:T5,styles:ug})
18526
18518
  Ei.getOrCreate().withPrefix("spright").register(O5())
18527
18519
  const D5=Q`
18528
- <div class="icon" aria-hidden="true" :innerHTML="${()=>'<?xml version="1.0" encoding="UTF-8"?>\n<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">\n <defs>\n <style>\n .breakpoint-hover-0 {\n fill: #c42126;\n opacity: .3;\n }\n </style>\n </defs>\n <circle class="breakpoint-hover-0" cx="8" cy="8" r="5"/>\n</svg>'}"></div>
18529
- `,R5=class extends pg{}.compose({baseName:"icon-breakpoint-hover",template:D5,styles:ug})
18520
+ <div class="icon" aria-hidden="true" :innerHTML="${()=>'<?xml version="1.0" encoding="UTF-8"?>\n<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">\n <defs>\n <style>\n .breakpoint-hit-disabled-0 {\n opacity: .3;\n }\n\n .breakpoint-hit-disabled-0, .breakpoint-hit-disabled-1 {\n fill: #161617;\n }\n </style>\n </defs>\n <path class="breakpoint-hit-disabled-0" d="M3.36,6.25c.71-1.89,2.5-3.25,4.64-3.25s3.98,1.4,4.67,3.33l-4.96-2.99-1.45,2.4.84.51h-3.75ZM7.71,12.66l-1.45-2.4.84-.51h-3.75c.71,1.89,2.5,3.25,4.64,3.25s3.98-1.4,4.67-3.33l-4.96,2.99Z"/>\n <polygon class="breakpoint-hit-disabled-1" points="7.97 4.37 7.29 5.49 9.8 7 2 7 2 9 9.8 9 7.29 10.51 7.97 11.63 14 8 7.97 4.37"/>\n</svg>'}"></div>
18521
+ `,R5=class extends pg{}.compose({baseName:"icon-breakpoint-hit-disabled",template:D5,styles:ug})
18530
18522
  Ei.getOrCreate().withPrefix("spright").register(R5())
18531
- const F5=Mt`
18523
+ const F5=Q`
18524
+ <div class="icon" aria-hidden="true" :innerHTML="${()=>'<?xml version="1.0" encoding="UTF-8"?>\n<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">\n <defs>\n <style>\n .breakpoint-hit-0 {\n fill: #c42126;\n }\n\n .breakpoint-hit-1 {\n fill: #161617;\n }\n </style>\n </defs>\n <path class="breakpoint-hit-0" d="M3.36,6.25c.71-1.89,2.5-3.25,4.64-3.25s3.98,1.4,4.67,3.33l-4.96-2.99-1.45,2.4.84.51h-3.75ZM7.71,12.66l-1.45-2.4.84-.51h-3.75c.71,1.89,2.5,3.25,4.64,3.25s3.98-1.4,4.67-3.33l-4.96,2.99Z"/>\n <polygon class="breakpoint-hit-1" points="7.97 4.37 7.29 5.49 9.8 7 2 7 2 9 9.8 9 7.29 10.51 7.97 11.63 14 8 7.97 4.37"/>\n</svg>'}"></div>
18525
+ `,L5=class extends pg{}.compose({baseName:"icon-breakpoint-hit",template:F5,styles:ug})
18526
+ Ei.getOrCreate().withPrefix("spright").register(L5())
18527
+ const B5=Q`
18528
+ <div class="icon" aria-hidden="true" :innerHTML="${()=>'<?xml version="1.0" encoding="UTF-8"?>\n<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">\n <defs>\n <style>\n .breakpoint-hover-0 {\n fill: #c42126;\n opacity: .3;\n }\n </style>\n </defs>\n <circle class="breakpoint-hover-0" cx="8" cy="8" r="5"/>\n</svg>'}"></div>
18529
+ `,N5=class extends pg{}.compose({baseName:"icon-breakpoint-hover",template:B5,styles:ug})
18530
+ Ei.getOrCreate().withPrefix("spright").register(N5())
18531
+ const z5=Mt`
18532
18532
  ${ug}
18533
18533
 
18534
18534
  .icon svg {
18535
18535
  fill: ${Ec};
18536
18536
  }
18537
18537
  `
18538
- const L5=class extends fg{constructor(){super(Au)}}.compose({baseName:"icon-work-item-calendar-week",template:hg,styles:F5})
18539
- Ei.getOrCreate().withPrefix("spright").register(L5())
18540
- const B5=Mt`
18538
+ const P5=class extends fg{constructor(){super(Au)}}.compose({baseName:"icon-work-item-calendar-week",template:hg,styles:z5})
18539
+ Ei.getOrCreate().withPrefix("spright").register(P5())
18540
+ const V5=Mt`
18541
18541
  ${ug}
18542
18542
 
18543
18543
  .icon svg {
18544
18544
  fill: ${Ic};
18545
18545
  }
18546
18546
  `
18547
- const N5=class extends fg{constructor(){super(Tu)}}.compose({baseName:"icon-work-item-calipers",template:hg,styles:B5})
18548
- Ei.getOrCreate().withPrefix("spright").register(N5())
18549
- const z5=Mt`
18547
+ const H5=class extends fg{constructor(){super(Tu)}}.compose({baseName:"icon-work-item-calipers",template:hg,styles:V5})
18548
+ Ei.getOrCreate().withPrefix("spright").register(H5())
18549
+ const U5=Mt`
18550
18550
  ${ug}
18551
18551
 
18552
18552
  .icon svg {
18553
18553
  fill: ${Ac};
18554
18554
  }
18555
18555
  `
18556
- const P5=class extends fg{constructor(){super(Xp)}}.compose({baseName:"icon-work-item-forklift",template:hg,styles:z5})
18557
- Ei.getOrCreate().withPrefix("spright").register(P5())
18558
- const V5=Mt`
18556
+ const q5=class extends fg{constructor(){super(Xp)}}.compose({baseName:"icon-work-item-forklift",template:hg,styles:U5})
18557
+ Ei.getOrCreate().withPrefix("spright").register(q5())
18558
+ const j5=Mt`
18559
18559
  ${ug}
18560
18560
 
18561
18561
  .icon svg {
18562
18562
  fill: ${$c};
18563
18563
  }
18564
18564
  `
18565
- const H5=class extends fg{constructor(){super(em)}}.compose({baseName:"icon-work-item-rectangle-check-lines",template:hg,styles:V5})
18566
- Ei.getOrCreate().withPrefix("spright").register(H5())
18567
- const U5=Mt`
18565
+ const W5=class extends fg{constructor(){super(em)}}.compose({baseName:"icon-work-item-rectangle-check-lines",template:hg,styles:j5})
18566
+ Ei.getOrCreate().withPrefix("spright").register(W5())
18567
+ const Z5=Mt`
18568
18568
  ${ug}
18569
18569
 
18570
18570
  .icon svg {
18571
18571
  fill: ${Tc};
18572
18572
  }
18573
18573
  `
18574
- const q5=class extends fg{constructor(){super(wm)}}.compose({baseName:"icon-work-item-square-list-cog",template:hg,styles:U5})
18575
- Ei.getOrCreate().withPrefix("spright").register(q5())
18576
- const j5=Mt`
18574
+ const G5=class extends fg{constructor(){super(wm)}}.compose({baseName:"icon-work-item-square-list-cog",template:hg,styles:Z5})
18575
+ Ei.getOrCreate().withPrefix("spright").register(G5())
18576
+ const K5=Mt`
18577
18577
  ${ug}
18578
18578
 
18579
18579
  .icon svg {
18580
18580
  fill: ${_c};
18581
18581
  }
18582
18582
  `
18583
- const W5=class extends fg{constructor(){super(Qm)}}.compose({baseName:"icon-work-item-user-helmet-safety",template:hg,styles:j5})
18584
- Ei.getOrCreate().withPrefix("spright").register(W5())
18585
- const Z5=Mt`
18583
+ const Y5=class extends fg{constructor(){super(Qm)}}.compose({baseName:"icon-work-item-user-helmet-safety",template:hg,styles:K5})
18584
+ Ei.getOrCreate().withPrefix("spright").register(Y5())
18585
+ const X5=Mt`
18586
18586
  ${ug}
18587
18587
 
18588
18588
  .icon svg {
18589
18589
  fill: ${Mc};
18590
18590
  }
18591
18591
  `
18592
- const G5=class extends fg{constructor(){super(lg)}}.compose({baseName:"icon-work-item-wrench-hammer",template:hg,styles:Z5})
18593
- Ei.getOrCreate().withPrefix("spright").register(G5())
18594
- const K5=Mt`
18592
+ const J5=class extends fg{constructor(){super(lg)}}.compose({baseName:"icon-work-item-wrench-hammer",template:hg,styles:X5})
18593
+ Ei.getOrCreate().withPrefix("spright").register(J5())
18594
+ const Q5={send:n5,stop:i5}
18595
+ class t4 extends Ub{constructor(){super(...arguments),this.supportedLabels=Q5}}t([ft],t4.prototype,"send",void 0),t([ft],t4.prototype,"stop",void 0)
18596
+ const e4=t4.compose({baseName:"label-provider-chat",styles:qb})
18597
+ Ei.getOrCreate().withPrefix("spright").register(e4())
18598
+ const n4=Mt`
18595
18599
  ${j6("inline-block")}
18596
18600
 
18597
18601
  :host {
@@ -18614,7 +18618,7 @@ const K5=Mt`
18614
18618
  :host([disabled]) slot {
18615
18619
  color: ${pd};
18616
18620
  }
18617
- `,Y5=Q`<slot></slot>`
18618
- const X5=class extends qe{}.compose({baseName:"rectangle",template:Y5,styles:K5})
18619
- Ei.getOrCreate().withPrefix("spright").register(X5())}()
18621
+ `,i4=Q`<slot></slot>`
18622
+ const o4=class extends qe{}.compose({baseName:"rectangle",template:i4,styles:n4})
18623
+ Ei.getOrCreate().withPrefix("spright").register(o4())}()
18620
18624
  //# sourceMappingURL=all-components-bundle.min.js.map