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

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 (226) hide show
  1. package/dist/author/index.js +19 -19
  2. package/dist/author/main.js +152 -152
  3. package/dist/browser/author/index.js +7079 -7256
  4. package/dist/browser/author/index.js.map +1 -1
  5. package/dist/browser/controller/index.js +165 -419
  6. package/dist/browser/controller/index.js.map +1 -1
  7. package/dist/browser/delivery/index.js +2 -2
  8. package/dist/browser/{delivery-Dh8QdqpO.js → delivery-Ci_kZyOM.js} +2178 -2225
  9. package/dist/browser/delivery-Ci_kZyOM.js.map +1 -0
  10. package/dist/browser/dist-D5T-OaLo.js +19038 -0
  11. package/dist/browser/dist-D5T-OaLo.js.map +1 -0
  12. package/dist/browser/impureFunctionsAny.generated-Bqfato71.js +10162 -0
  13. package/dist/browser/impureFunctionsAny.generated-Bqfato71.js.map +1 -0
  14. package/dist/controller/index.d.ts +15 -1
  15. package/dist/controller/index.js +60 -65
  16. package/dist/controller/tickUtils.d.ts +3 -2
  17. package/dist/controller/tickUtils.js +64 -66
  18. package/dist/delivery/index.js +9 -9
  19. package/dist/delivery/number-line/graph/elements/line.js +56 -57
  20. package/dist/delivery/number-line/graph/elements/ray.js +54 -54
  21. package/dist/delivery/number-line/graph/index.d.ts +2 -2
  22. package/dist/delivery/number-line/graph/tick-utils.d.ts +16 -9
  23. package/dist/delivery/number-line/graph/tick-utils.js +73 -75
  24. package/dist/delivery/number-line/index.d.ts +1 -1
  25. package/dist/delivery/number-line/index.js +55 -58
  26. package/dist/index.iife.js +59 -63
  27. package/dist/runtime-support.d.ts +12 -0
  28. package/dist/runtime-support.js +12 -0
  29. package/package.json +14 -10
  30. package/dist/browser/_baseSet-ycZx94p7.js +0 -8672
  31. package/dist/browser/_baseSet-ycZx94p7.js.map +0 -1
  32. package/dist/browser/delivery-Dh8QdqpO.js.map +0 -1
  33. package/dist/browser/uniqWith-CKN50xMI.js +0 -17886
  34. package/dist/browser/uniqWith-CKN50xMI.js.map +0 -1
  35. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +0 -6
  36. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +0 -16
  37. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +0 -16
  38. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +0 -6
  39. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +0 -16
  40. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +0 -6
  41. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +0 -6
  42. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +0 -11
  43. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +0 -14
  44. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +0 -5
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +0 -5
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +0 -6
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +0 -12
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +0 -7
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +0 -10
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludes.js +0 -7
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludesWith.js +0 -7
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +0 -15
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +0 -7
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +0 -7
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +0 -7
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignMergeValue.js +0 -8
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +0 -10
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +0 -8
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +0 -8
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +0 -8
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +0 -12
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +0 -57
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +0 -14
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js +0 -7
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js +0 -5
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js +0 -10
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +0 -10
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js +0 -6
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIndexOf.js +0 -9
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +0 -9
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +0 -8
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +0 -30
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +0 -9
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js +0 -26
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNaN.js +0 -6
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +0 -11
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +0 -9
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +0 -11
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js +0 -11
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +0 -12
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +0 -13
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js +0 -12
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js +0 -17
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js +0 -19
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMergeDeep.js +0 -31
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePickBy.js +0 -13
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js +0 -8
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js +0 -9
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +0 -9
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js +0 -22
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +0 -14
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +0 -7
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +0 -15
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js +0 -8
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +0 -8
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUniq.js +0 -27
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +0 -6
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +0 -10
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +0 -10
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +0 -8
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +0 -8
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +0 -8
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +0 -8
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +0 -8
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +0 -14
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +0 -8
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +0 -8
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +0 -5
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createAssigner.js +0 -15
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js +0 -12
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createFind.js +0 -19
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createSet.js +0 -9
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +0 -10
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +0 -35
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +0 -35
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +0 -32
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +0 -4
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +0 -9
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +0 -9
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +0 -8
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js +0 -16
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +0 -9
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +0 -5
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +0 -14
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +0 -10
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +0 -11
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +0 -23
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +0 -6
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js +0 -18
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +0 -7
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +0 -7
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +0 -13
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +0 -9
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +0 -9
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +0 -8
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +0 -33
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +0 -9
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +0 -8
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js +0 -12
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +0 -11
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +0 -7
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +0 -11
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +0 -8
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js +0 -7
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +0 -6
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +0 -9
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +0 -8
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +0 -7
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +0 -8
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +0 -13
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +0 -8
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +0 -7
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +0 -7
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +0 -8
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +0 -9
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js +0 -8
  159. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +0 -11
  160. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +0 -5
  161. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +0 -5
  162. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +0 -8
  163. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +0 -9
  164. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +0 -7
  165. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +0 -8
  166. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +0 -13
  167. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +0 -5
  168. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_safeGet.js +0 -6
  169. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +0 -7
  170. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +0 -6
  171. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +0 -9
  172. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +0 -6
  173. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +0 -14
  174. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +0 -7
  175. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +0 -7
  176. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +0 -6
  177. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +0 -6
  178. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +0 -16
  179. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_strictIndexOf.js +0 -7
  180. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +0 -10
  181. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +0 -10
  182. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +0 -15
  183. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js +0 -8
  184. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +0 -8
  185. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +0 -8
  186. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +0 -6
  187. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/find.js +0 -6
  188. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/findIndex.js +0 -13
  189. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/get.js +0 -8
  190. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js +0 -8
  191. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +0 -6
  192. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +0 -10
  193. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +0 -4
  194. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +0 -8
  195. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js +0 -8
  196. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +0 -6
  197. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +0 -21
  198. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +0 -7
  199. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqualWith.js +0 -9
  200. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +0 -11
  201. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +0 -7
  202. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +0 -7
  203. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isNumber.js +0 -9
  204. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +0 -7
  205. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +0 -6
  206. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.js +0 -14
  207. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +0 -7
  208. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +0 -9
  209. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +0 -7
  210. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +0 -9
  211. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +0 -9
  212. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +0 -16
  213. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/merge.js +0 -8
  214. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/negate.js +0 -17
  215. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/noop.js +0 -4
  216. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/omitBy.js +0 -9
  217. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/pickBy.js +0 -16
  218. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/property.js +0 -10
  219. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +0 -6
  220. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +0 -6
  221. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js +0 -8
  222. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toInteger.js +0 -8
  223. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js +0 -19
  224. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toPlainObject.js +0 -8
  225. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +0 -7
  226. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/uniqWith.js +0 -7
