@realsee/dnalogel 3.30.6 → 3.31.1-dev.0

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 (385) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +0 -5
  3. package/dist/index.cjs.js +4 -4
  4. package/dist/index.js +469 -475
  5. package/dist/index.umd.js +4 -4
  6. package/docs/assets/search.js +1 -1
  7. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +34 -44
  8. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +34 -44
  9. package/docs/classes/CSS3DRender.html +33 -43
  10. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -31
  11. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +45 -55
  12. package/docs/classes/{ModelMakerPluginInstance.html → Magnifier.html} +113 -200
  13. package/docs/classes/ModelRoomLabelController.html +13 -23
  14. package/docs/classes/MoveController.html +33 -43
  15. package/docs/classes/Object3DHelperController.html +47 -39
  16. package/docs/classes/PaintBrush.html +17 -27
  17. package/docs/classes/PanoMeasurePluginLine.html +36 -56
  18. package/docs/classes/PanoMeasurePluginModel.html +32 -42
  19. package/docs/classes/PanoMeasurePluginPoint.html +13 -23
  20. package/docs/classes/PanoMeasurePluginPolyline.html +34 -54
  21. package/docs/classes/PanoTagPluginController.html +110 -198
  22. package/docs/classes/Util.BetterTween.html +13 -27
  23. package/docs/classes/Util.Interval.html +15 -29
  24. package/docs/classes/Util.LineSegments.html +11 -25
  25. package/docs/classes/Util.Magnifier.html +60 -93
  26. package/docs/classes/Util.Object3D.html +12 -26
  27. package/docs/classes/Util.PointDomHelper.html +14 -28
  28. package/docs/classes/Util.PointHelper.html +14 -28
  29. package/docs/classes/Util.PointSelectorHelper.html +20 -34
  30. package/docs/classes/Util.Rectangle.html +16 -30
  31. package/docs/classes/WalkController.html +29 -39
  32. package/docs/enums/CameraMovementEffect.html +9 -19
  33. package/docs/enums/ContentType.html +23 -33
  34. package/docs/enums/DIRECTION.html +11 -21
  35. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -21
  36. package/docs/enums/DimensionType.html +9 -19
  37. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -20
  38. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -21
  39. package/docs/enums/PaintBrushTypeEnum.html +10 -20
  40. package/docs/enums/PointType.html +9 -19
  41. package/docs/enums/Rotation.html +10 -20
  42. package/docs/functions/AreaMakerPlugin.html +7 -17
  43. package/docs/functions/CSS3DRenderPlugin.html +7 -17
  44. package/docs/functions/CameraMovementPlugin.html +7 -17
  45. package/docs/functions/CruisePlugin.html +7 -17
  46. package/docs/functions/CurrentPanoImagePlugin.html +7 -17
  47. package/docs/functions/GuideLinePlugin.html +7 -17
  48. package/docs/functions/ItemLabelPlugin.html +7 -17
  49. package/docs/functions/MapviewFloorplanPlugin.html +7 -17
  50. package/docs/functions/ModelChassisCompassPlugin.html +7 -17
  51. package/docs/functions/ModelEntryDoorGuidePlugin.html +7 -17
  52. package/docs/functions/ModelFloorplanPlugin.html +7 -17
  53. package/docs/functions/ModelItemLabelPlugin.html +7 -17
  54. package/docs/functions/ModelRoomLabelPlugin.html +7 -17
  55. package/docs/functions/ModelTVVideoPlugin.html +7 -17
  56. package/docs/functions/ModelViewPlugin.html +7 -17
  57. package/docs/functions/MovePlugin.html +8 -18
  58. package/docs/functions/Object3DHelperPlugin.html +7 -17
  59. package/docs/functions/PanoCompassPlugin.html +7 -17
  60. package/docs/functions/PanoCursorRaycasterPlugin.html +7 -17
  61. package/docs/functions/PanoDoorLabelPlugin.html +7 -17
  62. package/docs/functions/PanoFloorplanRadarPlugin.html +7 -17
  63. package/docs/functions/PanoMeasurePlugin.html +7 -17
  64. package/docs/functions/PanoRulerPlugin.html +7 -17
  65. package/docs/functions/PanoRulerProPlugin.html +7 -17
  66. package/docs/functions/PanoSpatialTagPlugin.html +7 -17
  67. package/docs/functions/PanoTagPlugin.html +7 -17
  68. package/docs/functions/PanoVideoPlugin.html +7 -17
  69. package/docs/functions/PipelinePlugin.html +7 -17
  70. package/docs/functions/TopviewFloorplanPlugin.html +7 -17
  71. package/docs/functions/Util.absoluteUrl.html +8 -22
  72. package/docs/functions/Util.checkFiveModelLoaded.html +8 -22
  73. package/docs/functions/Util.equal.html +8 -22
  74. package/docs/functions/Util.getCoordsFromClient.html +8 -22
  75. package/docs/functions/Util.getCoordsFromElement.html +8 -22
  76. package/docs/functions/Util.getFrameTime.html +8 -22
  77. package/docs/functions/Util.getIntersectFromRelativePosition.html +10 -29
  78. package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -22
  79. package/docs/functions/Util.isAbsoluteURL.html +8 -22
  80. package/docs/functions/Util.isModelLike.html +8 -22
  81. package/docs/functions/Util.isNil.html +8 -22
  82. package/docs/functions/Util.isPanoramaLike.html +8 -22
  83. package/docs/functions/Util.nextFrame.html +8 -22
  84. package/docs/functions/Util.notNil.html +8 -22
  85. package/docs/functions/Util.requestAnimationFrameInterval.html +8 -22
  86. package/docs/functions/Util.tweenProgress.html +8 -22
  87. package/docs/functions/Util.uuid.html +8 -22
  88. package/docs/functions/pluginFlag.html +7 -17
  89. package/docs/index.html +7 -18
  90. package/docs/interfaces/AddTagConfig.html +8 -18
  91. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +7 -17
  92. package/docs/interfaces/AreaMakerPluginType.Config.html +7 -17
  93. package/docs/interfaces/AreaMakerPluginType.EventMap.html +20 -30
  94. package/docs/interfaces/AreaMakerPluginType.Params.html +8 -18
  95. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +10 -20
  96. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -19
  97. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +7 -17
  98. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +7 -17
  99. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +7 -17
  100. package/docs/interfaces/AreaMakerPluginType.State.html +9 -19
  101. package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -23
  102. package/docs/interfaces/CSS3DRenderPluginState.html +10 -20
  103. package/docs/interfaces/CameraMovementPluginExportType.html +9 -19
  104. package/docs/interfaces/CruisePluginTypes.Config.html +10 -21
  105. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -24
  106. package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -33
  107. package/docs/interfaces/CruisePluginTypes.MoveAction.html +23 -39
  108. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +18 -30
  109. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +18 -30
  110. package/docs/interfaces/CruisePluginTypes.PluginData.html +30 -41
  111. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -18
  112. package/docs/interfaces/CruisePluginTypes.PluginState.html +14 -25
  113. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -23
  114. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +14 -24
  115. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +9 -19
  116. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +8 -18
  117. package/docs/interfaces/CurrentPanoImagePluginType.State.html +10 -20
  118. package/docs/interfaces/EventMap.html +17 -27
  119. package/docs/interfaces/FloorplanBounding.html +10 -20
  120. package/docs/interfaces/FloorplanData.html +12 -22
  121. package/docs/interfaces/FloorplanEntrance.html +13 -23
  122. package/docs/interfaces/FloorplanExtraObject.html +12 -22
  123. package/docs/interfaces/FloorplanExtraObject3D.html +10 -20
  124. package/docs/interfaces/FloorplanFloorData.html +11 -21
  125. package/docs/interfaces/FloorplanImagePosition.html +9 -19
  126. package/docs/interfaces/FloorplanObserver.html +11 -21
  127. package/docs/interfaces/FloorplanOutlineItem.html +11 -21
  128. package/docs/interfaces/FloorplanPosition.html +9 -19
  129. package/docs/interfaces/FloorplanRoomItem.html +16 -26
  130. package/docs/interfaces/FloorplanRoomLabelItem.html +9 -19
  131. package/docs/interfaces/FloorplanServerBounding.html +10 -20
  132. package/docs/interfaces/FloorplanServerComputedData.html +12 -22
  133. package/docs/interfaces/FloorplanServerData.html +9 -19
  134. package/docs/interfaces/FloorplanServerDoorItem.html +12 -22
  135. package/docs/interfaces/FloorplanServerDoorPosition.html +10 -20
  136. package/docs/interfaces/FloorplanServerEntrance.html +13 -23
  137. package/docs/interfaces/FloorplanServerFloorData.html +11 -21
  138. package/docs/interfaces/FloorplanServerImagePosition.html +9 -19
  139. package/docs/interfaces/FloorplanServerObserver.html +11 -21
  140. package/docs/interfaces/FloorplanServerOutlineItem.html +11 -21
  141. package/docs/interfaces/FloorplanServerPosition.html +9 -19
  142. package/docs/interfaces/FloorplanServerRoomItem.html +17 -27
  143. package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -19
  144. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -20
  145. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -21
  146. package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -24
  147. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -19
  148. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -17
  149. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -26
  150. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -17
  151. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -19
  152. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +22 -32
  153. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -18
  154. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +23 -33
  155. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -16
  156. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -17
  157. package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -19
  158. package/docs/interfaces/GuideLinePluginType.Route.html +12 -22
  159. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -20
  160. package/docs/interfaces/HelperOffset.html +10 -20
  161. package/docs/interfaces/ImagePlaneGroup.html +8 -18
  162. package/docs/interfaces/ItemLabelPluginData.html +8 -18
  163. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -23
  164. package/docs/interfaces/ItemLabelPluginParametersType.html +11 -21
  165. package/docs/interfaces/MinMax.html +9 -19
  166. package/docs/interfaces/ModelChassisCompassPluginData.html +9 -19
  167. package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -20
  168. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -19
  169. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -20
  170. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -20
  171. package/docs/interfaces/ModelItemLabelPluginData.html +8 -18
  172. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -23
  173. package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -19
  174. package/docs/interfaces/ModelRoomLabelPluginData.html +8 -18
  175. package/docs/interfaces/ModelTVVideoPluginData.html +11 -21
  176. package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -20
  177. package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -18
  178. package/docs/interfaces/ModelViewPluginExportType.html +13 -23
  179. package/docs/interfaces/Object3DHelperState.html +10 -20
  180. package/docs/interfaces/ObjectHelperControllers.html +12 -22
  181. package/docs/interfaces/PaintBrushAction.html +14 -24
  182. package/docs/interfaces/PaintBrushConfigs.html +14 -24
  183. package/docs/interfaces/PaintBrushState.html +12 -22
  184. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -22
  185. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -17
  186. package/docs/interfaces/PanoMeasureParameterType.html +18 -28
  187. package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -20
  188. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -19
  189. package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -19
  190. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -20
  191. package/docs/interfaces/PanoRulerPluginExportType.html +12 -22
  192. package/docs/interfaces/PanoRulerPluginOptions.html +9 -19
  193. package/docs/interfaces/PanoRulerPluginParameterType.html +10 -20
  194. package/docs/interfaces/PanoRulerProPluginExportType.html +11 -21
  195. package/docs/interfaces/PanoRulerProPluginOptions.html +9 -19
  196. package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -19
  197. package/docs/interfaces/PanoRulerProPluginState.html +10 -20
  198. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -17
  199. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -17
  200. package/docs/interfaces/PanoSpatialTagPluginData.html +13 -23
  201. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -22
  202. package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -25
  203. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -22
  204. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -25
  205. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -23
  206. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -22
  207. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -18
  208. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -20
  209. package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -18
  210. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -21
  211. package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -18
  212. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -20
  213. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -22
  214. package/docs/interfaces/Point.html +10 -20
  215. package/docs/interfaces/Room.html +11 -21
  216. package/docs/interfaces/RoomInfo.html +9 -19
  217. package/docs/interfaces/RoomLabel.html +16 -26
  218. package/docs/interfaces/RoomRules.html +7 -17
  219. package/docs/interfaces/Rooms.html +7 -17
  220. package/docs/interfaces/Scissor.html +11 -21
  221. package/docs/interfaces/State.html +10 -20
  222. package/docs/interfaces/TagCacheInterface.html +14 -24
  223. package/docs/interfaces/TagConfig.html +49 -65
  224. package/docs/interfaces/TagGLTFObjectGroup.html +8 -18
  225. package/docs/interfaces/TagIconUrl.html +14 -24
  226. package/docs/interfaces/TagObjectGroup.html +8 -18
  227. package/docs/interfaces/TagStyle.html +8 -18
  228. package/docs/interfaces/Tags.html +437 -61
  229. package/docs/interfaces/TemporaryState.html +8 -18
  230. package/docs/interfaces/Util.MagnifierParameter.html +24 -43
  231. package/docs/interfaces/Util.MouseGroupParameter.html +11 -25
  232. package/docs/interfaces/Util.PointIntersection.html +12 -33
  233. package/docs/modules/AreaMakerPluginType.html +6 -16
  234. package/docs/modules/CruisePluginTypes.html +6 -18
  235. package/docs/modules/CurrentPanoImagePluginType.html +7 -17
  236. package/docs/modules/GuideLineItem.html +7 -17
  237. package/docs/modules/GuideLineModeItem.html +7 -17
  238. package/docs/modules/GuideLinePluginType.html +6 -16
  239. package/docs/modules/PanoVideoPluginType.html +7 -17
  240. package/docs/modules/Util.html +8 -26
  241. package/docs/modules.html +11 -34
  242. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +6 -16
  243. package/docs/types/AreaMakerPluginType.ItemRenderer.html +6 -16
  244. package/docs/types/AreaMakerPluginType.PluginData.html +6 -16
  245. package/docs/types/AreaMakerPluginType.ServerData.html +6 -16
  246. package/docs/types/ArrayPosition.html +7 -17
  247. package/docs/types/AudioAppearance.html +7 -17
  248. package/docs/types/{PositionFrom.html → AudioTagTypeConfigKey.html} +10 -28
  249. package/docs/types/CSS3DRenderExportType.html +7 -17
  250. package/docs/types/CSS3DRenderPluginExportType.html +7 -17
  251. package/docs/types/CSS3DRenderPluginParameterType.html +7 -17
  252. package/docs/types/ClassFunctionParameters.html +7 -17
  253. package/docs/types/Color.html +7 -17
  254. package/docs/types/ContentTypeConfigKey.html +7 -17
  255. package/docs/types/ContentTypeConfigKeySplit.html +8 -18
  256. package/docs/types/ContentTypeMap.html +7 -17
  257. package/docs/types/Create3DDomContainerReturnType.html +7 -17
  258. package/docs/types/Create3DElementReturnType.html +7 -17
  259. package/docs/types/CruisePluginExportType.html +7 -17
  260. package/docs/types/CruisePluginTypes.CruiseData.html +6 -17
  261. package/docs/types/CruisePluginTypes.MoveEffect.html +6 -17
  262. package/docs/types/CurrentPanoImagePluginExportType.html +7 -17
  263. package/docs/types/DeprecatedMediaPlaneProperty.html +7 -17
  264. package/docs/types/DeprecatedTagProperty.html +7 -17
  265. package/docs/types/Direction-1.html +7 -17
  266. package/docs/types/Direction4.html +7 -17
  267. package/docs/types/ElementRenderer.html +7 -17
  268. package/docs/types/FloorplanRuleLabels.html +7 -17
  269. package/docs/types/FloorplanServerRuleLabels.html +7 -17
  270. package/docs/types/GuideLinePluginExportType.html +7 -17
  271. package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -18
  272. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -16
  273. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -16
  274. package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -16
  275. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -16
  276. package/docs/types/GuideLinePluginType.PathItem.html +6 -16
  277. package/docs/types/GuideLinePluginType.PluginData.html +6 -16
  278. package/docs/types/HelperEventMap.html +7 -17
  279. package/docs/types/InternalHelperEventMap.html +11 -29
  280. package/docs/types/LoadTagConfig.html +7 -17
  281. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -17
  282. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -17
  283. package/docs/types/MediaData.html +10 -20
  284. package/docs/types/MediaStore.html +7 -17
  285. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -17
  286. package/docs/types/ModelFloorplanPluginParameterType.html +7 -17
  287. package/docs/types/ModelFloorplanPluginReturnType.html +7 -17
  288. package/docs/types/ModelId.html +7 -17
  289. package/docs/types/ModelRoomLabelPluginParameters.html +7 -17
  290. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -17
  291. package/docs/types/MoveArgs.html +7 -17
  292. package/docs/types/MoveOpts.html +7 -17
  293. package/docs/types/Object3DHelperEventMap.html +7 -17
  294. package/docs/types/ObjectFit.html +7 -17
  295. package/docs/types/PaintBrushEventMap.html +7 -17
  296. package/docs/types/PanoCompassPluginData.html +7 -17
  297. package/docs/types/PanoCompassPluginExportType.html +7 -17
  298. package/docs/types/PanoCompassPluginParameterType.html +7 -17
  299. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -17
  300. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -17
  301. package/docs/types/PanoIndex.html +7 -17
  302. package/docs/types/PanoMeasurePluginEvent.html +7 -17
  303. package/docs/types/PanoMeasureReturnType.html +7 -17
  304. package/docs/types/PanoSpatialTagPluginId.html +7 -17
  305. package/docs/types/PanoTagPluginExportInterface.html +7 -17
  306. package/docs/types/PanoTagPluginParamsInterface.html +7 -17
  307. package/docs/types/PanoVideoPluginParameterType.html +7 -17
  308. package/docs/types/PanoVideoPluginReturnType.html +7 -17
  309. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +12 -22
  310. package/docs/types/PipelinePluginParameterType.html +7 -17
  311. package/docs/types/PipelinePluginReturnType.html +7 -17
  312. package/docs/types/PlaneTag.html +7 -17
  313. package/docs/types/Point2DTag.html +7 -17
  314. package/docs/types/Point3DTag.html +7 -17
  315. package/docs/types/PointTag.html +7 -17
  316. package/docs/types/PointTagInstance.html +7 -17
  317. package/docs/types/Position.html +7 -17
  318. package/docs/types/RotateArgs.html +7 -17
  319. package/docs/types/RotateOpts.html +7 -17
  320. package/docs/types/RuleLabelsKey.html +7 -17
  321. package/docs/types/RuleLabelsValue.html +7 -17
  322. package/docs/types/StickType.html +7 -17
  323. package/docs/types/Tag.html +13 -35
  324. package/docs/types/Tag2D.html +7 -17
  325. package/docs/types/Tag3D.html +7 -17
  326. package/docs/types/TagConfigByKey.html +8 -18
  327. package/docs/types/TagContentType.html +7 -17
  328. package/docs/types/TagContentTypeMapping.html +7 -17
  329. package/docs/types/TagDimensionType.html +7 -17
  330. package/docs/types/TagElement.html +7 -17
  331. package/docs/types/TagEvents.html +12 -38
  332. package/docs/types/TagGLTFObject.html +7 -17
  333. package/docs/types/TagHooks.html +7 -17
  334. package/docs/types/TagId.html +7 -17
  335. package/docs/types/TagInstance.html +8 -44
  336. package/docs/types/TagPointType.html +7 -17
  337. package/docs/types/TagRendererMap.html +7 -17
  338. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -17
  339. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -17
  340. package/docs/types/WorkCode.html +7 -17
  341. package/docs/variables/FLOOR_TYPE_MAP.html +7 -17
  342. package/docs/variables/PLUGIN.html +7 -17
  343. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -17
  344. package/docs/variables/ROOM_TYPE_MAP.html +7 -17
  345. package/docs/variables/defaultGlobalConfig.html +7 -17
  346. package/docs/variables/itemLabelPluginServerParams.html +7 -17
  347. package/docs/variables/modelItemLabelPluginServerParams.html +7 -17
  348. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -17
  349. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +0 -5
  350. package/libs/PanoTagPlugin/controller/TagUtil.js +153 -159
  351. package/libs/PanoTagPlugin/controller/index.js +2 -2
  352. package/libs/base/BasePlugin.js +3 -3
  353. package/libs/shared-utils/logger.js +1 -1
  354. package/package.json +2 -2
  355. package/docs/classes/Sculpt.html +0 -852
  356. package/docs/functions/ModelMakerPlugin.html +0 -303
  357. package/docs/functions/SculptPlugin.html +0 -306
  358. package/docs/functions/Util.blink.html +0 -351
  359. package/docs/functions/Util.reblink.html +0 -349
  360. package/docs/interfaces/ContentTypeMapInterface.html +0 -773
  361. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +0 -352
  362. package/docs/interfaces/ModelMakerPluginType.EventMap.html +0 -556
  363. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +0 -349
  364. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +0 -391
  365. package/docs/interfaces/ModelMakerPluginType.ServerData.html +0 -332
  366. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +0 -401
  367. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +0 -381
  368. package/docs/interfaces/ModelMakerPluginType.State.html +0 -364
  369. package/docs/interfaces/Util.BlinkAnimeOptions.html +0 -380
  370. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +0 -387
  371. package/docs/modules/ModelMakerPluginType.html +0 -339
  372. package/docs/modules/SculptData.html +0 -318
  373. package/docs/types/AddObject3DHelperConfig.html +0 -315
  374. package/docs/types/ModelMakerPluginType.ElementRenderer.html +0 -329
  375. package/docs/types/ModelMakerPluginType.ItemType.html +0 -308
  376. package/docs/types/ScaleCallback.html +0 -314
  377. package/docs/types/ScalePosition.html +0 -303
  378. package/docs/types/SculptData.BoxData.html +0 -306
  379. package/docs/types/SculptData.CircleData.html +0 -306
  380. package/docs/types/SculptData.CylinderData.html +0 -306
  381. package/docs/types/SculptData.PointData.html +0 -306
  382. package/docs/types/SculptData.PolygonData.html +0 -306
  383. package/docs/types/SculptData.PolylineData.html +0 -306
  384. package/docs/types/SculptData.PrismData.html +0 -306
  385. package/docs/types/SculptData.RectangleData.html +0 -306
