Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ag-grid-enterprise/sparklines

Package Overview
Dependencies
Maintainers
0
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ag-grid-enterprise/sparklines - npm Package Compare versions

Comparing version 32.0.2 to 32.1.0

README.md

4

dist/package/main.cjs.min.js

@@ -42,4 +42,4 @@ var __defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,__export=(e,t)=>{for(var i in t)__defProp(e,i,{get:t[i],enumerable:!0})},__copyProps=(e,t,i,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of __getOwnPropNames(t))!__hasOwnProp.call(e,n)&&n!==i&&__defProp(e,n,{get:()=>t[n],enumerable:!(s=__getOwnPropDesc(t,n))||s.enumerable});return e},__toCommonJS=e=>__copyProps(__defProp({},"__esModule",{value:!0}),e),main_exports={};__export(main_exports,{SparklinesModule:()=>SparklinesModule}),module.exports=__toCommonJS(main_exports);var import_core6=require("@ag-grid-community/core"),import_core7=require("@ag-grid-enterprise/core"),import_core4=require("@ag-grid-community/core"),import_core3=require("@ag-grid-community/core"),import_ag_charts_community8=require("ag-charts-community"),import_ag_charts_community3=require("ag-charts-community"),import_core=require("@ag-grid-community/core");function getLineDash(e,t="solid"){const i={solid:[],dash:[4,3],dot:[1,3],dashDot:[4,3,1,3],dashDotDot:[4,3,1,3,1,3],shortDot:[1,1],shortDash:[3,1],shortDashDot:[3,1,1,1],shortDashDotDot:[3,1,1,1,1,1],longDash:[8,3],longDashDot:[8,3,1,3],longDashDotDot:[8,3,1,3,1,3]},s={solid:[],dash:[3,3],dot:[0,3],dashDot:[3,3,0,3],dashDotDot:[3,3,0,3,0,3],shortDot:[0,2],shortDash:[2,2],shortDashDot:[2,2,0,2],shortDashDotDot:[2,2,0,2,0,2],longDash:[7,3],longDashDot:[7,3,0,3],longDashDotDot:[7,3,0,3,0,3]};return e==="round"||e==="square"?s[t]==null?(warnInvalid(t),s.solid):s[t]:i[t]==null?(warnInvalid(t),i.solid):i[t]}function warnInvalid(e){(0,import_core._warnOnce)(`'${e}' is not a valid 'lineDash' option.`)}var import_ag_charts_community=require("ag-charts-community");function getMarker(e){switch(e){case"circle":return import_ag_charts_community._Scene.Circle;case"square":return import_ag_charts_community._Scene.Square;case"diamond":return import_ag_charts_community._Scene.Diamond;default:return import_ag_charts_community._Scene.Circle}}var import_core2=require("@ag-grid-community/core"),import_ag_charts_community2=require("ag-charts-community"),defaultTooltipCss=`

${a}
</div>`}var TooltipClass="ag-sparkline-tooltip",SparklineTooltip=class{constructor(){this.element=document.createElement("div"),document.body.appendChild(this.element)}isVisible(){const{element:e}=this;if(e.classList)return!e.classList.contains(`${TooltipClass}-wrapper-hidden`);const t=e.getAttribute("class");return t?t.split(" ").indexOf(`${TooltipClass}-wrapper-hidden`)<0:!1}updateClass(e){const t=[`${TooltipClass}-wrapper`];e!==!0&&t.push(`${TooltipClass}-wrapper-hidden`),this.element.setAttribute("class",t.join(" "))}show(e,t){this.toggle(!1);const{element:i}=this;if(t!==void 0)i.innerHTML=t;else if(!i.innerHTML)return;const s=e.position?.xOffset??10,n=e.position?.yOffset??0;let r=e.pageX+s,o=e.pageY+n;const l=i.getBoundingClientRect();let a=window.innerWidth-l.width;if(e.container){const h=e.container.getBoundingClientRect();a=h.left+(h.width-l.width)}r>a&&(r=e.pageX-i.clientWidth-s),typeof scrollX<"u"&&(r+=scrollX),typeof scrollY<"u"&&(o+=scrollY),i.style.left=`${Math.round(r)}px`,i.style.top=`${Math.round(o)}px`,this.toggle(!0)}toggle(e){this.updateClass(e)}destroy(){const{parentNode:e}=this.element;e&&e.removeChild(this.element)}},{extent:extent2}=import_ag_charts_community3._Util,{BandScale:BandScale2}=import_ag_charts_community3._Scale,SparklineMarker=class{constructor(){this.enabled=!0,this.shape="circle",this.size=0,this.fill="rgb(124, 181, 236)",this.stroke="rgb(124, 181, 236)",this.strokeWidth=1,this.formatter=void 0}},SparklineLine=class{constructor(){this.stroke="rgb(124, 181, 236)",this.strokeWidth=1}},SparklineCrosshairs=class{constructor(){this.xLine={enabled:!0,stroke:"rgba(0,0,0, 0.54)",strokeWidth:1,lineDash:"solid",lineCap:void 0},this.yLine={enabled:!1,stroke:"rgba(0,0,0, 0.54)",strokeWidth:1,lineDash:"solid",lineCap:void 0}}},AreaSparkline=class extends Sparkline{constructor(){super(),this.fill="rgba(124, 181, 236, 0.25)",this.strokePath=new import_ag_charts_community3._Scene.Path,this.fillPath=new import_ag_charts_community3._Scene.Path,this.xCrosshairLine=new import_ag_charts_community3._Scene.Line,this.yCrosshairLine=new import_ag_charts_community3._Scene.Line,this.areaSparklineGroup=new import_ag_charts_community3._Scene.Group,this.xAxisLine=new import_ag_charts_community3._Scene.Line,this.markers=new import_ag_charts_community3._Scene.Group,this.markerSelection=import_ag_charts_community3._Scene.Selection.select(this.markers,()=>this.markerFactory()),this.markerSelectionData=[],this.marker=new SparklineMarker,this.line=new SparklineLine,this.crosshairs=new SparklineCrosshairs,this.rootGroup.append(this.areaSparklineGroup),this.xAxisLine.zIndex=500,this.fillPath.zIndex=50,this.strokePath.zIndex=1e3,this.xCrosshairLine.zIndex=2e3,this.yCrosshairLine.zIndex=2e3,this.markers.zIndex=2500,this.areaSparklineGroup.append([this.fillPath,this.xAxisLine,this.strokePath,this.xCrosshairLine,this.yCrosshairLine,this.markers])}markerFactory(){const{shape:e}=this.marker,t=getMarker(e);return new t}getNodeData(){return this.markerSelectionData}update(){const e=this.generateNodeData();if(!e)return;const{nodeData:t,fillData:i,strokeData:s}=e;this.markerSelectionData=t,this.updateSelection(t),this.updateNodes(),this.updateStroke(s),this.updateFill(i)}updateYScaleDomain(){const{yData:e,yScale:t}=this,i=extent2(e);let s=0,n=1;i!==void 0&&(s=this.min=i[0],n=this.max=i[1]),s=s<0?s:0,n=n<0?0:n,t.domain=[s,n]}generateNodeData(){const{data:e,yData:t,xData:i,xScale:s,yScale:n}=this;if(!e)return;const r=!(s instanceof BandScale2),o=r?0:s.bandwidth/2,l=t.length,a=[],h=[],g=[];let c,f,y,d;const m=n.convert(0);for(let u=0;u<l;u++){const p=t[u],x=i[u],k=s.convert(r?s.toDomain(x):x)+o,b=p===void 0?NaN:n.convert(p);u+1<l&&(d=s.convert(r?s.toDomain(i[u+1]):i[u+1])+o),g.push({seriesDatum:{x,y:p},point:{x:k,y:b}}),p===void 0&&y!==void 0?(h.push({seriesDatum:void 0,point:{x:y,y:m}}),d!==void 0&&h.push({seriesDatum:void 0,point:{x:d,y:m}})):p!==void 0&&(h.push({seriesDatum:{x,y:p},point:{x:k,y:b}}),a.push({seriesDatum:{x,y:p},point:{x:k,y:b}}),c=c!==void 0?c:k,f=k),y=k}return h.push({seriesDatum:void 0,point:{x:f,y:m}},{seriesDatum:void 0,point:{x:c,y:m}}),{nodeData:a,fillData:h,strokeData:g}}updateAxisLine(){const{xScale:e,yScale:t,axis:i,xAxisLine:s}=this;s.x1=e.range[0],s.x2=e.range[1],s.y1=s.y2=0,s.stroke=i.stroke,s.strokeWidth=i.strokeWidth;const n=t.convert(0);s.translationY=n}updateSelection(e){this.markerSelection.update(e)}updateNodes(){const{highlightedDatum:e,highlightStyle:t,marker:i}=this,{size:s,fill:n,stroke:r,strokeWidth:o}=t,l=i.formatter;this.markerSelection.each((a,h,g)=>{const{point:c,seriesDatum:f}=h;if(!c)return;const y=h===e,d=y&&n!==void 0?n:i.fill,m=y&&r!==void 0?r:i.stroke,u=y&&o!==void 0?o:i.strokeWidth,p=y&&s!==void 0?s:i.size;let x;if(l){const k=g===0,b=g===this.markerSelectionData.length-1,S=f.y===this.min,_=f.y===this.max;x=l({datum:h,xValue:f.x,yValue:f.y,min:S,max:_,first:k,last:b,fill:d,stroke:m,strokeWidth:u,size:p,highlighted:y})}a.size=x&&x.size!=null?x.size:p,a.fill=x&&x.fill!=null?x.fill:d,a.stroke=x&&x.stroke!=null?x.stroke:m,a.strokeWidth=x&&x.strokeWidth!=null?x.strokeWidth:u,a.translationX=c.x,a.translationY=c.y,a.visible=x&&x.enabled!=null?x.enabled:i.enabled&&a.size>0})}updateStroke(e){const{strokePath:t,yData:i,line:s}=this,n=t.path;if(n.clear(),i.length<2)return;const r=e.length;let o=!0;for(let l=0;l<r;l++){const{point:a,seriesDatum:h}=e[l],g=a.x,c=a.y;h.y==null?o=!0:o?(n.moveTo(g,c),o=!1):n.lineTo(g,c)}t.lineJoin=t.lineCap="round",t.fill=void 0,t.stroke=s.stroke,t.strokeWidth=s.strokeWidth}updateFill(e){const{fillPath:t,yData:i,fill:s}=this,n=t.path,r=e.length;if(n.clear(),!(i.length<2)){for(let o=0;o<r;o++){const{point:l}=e[o],a=l.x,h=l.y;o>0?n.lineTo(a,h):n.moveTo(a,h)}n.closePath(),t.lineJoin="round",t.stroke=void 0,t.fill=s}}updateXCrosshairLine(){const{yScale:e,xCrosshairLine:t,highlightedDatum:i,crosshairs:{xLine:s}}=this;if(!s.enabled||i==null){t.strokeWidth=0;return}t.y1=e.range[0],t.y2=e.range[1],t.x1=t.x2=0,t.stroke=s.stroke,t.strokeWidth=s.strokeWidth??1,t.lineCap=s.lineCap==="round"||s.lineCap==="square"?s.lineCap:void 0;const{lineDash:n}=s;t.lineDash=Array.isArray(n)?n:getLineDash(t.lineCap,s.lineDash),t.translationX=i.point.x}updateYCrosshairLine(){const{xScale:e,yCrosshairLine:t,highlightedDatum:i,crosshairs:{yLine:s}}=this;if(!s.enabled||i==null){t.strokeWidth=0;return}t.x1=e.range[0],t.x2=e.range[1],t.y1=t.y2=0,t.stroke=s.stroke,t.strokeWidth=s.strokeWidth??1,t.lineCap=s.lineCap==="round"||s.lineCap==="square"?s.lineCap:void 0;const{lineDash:n}=s;t.lineDash=Array.isArray(n)?n:getLineDash(t.lineCap,s.lineDash),t.translationY=i.point.y}getTooltipHtml(e){const{dataType:t}=this,{seriesDatum:i}=e,s=i.y,n=i.x,r=this.formatNumericDatum(s),o=t==="array"||t==="object"?this.formatDatum(n):void 0,l={content:r,title:o},a=this.processedOptions?.tooltip?.renderer;return a?toTooltipHtml(a({context:this.context,datum:i,yValue:s,xValue:n}),l):toTooltipHtml(l)}},import_ag_charts_community5=require("ag-charts-community"),import_ag_charts_community4=require("ag-charts-community"),Label=class{constructor(){this.enabled=!0,this.fontSize=8,this.fontFamily="Verdana, sans-serif",this.fontStyle=void 0,this.fontWeight=void 0,this.color="rgba(70, 70, 70, 1)"}},{extent:extent3}=import_ag_charts_community4._Util,BarColumnLabel=class extends Label{constructor(){super(...arguments),this.formatter=void 0,this.placement="insideEnd"}},BarColumnSparkline=class extends Sparkline{constructor(){super(),this.fill="rgb(124, 181, 236)",this.stroke="silver",this.strokeWidth=0,this.paddingInner=.1,this.paddingOuter=.2,this.valueAxisDomain=void 0,this.formatter=void 0,this.axisLine=new import_ag_charts_community4._Scene.Line,this.bandWidth=0,this.sparklineGroup=new import_ag_charts_community4._Scene.Group,this.rectGroup=new import_ag_charts_community4._Scene.Group,this.labelGroup=new import_ag_charts_community4._Scene.Group,this.rectSelection=import_ag_charts_community4._Scene.Selection.select(this.rectGroup,import_ag_charts_community4._Scene.Rect),this.labelSelection=import_ag_charts_community4._Scene.Selection.select(this.labelGroup,import_ag_charts_community4._Scene.Text),this.nodeSelectionData=[],this.label=new BarColumnLabel,this.rootGroup.append(this.sparklineGroup),this.rectGroup.zIndex=50,this.axisLine.zIndex=500,this.labelGroup.zIndex=1500,this.sparklineGroup.append([this.rectGroup,this.axisLine,this.labelGroup]),this.axisLine.lineCap="round",this.label.enabled=!1}getNodeData(){return this.nodeSelectionData}update(){this.updateSelections(),this.updateNodes()}updateSelections(){const e=this.generateNodeData();e&&(this.nodeSelectionData=e,this.updateRectSelection(e),this.updateLabelSelection(e))}updateNodes(){this.updateRectNodes(),this.updateLabelNodes()}calculateStep(e){const{xScale:t,paddingInner:i,paddingOuter:s,smallestInterval:n}=this,o=(t.domain[1]-t.domain[0])/(n?.x??1)+1,a=Math.min(o,50),h=a-1;return e/Math.max(1,2*s+h*i+a)}updateYScaleDomain(){const{yScale:e,yData:t,valueAxisDomain:i}=this,s=extent3(t);let n=0,r=1;s!==void 0&&(n=this.min=s[0],r=this.max=s[1]),n=n<0?n:0,r=r<0?0:r,i&&(i[1]<r&&(i[1]=r),i[0]>n&&(i[0]=n)),e.domain=i||[n,r]}updateRectSelection(e){this.rectSelection.update(e)}updateRectNodes(){const{highlightedDatum:e,formatter:t,fill:i,stroke:s,strokeWidth:n}=this,{fill:r,stroke:o,strokeWidth:l}=this.highlightStyle;this.rectSelection.each((a,h,g)=>{const c=h===e,f=c&&r!==void 0?r:i,y=c&&o!==void 0?o:s,d=c&&l!==void 0?l:n;let m;const{x:u,y:p,width:x,height:k,seriesDatum:b}=h;if(t){const S=g===0,_=g===this.nodeSelectionData.length-1,M=b.y===this.min,C=b.y===this.max;m=t({datum:h,xValue:b.x,yValue:b.y,width:x,height:k,min:M,max:C,first:S,last:_,fill:f,stroke:y,strokeWidth:d,highlighted:c})}a.fill=m&&m.fill||f,a.stroke=m&&m.stroke||y,a.strokeWidth=m&&m.strokeWidth||d,a.x=a.y=0,a.width=x,a.height=k,a.visible=a.height>0,a.translationX=u,a.translationY=p})}updateLabelSelection(e){this.labelSelection.update(e,t=>{t.tag=1,t.pointerEvents=import_ag_charts_community4._Scene.PointerEvents.None})}updateLabelNodes(){const{label:{enabled:e,fontStyle:t,fontWeight:i,fontSize:s,fontFamily:n,color:r}}=this;this.labelSelection.each((o,l)=>{const a=l.label;a&&e?(o.fontStyle=t,o.fontWeight=i,o.fontSize=s,o.fontFamily=n,o.textAlign=a.textAlign,o.textBaseline=a.textBaseline,o.text=a.text,o.x=a.x,o.y=a.y,o.fill=r,o.visible=!0):o.visible=!1})}getTooltipHtml(e){const{dataType:t}=this,{seriesDatum:i}=e,s=i.y,n=i.x,r=this.formatNumericDatum(s),o=t==="array"||t==="object"?this.formatDatum(n):void 0,l={content:r,title:o},a=this.processedOptions?.tooltip?.renderer;return a?toTooltipHtml(a({context:this.context,datum:i,yValue:s,xValue:n}),l):toTooltipHtml(l)}formatLabelValue(e){return e%1!==0?e.toFixed(1):e.toFixed(0)}},{isNumber:isNumber2}=import_ag_charts_community5._Util,{BandScale:BandScale3}=import_ag_charts_community5._Scale,BarSparkline=class extends BarColumnSparkline{updateYScaleRange(){const{seriesRect:e,yScale:t}=this;t.range=[0,e.width]}updateXScaleRange(){const{xScale:e,seriesRect:t,paddingOuter:i,paddingInner:s}=this;if(e instanceof BandScale3)e.range=[0,t.height],e.paddingInner=s,e.paddingOuter=i;else{const n=this.calculateStep(t.height),r=n*i;this.bandWidth=n*(1-s),e.range=[r,t.height-r-this.bandWidth]}}updateAxisLine(){const{yScale:e,axis:t,axisLine:i,seriesRect:s}=this,{strokeWidth:n}=t;i.x1=0,i.x2=0,i.y1=0,i.y2=s.height,i.stroke=t.stroke,i.strokeWidth=n+(n%2===1?1:0);const r=e.convert(0);i.translationX=r}generateNodeData(){const{data:e,yData:t,xData:i,xScale:s,yScale:n,fill:r,stroke:o,strokeWidth:l,label:a}=this;if(!e)return;const{fontStyle:h,fontWeight:g,fontSize:c,fontFamily:f,color:y,formatter:d,placement:m}=a,u=[],p=n.convert(0),x=!(s instanceof BandScale3);for(let k=0,b=t.length;k<b;k++){let S=t[k];const _=i[k],M=S===void 0;M&&(S=0);const C=s.convert(x?s.toDomain(_):_),W=Math.min(S===void 0?NaN:n.convert(S),p),A=Math.max(S===void 0?NaN:n.convert(S),p),O=x?this.bandWidth:s.bandwidth,z=A-W,F={x:p,y:C};let N;d?N=d({value:S}):N=S!==void 0&&isNumber2(S)?this.formatLabelValue(S):"";const R=C+O/2;let D;const I="middle";let w;const v=S!==void 0&&S>=0,L=4;if(m==="center")D=W+z/2,w="center";else if(m==="outsideEnd")D=W+(v?z+L:-L),w=v?"start":"end";else if(m==="insideEnd"){D=W+(v?z-L:L),w=v?"end":"start";const T=import_ag_charts_community5._Scene.Text.getTextSize(N,f).width||20,P=p+T,X=p-T;(v&&D<P||!v&&D>X)&&(D=p+L*(v?1:-1),w=v?"start":"end")}else D=p+L*(v?1:-1),w=v?"start":"end";u.push({x:W,y:C,width:z,height:O,fill:r,stroke:o,strokeWidth:l,seriesDatum:{x:_,y:M?void 0:S},point:F,label:{x:D,y:R,text:N,fontStyle:h,fontWeight:g,fontSize:c,fontFamily:f,textAlign:w,textBaseline:I,fill:y}})}return u}getDistance(e,t){return Math.abs(e.y-t.y)}},import_ag_charts_community6=require("ag-charts-community"),{isNumber:isNumber3}=import_ag_charts_community6._Util,{BandScale:BandScale4}=import_ag_charts_community6._Scale,ColumnSparkline=class extends BarColumnSparkline{updateYScaleRange(){const{seriesRect:e,yScale:t}=this;t.range=[e.height,0]}updateXScaleRange(){const{xScale:e,seriesRect:t,paddingOuter:i,paddingInner:s}=this;if(e instanceof BandScale4)e.range=[0,t.width],e.paddingInner=s,e.paddingOuter=i;else{const n=this.calculateStep(t.width),r=n*i;this.bandWidth=n*(1-s),e.range=[r,t.width-r-this.bandWidth]}}updateAxisLine(){const{yScale:e,axis:t,axisLine:i,seriesRect:s}=this,{strokeWidth:n}=t;i.x1=0,i.x2=s.width,i.y1=0,i.y2=0,i.stroke=t.stroke,i.strokeWidth=n+(n%2===1?1:0);const r=e.convert(0);i.translationY=r}generateNodeData(){const{data:e,yData:t,xData:i,xScale:s,yScale:n,fill:r,stroke:o,strokeWidth:l,label:a}=this;if(!e)return;const{fontStyle:h,fontWeight:g,fontSize:c,fontFamily:f,color:y,formatter:d,placement:m}=a,u=[],p=n.convert(0),x=!(s instanceof BandScale4);for(let k=0,b=t.length;k<b;k++){let S=t[k];const _=i[k],M=S===void 0;M&&(S=0);const C=Math.min(S===void 0?NaN:n.convert(S),p),W=s.convert(x?s.toDomain(_):_),A=Math.max(S===void 0?NaN:n.convert(S),p),O=x?this.bandWidth:s.bandwidth,z=A-C,F={x:W+O/2,y:p};let N;d?N=d({value:S}):N=S!==void 0&&isNumber3(S)?this.formatLabelValue(S):"";const R=W+O/2;let D;const I="center";let w;const v=S!==void 0&&S>=0,L=2;if(m==="center")D=C+z/2,w="middle";else if(m==="outsideEnd")D=C+(v?-L:z+L),w=v?"bottom":"top";else if(m==="insideEnd"){D=C+(v?L:z-L),w=v?"top":"bottom";const T=import_ag_charts_community6._Scene.Text.getTextSize(N,f).height||10,P=p-T,X=p+T;(v&&D>P||!v&&D<X)&&(D=p+L*(v?-1:1),w=v?"bottom":"top")}else D=p+L*(v?-1:1),w=v?"bottom":"top";u.push({x:W,y:C,width:O,height:z,fill:r,stroke:o,strokeWidth:l,seriesDatum:{x:_,y:M?void 0:S},point:F,label:{x:R,y:D,text:N,fontStyle:h,fontWeight:g,fontSize:c,fontFamily:f,textAlign:I,textBaseline:w,fill:y}})}return u}},import_ag_charts_community7=require("ag-charts-community"),{extent:extent4}=import_ag_charts_community7._Util,{BandScale:BandScale5}=import_ag_charts_community7._Scale,SparklineMarker2=class{constructor(){this.enabled=!0,this.shape="circle",this.size=0,this.fill="rgb(124, 181, 236)",this.stroke="rgb(124, 181, 236)",this.strokeWidth=1,this.formatter=void 0}},SparklineLine2=class{constructor(){this.stroke="rgb(124, 181, 236)",this.strokeWidth=1}},SparklineCrosshairs2=class{constructor(){this.xLine={enabled:!0,stroke:"rgba(0,0,0, 0.54)",strokeWidth:1,lineDash:"solid",lineCap:void 0},this.yLine={enabled:!1,stroke:"rgba(0,0,0, 0.54)",strokeWidth:1,lineDash:"solid",lineCap:void 0}}},LineSparkline=class extends Sparkline{constructor(){super(),this.linePath=new import_ag_charts_community7._Scene.Path,this.xCrosshairLine=new import_ag_charts_community7._Scene.Line,this.yCrosshairLine=new import_ag_charts_community7._Scene.Line,this.lineSparklineGroup=new import_ag_charts_community7._Scene.Group,this.markers=new import_ag_charts_community7._Scene.Group,this.markerSelection=import_ag_charts_community7._Scene.Selection.select(this.markers,()=>this.markerFactory()),this.markerSelectionData=[],this.marker=new SparklineMarker2,this.line=new SparklineLine2,this.crosshairs=new SparklineCrosshairs2,this.rootGroup.append(this.lineSparklineGroup),this.linePath.zIndex=1e3,this.xCrosshairLine.zIndex=2e3,this.yCrosshairLine.zIndex=2e3,this.markers.zIndex=2500,this.lineSparklineGroup.append([this.linePath,this.xCrosshairLine,this.yCrosshairLine,this.markers])}getNodeData(){return this.markerSelectionData}markerFactory(){const{shape:e}=this.marker,t=getMarker(e);return new t}onMarkerShapeChange(){this.markerSelection=this.markerSelection.clear(),this.scheduleLayout()}update(){const e=this.generateNodeData();e&&(this.markerSelectionData=e,this.updateSelection(e),this.updateNodes(),this.updateLine())}updateYScaleDomain(){const{yData:e,yScale:t}=this,i=extent4(e);let s=0,n=1;if(i!==void 0&&(s=this.min=i[0],n=this.max=i[1]),s===n){const r=Math.abs(s*.01);s-=r,n+=r}t.domain=[s,n]}generateNodeData(){const{data:e,yData:t,xData:i,xScale:s,yScale:n}=this;if(!e)return;const r=!(s instanceof BandScale5),o=r?0:s.bandwidth/2,l=[];for(let a=0;a<t.length;a++){const h=t[a],g=i[a];if(h==null)continue;const c=s.convert(r?s.toDomain(g):g)+o,f=h===void 0?NaN:n.convert(h);l.push({seriesDatum:{x:g,y:h},point:{x:c,y:f}})}return l}updateSelection(e){this.markerSelection.update(e)}updateNodes(){const{highlightedDatum:e,highlightStyle:t,marker:i}=this,{size:s,fill:n,stroke:r,strokeWidth:o}=t,l=i.formatter;this.markerSelection.each((a,h,g)=>{const c=h===e,f=c&&n!==void 0?n:i.fill,y=c&&r!==void 0?r:i.stroke,d=c&&o!==void 0?o:i.strokeWidth,m=c&&s!==void 0?s:i.size;let u;const{seriesDatum:p,point:x}=h;if(l){const k=g===0,b=g===this.markerSelectionData.length-1,S=p.y===this.min,_=p.y===this.max;u=l({datum:h,xValue:p.x,yValue:p.y,min:S,max:_,first:k,last:b,fill:f,stroke:y,strokeWidth:d,size:m,highlighted:c})}a.size=u&&u.size!=null?u.size:m,a.fill=u&&u.fill!=null?u.fill:f,a.stroke=u&&u.stroke!=null?u.stroke:y,a.strokeWidth=u&&u.strokeWidth!=null?u.strokeWidth:d,a.translationX=x.x,a.translationY=x.y,a.visible=u&&u.enabled!=null?u.enabled:i.enabled&&a.size>0})}updateLine(){const{linePath:e,yData:t,xData:i,xScale:s,yScale:n,line:r}=this,o=e.path;if(o.clear(),t.length<2)return;const l=!(s instanceof BandScale5),a=t.length,h=l?0:s.bandwidth/2;let g=!0;for(let c=0;c<a;c++){const f=i[c],y=t[c],d=s.convert(l?s.toDomain(f):f)+h,m=y===void 0?NaN:n.convert(y);y==null?g=!0:g?(o.moveTo(d,m),g=!1):o.lineTo(d,m)}e.fill=void 0,e.stroke=r.stroke,e.strokeWidth=r.strokeWidth}updateXCrosshairLine(){const{yScale:e,xCrosshairLine:t,highlightedDatum:i,crosshairs:{xLine:s}}=this;if(!s.enabled||i==null){t.strokeWidth=0;return}t.y1=e.range[0],t.y2=e.range[1],t.x1=t.x2=0,t.stroke=s.stroke,t.strokeWidth=s.strokeWidth??1,t.lineCap=s.lineCap==="round"||s.lineCap==="square"?s.lineCap:void 0;const{lineDash:n}=s;t.lineDash=Array.isArray(n)?n:getLineDash(t.lineCap,s.lineDash),t.translationX=i.point.x}updateYCrosshairLine(){const{xScale:e,yCrosshairLine:t,highlightedDatum:i,crosshairs:{yLine:s}}=this;if(!s.enabled||i==null){t.strokeWidth=0;return}t.x1=e.range[0],t.x2=e.range[1],t.y1=t.y2=0,t.stroke=s.stroke,t.strokeWidth=s.strokeWidth??1,t.lineCap=s.lineCap==="round"||s.lineCap==="square"?s.lineCap:void 0;const{lineDash:n}=s;t.lineDash=Array.isArray(n)?n:getLineDash(t.lineCap,s.lineDash),t.translationY=i.point.y}getTooltipHtml(e){const{dataType:t}=this,{seriesDatum:i}=e,s=i.y,n=i.x,r=this.formatNumericDatum(s),o=t==="array"||t==="object"?this.formatDatum(n):void 0,l={content:r,title:o},a=this.processedOptions?.tooltip?.renderer;return a?toTooltipHtml(a({context:this.context,datum:i,yValue:s,xValue:n}),l):toTooltipHtml(l)}},{isNumber:isNumber4}=import_ag_charts_community8._Util,AgSparkline=class{static create(e,t){e=import_ag_charts_community8._Util.deepClone(e);const i=getSparklineInstance(e.type);return t&&(i.tooltip=t),initSparkline(i,e),initSparklineByType(i,e),e.data&&(i.data=e.data),i.processedOptions=e,i}};function getSparklineInstance(e="line"){switch(e){case"column":return new ColumnSparkline;case"bar":return new BarSparkline;case"area":return new AreaSparkline;case"line":default:return new LineSparkline}}function initSparklineByType(e,t){switch(t.type){case"bar":initBarColumnSparkline(e,t);break;case"column":initBarColumnSparkline(e,t);break;case"area":initAreaSparkline(e,t);break;case"line":default:initLineSparkline(e,t);break}}function initSparkline(e,t){setValueIfPropertyExists(e,"context",t.context,t),setValueIfPropertyExists(e,"width",t.width,t),setValueIfPropertyExists(e,"height",t.height,t),setValueIfPropertyExists(e,"container",t.container,t),setValueIfPropertyExists(e,"xKey",t.xKey,t),setValueIfPropertyExists(e,"yKey",t.yKey,t),t.padding&&initPaddingOptions(e.padding,t.padding),t.axis&&initAxisOptions(e.axis,t.axis),t.highlightStyle&&initHighlightStyleOptions(e.highlightStyle,t.highlightStyle)}function initLineSparkline(e,t){t.marker&&initMarkerOptions(e.marker,t.marker),t.line&&initLineOptions(e.line,t.line),t.crosshairs&&initCrosshairsOptions(e.crosshairs,t.crosshairs)}function initAreaSparkline(e,t){setValueIfPropertyExists(e,"fill",t.fill,t),t.marker&&initMarkerOptions(e.marker,t.marker),t.line&&initLineOptions(e.line,t.line),t.crosshairs&&initCrosshairsOptions(e.crosshairs,t.crosshairs)}function initBarColumnSparkline(e,t){setValueIfPropertyExists(e,"valueAxisDomain",t.valueAxisDomain,t),setValueIfPropertyExists(e,"fill",t.fill,t),setValueIfPropertyExists(e,"stroke",t.stroke,t),setValueIfPropertyExists(e,"strokeWidth",t.strokeWidth,t),setValueIfPropertyExists(e,"paddingInner",t.paddingInner,t),setValueIfPropertyExists(e,"paddingOuter",t.paddingOuter,t),setValueIfPropertyExists(e,"formatter",t.formatter,t),t.label&&initLabelOptions(e.label,t.label)}function initPaddingOptions(e,t){setValueIfPropertyExists(e,"top",t.top,t),setValueIfPropertyExists(e,"right",t.right,t),setValueIfPropertyExists(e,"bottom",t.bottom,t),setValueIfPropertyExists(e,"left",t.left,t)}function initMarkerOptions(e,t){setValueIfPropertyExists(e,"enabled",t.enabled,t),setValueIfPropertyExists(e,"size",t.size,t),setValueIfPropertyExists(e,"shape",t.shape,t),setValueIfPropertyExists(e,"fill",t.fill,t),setValueIfPropertyExists(e,"stroke",t.stroke,t),setValueIfPropertyExists(e,"strokeWidth",t.strokeWidth,t),setValueIfPropertyExists(e,"formatter",t.formatter,t)}function initLabelOptions(e,t){setValueIfPropertyExists(e,"enabled",t.enabled,t),setValueIfPropertyExists(e,"fontStyle",t.fontStyle,t),setValueIfPropertyExists(e,"fontWeight",t.fontWeight,t),setValueIfPropertyExists(e,"fontSize",t.fontSize,t),setValueIfPropertyExists(e,"fontFamily",t.fontFamily,t),setValueIfPropertyExists(e,"textAlign",t.textAlign,t),setValueIfPropertyExists(e,"textBaseline",t.textBaseline,t),setValueIfPropertyExists(e,"color",t.color,t),setValueIfPropertyExists(e,"formatter",t.formatter,t),setValueIfPropertyExists(e,"placement",t.placement,t)}function initLineOptions(e,t){setValueIfPropertyExists(e,"stroke",t.stroke,t),setValueIfPropertyExists(e,"strokeWidth",t.strokeWidth,t)}function initAxisOptions(e,t){setValueIfPropertyExists(e,"type",t.type,t),setValueIfPropertyExists(e,"stroke",t.stroke,t),setValueIfPropertyExists(e,"strokeWidth",t.strokeWidth,t)}function initHighlightStyleOptions(e,t){setValueIfPropertyExists(e,"fill",t.fill,t),setValueIfPropertyExists(e,"size",t.size,t),setValueIfPropertyExists(e,"stroke",t.stroke,t),setValueIfPropertyExists(e,"strokeWidth",t.strokeWidth,t)}function initCrosshairsOptions(e,t){e.xLine&&t.xLine&&initCrosshairLineOptions(e.xLine,t.xLine),e.yLine&&t.yLine&&initCrosshairLineOptions(e.yLine,t.yLine)}function initCrosshairLineOptions(e,t){setValueIfPropertyExists(e,"enabled",t.enabled,t),setValueIfPropertyExists(e,"stroke",t.stroke,t),setValueIfPropertyExists(e,"strokeWidth",t.strokeWidth,t),setValueIfPropertyExists(e,"lineDash",t.lineDash,t),setValueIfPropertyExists(e,"lineCap",t.lineCap,t)}var offsetValidator=(e,t,i)=>isNumber4(t)?!0:((0,import_core3._warnOnce)(`${e} must be a number, the value you provided is not a valid number. Using the default of ${i}px.`),!1),validators={xOffset:offsetValidator,yOffset:offsetValidator};function setValueIfPropertyExists(e,t,i,s){if(t in s)if(t in e){const n=validators[t];(n?n(t,i,e[t]):!0)&&e[t]!==i&&(e[t]=i)}else(0,import_core3._warnOnce)(`Property ${t} does not exist on the target object.`)}var SparklineCellRenderer=class extends import_core4.Component{constructor(){super(`<div class="ag-sparkline-wrapper">
</div>`}var TooltipClass="ag-sparkline-tooltip",SparklineTooltip=class{constructor(){this.created=!1,this.element=document.createElement("div")}isVisible(){const{element:e}=this;if(e.classList)return!e.classList.contains(`${TooltipClass}-wrapper-hidden`);const t=e.getAttribute("class");return t?t.split(" ").indexOf(`${TooltipClass}-wrapper-hidden`)<0:!1}updateClass(e){this.created||(document.body.appendChild(this.element),this.created=!0);const t=[`${TooltipClass}-wrapper`];e!==!0&&t.push(`${TooltipClass}-wrapper-hidden`),this.element.setAttribute("class",t.join(" "))}show(e,t){this.toggle(!1);const{element:i}=this;if(t!==void 0)i.innerHTML=t;else if(!i.innerHTML)return;const s=e.position?.xOffset??10,n=e.position?.yOffset??0;let r=e.pageX+s,o=e.pageY+n;const l=i.getBoundingClientRect();let a=window.innerWidth-l.width;if(e.container){const h=e.container.getBoundingClientRect();a=h.left+(h.width-l.width)}r>a&&(r=e.pageX-i.clientWidth-s),typeof scrollX<"u"&&(r+=scrollX),typeof scrollY<"u"&&(o+=scrollY),i.style.left=`${Math.round(r)}px`,i.style.top=`${Math.round(o)}px`,this.toggle(!0)}toggle(e){this.updateClass(e)}destroy(){const{parentNode:e}=this.element;e&&e.removeChild(this.element)}},{extent:extent2}=import_ag_charts_community3._Util,{BandScale:BandScale2}=import_ag_charts_community3._Scale,SparklineMarker=class{constructor(){this.enabled=!0,this.shape="circle",this.size=0,this.fill="rgb(124, 181, 236)",this.stroke="rgb(124, 181, 236)",this.strokeWidth=1,this.formatter=void 0}},SparklineLine=class{constructor(){this.stroke="rgb(124, 181, 236)",this.strokeWidth=1}},SparklineCrosshairs=class{constructor(){this.xLine={enabled:!0,stroke:"rgba(0,0,0, 0.54)",strokeWidth:1,lineDash:"solid",lineCap:void 0},this.yLine={enabled:!1,stroke:"rgba(0,0,0, 0.54)",strokeWidth:1,lineDash:"solid",lineCap:void 0}}},AreaSparkline=class extends Sparkline{constructor(){super(),this.fill="rgba(124, 181, 236, 0.25)",this.strokePath=new import_ag_charts_community3._Scene.Path,this.fillPath=new import_ag_charts_community3._Scene.Path,this.xCrosshairLine=new import_ag_charts_community3._Scene.Line,this.yCrosshairLine=new import_ag_charts_community3._Scene.Line,this.areaSparklineGroup=new import_ag_charts_community3._Scene.Group,this.xAxisLine=new import_ag_charts_community3._Scene.Line,this.markers=new import_ag_charts_community3._Scene.Group,this.markerSelection=import_ag_charts_community3._Scene.Selection.select(this.markers,()=>this.markerFactory()),this.markerSelectionData=[],this.marker=new SparklineMarker,this.line=new SparklineLine,this.crosshairs=new SparklineCrosshairs,this.rootGroup.append(this.areaSparklineGroup),this.xAxisLine.zIndex=500,this.fillPath.zIndex=50,this.strokePath.zIndex=1e3,this.xCrosshairLine.zIndex=2e3,this.yCrosshairLine.zIndex=2e3,this.markers.zIndex=2500,this.areaSparklineGroup.append([this.fillPath,this.xAxisLine,this.strokePath,this.xCrosshairLine,this.yCrosshairLine,this.markers])}markerFactory(){const{shape:e}=this.marker,t=getMarker(e);return new t}getNodeData(){return this.markerSelectionData}update(){const e=this.generateNodeData();if(!e)return;const{nodeData:t,fillData:i,strokeData:s}=e;this.markerSelectionData=t,this.updateSelection(t),this.updateNodes(),this.updateStroke(s),this.updateFill(i)}updateYScaleDomain(){const{yData:e,yScale:t}=this,i=extent2(e);let s=0,n=1;i!==void 0&&(s=this.min=i[0],n=this.max=i[1]),s=s<0?s:0,n=n<0?0:n,t.domain=[s,n]}generateNodeData(){const{data:e,yData:t,xData:i,xScale:s,yScale:n}=this;if(!e)return;const r=!(s instanceof BandScale2),o=r?0:s.bandwidth/2,l=t.length,a=[],h=[],g=[];let c,f,y,d;const m=n.convert(0);for(let u=0;u<l;u++){const p=t[u],x=i[u],k=s.convert(r?s.toDomain(x):x)+o,b=p===void 0?NaN:n.convert(p);u+1<l&&(d=s.convert(r?s.toDomain(i[u+1]):i[u+1])+o),g.push({seriesDatum:{x,y:p},point:{x:k,y:b}}),p===void 0&&y!==void 0?(h.push({seriesDatum:void 0,point:{x:y,y:m}}),d!==void 0&&h.push({seriesDatum:void 0,point:{x:d,y:m}})):p!==void 0&&(h.push({seriesDatum:{x,y:p},point:{x:k,y:b}}),a.push({seriesDatum:{x,y:p},point:{x:k,y:b}}),c=c!==void 0?c:k,f=k),y=k}return h.push({seriesDatum:void 0,point:{x:f,y:m}},{seriesDatum:void 0,point:{x:c,y:m}}),{nodeData:a,fillData:h,strokeData:g}}updateAxisLine(){const{xScale:e,yScale:t,axis:i,xAxisLine:s}=this;s.x1=e.range[0],s.x2=e.range[1],s.y1=s.y2=0,s.stroke=i.stroke,s.strokeWidth=i.strokeWidth;const n=t.convert(0);s.translationY=n}updateSelection(e){this.markerSelection.update(e)}updateNodes(){const{highlightedDatum:e,highlightStyle:t,marker:i}=this,{size:s,fill:n,stroke:r,strokeWidth:o}=t,l=i.formatter;this.markerSelection.each((a,h,g)=>{const{point:c,seriesDatum:f}=h;if(!c)return;const y=h===e,d=y&&n!==void 0?n:i.fill,m=y&&r!==void 0?r:i.stroke,u=y&&o!==void 0?o:i.strokeWidth,p=y&&s!==void 0?s:i.size;let x;if(l){const k=g===0,b=g===this.markerSelectionData.length-1,S=f.y===this.min,_=f.y===this.max;x=l({datum:h,xValue:f.x,yValue:f.y,min:S,max:_,first:k,last:b,fill:d,stroke:m,strokeWidth:u,size:p,highlighted:y})}a.size=x&&x.size!=null?x.size:p,a.fill=x&&x.fill!=null?x.fill:d,a.stroke=x&&x.stroke!=null?x.stroke:m,a.strokeWidth=x&&x.strokeWidth!=null?x.strokeWidth:u,a.translationX=c.x,a.translationY=c.y,a.visible=x&&x.enabled!=null?x.enabled:i.enabled&&a.size>0})}updateStroke(e){const{strokePath:t,yData:i,line:s}=this,n=t.path;if(n.clear(),i.length<2)return;const r=e.length;let o=!0;for(let l=0;l<r;l++){const{point:a,seriesDatum:h}=e[l],g=a.x,c=a.y;h.y==null?o=!0:o?(n.moveTo(g,c),o=!1):n.lineTo(g,c)}t.lineJoin=t.lineCap="round",t.fill=void 0,t.stroke=s.stroke,t.strokeWidth=s.strokeWidth}updateFill(e){const{fillPath:t,yData:i,fill:s}=this,n=t.path,r=e.length;if(n.clear(),!(i.length<2)){for(let o=0;o<r;o++){const{point:l}=e[o],a=l.x,h=l.y;o>0?n.lineTo(a,h):n.moveTo(a,h)}n.closePath(),t.lineJoin="round",t.stroke=void 0,t.fill=s}}updateXCrosshairLine(){const{yScale:e,xCrosshairLine:t,highlightedDatum:i,crosshairs:{xLine:s}}=this;if(!s.enabled||i==null){t.strokeWidth=0;return}t.y1=e.range[0],t.y2=e.range[1],t.x1=t.x2=0,t.stroke=s.stroke,t.strokeWidth=s.strokeWidth??1,t.lineCap=s.lineCap==="round"||s.lineCap==="square"?s.lineCap:void 0;const{lineDash:n}=s;t.lineDash=Array.isArray(n)?n:getLineDash(t.lineCap,s.lineDash),t.translationX=i.point.x}updateYCrosshairLine(){const{xScale:e,yCrosshairLine:t,highlightedDatum:i,crosshairs:{yLine:s}}=this;if(!s.enabled||i==null){t.strokeWidth=0;return}t.x1=e.range[0],t.x2=e.range[1],t.y1=t.y2=0,t.stroke=s.stroke,t.strokeWidth=s.strokeWidth??1,t.lineCap=s.lineCap==="round"||s.lineCap==="square"?s.lineCap:void 0;const{lineDash:n}=s;t.lineDash=Array.isArray(n)?n:getLineDash(t.lineCap,s.lineDash),t.translationY=i.point.y}getTooltipHtml(e){const{dataType:t}=this,{seriesDatum:i}=e,s=i.y,n=i.x,r=this.formatNumericDatum(s),o=t==="array"||t==="object"?this.formatDatum(n):void 0,l={content:r,title:o},a=this.processedOptions?.tooltip?.renderer;return a?toTooltipHtml(a({context:this.context,datum:i,yValue:s,xValue:n}),l):toTooltipHtml(l)}},import_ag_charts_community5=require("ag-charts-community"),import_ag_charts_community4=require("ag-charts-community"),Label=class{constructor(){this.enabled=!0,this.fontSize=8,this.fontFamily="Verdana, sans-serif",this.fontStyle=void 0,this.fontWeight=void 0,this.color="rgba(70, 70, 70, 1)"}},{extent:extent3}=import_ag_charts_community4._Util,BarColumnLabel=class extends Label{constructor(){super(...arguments),this.formatter=void 0,this.placement="insideEnd"}},BarColumnSparkline=class extends Sparkline{constructor(){super(),this.fill="rgb(124, 181, 236)",this.stroke="silver",this.strokeWidth=0,this.paddingInner=.1,this.paddingOuter=.2,this.valueAxisDomain=void 0,this.formatter=void 0,this.axisLine=new import_ag_charts_community4._Scene.Line,this.bandWidth=0,this.sparklineGroup=new import_ag_charts_community4._Scene.Group,this.rectGroup=new import_ag_charts_community4._Scene.Group,this.labelGroup=new import_ag_charts_community4._Scene.Group,this.rectSelection=import_ag_charts_community4._Scene.Selection.select(this.rectGroup,import_ag_charts_community4._Scene.Rect),this.labelSelection=import_ag_charts_community4._Scene.Selection.select(this.labelGroup,import_ag_charts_community4._Scene.Text),this.nodeSelectionData=[],this.label=new BarColumnLabel,this.rootGroup.append(this.sparklineGroup),this.rectGroup.zIndex=50,this.axisLine.zIndex=500,this.labelGroup.zIndex=1500,this.sparklineGroup.append([this.rectGroup,this.axisLine,this.labelGroup]),this.axisLine.lineCap="round",this.label.enabled=!1}getNodeData(){return this.nodeSelectionData}update(){this.updateSelections(),this.updateNodes()}updateSelections(){const e=this.generateNodeData();e&&(this.nodeSelectionData=e,this.updateRectSelection(e),this.updateLabelSelection(e))}updateNodes(){this.updateRectNodes(),this.updateLabelNodes()}calculateStep(e){const{xScale:t,paddingInner:i,paddingOuter:s,smallestInterval:n}=this,o=(t.domain[1]-t.domain[0])/(n?.x??1)+1,a=Math.min(o,50),h=a-1;return e/Math.max(1,2*s+h*i+a)}updateYScaleDomain(){const{yScale:e,yData:t,valueAxisDomain:i}=this,s=extent3(t);let n=0,r=1;s!==void 0&&(n=this.min=s[0],r=this.max=s[1]),n=n<0?n:0,r=r<0?0:r,i&&(i[1]<r&&(i[1]=r),i[0]>n&&(i[0]=n)),e.domain=i||[n,r]}updateRectSelection(e){this.rectSelection.update(e)}updateRectNodes(){const{highlightedDatum:e,formatter:t,fill:i,stroke:s,strokeWidth:n}=this,{fill:r,stroke:o,strokeWidth:l}=this.highlightStyle;this.rectSelection.each((a,h,g)=>{const c=h===e,f=c&&r!==void 0?r:i,y=c&&o!==void 0?o:s,d=c&&l!==void 0?l:n;let m;const{x:u,y:p,width:x,height:k,seriesDatum:b}=h;if(t){const S=g===0,_=g===this.nodeSelectionData.length-1,N=b.y===this.min,C=b.y===this.max;m=t({datum:h,xValue:b.x,yValue:b.y,width:x,height:k,min:N,max:C,first:S,last:_,fill:f,stroke:y,strokeWidth:d,highlighted:c})}a.fill=m&&m.fill||f,a.stroke=m&&m.stroke||y,a.strokeWidth=m&&m.strokeWidth||d,a.x=a.y=0,a.width=x,a.height=k,a.visible=a.height>0,a.translationX=u,a.translationY=p})}updateLabelSelection(e){this.labelSelection.update(e,t=>{t.tag=1,t.pointerEvents=import_ag_charts_community4._Scene.PointerEvents.None})}updateLabelNodes(){const{label:{enabled:e,fontStyle:t,fontWeight:i,fontSize:s,fontFamily:n,color:r}}=this;this.labelSelection.each((o,l)=>{const a=l.label;a&&e?(o.fontStyle=t,o.fontWeight=i,o.fontSize=s,o.fontFamily=n,o.textAlign=a.textAlign,o.textBaseline=a.textBaseline,o.text=a.text,o.x=a.x,o.y=a.y,o.fill=r,o.visible=!0):o.visible=!1})}getTooltipHtml(e){const{dataType:t}=this,{seriesDatum:i}=e,s=i.y,n=i.x,r=this.formatNumericDatum(s),o=t==="array"||t==="object"?this.formatDatum(n):void 0,l={content:r,title:o},a=this.processedOptions?.tooltip?.renderer;return a?toTooltipHtml(a({context:this.context,datum:i,yValue:s,xValue:n}),l):toTooltipHtml(l)}formatLabelValue(e){return e%1!==0?e.toFixed(1):e.toFixed(0)}},{isNumber:isNumber2}=import_ag_charts_community5._Util,{BandScale:BandScale3}=import_ag_charts_community5._Scale,BarSparkline=class extends BarColumnSparkline{updateYScaleRange(){const{seriesRect:e,yScale:t}=this;t.range=[0,e.width]}updateXScaleRange(){const{xScale:e,seriesRect:t,paddingOuter:i,paddingInner:s}=this;if(e instanceof BandScale3)e.range=[0,t.height],e.paddingInner=s,e.paddingOuter=i;else{const n=this.calculateStep(t.height),r=n*i;this.bandWidth=n*(1-s),e.range=[r,t.height-r-this.bandWidth]}}updateAxisLine(){const{yScale:e,axis:t,axisLine:i,seriesRect:s}=this,{strokeWidth:n}=t;i.x1=0,i.x2=0,i.y1=0,i.y2=s.height,i.stroke=t.stroke,i.strokeWidth=n+(n%2===1?1:0);const r=e.convert(0);i.translationX=r}generateNodeData(){const{data:e,yData:t,xData:i,xScale:s,yScale:n,fill:r,stroke:o,strokeWidth:l,label:a}=this;if(!e)return;const{fontStyle:h,fontWeight:g,fontSize:c,fontFamily:f,color:y,formatter:d,placement:m}=a,u=[],p=n.convert(0),x=!(s instanceof BandScale3);for(let k=0,b=t.length;k<b;k++){let S=t[k];const _=i[k],N=S===void 0;N&&(S=0);const C=s.convert(x?s.toDomain(_):_),W=Math.min(S===void 0?NaN:n.convert(S),p),A=Math.max(S===void 0?NaN:n.convert(S),p),O=x?this.bandWidth:s.bandwidth,M=A-W,F={x:p,y:C};let z;d?z=d({value:S}):z=S!==void 0&&isNumber2(S)?this.formatLabelValue(S):"";const P=C+O/2;let D;const R="middle";let w;const v=S!==void 0&&S>=0,L=4;if(m==="center")D=W+M/2,w="center";else if(m==="outsideEnd")D=W+(v?M+L:-L),w=v?"start":"end";else if(m==="insideEnd"){D=W+(v?M-L:L),w=v?"end":"start";const T=import_ag_charts_community5._ModuleSupport.CachedTextMeasurerPool.measureText(z,{font:f}).width||20,I=p+T,X=p-T;(v&&D<I||!v&&D>X)&&(D=p+L*(v?1:-1),w=v?"start":"end")}else D=p+L*(v?1:-1),w=v?"start":"end";u.push({x:W,y:C,width:M,height:O,fill:r,stroke:o,strokeWidth:l,seriesDatum:{x:_,y:N?void 0:S},point:F,label:{x:D,y:P,text:z,fontStyle:h,fontWeight:g,fontSize:c,fontFamily:f,textAlign:w,textBaseline:R,fill:y}})}return u}getDistance(e,t){return Math.abs(e.y-t.y)}},import_ag_charts_community6=require("ag-charts-community"),{isNumber:isNumber3}=import_ag_charts_community6._Util,{BandScale:BandScale4}=import_ag_charts_community6._Scale,ColumnSparkline=class extends BarColumnSparkline{updateYScaleRange(){const{seriesRect:e,yScale:t}=this;t.range=[e.height,0]}updateXScaleRange(){const{xScale:e,seriesRect:t,paddingOuter:i,paddingInner:s}=this;if(e instanceof BandScale4)e.range=[0,t.width],e.paddingInner=s,e.paddingOuter=i;else{const n=this.calculateStep(t.width),r=n*i;this.bandWidth=n*(1-s),e.range=[r,t.width-r-this.bandWidth]}}updateAxisLine(){const{yScale:e,axis:t,axisLine:i,seriesRect:s}=this,{strokeWidth:n}=t;i.x1=0,i.x2=s.width,i.y1=0,i.y2=0,i.stroke=t.stroke,i.strokeWidth=n+(n%2===1?1:0);const r=e.convert(0);i.translationY=r}generateNodeData(){const{data:e,yData:t,xData:i,xScale:s,yScale:n,fill:r,stroke:o,strokeWidth:l,label:a}=this;if(!e)return;const{fontStyle:h,fontWeight:g,fontSize:c,fontFamily:f,color:y,formatter:d,placement:m}=a,u=[],p=n.convert(0),x=!(s instanceof BandScale4);for(let k=0,b=t.length;k<b;k++){let S=t[k];const _=i[k],N=S===void 0;N&&(S=0);const C=Math.min(S===void 0?NaN:n.convert(S),p),W=s.convert(x?s.toDomain(_):_),A=Math.max(S===void 0?NaN:n.convert(S),p),O=x?this.bandWidth:s.bandwidth,M=A-C,F={x:W+O/2,y:p};let z;d?z=d({value:S}):z=S!==void 0&&isNumber3(S)?this.formatLabelValue(S):"";const P=W+O/2;let D;const R="center";let w;const v=S!==void 0&&S>=0,L=2;if(m==="center")D=C+M/2,w="middle";else if(m==="outsideEnd")D=C+(v?-L:M+L),w=v?"bottom":"top";else if(m==="insideEnd"){D=C+(v?L:M-L),w=v?"top":"bottom";const T=import_ag_charts_community6._ModuleSupport.CachedTextMeasurerPool.measureText(z,{font:f}).height||10,I=p-T,X=p+T;(v&&D>I||!v&&D<X)&&(D=p+L*(v?-1:1),w=v?"bottom":"top")}else D=p+L*(v?-1:1),w=v?"bottom":"top";u.push({x:W,y:C,width:O,height:M,fill:r,stroke:o,strokeWidth:l,seriesDatum:{x:_,y:N?void 0:S},point:F,label:{x:P,y:D,text:z,fontStyle:h,fontWeight:g,fontSize:c,fontFamily:f,textAlign:R,textBaseline:w,fill:y}})}return u}},import_ag_charts_community7=require("ag-charts-community"),{extent:extent4}=import_ag_charts_community7._Util,{BandScale:BandScale5}=import_ag_charts_community7._Scale,SparklineMarker2=class{constructor(){this.enabled=!0,this.shape="circle",this.size=0,this.fill="rgb(124, 181, 236)",this.stroke="rgb(124, 181, 236)",this.strokeWidth=1,this.formatter=void 0}},SparklineLine2=class{constructor(){this.stroke="rgb(124, 181, 236)",this.strokeWidth=1}},SparklineCrosshairs2=class{constructor(){this.xLine={enabled:!0,stroke:"rgba(0,0,0, 0.54)",strokeWidth:1,lineDash:"solid",lineCap:void 0},this.yLine={enabled:!1,stroke:"rgba(0,0,0, 0.54)",strokeWidth:1,lineDash:"solid",lineCap:void 0}}},LineSparkline=class extends Sparkline{constructor(){super(),this.linePath=new import_ag_charts_community7._Scene.Path,this.xCrosshairLine=new import_ag_charts_community7._Scene.Line,this.yCrosshairLine=new import_ag_charts_community7._Scene.Line,this.lineSparklineGroup=new import_ag_charts_community7._Scene.Group,this.markers=new import_ag_charts_community7._Scene.Group,this.markerSelection=import_ag_charts_community7._Scene.Selection.select(this.markers,()=>this.markerFactory()),this.markerSelectionData=[],this.marker=new SparklineMarker2,this.line=new SparklineLine2,this.crosshairs=new SparklineCrosshairs2,this.rootGroup.append(this.lineSparklineGroup),this.linePath.zIndex=1e3,this.xCrosshairLine.zIndex=2e3,this.yCrosshairLine.zIndex=2e3,this.markers.zIndex=2500,this.lineSparklineGroup.append([this.linePath,this.xCrosshairLine,this.yCrosshairLine,this.markers])}getNodeData(){return this.markerSelectionData}markerFactory(){const{shape:e}=this.marker,t=getMarker(e);return new t}onMarkerShapeChange(){this.markerSelection=this.markerSelection.clear(),this.scheduleLayout()}update(){const e=this.generateNodeData();e&&(this.markerSelectionData=e,this.updateSelection(e),this.updateNodes(),this.updateLine())}updateYScaleDomain(){const{yData:e,yScale:t}=this,i=extent4(e);let s=0,n=1;if(i!==void 0&&(s=this.min=i[0],n=this.max=i[1]),s===n){const r=Math.abs(s*.01);s-=r,n+=r}t.domain=[s,n]}generateNodeData(){const{data:e,yData:t,xData:i,xScale:s,yScale:n}=this;if(!e)return;const r=!(s instanceof BandScale5),o=r?0:s.bandwidth/2,l=[];for(let a=0;a<t.length;a++){const h=t[a],g=i[a];if(h==null)continue;const c=s.convert(r?s.toDomain(g):g)+o,f=h===void 0?NaN:n.convert(h);l.push({seriesDatum:{x:g,y:h},point:{x:c,y:f}})}return l}updateSelection(e){this.markerSelection.update(e)}updateNodes(){const{highlightedDatum:e,highlightStyle:t,marker:i}=this,{size:s,fill:n,stroke:r,strokeWidth:o}=t,l=i.formatter;this.markerSelection.each((a,h,g)=>{const c=h===e,f=c&&n!==void 0?n:i.fill,y=c&&r!==void 0?r:i.stroke,d=c&&o!==void 0?o:i.strokeWidth,m=c&&s!==void 0?s:i.size;let u;const{seriesDatum:p,point:x}=h;if(l){const k=g===0,b=g===this.markerSelectionData.length-1,S=p.y===this.min,_=p.y===this.max;u=l({datum:h,xValue:p.x,yValue:p.y,min:S,max:_,first:k,last:b,fill:f,stroke:y,strokeWidth:d,size:m,highlighted:c})}a.size=u&&u.size!=null?u.size:m,a.fill=u&&u.fill!=null?u.fill:f,a.stroke=u&&u.stroke!=null?u.stroke:y,a.strokeWidth=u&&u.strokeWidth!=null?u.strokeWidth:d,a.translationX=x.x,a.translationY=x.y,a.visible=u&&u.enabled!=null?u.enabled:i.enabled&&a.size>0})}updateLine(){const{linePath:e,yData:t,xData:i,xScale:s,yScale:n,line:r}=this,o=e.path;if(o.clear(),t.length<2)return;const l=!(s instanceof BandScale5),a=t.length,h=l?0:s.bandwidth/2;let g=!0;for(let c=0;c<a;c++){const f=i[c],y=t[c],d=s.convert(l?s.toDomain(f):f)+h,m=y===void 0?NaN:n.convert(y);y==null?g=!0:g?(o.moveTo(d,m),g=!1):o.lineTo(d,m)}e.fill=void 0,e.stroke=r.stroke,e.strokeWidth=r.strokeWidth}updateXCrosshairLine(){const{yScale:e,xCrosshairLine:t,highlightedDatum:i,crosshairs:{xLine:s}}=this;if(!s.enabled||i==null){t.strokeWidth=0;return}t.y1=e.range[0],t.y2=e.range[1],t.x1=t.x2=0,t.stroke=s.stroke,t.strokeWidth=s.strokeWidth??1,t.lineCap=s.lineCap==="round"||s.lineCap==="square"?s.lineCap:void 0;const{lineDash:n}=s;t.lineDash=Array.isArray(n)?n:getLineDash(t.lineCap,s.lineDash),t.translationX=i.point.x}updateYCrosshairLine(){const{xScale:e,yCrosshairLine:t,highlightedDatum:i,crosshairs:{yLine:s}}=this;if(!s.enabled||i==null){t.strokeWidth=0;return}t.x1=e.range[0],t.x2=e.range[1],t.y1=t.y2=0,t.stroke=s.stroke,t.strokeWidth=s.strokeWidth??1,t.lineCap=s.lineCap==="round"||s.lineCap==="square"?s.lineCap:void 0;const{lineDash:n}=s;t.lineDash=Array.isArray(n)?n:getLineDash(t.lineCap,s.lineDash),t.translationY=i.point.y}getTooltipHtml(e){const{dataType:t}=this,{seriesDatum:i}=e,s=i.y,n=i.x,r=this.formatNumericDatum(s),o=t==="array"||t==="object"?this.formatDatum(n):void 0,l={content:r,title:o},a=this.processedOptions?.tooltip?.renderer;return a?toTooltipHtml(a({context:this.context,datum:i,yValue:s,xValue:n}),l):toTooltipHtml(l)}},{isNumber:isNumber4}=import_ag_charts_community8._Util,AgSparkline=class{static create(e,t){e=import_ag_charts_community8._Util.deepClone(e);const i=getSparklineInstance(e.type);return t&&(i.tooltip=t),initSparkline(i,e),initSparklineByType(i,e),e.data&&(i.data=e.data),i.processedOptions=e,i}};function getSparklineInstance(e="line"){switch(e){case"column":return new ColumnSparkline;case"bar":return new BarSparkline;case"area":return new AreaSparkline;case"line":default:return new LineSparkline}}function initSparklineByType(e,t){switch(t.type){case"bar":initBarColumnSparkline(e,t);break;case"column":initBarColumnSparkline(e,t);break;case"area":initAreaSparkline(e,t);break;case"line":default:initLineSparkline(e,t);break}}function initSparkline(e,t){setValueIfPropertyExists(e,"context",t.context,t),setValueIfPropertyExists(e,"width",t.width,t),setValueIfPropertyExists(e,"height",t.height,t),setValueIfPropertyExists(e,"container",t.container,t),setValueIfPropertyExists(e,"xKey",t.xKey,t),setValueIfPropertyExists(e,"yKey",t.yKey,t),t.padding&&initPaddingOptions(e.padding,t.padding),t.axis&&initAxisOptions(e.axis,t.axis),t.highlightStyle&&initHighlightStyleOptions(e.highlightStyle,t.highlightStyle)}function initLineSparkline(e,t){t.marker&&initMarkerOptions(e.marker,t.marker),t.line&&initLineOptions(e.line,t.line),t.crosshairs&&initCrosshairsOptions(e.crosshairs,t.crosshairs)}function initAreaSparkline(e,t){setValueIfPropertyExists(e,"fill",t.fill,t),t.marker&&initMarkerOptions(e.marker,t.marker),t.line&&initLineOptions(e.line,t.line),t.crosshairs&&initCrosshairsOptions(e.crosshairs,t.crosshairs)}function initBarColumnSparkline(e,t){setValueIfPropertyExists(e,"valueAxisDomain",t.valueAxisDomain,t),setValueIfPropertyExists(e,"fill",t.fill,t),setValueIfPropertyExists(e,"stroke",t.stroke,t),setValueIfPropertyExists(e,"strokeWidth",t.strokeWidth,t),setValueIfPropertyExists(e,"paddingInner",t.paddingInner,t),setValueIfPropertyExists(e,"paddingOuter",t.paddingOuter,t),setValueIfPropertyExists(e,"formatter",t.formatter,t),t.label&&initLabelOptions(e.label,t.label)}function initPaddingOptions(e,t){setValueIfPropertyExists(e,"top",t.top,t),setValueIfPropertyExists(e,"right",t.right,t),setValueIfPropertyExists(e,"bottom",t.bottom,t),setValueIfPropertyExists(e,"left",t.left,t)}function initMarkerOptions(e,t){setValueIfPropertyExists(e,"enabled",t.enabled,t),setValueIfPropertyExists(e,"size",t.size,t),setValueIfPropertyExists(e,"shape",t.shape,t),setValueIfPropertyExists(e,"fill",t.fill,t),setValueIfPropertyExists(e,"stroke",t.stroke,t),setValueIfPropertyExists(e,"strokeWidth",t.strokeWidth,t),setValueIfPropertyExists(e,"formatter",t.formatter,t)}function initLabelOptions(e,t){setValueIfPropertyExists(e,"enabled",t.enabled,t),setValueIfPropertyExists(e,"fontStyle",t.fontStyle,t),setValueIfPropertyExists(e,"fontWeight",t.fontWeight,t),setValueIfPropertyExists(e,"fontSize",t.fontSize,t),setValueIfPropertyExists(e,"fontFamily",t.fontFamily,t),setValueIfPropertyExists(e,"textAlign",t.textAlign,t),setValueIfPropertyExists(e,"textBaseline",t.textBaseline,t),setValueIfPropertyExists(e,"color",t.color,t),setValueIfPropertyExists(e,"formatter",t.formatter,t),setValueIfPropertyExists(e,"placement",t.placement,t)}function initLineOptions(e,t){setValueIfPropertyExists(e,"stroke",t.stroke,t),setValueIfPropertyExists(e,"strokeWidth",t.strokeWidth,t)}function initAxisOptions(e,t){setValueIfPropertyExists(e,"type",t.type,t),setValueIfPropertyExists(e,"stroke",t.stroke,t),setValueIfPropertyExists(e,"strokeWidth",t.strokeWidth,t)}function initHighlightStyleOptions(e,t){setValueIfPropertyExists(e,"fill",t.fill,t),setValueIfPropertyExists(e,"size",t.size,t),setValueIfPropertyExists(e,"stroke",t.stroke,t),setValueIfPropertyExists(e,"strokeWidth",t.strokeWidth,t)}function initCrosshairsOptions(e,t){e.xLine&&t.xLine&&initCrosshairLineOptions(e.xLine,t.xLine),e.yLine&&t.yLine&&initCrosshairLineOptions(e.yLine,t.yLine)}function initCrosshairLineOptions(e,t){setValueIfPropertyExists(e,"enabled",t.enabled,t),setValueIfPropertyExists(e,"stroke",t.stroke,t),setValueIfPropertyExists(e,"strokeWidth",t.strokeWidth,t),setValueIfPropertyExists(e,"lineDash",t.lineDash,t),setValueIfPropertyExists(e,"lineCap",t.lineCap,t)}var offsetValidator=(e,t,i)=>isNumber4(t)?!0:((0,import_core3._warnOnce)(`${e} must be a number, the value you provided is not a valid number. Using the default of ${i}px.`),!1),validators={xOffset:offsetValidator,yOffset:offsetValidator};function setValueIfPropertyExists(e,t,i,s){if(t in s)if(t in e){const n=validators[t];(n?n(t,i,e[t]):!0)&&e[t]!==i&&(e[t]=i)}else(0,import_core3._warnOnce)(`Property ${t} does not exist on the target object.`)}var SparklineCellRenderer=class extends import_core4.Component{constructor(){super(`<div class="ag-sparkline-wrapper">
<span data-ref="eSparkline"></span>
</div>`),this.eSparkline=import_core4.RefPlaceholder}wireBeans(e){this.resizeObserverService=e.resizeObserverService,this.sparklineTooltipSingleton=e.sparklineTooltipSingleton}init(e){let t=!0;const i=()=>{const{clientWidth:n,clientHeight:r}=this.getGui();if(!(n===0||r===0))if(t){const o={data:e.value,width:n,height:r,context:{data:e.data},...e.sparklineOptions};this.sparkline=AgSparkline.create(o,this.sparklineTooltipSingleton.getSparklineTooltip()),this.eSparkline.appendChild(this.sparkline.canvasElement),t=!1}else this.sparkline.width=n,this.sparkline.height=r},s=this.resizeObserverService.observeResize(this.getGui(),i);this.addDestroyFunc(()=>s())}refresh(e){return this.sparkline?(this.sparkline.data=e.value,!0):!1}destroy(){this.sparkline&&this.sparkline.destroy(),super.destroy()}},import_core5=require("@ag-grid-community/core"),SparklineTooltipSingleton=class extends import_core5.BeanStub{constructor(){super(...arguments),this.beanName="sparklineTooltipSingleton"}postConstruct(){this.tooltip=new SparklineTooltip}getSparklineTooltip(){return this.tooltip}destroy(){this.tooltip&&this.tooltip.destroy(),super.destroy()}},VERSION="32.0.2",SparklinesModule={version:VERSION,moduleName:import_core6.ModuleNames.SparklinesModule,beans:[SparklineTooltipSingleton],userComponents:[{name:"agSparklineCellRenderer",classImp:SparklineCellRenderer}],dependantModules:[import_core7.EnterpriseCoreModule]};
</div>`),this.eSparkline=import_core4.RefPlaceholder}wireBeans(e){this.resizeObserverService=e.resizeObserverService,this.sparklineTooltipSingleton=e.sparklineTooltipSingleton}init(e){let t=!0;const i=()=>{const{clientWidth:n,clientHeight:r}=this.getGui();if(!(n===0||r===0))if(t){const o={data:e.value,width:n,height:r,context:{data:e.data},...e.sparklineOptions};this.sparkline=AgSparkline.create(o,this.sparklineTooltipSingleton.getSparklineTooltip()),this.eSparkline.appendChild(this.sparkline.canvasElement),t=!1}else this.sparkline.width=n,this.sparkline.height=r},s=this.resizeObserverService.observeResize(this.getGui(),i);this.addDestroyFunc(()=>s())}refresh(e){return this.sparkline?(this.sparkline.data=e.value,!0):!1}destroy(){this.sparkline&&this.sparkline.destroy(),super.destroy()}},import_core5=require("@ag-grid-community/core"),SparklineTooltipSingleton=class extends import_core5.BeanStub{constructor(){super(...arguments),this.beanName="sparklineTooltipSingleton"}postConstruct(){this.tooltip=new SparklineTooltip}getSparklineTooltip(){return this.tooltip}destroy(){this.tooltip&&this.tooltip.destroy(),super.destroy()}},VERSION="32.1.0",SparklinesModule=(0,import_core6._defineModule)({version:VERSION,moduleName:import_core6.ModuleNames.SparklinesModule,beans:[SparklineTooltipSingleton],userComponents:[{name:"agSparklineCellRenderer",classImp:SparklineCellRenderer}],dependantModules:[import_core7.EnterpriseCoreModule]});
{
"name": "@ag-grid-enterprise/sparklines",
"version": "32.0.2",
"version": "32.1.0",
"description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",

@@ -16,5 +16,5 @@ "main": "./dist/package/main.cjs.js",

"dependencies": {
"@ag-grid-community/core": "32.0.2",
"@ag-grid-enterprise/core": "32.0.2",
"ag-charts-community": "10.0.2"
"@ag-grid-community/core": "32.1.0",
"@ag-grid-enterprise/core": "32.1.0",
"ag-charts-community": "10.1.0"
},

@@ -61,2 +61,2 @@ "devDependencies": {

}
}
}
{
"name": "@ag-grid-enterprise/sparklines",
"version": "32.0.2",
"version": "32.1.0",
"description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",

@@ -16,5 +16,5 @@ "main": "./src/main.js",

"dependencies": {
"@ag-grid-community/core": "32.0.2",
"@ag-grid-enterprise/core": "32.0.2",
"ag-charts-community": "10.0.2"
"@ag-grid-community/core": "32.1.0",
"@ag-grid-enterprise/core": "32.1.0",
"ag-charts-community": "10.1.0"
},

@@ -21,0 +21,0 @@ "devDependencies": {

@@ -13,4 +13,4 @@ import type { TooltipRendererResult } from '@ag-grid-community/core';

export declare class SparklineTooltip {
private created;
element: HTMLElement;
constructor();
isVisible(): boolean;

@@ -17,0 +17,0 @@ updateClass(visible?: boolean): void;

@@ -1,2 +0,1 @@

import type { Module } from '@ag-grid-community/core';
export declare const SparklinesModule: Module;
export declare const SparklinesModule: import("@ag-grid-community/core").Module;

@@ -1,1 +0,1 @@

export declare const VERSION = "32.0.2";
export declare const VERSION = "32.1.0";
{
"name": "@ag-grid-enterprise/sparklines",
"version": "32.0.2",
"version": "32.1.0",
"description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",

@@ -16,5 +16,5 @@ "main": "./dist/package/main.cjs.js",

"dependencies": {
"@ag-grid-community/core": "32.0.2",
"@ag-grid-enterprise/core": "32.0.2",
"ag-charts-community": "10.0.2"
"@ag-grid-community/core": "32.1.0",
"@ag-grid-enterprise/core": "32.1.0",
"ag-charts-community": "10.1.0"
},

@@ -61,2 +61,2 @@ "devDependencies": {

}
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc