@realsee/dnalogel 3.7.0-dev.0 → 3.8.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 (369) hide show
  1. package/dist/CruisePlugin/index.d.ts +3 -2
  2. package/dist/PanoTagPlugin/controller/TagRender.d.ts +4 -1
  3. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +1 -0
  4. package/dist/index.cjs.js +29 -29
  5. package/dist/index.js +986 -974
  6. package/dist/index.umd.js +29 -29
  7. package/dist/shared-utils/five/fiveReady.d.ts +2 -0
  8. package/libs/CruisePlugin/Move.js +66 -49
  9. package/libs/CruisePlugin/Work.js +3 -2
  10. package/libs/CruisePlugin/index.d.ts +3 -2
  11. package/libs/CruisePlugin/index.js +12 -10
  12. package/libs/GuideLinePlugin/Controller.js +5 -4
  13. package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
  14. package/libs/GuideLinePlugin/index.js +8 -7
  15. package/libs/PanoTagPlugin/Components/TagItem.js +56 -56
  16. package/libs/PanoTagPlugin/controller/TagRender.d.ts +4 -1
  17. package/libs/PanoTagPlugin/controller/TagRender.js +4 -2
  18. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +1 -0
  19. package/libs/base/BasePlugin.js +1 -1
  20. package/libs/index.js +118 -116
  21. package/libs/shared-utils/five/fiveReady.d.ts +2 -0
  22. package/libs/shared-utils/five/fiveReady.js +28 -0
  23. package/libs/shared-utils/logger.js +1 -1
  24. package/package.json +2 -2
  25. package/docs/.nojekyll +0 -1
  26. package/docs/assets/highlight.css +0 -120
  27. package/docs/assets/main.js +0 -58
  28. package/docs/assets/search.js +0 -1
  29. package/docs/assets/style.css +0 -1367
  30. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +0 -739
  31. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +0 -692
  32. package/docs/classes/CSS3DRender.html +0 -776
  33. package/docs/classes/GuideLineItem.GuideLineItem.html +0 -479
  34. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -859
  35. package/docs/classes/Magnifier.html +0 -483
  36. package/docs/classes/ModelRoomLabelController.html +0 -401
  37. package/docs/classes/MoveController.html +0 -652
  38. package/docs/classes/Object3DHelperController.html +0 -643
  39. package/docs/classes/PaintBrush.html +0 -505
  40. package/docs/classes/PanoMeasurePluginLine.html +0 -525
  41. package/docs/classes/PanoMeasurePluginModel.html +0 -574
  42. package/docs/classes/PanoMeasurePluginPoint.html +0 -365
  43. package/docs/classes/PanoMeasurePluginPolyline.html +0 -570
  44. package/docs/classes/PanoTagPluginController.html +0 -1114
  45. package/docs/classes/Util.BetterTween.html +0 -419
  46. package/docs/classes/Util.Interval.html +0 -435
  47. package/docs/classes/Util.LineSegments.html +0 -387
  48. package/docs/classes/Util.Magnifier.html +0 -506
  49. package/docs/classes/Util.Object3D.html +0 -409
  50. package/docs/classes/Util.PointDomHelper.html +0 -410
  51. package/docs/classes/Util.PointHelper.html +0 -401
  52. package/docs/classes/Util.PointSelectorHelper.html +0 -457
  53. package/docs/classes/Util.Rectangle.html +0 -458
  54. package/docs/classes/WalkController.html +0 -671
  55. package/docs/enums/CameraMovementEffect.html +0 -313
  56. package/docs/enums/ContentType.html +0 -459
  57. package/docs/enums/DIRECTION.html +0 -323
  58. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -323
  59. package/docs/enums/DimensionType.html +0 -313
  60. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -316
  61. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -323
  62. package/docs/enums/PaintBrushTypeEnum.html +0 -316
  63. package/docs/enums/PointType.html +0 -313
  64. package/docs/enums/Rotation.html +0 -320
  65. package/docs/functions/AreaMakerPlugin.html +0 -293
  66. package/docs/functions/CSS3DRenderPlugin.html +0 -291
  67. package/docs/functions/CameraMovementPlugin.html +0 -296
  68. package/docs/functions/CruisePlugin.html +0 -293
  69. package/docs/functions/CurrentPanoImagePlugin.html +0 -293
  70. package/docs/functions/GuideLinePlugin.html +0 -293
  71. package/docs/functions/ItemLabelPlugin.html +0 -293
  72. package/docs/functions/MapviewFloorplanPlugin.html +0 -293
  73. package/docs/functions/ModelChassisCompassPlugin.html +0 -296
  74. package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -296
  75. package/docs/functions/ModelFloorplanPlugin.html +0 -293
  76. package/docs/functions/ModelItemLabelPlugin.html +0 -293
  77. package/docs/functions/ModelRoomLabelPlugin.html +0 -291
  78. package/docs/functions/ModelTVVideoPlugin.html +0 -293
  79. package/docs/functions/ModelViewPlugin.html +0 -296
  80. package/docs/functions/Object3DHelperPlugin.html +0 -291
  81. package/docs/functions/PanoCompassPlugin.html +0 -293
  82. package/docs/functions/PanoCursorRaycasterPlugin.html +0 -297
  83. package/docs/functions/PanoDoorLabelPlugin.html +0 -293
  84. package/docs/functions/PanoFloorplanRadarPlugin.html +0 -293
  85. package/docs/functions/PanoMeasurePlugin.html +0 -293
  86. package/docs/functions/PanoRulerPlugin.html +0 -296
  87. package/docs/functions/PanoRulerProPlugin.html +0 -296
  88. package/docs/functions/PanoSpatialTagPlugin.html +0 -296
  89. package/docs/functions/PanoTagPlugin.html +0 -298
  90. package/docs/functions/PanoVideoPlugin.html +0 -302
  91. package/docs/functions/PipelinePlugin.html +0 -291
  92. package/docs/functions/TopviewFloorplanPlugin.html +0 -293
  93. package/docs/functions/Util.absoluteUrl.html +0 -329
  94. package/docs/functions/Util.checkFiveModelLoaded.html +0 -332
  95. package/docs/functions/Util.equal.html +0 -341
  96. package/docs/functions/Util.getCoordsFromClient.html +0 -331
  97. package/docs/functions/Util.getCoordsFromElement.html +0 -331
  98. package/docs/functions/Util.getFrameTime.html +0 -323
  99. package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -331
  100. package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -331
  101. package/docs/functions/Util.isAbsoluteURL.html +0 -324
  102. package/docs/functions/Util.isModelLike.html +0 -324
  103. package/docs/functions/Util.isNil.html +0 -332
  104. package/docs/functions/Util.isPanoramaLike.html +0 -324
  105. package/docs/functions/Util.nextFrame.html +0 -337
  106. package/docs/functions/Util.notNil.html +0 -332
  107. package/docs/functions/Util.requestAnimationFrameInterval.html +0 -353
  108. package/docs/functions/Util.tweenProgress.html +0 -326
  109. package/docs/functions/Util.uuid.html +0 -322
  110. package/docs/functions/pluginFlag.html +0 -291
  111. package/docs/index.html +0 -357
  112. package/docs/interfaces/AddTagConfig.html +0 -306
  113. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +0 -333
  114. package/docs/interfaces/AreaMakerPluginType.Config.html +0 -338
  115. package/docs/interfaces/AreaMakerPluginType.EventMap.html +0 -624
  116. package/docs/interfaces/AreaMakerPluginType.Params.html +0 -337
  117. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +0 -387
  118. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +0 -372
  119. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +0 -337
  120. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +0 -330
  121. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +0 -329
  122. package/docs/interfaces/AreaMakerPluginType.State.html +0 -358
  123. package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -452
  124. package/docs/interfaces/CSS3DRenderPluginState.html +0 -328
  125. package/docs/interfaces/CameraMovementPluginExportType.html +0 -361
  126. package/docs/interfaces/CruisePluginTypes.Config.html +0 -362
  127. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -364
  128. package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -699
  129. package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -388
  130. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -424
  131. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -414
  132. package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -354
  133. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -322
  134. package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -390
  135. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +0 -385
  136. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +0 -524
  137. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +0 -326
  138. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +0 -318
  139. package/docs/interfaces/CurrentPanoImagePluginType.State.html +0 -340
  140. package/docs/interfaces/EventMap.html +0 -545
  141. package/docs/interfaces/FloorplanBounding.html +0 -335
  142. package/docs/interfaces/FloorplanData.html +0 -338
  143. package/docs/interfaces/FloorplanEntrance.html +0 -363
  144. package/docs/interfaces/FloorplanExtraObject.html +0 -353
  145. package/docs/interfaces/FloorplanExtraObject3D.html +0 -342
  146. package/docs/interfaces/FloorplanFloorData.html +0 -331
  147. package/docs/interfaces/FloorplanImagePosition.html +0 -317
  148. package/docs/interfaces/FloorplanObserver.html +0 -335
  149. package/docs/interfaces/FloorplanOutlineItem.html +0 -331
  150. package/docs/interfaces/FloorplanPosition.html +0 -317
  151. package/docs/interfaces/FloorplanRoomItem.html +0 -382
  152. package/docs/interfaces/FloorplanRoomLabelItem.html +0 -323
  153. package/docs/interfaces/FloorplanServerBounding.html +0 -335
  154. package/docs/interfaces/FloorplanServerComputedData.html +0 -334
  155. package/docs/interfaces/FloorplanServerData.html +0 -317
  156. package/docs/interfaces/FloorplanServerDoorItem.html +0 -334
  157. package/docs/interfaces/FloorplanServerDoorPosition.html +0 -320
  158. package/docs/interfaces/FloorplanServerEntrance.html +0 -363
  159. package/docs/interfaces/FloorplanServerFloorData.html +0 -331
  160. package/docs/interfaces/FloorplanServerImagePosition.html +0 -317
  161. package/docs/interfaces/FloorplanServerObserver.html +0 -335
  162. package/docs/interfaces/FloorplanServerOutlineItem.html +0 -331
  163. package/docs/interfaces/FloorplanServerPosition.html +0 -317
  164. package/docs/interfaces/FloorplanServerRoomItem.html +0 -394
  165. package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -323
  166. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -326
  167. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -365
  168. package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -529
  169. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -360
  170. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -351
  171. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -418
  172. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +0 -340
  173. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -350
  174. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -486
  175. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -347
  176. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -486
  177. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -312
  178. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -333
  179. package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -358
  180. package/docs/interfaces/GuideLinePluginType.Route.html +0 -374
  181. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -356
  182. package/docs/interfaces/HelperOffset.html +0 -335
  183. package/docs/interfaces/ImagePlaneGroup.html +0 -309
  184. package/docs/interfaces/ItemLabelPluginData.html +0 -306
  185. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -391
  186. package/docs/interfaces/ItemLabelPluginParametersType.html +0 -327
  187. package/docs/interfaces/MinMax.html +0 -313
  188. package/docs/interfaces/ModelChassisCompassPluginData.html +0 -313
  189. package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -349
  190. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -313
  191. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -320
  192. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -357
  193. package/docs/interfaces/ModelItemLabelPluginData.html +0 -306
  194. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -391
  195. package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -313
  196. package/docs/interfaces/ModelRoomLabelPluginData.html +0 -306
  197. package/docs/interfaces/ModelTVVideoPluginData.html +0 -327
  198. package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -351
  199. package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -306
  200. package/docs/interfaces/ModelViewPluginExportType.html +0 -419
  201. package/docs/interfaces/Object3DHelperState.html +0 -320
  202. package/docs/interfaces/ObjectHelperControllers.html +0 -327
  203. package/docs/interfaces/PaintBrushAction.html +0 -366
  204. package/docs/interfaces/PaintBrushConfigs.html +0 -364
  205. package/docs/interfaces/PaintBrushState.html +0 -348
  206. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -428
  207. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -285
  208. package/docs/interfaces/PanoMeasureParameterType.html +0 -452
  209. package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -320
  210. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -317
  211. package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -313
  212. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -323
  213. package/docs/interfaces/PanoRulerPluginExportType.html +0 -380
  214. package/docs/interfaces/PanoRulerPluginOptions.html +0 -329
  215. package/docs/interfaces/PanoRulerPluginParameterType.html +0 -320
  216. package/docs/interfaces/PanoRulerProPluginExportType.html +0 -356
  217. package/docs/interfaces/PanoRulerProPluginOptions.html +0 -326
  218. package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -313
  219. package/docs/interfaces/PanoRulerProPluginState.html +0 -320
  220. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -299
  221. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -288
  222. package/docs/interfaces/PanoSpatialTagPluginData.html +0 -356
  223. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -338
  224. package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -434
  225. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -334
  226. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -355
  227. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -341
  228. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -334
  229. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -326
  230. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -344
  231. package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -317
  232. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -423
  233. package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -317
  234. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -352
  235. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -371
  236. package/docs/interfaces/Point.html +0 -320
  237. package/docs/interfaces/Room.html +0 -327
  238. package/docs/interfaces/RoomInfo.html +0 -313
  239. package/docs/interfaces/RoomLabel.html +0 -389
  240. package/docs/interfaces/RoomRules.html +0 -288
  241. package/docs/interfaces/Rooms.html +0 -288
  242. package/docs/interfaces/Scissor.html +0 -347
  243. package/docs/interfaces/State.html +0 -334
  244. package/docs/interfaces/TagCacheInterface.html +0 -365
  245. package/docs/interfaces/TagConfig.html +0 -568
  246. package/docs/interfaces/TagGLTFObjectGroup.html +0 -309
  247. package/docs/interfaces/TagIconUrl.html +0 -366
  248. package/docs/interfaces/TagObjectGroup.html +0 -309
  249. package/docs/interfaces/TagStyle.html +0 -319
  250. package/docs/interfaces/Tags.html +0 -2823
  251. package/docs/interfaces/TemporaryState.html +0 -306
  252. package/docs/interfaces/Util.MagnifierParameter.html +0 -394
  253. package/docs/interfaces/Util.MouseGroupParameter.html +0 -353
  254. package/docs/interfaces/Util.PointIntersection.html +0 -368
  255. package/docs/modules/AreaMakerPluginType.html +0 -328
  256. package/docs/modules/CruisePluginTypes.html +0 -331
  257. package/docs/modules/CurrentPanoImagePluginType.html +0 -300
  258. package/docs/modules/GuideLineItem.html +0 -292
  259. package/docs/modules/GuideLineModeItem.html +0 -297
  260. package/docs/modules/GuideLinePluginType.html +0 -353
  261. package/docs/modules/PanoVideoPluginType.html +0 -304
  262. package/docs/modules/Util.html +0 -354
  263. package/docs/modules.html +0 -560
  264. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +0 -335
  265. package/docs/types/AreaMakerPluginType.ItemRenderer.html +0 -323
  266. package/docs/types/AreaMakerPluginType.PluginData.html +0 -305
  267. package/docs/types/AreaMakerPluginType.ServerData.html +0 -305
  268. package/docs/types/ArrayPosition.html +0 -282
  269. package/docs/types/AudioAppearance.html +0 -282
  270. package/docs/types/AudioTagTypeConfigKey.html +0 -282
  271. package/docs/types/CSS3DRenderExportType.html +0 -282
  272. package/docs/types/CSS3DRenderPluginExportType.html +0 -282
  273. package/docs/types/CSS3DRenderPluginParameterType.html +0 -282
  274. package/docs/types/ClassFunctionParameters.html +0 -289
  275. package/docs/types/Color.html +0 -282
  276. package/docs/types/ContentTypeConfigKey.html +0 -282
  277. package/docs/types/ContentTypeConfigKeySplit.html +0 -282
  278. package/docs/types/ContentTypeMap.html +0 -282
  279. package/docs/types/Create3DDomContainerReturnType.html +0 -282
  280. package/docs/types/Create3DElementReturnType.html +0 -282
  281. package/docs/types/CruisePluginExportType.html +0 -282
  282. package/docs/types/CruisePluginTypes.CruiseData.html +0 -321
  283. package/docs/types/CruisePluginTypes.MoveEffect.html +0 -298
  284. package/docs/types/CurrentPanoImagePluginExportType.html +0 -282
  285. package/docs/types/DeprecatedMediaPlaneProperty.html +0 -294
  286. package/docs/types/DeprecatedTagProperty.html +0 -297
  287. package/docs/types/Direction-1.html +0 -282
  288. package/docs/types/Direction4.html +0 -282
  289. package/docs/types/ElementRenderer.html +0 -306
  290. package/docs/types/FloorplanRuleLabels.html +0 -285
  291. package/docs/types/FloorplanServerRuleLabels.html +0 -282
  292. package/docs/types/GuideLinePluginExportType.html +0 -282
  293. package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -355
  294. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -376
  295. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -309
  296. package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -312
  297. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -312
  298. package/docs/types/GuideLinePluginType.PathItem.html +0 -312
  299. package/docs/types/GuideLinePluginType.PluginData.html +0 -321
  300. package/docs/types/HelperEventMap.html +0 -520
  301. package/docs/types/LoadTagConfig.html +0 -282
  302. package/docs/types/MapviewFloorplanPluginParameterType.html +0 -282
  303. package/docs/types/MapviewFloorplanPluginReturnType.html +0 -282
  304. package/docs/types/MediaData.html +0 -303
  305. package/docs/types/MediaStore.html +0 -287
  306. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -289
  307. package/docs/types/ModelFloorplanPluginParameterType.html +0 -282
  308. package/docs/types/ModelFloorplanPluginReturnType.html +0 -282
  309. package/docs/types/ModelId.html +0 -282
  310. package/docs/types/ModelRoomLabelPluginParameters.html +0 -282
  311. package/docs/types/ModelRoomLabelPluginReturnType.html +0 -282
  312. package/docs/types/MoveArgs.html +0 -292
  313. package/docs/types/MoveOpts.html +0 -290
  314. package/docs/types/Object3DHelperEventMap.html +0 -375
  315. package/docs/types/ObjectFit.html +0 -282
  316. package/docs/types/PaintBrushEventMap.html +0 -313
  317. package/docs/types/PanoCompassPluginData.html +0 -282
  318. package/docs/types/PanoCompassPluginExportType.html +0 -282
  319. package/docs/types/PanoCompassPluginParameterType.html +0 -282
  320. package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -282
  321. package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -282
  322. package/docs/types/PanoIndex.html +0 -282
  323. package/docs/types/PanoMeasurePluginEvent.html +0 -282
  324. package/docs/types/PanoMeasureReturnType.html +0 -282
  325. package/docs/types/PanoSpatialTagPluginId.html +0 -282
  326. package/docs/types/PanoTagPluginExportInterface.html +0 -282
  327. package/docs/types/PanoTagPluginParamsInterface.html +0 -282
  328. package/docs/types/PanoVideoPluginParameterType.html +0 -282
  329. package/docs/types/PanoVideoPluginReturnType.html +0 -282
  330. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -290
  331. package/docs/types/PipelinePluginParameterType.html +0 -282
  332. package/docs/types/PipelinePluginReturnType.html +0 -282
  333. package/docs/types/PlaneTag.html +0 -290
  334. package/docs/types/Point2DTag.html +0 -290
  335. package/docs/types/Point3DTag.html +0 -290
  336. package/docs/types/PointTag.html +0 -287
  337. package/docs/types/PointTagInstance.html +0 -287
  338. package/docs/types/Position.html +0 -282
  339. package/docs/types/RotateArgs.html +0 -294
  340. package/docs/types/RotateOpts.html +0 -290
  341. package/docs/types/RuleLabelsKey.html +0 -282
  342. package/docs/types/RuleLabelsValue.html +0 -282
  343. package/docs/types/StickType.html +0 -282
  344. package/docs/types/Tag.html +0 -348
  345. package/docs/types/Tag2D.html +0 -290
  346. package/docs/types/Tag3D.html +0 -290
  347. package/docs/types/TagConfigByKey.html +0 -287
  348. package/docs/types/TagContentType.html +0 -282
  349. package/docs/types/TagContentTypeMapping.html +0 -282
  350. package/docs/types/TagDimensionType.html +0 -284
  351. package/docs/types/TagElement.html +0 -292
  352. package/docs/types/TagEvents.html +0 -335
  353. package/docs/types/TagGLTFObject.html +0 -305
  354. package/docs/types/TagHooks.html +0 -282
  355. package/docs/types/TagId.html +0 -282
  356. package/docs/types/TagInstance.html +0 -360
  357. package/docs/types/TagPointType.html +0 -285
  358. package/docs/types/TagRendererMap.html +0 -287
  359. package/docs/types/TopviewFloorplanPluginParameterType.html +0 -282
  360. package/docs/types/TopviewFloorplanPluginReturnType.html +0 -282
  361. package/docs/types/WorkCode.html +0 -282
  362. package/docs/variables/FLOOR_TYPE_MAP.html +0 -292
  363. package/docs/variables/PLUGIN.html +0 -282
  364. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -285
  365. package/docs/variables/ROOM_TYPE_MAP.html +0 -292
  366. package/docs/variables/defaultGlobalConfig.html +0 -282
  367. package/docs/variables/itemLabelPluginServerParams.html +0 -289
  368. package/docs/variables/modelItemLabelPluginServerParams.html +0 -289
  369. package/docs/variables/modelRoomLabelPluginServerParams.html +0 -289
