@pie-element/graphing 10.1.1-next.1 → 10.1.1-next.29
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
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
// const E259702 = {
|
|
2
|
+
// domain: {
|
|
3
|
+
// min: -11,
|
|
4
|
+
// axisLabel: '<i>x</i>',
|
|
5
|
+
// max: 11,
|
|
6
|
+
// labelStep: 1,
|
|
7
|
+
// step: 1
|
|
8
|
+
// },
|
|
9
|
+
// id: '000000005407608c0154340bf94c2e46',
|
|
10
|
+
// graph: {
|
|
11
|
+
// height: 500,
|
|
12
|
+
// width: 500
|
|
13
|
+
// },
|
|
14
|
+
// answers: {
|
|
15
|
+
// correctAnswer: {
|
|
16
|
+
// marks: [
|
|
17
|
+
// {
|
|
18
|
+
// closed: true,
|
|
19
|
+
// points: [
|
|
20
|
+
// {
|
|
21
|
+
// y: 4,
|
|
22
|
+
// x: -5
|
|
23
|
+
// },
|
|
24
|
+
// {
|
|
25
|
+
// x: 3,
|
|
26
|
+
// y: 6
|
|
27
|
+
// },
|
|
28
|
+
// {
|
|
29
|
+
// y: -4,
|
|
30
|
+
// x: 2
|
|
31
|
+
// }
|
|
32
|
+
// ],
|
|
33
|
+
// type: 'polygon'
|
|
34
|
+
// }
|
|
35
|
+
// ]
|
|
36
|
+
// }
|
|
37
|
+
// },
|
|
38
|
+
// toolbarTools: ['polygon'],
|
|
39
|
+
// element: 'pie-element-graphing',
|
|
40
|
+
// range: {
|
|
41
|
+
// min: -11,
|
|
42
|
+
// axisLabel: '<i>y</i>',
|
|
43
|
+
// max: 11,
|
|
44
|
+
// labelStep: 1,
|
|
45
|
+
// step: 1
|
|
46
|
+
// },
|
|
47
|
+
// rationale: '<p>A correct response is shown below:</p><p><img alt=\'image 21d436190c7a432298ef8f3484984a8b\' id=\'21d436190c7a432298ef8f3484984a8b\' src=\'https://storage.googleapis.com/pie-prod-221718-assets/image/0089abe1-e891-4ab0-be73-859fec9f4fa4\'></p>',
|
|
48
|
+
// prompt: '<p>Consider these ordered pairs.</p><ul><li>Point <span class=\'variable\'>X</span>: (3, 6)</li><li>Point <span class=\'variable\'>Y</span>: (2, –4)</li><li>Point <span class=\'variable\'>Z</span>: (–5, 4)</li></ul><p>Plot these points on the coordinate grid below to form triangle <span class=\'variable\'>XYZ</span>.</p><p><em style=\'font-style: italic;\'>To graph the shape on the coordinate grid, click on a point that represents a vertex, then repeat this process for each vertex point of the shape. To complete the shape, click on the first vertex point. The shape will be shaded in once it is completed.</em></p>'
|
|
49
|
+
// };
|
|
50
|
+
//
|
|
51
|
+
// const E195666 = {
|
|
52
|
+
// element: 'pie-element-graphing',
|
|
53
|
+
// range: {
|
|
54
|
+
// min: -1,
|
|
55
|
+
// max: 21,
|
|
56
|
+
// labelStep: 1,
|
|
57
|
+
// step: 1
|
|
58
|
+
// },
|
|
59
|
+
// rationale: '<p>See Rubric. </p>',
|
|
60
|
+
// prompt: '<p>An ant is 18 meters (m) from his ant hill. He walks about 5 meters per minute directly toward the ant hill. Graph the line on the coordinate grid below which shows how far the ant is from the ant hill after walking any number of minutes. Use the <span class=\'variable\'>x</span>-axis to represent the number of minutes and the <span class=\'variable\'>y</span>-axis to represent the distance from the ant hill in meters.</p>',
|
|
61
|
+
// teacherInstructions: '',
|
|
62
|
+
// labels: {
|
|
63
|
+
// bottom: 'Minutes',
|
|
64
|
+
// left: 'Meters'
|
|
65
|
+
// },
|
|
66
|
+
// domain: {
|
|
67
|
+
// step: 1,
|
|
68
|
+
// min: -1,
|
|
69
|
+
// max: 21,
|
|
70
|
+
// labelStep: 1
|
|
71
|
+
// },
|
|
72
|
+
// id: '4028e4a24140911d01414d8b3dd81cdb',
|
|
73
|
+
// graph: {
|
|
74
|
+
// width: 500,
|
|
75
|
+
// height: 500
|
|
76
|
+
// },
|
|
77
|
+
// toolbarTools: ['line']
|
|
78
|
+
// };
|
|
79
|
+
|
|
80
|
+
const SCmodel = {
|
|
81
|
+
promptEnabled: true,
|
|
82
|
+
domain: { min: -10, max: 10, step: 1, labelStep: 1, axisLabel: 'x' },
|
|
83
|
+
range: { min: -10, max: 10, step: 1, labelStep: 1, axisLabel: 'y' },
|
|
84
|
+
backgroundMarks: [],
|
|
85
|
+
answers: { correctAnswer: { name: 'Correct Answer', marks: [] } },
|
|
86
|
+
arrows: { left: true, right: true, up: true, down: true },
|
|
87
|
+
defaultGridConfiguration: 0,
|
|
88
|
+
graph: { width: 480, height: 480 },
|
|
89
|
+
includeAxes: true,
|
|
90
|
+
labels: {},
|
|
91
|
+
labelsEnabled: true,
|
|
92
|
+
padding: true,
|
|
93
|
+
prompt: '',
|
|
94
|
+
rationale: '',
|
|
95
|
+
standardGrid: true,
|
|
96
|
+
title: '',
|
|
97
|
+
toolbarTools: [
|
|
98
|
+
'circle',
|
|
99
|
+
'line',
|
|
100
|
+
'label',
|
|
101
|
+
'parabola',
|
|
102
|
+
'point',
|
|
103
|
+
'polygon',
|
|
104
|
+
'ray',
|
|
105
|
+
'segment',
|
|
106
|
+
'sine',
|
|
107
|
+
'vector',
|
|
108
|
+
'absolute',
|
|
109
|
+
'exponential',
|
|
110
|
+
],
|
|
111
|
+
coordinatesOnHover: false,
|
|
112
|
+
rationaleEnabled: false,
|
|
113
|
+
teacherInstructionsEnabled: false,
|
|
114
|
+
studentInstructionsEnabled: false,
|
|
115
|
+
defaultTool: 'line',
|
|
116
|
+
titleEnabled: true,
|
|
117
|
+
dimensionsEnabled: true,
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
const oldModel = {
|
|
121
|
+
answers: {
|
|
122
|
+
correctAnswer: {
|
|
123
|
+
name: 'Correct Answer',
|
|
124
|
+
marks: [
|
|
125
|
+
{
|
|
126
|
+
type: 'point',
|
|
127
|
+
x: 0,
|
|
128
|
+
y: 0,
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
},
|
|
132
|
+
alternate1: {
|
|
133
|
+
name: 'Alternate 1',
|
|
134
|
+
marks: [
|
|
135
|
+
{
|
|
136
|
+
type: 'segment',
|
|
137
|
+
from: { x: 0, y: 0 },
|
|
138
|
+
to: { x: 1, y: 1 },
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
type: 'point',
|
|
142
|
+
x: 3,
|
|
143
|
+
y: 3,
|
|
144
|
+
label: 'Point',
|
|
145
|
+
showLabel: true,
|
|
146
|
+
},
|
|
147
|
+
],
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
arrows: {
|
|
151
|
+
left: true,
|
|
152
|
+
right: true,
|
|
153
|
+
up: true,
|
|
154
|
+
down: true,
|
|
155
|
+
},
|
|
156
|
+
backgroundMarks: [
|
|
157
|
+
{
|
|
158
|
+
type: 'point',
|
|
159
|
+
x: 2,
|
|
160
|
+
y: 2,
|
|
161
|
+
label: 'Point',
|
|
162
|
+
showLabel: true,
|
|
163
|
+
},
|
|
164
|
+
],
|
|
165
|
+
domain: {
|
|
166
|
+
min: -10,
|
|
167
|
+
max: 10,
|
|
168
|
+
padding: 0,
|
|
169
|
+
step: 1,
|
|
170
|
+
labelStep: 1,
|
|
171
|
+
axisLabel: 'x',
|
|
172
|
+
},
|
|
173
|
+
defaultTool: 'point',
|
|
174
|
+
graph: {
|
|
175
|
+
width: 480,
|
|
176
|
+
height: 480,
|
|
177
|
+
},
|
|
178
|
+
coordinatesOnHover: false,
|
|
179
|
+
labels: { top: 'top', left: 'left', bottom: 'bottom', right: 'right' },
|
|
180
|
+
padding: true,
|
|
181
|
+
prompt: 'Here goes item stem !!!!!!',
|
|
182
|
+
promptEnabled: true,
|
|
183
|
+
range: {
|
|
184
|
+
min: -5,
|
|
185
|
+
max: 5,
|
|
186
|
+
padding: 0,
|
|
187
|
+
step: 1,
|
|
188
|
+
labelStep: 1,
|
|
189
|
+
axisLabel: 'y',
|
|
190
|
+
},
|
|
191
|
+
rationale: 'Rationale goes here',
|
|
192
|
+
title: 'Graph title',
|
|
193
|
+
rubricEnabled: false,
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
exports.model = (id, element) => ({
|
|
197
|
+
id,
|
|
198
|
+
element,
|
|
199
|
+
...oldModel,
|
|
200
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<graphing-element pie-id="1"></graphing-element>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
module.exports = [
|
|
2
|
+
{
|
|
3
|
+
id: '1',
|
|
4
|
+
element: 'graphing',
|
|
5
|
+
// answer: [
|
|
6
|
+
// {
|
|
7
|
+
// type: 'segment',
|
|
8
|
+
// from: { x: 0, y: 0 },
|
|
9
|
+
// to: { x: 1, y: 1 },
|
|
10
|
+
// },
|
|
11
|
+
// {
|
|
12
|
+
// type: 'point',
|
|
13
|
+
// x: 3,
|
|
14
|
+
// y: 3,
|
|
15
|
+
// label: 'Point',
|
|
16
|
+
// showLabel: true
|
|
17
|
+
// }
|
|
18
|
+
// ]
|
|
19
|
+
},
|
|
20
|
+
];
|