@realsee/dnalogel 2.27.0-dev.0 → 2.27.0-dev.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 (380) hide show
  1. package/dist/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -1
  2. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +1 -5
  3. package/dist/PanoTagPlugin/controller/index.d.ts +1 -1
  4. package/dist/PanoTagPlugin/typings/controller.d.ts +0 -2
  5. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +8 -3
  6. package/dist/PanoTagPlugin/utils/index.d.ts +1 -1
  7. package/dist/index.cjs.js +10 -10
  8. package/dist/index.js +133 -138
  9. package/dist/index.umd.js +10 -10
  10. package/docs/assets/search.js +1 -1
  11. package/docs/classes/CSS3DRender.html +30 -30
  12. package/docs/classes/CruisePluginController.html +3 -3
  13. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  14. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  15. package/docs/classes/Magnifier.html +3 -3
  16. package/docs/classes/ModelRoomLabelController.html +3 -3
  17. package/docs/classes/Object3DHelperController.html +3 -3
  18. package/docs/classes/PaintBrush.html +3 -3
  19. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  20. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  21. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  22. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  23. package/docs/classes/PanoTagPluginController.html +25 -25
  24. package/docs/classes/Util.BetterTween.html +3 -3
  25. package/docs/classes/Util.Interval.html +3 -3
  26. package/docs/classes/Util.Magnifier.html +3 -3
  27. package/docs/classes/Util.PointDomHelper.html +3 -3
  28. package/docs/classes/Util.PointHelper.html +3 -3
  29. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  30. package/docs/classes/Util.Rectangle.html +3 -3
  31. package/docs/enums/CameraMovementEffect.html +3 -3
  32. package/docs/enums/ContentType.html +3 -3
  33. package/docs/enums/DIRECTION.html +3 -3
  34. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  35. package/docs/enums/DimensionType.html +3 -3
  36. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  37. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  38. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  39. package/docs/enums/PointType.html +3 -3
  40. package/docs/enums/Rotation.html +3 -3
  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/GuideLinePlugin.html +3 -3
  45. package/docs/functions/ItemLabelPlugin.html +3 -3
  46. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  47. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  48. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  49. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  50. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  51. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  52. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  53. package/docs/functions/ModelViewPlugin.html +3 -3
  54. package/docs/functions/Object3DHelperPlugin.html +3 -3
  55. package/docs/functions/PanoCompassPlugin.html +3 -3
  56. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  57. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  58. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  59. package/docs/functions/PanoMeasurePlugin.html +3 -3
  60. package/docs/functions/PanoRulerPlugin.html +3 -3
  61. package/docs/functions/PanoRulerProPlugin.html +3 -3
  62. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  63. package/docs/functions/PanoTagPlugin.html +3 -3
  64. package/docs/functions/PanoVideoPlugin.html +3 -3
  65. package/docs/functions/PipelinePlugin.html +3 -3
  66. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  67. package/docs/functions/Util.absoluteUrl.html +3 -3
  68. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  69. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  70. package/docs/functions/Util.getFrameTime.html +3 -3
  71. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  72. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  73. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  74. package/docs/functions/Util.isModelLike.html +3 -3
  75. package/docs/functions/Util.isNil.html +3 -3
  76. package/docs/functions/Util.isPanoramaLike.html +3 -3
  77. package/docs/functions/Util.nextFrame.html +3 -3
  78. package/docs/functions/Util.notNil.html +3 -3
  79. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  80. package/docs/functions/Util.tweenProgress.html +3 -3
  81. package/docs/functions/Util.uuid.html +3 -3
  82. package/docs/functions/pluginFlag.html +3 -3
  83. package/docs/index.html +4 -4
  84. package/docs/interfaces/AddTagConfig.html +5 -5
  85. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  86. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  87. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  88. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  89. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  90. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  91. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  92. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  93. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  94. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  95. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  96. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  97. package/docs/interfaces/EventMap.html +12 -12
  98. package/docs/interfaces/FloorplanBounding.html +3 -3
  99. package/docs/interfaces/FloorplanData.html +3 -3
  100. package/docs/interfaces/FloorplanEntrance.html +3 -3
  101. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  102. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  103. package/docs/interfaces/FloorplanFloorData.html +3 -3
  104. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  105. package/docs/interfaces/FloorplanObserver.html +3 -3
  106. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  107. package/docs/interfaces/FloorplanPosition.html +3 -3
  108. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  109. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  110. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  111. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  112. package/docs/interfaces/FloorplanServerData.html +3 -3
  113. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  114. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  115. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  116. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  117. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  118. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  119. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  120. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  121. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  122. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  123. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  124. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  125. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  126. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  127. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  128. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  129. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  130. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  131. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  132. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  133. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  134. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  135. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  136. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  137. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  138. package/docs/interfaces/HelperOffset.html +3 -3
  139. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  140. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  141. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  142. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  143. package/docs/interfaces/MinMax.html +3 -3
  144. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  145. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  146. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  147. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  148. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  149. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  150. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  151. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  152. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  153. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  154. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  155. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  156. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  157. package/docs/interfaces/Object3DHelperState.html +3 -3
  158. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  159. package/docs/interfaces/PaintBrushAction.html +3 -3
  160. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  161. package/docs/interfaces/PaintBrushState.html +3 -3
  162. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  163. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  164. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  165. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  166. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  167. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  168. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  169. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  170. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  171. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  172. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  173. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  174. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  175. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  176. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  177. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  178. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  179. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  180. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  181. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  182. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  183. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  184. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  185. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  186. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  187. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  188. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  189. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  190. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  191. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  192. package/docs/interfaces/Point.html +3 -3
  193. package/docs/interfaces/Room.html +3 -3
  194. package/docs/interfaces/RoomInfo.html +3 -3
  195. package/docs/interfaces/RoomLabel.html +3 -3
  196. package/docs/interfaces/RoomRules.html +3 -3
  197. package/docs/interfaces/Rooms.html +3 -3
  198. package/docs/interfaces/Scissor.html +3 -3
  199. package/docs/interfaces/State.html +4 -4
  200. package/docs/interfaces/TagCacheInterface.html +11 -18
  201. package/docs/interfaces/TagConfig.html +9 -9
  202. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  203. package/docs/interfaces/TagIconUrl.html +3 -3
  204. package/docs/interfaces/TagObjectGroup.html +3 -3
  205. package/docs/interfaces/TagStyle.html +3 -3
  206. package/docs/interfaces/Tags.html +3 -3
  207. package/docs/interfaces/TemporaryState.html +5 -5
  208. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  209. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  210. package/docs/interfaces/Util.PointIntersection.html +3 -3
  211. package/docs/modules/CruisePluginTypes.html +3 -3
  212. package/docs/modules/GuideLineItem.html +3 -3
  213. package/docs/modules/GuideLineModeItem.html +3 -3
  214. package/docs/modules/GuideLinePluginType.html +3 -3
  215. package/docs/modules/PanoVideoPluginType.html +3 -3
  216. package/docs/modules/Util.html +3 -3
  217. package/docs/modules.html +4 -4
  218. package/docs/types/ArrayPosition.html +3 -3
  219. package/docs/types/AudioAppearance.html +3 -3
  220. package/docs/types/AudioTagTypeConfigKey.html +3 -3
  221. package/docs/types/CSS3DRenderExportType.html +3 -3
  222. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  223. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  224. package/docs/types/ClassFunctionParameters.html +3 -3
  225. package/docs/types/Color.html +3 -3
  226. package/docs/types/ContentTypeConfigKey.html +3 -3
  227. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  228. package/docs/types/ContentTypeMap.html +3 -3
  229. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  230. package/docs/types/Create3DElementReturnType.html +3 -3
  231. package/docs/types/CruisePluginExportType.html +3 -3
  232. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  233. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  234. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  235. package/docs/types/DeprecatedTagProperty.html +3 -3
  236. package/docs/types/Direction-1.html +3 -3
  237. package/docs/types/Direction4.html +3 -3
  238. package/docs/types/ElementRenderer.html +3 -3
  239. package/docs/types/FloorplanRuleLabels.html +3 -3
  240. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  241. package/docs/types/GuideLinePluginExportType.html +3 -3
  242. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  243. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  244. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  245. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  246. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  247. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  248. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  249. package/docs/types/HelperEventMap.html +3 -3
  250. package/docs/types/LoadTagConfig.html +4 -4
  251. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  252. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  253. package/docs/types/MediaData.html +3 -3
  254. package/docs/types/MediaStore.html +4 -4
  255. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  256. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  257. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  258. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  259. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  260. package/docs/types/MoveArgs.html +3 -3
  261. package/docs/types/MoveOpts.html +3 -3
  262. package/docs/types/Object3DHelperEventMap.html +3 -3
  263. package/docs/types/ObjectFit.html +3 -3
  264. package/docs/types/PaintBrushEventMap.html +3 -3
  265. package/docs/types/PanoCompassPluginData.html +3 -3
  266. package/docs/types/PanoCompassPluginExportType.html +3 -3
  267. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  268. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  269. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  270. package/docs/types/PanoIndex.html +3 -3
  271. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  272. package/docs/types/PanoMeasureReturnType.html +3 -3
  273. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  274. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  275. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  276. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  277. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  278. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  279. package/docs/types/PipelinePluginParameterType.html +3 -3
  280. package/docs/types/PipelinePluginReturnType.html +3 -3
  281. package/docs/types/PlaneTag.html +3 -3
  282. package/docs/types/Point2DTag.html +3 -3
  283. package/docs/types/Point3DTag.html +3 -3
  284. package/docs/types/PointTag.html +3 -3
  285. package/docs/types/PointTagInstance.html +4 -4
  286. package/docs/types/Position.html +3 -3
  287. package/docs/types/RotateArgs.html +3 -3
  288. package/docs/types/RotateOpts.html +3 -3
  289. package/docs/types/RuleLabelsKey.html +3 -3
  290. package/docs/types/RuleLabelsValue.html +3 -3
  291. package/docs/types/StickType.html +3 -3
  292. package/docs/types/Tag.html +3 -3
  293. package/docs/types/Tag2D.html +3 -3
  294. package/docs/types/Tag3D.html +3 -3
  295. package/docs/types/TagConfigByKey.html +3 -3
  296. package/docs/types/TagContentType.html +3 -3
  297. package/docs/types/TagDimensionType.html +3 -3
  298. package/docs/types/TagElement.html +3 -3
  299. package/docs/types/TagEvents.html +4 -4
  300. package/docs/types/TagGLTFObject.html +3 -3
  301. package/docs/types/TagHooks.html +4 -4
  302. package/docs/types/TagId.html +3 -3
  303. package/docs/types/TagInstance.html +3 -3
  304. package/docs/types/TagPointType.html +3 -3
  305. package/docs/types/TagRendererMap.html +3 -3
  306. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  307. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  308. package/docs/types/WorkCode.html +3 -3
  309. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  310. package/docs/variables/PLUGIN.html +3 -3
  311. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  312. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  313. package/docs/variables/defaultGlobalConfig.html +4 -4
  314. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  315. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  316. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  317. package/libs/CSS3DRenderPlugin/Controller.js +1 -1
  318. package/libs/CSS3DRenderPlugin/index.js +1 -1
  319. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -1
  320. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +5 -5
  321. package/libs/CruisePlugin/Controller.js +1 -1
  322. package/libs/CruisePlugin/index.js +1 -1
  323. package/libs/GuideLinePlugin/Controller.js +1 -1
  324. package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
  325. package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
  326. package/libs/GuideLinePlugin/index.js +1 -1
  327. package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
  328. package/libs/ModelTVVideoPlugin/index.js +1 -1
  329. package/libs/Object3DHelperPlugin/Controller.js +1 -1
  330. package/libs/Object3DHelperPlugin/index.js +1 -1
  331. package/libs/PanoCompassPlugin/Controller.js +1 -1
  332. package/libs/PanoCompassPlugin/index.js +1 -1
  333. package/libs/PanoDoorLabelPlugin/BaseController.js +1 -1
  334. package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
  335. package/libs/PanoDoorLabelPlugin/index.js +1 -1
  336. package/libs/PanoMeasurePlugin/Components/Controller0.js +1 -1
  337. package/libs/PanoMeasurePlugin/Components/Controller1.js +1 -1
  338. package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
  339. package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -1
  340. package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
  341. package/libs/PanoMeasurePlugin/Model/area.js +1 -1
  342. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
  343. package/libs/PanoMeasurePlugin/index.js +1 -1
  344. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +1 -1
  345. package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
  346. package/libs/PanoSpatialTagPlugin/index.js +1 -1
  347. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -1
  348. package/libs/PanoTagPlugin/Components/Tag/index.js +1 -1
  349. package/libs/PanoTagPlugin/Components/TagContainer.js +1 -1
  350. package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
  351. package/libs/PanoTagPlugin/controller/TagCache.js +1 -1
  352. package/libs/PanoTagPlugin/controller/TagComputer.js +26 -26
  353. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +1 -5
  354. package/libs/PanoTagPlugin/controller/TagUtil.js +49 -53
  355. package/libs/PanoTagPlugin/controller/index.d.ts +1 -1
  356. package/libs/PanoTagPlugin/controller/index.js +8 -8
  357. package/libs/PanoTagPlugin/typings/controller.d.ts +0 -2
  358. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +8 -3
  359. package/libs/PanoTagPlugin/utils/index.d.ts +1 -1
  360. package/libs/PanoTagPlugin/utils/index.js +31 -34
  361. package/libs/PanoVideoPlugin/Controller.js +1 -1
  362. package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
  363. package/libs/PanoVideoPlugin/index.js +1 -1
  364. package/libs/PipelinePlugin/Controller.js +1 -1
  365. package/libs/PipelinePlugin/index.js +1 -1
  366. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +1 -1
  367. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +1 -1
  368. package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -1
  369. package/libs/base/BasePlugin.js +1 -1
  370. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
  371. package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
  372. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
  373. package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
  374. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
  375. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
  376. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
  377. package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
  378. package/libs/index.js +1 -1
  379. package/libs/shared-utils/logger.js +1 -1
  380. package/package.json +1 -1
