cubing 0.25.3 → 0.25.7

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 (74) hide show
  1. package/README.md +12 -30
  2. package/dist/esm/{2x2x2.sgs.json-MMXKAIKZ.js → 2x2x2.sgs.json-3ZT7QXX6.js} +3 -3
  3. package/dist/esm/{2x2x2.sgs.json-MMXKAIKZ.js.map → 2x2x2.sgs.json-3ZT7QXX6.js.map} +0 -0
  4. package/dist/esm/{3d-dynamic-N4H7XJWX.js → 3d-dynamic-PTVO24C3.js} +4 -4
  5. package/dist/esm/{3d-dynamic-N4H7XJWX.js.map → 3d-dynamic-PTVO24C3.js.map} +0 -0
  6. package/dist/esm/{444-solver-PV2GUWP2.js → 444-solver-BYA4CXZO.js} +4 -4
  7. package/dist/esm/{444-solver-PV2GUWP2.js.map → 444-solver-BYA4CXZO.js.map} +0 -0
  8. package/dist/esm/bluetooth/index.js +3 -3
  9. package/dist/esm/{chunk-TXTMBIUR.js → chunk-ANYSPBCR.js} +2 -2
  10. package/dist/esm/{chunk-TXTMBIUR.js.map → chunk-ANYSPBCR.js.map} +0 -0
  11. package/dist/esm/{chunk-LMZIKLXW.js → chunk-CNIY6YZL.js} +24 -3
  12. package/dist/esm/chunk-CNIY6YZL.js.map +7 -0
  13. package/dist/esm/{chunk-5GJ5C7NZ.js → chunk-HFQZM22L.js} +3 -3
  14. package/dist/esm/{chunk-5GJ5C7NZ.js.map → chunk-HFQZM22L.js.map} +0 -0
  15. package/dist/esm/{chunk-OH2FLVZM.js → chunk-JGAZXWH2.js} +2 -2
  16. package/dist/esm/{chunk-OH2FLVZM.js.map → chunk-JGAZXWH2.js.map} +0 -0
  17. package/dist/esm/{chunk-QEDC2QTN.js → chunk-JW2JE4D3.js} +2 -2
  18. package/dist/esm/{chunk-QEDC2QTN.js.map → chunk-JW2JE4D3.js.map} +0 -0
  19. package/dist/esm/{chunk-Y32HHZUY.js → chunk-MVKZPDII.js} +20 -2
  20. package/dist/esm/chunk-MVKZPDII.js.map +7 -0
  21. package/dist/esm/{chunk-NGA3FW7U.js → chunk-NROLOGGL.js} +3 -3
  22. package/dist/esm/{chunk-NGA3FW7U.js.map → chunk-NROLOGGL.js.map} +0 -0
  23. package/dist/esm/{chunk-KJZNEDOV.js → chunk-OAPHPP4R.js} +2 -2
  24. package/dist/esm/{chunk-KJZNEDOV.js.map → chunk-OAPHPP4R.js.map} +0 -0
  25. package/dist/esm/{chunk-UNROETIO.js → chunk-ZIHFCBOI.js} +2 -2
  26. package/dist/esm/{chunk-UNROETIO.js.map → chunk-ZIHFCBOI.js.map} +0 -0
  27. package/dist/esm/{fto.dynamic-UHH65HEC.js → fto.dynamic-FLX5JKRG.js} +3 -3
  28. package/dist/esm/{fto.dynamic-UHH65HEC.js.map → fto.dynamic-FLX5JKRG.js.map} +0 -0
  29. package/dist/esm/kilosolver-N6JM5PUY.js +713 -0
  30. package/dist/esm/kilosolver-N6JM5PUY.js.map +7 -0
  31. package/dist/esm/kpuzzle/index.js +1 -1
  32. package/dist/esm/{megaminx.sgs.json-3ZEDZMWF.js → megaminx.sgs.json-CGIZZZMZ.js} +3 -3
  33. package/dist/esm/{megaminx.sgs.json-3ZEDZMWF.js.map → megaminx.sgs.json-CGIZZZMZ.js.map} +0 -0
  34. package/dist/esm/protocol/index.js +2 -2
  35. package/dist/esm/puzzles/index.js +2 -2
  36. package/dist/esm/{pyraminx.sgs.json-5IA2F65U.js → pyraminx.sgs.json-XGJQTHLV.js} +4 -4
  37. package/dist/esm/{pyraminx.sgs.json-5IA2F65U.js.map → pyraminx.sgs.json-XGJQTHLV.js.map} +0 -0
  38. package/dist/esm/redi_cube-E5F64NIQ.js +564 -0
  39. package/dist/esm/redi_cube-E5F64NIQ.js.map +7 -0
  40. package/dist/esm/redi_cube.kpuzzle.json-EPBKWOMV.js +66 -0
  41. package/dist/esm/redi_cube.kpuzzle.json-EPBKWOMV.js.map +7 -0
  42. package/dist/esm/redi_cube.kpuzzle.svg-BSHCMC2Z.js +160 -0
  43. package/dist/esm/redi_cube.kpuzzle.svg-BSHCMC2Z.js.map +7 -0
  44. package/dist/esm/scramble/index.js +4 -4
  45. package/dist/esm/search/index.js +4 -4
  46. package/dist/esm/{search-worker-js-entry-AXEFSQVG.js → search-worker-js-entry-A4VBA2ZD.js} +34 -16
  47. package/dist/esm/{search-worker-js-entry-AXEFSQVG.js.map → search-worker-js-entry-A4VBA2ZD.js.map} +3 -3
  48. package/dist/esm/{search-worker-ts-entry-OOL7WATY.js → search-worker-ts-entry-LUHAXJBE.js} +2 -2
  49. package/dist/esm/{search-worker-ts-entry-OOL7WATY.js.map → search-worker-ts-entry-LUHAXJBE.js.map} +0 -0
  50. package/dist/esm/{skewb.sgs.json-6NDFH63U.js → skewb.sgs.json-HNUN4G7F.js} +3 -3
  51. package/dist/esm/{skewb.sgs.json-6NDFH63U.js.map → skewb.sgs.json-HNUN4G7F.js.map} +0 -0
  52. package/dist/esm/twisty/index.js +17 -5
  53. package/dist/esm/twisty/index.js.map +2 -2
  54. package/dist/esm/worker-inside-generated-string-VHOABMFC.js +3674 -0
  55. package/dist/esm/worker-inside-generated-string-VHOABMFC.js.map +7 -0
  56. package/dist/types/kpuzzle/KPuzzleDefinition.d.ts +1 -0
  57. package/dist/types/kpuzzle/KState.d.ts +1 -0
  58. package/dist/types/kpuzzle/KTransformation.d.ts +1 -0
  59. package/dist/types/puzzles/implementations/redi-cube/index.d.ts +2 -0
  60. package/dist/types/puzzles/implementations/redi-cube/redi_cube.kpuzzle.json.d.ts +2 -0
  61. package/dist/types/puzzles/implementations/redi-cube/redi_cube.kpuzzle.svg.d.ts +1 -0
  62. package/dist/types/search/inside/solve/puzzles/kilominx.d.ts +2 -0
  63. package/dist/types/search/inside/solve/puzzles/redi_cube.d.ts +2 -0
  64. package/dist/types/search/worker-inside-generated-string.d.ts +1 -1
  65. package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.d.ts +1 -0
  66. package/dist/types/vendor/xyzzy/fto-solver-original.d.ts +1 -56
  67. package/dist/types/vendor/xyzzy/kilosolver.d.ts +2 -140
  68. package/dist/types/vendor/xyzzy/redi_cube.d.ts +2 -0
  69. package/package.json +65 -70
  70. package/dist/esm/chunk-LMZIKLXW.js.map +0 -7
  71. package/dist/esm/chunk-Y32HHZUY.js.map +0 -7
  72. package/dist/esm/worker-inside-generated-string-CSXWVF2Y.js +0 -3522
  73. package/dist/esm/worker-inside-generated-string-CSXWVF2Y.js.map +0 -7
  74. package/dist/types/vendor/xyzzy/rediscrambler.d.ts +0 -94
