@pie-element/number-line 13.1.2-next.0 → 13.1.2-next.2
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.
- package/dist/author/index.js +19 -19
- package/dist/author/main.js +152 -152
- package/dist/browser/author/index.js +7079 -7256
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/controller/index.js +165 -419
- package/dist/browser/controller/index.js.map +1 -1
- package/dist/browser/delivery/index.js +2 -2
- package/dist/browser/{delivery-Dh8QdqpO.js → delivery-DWjDT9Sz.js} +2656 -2696
- package/dist/browser/delivery-DWjDT9Sz.js.map +1 -0
- package/dist/browser/dist-D5T-OaLo.js +19038 -0
- package/dist/browser/dist-D5T-OaLo.js.map +1 -0
- package/dist/browser/impureFunctionsAny.generated-Bqfato71.js +10162 -0
- package/dist/browser/impureFunctionsAny.generated-Bqfato71.js.map +1 -0
- package/dist/controller/index.d.ts +15 -1
- package/dist/controller/index.js +60 -65
- package/dist/controller/tickUtils.d.ts +3 -2
- package/dist/controller/tickUtils.js +64 -66
- package/dist/delivery/index.js +9 -9
- package/dist/delivery/number-line/graph/elements/line.js +56 -57
- package/dist/delivery/number-line/graph/elements/ray.js +54 -54
- package/dist/delivery/number-line/graph/index.d.ts +2 -2
- package/dist/delivery/number-line/graph/tick-utils.d.ts +16 -9
- package/dist/delivery/number-line/graph/tick-utils.js +73 -75
- package/dist/delivery/number-line/index.d.ts +1 -1
- package/dist/delivery/number-line/index.js +55 -58
- package/dist/index.iife.js +59 -63
- package/dist/runtime-support.d.ts +12 -0
- package/dist/runtime-support.js +12 -0
- package/package.json +14 -11
- package/dist/browser/_baseSet-ycZx94p7.js +0 -8672
- package/dist/browser/_baseSet-ycZx94p7.js.map +0 -1
- package/dist/browser/delivery-Dh8QdqpO.js.map +0 -1
- package/dist/browser/uniqWith-CKN50xMI.js +0 -17886
- package/dist/browser/uniqWith-CKN50xMI.js.map +0 -1
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludes.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludesWith.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignMergeValue.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +0 -57
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIndexOf.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +0 -30
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js +0 -26
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNaN.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js +0 -17
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js +0 -19
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMergeDeep.js +0 -31
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePickBy.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js +0 -22
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUniq.js +0 -27
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createAssigner.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createFind.js +0 -19
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createSet.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +0 -35
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +0 -35
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +0 -32
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +0 -4
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +0 -23
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js +0 -18
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +0 -33
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_safeGet.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_strictIndexOf.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/find.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/findIndex.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/get.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +0 -4
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +0 -21
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqualWith.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isNumber.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/merge.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/negate.js +0 -17
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/noop.js +0 -4
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/omitBy.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/pickBy.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/property.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toInteger.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js +0 -19
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toPlainObject.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/uniqWith.js +0 -7
package/dist/author/index.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import
|
|
3
|
-
import r from "
|
|
4
|
-
import i from "
|
|
5
|
-
import
|
|
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:
|
|
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 =
|
|
14
|
-
t !== o && (r.major = t, r.minor = t / (o /
|
|
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
|
|
18
|
-
static createDefaultModel = (
|
|
19
|
-
let r =
|
|
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 =
|
|
27
|
+
super(), this._root = null, this._model = i.createDefaultModel(), this._configuration = e;
|
|
28
28
|
}
|
|
29
|
-
set model(
|
|
30
|
-
this._model =
|
|
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(
|
|
36
|
+
set configuration(t) {
|
|
37
37
|
let n = {
|
|
38
|
-
...
|
|
39
|
-
...
|
|
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 =
|
|
68
|
+
let e = r.createElement(n, {
|
|
69
69
|
model: this._model,
|
|
70
70
|
configuration: this._configuration,
|
|
71
71
|
onChange: this.onChange,
|
package/dist/author/main.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { data_converter_exports as e } from "../delivery/data-converter.js";
|
|
2
|
-
import t from "../
|
|
3
|
-
import
|
|
4
|
-
import o from "
|
|
5
|
-
import s from "./
|
|
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
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
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
|
|
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 {
|
|
20
|
-
import x from "@pie-lib/
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
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
|
|
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:
|
|
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
|
-
}),
|
|
39
|
+
}), ue = f("div")(({ theme: e }) => ({
|
|
40
40
|
display: "flex",
|
|
41
41
|
flexWrap: "wrap",
|
|
42
42
|
"& > *": { paddingRight: e.spacing(2) }
|
|
43
|
-
})),
|
|
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
|
-
})),
|
|
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
|
-
})),
|
|
51
|
+
})), pe = f("div")({
|
|
52
52
|
display: "flex",
|
|
53
53
|
alignItems: "center",
|
|
54
54
|
gap: "10px"
|
|
55
|
-
}),
|
|
55
|
+
}), me = f(y)({
|
|
56
56
|
display: "flex",
|
|
57
57
|
alignItems: "center",
|
|
58
58
|
gap: "10px"
|
|
59
|
-
}),
|
|
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
|
-
},
|
|
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,
|
|
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:
|
|
146
|
+
correctResponse: a
|
|
147
147
|
});
|
|
148
148
|
};
|
|
149
149
|
reloadTicksData = (e) => {
|
|
150
|
-
let { domain: t, ticks:
|
|
151
|
-
if (
|
|
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
|
-
},
|
|
155
|
-
else if (
|
|
156
|
-
|
|
157
|
-
let e = g.number(g.fraction(
|
|
158
|
-
if (
|
|
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
|
-
|
|
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":
|
|
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 (
|
|
165
|
+
else switch (i.tickIntervalType) {
|
|
166
166
|
case "Fraction":
|
|
167
|
-
let e = g.fraction(g.number(
|
|
168
|
-
|
|
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":
|
|
171
|
+
case "Integer": i.decimalTick = i.minor, i.fractionTick = i.fractionTick ? i.fractionTick : A.fraction[0];
|
|
172
172
|
}
|
|
173
|
-
|
|
174
|
-
} else if (
|
|
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
|
-
|
|
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
|
-
|
|
179
|
+
i.integerTick = 1, i.decimalTick = i.minor, i.fractionTick = A.fraction[0];
|
|
180
180
|
break;
|
|
181
181
|
case "Fraction":
|
|
182
|
-
|
|
183
|
-
let e = g.fraction(g.number(
|
|
184
|
-
|
|
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 (
|
|
186
|
+
else switch (k.min > .5 && (i.tickIntervalType = "Integer"), i.tickIntervalType) {
|
|
187
187
|
case "Integer":
|
|
188
|
-
|
|
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
|
-
|
|
191
|
+
i.minor = A.decimal[0], i.integerTick = 1, i.decimalTick = i.minor, i.fractionTick = A.fraction[0];
|
|
192
192
|
break;
|
|
193
|
-
case "Fraction":
|
|
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:
|
|
197
|
+
ticks: i
|
|
198
198
|
});
|
|
199
199
|
};
|
|
200
200
|
updateMajorValue = (e) => {
|
|
201
|
-
let { domain:
|
|
202
|
-
if (
|
|
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" &&
|
|
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:
|
|
214
|
-
...
|
|
215
|
-
height:
|
|
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:
|
|
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 =
|
|
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(
|
|
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(
|
|
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:
|
|
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 } =
|
|
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:
|
|
258
|
-
teacherInstructionsEnabled: g.settings &&
|
|
259
|
-
titleEnabled:
|
|
260
|
-
promptEnabled:
|
|
261
|
-
rationaleEnabled:
|
|
262
|
-
spellCheckEnabled:
|
|
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(
|
|
268
|
-
extraCSSRules:
|
|
267
|
+
return /* @__PURE__ */ h(ie.ConfigLayout, {
|
|
268
|
+
extraCSSRules: ge,
|
|
269
269
|
dimensions: f,
|
|
270
|
-
hideSettings:
|
|
271
|
-
settings: /* @__PURE__ */ m(
|
|
270
|
+
hideSettings: L,
|
|
271
|
+
settings: /* @__PURE__ */ m(ce, {
|
|
272
272
|
model: e,
|
|
273
|
-
configuration:
|
|
274
|
-
onChangeModel:
|
|
275
|
-
onChangeConfiguration:
|
|
273
|
+
configuration: n,
|
|
274
|
+
onChangeModel: t,
|
|
275
|
+
onChangeConfiguration: r,
|
|
276
276
|
groups: { Properties: we }
|
|
277
277
|
}),
|
|
278
278
|
children: [
|
|
279
|
-
/* @__PURE__ */ m(
|
|
279
|
+
/* @__PURE__ */ m(he, {
|
|
280
280
|
component: "div",
|
|
281
281
|
type: "body1",
|
|
282
282
|
children: p.label
|
|
283
283
|
}),
|
|
284
|
-
ve && /* @__PURE__ */ h(
|
|
284
|
+
ve && /* @__PURE__ */ h(M, {
|
|
285
285
|
label: g.label,
|
|
286
|
-
children: [/* @__PURE__ */ m(
|
|
286
|
+
children: [/* @__PURE__ */ m(S, {
|
|
287
287
|
markup: e.teacherInstructions || "",
|
|
288
|
-
onChange: (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:
|
|
295
|
-
imageSupport:
|
|
296
|
-
uploadSoundSupport:
|
|
294
|
+
spellCheck: z,
|
|
295
|
+
imageSupport: o,
|
|
296
|
+
uploadSoundSupport: i,
|
|
297
297
|
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
298
|
-
mathMlOptions:
|
|
299
|
-
}), Y && /* @__PURE__ */ m(
|
|
298
|
+
mathMlOptions: E
|
|
299
|
+
}), Y && /* @__PURE__ */ m(N, { children: Y })]
|
|
300
300
|
}),
|
|
301
|
-
be && /* @__PURE__ */ h(
|
|
302
|
-
label:
|
|
303
|
-
children: [/* @__PURE__ */ m(
|
|
301
|
+
be && /* @__PURE__ */ h(M, {
|
|
302
|
+
label: x.label,
|
|
303
|
+
children: [/* @__PURE__ */ m(S, {
|
|
304
304
|
markup: e.prompt || "",
|
|
305
|
-
onChange: (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: $(
|
|
311
|
-
spellCheck:
|
|
312
|
-
imageSupport:
|
|
313
|
-
uploadSoundSupport:
|
|
310
|
+
pluginProps: $(x?.inputConfiguration),
|
|
311
|
+
spellCheck: z,
|
|
312
|
+
imageSupport: o,
|
|
313
|
+
uploadSoundSupport: i,
|
|
314
314
|
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
315
|
-
mathMlOptions:
|
|
316
|
-
}), q && /* @__PURE__ */ m(
|
|
315
|
+
mathMlOptions: E
|
|
316
|
+
}), q && /* @__PURE__ */ m(N, { children: q })]
|
|
317
317
|
}),
|
|
318
|
-
/* @__PURE__ */ m(
|
|
318
|
+
/* @__PURE__ */ m(s, {
|
|
319
319
|
header: "Set Up Number Line",
|
|
320
|
-
info: /* @__PURE__ */ m(
|
|
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(
|
|
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(
|
|
338
|
+
/* @__PURE__ */ m(ue, { children: /* @__PURE__ */ m(c, {
|
|
339
339
|
domain: B.domain,
|
|
340
|
-
errors:
|
|
340
|
+
errors: R,
|
|
341
341
|
onChange: (e) => this.graphChange({ domain: e })
|
|
342
342
|
}) }),
|
|
343
|
-
G && /* @__PURE__ */ m(
|
|
344
|
-
W && /* @__PURE__ */ m(
|
|
345
|
-
/* @__PURE__ */ m("div", { children: /* @__PURE__ */ m(
|
|
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:
|
|
348
|
-
minorValues:
|
|
349
|
-
majorValues:
|
|
347
|
+
minorLimits: k,
|
|
348
|
+
minorValues: A,
|
|
349
|
+
majorValues: j,
|
|
350
350
|
onChange: this.changeTicks
|
|
351
351
|
}) }) }),
|
|
352
|
-
/* @__PURE__ */ h(
|
|
352
|
+
/* @__PURE__ */ h(pe, { children: [
|
|
353
353
|
e.widthEnabled && /* @__PURE__ */ m(ee, {
|
|
354
354
|
size: B,
|
|
355
|
-
min:
|
|
356
|
-
max:
|
|
357
|
-
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(
|
|
361
|
+
/* @__PURE__ */ m(l, {
|
|
362
362
|
arrows: B.arrows,
|
|
363
363
|
onChange: this.changeArrows
|
|
364
364
|
})
|
|
365
365
|
] }),
|
|
366
|
-
X && /* @__PURE__ */ m(
|
|
367
|
-
/* @__PURE__ */ m(
|
|
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:
|
|
374
|
-
maxWidth:
|
|
373
|
+
minWidth: D.min,
|
|
374
|
+
maxWidth: D.max,
|
|
375
375
|
maxHeight: 70,
|
|
376
|
-
model:
|
|
376
|
+
model: w(Z)
|
|
377
377
|
}),
|
|
378
|
-
ye && /* @__PURE__ */ m(
|
|
379
|
-
label:
|
|
380
|
-
children: /* @__PURE__ */ m(
|
|
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: $(
|
|
396
|
-
spellCheck:
|
|
397
|
-
imageSupport:
|
|
398
|
-
uploadSoundSupport:
|
|
395
|
+
pluginProps: $(b?.inputConfiguration),
|
|
396
|
+
spellCheck: z,
|
|
397
|
+
imageSupport: o,
|
|
398
|
+
uploadSoundSupport: i,
|
|
399
399
|
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
400
|
-
mathMlOptions:
|
|
400
|
+
mathMlOptions: E
|
|
401
401
|
})
|
|
402
402
|
}),
|
|
403
403
|
!B.exhibitOnly && /* @__PURE__ */ h(d.Fragment, { children: [
|
|
404
|
-
/* @__PURE__ */ h(
|
|
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(
|
|
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(
|
|
413
|
+
/* @__PURE__ */ m(de, { children: /* @__PURE__ */ m(te, {
|
|
414
414
|
onSelectionChange: this.availableTypesChange,
|
|
415
415
|
selection: B.availableTypes,
|
|
416
|
-
availableTools:
|
|
417
|
-
hideButtons:
|
|
416
|
+
availableTools: I,
|
|
417
|
+
hideButtons: F
|
|
418
418
|
}) }),
|
|
419
|
-
/* @__PURE__ */ h(
|
|
419
|
+
/* @__PURE__ */ h(me, { children: [
|
|
420
420
|
/* @__PURE__ */ m("label", { children: "Max No of Elements" }),
|
|
421
|
-
/* @__PURE__ */ m(
|
|
421
|
+
/* @__PURE__ */ m(le, {
|
|
422
422
|
min: 1,
|
|
423
|
-
max:
|
|
423
|
+
max: P,
|
|
424
424
|
onlyIntegersAllowed: !0,
|
|
425
425
|
value: B.maxNumberOfPoints,
|
|
426
426
|
onChange: this.changeMaxNoOfPoints
|
|
427
427
|
}),
|
|
428
|
-
K && /* @__PURE__ */ m(
|
|
428
|
+
K && /* @__PURE__ */ m(N, { children: K })
|
|
429
429
|
] }),
|
|
430
430
|
/* @__PURE__ */ m("label", { children: "Correct Answer" }),
|
|
431
|
-
/* @__PURE__ */ m(
|
|
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:
|
|
438
|
-
maxWidth:
|
|
437
|
+
minWidth: D.min,
|
|
438
|
+
maxWidth: D.max,
|
|
439
439
|
answer: Ce,
|
|
440
|
-
model:
|
|
440
|
+
model: w(e)
|
|
441
441
|
}),
|
|
442
|
-
U && /* @__PURE__ */ m(
|
|
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
|
-
|
|
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(
|
|
466
|
-
label:
|
|
467
|
-
children: [/* @__PURE__ */ m(
|
|
465
|
+
xe && /* @__PURE__ */ h(M, {
|
|
466
|
+
label: C.label || "Rationale",
|
|
467
|
+
children: [/* @__PURE__ */ m(S, {
|
|
468
468
|
markup: e.rationale || "",
|
|
469
|
-
onChange: (e) =>
|
|
469
|
+
onChange: (e) => t({ rationale: e }),
|
|
470
470
|
error: J,
|
|
471
471
|
toolbarOpts: Q,
|
|
472
|
-
spellCheck:
|
|
473
|
-
pluginProps: $(
|
|
474
|
-
imageSupport:
|
|
475
|
-
uploadSoundSupport:
|
|
472
|
+
spellCheck: z,
|
|
473
|
+
pluginProps: $(C?.inputConfiguration),
|
|
474
|
+
imageSupport: o,
|
|
475
|
+
uploadSoundSupport: i,
|
|
476
476
|
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
477
|
-
mathMlOptions:
|
|
478
|
-
}), J && /* @__PURE__ */ m(
|
|
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 {
|
|
485
|
+
export { F as default };
|