@realsee/dnalogel 3.63.4-alpha.4 → 3.64.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 (563) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/dist/GuideLinePlugin/Controller.d.ts +2 -13
  3. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +3 -15
  4. package/dist/GuideLinePlugin/typing.d.ts +21 -4
  5. package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -12
  6. package/dist/GuideLinePlugin/utils/createPath.d.ts +3 -0
  7. package/dist/GuideLinePlugin/utils/index.d.ts +0 -7
  8. package/dist/MeasurePlugin/Controller.d.ts +1 -11
  9. package/dist/MeasurePlugin/utils/MeasureMesh.d.ts +2 -7
  10. package/dist/Sculpt/index.d.ts +8 -6
  11. package/dist/Sculpt/typings/index.d.ts +22 -11
  12. package/dist/Sculpt/typings/style.d.ts +1 -1
  13. package/dist/index.cjs.js +63 -83
  14. package/dist/index.js +10542 -10680
  15. package/dist/index.umd.js +65 -85
  16. package/dist/shared-utils/three/PointSelector/index.d.ts +3 -3
  17. package/dist/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +1 -1
  18. package/docs/assets/navigation.js +1 -1
  19. package/docs/assets/search.js +1 -1
  20. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
  21. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
  22. package/docs/classes/CSS3DRender.html +3 -3
  23. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  24. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +27 -28
  25. package/docs/classes/ModelMakerPluginInstance.html +15 -15
  26. package/docs/classes/ModelRoomLabelController.html +6 -6
  27. package/docs/classes/MoveController.html +17 -17
  28. package/docs/classes/Object3DHelperController.html +15 -15
  29. package/docs/classes/PaintBrush.html +5 -5
  30. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  31. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  32. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  33. package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
  34. package/docs/classes/PanoTagPluginController.html +34 -34
  35. package/docs/classes/Sculpt.html +23 -23
  36. package/docs/classes/Util.BetterTween.html +2 -2
  37. package/docs/classes/Util.FiveDomEvents.html +4 -4
  38. package/docs/classes/Util.FivePuppet.html +3 -3
  39. package/docs/classes/Util.Interval.html +5 -5
  40. package/docs/classes/Util.LightTag.html +14 -14
  41. package/docs/classes/Util.LineSegments.html +2 -2
  42. package/docs/classes/Util.Magnifier.html +6 -6
  43. package/docs/classes/Util.Object3D.html +4 -4
  44. package/docs/classes/Util.PointHelper.html +2 -2
  45. package/docs/classes/Util.PointSelector.html +16 -16
  46. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  47. package/docs/classes/Util.Rectangle.html +5 -5
  48. package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
  49. package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
  50. package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
  51. package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
  52. package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
  53. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
  54. package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
  55. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
  56. package/docs/classes/Util.sculpt.LineMesh.html +5 -5
  57. package/docs/classes/Util.sculpt.PointMesh.html +5 -5
  58. package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
  59. package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
  60. package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
  61. package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
  62. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
  63. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
  64. package/docs/classes/WalkController.html +18 -18
  65. package/docs/enums/CameraMovementEffect.html +3 -3
  66. package/docs/enums/ContentType.html +18 -18
  67. package/docs/enums/DIRECTION.html +2 -2
  68. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  69. package/docs/enums/DimensionType.html +3 -3
  70. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  71. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  72. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  73. package/docs/enums/PointType.html +3 -3
  74. package/docs/enums/Rotation.html +3 -3
  75. package/docs/functions/AreaMakerPlugin.html +1 -1
  76. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  77. package/docs/functions/CameraMovementPlugin.html +2 -2
  78. package/docs/functions/CruisePlugin.html +1 -1
  79. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  80. package/docs/functions/GuideLinePlugin.html +1 -1
  81. package/docs/functions/ItemLabelPlugin.html +1 -1
  82. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  83. package/docs/functions/MeasurePlugin.html +1 -1
  84. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  85. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  86. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  87. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  88. package/docs/functions/ModelMakerPlugin.html +1 -1
  89. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  90. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  91. package/docs/functions/ModelViewPlugin.html +2 -2
  92. package/docs/functions/MovePlugin.html +1 -1
  93. package/docs/functions/Object3DHelperPlugin.html +1 -1
  94. package/docs/functions/PanoCompassPlugin.html +1 -1
  95. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  96. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  97. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  98. package/docs/functions/PanoMeasurePlugin.html +1 -1
  99. package/docs/functions/PanoRulerPlugin.html +2 -2
  100. package/docs/functions/PanoRulerProPlugin.html +2 -2
  101. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  102. package/docs/functions/PanoTagPlugin.html +1 -1
  103. package/docs/functions/PanoVideoPlugin.html +2 -2
  104. package/docs/functions/PipelinePlugin.html +1 -1
  105. package/docs/functions/SculptPlugin.html +2 -2
  106. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  107. package/docs/functions/Util.absoluteUrl.html +2 -2
  108. package/docs/functions/Util.awaitNextFrame.html +1 -1
  109. package/docs/functions/Util.blink.html +2 -2
  110. package/docs/functions/Util.bounding.html +1 -1
  111. package/docs/functions/Util.boundingBox.html +1 -1
  112. package/docs/functions/Util.boundingSphere.html +1 -1
  113. package/docs/functions/Util.boxVertex.html +2 -2
  114. package/docs/functions/Util.boxVertexes.html +1 -1
  115. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  116. package/docs/functions/Util.convexHull.html +2 -2
  117. package/docs/functions/Util.equal.html +2 -2
  118. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  119. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  120. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  121. package/docs/functions/Util.getFrameTime.html +2 -2
  122. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  123. package/docs/functions/Util.inside.html +1 -1
  124. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  125. package/docs/functions/Util.isModelLike.html +1 -1
  126. package/docs/functions/Util.isNil.html +2 -2
  127. package/docs/functions/Util.isPanoramaLike.html +1 -1
  128. package/docs/functions/Util.lookObject.html +2 -2
  129. package/docs/functions/Util.lookPoint.html +2 -2
  130. package/docs/functions/Util.nextFrame.html +1 -1
  131. package/docs/functions/Util.notNil.html +2 -2
  132. package/docs/functions/Util.reblink.html +2 -2
  133. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  134. package/docs/functions/Util.sculpt.createBox.html +1 -1
  135. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  136. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  137. package/docs/functions/Util.sculpt.createLine.html +2 -2
  138. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  139. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  140. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  141. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  142. package/docs/functions/Util.tag.html +1 -1
  143. package/docs/functions/Util.tweenProgress.html +1 -1
  144. package/docs/functions/Util.uuid.html +2 -2
  145. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  146. package/docs/functions/Util.worldBounding.html +1 -1
  147. package/docs/functions/Util.worldBoundingBox.html +1 -1
  148. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  149. package/docs/functions/createPolyline.html +2 -2
  150. package/docs/functions/pluginFlag.html +1 -1
  151. package/docs/hierarchy.html +1 -1
  152. package/docs/index.html +2 -2
  153. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  154. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  155. package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
  156. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  157. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
  158. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  159. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  160. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  161. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  162. package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
  163. package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
  164. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  165. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  166. package/docs/interfaces/ContentTypeMapInterface.html +15 -15
  167. package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
  168. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  169. package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
  170. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +4 -4
  171. package/docs/interfaces/CruisePluginTypes.MoveAction.html +9 -9
  172. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +10 -10
  173. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +11 -11
  174. package/docs/interfaces/CruisePluginTypes.PluginData.html +4 -4
  175. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  176. package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
  177. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
  178. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
  179. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  180. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  181. package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
  182. package/docs/interfaces/FloorplanBounding.html +5 -5
  183. package/docs/interfaces/FloorplanData.html +3 -3
  184. package/docs/interfaces/FloorplanEntrance.html +8 -8
  185. package/docs/interfaces/FloorplanExtraObject.html +5 -5
  186. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  187. package/docs/interfaces/FloorplanFloorData.html +3 -3
  188. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  189. package/docs/interfaces/FloorplanObserver.html +3 -3
  190. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  191. package/docs/interfaces/FloorplanPosition.html +3 -3
  192. package/docs/interfaces/FloorplanRoomItem.html +8 -8
  193. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
  194. package/docs/interfaces/FloorplanServerBounding.html +5 -5
  195. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  196. package/docs/interfaces/FloorplanServerData.html +3 -3
  197. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  198. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  199. package/docs/interfaces/FloorplanServerEntrance.html +8 -8
  200. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  201. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  202. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  203. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  204. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  205. package/docs/interfaces/FloorplanServerRoomItem.html +9 -9
  206. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
  207. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -5
  209. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
  210. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +5 -0
  211. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
  212. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  213. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  214. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  215. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  216. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
  217. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  218. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
  219. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  220. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  221. package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
  222. package/docs/interfaces/GuideLinePluginType.Route.html +9 -2
  223. package/docs/interfaces/HelperOffset.html +2 -2
  224. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  225. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  226. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  227. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  228. package/docs/interfaces/MinMax.html +2 -2
  229. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  230. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  231. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  232. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  233. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  234. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  235. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  236. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  237. package/docs/interfaces/ModelMakerPluginType.EventMap.html +10 -10
  238. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  239. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
  240. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  241. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
  242. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
  243. package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
  244. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  245. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  246. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  247. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  248. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  249. package/docs/interfaces/Object3DHelperState.html +2 -2
  250. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  251. package/docs/interfaces/PaintBrushAction.html +7 -7
  252. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  253. package/docs/interfaces/PaintBrushState.html +2 -2
  254. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  255. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  256. package/docs/interfaces/PanoMeasureParameterType.html +6 -6
  257. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  258. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  259. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  260. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
  261. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  262. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  263. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  264. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  265. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  266. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  267. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  268. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  269. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  270. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  271. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  272. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  273. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  274. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  275. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  276. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  277. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  278. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
  279. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  280. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  281. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  282. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
  283. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
  284. package/docs/interfaces/PluginEventMap.html +4 -4
  285. package/docs/interfaces/Point.html +2 -2
  286. package/docs/interfaces/Room.html +2 -2
  287. package/docs/interfaces/RoomInfo.html +2 -2
  288. package/docs/interfaces/RoomLabel.html +7 -7
  289. package/docs/interfaces/RoomRules.html +1 -1
  290. package/docs/interfaces/Rooms.html +1 -1
  291. package/docs/interfaces/Scissor.html +6 -6
  292. package/docs/interfaces/State.html +4 -4
  293. package/docs/interfaces/TagCacheInterface.html +3 -3
  294. package/docs/interfaces/TagConfig.html +10 -10
  295. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  296. package/docs/interfaces/TagIconUrl.html +9 -9
  297. package/docs/interfaces/TagObjectGroup.html +2 -2
  298. package/docs/interfaces/TagStyle.html +2 -2
  299. package/docs/interfaces/Tags.html +4 -4
  300. package/docs/interfaces/TemporaryState.html +2 -2
  301. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  302. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  303. package/docs/interfaces/Util.EventHandlerConfig.html +4 -4
  304. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  305. package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
  306. package/docs/interfaces/Util.MagnifierParameter.html +5 -5
  307. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  308. package/docs/interfaces/Util.PointIntersection.html +11 -11
  309. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  310. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  311. package/docs/modules/AreaMakerPluginType.html +2 -2
  312. package/docs/modules/CruisePluginTypes.html +2 -2
  313. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  314. package/docs/modules/GuideLineItem.html +2 -2
  315. package/docs/modules/GuideLineModeItem.html +2 -2
  316. package/docs/modules/GuideLinePluginType.html +4 -3
  317. package/docs/modules/ModelMakerPluginType.html +2 -2
  318. package/docs/modules/PanoVideoPluginType.html +2 -2
  319. package/docs/modules/SculptData.html +2 -2
  320. package/docs/modules/SculptType.html +2 -0
  321. package/docs/modules/Util.html +2 -2
  322. package/docs/modules/Util.sculpt.html +2 -2
  323. package/docs/modules.html +3 -2
  324. package/docs/types/AddObject3DHelperConfig.html +2 -2
  325. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  326. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  327. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  328. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  329. package/docs/types/ArrayPosition.html +1 -1
  330. package/docs/types/AudioAppearance.html +1 -1
  331. package/docs/types/CSS3DRenderExportType.html +1 -1
  332. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  333. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  334. package/docs/types/ClassFunctionParameters.html +1 -1
  335. package/docs/types/Color.html +1 -1
  336. package/docs/types/ContentTypeConfigKey.html +1 -1
  337. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  338. package/docs/types/ContentTypeMap.html +1 -1
  339. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  340. package/docs/types/Create3DElementReturnType.html +1 -1
  341. package/docs/types/CruisePluginExportType.html +1 -1
  342. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  343. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  344. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  345. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  346. package/docs/types/DeprecatedTagProperty.html +2 -2
  347. package/docs/types/Direction-1.html +1 -1
  348. package/docs/types/Direction4.html +1 -1
  349. package/docs/types/ElementRenderer.html +2 -2
  350. package/docs/types/FloorplanRuleLabels.html +2 -2
  351. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  352. package/docs/types/GuideLinePluginExportType.html +1 -1
  353. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -10
  354. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  355. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  356. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  357. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  358. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  359. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  360. package/docs/types/GuideLinePluginType.RouteConfig.html +4 -0
  361. package/docs/types/HelperEventMap.html +1 -1
  362. package/docs/types/InternalHelperEventMap.html +1 -1
  363. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  364. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  365. package/docs/types/MediaData.html +2 -2
  366. package/docs/types/MediaStore.html +1 -1
  367. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  368. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  369. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  370. package/docs/types/ModelId.html +1 -1
  371. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  372. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  373. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  374. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  375. package/docs/types/MoveArgs.html +2 -2
  376. package/docs/types/MoveOpts.html +2 -2
  377. package/docs/types/Object3DHelperEventMap.html +1 -1
  378. package/docs/types/ObjectFit.html +1 -1
  379. package/docs/types/PaintBrushEventMap.html +1 -1
  380. package/docs/types/PanoCompassPluginData.html +1 -1
  381. package/docs/types/PanoCompassPluginExportType.html +1 -1
  382. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  383. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  384. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  385. package/docs/types/PanoIndex.html +1 -1
  386. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  387. package/docs/types/PanoMeasureReturnType.html +1 -1
  388. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  389. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  390. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  391. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  392. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  393. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  394. package/docs/types/PipelinePluginParameterType.html +1 -1
  395. package/docs/types/PipelinePluginReturnType.html +1 -1
  396. package/docs/types/PlaneTag.html +2 -2
  397. package/docs/types/Point2DTag.html +2 -2
  398. package/docs/types/Point3DTag.html +2 -2
  399. package/docs/types/PointTagInstance.html +1 -1
  400. package/docs/types/Position.html +1 -1
  401. package/docs/types/PositionFrom.html +1 -1
  402. package/docs/types/RotateArgs.html +2 -2
  403. package/docs/types/RotateOpts.html +2 -2
  404. package/docs/types/RuleLabelsKey.html +1 -1
  405. package/docs/types/RuleLabelsValue.html +1 -1
  406. package/docs/types/ScaleCallback.html +1 -1
  407. package/docs/types/ScalePosition.html +2 -2
  408. package/docs/types/SculptData.BoxData.html +1 -1
  409. package/docs/types/SculptData.CircleData.html +1 -1
  410. package/docs/types/SculptData.CylinderData.html +1 -1
  411. package/docs/types/SculptData.PointData.html +1 -1
  412. package/docs/types/SculptData.PolygonData.html +1 -1
  413. package/docs/types/SculptData.PolylineData.html +1 -1
  414. package/docs/types/SculptData.PrismData.html +1 -1
  415. package/docs/types/SculptData.RectangleData.html +1 -1
  416. package/docs/types/SculptType.Theme.html +10 -0
  417. package/docs/types/StickType.html +1 -1
  418. package/docs/types/Tag.html +2 -2
  419. package/docs/types/Tag2D.html +2 -2
  420. package/docs/types/Tag3D.html +2 -2
  421. package/docs/types/TagClickParams.html +1 -1
  422. package/docs/types/TagConfigByKey.html +1 -1
  423. package/docs/types/TagContentType.html +1 -1
  424. package/docs/types/TagContentTypeMapping.html +1 -1
  425. package/docs/types/TagDimensionType.html +1 -1
  426. package/docs/types/TagElement.html +2 -2
  427. package/docs/types/TagEvents.html +1 -1
  428. package/docs/types/TagGLTFObject.html +1 -1
  429. package/docs/types/TagHooks.html +1 -1
  430. package/docs/types/TagId.html +1 -1
  431. package/docs/types/TagInstance.html +1 -1
  432. package/docs/types/TagPointType.html +2 -2
  433. package/docs/types/TagRendererMap.html +1 -1
  434. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  435. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  436. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  437. package/docs/types/Util.AdherePoint.html +2 -2
  438. package/docs/types/Util.PointSelectorConfig.html +1 -1
  439. package/docs/types/WorkCode.html +1 -1
  440. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  441. package/docs/variables/PLUGIN.html +1 -1
  442. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  443. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  444. package/docs/variables/Util.animeMap.html +1 -1
  445. package/docs/variables/defaultGlobalConfig.html +1 -1
  446. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  447. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  448. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  449. package/libs/AreaMakerPlugin/Controller.js +2 -3
  450. package/libs/AreaMakerPlugin/index.js +2 -3
  451. package/libs/AreaMakerPlugin/utils/Item.js +2 -3
  452. package/libs/CSS3DRenderPlugin/Controller.js +2 -3
  453. package/libs/CSS3DRenderPlugin/index.js +5 -6
  454. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +2 -3
  455. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +2 -3
  456. package/libs/CruisePlugin/BaseController.js +4 -5
  457. package/libs/CruisePlugin/Move.js +1 -1
  458. package/libs/CruisePlugin/Work.js +1 -1
  459. package/libs/CruisePlugin/index.js +1 -1
  460. package/libs/CurrentPanoImagePlugin/Controller.js +2 -3
  461. package/libs/CurrentPanoImagePlugin/index.js +3 -4
  462. package/libs/GuideLinePlugin/Controller.d.ts +2 -13
  463. package/libs/GuideLinePlugin/Controller.js +53 -54
  464. package/libs/GuideLinePlugin/GuideLineItem/index.js +52 -50
  465. package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
  466. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +109 -175
  467. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +3 -15
  468. package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
  469. package/libs/GuideLinePlugin/index.js +1 -1
  470. package/libs/GuideLinePlugin/typing.d.ts +21 -4
  471. package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -12
  472. package/libs/GuideLinePlugin/utils/createLineGeometry.js +88 -124
  473. package/libs/GuideLinePlugin/utils/createPath.d.ts +3 -0
  474. package/libs/GuideLinePlugin/utils/createPath.js +33 -0
  475. package/libs/GuideLinePlugin/utils/index.d.ts +0 -7
  476. package/libs/GuideLinePlugin/utils/index.js +3 -11
  477. package/libs/MeasurePlugin/Controller.d.ts +1 -11
  478. package/libs/MeasurePlugin/Controller.js +80 -111
  479. package/libs/MeasurePlugin/index.js +2 -3
  480. package/libs/MeasurePlugin/utils/MeasureMesh.d.ts +2 -7
  481. package/libs/MeasurePlugin/utils/MeasureMesh.js +16 -30
  482. package/libs/ModelMakerPlugin/Controller.js +2 -3
  483. package/libs/ModelMakerPlugin/index.js +2 -3
  484. package/libs/ModelMakerPlugin/item/baseItem.js +2 -3
  485. package/libs/ModelMakerPlugin/item/boxItem.js +2 -3
  486. package/libs/ModelMakerPlugin/item/polygonItem.js +2 -3
  487. package/libs/ModelMakerPlugin/item/prismItem.js +2 -3
  488. package/libs/ModelTVVideoPlugin/Plugin.js +3 -4
  489. package/libs/ModelTVVideoPlugin/index.js +2 -3
  490. package/libs/ModelViewPlugin/Plugin.js +3 -4
  491. package/libs/ModelViewPlugin/index.js +0 -1
  492. package/libs/Object3DHelperPlugin/Controller.js +15 -16
  493. package/libs/Object3DHelperPlugin/index.js +5 -6
  494. package/libs/PanoCompassPlugin/Controller.js +2 -3
  495. package/libs/PanoCompassPlugin/index.js +3 -4
  496. package/libs/PanoDoorLabelPlugin/Controller.js +2 -3
  497. package/libs/PanoDoorLabelPlugin/index.js +3 -4
  498. package/libs/PanoMeasurePlugin/Components/Controller0.js +2 -3
  499. package/libs/PanoMeasurePlugin/Components/Controller1.js +2 -3
  500. package/libs/PanoMeasurePlugin/Controller/EditController.js +2 -3
  501. package/libs/PanoMeasurePlugin/Controller/WatchController.js +2 -3
  502. package/libs/PanoMeasurePlugin/Controller/index.js +2 -3
  503. package/libs/PanoMeasurePlugin/Model/area.js +11 -12
  504. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +0 -1
  505. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +2 -3
  506. package/libs/PanoMeasurePlugin/index.js +13 -14
  507. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +2 -3
  508. package/libs/PanoRulerProPlugin/Controller.js +2 -3
  509. package/libs/PanoRulerProPlugin/RulerItems.js +2 -3
  510. package/libs/PanoRulerProPlugin/index.js +3 -4
  511. package/libs/PanoSpatialTagPlugin/Plugin.js +63 -64
  512. package/libs/PanoSpatialTagPlugin/index.js +0 -1
  513. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +2 -3
  514. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +2 -3
  515. package/libs/PanoTagPlugin/Components/Tag/index.js +2 -3
  516. package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
  517. package/libs/PanoTagPlugin/Components/TagItem.js +2 -3
  518. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +2 -3
  519. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +2 -3
  520. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +26 -27
  521. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +2 -3
  522. package/libs/PanoTagPlugin/controller/TagRender.js +2 -3
  523. package/libs/PanoTagPlugin/controller/TagUtil.js +2 -3
  524. package/libs/PanoTagPlugin/controller/index.js +5 -6
  525. package/libs/PanoTagPlugin/index.js +11 -12
  526. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +16 -17
  527. package/libs/PanoVideoPlugin/Controller.js +2 -3
  528. package/libs/PanoVideoPlugin/VideoMeshController.js +2 -3
  529. package/libs/PanoVideoPlugin/index.js +5 -6
  530. package/libs/PipelinePlugin/Controller.js +19 -20
  531. package/libs/PipelinePlugin/index.js +3 -4
  532. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +2 -3
  533. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +2 -3
  534. package/libs/PipelinePlugin/utils/Objects/Pipe.js +0 -1
  535. package/libs/Sculpt/Meshes/Line.js +75 -75
  536. package/libs/Sculpt/Meshes/Polygon.js +11 -7
  537. package/libs/Sculpt/index.d.ts +8 -6
  538. package/libs/Sculpt/index.js +20 -20
  539. package/libs/Sculpt/typings/index.d.ts +22 -11
  540. package/libs/Sculpt/typings/style.d.ts +1 -1
  541. package/libs/Sculpt/utils/three/ColoredMesh.js +21 -22
  542. package/libs/base/BasePlugin.js +3 -3
  543. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +2 -3
  544. package/libs/floorplan/MapviewFloorplanPlugin/index.js +3 -4
  545. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +2 -3
  546. package/libs/floorplan/ModelFloorplanPlugin/index.js +3 -4
  547. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +2 -3
  548. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +3 -4
  549. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +2 -3
  550. package/libs/floorplan/TopviewFloorplanPlugin/index.js +3 -4
  551. package/libs/index.js +1 -1
  552. package/libs/shared-utils/five/FiveDomEvents.js +1 -3
  553. package/libs/shared-utils/logger.js +1 -1
  554. package/libs/shared-utils/three/PointSelector/index.d.ts +3 -3
  555. package/libs/shared-utils/three/PointSelector/index.js +5 -6
  556. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +1 -1
  557. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -3
  558. package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +91 -91
  559. package/package.json +1 -1
  560. package/dist/Sculpt/utils/unit.d.ts +0 -2
  561. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -4
  562. package/libs/Sculpt/utils/unit.d.ts +0 -2
  563. package/libs/Sculpt/utils/unit.js +0 -14
