@realsee/dnalogel 2.2.5-alpha.0 → 2.2.6

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 (276) hide show
  1. package/dist/CSS3DRenderPlugin/CSS3DRender.d.ts +34 -47
  2. package/dist/CSS3DRenderPlugin/Controller.d.ts +5 -5
  3. package/dist/CSS3DRenderPlugin/index.d.ts +1 -2
  4. package/dist/CSS3DRenderPlugin/utils/{three/CSS3DObject.d.ts → CSS3DObjectPlus.d.ts} +11 -25
  5. package/dist/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  6. package/dist/CSS3DRenderPlugin/utils/index.d.ts +1 -1
  7. package/dist/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
  8. package/dist/Object3DHelperPlugin/Controller.d.ts +0 -2
  9. package/dist/index.cjs.js +46 -46
  10. package/dist/index.js +4897 -5028
  11. package/dist/index.umd.js +38 -38
  12. package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
  13. package/dist/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
  14. package/docs/assets/highlight.css +0 -7
  15. package/docs/assets/search.js +1 -1
  16. package/docs/classes/CruisePluginController.html +24 -24
  17. package/docs/classes/Magnifier.html +16 -16
  18. package/docs/classes/ModelRoomLabelController.html +11 -11
  19. package/docs/classes/Object3DHelperController.html +24 -24
  20. package/docs/classes/PaintBrush.html +15 -15
  21. package/docs/classes/PanoTagPluginController.html +39 -39
  22. package/docs/classes/Util.BetterTween.html +8 -8
  23. package/docs/classes/Util.FivePointSelector.html +12 -12
  24. package/docs/classes/Util.Interval.html +12 -12
  25. package/docs/classes/Util.Magnifier.html +17 -17
  26. package/docs/classes/Util.PointDomHelper.html +11 -11
  27. package/docs/classes/Util.PointHelper.html +11 -11
  28. package/docs/classes/Util.Rectangle.html +13 -13
  29. package/docs/enums/CameraMovementEffect.html +7 -7
  30. package/docs/enums/ContentType.html +12 -12
  31. package/docs/enums/DIRECTION.html +9 -9
  32. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  33. package/docs/enums/DimensionType.html +7 -7
  34. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  35. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  36. package/docs/enums/LinkType.html +7 -7
  37. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  38. package/docs/enums/PointType.html +7 -7
  39. package/docs/enums/Rotation.html +8 -8
  40. package/docs/functions/CSS3DRenderPlugin.html +5 -6
  41. package/docs/functions/CameraMovementPlugin.html +5 -6
  42. package/docs/functions/CruisePlugin.html +5 -6
  43. package/docs/functions/GuideLinePlugin.html +6 -7
  44. package/docs/functions/ItemLabelPlugin.html +5 -6
  45. package/docs/functions/MapviewFloorplanPlugin.html +5 -6
  46. package/docs/functions/ModelChassisCompassPlugin.html +5 -6
  47. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -6
  48. package/docs/functions/ModelFloorplanPlugin.html +5 -6
  49. package/docs/functions/ModelItemLabelPlugin.html +5 -6
  50. package/docs/functions/ModelRoomLabelPlugin.html +5 -6
  51. package/docs/functions/ModelTVVideoPlugin.html +5 -6
  52. package/docs/functions/ModelViewPlugin.html +5 -6
  53. package/docs/functions/Object3DHelperPlugin.html +5 -6
  54. package/docs/functions/PanoCompassPlugin.html +5 -6
  55. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -6
  56. package/docs/functions/PanoDoorLabelPlugin.html +5 -6
  57. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -6
  58. package/docs/functions/PanoMeasurePlugin.html +5 -6
  59. package/docs/functions/PanoRulerPlugin.html +5 -6
  60. package/docs/functions/PanoRulerProPlugin.html +5 -6
  61. package/docs/functions/PanoSpatialTagPlugin.html +5 -6
  62. package/docs/functions/PanoTagPlugin.html +5 -6
  63. package/docs/functions/TopviewFloorplanPlugin.html +5 -6
  64. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  65. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  66. package/docs/functions/Util.getFrameTime.html +5 -5
  67. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  68. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  69. package/docs/functions/Util.isNil.html +5 -5
  70. package/docs/functions/Util.nextFrame.html +5 -5
  71. package/docs/functions/Util.notNil.html +5 -5
  72. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  73. package/docs/functions/Util.tweenProgress.html +5 -5
  74. package/docs/functions/pluginFlag.html +6 -7
  75. package/docs/index.html +5 -6
  76. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  77. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  78. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  79. package/docs/interfaces/ContentTypeMap.html +12 -12
  80. package/docs/interfaces/FloorplanBounding.html +8 -8
  81. package/docs/interfaces/FloorplanData.html +10 -10
  82. package/docs/interfaces/FloorplanEntrance.html +11 -11
  83. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  84. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  85. package/docs/interfaces/FloorplanFloorData.html +9 -9
  86. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  87. package/docs/interfaces/FloorplanObserver.html +9 -9
  88. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  89. package/docs/interfaces/FloorplanPosition.html +7 -7
  90. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  91. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  92. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  93. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  94. package/docs/interfaces/FloorplanServerData.html +7 -7
  95. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  96. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  97. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  98. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  99. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  100. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  101. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  102. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  103. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  104. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  105. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  106. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  107. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  108. package/docs/interfaces/LineJson.html +7 -7
  109. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  110. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  111. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  112. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  113. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  114. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  115. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  116. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  117. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  118. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  119. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  120. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  121. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  122. package/docs/interfaces/Object3DHelperState.html +8 -8
  123. package/docs/interfaces/OpenParameter.html +7 -7
  124. package/docs/interfaces/PaintBrushAction.html +12 -12
  125. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  126. package/docs/interfaces/PaintBrushState.html +10 -10
  127. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  128. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -7
  129. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  130. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  131. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  132. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  133. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  134. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  135. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  136. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  137. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -7
  138. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -7
  139. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  140. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  141. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  142. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  143. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  144. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  145. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  146. package/docs/interfaces/Point.html +8 -8
  147. package/docs/interfaces/PointJson.html +8 -8
  148. package/docs/interfaces/Room.html +9 -9
  149. package/docs/interfaces/RoomInfo.html +7 -7
  150. package/docs/interfaces/RoomLabel.html +14 -14
  151. package/docs/interfaces/RoomRules.html +6 -7
  152. package/docs/interfaces/Rooms.html +6 -7
  153. package/docs/interfaces/Scissor.html +9 -9
  154. package/docs/interfaces/TagConfig.html +10 -10
  155. package/docs/interfaces/Tags.html +9 -9
  156. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  157. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  158. package/docs/modules/Util.html +5 -5
  159. package/docs/modules.html +5 -7
  160. package/docs/types/ArrayPosition.html +6 -7
  161. package/docs/types/CSS3DRenderExportType.html +7 -8
  162. package/docs/types/CSS3DRenderPluginExportType.html +6 -7
  163. package/docs/types/CSS3DRenderPluginParameterType.html +6 -7
  164. package/docs/types/Color.html +6 -7
  165. package/docs/types/ContentTypeConfigKey.html +6 -7
  166. package/docs/types/ContentTypeConfigKeyArray.html +6 -7
  167. package/docs/types/Create3DDomContainerReturnType.html +6 -7
  168. package/docs/types/Create3DElementReturnType.html +7 -8
  169. package/docs/types/CruisePluginExportType.html +6 -7
  170. package/docs/types/Direction-1.html +6 -7
  171. package/docs/types/Direction4.html +6 -7
  172. package/docs/types/FloorplanRuleLabels.html +6 -7
  173. package/docs/types/FloorplanServerRuleLabels.html +6 -7
  174. package/docs/types/GuideLinePluginExportType.html +6 -7
  175. package/docs/types/HelperEventMap.html +6 -7
  176. package/docs/types/MapviewFloorplanPluginParameterType.html +6 -7
  177. package/docs/types/MapviewFloorplanPluginReturnType.html +6 -7
  178. package/docs/types/MediaData.html +6 -7
  179. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -8
  180. package/docs/types/ModelFloorplanPluginParameterType.html +6 -7
  181. package/docs/types/ModelFloorplanPluginReturnType.html +6 -7
  182. package/docs/types/ModelRoomLabelPluginParameters.html +6 -7
  183. package/docs/types/ModelRoomLabelPluginReturnType.html +6 -7
  184. package/docs/types/MoveArgs.html +6 -7
  185. package/docs/types/MoveOpts.html +6 -7
  186. package/docs/types/Object3DHelperEventMap.html +6 -7
  187. package/docs/types/ObjectFit.html +6 -7
  188. package/docs/types/PaintBrushEventMap.html +6 -7
  189. package/docs/types/PanoCompassPluginData.html +6 -7
  190. package/docs/types/PanoCompassPluginExportType.html +6 -7
  191. package/docs/types/PanoCompassPluginParameterType.html +6 -7
  192. package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -7
  193. package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -7
  194. package/docs/types/PanoMeasurePluginEvent.html +6 -7
  195. package/docs/types/PanoMeasureReturnType.html +6 -7
  196. package/docs/types/PanoSpatialTagPluginId.html +6 -7
  197. package/docs/types/PanoTagPluginExportInterface.html +6 -7
  198. package/docs/types/PanoTagPluginParamsInterface.html +6 -7
  199. package/docs/types/PlaneTag.html +6 -7
  200. package/docs/types/PointTag.html +6 -7
  201. package/docs/types/Position.html +6 -7
  202. package/docs/types/RotateArgs.html +6 -7
  203. package/docs/types/RotateOpts.html +6 -7
  204. package/docs/types/RuleLabelsKey.html +6 -7
  205. package/docs/types/RuleLabelsValue.html +6 -7
  206. package/docs/types/Tag.html +6 -7
  207. package/docs/types/Tag2D.html +6 -7
  208. package/docs/types/Tag3D.html +6 -7
  209. package/docs/types/TagId.html +6 -7
  210. package/docs/types/TopviewFloorplanPluginParameterType.html +6 -7
  211. package/docs/types/TopviewFloorplanPluginReturnType.html +6 -7
  212. package/docs/variables/FLOOR_TYPE_MAP.html +6 -7
  213. package/docs/variables/PLUGIN.html +6 -7
  214. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -7
  215. package/docs/variables/ROOM_TYPE_MAP.html +6 -7
  216. package/docs/variables/VERSION.html +6 -7
  217. package/docs/variables/itemLabelPluginServerParams.html +6 -7
  218. package/docs/variables/modelItemLabelPluginServerParams.html +6 -7
  219. package/docs/variables/modelRoomLabelPluginServerParams.html +6 -7
  220. package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +34 -47
  221. package/libs/CSS3DRenderPlugin/CSS3DRender.js +251 -187
  222. package/libs/CSS3DRenderPlugin/Controller.d.ts +5 -5
  223. package/libs/CSS3DRenderPlugin/Controller.js +57 -48
  224. package/libs/CSS3DRenderPlugin/index.d.ts +1 -2
  225. package/libs/CSS3DRenderPlugin/index.js +2 -3
  226. package/libs/CSS3DRenderPlugin/utils/{three/CSS3DObject.d.ts → CSS3DObjectPlus.d.ts} +11 -25
  227. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +65 -0
  228. package/libs/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  229. package/libs/CSS3DRenderPlugin/utils/evenNumber.js +7 -0
  230. package/libs/CSS3DRenderPlugin/utils/index.d.ts +1 -1
  231. package/libs/CruisePlugin/Controller.js +16 -16
  232. package/libs/ModelChassisCompassPlugin/Plugin.js +1 -1
  233. package/libs/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
  234. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +42 -39
  235. package/libs/ModelTVVideoPlugin/index.js +1 -2
  236. package/libs/Object3DHelperPlugin/Controller.d.ts +0 -2
  237. package/libs/Object3DHelperPlugin/Controller.js +74 -89
  238. package/libs/PanoSpatialTagPlugin/index.js +1 -2
  239. package/libs/index.js +98 -107
  240. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -1
  241. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +7 -8
  242. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
  243. package/libs/shared-utils/Object3DHelper/Helper/index.js +0 -1
  244. package/libs/shared-utils/three/index.js +1 -2
  245. package/libs/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
  246. package/libs/shared-utils/three/{transfromToMeshBasicMaterial.js → transformToMeshBasicMaterial.js} +0 -0
  247. package/package.json +14 -15
  248. package/dist/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -4
  249. package/dist/CSS3DRenderPlugin/utils/even.d.ts +0 -9
  250. package/dist/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +0 -2
  251. package/dist/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +0 -3
  252. package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +0 -12
  253. package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +0 -14
  254. package/dist/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +0 -12
  255. package/dist/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +0 -6
  256. package/dist/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +0 -2
  257. package/docs/classes/CSS3DRender.html +0 -533
  258. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -4
  259. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +0 -22
  260. package/libs/CSS3DRenderPlugin/utils/even.d.ts +0 -9
  261. package/libs/CSS3DRenderPlugin/utils/even.js +0 -7
  262. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +0 -2
  263. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +0 -29
  264. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +0 -3
  265. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +0 -9
  266. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +0 -12
  267. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +0 -39
  268. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +0 -93
  269. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +0 -14
  270. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +0 -46
  271. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +0 -12
  272. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +0 -39
  273. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +0 -6
  274. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +0 -18
  275. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +0 -2
  276. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +0 -31
