@performant-software/visualize 3.0.6-beta.5 → 3.0.6-beta.6

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.
Files changed (331) hide show
  1. package/dist/index.cjs183.js +1 -1
  2. package/dist/index.cjs185.js +1 -1
  3. package/dist/index.cjs187.js +1 -1
  4. package/dist/index.cjs188.js +1 -1
  5. package/dist/index.cjs188.js.map +1 -1
  6. package/dist/index.cjs189.js +1 -1
  7. package/dist/index.cjs189.js.map +1 -1
  8. package/dist/index.cjs190.js +1 -1
  9. package/dist/index.cjs190.js.map +1 -1
  10. package/dist/index.cjs191.js +2 -1
  11. package/dist/index.cjs191.js.map +1 -1
  12. package/dist/index.cjs192.js +1 -1
  13. package/dist/index.cjs192.js.map +1 -1
  14. package/dist/index.cjs193.js +1 -2
  15. package/dist/index.cjs193.js.map +1 -1
  16. package/dist/index.cjs194.js +1 -1
  17. package/dist/index.cjs194.js.map +1 -1
  18. package/dist/index.cjs195.js +1 -1
  19. package/dist/index.cjs195.js.map +1 -1
  20. package/dist/index.cjs196.js +1 -3
  21. package/dist/index.cjs196.js.map +1 -1
  22. package/dist/index.cjs197.js +1 -1
  23. package/dist/index.cjs197.js.map +1 -1
  24. package/dist/index.cjs198.js +1 -1
  25. package/dist/index.cjs198.js.map +1 -1
  26. package/dist/index.cjs199.js +1 -1
  27. package/dist/index.cjs199.js.map +1 -1
  28. package/dist/index.cjs200.js +1 -1
  29. package/dist/index.cjs200.js.map +1 -1
  30. package/dist/index.cjs201.js +1 -1
  31. package/dist/index.cjs201.js.map +1 -1
  32. package/dist/index.cjs202.js +1 -1
  33. package/dist/index.cjs202.js.map +1 -1
  34. package/dist/index.cjs203.js +1 -1
  35. package/dist/index.cjs203.js.map +1 -1
  36. package/dist/index.cjs204.js +1 -1
  37. package/dist/index.cjs204.js.map +1 -1
  38. package/dist/index.cjs205.js +1 -1
  39. package/dist/index.cjs205.js.map +1 -1
  40. package/dist/index.cjs206.js +1 -1
  41. package/dist/index.cjs206.js.map +1 -1
  42. package/dist/index.cjs207.js +3 -1
  43. package/dist/index.cjs207.js.map +1 -1
  44. package/dist/index.cjs208.js +1 -1
  45. package/dist/index.cjs208.js.map +1 -1
  46. package/dist/index.cjs211.js +1 -1
  47. package/dist/index.cjs212.js +1 -1
  48. package/dist/index.cjs213.js +1 -1
  49. package/dist/index.cjs231.js +1 -1
  50. package/dist/index.cjs236.js +1 -1
  51. package/dist/index.cjs240.js +1 -1
  52. package/dist/index.cjs252.js +1 -1
  53. package/dist/index.cjs252.js.map +1 -1
  54. package/dist/index.cjs253.js +1 -1
  55. package/dist/index.cjs253.js.map +1 -1
  56. package/dist/index.cjs254.js +1 -1
  57. package/dist/index.cjs254.js.map +1 -1
  58. package/dist/index.cjs255.js +1 -1
  59. package/dist/index.cjs255.js.map +1 -1
  60. package/dist/index.cjs256.js +1 -1
  61. package/dist/index.cjs256.js.map +1 -1
  62. package/dist/index.cjs257.js +1 -1
  63. package/dist/index.cjs257.js.map +1 -1
  64. package/dist/index.cjs258.js +1 -1
  65. package/dist/index.cjs258.js.map +1 -1
  66. package/dist/index.cjs259.js +1 -1
  67. package/dist/index.cjs259.js.map +1 -1
  68. package/dist/index.cjs260.js +1 -1
  69. package/dist/index.cjs260.js.map +1 -1
  70. package/dist/index.cjs261.js +1 -1
  71. package/dist/index.cjs262.js +1 -1
  72. package/dist/index.cjs263.js +1 -1
  73. package/dist/index.cjs264.js +1 -1
  74. package/dist/index.cjs272.js +1 -1
  75. package/dist/index.cjs272.js.map +1 -1
  76. package/dist/index.cjs273.js +1 -1
  77. package/dist/index.cjs273.js.map +1 -1
  78. package/dist/index.cjs274.js +1 -1
  79. package/dist/index.cjs274.js.map +1 -1
  80. package/dist/index.cjs275.js +1 -1
  81. package/dist/index.cjs275.js.map +1 -1
  82. package/dist/index.cjs276.js +1 -1
  83. package/dist/index.cjs276.js.map +1 -1
  84. package/dist/index.cjs277.js +1 -1
  85. package/dist/index.cjs277.js.map +1 -1
  86. package/dist/index.cjs278.js +1 -1
  87. package/dist/index.cjs278.js.map +1 -1
  88. package/dist/index.cjs279.js +1 -1
  89. package/dist/index.cjs279.js.map +1 -1
  90. package/dist/index.cjs280.js +1 -1
  91. package/dist/index.cjs280.js.map +1 -1
  92. package/dist/index.cjs281.js +1 -1
  93. package/dist/index.cjs281.js.map +1 -1
  94. package/dist/index.cjs282.js +1 -1
  95. package/dist/index.cjs282.js.map +1 -1
  96. package/dist/index.cjs283.js +1 -1
  97. package/dist/index.cjs283.js.map +1 -1
  98. package/dist/index.cjs284.js +1 -1
  99. package/dist/index.cjs284.js.map +1 -1
  100. package/dist/index.cjs285.js +1 -1
  101. package/dist/index.cjs285.js.map +1 -1
  102. package/dist/index.cjs286.js +1 -1
  103. package/dist/index.cjs286.js.map +1 -1
  104. package/dist/index.cjs287.js +1 -1
  105. package/dist/index.cjs287.js.map +1 -1
  106. package/dist/index.cjs288.js +1 -1
  107. package/dist/index.cjs289.js +1 -1
  108. package/dist/index.cjs291.js +1 -1
  109. package/dist/index.cjs292.js +1 -1
  110. package/dist/index.cjs34.js +1 -1
  111. package/dist/index.cjs35.js +1 -1
  112. package/dist/index.cjs36.js +1 -1
  113. package/dist/index.cjs37.js +1 -1
  114. package/dist/index.cjs38.js +1 -1
  115. package/dist/index.cjs39.js +1 -1
  116. package/dist/index.cjs40.js +1 -1
  117. package/dist/index.cjs41.js +1 -1
  118. package/dist/index.cjs42.js +1 -1
  119. package/dist/index.cjs43.js +1 -1
  120. package/dist/index.cjs44.js +1 -1
  121. package/dist/index.cjs45.js +1 -1
  122. package/dist/index.cjs46.js +1 -1
  123. package/dist/index.cjs47.js +1 -1
  124. package/dist/index.cjs48.js +1 -1
  125. package/dist/index.cjs49.js +1 -1
  126. package/dist/index.cjs53.js +1 -1
  127. package/dist/index.cjs54.js +1 -1
  128. package/dist/index.cjs58.js +1 -1
  129. package/dist/index.cjs62.js +1 -1
  130. package/dist/index.cjs62.js.map +1 -1
  131. package/dist/index.cjs63.js +1 -1
  132. package/dist/index.cjs63.js.map +1 -1
  133. package/dist/index.cjs64.js +1 -1
  134. package/dist/index.cjs64.js.map +1 -1
  135. package/dist/index.cjs65.js +1 -1
  136. package/dist/index.cjs65.js.map +1 -1
  137. package/dist/index.cjs66.js +1 -1
  138. package/dist/index.cjs66.js.map +1 -1
  139. package/dist/index.cjs67.js +5 -1
  140. package/dist/index.cjs67.js.map +1 -1
  141. package/dist/index.cjs68.js +1 -1
  142. package/dist/index.cjs68.js.map +1 -1
  143. package/dist/index.cjs69.js +1 -1
  144. package/dist/index.cjs69.js.map +1 -1
  145. package/dist/index.cjs70.js +1 -1
  146. package/dist/index.cjs70.js.map +1 -1
  147. package/dist/index.cjs71.js +1 -1
  148. package/dist/index.cjs71.js.map +1 -1
  149. package/dist/index.cjs72.js +1 -1
  150. package/dist/index.cjs72.js.map +1 -1
  151. package/dist/index.cjs73.js +1 -1
  152. package/dist/index.cjs73.js.map +1 -1
  153. package/dist/index.cjs74.js +1 -1
  154. package/dist/index.cjs74.js.map +1 -1
  155. package/dist/index.cjs75.js +1 -1
  156. package/dist/index.cjs75.js.map +1 -1
  157. package/dist/index.cjs76.js +1 -5
  158. package/dist/index.cjs76.js.map +1 -1
  159. package/dist/index.cjs77.js +1 -1
  160. package/dist/index.cjs77.js.map +1 -1
  161. package/dist/index.cjs78.js +1 -1
  162. package/dist/index.cjs78.js.map +1 -1
  163. package/dist/index.cjs79.js +1 -1
  164. package/dist/index.cjs79.js.map +1 -1
  165. package/dist/index.cjs8.js +1 -1
  166. package/dist/index.es183.js +4 -4
  167. package/dist/index.es185.js +1 -1
  168. package/dist/index.es187.js +3 -3
  169. package/dist/index.es188.js +5 -34
  170. package/dist/index.es188.js.map +1 -1
  171. package/dist/index.es189.js +2 -16
  172. package/dist/index.es189.js.map +1 -1
  173. package/dist/index.es190.js +7 -5
  174. package/dist/index.es190.js.map +1 -1
  175. package/dist/index.es191.js +328 -2
  176. package/dist/index.es191.js.map +1 -1
  177. package/dist/index.es192.js +50 -7
  178. package/dist/index.es192.js.map +1 -1
  179. package/dist/index.es193.js +2 -328
  180. package/dist/index.es193.js.map +1 -1
  181. package/dist/index.es194.js +32 -48
  182. package/dist/index.es194.js.map +1 -1
  183. package/dist/index.es195.js +16 -2
  184. package/dist/index.es195.js.map +1 -1
  185. package/dist/index.es196.js +12 -239
  186. package/dist/index.es196.js.map +1 -1
  187. package/dist/index.es197.js +10 -1017
  188. package/dist/index.es197.js.map +1 -1
  189. package/dist/index.es198.js +7 -12
  190. package/dist/index.es198.js.map +1 -1
  191. package/dist/index.es199.js +8 -9
  192. package/dist/index.es199.js.map +1 -1
  193. package/dist/index.es200.js +7 -7
  194. package/dist/index.es200.js.map +1 -1
  195. package/dist/index.es201.js +5 -9
  196. package/dist/index.es201.js.map +1 -1
  197. package/dist/index.es202.js +15 -7
  198. package/dist/index.es202.js.map +1 -1
  199. package/dist/index.es203.js +4 -4
  200. package/dist/index.es203.js.map +1 -1
  201. package/dist/index.es204.js +6 -15
  202. package/dist/index.es204.js.map +1 -1
  203. package/dist/index.es205.js +6 -5
  204. package/dist/index.es205.js.map +1 -1
  205. package/dist/index.es206.js +5 -5
  206. package/dist/index.es206.js.map +1 -1
  207. package/dist/index.es207.js +239 -6
  208. package/dist/index.es207.js.map +1 -1
  209. package/dist/index.es208.js +1017 -6
  210. package/dist/index.es208.js.map +1 -1
  211. package/dist/index.es211.js +1 -1
  212. package/dist/index.es212.js +1 -1
  213. package/dist/index.es213.js +1 -1
  214. package/dist/index.es231.js +1 -1
  215. package/dist/index.es236.js +2 -2
  216. package/dist/index.es240.js +1 -1
  217. package/dist/index.es252.js +3 -6
  218. package/dist/index.es252.js.map +1 -1
  219. package/dist/index.es253.js +8 -3
  220. package/dist/index.es253.js.map +1 -1
  221. package/dist/index.es254.js +4 -6
  222. package/dist/index.es254.js.map +1 -1
  223. package/dist/index.es255.js +3 -13
  224. package/dist/index.es255.js.map +1 -1
  225. package/dist/index.es256.js +2 -7
  226. package/dist/index.es256.js.map +1 -1
  227. package/dist/index.es257.js +5 -3
  228. package/dist/index.es257.js.map +1 -1
  229. package/dist/index.es258.js +8 -2
  230. package/dist/index.es258.js.map +1 -1
  231. package/dist/index.es259.js +13 -5
  232. package/dist/index.es259.js.map +1 -1
  233. package/dist/index.es260.js +6 -7
  234. package/dist/index.es260.js.map +1 -1
  235. package/dist/index.es261.js +1 -1
  236. package/dist/index.es262.js +1 -1
  237. package/dist/index.es263.js +2 -2
  238. package/dist/index.es264.js +4 -4
  239. package/dist/index.es272.js +3 -8
  240. package/dist/index.es272.js.map +1 -1
  241. package/dist/index.es273.js +68 -9
  242. package/dist/index.es273.js.map +1 -1
  243. package/dist/index.es274.js +18 -5
  244. package/dist/index.es274.js.map +1 -1
  245. package/dist/index.es275.js +7 -3
  246. package/dist/index.es275.js.map +1 -1
  247. package/dist/index.es276.js +2 -68
  248. package/dist/index.es276.js.map +1 -1
  249. package/dist/index.es277.js +5 -18
  250. package/dist/index.es277.js.map +1 -1
  251. package/dist/index.es278.js +11 -5
  252. package/dist/index.es278.js.map +1 -1
  253. package/dist/index.es279.js +2 -2
  254. package/dist/index.es279.js.map +1 -1
  255. package/dist/index.es280.js +8 -5
  256. package/dist/index.es280.js.map +1 -1
  257. package/dist/index.es281.js +9 -13
  258. package/dist/index.es281.js.map +1 -1
  259. package/dist/index.es282.js +5 -2
  260. package/dist/index.es282.js.map +1 -1
  261. package/dist/index.es283.js +12 -3
  262. package/dist/index.es283.js.map +1 -1
  263. package/dist/index.es284.js +7 -14
  264. package/dist/index.es284.js.map +1 -1
  265. package/dist/index.es285.js +3 -6
  266. package/dist/index.es285.js.map +1 -1
  267. package/dist/index.es286.js +14 -12
  268. package/dist/index.es286.js.map +1 -1
  269. package/dist/index.es287.js +6 -7
  270. package/dist/index.es287.js.map +1 -1
  271. package/dist/index.es288.js +1 -1
  272. package/dist/index.es289.js +1 -1
  273. package/dist/index.es291.js +1 -1
  274. package/dist/index.es292.js +1 -1
  275. package/dist/index.es34.js +1 -1
  276. package/dist/index.es35.js +2 -2
  277. package/dist/index.es36.js +5 -5
  278. package/dist/index.es37.js +11 -11
  279. package/dist/index.es38.js +1 -1
  280. package/dist/index.es39.js +1 -1
  281. package/dist/index.es40.js +1 -1
  282. package/dist/index.es41.js +1 -1
  283. package/dist/index.es42.js +1 -1
  284. package/dist/index.es43.js +1 -1
  285. package/dist/index.es44.js +1 -1
  286. package/dist/index.es45.js +1 -1
  287. package/dist/index.es46.js +1 -1
  288. package/dist/index.es47.js +1 -1
  289. package/dist/index.es48.js +1 -1
  290. package/dist/index.es49.js +1 -1
  291. package/dist/index.es53.js +2 -2
  292. package/dist/index.es54.js +3 -3
  293. package/dist/index.es58.js +9 -9
  294. package/dist/index.es62.js +13 -21
  295. package/dist/index.es62.js.map +1 -1
  296. package/dist/index.es63.js +30 -25
  297. package/dist/index.es63.js.map +1 -1
  298. package/dist/index.es64.js +95 -13
  299. package/dist/index.es64.js.map +1 -1
  300. package/dist/index.es65.js +20 -32
  301. package/dist/index.es65.js.map +1 -1
  302. package/dist/index.es66.js +21 -88
  303. package/dist/index.es66.js.map +1 -1
  304. package/dist/index.es67.js +40 -9
  305. package/dist/index.es67.js.map +1 -1
  306. package/dist/index.es68.js +36 -4
  307. package/dist/index.es68.js.map +1 -1
  308. package/dist/index.es69.js +22 -12
  309. package/dist/index.es69.js.map +1 -1
  310. package/dist/index.es70.js +84 -5
  311. package/dist/index.es70.js.map +1 -1
  312. package/dist/index.es71.js +8 -14
  313. package/dist/index.es71.js.map +1 -1
  314. package/dist/index.es72.js +4 -9
  315. package/dist/index.es72.js.map +1 -1
  316. package/dist/index.es73.js +12 -5
  317. package/dist/index.es73.js.map +1 -1
  318. package/dist/index.es74.js +5 -9
  319. package/dist/index.es74.js.map +1 -1
  320. package/dist/index.es75.js +14 -7
  321. package/dist/index.es75.js.map +1 -1
  322. package/dist/index.es76.js +10 -40
  323. package/dist/index.es76.js.map +1 -1
  324. package/dist/index.es77.js +5 -36
  325. package/dist/index.es77.js.map +1 -1
  326. package/dist/index.es78.js +9 -22
  327. package/dist/index.es78.js.map +1 -1
  328. package/dist/index.es79.js +7 -84
  329. package/dist/index.es79.js.map +1 -1
  330. package/dist/index.es8.js +1 -1
  331. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.es287.js","sources":["../../../node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.js"],"sourcesContent":["import { queueMicroTask } from './queueMicroTask';\nvar queueResizeObserver = function (cb) {\n queueMicroTask(function ResizeObserver() {\n requestAnimationFrame(cb);\n });\n};\nexport { queueResizeObserver };\n"],"names":["queueResizeObserver","cb","queueMicroTask"],"mappings":";AACI,IAAAA,IAAsB,SAAUC,GAAI;AACpC,EAAAC,EAAe,WAA0B;AACrC,0BAAsBD,CAAE;AAAA,EAAA,CAC3B;AACL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es287.js","sources":["../../../node_modules/lodash/_objectToString.js"],"sourcesContent":["/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n"],"names":["objectProto","nativeObjectToString","objectToString","value","_objectToString"],"mappings":"AACA,IAAIA,IAAc,OAAO,WAOrBC,IAAuBD,EAAY;AASvC,SAASE,EAAeC,GAAO;AACtB,SAAAF,EAAqB,KAAKE,CAAK;AACxC;AAEA,IAAAC,IAAiBF;","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { resizeObservers as r } from "./index.es279.js";
