@pie-element/graphing 10.1.1-next.1 → 10.1.1-next.11
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/CHANGELOG.json +652 -0
- package/CHANGELOG.md +2039 -0
- package/LICENSE.md +5 -0
- package/README.md +1 -0
- package/configure/CHANGELOG.json +382 -0
- package/configure/CHANGELOG.md +1830 -0
- package/configure/lib/configure.js +328 -0
- package/configure/lib/configure.js.map +1 -0
- package/configure/lib/correct-response.js +484 -0
- package/configure/lib/correct-response.js.map +1 -0
- package/configure/lib/defaults.js +448 -0
- package/configure/lib/defaults.js.map +1 -0
- package/configure/lib/graphing-config.js +388 -0
- package/configure/lib/graphing-config.js.map +1 -0
- package/configure/lib/index.js +173 -0
- package/configure/lib/index.js.map +1 -0
- package/configure/lib/utils.js +122 -0
- package/configure/lib/utils.js.map +1 -0
- package/configure/package.json +30 -0
- package/controller/CHANGELOG.json +412 -0
- package/controller/CHANGELOG.md +1263 -0
- package/controller/lib/defaults.js +64 -0
- package/controller/lib/defaults.js.map +1 -0
- package/controller/lib/index.js +459 -0
- package/controller/lib/index.js.map +1 -0
- package/controller/lib/utils.js +451 -0
- package/controller/lib/utils.js.map +1 -0
- package/controller/package.json +24 -0
- package/docs/config-schema.json +3164 -0
- package/docs/config-schema.json.md +2293 -0
- package/docs/demo/config.js +8 -0
- package/docs/demo/generate.js +200 -0
- package/docs/demo/index.html +1 -0
- package/docs/demo/session.js +20 -0
- package/docs/pie-schema.json +3495 -0
- package/docs/pie-schema.json.md +1345 -0
- package/lib/index.js +69 -0
- package/lib/index.js.map +1 -0
- package/lib/main.js +161 -0
- package/lib/main.js.map +1 -0
- package/lib/utils.js +24 -0
- package/lib/utils.js.map +1 -0
- package/package.json +21 -60
- package/dist/author/configure.d.ts +0 -26
- package/dist/author/configure.js +0 -208
- package/dist/author/correct-response.d.ts +0 -54
- package/dist/author/correct-response.js +0 -304
- package/dist/author/defaults.d.ts +0 -294
- package/dist/author/defaults.js +0 -415
- package/dist/author/graphing-config.d.ts +0 -34
- package/dist/author/graphing-config.js +0 -244
- package/dist/author/index.d.ts +0 -59
- package/dist/author/index.js +0 -96
- package/dist/author/utils.d.ts +0 -43
- package/dist/author/utils.js +0 -260
- package/dist/controller/defaults.d.ts +0 -59
- package/dist/controller/defaults.js +0 -61
- package/dist/controller/index.d.ts +0 -34
- package/dist/controller/index.js +0 -181
- package/dist/controller/utils.d.ts +0 -37
- package/dist/controller/utils.js +0 -114
- package/dist/delivery/index.d.ts +0 -21
- package/dist/delivery/index.js +0 -43
- package/dist/delivery/main.d.ts +0 -23
- package/dist/delivery/main.js +0 -107
- package/dist/delivery/utils.d.ts +0 -22
- package/dist/graphing.css +0 -2
- package/dist/index.d.ts +0 -1
- package/dist/index.iife.d.ts +0 -8
- package/dist/index.iife.js +0 -375
- package/dist/index.js +0 -2
- 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/_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/_baseDifference.js +0 -23
- 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/_baseFlatten.js +0 -13
- 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/_baseIndexOf.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIntersection.js +0 -29
- 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/_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/_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/_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/_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/_castArrayLikeObject.js +0 -7
- 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/_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/_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/_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/_isFlattenable.js +0 -10
- 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/_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/_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/_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/_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/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/differenceWith.js +0 -12
- 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/identity.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/intersection.js +0 -11
- 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/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/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/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/last.js +0 -7
- 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/noop.js +0 -4
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/set.js +0 -7
- 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/toString.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/uniq.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/uniqWith.js +0 -7
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-elements/packages/graphing/configure/src/correct-response.jsx
|
|
3
|
-
* @auto-generated
|
|
4
|
-
*
|
|
5
|
-
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
-
* Manual edits will be overwritten on next sync.
|
|
7
|
-
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
-
*/
|
|
9
|
-
import * as React from 'react';
|
|
10
|
-
import PropTypes from 'prop-types';
|
|
11
|
-
export declare const Tools: {
|
|
12
|
-
({ availableTools, defaultTool, hasErrors, toolbarTools, toggleToolBarTool, onDefaultToolChange, }: {
|
|
13
|
-
availableTools: any;
|
|
14
|
-
defaultTool: any;
|
|
15
|
-
hasErrors: any;
|
|
16
|
-
toolbarTools: any;
|
|
17
|
-
toggleToolBarTool: any;
|
|
18
|
-
onDefaultToolChange: any;
|
|
19
|
-
}): React.JSX.Element;
|
|
20
|
-
propTypes: {
|
|
21
|
-
toolbarTools: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
22
|
-
toggleToolBarTool: PropTypes.Requireable<(...args: any[]) => any>;
|
|
23
|
-
availableTools: PropTypes.Requireable<any[]>;
|
|
24
|
-
defaultTool: PropTypes.Requireable<string>;
|
|
25
|
-
hasErrors: PropTypes.Requireable<number>;
|
|
26
|
-
onDefaultToolChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export declare class CorrectResponse extends React.Component {
|
|
30
|
-
static propTypes: {
|
|
31
|
-
availableTools: PropTypes.Requireable<any[]>;
|
|
32
|
-
errors: PropTypes.Requireable<object>;
|
|
33
|
-
model: PropTypes.Validator<object>;
|
|
34
|
-
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
35
|
-
toolbarTools: PropTypes.Requireable<unknown[]>;
|
|
36
|
-
};
|
|
37
|
-
state: {
|
|
38
|
-
dialog: {
|
|
39
|
-
open: boolean;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
componentDidMount(): void;
|
|
43
|
-
handleAlertDialog: (open: any, callback: any) => void;
|
|
44
|
-
changeMarks: any;
|
|
45
|
-
filterMarks: any;
|
|
46
|
-
changeToolbarTools: any;
|
|
47
|
-
updateModel: any;
|
|
48
|
-
toggleToolBarTool: any;
|
|
49
|
-
onDefaultToolChange: any;
|
|
50
|
-
addAlternateResponse: any;
|
|
51
|
-
deleteAlternateResponse: any;
|
|
52
|
-
render(): React.JSX.Element;
|
|
53
|
-
}
|
|
54
|
-
export default CorrectResponse;
|
|
@@ -1,304 +0,0 @@
|
|
|
1
|
-
import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js";
|
|
2
|
-
import t from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/set.js";
|
|
3
|
-
import * as n from "react";
|
|
4
|
-
import { renderMath as r } from "@pie-element/shared-math-rendering-mathjax";
|
|
5
|
-
import i from "prop-types";
|
|
6
|
-
import { styled as a } from "@mui/material/styles";
|
|
7
|
-
import { GraphContainer as o } from "@pie-lib/graphing";
|
|
8
|
-
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
9
|
-
import { AlertDialog as l } from "@pie-lib/config-ui";
|
|
10
|
-
import { MenuItem as u, Select as d, Tooltip as f, Typography as p } from "@mui/material";
|
|
11
|
-
import m from "react-dom";
|
|
12
|
-
import h from "@mui/icons-material/Delete";
|
|
13
|
-
import g from "@mui/icons-material/Info";
|
|
14
|
-
//#region src/author/correct-response.tsx
|
|
15
|
-
var _ = "#D5D5D5", v = "#AAAAAA", y = a("div")({ color: v }), b = a("div")(({ theme: e }) => ({
|
|
16
|
-
margin: `${e.spacing(2.5)} 0`,
|
|
17
|
-
cursor: "pointer",
|
|
18
|
-
background: e.palette.grey[200],
|
|
19
|
-
padding: e.spacing(1.5),
|
|
20
|
-
width: "fit-content",
|
|
21
|
-
borderRadius: "4px",
|
|
22
|
-
"&:hover": { background: _ }
|
|
23
|
-
})), x = a("div")(({ theme: e }) => ({
|
|
24
|
-
marginTop: e.spacing(1),
|
|
25
|
-
display: "flex",
|
|
26
|
-
flexWrap: "wrap"
|
|
27
|
-
})), S = a("div")(({ theme: e }) => ({
|
|
28
|
-
cursor: "pointer",
|
|
29
|
-
margin: e.spacing(1),
|
|
30
|
-
padding: e.spacing(1),
|
|
31
|
-
border: `2px solid ${e.palette.common.white}`,
|
|
32
|
-
textTransform: "capitalize",
|
|
33
|
-
"&:hover": { color: e.palette.grey[800] }
|
|
34
|
-
})), C = a(S)({
|
|
35
|
-
background: _,
|
|
36
|
-
border: `2px solid ${v}`
|
|
37
|
-
}), w = a("div")(({ theme: e }) => ({
|
|
38
|
-
display: "flex",
|
|
39
|
-
alignItems: "center",
|
|
40
|
-
marginTop: e.spacing(2.5)
|
|
41
|
-
})), T = a("div")(({ theme: e }) => ({
|
|
42
|
-
marginLeft: "6px",
|
|
43
|
-
color: e.palette.grey[600],
|
|
44
|
-
"&:hover": {
|
|
45
|
-
cursor: "pointer",
|
|
46
|
-
color: e.palette.common.black
|
|
47
|
-
}
|
|
48
|
-
})), E = a("div")(({ theme: e }) => ({ marginBottom: e.spacing(.5) })), D = a(({ className: e, ...t }) => /* @__PURE__ */ s(f, {
|
|
49
|
-
...t,
|
|
50
|
-
classes: { tooltip: e }
|
|
51
|
-
}))(({ theme: e }) => ({ "& .MuiTooltip-tooltip": {
|
|
52
|
-
fontSize: e.typography.fontSize - 2,
|
|
53
|
-
whiteSpace: "pre",
|
|
54
|
-
maxWidth: "500px"
|
|
55
|
-
} })), O = a(p)(({ theme: e }) => ({
|
|
56
|
-
marginTop: e.spacing(1.5),
|
|
57
|
-
marginBottom: e.spacing(1)
|
|
58
|
-
})), k = a("div")({
|
|
59
|
-
display: "flex",
|
|
60
|
-
alignItems: "center",
|
|
61
|
-
justifyContent: "space-between"
|
|
62
|
-
}), A = a("div")({
|
|
63
|
-
display: "flex",
|
|
64
|
-
alignItems: "center",
|
|
65
|
-
width: "300px"
|
|
66
|
-
}), j = a(d)(({ theme: e }) => ({
|
|
67
|
-
marginLeft: e.spacing(1),
|
|
68
|
-
textTransform: "uppercase",
|
|
69
|
-
color: e.palette.grey[800]
|
|
70
|
-
})), M = a(u)({ textTransform: "uppercase" }), N = a("div")(({ theme: e }) => ({
|
|
71
|
-
fontSize: e.typography.fontSize - 2,
|
|
72
|
-
color: e.palette.error.main,
|
|
73
|
-
marginTop: e.spacing(1)
|
|
74
|
-
})), P = ({ availableTools: e, defaultTool: t, hasErrors: n, toolbarTools: r, toggleToolBarTool: i, onDefaultToolChange: a }) => {
|
|
75
|
-
let o = e || [], l = o.includes("label"), u = (r || []).filter((e) => e !== "label");
|
|
76
|
-
return l && (o = [...o.filter((e) => e !== "label"), "label"]), /* @__PURE__ */ c(y, { children: [/* @__PURE__ */ c(k, { children: [/* @__PURE__ */ s("span", { children: "GRAPHING TOOLS" }), u.length > 0 && /* @__PURE__ */ c(A, { children: [/* @__PURE__ */ s("span", { children: "Default graphing tool:" }), /* @__PURE__ */ s(j, {
|
|
77
|
-
variant: "standard",
|
|
78
|
-
onChange: a,
|
|
79
|
-
value: t,
|
|
80
|
-
disableUnderline: !0,
|
|
81
|
-
MenuProps: { transitionDuration: {
|
|
82
|
-
enter: 225,
|
|
83
|
-
exit: 195
|
|
84
|
-
} },
|
|
85
|
-
children: u.map((e, t) => /* @__PURE__ */ s(M, {
|
|
86
|
-
value: e,
|
|
87
|
-
children: e
|
|
88
|
-
}, t))
|
|
89
|
-
})] })] }), /* @__PURE__ */ s(x, { children: o.map((e) => /* @__PURE__ */ s(r.find((t) => t === e) ? C : S, {
|
|
90
|
-
style: { ...n && e !== "label" && { color: "red" } },
|
|
91
|
-
onClick: () => i(e),
|
|
92
|
-
children: e.toUpperCase()
|
|
93
|
-
}, e)) })] });
|
|
94
|
-
};
|
|
95
|
-
P.propTypes = {
|
|
96
|
-
toolbarTools: i.arrayOf(i.string),
|
|
97
|
-
toggleToolBarTool: i.func,
|
|
98
|
-
availableTools: i.array,
|
|
99
|
-
defaultTool: i.string,
|
|
100
|
-
hasErrors: i.number,
|
|
101
|
-
onDefaultToolChange: i.func
|
|
102
|
-
};
|
|
103
|
-
var F = class extends n.Component {
|
|
104
|
-
static propTypes = {
|
|
105
|
-
availableTools: i.array,
|
|
106
|
-
errors: i.object,
|
|
107
|
-
model: i.object.isRequired,
|
|
108
|
-
onChange: i.func.isRequired,
|
|
109
|
-
toolbarTools: i.arrayOf(i.String)
|
|
110
|
-
};
|
|
111
|
-
state = { dialog: { open: !1 } };
|
|
112
|
-
componentDidMount() {
|
|
113
|
-
try {
|
|
114
|
-
r(m.findDOMNode(this));
|
|
115
|
-
} catch {
|
|
116
|
-
console.error("DOM not mounted");
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
handleAlertDialog = (e, t) => this.setState({ dialog: { open: e } }, t);
|
|
120
|
-
changeMarks = (e, n) => {
|
|
121
|
-
let { model: r, onChange: i } = this.props;
|
|
122
|
-
t(r, `answers.${e}.marks`, n), i(r);
|
|
123
|
-
};
|
|
124
|
-
filterMarks = (e) => {
|
|
125
|
-
let { model: { answers: t } } = this.props;
|
|
126
|
-
return Object.entries(t || {}).reduce((t, [n, r]) => (t[n] = {
|
|
127
|
-
...r,
|
|
128
|
-
marks: (r.marks || []).filter((t) => t.type !== e)
|
|
129
|
-
}, t), {});
|
|
130
|
-
};
|
|
131
|
-
changeToolbarTools = (e) => {
|
|
132
|
-
let { model: t, onChange: n } = this.props;
|
|
133
|
-
t.toolbarTools = e, n(t);
|
|
134
|
-
};
|
|
135
|
-
updateModel = (e) => {
|
|
136
|
-
let { model: t, onChange: n } = this.props;
|
|
137
|
-
n({
|
|
138
|
-
...t,
|
|
139
|
-
...e
|
|
140
|
-
});
|
|
141
|
-
};
|
|
142
|
-
toggleToolBarTool = (t) => {
|
|
143
|
-
let { model: { defaultTool: n, toolbarTools: r, answers: i = {} } } = this.props, a = [...r], o = n, s = r.findIndex((e) => t === e);
|
|
144
|
-
if (s >= 0) {
|
|
145
|
-
let r = this.filterMarks(t);
|
|
146
|
-
if (a.splice(s, 1), t === n) {
|
|
147
|
-
let e = (a || []).filter((e) => e !== "label");
|
|
148
|
-
o = e.length && e[0] || "";
|
|
149
|
-
}
|
|
150
|
-
if (!e(i, r)) {
|
|
151
|
-
this.setState({ dialog: {
|
|
152
|
-
open: !0,
|
|
153
|
-
title: "Warning",
|
|
154
|
-
text: `Correct answer includes one or more ${t} objects and all of them will be deleted.`,
|
|
155
|
-
onConfirm: () => this.handleAlertDialog(!1, this.updateModel({
|
|
156
|
-
toolbarTools: a,
|
|
157
|
-
answers: r,
|
|
158
|
-
defaultTool: o
|
|
159
|
-
})),
|
|
160
|
-
onClose: () => this.handleAlertDialog(!1)
|
|
161
|
-
} });
|
|
162
|
-
return;
|
|
163
|
-
}
|
|
164
|
-
} else a.push(t), n === "" && t !== "label" && (o = t);
|
|
165
|
-
this.updateModel({
|
|
166
|
-
toolbarTools: a,
|
|
167
|
-
defaultTool: o
|
|
168
|
-
});
|
|
169
|
-
};
|
|
170
|
-
onDefaultToolChange = (e) => {
|
|
171
|
-
let { value: t } = e.target;
|
|
172
|
-
this.updateModel({ defaultTool: t });
|
|
173
|
-
};
|
|
174
|
-
addAlternateResponse = () => {
|
|
175
|
-
let { model: e, onChange: n } = this.props, { answers: r } = e || {}, i = Object.keys(r || {});
|
|
176
|
-
t(e, `answers.${`alternate${i.length}`}`, {
|
|
177
|
-
name: `Alternate ${i.length}`,
|
|
178
|
-
marks: []
|
|
179
|
-
}), n(e);
|
|
180
|
-
};
|
|
181
|
-
deleteAlternateResponse = (e, t) => {
|
|
182
|
-
let { model: n, onChange: r } = this.props, { answers: i } = n || {}, { marks: a = [], name: o } = t || {}, s = () => {
|
|
183
|
-
delete i[e];
|
|
184
|
-
let t = Object.entries(i).reduce((e, t, n) => {
|
|
185
|
-
let [r, i] = t;
|
|
186
|
-
return r === "correctAnswer" ? {
|
|
187
|
-
...e,
|
|
188
|
-
[r]: i
|
|
189
|
-
} : {
|
|
190
|
-
...e,
|
|
191
|
-
["alternate" + n]: {
|
|
192
|
-
...i,
|
|
193
|
-
name: `Alternate ${n}`
|
|
194
|
-
}
|
|
195
|
-
};
|
|
196
|
-
}, {});
|
|
197
|
-
r({
|
|
198
|
-
...n,
|
|
199
|
-
answers: t
|
|
200
|
-
});
|
|
201
|
-
};
|
|
202
|
-
if (a.length) {
|
|
203
|
-
this.setState({ dialog: {
|
|
204
|
-
open: !0,
|
|
205
|
-
title: "Warning",
|
|
206
|
-
text: `${o} includes one or more shapes and the entire response will be deleted.`,
|
|
207
|
-
onConfirm: () => this.handleAlertDialog(!1, s),
|
|
208
|
-
onClose: () => this.handleAlertDialog(!1)
|
|
209
|
-
} });
|
|
210
|
-
return;
|
|
211
|
-
}
|
|
212
|
-
s();
|
|
213
|
-
};
|
|
214
|
-
render() {
|
|
215
|
-
let { availableTools: e, errors: t, model: r, mathMlOptions: i = {}, removeIncompleteTool: a } = this.props, { dialog: u } = this.state, { answers: d = {}, arrows: f, backgroundMarks: m, coordinatesOnHover: _, defaultTool: v, domain: y, graph: x = {}, labels: S, labelsEnabled: C, range: k, title: A, titleEnabled: j, toolbarTools: M } = r || {}, { correctAnswerErrors: F = {}, toolbarToolsError: I } = t || {};
|
|
216
|
-
return /* @__PURE__ */ c("div", { children: [
|
|
217
|
-
/* @__PURE__ */ s(p, {
|
|
218
|
-
component: "div",
|
|
219
|
-
variant: "h6",
|
|
220
|
-
children: "Define Tool Set and Correct Response"
|
|
221
|
-
}),
|
|
222
|
-
/* @__PURE__ */ s(O, {
|
|
223
|
-
component: "div",
|
|
224
|
-
variant: "body1",
|
|
225
|
-
children: "Use this interface to choose which graphing tools students will be able to use, and to define the correct answer"
|
|
226
|
-
}),
|
|
227
|
-
/* @__PURE__ */ s(P, {
|
|
228
|
-
availableTools: e,
|
|
229
|
-
defaultTool: v,
|
|
230
|
-
hasErrors: !!I,
|
|
231
|
-
onDefaultToolChange: this.onDefaultToolChange,
|
|
232
|
-
toggleToolBarTool: this.toggleToolBarTool,
|
|
233
|
-
toolbarTools: M
|
|
234
|
-
}),
|
|
235
|
-
I && /* @__PURE__ */ s(N, { children: I }),
|
|
236
|
-
Object.entries(d || {}).map(([e, t]) => {
|
|
237
|
-
let { marks: r = [], name: l } = t || {};
|
|
238
|
-
return /* @__PURE__ */ c(n.Fragment, { children: [
|
|
239
|
-
/* @__PURE__ */ c(w, { children: [
|
|
240
|
-
/* @__PURE__ */ s(E, { children: l }),
|
|
241
|
-
e === "correctAnswer" && /* @__PURE__ */ s(D, {
|
|
242
|
-
disableFocusListener: !0,
|
|
243
|
-
disableTouchListener: !0,
|
|
244
|
-
placement: "right",
|
|
245
|
-
title: "At least 1 graph object should be defined.",
|
|
246
|
-
children: /* @__PURE__ */ s(g, {
|
|
247
|
-
fontSize: "small",
|
|
248
|
-
color: "primary",
|
|
249
|
-
style: {
|
|
250
|
-
marginLeft: "8px",
|
|
251
|
-
marginBottom: "auto"
|
|
252
|
-
}
|
|
253
|
-
})
|
|
254
|
-
}),
|
|
255
|
-
e !== "correctAnswer" && /* @__PURE__ */ s(T, {
|
|
256
|
-
onClick: () => this.deleteAlternateResponse(e, t),
|
|
257
|
-
children: /* @__PURE__ */ s(h, {})
|
|
258
|
-
})
|
|
259
|
-
] }),
|
|
260
|
-
/* @__PURE__ */ s(o, {
|
|
261
|
-
style: F[e] && { border: "2px solid red" },
|
|
262
|
-
axesSettings: { includeArrows: f },
|
|
263
|
-
backgroundMarks: m.filter((e) => !e.building),
|
|
264
|
-
coordinatesOnHover: _,
|
|
265
|
-
disabledLabels: !0,
|
|
266
|
-
disabledTitle: !0,
|
|
267
|
-
domain: y,
|
|
268
|
-
draggableTools: e === "correctAnswer",
|
|
269
|
-
labels: S,
|
|
270
|
-
marks: r,
|
|
271
|
-
onChangeMarks: (t) => this.changeMarks(e, t),
|
|
272
|
-
range: k,
|
|
273
|
-
showLabels: C,
|
|
274
|
-
showTitle: j,
|
|
275
|
-
size: {
|
|
276
|
-
width: x.width,
|
|
277
|
-
height: x.height
|
|
278
|
-
},
|
|
279
|
-
title: A,
|
|
280
|
-
toolbarTools: M,
|
|
281
|
-
onChangeTools: (e) => this.updateModel({ toolbarTools: e }),
|
|
282
|
-
mathMlOptions: i,
|
|
283
|
-
removeIncompleteTool: a,
|
|
284
|
-
limitLabeling: !0
|
|
285
|
-
}),
|
|
286
|
-
F[e] && /* @__PURE__ */ s(N, { children: F[e] })
|
|
287
|
-
] }, `correct-response-graph-${l}`);
|
|
288
|
-
}),
|
|
289
|
-
/* @__PURE__ */ s(b, {
|
|
290
|
-
onClick: this.addAlternateResponse,
|
|
291
|
-
children: "ADD ALTERNATE"
|
|
292
|
-
}),
|
|
293
|
-
/* @__PURE__ */ s(l, {
|
|
294
|
-
open: u.open,
|
|
295
|
-
title: u.title,
|
|
296
|
-
text: u.text,
|
|
297
|
-
onClose: u.onClose,
|
|
298
|
-
onConfirm: u.onConfirm
|
|
299
|
-
})
|
|
300
|
-
] });
|
|
301
|
-
}
|
|
302
|
-
};
|
|
303
|
-
//#endregion
|
|
304
|
-
export { F as default };
|
|
@@ -1,294 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-elements/packages/graphing/configure/src/defaults.js
|
|
3
|
-
* @auto-generated
|
|
4
|
-
*
|
|
5
|
-
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
-
* Manual edits will be overwritten on next sync.
|
|
7
|
-
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
-
*/
|
|
9
|
-
declare const _default: {
|
|
10
|
-
model: {
|
|
11
|
-
answers: {
|
|
12
|
-
correctAnswer: {
|
|
13
|
-
name: string;
|
|
14
|
-
marks: never[];
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
arrows: {
|
|
18
|
-
left: boolean;
|
|
19
|
-
right: boolean;
|
|
20
|
-
up: boolean;
|
|
21
|
-
down: boolean;
|
|
22
|
-
};
|
|
23
|
-
backgroundMarks: never[];
|
|
24
|
-
coordinatesOnHover: boolean;
|
|
25
|
-
defaultGridConfiguration: number;
|
|
26
|
-
domain: {
|
|
27
|
-
min: number;
|
|
28
|
-
max: number;
|
|
29
|
-
step: number;
|
|
30
|
-
labelStep: number;
|
|
31
|
-
axisLabel: string;
|
|
32
|
-
};
|
|
33
|
-
graph: {
|
|
34
|
-
width: number;
|
|
35
|
-
height: number;
|
|
36
|
-
};
|
|
37
|
-
includeAxes: boolean;
|
|
38
|
-
labels: {};
|
|
39
|
-
labelsEnabled: boolean;
|
|
40
|
-
padding: boolean;
|
|
41
|
-
prompt: string;
|
|
42
|
-
promptEnabled: boolean;
|
|
43
|
-
range: {
|
|
44
|
-
min: number;
|
|
45
|
-
max: number;
|
|
46
|
-
step: number;
|
|
47
|
-
labelStep: number;
|
|
48
|
-
axisLabel: string;
|
|
49
|
-
};
|
|
50
|
-
rationale: string;
|
|
51
|
-
rationaleEnabled: boolean;
|
|
52
|
-
standardGrid: boolean;
|
|
53
|
-
studentInstructionsEnabled: boolean;
|
|
54
|
-
teacherInstructions: string;
|
|
55
|
-
teacherInstructionsEnabled: boolean;
|
|
56
|
-
title: string;
|
|
57
|
-
titleEnabled: boolean;
|
|
58
|
-
toolbarTools: string[];
|
|
59
|
-
};
|
|
60
|
-
configuration: {
|
|
61
|
-
baseInputConfiguration: {
|
|
62
|
-
h3: {
|
|
63
|
-
disabled: boolean;
|
|
64
|
-
};
|
|
65
|
-
audio: {
|
|
66
|
-
disabled: boolean;
|
|
67
|
-
};
|
|
68
|
-
video: {
|
|
69
|
-
disabled: boolean;
|
|
70
|
-
};
|
|
71
|
-
image: {
|
|
72
|
-
disabled: boolean;
|
|
73
|
-
};
|
|
74
|
-
textAlign: {
|
|
75
|
-
disabled: boolean;
|
|
76
|
-
};
|
|
77
|
-
showParagraphs: {
|
|
78
|
-
disabled: boolean;
|
|
79
|
-
};
|
|
80
|
-
separateParagraphs: {
|
|
81
|
-
disabled: boolean;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
availableTools: string[];
|
|
85
|
-
authoring: {
|
|
86
|
-
settings: boolean;
|
|
87
|
-
label: string;
|
|
88
|
-
enabled: boolean;
|
|
89
|
-
includeAxesEnabled: boolean;
|
|
90
|
-
standardGridEnabled: boolean;
|
|
91
|
-
min: {
|
|
92
|
-
label: string;
|
|
93
|
-
enabled: boolean;
|
|
94
|
-
};
|
|
95
|
-
max: {
|
|
96
|
-
label: string;
|
|
97
|
-
enabled: boolean;
|
|
98
|
-
};
|
|
99
|
-
axisLabel: {
|
|
100
|
-
label: string;
|
|
101
|
-
enabled: boolean;
|
|
102
|
-
};
|
|
103
|
-
step: {
|
|
104
|
-
label: string;
|
|
105
|
-
enabled: boolean;
|
|
106
|
-
};
|
|
107
|
-
labelStep: {
|
|
108
|
-
label: string;
|
|
109
|
-
enabled: boolean;
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
arrows: {
|
|
113
|
-
settings: boolean;
|
|
114
|
-
label: string;
|
|
115
|
-
left: {
|
|
116
|
-
label: string;
|
|
117
|
-
};
|
|
118
|
-
right: {
|
|
119
|
-
label: string;
|
|
120
|
-
};
|
|
121
|
-
up: {
|
|
122
|
-
label: string;
|
|
123
|
-
};
|
|
124
|
-
down: {
|
|
125
|
-
label: string;
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
|
-
gridConfigurations: {
|
|
129
|
-
label: string;
|
|
130
|
-
arrows: {
|
|
131
|
-
left: boolean;
|
|
132
|
-
right: boolean;
|
|
133
|
-
up: boolean;
|
|
134
|
-
down: boolean;
|
|
135
|
-
};
|
|
136
|
-
domain: {
|
|
137
|
-
min: number;
|
|
138
|
-
max: number;
|
|
139
|
-
step: number;
|
|
140
|
-
padding: number;
|
|
141
|
-
labelStep: number;
|
|
142
|
-
axisLabel: string;
|
|
143
|
-
};
|
|
144
|
-
graph: {
|
|
145
|
-
width: number;
|
|
146
|
-
height: number;
|
|
147
|
-
};
|
|
148
|
-
includeAxes: boolean;
|
|
149
|
-
labels: {
|
|
150
|
-
top: string;
|
|
151
|
-
right: string;
|
|
152
|
-
bottom: string;
|
|
153
|
-
left: string;
|
|
154
|
-
};
|
|
155
|
-
padding: boolean;
|
|
156
|
-
range: {
|
|
157
|
-
min: number;
|
|
158
|
-
max: number;
|
|
159
|
-
step: number;
|
|
160
|
-
padding: number;
|
|
161
|
-
labelStep: number;
|
|
162
|
-
axisLabel: string;
|
|
163
|
-
};
|
|
164
|
-
standardGrid: boolean;
|
|
165
|
-
title: string;
|
|
166
|
-
}[];
|
|
167
|
-
graphDimensions: {
|
|
168
|
-
settings: boolean;
|
|
169
|
-
label: string;
|
|
170
|
-
enabled: boolean;
|
|
171
|
-
min: number;
|
|
172
|
-
max: number;
|
|
173
|
-
step: number;
|
|
174
|
-
};
|
|
175
|
-
padding: {
|
|
176
|
-
settings: boolean;
|
|
177
|
-
label: string;
|
|
178
|
-
};
|
|
179
|
-
labels: {
|
|
180
|
-
settings: boolean;
|
|
181
|
-
label: string;
|
|
182
|
-
enabled: boolean;
|
|
183
|
-
top: string;
|
|
184
|
-
right: string;
|
|
185
|
-
bottom: string;
|
|
186
|
-
left: string;
|
|
187
|
-
};
|
|
188
|
-
prompt: {
|
|
189
|
-
settings: boolean;
|
|
190
|
-
label: string;
|
|
191
|
-
required: boolean;
|
|
192
|
-
inputConfiguration: {
|
|
193
|
-
audio: {
|
|
194
|
-
disabled: boolean;
|
|
195
|
-
};
|
|
196
|
-
video: {
|
|
197
|
-
disabled: boolean;
|
|
198
|
-
};
|
|
199
|
-
image: {
|
|
200
|
-
disabled: boolean;
|
|
201
|
-
};
|
|
202
|
-
};
|
|
203
|
-
};
|
|
204
|
-
rationale: {
|
|
205
|
-
settings: boolean;
|
|
206
|
-
label: string;
|
|
207
|
-
required: boolean;
|
|
208
|
-
inputConfiguration: {
|
|
209
|
-
audio: {
|
|
210
|
-
disabled: boolean;
|
|
211
|
-
};
|
|
212
|
-
video: {
|
|
213
|
-
disabled: boolean;
|
|
214
|
-
};
|
|
215
|
-
image: {
|
|
216
|
-
disabled: boolean;
|
|
217
|
-
};
|
|
218
|
-
};
|
|
219
|
-
};
|
|
220
|
-
scoringType: {
|
|
221
|
-
settings: boolean;
|
|
222
|
-
label: string;
|
|
223
|
-
};
|
|
224
|
-
studentInstructions: {
|
|
225
|
-
settings: boolean;
|
|
226
|
-
label: string;
|
|
227
|
-
};
|
|
228
|
-
teacherInstructions: {
|
|
229
|
-
settings: boolean;
|
|
230
|
-
label: string;
|
|
231
|
-
required: boolean;
|
|
232
|
-
inputConfiguration: {
|
|
233
|
-
audio: {
|
|
234
|
-
disabled: boolean;
|
|
235
|
-
};
|
|
236
|
-
video: {
|
|
237
|
-
disabled: boolean;
|
|
238
|
-
};
|
|
239
|
-
image: {
|
|
240
|
-
disabled: boolean;
|
|
241
|
-
};
|
|
242
|
-
};
|
|
243
|
-
};
|
|
244
|
-
title: {
|
|
245
|
-
settings: boolean;
|
|
246
|
-
label: string;
|
|
247
|
-
enabled: boolean;
|
|
248
|
-
placeholder: string;
|
|
249
|
-
};
|
|
250
|
-
instruction: {
|
|
251
|
-
settings: boolean;
|
|
252
|
-
label: string;
|
|
253
|
-
};
|
|
254
|
-
settingsPanelDisabled: boolean;
|
|
255
|
-
spellCheck: {
|
|
256
|
-
label: string;
|
|
257
|
-
settings: boolean;
|
|
258
|
-
enabled: boolean;
|
|
259
|
-
};
|
|
260
|
-
coordinatesOnHover: {
|
|
261
|
-
settings: boolean;
|
|
262
|
-
label: string;
|
|
263
|
-
};
|
|
264
|
-
maxImageWidth: {
|
|
265
|
-
teacherInstructions: number;
|
|
266
|
-
prompt: number;
|
|
267
|
-
rationale: number;
|
|
268
|
-
};
|
|
269
|
-
maxImageHeight: {
|
|
270
|
-
teacherInstructions: number;
|
|
271
|
-
prompt: number;
|
|
272
|
-
rationale: number;
|
|
273
|
-
};
|
|
274
|
-
withRubric: {
|
|
275
|
-
settings: boolean;
|
|
276
|
-
label: string;
|
|
277
|
-
};
|
|
278
|
-
language: {
|
|
279
|
-
settings: boolean;
|
|
280
|
-
label: string;
|
|
281
|
-
enabled: boolean;
|
|
282
|
-
};
|
|
283
|
-
languageChoices: {
|
|
284
|
-
label: string;
|
|
285
|
-
options: never[];
|
|
286
|
-
};
|
|
287
|
-
mathMlOptions: {
|
|
288
|
-
mmlOutput: boolean;
|
|
289
|
-
mmlEditing: boolean;
|
|
290
|
-
};
|
|
291
|
-
removeIncompleteTool: boolean;
|
|
292
|
-
};
|
|
293
|
-
};
|
|
294
|
-
export default _default;
|