@performant-software/visualize 2.3.15-beta.1 → 2.3.15-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs178.js +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs179.js.map +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs180.js.map +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs181.js.map +1 -1
- package/dist/index.cjs182.js +1 -1
- package/dist/index.cjs183.js +1 -1
- package/dist/index.cjs184.js +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs187.js.map +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs188.js.map +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs189.js.map +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs192.js.map +1 -1
- package/dist/index.cjs193.js +2 -1
- package/dist/index.cjs193.js.map +1 -1
- package/dist/index.cjs194.js +1 -2
- package/dist/index.cjs194.js.map +1 -1
- package/dist/index.cjs195.js +3 -1
- package/dist/index.cjs195.js.map +1 -1
- package/dist/index.cjs196.js +1 -3
- package/dist/index.cjs196.js.map +1 -1
- package/dist/index.cjs197.js +1 -1
- package/dist/index.cjs197.js.map +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs225.js.map +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs226.js.map +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs228.js.map +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs229.js.map +1 -1
- package/dist/index.cjs230.js +1 -2
- package/dist/index.cjs230.js.map +1 -1
- package/dist/index.cjs231.js +1 -1
- package/dist/index.cjs231.js.map +1 -1
- package/dist/index.cjs232.js +1 -1
- package/dist/index.cjs232.js.map +1 -1
- package/dist/index.cjs233.js +1 -1
- package/dist/index.cjs233.js.map +1 -1
- package/dist/index.cjs234.js +1 -1
- package/dist/index.cjs234.js.map +1 -1
- package/dist/index.cjs235.js +1 -1
- package/dist/index.cjs235.js.map +1 -1
- package/dist/index.cjs236.js +1 -1
- package/dist/index.cjs236.js.map +1 -1
- package/dist/index.cjs237.js +1 -1
- package/dist/index.cjs237.js.map +1 -1
- package/dist/index.cjs238.js +1 -1
- package/dist/index.cjs238.js.map +1 -1
- package/dist/index.cjs239.js +1 -1
- package/dist/index.cjs239.js.map +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs240.js.map +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs241.js.map +1 -1
- package/dist/index.cjs242.js +1 -1
- package/dist/index.cjs242.js.map +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs243.js.map +1 -1
- package/dist/index.cjs244.js +2 -1
- package/dist/index.cjs244.js.map +1 -1
- package/dist/index.cjs245.js +1 -1
- package/dist/index.cjs245.js.map +1 -1
- package/dist/index.cjs246.js +8 -1
- package/dist/index.cjs246.js.map +1 -1
- package/dist/index.cjs247.js +8 -1
- package/dist/index.cjs247.js.map +1 -1
- package/dist/index.cjs248.js +5 -8
- package/dist/index.cjs248.js.map +1 -1
- package/dist/index.cjs249.js +1 -8
- package/dist/index.cjs249.js.map +1 -1
- package/dist/index.cjs250.js +1 -5
- package/dist/index.cjs250.js.map +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs251.js.map +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs252.js.map +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs253.js.map +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs254.js.map +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs255.js.map +1 -1
- package/dist/index.cjs256.js +1 -1
- package/dist/index.cjs256.js.map +1 -1
- package/dist/index.cjs257.js +1 -1
- package/dist/index.cjs257.js.map +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs258.js.map +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs259.js.map +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs260.js.map +1 -1
- package/dist/index.cjs261.js +1 -1
- package/dist/index.cjs261.js.map +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs262.js.map +1 -1
- package/dist/index.cjs263.js +1 -1
- package/dist/index.cjs263.js.map +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs264.js.map +1 -1
- package/dist/index.cjs265.js +1 -1
- package/dist/index.cjs265.js.map +1 -1
- package/dist/index.cjs266.js +1 -1
- package/dist/index.cjs266.js.map +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs267.js.map +1 -1
- package/dist/index.cjs268.js +1 -1
- package/dist/index.cjs268.js.map +1 -1
- package/dist/index.cjs269.js +1 -1
- package/dist/index.cjs269.js.map +1 -1
- package/dist/index.cjs270.js +1 -1
- package/dist/index.cjs270.js.map +1 -1
- package/dist/index.cjs272.js +1 -1
- package/dist/index.cjs272.js.map +1 -1
- package/dist/index.cjs273.js +1 -1
- package/dist/index.cjs273.js.map +1 -1
- package/dist/index.cjs274.js +1 -1
- package/dist/index.cjs274.js.map +1 -1
- package/dist/index.cjs275.js +1 -1
- package/dist/index.cjs275.js.map +1 -1
- package/dist/index.cjs276.js +1 -1
- package/dist/index.cjs276.js.map +1 -1
- package/dist/index.cjs277.js +1 -1
- package/dist/index.cjs277.js.map +1 -1
- package/dist/index.cjs278.js +1 -1
- package/dist/index.cjs278.js.map +1 -1
- package/dist/index.cjs281.js +1 -1
- package/dist/index.cjs283.js +1 -1
- package/dist/index.cjs283.js.map +1 -1
- package/dist/index.cjs284.js +1 -1
- package/dist/index.cjs284.js.map +1 -1
- package/dist/index.cjs285.js +1 -1
- package/dist/index.cjs285.js.map +1 -1
- package/dist/index.cjs286.js +1 -1
- package/dist/index.cjs286.js.map +1 -1
- package/dist/index.cjs287.js +1 -1
- package/dist/index.cjs287.js.map +1 -1
- package/dist/index.cjs288.js +1 -1
- package/dist/index.cjs289.js +1 -1
- package/dist/index.cjs291.js +1 -1
- package/dist/index.cjs292.js +1 -1
- package/dist/index.cjs294.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.es178.js +1 -1
- package/dist/index.es179.js +36 -15
- package/dist/index.es179.js.map +1 -1
- package/dist/index.es180.js +23 -53
- package/dist/index.es180.js.map +1 -1
- package/dist/index.es181.js +84 -54
- package/dist/index.es181.js.map +1 -1
- package/dist/index.es182.js +3 -3
- package/dist/index.es183.js +2 -2
- package/dist/index.es184.js +6 -6
- package/dist/index.es187.js +15 -36
- package/dist/index.es187.js.map +1 -1
- package/dist/index.es188.js +53 -23
- package/dist/index.es188.js.map +1 -1
- package/dist/index.es189.js +54 -84
- package/dist/index.es189.js.map +1 -1
- package/dist/index.es191.js +2 -2
- package/dist/index.es192.js +8 -2
- package/dist/index.es192.js.map +1 -1
- package/dist/index.es193.js +327 -7
- package/dist/index.es193.js.map +1 -1
- package/dist/index.es194.js +48 -325
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +236 -47
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +982 -204
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +2 -1018
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es200.js +1 -1
- package/dist/index.es201.js +1 -1
- package/dist/index.es202.js +1 -1
- package/dist/index.es220.js +1 -1
- package/dist/index.es225.js +12 -6
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +10 -5
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +7 -4
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +9 -4
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +7 -12
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es230.js +5 -4
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +15 -5
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +6 -5
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +6 -20
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +7 -3
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +6 -12
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +5 -10
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +5 -8
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es238.js +20 -9
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es239.js +6 -7
- package/dist/index.es239.js.map +1 -1
- package/dist/index.es240.js +5 -5
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es241.js +4 -15
- package/dist/index.es241.js.map +1 -1
- package/dist/index.es242.js +4 -5
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es243.js +12 -6
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +4 -6
- package/dist/index.es244.js.map +1 -1
- package/dist/index.es245.js +2 -7
- package/dist/index.es245.js.map +1 -1
- package/dist/index.es246.js +76 -5
- package/dist/index.es246.js.map +1 -1
- package/dist/index.es247.js +96 -2
- package/dist/index.es247.js.map +1 -1
- package/dist/index.es248.js +50 -74
- package/dist/index.es248.js.map +1 -1
- package/dist/index.es249.js +7 -94
- package/dist/index.es249.js.map +1 -1
- package/dist/index.es250.js +4 -52
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +52 -8
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es252.js +3 -5
- package/dist/index.es252.js.map +1 -1
- package/dist/index.es253.js +6 -51
- package/dist/index.es253.js.map +1 -1
- package/dist/index.es254.js +4 -6
- package/dist/index.es254.js.map +1 -1
- package/dist/index.es255.js +28 -13
- package/dist/index.es255.js.map +1 -1
- package/dist/index.es256.js +35 -7
- package/dist/index.es256.js.map +1 -1
- package/dist/index.es257.js +10 -4
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +4 -2
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +8 -6
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es260.js +13 -7
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es261.js +3 -29
- package/dist/index.es261.js.map +1 -1
- package/dist/index.es262.js +7 -35
- package/dist/index.es262.js.map +1 -1
- package/dist/index.es263.js +8 -10
- package/dist/index.es263.js.map +1 -1
- package/dist/index.es264.js +7 -4
- package/dist/index.es264.js.map +1 -1
- package/dist/index.es265.js +2 -8
- package/dist/index.es265.js.map +1 -1
- package/dist/index.es266.js +2 -3
- package/dist/index.es266.js.map +1 -1
- package/dist/index.es267.js +3 -6
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es268.js +2 -8
- package/dist/index.es268.js.map +1 -1
- package/dist/index.es269.js +6 -2
- package/dist/index.es269.js.map +1 -1
- package/dist/index.es270.js +8 -2
- package/dist/index.es270.js.map +1 -1
- package/dist/index.es272.js +5 -68
- package/dist/index.es272.js.map +1 -1
- package/dist/index.es273.js +11 -16
- package/dist/index.es273.js.map +1 -1
- package/dist/index.es274.js +2 -7
- package/dist/index.es274.js.map +1 -1
- package/dist/index.es275.js +68 -2
- package/dist/index.es275.js.map +1 -1
- package/dist/index.es276.js +18 -5
- package/dist/index.es276.js.map +1 -1
- package/dist/index.es277.js +5 -11
- package/dist/index.es277.js.map +1 -1
- package/dist/index.es278.js +2 -2
- package/dist/index.es278.js.map +1 -1
- package/dist/index.es281.js +3 -3
- package/dist/index.es283.js +3 -12
- package/dist/index.es283.js.map +1 -1
- package/dist/index.es284.js +14 -7
- package/dist/index.es284.js.map +1 -1
- package/dist/index.es285.js +6 -3
- package/dist/index.es285.js.map +1 -1
- package/dist/index.es286.js +12 -14
- package/dist/index.es286.js.map +1 -1
- package/dist/index.es287.js +7 -6
- package/dist/index.es287.js.map +1 -1
- package/dist/index.es288.js +1 -1
- package/dist/index.es289.js +1 -1
- package/dist/index.es291.js +2 -2
- package/dist/index.es292.js +1 -1
- package/dist/index.es294.js +1 -1
- package/dist/index.es36.js +3 -3
- package/dist/index.es37.js +11 -11
- package/dist/index.es38.js +1 -1
- package/dist/index.es39.js +2 -2
- package/dist/index.es40.js +2 -2
- package/dist/index.es41.js +2 -2
- package/dist/index.es42.js +2 -2
- package/dist/index.es43.js +2 -2
- package/dist/index.es44.js +2 -2
- package/dist/index.es45.js +2 -2
- package/dist/index.es46.js +2 -2
- package/dist/index.es47.js +2 -2
- package/dist/index.es48.js +2 -2
- package/dist/index.es49.js +2 -2
- package/dist/index.es64.js +4 -4
- package/dist/index.es65.js +3 -3
- package/dist/index.es69.js +1 -1
- package/dist/index.es71.js +1 -1
- package/dist/index.es74.js +1 -1
- package/dist/index.es75.js +4 -4
- package/dist/index.es8.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs48.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("react"),b=require("./index.cjs178.js"),v=require("./index.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("react"),b=require("./index.cjs178.js"),v=require("./index.cjs187.js"),O=require("./index.cjs189.js");var j=["className","children","innerRef","data","path","x","y","source","target"];function p(){return p=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},p.apply(this,arguments)}function L(e,a){if(e==null)return{};var t={},r=Object.keys(e),n,i;for(i=0;i<r.length;i++)n=r[i],!(a.indexOf(n)>=0)&&(t[n]=e[n]);return t}function y(e){var a=e.source,t=e.target,r=e.x,n=e.y;return function(i){var s=a(i),u=t(i),c=r(s),g=n(s),l=r(u),d=n(u),o=O();return o.moveTo(c,g),o.lineTo(l,d),o.toString()}}function $(e){var a=e.className,t=e.children,r=e.innerRef,n=e.data,i=e.path,s=e.x,u=s===void 0?v.getY:s,c=e.y,g=c===void 0?v.getX:c,l=e.source,d=l===void 0?v.getSource:l,o=e.target,f=o===void 0?v.getTarget:o,m=L(e,j),x=i||y({source:d,target:f,x:u,y:g});return t?h.createElement(h.Fragment,null,t({path:x})):h.createElement("path",p({ref:r,className:b("visx-link visx-link-horizontal-line",a),d:x(n)||""},m))}exports.default=$;exports.pathHorizontalLine=y;
|
|
2
2
|
//# sourceMappingURL=index.cjs48.js.map
|
package/dist/index.cjs49.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react"),b=require("./index.cjs178.js"),s=require("./index.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react"),b=require("./index.cjs178.js"),s=require("./index.cjs187.js"),O=require("./index.cjs188.js");var j=["className","children","data","innerRef","path","x","y","source","target"];function u(){return u=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},u.apply(this,arguments)}function k(e,a){if(e==null)return{};var t={},r=Object.keys(e),n,i;for(i=0;i<r.length;i++)n=r[i],!(a.indexOf(n)>=0)&&(t[n]=e[n]);return t}function h(e){var a=e.source,t=e.target,r=e.x,n=e.y;return function(i){var o=O.linkHorizontal();return o.x(r),o.y(n),o.source(a),o.target(t),o(i)}}function z(e){var a=e.className,t=e.children,r=e.data,n=e.innerRef,i=e.path,o=e.x,p=o===void 0?s.getY:o,c=e.y,x=c===void 0?s.getX:c,g=e.source,f=g===void 0?s.getSource:g,d=e.target,y=d===void 0?s.getTarget:d,m=k(e,j),v=i||h({source:f,target:y,x:p,y:x});return t?l.createElement(l.Fragment,null,t({path:v})):l.createElement("path",u({ref:n,className:b("visx-link visx-link-horizontal-diagonal",a),d:v(r)||""},m))}exports.default=z;exports.pathHorizontalDiagonal=h;
|
|
2
2
|
//# sourceMappingURL=index.cjs49.js.map
|
package/dist/index.cjs64.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.cjs190.js"),e=require("./index.
|
|
1
|
+
"use strict";const r=require("./index.cjs190.js"),e=require("./index.cjs191.js"),o=require("./index.cjs192.js"),t=require("./index.cjs193.js"),s=require("./index.cjs194.js");if(process.env.NODE_ENV!=="production"){var i=o.__require(),u=!0;e.__module.exports=t.__require()(i.isElement,u)}else e.__module.exports=s.__require()();var _=e.__module.exports;const p=r.getDefaultExportFromCjs(_);module.exports=p;
|
|
2
2
|
//# sourceMappingURL=index.cjs64.js.map
|
package/dist/index.cjs65.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react"),c=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react"),c=require("./index.cjs195.js"),e=require("./index.cjs196.js");function l(t,n={},o,s){const r=i.useMemo(()=>new c.Controller(t),[]);if(r.applyHandlers(t,s),r.applyConfig(n,o),i.useEffect(r.effect.bind(r)),i.useEffect(()=>r.clean.bind(r),[]),n.target===void 0)return r.bind.bind(r)}function u(t){return t.forEach(e.r),function(o,s){const{handlers:r,nativeHandlers:a,config:f}=c.parseMergedHandlers(o,s||{});return l(r,f,void 0,a)}}function d(t,n){return u([e.e,e.f,e.s,e.w,e.m,e.h])(t,n||{})}exports.ConfigResolverMap=e.C;exports.EngineMap=e.E;exports.dragAction=e.e;exports.hoverAction=e.h;exports.moveAction=e.m;exports.pinchAction=e.f;exports.registerAction=e.r;exports.scrollAction=e.s;exports.wheelAction=e.w;exports.createUseGesture=u;exports.useGesture=d;
|
|
2
2
|
//# sourceMappingURL=index.cjs65.js.map
|
package/dist/index.cjs69.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("./index.
|
|
1
|
+
"use strict";const t=require("./index.cjs239.js");function l(f,n){for(var a=0;a<n.length;a++){var e=n[a];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(f,t(e.key),e)}}function u(f,n,a){return n&&l(f.prototype,n),a&&l(f,a),Object.defineProperty(f,"prototype",{writable:!1}),f}module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs69.js.map
|
package/dist/index.cjs71.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const o=require("./index.
|
|
1
|
+
"use strict";const o=require("./index.cjs240.js");function r(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}module.exports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs71.js.map
|
package/dist/index.cjs74.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const i=require("./index.
|
|
1
|
+
"use strict";const i=require("./index.cjs239.js");function n(r,e,t){return e=i(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}module.exports=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs74.js.map
|
package/dist/index.cjs75.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.
|
|
1
|
+
"use strict";const r=require("./index.cjs241.js"),t=require("./index.cjs242.js"),o=require("./index.cjs243.js"),n=require("./index.cjs244.js");function s(e){return r(e)||t(e)||o(e)||n()}module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs75.js.map
|
package/dist/index.cjs8.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs6.js"),e=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs6.js"),e=require("./index.cjs252.js");var t=a.supportsDataView&&e(new DataView(new ArrayBuffer(8))),r=typeof Map<"u"&&e(new Map);exports.hasStringTagBug=t;exports.isIE11=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs8.js.map
|
package/dist/index.es178.js
CHANGED
package/dist/index.es179.js
CHANGED
|
@@ -1,19 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import e from "./index.es64.js";
|
|
2
|
+
import s from "react";
|
|
3
|
+
var u = {
|
|
4
|
+
source: {
|
|
5
|
+
x: 0,
|
|
6
|
+
y: 0
|
|
7
|
+
},
|
|
8
|
+
target: {
|
|
9
|
+
x: 0,
|
|
10
|
+
y: 0
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
function a(t) {
|
|
14
|
+
var i = t.link, r = i === void 0 ? u : i;
|
|
15
|
+
return /* @__PURE__ */ s.createElement("line", {
|
|
16
|
+
x1: r.source.x,
|
|
17
|
+
y1: r.source.y,
|
|
18
|
+
x2: r.target.x,
|
|
19
|
+
y2: r.target.y,
|
|
20
|
+
strokeWidth: 2,
|
|
21
|
+
stroke: "#999",
|
|
22
|
+
strokeOpacity: 0.6
|
|
23
|
+
});
|
|
12
24
|
}
|
|
25
|
+
a.propTypes = {
|
|
26
|
+
link: e.shape({
|
|
27
|
+
source: e.shape({
|
|
28
|
+
x: e.number.isRequired,
|
|
29
|
+
y: e.number.isRequired
|
|
30
|
+
}).isRequired,
|
|
31
|
+
target: e.shape({
|
|
32
|
+
x: e.number.isRequired,
|
|
33
|
+
y: e.number.isRequired
|
|
34
|
+
}).isRequired
|
|
35
|
+
})
|
|
36
|
+
};
|
|
13
37
|
export {
|
|
14
|
-
|
|
15
|
-
o as getTarget,
|
|
16
|
-
t as getX,
|
|
17
|
-
u as getY
|
|
38
|
+
a as default
|
|
18
39
|
};
|
|
19
40
|
//# sourceMappingURL=index.es179.js.map
|
package/dist/index.es179.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es179.js","sources":["../../../node_modules/@visx/
|
|
1
|
+
{"version":3,"file":"index.es179.js","sources":["../../../node_modules/@visx/hierarchy/esm/HierarchyDefaultLink.js"],"sourcesContent":["import _pt from \"prop-types\";\nimport React from 'react';\nvar DEFAULT_LINK = {\n source: {\n x: 0,\n y: 0\n },\n target: {\n x: 0,\n y: 0\n }\n};\nexport default function HierarchyDefaultLink(_ref) {\n var _ref$link = _ref.link,\n link = _ref$link === void 0 ? DEFAULT_LINK : _ref$link;\n return /*#__PURE__*/React.createElement(\"line\", {\n x1: link.source.x,\n y1: link.source.y,\n x2: link.target.x,\n y2: link.target.y,\n strokeWidth: 2,\n stroke: \"#999\",\n strokeOpacity: 0.6\n });\n}\nHierarchyDefaultLink.propTypes = {\n link: _pt.shape({\n source: _pt.shape({\n x: _pt.number.isRequired,\n y: _pt.number.isRequired\n }).isRequired,\n target: _pt.shape({\n x: _pt.number.isRequired,\n y: _pt.number.isRequired\n }).isRequired\n })\n};"],"names":["DEFAULT_LINK","HierarchyDefaultLink","_ref","_ref$link","link","React","_pt"],"mappings":";;AAEA,IAAIA,IAAe;AAAA,EACjB,QAAQ;AAAA,IACN,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,QAAQ;AAAA,IACN,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AACF;AACA,SAAwBC,EAAqBC,GAAM;AACjD,MAAIC,IAAYD,EAAK,MACnBE,IAAOD,MAAc,SAASH,IAAeG;AAC3B,SAAA,gBAAAE,EAAM,cAAc,QAAQ;AAAA,IAC9C,IAAID,EAAK,OAAO;AAAA,IAChB,IAAIA,EAAK,OAAO;AAAA,IAChB,IAAIA,EAAK,OAAO;AAAA,IAChB,IAAIA,EAAK,OAAO;AAAA,IAChB,aAAa;AAAA,IACb,QAAQ;AAAA,IACR,eAAe;AAAA,EAAA,CAChB;AACH;AACAH,EAAqB,YAAY;AAAA,EAC/B,MAAMK,EAAI,MAAM;AAAA,IACd,QAAQA,EAAI,MAAM;AAAA,MAChB,GAAGA,EAAI,OAAO;AAAA,MACd,GAAGA,EAAI,OAAO;AAAA,IACf,CAAA,EAAE;AAAA,IACH,QAAQA,EAAI,MAAM;AAAA,MAChB,GAAGA,EAAI,OAAO;AAAA,MACd,GAAGA,EAAI,OAAO;AAAA,IACf,CAAA,EAAE;AAAA,EAAA,CACJ;AACH;","x_google_ignoreList":[0]}
|
package/dist/index.es180.js
CHANGED
|
@@ -1,56 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
}, u.x = function(t) {
|
|
24
|
-
return arguments.length ? (i = typeof t == "function" ? t : p(+t), u) : i;
|
|
25
|
-
}, u.y = function(t) {
|
|
26
|
-
return arguments.length ? (o = typeof t == "function" ? t : p(+t), u) : o;
|
|
27
|
-
}, u.context = function(t) {
|
|
28
|
-
return arguments.length ? (a = t ?? null, u) : a;
|
|
29
|
-
}, u;
|
|
30
|
-
}
|
|
31
|
-
function z(n, e, r, i, o) {
|
|
32
|
-
n.moveTo(e, r), n.bezierCurveTo(e = (e + i) / 2, r, e, o, i, o);
|
|
33
|
-
}
|
|
34
|
-
function b(n, e, r, i, o) {
|
|
35
|
-
n.moveTo(e, r), n.bezierCurveTo(e, r = (r + o) / 2, i, r, i, o);
|
|
36
|
-
}
|
|
37
|
-
function y(n, e, r, i, o) {
|
|
38
|
-
var a = c(e, r), u = c(e, r = (r + o) / 2), t = c(i, r), l = c(i, o);
|
|
39
|
-
n.moveTo(a[0], a[1]), n.bezierCurveTo(u[0], u[1], t[0], t[1], l[0], l[1]);
|
|
40
|
-
}
|
|
41
|
-
function S() {
|
|
42
|
-
return f(z);
|
|
43
|
-
}
|
|
44
|
-
function j() {
|
|
45
|
-
return f(b);
|
|
46
|
-
}
|
|
47
|
-
function q() {
|
|
48
|
-
var n = f(y);
|
|
49
|
-
return n.angle = n.x, delete n.x, n.radius = n.y, delete n.y, n;
|
|
50
|
-
}
|
|
1
|
+
import e from "./index.es64.js";
|
|
2
|
+
import n from "react";
|
|
3
|
+
function t(i) {
|
|
4
|
+
var o = i.node, r = o === void 0 ? {
|
|
5
|
+
x: 0,
|
|
6
|
+
y: 0,
|
|
7
|
+
r: 15
|
|
8
|
+
} : o;
|
|
9
|
+
return /* @__PURE__ */ n.createElement("circle", {
|
|
10
|
+
cx: r.x,
|
|
11
|
+
cy: r.y,
|
|
12
|
+
r: r.r || 15,
|
|
13
|
+
fill: "#21D4FD"
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
t.propTypes = {
|
|
17
|
+
node: e.shape({
|
|
18
|
+
x: e.number.isRequired,
|
|
19
|
+
y: e.number.isRequired,
|
|
20
|
+
r: e.number
|
|
21
|
+
})
|
|
22
|
+
};
|
|
51
23
|
export {
|
|
52
|
-
|
|
53
|
-
q as linkRadial,
|
|
54
|
-
j as linkVertical
|
|
24
|
+
t as default
|
|
55
25
|
};
|
|
56
26
|
//# sourceMappingURL=index.es180.js.map
|
package/dist/index.es180.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es180.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es180.js","sources":["../../../node_modules/@visx/hierarchy/esm/HierarchyDefaultNode.js"],"sourcesContent":["import _pt from \"prop-types\";\nimport React from 'react';\nexport default function HierarchyDefaultNode(_ref) {\n var _ref$node = _ref.node,\n node = _ref$node === void 0 ? {\n x: 0,\n y: 0,\n r: 15\n } : _ref$node;\n return /*#__PURE__*/React.createElement(\"circle\", {\n cx: node.x,\n cy: node.y,\n r: node.r || 15,\n fill: \"#21D4FD\"\n });\n}\nHierarchyDefaultNode.propTypes = {\n node: _pt.shape({\n x: _pt.number.isRequired,\n y: _pt.number.isRequired,\n r: _pt.number\n })\n};"],"names":["HierarchyDefaultNode","_ref","_ref$node","node","React","_pt"],"mappings":";;AAEA,SAAwBA,EAAqBC,GAAM;AACjD,MAAIC,IAAYD,EAAK,MACnBE,IAAOD,MAAc,SAAS;AAAA,IAC5B,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,EACD,IAAAA;AACc,SAAA,gBAAAE,EAAM,cAAc,UAAU;AAAA,IAChD,IAAID,EAAK;AAAA,IACT,IAAIA,EAAK;AAAA,IACT,GAAGA,EAAK,KAAK;AAAA,IACb,MAAM;AAAA,EAAA,CACP;AACH;AACAH,EAAqB,YAAY;AAAA,EAC/B,MAAMK,EAAI,MAAM;AAAA,IACd,GAAGA,EAAI,OAAO;AAAA,IACd,GAAGA,EAAI,OAAO;AAAA,IACd,GAAGA,EAAI;AAAA,EAAA,CACR;AACH;","x_google_ignoreList":[0]}
|
package/dist/index.es181.js
CHANGED
|
@@ -1,58 +1,88 @@
|
|
|
1
|
-
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
return
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
return this._;
|
|
1
|
+
import { Node as k } from "./index.es37.js";
|
|
2
|
+
function o(r, n) {
|
|
3
|
+
return r.parent === n.parent ? 1 : 2;
|
|
4
|
+
}
|
|
5
|
+
function S(r) {
|
|
6
|
+
var n = r.children;
|
|
7
|
+
return n ? n[0] : r.t;
|
|
8
|
+
}
|
|
9
|
+
function B(r) {
|
|
10
|
+
var n = r.children;
|
|
11
|
+
return n ? n[n.length - 1] : r.t;
|
|
12
|
+
}
|
|
13
|
+
function R(r, n, a) {
|
|
14
|
+
var i = a / (n.i - r.i);
|
|
15
|
+
n.c -= i, n.s += a, r.c += i, n.z += a, n.m += a;
|
|
16
|
+
}
|
|
17
|
+
function W(r) {
|
|
18
|
+
for (var n = 0, a = 0, i = r.children, u = i.length, z; --u >= 0; )
|
|
19
|
+
z = i[u], z.z += n, z.m += n, n += z.s + (a += z.c);
|
|
20
|
+
}
|
|
21
|
+
function b(r, n, a) {
|
|
22
|
+
return r.a.parent === n.parent ? r.a : a;
|
|
23
|
+
}
|
|
24
|
+
function A(r, n) {
|
|
25
|
+
this._ = r, this.parent = null, this.children = null, this.A = null, this.a = this, this.z = 0, this.m = 0, this.c = 0, this.s = 0, this.t = null, this.i = n;
|
|
26
|
+
}
|
|
27
|
+
A.prototype = Object.create(k.prototype);
|
|
28
|
+
function j(r) {
|
|
29
|
+
for (var n = new A(r, 0), a, i = [n], u, z, x, y; a = i.pop(); )
|
|
30
|
+
if (z = a._.children)
|
|
31
|
+
for (a.children = new Array(y = z.length), x = y - 1; x >= 0; --x)
|
|
32
|
+
i.push(u = a.children[x] = new A(z[x], x)), u.parent = a;
|
|
33
|
+
return (n.parent = new A(null, 0)).children = [n], n;
|
|
34
|
+
}
|
|
35
|
+
function L() {
|
|
36
|
+
var r = o, n = 1, a = 1, i = null;
|
|
37
|
+
function u(e) {
|
|
38
|
+
var f = j(e);
|
|
39
|
+
if (f.eachAfter(z), f.parent.m = -f.z, f.eachBefore(x), i)
|
|
40
|
+
e.eachBefore(N);
|
|
41
|
+
else {
|
|
42
|
+
var d = e, t = e, c = e;
|
|
43
|
+
e.eachBefore(function(l) {
|
|
44
|
+
l.x < d.x && (d = l), l.x > t.x && (t = l), l.depth > c.depth && (c = l);
|
|
45
|
+
});
|
|
46
|
+
var h = d === t ? 1 : r(d, t) / 2, s = h - d.x, g = n / (t.x + h + s), _ = a / (c.depth || 1);
|
|
47
|
+
e.eachBefore(function(l) {
|
|
48
|
+
l.x = (l.x + s) * g, l.y = l.depth * _;
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
return e;
|
|
53
52
|
}
|
|
54
|
-
|
|
53
|
+
function z(e) {
|
|
54
|
+
var f = e.children, d = e.parent.children, t = e.i ? d[e.i - 1] : null;
|
|
55
|
+
if (f) {
|
|
56
|
+
W(e);
|
|
57
|
+
var c = (f[0].z + f[f.length - 1].z) / 2;
|
|
58
|
+
t ? (e.z = t.z + r(e._, t._), e.m = e.z - c) : e.z = c;
|
|
59
|
+
} else
|
|
60
|
+
t && (e.z = t.z + r(e._, t._));
|
|
61
|
+
e.parent.A = y(e, t, e.parent.A || d[0]);
|
|
62
|
+
}
|
|
63
|
+
function x(e) {
|
|
64
|
+
e._.x = e.z + e.parent.m, e.m += e.parent.m;
|
|
65
|
+
}
|
|
66
|
+
function y(e, f, d) {
|
|
67
|
+
if (f) {
|
|
68
|
+
for (var t = e, c = e, h = f, s = t.parent.children[0], g = t.m, _ = c.m, l = h.m, w = s.m, p; h = B(h), t = S(t), h && t; )
|
|
69
|
+
s = S(s), c = B(c), c.a = e, p = h.z + l - t.z - g + r(h._, t._), p > 0 && (R(b(h, e, d), e, p), g += p, _ += p), l += h.m, g += t.m, w += s.m, _ += c.m;
|
|
70
|
+
h && !B(c) && (c.t = h, c.m += l - _), t && !S(s) && (s.t = t, s.m += g - w, d = e);
|
|
71
|
+
}
|
|
72
|
+
return d;
|
|
73
|
+
}
|
|
74
|
+
function N(e) {
|
|
75
|
+
e.x *= n, e.y = e.depth * a;
|
|
76
|
+
}
|
|
77
|
+
return u.separation = function(e) {
|
|
78
|
+
return arguments.length ? (r = e, u) : r;
|
|
79
|
+
}, u.size = function(e) {
|
|
80
|
+
return arguments.length ? (i = !1, n = +e[0], a = +e[1], u) : i ? null : [n, a];
|
|
81
|
+
}, u.nodeSize = function(e) {
|
|
82
|
+
return arguments.length ? (i = !0, n = +e[0], a = +e[1], u) : i ? [n, a] : null;
|
|
83
|
+
}, u;
|
|
84
|
+
}
|
|
55
85
|
export {
|
|
56
|
-
|
|
86
|
+
L as default
|
|
57
87
|
};
|
|
58
88
|
//# sourceMappingURL=index.es181.js.map
|
package/dist/index.es181.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es181.js","sources":["../../../node_modules/d3-path/src/path.js"],"sourcesContent":["var pi = Math.PI,\n tau = 2 * pi,\n epsilon = 1e-6,\n tauEpsilon = tau - epsilon;\n\nfunction Path() {\n this._x0 = this._y0 = // start of current subpath\n this._x1 = this._y1 = null; // end of current subpath\n this._ = \"\";\n}\n\nfunction path() {\n return new Path;\n}\n\nPath.prototype = path.prototype = {\n constructor: Path,\n moveTo: function(x, y) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y);\n },\n closePath: function() {\n if (this._x1 !== null) {\n this._x1 = this._x0, this._y1 = this._y0;\n this._ += \"Z\";\n }\n },\n lineTo: function(x, y) {\n this._ += \"L\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n quadraticCurveTo: function(x1, y1, x, y) {\n this._ += \"Q\" + (+x1) + \",\" + (+y1) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n bezierCurveTo: function(x1, y1, x2, y2, x, y) {\n this._ += \"C\" + (+x1) + \",\" + (+y1) + \",\" + (+x2) + \",\" + (+y2) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n arcTo: function(x1, y1, x2, y2, r) {\n x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r;\n var x0 = this._x1,\n y0 = this._y1,\n x21 = x2 - x1,\n y21 = y2 - y1,\n x01 = x0 - x1,\n y01 = y0 - y1,\n l01_2 = x01 * x01 + y01 * y01;\n\n // Is the radius negative? Error.\n if (r < 0) throw new Error(\"negative radius: \" + r);\n\n // Is this path empty? Move to (x1,y1).\n if (this._x1 === null) {\n this._ += \"M\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n\n // Or, is (x1,y1) coincident with (x0,y0)? Do nothing.\n else if (!(l01_2 > epsilon));\n\n // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear?\n // Equivalently, is (x1,y1) coincident with (x2,y2)?\n // Or, is the radius zero? Line to (x1,y1).\n else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon) || !r) {\n this._ += \"L\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n\n // Otherwise, draw an arc!\n else {\n var x20 = x2 - x0,\n y20 = y2 - y0,\n l21_2 = x21 * x21 + y21 * y21,\n l20_2 = x20 * x20 + y20 * y20,\n l21 = Math.sqrt(l21_2),\n l01 = Math.sqrt(l01_2),\n l = r * Math.tan((pi - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2),\n t01 = l / l01,\n t21 = l / l21;\n\n // If the start tangent is not coincident with (x0,y0), line to.\n if (Math.abs(t01 - 1) > epsilon) {\n this._ += \"L\" + (x1 + t01 * x01) + \",\" + (y1 + t01 * y01);\n }\n\n this._ += \"A\" + r + \",\" + r + \",0,0,\" + (+(y01 * x20 > x01 * y20)) + \",\" + (this._x1 = x1 + t21 * x21) + \",\" + (this._y1 = y1 + t21 * y21);\n }\n },\n arc: function(x, y, r, a0, a1, ccw) {\n x = +x, y = +y, r = +r, ccw = !!ccw;\n var dx = r * Math.cos(a0),\n dy = r * Math.sin(a0),\n x0 = x + dx,\n y0 = y + dy,\n cw = 1 ^ ccw,\n da = ccw ? a0 - a1 : a1 - a0;\n\n // Is the radius negative? Error.\n if (r < 0) throw new Error(\"negative radius: \" + r);\n\n // Is this path empty? Move to (x0,y0).\n if (this._x1 === null) {\n this._ += \"M\" + x0 + \",\" + y0;\n }\n\n // Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0).\n else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) {\n this._ += \"L\" + x0 + \",\" + y0;\n }\n\n // Is this arc empty? We’re done.\n if (!r) return;\n\n // Does the angle go the wrong way? Flip the direction.\n if (da < 0) da = da % tau + tau;\n\n // Is this a complete circle? Draw two arcs to complete the circle.\n if (da > tauEpsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (x - dx) + \",\" + (y - dy) + \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (this._x1 = x0) + \",\" + (this._y1 = y0);\n }\n\n // Is this arc non-empty? Draw an arc!\n else if (da > epsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,\" + (+(da >= pi)) + \",\" + cw + \",\" + (this._x1 = x + r * Math.cos(a1)) + \",\" + (this._y1 = y + r * Math.sin(a1));\n }\n },\n rect: function(x, y, w, h) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y) + \"h\" + (+w) + \"v\" + (+h) + \"h\" + (-w) + \"Z\";\n },\n toString: function() {\n return this._;\n }\n};\n\nexport default path;\n"],"names":["pi","tau","epsilon","tauEpsilon","Path","path","x","y","x1","y1","x2","y2","r","x0","y0","x21","y21","x01","y01","l01_2","x20","y20","l21_2","l20_2","l21","l01","l","t01","t21","a0","a1","ccw","dx","dy","cw","da","w"],"mappings":"AAAA,IAAIA,IAAK,KAAK,IACVC,IAAM,IAAID,GACVE,IAAU,MACVC,IAAaF,IAAMC;AAEvB,SAASE,IAAO;AACd,OAAK,MAAM,KAAK;AAAA,EAChB,KAAK,MAAM,KAAK,MAAM,MACtB,KAAK,IAAI;AACX;AAEA,SAASC,IAAO;AACd,SAAO,IAAID,EAAA;AACb;AAEAA,EAAK,YAAYC,EAAK,YAAY;AAAA,EAChC,aAAaD;AAAA,EACb,QAAQ,SAASE,GAAGC,GAAG;AACrB,SAAK,KAAK,OAAO,KAAK,MAAM,KAAK,MAAM,CAACD,KAAK,OAAO,KAAK,MAAM,KAAK,MAAM,CAACC;AAAA,EAC7E;AAAA,EACA,WAAW,WAAW;AAChB,IAAA,KAAK,QAAQ,SACf,KAAK,MAAM,KAAK,KAAK,KAAK,MAAM,KAAK,KACrC,KAAK,KAAK;AAAA,EAEd;AAAA,EACA,QAAQ,SAASD,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hC,IACF,KAAA,KAAK,MAAMS,IAAI,MAAMA,IAAI,UAAUsB,IAAK,OAAO5B,IAAI0B,KAAM,OAAOzB,IAAI0B,KAAM,MAAMrB,IAAI,MAAMA,IAAI,UAAUsB,IAAK,OAAO,KAAK,MAAMrB,KAAM,OAAO,KAAK,MAAMC,KAIrJqB,IAAKjC,MACP,KAAA,KAAK,MAAMU,IAAI,MAAMA,IAAI,QAAS,EAAEuB,KAAMnC,KAAO,MAAMkC,IAAK,OAAO,KAAK,MAAM5B,IAAIM,IAAI,KAAK,IAAIkB,CAAE,KAAK,OAAO,KAAK,MAAMvB,IAAIK,IAAI,KAAK,IAAIkB,CAAE;AAAA,EAEpJ;AAAA,EACA,MAAM,SAASxB,GAAGC,GAAG6B,GAAG,GAAG;AACpB,SAAA,KAAK,OAAO,KAAK,MAAM,KAAK,MAAM,CAAC9B,KAAK,OAAO,KAAK,MAAM,KAAK,MAAM,CAACC,KAAK,MAAO,CAAC6B,IAAK,MAAO,CAAC,IAAK,MAAO,CAACA,IAAK;AAAA,EACzH;AAAA,EACA,UAAU,WAAW;AACnB,WAAO,KAAK;AAAA,EACd;AACF;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.es181.js","sources":["../../../node_modules/d3-hierarchy/src/tree.js"],"sourcesContent":["import {Node} from \"./hierarchy/index.js\";\n\nfunction defaultSeparation(a, b) {\n return a.parent === b.parent ? 1 : 2;\n}\n\n// function radialSeparation(a, b) {\n// return (a.parent === b.parent ? 1 : 2) / a.depth;\n// }\n\n// This function is used to traverse the left contour of a subtree (or\n// subforest). It returns the successor of v on this contour. This successor is\n// either given by the leftmost child of v or by the thread of v. The function\n// returns null if and only if v is on the highest level of its subtree.\nfunction nextLeft(v) {\n var children = v.children;\n return children ? children[0] : v.t;\n}\n\n// This function works analogously to nextLeft.\nfunction nextRight(v) {\n var children = v.children;\n return children ? children[children.length - 1] : v.t;\n}\n\n// Shifts the current subtree rooted at w+. This is done by increasing\n// prelim(w+) and mod(w+) by shift.\nfunction moveSubtree(wm, wp, shift) {\n var change = shift / (wp.i - wm.i);\n wp.c -= change;\n wp.s += shift;\n wm.c += change;\n wp.z += shift;\n wp.m += shift;\n}\n\n// All other shifts, applied to the smaller subtrees between w- and w+, are\n// performed by this function. To prepare the shifts, we have to adjust\n// change(w+), shift(w+), and change(w-).\nfunction executeShifts(v) {\n var shift = 0,\n change = 0,\n children = v.children,\n i = children.length,\n w;\n while (--i >= 0) {\n w = children[i];\n w.z += shift;\n w.m += shift;\n shift += w.s + (change += w.c);\n }\n}\n\n// If vi-’s ancestor is a sibling of v, returns vi-’s ancestor. Otherwise,\n// returns the specified (default) ancestor.\nfunction nextAncestor(vim, v, ancestor) {\n return vim.a.parent === v.parent ? vim.a : ancestor;\n}\n\nfunction TreeNode(node, i) {\n this._ = node;\n this.parent = null;\n this.children = null;\n this.A = null; // default ancestor\n this.a = this; // ancestor\n this.z = 0; // prelim\n this.m = 0; // mod\n this.c = 0; // change\n this.s = 0; // shift\n this.t = null; // thread\n this.i = i; // number\n}\n\nTreeNode.prototype = Object.create(Node.prototype);\n\nfunction treeRoot(root) {\n var tree = new TreeNode(root, 0),\n node,\n nodes = [tree],\n child,\n children,\n i,\n n;\n\n while (node = nodes.pop()) {\n if (children = node._.children) {\n node.children = new Array(n = children.length);\n for (i = n - 1; i >= 0; --i) {\n nodes.push(child = node.children[i] = new TreeNode(children[i], i));\n child.parent = node;\n }\n }\n }\n\n (tree.parent = new TreeNode(null, 0)).children = [tree];\n return tree;\n}\n\n// Node-link tree diagram using the Reingold-Tilford \"tidy\" algorithm\nexport default function() {\n var separation = defaultSeparation,\n dx = 1,\n dy = 1,\n nodeSize = null;\n\n function tree(root) {\n var t = treeRoot(root);\n\n // Compute the layout using Buchheim et al.’s algorithm.\n t.eachAfter(firstWalk), t.parent.m = -t.z;\n t.eachBefore(secondWalk);\n\n // If a fixed node size is specified, scale x and y.\n if (nodeSize) root.eachBefore(sizeNode);\n\n // If a fixed tree size is specified, scale x and y based on the extent.\n // Compute the left-most, right-most, and depth-most nodes for extents.\n else {\n var left = root,\n right = root,\n bottom = root;\n root.eachBefore(function(node) {\n if (node.x < left.x) left = node;\n if (node.x > right.x) right = node;\n if (node.depth > bottom.depth) bottom = node;\n });\n var s = left === right ? 1 : separation(left, right) / 2,\n tx = s - left.x,\n kx = dx / (right.x + s + tx),\n ky = dy / (bottom.depth || 1);\n root.eachBefore(function(node) {\n node.x = (node.x + tx) * kx;\n node.y = node.depth * ky;\n });\n }\n\n return root;\n }\n\n // Computes a preliminary x-coordinate for v. Before that, FIRST WALK is\n // applied recursively to the children of v, as well as the function\n // APPORTION. After spacing out the children by calling EXECUTE SHIFTS, the\n // node v is placed to the midpoint of its outermost children.\n function firstWalk(v) {\n var children = v.children,\n siblings = v.parent.children,\n w = v.i ? siblings[v.i - 1] : null;\n if (children) {\n executeShifts(v);\n var midpoint = (children[0].z + children[children.length - 1].z) / 2;\n if (w) {\n v.z = w.z + separation(v._, w._);\n v.m = v.z - midpoint;\n } else {\n v.z = midpoint;\n }\n } else if (w) {\n v.z = w.z + separation(v._, w._);\n }\n v.parent.A = apportion(v, w, v.parent.A || siblings[0]);\n }\n\n // Computes all real x-coordinates by summing up the modifiers recursively.\n function secondWalk(v) {\n v._.x = v.z + v.parent.m;\n v.m += v.parent.m;\n }\n\n // The core of the algorithm. Here, a new subtree is combined with the\n // previous subtrees. Threads are used to traverse the inside and outside\n // contours of the left and right subtree up to the highest common level. The\n // vertices used for the traversals are vi+, vi-, vo-, and vo+, where the\n // superscript o means outside and i means inside, the subscript - means left\n // subtree and + means right subtree. For summing up the modifiers along the\n // contour, we use respective variables si+, si-, so-, and so+. Whenever two\n // nodes of the inside contours conflict, we compute the left one of the\n // greatest uncommon ancestors using the function ANCESTOR and call MOVE\n // SUBTREE to shift the subtree and prepare the shifts of smaller subtrees.\n // Finally, we add a new thread (if necessary).\n function apportion(v, w, ancestor) {\n if (w) {\n var vip = v,\n vop = v,\n vim = w,\n vom = vip.parent.children[0],\n sip = vip.m,\n sop = vop.m,\n sim = vim.m,\n som = vom.m,\n shift;\n while (vim = nextRight(vim), vip = nextLeft(vip), vim && vip) {\n vom = nextLeft(vom);\n vop = nextRight(vop);\n vop.a = v;\n shift = vim.z + sim - vip.z - sip + separation(vim._, vip._);\n if (shift > 0) {\n moveSubtree(nextAncestor(vim, v, ancestor), v, shift);\n sip += shift;\n sop += shift;\n }\n sim += vim.m;\n sip += vip.m;\n som += vom.m;\n sop += vop.m;\n }\n if (vim && !nextRight(vop)) {\n vop.t = vim;\n vop.m += sim - sop;\n }\n if (vip && !nextLeft(vom)) {\n vom.t = vip;\n vom.m += sip - som;\n ancestor = v;\n }\n }\n return ancestor;\n }\n\n function sizeNode(node) {\n node.x *= dx;\n node.y = node.depth * dy;\n }\n\n tree.separation = function(x) {\n return arguments.length ? (separation = x, tree) : separation;\n };\n\n tree.size = function(x) {\n return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], tree) : (nodeSize ? null : [dx, dy]);\n };\n\n tree.nodeSize = function(x) {\n return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], tree) : (nodeSize ? [dx, dy] : null);\n };\n\n return tree;\n}\n"],"names":["defaultSeparation","a","b","nextLeft","v","children","nextRight","moveSubtree","wm","wp","shift","change","executeShifts","i","w","nextAncestor","vim","ancestor","TreeNode","node","Node","treeRoot","root","tree","nodes","child","n","d3tree","separation","dx","dy","nodeSize","t","firstWalk","secondWalk","sizeNode","left","right","bottom","s","tx","kx","ky","siblings","midpoint","apportion","vip","vop","vom","sip","sop","sim","som","x"],"mappings":";AAEA,SAASA,EAAkBC,GAAGC,GAAG;AAC/B,SAAOD,EAAE,WAAWC,EAAE,SAAS,IAAI;AACrC;AAUA,SAASC,EAASC,GAAG;AACnB,MAAIC,IAAWD,EAAE;AACjB,SAAOC,IAAWA,EAAS,CAAC,IAAID,EAAE;AACpC;AAGA,SAASE,EAAUF,GAAG;AACpB,MAAIC,IAAWD,EAAE;AACj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,CAAG,MACvBA,EAAI,IAAI/B,GACR+B,EAAI,KAAKI,IAAMD,IAEbJ,KAAO,CAAC3C,EAAS6C,CAAG,MACtBA,EAAI,IAAIF,GACRE,EAAI,KAAKC,IAAMG,GACJnC,IAAAb;AAAA,IAEf;AACO,WAAAa;AAAA,EACT;AAEA,WAASkB,EAAShB,GAAM;AACtB,IAAAA,EAAK,KAAKU,GACLV,EAAA,IAAIA,EAAK,QAAQW;AAAA,EACxB;AAEK,SAAAP,EAAA,aAAa,SAAS8B,GAAG;AAC5B,WAAO,UAAU,UAAUzB,IAAayB,GAAG9B,KAAQK;AAAA,EAAA,GAGhDL,EAAA,OAAO,SAAS8B,GAAG;AACtB,WAAO,UAAU,UAAUtB,IAAW,IAAOF,IAAK,CAACwB,EAAE,CAAC,GAAGvB,IAAK,CAACuB,EAAE,CAAC,GAAG9B,KAASQ,IAAW,OAAO,CAACF,GAAIC,CAAE;AAAA,EAAA,GAGpGP,EAAA,WAAW,SAAS8B,GAAG;AAC1B,WAAO,UAAU,UAAUtB,IAAW,IAAMF,IAAK,CAACwB,EAAE,CAAC,GAAGvB,IAAK,CAACuB,EAAE,CAAC,GAAG9B,KAASQ,IAAW,CAACF,GAAIC,CAAE,IAAI;AAAA,EAAA,GAG9FP;AACT;","x_google_ignoreList":[0]}
|
package/dist/index.es182.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as M } from "./index.es190.js";
|
|
2
|
-
import { i as S } from "./index.
|
|
3
|
-
import { n as j } from "./index.
|
|
4
|
-
import { t as y } from "./index.
|
|
2
|
+
import { i as S } from "./index.es236.js";
|
|
3
|
+
import { n as j } from "./index.es237.js";
|
|
4
|
+
import { t as y } from "./index.es238.js";
|
|
5
5
|
var F = S, x = j, I = y, N = "Expected a function", O = Math.max, R = Math.min;
|
|
6
6
|
function A(h, t, a) {
|
|
7
7
|
var o, m, s, u, i, r, f = 0, b = !1, c = !1, d = !0;
|
package/dist/index.es183.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ResizeObserverController as t } from "./index.
|
|
2
|
-
import { isElement as o } from "./index.
|
|
1
|
+
import { ResizeObserverController as t } from "./index.es255.js";
|
|
2
|
+
import { isElement as o } from "./index.es256.js";
|
|
3
3
|
var u = function() {
|
|
4
4
|
function r(e) {
|
|
5
5
|
if (arguments.length === 0)
|
package/dist/index.es184.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ResizeObserverBoxOptions as z } from "./index.
|
|
2
|
-
import { ResizeObserverSize as X } from "./index.
|
|
3
|
-
import { DOMRectReadOnly as P } from "./index.
|
|
4
|
-
import { isHidden as A, isSVG as I } from "./index.
|
|
5
|
-
import { freeze as O } from "./index.
|
|
6
|
-
import { global as R } from "./index.
|
|
1
|
+
import { ResizeObserverBoxOptions as z } from "./index.es272.js";
|
|
2
|
+
import { ResizeObserverSize as X } from "./index.es259.js";
|
|
3
|
+
import { DOMRectReadOnly as P } from "./index.es273.js";
|
|
4
|
+
import { isHidden as A, isSVG as I } from "./index.es256.js";
|
|
5
|
+
import { freeze as O } from "./index.es258.js";
|
|
6
|
+
import { global as R } from "./index.es274.js";
|
|
7
7
|
var l = /* @__PURE__ */ new WeakMap(), S = /auto|scroll/, G = /^tb|vertical/, N = /msie|trident/i.test(R.navigator && R.navigator.userAgent), i = function(e) {
|
|
8
8
|
return parseFloat(e || "0");
|
|
9
9
|
}, a = function(e, t, r) {
|
package/dist/index.es187.js
CHANGED
|
@@ -1,40 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
function a(t) {
|
|
14
|
-
var i = t.link, r = i === void 0 ? u : i;
|
|
15
|
-
return /* @__PURE__ */ s.createElement("line", {
|
|
16
|
-
x1: r.source.x,
|
|
17
|
-
y1: r.source.y,
|
|
18
|
-
x2: r.target.x,
|
|
19
|
-
y2: r.target.y,
|
|
20
|
-
strokeWidth: 2,
|
|
21
|
-
stroke: "#999",
|
|
22
|
-
strokeOpacity: 0.6
|
|
23
|
-
});
|
|
1
|
+
function t(n) {
|
|
2
|
+
return typeof (n == null ? void 0 : n.x) == "number" ? n == null ? void 0 : n.x : 0;
|
|
3
|
+
}
|
|
4
|
+
function u(n) {
|
|
5
|
+
return typeof (n == null ? void 0 : n.y) == "number" ? n == null ? void 0 : n.y : 0;
|
|
6
|
+
}
|
|
7
|
+
function e(n) {
|
|
8
|
+
return n == null ? void 0 : n.source;
|
|
9
|
+
}
|
|
10
|
+
function o(n) {
|
|
11
|
+
return n == null ? void 0 : n.target;
|
|
24
12
|
}
|
|
25
|
-
a.propTypes = {
|
|
26
|
-
link: e.shape({
|
|
27
|
-
source: e.shape({
|
|
28
|
-
x: e.number.isRequired,
|
|
29
|
-
y: e.number.isRequired
|
|
30
|
-
}).isRequired,
|
|
31
|
-
target: e.shape({
|
|
32
|
-
x: e.number.isRequired,
|
|
33
|
-
y: e.number.isRequired
|
|
34
|
-
}).isRequired
|
|
35
|
-
})
|
|
36
|
-
};
|
|
37
13
|
export {
|
|
38
|
-
|
|
14
|
+
e as getSource,
|
|
15
|
+
o as getTarget,
|
|
16
|
+
t as getX,
|
|
17
|
+
u as getY
|
|
39
18
|
};
|
|
40
19
|
//# sourceMappingURL=index.es187.js.map
|
package/dist/index.es187.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es187.js","sources":["../../../node_modules/@visx/
|
|
1
|
+
{"version":3,"file":"index.es187.js","sources":["../../../node_modules/@visx/shape/esm/util/accessors.js"],"sourcesContent":["export function getX(l) {\n return typeof (l == null ? void 0 : l.x) === 'number' ? l == null ? void 0 : l.x : 0;\n}\nexport function getY(l) {\n return typeof (l == null ? void 0 : l.y) === 'number' ? l == null ? void 0 : l.y : 0;\n}\nexport function getSource(l) {\n return l == null ? void 0 : l.source;\n}\nexport function getTarget(l) {\n return l == null ? void 0 : l.target;\n}\nexport function getFirstItem(d) {\n return d == null ? void 0 : d[0];\n}\nexport function getSecondItem(d) {\n return d == null ? void 0 : d[1];\n}"],"names":["getX","l","getY","getSource","getTarget"],"mappings":"AAAO,SAASA,EAAKC,GAAG;AACf,SAAA,QAAQA,KAAK,OAAO,SAASA,EAAE,MAAO,WAAWA,KAAK,OAAO,SAASA,EAAE,IAAI;AACrF;AACO,SAASC,EAAKD,GAAG;AACf,SAAA,QAAQA,KAAK,OAAO,SAASA,EAAE,MAAO,WAAWA,KAAK,OAAO,SAASA,EAAE,IAAI;AACrF;AACO,SAASE,EAAUF,GAAG;AACpB,SAAAA,KAAK,OAAO,SAASA,EAAE;AAChC;AACO,SAASG,EAAUH,GAAG;AACpB,SAAAA,KAAK,OAAO,SAASA,EAAE;AAChC;","x_google_ignoreList":[0]}
|