@@ -4,13 +4,13 @@ import "@realsee/five";
4
4
  import "../CSS3DRenderPlugin/index.js";
5
5
  import "../CSS3DRenderPlugin/Controller.js";
6
6
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
7
+ import "../shared-utils/positionToVector3.js";
7
8
  import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
8
9
  import "three/examples/jsm/renderers/CSS3DRenderer";
9
10
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
10
11
  import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
11
12
  import "../CSS3DRenderPlugin/utils/even.js";
12
13
  import "../shared-utils/Subscribe.js";
13
- import "../shared-utils/positionToVector3.js";
14
14
  import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
15
15
  import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
16
16
  import "../shared-utils/three/centerPoint.js";
@@ -19,13 +19,13 @@ import "../../../vendor/svelte/src/runtime/internal/loop.js";
19
19
  import "../../../vendor/svelte/src/runtime/internal/style_manager.js";
20
20
  import "../../../vendor/svelte/src/runtime/internal/lifecycle.js";
21
21
  import "../../../vendor/svelte/src/shared/version.js";
22
+ import "../../../shared-utils/positionToVector3.js";
22
23
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
23
24
  import "three/examples/jsm/renderers/CSS3DRenderer";
24
25
  import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
25
26
  import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
26
27
  import "../../../CSS3DRenderPlugin/utils/even.js";
