@ni/ok-components 0.2.9 → 0.2.10
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.
|
@@ -15751,6 +15751,14 @@ const TQ=t=>`${Po(t)}:host{box-sizing:border-box;}*{box-sizing:border-box;}:host
|
|
|
15751
15751
|
border-color: transparent;
|
|
15752
15752
|
}
|
|
15753
15753
|
|
|
15754
|
+
.toolbar {
|
|
15755
|
+
display: block;
|
|
15756
|
+
}
|
|
15757
|
+
|
|
15758
|
+
.toolbar.toolbar-empty {
|
|
15759
|
+
display: none;
|
|
15760
|
+
}
|
|
15761
|
+
|
|
15754
15762
|
.messages {
|
|
15755
15763
|
flex: 1;
|
|
15756
15764
|
display: flex;
|
|
@@ -15776,13 +15784,16 @@ const TQ=t=>`${Po(t)}:host{box-sizing:border-box;}*{box-sizing:border-box;}:host
|
|
|
15776
15784
|
padding: 0px ${Hl} 0px ${Hl};
|
|
15777
15785
|
}
|
|
15778
15786
|
`,OQ=Q`
|
|
15787
|
+
<div class="toolbar ${t=>t.toolbarEmpty?"toolbar-empty":""}">
|
|
15788
|
+
<slot name="toolbar" ${Qt({property:"slottedToolbarElements"})}></slot>
|
|
15789
|
+
</div>
|
|
15779
15790
|
<div class="messages"><slot></slot></div>
|
|
15780
15791
|
<div class="input ${t=>t.inputEmpty?"input-empty":""}">
|
|
15781
15792
|
<slot name="input" ${Qt({property:"slottedInputElements"})}>
|
|
15782
15793
|
</slot>
|
|
15783
15794
|
</div>
|
|
15784
15795
|
`,RQ={default:void 0}
|
|
15785
|
-
class FQ extends Ve{constructor(){super(...arguments),this.appearance=RQ.default,this.inputEmpty=!0}slottedInputElementsChanged(t,e){this.inputEmpty=void 0===e||0===e.length}}t([ft],FQ.prototype,"appearance",void 0),t([C],FQ.prototype,"inputEmpty",void 0),t([C],FQ.prototype,"slottedInputElements",void 0)
|
|
15796
|
+
class FQ extends Ve{constructor(){super(...arguments),this.appearance=RQ.default,this.inputEmpty=!0,this.toolbarEmpty=!0}slottedInputElementsChanged(t,e){this.inputEmpty=void 0===e||0===e.length}slottedToolbarElementsChanged(t,e){this.toolbarEmpty=void 0===e||0===e.length}}t([ft],FQ.prototype,"appearance",void 0),t([C],FQ.prototype,"inputEmpty",void 0),t([C],FQ.prototype,"slottedInputElements",void 0),t([C],FQ.prototype,"toolbarEmpty",void 0),t([C],FQ.prototype,"slottedToolbarElements",void 0)
|
|
15786
15797
|
const NQ=FQ.compose({baseName:"chat-conversation",template:OQ,styles:DQ})
|
|
15787
15798
|
Mi.getOrCreate().withPrefix("spright").register(NQ())
|
|
15788
15799
|
const LQ=Mt`
|