@realsee/dnalogel 3.23.2 → 3.24.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 (390) hide show
  1. package/dist/ModelMakerPlugin/Controller.d.ts +2 -2
  2. package/dist/ModelMakerPlugin/item/baseItem.d.ts +1 -1
  3. package/dist/ModelMakerPlugin/utils/getFiveDomEvent.d.ts +3 -0
  4. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +6 -0
  5. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +11 -4
  6. package/dist/PanoTagPlugin/utils/tag/format.d.ts +4 -2
  7. package/dist/index.cjs.js +5 -5
  8. package/dist/index.js +56 -35
  9. package/dist/index.umd.js +5 -5
  10. package/docs/assets/search.js +1 -1
  11. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  12. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  13. package/docs/classes/CSS3DRender.html +3 -3
  14. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  15. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  16. package/docs/classes/ModelMakerPluginType.ModelMakerController.html +30 -15
  17. package/docs/classes/ModelRoomLabelController.html +3 -3
  18. package/docs/classes/MoveController.html +3 -3
  19. package/docs/classes/Object3DHelperController.html +3 -3
  20. package/docs/classes/PaintBrush.html +3 -3
  21. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  22. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  23. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  24. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  25. package/docs/classes/PanoTagPluginController.html +37 -29
  26. package/docs/classes/Sculpt.html +3 -3
  27. package/docs/classes/Util.BetterTween.html +3 -3
  28. package/docs/classes/Util.Interval.html +3 -3
  29. package/docs/classes/Util.LineSegments.html +3 -3
  30. package/docs/classes/Util.Magnifier.html +3 -3
  31. package/docs/classes/Util.Object3D.html +3 -3
  32. package/docs/classes/Util.PointDomHelper.html +3 -3
  33. package/docs/classes/Util.PointHelper.html +3 -3
  34. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  35. package/docs/classes/Util.Rectangle.html +3 -3
  36. package/docs/classes/WalkController.html +3 -3
  37. package/docs/enums/CameraMovementEffect.html +3 -3
  38. package/docs/enums/ContentType.html +3 -3
  39. package/docs/enums/DIRECTION.html +3 -3
  40. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  41. package/docs/enums/DimensionType.html +3 -3
  42. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  43. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  44. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  45. package/docs/enums/PointType.html +3 -3
  46. package/docs/enums/Rotation.html +3 -3
  47. package/docs/functions/AreaMakerPlugin.html +3 -3
  48. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  49. package/docs/functions/CameraMovementPlugin.html +3 -3
  50. package/docs/functions/CruisePlugin.html +3 -3
  51. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  52. package/docs/functions/GuideLinePlugin.html +3 -3
  53. package/docs/functions/ItemLabelPlugin.html +3 -3
  54. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  55. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  56. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  57. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  58. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  59. package/docs/functions/ModelMakerPlugin.html +3 -3
  60. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  61. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  62. package/docs/functions/ModelViewPlugin.html +3 -3
  63. package/docs/functions/MovePlugin.html +3 -3
  64. package/docs/functions/Object3DHelperPlugin.html +3 -3
  65. package/docs/functions/PanoCompassPlugin.html +3 -3
  66. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  67. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  68. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  69. package/docs/functions/PanoMeasurePlugin.html +3 -3
  70. package/docs/functions/PanoRulerPlugin.html +3 -3
  71. package/docs/functions/PanoRulerProPlugin.html +3 -3
  72. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  73. package/docs/functions/PanoTagPlugin.html +3 -3
  74. package/docs/functions/PanoVideoPlugin.html +3 -3
  75. package/docs/functions/PipelinePlugin.html +3 -3
  76. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  77. package/docs/functions/Util.absoluteUrl.html +3 -3
  78. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  79. package/docs/functions/Util.equal.html +3 -3
  80. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  81. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  82. package/docs/functions/Util.getFrameTime.html +3 -3
  83. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  84. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  85. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  86. package/docs/functions/Util.isModelLike.html +3 -3
  87. package/docs/functions/Util.isNil.html +3 -3
  88. package/docs/functions/Util.isPanoramaLike.html +3 -3
  89. package/docs/functions/Util.nextFrame.html +3 -3
  90. package/docs/functions/Util.notNil.html +3 -3
  91. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  92. package/docs/functions/Util.tweenProgress.html +3 -3
  93. package/docs/functions/Util.uuid.html +3 -3
  94. package/docs/functions/pluginFlag.html +3 -3
  95. package/docs/index.html +4 -4
  96. package/docs/interfaces/AddTagConfig.html +3 -3
  97. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  98. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  101. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  102. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  103. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  104. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  105. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  106. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  107. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  108. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  109. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  110. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  111. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  112. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  113. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  114. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  115. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  116. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  117. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  118. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  119. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  120. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  121. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  122. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  123. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  124. package/docs/interfaces/EventMap.html +3 -3
  125. package/docs/interfaces/FloorplanBounding.html +3 -3
  126. package/docs/interfaces/FloorplanData.html +3 -3
  127. package/docs/interfaces/FloorplanEntrance.html +3 -3
  128. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  129. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  130. package/docs/interfaces/FloorplanFloorData.html +3 -3
  131. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  132. package/docs/interfaces/FloorplanObserver.html +3 -3
  133. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  134. package/docs/interfaces/FloorplanPosition.html +3 -3
  135. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  136. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  137. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  138. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  139. package/docs/interfaces/FloorplanServerData.html +3 -3
  140. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  141. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  142. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  143. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  144. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  145. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  146. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  147. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  148. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  149. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  150. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  151. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  152. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  153. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  154. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  155. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  156. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  163. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  164. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  165. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  166. package/docs/interfaces/HelperOffset.html +3 -3
  167. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  168. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  169. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  170. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  171. package/docs/interfaces/MinMax.html +3 -3
  172. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  173. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  174. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  175. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  176. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  177. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  178. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  179. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  180. package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
  181. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  182. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  183. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  184. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  185. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  186. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  187. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  188. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  189. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  190. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  191. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  192. package/docs/interfaces/Object3DHelperState.html +3 -3
  193. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  194. package/docs/interfaces/PaintBrushAction.html +3 -3
  195. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  196. package/docs/interfaces/PaintBrushState.html +3 -3
  197. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  198. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  199. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  200. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  201. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  202. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  203. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  204. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  205. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  206. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  207. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  208. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  209. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  210. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  211. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  212. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  213. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  214. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  215. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  216. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  217. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  218. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  219. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  220. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  221. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  222. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  223. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  224. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  225. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  226. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  227. package/docs/interfaces/Point.html +3 -3
  228. package/docs/interfaces/Room.html +3 -3
  229. package/docs/interfaces/RoomInfo.html +3 -3
  230. package/docs/interfaces/RoomLabel.html +3 -3
  231. package/docs/interfaces/RoomRules.html +3 -3
  232. package/docs/interfaces/Rooms.html +3 -3
  233. package/docs/interfaces/Scissor.html +3 -3
  234. package/docs/interfaces/State.html +3 -3
  235. package/docs/interfaces/TagCacheInterface.html +3 -3
  236. package/docs/interfaces/TagConfig.html +3 -3
  237. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  238. package/docs/interfaces/TagIconUrl.html +3 -3
  239. package/docs/interfaces/TagObjectGroup.html +3 -3
  240. package/docs/interfaces/TagStyle.html +3 -3
  241. package/docs/interfaces/Tags.html +3 -3
  242. package/docs/interfaces/TemporaryState.html +3 -3
  243. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  244. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  245. package/docs/interfaces/Util.PointIntersection.html +3 -3
  246. package/docs/modules/AreaMakerPluginType.html +3 -3
  247. package/docs/modules/CruisePluginTypes.html +3 -3
  248. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  249. package/docs/modules/GuideLineItem.html +3 -3
  250. package/docs/modules/GuideLineModeItem.html +3 -3
  251. package/docs/modules/GuideLinePluginType.html +3 -3
  252. package/docs/modules/ModelMakerPluginType.html +3 -3
  253. package/docs/modules/PanoVideoPluginType.html +3 -3
  254. package/docs/modules/Util.html +3 -3
  255. package/docs/modules.html +4 -4
  256. package/docs/types/AddObject3DHelperConfig.html +3 -3
  257. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  258. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  259. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  260. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  261. package/docs/types/ArrayPosition.html +3 -3
  262. package/docs/types/AudioAppearance.html +3 -3
  263. package/docs/types/AudioTagTypeConfigKey.html +3 -3
  264. package/docs/types/CSS3DRenderExportType.html +3 -3
  265. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  266. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  267. package/docs/types/ClassFunctionParameters.html +3 -3
  268. package/docs/types/Color.html +3 -3
  269. package/docs/types/ContentTypeConfigKey.html +3 -3
  270. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  271. package/docs/types/ContentTypeMap.html +3 -3
  272. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  273. package/docs/types/Create3DElementReturnType.html +3 -3
  274. package/docs/types/CruisePluginExportType.html +3 -3
  275. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  276. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  277. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  278. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  279. package/docs/types/DeprecatedTagProperty.html +3 -3
  280. package/docs/types/Direction-1.html +3 -3
  281. package/docs/types/Direction4.html +3 -3
  282. package/docs/types/ElementRenderer.html +3 -3
  283. package/docs/types/FloorplanRuleLabels.html +3 -3
  284. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  285. package/docs/types/GuideLinePluginExportType.html +3 -3
  286. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  287. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  288. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  289. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  290. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  291. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  292. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  293. package/docs/types/HelperEventMap.html +3 -3
  294. package/docs/types/InternalHelperEventMap.html +3 -3
  295. package/docs/types/LoadTagConfig.html +3 -3
  296. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  297. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  298. package/docs/types/MediaData.html +3 -3
  299. package/docs/types/MediaStore.html +3 -3
  300. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  301. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  302. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  303. package/docs/types/ModelId.html +3 -3
  304. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  305. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  306. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  307. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  308. package/docs/types/MoveArgs.html +3 -3
  309. package/docs/types/MoveOpts.html +3 -3
  310. package/docs/types/Object3DHelperEventMap.html +3 -3
  311. package/docs/types/ObjectFit.html +3 -3
  312. package/docs/types/PaintBrushEventMap.html +3 -3
  313. package/docs/types/PanoCompassPluginData.html +3 -3
  314. package/docs/types/PanoCompassPluginExportType.html +3 -3
  315. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  316. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  317. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  318. package/docs/types/PanoIndex.html +3 -3
  319. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  320. package/docs/types/PanoMeasureReturnType.html +3 -3
  321. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  322. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  323. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  324. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  325. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  326. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  327. package/docs/types/PipelinePluginParameterType.html +3 -3
  328. package/docs/types/PipelinePluginReturnType.html +3 -3
  329. package/docs/types/PlaneTag.html +3 -3
  330. package/docs/types/Point2DTag.html +3 -3
  331. package/docs/types/Point3DTag.html +3 -3
  332. package/docs/types/PointTag.html +3 -3
  333. package/docs/types/PointTagInstance.html +3 -3
  334. package/docs/types/Position.html +3 -3
  335. package/docs/types/PositionFrom.html +3 -3
  336. package/docs/types/RotateArgs.html +3 -3
  337. package/docs/types/RotateOpts.html +3 -3
  338. package/docs/types/RuleLabelsKey.html +3 -3
  339. package/docs/types/RuleLabelsValue.html +3 -3
  340. package/docs/types/ScaleCallback.html +3 -3
  341. package/docs/types/ScalePosition.html +3 -3
  342. package/docs/types/StickType.html +3 -3
  343. package/docs/types/Tag.html +14 -7
  344. package/docs/types/Tag2D.html +3 -3
  345. package/docs/types/Tag3D.html +3 -3
  346. package/docs/types/TagConfigByKey.html +3 -3
  347. package/docs/types/TagContentType.html +3 -3
  348. package/docs/types/TagContentTypeMapping.html +3 -3
  349. package/docs/types/TagDimensionType.html +3 -3
  350. package/docs/types/TagElement.html +3 -3
  351. package/docs/types/TagEvents.html +3 -3
  352. package/docs/types/TagGLTFObject.html +3 -3
  353. package/docs/types/TagHooks.html +3 -3
  354. package/docs/types/TagId.html +3 -3
  355. package/docs/types/TagInstance.html +3 -3
  356. package/docs/types/TagPointType.html +3 -3
  357. package/docs/types/TagRendererMap.html +3 -3
  358. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  359. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  360. package/docs/types/WorkCode.html +3 -3
  361. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  362. package/docs/variables/PLUGIN.html +3 -3
  363. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  364. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  365. package/docs/variables/defaultGlobalConfig.html +3 -3
  366. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  367. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  368. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  369. package/libs/ModelMakerPlugin/Controller.d.ts +2 -2
  370. package/libs/ModelMakerPlugin/Controller.js +75 -75
  371. package/libs/ModelMakerPlugin/index.js +5 -4
  372. package/libs/ModelMakerPlugin/item/baseItem.d.ts +1 -1
  373. package/libs/ModelMakerPlugin/item/baseItem.js +28 -74
  374. package/libs/ModelMakerPlugin/item/boxItem.js +4 -48
  375. package/libs/ModelMakerPlugin/item/polygonItem.js +11 -56
  376. package/libs/ModelMakerPlugin/item/prismItem.js +12 -57
  377. package/libs/ModelMakerPlugin/utils/getFiveDomEvent.d.ts +3 -0
  378. package/libs/ModelMakerPlugin/utils/getFiveDomEvent.js +9 -0
  379. package/libs/PanoTagPlugin/controller/TagRender.js +7 -7
  380. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +6 -0
  381. package/libs/PanoTagPlugin/controller/TagUtil.js +160 -145
  382. package/libs/PanoTagPlugin/controller/index.js +6 -6
  383. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +11 -4
  384. package/libs/PanoTagPlugin/utils/tag/format.d.ts +4 -2
  385. package/libs/base/BasePlugin.js +1 -1
  386. package/libs/index.js +125 -124
  387. package/libs/shared-utils/Utils/WorkUtil.js +9 -9
  388. package/libs/shared-utils/five/FiveDomEvents.js +4 -1
  389. package/libs/shared-utils/logger.js +1 -1
  390. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -48,7 +48,7 @@ import Na from "animejs";
