@realsee/dnalogel 3.0.0-dev.1 → 3.0.0-dev.2

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 (403) hide show
  1. package/dist/index.cjs.js +44 -44
  2. package/dist/index.js +2012 -2001
  3. package/dist/index.umd.js +36 -36
  4. package/dist/shared-utils/index.d.ts +1 -1
  5. package/dist/shared-utils/three/getNormal.d.ts +2 -0
  6. package/dist/shared-utils/url/getUrl.d.ts +4 -0
  7. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
  8. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
  9. package/docs/classes/CSS3DRender.html +30 -30
  10. package/docs/classes/CruisePluginController.html +25 -25
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  13. package/docs/classes/Magnifier.html +19 -19
  14. package/docs/classes/ModelRoomLabelController.html +10 -10
  15. package/docs/classes/Object3DHelperController.html +24 -24
  16. package/docs/classes/PaintBrush.html +14 -14
  17. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  18. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  19. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  20. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  21. package/docs/classes/PanoTagPluginController.html +44 -44
  22. package/docs/classes/Util.BetterTween.html +8 -8
  23. package/docs/classes/Util.Interval.html +11 -11
  24. package/docs/classes/Util.LineSegments.html +7 -7
  25. package/docs/classes/Util.Magnifier.html +19 -19
  26. package/docs/classes/Util.Object3D.html +7 -7
  27. package/docs/classes/Util.PointDomHelper.html +10 -10
  28. package/docs/classes/Util.PointHelper.html +10 -10
  29. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  30. package/docs/classes/Util.Rectangle.html +12 -12
  31. package/docs/enums/CameraMovementEffect.html +6 -6
  32. package/docs/enums/ContentType.html +19 -19
  33. package/docs/enums/DIRECTION.html +8 -8
  34. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  35. package/docs/enums/DimensionType.html +6 -6
  36. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  37. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  38. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  39. package/docs/enums/PointType.html +6 -6
  40. package/docs/enums/Rotation.html +7 -7
  41. package/docs/functions/AreaMakerPlugin.html +4 -4
  42. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  43. package/docs/functions/CameraMovementPlugin.html +3 -3
  44. package/docs/functions/CruisePlugin.html +3 -3
  45. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  46. package/docs/functions/GuideLinePlugin.html +4 -4
  47. package/docs/functions/ItemLabelPlugin.html +3 -3
  48. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  49. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  50. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  51. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  52. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  53. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  54. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  55. package/docs/functions/ModelViewPlugin.html +3 -3
  56. package/docs/functions/Object3DHelperPlugin.html +3 -3
  57. package/docs/functions/PanoCompassPlugin.html +3 -3
  58. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  59. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  60. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  61. package/docs/functions/PanoMeasurePlugin.html +3 -3
  62. package/docs/functions/PanoRulerPlugin.html +3 -3
  63. package/docs/functions/PanoRulerProPlugin.html +3 -3
  64. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  65. package/docs/functions/PanoTagPlugin.html +3 -3
  66. package/docs/functions/PanoVideoPlugin.html +3 -3
  67. package/docs/functions/PipelinePlugin.html +3 -3
  68. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  69. package/docs/functions/Util.absoluteUrl.html +4 -4
  70. package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
  71. package/docs/functions/Util.equal.html +4 -4
  72. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  73. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  74. package/docs/functions/Util.getFrameTime.html +4 -4
  75. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  76. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  77. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  78. package/docs/functions/Util.isModelLike.html +4 -4
  79. package/docs/functions/Util.isNil.html +4 -4
  80. package/docs/functions/Util.isPanoramaLike.html +4 -4
  81. package/docs/functions/Util.nextFrame.html +4 -4
  82. package/docs/functions/Util.notNil.html +4 -4
  83. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  84. package/docs/functions/Util.tweenProgress.html +4 -4
  85. package/docs/functions/Util.uuid.html +4 -4
  86. package/docs/functions/pluginFlag.html +4 -4
  87. package/docs/index.html +4 -4
  88. package/docs/interfaces/AddTagConfig.html +5 -5
  89. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
  90. package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
  91. package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
  92. package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
  93. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
  94. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
  95. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
  96. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
  97. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
  98. package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
  99. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  100. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  101. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  102. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  103. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  104. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  105. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  106. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  107. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  108. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  109. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
  110. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  111. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
  112. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
  113. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
  114. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
  115. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
  116. package/docs/interfaces/EventMap.html +14 -14
  117. package/docs/interfaces/FloorplanBounding.html +7 -7
  118. package/docs/interfaces/FloorplanData.html +9 -9
  119. package/docs/interfaces/FloorplanEntrance.html +10 -10
  120. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  121. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  122. package/docs/interfaces/FloorplanFloorData.html +8 -8
  123. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  124. package/docs/interfaces/FloorplanObserver.html +8 -8
  125. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  126. package/docs/interfaces/FloorplanPosition.html +6 -6
  127. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  128. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  129. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  130. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  131. package/docs/interfaces/FloorplanServerData.html +6 -6
  132. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  133. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  134. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  135. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  136. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  137. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  138. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  139. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  140. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  141. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  142. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  143. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  144. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  145. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  146. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  147. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  148. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  149. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  150. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  151. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  152. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  153. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
  154. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  155. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  156. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  157. package/docs/interfaces/HelperOffset.html +7 -7
  158. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  159. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  160. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  161. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  162. package/docs/interfaces/MinMax.html +6 -6
  163. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  164. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  165. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  166. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  167. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  168. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  169. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  170. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  171. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  172. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  173. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  174. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  175. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  176. package/docs/interfaces/Object3DHelperState.html +7 -7
  177. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  178. package/docs/interfaces/PaintBrushAction.html +11 -11
  179. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  180. package/docs/interfaces/PaintBrushState.html +9 -9
  181. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  182. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  183. package/docs/interfaces/PanoMeasureParameterType.html +15 -15
  184. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  185. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  186. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  187. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  188. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  189. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  190. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  191. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  192. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  193. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  194. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  195. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  196. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  197. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  198. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  199. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  200. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  201. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  202. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  203. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  204. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  205. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  206. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  207. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  208. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  209. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  210. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  211. package/docs/interfaces/Point.html +7 -7
  212. package/docs/interfaces/Room.html +8 -8
  213. package/docs/interfaces/RoomInfo.html +6 -6
  214. package/docs/interfaces/RoomLabel.html +13 -13
  215. package/docs/interfaces/RoomRules.html +4 -4
  216. package/docs/interfaces/Rooms.html +4 -4
  217. package/docs/interfaces/Scissor.html +8 -8
  218. package/docs/interfaces/State.html +7 -7
  219. package/docs/interfaces/TagCacheInterface.html +11 -11
  220. package/docs/interfaces/TagConfig.html +13 -13
  221. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  222. package/docs/interfaces/TagIconUrl.html +11 -11
  223. package/docs/interfaces/TagObjectGroup.html +5 -5
  224. package/docs/interfaces/TagStyle.html +5 -5
  225. package/docs/interfaces/Tags.html +8 -8
  226. package/docs/interfaces/TemporaryState.html +5 -5
  227. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  228. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  229. package/docs/interfaces/Util.PointIntersection.html +7 -7
  230. package/docs/modules/AreaMakerPluginType.html +4 -4
  231. package/docs/modules/CruisePluginTypes.html +4 -4
  232. package/docs/modules/CurrentPanoImagePluginType.html +4 -4
  233. package/docs/modules/GuideLineItem.html +4 -4
  234. package/docs/modules/GuideLineModeItem.html +4 -4
  235. package/docs/modules/GuideLinePluginType.html +4 -4
  236. package/docs/modules/PanoVideoPluginType.html +4 -4
  237. package/docs/modules/Util.html +4 -4
  238. package/docs/modules.html +4 -4
  239. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
  240. package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
  241. package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
  242. package/docs/types/ArrayPosition.html +4 -4
  243. package/docs/types/AudioAppearance.html +4 -4
  244. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  245. package/docs/types/CSS3DRenderExportType.html +4 -4
  246. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  247. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  248. package/docs/types/ClassFunctionParameters.html +4 -4
  249. package/docs/types/Color.html +4 -4
  250. package/docs/types/ContentTypeConfigKey.html +4 -4
  251. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  252. package/docs/types/ContentTypeMap.html +4 -4
  253. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  254. package/docs/types/Create3DElementReturnType.html +4 -4
  255. package/docs/types/CruisePluginExportType.html +4 -4
  256. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  257. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  258. package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
  259. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  260. package/docs/types/DeprecatedTagProperty.html +4 -4
  261. package/docs/types/Direction-1.html +4 -4
  262. package/docs/types/Direction4.html +4 -4
  263. package/docs/types/ElementRenderer.html +4 -4
  264. package/docs/types/FloorplanRuleLabels.html +4 -4
  265. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  266. package/docs/types/GuideLinePluginExportType.html +4 -4
  267. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  268. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  269. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  270. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  271. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  272. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  273. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  274. package/docs/types/HelperEventMap.html +4 -4
  275. package/docs/types/LoadTagConfig.html +4 -4
  276. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  277. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  278. package/docs/types/MediaData.html +4 -4
  279. package/docs/types/MediaStore.html +4 -4
  280. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  281. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  282. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  283. package/docs/types/ModelId.html +4 -4
  284. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  285. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  286. package/docs/types/MoveArgs.html +4 -4
  287. package/docs/types/MoveOpts.html +4 -4
  288. package/docs/types/Object3DHelperEventMap.html +4 -4
  289. package/docs/types/ObjectFit.html +4 -4
  290. package/docs/types/PaintBrushEventMap.html +4 -4
  291. package/docs/types/PanoCompassPluginData.html +4 -4
  292. package/docs/types/PanoCompassPluginExportType.html +4 -4
  293. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  294. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  295. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  296. package/docs/types/PanoIndex.html +4 -4
  297. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  298. package/docs/types/PanoMeasureReturnType.html +4 -4
  299. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  300. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  301. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  302. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  303. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  304. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  305. package/docs/types/PipelinePluginParameterType.html +4 -4
  306. package/docs/types/PipelinePluginReturnType.html +4 -4
  307. package/docs/types/PlaneTag.html +4 -4
  308. package/docs/types/Point2DTag.html +4 -4
  309. package/docs/types/Point3DTag.html +4 -4
  310. package/docs/types/PointTag.html +4 -4
  311. package/docs/types/PointTagInstance.html +4 -4
  312. package/docs/types/Position.html +4 -4
  313. package/docs/types/RotateArgs.html +4 -4
  314. package/docs/types/RotateOpts.html +4 -4
  315. package/docs/types/RuleLabelsKey.html +4 -4
  316. package/docs/types/RuleLabelsValue.html +4 -4
  317. package/docs/types/StickType.html +4 -4
  318. package/docs/types/Tag.html +4 -4
  319. package/docs/types/Tag2D.html +4 -4
  320. package/docs/types/Tag3D.html +4 -4
  321. package/docs/types/TagConfigByKey.html +4 -4
  322. package/docs/types/TagContentType.html +4 -4
  323. package/docs/types/TagDimensionType.html +4 -4
  324. package/docs/types/TagElement.html +4 -4
  325. package/docs/types/TagEvents.html +4 -4
  326. package/docs/types/TagGLTFObject.html +4 -4
  327. package/docs/types/TagHooks.html +4 -4
  328. package/docs/types/TagId.html +4 -4
  329. package/docs/types/TagInstance.html +4 -4
  330. package/docs/types/TagPointType.html +4 -4
  331. package/docs/types/TagRendererMap.html +4 -4
  332. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  333. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  334. package/docs/types/WorkCode.html +4 -4
  335. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  336. package/docs/variables/PLUGIN.html +4 -4
  337. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  338. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  339. package/docs/variables/defaultGlobalConfig.html +4 -4
  340. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  341. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  342. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  343. package/libs/AreaMakerPlugin/Controller.js +1 -1
  344. package/libs/AreaMakerPlugin/index.js +1 -1
  345. package/libs/CSS3DRenderPlugin/Controller.js +1 -1
  346. package/libs/CSS3DRenderPlugin/index.js +1 -1
  347. package/libs/CruisePlugin/Controller.js +37 -35
  348. package/libs/CruisePlugin/index.js +8 -6
  349. package/libs/CurrentPanoImagePlugin/Controller.js +1 -1
  350. package/libs/CurrentPanoImagePlugin/index.js +1 -1
  351. package/libs/GuideLinePlugin/Controller.js +24 -22
  352. package/libs/GuideLinePlugin/GuideLineItem.js +5 -3
  353. package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -3
  354. package/libs/GuideLinePlugin/index.js +10 -8
  355. package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
  356. package/libs/ModelTVVideoPlugin/index.js +1 -1
  357. package/libs/Object3DHelperPlugin/Controller.js +1 -1
  358. package/libs/Object3DHelperPlugin/index.js +1 -1
  359. package/libs/PanoCompassPlugin/Controller.js +1 -1
  360. package/libs/PanoCompassPlugin/index.js +1 -1
  361. package/libs/PanoDoorLabelPlugin/BaseController.js +1 -1
  362. package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
  363. package/libs/PanoDoorLabelPlugin/index.js +1 -1
  364. package/libs/PanoMeasurePlugin/Components/Controller0.js +1 -1
  365. package/libs/PanoMeasurePlugin/Components/Controller1.js +1 -1
  366. package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
  367. package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
  368. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
  369. package/libs/PanoMeasurePlugin/index.js +1 -1
  370. package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
  371. package/libs/PanoSpatialTagPlugin/index.js +1 -1
  372. package/libs/PanoTagPlugin/controller/TagCache.js +1 -1
  373. package/libs/PanoTagPlugin/controller/TagComputer.js +5 -3
  374. package/libs/PanoTagPlugin/controller/TagRender.js +5 -3
  375. package/libs/PanoTagPlugin/controller/TagUtil.js +64 -58
  376. package/libs/PanoTagPlugin/controller/index.js +8 -6
  377. package/libs/PanoTagPlugin/index.js +14 -12
  378. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +97 -99
  379. package/libs/PanoVideoPlugin/Controller.js +1 -1
  380. package/libs/PanoVideoPlugin/index.js +1 -1
  381. package/libs/PipelinePlugin/Controller.js +1 -1
  382. package/libs/PipelinePlugin/index.js +1 -1
  383. package/libs/base/BasePlugin.js +2 -2
  384. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
  385. package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
  386. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
  387. package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
  388. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
  389. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
  390. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
  391. package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
  392. package/libs/index.js +119 -117
  393. package/libs/shared-utils/index.d.ts +1 -1
  394. package/libs/shared-utils/index.js +1 -1
  395. package/libs/shared-utils/logger.js +1 -1
  396. package/libs/shared-utils/three/getNormal.d.ts +2 -0
  397. package/libs/shared-utils/three/getNormal.js +10 -0
  398. package/libs/shared-utils/url/getUrl.d.ts +4 -0
  399. package/libs/shared-utils/url/getUrl.js +7 -0
  400. package/package.json +1 -1
  401. /package/dist/shared-utils/{absoluteUrl.d.ts → url/absoluteUrl.d.ts} +0 -0
  402. /package/libs/shared-utils/{absoluteUrl.d.ts → url/absoluteUrl.d.ts} +0 -0
  403. /package/libs/shared-utils/{absoluteUrl.js → url/absoluteUrl.js} +0 -0
