cubing 0.35.14 → 0.35.16

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.
Files changed (60) hide show
  1. package/dist/esm/bluetooth/index.js +4 -4
  2. package/dist/esm/{chunk-FYVNXGW7.js → chunk-45K2CYFE.js} +4 -4
  3. package/dist/esm/{chunk-KFIVGLQW.js → chunk-6VTHSEOW.js} +2 -2
  4. package/dist/esm/{chunk-M3R3E72W.js → chunk-DMCZUU73.js} +3 -3
  5. package/dist/esm/{chunk-KLI2E737.js → chunk-HFSPQPHF.js} +1 -1
  6. package/dist/esm/{chunk-KLI2E737.js.map → chunk-HFSPQPHF.js.map} +1 -1
  7. package/dist/esm/{chunk-KVV6QRVS.js → chunk-JUQ3IMBL.js} +2 -2
  8. package/dist/esm/{chunk-H5V6PE7W.js → chunk-LWPS6YCY.js} +4 -4
  9. package/dist/esm/{chunk-3446SRBQ.js → chunk-P6UFJHYS.js} +3 -3
  10. package/dist/esm/{chunk-ASZGP3LG.js → chunk-SHPUPQXF.js} +3 -3
  11. package/dist/esm/{chunk-ARK3O2ML.js → chunk-Z7HNUB4Z.js} +10 -10
  12. package/dist/esm/kpuzzle/index.js +1 -1
  13. package/dist/esm/notation/index.js +3 -3
  14. package/dist/esm/protocol/index.js +3 -3
  15. package/dist/esm/puzzle-geometry/index.js +74 -69
  16. package/dist/esm/puzzle-geometry/index.js.map +2 -2
  17. package/dist/esm/puzzles/index.js +3 -3
  18. package/dist/esm/scramble/index.js +7 -7
  19. package/dist/esm/search/index.js +7 -7
  20. package/dist/esm/{search-dynamic-sgs-side-events-UFZFWRKV.js → search-dynamic-sgs-side-events-2ECZCNHG.js} +4 -4
  21. package/dist/esm/{search-dynamic-sgs-unofficial-5DWOGMT7.js → search-dynamic-sgs-unofficial-5C77Q7DX.js} +4 -4
  22. package/dist/esm/{search-dynamic-solve-4x4x4-2GF6SJJV.js → search-dynamic-solve-4x4x4-7CHOLNFP.js} +5 -5
  23. package/dist/esm/{search-worker-inside-generated-string-BDTSOVM2.js → search-worker-inside-generated-string-UR6QHHVC.js} +2 -2
  24. package/dist/esm/search-worker-inside-generated-string-UR6QHHVC.js.map +7 -0
  25. package/dist/esm/search-worker-js-entry-WMBGZURE.js +17 -0
  26. package/dist/esm/{search-worker-ts-entry-7AOWIER3.js → search-worker-ts-entry-BGM22QXI.js} +2 -2
  27. package/dist/esm/twisty/index.js +5 -16
  28. package/dist/esm/twisty/index.js.map +3 -3
  29. package/dist/esm/{twisty-dynamic-3d-WFA6QUCM.js → twisty-dynamic-3d-AE6H6NWK.js} +5 -5
  30. package/dist/types/{KState-02f3c493.d.ts → KState-8f0d81ea.d.ts} +2 -2
  31. package/dist/types/{TwizzleLink-3eb6b5c9.d.ts → TwizzleLink-9f92123d.d.ts} +1 -9
  32. package/dist/types/bluetooth/index.d.ts +3 -3
  33. package/dist/types/{bluetooth-puzzle-cea33c88.d.ts → bluetooth-puzzle-baa8d9f1.d.ts} +1 -1
  34. package/dist/types/kpuzzle/index.d.ts +1 -1
  35. package/dist/types/notation/index.d.ts +2 -2
  36. package/dist/types/{outside-d15f1468.d.ts → outside-ef4dd4d1.d.ts} +1 -1
  37. package/dist/types/protocol/index.d.ts +1 -1
  38. package/dist/types/puzzle-geometry/index.d.ts +2 -2
  39. package/dist/types/puzzles/index.d.ts +3 -3
  40. package/dist/types/scramble/index.d.ts +2 -2
  41. package/dist/types/search/index.d.ts +2 -2
  42. package/dist/types/stream/index.d.ts +2 -2
  43. package/dist/types/twisty/index.d.ts +3 -3
  44. package/package.json +1 -1
  45. package/dist/esm/search-worker-inside-generated-string-BDTSOVM2.js.map +0 -7
  46. package/dist/esm/search-worker-js-entry-C4A2BDRQ.js +0 -17
  47. /package/dist/esm/{chunk-FYVNXGW7.js.map → chunk-45K2CYFE.js.map} +0 -0
  48. /package/dist/esm/{chunk-KFIVGLQW.js.map → chunk-6VTHSEOW.js.map} +0 -0
  49. /package/dist/esm/{chunk-M3R3E72W.js.map → chunk-DMCZUU73.js.map} +0 -0
  50. /package/dist/esm/{chunk-KVV6QRVS.js.map → chunk-JUQ3IMBL.js.map} +0 -0
  51. /package/dist/esm/{chunk-H5V6PE7W.js.map → chunk-LWPS6YCY.js.map} +0 -0
  52. /package/dist/esm/{chunk-3446SRBQ.js.map → chunk-P6UFJHYS.js.map} +0 -0
  53. /package/dist/esm/{chunk-ASZGP3LG.js.map → chunk-SHPUPQXF.js.map} +0 -0
  54. /package/dist/esm/{chunk-ARK3O2ML.js.map → chunk-Z7HNUB4Z.js.map} +0 -0
  55. /package/dist/esm/{search-dynamic-sgs-side-events-UFZFWRKV.js.map → search-dynamic-sgs-side-events-2ECZCNHG.js.map} +0 -0
  56. /package/dist/esm/{search-dynamic-sgs-unofficial-5DWOGMT7.js.map → search-dynamic-sgs-unofficial-5C77Q7DX.js.map} +0 -0
  57. /package/dist/esm/{search-dynamic-solve-4x4x4-2GF6SJJV.js.map → search-dynamic-solve-4x4x4-7CHOLNFP.js.map} +0 -0
  58. /package/dist/esm/{search-worker-js-entry-C4A2BDRQ.js.map → search-worker-js-entry-WMBGZURE.js.map} +0 -0
  59. /package/dist/esm/{search-worker-ts-entry-7AOWIER3.js.map → search-worker-ts-entry-BGM22QXI.js.map} +0 -0
  60. /package/dist/esm/{twisty-dynamic-3d-WFA6QUCM.js.map → twisty-dynamic-3d-AE6H6NWK.js.map} +0 -0
