@realsee/dnalogel 3.12.0-dev.0 → 3.12.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 (368) hide show
  1. package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
  2. package/dist/PanoTagPlugin/utils/DebugUtil.d.ts +6 -0
  3. package/dist/index.cjs.js +31 -31
  4. package/dist/index.js +876 -853
  5. package/dist/index.umd.js +31 -31
  6. package/libs/CruisePlugin/Work.js +3 -2
  7. package/libs/CruisePlugin/index.js +7 -6
  8. package/libs/GuideLinePlugin/Controller.js +5 -4
  9. package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
  10. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
  11. package/libs/GuideLinePlugin/index.js +8 -7
  12. package/libs/PanoTagPlugin/controller/TagUtil.js +98 -96
  13. package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
  14. package/libs/PanoTagPlugin/controller/index.js +30 -26
  15. package/libs/PanoTagPlugin/index.js +12 -11
  16. package/libs/PanoTagPlugin/utils/DebugUtil.d.ts +6 -0
  17. package/libs/PanoTagPlugin/utils/DebugUtil.js +25 -0
  18. package/libs/base/BasePlugin.js +1 -1
  19. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +40 -40
  20. package/libs/index.js +121 -120
  21. package/libs/shared-utils/logger.js +1 -1
  22. package/package.json +1 -1
  23. package/docs/.nojekyll +0 -1
  24. package/docs/assets/highlight.css +0 -120
  25. package/docs/assets/main.js +0 -58
  26. package/docs/assets/search.js +0 -1
  27. package/docs/assets/style.css +0 -1367
  28. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +0 -730
  29. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +0 -693
  30. package/docs/classes/CSS3DRender.html +0 -777
  31. package/docs/classes/GuideLineItem.GuideLineItem.html +0 -480
  32. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -860
  33. package/docs/classes/Magnifier.html +0 -484
  34. package/docs/classes/ModelRoomLabelController.html +0 -402
  35. package/docs/classes/MoveController.html +0 -680
  36. package/docs/classes/Object3DHelperController.html +0 -644
  37. package/docs/classes/PaintBrush.html +0 -506
  38. package/docs/classes/PanoMeasurePluginLine.html +0 -526
  39. package/docs/classes/PanoMeasurePluginModel.html +0 -575
  40. package/docs/classes/PanoMeasurePluginPoint.html +0 -366
  41. package/docs/classes/PanoMeasurePluginPolyline.html +0 -571
  42. package/docs/classes/PanoTagPluginController.html +0 -1131
  43. package/docs/classes/Util.BetterTween.html +0 -420
  44. package/docs/classes/Util.Interval.html +0 -436
  45. package/docs/classes/Util.LineSegments.html +0 -388
  46. package/docs/classes/Util.Magnifier.html +0 -507
  47. package/docs/classes/Util.Object3D.html +0 -410
  48. package/docs/classes/Util.PointDomHelper.html +0 -411
  49. package/docs/classes/Util.PointHelper.html +0 -402
  50. package/docs/classes/Util.PointSelectorHelper.html +0 -458
  51. package/docs/classes/Util.Rectangle.html +0 -459
  52. package/docs/classes/WalkController.html +0 -699
  53. package/docs/enums/CameraMovementEffect.html +0 -314
  54. package/docs/enums/ContentType.html +0 -460
  55. package/docs/enums/DIRECTION.html +0 -324
  56. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -324
  57. package/docs/enums/DimensionType.html +0 -314
  58. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -317
  59. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -324
  60. package/docs/enums/PaintBrushTypeEnum.html +0 -317
  61. package/docs/enums/PointType.html +0 -314
  62. package/docs/enums/Rotation.html +0 -321
  63. package/docs/functions/AreaMakerPlugin.html +0 -294
  64. package/docs/functions/CSS3DRenderPlugin.html +0 -292
  65. package/docs/functions/CameraMovementPlugin.html +0 -297
  66. package/docs/functions/CruisePlugin.html +0 -294
  67. package/docs/functions/CurrentPanoImagePlugin.html +0 -294
  68. package/docs/functions/GuideLinePlugin.html +0 -294
  69. package/docs/functions/ItemLabelPlugin.html +0 -294
  70. package/docs/functions/MapviewFloorplanPlugin.html +0 -294
  71. package/docs/functions/ModelChassisCompassPlugin.html +0 -297
  72. package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -297
  73. package/docs/functions/ModelFloorplanPlugin.html +0 -294
  74. package/docs/functions/ModelItemLabelPlugin.html +0 -294
  75. package/docs/functions/ModelRoomLabelPlugin.html +0 -292
  76. package/docs/functions/ModelTVVideoPlugin.html +0 -294
  77. package/docs/functions/ModelViewPlugin.html +0 -297
  78. package/docs/functions/MovePlugin.html +0 -294
  79. package/docs/functions/Object3DHelperPlugin.html +0 -292
  80. package/docs/functions/PanoCompassPlugin.html +0 -294
  81. package/docs/functions/PanoCursorRaycasterPlugin.html +0 -298
  82. package/docs/functions/PanoDoorLabelPlugin.html +0 -294
  83. package/docs/functions/PanoFloorplanRadarPlugin.html +0 -294
  84. package/docs/functions/PanoMeasurePlugin.html +0 -294
  85. package/docs/functions/PanoRulerPlugin.html +0 -297
  86. package/docs/functions/PanoRulerProPlugin.html +0 -297
  87. package/docs/functions/PanoSpatialTagPlugin.html +0 -297
  88. package/docs/functions/PanoTagPlugin.html +0 -299
  89. package/docs/functions/PanoVideoPlugin.html +0 -303
  90. package/docs/functions/PipelinePlugin.html +0 -292
  91. package/docs/functions/TopviewFloorplanPlugin.html +0 -294
  92. package/docs/functions/Util.absoluteUrl.html +0 -330
  93. package/docs/functions/Util.checkFiveModelLoaded.html +0 -333
  94. package/docs/functions/Util.equal.html +0 -342
  95. package/docs/functions/Util.getCoordsFromClient.html +0 -332
  96. package/docs/functions/Util.getCoordsFromElement.html +0 -332
  97. package/docs/functions/Util.getFrameTime.html +0 -324
  98. package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -332
  99. package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -332
  100. package/docs/functions/Util.isAbsoluteURL.html +0 -325
  101. package/docs/functions/Util.isModelLike.html +0 -325
  102. package/docs/functions/Util.isNil.html +0 -333
  103. package/docs/functions/Util.isPanoramaLike.html +0 -325
  104. package/docs/functions/Util.nextFrame.html +0 -338
  105. package/docs/functions/Util.notNil.html +0 -333
  106. package/docs/functions/Util.requestAnimationFrameInterval.html +0 -354
  107. package/docs/functions/Util.tweenProgress.html +0 -327
  108. package/docs/functions/Util.uuid.html +0 -323
  109. package/docs/functions/pluginFlag.html +0 -292
  110. package/docs/index.html +0 -358
  111. package/docs/interfaces/AddTagConfig.html +0 -307
  112. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +0 -334
  113. package/docs/interfaces/AreaMakerPluginType.Config.html +0 -339
  114. package/docs/interfaces/AreaMakerPluginType.EventMap.html +0 -625
  115. package/docs/interfaces/AreaMakerPluginType.Params.html +0 -338
  116. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +0 -396
  117. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +0 -381
  118. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +0 -338
  119. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +0 -331
  120. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +0 -330
  121. package/docs/interfaces/AreaMakerPluginType.State.html +0 -359
  122. package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -453
  123. package/docs/interfaces/CSS3DRenderPluginState.html +0 -329
  124. package/docs/interfaces/CameraMovementPluginExportType.html +0 -362
  125. package/docs/interfaces/CruisePluginTypes.Config.html +0 -363
  126. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -365
  127. package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -723
  128. package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -389
  129. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -425
  130. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -415
  131. package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -355
  132. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -323
  133. package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -391
  134. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +0 -386
  135. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +0 -525
  136. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +0 -327
  137. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +0 -319
  138. package/docs/interfaces/CurrentPanoImagePluginType.State.html +0 -341
  139. package/docs/interfaces/EventMap.html +0 -546
  140. package/docs/interfaces/FloorplanBounding.html +0 -336
  141. package/docs/interfaces/FloorplanData.html +0 -339
  142. package/docs/interfaces/FloorplanEntrance.html +0 -364
  143. package/docs/interfaces/FloorplanExtraObject.html +0 -354
  144. package/docs/interfaces/FloorplanExtraObject3D.html +0 -343
  145. package/docs/interfaces/FloorplanFloorData.html +0 -332
  146. package/docs/interfaces/FloorplanImagePosition.html +0 -318
  147. package/docs/interfaces/FloorplanObserver.html +0 -336
  148. package/docs/interfaces/FloorplanOutlineItem.html +0 -332
  149. package/docs/interfaces/FloorplanPosition.html +0 -318
  150. package/docs/interfaces/FloorplanRoomItem.html +0 -383
  151. package/docs/interfaces/FloorplanRoomLabelItem.html +0 -324
  152. package/docs/interfaces/FloorplanServerBounding.html +0 -336
  153. package/docs/interfaces/FloorplanServerComputedData.html +0 -335
  154. package/docs/interfaces/FloorplanServerData.html +0 -318
  155. package/docs/interfaces/FloorplanServerDoorItem.html +0 -335
  156. package/docs/interfaces/FloorplanServerDoorPosition.html +0 -321
  157. package/docs/interfaces/FloorplanServerEntrance.html +0 -364
  158. package/docs/interfaces/FloorplanServerFloorData.html +0 -332
  159. package/docs/interfaces/FloorplanServerImagePosition.html +0 -318
  160. package/docs/interfaces/FloorplanServerObserver.html +0 -336
  161. package/docs/interfaces/FloorplanServerOutlineItem.html +0 -332
  162. package/docs/interfaces/FloorplanServerPosition.html +0 -318
  163. package/docs/interfaces/FloorplanServerRoomItem.html +0 -395
  164. package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -324
  165. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -327
  166. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -366
  167. package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -530
  168. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -361
  169. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -352
  170. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -419
  171. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +0 -341
  172. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -351
  173. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -487
  174. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -348
  175. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -487
  176. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -313
  177. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -334
  178. package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -359
  179. package/docs/interfaces/GuideLinePluginType.Route.html +0 -375
  180. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -357
  181. package/docs/interfaces/HelperOffset.html +0 -336
  182. package/docs/interfaces/ImagePlaneGroup.html +0 -310
  183. package/docs/interfaces/ItemLabelPluginData.html +0 -307
  184. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -392
  185. package/docs/interfaces/ItemLabelPluginParametersType.html +0 -328
  186. package/docs/interfaces/MinMax.html +0 -314
  187. package/docs/interfaces/ModelChassisCompassPluginData.html +0 -314
  188. package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -350
  189. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -314
  190. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -321
  191. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -358
  192. package/docs/interfaces/ModelItemLabelPluginData.html +0 -307
  193. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -392
  194. package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -314
  195. package/docs/interfaces/ModelRoomLabelPluginData.html +0 -307
  196. package/docs/interfaces/ModelTVVideoPluginData.html +0 -328
  197. package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -352
  198. package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -307
  199. package/docs/interfaces/ModelViewPluginExportType.html +0 -420
  200. package/docs/interfaces/Object3DHelperState.html +0 -321
  201. package/docs/interfaces/ObjectHelperControllers.html +0 -328
  202. package/docs/interfaces/PaintBrushAction.html +0 -367
  203. package/docs/interfaces/PaintBrushConfigs.html +0 -365
  204. package/docs/interfaces/PaintBrushState.html +0 -349
  205. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -429
  206. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -286
  207. package/docs/interfaces/PanoMeasureParameterType.html +0 -453
  208. package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -321
  209. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -318
  210. package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -314
  211. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -324
  212. package/docs/interfaces/PanoRulerPluginExportType.html +0 -381
  213. package/docs/interfaces/PanoRulerPluginOptions.html +0 -330
  214. package/docs/interfaces/PanoRulerPluginParameterType.html +0 -321
  215. package/docs/interfaces/PanoRulerProPluginExportType.html +0 -357
  216. package/docs/interfaces/PanoRulerProPluginOptions.html +0 -327
  217. package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -314
  218. package/docs/interfaces/PanoRulerProPluginState.html +0 -321
  219. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -300
  220. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -289
  221. package/docs/interfaces/PanoSpatialTagPluginData.html +0 -357
  222. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -339
  223. package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -435
  224. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -335
  225. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -356
  226. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -342
  227. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -335
  228. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -327
  229. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -345
  230. package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -318
  231. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -424
  232. package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -318
  233. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -353
  234. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -372
  235. package/docs/interfaces/Point.html +0 -321
  236. package/docs/interfaces/Room.html +0 -328
  237. package/docs/interfaces/RoomInfo.html +0 -314
  238. package/docs/interfaces/RoomLabel.html +0 -390
  239. package/docs/interfaces/RoomRules.html +0 -289
  240. package/docs/interfaces/Rooms.html +0 -289
  241. package/docs/interfaces/Scissor.html +0 -348
  242. package/docs/interfaces/State.html +0 -335
  243. package/docs/interfaces/TagCacheInterface.html +0 -366
  244. package/docs/interfaces/TagConfig.html +0 -569
  245. package/docs/interfaces/TagGLTFObjectGroup.html +0 -310
  246. package/docs/interfaces/TagIconUrl.html +0 -367
  247. package/docs/interfaces/TagObjectGroup.html +0 -310
  248. package/docs/interfaces/TagStyle.html +0 -320
  249. package/docs/interfaces/Tags.html +0 -2824
  250. package/docs/interfaces/TemporaryState.html +0 -307
  251. package/docs/interfaces/Util.MagnifierParameter.html +0 -395
  252. package/docs/interfaces/Util.MouseGroupParameter.html +0 -354
  253. package/docs/interfaces/Util.PointIntersection.html +0 -369
  254. package/docs/modules/AreaMakerPluginType.html +0 -329
  255. package/docs/modules/CruisePluginTypes.html +0 -332
  256. package/docs/modules/CurrentPanoImagePluginType.html +0 -301
  257. package/docs/modules/GuideLineItem.html +0 -293
  258. package/docs/modules/GuideLineModeItem.html +0 -298
  259. package/docs/modules/GuideLinePluginType.html +0 -354
  260. package/docs/modules/PanoVideoPluginType.html +0 -305
  261. package/docs/modules/Util.html +0 -355
  262. package/docs/modules.html +0 -562
  263. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +0 -358
  264. package/docs/types/AreaMakerPluginType.ItemRenderer.html +0 -324
  265. package/docs/types/AreaMakerPluginType.PluginData.html +0 -306
  266. package/docs/types/AreaMakerPluginType.ServerData.html +0 -306
  267. package/docs/types/ArrayPosition.html +0 -283
  268. package/docs/types/AudioAppearance.html +0 -283
  269. package/docs/types/AudioTagTypeConfigKey.html +0 -283
  270. package/docs/types/CSS3DRenderExportType.html +0 -283
  271. package/docs/types/CSS3DRenderPluginExportType.html +0 -283
  272. package/docs/types/CSS3DRenderPluginParameterType.html +0 -283
  273. package/docs/types/ClassFunctionParameters.html +0 -290
  274. package/docs/types/Color.html +0 -283
  275. package/docs/types/ContentTypeConfigKey.html +0 -283
  276. package/docs/types/ContentTypeConfigKeySplit.html +0 -283
  277. package/docs/types/ContentTypeMap.html +0 -283
  278. package/docs/types/Create3DDomContainerReturnType.html +0 -283
  279. package/docs/types/Create3DElementReturnType.html +0 -283
  280. package/docs/types/CruisePluginExportType.html +0 -283
  281. package/docs/types/CruisePluginTypes.CruiseData.html +0 -322
  282. package/docs/types/CruisePluginTypes.MoveEffect.html +0 -299
  283. package/docs/types/CurrentPanoImagePluginExportType.html +0 -283
  284. package/docs/types/DeprecatedMediaPlaneProperty.html +0 -295
  285. package/docs/types/DeprecatedTagProperty.html +0 -298
  286. package/docs/types/Direction-1.html +0 -283
  287. package/docs/types/Direction4.html +0 -283
  288. package/docs/types/ElementRenderer.html +0 -307
  289. package/docs/types/FloorplanRuleLabels.html +0 -286
  290. package/docs/types/FloorplanServerRuleLabels.html +0 -283
  291. package/docs/types/GuideLinePluginExportType.html +0 -283
  292. package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -356
  293. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -377
  294. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -310
  295. package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -313
  296. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -313
  297. package/docs/types/GuideLinePluginType.PathItem.html +0 -313
  298. package/docs/types/GuideLinePluginType.PluginData.html +0 -322
  299. package/docs/types/HelperEventMap.html +0 -521
  300. package/docs/types/LoadTagConfig.html +0 -283
  301. package/docs/types/MapviewFloorplanPluginParameterType.html +0 -283
  302. package/docs/types/MapviewFloorplanPluginReturnType.html +0 -283
  303. package/docs/types/MediaData.html +0 -304
  304. package/docs/types/MediaStore.html +0 -288
  305. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -290
  306. package/docs/types/ModelFloorplanPluginParameterType.html +0 -283
  307. package/docs/types/ModelFloorplanPluginReturnType.html +0 -283
  308. package/docs/types/ModelId.html +0 -283
  309. package/docs/types/ModelRoomLabelPluginParameters.html +0 -283
  310. package/docs/types/ModelRoomLabelPluginReturnType.html +0 -283
  311. package/docs/types/MoveArgs.html +0 -293
  312. package/docs/types/MoveOpts.html +0 -291
  313. package/docs/types/Object3DHelperEventMap.html +0 -376
  314. package/docs/types/ObjectFit.html +0 -283
  315. package/docs/types/PaintBrushEventMap.html +0 -314
  316. package/docs/types/PanoCompassPluginData.html +0 -283
  317. package/docs/types/PanoCompassPluginExportType.html +0 -283
  318. package/docs/types/PanoCompassPluginParameterType.html +0 -283
  319. package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -283
  320. package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -283
  321. package/docs/types/PanoIndex.html +0 -283
  322. package/docs/types/PanoMeasurePluginEvent.html +0 -283
  323. package/docs/types/PanoMeasureReturnType.html +0 -283
  324. package/docs/types/PanoSpatialTagPluginId.html +0 -283
  325. package/docs/types/PanoTagPluginExportInterface.html +0 -283
  326. package/docs/types/PanoTagPluginParamsInterface.html +0 -283
  327. package/docs/types/PanoVideoPluginParameterType.html +0 -283
  328. package/docs/types/PanoVideoPluginReturnType.html +0 -283
  329. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -291
  330. package/docs/types/PipelinePluginParameterType.html +0 -283
  331. package/docs/types/PipelinePluginReturnType.html +0 -283
  332. package/docs/types/PlaneTag.html +0 -291
  333. package/docs/types/Point2DTag.html +0 -291
  334. package/docs/types/Point3DTag.html +0 -291
  335. package/docs/types/PointTag.html +0 -288
  336. package/docs/types/PointTagInstance.html +0 -288
  337. package/docs/types/Position.html +0 -283
  338. package/docs/types/RotateArgs.html +0 -295
  339. package/docs/types/RotateOpts.html +0 -291
  340. package/docs/types/RuleLabelsKey.html +0 -283
  341. package/docs/types/RuleLabelsValue.html +0 -283
  342. package/docs/types/StickType.html +0 -283
  343. package/docs/types/Tag.html +0 -349
  344. package/docs/types/Tag2D.html +0 -291
  345. package/docs/types/Tag3D.html +0 -291
  346. package/docs/types/TagConfigByKey.html +0 -288
  347. package/docs/types/TagContentType.html +0 -283
  348. package/docs/types/TagContentTypeMapping.html +0 -283
  349. package/docs/types/TagDimensionType.html +0 -285
  350. package/docs/types/TagElement.html +0 -293
  351. package/docs/types/TagEvents.html +0 -336
  352. package/docs/types/TagGLTFObject.html +0 -306
  353. package/docs/types/TagHooks.html +0 -283
  354. package/docs/types/TagId.html +0 -283
  355. package/docs/types/TagInstance.html +0 -361
  356. package/docs/types/TagPointType.html +0 -286
  357. package/docs/types/TagRendererMap.html +0 -290
  358. package/docs/types/TopviewFloorplanPluginParameterType.html +0 -283
  359. package/docs/types/TopviewFloorplanPluginReturnType.html +0 -283
  360. package/docs/types/WorkCode.html +0 -283
  361. package/docs/variables/FLOOR_TYPE_MAP.html +0 -293
  362. package/docs/variables/PLUGIN.html +0 -283
  363. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -286
  364. package/docs/variables/ROOM_TYPE_MAP.html +0 -293
  365. package/docs/variables/defaultGlobalConfig.html +0 -283
  366. package/docs/variables/itemLabelPluginServerParams.html +0 -290
  367. package/docs/variables/modelItemLabelPluginServerParams.html +0 -290
  368. package/docs/variables/modelRoomLabelPluginServerParams.html +0 -290
