cubing 0.25.13 → 0.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/.DS_Store +0 -0
- package/dist/esm/{2x2x2.kpuzzle.json-BHTFIME6.js → 2x2x2.kpuzzle.json-RJHNQ246.js} +1 -1
- package/dist/esm/{2x2x2.kpuzzle.json-BHTFIME6.js.map → 2x2x2.kpuzzle.json-RJHNQ246.js.map} +1 -1
- package/dist/esm/{2x2x2.sgs.json-NLV7NA3B.js → 2x2x2.sgs.json-OIAKZDZZ.js} +5 -5
- package/dist/esm/{2x2x2.sgs.json-NLV7NA3B.js.map → 2x2x2.sgs.json-OIAKZDZZ.js.map} +1 -1
- package/dist/esm/{3d-dynamic-ZXCKVS2R.js → 3d-dynamic-OTQHIOVR.js} +5 -5
- package/dist/esm/{3d-dynamic-ZXCKVS2R.js.map → 3d-dynamic-OTQHIOVR.js.map} +1 -1
- package/dist/esm/{3x3x3-min2phase-UBW46KDU.js → 3x3x3-min2phase-GFNNX26U.js} +1 -1
- package/dist/esm/{3x3x3-min2phase-UBW46KDU.js.map → 3x3x3-min2phase-GFNNX26U.js.map} +1 -1
- package/dist/esm/{444-solver-XVU6Q26C.js → 444-solver-2ECPETB3.js} +6 -6
- package/dist/esm/{444-solver-XVU6Q26C.js.map → 444-solver-2ECPETB3.js.map} +1 -1
- package/dist/esm/alg/index.js +1 -1
- package/dist/esm/bluetooth/index.js +6 -8
- package/dist/esm/bluetooth/index.js.map +1 -1
- package/dist/esm/{chunk-FB7SFELN.js → chunk-3CEMUTUD.js} +2 -2
- package/dist/esm/{chunk-FB7SFELN.js.map → chunk-3CEMUTUD.js.map} +1 -1
- package/dist/esm/{chunk-NSLR2SC4.js → chunk-5Q4SJSNY.js} +2 -2
- package/dist/esm/{chunk-NSLR2SC4.js.map → chunk-5Q4SJSNY.js.map} +1 -1
- package/dist/esm/{chunk-ZPAGJE7S.js → chunk-AD6PFNOU.js} +2 -2
- package/dist/esm/{chunk-ZPAGJE7S.js.map → chunk-AD6PFNOU.js.map} +1 -1
- package/dist/esm/{chunk-GBMX6FHY.js → chunk-ALBEW4DJ.js} +1 -1
- package/dist/esm/{chunk-GBMX6FHY.js.map → chunk-ALBEW4DJ.js.map} +1 -1
- package/dist/esm/{chunk-KWHGWTPB.js → chunk-CRU5TVHA.js} +4 -4
- package/dist/esm/{chunk-KWHGWTPB.js.map → chunk-CRU5TVHA.js.map} +1 -1
- package/dist/esm/{chunk-AT7N3AOZ.js → chunk-CYG3DDTX.js} +3 -2
- package/dist/esm/chunk-CYG3DDTX.js.map +7 -0
- package/dist/esm/{chunk-YAOUFM4D.js → chunk-HUCMGBEC.js} +295 -2
- package/dist/esm/chunk-HUCMGBEC.js.map +7 -0
- package/dist/esm/{chunk-RPPJMADS.js → chunk-J7OB2GEM.js} +6 -6
- package/dist/esm/{chunk-RPPJMADS.js.map → chunk-J7OB2GEM.js.map} +1 -1
- package/dist/esm/{chunk-FIUPFE4L.js → chunk-JIBAUV55.js} +7 -7
- package/dist/esm/{chunk-FIUPFE4L.js.map → chunk-JIBAUV55.js.map} +1 -1
- package/dist/esm/{chunk-ASJ4L4HQ.js → chunk-MC2D6L32.js} +3 -3
- package/dist/esm/{chunk-ASJ4L4HQ.js.map → chunk-MC2D6L32.js.map} +1 -1
- package/dist/esm/{chunk-RN5JA7BB.js → chunk-PDVAUAMY.js} +2 -2
- package/dist/esm/{chunk-RN5JA7BB.js.map → chunk-PDVAUAMY.js.map} +1 -1
- package/dist/esm/{chunk-AMOANNTB.js → chunk-PMKVGKT4.js} +4 -4
- package/dist/esm/{chunk-AMOANNTB.js.map → chunk-PMKVGKT4.js.map} +1 -1
- package/dist/esm/{chunk-DO7GZAW4.js → chunk-QZOJPCN5.js} +1 -1
- package/dist/esm/{chunk-DO7GZAW4.js.map → chunk-QZOJPCN5.js.map} +1 -1
- package/dist/esm/{chunk-BEXHMXCT.js → chunk-RHC3DIN3.js} +1 -1
- package/dist/esm/{chunk-BEXHMXCT.js.map → chunk-RHC3DIN3.js.map} +1 -1
- package/dist/esm/{chunk-43SBQEWR.js → chunk-V55YSWJY.js} +3 -3
- package/dist/esm/chunk-V55YSWJY.js.map +7 -0
- package/dist/esm/{chunk-YRNGJPFS.js → chunk-XQKTAWAA.js} +6 -6
- package/dist/esm/{chunk-YRNGJPFS.js.map → chunk-XQKTAWAA.js.map} +1 -1
- package/dist/esm/{clock.kpuzzle.json-PYHONPBY.js → clock.kpuzzle.json-3Q7KDODZ.js} +1 -1
- package/dist/esm/clock.kpuzzle.json-3Q7KDODZ.js.map +7 -0
- package/dist/esm/{fto-solver-TOOJNOZB.js → fto-solver-5EQEC77M.js} +2 -2
- package/dist/esm/{fto-solver-TOOJNOZB.js.map → fto-solver-5EQEC77M.js.map} +1 -1
- package/dist/esm/{fto.dynamic-ZIN22CCJ.js → fto.dynamic-ISSUUAOX.js} +6 -6
- package/dist/esm/{fto.dynamic-ZIN22CCJ.js.map → fto.dynamic-ISSUUAOX.js.map} +1 -1
- package/dist/esm/{kilosolver-A3MNW2DJ.js → kilosolver-RP3POREU.js} +3 -3
- package/dist/esm/{kilosolver-A3MNW2DJ.js.map → kilosolver-RP3POREU.js.map} +1 -1
- package/dist/esm/kpuzzle/index.js +2 -2
- package/dist/esm/{master_tetraminx-solver-QSJNGET5.js → master_tetraminx-solver-RFBUNQMC.js} +2 -2
- package/dist/esm/{master_tetraminx-solver-QSJNGET5.js.map → master_tetraminx-solver-RFBUNQMC.js.map} +1 -1
- package/dist/esm/{megaminx.sgs.json-4RFNTV3K.js → megaminx.sgs.json-NUXKWG2L.js} +6 -6
- package/dist/esm/{megaminx.sgs.json-4RFNTV3K.js.map → megaminx.sgs.json-NUXKWG2L.js.map} +0 -0
- package/dist/esm/notation/index.js +2 -2
- package/dist/esm/protocol/index.js +2 -3
- package/dist/esm/puzzle-geometry/index.js +2 -2
- package/dist/esm/puzzles/index.js +3 -3
- package/dist/esm/pyraminx.sgs.json-2BVIFZAF.js +14 -0
- package/dist/esm/{pyraminx.sgs.json-XWDFTFGD.js.map → pyraminx.sgs.json-2BVIFZAF.js.map} +0 -0
- package/dist/esm/{redi_cube-FYRLEZZH.js → redi_cube-5B6YHJGL.js} +3 -3
- package/dist/esm/{redi_cube-FYRLEZZH.js.map → redi_cube-5B6YHJGL.js.map} +1 -1
- package/dist/esm/{redi_cube.kpuzzle.json-43CP47Z6.js → redi_cube.kpuzzle.json-VGO74GBL.js} +1 -1
- package/dist/esm/{redi_cube.kpuzzle.json-43CP47Z6.js.map → redi_cube.kpuzzle.json-VGO74GBL.js.map} +1 -1
- package/dist/esm/scramble/index.js +8 -8
- package/dist/esm/search/index.js +8 -8
- package/dist/esm/{search-worker-js-entry-MQ5EKNR4.js → search-worker-js-entry-CZHIWNVF.js} +24 -24
- package/dist/esm/{search-worker-js-entry-MQ5EKNR4.js.map → search-worker-js-entry-CZHIWNVF.js.map} +1 -1
- package/dist/esm/{search-worker-ts-entry-AEZHCL75.js → search-worker-ts-entry-4WJDKASM.js} +5 -5
- package/dist/esm/{search-worker-ts-entry-AEZHCL75.js.map → search-worker-ts-entry-4WJDKASM.js.map} +1 -1
- package/dist/esm/skewb.sgs.json-IMR7QJQC.js +16 -0
- package/dist/esm/{skewb.sgs.json-ENZWYZTX.js.map → skewb.sgs.json-IMR7QJQC.js.map} +0 -0
- package/dist/esm/{sq1-hyperorbit.kpuzzle.json-AMXAFQCM.js → sq1-hyperorbit.kpuzzle.json-NHAYS6MD.js} +1 -1
- package/dist/esm/sq1-hyperorbit.kpuzzle.json-NHAYS6MD.js.map +7 -0
- package/dist/esm/{sq1-solver-KMN2GSOU.js → sq1-solver-G73T6FTJ.js} +2 -2
- package/dist/esm/{sq1-solver-KMN2GSOU.js.map → sq1-solver-G73T6FTJ.js.map} +1 -1
- package/dist/esm/stream/index.js +1 -1
- package/dist/esm/stream/index.js.map +1 -1
- package/dist/esm/twisty/index.js +73 -52
- package/dist/esm/twisty/index.js.map +2 -2
- package/dist/esm/{worker-inside-generated-string-HCFERKXI.js → worker-inside-generated-string-4FDHMKDI.js} +27 -27
- package/dist/esm/worker-inside-generated-string-4FDHMKDI.js.map +7 -0
- package/dist/types/Alg-6f3dc52c.d.ts +278 -0
- package/dist/types/KPuzzleDefinition-8531b592.d.ts +349 -0
- package/dist/types/KState-ba36d9a3.d.ts +70 -0
- package/dist/types/PuzzleLoader-a7faf593.d.ts +172 -0
- package/dist/types/alg/index.d.ts +49 -13
- package/dist/types/bluetooth/index.d.ts +147 -11
- package/dist/types/{bluetooth/smart-puzzle/bluetooth-puzzle.d.ts → bluetooth-puzzle-bc1a5264.d.ts} +14 -8
- package/dist/types/kpuzzle/index.d.ts +8 -6
- package/dist/types/notation/index.d.ts +8 -2
- package/dist/types/outside-d6602f71.d.ts +22 -0
- package/dist/types/parse-6d363160.d.ts +9 -0
- package/dist/types/protocol/index.d.ts +26 -4
- package/dist/types/puzzle-geometry/index.d.ts +7 -6
- package/dist/types/puzzles/index.d.ts +29 -12
- package/dist/types/scramble/index.d.ts +4 -1
- package/dist/types/search/index.d.ts +8 -2
- package/dist/types/stream/index.d.ts +57 -3
- package/dist/types/twisty/index.d.ts +1027 -16
- package/package.json +4 -2
- package/dist/esm/chunk-43SBQEWR.js.map +0 -7
- package/dist/esm/chunk-6BUCXDZU.js +0 -274
- package/dist/esm/chunk-6BUCXDZU.js.map +0 -7
- package/dist/esm/chunk-AT7N3AOZ.js.map +0 -7
- package/dist/esm/chunk-YAOUFM4D.js.map +0 -7
- package/dist/esm/clock.kpuzzle.json-PYHONPBY.js.map +0 -7
- package/dist/esm/pyraminx.sgs.json-XWDFTFGD.js +0 -14
- package/dist/esm/skewb.sgs.json-ENZWYZTX.js +0 -16
- package/dist/esm/sq1-hyperorbit.kpuzzle.json-AMXAFQCM.js.map +0 -7
- package/dist/esm/worker-inside-generated-string-HCFERKXI.js.map +0 -7
- package/dist/types/alg/Alg.d.ts +0 -118
- package/dist/types/alg/Alg.spec.d.ts +0 -1
- package/dist/types/alg/AlgBuilder.d.ts +0 -11
- package/dist/types/alg/Serializable.d.ts +0 -0
- package/dist/types/alg/common.d.ts +0 -19
- package/dist/types/alg/debug.d.ts +0 -4
- package/dist/types/alg/example.d.ts +0 -14
- package/dist/types/alg/is.d.ts +0 -4
- package/dist/types/alg/iteration.d.ts +0 -9
- package/dist/types/alg/keyboard.d.ts +0 -2
- package/dist/types/alg/limits.d.ts +0 -4
- package/dist/types/alg/operation.d.ts +0 -6
- package/dist/types/alg/operation.spec.d.ts +0 -1
- package/dist/types/alg/parse.d.ts +0 -12
- package/dist/types/alg/parse.spec.d.ts +0 -1
- package/dist/types/alg/test/alg-comparison.d.ts +0 -10
- package/dist/types/alg/test/alg.spec.d.ts +0 -1
- package/dist/types/alg/traversal.d.ts +0 -39
- package/dist/types/alg/units/QuantumWithAmount.d.ts +0 -11
- package/dist/types/alg/units/Unit.d.ts +0 -9
- package/dist/types/alg/units/containers/Commutator.d.ts +0 -14
- package/dist/types/alg/units/containers/Conjugate.d.ts +0 -14
- package/dist/types/alg/units/containers/Grouping.d.ts +0 -19
- package/dist/types/alg/units/index.d.ts +0 -8
- package/dist/types/alg/units/leaves/LineComment.d.ts +0 -12
- package/dist/types/alg/units/leaves/LineComment.spec.d.ts +0 -1
- package/dist/types/alg/units/leaves/Move.d.ts +0 -50
- package/dist/types/alg/units/leaves/Move.spec.d.ts +0 -1
- package/dist/types/alg/units/leaves/Newline.d.ts +0 -9
- package/dist/types/alg/units/leaves/Pause.d.ts +0 -9
- package/dist/types/alg/url.d.ts +0 -11
- package/dist/types/alg/url.spec.d.ts +0 -1
- package/dist/types/alg/validation.d.ts +0 -19
- package/dist/types/alg/warnOnce.d.ts +0 -1
- package/dist/types/bluetooth/connect/index.d.ts +0 -6
- package/dist/types/bluetooth/debug.d.ts +0 -2
- package/dist/types/bluetooth/keyboard.d.ts +0 -14
- package/dist/types/bluetooth/smart-puzzle/Heykube.d.ts +0 -17
- package/dist/types/bluetooth/smart-puzzle/connect.d.ts +0 -3
- package/dist/types/bluetooth/smart-puzzle/endianness.d.ts +0 -1
- package/dist/types/bluetooth/smart-puzzle/gan.d.ts +0 -34
- package/dist/types/bluetooth/smart-puzzle/giiker.d.ts +0 -21
- package/dist/types/bluetooth/smart-puzzle/giiker.spec.d.ts +0 -4
- package/dist/types/bluetooth/smart-puzzle/gocube.d.ts +0 -22
- package/dist/types/bluetooth/smart-robot/GanRobot.d.ts +0 -35
- package/dist/types/bluetooth/smart-robot/index.d.ts +0 -4
- package/dist/types/bluetooth/smart-timer/GanTimer.d.ts +0 -19
- package/dist/types/bluetooth/smart-timer/index.d.ts +0 -4
- package/dist/types/bluetooth/transformer.d.ts +0 -9
- package/dist/types/cubing.bundle-global.d.ts +0 -1
- package/dist/types/cubing.bundle-global.exports.d.ts +0 -24
- package/dist/types/kpuzzle/3x3x3/3x3x3.kpuzzle.json.d.ts +0 -2
- package/dist/types/kpuzzle/3x3x3/3x3x3.kpuzzle.json.spec.d.ts +0 -1
- package/dist/types/kpuzzle/3x3x3/puzzle-orientation.d.ts +0 -4
- package/dist/types/kpuzzle/KPuzzle.d.ts +0 -30
- package/dist/types/kpuzzle/KPuzzleDefinition.d.ts +0 -21
- package/dist/types/kpuzzle/KState.d.ts +0 -19
- package/dist/types/kpuzzle/KTransformation.d.ts +0 -24
- package/dist/types/kpuzzle/calculate.d.ts +0 -16
- package/dist/types/kpuzzle/combine.d.ts +0 -3
- package/dist/types/kpuzzle/construct.d.ts +0 -5
- package/dist/types/notation/CountAnimatedLeaves.d.ts +0 -2
- package/dist/types/notation/CountMoves.d.ts +0 -3
- package/dist/types/protocol/binary/binary3x3x3.d.ts +0 -19
- package/dist/types/protocol/binary/binary3x3x3.spec.d.ts +0 -1
- package/dist/types/protocol/binary/hex.d.ts +0 -2
- package/dist/types/protocol/binary/hex.spec.d.ts +0 -1
- package/dist/types/protocol/binary/orbit-indexing.d.ts +0 -5
- package/dist/types/protocol/binary/orbit-indexing.spec.d.ts +0 -1
- package/dist/types/protocol/binary/puzzle-orientation.d.ts +0 -4
- package/dist/types/puzzle-geometry/FaceNameSwizzler.d.ts +0 -12
- package/dist/types/puzzle-geometry/Options.d.ts +0 -45
- package/dist/types/puzzle-geometry/PGPuzzles.d.ts +0 -5
- package/dist/types/puzzle-geometry/PGPuzzles.spec.d.ts +0 -4
- package/dist/types/puzzle-geometry/Perm.d.ts +0 -18
- package/dist/types/puzzle-geometry/PermOriSet.d.ts +0 -71
- package/dist/types/puzzle-geometry/PlatonicGenerator.d.ts +0 -10
- package/dist/types/puzzle-geometry/PuzzleGeometry.d.ts +0 -176
- package/dist/types/puzzle-geometry/Quat.d.ts +0 -43
- package/dist/types/puzzle-geometry/Quat.spec.d.ts +0 -1
- package/dist/types/puzzle-geometry/SchreierSims.d.ts +0 -2
- package/dist/types/puzzle-geometry/notation-mapping/FTONotationMapper.d.ts +0 -10
- package/dist/types/puzzle-geometry/notation-mapping/FaceRenamingMapper.d.ts +0 -12
- package/dist/types/puzzle-geometry/notation-mapping/MegaminxScramblingNotationMapper.d.ts +0 -8
- package/dist/types/puzzle-geometry/notation-mapping/NotationMapper.d.ts +0 -7
- package/dist/types/puzzle-geometry/notation-mapping/NullMapper.d.ts +0 -6
- package/dist/types/puzzle-geometry/notation-mapping/NxNxNCubeMapper.d.ts +0 -8
- package/dist/types/puzzle-geometry/notation-mapping/PyraminxNotationMapper.d.ts +0 -15
- package/dist/types/puzzle-geometry/notation-mapping/SkewbNotationMapper.d.ts +0 -9
- package/dist/types/puzzle-geometry/notation-mapping/index.d.ts +0 -8
- package/dist/types/puzzle-geometry/orientcenters.spec.d.ts +0 -1
- package/dist/types/puzzles/PuzzleLoader.d.ts +0 -18
- package/dist/types/puzzles/async/async-pg3d.d.ts +0 -33
- package/dist/types/puzzles/async/lazy-cached.d.ts +0 -1
- package/dist/types/puzzles/customPGPuzzleLoader.d.ts +0 -11
- package/dist/types/puzzles/events.d.ts +0 -8
- package/dist/types/puzzles/implementations/2x2x2/2x2x2.kpuzzle.json.d.ts +0 -2
- package/dist/types/puzzles/implementations/2x2x2/2x2x2.kpuzzle.svg.d.ts +0 -2
- package/dist/types/puzzles/implementations/2x2x2/index.d.ts +0 -2
- package/dist/types/puzzles/implementations/3x3x3/3x3x3-ll.kpuzzle.svg.d.ts +0 -2
- package/dist/types/puzzles/implementations/3x3x3/3x3x3.kpuzzle.svg.d.ts +0 -2
- package/dist/types/puzzles/implementations/3x3x3/index.d.ts +0 -2
- package/dist/types/puzzles/implementations/clock/clock.kpuzzle.json.d.ts +0 -2
- package/dist/types/puzzles/implementations/clock/clock.kpuzzle.svg.d.ts +0 -2
- package/dist/types/puzzles/implementations/clock/index.d.ts +0 -2
- package/dist/types/puzzles/implementations/fto/fto.kpuzzle.svg.d.ts +0 -1
- package/dist/types/puzzles/implementations/fto/index.d.ts +0 -12
- package/dist/types/puzzles/implementations/kilominx/index.d.ts +0 -2
- package/dist/types/puzzles/implementations/kilominx/kilominx.kpuzzle.svg.d.ts +0 -1
- package/dist/types/puzzles/implementations/megaminx/index.d.ts +0 -11
- package/dist/types/puzzles/implementations/pyraminx/index.d.ts +0 -7
- package/dist/types/puzzles/implementations/pyraminx/pyraminx.kpuzzle.json.d.ts +0 -2
- package/dist/types/puzzles/implementations/pyraminx/pyraminx.kpuzzle.svg.d.ts +0 -2
- package/dist/types/puzzles/implementations/redi-cube/index.d.ts +0 -2
- package/dist/types/puzzles/implementations/redi-cube/redi_cube.kpuzzle.json.d.ts +0 -2
- package/dist/types/puzzles/implementations/redi-cube/redi_cube.kpuzzle.svg.d.ts +0 -1
- package/dist/types/puzzles/implementations/square1/index.d.ts +0 -2
- package/dist/types/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.json.d.ts +0 -2
- package/dist/types/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.svg.d.ts +0 -2
- package/dist/types/puzzles/stickerings/appearance.d.ts +0 -50
- package/dist/types/puzzles/stickerings/cube-stickerings.d.ts +0 -5
- package/dist/types/puzzles/stickerings/fto-stickerings.d.ts +0 -5
- package/dist/types/puzzles/stickerings/global-custom-stickering-hack.d.ts +0 -2
- package/dist/types/puzzles/stickerings/megaminx-stickerings.d.ts +0 -5
- package/dist/types/search/inside/api.d.ts +0 -21
- package/dist/types/search/inside/api.spec.d.ts +0 -1
- package/dist/types/search/inside/inside-worker.d.ts +0 -2
- package/dist/types/search/inside/search-worker-js-entry.d.ts +0 -1
- package/dist/types/search/inside/search-worker-ts-entry-path-getter.d.ts +0 -1
- package/dist/types/search/inside/search-worker-ts-entry.d.ts +0 -1
- package/dist/types/search/inside/solve/addOrientationSuffix.d.ts +0 -2
- package/dist/types/search/inside/solve/parseSGS.d.ts +0 -18
- package/dist/types/search/inside/solve/puzzles/2x2x2.d.ts +0 -6
- package/dist/types/search/inside/solve/puzzles/2x2x2.sgs.json.d.ts +0 -3
- package/dist/types/search/inside/solve/puzzles/3x3x3/convert.d.ts +0 -2
- package/dist/types/search/inside/solve/puzzles/3x3x3/filter.d.ts +0 -4
- package/dist/types/search/inside/solve/puzzles/3x3x3/index.d.ts +0 -8
- package/dist/types/search/inside/solve/puzzles/3x3x3/legacy-sgs.d.ts +0 -1
- package/dist/types/search/inside/solve/puzzles/3x3x3-inefficient.sgs.json.d.ts +0 -3
- package/dist/types/search/inside/solve/puzzles/4x4x4.d.ts +0 -4
- package/dist/types/search/inside/solve/puzzles/5x5x5.d.ts +0 -2
- package/dist/types/search/inside/solve/puzzles/big-cubes.d.ts +0 -2
- package/dist/types/search/inside/solve/puzzles/clock.d.ts +0 -1
- package/dist/types/search/inside/solve/puzzles/fto.d.ts +0 -5
- package/dist/types/search/inside/solve/puzzles/fto.dynamic.d.ts +0 -3
- package/dist/types/search/inside/solve/puzzles/kilominx.d.ts +0 -2
- package/dist/types/search/inside/solve/puzzles/master_tetraminx.d.ts +0 -2
- package/dist/types/search/inside/solve/puzzles/megaminx.d.ts +0 -4
- package/dist/types/search/inside/solve/puzzles/megaminx.sgs.json.d.ts +0 -5
- package/dist/types/search/inside/solve/puzzles/pyraminx.d.ts +0 -6
- package/dist/types/search/inside/solve/puzzles/pyraminx.sgs.json.d.ts +0 -3
- package/dist/types/search/inside/solve/puzzles/redi_cube.d.ts +0 -2
- package/dist/types/search/inside/solve/puzzles/sgs-defs.spec.d.ts +0 -1
- package/dist/types/search/inside/solve/puzzles/skewb.d.ts +0 -6
- package/dist/types/search/inside/solve/puzzles/skewb.sgs.json.d.ts +0 -5
- package/dist/types/search/inside/solve/puzzles/sq1.d.ts +0 -2
- package/dist/types/search/inside/solve/puzzles/wca-minx.d.ts +0 -1
- package/dist/types/search/inside/solve/tremble.d.ts +0 -13
- package/dist/types/search/inside/worker-guard.d.ts +0 -3
- package/dist/types/search/instantiator.d.ts +0 -4
- package/dist/types/search/outside.d.ts +0 -17
- package/dist/types/search/worker-inside-generated-string.d.ts +0 -1
- package/dist/types/stream/process/ReorientedStream.d.ts +0 -20
- package/dist/types/stream/proxy-event.d.ts +0 -13
- package/dist/types/stream/twizzle/TwizzleStream.d.ts +0 -18
- package/dist/types/stream/twizzle/stream-types.d.ts +0 -32
- package/dist/types/stream/websocket-proxy.d.ts +0 -21
- package/dist/types/twisty/controllers/AnimationTypes.d.ts +0 -32
- package/dist/types/twisty/controllers/RenderScheduler.d.ts +0 -12
- package/dist/types/twisty/controllers/TwistyAnimationController.d.ts +0 -36
- package/dist/types/twisty/controllers/TwistyPlayerController.d.ts +0 -15
- package/dist/types/twisty/controllers/easing.d.ts +0 -1
- package/dist/types/twisty/controllers/indexer/AlgDuration.d.ts +0 -17
- package/dist/types/twisty/controllers/indexer/AlgIndexer.d.ts +0 -36
- package/dist/types/twisty/controllers/indexer/SimpleAlgIndexer.d.ts +0 -19
- package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexer.d.ts +0 -22
- package/dist/types/twisty/controllers/indexer/simultaneous-moves/simul-moves.d.ts +0 -25
- package/dist/types/twisty/controllers/indexer/tree/AlgWalker.d.ts +0 -63
- package/dist/types/twisty/controllers/indexer/tree/TreeAlgIndexer.d.ts +0 -20
- package/dist/types/twisty/controllers/indexer/tree/chunkAlgs.d.ts +0 -2
- package/dist/types/twisty/controllers/stream/timeline-move-calculation-draft.d.ts +0 -15
- package/dist/types/twisty/heavy-code-imports/3d.d.ts +0 -2
- package/dist/types/twisty/heavy-code-imports/dynamic-entries/3d-dynamic.d.ts +0 -10
- package/dist/types/twisty/model/PromiseFreshener.d.ts +0 -13
- package/dist/types/twisty/model/TwistyPlayerModel.d.ts +0 -85
- package/dist/types/twisty/model/TwistySceneModel.d.ts +0 -27
- package/dist/types/twisty/model/UserVisibleErrorTracker.d.ts +0 -10
- package/dist/types/twisty/model/helpers.d.ts +0 -4
- package/dist/types/twisty/model/props/TwistyProp.d.ts +0 -59
- package/dist/types/twisty/model/props/TwistyProp.spec.d.ts +0 -4
- package/dist/types/twisty/model/props/TwistyPropDebugger.d.ts +0 -26
- package/dist/types/twisty/model/props/general/ArbitraryStringProp.d.ts +0 -4
- package/dist/types/twisty/model/props/general/URLProp.d.ts +0 -5
- package/dist/types/twisty/model/props/puzzle/display/FoundationDisplayProp.d.ts +0 -5
- package/dist/types/twisty/model/props/puzzle/display/HintFaceletProp.d.ts +0 -10
- package/dist/types/twisty/model/props/puzzle/display/SpriteProp.d.ts +0 -9
- package/dist/types/twisty/model/props/puzzle/display/StickeringProp.d.ts +0 -50
- package/dist/types/twisty/model/props/puzzle/state/AlgProp.d.ts +0 -26
- package/dist/types/twisty/model/props/puzzle/state/AlgTransformationProp.d.ts +0 -11
- package/dist/types/twisty/model/props/puzzle/state/AnchorTransformationProp.d.ts +0 -14
- package/dist/types/twisty/model/props/puzzle/state/CatchUpMoveProp.d.ts +0 -10
- package/dist/types/twisty/model/props/puzzle/state/CurrentLeavesSimplified.d.ts +0 -16
- package/dist/types/twisty/model/props/puzzle/state/CurrentMoveInfoProp.d.ts +0 -13
- package/dist/types/twisty/model/props/puzzle/state/CurrentStateProp.d.ts +0 -14
- package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorProp.d.ts +0 -19
- package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorRequestProp.d.ts +0 -11
- package/dist/types/twisty/model/props/puzzle/state/IndexerProp.d.ts +0 -14
- package/dist/types/twisty/model/props/puzzle/state/LegacyPositionProp.d.ts +0 -11
- package/dist/types/twisty/model/props/puzzle/state/MovePressInputProp.d.ts +0 -10
- package/dist/types/twisty/model/props/puzzle/state/NaiveMoveCountProp.d.ts +0 -9
- package/dist/types/twisty/model/props/puzzle/state/PuzzleAlgProp.d.ts +0 -13
- package/dist/types/twisty/model/props/puzzle/state/SetupAnchorProp.d.ts +0 -9
- package/dist/types/twisty/model/props/puzzle/state/SetupTransformationProp.d.ts +0 -5
- package/dist/types/twisty/model/props/puzzle/structure/KPuzzleProp.d.ts +0 -10
- package/dist/types/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.d.ts +0 -5
- package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDProp.d.ts +0 -10
- package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.d.ts +0 -25
- package/dist/types/twisty/model/props/puzzle/structure/PuzzleLoaderProp.d.ts +0 -12
- package/dist/types/twisty/model/props/timeline/CoarseTimelineInfoProp.d.ts +0 -24
- package/dist/types/twisty/model/props/timeline/DetailedTimelineInfoProp.d.ts +0 -21
- package/dist/types/twisty/model/props/timeline/PlayingInfoProp.d.ts +0 -14
- package/dist/types/twisty/model/props/timeline/TempoScaleProp.d.ts +0 -5
- package/dist/types/twisty/model/props/timeline/TimestampRequestProp.d.ts +0 -15
- package/dist/types/twisty/model/props/viewer/BackViewProp.d.ts +0 -11
- package/dist/types/twisty/model/props/viewer/BackgroundProp.d.ts +0 -10
- package/dist/types/twisty/model/props/viewer/ButtonAppearanceProp.d.ts +0 -21
- package/dist/types/twisty/model/props/viewer/ControlPanelProp.d.ts +0 -10
- package/dist/types/twisty/model/props/viewer/LatitudeLimit.d.ts +0 -5
- package/dist/types/twisty/model/props/viewer/OrbitCoordinatesProp.d.ts +0 -28
- package/dist/types/twisty/model/props/viewer/OrbitCoordinatesRequestProp.d.ts +0 -14
- package/dist/types/twisty/model/props/viewer/TimeRangeProp.d.ts +0 -10
- package/dist/types/twisty/model/props/viewer/ViewerLinkProp.d.ts +0 -11
- package/dist/types/twisty/model/props/viewer/VisualizationProp.d.ts +0 -12
- package/dist/types/twisty/model/props/viewer/VisualizationStrategyProp.d.ts +0 -12
- package/dist/types/twisty/views/2D/KPuzzleSVGWrapper.d.ts +0 -17
- package/dist/types/twisty/views/2D/Twisty2DPuzzle.css.d.ts +0 -2
- package/dist/types/twisty/views/2D/Twisty2DPuzzle.d.ts +0 -27
- package/dist/types/twisty/views/2D/Twisty2DPuzzleWrapper.d.ts +0 -15
- package/dist/types/twisty/views/2D/Twisty2DSceneWrapper.d.ts +0 -19
- package/dist/types/twisty/views/3D/DragTracker.d.ts +0 -27
- package/dist/types/twisty/views/3D/RendererPool.d.ts +0 -3
- package/dist/types/twisty/views/3D/TAU.d.ts +0 -2
- package/dist/types/twisty/views/3D/Twisty3DPuzzleWrapper.d.ts +0 -21
- package/dist/types/twisty/views/3D/Twisty3DRenderTarget.d.ts +0 -3
- package/dist/types/twisty/views/3D/Twisty3DScene.d.ts +0 -14
- package/dist/types/twisty/views/3D/Twisty3DSceneWrapper.d.ts +0 -33
- package/dist/types/twisty/views/3D/Twisty3DVantage.css.d.ts +0 -2
- package/dist/types/twisty/views/3D/Twisty3DVantage.d.ts +0 -36
- package/dist/types/twisty/views/3D/TwistyOrbitControls.d.ts +0 -23
- package/dist/types/twisty/views/3D/TwistyOrbitControls.spec.d.ts +0 -4
- package/dist/types/twisty/views/3D/puzzles/Cube3D.d.ts +0 -58
- package/dist/types/twisty/views/3D/puzzles/PG3D.d.ts +0 -64
- package/dist/types/twisty/views/3D/puzzles/Twisty3DPuzzle.d.ts +0 -5
- package/dist/types/twisty/views/ClassListManager.d.ts +0 -10
- package/dist/types/twisty/views/ManagedCustomElement.d.ts +0 -19
- package/dist/types/twisty/views/TwistyAlgEditor/LeafTokens.d.ts +0 -17
- package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.css.d.ts +0 -2
- package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.d.ts +0 -40
- package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.spec.d.ts +0 -4
- package/dist/types/twisty/views/TwistyAlgEditor/model.d.ts +0 -60
- package/dist/types/twisty/views/TwistyAlgViewer.css.d.ts +0 -2
- package/dist/types/twisty/views/TwistyAlgViewer.d.ts +0 -51
- package/dist/types/twisty/views/TwistyPlayer.css.d.ts +0 -2
- package/dist/types/twisty/views/TwistyPlayer.d.ts +0 -112
- package/dist/types/twisty/views/TwistyPlayerSettable.d.ts +0 -79
- package/dist/types/twisty/views/TwistyViewerWrapper.css.d.ts +0 -2
- package/dist/types/twisty/views/canvas.d.ts +0 -2
- package/dist/types/twisty/views/control-panel/TwistyButtons.css.d.ts +0 -3
- package/dist/types/twisty/views/control-panel/TwistyButtons.d.ts +0 -32
- package/dist/types/twisty/views/control-panel/TwistyScrubber.css.d.ts +0 -2
- package/dist/types/twisty/views/control-panel/TwistyScrubber.d.ts +0 -13
- package/dist/types/twisty/views/control-panel/webkit-fullscreen.d.ts +0 -14
- package/dist/types/twisty/views/document.d.ts +0 -1
- package/dist/types/twisty/views/node-custom-element-shims.d.ts +0 -4
- package/dist/types/twisty/views/screenshot.d.ts +0 -11
- package/dist/types/twisty/views/stream/TwistyStreamSource.css.d.ts +0 -2
- package/dist/types/twisty/views/stream/TwistyStreamSource.d.ts +0 -12
- package/dist/types/twisty/views/twizzle/TwizzleLink.css.d.ts +0 -2
- package/dist/types/twisty/views/twizzle/TwizzleLink.d.ts +0 -11
- package/dist/types/twisty/views/twizzle/url-params.d.ts +0 -18
- package/dist/types/vendor/comlink-everywhere/inside/index.d.ts +0 -4
- package/dist/types/vendor/comlink-everywhere/node-adapter.d.ts +0 -6
- package/dist/types/vendor/comlink-everywhere/outside/index.d.ts +0 -5
- package/dist/types/vendor/cstimer/src/js/lib/mathlib.d.ts +0 -4
- package/dist/types/vendor/cstimer/src/js/scramble/444-solver.d.ts +0 -3
- package/dist/types/vendor/min2phase/3x3x3-min2phase.d.ts +0 -2
- package/dist/types/vendor/p-lazy/p-lazy.d.ts +0 -9
- package/dist/types/vendor/random-uint-below/get-random-values.d.ts +0 -2
- package/dist/types/vendor/random-uint-below/index.d.ts +0 -3
- package/dist/types/vendor/random-uint-below/random-choice.d.ts +0 -1
- package/dist/types/vendor/random-uint-below/random53BitValue.d.ts +0 -1
- package/dist/types/vendor/sq12phase/sq1-solver.d.ts +0 -1
- package/dist/types/vendor/three/examples/jsm/libs/stats.modified.module.d.ts +0 -32
- package/dist/types/vendor/unsafe-raw-aes/unsafe-raw-aes.d.ts +0 -3
- package/dist/types/vendor/xyzzy/fto-solver-original.d.ts +0 -148
- package/dist/types/vendor/xyzzy/fto-solver.d.ts +0 -1
- package/dist/types/vendor/xyzzy/kilosolver.d.ts +0 -2
- package/dist/types/vendor/xyzzy/master_tetraminx-solver.d.ts +0 -1
- package/dist/types/vendor/xyzzy/redi_cube.d.ts +0 -2
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import type { UserVisibleErrorTracker } from "../UserVisibleErrorTracker";
|
|
2
|
-
declare type InputRecord = {};
|
|
3
|
-
export declare type InputProps<T extends InputRecord> = {
|
|
4
|
-
[s in keyof T]: TwistyPropParent<T[s]>;
|
|
5
|
-
};
|
|
6
|
-
interface SourceEventDetail<OutputType> {
|
|
7
|
-
sourceProp: TwistyPropSource<OutputType, any>;
|
|
8
|
-
value: Promise<OutputType>;
|
|
9
|
-
generation: number;
|
|
10
|
-
}
|
|
11
|
-
declare type SourceEvent<T> = CustomEvent<SourceEventDetail<T>>;
|
|
12
|
-
declare type PromiseOrValue<T> = T | Promise<T>;
|
|
13
|
-
export declare abstract class TwistyPropParent<T> {
|
|
14
|
-
#private;
|
|
15
|
-
abstract get(): Promise<T>;
|
|
16
|
-
canReuse(v1: T, v2: T): boolean;
|
|
17
|
-
canReuseValue(_v1: T, _v2: T): boolean;
|
|
18
|
-
debugGetChildren(): Array<TwistyPropDerived<any, any>>;
|
|
19
|
-
protected addChild(child: TwistyPropDerived<any, any>): void;
|
|
20
|
-
protected removeChild(child: TwistyPropDerived<any, any>): void;
|
|
21
|
-
protected lastSourceGeneration: number;
|
|
22
|
-
protected markStale(sourceEvent: SourceEvent<any>): void;
|
|
23
|
-
/** @deprecated */
|
|
24
|
-
addRawListener(listener: () => void, options?: {
|
|
25
|
-
initial: boolean;
|
|
26
|
-
}): void;
|
|
27
|
-
/** @deprecated */
|
|
28
|
-
removeRawListener(listener: () => void): void;
|
|
29
|
-
addFreshListener(listener: (value: T) => void): void;
|
|
30
|
-
removeFreshListener(listener: (value: T) => void): void;
|
|
31
|
-
}
|
|
32
|
-
export declare abstract class TwistyPropSource<OutputType, InputType = OutputType> extends TwistyPropParent<OutputType> {
|
|
33
|
-
#private;
|
|
34
|
-
abstract getDefaultValue(): PromiseOrValue<OutputType>;
|
|
35
|
-
constructor(initialValue?: PromiseOrValue<InputType>);
|
|
36
|
-
set(input: PromiseOrValue<InputType>): void;
|
|
37
|
-
get(): Promise<OutputType>;
|
|
38
|
-
deriveFromPromiseOrValue(input: PromiseOrValue<InputType>, oldValuePromise: Promise<OutputType>): Promise<OutputType>;
|
|
39
|
-
protected abstract derive(input: InputType, oldValuePromise: Promise<OutputType>): PromiseOrValue<OutputType>;
|
|
40
|
-
}
|
|
41
|
-
export declare abstract class SimpleTwistyPropSource<SimpleType> extends TwistyPropSource<SimpleType> {
|
|
42
|
-
derive(input: SimpleType): PromiseOrValue<SimpleType>;
|
|
43
|
-
}
|
|
44
|
-
export declare const NO_VALUE: unique symbol;
|
|
45
|
-
export declare type NoValueType = typeof NO_VALUE;
|
|
46
|
-
export declare abstract class TwistyPropDerived<InputTypes extends InputRecord, OutputType> extends TwistyPropParent<OutputType> {
|
|
47
|
-
#private;
|
|
48
|
-
protected userVisibleErrorTracker?: UserVisibleErrorTracker | undefined;
|
|
49
|
-
constructor(parents: InputProps<InputTypes>, userVisibleErrorTracker?: UserVisibleErrorTracker | undefined);
|
|
50
|
-
get(): Promise<OutputType>;
|
|
51
|
-
protected abstract derive(input: InputTypes): PromiseOrValue<OutputType>;
|
|
52
|
-
}
|
|
53
|
-
export declare class FreshListenerManager {
|
|
54
|
-
#private;
|
|
55
|
-
addListener<T>(prop: TwistyPropParent<T>, listener: (value: T) => void): void;
|
|
56
|
-
addMultiListener<U, V>(props: [TwistyPropParent<U>, TwistyPropParent<V>], listener: (values: [U, V]) => void): void;
|
|
57
|
-
disconnect(): void;
|
|
58
|
-
}
|
|
59
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ManagedCustomElement } from "../../views/ManagedCustomElement";
|
|
2
|
-
import type { TwistyPlayer } from "../../views/TwistyPlayer";
|
|
3
|
-
import { TwistyPropParent } from "./TwistyProp";
|
|
4
|
-
export declare class TwistyPropDebugger extends ManagedCustomElement {
|
|
5
|
-
#private;
|
|
6
|
-
private name;
|
|
7
|
-
twistyProp: TwistyPropParent<any>;
|
|
8
|
-
constructor(name: string, twistyProp: TwistyPropParent<any>);
|
|
9
|
-
valueElem: HTMLElement | null;
|
|
10
|
-
connectedCallback(): void;
|
|
11
|
-
onPropRaw(): Promise<void>;
|
|
12
|
-
onProp(value: any): Promise<void>;
|
|
13
|
-
setHighlight(highlightType: "de-emphasize" | "grandparent-or-further" | "parent" | "self" | "child" | "grandchild-or-further" | null): void;
|
|
14
|
-
}
|
|
15
|
-
export declare class TwistyPlayerDebugger extends ManagedCustomElement {
|
|
16
|
-
private player;
|
|
17
|
-
constructor(player: TwistyPlayer);
|
|
18
|
-
connectedCallback(): void;
|
|
19
|
-
twistyPropDebuggers: Map<TwistyPropParent<any>, TwistyPropDebugger>;
|
|
20
|
-
parentPropElems: Map<TwistyPropDebugger, Set<TwistyPropDebugger>>;
|
|
21
|
-
childPropElems: Map<TwistyPropDebugger, Set<TwistyPropDebugger>>;
|
|
22
|
-
currentHighlighted: TwistyPropDebugger | null;
|
|
23
|
-
highlightFamilyTree(prop: TwistyPropDebugger): void;
|
|
24
|
-
getDescendants(prop: TwistyPropDebugger, accumulator?: Set<TwistyPropDebugger>): Set<TwistyPropDebugger>;
|
|
25
|
-
getAncestors(prop: TwistyPropDebugger, accumulator?: Set<TwistyPropDebugger>): Set<TwistyPropDebugger>;
|
|
26
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SimpleTwistyPropSource } from "../../TwistyProp";
|
|
2
|
-
export declare const hintFaceletStyles: {
|
|
3
|
-
floating: boolean;
|
|
4
|
-
none: boolean;
|
|
5
|
-
};
|
|
6
|
-
export declare type HintFaceletStyle = keyof typeof hintFaceletStyles;
|
|
7
|
-
export declare type HintFaceletStyleWithAuto = HintFaceletStyle | "auto";
|
|
8
|
-
export declare class HintFaceletProp extends SimpleTwistyPropSource<HintFaceletStyleWithAuto> {
|
|
9
|
-
getDefaultValue(): HintFaceletStyleWithAuto;
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Texture } from "three";
|
|
2
|
-
import { TwistyPropDerived } from "../../TwistyProp";
|
|
3
|
-
declare type SpritePropInputs = {
|
|
4
|
-
spriteURL: URL | null;
|
|
5
|
-
};
|
|
6
|
-
export declare class SpriteProp extends TwistyPropDerived<SpritePropInputs, Texture | null> {
|
|
7
|
-
derive(inputs: SpritePropInputs): Promise<Texture | null>;
|
|
8
|
-
}
|
|
9
|
-
export {};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { SimpleTwistyPropSource } from "../../TwistyProp";
|
|
2
|
-
export declare const experimentalStickerings: {
|
|
3
|
-
full: boolean;
|
|
4
|
-
"centers-only": boolean;
|
|
5
|
-
PLL: boolean;
|
|
6
|
-
CLS: boolean;
|
|
7
|
-
OLL: boolean;
|
|
8
|
-
COLL: boolean;
|
|
9
|
-
OCLL: boolean;
|
|
10
|
-
CLL: boolean;
|
|
11
|
-
ELL: boolean;
|
|
12
|
-
ELS: boolean;
|
|
13
|
-
LL: boolean;
|
|
14
|
-
F2L: boolean;
|
|
15
|
-
ZBLL: boolean;
|
|
16
|
-
ZBLS: boolean;
|
|
17
|
-
WVLS: boolean;
|
|
18
|
-
VLS: boolean;
|
|
19
|
-
LS: boolean;
|
|
20
|
-
EO: boolean;
|
|
21
|
-
EOline: boolean;
|
|
22
|
-
EOcross: boolean;
|
|
23
|
-
CMLL: boolean;
|
|
24
|
-
L6E: boolean;
|
|
25
|
-
L6EO: boolean;
|
|
26
|
-
Daisy: boolean;
|
|
27
|
-
Cross: boolean;
|
|
28
|
-
"2x2x2": boolean;
|
|
29
|
-
"2x2x3": boolean;
|
|
30
|
-
"Void Cube": boolean;
|
|
31
|
-
invisible: boolean;
|
|
32
|
-
picture: boolean;
|
|
33
|
-
"experimental-centers-U": boolean;
|
|
34
|
-
"experimental-centers-U-D": boolean;
|
|
35
|
-
"experimental-centers-U-L-D": boolean;
|
|
36
|
-
"experimental-centers-U-L-B-D": boolean;
|
|
37
|
-
"experimental-centers": boolean;
|
|
38
|
-
"experimental-fto-fc": boolean;
|
|
39
|
-
"experimental-fto-f2t": boolean;
|
|
40
|
-
"experimental-fto-sc": boolean;
|
|
41
|
-
"experimental-fto-l2c": boolean;
|
|
42
|
-
"experimental-fto-lbt": boolean;
|
|
43
|
-
"experimental-fto-l3t": boolean;
|
|
44
|
-
"experimental-global-custom-1": boolean;
|
|
45
|
-
"experimental-global-custom-2": boolean;
|
|
46
|
-
};
|
|
47
|
-
export declare type ExperimentalStickering = keyof typeof experimentalStickerings;
|
|
48
|
-
export declare class StickeringProp extends SimpleTwistyPropSource<ExperimentalStickering> {
|
|
49
|
-
getDefaultValue(): ExperimentalStickering;
|
|
50
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Alg } from "../../../../../alg";
|
|
2
|
-
import { TwistyPropSource } from "../../TwistyProp";
|
|
3
|
-
export declare class AlgIssues {
|
|
4
|
-
readonly warnings: readonly string[];
|
|
5
|
-
readonly errors: readonly string[];
|
|
6
|
-
constructor(issues?: {
|
|
7
|
-
warnings?: string[];
|
|
8
|
-
errors?: string[];
|
|
9
|
-
});
|
|
10
|
-
add(issues?: {
|
|
11
|
-
warnings?: string[];
|
|
12
|
-
errors?: string[];
|
|
13
|
-
}): AlgIssues;
|
|
14
|
-
/** @deprecated */
|
|
15
|
-
log(): void;
|
|
16
|
-
}
|
|
17
|
-
export interface AlgWithIssues {
|
|
18
|
-
alg: Alg;
|
|
19
|
-
issues: AlgIssues;
|
|
20
|
-
}
|
|
21
|
-
export declare function algWithIssuesFromString(s: string): AlgWithIssues;
|
|
22
|
-
export declare class AlgProp extends TwistyPropSource<AlgWithIssues, Alg | string> {
|
|
23
|
-
getDefaultValue(): AlgWithIssues;
|
|
24
|
-
canReuseValue(v1: AlgWithIssues, v2: AlgWithIssues): boolean;
|
|
25
|
-
derive(newAlg: Alg | string): Promise<AlgWithIssues>;
|
|
26
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { KPuzzle, KTransformation } from "../../../../../kpuzzle";
|
|
2
|
-
import { TwistyPropDerived } from "../../TwistyProp";
|
|
3
|
-
import type { AlgWithIssues } from "./AlgProp";
|
|
4
|
-
declare type AlgTransformationPropInputs = {
|
|
5
|
-
setupAlg: AlgWithIssues;
|
|
6
|
-
kpuzzle: KPuzzle;
|
|
7
|
-
};
|
|
8
|
-
export declare class AlgTransformationProp extends TwistyPropDerived<AlgTransformationPropInputs, KTransformation> {
|
|
9
|
-
derive(input: AlgTransformationPropInputs): KTransformation;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { KTransformation } from "../../../../../kpuzzle";
|
|
2
|
-
import type { AlgIndexer } from "../../../../controllers/indexer/AlgIndexer";
|
|
3
|
-
import { TwistyPropDerived } from "../../TwistyProp";
|
|
4
|
-
import type { SetupToLocation } from "./SetupAnchorProp";
|
|
5
|
-
interface AnchorTransformationPropInputs {
|
|
6
|
-
setupTransformation: KTransformation | null;
|
|
7
|
-
setupAnchor: SetupToLocation;
|
|
8
|
-
setupAlgTransformation: KTransformation;
|
|
9
|
-
indexer: AlgIndexer;
|
|
10
|
-
}
|
|
11
|
-
export declare class AnchorTransformationProp extends TwistyPropDerived<AnchorTransformationPropInputs, KTransformation> {
|
|
12
|
-
derive(inputs: AnchorTransformationPropInputs): KTransformation;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Move } from "../../../../../alg";
|
|
2
|
-
import { SimpleTwistyPropSource } from "../../TwistyProp";
|
|
3
|
-
export interface CatchUpMove {
|
|
4
|
-
move: Move | null;
|
|
5
|
-
amount: number;
|
|
6
|
-
}
|
|
7
|
-
export declare class CatchUpMoveProp extends SimpleTwistyPropSource<CatchUpMove> {
|
|
8
|
-
getDefaultValue(): CatchUpMove;
|
|
9
|
-
canReuseValue(v1: CatchUpMove, v2: CatchUpMove): boolean;
|
|
10
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { Move } from "../../../../../alg";
|
|
2
|
-
import type { CurrentMoveInfo } from "../../../../controllers/indexer/AlgIndexer";
|
|
3
|
-
import { TwistyPropDerived } from "../../TwistyProp";
|
|
4
|
-
interface CurrentLeavesSimplifiedPropInputs {
|
|
5
|
-
currentMoveInfo: CurrentMoveInfo;
|
|
6
|
-
}
|
|
7
|
-
export interface CurrentLeavesSimplified {
|
|
8
|
-
stateIndex: number;
|
|
9
|
-
movesFinishing: Move[];
|
|
10
|
-
movesFinished: Move[];
|
|
11
|
-
}
|
|
12
|
-
export declare class CurrentLeavesSimplifiedProp extends TwistyPropDerived<CurrentLeavesSimplifiedPropInputs, CurrentLeavesSimplified> {
|
|
13
|
-
derive(inputs: CurrentLeavesSimplifiedPropInputs): CurrentLeavesSimplified;
|
|
14
|
-
canReuse(v1: CurrentLeavesSimplified, v2: CurrentLeavesSimplified): boolean;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { AlgIndexer, CurrentMoveInfo } from "../../../../controllers/indexer/AlgIndexer";
|
|
2
|
-
import type { DetailedTimelineInfo } from "../../timeline/DetailedTimelineInfoProp";
|
|
3
|
-
import { TwistyPropDerived } from "../../TwistyProp";
|
|
4
|
-
import type { CatchUpMove } from "./CatchUpMoveProp";
|
|
5
|
-
interface PositionPropInputs {
|
|
6
|
-
indexer: AlgIndexer;
|
|
7
|
-
detailedTimelineInfo: DetailedTimelineInfo;
|
|
8
|
-
catchUpMove: CatchUpMove;
|
|
9
|
-
}
|
|
10
|
-
export declare class CurrentMoveInfoProp extends TwistyPropDerived<PositionPropInputs, CurrentMoveInfo> {
|
|
11
|
-
derive(inputs: PositionPropInputs): CurrentMoveInfo;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { KTransformation } from "../../../../../kpuzzle";
|
|
2
|
-
import type { KState } from "../../../../../kpuzzle/KState";
|
|
3
|
-
import type { AlgIndexer } from "../../../../controllers/indexer/AlgIndexer";
|
|
4
|
-
import { TwistyPropDerived } from "../../TwistyProp";
|
|
5
|
-
import type { CurrentLeavesSimplified } from "./CurrentLeavesSimplified";
|
|
6
|
-
interface CurrentTransformationPropInputs {
|
|
7
|
-
anchoredStart: KTransformation;
|
|
8
|
-
currentLeavesSimplified: CurrentLeavesSimplified;
|
|
9
|
-
indexer: AlgIndexer;
|
|
10
|
-
}
|
|
11
|
-
export declare class CurrentStateProp extends TwistyPropDerived<CurrentTransformationPropInputs, KState> {
|
|
12
|
-
derive(inputs: CurrentTransformationPropInputs): KState;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { AlgIndexer } from "../../../..";
|
|
2
|
-
import type { Alg } from "../../../../../alg";
|
|
3
|
-
import type { KPuzzle } from "../../../../../kpuzzle";
|
|
4
|
-
import { TwistyPropDerived } from "../../TwistyProp";
|
|
5
|
-
import type { VisualizationStrategy } from "../../viewer/VisualizationStrategyProp";
|
|
6
|
-
import type { PuzzleID } from "../structure/PuzzleIDRequestProp";
|
|
7
|
-
import type { AlgWithIssues } from "./AlgProp";
|
|
8
|
-
import type { IndexerStrategyName } from "./IndexerConstructorRequestProp";
|
|
9
|
-
export declare type IndexerConstructor = new (kpuzzle: KPuzzle, alg: Alg) => AlgIndexer;
|
|
10
|
-
interface IndexerConstructorPropInputs {
|
|
11
|
-
puzzle: PuzzleID;
|
|
12
|
-
alg: AlgWithIssues;
|
|
13
|
-
visualizationStrategy: VisualizationStrategy;
|
|
14
|
-
indexerConstructorRequest: IndexerStrategyName;
|
|
15
|
-
}
|
|
16
|
-
export declare class IndexerConstructorProp extends TwistyPropDerived<IndexerConstructorPropInputs, IndexerConstructor> {
|
|
17
|
-
derive(inputs: IndexerConstructorPropInputs): IndexerConstructor;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { SimpleTwistyPropSource } from "../../TwistyProp";
|
|
2
|
-
export declare const indexerStrategyNames: {
|
|
3
|
-
auto: boolean;
|
|
4
|
-
simple: boolean;
|
|
5
|
-
tree: boolean;
|
|
6
|
-
simultaneous: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare type IndexerStrategyName = keyof typeof indexerStrategyNames;
|
|
9
|
-
export declare class IndexerConstructorRequestProp extends SimpleTwistyPropSource<IndexerStrategyName> {
|
|
10
|
-
getDefaultValue(): IndexerStrategyName;
|
|
11
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { KPuzzle } from "../../../../../kpuzzle";
|
|
2
|
-
import type { AlgIndexer } from "../../../../controllers/indexer/AlgIndexer";
|
|
3
|
-
import { TwistyPropDerived } from "../../TwistyProp";
|
|
4
|
-
import type { AlgWithIssues } from "./AlgProp";
|
|
5
|
-
import type { IndexerConstructor } from "./IndexerConstructorProp";
|
|
6
|
-
declare type IndexerPropInputs = {
|
|
7
|
-
indexerConstructor: IndexerConstructor;
|
|
8
|
-
algWithIssues: AlgWithIssues;
|
|
9
|
-
kpuzzle: KPuzzle;
|
|
10
|
-
};
|
|
11
|
-
export declare class IndexerProp extends TwistyPropDerived<IndexerPropInputs, AlgIndexer> {
|
|
12
|
-
derive(input: IndexerPropInputs): AlgIndexer;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { KState } from "../../../../../kpuzzle/KState";
|
|
2
|
-
import type { PuzzlePosition } from "../../../../controllers/AnimationTypes";
|
|
3
|
-
import type { CurrentMoveInfo } from "../../../../controllers/indexer/AlgIndexer";
|
|
4
|
-
import { TwistyPropDerived } from "../../TwistyProp";
|
|
5
|
-
export interface LegacyPositionPropInputs {
|
|
6
|
-
currentMoveInfo: CurrentMoveInfo;
|
|
7
|
-
state: KState;
|
|
8
|
-
}
|
|
9
|
-
export declare class LegacyPositionProp extends TwistyPropDerived<LegacyPositionPropInputs, PuzzlePosition> {
|
|
10
|
-
derive(inputs: LegacyPositionPropInputs): PuzzlePosition;
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SimpleTwistyPropSource } from "../../TwistyProp";
|
|
2
|
-
export declare const movePressInputNames: {
|
|
3
|
-
auto: boolean;
|
|
4
|
-
none: boolean;
|
|
5
|
-
basic: boolean;
|
|
6
|
-
};
|
|
7
|
-
export declare type MovePressInput = keyof typeof movePressInputNames;
|
|
8
|
-
export declare class MovePressInputProp extends SimpleTwistyPropSource<MovePressInput> {
|
|
9
|
-
getDefaultValue(): MovePressInput;
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TwistyPropDerived } from "../../TwistyProp";
|
|
2
|
-
import type { AlgWithIssues } from "./AlgProp";
|
|
3
|
-
interface NaiveMoveCountPropInputs {
|
|
4
|
-
alg: AlgWithIssues;
|
|
5
|
-
}
|
|
6
|
-
export declare class NaiveMoveCountProp extends TwistyPropDerived<NaiveMoveCountPropInputs, number | null> {
|
|
7
|
-
derive(inputs: NaiveMoveCountPropInputs): number | null;
|
|
8
|
-
}
|
|
9
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { KPuzzle } from "../../../../../kpuzzle";
|
|
2
|
-
import { TwistyPropDerived } from "../../TwistyProp";
|
|
3
|
-
import { AlgWithIssues } from "./AlgProp";
|
|
4
|
-
export declare function experimentalSetPuzzleAlgValidation(newValidate: boolean): void;
|
|
5
|
-
export declare class PuzzleAlgProp extends TwistyPropDerived<{
|
|
6
|
-
algWithIssues: AlgWithIssues;
|
|
7
|
-
kpuzzle: KPuzzle;
|
|
8
|
-
}, AlgWithIssues> {
|
|
9
|
-
derive(inputs: {
|
|
10
|
-
algWithIssues: AlgWithIssues;
|
|
11
|
-
kpuzzle: KPuzzle;
|
|
12
|
-
}): Promise<AlgWithIssues>;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SimpleTwistyPropSource } from "../../TwistyProp";
|
|
2
|
-
export declare const setupToLocations: {
|
|
3
|
-
start: boolean;
|
|
4
|
-
end: boolean;
|
|
5
|
-
};
|
|
6
|
-
export declare type SetupToLocation = keyof typeof setupToLocations;
|
|
7
|
-
export declare class SetupAnchorProp extends SimpleTwistyPropSource<SetupToLocation> {
|
|
8
|
-
getDefaultValue(): SetupToLocation;
|
|
9
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { KTransformation } from "../../../../../kpuzzle";
|
|
2
|
-
import { SimpleTwistyPropSource } from "../../TwistyProp";
|
|
3
|
-
export declare class SetupTransformationProp extends SimpleTwistyPropSource<KTransformation | null> {
|
|
4
|
-
getDefaultValue(): KTransformation | null;
|
|
5
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { KPuzzle } from "../../../../../kpuzzle";
|
|
2
|
-
import type { PuzzleLoader } from "../../../../../puzzles";
|
|
3
|
-
import { TwistyPropDerived } from "../../TwistyProp";
|
|
4
|
-
export declare class KPuzzleProp extends TwistyPropDerived<{
|
|
5
|
-
puzzleLoader: PuzzleLoader;
|
|
6
|
-
}, KPuzzle> {
|
|
7
|
-
derive(inputs: {
|
|
8
|
-
puzzleLoader: PuzzleLoader;
|
|
9
|
-
}): Promise<KPuzzle>;
|
|
10
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { PuzzleDescriptionString } from "../../../../../puzzle-geometry/PGPuzzles";
|
|
2
|
-
import { NoValueType, SimpleTwistyPropSource } from "../../TwistyProp";
|
|
3
|
-
export declare class PGPuzzleDescriptionStringProp extends SimpleTwistyPropSource<PuzzleDescriptionString | NoValueType> {
|
|
4
|
-
getDefaultValue(): PuzzleDescriptionString | NoValueType;
|
|
5
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { PuzzleLoader } from "../../../../../puzzles";
|
|
2
|
-
import { TwistyPropDerived } from "../../TwistyProp";
|
|
3
|
-
import type { PuzzleID } from "./PuzzleIDRequestProp";
|
|
4
|
-
export declare class PuzzleIDProp extends TwistyPropDerived<{
|
|
5
|
-
puzzleLoader: PuzzleLoader;
|
|
6
|
-
}, PuzzleID> {
|
|
7
|
-
derive(inputs: {
|
|
8
|
-
puzzleLoader: PuzzleLoader;
|
|
9
|
-
}): Promise<PuzzleID>;
|
|
10
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { NoValueType, SimpleTwistyPropSource } from "../../TwistyProp";
|
|
2
|
-
export declare const puzzleIDs: {
|
|
3
|
-
"3x3x3": boolean;
|
|
4
|
-
custom: boolean;
|
|
5
|
-
"2x2x2": boolean;
|
|
6
|
-
"4x4x4": boolean;
|
|
7
|
-
"5x5x5": boolean;
|
|
8
|
-
"6x6x6": boolean;
|
|
9
|
-
"7x7x7": boolean;
|
|
10
|
-
"40x40x40": boolean;
|
|
11
|
-
megaminx: boolean;
|
|
12
|
-
pyraminx: boolean;
|
|
13
|
-
square1: boolean;
|
|
14
|
-
clock: boolean;
|
|
15
|
-
skewb: boolean;
|
|
16
|
-
fto: boolean;
|
|
17
|
-
gigaminx: boolean;
|
|
18
|
-
master_tetraminx: boolean;
|
|
19
|
-
kilominx: boolean;
|
|
20
|
-
redi_cube: boolean;
|
|
21
|
-
};
|
|
22
|
-
export declare type PuzzleID = keyof typeof puzzleIDs;
|
|
23
|
-
export declare class PuzzleIDRequestProp extends SimpleTwistyPropSource<PuzzleID | NoValueType> {
|
|
24
|
-
getDefaultValue(): PuzzleID | NoValueType;
|
|
25
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { PuzzleDescriptionString } from "../../../../../puzzle-geometry/PGPuzzles";
|
|
2
|
-
import { PuzzleLoader } from "../../../../../puzzles";
|
|
3
|
-
import { NoValueType, TwistyPropDerived } from "../../TwistyProp";
|
|
4
|
-
import type { PuzzleID } from "./PuzzleIDRequestProp";
|
|
5
|
-
interface PuzzleLoaderPropInputs {
|
|
6
|
-
puzzleIDRequest: PuzzleID | NoValueType;
|
|
7
|
-
puzzleDescriptionRequest: PuzzleDescriptionString | NoValueType;
|
|
8
|
-
}
|
|
9
|
-
export declare class PuzzleLoaderProp extends TwistyPropDerived<PuzzleLoaderPropInputs, PuzzleLoader> {
|
|
10
|
-
derive(inputs: PuzzleLoaderPropInputs): PuzzleLoader;
|
|
11
|
-
}
|
|
12
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { ButtonCommand } from "../../../views/control-panel/TwistyButtons";
|
|
2
|
-
import type { PlayingInfo } from "./PlayingInfoProp";
|
|
3
|
-
import type { DetailedTimelineInfo } from "./DetailedTimelineInfoProp";
|
|
4
|
-
import { TwistyPropDerived } from "../TwistyProp";
|
|
5
|
-
interface ButtonAppearance {
|
|
6
|
-
enabled: boolean;
|
|
7
|
-
icon: string;
|
|
8
|
-
title: string;
|
|
9
|
-
}
|
|
10
|
-
export declare type ButtonAppearances = Record<ButtonCommand, ButtonAppearance>;
|
|
11
|
-
interface CoarseTimelineInfoInputs {
|
|
12
|
-
playingInfo: PlayingInfo;
|
|
13
|
-
detailedTimelineInfo: DetailedTimelineInfo;
|
|
14
|
-
}
|
|
15
|
-
export interface CoarseTimelineInfo {
|
|
16
|
-
playing: boolean;
|
|
17
|
-
atStart: boolean;
|
|
18
|
-
atEnd: boolean;
|
|
19
|
-
}
|
|
20
|
-
export declare class CoarseTimelineInfoProp extends TwistyPropDerived<CoarseTimelineInfoInputs, CoarseTimelineInfo> {
|
|
21
|
-
derive(inputs: CoarseTimelineInfoInputs): CoarseTimelineInfo;
|
|
22
|
-
canReuseValue(v1: CoarseTimelineInfo, v2: CoarseTimelineInfo): boolean;
|
|
23
|
-
}
|
|
24
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { MillisecondTimestamp, TimeRange } from "../../../controllers/AnimationTypes";
|
|
2
|
-
import type { TimestampRequest } from "./TimestampRequestProp";
|
|
3
|
-
import { TwistyPropDerived } from "../TwistyProp";
|
|
4
|
-
import type { SetupToLocation } from "../puzzle/state/SetupAnchorProp";
|
|
5
|
-
interface DetailedTimelineInfoInputs {
|
|
6
|
-
timestampRequest: TimestampRequest;
|
|
7
|
-
timeRange: TimeRange;
|
|
8
|
-
setupAnchor: SetupToLocation;
|
|
9
|
-
}
|
|
10
|
-
export interface DetailedTimelineInfo {
|
|
11
|
-
timestamp: MillisecondTimestamp;
|
|
12
|
-
timeRange: TimeRange;
|
|
13
|
-
atStart: boolean;
|
|
14
|
-
atEnd: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare class DetailedTimelineInfoProp extends TwistyPropDerived<DetailedTimelineInfoInputs, DetailedTimelineInfo> {
|
|
17
|
-
#private;
|
|
18
|
-
derive(inputs: DetailedTimelineInfoInputs): DetailedTimelineInfo;
|
|
19
|
-
canReuse(v1: DetailedTimelineInfo, v2: DetailedTimelineInfo): boolean;
|
|
20
|
-
}
|
|
21
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BoundaryType, Direction } from "../../../controllers/AnimationTypes";
|
|
2
|
-
import { TwistyPropSource } from "../TwistyProp";
|
|
3
|
-
export declare type SimpleDirection = Direction.Forwards | Direction.Backwards;
|
|
4
|
-
export interface PlayingInfo {
|
|
5
|
-
playing: boolean;
|
|
6
|
-
direction: SimpleDirection;
|
|
7
|
-
untilBoundary: BoundaryType;
|
|
8
|
-
loop: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare class PlayingInfoProp extends TwistyPropSource<PlayingInfo, Partial<PlayingInfo>> {
|
|
11
|
-
getDefaultValue(): Promise<PlayingInfo>;
|
|
12
|
-
derive(newInfo: Partial<PlayingInfo>, oldValuePromise: Promise<PlayingInfo>): Promise<PlayingInfo>;
|
|
13
|
-
canReuseValue(v1: PlayingInfo, v2: PlayingInfo): boolean;
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { MillisecondTimestamp } from "../../../controllers/AnimationTypes";
|
|
2
|
-
import { SimpleTwistyPropSource } from "../TwistyProp";
|
|
3
|
-
declare const smartTimestamps: {
|
|
4
|
-
start: boolean;
|
|
5
|
-
end: boolean;
|
|
6
|
-
anchor: boolean;
|
|
7
|
-
"opposite-anchor": boolean;
|
|
8
|
-
};
|
|
9
|
-
export declare type TimestampRequest = MillisecondTimestamp | keyof typeof smartTimestamps;
|
|
10
|
-
export declare class TimestampRequestProp extends SimpleTwistyPropSource<TimestampRequest> {
|
|
11
|
-
getDefaultValue(): TimestampRequest;
|
|
12
|
-
set(v: TimestampRequest): void;
|
|
13
|
-
validInput(v: TimestampRequest): boolean;
|
|
14
|
-
}
|
|
15
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { SimpleTwistyPropSource } from "../TwistyProp";
|
|
2
|
-
export declare const backViewLayouts: {
|
|
3
|
-
none: boolean;
|
|
4
|
-
"side-by-side": boolean;
|
|
5
|
-
"top-right": boolean;
|
|
6
|
-
};
|
|
7
|
-
export declare type BackViewLayout = keyof typeof backViewLayouts;
|
|
8
|
-
export declare type BackViewLayoutWithAuto = BackViewLayout | "auto";
|
|
9
|
-
export declare class BackViewProp extends SimpleTwistyPropSource<BackViewLayoutWithAuto> {
|
|
10
|
-
getDefaultValue(): BackViewLayoutWithAuto;
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SimpleTwistyPropSource } from "../TwistyProp";
|
|
2
|
-
export declare const backgroundThemes: {
|
|
3
|
-
checkered: boolean;
|
|
4
|
-
none: boolean;
|
|
5
|
-
};
|
|
6
|
-
export declare type BackgroundTheme = keyof typeof backgroundThemes;
|
|
7
|
-
export declare type BackgroundThemeWithAuto = BackgroundTheme | "auto";
|
|
8
|
-
export declare class BackgroundProp extends SimpleTwistyPropSource<BackgroundThemeWithAuto> {
|
|
9
|
-
getDefaultValue(): BackgroundThemeWithAuto;
|
|
10
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { ButtonCommand } from "../../../views/control-panel/TwistyButtons";
|
|
2
|
-
import type { ViewerLinkPageWithAuto } from "./ViewerLinkProp";
|
|
3
|
-
import type { CoarseTimelineInfo as CoarseTimelineInfo } from "../timeline/CoarseTimelineInfoProp";
|
|
4
|
-
import { TwistyPropDerived } from "../TwistyProp";
|
|
5
|
-
export declare const buttonIcons: string[];
|
|
6
|
-
export declare type ButtonIcon = typeof buttonIcons[number];
|
|
7
|
-
interface ButtonAppearance {
|
|
8
|
-
enabled: boolean;
|
|
9
|
-
icon: ButtonIcon;
|
|
10
|
-
title: string;
|
|
11
|
-
hidden?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare type ButtonAppearances = Record<ButtonCommand, ButtonAppearance>;
|
|
14
|
-
interface ButtonAppearancePropInputs {
|
|
15
|
-
coarseTimelineInfo: CoarseTimelineInfo;
|
|
16
|
-
viewerLink: ViewerLinkPageWithAuto;
|
|
17
|
-
}
|
|
18
|
-
export declare class ButtonAppearanceProp extends TwistyPropDerived<ButtonAppearancePropInputs, ButtonAppearances> {
|
|
19
|
-
derive(inputs: ButtonAppearancePropInputs): ButtonAppearances;
|
|
20
|
-
}
|
|
21
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SimpleTwistyPropSource } from "../TwistyProp";
|
|
2
|
-
export declare const controlsLocations: {
|
|
3
|
-
"bottom-row": boolean;
|
|
4
|
-
none: boolean;
|
|
5
|
-
};
|
|
6
|
-
export declare type ControlsLocation = keyof typeof controlsLocations;
|
|
7
|
-
export declare type ControlPanelThemeWithAuto = ControlsLocation | "auto";
|
|
8
|
-
export declare class ControlPanelProp extends SimpleTwistyPropSource<ControlPanelThemeWithAuto> {
|
|
9
|
-
getDefaultValue(): ControlPanelThemeWithAuto;
|
|
10
|
-
}
|