@@ -17,4 +17,5 @@ export interface KPuzzleDefinition {
17
17
  orbits: Record<string, KOrbitDefinition>;
18
18
  startStateData: KStateData;
19
19
  moves: Record<string, KTransformationData>;
20
+ experimentalDerivedMoves?: Record<string, string>;
20
21
  }
@@ -7,6 +7,7 @@ export declare class KState {
7
7
  readonly kpuzzle: KPuzzle;
8
8
  readonly stateData: KStateData;
9
9
  constructor(kpuzzle: KPuzzle, stateData: KStateData);
10
+ toJSON(): any;
10
11
  static fromTransformation(transformation: KTransformation): KState;
11
12
  /** @deprecated */
12
13
  apply(source: KTransformationSource): KState;
@@ -7,6 +7,7 @@ export declare class KTransformation {
7
7
  readonly kpuzzle: KPuzzle;
8
8
  readonly transformationData: KTransformationData;
9
9
  constructor(kpuzzle: KPuzzle, transformationData: KTransformationData);
10
+ toJSON(): any;
10
11
  invert(): KTransformation;
11
12
  isIdentityTransformation(): boolean;
12
13
  /** @deprecated */
@@ -0,0 +1,2 @@
1
+ import type { PuzzleLoader } from "../../PuzzleLoader";
2
+ export declare const rediCube: PuzzleLoader;
@@ -0,0 +1,2 @@
1
+ import type { KPuzzleDefinition } from "../../../kpuzzle";
2
+ export declare const rediCubeKPuzzleDefinition: KPuzzleDefinition;
@@ -0,0 +1 @@
1
+ export declare const rediCubeSVG = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"546px\" height=\"418px\" viewBox=\"-20 -20 546 418\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n<title>redi-cube</title>\n<g istroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g transform=\"translate(1.000000, 1.000000)\" fill-rule=\"nonzero\" stroke=\"#000000\" stroke-width=\"1.6\">\n <g id=\"CORNERS-l0-o0\" transform=\"translate(208.000000, 80.000000)\" style=\"fill: #FFFFFF;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l0-o1\" transform=\"translate(256.000000, 128.000000)\" style=\"fill: #FF0000;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l0-o2\" transform=\"translate(208.000000, 128.000000)\" style=\"fill: #32CD32;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l1-o0\" transform=\"translate(208.000000, 0.000000)\" style=\"fill: #FFFFFF;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l1-o1\" transform=\"translate(384.000000, 128.000000)\" style=\"fill: #2266FF;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l1-o2\" transform=\"translate(336.000000, 128.000000)\" style=\"fill: #FF0000;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l2-o0\" transform=\"translate(128.000000, 0.000000)\" style=\"fill: #FFFFFF;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l2-o1\" transform=\"translate(0.000000, 128.000000)\" style=\"fill: #FFA500;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l2-o2\" transform=\"translate(464.000000, 128.000000)\" style=\"fill: #2266FF;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l3-o0\" transform=\"translate(128.000000, 80.000000)\" style=\"fill: #FFFFFF;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l3-o1\" transform=\"translate(128.000000, 128.000000)\" style=\"fill: #32CD32;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l3-o2\" transform=\"translate(80.000000, 128.000000)\" style=\"fill: #FFA500;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l4-o0\" transform=\"translate(208.000000, 256.000000)\" style=\"fill: #FFFF00;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l4-o1\" transform=\"translate(208.000000, 208.000000)\" style=\"fill: #32CD32;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l4-o2\" transform=\"translate(256.000000, 208.000000)\" style=\"fill: #FF0000;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l5-o0\" transform=\"translate(128.000000, 256.000000)\" style=\"fill: #FFFF00;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l5-o1\" transform=\"translate(80.000000, 208.000000)\" style=\"fill: #FFA500;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l5-o2\" transform=\"translate(128.000000, 208.000000)\" style=\"fill: #32CD32;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l6-o0\" transform=\"translate(128.000000, 336.000000)\" style=\"fill: #FFFF00;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l6-o1\" transform=\"translate(464.000000, 208.000000)\" style=\"fill: #2266FF;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l6-o2\" transform=\"translate(0.000000, 208.000000)\" style=\"fill: #FFA500;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l7-o0\" transform=\"translate(208.000000, 336.000000)\" style=\"fill: #FFFF00;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l7-o1\" transform=\"translate(336.000000, 208.000000)\" style=\"fill: #FF0000;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"CORNERS-l7-o2\" transform=\"translate(384.000000, 208.000000)\" style=\"fill: #2266FF;\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"40\" height=\"40\"></rect>\n </g>\n <g id=\"EDGES-l0-o0\" transform=\"translate(168.000000, 60.000000)\" style=\"fill: #FFFFFF;\">\n <polygon id=\"Rectangle\" points=\"0 20 20 -8.8817842e-16 40 20 40 60 0 60\"></polygon>\n </g>\n <g id=\"EDGES-l0-o1\" transform=\"translate(168.000000, 128.000000)\" style=\"fill: #32CD32;\">\n <polygon id=\"Rectangle\" points=\"0 0 40 0 40 40 20 60 0 40\"></polygon>\n </g>\n <g id=\"EDGES-l1-o0\" transform=\"translate(188.000000, 40.000000)\" style=\"fill: #FFFFFF;\">\n <polygon id=\"Rectangle\" points=\"20 0 60 0 60 40 20 40 0 20\"></polygon>\n </g>\n <g id=\"EDGES-l1-o1\" transform=\"translate(296.000000, 128.000000)\" style=\"fill: #FF0000;\">\n <polygon id=\"Rectangle\" points=\"0 0 40 0 40 40 20 60 0 40\"></polygon>\n </g>\n <g id=\"EDGES-l2-o0\" transform=\"translate(168.000000, 0.000000)\" style=\"fill: #FFFFFF;\">\n <polygon id=\"Rectangle\" points=\"0 0 40 0 40 40 20 60 0 40\"></polygon>\n </g>\n <g id=\"EDGES-l2-o1\" transform=\"translate(424.000000, 128.000000)\" style=\"fill: #2266FF;\">\n <polygon id=\"Rectangle\" points=\"0 0 40 0 40 40 20 60 0 40\"></polygon>\n </g>\n <g id=\"EDGES-l3-o0\" transform=\"translate(128.000000, 40.000000)\" style=\"fill: #FFFFFF;\">\n <polygon id=\"Rectangle\" points=\"0 0 40 0 60 20 40 40 0 40\"></polygon>\n </g>\n <g id=\"EDGES-l3-o1\" transform=\"translate(40.000000, 128.000000)\" style=\"fill: #FFA500;\">\n <polygon id=\"Rectangle\" points=\"0 0 40 0 40 40 20 60 0 40\"></polygon>\n </g>\n <g id=\"EDGES-l4-o0\" transform=\"translate(168.000000, 256.000000)\" style=\"fill: #FFFF00;\">\n <polygon id=\"Rectangle\" points=\"0 0 40 0 40 40 20 60 0 40\"></polygon>\n </g>\n <g id=\"EDGES-l4-o1\" transform=\"translate(168.000000, 188.000000)\" style=\"fill: #32CD32;\">\n <polygon id=\"Rectangle\" points=\"0 20 20 0 40 20 40 60 0 60\"></polygon>\n </g>\n <g id=\"EDGES-l5-o0\" transform=\"translate(188.000000, 296.000000)\" style=\"fill: #FFFF00;\">\n <polygon id=\"Rectangle\" points=\"20 0 60 0 60 40 20 40 0 20\"></polygon>\n </g>\n <g id=\"EDGES-l5-o1\" transform=\"translate(296.000000, 188.000000)\" style=\"fill: #FF0000;\">\n <polygon id=\"Rectangle\" points=\"0 20 20 0 40 20 40 60 0 60\"></polygon>\n </g>\n <g id=\"EDGES-l6-o0\" transform=\"translate(168.000000, 316.000000)\" style=\"fill: #FFFF00;\">\n <polygon id=\"Rectangle\" points=\"0 20 20 -5.32907052e-14 40 20 40 60 0 60\"></polygon>\n </g>\n <g id=\"EDGES-l6-o1\" transform=\"translate(424.000000, 188.000000)\" style=\"fill: #2266FF;\">\n <polygon id=\"Rectangle\" points=\"0 20 20 -1.77635684e-15 40 20 40 60 0 60\"></polygon>\n </g>\n <g id=\"EDGES-l7-o0\" transform=\"translate(128.000000, 296.000000)\" style=\"fill: #FFFF00;\">\n <polygon id=\"Rectangle\" points=\"0 0 40 0 60 20 40 40 0 40\"></polygon>\n </g>\n <g id=\"EDGES-l7-o1\" transform=\"translate(40.000000, 188.000000)\" style=\"fill: #FFA500;\">\n <polygon id=\"Rectangle\" points=\"0 20 20 0 40 20 40 60 0 60\"></polygon>\n </g>\n <g id=\"EDGES-l8-o0\" transform=\"translate(188.000000, 168.000000)\" style=\"fill: #32CD32;\">\n <polygon id=\"Rectangle\" points=\"20 0 60 0 60 40 20 40 2.66453526e-14 20\"></polygon>\n </g>\n <g id=\"EDGES-l8-o1\" transform=\"translate(256.000000, 168.000000)\" style=\"fill: #FF0000;\">\n <polygon id=\"Rectangle\" points=\"0 0 40 0 60 20 40 40 0 40\"></polygon>\n </g>\n <g id=\"EDGES-l9-o0\" transform=\"translate(128.000000, 168.000000)\" style=\"fill: #32CD32;\">\n <polygon id=\"Rectangle\" points=\"0 0 40 0 60 20 40 40 0 40\"></polygon>\n </g>\n <g id=\"EDGES-l9-o1\" transform=\"translate(60.000000, 168.000000)\" style=\"fill: #FFA500;\">\n <polygon id=\"Rectangle\" points=\"20 0 60 0 60 40 20 40 0 20\"></polygon>\n </g>\n <g id=\"EDGES-l10-o0\" transform=\"translate(384.000000, 168.000000)\" style=\"fill: #2266FF;\">\n <polygon id=\"Rectangle\" points=\"0 0 40 0 60 20 40 40 0 40\"></polygon>\n </g>\n <g id=\"EDGES-l10-o1\" transform=\"translate(316.000000, 168.000000)\" style=\"fill: #FF0000;\">\n <polygon id=\"Rectangle\" points=\"20 0 60 0 60 40 20 40 5.32907052e-14 20\"></polygon>\n </g>\n <g id=\"EDGES-l11-o0\" transform=\"translate(444.000000, 168.000000)\" style=\"fill: #2266FF;\">\n <polygon id=\"Rectangle\" points=\"20 0 60 0 60 40 20 40 -3.55271368e-15 20\"></polygon>\n </g>\n <g id=\"EDGES-l11-o1\" transform=\"translate(0.000000, 168.000000)\" style=\"fill: #FFA500;\">\n <polygon id=\"Rectangle\" points=\"0 0 40 0 60 20 40 40 0 40\"></polygon>\n </g>\n </g>\n</g>\n</svg>\n";
@@ -0,0 +1,2 @@
1
+ import type { Alg } from "../../../../alg";
2
+ export declare function randomKilominxScramble(): Promise<Alg>;
@@ -0,0 +1,2 @@
1
+ import type { Alg } from "../../../../alg";
2
+ export declare function randomRediCubeScramble(): Promise<Alg>;