@realsee/dnalogel 3.41.6 → 3.42.0-alpha-tag.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 (371) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/README.md +116 -0
  3. package/dist/PanoTagPlugin/controller/TagRender.d.ts +1 -1
  4. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +2 -0
  5. package/dist/PanoTagPlugin/typings/controller.d.ts +17 -16
  6. package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -2
  7. package/dist/base/BasePlugin.d.ts +1 -0
  8. package/dist/index.cjs.js +30 -30
  9. package/dist/index.js +740 -766
  10. package/dist/index.umd.js +33 -33
  11. package/docs/.nojekyll +1 -0
  12. package/docs/assets/custom.css +0 -0
  13. package/docs/assets/highlight.css +127 -0
  14. package/docs/assets/main.js +58 -0
  15. package/docs/assets/search.js +1 -0
  16. package/docs/assets/style.css +1367 -0
  17. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +731 -0
  18. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +694 -0
  19. package/docs/classes/CSS3DRender.html +778 -0
  20. package/docs/classes/GuideLineItem.GuideLineItem.html +481 -0
  21. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +894 -0
  22. package/docs/classes/Magnifier.html +485 -0
  23. package/docs/classes/ModelRoomLabelController.html +403 -0
  24. package/docs/classes/MoveController.html +681 -0
  25. package/docs/classes/Object3DHelperController.html +645 -0
  26. package/docs/classes/PaintBrush.html +507 -0
  27. package/docs/classes/PanoMeasurePluginLine.html +527 -0
  28. package/docs/classes/PanoMeasurePluginModel.html +576 -0
  29. package/docs/classes/PanoMeasurePluginPoint.html +367 -0
  30. package/docs/classes/PanoMeasurePluginPolyline.html +572 -0
  31. package/docs/classes/PanoTagPluginController.html +1132 -0
  32. package/docs/classes/Util.BetterTween.html +421 -0
  33. package/docs/classes/Util.Interval.html +437 -0
  34. package/docs/classes/Util.LineSegments.html +389 -0
  35. package/docs/classes/Util.Magnifier.html +508 -0
  36. package/docs/classes/Util.Object3D.html +411 -0
  37. package/docs/classes/Util.PointDomHelper.html +412 -0
  38. package/docs/classes/Util.PointHelper.html +403 -0
  39. package/docs/classes/Util.PointSelectorHelper.html +459 -0
  40. package/docs/classes/Util.Rectangle.html +460 -0
  41. package/docs/classes/WalkController.html +700 -0
  42. package/docs/enums/CameraMovementEffect.html +315 -0
  43. package/docs/enums/ContentType.html +461 -0
  44. package/docs/enums/DIRECTION.html +325 -0
  45. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +325 -0
  46. package/docs/enums/DimensionType.html +315 -0
  47. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +318 -0
  48. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +325 -0
  49. package/docs/enums/PaintBrushTypeEnum.html +318 -0
  50. package/docs/enums/PointType.html +315 -0
  51. package/docs/enums/Rotation.html +322 -0
  52. package/docs/functions/AreaMakerPlugin.html +295 -0
  53. package/docs/functions/CSS3DRenderPlugin.html +293 -0
  54. package/docs/functions/CameraMovementPlugin.html +298 -0
  55. package/docs/functions/CruisePlugin.html +295 -0
  56. package/docs/functions/CurrentPanoImagePlugin.html +295 -0
  57. package/docs/functions/GuideLinePlugin.html +295 -0
  58. package/docs/functions/ItemLabelPlugin.html +295 -0
  59. package/docs/functions/MapviewFloorplanPlugin.html +295 -0
  60. package/docs/functions/ModelChassisCompassPlugin.html +298 -0
  61. package/docs/functions/ModelEntryDoorGuidePlugin.html +298 -0
  62. package/docs/functions/ModelFloorplanPlugin.html +295 -0
  63. package/docs/functions/ModelItemLabelPlugin.html +295 -0
  64. package/docs/functions/ModelRoomLabelPlugin.html +293 -0
  65. package/docs/functions/ModelTVVideoPlugin.html +295 -0
  66. package/docs/functions/ModelViewPlugin.html +298 -0
  67. package/docs/functions/MovePlugin.html +295 -0
  68. package/docs/functions/Object3DHelperPlugin.html +293 -0
  69. package/docs/functions/PanoCompassPlugin.html +295 -0
  70. package/docs/functions/PanoCursorRaycasterPlugin.html +299 -0
  71. package/docs/functions/PanoDoorLabelPlugin.html +295 -0
  72. package/docs/functions/PanoFloorplanRadarPlugin.html +295 -0
  73. package/docs/functions/PanoMeasurePlugin.html +295 -0
  74. package/docs/functions/PanoRulerPlugin.html +298 -0
  75. package/docs/functions/PanoRulerProPlugin.html +298 -0
  76. package/docs/functions/PanoSpatialTagPlugin.html +298 -0
  77. package/docs/functions/PanoTagPlugin.html +300 -0
  78. package/docs/functions/PanoVideoPlugin.html +304 -0
  79. package/docs/functions/PipelinePlugin.html +293 -0
  80. package/docs/functions/TopviewFloorplanPlugin.html +295 -0
  81. package/docs/functions/Util.absoluteUrl.html +331 -0
  82. package/docs/functions/Util.checkFiveModelLoaded.html +334 -0
  83. package/docs/functions/Util.equal.html +343 -0
  84. package/docs/functions/Util.getCoordsFromClient.html +333 -0
  85. package/docs/functions/Util.getCoordsFromElement.html +333 -0
  86. package/docs/functions/Util.getFrameTime.html +325 -0
  87. package/docs/functions/Util.getIntersectFromRelativePosition.html +333 -0
  88. package/docs/functions/Util.getRaycasterFromFivePointer.html +333 -0
  89. package/docs/functions/Util.isAbsoluteURL.html +326 -0
  90. package/docs/functions/Util.isModelLike.html +326 -0
  91. package/docs/functions/Util.isNil.html +334 -0
  92. package/docs/functions/Util.isPanoramaLike.html +326 -0
  93. package/docs/functions/Util.nextFrame.html +339 -0
  94. package/docs/functions/Util.notNil.html +334 -0
  95. package/docs/functions/Util.requestAnimationFrameInterval.html +355 -0
  96. package/docs/functions/Util.tweenProgress.html +328 -0
  97. package/docs/functions/Util.uuid.html +324 -0
  98. package/docs/functions/pluginFlag.html +293 -0
  99. package/docs/index.html +358 -0
  100. package/docs/interfaces/AddTagConfig.html +308 -0
  101. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +335 -0
  102. package/docs/interfaces/AreaMakerPluginType.Config.html +340 -0
  103. package/docs/interfaces/AreaMakerPluginType.EventMap.html +626 -0
  104. package/docs/interfaces/AreaMakerPluginType.Params.html +339 -0
  105. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +397 -0
  106. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +382 -0
  107. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +339 -0
  108. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +332 -0
  109. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +331 -0
  110. package/docs/interfaces/AreaMakerPluginType.State.html +360 -0
  111. package/docs/interfaces/CSS3DRenderPluginEventMap.html +454 -0
  112. package/docs/interfaces/CSS3DRenderPluginState.html +330 -0
  113. package/docs/interfaces/CameraMovementPluginExportType.html +363 -0
  114. package/docs/interfaces/CruisePluginTypes.Config.html +364 -0
  115. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +366 -0
  116. package/docs/interfaces/CruisePluginTypes.EventMap.html +724 -0
  117. package/docs/interfaces/CruisePluginTypes.MoveAction.html +390 -0
  118. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +426 -0
  119. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +416 -0
  120. package/docs/interfaces/CruisePluginTypes.PluginData.html +356 -0
  121. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +324 -0
  122. package/docs/interfaces/CruisePluginTypes.PluginState.html +392 -0
  123. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +387 -0
  124. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +526 -0
  125. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +328 -0
  126. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +320 -0
  127. package/docs/interfaces/CurrentPanoImagePluginType.State.html +342 -0
  128. package/docs/interfaces/EventMap.html +547 -0
  129. package/docs/interfaces/FloorplanBounding.html +337 -0
  130. package/docs/interfaces/FloorplanData.html +340 -0
  131. package/docs/interfaces/FloorplanEntrance.html +365 -0
  132. package/docs/interfaces/FloorplanExtraObject.html +355 -0
  133. package/docs/interfaces/FloorplanExtraObject3D.html +344 -0
  134. package/docs/interfaces/FloorplanFloorData.html +333 -0
  135. package/docs/interfaces/FloorplanImagePosition.html +319 -0
  136. package/docs/interfaces/FloorplanObserver.html +337 -0
  137. package/docs/interfaces/FloorplanOutlineItem.html +333 -0
  138. package/docs/interfaces/FloorplanPosition.html +319 -0
  139. package/docs/interfaces/FloorplanRoomItem.html +407 -0
  140. package/docs/interfaces/FloorplanRoomLabelItem.html +325 -0
  141. package/docs/interfaces/FloorplanServerBounding.html +337 -0
  142. package/docs/interfaces/FloorplanServerComputedData.html +336 -0
  143. package/docs/interfaces/FloorplanServerData.html +319 -0
  144. package/docs/interfaces/FloorplanServerDoorItem.html +336 -0
  145. package/docs/interfaces/FloorplanServerDoorPosition.html +322 -0
  146. package/docs/interfaces/FloorplanServerEntrance.html +365 -0
  147. package/docs/interfaces/FloorplanServerFloorData.html +333 -0
  148. package/docs/interfaces/FloorplanServerImagePosition.html +319 -0
  149. package/docs/interfaces/FloorplanServerObserver.html +337 -0
  150. package/docs/interfaces/FloorplanServerOutlineItem.html +333 -0
  151. package/docs/interfaces/FloorplanServerPosition.html +319 -0
  152. package/docs/interfaces/FloorplanServerRoomItem.html +419 -0
  153. package/docs/interfaces/FloorplanServerRoomLabelItem.html +325 -0
  154. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +328 -0
  155. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +367 -0
  156. package/docs/interfaces/GuideLinePluginType.EventMap.html +531 -0
  157. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +362 -0
  158. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +353 -0
  159. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +452 -0
  160. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +342 -0
  161. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +352 -0
  162. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +522 -0
  163. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +349 -0
  164. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +532 -0
  165. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +314 -0
  166. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +335 -0
  167. package/docs/interfaces/GuideLinePluginType.PluginState.html +360 -0
  168. package/docs/interfaces/GuideLinePluginType.Route.html +376 -0
  169. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +358 -0
  170. package/docs/interfaces/HelperOffset.html +337 -0
  171. package/docs/interfaces/ImagePlaneGroup.html +311 -0
  172. package/docs/interfaces/ItemLabelPluginData.html +308 -0
  173. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +393 -0
  174. package/docs/interfaces/ItemLabelPluginParametersType.html +329 -0
  175. package/docs/interfaces/MinMax.html +315 -0
  176. package/docs/interfaces/ModelChassisCompassPluginData.html +315 -0
  177. package/docs/interfaces/ModelChassisCompassPluginExportType.html +351 -0
  178. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +315 -0
  179. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +322 -0
  180. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +359 -0
  181. package/docs/interfaces/ModelItemLabelPluginData.html +308 -0
  182. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +393 -0
  183. package/docs/interfaces/ModelItemLabelPluginParametersType.html +315 -0
  184. package/docs/interfaces/ModelRoomLabelPluginData.html +308 -0
  185. package/docs/interfaces/ModelTVVideoPluginData.html +329 -0
  186. package/docs/interfaces/ModelTVVideoPluginExportType.html +353 -0
  187. package/docs/interfaces/ModelTVVideoPluginParameterType.html +308 -0
  188. package/docs/interfaces/ModelViewPluginExportType.html +421 -0
  189. package/docs/interfaces/Object3DHelperState.html +322 -0
  190. package/docs/interfaces/ObjectHelperControllers.html +329 -0
  191. package/docs/interfaces/PaintBrushAction.html +368 -0
  192. package/docs/interfaces/PaintBrushConfigs.html +366 -0
  193. package/docs/interfaces/PaintBrushState.html +350 -0
  194. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +430 -0
  195. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +287 -0
  196. package/docs/interfaces/PanoMeasureParameterType.html +454 -0
  197. package/docs/interfaces/PanoMeasurePluginLineJson.html +322 -0
  198. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +319 -0
  199. package/docs/interfaces/PanoMeasurePluginPointJson.html +315 -0
  200. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +325 -0
  201. package/docs/interfaces/PanoRulerPluginExportType.html +382 -0
  202. package/docs/interfaces/PanoRulerPluginOptions.html +331 -0
  203. package/docs/interfaces/PanoRulerPluginParameterType.html +322 -0
  204. package/docs/interfaces/PanoRulerProPluginExportType.html +358 -0
  205. package/docs/interfaces/PanoRulerProPluginOptions.html +328 -0
  206. package/docs/interfaces/PanoRulerProPluginParameterType.html +315 -0
  207. package/docs/interfaces/PanoRulerProPluginState.html +322 -0
  208. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +301 -0
  209. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +290 -0
  210. package/docs/interfaces/PanoSpatialTagPluginData.html +358 -0
  211. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +340 -0
  212. package/docs/interfaces/PanoSpatialTagPluginExportType.html +436 -0
  213. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +336 -0
  214. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +357 -0
  215. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +343 -0
  216. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +336 -0
  217. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +328 -0
  218. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +346 -0
  219. package/docs/interfaces/PanoVideoPluginType.PluginData.html +319 -0
  220. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +425 -0
  221. package/docs/interfaces/PanoVideoPluginType.PluginState.html +319 -0
  222. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +354 -0
  223. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +373 -0
  224. package/docs/interfaces/Point.html +322 -0
  225. package/docs/interfaces/Room.html +329 -0
  226. package/docs/interfaces/RoomInfo.html +315 -0
  227. package/docs/interfaces/RoomLabel.html +391 -0
  228. package/docs/interfaces/RoomRules.html +290 -0
  229. package/docs/interfaces/Rooms.html +290 -0
  230. package/docs/interfaces/Scissor.html +349 -0
  231. package/docs/interfaces/State.html +336 -0
  232. package/docs/interfaces/TagCacheInterface.html +367 -0
  233. package/docs/interfaces/TagConfig.html +570 -0
  234. package/docs/interfaces/TagGLTFObjectGroup.html +311 -0
  235. package/docs/interfaces/TagIconUrl.html +368 -0
  236. package/docs/interfaces/TagObjectGroup.html +311 -0
  237. package/docs/interfaces/TagStyle.html +321 -0
  238. package/docs/interfaces/Tags.html +2825 -0
  239. package/docs/interfaces/TemporaryState.html +308 -0
  240. package/docs/interfaces/Util.MagnifierParameter.html +396 -0
  241. package/docs/interfaces/Util.MouseGroupParameter.html +355 -0
  242. package/docs/interfaces/Util.PointIntersection.html +370 -0
  243. package/docs/modules/AreaMakerPluginType.html +330 -0
  244. package/docs/modules/CruisePluginTypes.html +333 -0
  245. package/docs/modules/CurrentPanoImagePluginType.html +302 -0
  246. package/docs/modules/GuideLineItem.html +294 -0
  247. package/docs/modules/GuideLineModeItem.html +299 -0
  248. package/docs/modules/GuideLinePluginType.html +355 -0
  249. package/docs/modules/PanoVideoPluginType.html +306 -0
  250. package/docs/modules/Util.html +356 -0
  251. package/docs/modules.html +564 -0
  252. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +359 -0
  253. package/docs/types/AreaMakerPluginType.ItemRenderer.html +325 -0
  254. package/docs/types/AreaMakerPluginType.PluginData.html +307 -0
  255. package/docs/types/AreaMakerPluginType.ServerData.html +307 -0
  256. package/docs/types/ArrayPosition.html +284 -0
  257. package/docs/types/AudioAppearance.html +284 -0
  258. package/docs/types/AudioTagTypeConfigKey.html +284 -0
  259. package/docs/types/CSS3DRenderExportType.html +284 -0
  260. package/docs/types/CSS3DRenderPluginExportType.html +284 -0
  261. package/docs/types/CSS3DRenderPluginParameterType.html +284 -0
  262. package/docs/types/ClassFunctionParameters.html +291 -0
  263. package/docs/types/Color.html +284 -0
  264. package/docs/types/ContentTypeConfigKey.html +284 -0
  265. package/docs/types/ContentTypeConfigKeySplit.html +284 -0
  266. package/docs/types/ContentTypeMap.html +284 -0
  267. package/docs/types/Create3DDomContainerReturnType.html +284 -0
  268. package/docs/types/Create3DElementReturnType.html +284 -0
  269. package/docs/types/CruisePluginExportType.html +284 -0
  270. package/docs/types/CruisePluginTypes.CruiseData.html +323 -0
  271. package/docs/types/CruisePluginTypes.MoveEffect.html +300 -0
  272. package/docs/types/CurrentPanoImagePluginExportType.html +284 -0
  273. package/docs/types/DeprecatedMediaPlaneProperty.html +296 -0
  274. package/docs/types/DeprecatedTagProperty.html +299 -0
  275. package/docs/types/Direction-1.html +284 -0
  276. package/docs/types/Direction4.html +284 -0
  277. package/docs/types/ElementRenderer.html +308 -0
  278. package/docs/types/FloorplanRuleLabels.html +287 -0
  279. package/docs/types/FloorplanServerRuleLabels.html +284 -0
  280. package/docs/types/GuideLinePluginExportType.html +284 -0
  281. package/docs/types/GuideLinePluginType.GuideLineItem.html +357 -0
  282. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +378 -0
  283. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +311 -0
  284. package/docs/types/GuideLinePluginType.GuideLineStyle.html +314 -0
  285. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +314 -0
  286. package/docs/types/GuideLinePluginType.PathItem.html +314 -0
  287. package/docs/types/GuideLinePluginType.PluginData.html +323 -0
  288. package/docs/types/HelperEventMap.html +429 -0
  289. package/docs/types/InternalHelperEventMap.html +380 -0
  290. package/docs/types/LoadTagConfig.html +284 -0
  291. package/docs/types/MapviewFloorplanPluginParameterType.html +284 -0
  292. package/docs/types/MapviewFloorplanPluginReturnType.html +284 -0
  293. package/docs/types/MediaData.html +305 -0
  294. package/docs/types/MediaStore.html +289 -0
  295. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +291 -0
  296. package/docs/types/ModelFloorplanPluginParameterType.html +284 -0
  297. package/docs/types/ModelFloorplanPluginReturnType.html +284 -0
  298. package/docs/types/ModelId.html +284 -0
  299. package/docs/types/ModelRoomLabelPluginParameters.html +284 -0
  300. package/docs/types/ModelRoomLabelPluginReturnType.html +284 -0
  301. package/docs/types/MoveArgs.html +294 -0
  302. package/docs/types/MoveOpts.html +292 -0
  303. package/docs/types/Object3DHelperEventMap.html +377 -0
  304. package/docs/types/ObjectFit.html +284 -0
  305. package/docs/types/PaintBrushEventMap.html +315 -0
  306. package/docs/types/PanoCompassPluginData.html +284 -0
  307. package/docs/types/PanoCompassPluginExportType.html +284 -0
  308. package/docs/types/PanoCompassPluginParameterType.html +284 -0
  309. package/docs/types/PanoFloorplanRadarPluginParameterType.html +284 -0
  310. package/docs/types/PanoFloorplanRadarPluginReturnType.html +284 -0
  311. package/docs/types/PanoIndex.html +284 -0
  312. package/docs/types/PanoMeasurePluginEvent.html +284 -0
  313. package/docs/types/PanoMeasureReturnType.html +284 -0
  314. package/docs/types/PanoSpatialTagPluginId.html +284 -0
  315. package/docs/types/PanoTagPluginExportInterface.html +284 -0
  316. package/docs/types/PanoTagPluginParamsInterface.html +284 -0
  317. package/docs/types/PanoVideoPluginParameterType.html +284 -0
  318. package/docs/types/PanoVideoPluginReturnType.html +284 -0
  319. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +292 -0
  320. package/docs/types/PipelinePluginParameterType.html +284 -0
  321. package/docs/types/PipelinePluginReturnType.html +284 -0
  322. package/docs/types/PlaneTag.html +292 -0
  323. package/docs/types/Point2DTag.html +292 -0
  324. package/docs/types/Point3DTag.html +292 -0
  325. package/docs/types/PointTag.html +289 -0
  326. package/docs/types/PointTagInstance.html +289 -0
  327. package/docs/types/Position.html +284 -0
  328. package/docs/types/RotateArgs.html +296 -0
  329. package/docs/types/RotateOpts.html +292 -0
  330. package/docs/types/RuleLabelsKey.html +284 -0
  331. package/docs/types/RuleLabelsValue.html +284 -0
  332. package/docs/types/StickType.html +284 -0
  333. package/docs/types/Tag.html +350 -0
  334. package/docs/types/Tag2D.html +292 -0
  335. package/docs/types/Tag3D.html +292 -0
  336. package/docs/types/TagConfigByKey.html +289 -0
  337. package/docs/types/TagContentType.html +284 -0
  338. package/docs/types/TagContentTypeMapping.html +284 -0
  339. package/docs/types/TagDimensionType.html +286 -0
  340. package/docs/types/TagElement.html +294 -0
  341. package/docs/types/TagEvents.html +337 -0
  342. package/docs/types/TagGLTFObject.html +307 -0
  343. package/docs/types/TagHooks.html +284 -0
  344. package/docs/types/TagId.html +284 -0
  345. package/docs/types/TagInstance.html +362 -0
  346. package/docs/types/TagPointType.html +287 -0
  347. package/docs/types/TagRendererMap.html +291 -0
  348. package/docs/types/TopviewFloorplanPluginParameterType.html +284 -0
  349. package/docs/types/TopviewFloorplanPluginReturnType.html +284 -0
  350. package/docs/types/WorkCode.html +284 -0
  351. package/docs/variables/FLOOR_TYPE_MAP.html +294 -0
  352. package/docs/variables/PLUGIN.html +284 -0
  353. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +287 -0
  354. package/docs/variables/ROOM_TYPE_MAP.html +294 -0
  355. package/docs/variables/defaultGlobalConfig.html +284 -0
  356. package/docs/variables/itemLabelPluginServerParams.html +291 -0
  357. package/docs/variables/modelItemLabelPluginServerParams.html +291 -0
  358. package/docs/variables/modelRoomLabelPluginServerParams.html +291 -0
  359. package/libs/PanoTagPlugin/Components/TagItem.js +246 -286
  360. package/libs/PanoTagPlugin/controller/TagRender.d.ts +1 -1
  361. package/libs/PanoTagPlugin/controller/TagRender.js +61 -58
  362. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +2 -0
  363. package/libs/PanoTagPlugin/controller/TagUtil.js +22 -20
  364. package/libs/PanoTagPlugin/controller/index.js +57 -56
  365. package/libs/PanoTagPlugin/tag.config.js +5 -0
  366. package/libs/PanoTagPlugin/typings/controller.d.ts +17 -16
  367. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -2
  368. package/libs/base/BasePlugin.d.ts +1 -0
  369. package/libs/base/BasePlugin.js +7 -4
  370. package/libs/shared-utils/logger.js +1 -1
  371. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,4 +1,7 @@
