@realsee/dnalogel 3.41.0 → 3.41.1-alpha.0

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 (439) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/README.md +116 -0
  3. package/dist/CruisePlugin/BaseController.d.ts +0 -2
  4. package/dist/CurrentPanoImagePlugin/Controller.d.ts +1 -0
  5. package/dist/base/BasePlugin.d.ts +2 -0
  6. package/dist/index.cjs.js +63 -63
  7. package/dist/index.js +5102 -5085
  8. package/dist/index.umd.js +54 -54
  9. package/dist/shared-utils/Utils/FiveUtil.d.ts +1 -0
  10. package/dist/shared-utils/five/FiveDomEvents.d.ts +1 -0
  11. package/dist/shared-utils/five/getFiveModel.d.ts +2 -0
  12. package/docs/.nojekyll +1 -0
  13. package/docs/assets/custom.css +0 -0
  14. package/docs/assets/highlight.css +127 -0
  15. package/docs/assets/main.js +58 -0
  16. package/docs/assets/search.js +1 -0
  17. package/docs/assets/style.css +1367 -0
  18. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +731 -0
  19. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +694 -0
  20. package/docs/classes/CSS3DRender.html +778 -0
  21. package/docs/classes/GuideLineItem.GuideLineItem.html +481 -0
  22. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +894 -0
  23. package/docs/classes/Magnifier.html +485 -0
  24. package/docs/classes/ModelRoomLabelController.html +403 -0
  25. package/docs/classes/MoveController.html +681 -0
  26. package/docs/classes/Object3DHelperController.html +645 -0
  27. package/docs/classes/PaintBrush.html +507 -0
  28. package/docs/classes/PanoMeasurePluginLine.html +527 -0
  29. package/docs/classes/PanoMeasurePluginModel.html +576 -0
  30. package/docs/classes/PanoMeasurePluginPoint.html +367 -0
  31. package/docs/classes/PanoMeasurePluginPolyline.html +572 -0
  32. package/docs/classes/PanoTagPluginController.html +1132 -0
  33. package/docs/classes/Util.BetterTween.html +421 -0
  34. package/docs/classes/Util.Interval.html +437 -0
  35. package/docs/classes/Util.LineSegments.html +389 -0
  36. package/docs/classes/Util.Magnifier.html +508 -0
  37. package/docs/classes/Util.Object3D.html +411 -0
  38. package/docs/classes/Util.PointDomHelper.html +412 -0
  39. package/docs/classes/Util.PointHelper.html +403 -0
  40. package/docs/classes/Util.PointSelectorHelper.html +459 -0
  41. package/docs/classes/Util.Rectangle.html +460 -0
  42. package/docs/classes/WalkController.html +700 -0
  43. package/docs/enums/CameraMovementEffect.html +315 -0
  44. package/docs/enums/ContentType.html +461 -0
  45. package/docs/enums/DIRECTION.html +325 -0
  46. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +325 -0
  47. package/docs/enums/DimensionType.html +315 -0
  48. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +318 -0
  49. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +325 -0
  50. package/docs/enums/PaintBrushTypeEnum.html +318 -0
  51. package/docs/enums/PointType.html +315 -0
  52. package/docs/enums/Rotation.html +322 -0
  53. package/docs/functions/AreaMakerPlugin.html +295 -0
  54. package/docs/functions/CSS3DRenderPlugin.html +293 -0
  55. package/docs/functions/CameraMovementPlugin.html +298 -0
  56. package/docs/functions/CruisePlugin.html +295 -0
  57. package/docs/functions/CurrentPanoImagePlugin.html +295 -0
  58. package/docs/functions/GuideLinePlugin.html +295 -0
  59. package/docs/functions/ItemLabelPlugin.html +295 -0
  60. package/docs/functions/MapviewFloorplanPlugin.html +295 -0
  61. package/docs/functions/ModelChassisCompassPlugin.html +298 -0
  62. package/docs/functions/ModelEntryDoorGuidePlugin.html +298 -0
  63. package/docs/functions/ModelFloorplanPlugin.html +295 -0
  64. package/docs/functions/ModelItemLabelPlugin.html +295 -0
  65. package/docs/functions/ModelRoomLabelPlugin.html +293 -0
  66. package/docs/functions/ModelTVVideoPlugin.html +295 -0
  67. package/docs/functions/ModelViewPlugin.html +298 -0
  68. package/docs/functions/MovePlugin.html +295 -0
  69. package/docs/functions/Object3DHelperPlugin.html +293 -0
  70. package/docs/functions/PanoCompassPlugin.html +295 -0
  71. package/docs/functions/PanoCursorRaycasterPlugin.html +299 -0
  72. package/docs/functions/PanoDoorLabelPlugin.html +295 -0
  73. package/docs/functions/PanoFloorplanRadarPlugin.html +295 -0
  74. package/docs/functions/PanoMeasurePlugin.html +295 -0
  75. package/docs/functions/PanoRulerPlugin.html +298 -0
  76. package/docs/functions/PanoRulerProPlugin.html +298 -0
  77. package/docs/functions/PanoSpatialTagPlugin.html +298 -0
  78. package/docs/functions/PanoTagPlugin.html +300 -0
  79. package/docs/functions/PanoVideoPlugin.html +304 -0
  80. package/docs/functions/PipelinePlugin.html +293 -0
  81. package/docs/functions/TopviewFloorplanPlugin.html +295 -0
  82. package/docs/functions/Util.absoluteUrl.html +331 -0
  83. package/docs/functions/Util.checkFiveModelLoaded.html +334 -0
  84. package/docs/functions/Util.equal.html +343 -0
  85. package/docs/functions/Util.getCoordsFromClient.html +333 -0
  86. package/docs/functions/Util.getCoordsFromElement.html +333 -0
  87. package/docs/functions/Util.getFrameTime.html +325 -0
  88. package/docs/functions/Util.getIntersectFromRelativePosition.html +333 -0
  89. package/docs/functions/Util.getRaycasterFromFivePointer.html +333 -0
  90. package/docs/functions/Util.isAbsoluteURL.html +326 -0
  91. package/docs/functions/Util.isModelLike.html +326 -0
  92. package/docs/functions/Util.isNil.html +334 -0
  93. package/docs/functions/Util.isPanoramaLike.html +326 -0
  94. package/docs/functions/Util.nextFrame.html +339 -0
  95. package/docs/functions/Util.notNil.html +334 -0
  96. package/docs/functions/Util.requestAnimationFrameInterval.html +355 -0
  97. package/docs/functions/Util.tweenProgress.html +328 -0
  98. package/docs/functions/Util.uuid.html +324 -0
  99. package/docs/functions/pluginFlag.html +293 -0
  100. package/docs/index.html +358 -0
  101. package/docs/interfaces/AddTagConfig.html +308 -0
  102. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +335 -0
  103. package/docs/interfaces/AreaMakerPluginType.Config.html +340 -0
  104. package/docs/interfaces/AreaMakerPluginType.EventMap.html +626 -0
  105. package/docs/interfaces/AreaMakerPluginType.Params.html +339 -0
  106. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +397 -0
  107. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +382 -0
  108. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +339 -0
  109. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +332 -0
  110. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +331 -0
  111. package/docs/interfaces/AreaMakerPluginType.State.html +360 -0
  112. package/docs/interfaces/CSS3DRenderPluginEventMap.html +454 -0
  113. package/docs/interfaces/CSS3DRenderPluginState.html +330 -0
  114. package/docs/interfaces/CameraMovementPluginExportType.html +363 -0
  115. package/docs/interfaces/CruisePluginTypes.Config.html +364 -0
  116. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +366 -0
  117. package/docs/interfaces/CruisePluginTypes.EventMap.html +724 -0
  118. package/docs/interfaces/CruisePluginTypes.MoveAction.html +390 -0
  119. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +426 -0
  120. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +416 -0
  121. package/docs/interfaces/CruisePluginTypes.PluginData.html +356 -0
  122. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +324 -0
  123. package/docs/interfaces/CruisePluginTypes.PluginState.html +392 -0
  124. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +387 -0
  125. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +526 -0
  126. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +328 -0
  127. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +320 -0
  128. package/docs/interfaces/CurrentPanoImagePluginType.State.html +342 -0
  129. package/docs/interfaces/EventMap.html +547 -0
  130. package/docs/interfaces/FloorplanBounding.html +337 -0
  131. package/docs/interfaces/FloorplanData.html +340 -0
  132. package/docs/interfaces/FloorplanEntrance.html +365 -0
  133. package/docs/interfaces/FloorplanExtraObject.html +355 -0
  134. package/docs/interfaces/FloorplanExtraObject3D.html +344 -0
  135. package/docs/interfaces/FloorplanFloorData.html +333 -0
  136. package/docs/interfaces/FloorplanImagePosition.html +319 -0
  137. package/docs/interfaces/FloorplanObserver.html +337 -0
  138. package/docs/interfaces/FloorplanOutlineItem.html +333 -0
  139. package/docs/interfaces/FloorplanPosition.html +319 -0
  140. package/docs/interfaces/FloorplanRoomItem.html +407 -0
  141. package/docs/interfaces/FloorplanRoomLabelItem.html +325 -0
  142. package/docs/interfaces/FloorplanServerBounding.html +337 -0
  143. package/docs/interfaces/FloorplanServerComputedData.html +336 -0
  144. package/docs/interfaces/FloorplanServerData.html +319 -0
  145. package/docs/interfaces/FloorplanServerDoorItem.html +336 -0
  146. package/docs/interfaces/FloorplanServerDoorPosition.html +322 -0
  147. package/docs/interfaces/FloorplanServerEntrance.html +365 -0
  148. package/docs/interfaces/FloorplanServerFloorData.html +333 -0
  149. package/docs/interfaces/FloorplanServerImagePosition.html +319 -0
  150. package/docs/interfaces/FloorplanServerObserver.html +337 -0
  151. package/docs/interfaces/FloorplanServerOutlineItem.html +333 -0
  152. package/docs/interfaces/FloorplanServerPosition.html +319 -0
  153. package/docs/interfaces/FloorplanServerRoomItem.html +419 -0
  154. package/docs/interfaces/FloorplanServerRoomLabelItem.html +325 -0
  155. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +328 -0
  156. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +367 -0
  157. package/docs/interfaces/GuideLinePluginType.EventMap.html +531 -0
  158. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +362 -0
  159. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +353 -0
  160. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +452 -0
  161. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +342 -0
  162. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +352 -0
  163. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +522 -0
  164. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +349 -0
  165. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +532 -0
  166. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +314 -0
  167. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +335 -0
  168. package/docs/interfaces/GuideLinePluginType.PluginState.html +360 -0
  169. package/docs/interfaces/GuideLinePluginType.Route.html +376 -0
  170. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +358 -0
  171. package/docs/interfaces/HelperOffset.html +337 -0
  172. package/docs/interfaces/ImagePlaneGroup.html +311 -0
  173. package/docs/interfaces/ItemLabelPluginData.html +308 -0
  174. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +393 -0
  175. package/docs/interfaces/ItemLabelPluginParametersType.html +329 -0
  176. package/docs/interfaces/MinMax.html +315 -0
  177. package/docs/interfaces/ModelChassisCompassPluginData.html +315 -0
  178. package/docs/interfaces/ModelChassisCompassPluginExportType.html +351 -0
  179. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +315 -0
  180. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +322 -0
  181. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +359 -0
  182. package/docs/interfaces/ModelItemLabelPluginData.html +308 -0
  183. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +393 -0
  184. package/docs/interfaces/ModelItemLabelPluginParametersType.html +315 -0
  185. package/docs/interfaces/ModelRoomLabelPluginData.html +308 -0
  186. package/docs/interfaces/ModelTVVideoPluginData.html +329 -0
  187. package/docs/interfaces/ModelTVVideoPluginExportType.html +353 -0
  188. package/docs/interfaces/ModelTVVideoPluginParameterType.html +308 -0
  189. package/docs/interfaces/ModelViewPluginExportType.html +421 -0
  190. package/docs/interfaces/Object3DHelperState.html +322 -0
  191. package/docs/interfaces/ObjectHelperControllers.html +329 -0
  192. package/docs/interfaces/PaintBrushAction.html +368 -0
  193. package/docs/interfaces/PaintBrushConfigs.html +366 -0
  194. package/docs/interfaces/PaintBrushState.html +350 -0
  195. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +430 -0
  196. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +287 -0
  197. package/docs/interfaces/PanoMeasureParameterType.html +454 -0
  198. package/docs/interfaces/PanoMeasurePluginLineJson.html +322 -0
  199. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +319 -0
  200. package/docs/interfaces/PanoMeasurePluginPointJson.html +315 -0
  201. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +325 -0
  202. package/docs/interfaces/PanoRulerPluginExportType.html +382 -0
  203. package/docs/interfaces/PanoRulerPluginOptions.html +331 -0
  204. package/docs/interfaces/PanoRulerPluginParameterType.html +322 -0
  205. package/docs/interfaces/PanoRulerProPluginExportType.html +358 -0
  206. package/docs/interfaces/PanoRulerProPluginOptions.html +328 -0
  207. package/docs/interfaces/PanoRulerProPluginParameterType.html +315 -0
  208. package/docs/interfaces/PanoRulerProPluginState.html +322 -0
  209. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +301 -0
  210. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +290 -0
  211. package/docs/interfaces/PanoSpatialTagPluginData.html +358 -0
  212. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +340 -0
  213. package/docs/interfaces/PanoSpatialTagPluginExportType.html +436 -0
  214. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +336 -0
  215. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +357 -0
  216. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +343 -0
  217. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +336 -0
  218. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +328 -0
  219. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +346 -0
  220. package/docs/interfaces/PanoVideoPluginType.PluginData.html +319 -0
  221. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +425 -0
  222. package/docs/interfaces/PanoVideoPluginType.PluginState.html +319 -0
  223. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +354 -0
  224. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +373 -0
  225. package/docs/interfaces/Point.html +322 -0
  226. package/docs/interfaces/Room.html +329 -0
  227. package/docs/interfaces/RoomInfo.html +315 -0
  228. package/docs/interfaces/RoomLabel.html +391 -0
  229. package/docs/interfaces/RoomRules.html +290 -0
  230. package/docs/interfaces/Rooms.html +290 -0
  231. package/docs/interfaces/Scissor.html +349 -0
  232. package/docs/interfaces/State.html +336 -0
  233. package/docs/interfaces/TagCacheInterface.html +367 -0
  234. package/docs/interfaces/TagConfig.html +570 -0
  235. package/docs/interfaces/TagGLTFObjectGroup.html +311 -0
  236. package/docs/interfaces/TagIconUrl.html +368 -0
  237. package/docs/interfaces/TagObjectGroup.html +311 -0
  238. package/docs/interfaces/TagStyle.html +321 -0
  239. package/docs/interfaces/Tags.html +2825 -0
  240. package/docs/interfaces/TemporaryState.html +308 -0
  241. package/docs/interfaces/Util.MagnifierParameter.html +396 -0
  242. package/docs/interfaces/Util.MouseGroupParameter.html +355 -0
  243. package/docs/interfaces/Util.PointIntersection.html +370 -0
  244. package/docs/modules/AreaMakerPluginType.html +330 -0
  245. package/docs/modules/CruisePluginTypes.html +333 -0
  246. package/docs/modules/CurrentPanoImagePluginType.html +302 -0
  247. package/docs/modules/GuideLineItem.html +294 -0
  248. package/docs/modules/GuideLineModeItem.html +299 -0
  249. package/docs/modules/GuideLinePluginType.html +355 -0
  250. package/docs/modules/PanoVideoPluginType.html +306 -0
  251. package/docs/modules/Util.html +356 -0
  252. package/docs/modules.html +564 -0
  253. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +359 -0
  254. package/docs/types/AreaMakerPluginType.ItemRenderer.html +325 -0
  255. package/docs/types/AreaMakerPluginType.PluginData.html +307 -0
  256. package/docs/types/AreaMakerPluginType.ServerData.html +307 -0
  257. package/docs/types/ArrayPosition.html +284 -0
  258. package/docs/types/AudioAppearance.html +284 -0
  259. package/docs/types/AudioTagTypeConfigKey.html +284 -0
  260. package/docs/types/CSS3DRenderExportType.html +284 -0
  261. package/docs/types/CSS3DRenderPluginExportType.html +284 -0
  262. package/docs/types/CSS3DRenderPluginParameterType.html +284 -0
  263. package/docs/types/ClassFunctionParameters.html +291 -0
  264. package/docs/types/Color.html +284 -0
  265. package/docs/types/ContentTypeConfigKey.html +284 -0
  266. package/docs/types/ContentTypeConfigKeySplit.html +284 -0
  267. package/docs/types/ContentTypeMap.html +284 -0
  268. package/docs/types/Create3DDomContainerReturnType.html +284 -0
  269. package/docs/types/Create3DElementReturnType.html +284 -0
  270. package/docs/types/CruisePluginExportType.html +284 -0
  271. package/docs/types/CruisePluginTypes.CruiseData.html +323 -0
  272. package/docs/types/CruisePluginTypes.MoveEffect.html +300 -0
  273. package/docs/types/CurrentPanoImagePluginExportType.html +284 -0
  274. package/docs/types/DeprecatedMediaPlaneProperty.html +296 -0
  275. package/docs/types/DeprecatedTagProperty.html +299 -0
  276. package/docs/types/Direction-1.html +284 -0
  277. package/docs/types/Direction4.html +284 -0
  278. package/docs/types/ElementRenderer.html +308 -0
  279. package/docs/types/FloorplanRuleLabels.html +287 -0
  280. package/docs/types/FloorplanServerRuleLabels.html +284 -0
  281. package/docs/types/GuideLinePluginExportType.html +284 -0
  282. package/docs/types/GuideLinePluginType.GuideLineItem.html +357 -0
  283. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +378 -0
  284. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +311 -0
  285. package/docs/types/GuideLinePluginType.GuideLineStyle.html +314 -0
  286. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +314 -0
  287. package/docs/types/GuideLinePluginType.PathItem.html +314 -0
  288. package/docs/types/GuideLinePluginType.PluginData.html +323 -0
  289. package/docs/types/HelperEventMap.html +429 -0
  290. package/docs/types/InternalHelperEventMap.html +380 -0
  291. package/docs/types/LoadTagConfig.html +284 -0
  292. package/docs/types/MapviewFloorplanPluginParameterType.html +284 -0
  293. package/docs/types/MapviewFloorplanPluginReturnType.html +284 -0
  294. package/docs/types/MediaData.html +305 -0
  295. package/docs/types/MediaStore.html +289 -0
  296. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +291 -0
  297. package/docs/types/ModelFloorplanPluginParameterType.html +284 -0
  298. package/docs/types/ModelFloorplanPluginReturnType.html +284 -0
  299. package/docs/types/ModelId.html +284 -0
  300. package/docs/types/ModelRoomLabelPluginParameters.html +284 -0
  301. package/docs/types/ModelRoomLabelPluginReturnType.html +284 -0
  302. package/docs/types/MoveArgs.html +294 -0
  303. package/docs/types/MoveOpts.html +292 -0
  304. package/docs/types/Object3DHelperEventMap.html +377 -0
  305. package/docs/types/ObjectFit.html +284 -0
  306. package/docs/types/PaintBrushEventMap.html +315 -0
  307. package/docs/types/PanoCompassPluginData.html +284 -0
  308. package/docs/types/PanoCompassPluginExportType.html +284 -0
  309. package/docs/types/PanoCompassPluginParameterType.html +284 -0
  310. package/docs/types/PanoFloorplanRadarPluginParameterType.html +284 -0
  311. package/docs/types/PanoFloorplanRadarPluginReturnType.html +284 -0
  312. package/docs/types/PanoIndex.html +284 -0
  313. package/docs/types/PanoMeasurePluginEvent.html +284 -0
  314. package/docs/types/PanoMeasureReturnType.html +284 -0
  315. package/docs/types/PanoSpatialTagPluginId.html +284 -0
  316. package/docs/types/PanoTagPluginExportInterface.html +284 -0
  317. package/docs/types/PanoTagPluginParamsInterface.html +284 -0
  318. package/docs/types/PanoVideoPluginParameterType.html +284 -0
  319. package/docs/types/PanoVideoPluginReturnType.html +284 -0
  320. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +292 -0
  321. package/docs/types/PipelinePluginParameterType.html +284 -0
  322. package/docs/types/PipelinePluginReturnType.html +284 -0
  323. package/docs/types/PlaneTag.html +292 -0
  324. package/docs/types/Point2DTag.html +292 -0
  325. package/docs/types/Point3DTag.html +292 -0
  326. package/docs/types/PointTag.html +289 -0
  327. package/docs/types/PointTagInstance.html +289 -0
  328. package/docs/types/Position.html +284 -0
  329. package/docs/types/RotateArgs.html +296 -0
  330. package/docs/types/RotateOpts.html +292 -0
  331. package/docs/types/RuleLabelsKey.html +284 -0
  332. package/docs/types/RuleLabelsValue.html +284 -0
  333. package/docs/types/StickType.html +284 -0
  334. package/docs/types/Tag.html +350 -0
  335. package/docs/types/Tag2D.html +292 -0
  336. package/docs/types/Tag3D.html +292 -0
  337. package/docs/types/TagConfigByKey.html +289 -0
  338. package/docs/types/TagContentType.html +284 -0
  339. package/docs/types/TagContentTypeMapping.html +284 -0
  340. package/docs/types/TagDimensionType.html +286 -0
  341. package/docs/types/TagElement.html +294 -0
  342. package/docs/types/TagEvents.html +337 -0
  343. package/docs/types/TagGLTFObject.html +307 -0
  344. package/docs/types/TagHooks.html +284 -0
  345. package/docs/types/TagId.html +284 -0
  346. package/docs/types/TagInstance.html +362 -0
  347. package/docs/types/TagPointType.html +287 -0
  348. package/docs/types/TagRendererMap.html +291 -0
  349. package/docs/types/TopviewFloorplanPluginParameterType.html +284 -0
  350. package/docs/types/TopviewFloorplanPluginReturnType.html +284 -0
  351. package/docs/types/WorkCode.html +284 -0
  352. package/docs/variables/FLOOR_TYPE_MAP.html +294 -0
  353. package/docs/variables/PLUGIN.html +284 -0
  354. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +287 -0
  355. package/docs/variables/ROOM_TYPE_MAP.html +294 -0
  356. package/docs/variables/defaultGlobalConfig.html +284 -0
  357. package/docs/variables/itemLabelPluginServerParams.html +291 -0
  358. package/docs/variables/modelItemLabelPluginServerParams.html +291 -0
  359. package/docs/variables/modelRoomLabelPluginServerParams.html +291 -0
  360. package/libs/AreaMakerPlugin/Controller.js +6 -4
  361. package/libs/AreaMakerPlugin/index.js +5 -3
  362. package/libs/AreaMakerPlugin/utils/Item.js +2 -2
  363. package/libs/CSS3DRenderPlugin/Controller.js +3 -2
  364. package/libs/CSS3DRenderPlugin/index.js +6 -5
  365. package/libs/CruisePlugin/BaseController.d.ts +0 -2
  366. package/libs/CruisePlugin/BaseController.js +36 -36
  367. package/libs/CruisePlugin/Move.js +5 -4
  368. package/libs/CruisePlugin/Work.js +5 -4
  369. package/libs/CruisePlugin/index.js +9 -8
  370. package/libs/CurrentPanoImagePlugin/Controller.d.ts +1 -0
  371. package/libs/CurrentPanoImagePlugin/Controller.js +13 -11
  372. package/libs/CurrentPanoImagePlugin/index.js +6 -4
  373. package/libs/GuideLinePlugin/Controller.js +7 -6
  374. package/libs/GuideLinePlugin/GuideLineItem.js +5 -4
  375. package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -3
  376. package/libs/GuideLinePlugin/index.js +9 -8
  377. package/libs/GuideLinePlugin/utils/createLineGeometry.js +66 -66
  378. package/libs/ModelMakerPlugin/Controller.js +5 -3
  379. package/libs/ModelMakerPlugin/index.js +5 -3
  380. package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
  381. package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
  382. package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
  383. package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
  384. package/libs/ModelMakerPlugin/utils/getFiveDomEvent.js +7 -6
  385. package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
  386. package/libs/ModelTVVideoPlugin/index.js +3 -2
  387. package/libs/Object3DHelperPlugin/Controller.js +16 -14
  388. package/libs/Object3DHelperPlugin/index.js +8 -6
  389. package/libs/PanoCompassPlugin/Controller.js +5 -3
  390. package/libs/PanoCompassPlugin/index.js +6 -4
  391. package/libs/PanoDoorLabelPlugin/BaseController.js +9 -7
  392. package/libs/PanoDoorLabelPlugin/Controller.js +5 -3
  393. package/libs/PanoDoorLabelPlugin/index.js +6 -4
  394. package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
  395. package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
  396. package/libs/PanoMeasurePlugin/Controller/EditController.js +4 -3
  397. package/libs/PanoMeasurePlugin/Controller/MixedController.js +35 -34
  398. package/libs/PanoMeasurePlugin/Controller/WatchController.js +50 -49
  399. package/libs/PanoMeasurePlugin/Controller/index.js +5 -3
  400. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -2
  401. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +4 -3
  402. package/libs/PanoMeasurePlugin/index.js +16 -14
  403. package/libs/PanoSpatialTagPlugin/Plugin.js +4 -3
  404. package/libs/PanoSpatialTagPlugin/index.js +1 -0
  405. package/libs/PanoTagPlugin/controller/TagCache.js +11 -9
  406. package/libs/PanoTagPlugin/controller/TagComputer.js +12 -10
  407. package/libs/PanoTagPlugin/controller/TagRender.js +5 -3
  408. package/libs/PanoTagPlugin/controller/TagUtil.js +5 -3
  409. package/libs/PanoTagPlugin/controller/index.js +8 -6
  410. package/libs/PanoTagPlugin/index.js +14 -12
  411. package/libs/PanoVideoPlugin/Controller.js +5 -3
  412. package/libs/PanoVideoPlugin/index.js +8 -6
  413. package/libs/PipelinePlugin/Controller.js +25 -23
  414. package/libs/PipelinePlugin/index.js +6 -4
  415. package/libs/base/BasePlugin.d.ts +2 -0
  416. package/libs/base/BasePlugin.js +14 -13
  417. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +14 -11
  418. package/libs/floorplan/MapviewFloorplanPlugin/index.js +7 -4
  419. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -3
  420. package/libs/floorplan/ModelFloorplanPlugin/index.js +6 -4
  421. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +5 -3
  422. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +6 -4
  423. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -3
  424. package/libs/floorplan/TopviewFloorplanPlugin/index.js +6 -4
  425. package/libs/index.js +128 -127
  426. package/libs/shared-utils/Utils/FiveUtil.d.ts +1 -0
  427. package/libs/shared-utils/Utils/FiveUtil.js +11 -7
  428. package/libs/shared-utils/five/FiveDomEvents.d.ts +1 -0
  429. package/libs/shared-utils/five/FiveDomEvents.js +46 -42
  430. package/libs/shared-utils/five/fiveModelLoad.js +26 -17
  431. package/libs/shared-utils/five/getFiveModel.d.ts +2 -0
  432. package/libs/shared-utils/five/getFiveModel.js +7 -0
  433. package/libs/shared-utils/five/getPosition.js +24 -23
  434. package/libs/shared-utils/logger.js +1 -1
  435. package/libs/shared-utils/tag.js +10 -9
  436. package/libs/shared-utils/three/getIntersect.js +19 -18
  437. package/package.json +1 -1
  438. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +0 -2
  439. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +0 -31
