@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,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 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,
@@ -1,28 +1,28 @@
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 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";
10
- import ne from "./point-config.js";
11
- import re from "./ticks.js";
7
+ import c from "./domain.js";
8
+ import l from "./arrows.js";
9
+ import te from "./point-config.js";
10
+ import ne from "./ticks.js";
12
11
  import { model as u } from "./defaults.js";
13
- import { generateValidationMessage as ie } from "./utils.js";
12
+ import { generateValidationMessage as re } from "./utils.js";
14
13
  import d from "react";
15
14
  import { styled as f } from "@mui/material/styles";
16
15
  import p from "prop-types";
17
16
  import { jsx as m, jsxs as h } from "react/jsx-runtime";
18
17
  import * as g from "mathjs";
19
- import { AlertDialog as _, FormSection as v, InputContainer as y, layout as ae, settings as b } from "@pie-lib/config-ui";
20
- import x from "@pie-lib/editable-html-tip-tap";
21
- import oe from "@mui/material/Tooltip";
22
- import S from "@mui/material/Typography";
23
- import se from "@mui/icons-material/Info";
18
+ import { cloneDeep as _ } from "@pie-element/shared-lodash";
19
+ import { AlertDialog as v, FormSection as y, InputContainer as b, layout as ie, settings as x } from "@pie-lib/config-ui";
20
+ import S from "@pie-lib/editable-html-tip-tap";
21
+ import ae from "@mui/material/Tooltip";
22
+ import C from "@mui/material/Typography";
23
+ import oe from "@mui/icons-material/Info";
24
24
  //#region src/author/main.tsx
