UNPKG

graphdb-workbench

Version:
1 lines 1.29 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:"6283d1acb15331985f3c5195c90f7045ed4f54e3","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:"51aa59067ac8f8e35b5ad05c113d47ee37651628",class:"onto-license-alert onto-btn",onClick:navigateTo("license")},h("span",{key:"7447c981a795ea4958fca59c5f68c3eb3c85ba93",class:"icon-warning"}),h("translate-label",{key:"f57a0f65965a8540ddadfb692012c71b27012ee9",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}}}}