@@ -1,30 +1,30 @@
1
1
  import * as r from "three";
2
2
  import { Vector3 as ot } from "three";
3
- import { polylineNormals as at } from "../../vendor/polyline-normals/index.js";
4
- import { lineIsIntersecting as lt, findIntersectingOfLines as ut } from "../../shared-utils/math/intersecting.js";
3
+ import { polylineNormals as lt } from "../../vendor/polyline-normals/index.js";
4
+ import { lineIsIntersecting as ut, findIntersectingOfLines as ft } from "../../shared-utils/math/intersecting.js";
5
5
  import "../../vendor/polyline-miter-util/index.js";
6
6
  import "../../vendor/gl-vec2/add.js";
7
7
  import "../../vendor/gl-vec2/set.js";
8
8
  import "../../vendor/gl-vec2/normalize.js";
9
9
  import "../../vendor/gl-vec2/subtract.js";
10
10
  import "../../vendor/gl-vec2/dot.js";
11
- const ft = 2, ht = 3, mt = 3, pt = 2;
12
- function Lt(i) {
13
- const O = i.width, N = i.unitLength, b = O / 2, F = i.path;
14
- if (F.length === 0)
11
+ const ht = 2, mt = 3, pt = 3, dt = 2;
12
+ function Vt(i) {
13
+ const O = i.width, N = i.unitLength, b = O / 2, G = i.path;
14
+ if (G.length === 0)
15
15
  return { geometry: new r.BufferGeometry(), maxV: 0, curvePath: null, curvePoints: null };
16
- const P = new r.CurvePath();
17
- F.forEach((t) => {
18
- const n = dt(t);
19
- n && P.add(n);
16
+ const A = new r.CurvePath();
17
+ G.forEach((t) => {
18
+ const n = xt(t);
19
+ n && A.add(n);
20
20
  });
21
- const q = Math.ceil(P.getLength() * 100);
22
- P.arcLengthDivisions = q;
23
- const I = P.getPoints(q), d = I.length;
21
+ const q = Math.ceil(A.getLength() * 100);
22
+ A.arcLengthDivisions = q;
23
+ const P = A.getPoints(q), d = P.length;
24
24
  if (d <= 2)
25
25
  return { geometry: new r.BufferGeometry(), maxV: 0, curvePath: null, curvePoints: null };
26
- const st = at(I.map((t) => [t.x, t.z])), ct = (d - 1) * ft * ht, j = 2 * d, it = j * mt, rt = j * pt, y = new Uint32Array(ct), e = new Float32Array(it), T = new Float32Array(rt), J = P.getLength();
27
- let R = 0, K = 0, Q = {};
26
+ const st = lt(P.map((t) => [t.x, t.z])), ct = (d - 1) * ht * mt, j = 2 * d, it = j * pt, rt = j * dt, v = new Uint32Array(ct), e = new Float32Array(it), T = new Float32Array(rt), J = A.getLength();
27
+ let I = 0, K = 0, Q = {};
28
28
  const k = i.path[0].points.map((t) => new r.Vector3().fromArray(t)), W = i.path[0].panoIndexList ? [...i.path[0].panoIndexList] : void 0, tt = (() => {
29
29
  const t = [];
30
30
  for (let s = 0; s < k.length; s++) {
@@ -32,45 +32,45 @@ function Lt(i) {
32
32
  if (s === 0)
33
33
  t.push(0);
34
34
  else {
35
- const f = k[s - 1];
36
- t.push(u.distanceTo(f) + t[s - 1]);
35
+ const h = k[s - 1];
36
+ t.push(u.distanceTo(h) + t[s - 1]);
37
37
  }
38
38
  }
39
39
  const n = t.at(-1), p = [];
40
40
  for (let s = 0; s < t.length; s++) {
41
- const u = t[s], f = s === 0 ? 0 : t[s - 1], E = s === t.length - 1 ? n : t[s + 1], a = u - Math.min(0.3, (u - f) / 2), l = u + Math.min(0.3, (E - u) / 2);
41
+ const u = t[s], h = s === 0 ? 0 : t[s - 1], y = s === t.length - 1 ? n : t[s + 1], a = u - Math.min(0.3, (u - h) / 2), l = u + Math.min(0.3, (y - u) / 2);
42
42
  p.push([J * (a / n), J * (l / n)]);
43
43
  }
44
44
  return p;
45
45
  })();
46
- let G = [];
46
+ let S = [];
47
47
  for (let t = 0; t < d; t++) {
48
- const [n, p] = st[t][0], s = I[t], { x: u, y: f, z: E } = s, a = new ot(u + n * b, f + 0.05, E + p * b);
48
+ const [n, p] = st[t][0], s = P[t], { x: u, y: h, z: y } = s, a = new ot(u + n * b, h + 0.05, y + p * b);
49
49
  e[t * 6 + 0] = a.x, e[t * 6 + 1] = a.y, e[t * 6 + 2] = a.z;
50
- const l = new ot(u - n * b, f + 0.05, E - p * b);
51
- e[t * 6 + 3] = l.x, e[t * 6 + 4] = l.y, e[t * 6 + 5] = l.z, R += t > 0 ? I[t - 1].clone().sub(I[t]).length() : 0;
52
- const w = R / N;
53
- K = w, T[t * 4 + 0] = 0, T[t * 4 + 1] = w, T[t * 4 + 2] = 1, T[t * 4 + 3] = w;
50
+ const l = new ot(u - n * b, h + 0.05, y - p * b);
51
+ e[t * 6 + 3] = l.x, e[t * 6 + 4] = l.y, e[t * 6 + 5] = l.z, I += t > 0 ? P[t - 1].clone().sub(P[t]).length() : 0;
52
+ const R = I / N;
53
+ K = R, T[t * 4 + 0] = 0, T[t * 4 + 1] = R, T[t * 4 + 2] = 1, T[t * 4 + 3] = R;
54
54
  const _ = new r.Vector3().lerpVectors(a, l, 0.5);
55
- if (i.skipPositions && i.skipPositions.some((L) => L.distanceTo(_) < 0.26))
55
+ if (i.skipPositions && i.skipPositions.some((C) => C.distanceTo(_) < 0.26))
56
56
  continue;
57
- const h = k[0];
58
- if (i.useAutoDepthTest && h && W) {
59
- const C = W[0], [L, g] = tt[0];
60
- if (R > L && R < g && G.push({
61
- distance: h.distanceTo(_),
57
+ const L = k[0];
58
+ if (i.useAutoDepthTest && L && W) {
59
+ const f = W[0], [C, M] = tt[0];
60
+ if (I > C && I < M && S.push({
61
+ distance: L.distanceTo(_),
62
62
  index: t
63
- }), R >= g || t === d - 1) {
64
- const U = Math.min(...G.map((M) => M.distance)), c = G.find((M) => M.distance === U);
65
- if (G = [], k.shift(), W.shift(), tt.shift(), c)
66
- Q[C] = c.index;
63
+ }), I >= M || t === d - 1) {
64
+ const E = Math.min(...S.map((c) => c.distance)), D = S.find((c) => c.distance === E);
65
+ if (S = [], k.shift(), W.shift(), tt.shift(), D)
66
+ Q[f] = D.index;
67
67
  else {
68
- console.error(`can not find the min distance ${C}`);
68
+ console.error(`can not find the min distance ${f}`);
69
69
  continue;
70
70
  }
71
71
  }
72
72
  }
73
- t !== d - 1 && (y[t * 6 + 0] = t * 2 + 0, y[t * 6 + 1] = t * 2 + 2, y[t * 6 + 2] = t * 2 + 1, y[t * 6 + 3] = t * 2 + 2, y[t * 6 + 4] = t * 2 + 3, y[t * 6 + 5] = t * 2 + 1);
73
+ t !== d - 1 && (v[t * 6 + 0] = t * 2 + 0, v[t * 6 + 1] = t * 2 + 2, v[t * 6 + 2] = t * 2 + 1, v[t * 6 + 3] = t * 2 + 2, v[t * 6 + 4] = t * 2 + 3, v[t * 6 + 5] = t * 2 + 1);
74
74
  }
75
75
  const x = [];
76
76
  let H;
@@ -87,43 +87,43 @@ function Lt(i) {
87
87
  }, u = {
88
88
  x: e[n * 6 + 0],
89
89
  y: e[n * 6 + 2]
90
- }, f = {
90
+ }, h = {
91
91
  x: e[n * 6 + 3],
92
92
  y: e[n * 6 + 5]
93
- }, E = lt([p, s], [u, f]);
94
- if (E && x.push(t), !E && x.length) {
93
+ }, y = ut([p, s], [u, h]);
94
+ if (y && x.push(t), !y && x.length) {
95
95
  x.push(t);
96
- const a = new r.Vector2(p.x, p.y).distanceTo(new r.Vector2(u.x, u.y)), l = new r.Vector2(s.x, s.y).distanceTo(new r.Vector2(f.x, f.y)), w = [], _ = [], h = Math.max(0, x[0] - N * 200), C = x[0];
97
- for (let c = h; c < C; c++)
98
- a < l ? w.push({ x: e[c * 6 + 0], y: e[c * 6 + 2] }) : w.push({ x: e[c * 6 + 3], y: e[c * 6 + 5] });
99
- const L = x.at(-1), g = x.at(-1) + N * 200;
100
- for (let c = L; c < g; c++)
96
+ const a = new r.Vector2(p.x, p.y).distanceTo(new r.Vector2(u.x, u.y)), l = new r.Vector2(s.x, s.y).distanceTo(new r.Vector2(h.x, h.y)), R = 200, _ = [], L = [], f = Math.max(0, x[0] - N * R), C = x[0];
97
+ for (let c = f; c < C; c++)
101
98
  a < l ? _.push({ x: e[c * 6 + 0], y: e[c * 6 + 2] }) : _.push({ x: e[c * 6 + 3], y: e[c * 6 + 5] });
102
- const U = ut(w, _);
103
- if (U) {
99
+ const M = x.at(-1), E = x.at(-1) + N * R;
100
+ for (let c = M; c < E; c++)
101
+ a < l ? L.push({ x: e[c * 6 + 0], y: e[c * 6 + 2] }) : L.push({ x: e[c * 6 + 3], y: e[c * 6 + 5] });
102
+ const D = ft(_, L);
103
+ if (D) {
104
104
  const {
105
105
  line1RelativeIndex: c,
106
- line2RelativeIndex: M,
106
+ line2RelativeIndex: at,
107
107
  x: et,
108
108
  y: nt
109
- } = U, A = h + c, v = L + M + 2;
110
- for (let o = A; o < v; o++)
109
+ } = D, w = f + c, g = M + at + 2;
110
+ for (let o = w; o < g; o++)
111
111
  a < l ? (e[o * 6 + 0] = et, e[o * 6 + 2] = nt) : (e[o * 6 + 3] = et, e[o * 6 + 5] = nt), H = o;
112
112
  let V, Y, X, z, m;
113
- a < l ? (V = e[h * 6 + 1], Y = e[A * 6 + 1], X = e[v * 6 + 1], z = e[g * 6 + 1], m = (Y + X) / 2) : (V = e[h * 6 + 4], Y = e[A * 6 + 4], X = e[v * 6 + 4], z = e[g * 6 + 4], m = (Y + X) / 2);
114
- for (let o = h; o < A; o++) {
115
- const $ = A - h, D = (o - h) / $;
116
- a < l ? e[o * 6 + 1] = V + (m - V) * D : e[o * 6 + 4] = V + (m - V) * D;
113
+ a < l ? (V = e[f * 6 + 1], Y = e[w * 6 + 1], X = e[g * 6 + 1], z = e[E * 6 + 1], m = (Y + X) / 2) : (V = e[f * 6 + 4], Y = e[w * 6 + 4], X = e[g * 6 + 4], z = e[E * 6 + 4], m = (Y + X) / 2);
114
+ for (let o = f; o < w; o++) {
115
+ const $ = w - f, F = (o - f) / $;
116
+ a < l ? e[o * 6 + 1] = V + (m - V) * F : e[o * 6 + 4] = V + (m - V) * F;
117
117
  }
118
- for (let o = A; o < v; o++)
118
+ for (let o = w; o < g; o++)
119
119
  a < l ? e[o * 6 + 1] = m : e[o * 6 + 4] = m;
120
- for (let o = v; o < g; o++) {
121
- const $ = g - v, D = (o - v + 1) / $;
122
- a < l ? e[o * 6 + 1] = m + (z - m) * D : e[o * 6 + 4] = m + (z - m) * D;
120
+ for (let o = g; o < E; o++) {
121
+ const $ = E - g, F = (o - g + 1) / $;
122
+ a < l ? e[o * 6 + 1] = m + (z - m) * F : e[o * 6 + 4] = m + (z - m) * F;
123
123
  }
124
124
  Z.push({
125
- start: A,
126
- end: v
125
+ start: w,
126
+ end: g
127
127
  });
128
128
  }
129
129
  x.length = 0;
@@ -134,18 +134,18 @@ function Lt(i) {
134
134
  for (let n = 0; n < d - 1; n++)
135
135
  n >= t.start && n <= t.end ? (B[n * 2 + 0] = 1, B[n * 2 + 1] = 1) : B[n] !== 1 && (B[n * 2 + 0] = 0, B[n * 2 + 1] = 0);
136
136
  });
137
- const S = new r.BufferGeometry();
138
- return S.setAttribute("position", new r.BufferAttribute(e, 3)), S.setAttribute("uv", new r.BufferAttribute(T, 2)), S.setIndex(new r.BufferAttribute(y, 1)), { geometry: S, maxV: K, animationWillError: Z, curvePath: P, curvePoints: I, panoMap: Q, totalLength: R };
137
+ const U = new r.BufferGeometry();
138
+ return U.setAttribute("position", new r.BufferAttribute(e, 3)), U.setAttribute("uv", new r.BufferAttribute(T, 2)), U.setIndex(new r.BufferAttribute(v, 1)), { geometry: U, maxV: K, animationWillError: Z, curvePath: A, curvePoints: P, panoMap: Q, totalLength: I };
139
139
  }
140
- function dt(i) {
141
- if (xt(i)) {
142
- const O = [i.closed, i.curve_type, i.tension], N = i.points.map((F) => new r.Vector3().fromArray(F));
140
+ function xt(i) {
141
+ if (gt(i)) {
142
+ const O = [i.closed, i.curve_type, i.tension], N = i.points.map((G) => new r.Vector3().fromArray(G));
143
143
  return new r.CatmullRomCurve3(N, ...O);
144
144
  }
145
145
  }
146
- function xt(i) {
146
+ function gt(i) {
147
147
  return i.type === "CatmullRomCurve3";
148
148
  }
149
149
  export {
150
- Lt as createLineGeometry
150
+ Vt as createLineGeometry
151
151
  };
@@ -38,9 +38,11 @@ import { getFiveDomEvent as q } from "./utils/getFiveDomEvent.js";
38
38
  import "../base/BasePlugin.js";
39
39
  import "../shared-utils/Subscribe.js";
40
40
  import "../shared-utils/url/absoluteUrl.js";
41
- import "../shared-utils/Utils/WorkUtil.js";
41
+ import "../shared-utils/Utils/FiveUtil.js";
42
42
  import "../shared-utils/Utils/BaseUtil.js";
43
+ import "../shared-utils/Utils/WorkUtil.js";
43
44
  import "../shared-utils/five/transformPosition.js";
45
+ import "../shared-utils/five/getFiveModel.js";
44
46
  import "../shared-utils/three/IObject3D.js";
45
47
  import "../Sculpt/Meshes/Polygon.js";
46
48
  import "../shared-utils/three/generatePolygonGeometry.js";
@@ -79,7 +81,7 @@ import "../shared-utils/tag.js";
79
81
  import "../shared-utils/five/vector3ToScreen.js";
80
82
  import "../shared-utils/five/FiveDomEvents.js";
81
83
  import "../shared-utils/five/calculateThreeMouse.js";
82
- class Xe extends T {
84
+ class tt extends T {
83
85
  constructor(e, t) {
84
86
  var s, p;
85
87
  super(e);
@@ -237,5 +239,5 @@ class Xe extends T {
237
239
  }
238
240
  }
239
241
  export {
240
- Xe as Controller
242
+ tt as Controller
241
243
  };
@@ -22,9 +22,11 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
22
22
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
23
  import "animejs";
24
24
  import "../shared-utils/url/absoluteUrl.js";
25
- import "../shared-utils/Utils/WorkUtil.js";
25
+ import "../shared-utils/Utils/FiveUtil.js";
26
26
  import "../shared-utils/Utils/BaseUtil.js";
27
+ import "../shared-utils/Utils/WorkUtil.js";
27
28
  import "../shared-utils/five/transformPosition.js";
29
+ import "../shared-utils/five/getFiveModel.js";
28
30
  import "./item/boxItem.js";
29
31
  import "./item/polygonItem.js";
30
32
  import "./item/baseItem.js";
@@ -61,7 +63,7 @@ import "../vendor/svelte/internal/index.js";
61
63
  import "../components/AreaLabel/LabelItem.js";
62
64
  import "../components/AreaLabel/Assets/roomLabelBg.js";
63
65
  import "./item/prismItem.js";
64
- const co = (...o) => new r(...o);
66
+ const go = (...o) => new r(...o);
65
67
  export {
66
- co as ModelMakerPlugin
68
+ go as ModelMakerPlugin
67
69
  };
@@ -9,10 +9,11 @@ import { boundingBox as p } from "../../shared-utils/Object3DHelper/utils/boundi
9
9
  import { getFiveDomEvent as c } from "../utils/getFiveDomEvent.js";
10
10
  import "../../shared-utils/positionToVector3.js";
11
11
  import "../../shared-utils/five/vector3ToScreen.js";
12
+ import "../../shared-utils/five/getFiveModel.js";
12
13
  import "../../shared-utils/five/FiveDomEvents.js";
13
14
  import "../../shared-utils/three/getObjectVisible.js";
14
15
  import "../../shared-utils/five/calculateThreeMouse.js";
15
- class y extends a {
16
+ class C extends a {
16
17
  constructor(e) {
17
18
  var o, r;
18
19
  super();
@@ -55,5 +56,5 @@ class y extends a {
55
56
  }
56
57
  }
57
58
  export {
58
- y as ModelMakerBaseItem
59
+ C as ModelMakerBaseItem
59
60
  };
@@ -6,16 +6,17 @@ import "../../shared-utils/Subscribe.js";
6
6
  import "../../shared-utils/tag.js";
7
7
  import "../../shared-utils/positionToVector3.js";
8
8
  import "../../shared-utils/five/vector3ToScreen.js";
9
+ import "../../shared-utils/five/getFiveModel.js";
9
10
  import "../../shared-utils/Object3DHelper/utils/boundingBox.js";
10
11
  import "../utils/getFiveDomEvent.js";
11
12
  import "../../shared-utils/five/FiveDomEvents.js";
12
13
  import "../../shared-utils/three/getObjectVisible.js";
13
14
  import "../../shared-utils/five/calculateThreeMouse.js";
14
- class u extends r {
15
+ class I extends r {
15
16
  constructor(...o) {
16
17
  super(...o);
17
18
  }
18
19
  }
19
20
  export {
20
- u as ModelMakerBoxItem
21
+ I as ModelMakerBoxItem
21
22
  };
@@ -8,12 +8,13 @@ import "../../shared-utils/Subscribe.js";
8
8
  import "../../shared-utils/tag.js";
9
9
  import "../../shared-utils/positionToVector3.js";
10
10
  import "../../shared-utils/five/vector3ToScreen.js";
11
+ import "../../shared-utils/five/getFiveModel.js";
11
12
  import "../../shared-utils/Object3DHelper/utils/boundingBox.js";
12
13
  import "../utils/getFiveDomEvent.js";
13
14
  import "../../shared-utils/five/FiveDomEvents.js";
14
15
  import "../../shared-utils/three/getObjectVisible.js";
15
16
  import "../../shared-utils/five/calculateThreeMouse.js";
16
- class k extends h {
17
+ class q extends h {
17
18
  constructor(...i) {
18
19
  super(...i);
19
20
  s(this, "hideTag", () => {
@@ -35,5 +36,5 @@ class k extends h {
35
36
  }
36
37
  }
37
38
  export {
38
- k as ModelMakerPolygonItem
39
+ q as ModelMakerPolygonItem
39
40
  };
@@ -18,16 +18,17 @@ import "../../shared-utils/Subscribe.js";
18
18
  import "../../shared-utils/tag.js";
19
19
  import "../../shared-utils/positionToVector3.js";
20
20
  import "../../shared-utils/five/vector3ToScreen.js";
21
+ import "../../shared-utils/five/getFiveModel.js";
21
22
  import "../utils/getFiveDomEvent.js";
22
23
  import "../../shared-utils/five/FiveDomEvents.js";
23
24
  import "../../shared-utils/three/getObjectVisible.js";
24
25
  import "../../shared-utils/five/calculateThreeMouse.js";
25
- class T extends f {
26
+ class j extends f {
26
27
  constructor(...o) {
27
28
  const r = o[0], e = M(r.model), a = new u.Vector3().lerpVectors(n(e, 0), n(e, 5), 0.5);
28
29
  super(s(i({}, r), { position: a })), this.enable();
29
30
  }
30
31
  }
31
32
  export {
32
- T as ModelMakerPrismItem
33
+ j as ModelMakerPrismItem
33
34
  };
@@ -2,11 +2,12 @@ import { FiveDomEvents as n } from "../../shared-utils/five/FiveDomEvents.js";
2
2
  import "three";
3
3
  import "../../shared-utils/three/getObjectVisible.js";
4
4
  import "../../shared-utils/five/calculateThreeMouse.js";
5
- let e;
6
- const p = (t) => ((!e || t !== e.five) && (e = {
7
- instance: new n(t, { noEmitWhenHide: !0, noEmitWhenNotInScene: !0 }),
8
- five: t
9
- }), e.instance);
5
+ import "../../shared-utils/five/getFiveModel.js";
6
+ let t;
7
+ const s = (e) => ((!t || e !== t.five) && (t = {
8
+ instance: new n(e, { noEmitWhenHide: !0, noEmitWhenNotInScene: !0 }),
9
+ five: e
10
+ }), t.instance);
10
11
  export {
11
- p as getFiveDomEvent
12
+ s as getFiveDomEvent
12
13
  };
@@ -41,7 +41,8 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
41
41
  import "animejs";
42
42
  import "../shared-utils/url/absoluteUrl.js";
43
43
  import "../shared-utils/five/fiveModelLoad.js";
44
- const de = (s, { videoElement: g }) => {
44
+ import "../shared-utils/five/getFiveModel.js";
45
+ const ce = (s, { videoElement: g }) => {
45
46
  const e = {
46
47
  videoMeshes: [],
47
48
  videoTextureEnabled: !1,
@@ -184,6 +185,6 @@ const de = (s, { videoElement: g }) => {
184
185
  }), { enable: h, disable: m, load: L, dispose: V, state: e, css3DRenderPlugin: f };
185
186
  };
186
187
  export {
187
- de as ModelTVVideoPlugin,
188
- de as default
188
+ ce as ModelTVVideoPlugin,
189
+ ce as default
189
190
  };
@@ -1,5 +1,5 @@
1
1
  import { ModelTVVideoPlugin as r } from "./Plugin.js";
2
- import { DIRECTION as j } from "./typings.js";
2
+ import { DIRECTION as k } from "./typings.js";
3
3
  import "three";
4
4
  import "./utils/parseData.js";
5
5
  import "../CSS3DRenderPlugin/index.js";
@@ -25,9 +25,10 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
25
25
  import "animejs";
26
26
  import "../shared-utils/url/absoluteUrl.js";
27
27
  import "../shared-utils/five/fiveModelLoad.js";
28
+ import "../shared-utils/five/getFiveModel.js";
28
29
  import "../PanoTagPlugin/Assets/Icon.js";
29
30
  export {
30
- j as DIRECTION,
31
+ k as DIRECTION,
31
32
  r as ModelTVVideoPlugin,
32
33
  r as default
33
34
  };
@@ -11,19 +11,19 @@ var S = (l, o, e) => o in l ? x(l, o, { enumerable: !0, configurable: !0, writab
11
11
  };
12
12
  var f = (l, o, e) => (S(l, typeof o != "symbol" ? o + "" : o, e), e);
13
13
  var g = (l, o, e) => new Promise((t, r) => {
14
- var s = (m) => {
14
+ var s = (h) => {
15
15
  try {
16
- b(e.next(m));
16
+ b(e.next(h));
17
17
  } catch (p) {
18
18
  r(p);
19
19
  }
20
- }, h = (m) => {
20
+ }, m = (h) => {
21
21
  try {
22
- b(e.throw(m));
22
+ b(e.throw(h));
23
23
  } catch (p) {
24
24
  r(p);
25
25
  }
26
- }, b = (m) => m.done ? t(m.value) : Promise.resolve(m.value).then(s, h);
26
+ }, b = (h) => h.done ? t(h.value) : Promise.resolve(h.value).then(s, m);
27
27
  b((e = e.apply(l, o)).next());
28
28
  });
29
29
  import { Controller as L } from "../base/BasePlugin.js";
@@ -48,9 +48,11 @@ import "hammerjs";
48
48
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
49
49
  import "animejs";
50
50
  import "../shared-utils/url/absoluteUrl.js";
51
- import "../shared-utils/Utils/WorkUtil.js";
51
+ import "../shared-utils/Utils/FiveUtil.js";
52
52
  import "../shared-utils/Utils/BaseUtil.js";
53
+ import "../shared-utils/Utils/WorkUtil.js";
53
54
  import "../shared-utils/five/transformPosition.js";
55
+ import "../shared-utils/five/getFiveModel.js";
54
56
  import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
55
57
  import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
56
58
  import "../shared-utils/three/IObject3D.js";
@@ -92,7 +94,7 @@ const w = "Object3DHelperPlugin", D = w, X = () => {
92
94
  }, Z = () => {
93
95
  console.error(`${D} is disabled`);
94
96
  };
95
- class lr extends L {
97
+ class ar extends L {
96
98
  constructor(e) {
97
99
  super(e);
98
100
  f(this, "name", w);
@@ -168,7 +170,7 @@ class lr extends L {
168
170
  console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
169
171
  return;
170
172
  }
171
- const r = new N(), s = [], h = (M = this.five.getElement()) == null ? void 0 : M.parentElement, b = this.five.camera, p = n(n({}, {
173
+ const r = new N(), s = [], m = (M = this.five.getElement()) == null ? void 0 : M.parentElement, b = this.five.camera, p = n(n({}, {
172
174
  moveHelper: !0,
173
175
  rotateHelper: !0,
174
176
  scaleHelper: !0,
@@ -183,7 +185,7 @@ class lr extends L {
183
185
  r.addControllers({ moveController: a.helperController }), s.push(() => a.dispose());
184
186
  }
185
187
  if (C(B)) {
186
- const i = n(n({}, this.getConfig(p.rotateHelper)), p), d = new $(e, n({ container: h }, i)), a = new H(this.five, V, e, d, i, u, v);
188
+ const i = n(n({}, this.getConfig(p.rotateHelper)), p), d = new $(e, n({ container: m }, i)), a = new H(this.five, V, e, d, i, u, v);
187
189
  r.addControllers({ rotateController: a.helperController }), s.push(() => a.dispose());
188
190
  }
189
191
  if (C(k)) {
@@ -199,8 +201,8 @@ class lr extends L {
199
201
  r.addControllers({ boundingBoxController: d.helperController });
200
202
  }
201
203
  if (C(j))
202
- if (e.isCSS3DObjectPlus && h) {
203
- const i = new F(e, h, b, this.five.scene), d = new H(
204
+ if (e.isCSS3DObjectPlus && m) {
205
+ const i = new F(e, m, b, this.five.scene), d = new H(
204
206
  this.five,
205
207
  q,
206
208
  e,
@@ -231,8 +233,8 @@ class lr extends L {
231
233
  const { helper: t, disposers: r } = this.objectHelperMap.get(e);
232
234
  if (t) {
233
235
  if (e.isCSS3DObjectPlus) {
234
- const s = e, h = this.css3DObjectParentMap.get(s);
235
- h && h.add(s), this.css3DRender.render(this.five.camera);
236
+ const s = e, m = this.css3DObjectParentMap.get(s);
237
+ m && m.add(s), this.css3DRender.render(this.five.camera);
236
238
  }
237
239
  this.objectHelperMap.delete(e), t.dispose(), r == null || r.forEach((s) => s == null ? void 0 : s());
238
240
  }
@@ -264,6 +266,6 @@ class lr extends L {
264
266
  }
265
267
  }
266
268
  export {
267
- lr as Object3DHelperController,
269
+ ar as Object3DHelperController,
268
270
  D as PLUGIN
269
271
  };
@@ -1,5 +1,5 @@
1
1
  import { Object3DHelperController as o } from "./Controller.js";
2
- import { PLUGIN as ar } from "./Controller.js";
2
+ import { PLUGIN as jr } from "./Controller.js";
3
3
  import "../base/BasePlugin.js";
4
4
  import "../shared-utils/Subscribe.js";
5
5
  import "hammerjs";
@@ -22,9 +22,11 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
22
22
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
23
  import "animejs";
24
24
  import "../shared-utils/url/absoluteUrl.js";
25
- import "../shared-utils/Utils/WorkUtil.js";
25
+ import "../shared-utils/Utils/FiveUtil.js";
26
26
  import "../shared-utils/Utils/BaseUtil.js";
27
+ import "../shared-utils/Utils/WorkUtil.js";
27
28
  import "../shared-utils/five/transformPosition.js";
29
+ import "../shared-utils/five/getFiveModel.js";
28
30
  import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
29
31
  import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
30
32
  import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
@@ -59,10 +61,10 @@ import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
59
61
  import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
60
62
  import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
61
63
  import "../shared-utils/five/fiveModelLoad.js";
62
- const nr = (r) => new o(r);
64
+ const fr = (r) => new o(r);
63
65
  export {
64
66
  o as Object3DHelperController,
65
- nr as Object3DHelperPlugin,
66
- ar as PLUGIN,
67
- nr as default
67
+ fr as Object3DHelperPlugin,
68
+ jr as PLUGIN,
69
+ fr as default
68
70
  };
@@ -54,15 +54,17 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
54
54
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
55
55
  import "animejs";
56
56
  import "../shared-utils/url/absoluteUrl.js";
57
- import "../shared-utils/Utils/WorkUtil.js";
57
+ import "../shared-utils/Utils/FiveUtil.js";
58
58
  import "../shared-utils/Utils/BaseUtil.js";
59
+ import "../shared-utils/Utils/WorkUtil.js";
59
60
  import "../shared-utils/five/transformPosition.js";
61
+ import "../shared-utils/five/getFiveModel.js";
60
62
  import "./Assets/roomInfoIcon.js";
61
63
  import "../CSS3DRenderPlugin/Controller.js";
62
64
  import "../shared-utils/five/fiveModelLoad.js";
63
65
  import "../shared-utils/animationFrame/index.js";
64
66
  const g = { userAction: !0 };
65
- class ce extends A {
67
+ class de extends A {
66
68
  constructor(e, t) {
67
69
  super(e, t);
68
70
  /**
@@ -317,5 +319,5 @@ class ce extends A {
317
319
  }
318
320
  }
319
321
  export {
320
- ce as PanoCompassController
322
+ de as PanoCompassController
321
323
  };
@@ -23,9 +23,11 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
23
23
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
24
24
  import "animejs";
25
25
  import "../shared-utils/url/absoluteUrl.js";
26
- import "../shared-utils/Utils/WorkUtil.js";
26
+ import "../shared-utils/Utils/FiveUtil.js";
27
27
  import "../shared-utils/Utils/BaseUtil.js";
28
+ import "../shared-utils/Utils/WorkUtil.js";
28
29
  import "../shared-utils/five/transformPosition.js";
30
+ import "../shared-utils/five/getFiveModel.js";
29
31
  import "./getRoomInfoInstance.js";
30
32
  import "./Assets/roomInfoIcon.js";
31
33
  import "../shared-utils/three/loadTexture.js";
@@ -34,8 +36,8 @@ import "../CSS3DRenderPlugin/Controller.js";
34
36
  import "../shared-utils/five/fiveModelLoad.js";
35
37
  import "../shared-utils/animationFrame/BetterTween.js";
36
38
  import "../shared-utils/animationFrame/index.js";
37
- const M = (o, r) => new t(o, r);
39
+ const O = (o, r) => new t(o, r);
38
40
  export {
39
- M as PanoCompassPlugin,
40
- M as default
41
+ O as PanoCompassPlugin,
42
+ O as default
41
43
  };
@@ -1,8 +1,8 @@
1
- var m = Object.defineProperty, l = Object.defineProperties;
1
+ var h = Object.defineProperty, l = Object.defineProperties;
2
2
  var d = Object.getOwnPropertyDescriptors;
3
3
  var p = Object.getOwnPropertySymbols;
4
4
  var u = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
5
- var a = (i, e, t) => e in i ? m(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, s = (i, e) => {
5
+ var a = (i, e, t) => e in i ? h(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, s = (i, e) => {
6
6
  for (var t in e || (e = {}))
7
7
  u.call(e, t) && a(i, t, e[t]);
8
8
  if (p)
@@ -34,10 +34,12 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
34
34
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
35
35
  import "animejs";
36
36
  import "../shared-utils/url/absoluteUrl.js";
37
- import "../shared-utils/Utils/WorkUtil.js";
37
+ import "../shared-utils/Utils/FiveUtil.js";
38
38
  import "../shared-utils/Utils/BaseUtil.js";
39
+ import "../shared-utils/Utils/WorkUtil.js";
39
40
  import "../shared-utils/five/transformPosition.js";
40
- class O extends c {
41
+ import "../shared-utils/five/getFiveModel.js";
42
+ class R extends c {
41
43
  constructor(t) {
42
44
  super(t);
43
45
  o(this, "state");
@@ -92,8 +94,8 @@ class O extends c {
92
94
  setState(t, n) {
93
95
  if (!this.enabled)
94
96
  return;
95
- const h = s({}, this.state);
96
- this.state = s(s(s({}, this.state), t), n), this.stateChangedCallback(h, n);
97
+ const m = s({}, this.state);
98
+ this.state = s(s(s({}, this.state), t), n), this.stateChangedCallback(m, n);
97
99
  }
98
100
  get visible() {
99
101
  return this.five.state.mode === v.Mode.Panorama;
@@ -106,5 +108,5 @@ class O extends c {
106
108
  }
107
109
  }
108
110
  export {
109
- O as BasePanoPluginController
111
+ R as BasePanoPluginController
110
112
  };