@pie-element/graphing 10.1.0-next.2 → 10.1.1-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/author/configure.d.ts +26 -0
- package/dist/author/configure.js +208 -0
- package/dist/author/correct-response.d.ts +54 -0
- package/dist/author/correct-response.js +304 -0
- package/dist/author/defaults.d.ts +294 -0
- package/dist/author/defaults.js +415 -0
- package/dist/author/graphing-config.d.ts +34 -0
- package/dist/author/graphing-config.js +244 -0
- package/dist/author/index.d.ts +59 -0
- package/dist/author/index.js +96 -0
- package/dist/author/utils.d.ts +43 -0
- package/dist/author/utils.js +260 -0
- package/dist/controller/defaults.d.ts +59 -0
- package/dist/controller/defaults.js +61 -0
- package/dist/controller/index.d.ts +34 -0
- package/dist/controller/index.js +181 -0
- package/dist/controller/utils.d.ts +37 -0
- package/dist/controller/utils.js +114 -0
- package/dist/delivery/index.d.ts +21 -0
- package/dist/delivery/index.js +43 -0
- package/dist/delivery/main.d.ts +23 -0
- package/dist/delivery/main.js +107 -0
- package/dist/delivery/utils.d.ts +22 -0
- package/dist/graphing.css +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.iife.d.ts +8 -0
- package/dist/index.iife.js +375 -0
- package/dist/index.js +2 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludes.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludesWith.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +57 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseDifference.js +23 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIndexOf.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIntersection.js +29 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +30 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNaN.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js +22 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +15 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUniq.js +27 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castArrayLikeObject.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createSet.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +35 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +35 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +32 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +23 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +33 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_strictIndexOf.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/differenceWith.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/intersection.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +21 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/last.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/noop.js +4 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/set.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/uniq.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/uniqWith.js +7 -0
- package/package.json +59 -20
- package/CHANGELOG.json +0 -652
- package/CHANGELOG.md +0 -2029
- package/LICENSE.md +0 -5
- package/README.md +0 -1
- package/configure/CHANGELOG.json +0 -382
- package/configure/CHANGELOG.md +0 -1822
- package/configure/lib/configure.js +0 -328
- package/configure/lib/configure.js.map +0 -1
- package/configure/lib/correct-response.js +0 -484
- package/configure/lib/correct-response.js.map +0 -1
- package/configure/lib/defaults.js +0 -448
- package/configure/lib/defaults.js.map +0 -1
- package/configure/lib/graphing-config.js +0 -388
- package/configure/lib/graphing-config.js.map +0 -1
- package/configure/lib/index.js +0 -173
- package/configure/lib/index.js.map +0 -1
- package/configure/lib/utils.js +0 -122
- package/configure/lib/utils.js.map +0 -1
- package/configure/package.json +0 -30
- package/controller/CHANGELOG.json +0 -412
- package/controller/CHANGELOG.md +0 -1254
- package/controller/lib/defaults.js +0 -64
- package/controller/lib/defaults.js.map +0 -1
- package/controller/lib/index.js +0 -450
- package/controller/lib/index.js.map +0 -1
- package/controller/lib/utils.js +0 -441
- package/controller/lib/utils.js.map +0 -1
- package/controller/package.json +0 -24
- package/docs/config-schema.json +0 -3164
- package/docs/config-schema.json.md +0 -2293
- package/docs/demo/config.js +0 -8
- package/docs/demo/generate.js +0 -200
- package/docs/demo/index.html +0 -1
- package/docs/demo/session.js +0 -20
- package/docs/pie-schema.json +0 -3495
- package/docs/pie-schema.json.md +0 -1345
- package/lib/index.js +0 -69
- package/lib/index.js.map +0 -1
- package/lib/main.js +0 -161
- package/lib/main.js.map +0 -1
- package/lib/utils.js +0 -24
- package/lib/utils.js.map +0 -1
package/docs/demo/config.js
DELETED
package/docs/demo/generate.js
DELETED
|
@@ -1,200 +0,0 @@
|
|
|
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
|
-
});
|
package/docs/demo/index.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<graphing-element pie-id="1"></graphing-element>
|
package/docs/demo/session.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
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
|
-
];
|