1
+ import { resizeObservers as r } from "./index.es276.js";
2
2
  var n = function() {
3
3
  return r.some(function(e) {
4
4
  return e.activeTargets.length > 0;
@@ -1,4 +1,4 @@
1
- import { resizeObservers as r } from "./index.es279.js";
1
+ import { resizeObservers as r } from "./index.es276.js";
2
2
  var t = function() {
3
3
  return r.some(function(e) {
4
4
  return e.skippedTargets.length > 0;
@@ -1,4 +1,4 @@
1
- import { resizeObservers as f } from "./index.es279.js";
1
+ import { resizeObservers as f } from "./index.es276.js";
2
2
  import { ResizeObserverEntry as p } from "./index.es266.js";
3
3
  import { calculateDepthForNode as g } from "./index.es294.js";
4
4
  import { calculateBoxSize as b } from "./index.es187.js";
@@ -1,4 +1,4 @@
1
- import { resizeObservers as r } from "./index.es279.js";
1
+ import { resizeObservers as r } from "./index.es276.js";
2
2
  import { calculateDepthForNode as i } from "./index.es294.js";
3
3
  var n = function(t) {
4
4
  r.forEach(function(e) {
@@ -1,4 +1,4 @@
1
- import d from "./index.es64.js";
1
+ import d from "./index.es62.js";
2
2
  import m from "react";
3
3
  import b from "./index.es185.js";
4
4
  import { ResizeObserver as O } from "./index.es186.js";
@@ -1,6 +1,6 @@
1
- import t from "./index.es64.js";
1
+ import t from "./index.es62.js";
2
2
  import m from "react";
3
- import u from "./index.es76.js";
3
+ import u from "./index.es67.js";
4
4
  var d = ["top", "left", "transform", "className", "children", "innerRef"];
5
5
  function i() {
6
6
  return i = Object.assign ? Object.assign.bind() : function(r) {
@@ -1,9 +1,9 @@
1
- import n from "./index.es64.js";
1
+ import n from "./index.es62.js";
2
2
  import t from "react";
3
- import h from "./index.es76.js";
4
- import y from "./index.es77.js";
5
- import N from "./index.es78.js";
6
- import x from "./index.es79.js";
3
+ import h from "./index.es67.js";
4
+ import y from "./index.es68.js";
5
+ import N from "./index.es69.js";
6
+ import x from "./index.es70.js";
7
7
  import m from "./index.es35.js";
8
8
  function S(e) {
9
9
  var v = e.top, z = e.left, C = e.className, E = e.root, p = e.size, l = e.nodeSize, c = e.separation, s = e.children, d = e.linkComponent, u = d === void 0 ? y : d, f = e.nodeComponent, k = f === void 0 ? N : f, o = x();
@@ -1,14 +1,14 @@
1
- import s from "./index.es198.js";
2
- import u from "./index.es199.js";
3
- import m from "./index.es200.js";
4
- import l from "./index.es201.js";
5
- import _ from "./index.es202.js";
6
- import v from "./index.es203.js";
7
- import y from "./index.es204.js";
8
- import g from "./index.es205.js";
9
- import w from "./index.es206.js";
10
- import B from "./index.es207.js";
11
- import A from "./index.es208.js";
1
+ import s from "./index.es196.js";
2
+ import u from "./index.es197.js";
3
+ import m from "./index.es198.js";
4
+ import l from "./index.es199.js";
5
+ import _ from "./index.es200.js";
6
+ import v from "./index.es201.js";
7
+ import y from "./index.es202.js";
8
+ import g from "./index.es203.js";
9
+ import w from "./index.es204.js";
10
+ import B from "./index.es205.js";
11
+ import A from "./index.es206.js";
12
12
  function d(e, t) {
13
13
  var a = new n(e), f = +e.value && (a.value = e.value), o, c = [a], i, h, r, p;
14
14
  for (t == null && (t = x); o = c.pop(); )
@@ -1,5 +1,5 @@
1
1
  import m from "react";
2
- import P from "./index.es76.js";
2
+ import P from "./index.es67.js";
3
3
  import { getX as R, getY as j, getSource as N, getTarget as $ } from "./index.es182.js";
4
4
  var I = ["className", "innerRef", "data", "path", "x", "y", "source", "target", "children"];
5
5
  function f() {
@@ -1,5 +1,5 @@
1
1
  import O from "react";
2
- import C from "./index.es76.js";
2
+ import C from "./index.es67.js";
3
3
  import { getX as T, getY as k, getSource as D, getTarget as E } from "./index.es182.js";
4
4
  import I from "./index.es184.js";
5
5
  var L = ["className", "children", "data", "innerRef", "path", "percent", "x", "y", "source", "target"];
@@ -1,5 +1,5 @@
1
1
  import f from "react";
2
- import y from "./index.es76.js";
2
+ import y from "./index.es67.js";
3
3
  import { getX as b, getY as M, getSource as O, getTarget as R } from "./index.es182.js";
4
4
  import j from "./index.es184.js";
5
5
  var P = ["className", "innerRef", "data", "path", "x", "y", "source", "target", "children"];
@@ -1,5 +1,5 @@
1
1
  import l from "react";
2
- import x from "./index.es76.js";
2
+ import x from "./index.es67.js";
3
3
  import { getX as R, getY as b, getSource as O, getTarget as j } from "./index.es182.js";
4
4
  import { linkRadial as k } from "./index.es183.js";
5
5
  var y = ["className", "children", "data", "innerRef", "path", "angle", "radius", "source", "target"];
@@ -1,5 +1,5 @@
1
1
  import m from "react";
2
- import b from "./index.es76.js";
2
+ import b from "./index.es67.js";
3
3
  import { getX as O, getY as $, getSource as j, getTarget as T } from "./index.es182.js";
4
4
  import N from "./index.es184.js";
5
5
  var R = ["className", "innerRef", "data", "path", "percent", "x", "y", "source", "target", "children"];
@@ -1,5 +1,5 @@
1
1
  import f from "react";
2
- import b from "./index.es76.js";
2
+ import b from "./index.es67.js";
3
3
  import { getX as O, getY as $, getSource as j, getTarget as N } from "./index.es182.js";
4
4
  import R from "./index.es184.js";
5
5
  var C = ["className", "children", "data", "innerRef", "path", "percent", "x", "y", "source", "target"];
@@ -1,5 +1,5 @@
1
1
  import p from "react";
2
- import x from "./index.es76.js";
2
+ import x from "./index.es67.js";
3
3
  import { getX as y, getY as b, getSource as O, getTarget as j } from "./index.es182.js";
4
4
  import $ from "./index.es184.js";
5
5
  var L = ["className", "innerRef", "data", "path", "x", "y", "source", "target", "children"];
@@ -1,5 +1,5 @@
1
1
  import c from "react";
2
- import x from "./index.es76.js";
2
+ import x from "./index.es67.js";
3
3
  import { getX as y, getY as b, getSource as O, getTarget as j } from "./index.es182.js";
4
4
  import { linkVertical as k } from "./index.es183.js";
5
5
  var N = ["className", "children", "data", "innerRef", "path", "x", "y", "source", "target"];
@@ -1,5 +1,5 @@
1
1
  import m from "react";
2
- import b from "./index.es76.js";
2
+ import b from "./index.es67.js";
3
3
  import { getY as O, getX as $, getSource as j, getTarget as T } from "./index.es182.js";
4
4
  import N from "./index.es184.js";
5
5
  var R = ["className", "innerRef", "data", "path", "percent", "x", "y", "source", "target", "children"];
@@ -1,5 +1,5 @@
1
1
  import f from "react";
2
- import b from "./index.es76.js";
2
+ import b from "./index.es67.js";
3
3
  import { getY as O, getX as $, getSource as j, getTarget as z } from "./index.es182.js";
4
4
  import N from "./index.es184.js";
5
5
  var R = ["className", "children", "data", "innerRef", "path", "percent", "x", "y", "source", "target"];
@@ -1,5 +1,5 @@
1
1
  import p from "react";
2
- import x from "./index.es76.js";
2
+ import x from "./index.es67.js";
3
3
  import { getY as y, getX as b, getSource as O, getTarget as j } from "./index.es182.js";
4
4
  import $ from "./index.es184.js";
5
5
  var L = ["className", "children", "innerRef", "data", "path", "x", "y", "source", "target"];
@@ -1,5 +1,5 @@
1
1
  import l from "react";
2
- import x from "./index.es76.js";
2
+ import x from "./index.es67.js";
3
3
  import { getY as y, getX as b, getSource as O, getTarget as j } from "./index.es182.js";
4
4
  import { linkHorizontal as k } from "./index.es183.js";
5
5
  var z = ["className", "children", "data", "innerRef", "path", "x", "y", "source", "target"];
@@ -1,5 +1,5 @@
1
- import f from "./index.es62.js";
2
- import { isElement as a, isEvent as o } from "./index.es63.js";
1
+ import f from "./index.es65.js";
2
+ import { isElement as a, isEvent as o } from "./index.es66.js";
3
3
  function c(r, i) {
4
4
  if (a(r) && i)
5
5
  return f(r, i);
@@ -1,7 +1,7 @@
1
- import d from "./index.es64.js";
1
+ import d from "./index.es62.js";
2
2
  import sa, { useRef as ca, useState as I, useCallback as l } from "react";
3
- import { useGesture as Ma } from "./index.es65.js";
4
- import { applyMatrixToPoint as Da, applyInverseMatrixToPoint as K, composeMatrices as oa, translateMatrix as z, scaleMatrix as Sa, inverseMatrix as wa, identityMatrix as Pa } from "./index.es66.js";
3
+ import { useGesture as Ma } from "./index.es63.js";
4
+ import { applyMatrixToPoint as Da, applyInverseMatrixToPoint as K, composeMatrices as oa, translateMatrix as z, scaleMatrix as Sa, inverseMatrix as wa, identityMatrix as Pa } from "./index.es64.js";
5
5
  import B from "./index.es53.js";
6
6
  function F() {
7
7
  return F = Object.assign ? Object.assign.bind() : function(s) {
@@ -1,12 +1,12 @@
1
- import Y from "./index.es67.js";
2
- import k from "./index.es68.js";
3
- import j from "./index.es69.js";
4
- import _ from "./index.es70.js";
5
- import ne from "./index.es71.js";
6
- import G from "./index.es72.js";
7
- import E from "./index.es73.js";
8
- import D from "./index.es74.js";
9
- import $e from "./index.es75.js";
1
+ import Y from "./index.es71.js";
2
+ import k from "./index.es72.js";
3
+ import j from "./index.es73.js";
4
+ import _ from "./index.es74.js";
5
+ import ne from "./index.es75.js";
6
+ import G from "./index.es76.js";
7
+ import E from "./index.es77.js";
8
+ import D from "./index.es78.js";
9
+ import $e from "./index.es79.js";
10
10
  function ye(o, a) {
11
11
  var n = Object.keys(o);
12
12
  if (Object.getOwnPropertySymbols) {
@@ -1,24 +1,16 @@
1
- import { isSVGElement as c, isSVGGraphicsElement as f, isSVGSVGElement as s } from "./index.es63.js";
2
- import o from "./index.es188.js";
3
- import a from "./index.es189.js";
4
- function G(r, l) {
5
- if (!r || !l)
6
- return null;
7
- var t = o(l), n = c(r) ? r.ownerSVGElement : r, i = f(n) ? n.getScreenCTM() : null;
8
- if (s(n) && i) {
9
- var e = n.createSVGPoint();
10
- return e.x = t.x, e.y = t.y, e = e.matrixTransform(i.inverse()), new a({
11
- x: e.x,
12
- y: e.y
13
- });
14
- }
15
- var m = r.getBoundingClientRect();
16
- return new a({
17
- x: t.x - m.left - r.clientLeft,
18
- y: t.y - m.top - r.clientTop
19
- });
20
- }
1
+ import { getDefaultExportFromCjs as e } from "./index.es188.js";
2
+ import { __module as r } from "./index.es189.js";
3
+ import { __require as o } from "./index.es190.js";
4
+ import { __require as t } from "./index.es191.js";
5
+ import { __require as p } from "./index.es192.js";
6
+ if (process.env.NODE_ENV !== "production") {
7
+ var s = o(), i = !0;
8
+ r.exports = t()(s.isElement, i);
9
+ } else
10
+ r.exports = p()();
11
+ var m = r.exports;
12
+ const q = /* @__PURE__ */ e(m);
21
13
  export {
22
- G as default
14
+ q as default
23
15
  };
24
16
  //# sourceMappingURL=index.es62.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es62.js","sources":["../../../node_modules/@visx/event/esm/localPointGeneric.js"],"sourcesContent":["import { Point } from '@visx/point';\nimport { isSVGElement, isSVGGraphicsElement, isSVGSVGElement } from './typeGuards';\nimport getXAndYFromEvent from './getXAndYFromEvent';\nexport default function localPoint(node, event) {\n if (!node || !event) return null;\n var coords = getXAndYFromEvent(event);\n\n // find top-most SVG\n var svg = isSVGElement(node) ? node.ownerSVGElement : node;\n var screenCTM = isSVGGraphicsElement(svg) ? svg.getScreenCTM() : null;\n if (isSVGSVGElement(svg) && screenCTM) {\n var point = svg.createSVGPoint();\n point.x = coords.x;\n point.y = coords.y;\n point = point.matrixTransform(screenCTM.inverse());\n return new Point({\n x: point.x,\n y: point.y\n });\n }\n\n // fall back to bounding box\n var rect = node.getBoundingClientRect();\n return new Point({\n x: coords.x - rect.left - node.clientLeft,\n y: coords.y - rect.top - node.clientTop\n });\n}"],"names":["localPoint","node","event","coords","getXAndYFromEvent","svg","isSVGElement","screenCTM","isSVGGraphicsElement","isSVGSVGElement","point","Point","rect"],"mappings":";;;AAGwB,SAAAA,EAAWC,GAAMC,GAAO;AAC1C,MAAA,CAACD,KAAQ,CAACC;AAAc,WAAA;AACxB,MAAAC,IAASC,EAAkBF,CAAK,GAGhCG,IAAMC,EAAaL,CAAI,IAAIA,EAAK,kBAAkBA,GAClDM,IAAYC,EAAqBH,CAAG,IAAIA,EAAI,aAAiB,IAAA;AAC7D,MAAAI,EAAgBJ,CAAG,KAAKE,GAAW;AACjC,QAAAG,IAAQL,EAAI;AAChB,WAAAK,EAAM,IAAIP,EAAO,GACjBO,EAAM,IAAIP,EAAO,GACjBO,IAAQA,EAAM,gBAAgBH,EAAU,QAAS,CAAA,GAC1C,IAAII,EAAM;AAAA,MACf,GAAGD,EAAM;AAAA,MACT,GAAGA,EAAM;AAAA,IAAA,CACV;AAAA,EACH;AAGI,MAAAE,IAAOX,EAAK;AAChB,SAAO,IAAIU,EAAM;AAAA,IACf,GAAGR,EAAO,IAAIS,EAAK,OAAOX,EAAK;AAAA,IAC/B,GAAGE,EAAO,IAAIS,EAAK,MAAMX,EAAK;AAAA,EAAA,CAC/B;AACH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es62.js","sources":["../../../node_modules/prop-types/index.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n"],"names":["ReactIs","require$$0","throwOnDirectAccess","propTypesModule","require$$1","require$$2"],"mappings":";;;;;AAOA,IAAI,QAAQ,IAAI,aAAa,cAAc;AACrC,MAAAA,IAAUC,KAIVC,IAAsB;AAC1BC,EAAAA,EAAA,UAAiBC,EAAA,EAAqCJ,EAAQ,WAAWE,CAAmB;AAC9F;AAGSC,EAAAA,EAAA,UAAUE,EAAsC;;;","x_google_ignoreList":[0]}
@@ -1,31 +1,36 @@
1
- function t(n) {
2
- return !!n && n instanceof Element;
1
+ import s from "react";
2
+ import { parseMergedHandlers as a, Controller as f } from "./index.es207.js";
3
+ import { r as u, e as l, f as p, s as d, w as m, m as g, h } from "./index.es208.js";
4
+ import { C as H, E as R } from "./index.es208.js";
5
+ function v(r, n = {}, o, t) {
6
+ const e = s.useMemo(() => new f(r), []);
7
+ if (e.applyHandlers(r, t), e.applyConfig(n, o), s.useEffect(e.effect.bind(e)), s.useEffect(() => e.clean.bind(e), []), n.target === void 0)
8
+ return e.bind.bind(e);
3
9
  }
4
- function i(n) {
5
- return !!n && (n instanceof SVGElement || "ownerSVGElement" in n);
10
+ function A(r) {
11
+ return r.forEach(u), function(o, t) {
12
+ const {
13
+ handlers: e,
14
+ nativeHandlers: i,
15
+ config: c
16
+ } = a(o, t || {});
17
+ return v(e, c, void 0, i);
18
+ };
6
19
  }
7
- function e(n) {
8
- return !!n && "createSVGPoint" in n;
9
- }
10
- function r(n) {
11
- return !!n && "getScreenCTM" in n;
12
- }
13
- function c(n) {
14
- return !!n && "changedTouches" in n;
15
- }
16
- function o(n) {
17
- return !!n && "clientX" in n;
18
- }
19
- function u(n) {
20
- return !!n && (n instanceof Event || "nativeEvent" in n && n.nativeEvent instanceof Event);
20
+ function M(r, n) {
21
+ return A([l, p, d, m, g, h])(r, n || {});
21
22
  }
22
23
  export {
23
- t as isElement,
24
- u as isEvent,
25
- o as isMouseEvent,
26
- i as isSVGElement,
27
- r as isSVGGraphicsElement,
28
- e as isSVGSVGElement,
29
- c as isTouchEvent
24
+ H as ConfigResolverMap,
25
+ R as EngineMap,
26
+ A as createUseGesture,
27
+ l as dragAction,
28
+ h as hoverAction,
29
+ g as moveAction,
30
+ p as pinchAction,
31
+ u as registerAction,
32
+ d as scrollAction,
33
+ M as useGesture,
34
+ m as wheelAction
30
35
  };
31
36
  //# sourceMappingURL=index.es63.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es63.js","sources":["../../../node_modules/@visx/event/esm/typeGuards.js"],"sourcesContent":["export function isElement(elem) {\n return !!elem && elem instanceof Element;\n}\n\n// functional definition of isSVGElement. Note that SVGSVGElements are HTMLElements\nexport function isSVGElement(elem) {\n return !!elem && (elem instanceof SVGElement || 'ownerSVGElement' in elem);\n}\n\n// functional definition of SVGGElement\nexport function isSVGSVGElement(elem) {\n return !!elem && 'createSVGPoint' in elem;\n}\nexport function isSVGGraphicsElement(elem) {\n return !!elem && 'getScreenCTM' in elem;\n}\n\n// functional definition of TouchEvent\nexport function isTouchEvent(event) {\n return !!event && 'changedTouches' in event;\n}\n\n// functional definition of MouseEvent\nexport function isMouseEvent(event) {\n return !!event && 'clientX' in event;\n}\n\n// functional definition of event\nexport function isEvent(event) {\n return !!event && (event instanceof Event || 'nativeEvent' in event && event.nativeEvent instanceof Event);\n}"],"names":["isElement","elem","isSVGElement","isSVGSVGElement","isSVGGraphicsElement","isTouchEvent","event","isMouseEvent","isEvent"],"mappings":"AAAO,SAASA,EAAUC,GAAM;AACvB,SAAA,CAAC,CAACA,KAAQA,aAAgB;AACnC;AAGO,SAASC,EAAaD,GAAM;AACjC,SAAO,CAAC,CAACA,MAASA,aAAgB,cAAc,qBAAqBA;AACvE;AAGO,SAASE,EAAgBF,GAAM;AAC7B,SAAA,CAAC,CAACA,KAAQ,oBAAoBA;AACvC;AACO,SAASG,EAAqBH,GAAM;AAClC,SAAA,CAAC,CAACA,KAAQ,kBAAkBA;AACrC;AAGO,SAASI,EAAaC,GAAO;AAC3B,SAAA,CAAC,CAACA,KAAS,oBAAoBA;AACxC;AAGO,SAASC,EAAaD,GAAO;AAC3B,SAAA,CAAC,CAACA,KAAS,aAAaA;AACjC;AAGO,SAASE,EAAQF,GAAO;AACtB,SAAA,CAAC,CAACA,MAAUA,aAAiB,SAAS,iBAAiBA,KAASA,EAAM,uBAAuB;AACtG;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es63.js","sources":["../../../node_modules/@use-gesture/react/dist/use-gesture-react.esm.js"],"sourcesContent":["import { registerAction, dragAction, pinchAction, wheelAction, scrollAction, moveAction, hoverAction } from '@use-gesture/core/actions';\nexport * from '@use-gesture/core/actions';\nimport React from 'react';\nimport { Controller, parseMergedHandlers } from '@use-gesture/core';\nexport * from '@use-gesture/core/utils';\nexport * from '@use-gesture/core/types';\n\nfunction useRecognizers(handlers, config = {}, gestureKey, nativeHandlers) {\n const ctrl = React.useMemo(() => new Controller(handlers), []);\n ctrl.applyHandlers(handlers, nativeHandlers);\n ctrl.applyConfig(config, gestureKey);\n React.useEffect(ctrl.effect.bind(ctrl));\n React.useEffect(() => {\n return ctrl.clean.bind(ctrl);\n }, []);\n if (config.target === undefined) {\n return ctrl.bind.bind(ctrl);\n }\n return undefined;\n}\n\nfunction useDrag(handler, config) {\n registerAction(dragAction);\n return useRecognizers({\n drag: handler\n }, config || {}, 'drag');\n}\n\nfunction usePinch(handler, config) {\n registerAction(pinchAction);\n return useRecognizers({\n pinch: handler\n }, config || {}, 'pinch');\n}\n\nfunction useWheel(handler, config) {\n registerAction(wheelAction);\n return useRecognizers({\n wheel: handler\n }, config || {}, 'wheel');\n}\n\nfunction useScroll(handler, config) {\n registerAction(scrollAction);\n return useRecognizers({\n scroll: handler\n }, config || {}, 'scroll');\n}\n\nfunction useMove(handler, config) {\n registerAction(moveAction);\n return useRecognizers({\n move: handler\n }, config || {}, 'move');\n}\n\nfunction useHover(handler, config) {\n registerAction(hoverAction);\n return useRecognizers({\n hover: handler\n }, config || {}, 'hover');\n}\n\nfunction createUseGesture(actions) {\n actions.forEach(registerAction);\n return function useGesture(_handlers, _config) {\n const {\n handlers,\n nativeHandlers,\n config\n } = parseMergedHandlers(_handlers, _config || {});\n return useRecognizers(handlers, config, undefined, nativeHandlers);\n };\n}\n\nfunction useGesture(handlers, config) {\n const hook = createUseGesture([dragAction, pinchAction, scrollAction, wheelAction, moveAction, hoverAction]);\n return hook(handlers, config || {});\n}\n\nexport { createUseGesture, useDrag, useGesture, useHover, useMove, usePinch, useScroll, useWheel };\n"],"names":["useRecognizers","handlers","config","gestureKey","nativeHandlers","ctrl","React","Controller","createUseGesture","actions","registerAction","_handlers","_config","parseMergedHandlers","useGesture","dragAction","pinchAction","scrollAction","wheelAction","moveAction","hoverAction"],"mappings":";;;;AAOA,SAASA,EAAeC,GAAUC,IAAS,CAAA,GAAIC,GAAYC,GAAgB;AACnE,QAAAC,IAAOC,EAAM,QAAQ,MAAM,IAAIC,EAAWN,CAAQ,GAAG,CAAA,CAAE;AAOzD,MANCI,EAAA,cAAcJ,GAAUG,CAAc,GACtCC,EAAA,YAAYH,GAAQC,CAAU,GACnCG,EAAM,UAAUD,EAAK,OAAO,KAAKA,CAAI,CAAC,GACtCC,EAAM,UAAU,MACPD,EAAK,MAAM,KAAKA,CAAI,GAC1B,CAAE,CAAA,GACDH,EAAO,WAAW;AACb,WAAAG,EAAK,KAAK,KAAKA,CAAI;AAG9B;AA4CA,SAASG,EAAiBC,GAAS;AACjC,SAAAA,EAAQ,QAAQC,CAAc,GACvB,SAAoBC,GAAWC,GAAS;AACvC,UAAA;AAAA,MACJ,UAAAX;AAAA,MACA,gBAAAG;AAAA,MACA,QAAAF;AAAA,IACE,IAAAW,EAAoBF,GAAWC,KAAW,CAAE,CAAA;AAChD,WAAOZ,EAAeC,GAAUC,GAAQ,QAAWE,CAAc;AAAA,EAAA;AAErE;AAEA,SAASU,EAAWb,GAAUC,GAAQ;AAEpC,SADaM,EAAiB,CAACO,GAAYC,GAAaC,GAAcC,GAAaC,GAAYC,CAAW,CAAC,EAC/FnB,GAAUC,KAAU,CAAE,CAAA;AACpC;","x_google_ignoreList":[0]}
@@ -1,16 +1,98 @@
1
- import { getDefaultExportFromCjs as e } from "./index.es190.js";
2
- import { __module as r } from "./index.es191.js";
3
- import { __require as o } from "./index.es192.js";
4
- import { __require as t } from "./index.es193.js";
5
- import { __require as p } from "./index.es194.js";
6
- if (process.env.NODE_ENV !== "production") {
7
- var s = o(), i = !0;
8
- r.exports = t()(s.isElement, i);
9
- } else
10
- r.exports = p()();
11
- var m = r.exports;
12
- const q = /* @__PURE__ */ e(m);
1
+ function f() {
2
+ return {
3
+ scaleX: 1,
4
+ scaleY: 1,
5
+ translateX: 0,
6
+ translateY: 0,
7
+ skewX: 0,
8
+ skewY: 0
9
+ };
10
+ }
11
+ function w(e) {
12
+ var s = e.scaleX, a = s === void 0 ? 1 : s, n = e.scaleY, r = n === void 0 ? 1 : n, t = e.translateX, c = t === void 0 ? 0 : t, l = e.translateY, u = l === void 0 ? 0 : l, X = e.skewX, k = X === void 0 ? 0 : X, Y = e.skewY, v = Y === void 0 ? 0 : Y;
13
+ return {
14
+ scaleX: a,
15
+ scaleY: r,
16
+ translateX: c,
17
+ translateY: u,
18
+ skewX: k,
19
+ skewY: v
20
+ };
21
+ }
22
+ function d(e) {
23
+ var s = e.scaleX, a = e.scaleY, n = e.translateX, r = e.translateY, t = e.skewX, c = e.skewY, l = s * a - c * t;
24
+ return {
25
+ scaleX: a / l,
26
+ scaleY: s / l,
27
+ translateX: (a * n - t * r) / -l,
28
+ translateY: (c * n - s * r) / l,
29
+ skewX: t / -l,
30
+ skewY: c / -l
31
+ };
32
+ }
33
+ function p(e, s) {
34
+ var a = s.x, n = s.y;
35
+ return {
36
+ x: e.scaleX * a + e.skewX * n + e.translateX,
37
+ y: e.skewY * a + e.scaleY * n + e.translateY
38
+ };
39
+ }
40
+ function g(e, s) {
41
+ var a = s.x, n = s.y;
42
+ return p(d(e), {
43
+ x: a,
44
+ y: n
45
+ });
46
+ }
47
+ function y(e, s) {
48
+ s === void 0 && (s = void 0);
49
+ var a = s || e;
50
+ return w({
51
+ scaleX: e,
52
+ scaleY: a
53
+ });
54
+ }
55
+ function $(e, s) {
56
+ return w({
57
+ translateX: e,
58
+ translateY: s
59
+ });
60
+ }
61
+ function o(e, s) {
62
+ return {
63
+ scaleX: e.scaleX * s.scaleX + e.skewX * s.skewY,
64
+ scaleY: e.skewY * s.skewX + e.scaleY * s.scaleY,
65
+ translateX: e.scaleX * s.translateX + e.skewX * s.translateY + e.translateX,
66
+ translateY: e.skewY * s.translateX + e.scaleY * s.translateY + e.translateY,
67
+ skewX: e.scaleX * s.skewX + e.skewX * s.scaleY,
68
+ skewY: e.skewY * s.scaleX + e.scaleY * s.skewY
69
+ };
70
+ }
71
+ function M() {
72
+ for (var e = arguments.length, s = new Array(e), a = 0; a < e; a++)
73
+ s[a] = arguments[a];
74
+ switch (s.length) {
75
+ case 0:
76
+ throw new Error("composeMatrices() requires arguments: was called with no args");
77
+ case 1:
78
+ return s[0];
79
+ case 2:
80
+ return o(s[0], s[1]);
81
+ default: {
82
+ var n = s[0], r = s[1], t = s.slice(2), c = o(n, r);
83
+ return M.apply(void 0, [c].concat(t));
84
+ }
85
+ }
86
+ }
13
87
  export {
14
- q as default
88
+ g as applyInverseMatrixToPoint,
89
+ p as applyMatrixToPoint,
90
+ M as composeMatrices,
91
+ w as createMatrix,
92
+ f as identityMatrix,
93
+ d as inverseMatrix,
94
+ o as multiplyMatrices,
95
+ y as scaleMatrix,
96
+ $ as translateMatrix
15
97
  };
16
98
  //# sourceMappingURL=index.es64.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es64.js","sources":["../../../node_modules/prop-types/index.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n"],"names":["ReactIs","require$$0","throwOnDirectAccess","propTypesModule","require$$1","require$$2"],"mappings":";;;;;AAOA,IAAI,QAAQ,IAAI,aAAa,cAAc;AACrC,MAAAA,IAAUC,KAIVC,IAAsB;AAC1BC,EAAAA,EAAA,UAAiBC,EAAA,EAAqCJ,EAAQ,WAAWE,CAAmB;AAC9F;AAGSC,EAAAA,EAAA,UAAUE,EAAsC;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es64.js","sources":["../../../node_modules/@visx/zoom/esm/util/matrix.js"],"sourcesContent":["export function identityMatrix() {\n return {\n scaleX: 1,\n scaleY: 1,\n translateX: 0,\n translateY: 0,\n skewX: 0,\n skewY: 0\n };\n}\nexport function createMatrix(_ref) {\n var _ref$scaleX = _ref.scaleX,\n scaleX = _ref$scaleX === void 0 ? 1 : _ref$scaleX,\n _ref$scaleY = _ref.scaleY,\n scaleY = _ref$scaleY === void 0 ? 1 : _ref$scaleY,\n _ref$translateX = _ref.translateX,\n translateX = _ref$translateX === void 0 ? 0 : _ref$translateX,\n _ref$translateY = _ref.translateY,\n translateY = _ref$translateY === void 0 ? 0 : _ref$translateY,\n _ref$skewX = _ref.skewX,\n skewX = _ref$skewX === void 0 ? 0 : _ref$skewX,\n _ref$skewY = _ref.skewY,\n skewY = _ref$skewY === void 0 ? 0 : _ref$skewY;\n return {\n scaleX: scaleX,\n scaleY: scaleY,\n translateX: translateX,\n translateY: translateY,\n skewX: skewX,\n skewY: skewY\n };\n}\nexport function inverseMatrix(_ref2) {\n var scaleX = _ref2.scaleX,\n scaleY = _ref2.scaleY,\n translateX = _ref2.translateX,\n translateY = _ref2.translateY,\n skewX = _ref2.skewX,\n skewY = _ref2.skewY;\n var denominator = scaleX * scaleY - skewY * skewX;\n return {\n scaleX: scaleY / denominator,\n scaleY: scaleX / denominator,\n translateX: (scaleY * translateX - skewX * translateY) / -denominator,\n translateY: (skewY * translateX - scaleX * translateY) / denominator,\n skewX: skewX / -denominator,\n skewY: skewY / -denominator\n };\n}\nexport function applyMatrixToPoint(matrix, _ref3) {\n var x = _ref3.x,\n y = _ref3.y;\n return {\n x: matrix.scaleX * x + matrix.skewX * y + matrix.translateX,\n y: matrix.skewY * x + matrix.scaleY * y + matrix.translateY\n };\n}\nexport function applyInverseMatrixToPoint(matrix, _ref4) {\n var x = _ref4.x,\n y = _ref4.y;\n return applyMatrixToPoint(inverseMatrix(matrix), {\n x: x,\n y: y\n });\n}\nexport function scaleMatrix(scaleX, maybeScaleY) {\n if (maybeScaleY === void 0) {\n maybeScaleY = undefined;\n }\n var scaleY = maybeScaleY || scaleX;\n return createMatrix({\n scaleX: scaleX,\n scaleY: scaleY\n });\n}\nexport function translateMatrix(translateX, translateY) {\n return createMatrix({\n translateX: translateX,\n translateY: translateY\n });\n}\nexport function multiplyMatrices(matrix1, matrix2) {\n return {\n scaleX: matrix1.scaleX * matrix2.scaleX + matrix1.skewX * matrix2.skewY,\n scaleY: matrix1.skewY * matrix2.skewX + matrix1.scaleY * matrix2.scaleY,\n translateX: matrix1.scaleX * matrix2.translateX + matrix1.skewX * matrix2.translateY + matrix1.translateX,\n translateY: matrix1.skewY * matrix2.translateX + matrix1.scaleY * matrix2.translateY + matrix1.translateY,\n skewX: matrix1.scaleX * matrix2.skewX + matrix1.skewX * matrix2.scaleY,\n skewY: matrix1.skewY * matrix2.scaleX + matrix1.scaleY * matrix2.skewY\n };\n}\nexport function composeMatrices() {\n for (var _len = arguments.length, matrices = new Array(_len), _key = 0; _key < _len; _key++) {\n matrices[_key] = arguments[_key];\n }\n switch (matrices.length) {\n case 0:\n throw new Error('composeMatrices() requires arguments: was called with no args');\n case 1:\n return matrices[0];\n case 2:\n return multiplyMatrices(matrices[0], matrices[1]);\n default:\n {\n var matrix1 = matrices[0],\n matrix2 = matrices[1],\n restMatrices = matrices.slice(2);\n var matrix = multiplyMatrices(matrix1, matrix2);\n return composeMatrices.apply(void 0, [matrix].concat(restMatrices));\n }\n }\n}"],"names":["identityMatrix","createMatrix","_ref","_ref$scaleX","scaleX","_ref$scaleY","scaleY","_ref$translateX","translateX","_ref$translateY","translateY","_ref$skewX","skewX","_ref$skewY","skewY","inverseMatrix","_ref2","denominator","applyMatrixToPoint","matrix","_ref3","x","y","applyInverseMatrixToPoint","_ref4","scaleMatrix","maybeScaleY","translateMatrix","multiplyMatrices","matrix1","matrix2","composeMatrices","_len","matrices","_key","restMatrices"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,36 +1,24 @@
1
- import s from "react";
2
- import { parseMergedHandlers as a, Controller as f } from "./index.es196.js";
3
- import { r as u, e as l, f as p, s as d, w as m, m as g, h } from "./index.es197.js";
4
- import { C as H, E as R } from "./index.es197.js";
5
- function v(r, n = {}, o, t) {
6
- const e = s.useMemo(() => new f(r), []);
7
- if (e.applyHandlers(r, t), e.applyConfig(n, o), s.useEffect(e.effect.bind(e)), s.useEffect(() => e.clean.bind(e), []), n.target === void 0)
8
- return e.bind.bind(e);
9
- }
10
- function A(r) {
11
- return r.forEach(u), function(o, t) {
12
- const {
13
- handlers: e,
14
- nativeHandlers: i,
15
- config: c
16
- } = a(o, t || {});
17
- return v(e, c, void 0, i);
18
- };
19
- }
20
- function M(r, n) {
21
- return A([l, p, d, m, g, h])(r, n || {});
1
+ import { isSVGElement as c, isSVGGraphicsElement as f, isSVGSVGElement as s } from "./index.es66.js";
2
+ import o from "./index.es194.js";
3
+ import a from "./index.es195.js";
4
+ function G(r, l) {
5
+ if (!r || !l)
6
+ return null;
7
+ var t = o(l), n = c(r) ? r.ownerSVGElement : r, i = f(n) ? n.getScreenCTM() : null;
8
+ if (s(n) && i) {
9
+ var e = n.createSVGPoint();
10
+ return e.x = t.x, e.y = t.y, e = e.matrixTransform(i.inverse()), new a({
11
+ x: e.x,
12
+ y: e.y
13
+ });
14
+ }
15
+ var m = r.getBoundingClientRect();
16
+ return new a({
17
+ x: t.x - m.left - r.clientLeft,
18
+ y: t.y - m.top - r.clientTop
19
+ });
22
20
  }
23
21
  export {
24
- H as ConfigResolverMap,
25
- R as EngineMap,
26
- A as createUseGesture,
27
- l as dragAction,
28
- h as hoverAction,
29
- g as moveAction,
30
- p as pinchAction,
31
- u as registerAction,
32
- d as scrollAction,
33
- M as useGesture,
34
- m as wheelAction
22
+ G as default
35
23
  };
36
24
  //# sourceMappingURL=index.es65.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es65.js","sources":["../../../node_modules/@use-gesture/react/dist/use-gesture-react.esm.js"],"sourcesContent":["import { registerAction, dragAction, pinchAction, wheelAction, scrollAction, moveAction, hoverAction } from '@use-gesture/core/actions';\nexport * from '@use-gesture/core/actions';\nimport React from 'react';\nimport { Controller, parseMergedHandlers } from '@use-gesture/core';\nexport * from '@use-gesture/core/utils';\nexport * from '@use-gesture/core/types';\n\nfunction useRecognizers(handlers, config = {}, gestureKey, nativeHandlers) {\n const ctrl = React.useMemo(() => new Controller(handlers), []);\n ctrl.applyHandlers(handlers, nativeHandlers);\n ctrl.applyConfig(config, gestureKey);\n React.useEffect(ctrl.effect.bind(ctrl));\n React.useEffect(() => {\n return ctrl.clean.bind(ctrl);\n }, []);\n if (config.target === undefined) {\n return ctrl.bind.bind(ctrl);\n }\n return undefined;\n}\n\nfunction useDrag(handler, config) {\n registerAction(dragAction);\n return useRecognizers({\n drag: handler\n }, config || {}, 'drag');\n}\n\nfunction usePinch(handler, config) {\n registerAction(pinchAction);\n return useRecognizers({\n pinch: handler\n }, config || {}, 'pinch');\n}\n\nfunction useWheel(handler, config) {\n registerAction(wheelAction);\n return useRecognizers({\n wheel: handler\n }, config || {}, 'wheel');\n}\n\nfunction useScroll(handler, config) {\n registerAction(scrollAction);\n return useRecognizers({\n scroll: handler\n }, config || {}, 'scroll');\n}\n\nfunction useMove(handler, config) {\n registerAction(moveAction);\n return useRecognizers({\n move: handler\n }, config || {}, 'move');\n}\n\nfunction useHover(handler, config) {\n registerAction(hoverAction);\n return useRecognizers({\n hover: handler\n }, config || {}, 'hover');\n}\n\nfunction createUseGesture(actions) {\n actions.forEach(registerAction);\n return function useGesture(_handlers, _config) {\n const {\n handlers,\n nativeHandlers,\n config\n } = parseMergedHandlers(_handlers, _config || {});\n return useRecognizers(handlers, config, undefined, nativeHandlers);\n };\n}\n\nfunction useGesture(handlers, config) {\n const hook = createUseGesture([dragAction, pinchAction, scrollAction, wheelAction, moveAction, hoverAction]);\n return hook(handlers, config || {});\n}\n\nexport { createUseGesture, useDrag, useGesture, useHover, useMove, usePinch, useScroll, useWheel };\n"],"names":["useRecognizers","handlers","config","gestureKey","nativeHandlers","ctrl","React","Controller","createUseGesture","actions","registerAction","_handlers","_config","parseMergedHandlers","useGesture","dragAction","pinchAction","scrollAction","wheelAction","moveAction","hoverAction"],"mappings":";;;;AAOA,SAASA,EAAeC,GAAUC,IAAS,CAAA,GAAIC,GAAYC,GAAgB;AACnE,QAAAC,IAAOC,EAAM,QAAQ,MAAM,IAAIC,EAAWN,CAAQ,GAAG,CAAA,CAAE;AAOzD,MANCI,EAAA,cAAcJ,GAAUG,CAAc,GACtCC,EAAA,YAAYH,GAAQC,CAAU,GACnCG,EAAM,UAAUD,EAAK,OAAO,KAAKA,CAAI,CAAC,GACtCC,EAAM,UAAU,MACPD,EAAK,MAAM,KAAKA,CAAI,GAC1B,CAAE,CAAA,GACDH,EAAO,WAAW;AACb,WAAAG,EAAK,KAAK,KAAKA,CAAI;AAG9B;AA4CA,SAASG,EAAiBC,GAAS;AACjC,SAAAA,EAAQ,QAAQC,CAAc,GACvB,SAAoBC,GAAWC,GAAS;AACvC,UAAA;AAAA,MACJ,UAAAX;AAAA,MACA,gBAAAG;AAAA,MACA,QAAAF;AAAA,IACE,IAAAW,EAAoBF,GAAWC,KAAW,CAAE,CAAA;AAChD,WAAOZ,EAAeC,GAAUC,GAAQ,QAAWE,CAAc;AAAA,EAAA;AAErE;AAEA,SAASU,EAAWb,GAAUC,GAAQ;AAEpC,SADaM,EAAiB,CAACO,GAAYC,GAAaC,GAAcC,GAAaC,GAAYC,CAAW,CAAC,EAC/FnB,GAAUC,KAAU,CAAE,CAAA;AACpC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es65.js","sources":["../../../node_modules/@visx/event/esm/localPointGeneric.js"],"sourcesContent":["import { Point } from '@visx/point';\nimport { isSVGElement, isSVGGraphicsElement, isSVGSVGElement } from './typeGuards';\nimport getXAndYFromEvent from './getXAndYFromEvent';\nexport default function localPoint(node, event) {\n if (!node || !event) return null;\n var coords = getXAndYFromEvent(event);\n\n // find top-most SVG\n var svg = isSVGElement(node) ? node.ownerSVGElement : node;\n var screenCTM = isSVGGraphicsElement(svg) ? svg.getScreenCTM() : null;\n if (isSVGSVGElement(svg) && screenCTM) {\n var point = svg.createSVGPoint();\n point.x = coords.x;\n point.y = coords.y;\n point = point.matrixTransform(screenCTM.inverse());\n return new Point({\n x: point.x,\n y: point.y\n });\n }\n\n // fall back to bounding box\n var rect = node.getBoundingClientRect();\n return new Point({\n x: coords.x - rect.left - node.clientLeft,\n y: coords.y - rect.top - node.clientTop\n });\n}"],"names":["localPoint","node","event","coords","getXAndYFromEvent","svg","isSVGElement","screenCTM","isSVGGraphicsElement","isSVGSVGElement","point","Point","rect"],"mappings":";;;AAGwB,SAAAA,EAAWC,GAAMC,GAAO;AAC1C,MAAA,CAACD,KAAQ,CAACC;AAAc,WAAA;AACxB,MAAAC,IAASC,EAAkBF,CAAK,GAGhCG,IAAMC,EAAaL,CAAI,IAAIA,EAAK,kBAAkBA,GAClDM,IAAYC,EAAqBH,CAAG,IAAIA,EAAI,aAAiB,IAAA;AAC7D,MAAAI,EAAgBJ,CAAG,KAAKE,GAAW;AACjC,QAAAG,IAAQL,EAAI;AAChB,WAAAK,EAAM,IAAIP,EAAO,GACjBO,EAAM,IAAIP,EAAO,GACjBO,IAAQA,EAAM,gBAAgBH,EAAU,QAAS,CAAA,GAC1C,IAAII,EAAM;AAAA,MACf,GAAGD,EAAM;AAAA,MACT,GAAGA,EAAM;AAAA,IAAA,CACV;AAAA,EACH;AAGI,MAAAE,IAAOX,EAAK;AAChB,SAAO,IAAIU,EAAM;AAAA,IACf,GAAGR,EAAO,IAAIS,EAAK,OAAOX,EAAK;AAAA,IAC/B,GAAGE,EAAO,IAAIS,EAAK,MAAMX,EAAK;AAAA,EAAA,CAC/B;AACH;","x_google_ignoreList":[0]}