@ni/spright-components 4.5.0 → 4.5.1
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.
|
@@ -9296,7 +9296,7 @@ const JT=Q`
|
|
|
9296
9296
|
}
|
|
9297
9297
|
`
|
|
9298
9298
|
class tR extends ZE{constructor(){super(...arguments),this.markdown="",this.mentionedHrefs=[]}connectedCallback(){super.connectedCallback(),this.updateView()}markdownChanged(){this.updateView()}configurationChanged(){this.updateView()}getMentionedHrefs(){return Array.from(this.mentionedHrefs)}updateView(){if(this.$fastController.isConnected)if(this.markdown){const t=NE.parseMarkdownToDOM(this.markdown,this.configuration?.parserMentionConfig)
|
|
9299
|
-
this.viewer.replaceChildren(t.fragment),this.mentionedHrefs=t.mentionedHrefs}else this.viewer.innerHTML="",this.mentionedHrefs=[]}}t([
|
|
9299
|
+
this.viewer.replaceChildren(t.fragment),this.mentionedHrefs=t.mentionedHrefs}else this.viewer.innerHTML="",this.mentionedHrefs=[]}}t([ft({mode:"fromView"})],tR.prototype,"markdown",void 0)
|
|
9300
9300
|
const eR=tR.compose({baseName:"rich-text-viewer",template:JT,styles:QT})
|
|
9301
9301
|
_i.getOrCreate().withPrefix("nimble").register(eR())
|
|
9302
9302
|
const nR=Mt`
|