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:"149648585dca47d929543511ce36d472ac49bf2a","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:"3543436051869248024f2110f240d4a11461c591",class:"onto-license-alert onto-btn",onClick:navigateTo("license")},h("span",{key:"87a59b584d34508bc8d91a0b4ec065fb3fe2c5bf",class:"ri-alert-line"}),h("translate-label",{key:"c815a7badf2cbb2f4589194b4473f0cf2551a0a1",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}}}}