@realsee/dnalogel 3.0.0-dev.0 → 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 +2013 -2002
  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 +14 -12
  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
@@ -59,7 +59,7 @@ import "../Modules/rangePiece/html.js";
59
59
  import "../../CSS3DRenderPlugin/index.js";
60
60
  import "../../CSS3DRenderPlugin/Controller.js";
61
61
  import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
62
- import "../../shared-utils/absoluteUrl.js";
62
+ import "../../shared-utils/url/absoluteUrl.js";
63
63
  import "../../shared-utils/animationFrame/BetterTween.js";
64
64
  import "../../shared-utils/animationFrame/index.js";
65
65
  import "../../shared-utils/isTouchDevice.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";
@@ -61,7 +61,7 @@ import "../Modules/rangePiece/html.js";
61
61
  import "../../CSS3DRenderPlugin/index.js";
62
62
  import "../../CSS3DRenderPlugin/Controller.js";
63
63
  import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
64
- import "../../shared-utils/absoluteUrl.js";
64
+ import "../../shared-utils/url/absoluteUrl.js";
65
65
  import "../../shared-utils/positionToVector3.js";
66
66
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
67
67
  import "three/examples/jsm/renderers/CSS3DRenderer";
@@ -65,7 +65,7 @@ import "../rangePiece/html.js";
65
65
  import "../../../CSS3DRenderPlugin/index.js";
66
66
  import "../../../CSS3DRenderPlugin/Controller.js";
67
67
  import "../../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
68
- import "../../../shared-utils/absoluteUrl.js";
68
+ import "../../../shared-utils/url/absoluteUrl.js";
69
69
  import "../../../shared-utils/animationFrame/BetterTween.js";
70
70
  import "../../../shared-utils/animationFrame/index.js";
71
71
  import "../../../shared-utils/isTouchDevice.js";
@@ -54,7 +54,7 @@ import "./Modules/rangePiece/html.js";
54
54
  import "../CSS3DRenderPlugin/index.js";
55
55
  import "../CSS3DRenderPlugin/Controller.js";
56
56
  import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
57
- import "../shared-utils/absoluteUrl.js";
57
+ import "../shared-utils/url/absoluteUrl.js";
58
58
  import "../shared-utils/animationFrame/BetterTween.js";
59
59
  import "../shared-utils/animationFrame/index.js";
60
60
  import "../shared-utils/isTouchDevice.js";
@@ -25,7 +25,7 @@ import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
25
25
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
26
26
  import "hammerjs";
27
27
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
28
- import "../shared-utils/absoluteUrl.js";
28
+ import "../shared-utils/url/absoluteUrl.js";
29
29
  import "../vendor/svelte/internal/index.js";
30
30
  import "./store.js";
31
31
  import "../vendor/svelte/store/index.js";
@@ -22,7 +22,7 @@ import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
22
22
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
23
  import "hammerjs";
24
24
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
25
- import "../shared-utils/absoluteUrl.js";
25
+ import "../shared-utils/url/absoluteUrl.js";
26
26
  import "./Components/origins.js";
27
27
  import "../vendor/svelte/internal/index.js";
