@pie-element/number-line 13.1.2-next.0 → 13.1.2-next.10

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 (238) hide show
  1. package/dist/author/arrows.js +1 -1
  2. package/dist/author/domain.js +1 -1
  3. package/dist/author/index.d.ts +1 -0
  4. package/dist/author/index.js +23 -20
  5. package/dist/author/main.js +126 -126
  6. package/dist/author/ticks.js +1 -1
  7. package/dist/browser/author/index.js +23400 -20730
  8. package/dist/browser/author/index.js.map +1 -1
  9. package/dist/browser/controller/index.js +167 -421
  10. package/dist/browser/controller/index.js.map +1 -1
  11. package/dist/browser/delivery/index.js +2 -2
  12. package/dist/browser/{delivery-Dh8QdqpO.js → delivery-RCwd5oLH.js} +4486 -4571
  13. package/dist/browser/delivery-RCwd5oLH.js.map +1 -0
  14. package/dist/browser/dist-clbS3pcd.js +18442 -0
  15. package/dist/browser/dist-clbS3pcd.js.map +1 -0
  16. package/dist/browser/impureFunctionsAny.generated-DOBSXSdK.js +9787 -0
  17. package/dist/browser/impureFunctionsAny.generated-DOBSXSdK.js.map +1 -0
  18. package/dist/controller/index.d.ts +15 -1
  19. package/dist/controller/index.js +60 -65
  20. package/dist/controller/tickUtils.d.ts +3 -2
  21. package/dist/controller/tickUtils.js +64 -66
  22. package/dist/delivery/data-converter.js +1 -1
  23. package/dist/delivery/index.js +10 -10
  24. package/dist/delivery/number-line/graph/arrow.js +1 -1
  25. package/dist/delivery/number-line/graph/elements/line.js +57 -58
  26. package/dist/delivery/number-line/graph/elements/point.js +5 -4
  27. package/dist/delivery/number-line/graph/elements/ray.js +55 -55
  28. package/dist/delivery/number-line/graph/index.d.ts +2 -2
  29. package/dist/delivery/number-line/graph/index.js +6 -6
  30. package/dist/delivery/number-line/graph/line.js +1 -1
  31. package/dist/delivery/number-line/graph/stacks.js +1 -1
  32. package/dist/delivery/number-line/graph/tick-utils.d.ts +16 -9
  33. package/dist/delivery/number-line/graph/tick-utils.js +74 -76
  34. package/dist/delivery/number-line/graph/ticks.js +15 -15
  35. package/dist/delivery/number-line/index.d.ts +1 -1
  36. package/dist/delivery/number-line/index.js +57 -60
  37. package/dist/delivery/number-line/point-chooser/index.js +1 -1
  38. package/dist/index.iife.js +57 -61
  39. package/dist/runtime-support.d.ts +12 -0
  40. package/dist/runtime-support.js +12 -0
  41. package/package.json +23 -20
  42. package/dist/browser/_baseSet-ycZx94p7.js +0 -8672
  43. package/dist/browser/_baseSet-ycZx94p7.js.map +0 -1
  44. package/dist/browser/delivery-Dh8QdqpO.js.map +0 -1
  45. package/dist/browser/uniqWith-CKN50xMI.js +0 -17886
  46. package/dist/browser/uniqWith-CKN50xMI.js.map +0 -1
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +0 -6
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +0 -16
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +0 -16
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +0 -6
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +0 -16
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +0 -6
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +0 -6
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +0 -11
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +0 -14
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +0 -5
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +0 -5
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +0 -6
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +0 -12
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +0 -7
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +0 -10
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludes.js +0 -7
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludesWith.js +0 -7
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +0 -15
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +0 -7
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +0 -7
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +0 -7
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignMergeValue.js +0 -8
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +0 -10
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +0 -8
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +0 -8
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +0 -8
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +0 -12
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +0 -57
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +0 -14
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js +0 -7
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js +0 -5
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js +0 -10
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +0 -10
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js +0 -6
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIndexOf.js +0 -9
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +0 -9
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +0 -8
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +0 -30
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +0 -9
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js +0 -26
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNaN.js +0 -6
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +0 -11
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +0 -9
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +0 -11
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js +0 -11
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +0 -12
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +0 -13
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js +0 -12
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js +0 -17
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js +0 -19
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMergeDeep.js +0 -31
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePickBy.js +0 -13
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js +0 -8
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js +0 -9
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +0 -9
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js +0 -22
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +0 -14
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +0 -7
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +0 -15
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js +0 -8
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +0 -8
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUniq.js +0 -27
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +0 -6
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +0 -10
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +0 -10
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +0 -8
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +0 -8
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +0 -8
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +0 -8
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +0 -8
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +0 -14
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +0 -8
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +0 -8
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +0 -5
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createAssigner.js +0 -15
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js +0 -12
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createFind.js +0 -19
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createSet.js +0 -9
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +0 -10
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +0 -35
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +0 -35
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +0 -32
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +0 -4
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +0 -9
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +0 -9
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +0 -8
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js +0 -16
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +0 -9
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +0 -5
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +0 -14
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +0 -10
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +0 -11
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +0 -23
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +0 -6
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js +0 -18
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +0 -7
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +0 -7
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +0 -13
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +0 -9
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +0 -9
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +0 -8
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +0 -33
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +0 -9
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +0 -8
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js +0 -12
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +0 -11
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +0 -7
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +0 -11
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +0 -8
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js +0 -7
  159. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +0 -6
  160. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +0 -9
  161. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +0 -8
  162. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +0 -7
  163. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +0 -8
  164. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +0 -13
  165. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +0 -8
  166. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +0 -7
  167. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +0 -7
  168. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +0 -8
  169. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +0 -9
  170. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js +0 -8
  171. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +0 -11
  172. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +0 -5
  173. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +0 -5
  174. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +0 -8
  175. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +0 -9
  176. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +0 -7
  177. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +0 -8
  178. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +0 -13
  179. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +0 -5
  180. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_safeGet.js +0 -6
  181. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +0 -7
  182. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +0 -6
  183. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +0 -9
  184. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +0 -6
  185. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +0 -14
  186. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +0 -7
  187. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +0 -7
  188. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +0 -6
  189. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +0 -6
  190. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +0 -16
  191. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_strictIndexOf.js +0 -7
  192. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +0 -10
  193. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +0 -10
  194. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +0 -15
  195. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js +0 -8
  196. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +0 -8
  197. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +0 -8
  198. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +0 -6
  199. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/find.js +0 -6
  200. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/findIndex.js +0 -13
  201. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/get.js +0 -8
  202. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js +0 -8
  203. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +0 -6
  204. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +0 -10
  205. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +0 -4
  206. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +0 -8
  207. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js +0 -8
  208. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +0 -6
  209. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +0 -21
  210. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +0 -7
  211. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqualWith.js +0 -9
  212. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +0 -11
  213. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +0 -7
  214. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +0 -7
  215. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isNumber.js +0 -9
  216. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +0 -7
  217. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +0 -6
  218. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.js +0 -14
  219. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +0 -7
  220. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +0 -9
  221. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +0 -7
  222. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +0 -9
  223. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +0 -9
  224. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +0 -16
  225. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/merge.js +0 -8
  226. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/negate.js +0 -17
  227. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/noop.js +0 -4
  228. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/omitBy.js +0 -9
  229. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/pickBy.js +0 -16
  230. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/property.js +0 -10
  231. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +0 -6
  232. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +0 -6
  233. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js +0 -8
  234. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toInteger.js +0 -8
  235. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js +0 -19
  236. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toPlainObject.js +0 -8
  237. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +0 -7
  238. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/uniqWith.js +0 -7
