@realsee/dnalogel 3.11.0-dev.0 → 3.11.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 (388) hide show
  1. package/dist/AreaMakerPlugin/typing.d.ts +8 -0
  2. package/dist/AreaMakerPlugin/utils/Item.d.ts +1 -1
  3. package/dist/CruisePlugin/BaseController.d.ts +0 -2
  4. package/dist/CruisePlugin/Work.d.ts +5 -1
  5. package/dist/GuideLinePlugin/Controller.d.ts +0 -4
  6. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +3 -2
  7. package/dist/base/BasePlugin.d.ts +1 -1
  8. package/dist/index.cjs.js +49 -49
  9. package/dist/index.js +2610 -2669
  10. package/dist/index.umd.js +44 -44
  11. package/libs/AreaMakerPlugin/typing.d.ts +8 -0
  12. package/libs/AreaMakerPlugin/utils/Item.d.ts +1 -1
  13. package/libs/AreaMakerPlugin/utils/Item.js +12 -10
  14. package/libs/CruisePlugin/BaseController.d.ts +0 -2
  15. package/libs/CruisePlugin/BaseController.js +14 -18
  16. package/libs/CruisePlugin/Move.js +2 -5
  17. package/libs/CruisePlugin/Work.d.ts +5 -1
  18. package/libs/CruisePlugin/Work.js +127 -129
  19. package/libs/CruisePlugin/index.js +6 -8
  20. package/libs/GuideLinePlugin/Controller.d.ts +0 -4
  21. package/libs/GuideLinePlugin/Controller.js +30 -39
  22. package/libs/GuideLinePlugin/GuideLineItem.js +2 -4
  23. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +61 -61
  24. package/libs/GuideLinePlugin/GuideLineModeItem.js +2 -4
  25. package/libs/GuideLinePlugin/index.js +8 -10
  26. package/libs/PanoTagPlugin/controller/TagComputer.js +22 -24
  27. package/libs/PanoTagPlugin/controller/TagRender.js +2 -4
  28. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +3 -2
  29. package/libs/PanoTagPlugin/controller/TagUtil.js +104 -94
  30. package/libs/PanoTagPlugin/controller/index.js +5 -7
  31. package/libs/PanoTagPlugin/index.js +11 -13
  32. package/libs/base/BasePlugin.d.ts +1 -1
  33. package/libs/base/BasePlugin.js +2 -2
  34. package/libs/index.js +121 -123
  35. package/libs/shared-utils/logger.js +1 -1
  36. package/package.json +1 -1
  37. package/dist/shared-utils/Utils/BaseUtil.d.ts +0 -5
  38. package/dist/shared-utils/Utils/WorkUtil.d.ts +0 -33
  39. package/docs/.nojekyll +0 -1
  40. package/docs/assets/highlight.css +0 -120
  41. package/docs/assets/main.js +0 -58
  42. package/docs/assets/search.js +0 -1
  43. package/docs/assets/style.css +0 -1367
  44. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +0 -730
  45. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +0 -693
  46. package/docs/classes/CSS3DRender.html +0 -777
  47. package/docs/classes/GuideLineItem.GuideLineItem.html +0 -480
  48. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -860
  49. package/docs/classes/Magnifier.html +0 -484
  50. package/docs/classes/ModelRoomLabelController.html +0 -402
  51. package/docs/classes/MoveController.html +0 -653
  52. package/docs/classes/Object3DHelperController.html +0 -644
  53. package/docs/classes/PaintBrush.html +0 -506
  54. package/docs/classes/PanoMeasurePluginLine.html +0 -526
  55. package/docs/classes/PanoMeasurePluginModel.html +0 -575
  56. package/docs/classes/PanoMeasurePluginPoint.html +0 -366
  57. package/docs/classes/PanoMeasurePluginPolyline.html +0 -571
  58. package/docs/classes/PanoTagPluginController.html +0 -1131
  59. package/docs/classes/Util.BetterTween.html +0 -420
  60. package/docs/classes/Util.Interval.html +0 -436
  61. package/docs/classes/Util.LineSegments.html +0 -388
  62. package/docs/classes/Util.Magnifier.html +0 -507
  63. package/docs/classes/Util.Object3D.html +0 -410
  64. package/docs/classes/Util.PointDomHelper.html +0 -411
  65. package/docs/classes/Util.PointHelper.html +0 -402
  66. package/docs/classes/Util.PointSelectorHelper.html +0 -458
  67. package/docs/classes/Util.Rectangle.html +0 -459
  68. package/docs/classes/WalkController.html +0 -672
  69. package/docs/enums/CameraMovementEffect.html +0 -314
  70. package/docs/enums/ContentType.html +0 -460
  71. package/docs/enums/DIRECTION.html +0 -324
  72. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -324
  73. package/docs/enums/DimensionType.html +0 -314
  74. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -317
  75. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -324
  76. package/docs/enums/PaintBrushTypeEnum.html +0 -317
  77. package/docs/enums/PointType.html +0 -314
  78. package/docs/enums/Rotation.html +0 -321
  79. package/docs/functions/AreaMakerPlugin.html +0 -294
  80. package/docs/functions/CSS3DRenderPlugin.html +0 -292
  81. package/docs/functions/CameraMovementPlugin.html +0 -297
  82. package/docs/functions/CruisePlugin.html +0 -294
  83. package/docs/functions/CurrentPanoImagePlugin.html +0 -294
  84. package/docs/functions/GuideLinePlugin.html +0 -294
  85. package/docs/functions/ItemLabelPlugin.html +0 -294
  86. package/docs/functions/MapviewFloorplanPlugin.html +0 -294
  87. package/docs/functions/ModelChassisCompassPlugin.html +0 -297
  88. package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -297
  89. package/docs/functions/ModelFloorplanPlugin.html +0 -294
  90. package/docs/functions/ModelItemLabelPlugin.html +0 -294
  91. package/docs/functions/ModelRoomLabelPlugin.html +0 -292
  92. package/docs/functions/ModelTVVideoPlugin.html +0 -294
  93. package/docs/functions/ModelViewPlugin.html +0 -297
  94. package/docs/functions/MovePlugin.html +0 -294
  95. package/docs/functions/Object3DHelperPlugin.html +0 -292
  96. package/docs/functions/PanoCompassPlugin.html +0 -294
  97. package/docs/functions/PanoCursorRaycasterPlugin.html +0 -298
  98. package/docs/functions/PanoDoorLabelPlugin.html +0 -294
  99. package/docs/functions/PanoFloorplanRadarPlugin.html +0 -294
  100. package/docs/functions/PanoMeasurePlugin.html +0 -294
  101. package/docs/functions/PanoRulerPlugin.html +0 -297
  102. package/docs/functions/PanoRulerProPlugin.html +0 -297
  103. package/docs/functions/PanoSpatialTagPlugin.html +0 -297
  104. package/docs/functions/PanoTagPlugin.html +0 -299
  105. package/docs/functions/PanoVideoPlugin.html +0 -303
  106. package/docs/functions/PipelinePlugin.html +0 -292
  107. package/docs/functions/TopviewFloorplanPlugin.html +0 -294
  108. package/docs/functions/Util.absoluteUrl.html +0 -330
  109. package/docs/functions/Util.checkFiveModelLoaded.html +0 -333
  110. package/docs/functions/Util.equal.html +0 -342
  111. package/docs/functions/Util.getCoordsFromClient.html +0 -332
  112. package/docs/functions/Util.getCoordsFromElement.html +0 -332
  113. package/docs/functions/Util.getFrameTime.html +0 -324
  114. package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -332
  115. package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -332
  116. package/docs/functions/Util.isAbsoluteURL.html +0 -325
  117. package/docs/functions/Util.isModelLike.html +0 -325
  118. package/docs/functions/Util.isNil.html +0 -333
  119. package/docs/functions/Util.isPanoramaLike.html +0 -325
  120. package/docs/functions/Util.nextFrame.html +0 -338
  121. package/docs/functions/Util.notNil.html +0 -333
  122. package/docs/functions/Util.requestAnimationFrameInterval.html +0 -354
  123. package/docs/functions/Util.tweenProgress.html +0 -327
  124. package/docs/functions/Util.uuid.html +0 -323
  125. package/docs/functions/pluginFlag.html +0 -292
  126. package/docs/index.html +0 -358
  127. package/docs/interfaces/AddTagConfig.html +0 -307
  128. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +0 -334
  129. package/docs/interfaces/AreaMakerPluginType.Config.html +0 -339
  130. package/docs/interfaces/AreaMakerPluginType.EventMap.html +0 -625
  131. package/docs/interfaces/AreaMakerPluginType.Params.html +0 -338
  132. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +0 -396
  133. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +0 -381
  134. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +0 -338
  135. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +0 -331
  136. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +0 -330
  137. package/docs/interfaces/AreaMakerPluginType.State.html +0 -359
  138. package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -453
  139. package/docs/interfaces/CSS3DRenderPluginState.html +0 -329
  140. package/docs/interfaces/CameraMovementPluginExportType.html +0 -362
  141. package/docs/interfaces/CruisePluginTypes.Config.html +0 -363
  142. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -365
  143. package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -723
  144. package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -389
  145. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -425
  146. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -415
  147. package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -355
  148. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -323
  149. package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -391
  150. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +0 -386
  151. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +0 -525
  152. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +0 -327
  153. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +0 -319
  154. package/docs/interfaces/CurrentPanoImagePluginType.State.html +0 -341
  155. package/docs/interfaces/EventMap.html +0 -546
  156. package/docs/interfaces/FloorplanBounding.html +0 -336
  157. package/docs/interfaces/FloorplanData.html +0 -339
  158. package/docs/interfaces/FloorplanEntrance.html +0 -364
  159. package/docs/interfaces/FloorplanExtraObject.html +0 -354
  160. package/docs/interfaces/FloorplanExtraObject3D.html +0 -343
  161. package/docs/interfaces/FloorplanFloorData.html +0 -332
  162. package/docs/interfaces/FloorplanImagePosition.html +0 -318
  163. package/docs/interfaces/FloorplanObserver.html +0 -336
  164. package/docs/interfaces/FloorplanOutlineItem.html +0 -332
  165. package/docs/interfaces/FloorplanPosition.html +0 -318
  166. package/docs/interfaces/FloorplanRoomItem.html +0 -383
  167. package/docs/interfaces/FloorplanRoomLabelItem.html +0 -324
  168. package/docs/interfaces/FloorplanServerBounding.html +0 -336
  169. package/docs/interfaces/FloorplanServerComputedData.html +0 -335
  170. package/docs/interfaces/FloorplanServerData.html +0 -318
  171. package/docs/interfaces/FloorplanServerDoorItem.html +0 -335
  172. package/docs/interfaces/FloorplanServerDoorPosition.html +0 -321
  173. package/docs/interfaces/FloorplanServerEntrance.html +0 -364
  174. package/docs/interfaces/FloorplanServerFloorData.html +0 -332
  175. package/docs/interfaces/FloorplanServerImagePosition.html +0 -318
  176. package/docs/interfaces/FloorplanServerObserver.html +0 -336
  177. package/docs/interfaces/FloorplanServerOutlineItem.html +0 -332
  178. package/docs/interfaces/FloorplanServerPosition.html +0 -318
  179. package/docs/interfaces/FloorplanServerRoomItem.html +0 -395
  180. package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -324
  181. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -327
  182. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -366
  183. package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -530
  184. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -361
  185. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -352
  186. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -419
  187. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +0 -341
  188. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -351
  189. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -487
  190. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -348
  191. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -487
  192. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -313
  193. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -334
  194. package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -359
  195. package/docs/interfaces/GuideLinePluginType.Route.html +0 -375
  196. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -357
  197. package/docs/interfaces/HelperOffset.html +0 -336
  198. package/docs/interfaces/ImagePlaneGroup.html +0 -310
  199. package/docs/interfaces/ItemLabelPluginData.html +0 -307
  200. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -392
  201. package/docs/interfaces/ItemLabelPluginParametersType.html +0 -328
  202. package/docs/interfaces/MinMax.html +0 -314
  203. package/docs/interfaces/ModelChassisCompassPluginData.html +0 -314
  204. package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -350
  205. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -314
  206. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -321
  207. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -358
  208. package/docs/interfaces/ModelItemLabelPluginData.html +0 -307
  209. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -392
  210. package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -314
  211. package/docs/interfaces/ModelRoomLabelPluginData.html +0 -307
  212. package/docs/interfaces/ModelTVVideoPluginData.html +0 -328
  213. package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -352
  214. package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -307
  215. package/docs/interfaces/ModelViewPluginExportType.html +0 -420
  216. package/docs/interfaces/Object3DHelperState.html +0 -321
  217. package/docs/interfaces/ObjectHelperControllers.html +0 -328
  218. package/docs/interfaces/PaintBrushAction.html +0 -367
  219. package/docs/interfaces/PaintBrushConfigs.html +0 -365
  220. package/docs/interfaces/PaintBrushState.html +0 -349
  221. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -429
  222. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -286
  223. package/docs/interfaces/PanoMeasureParameterType.html +0 -453
  224. package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -321
  225. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -318
  226. package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -314
  227. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -324
  228. package/docs/interfaces/PanoRulerPluginExportType.html +0 -381
  229. package/docs/interfaces/PanoRulerPluginOptions.html +0 -330
  230. package/docs/interfaces/PanoRulerPluginParameterType.html +0 -321
  231. package/docs/interfaces/PanoRulerProPluginExportType.html +0 -357
  232. package/docs/interfaces/PanoRulerProPluginOptions.html +0 -327
  233. package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -314
  234. package/docs/interfaces/PanoRulerProPluginState.html +0 -321
  235. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -300
  236. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -289
  237. package/docs/interfaces/PanoSpatialTagPluginData.html +0 -357
  238. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -339
  239. package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -435
  240. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -335
  241. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -356
  242. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -342
  243. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -335
  244. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -327
  245. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -345
  246. package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -318
  247. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -424
  248. package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -318
  249. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -353
  250. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -372
  251. package/docs/interfaces/Point.html +0 -321
  252. package/docs/interfaces/Room.html +0 -328
  253. package/docs/interfaces/RoomInfo.html +0 -314
  254. package/docs/interfaces/RoomLabel.html +0 -390
  255. package/docs/interfaces/RoomRules.html +0 -289
  256. package/docs/interfaces/Rooms.html +0 -289
  257. package/docs/interfaces/Scissor.html +0 -348
  258. package/docs/interfaces/State.html +0 -335
  259. package/docs/interfaces/TagCacheInterface.html +0 -366
  260. package/docs/interfaces/TagConfig.html +0 -569
  261. package/docs/interfaces/TagGLTFObjectGroup.html +0 -310
  262. package/docs/interfaces/TagIconUrl.html +0 -367
  263. package/docs/interfaces/TagObjectGroup.html +0 -310
  264. package/docs/interfaces/TagStyle.html +0 -320
  265. package/docs/interfaces/Tags.html +0 -2824
  266. package/docs/interfaces/TemporaryState.html +0 -307
  267. package/docs/interfaces/Util.MagnifierParameter.html +0 -395
  268. package/docs/interfaces/Util.MouseGroupParameter.html +0 -354
  269. package/docs/interfaces/Util.PointIntersection.html +0 -369
  270. package/docs/modules/AreaMakerPluginType.html +0 -329
  271. package/docs/modules/CruisePluginTypes.html +0 -332
  272. package/docs/modules/CurrentPanoImagePluginType.html +0 -301
  273. package/docs/modules/GuideLineItem.html +0 -293
  274. package/docs/modules/GuideLineModeItem.html +0 -298
  275. package/docs/modules/GuideLinePluginType.html +0 -354
  276. package/docs/modules/PanoVideoPluginType.html +0 -305
  277. package/docs/modules/Util.html +0 -355
  278. package/docs/modules.html +0 -562
  279. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +0 -336
  280. package/docs/types/AreaMakerPluginType.ItemRenderer.html +0 -324
  281. package/docs/types/AreaMakerPluginType.PluginData.html +0 -306
  282. package/docs/types/AreaMakerPluginType.ServerData.html +0 -306
  283. package/docs/types/ArrayPosition.html +0 -283
  284. package/docs/types/AudioAppearance.html +0 -283
  285. package/docs/types/AudioTagTypeConfigKey.html +0 -283
  286. package/docs/types/CSS3DRenderExportType.html +0 -283
  287. package/docs/types/CSS3DRenderPluginExportType.html +0 -283
  288. package/docs/types/CSS3DRenderPluginParameterType.html +0 -283
  289. package/docs/types/ClassFunctionParameters.html +0 -290
  290. package/docs/types/Color.html +0 -283
  291. package/docs/types/ContentTypeConfigKey.html +0 -283
  292. package/docs/types/ContentTypeConfigKeySplit.html +0 -283
  293. package/docs/types/ContentTypeMap.html +0 -283
  294. package/docs/types/Create3DDomContainerReturnType.html +0 -283
  295. package/docs/types/Create3DElementReturnType.html +0 -283
  296. package/docs/types/CruisePluginExportType.html +0 -283
  297. package/docs/types/CruisePluginTypes.CruiseData.html +0 -322
  298. package/docs/types/CruisePluginTypes.MoveEffect.html +0 -299
  299. package/docs/types/CurrentPanoImagePluginExportType.html +0 -283
  300. package/docs/types/DeprecatedMediaPlaneProperty.html +0 -295
  301. package/docs/types/DeprecatedTagProperty.html +0 -298
  302. package/docs/types/Direction-1.html +0 -283
  303. package/docs/types/Direction4.html +0 -283
  304. package/docs/types/ElementRenderer.html +0 -307
  305. package/docs/types/FloorplanRuleLabels.html +0 -286
  306. package/docs/types/FloorplanServerRuleLabels.html +0 -283
  307. package/docs/types/GuideLinePluginExportType.html +0 -283
  308. package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -356
  309. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -377
  310. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -310
  311. package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -313
  312. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -313
  313. package/docs/types/GuideLinePluginType.PathItem.html +0 -313
  314. package/docs/types/GuideLinePluginType.PluginData.html +0 -322
  315. package/docs/types/HelperEventMap.html +0 -521
  316. package/docs/types/LoadTagConfig.html +0 -283
  317. package/docs/types/MapviewFloorplanPluginParameterType.html +0 -283
  318. package/docs/types/MapviewFloorplanPluginReturnType.html +0 -283
  319. package/docs/types/MediaData.html +0 -304
  320. package/docs/types/MediaStore.html +0 -288
  321. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -290
  322. package/docs/types/ModelFloorplanPluginParameterType.html +0 -283
  323. package/docs/types/ModelFloorplanPluginReturnType.html +0 -283
  324. package/docs/types/ModelId.html +0 -283
  325. package/docs/types/ModelRoomLabelPluginParameters.html +0 -283
  326. package/docs/types/ModelRoomLabelPluginReturnType.html +0 -283
  327. package/docs/types/MoveArgs.html +0 -293
  328. package/docs/types/MoveOpts.html +0 -291
  329. package/docs/types/Object3DHelperEventMap.html +0 -376
  330. package/docs/types/ObjectFit.html +0 -283
  331. package/docs/types/PaintBrushEventMap.html +0 -314
  332. package/docs/types/PanoCompassPluginData.html +0 -283
  333. package/docs/types/PanoCompassPluginExportType.html +0 -283
  334. package/docs/types/PanoCompassPluginParameterType.html +0 -283
  335. package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -283
  336. package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -283
  337. package/docs/types/PanoIndex.html +0 -283
  338. package/docs/types/PanoMeasurePluginEvent.html +0 -283
  339. package/docs/types/PanoMeasureReturnType.html +0 -283
  340. package/docs/types/PanoSpatialTagPluginId.html +0 -283
  341. package/docs/types/PanoTagPluginExportInterface.html +0 -283
  342. package/docs/types/PanoTagPluginParamsInterface.html +0 -283
  343. package/docs/types/PanoVideoPluginParameterType.html +0 -283
  344. package/docs/types/PanoVideoPluginReturnType.html +0 -283
  345. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -291
  346. package/docs/types/PipelinePluginParameterType.html +0 -283
  347. package/docs/types/PipelinePluginReturnType.html +0 -283
  348. package/docs/types/PlaneTag.html +0 -291
  349. package/docs/types/Point2DTag.html +0 -291
  350. package/docs/types/Point3DTag.html +0 -291
  351. package/docs/types/PointTag.html +0 -288
  352. package/docs/types/PointTagInstance.html +0 -288
  353. package/docs/types/Position.html +0 -283
  354. package/docs/types/RotateArgs.html +0 -295
  355. package/docs/types/RotateOpts.html +0 -291
  356. package/docs/types/RuleLabelsKey.html +0 -283
  357. package/docs/types/RuleLabelsValue.html +0 -283
  358. package/docs/types/StickType.html +0 -283
  359. package/docs/types/Tag.html +0 -349
  360. package/docs/types/Tag2D.html +0 -291
  361. package/docs/types/Tag3D.html +0 -291
  362. package/docs/types/TagConfigByKey.html +0 -288
  363. package/docs/types/TagContentType.html +0 -283
  364. package/docs/types/TagContentTypeMapping.html +0 -283
  365. package/docs/types/TagDimensionType.html +0 -285
  366. package/docs/types/TagElement.html +0 -293
  367. package/docs/types/TagEvents.html +0 -336
  368. package/docs/types/TagGLTFObject.html +0 -306
  369. package/docs/types/TagHooks.html +0 -283
  370. package/docs/types/TagId.html +0 -283
  371. package/docs/types/TagInstance.html +0 -361
  372. package/docs/types/TagPointType.html +0 -286
  373. package/docs/types/TagRendererMap.html +0 -290
  374. package/docs/types/TopviewFloorplanPluginParameterType.html +0 -283
  375. package/docs/types/TopviewFloorplanPluginReturnType.html +0 -283
  376. package/docs/types/WorkCode.html +0 -283
  377. package/docs/variables/FLOOR_TYPE_MAP.html +0 -293
  378. package/docs/variables/PLUGIN.html +0 -283
  379. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -286
  380. package/docs/variables/ROOM_TYPE_MAP.html +0 -293
  381. package/docs/variables/defaultGlobalConfig.html +0 -283
  382. package/docs/variables/itemLabelPluginServerParams.html +0 -290
  383. package/docs/variables/modelItemLabelPluginServerParams.html +0 -290
  384. package/docs/variables/modelRoomLabelPluginServerParams.html +0 -290
  385. package/libs/shared-utils/Utils/BaseUtil.d.ts +0 -5
  386. package/libs/shared-utils/Utils/BaseUtil.js +0 -12
  387. package/libs/shared-utils/Utils/WorkUtil.d.ts +0 -33
  388. package/libs/shared-utils/Utils/WorkUtil.js +0 -68
