@realsee/dnalogel 3.2.0-dev.5 → 3.2.0-dev.7

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 (346) hide show
  1. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +3 -0
  2. package/dist/index.cjs.js +3 -3
  3. package/dist/index.js +14 -4
  4. package/dist/index.umd.js +3 -3
  5. package/docs/assets/search.js +1 -1
  6. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
  7. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
  8. package/docs/classes/CSS3DRender.html +30 -30
  9. package/docs/classes/CruisePluginController.html +25 -25
  10. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  11. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  12. package/docs/classes/Magnifier.html +19 -19
  13. package/docs/classes/ModelRoomLabelController.html +10 -10
  14. package/docs/classes/Object3DHelperController.html +24 -24
  15. package/docs/classes/PaintBrush.html +14 -14
  16. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  17. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  18. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  19. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  20. package/docs/classes/PanoTagPluginController.html +71 -44
  21. package/docs/classes/Util.BetterTween.html +8 -8
  22. package/docs/classes/Util.Interval.html +11 -11
  23. package/docs/classes/Util.LineSegments.html +7 -7
  24. package/docs/classes/Util.Magnifier.html +19 -19
  25. package/docs/classes/Util.Object3D.html +7 -7
  26. package/docs/classes/Util.PointDomHelper.html +10 -10
  27. package/docs/classes/Util.PointHelper.html +10 -10
  28. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  29. package/docs/classes/Util.Rectangle.html +12 -12
  30. package/docs/enums/CameraMovementEffect.html +6 -6
  31. package/docs/enums/ContentType.html +19 -19
  32. package/docs/enums/DIRECTION.html +8 -8
  33. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  34. package/docs/enums/DimensionType.html +6 -6
  35. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  36. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  37. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  38. package/docs/enums/PointType.html +6 -6
  39. package/docs/enums/Rotation.html +7 -7
  40. package/docs/functions/AreaMakerPlugin.html +4 -4
  41. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  42. package/docs/functions/CameraMovementPlugin.html +3 -3
  43. package/docs/functions/CruisePlugin.html +3 -3
  44. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  45. package/docs/functions/GuideLinePlugin.html +4 -4
  46. package/docs/functions/ItemLabelPlugin.html +3 -3
  47. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  48. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  49. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  50. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  51. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  52. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  53. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  54. package/docs/functions/ModelViewPlugin.html +3 -3
  55. package/docs/functions/Object3DHelperPlugin.html +3 -3
  56. package/docs/functions/PanoCompassPlugin.html +3 -3
  57. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  58. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  59. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  60. package/docs/functions/PanoMeasurePlugin.html +3 -3
  61. package/docs/functions/PanoRulerPlugin.html +3 -3
  62. package/docs/functions/PanoRulerProPlugin.html +3 -3
  63. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  64. package/docs/functions/PanoTagPlugin.html +3 -3
  65. package/docs/functions/PanoVideoPlugin.html +3 -3
  66. package/docs/functions/PipelinePlugin.html +3 -3
  67. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  68. package/docs/functions/Util.absoluteUrl.html +4 -4
  69. package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
  70. package/docs/functions/Util.equal.html +4 -4
  71. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  72. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  73. package/docs/functions/Util.getFrameTime.html +4 -4
  74. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  75. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  76. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  77. package/docs/functions/Util.isModelLike.html +4 -4
  78. package/docs/functions/Util.isNil.html +4 -4
  79. package/docs/functions/Util.isPanoramaLike.html +4 -4
  80. package/docs/functions/Util.nextFrame.html +4 -4
  81. package/docs/functions/Util.notNil.html +4 -4
  82. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  83. package/docs/functions/Util.tweenProgress.html +4 -4
  84. package/docs/functions/Util.uuid.html +4 -4
  85. package/docs/functions/pluginFlag.html +4 -4
  86. package/docs/index.html +4 -4
  87. package/docs/interfaces/AddTagConfig.html +5 -5
  88. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
  89. package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
  90. package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
  91. package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
  92. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
  93. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
  94. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
  95. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
  96. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
  97. package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
  98. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  99. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  100. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  101. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  102. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  103. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  104. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  105. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  106. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  107. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  108. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
  109. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  110. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
  111. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
  112. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
  113. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
  114. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
  115. package/docs/interfaces/EventMap.html +14 -14
  116. package/docs/interfaces/FloorplanBounding.html +7 -7
  117. package/docs/interfaces/FloorplanData.html +9 -9
  118. package/docs/interfaces/FloorplanEntrance.html +10 -10
  119. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  120. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  121. package/docs/interfaces/FloorplanFloorData.html +8 -8
  122. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  123. package/docs/interfaces/FloorplanObserver.html +8 -8
  124. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  125. package/docs/interfaces/FloorplanPosition.html +6 -6
  126. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  127. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  128. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  129. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  130. package/docs/interfaces/FloorplanServerData.html +6 -6
  131. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  132. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  133. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  134. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  135. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  136. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  137. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  138. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  139. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  140. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  141. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  142. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  143. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  144. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  145. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  146. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  147. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  148. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  149. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  150. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  151. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  152. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
  153. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  154. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  155. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  156. package/docs/interfaces/HelperOffset.html +7 -7
  157. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  158. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  159. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  160. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  161. package/docs/interfaces/MinMax.html +6 -6
  162. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  163. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  164. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  165. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  166. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  167. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  168. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  169. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  170. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  171. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  172. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  173. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  174. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  175. package/docs/interfaces/Object3DHelperState.html +7 -7
  176. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  177. package/docs/interfaces/PaintBrushAction.html +11 -11
  178. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  179. package/docs/interfaces/PaintBrushState.html +9 -9
  180. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  181. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  182. package/docs/interfaces/PanoMeasureParameterType.html +15 -15
  183. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  184. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  185. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  186. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  187. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  188. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  189. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  190. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  191. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  192. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  193. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  194. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  195. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  196. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  197. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  198. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  199. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  200. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  201. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  202. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  203. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  204. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  205. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  206. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  207. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  208. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  209. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  210. package/docs/interfaces/Point.html +7 -7
  211. package/docs/interfaces/Room.html +8 -8
  212. package/docs/interfaces/RoomInfo.html +6 -6
  213. package/docs/interfaces/RoomLabel.html +13 -13
  214. package/docs/interfaces/RoomRules.html +4 -4
  215. package/docs/interfaces/Rooms.html +4 -4
  216. package/docs/interfaces/Scissor.html +8 -8
  217. package/docs/interfaces/State.html +7 -7
  218. package/docs/interfaces/TagCacheInterface.html +11 -11
  219. package/docs/interfaces/TagConfig.html +13 -13
  220. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  221. package/docs/interfaces/TagIconUrl.html +11 -11
  222. package/docs/interfaces/TagObjectGroup.html +5 -5
  223. package/docs/interfaces/TagStyle.html +5 -5
  224. package/docs/interfaces/Tags.html +8 -8
  225. package/docs/interfaces/TemporaryState.html +5 -5
  226. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  227. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  228. package/docs/interfaces/Util.PointIntersection.html +7 -7
  229. package/docs/modules/AreaMakerPluginType.html +4 -4
  230. package/docs/modules/CruisePluginTypes.html +4 -4
  231. package/docs/modules/CurrentPanoImagePluginType.html +4 -4
  232. package/docs/modules/GuideLineItem.html +4 -4
  233. package/docs/modules/GuideLineModeItem.html +4 -4
  234. package/docs/modules/GuideLinePluginType.html +4 -4
  235. package/docs/modules/PanoVideoPluginType.html +4 -4
  236. package/docs/modules/Util.html +4 -4
  237. package/docs/modules.html +4 -4
  238. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
  239. package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
  240. package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
  241. package/docs/types/ArrayPosition.html +4 -4
  242. package/docs/types/AudioAppearance.html +4 -4
  243. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  244. package/docs/types/CSS3DRenderExportType.html +4 -4
  245. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  246. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  247. package/docs/types/ClassFunctionParameters.html +4 -4
  248. package/docs/types/Color.html +4 -4
  249. package/docs/types/ContentTypeConfigKey.html +4 -4
  250. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  251. package/docs/types/ContentTypeMap.html +4 -4
  252. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  253. package/docs/types/Create3DElementReturnType.html +4 -4
  254. package/docs/types/CruisePluginExportType.html +4 -4
  255. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  256. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  257. package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
  258. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  259. package/docs/types/DeprecatedTagProperty.html +4 -4
  260. package/docs/types/Direction-1.html +4 -4
  261. package/docs/types/Direction4.html +4 -4
  262. package/docs/types/ElementRenderer.html +4 -4
  263. package/docs/types/FloorplanRuleLabels.html +4 -4
  264. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  265. package/docs/types/GuideLinePluginExportType.html +4 -4
  266. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  267. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  268. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  269. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  270. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  271. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  272. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  273. package/docs/types/HelperEventMap.html +4 -4
  274. package/docs/types/LoadTagConfig.html +4 -4
  275. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  276. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  277. package/docs/types/MediaData.html +4 -4
  278. package/docs/types/MediaStore.html +4 -4
  279. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  280. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  281. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  282. package/docs/types/ModelId.html +4 -4
  283. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  284. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  285. package/docs/types/MoveArgs.html +4 -4
  286. package/docs/types/MoveOpts.html +4 -4
  287. package/docs/types/Object3DHelperEventMap.html +4 -4
  288. package/docs/types/ObjectFit.html +4 -4
  289. package/docs/types/PaintBrushEventMap.html +4 -4
  290. package/docs/types/PanoCompassPluginData.html +4 -4
  291. package/docs/types/PanoCompassPluginExportType.html +4 -4
  292. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  293. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  294. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  295. package/docs/types/PanoIndex.html +4 -4
  296. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  297. package/docs/types/PanoMeasureReturnType.html +4 -4
  298. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  299. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  300. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  301. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  302. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  303. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  304. package/docs/types/PipelinePluginParameterType.html +4 -4
  305. package/docs/types/PipelinePluginReturnType.html +4 -4
  306. package/docs/types/PlaneTag.html +4 -4
  307. package/docs/types/Point2DTag.html +4 -4
  308. package/docs/types/Point3DTag.html +4 -4
  309. package/docs/types/PointTag.html +4 -4
  310. package/docs/types/PointTagInstance.html +4 -4
  311. package/docs/types/Position.html +4 -4
  312. package/docs/types/RotateArgs.html +4 -4
  313. package/docs/types/RotateOpts.html +4 -4
  314. package/docs/types/RuleLabelsKey.html +4 -4
  315. package/docs/types/RuleLabelsValue.html +4 -4
  316. package/docs/types/StickType.html +4 -4
  317. package/docs/types/Tag.html +4 -4
  318. package/docs/types/Tag2D.html +4 -4
  319. package/docs/types/Tag3D.html +4 -4
  320. package/docs/types/TagConfigByKey.html +4 -4
  321. package/docs/types/TagContentType.html +4 -4
  322. package/docs/types/TagDimensionType.html +4 -4
  323. package/docs/types/TagElement.html +4 -4
  324. package/docs/types/TagEvents.html +4 -4
  325. package/docs/types/TagGLTFObject.html +4 -4
  326. package/docs/types/TagHooks.html +4 -4
  327. package/docs/types/TagId.html +4 -4
  328. package/docs/types/TagInstance.html +4 -4
  329. package/docs/types/TagPointType.html +4 -4
  330. package/docs/types/TagRendererMap.html +4 -4
  331. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  332. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  333. package/docs/types/WorkCode.html +4 -4
  334. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  335. package/docs/variables/PLUGIN.html +4 -4
  336. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  337. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  338. package/docs/variables/defaultGlobalConfig.html +4 -4
  339. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  340. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  341. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  342. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +3 -0
  343. package/libs/PanoTagPlugin/controller/TagUtil.js +66 -56
  344. package/libs/base/BasePlugin.js +1 -1
  345. package/libs/shared-utils/logger.js +1 -1
  346. package/package.json +1 -1
