cubing 0.45.1 → 0.46.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/dist/lib/cubing/{Alg-3d4f29da.d.ts → Alg.d-Qi_gM3ue.d.ts} +1 -1
  2. package/dist/lib/cubing/{KPattern-9a8ab7ac.d.ts → KPattern.d-1RSDwKrh.d.ts} +2 -2
  3. package/dist/lib/cubing/{TwizzleLink-1c12392a.d.ts → TwizzleLink.d--nbVCWjc.d.ts} +4 -6
  4. package/dist/lib/cubing/alg/index.d.ts +4 -4
  5. package/dist/lib/cubing/bluetooth/index.d.ts +6 -5
  6. package/dist/lib/cubing/{bluetooth-puzzle-bb8906fa.d.ts → bluetooth-puzzle.d-myIXFws0.d.ts} +4 -3
  7. package/dist/lib/cubing/chunks/{chunk-M65YYSXA.js → chunk-EYGOBNCB.js} +2 -2
  8. package/dist/lib/cubing/chunks/{twisty-dynamic-3d-Z7DZPPGE.js → twisty-dynamic-3d-3YOX4DSN.js} +10 -10
  9. package/dist/lib/cubing/chunks/{twisty-dynamic-3d-Z7DZPPGE.js.map → twisty-dynamic-3d-3YOX4DSN.js.map} +2 -2
  10. package/dist/lib/cubing/{index-3a2a4807.d.ts → index-WrxLz0RY.d.ts} +2 -2
  11. package/dist/lib/cubing/kpuzzle/index.d.ts +2 -2
  12. package/dist/lib/cubing/notation/index.d.ts +4 -4
  13. package/dist/lib/cubing/{parseAlg-f471ffd6.d.ts → parseAlg.d-LTqyeghV.d.ts} +2 -2
  14. package/dist/lib/cubing/protocol/index.d.ts +2 -2
  15. package/dist/lib/cubing/puzzle-geometry/index.d.ts +3 -3
  16. package/dist/lib/cubing/puzzles/index.d.ts +4 -4
  17. package/dist/lib/cubing/scramble/index.d.ts +3 -3
  18. package/dist/lib/cubing/search/index.d.ts +3 -3
  19. package/dist/lib/cubing/stream/index.d.ts +4 -4
  20. package/dist/lib/cubing/twisty/index.d.ts +5 -5
  21. package/dist/lib/cubing/twisty/index.js +8 -8
  22. package/dist/lib/cubing/twisty/index.js.map +2 -2
  23. package/package.json +21 -21
  24. /package/dist/lib/cubing/chunks/{chunk-M65YYSXA.js.map → chunk-EYGOBNCB.js.map} +0 -0
@@ -339,4 +339,4 @@ declare class Alg extends AlgCommon<Alg> {
339
339
  simplify(options?: SimplifyOptions): Alg;
340
340
  }
341
341
 
342
- export { Alg as A, Commutator as C, Grouping as G, IterationDirection as I, LineComment as L, Move as M, Newline as N, PuzzleSpecificSimplifyOptions as P, QuantumMove as Q, SimplifyOptions as S, AlgNode as a, AlgLeaf as b, AppendOptions as c, Conjugate as d, Pause as e, MoveModifications as f, AlgBranch as g, AppendCancelOptions as h };
342
+ export { Alg as A, Commutator as C, Grouping as G, IterationDirection as I, LineComment as L, Move as M, Newline as N, type PuzzleSpecificSimplifyOptions as P, QuantumMove as Q, type SimplifyOptions as S, type AlgNode as a, type AlgLeaf as b, type AppendOptions as c, Conjugate as d, Pause as e, type MoveModifications as f, type AlgBranch as g, type AppendCancelOptions as h };
@@ -1,4 +1,4 @@
1
- import { M as Move, A as Alg } from './Alg-3d4f29da.js';
1
+ import { M as Move, A as Alg } from './Alg.d-Qi_gM3ue.js';
2
2
 
3
3
  type KPatternData = Record<string, KPatternOrbitData>;
4
4
  interface KPatternOrbitData {
@@ -547,4 +547,4 @@ declare class KPattern {
547
547
  }): boolean;
548
548
  }
549
549
 
