@realsee/dnalogel 3.41.7 → 3.42.0-alpha-tag.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (370) hide show
  1. package/README.md +116 -0
  2. package/dist/PanoTagPlugin/controller/TagRender.d.ts +1 -1
  3. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +2 -0
  4. package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
  5. package/dist/PanoTagPlugin/typings/controller.d.ts +17 -16
  6. package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +3 -2
  7. package/dist/index.cjs.js +30 -30
  8. package/dist/index.js +754 -771
  9. package/dist/index.umd.js +24 -24
  10. package/docs/.nojekyll +1 -0
  11. package/docs/assets/custom.css +0 -0
  12. package/docs/assets/highlight.css +127 -0
  13. package/docs/assets/main.js +58 -0
  14. package/docs/assets/search.js +1 -0
  15. package/docs/assets/style.css +1367 -0
  16. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +731 -0
  17. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +694 -0
  18. package/docs/classes/CSS3DRender.html +778 -0
  19. package/docs/classes/GuideLineItem.GuideLineItem.html +481 -0
  20. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +894 -0
  21. package/docs/classes/Magnifier.html +485 -0
  22. package/docs/classes/ModelRoomLabelController.html +403 -0
  23. package/docs/classes/MoveController.html +681 -0
  24. package/docs/classes/Object3DHelperController.html +645 -0
  25. package/docs/classes/PaintBrush.html +507 -0
  26. package/docs/classes/PanoMeasurePluginLine.html +527 -0
  27. package/docs/classes/PanoMeasurePluginModel.html +576 -0
  28. package/docs/classes/PanoMeasurePluginPoint.html +367 -0
  29. package/docs/classes/PanoMeasurePluginPolyline.html +572 -0
  30. package/docs/classes/PanoTagPluginController.html +1132 -0
  31. package/docs/classes/Util.BetterTween.html +421 -0
  32. package/docs/classes/Util.Interval.html +437 -0
  33. package/docs/classes/Util.LineSegments.html +389 -0
  34. package/docs/classes/Util.Magnifier.html +508 -0
  35. package/docs/classes/Util.Object3D.html +411 -0
  36. package/docs/classes/Util.PointDomHelper.html +412 -0
  37. package/docs/classes/Util.PointHelper.html +403 -0
  38. package/docs/classes/Util.PointSelectorHelper.html +459 -0
  39. package/docs/classes/Util.Rectangle.html +460 -0
  40. package/docs/classes/WalkController.html +700 -0
  41. package/docs/enums/CameraMovementEffect.html +315 -0
  42. package/docs/enums/ContentType.html +461 -0
  43. package/docs/enums/DIRECTION.html +325 -0
  44. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +325 -0
  45. package/docs/enums/DimensionType.html +315 -0
  46. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +318 -0
  47. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +325 -0
  48. package/docs/enums/PaintBrushTypeEnum.html +318 -0
  49. package/docs/enums/PointType.html +315 -0
  50. package/docs/enums/Rotation.html +322 -0
  51. package/docs/functions/AreaMakerPlugin.html +295 -0
  52. package/docs/functions/CSS3DRenderPlugin.html +293 -0
  53. package/docs/functions/CameraMovementPlugin.html +298 -0
  54. package/docs/functions/CruisePlugin.html +295 -0
  55. package/docs/functions/CurrentPanoImagePlugin.html +295 -0
  56. package/docs/functions/GuideLinePlugin.html +295 -0
  57. package/docs/functions/ItemLabelPlugin.html +295 -0
  58. package/docs/functions/MapviewFloorplanPlugin.html +295 -0
  59. package/docs/functions/ModelChassisCompassPlugin.html +298 -0
  60. package/docs/functions/ModelEntryDoorGuidePlugin.html +298 -0
  61. package/docs/functions/ModelFloorplanPlugin.html +295 -0
  62. package/docs/functions/ModelItemLabelPlugin.html +295 -0
  63. package/docs/functions/ModelRoomLabelPlugin.html +293 -0
  64. package/docs/functions/ModelTVVideoPlugin.html +295 -0
  65. package/docs/functions/ModelViewPlugin.html +298 -0
  66. package/docs/functions/MovePlugin.html +295 -0
  67. package/docs/functions/Object3DHelperPlugin.html +293 -0
  68. package/docs/functions/PanoCompassPlugin.html +295 -0
  69. package/docs/functions/PanoCursorRaycasterPlugin.html +299 -0
  70. package/docs/functions/PanoDoorLabelPlugin.html +295 -0
  71. package/docs/functions/PanoFloorplanRadarPlugin.html +295 -0
  72. package/docs/functions/PanoMeasurePlugin.html +295 -0
  73. package/docs/functions/PanoRulerPlugin.html +298 -0
  74. package/docs/functions/PanoRulerProPlugin.html +298 -0
  75. package/docs/functions/PanoSpatialTagPlugin.html +298 -0
  76. package/docs/functions/PanoTagPlugin.html +300 -0
  77. package/docs/functions/PanoVideoPlugin.html +304 -0
  78. package/docs/functions/PipelinePlugin.html +293 -0
  79. package/docs/functions/TopviewFloorplanPlugin.html +295 -0
  80. package/docs/functions/Util.absoluteUrl.html +331 -0
  81. package/docs/functions/Util.checkFiveModelLoaded.html +334 -0
  82. package/docs/functions/Util.equal.html +343 -0
  83. package/docs/functions/Util.getCoordsFromClient.html +333 -0
  84. package/docs/functions/Util.getCoordsFromElement.html +333 -0
  85. package/docs/functions/Util.getFrameTime.html +325 -0
  86. package/docs/functions/Util.getIntersectFromRelativePosition.html +333 -0
  87. package/docs/functions/Util.getRaycasterFromFivePointer.html +333 -0
  88. package/docs/functions/Util.isAbsoluteURL.html +326 -0
  89. package/docs/functions/Util.isModelLike.html +326 -0
  90. package/docs/functions/Util.isNil.html +334 -0
  91. package/docs/functions/Util.isPanoramaLike.html +326 -0
  92. package/docs/functions/Util.nextFrame.html +339 -0
  93. package/docs/functions/Util.notNil.html +334 -0
  94. package/docs/functions/Util.requestAnimationFrameInterval.html +355 -0
  95. package/docs/functions/Util.tweenProgress.html +328 -0
  96. package/docs/functions/Util.uuid.html +324 -0
  97. package/docs/functions/pluginFlag.html +293 -0
  98. package/docs/index.html +358 -0
  99. package/docs/interfaces/AddTagConfig.html +308 -0
  100. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +335 -0
  101. package/docs/interfaces/AreaMakerPluginType.Config.html +340 -0
  102. package/docs/interfaces/AreaMakerPluginType.EventMap.html +626 -0
  103. package/docs/interfaces/AreaMakerPluginType.Params.html +339 -0
  104. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +397 -0
  105. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +382 -0
  106. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +339 -0
  107. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +332 -0
  108. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +331 -0
  109. package/docs/interfaces/AreaMakerPluginType.State.html +360 -0
  110. package/docs/interfaces/CSS3DRenderPluginEventMap.html +454 -0
  111. package/docs/interfaces/CSS3DRenderPluginState.html +330 -0
  112. package/docs/interfaces/CameraMovementPluginExportType.html +363 -0
  113. package/docs/interfaces/CruisePluginTypes.Config.html +364 -0
  114. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +366 -0
  115. package/docs/interfaces/CruisePluginTypes.EventMap.html +724 -0
  116. package/docs/interfaces/CruisePluginTypes.MoveAction.html +390 -0
  117. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +426 -0
  118. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +416 -0
  119. package/docs/interfaces/CruisePluginTypes.PluginData.html +356 -0
  120. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +324 -0
  121. package/docs/interfaces/CruisePluginTypes.PluginState.html +392 -0
  122. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +387 -0
  123. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +526 -0
  124. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +328 -0
  125. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +320 -0
  126. package/docs/interfaces/CurrentPanoImagePluginType.State.html +342 -0
  127. package/docs/interfaces/EventMap.html +547 -0
  128. package/docs/interfaces/FloorplanBounding.html +337 -0
  129. package/docs/interfaces/FloorplanData.html +340 -0
  130. package/docs/interfaces/FloorplanEntrance.html +365 -0
  131. package/docs/interfaces/FloorplanExtraObject.html +355 -0
  132. package/docs/interfaces/FloorplanExtraObject3D.html +344 -0
  133. package/docs/interfaces/FloorplanFloorData.html +333 -0
  134. package/docs/interfaces/FloorplanImagePosition.html +319 -0
  135. package/docs/interfaces/FloorplanObserver.html +337 -0
  136. package/docs/interfaces/FloorplanOutlineItem.html +333 -0
  137. package/docs/interfaces/FloorplanPosition.html +319 -0
  138. package/docs/interfaces/FloorplanRoomItem.html +407 -0
  139. package/docs/interfaces/FloorplanRoomLabelItem.html +325 -0
  140. package/docs/interfaces/FloorplanServerBounding.html +337 -0
  141. package/docs/interfaces/FloorplanServerComputedData.html +336 -0
  142. package/docs/interfaces/FloorplanServerData.html +319 -0
  143. package/docs/interfaces/FloorplanServerDoorItem.html +336 -0
  144. package/docs/interfaces/FloorplanServerDoorPosition.html +322 -0
  145. package/docs/interfaces/FloorplanServerEntrance.html +365 -0
  146. package/docs/interfaces/FloorplanServerFloorData.html +333 -0
  147. package/docs/interfaces/FloorplanServerImagePosition.html +319 -0
  148. package/docs/interfaces/FloorplanServerObserver.html +337 -0
  149. package/docs/interfaces/FloorplanServerOutlineItem.html +333 -0
  150. package/docs/interfaces/FloorplanServerPosition.html +319 -0
  151. package/docs/interfaces/FloorplanServerRoomItem.html +419 -0
  152. package/docs/interfaces/FloorplanServerRoomLabelItem.html +325 -0
  153. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +328 -0
  154. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +367 -0
  155. package/docs/interfaces/GuideLinePluginType.EventMap.html +531 -0
  156. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +362 -0
  157. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +353 -0
  158. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +452 -0
  159. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +342 -0
  160. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +352 -0
  161. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +522 -0
  162. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +349 -0
  163. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +532 -0
  164. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +314 -0
  165. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +335 -0
  166. package/docs/interfaces/GuideLinePluginType.PluginState.html +360 -0
  167. package/docs/interfaces/GuideLinePluginType.Route.html +376 -0
  168. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +358 -0
  169. package/docs/interfaces/HelperOffset.html +337 -0
  170. package/docs/interfaces/ImagePlaneGroup.html +311 -0
  171. package/docs/interfaces/ItemLabelPluginData.html +308 -0
  172. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +393 -0
  173. package/docs/interfaces/ItemLabelPluginParametersType.html +329 -0
  174. package/docs/interfaces/MinMax.html +315 -0
  175. package/docs/interfaces/ModelChassisCompassPluginData.html +315 -0
  176. package/docs/interfaces/ModelChassisCompassPluginExportType.html +351 -0
  177. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +315 -0
  178. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +322 -0
  179. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +359 -0
  180. package/docs/interfaces/ModelItemLabelPluginData.html +308 -0
  181. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +393 -0
  182. package/docs/interfaces/ModelItemLabelPluginParametersType.html +315 -0
  183. package/docs/interfaces/ModelRoomLabelPluginData.html +308 -0
  184. package/docs/interfaces/ModelTVVideoPluginData.html +329 -0
  185. package/docs/interfaces/ModelTVVideoPluginExportType.html +353 -0
  186. package/docs/interfaces/ModelTVVideoPluginParameterType.html +308 -0
  187. package/docs/interfaces/ModelViewPluginExportType.html +421 -0
  188. package/docs/interfaces/Object3DHelperState.html +322 -0
  189. package/docs/interfaces/ObjectHelperControllers.html +329 -0
  190. package/docs/interfaces/PaintBrushAction.html +368 -0
  191. package/docs/interfaces/PaintBrushConfigs.html +366 -0
  192. package/docs/interfaces/PaintBrushState.html +350 -0
  193. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +430 -0
  194. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +287 -0
  195. package/docs/interfaces/PanoMeasureParameterType.html +454 -0
  196. package/docs/interfaces/PanoMeasurePluginLineJson.html +322 -0
  197. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +319 -0
  198. package/docs/interfaces/PanoMeasurePluginPointJson.html +315 -0
  199. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +325 -0
  200. package/docs/interfaces/PanoRulerPluginExportType.html +382 -0
  201. package/docs/interfaces/PanoRulerPluginOptions.html +331 -0
  202. package/docs/interfaces/PanoRulerPluginParameterType.html +322 -0
  203. package/docs/interfaces/PanoRulerProPluginExportType.html +358 -0
  204. package/docs/interfaces/PanoRulerProPluginOptions.html +328 -0
  205. package/docs/interfaces/PanoRulerProPluginParameterType.html +315 -0
  206. package/docs/interfaces/PanoRulerProPluginState.html +322 -0
  207. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +301 -0
  208. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +290 -0
  209. package/docs/interfaces/PanoSpatialTagPluginData.html +358 -0
  210. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +340 -0
  211. package/docs/interfaces/PanoSpatialTagPluginExportType.html +436 -0
  212. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +336 -0
  213. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +357 -0
  214. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +343 -0
  215. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +336 -0
  216. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +328 -0
  217. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +346 -0
  218. package/docs/interfaces/PanoVideoPluginType.PluginData.html +319 -0
  219. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +425 -0
  220. package/docs/interfaces/PanoVideoPluginType.PluginState.html +319 -0
  221. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +354 -0
  222. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +373 -0
  223. package/docs/interfaces/Point.html +322 -0
  224. package/docs/interfaces/Room.html +329 -0
  225. package/docs/interfaces/RoomInfo.html +315 -0
  226. package/docs/interfaces/RoomLabel.html +391 -0
  227. package/docs/interfaces/RoomRules.html +290 -0
  228. package/docs/interfaces/Rooms.html +290 -0
  229. package/docs/interfaces/Scissor.html +349 -0
  230. package/docs/interfaces/State.html +336 -0
  231. package/docs/interfaces/TagCacheInterface.html +367 -0
  232. package/docs/interfaces/TagConfig.html +570 -0
  233. package/docs/interfaces/TagGLTFObjectGroup.html +311 -0
  234. package/docs/interfaces/TagIconUrl.html +368 -0
  235. package/docs/interfaces/TagObjectGroup.html +311 -0
  236. package/docs/interfaces/TagStyle.html +321 -0
  237. package/docs/interfaces/Tags.html +2825 -0
  238. package/docs/interfaces/TemporaryState.html +308 -0
  239. package/docs/interfaces/Util.MagnifierParameter.html +396 -0
  240. package/docs/interfaces/Util.MouseGroupParameter.html +355 -0
  241. package/docs/interfaces/Util.PointIntersection.html +370 -0
  242. package/docs/modules/AreaMakerPluginType.html +330 -0
  243. package/docs/modules/CruisePluginTypes.html +333 -0
  244. package/docs/modules/CurrentPanoImagePluginType.html +302 -0
  245. package/docs/modules/GuideLineItem.html +294 -0
  246. package/docs/modules/GuideLineModeItem.html +299 -0
  247. package/docs/modules/GuideLinePluginType.html +355 -0
  248. package/docs/modules/PanoVideoPluginType.html +306 -0
  249. package/docs/modules/Util.html +356 -0
  250. package/docs/modules.html +564 -0
  251. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +359 -0
  252. package/docs/types/AreaMakerPluginType.ItemRenderer.html +325 -0
  253. package/docs/types/AreaMakerPluginType.PluginData.html +307 -0
  254. package/docs/types/AreaMakerPluginType.ServerData.html +307 -0
  255. package/docs/types/ArrayPosition.html +284 -0
  256. package/docs/types/AudioAppearance.html +284 -0
  257. package/docs/types/AudioTagTypeConfigKey.html +284 -0
  258. package/docs/types/CSS3DRenderExportType.html +284 -0
  259. package/docs/types/CSS3DRenderPluginExportType.html +284 -0
  260. package/docs/types/CSS3DRenderPluginParameterType.html +284 -0
  261. package/docs/types/ClassFunctionParameters.html +291 -0
  262. package/docs/types/Color.html +284 -0
  263. package/docs/types/ContentTypeConfigKey.html +284 -0
  264. package/docs/types/ContentTypeConfigKeySplit.html +284 -0
  265. package/docs/types/ContentTypeMap.html +284 -0
  266. package/docs/types/Create3DDomContainerReturnType.html +284 -0
  267. package/docs/types/Create3DElementReturnType.html +284 -0
  268. package/docs/types/CruisePluginExportType.html +284 -0
  269. package/docs/types/CruisePluginTypes.CruiseData.html +323 -0
  270. package/docs/types/CruisePluginTypes.MoveEffect.html +300 -0
  271. package/docs/types/CurrentPanoImagePluginExportType.html +284 -0
  272. package/docs/types/DeprecatedMediaPlaneProperty.html +296 -0
  273. package/docs/types/DeprecatedTagProperty.html +299 -0
  274. package/docs/types/Direction-1.html +284 -0
  275. package/docs/types/Direction4.html +284 -0
  276. package/docs/types/ElementRenderer.html +308 -0
  277. package/docs/types/FloorplanRuleLabels.html +287 -0
  278. package/docs/types/FloorplanServerRuleLabels.html +284 -0
  279. package/docs/types/GuideLinePluginExportType.html +284 -0
  280. package/docs/types/GuideLinePluginType.GuideLineItem.html +357 -0
  281. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +378 -0
  282. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +311 -0
  283. package/docs/types/GuideLinePluginType.GuideLineStyle.html +314 -0
  284. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +314 -0
  285. package/docs/types/GuideLinePluginType.PathItem.html +314 -0
  286. package/docs/types/GuideLinePluginType.PluginData.html +323 -0
  287. package/docs/types/HelperEventMap.html +429 -0
  288. package/docs/types/InternalHelperEventMap.html +380 -0
  289. package/docs/types/LoadTagConfig.html +284 -0
  290. package/docs/types/MapviewFloorplanPluginParameterType.html +284 -0
  291. package/docs/types/MapviewFloorplanPluginReturnType.html +284 -0
  292. package/docs/types/MediaData.html +305 -0
  293. package/docs/types/MediaStore.html +289 -0
  294. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +291 -0
  295. package/docs/types/ModelFloorplanPluginParameterType.html +284 -0
  296. package/docs/types/ModelFloorplanPluginReturnType.html +284 -0
  297. package/docs/types/ModelId.html +284 -0
  298. package/docs/types/ModelRoomLabelPluginParameters.html +284 -0
  299. package/docs/types/ModelRoomLabelPluginReturnType.html +284 -0
  300. package/docs/types/MoveArgs.html +294 -0
  301. package/docs/types/MoveOpts.html +292 -0
  302. package/docs/types/Object3DHelperEventMap.html +377 -0
  303. package/docs/types/ObjectFit.html +284 -0
  304. package/docs/types/PaintBrushEventMap.html +315 -0
  305. package/docs/types/PanoCompassPluginData.html +284 -0
  306. package/docs/types/PanoCompassPluginExportType.html +284 -0
  307. package/docs/types/PanoCompassPluginParameterType.html +284 -0
  308. package/docs/types/PanoFloorplanRadarPluginParameterType.html +284 -0
  309. package/docs/types/PanoFloorplanRadarPluginReturnType.html +284 -0
  310. package/docs/types/PanoIndex.html +284 -0
  311. package/docs/types/PanoMeasurePluginEvent.html +284 -0
  312. package/docs/types/PanoMeasureReturnType.html +284 -0
  313. package/docs/types/PanoSpatialTagPluginId.html +284 -0
  314. package/docs/types/PanoTagPluginExportInterface.html +284 -0
  315. package/docs/types/PanoTagPluginParamsInterface.html +284 -0
  316. package/docs/types/PanoVideoPluginParameterType.html +284 -0
  317. package/docs/types/PanoVideoPluginReturnType.html +284 -0
  318. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +292 -0
  319. package/docs/types/PipelinePluginParameterType.html +284 -0
  320. package/docs/types/PipelinePluginReturnType.html +284 -0
  321. package/docs/types/PlaneTag.html +292 -0
  322. package/docs/types/Point2DTag.html +292 -0
  323. package/docs/types/Point3DTag.html +292 -0
  324. package/docs/types/PointTag.html +289 -0
  325. package/docs/types/PointTagInstance.html +289 -0
  326. package/docs/types/Position.html +284 -0
  327. package/docs/types/RotateArgs.html +296 -0
  328. package/docs/types/RotateOpts.html +292 -0
  329. package/docs/types/RuleLabelsKey.html +284 -0
  330. package/docs/types/RuleLabelsValue.html +284 -0
  331. package/docs/types/StickType.html +284 -0
  332. package/docs/types/Tag.html +350 -0
  333. package/docs/types/Tag2D.html +292 -0
  334. package/docs/types/Tag3D.html +292 -0
  335. package/docs/types/TagConfigByKey.html +289 -0
  336. package/docs/types/TagContentType.html +284 -0
  337. package/docs/types/TagContentTypeMapping.html +284 -0
  338. package/docs/types/TagDimensionType.html +286 -0
  339. package/docs/types/TagElement.html +294 -0
  340. package/docs/types/TagEvents.html +337 -0
  341. package/docs/types/TagGLTFObject.html +307 -0
  342. package/docs/types/TagHooks.html +284 -0
  343. package/docs/types/TagId.html +284 -0
  344. package/docs/types/TagInstance.html +362 -0
  345. package/docs/types/TagPointType.html +287 -0
  346. package/docs/types/TagRendererMap.html +291 -0
  347. package/docs/types/TopviewFloorplanPluginParameterType.html +284 -0
  348. package/docs/types/TopviewFloorplanPluginReturnType.html +284 -0
  349. package/docs/types/WorkCode.html +284 -0
  350. package/docs/variables/FLOOR_TYPE_MAP.html +294 -0
  351. package/docs/variables/PLUGIN.html +284 -0
  352. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +287 -0
  353. package/docs/variables/ROOM_TYPE_MAP.html +294 -0
  354. package/docs/variables/defaultGlobalConfig.html +284 -0
  355. package/docs/variables/itemLabelPluginServerParams.html +291 -0
  356. package/docs/variables/modelItemLabelPluginServerParams.html +291 -0
  357. package/docs/variables/modelRoomLabelPluginServerParams.html +291 -0
  358. package/libs/PanoTagPlugin/Components/TagItem.js +235 -273
  359. package/libs/PanoTagPlugin/controller/TagRender.d.ts +1 -1
  360. package/libs/PanoTagPlugin/controller/TagRender.js +70 -62
  361. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +2 -0
  362. package/libs/PanoTagPlugin/controller/TagUtil.js +22 -20
  363. package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
  364. package/libs/PanoTagPlugin/controller/index.js +68 -62
  365. package/libs/PanoTagPlugin/tag.config.js +5 -0
  366. package/libs/PanoTagPlugin/typings/controller.d.ts +17 -16
  367. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +3 -2
  368. package/libs/base/BasePlugin.js +1 -1
  369. package/libs/shared-utils/logger.js +1 -1
  370. package/package.json +1 -1
