@realsee/dnalogel 3.2.0-dev.8 → 3.2.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 (385) hide show
  1. package/dist/GuideLinePlugin/GuideLineItem.d.ts +0 -1
  2. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +10 -1
  3. package/dist/GuideLinePlugin/typing.d.ts +6 -1
  4. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -8
  5. package/dist/PanoTagPlugin/controller/index.d.ts +1 -1
  6. package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +0 -1
  7. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +2 -2
  8. package/dist/PanoTagPlugin/utils/tagPosition.d.ts +3 -2
  9. package/dist/index.cjs.js +54 -54
  10. package/dist/index.js +3053 -3053
  11. package/dist/index.umd.js +51 -51
  12. package/dist/shared-utils/five/getFloorIndex.d.ts +8 -2
  13. package/libs/CruisePlugin/Controller.js +34 -35
  14. package/libs/CruisePlugin/index.js +5 -6
  15. package/libs/GuideLinePlugin/Controller.js +40 -41
  16. package/libs/GuideLinePlugin/GuideLineItem/index.js +33 -36
  17. package/libs/GuideLinePlugin/GuideLineItem.d.ts +0 -1
  18. package/libs/GuideLinePlugin/GuideLineItem.js +2 -3
  19. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +95 -72
  20. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +10 -1
  21. package/libs/GuideLinePlugin/GuideLineModeItem.js +2 -3
  22. package/libs/GuideLinePlugin/index.js +7 -8
  23. package/libs/GuideLinePlugin/typing.d.ts +6 -1
  24. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +26 -26
  25. package/libs/PanoTagPlugin/controller/TagComputer.js +95 -89
  26. package/libs/PanoTagPlugin/controller/TagRender.js +81 -81
  27. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -8
  28. package/libs/PanoTagPlugin/controller/TagUtil.js +107 -123
  29. package/libs/PanoTagPlugin/controller/index.d.ts +1 -1
  30. package/libs/PanoTagPlugin/controller/index.js +36 -41
  31. package/libs/PanoTagPlugin/index.js +11 -12
  32. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +0 -1
  33. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +2 -2
  34. package/libs/PanoTagPlugin/utils/tagPosition.d.ts +3 -2
  35. package/libs/PanoTagPlugin/utils/tagPosition.js +15 -15
  36. package/libs/base/BasePlugin.js +1 -1
  37. package/libs/index.js +116 -117
  38. package/libs/shared-utils/five/getFloorIndex.d.ts +8 -2
  39. package/libs/shared-utils/five/getFloorIndex.js +12 -16
  40. package/libs/shared-utils/logger.js +1 -1
  41. package/package.json +1 -1
  42. package/dist/shared-utils/five/transformPosition.d.ts +0 -2
  43. package/docs/.nojekyll +0 -1
  44. package/docs/assets/highlight.css +0 -120
  45. package/docs/assets/main.js +0 -58
  46. package/docs/assets/search.js +0 -1
  47. package/docs/assets/style.css +0 -1367
  48. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +0 -725
  49. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +0 -678
  50. package/docs/classes/CSS3DRender.html +0 -773
  51. package/docs/classes/CruisePluginController.html +0 -672
  52. package/docs/classes/GuideLineItem.GuideLineItem.html +0 -491
  53. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -792
  54. package/docs/classes/Magnifier.html +0 -480
  55. package/docs/classes/ModelRoomLabelController.html +0 -398
  56. package/docs/classes/Object3DHelperController.html +0 -640
  57. package/docs/classes/PaintBrush.html +0 -502
  58. package/docs/classes/PanoMeasurePluginLine.html +0 -522
  59. package/docs/classes/PanoMeasurePluginModel.html +0 -571
  60. package/docs/classes/PanoMeasurePluginPoint.html +0 -362
  61. package/docs/classes/PanoMeasurePluginPolyline.html +0 -567
  62. package/docs/classes/PanoTagPluginController.html +0 -1077
  63. package/docs/classes/Util.BetterTween.html +0 -416
  64. package/docs/classes/Util.Interval.html +0 -432
  65. package/docs/classes/Util.LineSegments.html +0 -384
  66. package/docs/classes/Util.Magnifier.html +0 -503
  67. package/docs/classes/Util.Object3D.html +0 -406
  68. package/docs/classes/Util.PointDomHelper.html +0 -407
  69. package/docs/classes/Util.PointHelper.html +0 -398
  70. package/docs/classes/Util.PointSelectorHelper.html +0 -454
  71. package/docs/classes/Util.Rectangle.html +0 -455
  72. package/docs/enums/CameraMovementEffect.html +0 -310
  73. package/docs/enums/ContentType.html +0 -446
  74. package/docs/enums/DIRECTION.html +0 -320
  75. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -320
  76. package/docs/enums/DimensionType.html +0 -310
  77. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -313
  78. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -320
  79. package/docs/enums/PaintBrushTypeEnum.html +0 -313
  80. package/docs/enums/PointType.html +0 -310
  81. package/docs/enums/Rotation.html +0 -317
  82. package/docs/functions/AreaMakerPlugin.html +0 -290
  83. package/docs/functions/CSS3DRenderPlugin.html +0 -288
  84. package/docs/functions/CameraMovementPlugin.html +0 -293
  85. package/docs/functions/CruisePlugin.html +0 -290
  86. package/docs/functions/CurrentPanoImagePlugin.html +0 -290
  87. package/docs/functions/GuideLinePlugin.html +0 -290
  88. package/docs/functions/ItemLabelPlugin.html +0 -290
  89. package/docs/functions/MapviewFloorplanPlugin.html +0 -290
  90. package/docs/functions/ModelChassisCompassPlugin.html +0 -293
  91. package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -293
  92. package/docs/functions/ModelFloorplanPlugin.html +0 -290
  93. package/docs/functions/ModelItemLabelPlugin.html +0 -290
  94. package/docs/functions/ModelRoomLabelPlugin.html +0 -288
  95. package/docs/functions/ModelTVVideoPlugin.html +0 -290
  96. package/docs/functions/ModelViewPlugin.html +0 -293
  97. package/docs/functions/Object3DHelperPlugin.html +0 -288
  98. package/docs/functions/PanoCompassPlugin.html +0 -290
  99. package/docs/functions/PanoCursorRaycasterPlugin.html +0 -294
  100. package/docs/functions/PanoDoorLabelPlugin.html +0 -290
  101. package/docs/functions/PanoFloorplanRadarPlugin.html +0 -290
  102. package/docs/functions/PanoMeasurePlugin.html +0 -290
  103. package/docs/functions/PanoRulerPlugin.html +0 -293
  104. package/docs/functions/PanoRulerProPlugin.html +0 -293
  105. package/docs/functions/PanoSpatialTagPlugin.html +0 -293
  106. package/docs/functions/PanoTagPlugin.html +0 -295
  107. package/docs/functions/PanoVideoPlugin.html +0 -299
  108. package/docs/functions/PipelinePlugin.html +0 -288
  109. package/docs/functions/TopviewFloorplanPlugin.html +0 -290
  110. package/docs/functions/Util.absoluteUrl.html +0 -326
  111. package/docs/functions/Util.checkFiveModelLoaded.html +0 -329
  112. package/docs/functions/Util.equal.html +0 -338
  113. package/docs/functions/Util.getCoordsFromClient.html +0 -328
  114. package/docs/functions/Util.getCoordsFromElement.html +0 -328
  115. package/docs/functions/Util.getFrameTime.html +0 -320
  116. package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -328
  117. package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -328
  118. package/docs/functions/Util.isAbsoluteURL.html +0 -321
  119. package/docs/functions/Util.isModelLike.html +0 -321
  120. package/docs/functions/Util.isNil.html +0 -329
  121. package/docs/functions/Util.isPanoramaLike.html +0 -321
  122. package/docs/functions/Util.nextFrame.html +0 -334
  123. package/docs/functions/Util.notNil.html +0 -329
  124. package/docs/functions/Util.requestAnimationFrameInterval.html +0 -350
  125. package/docs/functions/Util.tweenProgress.html +0 -323
  126. package/docs/functions/Util.uuid.html +0 -319
  127. package/docs/functions/pluginFlag.html +0 -288
  128. package/docs/index.html +0 -354
  129. package/docs/interfaces/AddTagConfig.html +0 -303
  130. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +0 -329
  131. package/docs/interfaces/AreaMakerPluginType.Config.html +0 -334
  132. package/docs/interfaces/AreaMakerPluginType.EventMap.html +0 -620
  133. package/docs/interfaces/AreaMakerPluginType.Params.html +0 -333
  134. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +0 -383
  135. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +0 -368
  136. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +0 -333
  137. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +0 -326
  138. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +0 -325
  139. package/docs/interfaces/AreaMakerPluginType.State.html +0 -354
  140. package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -449
  141. package/docs/interfaces/CSS3DRenderPluginState.html +0 -325
  142. package/docs/interfaces/CameraMovementPluginExportType.html +0 -358
  143. package/docs/interfaces/CruisePluginTypes.Config.html +0 -359
  144. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -361
  145. package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -696
  146. package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -385
  147. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -421
  148. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -411
  149. package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -351
  150. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -319
  151. package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -408
  152. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +0 -382
  153. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +0 -521
  154. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +0 -323
  155. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +0 -315
  156. package/docs/interfaces/CurrentPanoImagePluginType.State.html +0 -337
  157. package/docs/interfaces/EventMap.html +0 -542
  158. package/docs/interfaces/FloorplanBounding.html +0 -332
  159. package/docs/interfaces/FloorplanData.html +0 -335
  160. package/docs/interfaces/FloorplanEntrance.html +0 -360
  161. package/docs/interfaces/FloorplanExtraObject.html +0 -350
  162. package/docs/interfaces/FloorplanExtraObject3D.html +0 -339
  163. package/docs/interfaces/FloorplanFloorData.html +0 -328
  164. package/docs/interfaces/FloorplanImagePosition.html +0 -314
  165. package/docs/interfaces/FloorplanObserver.html +0 -332
  166. package/docs/interfaces/FloorplanOutlineItem.html +0 -328
  167. package/docs/interfaces/FloorplanPosition.html +0 -314
  168. package/docs/interfaces/FloorplanRoomItem.html +0 -379
  169. package/docs/interfaces/FloorplanRoomLabelItem.html +0 -320
  170. package/docs/interfaces/FloorplanServerBounding.html +0 -332
  171. package/docs/interfaces/FloorplanServerComputedData.html +0 -331
  172. package/docs/interfaces/FloorplanServerData.html +0 -314
  173. package/docs/interfaces/FloorplanServerDoorItem.html +0 -331
  174. package/docs/interfaces/FloorplanServerDoorPosition.html +0 -317
  175. package/docs/interfaces/FloorplanServerEntrance.html +0 -360
  176. package/docs/interfaces/FloorplanServerFloorData.html +0 -328
  177. package/docs/interfaces/FloorplanServerImagePosition.html +0 -314
  178. package/docs/interfaces/FloorplanServerObserver.html +0 -332
  179. package/docs/interfaces/FloorplanServerOutlineItem.html +0 -328
  180. package/docs/interfaces/FloorplanServerPosition.html +0 -314
  181. package/docs/interfaces/FloorplanServerRoomItem.html +0 -391
  182. package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -320
  183. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -323
  184. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -361
  185. package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -525
  186. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -356
  187. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -347
  188. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -414
  189. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -346
  190. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -471
  191. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -343
  192. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -471
  193. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -308
  194. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -329
  195. package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -354
  196. package/docs/interfaces/GuideLinePluginType.Route.html +0 -370
  197. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -352
  198. package/docs/interfaces/HelperOffset.html +0 -332
  199. package/docs/interfaces/ImagePlaneGroup.html +0 -306
  200. package/docs/interfaces/ItemLabelPluginData.html +0 -303
  201. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -388
  202. package/docs/interfaces/ItemLabelPluginParametersType.html +0 -324
  203. package/docs/interfaces/MinMax.html +0 -310
  204. package/docs/interfaces/ModelChassisCompassPluginData.html +0 -310
  205. package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -346
  206. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -310
  207. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -317
  208. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -354
  209. package/docs/interfaces/ModelItemLabelPluginData.html +0 -303
  210. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -388
  211. package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -310
  212. package/docs/interfaces/ModelRoomLabelPluginData.html +0 -303
  213. package/docs/interfaces/ModelTVVideoPluginData.html +0 -324
  214. package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -348
  215. package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -303
  216. package/docs/interfaces/ModelViewPluginExportType.html +0 -416
  217. package/docs/interfaces/Object3DHelperState.html +0 -317
  218. package/docs/interfaces/ObjectHelperControllers.html +0 -324
  219. package/docs/interfaces/PaintBrushAction.html +0 -363
  220. package/docs/interfaces/PaintBrushConfigs.html +0 -361
  221. package/docs/interfaces/PaintBrushState.html +0 -345
  222. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -425
  223. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -282
  224. package/docs/interfaces/PanoMeasureParameterType.html +0 -449
  225. package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -317
  226. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -314
  227. package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -310
  228. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -320
  229. package/docs/interfaces/PanoRulerPluginExportType.html +0 -377
  230. package/docs/interfaces/PanoRulerPluginOptions.html +0 -326
  231. package/docs/interfaces/PanoRulerPluginParameterType.html +0 -317
  232. package/docs/interfaces/PanoRulerProPluginExportType.html +0 -353
  233. package/docs/interfaces/PanoRulerProPluginOptions.html +0 -323
  234. package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -310
  235. package/docs/interfaces/PanoRulerProPluginState.html +0 -317
  236. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -296
  237. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -285
  238. package/docs/interfaces/PanoSpatialTagPluginData.html +0 -353
  239. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -335
  240. package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -431
  241. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -331
  242. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -352
  243. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -338
  244. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -331
  245. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -323
  246. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -341
  247. package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -314
  248. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -420
  249. package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -314
  250. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -349
  251. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -368
  252. package/docs/interfaces/Point.html +0 -317
  253. package/docs/interfaces/Room.html +0 -324
  254. package/docs/interfaces/RoomInfo.html +0 -310
  255. package/docs/interfaces/RoomLabel.html +0 -386
  256. package/docs/interfaces/RoomRules.html +0 -285
  257. package/docs/interfaces/Rooms.html +0 -285
  258. package/docs/interfaces/Scissor.html +0 -344
  259. package/docs/interfaces/State.html +0 -331
  260. package/docs/interfaces/TagCacheInterface.html +0 -362
  261. package/docs/interfaces/TagConfig.html +0 -565
  262. package/docs/interfaces/TagGLTFObjectGroup.html +0 -306
  263. package/docs/interfaces/TagIconUrl.html +0 -363
  264. package/docs/interfaces/TagObjectGroup.html +0 -306
  265. package/docs/interfaces/TagStyle.html +0 -316
  266. package/docs/interfaces/Tags.html +0 -2688
  267. package/docs/interfaces/TemporaryState.html +0 -303
  268. package/docs/interfaces/Util.MagnifierParameter.html +0 -391
  269. package/docs/interfaces/Util.MouseGroupParameter.html +0 -350
  270. package/docs/interfaces/Util.PointIntersection.html +0 -365
  271. package/docs/modules/AreaMakerPluginType.html +0 -323
  272. package/docs/modules/CruisePluginTypes.html +0 -328
  273. package/docs/modules/CurrentPanoImagePluginType.html +0 -297
  274. package/docs/modules/GuideLineItem.html +0 -289
  275. package/docs/modules/GuideLineModeItem.html +0 -294
  276. package/docs/modules/GuideLinePluginType.html +0 -348
  277. package/docs/modules/PanoVideoPluginType.html +0 -301
  278. package/docs/modules/Util.html +0 -351
  279. package/docs/modules.html +0 -540
  280. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +0 -331
  281. package/docs/types/AreaMakerPluginType.PluginData.html +0 -301
  282. package/docs/types/AreaMakerPluginType.ServerData.html +0 -301
  283. package/docs/types/ArrayPosition.html +0 -279
  284. package/docs/types/AudioAppearance.html +0 -279
  285. package/docs/types/AudioTagTypeConfigKey.html +0 -279
  286. package/docs/types/CSS3DRenderExportType.html +0 -279
  287. package/docs/types/CSS3DRenderPluginExportType.html +0 -279
  288. package/docs/types/CSS3DRenderPluginParameterType.html +0 -279
  289. package/docs/types/ClassFunctionParameters.html +0 -286
  290. package/docs/types/Color.html +0 -279
  291. package/docs/types/ContentTypeConfigKey.html +0 -279
  292. package/docs/types/ContentTypeConfigKeySplit.html +0 -279
  293. package/docs/types/ContentTypeMap.html +0 -279
  294. package/docs/types/Create3DDomContainerReturnType.html +0 -279
  295. package/docs/types/Create3DElementReturnType.html +0 -279
  296. package/docs/types/CruisePluginExportType.html +0 -279
  297. package/docs/types/CruisePluginTypes.CruiseData.html +0 -318
  298. package/docs/types/CruisePluginTypes.MoveEffect.html +0 -295
  299. package/docs/types/CurrentPanoImagePluginExportType.html +0 -279
  300. package/docs/types/DeprecatedMediaPlaneProperty.html +0 -291
  301. package/docs/types/DeprecatedTagProperty.html +0 -294
  302. package/docs/types/Direction-1.html +0 -279
  303. package/docs/types/Direction4.html +0 -279
  304. package/docs/types/ElementRenderer.html +0 -303
  305. package/docs/types/FloorplanRuleLabels.html +0 -282
  306. package/docs/types/FloorplanServerRuleLabels.html +0 -279
  307. package/docs/types/GuideLinePluginExportType.html +0 -279
  308. package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -351
  309. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -372
  310. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -305
  311. package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -308
  312. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -308
  313. package/docs/types/GuideLinePluginType.PathItem.html +0 -308
  314. package/docs/types/GuideLinePluginType.PluginData.html +0 -317
  315. package/docs/types/HelperEventMap.html +0 -517
  316. package/docs/types/LoadTagConfig.html +0 -279
  317. package/docs/types/MapviewFloorplanPluginParameterType.html +0 -279
  318. package/docs/types/MapviewFloorplanPluginReturnType.html +0 -279
  319. package/docs/types/MediaData.html +0 -295
  320. package/docs/types/MediaStore.html +0 -284
  321. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -286
  322. package/docs/types/ModelFloorplanPluginParameterType.html +0 -279
  323. package/docs/types/ModelFloorplanPluginReturnType.html +0 -279
  324. package/docs/types/ModelId.html +0 -279
  325. package/docs/types/ModelRoomLabelPluginParameters.html +0 -279
  326. package/docs/types/ModelRoomLabelPluginReturnType.html +0 -279
  327. package/docs/types/MoveArgs.html +0 -289
  328. package/docs/types/MoveOpts.html +0 -287
  329. package/docs/types/Object3DHelperEventMap.html +0 -372
  330. package/docs/types/ObjectFit.html +0 -279
  331. package/docs/types/PaintBrushEventMap.html +0 -310
  332. package/docs/types/PanoCompassPluginData.html +0 -279
  333. package/docs/types/PanoCompassPluginExportType.html +0 -279
  334. package/docs/types/PanoCompassPluginParameterType.html +0 -279
  335. package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -279
  336. package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -279
  337. package/docs/types/PanoIndex.html +0 -279
  338. package/docs/types/PanoMeasurePluginEvent.html +0 -279
  339. package/docs/types/PanoMeasureReturnType.html +0 -279
  340. package/docs/types/PanoSpatialTagPluginId.html +0 -279
  341. package/docs/types/PanoTagPluginExportInterface.html +0 -279
  342. package/docs/types/PanoTagPluginParamsInterface.html +0 -279
  343. package/docs/types/PanoVideoPluginParameterType.html +0 -279
  344. package/docs/types/PanoVideoPluginReturnType.html +0 -279
  345. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -287
  346. package/docs/types/PipelinePluginParameterType.html +0 -279
  347. package/docs/types/PipelinePluginReturnType.html +0 -279
  348. package/docs/types/PlaneTag.html +0 -287
  349. package/docs/types/Point2DTag.html +0 -287
  350. package/docs/types/Point3DTag.html +0 -287
  351. package/docs/types/PointTag.html +0 -284
  352. package/docs/types/PointTagInstance.html +0 -284
  353. package/docs/types/Position.html +0 -279
  354. package/docs/types/RotateArgs.html +0 -291
  355. package/docs/types/RotateOpts.html +0 -287
  356. package/docs/types/RuleLabelsKey.html +0 -279
  357. package/docs/types/RuleLabelsValue.html +0 -279
  358. package/docs/types/StickType.html +0 -279
  359. package/docs/types/Tag.html +0 -345
  360. package/docs/types/Tag2D.html +0 -287
  361. package/docs/types/Tag3D.html +0 -287
  362. package/docs/types/TagConfigByKey.html +0 -284
  363. package/docs/types/TagContentType.html +0 -279
  364. package/docs/types/TagDimensionType.html +0 -281
  365. package/docs/types/TagElement.html +0 -289
  366. package/docs/types/TagEvents.html +0 -332
  367. package/docs/types/TagGLTFObject.html +0 -302
  368. package/docs/types/TagHooks.html +0 -279
  369. package/docs/types/TagId.html +0 -279
  370. package/docs/types/TagInstance.html +0 -355
  371. package/docs/types/TagPointType.html +0 -282
  372. package/docs/types/TagRendererMap.html +0 -284
  373. package/docs/types/TopviewFloorplanPluginParameterType.html +0 -279
  374. package/docs/types/TopviewFloorplanPluginReturnType.html +0 -279
  375. package/docs/types/WorkCode.html +0 -279
  376. package/docs/variables/FLOOR_TYPE_MAP.html +0 -289
  377. package/docs/variables/PLUGIN.html +0 -279
  378. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -282
  379. package/docs/variables/ROOM_TYPE_MAP.html +0 -289
  380. package/docs/variables/defaultGlobalConfig.html +0 -279
  381. package/docs/variables/itemLabelPluginServerParams.html +0 -286
  382. package/docs/variables/modelItemLabelPluginServerParams.html +0 -286
  383. package/docs/variables/modelRoomLabelPluginServerParams.html +0 -286
  384. package/libs/shared-utils/five/transformPosition.d.ts +0 -2
  385. package/libs/shared-utils/five/transformPosition.js +0 -10