@@ -10,6 +10,8 @@ import { FiveDomEvents } from '../../shared-utils/five/FiveDomEvents';
10
10
  export declare abstract class TagUtil extends TagCache {
11
11
  tags: TagInstance[];
12
12
  config: Pick<Tags, 'globalConfig' | 'contentTypeConfig'>;
13
+ set workCode(workCode: string);
14
+ get workCode(): string;
13
15
  protected get work(): import("@realsee/five").Work;
14
16
  protected mediaStore: MediaStore;
15
17
  /** css3DRenderPlugin */
@@ -25,6 +27,7 @@ export declare abstract class TagUtil extends TagCache {
25
27
  disposed: boolean;
26
28
  };
27
29
  protected domEvents: FiveDomEvents;
30
+ private _workCode;
28
31
  protected constructor(five: Five);
29
32
  getTagById<C extends TagContentType = TagContentType, S extends StickType = StickType>(id: TagId): TagInstance<C, S> | undefined;
30
33
  /** 暂停当前标签内进行的所有多媒体 */
@@ -2,39 +2,39 @@ var X = Object.defineProperty, q = Object.defineProperties;
2
2
  var K = Object.getOwnPropertyDescriptors;
3
3
  var R = Object.getOwnPropertySymbols;
4
4
  var Q = Object.prototype.hasOwnProperty, Y = Object.prototype.propertyIsEnumerable;
5
- var E = (a, s, e) => s in a ? X(a, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[s] = e, M = (a, s) => {
5
+ var w = (a, s, e) => s in a ? X(a, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[s] = e, b = (a, s) => {
6
6
  for (var e in s || (s = {}))
7
- Q.call(s, e) && E(a, e, s[e]);
7
+ Q.call(s, e) && w(a, e, s[e]);
8
8
  if (R)
9
9
  for (var e of R(s))
10
- Y.call(s, e) && E(a, e, s[e]);
10
+ Y.call(s, e) && w(a, e, s[e]);
11
11
  return a;
12
- }, B = (a, s) => q(a, K(s));
13
- var m = (a, s, e) => (E(a, typeof s != "symbol" ? s + "" : s, e), e);
12
+ }, _ = (a, s) => q(a, K(s));
13
+ var l = (a, s, e) => (w(a, typeof s != "symbol" ? s + "" : s, e), e);
14
14
  import { defaultGlobalConfig as Z } from "../typings/tag/TagConfig.js";
15
15
  import { objectAssignDeepExports as y } from "../../vendor/object-assign-deep/objectAssignDeep.js";
16
16
  import * as ee from "three";
17
17
  import { DefaultConfig as ie } from "../tag.config.js";
18
- import { anyPositionToVector3 as P } from "../../shared-utils/positionToVector3.js";
19
- import { planeNormal as w } from "../utils/planeNormal.js";
20
- import { getTagCenterPosition as N } from "../utils/tagPosition.js";
18
+ import { anyPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
19
+ import { planeNormal as E } from "../utils/planeNormal.js";
20
+ import { getTagCenterPosition as B } from "../utils/tagPosition.js";
21
21
  import { normalPositionToPositions as te } from "../utils/normalPositionToPositions.js";
22
22
  import { TagCache as oe } from "./TagCache.js";
23
23
  import { writable as re } from "../../vendor/svelte/store/index.js";
24
24
  import { isIOSWX as ne } from "../../shared-utils/device.js";
25
25
  import { Five as se } from "@realsee/five";
26
- import { isMediaPlaneTag as fe, isMediaModelTag as _, isPlaneTag as ae, isPoint3DTag as ce } from "../utils/tag/tagCheck.js";
26
+ import { isMediaPlaneTag as fe, isMediaModelTag as N, isPlaneTag as ae, isPoint3DTag as ce } from "../utils/tag/tagCheck.js";
27
27
  import { VideoPlane as le } from "../utils/model/mediaPlane.js";
28
28
  import { FiveDomEvents as de } from "../../shared-utils/five/FiveDomEvents.js";
29
29
  import $ from "../utils/tag/adaptConfig.js";
30
- import { isPanoramaLike as O, isModelLike as z } from "../../shared-utils/five/mode.js";
30
+ import { isPanoramaLike as A, isModelLike as z } 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 H } from "../../shared-utils/typescript/entries.js";
36
36
  import { getUrlExt as J } from "../../shared-utils/url/getUrl.js";
37
- import { transformPosition as j } from "../../shared-utils/five/transformPosition.js";
37
+ import { transformPosition as O } from "../../shared-utils/five/transformPosition.js";
38
38
  import "../../shared-utils/three/centerPoint.js";
39
39
  import "../../base/BasePlugin.js";
40
40
  import "../../shared-utils/Subscribe.js";
@@ -63,27 +63,28 @@ import "../../shared-utils/five/calculateThreeMouse.js";
63
63
  class fi extends oe {
64
64
  constructor(e) {
65
65
  super(e);
66
- m(this, "tags", []);
67
- m(this, "config", ie);
68
- m(this, "mediaStore", re({
66
+ l(this, "tags", []);
67
+ l(this, "config", ie);
68
+ l(this, "mediaStore", re({
69
69
  currentMediaElement: null
70
70
  }));
71
71
  /** css3DRenderPlugin */
72
- m(this, "css3DRenderPlugin");
73
- m(this, "store", {
72
+ l(this, "css3DRenderPlugin");
73
+ l(this, "store", {
74
74
  disposers: [],
75
75
  disposed: !1,
76
76
  resizeObserverDisposerAdding: !1,
77
77
  css3DRenderDisposer: /* @__PURE__ */ new Map()
78
78
  });
79
- m(this, "domEvents", new de(this.five));
80
- m(this, "getObserverPosition", (e) => {
79
+ l(this, "domEvents", new de(this.five));
80
+ l(this, "_workCode");
81
+ l(this, "getObserverPosition", (e) => {
81
82
  var o, t;
82
83
  const i = (o = this.work) == null ? void 0 : o.observers[e];
83
84
  if (i)
84
- return j(i.position, (t = this.work) == null ? void 0 : t.options.transform);
85
+ return O(i.position, (t = this.work) == null ? void 0 : t.options.transform);
85
86
  });
86
- m(this, "loadVideoFirstFrame", () => {
87
+ l(this, "loadVideoFirstFrame", () => {
87
88
  ne && this.hooks.emit("loadVideoFirstFrame");
88
89
  });
89
90
  this.mediaStore.subscribe(({ currentMediaElement: i }) => {
@@ -97,9 +98,16 @@ class fi extends oe {
97
98
  });
98
99
  });
99
100
  }
101
+ set workCode(e) {
102
+ this._workCode = e;
103
+ }
104
+ get workCode() {
105
+ var e;
106
+ return (e = this._workCode) != null ? e : this.five.state.workCode;
107
+ }
100
108
  get work() {
101
109
  var e, i;
102
- return (i = (e = this.five.works) == null ? void 0 : e.find((o) => o.workCode === this.five.state.workCode)) != null ? i : this.five.work;
110
+ return (i = (e = this.five.works) == null ? void 0 : e.find((o) => o.workCode === this.workCode)) != null ? i : this.five.work;
103
111
  }
104
112
  getTagById(e) {
105
113
  const i = this.tags.find((o) => o.id === e);
@@ -171,7 +179,7 @@ class fi extends oe {
171
179
  if (t[0].type === "Image")
172
180
  return J(t[0].url) === "gif" ? "Dom" : "Mesh";
173
181
  }
174
- } else if (_(e))
182
+ } else if (N(e))
175
183
  return t.length === 1 && t[0].type === "Image" ? J(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
176
184
  }
177
185
  })();
@@ -191,13 +199,13 @@ class fi extends oe {
191
199
  const n = this.getObserverPosition(o);
192
200
  if (n === void 0)
193
201
  throw new Error(`getAngle(): observerPosition is ${n}`);
194
- const r = (() => e.stickType === "3DPoint" ? P(e.normal) : w(e.position))();
202
+ const r = (() => e.stickType === "3DPoint" ? C(e.normal) : E(e.position))();
195
203
  if (!r)
196
204
  return;
197
- const f = N(e);
205
+ const f = B(e);
198
206
  if (!f)
199
207
  return;
200
- const l = new ee.Vector3().copy(n).sub(f), g = r.angleTo(l) * 180 / Math.PI;
208
+ const d = new ee.Vector3().copy(n).sub(f), g = r.angleTo(d) * 180 / Math.PI;
201
209
  return t.angle = g, t.angle;
202
210
  }
203
211
  }
@@ -205,17 +213,17 @@ class fi extends oe {
205
213
  * @description: 获取距离
206
214
  */
207
215
  getDistance(e, i) {
208
- const o = M(M({}, this.five.getCurrentState()), i), { panoIndex: t, mode: n } = o, r = O(n) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
216
+ const o = b(b({}, this.five.getCurrentState()), i), { panoIndex: t, mode: n } = o, r = A(n) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
209
217
  if ((r == null ? void 0 : r.distance) !== void 0)
210
218
  return r.distance;
211
- const f = N(e);
219
+ const f = B(e);
212
220
  if (!f)
213
221
  return -1;
214
- if (O(n)) {
215
- const l = this.getObserverPosition(t);
216
- if (l === void 0)
222
+ if (A(n)) {
223
+ const d = this.getObserverPosition(t);
224
+ if (d === void 0)
217
225
  return -1;
218
- const g = l.distanceTo(f);
226
+ const g = d.distanceTo(f);
219
227
  return r && (r.distance = g), g;
220
228
  }
221
229
  if (z(n))
@@ -224,10 +232,10 @@ class fi extends oe {
224
232
  getPositions(e) {
225
233
  if (ae(e))
226
234
  return e.position;
227
- if (_(e))
235
+ if (N(e))
228
236
  return e.data.mediaPosition;
229
237
  if (ce(e))
230
- return te(this.five.camera.position, P(e.position), P(e.normal));
238
+ return te(this.five.camera.position, C(e.position), C(e.normal));
231
239
  }
232
240
  addObjectClickHandler(e, i, o) {
233
241
  if (!i || !this.domEvents)
@@ -245,11 +253,11 @@ class fi extends oe {
245
253
  }
246
254
  getTagNormal(e) {
247
255
  if (e.normal)
248
- return P(e.normal);
256
+ return C(e.normal);
249
257
  if (e.stickType === "Plane")
250
- return w(e.position);
258
+ return E(e.position);
251
259
  if (e.stickType === "Model")
252
- return w(this.getPositions(e));
260
+ return E(this.getPositions(e));
253
261
  }
254
262
  // TODO: 优化点:下面这些函数,调用比较频繁,可以按点位加缓存
255
263
  get filterPointTag() {
@@ -276,8 +284,10 @@ class fi extends oe {
276
284
  }
277
285
  getTransformedPostion(e) {
278
286
  var o;
287
+ if (!e)
288
+ return;
279
289
  const i = (o = this.work) == null ? void 0 : o.options.transform;
280
- return e.length === 4 ? e.map(P).map((t) => j(t, i)) : j(P(e), i);
290
+ return Array.isArray(e) && e.length === 4 ? e.map(C).map((t) => O(t, i)) : O(C(e), i);
281
291
  }
282
292
  /**
283
293
  * @description 检查是否已经销毁
@@ -290,44 +300,44 @@ class fi extends oe {
290
300
  * @description: 获取merge后的配置
291
301
  */
292
302
  calculateTagConfig(e, i) {
293
- var A, S, I, W;
294
- const o = (A = i == null ? void 0 : i.useCache) != null ? A : !0;
303
+ var j, S, I, W;
304
+ const o = (j = i == null ? void 0 : i.useCache) != null ? j : !0;
295
305
  if (!e)
296
306
  return (S = this.config.globalConfig) != null ? S : {};
297
307
  if (o && ((I = e.config) != null && I._isMerged))
298
308
  return e.config;
299
309
  const t = {}, n = {}, r = {};
300
- this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([d, u]) => {
310
+ this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([u, p]) => {
301
311
  var V, L;
302
- const c = d, D = c.split("-"), F = d.startsWith("["), T = F ? D[0].slice(1, -1) : void 0, h = F ? D.slice(1) : D, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (V = n[T]) != null ? V : n[T] = {} : (L = r[T]) != null ? L : r[T] = {} : t;
312
+ const c = u, D = c.split("-"), F = u.startsWith("["), T = F ? D[0].slice(1, -1) : void 0, h = F ? D.slice(1) : D, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (V = n[T]) != null ? V : n[T] = {} : (L = r[T]) != null ? L : r[T] = {} : t;
303
313
  if (!v[c]) {
304
- if (h.length === 0 && (v[c] = u), h.length === 1) {
305
- const [p] = h;
306
- (e.contentType === p || p === "Any") && (v[c] = u);
314
+ if (h.length === 0 && (v[c] = p), h.length === 1) {
315
+ const [m] = h;
316
+ (e.contentType === m || m === "Any") && (v[c] = p);
307
317
  }
308
318
  if (h.length === 2) {
309
- const [p = "Any", b = "Any"] = h;
310
- p === "Mixin" && e.contentType === b && (v[c] = u), (e.stickType === p || p === "Any") && (e.contentType === b || b === "Any") && (v[c] = u);
319
+ const [m = "Any", P = "Any"] = h;
320
+ m === "Mixin" && e.contentType === P && (v[c] = p), (e.stickType === m || m === "Any") && (e.contentType === P || P === "Any") && (v[c] = p);
311
321
  }
312
322
  if (h.length === 3) {
313
- const [p = "Any", b, G] = h;
314
- if (b === "Audio" && e.contentType === "Audio") {
323
+ const [m = "Any", P, G] = h;
324
+ if (P === "Audio" && e.contentType === "Audio") {
315
325
  const x = e;
316
- (x.stickType === p || p === "Any") && x.data.appearance === G && (v[c] = u);
326
+ (x.stickType === m || m === "Any") && x.data.appearance === G && (v[c] = p);
317
327
  }
318
328
  }
319
329
  }
320
330
  });
321
- const f = (W = e.config) != null && W._isMerged ? e.initialConfig : e.config, l = y({}, Z, this.config.globalConfig, ...Object.values(t)), g = y({}, l, f), C = {}, U = Object.values(se.Mode);
322
- H(n).forEach(([d, u]) => {
331
+ const f = (W = e.config) != null && W._isMerged ? e.initialConfig : e.config, d = y({}, Z, this.config.globalConfig, ...Object.values(t)), g = y({}, d, f), k = {}, U = Object.values(se.Mode);
332
+ H(n).forEach(([u, p]) => {
323
333
  U.forEach((c) => {
324
- (d === "PanoramaLike" && O(c) || d === "ModelLike" && z(c)) && (C[c] = y({}, l, ...Object.values(u), f));
334
+ (u === "PanoramaLike" && A(c) || u === "ModelLike" && z(c)) && (k[c] = y({}, d, ...Object.values(p), f));
325
335
  });
326
- }), H(r).forEach(([d, u]) => {
327
- C[d] = y({}, l, ...Object.values(u), f);
336
+ }), H(r).forEach(([u, p]) => {
337
+ k[u] = y({}, d, ...Object.values(p), f);
328
338
  });
329
- const k = B(M({}, g), { configWithFiveMode: C });
330
- return $(k, e), Object.values(C).forEach((d) => $(d, e)), k._isMerged = !0, k;
339
+ const M = _(b({}, g), { configWithFiveMode: k });
340
+ return $(M, e), Object.values(k).forEach((u) => $(u, e)), M._isMerged = !0, M;
331
341
  }
332
342
  }
333
343
  export {
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.2.0-dev.5");
17
+ i(this, "VERSION", "3.2.0-dev.7");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.2.0-dev.5",
3
+ "%c %c@realsee/dnalogel %cv3.2.0-dev.7",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "3.2.0-dev.5",
10
+ "version": "3.2.0-dev.7",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
12
  "scripts": {
13
13
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",