@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
@@ -66,4 +66,4 @@ var o = t("div")({
66
66
  }
67
67
  };
68
68
  //#endregion
69
- export { c as default };
69
+ export { c as Arrows, c as default };
@@ -51,4 +51,4 @@ d.propTypes = {
51
51
  onChange: r.func.isRequired
52
52
  };
53
53
  //#endregion
54
- export { d as default };
54
+ export { d as Domain, d as default };
@@ -19,5 +19,6 @@ export default class NumberLine extends HTMLElement {
19
19
  insertSound(handler: any): void;
20
20
  onDeleteSound(src: any, done: any): void;
21
21
  _rerender(): void;
22
+ connectedCallback(): void;
22
23
  disconnectedCallback(): void;
23
24
  }
@@ -1,42 +1,42 @@
1
- import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js";
2
- import { configuration as t, model as n } from "./defaults.js";
3
- import r from "./main.js";
4
- import i from "react";
5
- import * as a from "mathjs";
1
+ import { configuration as e, model as t } from "./defaults.js";
2
+ import { Main as n } from "./main.js";
3
+ import r from "react";
4
+ import * as i from "mathjs";
5
+ import { cloneDeep as a } from "@pie-element/shared-lodash";
6
6
  import { createRoot as o } from "react-dom/client";
7
7
  import { DeleteImageEvent as s, DeleteSoundEvent as c, InsertImageEvent as l, InsertSoundEvent as u, ModelUpdatedEvent as d } from "@pie-element/shared-configure-events";
8
8
  //#region src/author/index.ts