@@ -21,7 +21,7 @@ import "../shared-utils/three/getObjectVisible.js";
21
21
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
22
22
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
23
23
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
24
- import "../shared-utils/absoluteUrl.js";
24
+ import "../shared-utils/url/absoluteUrl.js";
25
25
  import "../shared-utils/equal.js";
26
26
  import "../shared-utils/isTruelyObject.js";
27
27
  import "./utils/Item.js";
@@ -18,7 +18,7 @@ import "hammerjs";
18
18
  import "three";
19
19
  import "@realsee/five";
20
20
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
21
- import { absoluteUrl as $ } from "../shared-utils/absoluteUrl.js";
21
+ import { absoluteUrl as $ } from "../shared-utils/url/absoluteUrl.js";
22
22
  import "../shared-utils/positionToVector3.js";
23
23
  import "./utils/three/CSS3DRenderer.js";
24
24
  import "three/examples/jsm/renderers/CSS3DRenderer";
@@ -6,7 +6,7 @@ import "hammerjs";
6
6
  import "three";
7
7
  import "@realsee/five";
8
8
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
9
- import "../shared-utils/absoluteUrl.js";
9
+ import "../shared-utils/url/absoluteUrl.js";
10
10
  import "../shared-utils/positionToVector3.js";
11
11
  import "./utils/three/CSS3DRenderer.js";
