graphdb-workbench
Version:
The web application for GraphDB APIs
1 lines • 1.29 kB
JavaScript
import{navigateTo}from"../../../../../api/dist/ontotext-workbench-api";import{Host,h}from"@stencil/core";import{OntoTooltipPlacement}from"../onto-tooltip/models/onto-tooltip-placement";export class OntoLicenseAlert{render(){var e;return h(Host,{key:"0067db786bd82713daab8282753d3f93aec0ec38","tooltip-content":null===(e=this.license)||void 0===e?void 0:e.message,"tooltip-placement":OntoTooltipPlacement.BOTTOM,"data-test":"onto-license-alert"},h("button",{key:"b85276c21bc7686e7d9b00ba5123aa73b5013a19",class:"onto-license-alert onto-btn",onClick:navigateTo("license")},h("span",{key:"7e3d93a7afe21e6b2a4b7706205c5aac60f3fde2",class:"icon-warning"}),h("translate-label",{key:"42f0bfeefdf7d758f5d2ad3f473f1b24f777f1dc",labelKey:"license_alert.label"})))}static get is(){return"onto-license-alert"}static get originalStyleUrls(){return{$:["onto-license-alert.scss"]}}static get styleUrls(){return{$:["onto-license-alert.css"]}}static get properties(){return{license:{type:"unknown",attribute:"license",mutable:!1,complexType:{original:"License",resolved:"License",references:{License:{location:"import",path:"@ontotext/workbench-api",id:"../api/dist/ontotext-workbench-api.d.ts::License"}}},required:!1,optional:!1,docs:{tags:[],text:"The current license information"},getter:!1,setter:!1}}}}