@@ -1,38 +1,39 @@
1
- var k = Object.defineProperty, x = Object.defineProperties;
2
- var M = Object.getOwnPropertyDescriptors;
3
- var D = Object.getOwnPropertySymbols;
4
- var w = Object.prototype.hasOwnProperty, P = Object.prototype.propertyIsEnumerable;
5
- var T = (m, e, t) => e in m ? k(m, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : m[e] = t, c = (m, e) => {
1
+ var w = Object.defineProperty, V = Object.defineProperties;
2
+ var P = Object.getOwnPropertyDescriptors;
3
+ var y = Object.getOwnPropertySymbols;
4
+ var x = Object.prototype.hasOwnProperty, T = Object.prototype.propertyIsEnumerable;
5
+ var p = (h, e, t) => e in h ? w(h, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[e] = t, f = (h, e) => {
6
6
  for (var t in e || (e = {}))
7
- w.call(e, t) && T(m, t, e[t]);
8
- if (D)
9
- for (var t of D(e))
10
- P.call(e, t) && T(m, t, e[t]);
11
- return m;
12
- }, y = (m, e) => x(m, M(e));
13
- var i = (m, e, t) => (T(m, typeof e != "symbol" ? e + "" : e, t), t);
14
- import * as h from "three";
15
- import { logError as F } from "../../shared-utils/log.js";
16
- import { createLineGeometry as U } from "../utils/createLineGeometry.js";
7
+ x.call(e, t) && p(h, t, e[t]);
8
+ if (y)
9
+ for (var t of y(e))
10
+ T.call(e, t) && p(h, t, e[t]);
11
+ return h;
12
+ }, C = (h, e) => V(h, P(e));
13
+ var i = (h, e, t) => (p(h, typeof e != "symbol" ? e + "" : e, t), t);
14
+ import * as n from "three";
15
+ import { logError as L } from "../../shared-utils/log.js";
16
+ import { createLineGeometry as F } from "../utils/createLineGeometry.js";
17
17
  import "../../shared-utils/tag.js";
18
- import { isPanoramaLike as L, isModelLike as S } from "../../shared-utils/five/mode.js";
18
+ import { isPanoramaLike as S, isModelLike as M } from "../../shared-utils/five/mode.js";
19
19
  import "../../vendor/hammerjs/hammer.js";
20
20
  import "../../shared-utils/three/PointSelector/index.js";
21
21
  import "../../shared-utils/three/CSS3DRenderer/index.js";
22
22
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
23
  import "@realsee/five/line";
24
- import { notNil as V } from "../../shared-utils/isNil.js";
24
+ import { notNil as _ } from "../../shared-utils/isNil.js";
25
25
  import "../../shared-utils/three/core/Five_LineMaterial2.js";
26
26
  import "../../shared-utils/three/core/Sphere.js";
27
27
  import { blink as O } from "../../shared-utils/three/blink.js";
28
- import { BetterTween as _ } from "../../shared-utils/animationFrame/BetterTween.js";
28
+ import { BetterTween as U } from "../../shared-utils/animationFrame/BetterTween.js";
29
29
  import "../../shared-utils/five/FivePuppet.js";
30
- import { loadTexture as A } from "../../shared-utils/three/loadTexture.js";
31
- import C from "../../PanoTagPlugin/controller/index.js";
32
- import E from "../Components/Tag.js";
30
+ import { loadTexture as E } from "../../shared-utils/three/loadTexture.js";
31
+ import k from "../../PanoTagPlugin/controller/index.js";
32
+ import A from "../Components/Tag.js";
33
33
  import { filterAdjacentDistinct as G } from "../utils/index.js";
34
34
  import { objectAssignDeepExports as B } from "../../vendor/object-assign-deep/objectAssignDeep.js";
35
- const I = (
35
+ import { createPath as I } from "../utils/createPath.js";
36
+ const W = (
36
37
  /* glsl */
37
38
  `
38
39
  varying vec2 vUv;
@@ -45,7 +46,7 @@ const I = (
45
46
  gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
46
47
  }
47
48
  `
48
- ), N = (
49
+ ), R = (
49
50
  /* glsl */
50
51
  `
51
52
  precision highp float;
@@ -74,12 +75,6 @@ const I = (
74
75
  uniform float opacity;
75
76
  // 最大 U 值
76
77
  uniform float maxV;
77
- // 只显示 includeMinV ~ includeMaxV 之内的颜色
78
- uniform float includeMinV;
79
- uniform float includeMaxV;
80
- // 不显示 excludeMinV ~ excludeMaxV 之内的颜色
81
- uniform float excludeMinV;
82
- uniform float excludeMaxV;
83
78
  // v offset
84
79
  uniform float vOffset;
85
80
  // 闪烁动画值
@@ -153,20 +148,6 @@ const I = (
153
148
 
154
149
  void main() {
155
150
  float v = vUv.y;
156
- // 低版本 webgl 有精度问题,所以这里不能用 includeMinV != -1.0 && includeMaxV != -1.0
157
- if (includeMinV > -0.9 && includeMaxV > -0.9) {
158
- if (v < includeMinV || v > includeMaxV) {
159
- gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0);
160
- return;
161
- }
162
- }
163
- // 同上
164
- if (excludeMinV > -0.9 && excludeMaxV > -0.9) {
165
- if (v >= excludeMinV && v <= excludeMaxV) {
166
- gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0);
167
- return;
168
- }
169
- }
170
151
  vec4 image = getImage();
171
152
  vec4 border = getBorder();
172
153
  vec4 background = getBackground();
@@ -184,7 +165,7 @@ const I = (
184
165
  }
185
166
  `
186
167
  );
187
- class R {
168
+ class N {
188
169
  constructor(e, t) {
189
170
  i(this, "name", "");
190
171
  i(this, "startTagContainer");
@@ -193,9 +174,8 @@ class R {
193
174
  i(this, "geometryStyle", {});
194
175
  i(this, "materialStyle", {});
195
176
  i(this, "meshStyle", {});
196
- i(this, "group", new h.Group());
197
- i(this, "meshWithDepthTest");
198
- i(this, "meshWithoutDepthTest");
177
+ i(this, "group", new n.Group());
178
+ i(this, "mesh");
199
179
  i(this, "visible", null);
200
180
  i(this, "five");
201
181
  i(this, "mode");
@@ -221,16 +201,14 @@ class R {
221
201
  i(this, "plugin");
222
202
  i(this, "textureHasLoaded", !1);
223
203
  i(this, "disposed", !1);
224
- i(this, "flowAnime", new _({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
204
+ i(this, "flowAnime", new U({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
225
205
  /** 缓存 panoGroup 中每个点距离起点的长度 */
226
206
  i(this, "cacheLengths", []);
227
207
  /** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
228
208
  i(this, "heightOffset", 0);
229
- i(this, "panoMap", {});
230
- i(this, "autoDepthTestEffectDistance");
231
209
  i(this, "dispose", () => {
232
210
  var e, t;
233
- this.disposed || (this.disposed = !0, this.parent.hooks.off("show", this.updateVisible), this.parent.hooks.off("hide", this.updateVisible), this.plugin.hooks.off("show", this.updateVisible), this.plugin.hooks.off("hide", this.updateVisible), this.plugin.hooks.off("enable", this.updateVisible), this.plugin.hooks.off("disable", this.updateVisible), this.five.off("modeChange", this.onFiveModeChange), this.five.off("panoArrived", this.onFivePanoArrived), this.five.off("modelShownFloorChange", this.onFiveModelShownFloorChange), this.doHide(), (e = this.startTagContainer) == null || e.plugin.dispose(), (t = this.endTagContainer) == null || t.plugin.dispose());
211
+ this.disposed || (this.disposed = !0, this.parent.hooks.off("show", this.updateVisible), this.parent.hooks.off("hide", this.updateVisible), this.plugin.hooks.off("show", this.updateVisible), this.plugin.hooks.off("hide", this.updateVisible), this.plugin.hooks.off("enable", this.updateVisible), this.plugin.hooks.off("disable", this.updateVisible), this.five.off("modeChange", this.onFiveModeChange), this.five.off("modelShownFloorChange", this.onFiveModelShownFloorChange), this.doHide(), (e = this.startTagContainer) == null || e.plugin.dispose(), (t = this.endTagContainer) == null || t.plugin.dispose());
234
212
  });
235
213
  /** 开始走点动画 */
236
214
  i(this, "onWalkAnimationStart", () => {
@@ -242,20 +220,7 @@ class R {
242
220
  });
243
221
  /** 模型状态变更 */
244
222
  i(this, "onFiveModeChange", (e) => {
245
- this.modeVisible = this.mode === "panorama" ? L(e) : S(e), this.updateVisible();
246
- });
247
- /** 走点 */
248
- i(this, "onFivePanoArrived", (e) => {
249
- var s, a, o, n, l, d;
250
- const t = (o = (a = (s = this.path) == null ? void 0 : s[0]) == null ? void 0 : a.panoIndexMap) == null ? void 0 : o[e], r = this.panoMap[t != null ? t : e];
251
- if (r === void 0)
252
- this.group.children.includes(this.meshWithoutDepthTest) && this.group.remove(this.meshWithoutDepthTest), this.meshWithDepthTest.material.uniforms.excludeMinV.value = -1, this.meshWithDepthTest.material.uniforms.excludeMaxV.value = -1;
253
- else {
254
- this.group.children.includes(this.meshWithoutDepthTest) || this.group.add(this.meshWithoutDepthTest), this.meshWithoutDepthTest.visible = !0;
255
- const u = this.meshWithDepthTest.geometry.getAttribute("uv"), p = 100 * ((n = this.autoDepthTestEffectDistance) != null ? n : 2), g = (l = u.getY((r - p) * 2)) != null ? l : 0, f = (d = u.getY((r + p) * 2)) != null ? d : u.getY(u.count - 1);
256
- this.meshWithDepthTest.material.uniforms.excludeMinV.value = g, this.meshWithDepthTest.material.uniforms.excludeMaxV.value = f, this.meshWithDepthTest.material.uniforms.includeMinV.value = -1, this.meshWithDepthTest.material.uniforms.includeMaxV.value = -1, this.meshWithoutDepthTest.material.uniforms.includeMinV.value = g, this.meshWithoutDepthTest.material.uniforms.includeMaxV.value = f, this.meshWithoutDepthTest.material.uniforms.excludeMinV.value = -1, this.meshWithoutDepthTest.material.uniforms.excludeMaxV.value = -1;
257
- }
258
- this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
223
+ this.modeVisible = this.mode === "panorama" ? S(e) : M(e), this.updateVisible();
259
224
  });
260
225
  i(this, "onFiveModelShownFloorChange", (e) => {
261
226
  this.floorVisible = e === null || this.visibleFloorIndexes === null || this.visibleFloorIndexes.includes(e), this.updateVisible();
@@ -267,37 +232,33 @@ class R {
267
232
  });
268
233
  i(this, "onFlowAnimeUpdate", (e) => {
269
234
  const { progress: t } = e;
270
- this.meshWithDepthTest.material.uniforms.vOffset.value = t, this.meshWithoutDepthTest.material.uniforms.vOffset.value = t, this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
235
+ this.mesh.material.uniforms.vOffset.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
271
236
  });
272
- i(this, "logError", (e) => F("GuideLineModeItem: ", e));
237
+ i(this, "logError", (e) => L("GuideLineModeItem: ", e));
273
238
  var a, o;
274
239
  this.five = e, this.mode = t.mode, this.plugin = t.plugin, this.parent = t.parent, this.group.name = "GuideLineModeItem";
275
- const r = new h.BufferGeometry(), s = new h.ShaderMaterial({
276
- vertexShader: I,
277
- fragmentShader: N,
240
+ const s = new n.BufferGeometry(), r = new n.ShaderMaterial({
241
+ vertexShader: W,
242
+ fragmentShader: R,
278
243
  transparent: !0,
279
244
  uniforms: {
280
245
  map: { value: null },
281
246
  useMapColor: { value: 0 },
282
- mapColor: { value: new h.Color() },
247
+ mapColor: { value: new n.Color() },
283
248
  mapOpacity: { value: 1 },
284
- backgroundColor: { value: new h.Color() },
249
+ backgroundColor: { value: new n.Color() },
285
250
  backgroundOpacity: { value: 0 },
286
- borderColor: { value: new h.Color() },
251
+ borderColor: { value: new n.Color() },
287
252
  borderOpacity: { value: 0 },
288
253
  backgroundClip: { value: 0 },
289
254
  borderWidth: { value: 0.05 },
290
255
  opacity: { value: 1 },
291
256
  flicker: { value: 1 },
292
257
  maxV: { value: 0 },
293
- vOffset: { value: 0 },
294
- includeMinV: { value: -1 },
295
- includeMaxV: { value: -1 },
296
- excludeMinV: { value: -1 },
297
- excludeMaxV: { value: -1 }
258
+ vOffset: { value: 0 }
298
259
  }
299
260
  });
300
- this.meshWithDepthTest = new h.Mesh(r, s), this.meshWithoutDepthTest = new h.Mesh(r, s.clone()), this.meshWithoutDepthTest.material.depthTest = !1, this.meshWithDepthTest.name = "GuideLineModeItemWithDepthTest", this.meshWithoutDepthTest.name = "GuideLineModeItemWithoutDepthTest", this.group.add(this.meshWithDepthTest), this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd), this.onFivePanoArrived(this.five.getCurrentState().panoIndex)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((o = (a = this.five.model) == null ? void 0 : a.shownFloor) != null ? o : null), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.parent.hooks.on("show", this.updateVisible), this.parent.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("show", this.updateVisible), this.plugin.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("enable", this.updateVisible), this.plugin.hooks.on("disable", this.updateVisible), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.five.on("panoArrived", this.onFivePanoArrived), this.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange), this.five.needsRender = !0;
261
+ this.mesh = new n.Mesh(s, r), this.mesh.name = "GuideLineModeItem", this.group.add(this.mesh), this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((o = (a = this.five.model) == null ? void 0 : a.shownFloor) != null ? o : null), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.parent.hooks.on("show", this.updateVisible), this.parent.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("show", this.updateVisible), this.plugin.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("enable", this.updateVisible), this.plugin.hooks.on("disable", this.updateVisible), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange), this.five.needsRender = !0;
301
262
  }
302
263
  get panoGroup() {
303
264
  return this._panoGroup;
@@ -344,86 +305,82 @@ class R {
344
305
  return this.logError("disposed");
345
306
  if (!this.five.work)
346
307
  return this.logError("setPathByPanoGroup: work is not ready");
347
- const r = G(e);
348
- if (this._panoGroup = r, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
349
- const a = t.skipPanoGroup ? r.map((o) => this.plugin.workUtil.getObserverStandingPosition(o)).filter(V) : null;
308
+ const s = G(e);
309
+ if (this._panoGroup = s, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
310
+ const a = t.skipPanoGroup ? s.map((o) => this.plugin.workUtil.getObserverStandingPosition(o)).filter(_) : null;
350
311
  this.skippedPositions = a;
351
312
  }
352
- const s = this.getPathFromPanoGroup(r, this.five.work, t);
353
- this.path = s, this.setGeometryByPath(s, t);
313
+ const r = I(s, this.five.work, t);
314
+ this.path = r, this.setGeometryByPath(r, t);
354
315
  }
355
316
  /** 通过路径设置线条形状 */
356
317
  setGeometryByPath(e, t) {
357
- var g, f, v, W;
318
+ var d, g, m;
358
319
  if (this.disposed)
359
320
  return this.logError("disposed");
360
- const r = (g = t == null ? void 0 : t.scale) != null ? g : this.scale, s = (f = t == null ? void 0 : t.width) != null ? f : this.width, a = (v = t == null ? void 0 : t.unit_length) != null ? v : this.unitLength;
361
- this.scale = r, this.width = s, this.unitLength = a;
362
- const { geometry: o, maxV: n, curvePath: l, curvePoints: d, panoMap: u, totalLength: p } = U({
321
+ const s = (d = t == null ? void 0 : t.scale) != null ? d : this.scale, r = (g = t == null ? void 0 : t.width) != null ? g : this.width, a = (m = t == null ? void 0 : t.unit_length) != null ? m : this.unitLength;
322
+ this.scale = s, this.width = r, this.unitLength = a;
323
+ const { geometry: o, maxV: l, curvePath: c, curvePoints: u } = F({
363
324
  path: e,
364
- width: s * r,
365
- unitLength: a * r,
366
- skipPositions: this.skippedPositions,
367
- useAutoDepthTest: t.useAutoDepthTest
325
+ width: r * s,
326
+ unitLength: a * s,
327
+ skipPositions: this.skippedPositions
368
328
  });
369
- this.autoDepthTestEffectDistance = (W = t.autoDepthTestEffectDistance) != null ? W : (() => {
370
- const b = p / 10;
371
- return b > 3 ? 3 : b < 1 ? 1 : b;
372
- })(), this.panoMap = u, this._curvePath = l, this._curvePoints = d, this.meshWithDepthTest.geometry.copy(o), this.onFivePanoArrived(this.five.getCurrentState().panoIndex), this.meshWithDepthTest.material.needsUpdate = !0, this.meshWithDepthTest.material.uniforms.maxV.value = n, this.meshWithoutDepthTest.material.needsUpdate = !0, this.meshWithoutDepthTest.material.uniforms.maxV.value = n, this.five.needsRender = !0, this.path = e, this.geometryStyle = c(c({}, this.geometryStyle), t);
329
+ this._curvePath = c, this._curvePoints = u, this.mesh.geometry.copy(o), this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxV.value = l, this.five.needsRender = !0, this.path = e, this.geometryStyle = f(f({}, this.geometryStyle), t);
373
330
  }
374
331
  /** 设置线条材质 */
375
332
  setMartial(e) {
376
- var r, s, a, o, n;
333
+ var s, r, a, o, l;
377
334
  if (this.disposed)
378
335
  return this.logError("disposed");
379
- this.setDefaultVisible((r = e == null ? void 0 : e.visible) != null ? r : !1), this.setColor((s = e == null ? void 0 : e.color) != null ? s : "#ffffff"), this.setOpacity((a = e == null ? void 0 : e.opacity) != null ? a : 0.5), this.setTextureUrl((n = (o = e == null ? void 0 : e.texture) == null ? void 0 : o.url) != null ? n : "https://vr-image-4.realsee-cdn.cn/release/web/arrow1.ebe7d0ff.png"), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity), (e == null ? void 0 : e.border_width) !== void 0 && this.setBorderWidth(e.border_width), (e == null ? void 0 : e.background_clip) !== void 0 && this.setBackgroundClip(e.background_clip);
380
- const t = c(c({}, this.materialStyle), e);
336
+ this.setDefaultVisible((s = e == null ? void 0 : e.visible) != null ? s : !1), this.setColor((r = e == null ? void 0 : e.color) != null ? r : "#ffffff"), this.setOpacity((a = e == null ? void 0 : e.opacity) != null ? a : 0.5), this.setTextureUrl((l = (o = e == null ? void 0 : e.texture) == null ? void 0 : o.url) != null ? l : "https://vr-image-4.realsee-cdn.cn/release/web/arrow1.ebe7d0ff.png"), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity), (e == null ? void 0 : e.border_width) !== void 0 && this.setBorderWidth(e.border_width), (e == null ? void 0 : e.background_clip) !== void 0 && this.setBackgroundClip(e.background_clip);
337
+ const t = f(f({}, this.materialStyle), e);
381
338
  this.materialStyle = t;
382
339
  }
383
340
  /** 设置模型状态 */
384
341
  setMeshStyle(e) {
385
342
  if (e != null && e.translate) {
386
- const s = new h.Vector3(), a = new h.Vector3().fromArray(e.translate);
387
- a.y += this.heightOffset, s.add(a), this.group.position.copy(s), r(this.startTagContainer, a), r(this.endTagContainer, a);
343
+ const r = new n.Vector3(), a = new n.Vector3().fromArray(e.translate);
344
+ a.y += this.heightOffset, r.add(a), this.group.position.copy(r), s(this.startTagContainer, a), s(this.endTagContainer, a);
388
345
  }
389
- const t = c(c({}, this.meshStyle), e);
346
+ const t = f(f({}, this.meshStyle), e);
390
347
  this.meshStyle = t;
391
- function r(s, a) {
392
- if (!(s != null && s.tag))
348
+ function s(r, a) {
349
+ if (!(r != null && r.tag))
393
350
  return;
394
- const o = new h.Vector3().fromArray(s.tag.position);
351
+ const o = new n.Vector3().fromArray(r.tag.position);
395
352
  o.add(a);
396
- const n = o.toArray();
397
- s.plugin.changeTagById(s.tag.id, { position: n });
353
+ const l = o.toArray();
354
+ r.plugin.changeTagById(r.tag.id, { position: l });
398
355
  }
399
356
  }
400
357
  /** 设置 Y 轴上的偏移量,为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
401
358
  setHeightOffset(e) {
402
- const t = new h.Vector3();
403
- this.meshStyle.translate && t.add(new h.Vector3().fromArray(this.meshStyle.translate)), t.setY(t.y + e), this.group.position.copy(t), this.heightOffset = e, this.five.needsRender = !0;
359
+ const t = new n.Vector3();
360
+ this.meshStyle.translate && t.add(new n.Vector3().fromArray(this.meshStyle.translate)), t.setY(t.y + e), this.group.position.copy(t), this.heightOffset = e, this.five.needsRender = !0;
404
361
  }
405
362
  /** 设置贴图颜色 */
406
363
  setColor(e) {
407
364
  if (this.disposed)
408
365
  return this.logError("disposed");
409
- e && (this.meshWithDepthTest.material.uniforms.mapColor.value = new h.Color().set(e), this.meshWithoutDepthTest.material.uniforms.mapColor.value = new h.Color().set(e)), this.meshWithDepthTest.material.uniforms.useMapColor.value = e ? 1 : 0, this.meshWithoutDepthTest.material.uniforms.useMapColor.value = e ? 1 : 0, this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
366
+ e && (this.mesh.material.uniforms.mapColor.value = new n.Color().set(e)), this.mesh.material.uniforms.useMapColor.value = e ? 1 : 0, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
410
367
  }
411
368
  /** 设置边框 */
412
369
  setBorderColor(e) {
413
370
  if (this.disposed)
414
371
  return this.logError("disposed");
415
- this.meshWithDepthTest.material.uniforms.borderColor.value = new h.Color().set(e), this.meshWithoutDepthTest.material.uniforms.borderColor.value = new h.Color().set(e), this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
372
+ this.mesh.material.uniforms.borderColor.value = new n.Color().set(e), this.five.needsRender = !0;
416
373
  }
417
374
  /** 设置边框透明度 */
418
375
  setBorderOpacity(e) {
419
376
  if (this.disposed)
420
377
  return this.logError("disposed");
421
- this.meshWithDepthTest.material.uniforms.borderOpacity.value = e, this.meshWithoutDepthTest.material.uniforms.borderOpacity.value = e, this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
378
+ this.mesh.material.uniforms.borderOpacity.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
422
379
  }
423
380
  setBackgroundClip(e) {
424
381
  if (this.disposed)
425
382
  return this.logError("disposed");
426
- this.meshWithDepthTest.material.uniforms.backgroundClip.value = e === "border-box" ? 0 : 1, this.meshWithoutDepthTest.material.uniforms.backgroundClip.value = e === "border-box" ? 0 : 1, this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
383
+ this.mesh.material.uniforms.backgroundClip.value = e === "border-box" ? 0 : 1, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
427
384
  }
428
385
  /**
429
386
  * @description: 设置边框宽度
@@ -431,45 +388,45 @@ class R {
431
388
  setBorderWidth(e) {
432
389
  if (this.disposed)
433
390
  return this.logError("disposed");
434
- this.meshWithDepthTest.material.uniforms.borderWidth.value = e, this.meshWithoutDepthTest.material.uniforms.borderWidth.value = e, this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
391
+ this.mesh.material.uniforms.borderWidth.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
435
392
  }
436
393
  /** 设置背景颜色 */
437
394
  setBackgroundColor(e) {
438
395
  if (this.disposed)
439
396
  return this.logError("disposed");
440
- this.meshWithDepthTest.material.uniforms.backgroundColor.value = new h.Color().set(e), this.meshWithoutDepthTest.material.uniforms.backgroundColor.value = new h.Color().set(e), this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
397
+ this.mesh.material.uniforms.backgroundColor.value = new n.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
441
398
  }
442
399
  /** 设置背景透明度 */
443
400
  setBackgroundOpacity(e) {
444
401
  if (this.disposed)
445
402
  return this.logError("disposed");
446
- this.meshWithDepthTest.material.uniforms.backgroundOpacity.value = e, this.meshWithoutDepthTest.material.uniforms.backgroundOpacity.value = e, this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
403
+ this.mesh.material.uniforms.backgroundOpacity.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
447
404
  }
448
405
  /** 设置整体透明度 */
449
406
  setOpacity(e) {
450
407
  if (this.disposed)
451
408
  return this.logError("disposed");
452
- this.meshWithDepthTest.material.uniforms.opacity.value = e, this.meshWithoutDepthTest.material.uniforms.opacity.value = e, this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
409
+ this.mesh.material.uniforms.opacity.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
453
410
  }
454
411
  /** 设置贴图透明度 */
455
412
  setMapOpacity(e) {
456
413
  if (this.disposed)
457
414
  return this.logError("disposed");
458
- this.meshWithDepthTest.material.uniforms.mapOpacity.value = e, this.meshWithoutDepthTest.material.uniforms.mapOpacity.value = e, this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
415
+ this.mesh.material.uniforms.mapOpacity.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
459
416
  }
460
417
  /** 设置贴图 */
461
418
  setTextureUrl(e) {
462
419
  if (this.disposed)
463
420
  return this.logError("disposed");
464
- this.textureUrl = e, A(e).then((t) => {
465
- this.disposed || this.textureUrl === e && (t.wrapT = h.RepeatWrapping, this.textureHasLoaded = !0, this.meshWithDepthTest.material.uniforms.map.value = t, this.meshWithoutDepthTest.material.uniforms.map.value = t, this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.meshWithDepthTest.material.needsUpdate = !0, this.meshWithoutDepthTest.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
421
+ this.textureUrl = e, E(e).then((t) => {
422
+ this.disposed || this.textureUrl === e && (t.wrapT = n.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
466
423
  });
467
424
  }
468
425
  setVisibleFloorIndexes(e) {
469
- var t, r;
426
+ var t, s;
470
427
  if (this.disposed)
471
428
  return this.logError("disposed");
472
- this._visibleFloorIndexes = e, this.onFiveModelShownFloorChange((r = (t = this.five.model) == null ? void 0 : t.shownFloor) != null ? r : null);
429
+ this._visibleFloorIndexes = e, this.onFiveModelShownFloorChange((s = (t = this.five.model) == null ? void 0 : t.shownFloor) != null ? s : null);
473
430
  }
474
431
  setStartTag(e) {
475
432
  this.setTag("start", e);
@@ -479,10 +436,10 @@ class R {
479
436
  }
480
437
  /** 闪烁 */
481
438
  flicker() {
482
- var e, t, r, s, a, o;
439
+ var e, t, s, r, a, o;
483
440
  if (this.disposed)
484
441
  return this.logError("disposed");
485
- O([this.group, (r = (t = (e = this.startTagContainer) == null ? void 0 : e.plugin) == null ? void 0 : t.tags[0]) == null ? void 0 : r.dom, (o = (a = (s = this.endTagContainer) == null ? void 0 : s.plugin) == null ? void 0 : a.tags[0]) == null ? void 0 : o.dom], {
442
+ O([this.group, (s = (t = (e = this.startTagContainer) == null ? void 0 : e.plugin) == null ? void 0 : t.tags[0]) == null ? void 0 : s.dom, (o = (a = (r = this.endTagContainer) == null ? void 0 : r.plugin) == null ? void 0 : a.tags[0]) == null ? void 0 : o.dom], {
486
443
  loop: 6,
487
444
  updateRender: () => {
488
445
  this.five.needsRender = !0;
@@ -499,43 +456,43 @@ class R {
499
456
  return this.disposed ? this.logError("disposed") : this.cacheLengths.length !== 0 ? this.cacheLengths[e] : (this.cacheLengths = this.getPanoGroupLengths(), this.cacheLengths[e]);
500
457
  }
501
458
  getPanoGroupLengths() {
502
- var l;
459
+ var c;
503
460
  if (!this.curvePoints || !this.curvePath)
504
461
  return [];
505
- const e = this.curvePoints.length, t = this.curvePath.getLength(), r = e - 1, s = t / r, a = (l = this.curvePath.getLengths(r)) != null ? l : [], o = [];
506
- let n = 0;
507
- for (let d = 0; d < e; d++) {
508
- const u = this.curvePoints[d], p = this.plugin.workUtil.getObserverStandingPosition(n);
509
- if (!p)
462
+ const e = this.curvePoints.length, t = this.curvePath.getLength(), s = e - 1, r = t / s, a = (c = this.curvePath.getLengths(s)) != null ? c : [], o = [];
463
+ let l = 0;
464
+ for (let u = 0; u < e; u++) {
465
+ const d = this.curvePoints[u], g = this.plugin.workUtil.getObserverStandingPosition(l);
466
+ if (!g)
510
467
  break;
511
- p.clone().setY(0).distanceTo(u.clone().setY(0)) < s && (o.push(a[d]), n += 1);
468
+ g.clone().setY(0).distanceTo(d.clone().setY(0)) < r && (o.push(a[u]), l += 1);
512
469
  }
513
470
  return o;
514
471
  }
515
472
  setTag(e, t) {
516
- var l, d;
517
- const r = this.curvePath;
473
+ var c, u;
474
+ const s = this.curvePath;
518
475
  if (!(t != null && t.data))
519
476
  return;
520
- const s = e === "start" ? (l = this.startTagContainer) != null ? l : (() => (this.startTagContainer = { tag: null, plugin: new C(this.five, { containerZIndex: 1 }) }, this.startTagContainer))() : (d = this.endTagContainer) != null ? d : (() => (this.endTagContainer = { tag: null, plugin: new C(this.five, { containerZIndex: 1 }) }, this.endTagContainer))(), o = B({}, {
477
+ const r = e === "start" ? (c = this.startTagContainer) != null ? c : (() => (this.startTagContainer = { tag: null, plugin: new k(this.five, { containerZIndex: 1 }) }, this.startTagContainer))() : (u = this.endTagContainer) != null ? u : (() => (this.endTagContainer = { tag: null, plugin: new k(this.five, { containerZIndex: 1 }) }, this.endTagContainer))(), o = B({}, {
521
478
  contentType: "Custom",
522
479
  stickType: "2DPoint",
523
480
  config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
524
481
  style: { point: { enabled: !1 } },
525
482
  data: {}
526
483
  }, t);
527
- s.tag = o, H(o) && (s.tag.element = (u) => {
528
- var f, v;
529
- (f = s.app) == null || f.$destroy();
530
- const p = e === "start" ? y(c({}, o.data), { name: this.name, distance: Math.round((v = r.getLength()) != null ? v : 0), i18n: this.plugin.config.i18n }) : o.data, g = new E({ target: u, intro: !0, props: p });
531
- return s.app = g, () => g.$destroy();
532
- }), s.plugin.load({ tagList: [s.tag] });
533
- const n = this.meshStyle.translate;
534
- if (n && o.position) {
535
- const u = new h.Vector3().fromArray(o.position), p = new h.Vector3().fromArray(n);
536
- u.add(p), u.y += this.heightOffset;
537
- const g = u.toArray();
538
- s.plugin.changeTagById(s.tag.id, { position: g });
484
+ r.tag = o, H(o) && (r.tag.element = (d) => {
485
+ var v, b;
486
+ (v = r.app) == null || v.$destroy();
487
+ const g = e === "start" ? C(f({}, o.data), { name: this.name, distance: Math.round((b = s.getLength()) != null ? b : 0), i18n: this.plugin.config.i18n }) : o.data, m = new A({ target: d, intro: !0, props: g });
488
+ return r.app = m, () => m.$destroy();
489
+ }), r.plugin.load({ tagList: [r.tag] });
490
+ const l = this.meshStyle.translate;
491
+ if (l && o.position) {
492
+ const d = new n.Vector3().fromArray(o.position), g = new n.Vector3().fromArray(l);
493
+ d.add(g), d.y += this.heightOffset;
494
+ const m = d.toArray();
495
+ r.plugin.changeTagById(r.tag.id, { position: m });
539
496
  }
540
497
  }
541
498
  doShow() {
@@ -546,38 +503,15 @@ class R {
546
503
  var e, t;
547
504
  this.mode === "model" && this.flowAnime.stop(), this.five.scene.remove(this.group), (e = this.startTagContainer) == null || e.plugin.hide(), (t = this.endTagContainer) == null || t.plugin.hide(), this.five.needsRender = !0;
548
505
  }
549
- /** 通过 panoIndex 数组计算路径 */
550
- getPathFromPanoGroup(e, t, r) {
551
- if (e.length < 2)
552
- return [];
553
- const s = {}, a = e.map((l, d) => {
554
- const u = this.plugin.workUtil.getObserverStandingPosition(l);
555
- if (!u)
556
- return;
557
- const p = e[d - 1];
558
- if ((d === 0 ? 999 : u.distanceTo(this.plugin.workUtil.getObserverStandingPosition(p))) < 0.05) {
559
- let f = p;
560
- for (; s[f] !== void 0; )
561
- f = s[f];
562
- s[l] = f;
563
- return;
564
- }
565
- return {
566
- position: u,
567
- panoIndex: l
568
- };
569
- }).filter(V), o = a.map((l) => l.position.toArray()), n = a.map((l) => l.panoIndex);
570
- return [y(c({ type: "CatmullRomCurve3", points: o }, r), { panoIndexList: n, panoIndexMap: s })];
571
- }
572
506
  }
573
- function H(m) {
574
- return m.contentType === "Custom";
507
+ function H(h) {
508
+ return h.contentType === "Custom";
575
509
  }
576
- const de = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
510
+ const ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
577
511
  __proto__: null,
578
- GuideLineModeItem: R
512
+ GuideLineModeItem: N
579
513
  }, Symbol.toStringTag, { value: "Module" }));
580
514
  export {
581
- R as GuideLineModeItem,
582
- de as GuideLineModeItem$1
515
+ N as GuideLineModeItem,
516
+ ue as GuideLineModeItem$1
583
517
  };
@@ -30,8 +30,7 @@ declare class GuideLineModeItem {
30
30
  materialStyle: PluginType.GuideLineMaterialStyle;
31
31
  meshStyle: PluginType.GuideLineMeshStyle;
32
32
  readonly group: THREE.Group;
33
- readonly meshWithDepthTest: THREE.Mesh<THREE.BufferGeometry, THREE.ShaderMaterial>;
34
- readonly meshWithoutDepthTest: THREE.Mesh<THREE.BufferGeometry, THREE.ShaderMaterial>;
33
+ readonly mesh: THREE.Mesh<THREE.BufferGeometry, THREE.ShaderMaterial>;
35
34
  visible: boolean | null;
36
35
  private five;
37
36
  private mode;
@@ -62,8 +61,6 @@ declare class GuideLineModeItem {
62
61
  private cacheLengths;
63
62
  /** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
64
63
  private heightOffset;
65
- private panoMap;
66
- private autoDepthTestEffectDistance?;
67
64
  constructor(five: Five, options: {
68
65
  mode: PluginType.GuideLineModeItemMode;
69
66
  plugin: GuideLinePlugin;
@@ -79,16 +76,11 @@ declare class GuideLineModeItem {
79
76
  /** 设置缩放 */
80
77
  setScale(scale: number): void;
81
78
  /** 通过点位设置线条形状 */
82
- setGeometryByPanoGroup(_panoGroup: number[], options?: CatmullRomCurve3RestParams & PluginType.GuideLineGeometryStyle & {
79
+ setGeometryByPanoGroup(_panoGroup: number[], options?: CatmullRomCurve3RestParams & PluginType.ExtraRouteData & PluginType.GuideLineGeometryStyle & {
83
80
  skipPanoGroup?: boolean;
84
- useAutoDepthTest?: boolean;
85
- autoDepthTestEffectDistance?: number;
86
81
  }): void;
87
82
  /** 通过路径设置线条形状 */
88
- setGeometryByPath(path: PluginType.PathItem[], options?: PluginType.GuideLineGeometryStyle & {
89
- useAutoDepthTest?: boolean;
90
- autoDepthTestEffectDistance?: number;
91
- }): void;
83
+ setGeometryByPath(path: PluginType.PathItem[], options?: PluginType.GuideLineGeometryStyle): void;
92
84
  /** 设置线条材质 */
93
85
  setMartial(options?: PluginType.GuideLineMaterialStyle): void;
94
86
  /** 设置模型状态 */
@@ -136,15 +128,11 @@ declare class GuideLineModeItem {
136
128
  private onWalkAnimationEnd;
137
129
  /** 模型状态变更 */
138
130
  private onFiveModeChange;
139
- /** 走点 */
140
- private onFivePanoArrived;
141
131
  private onFiveModelShownFloorChange;
142
132
  /** 更新可见性 */
143
133
  private updateVisible;
144
134
  private doShow;
145
135
  private doHide;
146
- /** 通过 panoIndex 数组计算路径 */
147
- private getPathFromPanoGroup;
148
136
  private onFlowAnimeUpdate;
149
137
  private logError;
150
138
  }
@@ -19,6 +19,7 @@ import "../PanoTagPlugin/controller/index.js";
19
19
  import "./Components/Tag.js";
20
20
  import "./utils/index.js";
21
21
  import "../vendor/object-assign-deep/objectAssignDeep.js";
22
+ import "./utils/createPath.js";
22
23
  import { GuideLineModeItem as Nm } from "./GuideLineModeItem/index.js";
23
24
  import "../vendor/polyline-normals/index.js";
24
25
  import "../vendor/polyline-miter-util/index.js";
@@ -68,7 +69,6 @@ import "../shared-utils/three/core/LineGeometry.js";
68
69
  import "../shared-utils/three/core/LineMaterial.js";
69
70
  import "../shared-utils/three/core/Line2.js";
70
71
  import "../shared-utils/three/core/LineMaterial2.js";
71
- import "../Sculpt/utils/unit.js";
72
72
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
73
73
  import "../shared-utils/isTouchDevice.js";
74
74
  import "../shared-utils/five/getPosition.js";
@@ -55,7 +55,6 @@ import "../shared-utils/three/core/LineGeometry.js";
55
55
  import "../shared-utils/three/core/LineMaterial.js";
56
56
  import "../shared-utils/three/core/Line2.js";
57
57
  import "../shared-utils/three/core/LineMaterial2.js";
58
- import "../Sculpt/utils/unit.js";
59
58
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
60
59
  import "../shared-utils/isTouchDevice.js";
61
60
  import "../shared-utils/five/getPosition.js";
@@ -210,6 +209,7 @@ import "../PanoTagPlugin/Components/TagItem.js";
210
209
  import "../PanoTagPlugin/Components/Common/TagPoint.js";
211
210
  import "./Components/Tag.js";
212
211
  import "./utils/index.js";
212
+ import "./utils/createPath.js";
213
213
  import "../shared-utils/to.js";
214
214
  import "../shared-utils/five/changeMode.js";
215
215
  import "../shared-utils/nearlyEqual.js";