cubing 0.65.0-pre1 → 0.65.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/bin/chunks/{chunk-4SI4J46O.js → chunk-PDPPBQ4O.js} +3 -3
- package/dist/bin/chunks/chunk-PDPPBQ4O.js.map +7 -0
- package/dist/bin/order.js +1 -1
- package/dist/bin/puzzle-geometry-bin.js +1 -1
- package/dist/bin/scramble.js +1 -1
- package/dist/bin/svg.js +1 -1
- package/dist/lib/cubing/alg/index.d.ts +1 -1
- package/dist/lib/cubing/bluetooth/index.d.ts +15 -15
- package/dist/lib/cubing/chunks/{chunk-DTYBGCI3.js → chunk-4ADGSRLK.js} +4 -2
- package/dist/lib/cubing/chunks/chunk-4ADGSRLK.js.map +7 -0
- package/dist/lib/cubing/chunks/{chunk-7MYDNYZ3.js → chunk-DT3GVMDI.js} +5 -3
- package/dist/lib/cubing/chunks/chunk-DT3GVMDI.js.map +7 -0
- package/dist/lib/cubing/chunks/{inside-A7LIP56H.js → inside-IHWUJJ56.js} +14 -9
- package/dist/lib/cubing/chunks/inside-IHWUJJ56.js.map +7 -0
- package/dist/lib/cubing/chunks/{search-dynamic-solve-4x4x4-WWFUMIDG.js → search-dynamic-solve-4x4x4-2A2XBBWI.js} +3 -3
- package/dist/lib/cubing/chunks/search-worker-entry.js +1 -1
- package/dist/lib/cubing/{index-Doa1gNE4.d.ts → index-DO__MgsX.d.ts} +4 -4
- package/dist/lib/cubing/{index-C2x6Sc62.d.ts → index-DVoQwgPC.d.ts} +127 -127
- package/dist/lib/cubing/kpuzzle/index.d.ts +1 -1
- package/dist/lib/cubing/notation/index.d.ts +4 -4
- package/dist/lib/cubing/{outside-nf-4k7Tp.d.ts → outside-D6O0WicV.d.ts} +11 -9
- package/dist/lib/cubing/protocol/index.d.ts +3 -3
- package/dist/lib/cubing/puzzle-geometry/index.d.ts +1 -1
- package/dist/lib/cubing/puzzles/index.d.ts +1 -1
- package/dist/lib/cubing/scramble/index.d.ts +1 -1
- package/dist/lib/cubing/scramble/index.js +2 -2
- package/dist/lib/cubing/search/index.d.ts +2 -2
- package/dist/lib/cubing/search/index.js +2 -2
- package/dist/lib/cubing/stream/index.d.ts +1 -1
- package/dist/lib/cubing/twisty/index.d.ts +1 -1
- package/package.json +2 -2
- package/dist/bin/chunks/chunk-4SI4J46O.js.map +0 -7
- package/dist/lib/cubing/chunks/chunk-7MYDNYZ3.js.map +0 -7
- package/dist/lib/cubing/chunks/chunk-DTYBGCI3.js.map +0 -7
- package/dist/lib/cubing/chunks/inside-A7LIP56H.js.map +0 -7
- /package/dist/lib/cubing/chunks/{search-dynamic-solve-4x4x4-WWFUMIDG.js.map → search-dynamic-solve-4x4x4-2A2XBBWI.js.map} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { Tagged } from "type-fest";
|
|
2
2
|
import { Object3D, PerspectiveCamera, Raycaster, Scene, Texture, WebGLRenderer } from "three/src/Three.js";
|
|
3
3
|
|
|
4
|
-
//#region src/cubing/alg/iteration.d.ts
|
|
4
|
+
//#region ../src/cubing/alg/iteration.d.ts
|
|
5
5
|
type IterationDirection = (typeof IterationDirection)[keyof typeof IterationDirection];
|
|
6
6
|
declare const IterationDirection: {
|
|
7
7
|
Forwards: number;
|
|
8
8
|
Backwards: number;
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
|
-
//#region src/cubing/alg/SerializationOptions.d.ts
|
|
11
|
+
//#region ../src/cubing/alg/SerializationOptions.d.ts
|
|
12
12
|
type ExperimentalNotationType = "auto" | "LGN";
|
|
13
13
|
interface ExperimentalSerializationOptions {
|
|
14
14
|
notation?: ExperimentalNotationType;
|
|
15
15
|
}
|
|
16
16
|
//#endregion
|
|
17
|
-
//#region src/cubing/alg/common.d.ts
|
|
17
|
+
//#region ../src/cubing/alg/common.d.ts
|
|
18
18
|
declare abstract class Comparable {
|
|
19
19
|
is(c: any): boolean;
|
|
20
20
|
as<T>(c: new (...args: any) => T): T | null;
|
|
@@ -31,7 +31,7 @@ declare abstract class AlgCommon<T extends Alg | AlgNode> extends Comparable imp
|
|
|
31
31
|
abstract experimentalExpand(iterDir: IterationDirection): Generator<AlgLeaf>;
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
|
-
//#region src/cubing/alg/alg-nodes/containers/Commutator.d.ts
|
|
34
|
+
//#region ../src/cubing/alg/alg-nodes/containers/Commutator.d.ts
|
|
35
35
|
/** @category Alg Nodes */
|
|
36
36
|
declare class Commutator extends AlgCommon<Commutator> {
|
|
37
37
|
#private;
|
|
@@ -44,7 +44,7 @@ declare class Commutator extends AlgCommon<Commutator> {
|
|
|
44
44
|
toString(experimentalSerializationOptions?: ExperimentalSerializationOptions): string;
|
|
45
45
|
}
|
|
46
46
|
//#endregion
|
|
47
|
-
//#region src/cubing/alg/alg-nodes/containers/Conjugate.d.ts
|
|
47
|
+
//#region ../src/cubing/alg/alg-nodes/containers/Conjugate.d.ts
|
|
48
48
|
/** @category Alg Nodes */
|
|
49
49
|
declare class Conjugate extends AlgCommon<Conjugate> {
|
|
50
50
|
#private;
|
|
@@ -57,7 +57,7 @@ declare class Conjugate extends AlgCommon<Conjugate> {
|
|
|
57
57
|
toString(experimentalSerializationOptions?: ExperimentalSerializationOptions): string;
|
|
58
58
|
}
|
|
59
59
|
//#endregion
|
|
60
|
-
//#region src/cubing/alg/alg-nodes/leaves/Move.d.ts
|
|
60
|
+
//#region ../src/cubing/alg/alg-nodes/leaves/Move.d.ts
|
|
61
61
|
interface QuantumMoveModifications {
|
|
62
62
|
outerLayer?: number;
|
|
63
63
|
innerLayer?: number;
|
|
@@ -106,7 +106,7 @@ declare class Move extends AlgCommon<Move> {
|
|
|
106
106
|
toString(experimentalSerializationOptions?: ExperimentalSerializationOptions): string;
|
|
107
107
|
}
|
|
108
108
|
//#endregion
|
|
109
|
-
//#region src/cubing/alg/alg-nodes/leaves/Pause.d.ts
|
|
109
|
+
//#region ../src/cubing/alg/alg-nodes/leaves/Pause.d.ts
|
|
110
110
|
/** @category Alg Nodes */
|
|
111
111
|
declare class Pause extends AlgCommon<Pause> {
|
|
112
112
|
experimentalNISSGrouping?: Grouping;
|
|
@@ -116,7 +116,7 @@ declare class Pause extends AlgCommon<Pause> {
|
|
|
116
116
|
experimentalExpand(_iterDir?: IterationDirection, _depth?: number): Generator<AlgLeaf>;
|
|
117
117
|
}
|
|
118
118
|
//#endregion
|
|
119
|
-
//#region src/cubing/alg/alg-nodes/containers/Grouping.d.ts
|
|
119
|
+
//#region ../src/cubing/alg/alg-nodes/containers/Grouping.d.ts
|
|
120
120
|
interface GroupingModifications {
|
|
121
121
|
alg?: Alg;
|
|
122
122
|
amount?: number;
|
|
@@ -139,7 +139,7 @@ declare class Grouping extends AlgCommon<Grouping> {
|
|
|
139
139
|
experimentalAsSquare1Tuple(): [moveU: Move, moveD: Move] | null;
|
|
140
140
|
}
|
|
141
141
|
//#endregion
|
|
142
|
-
//#region src/cubing/alg/alg-nodes/leaves/LineComment.d.ts
|
|
142
|
+
//#region ../src/cubing/alg/alg-nodes/leaves/LineComment.d.ts
|
|
143
143
|
/** @category Alg Nodes */
|
|
144
144
|
declare class LineComment extends AlgCommon<LineComment> {
|
|
145
145
|
#private;
|
|
@@ -151,7 +151,7 @@ declare class LineComment extends AlgCommon<LineComment> {
|
|
|
151
151
|
toString(_experimentalSerializationOptions?: ExperimentalSerializationOptions): string;
|
|
152
152
|
}
|
|
153
153
|
//#endregion
|
|
154
|
-
//#region src/cubing/alg/alg-nodes/leaves/Newline.d.ts
|
|
154
|
+
//#region ../src/cubing/alg/alg-nodes/leaves/Newline.d.ts
|
|
155
155
|
/** @category Alg Nodes */
|
|
156
156
|
declare class Newline extends AlgCommon<Newline> {
|
|
157
157
|
toString(_experimentalSerializationOptions?: ExperimentalSerializationOptions): string;
|
|
@@ -160,7 +160,7 @@ declare class Newline extends AlgCommon<Newline> {
|
|
|
160
160
|
experimentalExpand(_iterDir?: IterationDirection, _depth?: number): Generator<AlgLeaf>;
|
|
161
161
|
}
|
|
162
162
|
//#endregion
|
|
163
|
-
//#region src/cubing/alg/alg-nodes/AlgNode.d.ts
|
|
163
|
+
//#region ../src/cubing/alg/alg-nodes/AlgNode.d.ts
|
|
164
164
|
/** @category Alg Nodes */
|
|
165
165
|
type AlgLeaf = Move | LineComment | Newline | Pause;
|
|
166
166
|
/** @category Alg Nodes */
|
|
@@ -168,11 +168,11 @@ type AlgBranch = Grouping | Conjugate | Commutator;
|
|
|
168
168
|
/** @category Alg Nodes */
|
|
169
169
|
type AlgNode = AlgLeaf | AlgBranch;
|
|
170
170
|
//#endregion
|
|
171
|
-
//#region src/cubing/alg/alg-nodes/index.d.ts
|
|
171
|
+
//#region ../src/cubing/alg/alg-nodes/index.d.ts
|
|
172
172
|
/** @deprecated */
|
|
173
173
|
type Unit = AlgNode;
|
|
174
174
|
//#endregion
|
|
175
|
-
//#region src/cubing/alg/simplify/options.d.ts
|
|
175
|
+
//#region ../src/cubing/alg/simplify/options.d.ts
|
|
176
176
|
declare const DEFAULT_DIRECTIONAL = "any-direction";
|
|
177
177
|
type QuantumDirectionalCancellation = typeof DEFAULT_DIRECTIONAL | "same-direction" | "none";
|
|
178
178
|
type ModWrap = "none" | "gravity" | "canonical-centered" | "canonical-positive" | "preserve-sign";
|
|
@@ -199,10 +199,10 @@ interface PuzzleSpecificSimplifyOptions {
|
|
|
199
199
|
axis?: PuzzleSpecificAxisSimplifyInfo;
|
|
200
200
|
}
|
|
201
201
|
//#endregion
|
|
202
|
-
//#region src/cubing/alg/simplify/append.d.ts
|
|
202
|
+
//#region ../src/cubing/alg/simplify/append.d.ts
|
|
203
203
|
declare function experimentalAppendMove(alg: Alg, addedMove: Move, options?: AppendOptions): Alg;
|
|
204
204
|
//#endregion
|
|
205
|
-
//#region src/cubing/alg/Alg.d.ts
|
|
205
|
+
//#region ../src/cubing/alg/Alg.d.ts
|
|
206
206
|
type FlexibleAlgSource = string | Iterable<AlgNode> | Alg;
|
|
207
207
|
/**
|
|
208
208
|
* `Alg` is a class that encapsulates a structured alg. To create an `Alg` from a string, use:
|
|
@@ -373,7 +373,7 @@ declare class Alg extends AlgCommon<Alg> {
|
|
|
373
373
|
simplify(options?: SimplifyOptions): Alg;
|
|
374
374
|
}
|
|
375
375
|
//#endregion
|
|
376
|
-
//#region src/cubing/alg/AlgBuilder.d.ts
|
|
376
|
+
//#region ../src/cubing/alg/AlgBuilder.d.ts
|
|
377
377
|
/** @category Alg */
|
|
378
378
|
declare class AlgBuilder {
|
|
379
379
|
#private;
|
|
@@ -385,12 +385,12 @@ declare class AlgBuilder {
|
|
|
385
385
|
reset(): void;
|
|
386
386
|
}
|
|
387
387
|
//#endregion
|
|
388
|
-
//#region src/cubing/alg/debug.d.ts
|
|
388
|
+
//#region ../src/cubing/alg/debug.d.ts
|
|
389
389
|
declare function setAlgDebug(options: {
|
|
390
390
|
caretNISSNotationEnabled?: boolean;
|
|
391
391
|
}): void;
|
|
392
392
|
//#endregion
|
|
393
|
-
//#region src/cubing/alg/example.d.ts
|
|
393
|
+
//#region ../src/cubing/alg/example.d.ts
|
|
394
394
|
declare const Example: {
|
|
395
395
|
Sune: Alg;
|
|
396
396
|
AntiSune: Alg;
|
|
@@ -405,16 +405,16 @@ declare const Example: {
|
|
|
405
405
|
TriplePause: Alg;
|
|
406
406
|
};
|
|
407
407
|
//#endregion
|
|
408
|
-
//#region src/cubing/alg/is.d.ts
|
|
408
|
+
//#region ../src/cubing/alg/is.d.ts
|
|
409
409
|
declare function experimentalIs(v: any, c: typeof Alg | typeof Grouping | typeof LineComment | typeof Commutator | typeof Conjugate | typeof Move | typeof Newline | typeof Pause): boolean;
|
|
410
410
|
//#endregion
|
|
411
|
-
//#region src/cubing/puzzle-geometry/notation-mapping/NotationMapper.d.ts
|
|
411
|
+
//#region ../src/cubing/puzzle-geometry/notation-mapping/NotationMapper.d.ts
|
|
412
412
|
interface NotationMapper {
|
|
413
413
|
notationToInternal(move: Move): Move | null;
|
|
414
414
|
notationToExternal(move: Move): Move | null;
|
|
415
415
|
}
|
|
416
416
|
//#endregion
|
|
417
|
-
//#region src/cubing/puzzle-geometry/Options.d.ts
|
|
417
|
+
//#region ../src/cubing/puzzle-geometry/Options.d.ts
|
|
418
418
|
type FaceName = string;
|
|
419
419
|
type OrientationDirection = [number, number, number];
|
|
420
420
|
type FaceBasedOrientationDescription = [[FaceName, OrientationDirection], [FaceName, OrientationDirection]];
|
|
@@ -445,7 +445,7 @@ declare class PuzzleGeometryFullOptions {
|
|
|
445
445
|
}
|
|
446
446
|
type PuzzleGeometryOptions = Partial<PuzzleGeometryFullOptions>;
|
|
447
447
|
//#endregion
|
|
448
|
-
//#region src/cubing/puzzle-geometry/Perm.d.ts
|
|
448
|
+
//#region ../src/cubing/puzzle-geometry/Perm.d.ts
|
|
449
449
|
declare class Perm {
|
|
450
450
|
n: number;
|
|
451
451
|
p: number[];
|
|
@@ -460,7 +460,7 @@ declare class Perm {
|
|
|
460
460
|
order(): number;
|
|
461
461
|
}
|
|
462
462
|
//#endregion
|
|
463
|
-
//#region src/cubing/puzzle-geometry/PermOriSet.d.ts
|
|
463
|
+
//#region ../src/cubing/puzzle-geometry/PermOriSet.d.ts
|
|
464
464
|
declare class PGOrbitDef {
|
|
465
465
|
size: number;
|
|
466
466
|
mod: number;
|
|
@@ -531,14 +531,14 @@ declare class VisibleState extends PGTransformBase {
|
|
|
531
531
|
mul(b: PGTransform): VisibleState;
|
|
532
532
|
}
|
|
533
533
|
//#endregion
|
|
534
|
-
//#region src/cubing/puzzle-geometry/pgPuzzles.d.ts
|
|
534
|
+
//#region ../src/cubing/puzzle-geometry/pgPuzzles.d.ts
|
|
535
535
|
type PuzzleDescriptionString = string;
|
|
536
536
|
declare const pgPuzzle: {
|
|
537
537
|
[name: string]: PuzzleDescriptionString;
|
|
538
538
|
};
|
|
539
539
|
type PuzzleName = keyof typeof pgPuzzle;
|
|
540
540
|
//#endregion
|
|
541
|
-
//#region src/cubing/puzzle-geometry/Quat.d.ts
|
|
541
|
+
//#region ../src/cubing/puzzle-geometry/Quat.d.ts
|
|
542
542
|
declare class Quat {
|
|
543
543
|
a: number;
|
|
544
544
|
b: number;
|
|
@@ -580,7 +580,7 @@ declare class Quat {
|
|
|
580
580
|
makecut(r: number): Quat;
|
|
581
581
|
}
|
|
582
582
|
//#endregion
|
|
583
|
-
//#region src/cubing/puzzle-geometry/PuzzleGeometry.d.ts
|
|
583
|
+
//#region ../src/cubing/puzzle-geometry/PuzzleGeometry.d.ts
|
|
584
584
|
interface TextureMapper {
|
|
585
585
|
getuv(fn: number, threed: number[]): number[];
|
|
586
586
|
}
|
|
@@ -733,7 +733,7 @@ declare class PGNotation {
|
|
|
733
733
|
remapKPuzzleDefinition(kpuzzleDefinition: KPuzzleDefinition): KPuzzleDefinition;
|
|
734
734
|
}
|
|
735
735
|
//#endregion
|
|
736
|
-
//#region src/cubing/kpuzzle/KPuzzleDefinitionJSON.d.ts
|
|
736
|
+
//#region ../src/cubing/kpuzzle/KPuzzleDefinitionJSON.d.ts
|
|
737
737
|
type KPatternData = {
|
|
738
738
|
[orbitName: string]: KPatternOrbitData;
|
|
739
739
|
};
|
|
@@ -889,7 +889,7 @@ interface KPuzzleDefinitionJSON {
|
|
|
889
889
|
};
|
|
890
890
|
}
|
|
891
891
|
//#endregion
|
|
892
|
-
//#region src/cubing/kpuzzle/KPuzzleDefinition.d.ts
|
|
892
|
+
//#region ../src/cubing/kpuzzle/KPuzzleDefinition.d.ts
|
|
893
893
|
interface KPuzzleDefinition extends KPuzzleDefinitionJSON {
|
|
894
894
|
experimentalIsPatternSolved?: (kpattern: KPattern, options: {
|
|
895
895
|
ignorePuzzleOrientation: boolean;
|
|
@@ -897,7 +897,7 @@ interface KPuzzleDefinition extends KPuzzleDefinitionJSON {
|
|
|
897
897
|
}) => boolean;
|
|
898
898
|
}
|
|
899
899
|
//#endregion
|
|
900
|
-
//#region src/cubing/kpuzzle/KTransformation.d.ts
|
|
900
|
+
//#region ../src/cubing/kpuzzle/KTransformation.d.ts
|
|
901
901
|
declare class KTransformation {
|
|
902
902
|
#private;
|
|
903
903
|
readonly kpuzzle: KPuzzle;
|
|
@@ -919,7 +919,7 @@ declare class KTransformation {
|
|
|
919
919
|
selfMultiply(amount: number): KTransformation;
|
|
920
920
|
}
|
|
921
921
|
//#endregion
|
|
922
|
-
//#region src/cubing/kpuzzle/KPuzzle.d.ts
|
|
922
|
+
//#region ../src/cubing/kpuzzle/KPuzzle.d.ts
|
|
923
923
|
type KTransformationSource = Alg | Move | string | KTransformation;
|
|
924
924
|
declare class KPuzzle {
|
|
925
925
|
#private;
|
|
@@ -939,7 +939,7 @@ declare class KPuzzle {
|
|
|
939
939
|
canConvertDefaultPatternToUniqueTransformation(): boolean;
|
|
940
940
|
}
|
|
941
941
|
//#endregion
|
|
942
|
-
//#region src/cubing/kpuzzle/KPattern.d.ts
|
|
942
|
+
//#region ../src/cubing/kpuzzle/KPattern.d.ts
|
|
943
943
|
declare class KPattern {
|
|
944
944
|
readonly kpuzzle: KPuzzle;
|
|
945
945
|
readonly patternData: KPatternData;
|
|
@@ -960,10 +960,10 @@ declare class KPattern {
|
|
|
960
960
|
}): boolean;
|
|
961
961
|
}
|
|
962
962
|
//#endregion
|
|
963
|
-
//#region src/cubing/puzzle-geometry/SchreierSims.d.ts
|
|
963
|
+
//#region ../src/cubing/puzzle-geometry/SchreierSims.d.ts
|
|
964
964
|
declare function schreierSims(g: Perm[], disp: (s: string) => void): bigint;
|
|
965
965
|
//#endregion
|
|
966
|
-
//#region src/cubing/twisty/controllers/AnimationTypes.d.ts
|
|
966
|
+
//#region ../src/cubing/twisty/controllers/AnimationTypes.d.ts
|
|
967
967
|
type MillisecondTimestamp = Tagged<DOMHighResTimeStamp, "MillisecondTimestamp">;
|
|
968
968
|
type MillisecondDuration = Tagged<number, "MillisecondDuration">;
|
|
969
969
|
type Direction = (typeof Direction)[keyof typeof Direction];
|
|
@@ -991,7 +991,7 @@ interface TimeRange {
|
|
|
991
991
|
end: MillisecondTimestamp;
|
|
992
992
|
}
|
|
993
993
|
//#endregion
|
|
994
|
-
//#region src/cubing/twisty/model/UserVisibleErrorTracker.d.ts
|
|
994
|
+
//#region ../src/cubing/twisty/model/UserVisibleErrorTracker.d.ts
|
|
995
995
|
interface UserVisibleError {
|
|
996
996
|
errors: string[];
|
|
997
997
|
}
|
|
@@ -1001,7 +1001,7 @@ declare class UserVisibleErrorTracker extends SimpleTwistyPropSource<UserVisible
|
|
|
1001
1001
|
protected canReuseValue(_v1: UserVisibleError, _v2: UserVisibleError): boolean;
|
|
1002
1002
|
}
|
|
1003
1003
|
//#endregion
|
|
1004
|
-
//#region src/cubing/twisty/model/props/TwistyProp.d.ts
|
|
1004
|
+
//#region ../src/cubing/twisty/model/props/TwistyProp.d.ts
|
|
1005
1005
|
type InputRecord = Record<string, any>;
|
|
1006
1006
|
type InputProps<T extends InputRecord> = { [s in keyof T]: TwistyPropParent<T[s]> };
|
|
1007
1007
|
type Generation = Tagged<number, "Generation">;
|
|
@@ -1053,7 +1053,7 @@ declare abstract class TwistyPropDerived<InputTypes extends InputRecord, OutputT
|
|
|
1053
1053
|
protected abstract derive(input: InputTypes): PromiseOrValue<OutputType>;
|
|
1054
1054
|
}
|
|
1055
1055
|
//#endregion
|
|
1056
|
-
//#region src/cubing/twisty/model/props/puzzle/state/AnimationTimelineLeavesRequestProp.d.ts
|
|
1056
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/AnimationTimelineLeavesRequestProp.d.ts
|
|
1057
1057
|
interface AnimationTimelineLeaf {
|
|
1058
1058
|
animLeaf: AlgLeaf;
|
|
1059
1059
|
start: MillisecondTimestamp;
|
|
@@ -1064,10 +1064,10 @@ declare class AnimationTimelineLeavesRequestProp extends SimpleTwistyPropSource<
|
|
|
1064
1064
|
getDefaultValue(): AnimationTimelineLeaf[] | null;
|
|
1065
1065
|
}
|
|
1066
1066
|
//#endregion
|
|
1067
|
-
//#region src/cubing/twisty/controllers/indexer/simultaneous-moves/simul-moves.d.ts
|
|
1067
|
+
//#region ../src/cubing/twisty/controllers/indexer/simultaneous-moves/simul-moves.d.ts
|
|
1068
1068
|
type AnimatedLeafAlgNode = Move | Pause;
|
|
1069
1069
|
//#endregion
|
|
1070
|
-
//#region src/cubing/twisty/controllers/indexer/AlgIndexer.d.ts
|
|
1070
|
+
//#region ../src/cubing/twisty/controllers/indexer/AlgIndexer.d.ts
|
|
1071
1071
|
interface CurrentMove {
|
|
1072
1072
|
move: Move;
|
|
1073
1073
|
direction: Direction;
|
|
@@ -1099,7 +1099,7 @@ interface AlgIndexer {
|
|
|
1099
1099
|
currentMoveInfo?: (timestamp: MillisecondTimestamp) => CurrentMoveInfo;
|
|
1100
1100
|
}
|
|
1101
1101
|
//#endregion
|
|
1102
|
-
//#region src/cubing/twisty/controllers/indexer/SimpleAlgIndexer.d.ts
|
|
1102
|
+
//#region ../src/cubing/twisty/controllers/indexer/SimpleAlgIndexer.d.ts
|
|
1103
1103
|
declare class SimpleAlgIndexer implements AlgIndexer {
|
|
1104
1104
|
private moves;
|
|
1105
1105
|
private durationFn;
|
|
@@ -1115,7 +1115,7 @@ declare class SimpleAlgIndexer implements AlgIndexer {
|
|
|
1115
1115
|
moveDuration(index: LeafIndex): MillisecondDuration;
|
|
1116
1116
|
}
|
|
1117
1117
|
//#endregion
|
|
1118
|
-
//#region src/cubing/twisty/controllers/indexer/tree/TreeAlgIndexer.d.ts
|
|
1118
|
+
//#region ../src/cubing/twisty/controllers/indexer/tree/TreeAlgIndexer.d.ts
|
|
1119
1119
|
declare class TreeAlgIndexer implements AlgIndexer {
|
|
1120
1120
|
private decoration;
|
|
1121
1121
|
private walker;
|
|
@@ -1132,14 +1132,14 @@ declare class TreeAlgIndexer implements AlgIndexer {
|
|
|
1132
1132
|
moveDuration(index: LeafIndex): MillisecondDuration;
|
|
1133
1133
|
}
|
|
1134
1134
|
//#endregion
|
|
1135
|
-
//#region src/cubing/twisty/debug.d.ts
|
|
1135
|
+
//#region ../src/cubing/twisty/debug.d.ts
|
|
1136
1136
|
declare const twistyDebugGlobals: {
|
|
1137
1137
|
shareAllNewRenderers: "auto" | "always" | "never";
|
|
1138
1138
|
showRenderStats: boolean;
|
|
1139
1139
|
};
|
|
1140
1140
|
declare function setTwistyDebug(options: Partial<typeof twistyDebugGlobals>): void;
|
|
1141
1141
|
//#endregion
|
|
1142
|
-
//#region src/cubing/puzzles/stickerings/mask.d.ts
|
|
1142
|
+
//#region ../src/cubing/puzzles/stickerings/mask.d.ts
|
|
1143
1143
|
type FaceletMeshStickeringMask = "regular" | "dim" | "oriented" | "experimentalOriented2" | "ignored" | "invisible" | "mystery";
|
|
1144
1144
|
type FaceletStickeringMask = {
|
|
1145
1145
|
mask: FaceletMeshStickeringMask;
|
|
@@ -1157,12 +1157,12 @@ type StickeringMask = {
|
|
|
1157
1157
|
orbits: Record<string, OrbitStickeringMask>;
|
|
1158
1158
|
};
|
|
1159
1159
|
//#endregion
|
|
1160
|
-
//#region src/cubing/puzzles/stickerings/puzzle-stickerings.d.ts
|
|
1160
|
+
//#region ../src/cubing/puzzles/stickerings/puzzle-stickerings.d.ts
|
|
1161
1161
|
declare const experimentalStickerings: Record<string, {
|
|
1162
1162
|
groups?: Partial<Record<PuzzleID, string>>;
|
|
1163
1163
|
}>;
|
|
1164
1164
|
//#endregion
|
|
1165
|
-
//#region src/cubing/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.d.ts
|
|
1165
|
+
//#region ../src/cubing/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.d.ts
|
|
1166
1166
|
declare const puzzleIDs: {
|
|
1167
1167
|
"3x3x3": boolean;
|
|
1168
1168
|
custom: boolean;
|
|
@@ -1192,13 +1192,13 @@ declare class PuzzleIDRequestProp extends SimpleTwistyPropSource<PuzzleID | NoVa
|
|
|
1192
1192
|
getDefaultValue(): PuzzleID | NoValueType;
|
|
1193
1193
|
}
|
|
1194
1194
|
//#endregion
|
|
1195
|
-
//#region src/cubing/twisty/model/props/puzzle/display/StickeringRequestProp.d.ts
|
|
1195
|
+
//#region ../src/cubing/twisty/model/props/puzzle/display/StickeringRequestProp.d.ts
|
|
1196
1196
|
type ExperimentalStickering = keyof typeof experimentalStickerings;
|
|
1197
1197
|
declare class StickeringRequestProp extends SimpleTwistyPropSource<ExperimentalStickering | null> {
|
|
1198
1198
|
getDefaultValue(): ExperimentalStickering | null;
|
|
1199
1199
|
}
|
|
1200
1200
|
//#endregion
|
|
1201
|
-
//#region src/cubing/twisty/model/props/viewer/BackViewProp.d.ts
|
|
1201
|
+
//#region ../src/cubing/twisty/model/props/viewer/BackViewProp.d.ts
|
|
1202
1202
|
declare const backViewLayouts: {
|
|
1203
1203
|
none: boolean;
|
|
1204
1204
|
"side-by-side": boolean;
|
|
@@ -1210,7 +1210,7 @@ declare class BackViewProp extends SimpleTwistyPropSource<BackViewLayoutWithAuto
|
|
|
1210
1210
|
getDefaultValue(): BackViewLayoutWithAuto;
|
|
1211
1211
|
}
|
|
1212
1212
|
//#endregion
|
|
1213
|
-
//#region src/cubing/twisty/model/props/viewer/VisualizationProp.d.ts
|
|
1213
|
+
//#region ../src/cubing/twisty/model/props/viewer/VisualizationProp.d.ts
|
|
1214
1214
|
declare const visualizationFormats: {
|
|
1215
1215
|
readonly "3D": true;
|
|
1216
1216
|
readonly "2D": true;
|
|
@@ -1224,7 +1224,7 @@ declare class VisualizationFormatProp extends SimpleTwistyPropSource<Visualizati
|
|
|
1224
1224
|
getDefaultValue(): VisualizationFormatWithAuto;
|
|
1225
1225
|
}
|
|
1226
1226
|
//#endregion
|
|
1227
|
-
//#region src/cubing/twisty/views/2D/TwistyAnimatedSVG.d.ts
|
|
1227
|
+
//#region ../src/cubing/twisty/views/2D/TwistyAnimatedSVG.d.ts
|
|
1228
1228
|
declare class TwistyAnimatedSVG {
|
|
1229
1229
|
wrapperElement: HTMLElement;
|
|
1230
1230
|
svgElement: SVGElement;
|
|
@@ -1242,10 +1242,10 @@ declare class TwistyAnimatedSVG {
|
|
|
1242
1242
|
private elementByID;
|
|
1243
1243
|
}
|
|
1244
1244
|
//#endregion
|
|
1245
|
-
//#region src/cubing/twisty/views/node-custom-element-shims.d.ts
|
|
1245
|
+
//#region ../src/cubing/twisty/views/node-custom-element-shims.d.ts
|
|
1246
1246
|
declare let HTMLElementShim: typeof HTMLElement;
|
|
1247
1247
|
//#endregion
|
|
1248
|
-
//#region src/cubing/twisty/views/ManagedCustomElement.d.ts
|
|
1248
|
+
//#region ../src/cubing/twisty/views/ManagedCustomElement.d.ts
|
|
1249
1249
|
declare class ManagedCustomElement extends HTMLElementShim {
|
|
1250
1250
|
readonly shadow: ShadowRoot;
|
|
1251
1251
|
readonly contentWrapper: HTMLDivElement;
|
|
@@ -1259,7 +1259,7 @@ declare class ManagedCustomElement extends HTMLElementShim {
|
|
|
1259
1259
|
removeElement<T extends Node>(element: T): T;
|
|
1260
1260
|
}
|
|
1261
1261
|
//#endregion
|
|
1262
|
-
//#region src/cubing/twisty/model/props/puzzle/state/CatchUpMoveProp.d.ts
|
|
1262
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/CatchUpMoveProp.d.ts
|
|
1263
1263
|
interface CatchUpMove {
|
|
1264
1264
|
move: Move | null;
|
|
1265
1265
|
amount: number;
|
|
@@ -1269,7 +1269,7 @@ declare class CatchUpMoveProp extends SimpleTwistyPropSource<CatchUpMove> {
|
|
|
1269
1269
|
protected canReuseValue(v1: CatchUpMove, v2: CatchUpMove): boolean;
|
|
1270
1270
|
}
|
|
1271
1271
|
//#endregion
|
|
1272
|
-
//#region src/cubing/twisty/model/props/timeline/PlayingInfoProp.d.ts
|
|
1272
|
+
//#region ../src/cubing/twisty/model/props/timeline/PlayingInfoProp.d.ts
|
|
1273
1273
|
type SimpleDirection = typeof Direction.Forwards | typeof Direction.Backwards;
|
|
1274
1274
|
interface PlayingInfo {
|
|
1275
1275
|
playing: boolean;
|
|
@@ -1283,18 +1283,18 @@ declare class PlayingInfoProp extends TwistyPropSource<PlayingInfo, Partial<Play
|
|
|
1283
1283
|
protected canReuseValue(v1: PlayingInfo, v2: PlayingInfo): boolean;
|
|
1284
1284
|
}
|
|
1285
1285
|
//#endregion
|
|
1286
|
-
//#region src/cubing/twisty/model/props/general/ArbitraryStringProp.d.ts
|
|
1286
|
+
//#region ../src/cubing/twisty/model/props/general/ArbitraryStringProp.d.ts
|
|
1287
1287
|
declare class ArbitraryStringProp extends SimpleTwistyPropSource<string | null> {
|
|
1288
1288
|
getDefaultValue(): string | null;
|
|
1289
1289
|
}
|
|
1290
1290
|
//#endregion
|
|
1291
|
-
//#region src/cubing/twisty/model/props/general/URLProp.d.ts
|
|
1291
|
+
//#region ../src/cubing/twisty/model/props/general/URLProp.d.ts
|
|
1292
1292
|
declare class URLProp extends TwistyPropSource<URL | null, URL | string | null> {
|
|
1293
1293
|
getDefaultValue(): URL | null;
|
|
1294
1294
|
derive(input: URL | string | null): URL | null;
|
|
1295
1295
|
}
|
|
1296
1296
|
//#endregion
|
|
1297
|
-
//#region src/cubing/twisty/model/props/puzzle/state/AlgProp.d.ts
|
|
1297
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/AlgProp.d.ts
|
|
1298
1298
|
declare class AlgIssues {
|
|
1299
1299
|
readonly warnings: readonly string[];
|
|
1300
1300
|
readonly errors: readonly string[];
|
|
@@ -1319,7 +1319,7 @@ declare class AlgProp extends TwistyPropSource<AlgWithIssues, Alg | string> {
|
|
|
1319
1319
|
protected derive(newAlg: Alg | string): Promise<AlgWithIssues>;
|
|
1320
1320
|
}
|
|
1321
1321
|
//#endregion
|
|
1322
|
-
//#region src/cubing/twisty/model/props/puzzle/state/AlgTransformationProp.d.ts
|
|
1322
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/AlgTransformationProp.d.ts
|
|
1323
1323
|
type AlgTransformationPropInputs = {
|
|
1324
1324
|
setupAlg: AlgWithIssues;
|
|
1325
1325
|
kpuzzle: KPuzzle;
|
|
@@ -1328,7 +1328,7 @@ declare class AlgTransformationProp extends TwistyPropDerived<AlgTransformationP
|
|
|
1328
1328
|
derive(input: AlgTransformationPropInputs): KTransformation;
|
|
1329
1329
|
}
|
|
1330
1330
|
//#endregion
|
|
1331
|
-
//#region src/cubing/twisty/model/props/puzzle/state/SetupAnchorProp.d.ts
|
|
1331
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/SetupAnchorProp.d.ts
|
|
1332
1332
|
declare const setupToLocations: {
|
|
1333
1333
|
start: boolean;
|
|
1334
1334
|
end: boolean;
|
|
@@ -1338,7 +1338,7 @@ declare class SetupAnchorProp extends SimpleTwistyPropSource<SetupToLocation> {
|
|
|
1338
1338
|
getDefaultValue(): SetupToLocation;
|
|
1339
1339
|
}
|
|
1340
1340
|
//#endregion
|
|
1341
|
-
//#region src/cubing/twisty/model/props/puzzle/state/AnchorTransformationProp.d.ts
|
|
1341
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/AnchorTransformationProp.d.ts
|
|
1342
1342
|
interface AnchorTransformationPropInputs {
|
|
1343
1343
|
setupTransformation: KTransformation | null;
|
|
1344
1344
|
setupAnchor: SetupToLocation;
|
|
@@ -1349,7 +1349,7 @@ declare class AnchorTransformationProp extends TwistyPropDerived<AnchorTransform
|
|
|
1349
1349
|
derive(inputs: AnchorTransformationPropInputs): KTransformation;
|
|
1350
1350
|
}
|
|
1351
1351
|
//#endregion
|
|
1352
|
-
//#region src/cubing/twisty/model/props/puzzle/state/CurrentLeavesSimplified.d.ts
|
|
1352
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/CurrentLeavesSimplified.d.ts
|
|
1353
1353
|
interface CurrentLeavesSimplifiedPropInputs {
|
|
1354
1354
|
currentMoveInfo: CurrentMoveInfo;
|
|
1355
1355
|
}
|
|
@@ -1363,7 +1363,7 @@ declare class CurrentLeavesSimplifiedProp extends TwistyPropDerived<CurrentLeave
|
|
|
1363
1363
|
protected canReuseValue(v1: CurrentLeavesSimplified, v2: CurrentLeavesSimplified): boolean;
|
|
1364
1364
|
}
|
|
1365
1365
|
//#endregion
|
|
1366
|
-
//#region src/cubing/twisty/model/props/timeline/TimestampRequestProp.d.ts
|
|
1366
|
+
//#region ../src/cubing/twisty/model/props/timeline/TimestampRequestProp.d.ts
|
|
1367
1367
|
declare const smartTimestamps: {
|
|
1368
1368
|
auto: boolean;
|
|
1369
1369
|
start: boolean;
|
|
@@ -1378,7 +1378,7 @@ declare class TimestampRequestProp extends SimpleTwistyPropSource<TimestampReque
|
|
|
1378
1378
|
protected validInput(v: TimestampRequest): boolean;
|
|
1379
1379
|
}
|
|
1380
1380
|
//#endregion
|
|
1381
|
-
//#region src/cubing/twisty/model/props/timeline/DetailedTimelineInfoProp.d.ts
|
|
1381
|
+
//#region ../src/cubing/twisty/model/props/timeline/DetailedTimelineInfoProp.d.ts
|
|
1382
1382
|
interface DetailedTimelineInfoInputs {
|
|
1383
1383
|
timestampRequest: TimestampRequest;
|
|
1384
1384
|
timeRange: TimeRange;
|
|
@@ -1397,7 +1397,7 @@ declare class DetailedTimelineInfoProp extends TwistyPropDerived<DetailedTimelin
|
|
|
1397
1397
|
protected canReuseValue(v1: DetailedTimelineInfo, v2: DetailedTimelineInfo): boolean;
|
|
1398
1398
|
}
|
|
1399
1399
|
//#endregion
|
|
1400
|
-
//#region src/cubing/twisty/model/props/puzzle/state/CurrentMoveInfoProp.d.ts
|
|
1400
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/CurrentMoveInfoProp.d.ts
|
|
1401
1401
|
interface PositionPropInputs {
|
|
1402
1402
|
indexer: AlgIndexer;
|
|
1403
1403
|
detailedTimelineInfo: DetailedTimelineInfo;
|
|
@@ -1407,7 +1407,7 @@ declare class CurrentMoveInfoProp extends TwistyPropDerived<PositionPropInputs,
|
|
|
1407
1407
|
derive(inputs: PositionPropInputs): CurrentMoveInfo;
|
|
1408
1408
|
}
|
|
1409
1409
|
//#endregion
|
|
1410
|
-
//#region src/cubing/twisty/model/props/puzzle/state/CurrentPatternProp.d.ts
|
|
1410
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/CurrentPatternProp.d.ts
|
|
1411
1411
|
interface CurrentTransformationPropInputs {
|
|
1412
1412
|
anchoredStart: KTransformation;
|
|
1413
1413
|
currentLeavesSimplified: CurrentLeavesSimplified;
|
|
@@ -1417,7 +1417,7 @@ declare class CurrentPatternProp extends TwistyPropDerived<CurrentTransformation
|
|
|
1417
1417
|
derive(inputs: CurrentTransformationPropInputs): KPattern;
|
|
1418
1418
|
}
|
|
1419
1419
|
//#endregion
|
|
1420
|
-
//#region src/cubing/twisty/model/props/viewer/VisualizationStrategyProp.d.ts
|
|
1420
|
+
//#region ../src/cubing/twisty/model/props/viewer/VisualizationStrategyProp.d.ts
|
|
1421
1421
|
type VisualizationStrategyPropInputs = {
|
|
1422
1422
|
visualizationRequest: VisualizationFormatWithAuto;
|
|
1423
1423
|
puzzleID: PuzzleID;
|
|
@@ -1427,7 +1427,7 @@ declare class VisualizationStrategyProp extends TwistyPropDerived<VisualizationS
|
|
|
1427
1427
|
derive(inputs: VisualizationStrategyPropInputs): VisualizationStrategy;
|
|
1428
1428
|
}
|
|
1429
1429
|
//#endregion
|
|
1430
|
-
//#region src/cubing/twisty/model/props/puzzle/state/IndexerConstructorRequestProp.d.ts
|
|
1430
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/IndexerConstructorRequestProp.d.ts
|
|
1431
1431
|
declare const indexerStrategyNames: {
|
|
1432
1432
|
auto: boolean;
|
|
1433
1433
|
simple: boolean;
|
|
@@ -1439,7 +1439,7 @@ declare class IndexerConstructorRequestProp extends SimpleTwistyPropSource<Index
|
|
|
1439
1439
|
getDefaultValue(): IndexerStrategyName;
|
|
1440
1440
|
}
|
|
1441
1441
|
//#endregion
|
|
1442
|
-
//#region src/cubing/twisty/model/props/puzzle/state/IndexerConstructorProp.d.ts
|
|
1442
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/IndexerConstructorProp.d.ts
|
|
1443
1443
|
type IndexerConstructor = new (kpuzzle: KPuzzle, alg: Alg, options?: {
|
|
1444
1444
|
animationTimelineLeaves?: AnimationTimelineLeaves | null;
|
|
1445
1445
|
}) => AlgIndexer;
|
|
@@ -1454,7 +1454,7 @@ declare class IndexerConstructorProp extends TwistyPropDerived<IndexerConstructo
|
|
|
1454
1454
|
derive(inputs: IndexerConstructorPropInputs): IndexerConstructor;
|
|
1455
1455
|
}
|
|
1456
1456
|
//#endregion
|
|
1457
|
-
//#region src/cubing/twisty/model/props/puzzle/state/IndexerProp.d.ts
|
|
1457
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/IndexerProp.d.ts
|
|
1458
1458
|
type IndexerPropInputs = {
|
|
1459
1459
|
indexerConstructor: IndexerConstructor;
|
|
1460
1460
|
algWithIssues: AlgWithIssues;
|
|
@@ -1465,7 +1465,7 @@ declare class IndexerProp extends TwistyPropDerived<IndexerPropInputs, AlgIndexe
|
|
|
1465
1465
|
derive(input: IndexerPropInputs): AlgIndexer;
|
|
1466
1466
|
}
|
|
1467
1467
|
//#endregion
|
|
1468
|
-
//#region src/cubing/twisty/model/props/puzzle/state/LegacyPositionProp.d.ts
|
|
1468
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/LegacyPositionProp.d.ts
|
|
1469
1469
|
interface LegacyPositionPropInputs {
|
|
1470
1470
|
currentMoveInfo: CurrentMoveInfo;
|
|
1471
1471
|
currentPattern: KPattern;
|
|
@@ -1474,7 +1474,7 @@ declare class LegacyPositionProp extends TwistyPropDerived<LegacyPositionPropInp
|
|
|
1474
1474
|
derive(inputs: LegacyPositionPropInputs): PuzzlePosition;
|
|
1475
1475
|
}
|
|
1476
1476
|
//#endregion
|
|
1477
|
-
//#region src/cubing/twisty/model/props/puzzle/state/PuzzleAlgProp.d.ts
|
|
1477
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/PuzzleAlgProp.d.ts
|
|
1478
1478
|
declare class PuzzleAlgProp extends TwistyPropDerived<{
|
|
1479
1479
|
algWithIssues: AlgWithIssues;
|
|
1480
1480
|
kpuzzle: KPuzzle;
|
|
@@ -1485,12 +1485,12 @@ declare class PuzzleAlgProp extends TwistyPropDerived<{
|
|
|
1485
1485
|
}): Promise<AlgWithIssues>;
|
|
1486
1486
|
}
|
|
1487
1487
|
//#endregion
|
|
1488
|
-
//#region src/cubing/twisty/model/props/puzzle/state/SetupTransformationProp.d.ts
|
|
1488
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/SetupTransformationProp.d.ts
|
|
1489
1489
|
declare class SetupTransformationProp extends SimpleTwistyPropSource<KTransformation | null> {
|
|
1490
1490
|
getDefaultValue(): KTransformation | null;
|
|
1491
1491
|
}
|
|
1492
1492
|
//#endregion
|
|
1493
|
-
//#region src/cubing/puzzles/events.d.ts
|
|
1493
|
+
//#region ../src/cubing/puzzles/events.d.ts
|
|
1494
1494
|
interface EventInfo {
|
|
1495
1495
|
puzzleID: PuzzleID;
|
|
1496
1496
|
eventName: string;
|
|
@@ -1504,11 +1504,11 @@ declare const twizzleEvents: Record<string, EventInfo>;
|
|
|
1504
1504
|
/** @category Event Info */
|
|
1505
1505
|
declare function eventInfo(event: string): EventInfo | null;
|
|
1506
1506
|
//#endregion
|
|
1507
|
-
//#region src/cubing/puzzles/implementations/2x2x2/index.d.ts
|
|
1507
|
+
//#region ../src/cubing/puzzles/implementations/2x2x2/index.d.ts
|
|
1508
1508
|
/** @category Specific Puzzles */
|
|
1509
1509
|
declare const cube2x2x2: PuzzleLoader;
|
|
1510
1510
|
//#endregion
|
|
1511
|
-
//#region src/cubing/puzzles/implementations/3x3x3/index.d.ts
|
|
1511
|
+
//#region ../src/cubing/puzzles/implementations/3x3x3/index.d.ts
|
|
1512
1512
|
/** @category Specific Puzzles */
|
|
1513
1513
|
declare const cube3x3x3: {
|
|
1514
1514
|
id: string;
|
|
@@ -1530,11 +1530,11 @@ declare const cube3x3x3: {
|
|
|
1530
1530
|
algTransformData: AlgTransformData;
|
|
1531
1531
|
};
|
|
1532
1532
|
//#endregion
|
|
1533
|
-
//#region src/cubing/puzzles/index.d.ts
|
|
1533
|
+
//#region ../src/cubing/puzzles/index.d.ts
|
|
1534
1534
|
/** @category All Puzzles */
|
|
1535
1535
|
declare const puzzles: Record<string, PuzzleLoader>;
|
|
1536
1536
|
//#endregion
|
|
1537
|
-
//#region src/cubing/twisty/model/props/puzzle/structure/KPuzzleProp.d.ts
|
|
1537
|
+
//#region ../src/cubing/twisty/model/props/puzzle/structure/KPuzzleProp.d.ts
|
|
1538
1538
|
declare class KPuzzleProp extends TwistyPropDerived<{
|
|
1539
1539
|
puzzleLoader: PuzzleLoader;
|
|
1540
1540
|
}, KPuzzle> {
|
|
@@ -1543,12 +1543,12 @@ declare class KPuzzleProp extends TwistyPropDerived<{
|
|
|
1543
1543
|
}): Promise<KPuzzle>;
|
|
1544
1544
|
}
|
|
1545
1545
|
//#endregion
|
|
1546
|
-
//#region src/cubing/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.d.ts
|
|
1546
|
+
//#region ../src/cubing/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.d.ts
|
|
1547
1547
|
declare class PGPuzzleDescriptionStringProp extends SimpleTwistyPropSource<PuzzleDescriptionString | NoValueType> {
|
|
1548
1548
|
getDefaultValue(): PuzzleDescriptionString | NoValueType;
|
|
1549
1549
|
}
|
|
1550
1550
|
//#endregion
|
|
1551
|
-
//#region src/cubing/twisty/model/props/puzzle/structure/PuzzleIDProp.d.ts
|
|
1551
|
+
//#region ../src/cubing/twisty/model/props/puzzle/structure/PuzzleIDProp.d.ts
|
|
1552
1552
|
declare class PuzzleIDProp extends TwistyPropDerived<{
|
|
1553
1553
|
puzzleLoader: PuzzleLoader;
|
|
1554
1554
|
}, PuzzleID> {
|
|
@@ -1557,7 +1557,7 @@ declare class PuzzleIDProp extends TwistyPropDerived<{
|
|
|
1557
1557
|
}): Promise<PuzzleID>;
|
|
1558
1558
|
}
|
|
1559
1559
|
//#endregion
|
|
1560
|
-
//#region src/cubing/twisty/model/props/puzzle/structure/PuzzleLoaderProp.d.ts
|
|
1560
|
+
//#region ../src/cubing/twisty/model/props/puzzle/structure/PuzzleLoaderProp.d.ts
|
|
1561
1561
|
interface PuzzleLoaderPropInputs {
|
|
1562
1562
|
puzzleIDRequest: PuzzleID | NoValueType;
|
|
1563
1563
|
puzzleDescriptionRequest: PuzzleDescriptionString | NoValueType;
|
|
@@ -1566,7 +1566,7 @@ declare class PuzzleLoaderProp extends TwistyPropDerived<PuzzleLoaderPropInputs,
|
|
|
1566
1566
|
derive(inputs: PuzzleLoaderPropInputs): PuzzleLoader;
|
|
1567
1567
|
}
|
|
1568
1568
|
//#endregion
|
|
1569
|
-
//#region src/cubing/twisty/controllers/TwistyPlayerController.d.ts
|
|
1569
|
+
//#region ../src/cubing/twisty/controllers/TwistyPlayerController.d.ts
|
|
1570
1570
|
declare class TwistyPlayerController {
|
|
1571
1571
|
animationController: TwistyAnimationController;
|
|
1572
1572
|
model: TwistyPlayerModel;
|
|
@@ -1581,7 +1581,7 @@ declare class TwistyPlayerController {
|
|
|
1581
1581
|
visitTwizzleLink(): Promise<void>;
|
|
1582
1582
|
}
|
|
1583
1583
|
//#endregion
|
|
1584
|
-
//#region src/cubing/twisty/model/props/viewer/ViewerLinkProp.d.ts
|
|
1584
|
+
//#region ../src/cubing/twisty/model/props/viewer/ViewerLinkProp.d.ts
|
|
1585
1585
|
declare const viewerLinkPages: {
|
|
1586
1586
|
twizzle: boolean;
|
|
1587
1587
|
"experimental-twizzle-explorer": boolean;
|
|
@@ -1593,7 +1593,7 @@ declare class ViewerLinkProp extends SimpleTwistyPropSource<ViewerLinkPageWithAu
|
|
|
1593
1593
|
getDefaultValue(): ViewerLinkPageWithAuto;
|
|
1594
1594
|
}
|
|
1595
1595
|
//#endregion
|
|
1596
|
-
//#region src/cubing/twisty/model/props/viewer/ButtonAppearanceProp.d.ts
|
|
1596
|
+
//#region ../src/cubing/twisty/model/props/viewer/ButtonAppearanceProp.d.ts
|
|
1597
1597
|
declare const buttonIcons: string[];
|
|
1598
1598
|
type ButtonIcon = (typeof buttonIcons)[number];
|
|
1599
1599
|
interface ButtonAppearance {
|
|
@@ -1611,7 +1611,7 @@ declare class ButtonAppearanceProp extends TwistyPropDerived<ButtonAppearancePro
|
|
|
1611
1611
|
derive(inputs: ButtonAppearancePropInputs): ButtonAppearances;
|
|
1612
1612
|
}
|
|
1613
1613
|
//#endregion
|
|
1614
|
-
//#region src/cubing/twisty/model/props/viewer/ColorSchemeRequestProp.d.ts
|
|
1614
|
+
//#region ../src/cubing/twisty/model/props/viewer/ColorSchemeRequestProp.d.ts
|
|
1615
1615
|
declare const colorSchemes: {
|
|
1616
1616
|
light: boolean;
|
|
1617
1617
|
dark: boolean;
|
|
@@ -1622,7 +1622,7 @@ declare class ColorSchemeRequestProp extends SimpleTwistyPropSource<ColorSchemeW
|
|
|
1622
1622
|
getDefaultValue(): ColorSchemeWithAuto;
|
|
1623
1623
|
}
|
|
1624
1624
|
//#endregion
|
|
1625
|
-
//#region src/cubing/twisty/views/control-panel/TwistyButtons.d.ts
|
|
1625
|
+
//#region ../src/cubing/twisty/views/control-panel/TwistyButtons.d.ts
|
|
1626
1626
|
declare const buttonCommands: {
|
|
1627
1627
|
fullscreen: boolean;
|
|
1628
1628
|
"jump-to-start": boolean;
|
|
@@ -1653,7 +1653,7 @@ declare class TwistyButton extends ManagedCustomElement {
|
|
|
1653
1653
|
setIcon(iconName: ButtonIcon): void;
|
|
1654
1654
|
}
|
|
1655
1655
|
//#endregion
|
|
1656
|
-
//#region src/cubing/twisty/model/props/timeline/CoarseTimelineInfoProp.d.ts
|
|
1656
|
+
//#region ../src/cubing/twisty/model/props/timeline/CoarseTimelineInfoProp.d.ts
|
|
1657
1657
|
interface CoarseTimelineInfoInputs {
|
|
1658
1658
|
playingInfo: PlayingInfo;
|
|
1659
1659
|
detailedTimelineInfo: DetailedTimelineInfo;
|
|
@@ -1668,13 +1668,13 @@ declare class CoarseTimelineInfoProp extends TwistyPropDerived<CoarseTimelineInf
|
|
|
1668
1668
|
protected canReuseValue(v1: CoarseTimelineInfo, v2: CoarseTimelineInfo): boolean;
|
|
1669
1669
|
}
|
|
1670
1670
|
//#endregion
|
|
1671
|
-
//#region src/cubing/twisty/model/props/timeline/TempoScaleProp.d.ts
|
|
1671
|
+
//#region ../src/cubing/twisty/model/props/timeline/TempoScaleProp.d.ts
|
|
1672
1672
|
declare class TempoScaleProp extends TwistyPropSource<number, number> {
|
|
1673
1673
|
getDefaultValue(): number;
|
|
1674
1674
|
derive(v: number): number;
|
|
1675
1675
|
}
|
|
1676
1676
|
//#endregion
|
|
1677
|
-
//#region src/cubing/twisty/model/props/viewer/ControlPanelProp.d.ts
|
|
1677
|
+
//#region ../src/cubing/twisty/model/props/viewer/ControlPanelProp.d.ts
|
|
1678
1678
|
declare const controlsLocations: {
|
|
1679
1679
|
"bottom-row": boolean;
|
|
1680
1680
|
none: boolean;
|
|
@@ -1685,7 +1685,7 @@ declare class ControlPanelProp extends SimpleTwistyPropSource<ControlPanelThemeW
|
|
|
1685
1685
|
getDefaultValue(): ControlPanelThemeWithAuto;
|
|
1686
1686
|
}
|
|
1687
1687
|
//#endregion
|
|
1688
|
-
//#region src/cubing/twisty/model/props/viewer/TimeRangeProp.d.ts
|
|
1688
|
+
//#region ../src/cubing/twisty/model/props/viewer/TimeRangeProp.d.ts
|
|
1689
1689
|
declare class TimeRangeProp extends TwistyPropDerived<{
|
|
1690
1690
|
indexer: AlgIndexer;
|
|
1691
1691
|
}, TimeRange> {
|
|
@@ -1694,19 +1694,19 @@ declare class TimeRangeProp extends TwistyPropDerived<{
|
|
|
1694
1694
|
}): TimeRange;
|
|
1695
1695
|
}
|
|
1696
1696
|
//#endregion
|
|
1697
|
-
//#region src/cubing/twisty/model/props/puzzle/display/FaceletScaleProp.d.ts
|
|
1697
|
+
//#region ../src/cubing/twisty/model/props/puzzle/display/FaceletScaleProp.d.ts
|
|
1698
1698
|
type FaceletScale = "auto" | number;
|
|
1699
1699
|
declare class FaceletScaleProp extends SimpleTwistyPropSource<FaceletScale> {
|
|
1700
1700
|
getDefaultValue(): FaceletScale;
|
|
1701
1701
|
}
|
|
1702
1702
|
//#endregion
|
|
1703
|
-
//#region src/cubing/twisty/model/props/puzzle/display/FoundationDisplayProp.d.ts
|
|
1703
|
+
//#region ../src/cubing/twisty/model/props/puzzle/display/FoundationDisplayProp.d.ts
|
|
1704
1704
|
type FoundationDisplay = "auto" | "opaque" | "none";
|
|
1705
1705
|
declare class FoundationDisplayProp extends SimpleTwistyPropSource<FoundationDisplay> {
|
|
1706
1706
|
getDefaultValue(): FoundationDisplay;
|
|
1707
1707
|
}
|
|
1708
1708
|
//#endregion
|
|
1709
|
-
//#region src/cubing/twisty/model/props/puzzle/display/HintFaceletProp.d.ts
|
|
1709
|
+
//#region ../src/cubing/twisty/model/props/puzzle/display/HintFaceletProp.d.ts
|
|
1710
1710
|
declare const hintFaceletStyles: {
|
|
1711
1711
|
floating: boolean;
|
|
1712
1712
|
none: boolean;
|
|
@@ -1717,19 +1717,19 @@ declare class HintFaceletProp extends SimpleTwistyPropSource<HintFaceletStyleWit
|
|
|
1717
1717
|
getDefaultValue(): HintFaceletStyleWithAuto;
|
|
1718
1718
|
}
|
|
1719
1719
|
//#endregion
|
|
1720
|
-
//#region src/cubing/twisty/model/props/puzzle/display/HintFaceletsElevationProp.d.ts
|
|
1720
|
+
//#region ../src/cubing/twisty/model/props/puzzle/display/HintFaceletsElevationProp.d.ts
|
|
1721
1721
|
type HintFaceletsElevationRequest = "auto" | number;
|
|
1722
1722
|
declare class HintFaceletsElevationProp extends SimpleTwistyPropSource<"auto" | number> {
|
|
1723
1723
|
getDefaultValue(): "auto" | number;
|
|
1724
1724
|
}
|
|
1725
1725
|
//#endregion
|
|
1726
|
-
//#region src/cubing/twisty/model/props/puzzle/display/InitialHintFaceletsAnimationProp.d.ts
|
|
1726
|
+
//#region ../src/cubing/twisty/model/props/puzzle/display/InitialHintFaceletsAnimationProp.d.ts
|
|
1727
1727
|
type InitialHintFaceletsAnimation = "auto" | "always" | "none";
|
|
1728
1728
|
declare class InitialHintFaceletsAnimationProp extends SimpleTwistyPropSource<InitialHintFaceletsAnimation> {
|
|
1729
1729
|
getDefaultValue(): InitialHintFaceletsAnimation;
|
|
1730
1730
|
}
|
|
1731
1731
|
//#endregion
|
|
1732
|
-
//#region src/cubing/twisty/model/props/puzzle/display/SpriteProp.d.ts
|
|
1732
|
+
//#region ../src/cubing/twisty/model/props/puzzle/display/SpriteProp.d.ts
|
|
1733
1733
|
type SpritePropInputs = {
|
|
1734
1734
|
spriteURL: URL | null;
|
|
1735
1735
|
};
|
|
@@ -1737,7 +1737,7 @@ declare class SpriteProp extends TwistyPropDerived<SpritePropInputs, Texture | n
|
|
|
1737
1737
|
derive(inputs: SpritePropInputs): Promise<Texture | null>;
|
|
1738
1738
|
}
|
|
1739
1739
|
//#endregion
|
|
1740
|
-
//#region src/cubing/twisty/model/props/puzzle/display/StickeringMaskProp.d.ts
|
|
1740
|
+
//#region ../src/cubing/twisty/model/props/puzzle/display/StickeringMaskProp.d.ts
|
|
1741
1741
|
interface StickeringMaskPropInputs {
|
|
1742
1742
|
stickeringMaskRequest: StickeringMask | null;
|
|
1743
1743
|
stickeringRequest: ExperimentalStickering | null;
|
|
@@ -1748,13 +1748,13 @@ declare class StickeringMaskProp extends TwistyPropDerived<StickeringMaskPropInp
|
|
|
1748
1748
|
derive(inputs: StickeringMaskPropInputs): Promise<StickeringMask>;
|
|
1749
1749
|
}
|
|
1750
1750
|
//#endregion
|
|
1751
|
-
//#region src/cubing/twisty/model/props/puzzle/display/StickeringMaskRequestProp.d.ts
|
|
1751
|
+
//#region ../src/cubing/twisty/model/props/puzzle/display/StickeringMaskRequestProp.d.ts
|
|
1752
1752
|
declare class StickeringMaskRequestProp extends TwistyPropSource<StickeringMask | null, string | StickeringMask | null> {
|
|
1753
1753
|
getDefaultValue(): StickeringMask | null;
|
|
1754
1754
|
derive(input: string | StickeringMask | null): StickeringMask | null;
|
|
1755
1755
|
}
|
|
1756
1756
|
//#endregion
|
|
1757
|
-
//#region src/cubing/twisty/model/props/puzzle/state/DragInputProp.d.ts
|
|
1757
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/DragInputProp.d.ts
|
|
1758
1758
|
declare const dragInputModes: {
|
|
1759
1759
|
auto: boolean;
|
|
1760
1760
|
none: boolean;
|
|
@@ -1764,12 +1764,12 @@ declare class DragInputProp extends SimpleTwistyPropSource<DragInputMode> {
|
|
|
1764
1764
|
getDefaultValue(): DragInputMode;
|
|
1765
1765
|
}
|
|
1766
1766
|
//#endregion
|
|
1767
|
-
//#region src/cubing/twisty/model/props/puzzle/state/MovePressCancelOptions.d.ts
|
|
1767
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/MovePressCancelOptions.d.ts
|
|
1768
1768
|
declare class MovePressCancelOptions extends SimpleTwistyPropSource<AppendCancelOptions> {
|
|
1769
1769
|
getDefaultValue(): AppendCancelOptions;
|
|
1770
1770
|
}
|
|
1771
1771
|
//#endregion
|
|
1772
|
-
//#region src/cubing/twisty/model/props/puzzle/state/MovePressInputProp.d.ts
|
|
1772
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/MovePressInputProp.d.ts
|
|
1773
1773
|
declare const movePressInputNames: {
|
|
1774
1774
|
auto: boolean;
|
|
1775
1775
|
none: boolean;
|
|
@@ -1780,7 +1780,7 @@ declare class MovePressInputProp extends SimpleTwistyPropSource<MovePressInput>
|
|
|
1780
1780
|
getDefaultValue(): MovePressInput;
|
|
1781
1781
|
}
|
|
1782
1782
|
//#endregion
|
|
1783
|
-
//#region src/cubing/twisty/model/props/viewer/BackgroundProp.d.ts
|
|
1783
|
+
//#region ../src/cubing/twisty/model/props/viewer/BackgroundProp.d.ts
|
|
1784
1784
|
declare const backgroundThemes: {
|
|
1785
1785
|
checkered: boolean;
|
|
1786
1786
|
"checkered-transparent": boolean;
|
|
@@ -1792,7 +1792,7 @@ declare class BackgroundProp extends SimpleTwistyPropSource<BackgroundThemeWithA
|
|
|
1792
1792
|
getDefaultValue(): BackgroundThemeWithAuto;
|
|
1793
1793
|
}
|
|
1794
1794
|
//#endregion
|
|
1795
|
-
//#region src/cubing/twisty/model/props/viewer/ColorSchemeProp.d.ts
|
|
1795
|
+
//#region ../src/cubing/twisty/model/props/viewer/ColorSchemeProp.d.ts
|
|
1796
1796
|
interface ColorSchemePropInputs {
|
|
1797
1797
|
colorSchemeRequest: ColorSchemeWithAuto;
|
|
1798
1798
|
}
|
|
@@ -1800,12 +1800,12 @@ declare class ColorSchemeProp extends TwistyPropDerived<ColorSchemePropInputs, C
|
|
|
1800
1800
|
protected derive(inputs: ColorSchemePropInputs): ColorScheme;
|
|
1801
1801
|
}
|
|
1802
1802
|
//#endregion
|
|
1803
|
-
//#region src/cubing/twisty/model/props/viewer/DOMElementReferenceProp.d.ts
|
|
1803
|
+
//#region ../src/cubing/twisty/model/props/viewer/DOMElementReferenceProp.d.ts
|
|
1804
1804
|
declare class DOMElementReferenceProp extends SimpleTwistyPropSource<Element | null> {
|
|
1805
1805
|
getDefaultValue(): Element | null;
|
|
1806
1806
|
}
|
|
1807
1807
|
//#endregion
|
|
1808
|
-
//#region src/cubing/twisty/model/props/viewer/OrbitCoordinatesRequestProp.d.ts
|
|
1808
|
+
//#region ../src/cubing/twisty/model/props/viewer/OrbitCoordinatesRequestProp.d.ts
|
|
1809
1809
|
type CoordinateDegrees = number;
|
|
1810
1810
|
interface OrbitCoordinates {
|
|
1811
1811
|
latitude: CoordinateDegrees;
|
|
@@ -1819,12 +1819,12 @@ declare class OrbitCoordinatesRequestProp extends TwistyPropSource<OrbitCoordina
|
|
|
1819
1819
|
protected derive(newCoordinates: Partial<OrbitCoordinates> | "auto", oldValuePromise: Promise<OrbitCoordinatesRequest>): Promise<OrbitCoordinatesRequest>;
|
|
1820
1820
|
}
|
|
1821
1821
|
//#endregion
|
|
1822
|
-
//#region src/cubing/twisty/model/props/viewer/LatitudeLimit.d.ts
|
|
1822
|
+
//#region ../src/cubing/twisty/model/props/viewer/LatitudeLimit.d.ts
|
|
1823
1823
|
declare class LatitudeLimitProp extends SimpleTwistyPropSource<CoordinateDegrees> {
|
|
1824
1824
|
getDefaultValue(): CoordinateDegrees;
|
|
1825
1825
|
}
|
|
1826
1826
|
//#endregion
|
|
1827
|
-
//#region src/cubing/twisty/model/props/viewer/OrbitCoordinatesProp.d.ts
|
|
1827
|
+
//#region ../src/cubing/twisty/model/props/viewer/OrbitCoordinatesProp.d.ts
|
|
1828
1828
|
interface OrbitCoordinatesPropInputs {
|
|
1829
1829
|
orbitCoordinatesRequest: OrbitCoordinatesRequest;
|
|
1830
1830
|
latitudeLimit: CoordinateDegrees;
|
|
@@ -1836,7 +1836,7 @@ declare class OrbitCoordinatesProp extends TwistyPropDerived<OrbitCoordinatesPro
|
|
|
1836
1836
|
derive(inputs: OrbitCoordinatesPropInputs): Promise<OrbitCoordinates>;
|
|
1837
1837
|
}
|
|
1838
1838
|
//#endregion
|
|
1839
|
-
//#region src/cubing/twisty/model/TwistySceneModel.d.ts
|
|
1839
|
+
//#region ../src/cubing/twisty/model/TwistySceneModel.d.ts
|
|
1840
1840
|
declare class TwistySceneModel {
|
|
1841
1841
|
background: BackgroundProp;
|
|
1842
1842
|
colorSchemeRequest: ColorSchemeRequestProp;
|
|
@@ -1864,7 +1864,7 @@ declare class TwistySceneModel {
|
|
|
1864
1864
|
constructor(twistyPlayerModel: TwistyPlayerModel);
|
|
1865
1865
|
}
|
|
1866
1866
|
//#endregion
|
|
1867
|
-
//#region src/cubing/twisty/model/TwistyPlayerModel.d.ts
|
|
1867
|
+
//#region ../src/cubing/twisty/model/TwistyPlayerModel.d.ts
|
|
1868
1868
|
type Without<T, K extends string[]> = Pick<T, Exclude<keyof T, K[number]>>;
|
|
1869
1869
|
declare class TwistyPlayerModel {
|
|
1870
1870
|
userVisibleErrorTracker: UserVisibleErrorTracker;
|
|
@@ -1957,7 +1957,7 @@ declare class TwistyPlayerModel {
|
|
|
1957
1957
|
experimentalRemoveFinalChild(): void;
|
|
1958
1958
|
}
|
|
1959
1959
|
//#endregion
|
|
1960
|
-
//#region src/cubing/twisty/controllers/TwistyAnimationController.d.ts
|
|
1960
|
+
//#region ../src/cubing/twisty/controllers/TwistyAnimationController.d.ts
|
|
1961
1961
|
interface TwistyAnimationControllerDelegate {
|
|
1962
1962
|
flash(): void;
|
|
1963
1963
|
}
|
|
@@ -1991,7 +1991,7 @@ declare class TwistyAnimationController {
|
|
|
1991
1991
|
animFrame(frameDatestamp: MillisecondTimestamp): Promise<void>;
|
|
1992
1992
|
}
|
|
1993
1993
|
//#endregion
|
|
1994
|
-
//#region src/cubing/vendor/mit/three/examples/jsm/libs/stats.modified.module.d.ts
|
|
1994
|
+
//#region ../src/cubing/vendor/mit/three/examples/jsm/libs/stats.modified.module.d.ts
|
|
1995
1995
|
/**
|
|
1996
1996
|
* @author mrdoob / http://mrdoob.com/
|
|
1997
1997
|
* ESM conversion by Lucas Garron, 2021-12-21
|
|
@@ -2025,12 +2025,12 @@ declare class StatsPanel {
|
|
|
2025
2025
|
update(value: number, maxValue: number): void;
|
|
2026
2026
|
}
|
|
2027
2027
|
//#endregion
|
|
2028
|
-
//#region src/cubing/twisty/controllers/RenderScheduler.d.ts
|
|
2028
|
+
//#region ../src/cubing/twisty/controllers/RenderScheduler.d.ts
|
|
2029
2029
|
interface Schedulable {
|
|
2030
2030
|
scheduleRender(): void;
|
|
2031
2031
|
}
|
|
2032
2032
|
//#endregion
|
|
2033
|
-
//#region src/cubing/twisty/views/3D/DragTracker.d.ts
|
|
2033
|
+
//#region ../src/cubing/twisty/views/3D/DragTracker.d.ts
|
|
2034
2034
|
interface DragMovementInfo {
|
|
2035
2035
|
attachedInfo: Record<any, any>;
|
|
2036
2036
|
movementX: number;
|
|
@@ -2059,13 +2059,13 @@ declare class DragTracker extends EventTarget {
|
|
|
2059
2059
|
private onPointerUp;
|
|
2060
2060
|
}
|
|
2061
2061
|
//#endregion
|
|
2062
|
-
//#region src/cubing/twisty/views/3D/puzzles/Twisty3DPuzzle.d.ts
|
|
2062
|
+
//#region ../src/cubing/twisty/views/3D/puzzles/Twisty3DPuzzle.d.ts
|
|
2063
2063
|
interface Twisty3DPuzzle extends Object3D {
|
|
2064
2064
|
onPositionChange(position: PuzzlePosition): void;
|
|
2065
2065
|
setStickeringMask(stickeringMask: StickeringMask): void;
|
|
2066
2066
|
}
|
|
2067
2067
|
//#endregion
|
|
2068
|
-
//#region src/cubing/twisty/views/3D/Twisty3DPuzzleWrapper.d.ts
|
|
2068
|
+
//#region ../src/cubing/twisty/views/3D/Twisty3DPuzzleWrapper.d.ts
|
|
2069
2069
|
declare class Twisty3DPuzzleWrapper extends EventTarget implements Schedulable {
|
|
2070
2070
|
#private;
|
|
2071
2071
|
private model;
|
|
@@ -2082,7 +2082,7 @@ declare class Twisty3DPuzzleWrapper extends EventTarget implements Schedulable {
|
|
|
2082
2082
|
}): Promise<void>;
|
|
2083
2083
|
}
|
|
2084
2084
|
//#endregion
|
|
2085
|
-
//#region src/cubing/twisty/views/3D/Twisty3DSceneWrapper.d.ts
|
|
2085
|
+
//#region ../src/cubing/twisty/views/3D/Twisty3DSceneWrapper.d.ts
|
|
2086
2086
|
declare class Twisty3DSceneWrapper extends ManagedCustomElement implements Schedulable {
|
|
2087
2087
|
#private;
|
|
2088
2088
|
disconnect(): void;
|
|
@@ -2105,7 +2105,7 @@ declare class Twisty3DSceneWrapper extends ManagedCustomElement implements Sched
|
|
|
2105
2105
|
onPuzzle(inputs: [puzzleLoader: PuzzleLoader, visualizationStrategy: VisualizationStrategy]): Promise<void>;
|
|
2106
2106
|
}
|
|
2107
2107
|
//#endregion
|
|
2108
|
-
//#region src/cubing/twisty/views/3D/TwistyOrbitControls.d.ts
|
|
2108
|
+
//#region ../src/cubing/twisty/views/3D/TwistyOrbitControls.d.ts
|
|
2109
2109
|
declare class TwistyOrbitControls {
|
|
2110
2110
|
/** @deprecated */
|
|
2111
2111
|
experimentalInertia: boolean;
|
|
@@ -2125,7 +2125,7 @@ declare class TwistyOrbitControls {
|
|
|
2125
2125
|
onUp(e: CustomEvent<DragMovementInfo>): void;
|
|
2126
2126
|
}
|
|
2127
2127
|
//#endregion
|
|
2128
|
-
//#region src/cubing/twisty/views/3D/Twisty3DVantage.d.ts
|
|
2128
|
+
//#region ../src/cubing/twisty/views/3D/Twisty3DVantage.d.ts
|
|
2129
2129
|
declare class Twisty3DVantage extends ManagedCustomElement {
|
|
2130
2130
|
#private;
|
|
2131
2131
|
scene: Twisty3DSceneWrapper | null;
|
|
@@ -2153,7 +2153,7 @@ declare class Twisty3DVantage extends ManagedCustomElement {
|
|
|
2153
2153
|
scheduleRender(): void;
|
|
2154
2154
|
}
|
|
2155
2155
|
//#endregion
|
|
2156
|
-
//#region src/cubing/twisty/views/TwistyPlayerSettable.d.ts
|
|
2156
|
+
//#region ../src/cubing/twisty/views/TwistyPlayerSettable.d.ts
|
|
2157
2157
|
declare abstract class TwistyPlayerSettable extends ManagedCustomElement {
|
|
2158
2158
|
experimentalModel: TwistyPlayerModel;
|
|
2159
2159
|
set alg(newAlg: Alg | string);
|
|
@@ -2233,7 +2233,7 @@ declare class ExperimentalGetters {
|
|
|
2233
2233
|
timestamp(): Promise<MillisecondTimestamp>;
|
|
2234
2234
|
}
|
|
2235
2235
|
//#endregion
|
|
2236
|
-
//#region src/cubing/twisty/views/TwistyPlayer.d.ts
|
|
2236
|
+
//#region ../src/cubing/twisty/views/TwistyPlayer.d.ts
|
|
2237
2237
|
/**
|
|
2238
2238
|
* The config argument passed to {@link TwistyPlayer} when calling the
|
|
2239
2239
|
* constructor. This interface type be useful for avoiding bugs when you would
|
|
@@ -2378,7 +2378,7 @@ declare global {
|
|
|
2378
2378
|
}
|
|
2379
2379
|
}
|
|
2380
2380
|
//#endregion
|
|
2381
|
-
//#region src/cubing/alg/parseAlg.d.ts
|
|
2381
|
+
//#region ../src/cubing/alg/parseAlg.d.ts
|
|
2382
2382
|
declare const startCharIndexKey: unique symbol;
|
|
2383
2383
|
declare const endCharIndexKey: unique symbol;
|
|
2384
2384
|
interface ParserIndexed {
|
|
@@ -2387,14 +2387,14 @@ interface ParserIndexed {
|
|
|
2387
2387
|
}
|
|
2388
2388
|
type Parsed<T extends Alg | AlgNode> = T & ParserIndexed;
|
|
2389
2389
|
//#endregion
|
|
2390
|
-
//#region src/cubing/twisty/views/TwistyAlgEditor/LeafTokens.d.ts
|
|
2390
|
+
//#region ../src/cubing/twisty/views/TwistyAlgEditor/LeafTokens.d.ts
|
|
2391
2391
|
type AnimatedLeafAlgNodeInfo = {
|
|
2392
2392
|
leaf: Parsed<AnimatedLeafAlgNode>;
|
|
2393
2393
|
idx: LeafIndex;
|
|
2394
2394
|
};
|
|
2395
2395
|
type OrderedLeafTokens = AnimatedLeafAlgNodeInfo[];
|
|
2396
2396
|
//#endregion
|
|
2397
|
-
//#region src/cubing/twisty/views/TwistyAlgEditor/model.d.ts
|
|
2397
|
+
//#region ../src/cubing/twisty/views/TwistyAlgEditor/model.d.ts
|
|
2398
2398
|
declare class TwistyAlgEditorValueProp extends SimpleTwistyPropSource<string> {
|
|
2399
2399
|
getDefaultValue(): string;
|
|
2400
2400
|
}
|
|
@@ -2452,7 +2452,7 @@ declare class TwistyAlgEditorModel {
|
|
|
2452
2452
|
leafToHighlight: LeafToHighlightProp;
|
|
2453
2453
|
}
|
|
2454
2454
|
//#endregion
|
|
2455
|
-
//#region src/cubing/twisty/views/TwistyAlgEditor/TwistyAlgEditor.d.ts
|
|
2455
|
+
//#region ../src/cubing/twisty/views/TwistyAlgEditor/TwistyAlgEditor.d.ts
|
|
2456
2456
|
type TwistyPlayerAlgProp = "alg" | "setupAlg";
|
|
2457
2457
|
/** @category Other Custom Elements */
|
|
2458
2458
|
declare class TwistyAlgEditor extends ManagedCustomElement {
|
|
@@ -2483,7 +2483,7 @@ declare global {
|
|
|
2483
2483
|
}
|
|
2484
2484
|
}
|
|
2485
2485
|
//#endregion
|
|
2486
|
-
//#region src/cubing/twisty/views/TwistyAlgViewer.d.ts
|
|
2486
|
+
//#region ../src/cubing/twisty/views/TwistyAlgViewer.d.ts
|
|
2487
2487
|
interface DataDown {
|
|
2488
2488
|
earliestMoveIndex: LeafIndex;
|
|
2489
2489
|
twistyAlgViewer: TwistyAlgViewer;
|
|
@@ -2536,7 +2536,7 @@ declare global {
|
|
|
2536
2536
|
}
|
|
2537
2537
|
}
|
|
2538
2538
|
//#endregion
|
|
2539
|
-
//#region src/cubing/twisty/views/twizzle/TwizzleLink.d.ts
|
|
2539
|
+
//#region ../src/cubing/twisty/views/twizzle/TwizzleLink.d.ts
|
|
2540
2540
|
declare class TwizzleLink extends ManagedCustomElement {
|
|
2541
2541
|
#private;
|
|
2542
2542
|
twistyPlayer: TwistyPlayer | null;
|
|
@@ -2554,7 +2554,7 @@ declare global {
|
|
|
2554
2554
|
}
|
|
2555
2555
|
}
|
|
2556
2556
|
//#endregion
|
|
2557
|
-
//#region src/cubing/puzzles/PuzzleLoader.d.ts
|
|
2557
|
+
//#region ../src/cubing/puzzles/PuzzleLoader.d.ts
|
|
2558
2558
|
type KeyMapping = {
|
|
2559
2559
|
[keyCode: string]: AlgLeaf;
|
|
2560
2560
|
};
|
|
@@ -2583,10 +2583,10 @@ interface PuzzleLoader {
|
|
|
2583
2583
|
algTransformData?: AlgTransformData;
|
|
2584
2584
|
}
|
|
2585
2585
|
//#endregion
|
|
2586
|
-
//#region src/cubing/alg/keyboard.d.ts
|
|
2586
|
+
//#region ../src/cubing/alg/keyboard.d.ts
|
|
2587
2587
|
declare function keyToMove(keyMapping: KeyMapping | undefined, e: KeyboardEvent): AlgLeaf | null;
|
|
2588
2588
|
//#endregion
|
|
2589
|
-
//#region src/cubing/alg/traversal.d.ts
|
|
2589
|
+
//#region ../src/cubing/alg/traversal.d.ts
|
|
2590
2590
|
declare abstract class TraversalDownUp<DataDown, DataAlgUp, DataAlgNodeUp = DataAlgUp> {
|
|
2591
2591
|
traverseAlgNode(algNode: AlgNode, dataDown: DataDown): DataAlgNodeUp;
|
|
2592
2592
|
traverseIntoAlgNode(algNode: AlgNode, dataDown: DataDown): AlgNode;
|
|
@@ -2615,7 +2615,7 @@ declare function functionFromTraversal<DataDown, DataAlgUp, ConstructorArgs exte
|
|
|
2615
2615
|
new (...args: ConstructorArgs): TraversalDownUp<DataDown, DataAlgUp, any>;
|
|
2616
2616
|
}, constructorArgs?: ConstructorArgs): undefined extends DataDown ? (alg: Alg) => DataAlgUp : (alg: Alg, v: DataDown) => DataAlgUp;
|
|
2617
2617
|
//#endregion
|
|
2618
|
-
//#region src/cubing/alg/url.d.ts
|
|
2618
|
+
//#region ../src/cubing/alg/url.d.ts
|
|
2619
2619
|
interface AlgCubingNetOptions {
|
|
2620
2620
|
alg?: Alg;
|
|
2621
2621
|
setup?: Alg;
|