UNPKG

graphdb-workbench

Version:
1 lines 1.3 kB
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:"8a1a9ad6ea4b4e336499d38588fdc373c2cd71a4","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:"4584d26858a08aae7238260d1e8d994f3cf84199",class:"onto-license-alert onto-btn",onClick:navigateTo("license")},h("span",{key:"6bc7adea570d54f5af32885a8705bf4efa2cc430",class:"ri-alert-line"}),h("translate-label",{key:"86f42bc0a3bd42f5bb5678dd02fa5a66eb7fa1de",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",mutable:!1,complexType:{original:"License",resolved:"License",references:{License:{location:"import",path:"@ontotext/workbench-api",id:"../api/dist/ontotext-workbench-api.d.ts::License",referenceLocation:"License"}}},required:!1,optional:!1,docs:{tags:[],text:"The current license information"},getter:!1,setter:!1}}}}