@@ -2,26 +2,26 @@ var P = Object.defineProperty, V = Object.defineProperties;
2
2
  var T = Object.getOwnPropertyDescriptors;
3
3
  var k = Object.getOwnPropertySymbols;
4
4
  var F = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
5
- var v = (h, e, t) => e in h ? P(h, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[e] = t, d = (h, e) => {
5
+ var b = (h, e, t) => e in h ? P(h, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[e] = t, u = (h, e) => {
6
6
  for (var t in e || (e = {}))
7
- F.call(e, t) && v(h, t, e[t]);
7
+ F.call(e, t) && b(h, t, e[t]);
8
8
  if (k)
9
9
  for (var t of k(e))
10
- L.call(e, t) && v(h, t, e[t]);
10
+ L.call(e, t) && b(h, t, e[t]);
11
11
  return h;
12
12
  }, p = (h, e) => V(h, T(e));
13
- var i = (h, e, t) => (v(h, typeof e != "symbol" ? e + "" : e, t), t);
13
+ var i = (h, e, t) => (b(h, typeof e != "symbol" ? e + "" : e, t), t);
14
14
  import * as n from "three";
15
- import { logWarning as S, logError as U } from "../../shared-utils/log.js";
16
- import { createLineGeometry as x } from "../utils/createLineGeometry.js";
17
- import { isPanoramaLike as M, isModelLike as O } from "../../shared-utils/five/mode.js";
15
+ import { logWarning as x, logError as S } from "../../shared-utils/log.js";
16
+ import { createLineGeometry as U } from "../utils/createLineGeometry.js";
17
+ import { isPanoramaLike as M, isModelLike as _ } from "../../shared-utils/five/mode.js";
18
18
  import "hammerjs";
19
19
  import "@realsee/five";
20
20
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
21
21
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
22
22
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
- import { BetterTween as _, tweenProgress as A } from "../../shared-utils/animationFrame/BetterTween.js";
24
- import { loadTexture as G } from "../../shared-utils/three/loadTexture.js";
23
+ import { BetterTween as O, tweenProgress as G } from "../../shared-utils/animationFrame/BetterTween.js";
24
+ import { loadTexture as A } from "../../shared-utils/three/loadTexture.js";
25
25
  import w from "../../PanoTagPlugin/controller/index.js";
26
26
  import E from "../Components/Tag.js";
27
27
  import { filterAdjacentDistinct as B } from "../utils/index.js";
@@ -155,8 +155,8 @@ class N {
155
155
  i(this, "plugin");
156
156
  i(this, "textureHasLoaded", !1);
157
157
  i(this, "disposed", !1);
158
- i(this, "flowAnime", new _({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
159
- i(this, "flickerAnime", A(300).yoyo(!0).repeat(5));
158
+ i(this, "flowAnime", new O({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
159
+ i(this, "flickerAnime", G(300).yoyo(!0).repeat(5));
160
160
  /** 缓存 panoGroup 中每个点距离起点的长度 */
161
161
  i(this, "cacheLengths", []);
162
162
  /** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
@@ -175,7 +175,7 @@ class N {
175
175
  });
176
176
  /** 模型状态变更 */
177
177
  i(this, "onFiveModeChange", (e) => {
178
- this.modeVisible = this.mode === "panorama" ? M(e) : O(e), this.updateVisible();
178
+ this.modeVisible = this.mode === "panorama" ? M(e) : _(e), this.updateVisible();
179
179
  });
180
180
  i(this, "onFiveModelShownFloorChange", (e) => {
181
181
  this.floorVisible = e === null || this.visibleFloorIndexes === null || this.visibleFloorIndexes.includes(e), this.updateVisible();
@@ -190,17 +190,17 @@ class N {
190
190
  this.mesh.material.uniforms.vOffset.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
191
191
  });
192
192
  i(this, "onFlickerAnimeUpdate", (e) => {
193
- var s, o, a, l;
193
+ var s, a, o, d;
194
194
  const { progress: t } = e, r = 1 - t;
195
- this.mesh.material.uniforms.flicker.value = r, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && y(this.startTagContainer.tag) && ((a = this.startTagContainer.app) == null || a.$set(p(d({}, this.startTagContainer.tag.data), {
195
+ this.mesh.material.uniforms.flicker.value = r, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && y(this.startTagContainer.tag) && ((o = this.startTagContainer.app) == null || o.$set(p(u({}, this.startTagContainer.tag.data), {
196
196
  opacity: r,
197
197
  name: this.name,
198
- distance: Math.round((o = (s = this.curvePath) == null ? void 0 : s.getLength()) != null ? o : 0)
199
- }))), this.endTagContainer.tag && y(this.endTagContainer.tag) && ((l = this.endTagContainer.app) == null || l.$set(p(d({}, this.endTagContainer.tag.data), { opacity: r })));
198
+ distance: Math.round((a = (s = this.curvePath) == null ? void 0 : s.getLength()) != null ? a : 0)
199
+ }))), this.endTagContainer.tag && y(this.endTagContainer.tag) && ((d = this.endTagContainer.app) == null || d.$set(p(u({}, this.endTagContainer.tag.data), { opacity: r })));
200
200
  });
201
- i(this, "logWarning", (e) => S("GuideLineModeItem: ", e));
202
- i(this, "logError", (e) => U("GuideLineModeItem: ", e));
203
- var o, a;
201
+ i(this, "logWarning", (e) => x("GuideLineModeItem: ", e));
202
+ i(this, "logError", (e) => S("GuideLineModeItem: ", e));
203
+ var a, o;
204
204
  this.five = e, this.mode = t.mode, this.plugin = t.plugin, this.parent = t.parent, this.startTagContainer = { tag: null, plugin: new w(this.five) }, this.endTagContainer = { tag: null, plugin: new w(this.five) };
205
205
  const r = new n.BufferGeometry(), s = new n.ShaderMaterial({
206
206
  vertexShader: R,
@@ -221,7 +221,7 @@ class N {
221
221
  vOffset: { value: 0 }
222
222
  }
223
223
  });
224
- this.mesh = new n.Mesh(r, s), this.mesh.name = "GuideLineModeItem", 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((a = (o = this.five.model) == null ? void 0 : o.shownFloor) != null ? a : null), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), 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);
224
+ this.mesh = new n.Mesh(r, s), this.mesh.name = "GuideLineModeItem", 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.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), 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);
225
225
  }
226
226
  get panoGroup() {
227
227
  return this._panoGroup;
@@ -270,28 +270,28 @@ class N {
270
270
  return this.logError("setPathByPanoGroup: work is not ready");
271
271
  const r = B(e);
272
272
  if (this._panoGroup = r, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
273
- const o = t.skipPanoGroup ? r.map((a) => this.plugin.workUtils.getObserverStandingPosition(a)) : null;
274
- this.skippedPositions = o;
273
+ const a = t.skipPanoGroup ? r.map((o) => this.five.work.observers[o]).map((o) => o.standingPosition.clone()) : null;
274
+ this.skippedPositions = a;
275
275
  }
276
276
  const s = this.getPathFromPanoGroup(r, this.five.work, t);
277
277
  this.path = s, this.setGeometryByPath(s, t);
278
278
  }
279
279
  /** 通过路径设置线条形状 */
280
280
  setGeometryByPath(e, t) {
281
- var c, b, C;
281
+ var f, v, C;
282
282
  if (this.disposed)
283
283
  return this.logError("disposed");
284
- const r = (c = t == null ? void 0 : t.scale) != null ? c : this.scale, s = (b = t == null ? void 0 : t.width) != null ? b : this.width, o = (C = t == null ? void 0 : t.unit_length) != null ? C : this.unitLength;
285
- this.scale = r, this.width = s, this.unitLength = o;
286
- const { geometry: a, maxU: l, curvePath: u, curvePoints: g } = x({
284
+ const r = (f = t == null ? void 0 : t.scale) != null ? f : this.scale, s = (v = t == null ? void 0 : t.width) != null ? v : this.width, a = (C = t == null ? void 0 : t.unit_length) != null ? C : this.unitLength;
285
+ this.scale = r, this.width = s, this.unitLength = a;
286
+ const { geometry: o, maxU: d, curvePath: g, curvePoints: m } = U({
287
287
  path: e,
288
288
  width: s * r,
289
- unitLength: o * r,
289
+ unitLength: a * r,
290
290
  skipPositions: this.skippedPositions
291
291
  });
292
- this._curvePath = u, this._curvePoints = g, this.mesh.geometry = a, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = l, this.five.needsRender = !0;
293
- const m = e, f = d(d({}, this.geometryStyle), t);
294
- this.path = m, this.geometryStyle = f;
292
+ this._curvePath = g, this._curvePoints = m, this.mesh.geometry = o, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = d, this.five.needsRender = !0;
293
+ const l = e, c = u(u({}, this.geometryStyle), t);
294
+ this.path = l, this.geometryStyle = c;
295
295
  }
296
296
  /** 设置线条材质 */
297
297
  setMartial(e) {
@@ -299,24 +299,24 @@ class N {
299
299
  if (this.disposed)
300
300
  return this.logError("disposed");
301
301
  (e == null ? void 0 : e.visible) !== void 0 && this.setDefaultVisible(e.visible), (e == null ? void 0 : e.color) !== void 0 && this.setColor(e.color), (e == null ? void 0 : e.opacity) !== void 0 && this.setOpacity(e.opacity), ((r = e == null ? void 0 : e.texture) == null ? void 0 : r.url) !== void 0 && this.setTextureUrl(e.texture.url), (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);
302
- const t = d(d({}, this.materialStyle), e);
302
+ const t = u(u({}, this.materialStyle), e);
303
303
  this.materialStyle = t;
304
304
  }
305
305
  /** 设置模型状态 */
306
306
  setMeshStyle(e) {
307
307
  if (e != null && e.translate) {
308
- const s = new n.Vector3(), o = new n.Vector3().fromArray(e.translate);
309
- o.y += this.heightOffset, s.add(o), this.mesh.position.copy(s), r(this.startTagContainer, o), r(this.endTagContainer, o);
308
+ const s = new n.Vector3(), a = new n.Vector3().fromArray(e.translate);
309
+ a.y += this.heightOffset, s.add(a), this.mesh.position.copy(s), r(this.startTagContainer, a), r(this.endTagContainer, a);
310
310
  }
311
- const t = d(d({}, this.meshStyle), e);
311
+ const t = u(u({}, this.meshStyle), e);
312
312
  this.meshStyle = t;
313
- function r(s, o) {
313
+ function r(s, a) {
314
314
  if (!s.tag)
315
315
  return;
316
- const a = new n.Vector3().fromArray(s.tag.position);
317
- a.add(o);
318
- const l = a.toArray();
319
- s.plugin.changeTagById(s.tag.id, { position: l });
316
+ const o = new n.Vector3().fromArray(s.tag.position);
317
+ o.add(a);
318
+ const d = o.toArray();
319
+ s.plugin.changeTagById(s.tag.id, { position: d });
320
320
  }
321
321
  }
322
322
  /** 设置 Y 轴上的偏移量,为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
@@ -370,7 +370,7 @@ class N {
370
370
  setTextureUrl(e) {
371
371
  if (this.disposed)
372
372
  return this.logError("disposed");
373
- this.textureUrl = e, G(e).then((t) => {
373
+ this.textureUrl = e, A(e).then((t) => {
374
374
  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());
375
375
  });
376
376
  }
@@ -402,42 +402,42 @@ class N {
402
402
  return this.disposed ? this.logError("disposed") : this.cacheLengths.length !== 0 ? this.cacheLengths[e] : (this.cacheLengths = this.getPanoGroupLengths(), this.cacheLengths[e]);
403
403
  }
404
404
  getPanoGroupLengths() {
405
- var u;
405
+ var m;
406
406
  if (!this.curvePoints || !this.curvePath)
407
407
  return [];
408
- const e = this.curvePoints.length, t = this.curvePath.getLength(), r = e - 1, s = t / r, o = (u = this.curvePath.getLengths(r)) != null ? u : [], a = [];
409
- let l = 0;
410
- for (let g = 0; g < e; g++) {
411
- const m = this.curvePoints[g], f = this.plugin.workUtils.getObserverStandingPosition(l);
408
+ const e = this.panoGroup.map((l) => this.five.work.observers[l]), t = this.curvePoints.length, r = this.curvePath.getLength(), s = t - 1, a = r / s, o = (m = this.curvePath.getLengths(s)) != null ? m : [], d = [];
409
+ let g = 0;
410
+ for (let l = 0; l < t; l++) {
411
+ const c = this.curvePoints[l], f = e[g];
412
412
  if (!f)
413
413
  break;
414
- f.clone().setY(0).distanceTo(m.clone().setY(0)) < s && (a.push(o[g]), l += 1);
414
+ f.standingPosition.clone().setY(0).distanceTo(c.clone().setY(0)) < a && (d.push(o[l]), g += 1);
415
415
  }
416
- return a;
416
+ return d;
417
417
  }
418
418
  setTag(e, t) {
419
419
  const r = this.curvePath, s = e === "start" ? this.startTagContainer : this.endTagContainer;
420
420
  if (!(t != null && t.data))
421
421
  return s.plugin.clearTags();
422
- const a = I({}, {
422
+ const o = I({}, {
423
423
  contentType: "Custom",
424
424
  stickType: "2DPoint",
425
425
  config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
426
426
  style: { point: { enabled: !1 } },
427
427
  data: {}
428
428
  }, t);
429
- s.tag = a, y(a) && (s.tag.element = (u) => {
430
- var f, c;
431
- (f = s.app) == null || f.$destroy();
432
- const g = e === "start" ? p(d({}, a.data), { name: this.name, distance: Math.round((c = r.getLength()) != null ? c : 0), i18n: this.plugin.config.i18n }) : a.data, m = new E({ target: u, intro: !0, props: g });
433
- return s.app = m, () => m.$destroy();
429
+ s.tag = o, y(o) && (s.tag.element = (g) => {
430
+ var c, f;
431
+ (c = s.app) == null || c.$destroy();
432
+ const m = e === "start" ? p(u({}, o.data), { name: this.name, distance: Math.round((f = r.getLength()) != null ? f : 0), i18n: this.plugin.config.i18n }) : o.data, l = new E({ target: g, intro: !0, props: m });
433
+ return s.app = l, () => l.$destroy();
434
434
  }), s.plugin.load({ tagList: [s.tag] });
435
- const l = this.meshStyle.translate;
436
- if (l && a.position) {
437
- const u = new n.Vector3().fromArray(a.position), g = new n.Vector3().fromArray(l);
438
- u.add(g), u.y += this.heightOffset;
439
- const m = u.toArray();
440
- s.plugin.changeTagById(s.tag.id, { position: m });
435
+ const d = this.meshStyle.translate;
436
+ if (d && o.position) {
437
+ const g = new n.Vector3().fromArray(o.position), m = new n.Vector3().fromArray(d);
438
+ g.add(m), g.y += this.heightOffset;
439
+ const l = g.toArray();
440
+ s.plugin.changeTagById(s.tag.id, { position: l });
441
441
  }
442
442
  }
443
443
  doShow() {
@@ -450,8 +450,8 @@ class N {
450
450
  getPathFromPanoGroup(e, t, r) {
451
451
  if (e.length < 2)
452
452
  return [];
453
- const s = e.map((o) => this.plugin.workUtils.getObserverStandingPosition(o).toArray());
454
- return [d({ type: "CatmullRomCurve3", points: s }, r)];
453
+ const a = e.map((o) => t.observers[o]).map((o) => o.standingPosition.toArray());
454
+ return [u({ type: "CatmullRomCurve3", points: a }, r)];
455
455
  }
456
456
  }
457
457
  function y(h) {
@@ -13,7 +13,7 @@ import "../PanoTagPlugin/controller/index.js";
13
13
  import "./Components/Tag.js";
14
14
  import "./utils/index.js";
15
15
  import "../vendor/object-assign-deep/objectAssignDeep.js";
16
- import { GuideLineModeItem as Zi } from "./GuideLineModeItem/index.js";
16
+ import { GuideLineModeItem as Xi } from "./GuideLineModeItem/index.js";
17
17
  import "../vendor/polyline-normals/index.js";
18
18
  import "../vendor/polyline-miter-util/index.js";
19
19
  import "../vendor/gl-vec2/add.js";
@@ -73,8 +73,6 @@ import "../PanoTagPlugin/utils/tag/adaptConfig.js";
73
73
  import "../shared-utils/typescript/entries.js";
74
74
  import "../shared-utils/url/getUrl.js";
75
75
  import "../shared-utils/five/transformPosition.js";
76
- import "../shared-utils/Utils/WorkUtil.js";
77
- import "../shared-utils/Utils/BaseUtil.js";
78
76
  import "../shared-utils/five/getFloorIndex.js";
79
77
  import "../shared-utils/safeObj.js";
80
78
  import "../PanoTagPlugin/Components/TagContainer.js";
@@ -156,5 +154,5 @@ import "../shared-utils/three/GLTFLoader.js";
156
154
  import "@realsee/five/gltf-loader";
157
155
  import "../shared-utils/five/fiveModelLoad.js";
158
156
  export {
159
- Zi as GuideLineModeItem
157
+ Xi as GuideLineModeItem
160
158
  };
@@ -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 wt } from "./GuideLineModeItem/index.js";
2
+ import { GuideLineItem$1 as Mt } from "./GuideLineItem/index.js";
3
+ import { GuideLineModeItem$1 as ct } from "./GuideLineModeItem/index.js";
4
4
  import "../base/BasePluginWithData.js";
5
5
  import "../base/BasePlugin.js";
6
6
  import "../shared-utils/Subscribe.js";
@@ -38,9 +38,6 @@ import "../shared-utils/vectorToCoordinate.js";
38
38
  import "../shared-utils/formatRad.js";
39
39
  import "../CruisePlugin/BaseController.js";
40
40
  import "../vendor/object-assign-deep/objectAssignDeep.js";
41
- import "../shared-utils/Utils/WorkUtil.js";
42
- import "../shared-utils/Utils/BaseUtil.js";
43
- import "../shared-utils/five/transformPosition.js";
44
41
  import "../shared-utils/log.js";
45
42
  import "./utils/createLineGeometry.js";
46
43
  import "../vendor/polyline-normals/index.js";
@@ -89,6 +86,7 @@ import "../shared-utils/five/calculateThreeMouse.js";
89
86
  import "../PanoTagPlugin/utils/tag/adaptConfig.js";
90
87
  import "../shared-utils/typescript/entries.js";
91
88
  import "../shared-utils/url/getUrl.js";
89
+ import "../shared-utils/five/transformPosition.js";
92
90
  import "../shared-utils/five/getFloorIndex.js";
93
91
  import "../shared-utils/safeObj.js";
94
92
  import "../PanoTagPlugin/Components/TagContainer.js";
@@ -175,10 +173,10 @@ import "../shared-utils/five/changeMode.js";
175
173
  import "../shared-utils/nearlyEqual.js";
176
174
  import "../CruisePlugin/Move.js";
177
175
  import "../CruisePlugin/utils/getFiveStateOnCurve.js";
178
- const xt = (i, o) => new t(i, o);
176
+ const st = (i, o) => new t(i, o);
179
177
  export {
180
- ct as GuideLineItem,
181
- wt as GuideLineModeItem,
182
- xt as GuideLinePlugin,
183
- xt as default
178
+ Mt as GuideLineItem,
179
+ ct as GuideLineModeItem,
180
+ st as GuideLinePlugin,
181
+ st as default
184
182
  };
@@ -1,18 +1,18 @@
1
- var A = Object.defineProperty, $ = Object.defineProperties;
1
+ var $ = Object.defineProperty, w = Object.defineProperties;
2
2
  var E = Object.getOwnPropertyDescriptors;
3
- var T = Object.getOwnPropertySymbols;
3
+ var k = Object.getOwnPropertySymbols;
4
4
  var L = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
5
- var M = (b, e, i) => e in b ? A(b, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : b[e] = i, x = (b, e) => {
5
+ var M = (b, e, i) => e in b ? $(b, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : b[e] = i, x = (b, e) => {
6
6
  for (var i in e || (e = {}))
7
7
  L.call(e, i) && M(b, i, e[i]);
8
- if (T)
9
- for (var i of T(e))
8
+ if (k)
9
+ for (var i of k(e))
10
10
  _.call(e, i) && M(b, i, e[i]);
11
11
  return b;
12
- }, U = (b, e) => $(b, E(e));
12
+ }, D = (b, e) => w(b, E(e));
13
13
  import * as F from "three";
14
- import { is3DTag as O, isMediaModelTag as D } from "../utils/tag/tagCheck.js";
15
- import { getTagCenterPosition as C, getTagPosition as z } from "../utils/tagPosition.js";
14
+ import { is3DTag as z, isMediaModelTag as R } from "../utils/tag/tagCheck.js";
15
+ import { getTagCenterPosition as C, getTagPosition as O } from "../utils/tagPosition.js";
16
16
  import { checkRange as h } from "../utils/checkRange.js";
17
17
  import { isPanoramaLike as y, isModelLike as Z } from "../../shared-utils/five/mode.js";
18
18
  import "hammerjs";
@@ -23,7 +23,7 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
23
  import { notNil as q } from "../../shared-utils/isNil.js";
24
24
  import { TagUtil as H } from "./TagUtil.js";
25
25
  import { getFloorIndex as N } from "../../shared-utils/five/getFloorIndex.js";
26
- import { safeObj as R } from "../../shared-utils/safeObj.js";
26
+ import { safeObj as U } from "../../shared-utils/safeObj.js";
27
27
  import { toArray as W } from "../../shared-utils/util.js";
28
28
  import "../../shared-utils/three/centerPoint.js";
29
29
  import "../../shared-utils/positionToVector3.js";
@@ -64,11 +64,9 @@ import "../utils/tag/adaptConfig.js";
64
64
  import "../../shared-utils/typescript/entries.js";
65
65
  import "../../shared-utils/url/getUrl.js";
66
66
  import "../../shared-utils/five/transformPosition.js";
67
- import "../../shared-utils/Utils/WorkUtil.js";
68
- import "../../shared-utils/Utils/BaseUtil.js";
69
67
  const I = new F.Raycaster();
70
68
  I.params.Points.threshold = 0.1;
71
- class Qe extends H {
69
+ class Je extends H {
72
70
  constructor(e) {
73
71
  super(e);
74
72
  }
@@ -133,7 +131,7 @@ class Qe extends H {
133
131
  reason: `distance is not in visibleDistance. distance: ${l}, visibleDistance: ${n.visibleDistance}`
134
132
  };
135
133
  }
136
- if (y(o) && n.angleRange && O(e)) {
134
+ if (y(o) && n.angleRange && z(e)) {
137
135
  s.push("angleRange");
138
136
  const l = this.getAngle(e);
139
137
  if (h(l, n.angleRange) === !1)
@@ -218,7 +216,7 @@ class Qe extends H {
218
216
  }).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: a }) => {
219
217
  var u, m;
220
218
  return !(typeof a == "function" || a.keep || a.autoUnfold === !1 || ((u = a.autoUnfold) == null ? void 0 : u.enable) === !1 || ((m = a.autoUnfold) == null ? void 0 : m.strategy) !== "MinimumDistance");
221
- }).map((r) => U(x({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: a }) => {
219
+ }).map((r) => D(x({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: a }) => {
222
220
  const u = a.autoUnfold.distance;
223
221
  return !(u && h(r, u) === !1);
224
222
  }).sort((r, a) => r.distance - a.distance).findIndex((r) => r.id === e.id);
@@ -267,14 +265,14 @@ class Qe extends H {
267
265
  /** 通过射线检测标签可用性 */
268
266
  getTagEnableByIntersect(e, i) {
269
267
  var n, r, a, u, m;
270
- const f = R(R((n = this.getTagConfig(e).visibleConfig) != null ? n : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, o = y(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
268
+ const f = U(U((n = this.getTagConfig(e).visibleConfig) != null ? n : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, o = y(this.five.getCurrentState().mode) ? this.getObserverPosition(t) : this.five.camera.position;
271
269
  if (o === void 0)
272
270
  return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
273
271
  const d = W(
274
272
  (() => {
275
273
  var g;
276
274
  const v = (g = f.checkPoints) != null ? g : "center";
277
- return v === "center" ? C(e) : v === "corner" ? z(e) : Array.isArray(v) ? v : [];
275
+ return v === "center" ? C(e) : v === "corner" ? O(e) : Array.isArray(v) ? v : [];
278
276
  })()
279
277
  );
280
278
  let s = 0, c = 0;
@@ -282,13 +280,13 @@ class Qe extends H {
282
280
  const g = new F.Vector3().subVectors(v, o).normalize();
283
281
  I.set(o, g);
284
282
  const P = o.distanceTo(v), [l] = this.five.model.intersectRaycaster(I), p = (() => {
285
- if (!D(e))
283
+ if (!R(e))
286
284
  return;
287
- const V = this.tags.filter(D).map((B) => {
288
- var k;
289
- return (k = B.model) == null ? void 0 : k.object;
290
- }).filter(q), [w] = I.intersectObjects(V, !0);
291
- return w;
285
+ const V = this.tags.filter(R).map((A) => {
286
+ var T;
287
+ return (T = A.model) == null ? void 0 : T.object;
288
+ }).filter(q), [B] = I.intersectObjects(V, !0);
289
+ return B;
292
290
  })(), S = (r = f.distanceAccuracy) != null ? r : 0.01;
293
291
  Math.min((a = l == null ? void 0 : l.distance) != null ? a : 1 / 0, (u = p == null ? void 0 : p.distance) != null ? u : 1 / 0) + S >= P ? s++ : c++;
294
292
  const j = (m = f.needPassed) != null ? m : 1;
@@ -309,11 +307,11 @@ class Qe extends H {
309
307
  var o, d, s, c, n, r, a;
310
308
  let i = 0;
311
309
  const f = (o = e.fiveState) == null ? void 0 : o.panoIndex;
312
- f !== void 0 ? i = (d = this.workUtil.getObserver(f)) == null ? void 0 : d.floorIndex : i = N(this.workUtil.work, (a = (r = (c = (s = e.model) == null ? void 0 : s.object) == null ? void 0 : c.position) != null ? r : (n = e.mediaPlane) == null ? void 0 : n.position) != null ? a : C(e));
310
+ f !== void 0 ? i = (d = this.work.observers[f]) == null ? void 0 : d.floorIndex : i = N(this.work, (a = (r = (c = (s = e.model) == null ? void 0 : s.object) == null ? void 0 : c.position) != null ? r : (n = e.mediaPlane) == null ? void 0 : n.position) != null ? a : C(e));
313
311
  const t = this.five.model.shownFloor;
314
312
  return t === null || t === i;
315
313
  }
316
314
  }
317
315
  export {
318
- Qe as TagComputer
316
+ Je as TagComputer
319
317
  };
@@ -75,8 +75,6 @@ import "../utils/tag/adaptConfig.js";
75
75
  import "../../shared-utils/typescript/entries.js";
76
76
  import "../../shared-utils/url/getUrl.js";
77
77
  import "../../shared-utils/five/transformPosition.js";
78
- import "../../shared-utils/Utils/WorkUtil.js";
79
- import "../../shared-utils/Utils/BaseUtil.js";
80
78
  import "../../shared-utils/five/getFloorIndex.js";
81
79
  import "../../shared-utils/safeObj.js";
82
80
  import "../../shared-utils/three/loadTexture.js";
@@ -162,7 +160,7 @@ import "../../CSS3DRenderPlugin/Controller.js";
162
160
  import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
163
161
  import "@realsee/five/gltf-loader";
164
162
  const $ = /* @__PURE__ */ new Map(), q = /* @__PURE__ */ new Map();
165
- class Ti extends I {
163
+ class fi extends I {
166
164
  constructor(t) {
167
165
  super(t);
168
166
  h(this, "rendererMap", /* @__PURE__ */ new Map());
@@ -495,5 +493,5 @@ class Ti extends I {
495
493
  }
496
494
  }
497
495
  export {
498
- Ti as TagRender
496
+ fi as TagRender
499
497
  };
@@ -7,13 +7,12 @@ import { Five } from '@realsee/five';
7
7
  import type { State as FiveState } from '@realsee/five';
8
8
  import type { Mode } from '@realsee/five';
9
9
  import { FiveDomEvents } from '../../shared-utils/five/FiveDomEvents';
10
- import { WorkUtil } from '../../shared-utils/Utils/WorkUtil';
11
10
  export declare abstract class TagUtil extends TagCache {
12
11
  tags: TagInstance[];
13
12
  config: Pick<Tags, 'globalConfig' | 'contentTypeConfig'>;
14
13
  set workCode(workCode: string);
15
14
  get workCode(): string;
16
- workUtil: WorkUtil;
15
+ protected get work(): import("@realsee/five").Work;
17
16
  protected mediaStore: MediaStore;
18
17
  /** css3DRenderPlugin */
19
18
  protected css3DRenderPlugin?: CSS3DRenderPluginExportType;
@@ -28,6 +27,7 @@ export declare abstract class TagUtil extends TagCache {
28
27
  disposed: boolean;
29
28
  };
30
29
  protected domEvents: FiveDomEvents;
30
+ private _workCode;
31
31
  protected constructor(five: Five);
32
32
  getTagById<C extends TagContentType = TagContentType, S extends StickType = StickType>(id: TagId): TagInstance<C, S> | undefined;
33
33
  /** 暂停当前标签内进行的所有多媒体 */
@@ -43,6 +43,7 @@ export declare abstract class TagUtil extends TagCache {
43
43
  * @description 获取标签当前状态
44
44
  */
45
45
  getCurrentVisibleState(tag: TagInstance): boolean;
46
+ protected getObserverPosition: (index: number) => THREE.Vector3;
46
47
  protected loadVideoFirstFrame: () => void;
47
48
  protected updateTagConfig(): void;
48
49
  protected can<T extends Tag>(action: 'show' | 'hide' | 'fold' | 'unfold', paramsTag: T): boolean;