@realsee/dnalogel 2.2.6 → 2.2.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 (322) hide show
  1. package/docs/assets/main.js +1 -1
  2. package/docs/classes/CruisePluginController.html +24 -24
  3. package/docs/classes/Magnifier.html +16 -16
  4. package/docs/classes/ModelRoomLabelController.html +11 -11
  5. package/docs/classes/Object3DHelperController.html +24 -24
  6. package/docs/classes/PaintBrush.html +15 -15
  7. package/docs/classes/PanoTagPluginController.html +39 -39
  8. package/docs/classes/Util.BetterTween.html +8 -8
  9. package/docs/classes/Util.FivePointSelector.html +12 -12
  10. package/docs/classes/Util.Interval.html +12 -12
  11. package/docs/classes/Util.Magnifier.html +17 -17
  12. package/docs/classes/Util.PointDomHelper.html +11 -11
  13. package/docs/classes/Util.PointHelper.html +11 -11
  14. package/docs/classes/Util.Rectangle.html +13 -13
  15. package/docs/enums/CameraMovementEffect.html +7 -7
  16. package/docs/enums/ContentType.html +12 -12
  17. package/docs/enums/DIRECTION.html +9 -9
  18. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  19. package/docs/enums/DimensionType.html +7 -7
  20. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  21. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  22. package/docs/enums/LinkType.html +7 -7
  23. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  24. package/docs/enums/PointType.html +7 -7
  25. package/docs/enums/Rotation.html +8 -8
  26. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  27. package/docs/functions/CameraMovementPlugin.html +4 -4
  28. package/docs/functions/CruisePlugin.html +4 -4
  29. package/docs/functions/GuideLinePlugin.html +5 -5
  30. package/docs/functions/ItemLabelPlugin.html +4 -4
  31. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  32. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  33. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  34. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  35. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  36. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  37. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  38. package/docs/functions/ModelViewPlugin.html +4 -4
  39. package/docs/functions/Object3DHelperPlugin.html +4 -4
  40. package/docs/functions/PanoCompassPlugin.html +4 -4
  41. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  42. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  43. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  44. package/docs/functions/PanoMeasurePlugin.html +4 -4
  45. package/docs/functions/PanoRulerPlugin.html +4 -4
  46. package/docs/functions/PanoRulerProPlugin.html +4 -4
  47. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  48. package/docs/functions/PanoTagPlugin.html +4 -4
  49. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  50. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  51. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  52. package/docs/functions/Util.getFrameTime.html +5 -5
  53. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  54. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  55. package/docs/functions/Util.isNil.html +5 -5
  56. package/docs/functions/Util.nextFrame.html +5 -5
  57. package/docs/functions/Util.notNil.html +5 -5
  58. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  59. package/docs/functions/Util.tweenProgress.html +5 -5
  60. package/docs/functions/pluginFlag.html +5 -5
  61. package/docs/index.html +4 -4
  62. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  63. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  64. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  65. package/docs/interfaces/ContentTypeMap.html +12 -12
  66. package/docs/interfaces/FloorplanBounding.html +8 -8
  67. package/docs/interfaces/FloorplanData.html +10 -10
  68. package/docs/interfaces/FloorplanEntrance.html +11 -11
  69. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  70. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  71. package/docs/interfaces/FloorplanFloorData.html +9 -9
  72. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  73. package/docs/interfaces/FloorplanObserver.html +9 -9
  74. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  75. package/docs/interfaces/FloorplanPosition.html +7 -7
  76. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  77. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  78. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  79. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  80. package/docs/interfaces/FloorplanServerData.html +7 -7
  81. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  82. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  83. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  84. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  85. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  86. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  87. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  88. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  89. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  90. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  91. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  92. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  93. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  94. package/docs/interfaces/LineJson.html +7 -7
  95. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  96. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  97. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  98. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  99. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  100. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  101. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  102. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  103. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  104. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  105. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  106. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  107. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  108. package/docs/interfaces/Object3DHelperState.html +8 -8
  109. package/docs/interfaces/OpenParameter.html +7 -7
  110. package/docs/interfaces/PaintBrushAction.html +12 -12
  111. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  112. package/docs/interfaces/PaintBrushState.html +10 -10
  113. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  114. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  115. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  116. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  117. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  118. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  119. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  120. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  121. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  122. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  123. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  124. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  125. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  126. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  127. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  128. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  129. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  130. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  131. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  132. package/docs/interfaces/Point.html +8 -8
  133. package/docs/interfaces/PointJson.html +8 -8
  134. package/docs/interfaces/Room.html +9 -9
  135. package/docs/interfaces/RoomInfo.html +7 -7
  136. package/docs/interfaces/RoomLabel.html +14 -14
  137. package/docs/interfaces/RoomRules.html +5 -5
  138. package/docs/interfaces/Rooms.html +5 -5
  139. package/docs/interfaces/Scissor.html +9 -9
  140. package/docs/interfaces/TagConfig.html +10 -10
  141. package/docs/interfaces/Tags.html +9 -9
  142. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  143. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  144. package/docs/modules/Util.html +5 -5
  145. package/docs/modules.html +4 -4
  146. package/docs/types/ArrayPosition.html +5 -5
  147. package/docs/types/CSS3DRenderExportType.html +5 -5
  148. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  149. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  150. package/docs/types/Color.html +5 -5
  151. package/docs/types/ContentTypeConfigKey.html +5 -5
  152. package/docs/types/ContentTypeConfigKeyArray.html +5 -5
  153. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  154. package/docs/types/Create3DElementReturnType.html +5 -5
  155. package/docs/types/CruisePluginExportType.html +5 -5
  156. package/docs/types/Direction-1.html +5 -5
  157. package/docs/types/Direction4.html +5 -5
  158. package/docs/types/FloorplanRuleLabels.html +5 -5
  159. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  160. package/docs/types/GuideLinePluginExportType.html +5 -5
  161. package/docs/types/HelperEventMap.html +5 -5
  162. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  163. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  164. package/docs/types/MediaData.html +5 -5
  165. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  166. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  167. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  168. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  169. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  170. package/docs/types/MoveArgs.html +5 -5
  171. package/docs/types/MoveOpts.html +5 -5
  172. package/docs/types/Object3DHelperEventMap.html +5 -5
  173. package/docs/types/ObjectFit.html +5 -5
  174. package/docs/types/PaintBrushEventMap.html +5 -5
  175. package/docs/types/PanoCompassPluginData.html +5 -5
  176. package/docs/types/PanoCompassPluginExportType.html +5 -5
  177. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  178. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  179. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  180. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  181. package/docs/types/PanoMeasureReturnType.html +5 -5
  182. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  183. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  184. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  185. package/docs/types/PlaneTag.html +5 -5
  186. package/docs/types/PointTag.html +5 -5
  187. package/docs/types/Position.html +5 -5
  188. package/docs/types/RotateArgs.html +5 -5
  189. package/docs/types/RotateOpts.html +5 -5
  190. package/docs/types/RuleLabelsKey.html +5 -5
  191. package/docs/types/RuleLabelsValue.html +5 -5
  192. package/docs/types/Tag.html +5 -5
  193. package/docs/types/Tag2D.html +5 -5
  194. package/docs/types/Tag3D.html +5 -5
  195. package/docs/types/TagId.html +5 -5
  196. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  197. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  198. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  199. package/docs/variables/PLUGIN.html +5 -5
  200. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  201. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  202. package/docs/variables/VERSION.html +5 -5
  203. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  204. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  205. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  206. package/libs/CSS3DRenderPlugin/CSS3DRender.js +39 -33
  207. package/libs/CSS3DRenderPlugin/Controller.js +30 -22
  208. package/libs/CSS3DRenderPlugin/index.js +12 -3
  209. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +2 -1
  210. package/libs/CameraMovementPlugin/CameraMovementPlugin.js +28 -25
  211. package/libs/CameraMovementPlugin/index.js +13 -0
  212. package/libs/CruisePlugin/Controller.js +52 -41
  213. package/libs/CruisePlugin/index.js +26 -3
  214. package/libs/CruisePlugin/typing.js +1 -0
  215. package/libs/GuideLinePlugin/Controller.js +14 -9
  216. package/libs/GuideLinePlugin/index.js +14 -3
  217. package/libs/GuideLinePlugin/typing.js +1 -0
  218. package/libs/ItemLabelPlugin/Plugin.js +33 -23
  219. package/libs/ItemLabelPlugin/events.type.js +1 -0
  220. package/libs/ItemLabelPlugin/index.js +16 -2
  221. package/libs/ModelChassisCompassPlugin/Plugin.js +2 -1
  222. package/libs/ModelChassisCompassPlugin/index.js +8 -0
  223. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +44 -39
  224. package/libs/ModelEntryDoorGuidePlugin/index.js +9 -0
  225. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +28 -22
  226. package/libs/ModelItemLabelPlugin/index.js +12 -2
  227. package/libs/ModelRoomLabelPlugin/Controller.js +6 -2
  228. package/libs/ModelRoomLabelPlugin/index.js +10 -3
  229. package/libs/ModelRoomLabelPlugin/typings.js +1 -0
  230. package/libs/ModelTVVideoPlugin/Plugin.js +35 -25
  231. package/libs/ModelTVVideoPlugin/index.js +17 -0
  232. package/libs/ModelViewPlugin/Plugin.js +2 -1
  233. package/libs/ModelViewPlugin/index.js +6 -0
  234. package/libs/Object3DHelperPlugin/Controller.js +48 -27
  235. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +13 -9
  236. package/libs/Object3DHelperPlugin/index.js +40 -3
  237. package/libs/Object3DHelperPlugin/typings.js +1 -0
  238. package/libs/PanoCompassPlugin/Controller.js +25 -13
  239. package/libs/PanoCompassPlugin/index.js +23 -3
  240. package/libs/PanoCompassPlugin/typings.js +1 -0
  241. package/libs/PanoCursorRaycasterPlugin/index.js +4 -2
  242. package/libs/PanoDoorLabelPlugin/BaseController.js +27 -26
  243. package/libs/PanoDoorLabelPlugin/Controller.js +7 -2
  244. package/libs/PanoDoorLabelPlugin/index.js +12 -2
  245. package/libs/PanoDoorLabelPlugin/typings.js +1 -0
  246. package/libs/PanoMeasurePlugin/index.js +56 -5
  247. package/libs/PanoRulerPlugin/Plugin.js +22 -17
  248. package/libs/PanoRulerPlugin/index.js +9 -0
  249. package/libs/PanoRulerPlugin/style.js +1 -1
  250. package/libs/PanoRulerPlugin/typings.js +1 -0
  251. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  252. package/libs/PanoRulerProPlugin/index.js +16 -3
  253. package/libs/PanoRulerProPlugin/typings.js +1 -0
  254. package/libs/PanoSpatialTagPlugin/Components/origins.js +2 -3
  255. package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
  256. package/libs/PanoSpatialTagPlugin/Plugin.js +74 -62
  257. package/libs/PanoSpatialTagPlugin/index.js +20 -0
  258. package/libs/PanoSpatialTagPlugin/store.js +1 -0
  259. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  260. package/libs/PanoTagPlugin/Components/Common/Audio.js +43 -43
  261. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +7 -7
  262. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +28 -29
  263. package/libs/PanoTagPlugin/Components/Common/Media.js +47 -55
  264. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
  265. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +59 -68
  266. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +5 -7
  267. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +21 -23
  268. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +28 -31
  269. package/libs/PanoTagPlugin/Components/Common/Shadow.js +9 -10
  270. package/libs/PanoTagPlugin/Components/Common/Text.js +9 -9
  271. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +19 -27
  272. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
  273. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +97 -118
  274. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +6 -8
  275. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -5
  276. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -72
  277. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +54 -65
  278. package/libs/PanoTagPlugin/Components/Tag/index.js +74 -103
  279. package/libs/PanoTagPlugin/Components/TagContainer.js +65 -108
  280. package/libs/PanoTagPlugin/Components/TagWrapper.js +78 -116
  281. package/libs/PanoTagPlugin/controller/index.js +2 -2
  282. package/libs/PanoTagPlugin/index.js +82 -3
  283. package/libs/PanoTagPlugin/tag.config.js +2 -1
  284. package/libs/floorplan/Components/BaseImage.js +7 -7
  285. package/libs/floorplan/Components/Camera.js +10 -10
  286. package/libs/floorplan/Components/Compass.js +1 -1
  287. package/libs/floorplan/Components/CurrentFloor.js +47 -56
  288. package/libs/floorplan/Components/Main.js +80 -99
  289. package/libs/floorplan/Components/Normalmage.js +5 -5
  290. package/libs/floorplan/Components/RoomHighlight/Room.js +11 -11
  291. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +13 -14
  292. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +1 -1
  293. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +47 -47
  294. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +23 -23
  295. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +14 -14
  296. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +13 -13
  297. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +13 -13
  298. package/libs/floorplan/Components/RuleLabels/RuleItem.js +6 -6
  299. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +14 -14
  300. package/libs/floorplan/Components/SvgImage.js +12 -12
  301. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +111 -81
  302. package/libs/floorplan/MapviewFloorplanPlugin/index.js +47 -3
  303. package/libs/floorplan/MapviewFloorplanPlugin/typing.js +1 -0
  304. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +166 -135
  305. package/libs/floorplan/ModelFloorplanPlugin/index.js +47 -3
  306. package/libs/floorplan/ModelFloorplanPlugin/typing.js +1 -0
  307. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
  308. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +8 -12
  309. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
  310. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +74 -83
  311. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +51 -36
  312. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +24 -3
  313. package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +1 -0
  314. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +155 -126
  315. package/libs/floorplan/TopviewFloorplanPlugin/index.js +44 -3
  316. package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +1 -0
  317. package/libs/floorplan/TopviewFloorplanPlugin/style.js +11 -0
  318. package/libs/floorplan/TopviewFloorplanPlugin/typing.js +1 -0
  319. package/libs/floorplan/typings/index.js +1 -0
  320. package/libs/index.js +33 -33
  321. package/package.json +17 -17
  322. package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
