Comparing version 0.0.183 to 0.0.184
@@ -28,3 +28,3 @@ "use strict"; | ||
curve: _propTypes.default.func, | ||
defined: _propTypes.default.oneOf([_propTypes.default.func, _propTypes.default.bool]), | ||
defined: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.bool]), | ||
x: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.number]), | ||
@@ -31,0 +31,0 @@ y: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.number]) |
@@ -246,3 +246,3 @@ import { Group } from '@vx/group'; | ||
curve: PropTypes.func, | ||
defined: PropTypes.oneOf([PropTypes.func, PropTypes.bool]), | ||
defined: PropTypes.oneOfType([PropTypes.func, PropTypes.bool]), | ||
x: PropTypes.oneOfType([PropTypes.func, PropTypes.number]), | ||
@@ -249,0 +249,0 @@ y: PropTypes.oneOfType([PropTypes.func, PropTypes.number]) |
@@ -1,1 +0,1 @@ | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@vx/group"),require("d3-shape"),require("d3-path"),require("@vx/point"),require("react"),require("classnames"),require("prop-types")):"function"==typeof define&&define.amd?define(["exports","@vx/group","d3-shape","d3-path","@vx/point","react","classnames","prop-types"],n):n(e.vx=e.vx||{},e.vx,e.d3,e.d3,e.vx,e.React,e.classNames,e.PropTypes)}(this,function(e,O,S,b,p,E,A,n){"use strict";function w(){return(w=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e}).apply(this,arguments)}function q(e,n){if(null==e)return{};var r,t,a=function(e,n){if(null==e)return{};var r,t,a={},c=Object.keys(e);for(t=0;t<c.length;t++)r=c[t],0<=n.indexOf(r)||(a[r]=e[r]);return a}(e,n);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(t=0;t<c.length;t++)r=c[t],0<=n.indexOf(r)||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function c(e){return function(e){if(Array.isArray(e)){for(var n=0,r=new Array(e.length);n<e.length;n++)r[n]=e[n];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function r(e){var n=e.className,r=e.data,t=e.centroid,a=e.innerRadius,c=e.outerRadius,u=e.cornerRadius,i=e.startAngle,o=e.endAngle,f=e.padAngle,s=e.padRadius,l=e.children,d=e.innerRef,p=q(e,["className","data","centroid","innerRadius","outerRadius","cornerRadius","startAngle","endAngle","padAngle","padRadius","children","innerRef"]),y=S.arc();return t&&y.centroid(t),a&&y.innerRadius(a),c&&y.outerRadius(c),u&&y.cornerRadius(u),i&&y.startAngle(i),o&&y.endAngle(o),f&&y.padAngle(f),s&&y.padRadius(s),l?l({path:y}):E.createElement("path",w({ref:d,className:A("vx-arc",n),d:y(r)},p))}function t(e){var r=e.className,n=e.top,t=e.left,a=e.data,c=e.centroid,u=e.innerRadius,i=void 0===u?0:u,o=e.outerRadius,f=e.cornerRadius,s=e.startAngle,l=e.endAngle,d=e.padAngle,p=e.padRadius,y=e.pieSort,h=e.pieSortValues,v=e.pieValue,m=e.children,x=q(e,["className","top","left","data","centroid","innerRadius","outerRadius","cornerRadius","startAngle","endAngle","padAngle","padRadius","pieSort","pieSortValues","pieValue","children"]),g=S.arc();null!=i&&g.innerRadius(i),null!=o&&g.outerRadius(o),null!=f&&g.cornerRadius(f),null!=p&&g.padRadius(p);var R=S.pie();void 0!==y&&R.sort(y),void 0!==h&&R.sortValues(h),v&&R.value(v),null!=d&&R.padAngle(d),null!=s&&R.startAngle(s),null!=l&&R.endAngle(l);var b=R(a);return m?m({arcs:b,path:g,pie:R}):E.createElement(O.Group,{className:"vx-pie-arcs-group",top:n,left:t},b.map(function(e,n){return E.createElement("g",{key:"pie-arc-".concat(n)},E.createElement("path",w({className:A("vx-pie-arc",r),d:g(e)},x)),c&&c(g.centroid(e),e))}))}function a(e){var n=e.from,r=void 0===n?new p.Point({x:0,y:0}):n,t=e.to,a=void 0===t?new p.Point({x:1,y:1}):t,c=e.fill,u=void 0===c?"transparent":c,i=e.className,o=void 0===i?"":i,f=e.innerRef,s=q(e,["from","to","fill","className","innerRef"]);return E.createElement("line",w({ref:f,className:A("vx-line",o),x1:r.x,y1:r.y,x2:a.x,y2:a.y,fill:u},s))}function u(e){var n=e.children,r=e.data,t=e.x,a=e.y,c=e.fill,u=void 0===c?"transparent":c,i=e.className,o=e.curve,f=e.innerRef,s=e.defined,l=void 0===s?function(){return!0}:s,d=q(e,["children","data","x","y","fill","className","curve","innerRef","defined"]),p=S.line();return t&&p.x(t),a&&p.y(a),l&&p.defined(l),o&&p.curve(o),n?n({path:p}):E.createElement("path",w({ref:f,className:A("vx-linepath",i),d:p(r),fill:u},d))}function i(e){var n=e.className,r=e.angle,t=e.radius,a=e.defined,c=e.curve,u=e.data,i=e.innerRef,o=e.children,f=e.fill,s=void 0===f?"transparent":f,l=q(e,["className","angle","radius","defined","curve","data","innerRef","children","fill"]),d=S.radialLine();return r&&d.angle(r),t&&d.radius(t),a&&d.defined(a),c&&d.curve(c),o?o({path:d}):E.createElement("path",w({ref:i,className:A("vx-line-radial",n),d:d(u),fill:s},l))}function o(e){var n=e.children,r=e.x,t=e.x0,a=e.x1,c=e.y,u=e.y0,i=e.y1,o=e.data,f=e.defined,s=void 0===f?function(){return!0}:f,l=e.className,d=e.curve,p=e.innerRef,y=q(e,["children","x","x0","x1","y","y0","y1","data","defined","className","curve","innerRef"]),h=S.area();return r&&h.x(r),t&&h.x0(t),a&&h.x1(a),c&&h.y(c),u&&h.y0(u),i&&h.y1(i),s&&h.defined(s),d&&h.curve(d),n?n({path:h}):E.createElement("g",null,E.createElement("path",w({ref:p,className:A("vx-area",l),d:h(o)},y)))}function f(e){var n=e.x,r=e.x0,t=e.x1,a=e.y,c=e.y1,u=e.y0,i=e.yScale,o=e.data,f=e.defined,s=void 0===f?function(){return!0}:f,l=e.className,d=e.curve,p=e.innerRef,y=e.children,h=q(e,["x","x0","x1","y","y1","y0","yScale","data","defined","className","curve","innerRef","children"]),v=S.area();return n&&v.x(n),r&&v.x0(r),t&&v.x1(t),u?v.y0(u):v.y0(i.range()[0]),a&&!c&&v.y1(a),c&&!a&&v.y1(c),s&&v.defined(s),d&&v.curve(d),y?y({path:v}):E.createElement("path",w({ref:p,className:A("vx-area-closed",l),d:v(o)},h))}E=E&&E.hasOwnProperty("default")?E.default:E,A=A&&A.hasOwnProperty("default")?A.default:A,n=n&&n.hasOwnProperty("default")?n.default:n,r.propTypes={className:n.string,data:n.any,children:n.func,innerRef:n.func,centroid:n.oneOfType([n.func,n.number]),innerRadius:n.oneOfType([n.func,n.number]),outerRadius:n.oneOfType([n.func,n.number]),cornerRadius:n.oneOfType([n.func,n.number]),startAngle:n.oneOfType([n.func,n.number]),endAngle:n.oneOfType([n.func,n.number]),padAngle:n.oneOfType([n.func,n.number]),padRadius:n.oneOfType([n.func,n.number])},t.propTypes={className:n.string,top:n.number,left:n.number,data:n.array,centroid:n.oneOfType([n.func,n.number]),innerRadius:n.oneOfType([n.func,n.number]),outerRadius:n.oneOfType([n.func,n.number]),cornerRadius:n.oneOfType([n.func,n.number]),startAngle:n.oneOfType([n.func,n.number]),endAngle:n.oneOfType([n.func,n.number]),padAngle:n.oneOfType([n.func,n.number]),padRadius:n.oneOfType([n.func,n.number]),pieValue:n.oneOfType([n.func,n.number]),pieSort:n.func,pieSortValues:n.func,children:n.func},a.propTypes={className:n.string,innerRef:n.func,from:n.shape({x:n.number,y:n.number}),to:n.shape({x:n.number,y:n.number})},u.propTypes={innerRef:n.func,data:n.array,curve:n.func,defined:n.oneOf([n.func,n.bool]),x:n.oneOfType([n.func,n.number]),y:n.oneOfType([n.func,n.number])},i.propTypes={innerRef:n.func,className:n.string,data:n.any,curve:n.func,angle:n.oneOfType([n.func,n.number]),radius:n.oneOfType([n.func,n.number])},o.propTypes={children:n.func,className:n.string,data:n.any,defined:n.func,innerRef:n.func,curve:n.func,x:n.oneOfType([n.func,n.number]),x0:n.oneOfType([n.func,n.number]),x1:n.oneOfType([n.func,n.number]),y:n.oneOfType([n.func,n.number]),y0:n.oneOfType([n.func,n.number]),y1:n.oneOfType([n.func,n.number])},f.propTypes={children:n.func,className:n.string,data:n.any,defined:n.func,innerRef:n.func,curve:n.func,yScale:n.func,x:n.oneOfType([n.func,n.number]),x0:n.oneOfType([n.func,n.number]),x1:n.oneOfType([n.func,n.number]),y1:n.oneOfType([n.func,n.number]),y0:n.oneOfType([n.func,n.number])};var s={ascending:S.stackOrderAscending,descending:S.stackOrderDescending,insideout:S.stackOrderInsideOut,none:S.stackOrderNone,reverse:S.stackOrderReverse},l=Object.keys(s);function M(e){return s[e]||s.none}var d={expand:S.stackOffsetExpand,diverging:S.stackOffsetDiverging,none:S.stackOffsetNone,silhouette:S.stackOffsetSilhouette,wiggle:S.stackOffsetWiggle},y=Object.keys(d);function z(e){return d[e]||d.none}function g(e){var r=e.className,n=e.top,t=e.left,a=e.keys,c=e.data,u=e.curve,i=e.defined,o=e.x,f=e.x0,s=e.x1,l=e.y0,d=e.y1,p=e.value,y=e.order,h=e.offset,v=e.color,m=e.children,x=q(e,["className","top","left","keys","data","curve","defined","x","x0","x1","y0","y1","value","order","offset","color","children"]),g=S.stack();a&&g.keys(a),p&&g.value(p),y&&g.order(M(y)),h&&g.offset(z(h));var R=S.area();o&&R.x(o),f&&R.x0(f),s&&R.x1(s),l&&R.y0(l),d&&R.y1(d),u&&R.curve(u),i&&R.defined(i);var b=g(c);return m?m({stacks:b,path:R,stack:g}):E.createElement(O.Group,{top:n,left:t},b.map(function(e,n){return E.createElement("path",w({className:A("vx-stack",r),key:"stack-".concat(n,"-").concat(e.key||""),d:R(e),fill:v(e.key,n)},x))}))}function h(e){var t=e.className,n=e.top,r=e.left,a=e.keys,c=e.data,u=e.curve,i=e.defined,o=e.x,f=e.x0,s=e.x1,l=e.y0,d=e.y1,p=e.value,y=e.order,h=e.offset,v=e.color,m=e.children,x=q(e,["className","top","left","keys","data","curve","defined","x","x0","x1","y0","y1","value","order","offset","color","children"]);return E.createElement(g,w({className:t,top:n,left:r,keys:a,data:c,curve:u,defined:i,x:o,x0:f,x1:s,y0:l,y1:d,value:p,order:y,offset:h,color:v},x),m||function(e){var n=e.stacks,r=e.path;e.stack;return n.map(function(e,n){return E.createElement("path",w({className:A("vx-area-stack",t),key:"area-stack-".concat(n,"-").concat(e.key||""),d:r(e),fill:v(e.key,n)},x))})})}function P(e){var n=e.className,r=e.innerRef,t=q(e,["className","innerRef"]);return E.createElement("rect",w({ref:r,className:A("vx-bar",n)},t))}function L(e,n){return!!e[n]&&"function"==typeof e[n]}function v(e){var n=e.data,r=e.className,t=e.top,a=e.left,c=e.x0,u=e.x0Scale,i=e.x1Scale,o=e.yScale,f=e.color,s=e.keys,l=e.height,d=e.children,p=q(e,["data","className","top","left","x0","x0Scale","x1Scale","yScale","color","keys","height","children"]),y=i.range(),h=i.domain(),v=L(i,"bandwidth")?i.bandwidth():Math.abs(y[y.length-1]-y[0])/h.length,m=n.map(function(t,e){return{index:e,x0:u(c(t)),bars:s.map(function(e,n){var r=t[e];return{index:n,key:e,value:r,width:v,x:i(e),y:o(r),color:f(e,n),height:l-o(r)}})}});return d?d(m):E.createElement(O.Group,{className:A("vx-bar-group",r),top:t,left:a},m.map(function(n){return E.createElement(O.Group,{key:"bar-group-".concat(n.index,"-").concat(n.x0),left:n.x0},n.bars.map(function(e){return E.createElement(P,w({key:"bar-group-bar-".concat(n.index,"-").concat(e.index,"-").concat(e.value,"-").concat(e.key),x:e.x,y:e.y,width:e.width,height:e.height,fill:e.color},p))}))}))}function m(e){var n=e.data,r=e.className,t=e.top,a=e.left,c=e.x,u=void 0===c?function(e){return 0}:c,i=e.y0,o=e.y0Scale,f=e.y1Scale,s=e.xScale,l=e.color,d=e.keys,p=e.width,y=e.children,h=q(e,["data","className","top","left","x","y0","y0Scale","y1Scale","xScale","color","keys","width","children"]),v=f.range(),m=f.domain(),x=L(f,"bandwidth")?f.bandwidth():Math.abs(v[v.length-1]-v[0])/m.length,g=n.map(function(t,e){return{index:e,y0:o(i(t)),bars:d.map(function(e,n){var r=t[e];return{index:n,key:e,value:r,height:x,x:u(r),y:f(e),color:l(e,n),width:p-s(r)}})}});return y?y(g):E.createElement(O.Group,{className:A("vx-bar-group-horizontal",r),top:t,left:a},g.map(function(n){return E.createElement(O.Group,{key:"bar-group-".concat(n.index,"-").concat(n.y0),top:n.y0},n.bars.map(function(e){return E.createElement(P,w({key:"bar-group-bar-".concat(n.index,"-").concat(e.index,"-").concat(e.value,"-").concat(e.key),x:e.x,y:e.y,width:e.width,height:e.height,fill:e.color},h))}))}))}function x(e){var n=e.data,r=e.className,t=e.top,a=e.left,i=e.x,c=e.y0,o=void 0===c?function(e){return e[0]}:c,u=e.y1,f=void 0===u?function(e){return e[1]}:u,s=e.xScale,l=e.yScale,d=e.color,p=e.keys,y=e.value,h=e.order,v=e.offset,m=e.children,x=q(e,["data","className","top","left","x","y0","y1","xScale","yScale","color","keys","value","order","offset","children"]),g=S.stack();p&&g.keys(p),y&&g.value(y),h&&g.order(M(h)),v&&g.offset(z(v));var R=g(n),b=s.range(),k=s.domain(),T=L(s,"bandwidth")?s.bandwidth():Math.abs(b[b.length-1]-b[0])/k.length,N=R.map(function(c,e){var u=c.key;return{index:e,key:u,bars:c.map(function(e,n){var r=l(o(e))-l(f(e)),t=l(f(e)),a=L(s,"bandwidth")?s(i(e.data)):Math.max(s(i(e.data))-T/2);return{bar:e,key:u,index:n,height:r,width:T,x:a,y:t,color:d(c.key,n)}})}});return m?m(N):E.createElement(O.Group,{className:A("vx-bar-stack",r),top:t,left:a},N.map(function(n){return n.bars.map(function(e){return E.createElement(P,w({key:"bar-stack-".concat(n.index,"-").concat(e.index),x:e.x,y:e.y,height:e.height,width:e.width,fill:e.color},x))})}))}function R(e){var n=e.data,r=e.className,t=e.top,a=e.left,i=e.y,c=e.x0,o=void 0===c?function(e){return e[0]}:c,u=e.x1,f=void 0===u?function(e){return e[1]}:u,s=e.xScale,l=e.yScale,d=e.color,p=e.keys,y=e.value,h=e.order,v=e.offset,m=e.children,x=q(e,["data","className","top","left","y","x0","x1","xScale","yScale","color","keys","value","order","offset","children"]),g=S.stack();p&&g.keys(p),y&&g.value(y),h&&g.order(M(h)),v&&g.offset(z(v));var R=g(n),b=l.range(),k=l.domain(),T=L(l,"bandwidth")?l.bandwidth():Math.abs(b[b.length-1]-b[0])/k.length,N=R.map(function(c,e){var u=c.key;return{index:e,key:u,bars:c.map(function(e,n){var r=s(f(e))-s(o(e)),t=s(o(e)),a=L(l,"bandwidth")?l(i(e.data)):Math.max(l(i(e.data))-r/2);return{bar:e,key:u,index:n,height:T,width:r,x:t,y:a,color:d(c.key,n)}})}});return m?m(N):E.createElement(O.Group,{className:A("vx-bar-stack-horizontal",r),top:t,left:a},N.map(function(n){return n.bars.map(function(e){return E.createElement(P,w({key:"bar-stack-".concat(n.index,"-").concat(e.index),x:e.x,y:e.y,height:e.height,width:e.width,fill:e.color},x))})}))}g.propTypes={data:n.array.isRequired,className:n.string,top:n.number,left:n.number,curve:n.func,color:n.func,keys:n.array,children:n.func,x:n.oneOfType([n.func,n.number]),x0:n.oneOfType([n.func,n.number]),x1:n.oneOfType([n.func,n.number]),y:n.oneOfType([n.func,n.number]),y0:n.oneOfType([n.func,n.number]),y1:n.oneOfType([n.func,n.number]),value:n.oneOfType([n.func,n.number]),defined:n.oneOfType([n.func,n.bool]),order:n.oneOfType([n.func,n.array,n.string]),offset:n.oneOfType([n.func,n.array,n.string])},h.propTypes={className:n.string,top:n.number,left:n.number,keys:n.array,data:n.array,curve:n.func,color:n.func,children:n.func,x:n.oneOfType([n.func,n.number]),x0:n.oneOfType([n.func,n.number]),x1:n.oneOfType([n.func,n.number]),y:n.oneOfType([n.func,n.number]),y0:n.oneOfType([n.func,n.number]),y1:n.oneOfType([n.func,n.number]),value:n.oneOfType([n.func,n.number]),defined:n.oneOfType([n.func,n.bool]),order:n.oneOfType([n.func,n.array,n.string]),offset:n.oneOfType([n.func,n.array,n.string])},P.propTypes={innerRef:n.func,className:n.string},v.propTypes={data:n.array.isRequired,x0:n.func.isRequired,x0Scale:n.func.isRequired,x1Scale:n.func.isRequired,yScale:n.func.isRequired,color:n.func.isRequired,keys:n.array.isRequired,height:n.number.isRequired,className:n.string,top:n.number,left:n.number,children:n.func},m.propTypes={data:n.array.isRequired,y0:n.func.isRequired,y0Scale:n.func.isRequired,y1Scale:n.func.isRequired,xScale:n.func.isRequired,color:n.func.isRequired,keys:n.array.isRequired,width:n.number.isRequired,className:n.string,x:n.func,top:n.number,left:n.number,children:n.func},x.propTypes={data:n.array.isRequired,x:n.func.isRequired,xScale:n.func.isRequired,yScale:n.func.isRequired,color:n.func.isRequired,keys:n.array.isRequired,className:n.string,top:n.number,left:n.number,children:n.func,y0:n.func,y1:n.func,order:n.oneOfType([n.func,n.array,n.string]),offset:n.oneOfType([n.func,n.array,n.string]),value:n.oneOfType([n.func,n.number])},R.propTypes={data:n.array.isRequired,y:n.func.isRequired,x0:n.func,x1:n.func,xScale:n.func.isRequired,yScale:n.func.isRequired,color:n.func.isRequired,keys:n.array.isRequired,className:n.string,top:n.number,left:n.number,order:n.oneOfType([n.func,n.array,n.string]),offset:n.oneOfType([n.func,n.array,n.string]),value:n.oneOfType([n.func,n.number]),children:n.func};var k=function(e){return Math.PI/180*e};function T(e){var r=e.source,t=e.target,a=e.x,c=e.y;return function(e){var n=S.linkHorizontal();return n.x(a),n.y(c),n.source(r),n.target(t),n(e)}}function N(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.x,u=void 0===c?function(e){return e.y}:c,i=e.y,o=void 0===i?function(e){return e.x}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.children,y=q(e,["className","innerRef","data","path","x","y","source","target","children"]);return a=a||T({source:s,target:d,x:u,y:o}),p?p({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-horizontal-diagonal",n),d:a(t)},y))}function V(e){var r=e.source,t=e.target,a=e.x,c=e.y;return function(e){var n=S.linkVertical();return n.x(a),n.y(c),n.source(r),n.target(t),n(e)}}function C(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.x,u=void 0===c?function(e){return e.x}:c,i=e.y,o=void 0===i?function(e){return e.y}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.children,y=q(e,["className","innerRef","data","path","x","y","source","target","children"]);return a=a||V({source:s,target:d,x:u,y:o}),p?p({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-vertical-diagonal",n),d:a(t)},y))}function j(e){var r=e.source,t=e.target,a=e.angle,c=e.radius;return function(e){var n=S.linkRadial();return n.angle(a),n.radius(c),n.source(r),n.target(t),n(e)}}function H(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.angle,u=void 0===c?function(e){return e.x}:c,i=e.radius,o=void 0===i?function(e){return e.y}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.children,y=q(e,["className","innerRef","data","path","angle","radius","source","target","children"]);return a=a||j({source:s,target:d,angle:u,radius:o}),p?p({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-radial-diagonal",n),d:a(t)},y))}function I(e){var d=e.source,p=e.target,y=e.x,h=e.y,v=e.percent;return function(e){var n=d(e),r=p(e),t=y(n),a=h(n),c=y(r),u=h(r),i=c-t,o=u-a,f=v*(i+o),s=v*(o-i),l=b.path();return l.moveTo(t,a),l.bezierCurveTo(t+f,a+s,c+s,u-f,c,u),l.toString()}}function G(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.x,u=void 0===c?function(e){return e.y}:c,i=e.y,o=void 0===i?function(e){return e.x}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.percent,y=void 0===p?.2:p,h=e.children,v=q(e,["className","innerRef","data","path","x","y","source","target","percent","children"]);return a=a||I({source:s,target:d,x:u,y:o,percent:y}),h?h({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-horizontal-curve",n),d:a(t)},v))}function _(e){var d=e.source,p=e.target,y=e.x,h=e.y,v=e.percent;return function(e){var n=d(e),r=p(e),t=y(n),a=h(n),c=y(r),u=h(r),i=c-t,o=u-a,f=v*(i+o),s=v*(o-i),l=b.path();return l.moveTo(t,a),l.bezierCurveTo(t+f,a+s,c+s,u-f,c,u),l.toString()}}function D(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.x,u=void 0===c?function(e){return e.x}:c,i=e.y,o=void 0===i?function(e){return e.y}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.percent,y=void 0===p?.2:p,h=e.children,v=q(e,["className","innerRef","data","path","x","y","source","target","percent","children"]);return a=a||_({source:s,target:d,x:u,y:o,percent:y}),h?h({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-vertical-curve",n),d:a(t)},v))}function B(e){var v=e.source,m=e.target,x=e.x,g=e.y,R=e.percent;return function(e){var n=v(e),r=m(e),t=x(n)-Math.PI/2,a=g(n),c=x(r)-Math.PI/2,u=g(r),i=a*Math.cos(t),o=a*Math.sin(t),f=u*Math.cos(c),s=u*Math.sin(c),l=f-i,d=s-o,p=R*(l+d),y=R*(d-l),h=b.path();return h.moveTo(i,o),h.bezierCurveTo(i+p,o+y,f+y,s-p,f,s),h.toString()}}function F(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.x,u=void 0===c?function(e){return e.x}:c,i=e.y,o=void 0===i?function(e){return e.y}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.percent,y=void 0===p?.2:p,h=e.children,v=q(e,["className","innerRef","data","path","x","y","source","target","percent","children"]);return a=a||B({source:s,target:d,x:u,y:o,percent:y}),h?h({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-radial-curve",n),d:a(t)},v))}function K(e){var o=e.source,f=e.target,s=e.x,l=e.y;return function(e){var n=o(e),r=f(e),t=s(n),a=l(n),c=s(r),u=l(r),i=b.path();return i.moveTo(t,a),i.lineTo(c,u),i.toString()}}function W(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.x,u=void 0===c?function(e){return e.y}:c,i=e.y,o=void 0===i?function(e){return e.x}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.children,y=q(e,["className","innerRef","data","path","x","y","source","target","children"]);return a=a||K({source:s,target:d,x:u,y:o}),p?p({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-horizontal-line",n),d:a(t)},y))}function J(e){var o=e.source,f=e.target,s=e.x,l=e.y;return function(e){var n=o(e),r=f(e),t=s(n),a=l(n),c=s(r),u=l(r),i=b.path();return i.moveTo(t,a),i.lineTo(c,u),i.toString()}}function Q(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.x,u=void 0===c?function(e){return e.x}:c,i=e.y,o=void 0===i?function(e){return e.y}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.children,y=q(e,["className","innerRef","data","path","x","y","source","target","children"]);return a=a||J({source:s,target:d,x:u,y:o}),p?p({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-vertical-line",n),d:a(t)},y))}function U(e){var d=e.source,p=e.target,y=e.x,h=e.y;return function(e){var n=d(e),r=p(e),t=y(n)-Math.PI/2,a=h(n),c=y(r)-Math.PI/2,u=h(r),i=Math.cos(t),o=Math.sin(t),f=Math.cos(c),s=Math.sin(c),l=b.path();return l.moveTo(a*i,a*o),l.lineTo(u*f,u*s),l.toString()}}function X(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.x,u=void 0===c?function(e){return e.x}:c,i=e.y,o=void 0===i?function(e){return e.y}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.children,y=q(e,["className","innerRef","data","path","x","y","source","target","children"]);return a=a||U({source:s,target:d,x:u,y:o}),p?p({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-radial-line",n),d:a(t)},y))}function Y(e){var o=e.source,f=e.target,s=e.x,l=e.y,d=e.percent;return function(e){var n=o(e),r=f(e),t=s(n),a=l(n),c=s(r),u=l(r),i=b.path();return i.moveTo(t,a),i.lineTo(t+(c-t)*d,a),i.lineTo(t+(c-t)*d,u),i.lineTo(c,u),i.toString()}}function Z(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.percent,u=void 0===c?.5:c,i=e.x,o=void 0===i?function(e){return e.y}:i,f=e.y,s=void 0===f?function(e){return e.x}:f,l=e.source,d=void 0===l?function(e){return e.source}:l,p=e.target,y=void 0===p?function(e){return e.target}:p,h=e.children,v=q(e,["className","innerRef","data","path","percent","x","y","source","target","children"]);return a=a||Y({source:d,target:y,x:o,y:s,percent:u}),h?h({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-horizontal-step",n),d:a(t)},v))}function $(e){var o=e.source,f=e.target,s=e.x,l=e.y,d=e.percent;return function(e){var n=o(e),r=f(e),t=s(n),a=l(n),c=s(r),u=l(r),i=b.path();return i.moveTo(t,a),i.lineTo(t,a+(u-a)*d),i.lineTo(c,a+(u-a)*d),i.lineTo(c,u),i.toString()}}function ee(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.percent,u=void 0===c?.5:c,i=e.x,o=void 0===i?function(e){return e.x}:i,f=e.y,s=void 0===f?function(e){return e.y}:f,l=e.source,d=void 0===l?function(e){return e.source}:l,p=e.target,y=void 0===p?function(e){return e.target}:p,h=e.children,v=q(e,["className","innerRef","data","path","percent","x","y","source","target","children"]);return a=a||$({source:d,target:y,x:o,y:s,percent:u}),h?h({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-vertical-step",n),d:a(t)},v))}function ne(e){var v=e.source,m=e.target,x=e.x,g=e.y;return function(e){var n=v(e),r=m(e),t=x(n),a=g(n),c=x(r),u=g(r),i=t-Math.PI/2,o=a,f=c-Math.PI/2,s=u,l=Math.cos(i),d=Math.sin(i),p=Math.cos(f),y=Math.sin(f),h=Math.abs(f-i)>Math.PI?f<=i:i<f;return"\n M".concat(o*l,",").concat(o*d,"\n A").concat(o,",").concat(o,",0,0,").concat(h?1:0,",").concat(o*p,",").concat(o*y,"\n L").concat(s*p,",").concat(s*y,"\n ")}}function re(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.x,u=void 0===c?function(e){return e.x}:c,i=e.y,o=void 0===i?function(e){return e.y}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.children,y=q(e,["className","innerRef","data","path","x","y","source","target","children"]);return a=a||ne({source:s,target:d,x:u,y:o}),p?p({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-radial-step",n),d:a(t)},y))}N.propTypes={innerRef:n.func,x:n.func,y:n.func,source:n.func,target:n.func,path:n.func,children:n.func},C.propTypes={innerRef:n.func,x:n.func,y:n.func,source:n.func,target:n.func,path:n.func},H.propTypes={innerRef:n.func,angle:n.func,radius:n.func,source:n.func,target:n.func,path:n.func,children:n.func},G.propTypes={innerRef:n.func,percent:n.number,x:n.func,y:n.func,source:n.func,target:n.func,path:n.func,children:n.func},D.propTypes={innerRef:n.func,percent:n.number,x:n.func,y:n.func,source:n.func,target:n.func,path:n.func,children:n.func},F.propTypes={innerRef:n.func,percent:n.number,x:n.func,y:n.func,source:n.func,target:n.func,path:n.func,children:n.func},W.propTypes={innerRef:n.func,path:n.func,x:n.func,y:n.func,source:n.func,target:n.func,children:n.func},Q.propTypes={innerRef:n.func,path:n.func,x:n.func,y:n.func,source:n.func,target:n.func,children:n.func},X.propTypes={innerRef:n.func,path:n.func,x:n.func,y:n.func,source:n.func,target:n.func,children:n.func},Z.propTypes={innerRef:n.func,percent:n.number,x:n.func,y:n.func,source:n.func,target:n.func,path:n.func,children:n.func},ee.propTypes={innerRef:n.func,percent:n.number,x:n.func,y:n.func,source:n.func,target:n.func,path:n.func,children:n.func},re.propTypes={innerRef:n.func,x:n.func,y:n.func,source:n.func,target:n.func,path:n.func,children:n.func},ce.propTypes={sides:n.number.isRequired,size:n.number.isRequired,className:n.string,rotate:n.number,children:n.func,innerRef:n.func,center:n.shape({x:n.number,y:n.number})};var te=function(e){var n=e.sides,r=e.size,t=e.center,a=e.rotate,c=e.side,u=k(360/n*c-a);return new p.Point({x:t.x+r*Math.cos(u),y:t.y+r*Math.sin(u)})},ae=function(e){var n=e.sides,r=e.size,t=e.center,a=e.rotate;return c(Array(n).keys()).map(function(e){return te({sides:n,size:r,center:t,rotate:a,side:e})})};function ce(e){var n=e.sides,r=e.size,t=void 0===r?25:r,a=e.center,c=void 0===a?new p.Point({x:0,y:0}):a,u=e.rotate,i=void 0===u?0:u,o=e.className,f=e.children,s=e.innerRef,l=q(e,["sides","size","center","rotate","className","children","innerRef"]),d=ae({sides:n,size:t,center:c,rotate:i}).map(function(e){return e.toArray()});return f?f({points:d}):E.createElement("polygon",w({ref:s,className:A("vx-polygon",o),points:d.join(" ")},l))}function ue(e){var n=e.className,r=e.innerRef,t=q(e,["className","innerRef"]);return E.createElement("circle",w({ref:r,className:A("vx-circle",n)},t))}ue.propTypes={innerRef:n.func,className:n.string},e.Arc=r,e.Pie=t,e.Line=a,e.LinePath=u,e.LineRadial=i,e.Area=o,e.AreaClosed=f,e.AreaStack=h,e.Bar=P,e.BarGroup=v,e.BarGroupHorizontal=m,e.BarStack=x,e.BarStackHorizontal=R,e.Stack=g,e.stackOffset=z,e.STACK_OFFSETS=d,e.STACK_OFFSET_NAMES=y,e.stackOrder=M,e.STACK_ORDERS=s,e.STACK_ORDER_NAMES=l,e.degreesToRadians=k,e.LinkHorizontal=N,e.pathHorizontalDiagonal=T,e.LinkVertical=C,e.pathVerticalDiagonal=V,e.LinkRadial=H,e.pathRadialDiagonal=j,e.LinkHorizontalCurve=G,e.pathHorizontalCurve=I,e.LinkVerticalCurve=D,e.pathVerticalCurve=_,e.LinkRadialCurve=F,e.pathRadialCurve=B,e.LinkHorizontalLine=W,e.pathHorizontalLine=K,e.LinkVerticalLine=Q,e.pathVerticalLine=J,e.LinkRadialLine=X,e.pathRadialLine=U,e.LinkHorizontalStep=Z,e.pathHorizontalStep=Y,e.LinkVerticalStep=ee,e.pathVerticalStep=$,e.LinkRadialStep=re,e.pathRadialStep=ne,e.Polygon=ce,e.getPoints=ae,e.getPoint=te,e.Circle=ue,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@vx/group"),require("d3-shape"),require("d3-path"),require("@vx/point"),require("react"),require("classnames"),require("prop-types")):"function"==typeof define&&define.amd?define(["exports","@vx/group","d3-shape","d3-path","@vx/point","react","classnames","prop-types"],n):n(e.vx=e.vx||{},e.vx,e.d3,e.d3,e.vx,e.React,e.classNames,e.PropTypes)}(this,function(e,O,S,b,p,E,A,n){"use strict";function w(){return(w=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e}).apply(this,arguments)}function q(e,n){if(null==e)return{};var r,t,a=function(e,n){if(null==e)return{};var r,t,a={},c=Object.keys(e);for(t=0;t<c.length;t++)r=c[t],0<=n.indexOf(r)||(a[r]=e[r]);return a}(e,n);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(t=0;t<c.length;t++)r=c[t],0<=n.indexOf(r)||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function c(e){return function(e){if(Array.isArray(e)){for(var n=0,r=new Array(e.length);n<e.length;n++)r[n]=e[n];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function r(e){var n=e.className,r=e.data,t=e.centroid,a=e.innerRadius,c=e.outerRadius,u=e.cornerRadius,i=e.startAngle,o=e.endAngle,f=e.padAngle,s=e.padRadius,l=e.children,d=e.innerRef,p=q(e,["className","data","centroid","innerRadius","outerRadius","cornerRadius","startAngle","endAngle","padAngle","padRadius","children","innerRef"]),y=S.arc();return t&&y.centroid(t),a&&y.innerRadius(a),c&&y.outerRadius(c),u&&y.cornerRadius(u),i&&y.startAngle(i),o&&y.endAngle(o),f&&y.padAngle(f),s&&y.padRadius(s),l?l({path:y}):E.createElement("path",w({ref:d,className:A("vx-arc",n),d:y(r)},p))}function t(e){var r=e.className,n=e.top,t=e.left,a=e.data,c=e.centroid,u=e.innerRadius,i=void 0===u?0:u,o=e.outerRadius,f=e.cornerRadius,s=e.startAngle,l=e.endAngle,d=e.padAngle,p=e.padRadius,y=e.pieSort,h=e.pieSortValues,v=e.pieValue,m=e.children,x=q(e,["className","top","left","data","centroid","innerRadius","outerRadius","cornerRadius","startAngle","endAngle","padAngle","padRadius","pieSort","pieSortValues","pieValue","children"]),g=S.arc();null!=i&&g.innerRadius(i),null!=o&&g.outerRadius(o),null!=f&&g.cornerRadius(f),null!=p&&g.padRadius(p);var R=S.pie();void 0!==y&&R.sort(y),void 0!==h&&R.sortValues(h),v&&R.value(v),null!=d&&R.padAngle(d),null!=s&&R.startAngle(s),null!=l&&R.endAngle(l);var b=R(a);return m?m({arcs:b,path:g,pie:R}):E.createElement(O.Group,{className:"vx-pie-arcs-group",top:n,left:t},b.map(function(e,n){return E.createElement("g",{key:"pie-arc-".concat(n)},E.createElement("path",w({className:A("vx-pie-arc",r),d:g(e)},x)),c&&c(g.centroid(e),e))}))}function a(e){var n=e.from,r=void 0===n?new p.Point({x:0,y:0}):n,t=e.to,a=void 0===t?new p.Point({x:1,y:1}):t,c=e.fill,u=void 0===c?"transparent":c,i=e.className,o=void 0===i?"":i,f=e.innerRef,s=q(e,["from","to","fill","className","innerRef"]);return E.createElement("line",w({ref:f,className:A("vx-line",o),x1:r.x,y1:r.y,x2:a.x,y2:a.y,fill:u},s))}function u(e){var n=e.children,r=e.data,t=e.x,a=e.y,c=e.fill,u=void 0===c?"transparent":c,i=e.className,o=e.curve,f=e.innerRef,s=e.defined,l=void 0===s?function(){return!0}:s,d=q(e,["children","data","x","y","fill","className","curve","innerRef","defined"]),p=S.line();return t&&p.x(t),a&&p.y(a),l&&p.defined(l),o&&p.curve(o),n?n({path:p}):E.createElement("path",w({ref:f,className:A("vx-linepath",i),d:p(r),fill:u},d))}function i(e){var n=e.className,r=e.angle,t=e.radius,a=e.defined,c=e.curve,u=e.data,i=e.innerRef,o=e.children,f=e.fill,s=void 0===f?"transparent":f,l=q(e,["className","angle","radius","defined","curve","data","innerRef","children","fill"]),d=S.radialLine();return r&&d.angle(r),t&&d.radius(t),a&&d.defined(a),c&&d.curve(c),o?o({path:d}):E.createElement("path",w({ref:i,className:A("vx-line-radial",n),d:d(u),fill:s},l))}function o(e){var n=e.children,r=e.x,t=e.x0,a=e.x1,c=e.y,u=e.y0,i=e.y1,o=e.data,f=e.defined,s=void 0===f?function(){return!0}:f,l=e.className,d=e.curve,p=e.innerRef,y=q(e,["children","x","x0","x1","y","y0","y1","data","defined","className","curve","innerRef"]),h=S.area();return r&&h.x(r),t&&h.x0(t),a&&h.x1(a),c&&h.y(c),u&&h.y0(u),i&&h.y1(i),s&&h.defined(s),d&&h.curve(d),n?n({path:h}):E.createElement("g",null,E.createElement("path",w({ref:p,className:A("vx-area",l),d:h(o)},y)))}function f(e){var n=e.x,r=e.x0,t=e.x1,a=e.y,c=e.y1,u=e.y0,i=e.yScale,o=e.data,f=e.defined,s=void 0===f?function(){return!0}:f,l=e.className,d=e.curve,p=e.innerRef,y=e.children,h=q(e,["x","x0","x1","y","y1","y0","yScale","data","defined","className","curve","innerRef","children"]),v=S.area();return n&&v.x(n),r&&v.x0(r),t&&v.x1(t),u?v.y0(u):v.y0(i.range()[0]),a&&!c&&v.y1(a),c&&!a&&v.y1(c),s&&v.defined(s),d&&v.curve(d),y?y({path:v}):E.createElement("path",w({ref:p,className:A("vx-area-closed",l),d:v(o)},h))}E=E&&E.hasOwnProperty("default")?E.default:E,A=A&&A.hasOwnProperty("default")?A.default:A,n=n&&n.hasOwnProperty("default")?n.default:n,r.propTypes={className:n.string,data:n.any,children:n.func,innerRef:n.func,centroid:n.oneOfType([n.func,n.number]),innerRadius:n.oneOfType([n.func,n.number]),outerRadius:n.oneOfType([n.func,n.number]),cornerRadius:n.oneOfType([n.func,n.number]),startAngle:n.oneOfType([n.func,n.number]),endAngle:n.oneOfType([n.func,n.number]),padAngle:n.oneOfType([n.func,n.number]),padRadius:n.oneOfType([n.func,n.number])},t.propTypes={className:n.string,top:n.number,left:n.number,data:n.array,centroid:n.oneOfType([n.func,n.number]),innerRadius:n.oneOfType([n.func,n.number]),outerRadius:n.oneOfType([n.func,n.number]),cornerRadius:n.oneOfType([n.func,n.number]),startAngle:n.oneOfType([n.func,n.number]),endAngle:n.oneOfType([n.func,n.number]),padAngle:n.oneOfType([n.func,n.number]),padRadius:n.oneOfType([n.func,n.number]),pieValue:n.oneOfType([n.func,n.number]),pieSort:n.func,pieSortValues:n.func,children:n.func},a.propTypes={className:n.string,innerRef:n.func,from:n.shape({x:n.number,y:n.number}),to:n.shape({x:n.number,y:n.number})},u.propTypes={innerRef:n.func,data:n.array,curve:n.func,defined:n.oneOfType([n.func,n.bool]),x:n.oneOfType([n.func,n.number]),y:n.oneOfType([n.func,n.number])},i.propTypes={innerRef:n.func,className:n.string,data:n.any,curve:n.func,angle:n.oneOfType([n.func,n.number]),radius:n.oneOfType([n.func,n.number])},o.propTypes={children:n.func,className:n.string,data:n.any,defined:n.func,innerRef:n.func,curve:n.func,x:n.oneOfType([n.func,n.number]),x0:n.oneOfType([n.func,n.number]),x1:n.oneOfType([n.func,n.number]),y:n.oneOfType([n.func,n.number]),y0:n.oneOfType([n.func,n.number]),y1:n.oneOfType([n.func,n.number])},f.propTypes={children:n.func,className:n.string,data:n.any,defined:n.func,innerRef:n.func,curve:n.func,yScale:n.func,x:n.oneOfType([n.func,n.number]),x0:n.oneOfType([n.func,n.number]),x1:n.oneOfType([n.func,n.number]),y1:n.oneOfType([n.func,n.number]),y0:n.oneOfType([n.func,n.number])};var s={ascending:S.stackOrderAscending,descending:S.stackOrderDescending,insideout:S.stackOrderInsideOut,none:S.stackOrderNone,reverse:S.stackOrderReverse},l=Object.keys(s);function M(e){return s[e]||s.none}var d={expand:S.stackOffsetExpand,diverging:S.stackOffsetDiverging,none:S.stackOffsetNone,silhouette:S.stackOffsetSilhouette,wiggle:S.stackOffsetWiggle},y=Object.keys(d);function z(e){return d[e]||d.none}function g(e){var r=e.className,n=e.top,t=e.left,a=e.keys,c=e.data,u=e.curve,i=e.defined,o=e.x,f=e.x0,s=e.x1,l=e.y0,d=e.y1,p=e.value,y=e.order,h=e.offset,v=e.color,m=e.children,x=q(e,["className","top","left","keys","data","curve","defined","x","x0","x1","y0","y1","value","order","offset","color","children"]),g=S.stack();a&&g.keys(a),p&&g.value(p),y&&g.order(M(y)),h&&g.offset(z(h));var R=S.area();o&&R.x(o),f&&R.x0(f),s&&R.x1(s),l&&R.y0(l),d&&R.y1(d),u&&R.curve(u),i&&R.defined(i);var b=g(c);return m?m({stacks:b,path:R,stack:g}):E.createElement(O.Group,{top:n,left:t},b.map(function(e,n){return E.createElement("path",w({className:A("vx-stack",r),key:"stack-".concat(n,"-").concat(e.key||""),d:R(e),fill:v(e.key,n)},x))}))}function h(e){var t=e.className,n=e.top,r=e.left,a=e.keys,c=e.data,u=e.curve,i=e.defined,o=e.x,f=e.x0,s=e.x1,l=e.y0,d=e.y1,p=e.value,y=e.order,h=e.offset,v=e.color,m=e.children,x=q(e,["className","top","left","keys","data","curve","defined","x","x0","x1","y0","y1","value","order","offset","color","children"]);return E.createElement(g,w({className:t,top:n,left:r,keys:a,data:c,curve:u,defined:i,x:o,x0:f,x1:s,y0:l,y1:d,value:p,order:y,offset:h,color:v},x),m||function(e){var n=e.stacks,r=e.path;e.stack;return n.map(function(e,n){return E.createElement("path",w({className:A("vx-area-stack",t),key:"area-stack-".concat(n,"-").concat(e.key||""),d:r(e),fill:v(e.key,n)},x))})})}function P(e){var n=e.className,r=e.innerRef,t=q(e,["className","innerRef"]);return E.createElement("rect",w({ref:r,className:A("vx-bar",n)},t))}function L(e,n){return!!e[n]&&"function"==typeof e[n]}function v(e){var n=e.data,r=e.className,t=e.top,a=e.left,c=e.x0,u=e.x0Scale,i=e.x1Scale,o=e.yScale,f=e.color,s=e.keys,l=e.height,d=e.children,p=q(e,["data","className","top","left","x0","x0Scale","x1Scale","yScale","color","keys","height","children"]),y=i.range(),h=i.domain(),v=L(i,"bandwidth")?i.bandwidth():Math.abs(y[y.length-1]-y[0])/h.length,m=n.map(function(t,e){return{index:e,x0:u(c(t)),bars:s.map(function(e,n){var r=t[e];return{index:n,key:e,value:r,width:v,x:i(e),y:o(r),color:f(e,n),height:l-o(r)}})}});return d?d(m):E.createElement(O.Group,{className:A("vx-bar-group",r),top:t,left:a},m.map(function(n){return E.createElement(O.Group,{key:"bar-group-".concat(n.index,"-").concat(n.x0),left:n.x0},n.bars.map(function(e){return E.createElement(P,w({key:"bar-group-bar-".concat(n.index,"-").concat(e.index,"-").concat(e.value,"-").concat(e.key),x:e.x,y:e.y,width:e.width,height:e.height,fill:e.color},p))}))}))}function m(e){var n=e.data,r=e.className,t=e.top,a=e.left,c=e.x,u=void 0===c?function(e){return 0}:c,i=e.y0,o=e.y0Scale,f=e.y1Scale,s=e.xScale,l=e.color,d=e.keys,p=e.width,y=e.children,h=q(e,["data","className","top","left","x","y0","y0Scale","y1Scale","xScale","color","keys","width","children"]),v=f.range(),m=f.domain(),x=L(f,"bandwidth")?f.bandwidth():Math.abs(v[v.length-1]-v[0])/m.length,g=n.map(function(t,e){return{index:e,y0:o(i(t)),bars:d.map(function(e,n){var r=t[e];return{index:n,key:e,value:r,height:x,x:u(r),y:f(e),color:l(e,n),width:p-s(r)}})}});return y?y(g):E.createElement(O.Group,{className:A("vx-bar-group-horizontal",r),top:t,left:a},g.map(function(n){return E.createElement(O.Group,{key:"bar-group-".concat(n.index,"-").concat(n.y0),top:n.y0},n.bars.map(function(e){return E.createElement(P,w({key:"bar-group-bar-".concat(n.index,"-").concat(e.index,"-").concat(e.value,"-").concat(e.key),x:e.x,y:e.y,width:e.width,height:e.height,fill:e.color},h))}))}))}function x(e){var n=e.data,r=e.className,t=e.top,a=e.left,i=e.x,c=e.y0,o=void 0===c?function(e){return e[0]}:c,u=e.y1,f=void 0===u?function(e){return e[1]}:u,s=e.xScale,l=e.yScale,d=e.color,p=e.keys,y=e.value,h=e.order,v=e.offset,m=e.children,x=q(e,["data","className","top","left","x","y0","y1","xScale","yScale","color","keys","value","order","offset","children"]),g=S.stack();p&&g.keys(p),y&&g.value(y),h&&g.order(M(h)),v&&g.offset(z(v));var R=g(n),b=s.range(),k=s.domain(),T=L(s,"bandwidth")?s.bandwidth():Math.abs(b[b.length-1]-b[0])/k.length,N=R.map(function(c,e){var u=c.key;return{index:e,key:u,bars:c.map(function(e,n){var r=l(o(e))-l(f(e)),t=l(f(e)),a=L(s,"bandwidth")?s(i(e.data)):Math.max(s(i(e.data))-T/2);return{bar:e,key:u,index:n,height:r,width:T,x:a,y:t,color:d(c.key,n)}})}});return m?m(N):E.createElement(O.Group,{className:A("vx-bar-stack",r),top:t,left:a},N.map(function(n){return n.bars.map(function(e){return E.createElement(P,w({key:"bar-stack-".concat(n.index,"-").concat(e.index),x:e.x,y:e.y,height:e.height,width:e.width,fill:e.color},x))})}))}function R(e){var n=e.data,r=e.className,t=e.top,a=e.left,i=e.y,c=e.x0,o=void 0===c?function(e){return e[0]}:c,u=e.x1,f=void 0===u?function(e){return e[1]}:u,s=e.xScale,l=e.yScale,d=e.color,p=e.keys,y=e.value,h=e.order,v=e.offset,m=e.children,x=q(e,["data","className","top","left","y","x0","x1","xScale","yScale","color","keys","value","order","offset","children"]),g=S.stack();p&&g.keys(p),y&&g.value(y),h&&g.order(M(h)),v&&g.offset(z(v));var R=g(n),b=l.range(),k=l.domain(),T=L(l,"bandwidth")?l.bandwidth():Math.abs(b[b.length-1]-b[0])/k.length,N=R.map(function(c,e){var u=c.key;return{index:e,key:u,bars:c.map(function(e,n){var r=s(f(e))-s(o(e)),t=s(o(e)),a=L(l,"bandwidth")?l(i(e.data)):Math.max(l(i(e.data))-r/2);return{bar:e,key:u,index:n,height:T,width:r,x:t,y:a,color:d(c.key,n)}})}});return m?m(N):E.createElement(O.Group,{className:A("vx-bar-stack-horizontal",r),top:t,left:a},N.map(function(n){return n.bars.map(function(e){return E.createElement(P,w({key:"bar-stack-".concat(n.index,"-").concat(e.index),x:e.x,y:e.y,height:e.height,width:e.width,fill:e.color},x))})}))}g.propTypes={data:n.array.isRequired,className:n.string,top:n.number,left:n.number,curve:n.func,color:n.func,keys:n.array,children:n.func,x:n.oneOfType([n.func,n.number]),x0:n.oneOfType([n.func,n.number]),x1:n.oneOfType([n.func,n.number]),y:n.oneOfType([n.func,n.number]),y0:n.oneOfType([n.func,n.number]),y1:n.oneOfType([n.func,n.number]),value:n.oneOfType([n.func,n.number]),defined:n.oneOfType([n.func,n.bool]),order:n.oneOfType([n.func,n.array,n.string]),offset:n.oneOfType([n.func,n.array,n.string])},h.propTypes={className:n.string,top:n.number,left:n.number,keys:n.array,data:n.array,curve:n.func,color:n.func,children:n.func,x:n.oneOfType([n.func,n.number]),x0:n.oneOfType([n.func,n.number]),x1:n.oneOfType([n.func,n.number]),y:n.oneOfType([n.func,n.number]),y0:n.oneOfType([n.func,n.number]),y1:n.oneOfType([n.func,n.number]),value:n.oneOfType([n.func,n.number]),defined:n.oneOfType([n.func,n.bool]),order:n.oneOfType([n.func,n.array,n.string]),offset:n.oneOfType([n.func,n.array,n.string])},P.propTypes={innerRef:n.func,className:n.string},v.propTypes={data:n.array.isRequired,x0:n.func.isRequired,x0Scale:n.func.isRequired,x1Scale:n.func.isRequired,yScale:n.func.isRequired,color:n.func.isRequired,keys:n.array.isRequired,height:n.number.isRequired,className:n.string,top:n.number,left:n.number,children:n.func},m.propTypes={data:n.array.isRequired,y0:n.func.isRequired,y0Scale:n.func.isRequired,y1Scale:n.func.isRequired,xScale:n.func.isRequired,color:n.func.isRequired,keys:n.array.isRequired,width:n.number.isRequired,className:n.string,x:n.func,top:n.number,left:n.number,children:n.func},x.propTypes={data:n.array.isRequired,x:n.func.isRequired,xScale:n.func.isRequired,yScale:n.func.isRequired,color:n.func.isRequired,keys:n.array.isRequired,className:n.string,top:n.number,left:n.number,children:n.func,y0:n.func,y1:n.func,order:n.oneOfType([n.func,n.array,n.string]),offset:n.oneOfType([n.func,n.array,n.string]),value:n.oneOfType([n.func,n.number])},R.propTypes={data:n.array.isRequired,y:n.func.isRequired,x0:n.func,x1:n.func,xScale:n.func.isRequired,yScale:n.func.isRequired,color:n.func.isRequired,keys:n.array.isRequired,className:n.string,top:n.number,left:n.number,order:n.oneOfType([n.func,n.array,n.string]),offset:n.oneOfType([n.func,n.array,n.string]),value:n.oneOfType([n.func,n.number]),children:n.func};var k=function(e){return Math.PI/180*e};function T(e){var r=e.source,t=e.target,a=e.x,c=e.y;return function(e){var n=S.linkHorizontal();return n.x(a),n.y(c),n.source(r),n.target(t),n(e)}}function N(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.x,u=void 0===c?function(e){return e.y}:c,i=e.y,o=void 0===i?function(e){return e.x}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.children,y=q(e,["className","innerRef","data","path","x","y","source","target","children"]);return a=a||T({source:s,target:d,x:u,y:o}),p?p({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-horizontal-diagonal",n),d:a(t)},y))}function V(e){var r=e.source,t=e.target,a=e.x,c=e.y;return function(e){var n=S.linkVertical();return n.x(a),n.y(c),n.source(r),n.target(t),n(e)}}function C(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.x,u=void 0===c?function(e){return e.x}:c,i=e.y,o=void 0===i?function(e){return e.y}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.children,y=q(e,["className","innerRef","data","path","x","y","source","target","children"]);return a=a||V({source:s,target:d,x:u,y:o}),p?p({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-vertical-diagonal",n),d:a(t)},y))}function j(e){var r=e.source,t=e.target,a=e.angle,c=e.radius;return function(e){var n=S.linkRadial();return n.angle(a),n.radius(c),n.source(r),n.target(t),n(e)}}function H(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.angle,u=void 0===c?function(e){return e.x}:c,i=e.radius,o=void 0===i?function(e){return e.y}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.children,y=q(e,["className","innerRef","data","path","angle","radius","source","target","children"]);return a=a||j({source:s,target:d,angle:u,radius:o}),p?p({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-radial-diagonal",n),d:a(t)},y))}function I(e){var d=e.source,p=e.target,y=e.x,h=e.y,v=e.percent;return function(e){var n=d(e),r=p(e),t=y(n),a=h(n),c=y(r),u=h(r),i=c-t,o=u-a,f=v*(i+o),s=v*(o-i),l=b.path();return l.moveTo(t,a),l.bezierCurveTo(t+f,a+s,c+s,u-f,c,u),l.toString()}}function G(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.x,u=void 0===c?function(e){return e.y}:c,i=e.y,o=void 0===i?function(e){return e.x}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.percent,y=void 0===p?.2:p,h=e.children,v=q(e,["className","innerRef","data","path","x","y","source","target","percent","children"]);return a=a||I({source:s,target:d,x:u,y:o,percent:y}),h?h({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-horizontal-curve",n),d:a(t)},v))}function _(e){var d=e.source,p=e.target,y=e.x,h=e.y,v=e.percent;return function(e){var n=d(e),r=p(e),t=y(n),a=h(n),c=y(r),u=h(r),i=c-t,o=u-a,f=v*(i+o),s=v*(o-i),l=b.path();return l.moveTo(t,a),l.bezierCurveTo(t+f,a+s,c+s,u-f,c,u),l.toString()}}function D(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.x,u=void 0===c?function(e){return e.x}:c,i=e.y,o=void 0===i?function(e){return e.y}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.percent,y=void 0===p?.2:p,h=e.children,v=q(e,["className","innerRef","data","path","x","y","source","target","percent","children"]);return a=a||_({source:s,target:d,x:u,y:o,percent:y}),h?h({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-vertical-curve",n),d:a(t)},v))}function B(e){var v=e.source,m=e.target,x=e.x,g=e.y,R=e.percent;return function(e){var n=v(e),r=m(e),t=x(n)-Math.PI/2,a=g(n),c=x(r)-Math.PI/2,u=g(r),i=a*Math.cos(t),o=a*Math.sin(t),f=u*Math.cos(c),s=u*Math.sin(c),l=f-i,d=s-o,p=R*(l+d),y=R*(d-l),h=b.path();return h.moveTo(i,o),h.bezierCurveTo(i+p,o+y,f+y,s-p,f,s),h.toString()}}function F(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.x,u=void 0===c?function(e){return e.x}:c,i=e.y,o=void 0===i?function(e){return e.y}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.percent,y=void 0===p?.2:p,h=e.children,v=q(e,["className","innerRef","data","path","x","y","source","target","percent","children"]);return a=a||B({source:s,target:d,x:u,y:o,percent:y}),h?h({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-radial-curve",n),d:a(t)},v))}function K(e){var o=e.source,f=e.target,s=e.x,l=e.y;return function(e){var n=o(e),r=f(e),t=s(n),a=l(n),c=s(r),u=l(r),i=b.path();return i.moveTo(t,a),i.lineTo(c,u),i.toString()}}function W(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.x,u=void 0===c?function(e){return e.y}:c,i=e.y,o=void 0===i?function(e){return e.x}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.children,y=q(e,["className","innerRef","data","path","x","y","source","target","children"]);return a=a||K({source:s,target:d,x:u,y:o}),p?p({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-horizontal-line",n),d:a(t)},y))}function J(e){var o=e.source,f=e.target,s=e.x,l=e.y;return function(e){var n=o(e),r=f(e),t=s(n),a=l(n),c=s(r),u=l(r),i=b.path();return i.moveTo(t,a),i.lineTo(c,u),i.toString()}}function Q(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.x,u=void 0===c?function(e){return e.x}:c,i=e.y,o=void 0===i?function(e){return e.y}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.children,y=q(e,["className","innerRef","data","path","x","y","source","target","children"]);return a=a||J({source:s,target:d,x:u,y:o}),p?p({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-vertical-line",n),d:a(t)},y))}function U(e){var d=e.source,p=e.target,y=e.x,h=e.y;return function(e){var n=d(e),r=p(e),t=y(n)-Math.PI/2,a=h(n),c=y(r)-Math.PI/2,u=h(r),i=Math.cos(t),o=Math.sin(t),f=Math.cos(c),s=Math.sin(c),l=b.path();return l.moveTo(a*i,a*o),l.lineTo(u*f,u*s),l.toString()}}function X(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.x,u=void 0===c?function(e){return e.x}:c,i=e.y,o=void 0===i?function(e){return e.y}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.children,y=q(e,["className","innerRef","data","path","x","y","source","target","children"]);return a=a||U({source:s,target:d,x:u,y:o}),p?p({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-radial-line",n),d:a(t)},y))}function Y(e){var o=e.source,f=e.target,s=e.x,l=e.y,d=e.percent;return function(e){var n=o(e),r=f(e),t=s(n),a=l(n),c=s(r),u=l(r),i=b.path();return i.moveTo(t,a),i.lineTo(t+(c-t)*d,a),i.lineTo(t+(c-t)*d,u),i.lineTo(c,u),i.toString()}}function Z(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.percent,u=void 0===c?.5:c,i=e.x,o=void 0===i?function(e){return e.y}:i,f=e.y,s=void 0===f?function(e){return e.x}:f,l=e.source,d=void 0===l?function(e){return e.source}:l,p=e.target,y=void 0===p?function(e){return e.target}:p,h=e.children,v=q(e,["className","innerRef","data","path","percent","x","y","source","target","children"]);return a=a||Y({source:d,target:y,x:o,y:s,percent:u}),h?h({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-horizontal-step",n),d:a(t)},v))}function $(e){var o=e.source,f=e.target,s=e.x,l=e.y,d=e.percent;return function(e){var n=o(e),r=f(e),t=s(n),a=l(n),c=s(r),u=l(r),i=b.path();return i.moveTo(t,a),i.lineTo(t,a+(u-a)*d),i.lineTo(c,a+(u-a)*d),i.lineTo(c,u),i.toString()}}function ee(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.percent,u=void 0===c?.5:c,i=e.x,o=void 0===i?function(e){return e.x}:i,f=e.y,s=void 0===f?function(e){return e.y}:f,l=e.source,d=void 0===l?function(e){return e.source}:l,p=e.target,y=void 0===p?function(e){return e.target}:p,h=e.children,v=q(e,["className","innerRef","data","path","percent","x","y","source","target","children"]);return a=a||$({source:d,target:y,x:o,y:s,percent:u}),h?h({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-vertical-step",n),d:a(t)},v))}function ne(e){var v=e.source,m=e.target,x=e.x,g=e.y;return function(e){var n=v(e),r=m(e),t=x(n),a=g(n),c=x(r),u=g(r),i=t-Math.PI/2,o=a,f=c-Math.PI/2,s=u,l=Math.cos(i),d=Math.sin(i),p=Math.cos(f),y=Math.sin(f),h=Math.abs(f-i)>Math.PI?f<=i:i<f;return"\n M".concat(o*l,",").concat(o*d,"\n A").concat(o,",").concat(o,",0,0,").concat(h?1:0,",").concat(o*p,",").concat(o*y,"\n L").concat(s*p,",").concat(s*y,"\n ")}}function re(e){var n=e.className,r=e.innerRef,t=e.data,a=e.path,c=e.x,u=void 0===c?function(e){return e.x}:c,i=e.y,o=void 0===i?function(e){return e.y}:i,f=e.source,s=void 0===f?function(e){return e.source}:f,l=e.target,d=void 0===l?function(e){return e.target}:l,p=e.children,y=q(e,["className","innerRef","data","path","x","y","source","target","children"]);return a=a||ne({source:s,target:d,x:u,y:o}),p?p({path:a}):E.createElement("path",w({ref:r,className:A("vx-link vx-link-radial-step",n),d:a(t)},y))}N.propTypes={innerRef:n.func,x:n.func,y:n.func,source:n.func,target:n.func,path:n.func,children:n.func},C.propTypes={innerRef:n.func,x:n.func,y:n.func,source:n.func,target:n.func,path:n.func},H.propTypes={innerRef:n.func,angle:n.func,radius:n.func,source:n.func,target:n.func,path:n.func,children:n.func},G.propTypes={innerRef:n.func,percent:n.number,x:n.func,y:n.func,source:n.func,target:n.func,path:n.func,children:n.func},D.propTypes={innerRef:n.func,percent:n.number,x:n.func,y:n.func,source:n.func,target:n.func,path:n.func,children:n.func},F.propTypes={innerRef:n.func,percent:n.number,x:n.func,y:n.func,source:n.func,target:n.func,path:n.func,children:n.func},W.propTypes={innerRef:n.func,path:n.func,x:n.func,y:n.func,source:n.func,target:n.func,children:n.func},Q.propTypes={innerRef:n.func,path:n.func,x:n.func,y:n.func,source:n.func,target:n.func,children:n.func},X.propTypes={innerRef:n.func,path:n.func,x:n.func,y:n.func,source:n.func,target:n.func,children:n.func},Z.propTypes={innerRef:n.func,percent:n.number,x:n.func,y:n.func,source:n.func,target:n.func,path:n.func,children:n.func},ee.propTypes={innerRef:n.func,percent:n.number,x:n.func,y:n.func,source:n.func,target:n.func,path:n.func,children:n.func},re.propTypes={innerRef:n.func,x:n.func,y:n.func,source:n.func,target:n.func,path:n.func,children:n.func},ce.propTypes={sides:n.number.isRequired,size:n.number.isRequired,className:n.string,rotate:n.number,children:n.func,innerRef:n.func,center:n.shape({x:n.number,y:n.number})};var te=function(e){var n=e.sides,r=e.size,t=e.center,a=e.rotate,c=e.side,u=k(360/n*c-a);return new p.Point({x:t.x+r*Math.cos(u),y:t.y+r*Math.sin(u)})},ae=function(e){var n=e.sides,r=e.size,t=e.center,a=e.rotate;return c(Array(n).keys()).map(function(e){return te({sides:n,size:r,center:t,rotate:a,side:e})})};function ce(e){var n=e.sides,r=e.size,t=void 0===r?25:r,a=e.center,c=void 0===a?new p.Point({x:0,y:0}):a,u=e.rotate,i=void 0===u?0:u,o=e.className,f=e.children,s=e.innerRef,l=q(e,["sides","size","center","rotate","className","children","innerRef"]),d=ae({sides:n,size:t,center:c,rotate:i}).map(function(e){return e.toArray()});return f?f({points:d}):E.createElement("polygon",w({ref:s,className:A("vx-polygon",o),points:d.join(" ")},l))}function ue(e){var n=e.className,r=e.innerRef,t=q(e,["className","innerRef"]);return E.createElement("circle",w({ref:r,className:A("vx-circle",n)},t))}ue.propTypes={innerRef:n.func,className:n.string},e.Arc=r,e.Pie=t,e.Line=a,e.LinePath=u,e.LineRadial=i,e.Area=o,e.AreaClosed=f,e.AreaStack=h,e.Bar=P,e.BarGroup=v,e.BarGroupHorizontal=m,e.BarStack=x,e.BarStackHorizontal=R,e.Stack=g,e.stackOffset=z,e.STACK_OFFSETS=d,e.STACK_OFFSET_NAMES=y,e.stackOrder=M,e.STACK_ORDERS=s,e.STACK_ORDER_NAMES=l,e.degreesToRadians=k,e.LinkHorizontal=N,e.pathHorizontalDiagonal=T,e.LinkVertical=C,e.pathVerticalDiagonal=V,e.LinkRadial=H,e.pathRadialDiagonal=j,e.LinkHorizontalCurve=G,e.pathHorizontalCurve=I,e.LinkVerticalCurve=D,e.pathVerticalCurve=_,e.LinkRadialCurve=F,e.pathRadialCurve=B,e.LinkHorizontalLine=W,e.pathHorizontalLine=K,e.LinkVerticalLine=Q,e.pathVerticalLine=J,e.LinkRadialLine=X,e.pathRadialLine=U,e.LinkHorizontalStep=Z,e.pathHorizontalStep=Y,e.LinkVerticalStep=ee,e.pathVerticalStep=$,e.LinkRadialStep=re,e.pathRadialStep=ne,e.Polygon=ce,e.getPoints=ae,e.getPoint=te,e.Circle=ue,Object.defineProperty(e,"__esModule",{value:!0})}); |
{ | ||
"name": "@vx/shape", | ||
"version": "0.0.183", | ||
"version": "0.0.184", | ||
"description": "vx shape", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -432,3 +432,3 @@ # @vx/shape | ||
<a id="#LinePath__defined" name="LinePath__defined" href="#LinePath__defined">#</a> *LinePath*.**defined**<enum(PropTypes.func|PropTypes.bool)> <table><tr><td><strong>Default</strong></td><td>() => true</td></td></table> | ||
<a id="#LinePath__defined" name="LinePath__defined" href="#LinePath__defined">#</a> *LinePath*.**defined**<union(func|bool)> <table><tr><td><strong>Default</strong></td><td>() => true</td></td></table> | ||
@@ -435,0 +435,0 @@ <a id="#LinePath__fill" name="LinePath__fill" href="#LinePath__fill">#</a> *LinePath*.**fill** <table><tr><td><strong>Default</strong></td><td>'transparent'</td></td></table> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
255652