@pie-element/number-line 0.1.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/_virtual/_rolldown/runtime.js +11 -0
- package/dist/author/arrows.d.ts +29 -0
- package/dist/author/arrows.d.ts.map +1 -0
- package/dist/author/arrows.js +69 -0
- package/dist/author/card-bar.d.ts +21 -0
- package/dist/author/card-bar.d.ts.map +1 -0
- package/dist/author/card-bar.js +41 -0
- package/dist/author/defaults.d.ts +179 -0
- package/dist/author/defaults.d.ts.map +1 -0
- package/dist/author/defaults.js +144 -0
- package/dist/author/domain.d.ts +16 -0
- package/dist/author/domain.d.ts.map +1 -0
- package/dist/author/domain.js +53 -0
- package/dist/author/index.d.ts +24 -0
- package/dist/author/index.d.ts.map +1 -0
- package/dist/author/index.js +89 -0
- package/dist/author/main.d.ts +45 -0
- package/dist/author/main.d.ts.map +1 -0
- package/dist/author/main.js +482 -0
- package/dist/author/number-text-field.d.ts +14 -0
- package/dist/author/number-text-field.d.ts.map +1 -0
- package/dist/author/number-text-field.js +11 -0
- package/dist/author/point-config.d.ts +26 -0
- package/dist/author/point-config.d.ts.map +1 -0
- package/dist/author/point-config.js +69 -0
- package/dist/author/size.d.ts +25 -0
- package/dist/author/size.d.ts.map +1 -0
- package/dist/author/size.js +48 -0
- package/dist/author/ticks.d.ts +23 -0
- package/dist/author/ticks.d.ts.map +1 -0
- package/dist/author/ticks.js +115 -0
- package/dist/author/utils.d.ts +10 -0
- package/dist/author/utils.d.ts.map +1 -0
- package/dist/author/utils.js +4 -0
- package/dist/controller/defaults.d.ts +59 -0
- package/dist/controller/defaults.d.ts.map +1 -0
- package/dist/controller/defaults.js +50 -0
- package/dist/controller/index.d.ts +34 -0
- package/dist/controller/index.d.ts.map +1 -0
- package/dist/controller/index.js +170 -0
- package/dist/controller/tickUtils.d.ts +21 -0
- package/dist/controller/tickUtils.d.ts.map +1 -0
- package/dist/controller/tickUtils.js +254 -0
- package/dist/controller/utils.d.ts +10 -0
- package/dist/controller/utils.d.ts.map +1 -0
- package/dist/controller/utils.js +68 -0
- package/dist/delivery/data-converter.d.ts +65 -0
- package/dist/delivery/data-converter.d.ts.map +1 -0
- package/dist/delivery/data-converter.js +70 -0
- package/dist/delivery/draggable/index.d.ts +34 -0
- package/dist/delivery/draggable/index.d.ts.map +1 -0
- package/dist/delivery/draggable/index.js +39 -0
- package/dist/delivery/index.d.ts +36 -0
- package/dist/delivery/index.d.ts.map +1 -0
- package/dist/delivery/index.js +109 -0
- package/dist/delivery/number-line/colors.d.ts +12 -0
- package/dist/delivery/number-line/colors.d.ts.map +1 -0
- package/dist/delivery/number-line/colors.js +5 -0
- package/dist/delivery/number-line/feedback.d.ts +20 -0
- package/dist/delivery/number-line/feedback.d.ts.map +1 -0
- package/dist/delivery/number-line/feedback.js +57 -0
- package/dist/delivery/number-line/graph/arrow.d.ts +31 -0
- package/dist/delivery/number-line/graph/arrow.d.ts.map +1 -0
- package/dist/delivery/number-line/graph/arrow.js +27 -0
- package/dist/delivery/number-line/graph/elements/base.d.ts +17 -0
- package/dist/delivery/number-line/graph/elements/base.d.ts.map +1 -0
- package/dist/delivery/number-line/graph/elements/base.js +11 -0
- package/dist/delivery/number-line/graph/elements/builder.d.ts +34 -0
- package/dist/delivery/number-line/graph/elements/builder.d.ts.map +1 -0
- package/dist/delivery/number-line/graph/elements/builder.js +30 -0
- package/dist/delivery/number-line/graph/elements/line.d.ts +52 -0
- package/dist/delivery/number-line/graph/elements/line.d.ts.map +1 -0
- package/dist/delivery/number-line/graph/elements/line.js +189 -0
- package/dist/delivery/number-line/graph/elements/point.d.ts +44 -0
- package/dist/delivery/number-line/graph/elements/point.d.ts.map +1 -0
- package/dist/delivery/number-line/graph/elements/point.js +127 -0
- package/dist/delivery/number-line/graph/elements/ray.d.ts +44 -0
- package/dist/delivery/number-line/graph/elements/ray.d.ts.map +1 -0
- package/dist/delivery/number-line/graph/elements/ray.js +130 -0
- package/dist/delivery/number-line/graph/index.d.ts +60 -0
- package/dist/delivery/number-line/graph/index.d.ts.map +1 -0
- package/dist/delivery/number-line/graph/index.js +196 -0
- package/dist/delivery/number-line/graph/line.d.ts +47 -0
- package/dist/delivery/number-line/graph/line.d.ts.map +1 -0
- package/dist/delivery/number-line/graph/line.js +27 -0
- package/dist/delivery/number-line/graph/stacks.d.ts +11 -0
- package/dist/delivery/number-line/graph/stacks.d.ts.map +1 -0
- package/dist/delivery/number-line/graph/stacks.js +40 -0
- package/dist/delivery/number-line/graph/tick-utils.d.ts +74 -0
- package/dist/delivery/number-line/graph/tick-utils.d.ts.map +1 -0
- package/dist/delivery/number-line/graph/tick-utils.js +297 -0
- package/dist/delivery/number-line/graph/ticks.d.ts +47 -0
- package/dist/delivery/number-line/graph/ticks.d.ts.map +1 -0
- package/dist/delivery/number-line/graph/ticks.js +115 -0
- package/dist/delivery/number-line/index.d.ts +36 -0
- package/dist/delivery/number-line/index.d.ts.map +1 -0
- package/dist/delivery/number-line/index.js +218 -0
- package/dist/delivery/number-line/point-chooser/button.d.ts +32 -0
- package/dist/delivery/number-line/point-chooser/button.d.ts.map +1 -0
- package/dist/delivery/number-line/point-chooser/button.js +36 -0
- package/dist/delivery/number-line/point-chooser/img.d.ts +11 -0
- package/dist/delivery/number-line/point-chooser/img.d.ts.map +1 -0
- package/dist/delivery/number-line/point-chooser/img.js +4 -0
- package/dist/delivery/number-line/point-chooser/index.d.ts +38 -0
- package/dist/delivery/number-line/point-chooser/index.d.ts.map +1 -0
- package/dist/delivery/number-line/point-chooser/index.js +154 -0
- package/dist/delivery/number-line/point-chooser/styles.d.ts +193 -0
- package/dist/delivery/number-line/point-chooser/styles.d.ts.map +1 -0
- package/dist/delivery/number-line/transitions/fade.d.ts +35 -0
- package/dist/delivery/number-line/transitions/fade.d.ts.map +1 -0
- package/dist/delivery/number-line/transitions/fade.js +75 -0
- package/dist/delivery/number-line/transitions/index.d.ts +11 -0
- package/dist/delivery/number-line/transitions/index.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.iife.d.ts +9 -0
- package/dist/index.iife.d.ts.map +1 -0
- package/dist/index.iife.js +201 -0
- package/dist/index.js +2 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_DataView.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Hash.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_ListCache.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Map.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_MapCache.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Promise.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Set.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_SetCache.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Stack.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Symbol.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Uint8Array.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_WeakMap.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_apply.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayEach.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayFilter.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayIncludes.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayIncludesWith.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayMap.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayPush.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arraySome.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_assignMergeValue.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_assignValue.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_assocIndexOf.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseAssign.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseAssignIn.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseAssignValue.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseClone.js +57 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseCreate.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseFindIndex.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseFor.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseGet.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseGetTag.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseHasIn.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIndexOf.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsArguments.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsEqual.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsEqualDeep.js +30 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsMap.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsMatch.js +26 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsNaN.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsNative.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsSet.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIteratee.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseKeys.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseKeysIn.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseMatches.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseMatchesProperty.js +17 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseMerge.js +19 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseMergeDeep.js +31 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_basePickBy.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseProperty.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_basePropertyDeep.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseRest.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseSet.js +22 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseSetToString.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseTimes.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseToString.js +15 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseTrim.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseUnary.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseUniq.js +27 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cacheHas.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_castPath.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneBuffer.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneDataView.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneRegExp.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneSymbol.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneTypedArray.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copyArray.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copyObject.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copySymbols.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copySymbolsIn.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_coreJsData.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_createAssigner.js +15 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_createBaseFor.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_createFind.js +19 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_createSet.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_defineProperty.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_equalArrays.js +35 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_equalByTag.js +35 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_equalObjects.js +32 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_freeGlobal.js +4 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getAllKeys.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getAllKeysIn.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getMapData.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getMatchData.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getNative.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getPrototype.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getRawTag.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getSymbols.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getSymbolsIn.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getTag.js +23 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getValue.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hasPath.js +18 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashClear.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashDelete.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashGet.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashHas.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashSet.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_initCloneArray.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_initCloneByTag.js +33 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_initCloneObject.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isIndex.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isIterateeCall.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isKey.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isKeyable.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isMasked.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isPrototype.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isStrictComparable.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheClear.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheDelete.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheGet.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheHas.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheSet.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheClear.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheDelete.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheGet.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheHas.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheSet.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapToArray.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_matchesStrictComparable.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_memoizeCapped.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nativeCreate.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nativeKeys.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nativeKeysIn.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nodeUtil.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_objectToString.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_overArg.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_overRest.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_root.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_safeGet.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setCacheAdd.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setCacheHas.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setToArray.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setToString.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_shortOut.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackClear.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackDelete.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackGet.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackHas.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackSet.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_strictIndexOf.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stringToPath.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_toKey.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_toSource.js +15 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_trimmedEndIndex.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/cloneDeep.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/constant.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/eq.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/find.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/findIndex.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/get.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/hasIn.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/identity.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArguments.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArray.js +4 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArrayLike.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArrayLikeObject.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isBuffer.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isEmpty.js +21 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isEqual.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isEqualWith.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isFunction.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isLength.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isMap.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isNumber.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isObject.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isObjectLike.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isPlainObject.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isSet.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isSymbol.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isTypedArray.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/keys.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/keysIn.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/memoize.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/merge.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/negate.js +17 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/noop.js +4 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/omitBy.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/pickBy.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/property.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/stubArray.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/stubFalse.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/toFinite.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/toInteger.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/toNumber.js +19 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/toPlainObject.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/toString.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/uniqWith.js +7 -0
- package/package.json +77 -0
- package/src/author/arrows.tsx +87 -0
- package/src/author/card-bar.tsx +70 -0
- package/src/author/defaults.ts +127 -0
- package/src/author/domain.tsx +79 -0
- package/src/author/index.ts +199 -0
- package/src/author/main.tsx +777 -0
- package/src/author/number-text-field.tsx +28 -0
- package/src/author/point-config.tsx +93 -0
- package/src/author/size.tsx +74 -0
- package/src/author/ticks.tsx +272 -0
- package/src/author/utils.ts +16 -0
- package/src/controller/defaults.ts +40 -0
- package/src/controller/index.ts +437 -0
- package/src/controller/tickUtils.ts +324 -0
- package/src/controller/utils.ts +159 -0
- package/src/delivery/data-converter.ts +88 -0
- package/src/delivery/draggable/index.ts +116 -0
- package/src/delivery/index.ts +225 -0
- package/src/delivery/number-line/colors.ts +15 -0
- package/src/delivery/number-line/feedback.tsx +85 -0
- package/src/delivery/number-line/graph/arrow.tsx +43 -0
- package/src/delivery/number-line/graph/elements/base.ts +20 -0
- package/src/delivery/number-line/graph/elements/builder.ts +37 -0
- package/src/delivery/number-line/graph/elements/line.tsx +259 -0
- package/src/delivery/number-line/graph/elements/point.tsx +219 -0
- package/src/delivery/number-line/graph/elements/ray.tsx +168 -0
- package/src/delivery/number-line/graph/index.tsx +258 -0
- package/src/delivery/number-line/graph/line.tsx +33 -0
- package/src/delivery/number-line/graph/stacks.ts +82 -0
- package/src/delivery/number-line/graph/tick-utils.ts +369 -0
- package/src/delivery/number-line/graph/ticks.tsx +189 -0
- package/src/delivery/number-line/index.tsx +385 -0
- package/src/delivery/number-line/point-chooser/button.tsx +54 -0
- package/src/delivery/number-line/point-chooser/img.ts +11 -0
- package/src/delivery/number-line/point-chooser/index.tsx +200 -0
- package/src/delivery/number-line/point-chooser/styles.ts +86 -0
- package/src/delivery/number-line/transitions/fade.tsx +100 -0
- package/src/delivery/number-line/transitions/index.ts +12 -0
- package/src/index.iife.ts +16 -0
- package/src/index.ts +1 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var e = Object.defineProperty, t = (t, n) => {
|
|
3
|
+
let r = {};
|
|
4
|
+
for (var i in t) e(r, i, {
|
|
5
|
+
get: t[i],
|
|
6
|
+
enumerable: !0
|
|
7
|
+
});
|
|
8
|
+
return n || e(r, Symbol.toStringTag, { value: "Module" }), r;
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { t as __exportAll };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/number-line/configure/src/arrows.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 React from 'react';
|
|
10
|
+
import PropTypes from 'prop-types';
|
|
11
|
+
export declare class Arrows extends React.Component {
|
|
12
|
+
static propTypes: {
|
|
13
|
+
arrows: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
14
|
+
left: PropTypes.Requireable<boolean>;
|
|
15
|
+
right: PropTypes.Requireable<boolean>;
|
|
16
|
+
}>>>;
|
|
17
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
18
|
+
};
|
|
19
|
+
static defaultProps: {
|
|
20
|
+
arrows: {
|
|
21
|
+
left: boolean;
|
|
22
|
+
right: boolean;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
constructor(props: any);
|
|
26
|
+
render(): React.JSX.Element;
|
|
27
|
+
}
|
|
28
|
+
export default Arrows;
|
|
29
|
+
//# sourceMappingURL=arrows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrows.d.ts","sourceRoot":"","sources":["../../src/author/arrows.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AAqCnC,qBAAa,MAAO,SAAQ,KAAK,CAAC,SAAS;IACzC,MAAM,CAAC,SAAS;;;;;;MAGd;IACF,MAAM,CAAC,YAAY;;;;;MAEjB;gBAEU,KAAK,KAAA;IAWjB,MAAM;CAgBP;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { styled as t } from "@mui/material/styles";
|
|
3
|
+
import n from "prop-types";
|
|
4
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
|
+
import { InputCheckbox as a } from "@pie-lib/config-ui";
|
|
6
|
+
//#region src/author/arrows.tsx
|
|
7
|
+
var o = t("div")({
|
|
8
|
+
display: "flex",
|
|
9
|
+
alignItems: "center",
|
|
10
|
+
gap: "10px"
|
|
11
|
+
}), s = t("div")(({ theme: e }) => ({
|
|
12
|
+
paddingTop: e.spacing(2),
|
|
13
|
+
display: "flex",
|
|
14
|
+
gap: e.spacing(2),
|
|
15
|
+
alignItems: "center",
|
|
16
|
+
"& > *": { flexShrink: 0 },
|
|
17
|
+
"& label": {
|
|
18
|
+
whiteSpace: "nowrap",
|
|
19
|
+
overflow: "visible",
|
|
20
|
+
textOverflow: "clip"
|
|
21
|
+
},
|
|
22
|
+
"& .MuiFormControlLabel-root": {
|
|
23
|
+
margin: 0,
|
|
24
|
+
marginRight: 0
|
|
25
|
+
},
|
|
26
|
+
"& .MuiFormControlLabel-label": {
|
|
27
|
+
whiteSpace: "nowrap",
|
|
28
|
+
overflow: "visible",
|
|
29
|
+
textOverflow: "clip",
|
|
30
|
+
maxWidth: "none",
|
|
31
|
+
width: "auto",
|
|
32
|
+
flexShrink: 0
|
|
33
|
+
}
|
|
34
|
+
})), c = class extends e.Component {
|
|
35
|
+
static propTypes = {
|
|
36
|
+
arrows: n.shape({
|
|
37
|
+
left: n.bool,
|
|
38
|
+
right: n.bool
|
|
39
|
+
}).isRequired,
|
|
40
|
+
onChange: n.func
|
|
41
|
+
};
|
|
42
|
+
static defaultProps = { arrows: {
|
|
43
|
+
left: !0,
|
|
44
|
+
right: !0
|
|
45
|
+
} };
|
|
46
|
+
constructor(e) {
|
|
47
|
+
super(e), this.change = (e, t, n) => {
|
|
48
|
+
let r = {
|
|
49
|
+
...this.props.arrows,
|
|
50
|
+
[e]: n
|
|
51
|
+
};
|
|
52
|
+
this.props.onChange(r);
|
|
53
|
+
}, this.changeLeft = this.change.bind(this, "left"), this.changeRight = this.change.bind(this, "right");
|
|
54
|
+
}
|
|
55
|
+
render() {
|
|
56
|
+
let { arrows: e } = this.props;
|
|
57
|
+
return /* @__PURE__ */ i(o, { children: [/* @__PURE__ */ r("label", { children: "Arrows" }), /* @__PURE__ */ i(s, { children: [/* @__PURE__ */ r(a, {
|
|
58
|
+
label: "Left",
|
|
59
|
+
checked: e.left,
|
|
60
|
+
onChange: this.changeLeft
|
|
61
|
+
}), /* @__PURE__ */ r(a, {
|
|
62
|
+
label: "Right",
|
|
63
|
+
checked: e.right,
|
|
64
|
+
onChange: this.changeRight
|
|
65
|
+
})] })] });
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
//#endregion
|
|
69
|
+
export { c as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/number-line/configure/src/card-bar.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 PropTypes from 'prop-types';
|
|
10
|
+
import React from 'react';
|
|
11
|
+
declare const CardBar: {
|
|
12
|
+
(props: any): React.JSX.Element;
|
|
13
|
+
propTypes: {
|
|
14
|
+
mini: PropTypes.Requireable<boolean>;
|
|
15
|
+
header: PropTypes.Requireable<string>;
|
|
16
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
17
|
+
info: PropTypes.Requireable<any>;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default CardBar;
|
|
21
|
+
//# sourceMappingURL=card-bar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card-bar.d.ts","sourceRoot":"","sources":["../../src/author/card-bar.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAMH,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,QAAA,MAAM,OAAO;;;;;;;;CA2BZ,CAAC;AASF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
import { styled as e } from "@mui/material/styles";
|
|
3
|
+
import t from "prop-types";
|
|
4
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
|
+
import i from "@mui/material/Tooltip";
|
|
6
|
+
import a from "@mui/icons-material/HelpOutline";
|
|
7
|
+
import o from "@mui/material/IconButton";
|
|
8
|
+
import s from "@mui/material/Typography";
|
|
9
|
+
//#region src/author/card-bar.tsx
|
|
10
|
+
var c = e("div")({
|
|
11
|
+
display: "flex",
|
|
12
|
+
justifyContent: "space-between"
|
|
13
|
+
}), l = e("div")({
|
|
14
|
+
display: "flex",
|
|
15
|
+
alignItems: "center"
|
|
16
|
+
}), u = e(o)({
|
|
17
|
+
margin: 0,
|
|
18
|
+
padding: 0
|
|
19
|
+
}), d = (e) => {
|
|
20
|
+
let { header: t, children: o, mini: d, info: f } = e;
|
|
21
|
+
return /* @__PURE__ */ r(c, { children: [/* @__PURE__ */ r(l, { children: [/* @__PURE__ */ n(s, {
|
|
22
|
+
variant: d ? "subheading" : "h5",
|
|
23
|
+
children: t
|
|
24
|
+
}), f] }), o && /* @__PURE__ */ n(i, {
|
|
25
|
+
title: o,
|
|
26
|
+
slotProps: { tooltip: { sx: (e) => ({ fontSize: e.typography.fontSize - 2 }) } },
|
|
27
|
+
children: /* @__PURE__ */ n(u, {
|
|
28
|
+
"aria-label": "Delete",
|
|
29
|
+
size: "large",
|
|
30
|
+
children: /* @__PURE__ */ n(a, {})
|
|
31
|
+
})
|
|
32
|
+
})] });
|
|
33
|
+
};
|
|
34
|
+
d.propTypes = {
|
|
35
|
+
mini: t.bool,
|
|
36
|
+
header: t.string,
|
|
37
|
+
children: t.node,
|
|
38
|
+
info: t.any
|
|
39
|
+
};
|
|
40
|
+
//#endregion
|
|
41
|
+
export { d as default };
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/number-line/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
|
+
export declare const model: {
|
|
10
|
+
correctResponse: never[];
|
|
11
|
+
feedback: {
|
|
12
|
+
correct: {
|
|
13
|
+
default: string;
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
incorrect: {
|
|
17
|
+
default: string;
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
partial: {
|
|
21
|
+
default: string;
|
|
22
|
+
type: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
graph: {
|
|
26
|
+
arrows: {
|
|
27
|
+
left: boolean;
|
|
28
|
+
right: boolean;
|
|
29
|
+
};
|
|
30
|
+
availableTypes: {
|
|
31
|
+
PF: boolean;
|
|
32
|
+
};
|
|
33
|
+
domain: {
|
|
34
|
+
min: number;
|
|
35
|
+
max: number;
|
|
36
|
+
};
|
|
37
|
+
exhibitOnly: boolean;
|
|
38
|
+
initialElements: never[];
|
|
39
|
+
initialType: string;
|
|
40
|
+
maxNumberOfPoints: number;
|
|
41
|
+
ticks: {
|
|
42
|
+
minor: number;
|
|
43
|
+
major: number;
|
|
44
|
+
tickIntervalType: string;
|
|
45
|
+
};
|
|
46
|
+
title: string;
|
|
47
|
+
width: number;
|
|
48
|
+
};
|
|
49
|
+
prompt: string;
|
|
50
|
+
promptEnabled: boolean;
|
|
51
|
+
rationale: string;
|
|
52
|
+
rationaleEnabled: boolean;
|
|
53
|
+
teacherInstructions: string;
|
|
54
|
+
teacherInstructionsEnabled: boolean;
|
|
55
|
+
toolbarEditorPosition: string;
|
|
56
|
+
widthEnabled: boolean;
|
|
57
|
+
};
|
|
58
|
+
export declare const configuration: {
|
|
59
|
+
baseInputConfiguration: {
|
|
60
|
+
h3: {
|
|
61
|
+
disabled: boolean;
|
|
62
|
+
};
|
|
63
|
+
audio: {
|
|
64
|
+
disabled: boolean;
|
|
65
|
+
};
|
|
66
|
+
video: {
|
|
67
|
+
disabled: boolean;
|
|
68
|
+
};
|
|
69
|
+
image: {
|
|
70
|
+
disabled: boolean;
|
|
71
|
+
};
|
|
72
|
+
textAlign: {
|
|
73
|
+
disabled: boolean;
|
|
74
|
+
};
|
|
75
|
+
showParagraphs: {
|
|
76
|
+
disabled: boolean;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
instruction: {
|
|
80
|
+
settings: boolean;
|
|
81
|
+
enabled: boolean;
|
|
82
|
+
label: string;
|
|
83
|
+
};
|
|
84
|
+
prompt: {
|
|
85
|
+
settings: boolean;
|
|
86
|
+
label: string;
|
|
87
|
+
required: boolean;
|
|
88
|
+
inputConfiguration: {
|
|
89
|
+
audio: {
|
|
90
|
+
disabled: boolean;
|
|
91
|
+
};
|
|
92
|
+
video: {
|
|
93
|
+
disabled: boolean;
|
|
94
|
+
};
|
|
95
|
+
image: {
|
|
96
|
+
disabled: boolean;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
rationale: {
|
|
101
|
+
settings: boolean;
|
|
102
|
+
label: string;
|
|
103
|
+
required: boolean;
|
|
104
|
+
inputConfiguration: {
|
|
105
|
+
audio: {
|
|
106
|
+
disabled: boolean;
|
|
107
|
+
};
|
|
108
|
+
video: {
|
|
109
|
+
disabled: boolean;
|
|
110
|
+
};
|
|
111
|
+
image: {
|
|
112
|
+
disabled: boolean;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
teacherInstructions: {
|
|
117
|
+
settings: boolean;
|
|
118
|
+
label: string;
|
|
119
|
+
required: boolean;
|
|
120
|
+
inputConfiguration: {
|
|
121
|
+
audio: {
|
|
122
|
+
disabled: boolean;
|
|
123
|
+
};
|
|
124
|
+
video: {
|
|
125
|
+
disabled: boolean;
|
|
126
|
+
};
|
|
127
|
+
image: {
|
|
128
|
+
disabled: boolean;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
title: {
|
|
133
|
+
label: string;
|
|
134
|
+
settings: boolean;
|
|
135
|
+
enabled: boolean;
|
|
136
|
+
inputConfiguration: {
|
|
137
|
+
audio: {
|
|
138
|
+
disabled: boolean;
|
|
139
|
+
};
|
|
140
|
+
video: {
|
|
141
|
+
disabled: boolean;
|
|
142
|
+
};
|
|
143
|
+
image: {
|
|
144
|
+
disabled: boolean;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
numberLineDimensions: {
|
|
149
|
+
settings: boolean;
|
|
150
|
+
label: string;
|
|
151
|
+
enabled: boolean;
|
|
152
|
+
min: number;
|
|
153
|
+
max: number;
|
|
154
|
+
step: number;
|
|
155
|
+
};
|
|
156
|
+
mathMlOptions: {
|
|
157
|
+
mmlOutput: boolean;
|
|
158
|
+
mmlEditing: boolean;
|
|
159
|
+
};
|
|
160
|
+
language: {
|
|
161
|
+
settings: boolean;
|
|
162
|
+
label: string;
|
|
163
|
+
enabled: boolean;
|
|
164
|
+
};
|
|
165
|
+
languageChoices: {
|
|
166
|
+
label: string;
|
|
167
|
+
options: never[];
|
|
168
|
+
};
|
|
169
|
+
spellCheck: {
|
|
170
|
+
label: string;
|
|
171
|
+
settings: boolean;
|
|
172
|
+
enabled: boolean;
|
|
173
|
+
};
|
|
174
|
+
maxMaxElements: number;
|
|
175
|
+
hidePointConfigButtons: boolean;
|
|
176
|
+
availableTools: string[];
|
|
177
|
+
settingsPanelDisabled: boolean;
|
|
178
|
+
};
|
|
179
|
+
//# sourceMappingURL=defaults.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/author/defaults.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BjB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFzB,CAAC"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
//#region src/author/defaults.ts
|
|
2
|
+
var e = {
|
|
3
|
+
correctResponse: [],
|
|
4
|
+
feedback: {
|
|
5
|
+
correct: {
|
|
6
|
+
default: "Correct",
|
|
7
|
+
type: "none"
|
|
8
|
+
},
|
|
9
|
+
incorrect: {
|
|
10
|
+
default: "Incorrect",
|
|
11
|
+
type: "none"
|
|
12
|
+
},
|
|
13
|
+
partial: {
|
|
14
|
+
default: "Nearly",
|
|
15
|
+
type: "none"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
graph: {
|
|
19
|
+
arrows: {
|
|
20
|
+
left: !0,
|
|
21
|
+
right: !0
|
|
22
|
+
},
|
|
23
|
+
availableTypes: { PF: !0 },
|
|
24
|
+
domain: {
|
|
25
|
+
min: -1,
|
|
26
|
+
max: 1
|
|
27
|
+
},
|
|
28
|
+
exhibitOnly: !1,
|
|
29
|
+
initialElements: [],
|
|
30
|
+
initialType: "PF",
|
|
31
|
+
maxNumberOfPoints: 1,
|
|
32
|
+
ticks: {
|
|
33
|
+
minor: .125,
|
|
34
|
+
major: .5,
|
|
35
|
+
tickIntervalType: "Decimal"
|
|
36
|
+
},
|
|
37
|
+
title: "",
|
|
38
|
+
width: 500
|
|
39
|
+
},
|
|
40
|
+
prompt: "",
|
|
41
|
+
promptEnabled: !0,
|
|
42
|
+
rationale: "",
|
|
43
|
+
rationaleEnabled: !0,
|
|
44
|
+
teacherInstructions: "",
|
|
45
|
+
teacherInstructionsEnabled: !0,
|
|
46
|
+
toolbarEditorPosition: "bottom",
|
|
47
|
+
widthEnabled: !0
|
|
48
|
+
}, t = {
|
|
49
|
+
baseInputConfiguration: {
|
|
50
|
+
h3: { disabled: !0 },
|
|
51
|
+
audio: { disabled: !1 },
|
|
52
|
+
video: { disabled: !1 },
|
|
53
|
+
image: { disabled: !1 },
|
|
54
|
+
textAlign: { disabled: !0 },
|
|
55
|
+
showParagraphs: { disabled: !1 }
|
|
56
|
+
},
|
|
57
|
+
instruction: {
|
|
58
|
+
settings: !1,
|
|
59
|
+
enabled: !0,
|
|
60
|
+
label: "Number line questions involve plotting points or other objects. To create one, first set up the number line, then select the plotting tools students will be offered and use them to define the correct answer."
|
|
61
|
+
},
|
|
62
|
+
prompt: {
|
|
63
|
+
settings: !0,
|
|
64
|
+
label: "Item Stem",
|
|
65
|
+
required: !1,
|
|
66
|
+
inputConfiguration: {
|
|
67
|
+
audio: { disabled: !1 },
|
|
68
|
+
video: { disabled: !1 },
|
|
69
|
+
image: { disabled: !1 }
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
rationale: {
|
|
73
|
+
settings: !0,
|
|
74
|
+
label: "Rationale",
|
|
75
|
+
required: !1,
|
|
76
|
+
inputConfiguration: {
|
|
77
|
+
audio: { disabled: !1 },
|
|
78
|
+
video: { disabled: !1 },
|
|
79
|
+
image: { disabled: !1 }
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
teacherInstructions: {
|
|
83
|
+
settings: !0,
|
|
84
|
+
label: "Teacher Instructions",
|
|
85
|
+
required: !1,
|
|
86
|
+
inputConfiguration: {
|
|
87
|
+
audio: { disabled: !1 },
|
|
88
|
+
video: { disabled: !1 },
|
|
89
|
+
image: { disabled: !1 }
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
title: {
|
|
93
|
+
label: "Title",
|
|
94
|
+
settings: !0,
|
|
95
|
+
enabled: !0,
|
|
96
|
+
inputConfiguration: {
|
|
97
|
+
audio: { disabled: !1 },
|
|
98
|
+
video: { disabled: !1 },
|
|
99
|
+
image: { disabled: !1 }
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
numberLineDimensions: {
|
|
103
|
+
settings: !0,
|
|
104
|
+
label: "Width",
|
|
105
|
+
enabled: !0,
|
|
106
|
+
min: 200,
|
|
107
|
+
max: 800,
|
|
108
|
+
step: 20
|
|
109
|
+
},
|
|
110
|
+
mathMlOptions: {
|
|
111
|
+
mmlOutput: !1,
|
|
112
|
+
mmlEditing: !1
|
|
113
|
+
},
|
|
114
|
+
language: {
|
|
115
|
+
settings: !1,
|
|
116
|
+
label: "Specify Language",
|
|
117
|
+
enabled: !1
|
|
118
|
+
},
|
|
119
|
+
languageChoices: {
|
|
120
|
+
label: "Language Choices",
|
|
121
|
+
options: []
|
|
122
|
+
},
|
|
123
|
+
spellCheck: {
|
|
124
|
+
label: "Spellcheck",
|
|
125
|
+
settings: !1,
|
|
126
|
+
enabled: !0
|
|
127
|
+
},
|
|
128
|
+
maxMaxElements: 20,
|
|
129
|
+
hidePointConfigButtons: !1,
|
|
130
|
+
availableTools: [
|
|
131
|
+
"PF",
|
|
132
|
+
"LFF",
|
|
133
|
+
"LEF",
|
|
134
|
+
"LFE",
|
|
135
|
+
"LEE",
|
|
136
|
+
"RFN",
|
|
137
|
+
"RFP",
|
|
138
|
+
"REN",
|
|
139
|
+
"REP"
|
|
140
|
+
],
|
|
141
|
+
settingsPanelDisabled: !1
|
|
142
|
+
};
|
|
143
|
+
//#endregion
|
|
144
|
+
export { t as configuration, e as model };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/number-line/configure/src/domain.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 React from 'react';
|
|
10
|
+
export declare class Domain extends React.Component {
|
|
11
|
+
constructor(props: any);
|
|
12
|
+
change(key: any, event: any, value: any): void;
|
|
13
|
+
render(): React.JSX.Element;
|
|
14
|
+
}
|
|
15
|
+
export default Domain;
|
|
16
|
+
//# sourceMappingURL=domain.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domain.d.ts","sourceRoot":"","sources":["../../src/author/domain.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAIH,OAAO,KAAK,MAAM,OAAO,CAAC;AAwB1B,qBAAa,MAAO,SAAQ,KAAK,CAAC,SAAS;gBAC7B,KAAK,KAAA;IAOjB,MAAM,CAAC,GAAG,KAAA,EAAE,KAAK,KAAA,EAAE,KAAK,KAAA;IAYxB,MAAM;CAgBP;AAMD,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { MiniField as e } from "./number-text-field.js";
|
|
2
|
+
import t from "react";
|
|
3
|
+
import { styled as n } from "@mui/material/styles";
|
|
4
|
+
import r from "prop-types";
|
|
5
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
|
+
//#region src/author/domain.tsx
|
|
7
|
+
var o = "domainBegin", s = "domainEnd", c = n("div")({
|
|
8
|
+
display: "flex",
|
|
9
|
+
gap: "20px"
|
|
10
|
+
}), l = n("div")({
|
|
11
|
+
display: "flex",
|
|
12
|
+
alignItems: "center",
|
|
13
|
+
gap: "10px"
|
|
14
|
+
}), u = (e) => e.min <= e.max ? e : {
|
|
15
|
+
min: e.max,
|
|
16
|
+
max: e.min
|
|
17
|
+
}, d = class extends t.Component {
|
|
18
|
+
constructor(e) {
|
|
19
|
+
super(e), this.changeMin = this.change.bind(this, "min"), this.changeMax = this.change.bind(this, "max");
|
|
20
|
+
}
|
|
21
|
+
change(e, t, n) {
|
|
22
|
+
let { onChange: r } = this.props, i;
|
|
23
|
+
i = e === "min" && n === this.props.domain.max || e === "max" && n === this.props.domain.min ? { ...this.props.domain } : {
|
|
24
|
+
...this.props.domain,
|
|
25
|
+
[e]: n
|
|
26
|
+
}, r(u(i));
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
let { domain: t } = this.props;
|
|
30
|
+
return /* @__PURE__ */ a(c, { children: [/* @__PURE__ */ a(l, { children: [/* @__PURE__ */ i("label", { children: "Min Value" }), /* @__PURE__ */ i(e, {
|
|
31
|
+
min: -1e5,
|
|
32
|
+
max: 99999,
|
|
33
|
+
value: t.min,
|
|
34
|
+
name: o,
|
|
35
|
+
onChange: this.changeMin
|
|
36
|
+
})] }), /* @__PURE__ */ a(l, { children: [/* @__PURE__ */ i("label", { children: "Max Value" }), /* @__PURE__ */ i(e, {
|
|
37
|
+
min: -99999,
|
|
38
|
+
max: 1e5,
|
|
39
|
+
value: t.max,
|
|
40
|
+
name: s,
|
|
41
|
+
onChange: this.changeMax
|
|
42
|
+
})] })] });
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
d.propTypes = {
|
|
46
|
+
domain: r.shape({
|
|
47
|
+
min: r.number,
|
|
48
|
+
max: r.number
|
|
49
|
+
}),
|
|
50
|
+
onChange: r.func.isRequired
|
|
51
|
+
};
|
|
52
|
+
//#endregion
|
|
53
|
+
export { d as default };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/number-line/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 NumberLine extends HTMLElement {
|
|
10
|
+
static createDefaultModel: (model?: {}) => any;
|
|
11
|
+
constructor();
|
|
12
|
+
set model(m: any);
|
|
13
|
+
resetModelAfterConfigurationIsSet: any;
|
|
14
|
+
set configuration(c: any);
|
|
15
|
+
onChange: any;
|
|
16
|
+
onConfigurationChanged: any;
|
|
17
|
+
insertImage(handler: any): void;
|
|
18
|
+
onDeleteImage(src: any, done: any): void;
|
|
19
|
+
insertSound(handler: any): void;
|
|
20
|
+
onDeleteSound(src: any, done: any): void;
|
|
21
|
+
_rerender(): void;
|
|
22
|
+
disconnectedCallback(): void;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/author/index.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AA0CH,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,WAAW;IACjD,MAAM,CAAC,kBAAkB,GAAI,UAAU,SAiBrC;;IASF,IAAI,KAAK,CAAC,CAAC,KAAA,EAKV;IAED,iCAAiC,EAAE,GAAG,CAgBpC;IAEF,IAAI,aAAa,CAAC,CAAC,KAAA,EAsClB;IAED,QAAQ,EAAE,GAAG,CAMX;IAEF,sBAAsB,EAAE,GAAG,CAGzB;IAEF,WAAW,CAAC,OAAO,KAAA;IAInB,aAAa,CAAC,GAAG,KAAA,EAAE,IAAI,KAAA;IAIvB,WAAW,CAAC,OAAO,KAAA;IAInB,aAAa,CAAC,GAAG,KAAA,EAAE,IAAI,KAAA;IAIvB,SAAS;IAsBT,oBAAoB;CAKrB"}
|