@progress/kendo-vue-gauges
Version:
9 lines (8 loc) • 1.02 kB
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),l=require("@progress/kendo-vue-common"),c=t.defineComponent({name:"KendoArcCenter",props:{center:[String,Function,Object]},inject:{arcCenterValue:{default:null},centerStyles:{default:null}},created(){this.element=null},render(){const{center:n}=this.$props,r={zIndex:-1,...this.centerStyles};let e=null;return n?(e=l.getTemplate.call(this,{h:t.h,template:n,defaultRendering:"",additionalProps:{value:this.arcCenterValue.value,color:this.arcCenterValue.color}}),t.createVNode("div",{class:"k-arcgauge-label",style:r},[e])):e}});exports.ArcCenter=c;