@pie-lib/graphing-solution-set 4.0.4-next.0 → 4.0.4-next.102

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 (332) hide show
  1. package/CHANGELOG.json +1 -0
  2. package/CHANGELOG.md +449 -0
  3. package/LICENSE.md +5 -0
  4. package/lib/axis/arrow.js +79 -0
  5. package/lib/axis/arrow.js.map +1 -0
  6. package/lib/axis/axes.js +327 -0
  7. package/lib/axis/axes.js.map +1 -0
  8. package/lib/axis/index.js +21 -0
  9. package/lib/axis/index.js.map +1 -0
  10. package/lib/bg.js +114 -0
  11. package/lib/bg.js.map +1 -0
  12. package/lib/container/actions.js +18 -0
  13. package/lib/container/actions.js.map +1 -0
  14. package/lib/container/index.js +129 -0
  15. package/lib/container/index.js.map +1 -0
  16. package/lib/container/marks.js +22 -0
  17. package/lib/container/marks.js.map +1 -0
  18. package/lib/container/middleware.js +19 -0
  19. package/lib/container/middleware.js.map +1 -0
  20. package/lib/container/reducer.js +18 -0
  21. package/lib/container/reducer.js.map +1 -0
  22. package/lib/coordinates-label.js +77 -0
  23. package/lib/coordinates-label.js.map +1 -0
  24. package/lib/graph-with-controls.js +297 -0
  25. package/lib/graph-with-controls.js.map +1 -0
  26. package/lib/graph.js +353 -0
  27. package/lib/graph.js.map +1 -0
  28. package/lib/grid-setup.js +414 -0
  29. package/lib/grid-setup.js.map +1 -0
  30. package/lib/grid.js +131 -0
  31. package/lib/grid.js.map +1 -0
  32. package/lib/index.js +40 -0
  33. package/lib/index.js.map +1 -0
  34. package/lib/labels.js +199 -0
  35. package/lib/labels.js.map +1 -0
  36. package/lib/mark-label.js +159 -0
  37. package/lib/mark-label.js.map +1 -0
  38. package/lib/toggle-bar.js +248 -0
  39. package/lib/toggle-bar.js.map +1 -0
  40. package/lib/tool-menu.js +218 -0
  41. package/lib/tool-menu.js.map +1 -0
  42. package/lib/tools/index.js +24 -0
  43. package/lib/tools/index.js.map +1 -0
  44. package/lib/tools/line/component.js +92 -0
  45. package/lib/tools/line/component.js.map +1 -0
  46. package/lib/tools/line/index.js +11 -0
  47. package/lib/tools/line/index.js.map +1 -0
  48. package/lib/tools/polygon/component.js +358 -0
  49. package/lib/tools/polygon/component.js.map +1 -0
  50. package/lib/tools/polygon/index.js +89 -0
  51. package/lib/tools/polygon/index.js.map +1 -0
  52. package/lib/tools/polygon/line.js +114 -0
  53. package/lib/tools/polygon/line.js.map +1 -0
  54. package/lib/tools/polygon/polygon.js +128 -0
  55. package/lib/tools/polygon/polygon.js.map +1 -0
  56. package/lib/tools/shared/arrow-head.js +62 -0
  57. package/lib/tools/shared/arrow-head.js.map +1 -0
  58. package/lib/tools/shared/line/index.js +539 -0
  59. package/lib/tools/shared/line/index.js.map +1 -0
  60. package/lib/tools/shared/line/line-path.js +121 -0
  61. package/lib/tools/shared/line/line-path.js.map +1 -0
  62. package/lib/tools/shared/line/with-root-edge.js +121 -0
  63. package/lib/tools/shared/line/with-root-edge.js.map +1 -0
  64. package/lib/tools/shared/point/arrow-point.js +86 -0
  65. package/lib/tools/shared/point/arrow-point.js.map +1 -0
  66. package/lib/tools/shared/point/arrow.js +70 -0
  67. package/lib/tools/shared/point/arrow.js.map +1 -0
  68. package/lib/tools/shared/point/base-point.js +137 -0
  69. package/lib/tools/shared/point/base-point.js.map +1 -0
  70. package/lib/tools/shared/point/index.js +80 -0
  71. package/lib/tools/shared/point/index.js.map +1 -0
  72. package/lib/tools/shared/styles.js +26 -0
  73. package/lib/tools/shared/styles.js.map +1 -0
  74. package/lib/tools/shared/types.js +15 -0
  75. package/lib/tools/shared/types.js.map +1 -0
  76. package/lib/undo-redo.js +67 -0
  77. package/lib/undo-redo.js.map +1 -0
  78. package/lib/use-debounce.js +25 -0
  79. package/lib/use-debounce.js.map +1 -0
  80. package/lib/utils.js +235 -0
  81. package/lib/utils.js.map +1 -0
  82. package/package.json +27 -37
  83. package/src/__tests__/bg.test.jsx +250 -0
  84. package/src/__tests__/coordinates-label.test.jsx +243 -0
  85. package/src/__tests__/graph-with-controls.test.jsx +184 -0
  86. package/src/__tests__/graph.test.jsx +93 -0
  87. package/src/__tests__/grid-setup.test.jsx +645 -0
  88. package/src/__tests__/grid.test.jsx +23 -0
  89. package/src/__tests__/labels.test.jsx +41 -0
  90. package/src/__tests__/mark-label.test.jsx +66 -0
  91. package/src/__tests__/toggle-bar.test.jsx +106 -0
  92. package/src/__tests__/tool-menu.test.jsx +453 -0
  93. package/src/__tests__/undo-redo.test.jsx +26 -0
  94. package/src/__tests__/use-debounce.test.js +21 -0
  95. package/src/__tests__/utils.js +41 -0
  96. package/src/__tests__/utils.test.js +105 -0
  97. package/src/axis/__tests__/arrow.test.jsx +43 -0
  98. package/src/axis/__tests__/axes.test.jsx +182 -0
  99. package/src/axis/arrow.jsx +57 -0
  100. package/src/axis/axes.jsx +284 -0
  101. package/src/axis/index.js +3 -0
  102. package/src/bg.jsx +96 -0
  103. package/src/container/__tests__/actions.test.js +105 -0
  104. package/src/container/__tests__/index.test.jsx +227 -0
  105. package/src/container/__tests__/marks.test.js +172 -0
  106. package/src/container/__tests__/middleware.test.js +235 -0
  107. package/src/container/__tests__/reducer.test.js +324 -0
  108. package/src/container/actions.js +8 -0
  109. package/src/container/index.jsx +93 -0
  110. package/src/container/marks.js +14 -0
  111. package/src/container/middleware.js +7 -0
  112. package/src/container/reducer.js +5 -0
  113. package/src/coordinates-label.jsx +62 -0
  114. package/src/graph-with-controls.jsx +242 -0
  115. package/src/graph.jsx +333 -0
  116. package/src/grid-setup.jsx +432 -0
  117. package/src/grid.jsx +133 -0
  118. package/src/index.js +7 -0
  119. package/src/labels.jsx +173 -0
  120. package/src/mark-label.jsx +125 -0
  121. package/src/toggle-bar.jsx +221 -0
  122. package/src/tool-menu.jsx +235 -0
  123. package/src/tools/index.js +8 -0
  124. package/src/tools/line/__tests__/component.test.jsx +37 -0
  125. package/src/tools/line/component.jsx +77 -0
  126. package/src/tools/line/index.js +4 -0
  127. package/src/tools/polygon/__tests__/component.test.jsx +487 -0
  128. package/src/tools/polygon/__tests__/index.test.js +65 -0
  129. package/src/tools/polygon/__tests__/line.test.jsx +23 -0
  130. package/src/tools/polygon/__tests__/polygon.test.jsx +44 -0
  131. package/src/tools/polygon/component.jsx +324 -0
  132. package/src/tools/polygon/index.js +52 -0
  133. package/src/tools/polygon/line.jsx +80 -0
  134. package/src/tools/polygon/polygon.jsx +93 -0
  135. package/src/tools/shared/__tests__/arrow-head.test.jsx +33 -0
  136. package/src/tools/shared/arrow-head.jsx +46 -0
  137. package/src/tools/shared/line/__tests__/index.test.jsx +553 -0
  138. package/src/tools/shared/line/__tests__/line-path.test.jsx +56 -0
  139. package/src/tools/shared/line/__tests__/with-root-edge.test.jsx +488 -0
  140. package/src/tools/shared/line/index.jsx +471 -0
  141. package/src/tools/shared/line/line-path.jsx +85 -0
  142. package/src/tools/shared/line/with-root-edge.jsx +97 -0
  143. package/src/tools/shared/point/__tests__/arrow-point.test.jsx +91 -0
  144. package/src/tools/shared/point/__tests__/arrow.test.jsx +469 -0
  145. package/src/tools/shared/point/__tests__/base-point.test.jsx +87 -0
  146. package/src/tools/shared/point/arrow-point.jsx +60 -0
  147. package/src/tools/shared/point/arrow.jsx +40 -0
  148. package/src/tools/shared/point/base-point.jsx +113 -0
  149. package/src/tools/shared/point/index.jsx +58 -0
  150. package/src/tools/shared/styles.js +20 -0
  151. package/src/tools/shared/types.js +8 -0
  152. package/src/undo-redo.jsx +37 -0
  153. package/src/use-debounce.js +13 -0
  154. package/src/utils.js +230 -0
  155. package/dist/_virtual/_rolldown/runtime.js +0 -23
  156. package/dist/axis/arrow.d.ts +0 -13
  157. package/dist/axis/arrow.js +0 -34
  158. package/dist/axis/axes.d.ts +0 -132
  159. package/dist/axis/axes.js +0 -214
  160. package/dist/axis/index.d.ts +0 -10
  161. package/dist/bg.d.ts +0 -51
  162. package/dist/bg.js +0 -44
  163. package/dist/container/actions.d.ts +0 -15
  164. package/dist/container/actions.js +0 -7
  165. package/dist/container/index.d.ts +0 -26
  166. package/dist/container/index.js +0 -50
  167. package/dist/container/marks.d.ts +0 -10
  168. package/dist/container/marks.js +0 -11
  169. package/dist/container/middleware.d.ts +0 -10
  170. package/dist/container/middleware.js +0 -4
  171. package/dist/container/reducer.d.ts +0 -12
  172. package/dist/container/reducer.js +0 -7
  173. package/dist/coordinates-label.d.ts +0 -50
  174. package/dist/coordinates-label.js +0 -46
  175. package/dist/graph-with-controls.d.ts +0 -85
  176. package/dist/graph-with-controls.js +0 -155
  177. package/dist/graph.d.ts +0 -119
  178. package/dist/graph.js +0 -221
  179. package/dist/grid-setup.d.ts +0 -27
  180. package/dist/grid-setup.js +0 -307
  181. package/dist/grid.d.ts +0 -43
  182. package/dist/grid.js +0 -59
  183. package/dist/index.d.ts +0 -14
  184. package/dist/index.js +0 -6
  185. package/dist/labels.d.ts +0 -73
  186. package/dist/labels.js +0 -134
  187. package/dist/mark-label.d.ts +0 -50
  188. package/dist/mark-label.js +0 -84
  189. package/dist/node_modules/.bun/@babel_runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -7
  190. package/dist/node_modules/.bun/@babel_runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -12
  191. package/dist/node_modules/.bun/@babel_runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js +0 -12
  192. package/dist/node_modules/.bun/@babel_runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -7
  193. package/dist/node_modules/.bun/@babel_runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -25
  194. package/dist/node_modules/.bun/@babel_runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -12
  195. package/dist/node_modules/.bun/@babel_runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -8
  196. package/dist/node_modules/.bun/@babel_runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -14
  197. package/dist/node_modules/.bun/@babel_runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -9
  198. package/dist/node_modules/.bun/@babel_runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -11
  199. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/Axis.js +0 -100
  200. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/AxisRenderer.js +0 -61
  201. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/Ticks.js +0 -42
  202. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/constants/orientation.js +0 -9
  203. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/createPoint.js +0 -14
  204. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getAxisRangePaddingConfig.js +0 -21
  205. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getLabelTransform.js +0 -16
  206. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getTickFormatter.js +0 -8
  207. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getTickPosition.js +0 -15
  208. package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/Grid.js +0 -78
  209. package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridColumns.js +0 -79
  210. package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridRows.js +0 -79
  211. package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/utils/getScaleBandwidth.js +0 -6
  212. package/dist/node_modules/.bun/@visx_group@3.12.0_f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js +0 -49
  213. package/dist/node_modules/.bun/@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js +0 -18
  214. package/dist/node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/coerceNumber.js +0 -10
  215. package/dist/node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/getTicks.js +0 -9
  216. package/dist/node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/toString.js +0 -6
  217. package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/shapes/Line.js +0 -46
  218. package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/lib/shapes/Line.js +0 -52
  219. package/dist/node_modules/.bun/@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/Text.js +0 -57
  220. package/dist/node_modules/.bun/@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/hooks/useText.js +0 -91
  221. package/dist/node_modules/.bun/@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/util/getStringWidth.js +0 -21
  222. package/dist/node_modules/.bun/balanced-match@0.4.2/node_modules/balanced-match/index.js +0 -32
  223. package/dist/node_modules/.bun/balanced-match@1.0.2/node_modules/balanced-match/index.js +0 -33
  224. package/dist/node_modules/.bun/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -68
  225. package/dist/node_modules/.bun/invariant@2.2.4/node_modules/invariant/browser.js +0 -28
  226. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_Hash.js +0 -21
  227. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_ListCache.js +0 -21
  228. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_Map.js +0 -10
  229. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_MapCache.js +0 -21
  230. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_Symbol.js +0 -9
  231. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_assocIndexOf.js +0 -14
  232. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_baseGetTag.js +0 -15
  233. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_baseIsNative.js +0 -16
  234. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_coreJsData.js +0 -9
  235. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_freeGlobal.js +0 -8
  236. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getMapData.js +0 -14
  237. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getNative.js +0 -15
  238. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getRawTag.js +0 -19
  239. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getValue.js +0 -11
  240. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashClear.js +0 -13
  241. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashDelete.js +0 -12
  242. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashGet.js +0 -18
  243. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashHas.js +0 -14
  244. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashSet.js +0 -14
  245. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_isKeyable.js +0 -12
  246. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_isMasked.js +0 -16
  247. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheClear.js +0 -11
  248. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheDelete.js +0 -14
  249. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheGet.js +0 -14
  250. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheHas.js +0 -13
  251. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheSet.js +0 -14
  252. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheClear.js +0 -19
  253. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheDelete.js +0 -14
  254. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheGet.js +0 -13
  255. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheHas.js +0 -13
  256. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheSet.js +0 -14
  257. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_nativeCreate.js +0 -9
  258. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_objectToString.js +0 -12
  259. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_root.js +0 -10
  260. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_toSource.js +0 -20
  261. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/eq.js +0 -11
  262. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/isFunction.js +0 -16
  263. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/isObject.js +0 -12
  264. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/memoize.js +0 -20
  265. package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/formula_evaluator.js +0 -37
  266. package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/lexer.js +0 -509
  267. package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/math_function.js +0 -108
  268. package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/postfix.js +0 -31
  269. package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/postfix_evaluator.js +0 -45
  270. package/dist/node_modules/.bun/react-input-autosize@2.2.2_f4eacebf2041cd4f/node_modules/react-input-autosize/lib/AutosizeInput.js +0 -216
  271. package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +0 -82
  272. package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +0 -62
  273. package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/index.js +0 -10
  274. package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/components/Context.js +0 -5
  275. package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/components/Provider.js +0 -47
  276. package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/components/connectAdvanced.js +0 -95
  277. package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/connect/connect.js +0 -52
  278. package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/connect/mapDispatchToProps.js +0 -23
  279. package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/connect/mapStateToProps.js +0 -13
  280. package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/connect/mergeProps.js +0 -26
  281. package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/connect/selectorFactory.js +0 -41
  282. package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/connect/verifySubselectors.js +0 -11
  283. package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/connect/wrapMapToProps.js +0 -28
  284. package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/index.js +0 -4
  285. package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/utils/isPlainObject.js +0 -10
  286. package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/utils/shallowEqual.js +0 -15
  287. package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/utils/verifyPlainObject.js +0 -8
  288. package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/utils/warning.js +0 -9
  289. package/dist/node_modules/.bun/reduce-css-calc@1.3.0/node_modules/reduce-css-calc/index.js +0 -49
  290. package/dist/node_modules/.bun/reduce-function-call@1.0.3/node_modules/reduce-function-call/index.js +0 -34
  291. package/dist/node_modules/.bun/redux-undo@1.1.0/node_modules/redux-undo/dist/redux-undo.js +0 -185
  292. package/dist/node_modules/.bun/redux@4.2.1/node_modules/redux/es/redux.js +0 -225
  293. package/dist/toggle-bar.d.ts +0 -40
  294. package/dist/tool-menu.d.ts +0 -21
  295. package/dist/tool-menu.js +0 -188
  296. package/dist/tools/index.d.ts +0 -17
  297. package/dist/tools/index.js +0 -12
  298. package/dist/tools/line/component.d.ts +0 -113
  299. package/dist/tools/line/component.js +0 -58
  300. package/dist/tools/line/index.d.ts +0 -13
  301. package/dist/tools/line/index.js +0 -6
  302. package/dist/tools/polygon/component.d.ts +0 -114
  303. package/dist/tools/polygon/component.js +0 -194
  304. package/dist/tools/polygon/index.d.ts +0 -19
  305. package/dist/tools/polygon/index.js +0 -55
  306. package/dist/tools/polygon/line.d.ts +0 -125
  307. package/dist/tools/polygon/polygon.d.ts +0 -122
  308. package/dist/tools/polygon/polygon.js +0 -62
  309. package/dist/tools/shared/arrow-head.d.ts +0 -43
  310. package/dist/tools/shared/arrow-head.js +0 -37
  311. package/dist/tools/shared/line/index.d.ts +0 -240
  312. package/dist/tools/shared/line/index.js +0 -320
  313. package/dist/tools/shared/line/line-path.d.ts +0 -57
  314. package/dist/tools/shared/line/with-root-edge.d.ts +0 -143
  315. package/dist/tools/shared/point/arrow-point.d.ts +0 -57
  316. package/dist/tools/shared/point/arrow-point.js +0 -47
  317. package/dist/tools/shared/point/arrow.d.ts +0 -46
  318. package/dist/tools/shared/point/arrow.js +0 -36
  319. package/dist/tools/shared/point/base-point.d.ts +0 -50
  320. package/dist/tools/shared/point/base-point.js +0 -88
  321. package/dist/tools/shared/point/index.d.ts +0 -217
  322. package/dist/tools/shared/point/index.js +0 -51
  323. package/dist/tools/shared/styles.d.ts +0 -24
  324. package/dist/tools/shared/styles.js +0 -17
  325. package/dist/tools/shared/types.d.ts +0 -15
  326. package/dist/tools/shared/types.js +0 -10
  327. package/dist/undo-redo.d.ts +0 -20
  328. package/dist/undo-redo.js +0 -33
  329. package/dist/use-debounce.d.ts +0 -9
  330. package/dist/use-debounce.js +0 -13
  331. package/dist/utils.d.ts +0 -58
  332. package/dist/utils.js +0 -72
