@realsee/dnalogel 3.40.0-alpha.1 → 3.40.1

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 (378) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/GuideLinePlugin/typing.d.ts +0 -1
  3. package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -5
  4. package/dist/index.cjs.js +60 -64
  5. package/dist/index.js +5171 -5265
  6. package/dist/index.umd.js +54 -58
  7. package/dist/shared-utils/three/blink.d.ts +10 -3
  8. package/libs/CruisePlugin/Move.js +2 -3
  9. package/libs/CruisePlugin/Work.js +2 -3
  10. package/libs/CruisePlugin/index.js +6 -7
  11. package/libs/GuideLinePlugin/Controller.js +4 -5
  12. package/libs/GuideLinePlugin/GuideLineItem.js +2 -3
  13. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +59 -76
  14. package/libs/GuideLinePlugin/GuideLineModeItem.js +2 -3
  15. package/libs/GuideLinePlugin/index.js +6 -7
  16. package/libs/GuideLinePlugin/typing.d.ts +0 -1
  17. package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -5
  18. package/libs/GuideLinePlugin/utils/createLineGeometry.js +57 -123
  19. package/libs/PanoTagPlugin/controller/index.js +1 -1
  20. package/libs/base/BasePlugin.js +1 -1
  21. package/libs/index.js +125 -126
  22. package/libs/shared-utils/index.js +30 -29
  23. package/libs/shared-utils/logger.js +1 -1
  24. package/libs/shared-utils/three/blink.d.ts +10 -3
  25. package/libs/shared-utils/three/blink.js +85 -92
  26. package/package.json +4 -3
  27. package/README.md +0 -116
  28. package/dist/shared-utils/math/intersecting.d.ts +0 -25
  29. package/docs/.nojekyll +0 -1
  30. package/docs/assets/custom.css +0 -0
  31. package/docs/assets/highlight.css +0 -127
  32. package/docs/assets/main.js +0 -58
  33. package/docs/assets/search.js +0 -1
  34. package/docs/assets/style.css +0 -1367
  35. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +0 -731
  36. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +0 -694
  37. package/docs/classes/CSS3DRender.html +0 -778
  38. package/docs/classes/GuideLineItem.GuideLineItem.html +0 -481
  39. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -894
  40. package/docs/classes/Magnifier.html +0 -485
  41. package/docs/classes/ModelRoomLabelController.html +0 -403
  42. package/docs/classes/MoveController.html +0 -681
  43. package/docs/classes/Object3DHelperController.html +0 -645
  44. package/docs/classes/PaintBrush.html +0 -507
  45. package/docs/classes/PanoMeasurePluginLine.html +0 -527
  46. package/docs/classes/PanoMeasurePluginModel.html +0 -576
  47. package/docs/classes/PanoMeasurePluginPoint.html +0 -367
  48. package/docs/classes/PanoMeasurePluginPolyline.html +0 -572
  49. package/docs/classes/PanoTagPluginController.html +0 -1132
  50. package/docs/classes/Util.BetterTween.html +0 -421
  51. package/docs/classes/Util.Interval.html +0 -437
  52. package/docs/classes/Util.LineSegments.html +0 -389
  53. package/docs/classes/Util.Magnifier.html +0 -508
  54. package/docs/classes/Util.Object3D.html +0 -411
  55. package/docs/classes/Util.PointDomHelper.html +0 -412
  56. package/docs/classes/Util.PointHelper.html +0 -403
  57. package/docs/classes/Util.PointSelectorHelper.html +0 -459
  58. package/docs/classes/Util.Rectangle.html +0 -460
  59. package/docs/classes/WalkController.html +0 -700
  60. package/docs/enums/CameraMovementEffect.html +0 -315
  61. package/docs/enums/ContentType.html +0 -461
  62. package/docs/enums/DIRECTION.html +0 -325
  63. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -325
  64. package/docs/enums/DimensionType.html +0 -315
  65. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -318
  66. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -325
  67. package/docs/enums/PaintBrushTypeEnum.html +0 -318
  68. package/docs/enums/PointType.html +0 -315
  69. package/docs/enums/Rotation.html +0 -322
  70. package/docs/functions/AreaMakerPlugin.html +0 -295
  71. package/docs/functions/CSS3DRenderPlugin.html +0 -293
  72. package/docs/functions/CameraMovementPlugin.html +0 -298
  73. package/docs/functions/CruisePlugin.html +0 -295
  74. package/docs/functions/CurrentPanoImagePlugin.html +0 -295
  75. package/docs/functions/GuideLinePlugin.html +0 -295
  76. package/docs/functions/ItemLabelPlugin.html +0 -295
  77. package/docs/functions/MapviewFloorplanPlugin.html +0 -295
  78. package/docs/functions/ModelChassisCompassPlugin.html +0 -298
  79. package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -298
  80. package/docs/functions/ModelFloorplanPlugin.html +0 -295
  81. package/docs/functions/ModelItemLabelPlugin.html +0 -295
  82. package/docs/functions/ModelRoomLabelPlugin.html +0 -293
  83. package/docs/functions/ModelTVVideoPlugin.html +0 -295
  84. package/docs/functions/ModelViewPlugin.html +0 -298
  85. package/docs/functions/MovePlugin.html +0 -295
  86. package/docs/functions/Object3DHelperPlugin.html +0 -293
  87. package/docs/functions/PanoCompassPlugin.html +0 -295
  88. package/docs/functions/PanoCursorRaycasterPlugin.html +0 -299
  89. package/docs/functions/PanoDoorLabelPlugin.html +0 -295
  90. package/docs/functions/PanoFloorplanRadarPlugin.html +0 -295
  91. package/docs/functions/PanoMeasurePlugin.html +0 -295
  92. package/docs/functions/PanoRulerPlugin.html +0 -298
  93. package/docs/functions/PanoRulerProPlugin.html +0 -298
  94. package/docs/functions/PanoSpatialTagPlugin.html +0 -298
  95. package/docs/functions/PanoTagPlugin.html +0 -300
  96. package/docs/functions/PanoVideoPlugin.html +0 -304
  97. package/docs/functions/PipelinePlugin.html +0 -293
  98. package/docs/functions/TopviewFloorplanPlugin.html +0 -295
  99. package/docs/functions/Util.absoluteUrl.html +0 -331
  100. package/docs/functions/Util.checkFiveModelLoaded.html +0 -334
  101. package/docs/functions/Util.equal.html +0 -343
  102. package/docs/functions/Util.getCoordsFromClient.html +0 -333
  103. package/docs/functions/Util.getCoordsFromElement.html +0 -333
  104. package/docs/functions/Util.getFrameTime.html +0 -325
  105. package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -333
  106. package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -333
  107. package/docs/functions/Util.isAbsoluteURL.html +0 -326
  108. package/docs/functions/Util.isModelLike.html +0 -326
  109. package/docs/functions/Util.isNil.html +0 -334
  110. package/docs/functions/Util.isPanoramaLike.html +0 -326
  111. package/docs/functions/Util.nextFrame.html +0 -339
  112. package/docs/functions/Util.notNil.html +0 -334
  113. package/docs/functions/Util.requestAnimationFrameInterval.html +0 -355
  114. package/docs/functions/Util.tweenProgress.html +0 -328
  115. package/docs/functions/Util.uuid.html +0 -324
  116. package/docs/functions/pluginFlag.html +0 -293
  117. package/docs/index.html +0 -358
  118. package/docs/interfaces/AddTagConfig.html +0 -308
  119. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +0 -335
  120. package/docs/interfaces/AreaMakerPluginType.Config.html +0 -340
  121. package/docs/interfaces/AreaMakerPluginType.EventMap.html +0 -626
  122. package/docs/interfaces/AreaMakerPluginType.Params.html +0 -339
  123. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +0 -397
  124. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +0 -382
  125. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +0 -339
  126. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +0 -332
  127. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +0 -331
  128. package/docs/interfaces/AreaMakerPluginType.State.html +0 -360
  129. package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -454
  130. package/docs/interfaces/CSS3DRenderPluginState.html +0 -330
  131. package/docs/interfaces/CameraMovementPluginExportType.html +0 -363
  132. package/docs/interfaces/CruisePluginTypes.Config.html +0 -364
  133. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -366
  134. package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -724
  135. package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -390
  136. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -426
  137. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -416
  138. package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -356
  139. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -324
  140. package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -392
  141. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +0 -387
  142. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +0 -526
  143. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +0 -328
  144. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +0 -320
  145. package/docs/interfaces/CurrentPanoImagePluginType.State.html +0 -342
  146. package/docs/interfaces/EventMap.html +0 -547
  147. package/docs/interfaces/FloorplanBounding.html +0 -337
  148. package/docs/interfaces/FloorplanData.html +0 -340
  149. package/docs/interfaces/FloorplanEntrance.html +0 -365
  150. package/docs/interfaces/FloorplanExtraObject.html +0 -355
  151. package/docs/interfaces/FloorplanExtraObject3D.html +0 -344
  152. package/docs/interfaces/FloorplanFloorData.html +0 -333
  153. package/docs/interfaces/FloorplanImagePosition.html +0 -319
  154. package/docs/interfaces/FloorplanObserver.html +0 -337
  155. package/docs/interfaces/FloorplanOutlineItem.html +0 -333
  156. package/docs/interfaces/FloorplanPosition.html +0 -319
  157. package/docs/interfaces/FloorplanRoomItem.html +0 -407
  158. package/docs/interfaces/FloorplanRoomLabelItem.html +0 -325
  159. package/docs/interfaces/FloorplanServerBounding.html +0 -337
  160. package/docs/interfaces/FloorplanServerComputedData.html +0 -336
  161. package/docs/interfaces/FloorplanServerData.html +0 -319
  162. package/docs/interfaces/FloorplanServerDoorItem.html +0 -336
  163. package/docs/interfaces/FloorplanServerDoorPosition.html +0 -322
  164. package/docs/interfaces/FloorplanServerEntrance.html +0 -365
  165. package/docs/interfaces/FloorplanServerFloorData.html +0 -333
  166. package/docs/interfaces/FloorplanServerImagePosition.html +0 -319
  167. package/docs/interfaces/FloorplanServerObserver.html +0 -337
  168. package/docs/interfaces/FloorplanServerOutlineItem.html +0 -333
  169. package/docs/interfaces/FloorplanServerPosition.html +0 -319
  170. package/docs/interfaces/FloorplanServerRoomItem.html +0 -419
  171. package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -325
  172. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -328
  173. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -367
  174. package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -531
  175. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -362
  176. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -353
  177. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -452
  178. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +0 -342
  179. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -352
  180. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -522
  181. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -349
  182. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -532
  183. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -314
  184. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -335
  185. package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -360
  186. package/docs/interfaces/GuideLinePluginType.Route.html +0 -376
  187. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -358
  188. package/docs/interfaces/HelperOffset.html +0 -337
  189. package/docs/interfaces/ImagePlaneGroup.html +0 -311
  190. package/docs/interfaces/ItemLabelPluginData.html +0 -308
  191. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -393
  192. package/docs/interfaces/ItemLabelPluginParametersType.html +0 -329
  193. package/docs/interfaces/MinMax.html +0 -315
  194. package/docs/interfaces/ModelChassisCompassPluginData.html +0 -315
  195. package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -351
  196. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -315
  197. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -322
  198. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -359
  199. package/docs/interfaces/ModelItemLabelPluginData.html +0 -308
  200. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -393
  201. package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -315
  202. package/docs/interfaces/ModelRoomLabelPluginData.html +0 -308
  203. package/docs/interfaces/ModelTVVideoPluginData.html +0 -329
  204. package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -353
  205. package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -308
  206. package/docs/interfaces/ModelViewPluginExportType.html +0 -421
  207. package/docs/interfaces/Object3DHelperState.html +0 -322
  208. package/docs/interfaces/ObjectHelperControllers.html +0 -329
  209. package/docs/interfaces/PaintBrushAction.html +0 -368
  210. package/docs/interfaces/PaintBrushConfigs.html +0 -366
  211. package/docs/interfaces/PaintBrushState.html +0 -350
  212. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -430
  213. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -287
  214. package/docs/interfaces/PanoMeasureParameterType.html +0 -454
  215. package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -322
  216. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -319
  217. package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -315
  218. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -325
  219. package/docs/interfaces/PanoRulerPluginExportType.html +0 -382
  220. package/docs/interfaces/PanoRulerPluginOptions.html +0 -331
  221. package/docs/interfaces/PanoRulerPluginParameterType.html +0 -322
  222. package/docs/interfaces/PanoRulerProPluginExportType.html +0 -358
  223. package/docs/interfaces/PanoRulerProPluginOptions.html +0 -328
  224. package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -315
  225. package/docs/interfaces/PanoRulerProPluginState.html +0 -322
  226. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -301
  227. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -290
  228. package/docs/interfaces/PanoSpatialTagPluginData.html +0 -358
  229. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -340
  230. package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -436
  231. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -336
  232. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -357
  233. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -343
  234. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -336
  235. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -328
  236. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -346
  237. package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -319
  238. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -425
  239. package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -319
  240. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -354
  241. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -373
  242. package/docs/interfaces/Point.html +0 -322
  243. package/docs/interfaces/Room.html +0 -329
  244. package/docs/interfaces/RoomInfo.html +0 -315
  245. package/docs/interfaces/RoomLabel.html +0 -391
  246. package/docs/interfaces/RoomRules.html +0 -290
  247. package/docs/interfaces/Rooms.html +0 -290
  248. package/docs/interfaces/Scissor.html +0 -349
  249. package/docs/interfaces/State.html +0 -336
  250. package/docs/interfaces/TagCacheInterface.html +0 -367
  251. package/docs/interfaces/TagConfig.html +0 -570
  252. package/docs/interfaces/TagGLTFObjectGroup.html +0 -311
  253. package/docs/interfaces/TagIconUrl.html +0 -368
  254. package/docs/interfaces/TagObjectGroup.html +0 -311
  255. package/docs/interfaces/TagStyle.html +0 -321
  256. package/docs/interfaces/Tags.html +0 -2825
  257. package/docs/interfaces/TemporaryState.html +0 -308
  258. package/docs/interfaces/Util.MagnifierParameter.html +0 -396
  259. package/docs/interfaces/Util.MouseGroupParameter.html +0 -355
  260. package/docs/interfaces/Util.PointIntersection.html +0 -370
  261. package/docs/modules/AreaMakerPluginType.html +0 -330
  262. package/docs/modules/CruisePluginTypes.html +0 -333
  263. package/docs/modules/CurrentPanoImagePluginType.html +0 -302
  264. package/docs/modules/GuideLineItem.html +0 -294
  265. package/docs/modules/GuideLineModeItem.html +0 -299
  266. package/docs/modules/GuideLinePluginType.html +0 -355
  267. package/docs/modules/PanoVideoPluginType.html +0 -306
  268. package/docs/modules/Util.html +0 -356
  269. package/docs/modules.html +0 -564
  270. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +0 -359
  271. package/docs/types/AreaMakerPluginType.ItemRenderer.html +0 -325
  272. package/docs/types/AreaMakerPluginType.PluginData.html +0 -307
  273. package/docs/types/AreaMakerPluginType.ServerData.html +0 -307
  274. package/docs/types/ArrayPosition.html +0 -284
  275. package/docs/types/AudioAppearance.html +0 -284
  276. package/docs/types/AudioTagTypeConfigKey.html +0 -284
  277. package/docs/types/CSS3DRenderExportType.html +0 -284
  278. package/docs/types/CSS3DRenderPluginExportType.html +0 -284
  279. package/docs/types/CSS3DRenderPluginParameterType.html +0 -284
  280. package/docs/types/ClassFunctionParameters.html +0 -291
  281. package/docs/types/Color.html +0 -284
  282. package/docs/types/ContentTypeConfigKey.html +0 -284
  283. package/docs/types/ContentTypeConfigKeySplit.html +0 -284
  284. package/docs/types/ContentTypeMap.html +0 -284
  285. package/docs/types/Create3DDomContainerReturnType.html +0 -284
  286. package/docs/types/Create3DElementReturnType.html +0 -284
  287. package/docs/types/CruisePluginExportType.html +0 -284
  288. package/docs/types/CruisePluginTypes.CruiseData.html +0 -323
  289. package/docs/types/CruisePluginTypes.MoveEffect.html +0 -300
  290. package/docs/types/CurrentPanoImagePluginExportType.html +0 -284
  291. package/docs/types/DeprecatedMediaPlaneProperty.html +0 -296
  292. package/docs/types/DeprecatedTagProperty.html +0 -299
  293. package/docs/types/Direction-1.html +0 -284
  294. package/docs/types/Direction4.html +0 -284
  295. package/docs/types/ElementRenderer.html +0 -308
  296. package/docs/types/FloorplanRuleLabels.html +0 -287
  297. package/docs/types/FloorplanServerRuleLabels.html +0 -284
  298. package/docs/types/GuideLinePluginExportType.html +0 -284
  299. package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -357
  300. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -378
  301. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -311
  302. package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -314
  303. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -314
  304. package/docs/types/GuideLinePluginType.PathItem.html +0 -314
  305. package/docs/types/GuideLinePluginType.PluginData.html +0 -323
  306. package/docs/types/HelperEventMap.html +0 -429
  307. package/docs/types/InternalHelperEventMap.html +0 -380
  308. package/docs/types/LoadTagConfig.html +0 -284
  309. package/docs/types/MapviewFloorplanPluginParameterType.html +0 -284
  310. package/docs/types/MapviewFloorplanPluginReturnType.html +0 -284
  311. package/docs/types/MediaData.html +0 -305
  312. package/docs/types/MediaStore.html +0 -289
  313. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -291
  314. package/docs/types/ModelFloorplanPluginParameterType.html +0 -284
  315. package/docs/types/ModelFloorplanPluginReturnType.html +0 -284
  316. package/docs/types/ModelId.html +0 -284
  317. package/docs/types/ModelRoomLabelPluginParameters.html +0 -284
  318. package/docs/types/ModelRoomLabelPluginReturnType.html +0 -284
  319. package/docs/types/MoveArgs.html +0 -294
  320. package/docs/types/MoveOpts.html +0 -292
  321. package/docs/types/Object3DHelperEventMap.html +0 -377
  322. package/docs/types/ObjectFit.html +0 -284
  323. package/docs/types/PaintBrushEventMap.html +0 -315
  324. package/docs/types/PanoCompassPluginData.html +0 -284
  325. package/docs/types/PanoCompassPluginExportType.html +0 -284
  326. package/docs/types/PanoCompassPluginParameterType.html +0 -284
  327. package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -284
  328. package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -284
  329. package/docs/types/PanoIndex.html +0 -284
  330. package/docs/types/PanoMeasurePluginEvent.html +0 -284
  331. package/docs/types/PanoMeasureReturnType.html +0 -284
  332. package/docs/types/PanoSpatialTagPluginId.html +0 -284
  333. package/docs/types/PanoTagPluginExportInterface.html +0 -284
  334. package/docs/types/PanoTagPluginParamsInterface.html +0 -284
  335. package/docs/types/PanoVideoPluginParameterType.html +0 -284
  336. package/docs/types/PanoVideoPluginReturnType.html +0 -284
  337. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -292
  338. package/docs/types/PipelinePluginParameterType.html +0 -284
  339. package/docs/types/PipelinePluginReturnType.html +0 -284
  340. package/docs/types/PlaneTag.html +0 -292
  341. package/docs/types/Point2DTag.html +0 -292
  342. package/docs/types/Point3DTag.html +0 -292
  343. package/docs/types/PointTag.html +0 -289
  344. package/docs/types/PointTagInstance.html +0 -289
  345. package/docs/types/Position.html +0 -284
  346. package/docs/types/RotateArgs.html +0 -296
  347. package/docs/types/RotateOpts.html +0 -292
  348. package/docs/types/RuleLabelsKey.html +0 -284
  349. package/docs/types/RuleLabelsValue.html +0 -284
  350. package/docs/types/StickType.html +0 -284
  351. package/docs/types/Tag.html +0 -350
  352. package/docs/types/Tag2D.html +0 -292
  353. package/docs/types/Tag3D.html +0 -292
  354. package/docs/types/TagConfigByKey.html +0 -289
  355. package/docs/types/TagContentType.html +0 -284
  356. package/docs/types/TagContentTypeMapping.html +0 -284
  357. package/docs/types/TagDimensionType.html +0 -286
  358. package/docs/types/TagElement.html +0 -294
  359. package/docs/types/TagEvents.html +0 -337
  360. package/docs/types/TagGLTFObject.html +0 -307
  361. package/docs/types/TagHooks.html +0 -284
  362. package/docs/types/TagId.html +0 -284
  363. package/docs/types/TagInstance.html +0 -362
  364. package/docs/types/TagPointType.html +0 -287
  365. package/docs/types/TagRendererMap.html +0 -291
  366. package/docs/types/TopviewFloorplanPluginParameterType.html +0 -284
  367. package/docs/types/TopviewFloorplanPluginReturnType.html +0 -284
  368. package/docs/types/WorkCode.html +0 -284
  369. package/docs/variables/FLOOR_TYPE_MAP.html +0 -294
  370. package/docs/variables/PLUGIN.html +0 -284
  371. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -287
  372. package/docs/variables/ROOM_TYPE_MAP.html +0 -294
  373. package/docs/variables/defaultGlobalConfig.html +0 -284
  374. package/docs/variables/itemLabelPluginServerParams.html +0 -291
  375. package/docs/variables/modelItemLabelPluginServerParams.html +0 -291
  376. package/docs/variables/modelRoomLabelPluginServerParams.html +0 -291
  377. package/libs/shared-utils/math/intersecting.d.ts +0 -25
  378. package/libs/shared-utils/math/intersecting.js +0 -25