@@ -1,33 +1,33 @@
1
1
  var q = Object.defineProperty, K = Object.defineProperties;
2
2
  var Q = Object.getOwnPropertyDescriptors;
3
- var F = Object.getOwnPropertySymbols;
3
+ var V = Object.getOwnPropertySymbols;
4
4
  var Y = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
5
- var _ = (l, s, e) => s in l ? q(l, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[s] = e, b = (l, s) => {
5
+ var w = (l, s, e) => s in l ? q(l, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[s] = e, b = (l, s) => {
6
6
  for (var e in s || (s = {}))
7
- Y.call(s, e) && _(l, e, s[e]);
8
- if (F)
9
- for (var e of F(s))
10
- Z.call(s, e) && _(l, e, s[e]);
7
+ Y.call(s, e) && w(l, e, s[e]);
8
+ if (V)
9
+ for (var e of V(s))
10
+ Z.call(s, e) && w(l, e, s[e]);
11
11
  return l;
12
- }, V = (l, s) => K(l, Q(s));
13
- var f = (l, s, e) => (_(l, typeof s != "symbol" ? s + "" : s, e), e);
12
+ }, R = (l, s) => K(l, Q(s));
13
+ var u = (l, s, e) => (w(l, typeof s != "symbol" ? s + "" : s, e), e);
14
14
  import { defaultGlobalConfig as ee } from "../typings/tag/TagConfig.js";
15
15
  import { objectAssignDeepExports as y } from "../../vendor/object-assign-deep/objectAssignDeep.js";
16
16
  import * as ie from "three";
17
17
  import { DefaultConfig as te } from "../tag.config.js";
18
18
  import { anyPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
19
- import { planeNormal as w } from "../utils/planeNormal.js";
20
- import { getTagCenterPosition as R } from "../utils/tagPosition.js";
19
+ import { planeNormal as E } from "../utils/planeNormal.js";
20
+ import { getTagCenterPosition as _ } from "../utils/tagPosition.js";
21
21
  import { normalPositionToPositions as oe } from "../utils/normalPositionToPositions.js";
22
- import { TagCache as ne } from "./TagCache.js";
23
- import { writable as re } from "../../vendor/svelte/store/index.js";
22
+ import { TagCache as re } from "./TagCache.js";
23
+ import { writable as ne } from "../../vendor/svelte/store/index.js";
24
24
  import { isIOSWX as se } from "../../shared-utils/device.js";
25
25
  import { Five as fe } from "@realsee/five";
26
- import { isMediaPlaneTag as ae, isMediaModelTag as B, isPlaneTag as ce, isPoint3DTag as le } from "../utils/tag/tagCheck.js";
26
+ import { isMediaPlaneTag as ae, isMediaModelTag as B, isPlaneTag as le, isPoint3DTag as ce } from "../utils/tag/tagCheck.js";
27
27
  import { VideoPlane as de } from "../utils/model/mediaPlane.js";
28
- import { FiveDomEvents as he } from "../../shared-utils/five/FiveDomEvents.js";
28
+ import { FiveDomEvents as ue } from "../../shared-utils/five/FiveDomEvents.js";
29
29
  import N from "../utils/tag/adaptConfig.js";
30
- import { isPanoramaLike as E, isModelLike as $ } from "../../shared-utils/five/mode.js";
30
+ import { isPanoramaLike as A, isModelLike as $ } from "../../shared-utils/five/mode.js";
31
31
  import "hammerjs";
32
32
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
33
33
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
@@ -36,7 +36,7 @@ import "animejs";
36
36
  import { entries as z } from "../../shared-utils/typescript/entries.js";
37
37
  import { getUrlExt as H } from "../../shared-utils/url/getUrl.js";
38
38
  import { transformPosition as J } from "../../shared-utils/five/transformPosition.js";
39
- import { WorkUtil as ge } from "../../shared-utils/Utils/WorkUtil.js";
39
+ import { WorkUtil as me } from "../../shared-utils/Utils/WorkUtil.js";
40
40
  import "../../shared-utils/three/centerPoint.js";
41
41
  import "../../base/BasePlugin.js";
42
42
  import "../../shared-utils/Subscribe.js";
@@ -63,40 +63,44 @@ import "../../shared-utils/three/FragmentTransparencyMaterial.js";
63
63
  import "../../shared-utils/three/getNormal.js";
64
64
  import "../../shared-utils/five/calculateThreeMouse.js";
65
65
  import "../../shared-utils/Utils/BaseUtil.js";
66
- class hi extends ne {
66
+ class ui extends re {
67
+ // private _cache_pointTag?: PointTagInstance[]
68
+ // private _cache_2DPointTag?: TagInstance<TagContentType, '2DPoint'>[]
69
+ // private _cache_imagePlane?: TagInstance<'MediaPlane', 'Plane'>[]
70
+ // private _cache_mediaModel?: TagInstance<'MediaModel', 'Model'>[]
71
+ // private _cache_css3DTag?: (
72
+ // | TagInstance<TagContentType, 'Plane'>
73
+ // | TagInstance<TagContentType, 'Model'>
74
+ // | TagInstance<TagContentType, '3DPoint'>
75
+ // )[]
67
76
  constructor(e) {
68
77
  super(e);
69
- f(this, "tags", []);
70
- f(this, "config", te);
71
- f(this, "tagsLengthWillUpdate", !0);
72
- f(this, "workUtil", new ge(this.five));
73
- f(this, "mediaStore", re({
78
+ u(this, "tags", []);
79
+ u(this, "config", te);
80
+ u(this, "tagsLengthWillUpdate", !0);
81
+ u(this, "workUtil", new me(this.five));
82
+ u(this, "mediaStore", ne({
74
83
  currentMediaElement: null
75
84
  }));
76
85
  /** css3DRenderPlugin */
77
- f(this, "css3DRenderPlugin");
78
- f(this, "store", {
86
+ u(this, "css3DRenderPlugin");
87
+ u(this, "store", {
79
88
  disposers: [],
80
89
  disposed: !1,
81
90
  resizeObserverDisposerAdding: !1,
82
91
  css3DRenderDisposer: /* @__PURE__ */ new Map()
83
92
  });
84
- f(this, "domEvents", new he(this.five));
85
- f(this, "_cache_pointTag");
86
- f(this, "_cache_2DPointTag");
87
- f(this, "_cache_imagePlane");
88
- f(this, "_cache_mediaModel");
89
- f(this, "_cache_css3DTag");
90
- f(this, "loadVideoFirstFrame", () => {
93
+ u(this, "domEvents", new ue(this.five));
94
+ u(this, "loadVideoFirstFrame", () => {
91
95
  se && this.hooks.emit("loadVideoFirstFrame");
92
96
  });
93
- this.mediaStore.subscribe(({ currentMediaElement: t }) => {
94
- this.tags.forEach((i) => {
95
- var o;
96
- if (i.mediaPlane instanceof de && t !== i.mediaPlane.videoInstance) {
97
- if (!((o = i.mediaPlane.videoInstance) != null && o.src) || t === i.mediaPlane.videoInstance)
97
+ this.mediaStore.subscribe(({ currentMediaElement: i }) => {
98
+ this.tags.forEach((o) => {
99
+ var t;
100
+ if (o.mediaPlane instanceof de && i !== o.mediaPlane.videoInstance) {
101
+ if (!((t = o.mediaPlane.videoInstance) != null && t.src) || i === o.mediaPlane.videoInstance)
98
102
  return;
99
- i.mediaPlane.pause();
103
+ o.mediaPlane.pause();
100
104
  }
101
105
  });
102
106
  });
@@ -108,12 +112,12 @@ class hi extends ne {
108
112
  return this.workUtil.workCode;
109
113
  }
110
114
  getTagById(e) {
111
- const t = this.tags.find((i) => i.id === e);
112
- if (!t) {
115
+ const i = this.tags.find((o) => o.id === e);
116
+ if (!i) {
113
117
  console.warn(`getTagById Error: can't find tag id: ${e}`);
114
118
  return;
115
119
  }
116
- return t;
120
+ return i;
117
121
  }
118
122
  /** 暂停当前标签内进行的所有多媒体 */
119
123
  pauseCurrentMedia() {
@@ -122,10 +126,10 @@ class hi extends ne {
122
126
  /**
123
127
  * @description 获取标签配置
124
128
  */
125
- getTagConfig(e, t) {
126
- var r, a, d;
127
- const i = this.calculateTagConfig(e, { useCache: t == null ? void 0 : t.useCache }), o = (r = t == null ? void 0 : t.fiveMode) != null ? r : this.five.getCurrentState().mode, n = (a = i.configWithFiveMode) == null ? void 0 : a[o];
128
- return (d = n != null ? n : i) != null ? d : {};
129
+ getTagConfig(e, i) {
130
+ var n, f, c;
131
+ const o = this.calculateTagConfig(e, { useCache: i == null ? void 0 : i.useCache }), t = (n = i == null ? void 0 : i.fiveMode) != null ? n : this.five.getCurrentState().mode, r = (f = o.configWithFiveMode) == null ? void 0 : f[t];
132
+ return (c = r != null ? r : o) != null ? c : {};
129
133
  }
130
134
  /**
131
135
  * @description 获取标签当前状态
@@ -135,167 +139,157 @@ class hi extends ne {
135
139
  }
136
140
  updateTagConfig() {
137
141
  this.clearCache(), this.tags.forEach((e) => {
138
- var o;
139
- const t = this.getTagConfig(e, { useCache: !1 });
140
- e.computedConfig = t;
141
- const i = this.getTagConfig(e);
142
- if (e.config = i, e.config.initialData) {
143
- const n = JSON.parse(JSON.stringify(e.data));
144
- e.data = (o = i.initialData) != null && o.important ? y(e.data, n, i.initialData) : y(e.data, i.initialData, n);
142
+ var t;
143
+ const i = this.getTagConfig(e, { useCache: !1 });
144
+ e.computedConfig = i;
145
+ const o = this.getTagConfig(e);
146
+ if (e.config = o, e.config.initialData) {
147
+ const r = JSON.parse(JSON.stringify(e.data));
148
+ e.data = (t = o.initialData) != null && t.important ? y(e.data, r, o.initialData) : y(e.data, o.initialData, r);
145
149
  }
146
150
  });
147
151
  }
148
- can(e, t) {
149
- const i = t, o = this.getTagConfig(i);
150
- if (!o || typeof o != "object")
152
+ can(e, i) {
153
+ const o = i, t = this.getTagConfig(o);
154
+ if (!t || typeof t != "object")
151
155
  return !0;
152
156
  if (e === "show" || e === "hide") {
153
- if (!o.visibleConfig || typeof o.visibleConfig != "object")
157
+ if (!t.visibleConfig || typeof t.visibleConfig != "object")
154
158
  return !0;
155
- if (e === "show" && o.visibleConfig.keep === "hidden" || e === "hide" && (o.visibleConfig.keep === "visible" || o.visibleConfig.alwaysShowWhenMovePano))
159
+ if (e === "show" && t.visibleConfig.keep === "hidden" || e === "hide" && (t.visibleConfig.keep === "visible" || t.visibleConfig.alwaysShowWhenMovePano))
156
160
  return !1;
157
161
  }
158
162
  if (e === "fold" || e === "unfold") {
159
- if (!o.unfoldedConfig || typeof o.unfoldedConfig != "object")
163
+ if (!t.unfoldedConfig || typeof t.unfoldedConfig != "object")
160
164
  return !0;
161
- if (e === "fold" && o.unfoldedConfig.keep === "unfolded" || e === "unfold" && o.unfoldedConfig.keep === "folded")
165
+ if (e === "fold" && t.unfoldedConfig.keep === "unfolded" || e === "unfold" && t.unfoldedConfig.keep === "folded")
162
166
  return !1;
163
167
  }
164
168
  return !0;
165
169
  }
166
170
  getRenderType(e) {
167
- const t = (() => {
171
+ const i = (() => {
168
172
  if (e.stickType === "3DPoint")
169
173
  return "Dom";
170
- const i = this.getTagConfig(e);
171
- if (!i || typeof i != "object" || !i.renderType)
174
+ const o = this.getTagConfig(e);
175
+ if (!o || typeof o != "object" || !o.renderType)
172
176
  return;
173
- const o = e.data.mediaData;
174
- if (!(!o || o.length === 0) && i.renderType === "Mesh") {
177
+ const t = e.data.mediaData;
178
+ if (!(!t || t.length === 0) && o.renderType === "Mesh") {
175
179
  if (ae(e)) {
176
- if (o.length === 1) {
177
- if (o[0].type === "Video")
180
+ if (t.length === 1) {
181
+ if (t[0].type === "Video")
178
182
  return navigator.userAgent.toLowerCase().indexOf("firefox") > -1 && navigator.userAgent.toLowerCase().indexOf("mobile") > -1 ? "Dom" : "Mesh";
179
- if (o[0].type === "Image")
180
- return H(o[0].url) === "gif" ? "Dom" : "Mesh";
183
+ if (t[0].type === "Image")
184
+ return H(t[0].url) === "gif" ? "Dom" : "Mesh";
181
185
  }
182
186
  } else if (B(e))
183
- return o.length === 1 && o[0].type === "Image" ? H(o[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
187
+ return t.length === 1 && t[0].type === "Image" ? H(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
184
188
  }
185
189
  })();
186
- return t != null ? t : "Dom";
190
+ return i != null ? i : "Dom";
187
191
  }
188
192
  /**
189
193
  * @description 获取角度
190
194
  */
191
- getAngle(e, t) {
192
- const i = t != null ? t : this.five.getCurrentState().panoIndex;
193
- if (i === void 0)
194
- throw new Error(`getAngle(): fivePanoIndex is ${i}`);
195
- const o = this.getPanoIndexCache({ panoIndex: t, id: e.id });
196
- if (o.angle !== void 0)
197
- return o.angle;
195
+ getAngle(e, i) {
196
+ const o = i != null ? i : this.five.getCurrentState().panoIndex;
197
+ if (o === void 0)
198
+ throw new Error(`getAngle(): fivePanoIndex is ${o}`);
199
+ const t = this.getPanoIndexCache({ panoIndex: i, id: e.id });
200
+ if (t.angle !== void 0)
201
+ return t.angle;
198
202
  {
199
- const n = this.workUtil.getObserverPosition(i);
200
- if (n === void 0)
201
- throw new Error(`getAngle(): observerPosition is ${n}`);
202
- const r = (() => e.stickType === "3DPoint" ? C(e.normal) : w(e.position))();
203
- if (!r)
203
+ const r = this.workUtil.getObserverPosition(o);
204
+ if (r === void 0)
205
+ throw new Error(`getAngle(): observerPosition is ${r}`);
206
+ const n = (() => e.stickType === "3DPoint" ? C(e.normal) : E(e.position))();
207
+ if (!n)
204
208
  return;
205
- const a = R(e);
206
- if (!a)
209
+ const f = _(e);
210
+ if (!f)
207
211
  return;
208
- const d = new ie.Vector3().copy(n).sub(a), m = r.angleTo(d) * 180 / Math.PI;
209
- return o.angle = m, o.angle;
212
+ const c = new ie.Vector3().copy(r).sub(f), h = n.angleTo(c) * 180 / Math.PI;
213
+ return t.angle = h, t.angle;
210
214
  }
211
215
  }
212
216
  /**
213
217
  * @description 获取距离
214
218
  */
215
- getDistance(e, t) {
216
- const i = b(b({}, this.five.getCurrentState()), t), { panoIndex: o, mode: n } = i, r = E(n) ? this.getPanoIndexCache({ panoIndex: o, id: e.id }) : void 0;
217
- if ((r == null ? void 0 : r.distance) !== void 0)
218
- return r.distance;
219
- const a = R(e);
220
- if (!a)
219
+ getDistance(e, i) {
220
+ const o = b(b({}, this.five.getCurrentState()), i), { panoIndex: t, mode: r } = o, n = A(r) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
221
+ if ((n == null ? void 0 : n.distance) !== void 0)
222
+ return n.distance;
223
+ const f = _(e);
224
+ if (!f)
221
225
  return -1;
222
- if (E(n)) {
223
- const d = this.workUtil.getObserverPosition(o);
224
- if (d === void 0)
226
+ if (A(r)) {
227
+ const c = this.workUtil.getObserverPosition(t);
228
+ if (c === void 0)
225
229
  return -1;
226
- const m = d.distanceTo(a);
227
- return r && (r.distance = m), m;
230
+ const h = c.distanceTo(f);
231
+ return n && (n.distance = h), h;
228
232
  }
229
- if ($(n))
230
- return this.five.camera.position.distanceTo(a);
233
+ if ($(r))
234
+ return this.five.camera.position.distanceTo(f);
231
235
  }
232
236
  getPositions(e) {
233
- if (ce(e))
237
+ if (le(e))
234
238
  return e.position;
235
239
  if (B(e))
236
240
  return e.data.mediaPosition;
237
- if (le(e))
241
+ if (ce(e))
238
242
  return oe(this.five.camera.position, C(e.position), C(e.normal));
239
243
  }
240
- addObjectClickHandler(e, t, i) {
241
- if (!t || !this.domEvents)
244
+ addObjectClickHandler(e, i, o) {
245
+ if (!i || !this.domEvents)
242
246
  return () => {
243
247
  };
244
- const o = () => !(!this.getCurrentVisibleState(e) || e.loading), n = (r) => {
245
- if (!o())
248
+ const t = () => !(!this.getCurrentVisibleState(e) || e.loading), r = (n) => {
249
+ if (!t())
246
250
  return !1;
247
- i(r.origDomEvent);
251
+ o(n.origDomEvent);
248
252
  };
249
- return this.domEvents.addEventListener(t, "click", n), () => {
250
- var r;
251
- (r = this.domEvents) == null || r.removeEventListener(t, "click", n);
253
+ return this.domEvents.addEventListener(i, "click", r), () => {
254
+ var n;
255
+ (n = this.domEvents) == null || n.removeEventListener(i, "click", r);
252
256
  };
253
257
  }
254
258
  getTagNormal(e) {
255
259
  if (e.normal)
256
260
  return C(e.normal);
257
261
  if (e.stickType === "Plane")
258
- return w(e.position);
262
+ return E(e.position);
259
263
  if (e.stickType === "Model")
260
- return w(this.getPositions(e));
264
+ return E(this.getPositions(e));
261
265
  }
262
266
  get filterPointTag() {
263
- var t;
264
- const e = this.tags.filter((i) => i.stickType === "2DPoint" || i.stickType === "3DPoint").filter((i) => i.position);
265
- return this.tagsLengthWillUpdate && (this._cache_pointTag = e, this.tagsLengthWillUpdate = !1), (t = this._cache_pointTag) != null ? t : e;
267
+ return this.tags.filter((i) => i.stickType === "2DPoint" || i.stickType === "3DPoint").filter((i) => i.position);
266
268
  }
267
269
  get filter2DPointTag() {
268
- var t;
269
- const e = this.tags.filter((i) => i.stickType === "2DPoint").filter((i) => i.position);
270
- return this.tagsLengthWillUpdate && (this._cache_2DPointTag = e, this.tagsLengthWillUpdate = !1), (t = this._cache_2DPointTag) != null ? t : e;
270
+ return this.tags.filter((i) => i.stickType === "2DPoint").filter((i) => i.position);
271
271
  }
272
272
  get filterImagePlane() {
273
- var t;
274
- const e = this.tags.filter(
273
+ return this.tags.filter(
275
274
  (i) => i.contentType === "MediaPlane" && i.stickType === "Plane" && this.getRenderType(i) === "Mesh"
276
275
  );
277
- return this.tagsLengthWillUpdate && (this._cache_imagePlane = e, this.tagsLengthWillUpdate = !1), (t = this._cache_imagePlane) != null ? t : e;
278
276
  }
279
277
  get filterMediaModel() {
280
- var t;
281
- const e = this.tags.filter((i) => i.stickType === "Model" && i.contentType === "MediaModel");
282
- return this.tagsLengthWillUpdate && (this._cache_mediaModel = e, this.tagsLengthWillUpdate = !1), (t = this._cache_mediaModel) != null ? t : e;
278
+ return this.tags.filter((i) => i.stickType === "Model" && i.contentType === "MediaModel");
283
279
  }
284
280
  get filterCSS3DTag() {
285
- var t;
286
- const e = this.tags.filter(
281
+ return this.tags.filter(
287
282
  (i) => i.stickType === "3DPoint" || i.stickType === "Plane" || i.stickType === "Model" && i.contentType === "MediaModel"
288
283
  ).filter((i) => {
289
284
  const o = this.getRenderType(i);
290
285
  return o === "BehindDom" || o === "Dom";
291
286
  });
292
- return this.tagsLengthWillUpdate && (this._cache_css3DTag = e, this.tagsLengthWillUpdate = !1), (t = this._cache_css3DTag) != null ? t : e;
293
287
  }
294
288
  getTransformedPostion(e) {
295
289
  if (!e)
296
290
  return;
297
- const t = this.workUtil.transform;
298
- return Array.isArray(e) && e.length === 4 ? e.map(C).map((i) => J(i, t)) : J(C(e), t);
291
+ const i = this.workUtil.transform;
292
+ return Array.isArray(e) && e.length === 4 ? e.map(C).map((o) => J(o, i)) : J(C(e), i);
299
293
  }
300
294
  /**
301
295
  * @description 检查是否已经销毁
@@ -307,52 +301,52 @@ class hi extends ne {
307
301
  /**
308
302
  * @description 获取merge后的配置
309
303
  */
310
- calculateTagConfig(e, t) {
311
- var W, L, U, A, O;
312
- const i = (W = t == null ? void 0 : t.useCache) != null ? W : !0;
304
+ calculateTagConfig(e, i) {
305
+ var O, j, S, I, W;
306
+ const o = (O = i == null ? void 0 : i.useCache) != null ? O : !0;
313
307
  if (!e)
314
- return (L = this.config.globalConfig) != null ? L : {};
315
- if (i) {
316
- if ((U = e == null ? void 0 : e.computedConfig) != null && U._isMerged)
308
+ return (j = this.config.globalConfig) != null ? j : {};
309
+ if (o) {
310
+ if ((S = e == null ? void 0 : e.computedConfig) != null && S._isMerged)
317
311
  return e.computedConfig;
318
- if ((A = e == null ? void 0 : e.config) != null && A._isMerged)
312
+ if ((I = e == null ? void 0 : e.config) != null && I._isMerged)
319
313
  return e.config;
320
314
  }
321
- const o = {}, n = {}, r = {};
322
- this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([h, g]) => {
323
- var S, I;
324
- const c = h, D = c.split("-"), j = h.startsWith("["), T = j ? D[0].slice(1, -1) : void 0, p = j ? D.slice(1) : D, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (S = n[T]) != null ? S : n[T] = {} : (I = r[T]) != null ? I : r[T] = {} : o;
325
- if (!v[c]) {
326
- if (p.length === 0 && (v[c] = g), p.length === 1) {
327
- const [u] = p;
328
- (e.contentType === u || u === "Any") && (v[c] = g);
315
+ const t = {}, r = {}, n = {};
316
+ this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([d, m]) => {
317
+ var F, L;
318
+ const a = d, D = a.split("-"), x = d.startsWith("["), T = x ? D[0].slice(1, -1) : void 0, g = x ? D.slice(1) : D, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (F = r[T]) != null ? F : r[T] = {} : (L = n[T]) != null ? L : n[T] = {} : t;
319
+ if (!v[a]) {
320
+ if (g.length === 0 && (v[a] = m), g.length === 1) {
321
+ const [p] = g;
322
+ (e.contentType === p || p === "Any") && (v[a] = m);
329
323
  }
330
- if (p.length === 2) {
331
- const [u = "Any", M = "Any"] = p;
332
- u === "Mixin" && e.contentType === M && (v[c] = g), (e.stickType === u || u === "Any") && (e.contentType === M || M === "Any") && (v[c] = g);
324
+ if (g.length === 2) {
325
+ const [p = "Any", M = "Any"] = g;
326
+ p === "Mixin" && e.contentType === M && (v[a] = m), (e.stickType === p || p === "Any") && (e.contentType === M || M === "Any") && (v[a] = m);
333
327
  }
334
- if (p.length === 3) {
335
- const [u = "Any", M, X] = p;
328
+ if (g.length === 3) {
329
+ const [p = "Any", M, X] = g;
336
330
  if (M === "Audio" && e.contentType === "Audio") {
337
- const x = e;
338
- (x.stickType === u || u === "Any") && x.data.appearance === X && (v[c] = g);
331
+ const U = e;
332
+ (U.stickType === p || p === "Any") && U.data.appearance === X && (v[a] = m);
339
333
  }
340
334
  }
341
335
  }
342
336
  });
343
- const a = (O = e.initialConfig) != null ? O : {}, d = y({}, ee, this.config.globalConfig, ...Object.values(o)), m = y({}, d, a), P = {}, G = Object.values(fe.Mode);
344
- z(n).forEach(([h, g]) => {
345
- G.forEach((c) => {
346
- (h === "PanoramaLike" && E(c) || h === "ModelLike" && $(c)) && (P[c] = y({}, d, ...Object.values(g), a, { _isMerged: !0 }));
337
+ const f = (W = e.initialConfig) != null ? W : {}, c = y({}, ee, this.config.globalConfig, ...Object.values(t)), h = y({}, c, f), P = {}, G = Object.values(fe.Mode);
338
+ z(r).forEach(([d, m]) => {
339
+ G.forEach((a) => {
340
+ (d === "PanoramaLike" && A(a) || d === "ModelLike" && $(a)) && (P[a] = y({}, c, ...Object.values(m), f, { _isMerged: !0 }));
347
341
  });
348
- }), z(r).forEach(([h, g]) => {
349
- const c = P[h];
350
- P[h] = y({}, d, c, ...Object.values(g), a, { _isMerged: !0 });
342
+ }), z(n).forEach(([d, m]) => {
343
+ const a = P[d];
344
+ P[d] = y({}, c, a, ...Object.values(m), f, { _isMerged: !0 });
351
345
  });
352
- const k = V(b({}, m), { configWithFiveMode: P });
353
- return N(k), Object.values(P).forEach((h) => N(h)), k._isMerged = !0, k;
346
+ const k = R(b({}, h), { configWithFiveMode: P });
347
+ return N(k), Object.values(P).forEach((d) => N(d)), k._isMerged = !0, k;
354
348
  }
355
349
  }
356
350
  export {
357
- hi as TagUtil
351
+ ui as TagUtil
358
352
  };
@@ -561,8 +561,8 @@ class zi extends j {
561
561
  this.onFiveEveryReady(), i = !1;
562
562
  }));
563
563
  }, 150);
564
- return e.on("cameraUpdate", s), this.updateVisible(), this.handleFivePanoArrived(), e.on("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.on("modeChange", this.updateVisible), e.on("initAnimationEnded", this.updateVisible), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", this.handleFiveCameraUpdate), e.on("panoArrived", this.handleFivePanoArrived), e.on("panoArrived", this.loadVideoFirstFrame), t.on("click", this.clickhandler), () => {
565
- e.off("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.off("modeChange", this.updateVisible), e.off("initAnimationEnded", this.updateVisible), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", this.handleFiveCameraUpdate), e.off("cameraUpdate", s), e.off("panoArrived", this.handleFivePanoArrived), e.off("panoArrived", this.loadVideoFirstFrame), t.off("click", this.clickhandler), this.store.eventListenerDisposer = void 0;
564
+ return e.on("cameraUpdate", s), this.updateVisible(), this.handleFivePanoArrived(), e.on("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.on("models.refined", this.onFiveEveryReady), e.on("modeChange", this.updateVisible), e.on("initAnimationEnded", this.updateVisible), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", this.handleFiveCameraUpdate), e.on("panoArrived", this.handleFivePanoArrived), e.on("panoArrived", this.loadVideoFirstFrame), t.on("click", this.clickhandler), () => {
565
+ e.off("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.off("models.refined", this.onFiveEveryReady), e.off("modeChange", this.updateVisible), e.off("initAnimationEnded", this.updateVisible), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", this.handleFiveCameraUpdate), e.off("cameraUpdate", s), e.off("panoArrived", this.handleFivePanoArrived), e.off("panoArrived", this.loadVideoFirstFrame), t.off("click", this.clickhandler), this.store.eventListenerDisposer = void 0;
566
566
  };
567
567
  }
568
568
  addResizeListener() {
@@ -10,12 +10,12 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
10
10
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
11
11
  import "animejs";
12
12
  import { absoluteUrl as l } from "../shared-utils/url/absoluteUrl.js";
13
- let C = class {
13
+ let v = class {
14
14
  constructor(t, r) {
15
15
  /**
16
16
  * @realsee/dnalogel 版本号
17
17
  */
18
- i(this, "VERSION", "3.30.6");
18
+ i(this, "VERSION", "3.31.1-dev.0");
19
19
  i(this, "five");
20
20
  /**
21
21
  * @description: 插件事件钩子
@@ -38,5 +38,5 @@ let C = class {
38
38
  }
39
39
  };
40
40
  export {
41
- C as Controller
41
+ v as Controller
42
42
  };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.30.6",
3
+ "%c %c@realsee/dnalogel %cv3.31.1-dev.0",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.30.6",
3
+ "version": "3.31.1-dev.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
25
25
  "build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
26
26
  "docs": "typedoc --options ./typedoc.json",
27
- "prepublishOnly": "run-p build docs",
27
+ "prepublishOnly": "run-p build",
28
28
  "postpublish": "cnpm sync @realsee/dnalogel"
29
29
  },
30
30
  "files": [