@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
@@ -37,13 +37,15 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
37
37
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
38
38
  import "animejs";
39
39
  import "../shared-utils/url/absoluteUrl.js";
40
- import "../shared-utils/Utils/WorkUtil.js";
40
+ import "../shared-utils/Utils/FiveUtil.js";
41
41
  import "../shared-utils/Utils/BaseUtil.js";
42
+ import "../shared-utils/Utils/WorkUtil.js";
42
43
  import "../shared-utils/five/transformPosition.js";
44
+ import "../shared-utils/five/getFiveModel.js";
43
45
  import "../vendor/svelte/internal/index.js";
44
46
  import "../vendor/classnames/index.js";
45
47
  const ii = { userAction: !0 };
46
- class Si extends q {
48
+ class Ci extends q {
47
49
  constructor(i) {
48
50
  super(i);
49
51
  r(this, "MinVisibledistance", 1.8);
@@ -247,5 +249,5 @@ class Si extends q {
247
249
  }
248
250
  }
249
251
  export {
250
- Si as PanoDoorLabelPluginController
252
+ Ci as PanoDoorLabelPluginController
251
253
  };
@@ -23,15 +23,17 @@ 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 "./DoorLabelItem.js";
30
32
  import "../vendor/svelte/internal/index.js";
31
33
  import "../vendor/classnames/index.js";
32
34
  import "./utils.js";
33
- const G = (o) => new r(o);
35
+ const I = (o) => new r(o);
34
36
  export {
35
- G as PanoDoorLabelPlugin,
36
- G as default
37
+ I as PanoDoorLabelPlugin,
38
+ I as default
37
39
  };
@@ -60,6 +60,7 @@ import "../../CSS3DRenderPlugin/index.js";
60
60
  import "../../CSS3DRenderPlugin/Controller.js";
61
61
  import "../../shared-utils/url/absoluteUrl.js";
62
62
  import "../../shared-utils/five/fiveModelLoad.js";
63
+ import "../../shared-utils/five/getFiveModel.js";
63
64
  import "../../shared-utils/animationFrame/BetterTween.js";
64
65
  import "../../shared-utils/animationFrame/index.js";
65
66
  import "../../shared-utils/isTouchDevice.js";
@@ -279,7 +280,7 @@ function re(n, o, i) {
279
280
  u
280
281
  ];
281
282
  }
282
- class Mt extends j {
283
+ class It extends j {
283
284
  constructor(o) {
284
285
  super(), x(
285
286
  this,
@@ -297,5 +298,5 @@ class Mt extends j {
297
298
  }
298
299
  }
299
300
  export {
300
- Mt as default
301
+ It as default
301
302
  };
@@ -64,6 +64,7 @@ import "../../CSS3DRenderPlugin/index.js";
64
64
  import "../../CSS3DRenderPlugin/Controller.js";
65
65
  import "../../shared-utils/url/absoluteUrl.js";
66
66
  import "../../shared-utils/five/fiveModelLoad.js";
67
+ import "../../shared-utils/five/getFiveModel.js";
67
68
  import "../../shared-utils/animationFrame/BetterTween.js";
68
69
  import "../../shared-utils/animationFrame/index.js";
69
70
  import "../../shared-utils/isTouchDevice.js";
@@ -429,7 +430,7 @@ function de(o, t, i) {
429
430
  x
430
431
  ];
431
432
  }
432
- class Kt extends ee {
433
+ class qt extends ee {
433
434
  constructor(t) {
434
435
  super(), te(
435
436
  this,
@@ -447,5 +448,5 @@ class Kt extends ee {
447
448
  }
448
449
  }
449
450
  export {
450
- Kt as default
451
+ qt as default
451
452
  };
@@ -13,6 +13,7 @@ import G from "../Modules/DeleteDom/index.js";
13
13
  import { Vector2 as y } from "three";
14
14
  import T from "../utils/isNDCPointInScreen.js";
15
15
  import { closestPointOnLine as B } from "../utils/math.js";
16
+ import { getFiveModel as W } from "../../shared-utils/five/getFiveModel.js";
16
17
  import "../../shared-utils/uuid.js";
17
18
  import "../utils/line.js";
18
19
  import "../../shared-utils/five/FiveLine.js";
@@ -69,7 +70,7 @@ import "../Modules/DeleteDom/_Assets/delete.svg.js";
69
70
  import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
70
71
  import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
71
72
  const M = () => !1;
72
- class et extends j {
73
+ class it extends j {
73
74
  constructor(e) {
74
75
  var t;
75
76
  super(e);
@@ -228,7 +229,7 @@ class et extends j {
228
229
  return this.chooseArea(h, { left: f, top: u }), !1;
229
230
  }
230
231
  }
231
- const [s] = this.five.model.intersectRaycaster(e);
232
+ const [s] = W(this.five).intersectRaycaster(e);
232
233
  if (!s)
233
234
  return;
234
235
  const r = this.five.camera, l = s.point.clone().project(r), d = this.container.clientWidth, a = this.container.clientHeight, n = new y(l.x * d, l.y * a), g = this.model.getAllLines().map((h) => {
@@ -329,5 +330,5 @@ class et extends j {
329
330
  }
330
331
  }
331
332
  export {
332
- et as default
333
+ it as default
333
334
  };
@@ -1,15 +1,16 @@
1
- var b = Object.defineProperty;
2
- var y = (n, s, e) => s in n ? b(n, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[s] = e;
3
- var t = (n, s, e) => (y(n, typeof s != "symbol" ? s + "" : s, e), e);
4
- import { Model as D } from "../Model/index.js";
5
- import S from "../Model/line.js";
6
- import T from "./BaseController.js";
7
- import M from "../Modules/DeleteDom/index.js";
8
- import { Vector2 as m } from "three";
9
- import v from "../utils/isNDCPointInScreen.js";
10
- import { closestPointOnLine as G } from "../utils/math.js";
11
- import { Polyline as L } from "../Model/polyline.js";
12
- import W from "../Modules/rangePiece/index.js";
1
+ var y = Object.defineProperty;
2
+ var D = (n, s, e) => s in n ? y(n, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[s] = e;
3
+ var t = (n, s, e) => (D(n, typeof s != "symbol" ? s + "" : s, e), e);
4
+ import { Model as S } from "../Model/index.js";
5
+ import T from "../Model/line.js";
6
+ import M from "./BaseController.js";
7
+ import G from "../Modules/DeleteDom/index.js";
8
+ import { Vector2 as p } from "three";
9
+ import L from "../utils/isNDCPointInScreen.js";
10
+ import { closestPointOnLine as W } from "../utils/math.js";
11
+ import { Polyline as C } from "../Model/polyline.js";
12
+ import E from "../Modules/rangePiece/index.js";
13
+ import { getFiveModel as N } from "../../shared-utils/five/getFiveModel.js";
13
14
  import "../../shared-utils/Subscribe.js";
14
15
  import "../../shared-utils/uuid.js";
15
16
  import "../utils/line.js";
@@ -31,7 +32,7 @@ import "../../shared-utils/animationFrame/index.js";
31
32
  import "../../shared-utils/noop.js";
32
33
  import "../utils/mouseGroup.js";
33
34
  import "../../shared-utils/five/calculateThreeMouse.js";
34
- class le extends T {
35
+ class me extends M {
35
36
  constructor(e) {
36
37
  super(e);
37
38
  t(this, "state", "watching");
@@ -46,27 +47,27 @@ class le extends T {
46
47
  t(this, "onWantsTapGesture", (e) => {
47
48
  if (this.state === "editing")
48
49
  return !1;
49
- const [i] = this.five.model.intersectRaycaster(e);
50
- if (!i)
50
+ const i = N(this.five), [r] = i.intersectRaycaster(e);
51
+ if (!r)
51
52
  return;
52
- const h = this.five.camera, p = i.point.clone().project(h), a = this.container.clientWidth, l = this.container.clientHeight, g = new m(p.x * a, p.y * l), f = this.model.getAllLines().map((o) => {
53
- const [r, C] = o.points, d = r.position.clone().project(h), c = C.position.clone().project(h);
54
- if (!v(d) && !v(c))
53
+ const a = this.five.camera, g = r.point.clone().project(a), l = this.container.clientWidth, d = this.container.clientHeight, f = new p(g.x * l, g.y * d), u = this.model.getAllLines().map((o) => {
54
+ const [h, w] = o.points, c = h.position.clone().project(a), m = w.position.clone().project(a);
55
+ if (!L(c) && !L(m))
55
56
  return null;
56
- const w = new m(d.x * a, d.y * l), k = new m(c.x * a, c.y * l);
57
- return { id: o.id, points: [w, k] };
57
+ const k = new p(c.x * l, c.y * d), b = new p(m.x * l, m.y * d);
58
+ return { id: o.id, points: [k, b] };
58
59
  }).filter((o) => !!o);
59
- if (f.length === 0)
60
+ if (u.length === 0)
60
61
  return;
61
- const u = f.map((o) => {
62
- const r = G(g, o.points);
63
- return { id: o.id, distance: r.distanceTo(g) };
64
- }).sort((o, r) => o.distance - r.distance)[0];
65
- if (u.distance > 20)
62
+ const P = u.map((o) => {
63
+ const h = W(f, o.points);
64
+ return { id: o.id, distance: h.distanceTo(f) };
65
+ }).sort((o, h) => o.distance - h.distance)[0];
66
+ if (P.distance > 20)
66
67
  return;
67
- const P = this.model.getAllLines().find(({ id: o }) => o === u.id);
68
- if (P)
69
- return this.chooseLine(P), !1;
68
+ const v = this.model.getAllLines().find(({ id: o }) => o === P.id);
69
+ if (v)
70
+ return this.chooseLine(v), !1;
70
71
  });
71
72
  /** 编辑时取消走点,watch时可以走 */
72
73
  t(this, "onWantsToMoveToPano", () => this.state === "watching");
@@ -83,12 +84,12 @@ class le extends T {
83
84
  this.magnifier.containerDom !== this.container && this.magnifier.appendTo(this.container), this.magnifier.state.enabled || this.magnifier.enable(), requestAnimationFrame(() => this.magnifier.renderWithPoint(e.position)), this.five.needsRender = !0;
84
85
  });
85
86
  t(this, "onGetStartPoint", (e) => {
86
- this.mobileStartPoint = e, this.polyline = new L({ model: this.model }), this.polyline.hook.on("lineAdded", () => this.hook.emit("editedPolylineChange", this.polyline)), this.polyline.hook.on("lineRemoved", () => this.hook.emit("editedPolylineChange", this.polyline));
87
+ this.mobileStartPoint = e, this.polyline = new C({ model: this.model }), this.polyline.hook.on("lineAdded", () => this.hook.emit("editedPolylineChange", this.polyline)), this.polyline.hook.on("lineRemoved", () => this.hook.emit("editedPolylineChange", this.polyline));
87
88
  });
88
89
  t(this, "onGetEndPoint", () => {
89
90
  const e = this.mobileNowPoint;
90
91
  if (this.removeLine(this.dashed), this.hasAppendDashed = !1, this.mobileStartPoint && e) {
91
- const i = new S(this.mobileStartPoint, e, this.model);
92
+ const i = new T(this.mobileStartPoint, e, this.model);
92
93
  this.polyline.addLine(i), i.distanceItem.appendTo(this.container), i.distanceItem.update(this.five), i.hook.on("selected", this.chooseLine), this.disposers.push(() => i.hook.off("selected", this.chooseLine)), this.group.add(i.mesh), this.model.addPolyline(this.polyline);
93
94
  }
94
95
  this.mobileStartPoint = null, this.mobileNowPoint = null, this.five.needsRender = !0;
@@ -107,7 +108,7 @@ class le extends T {
107
108
  const i = e.getPolyline().lines;
108
109
  this.highlightLines(i), this.five.needsRender = !0, this.hook.emit(
109
110
  "selectedChange",
110
- i.map((h) => h)
111
+ i.map((r) => r)
111
112
  );
112
113
  });
113
114
  t(this, "deleteDomClickCallback", () => {
@@ -120,7 +121,7 @@ class le extends T {
120
121
  t(this, "cancelDeleteClickCallback", () => {
121
122
  this.clearHighlightLines();
122
123
  });
123
- this.model = new D(this.config), this.polyline = new L({ model: this.model }), this.rangePieceController = new W(e), this.deleteDom = new M(this.five, {
124
+ this.model = new S(this.config), this.polyline = new C({ model: this.model }), this.rangePieceController = new E(e), this.deleteDom = new G(this.five, {
124
125
  i18n: this.config.i18n,
125
126
  onClick: this.deleteDomClickCallback,
126
127
  cancel: this.cancelDeleteClickCallback
@@ -145,5 +146,5 @@ class le extends T {
145
146
  }
146
147
  }
147
148
  export {
148
- le as default
149
+ me as default
149
150
  };
@@ -1,16 +1,17 @@
1
- var H = Object.defineProperty;
2
- var k = (l, r, t) => r in l ? H(l, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[r] = t;
3
- var s = (l, r, t) => (k(l, typeof r != "symbol" ? r + "" : r, t), t);
4
- import I from "hammerjs";
5
- import R from "../Modules/DeleteDom/index.js";
6
- import S from "../utils/isNDCPointInScreen.js";
7
- import G from "./BaseController.js";
8
- import { Raycaster as T, Vector2 as u } from "three";
9
- import { closestPointOnLine as U } from "../utils/math.js";
10
- import { findClosestPoint as b } from "../utils/findClosestPoint.js";
11
- import { getPointFromHammerEvent as w } from "../../shared-utils/getPointFromHammerEvent.js";
12
- import M from "../Model/area.js";
13
- import j from "../Model/polygon.js";
1
+ var I = Object.defineProperty;
2
+ var R = (c, r, t) => r in c ? I(c, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[r] = t;
3
+ var s = (c, r, t) => (R(c, typeof r != "symbol" ? r + "" : r, t), t);
4
+ import G from "hammerjs";
5
+ import T from "../Modules/DeleteDom/index.js";
6
+ import w from "../utils/isNDCPointInScreen.js";
7
+ import U from "./BaseController.js";
8
+ import { Raycaster as M, Vector2 as L } from "three";
9
+ import { closestPointOnLine as b } from "../utils/math.js";
10
+ import { findClosestPoint as j } from "../utils/findClosestPoint.js";
11
+ import { getPointFromHammerEvent as C } from "../../shared-utils/getPointFromHammerEvent.js";
12
+ import x from "../Model/area.js";
13
+ import F from "../Model/polygon.js";
14
+ import { getFiveModel as D } from "../../shared-utils/five/getFiveModel.js";
14
15
  import "../Modules/DeleteDom/_Assets/delete.svg.js";
15
16
  import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
16
17
  import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
@@ -53,8 +54,8 @@ import "../../shared-utils/three/generatePolygonGeometry.js";
53
54
  import "../../shared-utils/three/earcut3D.js";
54
55
  import "earcut";
55
56
  import "../../shared-utils/three/getNormal.js";
56
- const C = () => !1;
57
- class xt extends G {
57
+ const E = () => !1;
58
+ class Ot extends U {
58
59
  constructor(t) {
59
60
  super(t);
60
61
  s(this, "type", "watch");
@@ -67,22 +68,22 @@ class xt extends G {
67
68
  s(this, "editPointState");
68
69
  s(this, "hammer");
69
70
  s(this, "onPanStart", (t) => {
70
- var d;
71
+ var p;
71
72
  if (this.model.getAllLines().length === 0 || !this.fiveElement)
72
73
  return;
73
- const i = w(t).point, e = (d = b(this.five, this.model.getAllPoints(), i, 20)) == null ? void 0 : d.point;
74
+ const i = C(t).point, e = (p = j(this.five, this.model.getAllPoints(), i, 20)) == null ? void 0 : p.point;
74
75
  if (!e) {
75
76
  this.editPointState = void 0;
76
77
  return;
77
78
  }
78
- const n = this.model.polylines.find((c) => c.includes(e)), a = {
79
+ const n = this.model.polylines.find((a) => a.includes(e)), l = {
79
80
  point: e,
80
81
  associatedLines: n.lines
81
82
  };
82
83
  this.hook.emit("wantsDragLine", {
83
84
  point: e.id,
84
- lines: a.associatedLines.map(({ id: c }) => c)
85
- }) || (this.editPointState = a, this.magnifier.appendTo(this.container), this.magnifier.enable(), this.group.add(this.mouseGroup));
85
+ lines: l.associatedLines.map(({ id: a }) => a)
86
+ }) || (this.editPointState = l, this.magnifier.appendTo(this.container), this.magnifier.enable(), this.group.add(this.mouseGroup));
86
87
  });
87
88
  s(this, "onPanEnd", () => {
88
89
  this.editPointState && (this.editPointState.associatedLines.forEach((t) => t.mesh.setMaterial({ dashed: !1 })), this.highlightLines(this.editPointState.associatedLines), this.editPointState = void 0, this.magnifier.disable(), this.group.remove(this.mouseGroup));
@@ -90,9 +91,9 @@ class xt extends G {
90
91
  s(this, "onPan", (t) => {
91
92
  if (!this.editPointState || !this.fiveElement)
92
93
  return;
93
- const i = w(t).ndcPoint, e = new T();
94
+ const i = C(t).ndcPoint, e = new M();
94
95
  e.setFromCamera(i, this.five.camera);
95
- const [n] = this.five.model.intersectRaycaster(e);
96
+ const [n] = D(this.five).intersectRaycaster(e);
96
97
  n && this.onIntersectionUpdate(n);
97
98
  });
98
99
  s(this, "onIntersectionUpdate", (t, i) => {
@@ -102,8 +103,8 @@ class xt extends G {
102
103
  }), this.updateDistanceUI(), this.magnifier.renderWithPoint(t.point), this.mouseGroup.position.copy(t.point), i)
103
104
  this.mouseGroup.quaternion.copy(i.quaternion);
104
105
  else if (t.face) {
105
- const n = t.face.normal.clone().multiplyScalar(0.05), p = t.point.clone().add(n).clone().add(n);
106
- this.mouseGroup.lookAt(p);
106
+ const n = t.face.normal.clone().multiplyScalar(0.05), d = t.point.clone().add(n).clone().add(n);
107
+ this.mouseGroup.lookAt(d);
107
108
  }
108
109
  this.five.needsRender = !0, this.hook.emit(
109
110
  "selectedChange",
@@ -116,36 +117,36 @@ class xt extends G {
116
117
  return !1;
117
118
  });
118
119
  s(this, "wantsTapGesture", (t) => {
119
- var A;
120
- const i = this.model.areas.map((o) => t.intersectObject(o.polygon, !0)[0]).sort((o, h) => o.distance - h.distance), e = (A = i[0]) == null ? void 0 : A.object.parent;
121
- if (e instanceof j) {
120
+ var S;
121
+ const i = this.model.areas.map((o) => t.intersectObject(o.polygon, !0)[0]).sort((o, h) => o.distance - h.distance), e = (S = i[0]) == null ? void 0 : S.object.parent;
122
+ if (e instanceof F) {
122
123
  const o = this.model.areas.find((h) => h.polygon === e);
123
124
  if (o) {
124
- const { x: h, y: f } = i[0].point.clone().project(this.five.camera), m = `${(h + 1) / 2 * 100}%`, g = `${(-f + 1) / 2 * 100}%`;
125
+ const { x: h, y: u } = i[0].point.clone().project(this.five.camera), m = `${(h + 1) / 2 * 100}%`, g = `${(-u + 1) / 2 * 100}%`;
125
126
  return this.chooseArea(o, { left: m, top: g }), !1;
126
127
  }
127
128
  }
128
- const [n] = this.five.model.intersectRaycaster(t);
129
- if (!n)
129
+ const n = D(this.five), [l] = n.intersectRaycaster(t);
130
+ if (!l)
130
131
  return;
131
- const a = this.five.camera, p = n.point.clone().project(a), d = this.container.clientWidth, c = this.container.clientHeight, L = new u(p.x * d, p.y * c), P = this.model.getAllLines().map((o) => {
132
- const [h, f] = o.points, m = h.position.clone().project(a), g = f.position.clone().project(a);
133
- if (!S(m) && !S(g))
132
+ const d = this.five.camera, p = l.point.clone().project(d), a = this.container.clientWidth, f = this.container.clientHeight, P = new L(p.x * a, p.y * f), v = this.model.getAllLines().map((o) => {
133
+ const [h, u] = o.points, m = h.position.clone().project(d), g = u.position.clone().project(d);
134
+ if (!w(m) && !w(g))
134
135
  return null;
135
- const D = new u(m.x * d, m.y * c), E = new u(g.x * d, g.y * c);
136
- return { id: o.id, points: [D, E] };
136
+ const H = new L(m.x * a, m.y * f), k = new L(g.x * a, g.y * f);
137
+ return { id: o.id, points: [H, k] };
137
138
  }).filter((o) => !!o);
138
- if (P.length === 0)
139
+ if (v.length === 0)
139
140
  return;
140
- const v = P.map((o) => {
141
- const h = U(L, o.points);
142
- return { id: o.id, distance: h.distanceTo(L) };
141
+ const y = v.map((o) => {
142
+ const h = b(P, o.points);
143
+ return { id: o.id, distance: h.distanceTo(P) };
143
144
  }).sort((o, h) => o.distance - h.distance)[0];
144
- if (v.distance > 20)
145
+ if (y.distance > 20)
145
146
  return;
146
- const y = this.model.getAllLines().find(({ id: o }) => o === v.id);
147
- if (y)
148
- return this.chooseLine(y), !1;
147
+ const A = this.model.getAllLines().find(({ id: o }) => o === y.id);
148
+ if (A)
149
+ return this.chooseLine(A), !1;
149
150
  });
150
151
  s(this, "chooseLine", (t) => {
151
152
  this.choose = "line";
@@ -177,10 +178,10 @@ class xt extends G {
177
178
  s(this, "cancelDeleteClickCallback", () => {
178
179
  this.deleteDom.hide(), this.clearHighlightLines(), this.unHighlightArea();
179
180
  });
180
- this.deleteDom = new R(this.five, {
181
+ this.deleteDom = new T(this.five, {
181
182
  i18n: this.config.i18n,
182
183
  onClick: () => {
183
- this.choose === "line" ? this.deleteLine() : this.choose instanceof M && this.deleteArea(this.choose);
184
+ this.choose === "line" ? this.deleteLine() : this.choose instanceof x && this.deleteArea(this.choose);
184
185
  },
185
186
  cancel: this.cancelDeleteClickCallback
186
187
  }).appendTo(this.container), this.model.getAllLines().forEach((e) => {
@@ -193,14 +194,14 @@ class xt extends G {
193
194
  const i = this.five.getElement();
194
195
  if (i) {
195
196
  this.fiveElement = i;
196
- const e = new I(i);
197
+ const e = new G(i);
197
198
  this.hammer = e, e.on("pan", this.onPan), e.on("panstart", this.onPanStart), e.on("panend", this.onPanEnd);
198
199
  }
199
- this.updateDistanceUI(), this.five.needsRender = !0, this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsPanGesture", this.wantsPanGesture), this.five.on("wantsChangeMode", C), this.model.hook.on("polylineRemoved", this.polylineRemoved);
200
+ this.updateDistanceUI(), this.five.needsRender = !0, this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsPanGesture", this.wantsPanGesture), this.five.on("wantsChangeMode", E), this.model.hook.on("polylineRemoved", this.polylineRemoved);
200
201
  }
201
202
  dispose() {
202
203
  var t;
203
- super.dispose(), this.deleteDom.dispose(), this.model.hook.off("polylineRemoved", this.polylineRemoved), this.model.getAllLines().forEach((i) => i.hook.off("selected", this.chooseLine)), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("wantsPanGesture", this.wantsPanGesture), this.five.off("wantsTapGesture", this.wantsTapGesture), this.five.off("wantsChangeMode", C), this.five.needsRender = !0, this.hook.emit("selectedChange", []), (t = this.hammer) == null || t.destroy();
204
+ super.dispose(), this.deleteDom.dispose(), this.model.hook.off("polylineRemoved", this.polylineRemoved), this.model.getAllLines().forEach((i) => i.hook.off("selected", this.chooseLine)), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("wantsPanGesture", this.wantsPanGesture), this.five.off("wantsTapGesture", this.wantsTapGesture), this.five.off("wantsChangeMode", E), this.five.needsRender = !0, this.hook.emit("selectedChange", []), (t = this.hammer) == null || t.destroy();
204
205
  }
205
206
  highlightLine(t) {
206
207
  t.selected || (t.selected = !0, this.group.add(t.lightMesh), t.distanceItem.highlight(), this.five.needsRender = !0);
@@ -227,5 +228,5 @@ class xt extends G {
227
228
  }
228
229
  }
229
230
  export {
230
- xt as default
231
+ Ot as default
231
232
  };
@@ -67,6 +67,7 @@ import "../../CSS3DRenderPlugin/index.js";
67
67
  import "../../CSS3DRenderPlugin/Controller.js";
68
68
  import "../../shared-utils/url/absoluteUrl.js";
69
69
  import "../../shared-utils/five/fiveModelLoad.js";
70
+ import "../../shared-utils/five/getFiveModel.js";
70
71
  import "../../shared-utils/positionToVector3.js";
71
72
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
72
73
  import "three/examples/jsm/renderers/CSS3DRenderer";
@@ -114,10 +115,11 @@ import "../../vendor/svelte/transition/index.js";
114
115
  import "../../vendor/svelte/easing/index.js";
115
116
  import "../../vendor/object-assign-deep/objectAssignDeep.js";
116
117
  import "../Components/Tip.js";
117
- import "../../shared-utils/Utils/WorkUtil.js";
118
+ import "../../shared-utils/Utils/FiveUtil.js";
118
119
  import "../../shared-utils/Utils/BaseUtil.js";
120
+ import "../../shared-utils/Utils/WorkUtil.js";
119
121
  import "../../shared-utils/five/transformPosition.js";
120
- class Ve extends B {
122
+ class He extends B {
121
123
  constructor(t, e) {
122
124
  var l, u, d, f, g, y, M, C, w;
123
125
  super(t);
@@ -322,5 +324,5 @@ class Ve extends B {
322
324
  }
323
325
  }
324
326
  export {
325
- Ve as default
327
+ He as default
326
328
  };
@@ -70,6 +70,7 @@ import "../../../CSS3DRenderPlugin/index.js";
70
70
  import "../../../CSS3DRenderPlugin/Controller.js";
71
71
  import "../../../shared-utils/url/absoluteUrl.js";
72
72
  import "../../../shared-utils/five/fiveModelLoad.js";
73
+ import "../../../shared-utils/five/getFiveModel.js";
73
74
  import "../../../shared-utils/animationFrame/BetterTween.js";
74
75
  import "../../../shared-utils/animationFrame/index.js";
75
76
  import "../../../shared-utils/isTouchDevice.js";
@@ -85,7 +86,7 @@ import "../../Components/Common/Switcher1.js";
85
86
  import "../../Components/Common/CircleButton.js";
86
87
  import "../../../vendor/svelte/transition/index.js";
87
88
  import "../../../vendor/svelte/easing/index.js";
88
- class io {
89
+ class ro {
89
90
  constructor(o, t) {
90
91
  e(this, "revoke");
91
92
  e(this, "container");
@@ -139,5 +140,5 @@ class io {
139
140
  }
140
141
  }
141
142
  export {
142
- io as UIController
143
+ ro as UIController
143
144
  };
@@ -18,8 +18,9 @@ import { requestAnimationFrameInterval as k } from "../../../shared-utils/animat
18
18
  import { noop as x } from "../../../shared-utils/noop.js";
19
19
  import { getMouseGroup as A } from "../../utils/mouseGroup.js";
20
20
  import { calculateThreeMouse as X } from "../../../shared-utils/five/calculateThreeMouse.js";
21
+ import { getFiveModel as Y } from "../../../shared-utils/five/getFiveModel.js";
21
22
  import "../../../shared-utils/uuid.js";
22
- class V {
23
+ class F {
23
24
  // eslint-disable-next-line @typescript-eslint/explicit-member-accessibility
24
25
  constructor(t) {
25
26
  i(this, "container", document.createElement("div"));
@@ -64,7 +65,7 @@ class V {
64
65
  if (!this.centerMouseXY)
65
66
  return null;
66
67
  this.raycaster.setFromCamera(this.centerMouseXY, this.five.camera);
67
- const t = this.five.model.intersectRaycaster(this.raycaster)[0];
68
+ const t = Y(this.five).intersectRaycaster(this.raycaster)[0];
68
69
  return t || null;
69
70
  });
70
71
  this.five = t.five, this.hook = t.hook, this.group = t.group, this.mouseGroup = A(d({ isMobile: !0 }, t.openParams.crossHairParameter)), this.container.innerHTML = P, this.container.classList.add("range-piece-controller"), this.content = this.container.querySelector(".range-piece__content"), this.content && (this.content.style.transform = `matrix3d(${this.pieceStyl.matrix3d.toString()}) scale(${this.pieceStyl.scale})`, this.content.style.opacity = `${this.pieceStyl.opacity}`), t.container.append(this.container), this.intersectMesh = new v(
@@ -130,5 +131,5 @@ class V {
130
131
  }
131
132
  }
132
133
  export {
133
- V as default
134
+ F as default
134
135
  };
@@ -1,14 +1,14 @@
1
1
  import t from "./Controller/index.js";
2
- import { Magnifier as ir } from "../shared-utils/three/Magnifier.js";
2
+ import { Magnifier as pr } from "../shared-utils/three/Magnifier.js";
3
3
  import "three";
4
4
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
5
5
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
6
6
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
7
7
  import "animejs";
8
- import { Model as pr } from "./Model/index.js";
9
- import { default as nr } from "./Model/point.js";
10
- import { default as ur } from "./Model/line.js";
11
- import { Polyline as Pr } from "./Model/polyline.js";
8
+ import { Model as nr } from "./Model/index.js";
9
+ import { default as ur } from "./Model/point.js";
10
+ import { default as Pr } from "./Model/line.js";
11
+ import { Polyline as fr } from "./Model/polyline.js";
12
12
  import "./Controller/EditController.js";
13
13
  import "../shared-utils/throttle.js";
14
14
  import "./Controller/BaseController.js";
@@ -58,6 +58,7 @@ import "../CSS3DRenderPlugin/index.js";
58
58
  import "../CSS3DRenderPlugin/Controller.js";
59
59
  import "../shared-utils/url/absoluteUrl.js";
60
60
  import "../shared-utils/five/fiveModelLoad.js";
61
+ import "../shared-utils/five/getFiveModel.js";
61
62
  import "../shared-utils/animationFrame/BetterTween.js";
62
63
  import "../shared-utils/animationFrame/index.js";
63
64
  import "../shared-utils/isTouchDevice.js";
@@ -103,18 +104,19 @@ import "./Components/Tip.js";
103
104
  import "./Controller/ShortcutKeyController.js";
104
105
  import "../shared-utils/safeObj.js";
105
106
  import "../base/BasePlugin.js";
106
- import "../shared-utils/Utils/WorkUtil.js";
107
+ import "../shared-utils/Utils/FiveUtil.js";
107
108
  import "../shared-utils/Utils/BaseUtil.js";
109
+ import "../shared-utils/Utils/WorkUtil.js";
108
110
  import "../shared-utils/five/transformPosition.js";
109
- const or = function(o, r) {
111
+ const tr = function(o, r) {
110
112
  return new t(o, r);
111
113
  };
112
114
  export {
113
- ir as Magnifier,
114
- or as PanoMeasurePlugin,
115
- ur as PanoMeasurePluginLine,
116
- pr as PanoMeasurePluginModel,
117
- nr as PanoMeasurePluginPoint,
118
- Pr as PanoMeasurePluginPolyline,
119
- or as default
115
+ pr as Magnifier,
116
+ tr as PanoMeasurePlugin,
117
+ Pr as PanoMeasurePluginLine,
118
+ nr as PanoMeasurePluginModel,
119
+ ur as PanoMeasurePluginPoint,
120
+ fr as PanoMeasurePluginPolyline,
121
+ tr as default
120
122
  };
@@ -27,10 +27,11 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
27
27
  import "animejs";
28
28
  import "../shared-utils/url/absoluteUrl.js";
29
29
  import "../shared-utils/five/fiveModelLoad.js";
30
+ import "../shared-utils/five/getFiveModel.js";
30
31
  import "../vendor/svelte/internal/index.js";
31
32
  import "./store.js";
32
33
  import "../vendor/svelte/store/index.js";
33
- const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", no = (n, s) => {
34
+ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", io = (n, s) => {
34
35
  var k, z, q, B, G, J, K, Q;
35
36
  let j = s == null ? void 0 : s.container, y = 1.4;
36
37
  const ee = (k = s == null ? void 0 : s.wait) != null ? k : 200, oe = (z = s == null ? void 0 : s.maxNumberOnScreen) != null ? z : 3, I = (q = s == null ? void 0 : s.minRad) != null ? q : Math.PI / 4, L = (B = s == null ? void 0 : s.nearTolerance) != null ? B : 100, te = (G = s == null ? void 0 : s.upsideHeight) != null ? G : 1.6, A = (J = s == null ? void 0 : s.minDistance) != null ? J : 1.2, f = (K = s == null ? void 0 : s.maxDistance) != null ? K : 3.5, C = Te(n), S = document.createElement("div");
@@ -255,6 +256,6 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
255
256
  };
256
257
  };
257
258
  export {
258
- no as PanoSpatialTagPlugin,
259
- no as default
259
+ io as PanoSpatialTagPlugin,
260
+ io as default
260
261
  };
@@ -24,6 +24,7 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
24
24
  import "animejs";
25
25
  import "../shared-utils/url/absoluteUrl.js";
26
26
  import "../shared-utils/five/fiveModelLoad.js";
27
+ import "../shared-utils/five/getFiveModel.js";
27
28
  import "./Components/origins.js";
28
29
  import "../vendor/svelte/internal/index.js";
29
30
  import "./store.js";