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