@@ -1,17 +1,17 @@
1
1
  var w = Object.defineProperty, E = Object.defineProperties;
2
2
  var U = Object.getOwnPropertyDescriptors;
3
3
  var C = Object.getOwnPropertySymbols;
4
- var I = Object.prototype.hasOwnProperty, R = Object.prototype.propertyIsEnumerable;
4
+ var I = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable;
5
5
  var m = (d, a, e) => a in d ? w(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, c = (d, a) => {
6
6
  for (var e in a || (a = {}))
7
7
  I.call(a, e) && m(d, e, a[e]);
8
8
  if (C)
9
9
  for (var e of C(a))
10
- R.call(a, e) && m(d, e, a[e]);
10
+ B.call(a, e) && m(d, e, a[e]);
11
11
  return d;
12
12
  }, u = (d, a) => E(d, U(a));
13
13
  var l = (d, a, e) => (m(d, typeof a != "symbol" ? a + "" : a, e), e);
14
- var f = (d, a, e) => new Promise((t, i) => {
14
+ var p = (d, a, e) => new Promise((t, i) => {
15
15
  var s = (r) => {
16
16
  try {
17
17
  n(e.next(r));
@@ -28,11 +28,11 @@ var f = (d, a, e) => new Promise((t, i) => {
28
28
  n((e = e.apply(d, a)).next());
29
29
  });
30
30
  import * as v from "three";
31
- import { Subscribe as B } from "@realsee/five";
32
- import { objectAssignDeepExports as p } from "../../vendor/object-assign-deep/objectAssignDeep.js";
33
- import { addDebugPoints as F } from "../utils/addDebugPoints.js";
31
+ import { Subscribe as F } from "@realsee/five";
32
+ import { objectAssignDeepExports as f } from "../../vendor/object-assign-deep/objectAssignDeep.js";
33
+ import { addDebugPoints as M } from "../utils/addDebugPoints.js";
34
34
  import { arrayPositionToVector3 as A } from "../../shared-utils/positionToVector3.js";
35
- import { isMediaModelTag as M, isModelTag as _ } from "../utils/tag/tagCheck.js";
35
+ import { isMediaModelTag as R, isModelTag as _ } from "../utils/tag/tagCheck.js";
36
36
  import { debounce as k } from "../utils/debounce.js";
37
37
  import { throttle as O } from "../utils/throttle.js";
38
38
  import { resizeObserver as D } from "../utils/resizeObserver.js";
@@ -89,7 +89,6 @@ import "../../shared-utils/five/calculateThreeMouse.js";
89
89
  import "../utils/tag/adaptConfig.js";
90
90
  import "../../shared-utils/typescript/entries.js";
91
91
  import "../../shared-utils/url/getUrl.js";
92
- import "../../shared-utils/five/transformPosition.js";
93
92
  import "../../shared-utils/five/getFloorIndex.js";
94
93
  import "../../shared-utils/safeObj.js";
95
94
  import "../Components/TagContainer.js";
@@ -168,8 +167,8 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
168
167
  import "../../shared-utils/three/GLTFLoader.js";
169
168
  import "@realsee/five/gltf-loader";
170
169
  import "../../shared-utils/animationFrame/index.js";
171
- const P = "Dnalogel-PanoTagPlugin", Pi = (d) => `${P}--${d}`;
172
- class Si extends N {
170
+ const P = "Dnalogel-PanoTagPlugin", Di = (d) => `${P}--${d}`;
171
+ class Pi extends N {
173
172
  constructor(e, t) {
174
173
  super(e);
175
174
  /** state */
@@ -179,8 +178,8 @@ class Si extends N {
179
178
  /** debug */
180
179
  l(this, "debug");
181
180
  /** 更改 tag 模型 */
182
- l(this, "changeTagModel", (e, t) => f(this, null, function* () {
183
- e.data = p({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
181
+ l(this, "changeTagModel", (e, t) => p(this, null, function* () {
182
+ e.data = f({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
184
183
  }));
185
184
  l(this, "whyHide", (e) => {
186
185
  var i, s, o;
@@ -193,18 +192,16 @@ class Si extends N {
193
192
  return { reason: `tag ${e} not found` };
194
193
  if (!t.enabled)
195
194
  return { reason: `tag ${e} enabled is ${t.enabled}` };
196
- if (t.stickType === "Model" || t.stickType === "Plane")
197
- return { reason: "maybe blocked by the five model" };
198
195
  if (!t.state.visible) {
199
196
  const n = (s = (i = this.getPanoIndexCache({ panoIndex: this.five.panoIndex, id: e })) == null ? void 0 : i.__debug_visible_reason__) == null ? void 0 : s.reason;
200
- return { reason: (o = n == null ? void 0 : n.type) != null ? o : n, reasonObj: n };
197
+ return { reason: (o = n.type) != null ? o : n, reasonObj: n };
201
198
  }
202
- return { reason: "check your eyes" };
199
+ return t.stickType === "Model" || t.stickType === "Plane" ? { reason: "maybe blocked by the five model" } : { reason: "check your eyes" };
203
200
  });
204
201
  l(this, "updateVisible", () => {
205
202
  const e = this.five.getCurrentState().mode;
206
203
  this.tags.forEach((t) => {
207
- M(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
204
+ R(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
208
205
  }), this.setVisible(), this.updateRenderAllTags();
209
206
  });
210
207
  l(this, "handleFiveWantsMoveToPano", (e) => {
@@ -243,7 +240,7 @@ class Si extends N {
243
240
  l(this, "handleFiveCameraUpdate", () => {
244
241
  this.updatePointTagPosition();
245
242
  });
246
- l(this, "handleFivePanoArrived", () => f(this, null, function* () {
243
+ l(this, "handleFivePanoArrived", () => p(this, null, function* () {
247
244
  this.setVisible(), this.updatePointTagPosition(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
248
245
  e.temporaryState = u(c({}, e.temporaryState), { visible: !0 });
249
246
  }), this.tags.filter(_).filter((e) => {
@@ -268,9 +265,9 @@ class Si extends N {
268
265
  this.setVisible(), this.updateRenderAllTags();
269
266
  });
270
267
  l(this, "onFiveEveryReady", () => {
271
- this.setUnfoldedByCamera(), x(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 }), this.updateRenderVideoPlane(), this.updateRenderImagePlane(), this.updateRenderModelTag();
268
+ this.setUnfoldedByCamera(), x(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(this.filterPointTag), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 });
272
269
  });
273
- this.params = p({}, { debug: !1, config: this.config }, c({}, t)), this.debug = this.params.debug, this.config = this.params.config, L(1, { namespace: G.PlayAudio });
270
+ this.params = f({}, { debug: !1, config: this.config }, c({}, t)), this.debug = this.params.debug, this.config = this.params.config, L(1, { namespace: G.PlayAudio });
274
271
  try {
275
272
  const i = window;
276
273
  Array.isArray(i.__PANOTAGPLUGIN_DEBUG_LIST__) || (i.__PANOTAGPLUGIN_DEBUG_LIST__ = []), i.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), i.__PANOTAGPLUGIN_DEBUG__ = this;
@@ -281,16 +278,16 @@ class Si extends N {
281
278
  * @description: 加载数据
282
279
  */
283
280
  load(e, t) {
284
- return f(this, null, function* () {
281
+ return p(this, null, function* () {
285
282
  var s, o;
286
- this.clearTags(), console.debug(P, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = p({}, this.config, {
283
+ this.clearTags(), console.debug(P, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = f({}, this.config, {
287
284
  globalConfig: (s = e.globalConfig) != null ? s : {},
288
285
  contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
289
286
  });
290
287
  const i = yield this.addTag(e.tagList, t);
291
288
  if (this.debug)
292
289
  try {
293
- F(this.five, this.tags);
290
+ M(this.five, this.tags);
294
291
  } catch (n) {
295
292
  console.error(n);
296
293
  }
@@ -301,21 +298,19 @@ class Si extends N {
301
298
  * @description: 添加标签
302
299
  */
303
300
  addTag(e, t) {
304
- return f(this, null, function* () {
301
+ return p(this, null, function* () {
305
302
  const s = (Array.isArray(e) ? e : [e]).map((o) => {
306
303
  var b, T, y;
307
304
  const n = this.getTagConfig(o), r = JSON.parse(JSON.stringify(o.data)), h = o.config;
308
305
  return o.config = n, u(c({}, o), {
309
306
  enabled: (b = o.enabled) != null ? b : !0,
310
307
  id: (T = o.id) != null ? T : z(),
311
- data: (y = n.initialData) != null && y.important ? p(o.data, r, n.initialData) : p(o.data, n.initialData, r),
308
+ data: (y = n.initialData) != null && y.important ? f(o.data, r, n.initialData) : f(o.data, n.initialData, r),
312
309
  state: c({
313
310
  visible: void 0,
314
311
  unfolded: !this.can("fold", o)
315
312
  }, n.initialState),
316
- hooks: new B(),
317
- originPosition: o.position,
318
- position: this.getTransformedPostion(o.position),
313
+ hooks: new F(),
319
314
  initialConfig: h,
320
315
  config: n,
321
316
  unfold: () => this.changeUnfoldedById(o.id, !0),
@@ -326,7 +321,7 @@ class Si extends N {
326
321
  changeData: (S) => this.changeDataById(o.id, S)
327
322
  });
328
323
  }).filter((o) => o.position);
329
- return s.forEach(V), this.tags.push(...s), W(this.five).then(() => f(this, null, function* () {
324
+ return s.forEach(V), this.tags.push(...s), W(this.five).then(() => p(this, null, function* () {
330
325
  var o, n, r;
331
326
  this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(s), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 }), this.updatePointTagPosition(), this.updateRenderAllTags();
332
327
  }));
@@ -336,22 +331,22 @@ class Si extends N {
336
331
  * @description: 改变配置
337
332
  */
338
333
  changeConfig(e, t = !0) {
339
- t ? this.config = p({}, this.config, e) : this.config = e, this.updateTagConfig(), this.updateRenderAllTags();
334
+ t ? this.config = f({}, this.config, e) : this.config = e, this.updateTagConfig(), this.updateRenderAllTags();
340
335
  }
341
336
  /**
342
337
  * @description: 改变全局配置
343
338
  */
344
339
  changeGlobalConfig(e, t = !0) {
345
- t ? this.config.globalConfig = p({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.updateRenderAllTags();
340
+ t ? this.config.globalConfig = f({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.updateRenderAllTags();
346
341
  }
347
342
  /**
348
343
  * @description: 改变类型配置
349
344
  */
350
345
  changeContentTypeConfig(e, t, i = !0) {
351
- this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = p({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.updateRenderAllTags();
346
+ this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = f({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.updateRenderAllTags();
352
347
  }
353
348
  show(e) {
354
- return f(this, null, function* () {
349
+ return p(this, null, function* () {
355
350
  if (this.checkDisposed())
356
351
  return;
357
352
  const { userAction: t = !0, withAnimation: i = !1 } = e != null ? e : {};
@@ -359,7 +354,7 @@ class Si extends N {
359
354
  });
360
355
  }
361
356
  hide(e) {
362
- return f(this, null, function* () {
357
+ return p(this, null, function* () {
363
358
  if (this.checkDisposed())
364
359
  return;
365
360
  const { userAction: t = !0, withAnimation: i = !1 } = e != null ? e : {};
@@ -381,7 +376,7 @@ class Si extends N {
381
376
  setState(e, t) {
382
377
  if (this.checkDisposed())
383
378
  return;
384
- const { userAction: i = !0, visibleWithAnimation: s = !1 } = t != null ? t : {}, o = c({}, this.state);
379
+ const { userAction: i = !0, visibleWithAnimation: s = !1 } = t, o = c({}, this.state);
385
380
  this.state = Object.assign(this.state, e), this.store.visibleWithAnimation = s, o.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), o.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: i });
386
381
  }
387
382
  /**
@@ -424,7 +419,7 @@ class Si extends N {
424
419
  changeDataById(e, t, i = !0) {
425
420
  const s = this.getTagById(e);
426
421
  let o = !1;
427
- s && (s.data && (o = !0), i ? s.data = p(s.data, t) : s.data = c(c({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
422
+ s && (s.data && (o = !0), i ? s.data = f(s.data, t) : s.data = c(c({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
428
423
  }
429
424
  /**
430
425
  * @description: 改变tag的stickType
@@ -438,7 +433,7 @@ class Si extends N {
438
433
  changeTagById(e, t, i = !0) {
439
434
  const s = this.getTagById(e);
440
435
  let o = !1;
441
- t && (t.data && (o = !0), i ? p(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = A(t.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
436
+ t && (t.data && (o = !0), i ? f(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = A(t.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
442
437
  }
443
438
  /**
444
439
  * @description: 销毁tag
@@ -453,7 +448,7 @@ class Si extends N {
453
448
  * @description: 设置 visible 和 unfolded
454
449
  */
455
450
  setVisibleAndUnfolded() {
456
- return f(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
451
+ return p(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
457
452
  return this.setVisible(), e ? new Promise((t) => {
458
453
  setTimeout(() => {
459
454
  this.setUnfoldedByPanoIndex(), t();
@@ -539,7 +534,7 @@ class Si extends N {
539
534
  }
540
535
  }
541
536
  export {
542
- Si as PanoTagPluginController,
543
- Si as default,
544
- Pi as pluginFlag
537
+ Pi as PanoTagPluginController,
538
+ Pi as default,
539
+ Di as pluginFlag
545
540
  };
@@ -1,7 +1,7 @@
1
1
  import r from "./controller/index.js";
2
- import { pluginFlag as Mt } from "./controller/index.js";
3
- import { defaultGlobalConfig as Ot } from "./typings/tag/TagConfig.js";
4
- import { ContentType as Rt, DimensionType as St, PointType as Ut } from "./Archive/deprecated.js";
2
+ import { pluginFlag as Lt } from "./controller/index.js";
3
+ import { defaultGlobalConfig as Nt } from "./typings/tag/TagConfig.js";
4
+ import { ContentType as Qt, DimensionType as Rt, PointType as St } from "./Archive/deprecated.js";
5
5
  import "three";
6
6
  import "@realsee/five";
7
7
  import "../vendor/object-assign-deep/objectAssignDeep.js";
@@ -60,7 +60,6 @@ import "../shared-utils/five/calculateThreeMouse.js";
60
60
  import "./utils/tag/adaptConfig.js";
61
61
  import "../shared-utils/typescript/entries.js";
62
62
  import "../shared-utils/url/getUrl.js";
63
- import "../shared-utils/five/transformPosition.js";
64
63
  import "../shared-utils/five/getFloorIndex.js";
65
64
  import "../shared-utils/safeObj.js";
66
65
  import "./Components/TagContainer.js";
@@ -142,14 +141,14 @@ import "@realsee/five/gltf-loader";
142
141
  import "../shared-utils/animationFrame/BetterTween.js";
143
142
  import "../shared-utils/animationFrame/index.js";
144
143
  import "../shared-utils/five/fiveModelLoad.js";
145
- const Jt = (o, t) => new r(o, t);
144
+ const It = (o, t) => new r(o, t);
146
145
  export {
147
- Rt as ContentType,
148
- St as DimensionType,
149
- Jt as PanoTagPlugin,
146
+ Qt as ContentType,
147
+ Rt as DimensionType,
148
+ It as PanoTagPlugin,
150
149
  r as PanoTagPluginController,
151
- Ut as PointType,
152
- Jt as default,
153
- Ot as defaultGlobalConfig,
154
- Mt as pluginFlag
150
+ St as PointType,
151
+ It as default,
152
+ Nt as defaultGlobalConfig,
153
+ Lt as pluginFlag
155
154
  };
@@ -48,7 +48,6 @@ export type TagInstance<C extends TagContentType = TagContentType, S extends Sti
48
48
  [key in Mode]?: TagConfig<C>;
49
49
  };
50
50
  };
51
- originPosition: Tag<C, S>['position'];
52
51
  hooks: Subscribe<TagEvents<C>>;
53
52
  unfold: () => void;
54
53
  fold: () => void;
@@ -1,5 +1,5 @@
1
1
  import type { GLTFObject } from '@realsee/five/gltf-loader';
2
- import type { Group, Vector3 } from 'three';
2
+ import type { Group } from 'three';
3
3
  import type { TagContentType } from './TagData';
4
4
  import type { ImagePlane } from '../../utils/model/mediaPlane';
5
5
  import type { TagInstance } from './TagInstance';
@@ -7,7 +7,7 @@ import type { TagConfig } from '../..';
7
7
  import type { Mode } from '@realsee/five';
8
8
  export type TagId = string | number;
9
9
  export type ArrayPosition = number[];
10
- export type Position = ArrayPosition | Vector3;
10
+ export type Position = ArrayPosition;
11
11
  export type PanoIndex = number;
12
12
  export type WorkCode = string;
13
13
  export type ModelId = string;
@@ -1,3 +1,4 @@
1
+ import { Vector3 } from 'three';
1
2
  import type { TagInstance } from '../typings';
2
- export declare function getTagPosition(tag: TagInstance): import("three").Vector3 | import("three").Vector3[];
3
- export declare function getTagCenterPosition(tag: TagInstance): import("three").Vector3;
3
+ export declare function getTagPosition(tag: TagInstance): Vector3 | Vector3[];
4
+ export declare function getTagCenterPosition(tag: TagInstance): Vector3;
@@ -1,22 +1,22 @@
1
- import { Matrix4 as n } from "three";
2
- import { centerPoint as e } from "../../shared-utils/three/centerPoint.js";
3
- import { isMediaModelTag as a } from "./tag/tagCheck.js";
4
- import { anyPositionToVector3 as m, vector3Position as s } from "../../shared-utils/positionToVector3.js";
5
- function p(o) {
6
- const i = (() => {
7
- if (a(o) && o.matrix) {
8
- const r = new n().fromArray(o.matrix);
9
- return o.data.mediaPosition.map((t) => m(t).clone().applyMatrix4(r));
1
+ import { Matrix4 as n, Vector3 as e } from "three";
2
+ import { centerPoint as a } from "../../shared-utils/three/centerPoint.js";
3
+ import { isMediaModelTag as m } from "./tag/tagCheck.js";
4
+ import { vector3Position as s } from "../../shared-utils/positionToVector3.js";
5
+ function p(r) {
6
+ const o = (() => {
7
+ if (m(r) && r.matrix) {
8
+ const i = new n().fromArray(r.matrix);
9
+ return r.data.mediaPosition.map((t) => new e().fromArray(t).applyMatrix4(i));
10
10
  } else
11
- return o.position;
11
+ return r.position;
12
12
  })();
13
- return s(i);
13
+ return s(o);
14
14
  }
15
- function x(o) {
16
- const i = p(o);
17
- return e(...Array.isArray(i) ? i : [i]);
15
+ function P(r) {
16
+ const o = p(r);
17
+ return a(...Array.isArray(o) ? o : [o]);
18
18
  }
19
19
  export {
20
- x as getTagCenterPosition,
20
+ P as getTagCenterPosition,
21
21
  p as getTagPosition
22
22
  };
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.2.0-dev.8");
17
+ i(this, "VERSION", "3.2.0");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
package/libs/index.js CHANGED
@@ -1,59 +1,59 @@
1
1
  import { consoleVersion as o } from "./shared-utils/logger.js";
2
2
  import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
3
- import { PaintBrush as kp } from "./components/PaintBrush/index.js";
4
- import { PaintBrushTypeEnum as zp } from "./components/PaintBrush/typings.js";
5
- import { ModelViewPlugin as Kp } from "./ModelViewPlugin/Plugin.js";
6
- import { CSS3DRenderPlugin as Wp } from "./CSS3DRenderPlugin/index.js";
7
- import { PanoCursorRaycasterPlugin as Zp } from "./PanoCursorRaycasterPlugin/index.js";
8
- import { ModelRoomLabelPlugin as re, modelRoomLabelPluginServerParams as te } from "./ModelRoomLabelPlugin/index.js";
9
- import { FLOOR_PLAN_ATTACHED_TO as me } from "./floorplan/constant.js";
10
- import { ModelFloorplanPlugin as ee } from "./floorplan/ModelFloorplanPlugin/index.js";
11
- import { MapviewFloorplanPlugin as le } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
- import { TopviewFloorplanPlugin as Pe } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
- import { PanoFloorplanRadarPlugin as fe } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
- import { FLOOR_TYPE_MAP as ge, ROOM_FETILE_TYPE_MAP as se, ROOM_TYPE_MAP as de } from "./floorplan/typings/floorplanServerData.js";
15
- import { ModelChassisCompassPlugin as Te } from "./ModelChassisCompassPlugin/Plugin.js";
16
- import { ModelEntryDoorGuidePlugin as Ce } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
- import { CameraMovementPlugin as Ee } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
- import { CameraMovementEffect as Re, Rotation as Oe } from "./CameraMovementPlugin/typing.js";
19
- import { PanoRulerPlugin as Ae } from "./PanoRulerPlugin/Plugin.js";
20
- import { PanoRulerProPlugin as De } from "./PanoRulerProPlugin/index.js";
21
- import { PanoCompassPlugin as be } from "./PanoCompassPlugin/index.js";
22
- import { PanoMeasurePlugin as Ye } from "./PanoMeasurePlugin/index.js";
23
- import { PanoSpatialTagPlugin as ce } from "./PanoSpatialTagPlugin/Plugin.js";
24
- import { modelItemLabelPluginServerParams as Ne } from "./ModelItemLabelPlugin/index.js";
25
- import { ModelTVVideoPlugin as we } from "./ModelTVVideoPlugin/Plugin.js";
26
- import { DIRECTION as He } from "./ModelTVVideoPlugin/typings.js";
27
- import { itemLabelPluginServerParams as je } from "./ItemLabelPlugin/index.js";
28
- import { PanoDoorLabelPlugin as ke } from "./PanoDoorLabelPlugin/index.js";
29
- import { GuideLinePlugin as ze } from "./GuideLinePlugin/index.js";
30
- import { CruisePlugin as Ke } from "./CruisePlugin/index.js";
31
- import { PanoTagPlugin as We } from "./PanoTagPlugin/index.js";
32
- import { Object3DHelperPlugin as Ze } from "./Object3DHelperPlugin/index.js";
33
- import { PanoVideoPlugin as rn } from "./PanoVideoPlugin/index.js";
34
- import { PipelinePlugin as mn } from "./PipelinePlugin/index.js";
35
- import { AreaMakerPlugin as en } from "./AreaMakerPlugin/index.js";
36
- import { CurrentPanoImagePlugin as ln } from "./CurrentPanoImagePlugin/index.js";
37
- import { index as Pn } from "./shared-utils/index.js";
38
- import { CSS3DRender as fn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
39
- import { Model as gn } from "./PanoMeasurePlugin/Model/index.js";
40
- import { default as dn } from "./PanoMeasurePlugin/Model/point.js";
41
- import { default as Tn } from "./PanoMeasurePlugin/Model/line.js";
42
- import { Polyline as Cn } from "./PanoMeasurePlugin/Model/polyline.js";
43
- import { default as En } from "./PanoMeasurePlugin/Modules/Magnifier.js";
44
- import { DISPLAY_STRATEGY_TYPE as Rn } from "./ModelItemLabelPlugin/typings.js";
45
- import { ModelItemLabelPlugin as yn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
46
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Sn } from "./ItemLabelPlugin/typings.js";
47
- import { Plugin as Gn } from "./ItemLabelPlugin/Plugin.js";
48
- import { GuideLineItem$1 as Fn } from "./GuideLinePlugin/GuideLineItem/index.js";
49
- import { GuideLineModeItem$1 as vn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
50
- import { default as Vn } from "./CruisePlugin/Controller.js";
51
- import { typing as hn } from "./CruisePlugin/typing/index.js";
52
- import { default as Bn, pluginFlag as Hn } from "./PanoTagPlugin/controller/index.js";
53
- import { defaultGlobalConfig as jn } from "./PanoTagPlugin/typings/tag/TagConfig.js";
54
- import { ContentType as kn, DimensionType as qn, PointType as zn } from "./PanoTagPlugin/Archive/deprecated.js";
55
- import { Object3DHelperController as Kn, PLUGIN as Qn } from "./Object3DHelperPlugin/Controller.js";
56
- import { typings as Xn } from "./PanoVideoPlugin/typings/index.js";
3
+ import { PaintBrush as $p } from "./components/PaintBrush/index.js";
4
+ import { PaintBrushTypeEnum as qp } from "./components/PaintBrush/typings.js";
5
+ import { ModelViewPlugin as Jp } from "./ModelViewPlugin/Plugin.js";
6
+ import { CSS3DRenderPlugin as Qp } from "./CSS3DRenderPlugin/index.js";
7
+ import { PanoCursorRaycasterPlugin as Xp } from "./PanoCursorRaycasterPlugin/index.js";
8
+ import { ModelRoomLabelPlugin as oe, modelRoomLabelPluginServerParams as re } from "./ModelRoomLabelPlugin/index.js";
9
+ import { FLOOR_PLAN_ATTACHED_TO as ie } from "./floorplan/constant.js";
10
+ import { ModelFloorplanPlugin as pe } from "./floorplan/ModelFloorplanPlugin/index.js";
11
+ import { MapviewFloorplanPlugin as ne } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
+ import { TopviewFloorplanPlugin as ae } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
+ import { PanoFloorplanRadarPlugin as ue } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
+ import { FLOOR_TYPE_MAP as xe, ROOM_FETILE_TYPE_MAP as ge, ROOM_TYPE_MAP as se } from "./floorplan/typings/floorplanServerData.js";
15
+ import { ModelChassisCompassPlugin as Me } from "./ModelChassisCompassPlugin/Plugin.js";
16
+ import { ModelEntryDoorGuidePlugin as Le } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
+ import { CameraMovementPlugin as _e } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
+ import { CameraMovementEffect as Ie, Rotation as Re } from "./CameraMovementPlugin/typing.js";
19
+ import { PanoRulerPlugin as ye } from "./PanoRulerPlugin/Plugin.js";
20
+ import { PanoRulerProPlugin as Se } from "./PanoRulerProPlugin/index.js";
21
+ import { PanoCompassPlugin as Ge } from "./PanoCompassPlugin/index.js";
22
+ import { PanoMeasurePlugin as Fe } from "./PanoMeasurePlugin/index.js";
23
+ import { PanoSpatialTagPlugin as ve } from "./PanoSpatialTagPlugin/Plugin.js";
24
+ import { modelItemLabelPluginServerParams as Ve } from "./ModelItemLabelPlugin/index.js";
25
+ import { ModelTVVideoPlugin as he } from "./ModelTVVideoPlugin/Plugin.js";
26
+ import { DIRECTION as Be } from "./ModelTVVideoPlugin/typings.js";
27
+ import { itemLabelPluginServerParams as Ue } from "./ItemLabelPlugin/index.js";
28
+ import { PanoDoorLabelPlugin as $e } from "./PanoDoorLabelPlugin/index.js";
29
+ import { GuideLinePlugin as qe } from "./GuideLinePlugin/index.js";
30
+ import { CruisePlugin as Je } from "./CruisePlugin/index.js";
31
+ import { PanoTagPlugin as Qe } from "./PanoTagPlugin/index.js";
32
+ import { Object3DHelperPlugin as Xe } from "./Object3DHelperPlugin/index.js";
33
+ import { PanoVideoPlugin as on } from "./PanoVideoPlugin/index.js";
34
+ import { PipelinePlugin as tn } from "./PipelinePlugin/index.js";
35
+ import { AreaMakerPlugin as pn } from "./AreaMakerPlugin/index.js";
36
+ import { CurrentPanoImagePlugin as nn } from "./CurrentPanoImagePlugin/index.js";
37
+ import { index as an } from "./shared-utils/index.js";
38
+ import { CSS3DRender as un } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
39
+ import { Model as xn } from "./PanoMeasurePlugin/Model/index.js";
40
+ import { default as sn } from "./PanoMeasurePlugin/Model/point.js";
41
+ import { default as Mn } from "./PanoMeasurePlugin/Model/line.js";
42
+ import { Polyline as Ln } from "./PanoMeasurePlugin/Model/polyline.js";
43
+ import { default as _n } from "./PanoMeasurePlugin/Modules/Magnifier.js";
44
+ import { DISPLAY_STRATEGY_TYPE as In } from "./ModelItemLabelPlugin/typings.js";
45
+ import { ModelItemLabelPlugin as On } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
46
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as An } from "./ItemLabelPlugin/typings.js";
47
+ import { Plugin as Dn } from "./ItemLabelPlugin/Plugin.js";
48
+ import { GuideLineItem$1 as bn } from "./GuideLinePlugin/GuideLineItem/index.js";
49
+ import { GuideLineModeItem$1 as Yn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
50
+ import { default as cn } from "./CruisePlugin/Controller.js";
51
+ import { typing as Nn } from "./CruisePlugin/typing/index.js";
52
+ import { default as wn, pluginFlag as Bn } from "./PanoTagPlugin/controller/index.js";
53
+ import { defaultGlobalConfig as Un } from "./PanoTagPlugin/typings/tag/TagConfig.js";
54
+ import { ContentType as $n, DimensionType as kn, PointType as qn } from "./PanoTagPlugin/Archive/deprecated.js";
55
+ import { Object3DHelperController as Jn, PLUGIN as Kn } from "./Object3DHelperPlugin/Controller.js";
56
+ import { typings as Wn } from "./PanoVideoPlugin/typings/index.js";
57
57
  import "./components/PaintBrush/Controller.js";
58
58
  import "./components/PaintBrush/utils.js";
59
59
  import "./components/PaintBrush/tween.js";
@@ -286,7 +286,6 @@ import "./shared-utils/five/calculateThreeMouse.js";
286
286
  import "./PanoTagPlugin/utils/tag/adaptConfig.js";
287
287
  import "./shared-utils/typescript/entries.js";
288
288
  import "./shared-utils/url/getUrl.js";
289
- import "./shared-utils/five/transformPosition.js";
290
289
  import "./shared-utils/five/getFloorIndex.js";
291
290
  import "./PanoTagPlugin/Components/TagContainer.js";
292
291
  import "./PanoTagPlugin/Components/TagItem.js";
@@ -419,66 +418,66 @@ import "./shared-utils/three/getRaycaster.js";
419
418
  r();
420
419
  o();
421
420
  export {
422
- en as AreaMakerPlugin,
423
- fn as CSS3DRender,
424
- Wp as CSS3DRenderPlugin,
425
- Re as CameraMovementEffect,
426
- Ee as CameraMovementPlugin,
427
- kn as ContentType,
428
- Ke as CruisePlugin,
429
- Vn as CruisePluginController,
430
- hn as CruisePluginTypes,
431
- ln as CurrentPanoImagePlugin,
432
- He as DIRECTION,
433
- Rn as DISPLAY_STRATEGY_TYPE,
434
- qn as DimensionType,
435
- me as FLOOR_PLAN_ATTACHED_TO,
436
- ge as FLOOR_TYPE_MAP,
437
- Fn as GuideLineItem,
438
- vn as GuideLineModeItem,
439
- ze as GuideLinePlugin,
440
- Sn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
441
- Gn as ItemLabelPlugin,
442
- En as Magnifier,
443
- le as MapviewFloorplanPlugin,
444
- Te as ModelChassisCompassPlugin,
445
- Ce as ModelEntryDoorGuidePlugin,
446
- ee as ModelFloorplanPlugin,
447
- yn as ModelItemLabelPlugin,
448
- re as ModelRoomLabelPlugin,
449
- we as ModelTVVideoPlugin,
450
- Kp as ModelViewPlugin,
451
- Kn as Object3DHelperController,
452
- Ze as Object3DHelperPlugin,
453
- Qn as PLUGIN,
454
- kp as PaintBrush,
455
- zp as PaintBrushTypeEnum,
456
- be as PanoCompassPlugin,
457
- Zp as PanoCursorRaycasterPlugin,
458
- ke as PanoDoorLabelPlugin,
459
- fe as PanoFloorplanRadarPlugin,
460
- Ye as PanoMeasurePlugin,
461
- Tn as PanoMeasurePluginLine,
462
- gn as PanoMeasurePluginModel,
463
- dn as PanoMeasurePluginPoint,
464
- Cn as PanoMeasurePluginPolyline,
465
- Ae as PanoRulerPlugin,
466
- De as PanoRulerProPlugin,
467
- ce as PanoSpatialTagPlugin,
468
- We as PanoTagPlugin,
469
- Bn as PanoTagPluginController,
470
- rn as PanoVideoPlugin,
471
- Xn as PanoVideoPluginType,
472
- mn as PipelinePlugin,
473
- zn as PointType,
474
- se as ROOM_FETILE_TYPE_MAP,
475
- de as ROOM_TYPE_MAP,
476
- Oe as Rotation,
477
- Pe as TopviewFloorplanPlugin,
478
- Pn as Util,
479
- jn as defaultGlobalConfig,
480
- je as itemLabelPluginServerParams,
481
- Ne as modelItemLabelPluginServerParams,
482
- te as modelRoomLabelPluginServerParams,
483
- Hn as pluginFlag
421
+ pn as AreaMakerPlugin,
422
+ un as CSS3DRender,
423
+ Qp as CSS3DRenderPlugin,
424
+ Ie as CameraMovementEffect,
425
+ _e as CameraMovementPlugin,
426
+ $n as ContentType,
427
+ Je as CruisePlugin,
428
+ cn as CruisePluginController,
429
+ Nn as CruisePluginTypes,
430
+ nn as CurrentPanoImagePlugin,
431
+ Be as DIRECTION,
432
+ In as DISPLAY_STRATEGY_TYPE,
433
+ kn as DimensionType,
434
+ ie as FLOOR_PLAN_ATTACHED_TO,
435
+ xe as FLOOR_TYPE_MAP,
436
+ bn as GuideLineItem,
437
+ Yn as GuideLineModeItem,
438
+ qe as GuideLinePlugin,
439
+ An as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
440
+ Dn as ItemLabelPlugin,
441
+ _n as Magnifier,
442
+ ne as MapviewFloorplanPlugin,
443
+ Me as ModelChassisCompassPlugin,
444
+ Le as ModelEntryDoorGuidePlugin,
445
+ pe as ModelFloorplanPlugin,
446
+ On as ModelItemLabelPlugin,
447
+ oe as ModelRoomLabelPlugin,
448
+ he as ModelTVVideoPlugin,
449
+ Jp as ModelViewPlugin,
450
+ Jn as Object3DHelperController,
451
+ Xe as Object3DHelperPlugin,
452
+ Kn as PLUGIN,
453
+ $p as PaintBrush,
454
+ qp as PaintBrushTypeEnum,
455
+ Ge as PanoCompassPlugin,
456
+ Xp as PanoCursorRaycasterPlugin,
457
+ $e as PanoDoorLabelPlugin,
458
+ ue as PanoFloorplanRadarPlugin,
459
+ Fe as PanoMeasurePlugin,
460
+ Mn as PanoMeasurePluginLine,
461
+ xn as PanoMeasurePluginModel,
462
+ sn as PanoMeasurePluginPoint,
463
+ Ln as PanoMeasurePluginPolyline,
464
+ ye as PanoRulerPlugin,
465
+ Se as PanoRulerProPlugin,
466
+ ve as PanoSpatialTagPlugin,
467
+ Qe as PanoTagPlugin,
468
+ wn as PanoTagPluginController,
469
+ on as PanoVideoPlugin,
470
+ Wn as PanoVideoPluginType,
471
+ tn as PipelinePlugin,
472
+ qn as PointType,
473
+ ge as ROOM_FETILE_TYPE_MAP,
474
+ se as ROOM_TYPE_MAP,
475
+ Re as Rotation,
476
+ ae as TopviewFloorplanPlugin,
477
+ an as Util,
478
+ Un as defaultGlobalConfig,
479
+ Ue as itemLabelPluginServerParams,
480
+ Ve as modelItemLabelPluginServerParams,
481
+ re as modelRoomLabelPluginServerParams,
482
+ Bn as pluginFlag
484
483
  };
@@ -1,4 +1,10 @@
1
- import type { Work } from '@realsee/five';
2
- export default function getFloorIndex(work: Work, point: {
1
+ export default function getFloorIndex(observer: {
2
+ floorIndex: number;
3
+ position: {
4
+ x: number;
5
+ y: number;
6
+ z: number;
7
+ };
8
+ }[], point: {
3
9
  y: number;
4
10
  }): number;