12
12
  import "three/examples/jsm/renderers/CSS3DRenderer";
@@ -57,7 +57,7 @@ import "../shared-utils/three/getObjectVisible.js";
57
57
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
58
58
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
59
59
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
60
- import "../shared-utils/absoluteUrl.js";
60
+ import "../shared-utils/url/absoluteUrl.js";
61
61
  import "../GuideLinePlugin/Controller.js";
62
62
  import "../GuideLinePlugin/GuideLineItem/index.js";
63
63
  import "../GuideLinePlugin/GuideLineModeItem/index.js";
@@ -104,9 +104,11 @@ import "../shared-utils/three/loadVideoTexture.js";
104
104
  import "../PanoTagPlugin/Assets/Icon.js";
105
105
  import "../shared-utils/three/getPositionsByObjectFit.js";
106
106
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
107
+ import "../shared-utils/three/getNormal.js";
107
108
  import "../shared-utils/five/FiveDomEvents.js";
108
109
  import "../PanoTagPlugin/utils/tag/adaptConfig.js";
109
110
  import "../shared-utils/typescript/entries.js";
111
+ import "../shared-utils/url/getUrl.js";
110
112
  import "../shared-utils/five/getFloorIndex.js";
111
113
  import "../shared-utils/safeObj.js";
112
114
  import "../PanoTagPlugin/Components/TagContainer.js";
@@ -194,7 +196,7 @@ import "../shared-utils/nearlyEqual.js";
194
196
  import "./utils/coordinatesToVector.js";
195
197
  import "../shared-utils/isTruelyObject.js";
196
198
  import "./utils/formatRad.js";
