@realsee/dnalogel 2.1.0-alpha.19 → 2.1.0-alpha.20

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 (119) hide show
  1. package/components/index.js +10 -11
  2. package/dist/index.cjs.js +38 -38
  3. package/dist/index.es.js +1288 -1288
  4. package/dist/index.js +1288 -1288
  5. package/dist/index.umd.js +31 -31
  6. package/docs/classes/CruisePluginController.html +14 -14
  7. package/docs/classes/Magnifier.html +4 -4
  8. package/docs/classes/ModelRoomLabelController.html +4 -4
  9. package/docs/classes/Object3DHelperController.html +9 -9
  10. package/docs/classes/PaintBrush.html +3 -3
  11. package/docs/classes/PanoTagPluginController.html +23 -23
  12. package/docs/enums/CameraMovementEffect.html +1 -1
  13. package/docs/enums/ContentType.html +7 -7
  14. package/docs/enums/DIRECTION.html +1 -1
  15. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
  16. package/docs/enums/DimensionType.html +1 -1
  17. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
  18. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
  19. package/docs/enums/LinkType.html +1 -1
  20. package/docs/enums/PaintBrushTypeEnum.html +1 -1
  21. package/docs/enums/PointType.html +1 -1
  22. package/docs/enums/Rotation.html +1 -1
  23. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  24. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  25. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  26. package/docs/interfaces/FloorplanBounding.html +3 -3
  27. package/docs/interfaces/FloorplanData.html +1 -1
  28. package/docs/interfaces/FloorplanEntrance.html +6 -6
  29. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  30. package/docs/interfaces/FloorplanExtraObject3D.html +1 -1
  31. package/docs/interfaces/FloorplanFloorData.html +1 -1
  32. package/docs/interfaces/FloorplanImagePosition.html +1 -1
  33. package/docs/interfaces/FloorplanObserver.html +1 -1
  34. package/docs/interfaces/FloorplanOutlineItem.html +1 -1
  35. package/docs/interfaces/FloorplanPosition.html +1 -1
  36. package/docs/interfaces/FloorplanRoomItem.html +5 -5
  37. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  38. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  39. package/docs/interfaces/FloorplanServerComputedData.html +1 -1
  40. package/docs/interfaces/FloorplanServerData.html +1 -1
  41. package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
  42. package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
  43. package/docs/interfaces/FloorplanServerEntrance.html +6 -6
  44. package/docs/interfaces/FloorplanServerFloorData.html +1 -1
  45. package/docs/interfaces/FloorplanServerImagePosition.html +1 -1
  46. package/docs/interfaces/FloorplanServerObserver.html +1 -1
  47. package/docs/interfaces/FloorplanServerOutlineItem.html +1 -1
  48. package/docs/interfaces/FloorplanServerPosition.html +1 -1
  49. package/docs/interfaces/FloorplanServerRoomItem.html +6 -6
  50. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  51. package/docs/interfaces/ItemLabelPluginData.html +1 -1
  52. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
  53. package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
  54. package/docs/interfaces/LineJson.html +1 -1
  55. package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
  56. package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
  57. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
  58. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
  59. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
  60. package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
  61. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
  62. package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
  63. package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
  64. package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
  65. package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
  66. package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
  67. package/docs/interfaces/ModelViewPluginExportType.html +1 -1
  68. package/docs/interfaces/Object3DHelperState.html +1 -1
  69. package/docs/interfaces/OpenParameter.html +1 -1
  70. package/docs/interfaces/PaintBrushAction.html +7 -7
  71. package/docs/interfaces/PaintBrushConfigs.html +1 -1
  72. package/docs/interfaces/PaintBrushState.html +1 -1
  73. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  74. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  75. package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
  76. package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
  77. package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
  78. package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
  79. package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
  80. package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
  81. package/docs/interfaces/PanoRulerProPluginState.html +1 -1
  82. package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
  83. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
  84. package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
  85. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
  86. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
  87. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
  88. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
  89. package/docs/interfaces/Point.html +1 -1
  90. package/docs/interfaces/PointJson.html +1 -1
  91. package/docs/interfaces/Room.html +1 -1
  92. package/docs/interfaces/RoomInfo.html +1 -1
  93. package/docs/interfaces/RoomLabel.html +7 -7
  94. package/docs/interfaces/Scissor.html +4 -4
  95. package/docs/interfaces/TagConfig.html +3 -3
  96. package/docs/interfaces/Tags.html +3 -3
  97. package/docs/modules.html +21 -21
  98. package/libs/PanoTagPlugin/controller/index.js +18 -17
  99. package/libs/components/PaintBrush/tween.d.ts +0 -55
  100. package/libs/components/PaintBrush/tween.js +7 -9
  101. package/package.json +2 -2
  102. package/libs/Object3DHelperPlugin/mocks/addObject3D.d.ts +0 -2
  103. package/libs/Object3DHelperPlugin/mocks/addObject3D.js +0 -1377
  104. package/libs/Object3DHelperPlugin/mocks/objects.d.ts +0 -7
  105. package/libs/Object3DHelperPlugin/mocks/objects.js +0 -47
  106. package/libs/PanoTagPlugin/mocks/mock1.d.ts +0 -168
  107. package/libs/PanoTagPlugin/mocks/mock1.js +0 -123
  108. package/libs/PanoTagPlugin/mocks/mock2.d.ts +0 -233
  109. package/libs/PanoTagPlugin/mocks/mock2.js +0 -296
  110. package/libs/PanoTagPlugin/mocks/mock3.d.ts +0 -22
  111. package/libs/PanoTagPlugin/mocks/mock3.js +0 -32
  112. package/libs/PanoTagPlugin/mocks/mock4.d.ts +0 -56
  113. package/libs/PanoTagPlugin/mocks/mock4.js +0 -60
  114. package/libs/PanoTagPlugin/mocks/mock5.d.ts +0 -13
  115. package/libs/PanoTagPlugin/mocks/mock5.js +0 -17
  116. package/libs/PanoTagPlugin/mocks/mock6.d.ts +0 -16
  117. package/libs/PanoTagPlugin/mocks/mock6.js +0 -27
  118. package/libs/PanoTagPlugin/mocks/mock7.d.ts +0 -22
  119. package/libs/PanoTagPlugin/mocks/mock7.js +0 -228
