@pie-element/graphing 10.1.0-next.2 → 10.1.1-next.0
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 +405 -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 +60 -21
- 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
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/graphing/configure/src/graphing-config.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 class GraphingConfig extends React.Component {
|
|
12
|
+
static propTypes: {
|
|
13
|
+
availableTools: PropTypes.Requireable<any[]>;
|
|
14
|
+
authoring: PropTypes.Requireable<object>;
|
|
15
|
+
dimensionsEnabled: PropTypes.Requireable<boolean>;
|
|
16
|
+
graphDimensions: PropTypes.Requireable<object>;
|
|
17
|
+
gridConfigurations: PropTypes.Requireable<any[]>;
|
|
18
|
+
labelsPlaceholders: PropTypes.Requireable<object>;
|
|
19
|
+
model: PropTypes.Validator<object>;
|
|
20
|
+
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
21
|
+
showLabels: PropTypes.Requireable<boolean>;
|
|
22
|
+
showTitle: PropTypes.Requireable<boolean>;
|
|
23
|
+
titlePlaceholder: PropTypes.Requireable<string>;
|
|
24
|
+
};
|
|
25
|
+
constructor(props: any);
|
|
26
|
+
changeBackgroundMarks: any;
|
|
27
|
+
changeLabels: any;
|
|
28
|
+
changeTitle: any;
|
|
29
|
+
onConfigChange: any;
|
|
30
|
+
onChangeView: any;
|
|
31
|
+
changeGridConfiguration: any;
|
|
32
|
+
render(): React.JSX.Element;
|
|
33
|
+
}
|
|
34
|
+
export default GraphingConfig;
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js";
|
|
2
|
+
import { applyConstraints as t, filterPlotableMarks as n, getGridValues as r, getLabelValues as i } from "./utils.js";
|
|
3
|
+
import * as a from "react";
|
|
4
|
+
import o from "prop-types";
|
|
5
|
+
import { styled as s } from "@mui/material/styles";
|
|
6
|
+
import { GraphContainer as c, GridSetup as l } from "@pie-lib/graphing";
|
|
7
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
8
|
+
import { AlertDialog as f } from "@pie-lib/config-ui";
|
|
9
|
+
import { MenuItem as p, OutlinedInput as m, Select as h, Typography as g } from "@mui/material";
|
|
10
|
+
//#region src/author/graphing-config.tsx
|
|
11
|
+
var _ = s("div")(({ theme: e }) => ({
|
|
12
|
+
display: "flex",
|
|
13
|
+
flexWrap: "wrap",
|
|
14
|
+
marginBottom: e.spacing(2.5)
|
|
15
|
+
})), v = s("div")(({ theme: e }) => ({
|
|
16
|
+
display: "flex",
|
|
17
|
+
flexDirection: "column",
|
|
18
|
+
marginRight: e.spacing(3),
|
|
19
|
+
marginBottom: e.spacing(2.5)
|
|
20
|
+
})), y = s("div")({
|
|
21
|
+
display: "flex",
|
|
22
|
+
flexDirection: "column"
|
|
23
|
+
}), b = s(g)(({ theme: e }) => ({
|
|
24
|
+
marginTop: e.spacing(1.5),
|
|
25
|
+
marginBottom: e.spacing(1)
|
|
26
|
+
})), x = s("div")(({ theme: e }) => ({
|
|
27
|
+
display: "flex",
|
|
28
|
+
flexWrap: "wrap",
|
|
29
|
+
alignItems: "center",
|
|
30
|
+
width: "100%",
|
|
31
|
+
marginBottom: e.spacing(2.5)
|
|
32
|
+
})), S = s(g)(({ theme: e }) => ({ padding: `0 ${e.spacing(1)}` })), C = s(h)({ flex: "1" }), w = class extends a.Component {
|
|
33
|
+
static propTypes = {
|
|
34
|
+
availableTools: o.array,
|
|
35
|
+
authoring: o.object,
|
|
36
|
+
dimensionsEnabled: o.bool,
|
|
37
|
+
graphDimensions: o.object,
|
|
38
|
+
gridConfigurations: o.array,
|
|
39
|
+
labelsPlaceholders: o.object,
|
|
40
|
+
model: o.object.isRequired,
|
|
41
|
+
onChange: o.func.isRequired,
|
|
42
|
+
showLabels: o.bool,
|
|
43
|
+
showTitle: o.bool,
|
|
44
|
+
titlePlaceholder: o.string
|
|
45
|
+
};
|
|
46
|
+
constructor(e) {
|
|
47
|
+
super(e);
|
|
48
|
+
let { domain: t, range: n, graph: a } = e.model || {}, o = {
|
|
49
|
+
domain: r(t, a.width, !0),
|
|
50
|
+
range: r(n, a.height, !0)
|
|
51
|
+
}, s = {
|
|
52
|
+
domain: i(t.step),
|
|
53
|
+
range: i(n.step)
|
|
54
|
+
};
|
|
55
|
+
this.state = {
|
|
56
|
+
gridValues: o,
|
|
57
|
+
labelValues: s,
|
|
58
|
+
showPixelGuides: !1,
|
|
59
|
+
dialog: { isOpened: !1 },
|
|
60
|
+
domain: { ...t },
|
|
61
|
+
range: { ...n }
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
changeBackgroundMarks = (e) => {
|
|
65
|
+
let t = {
|
|
66
|
+
...this.props.model,
|
|
67
|
+
backgroundMarks: e
|
|
68
|
+
};
|
|
69
|
+
this.props.onChange(t);
|
|
70
|
+
};
|
|
71
|
+
changeLabels = (e) => {
|
|
72
|
+
let { model: t, onChange: n } = this.props;
|
|
73
|
+
n({
|
|
74
|
+
...t,
|
|
75
|
+
labels: e
|
|
76
|
+
});
|
|
77
|
+
};
|
|
78
|
+
changeTitle = (e) => {
|
|
79
|
+
let { model: t, onChange: n } = this.props;
|
|
80
|
+
n({
|
|
81
|
+
...t,
|
|
82
|
+
title: e
|
|
83
|
+
});
|
|
84
|
+
};
|
|
85
|
+
onConfigChange = (r, i) => {
|
|
86
|
+
let { model: a, onChange: o } = this.props, { defaultGridConfiguration: s = 0 } = a, { gridValues: c, labelValues: l, domain: u, range: d } = this.state, f = {
|
|
87
|
+
...a,
|
|
88
|
+
...r
|
|
89
|
+
}, { answers: p, domain: m, includeAxes: h, graph: g, range: _, standardGrid: v } = f, y = {
|
|
90
|
+
domain: [],
|
|
91
|
+
range: []
|
|
92
|
+
}, b = {
|
|
93
|
+
domain: [],
|
|
94
|
+
range: []
|
|
95
|
+
}, x = i >= 0 ? i : s;
|
|
96
|
+
if (h) {
|
|
97
|
+
let e = t(m, g.width, c.domain, l.domain);
|
|
98
|
+
y.domain = e.gridValues || [], b.domain = e.labelValues || [];
|
|
99
|
+
}
|
|
100
|
+
if (v) y.range = y.domain, b.range = b.domain, _.step = m.step, _.labelStep = m.labelStep;
|
|
101
|
+
else if (h) {
|
|
102
|
+
let e = t(_, g.height, c.range, l.range);
|
|
103
|
+
y.range = e.gridValues || [], b.range = e.labelValues || [];
|
|
104
|
+
}
|
|
105
|
+
let S = n(m, _, p);
|
|
106
|
+
if (!e(p, S)) {
|
|
107
|
+
this.setState({ dialog: {
|
|
108
|
+
isOpened: !0,
|
|
109
|
+
onClose: () => this.setState({ dialog: { isOpened: !1 } }, o({
|
|
110
|
+
...a,
|
|
111
|
+
domain: u,
|
|
112
|
+
range: d
|
|
113
|
+
})),
|
|
114
|
+
onConfirm: () => {
|
|
115
|
+
this.setState({
|
|
116
|
+
gridValues: y,
|
|
117
|
+
labelValues: b,
|
|
118
|
+
dialog: { isOpened: !1 },
|
|
119
|
+
domain: { ...m },
|
|
120
|
+
range: { ..._ }
|
|
121
|
+
}, o({
|
|
122
|
+
...f,
|
|
123
|
+
answers: S,
|
|
124
|
+
defaultGridConfiguration: x
|
|
125
|
+
}));
|
|
126
|
+
}
|
|
127
|
+
} });
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
this.setState({
|
|
131
|
+
gridValues: y,
|
|
132
|
+
labelValues: b,
|
|
133
|
+
domain: { ...m },
|
|
134
|
+
range: { ..._ }
|
|
135
|
+
}), o({
|
|
136
|
+
...f,
|
|
137
|
+
defaultGridConfiguration: x
|
|
138
|
+
});
|
|
139
|
+
};
|
|
140
|
+
onChangeView = (e, t) => {
|
|
141
|
+
let { graphDimensions: { enabled: n } = {} } = this.props;
|
|
142
|
+
n && this.setState({ showPixelGuides: t });
|
|
143
|
+
};
|
|
144
|
+
changeGridConfiguration = (e) => {
|
|
145
|
+
let { gridConfigurations: t } = this.props, { value: n } = e.target;
|
|
146
|
+
this.onConfigChange(t?.[n] || {}, n);
|
|
147
|
+
};
|
|
148
|
+
render() {
|
|
149
|
+
let { authoring: e = {}, availableTools: t = [], gridConfigurations: n = [], graphDimensions: r = {}, labelsPlaceholders: i, model: a, showLabels: o, dimensionsEnabled: s, showTitle: h, titlePlaceholder: w, mathMlOptions: T = {}, removeIncompleteTool: E } = this.props, { arrows: D, backgroundMarks: O, coordinatesOnHover: k, defaultGridConfiguration: A, domain: j, includeAxes: M, labels: N, range: P, standardGrid: F, title: I } = a || {}, L = (a || {}).graph || {}, { min: R, max: z, step: B } = r || {}, { dialog: V = {}, gridValues: H, labelValues: U, showPixelGuides: W } = this.state, G = {
|
|
150
|
+
min: Math.max(150, R),
|
|
151
|
+
max: Math.min(800, z),
|
|
152
|
+
step: B >= 1 ? Math.min(200, B) : 20
|
|
153
|
+
}, K = {
|
|
154
|
+
axisLabel: e.axisLabel,
|
|
155
|
+
dimensionsEnabled: s,
|
|
156
|
+
includeAxesEnabled: e.includeAxesEnabled,
|
|
157
|
+
labelStep: e.labelStep,
|
|
158
|
+
min: e.min,
|
|
159
|
+
max: e.max,
|
|
160
|
+
standardGridEnabled: e.standardGridEnabled,
|
|
161
|
+
step: e.step
|
|
162
|
+
}, q = e.enabled && Object.values(K).some((e) => typeof e == "object" ? e.enabled : e);
|
|
163
|
+
return /* @__PURE__ */ d(_, { children: [
|
|
164
|
+
/* @__PURE__ */ d(v, { children: [n && n.length ? /* @__PURE__ */ d(x, { children: [/* @__PURE__ */ u(S, {
|
|
165
|
+
component: "div",
|
|
166
|
+
variant: "h6",
|
|
167
|
+
children: "Grid Configuration"
|
|
168
|
+
}), /* @__PURE__ */ u(C, {
|
|
169
|
+
input: /* @__PURE__ */ u(m, {}),
|
|
170
|
+
displayEmpty: !0,
|
|
171
|
+
onChange: this.changeGridConfiguration,
|
|
172
|
+
value: A,
|
|
173
|
+
MenuProps: { transitionDuration: {
|
|
174
|
+
enter: 225,
|
|
175
|
+
exit: 195
|
|
176
|
+
} },
|
|
177
|
+
children: (n || []).map((e, t) => /* @__PURE__ */ u(p, {
|
|
178
|
+
value: t,
|
|
179
|
+
children: e.label
|
|
180
|
+
}, t))
|
|
181
|
+
})] }) : null, q && /* @__PURE__ */ u(l, {
|
|
182
|
+
displayedFields: K,
|
|
183
|
+
domain: j,
|
|
184
|
+
gridValues: H,
|
|
185
|
+
includeAxes: M,
|
|
186
|
+
labelValues: U,
|
|
187
|
+
range: P,
|
|
188
|
+
size: L,
|
|
189
|
+
sizeConstraints: G,
|
|
190
|
+
standardGrid: F,
|
|
191
|
+
onChange: this.onConfigChange,
|
|
192
|
+
onChangeView: this.onChangeView
|
|
193
|
+
})] }),
|
|
194
|
+
/* @__PURE__ */ d(y, { children: [
|
|
195
|
+
/* @__PURE__ */ u(g, {
|
|
196
|
+
component: "div",
|
|
197
|
+
variant: "h6",
|
|
198
|
+
children: "Define Graph Attributes"
|
|
199
|
+
}),
|
|
200
|
+
/* @__PURE__ */ u(b, {
|
|
201
|
+
component: "div",
|
|
202
|
+
variant: "body1",
|
|
203
|
+
children: "Use this interface to add/edit a title and/or labels, and to set background shapes"
|
|
204
|
+
}),
|
|
205
|
+
/* @__PURE__ */ u(c, {
|
|
206
|
+
axesSettings: { includeArrows: D },
|
|
207
|
+
backgroundMarks: [],
|
|
208
|
+
coordinatesOnHover: k,
|
|
209
|
+
collapsibleToolbar: !0,
|
|
210
|
+
collapsibleToolbarTitle: "Add Background Shapes to Graph",
|
|
211
|
+
domain: j,
|
|
212
|
+
labels: N,
|
|
213
|
+
labelsPlaceholders: i,
|
|
214
|
+
marks: O,
|
|
215
|
+
onChangeLabels: this.changeLabels,
|
|
216
|
+
onChangeMarks: this.changeBackgroundMarks,
|
|
217
|
+
onChangeTitle: this.changeTitle,
|
|
218
|
+
range: P,
|
|
219
|
+
showLabels: o,
|
|
220
|
+
showPixelGuides: W,
|
|
221
|
+
showTitle: h,
|
|
222
|
+
size: {
|
|
223
|
+
width: L.width,
|
|
224
|
+
height: L.height
|
|
225
|
+
},
|
|
226
|
+
title: I,
|
|
227
|
+
titlePlaceholder: w,
|
|
228
|
+
toolbarTools: t,
|
|
229
|
+
mathMlOptions: T,
|
|
230
|
+
removeIncompleteTool: E
|
|
231
|
+
}, "graphing-config")
|
|
232
|
+
] }, "graph"),
|
|
233
|
+
/* @__PURE__ */ u(f, {
|
|
234
|
+
open: V.isOpened,
|
|
235
|
+
title: "Warning",
|
|
236
|
+
text: "This change would make it impossible for students to plot one or more graph objects in the current correct answers. If you proceed, all such graph objects will be removed from the correct answers.",
|
|
237
|
+
onClose: V.onClose,
|
|
238
|
+
onConfirm: V.onConfirm
|
|
239
|
+
})
|
|
240
|
+
] });
|
|
241
|
+
}
|
|
242
|
+
};
|
|
243
|
+
//#endregion
|
|
244
|
+
export { w as default };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/graphing/configure/src/index.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
|
+
export default class GraphLinesConfigure extends HTMLElement {
|
|
10
|
+
static createDefaultModel: (model?: {}) => {
|
|
11
|
+
answers: any;
|
|
12
|
+
defaultTool: any;
|
|
13
|
+
range: {};
|
|
14
|
+
graph: {};
|
|
15
|
+
arrows: {
|
|
16
|
+
left: boolean;
|
|
17
|
+
right: boolean;
|
|
18
|
+
up: boolean;
|
|
19
|
+
down: boolean;
|
|
20
|
+
};
|
|
21
|
+
backgroundMarks: never[];
|
|
22
|
+
coordinatesOnHover: boolean;
|
|
23
|
+
defaultGridConfiguration: number;
|
|
24
|
+
domain: {
|
|
25
|
+
min: number;
|
|
26
|
+
max: number;
|
|
27
|
+
step: number;
|
|
28
|
+
labelStep: number;
|
|
29
|
+
axisLabel: string;
|
|
30
|
+
};
|
|
31
|
+
includeAxes: boolean;
|
|
32
|
+
labels: {};
|
|
33
|
+
labelsEnabled: boolean;
|
|
34
|
+
padding: boolean;
|
|
35
|
+
prompt: string;
|
|
36
|
+
promptEnabled: boolean;
|
|
37
|
+
rationale: string;
|
|
38
|
+
rationaleEnabled: boolean;
|
|
39
|
+
standardGrid: boolean;
|
|
40
|
+
studentInstructionsEnabled: boolean;
|
|
41
|
+
teacherInstructions: string;
|
|
42
|
+
teacherInstructionsEnabled: boolean;
|
|
43
|
+
title: string;
|
|
44
|
+
titleEnabled: boolean;
|
|
45
|
+
toolbarTools: string[];
|
|
46
|
+
};
|
|
47
|
+
constructor();
|
|
48
|
+
set model(m: any);
|
|
49
|
+
resetModelAfterConfigurationIsSet: any;
|
|
50
|
+
set configuration(c: any);
|
|
51
|
+
onModelChanged: any;
|
|
52
|
+
onConfigurationChanged: any;
|
|
53
|
+
insertImage: any;
|
|
54
|
+
onDeleteImage: any;
|
|
55
|
+
insertSound(handler: any): void;
|
|
56
|
+
onDeleteSound(src: any, done: any): void;
|
|
57
|
+
_render(): void;
|
|
58
|
+
disconnectedCallback(): void;
|
|
59
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js";
|
|
2
|
+
import t from "./configure.js";
|
|
3
|
+
import n from "./defaults.js";
|
|
4
|
+
import r from "react";
|
|
5
|
+
import { createRoot as i } from "react-dom/client";
|
|
6
|
+
import { renderMath as a } from "@pie-element/shared-math-rendering-mathjax";
|
|
7
|
+
import o from "debug";
|
|
8
|
+
import { DeleteImageEvent as s, DeleteSoundEvent as c, InsertImageEvent as l, InsertSoundEvent as u, ModelUpdatedEvent as d } from "@pie-element/shared-configure-events";
|
|
9
|
+
//#region src/author/index.ts
|
|
10
|
+
var f = o("pie-elements:graphing:configure"), p = (e) => Object.keys(e || {}).sort().reduce((t, n) => (n !== "correctAnswer" && (t[n] = e[n]), t), {}), m = class o extends HTMLElement {
|
|
11
|
+
static createDefaultModel = (e = {}) => {
|
|
12
|
+
let t = {
|
|
13
|
+
...n.model,
|
|
14
|
+
...e
|
|
15
|
+
}, { answers: r = {}, domain: i = {}, defaultTool: a, graph: o = {}, range: s = {}, standardGrid: c, toolbarTools: l } = t, u = (l || []).filter((e) => e !== "label"), d = a || u.length && u[0] || "";
|
|
16
|
+
return {
|
|
17
|
+
...t,
|
|
18
|
+
answers: r && r.correctAnswer && {
|
|
19
|
+
correctAnswer: r.correctAnswer,
|
|
20
|
+
...p(r)
|
|
21
|
+
} || r,
|
|
22
|
+
defaultTool: d,
|
|
23
|
+
range: c && {
|
|
24
|
+
...s,
|
|
25
|
+
min: i.min,
|
|
26
|
+
max: i.max,
|
|
27
|
+
step: i.step,
|
|
28
|
+
labelStep: i.labelStep
|
|
29
|
+
} || s,
|
|
30
|
+
graph: c && {
|
|
31
|
+
...o,
|
|
32
|
+
height: o.width
|
|
33
|
+
} || o
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
constructor() {
|
|
37
|
+
super(), this._root = null, this._model = o.createDefaultModel(), this._configuration = n.configuration;
|
|
38
|
+
}
|
|
39
|
+
set model(t) {
|
|
40
|
+
this._model = o.createDefaultModel(t), this._modelCopy = e(this._model), this._render();
|
|
41
|
+
}
|
|
42
|
+
resetModelAfterConfigurationIsSet = () => {
|
|
43
|
+
let e = document.querySelectorAll("pie-author");
|
|
44
|
+
this.hasPlayerAsParent = Array.from(e).some((e) => e.contains(this)), this.hasPlayerAsParent && (this._modelCopy ? this._model = this._modelCopy : delete this._modelCopy);
|
|
45
|
+
};
|
|
46
|
+
set configuration(e) {
|
|
47
|
+
this._configuration = {
|
|
48
|
+
...n.configuration,
|
|
49
|
+
...e
|
|
50
|
+
}, this.resetModelAfterConfigurationIsSet(), e.language?.enabled ? e.languageChoices?.options?.length && (this._model.language = e.languageChoices.options[0].value) : e.language.settings ? this._model.language && (this._configuration.language.enabled = !0) : delete this._model.language, this._render();
|
|
51
|
+
}
|
|
52
|
+
onModelChanged = (e) => {
|
|
53
|
+
this._model = e, this._render(), f("[onModelChanged]: ", this._model), this.dispatchEvent(new d(this._model));
|
|
54
|
+
};
|
|
55
|
+
onConfigurationChanged = (e) => {
|
|
56
|
+
this._configuration = e, this._render();
|
|
57
|
+
};
|
|
58
|
+
insertImage = (e) => {
|
|
59
|
+
this.dispatchEvent(new l(e));
|
|
60
|
+
};
|
|
61
|
+
onDeleteImage = (e, t) => {
|
|
62
|
+
this.dispatchEvent(new s(e, t));
|
|
63
|
+
};
|
|
64
|
+
insertSound(e) {
|
|
65
|
+
this.dispatchEvent(new u(e));
|
|
66
|
+
}
|
|
67
|
+
onDeleteSound(e, t) {
|
|
68
|
+
this.dispatchEvent(new c(e, t));
|
|
69
|
+
}
|
|
70
|
+
_render() {
|
|
71
|
+
if (this._model) {
|
|
72
|
+
let e = r.createElement(t, {
|
|
73
|
+
onModelChanged: this.onModelChanged,
|
|
74
|
+
onConfigurationChanged: this.onConfigurationChanged,
|
|
75
|
+
model: this._model,
|
|
76
|
+
configuration: this._configuration,
|
|
77
|
+
imageSupport: {
|
|
78
|
+
add: this.insertImage,
|
|
79
|
+
delete: this.onDeleteImage
|
|
80
|
+
},
|
|
81
|
+
uploadSoundSupport: {
|
|
82
|
+
add: this.insertSound.bind(this),
|
|
83
|
+
delete: this.onDeleteSound.bind(this)
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
this._root ||= i(this), this._root.render(e), queueMicrotask(() => {
|
|
87
|
+
a(this);
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
disconnectedCallback() {
|
|
92
|
+
this._root && this._root.unmount();
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
//#endregion
|
|
96
|
+
export { m as default };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/graphing/configure/src/utils.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
|
+
export declare const VALID_LABEL_VALUES: {
|
|
10
|
+
0.01: number[];
|
|
11
|
+
0.02: number[];
|
|
12
|
+
0.04: number[];
|
|
13
|
+
0.05: number[];
|
|
14
|
+
0.0625: number[];
|
|
15
|
+
0.1: number[];
|
|
16
|
+
0.125: number[];
|
|
17
|
+
0.2: number[];
|
|
18
|
+
0.25: number[];
|
|
19
|
+
0.5: number[];
|
|
20
|
+
1: number[];
|
|
21
|
+
2: number[];
|
|
22
|
+
3: number[];
|
|
23
|
+
4: number[];
|
|
24
|
+
5: number[];
|
|
25
|
+
8: number[];
|
|
26
|
+
10: number[];
|
|
27
|
+
12: number[];
|
|
28
|
+
15: number[];
|
|
29
|
+
20: number[];
|
|
30
|
+
40: number[];
|
|
31
|
+
50: number[];
|
|
32
|
+
64: number[];
|
|
33
|
+
100: number[];
|
|
34
|
+
500: number[];
|
|
35
|
+
1000: number[];
|
|
36
|
+
};
|
|
37
|
+
export declare const getGridValues: (axis: any, size: any, prefferedValues?: boolean) => number[];
|
|
38
|
+
export declare const getLabelValues: (value: any) => any;
|
|
39
|
+
export declare const applyConstraints: (axis: any, size: any, oldGridValues: any, oldLabelValues: any) => {
|
|
40
|
+
gridValues: number[];
|
|
41
|
+
labelValues: any;
|
|
42
|
+
};
|
|
43
|
+
export declare const filterPlotableMarks: (domain: any, range: any, answers: any) => {};
|