197
- const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`, tr = (c) => `${x}--${c}`, D = () => {
199
+ const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`, rr = (c) => `${x}--${c}`, D = () => {
198
200
  console.error(`${x} is disposed`);
199
201
  }, W = () => {
200
202
  console.warn(`${x} is disabled`);
@@ -241,30 +243,30 @@ class z extends V {
241
243
  */
242
244
  load(e, t, i) {
243
245
  return v(this, null, function* () {
244
- var o, m, p, u, h, P;
246
+ var o, m, f, u, h, P;
245
247
  if (this.state.disposed)
246
248
  return D();
247
- this.privateState.fiveOriginGetProgress || (m = (o = this.five.controller) == null ? void 0 : o.cameraMotion) != null && m.getProgress || (yield this.waitFiveLoaded(), this.privateState.fiveOriginGetProgress = (u = (p = this.five.controller) == null ? void 0 : p.cameraMotion) == null ? void 0 : u.getProgress), this.clear();
249
+ this.privateState.fiveOriginGetProgress || (m = (o = this.five.controller) == null ? void 0 : o.cameraMotion) != null && m.getProgress || (yield this.waitFiveLoaded(), this.privateState.fiveOriginGetProgress = (u = (f = this.five.controller) == null ? void 0 : f.cameraMotion) == null ? void 0 : u.getProgress), this.clear();
248
250
  const r = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, n = yield this.formatData(e);
249
251
  this.data = n, this.hooks.emit("dataChange", n, r);
250
252
  let s = [], d;
251
- const a = this.data.keyframes.filter((f) => f.data.panoIndex !== void 0);
252
- a.filter((f, y) => {
253
+ const a = this.data.keyframes.filter((p) => p.data.panoIndex !== void 0);
254
+ a.filter((p, y) => {
253
255
  var S;
254
- return f.data.panoIndex !== ((S = a[y - 1]) == null ? void 0 : S.data.panoIndex);
255
- }).map((f) => f.data.panoIndex).forEach((f) => {
256
+ return p.data.panoIndex !== ((S = a[y - 1]) == null ? void 0 : S.data.panoIndex);
257
+ }).map((p) => p.data.panoIndex).forEach((p) => {
256
258
  var S, k;
257
- const y = (S = this.five.work.observers[f]) == null ? void 0 : S.floorIndex;
259
+ const y = (S = this.five.work.observers[p]) == null ? void 0 : S.floorIndex;
258
260
  if (y !== void 0)
259
261
  if (d === y) {
260
262
  const b = s.length - 1;
261
- s[b] = [...(k = s[b]) != null ? k : [], f];
263
+ s[b] = [...(k = s[b]) != null ? k : [], p];
262
264
  } else {
263
265
  d = y;
264
266
  const b = s.length;
265
- s[b] = [f];
267
+ s[b] = [p];
266
268
  }
267
- }), !this.GuideLine && ((h = this.config) == null ? void 0 : h.useGuideLine) !== !1 && n.useGuildLine !== !1 && (this.GuideLine = $(this.five, this.config)), (P = this.GuideLine) == null || P.load({ routes: s.map((f) => ({ panoIndexList: f })), config: n.guildPluginOptions }), t ? this.setState(t, { userAction: i }) : (this.setState({ playing: !1 }, { userAction: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing, { userAction: !1 }), this.changeSpeed(this.state.speed)), this.clearPauseData(), console.debug(`${x} loaded`, n), this.hooks.emit("dataLoaded", n);
269
+ }), !this.GuideLine && ((h = this.config) == null ? void 0 : h.useGuideLine) !== !1 && n.useGuildLine !== !1 && (this.GuideLine = $(this.five, this.config)), (P = this.GuideLine) == null || P.load({ routes: s.map((p) => ({ panoIndexList: p })), config: n.guildPluginOptions }), t ? this.setState(t, { userAction: i }) : (this.setState({ playing: !1 }, { userAction: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing, { userAction: !1 }), this.changeSpeed(this.state.speed)), this.clearPauseData(), console.debug(`${x} loaded`, n), this.hooks.emit("dataLoaded", n);
268
270
  });
269
271
  }
270
272
  /**
@@ -364,12 +366,12 @@ class z extends V {
364
366
  const { moveEffect: n, moveToFirstPanoEffect: s, moveToFirstPanoDuration: d } = i;
365
367
  return this.privateState.moveToFirstPanoEffect = s, this.privateState.moveToFirstPanoDuration = d, i.panoIndexList.forEach((a, o) => {
366
368
  const m = (() => {
367
- var f, y, S, k;
368
- const p = i.panoIndexList.slice(o).find((b) => b !== a);
369
- if (p === void 0)
369
+ var p, y, S, k;
370
+ const f = i.panoIndexList.slice(o).find((b) => b !== a);
371
+ if (f === void 0)
370
372
  return;
371
- const u = (f = t[a]) == null ? void 0 : f.position, h = (y = t[p]) == null ? void 0 : y.position;
372
- if (!h || !u || ((S = t[a]) == null ? void 0 : S.floorIndex) !== ((k = t[p]) == null ? void 0 : k.floorIndex))
373
+ const u = (p = t[a]) == null ? void 0 : p.position, h = (y = t[f]) == null ? void 0 : y.position;
374
+ if (!h || !u || ((S = t[a]) == null ? void 0 : S.floorIndex) !== ((k = t[f]) == null ? void 0 : k.floorIndex))
373
375
  return;
374
376
  const P = new j.Vector3().subVectors(h, u);
375
377
  return N(P.normalize());
@@ -422,23 +424,23 @@ class z extends V {
422
424
  const d = t.keyframes, a = this.getPauseData();
423
425
  (e == null ? void 0 : e.notEmitEvent) !== !0 && n.emit("play", { userAction: (u = e == null ? void 0 : e.userAction) != null ? u : !0 });
424
426
  let o = !1;
425
- const p = yield (() => v(this, null, function* () {
427
+ const f = yield (() => v(this, null, function* () {
426
428
  var h, P;
427
429
  if ((e == null ? void 0 : e.playFromIndex) !== void 0)
428
430
  return e.playFromIndex;
429
431
  if ((e == null ? void 0 : e.playFromId) !== void 0)
430
- return (h = this.data) == null ? void 0 : h.keyframes.findIndex((f) => f.id === e.playFromId);
432
+ return (h = this.data) == null ? void 0 : h.keyframes.findIndex((p) => p.id === e.playFromId);
431
433
  if (a != null && a.keyframeId) {
432
- const f = (P = this.data) == null ? void 0 : P.keyframes.find((y) => y.id === a.keyframeId);
434
+ const p = (P = this.data) == null ? void 0 : P.keyframes.find((y) => y.id === a.keyframeId);
433
435
  if (a != null && a.fiveState && (yield this.move(a.fiveState, {
434
436
  moveEffect: r.moveToFirstPanoEffect,
435
437
  duration: r.moveToFirstPanoDuration
436
- })), f) {
437
- if (f.data.effect === "Move")
438
- return f.index;
439
- if (f.data.effect === "Rotate") {
438
+ })), p) {
439
+ if (p.data.effect === "Move")
440
+ return p.index;
441
+ if (p.data.effect === "Rotate") {
440
442
  const y = a.duration !== void 0 ? a.duration * (1 - a.playedProgress) : void 0;
441
- return yield this.playKeyframe(f, { duration: y }), o = !0, f.index + 1;
443
+ return yield this.playKeyframe(p, { duration: y }), o = !0, p.index + 1;
442
444
  }
443
445
  }
444
446
  }
@@ -447,7 +449,7 @@ class z extends V {
447
449
  for (const h of d) {
448
450
  if (r.broke || !i.playing || !r.playing || s !== r.playId)
449
451
  return;
450
- if (!(p !== void 0 && h.index < p))
452
+ if (!(f !== void 0 && h.index < f))
451
453
  try {
452
454
  n.emit("playIndexChange", h.index, h), yield this.playKeyframe(h, {
453
455
  moveEffect: o === !1 ? r.moveToFirstPanoEffect : void 0,
@@ -576,11 +578,11 @@ class z extends V {
576
578
  return v(this, arguments, function* (e, t = {}) {
577
579
  const { five: r, privateState: n, state: s } = this, d = (() => {
578
580
  var u, h;
579
- const m = (u = s.config) == null ? void 0 : u.speedConfig, p = (h = e.rotateSpeed) != null ? h : m == null ? void 0 : m.rotateSpeed;
581
+ const m = (u = s.config) == null ? void 0 : u.speedConfig, f = (h = e.rotateSpeed) != null ? h : m == null ? void 0 : m.rotateSpeed;
580
582
  if ((m == null ? void 0 : m.rotateSpeedUnit) === void 0)
581
- return p;
582
- if (p !== void 0)
583
- return m.rotateSpeedUnit === "rad/ms" ? p : p / 1e3;
583
+ return f;
584
+ if (f !== void 0)
585
+ return m.rotateSpeedUnit === "rad/ms" ? f : f / 1e3;
584
586
  })(), a = (() => {
585
587
  if (t.duration)
586
588
  return t.duration;
@@ -608,8 +610,8 @@ class z extends V {
608
610
  const s = i.getCurrentState().mode !== "Panorama";
609
611
  s && (this.privateState.modeChanging = !0);
610
612
  const d = (() => {
611
- var p, u;
612
- const o = (p = n.config) == null ? void 0 : p.speedConfig, m = (u = e.moveSpeed) != null ? u : o == null ? void 0 : o.moveSpeed;
613
+ var f, u;
614
+ const o = (f = n.config) == null ? void 0 : f.speedConfig, m = (u = e.moveSpeed) != null ? u : o == null ? void 0 : o.moveSpeed;
613
615
  if ((o == null ? void 0 : o.moveSpeedUnit) === void 0)
614
616
  return m;
615
617
  if (m !== void 0)
@@ -624,13 +626,13 @@ class z extends V {
624
626
  return 800;
625
627
  })();
626
628
  r.currentPlayKeyframe && (r.currentPlayKeyframe.originDuration = a), yield new Promise((o) => {
627
- var m, p, u;
629
+ var m, f, u;
628
630
  i.moveToPano(e.panoIndex, {
629
631
  latitude: e.latitude,
630
632
  longitude: e.longitude,
631
633
  fov: e.fov,
632
634
  duration: this.getSpeededDuration(a),
633
- effect: (u = (p = t == null ? void 0 : t.moveEffect) != null ? p : (m = this.state.config) == null ? void 0 : m.moveEffect) != null ? u : e.moveEffect,
635
+ effect: (u = (f = t == null ? void 0 : t.moveEffect) != null ? f : (m = this.state.config) == null ? void 0 : m.moveEffect) != null ? u : e.moveEffect,
634
636
  moveCancelCallback: () => o(),
635
637
  moveEndCallback: () => o()
636
638
  }), s && i.once("panoArrived", () => o());
@@ -749,5 +751,5 @@ class z extends V {
749
751
  I(z, "PluginVersion", M);
750
752
  export {
751
753
  z as default,
752
- tr as pluginFlag
754
+ rr as pluginFlag
753
755
  };
@@ -1,5 +1,5 @@
1
1
  import i from "./Controller.js";
2
- import { typing as lo } from "./typing/index.js";
2
+ import { typing as Co } from "./typing/index.js";
3
3
  import "../base/BasePluginWithData.js";
4
4
  import "../base/BasePlugin.js";
5
5
  import "../shared-utils/Subscribe.js";
@@ -22,7 +22,7 @@ import "../shared-utils/three/getObjectVisible.js";
22
22
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
23
23
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
24
24
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
25
- import "../shared-utils/absoluteUrl.js";
25
+ import "../shared-utils/url/absoluteUrl.js";
26
26
  import "../GuideLinePlugin/index.js";
27
27
  import "../GuideLinePlugin/Controller.js";
28
28
  import "../shared-utils/equal.js";
@@ -72,9 +72,11 @@ import "../shared-utils/three/loadVideoTexture.js";
72
72
  import "../PanoTagPlugin/Assets/Icon.js";
73
73
  import "../shared-utils/three/getPositionsByObjectFit.js";
74
74
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
75
+ import "../shared-utils/three/getNormal.js";
75
76
  import "../shared-utils/five/FiveDomEvents.js";
76
77
  import "../PanoTagPlugin/utils/tag/adaptConfig.js";
77
78
  import "../shared-utils/typescript/entries.js";
79
+ import "../shared-utils/url/getUrl.js";
78
80
  import "../shared-utils/five/getFloorIndex.js";
79
81
  import "../shared-utils/safeObj.js";
80
82
  import "../PanoTagPlugin/Components/TagContainer.js";
@@ -166,10 +168,10 @@ import "./utils/vectorToCoordinates.js";
166
168
  import "./utils/formatRad.js";
167
169
  import "./utils/linerValue.js";
168
170
  import "./utils/sleep.js";
169
- const no = (r) => new i(r);
171
+ const uo = (r) => new i(r);
170
172
  export {
171
- no as CruisePlugin,
173
+ uo as CruisePlugin,
172
174
  i as CruisePluginController,
173
- lo as CruisePluginTypes,
174
- no as default
175
+ Co as CruisePluginTypes,
176
+ uo as default
175
177
  };
@@ -38,7 +38,7 @@ import { equal as P } from "../shared-utils/equal.js";
38
38
  import { loadTexture as k } from "../shared-utils/three/loadTexture.js";
39
39
  import { adaptPanoId as g } from "../shared-utils/five/adapt.js";
40
40
  import "../shared-utils/Subscribe.js";
41
- import "../shared-utils/absoluteUrl.js";
41
+ import "../shared-utils/url/absoluteUrl.js";
42
42
  import "../shared-utils/animationFrame/index.js";
43
43
  import "../shared-utils/positionToVector3.js";
44
44
  import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
@@ -20,7 +20,7 @@ import "../shared-utils/three/getObjectVisible.js";
20
20
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
21
21
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
22
22
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
- import "../shared-utils/absoluteUrl.js";
23
+ import "../shared-utils/url/absoluteUrl.js";
24
24
  import "../shared-utils/animationFrame/BetterTween.js";
25
25
  import "../shared-utils/animationFrame/index.js";
26
26
  import "../shared-utils/equal.js";
@@ -1,30 +1,30 @@
1
1
  var M = Object.defineProperty;
2
2
  var G = Object.getOwnPropertySymbols;
3
3
  var N = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
4
- var f = (s, o, t) => o in s ? M(s, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[o] = t, c = (s, o) => {
4
+ var f = (p, o, t) => o in p ? M(p, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : p[o] = t, c = (p, o) => {
5
5
  for (var t in o || (o = {}))
6
- N.call(o, t) && f(s, t, o[t]);
6
+ N.call(o, t) && f(p, t, o[t]);
7
7
  if (G)
8
8
  for (var t of G(o))
9
- O.call(o, t) && f(s, t, o[t]);
10
- return s;
9
+ O.call(o, t) && f(p, t, o[t]);
10
+ return p;
11
11
  };
12
- var d = (s, o, t) => (f(s, typeof o != "symbol" ? o + "" : o, t), t);
13
- var u = (s, o, t) => new Promise((i, p) => {
12
+ var d = (p, o, t) => (f(p, typeof o != "symbol" ? o + "" : o, t), t);
13
+ var u = (p, o, t) => new Promise((i, s) => {
14
14
  var a = (m) => {
15
15
  try {
16
16
  r(t.next(m));
17
17
  } catch (n) {
18
- p(n);
18
+ s(n);
19
19
  }
20
20
  }, e = (m) => {
21
21
  try {
22
22
  r(t.throw(m));
23
23
  } catch (n) {
24
- p(n);
24
+ s(n);
25
25
  }
26
26
  }, r = (m) => m.done ? i(m.value) : Promise.resolve(m.value).then(a, e);
27
- r((t = t.apply(s, o)).next());
27
+ r((t = t.apply(p, o)).next());
28
28
  });
29
29
  import { Controller as P } from "../base/BasePluginWithData.js";
30
30
  import { equal as $ } from "../shared-utils/equal.js";
@@ -52,7 +52,7 @@ import "../shared-utils/three/getObjectVisible.js";
52
52
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
53
53
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
54
54
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
55
- import "../shared-utils/absoluteUrl.js";
55
+ import "../shared-utils/url/absoluteUrl.js";
56
56
  import "../shared-utils/isTruelyObject.js";
57
57
  import "./GuideLineModeItem/index.js";
58
58
  import "../shared-utils/log.js";
@@ -97,9 +97,11 @@ import "../shared-utils/three/loadVideoTexture.js";
97
97
  import "../PanoTagPlugin/Assets/Icon.js";
98
98
  import "../shared-utils/three/getPositionsByObjectFit.js";
99
99
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
100
+ import "../shared-utils/three/getNormal.js";
100
101
  import "../shared-utils/five/FiveDomEvents.js";
101
102
  import "../PanoTagPlugin/utils/tag/adaptConfig.js";
102
103
  import "../shared-utils/typescript/entries.js";
104
+ import "../shared-utils/url/getUrl.js";
103
105
  import "../shared-utils/five/getFloorIndex.js";
104
106
  import "../shared-utils/safeObj.js";
105
107
  import "../PanoTagPlugin/Components/TagContainer.js";
@@ -193,8 +195,8 @@ import "../CruisePlugin/utils/vectorToCoordinates.js";
193
195
  import "../CruisePlugin/utils/formatRad.js";
194
196
  import "../CruisePlugin/utils/linerValue.js";
195
197
  import "../CruisePlugin/utils/sleep.js";
196
- const V = "v1.1.0", b = "GuideLinePlugin", g = `${b}@${V}`, Rr = (s) => `${g}--${s}`;
197
- class Br extends P {
198
+ const V = "v1.1.0", b = "GuideLinePlugin", g = `${b}@${V}`, Jr = (p) => `${g}--${p}`;
199
+ class qr extends P {
198
200
  constructor(t, i) {
199
201
  super(t, i);
200
202
  d(this, "version", V);
@@ -222,7 +224,7 @@ class Br extends P {
222
224
  get disposed() {
223
225
  return this._disposed;
224
226
  }
225
- load(t, i, p = !0) {
227
+ load(t, i, s = !0) {
226
228
  return u(this, null, function* () {
227
229
  var v, w, E, I, y, L, D;
228
230
  if (this.disposed)
@@ -242,7 +244,7 @@ class Br extends P {
242
244
  })) != null ? y : [], A = (D = (L = e.lines) == null ? void 0 : L.map((l) => S({}, n, l))) != null ? D : [], C = [...h, ...A];
243
245
  yield this.waitFiveLoaded(), this.clear(), C.forEach((l) => {
244
246
  this.addGuideLineItem(l);
245
- }), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: p }), this.hooks.emit("dataLoaded", e), console.debug(`${g} loaded`, e);
247
+ }), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", e), console.debug(`${g} loaded`, e);
246
248
  });
247
249
  }
248
250
  formatData(t) {
@@ -278,13 +280,13 @@ class Br extends P {
278
280
  var a;
279
281
  if (this.disposed)
280
282
  return this.disposedErrorLog();
281
- const p = c({}, this.state);
282
- this.state = c(c({}, this.state), t), t.visible !== void 0 && t.visible !== p.visible && this.handleVisible(t.visible, i == null ? void 0 : i.userAction), t.enabled !== void 0 && t.enabled !== p.enabled && this.handleEnable(t.enabled, i == null ? void 0 : i.userAction), $(p, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: p, userAction: (a = i == null ? void 0 : i.userAction) != null ? a : !0 }), this.five.needsRender = !0);
283
+ const s = c({}, this.state);
284
+ this.state = c(c({}, this.state), t), t.visible !== void 0 && t.visible !== s.visible && this.handleVisible(t.visible, i == null ? void 0 : i.userAction), t.enabled !== void 0 && t.enabled !== s.enabled && this.handleEnable(t.enabled, i == null ? void 0 : i.userAction), $(s, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (a = i == null ? void 0 : i.userAction) != null ? a : !0 }), this.five.needsRender = !0);
283
285
  }
284
286
  /** 添加一个 GuideLineItem */
285
287
  addGuideLineItem(t) {
286
- const i = t.render_id || t.id, p = this.itemMap.get(i);
287
- p && this.removeGuideLineItem(p);
288
+ const i = t.render_id || t.id, s = this.itemMap.get(i);
289
+ s && this.removeGuideLineItem(s);
288
290
  const a = new k({ five: this.five, id: i, plugin: this });
289
291
  return this.itemMap.set(i, a), t && a.setData(t), this.heightOffset += 1e-4, a.setHeightOffset(this.heightOffset), a;
290
292
  }
@@ -302,7 +304,7 @@ class Br extends P {
302
304
  function i(e) {
303
305
  return Array.isArray(e) && e.every((r) => typeof r == "number");
304
306
  }
305
- function p(e, r) {
307
+ function s(e, r) {
306
308
  return new T.Vector3().fromArray(e).distanceTo(new T.Vector3().fromArray(r)) < 0.01;
307
309
  }
308
310
  function a(e) {
@@ -310,7 +312,7 @@ class Br extends P {
310
312
  const r = (m = e.tag) == null ? void 0 : m.position;
311
313
  return i(r) ? t.every((n) => {
312
314
  var h;
313
- return i((h = n.tag) == null ? void 0 : h.position) ? !p(r, n.tag.position) : !0;
315
+ return i((h = n.tag) == null ? void 0 : h.position) ? !s(r, n.tag.position) : !0;
314
316
  }) : !1;
315
317
  }
316
318
  this.itemMap.forEach((e) => {
@@ -353,6 +355,6 @@ class Br extends P {
353
355
  }
354
356
  }
355
357
  export {
356
- Br as default,
357
- Rr as pluginFlag
358
+ qr as default,
359
+ Jr as pluginFlag
358
360
  };
@@ -4,7 +4,7 @@ import "../shared-utils/log.js";
4
4
  import "../shared-utils/to.js";
5
5
  import "@realsee/five";
6
6
  import "../shared-utils/five/changeMode.js";
7
- import { GuideLineItem as eo } from "./GuideLineItem/index.js";
7
+ import { GuideLineItem as no } from "./GuideLineItem/index.js";
8
8
  import "three";
9
9
  import "./utils/createLineGeometry.js";
10
10
  import "../vendor/polyline-normals/index.js";
@@ -57,7 +57,7 @@ import "../PanoTagPlugin/utils/planeNormal.js";
57
57
  import "../PanoTagPlugin/utils/normalPositionToPositions.js";
58
58
  import "../PanoTagPlugin/controller/TagCache.js";
59
59
  import "../base/BasePlugin.js";
60
- import "../shared-utils/absoluteUrl.js";
60
+ import "../shared-utils/url/absoluteUrl.js";
61
61
  import "../vendor/svelte/store/index.js";
62
62
  import "../vendor/svelte/internal/index.js";
63
63
  import "../shared-utils/device.js";
@@ -68,9 +68,11 @@ import "../shared-utils/three/loadVideoTexture.js";
68
68
  import "../PanoTagPlugin/Assets/Icon.js";
69
69
  import "../shared-utils/three/getPositionsByObjectFit.js";
70
70
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
71
+ import "../shared-utils/three/getNormal.js";
71
72
  import "../shared-utils/five/FiveDomEvents.js";
72
73
  import "../PanoTagPlugin/utils/tag/adaptConfig.js";
73
74
  import "../shared-utils/typescript/entries.js";
75
+ import "../shared-utils/url/getUrl.js";
74
76
  import "../shared-utils/five/getFloorIndex.js";
75
77
  import "../shared-utils/safeObj.js";
76
78
  import "../PanoTagPlugin/Components/TagContainer.js";
@@ -166,5 +168,5 @@ import "../CruisePlugin/utils/formatRad.js";
166
168
  import "../CruisePlugin/utils/linerValue.js";
167
169
  import "../CruisePlugin/utils/sleep.js";
168
170
  export {
169
- eo as GuideLineItem
171
+ no as GuideLineItem
170
172
  };
@@ -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 Si } from "./GuideLineModeItem/index.js";
16
+ import { GuideLineModeItem as Ui } 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";
@@ -55,7 +55,7 @@ import "../PanoTagPlugin/utils/planeNormal.js";
55
55
  import "../PanoTagPlugin/utils/normalPositionToPositions.js";
56
56
  import "../PanoTagPlugin/controller/TagCache.js";
57
57
  import "../base/BasePlugin.js";
58
- import "../shared-utils/absoluteUrl.js";
58
+ import "../shared-utils/url/absoluteUrl.js";
59
59
  import "../vendor/svelte/store/index.js";
60
60
  import "../vendor/svelte/internal/index.js";
61
61
  import "../shared-utils/device.js";
@@ -66,9 +66,11 @@ import "../shared-utils/three/loadVideoTexture.js";
66
66
  import "../PanoTagPlugin/Assets/Icon.js";
67
67
  import "../shared-utils/three/getPositionsByObjectFit.js";
68
68
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
69
+ import "../shared-utils/three/getNormal.js";
69
70
  import "../shared-utils/five/FiveDomEvents.js";
70
71
  import "../PanoTagPlugin/utils/tag/adaptConfig.js";
71
72
  import "../shared-utils/typescript/entries.js";
73
+ import "../shared-utils/url/getUrl.js";
72
74
  import "../shared-utils/five/getFloorIndex.js";
73
75
  import "../shared-utils/safeObj.js";
74
76
  import "../PanoTagPlugin/Components/TagContainer.js";
@@ -149,5 +151,5 @@ import "../shared-utils/three/GLTFLoader.js";
149
151
  import "@realsee/five/gltf-loader";
150
152
  import "../shared-utils/five/fiveModelLoad.js";
151
153
  export {
152
- Si as GuideLineModeItem
154
+ Ui as GuideLineModeItem
153
155
  };
@@ -1,6 +1,6 @@
1
1
  import t from "./Controller.js";
2
- import { GuideLineItem$1 as Gt } from "./GuideLineItem/index.js";
3
- import { GuideLineModeItem$1 as at } from "./GuideLineModeItem/index.js";
2
+ import { GuideLineItem$1 as at } from "./GuideLineItem/index.js";
3
+ import { GuideLineModeItem$1 as lt } from "./GuideLineModeItem/index.js";
4
4
  import "../base/BasePluginWithData.js";
5
5
  import "../base/BasePlugin.js";
6
6
  import "../shared-utils/Subscribe.js";
@@ -23,7 +23,7 @@ import "../shared-utils/three/getObjectVisible.js";
23
23
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
24
24
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
25
25
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
26
- import "../shared-utils/absoluteUrl.js";
26
+ import "../shared-utils/url/absoluteUrl.js";
27
27
  import "../shared-utils/equal.js";
28
28
  import "../shared-utils/isTruelyObject.js";
29
29
  import "../CruisePlugin/Controller.js";
@@ -79,9 +79,11 @@ import "../shared-utils/three/loadVideoTexture.js";
79
79
  import "../PanoTagPlugin/Assets/Icon.js";
80
80
  import "../shared-utils/three/getPositionsByObjectFit.js";
81
81
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
82
+ import "../shared-utils/three/getNormal.js";
82
83
  import "../shared-utils/five/FiveDomEvents.js";
83
84
  import "../PanoTagPlugin/utils/tag/adaptConfig.js";
84
85
  import "../shared-utils/typescript/entries.js";
86
+ import "../shared-utils/url/getUrl.js";
85
87
  import "../shared-utils/five/getFloorIndex.js";
86
88
  import "../shared-utils/safeObj.js";
87
89
  import "../PanoTagPlugin/Components/TagContainer.js";
@@ -165,10 +167,10 @@ import "./utils/index.js";
165
167
  import "../shared-utils/to.js";
166
168
  import "../shared-utils/five/changeMode.js";
167
169
  import "../shared-utils/nearlyEqual.js";
168
- const nt = (i, o) => new t(i, o);
170
+ const ut = (i, o) => new t(i, o);
169
171
  export {
170
- Gt as GuideLineItem,
171
- at as GuideLineModeItem,
172
- nt as GuideLinePlugin,
173
- nt as default
172
+ at as GuideLineItem,
173
+ lt as GuideLineModeItem,
174
+ ut as GuideLinePlugin,
175
+ ut as default
174
176
  };
@@ -40,7 +40,7 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
40
40
  import "hammerjs";
41
41
  import "@realsee/five";
42
42
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
43
- import "../shared-utils/absoluteUrl.js";
43
+ import "../shared-utils/url/absoluteUrl.js";
44
44
  const de = (s, { videoElement: g }) => {
45
45
  const e = {
46
46
  videoMeshes: [],
@@ -24,7 +24,7 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
24
24
  import "hammerjs";
25
25
  import "@realsee/five";
26
26
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
27
- import "../shared-utils/absoluteUrl.js";
27
+ import "../shared-utils/url/absoluteUrl.js";
28
28
  import "../PanoTagPlugin/Assets/Icon.js";
29
29
  export {
30
30
  j as DIRECTION,
@@ -47,7 +47,7 @@ import { ScaleController as A } from "../shared-utils/Object3DHelper/Controller/
47
47
  import "../shared-utils/Subscribe.js";
48
48
  import "hammerjs";
49
49
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
50
- import "../shared-utils/absoluteUrl.js";
50
+ import "../shared-utils/url/absoluteUrl.js";
51
51
  import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
52
52
  import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
53
53
  import "../shared-utils/three/IObject3D.js";
@@ -21,7 +21,7 @@ import "../shared-utils/three/getObjectVisible.js";
21
21
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
22
22
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
23
23
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
24
- import "../shared-utils/absoluteUrl.js";
24
+ import "../shared-utils/url/absoluteUrl.js";
25
25
  import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
26
26
  import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
27
27
  import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
@@ -52,7 +52,7 @@ import "../shared-utils/three/getObjectVisible.js";
52
52
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
53
53
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
54
54
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
55
- import "../shared-utils/absoluteUrl.js";
55
+ import "../shared-utils/url/absoluteUrl.js";
56
56
  import "./Assets/roomInfoIcon.js";
57
57
  import "../CSS3DRenderPlugin/Controller.js";
58
58
  import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
@@ -21,7 +21,7 @@ import "../shared-utils/three/getObjectVisible.js";
21
21
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
22
22
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
23
23
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
24
- import "../shared-utils/absoluteUrl.js";
24
+ import "../shared-utils/url/absoluteUrl.js";
25
25
  import "./getRoomInfoInstance.js";
26
26
  import "./Assets/roomInfoIcon.js";
27
27
  import "../shared-utils/three/loadTexture.js";
@@ -32,7 +32,7 @@ import "../shared-utils/three/getObjectVisible.js";
32
32
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
33
33
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
34
34
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
35
- import "../shared-utils/absoluteUrl.js";
35
+ import "../shared-utils/url/absoluteUrl.js";
36
36
  class J extends c {
37
37
  constructor(t) {
38
38
  super(t);
@@ -35,7 +35,7 @@ import "../shared-utils/three/getObjectVisible.js";
35
35
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
36
36
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
37
37
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
38
- import "../shared-utils/absoluteUrl.js";
38
+ import "../shared-utils/url/absoluteUrl.js";
39
39
  import "../vendor/svelte/internal/index.js";
40
40
  import "../vendor/classnames/index.js";
41
41
  const ee = { userAction: !0 };
@@ -21,7 +21,7 @@ import "../shared-utils/three/getObjectVisible.js";
21
21
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
22
22
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
23
23
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
24
- import "../shared-utils/absoluteUrl.js";
24
+ import "../shared-utils/url/absoluteUrl.js";
25
25
  import "./DoorLabelItem.js";
26
26
  import "../vendor/svelte/internal/index.js";
27
27
  import "../vendor/classnames/index.js";
@@ -55,7 +55,7 @@ import "../Modules/rangePiece/html.js";
55
55
  import "../../CSS3DRenderPlugin/index.js";
56
56
  import "../../CSS3DRenderPlugin/Controller.js";
57
57
  import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
58
- import "../../shared-utils/absoluteUrl.js";
58
+ import "../../shared-utils/url/absoluteUrl.js";
59
59
  import "../../shared-utils/animationFrame/BetterTween.js";
60
60
  import "../../shared-utils/animationFrame/index.js";
61
61
  import "../../shared-utils/isTouchDevice.js";