UNPKG

@progress/kendo-vue-gauges

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