9
9
  var f = (e) => {
10
- let { graph: { domain: t, labelStep: n, ticks: r = {} } = {} } = e, { minor: i, major: o } = r;
10
+ let { graph: { domain: t, labelStep: n, ticks: r = {} } = {} } = e, { minor: a, major: o } = r;
11
11
  if (t && (t.min = Number((t.min || 0).toFixed(2)), t.max = Number((t.max || 0).toFixed(2))), n && typeof n == "string" && n.match(/^[1-9][0-9]*\/[1-9][0-9]*$/g)) {
12
12
  e.graph.fraction = !0, r.tickIntervalType = "Fraction";
13
- let t = a.evaluate(n);
14
- t !== o && (r.major = t, r.minor = t / (o / i));
13
+ let t = i.evaluate(n);
14
+ t !== o && (r.major = t, r.minor = t / (o / a));
15
15
  }
16
16
  return e;
17
- }, p = class a extends HTMLElement {
18
- static createDefaultModel = (e = {}) => {
19
- let r = t, i = e.language || "";
17
+ }, p = class i extends HTMLElement {
18
+ static createDefaultModel = (n = {}) => {
19
+ let r = e, i = n.language || "";
20
20
  return !i && r.language && r.language.enabled && r.languageChoices?.options?.length && (i = r.languageChoices.options[0].value), f({
21
+ ...t,
21
22
  ...n,
22
- ...e,
23
23
  language: i
24
24
  });
25
25
  };
26
26
  constructor() {
27
- super(), this._root = null, this._model = a.createDefaultModel(), this._configuration = t;
27
+ super(), this._root = null, this._model = i.createDefaultModel(), this._configuration = e;
28
28
  }
29
- set model(t) {
30
- this._model = a.createDefaultModel(t), this._modelCopy = e(this._model), this._rerender();
29
+ set model(e) {
30
+ this._model = i.createDefaultModel(e), this._modelCopy = a(this._model), this._rerender();
31
31
  }
32
32
  resetModelAfterConfigurationIsSet = () => {
33
33
  let e = document.querySelectorAll("pie-author");
34
34
  this.hasPlayerAsParent = Array.from(e).some((e) => e.contains(this)), this.hasPlayerAsParent && (this._modelCopy ? this._model = this._modelCopy : delete this._modelCopy);
35
35
  };
36
- set configuration(e) {
36
+ set configuration(t) {
37
37
  let n = {
38
- ...t,
39
- ...e
38
+ ...e,
39
+ ...t
40
40
  };
41
41
  this._configuration = n, this.resetModelAfterConfigurationIsSet(), n?.language?.enabled ? n?.languageChoices?.options?.length && (this._model.language = n?.languageChoices.options[0].value) : n.language.settings && this._model.language ? (this._configuration.language.enabled = !0, (!this._configuration.languageChoices.options || !this._configuration.languageChoices.options.length) && (this._configuration.languageChoices.options = []), this._configuration.languageChoices.options.find((e) => e.value === this._model.language) || this._configuration.languageChoices.options.push({
42
42
  value: this._model.language,
@@ -65,7 +65,7 @@ var f = (e) => {
65
65
  this.dispatchEvent(new c(e, t));
66
66
  }
67
67
  _rerender() {
68
- let e = i.createElement(r, {
68
+ let e = r.createElement(n, {
69
69
  model: this._model,
70
70
  configuration: this._configuration,
71
71
  onChange: this.onChange,
@@ -81,8 +81,11 @@ var f = (e) => {
81
81
  });
82
82
  this._root ||= o(this), this._root.render(e);
83
83
  }
84
+ connectedCallback() {
85
+ this._rerender();
86
+ }
84
87
  disconnectedCallback() {
85
- this._root && this._root.unmount();
88
+ this._root &&= (this._root.unmount(), null);
86
89
  }
87
90
  };
88
91
  //#endregion
@@ -1,21 +1,21 @@
1
1
  import { data_converter_exports as e } from "../delivery/data-converter.js";
2
- import t from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js";
3
- import { generateMajorValuesForMinor as n, generateMinorValues as r, getMinorLimits as i, snapElements as a } from "../delivery/number-line/graph/tick-utils.js";
4
- import o from "../delivery/number-line/index.js";
5
- import s from "./number-text-field.js";
6
- import c from "./card-bar.js";
2
+ import { generateMajorValuesForMinor as t, generateMinorValues as n, getMinorLimits as r, snapElements as i } from "../delivery/number-line/graph/tick-utils.js";
3
+ import { NumberLine as a } from "../delivery/number-line/index.js";
4
+ import o from "./number-text-field.js";
5
+ import s from "./card-bar.js";
7
6
  import ee from "./size.js";
8
- import l from "./domain.js";
9
- import te from "./arrows.js";
7
+ import { Domain as te } from "./domain.js";
8
+ import { Arrows as c } from "./arrows.js";
10
9
  import ne from "./point-config.js";
11
- import re from "./ticks.js";
12
- import { model as u } from "./defaults.js";
10
+ import { Ticks as re } from "./ticks.js";
11
+ import { model as l } from "./defaults.js";
13
12
  import { generateValidationMessage as ie } from "./utils.js";
14
- import d from "react";
15
- import { styled as f } from "@mui/material/styles";
16
- import p from "prop-types";
17
- import { jsx as m, jsxs as h } from "react/jsx-runtime";
18
- import * as g from "mathjs";
13
+ import u from "react";
14
+ import { styled as d } from "@mui/material/styles";
15
+ import f from "prop-types";
16
+ import { jsx as p, jsxs as m } from "react/jsx-runtime";
17
+ import * as h from "mathjs";
18
+ import { cloneDeep as g } from "@pie-element/shared-lodash";
19
19
  import { AlertDialog as _, FormSection as v, InputContainer as y, layout as ae, settings as b } from "@pie-lib/config-ui";
20
20
  import x from "@pie-lib/editable-html-tip-tap";
21
21
  import oe from "@mui/material/Tooltip";
@@ -33,42 +33,42 @@ var C = (e) => ({
33
33
  disabled: !0
34
34
  },
35
35
  correctResponse: void 0
36
- }), { lineIsSwitched: w, switchGraphLine: T, toGraphFormat: ce, toSessionFormat: E } = e, { Panel: le, toggle: D } = b, O = {}, k = {}, A = {}, ue = f(s)({
36
+ }), { lineIsSwitched: w, switchGraphLine: T, toGraphFormat: ce, toSessionFormat: E } = e, { Panel: le, toggle: D } = b, O = {}, k = {}, A = {}, ue = d(o)({
37
37
  width: "150px",
38
38
  ".MuiInputBase-input": { padding: "16.5px 14px" }
39
- }), de = f("div")(({ theme: e }) => ({
39
+ }), de = d("div")(({ theme: e }) => ({
40
40
  display: "flex",
41
41
  flexWrap: "wrap",
42
42
  "& > *": { paddingRight: e.spacing(2) }
43
- })), fe = f("div")(({ theme: e }) => ({ margin: `${e.spacing(2.5)} 0` })), j = f(y)(({ theme: e }) => ({
43
+ })), fe = d("div")(({ theme: e }) => ({ margin: `${e.spacing(2.5)} 0` })), j = d(y)(({ theme: e }) => ({
44
44
  paddingTop: e.spacing(2),
45
45
  marginBottom: e.spacing(2),
46
46
  width: "100%"
47
- })), pe = f(v)(({ theme: e }) => ({ marginBottom: e.spacing(4) })), M = f("div")(({ theme: e }) => ({
47
+ })), pe = d(v)(({ theme: e }) => ({ marginBottom: e.spacing(4) })), M = d("div")(({ theme: e }) => ({
48
48
  fontSize: e.typography.fontSize - 2,
49
49
  color: e.palette.error.main,
50
50
  paddingTop: e.spacing(1)
51
- })), me = f("div")({
51
+ })), me = d("div")({
52
52
  display: "flex",
53
53
  alignItems: "center",
54
54
  gap: "10px"
55
- }), he = f(v)({
55
+ }), he = d(v)({
56
56
  display: "flex",
57
57
  alignItems: "center",
58
58
  gap: "10px"
59
- }), ge = f(S)(({ theme: e }) => ({ marginBottom: e.spacing(2.5) })), N = (e) => {
59
+ }), ge = d(S)(({ theme: e }) => ({ marginBottom: e.spacing(2.5) })), N = (e) => {
60
60
  function t(e) {
61
61
  return e.pointType ? e.direction ? `${e.pointType[0]}${e.direction[0]}` : e.pointType[0] : `${e.leftPoint[0]}${e.rightPoint[0]}`;
62
62
  }
63
63
  return `${e.type[0]}${t(e)}`.toUpperCase();
64
- }, P = class extends d.Component {
64
+ }, P = class extends u.Component {
65
65
  static propTypes = {
66
- model: p.object.isRequired,
67
- configuration: p.object.isRequired,
68
- onConfigurationChanged: p.func.isRequired,
69
- onChange: p.func.isRequired,
70
- imageSupport: p.object.isRequired,
71
- uploadSoundSupport: p.object.isRequired
66
+ model: f.object.isRequired,
67
+ configuration: f.object.isRequired,
68
+ onConfigurationChanged: f.func.isRequired,
69
+ onChange: f.func.isRequired,
70
+ imageSupport: f.object.isRequired,
71
+ uploadSoundSupport: f.object.isRequired
72
72
  };
73
73
  constructor(e) {
74
74
  super(e);
@@ -134,7 +134,7 @@ var C = (e) => ({
134
134
  };
135
135
  changeGraphTitle = (e) => this.graphChange({ title: e });
136
136
  changeTicks = (e) => {
137
- let { model: t, onChange: n } = this.props, { ticks: r } = e, i = a(t.graph.domain, r, t.correctResponse), o = t.graph.initialElements ? a(t.graph.domain, r, t.graph.initialElements) : [];
137
+ let { model: t, onChange: n } = this.props, { ticks: r } = e, a = i(t.graph.domain, r, t.correctResponse), o = t.graph.initialElements ? i(t.graph.domain, r, t.graph.initialElements) : [];
138
138
  n({
139
139
  graph: {
140
140
  ...this.updateMajorValue({
@@ -143,63 +143,63 @@ var C = (e) => ({
143
143
  }),
144
144
  initialElements: o
145
145
  },
146
- correctResponse: i
146
+ correctResponse: a
147
147
  });
148
148
  };
149
149
  reloadTicksData = (e) => {
150
- let { domain: t, ticks: n, width: a } = e;
151
- if (n.tickIntervalType || (n.minor > .5 ? n.tickIntervalType = "Integer" : n.tickIntervalType = "Decimal"), O = i(t, a), O.min >= 1) n.tickIntervalType = "Integer", n.minor = n.minor < 1 ? g.number(g.ceil(O.min)) : n.minor >= g.number(g.ceil(O.min)) && n.minor <= g.number(g.floor(O.max)) ? n.minor : g.number(g.ceil(O.min)), n.integerTick = n.minor, k = {
150
+ let { domain: t, ticks: i, width: a } = e;
151
+ if (i.tickIntervalType || (i.minor > .5 ? i.tickIntervalType = "Integer" : i.tickIntervalType = "Decimal"), O = r(t, a), O.min >= 1) i.tickIntervalType = "Integer", i.minor = i.minor < 1 ? h.number(h.ceil(O.min)) : i.minor >= h.number(h.ceil(O.min)) && i.minor <= h.number(h.floor(O.max)) ? i.minor : h.number(h.ceil(O.min)), i.integerTick = i.minor, k = {
152
152
  decimal: [],
153
153
  fraction: []
154
- }, n.fractionTick = "0", n.decimalTick = 0;
154
+ }, i.fractionTick = "0", i.decimalTick = 0;
155
155
  else if (O.min >= 0 && O.max < 1) {
156
- n.tickIntervalType === "Integer" && (n.tickIntervalType = "Fraction"), k = r(O);
157
- let e = g.number(g.fraction(k.fraction[0])), t = g.number(g.fraction(k.fraction[k.fraction.length - 1]));
158
- if (n.minor < e || n.minor > t) switch (n.tickIntervalType) {
156
+ i.tickIntervalType === "Integer" && (i.tickIntervalType = "Fraction"), k = n(O);
157
+ let e = h.number(h.fraction(k.fraction[0])), t = h.number(h.fraction(k.fraction[k.fraction.length - 1]));
158
+ if (i.minor < e || i.minor > t) switch (i.tickIntervalType) {
159
159
  case "Fraction":
160
- n.minor = g.number(g.fraction(k.fraction[k.fraction.length - 1])), n.fractionTick = k.fraction[k.fraction.length - 1], n.decimalTick = k.decimal[0];
160
+ i.minor = h.number(h.fraction(k.fraction[k.fraction.length - 1])), i.fractionTick = k.fraction[k.fraction.length - 1], i.decimalTick = k.decimal[0];
161
161
  break;
162
162
  case "Decimal":
163
- case "Integer": n.minor = k.decimal[k.decimal.length - 1], n.decimalTick = k.decimal[k.decimal.length - 1], n.fractionTick = k.fraction[0];
163
+ case "Integer": i.minor = k.decimal[k.decimal.length - 1], i.decimalTick = k.decimal[k.decimal.length - 1], i.fractionTick = k.fraction[0];
164
164
  }
165
- else switch (n.tickIntervalType) {
165
+ else switch (i.tickIntervalType) {
166
166
  case "Fraction":
167
- let e = g.fraction(g.number(n.minor));
168
- n.fractionTick = e.n + "/" + e.d, n.decimalTick = n.decimalTick ? n.decimalTick : k.decimal[0];
167
+ let e = h.fraction(h.number(i.minor));
168
+ i.fractionTick = e.n + "/" + e.d, i.decimalTick = i.decimalTick ? i.decimalTick : k.decimal[0];
169
169
  break;
170
170
  case "Decimal":
171
- case "Integer": n.decimalTick = n.minor, n.fractionTick = n.fractionTick ? n.fractionTick : k.fraction[0];
171
+ case "Integer": i.decimalTick = i.minor, i.fractionTick = i.fractionTick ? i.fractionTick : k.fraction[0];
172
172
  }
173
- n.integerTick = 1;
174
- } else if (O.min < 1 && O.max >= 1) if (k = r(O), n.minor >= O.min && n.minor <= O.max) switch (n.tickIntervalType) {
173
+ i.integerTick = 1;
174
+ } else if (O.min < 1 && O.max >= 1) if (k = n(O), i.minor >= O.min && i.minor <= O.max) switch (i.tickIntervalType) {
175
175
  case "Integer":
176
- n.integerTick = n.minor, n.decimalTick = O.min > .5 ? 0 : k.decimal[0], n.fractionTick = O.min > .5 ? "0" : k.fraction[0];
176
+ i.integerTick = i.minor, i.decimalTick = O.min > .5 ? 0 : k.decimal[0], i.fractionTick = O.min > .5 ? "0" : k.fraction[0];
177
177
  break;
178
178
  case "Decimal":
179
- n.integerTick = 1, n.decimalTick = n.minor, n.fractionTick = k.fraction[0];
179
+ i.integerTick = 1, i.decimalTick = i.minor, i.fractionTick = k.fraction[0];
180
180
  break;
181
181
  case "Fraction":
182
- n.integerTick = 1, n.decimalTick = k.decimal[0];
183
- let e = g.fraction(g.number(n.minor));
184
- n.fractionTick = e.n + "/" + e.d;
182
+ i.integerTick = 1, i.decimalTick = k.decimal[0];
183
+ let e = h.fraction(h.number(i.minor));
184
+ i.fractionTick = e.n + "/" + e.d;
185
185
  }
186
- else switch (O.min > .5 && (n.tickIntervalType = "Integer"), n.tickIntervalType) {
186
+ else switch (O.min > .5 && (i.tickIntervalType = "Integer"), i.tickIntervalType) {
187
187
  case "Integer":
188
- n.minor = g.number(g.ceil(O.min)), n.integerTick = n.minor, n.decimalTick = O.min > .5 ? 0 : k.decimal[0], n.fractionTick = O.min > .5 ? "0" : k.fraction[0];
188
+ i.minor = h.number(h.ceil(O.min)), i.integerTick = i.minor, i.decimalTick = O.min > .5 ? 0 : k.decimal[0], i.fractionTick = O.min > .5 ? "0" : k.fraction[0];
189
189
  break;
190
190
  case "Decimal":
191
- n.minor = k.decimal[0], n.integerTick = 1, n.decimalTick = n.minor, n.fractionTick = k.fraction[0];
191
+ i.minor = k.decimal[0], i.integerTick = 1, i.decimalTick = i.minor, i.fractionTick = k.fraction[0];
192
192
  break;
193
- case "Fraction": n.minor = g.number(g.fraction(k.fraction[0])), n.integerTick = 1, n.decimalTick = k.decimal[0], n.fractionTick = k.fraction[0];
193
+ case "Fraction": i.minor = h.number(h.fraction(k.fraction[0])), i.integerTick = 1, i.decimalTick = k.decimal[0], i.fractionTick = k.fraction[0];
194
194
  }
195
195
  return this.updateMajorValue({
196
196
  ...e,
197
- ticks: n
197
+ ticks: i
198
198
  });
199
199
  };
200
200
  updateMajorValue = (e) => {
201
- let { domain: t, ticks: r, width: i } = e;
202
- if (A = n(r.minor, t, i), A.decimal.indexOf(r.major) === -1) {
201
+ let { domain: n, ticks: r, width: i } = e;
202
+ if (A = t(r.minor, n, i), A.decimal.indexOf(r.major) === -1) {
203
203
  let e = 0;
204
204
  e = r.tickIntervalType === "Integer" && A.decimal.length > 4 ? 4 : A.decimal.length - 1, r.major = A.decimal[e];
205
205
  }
@@ -210,11 +210,11 @@ var C = (e) => ({
210
210
  };
211
211
  changeArrows = (e) => this.graphChange({ arrows: e });
212
212
  setDefaults = () => {
213
- let { graph: { availableTypes: e, maxNumberOfPoints: n } } = u, r = this.getAdjustedHeight(e, n), i = {
214
- ...t(u.graph),
215
- height: r
213
+ let { graph: { availableTypes: e, maxNumberOfPoints: t } } = l, n = this.getAdjustedHeight(e, t), r = {
214
+ ...g(l.graph),
215
+ height: n
216
216
  };
217
- this.props.onChange({ graph: i });
217
+ this.props.onChange({ graph: r });
218
218
  };
219
219
  moveCorrectResponse = (e, t, n) => {
220
220
  t.position = n;
@@ -250,74 +250,74 @@ var C = (e) => ({
250
250
  n.pop(), t({ correctResponse: n });
251
251
  };
252
252
  render() {
253
- let { model: e, onChange: n, configuration: r, onConfigurationChanged: i, uploadSoundSupport: a, imageSupport: s } = this.props, { baseInputConfiguration: u = {}, contentDimensions: f = {}, instruction: p = {}, teacherInstructions: g = {}, title: y = {}, prompt: b = {}, rationale: S = {}, spellCheck: w = {}, mathMlOptions: T = {}, numberLineDimensions: E = {}, maxMaxElements: N = 20, hidePointConfigButtons: P = !1, availableTools: F = ["PF"], settingsPanelDisabled: I = !1 } = r || {}, { errors: L = {}, extraCSSRules: _e, spellCheckEnabled: R, toolbarEditorPosition: z, teacherInstructionsEnabled: ve, titleEnabled: ye, promptEnabled: be, rationaleEnabled: xe } = e || {}, { graph: B } = e;
253
+ let { model: e, onChange: t, configuration: n, onConfigurationChanged: r, uploadSoundSupport: i, imageSupport: o } = this.props, { baseInputConfiguration: l = {}, contentDimensions: d = {}, instruction: f = {}, teacherInstructions: h = {}, title: y = {}, prompt: b = {}, rationale: S = {}, spellCheck: w = {}, mathMlOptions: T = {}, numberLineDimensions: E = {}, maxMaxElements: N = 20, hidePointConfigButtons: P = !1, availableTools: F = ["PF"], settingsPanelDisabled: I = !1 } = n || {}, { errors: L = {}, extraCSSRules: _e, spellCheckEnabled: R, toolbarEditorPosition: ve, teacherInstructionsEnabled: ye, titleEnabled: z, promptEnabled: be, rationaleEnabled: xe } = e || {}, { graph: B } = e;
254
254
  B = this.reloadTicksData(B);
255
- let { dialog: V, correctAnswerDialog: H } = this.state, { correctResponseError: U, domainError: W, maxError: G, pointsError: K, prompt: q, rationale: J, teacherInstructions: Y, widthError: X } = L || {}, Se = ie(), Ce = t(e.correctResponse || []).map(ce), Z = t(e);
255
+ let { dialog: V, correctAnswerDialog: H } = this.state, { correctResponseError: U, domainError: W, maxError: G, pointsError: K, prompt: q, rationale: J, teacherInstructions: Y, widthError: X } = L || {}, Se = ie(), Ce = g(e.correctResponse || []).map(ce), Z = g(e);
256
256
  Z.disabled = !0;
257
- let Q = { position: z === "top" ? "top" : "bottom" }, we = {
258
- teacherInstructionsEnabled: g.settings && D(g.label),
257
+ let Q = { position: ve === "top" ? "top" : "bottom" }, we = {
258
+ teacherInstructionsEnabled: h.settings && D(h.label),
259
259
  titleEnabled: y.settings && D(y.label),
260
260
  promptEnabled: b.settings && D(b.label),
261
261
  rationaleEnabled: S.settings && D(S.label),
262
262
  spellCheckEnabled: w.settings && D(w.label)
263
263
  }, $ = (e = {}) => ({
264
- ...u,
264
+ ...l,
265
265
  ...e
266
266
  });
267
- return /* @__PURE__ */ h(ae.ConfigLayout, {
267
+ return /* @__PURE__ */ m(ae.ConfigLayout, {
268
268
  extraCSSRules: _e,
269
- dimensions: f,
269
+ dimensions: d,
270
270
  hideSettings: I,
271
- settings: /* @__PURE__ */ m(le, {
271
+ settings: /* @__PURE__ */ p(le, {
272
272
  model: e,
273
- configuration: r,
274
- onChangeModel: n,
275
- onChangeConfiguration: i,
273
+ configuration: n,
274
+ onChangeModel: t,
275
+ onChangeConfiguration: r,
276
276
  groups: { Properties: we }
277
277
  }),
278
278
  children: [
279
- /* @__PURE__ */ m(ge, {
279
+ /* @__PURE__ */ p(ge, {
280
280
  component: "div",
281
281
  type: "body1",
282
- children: p.label
282
+ children: f.label
283
283
  }),
284
- ve && /* @__PURE__ */ h(j, {
285
- label: g.label,
286
- children: [/* @__PURE__ */ m(x, {
284
+ ye && /* @__PURE__ */ m(j, {
285
+ label: h.label,
286
+ children: [/* @__PURE__ */ p(x, {
287
287
  markup: e.teacherInstructions || "",
288
- onChange: (e) => n({ teacherInstructions: e }),
288
+ onChange: (e) => t({ teacherInstructions: e }),
289
289
  nonEmpty: !1,
290
290
  disableUnderline: !0,
291
291
  error: Y,
292
292
  toolbarOpts: Q,
293
- pluginProps: $(g?.inputConfiguration),
293
+ pluginProps: $(h?.inputConfiguration),
294
294
  spellCheck: R,
295
- imageSupport: s,
296
- uploadSoundSupport: a,
295
+ imageSupport: o,
296
+ uploadSoundSupport: i,
297
297
  languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
298
298
  mathMlOptions: T
299
- }), Y && /* @__PURE__ */ m(M, { children: Y })]
299
+ }), Y && /* @__PURE__ */ p(M, { children: Y })]
300
300
  }),
301
- be && /* @__PURE__ */ h(j, {
301
+ be && /* @__PURE__ */ m(j, {
302
302
  label: b.label,
303
- children: [/* @__PURE__ */ m(x, {
303
+ children: [/* @__PURE__ */ p(x, {
304
304
  markup: e.prompt || "",
305
- onChange: (e) => n({ prompt: e }),
305
+ onChange: (e) => t({ prompt: e }),
306
306
  nonEmpty: !1,
307
307
  disableUnderline: !0,
308
308
  error: q,
309
309
  toolbarOpts: Q,
310
310
  pluginProps: $(b?.inputConfiguration),
311
311
  spellCheck: R,
312
- imageSupport: s,
313
- uploadSoundSupport: a,
312
+ imageSupport: o,
313
+ uploadSoundSupport: i,
314
314
  languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
315
315
  mathMlOptions: T
316
- }), q && /* @__PURE__ */ m(M, { children: q })]
316
+ }), q && /* @__PURE__ */ p(M, { children: q })]
317
317
  }),
318
- /* @__PURE__ */ m(c, {
318
+ /* @__PURE__ */ p(s, {
319
319
  header: "Set Up Number Line",
320
- info: /* @__PURE__ */ m(oe, {
320
+ info: /* @__PURE__ */ p(oe, {
321
321
  disableFocusListener: !0,
322
322
  disableTouchListener: !0,
323
323
  placement: "right",
@@ -327,7 +327,7 @@ var C = (e) => ({
327
327
  whiteSpace: "pre",
328
328
  maxWidth: "500px"
329
329
  }) } },
330
- children: /* @__PURE__ */ m(se, {
330
+ children: /* @__PURE__ */ p(se, {
331
331
  fontSize: "small",
332
332
  color: "primary",
333
333
  style: { marginLeft: "8px" }
@@ -335,36 +335,36 @@ var C = (e) => ({
335
335
  }),
336
336
  children: "Set up the number line by entering the domain and number of tick marks to display. Labels on the number line can be edited or removed by clicking on the label."
337
337
  }),
338
- /* @__PURE__ */ m(de, { children: /* @__PURE__ */ m(l, {
338
+ /* @__PURE__ */ p(de, { children: /* @__PURE__ */ p(te, {
339
339
  domain: B.domain,
340
340
  errors: L,
341
341
  onChange: (e) => this.graphChange({ domain: e })
342
342
  }) }),
343
- G && /* @__PURE__ */ m(M, { children: G }),
344
- W && /* @__PURE__ */ m(M, { children: W }),
345
- /* @__PURE__ */ m("div", { children: /* @__PURE__ */ m(v, { children: /* @__PURE__ */ m(re, {
343
+ G && /* @__PURE__ */ p(M, { children: G }),
344
+ W && /* @__PURE__ */ p(M, { children: W }),
345
+ /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(v, { children: /* @__PURE__ */ p(re, {
346
346
  ticks: B.ticks,
347
347
  minorLimits: O,
348
348
  minorValues: k,
349
349
  majorValues: A,
350
350
  onChange: this.changeTicks
351
351
  }) }) }),
352
- /* @__PURE__ */ h(me, { children: [
353
- e.widthEnabled && /* @__PURE__ */ m(ee, {
352
+ /* @__PURE__ */ m(me, { children: [
353
+ e.widthEnabled && /* @__PURE__ */ p(ee, {
354
354
  size: B,
355
355
  min: E.min,
356
356
  max: E.max,
357
357
  step: E.step,
358
358
  onChange: this.changeSize
359
359
  }),
360
- /* @__PURE__ */ m("div", {}),
361
- /* @__PURE__ */ m(te, {
360
+ /* @__PURE__ */ p("div", {}),
361
+ /* @__PURE__ */ p(c, {
362
362
  arrows: B.arrows,
363
363
  onChange: this.changeArrows
364
364
  })
365
365
  ] }),
366
- X && /* @__PURE__ */ m(M, { children: X }),
367
- /* @__PURE__ */ m(o, {
366
+ X && /* @__PURE__ */ p(M, { children: X }),
367
+ /* @__PURE__ */ p(a, {
368
368
  onMoveElement: () => {},
369
369
  onDeleteElements: () => {},
370
370
  onAddElement: () => {},
@@ -375,9 +375,9 @@ var C = (e) => ({
375
375
  maxHeight: 70,
376
376
  model: C(Z)
377
377
  }),
378
- ye && /* @__PURE__ */ m(pe, {
378
+ z && /* @__PURE__ */ p(pe, {
379
379
  label: y?.label || "Title",
380
- children: /* @__PURE__ */ m(x, {
380
+ children: /* @__PURE__ */ p(x, {
381
381
  markup: B.title || "",
382
382
  onChange: this.changeGraphTitle,
383
383
  toolbarOpts: Q,
@@ -394,41 +394,41 @@ var C = (e) => ({
394
394
  ],
395
395
  pluginProps: $(y?.inputConfiguration),
396
396
  spellCheck: R,
397
- imageSupport: s,
398
- uploadSoundSupport: a,
397
+ imageSupport: o,
398
+ uploadSoundSupport: i,
399
399
  languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
400
400
  mathMlOptions: T
401
401
  })
402
402
  }),
403
- !B.exhibitOnly && /* @__PURE__ */ h(d.Fragment, { children: [
404
- /* @__PURE__ */ h(c, {
403
+ !B.exhibitOnly && /* @__PURE__ */ m(u.Fragment, { children: [
404
+ /* @__PURE__ */ m(s, {
405
405
  header: "Define Tool Set and Correct Response",
406
- children: ["Select answer type and place it on the number line. Intersecting points, line segments and/or rays will appear above the number line. ", /* @__PURE__ */ m("i", { children: "Note: A maximum of 20 points, line segments or rays may be plotted." })]
406
+ children: ["Select answer type and place it on the number line. Intersecting points, line segments and/or rays will appear above the number line. ", /* @__PURE__ */ p("i", { children: "Note: A maximum of 20 points, line segments or rays may be plotted." })]
407
407
  }),
408
- /* @__PURE__ */ m(c, {
408
+ /* @__PURE__ */ p(s, {
409
409
  header: "Available Tools",
410
410
  mini: !0,
411
411
  children: "Click on the input options to be displayed to the students. All inputs will display by default."
412
412
  }),
413
- /* @__PURE__ */ m(fe, { children: /* @__PURE__ */ m(ne, {
413
+ /* @__PURE__ */ p(fe, { children: /* @__PURE__ */ p(ne, {
414
414
  onSelectionChange: this.availableTypesChange,
415
415
  selection: B.availableTypes,
416
416
  availableTools: F,
417
417
  hideButtons: P
418
418
  }) }),
419
- /* @__PURE__ */ h(he, { children: [
420
- /* @__PURE__ */ m("label", { children: "Max No of Elements" }),
421
- /* @__PURE__ */ m(ue, {
419
+ /* @__PURE__ */ m(he, { children: [
420
+ /* @__PURE__ */ p("label", { children: "Max No of Elements" }),
421
+ /* @__PURE__ */ p(ue, {
422
422
  min: 1,
423
423
  max: N,
424
424
  onlyIntegersAllowed: !0,
425
425
  value: B.maxNumberOfPoints,
426
426
  onChange: this.changeMaxNoOfPoints
427
427
  }),
428
- K && /* @__PURE__ */ m(M, { children: K })
428
+ K && /* @__PURE__ */ p(M, { children: K })
429
429
  ] }),
430
- /* @__PURE__ */ m("label", { children: "Correct Answer" }),
431
- /* @__PURE__ */ m(o, {
430
+ /* @__PURE__ */ p("label", { children: "Correct Answer" }),
431
+ /* @__PURE__ */ p(a, {
432
432
  onMoveElement: this.moveCorrectResponse,
433
433
  onDeleteElements: this.deleteCorrectResponse,
434
434
  onAddElement: this.addCorrectResponse,
@@ -439,15 +439,15 @@ var C = (e) => ({
439
439
  answer: Ce,
440
440
  model: C(e)
441
441
  }),
442
- U && /* @__PURE__ */ m(M, { children: U })
442
+ U && /* @__PURE__ */ p(M, { children: U })
443
443
  ] }),
444
- /* @__PURE__ */ m(_, {
444
+ /* @__PURE__ */ p(_, {
445
445
  open: V.open,
446
446
  title: "Warning",
447
447
  text: V.text,
448
448
  onConfirm: () => this.setState({ dialog: { open: !1 } })
449
449
  }),
450
- /* @__PURE__ */ m(_, {
450
+ /* @__PURE__ */ p(_, {
451
451
  open: H.open,
452
452
  title: "Warning",
453
453
  text: H.text,
@@ -457,29 +457,29 @@ var C = (e) => ({
457
457
  },
458
458
  onClose: () => {
459
459
  let e = this.state.correctAnswerDialog.graph;
460
- n({ graph: e }), this.setState({ correctAnswerDialog: { open: !1 } });
460
+ t({ graph: e }), this.setState({ correctAnswerDialog: { open: !1 } });
461
461
  },
462
462
  onConfirmText: "OK",
463
463
  onCloseText: "Cancel"
464
464
  }),
465
- xe && /* @__PURE__ */ h(j, {
465
+ xe && /* @__PURE__ */ m(j, {
466
466
  label: S.label || "Rationale",
467
- children: [/* @__PURE__ */ m(x, {
467
+ children: [/* @__PURE__ */ p(x, {
468
468
  markup: e.rationale || "",
469
- onChange: (e) => n({ rationale: e }),
469
+ onChange: (e) => t({ rationale: e }),
470
470
  error: J,
471
471
  toolbarOpts: Q,
472
472
  spellCheck: R,
473
473
  pluginProps: $(S?.inputConfiguration),
474
- imageSupport: s,
475
- uploadSoundSupport: a,
474
+ imageSupport: o,
475
+ uploadSoundSupport: i,
476
476
  languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
477
477
  mathMlOptions: T
478
- }), J && /* @__PURE__ */ m(M, { children: J })]
478
+ }), J && /* @__PURE__ */ p(M, { children: J })]
479
479
  })
480
480
  ]
481
481
  });
482
482
  }
483
483
  };
484
484
  //#endregion
485
- export { P as default };
485
+ export { P as Main, P as default, N as toPointType };
@@ -112,4 +112,4 @@ y.propTypes = {
112
112
  majorValues: t.object
113
113
  };
114
114
  //#endregion
115
- export { y as default };
115
+ export { v as TickIntervals, y as Ticks, y as default };