@progress/kendo-vue-charts
Version:
15 lines • 103 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
*-------------------------------------------------------------------------------------------
*/
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("vue"),require("@progress/kendo-vue-intl"),require("@progress/kendo-charts"),require("@progress/kendo-vue-common"),require("@progress/kendo-vue-popup"),require("@progress/kendo-svg-icons")):"function"==typeof define&&define.amd?define(["exports","vue","@progress/kendo-vue-intl","@progress/kendo-charts","@progress/kendo-vue-common","@progress/kendo-vue-popup","@progress/kendo-svg-icons"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).KendoVueCharts={},t.Vue,t.KendoVueIntl,t.KendoCharts,t.KendoVueCommon,t.KendoVuePopup,t.KendoSVGIcons)}(this,(function(t,e,n,o,i,r,a){"use strict";function s(t,e){let n=t;for(;n&&n!==e;)n=n.parentNode;return!!n}function l(t){const e={...t};return Object.keys(e).forEach((t=>{void 0===e[t]&&delete e[t],"dataItems"===t&&(e.data=e[t],delete e[t]),"lineStyle"===t&&e[t]&&(e.style=e[t],delete e[t])})),e}const u=t=>void 0!==t&&!t;let d=class{constructor(t){this.target=t}};class c extends d{constructor(t,e){super(e),this.axis=t.axis,this.dataItem=t.dataItem,this.index=t.index,this.text=t.text,this.value=t.value}}class p extends d{constructor(){super(...arguments),this.prevented=!1}preventDefault(){this.prevented=!0}isDefaultPrevented(){return this.prevented}}let f=class extends p{constructor(t,e){super(e),this.axisRanges=t.axisRanges,this.nativeEvent=t.originalEvent}},h=class extends d{constructor(t,e){super(e),this.axisRanges=t.axisRanges,this.nativeEvent=t.originalEvent}},g=class extends p{constructor(t,e){super(e),this.axisRanges=t.axisRanges,this.nativeEvent=t.originalEvent}},y=class extends p{constructor(t,e){super(e),this.series=t.series,this.seriesIndex=t.seriesIndex,this.pointIndex=t.pointIndex,this.text=t.text}preventDefault(){super.preventDefault()}},b=class extends p{constructor(t,e){super(e),this.series=t.series,this.seriesIndex=t.seriesIndex,this.pointIndex=t.pointIndex,this.text=t.text}preventDefault(){super.preventDefault()}},m=class extends d{constructor(t,e){super(e),this.from=t.from,this.to=t.to}},v=class extends d{constructor(t,e){super(e),this.category=t.category,this.dataItem=t.dataItem,this.series=t.series,this.value=t.value,this.visual=t.visual}},S=class extends d{constructor(t,e){super(e),this.category=t.category,this.dataItem=t.dataItem,this.series=t.series,this.value=t.value,this.visual=t.visual}},C=class extends d{constructor(t,e){super(e),this.category=t.category,this.nativeEvent=t.originalEvent,this.value=t.value,this.x=t.x,this.y=t.y}},O=class extends d{constructor(t,e){super(e),this.category=t.category,this.nativeEvent=t.originalEvent,this.value=t.value,this.x=t.x,this.y=t.y}},j=class extends d{constructor(t,e){super(e)}},N=class extends p{constructor(t,e){super(e),this.axis=t.axis,this.from=t.from,this.to=t.to}},x=class extends d{constructor(t,e){super(e),this.axis=t.axis,this.from=t.from,this.to=t.to}},D=class extends p{constructor(t,e){super(e),this.axis=t.axis,this.from=t.from,this.to=t.to}},K=class extends d{constructor(t,e){super(e),this.category=t.category,this.dataItem=t.dataItem,this.nativeEvent=t.originalEvent,this.percentage=t.percentage,this.point=t.point,this.series=t.series,this.stackValue=t.stackValue,this.value=t.value}},k=class extends p{constructor(t,e){super(e),this.category=t.category,this.categoryPoints=t.categoryPoints,this.dataItem=t.dataItem,this.nativeEvent=t.originalEvent,this.percentage=t.percentage,this.point=t.point,this.series=t.series,this.stackValue=t.stackValue,this.value=t.value}},A=class extends p{constructor(t,e){super(e),this.axisRanges=t.axisRanges,this.delta=t.delta,this.nativeEvent=t.originalEvent}},I=class extends d{constructor(t,e){super(e),this.axisRanges=t.axisRanges,this.nativeEvent=t.originalEvent}},F=class extends p{constructor(t,e){super(e),this.axisRanges=t.axisRanges,this.nativeEvent=t.originalEvent}};const B={axisLabelClick:c,drag:f,dragEnd:h,dragStart:g,legendItemHover:y,legendItemClick:b,legendItemLeave:class extends p{constructor(t,e){super(e),this.series=t.series,this.seriesIndex=t.seriesIndex,this.pointIndex=t.pointIndex,this.text=t.text}preventDefault(){super.preventDefault()}},navigatorFilter:m,noteClick:v,noteHover:S,plotAreaClick:C,plotAreaHover:O,render:j,select:N,selectEnd:x,selectStart:D,seriesClick:K,seriesHover:k,zoom:A,zoomEnd:I,zoomStart:F};let L=class{constructor(t,e){this.sender=t,this.event=e}};const T=1e3/60,$=(t,e)=>{if(!e.type)return{};switch(e.type){case"set":return w.themeItem(t,e);case"push":return Object.assign(t,e.payload);default:return t}},w={configurationItem:(t,e)=>t[e.chartKey]&&Object.keys(t[e.chartKey]).length?Object.assign(t,{[e.chartKey]:{...t[e.chartKey],...e.payload}}):Object.assign(t,{[e.chartKey]:e.payload}),collectionConfigurationItem(t,e){let n=!1;const[o,i]=e.chartCollectionIdxKey.split("_"),r=(e.parentKey?t[e.parentKey]&&t[e.parentKey][o]||[]:t[o]||[]).map(((t,o)=>parseInt(i,10)===o||e.payload&&e.payload.uid===t.uid?(n=!0,e.payload):t));if(!1===n&&!e.uid&&r.splice(parseInt(i,10),0,e.payload),e.uid){const t=r.findIndex((t=>t.uid===e.uid));t>-1&&r.splice(t,1)}return e.parentKey?Object.assign(t,{[e.parentKey]:{[o]:r}}):Object.assign(t,{[o]:r})},themeItem(t,e){let n={};const o=Object.assign(n,t),{field:i,value:r}=e.payload,a=i.split(".");let s=a.shift();for(;a.length>0;)n=n[s]=n[s]||{},s=a.shift();return n[s]=r,o}};let V=class{constructor(t,e){this.value=t.value,this.category=t.category,this.categoryIndex=t.categoryIx,this.series=t.series,this.dataItem=t.dataItem,this.percentage=t.percentage,this.runningTotal=t.runningTotal,this.total=t.total,this.low=t.low,this.high=t.high,this.xLow=t.xLow,this.xHigh=t.xHigh,this.yLow=t.yLow,this.yHigh=t.yHigh,this.point=t,this.format=((t.options||{}).tooltip||{}).format||e}get formattedValue(){return this.format?this.point.formatValue(this.format):String(this.value)}};const E=e.defineComponent({name:"KendoSharedTooltipPopup",props:{categoryText:String,colorMarker:{type:Boolean,default:void 0},colspan:Number,nameColumn:{type:Boolean,default:void 0},points:Array},render(){const{categoryText:t,colorMarker:n,colspan:o,nameColumn:i,points:r}=this.$props;return e.createVNode("table",null,[e.createVNode("thead",null,[e.createVNode("tr",null,[e.createVNode("th",{colspan:o},[t])])]),e.createVNode("tbody",null,[r.map(function(t,o){const r=e.h("span",{innerHTML:t.formattedValue});return e.createVNode("tr",{key:o},[n&&e.createVNode("td",null,[e.createVNode("span",{class:"k-chart-shared-tooltip-marker",style:{backgroundColor:t.series.color}},null)]),i&&e.createVNode("td",null,[t.series.name]),r])}.bind(this),this)])])}}),R={horizontal:"fit",vertical:"fit"},z="k-chart-tooltip",P=e.defineComponent({name:"KendoTooltipPopup",props:{className:String,popupShown:Boolean,popupAlign:{type:Object,default:function(){}},popupOffset:{type:Object},popupStyles:{type:Object},popupContent:Function},inject:{options:{default:{state:{}}},dispatchOptions:{default:null},observersState:{default:null},dispatchObservers:{default:null},childrenObserver:{default:null}},created(){this.chartObserver=new o.InstanceObserver(this,{onMouseLeave:"onChartMouseLeave"}),this.dispatchObservers({type:"add",payload:this.chartObserver})},mounted(){this.element=i.getRef(this,"element")},unmounted(){this.dispatchObservers({type:"remove",payload:this.chartObserver})},render(){const t=i.getDefaultSlots(this),{popupShown:n,popupAlign:o,popupOffset:a,popupStyles:s,className:l}=this.$props,u=[z,l].join(" ").trim();return e.createVNode(r.Popup,{animate:!1,popupAlign:o,offset:a,show:n,collision:R,class:"k-chart-tooltip-wrapper"},{default:()=>[e.createVNode("div",{class:u,style:s,onMouseleave:this.onMouseLeave,ref:i.setRef(this,"element")},[t])]})},methods:{onChartMouseLeave(t){const{event:e}=t;return!!s(e.relatedTarget,this.element)},onMouseLeave(t){}}});const H="k-chart-shared-tooltip",q="k-chart-tooltip-inverse",U=e.defineComponent({name:"KendoSeriesTooltip",data:()=>({popupShown:!1,popupAlign:void 0,popupOffset:void 0,popupContext:{},popupStyles:void 0,className:void 0,shared:void 0}),inject:{optionsState:{default:{}},observersState:{default:null},dispatchObservers:{default:null}},mounted(){this.chartObserver=new o.InstanceObserver(this,{showTooltip:"onShowTooltip",hideTooltip:"onHideTooltip"}),this.dispatchObservers({type:"add",payload:this.chartObserver})},unmounted(){this.dispatchObservers({type:"remove",payload:this.chartObserver})},render(){let t;const n=this.popupShown?function(){const t=this.findRenderFunction();if(this.shared){const n=e.createVNode(E,{categoryText:this.popupContext.categoryText,colorMarker:this.popupContext.colorMarker,colspan:this.popupContext.colspan,nameColumn:this.popupContext.nameColumn,points:this.popupContext.points},null);return i.getTemplate.call(this,{h:e.h,template:t,defaultRendering:n,additionalProps:Object.assign({},this.popupContext)})}{const n=this.popupContext.point,o=this.findRenderFunctionByIndex(n.series.index),r=e.h("span",{innerHTML:this.popupContext.point.formattedValue});return null!==o?i.getTemplate.call(this,{h:e.h,template:o,defaultRendering:r,additionalProps:Object.assign({},this.popupContext)}):null!==t?i.getTemplate.call(this,{h:e.h,template:t,defaultRendering:r,additionalProps:Object.assign({},this.popupContext)}):r}}:Function.prototype,o=i.classNames({[H]:this.shared,[q]:!!this.className});return e.createVNode(P,{popupShown:this.popupShown,popupAlign:this.popupAlign,popupOffset:this.popupOffset,popupStyles:this.popupStyles,className:o},function(t){return"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!e.isVNode(t)}(t=n.call(this))?t:{default:()=>[t]})},methods:{onShowTooltip(t){const{anchor:e,style:n,shared:o,className:i,crosshair:r}=t;let a;r||(a=o?this.createSharedTooltipContext(t):this.createTooltipContext(t),this.popupShown=!0,this.popupAlign=e.align,this.popupOffset=e.point,this.popupContext=a,this.popupStyles=n,this.className=i,this.shared=o)},onHideTooltip(){this.popupShown=!1,this.popupStyles={},this.className=void 0},createSharedTooltipContext(t){const{points:e,categoryText:n}=t,o=e.filter((t=>void 0!==t.series.name)).length>0,i=t.series.length>1;let r=1;return o&&r++,i&&r++,{categoryText:n,colorMarker:i,colspan:r,nameColumn:o,points:t.points.map((e=>new V(e,t.format)))}},createTooltipContext(t){const{point:e,format:n}=t;return{point:new V(e,n)}},findRenderFunctionByIndex(t){const e=this.optionsState.series;return void 0!==e&&Array.isArray(e)&&void 0!==e[t]&&e[t].hasOwnProperty("tooltip")&&e[t].tooltip.hasOwnProperty("render")?e[t].tooltip.render:null},findRenderFunction(){const t=this.optionsState.tooltip;return void 0!==t&&t.hasOwnProperty("render")?t.render:null}}});const M="k-chart-crosshair-tooltip",X="k-chart-tooltip-inverse",Y=e.defineComponent({name:"KendoCrosshairTooltip",props:{index:Number,name:String},data:()=>({popupShown:!1,popupAlign:void 0,popupOffset:void 0,popupContent:void 0,popupStyles:void 0,className:void 0}),inject:{optionsState:{default:{}},dispatchOptions:{default:null},observersStore:{default:null},dispatchObservers:{default:null},childrenObserver:{default:null}},created(){this.chartObserver=new o.InstanceObserver(this,{showTooltip:"onShowTooltip",hideTooltip:"onHideTooltip"}),this.dispatchObservers({type:"add",payload:this.chartObserver})},unmounted(){this.dispatchObservers({type:"remove",payload:this.chartObserver})},render(){const t=this.popupShown?this.popupContent:Function.prototype,n=i.classNames({[M]:!0,[X]:!!this.className});return e.createVNode(P,{popupShown:this.popupShown,popupAlign:this.popupAlign,popupOffset:this.popupOffset,popupStyles:this.popupStyles,className:n},function(t){return"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!e.isVNode(t)}(t)?t:{default:()=>[t]})},methods:{onShowTooltip(t){const{anchor:e,style:n,className:o,crosshair:i,axisName:r,axisIndex:a,value:s}=t,{name:l,index:u}=this.$props;i&&r===l&&a===u&&(this.popupShown=!0,this.popupAlign=e.align,this.popupOffset=e.point,this.popupContent=s,this.popupStyles=n,this.className=o)},onHideTooltip(){this.popupShown=!1,this.popupStyles={},this.className=void 0}}}),G=["categoryAxis","valueAxis","xAxis","yAxis"];function _(t,e){const n=[];if(t[e]){const o=[].concat(t[e]);for(let t=0;t<o.length;t++){const i=(o[t].crosshair||{}).tooltip;i&&i.visible&&n.push({index:t,name:e})}}return n}const W=e.defineComponent({name:"KendoCrosshairContainer",props:{optionsState:Object},computed:{tooltips(){return function(t){const e={};for(let n=0;n<G.length;n++){const o=_(t,G[n]);for(let t=0;t<o.length;t++){const n=o[t];e[n.name+n.index]=n}}return e}(this.optionsState)}},render(){const t=Object.keys(this.tooltips).map((function(t){return e.createVNode(Y,{index:this.tooltips[t].index,name:this.tooltips[t].name,key:t},null)}),this);return e.createVNode("div",null,[t])}}),Z={name:"@progress/kendo-vue-charts",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:1628602492,version:"6.4.1",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},J=e.defineComponent({name:"KendoBaseChart",props:{deriveOptionsFromParent:{type:Function,default:void 0},chartConstructor:{type:[Object,Function],default:void 0},className:String,chartStyle:Object,wrapper:String,getTarget:{type:Function,default:void 0},dataItems:{type:Array,default:void 0},dir:String,renderAs:{type:String,default:void 0,validator:function(t){return["svg","canvas"].includes(t)}},pannable:{type:[Boolean,Object],default:void 0},zoomable:{type:[Boolean,Object],default:void 0},seriesColors:{type:Array,default:void 0},transitions:{type:Boolean,default:!0},paneDefaults:{type:Object,default:void 0},panes:{type:Array,default:void 0},seriesDefaults:{type:Object,default:void 0},axisDefaults:{type:Object,default:void 0},allListeners:{type:Object,default:void 0},onLegenditemclick:Function,onBasechartevent:Function,onRefresh:Function},inject:{kendoIntlService:{default:null}},provide(){return{optionsState:this.optionsState,dispatchOptions:this.dispatchOptions,observersState:this.observersState,dispatchObservers:this.dispatchObservers,childrenObserver:this.childrenObserver,chartRefresh:this.refresh}},created(){this.chartInstance=null,this.element=null,this.suppressTransitions=!1,i.validatePackage(Z),this.showLicenseWatermark=i.shouldShowValidationUI(Z),this.themeStore=(t=>{let e,n,o=[];const r=r=>{e=t(e,r),i.canUseDOM&&(window.clearTimeout(n),n=window.setTimeout((()=>o.forEach((t=>t()))),T))};return r({}),{getState:()=>e,dispatch:r,subscribe:t=>(o.push(t),()=>o=o.filter((e=>e!==t)))}})($),this.chartObserver=new o.InstanceObserver(this,{render:"onRender",legendItemClick:"onLegendItemClick"})},data(){return{optionsState:{},observersState:[],childrenObserver:new o.InstanceObserver(this,{onMouseLeave:"onChildMouseLeave"}),showLicenseWatermark:!1}},mounted(){this.element=i.getRef(this,"element"),((t,e,n)=>{const i=o.chartBaseTheme();if("undefined"==typeof document)return void t.dispatch({type:"push",payload:i});let r={};try{r=o.chartTheme(n)}finally{t.dispatch({type:"push",payload:o.deepExtend(i,r)}),e()}})(this.themeStore,this.instantiateCoreChart,this.element),window.addEventListener("resize",this.onWindowResize)},unmounted(){this.onDestroyed()},updated(){if(null!==this.chartInstance){const t=n.provideIntlService(this),e=this.chartInstance.chartService;t.locale!==e._intlService.locale&&(this.chartInstance.chartService._intlService=t,this.chartInstance.chartService.format._intlService=t,this.chartInstance.noTransitionsRedraw()),this.refresh()}},render(){const t=i.getDefaultSlots(this),{chartStyle:n={},className:o,wrapper:r}=this.$props,a=Object.assign({},n,{position:"relative"}),s=this.showLicenseWatermark?e.createVNode(i.WatermarkOverlay,null,null):null;return e.h(r,{style:a,class:o,key:"chartElement"},[e.h(U,{key:"seriesTooltip"}),e.h(W,{key:"crosshairTooltips",optionsState:{...this.optionsState}}),function(){return e.createVNode("div",{onMouseleave:this.onChartMouseLeave,ref:i.setRef(this,"element"),class:"k-chart-surface"},[t,s])}.call(this)])},methods:{dispatchOptions(t){((t,e)=>{e.chartCollectionIdxKey?w.collectionConfigurationItem(t,e):e.chartKey&&w.configurationItem(t,e)})(this.optionsState,t)},dispatchObservers(t){this.observersState=((t,e)=>{if(!e.type)return[];switch(e.type){case"add":return[...t,e.payload];case"remove":return t.filter((t=>t!==e.payload));default:return t}})(this.observersState,t)},onDestroyed(){null!==this.chartInstance&&(this.chartInstance.destroy(),this.chartInstance=null),window.removeEventListener("resize",this.onWindowResize)},getDirection(t){return void 0!==t?"rtl"===t:i.isRtl(this.element)},getChartOptions(){const{renderAs:t,pannable:e,zoomable:n,paneDefaults:o,panes:i,transitions:r,seriesColors:a,seriesDefaults:s,axisDefaults:l,deriveOptionsFromParent:u}=this.$props;let d={};return void 0!==t&&(d.renderAs=t),void 0!==e&&(d.pannable=e),void 0!==n&&(d.zoomable=n),void 0!==o&&(d.paneDefaults=o),void 0!==i&&(d.panes=i),void 0!==r&&(d.transitions=r),void 0!==a&&(d.seriesColors=a),void 0!==s&&(d.seriesDefaults=s),void 0!==l&&(d.axisDefaults=l),d=Object.assign(d,this.optionsState),u&&(d=u(d)),d},refresh(){if(null!==this.chartInstance){const t=this.themeStore.getState(),e=this.getChartOptions(),n=e.transitions;this.suppressTransitions&&(e.transitions=!1),i.hasListener.call(this,"refresh")?this.trigger("refresh",{chartOptions:e,themeOptions:t,chartInstance:this.chartInstance}):this.chartInstance.setOptions(e,t),this.suppressTransitions&&(e.transitions=n,this.suppressTransitions=!1)}},instantiateCoreChart(){const{dir:t,chartConstructor:e}=this.$props,o=this.getChartOptions();let i=null;this.element&&(i=this.element.lastElementChild,i&&this.element.removeChild(i)),this.chartInstance=new e(this.element,o,this.themeStore.getState(),{rtl:this.getDirection(t),intlService:n.provideIntlService(this),observer:this.chartObserver,sender:this}),this.element&&i&&this.element.appendChild(i)},trigger(t,e){const n=function(t,e,n){if(B[t])return new B[t](e,n)}(t,e,this.$props.getTarget()),o=this.observersState;let i=!1;for(let n=0;n<o.length;n++)o[n].trigger(t,e)&&(i=!0);return!1===i&&n?(this.$emit("basechartevent",t.toLowerCase(),n),n.isDefaultPrevented&&n.isDefaultPrevented()):i},triggerDomEvent(t,e){const n=this.observersState;let o=!1;for(let i=0;i<n.length;i++)n[i].trigger(t,e)&&(o=!0);return o},onRender(t){null!==this.chartInstance&&(this.surface=t.sender.surface,this.trigger("render",t))},hasListener(t){return!!this.$props.allListeners&&Object.keys(this.$props.allListeners).some((e=>-1!==e.toLowerCase().indexOf(t.toLowerCase())))},onLegendItemClick(t){if(null!==this.chartInstance)if(this.hasListener("legenditemclick"))this.$emit("legenditemclick",t);else{const{series:e}=this.optionsState;if(!e)return;let n={};const{seriesIndex:o,pointIndex:i}=t,r=e[o];if(void 0===i)n=Object.assign({},r,{visible:u(r.visible)});else{const t=r.pointVisibility=r.pointVisibility||[];t[i]=u(t[i]),n=Object.assign({},r)}this.dispatchOptions({chartCollectionIdxKey:`series_${o}`,payload:n}),this.suppressTransitions=!0,this.refresh()}},onWindowResize(){null!==this.chartInstance&&this.chartInstance.resize()},onChartMouseLeave(t){const e=function(t,e){return new L(t,e)}(this,t);this.triggerDomEvent("onMouseLeave",e)?t.preventDefault():null!==this.chartInstance&&this.chartInstance.hideElements()},onChildMouseLeave(t){const{event:e}=t;return this.chartInstance&&!s(e.relatedTarget,this.element)&&this.chartInstance.hideElements(),!1},requiresHandlers(t){for(let e=0;e<t.length;e++){const n=t[e];if(this.hasListener(n))return!0}return!1}}}),Q=e.defineComponent({name:"KendoDonutCenter",props:{render:[String,Function,Object]},data:()=>({donutCenterStyles:null}),inject:{optionsState:{default:{}},dispatchOptions:{default:null},dispatchObservers:{default:null},childrenObserver:{default:null}},created(){this.dispatchObservers({type:"add",payload:new o.InstanceObserver(this,{render:"onRender"})})},render(){const{render:t}=this.$props;let n=e.createVNode("span",null,null);const o=i.getTemplate.call(this,{h:e.h,template:t,defaultRendering:null});return t&&this.donutCenterStyles&&(n=e.createVNode("div",{class:"k-chart-donut-center",style:this.donutCenterStyles},[o])),n},methods:{onRender(t){const e=this.optionsState.series,n=Array.isArray(e)?e[0]:null,o=t.sender._plotArea.charts;if(!n||"donut"!==n.type||0===o[0].points.length)return;const i=o[0].points[0].sector,r=i.innerRadius,a=i.center.y-r,s=i.center.x-r,l=2*r;this.donutCenterStyles={height:l+"px",left:s+"px",top:a+"px",width:l+"px"}}}}),tt=e.defineComponent({name:"KendoChart",props:{donutCenterRender:[String,Function,Object],dir:String,renderAs:{type:String,default:void 0,validator:function(t){return["svg","canvas"].includes(t)}},pannable:{type:[Boolean,Object],default:void 0},zoomable:{type:[Boolean,Object],default:void 0},seriesColors:{type:Array,default:void 0},transitions:{type:Boolean,default:!0},paneDefaults:{type:Object,default:void 0},panes:{type:Array,default:void 0},seriesDefaults:{type:Object,default:void 0},axisDefaults:{type:Object,default:void 0},onAxislabelclick:Function,onDrag:Function,onDragend:Function,onDragstart:Function,onLegenditemhover:Function,onLegenditemclick:Function,onNoteclick:Function,onNotehover:Function,onPlotareaclick:Function,onPlotareahover:Function,onRender:Function,onSelect:Function,onSelectend:Function,onSelectstart:Function,onSeriesclick:Function,onSerieshover:Function,onZoom:Function,onZoomend:Function,onZoomstart:Function},updated(){this.baseChart=i.getRef(this,"baseChart")},mounted(){this.baseChart=i.getRef(this,"baseChart")},methods:{chartInstance(){return null!==this.baseChart?this.baseChart.chartInstance:null},surface(){return null!==this.baseChart?this.baseChart.surface:null},element(){return null!==this.baseChart?this.baseChart.element:null},getTarget(){return this},handleBaseChartEvents(t,e){this.$emit(t,e)},handleLegendItemClick(t){this.$emit("legenditemclick",t)}},render(){const t=i.getDefaultSlots(this),{donutCenterRender:n,dir:r,renderAs:a,pannable:s,zoomable:l,seriesColors:u,transitions:d,paneDefaults:c,panes:p,seriesDefaults:f,axisDefaults:h}=this.$props,g=n?i.templateRendering.call(this,n,i.getListeners.call(this)):null;return e.createVNode(J,{dir:r,renderAs:a,pannable:s,zoomable:l,seriesColors:u,transitions:d,paneDefaults:c,panes:p,seriesDefaults:f,axisDefaults:h,ref:i.setRef(this,"baseChart"),chartConstructor:o.Chart,getTarget:this.getTarget,wrapper:"div",class:i.classNames("k-chart k-widget"),onLegenditemclick:this.handleLegendItemClick,onBasechartevent:this.handleBaseChartEvents,allListeners:i.getListeners.call(this)},{default:()=>[t,e.createVNode(Q,{render:g},null)]})}});const et=e.defineComponent({name:"KendoSparkline",props:{dataItems:{type:Array,default:function(){}},type:String,dir:String,renderAs:{type:String,default:void 0,validator:function(t){return["svg","canvas"].includes(t)}},pannable:{type:[Boolean,Object],default:function(){}},zoomable:{type:[Boolean,Object],default:function(){}},seriesColors:{type:Array,default:function(){}},transitions:{type:Boolean,default:!0},paneDefaults:{type:Object,default:function(){}},panes:{type:Array,default:function(){}},seriesDefaults:{type:Object,default:function(){}},axisDefaults:{type:Object,default:function(){}}},updated(){this.baseChart=i.getRef(this,"baseChart")},mounted(){this.baseChart=i.getRef(this,"baseChart")},methods:{chartInstance(){return null!==this.baseChart?this.baseChart.chartInstance:null},surface(){return null!==this.baseChart?this.baseChart.surface:null},element(){return null!==this.baseChart?this.baseChart.element:null},getTarget(){return this},deriveOptionsFromParent(t){const{type:e,dataItems:n}=this.$props,i=Object.assign({},t,{type:e,data:n});return o.Sparkline.normalizeOptions(i)},handleBaseChartEvents(t,e){this.$emit(t,e)}},render(){const t=i.getDefaultSlots(this),{dataItems:n,dir:r,renderAs:a,pannable:s,zoomable:l,seriesColors:u,transitions:d,paneDefaults:c,panes:p,seriesDefaults:f,axisDefaults:h}=this.$props;return e.createVNode(J,{dataItems:n,dir:r,renderAs:a,pannable:s,zoomable:l,seriesColors:u,transitions:d,paneDefaults:c,panes:p,seriesDefaults:f,axisDefaults:h,ref:i.setRef(this,"baseChart"),chartConstructor:o.Sparkline,getTarget:this.getTarget,wrapper:"span",deriveOptionsFromParent:this.deriveOptionsFromParent,class:i.classNames("k-sparkline k-widget"),onBasechartevent:this.handleBaseChartEvents},function(t){return"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!e.isVNode(t)}(t)?t:{default:()=>[t]})}});const nt={autoBindElements:!0,liveDrag:!1,partialRedraw:!0},ot=e.defineComponent({name:"KendoStockChart",props:{partialRedraw:{type:Boolean,default:void 0},dir:String,renderAs:{type:String,default:void 0,validator:function(t){return["svg","canvas"].includes(t)}},pannable:{type:[Boolean,Object],default:function(){}},zoomable:{type:[Boolean,Object],default:function(){}},seriesColors:{type:Array,default:function(){}},transitions:{type:Boolean,default:!0},paneDefaults:{type:Object,default:function(){}},panes:{type:Array,default:function(){}},seriesDefaults:{type:Object,default:function(){}},axisDefaults:{type:Object,default:function(){}}},updated(){this.baseChart=i.getRef(this,"baseChart")},mounted(){this.baseChart=i.getRef(this,"baseChart")},methods:{chartInstance(){return null!==this.baseChart?this.baseChart.chartInstance:null},surface(){return null!==this.baseChart?this.baseChart.surface:null},element(){return null!==this.baseChart?this.baseChart.element:null},getTarget(){return this},deriveOptionsFromParent(t){const e=Object.assign({},t.navigator||{},nt);return Object.assign({},t,{navigator:e})},onRefresh(t,e,n){this.$props.partialRedraw?(n.applyOptions(t),n.bindCategories(),n.navigator.redrawSlaves()):n.setOptions(t,e)},handleBaseChartEvents(t,e){this.$emit(t,e)}},render(){const t=i.getDefaultSlots(this),{partialRedraw:n,dir:r,renderAs:a,pannable:s,zoomable:l,seriesColors:u,transitions:d,paneDefaults:c,panes:p,seriesDefaults:f,axisDefaults:h}=this.$props;return e.createVNode(J,{dir:r,renderAs:a,pannable:s,zoomable:l,seriesColors:u,transitions:d,paneDefaults:c,panes:p,seriesDefaults:f,axisDefaults:h,ref:i.setRef(this,"baseChart"),chartConstructor:o.StockChart,getTarget:this.getTarget,wrapper:"div",deriveOptionsFromParent:this.deriveOptionsFromParent,onRefresh:this.onRefresh,class:i.classNames("k-chart k-stockchart"),onBasechartevent:this.handleBaseChartEvents},function(t){return"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!e.isVNode(t)}(t)?t:{default:()=>[t]})}}),it="charts.nodata",rt={[it]:"No data available."},at=e.defineComponent({name:"ChartNoDataOverlay",inject:{kendoLocalizationService:{default:null}},props:{className:String},setup:()=>({kendoLocalizationService:e.inject("kendoLocalizationService",{})}),render(){const t=i.getDefaultSlots(this),{className:o}=this.$props;return e.createVNode("div",{class:i.classNames("k-chart-overlay",o),style:{display:"none"}},[e.createVNode("div",{class:"k-no-data"},[void 0===t?n.provideLocalizationService(this).toLanguageString(it,rt[it]):t])])}}),st=e.defineComponent({name:"KendoConfiguration",props:{chartKey:String,config:{type:Object,default:function(){return{}}}},data:()=>({childState:{},index:null}),provide(){return{addChild:this.addChildOption,removeChild:this.removeChildOption,childOption:!0}},inject:{childOption:{default:null},addChild:{default:i.noop},removeChild:{default:i.noop},child:{default:{}},parentKey:{default:null},chartCollection:{default:null},dispatchOptions:{default:null},childrenObserver:{default:null}},created(){this.currentIndex=void 0,this.uid=i.guid(),this.addChild&&this.addChild({chartKey:this.$props.chartKey,payload:Object.assign({},this.$props.config),uid:this.uid})},mounted(){this.dispatch()},watch:{config(t,e){JSON.stringify(t)!==JSON.stringify(e)&&this.dispatch()}},unmounted(){this.onDestroyed()},render(){const t=i.getDefaultSlots(this);return e.createVNode("div",null,[t])},methods:{onDestroyed(){if(this.removeChild){this.removeChild({uid:this.uid});const{chartKey:t,parentStore:e,config:n}=this.$props;(e||this.dispatchOptions)({chartKey:t,parentKey:this.parentKey,chartCollectionIdxKey:this.chartCollection+"_",uid:this.uid})}},addChildOption(t){this.childState={...this.childState,[t.chartKey]:t.payload},this.dispatch()},removeChildOption(){this.childState={}},dispatch(){const{chartKey:t,parentStore:e,config:n}=this.$props,o=e||this.dispatchOptions;this.childOption?this.addChild({chartKey:t,payload:Object.assign({},n,this.childState)}):this.chartCollection?(this.currentIndex=this.child.collection.findIndex((t=>t.uid===this.uid)),o({chartKey:t,parentKey:this.parentKey,chartCollectionIdxKey:this.chartCollection+"_"+this.currentIndex,payload:Object.assign({},n,{uid:this.uid},this.childState)})):o({chartKey:t,payload:Object.assign({},n,this.childState)})}}}),lt=e.defineComponent({name:"KendoChartAxisDefaultsTitle",props:{background:String,border:{type:Object,default:void 0},color:String,font:String,margin:{type:[Object,Number],default:void 0},padding:{type:[Object,Number],default:void 0},position:{type:String,default:void 0,validator:function(t){return["top","bottom","left","right","center"].includes(t)}},rotation:Number,text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"title"},(function(){return t}))}}),ut=e.defineComponent({name:"KendoChartAxisDefaultsLabels",props:{content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},mirror:Boolean,padding:{type:[Object,Number],default:function(){}},rotation:{type:[Object,Number,String],default:function(){}},skip:Number,step:Number,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"labels"},(function(){return t}))}}),dt=e.defineComponent({name:"KendoChartAxisDefaultsCrosshair",props:{color:String,dashType:{type:String,default:function(){},validator:function(t){return["dash","dashDot","dot","longDash","longDashDot","longDashDotDot","solid"].includes(t)}},opacity:Number,visible:{type:Boolean,default:!0},width:Number,tooltip:{type:Object,default:function(){}}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"crosshair"},(function(){return t}))}}),ct=e.defineComponent({name:"KendoChartAxisDefaultsCrosshairTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:!0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"tooltip"},(function(){return t}))}}),pt=e.defineComponent({name:"KendoChartCategoryAxisCrosshair",props:{color:String,dashType:{type:String,default:function(){},validator:function(t){return["dash","dashDot","dot","longDash","longDashDot","longDashDotDot","solid"].includes(t)}},opacity:Number,visible:{type:Boolean,default:!0},width:Number,tooltip:{type:Object,default:function(){}}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"crosshair"},(function(){return t}))}}),ft=e.defineComponent({name:"KendoChartCategoryAxisCrosshairTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:!0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"tooltip"},(function(){return t}))}}),ht=e.defineComponent({name:"KendoChartCategoryAxisSelect",props:{from:{type:[Object,Number,String],default:function(){}},max:{type:[Object,Number,String,Date],default:function(){}},min:{type:[Object,Number,String,Date],default:function(){}},mousewheel:{type:[Object,Boolean],default:function(){}},to:{type:[Object,Number,String],default:function(){}}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"select"},(function(){return t}))}}),gt=e.defineComponent({name:"KendoChartCategoryAxisTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["top","bottom","left","right","center"].includes(t)}},rotation:Number,text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"title"},(function(){return t}))}}),yt=e.defineComponent({name:"KendoChartCategoryAxisLabels",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},culture:String,dateFormats:{type:Object,default:function(){}},font:String,format:String,margin:{type:[Object,Number],default:function(){}},mirror:{type:Boolean,default:void 0},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["start","end","onAxis",""].includes(t)}},rotation:{type:[Object,Number,String],default:function(){}},skip:Number,step:Number,visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"labels"},(function(){return t}))}}),bt=e.defineComponent({name:"KendoChartCategoryAxisNotes",props:{dataItems:{type:Array,default:function(){}},line:{type:Object,default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom","left","right"].includes(t)}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"notes"},(function(){return t}))}}),mt=e.defineComponent({name:"KendoChartCategoryAxisNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"icon"},(function(){return t}))}}),vt=e.defineComponent({name:"KendoChartCategoryAxisNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["inside","outside"].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"label"},(function(){return t}))}}),St=e.defineComponent({name:"KendoChartCategoryAxisRangeLabels",props:{position:{type:String,default:void 0,validator:function(t){return["start","end","onAxis",""].includes(t)}},skip:Number,step:Number,visible:{type:Boolean,default:!0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"rangeLabels"},(function(){return t}))}}),Ct=e.defineComponent({name:"KendoChartPaneTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["center","left","right"].includes(t)}},text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"title"},(function(){return t}))}}),Ot=e.defineComponent({name:"KendoChartPaneDefaultsTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["center","left","right"].includes(t)}},visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"title"},(function(){return t}))}}),jt=e.defineComponent({name:"KendoChartLegendItem",props:{cursor:String,type:{type:String,default:function(){},validator:function(t){return["area","line"].includes(t)}},line:{type:Object,default:function(){}},area:{type:Object,default:function(){}},markers:{type:Object,default:function(){}},highlight:{type:Object,default:function(){}},visual:{type:Function,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"item"},(function(){return t}))}}),Nt=e.defineComponent({name:"KendoChartLegendTitle",props:{align:{type:String,default:function(){},validator:function(t){return["center","left","right"].includes(t)}},background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom"].includes(t)}},text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"title"},(function(){return t}))}}),xt=e.defineComponent({name:"KendoChartLegendInactiveItems",props:{labels:{type:Object,default:function(){}}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"inactiveItems"},(function(){return t}))}}),Dt=e.defineComponent({name:"KendoChartSeriesDefaultsItemTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:void 0},render:[String,Function,Object]},render(){const t=i.getDefaultSlots(this),n=l(this.$props),o=i.templateRendering.call(this,this.$props.render,i.getListeners.call(this));return e.h(st,{config:{...n,render:o},chartKey:"tooltip"},(function(){return t}))}}),Kt=e.defineComponent({name:"KendoChartSeriesDefaultsLabels",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0},from:{type:Object,default:function(){}},to:{type:Object,default:function(){}}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"labels"},(function(){return t}))}}),kt=e.defineComponent({name:"KendoChartSeriesDefaultsLabelsFrom",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"from"},(function(){return t}))}}),At=e.defineComponent({name:"KendoChartSeriesDefaultsLabelsTo",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"to"},(function(){return t}))}}),It=e.defineComponent({name:"KendoChartSeriesDefaultsNotes",props:{line:{type:Object,default:function(){}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"notes"},(function(){return t}))}}),Ft=e.defineComponent({name:"KendoChartSeriesDefaultsNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"icon"},(function(){return t}))}}),Bt=e.defineComponent({name:"KendoChartSeriesDefaultsNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["inside","outside"].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"label"},(function(){return t}))}}),Lt=e.defineComponent({name:"KendoChartSeriesItemTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},render:[String,Function,Object],visible:{type:Boolean,default:!0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props),o=i.templateRendering.call(this,this.$props.render,i.getListeners.call(this));return e.h(st,{config:{...n,render:o},chartKey:"tooltip"},(function(){return t}))}}),Tt=e.defineComponent({name:"KendoChartSeriesItemOutliers",props:{background:String,border:{type:Object,default:function(){}},rotation:Number,size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"outliers"},(function(){return t}))}}),$t=e.defineComponent({name:"KendoChartSeriesNotes",props:{line:{type:Object,default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom","left","right"].includes(t)}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"notes"},(function(){return t}))}}),wt=e.defineComponent({name:"KendoChartSeriesMarkers",props:{background:String,border:{type:Object,default:function(){}},rotation:Number,size:Number,type:{type:String,default:function(){}},visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0},from:{type:Object,default:function(){}},to:{type:Object,default:function(){}}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"markers"},(function(){return t}))}}),Vt=e.defineComponent({name:"KendoChartSeriesLabels",props:{align:{type:String,default:function(){},validator:function(t){return["circle","column","center","right","left"].includes(t)}},background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},distance:Number,font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["auto","above","below","center","insideBase","insideEnd","left","outsideEnd","right","top","bottom"].includes(t)}},visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0},from:{type:Object,default:function(){}},to:{type:Object,default:function(){}}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"labels"},(function(){return t}))}}),Et=e.defineComponent({name:"KendoChartSeriesHighlight",props:{border:{type:Object,default:function(){}},color:String,line:{type:Object,default:function(){}},opacity:Number,toggle:{type:Function,default:void 0},visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"highlight"},(function(){return t}))}}),Rt=e.defineComponent({name:"KendoChartSeriesExtremes",props:{background:String,border:{type:Object,default:function(){}},rotation:Number,size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"extremes"},(function(){return t}))}}),zt=e.defineComponent({name:"KendoChartSeriesErrorBars",props:{color:String,endCaps:{type:Boolean,default:void 0},line:{type:Object,default:function(){}},value:String,visual:{type:Function,default:void 0},xValue:String,yValue:String},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"errorBars"},(function(){return t}))}}),Pt=e.defineComponent({name:"KendoChartSeriesLabelsFrom",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["center","insideBase","insideEnd","outsideEnd"].includes(t)}},visible:{type:Boolean,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"from"},(function(){return t}))}}),Ht=e.defineComponent({name:"KendoChartSeriesLabelsTo",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["center","insideBase","insideEnd","outsideEnd"].includes(t)}},visible:{type:Boolean,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"to"},(function(){return t}))}}),qt=e.defineComponent({name:"KendoChartSeriesNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["inside","outside"].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"label"},(function(){return t}))}}),Ut=e.defineComponent({name:"KendoChartSeriesNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"icon"},(function(){return t}))}}),Mt=e.defineComponent({name:"KendoChartValueAxisCrosshair",props:{color:String,opacity:Number,visible:{type:Boolean,default:!0},width:Number,tooltip:{type:Object,default:function(){}}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"crosshair"},(function(){return t}))}}),Xt=e.defineComponent({name:"KendoChartValueAxisCrosshairTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:!0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"tooltip"},(function(){return t}))}}),Yt=e.defineComponent({name:"KendoChartValueAxisTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["top","bottom","left","right","center"].includes(t)}},rotation:Number,text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"title"},(function(){return t}))}}),Gt=e.defineComponent({name:"KendoChartValueAxisLabels",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},mirror:{type:Boolean,default:void 0},padding:{type:[Object,Number],default:function(){}},rotation:{type:[Object,Number,String],default:function(){}},skip:Number,step:Number,visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0}},render(){const t=i.getDefaultSlots(this),n=l(this.$props);return e.h(st,{config:n,chartKey:"labels"},(function(){return