@@ -1,66 +1,61 @@
1
- var O = Object.defineProperty;
2
- var w = Object.getOwnPropertySymbols;
3
- var M = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
4
- var m = (i, s, e) => s in i ? O(i, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[s] = e, b = (i, s) => {
1
+ var E = Object.defineProperty;
2
+ var S = Object.getOwnPropertySymbols;
3
+ var M = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
4
+ var b = (i, s, e) => s in i ? E(i, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[s] = e, f = (i, s) => {
5
5
  for (var e in s || (s = {}))
6
- M.call(s, e) && m(i, e, s[e]);
7
- if (w)
8
- for (var e of w(s))
9
- E.call(s, e) && m(i, e, s[e]);
6
+ M.call(s, e) && b(i, e, s[e]);
7
+ if (S)
8
+ for (var e of S(s))
9
+ O.call(s, e) && b(i, e, s[e]);
10
10
  return i;
11
11
  };
12
- var d = (i, s, e) => (m(i, typeof s != "symbol" ? s + "" : s, e), e);
13
- var u = (i, s, e) => new Promise((r, t) => {
14
- var l = (n) => {
12
+ var h = (i, s, e) => (b(i, typeof s != "symbol" ? s + "" : s, e), e);
13
+ var u = (i, s, e) => new Promise((t, r) => {
14
+ var l = (o) => {
15
15
  try {
16
- p(e.next(n));
17
- } catch (h) {
18
- t(h);
16
+ a(e.next(o));
17
+ } catch (p) {
18
+ r(p);
19
19
  }
20
- }, c = (n) => {
20
+ }, c = (o) => {
21
21
  try {
22
- p(e.throw(n));
23
- } catch (h) {
24
- t(h);
22
+ a(e.throw(o));
23
+ } catch (p) {
24
+ r(p);
25
25
  }
26
- }, p = (n) => n.done ? r(n.value) : Promise.resolve(n.value).then(l, c);
27
- p((e = e.apply(i, s)).next());
26
+ }, a = (o) => o.done ? t(o.value) : Promise.resolve(o.value).then(l, c);
27
+ a((e = e.apply(i, s)).next());
28
28
  });
29
- import { Controller as R } from "../base/BasePlugin.js";
29
+ import { Controller as D } from "../base/BasePlugin.js";
30
30
  import "three";
31
- import { MoveHelper as j } from "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
32
- import { RotateHelper as P } from "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
33
- import { RectangleScaleHelper as y } from "../shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js";
31
+ import { MoveHelper as y } from "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
32
+ import { RotateHelper as I } from "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
33
+ import { RectangleScaleHelper as k } from "../shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js";
34
34
  import "../shared-utils/Object3DHelper/Helper/OutlineHelper.js";
35
35
  import { MoveController as F } from "../shared-utils/Object3DHelper/Controller/MoveController.js";
36
- import { ControllerWrapper as v } from "./FiveControllerWrapper.js";
37
- import { Object3DHelper as I } from "../shared-utils/Object3DHelper/index.js";
38
- import { RotateController as k } from "../shared-utils/Object3DHelper/Controller/RotateController.js";
39
- import { CSS3DScaleController as B } from "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
40
- import { CSS3DRender as L } from "../CSS3DRenderPlugin/CSS3DRender.js";
41
- import { fiveModelLoaded as $ } from "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
42
- import { generateBehindFiveElement as W } from "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
43
- const g = "v1.0.0", H = "Object3DHelperPlugin", C = `${H}@${g}`, _ = () => {
44
- console.error(`${C} is disposed`);
45
- }, G = () => {
46
- console.warn(`${C} is disabled`);
47
- }, N = () => {
48
- console.error(`${C} is disabled`);
36
+ import { ControllerWrapper as m } from "./FiveControllerWrapper.js";
37
+ import { Object3DHelper as P } from "../shared-utils/Object3DHelper/index.js";
38
+ import { RotateController as $ } from "../shared-utils/Object3DHelper/Controller/RotateController.js";
39
+ import { CSS3DScaleController as j } from "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
40
+ const g = "v1.0.0", v = "Object3DHelperPlugin", H = `${v}@${g}`, L = () => {
41
+ console.error(`${H} is disposed`);
42
+ }, _ = () => {
43
+ console.warn(`${H} is disabled`);
44
+ }, B = () => {
45
+ console.error(`${H} is disabled`);
49
46
  };
50
- class re extends R {
47
+ class K extends D {
51
48
  constructor(e) {
52
49
  super(e);
53
- d(this, "version", g);
54
- d(this, "name", H);
55
- d(this, "state", {
50
+ h(this, "version", g);
51
+ h(this, "name", v);
52
+ h(this, "state", {
56
53
  visible: !0,
57
54
  enabled: !0,
58
55
  disposed: !1
59
56
  });
60
- d(this, "objectHelperMap", /* @__PURE__ */ new Map());
61
- d(this, "css3DObjectParentMap", /* @__PURE__ */ new Map());
62
- d(this, "css3DRender");
63
- this.five = e, this.css3DRender = new L(this.five.scene), console.warn("Object3DHelper: \u4F7F\u7528\u6B64\u63D2\u4EF6\u9700\u8981\u5728\u521D\u59CB\u5316five\u65F6\uFF0C\u8BBE\u7F6Efive\u53C2\u6570: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${H.toUpperCase()}_DEBUG__`]: this });
57
+ h(this, "objectHelperMap", /* @__PURE__ */ new Map());
58
+ this.five = e, console.warn("Object3DHelper: \u4F7F\u7528\u6B64\u63D2\u4EF6\u9700\u8981\u5728\u521D\u59CB\u5316five\u65F6\uFF0C\u8BBE\u7F6Efive\u53C2\u6570: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${v.toUpperCase()}_DEBUG__`]: this });
64
59
  }
65
60
  show(e) {
66
61
  return u(this, null, function* () {
@@ -81,80 +76,70 @@ class re extends R {
81
76
  dispose() {
82
77
  this.setState({ disposed: !0 });
83
78
  }
84
- setState(e, r) {
79
+ setState(e, t) {
85
80
  if (this.state.disposed)
86
- return _();
81
+ return L();
87
82
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
88
- return N();
89
- const t = b({}, this.state);
90
- this.state = b(b({}, this.state), e), e.disposed !== void 0 && e.disposed !== t.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== t.visible && this.handleVisible(e.visible), e.enabled !== void 0 && e.enabled !== t.enabled && this.handleEnable(e.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: t });
83
+ return B();
84
+ const r = f({}, this.state);
85
+ this.state = f(f({}, this.state), e), e.disposed !== void 0 && e.disposed !== r.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== r.visible && this.handleVisible(e.visible), e.enabled !== void 0 && e.enabled !== r.enabled && this.handleEnable(e.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: r });
91
86
  }
92
87
  getObject3DHelper(e) {
93
88
  return this.objectHelperMap.get(e);
94
89
  }
95
- addObject3DHelper(e, r = {}) {
96
- var S;
90
+ addObject3DHelper(e, t = {}) {
91
+ var C;
97
92
  if (!e)
98
93
  return console.error("Object3D is undefined");
99
94
  if (this.objectHelperMap.has(e)) {
100
95
  console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
101
96
  return;
102
97
  }
103
- const t = new I();
104
- this.objectHelperMap.set(e, t);
105
- const l = (S = this.five.getElement()) == null ? void 0 : S.parentElement, c = this.five.camera, { moveHelper: p = !0, rotateHelper: n = !0, scaleHelper: h = !0 } = r;
106
- if (p) {
107
- const o = new j(e), a = new v(this.five, F, e, o);
108
- t.addControllers({ moveController: a.helperController });
98
+ const r = new P();
99
+ this.objectHelperMap.set(e, r);
100
+ const l = (C = this.five.getElement()) == null ? void 0 : C.parentElement, c = this.five.camera, { moveHelper: a = !0, rotateHelper: o = !0, scaleHelper: p = !0 } = t;
101
+ if (a) {
102
+ const n = new y(e), d = new m(this.five, F, e, n);
103
+ r.addControllers({ moveController: d.helperController });
109
104
  }
110
- if (n) {
111
- let o;
112
- l && c && (o = { container: l });
113
- const a = new P(e, o), f = new v(this.five, k, e, a);
114
- t.addControllers({ rotateController: f.helperController });
105
+ if (o) {
106
+ let n;
107
+ l && c && (n = { container: l });
108
+ const d = new I(e, n), w = new m(this.five, $, e, d);
109
+ r.addControllers({ rotateController: w.helperController });
115
110
  }
116
- if (h && l) {
117
- const o = new y(e, l, c, this.five.scene), a = new v(this.five, B, e, o);
118
- t.addControllers({ scaleController: a.helperController });
111
+ if (p && l) {
112
+ const n = new k(e, l, c, this.five.scene), d = new m(this.five, j, e, n);
113
+ r.addControllers({ scaleController: d.helperController });
119
114
  }
120
- e.isCSS3DObjectPlus && $(this.five).then(() => {
121
- var f, D;
122
- const o = e, a = (f = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? f : W(this.five);
123
- a && (this.css3DObjectParentMap.set(o, o.parent), o.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(a), (D = this.css3DRender.getBehindCSS3DObjectGroup()) == null || D.add(o), this.css3DRender.render(this.five.camera));
124
- });
115
+ e.isCSS3DObjectPlus && e.changeMode("behind", this.five.scene);
125
116
  }
126
117
  removeObject3DHelper(e) {
127
- const r = this.objectHelperMap.get(e);
128
- if (!!r) {
129
- if (e.isCSS3DObjectPlus) {
130
- const t = e, l = this.css3DObjectParentMap.get(t);
131
- l == null || l.add(t), this.css3DRender.render(this.five.camera);
132
- }
133
- this.objectHelperMap.delete(e), r.dispose();
134
- }
118
+ const t = this.objectHelperMap.get(e);
119
+ !t || (e.isCSS3DObjectPlus && e.changeMode("front"), this.objectHelperMap.delete(e), t.dispose());
135
120
  }
136
- handleEnable(e, r = !0) {
137
- e ? (this.everyHelperDo((t) => t.enable()), this.hooks.emit("enable", { userAction: r })) : (this.everyHelperDo((t) => t.disable()), this.hooks.emit("disable", { userAction: r })), this.state.enabled = e;
121
+ handleEnable(e, t = !0) {
122
+ e ? (this.everyHelperDo((r) => r.enable()), this.hooks.emit("enable", { userAction: t })) : (this.everyHelperDo((r) => r.disable()), this.hooks.emit("disable", { userAction: t })), this.state.enabled = e;
138
123
  }
139
- handleVisible(e, r = !0) {
140
- e ? (this.everyHelperDo((t) => t.show()), this.actionIfStateIsEnabled(() => this.hooks.emit("show", { userAction: r }))) : (this.everyHelperDo((t) => t.hide()), this.actionIfStateIsEnabled(() => this.hooks.emit("hide", { userAction: r }))), this.state.visible = e;
124
+ handleVisible(e, t = !0) {
125
+ e ? (this.everyHelperDo((r) => r.show()), this.actionIfStateIsEnabled(() => this.hooks.emit("show", { userAction: t }))) : (this.everyHelperDo((r) => r.hide()), this.actionIfStateIsEnabled(() => this.hooks.emit("hide", { userAction: t }))), this.state.visible = e;
141
126
  }
142
127
  handleDispose() {
143
128
  this.everyHelperDo((e) => e.dispose());
144
129
  }
145
130
  everyHelperDo(e) {
146
- this.objectHelperMap.forEach((r) => {
147
- r && e(r);
131
+ this.objectHelperMap.forEach((t) => {
132
+ t && e(t);
148
133
  });
149
134
  }
150
- actionIfStateIsEnabled(e, r) {
135
+ actionIfStateIsEnabled(e, t) {
151
136
  if (this.state.enabled)
152
137
  return e();
153
- r != null && r.warnLog && G();
138
+ t != null && t.warnLog && _();
154
139
  }
155
140
  }
156
141
  export {
157
- re as Object3DHelperController,
158
- C as PLUGIN,
142
+ K as Object3DHelperController,
143
+ H as PLUGIN,
159
144
  g as VERSION
160
145
  };
@@ -1,5 +1,4 @@
1
1
  import "three";
2
2
  import "@realsee/five";
3
- import "../CSS3DRenderPlugin/CSS3DRender.js";
4
- import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
3
+ import "three/examples/jsm/renderers/CSS3DRenderer";
5
4
  import "../vendor/svelte/internal/index.js";
package/libs/index.js CHANGED
@@ -1,44 +1,43 @@
1
- import { PaintBrush as Jm } from "./components/PaintBrush/index.js";
2
- import { PaintBrushTypeEnum as Qm } from "./components/PaintBrush/typings.js";
3
- import { ModelViewPlugin as Xm } from "./ModelViewPlugin/Plugin.js";
4
- import { CSS3DRenderPlugin as $m } from "./CSS3DRenderPlugin/index.js";
5
- import { PanoCursorRaycasterPlugin as rp } from "./PanoCursorRaycasterPlugin/index.js";
6
- import { ModelRoomLabelPlugin as mp, modelRoomLabelPluginServerParams as pp } from "./ModelRoomLabelPlugin/index.js";
7
- import { FLOOR_PLAN_ATTACHED_TO as ep } from "./floorplan/constant.js";
8
- import { ModelFloorplanPlugin as np } from "./floorplan/ModelFloorplanPlugin/index.js";
9
- import { MapviewFloorplanPlugin as ap } from "./floorplan/MapviewFloorplanPlugin/index.js";
10
- import { TopviewFloorplanPlugin as up } from "./floorplan/TopviewFloorplanPlugin/index.js";
11
- import { PanoFloorplanRadarPlugin as gp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
12
- import { FLOOR_TYPE_MAP as sp, ROOM_FETILE_TYPE_MAP as Lp, ROOM_TYPE_MAP as Mp } from "./floorplan/typings/floorplanServerData.js";
13
- import { ModelChassisCompassPlugin as Rp } from "./ModelChassisCompassPlugin/Plugin.js";
14
- import { ModelEntryDoorGuidePlugin as dp } from "./ModelEntryDoorGuidePlugin/Plugin.js";
15
- import { CameraMovementPlugin as Op } from "./CameraMovementPlugin/CameraMovementPlugin.js";
16
- import { CameraMovementEffect as Ip, Rotation as Ap } from "./CameraMovementPlugin/typing.js";
17
- import { PanoRulerPlugin as bp } from "./PanoRulerPlugin/Plugin.js";
18
- import { PanoRulerProPlugin as Fp } from "./PanoRulerProPlugin/index.js";
19
- import { PanoCompassPlugin as yp } from "./PanoCompassPlugin/index.js";
20
- import { PanoMeasurePlugin as Np } from "./PanoMeasurePlugin/index.js";
21
- import { PanoSpatialTagPlugin as Vp } from "./PanoSpatialTagPlugin/Plugin.js";
22
- import { modelItemLabelPluginServerParams as wp } from "./ModelItemLabelPlugin/index.js";
23
- import { ModelTVVideoPlugin as Hp } from "./ModelTVVideoPlugin/Plugin.js";
24
- import { DIRECTION as jp } from "./ModelTVVideoPlugin/typings.js";
25
- import { itemLabelPluginServerParams as qp } from "./ItemLabelPlugin/index.js";
26
- import { PanoDoorLabelPlugin as Jp } from "./PanoDoorLabelPlugin/index.js";
27
- import { GuideLinePlugin as Qp } from "./GuideLinePlugin/index.js";
28
- import { CruisePlugin as Xp } from "./CruisePlugin/index.js";
29
- import { PanoTagPlugin as $p } from "./PanoTagPlugin/index.js";
30
- import { Object3DHelperPlugin as ri } from "./Object3DHelperPlugin/index.js";
31
- import { index as mi } from "./shared-utils/index.js";
32
- import { Magnifier as ii } from "./PanoMeasurePlugin/Modules/Magnifier.js";
33
- import { ModelItemLabelPlugin as li } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
34
- import { Plugin as Pi } from "./ItemLabelPlugin/Plugin.js";
35
- import { CruisePluginController as fi } from "./CruisePlugin/Controller.js";
36
- import { CSS3DRender as xi } from "./CSS3DRenderPlugin/CSS3DRender.js";
37
- import { DISPLAY_STRATEGY_TYPE as Ti } from "./ModelItemLabelPlugin/typings.js";
38
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Li } from "./ItemLabelPlugin/typings.js";
39
- import { PanoTagPluginController as Ei, pluginFlag as Ri } from "./PanoTagPlugin/controller/index.js";
40
- import { ContentType as di, DimensionType as Ci, LinkType as Oi, PointType as Si } from "./PanoTagPlugin/typings/tag.js";
41
- import { Object3DHelperController as Ai, PLUGIN as Di, VERSION as bi } from "./Object3DHelperPlugin/Controller.js";
1
+ import { PaintBrush as Bm } from "./components/PaintBrush/index.js";
2
+ import { PaintBrushTypeEnum as Um } from "./components/PaintBrush/typings.js";
3
+ import { ModelViewPlugin as km } from "./ModelViewPlugin/Plugin.js";
4
+ import { CSS3DRenderPlugin as zm } from "./CSS3DRenderPlugin/index.js";
5
+ import { PanoCursorRaycasterPlugin as Km } from "./PanoCursorRaycasterPlugin/index.js";
6
+ import { ModelRoomLabelPlugin as Wm, modelRoomLabelPluginServerParams as Xm } from "./ModelRoomLabelPlugin/index.js";
7
+ import { FLOOR_PLAN_ATTACHED_TO as $m } from "./floorplan/constant.js";
8
+ import { ModelFloorplanPlugin as rp } from "./floorplan/ModelFloorplanPlugin/index.js";
9
+ import { MapviewFloorplanPlugin as mp } from "./floorplan/MapviewFloorplanPlugin/index.js";
10
+ import { TopviewFloorplanPlugin as ip } from "./floorplan/TopviewFloorplanPlugin/index.js";
11
+ import { PanoFloorplanRadarPlugin as lp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
12
+ import { FLOOR_TYPE_MAP as Pp, ROOM_FETILE_TYPE_MAP as ap, ROOM_TYPE_MAP as fp } from "./floorplan/typings/floorplanServerData.js";
13
+ import { ModelChassisCompassPlugin as xp } from "./ModelChassisCompassPlugin/Plugin.js";
14
+ import { ModelEntryDoorGuidePlugin as Tp } from "./ModelEntryDoorGuidePlugin/Plugin.js";
15
+ import { CameraMovementPlugin as Lp } from "./CameraMovementPlugin/CameraMovementPlugin.js";
16
+ import { CameraMovementEffect as Ep, Rotation as _p } from "./CameraMovementPlugin/typing.js";
17
+ import { PanoRulerPlugin as dp } from "./PanoRulerPlugin/Plugin.js";
18
+ import { PanoRulerProPlugin as Op } from "./PanoRulerProPlugin/index.js";
19
+ import { PanoCompassPlugin as Ap } from "./PanoCompassPlugin/index.js";
20
+ import { PanoMeasurePlugin as Dp } from "./PanoMeasurePlugin/index.js";
21
+ import { PanoSpatialTagPlugin as Yp } from "./PanoSpatialTagPlugin/Plugin.js";
22
+ import { modelItemLabelPluginServerParams as vp } from "./ModelItemLabelPlugin/index.js";
23
+ import { ModelTVVideoPlugin as Gp } from "./ModelTVVideoPlugin/Plugin.js";
24
+ import { DIRECTION as cp } from "./ModelTVVideoPlugin/typings.js";
25
+ import { itemLabelPluginServerParams as hp } from "./ItemLabelPlugin/index.js";
26
+ import { PanoDoorLabelPlugin as Bp } from "./PanoDoorLabelPlugin/index.js";
27
+ import { GuideLinePlugin as Up } from "./GuideLinePlugin/index.js";
28
+ import { CruisePlugin as kp } from "./CruisePlugin/index.js";
29
+ import { PanoTagPlugin as zp } from "./PanoTagPlugin/index.js";
30
+ import { Object3DHelperPlugin as Kp } from "./Object3DHelperPlugin/index.js";
31
+ import { index as Wp } from "./shared-utils/index.js";
32
+ import { Magnifier as Zp } from "./PanoMeasurePlugin/Modules/Magnifier.js";
33
+ import { ModelItemLabelPlugin as oi } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
34
+ import { Plugin as ti } from "./ItemLabelPlugin/Plugin.js";
35
+ import { CruisePluginController as pi } from "./CruisePlugin/Controller.js";
36
+ import { DISPLAY_STRATEGY_TYPE as ei } from "./ModelItemLabelPlugin/typings.js";
37
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as ni } from "./ItemLabelPlugin/typings.js";
38
+ import { PanoTagPluginController as ai, pluginFlag as fi } from "./PanoTagPlugin/controller/index.js";
39
+ import { ContentType as xi, DimensionType as gi, LinkType as Ti, PointType as si } from "./PanoTagPlugin/typings/tag.js";
40
+ import { Object3DHelperController as Mi, PLUGIN as Ei, VERSION as _i } from "./Object3DHelperPlugin/Controller.js";
42
41
  import "./components/PaintBrush/Controller.js";
43
42
  import "./components/PaintBrush/utils.js";
44
43
  import "./components/PaintBrush/tween.js";
@@ -49,8 +48,13 @@ import "./components/PaintBrush/style.js";
49
48
  import "@realsee/five";
50
49
  import "three";
51
50
  import "./CSS3DRenderPlugin/Controller.js";
52
- import "./CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
53
- import "./CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
51
+ import "./CSS3DRenderPlugin/CSS3DRender.js";
52
+ import "three/examples/jsm/renderers/CSS3DRenderer";
53
+ import "./shared-utils/Subscribe.js";
54
+ import "./CSS3DRenderPlugin/utils/evenNumber.js";
55
+ import "./CSS3DRenderPlugin/utils/positionToVector3.js";
56
+ import "./CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
57
+ import "./CSS3DRenderPlugin/utils/centerPoint.js";
54
58
  import "./shared-utils/createLine/index.js";
55
59
  import "@realsee/five/line";
56
60
  import "./ModelRoomLabelPlugin/Controller.js";
@@ -94,7 +98,6 @@ import "./shared-utils/tap.js";
94
98
  import "./shared-utils/getPxmm.js";
95
99
  import "./base/BasePluginWithData.js";
96
100
  import "./base/BasePlugin.js";
97
- import "./shared-utils/Subscribe.js";
98
101
  import "./floorplan/utils/correctFiveState.js";
99
102
  import "./floorplan/utils/constant.js";
100
103
  import "./shared-utils/nearlyEqual.js";
@@ -110,7 +113,7 @@ import "./floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloo
110
113
  import "./floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js";
111
114
  import "three/examples/jsm/loaders/FBXLoader";
112
115
  import "./shared-utils/object3d2LocalMatrix.js";
113
- import "./shared-utils/three/transfromToMeshBasicMaterial.js";
116
+ import "./shared-utils/three/transformToMeshBasicMaterial.js";
114
117
  import "./shared-utils/createCanvasTextTexture.js";
115
118
  import "./shared-utils/three/transformPositionToVector3.js";
116
119
  import "./shared-utils/animationFrame/tween.js";
@@ -214,17 +217,6 @@ import "./CruisePlugin/utils/vectorToCoordinates.js";
214
217
  import "./CruisePlugin/utils/formatRad.js";
215
218
  import "./CruisePlugin/utils/linerValue.js";
216
219
  import "./CruisePlugin/utils/sleep.js";
217
- import "./CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
218
- import "three/examples/jsm/renderers/CSS3DRenderer";
219
- import "./CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
220
- import "./CSS3DRenderPlugin/utils/createResizeObserver.js";
221
- import "./CSS3DRenderPlugin/utils/even.js";
222
- import "./CSS3DRenderPlugin/utils/positionToVector3.js";
223
- import "./CSS3DRenderPlugin/utils/three/CSS3DObject.js";
224
- import "./CSS3DRenderPlugin/utils/centerPoint.js";
225
- import "./CSS3DRenderPlugin/utils/three/OpacityMesh.js";
226
- import "./CSS3DRenderPlugin/utils/three/CSS3DScene.js";
227
- import "./CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
228
220
  import "object-assign-deep";
229
221
  import "./PanoTagPlugin/Components/TagContainer.js";
230
222
  import "./PanoTagPlugin/Components/TagWrapper.js";
@@ -300,55 +292,54 @@ import "./shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
300
292
  import "./shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
301
293
  import "./shared-utils/Object3DHelper/utils/vectorIsEqual.js";
302
294
  export {
303
- xi as CSS3DRender,
304
- $m as CSS3DRenderPlugin,
305
- Ip as CameraMovementEffect,
306
- Op as CameraMovementPlugin,
307
- di as ContentType,
308
- Xp as CruisePlugin,
309
- fi as CruisePluginController,
310
- jp as DIRECTION,
311
- Ti as DISPLAY_STRATEGY_TYPE,
312
- Ci as DimensionType,
313
- ep as FLOOR_PLAN_ATTACHED_TO,
314
- sp as FLOOR_TYPE_MAP,
315
- Qp as GuideLinePlugin,
316
- Li as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
317
- Pi as ItemLabelPlugin,
318
- Oi as LinkType,
319
- ii as Magnifier,
320
- ap as MapviewFloorplanPlugin,
321
- Rp as ModelChassisCompassPlugin,
322
- dp as ModelEntryDoorGuidePlugin,
323
- np as ModelFloorplanPlugin,
324
- li as ModelItemLabelPlugin,
325
- mp as ModelRoomLabelPlugin,
326
- Hp as ModelTVVideoPlugin,
327
- Xm as ModelViewPlugin,
328
- Ai as Object3DHelperController,
329
- ri as Object3DHelperPlugin,
330
- Di as PLUGIN,
331
- Jm as PaintBrush,
332
- Qm as PaintBrushTypeEnum,
333
- yp as PanoCompassPlugin,
334
- rp as PanoCursorRaycasterPlugin,
335
- Jp as PanoDoorLabelPlugin,
336
- gp as PanoFloorplanRadarPlugin,
337
- Np as PanoMeasurePlugin,
338
- bp as PanoRulerPlugin,
339
- Fp as PanoRulerProPlugin,
340
- Vp as PanoSpatialTagPlugin,
341
- $p as PanoTagPlugin,
342
- Ei as PanoTagPluginController,
343
- Si as PointType,
344
- Lp as ROOM_FETILE_TYPE_MAP,
345
- Mp as ROOM_TYPE_MAP,
346
- Ap as Rotation,
347
- up as TopviewFloorplanPlugin,
348
- mi as Util,
349
- bi as VERSION,
350
- qp as itemLabelPluginServerParams,
351
- wp as modelItemLabelPluginServerParams,
352
- pp as modelRoomLabelPluginServerParams,
353
- Ri as pluginFlag
295
+ zm as CSS3DRenderPlugin,
296
+ Ep as CameraMovementEffect,
297
+ Lp as CameraMovementPlugin,
298
+ xi as ContentType,
299
+ kp as CruisePlugin,
300
+ pi as CruisePluginController,
301
+ cp as DIRECTION,
302
+ ei as DISPLAY_STRATEGY_TYPE,
303
+ gi as DimensionType,
304
+ $m as FLOOR_PLAN_ATTACHED_TO,
305
+ Pp as FLOOR_TYPE_MAP,
306
+ Up as GuideLinePlugin,
307
+ ni as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
308
+ ti as ItemLabelPlugin,
309
+ Ti as LinkType,
310
+ Zp as Magnifier,
311
+ mp as MapviewFloorplanPlugin,
312
+ xp as ModelChassisCompassPlugin,
313
+ Tp as ModelEntryDoorGuidePlugin,
314
+ rp as ModelFloorplanPlugin,
315
+ oi as ModelItemLabelPlugin,
316
+ Wm as ModelRoomLabelPlugin,
317
+ Gp as ModelTVVideoPlugin,
318
+ km as ModelViewPlugin,
319
+ Mi as Object3DHelperController,
320
+ Kp as Object3DHelperPlugin,
321
+ Ei as PLUGIN,
322
+ Bm as PaintBrush,
323
+ Um as PaintBrushTypeEnum,
324
+ Ap as PanoCompassPlugin,
325
+ Km as PanoCursorRaycasterPlugin,
326
+ Bp as PanoDoorLabelPlugin,
327
+ lp as PanoFloorplanRadarPlugin,
328
+ Dp as PanoMeasurePlugin,
329
+ dp as PanoRulerPlugin,
330
+ Op as PanoRulerProPlugin,
331
+ Yp as PanoSpatialTagPlugin,
332
+ zp as PanoTagPlugin,
333
+ ai as PanoTagPluginController,
334
+ si as PointType,
335
+ ap as ROOM_FETILE_TYPE_MAP,
336
+ fp as ROOM_TYPE_MAP,
337
+ _p as Rotation,
338
+ ip as TopviewFloorplanPlugin,
339
+ Wp as Util,
340
+ _i as VERSION,
341
+ hp as itemLabelPluginServerParams,
342
+ vp as modelItemLabelPluginServerParams,
343
+ Xm as modelRoomLabelPluginServerParams,
344
+ fi as pluginFlag
354
345
  };
@@ -5,7 +5,7 @@ import * as l from "three";
5
5
  import { Subscribe as y } from "../../Subscribe.js";
6
6
  import { DomEvents as j } from "../utils/threex/domevents/index.js";
7
7
  import { notNil as g } from "../../isNil.js";
8
- import { CSS3DObjectPlus as D } from "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
8
+ import { CSS3DObjectPlus as D } from "../../../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
9
9
  let h = null;
10
10
  class P {
11
11
  constructor(e, t, o, n, a, r, c) {
@@ -2,18 +2,17 @@ var w = Object.defineProperty;
2
2
  var h = (i, o, r) => o in i ? w(i, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : i[o] = r;
3
3
  var s = (i, o, r) => (h(i, typeof o != "symbol" ? o + "" : o, r), r);
4
4
  import { MoveHelperAbstract as A } from "../Base/BaseHelper.js";
5
- import { ArrowGroup as t } from "./Objects/ArrowGroup.js";
6
- import { AXES_THREE_COLOR as e } from "../Constants/color.js";
5
+ import { ArrowGroup as e } from "./Objects/ArrowGroup.js";
6
+ import { AXES_THREE_COLOR as t } from "../Constants/color.js";
7
7
  import "three";
8
- import "../../../CSS3DRenderPlugin/CSS3DRender.js";
9
8
  import "three/examples/jsm/renderers/CSS3DRenderer";
10
9
  import "./OutlineHelper.js";
11
- class x extends A {
10
+ class v extends A {
12
11
  constructor(r) {
13
12
  super(r);
14
- s(this, "xArrow", new t({ direction: "x", color: e.X }));
15
- s(this, "yArrow", new t({ direction: "y", color: e.Y }));
16
- s(this, "zArrow", new t({ direction: "z", color: e.Z }));
13
+ s(this, "xArrow", new e({ direction: "x", color: t.X }));
14
+ s(this, "yArrow", new e({ direction: "y", color: t.Y }));
15
+ s(this, "zArrow", new e({ direction: "z", color: t.Z }));
17
16
  this.add(this.xArrow), this.add(this.yArrow), this.add(this.zArrow);
18
17
  }
19
18
  show() {
@@ -27,5 +26,5 @@ class x extends A {
27
26
  }
28
27
  }
29
28
  export {
30
- x as MoveHelper
29
+ v as MoveHelper
31
30
  };
@@ -3,7 +3,7 @@ import { RectangleScaleHelperAbstract } from '.';
3
3
  import type { Create3DElementReturnType } from '../../../CSS3DRenderPlugin';
4
4
  import type { Vector3 } from 'three';
5
5
  import { CSS3DObject } from 'three/examples/jsm/renderers/CSS3DRenderer';
6
- import type { CSS3DObjectPlus } from '../../../CSS3DRenderPlugin/utils/three/CSS3DObject';
6
+ import type { CSS3DObjectPlus } from '../../../CSS3DRenderPlugin/utils/CSS3DObjectPlus';
7
7
  declare type NonVoid<T> = T extends void ? never : T;
8
8
  declare type OriginObjectType = CSS3DObject | THREE.Object3D;
9
9
  export declare class RectangleScaleHelper<T extends OriginObjectType = OriginObjectType> extends RectangleScaleHelperAbstract<T, HTMLElement> {
@@ -17,7 +17,7 @@ export declare class RectangleScaleHelper<T extends OriginObjectType = OriginObj
17
17
  private scene;
18
18
  private container;
19
19
  private enabled;
20
- constructor(originObject3D: T, container: HTMLElement, camera: THREE.Camera, scene: THREE.Scene);
20
+ constructor(originObject3D: T, container: Element, camera: THREE.Camera, scene: THREE.Scene);
21
21
  updatePosition(): void;
22
22
  updateQuaternion(): void;
23
23
  applyMatrix4(matrix: THREE.Matrix4): void;
@@ -1,4 +1,3 @@
1
1
  import "three";
2
- import "../../../CSS3DRenderPlugin/CSS3DRender.js";
3
2
  import "three/examples/jsm/renderers/CSS3DRenderer";
4
3
  import "./OutlineHelper.js";
@@ -3,5 +3,4 @@ import "three";
3
3
  import "@realsee/five";
4
4
  import "@tweenjs/tween.js";
5
5
  import "../animationFrame/BetterTween.js";
6
- import "../../CSS3DRenderPlugin/CSS3DRender.js";
7
- import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
6
+ import "three/examples/jsm/renderers/CSS3DRenderer";
package/package.json CHANGED
@@ -3,25 +3,12 @@
3
3
  "main": "./dist/index.js",
4
4
  "module": "./libs/index.js",
5
5
  "types": "./libs/index.d.ts",
6
- "type": "module",
7
6
  "author": "REALSEE-DEVELOPER",
8
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
9
8
  "description": "如视 VR 看房插件合集",
10
9
  "private": false,
11
- "version": "2.2.5-alpha.0",
10
+ "version": "2.2.6",
12
11
  "license": "SEE LICENSE IN TERMS.txt",
13
- "scripts": {
14
- "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
15
- "dev": "run-p dev:*",
16
- "dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
17
- "dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
18
- "dev:components": "NODE_ENV=development BUILD_MODULE=components vite build -m development",
19
- "build": "run-p build:*",
20
- "build:libs": "NODE_ENV=production BUILD_MODULE=libs vite build -m production",
21
- "build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
22
- "build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
23
- "docs": "typedoc --options ./typedoc.json"
24
- },
25
12
  "files": [
26
13
  "libs",
27
14
  "dist",
@@ -82,5 +69,17 @@
82
69
  "peerDependencies": {
83
70
  "@realsee/five": "^5.0.0",
84
71
  "three": ">=0.115.0 <=0.117.1"
72
+ },
73
+ "scripts": {
74
+ "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
75
+ "dev": "run-p dev:*",
76
+ "dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
77
+ "dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
78
+ "dev:components": "NODE_ENV=development BUILD_MODULE=components vite build -m development",
79
+ "build": "run-p build:*",
80
+ "build:libs": "NODE_ENV=production BUILD_MODULE=libs vite build -m production",
81
+ "build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
82
+ "build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
83
+ "docs": "typedoc --options ./typedoc.json"
85
84
  }
86
- }
85
+ }
@@ -1,4 +0,0 @@
1
- export default function createResizeObserver(element: Element, resizeHandler: (width: number, height: number) => any, fireImmediately?: boolean): {
2
- observe: () => void;
3
- unobserve: () => void;
4
- };
@@ -1,9 +0,0 @@
1
- /**
2
- * @description: 获取一个数字的最近的偶数
3
- * @param { number } num
4
- * @param { boolean } config.floor 是否取较小的偶数,默认为false,即取较大的偶数
5
- * @return { number } 返回一个偶数
6
- */
7
- export declare function even(num: number, config?: {
8
- floor?: boolean;
9
- }): number;
@@ -1,2 +0,0 @@
1
- import type { Five } from '@realsee/five';
2
- export default function generateBehindFiveElement(five: Five): HTMLDivElement;