@@ -65,7 +65,7 @@ export declare abstract class TagRender extends TagComputer {
65
65
  /**
66
66
  * @description 一个点的标签
67
67
  */
68
- protected setPointTagPosition(tag?: TagInstance | TagInstance[]): void;
68
+ protected setPointTagPosition: (tag?: TagInstance | TagInstance[]) => void;
69
69
  /**
70
70
  * @description 渲染单个点的标签
71
71
  */
@@ -1,9 +1,9 @@
1
1
  var I = Object.defineProperty;
2
2
  var j = Object.getOwnPropertySymbols;
3
- var x = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
3
+ var V = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
4
4
  var C = (u, l, e) => l in u ? I(u, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : u[l] = e, k = (u, l) => {
5
5
  for (var e in l || (l = {}))
6
- x.call(l, e) && C(u, e, l[e]);
6
+ V.call(l, e) && C(u, e, l[e]);
7
7
  if (j)
8
8
  for (var e of j(l))
9
9
  O.call(l, e) && C(u, e, l[e]);
@@ -13,18 +13,18 @@ var h = (u, l, e) => (C(u, typeof l != "symbol" ? l + "" : l, e), e);
13
13
  var M = (u, l, e) => new Promise((o, t) => {
14
14
  var i = (s) => {
15
15
  try {
16
- n(e.next(s));
17
- } catch (a) {
18
- t(a);
16
+ a(e.next(s));
17
+ } catch (n) {
18
+ t(n);
19
19
  }
20
20
  }, r = (s) => {
21
21
  try {
22
- n(e.throw(s));
23
- } catch (a) {
24
- t(a);
22
+ a(e.throw(s));
23
+ } catch (n) {
24
+ t(n);
25
25
  }
26
- }, n = (s) => s.done ? o(s.value) : Promise.resolve(s.value).then(i, r);
27
- n((e = e.apply(u, l)).next());
26
+ }, a = (s) => s.done ? o(s.value) : Promise.resolve(s.value).then(i, r);
27
+ a((e = e.apply(u, l)).next());
28
28
  });
29
29
  import { TagComputer as E } from "./TagComputer.js";
30
30
  import { Group as R, Quaternion as G, Vector3 as D, Matrix4 as g } from "three";
@@ -102,7 +102,6 @@ import "../../vendor/svelte/easing/index.js";
102
102
  import "../Components/Common/Icon/Icon.js";
103
103
  import "../utils/getImageInfo.js";
104
104
  import "../utils/px2rem.js";
105
- import "../../vendor/classnames/index.js";
106
105
  import "../Components/Tag/TextTag/index.js";
107
106
  import "../Components/Tag/TextTag/TextTag.js";
108
107
  import "../Components/Common/Line/Straight.js";
@@ -163,6 +162,7 @@ import "../Components/Tag/MediaPlane.js";
163
162
  import "../Components/Tag/LinkTag.js";
164
163
  import "../Components/Tag/PanoramaTag.js";
165
164
  import "../Components/Tag/CustomTag.js";
165
+ import "../../vendor/classnames/index.js";
166
166
  import "@realsee/five/gltf-loader";
167
167
  const B = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map();
168
168
  class Si extends E {
@@ -184,7 +184,7 @@ class Si extends E {
184
184
  */
185
185
  h(this, "updateRender3DDomTag", (e) => {
186
186
  (e ? v(e) : this.filterCSS3DTag).forEach((t) => {
187
- var i, r, n, s, a;
187
+ var i, r, a, s, n;
188
188
  if (t.tag3DContentSvelte) {
189
189
  const { svelteApp: c, css3DInstance: m, initialNormal: f, currentNormal: d } = t.tag3DContentSvelte;
190
190
  if ((r = m == null ? void 0 : m.css3DObject) == null || r.setVisible((this.state.visible && ((i = t.state) == null ? void 0 : i.visible)) !== !1), c.$set({ tag: t, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !f.equals(d)) {
@@ -193,7 +193,7 @@ class Si extends E {
193
193
  }
194
194
  return;
195
195
  } else {
196
- if (y(t) && !((n = t.model) != null && n.object) || ((s = t.state) == null ? void 0 : s.visible) === !1 || !this.state.visible || !this.state.enabled || !this.css3DRenderPlugin)
196
+ if (y(t) && !((a = t.model) != null && a.object) || ((s = t.state) == null ? void 0 : s.visible) === !1 || !this.state.visible || !this.state.enabled || !this.css3DRenderPlugin)
197
197
  return;
198
198
  if (t.stickType === "3DPoint" && !t.normal)
199
199
  return console.error("updateRenderPlaneTag: 三维点标签缺少法向量!");
@@ -206,12 +206,12 @@ class Si extends E {
206
206
  const f = this.getTagConfig(t), d = k({ wrapperStyle: { zIndex: this.calculateTagZIndex(t).toString() } }, f.tag3DConfig);
207
207
  if (this.getRenderType(t) === "BehindDom" || d.mode === "behind") {
208
208
  d.mode = "behind", d.container = document.createElement("div");
209
- const P = "black";
210
- d.container.style.backgroundColor = P, d.container.style.border = `3px solid ${P}`, this.css3DRenderPlugin.hooks.on("render", () => {
209
+ const T = "black";
210
+ d.container.style.backgroundColor = T, d.container.style.border = `3px solid ${T}`, this.css3DRenderPlugin.hooks.on("render", () => {
211
211
  var b;
212
212
  if (p.css3DObject.opacityMesh && f.clickable !== !1) {
213
- const A = this.addObjectClickHandler(t, p.css3DObject.opacityMesh, (V) => {
214
- this.hooks.emit("click", { event: V, target: "TagContent", tag: t });
213
+ const A = this.addObjectClickHandler(t, p.css3DObject.opacityMesh, (x) => {
214
+ this.hooks.emit("click", { event: x, target: "TagContent", tag: t });
215
215
  });
216
216
  (b = this.store.css3DRenderDisposer.get(t.id)) == null || b.push(A);
217
217
  }
@@ -221,7 +221,7 @@ class Si extends E {
221
221
  if (!p)
222
222
  return;
223
223
  this.store.css3DRenderDisposer.set(t.id, [p.dispose]);
224
- const T = new _({
224
+ const P = new _({
225
225
  target: p.container,
226
226
  props: {
227
227
  tag: t,
@@ -233,18 +233,47 @@ class Si extends E {
233
233
  }
234
234
  });
235
235
  t.tag3DContentSvelte = {
236
- svelteApp: T,
236
+ svelteApp: P,
237
237
  domContainer: p,
238
238
  css3DInstance: p,
239
239
  initialNormal: m,
240
240
  currentNormal: m,
241
241
  dispose: () => {
242
- T.$destroy(), p.dispose();
242
+ P.$destroy(), p.dispose();
243
243
  }
244
- }, y(t) && ((a = t.model) != null && a.object) && this.updateTagCss3DObjectMatrix(t, t.model.object);
244
+ }, y(t) && ((n = t.model) != null && n.object) && this.updateTagCss3DObjectMatrix(t, t.model.object);
245
245
  }
246
246
  }), this.clearUnusedPanelTag();
247
247
  });
248
+ /**
249
+ * @description 一个点的标签
250
+ */
251
+ h(this, "setPointTagPosition", (e) => {
252
+ const o = e ? v(e) : this.filterPointTag;
253
+ o.length !== 0 && o.forEach((t) => {
254
+ var s;
255
+ const i = this.getCurrentVisibleState(t), r = (s = t.__Object__) != null ? s : {
256
+ timeoutId: void 0,
257
+ inAnimation: !1
258
+ };
259
+ if (t.__Object__ = r, !i && t.screenPosition ? (r.inAnimation = !0, r.timeoutId = setTimeout(() => {
260
+ requestAnimationFrame(() => {
261
+ this.getCurrentVisibleState(t) || (r.inAnimation = !1, t.screenPosition = null, this.updateDomView());
262
+ });
263
+ }, 1e3)) : r.timeoutId && (clearTimeout(r.timeoutId), r.inAnimation = !1, r.timeoutId = void 0), !i && !r.inAnimation)
264
+ return;
265
+ const a = this.getTagProject(t);
266
+ if (a) {
267
+ const n = 2 * Math.tan(0.5 * this.five.camera.fov / 180 * Math.PI), c = this.getDistance(t);
268
+ t.screenPosition = {
269
+ leftPx: (a.x + 1) / 2 * this.renderWidthPx,
270
+ topPx: (-a.y + 1) / 2 * this.renderHeightPx,
271
+ scale: Math.max(Math.min(1 - n * c / 40, 1), 0.5)
272
+ };
273
+ } else
274
+ t.screenPosition = null;
275
+ });
276
+ });
248
277
  /**
249
278
  * @description 渲染单个点的标签
250
279
  */
@@ -254,14 +283,14 @@ class Si extends E {
254
283
  });
255
284
  /** 加载外部模型 */
256
285
  h(this, "loadModel", (e) => M(this, null, function* () {
257
- var n;
286
+ var a;
258
287
  const o = e.data.modelUrl;
259
288
  if (!o)
260
289
  return;
261
290
  e.loading = !0;
262
291
  const t = L(o).then((s) => {
263
292
  var m;
264
- const a = Object.assign(s.scene, {
293
+ const n = Object.assign(s.scene, {
265
294
  customID: e.id,
266
295
  isTagModel: !0,
267
296
  removeEventListener: this.getTagConfig(e).clickable === !1 ? () => {
@@ -269,11 +298,11 @@ class Si extends E {
269
298
  this.hooks.emit("click", { target: "TagModel", tag: e, event: f });
270
299
  })
271
300
  });
272
- return a.visible = this.getCurrentVisibleState(e), new g().fromArray(e.matrix).decompose(a.position, a.quaternion, a.scale), a.updateWorldMatrix(!0, !0), a.visible = this.getVisible(e), (m = this.getTagConfig(e).modelConfig) != null && m.autoLookAtEnabled && a.lookAt(this.five.camera.position.clone().setY(a.position.y)), a;
301
+ return n.visible = this.getCurrentVisibleState(e), new g().fromArray(e.matrix).decompose(n.position, n.quaternion, n.scale), n.updateWorldMatrix(!0, !0), n.visible = this.getVisible(e), (m = this.getTagConfig(e).modelConfig) != null && m.autoLookAtEnabled && n.lookAt(this.five.camera.position.clone().setY(n.position.y)), n;
273
302
  });
274
303
  e.model = { promise: t };
275
304
  const i = yield t;
276
- if (e.loading = !1, ((n = e.model) == null ? void 0 : n.promise) !== t || !this.tags.includes(e))
305
+ if (e.loading = !1, ((a = e.model) == null ? void 0 : a.promise) !== t || !this.tags.includes(e))
277
306
  return;
278
307
  e.model.object = i;
279
308
  const r = this.gltfObjectGroup.children.find((s) => s.customID === e.id);
@@ -283,8 +312,8 @@ class Si extends E {
283
312
  e.mediaPlane = new w(e.data.mediaData[0].url, e.data.mediaPosition.map(S), {
284
313
  objectFit: e.data.objectFit
285
314
  });
286
- const a = new D().addVectors(s[0], s[2]).divideScalar(2);
287
- e.mediaPlane.position.copy(a), i.add(e.mediaPlane);
315
+ const n = new D().addVectors(s[0], s[2]).divideScalar(2);
316
+ e.mediaPlane.position.copy(n), i.add(e.mediaPlane);
288
317
  }
289
318
  this.getRenderType(e) !== "Mesh" && (i.updateTagCss3DObjectMatrix = () => this.updateTagCss3DObjectMatrix(e, i), i.updateTagCss3DObjectMatrix());
290
319
  }
@@ -366,8 +395,8 @@ class Si extends E {
366
395
  const { url: r } = i;
367
396
  if (!r)
368
397
  return;
369
- const n = this.getCurrentVisibleState(t), s = (() => !!(t.mediaPlane && !n))(), a = (() => !!(!t.mediaPlane && n))(), c = (() => !!(t.mediaPlane && t.mediaPlane.src !== r))();
370
- if ((s || c) && t.mediaPlane && (this.imagePlaneGroup.remove(t.mediaPlane), t.mediaPlane.dispose(), t.mediaPlane.removeFromParent(), t.mediaPlane = void 0), a || c) {
398
+ const a = this.getCurrentVisibleState(t), s = (() => !!(t.mediaPlane && !a))(), n = (() => !!(!t.mediaPlane && a))(), c = (() => !!(t.mediaPlane && t.mediaPlane.src !== r))();
399
+ if ((s || c) && t.mediaPlane && (this.imagePlaneGroup.remove(t.mediaPlane), t.mediaPlane.dispose(), t.mediaPlane.removeFromParent(), t.mediaPlane = void 0), n || c) {
371
400
  const f = t.position.map(S), d = new q(r, f, {
372
401
  videoCoverSrc: i.videoCoverUrl,
373
402
  playButton: t.data.playIcon,
@@ -377,10 +406,10 @@ class Si extends E {
377
406
  ImageTextureMap: N,
378
407
  domEvents: this.domEvents
379
408
  });
380
- d.onVideoReady = (T) => {
381
- T.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: d.videoInstance }));
409
+ d.onVideoReady = (P) => {
410
+ P.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: d.videoInstance }));
382
411
  };
383
- const p = (T) => (this.five.on("renderFrame", T), () => this.five.off("renderFrame", T));
412
+ const p = (P) => (this.five.on("renderFrame", P), () => this.five.off("renderFrame", P));
384
413
  d.initialRenderHooks(p), t.mediaPlane = d, this.imagePlaneGroup.add(t.mediaPlane);
385
414
  }
386
415
  });
@@ -396,8 +425,8 @@ class Si extends E {
396
425
  const { url: i } = t.data.mediaData[0];
397
426
  if (!i)
398
427
  return;
399
- const r = t.position.map(S), n = this.getCurrentVisibleState(t), s = (() => !!(t.mediaPlane && !n))(), a = (() => !!(!t.mediaPlane && n))(), c = (() => !!(t.mediaPlane && t.mediaPlane.src !== i))();
400
- (s || c) && t.mediaPlane && (this.imagePlaneGroup.remove(t.mediaPlane), t.mediaPlane.dispose(), t.mediaPlane.removeFromParent(), t.mediaPlane = void 0), (a || c) && (t.mediaPlane = new w(i, r, { objectFit: t.data.objectFit }), this.getTagConfig(t).clickable !== !1 && this.domEvents.addAutoBindEventListener(
428
+ const r = t.position.map(S), a = this.getCurrentVisibleState(t), s = (() => !!(t.mediaPlane && !a))(), n = (() => !!(!t.mediaPlane && a))(), c = (() => !!(t.mediaPlane && t.mediaPlane.src !== i))();
429
+ (s || c) && t.mediaPlane && (this.imagePlaneGroup.remove(t.mediaPlane), t.mediaPlane.dispose(), t.mediaPlane.removeFromParent(), t.mediaPlane = void 0), (n || c) && (t.mediaPlane = new w(i, r, { objectFit: t.data.objectFit }), this.getTagConfig(t).clickable !== !1 && this.domEvents.addAutoBindEventListener(
401
430
  t.mediaPlane,
402
431
  "click",
403
432
  (m) => {
@@ -418,8 +447,8 @@ class Si extends E {
418
447
  const e = (i) => !this.enabledModelTagSet.has(i.customID), o = this.gltfObjectGroup.children.filter(e);
419
448
  o.forEach((i) => i.removeEventListener()), this.gltfObjectGroup.remove(...o), this.tags.filter((i) => i.stickType === "Model").forEach((i) => {
420
449
  var r;
421
- (r = i.model) == null || r.promise.then((n) => {
422
- n.visible = this.getCurrentVisibleState(i);
450
+ (r = i.model) == null || r.promise.then((a) => {
451
+ a.visible = this.getCurrentVisibleState(i);
423
452
  });
424
453
  }), this.five.needsRender = !0;
425
454
  }
@@ -435,15 +464,15 @@ class Si extends E {
435
464
  * @param model 模型
436
465
  */
437
466
  updateTagCss3DObjectMatrix(e, o) {
438
- var T, P, b;
439
- const t = (P = (T = this.getTagConfig(e).tag3DConfig) == null ? void 0 : T.ratio) != null ? P : 216e-5, i = (b = e.tag3DContentSvelte) == null ? void 0 : b.css3DInstance.css3DObject;
467
+ var P, T, b;
468
+ const t = (T = (P = this.getTagConfig(e).tag3DConfig) == null ? void 0 : P.ratio) != null ? T : 216e-5, i = (b = e.tag3DContentSvelte) == null ? void 0 : b.css3DInstance.css3DObject;
440
469
  if (!i)
441
470
  return;
442
471
  const r = y(e) ? e.data.mediaPosition : e.position;
443
472
  if (!r || r.length !== 4 || !Array.isArray(r[0]) || !Array.isArray(r[2]))
444
473
  return;
445
474
  o.updateWorldMatrix(!1, !1);
446
- const n = o.matrixWorld, s = new D().fromArray(r[0]), a = new D().fromArray(r[2]), c = U(s, a).add(new D(0, 0, 5e-4)), m = new g().setPosition(c), f = new g().makeScale(t, t, t), d = new g().multiply(n).multiply(m).multiply(f);
475
+ const a = o.matrixWorld, s = new D().fromArray(r[0]), n = new D().fromArray(r[2]), c = U(s, n).add(new D(0, 0, 5e-4)), m = new g().setPosition(c), f = new g().makeScale(t, t, t), d = new g().multiply(a).multiply(m).multiply(f);
447
476
  d.decompose(i.position, i.quaternion, i.scale);
448
477
  const p = i.opacityMesh;
449
478
  p && d.decompose(p.position, p.quaternion, p.scale);
@@ -455,27 +484,6 @@ class Si extends E {
455
484
  yield Promise.all(o), this.setVisible(), this.updateRenderAllTags();
456
485
  });
457
486
  }
458
- /**
459
- * @description 一个点的标签
460
- */
461
- setPointTagPosition(e) {
462
- const o = e ? v(e) : this.filterPointTag;
463
- o.length !== 0 && o.forEach((t) => {
464
- var s;
465
- const i = this.getCurrentVisibleState(t), r = (s = t.__Object__) != null ? s : {
466
- timeoutId: void 0,
467
- inAnimation: !1
468
- };
469
- if (t.__Object__ = r, !i && t.screenPosition ? (r.inAnimation = !0, r.timeoutId = setTimeout(() => {
470
- requestAnimationFrame(() => {
471
- this.getCurrentVisibleState(t) || (r.inAnimation = !1, t.screenPosition = null, this.updateDomView());
472
- });
473
- }, 1e3)) : r.timeoutId && (clearTimeout(r.timeoutId), r.inAnimation = !1, r.timeoutId = void 0), !i && !r.inAnimation)
474
- return;
475
- const n = this.getTagProject(t);
476
- n ? t.screenPosition = { leftPercent: (n.x + 1) / 2 * 100, topPercent: (-n.y + 1) / 2 * 100 } : t.screenPosition = null;
477
- });
478
- }
479
487
  updateTagContainerVisible() {
480
488
  var e;
481
489
  (e = this.TagContainerSvelte) == null || e.$set({
@@ -483,8 +491,8 @@ class Si extends E {
483
491
  temporaryState: this.temporaryState,
484
492
  withAnimation: this.store.visibleWithAnimation
485
493
  }), this.filterCSS3DTag.forEach((o) => {
486
- var t, i, r, n, s;
487
- (n = (i = (t = o.tag3DContentSvelte) == null ? void 0 : t.css3DInstance) == null ? void 0 : i.css3DObject) == null || n.setVisible((this.state.visible && ((r = o.state) == null ? void 0 : r.visible)) !== !1), (s = o.tag3DContentSvelte) == null || s.svelteApp.$set({
494
+ var t, i, r, a, s;
495
+ (a = (i = (t = o.tag3DContentSvelte) == null ? void 0 : t.css3DInstance) == null ? void 0 : i.css3DObject) == null || a.setVisible((this.state.visible && ((r = o.state) == null ? void 0 : r.visible)) !== !1), (s = o.tag3DContentSvelte) == null || s.svelteApp.$set({
488
496
  state: this.state,
489
497
  temporaryState: this.temporaryState,
490
498
  withAnimation: this.store.visibleWithAnimation
@@ -8,6 +8,8 @@ import type { Mode } from '@realsee/five';
8
8
  import { FiveDomEvents } from '../../shared-utils/five/FiveDomEvents';
9
9
  export declare abstract class TagUtil extends TagCache {
10
10
  tags: TagInstance[];
11
+ renderWidthPx?: number;
12
+ renderHeightPx?: number;
11
13
  get container(): Element;
12
14
  set container(container: Element);
13
15
  config: Pick<Tags, 'globalConfig' | 'contentTypeConfig'>;
@@ -12,10 +12,10 @@ var k = (l, s, e) => s in l ? q(l, s, { enumerable: !0, configurable: !0, writab
12
12
  }, V = (l, s) => K(l, Q(s));
13
13
  var f = (l, s, e) => (k(l, typeof s != "symbol" ? s + "" : s, e), e);
14
14
  import { defaultGlobalConfig as ie } from "../typings/tag/TagConfig.js";
15
- import { objectAssignDeepExports as y } from "../../vendor/object-assign-deep/objectAssignDeep.js";
15
+ import { objectAssignDeepExports as P } from "../../vendor/object-assign-deep/objectAssignDeep.js";
16
16
  import * as U from "three";
17
17
  import { DefaultConfig as te } from "../tag.config.js";
18
- import { anyPositionToVector3 as P } from "../../shared-utils/positionToVector3.js";
18
+ import { anyPositionToVector3 as y } from "../../shared-utils/positionToVector3.js";
19
19
  import { planeNormal as E } from "../utils/planeNormal.js";
20
20
  import { getTagCenterPosition as B } from "../utils/tagPosition.js";
21
21
  import { normalPositionToPositions as oe } from "../utils/normalPositionToPositions.js";
@@ -28,11 +28,11 @@ import { isMediaPlaneTag as ce, isMediaModelTag as N, isPlaneTag as le, isPoint3
28
28
  import { VideoPlane as ue } from "../utils/model/mediaPlane.js";
29
29
  import { FiveDomEvents as me } from "../../shared-utils/five/FiveDomEvents.js";
30
30
  import z from "../utils/tag/adaptConfig.js";
31
- import { isPanoramaLike as S, isModelLike as $ } from "../../shared-utils/five/mode.js";
31
+ import { isPanoramaLike as S, isModelLike as H } from "../../shared-utils/five/mode.js";
32
32
  import "hammerjs";
33
33
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
34
34
  import "animejs";
35
- import { entries as H } from "../../shared-utils/typescript/entries.js";
35
+ import { entries as $ } from "../../shared-utils/typescript/entries.js";
36
36
  import { getUrlExt as J } from "../../shared-utils/url/getUrl.js";
37
37
  import { transformPosition as G } from "../../shared-utils/five/transformPosition.js";
38
38
  import "../../shared-utils/three/centerPoint.js";
@@ -72,6 +72,8 @@ class Ti extends ne {
72
72
  constructor(e) {
73
73
  super(e);
74
74
  f(this, "tags", []);
75
+ f(this, "renderWidthPx");
76
+ f(this, "renderHeightPx");
75
77
  f(this, "config", te);
76
78
  /** 插件参数 */
77
79
  f(this, "params");
@@ -187,7 +189,7 @@ class Ti extends ne {
187
189
  const o = this.getTagConfig(e);
188
190
  if (e.config = o, e.config.initialData) {
189
191
  const n = JSON.parse(JSON.stringify(e.data));
190
- e.data = (t = o.initialData) != null && t.important ? y(e.data, n, o.initialData) : y(e.data, o.initialData, n);
192
+ e.data = (t = o.initialData) != null && t.important ? P(e.data, n, o.initialData) : P(e.data, o.initialData, n);
191
193
  }
192
194
  });
193
195
  }
@@ -245,7 +247,7 @@ class Ti extends ne {
245
247
  const n = this.workUtil.getObserverPosition(o);
246
248
  if (n === void 0)
247
249
  throw new Error(`getAngle(): observerPosition is ${n}`);
248
- const r = (() => e.stickType === "3DPoint" ? P(e.normal) : E(e.position))();
250
+ const r = (() => e.stickType === "3DPoint" ? y(e.normal) : E(e.position))();
249
251
  if (!r)
250
252
  return;
251
253
  const a = B(e);
@@ -272,7 +274,7 @@ class Ti extends ne {
272
274
  const g = d.distanceTo(a);
273
275
  return r && (r.distance = g), g;
274
276
  }
275
- if ($(n))
277
+ if (H(n))
276
278
  return this.five.camera.position.distanceTo(a);
277
279
  }
278
280
  getPositions(e) {
@@ -281,7 +283,7 @@ class Ti extends ne {
281
283
  if (N(e))
282
284
  return e.data.mediaPosition;
283
285
  if (de(e))
284
- return oe(this.five.camera.position, P(e.position), P(e.normal));
286
+ return oe(this.five.camera.position, y(e.position), y(e.normal));
285
287
  }
286
288
  addObjectClickHandler(e, i, o) {
287
289
  if (!i || !this.domEvents)
@@ -299,7 +301,7 @@ class Ti extends ne {
299
301
  }
300
302
  getTagNormal(e) {
301
303
  if (e.normal)
302
- return P(e.normal);
304
+ return y(e.normal);
303
305
  if (e.stickType === "Plane")
304
306
  return E(e.position);
305
307
  if (e.stickType === "Model")
@@ -309,7 +311,7 @@ class Ti extends ne {
309
311
  if (!e)
310
312
  return;
311
313
  const i = this.workUtil.transform;
312
- return Array.isArray(e) && e.length === 4 ? e.map(P).map((o) => G(o, i)) : G(P(e), i);
314
+ return Array.isArray(e) && e.length === 4 ? e.map(y).map((o) => G(o, i)) : G(y(e), i);
313
315
  }
314
316
  getTransformedMatrix(e) {
315
317
  const i = new U.Matrix4().fromArray(e);
@@ -326,20 +328,20 @@ class Ti extends ne {
326
328
  * @description 获取merge后的配置
327
329
  */
328
330
  calculateTagConfig(e, i) {
329
- var w, A, x, O, I;
331
+ var w, x, A, O, I;
330
332
  const o = (w = i == null ? void 0 : i.useCache) != null ? w : !0;
331
333
  if (!e)
332
- return (A = this.config.globalConfig) != null ? A : {};
334
+ return (x = this.config.globalConfig) != null ? x : {};
333
335
  if (o) {
334
- if ((x = e == null ? void 0 : e.computedConfig) != null && x._isMerged)
336
+ if ((A = e == null ? void 0 : e.computedConfig) != null && A._isMerged)
335
337
  return e.computedConfig;
336
338
  if ((O = e == null ? void 0 : e.config) != null && O._isMerged)
337
339
  return e.config;
338
340
  }
339
341
  const t = {}, n = {}, r = {};
340
342
  this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([u, m]) => {
341
- var W, R;
342
- const c = u, _ = c.split("-"), j = u.startsWith("["), T = j ? _[0].slice(1, -1) : void 0, h = j ? _.slice(1) : _, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (W = n[T]) != null ? W : n[T] = {} : (R = r[T]) != null ? R : r[T] = {} : t;
343
+ var j, R;
344
+ const c = u, _ = c.split("-"), W = u.startsWith("["), T = W ? _[0].slice(1, -1) : void 0, h = W ? _.slice(1) : _, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (j = n[T]) != null ? j : n[T] = {} : (R = r[T]) != null ? R : r[T] = {} : t;
343
345
  if (!v[c]) {
344
346
  if (h.length === 0 && (v[c] = m), h.length === 1) {
345
347
  const [p] = h;
@@ -358,14 +360,14 @@ class Ti extends ne {
358
360
  }
359
361
  }
360
362
  });
361
- const a = (I = e.initialConfig) != null ? I : {}, d = y({}, ie, this.config.globalConfig, ...Object.values(t)), g = y({}, d, a), C = {}, X = Object.values(ae.Mode);
362
- H(n).forEach(([u, m]) => {
363
+ const a = (I = e.initialConfig) != null ? I : {}, d = P({}, ie, this.config.globalConfig, ...Object.values(t)), g = P({}, d, a), C = {}, X = Object.values(ae.Mode);
364
+ $(n).forEach(([u, m]) => {
363
365
  X.forEach((c) => {
364
- (u === "PanoramaLike" && S(c) || u === "ModelLike" && $(c)) && (C[c] = y({}, d, ...Object.values(m), a, { _isMerged: !0 }));
366
+ (u === "PanoramaLike" && S(c) || u === "ModelLike" && H(c)) && (C[c] = P({}, d, ...Object.values(m), a, { _isMerged: !0 }));
365
367
  });
366
- }), H(r).forEach(([u, m]) => {
368
+ }), $(r).forEach(([u, m]) => {
367
369
  const c = C[u];
368
- C[u] = y({}, d, c, ...Object.values(m), a, { _isMerged: !0 });
370
+ C[u] = P({}, d, c, ...Object.values(m), a, { _isMerged: !0 });
369
371
  });
370
372
  const b = V(D({}, g), { configWithFiveMode: C });
371
373
  return z(b), Object.values(C).forEach((u) => z(u)), b._isMerged = !0, b;
@@ -148,6 +148,7 @@ declare class PanoTagPluginController extends TagRender {
148
148
  */
149
149
  private clickhandler;
150
150
  private handleFiveCameraUpdate;
151
+ private handleFiveCameraFovUpdate;
151
152
  private handleFivePanoArrived;
152
153
  /** 楼层切换时,需要更新标签可见性 */
153
154
  private handleFiveModelShownFloorChange;