550
- export { KPattern as K, Perm as P, Quat as Q, StickerDat as S, getPuzzleGeometryByDesc as a, getPuzzleGeometryByName as b, getPG3DNamedPuzzles as c, PuzzleGeometry as d, StickerDatAxis as e, StickerDatFace as f, getPuzzleDescriptionString as g, StickerDatSticker as h, parseOptions as i, PuzzleGeometryOptions as j, PGNotation as k, PuzzleCutDescription as l, PuzzleDescription as m, PUZZLE_CUT_TYPES as n, PuzzleCutType as o, parsePuzzleDescription as p, PUZZLE_BASE_SHAPES as q, PuzzleBaseShape as r, KPuzzle as s, KTransformation as t, PuzzleDescriptionString as u, KPuzzleDefinition as v, KPatternData as w, KPatternOrbitData as x, KTransformationData as y, KTransformationOrbitData as z };
550
+ export { KPattern as K, Perm as P, Quat as Q, type StickerDat as S, getPuzzleGeometryByDesc as a, getPuzzleGeometryByName as b, getPG3DNamedPuzzles as c, PuzzleGeometry as d, type StickerDatAxis as e, type StickerDatFace as f, getPuzzleDescriptionString as g, type StickerDatSticker as h, parseOptions as i, type PuzzleGeometryOptions as j, PGNotation as k, type PuzzleCutDescription as l, type PuzzleDescription as m, PUZZLE_CUT_TYPES as n, type PuzzleCutType as o, parsePuzzleDescription as p, PUZZLE_BASE_SHAPES as q, type PuzzleBaseShape as r, KPuzzle as s, KTransformation as t, type PuzzleDescriptionString as u, type KPuzzleDefinition as v, type KPatternData as w, type KPatternOrbitData as x, type KTransformationData as y, type KTransformationOrbitData as z };
@@ -1,7 +1,7 @@
1
1
  import { Texture, Object3D, Raycaster, PerspectiveCamera, Scene, WebGLRenderer } from 'three';
2
- import { P as PuzzleSpecificSimplifyOptions, M as Move, A as Alg, e as Pause, h as AppendCancelOptions, b as AlgLeaf, c as AppendOptions, a as AlgNode, I as IterationDirection } from './Alg-3d4f29da.js';
3
- import { P as Parsed } from './parseAlg-f471ffd6.js';
4
- import { s as KPuzzle, d as PuzzleGeometry, K as KPattern, t as KTransformation, u as PuzzleDescriptionString } from './KPattern-9a8ab7ac.js';
2
+ import { P as PuzzleSpecificSimplifyOptions, M as Move, A as Alg, e as Pause, h as AppendCancelOptions, b as AlgLeaf, c as AppendOptions, a as AlgNode, I as IterationDirection } from './Alg.d-Qi_gM3ue.js';
3
+ import { P as Parsed } from './parseAlg.d-LTqyeghV.js';
4
+ import { s as KPuzzle, d as PuzzleGeometry, K as KPattern, t as KTransformation, u as PuzzleDescriptionString } from './KPattern.d-1RSDwKrh.js';
5
5
 
6
6
  type FaceletMeshStickeringMask = "regular" | "dim" | "oriented" | "experimentalOriented2" | "ignored" | "invisible";
7
7
  type FaceletStickeringMask = {
@@ -1361,9 +1361,7 @@ declare class TwizzleLink extends ManagedCustomElement {
1361
1361
  cdnForumTweaks?: boolean | undefined;
1362
1362
  colorScheme?: ColorSchemeWithAuto | undefined;
1363
1363
  } | undefined);
1364
- fallback(): void;
1365
1364
  connectedCallback(): Promise<void>;
1366
- addHeading(text: string, getTextToCopy?: () => Promise<string | null>): HTMLElement;
1367
1365
  }