@@ -0,0 +1,2 @@
1
+ import type { Five } from '@realsee/five';
2
+ export default function fiveReady(five: Five): Promise<void>;
@@ -1,16 +1,32 @@
1
- var S = Object.defineProperty;
1
+ var y = Object.defineProperty;
2
2
  var g = Object.getOwnPropertySymbols;
3
- var y = Object.prototype.hasOwnProperty, P = Object.prototype.propertyIsEnumerable;
4
- var m = (o, e, t) => e in o ? S(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, v = (o, e) => {
3
+ var P = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
4
+ var p = (o, e, t) => e in o ? y(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, v = (o, e) => {
5
5
  for (var t in e || (e = {}))
6
- y.call(e, t) && m(o, t, e[t]);
6
+ P.call(e, t) && p(o, t, e[t]);
7
7
  if (g)
8
8
  for (var t of g(e))
9
- P.call(e, t) && m(o, t, e[t]);
9
+ C.call(e, t) && p(o, t, e[t]);
10
10
  return o;
11
11
  };
12
- var r = (o, e, t) => (m(o, typeof e != "symbol" ? e + "" : e, t), t);
13
- import C from "./BaseController.js";
12
+ var h = (o, e, t) => (p(o, typeof e != "symbol" ? e + "" : e, t), t);
13
+ var S = (o, e, t) => new Promise((i, a) => {
14
+ var f = (s) => {
15
+ try {
16
+ n(t.next(s));
17
+ } catch (m) {
18
+ a(m);
19
+ }
20
+ }, r = (s) => {
21
+ try {
22
+ n(t.throw(s));
23
+ } catch (m) {
24
+ a(m);
25
+ }
26
+ }, n = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(f, r);
27
+ n((t = t.apply(o, e)).next());
28
+ });
29
+ import b from "./BaseController.js";
14
30
  import { objectAssignDeepExports as u } from "../vendor/object-assign-deep/objectAssignDeep.js";
15
31
  import "hammerjs";
16
32
  import "three";
@@ -18,8 +34,9 @@ import "@realsee/five";
18
34
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
19
35
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
20
36
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
21
- import { uuid as b } from "../shared-utils/uuid.js";
37
+ import { uuid as O } from "../shared-utils/uuid.js";
22
38
  import { getFiveStateOnCurve as c } from "./utils/getFiveStateOnCurve.js";
39
+ import { fiveReady as w } from "../shared-utils/five/fiveReady.js";
23
40
  import "../base/BasePlugin.js";
24
41
  import "../shared-utils/Subscribe.js";
25
42
  import "../shared-utils/url/absoluteUrl.js";
@@ -40,29 +57,29 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
40
57
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
41
58
  import "../shared-utils/vectorToCoordinate.js";
42
59
  import "../shared-utils/formatRad.js";
43
- class tt extends C {
44
- constructor(t, s) {
45
- var i;
46
- super(t, s);
47
- r(this, "curve");
48
- r(this, "baseCurveOffset");
49
- r(this, "curveOffset");
50
- r(this, "playStartedTime", performance.now());
51
- r(this, "duration");
52
- r(this, "changeSpeed", (t, s = !0) => {
53
- this.state.speed = t, this.hooks.emit("speedChange", t, { userAction: s });
60
+ class it extends b {
61
+ constructor(t, i) {
62
+ var r;
63
+ super(t, i);
64
+ h(this, "curve");
65
+ h(this, "baseCurveOffset");
66
+ h(this, "curveOffset");
67
+ h(this, "playStartedTime", performance.now());
68
+ h(this, "duration");
69
+ h(this, "changeSpeed", (t, i = !0) => {
70
+ this.state.speed = t, this.hooks.emit("speedChange", t, { userAction: i });
54
71
  });
55
- r(this, "moveToStart", () => {
72
+ h(this, "moveToStart", () => {
56
73
  this.five.setState(c(this.curve, 0, this.curveOffset));
57
74
  });
58
- r(this, "playFromStart", () => {
75
+ h(this, "playFromStart", () => {
59
76
  this.clearPauseData(), this.setState({ playing: !0 });
60
77
  });
61
- r(this, "getDuration", () => this.getSpeededDuration(this.duration));
62
- r(this, "getProgress", () => {
78
+ h(this, "getDuration", () => this.getSpeededDuration(this.duration));
79
+ h(this, "getProgress", () => {
63
80
  var n;
64
- const t = this.getPauseData(), s = 1 - ((n = t == null ? void 0 : t.playedProgress) != null ? n : 0), a = this.getDuration(), i = (performance.now() - this.playStartedTime) / a;
65
- return 1 - s + i;
81
+ const t = this.getPauseData(), i = 1 - ((n = t == null ? void 0 : t.playedProgress) != null ? n : 0), a = this.getDuration(), r = (performance.now() - this.playStartedTime) / a;
82
+ return 1 - i + r;
66
83
  });
67
84
  const a = {
68
85
  config: {
@@ -74,47 +91,47 @@ class tt extends C {
74
91
  }, f = {
75
92
  allowBroke: !0
76
93
  };
77
- this.state = u({}, a, this.state), this.config = u({}, f, this.config), this.baseCurveOffset = u({ x: 0, y: 0, z: 0 }, { y: 2 }, (i = this.config) == null ? void 0 : i.offset);
94
+ this.state = u({}, a, this.state), this.config = u({}, f, this.config), this.baseCurveOffset = u({ x: 0, y: 0, z: 0 }, { y: 2 }, (r = this.config) == null ? void 0 : r.offset);
78
95
  }
79
- load(t, s) {
80
- var i, n, h, p, d, l;
81
- if (this.handlePause(), this.clear(), this.data = v({ id: b() }, t), this.curve = this.data.path.curves[0], this.curveOffset = {
82
- x: this.baseCurveOffset.x + ((n = (i = this.data.offset) == null ? void 0 : i.x) != null ? n : 0),
83
- y: this.baseCurveOffset.y + ((p = (h = this.data.offset) == null ? void 0 : h.y) != null ? p : 0),
96
+ load(t, i) {
97
+ var r, n, s, m, d, l;
98
+ if (this.handlePause(), this.clear(), this.data = v({ id: O() }, t), this.curve = this.data.path.curves[0], this.curveOffset = {
99
+ x: this.baseCurveOffset.x + ((n = (r = this.data.offset) == null ? void 0 : r.x) != null ? n : 0),
100
+ y: this.baseCurveOffset.y + ((m = (s = this.data.offset) == null ? void 0 : s.y) != null ? m : 0),
84
101
  z: this.baseCurveOffset.z + ((l = (d = this.data.offset) == null ? void 0 : d.z) != null ? l : 0)
85
102
  }, !this.curve)
86
103
  throw new Error("curve is not defined");
87
104
  const a = this.curve.getLength(), f = this.state.config.speedConfig.moveSpeedUnit === "m/ms" ? 1 : 1e3;
88
- return this.duration = a / (this.state.config.speedConfig.moveSpeed / f), s ? this.setState(s) : (this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed)), Promise.resolve();
105
+ return this.duration = a / (this.state.config.speedConfig.moveSpeed / f), i ? this.setState(i) : (this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed)), Promise.resolve();
89
106
  }
90
107
  handlePlay() {
91
- return new Promise((t, s) => {
108
+ return new Promise((t, i) => S(this, null, function* () {
92
109
  var n;
93
110
  const a = this.getPauseData(), f = c(this.curve, (n = a == null ? void 0 : a.playedProgress) != null ? n : 0, this.curveOffset);
94
- if (this.five.setState(f), this.playStartedTime = performance.now(), this.config.allowBroke) {
95
- const h = this.addInterruptListener(() => {
96
- this.hooks.emit("broke"), this.handlePause(), h();
111
+ if (this.five.setState(f), yield w(this.five), this.playStartedTime = performance.now(), this.config.allowBroke) {
112
+ const s = this.addInterruptListener(() => {
113
+ this.hooks.emit("broke"), this.handlePause(), s(), i(new Error("broke"));
97
114
  });
98
115
  }
99
- const i = () => {
100
- const h = this.getProgress();
101
- if (h >= 1)
102
- this.five.off("renderFrame", i), t("end");
116
+ const r = () => {
117
+ const s = this.getProgress();
118
+ if (s >= 1)
119
+ this.five.off("renderFrame", r), t("end");
103
120
  else if (this.state.playing === !1)
104
- this.five.off("renderFrame", i);
105
- else if (h >= 0) {
106
- const p = c(this.curve, h, this.curveOffset);
107
- this.five.setState(p, !0);
121
+ this.five.off("renderFrame", r);
122
+ else if (s >= 0) {
123
+ const m = c(this.curve, s, this.curveOffset);
124
+ this.five.setState(m, !0);
108
125
  }
109
126
  };
110
- this.five.on("renderFrame", i);
111
- });
127
+ this.five.on("renderFrame", r);
128
+ }));
112
129
  }
113
130
  handlePause(t) {
114
- var s;
115
- this.state.playing = !1, this.hooks.emit("pause", { userAction: (s = t == null ? void 0 : t.userAction) != null ? s : !0 }), this.setPauseData();
131
+ var i;
132
+ this.state.playing = !1, this.hooks.emit("pause", { userAction: (i = t == null ? void 0 : t.userAction) != null ? i : !0 }), this.setPauseData();
116
133
  }
117
134
  }
118
135
  export {
119
- tt as default
136
+ it as default
120
137
  };
@@ -199,11 +199,12 @@ import "../shared-utils/five/changeMode.js";
199
199
  import "../shared-utils/nearlyEqual.js";
200
200
  import "./Move.js";
201
201
  import "./utils/getFiveStateOnCurve.js";
202
+ import "../shared-utils/five/fiveReady.js";
202
203
  import "../shared-utils/formatRad.js";
203
204
  import "./Work.js";
204
205
  import "./utils/coordinatesToVector.js";
205
206
  const V = /* @__PURE__ */ new Map();
206
- class er extends R {
207
+ class ir extends R {
207
208
  constructor(t, i) {
208
209
  super(t, i);
209
210
  k(this, "state", {
@@ -593,5 +594,5 @@ class er extends R {
593
594
  }
594
595
  }
595
596
  export {
596
- er as default
597
+ ir as default
597
598
  };
@@ -4,7 +4,8 @@ import type { Config } from './typing';
4
4
  import WalkController from './Work';
5
5
  import MoveController from './Move';
6
6
  export declare const CruisePlugin: FivePlugin<Config | undefined, InstanceType<typeof WalkController>>;
7
- export { WalkController, MoveController, MoveController as CruisePluginController };
7
+ export declare const MovePlugin: FivePlugin<Config | undefined, InstanceType<typeof MoveController>>;
8
+ export { WalkController, MoveController, WalkController as CruisePluginController };
8
9
  export type { CruisePluginExportType } from './typing';
9
- export default CruisePlugin;
10
10
  export { CruisePluginTypes };
11
+ export default CruisePlugin;
@@ -1,6 +1,6 @@
1
- import { typing as yt } from "./typing/index.js";
2
- import o from "./Work.js";
3
- import { default as kt, default as vt } from "./Move.js";
1
+ import { typing as dt } from "./typing/index.js";
2
+ import r from "./Work.js";
3
+ import t from "./Move.js";
4
4
  import "../GuideLinePlugin/index.js";
5
5
  import "../GuideLinePlugin/Controller.js";
6
6
  import "../base/BasePluginWithData.js";
@@ -174,12 +174,14 @@ import "../shared-utils/vectorToCoordinate.js";
174
174
  import "../shared-utils/formatRad.js";
175
175
  import "./BaseController.js";
176
176
  import "./utils/getFiveStateOnCurve.js";
177
- const dt = (r) => new o(r);
177
+ import "../shared-utils/five/fiveReady.js";
178
+ const wt = (o) => new r(o), xt = (o) => new t(o);
178
179
  export {
179
- dt as CruisePlugin,
180
- kt as CruisePluginController,
181
- yt as CruisePluginTypes,
182
- vt as MoveController,
183
- o as WalkController,
184
- dt as default
180
+ wt as CruisePlugin,
181
+ r as CruisePluginController,
182
+ dt as CruisePluginTypes,
183
+ t as MoveController,
184
+ xt as MovePlugin,
185
+ r as WalkController,
186
+ wt as default
185
187
  };
@@ -201,8 +201,9 @@ import "../shared-utils/vectorToCoordinate.js";
201
201
  import "../shared-utils/formatRad.js";
202
202
  import "../CruisePlugin/BaseController.js";
203
203
  import "../CruisePlugin/utils/getFiveStateOnCurve.js";
204
- const b = "GuideLinePlugin", g = `${b}`, Yr = (s) => `${g}--${s}`;
205
- class Zr extends x {
204
+ import "../shared-utils/five/fiveReady.js";
205
+ const b = "GuideLinePlugin", g = `${b}`, Zr = (s) => `${g}--${s}`;
206
+ class te extends x {
206
207
  constructor(t, i) {
207
208
  super(t, i);
208
209
  h(this, "name", b);
@@ -344,6 +345,6 @@ class Zr extends x {
344
345
  }
345
346
  }
346
347
  export {
347
- Zr as default,
348
- Yr as pluginFlag
348
+ te as default,
349
+ Zr as pluginFlag
349
350
  };
@@ -5,7 +5,7 @@ import "@realsee/five";
5
5
  import "../shared-utils/five/changeMode.js";
6
6
  import "../CruisePlugin/Move.js";
7
7
  import "../CruisePlugin/Work.js";
8
- import { GuideLineItem as ao } from "./GuideLineItem/index.js";
8
+ import { GuideLineItem as bo } from "./GuideLineItem/index.js";
9
9
  import "three";
10
10
  import "./utils/createLineGeometry.js";
11
11
  import "../vendor/polyline-normals/index.js";
@@ -165,6 +165,7 @@ import "../shared-utils/isTruelyObject.js";
165
165
  import "../CruisePlugin/utils/getFiveStateOnCurve.js";
166
166
  import "../shared-utils/vectorToCoordinate.js";
167
167
  import "../shared-utils/formatRad.js";
168
+ import "../shared-utils/five/fiveReady.js";
168
169
  import "./index.js";
169
170
  import "./Controller.js";
170
171
  import "../base/BasePluginWithData.js";
@@ -174,5 +175,5 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
174
175
  import "../CruisePlugin/utils/safeCall.js";
175
176
  import "../CruisePlugin/utils/sleep.js";
176
177
  export {
177
- ao as GuideLineItem
178
+ bo as GuideLineItem
178
179
  };
@@ -1,6 +1,6 @@
1
1
  import t from "./Controller.js";
2
- import { GuideLineItem$1 as Mt } from "./GuideLineItem/index.js";
3
- import { GuideLineModeItem$1 as ct } from "./GuideLineModeItem/index.js";
2
+ import { GuideLineItem$1 as $t } from "./GuideLineItem/index.js";
3
+ import { GuideLineModeItem$1 as gt } from "./GuideLineModeItem/index.js";
4
4
  import "../base/BasePluginWithData.js";
5
5
  import "../base/BasePlugin.js";
6
6
  import "../shared-utils/Subscribe.js";
@@ -33,6 +33,7 @@ import "../shared-utils/uuid.js";
33
33
  import "../CruisePlugin/utils/getFiveStateOnCurve.js";
34
34
  import "../shared-utils/vectorToCoordinate.js";
35
35
  import "../shared-utils/formatRad.js";
36
+ import "../shared-utils/five/fiveReady.js";
36
37
  import "../shared-utils/five/fiveLoaded.js";
37
38
  import "../shared-utils/log.js";
38
39
  import "./utils/createLineGeometry.js";
@@ -173,10 +174,10 @@ import "../CruisePlugin/utils/coordinatesAngle.js";
173
174
  import "../CruisePlugin/utils/coordinatesToVector.js";
174
175
  import "../CruisePlugin/utils/safeCall.js";
175
176
  import "../CruisePlugin/utils/sleep.js";
176
- const st = (i, o) => new t(i, o);
177
+ const It = (i, o) => new t(i, o);
177
178
  export {
178
- Mt as GuideLineItem,
179
- ct as GuideLineModeItem,
180
- st as GuideLinePlugin,
181
- st as default
179
+ $t as GuideLineItem,
180
+ gt as GuideLineModeItem,
181
+ It as GuideLinePlugin,
182
+ It as default
182
183
  };
@@ -1,9 +1,9 @@
1
- import { SvelteComponent as K, init as O, safe_not_equal as Q, append_styles as U, empty as W, insert as P, transition_in as h, transition_out as k, check_outros as L, detach as N, getContext as X, element as C, space as Y, attr as _, null_to_empty as j, set_style as A, toggle_class as b, append as z, group_outros as q, noop as v, create_component as G, mount_component as H, destroy_component as J } from "../../vendor/svelte/internal/index.js";
2
- import Z from "./Tag/index.js";
1
+ import { SvelteComponent as O, init as Q, safe_not_equal as U, append_styles as W, empty as X, insert as P, transition_in as h, transition_out as k, check_outros as L, detach as N, getContext as Y, element as C, space as Z, attr as _, null_to_empty as z, set_style as A, toggle_class as b, append as B, group_outros as q, noop as v, create_component as H, mount_component as J, destroy_component as K } from "../../vendor/svelte/internal/index.js";
2
+ import x from "./Tag/index.js";
3
3
  import "three";
4
- import { noTypecheck as B } from "../utils/noTypecheck.js";
5
- import x from "./Common/TagPoint.js";
6
- import { classnames as E } from "../../vendor/classnames/index.js";
4
+ import { noTypecheck as E } from "../utils/noTypecheck.js";
5
+ import $ from "./Common/TagPoint.js";
6
+ import { classnames as F } from "../../vendor/classnames/index.js";
7
7
  import "./Tag/TextTag/index.js";
8
8
  import "./Tag/TextTag/TextTag.js";
9
9
  import "./Common/Line/Straight.js";
@@ -92,29 +92,29 @@ import "./Common/Icon/Icon.js";
92
92
  import "../utils/getImageInfo.js";
93
93
  import "./Tag/PanoramaTag.js";
94
94
  import "./Tag/CustomTag.js";
95
- function $(o) {
96
- U(o, "svelte-t2hepc", ".tag.svelte-t2hepc{will-change:opacity}.tag.withAnimation.svelte-t2hepc{transition:opacity 0.2s linear}.tag.hide.svelte-t2hepc{opacity:0;pointer-events:none}.tag.hide.svelte-t2hepc *{pointer-events:none !important}.tag.unClickable.svelte-t2hepc{pointer-events:none !important}.tag.unClickable.svelte-t2hepc *{pointer-events:none !important}.tag.disable.svelte-t2hepc{display:none}.wrapper.svelte-t2hepc{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
95
+ function tt(o) {
96
+ W(o, "svelte-t2hepc", ".tag.svelte-t2hepc{will-change:opacity}.tag.withAnimation.svelte-t2hepc{transition:opacity 0.2s linear}.tag.hide.svelte-t2hepc{opacity:0;pointer-events:none}.tag.hide.svelte-t2hepc *{pointer-events:none !important}.tag.unClickable.svelte-t2hepc{pointer-events:none !important}.tag.unClickable.svelte-t2hepc *{pointer-events:none !important}.tag.disable.svelte-t2hepc{display:none}.wrapper.svelte-t2hepc{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
97
97
  }
98
- function F(o) {
98
+ function G(o) {
99
99
  let i, e, t, r, a, s, c, y, u, f;
100
- const w = [et, tt], d = [];
100
+ const w = [it, et], g = [];
101
101
  function p(n, m) {
102
102
  return (
103
103
  /*havePoint*/
104
104
  n[15] ? 0 : 1
105
105
  );
106
106
  }
107
- t = p(o), r = d[t] = w[t](o);
108
- const T = [ot, it], g = [];
107
+ t = p(o), r = g[t] = w[t](o);
108
+ const T = [rt, ot], d = [];
109
109
  function S(n, m) {
110
110
  return (
111
111
  /*haveContent*/
112
112
  n[14] ? 0 : 1
113
113
  );
114
114
  }
115
- return s = S(o), c = g[s] = T[s](o), {
115
+ return s = S(o), c = d[s] = T[s](o), {
116
116
  c() {
117
- i = C("div"), e = C("div"), r.c(), a = Y(), c.c(), _(e, "class", y = j(E(
117
+ i = C("div"), e = C("div"), r.c(), a = Z(), c.c(), _(e, "class", y = z(F(
118
118
  "wrapper",
119
119
  /*tag*/
120
120
  o[1].className ? `${/*tag*/
@@ -168,18 +168,18 @@ function F(o) {
168
168
  );
169
169
  },
170
170
  m(n, m) {
171
- P(n, i, m), z(i, e), d[t].m(e, null), z(e, a), g[s].m(e, null), f = !0;
171
+ P(n, i, m), B(i, e), g[t].m(e, null), B(e, a), d[s].m(e, null), f = !0;
172
172
  },
173
173
  p(n, m) {
174
174
  let M = t;
175
- t = p(n), t === M ? d[t].p(n, m) : (q(), k(d[M], 1, 1, () => {
176
- d[M] = null;
177
- }), L(), r = d[t], r ? r.p(n, m) : (r = d[t] = w[t](n), r.c()), h(r, 1), r.m(e, a));
175
+ t = p(n), t === M ? g[t].p(n, m) : (q(), k(g[M], 1, 1, () => {
176
+ g[M] = null;
177
+ }), L(), r = g[t], r ? r.p(n, m) : (r = g[t] = w[t](n), r.c()), h(r, 1), r.m(e, a));
178
178
  let l = s;
179
- s = S(n), s === l ? g[s].p(n, m) : (q(), k(g[l], 1, 1, () => {
180
- g[l] = null;
181
- }), L(), c = g[s], c ? c.p(n, m) : (c = g[s] = T[s](n), c.c()), h(c, 1), c.m(e, null)), (!f || m & /*tag*/
182
- 2 && y !== (y = j(E(
179
+ s = S(n), s === l ? d[s].p(n, m) : (q(), k(d[l], 1, 1, () => {
180
+ d[l] = null;
181
+ }), L(), c = d[s], c ? c.p(n, m) : (c = d[s] = T[s](n), c.c()), h(c, 1), c.m(e, null)), (!f || m & /*tag*/
182
+ 2 && y !== (y = z(F(
183
183
  "wrapper",
184
184
  /*tag*/
185
185
  n[1].className ? `${/*tag*/
@@ -249,11 +249,11 @@ function F(o) {
249
249
  k(r), k(c), f = !1;
250
250
  },
251
251
  d(n) {
252
- n && N(i), d[t].d(), g[s].d();
252
+ n && N(i), g[t].d(), d[s].d();
253
253
  }
254
254
  };
255
255
  }
256
- function tt(o) {
256
+ function et(o) {
257
257
  let i;
258
258
  return {
259
259
  c() {
@@ -270,17 +270,17 @@ function tt(o) {
270
270
  }
271
271
  };
272
272
  }
273
- function et(o) {
273
+ function it(o) {
274
274
  let i, e;
275
- return i = new x({ props: { tag: (
275
+ return i = new $({ props: { tag: (
276
276
  /*tag*/
277
277
  o[1]
278
278
  ) } }), {
279
279
  c() {
280
- G(i.$$.fragment);
280
+ H(i.$$.fragment);
281
281
  },
282
282
  m(t, r) {
283
- H(i, t, r), e = !0;
283
+ J(i, t, r), e = !0;
284
284
  },
285
285
  p(t, r) {
286
286
  const a = {};
@@ -295,11 +295,11 @@ function et(o) {
295
295
  k(i.$$.fragment, t), e = !1;
296
296
  },
297
297
  d(t) {
298
- J(i, t);
298
+ K(i, t);
299
299
  }
300
300
  };
301
301
  }
302
- function it(o) {
302
+ function ot(o) {
303
303
  let i;
304
304
  return {
305
305
  c() {
@@ -316,9 +316,9 @@ function it(o) {
316
316
  }
317
317
  };
318
318
  }
319
- function ot(o) {
319
+ function rt(o) {
320
320
  let i, e;
321
- return i = new Z({
321
+ return i = new x({
322
322
  props: {
323
323
  mediaStore: (
324
324
  /*mediaStore*/
@@ -328,7 +328,7 @@ function ot(o) {
328
328
  /*withAnimation*/
329
329
  o[0]
330
330
  ),
331
- tag: B(
331
+ tag: E(
332
332
  /*tag*/
333
333
  o[1]
334
334
  ),
@@ -355,10 +355,10 @@ function ot(o) {
355
355
  }
356
356
  }), {
357
357
  c() {
358
- G(i.$$.fragment);
358
+ H(i.$$.fragment);
359
359
  },
360
360
  m(t, r) {
361
- H(i, t, r), e = !0;
361
+ J(i, t, r), e = !0;
362
362
  },
363
363
  p(t, r) {
364
364
  const a = {};
@@ -367,7 +367,7 @@ function ot(o) {
367
367
  t[2]), r & /*withAnimation*/
368
368
  1 && (a.withAnimation = /*withAnimation*/
369
369
  t[0]), r & /*tag*/
370
- 2 && (a.tag = B(
370
+ 2 && (a.tag = E(
371
371
  /*tag*/
372
372
  t[1]
373
373
  )), r & /*state*/
@@ -387,18 +387,18 @@ function ot(o) {
387
387
  k(i.$$.fragment, t), e = !1;
388
388
  },
389
389
  d(t) {
390
- J(i, t);
390
+ K(i, t);
391
391
  }
392
392
  };
393
393
  }
394
- function rt(o) {
394
+ function nt(o) {
395
395
  let i, e, t = (
396
396
  /*screenPosition*/
397
- o[7] && F(o)
397
+ o[7] && G(o)
398
398
  );
399
399
  return {
400
400
  c() {
401
- t && t.c(), i = W();
401
+ t && t.c(), i = X();
402
402
  },
403
403
  m(r, a) {
404
404
  t && t.m(r, a), P(r, i, a), e = !0;
@@ -406,7 +406,7 @@ function rt(o) {
406
406
  p(r, [a]) {
407
407
  /*screenPosition*/
408
408
  r[7] ? t ? (t.p(r, a), a & /*screenPosition*/
409
- 128 && h(t, 1)) : (t = F(r), t.c(), h(t, 1), t.m(i.parentNode, i)) : t && (q(), k(t, 1, 1, () => {
409
+ 128 && h(t, 1)) : (t = G(r), t.c(), h(t, 1), t.m(i.parentNode, i)) : t && (q(), k(t, 1, 1, () => {
410
410
  t = null;
411
411
  }), L());
412
412
  },
@@ -421,17 +421,17 @@ function rt(o) {
421
421
  }
422
422
  };
423
423
  }
424
- function nt(o, i, e) {
425
- let t, r, a, s, c, y, u, f, w, { withAnimation: d = !1 } = i, { tag: p } = i, { mediaStore: T } = i, { rendererMap: g = /* @__PURE__ */ new Map() } = i, { contentTypeMap: S = /* @__PURE__ */ new Map() } = i, { state: n } = i, { temporaryState: m } = i;
426
- const M = X("hooks");
424
+ function at(o, i, e) {
425
+ let t, r, a, s, c, y, u, f, w, { withAnimation: g = !1 } = i, { tag: p } = i, { mediaStore: T } = i, { rendererMap: d = /* @__PURE__ */ new Map() } = i, { contentTypeMap: S = /* @__PURE__ */ new Map() } = i, { state: n } = i, { temporaryState: m } = i;
426
+ const M = Y("hooks");
427
427
  return o.$$set = (l) => {
428
- "withAnimation" in l && e(0, d = l.withAnimation), "tag" in l && e(1, p = l.tag), "mediaStore" in l && e(2, T = l.mediaStore), "rendererMap" in l && e(3, g = l.rendererMap), "contentTypeMap" in l && e(4, S = l.contentTypeMap), "state" in l && e(5, n = l.state), "temporaryState" in l && e(6, m = l.temporaryState);
428
+ "withAnimation" in l && e(0, g = l.withAnimation), "tag" in l && e(1, p = l.tag), "mediaStore" in l && e(2, T = l.mediaStore), "rendererMap" in l && e(3, d = l.rendererMap), "contentTypeMap" in l && e(4, S = l.contentTypeMap), "state" in l && e(5, n = l.state), "temporaryState" in l && e(6, m = l.temporaryState);
429
429
  }, o.$$.update = () => {
430
430
  var l, D, I;
431
- o.$$.dirty & /*tag*/
432
- 2 && e(15, t = (() => {
433
- var R, V;
434
- return !(((V = (R = p.style) == null ? void 0 : R.point) == null ? void 0 : V.enabled) === !1 || p.contentType === "Sticker" || p.contentType === "Link" || p.contentType === "VRLink" || p.contentType === "PanoLink" || p.contentType === "Panorama" || p.contentType === "Audio" && p.data.appearance === "plane");
431
+ o.$$.dirty & /*tag, rendererMap*/
432
+ 10 && e(15, t = (() => {
433
+ var R, V, j;
434
+ return !(((V = (R = p.style) == null ? void 0 : R.point) == null ? void 0 : V.enabled) === !1 || ((j = d.get(p.contentType)) == null ? void 0 : j.usePoint) !== !0 || p.contentType === "Sticker" || p.contentType === "Link" || p.contentType === "VRLink" || p.contentType === "PanoLink" || p.contentType === "Panorama" || p.contentType === "Audio" && p.data.appearance === "plane");
435
435
  })()), o.$$.dirty & /*tag*/
436
436
  2 && e(14, r = (() => p.stickType === "2DPoint")()), o.$$.dirty & /*tag*/
437
437
  2 && e(13, a = p.id), o.$$.dirty & /*tag*/
@@ -442,10 +442,10 @@ function nt(o, i, e) {
442
442
  128 && e(9, f = (u == null ? void 0 : u.leftPercent) + "%"), o.$$.dirty & /*screenPosition*/
443
443
  128 && e(8, w = (u == null ? void 0 : u.topPercent) + "%");
444
444
  }, [
445
- d,
445
+ g,
446
446
  p,
447
447
  T,
448
- g,
448
+ d,
449
449
  S,
450
450
  n,
451
451
  m,
@@ -461,14 +461,14 @@ function nt(o, i, e) {
461
461
  M
462
462
  ];
463
463
  }
464
- class Qe extends K {
464
+ class Ue extends O {
465
465
  constructor(i) {
466
- super(), O(
466
+ super(), Q(
467
467
  this,
468
468
  i,
469
+ at,
469
470
  nt,
470
- rt,
471
- Q,
471
+ U,
472
472
  {
473
473
  withAnimation: 0,
474
474
  tag: 1,
@@ -478,10 +478,10 @@ class Qe extends K {
478
478
  state: 5,
479
479
  temporaryState: 6
480
480
  },
481
- $
481
+ tt
482
482
  );
483
483
  }
484
484
  }
485
485
  export {
486
- Qe as default
486
+ Ue as default
487
487
  };
@@ -23,9 +23,12 @@ export declare abstract class TagRender extends TagComputer {
23
23
  * 如果是 `TagContentType` 中的类型,将会覆盖掉插件内部默认的渲染器,
24
24
  * 如果是其他任意 str
25
25
  * ing 如:'Foo',则可以将类似 `{id: 1, contentType: 'Foo', position: [0,0,0]}` 的 tag 交给插件渲染
26
+ * @param config.usePoint 是否需要标签点, 默认为 false
26
27
  * @note 优先级低于 tag.element
27
28
  */
28
- registerRenderer(contentType: string, renderer: ElementRenderer): void;
29
+ registerRenderer(contentType: string, renderer: ElementRenderer, config?: {
30
+ usePoint?: boolean;
31
+ }): void;
29
32
  bindRenderer(contentType: string, builtInRenderer: TagContentType): void;
30
33
  clearTags(): void;
31
34
  /**
@@ -220,10 +220,12 @@ class fi extends I {
220
220
  * 如果是 `TagContentType` 中的类型,将会覆盖掉插件内部默认的渲染器,
221
221
  * 如果是其他任意 str
222
222
  * ing 如:'Foo',则可以将类似 `{id: 1, contentType: 'Foo', position: [0,0,0]}` 的 tag 交给插件渲染
223
+ * @param config.usePoint 是否需要标签点, 默认为 false
223
224
  * @note 优先级低于 tag.element
224
225
  */
225
- registerRenderer(t, e) {
226
- this.rendererMap.set(t, { renderer: e });
226
+ registerRenderer(t, e, o) {
227
+ var i;
228
+ this.rendererMap.set(t, { renderer: e, usePoint: (i = o == null ? void 0 : o.usePoint) != null ? i : !1 });
227
229
  }
228
230
  bindRenderer(t, e) {
229
231
  this.contentTypeMap.set(t, e);
@@ -51,6 +51,7 @@ export type TagGLTFObject = GLTFObject & {
51
51
  export type ElementRenderer = (container: HTMLElement, tag: TagInstance<any, any>) => () => void;
52
52
  export type TagRendererMap = Map<string, {
53
53
  renderer: ElementRenderer;
54
+ usePoint: boolean;
54
55
  }>;
55
56
  export type TagContentTypeMapping = Map<string, string>;
56
57
  export interface TagObjectGroup extends Group {
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.7.0-dev.0");
17
+ i(this, "VERSION", "3.8.0");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子