@@ -1,15 +1,15 @@
1
- var U = Object.defineProperty, I = Object.defineProperties;
1
+ var E = Object.defineProperty, I = Object.defineProperties;
2
2
  var R = Object.getOwnPropertyDescriptors;
3
3
  var A = Object.getOwnPropertySymbols;
4
4
  var B = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
5
- var u = (d, a, e) => a in d ? U(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, g = (d, a) => {
5
+ var u = (d, a, e) => a in d ? E(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
  B.call(a, e) && u(d, e, a[e]);
8
8
  if (A)
9
9
  for (var e of A(a))
10
10
  F.call(a, e) && u(d, e, a[e]);
11
11
  return d;
12
- }, v = (d, a) => I(d, R(a));
12
+ }, b = (d, a) => I(d, R(a));
13
13
  var l = (d, a, e) => (u(d, typeof a != "symbol" ? a + "" : a, e), e);
14
14
  var c = (d, a, e) => new Promise((t, i) => {
15
15
  var s = (r) => {
@@ -27,14 +27,14 @@ var c = (d, a, e) => new Promise((t, i) => {
27
27
  }, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(s, o);
28
28
  n((e = e.apply(d, a)).next());
29
29
  });
30
- import * as b from "three";
30
+ import * as v from "three";
31
31
  import { Subscribe as M } from "@realsee/five";
32
32
  import { objectAssignDeepExports as f } from "../../vendor/object-assign-deep/objectAssignDeep.js";
33
33
  import { addDebugPoints as O } from "../utils/addDebugPoints.js";
34
- import { arrayPositionToVector3 as P } from "../../shared-utils/positionToVector3.js";
35
- import { isMediaModelTag as _, isModelTag as k } from "../utils/tag/tagCheck.js";
36
- import { debounce as V } from "../utils/debounce.js";
37
- import { throttle as D } from "../utils/throttle.js";
34
+ import { arrayPositionToVector3 as D } from "../../shared-utils/positionToVector3.js";
35
+ import { isMediaModelTag as V, isModelTag as _ } from "../utils/tag/tagCheck.js";
36
+ import { debounce as k } from "../utils/debounce.js";
37
+ import { throttle as P } from "../utils/throttle.js";
38
38
  import L from "../utils/tag/format.js";
39
39
  import { generateBlankAudio as N, AudioNamespace as G } from "../../shared-utils/audio.js";
40
40
  import { resizeObserver as S } from "../../shared-utils/dom/resizeObserver.js";
@@ -47,6 +47,7 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
47
47
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
48
48
  import { tweenProgress as W } from "../../shared-utils/animationFrame/BetterTween.js";
49
49
  import { waitFiveModelLoaded as J } from "../../shared-utils/five/fiveModelLoad.js";
50
+ import { DebugUtil as j } from "../utils/DebugUtil.js";
50
51
  import "./TagComputer.js";
51
52
  import "../utils/tagPosition.js";
52
53
  import "../../shared-utils/three/centerPoint.js";
@@ -171,8 +172,8 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
171
172
  import "../../shared-utils/three/GLTFLoader.js";
172
173
  import "@realsee/five/gltf-loader";
173
174
  import "../../shared-utils/animationFrame/index.js";
174
- const w = "Dnalogel-PanoTagPlugin", Ri = (d) => `${w}--${d}`;
175
- class Bi extends z {
175
+ const w = "Dnalogel-PanoTagPlugin", Fi = (d) => `${w}--${d}`;
176
+ class Mi extends z {
176
177
  constructor(e, t) {
177
178
  super(e);
178
179
  /** state */
@@ -181,6 +182,7 @@ class Bi extends z {
181
182
  l(this, "params");
182
183
  /** debug */
183
184
  l(this, "debug");
185
+ l(this, "debugUtil", new j(this));
184
186
  /** 更改 tag 模型 */
185
187
  l(this, "changeTagModel", (e, t) => c(this, null, function* () {
186
188
  e.data = f({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
@@ -207,7 +209,7 @@ class Bi extends z {
207
209
  l(this, "updateVisible", () => {
208
210
  const e = this.five.getCurrentState().mode;
209
211
  this.tags.forEach((t) => {
210
- _(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
212
+ V(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
211
213
  }), this.setVisible(), this.updateRenderAllTags();
212
214
  });
213
215
  l(this, "handleFiveWantsMoveToPano", (e) => {
@@ -248,13 +250,13 @@ class Bi extends z {
248
250
  });
249
251
  l(this, "handleFivePanoArrived", () => c(this, null, function* () {
250
252
  this.setVisible(), this.updatePointTagPosition(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
251
- e.temporaryState = v(g({}, e.temporaryState), { visible: !0 });
252
- }), this.tags.filter(k).filter((e) => {
253
+ e.temporaryState = b(g({}, e.temporaryState), { visible: !0 });
254
+ }), this.tags.filter(_).filter((e) => {
253
255
  var t;
254
256
  return (t = this.getTagConfig(e).modelConfig) == null ? void 0 : t.autoLookAtEnabled;
255
257
  }).forEach((e) => {
256
258
  var h;
257
- const t = new b.Mesh(new b.BoxGeometry(), new b.MeshBasicMaterial()), i = (h = e.model) == null ? void 0 : h.object;
259
+ const t = new v.Mesh(new v.BoxGeometry(), new v.MeshBasicMaterial()), i = (h = e.model) == null ? void 0 : h.object;
258
260
  if (!i)
259
261
  return;
260
262
  t.position.copy(i.position), t.quaternion.copy(i.quaternion);
@@ -307,8 +309,10 @@ class Bi extends z {
307
309
  return c(this, null, function* () {
308
310
  const s = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
309
311
  var T, y, C;
310
- const n = JSON.parse(JSON.stringify(o.data)), r = o.config ? JSON.parse(JSON.stringify(o.config)) : void 0, h = this.calculateTagConfig(o), p = this.getTagConfig(o);
311
- return o.config = p, v(g({}, o), {
312
+ const n = JSON.parse(JSON.stringify(o.data)), r = o.config ? JSON.parse(JSON.stringify(o.config)) : {};
313
+ o.initialConfig = r;
314
+ const h = this.calculateTagConfig(o), p = this.getTagConfig(o);
315
+ return o.config = p, b(g({}, o), {
312
316
  enabled: (T = o.enabled) != null ? T : !0,
313
317
  id: (y = o.id) != null ? y : x(),
314
318
  data: (C = p.initialData) != null && C.important ? f(o.data, n, p.initialData) : f(o.data, p.initialData, n),
@@ -320,7 +324,7 @@ class Bi extends z {
320
324
  originPosition: o.position,
321
325
  position: (() => {
322
326
  const m = this.getTransformedPostion(o.position);
323
- return Array.isArray(m) ? m.map((E) => E.toArray()) : m.toArray();
327
+ return Array.isArray(m) ? m.map((U) => U.toArray()) : m.toArray();
324
328
  })(),
325
329
  initialConfig: r,
326
330
  computedConfig: h,
@@ -349,7 +353,7 @@ class Bi extends z {
349
353
  * @description: 改变全局配置
350
354
  */
351
355
  changeGlobalConfig(e, t = !0) {
352
- t ? this.config.globalConfig = f({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.updateRenderAllTags();
356
+ t ? this.config.globalConfig = f({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
353
357
  }
354
358
  /**
355
359
  * @description: 改变类型配置
@@ -423,7 +427,7 @@ class Bi extends z {
423
427
  */
424
428
  changeTagNormalById(e, t) {
425
429
  const i = this.getTagById(e);
426
- i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = P(t));
430
+ i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = D(t));
427
431
  }
428
432
  /**
429
433
  * @description: 改变data
@@ -445,7 +449,7 @@ class Bi extends z {
445
449
  changeTagById(e, t, i = !0) {
446
450
  const s = this.getTagById(e);
447
451
  let o = !1;
448
- t && (t.data && (o = !0), i ? f(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = P(t.normal)), this.setVisible(), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
452
+ t && (t.data && (o = !0), i ? f(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));
449
453
  }
450
454
  /**
451
455
  * @description: 销毁tag
@@ -493,7 +497,7 @@ class Bi extends z {
493
497
  addEventListener() {
494
498
  const { five: e, hooks: t } = this;
495
499
  let i = !1;
496
- const s = D(() => {
500
+ const s = P(() => {
497
501
  i || (i = !0, e.ready().then(() => {
498
502
  this.onFiveEveryReady(), i = !1;
499
503
  }));
@@ -518,12 +522,12 @@ class Bi extends z {
518
522
  }, i = () => {
519
523
  this.state.enabled && this.hide();
520
524
  }, { observe: s, unobserve: o } = S(
521
- D(() => {
525
+ P(() => {
522
526
  this.store.resizeObserverDisposer && i();
523
527
  }, 500),
524
528
  e
525
529
  ), { observe: n, unobserve: r } = S(
526
- V(() => t(), 400),
530
+ k(() => t(), 400),
527
531
  e
528
532
  );
529
533
  return s(), n(), () => {
@@ -546,7 +550,7 @@ class Bi extends z {
546
550
  }
547
551
  }
548
552
  export {
549
- Bi as PanoTagPluginController,
550
- Bi as default,
551
- Ri as pluginFlag
553
+ Mi as PanoTagPluginController,
554
+ Mi as default,
555
+ Fi as pluginFlag
552
556
  };
@@ -1,7 +1,7 @@
1
1
  import r from "./controller/index.js";
2
- import { pluginFlag as Qt } from "./controller/index.js";
3
- import { defaultGlobalConfig as St } from "./typings/tag/TagConfig.js";
4
- import { ContentType as Vt, DimensionType as Wt, PointType as Xt } from "./Archive/deprecated.js";
2
+ import { pluginFlag as Rt } from "./controller/index.js";
3
+ import { defaultGlobalConfig as Ut } from "./typings/tag/TagConfig.js";
4
+ import { ContentType as Wt, DimensionType as Xt, PointType as Yt } from "./Archive/deprecated.js";
5
5
  import "three";
6
6
  import "@realsee/five";
7
7
  import "../vendor/object-assign-deep/objectAssignDeep.js";
@@ -145,14 +145,15 @@ import "@realsee/five/gltf-loader";
145
145
  import "../shared-utils/animationFrame/BetterTween.js";
146
146
  import "../shared-utils/animationFrame/index.js";
147
147
  import "../shared-utils/five/fiveModelLoad.js";
148
- const Mt = (o, t) => new r(o, t);
148
+ import "./utils/DebugUtil.js";
149
+ const Nt = (o, t) => new r(o, t);
149
150
  export {
150
- Vt as ContentType,
151
- Wt as DimensionType,
152
- Mt as PanoTagPlugin,
151
+ Wt as ContentType,
152
+ Xt as DimensionType,
153
+ Nt as PanoTagPlugin,
153
154
  r as PanoTagPluginController,
154
- Xt as PointType,
155
- Mt as default,
156
- St as defaultGlobalConfig,
157
- Qt as pluginFlag
155
+ Yt as PointType,
156
+ Nt as default,
157
+ Ut as defaultGlobalConfig,
158
+ Rt as pluginFlag
158
159
  };
@@ -0,0 +1,6 @@
1
+ import type PanoTagPluginController from '../controller';
2
+ export declare class DebugUtil {
3
+ plugin: PanoTagPluginController;
4
+ constructor(plugin: PanoTagPluginController);
5
+ private closeIntersectRaycaster;
6
+ }
@@ -0,0 +1,25 @@
1
+ var l = Object.defineProperty;
2
+ var t = (s, i, e) => i in s ? l(s, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[i] = e;
3
+ var n = (s, i, e) => (t(s, typeof i != "symbol" ? i + "" : i, e), e);
4
+ import { safeObj as a } from "../../shared-utils/safeObj.js";
5
+ class r {
6
+ constructor(i) {
7
+ n(this, "plugin");
8
+ this.plugin = i;
9
+ }
10
+ closeIntersectRaycaster() {
11
+ this.plugin.tags.forEach((i) => {
12
+ var e;
13
+ a((e = i == null ? void 0 : i.initialConfig) == null ? void 0 : e.visibleConfig).intersectRaycaster && (i.initialConfig.visibleConfig.intersectRaycaster.enabled = !1);
14
+ }), this.plugin.changeGlobalConfig({
15
+ visibleConfig: {
16
+ intersectRaycaster: {
17
+ enabled: !1
18
+ }
19
+ }
20
+ });
21
+ }
22
+ }
23
+ export {
24
+ r as DebugUtil
25
+ };
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.12.0-dev.0");
17
+ i(this, "VERSION", "3.12.1");
18
18
  i(this, "five");
19
19
  /**
20
20
  * @description: 插件事件钩子
@@ -2,16 +2,16 @@ var g = Object.defineProperty, w = Object.defineProperties;
2
2
  var v = Object.getOwnPropertyDescriptors;
3
3
  var b = Object.getOwnPropertySymbols;
4
4
  var A = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
5
- var u = (r, i, t) => i in r ? g(r, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[i] = t, p = (r, i) => {
6
- for (var t in i || (i = {}))
7
- A.call(i, t) && u(r, t, i[t]);
5
+ var u = (r, e, t) => e in r ? g(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, p = (r, e) => {
6
+ for (var t in e || (e = {}))
7
+ A.call(e, t) && u(r, t, e[t]);
8
8
  if (b)
9
- for (var t of b(i))
10
- S.call(i, t) && u(r, t, i[t]);
9
+ for (var t of b(e))
10
+ S.call(e, t) && u(r, t, e[t]);
11
11
  return r;
12
- }, f = (r, i) => w(r, v(i));
13
- var o = (r, i, t) => (u(r, typeof i != "symbol" ? i + "" : i, t), t);
14
- var c = (r, i, t) => new Promise((e, s) => {
12
+ }, f = (r, e) => w(r, v(e));
13
+ var o = (r, e, t) => (u(r, typeof e != "symbol" ? e + "" : e, t), t);
14
+ var c = (r, e, t) => new Promise((i, s) => {
15
15
  var a = (n) => {
16
16
  try {
17
17
  d(t.next(n));
@@ -24,8 +24,8 @@ var c = (r, i, t) => new Promise((e, s) => {
24
24
  } catch (l) {
25
25
  s(l);
26
26
  }
27
- }, d = (n) => n.done ? e(n.value) : Promise.resolve(n.value).then(a, h);
28
- d((t = t.apply(r, i)).next());
27
+ }, d = (n) => n.done ? i(n.value) : Promise.resolve(n.value).then(a, h);
28
+ d((t = t.apply(r, e)).next());
29
29
  });
30
30
  import _ from "./Components/Main.js";
31
31
  import { equal as y } from "../../shared-utils/equal.js";
@@ -70,7 +70,7 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
70
70
  import "../../shared-utils/url/absoluteUrl.js";
71
71
  import "../Assets/floorplanExtraObject.js";
72
72
  class mt extends O {
73
- constructor(t, e) {
73
+ constructor(t, i) {
74
74
  super(t);
75
75
  // =============== public properties =================
76
76
  o(this, "name", "panoFloorplanRadarPlugin");
@@ -96,8 +96,8 @@ class mt extends O {
96
96
  });
97
97
  o(this, "_disable", (t) => {
98
98
  var s;
99
- const { userAction: e } = t;
100
- (s = this.app) == null || s.$destroy(), this.app = void 0, this.hooks.emit("disable", { userAction: e });
99
+ const { userAction: i } = t;
100
+ (s = this.app) == null || s.$destroy(), this.app = void 0, this.hooks.emit("disable", { userAction: i });
101
101
  });
102
102
  this.five = t;
103
103
  const s = {
@@ -105,49 +105,49 @@ class mt extends O {
105
105
  highlightEnable: !0,
106
106
  cameraImageUrl: D,
107
107
  missingFloorImageUrl: this.staticPrefix + "/release/web/saas/missing-floor.d687a5ed.png"
108
- }, a = p(p({}, s), e == null ? void 0 : e.configs);
109
- this.state = { enabled: !0, visible: !0, config: a }, e != null && e.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (e == null ? void 0 : e.wrapper) == "string" ? this.wrapperSelector = e.wrapper : (e == null ? void 0 : e.wrapper) instanceof Element && (this.wrapper = e.wrapper), t.once("dispose", this.dispose);
108
+ }, a = p(p({}, s), i == null ? void 0 : i.configs);
109
+ this.state = { enabled: !0, visible: !0, config: a }, i != null && i.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (i == null ? void 0 : i.wrapper) == "string" ? this.wrapperSelector = i.wrapper : (i == null ? void 0 : i.wrapper) instanceof Element && (this.wrapper = i.wrapper), t.once("dispose", this.dispose);
110
110
  }
111
- load(t, e, s = !0) {
111
+ load(t, i, s = !0) {
112
112
  return c(this, null, function* () {
113
113
  function a(l) {
114
114
  return Object.prototype.hasOwnProperty.apply(l, ["version"]);
115
115
  }
116
116
  const h = JSON.parse(JSON.stringify(t)), d = a(h) ? h.data : h, n = this.data;
117
- this.data = yield m(d), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, n), e && this.updateState(e, s), this.render();
117
+ this.data = yield m(d), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, n), i && this.updateState(i, s), this.render();
118
118
  });
119
119
  }
120
120
  show() {
121
121
  return c(this, arguments, function* (t = {}) {
122
122
  if (this.state.visible)
123
123
  return;
124
- const e = t.userAction !== void 0 ? t.userAction : !0;
125
- this.updateState({ visible: !0 }, e), this._show({ userAction: e });
124
+ const i = t.userAction !== void 0 ? t.userAction : !0;
125
+ this.updateState({ visible: !0 }, i), this._show({ userAction: i });
126
126
  });
127
127
  }
128
128
  hide() {
129
129
  return c(this, arguments, function* (t = {}) {
130
130
  if (!this.state.visible)
131
131
  return;
132
- const e = t.userAction !== void 0 ? t.userAction : !0;
133
- this.updateState({ visible: !1 }, e), this._hide({ userAction: e });
132
+ const i = t.userAction !== void 0 ? t.userAction : !0;
133
+ this.updateState({ visible: !1 }, i), this._hide({ userAction: i });
134
134
  });
135
135
  }
136
136
  enable(t = {}) {
137
137
  if (this.state.enabled)
138
138
  return;
139
- const e = t.userAction !== void 0 ? t.userAction : !0;
140
- this.updateState({ enabled: !0 }, t.userAction || e), this._enable({ userAction: e });
139
+ const i = t.userAction !== void 0 ? t.userAction : !0;
140
+ this.updateState({ enabled: !0 }, t.userAction || i), this._enable({ userAction: i });
141
141
  }
142
142
  disable(t = {}) {
143
143
  if (!this.state.enabled)
144
144
  return;
145
- const e = t.userAction !== void 0 ? t.userAction : !0;
146
- this.updateState({ enabled: !1 }, t.userAction || e), this._disable({ userAction: e });
145
+ const i = t.userAction !== void 0 ? t.userAction : !0;
146
+ this.updateState({ enabled: !1 }, t.userAction || i), this._disable({ userAction: i });
147
147
  }
148
148
  /** 更改插件 State */
149
- setState(t, e = {}) {
150
- const s = this.state, a = e.userAction !== void 0 ? e.userAction : !0;
149
+ setState(t, i = {}) {
150
+ const s = this.state, a = i.userAction !== void 0 ? i.userAction : !0;
151
151
  if (this.updateState(t, a), t.enabled !== void 0 && s.enabled !== t.enabled) {
152
152
  const h = { userAction: a };
153
153
  t.enabled ? this._enable(h) : this._disable(h);
@@ -159,10 +159,10 @@ class mt extends O {
159
159
  }
160
160
  /** 把插件的渲染DOM插入到对应的容器中去 */
161
161
  appendTo(t) {
162
- this.wrapper = t, this.render();
162
+ this.wrapper !== t && this.app && (this.app.$destroy(), this.app = void 0), this.wrapper = t, this.render();
163
163
  }
164
- changeConfigs(t, e = !0) {
165
- this.setState({ config: t }, { userAction: e }), this.render();
164
+ changeConfigs(t, i = !0) {
165
+ this.setState({ config: t }, { userAction: i }), this.render();
166
166
  }
167
167
  setExtraObjectsWith3DPositions(t) {
168
168
  this.data && (this.extraObjects = x(t, this.five, this.data), this.render());
@@ -173,31 +173,31 @@ class mt extends O {
173
173
  });
174
174
  }
175
175
  _enable(t) {
176
- const { userAction: e } = t;
177
- this.hooks.emit("enable", { userAction: e }), this.state.visible && this._show({ userAction: e });
176
+ const { userAction: i } = t;
177
+ this.hooks.emit("enable", { userAction: i }), this.state.visible && this._show({ userAction: i });
178
178
  }
179
179
  _show(t) {
180
180
  if (this.disposed || !this.state.enabled)
181
181
  return;
182
- const { userAction: e } = t;
183
- this.hooks.emit("show", { userAction: e }), this.render();
182
+ const { userAction: i } = t;
183
+ this.hooks.emit("show", { userAction: i }), this.render();
184
184
  }
185
185
  _hide(t) {
186
186
  if (this.disposed || !this.state.enabled)
187
187
  return;
188
- const { userAction: e } = t;
189
- this.hooks.emit("hide", { userAction: e }), this.render();
188
+ const { userAction: i } = t;
189
+ this.hooks.emit("hide", { userAction: i }), this.render();
190
190
  }
191
- updateState(t, e) {
191
+ updateState(t, i) {
192
192
  const s = this.state, a = t.config ? p(p({}, s.config), t.config) : s.config;
193
- this.state = f(p(p({}, this.state), t), { config: a }), !y(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: e });
193
+ this.state = f(p(p({}, this.state), t), { config: a }), !y(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
194
194
  }
195
195
  render() {
196
196
  if (this.disposed || !this.state.enabled)
197
197
  return;
198
198
  if (!this.wrapper && this.wrapperSelector) {
199
- const e = document.querySelector(this.wrapperSelector);
200
- this.wrapper = e;
199
+ const i = document.querySelector(this.wrapperSelector);
200
+ this.wrapper = i;
201
201
  }
202
202
  if (!this.data || !this.wrapper)
203
203
  return;