1368
1366
  declare global {
1369
1367
  interface HTMLElementTagNameMap {
@@ -1371,4 +1369,4 @@ declare global {
1371
1369
  }
1372
1370
  }
1373
1371
 
1374
- export { AlgIndexer as A, BackViewLayout as B, Duration as D, ExperimentalStickering as E, MillisecondTimestamp as M, NO_VALUE as N, PuzzleLoader as P, StickeringMask as S, Timestamp as T, VisualizationFormat as V, PuzzleID as a, TwistyPlayer as b, TwistyAlgViewer as c, TwistyAlgEditor as d, TwistyPlayerConfig as e, backViewLayouts as f, TwizzleLink as g };
1372
+ export { type AlgIndexer as A, type BackViewLayout as B, type Duration as D, type ExperimentalStickering as E, type MillisecondTimestamp as M, NO_VALUE as N, type PuzzleLoader as P, type StickeringMask as S, type Timestamp as T, type VisualizationFormat as V, type PuzzleID as a, TwistyPlayer as b, TwistyAlgViewer as c, TwistyAlgEditor as d, type TwistyPlayerConfig as e, backViewLayouts as f, TwizzleLink as g };
@@ -1,6 +1,6 @@
1
- import { a as AlgNode, A as Alg, M as Move, c as AppendOptions, G as Grouping, C as Commutator, d as Conjugate, e as Pause, N as Newline, L as LineComment, b as AlgLeaf } from '../Alg-3d4f29da.js';
2
- export { g as AlgBranch, h as AppendCancelOptions, f as MoveModifications, P as PuzzleSpecificSimplifyOptions, Q as QuantumMove, S as SimplifyOptions } from '../Alg-3d4f29da.js';
3
- export { P as ExperimentalParsed } from '../parseAlg-f471ffd6.js';
1
+ import { a as AlgNode, A as Alg, M as Move, c as AppendOptions, G as Grouping, C as Commutator, d as Conjugate, e as Pause, N as Newline, L as LineComment, b as AlgLeaf } from '../Alg.d-Qi_gM3ue.js';
2
+ export { g as AlgBranch, h as AppendCancelOptions, f as MoveModifications, P as PuzzleSpecificSimplifyOptions, Q as QuantumMove, S as SimplifyOptions } from '../Alg.d-Qi_gM3ue.js';
3
+ export { P as ExperimentalParsed } from '../parseAlg.d-LTqyeghV.js';
4
4
 
5
5
  /** @deprecated */
6
6
  type Unit = AlgNode;
@@ -80,4 +80,4 @@ declare function setAlgDebug(options: {
80
80
  caretNISSNotationEnabled?: boolean;
81
81
  }): void;
82
82
 
83
- export { Alg, AlgBuilder, AlgCubingNetOptions, AlgLeaf, AlgNode, Commutator, Conjugate, Example, Grouping, LineComment, Move, Newline, Pause, TraversalDownUp, TraversalUp, Unit, experimentalAlgCubingNetLink, experimentalAppendMove, experimentalIs, functionFromTraversal, keyToMove, setAlgDebug };
83
+ export { Alg, AlgBuilder, type AlgCubingNetOptions, AlgLeaf, AlgNode, Commutator, Conjugate, Example, Grouping, LineComment, Move, Newline, Pause, TraversalDownUp, TraversalUp, type Unit, experimentalAlgCubingNetLink, experimentalAppendMove, experimentalIs, functionFromTraversal, keyToMove, setAlgDebug };
@@ -1,7 +1,8 @@
1
- import { K as KPattern } from '../KPattern-9a8ab7ac.js';
2
- import { B as BluetoothPuzzle } from '../bluetooth-puzzle-bb8906fa.js';
3
- export { A as MoveEvent, O as OrientationEvent } from '../bluetooth-puzzle-bb8906fa.js';
4
- import { A as Alg, M as Move } from '../Alg-3d4f29da.js';
1
+ /// <reference types="web-bluetooth" />
2
+ import { K as KPattern } from '../KPattern.d-1RSDwKrh.js';
3
+ import { B as BluetoothPuzzle } from '../bluetooth-puzzle.d-myIXFws0.js';
4
+ export { A as MoveEvent, O as OrientationEvent } from '../bluetooth-puzzle.d-myIXFws0.js';
5
+ import { A as Alg, M as Move } from '../Alg.d-Qi_gM3ue.js';
5
6
 
6
7
  declare function enableDebugLogging(enable: boolean): void;
7
8
 
@@ -153,4 +154,4 @@ type BluetoothTimer = GanTimer;
153
154
  /** @category Timers */
154
155
  declare function connectSmartTimer(options?: BluetoothConnectOptions): Promise<BluetoothTimer>;
155
156
 
156
- export { BluetoothPuzzle, BluetoothRobot, BluetoothTimer, GanCube, GiiKERCube, GoCube, KeyboardPuzzle, connectSmartPuzzle, connectSmartRobot, connectSmartTimer, debugKeyboardConnect, enableDebugLogging };
157
+ export { BluetoothPuzzle, type BluetoothRobot, type BluetoothTimer, GanCube, GiiKERCube, GoCube, KeyboardPuzzle, connectSmartPuzzle, connectSmartRobot, connectSmartTimer, debugKeyboardConnect, enableDebugLogging };
@@ -1,5 +1,6 @@
1
- import { b as AlgLeaf } from './Alg-3d4f29da.js';
2
- import { K as KPattern } from './KPattern-9a8ab7ac.js';
1
+ /// <reference types="web-bluetooth" />
2
+ import { b as AlgLeaf } from './Alg.d-Qi_gM3ue.js';
3
+ import { K as KPattern } from './KPattern.d-1RSDwKrh.js';
3
4
 
4
5
  interface StreamTransformer {
5
6
  transformAlgLeaf(algLeafEvent: AlgLeafEvent): void;
@@ -41,4 +42,4 @@ declare abstract class BluetoothPuzzle extends EventTarget {
41
42
  protected dispatchOrientation(orientationEvent: OrientationEvent): void;
42
43
  }
43
44
 
44
- export { AlgLeafEvent as A, BluetoothPuzzle as B, OrientationEvent as O };
45
+ export { type AlgLeafEvent as A, BluetoothPuzzle as B, type OrientationEvent as O };
@@ -537,7 +537,7 @@ var StatsPanel = class {
537
537
  // src/cubing/twisty/heavy-code-imports/3d.ts
538
538
  var cachedConstructorProxy = null;
539
539
  async function proxy3D() {
540
- return cachedConstructorProxy ??= import("./twisty-dynamic-3d-Z7DZPPGE.js");
540
+ return cachedConstructorProxy ??= import("./twisty-dynamic-3d-3YOX4DSN.js");
541
541
  }
542
542
  var THREEJS = from(
543
543
  async () => (await proxy3D()).T3I
@@ -1164,4 +1164,4 @@ export {
1164
1164
  proxy3D,
1165
1165
  THREEJS
1166
1166
  };
1167
- //# sourceMappingURL=chunk-M65YYSXA.js.map
1167
+ //# sourceMappingURL=chunk-EYGOBNCB.js.map
@@ -3,7 +3,7 @@ import {
3
3
  THREEJS,
4
4
  haveStartedSharingRenderers,
5
5
  hintFaceletStyles
6
- } from "./chunk-M65YYSXA.js";
6
+ } from "./chunk-EYGOBNCB.js";
7
7
  import {
8
8
  cube3x3x3
9
9
  } from "./chunk-6GHNIWHB.js";
@@ -1638,17 +1638,17 @@ var PG3D = class extends Object3D2 {
1638
1638
  }
1639
1639
  if (this.#pendingStickeringUpdate || colormods) {
1640
1640
  if (this.textured) {
1641
- this.fixedGeo.getAttribute("uv").updateRange = {
1642
- offset: 0,
1643
- count: 6 * this.foundationBound
1644
- };
1641
+ this.fixedGeo.getAttribute("uv").addUpdateRange(
1642
+ 0,
1643
+ 6 * this.foundationBound
1644
+ );
1645
1645
  this.fixedGeo.getAttribute("uv").needsUpdate = true;
1646
1646
  }
1647
1647
  if (this.#pendingStickeringUpdate || !this.textured) {
1648
- this.fixedGeo.getAttribute("color").updateRange = {
1649
- offset: 0,
1650
- count: 9 * this.foundationBound
1651
- };
1648
+ this.fixedGeo.getAttribute("color").addUpdateRange(
1649
+ 0,
1650
+ 9 * this.foundationBound
1651
+ );
1652
1652
  this.fixedGeo.getAttribute("color").needsUpdate = true;
1653
1653
  }
1654
1654
  }
@@ -1849,4 +1849,4 @@ export {
1849
1849
  cube3DShim,
1850
1850
  pg3dShim
1851
1851
  };
1852
- //# sourceMappingURL=twisty-dynamic-3d-Z7DZPPGE.js.map
1852
+ //# sourceMappingURL=twisty-dynamic-3d-3YOX4DSN.js.map