@@ -1,80 +1,85 @@
1
- var C = (t, s, e) => new Promise((x, E) => {
2
- var y = (r) => {
1
+ var C = (t, s, e) => new Promise((P, E) => {
2
+ var h = (r) => {
3
3
  try {
4
- c(e.next(r));
4
+ l(e.next(r));
5
5
  } catch (m) {
6
6
  E(m);
7
7
  }
8
- }, P = (r) => {
8
+ }, x = (r) => {
9
9
  try {
10
- c(e.throw(r));
10
+ l(e.throw(r));
11
11
  } catch (m) {
12
12
  E(m);
13
13
  }
14
- }, c = (r) => r.done ? x(r.value) : Promise.resolve(r.value).then(y, P);
15
- c((e = e.apply(t, s)).next());
14
+ }, l = (r) => r.done ? P(r.value) : Promise.resolve(r.value).then(h, x);
15
+ l((e = e.apply(t, s)).next());
16
16
  });
17
- import * as z from "three";
18
- import { MeshBasicMaterial as B, AnimationMixer as S } from "three";
17
+ import * as S from "three";
18
+ import { MeshBasicMaterial as z, AnimationMixer as B } from "three";
19
19
  import { FBXLoader as _ } from "three/examples/jsm/loaders/FBXLoader";
20
- import { createCanvasTextTexture as H } from "../shared-utils/createCanvasTextTexture.js";
21
- import { transformPositionToVector3 as L } from "../shared-utils/three/transformPositionToVector3.js";
22
- import { transfromToMeshBasicMaterial as U } from "../shared-utils/three/transformToMeshBasicMaterial.js";
20
+ import { createCanvasTextTexture as v } from "../shared-utils/createCanvasTextTexture.js";
21
+ import { transformPositionToVector3 as H } from "../shared-utils/three/transformPositionToVector3.js";
22
+ import { transfromToMeshBasicMaterial as L } from "../shared-utils/three/transformToMeshBasicMaterial.js";
23
23
  const K = (t, s) => {
24
- var g, G, R;
25
- const e = {}, x = (g = s.animationEnabled) != null ? g : !0, E = (G = s.position) != null ? G : void 0, y = (R = s.rad) != null ? R : void 0, P = s.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", c = [], r = (n) => C(void 0, null, function* () {
26
- var u, b, M, f, p, j, h, q;
27
- const l = (u = n == null ? void 0 : n.position) != null ? u : E;
28
- if (!l)
24
+ var G, T, R;
25
+ const e = {}, P = (G = s.animationEnabled) != null ? G : !0, E = (T = s.position) != null ? T : void 0, h = (R = s.rad) != null ? R : void 0, x = s.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", l = [], r = (o) => C(void 0, null, function* () {
26
+ var u, b, M, f, p, j, y, q;
27
+ const c = (u = o == null ? void 0 : o.position) != null ? u : E;
28
+ if (!c)
29
29
  return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
30
- const i = L(l), o = (b = n == null ? void 0 : n.rad) != null ? b : y, D = (M = n == null ? void 0 : n.fbx_url) != null ? M : P;
31
- if (e.rad = o, o === void 0)
32
- return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${o}`));
33
- const a = yield new _().loadAsync(D);
34
- a.position.copy(i), a.rotation.z = o, a.scale.set(0.8, 0.8, 0.8), U(a, { transparent: !0, side: z.DoubleSide });
35
- const d = (h = (j = (p = (f = a.children) == null ? void 0 : f[0]) == null ? void 0 : p.children) == null ? void 0 : j[3]) == null ? void 0 : h.clone();
30
+ const i = H(c), n = (b = o == null ? void 0 : o.rad) != null ? b : h, A = (M = o == null ? void 0 : o.fbx_url) != null ? M : x;
31
+ if (e.rad = n, n === void 0)
32
+ return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${n}`));
33
+ const a = yield new _().loadAsync(A);
34
+ a.position.copy(i), a.rotation.z = n, a.scale.set(0.8, 0.8, 0.8), L(a, { transparent: !0, side: S.DoubleSide });
35
+ const d = (y = (j = (p = (f = a.children) == null ? void 0 : f[0]) == null ? void 0 : p.children) == null ? void 0 : j[3]) == null ? void 0 : y.clone();
36
36
  if (!d)
37
37
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${d}`));
38
38
  const w = (q = s.name) != null ? q : "\u5165\u6237\u95E8";
39
- return d.material = new B({ transparent: !0, map: H(w) }), d.renderOrder = 3, a.children[0].add(d), e.object = a, !0;
39
+ return d.material = new z({ transparent: !0, map: v(w) }), d.renderOrder = 3, a.children[0].add(d), e.object = a, !0;
40
40
  }), m = () => {
41
41
  if (e.animation)
42
42
  return;
43
43
  if (!e.object)
44
44
  return console.error("ModelEntryDoorGuidePlugin.initAnimation(): state.object is ", e.object);
45
- const n = 1, l = new S(e.object);
46
- c.push(l);
47
- const i = l.clipAction(e.object.animations[0]);
48
- i.timeScale = n;
49
- let o;
50
- const D = () => {
45
+ const o = 1, c = new B(e.object);
46
+ l.push(c);
47
+ const i = c.clipAction(e.object.animations[0]);
48
+ i.timeScale = o;
49
+ let n;
50
+ const A = () => {
51
51
  let u = 0, b = 0;
52
52
  const M = 1e3 / 30, f = (p) => {
53
53
  u = requestAnimationFrame(f);
54
54
  const j = p - b;
55
- j < M || (b = p, c.forEach((h) => h.update(j / 1e3)), t.needsRender = !0);
55
+ j < M || (b = p, l.forEach((y) => y.update(j / 1e3)), t.needsRender = !0);
56
56
  };
57
57
  return u = requestAnimationFrame(f), () => {
58
58
  cancelAnimationFrame(u);
59
59
  };
60
60
  }, w = { play: () => {
61
- o || (i.play(), o = D(), requestAnimationFrame(() => {
61
+ n || (i.play(), n = A(), requestAnimationFrame(() => {
62
62
  e.object && e.object.rotation.z !== e.rad && (e.object.rotation.z = e.rad);
63
63
  }));
64
64
  }, stop: () => {
65
- i.stop(), o == null || o(), o = void 0;
65
+ i.stop(), n == null || n(), n = void 0;
66
66
  } };
67
67
  e.animation = w;
68
- }, F = (n) => {
68
+ }, g = (o) => {
69
69
  var i;
70
70
  if (!e.object)
71
71
  return console.error("ModelEntryDoorGuidePlugin.enable(): object is ", e.object);
72
- ((i = n == null ? void 0 : n.animationEnable) != null ? i : x) && (e.animation || m(), e.animation.play()), t.scene.add(e.object), t.needsRender = !0;
73
- }, T = () => {
72
+ ((i = o == null ? void 0 : o.animationEnable) != null ? i : P) && (e.animation || m(), e.animation.play()), t.scene.add(e.object), t.needsRender = !0;
73
+ }, F = () => {
74
74
  !e.object || (e.animation && e.animation.stop(), t.scene.remove(e.object), t.needsRender = !0);
75
- }, A = (n) => n === "Floorplan" ? F() : T();
76
- return { load: r, enable: (n) => (e.enabled || (e.enabled = !0, A(t.currentMode), t.on("modeChange", A), F(n)), !0), disable: () => (e.enabled && (e.enabled = !1, T(), t.off("modeChange", A)), !0) };
75
+ }, D = (o) => o === "Floorplan" ? g() : F();
76
+ return { load: r, enable: (o) => (e.enabled || (e.enabled = !0, D(t.currentMode), t.on("modeChange", D), g(o)), !0), disable: () => (e.enabled && (e.enabled = !1, F(), t.off("modeChange", D)), !0) };
77
+ }, N = {
78
+ name: "ModelEntryDoorGuidePlugin",
79
+ version: 0
77
80
  };
78
81
  export {
79
- K as ModelEntryDoorGuidePlugin
82
+ K as ModelEntryDoorGuidePlugin,
83
+ K as default,
84
+ N as modelEntryDoorGuidePluginServerParams
80
85
  };
@@ -1,2 +1,11 @@
1
+ import "./Plugin.js";
2
+ import { ModelEntryDoorGuidePlugin as u, ModelEntryDoorGuidePlugin as n } from "./Plugin.js";
1
3
  import "three";
2
4
  import "three/examples/jsm/loaders/FBXLoader";
5
+ import "../shared-utils/createCanvasTextTexture.js";
6
+ import "../shared-utils/three/transformPositionToVector3.js";
7
+ import "../shared-utils/three/transformToMeshBasicMaterial.js";
8
+ export {
9
+ u as ModelEntryDoorGuidePlugin,
10
+ n as default
11
+ };
@@ -1,8 +1,13 @@
1
- import { Subscribe as f, Five as s } from "@realsee/five";
1
+ import { Subscribe as y, Five as s } from "@realsee/five";
2
2
  import L from "./ItemLabelComponent.js";
3
3
  import { DISPLAY_STRATEGY_TYPE as g } from "./typings.js";
4
4
  import { parseModelItemLabelPluginData as E } from "./utils/parseData.js";
5
- const T = (t, o) => {
5
+ import "../vendor/svelte/internal/index.js";
6
+ import "three";
7
+ import "./ItemLabelItem.js";
8
+ import "classnames";
9
+ import "../shared-utils/debounce.js";
10
+ const C = (n, o) => {
6
11
  var a, d;
7
12
  const e = {
8
13
  container: document.createElement("div"),
@@ -12,7 +17,7 @@ const T = (t, o) => {
12
17
  itemLabels: [],
13
18
  wrapper: null,
14
19
  app: void 0,
15
- hooks: new f(),
20
+ hooks: new y(),
16
21
  modelOcclusionEnable: (a = o == null ? void 0 : o.modelOcclusionEnable) != null ? a : !0,
17
22
  displayStrategyType: (d = o == null ? void 0 : o.displayStrategyType) != null ? d : g.SMALL
18
23
  };
@@ -24,24 +29,24 @@ const T = (t, o) => {
24
29
  height: 100%;
25
30
  z-index: 5;
26
31
  `, e.container.style.pointerEvents = "none";
27
- const p = (n) => (e.wrapper = n, n.appendChild(e.container), l(), !0), c = (n) => {
28
- e.itemLabels = E(n), l();
29
- }, u = () => (e.enabled || (e.enabled = !0, l()), !0), b = () => (e.enabled && (e.enabled = !1, l()), !0), r = () => {
30
- y(), e.container.remove();
31
- }, l = () => {
32
- var n;
32
+ const p = (t) => (e.wrapper = t, t.appendChild(e.container), r(), !0), c = (t) => {
33
+ e.itemLabels = E(t), r();
34
+ }, u = () => (e.enabled || (e.enabled = !0, r()), !0), b = () => (e.enabled && (e.enabled = !1, r()), !0), i = () => {
35
+ f(), e.container.remove();
36
+ }, r = () => {
37
+ var t;
33
38
  if (!!e.wrapper) {
34
39
  if (!e.enabled || !e.fiveModeEnabled) {
35
- (n = e.app) == null || n.$destroy(), e.app = void 0;
40
+ (t = e.app) == null || t.$destroy(), e.app = void 0;
36
41
  return;
37
42
  }
38
43
  e.app ? e.app.$set({
39
- five: t,
44
+ five: n,
40
45
  itemLabels: e.itemLabels
41
46
  }) : e.app = new L({
42
47
  target: e.container,
43
48
  props: {
44
- five: t,
49
+ five: n,
45
50
  modelOcclusionEnable: e.modelOcclusionEnable,
46
51
  itemLabels: e.itemLabels,
47
52
  wrapper: e.wrapper,
@@ -51,17 +56,17 @@ const T = (t, o) => {
51
56
  });
52
57
  }
53
58
  }, m = () => {
54
- t.on("modeChange", i), t.once("dispose", r);
55
- }, y = () => {
56
- t.off("modeChange", i);
57
- }, i = (n) => {
59
+ n.on("modeChange", l), n.once("dispose", i);
60
+ }, f = () => {
61
+ n.off("modeChange", l);
62
+ }, l = (t) => {
58
63
  if (!!e.enabled) {
59
- if (n !== s.Mode.Floorplan) {
60
- e.fiveModeEnabled = !1, l();
64
+ if (t !== s.Mode.Floorplan) {
65
+ e.fiveModeEnabled = !1, r();
61
66
  return;
62
67
  }
63
- t.once("initAnimationEnded", () => {
64
- e.fiveModeEnabled = t.currentMode === s.Mode.Floorplan, l();
68
+ n.once("initAnimationEnded", () => {
69
+ e.fiveModeEnabled = n.currentMode === s.Mode.Floorplan, r();
65
70
  });
66
71
  }
67
72
  };
@@ -70,10 +75,11 @@ const T = (t, o) => {
70
75
  load: c,
71
76
  enable: u,
72
77
  disable: b,
73
- dispose: r,
78
+ dispose: i,
74
79
  hooks: e.hooks
75
80
  };
76
81
  };
77
82
  export {
78
- T as ModelItemLabelPlugin
83
+ C as ModelItemLabelPlugin,
84
+ C as default
79
85
  };
@@ -1,11 +1,21 @@
1
+ import "./ModelItemLabelPlugin.js";
2
+ import { ModelItemLabelPlugin as I, ModelItemLabelPlugin as L } from "./ModelItemLabelPlugin.js";
3
+ import { DISPLAY_STRATEGY_TYPE as g } from "./typings.js";
1
4
  import "@realsee/five";
5
+ import "./ItemLabelComponent.js";
2
6
  import "../vendor/svelte/internal/index.js";
3
7
  import "three";
8
+ import "./ItemLabelItem.js";
4
9
  import "classnames";
5
- const t = {
10
+ import "../shared-utils/debounce.js";
11
+ import "./utils/parseData.js";
12
+ const P = {
6
13
  name: "ModelItemLabelPlugin",
7
14
  version: 0
8
15
  };
9
16
  export {
10
- t as modelItemLabelPluginServerParams
17
+ g as DISPLAY_STRATEGY_TYPE,
18
+ I as ModelItemLabelPlugin,
19
+ L as default,
20
+ P as modelItemLabelPluginServerParams
11
21
  };
@@ -3,7 +3,11 @@ var n = (t, e, o) => e in t ? s(t, e, { enumerable: !0, configurable: !0, writab
3
3
  var i = (t, e, o) => (n(t, typeof e != "symbol" ? e + "" : e, o), o);
4
4
  import r from "./RoomLabelItems.js";
5
5
  import { parseModelRoomLabelPluginData as a } from "./utils/parseData.js";
6
- class p {
6
+ import "../vendor/svelte/internal/index.js";
7
+ import "three";
8
+ import "./RoomLabelItem.js";
9
+ import "./Assets/roomLabelBg.js";
10
+ class c {
7
11
  constructor(e) {
8
12
  i(this, "five");
9
13
  i(this, "enabled", !0);
@@ -56,5 +60,5 @@ class p {
56
60
  }
57
61
  }
58
62
  export {
59
- p as ModelRoomLabelController
63
+ c as ModelRoomLabelController
60
64
  };
@@ -1,9 +1,16 @@
1
1
  import { ModelRoomLabelController as e } from "./Controller.js";
2
- const r = (o) => new e(o), n = {
2
+ import "./RoomLabelItems.js";
3
+ import "../vendor/svelte/internal/index.js";
4
+ import "three";
5
+ import "./RoomLabelItem.js";
6
+ import "./Assets/roomLabelBg.js";
7
+ import "./utils/parseData.js";
8
+ const p = (o) => new e(o), d = {
3
9
  name: "ModelRoomLabelPlugin",
4
10
  version: 0
5
11
  };
6
12
  export {
7
- r as ModelRoomLabelPlugin,
8
- n as modelRoomLabelPluginServerParams
13
+ p as ModelRoomLabelPlugin,
14
+ p as default,
15
+ d as modelRoomLabelPluginServerParams
9
16
  };
@@ -1,23 +1,32 @@
1
- var F = (s, b, e) => new Promise((m, y) => {
1
+ var F = (s, b, e) => new Promise((m, x) => {
2
2
  var w = (l) => {
3
3
  try {
4
- x(e.next(l));
5
- } catch (p) {
6
- y(p);
4
+ h(e.next(l));
5
+ } catch (y) {
6
+ x(y);
7
7
  }
8
8
  }, E = (l) => {
9
9
  try {
10
- x(e.throw(l));
11
- } catch (p) {
12
- y(p);
10
+ h(e.throw(l));
11
+ } catch (y) {
12
+ x(y);
13
13
  }
14
- }, x = (l) => l.done ? m(l.value) : Promise.resolve(l.value).then(w, E);
15
- x((e = e.apply(s, b)).next());
14
+ }, h = (l) => l.done ? m(l.value) : Promise.resolve(l.value).then(w, E);
15
+ h((e = e.apply(s, b)).next());
16
16
  });
17
17
  import * as d from "three";
18
18
  import { parseModelTVVideoPoints as I } from "./utils/parseData.js";
19
19
  import { CSS3DRenderPlugin as O } from "../CSS3DRenderPlugin/index.js";
20
- const C = (s, { videoElement: b }) => {
20
+ import "./typings.js";
21
+ import "../CSS3DRenderPlugin/Controller.js";
22
+ import "../CSS3DRenderPlugin/CSS3DRender.js";
23
+ import "three/examples/jsm/renderers/CSS3DRenderer";
24
+ import "../shared-utils/Subscribe.js";
25
+ import "../CSS3DRenderPlugin/utils/evenNumber.js";
26
+ import "../CSS3DRenderPlugin/utils/positionToVector3.js";
27
+ import "../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
28
+ import "../CSS3DRenderPlugin/utils/centerPoint.js";
29
+ const X = (s, { videoElement: b }) => {
21
30
  const e = {
22
31
  videoMeshes: [],
23
32
  videoTextureEnabled: !1,
@@ -25,12 +34,12 @@ const C = (s, { videoElement: b }) => {
25
34
  rectPoints: [],
26
35
  enabled: !1,
27
36
  videoElement: b
28
- }, m = O(s), y = /* @__PURE__ */ new Map(), w = (t) => {
37
+ }, m = O(s), x = /* @__PURE__ */ new Map(), w = (t) => {
29
38
  e.videoTexture && (e.videoTexture.image.muted = t);
30
- }, E = () => e.videoTexture ? e.videoTexture.image.muted : !0, x = () => {
39
+ }, E = () => e.videoTexture ? e.videoTexture.image.muted : !0, h = () => {
31
40
  if (e.enabled || !e.videoTexture)
32
41
  return;
33
- e.enabled = !0, e.videoMeshes = p(), e.videoMeshes.forEach((n) => s.scene.add(n));
42
+ e.enabled = !0, e.videoMeshes = y(), e.videoMeshes.forEach((n) => s.scene.add(n));
34
43
  const t = () => {
35
44
  if (!e.videoTexture)
36
45
  return;
@@ -56,7 +65,7 @@ const C = (s, { videoElement: b }) => {
56
65
  !e.enabled || (e.enabled = !1, e.videoMeshes.forEach((t) => {
57
66
  t.geometry.dispose(), t.material.dispose(), s.scene.remove(t), e.videoTexture && e.videoTexture.image.pause();
58
67
  }), e.videoMeshes = [], s.needsRender = !0);
59
- }, p = () => e.rectPoints.map((t, n) => {
68
+ }, y = () => e.rectPoints.map((t, n) => {
60
69
  const i = new d.BufferGeometry(), o = 128, a = [];
61
70
  a.push(...t[0].toArray());
62
71
  for (let r = 1; r < o; r++)
@@ -87,10 +96,10 @@ const C = (s, { videoElement: b }) => {
87
96
  i.setAttribute("position", new d.BufferAttribute(new Float32Array(a), 3)), i.setAttribute("uv", new d.BufferAttribute(new Float32Array(c), 2)), i.setIndex(new d.BufferAttribute(new Uint32Array(u), 1));
88
97
  const f = new d.AxesHelper(10);
89
98
  s.scene.add(f);
90
- const h = new d.MeshBasicMaterial({
99
+ const p = new d.MeshBasicMaterial({
91
100
  map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
92
101
  side: d.DoubleSide
93
- }), v = new d.Mesh(i, h);
102
+ }), v = new d.Mesh(i, p);
94
103
  v.renderOrder = 1, v.name = `ModelTVVideoPlugin-${n}-${performance.now()}`;
95
104
  const z = [t[1], t[2], t[3], t[0]], T = m.create3DDomContainer(z);
96
105
  if (T != null && T.container) {
@@ -99,7 +108,7 @@ const C = (s, { videoElement: b }) => {
99
108
  const g = document.createElement("img");
100
109
  g.src = "//vrlab-static.ljcdn.com/release/web/play.2ada5b6f.png", g.style.width = "200px", g.style.pointerEvents = "auto", g.onclick = () => {
101
110
  e.videoTexture.image.muted = !1, e.videoTexture.image.play();
102
- }, r.appendChild(g), y.set(v, T);
111
+ }, r.appendChild(g), x.set(v, T);
103
112
  }
104
113
  return v;
105
114
  }), L = (t) => {
@@ -119,7 +128,7 @@ const C = (s, { videoElement: b }) => {
119
128
  }, a.onerror = (c) => o(c), a.open("GET", t), a.responseType = "blob", a.send();
120
129
  }), V = (t, n) => F(void 0, null, function* () {
121
130
  const { video_src: i, video_poster_src: o, points: a } = t;
122
- e.videoSource = i, e.rectPoints = I(a).map((c) => c.map(({ x: u, y: f, z: h }) => new d.Vector3(u, f, h))), e.imageTexture = L(o), n && (e.videoElement = n), e.videoTexture = yield P(e.videoSource, e.videoElement), e.enabled = !!t.enable, e.enabled && x();
131
+ e.videoSource = i, e.rectPoints = I(a).map((c) => c.map(({ x: u, y: f, z: p }) => new d.Vector3(u, f, p))), e.imageTexture = L(o), n && (e.videoElement = n), e.videoTexture = yield P(e.videoSource, e.videoElement), e.enabled = !!t.enable, e.enabled && h();
123
132
  }), M = (t) => {
124
133
  if (!e.enabled)
125
134
  return;
@@ -132,15 +141,15 @@ const C = (s, { videoElement: b }) => {
132
141
  if (!e.enabled)
133
142
  return;
134
143
  const t = s.camera.position;
135
- if (y.forEach((n, i) => {
136
- const o = n.css3DObject.position.clone(), a = o.clone().sub(t).normalize(), c = new d.Raycaster(t, a), u = s.model.intersectRaycaster(c)[0], f = o.distanceTo(t), h = 0.01;
137
- u && u.distance + h < f ? n.hide() : n.show();
144
+ if (x.forEach((n, i) => {
145
+ const o = n.css3DObject.position.clone(), a = o.clone().sub(t).normalize(), c = new d.Raycaster(t, a), u = s.model.intersectRaycaster(c)[0], f = o.distanceTo(t), p = 0.01;
146
+ u && u.distance + p < f ? n.hide() : n.show();
138
147
  }), !E()) {
139
148
  const n = e.rectPoints.find((i) => {
140
149
  const o = i[0].clone().add(i[1]).add(i[2]).add(i[3]).divideScalar(4);
141
150
  return i.map((a) => a.clone().add(o).divideScalar(2)).filter((a) => {
142
- const c = a.distanceTo(t), u = new d.Raycaster(t, a.clone().sub(t).normalize()), f = s.model.intersectRaycaster(u)[0], h = 0.01;
143
- return !(f && f.distance + h < c);
151
+ const c = a.distanceTo(t), u = new d.Raycaster(t, a.clone().sub(t).normalize()), f = s.model.intersectRaycaster(u)[0], p = 0.01;
152
+ return !(f && f.distance + p < c);
144
153
  }).length >= 2;
145
154
  });
146
155
  (!n || n.length === 0) && w(!0);
@@ -156,8 +165,9 @@ const C = (s, { videoElement: b }) => {
156
165
  e.videoMeshes.forEach((t) => {
157
166
  t && (t.needsRender = !0);
158
167
  });
159
- }), { enable: x, disable: l, load: V, dispose: S, state: e, css3DRenderPlugin: m };
168
+ }), { enable: h, disable: l, load: V, dispose: S, state: e, css3DRenderPlugin: m };
160
169
  };
161
170
  export {
162
- C as ModelTVVideoPlugin
171
+ X as ModelTVVideoPlugin,
172
+ X as default
163
173
  };
@@ -1,2 +1,19 @@
1
+ import "./Plugin.js";
2
+ import { ModelTVVideoPlugin as M, ModelTVVideoPlugin as P } from "./Plugin.js";
3
+ import { DIRECTION as x } from "./typings.js";
1
4
  import "three";
5
+ import "./utils/parseData.js";
6
+ import "../CSS3DRenderPlugin/index.js";
7
+ import "../CSS3DRenderPlugin/Controller.js";
8
+ import "../CSS3DRenderPlugin/CSS3DRender.js";
2
9
  import "three/examples/jsm/renderers/CSS3DRenderer";
10
+ import "../shared-utils/Subscribe.js";
11
+ import "../CSS3DRenderPlugin/utils/evenNumber.js";
12
+ import "../CSS3DRenderPlugin/utils/positionToVector3.js";
13
+ import "../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
14
+ import "../CSS3DRenderPlugin/utils/centerPoint.js";
15
+ export {
16
+ x as DIRECTION,
17
+ M as ModelTVVideoPlugin,
18
+ P as default
19
+ };
@@ -102,5 +102,6 @@ const S = (o, i) => {
102
102
  return Object.assign(window, { camera: f }), o.on("modelLoaded", k), o.on("modelWillLoad", L), o.on("cameraDirectionUpdate", p), o.on("dispose", R), o.on("renderFrame", D), o.on("cameraPositionUpdate", p), { appendTo: P, refresh: b, changeConfigs: j };
103
103
  };
104
104
  export {
105
- S as ModelViewPlugin
105
+ S as ModelViewPlugin,
106
+ S as default
106
107
  };
@@ -1,2 +1,8 @@
1
+ import "./Plugin.js";
2
+ import { ModelViewPlugin as t, ModelViewPlugin as d } from "./Plugin.js";
1
3
  import "@realsee/five";
2
4
  import "three";
5
+ export {
6
+ t as ModelViewPlugin,
7
+ d as default
8
+ };
@@ -1,30 +1,30 @@
1
1
  var E = Object.defineProperty;
2
2
  var S = Object.getOwnPropertySymbols;
3
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
- for (var e in s || (s = {}))
6
- M.call(s, e) && b(i, e, s[e]);
4
+ var f = (o, i, e) => i in o ? E(o, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[i] = e, c = (o, i) => {
5
+ for (var e in i || (i = {}))
6
+ M.call(i, e) && f(o, e, i[e]);
7
7
  if (S)
8
- for (var e of S(s))
9
- O.call(s, e) && b(i, e, s[e]);
10
- return i;
8
+ for (var e of S(i))
9
+ O.call(i, e) && f(o, e, i[e]);
10
+ return o;
11
11
  };
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) => {
12
+ var h = (o, i, e) => (f(o, typeof i != "symbol" ? i + "" : i, e), e);
13
+ var b = (o, i, e) => new Promise((t, r) => {
14
+ var l = (s) => {
15
15
  try {
16
- a(e.next(o));
16
+ a(e.next(s));
17
17
  } catch (p) {
18
18
  r(p);
19
19
  }
20
- }, c = (o) => {
20
+ }, m = (s) => {
21
21
  try {
22
- a(e.throw(o));
22
+ a(e.throw(s));
23
23
  } catch (p) {
24
24
  r(p);
25
25
  }
26
- }, a = (o) => o.done ? t(o.value) : Promise.resolve(o.value).then(l, c);
27
- a((e = e.apply(i, s)).next());
26
+ }, a = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(l, m);
27
+ a((e = e.apply(o, i)).next());
28
28
  });
29
29
  import { Controller as D } from "../base/BasePlugin.js";
30
30
  import "three";
@@ -33,10 +33,31 @@ import { RotateHelper as I } from "../shared-utils/Object3DHelper/Helper/RotateH
33
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 m } from "./FiveControllerWrapper.js";
36
+ import { ControllerWrapper as u } from "./FiveControllerWrapper.js";
37
37
  import { Object3DHelper as P } from "../shared-utils/Object3DHelper/index.js";
38
38
  import { RotateController as $ } from "../shared-utils/Object3DHelper/Controller/RotateController.js";
39
39
  import { CSS3DScaleController as j } from "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
40
+ import "../shared-utils/Subscribe.js";
41
+ import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
42
+ import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
43
+ import "../shared-utils/Object3DHelper/utils/direction.js";
44
+ import "../shared-utils/Object3DHelper/Constants/color.js";
45
+ import "three/examples/jsm/renderers/CSS3DRenderer";
46
+ import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
47
+ import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
48
+ import "../CSS3DRenderPlugin/CSS3DRender.js";
49
+ import "../CSS3DRenderPlugin/utils/evenNumber.js";
50
+ import "../CSS3DRenderPlugin/utils/positionToVector3.js";
51
+ import "../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
52
+ import "../CSS3DRenderPlugin/utils/centerPoint.js";
53
+ import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
54
+ import "../shared-utils/Object3DHelper/Base/BaseController.js";
55
+ import "../shared-utils/Object3DHelper/utils/threex/domevents/index.js";
56
+ import "../shared-utils/isNil.js";
57
+ import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
58
+ import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
59
+ import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
60
+ import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
40
61
  const g = "v1.0.0", v = "Object3DHelperPlugin", H = `${v}@${g}`, L = () => {
41
62
  console.error(`${H} is disposed`);
42
63
  }, _ = () => {
@@ -44,7 +65,7 @@ const g = "v1.0.0", v = "Object3DHelperPlugin", H = `${v}@${g}`, L = () => {
44
65
  }, B = () => {
45
66
  console.error(`${H} is disabled`);
46
67
  };
47
- class K extends D {
68
+ class ue extends D {
48
69
  constructor(e) {
49
70
  super(e);
50
71
  h(this, "version", g);
@@ -58,12 +79,12 @@ class K extends D {
58
79
  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 });
59
80
  }
60
81
  show(e) {
61
- return u(this, null, function* () {
82
+ return b(this, null, function* () {
62
83
  this.setState({ visible: !0 }, e);
63
84
  });
64
85
  }
65
86
  hide(e) {
66
- return u(this, null, function* () {
87
+ return b(this, null, function* () {
67
88
  this.setState({ visible: !1 }, e);
68
89
  });
69
90
  }
@@ -81,8 +102,8 @@ class K extends D {
81
102
  return L();
82
103
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
83
104
  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 });
105
+ const r = c({}, this.state);
106
+ this.state = c(c({}, 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 });
86
107
  }
87
108
  getObject3DHelper(e) {
88
109
  return this.objectHelperMap.get(e);
@@ -97,19 +118,19 @@ class K extends D {
97
118
  }
98
119
  const r = new P();
99
120
  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;
121
+ const l = (C = this.five.getElement()) == null ? void 0 : C.parentElement, m = this.five.camera, { moveHelper: a = !0, rotateHelper: s = !0, scaleHelper: p = !0 } = t;
101
122
  if (a) {
102
- const n = new y(e), d = new m(this.five, F, e, n);
123
+ const n = new y(e), d = new u(this.five, F, e, n);
103
124
  r.addControllers({ moveController: d.helperController });
104
125
  }
105
- if (o) {
126
+ if (s) {
106
127
  let n;
107
- l && c && (n = { container: l });
108
- const d = new I(e, n), w = new m(this.five, $, e, d);
128
+ l && m && (n = { container: l });
129
+ const d = new I(e, n), w = new u(this.five, $, e, d);
109
130
  r.addControllers({ rotateController: w.helperController });
110
131
  }
111
132
  if (p && l) {
112
- const n = new k(e, l, c, this.five.scene), d = new m(this.five, j, e, n);
133
+ const n = new k(e, l, m, this.five.scene), d = new u(this.five, j, e, n);
113
134
  r.addControllers({ scaleController: d.helperController });
114
135
  }
115
136
  e.isCSS3DObjectPlus && e.changeMode("behind", this.five.scene);
@@ -139,7 +160,7 @@ class K extends D {
139
160
  }
140
161
  }
141
162
  export {
142
- K as Object3DHelperController,
163
+ ue as Object3DHelperController,
143
164
  H as PLUGIN,
144
165
  g as VERSION
145
166
  };