@pie-element/number-line 13.1.0-next.19 → 13.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/_virtual/_rolldown/runtime.js +11 -0
- package/dist/author/arrows.d.ts +28 -0
- package/dist/author/arrows.js +69 -0
- package/dist/author/card-bar.d.ts +20 -0
- package/dist/author/card-bar.js +41 -0
- package/dist/author/defaults.d.ts +178 -0
- package/dist/author/defaults.js +144 -0
- package/dist/author/domain.d.ts +15 -0
- package/dist/author/domain.js +54 -0
- package/dist/author/index.d.ts +23 -0
- package/dist/author/index.js +89 -0
- package/dist/author/main.d.ts +44 -0
- package/dist/author/main.js +485 -0
- package/dist/author/number-text-field.d.ts +13 -0
- package/dist/author/number-text-field.js +13 -0
- package/dist/author/point-config.d.ts +25 -0
- package/dist/author/point-config.js +69 -0
- package/dist/author/size.d.ts +24 -0
- package/dist/author/size.js +48 -0
- package/dist/author/ticks.d.ts +22 -0
- package/dist/author/ticks.js +115 -0
- package/dist/author/utils.d.ts +9 -0
- package/dist/author/utils.js +4 -0
- package/dist/controller/defaults.d.ts +58 -0
- package/dist/controller/defaults.js +50 -0
- package/dist/controller/index.d.ts +33 -0
- package/dist/controller/index.js +170 -0
- package/dist/controller/tickUtils.d.ts +20 -0
- package/dist/controller/tickUtils.js +254 -0
- package/dist/controller/utils.d.ts +9 -0
- package/dist/controller/utils.js +68 -0
- package/dist/delivery/data-converter.d.ts +64 -0
- package/dist/delivery/data-converter.js +70 -0
- package/dist/delivery/draggable/index.d.ts +33 -0
- package/dist/delivery/draggable/index.js +39 -0
- package/dist/delivery/index.d.ts +35 -0
- package/dist/delivery/index.js +109 -0
- package/dist/delivery/number-line/colors.d.ts +11 -0
- package/dist/delivery/number-line/colors.js +5 -0
- package/dist/delivery/number-line/feedback.d.ts +19 -0
- package/dist/delivery/number-line/feedback.js +57 -0
- package/dist/delivery/number-line/graph/arrow.d.ts +30 -0
- package/dist/delivery/number-line/graph/arrow.js +27 -0
- package/dist/delivery/number-line/graph/elements/base.d.ts +16 -0
- package/dist/delivery/number-line/graph/elements/base.js +11 -0
- package/dist/delivery/number-line/graph/elements/builder.d.ts +33 -0
- package/dist/delivery/number-line/graph/elements/builder.js +30 -0
- package/dist/delivery/number-line/graph/elements/line.d.ts +51 -0
- package/dist/delivery/number-line/graph/elements/line.js +189 -0
- package/dist/delivery/number-line/graph/elements/point.d.ts +43 -0
- package/dist/delivery/number-line/graph/elements/point.js +127 -0
- package/dist/delivery/number-line/graph/elements/ray.d.ts +43 -0
- package/dist/delivery/number-line/graph/elements/ray.js +130 -0
- package/dist/delivery/number-line/graph/index.d.ts +59 -0
- package/dist/delivery/number-line/graph/index.js +196 -0
- package/dist/delivery/number-line/graph/line.d.ts +46 -0
- package/dist/delivery/number-line/graph/line.js +27 -0
- package/dist/delivery/number-line/graph/stacks.d.ts +10 -0
- package/dist/delivery/number-line/graph/stacks.js +40 -0
- package/dist/delivery/number-line/graph/tick-utils.d.ts +73 -0
- package/dist/delivery/number-line/graph/tick-utils.js +297 -0
- package/dist/delivery/number-line/graph/ticks.d.ts +46 -0
- package/dist/delivery/number-line/graph/ticks.js +115 -0
- package/dist/delivery/number-line/index.d.ts +35 -0
- package/dist/delivery/number-line/index.js +218 -0
- package/dist/delivery/number-line/point-chooser/button.d.ts +31 -0
- package/dist/delivery/number-line/point-chooser/button.js +36 -0
- package/dist/delivery/number-line/point-chooser/img.d.ts +10 -0
- package/dist/delivery/number-line/point-chooser/img.js +4 -0
- package/dist/delivery/number-line/point-chooser/index.d.ts +37 -0
- package/dist/delivery/number-line/point-chooser/index.js +154 -0
- package/dist/delivery/number-line/point-chooser/styles.d.ts +192 -0
- package/dist/delivery/number-line/transitions/fade.d.ts +34 -0
- package/dist/delivery/number-line/transitions/fade.js +75 -0
- package/dist/delivery/number-line/transitions/index.d.ts +10 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.iife.d.ts +8 -0
- package/dist/index.iife.js +201 -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/_assignMergeValue.js +8 -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/_baseFindIndex.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js +10 -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/_baseHasIn.js +6 -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/_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/_baseIsMatch.js +26 -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/_baseIteratee.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/_baseMatches.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js +17 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js +19 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMergeDeep.js +31 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePickBy.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js +9 -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/_baseTrim.js +8 -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/_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/_createAssigner.js +15 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createFind.js +19 -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/_getMatchData.js +16 -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/_hasPath.js +18 -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/_isIndex.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js +12 -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/_isStrictComparable.js +7 -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/_matchesStrictComparable.js +8 -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/_safeGet.js +6 -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/_trimmedEndIndex.js +8 -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/eq.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/find.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/findIndex.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/get.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js +8 -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/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/isEqualWith.js +9 -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/isNumber.js +9 -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/isPlainObject.js +14 -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/memoize.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/merge.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/negate.js +17 -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/omitBy.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/pickBy.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/property.js +10 -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/toFinite.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toInteger.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js +19 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toPlainObject.js +8 -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/uniqWith.js +7 -0
- package/package.json +59 -21
- package/CHANGELOG.json +0 -1247
- package/CHANGELOG.md +0 -2423
- package/LICENSE.md +0 -5
- package/README.md +0 -28
- package/configure/CHANGELOG.json +0 -827
- package/configure/CHANGELOG.md +0 -2070
- package/configure/lib/arrows.js +0 -89
- package/configure/lib/arrows.js.map +0 -1
- package/configure/lib/card-bar.js +0 -57
- package/configure/lib/card-bar.js.map +0 -1
- package/configure/lib/defaults.js +0 -177
- package/configure/lib/defaults.js.map +0 -1
- package/configure/lib/domain.js +0 -87
- package/configure/lib/domain.js.map +0 -1
- package/configure/lib/index.js +0 -176
- package/configure/lib/index.js.map +0 -1
- package/configure/lib/main.js +0 -815
- package/configure/lib/main.js.map +0 -1
- package/configure/lib/number-text-field.js +0 -26
- package/configure/lib/number-text-field.js.map +0 -1
- package/configure/lib/point-config.js +0 -84
- package/configure/lib/point-config.js.map +0 -1
- package/configure/lib/size.js +0 -66
- package/configure/lib/size.js.map +0 -1
- package/configure/lib/ticks.js +0 -234
- package/configure/lib/ticks.js.map +0 -1
- package/configure/lib/utils.js +0 -12
- package/configure/lib/utils.js.map +0 -1
- package/configure/package.json +0 -20
- package/controller/CHANGELOG.json +0 -332
- package/controller/CHANGELOG.md +0 -1349
- package/controller/lib/defaults.js +0 -56
- package/controller/lib/defaults.js.map +0 -1
- package/controller/lib/index.js +0 -430
- package/controller/lib/index.js.map +0 -1
- package/controller/lib/tickUtils.js +0 -294
- package/controller/lib/tickUtils.js.map +0 -1
- package/controller/lib/utils.js +0 -168
- package/controller/lib/utils.js.map +0 -1
- package/controller/package.json +0 -20
- package/demo.gif +0 -0
- package/docs/config-schema.json +0 -2532
- package/docs/config-schema.json.md +0 -1844
- package/docs/demo/config.js +0 -8
- package/docs/demo/generate.js +0 -39
- package/docs/demo/index.html +0 -1
- package/docs/pie-schema.json +0 -2461
- package/docs/pie-schema.json.md +0 -1228
- package/docs/schemas/config.json +0 -256
- package/lib/data-converter.js +0 -96
- package/lib/data-converter.js.map +0 -1
- package/lib/draggable/index.js +0 -114
- package/lib/draggable/index.js.map +0 -1
- package/lib/index.js +0 -196
- package/lib/index.js.map +0 -1
- package/lib/number-line/colors.js +0 -11
- package/lib/number-line/colors.js.map +0 -1
- package/lib/number-line/feedback.js +0 -92
- package/lib/number-line/feedback.js.map +0 -1
- package/lib/number-line/graph/arrow.js +0 -44
- package/lib/number-line/graph/arrow.js.map +0 -1
- package/lib/number-line/graph/elements/base.js +0 -20
- package/lib/number-line/graph/elements/base.js.map +0 -1
- package/lib/number-line/graph/elements/builder.js +0 -37
- package/lib/number-line/graph/elements/builder.js.map +0 -1
- package/lib/number-line/graph/elements/line.js +0 -259
- package/lib/number-line/graph/elements/line.js.map +0 -1
- package/lib/number-line/graph/elements/point.js +0 -204
- package/lib/number-line/graph/elements/point.js.map +0 -1
- package/lib/number-line/graph/elements/ray.js +0 -190
- package/lib/number-line/graph/elements/ray.js.map +0 -1
- package/lib/number-line/graph/index.js +0 -262
- package/lib/number-line/graph/index.js.map +0 -1
- package/lib/number-line/graph/line.js +0 -38
- package/lib/number-line/graph/line.js.map +0 -1
- package/lib/number-line/graph/stacks.js +0 -78
- package/lib/number-line/graph/stacks.js.map +0 -1
- package/lib/number-line/graph/tick-utils.js +0 -347
- package/lib/number-line/graph/tick-utils.js.map +0 -1
- package/lib/number-line/graph/ticks.js +0 -188
- package/lib/number-line/graph/ticks.js.map +0 -1
- package/lib/number-line/index.js +0 -384
- package/lib/number-line/index.js.map +0 -1
- package/lib/number-line/point-chooser/button.js +0 -49
- package/lib/number-line/point-chooser/button.js.map +0 -1
- package/lib/number-line/point-chooser/img.js +0 -8
- package/lib/number-line/point-chooser/img.js.map +0 -1
- package/lib/number-line/point-chooser/index.js +0 -197
- package/lib/number-line/point-chooser/index.js.map +0 -1
- package/lib/number-line/point-chooser/styles.js +0 -77
- package/lib/number-line/point-chooser/styles.js.map +0 -1
- package/lib/number-line/transitions/fade.js +0 -88
- package/lib/number-line/transitions/fade.js.map +0 -1
- package/lib/number-line/transitions/index.js +0 -14
- package/lib/number-line/transitions/index.js.map +0 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/number-line/src/number-line/point-chooser/button.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
|
+
declare const RawButton: {
|
|
12
|
+
({ label, onClick, disabled, title }: {
|
|
13
|
+
label: any;
|
|
14
|
+
onClick: any;
|
|
15
|
+
disabled: any;
|
|
16
|
+
title: any;
|
|
17
|
+
}): React.JSX.Element;
|
|
18
|
+
propTypes: {
|
|
19
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
20
|
+
label: PropTypes.Requireable<NonNullable<string | object | null | undefined>>;
|
|
21
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
22
|
+
title: PropTypes.Requireable<string>;
|
|
23
|
+
};
|
|
24
|
+
defaultProps: {
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
label: string;
|
|
27
|
+
onClick: () => void;
|
|
28
|
+
title: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default RawButton;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
import { styled as e } from "@mui/material/styles";
|
|
3
|
+
import t from "prop-types";
|
|
4
|
+
import n from "@mui/material/Button";
|
|
5
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
+
//#region src/delivery/number-line/point-chooser/button.tsx
|
|
7
|
+
var i = e(n)({
|
|
8
|
+
fontSize: "0.9em",
|
|
9
|
+
marginLeft: 8,
|
|
10
|
+
minWidth: 32,
|
|
11
|
+
height: 32,
|
|
12
|
+
"& span": { "& svg": {
|
|
13
|
+
width: "1.3em !important",
|
|
14
|
+
height: "1.3em !important"
|
|
15
|
+
} }
|
|
16
|
+
}), a = ({ label: e, onClick: t, disabled: n, title: a }) => /* @__PURE__ */ r(i, {
|
|
17
|
+
title: a,
|
|
18
|
+
onClick: t,
|
|
19
|
+
disabled: n,
|
|
20
|
+
size: "small",
|
|
21
|
+
variant: "contained",
|
|
22
|
+
children: e
|
|
23
|
+
});
|
|
24
|
+
a.propTypes = {
|
|
25
|
+
disabled: t.bool,
|
|
26
|
+
label: t.oneOfType([t.string, t.object]),
|
|
27
|
+
onClick: t.func,
|
|
28
|
+
title: t.string
|
|
29
|
+
}, a.defaultProps = {
|
|
30
|
+
disabled: !1,
|
|
31
|
+
label: "Add",
|
|
32
|
+
onClick: () => {},
|
|
33
|
+
title: ""
|
|
34
|
+
};
|
|
35
|
+
//#endregion
|
|
36
|
+
export { a as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/number-line/src/number-line/point-chooser/img.js
|
|
3
|
+
* @auto-generated
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
+
* Manual edits will be overwritten on next sync.
|
|
7
|
+
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
+
*/
|
|
9
|
+
declare const _default: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAaIAAAB6CAYAAAD9EVeZAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA35pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUv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28e/duQ+4d9OnTp+jCRINoWV9fl5/6mym8hE50ohOd6GygTrnX3C+tVuvk27dv5/I2mf97d2SNUrblBy6m8/aq8Dw60YlOdKKzgTr/I8AAfqzhPjCMsb4AAAAASUVORK5CYII=";
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region src/delivery/number-line/point-chooser/img.ts
|
|
2
|
+
var e = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAaIAAAB6CAYAAAD9EVeZAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA35pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoyQzdFRkQ1NzFFMjA2ODExOTRGRkRERDNFOEEwRDAxQyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo0M0FGNEM3RUQwRDkxMUU0OTU5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6q/Z44caL09bGxMae4rfzsnsPeDk2N2yXNQb6FnPOYa0kSpyQw1wSs7afVvMdY976easbhm+e9T82tr687bb+xsaG6I7uOr03VeIo6Dx482HebAwcOJKVTo1/XuGP7qalR68jdes5jryX5EDy2nxbzHnPdu3qqHYdvnvcuRMUj3irIz8Jq4jq+NlXjKep8/fp1323Kno+lU6Nf17hj+6mpsUusHyJz1RljLclRdNkRdkg/LeY91rr38VQ7Dt88712IXN8OHzt2TNUg1/GnpqaytbW10iavW8RT1Fl2NCdHeinp1OjXNW4rP6uiqbGLnK+/evVq8CTvqlN7LfVrGgnTwk+LebdY91aeasfhm+e9PyOSi5iqnHsvbq+J9vhW8RT7ffz4cTY9Pd2+7kHezsqRhEzio0ePktJZdfu5ubnS1+WiN824ff28d+9e6cV2ovHixYvqGnuTp9D9MFnoTSLbUdRpsdZCruUrV654Xfdj5afVvGuve0tPU4jDuxB1r6it8o0bi6vTtce3iqe330EfnqekU9vPunFb9GulsUryTGmthVrLWglT20+LeQ+1b1kWoZBx1Lqg9dq1a+0ragchr8t2FmiPbxUPOtPVGWofrntayVqndf/aCTN1P4fR05he1bpnidzO4caNG9np06fbFVO+uiffmpAPrORcofV9urTHt4oHnenqDLkP17nGw1qndf8WCTNlP4fV02heab19i3ljSO3xreJBZ7o6Q+3DdS84tNYZey03zc9h9DRGHPwMBAAARIVCBAAAFCIAAKAQAQAAUIgAAIBCBAAAQCECAAAKEQAAQLBC9EH7Nyw06Gj6s/AUOtGJTnSis4E6pRCtbm5uJifww4cP8lC8ux460YlOdKKzgTqlEM28e/duQ+4d9OnTp+jCRINoWV9fl5/6mym8hE50ohOd6GygTrnX3C+tVuvk27dv5/I2mf97d2SNUrblBy6m8/aq8Dw60YlOdKKzgTr/I8AAfqzhPjCMsb4AAAAASUVORK5CYII=";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as default };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/number-line/src/number-line/point-chooser/index.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 const Point: {
|
|
12
|
+
(props: any): React.JSX.Element;
|
|
13
|
+
propTypes: {
|
|
14
|
+
iconKey: PropTypes.Validator<string>;
|
|
15
|
+
active: PropTypes.Requireable<boolean>;
|
|
16
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare class PointChooser extends React.Component {
|
|
20
|
+
static defaultProps: {
|
|
21
|
+
showDeleteButton: boolean;
|
|
22
|
+
elementType: any;
|
|
23
|
+
icons: string[];
|
|
24
|
+
};
|
|
25
|
+
static propTypes: {
|
|
26
|
+
elementType: PropTypes.Requireable<string>;
|
|
27
|
+
showDeleteButton: PropTypes.Requireable<boolean>;
|
|
28
|
+
onDeleteClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
29
|
+
onElementType: PropTypes.Validator<(...args: any[]) => any>;
|
|
30
|
+
onUndoElement: PropTypes.Validator<(...args: any[]) => any>;
|
|
31
|
+
onClearElements: PropTypes.Validator<(...args: any[]) => any>;
|
|
32
|
+
icons: PropTypes.Requireable<any[]>;
|
|
33
|
+
language: PropTypes.Requireable<string>;
|
|
34
|
+
};
|
|
35
|
+
render(): React.JSX.Element;
|
|
36
|
+
}
|
|
37
|
+
export default PointChooser;
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { __exportAll as e } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import t from "./button.js";
|
|
3
|
+
import n from "./img.js";
|
|
4
|
+
import r from "react";
|
|
5
|
+
import { styled as i } from "@mui/material/styles";
|
|
6
|
+
import a from "prop-types";
|
|
7
|
+
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
8
|
+
import c from "@pie-lib/translator";
|
|
9
|
+
//#region src/delivery/number-line/point-chooser/index.tsx
|
|
10
|
+
var l = /* @__PURE__ */ e({
|
|
11
|
+
Point: () => v,
|
|
12
|
+
PointChooser: () => w,
|
|
13
|
+
default: () => w
|
|
14
|
+
}), { translator: u } = c, d = 41, f = 42, p = i("svg")({
|
|
15
|
+
fill: "black",
|
|
16
|
+
cursor: "pointer",
|
|
17
|
+
transition: "opacity 100ms linear",
|
|
18
|
+
"&:hover": { opacity: "0.5" }
|
|
19
|
+
}), m = () => /* @__PURE__ */ s(p, {
|
|
20
|
+
fill: "#000000",
|
|
21
|
+
height: "24",
|
|
22
|
+
viewBox: "0 0 24 24",
|
|
23
|
+
width: "24",
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
25
|
+
children: [/* @__PURE__ */ o("path", { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z" }), /* @__PURE__ */ o("path", {
|
|
26
|
+
d: "M0 0h24v24H0z",
|
|
27
|
+
fill: "none"
|
|
28
|
+
})]
|
|
29
|
+
}), h = {
|
|
30
|
+
pf: 0,
|
|
31
|
+
lff: 1,
|
|
32
|
+
lef: 2,
|
|
33
|
+
lfe: 3,
|
|
34
|
+
lee: 4,
|
|
35
|
+
rfn: 5,
|
|
36
|
+
rfp: 6,
|
|
37
|
+
ren: 7,
|
|
38
|
+
rep: 8
|
|
39
|
+
}, g = i("a")(({ $iconIndex: e, $active: t }) => ({
|
|
40
|
+
display: "inline-block",
|
|
41
|
+
width: f,
|
|
42
|
+
height: d,
|
|
43
|
+
position: "relative",
|
|
44
|
+
top: "1px",
|
|
45
|
+
cursor: "pointer",
|
|
46
|
+
background: `url(${n}) -${e * f}px 0px`,
|
|
47
|
+
...t && { backgroundPosition: `-${e * f}px -${2 * d}px` },
|
|
48
|
+
"&:hover": {
|
|
49
|
+
textDecoration: "none",
|
|
50
|
+
backgroundPosition: `-${e * f}px -${d}px`
|
|
51
|
+
},
|
|
52
|
+
...t && { "&:hover": { backgroundPosition: `-${e * f}px -${2 * d}px` } }
|
|
53
|
+
})), _ = (e) => {
|
|
54
|
+
let { iconKey: t, active: n, onClick: r } = e;
|
|
55
|
+
return /* @__PURE__ */ o("span", {
|
|
56
|
+
role: "presentation",
|
|
57
|
+
onClick: r,
|
|
58
|
+
children: /* @__PURE__ */ o(g, {
|
|
59
|
+
$iconIndex: h[t.toLowerCase()] ?? 0,
|
|
60
|
+
$active: n,
|
|
61
|
+
children: "\xA0"
|
|
62
|
+
})
|
|
63
|
+
}, t);
|
|
64
|
+
};
|
|
65
|
+
_.propTypes = {
|
|
66
|
+
iconKey: a.string.isRequired,
|
|
67
|
+
active: a.bool,
|
|
68
|
+
onClick: a.func
|
|
69
|
+
};
|
|
70
|
+
var v = _, y = i("div")({
|
|
71
|
+
width: "55%",
|
|
72
|
+
padding: "1px",
|
|
73
|
+
"-webkit-touch-callout": "none",
|
|
74
|
+
"-webkit-user-select": "none",
|
|
75
|
+
"-khtml-user-select": "none",
|
|
76
|
+
"-moz-user-select": "none",
|
|
77
|
+
"-ms-user-select": "none",
|
|
78
|
+
"user-select": "none"
|
|
79
|
+
}), b = ({ selectPoint: e, selected: t, icons: n }) => /* @__PURE__ */ o(y, { children: n.map((n) => {
|
|
80
|
+
let r = n === t, i = r ? () => {} : e.bind(null, n);
|
|
81
|
+
return /* @__PURE__ */ o(v, {
|
|
82
|
+
iconKey: n.toLowerCase(),
|
|
83
|
+
active: r,
|
|
84
|
+
onClick: i
|
|
85
|
+
}, n.toLowerCase());
|
|
86
|
+
}) });
|
|
87
|
+
b.propTypes = {
|
|
88
|
+
selectPoint: a.func.isRequired,
|
|
89
|
+
selected: a.string,
|
|
90
|
+
icons: a.array
|
|
91
|
+
};
|
|
92
|
+
var x = i("div")({
|
|
93
|
+
display: "flex",
|
|
94
|
+
justifyContent: "space-between",
|
|
95
|
+
borderRadius: "4px",
|
|
96
|
+
padding: "1px"
|
|
97
|
+
}), S = i("div")({
|
|
98
|
+
display: "flex",
|
|
99
|
+
paddingTop: "7px"
|
|
100
|
+
}), C = i("span")({
|
|
101
|
+
position: "relative",
|
|
102
|
+
top: "3px",
|
|
103
|
+
width: "30px"
|
|
104
|
+
}), w = class e extends r.Component {
|
|
105
|
+
static defaultProps = {
|
|
106
|
+
showDeleteButton: !1,
|
|
107
|
+
elementType: e.DEFAULT_TYPE,
|
|
108
|
+
icons: [
|
|
109
|
+
"pf",
|
|
110
|
+
"lff",
|
|
111
|
+
"lef",
|
|
112
|
+
"lfe",
|
|
113
|
+
"lee",
|
|
114
|
+
"rfn",
|
|
115
|
+
"rfp",
|
|
116
|
+
"ren",
|
|
117
|
+
"rep"
|
|
118
|
+
]
|
|
119
|
+
};
|
|
120
|
+
static propTypes = {
|
|
121
|
+
elementType: a.string,
|
|
122
|
+
showDeleteButton: a.bool,
|
|
123
|
+
onDeleteClick: a.func.isRequired,
|
|
124
|
+
onElementType: a.func.isRequired,
|
|
125
|
+
onUndoElement: a.func.isRequired,
|
|
126
|
+
onClearElements: a.func.isRequired,
|
|
127
|
+
icons: a.array,
|
|
128
|
+
language: a.string
|
|
129
|
+
};
|
|
130
|
+
render() {
|
|
131
|
+
let { elementType: e, showDeleteButton: n, onDeleteClick: r, onUndoElement: i, onClearElements: a, icons: c, onElementType: l, language: d } = this.props;
|
|
132
|
+
return /* @__PURE__ */ s(x, { children: [/* @__PURE__ */ o(b, {
|
|
133
|
+
selected: e,
|
|
134
|
+
selectPoint: l,
|
|
135
|
+
icons: c
|
|
136
|
+
}), /* @__PURE__ */ s(S, { children: [
|
|
137
|
+
n && /* @__PURE__ */ o(C, {
|
|
138
|
+
onClick: r,
|
|
139
|
+
children: /* @__PURE__ */ o(m, {})
|
|
140
|
+
}),
|
|
141
|
+
/* @__PURE__ */ o(t, {
|
|
142
|
+
onClick: i,
|
|
143
|
+
label: u.t("common:undo", { lng: d })
|
|
144
|
+
}),
|
|
145
|
+
/* @__PURE__ */ o(t, {
|
|
146
|
+
onClick: a,
|
|
147
|
+
label: u.t("numberLine.clearAll", { lng: d })
|
|
148
|
+
})
|
|
149
|
+
] })] });
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
w.DEFAULT_TYPE = "pf";
|
|
153
|
+
//#endregion
|
|
154
|
+
export { w as default, l as point_chooser_exports };
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/number-line/src/number-line/point-chooser/styles.js
|
|
3
|
+
* @auto-generated
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
+
* Manual edits will be overwritten on next sync.
|
|
7
|
+
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
+
*/
|
|
9
|
+
declare const _default: {
|
|
10
|
+
pointChooser: {
|
|
11
|
+
display: string;
|
|
12
|
+
justifyContent: string;
|
|
13
|
+
borderRadius: string;
|
|
14
|
+
padding: string;
|
|
15
|
+
};
|
|
16
|
+
deleteIconHolder: {
|
|
17
|
+
position: string;
|
|
18
|
+
top: string;
|
|
19
|
+
width: string;
|
|
20
|
+
};
|
|
21
|
+
deleteIcon: {
|
|
22
|
+
fill: string;
|
|
23
|
+
cursor: string;
|
|
24
|
+
transition: string;
|
|
25
|
+
'&:hover': {
|
|
26
|
+
opacity: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
elementSelector: {
|
|
30
|
+
width: string;
|
|
31
|
+
padding: string;
|
|
32
|
+
} & {
|
|
33
|
+
'-webkit-touch-callout': string;
|
|
34
|
+
'-webkit-user-select': string;
|
|
35
|
+
'-khtml-user-select': string;
|
|
36
|
+
'-moz-user-select': string;
|
|
37
|
+
'-ms-user-select': string;
|
|
38
|
+
'user-select': string;
|
|
39
|
+
};
|
|
40
|
+
controls: {
|
|
41
|
+
display: string;
|
|
42
|
+
paddingTop: string;
|
|
43
|
+
};
|
|
44
|
+
buttonText: {
|
|
45
|
+
textWrap: string;
|
|
46
|
+
};
|
|
47
|
+
pf: {
|
|
48
|
+
display: string;
|
|
49
|
+
width: number;
|
|
50
|
+
height: number;
|
|
51
|
+
position: string;
|
|
52
|
+
top: string;
|
|
53
|
+
cursor: string;
|
|
54
|
+
background: string;
|
|
55
|
+
'&.active, &.active:hover': {
|
|
56
|
+
backgroundPosition: string;
|
|
57
|
+
};
|
|
58
|
+
'&:hover': {
|
|
59
|
+
textDecoration: string;
|
|
60
|
+
backgroundPosition: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
lff: {
|
|
64
|
+
display: string;
|
|
65
|
+
width: number;
|
|
66
|
+
height: number;
|
|
67
|
+
position: string;
|
|
68
|
+
top: string;
|
|
69
|
+
cursor: string;
|
|
70
|
+
background: string;
|
|
71
|
+
'&.active, &.active:hover': {
|
|
72
|
+
backgroundPosition: string;
|
|
73
|
+
};
|
|
74
|
+
'&:hover': {
|
|
75
|
+
textDecoration: string;
|
|
76
|
+
backgroundPosition: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
lef: {
|
|
80
|
+
display: string;
|
|
81
|
+
width: number;
|
|
82
|
+
height: number;
|
|
83
|
+
position: string;
|
|
84
|
+
top: string;
|
|
85
|
+
cursor: string;
|
|
86
|
+
background: string;
|
|
87
|
+
'&.active, &.active:hover': {
|
|
88
|
+
backgroundPosition: string;
|
|
89
|
+
};
|
|
90
|
+
'&:hover': {
|
|
91
|
+
textDecoration: string;
|
|
92
|
+
backgroundPosition: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
lfe: {
|
|
96
|
+
display: string;
|
|
97
|
+
width: number;
|
|
98
|
+
height: number;
|
|
99
|
+
position: string;
|
|
100
|
+
top: string;
|
|
101
|
+
cursor: string;
|
|
102
|
+
background: string;
|
|
103
|
+
'&.active, &.active:hover': {
|
|
104
|
+
backgroundPosition: string;
|
|
105
|
+
};
|
|
106
|
+
'&:hover': {
|
|
107
|
+
textDecoration: string;
|
|
108
|
+
backgroundPosition: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
lee: {
|
|
112
|
+
display: string;
|
|
113
|
+
width: number;
|
|
114
|
+
height: number;
|
|
115
|
+
position: string;
|
|
116
|
+
top: string;
|
|
117
|
+
cursor: string;
|
|
118
|
+
background: string;
|
|
119
|
+
'&.active, &.active:hover': {
|
|
120
|
+
backgroundPosition: string;
|
|
121
|
+
};
|
|
122
|
+
'&:hover': {
|
|
123
|
+
textDecoration: string;
|
|
124
|
+
backgroundPosition: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
rfn: {
|
|
128
|
+
display: string;
|
|
129
|
+
width: number;
|
|
130
|
+
height: number;
|
|
131
|
+
position: string;
|
|
132
|
+
top: string;
|
|
133
|
+
cursor: string;
|
|
134
|
+
background: string;
|
|
135
|
+
'&.active, &.active:hover': {
|
|
136
|
+
backgroundPosition: string;
|
|
137
|
+
};
|
|
138
|
+
'&:hover': {
|
|
139
|
+
textDecoration: string;
|
|
140
|
+
backgroundPosition: string;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
rfp: {
|
|
144
|
+
display: string;
|
|
145
|
+
width: number;
|
|
146
|
+
height: number;
|
|
147
|
+
position: string;
|
|
148
|
+
top: string;
|
|
149
|
+
cursor: string;
|
|
150
|
+
background: string;
|
|
151
|
+
'&.active, &.active:hover': {
|
|
152
|
+
backgroundPosition: string;
|
|
153
|
+
};
|
|
154
|
+
'&:hover': {
|
|
155
|
+
textDecoration: string;
|
|
156
|
+
backgroundPosition: string;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
ren: {
|
|
160
|
+
display: string;
|
|
161
|
+
width: number;
|
|
162
|
+
height: number;
|
|
163
|
+
position: string;
|
|
164
|
+
top: string;
|
|
165
|
+
cursor: string;
|
|
166
|
+
background: string;
|
|
167
|
+
'&.active, &.active:hover': {
|
|
168
|
+
backgroundPosition: string;
|
|
169
|
+
};
|
|
170
|
+
'&:hover': {
|
|
171
|
+
textDecoration: string;
|
|
172
|
+
backgroundPosition: string;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
rep: {
|
|
176
|
+
display: string;
|
|
177
|
+
width: number;
|
|
178
|
+
height: number;
|
|
179
|
+
position: string;
|
|
180
|
+
top: string;
|
|
181
|
+
cursor: string;
|
|
182
|
+
background: string;
|
|
183
|
+
'&.active, &.active:hover': {
|
|
184
|
+
backgroundPosition: string;
|
|
185
|
+
};
|
|
186
|
+
'&:hover': {
|
|
187
|
+
textDecoration: string;
|
|
188
|
+
backgroundPosition: string;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/number-line/src/number-line/transitions/fade.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
|
+
declare const FadeTransition: {
|
|
12
|
+
(props: any): React.JSX.Element;
|
|
13
|
+
propTypes: {
|
|
14
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
15
|
+
in: PropTypes.Requireable<boolean>;
|
|
16
|
+
mountOnEnter: PropTypes.Requireable<boolean>;
|
|
17
|
+
unmountOnExit: PropTypes.Requireable<boolean>;
|
|
18
|
+
appear: PropTypes.Requireable<boolean>;
|
|
19
|
+
enter: PropTypes.Requireable<boolean>;
|
|
20
|
+
exit: PropTypes.Requireable<boolean>;
|
|
21
|
+
timeout: PropTypes.Requireable<NonNullable<number | PropTypes.InferProps<{
|
|
22
|
+
enter: PropTypes.Requireable<number>;
|
|
23
|
+
exit: PropTypes.Requireable<number>;
|
|
24
|
+
}> | null | undefined>>;
|
|
25
|
+
addEndListener: PropTypes.Requireable<(...args: any[]) => any>;
|
|
26
|
+
onEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
27
|
+
onEntering: PropTypes.Requireable<(...args: any[]) => any>;
|
|
28
|
+
onEntered: PropTypes.Requireable<(...args: any[]) => any>;
|
|
29
|
+
onExit: PropTypes.Requireable<(...args: any[]) => any>;
|
|
30
|
+
onExiting: PropTypes.Requireable<(...args: any[]) => any>;
|
|
31
|
+
onExited: PropTypes.Requireable<(...args: any[]) => any>;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export default FadeTransition;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import e, { useEffect as t, useRef as n } from "react";
|
|
2
|
+
import r from "prop-types";
|
|
3
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
4
|
+
import { CSSTransition as a } from "react-transition-group";
|
|
5
|
+
//#region src/delivery/number-line/transitions/fade.tsx
|
|
6
|
+
var o = 200, s = "fade-transition", c = `
|
|
7
|
+
.${s}-appear {
|
|
8
|
+
opacity: 0;
|
|
9
|
+
}
|
|
10
|
+
.${s}-appear-active {
|
|
11
|
+
opacity: 1;
|
|
12
|
+
transition: opacity ${o}ms ease-in;
|
|
13
|
+
}
|
|
14
|
+
.${s}-enter {
|
|
15
|
+
opacity: 0;
|
|
16
|
+
}
|
|
17
|
+
.${s}-enter-active {
|
|
18
|
+
opacity: 1;
|
|
19
|
+
transition: opacity ${o}ms ease-in;
|
|
20
|
+
}
|
|
21
|
+
.${s}-exit {
|
|
22
|
+
opacity: 1;
|
|
23
|
+
}
|
|
24
|
+
.${s}-exit-active {
|
|
25
|
+
opacity: 0;
|
|
26
|
+
transition: opacity ${o}ms ease-in;
|
|
27
|
+
}
|
|
28
|
+
`, l = (r) => {
|
|
29
|
+
let l = n(null), u = e.Children.only(r.children);
|
|
30
|
+
return t(() => {
|
|
31
|
+
if (!document.getElementById(`${s}-styles`)) {
|
|
32
|
+
let e = document.createElement("style");
|
|
33
|
+
e.id = `${s}-styles`, e.textContent = c, document.head.appendChild(e);
|
|
34
|
+
}
|
|
35
|
+
}, []), /* @__PURE__ */ i(a, {
|
|
36
|
+
...r,
|
|
37
|
+
nodeRef: l,
|
|
38
|
+
appear: !0,
|
|
39
|
+
classNames: {
|
|
40
|
+
enter: `${s}-enter`,
|
|
41
|
+
enterActive: `${s}-enter-active`,
|
|
42
|
+
exit: `${s}-exit`,
|
|
43
|
+
exitActive: `${s}-exit-active`,
|
|
44
|
+
appear: `${s}-appear`,
|
|
45
|
+
appearActive: `${s}-appear-active`
|
|
46
|
+
},
|
|
47
|
+
timeout: o,
|
|
48
|
+
children: /* @__PURE__ */ i("g", {
|
|
49
|
+
ref: l,
|
|
50
|
+
children: u
|
|
51
|
+
})
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
l.propTypes = {
|
|
55
|
+
children: r.node,
|
|
56
|
+
in: r.bool,
|
|
57
|
+
mountOnEnter: r.bool,
|
|
58
|
+
unmountOnExit: r.bool,
|
|
59
|
+
appear: r.bool,
|
|
60
|
+
enter: r.bool,
|
|
61
|
+
exit: r.bool,
|
|
62
|
+
timeout: r.oneOfType([r.number, r.shape({
|
|
63
|
+
enter: r.number,
|
|
64
|
+
exit: r.number
|
|
65
|
+
})]),
|
|
66
|
+
addEndListener: r.func,
|
|
67
|
+
onEnter: r.func,
|
|
68
|
+
onEntering: r.func,
|
|
69
|
+
onEntered: r.func,
|
|
70
|
+
onExit: r.func,
|
|
71
|
+
onExiting: r.func,
|
|
72
|
+
onExited: r.func
|
|
73
|
+
};
|
|
74
|
+
//#endregion
|
|
75
|
+
export { l as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/number-line/src/number-line/transitions/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
|
+
import Fade from './fade.js';
|
|
10
|
+
export { Fade };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './delivery/index.js';
|