@@ -11,7 +11,14 @@ interface BlinkAnimeOptions extends anime.AnimeParams {
11
11
  interface ReBlinkAnimeOptions extends BlinkAnimeOptions {
12
12
  maxOpacity?: number;
13
13
  }
14
+ interface AnimeInstance extends anime.AnimeInstance {
15
+ /**
16
+ * @description 提前结束动画
17
+ */
18
+ preComplete: () => void;
19
+ }
14
20
  type Target = HTMLElement | THREE.Object3D;
21
+ declare const animeMap: Map<Target | Target[], AnimeInstance>;
15
22
  /**
16
23
  * @description 闪烁一个物体/Dom
17
24
  * @param animeOptions https://animejs.com/documentation/
@@ -23,12 +30,12 @@ type Target = HTMLElement | THREE.Object3D;
23
30
  * blink(document.getElementById('id'), { loop: 5 * 2 })
24
31
  * ```
25
32
  */
26
- declare function blink(objects: Target | Target[], animeOptions?: BlinkAnimeOptions): Promise<void>;
33
+ declare function blink(objects: Target | Target[], animeOptions?: BlinkAnimeOptions): AnimeInstance;
27
34
  /**
28
35
  * @description 闪烁一个不可见的物体/Dom
29
36
  *
30
37
  * 适用于物体/Dom在初始状态不可见的情况,闪烁完成后的状态为初始不可见的状态
31
38
  * @param animeOptions https://animejs.com/documentation/
32
39
  */
33
- declare function reblink(objects: Target | Target[], animeOptions?: BlinkAnimeOptions): Promise<void>;
34
- export { blink, reblink, type BlinkAnimeOptions, type ReBlinkAnimeOptions };
40
+ declare function reblink(objects: Target | Target[], animeOptions?: BlinkAnimeOptions): AnimeInstance;
41
+ export { blink, reblink, animeMap, type BlinkAnimeOptions, type ReBlinkAnimeOptions, type AnimeInstance };
@@ -75,7 +75,6 @@ import "../vendor/gl-vec2/set.js";
75
75
  import "../vendor/gl-vec2/normalize.js";
76
76
  import "../vendor/gl-vec2/subtract.js";
77
77
  import "../vendor/gl-vec2/dot.js";
78
- import "../shared-utils/math/intersecting.js";
79
78
  import "../shared-utils/five/mode.js";
80
79
  import "../shared-utils/isNil.js";
81
80
  import "../shared-utils/animationFrame/BetterTween.js";
@@ -207,7 +206,7 @@ import "./utils/coordinatesAngle.js";
207
206
  import "./utils/coordinatesToVector.js";
208
207
  import "./utils/safeCall.js";
209
208
  import "../shared-utils/five/fiveLoaded.js";
210
- class to extends z {
209
+ class $r extends z {
211
210
  constructor(t, r) {
212
211
  var h;
213
212
  super(t, r);
@@ -315,5 +314,5 @@ class to extends z {
315
314
  }
316
315
  }
317
316
  export {
318
- to as default
317
+ $r as default
319
318
  };
@@ -63,7 +63,6 @@ import "../vendor/gl-vec2/set.js";
63
63
  import "../vendor/gl-vec2/normalize.js";
64
64
  import "../vendor/gl-vec2/subtract.js";
65
65
  import "../vendor/gl-vec2/dot.js";
66
- import "../shared-utils/math/intersecting.js";
67
66
  import "../shared-utils/five/mode.js";
68
67
  import "../shared-utils/animationFrame/BetterTween.js";
69
68
  import "../shared-utils/animationFrame/index.js";
@@ -207,7 +206,7 @@ import "../shared-utils/Utils/FiveUtil.js";
207
206
  import "../shared-utils/formatRad.js";
208
207
  import "./Work.js";
209
208
  import "./utils/coordinatesToVector.js";
210
- class rr extends G {
209
+ class ir extends G {
211
210
  constructor(t, e) {
212
211
  super(t, e);
213
212
  k(this, "state", {
@@ -595,5 +594,5 @@ class rr extends G {
595
594
  }
596
595
  }
597
596
  export {
598
- rr as default
597
+ ir as default
599
598
  };
@@ -1,4 +1,4 @@
1
- import { typing as ht } from "./typing/index.js";
1
+ import { typing as bt } from "./typing/index.js";
2
2
  import t from "./Work.js";
3
3
  import i from "./Move.js";
4
4
  import "../GuideLinePlugin/index.js";
@@ -42,7 +42,6 @@ import "../vendor/gl-vec2/set.js";
42
42
  import "../vendor/gl-vec2/normalize.js";
43
43
  import "../vendor/gl-vec2/subtract.js";
44
44
  import "../vendor/gl-vec2/dot.js";
45
- import "../shared-utils/math/intersecting.js";
46
45
  import "../shared-utils/five/mode.js";
47
46
  import "../shared-utils/isNil.js";
48
47
  import "../shared-utils/animationFrame/BetterTween.js";
@@ -179,13 +178,13 @@ import "../shared-utils/formatRad.js";
179
178
  import "./BaseController.js";
180
179
  import "../shared-utils/Utils/FiveUtil.js";
181
180
  import "./utils/getFiveStateOnCurve.js";
182
- const kt = (o, r) => new t(o, r), Tt = (o, r) => new i(o, r);
181
+ const dt = (o, r) => new t(o, r), kt = (o, r) => new i(o, r);
183
182
  export {
184
- kt as CruisePlugin,
183
+ dt as CruisePlugin,
185
184
  t as CruisePluginController,
186
- ht as CruisePluginTypes,
185
+ bt as CruisePluginTypes,
187
186
  i as MoveController,
188
- Tt as MovePlugin,
187
+ kt as MovePlugin,
189
188
  t as WalkController,
190
- kt as default
189
+ dt as default
191
190
  };
@@ -56,7 +56,6 @@ import "../vendor/gl-vec2/set.js";
56
56
  import "../vendor/gl-vec2/normalize.js";
57
57
  import "../vendor/gl-vec2/subtract.js";
58
58
  import "../vendor/gl-vec2/dot.js";
59
- import "../shared-utils/math/intersecting.js";
60
59
  import "../shared-utils/five/mode.js";
61
60
  import "../shared-utils/isNil.js";
62
61
  import "../shared-utils/animationFrame/BetterTween.js";
@@ -206,8 +205,8 @@ import "../CruisePlugin/utils/coordinatesAngle.js";
206
205
  import "../CruisePlugin/utils/coordinatesToVector.js";
207
206
  import "../CruisePlugin/utils/safeCall.js";
208
207
  import "../shared-utils/five/fiveLoaded.js";
209
- const b = "GuideLinePlugin", g = `${b}`, me = (s) => `${g}--${s}`;
210
- class pe extends x {
208
+ const b = "GuideLinePlugin", g = `${b}`, oe = (s) => `${g}--${s}`;
209
+ class me extends x {
211
210
  constructor(t, i) {
212
211
  super(t, i);
213
212
  h(this, "name", b);
@@ -349,6 +348,6 @@ class pe extends x {
349
348
  }
350
349
  }
351
350
  export {
352
- pe as default,
353
- me as pluginFlag
351
+ me as default,
352
+ oe as pluginFlag
354
353
  };
@@ -5,7 +5,7 @@ import "../shared-utils/five/changeMode.js";
5
5
  import "../CruisePlugin/Move.js";
6
6
  import "../CruisePlugin/Work.js";
7
7
  import "../shared-utils/Subscribe.js";
8
- import { GuideLineItem as jo } from "./GuideLineItem/index.js";
8
+ import { GuideLineItem as ho } from "./GuideLineItem/index.js";
9
9
  import "three";
10
10
  import "./utils/createLineGeometry.js";
11
11
  import "../vendor/polyline-normals/index.js";
@@ -15,7 +15,6 @@ import "../vendor/gl-vec2/set.js";
15
15
  import "../vendor/gl-vec2/normalize.js";
16
16
  import "../vendor/gl-vec2/subtract.js";
17
17
  import "../vendor/gl-vec2/dot.js";
18
- import "../shared-utils/math/intersecting.js";
19
18
  import "../shared-utils/five/mode.js";
20
19
  import "hammerjs";
21
20
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -179,5 +178,5 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
179
178
  import "../CruisePlugin/utils/safeCall.js";
180
179
  import "../shared-utils/five/fiveLoaded.js";
181
180
  export {
182
- jo as GuideLineItem
181
+ ho as GuideLineItem
183
182
  };
@@ -1,42 +1,39 @@
1
- var M = Object.defineProperty, x = Object.defineProperties;
2
- var w = Object.getOwnPropertyDescriptors;
1
+ var x = Object.defineProperty, w = Object.defineProperties;
2
+ var M = Object.getOwnPropertyDescriptors;
3
3
  var D = Object.getOwnPropertySymbols;
4
4
  var P = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
5
- var W = (m, e, t) => e in m ? M(m, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : m[e] = t, f = (m, e) => {
5
+ var b = (l, e, t) => e in l ? x(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t, m = (l, e) => {
6
6
  for (var t in e || (e = {}))
7
- P.call(e, t) && W(m, t, e[t]);
7
+ P.call(e, t) && b(l, t, e[t]);
8
8
  if (D)
9
9
  for (var t of D(e))
10
- U.call(e, t) && W(m, t, e[t]);
11
- return m;
12
- }, T = (m, e) => x(m, w(e));
13
- var i = (m, e, t) => (W(m, typeof e != "symbol" ? e + "" : e, t), t);
10
+ U.call(e, t) && b(l, t, e[t]);
11
+ return l;
12
+ }, c = (l, e) => w(l, M(e));
13
+ var i = (l, e, t) => (b(l, typeof e != "symbol" ? e + "" : e, t), t);
14
14
  import * as h from "three";
15
15
  import { logWarning as F, logError as L } from "../../shared-utils/log.js";
16
16
  import { createLineGeometry as S } from "../utils/createLineGeometry.js";
17
- import { isPanoramaLike as A, isModelLike as O } from "../../shared-utils/five/mode.js";
17
+ import { isPanoramaLike as O, isModelLike as _ } from "../../shared-utils/five/mode.js";
18
18
  import "hammerjs";
19
19
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
20
20
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
21
21
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
22
22
  import "animejs";
23
23
  import { notNil as V } from "../../shared-utils/isNil.js";
24
- import { BetterTween as _, tweenProgress as E } from "../../shared-utils/animationFrame/BetterTween.js";
24
+ import { BetterTween as A, tweenProgress as E } from "../../shared-utils/animationFrame/BetterTween.js";
25
25
  import { loadTexture as G } from "../../shared-utils/three/loadTexture.js";
26
26
  import k from "../../PanoTagPlugin/controller/index.js";
27
- import I from "../Components/Tag.js";
28
- import { filterAdjacentDistinct as B } from "../utils/index.js";
29
- import { objectAssignDeepExports as N } from "../../vendor/object-assign-deep/objectAssignDeep.js";
27
+ import B from "../Components/Tag.js";
28
+ import { filterAdjacentDistinct as N } from "../utils/index.js";
29
+ import { objectAssignDeepExports as I } from "../../vendor/object-assign-deep/objectAssignDeep.js";
30
30
  const R = (
31
31
  /* glsl */
32
32
  `
33
33
  varying vec2 vUv;
34
- varying float ignoreAnimationMap;
35
- attribute float animationWillError;
36
34
 
37
35
  void main() {
38
36
  vUv = uv;
39
- ignoreAnimationMap = animationWillError;
40
37
  gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
41
38
  }
42
39
  `
@@ -79,17 +76,12 @@ const R = (
79
76
  uniform float flicker;
80
77
  // 纹理坐标
81
78
  varying vec2 vUv;
82
- varying float ignoreAnimationMap;
83
79
 
84
80
  // 获取纹理颜色
85
81
  vec4 getImage() {
86
82
  vec2 uv = vUv;
87
83
  uv.y = uv.y - vOffset;
88
84
 
89
- if (ignoreAnimationMap == 1.0) {
90
- return vec4(0.0, 0.0, 0.0, 0.0);
91
- }
92
-
93
85
  // 原始贴图颜色
94
86
  vec4 image = texture2D(map, uv);
95
87
  // 如果使用颜色
@@ -150,6 +142,10 @@ const R = (
150
142
  if (v < includeMinV || v > includeMaxV) {
151
143
  gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0);
152
144
  return;
145
+ } else {
146
+ // debug
147
+ // gl_FragColor = vec4(255.0, 255.0, 255.0, 0.6);
148
+ // return;
153
149
  }
154
150
  }
155
151
  if (excludeMinV != -1.0 && excludeMaxV != -1.0) {
@@ -212,7 +208,7 @@ class Y {
212
208
  i(this, "plugin");
213
209
  i(this, "textureHasLoaded", !1);
214
210
  i(this, "disposed", !1);
215
- i(this, "flowAnime", new _({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
211
+ i(this, "flowAnime", new A({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
216
212
  i(this, "flickerAnime", E(300).yoyo(!0).repeat(5));
217
213
  /** 缓存 panoGroup 中每个点距离起点的长度 */
218
214
  i(this, "cacheLengths", []);
@@ -234,18 +230,18 @@ class Y {
234
230
  });
235
231
  /** 模型状态变更 */
236
232
  i(this, "onFiveModeChange", (e) => {
237
- this.modeVisible = this.mode === "panorama" ? A(e) : O(e), this.updateVisible();
233
+ this.modeVisible = this.mode === "panorama" ? O(e) : _(e), this.updateVisible();
238
234
  });
239
235
  /** 走点 */
240
236
  i(this, "onFivePanoArrived", (e) => {
241
- var s, o, a, n, l, u, d, p;
242
- const t = (a = (o = (s = this.path) == null ? void 0 : s[0]) == null ? void 0 : o.panoIndexMap) == null ? void 0 : a[e], r = this.panoMap[t != null ? t : e];
243
- if (console.log(this.panoMap, (l = (n = this.path) == null ? void 0 : n[0]) == null ? void 0 : l.panoIndexMap, t, e, r), r === void 0)
237
+ var r, s, o;
238
+ const t = this.panoMap[e];
239
+ if (t === void 0)
244
240
  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;
245
241
  else {
246
242
  this.group.children.includes(this.meshWithoutDepthTest) || this.group.add(this.meshWithoutDepthTest), this.meshWithoutDepthTest.visible = !0;
247
- const g = this.meshWithDepthTest.geometry.getAttribute("uv"), c = 100 * ((u = this.autoDepthTestEffectDistance) != null ? u : 2), v = (d = g.getY((r - c) * 2)) != null ? d : 0, b = (p = g.getY((r + c) * 2)) != null ? p : g.getY(g.count - 1);
248
- this.meshWithDepthTest.material.uniforms.excludeMinV.value = v, this.meshWithDepthTest.material.uniforms.excludeMaxV.value = b, this.meshWithoutDepthTest.material.uniforms.includeMinV.value = v, this.meshWithoutDepthTest.material.uniforms.includeMaxV.value = b;
243
+ const a = this.meshWithDepthTest.geometry.getAttribute("uv"), n = 100 * ((r = this.autoDepthTestEffectDistance) != null ? r : 2), u = (s = a.getY((t - n) * 2)) != null ? s : 0, d = (o = a.getY((t + n) * 2)) != null ? o : a.getY(a.count - 1);
244
+ this.meshWithDepthTest.material.uniforms.excludeMinV.value = u, this.meshWithDepthTest.material.uniforms.excludeMaxV.value = d, this.meshWithoutDepthTest.material.uniforms.includeMinV.value = u, this.meshWithoutDepthTest.material.uniforms.includeMaxV.value = d;
249
245
  }
250
246
  this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
251
247
  });
@@ -264,11 +260,11 @@ class Y {
264
260
  i(this, "onFlickerAnimeUpdate", (e) => {
265
261
  var s, o, a, n;
266
262
  const { progress: t } = e, r = 1 - t;
267
- this.meshWithDepthTest.material.uniforms.flicker.value = r, this.meshWithoutDepthTest.material.uniforms.flicker.value = r, this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && C(this.startTagContainer.tag) && ((a = this.startTagContainer.app) == null || a.$set(T(f({}, this.startTagContainer.tag.data), {
263
+ this.meshWithDepthTest.material.uniforms.flicker.value = r, this.meshWithoutDepthTest.material.uniforms.flicker.value = r, this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && T(this.startTagContainer.tag) && ((a = this.startTagContainer.app) == null || a.$set(c(m({}, this.startTagContainer.tag.data), {
268
264
  opacity: r,
269
265
  name: this.name,
270
266
  distance: Math.round((o = (s = this.curvePath) == null ? void 0 : s.getLength()) != null ? o : 0)
271
- }))), this.endTagContainer.tag && C(this.endTagContainer.tag) && ((n = this.endTagContainer.app) == null || n.$set(T(f({}, this.endTagContainer.tag.data), { opacity: r })));
267
+ }))), this.endTagContainer.tag && T(this.endTagContainer.tag) && ((n = this.endTagContainer.app) == null || n.$set(c(m({}, this.endTagContainer.tag.data), { opacity: r })));
272
268
  });
273
269
  i(this, "logWarning", (e) => F("GuideLineModeItem: ", e));
274
270
  i(this, "logError", (e) => L("GuideLineModeItem: ", e));
@@ -346,7 +342,7 @@ class Y {
346
342
  return this.logError("disposed");
347
343
  if (!this.five.work)
348
344
  return this.logError("setPathByPanoGroup: work is not ready");
349
- const r = B(e);
345
+ const r = N(e);
350
346
  if (this._panoGroup = r, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
351
347
  const o = t.skipPanoGroup ? r.map((a) => this.plugin.workUtil.getObserverStandingPosition(a)).filter(V) : null;
352
348
  this.skippedPositions = o;
@@ -356,22 +352,22 @@ class Y {
356
352
  }
357
353
  /** 通过路径设置线条形状 */
358
354
  setGeometryByPath(e, t) {
359
- var g, c, v, b;
355
+ var f, y, W, C;
360
356
  if (this.disposed)
361
357
  return this.logError("disposed");
362
- const r = (g = t == null ? void 0 : t.scale) != null ? g : this.scale, s = (c = t == null ? void 0 : t.width) != null ? c : this.width, o = (v = t == null ? void 0 : t.unit_length) != null ? v : this.unitLength;
358
+ const r = (f = t == null ? void 0 : t.scale) != null ? f : this.scale, s = (y = t == null ? void 0 : t.width) != null ? y : this.width, o = (W = t == null ? void 0 : t.unit_length) != null ? W : this.unitLength;
363
359
  this.scale = r, this.width = s, this.unitLength = o;
364
- const { geometry: a, maxV: n, curvePath: l, curvePoints: u, panoMap: d, totalLength: p } = S({
360
+ const { geometry: a, maxV: n, curvePath: u, curvePoints: d, panoMap: p, totalLength: g } = S({
365
361
  path: e,
366
362
  width: s * r,
367
363
  unitLength: o * r,
368
364
  skipPositions: this.skippedPositions,
369
365
  useAutoDepthTest: t.useAutoDepthTest
370
366
  });
371
- this.autoDepthTestEffectDistance = (b = t.autoDepthTestEffectDistance) != null ? b : (() => {
372
- const y = p / 10;
373
- return y > 3 ? 3 : y < 1 ? 1 : y;
374
- })(), this.panoMap = d, this._curvePath = l, this._curvePoints = u, this.meshWithDepthTest.geometry.copy(a), 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 = f(f({}, this.geometryStyle), t);
367
+ this.autoDepthTestEffectDistance = (C = t.autoDepthTestEffectDistance) != null ? C : (() => {
368
+ const v = g / 10;
369
+ return v > 3 ? 3 : v < 1 ? 1 : v;
370
+ })(), this.panoMap = p, this._curvePath = u, this._curvePoints = d, this.meshWithDepthTest.geometry.copy(a), 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 = m(m({}, this.geometryStyle), t);
375
371
  }
376
372
  /** 设置线条材质 */
377
373
  setMartial(e) {
@@ -379,7 +375,7 @@ class Y {
379
375
  if (this.disposed)
380
376
  return this.logError("disposed");
381
377
  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((o = e == null ? void 0 : e.opacity) != null ? o : 0.5), this.setTextureUrl((n = (a = e == null ? void 0 : e.texture) == null ? void 0 : a.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);
382
- const t = f(f({}, this.materialStyle), e);
378
+ const t = m(m({}, this.materialStyle), e);
383
379
  this.materialStyle = t;
384
380
  }
385
381
  /** 设置模型状态 */
@@ -388,7 +384,7 @@ class Y {
388
384
  const s = new h.Vector3(), o = new h.Vector3().fromArray(e.translate);
389
385
  o.y += this.heightOffset, s.add(o), this.group.position.copy(s), r(this.startTagContainer, o), r(this.endTagContainer, o);
390
386
  }
391
- const t = f(f({}, this.meshStyle), e);
387
+ const t = m(m({}, this.meshStyle), e);
392
388
  this.meshStyle = t;
393
389
  function r(s, o) {
394
390
  if (!s.tag)
@@ -495,16 +491,16 @@ class Y {
495
491
  return this.disposed ? this.logError("disposed") : this.cacheLengths.length !== 0 ? this.cacheLengths[e] : (this.cacheLengths = this.getPanoGroupLengths(), this.cacheLengths[e]);
496
492
  }
497
493
  getPanoGroupLengths() {
498
- var l;
494
+ var u;
499
495
  if (!this.curvePoints || !this.curvePath)
500
496
  return [];
501
- const e = this.curvePoints.length, t = this.curvePath.getLength(), r = e - 1, s = t / r, o = (l = this.curvePath.getLengths(r)) != null ? l : [], a = [];
497
+ const e = this.curvePoints.length, t = this.curvePath.getLength(), r = e - 1, s = t / r, o = (u = this.curvePath.getLengths(r)) != null ? u : [], a = [];
502
498
  let n = 0;
503
- for (let u = 0; u < e; u++) {
504
- const d = this.curvePoints[u], p = this.plugin.workUtil.getObserverStandingPosition(n);
505
- if (!p)
499
+ for (let d = 0; d < e; d++) {
500
+ const p = this.curvePoints[d], g = this.plugin.workUtil.getObserverStandingPosition(n);
501
+ if (!g)
506
502
  break;
507
- p.clone().setY(0).distanceTo(d.clone().setY(0)) < s && (a.push(o[u]), n += 1);
503
+ g.clone().setY(0).distanceTo(p.clone().setY(0)) < s && (a.push(o[d]), n += 1);
508
504
  }
509
505
  return a;
510
506
  }
@@ -512,25 +508,25 @@ class Y {
512
508
  const r = this.curvePath, s = e === "start" ? this.startTagContainer : this.endTagContainer;
513
509
  if (!(t != null && t.data))
514
510
  return s.plugin.clearTags();
515
- const a = N({}, {
511
+ const a = I({}, {
516
512
  contentType: "Custom",
517
513
  stickType: "2DPoint",
518
514
  config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
519
515
  style: { point: { enabled: !1 } },
520
516
  data: {}
521
517
  }, t);
522
- s.tag = a, C(a) && (s.tag.element = (l) => {
523
- var p, g;
524
- (p = s.app) == null || p.$destroy();
525
- const u = e === "start" ? T(f({}, a.data), { name: this.name, distance: Math.round((g = r.getLength()) != null ? g : 0), i18n: this.plugin.config.i18n }) : a.data, d = new I({ target: l, intro: !0, props: u });
526
- return s.app = d, () => d.$destroy();
518
+ s.tag = a, T(a) && (s.tag.element = (u) => {
519
+ var g, f;
520
+ (g = s.app) == null || g.$destroy();
521
+ const d = e === "start" ? c(m({}, a.data), { name: this.name, distance: Math.round((f = r.getLength()) != null ? f : 0), i18n: this.plugin.config.i18n }) : a.data, p = new B({ target: u, intro: !0, props: d });
522
+ return s.app = p, () => p.$destroy();
527
523
  }), s.plugin.load({ tagList: [s.tag] });
528
524
  const n = this.meshStyle.translate;
529
525
  if (n && a.position) {
530
- const l = new h.Vector3().fromArray(a.position), u = new h.Vector3().fromArray(n);
531
- l.add(u), l.y += this.heightOffset;
532
- const d = l.toArray();
533
- s.plugin.changeTagById(s.tag.id, { position: d });
526
+ const u = new h.Vector3().fromArray(a.position), d = new h.Vector3().fromArray(n);
527
+ u.add(d), u.y += this.heightOffset;
528
+ const p = u.toArray();
529
+ s.plugin.changeTagById(s.tag.id, { position: p });
534
530
  }
535
531
  }
536
532
  doShow() {
@@ -543,28 +539,15 @@ class Y {
543
539
  getPathFromPanoGroup(e, t, r) {
544
540
  if (e.length < 2)
545
541
  return [];
546
- const s = {}, o = e.map((l, u) => {
547
- const d = this.plugin.workUtil.getObserverStandingPosition(l);
548
- if (!d)
549
- return;
550
- const p = e[u - 1];
551
- if ((u === 0 ? 999 : d.distanceTo(this.plugin.workUtil.getObserverStandingPosition(p))) < 0.05) {
552
- let c = p;
553
- for (; s[c] !== void 0; )
554
- c = s[c];
555
- s[l] = c;
556
- return;
557
- }
558
- return {
559
- position: d,
560
- panoIndex: l
561
- };
562
- }).filter(V), a = o.map((l) => l.position.toArray()), n = o.map((l) => l.panoIndex);
563
- return [T(f({ type: "CatmullRomCurve3", points: a }, r), { panoIndexList: n, panoIndexMap: s })];
542
+ const s = e.map((o) => {
543
+ var a;
544
+ return (a = this.plugin.workUtil.getObserverStandingPosition(o)) == null ? void 0 : a.toArray();
545
+ }).filter(V);
546
+ return [c(m({ type: "CatmullRomCurve3", points: s }, r), { panoIndexList: e })];
564
547
  }
565
548
  }
566
- function C(m) {
567
- return m.contentType === "Custom";
549
+ function T(l) {
550
+ return l.contentType === "Custom";
568
551
  }
569
552
  const he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
570
553
  __proto__: null,
@@ -14,7 +14,7 @@ import "../PanoTagPlugin/controller/index.js";
14
14
  import "./Components/Tag.js";
15
15
  import "./utils/index.js";
16
16
  import "../vendor/object-assign-deep/objectAssignDeep.js";
17
- import { GuideLineModeItem as om } from "./GuideLineModeItem/index.js";
17
+ import { GuideLineModeItem as $i } from "./GuideLineModeItem/index.js";
18
18
  import "../vendor/polyline-normals/index.js";
19
19
  import "../vendor/polyline-miter-util/index.js";
20
20
  import "../vendor/gl-vec2/add.js";
@@ -22,7 +22,6 @@ import "../vendor/gl-vec2/set.js";
22
22
  import "../vendor/gl-vec2/normalize.js";
23
23
  import "../vendor/gl-vec2/subtract.js";
24
24
  import "../vendor/gl-vec2/dot.js";
25
- import "../shared-utils/math/intersecting.js";
26
25
  import "../shared-utils/positionToVector3.js";
27
26
  import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
28
27
  import "three/examples/jsm/renderers/CSS3DRenderer";
@@ -159,5 +158,5 @@ import "../shared-utils/three/blink.js";
159
158
  import "../PanoTagPlugin/utils/DebugUtil.js";
160
159
  import "../CruisePlugin/utils/sleep.js";
161
160
  export {
162
- om as GuideLineModeItem
161
+ $i as GuideLineModeItem
163
162
  };
@@ -1,6 +1,6 @@
1
1
  import t from "./Controller.js";
2
- import { GuideLineItem$1 as Ct } from "./GuideLineItem/index.js";
3
- import { GuideLineModeItem$1 as ht } from "./GuideLineModeItem/index.js";
2
+ import { GuideLineItem$1 as wt } from "./GuideLineItem/index.js";
3
+ import { GuideLineModeItem$1 as bt } from "./GuideLineModeItem/index.js";
4
4
  import "../base/BasePluginWithData.js";
5
5
  import "../base/BasePlugin.js";
6
6
  import "../shared-utils/Subscribe.js";
@@ -52,7 +52,6 @@ import "../vendor/gl-vec2/set.js";
52
52
  import "../vendor/gl-vec2/normalize.js";
53
53
  import "../vendor/gl-vec2/subtract.js";
54
54
  import "../vendor/gl-vec2/dot.js";
55
- import "../shared-utils/math/intersecting.js";
56
55
  import "../shared-utils/five/mode.js";
57
56
  import "../shared-utils/animationFrame/BetterTween.js";
58
57
  import "../shared-utils/animationFrame/index.js";
@@ -178,10 +177,10 @@ import "../shared-utils/five/changeMode.js";
178
177
  import "../shared-utils/nearlyEqual.js";
179
178
  import "../CruisePlugin/Move.js";
180
179
  import "../CruisePlugin/utils/getFiveStateOnCurve.js";
181
- const r = (i, o) => new t(i, o), Mt = r;
180
+ const r = (i, o) => new t(i, o), gt = r;
182
181
  export {
183
- Ct as GuideLineItem,
184
- ht as GuideLineModeItem,
182
+ wt as GuideLineItem,
183
+ bt as GuideLineModeItem,
185
184
  r as GuideLinePlugin,
186
- Mt as default
185
+ gt as default
187
186
  };
@@ -178,5 +178,4 @@ export interface CatmullRomCurve3 {
178
178
  curve_type?: string;
179
179
  tension?: number;
180
180
  panoIndexList?: number[];
181
- panoIndexMap?: Record<number, number>;
182
181
  }
@@ -22,16 +22,11 @@ export declare function createLineGeometry(options: LineGeometryOption): {
22
22
  maxV: number;
23
23
  curvePath: any;
24
24
  curvePoints: any;
25
- animationWillError?: undefined;
26
25
  panoMap?: undefined;
27
26
  totalLength?: undefined;
28
27
  } | {
29
28
  geometry: THREE.BufferGeometry;
30
29
  maxV: number;
31
- animationWillError: {
32
- start: number;
33
- end: number;
34
- }[];
35
30
  curvePath: THREE.CurvePath<THREE.Vector3>;
36
31
  curvePoints: THREE.Vector3[];
37
32
  panoMap: Record<number, number>;