1
1
  # CHANGELOG
2
+ ## 3.41.7
3
+ - chore(*): update `BasePlugin`
4
+
2
5
  ## 3.41.6
3
6
  - fix(PanoTagPlugin): 修复模型未加载完成时,手动调用 `changeConfig` 会报错的问题。
4
7
 
package/README.md ADDED
@@ -0,0 +1,116 @@
1
+ <p align="center">
2
+ <a href="https://realsee.js.org/"><img src="https://vrlab-public.ljcdn.com/common/file/web/ea031fa5-ad82-46b3-86c8-7b20ec1e635a.jpg" width="60" /></a>
3
+ </p>
4
+
5
+
6
+ <p align="center">
7
+ <a href="https://www.npmjs.com/package/@realsee/dnalogel">
8
+ <img src="https://img.shields.io/npm/v/@realsee/dnalogel.svg" alt="npm version" >
9
+ </a>
10
+ <a href="https://packagephobia.now.sh/result?p=@realsee/dnalogel">
11
+ <img src="https://packagephobia.now.sh/badge?p=@realsee/dnalogel" alt="install size" >
12
+ </a>
13
+ <a href="https://github.com/realsee-developer/dnalogel/blob/main/TERMS.txt">
14
+ <img src="https://img.shields.io/npm/l/@realsee/dnalogel.svg" alt="license">
15
+ </a>
16
+ </p>
17
+
18
+ <h1 align="center">@realsee/dnalogel</h1>
19
+
20
+ # 👀 Overview
21
+
22
+ @realsee/dnalogel 将 [如视(realsee.com)](https://realsee.com) **VR 空间交互** 常用能力沉淀,并以 `Five Plugins` 形式进行抽象。
23
+ 结合[如视三维空间重建渲染引擎 Five](https://open-platform.realsee.com/developer/docs/five/intro/)
24
+ 与 [如视开放 API](https://open-platform.realsee.com/developer/openapi/?id=1001) ,可以制作出丰富多彩的三维空间应用。不论是经过线上环境千锤百炼的刚需功能,还是灵感一现的炫酷尝试,所有已经落地的功能我们均毫无保留的开源至github [realsee-developer/dnalogel](https://github.com/realsee-developer/dnalogel) 。
25
+
26
+ # 🔨 Usage
27
+
28
+ **1、安装**
29
+
30
+ ```bash
31
+ npm install @realsee/dnalogel
32
+ ```
33
+
34
+ ```bash
35
+ yarn add @realsee/dnalogel
36
+ ```
37
+
38
+ **2、插件注册**
39
+
40
+ ```js
41
+ import { Five } from '@realsee/five'
42
+ import { Plugin } from '@realsee/dnalogel'
43
+ const five = new Five({
44
+ plugins: [[Plugin, 'PluginName', initOptions]],
45
+ })
46
+ ```
47
+
48
+ **3、插件方法使用**
49
+
50
+ ```js
51
+ // 不同插件提供的方法可能存在差异,请参考各插件 API 文档
52
+ five.plugins.PluginName.load(data)
53
+ five.plugins.PluginName.enable()
54
+ five.plugins.PluginName.disable()
55
+ five.plugins.PluginName.dispose()
56
+ ```
57
+
58
+ **4、插件依赖数据获取**
59
+
60
+ 您可以通过 [open API](https://open-platform.realsee.com/developer/open/api#/) 查看数据获取方式及相关 open API 。
61
+
62
+ # 📖 Documents
63
+
64
+ - [说明文档](https://open-platform.realsee.com/developer/docs/dnalogel/intro/)
65
+ - [API 文档](https://open-platform.realsee.com/developer/openapi/?id=1001)
66
+ - [demo 源码](https://github.com/realsee-developer/dnalogel)
67
+ - [数据依赖来源:open API](https://open-platform.realsee.com/developer/openapi/?id=1001)
68
+
69
+ # 💡 Preview
70
+
71
+ 我们为每个插件书写了简单的效果示例,您可点击预览:
72
+ [@realsee/dnalogel showcase](https://realsee-developer.github.io/dnalogel/)
73
+
74
+ # 🧾 Lists
75
+
76
+ - 🔌 ModelViewPlugin:模型小窗插件
77
+ - 🔌 PanoFloorplanRadarPlugin:全景户型雷达图插件
78
+ - 🔌 ModelRoomLabelPlugin:模型态房屋标签插件
79
+ - 🔌 TopviewFloorplanPlugin:俯视模型户型图插件
80
+ - 🔌 ModelChassisCompassPlugin:模型底盘指南针插件
81
+ - 🔌 ModelEntryDoorGuidePlugin:模型入户门引导插件
82
+ - 🔌 CSS3DRenderPlugin:CSS3D渲染插件
83
+ - 🔌 CameraMovementPlugin:相机运镜插件
84
+ - 🔌 ModelFloorplanPlugin:模型户型图插件
85
+ - 🔌 PanoRulerPlugin:全景标尺插件
86
+ - 🔌 PanoCompassPlugin:全景指南针插件
87
+ - 其他插件持续更新中...
88
+
89
+ # 可能遇到的问题
90
+
91
+ 1. webpack打包出现以下错误
92
+
93
+ ```bash
94
+ Module not found: Error: Can't resolve '@realsee/five/line' in 'xxx/node_modules/@realsee/dnalogel/libs'
95
+ Did you mean 'index.js'?
96
+ BREAKING CHANGE: The request '@realsee/five/line' failed to resolve only because it was resolved as fully specified
97
+ (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
98
+ The extension in the request is mandatory for it to be fully specified.
99
+ Add the extension to the request.
100
+ ```
101
+
102
+ 解决方案:在webpack配置里加以下rule
103
+ 参考:[resolvefullyspecified](https://webpack.js.org/configuration/module/#resolvefullyspecified)
104
+
105
+ ```js
106
+ {
107
+ test: /\.m?js$/,
108
+ resolve: {
109
+ fullySpecified: false, // disable the behaviour
110
+ },
111
+ },
112
+ ```
113
+
114
+ # License
115
+
116
+ [TERMS](https://github.com/realsee-developer/dnalogel/blob/main/TERMS.txt)
@@ -65,7 +65,7 @@ export declare abstract class TagRender extends TagComputer {
65
65
  /**
66
66
  * @description 一个点的标签
67
67
  */
68
- protected setPointTagPosition(tag?: TagInstance | TagInstance[]): void;
68
+ protected setPointTagPosition: (tag?: TagInstance | TagInstance[]) => void;
69
69
  /**
70
70
  * @description 渲染单个点的标签
71
71
  */
@@ -8,6 +8,8 @@ import type { Mode } from '@realsee/five';
8
8
  import { FiveDomEvents } from '../../shared-utils/five/FiveDomEvents';
9
9
  export declare abstract class TagUtil extends TagCache {
10
10
  tags: TagInstance[];
11
+ renderWidthPx?: number;
12
+ renderHeightPx?: number;
11
13
  get container(): Element;
12
14
  set container(container: Element);
13
15
  config: Pick<Tags, 'globalConfig' | 'contentTypeConfig'>;
@@ -13,23 +13,24 @@ export type LoadTagConfig = AddTagConfig;
13
13
  export interface TemporaryState {
14
14
  visible?: boolean;
15
15
  }
16
+ export type TagClickParams = {
17
+ event: Event;
18
+ } & ({
19
+ target: 'TagPoint';
20
+ tag: PointTagInstance;
21
+ } | {
22
+ target: 'TagContent';
23
+ tag: TagInstance;
24
+ } | {
25
+ target: 'AudioTagPlayIcon';
26
+ tag: TagInstance;
27
+ audioInstance: HTMLAudioElement;
28
+ } | {
29
+ target: 'TagModel';
30
+ tag: TagInstance<'Model', 'Model'> | TagInstance<'MediaModel', 'Model'>;
31
+ });
16
32
  export interface EventMap extends BasePlugin.EventMap<State> {
17
- click: (params: {
18
- event: Event;
19
- } & ({
20
- target: 'TagPoint';
21
- tag: PointTagInstance;
22
- } | {
23
- target: 'TagContent';
24
- tag: TagInstance;
25
- } | {
26
- target: 'AudioTagPlayIcon';
27
- tag: TagInstance;
28
- audioInstance: HTMLAudioElement;
29
- } | {
30
- target: 'TagModel';
31
- tag: TagInstance<'Model', 'Model'> | TagInstance<'MediaModel', 'Model'>;
32
- })) => void;
33
+ click: (params: TagClickParams) => void;
33
34
  playStateChange: (params: {
34
35
  event: Event;
35
36
  state: 'playing' | 'paused';
@@ -14,8 +14,8 @@ import type anime from 'animejs';
14
14
  type RequiredTag<C extends TagContentType = TagContentType, S extends StickType = StickType> = SetRequired<Tag<C, S>, 'id' | 'data' | 'enabled' | 'config' | 'stickType' | 'contentType'>;
15
15
  export type TagInstance<C extends TagContentType = TagContentType, S extends StickType = StickType> = RequiredTag<C, S> & Partial<{
16
16
  screenPosition: {
17
- leftPercent: number;
18
- topPercent: number;
17
+ leftPx: number;
18
+ topPx: number;
19
19
  } | null;
20
20
  zIndex?: number;
21
21
  temporaryState: {
@@ -80,6 +80,7 @@ declare abstract class Controller<PluginState extends State = State, PluginEvent
80
80
  */
81
81
  abstract state: PluginState;
82
82
  constructor(five: Five, config?: Config);
83
+ updateFive(five: Five): void;
83
84
  /**
84
85
  * 获取当前的插件状态,如果当初插件内存在需要通过动画变更的 state 值,则通过此方法可以得到中间状态
85
86
  */