27
28
  import "../../../shared-utils/Subscribe.js";
28
- import "../../../shared-utils/positionToVector3.js";
29
29
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
30
30
  import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
31
31
  import "../../../shared-utils/three/centerPoint.js";
@@ -79,13 +79,13 @@ import "hammerjs";
79
79
  import "@realsee/five";
80
80
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
81
81
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
82
+ import "../../../shared-utils/positionToVector3.js";
82
83
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
83
84
  import "three/examples/jsm/renderers/CSS3DRenderer";
84
85
  import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
85
86
  import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
86
87
  import "../../../CSS3DRenderPlugin/utils/even.js";
87
88
  import "../../../shared-utils/Subscribe.js";
88
- import "../../../shared-utils/positionToVector3.js";
89
89
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
90
90
  import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
91
91
  import "../../../shared-utils/three/centerPoint.js";
@@ -74,13 +74,13 @@ import "hammerjs";
74
74
  import "@realsee/five";
75
75
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
76
76
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
77
+ import "../../shared-utils/positionToVector3.js";
77
78
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
78
79
  import "three/examples/jsm/renderers/CSS3DRenderer";
79
80
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
80
81
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
81
82
  import "../../CSS3DRenderPlugin/utils/even.js";
82
83
  import "../../shared-utils/Subscribe.js";
83
- import "../../shared-utils/positionToVector3.js";
84
84
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
85
85
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
86
86
  import "../../shared-utils/three/centerPoint.js";
@@ -76,13 +76,13 @@ import "hammerjs";
76
76
  import "@realsee/five";
77
77
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
78
78
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
79
+ import "../../shared-utils/positionToVector3.js";
79
80
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
80
81
  import "three/examples/jsm/renderers/CSS3DRenderer";
81
82
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
82
83
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
83
84
  import "../../CSS3DRenderPlugin/utils/even.js";
84
85
  import "../../shared-utils/Subscribe.js";
85
- import "../../shared-utils/positionToVector3.js";
86
86
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
87
87
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
88
88
  import "../../shared-utils/three/centerPoint.js";
@@ -8,12 +8,12 @@ import "three";
8
8
  import "@realsee/five";
9
9
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
10
10
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
11
+ import "../../shared-utils/positionToVector3.js";
11
12
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
12
13
  import "three/examples/jsm/renderers/CSS3DRenderer";
13
14
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
14
15
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
15
16
  import "../../CSS3DRenderPlugin/utils/even.js";
16
- import "../../shared-utils/positionToVector3.js";
17
17
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
18
18
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
19
19
  import "../../shared-utils/three/centerPoint.js";