@@ -1,79 +0,0 @@
1
- import { __toESM as e } from "../../../../../../../../_virtual/_rolldown/runtime.js";
2
- import t from "../../../../../../@visx_group@3.12.0_f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js";
3
- import n from "../../../../../../@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/coerceNumber.js";
4
- import r from "../../../../../../@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/getTicks.js";
5
- import { Point as i } from "../../../../../../@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js";
6
- import { require_Line as a } from "../../../../../../@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/lib/shapes/Line.js";
7
- import o from "../utils/getScaleBandwidth.js";
8
- import s from "react";
9
- import c from "prop-types";
10
- import l from "classnames";
11
- //#region ../../../node_modules/.bun/@visx+grid@3.12.0+f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridColumns.js
12
- var u = /* @__PURE__ */ e(a()), d = [
13
- "top",
14
- "left",
15
- "scale",
16
- "height",
17
- "stroke",
18
- "strokeWidth",
19
- "strokeDasharray",
20
- "className",
21
- "numTicks",
22
- "lineStyle",
23
- "offset",
24
- "tickValues",
25
- "children"
26
- ];
27
- function f() {
28
- return f = Object.assign ? Object.assign.bind() : function(e) {
29
- for (var t = 1; t < arguments.length; t++) {
30
- var n = arguments[t];
31
- for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
32
- }
33
- return e;
34
- }, f.apply(this, arguments);
35
- }
36
- function p(e, t) {
37
- if (e == null) return {};
38
- var n = {}, r = Object.keys(e), i, a;
39
- for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
40
- return n;
41
- }
42
- function m(e) {
43
- var a = e.top, c = a === void 0 ? 0 : a, m = e.left, h = m === void 0 ? 0 : m, g = e.scale, _ = e.height, v = e.stroke, y = v === void 0 ? "#eaf0f6" : v, b = e.strokeWidth, x = b === void 0 ? 1 : b, S = e.strokeDasharray, C = e.className, w = e.numTicks, T = w === void 0 ? 10 : w, E = e.lineStyle, D = e.offset, O = e.tickValues, k = e.children, A = p(e, d), j = O ?? r(g, T), M = (D ?? 0) + o(g) / 2, N = j.map(function(e, t) {
44
- var r = (n(g(e)) ?? 0) + M;
45
- return {
46
- index: t,
47
- from: new i({
48
- x: r,
49
- y: 0
50
- }),
51
- to: new i({
52
- x: r,
53
- y: _
54
- })
55
- };
56
- });
57
- return /*#__PURE__*/ s.createElement(t, {
58
- className: l("visx-columns", C),
59
- top: c,
60
- left: h
61
- }, k ? k({ lines: N }) : N.map(function(e) {
62
- var t = e.from, n = e.to, r = e.index;
63
- return /*#__PURE__*/ s.createElement(u.default, f({
64
- key: "column-line-" + r,
65
- from: t,
66
- to: n,
67
- stroke: y,
68
- strokeWidth: x,
69
- strokeDasharray: S,
70
- style: E
71
- }, A));
72
- }));
73
- }
74
- m.propTypes = {
75
- tickValues: c.array,
76
- height: c.number.isRequired
77
- };
78
- //#endregion
79
- export { m as default };
@@ -1,79 +0,0 @@
1
- import { __toESM as e } from "../../../../../../../../_virtual/_rolldown/runtime.js";
2
- import t from "../../../../../../@visx_group@3.12.0_f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js";
3
- import n from "../../../../../../@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/coerceNumber.js";
4
- import r from "../../../../../../@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/getTicks.js";
5
- import { Point as i } from "../../../../../../@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js";
6
- import { require_Line as a } from "../../../../../../@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/lib/shapes/Line.js";
7
- import o from "../utils/getScaleBandwidth.js";
8
- import s from "react";
9
- import c from "prop-types";
10
- import l from "classnames";
11
- //#region ../../../node_modules/.bun/@visx+grid@3.12.0+f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridRows.js
12
- var u = /* @__PURE__ */ e(a()), d = [
13
- "top",
14
- "left",
15
- "scale",
16
- "width",
17
- "stroke",
18
- "strokeWidth",
19
- "strokeDasharray",
20
- "className",
21
- "children",
22
- "numTicks",
23
- "lineStyle",
24
- "offset",
25
- "tickValues"
26
- ];
27
- function f() {
28
- return f = Object.assign ? Object.assign.bind() : function(e) {
29
- for (var t = 1; t < arguments.length; t++) {
30
- var n = arguments[t];
31
- for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
32
- }
33
- return e;
34
- }, f.apply(this, arguments);
35
- }
36
- function p(e, t) {
37
- if (e == null) return {};
38
- var n = {}, r = Object.keys(e), i, a;
39
- for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
40
- return n;
41
- }
42
- function m(e) {
43
- var a = e.top, c = a === void 0 ? 0 : a, m = e.left, h = m === void 0 ? 0 : m, g = e.scale, _ = e.width, v = e.stroke, y = v === void 0 ? "#eaf0f6" : v, b = e.strokeWidth, x = b === void 0 ? 1 : b, S = e.strokeDasharray, C = e.className, w = e.children, T = e.numTicks, E = T === void 0 ? 10 : T, D = e.lineStyle, O = e.offset, k = e.tickValues, A = p(e, d), j = k ?? r(g, E), M = (O ?? 0) + o(g) / 2, N = j.map(function(e, t) {
44
- var r = (n(g(e)) ?? 0) + M;
45
- return {
46
- index: t,
47
- from: new i({
48
- x: 0,
49
- y: r
50
- }),
51
- to: new i({
52
- x: _,
53
- y: r
54
- })
55
- };
56
- });
57
- return /*#__PURE__*/ s.createElement(t, {
58
- className: l("visx-rows", C),
59
- top: c,
60
- left: h
61
- }, w ? w({ lines: N }) : N.map(function(e) {
62
- var t = e.from, n = e.to, r = e.index;
63
- return /*#__PURE__*/ s.createElement(u.default, f({
64
- key: "row-line-" + r,
65
- from: t,
66
- to: n,
67
- stroke: y,
68
- strokeWidth: x,
69
- strokeDasharray: S,
70
- style: D
71
- }, A));
72
- }));
73
- }
74
- m.propTypes = {
75
- tickValues: c.array,
76
- width: c.number.isRequired
77
- };
78
- //#endregion
79
- export { m as default };
@@ -1,6 +0,0 @@
1
- //#region ../../../node_modules/.bun/@visx+grid@3.12.0+f4eacebf2041cd4f/node_modules/@visx/grid/esm/utils/getScaleBandwidth.js
2
- function e(e) {
3
- return "bandwidth" in e ? e.bandwidth() : 0;
4
- }
5
- //#endregion
6
- export { e as default };
@@ -1,49 +0,0 @@
1
- import e from "react";
2
- import t from "prop-types";
3
- import n from "classnames";
4
- //#region ../../../node_modules/.bun/@visx+group@3.12.0+f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js
5
- var r = [
6
- "top",
7
- "left",
8
- "transform",
9
- "className",
10
- "children",
11
- "innerRef"
12
- ];
13
- function i() {
14
- return i = Object.assign ? Object.assign.bind() : function(e) {
15
- for (var t = 1; t < arguments.length; t++) {
16
- var n = arguments[t];
17
- for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
18
- }
19
- return e;
20
- }, i.apply(this, arguments);
21
- }
22
- function a(e, t) {
23
- if (e == null) return {};
24
- var n = {}, r = Object.keys(e), i, a;
25
- for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
26
- return n;
27
- }
28
- function o(t) {
29
- var o = t.top, s = o === void 0 ? 0 : o, c = t.left, l = c === void 0 ? 0 : c, u = t.transform, d = t.className, f = t.children, p = t.innerRef, m = a(t, r);
30
- return /*#__PURE__*/ e.createElement("g", i({
31
- ref: p,
32
- className: n("visx-group", d),
33
- transform: u || "translate(" + l + ", " + s + ")"
34
- }, m), f);
35
- }
36
- o.propTypes = {
37
- top: t.number,
38
- left: t.number,
39
- transform: t.string,
40
- className: t.string,
41
- children: t.node,
42
- innerRef: t.oneOfType([
43
- t.string,
44
- t.func,
45
- t.object
46
- ])
47
- };
48
- //#endregion
49
- export { o as default };
@@ -1,18 +0,0 @@
1
- //#region ../../../node_modules/.bun/@visx+point@3.12.0/node_modules/@visx/point/esm/Point.js
2
- var e = /*#__PURE__*/ function() {
3
- function e(e) {
4
- var t = e.x, n = t === void 0 ? 0 : t, r = e.y, i = r === void 0 ? 0 : r;
5
- this.x = 0, this.y = 0, this.x = n, this.y = i;
6
- }
7
- var t = e.prototype;
8
- return t.value = function() {
9
- return {
10
- x: this.x,
11
- y: this.y
12
- };
13
- }, t.toArray = function() {
14
- return [this.x, this.y];
15
- }, e;
16
- }();
17
- //#endregion
18
- export { e as Point };
@@ -1,10 +0,0 @@
1
- //#region ../../../node_modules/.bun/@visx+scale@3.12.0/node_modules/@visx/scale/esm/utils/coerceNumber.js
2
- function e(e) {
3
- if ((typeof e == "function" || typeof e == "object" && e) && "valueOf" in e) {
4
- var t = e.valueOf();
5
- if (typeof t == "number") return t;
6
- }
7
- return e;
8
- }
9
- //#endregion
10
- export { e as default };
@@ -1,9 +0,0 @@
1
- //#region ../../../node_modules/.bun/@visx+scale@3.12.0/node_modules/@visx/scale/esm/utils/getTicks.js
2
- function e(e, t) {
3
- var n = e;
4
- return "ticks" in n ? n.ticks(t) : n.domain().filter(function(e, n, r) {
5
- return t == null || r.length <= t || n % Math.round((r.length - 1) / t) === 0;
6
- });
7
- }
8
- //#endregion
9
- export { e as default };
@@ -1,6 +0,0 @@
1
- //#region ../../../node_modules/.bun/@visx+scale@3.12.0/node_modules/@visx/scale/esm/utils/toString.js
2
- function e(e) {
3
- return e?.toString();
4
- }
5
- //#endregion
6
- export { e as default };
@@ -1,46 +0,0 @@
1
- import e from "react";
2
- import t from "classnames";
3
- //#region ../../../node_modules/.bun/@visx+shape@3.12.0+f4eacebf2041cd4f/node_modules/@visx/shape/esm/shapes/Line.js
4
- var n = [
5
- "from",
6
- "to",
7
- "fill",
8
- "className",
9
- "innerRef"
10
- ];
11
- function r() {
12
- return r = Object.assign ? Object.assign.bind() : function(e) {
13
- for (var t = 1; t < arguments.length; t++) {
14
- var n = arguments[t];
15
- for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
16
- }
17
- return e;
18
- }, r.apply(this, arguments);
19
- }
20
- function i(e, t) {
21
- if (e == null) return {};
22
- var n = {}, r = Object.keys(e), i, a;
23
- for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
24
- return n;
25
- }
26
- function a(a) {
27
- var o = a.from, s = o === void 0 ? {
28
- x: 0,
29
- y: 0
30
- } : o, c = a.to, l = c === void 0 ? {
31
- x: 1,
32
- y: 1
33
- } : c, u = a.fill, d = u === void 0 ? "transparent" : u, f = a.className, p = a.innerRef, m = i(a, n), h = s.x === l.x || s.y === l.y;
34
- return /*#__PURE__*/ e.createElement("line", r({
35
- ref: p,
36
- className: t("visx-line", f),
37
- x1: s.x,
38
- y1: s.y,
39
- x2: l.x,
40
- y2: l.y,
41
- fill: d,
42
- shapeRendering: h ? "crispEdges" : "auto"
43
- }, m));
44
- }
45
- //#endregion
46
- export { a as default };
@@ -1,52 +0,0 @@
1
- import { __commonJSMin as e, __require as t } from "../../../../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../../node_modules/.bun/@visx+shape@3.12.0+f4eacebf2041cd4f/node_modules/@visx/shape/lib/shapes/Line.js
3
- var n = /* @__PURE__ */ e(((e) => {
4
- e.__esModule = !0, e.default = c;
5
- var n = a(t("react")), r = a(t("classnames")), i = [
6
- "from",
7
- "to",
8
- "fill",
9
- "className",
10
- "innerRef"
11
- ];
12
- function a(e) {
13
- return e && e.__esModule ? e : { default: e };
14
- }
15
- function o() {
16
- return o = Object.assign ? Object.assign.bind() : function(e) {
17
- for (var t = 1; t < arguments.length; t++) {
18
- var n = arguments[t];
19
- for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
20
- }
21
- return e;
22
- }, o.apply(this, arguments);
23
- }
24
- function s(e, t) {
25
- if (e == null) return {};
26
- var n = {}, r = Object.keys(e), i, a;
27
- for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
28
- return n;
29
- }
30
- function c(e) {
31
- var t = e.from, a = t === void 0 ? {
32
- x: 0,
33
- y: 0
34
- } : t, c = e.to, l = c === void 0 ? {
35
- x: 1,
36
- y: 1
37
- } : c, u = e.fill, d = u === void 0 ? "transparent" : u, f = e.className, p = e.innerRef, m = s(e, i), h = a.x === l.x || a.y === l.y;
38
- return /*#__PURE__*/ n.default.createElement("line", o({
39
- ref: p,
40
- className: (0, r.default)("visx-line", f),
41
- x1: a.x,
42
- y1: a.y,
43
- x2: l.x,
44
- y2: l.y,
45
- fill: d,
46
- shapeRendering: h ? "crispEdges" : "auto"
47
- }, m));
48
- }
49
- }));
50
- //#endregion
51
- export default n();
52
- export { n as require_Line };
@@ -1,57 +0,0 @@
1
- import e from "./hooks/useText.js";
2
- import t from "react";
3
- //#region ../../../node_modules/.bun/@visx+text@3.12.0+f4eacebf2041cd4f/node_modules/@visx/text/esm/Text.js
4
- var n = [
5
- "dx",
6
- "dy",
7
- "textAnchor",
8
- "innerRef",
9
- "innerTextRef",
10
- "verticalAnchor",
11
- "angle",
12
- "lineHeight",
13
- "scaleToFit",
14
- "capHeight",
15
- "width"
16
- ];
17
- function r() {
18
- return r = Object.assign ? Object.assign.bind() : function(e) {
19
- for (var t = 1; t < arguments.length; t++) {
20
- var n = arguments[t];
21
- for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
22
- }
23
- return e;
24
- }, r.apply(this, arguments);
25
- }
26
- function i(e, t) {
27
- if (e == null) return {};
28
- var n = {}, r = Object.keys(e), i, a;
29
- for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
30
- return n;
31
- }
32
- var a = { overflow: "visible" };
33
- function o(o) {
34
- var s = o.dx, c = s === void 0 ? 0 : s, l = o.dy, u = l === void 0 ? 0 : l, d = o.textAnchor, f = d === void 0 ? "start" : d, p = o.innerRef, m = o.innerTextRef;
35
- o.verticalAnchor, o.angle;
36
- var h = o.lineHeight, g = h === void 0 ? "1em" : h;
37
- o.scaleToFit, o.capHeight, o.width;
38
- var _ = i(o, n), v = _.x, y = v === void 0 ? 0 : v, b = _.fontSize, x = e(o), S = x.wordsByLines, C = x.startDy, w = x.transform;
39
- return /*#__PURE__*/ t.createElement("svg", {
40
- ref: p,
41
- x: c,
42
- y: u,
43
- fontSize: b,
44
- style: a
45
- }, S.length > 0 ? /*#__PURE__*/ t.createElement("text", r({
46
- ref: m,
47
- transform: w
48
- }, _, { textAnchor: f }), S.map(function(e, n) {
49
- return /*#__PURE__*/ t.createElement("tspan", {
50
- key: n,
51
- x: y,
52
- dy: n === 0 ? C : g
53
- }, e.words.join(" "));
54
- })) : null);
55
- }
56
- //#endregion
57
- export { o as default };
@@ -1,91 +0,0 @@
1
- import { __toESM as e } from "../../../../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_reduce_css_calc as t } from "../../../../../../reduce-css-calc@1.3.0/node_modules/reduce-css-calc/index.js";
3
- import n from "../util/getStringWidth.js";
4
- import { useMemo as r } from "react";
5
- //#region ../../../node_modules/.bun/@visx+text@3.12.0+f4eacebf2041cd4f/node_modules/@visx/text/esm/hooks/useText.js
6
- var i = /* @__PURE__ */ e(t()), a = [
7
- "verticalAnchor",
8
- "scaleToFit",
9
- "angle",
10
- "width",
11
- "lineHeight",
12
- "capHeight",
13
- "children",
14
- "style"
15
- ];
16
- function o(e, t) {
17
- if (e == null) return {};
18
- var n = {}, r = Object.keys(e), i, a;
19
- for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
20
- return n;
21
- }
22
- function s(e) {
23
- return typeof e == "number";
24
- }
25
- function c(e) {
26
- return typeof e == "number" && Number.isFinite(e) || typeof e == "string";
27
- }
28
- function l(e) {
29
- var t = e.verticalAnchor, l = t === void 0 ? "end" : t, u = e.scaleToFit, d = u === void 0 ? !1 : u, f = e.angle, p = e.width, m = e.lineHeight, h = m === void 0 ? "1em" : m, g = e.capHeight, _ = g === void 0 ? "0.71em" : g, v = e.children, y = e.style, b = o(e, a), x = b.x, S = x === void 0 ? 0 : x, C = b.y, w = C === void 0 ? 0 : C, T = !c(S) || !c(w), E = r(function() {
30
- return {
31
- wordsWithWidth: (v == null ? [] : v.toString().split(/(?:(?!\u00A0+)\s+)/)).map(function(e) {
32
- return {
33
- word: e,
34
- wordWidth: n(e, y) || 0
35
- };
36
- }),
37
- spaceWidth: n("\xA0", y) || 0
38
- };
39
- }, [v, y]), D = E.wordsWithWidth, O = E.spaceWidth, k = r(function() {
40
- return T ? [] : p || d ? D.reduce(function(e, t) {
41
- var n = t.word, r = t.wordWidth, i = e[e.length - 1];
42
- if (i && (p == null || d || (i.width || 0) + r + O < p)) i.words.push(n), i.width = i.width || 0, i.width += r + O;
43
- else {
44
- var a = {
45
- words: [n],
46
- width: r
47
- };
48
- e.push(a);
49
- }
50
- return e;
51
- }, []) : [{ words: v == null ? [] : v.toString().split(/(?:(?!\u00A0+)\s+)/) }];
52
- }, [
53
- T,
54
- p,
55
- d,
56
- v,
57
- D,
58
- O
59
- ]);
60
- return {
61
- wordsByLines: k,
62
- startDy: r(function() {
63
- return T ? "" : l === "start" ? (0, i.default)("calc(" + _ + ")") : l === "middle" ? (0, i.default)("calc(" + (k.length - 1) / 2 + " * -" + h + " + (" + _ + " / 2))") : (0, i.default)("calc(" + (k.length - 1) + " * -" + h + ")");
64
- }, [
65
- T,
66
- l,
67
- _,
68
- k.length,
69
- h
70
- ]),
71
- transform: r(function() {
72
- var e = [];
73
- if (T) return "";
74
- if (s(S) && s(w) && s(p) && d && k.length > 0) {
75
- var t = k[0].width || 1, n = d === "shrink-only" ? Math.min(p / t, 1) : p / t, r = n, i = S - n * S, a = w - r * w;
76
- e.push("matrix(" + n + ", 0, 0, " + r + ", " + i + ", " + a + ")");
77
- }
78
- return f && e.push("rotate(" + f + ", " + S + ", " + w + ")"), e.length > 0 ? e.join(" ") : "";
79
- }, [
80
- T,
81
- S,
82
- w,
83
- p,
84
- d,
85
- k,
86
- f
87
- ])
88
- };
89
- }
90
- //#endregion
91
- export { l as default };
@@ -1,21 +0,0 @@
1
- import { __toESM as e } from "../../../../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_memoize as t } from "../../../../../../lodash@4.18.1/node_modules/lodash/memoize.js";
3
- //#region ../../../node_modules/.bun/@visx+text@3.12.0+f4eacebf2041cd4f/node_modules/@visx/text/esm/util/getStringWidth.js
4
- var n = /* @__PURE__ */ e(t()), r = "__react_svg_text_measurement_id";
5
- function i(e, t) {
6
- try {
7
- var n = document.getElementById(r);
8
- if (!n) {
9
- var i = document.createElementNS("http://www.w3.org/2000/svg", "svg");
10
- i.setAttribute("aria-hidden", "true"), i.style.width = "0", i.style.height = "0", i.style.position = "absolute", i.style.top = "-100%", i.style.left = "-100%", n = document.createElementNS("http://www.w3.org/2000/svg", "text"), n.setAttribute("id", r), i.appendChild(n), document.body.appendChild(i);
11
- }
12
- return Object.assign(n.style, t), n.textContent = e, n.getComputedTextLength();
13
- } catch {
14
- return null;
15
- }
16
- }
17
- var a = (0, n.default)(i, function(e, t) {
18
- return e + "_" + JSON.stringify(t);
19
- });
20
- //#endregion
21
- export { a as default };
@@ -1,32 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../../node_modules/.bun/balanced-match@0.4.2/node_modules/balanced-match/index.js
3
- var t = /* @__PURE__ */ e(((e, t) => {
4
- t.exports = n;
5
- function n(e, t, n) {
6
- e instanceof RegExp && (e = r(e, n)), t instanceof RegExp && (t = r(t, n));
7
- var a = i(e, t, n);
8
- return a && {
9
- start: a[0],
10
- end: a[1],
11
- pre: n.slice(0, a[0]),
12
- body: n.slice(a[0] + e.length, a[1]),
13
- post: n.slice(a[1] + t.length)
14
- };
15
- }
16
- function r(e, t) {
17
- var n = t.match(e);
18
- return n ? n[0] : null;
19
- }
20
- n.range = i;
21
- function i(e, t, n) {
22
- var r, i, a, o, s, c = n.indexOf(e), l = n.indexOf(t, c + 1), u = c;
23
- if (c >= 0 && l > 0) {
24
- for (r = [], a = n.length; u >= 0 && !s;) u == c ? (r.push(u), c = n.indexOf(e, u + 1)) : r.length == 1 ? s = [r.pop(), l] : (i = r.pop(), i < a && (a = i, o = l), l = n.indexOf(t, u + 1)), u = c < l && c >= 0 ? c : l;
25
- r.length && (s = [a, o]);
26
- }
27
- return s;
28
- }
29
- }));
30
- //#endregion
31
- export default t();
32
- export { t as require_balanced_match };
@@ -1,33 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../../node_modules/.bun/balanced-match@1.0.2/node_modules/balanced-match/index.js
3
- var t = /* @__PURE__ */ e(((e, t) => {
4
- t.exports = n;
5
- function n(e, t, n) {
6
- e instanceof RegExp && (e = r(e, n)), t instanceof RegExp && (t = r(t, n));
7
- var a = i(e, t, n);
8
- return a && {
9
- start: a[0],
10
- end: a[1],
11
- pre: n.slice(0, a[0]),
12
- body: n.slice(a[0] + e.length, a[1]),
13
- post: n.slice(a[1] + t.length)
14
- };
15
- }
16
- function r(e, t) {
17
- var n = t.match(e);
18
- return n ? n[0] : null;
19
- }
20
- n.range = i;
21
- function i(e, t, n) {
22
- var r, i, a, o, s, c = n.indexOf(e), l = n.indexOf(t, c + 1), u = c;
23
- if (c >= 0 && l > 0) {
24
- if (e === t) return [c, l];
25
- for (r = [], a = n.length; u >= 0 && !s;) u == c ? (r.push(u), c = n.indexOf(e, u + 1)) : r.length == 1 ? s = [r.pop(), l] : (i = r.pop(), i < a && (a = i, o = l), l = n.indexOf(t, u + 1)), u = c < l && c >= 0 ? c : l;
26
- r.length && (s = [a, o]);
27
- }
28
- return s;
29
- }
30
- }));
31
- //#endregion
32
- export default t();
33
- export { t as require_balanced_match };
@@ -1,68 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_react_is as t } from "../../../../react-is@16.13.1/node_modules/react-is/index.js";
3
- //#region ../../../node_modules/.bun/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
4
- var n = /* @__PURE__ */ e(((e, n) => {
5
- var r = t(), i = {
6
- childContextTypes: !0,
7
- contextType: !0,
8
- contextTypes: !0,
9
- defaultProps: !0,
10
- displayName: !0,
11
- getDefaultProps: !0,
12
- getDerivedStateFromError: !0,
13
- getDerivedStateFromProps: !0,
14
- mixins: !0,
15
- propTypes: !0,
16
- type: !0
17
- }, a = {
18
- name: !0,
19
- length: !0,
20
- prototype: !0,
21
- caller: !0,
22
- callee: !0,
23
- arguments: !0,
24
- arity: !0
25
- }, o = {
26
- $$typeof: !0,
27
- render: !0,
28
- defaultProps: !0,
29
- displayName: !0,
30
- propTypes: !0
31
- }, s = {
32
- $$typeof: !0,
33
- compare: !0,
34
- defaultProps: !0,
35
- displayName: !0,
36
- propTypes: !0,
37
- type: !0
38
- }, c = {};
39
- c[r.ForwardRef] = o, c[r.Memo] = s;
40
- function l(e) {
41
- return r.isMemo(e) ? s : c[e.$$typeof] || i;
42
- }
43
- var u = Object.defineProperty, d = Object.getOwnPropertyNames, f = Object.getOwnPropertySymbols, p = Object.getOwnPropertyDescriptor, m = Object.getPrototypeOf, h = Object.prototype;
44
- function g(e, t, n) {
45
- if (typeof t != "string") {
46
- if (h) {
47
- var r = m(t);
48
- r && r !== h && g(e, r, n);
49
- }
50
- var i = d(t);
51
- f && (i = i.concat(f(t)));
52
- for (var o = l(e), s = l(t), c = 0; c < i.length; ++c) {
53
- var _ = i[c];
54
- if (!a[_] && !(n && n[_]) && !(s && s[_]) && !(o && o[_])) {
55
- var v = p(t, _);
56
- try {
57
- u(e, _, v);
58
- } catch {}
59
- }
60
- }
61
- }
62
- return e;
63
- }
64
- n.exports = g;
65
- }));
66
- //#endregion
67
- export default n();
68
- export { n as require_hoist_non_react_statics_cjs };