@@ -3,14 +3,14 @@ import {
3
3
  THREEJS,
4
4
  haveStartedSharingRenderers,
5
5
  hintFaceletStyles
6
- } from "./chunk-ASZGP3LG.js";
6
+ } from "./chunk-SHPUPQXF.js";
7
7
  import {
8
8
  cube3x3x3
9
- } from "./chunk-3446SRBQ.js";
9
+ } from "./chunk-P6UFJHYS.js";
10
10
  import {
11
11
  getFaceletStickeringMask
12
- } from "./chunk-KFIVGLQW.js";
13
- import "./chunk-KLI2E737.js";
12
+ } from "./chunk-6VTHSEOW.js";
13
+ import "./chunk-HFSPQPHF.js";
14
14
  import {
15
15
  Move
16
16
  } from "./chunk-VZP3KFTU.js";
@@ -1759,4 +1759,4 @@ export {
1759
1759
  cube3DShim,
1760
1760
  pg3dShim
1761
1761
  };
1762
- //# sourceMappingURL=twisty-dynamic-3d-WFA6QUCM.js.map
1762
+ //# sourceMappingURL=twisty-dynamic-3d-AE6H6NWK.js.map
@@ -10,13 +10,13 @@ interface KStateOrbitData {
10
10
  pieces: number[];
11
11
  orientation: number[];
12
12
  }
