@realsee/dnalogel 3.27.10 → 3.28.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 (407) hide show
  1. package/dist/PanoTagPlugin/controller/TagCache.d.ts +5 -1
  2. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +3 -3
  3. package/dist/PanoTagPlugin/controller/TagRender.d.ts +7 -7
  4. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -4
  5. package/dist/PanoTagPlugin/controller/index.d.ts +19 -15
  6. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -2
  7. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +12 -12
  8. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +5 -5
  9. package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +1 -0
  10. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +1 -1
  11. package/dist/PanoTagPlugin/utils/search.d.ts +1 -1
  12. package/dist/Sculpt/Objects/Base/index.d.ts +15 -3
  13. package/dist/index.cjs.js +5 -5
  14. package/dist/index.js +68 -36
  15. package/dist/index.umd.js +5 -5
  16. package/docs/assets/search.js +1 -1
  17. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  18. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  19. package/docs/classes/CSS3DRender.html +3 -3
  20. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  21. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  22. package/docs/classes/ModelMakerPluginType.ModelMakerController.html +3 -3
  23. package/docs/classes/ModelRoomLabelController.html +3 -3
  24. package/docs/classes/MoveController.html +3 -3
  25. package/docs/classes/Object3DHelperController.html +3 -3
  26. package/docs/classes/PaintBrush.html +3 -3
  27. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  28. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  29. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  30. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  31. package/docs/classes/PanoTagPluginController.html +104 -68
  32. package/docs/classes/Sculpt.html +3 -3
  33. package/docs/classes/Util.BetterTween.html +3 -3
  34. package/docs/classes/Util.Interval.html +3 -3
  35. package/docs/classes/Util.LineSegments.html +3 -3
  36. package/docs/classes/Util.Magnifier.html +3 -3
  37. package/docs/classes/Util.Object3D.html +3 -3
  38. package/docs/classes/Util.PointDomHelper.html +3 -3
  39. package/docs/classes/Util.PointHelper.html +3 -3
  40. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  41. package/docs/classes/Util.Rectangle.html +3 -3
  42. package/docs/classes/WalkController.html +3 -3
  43. package/docs/enums/CameraMovementEffect.html +3 -3
  44. package/docs/enums/ContentType.html +3 -3
  45. package/docs/enums/DIRECTION.html +3 -3
  46. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  47. package/docs/enums/DimensionType.html +3 -3
  48. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  49. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  50. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  51. package/docs/enums/PointType.html +3 -3
  52. package/docs/enums/Rotation.html +3 -3
  53. package/docs/functions/AreaMakerPlugin.html +3 -3
  54. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  55. package/docs/functions/CameraMovementPlugin.html +3 -3
  56. package/docs/functions/CruisePlugin.html +3 -3
  57. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  58. package/docs/functions/GuideLinePlugin.html +3 -3
  59. package/docs/functions/ItemLabelPlugin.html +3 -3
  60. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  61. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  62. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  63. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  64. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  65. package/docs/functions/ModelMakerPlugin.html +3 -3
  66. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  67. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  68. package/docs/functions/ModelViewPlugin.html +3 -3
  69. package/docs/functions/MovePlugin.html +3 -3
  70. package/docs/functions/Object3DHelperPlugin.html +3 -3
  71. package/docs/functions/PanoCompassPlugin.html +3 -3
  72. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  73. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  74. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  75. package/docs/functions/PanoMeasurePlugin.html +3 -3
  76. package/docs/functions/PanoRulerPlugin.html +3 -3
  77. package/docs/functions/PanoRulerProPlugin.html +3 -3
  78. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  79. package/docs/functions/PanoTagPlugin.html +3 -3
  80. package/docs/functions/PanoVideoPlugin.html +3 -3
  81. package/docs/functions/PipelinePlugin.html +3 -3
  82. package/docs/functions/SculptPlugin.html +3 -3
  83. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  84. package/docs/functions/Util.absoluteUrl.html +3 -3
  85. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  86. package/docs/functions/Util.equal.html +3 -3
  87. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  88. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  89. package/docs/functions/Util.getFrameTime.html +3 -3
  90. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  91. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  92. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  93. package/docs/functions/Util.isModelLike.html +3 -3
  94. package/docs/functions/Util.isNil.html +3 -3
  95. package/docs/functions/Util.isPanoramaLike.html +3 -3
  96. package/docs/functions/Util.nextFrame.html +3 -3
  97. package/docs/functions/Util.notNil.html +3 -3
  98. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  99. package/docs/functions/Util.tweenProgress.html +3 -3
  100. package/docs/functions/Util.uuid.html +3 -3
  101. package/docs/functions/pluginFlag.html +3 -3
  102. package/docs/index.html +4 -4
  103. package/docs/interfaces/AddTagConfig.html +3 -3
  104. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  105. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  106. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  107. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  108. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  109. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  110. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  111. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  112. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  113. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  114. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  115. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  116. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  117. package/docs/interfaces/ContentTypeMapInterface.html +15 -15
  118. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  119. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  120. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  121. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  122. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  123. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  124. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  125. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  126. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  127. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  128. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  129. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  130. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  131. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  132. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  133. package/docs/interfaces/EventMap.html +3 -3
  134. package/docs/interfaces/FloorplanBounding.html +3 -3
  135. package/docs/interfaces/FloorplanData.html +3 -3
  136. package/docs/interfaces/FloorplanEntrance.html +3 -3
  137. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  138. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  139. package/docs/interfaces/FloorplanFloorData.html +3 -3
  140. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  141. package/docs/interfaces/FloorplanObserver.html +3 -3
  142. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  143. package/docs/interfaces/FloorplanPosition.html +3 -3
  144. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  145. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  146. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  147. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  148. package/docs/interfaces/FloorplanServerData.html +3 -3
  149. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  150. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  151. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  152. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  153. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  154. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  155. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  156. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  157. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  158. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  159. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  163. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  164. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  165. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  166. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  167. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  168. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  169. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  170. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  171. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  172. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  173. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  174. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  175. package/docs/interfaces/HelperOffset.html +3 -3
  176. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  177. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  178. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  179. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  180. package/docs/interfaces/MinMax.html +3 -3
  181. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  182. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  183. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  184. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  185. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  186. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  187. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  188. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  189. package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
  190. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  191. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  192. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  193. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  194. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  195. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  196. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  197. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  198. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  199. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  200. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  201. package/docs/interfaces/Object3DHelperState.html +3 -3
  202. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  203. package/docs/interfaces/PaintBrushAction.html +3 -3
  204. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  205. package/docs/interfaces/PaintBrushState.html +3 -3
  206. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  207. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  208. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  209. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  210. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  211. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  212. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  213. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  214. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  215. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  216. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  217. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  218. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  219. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  220. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  221. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  222. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  223. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  224. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  225. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  226. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  227. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  228. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  229. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  230. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  231. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  232. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  233. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  234. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  235. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  236. package/docs/interfaces/Point.html +3 -3
  237. package/docs/interfaces/Room.html +3 -3
  238. package/docs/interfaces/RoomInfo.html +3 -3
  239. package/docs/interfaces/RoomLabel.html +3 -3
  240. package/docs/interfaces/RoomRules.html +3 -3
  241. package/docs/interfaces/Rooms.html +3 -3
  242. package/docs/interfaces/Scissor.html +3 -3
  243. package/docs/interfaces/State.html +3 -3
  244. package/docs/interfaces/TagCacheInterface.html +3 -3
  245. package/docs/interfaces/TagConfig.html +22 -22
  246. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  247. package/docs/interfaces/TagIconUrl.html +3 -3
  248. package/docs/interfaces/TagObjectGroup.html +3 -3
  249. package/docs/interfaces/TagStyle.html +3 -3
  250. package/docs/interfaces/Tags.html +3 -3
  251. package/docs/interfaces/TemporaryState.html +3 -3
  252. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  253. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  254. package/docs/interfaces/Util.PointIntersection.html +3 -3
  255. package/docs/modules/AreaMakerPluginType.html +3 -3
  256. package/docs/modules/CruisePluginTypes.html +3 -3
  257. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  258. package/docs/modules/GuideLineItem.html +3 -3
  259. package/docs/modules/GuideLineModeItem.html +3 -3
  260. package/docs/modules/GuideLinePluginType.html +3 -3
  261. package/docs/modules/ModelMakerPluginType.html +3 -3
  262. package/docs/modules/PanoVideoPluginType.html +3 -3
  263. package/docs/modules/SculptData.html +3 -3
  264. package/docs/modules/Util.html +3 -3
  265. package/docs/modules.html +4 -4
  266. package/docs/types/AddObject3DHelperConfig.html +3 -3
  267. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  268. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  269. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  270. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  271. package/docs/types/ArrayPosition.html +3 -3
  272. package/docs/types/AudioAppearance.html +3 -3
  273. package/docs/types/CSS3DRenderExportType.html +3 -3
  274. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  275. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  276. package/docs/types/ClassFunctionParameters.html +3 -3
  277. package/docs/types/Color.html +3 -3
  278. package/docs/types/ContentTypeConfigKey.html +3 -3
  279. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  280. package/docs/types/ContentTypeMap.html +3 -3
  281. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  282. package/docs/types/Create3DElementReturnType.html +3 -3
  283. package/docs/types/CruisePluginExportType.html +3 -3
  284. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  285. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  286. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  287. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  288. package/docs/types/DeprecatedTagProperty.html +3 -3
  289. package/docs/types/Direction-1.html +3 -3
  290. package/docs/types/Direction4.html +3 -3
  291. package/docs/types/ElementRenderer.html +3 -3
  292. package/docs/types/FloorplanRuleLabels.html +3 -3
  293. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  294. package/docs/types/GuideLinePluginExportType.html +3 -3
  295. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  296. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  297. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  298. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  299. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  300. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  301. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  302. package/docs/types/HelperEventMap.html +3 -3
  303. package/docs/types/InternalHelperEventMap.html +3 -3
  304. package/docs/types/LoadTagConfig.html +3 -3
  305. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  306. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  307. package/docs/types/MediaData.html +6 -6
  308. package/docs/types/MediaStore.html +3 -3
  309. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  310. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  311. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  312. package/docs/types/ModelId.html +3 -3
  313. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  314. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  315. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  316. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  317. package/docs/types/MoveArgs.html +3 -3
  318. package/docs/types/MoveOpts.html +3 -3
  319. package/docs/types/Object3DHelperEventMap.html +3 -3
  320. package/docs/types/ObjectFit.html +3 -3
  321. package/docs/types/PaintBrushEventMap.html +3 -3
  322. package/docs/types/PanoCompassPluginData.html +3 -3
  323. package/docs/types/PanoCompassPluginExportType.html +3 -3
  324. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  325. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  326. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  327. package/docs/types/PanoIndex.html +3 -3
  328. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  329. package/docs/types/PanoMeasureReturnType.html +3 -3
  330. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  331. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  332. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  333. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  334. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  335. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +6 -6
  336. package/docs/types/PipelinePluginParameterType.html +3 -3
  337. package/docs/types/PipelinePluginReturnType.html +3 -3
  338. package/docs/types/PlaneTag.html +3 -3
  339. package/docs/types/Point2DTag.html +3 -3
  340. package/docs/types/Point3DTag.html +3 -3
  341. package/docs/types/PointTag.html +3 -3
  342. package/docs/types/PointTagInstance.html +3 -3
  343. package/docs/types/Position.html +3 -3
  344. package/docs/types/PositionFrom.html +3 -3
  345. package/docs/types/RotateArgs.html +3 -3
  346. package/docs/types/RotateOpts.html +3 -3
  347. package/docs/types/RuleLabelsKey.html +3 -3
  348. package/docs/types/RuleLabelsValue.html +3 -3
  349. package/docs/types/ScaleCallback.html +3 -3
  350. package/docs/types/ScalePosition.html +3 -3
  351. package/docs/types/SculptData.BoxData.html +3 -3
  352. package/docs/types/SculptData.CircleData.html +3 -3
  353. package/docs/types/SculptData.CylinderData.html +3 -3
  354. package/docs/types/SculptData.PointData.html +3 -3
  355. package/docs/types/SculptData.PolygonData.html +3 -3
  356. package/docs/types/SculptData.PolylineData.html +3 -3
  357. package/docs/types/SculptData.PrismData.html +3 -3
  358. package/docs/types/SculptData.RectangleData.html +3 -3
  359. package/docs/types/StickType.html +3 -3
  360. package/docs/types/Tag.html +8 -8
  361. package/docs/types/Tag2D.html +3 -3
  362. package/docs/types/Tag3D.html +3 -3
  363. package/docs/types/TagConfigByKey.html +3 -3
  364. package/docs/types/TagContentType.html +3 -3
  365. package/docs/types/TagContentTypeMapping.html +3 -3
  366. package/docs/types/TagDimensionType.html +3 -3
  367. package/docs/types/TagElement.html +3 -3
  368. package/docs/types/TagEvents.html +3 -3
  369. package/docs/types/TagGLTFObject.html +3 -3
  370. package/docs/types/TagHooks.html +3 -3
  371. package/docs/types/TagId.html +3 -3
  372. package/docs/types/TagInstance.html +17 -4
  373. package/docs/types/TagPointType.html +3 -3
  374. package/docs/types/TagRendererMap.html +3 -3
  375. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  376. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  377. package/docs/types/WorkCode.html +3 -3
  378. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  379. package/docs/variables/PLUGIN.html +3 -3
  380. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  381. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  382. package/docs/variables/defaultGlobalConfig.html +3 -3
  383. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  384. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  385. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  386. package/libs/PanoTagPlugin/controller/TagCache.d.ts +5 -1
  387. package/libs/PanoTagPlugin/controller/TagCache.js +23 -15
  388. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +3 -3
  389. package/libs/PanoTagPlugin/controller/TagComputer.js +3 -3
  390. package/libs/PanoTagPlugin/controller/TagRender.d.ts +7 -7
  391. package/libs/PanoTagPlugin/controller/TagRender.js +7 -7
  392. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -4
  393. package/libs/PanoTagPlugin/controller/TagUtil.js +4 -4
  394. package/libs/PanoTagPlugin/controller/index.d.ts +19 -15
  395. package/libs/PanoTagPlugin/controller/index.js +52 -40
  396. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -2
  397. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +12 -12
  398. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +5 -5
  399. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +1 -0
  400. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +1 -1
  401. package/libs/PanoTagPlugin/utils/search.d.ts +1 -1
  402. package/libs/Sculpt/Objects/Base/index.d.ts +15 -3
  403. package/libs/Sculpt/Objects/Base/index.js +14 -2
  404. package/libs/base/BasePlugin.js +1 -1
  405. package/libs/shared-utils/five/getRaycasterByNdcPosition.js +1 -1
  406. package/libs/shared-utils/logger.js +1 -1
  407. package/package.json +1 -1
