@inweb/viewer-three 25.6.7 → 25.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (C) 2002-2021, Open Design Alliance (the "Alliance").
1
+ Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
2
2
  All rights reserved.
3
3
 
4
4
  This software and its documentation and related materials are owned by
@@ -13,7 +13,7 @@ with their copyright notices:
13
13
 
14
14
  This application incorporates Open Design Alliance software pursuant to a
15
15
  license agreement with Open Design Alliance.
16
- Open Design Alliance Copyright (C) 2002-2021 by Open Design Alliance.
16
+ Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
17
17
  All rights reserved.
18
18
 
19
19
  By use of this software, its documentation or related materials, you
@@ -369,6 +369,15 @@
369
369
 
370
370
  const CANVAS_EVENTS = CanvasEvents;
371
371
 
372
+ class Dragger {
373
+ constructor(viewer) {
374
+ this.name = "";
375
+ }
376
+ initialize() {}
377
+ dispose() {}
378
+ updatePreview() {}
379
+ }
380
+
372
381
  class EventEmitter2 {
373
382
  constructor() {
374
383
  this._listeners = {};
@@ -400,11 +409,11 @@
400
409
  off(type, listener) {
401
410
  return this.removeEventListener(type, listener);
402
411
  }
403
- emit(event, ...args) {
404
- if (typeof event === "string") return this.emitEvent({
405
- type: event,
412
+ emit(type, ...args) {
413
+ if (typeof type === "string") return this.emitEvent({
414
+ type: type,
406
415
  args: args
407
- }); else if (typeof event === "object") return this.emitEvent(event); else return false;
416
+ }); else if (typeof type === "object") return this.emitEvent(type); else return false;
408
417
  }
409
418
  }
410
419
 
@@ -42537,7 +42546,7 @@
42537
42546
  }
42538
42547
 
42539
42548
  ///////////////////////////////////////////////////////////////////////////////
42540
- // Copyright (C) 2002-2023, Open Design Alliance (the "Alliance").
42549
+ // Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
42541
42550
  // All rights reserved.
42542
42551
  //
42543
42552
  // This software and its documentation and related materials are owned by
@@ -42552,7 +42561,7 @@
42552
42561
  //
42553
42562
  // This application incorporates Open Design Alliance software pursuant to a
42554
42563
  // license agreement with Open Design Alliance.
42555
- // Open Design Alliance Copyright (C) 2002-2021 by Open Design Alliance.
42564
+ // Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
42556
42565
  // All rights reserved.
42557
42566
  //
42558
42567
  // By use of this software, its documentation or related materials, you
@@ -42580,7 +42589,7 @@
42580
42589
  }
42581
42590
 
42582
42591
  ///////////////////////////////////////////////////////////////////////////////
42583
- // Copyright (C) 2002-2023, Open Design Alliance (the "Alliance").
42592
+ // Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
42584
42593
  // All rights reserved.
42585
42594
  //
42586
42595
  // This software and its documentation and related materials are owned by
@@ -42595,7 +42604,7 @@
42595
42604
  //
42596
42605
  // This application incorporates Open Design Alliance software pursuant to a
42597
42606
  // license agreement with Open Design Alliance.
42598
- // Open Design Alliance Copyright (C) 2002-2021 by Open Design Alliance.
42607
+ // Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
42599
42608
  // All rights reserved.
42600
42609
  //
42601
42610
  // By use of this software, its documentation or related materials, you
@@ -42852,6 +42861,7 @@
42852
42861
 
42853
42862
  exports.CANVAS_EVENTS = CANVAS_EVENTS;
42854
42863
  exports.CanvasEvents = CanvasEvents;
42864
+ exports.Dragger = Dragger;
42855
42865
  exports.Options = Options;
42856
42866
  exports.Viewer = Viewer;
42857
42867
  exports.commands = commands;