13
- interface KOrbitDefinition {
13
+ interface KPuzzleOrbitDefinition {
14
14
  numPieces: number;
15
15
  numOrientations: number;
16
16
  }
17
17
  interface KPuzzleDefinition {
18
18
  name: string;
19
- orbits: Record<string, KOrbitDefinition>;
19
+ orbits: Record<string, KPuzzleOrbitDefinition>;
20
20
  startStateData: KStateData;
21
21
  moves: Record<string, KTransformationData>;
22
22
  experimentalDerivedMoves?: Record<string, string>;
@@ -1,7 +1,7 @@
1
1
  import { Texture, Object3D, Raycaster, PerspectiveCamera, Scene, WebGLRenderer } from 'three';
2
2
  import { g as PuzzleSpecificSimplifyOptions, M as Move, a as Alg, P as Pause, h as AppendCancelOptions, d as AlgLeaf, b as AppendOptions, A as AlgNode, I as IterationDirection } from './Alg-c6770822.js';
3
3
  import { P as Parsed } from './parseAlg-d2c83795.js';
4
- import { a as KPuzzle, P as PuzzleGeometry, K as KState, e as KTransformation, f as PuzzleDescriptionString } from './KState-02f3c493.js';
4
+ import { a as KPuzzle, P as PuzzleGeometry, K as KState, e as KTransformation, f as PuzzleDescriptionString } from './KState-8f0d81ea.js';
5
5
 
6
6
  type FaceletMeshStickeringMask = "regular" | "dim" | "oriented" | "ignored" | "invisible";
7
7
  type FaceletStickeringMask = {
@@ -390,13 +390,6 @@ declare class LegacyPositionProp extends TwistyPropDerived<LegacyPositionPropInp
390
390
  derive(inputs: LegacyPositionPropInputs): PuzzlePosition;
391
391
  }
392
392
 
393
- interface NaiveMoveCountPropInputs {
394
- alg: AlgWithIssues;
395
- }
396
- declare class NaiveMoveCountProp extends TwistyPropDerived<NaiveMoveCountPropInputs, number | null> {
397
- derive(inputs: NaiveMoveCountPropInputs): number | null;
398
- }
399
-
400
393
  declare class PuzzleAlgProp extends TwistyPropDerived<{
401
394
  algWithIssues: AlgWithIssues;
402
395
  kpuzzle: KPuzzle;
@@ -769,7 +762,6 @@ declare class TwistyPlayerModel {
769
762
  puzzleSetupAlg: PuzzleAlgProp;
770
763
  visualizationStrategy: VisualizationStrategyProp;
771
764
  indexerConstructor: IndexerConstructorProp;
772
- moveCount: NaiveMoveCountProp;
773
765
  setupAlgTransformation: AlgTransformationProp;
774
766
  indexer: IndexerProp;
775
767
  anchorTransformation: AnchorTransformationProp;
@@ -1,6 +1,6 @@
1
- import { K as KState } from '../KState-02f3c493.js';
2
- import { B as BluetoothPuzzle } from '../bluetooth-puzzle-cea33c88.js';
3
- export { B as BluetoothPuzzle, A as MoveEvent, O as OrientationEvent } from '../bluetooth-puzzle-cea33c88.js';
1
+ import { K as KState } from '../KState-8f0d81ea.js';
2
+ import { B as BluetoothPuzzle } from '../bluetooth-puzzle-baa8d9f1.js';
3
+ export { B as BluetoothPuzzle, A as MoveEvent, O as OrientationEvent } from '../bluetooth-puzzle-baa8d9f1.js';
4
4
  import { a as Alg, M as Move } from '../Alg-c6770822.js';
5
5
 
6
6
  declare function enableDebugLogging(enable: boolean): void;
@@ -1,5 +1,5 @@
1
1
  import { d as AlgLeaf } from './Alg-c6770822.js';
2
- import { K as KState } from './KState-02f3c493.js';
2
+ import { K as KState } from './KState-8f0d81ea.js';
3
3
 
4
4
  interface StreamTransformer {
5
5
  transformAlgLeaf(algLeafEvent: AlgLeafEvent): void;
@@ -1,2 +1,2 @@
1
- export { a as KPuzzle, b as KPuzzleDefinition, K as KState, c as KStateData, e as KTransformation, d as KTransformationData } from '../KState-02f3c493.js';
1
+ export { a as KPuzzle, b as KPuzzleDefinition, K as KState, c as KStateData, e as KTransformation, d as KTransformationData } from '../KState-8f0d81ea.js';
2
2
  import '../Alg-c6770822.js';
@@ -1,8 +1,8 @@
1
1
  import { a as Alg } from '../Alg-c6770822.js';
2
- import { P as PuzzleLoader } from '../TwizzleLink-3eb6b5c9.js';
2
+ import { P as PuzzleLoader } from '../TwizzleLink-9f92123d.js';
3
3
  import 'three';
4
4
  import '../parseAlg-d2c83795.js';
5
- import '../KState-02f3c493.js';
5
+ import '../KState-8f0d81ea.js';
6
6
 
7
7
  declare enum CommonMetric {
8
8
  OuterBlockTurnMetric = "OBTM",
@@ -1,5 +1,5 @@
1
1
  import { a as Alg } from './Alg-c6770822.js';
2
- import { K as KState, a as KPuzzle } from './KState-02f3c493.js';
2
+ import { K as KState, a as KPuzzle } from './KState-8f0d81ea.js';
3
3
 
4
4
  declare enum PrefetchLevel {
5
5
  Auto = "auto",
@@ -1,4 +1,4 @@
1
- import { K as KState } from '../KState-02f3c493.js';
1
+ import { K as KState } from '../KState-8f0d81ea.js';
2
2
  import '../Alg-c6770822.js';
3
3
 
4
4
  type Binary3x3x3State = ArrayBuffer;
@@ -1,5 +1,5 @@
1
- import { g as Perm } from '../KState-02f3c493.js';
2
- export { v as EXPERIMENTAL_PUZZLE_BASE_SHAPES, t as EXPERIMENTAL_PUZZLE_CUT_TYPES, q as ExperimentalPGNotation, w as ExperimentalPuzzleBaseShape, r as ExperimentalPuzzleCutDescription, u as ExperimentalPuzzleCutType, s as ExperimentalPuzzleDescription, P as PuzzleGeometry, Q as Quat, S as StickerDat, l as StickerDatAxis, m as StickerDatFace, n as StickerDatSticker, k as getPG3DNamedPuzzles, h as getPuzzleDescriptionString, i as getPuzzleGeometryByDesc, j as getPuzzleGeometryByName, o as parseOptions, p as parsePuzzleDescription } from '../KState-02f3c493.js';
1
+ import { g as Perm } from '../KState-8f0d81ea.js';
2
+ export { v as EXPERIMENTAL_PUZZLE_BASE_SHAPES, t as EXPERIMENTAL_PUZZLE_CUT_TYPES, q as ExperimentalPGNotation, w as ExperimentalPuzzleBaseShape, r as ExperimentalPuzzleCutDescription, u as ExperimentalPuzzleCutType, s as ExperimentalPuzzleDescription, P as PuzzleGeometry, Q as Quat, S as StickerDat, l as StickerDatAxis, m as StickerDatFace, n as StickerDatSticker, k as getPG3DNamedPuzzles, h as getPuzzleDescriptionString, i as getPuzzleGeometryByDesc, j as getPuzzleGeometryByName, o as parseOptions, p as parsePuzzleDescription } from '../KState-8f0d81ea.js';
3
3
  import '../Alg-c6770822.js';
4
4
 
5
5
  declare function schreierSims(g: Perm[], disp: (s: string) => void): bigint;
@@ -1,9 +1,9 @@
1
- import { a as PuzzleID, P as PuzzleLoader } from '../TwizzleLink-3eb6b5c9.js';
2
- export { P as PuzzleLoader } from '../TwizzleLink-3eb6b5c9.js';
1
+ import { a as PuzzleID, P as PuzzleLoader } from '../TwizzleLink-9f92123d.js';
2
+ export { P as PuzzleLoader } from '../TwizzleLink-9f92123d.js';
3
3
  import 'three';
4
4
  import '../Alg-c6770822.js';
5
5
  import '../parseAlg-d2c83795.js';
6
- import '../KState-02f3c493.js';
6
+ import '../KState-8f0d81ea.js';
7
7
 
8
8
  interface EventInfo {
9
9
  puzzleID: PuzzleID;
@@ -1,3 +1,3 @@
1
- export { r as randomScrambleForEvent } from '../outside-d15f1468.js';
1
+ export { r as randomScrambleForEvent } from '../outside-ef4dd4d1.js';
2
2
  import '../Alg-c6770822.js';
3
- import '../KState-02f3c493.js';
3
+ import '../KState-8f0d81ea.js';
@@ -1,5 +1,5 @@
1
- export { a as experimentalSolve2x2x2, e as experimentalSolve3x3x3IgnoringCenters, f as experimentalSolveTwsearch, d as setDebug, c as solveMegaminx, b as solvePyraminx, s as solveSkewb } from '../outside-d15f1468.js';
2
- import { K as KState } from '../KState-02f3c493.js';
1
+ export { a as experimentalSolve2x2x2, e as experimentalSolve3x3x3IgnoringCenters, f as experimentalSolveTwsearch, d as setDebug, c as solveMegaminx, b as solvePyraminx, s as solveSkewb } from '../outside-ef4dd4d1.js';
2
+ import { K as KState } from '../KState-8f0d81ea.js';
3
3
  import '../Alg-c6770822.js';
4
4
 
5
5
  declare function random333State(): Promise<KState>;
@@ -1,6 +1,6 @@
1
- import { A as AlgLeafEvent, O as OrientationEvent } from '../bluetooth-puzzle-cea33c88.js';
1
+ import { A as AlgLeafEvent, O as OrientationEvent } from '../bluetooth-puzzle-baa8d9f1.js';
2
2
  import '../Alg-c6770822.js';
3
- import '../KState-02f3c493.js';
3
+ import '../KState-8f0d81ea.js';
4
4
 
5
5
  interface ProxyMoveEvent {
6
6
  event: "move";
@@ -1,7 +1,7 @@
1
- import { A as AlgIndexer, T as Timestamp, D as Duration, S as StickeringMask } from '../TwizzleLink-3eb6b5c9.js';
2
- export { A as AlgIndexer, B as BackViewLayout, N as EXPERIMENTAL_PROP_NO_VALUE, M as ExperimentalMillisecondTimestamp, E as ExperimentalStickering, a as PuzzleID, d as TwistyAlgEditor, c as TwistyAlgViewer, b as TwistyPlayer, e as TwistyPlayerConfig, g as TwizzleLink, V as VisualizationFormat, f as backViewLayouts } from '../TwizzleLink-3eb6b5c9.js';
1
+ import { A as AlgIndexer, T as Timestamp, D as Duration, S as StickeringMask } from '../TwizzleLink-9f92123d.js';
2
+ export { A as AlgIndexer, B as BackViewLayout, N as EXPERIMENTAL_PROP_NO_VALUE, M as ExperimentalMillisecondTimestamp, E as ExperimentalStickering, a as PuzzleID, d as TwistyAlgEditor, c as TwistyAlgViewer, b as TwistyPlayer, e as TwistyPlayerConfig, g as TwizzleLink, V as VisualizationFormat, f as backViewLayouts } from '../TwizzleLink-9f92123d.js';
3
3
  import { a as Alg, M as Move } from '../Alg-c6770822.js';
4
- import { a as KPuzzle, K as KState, e as KTransformation } from '../KState-02f3c493.js';
4
+ import { a as KPuzzle, K as KState, e as KTransformation } from '../KState-8f0d81ea.js';
5
5
  import 'three';
6
6
  import '../parseAlg-d2c83795.js';
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cubing",
3
- "version": "0.35.14",
3
+ "version": "0.35.16",
4
4
  "description": "A collection of JavaScript cubing libraries.",
5
5
  "author": "The js.cubing.net team",
6
6
  "type": "module",