import{s as m,a3 as h,ai as v,f as r,du as y,y as d,ae as C,z as u,P as k,Q as c,D as f}from"./index-DT8qTvyx.js";var g=function(l){m(t,l);function t(){return l!==null&&l.apply(this,arguments)||this}return t.prototype.handleClick=function(e,i){var a=this.props,p=a.disabled,n=a.onAction,s=a.clickAction,o=a.data;e.defaultPrevented||!s||p||n==null||n(null,s,i?h(o,i):o)},t.prototype.render=function(){var e=this.props;e.value,e.name;var i=e.clickAction,a=e.id,p=e.wrapperCustomStyle,n=e.env,s=e.themeCss,o=v(this.props)||[1,1];return r.createElement(r.Fragment,null,r.createElement(y,d({onClick:i?this.handleClick:void 0},this.props,{value:o})),r.createElement(C,d({},this.props,{config:{wrapperCustomStyle:p,id:a,themeCss:s,classNames:[{key:"baseControlClassName"}]},env:n})))},u([k,c("design:type",Function),c("design:paramtypes",[Object,Object]),c("design:returntype",void 0)],t.prototype,"handleClick",null),t=u([f({type:"sparkline"})],t),t}(r.Component);export{g as SparkLineRenderer};