@@ -1,15 +1,14 @@
1
- import e from "../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js";
2
- import t from "../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isNumber.js";
3
- import { Draggable as n } from "../../../draggable/index.js";
4
- import r from "./point.js";
5
- import { basePropTypes as i } from "./base.js";
6
- import a from "react";
7
- import { styled as o } from "@mui/material/styles";
8
- import s from "prop-types";
9
- import { jsx as c, jsxs as l } from "react/jsx-runtime";
1
+ import { Draggable as e } from "../../../draggable/index.js";
2
+ import { Point as t } from "./point.js";
3
+ import { basePropTypes as n } from "./base.js";
4
+ import r from "react";
5
+ import { styled as i } from "@mui/material/styles";
6
+ import a from "prop-types";
7
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
8
+ import { isEqual as c, isNumber as l } from "@pie-element/shared-lodash";
10
9
  import { color as u } from "@pie-lib/render-ui";
11
10
  //#region src/delivery/number-line/graph/elements/line.tsx
12
- var d = "150ms", f = o("g")(({ $disabled: e, $selected: t, $correct: n }) => ({
11
+ var d = "150ms", f = i("g")(({ $disabled: e, $selected: t, $correct: n }) => ({
13
12
  "& .line-handle": {
14
13
  stroke: u.primary(),
15
14
  cursor: "pointer",
@@ -38,25 +37,25 @@ var d = "150ms", f = o("g")(({ $disabled: e, $selected: t, $correct: n }) => ({
38
37
  cursor: "inherit",
39
38
  stroke: u.incorrect()
40
39
  } }
41
- })), p = class extends a.Component {
40
+ })), p = class extends r.Component {
42
41
  static propTypes = {
43
- ...i(),
44
- empty: s.shape({
45
- left: s.bool.isRequired,
46
- right: s.bool.isRequired
42
+ ...n(),
43
+ empty: a.shape({
44
+ left: a.bool.isRequired,
45
+ right: a.bool.isRequired
47
46
  }).isRequired,
48
- position: s.shape({
49
- left: s.number.isRequired,
50
- right: s.number.isRequired
47
+ position: a.shape({
48
+ left: a.number.isRequired,
49
+ right: a.number.isRequired
51
50
  }).isRequired,
52
- y: s.number,
53
- selected: s.bool,
54
- disabled: s.bool,
55
- correct: s.bool,
56
- onMoveLine: s.func.isRequired,
57
- onToggleSelect: s.func.isRequired,
58
- onDragStart: s.func,
59
- onDragStop: s.func
51
+ y: a.number,
52
+ selected: a.bool,
53
+ disabled: a.bool,
54
+ correct: a.bool,
55
+ onMoveLine: a.func.isRequired,
56
+ onToggleSelect: a.func.isRequired,
57
+ onDragStart: a.func,
58
+ onDragStop: a.func
60
59
  };
61
60
  static defaultProps = {
62
61
  selected: !1,
@@ -65,8 +64,8 @@ var d = "150ms", f = o("g")(({ $disabled: e, $selected: t, $correct: n }) => ({
65
64
  correct: void 0
66
65
  };
67
66
  static contextTypes = {
68
- xScale: s.func.isRequired,
69
- snapValue: s.func.isRequired
67
+ xScale: a.func.isRequired,
68
+ snapValue: a.func.isRequired
70
69
  };
71
70
  constructor(e) {
72
71
  super(e), this.state = {
@@ -98,48 +97,48 @@ var d = "150ms", f = o("g")(({ $disabled: e, $selected: t, $correct: n }) => ({
98
97
  r[e] = t, this.props.onMoveLine(r);
99
98
  }
100
99
  render() {
101
- let { interval: i, empty: a, position: o, domain: s, y: u, selected: d, disabled: p, correct: m } = this.props, { xScale: h } = this.context, { onDrag: g, onMove: _ } = this, v = _.bind(this, "left"), y = _.bind(this, "right"), b = g.bind(this, "left"), x = g.bind(this, "right"), S = t(this.state.left) ? this.state.left : o.left, C = t(this.state.right) ? this.state.right : o.right, w = h(i) - h(0), T = (e) => e.nativeEvent.preventDefault(), E = () => {
100
+ let { interval: n, empty: r, position: i, domain: a, y: u, selected: d, disabled: p, correct: m } = this.props, { xScale: h } = this.context, { onDrag: g, onMove: _ } = this, v = _.bind(this, "left"), y = _.bind(this, "right"), b = g.bind(this, "left"), x = g.bind(this, "right"), S = l(this.state.left) ? this.state.left : i.left, C = l(this.state.right) ? this.state.right : i.right, w = h(n) - h(0), T = (e) => e.nativeEvent.preventDefault(), E = () => {
102
101
  this.props.onToggleSelect();
103
102
  }, D = () => {
104
103
  this.props.onToggleSelect();
105
- }, O = (t) => {
106
- if (Math.abs(t) < w / 10) {
104
+ }, O = (e) => {
105
+ if (Math.abs(e) < w / 10) {
107
106
  this.props.onToggleSelect();
108
107
  return;
109
108
  }
110
- let n = h.invert(t + h(0)), r = {
111
- left: o.left + n,
112
- right: o.right + n
109
+ let t = h.invert(e + h(0)), n = {
110
+ left: i.left + t,
111
+ right: i.right + t
113
112
  };
114
- e(r, this.props.position) || this.props.onMoveLine(r);
113
+ c(n, this.props.position) || this.props.onMoveLine(n);
115
114
  }, k = {
116
- left: (s.min - o.left) / i * w,
117
- right: (s.max - o.right) / i * w
115
+ left: (a.min - i.left) / n * w,
116
+ right: (a.max - i.right) / n * w
118
117
  }, A = {
119
- interval: i,
118
+ interval: n,
120
119
  selected: d,
121
120
  disabled: p,
122
121
  correct: m
123
122
  };
124
- return /* @__PURE__ */ c(n, {
125
- id: `line-${o.left}-${o.right}-${u}`,
123
+ return /* @__PURE__ */ o(e, {
124
+ id: `line-${i.left}-${i.right}-${u}`,
126
125
  disabled: p,
127
126
  grid: [w],
128
127
  bounds: k,
129
128
  onMouseDown: T,
130
129
  onDragEnd: O,
131
- children: ({ setNodeRef: e, attributes: t, listeners: n, translateX: i, isDragging: g, onMouseDown: _ }) => /* @__PURE__ */ c(f, {
130
+ children: ({ setNodeRef: e, attributes: n, listeners: c, translateX: l, isDragging: g, onMouseDown: _ }) => /* @__PURE__ */ o(f, {
132
131
  ref: e,
133
132
  $disabled: p,
134
133
  $selected: d,
135
134
  $correct: m,
136
135
  className: g ? "dnd-kit-dragging" : void 0,
137
136
  onMouseDown: _,
138
- ...t,
139
- children: /* @__PURE__ */ l("g", {
140
- transform: `translate(${i}, ${u})`,
137
+ ...n,
138
+ children: /* @__PURE__ */ s("g", {
139
+ transform: `translate(${l}, ${u})`,
141
140
  children: [
142
- /* @__PURE__ */ c("rect", {
141
+ /* @__PURE__ */ o("rect", {
143
142
  x: h(S),
144
143
  width: Math.abs(h(C) - h(S)),
145
144
  fill: "red",
@@ -148,33 +147,33 @@ var d = "150ms", f = o("g")(({ $disabled: e, $selected: t, $correct: n }) => ({
148
147
  height: 16,
149
148
  onClick: D
150
149
  }),
151
- /* @__PURE__ */ c("line", {
150
+ /* @__PURE__ */ o("line", {
152
151
  className: "line-handle",
153
152
  x1: h(S),
154
153
  x2: h(C),
155
154
  onClick: E,
156
- ...n
155
+ ...c
157
156
  }),
158
- /* @__PURE__ */ c(r, {
157
+ /* @__PURE__ */ o(t, {
159
158
  ...A,
160
- empty: a.left,
159
+ empty: r.left,
161
160
  bounds: {
162
- left: s.min - o.left,
163
- right: s.max - o.left
161
+ left: a.min - i.left,
162
+ right: a.max - i.left
164
163
  },
165
- position: o.left,
164
+ position: i.left,
166
165
  onDrag: b,
167
166
  onMove: v,
168
167
  onClick: D
169
168
  }),
170
- /* @__PURE__ */ c(r, {
169
+ /* @__PURE__ */ o(t, {
171
170
  ...A,
172
- empty: a.right,
171
+ empty: r.right,
173
172
  bounds: {
174
- left: s.min - o.right,
175
- right: s.max - o.right
173
+ left: a.min - i.right,
174
+ right: a.max - i.right
176
175
  },
177
- position: o.right,
176
+ position: i.right,
178
177
  onDrag: x,
179
178
  onMove: y,
180
179
  onClick: D
@@ -186,4 +185,4 @@ var d = "150ms", f = o("g")(({ $disabled: e, $selected: t, $correct: n }) => ({
186
185
  }
187
186
  };
188
187
  //#endregion
189
- export { p as default };
188
+ export { p as Line, p as default };
@@ -66,8 +66,8 @@ var s = "150ms", c = n("circle")(({ $selected: e, $disabled: t, $correct: n, $em
66
66
  };
67
67
  render() {
68
68
  let { onDragStop: t, onDragStart: n, onDrag: r, onClick: s, onMove: l, interval: u, y: d, bounds: f, selected: p, position: m, disabled: h, correct: g, empty: _ } = this.props, { snapValue: v, xScale: y } = this.context, b = y(u) - y(0), x = (e) => {
69
- let t = e + y(0);
70
- return v(m + y.invert(t));
69
+ let t = e + y(0), n = y.invert(t);
70
+ return v(m + n);
71
71
  }, S = f ? {
72
72
  left: f.left / u * b,
73
73
  right: f.right / u * b
@@ -90,7 +90,8 @@ var s = "150ms", c = n("circle")(({ $selected: e, $disabled: t, $correct: n, $em
90
90
  s && s();
91
91
  return;
92
92
  }
93
- l(x(e));
93
+ let n = x(e);
94
+ l(n);
94
95
  },
95
96
  children: ({ setNodeRef: e, attributes: t, listeners: n, translateX: r, isDragging: s, onMouseDown: l }) => /* @__PURE__ */ a("g", {
96
97
  ref: e,
@@ -124,4 +125,4 @@ var s = "150ms", c = n("circle")(({ $selected: e, $disabled: t, $correct: n, $em
124
125
  }
125
126
  };
126
127
  //#endregion
127
- export { l as default };
128
+ export { l as Point, l as default };
@@ -1,15 +1,15 @@
1
- import e from "../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isNumber.js";
2
- import t from "./point.js";
3
- import { basePropTypes as n } from "./base.js";
4
- import { correct as r, incorrect as i, selected as a } from "../../colors.js";
5
- import o from "../arrow.js";
6
- import s from "react";
7
- import { styled as c } from "@mui/material/styles";
8
- import l from "prop-types";
9
- import { jsx as u, jsxs as d } from "react/jsx-runtime";
1
+ import { Point as e } from "./point.js";
2
+ import { basePropTypes as t } from "./base.js";
3
+ import { correct as n, incorrect as r, selected as i } from "../../colors.js";
4
+ import { Arrow as a } from "../arrow.js";
5
+ import o from "react";
6
+ import { styled as s } from "@mui/material/styles";
7
+ import c from "prop-types";
8
+ import { jsx as l, jsxs as u } from "react/jsx-runtime";
9
+ import { isNumber as d } from "@pie-element/shared-lodash";
10
10
  import { color as f } from "@pie-lib/render-ui";
11
11
  //#region src/delivery/number-line/graph/elements/ray.tsx
12
- var p = c("g")(({ $selected: e, $correct: t }) => ({
12
+ var p = s("g")(({ $selected: e, $correct: t }) => ({
13
13
  "& line": {
14
14
  cursor: "pointer",
15
15
  strokeWidth: "5px",
@@ -17,55 +17,55 @@ var p = c("g")(({ $selected: e, $correct: t }) => ({
17
17
  },
18
18
  "& line, & .arrow": { transition: "stroke 150ms linear, fill 150ms linear" },
19
19
  ...e && {
20
- "& line": { stroke: a },
20
+ "& line": { stroke: i },
21
21
  "& .arrow": {
22
- fill: a,
22
+ fill: i,
23
23
  strokeWidth: "1px",
24
- stroke: a
24
+ stroke: i
25
25
  }
26
26
  },
27
27
  ...t === !0 && {
28
- "& line": { stroke: r },
28
+ "& line": { stroke: n },
29
29
  "& .arrow": {
30
- fill: r,
30
+ fill: n,
31
31
  strokeWidth: "1px",
32
- stroke: r
32
+ stroke: n
33
33
  }
34
34
  },
35
35
  ...t === !1 && {
36
- "& line": { stroke: i },
36
+ "& line": { stroke: r },
37
37
  "& .arrow": {
38
- fill: i,
38
+ fill: r,
39
39
  strokeWidth: "1px",
40
- stroke: i
40
+ stroke: r
41
41
  }
42
42
  }
43
- })), m = c(o)(({ $correct: e, $selected: t }) => ({
43
+ })), m = s(a)(({ $correct: e, $selected: t }) => ({
44
44
  fill: f.primary(),
45
45
  ...e === !0 && {
46
+ fill: n,
47
+ "--arrow-color": n
48
+ },
49
+ ...e === !1 && {
46
50
  fill: r,
47
51
  "--arrow-color": r
48
52
  },
49
- ...e === !1 && {
53
+ ...t && {
50
54
  fill: i,
51
55
  "--arrow-color": i
52
- },
53
- ...t && {
54
- fill: a,
55
- "--arrow-color": a
56
56
  }
57
- })), h = class extends s.Component {
57
+ })), h = class extends o.Component {
58
58
  static propTypes = {
59
- ...n(),
60
- width: l.number.isRequired,
61
- selected: l.bool,
62
- disabled: l.bool,
63
- empty: l.bool,
64
- direction: l.oneOf(["positive", "negative"]),
65
- y: l.number,
66
- position: l.number.isRequired,
67
- onMove: l.func.isRequired,
68
- onToggleSelect: l.func.isRequired
59
+ ...t(),
60
+ width: c.number.isRequired,
61
+ selected: c.bool,
62
+ disabled: c.bool,
63
+ empty: c.bool,
64
+ direction: c.oneOf(["positive", "negative"]),
65
+ y: c.number,
66
+ position: c.number.isRequired,
67
+ onMove: c.func.isRequired,
68
+ onToggleSelect: c.func.isRequired
69
69
  };
70
70
  static defaultProps = {
71
71
  selected: !1,
@@ -74,8 +74,8 @@ var p = c("g")(({ $selected: e, $correct: t }) => ({
74
74
  disabled: !1
75
75
  };
76
76
  static contextTypes = {
77
- xScale: l.func.isRequired,
78
- snapValue: l.func.isRequired
77
+ xScale: c.func.isRequired,
78
+ snapValue: c.func.isRequired
79
79
  };
80
80
  constructor(e) {
81
81
  super(e), this.state = { dragPosition: null };
@@ -88,38 +88,38 @@ var p = c("g")(({ $selected: e, $correct: t }) => ({
88
88
  this.setState({ dragPosition: null });
89
89
  }
90
90
  render() {
91
- let { interval: n, empty: r, position: i, direction: a, domain: o, y: s, selected: c, disabled: l, width: f, correct: h } = this.props, { xScale: g } = this.context, _ = this.drag.bind(this), v = this.stopDrag.bind(this), y = e(this.state.dragPosition) ? this.state.dragPosition : i, b = a === "positive", x = b ? y : o.min, S = b ? o.max : y, C = b ? g(x) : 8, w = b ? f - 8 : g(S), T = b ? f : 0, E = b ? "right" : "left";
92
- return /* @__PURE__ */ d(p, {
93
- $selected: c,
91
+ let { interval: t, empty: n, position: r, direction: i, domain: a, y: o, selected: s, disabled: c, width: f, correct: h } = this.props, { xScale: g } = this.context, _ = this.drag.bind(this), v = this.stopDrag.bind(this), y = d(this.state.dragPosition) ? this.state.dragPosition : r, b = i === "positive", x = b ? y : a.min, S = b ? a.max : y, C = b ? g(x) : 8, w = b ? f - 8 : g(S), T = b ? f : 0, E = b ? "right" : "left";
92
+ return /* @__PURE__ */ u(p, {
93
+ $selected: s,
94
94
  $correct: h,
95
- transform: `translate(0, ${s})`,
95
+ transform: `translate(0, ${o})`,
96
96
  children: [
97
- /* @__PURE__ */ u("line", {
98
- onClick: l ? () => {} : this.props.onToggleSelect,
97
+ /* @__PURE__ */ l("line", {
98
+ onClick: c ? () => {} : this.props.onToggleSelect,
99
99
  className: "line-handle",
100
100
  x1: C,
101
101
  x2: w
102
102
  }),
103
- /* @__PURE__ */ u(t, {
104
- disabled: l,
103
+ /* @__PURE__ */ l(e, {
104
+ disabled: c,
105
105
  correct: h,
106
- selected: c,
107
- empty: r,
108
- interval: n,
106
+ selected: s,
107
+ empty: n,
108
+ interval: t,
109
109
  bounds: {
110
- left: o.min - i,
111
- right: o.max - i
110
+ left: a.min - r,
111
+ right: a.max - r
112
112
  },
113
- position: i,
113
+ position: r,
114
114
  onDrag: _,
115
115
  onDragStop: v,
116
116
  onMove: this.props.onMove,
117
117
  onClick: this.props.onToggleSelect
118
118
  }),
119
- /* @__PURE__ */ u(m, {
119
+ /* @__PURE__ */ l(m, {
120
120
  x: T,
121
121
  $correct: h,
122
- $selected: c,
122
+ $selected: s,
123
123
  direction: E
124
124
  })
125
125
  ]
@@ -127,4 +127,4 @@ var p = c("g")(({ $selected: e, $correct: t }) => ({
127
127
  }
128
128
  };
129
129
  //#endregion
130
- export { h as default };
130
+ export { h as Ray, h as default };
@@ -42,10 +42,10 @@ export declare class NumberLineGraph extends React.Component {
42
42
  };
43
43
  constructor(props: any);
44
44
  xScaleFn(): any;
45
- snapValueFn(): (value: any) => any;
45
+ snapValueFn(): (value: any) => number;
46
46
  getChildContext(): {
47
47
  xScale: any;
48
- snapValue: (value: any) => any;
48
+ snapValue: (value: any) => number;
49
49
  };
50
50
  /**
51
51
  * Note: we use d3 click + pointer to give us domain values directly.
@@ -1,10 +1,10 @@
1
1
  import { snapTo as e } from "./tick-utils.js";
2
- import t from "./elements/point.js";
3
- import n from "./elements/line.js";
4
- import r from "./arrow.js";
5
- import i from "./elements/ray.js";
2
+ import { Point as t } from "./elements/point.js";
3
+ import { Line as n } from "./elements/line.js";
4
+ import { Arrow as r } from "./arrow.js";
5
+ import { Ray as i } from "./elements/ray.js";
6
6
  import a from "./line.js";
7
- import o from "./ticks.js";
7
+ import { Ticks as o } from "./ticks.js";
8
8
  import s from "./stacks.js";
9
9
  import c from "../transitions/fade.js";
10
10
  import l, { createElement as u } from "react";
@@ -193,4 +193,4 @@ var b = (e, t, n, r) => {
193
193
  }
194
194
  };
195
195
  //#endregion
196
- export { x as default };
196
+ export { x as NumberLineGraph, x as default };
@@ -24,4 +24,4 @@ a.propTypes = {
24
24
  };
25
25
  var o = r(i)(a);
26
26
  //#endregion
27
- export { o as default };
27
+ export { a as Line, o as default };
@@ -37,4 +37,4 @@ function t(e) {
37
37
  };
38
38
  }
39
39
  //#endregion
40
- export { e as default };
40
+ export { t as Stack, e as default };
@@ -6,6 +6,7 @@
6
6
  * Manual edits will be overwritten on next sync.
7
7
  * To make changes, edit the upstream JavaScript file and run sync again.
8
8
  */
9
+ import * as math from 'mathjs';
9
10
  export declare const decimalTickValues: number[];
10
11
  export declare const fractionTickValues: string[];
11
12
  export declare const labelMultiplier: {
@@ -38,27 +39,30 @@ export declare const zeroBasedRange: (start: any, end: any, interval: any) => an
38
39
  * such that it was hard to round the numbers.
39
40
  * This is a more simplistic version but makes rounding work.
40
41
  */
41
- export declare const simpleRange: (start: any, end: any, interval: any) => any;
42
+ export declare const simpleRange: (start: any, end: any, interval: any) => (string | math.MathType)[];
42
43
  export declare const closeTo: (a: any, b: any, precision: any) => boolean;
43
44
  export declare const getMinorLimits: (domain: any, width: any) => {
44
- min: any;
45
- max: any;
45
+ min: number & (number | math.MathCollection);
46
+ max: number;
46
47
  };
47
- export declare const isMultiple: (multiple: any, src: any) => any;
48
+ export declare const isMultiple: (multiple: any, src: any) => boolean | math.MathCollection;
48
49
  /**
49
50
  * Accepts a fraction object {n,d,s} or number.
50
51
  * @param {*} v
51
52
  * @return mathjs.fraction
52
53
  */
53
- export declare const fraction: (v: any) => any;
54
+ export declare const fraction: (v: any) => math.Fraction | undefined;
54
55
  export declare const normalizeTicks: (domain: any, width: any, ticks: any, opts: any) => {
55
- minor: any;
56
56
  major: any;
57
+ minor: any;
57
58
  };
58
59
  /**
59
60
  * Build ticks as an array of mathjs Fractions
60
61
  */
61
- export declare const buildTickDataAsFractions: (domain: any, width: any, ticks: any, opts: any) => any;
62
+ export declare const buildTickDataAsFractions: (domain: any, width: any, ticks: any, opts: any) => {
63
+ x: string | math.MathType;
64
+ type: string;
65
+ }[];
62
66
  export declare const generateMinorValues: (minorLimits: any) => {
63
67
  fraction: never[];
64
68
  decimal: never[];
@@ -67,7 +71,10 @@ export declare const generateMajorValuesForMinor: (minor: any, domain: any, widt
67
71
  decimal: never[];
68
72
  fraction: never[];
69
73
  };
70
- export declare const buildTickData: (domain: any, width: any, ticks: any, opts: any) => any;
74
+ export declare const buildTickData: (domain: any, width: any, ticks: any, opts: any) => {
75
+ x: string | math.MathType;
76
+ type: string;
77
+ }[];
71
78
  export declare const fractionSnapTo: (min: any, max: any, interval: any, value: any) => any;
72
- export declare const snapTo: (min: any, max: any, interval: any, value: any) => any;
79
+ export declare const snapTo: (min: any, max: any, interval: any, value: any) => number;
73
80
  export declare const snapElements: (domain: any, ticks: any, elements: any) => any;