25
- var C = (e) => ({
25
+ var w = (e) => ({
26
26
  ...e,
27
27
  feedback: void 0,
28
28
  prompt: void 0,
@@ -33,35 +33,35 @@ 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: T, switchGraphLine: E, toGraphFormat: se, toSessionFormat: D } = e, { Panel: ce, toggle: O } = x, k = {}, A = {}, j = {}, le = f(o)({
37
37
  width: "150px",
38
38
  ".MuiInputBase-input": { padding: "16.5px 14px" }
39
- }), de = f("div")(({ theme: e }) => ({
39
+ }), ue = f("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
+ })), de = f("div")(({ theme: e }) => ({ margin: `${e.spacing(2.5)} 0` })), M = f(b)(({ 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
+ })), fe = f(y)(({ theme: e }) => ({ marginBottom: e.spacing(4) })), N = f("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
+ })), pe = f("div")({
52
52
  display: "flex",
53
53
  alignItems: "center",
54
54
  gap: "10px"
55
- }), he = f(v)({
55
+ }), me = f(y)({
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
+ }), he = f(C)(({ theme: e }) => ({ marginBottom: e.spacing(2.5) })), P = (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
+ }, F = class extends d.Component {
65
65
  static propTypes = {
66
66
  model: p.object.isRequired,
67
67
  configuration: p.object.isRequired,
@@ -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,65 +143,65 @@ 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"), k = r(t, a), k.min >= 1) i.tickIntervalType = "Integer", i.minor = i.minor < 1 ? g.number(g.ceil(k.min)) : i.minor >= g.number(g.ceil(k.min)) && i.minor <= g.number(g.floor(k.max)) ? i.minor : g.number(g.ceil(k.min)), i.integerTick = i.minor, A = {
152
152
  decimal: [],
153
153
  fraction: []
154
- }, n.fractionTick = "0", n.decimalTick = 0;
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) {
154
+ }, i.fractionTick = "0", i.decimalTick = 0;
155
+ else if (k.min >= 0 && k.max < 1) {
156
+ i.tickIntervalType === "Integer" && (i.tickIntervalType = "Fraction"), A = n(k);
157
+ let e = g.number(g.fraction(A.fraction[0])), t = g.number(g.fraction(A.fraction[A.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 = g.number(g.fraction(A.fraction[A.fraction.length - 1])), i.fractionTick = A.fraction[A.fraction.length - 1], i.decimalTick = A.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 = A.decimal[A.decimal.length - 1], i.decimalTick = A.decimal[A.decimal.length - 1], i.fractionTick = A.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 = g.fraction(g.number(i.minor));
168
+ i.fractionTick = e.n + "/" + e.d, i.decimalTick = i.decimalTick ? i.decimalTick : A.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 : A.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 (k.min < 1 && k.max >= 1) if (A = n(k), i.minor >= k.min && i.minor <= k.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 = k.min > .5 ? 0 : A.decimal[0], i.fractionTick = k.min > .5 ? "0" : A.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 = A.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 = A.decimal[0];
183
+ let e = g.fraction(g.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 (k.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 = g.number(g.ceil(k.min)), i.integerTick = i.minor, i.decimalTick = k.min > .5 ? 0 : A.decimal[0], i.fractionTick = k.min > .5 ? "0" : A.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 = A.decimal[0], i.integerTick = 1, i.decimalTick = i.minor, i.fractionTick = A.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 = g.number(g.fraction(A.fraction[0])), i.integerTick = 1, i.decimalTick = A.decimal[0], i.fractionTick = A.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 (j = t(r.minor, n, i), j.decimal.indexOf(r.major) === -1) {
203
203
  let e = 0;
204
- e = r.tickIntervalType === "Integer" && A.decimal.length > 4 ? 4 : A.decimal.length - 1, r.major = A.decimal[e];
204
+ e = r.tickIntervalType === "Integer" && j.decimal.length > 4 ? 4 : j.decimal.length - 1, r.major = j.decimal[e];
205
205
  }
206
206
  return e.fraction = r.tickIntervalType === "Fraction" && r.major < 1, {
207
207
  ...e,
@@ -210,20 +210,20 @@ 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 } } = u, n = this.getAdjustedHeight(e, t), r = {
214
+ ..._(u.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;
221
- let { onChange: r, model: i } = this.props, a = E(t.type === "line" && w(t) ? T(t) : t), o = [...i.correctResponse];
221
+ let { onChange: r, model: i } = this.props, a = D(t.type === "line" && T(t) ? E(t) : t), o = [...i.correctResponse];
222
222
  o[e] = a, r({ correctResponse: o });
223
223
  };
224
224
  availableTypesChange = (e) => {
225
225
  let { model: t, onChange: n } = this.props, { correctResponse: r, graph: { maxNumberOfPoints: i } } = t;
226
- new Set(r.map(N)).forEach((t) => {
226
+ new Set(r.map(P)).forEach((t) => {
227
227
  e[t] = !0;
228
228
  });
229
229
  let a = this.getAdjustedHeight(e, i);
@@ -239,7 +239,7 @@ var C = (e) => ({
239
239
  };
240
240
  addCorrectResponse = (e) => {
241
241
  let { model: t, onChange: n } = this.props, r = [...t.correctResponse];
242
- r.push(E(e)), n({ correctResponse: r });
242
+ r.push(D(e)), n({ correctResponse: r });
243
243
  };
244
244
  clearCorrectResponse = () => {
245
245
  let { onChange: e } = this.props;
@@ -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: u = {}, contentDimensions: f = {}, instruction: p = {}, teacherInstructions: g = {}, title: b = {}, prompt: x = {}, rationale: C = {}, spellCheck: T = {}, mathMlOptions: E = {}, numberLineDimensions: D = {}, maxMaxElements: P = 20, hidePointConfigButtons: F = !1, availableTools: I = ["PF"], settingsPanelDisabled: L = !1 } = n || {}, { errors: R = {}, extraCSSRules: ge, spellCheckEnabled: z, toolbarEditorPosition: _e, teacherInstructionsEnabled: ve, titleEnabled: ye, 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 } = R || {}, Se = re(), Ce = _(e.correctResponse || []).map(se), Z = _(e);
256
256
  Z.disabled = !0;
257
- let Q = { position: z === "top" ? "top" : "bottom" }, we = {
258
- teacherInstructionsEnabled: g.settings && D(g.label),
259
- titleEnabled: y.settings && D(y.label),
260
- promptEnabled: b.settings && D(b.label),
261
- rationaleEnabled: S.settings && D(S.label),
262
- spellCheckEnabled: w.settings && D(w.label)
257
+ let Q = { position: _e === "top" ? "top" : "bottom" }, we = {
258
+ teacherInstructionsEnabled: g.settings && O(g.label),
259
+ titleEnabled: b.settings && O(b.label),
260
+ promptEnabled: x.settings && O(x.label),
261
+ rationaleEnabled: C.settings && O(C.label),
262
+ spellCheckEnabled: T.settings && O(T.label)
263
263
  }, $ = (e = {}) => ({
264
264
  ...u,
265
265
  ...e
266
266
  });
267
- return /* @__PURE__ */ h(ae.ConfigLayout, {
268
- extraCSSRules: _e,
267
+ return /* @__PURE__ */ h(ie.ConfigLayout, {
268
+ extraCSSRules: ge,
269
269
  dimensions: f,
270
- hideSettings: I,
271
- settings: /* @__PURE__ */ m(le, {
270
+ hideSettings: L,
271
+ settings: /* @__PURE__ */ m(ce, {
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__ */ m(he, {
280
280
  component: "div",
281
281
  type: "body1",
282
282
  children: p.label
283
283
  }),
284
- ve && /* @__PURE__ */ h(j, {
284
+ ve && /* @__PURE__ */ h(M, {
285
285
  label: g.label,
286
- children: [/* @__PURE__ */ m(x, {
286
+ children: [/* @__PURE__ */ m(S, {
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
293
  pluginProps: $(g?.inputConfiguration),
294
- spellCheck: R,
295
- imageSupport: s,
296
- uploadSoundSupport: a,
294
+ spellCheck: z,
295
+ imageSupport: o,
296
+ uploadSoundSupport: i,
297
297
  languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
298
- mathMlOptions: T
299
- }), Y && /* @__PURE__ */ m(M, { children: Y })]
298
+ mathMlOptions: E
299
+ }), Y && /* @__PURE__ */ m(N, { children: Y })]
300
300
  }),
301
- be && /* @__PURE__ */ h(j, {
302
- label: b.label,
303
- children: [/* @__PURE__ */ m(x, {
301
+ be && /* @__PURE__ */ h(M, {
302
+ label: x.label,
303
+ children: [/* @__PURE__ */ m(S, {
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
- pluginProps: $(b?.inputConfiguration),
311
- spellCheck: R,
312
- imageSupport: s,
313
- uploadSoundSupport: a,
310
+ pluginProps: $(x?.inputConfiguration),
311
+ spellCheck: z,
312
+ imageSupport: o,
313
+ uploadSoundSupport: i,
314
314
  languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
315
- mathMlOptions: T
316
- }), q && /* @__PURE__ */ m(M, { children: q })]
315
+ mathMlOptions: E
316
+ }), q && /* @__PURE__ */ m(N, { children: q })]
317
317
  }),
318
- /* @__PURE__ */ m(c, {
318
+ /* @__PURE__ */ m(s, {
319
319
  header: "Set Up Number Line",
320
- info: /* @__PURE__ */ m(oe, {
320
+ info: /* @__PURE__ */ m(ae, {
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__ */ m(oe, {
331
331
  fontSize: "small",
332
332
  color: "primary",
333
333
  style: { marginLeft: "8px" }
@@ -335,49 +335,49 @@ 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__ */ m(ue, { children: /* @__PURE__ */ m(c, {
339
339
  domain: B.domain,
340
- errors: L,
340
+ errors: R,
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__ */ m(N, { children: G }),
344
+ W && /* @__PURE__ */ m(N, { children: W }),
345
+ /* @__PURE__ */ m("div", { children: /* @__PURE__ */ m(y, { children: /* @__PURE__ */ m(ne, {
346
346
  ticks: B.ticks,
347
- minorLimits: O,
348
- minorValues: k,
349
- majorValues: A,
347
+ minorLimits: k,
348
+ minorValues: A,
349
+ majorValues: j,
350
350
  onChange: this.changeTicks
351
351
  }) }) }),
352
- /* @__PURE__ */ h(me, { children: [
352
+ /* @__PURE__ */ h(pe, { children: [
353
353
  e.widthEnabled && /* @__PURE__ */ m(ee, {
354
354
  size: B,
355
- min: E.min,
356
- max: E.max,
357
- step: E.step,
355
+ min: D.min,
356
+ max: D.max,
357
+ step: D.step,
358
358
  onChange: this.changeSize
359
359
  }),
360
360
  /* @__PURE__ */ m("div", {}),
361
- /* @__PURE__ */ m(te, {
361
+ /* @__PURE__ */ m(l, {
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__ */ m(N, { children: X }),
367
+ /* @__PURE__ */ m(a, {
368
368
  onMoveElement: () => {},
369
369
  onDeleteElements: () => {},
370
370
  onAddElement: () => {},
371
371
  onClearElements: () => {},
372
372
  onUndoElement: () => {},
373
- minWidth: E.min,
374
- maxWidth: E.max,
373
+ minWidth: D.min,
374
+ maxWidth: D.max,
375
375
  maxHeight: 70,
376
- model: C(Z)
376
+ model: w(Z)
377
377
  }),
378
- ye && /* @__PURE__ */ m(pe, {
379
- label: y?.label || "Title",
380
- children: /* @__PURE__ */ m(x, {
378
+ ye && /* @__PURE__ */ m(fe, {
379
+ label: b?.label || "Title",
380
+ children: /* @__PURE__ */ m(S, {
381
381
  markup: B.title || "",
382
382
  onChange: this.changeGraphTitle,
383
383
  toolbarOpts: Q,
@@ -392,62 +392,62 @@ var C = (e) => ({
392
392
  "languageCharacters",
393
393
  "responseArea"
394
394
  ],
395
- pluginProps: $(y?.inputConfiguration),
396
- spellCheck: R,
397
- imageSupport: s,
398
- uploadSoundSupport: a,
395
+ pluginProps: $(b?.inputConfiguration),
396
+ spellCheck: z,
397
+ imageSupport: o,
398
+ uploadSoundSupport: i,
399
399
  languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
400
- mathMlOptions: T
400
+ mathMlOptions: E
401
401
  })
402
402
  }),
403
403
  !B.exhibitOnly && /* @__PURE__ */ h(d.Fragment, { children: [
404
- /* @__PURE__ */ h(c, {
404
+ /* @__PURE__ */ h(s, {
405
405
  header: "Define Tool Set and Correct Response",
406
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." })]
407
407
  }),
408
- /* @__PURE__ */ m(c, {
408
+ /* @__PURE__ */ m(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__ */ m(de, { children: /* @__PURE__ */ m(te, {
414
414
  onSelectionChange: this.availableTypesChange,
415
415
  selection: B.availableTypes,
416
- availableTools: F,
417
- hideButtons: P
416
+ availableTools: I,
417
+ hideButtons: F
418
418
  }) }),
419
- /* @__PURE__ */ h(he, { children: [
419
+ /* @__PURE__ */ h(me, { children: [
420
420
  /* @__PURE__ */ m("label", { children: "Max No of Elements" }),
421
- /* @__PURE__ */ m(ue, {
421
+ /* @__PURE__ */ m(le, {
422
422
  min: 1,
423
- max: N,
423
+ max: P,
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__ */ m(N, { children: K })
429
429
  ] }),
430
430
  /* @__PURE__ */ m("label", { children: "Correct Answer" }),
431
- /* @__PURE__ */ m(o, {
431
+ /* @__PURE__ */ m(a, {
432
432
  onMoveElement: this.moveCorrectResponse,
433
433
  onDeleteElements: this.deleteCorrectResponse,
434
434
  onAddElement: this.addCorrectResponse,
435
435
  onClearElements: this.clearCorrectResponse,
436
436
  onUndoElement: this.undoCorrectResponse,
437
- minWidth: E.min,
438
- maxWidth: E.max,
437
+ minWidth: D.min,
438
+ maxWidth: D.max,
439
439
  answer: Ce,
440
- model: C(e)
440
+ model: w(e)
441
441
  }),
442
- U && /* @__PURE__ */ m(M, { children: U })
442
+ U && /* @__PURE__ */ m(N, { children: U })
443
443
  ] }),
444
- /* @__PURE__ */ m(_, {
444
+ /* @__PURE__ */ m(v, {
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__ */ m(v, {
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, {
466
- label: S.label || "Rationale",
467
- children: [/* @__PURE__ */ m(x, {
465
+ xe && /* @__PURE__ */ h(M, {
466
+ label: C.label || "Rationale",
467
+ children: [/* @__PURE__ */ m(S, {
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
- spellCheck: R,
473
- pluginProps: $(S?.inputConfiguration),
474
- imageSupport: s,
475
- uploadSoundSupport: a,
472
+ spellCheck: z,
473
+ pluginProps: $(C?.inputConfiguration),
474
+ imageSupport: o,
475
+ uploadSoundSupport: i,
476
476
  languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
477
- mathMlOptions: T
478
- }), J && /* @__PURE__ */ m(M, { children: J })]
477
+ mathMlOptions: E
478
+ }), J && /* @__PURE__ */ m(N, { children: J })]
479
479
  })
480
480
  ]
481
481
  });
482
482
  }
483
483
  };
484
484
  //#endregion
485
- export { P as default };
485
+ export { F as default };