@@ -1,27 +1,24 @@
1
1
  import e from "./point-chooser/index.js";
2
- import t from "../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js";
3
- import n from "../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js";
4
- import r from "../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js";
5
- import i from "../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isNumber.js";
6
- import a from "./graph/index.js";
7
- import o from "./feedback.js";
8
- import { buildElementModel as s } from "./graph/elements/builder.js";
9
- import c from "react";
10
- import { styled as l } from "@mui/material/styles";
11
- import u from "prop-types";
12
- import { jsx as d, jsxs as f } from "react/jsx-runtime";
13
- import p from "@pie-lib/translator";
2
+ import t from "./graph/index.js";
3
+ import n from "./feedback.js";
4
+ import { buildElementModel as r } from "./graph/elements/builder.js";
5
+ import i from "react";
6
+ import { styled as a } from "@mui/material/styles";
7
+ import o from "prop-types";
8
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
9
+ import l from "@pie-lib/translator";
10
+ import { cloneDeep as u, isArray as d, isEqual as f, isNumber as p } from "@pie-element/shared-lodash";
14
11
  import * as m from "@pie-lib/render-ui";
15
- import { Collapsible as h, PreviewPrompt as g, UiLayout as _, color as v, hasMedia as y, hasText as ee } from "@pie-lib/render-ui";
16
- import b from "@pie-lib/correct-answer-toggle";
12
+ import { Collapsible as h, PreviewPrompt as g, UiLayout as _, color as v, hasMedia as y, hasText as b } from "@pie-lib/render-ui";
13
+ import x from "@pie-lib/correct-answer-toggle";
17
14
  //#region src/delivery/number-line/index.tsx