@@ -1,15 +1,15 @@
1
- var I = Object.defineProperty, V = Object.defineProperties;
2
- var O = Object.getOwnPropertyDescriptors;
1
+ var B = Object.defineProperty, E = Object.defineProperties;
2
+ var V = Object.getOwnPropertyDescriptors;
3
3
  var A = Object.getOwnPropertySymbols;
4
- var R = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable;
5
- var m = (d, a, e) => a in d ? I(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, g = (d, a) => {
4
+ var R = Object.prototype.hasOwnProperty, k = Object.prototype.propertyIsEnumerable;
5
+ var m = (d, a, e) => a in d ? B(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, g = (d, a) => {
6
6
  for (var e in a || (a = {}))
7
7
  R.call(a, e) && m(d, e, a[e]);
8
8
  if (A)
9
9
  for (var e of A(a))
10
- B.call(a, e) && m(d, e, a[e]);
10
+ k.call(a, e) && m(d, e, a[e]);
11
11
  return d;
12
- }, b = (d, a) => V(d, O(a));
12
+ }, b = (d, a) => E(d, V(a));
13
13
  var l = (d, a, e) => (m(d, typeof a != "symbol" ? a + "" : a, e), e);
14
14
  var c = (d, a, e) => new Promise((t, i) => {
15
15
  var s = (r) => {
@@ -28,13 +28,13 @@ var c = (d, a, e) => new Promise((t, i) => {
28
28
  n((e = e.apply(d, a)).next());
29
29
  });
30
30
  import * as v from "three";
31
- import { Subscribe as F } from "@realsee/five";
31
+ import { Subscribe as O } from "@realsee/five";
32
32
  import { objectAssignDeepExports as p } from "../../vendor/object-assign-deep/objectAssignDeep.js";
33
- import { addDebugPoints as M } from "../utils/addDebugPoints.js";
34
- import { arrayPositionToVector3 as D } from "../../shared-utils/positionToVector3.js";
35
- import { isMediaModelTag as k, isModelTag as _ } from "../utils/tag/tagCheck.js";
33
+ import { addDebugPoints as F } from "../utils/addDebugPoints.js";
34
+ import { arrayPositionToVector3 as P } from "../../shared-utils/positionToVector3.js";
35
+ import { isMediaModelTag as M, isModelTag as _ } from "../utils/tag/tagCheck.js";
36
36
  import { debounce as L } from "../utils/debounce.js";
37
- import { throttle as P } from "../utils/throttle.js";
37
+ import { throttle as D } from "../utils/throttle.js";
38
38
  import N from "../utils/tag/format.js";
39
39
  import { generateBlankAudio as G, AudioNamespace as z } from "../../shared-utils/audio.js";
40
40
  import { resizeObserver as S } from "../../shared-utils/dom/resizeObserver.js";
@@ -172,8 +172,8 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
172
172
  import "../../shared-utils/three/GLTFLoader.js";
173
173
  import "@realsee/five/gltf-loader";
174
174
  import "../../shared-utils/animationFrame/index.js";
175
- const w = "Dnalogel-PanoTagPlugin", Bi = (d) => `${w}--${d}`;
176
- class Fi extends W {
175
+ const w = "Dnalogel-PanoTagPlugin", ki = (d) => `${w}--${d}`;
176
+ class Oi extends W {
177
177
  constructor(e, t) {
178
178
  super(e);
179
179
  /** state */
@@ -209,7 +209,7 @@ class Fi extends W {
209
209
  l(this, "updateVisible", () => {
210
210
  const e = this.five.getCurrentState().mode;
211
211
  this.tags.forEach((t) => {
212
- k(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
212
+ M(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
213
213
  }), this.setVisible(), this.updateRenderAllTags();
214
214
  });
215
215
  l(this, "handleFiveWantsMoveToPano", (e) => {
@@ -220,14 +220,14 @@ class Fi extends W {
220
220
  }), this.updateTagContainerVisible(), this.updateRenderImagePlane(), this.updateRenderVideoPlane();
221
221
  });
222
222
  /**
223
- * @description: 走点/切换模型后显示
223
+ * @description 走点/切换模型后显示
224
224
  */
225
225
  // private temporaryShow({ withAnimation }: { withAnimation?: boolean } = { withAnimation: false }) {
226
226
  // this.temporaryState.visible = true
227
227
  // this.updateTagContainerVisible()
228
228
  // }
229
229
  /**
230
- * @description: 走点/切换模型时临时隐藏
230
+ * @description 走点/切换模型时临时隐藏
231
231
  */
232
232
  // private temporaryHide({ withAnimation }: { withAnimation?: boolean } = { withAnimation: false }) {
233
233
  // this.temporaryState.visible = false
@@ -281,7 +281,7 @@ class Fi extends W {
281
281
  }
282
282
  }
283
283
  /**
284
- * @description: 加载数据
284
+ * @description 加载数据
285
285
  */
286
286
  load(e, t) {
287
287
  return c(this, null, function* () {
@@ -293,7 +293,7 @@ class Fi extends W {
293
293
  const i = yield this.addTag(e.tagList, t);
294
294
  if (this.store.visibleWithAnimation = void 0, this.debug)
295
295
  try {
296
- M(this.five, this.tags);
296
+ F(this.five, this.tags);
297
297
  } catch (n) {
298
298
  console.error(n);
299
299
  }
@@ -301,7 +301,7 @@ class Fi extends W {
301
301
  });
302
302
  }
303
303
  /**
304
- * @description: 添加标签
304
+ * @description 添加标签
305
305
  */
306
306
  addTag(e, t) {
307
307
  return c(this, null, function* () {
@@ -318,11 +318,11 @@ class Fi extends W {
318
318
  visible: void 0,
319
319
  unfolded: !this.can("fold", o)
320
320
  }, f.initialState),
321
- hooks: new F(),
321
+ hooks: new O(),
322
322
  originPosition: o.position,
323
323
  position: (() => {
324
324
  const u = this.getTransformedPostion(o.position);
325
- return Array.isArray(u) ? u.map((E) => E.toArray()) : u.toArray();
325
+ return Array.isArray(u) ? u.map((I) => I.toArray()) : u.toArray();
326
326
  })(),
327
327
  initialConfig: r,
328
328
  computedConfig: h,
@@ -332,7 +332,8 @@ class Fi extends W {
332
332
  enable: () => this.changeEnabledById(o.id, !0),
333
333
  disable: () => this.changeEnabledById(o.id, !1),
334
334
  destroy: () => this.destroyTagById(o.id),
335
- changeData: (u) => this.changeDataById(o.id, u)
335
+ changeData: (u) => this.changeDataById(o.id, u),
336
+ changePosition: (u) => this.changePositionById(o.id, u)
336
337
  });
337
338
  });
338
339
  return s.forEach(N), this.tags.push(...s), this.tagsLengthWillUpdate = !0, J(this.five).then(() => c(this, null, function* () {
@@ -342,19 +343,19 @@ class Fi extends W {
342
343
  });
343
344
  }
344
345
  /**
345
- * @description: 改变配置
346
+ * @description 改变配置
346
347
  */
347
348
  changeConfig(e, t = !0) {
348
349
  t ? this.config = p({}, this.config, e) : this.config = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
349
350
  }
350
351
  /**
351
- * @description: 改变全局配置
352
+ * @description 改变全局配置
352
353
  */
353
354
  changeGlobalConfig(e, t = !0) {
354
355
  t ? this.config.globalConfig = p({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
355
356
  }
356
357
  /**
357
- * @description: 改变类型配置
358
+ * @description 改变类型配置
358
359
  */
359
360
  changeContentTypeConfig(e, t, i = !0) {
360
361
  this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = p({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
@@ -394,7 +395,7 @@ class Fi extends W {
394
395
  this.state = Object.assign(this.state, e), this.store.visibleWithAnimation = s, o.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), o.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: i });
395
396
  }
396
397
  /**
397
- * @description: 销毁
398
+ * @description 销毁
398
399
  */
399
400
  dispose() {
400
401
  var e, t, i, s, o, n;
@@ -421,14 +422,25 @@ class Fi extends W {
421
422
  i && (i.enabled = t, this.updateRenderAllTags());
422
423
  }
423
424
  /**
424
- * @description: 修改3D标签normal
425
+ * @description 修改3D标签normal
425
426
  */
426
427
  changeTagNormalById(e, t) {
427
428
  const i = this.getTagById(e);
428
- i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = D(t));
429
+ i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = P(t));
429
430
  }
430
431
  /**
431
- * @description: 改变data
432
+ * @description 改变data
433
+ */
434
+ changePositionById(e, t) {
435
+ const i = this.getTagById(e);
436
+ if (!i)
437
+ return;
438
+ i.originPosition = t, i.position = t, this.clearCacheById(e);
439
+ const s = this.getVisible(i);
440
+ i.state && (i.state.visible = s), i.stickType === "2DPoint" || i.stickType === "3DPoint" ? this.updatePointTagPosition() : this.updateRenderAllTags();
441
+ }
442
+ /**
443
+ * @description 改变data
432
444
  */
433
445
  changeDataById(e, t, i = !0) {
434
446
  const s = this.getTagById(e);
@@ -436,21 +448,21 @@ class Fi extends W {
436
448
  s && (s.data && (o = !0), i ? s.data = p(s.data, t) : s.data = g(g({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
437
449
  }
438
450
  /**
439
- * @description: 改变tag的stickType
451
+ * @description 改变tag的stickType
440
452
  */
441
453
  changeStickTypeById(e, t, i = !0) {
442
454
  this.changeTagById(e, t, i);
443
455
  }
444
456
  /**
445
- * @description: 改变tag任意属性
457
+ * @description 改变tag任意属性
446
458
  */
447
459
  changeTagById(e, t, i = !0) {
448
460
  const s = this.getTagById(e);
449
461
  let o = !1;
450
- t && (this.tagsLengthWillUpdate = !0, t.data && (o = !0), i ? p(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = D(t.normal)), this.setVisible(), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
462
+ t && (this.tagsLengthWillUpdate = !0, t.data && (o = !0), i ? p(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = P(t.normal)), this.clearCacheById(e), this.setVisible(), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
451
463
  }
452
464
  /**
453
- * @description: 销毁tag
465
+ * @description 销毁tag
454
466
  */
455
467
  destroyTagById(e) {
456
468
  (Array.isArray(e) ? e : [e]).forEach((i) => {
@@ -459,7 +471,7 @@ class Fi extends W {
459
471
  }), this.tagsLengthWillUpdate = !0, this.updateRenderAllTags(), this.updateDomView();
460
472
  }
461
473
  /**
462
- * @description: 设置 visible 和 unfolded
474
+ * @description 设置 visible 和 unfolded
463
475
  */
464
476
  setVisibleAndUnfolded() {
465
477
  return c(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
@@ -490,12 +502,12 @@ class Fi extends W {
490
502
  }), this.five.needsRender = !0;
491
503
  }
492
504
  /**
493
- * @description: 添加 cameraUpdate, panoArrived 等事件监听
505
+ * @description 添加 cameraUpdate, panoArrived 等事件监听
494
506
  */
495
507
  addEventListener() {
496
508
  const { five: e, hooks: t } = this;
497
509
  let i = !1;
498
- const s = P(() => {
510
+ const s = D(() => {
499
511
  i || (i = !0, e.ready().then(() => {
500
512
  this.onFiveEveryReady(), i = !1;
501
513
  }));
@@ -520,7 +532,7 @@ class Fi extends W {
520
532
  }, i = () => {
521
533
  this.state.enabled && this.hide();
522
534
  }, { observe: s, unobserve: o } = S(
523
- P(() => {
535
+ D(() => {
524
536
  this.store.resizeObserverDisposer && i();
525
537
  }, 500),
526
538
  e
@@ -554,7 +566,7 @@ class Fi extends W {
554
566
  }
555
567
  }
556
568
  export {
557
- Fi as PanoTagPluginController,
558
- Fi as default,
559
- Bi as pluginFlag
569
+ Oi as PanoTagPluginController,
570
+ Oi as default,
571
+ ki as pluginFlag
560
572
  };
@@ -22,13 +22,13 @@ export type Tag<C extends TagContentType = TagContentType, S extends StickType =
22
22
  /** 唯一标识 */
23
23
  id?: TagId;
24
24
  /**
25
- * @description: 附着方式
25
+ * @description 附着方式
26
26
  * @type {StickType}
27
27
  * @default '2DPoint'
28
28
  */
29
29
  stickType?: S;
30
30
  /**
31
- * @description: 内容类型,根据内容类型展示对应UI
31
+ * @description 内容类型,根据内容类型展示对应UI
32
32
  * @type {TagContentType}
33
33
  */
34
34
  contentType: LiteralUnion<C, string>;
@@ -8,7 +8,7 @@ import type { Vector3 } from 'three';
8
8
  type TagVisibleMode = Mode | Mode[] | 'PanoramaLike' | 'ModelLike' | 'all';
9
9
  export interface TagConfig<C extends TagContentType = TagContentType> {
10
10
  /**
11
- * @description: 显示/隐藏相关配置
11
+ * @description 显示/隐藏相关配置
12
12
  */
13
13
  visibleConfig?: {
14
14
  /**
@@ -101,12 +101,12 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
101
101
  */
102
102
  distanceAccuracy?: number;
103
103
  /**
104
- * @description: 碰撞检测的点
104
+ * @description 碰撞检测的点
105
105
  * @default 'center'
106
106
  */
107
107
  checkPoints?: 'center' | 'corner' | Vector3[];
108
108
  /**
109
- * @description: 碰撞检测策略,多少点通过检测则认为碰撞通过
109
+ * @description 碰撞检测策略,多少点通过检测则认为碰撞通过
110
110
  * @default 1
111
111
  */
112
112
  needPassed?: number;
@@ -119,11 +119,11 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
119
119
  angleRange?: MinMax;
120
120
  } | ConfigFunction;
121
121
  /**
122
- * @description: 展开/收起相关配置
122
+ * @description 展开/收起相关配置
123
123
  */
124
124
  unfoldedConfig?: {
125
125
  /**
126
- * @description: 保持展开/收起,设置后unfoldedConfig下所有其他配置都不生效
126
+ * @description 保持展开/收起,设置后unfoldedConfig下所有其他配置都不生效
127
127
  * @default null
128
128
  */
129
129
  keep?: 'unfolded' | 'folded' | null;
@@ -165,12 +165,12 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
165
165
  /** 自动展开:最近标签自动展开 */
166
166
  strategy?: 'MinimumDistance';
167
167
  /**
168
- * @description: 展开的最大数量
168
+ * @description 展开的最大数量
169
169
  * @default 1
170
170
  */
171
171
  maxNumber?: number;
172
172
  /**
173
- * @description: 展开的最大距离
173
+ * @description 展开的最大距离
174
174
  * @default 无限制
175
175
  */
176
176
  distance?: MinMax;
@@ -188,12 +188,12 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
188
188
  unfolded?: boolean;
189
189
  };
190
190
  /**
191
- * @description: 标签的默认数据,会将 tag.data 深度合并进来
191
+ * @description 标签的默认数据,会将 tag.data 深度合并进来
192
192
  * @code `tag.data = ObjectAssignDeep(initialData, tag.data)`
193
193
  */
194
194
  initialData?: PartialObjectDeep<ContentTypeMap[C]> & {
195
195
  /**
196
- * @description: 类似 css 的 !important,会覆盖掉 tag.data 中对应的数据
196
+ * @description 类似 css 的 !important,会覆盖掉 tag.data 中对应的数据
197
197
  * @code
198
198
  * ```typescript
199
199
  * if (initialData.important) {
@@ -206,19 +206,19 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
206
206
  important?: boolean;
207
207
  };
208
208
  /**
209
- * @description: 内部使用 css3DRenderer 渲染的标签可以使用此配置来设置 css3DRenderer 相关参数
209
+ * @description 内部使用 css3DRenderer 渲染的标签可以使用此配置来设置 css3DRenderer 相关参数
210
210
  */
211
211
  tag3DConfig?: Create3DDomContainerParamsType['config'];
212
212
  modelConfig?: {
213
213
  autoLookAtEnabled?: boolean;
214
214
  };
215
215
  /**
216
- * @description: 当图片为一张时可以选择通过Mesh渲染
216
+ * @description 当图片为一张时可以选择通过Mesh渲染
217
217
  * @default 'Dom'
218
218
  */
219
219
  renderType?: 'Mesh' | 'Dom';
220
220
  /**
221
- * @description: 是否可以点击
221
+ * @description 是否可以点击
222
222
  * @default true
223
223
  */
224
224
  clickable?: boolean;
@@ -4,7 +4,7 @@ export type MediaData = {
4
4
  type: 'Image';
5
5
  url: string;
6
6
  /**
7
- * @description: 缩略图
7
+ * @description 缩略图
8
8
  */
9
9
  thumbnail?: string;
10
10
  } | {
@@ -16,7 +16,7 @@ export type ObjectFit = 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
16
16
  type Object = Record<string | number | symbol, any>;
17
17
  export type TagContentType = keyof typeof ContentType;
18
18
  /**
19
- * @description: 标签数据
19
+ * @description 标签数据
20
20
  */
21
21
  export interface ContentTypeMapInterface {
22
22
  /** 文字标签 */
@@ -27,12 +27,12 @@ export interface ContentTypeMapInterface {
27
27
  title?: string;
28
28
  description?: string;
29
29
  /**
30
- * @description: description 最大行数, null不限制
30
+ * @description description 最大行数, null不限制
31
31
  * @default: null
32
32
  */
33
33
  descriptionMaxRows?: number | null;
34
34
  /**
35
- * @description: title 最大行数, null不限制
35
+ * @description title 最大行数, null不限制
36
36
  * @default: null
37
37
  */
38
38
  titleMaxRows?: number | null;
@@ -52,7 +52,7 @@ export interface ContentTypeMapInterface {
52
52
  /** @deprecated: 'text' replace by title */
53
53
  text?: string;
54
54
  title?: string;
55
- /** @description: 'line' 是旧的那种有一条线的,默认为'line', 'plane' 是新的那种圆形的 */
55
+ /** @description 'line' 是旧的那种有一条线的,默认为'line', 'plane' 是新的那种圆形的 */
56
56
  appearance?: 'line' | 'plane';
57
57
  theme?: 'dark' | 'light';
58
58
  audioUrl: string;
@@ -57,5 +57,6 @@ export type TagInstance<C extends TagContentType = TagContentType, S extends Sti
57
57
  disable: () => void;
58
58
  destroy: () => void;
59
59
  changeData: (data: PartialObjectDeep<TagInstance<C>['data']>) => void;
60
+ changePosition: (position: TagInstance<C>['position']) => void;
60
61
  };
61
62
  export {};
@@ -69,7 +69,7 @@ export type ContentTypeConfigKeySplit = [StickType | 'Any', TagContentType | 'An
69
69
  type FiveModeType = `[${Exclude<Mode, 'DepthPanorama'> | 'PanoramaLike' | 'ModelLike'}]`;
70
70
  export type ContentTypeConfigKey = FiveModeType | `${FiveModeType}-${_ContentTypeConfigKey}` | _ContentTypeConfigKey;
71
71
  /**
72
- * @description: 从 ContentTypeConfigKey 中提取 ContentTypeConfigKey 对应的 TagContentType 是啥
72
+ * @description 从 ContentTypeConfigKey 中提取 ContentTypeConfigKey 对应的 TagContentType 是啥
73
73
  */
74
74
  export type PickTagContentTypeInContentTypeConfigKey<T> = T extends FiveModeType ? any : T extends `${FiveModeType}-${infer P extends _ContentTypeConfigKey}` ? PickTagContentTypeInContentTypeConfigKey<P> : T extends `${any}-${infer C}` ? C : T extends TagContentType ? T : any;
75
75
  export type TagConfigByKey<T> = PickTagContentTypeInContentTypeConfigKey<T> extends TagContentType ? TagConfig<PickTagContentTypeInContentTypeConfigKey<T>> : TagConfig<any>;
@@ -6,6 +6,6 @@
6
6
  */
7
7
  export declare function binarySearchFirstBig(getValueByIndex: (index: number) => number, indexRange: [number, number], target: number): number;
8
8
  /**
9
- * @description: 查找第一个小于前一个数字的值
9
+ * @description 查找第一个小于前一个数字的值
10
10
  */
11
11
  export declare function searchFirstValueSmallThanLastValue(getValueByIndex: (index: number) => number, indexRange: [number, number]): number;
@@ -37,17 +37,17 @@ Config extends BaseObjectConfig = BaseObjectConfig> extends IObject3D {
37
37
  readonly isSculptObject = true;
38
38
  draggable: boolean;
39
39
  /**
40
- * @description: 是否被选中
40
+ * @description 是否被选中
41
41
  */
42
42
  selected: boolean;
43
43
  /**
44
- * @description: 配置
44
+ * @description 配置
45
45
  */
46
46
  config: Config;
47
47
  editor: BaseEditor;
48
48
  abstract type: string;
49
49
  /**
50
- * @description: 物体导出数据
50
+ * @description 物体导出数据
51
51
  */
52
52
  abstract get data(): ExportData;
53
53
  protected get baseData(): {
@@ -58,9 +58,21 @@ Config extends BaseObjectConfig = BaseObjectConfig> extends IObject3D {
58
58
  constructor(data?: Partial<ImportData>, config?: Partial<Config>);
59
59
  on: <T extends keyof FiveDomEventMap>(event: T, callback: FiveDomEventMap[T], config?: EventHandlerConfig) => void;
60
60
  off: (event?: keyof FiveDomEventMap, callback?: (e: import("../../../shared-utils/five/FiveDomEvents").FiveDomEvent) => any, ...args: any[]) => void;
61
+ /**
62
+ * @description 停止创建当前物体,等同于`esc`
63
+ */
61
64
  stopCreating(): void;
65
+ /**
66
+ * @description 从场景中删除当前物体
67
+ */
62
68
  delete(): void;
69
+ /**
70
+ * @description 高亮当前物体
71
+ */
63
72
  highlight(): void;
73
+ /**
74
+ * @description 取消高亮当前物体
75
+ */
64
76
  unhighlight(): void;
65
77
  protected applyObjectMatrixWorld<P extends THREE.Vector3 | THREE.Vector3[]>(point: P): P;
66
78
  protected applyObjectQuaternion<P extends THREE.Vector3 | THREE.Vector3[]>(point: P): P;
@@ -21,11 +21,11 @@ class x extends m {
21
21
  r(this, "isSculptObject", !0);
22
22
  r(this, "draggable");
23
23
  /**
24
- * @description: 是否被选中
24
+ * @description 是否被选中
25
25
  */
26
26
  r(this, "selected");
27
27
  /**
28
- * @description: 配置
28
+ * @description 配置
29
29
  */
30
30
  r(this, "config");
31
31
  r(this, "editor");
@@ -53,15 +53,27 @@ class x extends m {
53
53
  get pointSelector() {
54
54
  return o.modules.pointSelector;
55
55
  }
56
+ /**
57
+ * @description 停止创建当前物体,等同于`esc`
58
+ */
56
59
  stopCreating() {
57
60
  o.modules.pointSelector.disable();
58
61
  }
62
+ /**
63
+ * @description 从场景中删除当前物体
64
+ */
59
65
  delete() {
60
66
  var e;
61
67
  this.removeFromParent(), (e = this.editor) == null || e.disable();
62
68
  }
69
+ /**
70
+ * @description 高亮当前物体
71
+ */
63
72
  highlight() {
64
73
  }
74
+ /**
75
+ * @description 取消高亮当前物体
76
+ */
65
77
  unhighlight() {
66
78
  }
67
79
  applyObjectMatrixWorld(e) {
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.27.10");
17
+ i(this, "VERSION", "3.28.1");
18
18
  i(this, "five");
19
19
  /**
20
20
  * @description: 插件事件钩子
@@ -1,7 +1,7 @@
1
1
  import * as n from "three";
2
2
  function m(o, r) {
3
3
  const { x: a, y: s } = r, e = a * 2 - 1, c = s * 2 - 1, t = new n.Raycaster();
4
- return t.setFromCamera({ x: e, y: c }, o.camera), t.params.Points.threshold = 0.01, t;
4
+ return t.setFromCamera({ x: e, y: c }, o.camera), t.params.Points.threshold = 0.02, t;
5
5
  }
6
6
  export {
7
7
  m as getRaycasterByNdcPosition
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.27.10",
3
+ "%c %c@realsee/dnalogel %cv3.28.1",
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.27.10",
3
+ "version": "3.28.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",