@@ -1,13 +1,13 @@
1
1
  var j = Object.defineProperty;
2
2
  var M = (o, n, t) => n in o ? j(o, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[n] = t;
3
3
  var g = (o, n, t) => (M(o, typeof n != "symbol" ? n + "" : n, t), t);
4
- import U from "@tweenjs/tween.js";
5
- function W() {
4
+ import { Tween as W, Easing as $ } from "@tweenjs/tween.js";
5
+ function U() {
6
6
  }
7
7
  const S = () => Promise.resolve(), k = {
8
8
  __queue: Promise.resolve()
9
9
  };
10
- function $(o = S) {
10
+ function q(o = S) {
11
11
  k.__queue = k.__queue.then(o).catch(S);
12
12
  }
13
13
  function b(o, n, t) {
@@ -27,20 +27,19 @@ function B(o) {
27
27
  };
28
28
  return { control: t, end: e };
29
29
  }
30
- function q(o, n, t = W) {
30
+ function O(o, n, t = U) {
31
31
  new Promise((e) => {
32
32
  setTimeout(() => {
33
33
  t(), e(!0);
34
34
  }, n * o);
35
35
  });
36
36
  }
37
- const O = window, H = window.requestAnimationFrame || O.webkitRequestAnimationFrame || ((o) => setTimeout(o, 16));
37
+ const I = window, H = window.requestAnimationFrame || I.webkitRequestAnimationFrame || ((o) => setTimeout(o, 16));
38
38
  function D(o, n = 0) {
39
39
  n <= 0 ? H(o) : H(() => D(o, n - 1));
40
40
  }
41
- const I = U.Easing;
42
- function A(o, n, t, e = I.Linear.None) {
43
- const s = new U.Tween(o).to(n, t).easing(e).start();
41
+ function A(o, n, t, e = $.Linear.None) {
42
+ const s = new W(o).to(n, t).easing(e).start();
44
43
  function i(c) {
45
44
  !s.update(c) || requestAnimationFrame(i);
46
45
  }
@@ -408,7 +407,7 @@ class X extends P {
408
407
  timestamp: s,
409
408
  end: r === c - 1
410
409
  };
411
- q(r, 20, () => {
410
+ O(r, 20, () => {
412
411
  this.emit("stateChange", l, e);
413
412
  });
414
413
  }
@@ -436,8 +435,8 @@ class X extends P {
436
435
  break;
437
436
  }
438
437
  }
439
- handleDrawLine(t, e, { withUndo: s = !1 }, i = W) {
440
- !e || Object.prototype.toString.call(e) != "[object Object]" || Object.keys(e).length === 0 || (console.log("handleDrawLine", e, e.line), $(() => new Promise((c) => {
438
+ handleDrawLine(t, e, { withUndo: s = !1 }, i = U) {
439
+ !e || Object.prototype.toString.call(e) != "[object Object]" || Object.keys(e).length === 0 || (console.log("handleDrawLine", e, e.line), q(() => new Promise((c) => {
441
440
  if (s || (this.canvas[t] || (this.canvas[t] = this.initCanvas("_paintBrush-canvas--sync")), this.data[t] || (this.data[t] = []), this.data[t].push(e)), !this.canvas[t])
442
441
  return;
443
442
  const r = this.canvas[t].getContext("2d");