18
- function x(e) {
15
+ function S(e) {
19
16
  return typeof e == "function" || typeof e == "object" && !!e && typeof e.$$typeof == "symbol";
20
17
  }
21
- function S(e, t) {
22
- return !e || x(e) ? e : x(e.default) ? e.default : t && x(e[t]) ? e[t] : t && x(e[t]?.default) ? e[t].default : e;
18
+ function C(e, t) {
19
+ return !e || S(e) ? e : S(e.default) ? e.default : t && S(e[t]) ? e[t] : t && S(e[t]?.default) ? e[t].default : e;
23
20
  }
24
- var C = S(_, "UiLayout") || S(O.UiLayout, "UiLayout"), w = S(g, "PreviewPrompt") || S(O.PreviewPrompt, "PreviewPrompt"), T = S(h, "Collapsible") || S(O.Collapsible, "Collapsible"), E = m, D = E.default, O = D && typeof D == "object" ? D : E, { translator: k } = p, A = l(C)(({ $colorContrast: e }) => ({
21
+ var w = C(_, "UiLayout") || C(k.UiLayout, "UiLayout"), T = C(g, "PreviewPrompt") || C(k.PreviewPrompt, "PreviewPrompt"), E = C(h, "Collapsible") || C(k.Collapsible, "Collapsible"), D = m, O = D.default, k = O && typeof O == "object" ? O : D, { translator: A } = l, j = a(w)(({ $colorContrast: e }) => ({
25
22
  color: v.text(),
26
23
  backgroundColor: v.background(),
27
24
  ...e === "black_on_rose" && { backgroundColor: "mistyrose" },
@@ -34,7 +31,7 @@ var C = S(_, "UiLayout") || S(O.UiLayout, "UiLayout"), w = S(g, "PreviewPrompt")
34
31
  "--point-stroke": "white",
35
32
  "--point-fill": "black"
36
33
  }
37
- })), j = l("div")(({ $colorContrast: e }) => ({
34
+ })), M = a("div")(({ $colorContrast: e }) => ({
38
35
  boxSizing: "unset",
39
36
  color: v.text(),
40
37
  backgroundColor: v.background(),
@@ -48,22 +45,22 @@ var C = S(_, "UiLayout") || S(O.UiLayout, "UiLayout"), w = S(g, "PreviewPrompt")
48
45
  "--point-stroke": "white",
49
46
  "--point-fill": "black"
50
47
  }
51
- })), M = l("div")({
48
+ })), N = a("div")({
52
49
  textAlign: "center",
53
50
  pointerEvents: "none",
54
51
  userSelect: "none"
55
- }), N = l("div")({ marginBottom: "16px" }), P = l("div")({
52
+ }), P = a("div")({ marginBottom: "16px" }), F = a("div")({
56
53
  verticalAlign: "middle",
57
54
  marginBottom: "16px"
58
- }), F = l(T)(({ theme: e }) => ({ paddingBottom: e.spacing(2) })), I = class extends c.Component {
55
+ }), ee = a(E)(({ theme: e }) => ({ paddingBottom: e.spacing(2) })), I = class extends i.Component {
59
56
  static propTypes = {
60
- onMoveElement: u.func.isRequired,
61
- onDeleteElements: u.func.isRequired,
62
- onAddElement: u.func.isRequired,
63
- onUndoElement: u.func.isRequired,
64
- onClearElements: u.func.isRequired,
65
- model: u.object.isRequired,
66
- answer: u.array
57
+ onMoveElement: o.func.isRequired,
58
+ onDeleteElements: o.func.isRequired,
59
+ onAddElement: o.func.isRequired,
60
+ onUndoElement: o.func.isRequired,
61
+ onClearElements: o.func.isRequired,
62
+ model: o.object.isRequired,
63
+ answer: o.array
67
64
  };
68
65
  constructor(t, n) {
69
66
  super(t, n);
@@ -90,19 +87,19 @@ var C = S(_, "UiLayout") || S(O.UiLayout, "UiLayout"), w = S(g, "PreviewPrompt")
90
87
  }
91
88
  let { ticks: t, domain: n, availableTypes: i } = this.props.model.graph;
92
89
  if (i && !i[this.state.elementType.toUpperCase()]) return;
93
- let a = s(e, this.state.elementType, n, t.minor);
90
+ let a = r(e, this.state.elementType, n, t.minor);
94
91
  if (a) {
95
92
  let { answers: e } = this.state;
96
- e.some((e) => r(e, a)) || (e.push(a), this.setState({ answers: e }), this.props.onAddElement(a));
93
+ e.some((e) => f(e, a)) || (e.push(a), this.setState({ answers: e }), this.props.onAddElement(a));
97
94
  }
98
95
  }
99
96
  hasMaxNoOfPoints() {
100
97
  let { answer: e, model: { graph: { maxNumberOfPoints: t } } } = this.props;
101
- return i(t) && t > 0 && (e || []).length >= t;
98
+ return p(t) && t > 0 && (e || []).length >= t;
102
99
  }
103
100
  UNSAFE_componentWillReceiveProps(e) {
104
101
  let { answer: t } = e;
105
- r(this.state.answers, t) || this.setState({
102
+ f(this.state.answers, t) || this.setState({
106
103
  showCorrectAnswer: !1,
107
104
  answers: t
108
105
  });
@@ -123,24 +120,24 @@ var C = S(_, "UiLayout") || S(O.UiLayout, "UiLayout"), w = S(g, "PreviewPrompt")
123
120
  this.setState({ answers: [] }), e();
124
121
  }
125
122
  render() {
126
- let { model: r, onDeleteElements: i, onMoveElement: s, minWidth: c = 400, maxWidth: l = 1600, maxHeight: u } = this.props, { showCorrectAnswer: p, answers: m, selectedElements: h, showMaxPointsWarning: g, elementType: _ } = this.state, { corrected: v = {
123
+ let { model: r, onDeleteElements: i, onMoveElement: a, minWidth: o = 400, maxWidth: l = 1600, maxHeight: f } = this.props, { showCorrectAnswer: p, answers: m, selectedElements: h, showMaxPointsWarning: g, elementType: _ } = this.state, { corrected: v = {
127
124
  correct: [],
128
125
  incorrect: []
129
- }, disabled: x, extraCSSRules: S, graph: C, correctResponse: T, prompt: E, emptyAnswer: D, feedback: O, colorContrast: I, language: L, teacherInstructions: R } = r, z = this.addElement.bind(this), B = !x && h && h.length > 0, { ticks: V, domain: H, arrows: U, maxNumberOfPoints: W, height: G = 100, availableTypes: K, title: q, fraction: J } = C, Y = this.getSize("width", c, l, 600), X = R && (ee(R) || y(R)), Z = {
130
- disabled: x,
126
+ }, disabled: S, extraCSSRules: C, graph: w, correctResponse: E, prompt: D, emptyAnswer: O, feedback: k, colorContrast: I, language: L, teacherInstructions: R } = r, z = this.addElement.bind(this), B = !S && h && h.length > 0, { ticks: V, domain: H, arrows: U, maxNumberOfPoints: W, height: G = 100, availableTypes: K, title: q, fraction: J } = w, Y = this.getSize("width", o, l, 600), X = R && (b(R) || y(R)), Z = {
127
+ disabled: S,
131
128
  domain: H,
132
129
  ticks: V,
133
130
  width: Y,
134
- height: (G > u ? u : G) || 100,
131
+ height: (G > f ? f : G) || 100,
135
132
  arrows: U,
136
133
  fraction: J
137
- }, Q = p && T ? (T || []).map((e) => (e.correct = !0, e)) : (m || []).map((e, t) => {
138
- let r = n(e);
139
- return r.selected = h.indexOf(t) !== -1, v.correct.includes(t) ? r.correct = !0 : v.incorrect.includes(t) ? r.correct = !1 : r.correct = void 0, r;
140
- }), te = () => W == 1 ? k.t("numberLine.addElementLimit_one", {
134
+ }, Q = p && E ? (E || []).map((e) => (e.correct = !0, e)) : (m || []).map((e, t) => {
135
+ let n = u(e);
136
+ return n.selected = h.indexOf(t) !== -1, v.correct.includes(t) ? n.correct = !0 : v.incorrect.includes(t) ? n.correct = !1 : n.correct = void 0, n;
137
+ }), te = () => W == 1 ? A.t("numberLine.addElementLimit_one", {
141
138
  lng: L,
142
139
  count: 1
143
- }) : k.t("numberLine.addElementLimit_other", {
140
+ }) : A.t("numberLine.addElementLimit_other", {
144
141
  lng: L,
145
142
  count: W
146
143
  }), ne = () => {
@@ -153,33 +150,33 @@ var C = S(_, "UiLayout") || S(O.UiLayout, "UiLayout"), w = S(g, "PreviewPrompt")
153
150
  }, ie = (e) => {
154
151
  this.setState({ showCorrectAnswer: e });
155
152
  }, $ = Z.width - 20;
156
- return /* @__PURE__ */ f(A, {
157
- extraCSSRules: S,
153
+ return /* @__PURE__ */ c(j, {
154
+ extraCSSRules: C,
158
155
  $colorContrast: I,
159
156
  children: [
160
- X && /* @__PURE__ */ d(F, {
157
+ X && /* @__PURE__ */ s(ee, {
161
158
  labels: {
162
159
  hidden: "Show Teacher Instructions",
163
160
  visible: "Hide Teacher Instructions"
164
161
  },
165
- children: /* @__PURE__ */ d(w, { prompt: R })
162
+ children: /* @__PURE__ */ s(T, { prompt: R })
166
163
  }),
167
- E && /* @__PURE__ */ d(P, { children: /* @__PURE__ */ d(w, { prompt: E }) }),
168
- /* @__PURE__ */ f(j, {
164
+ D && /* @__PURE__ */ s(F, { children: /* @__PURE__ */ s(T, { prompt: D }) }),
165
+ /* @__PURE__ */ c(M, {
169
166
  $colorContrast: I,
170
167
  style: { width: Y },
171
168
  children: [
172
- /* @__PURE__ */ d(N, {
169
+ /* @__PURE__ */ s(P, {
173
170
  style: { width: $ },
174
- children: /* @__PURE__ */ d(b, {
175
- show: t(T) && T.length && !D,
171
+ children: /* @__PURE__ */ s(x, {
172
+ show: d(E) && E.length && !O,
176
173
  toggled: p,
177
174
  onToggle: ie,
178
175
  initialValue: !1,
179
176
  language: L
180
177
  })
181
178
  }),
182
- !x && /* @__PURE__ */ d(e, {
179
+ !S && /* @__PURE__ */ s(e, {
183
180
  elementType: _,
184
181
  showDeleteButton: B,
185
182
  onDeleteClick: ne,
@@ -189,23 +186,23 @@ var C = S(_, "UiLayout") || S(O.UiLayout, "UiLayout"), w = S(g, "PreviewPrompt")
189
186
  icons: re(),
190
187
  language: L
191
188
  }),
192
- /* @__PURE__ */ d(a, {
189
+ /* @__PURE__ */ s(t, {
193
190
  ...Z,
194
191
  elements: Q,
195
192
  onAddElement: z,
196
- onMoveElement: s,
193
+ onMoveElement: a,
197
194
  onToggleElement: this.toggleElement.bind(this),
198
195
  onDeselectElements: this.deselectElements.bind(this),
199
196
  debug: !1
200
197
  }),
201
- q && /* @__PURE__ */ d(M, { dangerouslySetInnerHTML: { __html: q } }),
202
- g && /* @__PURE__ */ d(o, {
198
+ q && /* @__PURE__ */ s(N, { dangerouslySetInnerHTML: { __html: q } }),
199
+ g && /* @__PURE__ */ s(n, {
203
200
  type: "info",
204
201
  width: $,
205
202
  message: te()
206
203
  }),
207
- O && !p && /* @__PURE__ */ d(o, {
208
- ...O,
204
+ k && !p && /* @__PURE__ */ s(n, {
205
+ ...k,
209
206
  width: $
210
207
  })
211
208
  ]