48
48
  import { GLTFLoader as Vm } from "@realsee/five/gltf-loader";
49
49
  function Hm() {
50
50
  console.debug(
51
- "%c %c@realsee/dnalogel %cv3.23.2",
51
+ "%c %c@realsee/dnalogel %cv3.24.0",
52
52
  [
53
53
  "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=')",
54
54
  "background-repeat: no-repeat",
@@ -7344,7 +7344,7 @@ let nn = class {
7344
7344
  /**
7345
7345
  * @realsee/dnalogel 版本号
7346
7346
  */
7347
- d(this, "VERSION", "3.23.2");
7347
+ d(this, "VERSION", "3.24.0");
7348
7348
  d(this, "five");
7349
7349
  /**
7350
7350
  * @description: 插件事件钩子
@@ -17831,7 +17831,10 @@ class Vl {
17831
17831
  var r, a;
17832
17832
  if (!t._domEvent || !t._domEvent[`${e}Handler`])
17833
17833
  return;
17834
- i === void 0 && delete t._domEvent[`${e}Handler`];
17834
+ if (i === void 0) {
17835
+ delete t._domEvent[`${e}Handler`];
17836
+ return;
17837
+ }
17835
17838
  const o = t._domEvent[`${e}Handler`].findIndex((l) => l[0] === i);
17836
17839
  if (o !== -1 && (t._domEvent[`${e}Handler`].splice(o, 1), t._domEvent[`${e}Handler`].length === 0 && delete t._domEvent[`${e}Handler`], t._domEvent && Object.keys(t._domEvent).length === 0 && delete t._domEvent, !t._domEvent)) {
17837
17840
  const l = (r = this.boundObject[e]) == null ? void 0 : r.findIndex((c) => c === t);
@@ -17904,8 +17907,8 @@ class Hl extends yg {
17904
17907
  return this.work.observers;
17905
17908
  }
17906
17909
  get transform() {
17907
- var i;
17908
- const e = (i = this.work.options) == null ? void 0 : i.transform;
17910
+ var i, s;
17911
+ const e = (s = (i = this.work) == null ? void 0 : i.options) == null ? void 0 : s.transform;
17909
17912
  return e ? e.clone() : new w.Matrix4();
17910
17913
  }
17911
17914
  /**
@@ -17939,6 +17942,7 @@ class Vw extends Tw {
17939
17942
  super(e);
17940
17943
  d(this, "tags", []);
17941
17944
  d(this, "config", Sw);
17945
+ d(this, "tagsLengthWillUpdate", !0);
17942
17946
  d(this, "workUtil", new Hl(this.five));
17943
17947
  d(this, "mediaStore", kl({
17944
17948
  currentMediaElement: null
@@ -17952,6 +17956,11 @@ class Vw extends Tw {
17952
17956
  css3DRenderDisposer: /* @__PURE__ */ new Map()
17953
17957
  });
17954
17958
  d(this, "domEvents", new Vl(this.five));
17959
+ d(this, "_cache_pointTag");
17960
+ d(this, "_cache_2DPointTag");
17961
+ d(this, "_cache_imagePlane");
17962
+ d(this, "_cache_mediaModel");
17963
+ d(this, "_cache_css3DTag");
17955
17964
  d(this, "loadVideoFirstFrame", () => {
17956
17965
  jw && this.hooks.emit("loadVideoFirstFrame");
17957
17966
  });
@@ -18124,28 +18133,37 @@ class Vw extends Tw {
18124
18133
  if (e.stickType === "Model")
18125
18134
  return va(this.getPositions(e));
18126
18135
  }
18127
- // TODO: 优化点:下面这些函数,调用比较频繁,可以按点位加缓存
18128
18136
  get filterPointTag() {
18129
- return this.tags.filter((e) => e.stickType === "2DPoint" || e.stickType === "3DPoint").filter((e) => e.position);
18137
+ var i;
18138
+ const e = this.tags.filter((s) => s.stickType === "2DPoint" || s.stickType === "3DPoint").filter((s) => s.position);
18139
+ return this.tagsLengthWillUpdate && (this._cache_pointTag = e, this.tagsLengthWillUpdate = !1), (i = this._cache_pointTag) != null ? i : e;
18130
18140
  }
18131
18141
  get filter2DPointTag() {
18132
- return this.tags.filter((e) => e.stickType === "2DPoint").filter((e) => e.position);
18142
+ var i;
18143
+ const e = this.tags.filter((s) => s.stickType === "2DPoint").filter((s) => s.position);
18144
+ return this.tagsLengthWillUpdate && (this._cache_2DPointTag = e, this.tagsLengthWillUpdate = !1), (i = this._cache_2DPointTag) != null ? i : e;
18133
18145
  }
18134
18146
  get filterImagePlane() {
18135
- return this.tags.filter(
18136
- (e) => e.contentType === "MediaPlane" && e.stickType === "Plane" && this.getRenderType(e) === "Mesh"
18147
+ var i;
18148
+ const e = this.tags.filter(
18149
+ (s) => s.contentType === "MediaPlane" && s.stickType === "Plane" && this.getRenderType(s) === "Mesh"
18137
18150
  );
18151
+ return this.tagsLengthWillUpdate && (this._cache_imagePlane = e, this.tagsLengthWillUpdate = !1), (i = this._cache_imagePlane) != null ? i : e;
18138
18152
  }
18139
18153
  get filterMediaModel() {
18140
- return this.tags.filter((e) => e.stickType === "Model" && e.contentType === "MediaModel");
18154
+ var i;
18155
+ const e = this.tags.filter((s) => s.stickType === "Model" && s.contentType === "MediaModel");
18156
+ return this.tagsLengthWillUpdate && (this._cache_mediaModel = e, this.tagsLengthWillUpdate = !1), (i = this._cache_mediaModel) != null ? i : e;
18141
18157
  }
18142
18158
  get filterCSS3DTag() {
18143
- return this.tags.filter(
18144
- (i) => i.stickType === "3DPoint" || i.stickType === "Plane" || i.stickType === "Model" && i.contentType === "MediaModel"
18145
- ).filter((i) => {
18146
- const s = this.getRenderType(i);
18147
- return s === "BehindDom" || s === "Dom";
18159
+ var i;
18160
+ const e = this.tags.filter(
18161
+ (s) => s.stickType === "3DPoint" || s.stickType === "Plane" || s.stickType === "Model" && s.contentType === "MediaModel"
18162
+ ).filter((s) => {
18163
+ const o = this.getRenderType(s);
18164
+ return o === "BehindDom" || o === "Dom";
18148
18165
  });
18166
+ return this.tagsLengthWillUpdate && (this._cache_css3DTag = e, this.tagsLengthWillUpdate = !1), (i = this._cache_css3DTag) != null ? i : e;
18149
18167
  }
18150
18168
  getTransformedPostion(e) {
18151
18169
  if (!e)
@@ -28624,16 +28642,16 @@ class W2 extends Nw {
28624
28642
  }
28625
28643
  }
28626
28644
  updateDomView(e = {}) {
28627
- var s, o, r;
28628
- const i = this.filterPointTag;
28645
+ var s, o;
28646
+ const i = this.filterPointTag.filter((r) => r.state.visible);
28629
28647
  if (this.TagContainerSvelte)
28630
28648
  this.TagContainerSvelte.$set({ tags: i, state: this.state, temporaryState: this.temporaryState });
28631
28649
  else {
28632
- const a = (s = this.five.getElement()) == null ? void 0 : s.parentElement;
28633
- if (!a)
28650
+ const r = (s = this.five.getElement()) == null ? void 0 : s.parentElement;
28651
+ if (!r)
28634
28652
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
28635
- console.trace({ withAnimation: (o = e == null ? void 0 : e.withAnimation) != null ? o : this.store.visibleWithAnimation }), this.TagContainerSvelte = new N2({
28636
- target: a,
28653
+ this.TagContainerSvelte = new N2({
28654
+ target: r,
28637
28655
  props: {
28638
28656
  hooks: this.hooks,
28639
28657
  tags: i,
@@ -28642,7 +28660,7 @@ class W2 extends Nw {
28642
28660
  mediaStore: this.mediaStore,
28643
28661
  rendererMap: this.rendererMap,
28644
28662
  contentTypeMap: this.contentTypeMap,
28645
- withAnimation: (r = e == null ? void 0 : e.withAnimation) != null ? r : this.store.visibleWithAnimation
28663
+ withAnimation: (o = e == null ? void 0 : e.withAnimation) != null ? o : this.store.visibleWithAnimation
28646
28664
  }
28647
28665
  });
28648
28666
  }
@@ -28839,7 +28857,7 @@ class nl extends W2 {
28839
28857
  changeData: (p) => this.changeDataById(r.id, p)
28840
28858
  });
28841
28859
  });
28842
- return o.forEach(Cw), this.tags.push(...o), U2(this.five).then(() => Q(this, null, function* () {
28860
+ return o.forEach(Cw), this.tags.push(...o), this.tagsLengthWillUpdate = !0, U2(this.five).then(() => Q(this, null, function* () {
28843
28861
  var r, a, l;
28844
28862
  this.store.eventListenerDisposer && ((a = (r = this.store).eventListenerDisposer) == null || a.call(r)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(o), this.setVisibleAndUnfolded({ withAnimation: (l = i == null ? void 0 : i.withAnimation) != null ? l : !0 }), this.updatePointTagPosition(), this.updateRenderAllTags();
28845
28863
  }));
@@ -28951,7 +28969,7 @@ class nl extends W2 {
28951
28969
  changeTagById(e, i, s = !0) {
28952
28970
  const o = this.getTagById(e);
28953
28971
  let r = !1;
28954
- i && (i.data && (r = !0), s ? Re(o, i) : Object.assign(o, i), o != null && o.tag3DContentSvelte && (i != null && i.normal) && (o.tag3DContentSvelte.currentNormal = fi(i.normal)), this.setVisible(), this.updateRenderAllTags(), this.clearUnusedPanelTag(), r && o.hooks.emit("dataChanged", o.data));
28972
+ i && (this.tagsLengthWillUpdate = !0, i.data && (r = !0), s ? Re(o, i) : Object.assign(o, i), o != null && o.tag3DContentSvelte && (i != null && i.normal) && (o.tag3DContentSvelte.currentNormal = fi(i.normal)), this.setVisible(), this.updateRenderAllTags(), this.clearUnusedPanelTag(), r && o.hooks.emit("dataChanged", o.data));
28955
28973
  }
28956
28974
  /**
28957
28975
  * @description: 销毁tag
@@ -36677,19 +36695,21 @@ class o3 {
36677
36695
  function r3(n, t) {
36678
36696
  return new o3(n, t);
36679
36697
  }
36680
- class um extends ii {
36698
+ let zo;
36699
+ const um = (n) => zo || (zo = new Vl(n), zo);
36700
+ class fm extends ii {
36681
36701
  constructor(e) {
36682
36702
  var s, o;
36683
36703
  super();
36684
36704
  d(this, "type");
36685
36705
  d(this, "tag");
36686
36706
  d(this, "rawData");
36687
- d(this, "five");
36688
36707
  d(this, "model");
36708
+ d(this, "five");
36689
36709
  d(this, "group");
36690
36710
  d(this, "enabled", !1);
36691
36711
  d(this, "fiveDomEvents");
36692
- this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = gm(this.five);
36712
+ this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = um(this.five);
36693
36713
  const i = (o = (s = e.position) != null ? s : this.model.center) != null ? o : Ys(this.model).getCenter(new w.Vector3());
36694
36714
  this.tag = r3(this.five, i);
36695
36715
  }
@@ -36716,7 +36736,7 @@ class um extends ii {
36716
36736
  return this.emit("click", this);
36717
36737
  }
36718
36738
  }
36719
- class fm extends um {
36739
+ class gm extends fm {
36720
36740
  constructor(...e) {
36721
36741
  super(...e);
36722
36742
  d(this, "hideTag", () => {
@@ -36737,7 +36757,7 @@ class fm extends um {
36737
36757
  return this.tag.visible ? this.tag.hide({ withAnimation: !0 }) : this.tag.show(), super.onClick(), !0;
36738
36758
  }
36739
36759
  }
36740
- class a3 extends fm {
36760
+ class a3 extends gm {
36741
36761
  constructor(...t) {
36742
36762
  super(...t);
36743
36763
  }
@@ -36802,14 +36822,12 @@ const Uu = (n, t) => {
36802
36822
  triangles: Uu,
36803
36823
  prism: u3
36804
36824
  };
36805
- class g3 extends um {
36825
+ class g3 extends fm {
36806
36826
  constructor(...t) {
36807
36827
  const e = t[0], i = Ys(e.model), s = new w.Vector3().lerpVectors(Gi(i, 0), Gi(i, 5), 0.5);
36808
36828
  super(se(D({}, e), { position: s })), this.enable();
36809
36829
  }
36810
36830
  }
36811
- let zo;
36812
- const gm = (n) => zo || (zo = new Vl(n), zo);
36813
36831
  class m3 extends pi {
36814
36832
  constructor(e) {
36815
36833
  super(e);
@@ -36829,7 +36847,7 @@ class m3 extends pi {
36829
36847
  i && e.__renderer !== i && (e.__renderer = i, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = i(e.tag.container, e));
36830
36848
  });
36831
36849
  });
36832
- this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.fiveDomEvents = gm(e), e.scene.add(this.group), this.handleEnable();
36850
+ this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.fiveDomEvents = um(e), e.scene.add(this.group), this.handleEnable();
36833
36851
  }
36834
36852
  load(e) {
36835
36853
  return Q(this, null, function* () {
@@ -36844,7 +36862,7 @@ class m3 extends pi {
36844
36862
  lineColor: s.object_data.color,
36845
36863
  occlusionVisibility: !1
36846
36864
  }), this.fiveDomEvents.addEventListener(r, "hover", () => r.highlight()), this.fiveDomEvents.addEventListener(r, "unHover", () => r.unhighlight());
36847
- const a = new fm({
36865
+ const a = new gm({
36848
36866
  five: this.five,
36849
36867
  model: r,
36850
36868
  group: this.group,
@@ -36891,6 +36909,9 @@ class m3 extends pi {
36891
36909
  setState(e) {
36892
36910
  Me(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" })), Me(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }));
36893
36911
  }
36912
+ getItemById(e) {
36913
+ return this.items.find((i) => i.rawData.id === e);
36914
+ }
36894
36915
  registerTagRenderer(e) {
36895
36916
  this.tagRendererMap = e, this.updateTagRenderer();
36896
36917
  }