cubing 0.65.0 → 0.65.2
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-NPXQ2ZXZ.js → chunk-Z5QOJAME.js} +3 -3
- package/dist/bin/chunks/chunk-Z5QOJAME.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 +2 -2
- package/dist/lib/cubing/alg/index.js +1 -1
- package/dist/lib/cubing/bluetooth/index.d.ts +25 -26
- package/dist/lib/cubing/bluetooth/index.js +5 -5
- package/dist/lib/cubing/chunks/{big-puzzle-orientation-G75BXW2W.js → big-puzzle-orientation-7WHPJCCO.js} +2 -2
- package/dist/lib/cubing/chunks/{chunk-DTYBGCI3.js → chunk-2BVL5OQE.js} +8 -6
- package/dist/lib/cubing/chunks/chunk-2BVL5OQE.js.map +7 -0
- package/dist/lib/cubing/chunks/{chunk-KHUP3BPA.js → chunk-2IA2R7XV.js} +4 -4
- package/dist/lib/cubing/chunks/{chunk-5LBACZOM.js → chunk-5FXQPBXH.js} +4 -4
- package/dist/lib/cubing/chunks/{chunk-GO2SL6SC.js → chunk-6K433TB5.js} +3 -3
- package/dist/lib/cubing/chunks/{chunk-THRYJMRP.js → chunk-BQPY6252.js} +2 -2
- package/dist/lib/cubing/chunks/{chunk-O2QJENHE.js → chunk-IRY6MBI2.js} +3 -3
- package/dist/lib/cubing/chunks/{chunk-7MYDNYZ3.js → chunk-MFKLAFPQ.js} +6 -4
- package/dist/lib/cubing/chunks/chunk-MFKLAFPQ.js.map +7 -0
- package/dist/lib/cubing/chunks/{chunk-UWJ575HH.js → chunk-MIHF623Z.js} +3 -3
- package/dist/lib/cubing/chunks/{chunk-YFNXHRNE.js → chunk-UP5VP7GL.js} +60 -7
- package/dist/lib/cubing/chunks/chunk-UP5VP7GL.js.map +7 -0
- package/dist/lib/cubing/chunks/{chunk-ALR6ZQFC.js → chunk-YSAQ6DRT.js} +2 -2
- package/dist/lib/cubing/chunks/{inside-A7LIP56H.js → inside-N5WSMI7I.js} +25 -20
- package/dist/lib/cubing/chunks/inside-N5WSMI7I.js.map +7 -0
- package/dist/lib/cubing/chunks/{search-dynamic-sgs-side-events-YSB3MWLK.js → search-dynamic-sgs-side-events-5EIXNDVI.js} +6 -6
- package/dist/lib/cubing/chunks/{search-dynamic-sgs-unofficial-OLK64DE6.js → search-dynamic-sgs-unofficial-Y7SIOVIX.js} +6 -6
- package/dist/lib/cubing/chunks/search-dynamic-sgs-unofficial-Y7SIOVIX.js.map +7 -0
- package/dist/lib/cubing/chunks/{search-dynamic-solve-4x4x4-WWFUMIDG.js → search-dynamic-solve-4x4x4-FRAX3IPQ.js} +7 -7
- package/dist/lib/cubing/chunks/search-dynamic-solve-4x4x4-FRAX3IPQ.js.map +7 -0
- package/dist/lib/cubing/chunks/{search-dynamic-solve-fto-ZZKLTONP.js → search-dynamic-solve-fto-TI4TFL6X.js} +2 -2
- package/dist/lib/cubing/chunks/search-dynamic-solve-fto-TI4TFL6X.js.map +7 -0
- package/dist/lib/cubing/chunks/{search-dynamic-solve-kilominx-PUF4PRHS.js → search-dynamic-solve-kilominx-UKFT6I42.js} +2 -2
- package/dist/lib/cubing/chunks/search-dynamic-solve-kilominx-UKFT6I42.js.map +7 -0
- package/dist/lib/cubing/chunks/search-worker-entry.js +1 -1
- package/dist/lib/cubing/chunks/{twips-LHO3IYJC.js → twips-UCWWA2WI.js} +2 -2
- package/dist/lib/cubing/chunks/{twisty-dynamic-3d-A2G22YLA.js → twisty-dynamic-3d-O5TGOSAO.js} +105 -90
- package/dist/lib/cubing/chunks/twisty-dynamic-3d-O5TGOSAO.js.map +7 -0
- package/dist/lib/cubing/{index-C2x6Sc62.d.ts → index-BQdS3h4z.d.ts} +165 -161
- package/dist/lib/cubing/{index-Doa1gNE4.d.ts → index-COSxNAgV.d.ts} +4 -5
- package/dist/lib/cubing/kpuzzle/index.d.ts +2 -2
- package/dist/lib/cubing/kpuzzle/index.js +2 -2
- package/dist/lib/cubing/notation/index.d.ts +4 -5
- package/dist/lib/cubing/notation/index.js +4 -4
- package/dist/lib/cubing/{outside-nf-4k7Tp.d.ts → outside-BRtF0DA2.d.ts} +12 -9
- package/dist/lib/cubing/protocol/index.d.ts +3 -4
- package/dist/lib/cubing/protocol/index.js +4 -4
- package/dist/lib/cubing/puzzle-geometry/index.d.ts +2 -2
- package/dist/lib/cubing/puzzle-geometry/index.js +1 -1
- package/dist/lib/cubing/puzzles/index.d.ts +2 -2
- package/dist/lib/cubing/puzzles/index.js +4 -4
- package/dist/lib/cubing/scramble/index.d.ts +1 -1
- package/dist/lib/cubing/scramble/index.js +6 -6
- package/dist/lib/cubing/search/index.d.ts +4 -5
- package/dist/lib/cubing/search/index.js +6 -6
- package/dist/lib/cubing/stream/index.d.ts +2 -2
- package/dist/lib/cubing/stream/index.js +1 -1
- package/dist/lib/cubing/twisty/index.d.ts +2 -2
- package/dist/lib/cubing/twisty/index.js +6 -6
- package/package.json +11 -10
- package/dist/bin/chunks/chunk-NPXQ2ZXZ.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/chunk-YFNXHRNE.js.map +0 -7
- package/dist/lib/cubing/chunks/inside-A7LIP56H.js.map +0 -7
- package/dist/lib/cubing/chunks/search-dynamic-sgs-unofficial-OLK64DE6.js.map +0 -7
- package/dist/lib/cubing/chunks/search-dynamic-solve-4x4x4-WWFUMIDG.js.map +0 -7
- package/dist/lib/cubing/chunks/search-dynamic-solve-fto-ZZKLTONP.js.map +0 -7
- package/dist/lib/cubing/chunks/search-dynamic-solve-kilominx-PUF4PRHS.js.map +0 -7
- package/dist/lib/cubing/chunks/twisty-dynamic-3d-A2G22YLA.js.map +0 -7
- /package/dist/lib/cubing/chunks/{big-puzzle-orientation-G75BXW2W.js.map → big-puzzle-orientation-7WHPJCCO.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-KHUP3BPA.js.map → chunk-2IA2R7XV.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-5LBACZOM.js.map → chunk-5FXQPBXH.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-GO2SL6SC.js.map → chunk-6K433TB5.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-THRYJMRP.js.map → chunk-BQPY6252.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-O2QJENHE.js.map → chunk-IRY6MBI2.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-UWJ575HH.js.map → chunk-MIHF623Z.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-ALR6ZQFC.js.map → chunk-YSAQ6DRT.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{search-dynamic-sgs-side-events-YSB3MWLK.js.map → search-dynamic-sgs-side-events-5EIXNDVI.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{twips-LHO3IYJC.js.map → twips-UCWWA2WI.js.map} +0 -0
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { Tagged } from "type-fest";
|
|
2
2
|
import { Object3D, PerspectiveCamera, Raycaster, Scene, Texture, WebGLRenderer } from "three/src/Three.js";
|
|
3
|
-
|
|
4
|
-
//#region src/cubing/alg/iteration.d.ts
|
|
3
|
+
//#region ../src/cubing/alg/iteration.d.ts
|
|
5
4
|
type IterationDirection = (typeof IterationDirection)[keyof typeof IterationDirection];
|
|
6
5
|
declare const IterationDirection: {
|
|
7
6
|
Forwards: number;
|
|
8
7
|
Backwards: number;
|
|
9
8
|
};
|
|
10
9
|
//#endregion
|
|
11
|
-
//#region src/cubing/alg/SerializationOptions.d.ts
|
|
10
|
+
//#region ../src/cubing/alg/SerializationOptions.d.ts
|
|
12
11
|
type ExperimentalNotationType = "auto" | "LGN";
|
|
13
12
|
interface ExperimentalSerializationOptions {
|
|
14
13
|
notation?: ExperimentalNotationType;
|
|
15
14
|
}
|
|
16
15
|
//#endregion
|
|
17
|
-
//#region src/cubing/alg/common.d.ts
|
|
16
|
+
//#region ../src/cubing/alg/common.d.ts
|
|
18
17
|
declare abstract class Comparable {
|
|
19
18
|
is(c: any): boolean;
|
|
20
19
|
as<T>(c: new (...args: any) => T): T | null;
|
|
@@ -31,7 +30,7 @@ declare abstract class AlgCommon<T extends Alg | AlgNode> extends Comparable imp
|
|
|
31
30
|
abstract experimentalExpand(iterDir: IterationDirection): Generator<AlgLeaf>;
|
|
32
31
|
}
|
|
33
32
|
//#endregion
|
|
34
|
-
//#region src/cubing/alg/alg-nodes/containers/Commutator.d.ts
|
|
33
|
+
//#region ../src/cubing/alg/alg-nodes/containers/Commutator.d.ts
|
|
35
34
|
/** @category Alg Nodes */
|
|
36
35
|
declare class Commutator extends AlgCommon<Commutator> {
|
|
37
36
|
#private;
|
|
@@ -44,7 +43,7 @@ declare class Commutator extends AlgCommon<Commutator> {
|
|
|
44
43
|
toString(experimentalSerializationOptions?: ExperimentalSerializationOptions): string;
|
|
45
44
|
}
|
|
46
45
|
//#endregion
|
|
47
|
-
//#region src/cubing/alg/alg-nodes/containers/Conjugate.d.ts
|
|
46
|
+
//#region ../src/cubing/alg/alg-nodes/containers/Conjugate.d.ts
|
|
48
47
|
/** @category Alg Nodes */
|
|
49
48
|
declare class Conjugate extends AlgCommon<Conjugate> {
|
|
50
49
|
#private;
|
|
@@ -57,7 +56,45 @@ declare class Conjugate extends AlgCommon<Conjugate> {
|
|
|
57
56
|
toString(experimentalSerializationOptions?: ExperimentalSerializationOptions): string;
|
|
58
57
|
}
|
|
59
58
|
//#endregion
|
|
60
|
-
//#region src/cubing/alg/alg-nodes/leaves/
|
|
59
|
+
//#region ../src/cubing/alg/alg-nodes/leaves/LineComment.d.ts
|
|
60
|
+
/** @category Alg Nodes */
|
|
61
|
+
declare class LineComment extends AlgCommon<LineComment> {
|
|
62
|
+
#private;
|
|
63
|
+
constructor(commentText: string);
|
|
64
|
+
get text(): string;
|
|
65
|
+
isIdentical(other: Comparable): boolean;
|
|
66
|
+
invert(): LineComment;
|
|
67
|
+
experimentalExpand(_iterDir?: IterationDirection, _depth?: number): Generator<AlgLeaf>;
|
|
68
|
+
toString(_experimentalSerializationOptions?: ExperimentalSerializationOptions): string;
|
|
69
|
+
}
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region ../src/cubing/alg/alg-nodes/leaves/Newline.d.ts
|
|
72
|
+
/** @category Alg Nodes */
|
|
73
|
+
declare class Newline extends AlgCommon<Newline> {
|
|
74
|
+
toString(_experimentalSerializationOptions?: ExperimentalSerializationOptions): string;
|
|
75
|
+
isIdentical(other: Comparable): boolean;
|
|
76
|
+
invert(): Newline;
|
|
77
|
+
experimentalExpand(_iterDir?: IterationDirection, _depth?: number): Generator<AlgLeaf>;
|
|
78
|
+
}
|
|
79
|
+
//#endregion
|
|
80
|
+
//#region ../src/cubing/alg/alg-nodes/leaves/Pause.d.ts
|
|
81
|
+
/** @category Alg Nodes */
|
|
82
|
+
declare class Pause extends AlgCommon<Pause> {
|
|
83
|
+
experimentalNISSGrouping?: Grouping;
|
|
84
|
+
toString(_experimentalSerializationOptions?: ExperimentalSerializationOptions): string;
|
|
85
|
+
isIdentical(other: Comparable): boolean;
|
|
86
|
+
invert(): Pause;
|
|
87
|
+
experimentalExpand(_iterDir?: IterationDirection, _depth?: number): Generator<AlgLeaf>;
|
|
88
|
+
}
|
|
89
|
+
//#endregion
|
|
90
|
+
//#region ../src/cubing/alg/alg-nodes/index.d.ts
|
|
91
|
+
/** @deprecated */
|
|
92
|
+
type Unit = AlgNode;
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region ../src/cubing/alg/inspect.d.ts
|
|
95
|
+
declare const NODEJS_UTIL_INSPECT_CUSTOM: unique symbol;
|
|
96
|
+
//#endregion
|
|
97
|
+
//#region ../src/cubing/alg/alg-nodes/leaves/Move.d.ts
|
|
61
98
|
interface QuantumMoveModifications {
|
|
62
99
|
outerLayer?: number;
|
|
63
100
|
innerLayer?: number;
|
|
@@ -104,19 +141,10 @@ declare class Move extends AlgCommon<Move> {
|
|
|
104
141
|
/** @deprecated */
|
|
105
142
|
get innerLayer(): number | undefined;
|
|
106
143
|
toString(experimentalSerializationOptions?: ExperimentalSerializationOptions): string;
|
|
144
|
+
[NODEJS_UTIL_INSPECT_CUSTOM](): string;
|
|
107
145
|
}
|
|
108
146
|
//#endregion
|
|
109
|
-
//#region src/cubing/alg/alg-nodes/
|
|
110
|
-
/** @category Alg Nodes */
|
|
111
|
-
declare class Pause extends AlgCommon<Pause> {
|
|
112
|
-
experimentalNISSGrouping?: Grouping;
|
|
113
|
-
toString(_experimentalSerializationOptions?: ExperimentalSerializationOptions): string;
|
|
114
|
-
isIdentical(other: Comparable): boolean;
|
|
115
|
-
invert(): Pause;
|
|
116
|
-
experimentalExpand(_iterDir?: IterationDirection, _depth?: number): Generator<AlgLeaf>;
|
|
117
|
-
}
|
|
118
|
-
//#endregion
|
|
119
|
-
//#region src/cubing/alg/alg-nodes/containers/Grouping.d.ts
|
|
147
|
+
//#region ../src/cubing/alg/alg-nodes/containers/Grouping.d.ts
|
|
120
148
|
interface GroupingModifications {
|
|
121
149
|
alg?: Alg;
|
|
122
150
|
amount?: number;
|
|
@@ -139,28 +167,7 @@ declare class Grouping extends AlgCommon<Grouping> {
|
|
|
139
167
|
experimentalAsSquare1Tuple(): [moveU: Move, moveD: Move] | null;
|
|
140
168
|
}
|
|
141
169
|
//#endregion
|
|
142
|
-
//#region src/cubing/alg/alg-nodes/
|
|
143
|
-
/** @category Alg Nodes */
|
|
144
|
-
declare class LineComment extends AlgCommon<LineComment> {
|
|
145
|
-
#private;
|
|
146
|
-
constructor(commentText: string);
|
|
147
|
-
get text(): string;
|
|
148
|
-
isIdentical(other: Comparable): boolean;
|
|
149
|
-
invert(): LineComment;
|
|
150
|
-
experimentalExpand(_iterDir?: IterationDirection, _depth?: number): Generator<AlgLeaf>;
|
|
151
|
-
toString(_experimentalSerializationOptions?: ExperimentalSerializationOptions): string;
|
|
152
|
-
}
|
|
153
|
-
//#endregion
|
|
154
|
-
//#region src/cubing/alg/alg-nodes/leaves/Newline.d.ts
|
|
155
|
-
/** @category Alg Nodes */
|
|
156
|
-
declare class Newline extends AlgCommon<Newline> {
|
|
157
|
-
toString(_experimentalSerializationOptions?: ExperimentalSerializationOptions): string;
|
|
158
|
-
isIdentical(other: Comparable): boolean;
|
|
159
|
-
invert(): Newline;
|
|
160
|
-
experimentalExpand(_iterDir?: IterationDirection, _depth?: number): Generator<AlgLeaf>;
|
|
161
|
-
}
|
|
162
|
-
//#endregion
|
|
163
|
-
//#region src/cubing/alg/alg-nodes/AlgNode.d.ts
|
|
170
|
+
//#region ../src/cubing/alg/alg-nodes/AlgNode.d.ts
|
|
164
171
|
/** @category Alg Nodes */
|
|
165
172
|
type AlgLeaf = Move | LineComment | Newline | Pause;
|
|
166
173
|
/** @category Alg Nodes */
|
|
@@ -168,11 +175,7 @@ type AlgBranch = Grouping | Conjugate | Commutator;
|
|
|
168
175
|
/** @category Alg Nodes */
|
|
169
176
|
type AlgNode = AlgLeaf | AlgBranch;
|
|
170
177
|
//#endregion
|
|
171
|
-
//#region src/cubing/alg/
|
|
172
|
-
/** @deprecated */
|
|
173
|
-
type Unit = AlgNode;
|
|
174
|
-
//#endregion
|
|
175
|
-
//#region src/cubing/alg/simplify/options.d.ts
|
|
178
|
+
//#region ../src/cubing/alg/simplify/options.d.ts
|
|
176
179
|
declare const DEFAULT_DIRECTIONAL = "any-direction";
|
|
177
180
|
type QuantumDirectionalCancellation = typeof DEFAULT_DIRECTIONAL | "same-direction" | "none";
|
|
178
181
|
type ModWrap = "none" | "gravity" | "canonical-centered" | "canonical-positive" | "preserve-sign";
|
|
@@ -199,10 +202,10 @@ interface PuzzleSpecificSimplifyOptions {
|
|
|
199
202
|
axis?: PuzzleSpecificAxisSimplifyInfo;
|
|
200
203
|
}
|
|
201
204
|
//#endregion
|
|
202
|
-
//#region src/cubing/alg/simplify/append.d.ts
|
|
205
|
+
//#region ../src/cubing/alg/simplify/append.d.ts
|
|
203
206
|
declare function experimentalAppendMove(alg: Alg, addedMove: Move, options?: AppendOptions): Alg;
|
|
204
207
|
//#endregion
|
|
205
|
-
//#region src/cubing/alg/Alg.d.ts
|
|
208
|
+
//#region ../src/cubing/alg/Alg.d.ts
|
|
206
209
|
type FlexibleAlgSource = string | Iterable<AlgNode> | Alg;
|
|
207
210
|
/**
|
|
208
211
|
* `Alg` is a class that encapsulates a structured alg. To create an `Alg` from a string, use:
|
|
@@ -371,9 +374,10 @@ declare class Alg extends AlgCommon<Alg> {
|
|
|
371
374
|
experimentalSimplify(options?: SimplifyOptions): Alg;
|
|
372
375
|
/** @deprecated See {@link experimentalSimplify} */
|
|
373
376
|
simplify(options?: SimplifyOptions): Alg;
|
|
377
|
+
[NODEJS_UTIL_INSPECT_CUSTOM](): string;
|
|
374
378
|
}
|
|
375
379
|
//#endregion
|
|
376
|
-
//#region src/cubing/alg/AlgBuilder.d.ts
|
|
380
|
+
//#region ../src/cubing/alg/AlgBuilder.d.ts
|
|
377
381
|
/** @category Alg */
|
|
378
382
|
declare class AlgBuilder {
|
|
379
383
|
#private;
|
|
@@ -385,12 +389,12 @@ declare class AlgBuilder {
|
|
|
385
389
|
reset(): void;
|
|
386
390
|
}
|
|
387
391
|
//#endregion
|
|
388
|
-
//#region src/cubing/alg/debug.d.ts
|
|
392
|
+
//#region ../src/cubing/alg/debug.d.ts
|
|
389
393
|
declare function setAlgDebug(options: {
|
|
390
394
|
caretNISSNotationEnabled?: boolean;
|
|
391
395
|
}): void;
|
|
392
396
|
//#endregion
|
|
393
|
-
//#region src/cubing/alg/example.d.ts
|
|
397
|
+
//#region ../src/cubing/alg/example.d.ts
|
|
394
398
|
declare const Example: {
|
|
395
399
|
Sune: Alg;
|
|
396
400
|
AntiSune: Alg;
|
|
@@ -405,16 +409,16 @@ declare const Example: {
|
|
|
405
409
|
TriplePause: Alg;
|
|
406
410
|
};
|
|
407
411
|
//#endregion
|
|
408
|
-
//#region src/cubing/alg/is.d.ts
|
|
412
|
+
//#region ../src/cubing/alg/is.d.ts
|
|
409
413
|
declare function experimentalIs(v: any, c: typeof Alg | typeof Grouping | typeof LineComment | typeof Commutator | typeof Conjugate | typeof Move | typeof Newline | typeof Pause): boolean;
|
|
410
414
|
//#endregion
|
|
411
|
-
//#region src/cubing/puzzle-geometry/notation-mapping/NotationMapper.d.ts
|
|
415
|
+
//#region ../src/cubing/puzzle-geometry/notation-mapping/NotationMapper.d.ts
|
|
412
416
|
interface NotationMapper {
|
|
413
417
|
notationToInternal(move: Move): Move | null;
|
|
414
418
|
notationToExternal(move: Move): Move | null;
|
|
415
419
|
}
|
|
416
420
|
//#endregion
|
|
417
|
-
//#region src/cubing/puzzle-geometry/Options.d.ts
|
|
421
|
+
//#region ../src/cubing/puzzle-geometry/Options.d.ts
|
|
418
422
|
type FaceName = string;
|
|
419
423
|
type OrientationDirection = [number, number, number];
|
|
420
424
|
type FaceBasedOrientationDescription = [[FaceName, OrientationDirection], [FaceName, OrientationDirection]];
|
|
@@ -445,7 +449,7 @@ declare class PuzzleGeometryFullOptions {
|
|
|
445
449
|
}
|
|
446
450
|
type PuzzleGeometryOptions = Partial<PuzzleGeometryFullOptions>;
|
|
447
451
|
//#endregion
|
|
448
|
-
//#region src/cubing/puzzle-geometry/Perm.d.ts
|
|
452
|
+
//#region ../src/cubing/puzzle-geometry/Perm.d.ts
|
|
449
453
|
declare class Perm {
|
|
450
454
|
n: number;
|
|
451
455
|
p: number[];
|
|
@@ -460,7 +464,7 @@ declare class Perm {
|
|
|
460
464
|
order(): number;
|
|
461
465
|
}
|
|
462
466
|
//#endregion
|
|
463
|
-
//#region src/cubing/puzzle-geometry/PermOriSet.d.ts
|
|
467
|
+
//#region ../src/cubing/puzzle-geometry/PermOriSet.d.ts
|
|
464
468
|
declare class PGOrbitDef {
|
|
465
469
|
size: number;
|
|
466
470
|
mod: number;
|
|
@@ -531,14 +535,14 @@ declare class VisibleState extends PGTransformBase {
|
|
|
531
535
|
mul(b: PGTransform): VisibleState;
|
|
532
536
|
}
|
|
533
537
|
//#endregion
|
|
534
|
-
//#region src/cubing/puzzle-geometry/pgPuzzles.d.ts
|
|
538
|
+
//#region ../src/cubing/puzzle-geometry/pgPuzzles.d.ts
|
|
535
539
|
type PuzzleDescriptionString = string;
|
|
536
540
|
declare const pgPuzzle: {
|
|
537
541
|
[name: string]: PuzzleDescriptionString;
|
|
538
542
|
};
|
|
539
543
|
type PuzzleName = keyof typeof pgPuzzle;
|
|
540
544
|
//#endregion
|
|
541
|
-
//#region src/cubing/puzzle-geometry/Quat.d.ts
|
|
545
|
+
//#region ../src/cubing/puzzle-geometry/Quat.d.ts
|
|
542
546
|
declare class Quat {
|
|
543
547
|
a: number;
|
|
544
548
|
b: number;
|
|
@@ -580,7 +584,7 @@ declare class Quat {
|
|
|
580
584
|
makecut(r: number): Quat;
|
|
581
585
|
}
|
|
582
586
|
//#endregion
|
|
583
|
-
//#region src/cubing/puzzle-geometry/PuzzleGeometry.d.ts
|
|
587
|
+
//#region ../src/cubing/puzzle-geometry/PuzzleGeometry.d.ts
|
|
584
588
|
interface TextureMapper {
|
|
585
589
|
getuv(fn: number, threed: number[]): number[];
|
|
586
590
|
}
|
|
@@ -733,7 +737,7 @@ declare class PGNotation {
|
|
|
733
737
|
remapKPuzzleDefinition(kpuzzleDefinition: KPuzzleDefinition): KPuzzleDefinition;
|
|
734
738
|
}
|
|
735
739
|
//#endregion
|
|
736
|
-
//#region src/cubing/kpuzzle/KPuzzleDefinitionJSON.d.ts
|
|
740
|
+
//#region ../src/cubing/kpuzzle/KPuzzleDefinitionJSON.d.ts
|
|
737
741
|
type KPatternData = {
|
|
738
742
|
[orbitName: string]: KPatternOrbitData;
|
|
739
743
|
};
|
|
@@ -889,7 +893,7 @@ interface KPuzzleDefinitionJSON {
|
|
|
889
893
|
};
|
|
890
894
|
}
|
|
891
895
|
//#endregion
|
|
892
|
-
//#region src/cubing/kpuzzle/KPuzzleDefinition.d.ts
|
|
896
|
+
//#region ../src/cubing/kpuzzle/KPuzzleDefinition.d.ts
|
|
893
897
|
interface KPuzzleDefinition extends KPuzzleDefinitionJSON {
|
|
894
898
|
experimentalIsPatternSolved?: (kpattern: KPattern, options: {
|
|
895
899
|
ignorePuzzleOrientation: boolean;
|
|
@@ -897,7 +901,7 @@ interface KPuzzleDefinition extends KPuzzleDefinitionJSON {
|
|
|
897
901
|
}) => boolean;
|
|
898
902
|
}
|
|
899
903
|
//#endregion
|
|
900
|
-
//#region src/cubing/kpuzzle/KTransformation.d.ts
|
|
904
|
+
//#region ../src/cubing/kpuzzle/KTransformation.d.ts
|
|
901
905
|
declare class KTransformation {
|
|
902
906
|
#private;
|
|
903
907
|
readonly kpuzzle: KPuzzle;
|
|
@@ -919,7 +923,7 @@ declare class KTransformation {
|
|
|
919
923
|
selfMultiply(amount: number): KTransformation;
|
|
920
924
|
}
|
|
921
925
|
//#endregion
|
|
922
|
-
//#region src/cubing/kpuzzle/KPuzzle.d.ts
|
|
926
|
+
//#region ../src/cubing/kpuzzle/KPuzzle.d.ts
|
|
923
927
|
type KTransformationSource = Alg | Move | string | KTransformation;
|
|
924
928
|
declare class KPuzzle {
|
|
925
929
|
#private;
|
|
@@ -939,7 +943,7 @@ declare class KPuzzle {
|
|
|
939
943
|
canConvertDefaultPatternToUniqueTransformation(): boolean;
|
|
940
944
|
}
|
|
941
945
|
//#endregion
|
|
942
|
-
//#region src/cubing/kpuzzle/KPattern.d.ts
|
|
946
|
+
//#region ../src/cubing/kpuzzle/KPattern.d.ts
|
|
943
947
|
declare class KPattern {
|
|
944
948
|
readonly kpuzzle: KPuzzle;
|
|
945
949
|
readonly patternData: KPatternData;
|
|
@@ -960,10 +964,10 @@ declare class KPattern {
|
|
|
960
964
|
}): boolean;
|
|
961
965
|
}
|
|
962
966
|
//#endregion
|
|
963
|
-
//#region src/cubing/puzzle-geometry/SchreierSims.d.ts
|
|
967
|
+
//#region ../src/cubing/puzzle-geometry/SchreierSims.d.ts
|
|
964
968
|
declare function schreierSims(g: Perm[], disp: (s: string) => void): bigint;
|
|
965
969
|
//#endregion
|
|
966
|
-
//#region src/cubing/twisty/controllers/AnimationTypes.d.ts
|
|
970
|
+
//#region ../src/cubing/twisty/controllers/AnimationTypes.d.ts
|
|
967
971
|
type MillisecondTimestamp = Tagged<DOMHighResTimeStamp, "MillisecondTimestamp">;
|
|
968
972
|
type MillisecondDuration = Tagged<number, "MillisecondDuration">;
|
|
969
973
|
type Direction = (typeof Direction)[keyof typeof Direction];
|
|
@@ -991,7 +995,7 @@ interface TimeRange {
|
|
|
991
995
|
end: MillisecondTimestamp;
|
|
992
996
|
}
|
|
993
997
|
//#endregion
|
|
994
|
-
//#region src/cubing/twisty/model/UserVisibleErrorTracker.d.ts
|
|
998
|
+
//#region ../src/cubing/twisty/model/UserVisibleErrorTracker.d.ts
|
|
995
999
|
interface UserVisibleError {
|
|
996
1000
|
errors: string[];
|
|
997
1001
|
}
|
|
@@ -1001,9 +1005,9 @@ declare class UserVisibleErrorTracker extends SimpleTwistyPropSource<UserVisible
|
|
|
1001
1005
|
protected canReuseValue(_v1: UserVisibleError, _v2: UserVisibleError): boolean;
|
|
1002
1006
|
}
|
|
1003
1007
|
//#endregion
|
|
1004
|
-
//#region src/cubing/twisty/model/props/TwistyProp.d.ts
|
|
1008
|
+
//#region ../src/cubing/twisty/model/props/TwistyProp.d.ts
|
|
1005
1009
|
type InputRecord = Record<string, any>;
|
|
1006
|
-
type InputProps<T extends InputRecord> = { [s in keyof T]: TwistyPropParent<T[s]
|
|
1010
|
+
type InputProps<T extends InputRecord> = { [s in keyof T]: TwistyPropParent<T[s]>; };
|
|
1007
1011
|
type Generation = Tagged<number, "Generation">;
|
|
1008
1012
|
interface SourceEventDetail<OutputType> {
|
|
1009
1013
|
sourceProp: TwistyPropSource<OutputType, any>;
|
|
@@ -1053,7 +1057,7 @@ declare abstract class TwistyPropDerived<InputTypes extends InputRecord, OutputT
|
|
|
1053
1057
|
protected abstract derive(input: InputTypes): PromiseOrValue<OutputType>;
|
|
1054
1058
|
}
|
|
1055
1059
|
//#endregion
|
|
1056
|
-
//#region src/cubing/twisty/model/props/puzzle/state/AnimationTimelineLeavesRequestProp.d.ts
|
|
1060
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/AnimationTimelineLeavesRequestProp.d.ts
|
|
1057
1061
|
interface AnimationTimelineLeaf {
|
|
1058
1062
|
animLeaf: AlgLeaf;
|
|
1059
1063
|
start: MillisecondTimestamp;
|
|
@@ -1064,10 +1068,10 @@ declare class AnimationTimelineLeavesRequestProp extends SimpleTwistyPropSource<
|
|
|
1064
1068
|
getDefaultValue(): AnimationTimelineLeaf[] | null;
|
|
1065
1069
|
}
|
|
1066
1070
|
//#endregion
|
|
1067
|
-
//#region src/cubing/twisty/controllers/indexer/simultaneous-moves/simul-moves.d.ts
|
|
1071
|
+
//#region ../src/cubing/twisty/controllers/indexer/simultaneous-moves/simul-moves.d.ts
|
|
1068
1072
|
type AnimatedLeafAlgNode = Move | Pause;
|
|
1069
1073
|
//#endregion
|
|
1070
|
-
//#region src/cubing/twisty/controllers/indexer/AlgIndexer.d.ts
|
|
1074
|
+
//#region ../src/cubing/twisty/controllers/indexer/AlgIndexer.d.ts
|
|
1071
1075
|
interface CurrentMove {
|
|
1072
1076
|
move: Move;
|
|
1073
1077
|
direction: Direction;
|
|
@@ -1099,7 +1103,7 @@ interface AlgIndexer {
|
|
|
1099
1103
|
currentMoveInfo?: (timestamp: MillisecondTimestamp) => CurrentMoveInfo;
|
|
1100
1104
|
}
|
|
1101
1105
|
//#endregion
|
|
1102
|
-
//#region src/cubing/twisty/controllers/indexer/SimpleAlgIndexer.d.ts
|
|
1106
|
+
//#region ../src/cubing/twisty/controllers/indexer/SimpleAlgIndexer.d.ts
|
|
1103
1107
|
declare class SimpleAlgIndexer implements AlgIndexer {
|
|
1104
1108
|
private moves;
|
|
1105
1109
|
private durationFn;
|
|
@@ -1115,7 +1119,7 @@ declare class SimpleAlgIndexer implements AlgIndexer {
|
|
|
1115
1119
|
moveDuration(index: LeafIndex): MillisecondDuration;
|
|
1116
1120
|
}
|
|
1117
1121
|
//#endregion
|
|
1118
|
-
//#region src/cubing/twisty/controllers/indexer/tree/TreeAlgIndexer.d.ts
|
|
1122
|
+
//#region ../src/cubing/twisty/controllers/indexer/tree/TreeAlgIndexer.d.ts
|
|
1119
1123
|
declare class TreeAlgIndexer implements AlgIndexer {
|
|
1120
1124
|
private decoration;
|
|
1121
1125
|
private walker;
|
|
@@ -1132,14 +1136,14 @@ declare class TreeAlgIndexer implements AlgIndexer {
|
|
|
1132
1136
|
moveDuration(index: LeafIndex): MillisecondDuration;
|
|
1133
1137
|
}
|
|
1134
1138
|
//#endregion
|
|
1135
|
-
//#region src/cubing/twisty/debug.d.ts
|
|
1139
|
+
//#region ../src/cubing/twisty/debug.d.ts
|
|
1136
1140
|
declare const twistyDebugGlobals: {
|
|
1137
1141
|
shareAllNewRenderers: "auto" | "always" | "never";
|
|
1138
1142
|
showRenderStats: boolean;
|
|
1139
1143
|
};
|
|
1140
1144
|
declare function setTwistyDebug(options: Partial<typeof twistyDebugGlobals>): void;
|
|
1141
1145
|
//#endregion
|
|
1142
|
-
//#region src/cubing/puzzles/stickerings/mask.d.ts
|
|
1146
|
+
//#region ../src/cubing/puzzles/stickerings/mask.d.ts
|
|
1143
1147
|
type FaceletMeshStickeringMask = "regular" | "dim" | "oriented" | "experimentalOriented2" | "ignored" | "invisible" | "mystery";
|
|
1144
1148
|
type FaceletStickeringMask = {
|
|
1145
1149
|
mask: FaceletMeshStickeringMask;
|
|
@@ -1157,12 +1161,12 @@ type StickeringMask = {
|
|
|
1157
1161
|
orbits: Record<string, OrbitStickeringMask>;
|
|
1158
1162
|
};
|
|
1159
1163
|
//#endregion
|
|
1160
|
-
//#region src/cubing/puzzles/stickerings/puzzle-stickerings.d.ts
|
|
1164
|
+
//#region ../src/cubing/puzzles/stickerings/puzzle-stickerings.d.ts
|
|
1161
1165
|
declare const experimentalStickerings: Record<string, {
|
|
1162
1166
|
groups?: Partial<Record<PuzzleID, string>>;
|
|
1163
1167
|
}>;
|
|
1164
1168
|
//#endregion
|
|
1165
|
-
//#region src/cubing/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.d.ts
|
|
1169
|
+
//#region ../src/cubing/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.d.ts
|
|
1166
1170
|
declare const puzzleIDs: {
|
|
1167
1171
|
"3x3x3": boolean;
|
|
1168
1172
|
custom: boolean;
|
|
@@ -1192,13 +1196,13 @@ declare class PuzzleIDRequestProp extends SimpleTwistyPropSource<PuzzleID | NoVa
|
|
|
1192
1196
|
getDefaultValue(): PuzzleID | NoValueType;
|
|
1193
1197
|
}
|
|
1194
1198
|
//#endregion
|
|
1195
|
-
//#region src/cubing/twisty/model/props/puzzle/display/StickeringRequestProp.d.ts
|
|
1199
|
+
//#region ../src/cubing/twisty/model/props/puzzle/display/StickeringRequestProp.d.ts
|
|
1196
1200
|
type ExperimentalStickering = keyof typeof experimentalStickerings;
|
|
1197
1201
|
declare class StickeringRequestProp extends SimpleTwistyPropSource<ExperimentalStickering | null> {
|
|
1198
1202
|
getDefaultValue(): ExperimentalStickering | null;
|
|
1199
1203
|
}
|
|
1200
1204
|
//#endregion
|
|
1201
|
-
//#region src/cubing/twisty/model/props/viewer/BackViewProp.d.ts
|
|
1205
|
+
//#region ../src/cubing/twisty/model/props/viewer/BackViewProp.d.ts
|
|
1202
1206
|
declare const backViewLayouts: {
|
|
1203
1207
|
none: boolean;
|
|
1204
1208
|
"side-by-side": boolean;
|
|
@@ -1210,7 +1214,7 @@ declare class BackViewProp extends SimpleTwistyPropSource<BackViewLayoutWithAuto
|
|
|
1210
1214
|
getDefaultValue(): BackViewLayoutWithAuto;
|
|
1211
1215
|
}
|
|
1212
1216
|
//#endregion
|
|
1213
|
-
//#region src/cubing/twisty/model/props/viewer/VisualizationProp.d.ts
|
|
1217
|
+
//#region ../src/cubing/twisty/model/props/viewer/VisualizationProp.d.ts
|
|
1214
1218
|
declare const visualizationFormats: {
|
|
1215
1219
|
readonly "3D": true;
|
|
1216
1220
|
readonly "2D": true;
|
|
@@ -1224,7 +1228,7 @@ declare class VisualizationFormatProp extends SimpleTwistyPropSource<Visualizati
|
|
|
1224
1228
|
getDefaultValue(): VisualizationFormatWithAuto;
|
|
1225
1229
|
}
|
|
1226
1230
|
//#endregion
|
|
1227
|
-
//#region src/cubing/twisty/views/2D/TwistyAnimatedSVG.d.ts
|
|
1231
|
+
//#region ../src/cubing/twisty/views/2D/TwistyAnimatedSVG.d.ts
|
|
1228
1232
|
declare class TwistyAnimatedSVG {
|
|
1229
1233
|
wrapperElement: HTMLElement;
|
|
1230
1234
|
svgElement: SVGElement;
|
|
@@ -1242,10 +1246,10 @@ declare class TwistyAnimatedSVG {
|
|
|
1242
1246
|
private elementByID;
|
|
1243
1247
|
}
|
|
1244
1248
|
//#endregion
|
|
1245
|
-
//#region src/cubing/twisty/views/node-custom-element-shims.d.ts
|
|
1249
|
+
//#region ../src/cubing/twisty/views/node-custom-element-shims.d.ts
|
|
1246
1250
|
declare let HTMLElementShim: typeof HTMLElement;
|
|
1247
1251
|
//#endregion
|
|
1248
|
-
//#region src/cubing/twisty/views/ManagedCustomElement.d.ts
|
|
1252
|
+
//#region ../src/cubing/twisty/views/ManagedCustomElement.d.ts
|
|
1249
1253
|
declare class ManagedCustomElement extends HTMLElementShim {
|
|
1250
1254
|
readonly shadow: ShadowRoot;
|
|
1251
1255
|
readonly contentWrapper: HTMLDivElement;
|
|
@@ -1259,7 +1263,7 @@ declare class ManagedCustomElement extends HTMLElementShim {
|
|
|
1259
1263
|
removeElement<T extends Node>(element: T): T;
|
|
1260
1264
|
}
|
|
1261
1265
|
//#endregion
|
|
1262
|
-
//#region src/cubing/twisty/model/props/puzzle/state/CatchUpMoveProp.d.ts
|
|
1266
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/CatchUpMoveProp.d.ts
|
|
1263
1267
|
interface CatchUpMove {
|
|
1264
1268
|
move: Move | null;
|
|
1265
1269
|
amount: number;
|
|
@@ -1269,7 +1273,7 @@ declare class CatchUpMoveProp extends SimpleTwistyPropSource<CatchUpMove> {
|
|
|
1269
1273
|
protected canReuseValue(v1: CatchUpMove, v2: CatchUpMove): boolean;
|
|
1270
1274
|
}
|
|
1271
1275
|
//#endregion
|
|
1272
|
-
//#region src/cubing/twisty/model/props/timeline/PlayingInfoProp.d.ts
|
|
1276
|
+
//#region ../src/cubing/twisty/model/props/timeline/PlayingInfoProp.d.ts
|
|
1273
1277
|
type SimpleDirection = typeof Direction.Forwards | typeof Direction.Backwards;
|
|
1274
1278
|
interface PlayingInfo {
|
|
1275
1279
|
playing: boolean;
|
|
@@ -1283,18 +1287,18 @@ declare class PlayingInfoProp extends TwistyPropSource<PlayingInfo, Partial<Play
|
|
|
1283
1287
|
protected canReuseValue(v1: PlayingInfo, v2: PlayingInfo): boolean;
|
|
1284
1288
|
}
|
|
1285
1289
|
//#endregion
|
|
1286
|
-
//#region src/cubing/twisty/model/props/general/ArbitraryStringProp.d.ts
|
|
1290
|
+
//#region ../src/cubing/twisty/model/props/general/ArbitraryStringProp.d.ts
|
|
1287
1291
|
declare class ArbitraryStringProp extends SimpleTwistyPropSource<string | null> {
|
|
1288
1292
|
getDefaultValue(): string | null;
|
|
1289
1293
|
}
|
|
1290
1294
|
//#endregion
|
|
1291
|
-
//#region src/cubing/twisty/model/props/general/URLProp.d.ts
|
|
1295
|
+
//#region ../src/cubing/twisty/model/props/general/URLProp.d.ts
|
|
1292
1296
|
declare class URLProp extends TwistyPropSource<URL | null, URL | string | null> {
|
|
1293
1297
|
getDefaultValue(): URL | null;
|
|
1294
1298
|
derive(input: URL | string | null): URL | null;
|
|
1295
1299
|
}
|
|
1296
1300
|
//#endregion
|
|
1297
|
-
//#region src/cubing/twisty/model/props/puzzle/state/AlgProp.d.ts
|
|
1301
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/AlgProp.d.ts
|
|
1298
1302
|
declare class AlgIssues {
|
|
1299
1303
|
readonly warnings: readonly string[];
|
|
1300
1304
|
readonly errors: readonly string[];
|
|
@@ -1319,7 +1323,7 @@ declare class AlgProp extends TwistyPropSource<AlgWithIssues, Alg | string> {
|
|
|
1319
1323
|
protected derive(newAlg: Alg | string): Promise<AlgWithIssues>;
|
|
1320
1324
|
}
|
|
1321
1325
|
//#endregion
|
|
1322
|
-
//#region src/cubing/twisty/model/props/puzzle/state/AlgTransformationProp.d.ts
|
|
1326
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/AlgTransformationProp.d.ts
|
|
1323
1327
|
type AlgTransformationPropInputs = {
|
|
1324
1328
|
setupAlg: AlgWithIssues;
|
|
1325
1329
|
kpuzzle: KPuzzle;
|
|
@@ -1328,7 +1332,7 @@ declare class AlgTransformationProp extends TwistyPropDerived<AlgTransformationP
|
|
|
1328
1332
|
derive(input: AlgTransformationPropInputs): KTransformation;
|
|
1329
1333
|
}
|
|
1330
1334
|
//#endregion
|
|
1331
|
-
//#region src/cubing/twisty/model/props/puzzle/state/SetupAnchorProp.d.ts
|
|
1335
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/SetupAnchorProp.d.ts
|
|
1332
1336
|
declare const setupToLocations: {
|
|
1333
1337
|
start: boolean;
|
|
1334
1338
|
end: boolean;
|
|
@@ -1338,7 +1342,7 @@ declare class SetupAnchorProp extends SimpleTwistyPropSource<SetupToLocation> {
|
|
|
1338
1342
|
getDefaultValue(): SetupToLocation;
|
|
1339
1343
|
}
|
|
1340
1344
|
//#endregion
|
|
1341
|
-
//#region src/cubing/twisty/model/props/puzzle/state/AnchorTransformationProp.d.ts
|
|
1345
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/AnchorTransformationProp.d.ts
|
|
1342
1346
|
interface AnchorTransformationPropInputs {
|
|
1343
1347
|
setupTransformation: KTransformation | null;
|
|
1344
1348
|
setupAnchor: SetupToLocation;
|
|
@@ -1349,7 +1353,7 @@ declare class AnchorTransformationProp extends TwistyPropDerived<AnchorTransform
|
|
|
1349
1353
|
derive(inputs: AnchorTransformationPropInputs): KTransformation;
|
|
1350
1354
|
}
|
|
1351
1355
|
//#endregion
|
|
1352
|
-
//#region src/cubing/twisty/model/props/puzzle/state/CurrentLeavesSimplified.d.ts
|
|
1356
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/CurrentLeavesSimplified.d.ts
|
|
1353
1357
|
interface CurrentLeavesSimplifiedPropInputs {
|
|
1354
1358
|
currentMoveInfo: CurrentMoveInfo;
|
|
1355
1359
|
}
|
|
@@ -1363,7 +1367,7 @@ declare class CurrentLeavesSimplifiedProp extends TwistyPropDerived<CurrentLeave
|
|
|
1363
1367
|
protected canReuseValue(v1: CurrentLeavesSimplified, v2: CurrentLeavesSimplified): boolean;
|
|
1364
1368
|
}
|
|
1365
1369
|
//#endregion
|
|
1366
|
-
//#region src/cubing/twisty/model/props/timeline/TimestampRequestProp.d.ts
|
|
1370
|
+
//#region ../src/cubing/twisty/model/props/timeline/TimestampRequestProp.d.ts
|
|
1367
1371
|
declare const smartTimestamps: {
|
|
1368
1372
|
auto: boolean;
|
|
1369
1373
|
start: boolean;
|
|
@@ -1378,7 +1382,7 @@ declare class TimestampRequestProp extends SimpleTwistyPropSource<TimestampReque
|
|
|
1378
1382
|
protected validInput(v: TimestampRequest): boolean;
|
|
1379
1383
|
}
|
|
1380
1384
|
//#endregion
|
|
1381
|
-
//#region src/cubing/twisty/model/props/timeline/DetailedTimelineInfoProp.d.ts
|
|
1385
|
+
//#region ../src/cubing/twisty/model/props/timeline/DetailedTimelineInfoProp.d.ts
|
|
1382
1386
|
interface DetailedTimelineInfoInputs {
|
|
1383
1387
|
timestampRequest: TimestampRequest;
|
|
1384
1388
|
timeRange: TimeRange;
|
|
@@ -1397,7 +1401,7 @@ declare class DetailedTimelineInfoProp extends TwistyPropDerived<DetailedTimelin
|
|
|
1397
1401
|
protected canReuseValue(v1: DetailedTimelineInfo, v2: DetailedTimelineInfo): boolean;
|
|
1398
1402
|
}
|
|
1399
1403
|
//#endregion
|
|
1400
|
-
//#region src/cubing/twisty/model/props/puzzle/state/CurrentMoveInfoProp.d.ts
|
|
1404
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/CurrentMoveInfoProp.d.ts
|
|
1401
1405
|
interface PositionPropInputs {
|
|
1402
1406
|
indexer: AlgIndexer;
|
|
1403
1407
|
detailedTimelineInfo: DetailedTimelineInfo;
|
|
@@ -1407,7 +1411,7 @@ declare class CurrentMoveInfoProp extends TwistyPropDerived<PositionPropInputs,
|
|
|
1407
1411
|
derive(inputs: PositionPropInputs): CurrentMoveInfo;
|
|
1408
1412
|
}
|
|
1409
1413
|
//#endregion
|
|
1410
|
-
//#region src/cubing/twisty/model/props/puzzle/state/CurrentPatternProp.d.ts
|
|
1414
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/CurrentPatternProp.d.ts
|
|
1411
1415
|
interface CurrentTransformationPropInputs {
|
|
1412
1416
|
anchoredStart: KTransformation;
|
|
1413
1417
|
currentLeavesSimplified: CurrentLeavesSimplified;
|
|
@@ -1417,7 +1421,7 @@ declare class CurrentPatternProp extends TwistyPropDerived<CurrentTransformation
|
|
|
1417
1421
|
derive(inputs: CurrentTransformationPropInputs): KPattern;
|
|
1418
1422
|
}
|
|
1419
1423
|
//#endregion
|
|
1420
|
-
//#region src/cubing/twisty/model/props/viewer/VisualizationStrategyProp.d.ts
|
|
1424
|
+
//#region ../src/cubing/twisty/model/props/viewer/VisualizationStrategyProp.d.ts
|
|
1421
1425
|
type VisualizationStrategyPropInputs = {
|
|
1422
1426
|
visualizationRequest: VisualizationFormatWithAuto;
|
|
1423
1427
|
puzzleID: PuzzleID;
|
|
@@ -1427,7 +1431,7 @@ declare class VisualizationStrategyProp extends TwistyPropDerived<VisualizationS
|
|
|
1427
1431
|
derive(inputs: VisualizationStrategyPropInputs): VisualizationStrategy;
|
|
1428
1432
|
}
|
|
1429
1433
|
//#endregion
|
|
1430
|
-
//#region src/cubing/twisty/model/props/puzzle/state/IndexerConstructorRequestProp.d.ts
|
|
1434
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/IndexerConstructorRequestProp.d.ts
|
|
1431
1435
|
declare const indexerStrategyNames: {
|
|
1432
1436
|
auto: boolean;
|
|
1433
1437
|
simple: boolean;
|
|
@@ -1439,7 +1443,7 @@ declare class IndexerConstructorRequestProp extends SimpleTwistyPropSource<Index
|
|
|
1439
1443
|
getDefaultValue(): IndexerStrategyName;
|
|
1440
1444
|
}
|
|
1441
1445
|
//#endregion
|
|
1442
|
-
//#region src/cubing/twisty/model/props/puzzle/state/IndexerConstructorProp.d.ts
|
|
1446
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/IndexerConstructorProp.d.ts
|
|
1443
1447
|
type IndexerConstructor = new (kpuzzle: KPuzzle, alg: Alg, options?: {
|
|
1444
1448
|
animationTimelineLeaves?: AnimationTimelineLeaves | null;
|
|
1445
1449
|
}) => AlgIndexer;
|
|
@@ -1454,7 +1458,7 @@ declare class IndexerConstructorProp extends TwistyPropDerived<IndexerConstructo
|
|
|
1454
1458
|
derive(inputs: IndexerConstructorPropInputs): IndexerConstructor;
|
|
1455
1459
|
}
|
|
1456
1460
|
//#endregion
|
|
1457
|
-
//#region src/cubing/twisty/model/props/puzzle/state/IndexerProp.d.ts
|
|
1461
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/IndexerProp.d.ts
|
|
1458
1462
|
type IndexerPropInputs = {
|
|
1459
1463
|
indexerConstructor: IndexerConstructor;
|
|
1460
1464
|
algWithIssues: AlgWithIssues;
|
|
@@ -1465,7 +1469,7 @@ declare class IndexerProp extends TwistyPropDerived<IndexerPropInputs, AlgIndexe
|
|
|
1465
1469
|
derive(input: IndexerPropInputs): AlgIndexer;
|
|
1466
1470
|
}
|
|
1467
1471
|
//#endregion
|
|
1468
|
-
//#region src/cubing/twisty/model/props/puzzle/state/LegacyPositionProp.d.ts
|
|
1472
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/LegacyPositionProp.d.ts
|
|
1469
1473
|
interface LegacyPositionPropInputs {
|
|
1470
1474
|
currentMoveInfo: CurrentMoveInfo;
|
|
1471
1475
|
currentPattern: KPattern;
|
|
@@ -1474,7 +1478,7 @@ declare class LegacyPositionProp extends TwistyPropDerived<LegacyPositionPropInp
|
|
|
1474
1478
|
derive(inputs: LegacyPositionPropInputs): PuzzlePosition;
|
|
1475
1479
|
}
|
|
1476
1480
|
//#endregion
|
|
1477
|
-
//#region src/cubing/twisty/model/props/puzzle/state/PuzzleAlgProp.d.ts
|
|
1481
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/PuzzleAlgProp.d.ts
|
|
1478
1482
|
declare class PuzzleAlgProp extends TwistyPropDerived<{
|
|
1479
1483
|
algWithIssues: AlgWithIssues;
|
|
1480
1484
|
kpuzzle: KPuzzle;
|
|
@@ -1485,12 +1489,12 @@ declare class PuzzleAlgProp extends TwistyPropDerived<{
|
|
|
1485
1489
|
}): Promise<AlgWithIssues>;
|
|
1486
1490
|
}
|
|
1487
1491
|
//#endregion
|
|
1488
|
-
//#region src/cubing/twisty/model/props/puzzle/state/SetupTransformationProp.d.ts
|
|
1492
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/SetupTransformationProp.d.ts
|
|
1489
1493
|
declare class SetupTransformationProp extends SimpleTwistyPropSource<KTransformation | null> {
|
|
1490
1494
|
getDefaultValue(): KTransformation | null;
|
|
1491
1495
|
}
|
|
1492
1496
|
//#endregion
|
|
1493
|
-
//#region src/cubing/puzzles/events.d.ts
|
|
1497
|
+
//#region ../src/cubing/puzzles/events.d.ts
|
|
1494
1498
|
interface EventInfo {
|
|
1495
1499
|
puzzleID: PuzzleID;
|
|
1496
1500
|
eventName: string;
|
|
@@ -1504,11 +1508,11 @@ declare const twizzleEvents: Record<string, EventInfo>;
|
|
|
1504
1508
|
/** @category Event Info */
|
|
1505
1509
|
declare function eventInfo(event: string): EventInfo | null;
|
|
1506
1510
|
//#endregion
|
|
1507
|
-
//#region src/cubing/puzzles/implementations/2x2x2/index.d.ts
|
|
1511
|
+
//#region ../src/cubing/puzzles/implementations/2x2x2/index.d.ts
|
|
1508
1512
|
/** @category Specific Puzzles */
|
|
1509
1513
|
declare const cube2x2x2: PuzzleLoader;
|
|
1510
1514
|
//#endregion
|
|
1511
|
-
//#region src/cubing/puzzles/implementations/3x3x3/index.d.ts
|
|
1515
|
+
//#region ../src/cubing/puzzles/implementations/3x3x3/index.d.ts
|
|
1512
1516
|
/** @category Specific Puzzles */
|
|
1513
1517
|
declare const cube3x3x3: {
|
|
1514
1518
|
id: string;
|
|
@@ -1530,11 +1534,11 @@ declare const cube3x3x3: {
|
|
|
1530
1534
|
algTransformData: AlgTransformData;
|
|
1531
1535
|
};
|
|
1532
1536
|
//#endregion
|
|
1533
|
-
//#region src/cubing/puzzles/index.d.ts
|
|
1537
|
+
//#region ../src/cubing/puzzles/index.d.ts
|
|
1534
1538
|
/** @category All Puzzles */
|
|
1535
1539
|
declare const puzzles: Record<string, PuzzleLoader>;
|
|
1536
1540
|
//#endregion
|
|
1537
|
-
//#region src/cubing/twisty/model/props/puzzle/structure/KPuzzleProp.d.ts
|
|
1541
|
+
//#region ../src/cubing/twisty/model/props/puzzle/structure/KPuzzleProp.d.ts
|
|
1538
1542
|
declare class KPuzzleProp extends TwistyPropDerived<{
|
|
1539
1543
|
puzzleLoader: PuzzleLoader;
|
|
1540
1544
|
}, KPuzzle> {
|
|
@@ -1543,12 +1547,12 @@ declare class KPuzzleProp extends TwistyPropDerived<{
|
|
|
1543
1547
|
}): Promise<KPuzzle>;
|
|
1544
1548
|
}
|
|
1545
1549
|
//#endregion
|
|
1546
|
-
//#region src/cubing/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.d.ts
|
|
1550
|
+
//#region ../src/cubing/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.d.ts
|
|
1547
1551
|
declare class PGPuzzleDescriptionStringProp extends SimpleTwistyPropSource<PuzzleDescriptionString | NoValueType> {
|
|
1548
1552
|
getDefaultValue(): PuzzleDescriptionString | NoValueType;
|
|
1549
1553
|
}
|
|
1550
1554
|
//#endregion
|
|
1551
|
-
//#region src/cubing/twisty/model/props/puzzle/structure/PuzzleIDProp.d.ts
|
|
1555
|
+
//#region ../src/cubing/twisty/model/props/puzzle/structure/PuzzleIDProp.d.ts
|
|
1552
1556
|
declare class PuzzleIDProp extends TwistyPropDerived<{
|
|
1553
1557
|
puzzleLoader: PuzzleLoader;
|
|
1554
1558
|
}, PuzzleID> {
|
|
@@ -1557,7 +1561,7 @@ declare class PuzzleIDProp extends TwistyPropDerived<{
|
|
|
1557
1561
|
}): Promise<PuzzleID>;
|
|
1558
1562
|
}
|
|
1559
1563
|
//#endregion
|
|
1560
|
-
//#region src/cubing/twisty/model/props/puzzle/structure/PuzzleLoaderProp.d.ts
|
|
1564
|
+
//#region ../src/cubing/twisty/model/props/puzzle/structure/PuzzleLoaderProp.d.ts
|
|
1561
1565
|
interface PuzzleLoaderPropInputs {
|
|
1562
1566
|
puzzleIDRequest: PuzzleID | NoValueType;
|
|
1563
1567
|
puzzleDescriptionRequest: PuzzleDescriptionString | NoValueType;
|
|
@@ -1566,7 +1570,7 @@ declare class PuzzleLoaderProp extends TwistyPropDerived<PuzzleLoaderPropInputs,
|
|
|
1566
1570
|
derive(inputs: PuzzleLoaderPropInputs): PuzzleLoader;
|
|
1567
1571
|
}
|
|
1568
1572
|
//#endregion
|
|
1569
|
-
//#region src/cubing/twisty/controllers/TwistyPlayerController.d.ts
|
|
1573
|
+
//#region ../src/cubing/twisty/controllers/TwistyPlayerController.d.ts
|
|
1570
1574
|
declare class TwistyPlayerController {
|
|
1571
1575
|
animationController: TwistyAnimationController;
|
|
1572
1576
|
model: TwistyPlayerModel;
|
|
@@ -1581,7 +1585,7 @@ declare class TwistyPlayerController {
|
|
|
1581
1585
|
visitTwizzleLink(): Promise<void>;
|
|
1582
1586
|
}
|
|
1583
1587
|
//#endregion
|
|
1584
|
-
//#region src/cubing/twisty/model/props/viewer/ViewerLinkProp.d.ts
|
|
1588
|
+
//#region ../src/cubing/twisty/model/props/viewer/ViewerLinkProp.d.ts
|
|
1585
1589
|
declare const viewerLinkPages: {
|
|
1586
1590
|
twizzle: boolean;
|
|
1587
1591
|
"experimental-twizzle-explorer": boolean;
|
|
@@ -1593,7 +1597,7 @@ declare class ViewerLinkProp extends SimpleTwistyPropSource<ViewerLinkPageWithAu
|
|
|
1593
1597
|
getDefaultValue(): ViewerLinkPageWithAuto;
|
|
1594
1598
|
}
|
|
1595
1599
|
//#endregion
|
|
1596
|
-
//#region src/cubing/twisty/model/props/viewer/ButtonAppearanceProp.d.ts
|
|
1600
|
+
//#region ../src/cubing/twisty/model/props/viewer/ButtonAppearanceProp.d.ts
|
|
1597
1601
|
declare const buttonIcons: string[];
|
|
1598
1602
|
type ButtonIcon = (typeof buttonIcons)[number];
|
|
1599
1603
|
interface ButtonAppearance {
|
|
@@ -1611,7 +1615,7 @@ declare class ButtonAppearanceProp extends TwistyPropDerived<ButtonAppearancePro
|
|
|
1611
1615
|
derive(inputs: ButtonAppearancePropInputs): ButtonAppearances;
|
|
1612
1616
|
}
|
|
1613
1617
|
//#endregion
|
|
1614
|
-
//#region src/cubing/twisty/model/props/viewer/ColorSchemeRequestProp.d.ts
|
|
1618
|
+
//#region ../src/cubing/twisty/model/props/viewer/ColorSchemeRequestProp.d.ts
|
|
1615
1619
|
declare const colorSchemes: {
|
|
1616
1620
|
light: boolean;
|
|
1617
1621
|
dark: boolean;
|
|
@@ -1622,7 +1626,7 @@ declare class ColorSchemeRequestProp extends SimpleTwistyPropSource<ColorSchemeW
|
|
|
1622
1626
|
getDefaultValue(): ColorSchemeWithAuto;
|
|
1623
1627
|
}
|
|
1624
1628
|
//#endregion
|
|
1625
|
-
//#region src/cubing/twisty/views/control-panel/TwistyButtons.d.ts
|
|
1629
|
+
//#region ../src/cubing/twisty/views/control-panel/TwistyButtons.d.ts
|
|
1626
1630
|
declare const buttonCommands: {
|
|
1627
1631
|
fullscreen: boolean;
|
|
1628
1632
|
"jump-to-start": boolean;
|
|
@@ -1653,7 +1657,7 @@ declare class TwistyButton extends ManagedCustomElement {
|
|
|
1653
1657
|
setIcon(iconName: ButtonIcon): void;
|
|
1654
1658
|
}
|
|
1655
1659
|
//#endregion
|
|
1656
|
-
//#region src/cubing/twisty/model/props/timeline/CoarseTimelineInfoProp.d.ts
|
|
1660
|
+
//#region ../src/cubing/twisty/model/props/timeline/CoarseTimelineInfoProp.d.ts
|
|
1657
1661
|
interface CoarseTimelineInfoInputs {
|
|
1658
1662
|
playingInfo: PlayingInfo;
|
|
1659
1663
|
detailedTimelineInfo: DetailedTimelineInfo;
|
|
@@ -1668,13 +1672,13 @@ declare class CoarseTimelineInfoProp extends TwistyPropDerived<CoarseTimelineInf
|
|
|
1668
1672
|
protected canReuseValue(v1: CoarseTimelineInfo, v2: CoarseTimelineInfo): boolean;
|
|
1669
1673
|
}
|
|
1670
1674
|
//#endregion
|
|
1671
|
-
//#region src/cubing/twisty/model/props/timeline/TempoScaleProp.d.ts
|
|
1675
|
+
//#region ../src/cubing/twisty/model/props/timeline/TempoScaleProp.d.ts
|
|
1672
1676
|
declare class TempoScaleProp extends TwistyPropSource<number, number> {
|
|
1673
1677
|
getDefaultValue(): number;
|
|
1674
1678
|
derive(v: number): number;
|
|
1675
1679
|
}
|
|
1676
1680
|
//#endregion
|
|
1677
|
-
//#region src/cubing/twisty/model/props/viewer/ControlPanelProp.d.ts
|
|
1681
|
+
//#region ../src/cubing/twisty/model/props/viewer/ControlPanelProp.d.ts
|
|
1678
1682
|
declare const controlsLocations: {
|
|
1679
1683
|
"bottom-row": boolean;
|
|
1680
1684
|
none: boolean;
|
|
@@ -1685,7 +1689,7 @@ declare class ControlPanelProp extends SimpleTwistyPropSource<ControlPanelThemeW
|
|
|
1685
1689
|
getDefaultValue(): ControlPanelThemeWithAuto;
|
|
1686
1690
|
}
|
|
1687
1691
|
//#endregion
|
|
1688
|
-
//#region src/cubing/twisty/model/props/viewer/TimeRangeProp.d.ts
|
|
1692
|
+
//#region ../src/cubing/twisty/model/props/viewer/TimeRangeProp.d.ts
|
|
1689
1693
|
declare class TimeRangeProp extends TwistyPropDerived<{
|
|
1690
1694
|
indexer: AlgIndexer;
|
|
1691
1695
|
}, TimeRange> {
|
|
@@ -1694,19 +1698,19 @@ declare class TimeRangeProp extends TwistyPropDerived<{
|
|
|
1694
1698
|
}): TimeRange;
|
|
1695
1699
|
}
|
|
1696
1700
|
//#endregion
|
|
1697
|
-
//#region src/cubing/twisty/model/props/puzzle/display/FaceletScaleProp.d.ts
|
|
1701
|
+
//#region ../src/cubing/twisty/model/props/puzzle/display/FaceletScaleProp.d.ts
|
|
1698
1702
|
type FaceletScale = "auto" | number;
|
|
1699
1703
|
declare class FaceletScaleProp extends SimpleTwistyPropSource<FaceletScale> {
|
|
1700
1704
|
getDefaultValue(): FaceletScale;
|
|
1701
1705
|
}
|
|
1702
1706
|
//#endregion
|
|
1703
|
-
//#region src/cubing/twisty/model/props/puzzle/display/FoundationDisplayProp.d.ts
|
|
1707
|
+
//#region ../src/cubing/twisty/model/props/puzzle/display/FoundationDisplayProp.d.ts
|
|
1704
1708
|
type FoundationDisplay = "auto" | "opaque" | "none";
|
|
1705
1709
|
declare class FoundationDisplayProp extends SimpleTwistyPropSource<FoundationDisplay> {
|
|
1706
1710
|
getDefaultValue(): FoundationDisplay;
|
|
1707
1711
|
}
|
|
1708
1712
|
//#endregion
|
|
1709
|
-
//#region src/cubing/twisty/model/props/puzzle/display/HintFaceletProp.d.ts
|
|
1713
|
+
//#region ../src/cubing/twisty/model/props/puzzle/display/HintFaceletProp.d.ts
|
|
1710
1714
|
declare const hintFaceletStyles: {
|
|
1711
1715
|
floating: boolean;
|
|
1712
1716
|
none: boolean;
|
|
@@ -1717,19 +1721,19 @@ declare class HintFaceletProp extends SimpleTwistyPropSource<HintFaceletStyleWit
|
|
|
1717
1721
|
getDefaultValue(): HintFaceletStyleWithAuto;
|
|
1718
1722
|
}
|
|
1719
1723
|
//#endregion
|
|
1720
|
-
//#region src/cubing/twisty/model/props/puzzle/display/HintFaceletsElevationProp.d.ts
|
|
1724
|
+
//#region ../src/cubing/twisty/model/props/puzzle/display/HintFaceletsElevationProp.d.ts
|
|
1721
1725
|
type HintFaceletsElevationRequest = "auto" | number;
|
|
1722
1726
|
declare class HintFaceletsElevationProp extends SimpleTwistyPropSource<"auto" | number> {
|
|
1723
1727
|
getDefaultValue(): "auto" | number;
|
|
1724
1728
|
}
|
|
1725
1729
|
//#endregion
|
|
1726
|
-
//#region src/cubing/twisty/model/props/puzzle/display/InitialHintFaceletsAnimationProp.d.ts
|
|
1730
|
+
//#region ../src/cubing/twisty/model/props/puzzle/display/InitialHintFaceletsAnimationProp.d.ts
|
|
1727
1731
|
type InitialHintFaceletsAnimation = "auto" | "always" | "none";
|
|
1728
1732
|
declare class InitialHintFaceletsAnimationProp extends SimpleTwistyPropSource<InitialHintFaceletsAnimation> {
|
|
1729
1733
|
getDefaultValue(): InitialHintFaceletsAnimation;
|
|
1730
1734
|
}
|
|
1731
1735
|
//#endregion
|
|
1732
|
-
//#region src/cubing/twisty/model/props/puzzle/display/SpriteProp.d.ts
|
|
1736
|
+
//#region ../src/cubing/twisty/model/props/puzzle/display/SpriteProp.d.ts
|
|
1733
1737
|
type SpritePropInputs = {
|
|
1734
1738
|
spriteURL: URL | null;
|
|
1735
1739
|
};
|
|
@@ -1737,7 +1741,7 @@ declare class SpriteProp extends TwistyPropDerived<SpritePropInputs, Texture | n
|
|
|
1737
1741
|
derive(inputs: SpritePropInputs): Promise<Texture | null>;
|
|
1738
1742
|
}
|
|
1739
1743
|
//#endregion
|
|
1740
|
-
//#region src/cubing/twisty/model/props/puzzle/display/StickeringMaskProp.d.ts
|
|
1744
|
+
//#region ../src/cubing/twisty/model/props/puzzle/display/StickeringMaskProp.d.ts
|
|
1741
1745
|
interface StickeringMaskPropInputs {
|
|
1742
1746
|
stickeringMaskRequest: StickeringMask | null;
|
|
1743
1747
|
stickeringRequest: ExperimentalStickering | null;
|
|
@@ -1748,13 +1752,13 @@ declare class StickeringMaskProp extends TwistyPropDerived<StickeringMaskPropInp
|
|
|
1748
1752
|
derive(inputs: StickeringMaskPropInputs): Promise<StickeringMask>;
|
|
1749
1753
|
}
|
|
1750
1754
|
//#endregion
|
|
1751
|
-
//#region src/cubing/twisty/model/props/puzzle/display/StickeringMaskRequestProp.d.ts
|
|
1755
|
+
//#region ../src/cubing/twisty/model/props/puzzle/display/StickeringMaskRequestProp.d.ts
|
|
1752
1756
|
declare class StickeringMaskRequestProp extends TwistyPropSource<StickeringMask | null, string | StickeringMask | null> {
|
|
1753
1757
|
getDefaultValue(): StickeringMask | null;
|
|
1754
1758
|
derive(input: string | StickeringMask | null): StickeringMask | null;
|
|
1755
1759
|
}
|
|
1756
1760
|
//#endregion
|
|
1757
|
-
//#region src/cubing/twisty/model/props/puzzle/state/DragInputProp.d.ts
|
|
1761
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/DragInputProp.d.ts
|
|
1758
1762
|
declare const dragInputModes: {
|
|
1759
1763
|
auto: boolean;
|
|
1760
1764
|
none: boolean;
|
|
@@ -1764,12 +1768,12 @@ declare class DragInputProp extends SimpleTwistyPropSource<DragInputMode> {
|
|
|
1764
1768
|
getDefaultValue(): DragInputMode;
|
|
1765
1769
|
}
|
|
1766
1770
|
//#endregion
|
|
1767
|
-
//#region src/cubing/twisty/model/props/puzzle/state/MovePressCancelOptions.d.ts
|
|
1771
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/MovePressCancelOptions.d.ts
|
|
1768
1772
|
declare class MovePressCancelOptions extends SimpleTwistyPropSource<AppendCancelOptions> {
|
|
1769
1773
|
getDefaultValue(): AppendCancelOptions;
|
|
1770
1774
|
}
|
|
1771
1775
|
//#endregion
|
|
1772
|
-
//#region src/cubing/twisty/model/props/puzzle/state/MovePressInputProp.d.ts
|
|
1776
|
+
//#region ../src/cubing/twisty/model/props/puzzle/state/MovePressInputProp.d.ts
|
|
1773
1777
|
declare const movePressInputNames: {
|
|
1774
1778
|
auto: boolean;
|
|
1775
1779
|
none: boolean;
|
|
@@ -1780,7 +1784,7 @@ declare class MovePressInputProp extends SimpleTwistyPropSource<MovePressInput>
|
|
|
1780
1784
|
getDefaultValue(): MovePressInput;
|
|
1781
1785
|
}
|
|
1782
1786
|
//#endregion
|
|
1783
|
-
//#region src/cubing/twisty/model/props/viewer/BackgroundProp.d.ts
|
|
1787
|
+
//#region ../src/cubing/twisty/model/props/viewer/BackgroundProp.d.ts
|
|
1784
1788
|
declare const backgroundThemes: {
|
|
1785
1789
|
checkered: boolean;
|
|
1786
1790
|
"checkered-transparent": boolean;
|
|
@@ -1792,7 +1796,7 @@ declare class BackgroundProp extends SimpleTwistyPropSource<BackgroundThemeWithA
|
|
|
1792
1796
|
getDefaultValue(): BackgroundThemeWithAuto;
|
|
1793
1797
|
}
|
|
1794
1798
|
//#endregion
|
|
1795
|
-
//#region src/cubing/twisty/model/props/viewer/ColorSchemeProp.d.ts
|
|
1799
|
+
//#region ../src/cubing/twisty/model/props/viewer/ColorSchemeProp.d.ts
|
|
1796
1800
|
interface ColorSchemePropInputs {
|
|
1797
1801
|
colorSchemeRequest: ColorSchemeWithAuto;
|
|
1798
1802
|
}
|
|
@@ -1800,12 +1804,12 @@ declare class ColorSchemeProp extends TwistyPropDerived<ColorSchemePropInputs, C
|
|
|
1800
1804
|
protected derive(inputs: ColorSchemePropInputs): ColorScheme;
|
|
1801
1805
|
}
|
|
1802
1806
|
//#endregion
|
|
1803
|
-
//#region src/cubing/twisty/model/props/viewer/DOMElementReferenceProp.d.ts
|
|
1807
|
+
//#region ../src/cubing/twisty/model/props/viewer/DOMElementReferenceProp.d.ts
|
|
1804
1808
|
declare class DOMElementReferenceProp extends SimpleTwistyPropSource<Element | null> {
|
|
1805
1809
|
getDefaultValue(): Element | null;
|
|
1806
1810
|
}
|
|
1807
1811
|
//#endregion
|
|
1808
|
-
//#region src/cubing/twisty/model/props/viewer/OrbitCoordinatesRequestProp.d.ts
|
|
1812
|
+
//#region ../src/cubing/twisty/model/props/viewer/OrbitCoordinatesRequestProp.d.ts
|
|
1809
1813
|
type CoordinateDegrees = number;
|
|
1810
1814
|
interface OrbitCoordinates {
|
|
1811
1815
|
latitude: CoordinateDegrees;
|
|
@@ -1819,12 +1823,12 @@ declare class OrbitCoordinatesRequestProp extends TwistyPropSource<OrbitCoordina
|
|
|
1819
1823
|
protected derive(newCoordinates: Partial<OrbitCoordinates> | "auto", oldValuePromise: Promise<OrbitCoordinatesRequest>): Promise<OrbitCoordinatesRequest>;
|
|
1820
1824
|
}
|
|
1821
1825
|
//#endregion
|
|
1822
|
-
//#region src/cubing/twisty/model/props/viewer/LatitudeLimit.d.ts
|
|
1826
|
+
//#region ../src/cubing/twisty/model/props/viewer/LatitudeLimit.d.ts
|
|
1823
1827
|
declare class LatitudeLimitProp extends SimpleTwistyPropSource<CoordinateDegrees> {
|
|
1824
1828
|
getDefaultValue(): CoordinateDegrees;
|
|
1825
1829
|
}
|
|
1826
1830
|
//#endregion
|
|
1827
|
-
//#region src/cubing/twisty/model/props/viewer/OrbitCoordinatesProp.d.ts
|
|
1831
|
+
//#region ../src/cubing/twisty/model/props/viewer/OrbitCoordinatesProp.d.ts
|
|
1828
1832
|
interface OrbitCoordinatesPropInputs {
|
|
1829
1833
|
orbitCoordinatesRequest: OrbitCoordinatesRequest;
|
|
1830
1834
|
latitudeLimit: CoordinateDegrees;
|
|
@@ -1836,7 +1840,7 @@ declare class OrbitCoordinatesProp extends TwistyPropDerived<OrbitCoordinatesPro
|
|
|
1836
1840
|
derive(inputs: OrbitCoordinatesPropInputs): Promise<OrbitCoordinates>;
|
|
1837
1841
|
}
|
|
1838
1842
|
//#endregion
|
|
1839
|
-
//#region src/cubing/twisty/model/TwistySceneModel.d.ts
|
|
1843
|
+
//#region ../src/cubing/twisty/model/TwistySceneModel.d.ts
|
|
1840
1844
|
declare class TwistySceneModel {
|
|
1841
1845
|
background: BackgroundProp;
|
|
1842
1846
|
colorSchemeRequest: ColorSchemeRequestProp;
|
|
@@ -1864,7 +1868,7 @@ declare class TwistySceneModel {
|
|
|
1864
1868
|
constructor(twistyPlayerModel: TwistyPlayerModel);
|
|
1865
1869
|
}
|
|
1866
1870
|
//#endregion
|
|
1867
|
-
//#region src/cubing/twisty/model/TwistyPlayerModel.d.ts
|
|
1871
|
+
//#region ../src/cubing/twisty/model/TwistyPlayerModel.d.ts
|
|
1868
1872
|
type Without<T, K extends string[]> = Pick<T, Exclude<keyof T, K[number]>>;
|
|
1869
1873
|
declare class TwistyPlayerModel {
|
|
1870
1874
|
userVisibleErrorTracker: UserVisibleErrorTracker;
|
|
@@ -1957,7 +1961,7 @@ declare class TwistyPlayerModel {
|
|
|
1957
1961
|
experimentalRemoveFinalChild(): void;
|
|
1958
1962
|
}
|
|
1959
1963
|
//#endregion
|
|
1960
|
-
//#region src/cubing/twisty/controllers/TwistyAnimationController.d.ts
|
|
1964
|
+
//#region ../src/cubing/twisty/controllers/TwistyAnimationController.d.ts
|
|
1961
1965
|
interface TwistyAnimationControllerDelegate {
|
|
1962
1966
|
flash(): void;
|
|
1963
1967
|
}
|
|
@@ -1991,7 +1995,7 @@ declare class TwistyAnimationController {
|
|
|
1991
1995
|
animFrame(frameDatestamp: MillisecondTimestamp): Promise<void>;
|
|
1992
1996
|
}
|
|
1993
1997
|
//#endregion
|
|
1994
|
-
//#region src/cubing/vendor/mit/three/examples/jsm/libs/stats.modified.module.d.ts
|
|
1998
|
+
//#region ../src/cubing/vendor/mit/three/examples/jsm/libs/stats.modified.module.d.ts
|
|
1995
1999
|
/**
|
|
1996
2000
|
* @author mrdoob / http://mrdoob.com/
|
|
1997
2001
|
* ESM conversion by Lucas Garron, 2021-12-21
|
|
@@ -2025,12 +2029,12 @@ declare class StatsPanel {
|
|
|
2025
2029
|
update(value: number, maxValue: number): void;
|
|
2026
2030
|
}
|
|
2027
2031
|
//#endregion
|
|
2028
|
-
//#region src/cubing/twisty/controllers/RenderScheduler.d.ts
|
|
2032
|
+
//#region ../src/cubing/twisty/controllers/RenderScheduler.d.ts
|
|
2029
2033
|
interface Schedulable {
|
|
2030
2034
|
scheduleRender(): void;
|
|
2031
2035
|
}
|
|
2032
2036
|
//#endregion
|
|
2033
|
-
//#region src/cubing/twisty/views/3D/DragTracker.d.ts
|
|
2037
|
+
//#region ../src/cubing/twisty/views/3D/DragTracker.d.ts
|
|
2034
2038
|
interface DragMovementInfo {
|
|
2035
2039
|
attachedInfo: Record<any, any>;
|
|
2036
2040
|
movementX: number;
|
|
@@ -2059,13 +2063,13 @@ declare class DragTracker extends EventTarget {
|
|
|
2059
2063
|
private onPointerUp;
|
|
2060
2064
|
}
|
|
2061
2065
|
//#endregion
|
|
2062
|
-
//#region src/cubing/twisty/views/3D/puzzles/Twisty3DPuzzle.d.ts
|
|
2066
|
+
//#region ../src/cubing/twisty/views/3D/puzzles/Twisty3DPuzzle.d.ts
|
|
2063
2067
|
interface Twisty3DPuzzle extends Object3D {
|
|
2064
2068
|
onPositionChange(position: PuzzlePosition): void;
|
|
2065
2069
|
setStickeringMask(stickeringMask: StickeringMask): void;
|
|
2066
2070
|
}
|
|
2067
2071
|
//#endregion
|
|
2068
|
-
//#region src/cubing/twisty/views/3D/Twisty3DPuzzleWrapper.d.ts
|
|
2072
|
+
//#region ../src/cubing/twisty/views/3D/Twisty3DPuzzleWrapper.d.ts
|
|
2069
2073
|
declare class Twisty3DPuzzleWrapper extends EventTarget implements Schedulable {
|
|
2070
2074
|
#private;
|
|
2071
2075
|
private model;
|
|
@@ -2082,7 +2086,7 @@ declare class Twisty3DPuzzleWrapper extends EventTarget implements Schedulable {
|
|
|
2082
2086
|
}): Promise<void>;
|
|
2083
2087
|
}
|
|
2084
2088
|
//#endregion
|
|
2085
|
-
//#region src/cubing/twisty/views/3D/Twisty3DSceneWrapper.d.ts
|
|
2089
|
+
//#region ../src/cubing/twisty/views/3D/Twisty3DSceneWrapper.d.ts
|
|
2086
2090
|
declare class Twisty3DSceneWrapper extends ManagedCustomElement implements Schedulable {
|
|
2087
2091
|
#private;
|
|
2088
2092
|
disconnect(): void;
|
|
@@ -2105,7 +2109,7 @@ declare class Twisty3DSceneWrapper extends ManagedCustomElement implements Sched
|
|
|
2105
2109
|
onPuzzle(inputs: [puzzleLoader: PuzzleLoader, visualizationStrategy: VisualizationStrategy]): Promise<void>;
|
|
2106
2110
|
}
|
|
2107
2111
|
//#endregion
|
|
2108
|
-
//#region src/cubing/twisty/views/3D/TwistyOrbitControls.d.ts
|
|
2112
|
+
//#region ../src/cubing/twisty/views/3D/TwistyOrbitControls.d.ts
|
|
2109
2113
|
declare class TwistyOrbitControls {
|
|
2110
2114
|
/** @deprecated */
|
|
2111
2115
|
experimentalInertia: boolean;
|
|
@@ -2125,7 +2129,7 @@ declare class TwistyOrbitControls {
|
|
|
2125
2129
|
onUp(e: CustomEvent<DragMovementInfo>): void;
|
|
2126
2130
|
}
|
|
2127
2131
|
//#endregion
|
|
2128
|
-
//#region src/cubing/twisty/views/3D/Twisty3DVantage.d.ts
|
|
2132
|
+
//#region ../src/cubing/twisty/views/3D/Twisty3DVantage.d.ts
|
|
2129
2133
|
declare class Twisty3DVantage extends ManagedCustomElement {
|
|
2130
2134
|
#private;
|
|
2131
2135
|
scene: Twisty3DSceneWrapper | null;
|
|
@@ -2153,7 +2157,7 @@ declare class Twisty3DVantage extends ManagedCustomElement {
|
|
|
2153
2157
|
scheduleRender(): void;
|
|
2154
2158
|
}
|
|
2155
2159
|
//#endregion
|
|
2156
|
-
//#region src/cubing/twisty/views/TwistyPlayerSettable.d.ts
|
|
2160
|
+
//#region ../src/cubing/twisty/views/TwistyPlayerSettable.d.ts
|
|
2157
2161
|
declare abstract class TwistyPlayerSettable extends ManagedCustomElement {
|
|
2158
2162
|
experimentalModel: TwistyPlayerModel;
|
|
2159
2163
|
set alg(newAlg: Alg | string);
|
|
@@ -2233,7 +2237,7 @@ declare class ExperimentalGetters {
|
|
|
2233
2237
|
timestamp(): Promise<MillisecondTimestamp>;
|
|
2234
2238
|
}
|
|
2235
2239
|
//#endregion
|
|
2236
|
-
//#region src/cubing/twisty/views/TwistyPlayer.d.ts
|
|
2240
|
+
//#region ../src/cubing/twisty/views/TwistyPlayer.d.ts
|
|
2237
2241
|
/**
|
|
2238
2242
|
* The config argument passed to {@link TwistyPlayer} when calling the
|
|
2239
2243
|
* constructor. This interface type be useful for avoiding bugs when you would
|
|
@@ -2378,7 +2382,7 @@ declare global {
|
|
|
2378
2382
|
}
|
|
2379
2383
|
}
|
|
2380
2384
|
//#endregion
|
|
2381
|
-
//#region src/cubing/alg/parseAlg.d.ts
|
|
2385
|
+
//#region ../src/cubing/alg/parseAlg.d.ts
|
|
2382
2386
|
declare const startCharIndexKey: unique symbol;
|
|
2383
2387
|
declare const endCharIndexKey: unique symbol;
|
|
2384
2388
|
interface ParserIndexed {
|
|
@@ -2387,14 +2391,14 @@ interface ParserIndexed {
|
|
|
2387
2391
|
}
|
|
2388
2392
|
type Parsed<T extends Alg | AlgNode> = T & ParserIndexed;
|
|
2389
2393
|
//#endregion
|
|
2390
|
-
//#region src/cubing/twisty/views/TwistyAlgEditor/LeafTokens.d.ts
|
|
2394
|
+
//#region ../src/cubing/twisty/views/TwistyAlgEditor/LeafTokens.d.ts
|
|
2391
2395
|
type AnimatedLeafAlgNodeInfo = {
|
|
2392
2396
|
leaf: Parsed<AnimatedLeafAlgNode>;
|
|
2393
2397
|
idx: LeafIndex;
|
|
2394
2398
|
};
|
|
2395
2399
|
type OrderedLeafTokens = AnimatedLeafAlgNodeInfo[];
|
|
2396
2400
|
//#endregion
|
|
2397
|
-
//#region src/cubing/twisty/views/TwistyAlgEditor/model.d.ts
|
|
2401
|
+
//#region ../src/cubing/twisty/views/TwistyAlgEditor/model.d.ts
|
|
2398
2402
|
declare class TwistyAlgEditorValueProp extends SimpleTwistyPropSource<string> {
|
|
2399
2403
|
getDefaultValue(): string;
|
|
2400
2404
|
}
|
|
@@ -2452,7 +2456,7 @@ declare class TwistyAlgEditorModel {
|
|
|
2452
2456
|
leafToHighlight: LeafToHighlightProp;
|
|
2453
2457
|
}
|
|
2454
2458
|
//#endregion
|
|
2455
|
-
//#region src/cubing/twisty/views/TwistyAlgEditor/TwistyAlgEditor.d.ts
|
|
2459
|
+
//#region ../src/cubing/twisty/views/TwistyAlgEditor/TwistyAlgEditor.d.ts
|
|
2456
2460
|
type TwistyPlayerAlgProp = "alg" | "setupAlg";
|
|
2457
2461
|
/** @category Other Custom Elements */
|
|
2458
2462
|
declare class TwistyAlgEditor extends ManagedCustomElement {
|
|
@@ -2483,7 +2487,7 @@ declare global {
|
|
|
2483
2487
|
}
|
|
2484
2488
|
}
|
|
2485
2489
|
//#endregion
|
|
2486
|
-
//#region src/cubing/twisty/views/TwistyAlgViewer.d.ts
|
|
2490
|
+
//#region ../src/cubing/twisty/views/TwistyAlgViewer.d.ts
|
|
2487
2491
|
interface DataDown {
|
|
2488
2492
|
earliestMoveIndex: LeafIndex;
|
|
2489
2493
|
twistyAlgViewer: TwistyAlgViewer;
|
|
@@ -2536,7 +2540,7 @@ declare global {
|
|
|
2536
2540
|
}
|
|
2537
2541
|
}
|
|
2538
2542
|
//#endregion
|
|
2539
|
-
//#region src/cubing/twisty/views/twizzle/TwizzleLink.d.ts
|
|
2543
|
+
//#region ../src/cubing/twisty/views/twizzle/TwizzleLink.d.ts
|
|
2540
2544
|
declare class TwizzleLink extends ManagedCustomElement {
|
|
2541
2545
|
#private;
|
|
2542
2546
|
twistyPlayer: TwistyPlayer | null;
|
|
@@ -2554,7 +2558,7 @@ declare global {
|
|
|
2554
2558
|
}
|
|
2555
2559
|
}
|
|
2556
2560
|
//#endregion
|
|
2557
|
-
//#region src/cubing/puzzles/PuzzleLoader.d.ts
|
|
2561
|
+
//#region ../src/cubing/puzzles/PuzzleLoader.d.ts
|
|
2558
2562
|
type KeyMapping = {
|
|
2559
2563
|
[keyCode: string]: AlgLeaf;
|
|
2560
2564
|
};
|
|
@@ -2583,10 +2587,10 @@ interface PuzzleLoader {
|
|
|
2583
2587
|
algTransformData?: AlgTransformData;
|
|
2584
2588
|
}
|
|
2585
2589
|
//#endregion
|
|
2586
|
-
//#region src/cubing/alg/keyboard.d.ts
|
|
2590
|
+
//#region ../src/cubing/alg/keyboard.d.ts
|
|
2587
2591
|
declare function keyToMove(keyMapping: KeyMapping | undefined, e: KeyboardEvent): AlgLeaf | null;
|
|
2588
2592
|
//#endregion
|
|
2589
|
-
//#region src/cubing/alg/traversal.d.ts
|
|
2593
|
+
//#region ../src/cubing/alg/traversal.d.ts
|
|
2590
2594
|
declare abstract class TraversalDownUp<DataDown, DataAlgUp, DataAlgNodeUp = DataAlgUp> {
|
|
2591
2595
|
traverseAlgNode(algNode: AlgNode, dataDown: DataDown): DataAlgNodeUp;
|
|
2592
2596
|
traverseIntoAlgNode(algNode: AlgNode, dataDown: DataDown): AlgNode;
|
|
@@ -2615,7 +2619,7 @@ declare function functionFromTraversal<DataDown, DataAlgUp, ConstructorArgs exte
|
|
|
2615
2619
|
new (...args: ConstructorArgs): TraversalDownUp<DataDown, DataAlgUp, any>;
|
|
2616
2620
|
}, constructorArgs?: ConstructorArgs): undefined extends DataDown ? (alg: Alg) => DataAlgUp : (alg: Alg, v: DataDown) => DataAlgUp;
|
|
2617
2621
|
//#endregion
|
|
2618
|
-
//#region src/cubing/alg/url.d.ts
|
|
2622
|
+
//#region ../src/cubing/alg/url.d.ts
|
|
2619
2623
|
interface AlgCubingNetOptions {
|
|
2620
2624
|
alg?: Alg;
|
|
2621
2625
|
setup?: Alg;
|
|
@@ -2628,4 +2632,4 @@ interface AlgCubingNetOptions {
|
|
|
2628
2632
|
/** @deprecated */
|
|
2629
2633
|
declare function experimentalAlgCubingNetLink(options: AlgCubingNetOptions): string;
|
|
2630
2634
|
//#endregion
|
|
2631
|
-
export { PuzzleDescription as $, SimpleAlgIndexer as A,
|
|
2635
|
+
export { PuzzleDescription as $, SimpleAlgIndexer as A, Pause as At, KTransformation as B, VisualizationFormat as C, AlgNode as Ct, PuzzleID as D, MoveModifications as Dt, ExperimentalStickering as E, Move as Et, MillisecondDuration as F, ExperimentalNotationType as Ft, KTransformationData as G, KPatternData as H, MillisecondTimestamp as I, ExperimentalSerializationOptions as It, PUZZLE_BASE_SHAPES as J, KTransformationOrbitData as K, schreierSims as L, LeafCount as M, LineComment as Mt, LeafIndex as N, Conjugate as Nt, setTwistyDebug as O, QuantumMove as Ot, NO_VALUE as P, Commutator as Pt, PuzzleCutType as Q, KPattern as R, TwistyAnimatedSVG as S, AlgLeaf as St, backViewLayouts as T, GroupingModifications as Tt, KPatternOrbitData as U, KPuzzleDefinition as V, KPuzzleOrbitDefinition as W, PuzzleBaseShape as X, PUZZLE_CUT_TYPES as Y, PuzzleCutDescription as Z, cube2x2x2 as _, experimentalAppendMove as _t, functionFromTraversal as a, getPG3DNamedPuzzles as at, wcaEventInfo as b, SimplifyOptions as bt, PuzzleLoader as c, getPuzzleGeometryByName as ct, TwistyAlgEditor as d, PuzzleGeometryOptions as dt, PuzzleGeometry as et, Parsed as f, experimentalIs as ft, cube3x3x3 as g, Alg as gt, puzzles as h, AlgBuilder as ht, TraversalUp as i, StickerDatSticker as it, AlgIndexer as j, Newline as jt, TreeAlgIndexer as k, Unit as kt, TwizzleLink as l, parsePuzzleDescription as lt, TwistyPlayerConfig as m, setAlgDebug as mt, experimentalAlgCubingNetLink as n, StickerDatAxis as nt, keyToMove as o, getPuzzleDescriptionString as ot, TwistyPlayer as p, Example as pt, PGNotation as q, TraversalDownUp as r, StickerDatFace as rt, KeyMapping as s, getPuzzleGeometryByDesc as st, AlgCubingNetOptions as t, StickerDat as tt, TwistyAlgViewer as u, Quat as ut, eventInfo as v, AppendCancelOptions as vt, BackViewLayout as w, Grouping as wt, wcaEvents as x, AlgBranch as xt, twizzleEvents as y, PuzzleSpecificSimplifyOptions as yt, KPuzzle as z };
|