28
28
  import "./store.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
  class F extends l {
27
27
  constructor(t) {
28
28
  super(t);
@@ -45,7 +45,7 @@ import "../utils/planeNormal.js";
45
45
  import "../utils/normalPositionToPositions.js";
46
46
  import "./TagCache.js";
47
47
  import "../../base/BasePlugin.js";
48
- import "../../shared-utils/absoluteUrl.js";
48
+ import "../../shared-utils/url/absoluteUrl.js";
49
49
  import "../../vendor/svelte/store/index.js";
50
50
  import "../../vendor/svelte/internal/index.js";
51
51
  import "../../shared-utils/device.js";
@@ -57,11 +57,13 @@ import "../../shared-utils/three/loadVideoTexture.js";
57
57
  import "../Assets/Icon.js";
58
58
  import "../../shared-utils/three/getPositionsByObjectFit.js";
59
59
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
60
+ import "../../shared-utils/three/getNormal.js";
60
61
  import "../../shared-utils/five/FiveDomEvents.js";
61
62
  import "../utils/tag/adaptConfig.js";
62
63
  import "../../shared-utils/typescript/entries.js";
64
+ import "../../shared-utils/url/getUrl.js";
63
65
  const T = new F.Raycaster();
64
- class We extends q {
66
+ class Ge extends q {
65
67
  constructor(e) {
66
68
  super(e);
67
69
  }
@@ -326,5 +328,5 @@ class We extends q {
326
328
  }
327
329
  }
328
330
  export {
329
- We as TagComputer
331
+ Ge as TagComputer
330
332
  };
@@ -65,13 +65,14 @@ import "../utils/planeNormal.js";
65
65
  import "../utils/normalPositionToPositions.js";
66
66
  import "./TagCache.js";
67
67
  import "../../base/BasePlugin.js";
68
- import "../../shared-utils/absoluteUrl.js";
68
+ import "../../shared-utils/url/absoluteUrl.js";
69
69
  import "../../vendor/svelte/store/index.js";
70
70
  import "../../vendor/svelte/internal/index.js";
71
71
  import "../../shared-utils/device.js";
72
72
  import "../../shared-utils/five/FiveDomEvents.js";
73
73
  import "../utils/tag/adaptConfig.js";
74
74
  import "../../shared-utils/typescript/entries.js";
75
+ import "../../shared-utils/url/getUrl.js";
75
76
  import "../../shared-utils/five/getFloorIndex.js";
76
77
  import "../../shared-utils/safeObj.js";
77
78
  import "../../shared-utils/three/loadTexture.js";
@@ -81,6 +82,7 @@ import "../../shared-utils/three/loadVideoTexture.js";
81
82
  import "../Assets/Icon.js";
82
83
  import "../../shared-utils/three/getPositionsByObjectFit.js";
83
84
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
85
+ import "../../shared-utils/three/getNormal.js";
84
86
  import "../Components/TagItem.js";
85
87
  import "../utils/noTypecheck.js";
86
88
  import "../Components/Common/TagPoint.js";
@@ -155,7 +157,7 @@ import "../../CSS3DRenderPlugin/Controller.js";
155
157
  import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
156
158
  import "@realsee/five/gltf-loader";
157
159
  const B = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map();
158
- class pi extends O {
160
+ class hi extends O {
159
161
  constructor(t) {
160
162
  super(t);
161
163
  b(this, "group", new R());
@@ -462,5 +464,5 @@ class pi extends O {
462
464
  }
463
465
  }
464
466
  export {
465
- pi as TagRender
467
+ hi as TagRender
466
468
  };
@@ -1,42 +1,43 @@
1
- var z = Object.defineProperty, H = Object.defineProperties;
2
- var J = Object.getOwnPropertyDescriptors;
1
+ var H = Object.defineProperty, J = Object.defineProperties;
2
+ var U = Object.getOwnPropertyDescriptors;
3
3
  var F = Object.getOwnPropertySymbols;
4
- var _ = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
5
- var k = (a, r, e) => r in a ? z(a, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[r] = e, C = (a, r) => {
4
+ var _ = Object.prototype.hasOwnProperty, X = Object.prototype.propertyIsEnumerable;
5
+ var k = (a, r, e) => r in a ? H(a, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[r] = e, C = (a, r) => {
6
6
  for (var e in r || (r = {}))
7
7
  _.call(r, e) && k(a, e, r[e]);
8
8
  if (F)
9
9
  for (var e of F(r))
10
- U.call(r, e) && k(a, e, r[e]);
10
+ X.call(r, e) && k(a, e, r[e]);
11
11
  return a;
12
- }, L = (a, r) => H(a, J(r));
12
+ }, L = (a, r) => J(a, U(r));
13
13
  var d = (a, r, e) => (k(a, typeof r != "symbol" ? r + "" : r, e), e);
14
- import { defaultGlobalConfig as X } from "../typings/tag/TagConfig.js";
14
+ import { defaultGlobalConfig as q } from "../typings/tag/TagConfig.js";
15
15
  import { objectAssignDeepExports as b } from "../../vendor/object-assign-deep/objectAssignDeep.js";
16
- import * as q from "three";
17
- import { DefaultConfig as K } from "../tag.config.js";
18
- import { anyPositionToVector3 as Q, arrayPositionToVector3 as w } from "../../shared-utils/positionToVector3.js";
16
+ import * as K from "three";
17
+ import { DefaultConfig as Q } from "../tag.config.js";
18
+ import { anyPositionToVector3 as Y, arrayPositionToVector3 as w } from "../../shared-utils/positionToVector3.js";
19
19
  import { planeNormal as E } from "../utils/planeNormal.js";
20
- import { getTagCenterPosition as R } from "../utils/tagPosition.js";
21
- import { normalPositionToPositions as Y } from "../utils/normalPositionToPositions.js";
22
- import { TagCache as Z } from "./TagCache.js";
23
- import { writable as ee } from "../../vendor/svelte/store/index.js";
24
- import { isIOSWX as ie } from "../../shared-utils/device.js";
25
- import { Five as te } from "@realsee/five";
26
- import { isMediaPlaneTag as oe, isMediaModelTag as x, isPlaneTag as ne, isPoint3DTag as re } from "../utils/tag/tagCheck.js";
27
- import { VideoPlane as se } from "../utils/model/mediaPlane.js";
28
- import { FiveDomEvents as fe } from "../../shared-utils/five/FiveDomEvents.js";
29
- import B from "../utils/tag/adaptConfig.js";
20
+ import { getTagCenterPosition as x } from "../utils/tagPosition.js";
21
+ import { normalPositionToPositions as Z } from "../utils/normalPositionToPositions.js";
22
+ import { TagCache as ee } from "./TagCache.js";
23
+ import { writable as ie } from "../../vendor/svelte/store/index.js";
24
+ import { isIOSWX as te } from "../../shared-utils/device.js";
25
+ import { Five as oe } from "@realsee/five";
26
+ import { isMediaPlaneTag as ne, isMediaModelTag as B, isPlaneTag as re, isPoint3DTag as se } from "../utils/tag/tagCheck.js";
27
+ import { VideoPlane as fe } from "../utils/model/mediaPlane.js";
28
+ import { FiveDomEvents as ae } from "../../shared-utils/five/FiveDomEvents.js";
29
+ import R from "../utils/tag/adaptConfig.js";
30
30
  import { isPanoramaLike as W, isModelLike as N } from "../../shared-utils/five/mode.js";
31
31
  import "hammerjs";
32
32
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
33
33
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
34
34
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
35
35
  import { entries as G } from "../../shared-utils/typescript/entries.js";
36
+ import { getUrlExt as $ } from "../../shared-utils/url/getUrl.js";
36
37
  import "../../shared-utils/three/centerPoint.js";
37
38
  import "../../base/BasePlugin.js";
38
39
  import "../../shared-utils/Subscribe.js";
39
- import "../../shared-utils/absoluteUrl.js";
40
+ import "../../shared-utils/url/absoluteUrl.js";
40
41
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
41
42
  import "three/examples/jsm/renderers/CSS3DRenderer";
42
43
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
@@ -56,12 +57,13 @@ import "../../shared-utils/three/loadVideoTexture.js";
56
57
  import "../Assets/Icon.js";
57
58
  import "../../shared-utils/three/getPositionsByObjectFit.js";
58
59
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
59
- class Ze extends Z {
60
+ import "../../shared-utils/three/getNormal.js";
61
+ class ti extends ee {
60
62
  constructor(e) {
61
63
  super(e);
62
64
  d(this, "tags", []);
63
- d(this, "config", K);
64
- d(this, "mediaStore", ee({
65
+ d(this, "config", Q);
66
+ d(this, "mediaStore", ie({
65
67
  currentMediaElement: null
66
68
  }));
67
69
  /** css3DRenderPlugin */
@@ -72,10 +74,10 @@ class Ze extends Z {
72
74
  resizeObserverDisposerAdding: !1,
73
75
  css3DRenderDisposer: /* @__PURE__ */ new Map()
74
76
  });
75
- d(this, "domEvents", new fe(this.five));
77
+ d(this, "domEvents", new ae(this.five));
76
78
  d(this, "mouseInfo");
77
79
  d(this, "loadVideoFirstFrame", () => {
78
- ie && this.hooks.emit("loadVideoFirstFrame");
80
+ te && this.hooks.emit("loadVideoFirstFrame");
79
81
  });
80
82
  d(this, "preventWhenMouseDown", () => {
81
83
  var e;
@@ -85,7 +87,7 @@ class Ze extends Z {
85
87
  this.five.on("wantsMoveToPano", this.preventWhenMouseDown), this.five.on("wantsTapGesture", this.preventWhenMouseDown), this.mediaStore.subscribe(({ currentMediaElement: i }) => {
86
88
  this.tags.forEach((o) => {
87
89
  var t;
88
- if (o.mediaPlane instanceof se && i !== o.mediaPlane.videoInstance) {
90
+ if (o.mediaPlane instanceof fe && i !== o.mediaPlane.videoInstance) {
89
91
  if (!((t = o.mediaPlane.videoInstance) != null && t.src) || i === o.mediaPlane.videoInstance)
90
92
  return;
91
93
  o.mediaPlane.pause();
@@ -157,11 +159,15 @@ class Ze extends Z {
157
159
  return;
158
160
  const t = e.data.mediaData;
159
161
  if (!(!t || t.length === 0) && o.renderType === "Mesh") {
160
- if (oe(e)) {
161
- if (t.length === 1 && (t[0].type === "Image" || t[0].type === "Video"))
162
- return "Mesh";
163
- } else if (x(e))
164
- return t.length === 1 && t[0].type === "Image" ? "Mesh" : "BehindDom";
162
+ if (ne(e)) {
163
+ if (t.length === 1) {
164
+ if (t[0].type === "Video")
165
+ return "Mesh";
166
+ if (t[0].type === "Image")
167
+ return $(t[0].url) === "gif" ? "BehindDom" : "Mesh";
168
+ }
169
+ } else if (B(e))
170
+ return t.length === 1 && t[0].type === "Image" ? $(t[0].url) === "gif" ? "BehindDom" : "Mesh" : "BehindDom";
165
171
  }
166
172
  })();
167
173
  return i != null ? i : "Dom";
@@ -181,13 +187,13 @@ class Ze extends Z {
181
187
  const f = (n = (s = this.five.work) == null ? void 0 : s.observers[o]) == null ? void 0 : n.position;
182
188
  if (f === void 0)
183
189
  throw new Error(`getAngle(): observerPosition is ${f}`);
184
- const l = (() => e.stickType === "3DPoint" ? Q(e.normal) : E(e.position))();
185
- if (!l)
190
+ const c = (() => e.stickType === "3DPoint" ? Y(e.normal) : E(e.position))();
191
+ if (!c)
186
192
  return;
187
- const g = R(e);
193
+ const g = x(e);
188
194
  if (!g)
189
195
  return;
190
- const u = new q.Vector3().copy(f).sub(g), v = l.angleTo(u) * 180 / Math.PI;
196
+ const u = new K.Vector3().copy(f).sub(g), v = c.angleTo(u) * 180 / Math.PI;
191
197
  return t.angle = v, t.angle;
192
198
  }
193
199
  }
@@ -195,15 +201,15 @@ class Ze extends Z {
195
201
  * @description: 获取距离
196
202
  */
197
203
  getDistance(e, i) {
198
- var l, g;
204
+ var c, g;
199
205
  const o = C(C({}, this.five.getCurrentState()), i), { panoIndex: t, mode: s } = o, n = W(s) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
200
206
  if ((n == null ? void 0 : n.distance) !== void 0)
201
207
  return n.distance;
202
- const f = R(e);
208
+ const f = x(e);
203
209
  if (!f)
204
210
  return -1;
205
211
  if (W(s)) {
206
- const u = (g = (l = this.five.work) == null ? void 0 : l.observers[t]) == null ? void 0 : g.position;
212
+ const u = (g = (c = this.five.work) == null ? void 0 : c.observers[t]) == null ? void 0 : g.position;
207
213
  if (u === void 0)
208
214
  return -1;
209
215
  const v = u.distanceTo(f);
@@ -213,12 +219,12 @@ class Ze extends Z {
213
219
  return this.five.camera.position.distanceTo(f);
214
220
  }
215
221
  getPositions(e) {
216
- if (ne(e))
222
+ if (re(e))
217
223
  return e.position;
218
- if (x(e))
224
+ if (B(e))
219
225
  return e.data.mediaPosition;
220
- if (re(e))
221
- return Y(this.five.camera.position, w(e.position), w(e.normal));
226
+ if (se(e))
227
+ return Z(this.five.camera.position, w(e.position), w(e.normal));
222
228
  }
223
229
  addObjectClickHandler(e, i, o) {
224
230
  if (!i || !this.domEvents)
@@ -285,43 +291,43 @@ class Ze extends Z {
285
291
  const t = {}, s = {}, n = {};
286
292
  this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([p, h]) => {
287
293
  var I, O;
288
- const c = p, D = c.split("-"), S = p.startsWith("["), y = S ? D[0].slice(1, -1) : void 0, T = S ? D.slice(1) : D, M = y ? ["PanoramaLike", "ModelLike"].includes(y) ? (I = s[y]) != null ? I : s[y] = {} : (O = n[y]) != null ? O : n[y] = {} : t;
289
- if (!M[c]) {
290
- if (T.length === 0 && (M[c] = h), T.length === 1) {
294
+ const l = p, D = l.split("-"), S = p.startsWith("["), y = S ? D[0].slice(1, -1) : void 0, T = S ? D.slice(1) : D, M = y ? ["PanoramaLike", "ModelLike"].includes(y) ? (I = s[y]) != null ? I : s[y] = {} : (O = n[y]) != null ? O : n[y] = {} : t;
295
+ if (!M[l]) {
296
+ if (T.length === 0 && (M[l] = h), T.length === 1) {
291
297
  const [m] = T;
292
- (e.contentType === m || m === "Any") && (M[c] = h);
298
+ (e.contentType === m || m === "Any") && (M[l] = h);
293
299
  }
294
300
  if (T.length === 2) {
295
301
  const [m = "Any", P = "Any"] = T;
296
- m === "Mixin" && e.contentType === P && (M[c] = h), (e.stickType === m || m === "Any") && (e.contentType === P || P === "Any") && (M[c] = h);
302
+ m === "Mixin" && e.contentType === P && (M[l] = h), (e.stickType === m || m === "Any") && (e.contentType === P || P === "Any") && (M[l] = h);
297
303
  }
298
304
  if (T.length === 3) {
299
- const [m = "Any", P, $] = T;
305
+ const [m = "Any", P, z] = T;
300
306
  if (P === "Audio" && e.contentType === "Audio") {
301
307
  const V = e;
302
- (V.stickType === m || m === "Any") && V.data.appearance === $ && (M[c] = h);
308
+ (V.stickType === m || m === "Any") && V.data.appearance === z && (M[l] = h);
303
309
  }
304
310
  }
305
311
  }
306
312
  });
307
313
  const f = b(
308
314
  {},
309
- X,
315
+ q,
310
316
  this.config.globalConfig,
311
317
  ...Object.values(t),
312
318
  e.config
313
- ), l = {}, g = Object.values(te.Mode);
319
+ ), c = {}, g = Object.values(oe.Mode);
314
320
  G(s).forEach(([p, h]) => {
315
- g.forEach((c) => {
316
- (p === "PanoramaLike" && W(c) || p === "ModelLike" && N(c)) && (l[c] = b({}, f, ...Object.values(h)));
321
+ g.forEach((l) => {
322
+ (p === "PanoramaLike" && W(l) || p === "ModelLike" && N(l)) && (c[l] = b({}, f, ...Object.values(h)));
317
323
  });
318
324
  }), G(n).forEach(([p, h]) => {
319
- l[p] = b({}, f, ...Object.values(h));
325
+ c[p] = b({}, f, ...Object.values(h));
320
326
  });
321
- const u = L(C({}, f), { configWithFiveMode: l });
322
- return B(u, e), Object.values(l).forEach((p) => B(p, e)), u._isMerged = !0, u;
327
+ const u = L(C({}, f), { configWithFiveMode: c });
328
+ return R(u, e), Object.values(c).forEach((p) => R(p, e)), u._isMerged = !0, u;
323
329
  }
324
330
  }
325
331
  export {
326
- Ze as TagUtil
332
+ ti as TagUtil
327
333
  };
@@ -30,9 +30,9 @@ var p = (d, a, e) => new Promise((t, i) => {
30
30
  import * as y from "three";
31
31
  import { Subscribe as F } from "@realsee/five";
32
32
  import { objectAssignDeepExports as f } from "../../vendor/object-assign-deep/objectAssignDeep.js";
33
- import { addDebugPoints as R } from "../utils/addDebugPoints.js";
33
+ import { addDebugPoints as k } from "../utils/addDebugPoints.js";
34
34
  import { arrayPositionToVector3 as A } from "../../shared-utils/positionToVector3.js";
35
- import { isMediaModelTag as k, isModelTag as M } from "../utils/tag/tagCheck.js";
35
+ import { isMediaModelTag as M, isModelTag as R } from "../utils/tag/tagCheck.js";
36
36
  import { debounce as _ } from "../utils/debounce.js";
37
37
  import { throttle as O } from "../utils/throttle.js";
38
38
  import { resizeObserver as D } from "../utils/resizeObserver.js";
@@ -60,7 +60,7 @@ import "../utils/normalPositionToPositions.js";
60
60
  import "./TagCache.js";
61
61
  import "../../base/BasePlugin.js";
62
62
  import "../../shared-utils/Subscribe.js";
63
- import "../../shared-utils/absoluteUrl.js";
63
+ import "../../shared-utils/url/absoluteUrl.js";
64
64
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
65
65
  import "three/examples/jsm/renderers/CSS3DRenderer";
66
66
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
@@ -83,9 +83,11 @@ import "../../shared-utils/three/loadVideoTexture.js";
83
83
  import "../Assets/Icon.js";
84
84
  import "../../shared-utils/three/getPositionsByObjectFit.js";
85
85
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
86
+ import "../../shared-utils/three/getNormal.js";
86
87
  import "../../shared-utils/five/FiveDomEvents.js";
87
88
  import "../utils/tag/adaptConfig.js";
88
89
  import "../../shared-utils/typescript/entries.js";
90
+ import "../../shared-utils/url/getUrl.js";
89
91
  import "../../shared-utils/five/getFloorIndex.js";
90
92
  import "../../shared-utils/safeObj.js";
91
93
  import "../Components/TagContainer.js";
@@ -164,8 +166,8 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
164
166
  import "../../shared-utils/three/GLTFLoader.js";
165
167
  import "@realsee/five/gltf-loader";
166
168
  import "../../shared-utils/animationFrame/index.js";
167
- const P = "Dnalogel-PanoTagPlugin", yi = (d) => `${P}--${d}`;
168
- class Ci extends N {
169
+ const P = "Dnalogel-PanoTagPlugin", Ai = (d) => `${P}--${d}`;
170
+ class Di extends N {
169
171
  constructor(e, t) {
170
172
  super(e);
171
173
  /** state */
@@ -198,7 +200,7 @@ class Ci extends N {
198
200
  l(this, "updateVisible", () => {
199
201
  const e = this.five.getCurrentState().mode;
200
202
  this.tags.forEach((t) => {
201
- k(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
203
+ M(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
202
204
  }), this.setVisible(), this.updateRenderAllTags();
203
205
  });
204
206
  l(this, "handleFiveWantsMoveToPano", (e) => {
@@ -241,7 +243,7 @@ class Ci extends N {
241
243
  var e, t, i;
242
244
  this.setVisible(), yield this.setVisibleAndUnfolded(), this.tags.forEach((s) => {
243
245
  s.temporaryState = T(c({}, s.temporaryState), { visible: !0 });
244
- }), (i = (t = (e = this.config) == null ? void 0 : e.globalConfig) == null ? void 0 : t.modelConfig) != null && i.autoLookAtEnabled && this.tags.filter(M).filter((s) => {
246
+ }), (i = (t = (e = this.config) == null ? void 0 : e.globalConfig) == null ? void 0 : t.modelConfig) != null && i.autoLookAtEnabled && this.tags.filter(R).filter((s) => {
245
247
  var o, n;
246
248
  return (n = (o = s.config) == null ? void 0 : o.modelConfig) == null ? void 0 : n.autoLookAtEnabled;
247
249
  }).forEach((s) => {
@@ -285,7 +287,7 @@ class Ci extends N {
285
287
  const i = yield this.addTag(e.tagList, t);
286
288
  if (this.debug)
287
289
  try {
288
- R(this.five, this.tags);
290
+ k(this.five, this.tags);
289
291
  } catch (n) {
290
292
  console.error(n);
291
293
  }
@@ -321,7 +323,7 @@ class Ci extends N {
321
323
  }).filter((o) => o.position);
322
324
  return s.forEach(V), this.tags.push(...s), W(this.five).then(() => p(this, null, function* () {
323
325
  var o, n, r;
324
- this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(s), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 }).then(() => this.updateRenderAllTags()), this.updateRenderAllTags();
326
+ this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(s), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 }), this.updatePointTagPosition(), this.updateRenderAllTags();
325
327
  }));
326
328
  });
327
329
  }
@@ -532,7 +534,7 @@ class Ci extends N {
532
534
  }
533
535
  }
534
536
  export {
535
- Ci as PanoTagPluginController,
536
- Ci as default,
537
- yi as pluginFlag
537
+ Di as PanoTagPluginController,
538
+ Di as default,
539
+ Ai as pluginFlag
538
540
  };
@@ -1,7 +1,7 @@
1
1
  import r from "./controller/index.js";
2
- import { pluginFlag as It } from "./controller/index.js";
3
- import { defaultGlobalConfig as Kt } from "./typings/tag/TagConfig.js";
4
- import { ContentType as Mt, DimensionType as Nt, PointType as Ot } from "./Archive/deprecated.js";
2
+ import { pluginFlag as Kt } from "./controller/index.js";
3
+ import { defaultGlobalConfig as Mt } from "./typings/tag/TagConfig.js";
4
+ import { ContentType as Ot, DimensionType as Qt, PointType as Rt } from "./Archive/deprecated.js";
5
5
  import "three";
6
6
  import "@realsee/five";
7
7
  import "../vendor/object-assign-deep/objectAssignDeep.js";
@@ -42,7 +42,7 @@ import "./utils/planeNormal.js";
42
42
  import "./utils/normalPositionToPositions.js";
43
43
  import "./controller/TagCache.js";
44
44
  import "../base/BasePlugin.js";
45
- import "../shared-utils/absoluteUrl.js";
45
+ import "../shared-utils/url/absoluteUrl.js";
46
46
  import "../vendor/svelte/store/index.js";
47
47
  import "../vendor/svelte/internal/index.js";
48
48
  import "../shared-utils/device.js";
@@ -54,9 +54,11 @@ import "../shared-utils/three/loadVideoTexture.js";
54
54
  import "./Assets/Icon.js";
55
55
  import "../shared-utils/three/getPositionsByObjectFit.js";
56
56
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
57
+ import "../shared-utils/three/getNormal.js";
57
58
  import "../shared-utils/five/FiveDomEvents.js";
58
59
  import "./utils/tag/adaptConfig.js";
59
60
  import "../shared-utils/typescript/entries.js";
61
+ import "../shared-utils/url/getUrl.js";
60
62
  import "../shared-utils/five/getFloorIndex.js";
61
63
  import "../shared-utils/safeObj.js";
62
64
  import "./Components/TagContainer.js";
@@ -138,14 +140,14 @@ import "@realsee/five/gltf-loader";
138
140
  import "../shared-utils/animationFrame/BetterTween.js";
139
141
  import "../shared-utils/animationFrame/index.js";
140
142
  import "../shared-utils/five/fiveModelLoad.js";
141
- const Bt = (o, t) => new r(o, t);
143
+ const Ht = (o, t) => new r(o, t);
142
144
  export {
143
- Mt as ContentType,
144
- Nt as DimensionType,
145
- Bt as PanoTagPlugin,
145
+ Ot as ContentType,
146
+ Qt as DimensionType,
147
+ Ht as PanoTagPlugin,
146
148
  r as PanoTagPluginController,
147
- Ot as PointType,
148
- Bt as default,
149
- Kt as defaultGlobalConfig,
150
- It as pluginFlag
149
+ Rt as PointType,
150
+ Ht as default,
151
+ Mt as defaultGlobalConfig,
152
+ Kt as pluginFlag
151
153
  };