@@ -74,9 +74,9 @@ class Ne extends q {
74
74
  {
75
75
  const s = (() => {
76
76
  var f, d, m;
77
- const o = (f = e.config.visibleConfig) != null ? f : {}, a = this.getDistance(e);
77
+ const o = (f = e.config.visibleConfig) != null ? f : {}, l = this.getDistance(e);
78
78
  if (typeof o == "function")
79
- return { value: o(this.five, { tag: e, distance: a }), reason: "config function result" };
79
+ return { value: o(this.five, { tag: e, distance: l }), reason: "config function result" };
80
80
  if (o.keep === "hidden")
81
81
  return { value: !1, reason: "config.keep is hidden" };
82
82
  if (o.keep === "visible")
@@ -93,10 +93,10 @@ class Ne extends q {
93
93
  reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${n}, tag.panoIndex: ${(m = e.fiveState) == null ? void 0 : m.panoIndex}`
94
94
  };
95
95
  }
96
- if (o.visibleDistance !== void 0 && o.visibleDistance !== "unLimited" && p(a, o.visibleDistance) === !1)
96
+ if (o.visibleDistance !== void 0 && o.visibleDistance !== "unLimited" && p(l, o.visibleDistance) === !1)
97
97
  return {
98
98
  value: !1,
99
- reason: `distance is not in visibleDistance. distance: ${a}, visibleDistance: ${o.visibleDistance}`
99
+ reason: `distance is not in visibleDistance. distance: ${l}, visibleDistance: ${o.visibleDistance}`
100
100
  };
101
101
  if (o.intersectRaycaster !== !1 && (typeof o.intersectRaycaster != "object" || o.intersectRaycaster.enabled !== !1)) {
102
102
  if (n === void 0)
@@ -113,7 +113,7 @@ class Ne extends q {
113
113
  if (p(r, o.angleRange) === !1)
114
114
  return { value: !1, reason: `angle is not in angleRange. angle: ${r}, angleRange: ${o.angleRange}` };
115
115
  }
116
- return console.debug(e.id, "全部检测通过", e), {
116
+ return {
117
117
  value: !0,
118
118
  reason: "all check passed"
119
119
  };
@@ -133,8 +133,8 @@ class Ne extends q {
133
133
  return t === "Panorama";
134
134
  }
135
135
  getVisible(e, i) {
136
- var a, f;
137
- const t = (a = i == null ? void 0 : i.panoIndex) != null ? a : this.five.getCurrentState().panoIndex, n = (f = i == null ? void 0 : i.mode) != null ? f : this.five.getCurrentState().mode, s = this.getVisibleByFiveMode(e), o = n === "Panorama" ? this.getVisibleByPanoIndex(e, t) : !0;
136
+ var l, f;
137
+ const t = (l = i == null ? void 0 : i.panoIndex) != null ? l : this.five.getCurrentState().panoIndex, n = (f = i == null ? void 0 : i.mode) != null ? f : this.five.getCurrentState().mode, s = this.getVisibleByFiveMode(e), o = n === "Panorama" ? this.getVisibleByPanoIndex(e, t) : !0;
138
138
  return s && o;
139
139
  }
140
140
  /** 获取当前点位上模型中的多媒体是否应该展示 */
@@ -172,8 +172,8 @@ class Ne extends q {
172
172
  return !1;
173
173
  })();
174
174
  n.unfolded = o;
175
- const a = this.getUnfoldedByCamera(e);
176
- return a !== void 0 ? a : n.unfolded;
175
+ const l = this.getUnfoldedByCamera(e);
176
+ return l !== void 0 ? l : n.unfolded;
177
177
  }
178
178
  }
179
179
  /**
@@ -193,24 +193,24 @@ class Ne extends q {
193
193
  if (s.autoUnfold === void 0 || s.autoUnfold === !1 || s.autoUnfold.enable === !1 || !s.autoUnfold.strategy)
194
194
  return;
195
195
  if (s.autoUnfold.strategy === "ScreenPostion") {
196
- const a = this.getTagProject(e);
197
- if (a && p(a.x, s.autoUnfold.autoUnfoldProjectX) === !1)
196
+ const l = this.getTagProject(e);
197
+ if (l && p(l.x, s.autoUnfold.autoUnfoldProjectX) === !1)
198
198
  return !1;
199
199
  }
200
200
  if (s.autoUnfold.strategy === "MinimumDistance") {
201
201
  const d = this.filterPointTag.filter((r) => this.getVisible(r)).filter((r) => {
202
- const l = this.getTagProject(r);
203
- if (!l)
202
+ const a = this.getTagProject(r);
203
+ if (!a)
204
204
  return !1;
205
- const { x: u, y: v, z: b } = l;
205
+ const { x: u, y: v, z: b } = a;
206
206
  return !(Math.abs(b) > 1 || Math.abs(u) > 1 || Math.abs(v) > 1);
207
- }).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: l }) => {
207
+ }).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: a }) => {
208
208
  var u, v;
209
- return !(typeof l != "object" || l.keep || l.autoUnfold === !1 || ((u = l.autoUnfold) == null ? void 0 : u.enable) === !1 || ((v = l.autoUnfold) == null ? void 0 : v.strategy) !== "MinimumDistance");
210
- }).map((r) => U(M({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: l }) => {
209
+ return !(typeof a != "object" || a.keep || a.autoUnfold === !1 || ((u = a.autoUnfold) == null ? void 0 : u.enable) === !1 || ((v = a.autoUnfold) == null ? void 0 : v.strategy) !== "MinimumDistance");
210
+ }).map((r) => U(M({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: a }) => {
211
211
  var u, v;
212
- return !(r === void 0 || typeof l != "object" || l.autoUnfold === !1 || ((u = l.autoUnfold) == null ? void 0 : u.enable) === !1 || ((v = l.autoUnfold) == null ? void 0 : v.strategy) !== "MinimumDistance" || l.autoUnfold.distance && p(r, l.autoUnfold.distance) === !1);
213
- }).sort((r, l) => r.distance - l.distance).findIndex((r) => r.id === e.id);
212
+ return !(r === void 0 || typeof a != "object" || a.autoUnfold === !1 || ((u = a.autoUnfold) == null ? void 0 : u.enable) === !1 || ((v = a.autoUnfold) == null ? void 0 : v.strategy) !== "MinimumDistance" || a.autoUnfold.distance && p(r, a.autoUnfold.distance) === !1);
213
+ }).sort((r, a) => r.distance - a.distance).findIndex((r) => r.id === e.id);
214
214
  if (d === -1 || d <= ((o = s.autoUnfold.maxNumber) != null ? o : 1) - 1 === !1)
215
215
  return !1;
216
216
  }
@@ -299,7 +299,7 @@ class Ne extends q {
299
299
  }
300
300
  /** 通过射线检测标签可用性 */
301
301
  getTagEnableByIntersect(e, i) {
302
- var d, m, r, l, u, v;
302
+ var d, m, r, a, u, v;
303
303
  const t = k(k((d = this.getTagConfig(e).visibleConfig) != null ? d : {}).intersectRaycaster), n = i != null ? i : this.five.getCurrentState().panoIndex, s = (m = this.five.work.observers[n]) == null ? void 0 : m.position;
304
304
  if (s === void 0)
305
305
  return { value: !1, reason: { type: "observerPosition is undefined", fivePanoIndex: n } };
@@ -310,7 +310,7 @@ class Ne extends q {
310
310
  return b === "center" ? x(e) : b === "corner" ? N(e) : Array.isArray(b) ? b : [];
311
311
  })()
312
312
  );
313
- let a = 0, f = 0;
313
+ let l = 0, f = 0;
314
314
  for (const b of o) {
315
315
  const h = new B.Vector3().subVectors(b, s).normalize();
316
316
  I.set(s, h);
@@ -323,28 +323,28 @@ class Ne extends q {
323
323
  }).filter(O), [E] = I.intersectObjects(S, !0);
324
324
  return E;
325
325
  })(), j = (r = t.distanceAccuracy) != null ? r : 0.01;
326
- Math.min((l = g == null ? void 0 : g.distance) != null ? l : 1 / 0, (u = y == null ? void 0 : y.distance) != null ? u : 1 / 0) + j >= D ? a++ : f++;
326
+ Math.min((a = g == null ? void 0 : g.distance) != null ? a : 1 / 0, (u = y == null ? void 0 : y.distance) != null ? u : 1 / 0) + j >= D ? l++ : f++;
327
327
  const R = (v = t.needPassed) != null ? v : 1;
328
- if (a >= R)
328
+ if (l >= R)
329
329
  return { value: !0 };
330
330
  }
331
331
  return f === 0 ? { value: !0 } : {
332
332
  value: !1,
333
333
  reason: {
334
334
  type: "intersectRaycaster check failed",
335
- passedCount: a,
335
+ passedCount: l,
336
336
  needPassed: t.needPassed
337
337
  }
338
338
  };
339
339
  }
340
340
  /** 检测是否匹配当前楼层 */
341
341
  getVisibleByFloorIndex(e) {
342
- var s, o, a, f, d, m, r;
342
+ var s, o, l, f, d, m, r;
343
343
  let i = 0;
344
344
  const t = (s = e.fiveState) == null ? void 0 : s.panoIndex;
345
345
  t !== void 0 ? i = (o = this.five.work.observers[t]) == null ? void 0 : o.floorIndex : i = L(
346
346
  this.five.work.observers,
347
- (r = (m = (f = (a = e.model) == null ? void 0 : a.object) == null ? void 0 : f.position) != null ? m : (d = e.mediaPlane) == null ? void 0 : d.position) != null ? r : x(e)
347
+ (r = (m = (f = (l = e.model) == null ? void 0 : l.object) == null ? void 0 : f.position) != null ? m : (d = e.mediaPlane) == null ? void 0 : d.position) != null ? r : x(e)
348
348
  );
349
349
  const n = this.five.model.shownFloor;
350
350
  return n === null || n === i;
@@ -39,9 +39,7 @@ export declare abstract class TagUtil extends TagCache {
39
39
  */
40
40
  getCurrentVisibleState(tag: TagInstance): boolean;
41
41
  protected loadVideoFirstFrame(): void;
42
- protected updateTagConfig(params?: {
43
- force?: boolean;
44
- }): void;
42
+ protected updateTagConfig(): void;
45
43
  protected can<T extends Tag>(action: 'show' | 'hide' | 'fold' | 'unfold', paramsTag: T): boolean;
46
44
  protected getRenderType(tag: TagInstance): 'Dom' | 'Mesh' | 'BehindDom';
47
45
  /**
@@ -58,10 +56,8 @@ export declare abstract class TagUtil extends TagCache {
58
56
  protected getTagNormal(tag: TagInstance): THREE.Vector3 | undefined;
59
57
  protected get filterPointTag(): PointTagInstance[];
60
58
  protected get filter2DPointTag(): TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "2DPoint">[];
61
- protected get filter3DPointTag(): TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "3DPoint">[];
62
59
  protected get filterImagePlane(): TagInstance<"MediaPlane", "Plane">[];
63
60
  protected get filterMediaModel(): TagInstance<"MediaModel", "Model">[];
64
- protected get filterModelTag(): TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Model">[];
65
61
  protected get filterCSS3DTag(): (TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Plane"> | TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Model"> | TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "3DPoint">)[];
66
62
  /**
67
63
  * @description 检查是否已经销毁
@@ -2,19 +2,19 @@ var P = Object.defineProperty;
2
2
  var w = (h, c, e) => c in h ? P(h, c, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[c] = e;
3
3
  var u = (h, c, e) => (w(h, typeof c != "symbol" ? c + "" : c, e), e);
4
4
  import { defaultGlobalConfig as M } from "../typings/tag/TagConfig.js";
5
- import { objectAssignDeepExports as y } from "../../vendor/object-assign-deep/objectAssignDeep.js";
5
+ import { objectAssignDeepExports as p } from "../../vendor/object-assign-deep/objectAssignDeep.js";
6
6
  import * as b from "three";
7
7
  import { DefaultConfig as E } from "../tag.config.js";
8
- import { anyPositionToVector3 as k, arrayPositionToVector3 as p } from "../../shared-utils/positionToVector3.js";
9
- import { planeNormal as g } from "../utils/planeNormal.js";
8
+ import { anyPositionToVector3 as k, arrayPositionToVector3 as g } from "../../shared-utils/positionToVector3.js";
9
+ import { planeNormal as v } from "../utils/planeNormal.js";
10
10
  import { getTagCenterPosition as D } from "../utils/tagPosition.js";
11
11
  import { normalPositionToPositions as I } from "../utils/normalPositionToPositions.js";
12
- import { TagCache as A } from "./TagCache.js";
13
- import { writable as S } from "../../vendor/svelte/src/runtime/store/index.js";
12
+ import { TagCache as S } from "./TagCache.js";
13
+ import { writable as A } from "../../vendor/svelte/src/runtime/store/index.js";
14
14
  import { isIOSWX as V } from "../../shared-utils/device.js";
15
- import { isMediaPlaneTag as F, isMediaModelTag as v, isPlaneTag as L, isPoint3DTag as W } from "../utils/tag/tagCheck.js";
16
- import { VideoPlane as R } from "../utils/model/mediaPlane.js";
17
- import { FiveDomEvents as H } from "../../shared-utils/five/FiveDomEvents.js";
15
+ import { isMediaPlaneTag as F, isMediaModelTag as T, isPlaneTag as L, isPoint3DTag as O } from "../utils/tag/tagCheck.js";
16
+ import { VideoPlane as W } from "../utils/model/mediaPlane.js";
17
+ import { FiveDomEvents as R } from "../../shared-utils/five/FiveDomEvents.js";
18
18
  import "../../shared-utils/three/centerPoint.js";
19
19
  import "../../base/BasePlugin.js";
20
20
  import "../../shared-utils/Subscribe.js";
@@ -42,12 +42,12 @@ import "../Assets/Icon.js";
42
42
  import "../../shared-utils/three/getPositionsByObjectFit.js";
43
43
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
44
44
  import "../../shared-utils/threex/domevents/index.js";
45
- class Me extends A {
45
+ class Me extends S {
46
46
  constructor(e) {
47
47
  super(e);
48
48
  u(this, "tags", []);
49
49
  u(this, "config", E);
50
- u(this, "mediaStore", S({
50
+ u(this, "mediaStore", A({
51
51
  currentMediaElement: null
52
52
  }));
53
53
  /** css3DRenderPlugin */
@@ -58,7 +58,7 @@ class Me extends A {
58
58
  resizeObserverDisposerAdding: !1,
59
59
  css3DRenderDisposer: /* @__PURE__ */ new Map()
60
60
  });
61
- u(this, "domEvents", new H(this.five));
61
+ u(this, "domEvents", new R(this.five));
62
62
  u(this, "mouseInfo");
63
63
  u(this, "preventWhenMouseDown", () => {
64
64
  var e;
@@ -68,7 +68,7 @@ class Me extends A {
68
68
  this.five.on("wantsMoveToPano", this.preventWhenMouseDown), this.five.on("wantsTapGesture", this.preventWhenMouseDown), this.mediaStore.subscribe(({ currentMediaElement: t }) => {
69
69
  this.tags.forEach((o) => {
70
70
  var i;
71
- if (o.mediaPlane instanceof R && t !== o.mediaPlane.videoInstance) {
71
+ if (o.mediaPlane instanceof W && t !== o.mediaPlane.videoInstance) {
72
72
  if (!((i = o.mediaPlane.videoInstance) != null && i.src) || t === o.mediaPlane.videoInstance)
73
73
  return;
74
74
  o.mediaPlane.pause();
@@ -97,14 +97,14 @@ class Me extends A {
97
97
  * @description: 获取merge后的配置
98
98
  */
99
99
  getTagConfig(e, t = { useCache: !0 }) {
100
- var l, a, r;
100
+ var a, d, r;
101
101
  if (!e)
102
- return (l = this.config.globalConfig) != null ? l : {};
103
- if (t.useCache && ((a = e.config) != null && a.isMerged))
102
+ return (a = this.config.globalConfig) != null ? a : {};
103
+ if (t.useCache && ((d = e.config) != null && d.isMerged))
104
104
  return e.config;
105
105
  const o = {};
106
- this.config.contentTypeConfig && Object.keys(this.config.contentTypeConfig).forEach((d) => {
107
- const n = d;
106
+ this.config.contentTypeConfig && Object.keys(this.config.contentTypeConfig).forEach((l) => {
107
+ const n = l;
108
108
  if (o[n])
109
109
  return;
110
110
  const s = n.split("-");
@@ -119,19 +119,19 @@ class Me extends A {
119
119
  if (s.length === 3) {
120
120
  const [f = "Any", m, C] = s;
121
121
  if (m === "Audio" && e.contentType === "Audio") {
122
- const T = e;
123
- (T.stickType === f || f === "Any") && T.data.appearance === C && (o[n] = this.config.contentTypeConfig[n]);
122
+ const y = e;
123
+ (y.stickType === f || f === "Any") && y.data.appearance === C && (o[n] = this.config.contentTypeConfig[n]);
124
124
  }
125
125
  }
126
126
  });
127
- const i = y(
127
+ const i = p(
128
128
  {},
129
129
  M,
130
130
  this.config.globalConfig,
131
131
  ...Object.values(o),
132
132
  e.config
133
133
  );
134
- return typeof i.unfoldedConfig == "object" && (i.unfoldedConfig.disableFold && (i.unfoldedConfig = { keep: "unfolded" }), i.unfoldedConfig.disableUnfold && (i.unfoldedConfig = { keep: "folded" }), i.unfoldedConfig.keep && (i.unfoldedConfig = { keep: i.unfoldedConfig.keep })), typeof i.visibleConfig == "object" && i.visibleConfig.keep && (i.visibleConfig = { keep: i.visibleConfig.keep, visibleFiveMode: (r = i.visibleConfig) == null ? void 0 : r.visibleFiveMode }), i.isMerged = !0, i;
134
+ return typeof i.visibleConfig == "object" && i.visibleConfig.keep && (i.visibleConfig = { keep: i.visibleConfig.keep, visibleFiveMode: (r = i.visibleConfig) == null ? void 0 : r.visibleFiveMode }), typeof i.unfoldedConfig == "object" && (i.unfoldedConfig.disableFold && (i.unfoldedConfig = { keep: "unfolded" }), i.unfoldedConfig.disableUnfold && (i.unfoldedConfig = { keep: "folded" }), i.unfoldedConfig.keep && (i.unfoldedConfig = { keep: i.unfoldedConfig.keep })), i.isMerged = !0, i;
135
135
  }
136
136
  /**
137
137
  * @description 获取标签当前状态
@@ -142,10 +142,12 @@ class Me extends A {
142
142
  loadVideoFirstFrame() {
143
143
  V && this.hooks.emit("loadVideoFirstFrame");
144
144
  }
145
- updateTagConfig(e) {
146
- e != null && e.force && this.clearCache(), this.tags.forEach((t) => {
147
- const o = this.getTagConfig(t, { useCache: !1 });
148
- t.config = o, t.data = y({}, o.initialData, t.data);
145
+ updateTagConfig() {
146
+ this.clearCache(), this.tags.forEach((e) => {
147
+ const t = this.getTagConfig(e, { useCache: !1 });
148
+ e.config = t;
149
+ const o = JSON.parse(JSON.stringify(e.data));
150
+ e.data = t.initialData.important ? p(e.data, o, t.initialData) : p(e.data, t.initialData, o);
149
151
  });
150
152
  }
151
153
  can(e, t) {
@@ -178,7 +180,7 @@ class Me extends A {
178
180
  if (F(e)) {
179
181
  if (i.length === 1 && (i[0].type === "Image" || i[0].type === "Video"))
180
182
  return "Mesh";
181
- } else if (v(e))
183
+ } else if (T(e))
182
184
  return i.length === 1 && i[0].type === "Image" ? "Mesh" : "BehindDom";
183
185
  }
184
186
  })();
@@ -188,7 +190,7 @@ class Me extends A {
188
190
  * @description: 获取角度
189
191
  */
190
192
  getAngle(e, t) {
191
- var l, a;
193
+ var a, d;
192
194
  const o = t != null ? t : this.five.getCurrentState().panoIndex;
193
195
  if (o === void 0)
194
196
  throw new Error(`getDistance(): fivePanoIndex is ${o}`);
@@ -196,16 +198,16 @@ class Me extends A {
196
198
  if (i.angle !== void 0)
197
199
  return i.angle;
198
200
  {
199
- const r = (a = (l = this.five.work) == null ? void 0 : l.observers[o]) == null ? void 0 : a.position;
201
+ const r = (d = (a = this.five.work) == null ? void 0 : a.observers[o]) == null ? void 0 : d.position;
200
202
  if (r === void 0)
201
203
  throw new Error(`getAngleRange(): observerPosition is ${r}`);
202
- const d = (() => e.stickType === "3DPoint" ? k(e.normal) : g(e.position))();
203
- if (!d)
204
+ const l = (() => e.stickType === "3DPoint" ? k(e.normal) : v(e.position))();
205
+ if (!l)
204
206
  return;
205
207
  const n = D(e);
206
208
  if (!n)
207
209
  return;
208
- const s = new b.Vector3().copy(r).sub(n), f = d.angleTo(s) * 180 / Math.PI;
210
+ const s = new b.Vector3().copy(r).sub(n), f = l.angleTo(s) * 180 / Math.PI;
209
211
  return i.angle = f, i.angle;
210
212
  }
211
213
  }
@@ -213,7 +215,7 @@ class Me extends A {
213
215
  * @description: 获取距离
214
216
  */
215
217
  getDistance(e, t) {
216
- var l, a;
218
+ var a, d;
217
219
  const o = t != null ? t : this.five.getCurrentState().panoIndex;
218
220
  if (o === void 0)
219
221
  throw new Error(`getDistance(): fivePanoIndex is ${o}`);
@@ -221,29 +223,29 @@ class Me extends A {
221
223
  if (i.distance !== void 0)
222
224
  return i.distance;
223
225
  {
224
- const r = (a = (l = this.five.work) == null ? void 0 : l.observers[o]) == null ? void 0 : a.position;
226
+ const r = (d = (a = this.five.work) == null ? void 0 : a.observers[o]) == null ? void 0 : d.position;
225
227
  if (r === void 0)
226
228
  throw new Error(`getDistance(): observerPosition is ${r}`);
227
- const d = D(e);
228
- if (!d)
229
+ const l = D(e);
230
+ if (!l)
229
231
  return -1;
230
- const n = r.distanceTo(d);
232
+ const n = r.distanceTo(l);
231
233
  return i.distance = n, n;
232
234
  }
233
235
  }
234
236
  getPositions(e) {
235
237
  if (L(e))
236
238
  return e.position;
237
- if (v(e))
239
+ if (T(e))
238
240
  return e.data.mediaPosition;
239
- if (W(e))
240
- return I(this.five.camera.position, p(e.position), p(e.normal));
241
+ if (O(e))
242
+ return I(this.five.camera.position, g(e.position), g(e.normal));
241
243
  }
242
244
  addObjectClickHandler(e, t, o) {
243
245
  if (!t || !this.domEvents)
244
246
  return () => {
245
247
  };
246
- const i = () => !(!this.getCurrentVisibleState(e) || v(e) && !e.mediaVisible), l = (n) => {
248
+ const i = () => !(!this.getCurrentVisibleState(e) || T(e) && !e.mediaVisible), a = (n) => {
247
249
  if (!i()) {
248
250
  this.mouseInfo = void 0;
249
251
  return;
@@ -255,7 +257,7 @@ class Me extends A {
255
257
  isDown: !0,
256
258
  mouseDownTimestamp: Date.now()
257
259
  };
258
- }, a = (n) => {
260
+ }, d = (n) => {
259
261
  if (!i()) {
260
262
  this.mouseInfo = void 0;
261
263
  return;
@@ -276,7 +278,7 @@ class Me extends A {
276
278
  isDown: !0,
277
279
  mouseDownTimestamp: Date.now()
278
280
  };
279
- }, d = (n) => {
281
+ }, l = (n) => {
280
282
  if (!i()) {
281
283
  this.mouseInfo = void 0;
282
284
  return;
@@ -286,18 +288,18 @@ class Me extends A {
286
288
  const s = n.origDomEvent;
287
289
  this.mouseInfo.isDown && this.mouseInfo.x === Math.floor(s.changedTouches[s.changedTouches.length - 1].clientX) && this.mouseInfo.y === Math.floor(s.changedTouches[s.changedTouches.length - 1].clientY) && Date.now() - this.mouseInfo.mouseDownTimestamp < 400 && o(s), this.mouseInfo = void 0;
288
290
  };
289
- return this.domEvents.addEventListener(t, "mousedown", l, !1), this.domEvents.addEventListener(t, "mouseup", a, !1), this.domEvents.addEventListener(t, "touchstart", r, !1), this.domEvents.addEventListener(t, "touchend", d, !1), () => {
291
+ return this.domEvents.addEventListener(t, "mousedown", a, !1), this.domEvents.addEventListener(t, "mouseup", d, !1), this.domEvents.addEventListener(t, "touchstart", r, !1), this.domEvents.addEventListener(t, "touchend", l, !1), () => {
290
292
  var n, s, f, m;
291
- this.mouseInfo = void 0, (n = this.domEvents) == null || n.removeEventListener(t, "mousedown", l), (s = this.domEvents) == null || s.removeEventListener(t, "mouseup", a), (f = this.domEvents) == null || f.removeEventListener(t, "touchstart", r), (m = this.domEvents) == null || m.removeEventListener(t, "touchend", d);
293
+ this.mouseInfo = void 0, (n = this.domEvents) == null || n.removeEventListener(t, "mousedown", a), (s = this.domEvents) == null || s.removeEventListener(t, "mouseup", d), (f = this.domEvents) == null || f.removeEventListener(t, "touchstart", r), (m = this.domEvents) == null || m.removeEventListener(t, "touchend", l);
292
294
  };
293
295
  }
294
296
  getTagNormal(e) {
295
297
  if (e.normal)
296
- return p(e.normal);
298
+ return g(e.normal);
297
299
  if (e.stickType === "Plane")
298
- return g(e.position);
300
+ return v(e.position);
299
301
  if (e.stickType === "Model")
300
- return g(this.getPositions(e));
302
+ return v(this.getPositions(e));
301
303
  }
302
304
  // TODO: 优化点:下面这些函数,调用比较频繁,可以按点位加缓存
303
305
  get filterPointTag() {
@@ -306,9 +308,6 @@ class Me extends A {
306
308
  get filter2DPointTag() {
307
309
  return this.tags.filter((e) => e.stickType === "2DPoint").filter((e) => e.position);
308
310
  }
309
- get filter3DPointTag() {
310
- return this.tags.filter((e) => e.stickType === "3DPoint").filter((e) => e.position);
311
- }
312
311
  get filterImagePlane() {
313
312
  return this.tags.filter(
314
313
  (e) => e.contentType === "MediaPlane" && e.stickType === "Plane" && this.getRenderType(e) === "Mesh"
@@ -317,9 +316,6 @@ class Me extends A {
317
316
  get filterMediaModel() {
318
317
  return this.tags.filter((e) => e.stickType === "Model" && e.contentType === "MediaModel");
319
318
  }
320
- get filterModelTag() {
321
- return this.tags.filter((e) => e.stickType === "Model");
322
- }
323
319
  get filterCSS3DTag() {
324
320
  return this.tags.filter(
325
321
  (t) => t.stickType === "3DPoint" || t.stickType === "Plane" || t.stickType === "Model" && t.contentType === "MediaModel"
@@ -38,7 +38,7 @@ declare class PanoTagPluginController extends TagRender {
38
38
  /**
39
39
  * @description: 改变类型配置
40
40
  */
41
- changeContentTypeConfig<T extends ContentTypeConfigKey>(key: ContentTypeConfigKey, contentTypeConfig: TagConfigByKey<T>, merge?: boolean): void;
41
+ changeContentTypeConfig<T extends ContentTypeConfigKey>(key: T, contentTypeConfig: TagConfigByKey<T>, merge?: boolean): void;
42
42
  show(params?: {
43
43
  userAction?: boolean;
44
44
  withAnimation?: boolean;
@@ -237,10 +237,10 @@ class wi extends N {
237
237
  const o = (Array.isArray(e) ? e : [e]).map((s) => {
238
238
  var l, c;
239
239
  const n = this.getTagConfig(s), r = JSON.parse(JSON.stringify(s.data));
240
- return b(m({}, s), {
240
+ return s.config = n, b(m({}, s), {
241
241
  enabled: (l = s.enabled) != null ? l : !0,
242
242
  id: (c = s.id) != null ? c : z(),
243
- data: p(s.data, n.initialData, r),
243
+ data: n.initialData.important ? p(s.data, r, n.initialData) : p(s.data, n.initialData, r),
244
244
  state: m({
245
245
  visible: void 0,
246
246
  unfolded: !this.can("fold", s)
@@ -266,19 +266,19 @@ class wi extends N {
266
266
  * @description: 改变配置
267
267
  */
268
268
  changeConfig(e, t = !0) {
269
- t ? this.config = p({}, this.config, e) : this.config = e, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
269
+ t ? this.config = p({}, this.config, e) : this.config = e, this.updateTagConfig(), this.updateRenderAllTags();
270
270
  }
271
271
  /**
272
272
  * @description: 改变全局配置
273
273
  */
274
274
  changeGlobalConfig(e, t = !0) {
275
- t ? this.config.globalConfig = p({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
275
+ t ? this.config.globalConfig = p({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.updateRenderAllTags();
276
276
  }
277
277
  /**
278
278
  * @description: 改变类型配置
279
279
  */
280
280
  changeContentTypeConfig(e, t, i = !0) {
281
- this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = p({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
281
+ this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = p({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.updateRenderAllTags();
282
282
  }
283
283
  show(e) {
284
284
  return f(this, null, function* () {
@@ -458,9 +458,9 @@ class wi extends N {
458
458
  }
459
459
  handleFiveWantsMoveToPano(e) {
460
460
  this.tags.forEach((t) => {
461
- t.state.visible = this.getVisible(t, { panoIndex: e });
462
- const i = this.getTagConfig(t);
463
- typeof i.visibleConfig == "object" && (i.visibleConfig.keep ? t.temporaryState.visible = i.visibleConfig.keep === "visible" : t.temporaryState.visible = !!i.visibleConfig.alwaysShowWhenMovePano);
461
+ this.getVisible(t, { panoIndex: e }) && (t.state.visible = !0);
462
+ const o = this.getTagConfig(t);
463
+ typeof o.visibleConfig == "object" && (o.visibleConfig.keep ? t.temporaryState.visible = o.visibleConfig.keep === "visible" : t.temporaryState.visible = !!o.visibleConfig.alwaysShowWhenMovePano);
464
464
  }), this.updateTagContainerVisible(), this.updateRenderImagePlane(), this.updateRenderVideoPlane();
465
465
  }
466
466
  /**
@@ -4,7 +4,6 @@ import type * as BasePlugin from '../../base/BasePlugin';
4
4
  import type { Writable } from 'svelte/store';
5
5
  import type { TagId } from './tag/Utils';
6
6
  import type { TagContentType } from './tag/TagData';
7
- import type { Vector3 } from 'three';
8
7
  export type TagHooks = InstanceType<typeof PanoTagPluginController>['hooks'];
9
8
  export interface State extends BasePlugin.State {
10
9
  }
@@ -70,7 +69,6 @@ export interface TagCacheInterface {
70
69
  unfolded?: boolean;
71
70
  minimumDistanceResult?: boolean;
72
71
  distance?: number;
73
- distanceMap?: Map<Vector3, number>;
74
72
  angle?: number;
75
73
  /** MedialModelTag 中,多媒体的隐藏 & 展示 */
76
74
  modelMedialVisible?: boolean;
@@ -17,9 +17,9 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
17
17
  visibleConfig?: {
18
18
  /**
19
19
  * @description 保持可见/不可见, 设置后visibleConfig下所有其他配置都不生效
20
- * @default undefined
20
+ * @default null
21
21
  */
22
- keep?: 'visible' | 'hidden';
22
+ keep?: 'visible' | 'hidden' | null;
23
23
  /**
24
24
  * @description 在哪些 five mode 下可见
25
25
  * @default ['Panorama']
@@ -134,7 +134,12 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
134
134
  /** 展开/收起 */
135
135
  unfolded?: boolean;
136
136
  };
137
- initialData?: C extends any ? {} : PartialObjectDeep<ContentTypeMap[C]>;
137
+ initialData?: C extends TagContentType ? PartialObjectDeep<ContentTypeMap[C]> & {
138
+ important?: boolean;
139
+ } : {
140
+ [key: string]: any;
141
+ important?: boolean;
142
+ };
138
143
  tag3DConfig?: Create3DDomContainerParamsType['config'];
139
144
  modelConfig?: {
140
145
  autoLookAtEnabled?: boolean;