@realsee/dnalogel 3.8.3-dev.4 → 3.8.4-dev.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 (362) hide show
  1. package/dist/PanoTagPlugin/utils/tag/adaptConfig.d.ts +2 -2
  2. package/dist/index.cjs.js +26 -26
  3. package/dist/index.js +1120 -1122
  4. package/dist/index.umd.js +28 -28
  5. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +31 -31
  6. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +32 -32
  7. package/docs/classes/CSS3DRender.html +30 -30
  8. package/docs/classes/GuideLineItem.GuideLineItem.html +18 -18
  9. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +40 -40
  10. package/docs/classes/Magnifier.html +19 -19
  11. package/docs/classes/ModelRoomLabelController.html +10 -10
  12. package/docs/classes/MoveController.html +25 -25
  13. package/docs/classes/Object3DHelperController.html +24 -24
  14. package/docs/classes/PaintBrush.html +14 -14
  15. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  16. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  17. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  18. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  19. package/docs/classes/PanoTagPluginController.html +49 -49
  20. package/docs/classes/Util.BetterTween.html +8 -8
  21. package/docs/classes/Util.Interval.html +11 -11
  22. package/docs/classes/Util.LineSegments.html +7 -7
  23. package/docs/classes/Util.Magnifier.html +19 -19
  24. package/docs/classes/Util.Object3D.html +7 -7
  25. package/docs/classes/Util.PointDomHelper.html +10 -10
  26. package/docs/classes/Util.PointHelper.html +10 -10
  27. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  28. package/docs/classes/Util.Rectangle.html +12 -12
  29. package/docs/classes/WalkController.html +24 -24
  30. package/docs/enums/CameraMovementEffect.html +6 -6
  31. package/docs/enums/ContentType.html +20 -20
  32. package/docs/enums/DIRECTION.html +8 -8
  33. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  34. package/docs/enums/DimensionType.html +6 -6
  35. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  36. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  37. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  38. package/docs/enums/PointType.html +6 -6
  39. package/docs/enums/Rotation.html +7 -7
  40. package/docs/functions/AreaMakerPlugin.html +4 -4
  41. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  42. package/docs/functions/CameraMovementPlugin.html +4 -4
  43. package/docs/functions/CruisePlugin.html +4 -4
  44. package/docs/functions/CurrentPanoImagePlugin.html +4 -4
  45. package/docs/functions/GuideLinePlugin.html +4 -4
  46. package/docs/functions/ItemLabelPlugin.html +4 -4
  47. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  48. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  49. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  50. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  51. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  52. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  53. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  54. package/docs/functions/ModelViewPlugin.html +4 -4
  55. package/docs/functions/MovePlugin.html +4 -4
  56. package/docs/functions/Object3DHelperPlugin.html +4 -4
  57. package/docs/functions/PanoCompassPlugin.html +4 -4
  58. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  59. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  60. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  61. package/docs/functions/PanoMeasurePlugin.html +4 -4
  62. package/docs/functions/PanoRulerPlugin.html +4 -4
  63. package/docs/functions/PanoRulerProPlugin.html +4 -4
  64. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  65. package/docs/functions/PanoTagPlugin.html +4 -4
  66. package/docs/functions/PanoVideoPlugin.html +4 -4
  67. package/docs/functions/PipelinePlugin.html +4 -4
  68. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  69. package/docs/functions/Util.absoluteUrl.html +4 -4
  70. package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
  71. package/docs/functions/Util.equal.html +4 -4
  72. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  73. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  74. package/docs/functions/Util.getFrameTime.html +4 -4
  75. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  76. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  77. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  78. package/docs/functions/Util.isModelLike.html +4 -4
  79. package/docs/functions/Util.isNil.html +4 -4
  80. package/docs/functions/Util.isPanoramaLike.html +4 -4
  81. package/docs/functions/Util.nextFrame.html +4 -4
  82. package/docs/functions/Util.notNil.html +4 -4
  83. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  84. package/docs/functions/Util.tweenProgress.html +4 -4
  85. package/docs/functions/Util.uuid.html +4 -4
  86. package/docs/functions/pluginFlag.html +4 -4
  87. package/docs/index.html +4 -4
  88. package/docs/interfaces/AddTagConfig.html +5 -5
  89. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
  90. package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
  91. package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
  92. package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
  93. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
  94. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
  95. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
  96. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
  97. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
  98. package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
  99. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  100. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  101. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  102. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  103. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  104. package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -20
  105. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  106. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  107. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  108. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  109. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
  110. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  111. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
  112. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
  113. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
  114. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
  115. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
  116. package/docs/interfaces/EventMap.html +14 -14
  117. package/docs/interfaces/FloorplanBounding.html +7 -7
  118. package/docs/interfaces/FloorplanData.html +9 -9
  119. package/docs/interfaces/FloorplanEntrance.html +10 -10
  120. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  121. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  122. package/docs/interfaces/FloorplanFloorData.html +8 -8
  123. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  124. package/docs/interfaces/FloorplanObserver.html +8 -8
  125. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  126. package/docs/interfaces/FloorplanPosition.html +6 -6
  127. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  128. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  129. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  130. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  131. package/docs/interfaces/FloorplanServerData.html +6 -6
  132. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  133. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  134. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  135. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  136. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  137. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  138. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  139. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  140. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  141. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  142. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  143. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  144. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  145. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  146. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  147. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  148. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +5 -5
  149. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  150. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +18 -18
  151. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  152. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +18 -18
  153. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  154. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
  155. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  156. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  157. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  158. package/docs/interfaces/HelperOffset.html +7 -7
  159. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  160. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  161. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  162. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  163. package/docs/interfaces/MinMax.html +6 -6
  164. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  165. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  166. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  167. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  168. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  169. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  170. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  171. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  172. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  173. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  174. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  175. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  176. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  177. package/docs/interfaces/Object3DHelperState.html +7 -7
  178. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  179. package/docs/interfaces/PaintBrushAction.html +11 -11
  180. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  181. package/docs/interfaces/PaintBrushState.html +9 -9
  182. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  183. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  184. package/docs/interfaces/PanoMeasureParameterType.html +15 -15
  185. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  186. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  187. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  188. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  189. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  190. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  191. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  192. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  193. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  194. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  195. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  196. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  197. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  198. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  199. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  200. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  201. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  202. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  203. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  204. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  205. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  206. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  207. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  208. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  209. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  210. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  211. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  212. package/docs/interfaces/Point.html +7 -7
  213. package/docs/interfaces/Room.html +8 -8
  214. package/docs/interfaces/RoomInfo.html +6 -6
  215. package/docs/interfaces/RoomLabel.html +13 -13
  216. package/docs/interfaces/RoomRules.html +4 -4
  217. package/docs/interfaces/Rooms.html +4 -4
  218. package/docs/interfaces/Scissor.html +8 -8
  219. package/docs/interfaces/State.html +7 -7
  220. package/docs/interfaces/TagCacheInterface.html +11 -11
  221. package/docs/interfaces/TagConfig.html +13 -13
  222. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  223. package/docs/interfaces/TagIconUrl.html +11 -11
  224. package/docs/interfaces/TagObjectGroup.html +5 -5
  225. package/docs/interfaces/TagStyle.html +5 -5
  226. package/docs/interfaces/Tags.html +8 -8
  227. package/docs/interfaces/TemporaryState.html +5 -5
  228. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  229. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  230. package/docs/interfaces/Util.PointIntersection.html +7 -7
  231. package/docs/modules/AreaMakerPluginType.html +4 -4
  232. package/docs/modules/CruisePluginTypes.html +4 -4
  233. package/docs/modules/CurrentPanoImagePluginType.html +4 -4
  234. package/docs/modules/GuideLineItem.html +4 -4
  235. package/docs/modules/GuideLineModeItem.html +4 -4
  236. package/docs/modules/GuideLinePluginType.html +4 -4
  237. package/docs/modules/PanoVideoPluginType.html +4 -4
  238. package/docs/modules/Util.html +4 -4
  239. package/docs/modules.html +4 -4
  240. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
  241. package/docs/types/AreaMakerPluginType.ItemRenderer.html +4 -4
  242. package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
  243. package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
  244. package/docs/types/ArrayPosition.html +4 -4
  245. package/docs/types/AudioAppearance.html +4 -4
  246. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  247. package/docs/types/CSS3DRenderExportType.html +4 -4
  248. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  249. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  250. package/docs/types/ClassFunctionParameters.html +4 -4
  251. package/docs/types/Color.html +4 -4
  252. package/docs/types/ContentTypeConfigKey.html +4 -4
  253. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  254. package/docs/types/ContentTypeMap.html +4 -4
  255. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  256. package/docs/types/Create3DElementReturnType.html +4 -4
  257. package/docs/types/CruisePluginExportType.html +4 -4
  258. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  259. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  260. package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
  261. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  262. package/docs/types/DeprecatedTagProperty.html +4 -4
  263. package/docs/types/Direction-1.html +4 -4
  264. package/docs/types/Direction4.html +4 -4
  265. package/docs/types/ElementRenderer.html +4 -4
  266. package/docs/types/FloorplanRuleLabels.html +4 -4
  267. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  268. package/docs/types/GuideLinePluginExportType.html +4 -4
  269. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  270. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  271. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  272. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  273. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  274. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  275. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  276. package/docs/types/HelperEventMap.html +4 -4
  277. package/docs/types/LoadTagConfig.html +4 -4
  278. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  279. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  280. package/docs/types/MediaData.html +4 -4
  281. package/docs/types/MediaStore.html +4 -4
  282. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  283. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  284. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  285. package/docs/types/ModelId.html +4 -4
  286. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  287. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  288. package/docs/types/MoveArgs.html +4 -4
  289. package/docs/types/MoveOpts.html +4 -4
  290. package/docs/types/Object3DHelperEventMap.html +4 -4
  291. package/docs/types/ObjectFit.html +4 -4
  292. package/docs/types/PaintBrushEventMap.html +4 -4
  293. package/docs/types/PanoCompassPluginData.html +4 -4
  294. package/docs/types/PanoCompassPluginExportType.html +4 -4
  295. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  296. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  297. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  298. package/docs/types/PanoIndex.html +4 -4
  299. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  300. package/docs/types/PanoMeasureReturnType.html +4 -4
  301. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  302. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  303. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  304. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  305. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  306. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  307. package/docs/types/PipelinePluginParameterType.html +4 -4
  308. package/docs/types/PipelinePluginReturnType.html +4 -4
  309. package/docs/types/PlaneTag.html +4 -4
  310. package/docs/types/Point2DTag.html +4 -4
  311. package/docs/types/Point3DTag.html +4 -4
  312. package/docs/types/PointTag.html +4 -4
  313. package/docs/types/PointTagInstance.html +4 -4
  314. package/docs/types/Position.html +4 -4
  315. package/docs/types/RotateArgs.html +4 -4
  316. package/docs/types/RotateOpts.html +4 -4
  317. package/docs/types/RuleLabelsKey.html +4 -4
  318. package/docs/types/RuleLabelsValue.html +4 -4
  319. package/docs/types/StickType.html +4 -4
  320. package/docs/types/Tag.html +4 -4
  321. package/docs/types/Tag2D.html +4 -4
  322. package/docs/types/Tag3D.html +4 -4
  323. package/docs/types/TagConfigByKey.html +4 -4
  324. package/docs/types/TagContentType.html +4 -4
  325. package/docs/types/TagContentTypeMapping.html +4 -4
  326. package/docs/types/TagDimensionType.html +4 -4
  327. package/docs/types/TagElement.html +4 -4
  328. package/docs/types/TagEvents.html +4 -4
  329. package/docs/types/TagGLTFObject.html +4 -4
  330. package/docs/types/TagHooks.html +4 -4
  331. package/docs/types/TagId.html +4 -4
  332. package/docs/types/TagInstance.html +4 -4
  333. package/docs/types/TagPointType.html +4 -4
  334. package/docs/types/TagRendererMap.html +4 -4
  335. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  336. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  337. package/docs/types/WorkCode.html +4 -4
  338. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  339. package/docs/variables/PLUGIN.html +4 -4
  340. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  341. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  342. package/docs/variables/defaultGlobalConfig.html +4 -4
  343. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  344. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  345. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  346. package/libs/CruisePlugin/Move.js +14 -15
  347. package/libs/CruisePlugin/Work.js +2 -3
  348. package/libs/CruisePlugin/index.js +6 -7
  349. package/libs/GuideLinePlugin/Controller.js +4 -5
  350. package/libs/GuideLinePlugin/GuideLineItem.js +2 -3
  351. package/libs/GuideLinePlugin/index.js +7 -8
  352. package/libs/PanoTagPlugin/controller/TagComputer.js +115 -108
  353. package/libs/PanoTagPlugin/controller/TagUtil.js +58 -58
  354. package/libs/PanoTagPlugin/utils/tag/adaptConfig.d.ts +2 -2
  355. package/libs/PanoTagPlugin/utils/tag/adaptConfig.js +5 -5
  356. package/libs/base/BasePlugin.js +1 -1
  357. package/libs/index.js +120 -121
  358. package/libs/shared-utils/logger.js +1 -1
  359. package/package.json +2 -2
  360. package/dist/shared-utils/five/fiveReady.d.ts +0 -2
  361. package/libs/shared-utils/five/fiveReady.d.ts +0 -2
  362. package/libs/shared-utils/five/fiveReady.js +0 -28
@@ -1,29 +1,29 @@
1
1
  var $ = Object.defineProperty, w = Object.defineProperties;
2
2
  var E = Object.getOwnPropertyDescriptors;
3
- var T = Object.getOwnPropertySymbols;
3
+ var k = Object.getOwnPropertySymbols;
4
4
  var L = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
5
- var k = (p, e, i) => e in p ? $(p, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : p[e] = i, h = (p, e) => {
5
+ var M = (b, e, i) => e in b ? $(b, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : b[e] = i, x = (b, e) => {
6
6
  for (var i in e || (e = {}))
7
- L.call(e, i) && k(p, i, e[i]);
8
- if (T)
9
- for (var i of T(e))
10
- _.call(e, i) && k(p, i, e[i]);
11
- return p;
12
- }, M = (p, e) => w(p, E(e));
13
- import * as U from "three";
14
- import { is3DTag as z, isMediaModelTag as D } from "../utils/tag/tagCheck.js";
15
- import { getTagCenterPosition as P, getTagPosition as O } from "../utils/tagPosition.js";
16
- import { checkRange as m } from "../utils/checkRange.js";
17
- import { isPanoramaLike as b, isModelLike as Z } from "../../shared-utils/five/mode.js";
7
+ L.call(e, i) && M(b, i, e[i]);
8
+ if (k)
9
+ for (var i of k(e))
10
+ _.call(e, i) && M(b, i, e[i]);
11
+ return b;
12
+ }, D = (b, e) => w(b, E(e));
13
+ import * as F from "three";
14
+ import { is3DTag as z, isMediaModelTag as R } from "../utils/tag/tagCheck.js";
15
+ import { getTagCenterPosition as I, getTagPosition as O } from "../utils/tagPosition.js";
16
+ import { checkRange as h } from "../utils/checkRange.js";
17
+ import { isPanoramaLike as y, isModelLike as Z } from "../../shared-utils/five/mode.js";
18
18
  import "hammerjs";
19
19
  import "@realsee/five";
20
20
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
21
21
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
22
22
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
- import { notNil as H } from "../../shared-utils/isNil.js";
24
- import { TagUtil as N } from "./TagUtil.js";
25
- import { getFloorIndex as q } from "../../shared-utils/five/getFloorIndex.js";
26
- import { safeObj as R } from "../../shared-utils/safeObj.js";
23
+ import { notNil as q } from "../../shared-utils/isNil.js";
24
+ import { TagUtil as H } from "./TagUtil.js";
25
+ import { getFloorIndex as N } from "../../shared-utils/five/getFloorIndex.js";
26
+ import { safeObj as U } from "../../shared-utils/safeObj.js";
27
27
  import { toArray as W } from "../../shared-utils/util.js";
28
28
  import "../../shared-utils/three/centerPoint.js";
29
29
  import "../../shared-utils/positionToVector3.js";
@@ -64,8 +64,8 @@ import "../utils/tag/adaptConfig.js";
64
64
  import "../../shared-utils/typescript/entries.js";
65
65
  import "../../shared-utils/url/getUrl.js";
66
66
  import "../../shared-utils/five/transformPosition.js";
67
- const I = new U.Raycaster();
68
- class Je extends N {
67
+ const C = new F.Raycaster();
68
+ class Je extends H {
69
69
  constructor(e) {
70
70
  super(e);
71
71
  }
@@ -73,80 +73,87 @@ class Je extends N {
73
73
  * @description: 获取是否可见
74
74
  */
75
75
  getVisible(e, i) {
76
- const f = h(h({}, this.five.getCurrentState()), i), { panoIndex: t, mode: s } = f, d = b(s) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
76
+ const f = x(x({}, this.five.getCurrentState()), i), { panoIndex: t, mode: o } = f, d = y(o) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
77
77
  if ((d == null ? void 0 : d.visible) !== void 0)
78
78
  return d.visible;
79
79
  {
80
- const o = [], u = (() => {
81
- var r, l, v;
80
+ const s = [], c = (() => {
81
+ var r, a, u, m, v, g, P;
82
82
  const n = (r = this.getTagConfig(e).visibleConfig) != null ? r : {};
83
83
  if (typeof n == "function")
84
- return { value: n(this.five, { tag: e, distance: this.getDistance(e) }), checkedList: o, reason: "config function result" };
84
+ return { value: n(this.five, { tag: e, distance: this.getDistance(e) }), checkedList: s, reason: "config function result" };
85
85
  if (n.keep === "hidden")
86
- return { value: !1, checkedList: o, reason: "config.keep is hidden" };
86
+ return { value: !1, checkedList: s, reason: "config.keep is hidden" };
87
87
  if (n.keep === "visible")
88
- return { value: !0, checkedList: o, reason: "config.keep is visible" };
88
+ return { value: !0, checkedList: s, reason: "config.keep is visible" };
89
89
  if (n.visibleFiveMode !== void 0) {
90
- const a = typeof n.visibleFiveMode == "function" ? n.visibleFiveMode(e) : n.visibleFiveMode;
91
- let c = !1;
92
- if (Array.isArray(a) ? c = a.includes(s) : a === "ModelLike" ? c = Z(s) : a === "PanoramaLike" ? c = !b(s) : a === "all" ? c = !0 : typeof a == "string" && (c = a === s), c === !1)
90
+ const l = typeof n.visibleFiveMode == "function" ? n.visibleFiveMode(e) : n.visibleFiveMode;
91
+ let p = !1;
92
+ if (Array.isArray(l) ? p = l.includes(o) : l === "ModelLike" ? p = Z(o) : l === "PanoramaLike" ? p = !y(o) : l === "all" ? p = !0 : typeof l == "string" && (p = l === o), p === !1)
93
93
  return {
94
94
  value: !1,
95
- checkedList: o,
95
+ checkedList: s,
96
96
  reason: "current mode is not included in visibleFiveMode",
97
97
  visibleFiveMode: n.visibleFiveMode,
98
- mode: s
98
+ mode: o
99
99
  };
100
- }
101
- if (n.followModelVisibility === !0 && (s === "Floorplan" || s === "Mapview") && this.getVisibleByFloorIndex(e) === !1)
102
- return { value: !1, checkedList: o, reason: "followModelVisibility check failed" };
103
- if (b(s) && n.visiblePanoIndex !== void 0 && n.visiblePanoIndex !== "all" && t !== void 0) {
104
- if (o.push("visiblePanoIndex"), Array.isArray(n.visiblePanoIndex) && !n.visiblePanoIndex.includes(t))
100
+ } else if (n.visibleFiveMode === void 0 && ((a = this.five.getCurrentState()) == null ? void 0 : a.mode) !== ((m = (u = e.fiveState) == null ? void 0 : u.mode) != null ? m : "Panorama"))
101
+ return {
102
+ value: !1,
103
+ checkedList: s,
104
+ reason: "current mode is not equal to tag.fiveState.mode",
105
+ tagFiveMode: (v = e.fiveState) == null ? void 0 : v.mode,
106
+ mode: o
107
+ };
108
+ if (n.followModelVisibility === !0 && (o === "Floorplan" || o === "Mapview") && this.getVisibleByFloorIndex(e) === !1)
109
+ return { value: !1, checkedList: s, reason: "followModelVisibility check failed" };
110
+ if (y(o) && n.visiblePanoIndex !== void 0 && n.visiblePanoIndex !== "all" && t !== void 0) {
111
+ if (s.push("visiblePanoIndex"), Array.isArray(n.visiblePanoIndex) && !n.visiblePanoIndex.includes(t))
105
112
  return {
106
113
  value: !1,
107
- checkedList: o,
114
+ checkedList: s,
108
115
  reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${t}, visiblePanoIndex: ${n.visiblePanoIndex}`
109
116
  };
110
- if (n.visiblePanoIndex === "current" && t !== ((l = e.fiveState) == null ? void 0 : l.panoIndex))
117
+ if (n.visiblePanoIndex === "current" && t !== ((g = e.fiveState) == null ? void 0 : g.panoIndex))
111
118
  return {
112
119
  value: !1,
113
- checkedList: o,
114
- reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(v = e.fiveState) == null ? void 0 : v.panoIndex}`
120
+ checkedList: s,
121
+ reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(P = e.fiveState) == null ? void 0 : P.panoIndex}`
115
122
  };
116
123
  }
117
- if (n.visibleDistance !== void 0 && (o.push("visibleDistance"), n.visibleDistance !== "unLimited")) {
118
- const a = this.getDistance(e);
119
- if (m(a, n.visibleDistance) === !1)
124
+ if (n.visibleDistance !== void 0 && (s.push("visibleDistance"), n.visibleDistance !== "unLimited")) {
125
+ const l = this.getDistance(e);
126
+ if (h(l, n.visibleDistance) === !1)
120
127
  return {
121
128
  value: !1,
122
- checkedList: o,
123
- reason: `distance is not in visibleDistance. distance: ${a}, visibleDistance: ${n.visibleDistance}`
129
+ checkedList: s,
130
+ reason: `distance is not in visibleDistance. distance: ${l}, visibleDistance: ${n.visibleDistance}`
124
131
  };
125
132
  }
126
- if (b(s) && n.angleRange && z(e)) {
127
- o.push("angleRange");
128
- const a = this.getAngle(e);
129
- if (m(a, n.angleRange) === !1)
130
- return { value: !1, checkedList: o, reason: `angle is not in angleRange. angle: ${a}, angleRange: ${n.angleRange}` };
133
+ if (y(o) && n.angleRange && z(e)) {
134
+ s.push("angleRange");
135
+ const l = this.getAngle(e);
136
+ if (h(l, n.angleRange) === !1)
137
+ return { value: !1, checkedList: s, reason: `angle is not in angleRange. angle: ${l}, angleRange: ${n.angleRange}` };
131
138
  }
132
139
  if (n.intersectRaycaster !== !1 && (typeof n.intersectRaycaster != "object" || n.intersectRaycaster.enabled !== !1)) {
133
- if (o.push("intersectRaycaster"), t === void 0)
140
+ if (s.push("intersectRaycaster"), t === void 0)
134
141
  return {
135
142
  value: !1,
136
- checkedList: o,
143
+ checkedList: s,
137
144
  reason: `intersectRaycaster check failed: panoIndex is ${t}`
138
145
  };
139
- const a = this.getTagEnableByIntersect(e, t);
140
- if (a.value === !1)
141
- return Object.assign(a, { checkedList: o });
146
+ const l = this.getTagEnableByIntersect(e, t);
147
+ if (l.value === !1)
148
+ return Object.assign(l, { checkedList: s });
142
149
  }
143
150
  return {
144
151
  value: !0,
145
- checkedList: o,
152
+ checkedList: s,
146
153
  reason: "all check passed"
147
154
  };
148
155
  })();
149
- return d && (d.visible = u.value, d.__debug_visible_reason__ = u), u.value;
156
+ return d && (d.visible = c.value, d.__debug_visible_reason__ = c), c.value;
150
157
  }
151
158
  }
152
159
  /**
@@ -159,22 +166,22 @@ class Je extends N {
159
166
  if (t.unfolded !== void 0)
160
167
  return t.unfolded;
161
168
  {
162
- const s = this.getTagConfig(e).unfoldedConfig;
163
- if (!s)
169
+ const o = this.getTagConfig(e).unfoldedConfig;
170
+ if (!o)
164
171
  return;
165
172
  const d = (() => {
166
- if (typeof s == "function")
167
- return s(this.five, { tag: e, distance: this.getDistance(e) });
168
- if (s.keep === "folded")
173
+ if (typeof o == "function")
174
+ return o(this.five, { tag: e, distance: this.getDistance(e) });
175
+ if (o.keep === "folded")
169
176
  return !1;
170
- if (s.keep === "unfolded")
177
+ if (o.keep === "unfolded")
171
178
  return !0;
172
- if (s.unfoldDistance && m(this.getDistance(e), s.unfoldDistance) === !1)
179
+ if (o.unfoldDistance && h(this.getDistance(e), o.unfoldDistance) === !1)
173
180
  return !1;
174
181
  })();
175
182
  t.unfolded = d;
176
- const o = this.getUnfoldedByCamera(e);
177
- return o !== void 0 ? o : t.unfolded;
183
+ const s = this.getUnfoldedByCamera(e);
184
+ return s !== void 0 ? s : t.unfolded;
178
185
  }
179
186
  }
180
187
  /**
@@ -182,7 +189,7 @@ class Je extends N {
182
189
  */
183
190
  getUnfoldedByCamera(e) {
184
191
  return this.getCurrentVisibleState(e) ? (() => {
185
- var s;
192
+ var o;
186
193
  const t = this.getTagConfig(e).unfoldedConfig;
187
194
  if (t) {
188
195
  if (typeof t == "function")
@@ -195,24 +202,24 @@ class Je extends N {
195
202
  return;
196
203
  if (t.autoUnfold.strategy === "ScreenPostion") {
197
204
  const d = this.getTagProject(e);
198
- if (d && m(d.x, t.autoUnfold.autoUnfoldProjectX) === !1)
205
+ if (d && h(d.x, t.autoUnfold.autoUnfoldProjectX) === !1)
199
206
  return !1;
200
207
  }
201
208
  if (t.autoUnfold.strategy === "MinimumDistance") {
202
- const u = this.filterPointTag.filter((r) => this.getCurrentVisibleState(r)).filter((r) => {
203
- const l = this.getTagProject(r);
204
- if (!l)
209
+ const c = this.filterPointTag.filter((r) => this.getCurrentVisibleState(r)).filter((r) => {
210
+ const a = this.getTagProject(r);
211
+ if (!a)
205
212
  return !1;
206
- const { x: v, y: a, z: c } = l;
207
- return !(Math.abs(c) > 1 || Math.abs(v) > 1 || Math.abs(a) > 1);
208
- }).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: l }) => {
209
- var v, a;
210
- return !(typeof l == "function" || l.keep || l.autoUnfold === !1 || ((v = l.autoUnfold) == null ? void 0 : v.enable) === !1 || ((a = l.autoUnfold) == null ? void 0 : a.strategy) !== "MinimumDistance");
211
- }).map((r) => M(h({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: l }) => {
212
- const v = l.autoUnfold.distance;
213
- return !(v && m(r, v) === !1);
214
- }).sort((r, l) => r.distance - l.distance).findIndex((r) => r.id === e.id);
215
- if (u === -1 || u <= ((s = t.autoUnfold.maxNumber) != null ? s : 1) - 1 === !1)
213
+ const { x: u, y: m, z: v } = a;
214
+ return !(Math.abs(v) > 1 || Math.abs(u) > 1 || Math.abs(m) > 1);
215
+ }).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: a }) => {
216
+ var u, m;
217
+ return !(typeof a == "function" || a.keep || a.autoUnfold === !1 || ((u = a.autoUnfold) == null ? void 0 : u.enable) === !1 || ((m = a.autoUnfold) == null ? void 0 : m.strategy) !== "MinimumDistance");
218
+ }).map((r) => D(x({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: a }) => {
219
+ const u = a.autoUnfold.distance;
220
+ return !(u && h(r, u) === !1);
221
+ }).sort((r, a) => r.distance - a.distance).findIndex((r) => r.id === e.id);
222
+ if (c === -1 || c <= ((o = t.autoUnfold.maxNumber) != null ? o : 1) - 1 === !1)
216
223
  return !1;
217
224
  }
218
225
  return !0;
@@ -247,59 +254,59 @@ class Je extends N {
247
254
  * @description 一个点的标签
248
255
  */
249
256
  getTagProject(e) {
250
- const i = P(e);
257
+ const i = I(e);
251
258
  if (!i)
252
259
  return;
253
- const { x: f, y: t, z: s } = i.project(this.five.camera);
254
- if (!(s > 1))
255
- return { x: f, y: t, z: s };
260
+ const { x: f, y: t, z: o } = i.project(this.five.camera);
261
+ if (!(o > 1))
262
+ return { x: f, y: t, z: o };
256
263
  }
257
264
  /** 通过射线检测标签可用性 */
258
265
  getTagEnableByIntersect(e, i) {
259
- var n, r, l, v, a;
260
- const f = R(R((n = this.getTagConfig(e).visibleConfig) != null ? n : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, s = b(this.five.getCurrentState().mode) ? this.getObserverPosition(t) : this.five.camera.position;
261
- if (s === void 0)
266
+ var n, r, a, u, m;
267
+ const f = U(U((n = this.getTagConfig(e).visibleConfig) != null ? n : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, o = y(this.five.getCurrentState().mode) ? this.getObserverPosition(t) : this.five.camera.position;
268
+ if (o === void 0)
262
269
  return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
263
270
  const d = W(
264
271
  (() => {
265
272
  var g;
266
- const c = (g = f.checkPoints) != null ? g : "center";
267
- return c === "center" ? P(e) : c === "corner" ? O(e) : Array.isArray(c) ? c : [];
273
+ const v = (g = f.checkPoints) != null ? g : "center";
274
+ return v === "center" ? I(e) : v === "corner" ? O(e) : Array.isArray(v) ? v : [];
268
275
  })()
269
276
  );
270
- let o = 0, u = 0;
271
- for (const c of d) {
272
- const g = new U.Vector3().subVectors(c, s).normalize();
273
- I.set(s, g);
274
- const F = s.distanceTo(c), [y] = this.five.model.intersectRaycaster(I), x = (() => {
275
- if (!D(e))
277
+ let s = 0, c = 0;
278
+ for (const v of d) {
279
+ const g = new F.Vector3().subVectors(v, o).normalize();
280
+ C.set(o, g);
281
+ const P = o.distanceTo(v), [l] = this.five.model.intersectRaycaster(C), p = (() => {
282
+ if (!R(e))
276
283
  return;
277
- const V = this.tags.filter(D).map((A) => {
278
- var C;
279
- return (C = A.model) == null ? void 0 : C.object;
280
- }).filter(H), [B] = I.intersectObjects(V, !0);
284
+ const V = this.tags.filter(R).map((A) => {
285
+ var T;
286
+ return (T = A.model) == null ? void 0 : T.object;
287
+ }).filter(q), [B] = C.intersectObjects(V, !0);
281
288
  return B;
282
- })(), j = (r = f.distanceAccuracy) != null ? r : 0.01;
283
- Math.min((l = y == null ? void 0 : y.distance) != null ? l : 1 / 0, (v = x == null ? void 0 : x.distance) != null ? v : 1 / 0) + j >= F ? o++ : u++;
284
- const S = (a = f.needPassed) != null ? a : 1;
285
- if (o >= S)
289
+ })(), S = (r = f.distanceAccuracy) != null ? r : 0.01;
290
+ Math.min((a = l == null ? void 0 : l.distance) != null ? a : 1 / 0, (u = p == null ? void 0 : p.distance) != null ? u : 1 / 0) + S >= P ? s++ : c++;
291
+ const j = (m = f.needPassed) != null ? m : 1;
292
+ if (s >= j)
286
293
  return { value: !0 };
287
294
  }
288
- return u === 0 ? { value: !0 } : {
295
+ return c === 0 ? { value: !0 } : {
289
296
  value: !1,
290
297
  reason: {
291
298
  type: "intersectRaycaster check failed",
292
- passedCount: o,
299
+ passedCount: s,
293
300
  needPassed: f.needPassed
294
301
  }
295
302
  };
296
303
  }
297
304
  /** 检测是否匹配当前楼层 */
298
305
  getVisibleByFloorIndex(e) {
299
- var s, d, o, u, n, r, l;
306
+ var o, d, s, c, n, r, a;
300
307
  let i = 0;
301
- const f = (s = e.fiveState) == null ? void 0 : s.panoIndex;
302
- f !== void 0 ? i = (d = this.work.observers[f]) == null ? void 0 : d.floorIndex : i = q(this.work, (l = (r = (u = (o = e.model) == null ? void 0 : o.object) == null ? void 0 : u.position) != null ? r : (n = e.mediaPlane) == null ? void 0 : n.position) != null ? l : P(e));
308
+ const f = (o = e.fiveState) == null ? void 0 : o.panoIndex;
309
+ f !== void 0 ? i = (d = this.work.observers[f]) == null ? void 0 : d.floorIndex : i = N(this.work, (a = (r = (c = (s = e.model) == null ? void 0 : s.object) == null ? void 0 : c.position) != null ? r : (n = e.mediaPlane) == null ? void 0 : n.position) != null ? a : I(e));
303
310
  const t = this.five.model.shownFloor;
304
311
  return t === null || t === i;
305
312
  }
@@ -1,39 +1,39 @@
1
- var q = Object.defineProperty, K = Object.defineProperties;
2
- var Q = Object.getOwnPropertyDescriptors;
3
- var R = Object.getOwnPropertySymbols;
4
- var Y = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
5
- var w = (a, s, e) => s in a ? q(a, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[s] = e, M = (a, s) => {
1
+ var K = Object.defineProperty, Q = Object.defineProperties;
2
+ var Y = Object.getOwnPropertyDescriptors;
3
+ var B = Object.getOwnPropertySymbols;
4
+ var Z = Object.prototype.hasOwnProperty, ee = Object.prototype.propertyIsEnumerable;
5
+ var w = (a, s, e) => s in a ? K(a, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[s] = e, M = (a, s) => {
6
6
  for (var e in s || (s = {}))
7
- Y.call(s, e) && w(a, e, s[e]);
8
- if (R)
9
- for (var e of R(s))
10
- Z.call(s, e) && w(a, e, s[e]);
7
+ Z.call(s, e) && w(a, e, s[e]);
8
+ if (B)
9
+ for (var e of B(s))
10
+ ee.call(s, e) && w(a, e, s[e]);
11
11
  return a;
12
- }, B = (a, s) => K(a, Q(s));
12
+ }, N = (a, s) => Q(a, Y(s));
13
13
  var d = (a, s, e) => (w(a, typeof s != "symbol" ? s + "" : s, e), e);
14
- import { defaultGlobalConfig as ee } from "../typings/tag/TagConfig.js";
14
+ import { defaultGlobalConfig as ie } from "../typings/tag/TagConfig.js";
15
15
  import { objectAssignDeepExports as y } from "../../vendor/object-assign-deep/objectAssignDeep.js";
16
- import * as ie from "three";
17
- import { DefaultConfig as te } from "../tag.config.js";
16
+ import * as te from "three";
17
+ import { DefaultConfig as oe } from "../tag.config.js";
18
18
  import { anyPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
19
19
  import { planeNormal as E } from "../utils/planeNormal.js";
20
- import { getTagCenterPosition as N } from "../utils/tagPosition.js";
21
- import { normalPositionToPositions as oe } from "../utils/normalPositionToPositions.js";
22
- import { TagCache as re } from "./TagCache.js";
23
- import { writable as ne } from "../../vendor/svelte/store/index.js";
24
- import { isIOSWX as se } from "../../shared-utils/device.js";
25
- import { Five as fe } from "@realsee/five";
26
- import { isMediaPlaneTag as ae, isMediaModelTag as $, isPlaneTag as ce, isPoint3DTag as le } from "../utils/tag/tagCheck.js";
27
- import { VideoPlane as de } from "../utils/model/mediaPlane.js";
28
- import { FiveDomEvents as ue } from "../../shared-utils/five/FiveDomEvents.js";
29
- import z from "../utils/tag/adaptConfig.js";
30
- import { isPanoramaLike as A, isModelLike as H } from "../../shared-utils/five/mode.js";
20
+ import { getTagCenterPosition as $ } from "../utils/tagPosition.js";
21
+ import { normalPositionToPositions as re } from "../utils/normalPositionToPositions.js";
22
+ import { TagCache as ne } from "./TagCache.js";
23
+ import { writable as se } from "../../vendor/svelte/store/index.js";
24
+ import { isIOSWX as fe } from "../../shared-utils/device.js";
25
+ import { Five as ae } from "@realsee/five";
26
+ import { isMediaPlaneTag as ce, isMediaModelTag as z, isPlaneTag as le, isPoint3DTag as de } from "../utils/tag/tagCheck.js";
27
+ import { VideoPlane as ue } from "../utils/model/mediaPlane.js";
28
+ import { FiveDomEvents as pe } from "../../shared-utils/five/FiveDomEvents.js";
29
+ import H from "../utils/tag/adaptConfig.js";
30
+ import { isPanoramaLike as A, isModelLike as J } from "../../shared-utils/five/mode.js";
31
31
  import "hammerjs";
32
32
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
33
33
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
34
34
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
35
- import { entries as J } from "../../shared-utils/typescript/entries.js";
36
- import { getUrlExt as U } from "../../shared-utils/url/getUrl.js";
35
+ import { entries as U } from "../../shared-utils/typescript/entries.js";
36
+ import { getUrlExt as G } from "../../shared-utils/url/getUrl.js";
37
37
  import { transformPosition as O } from "../../shared-utils/five/transformPosition.js";
38
38
  import "../../shared-utils/three/centerPoint.js";
39
39
  import "../../base/BasePlugin.js";
@@ -60,12 +60,12 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
60
60
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
61
61
  import "../../shared-utils/three/getNormal.js";
62
62
  import "../../shared-utils/five/calculateThreeMouse.js";
63
- class ai extends re {
63
+ class ci extends ne {
64
64
  constructor(e) {
65
65
  super(e);
66
66
  d(this, "tags", []);
67
- d(this, "config", te);
68
- d(this, "mediaStore", ne({
67
+ d(this, "config", oe);
68
+ d(this, "mediaStore", se({
69
69
  currentMediaElement: null
70
70
  }));
71
71
  /** css3DRenderPlugin */
@@ -76,7 +76,7 @@ class ai extends re {
76
76
  resizeObserverDisposerAdding: !1,
77
77
  css3DRenderDisposer: /* @__PURE__ */ new Map()
78
78
  });
79
- d(this, "domEvents", new ue(this.five));
79
+ d(this, "domEvents", new pe(this.five));
80
80
  d(this, "_workCode");
81
81
  d(this, "getObserverPosition", (e) => {
82
82
  var o, t;
@@ -85,12 +85,12 @@ class ai extends re {
85
85
  return O(i.position, (t = this.work) == null ? void 0 : t.options.transform);
86
86
  });
87
87
  d(this, "loadVideoFirstFrame", () => {
88
- se && this.hooks.emit("loadVideoFirstFrame");
88
+ fe && this.hooks.emit("loadVideoFirstFrame");
89
89
  });
90
90
  this.mediaStore.subscribe(({ currentMediaElement: i }) => {
91
91
  this.tags.forEach((o) => {
92
92
  var t;
93
- if (o.mediaPlane instanceof de && i !== o.mediaPlane.videoInstance) {
93
+ if (o.mediaPlane instanceof ue && i !== o.mediaPlane.videoInstance) {
94
94
  if (!((t = o.mediaPlane.videoInstance) != null && t.src) || i === o.mediaPlane.videoInstance)
95
95
  return;
96
96
  o.mediaPlane.pause();
@@ -172,15 +172,15 @@ class ai extends re {
172
172
  return;
173
173
  const t = e.data.mediaData;
174
174
  if (!(!t || t.length === 0) && o.renderType === "Mesh") {
175
- if (ae(e)) {
175
+ if (ce(e)) {
176
176
  if (t.length === 1) {
177
177
  if (t[0].type === "Video")
178
178
  return "Mesh";
179
179
  if (t[0].type === "Image")
180
- return U(t[0].url) === "gif" ? "Dom" : "Mesh";
180
+ return G(t[0].url) === "gif" ? "Dom" : "Mesh";
181
181
  }
182
- } else if ($(e))
183
- return t.length === 1 && t[0].type === "Image" ? U(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
182
+ } else if (z(e))
183
+ return t.length === 1 && t[0].type === "Image" ? G(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
184
184
  }
185
185
  })();
186
186
  return i != null ? i : "Dom";
@@ -202,10 +202,10 @@ class ai extends re {
202
202
  const r = (() => e.stickType === "3DPoint" ? C(e.normal) : E(e.position))();
203
203
  if (!r)
204
204
  return;
205
- const f = N(e);
205
+ const f = $(e);
206
206
  if (!f)
207
207
  return;
208
- const c = new ie.Vector3().copy(n).sub(f), g = r.angleTo(c) * 180 / Math.PI;
208
+ const c = new te.Vector3().copy(n).sub(f), g = r.angleTo(c) * 180 / Math.PI;
209
209
  return t.angle = g, t.angle;
210
210
  }
211
211
  }
@@ -216,7 +216,7 @@ class ai extends re {
216
216
  const o = M(M({}, this.five.getCurrentState()), i), { panoIndex: t, mode: n } = o, r = A(n) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
217
217
  if ((r == null ? void 0 : r.distance) !== void 0)
218
218
  return r.distance;
219
- const f = N(e);
219
+ const f = $(e);
220
220
  if (!f)
221
221
  return -1;
222
222
  if (A(n)) {
@@ -226,16 +226,16 @@ class ai extends re {
226
226
  const g = c.distanceTo(f);
227
227
  return r && (r.distance = g), g;
228
228
  }
229
- if (H(n))
229
+ if (J(n))
230
230
  return this.five.camera.position.distanceTo(f);
231
231
  }
232
232
  getPositions(e) {
233
- if (ce(e))
233
+ if (le(e))
234
234
  return e.position;
235
- if ($(e))
235
+ if (z(e))
236
236
  return e.data.mediaPosition;
237
- if (le(e))
238
- return oe(this.five.camera.position, C(e.position), C(e.normal));
237
+ if (de(e))
238
+ return re(this.five.camera.position, C(e.position), C(e.normal));
239
239
  }
240
240
  addObjectClickHandler(e, i, o) {
241
241
  if (!i || !this.domEvents)
@@ -300,7 +300,7 @@ class ai extends re {
300
300
  * @description: 获取merge后的配置
301
301
  */
302
302
  calculateTagConfig(e, i) {
303
- var j, S, I, W, F;
303
+ var j, S, I, W, F, V;
304
304
  const o = (j = i == null ? void 0 : i.useCache) != null ? j : !0;
305
305
  if (!e)
306
306
  return (S = this.config.globalConfig) != null ? S : {};
@@ -312,8 +312,8 @@ class ai extends re {
312
312
  }
313
313
  const t = {}, n = {}, r = {};
314
314
  this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([u, p]) => {
315
- var L, _;
316
- const l = u, D = l.split("-"), V = u.startsWith("["), T = V ? D[0].slice(1, -1) : void 0, h = V ? D.slice(1) : D, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (L = n[T]) != null ? L : n[T] = {} : (_ = r[T]) != null ? _ : r[T] = {} : t;
315
+ var _, x;
316
+ const l = u, D = l.split("-"), L = u.startsWith("["), T = L ? D[0].slice(1, -1) : void 0, h = L ? D.slice(1) : D, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (_ = n[T]) != null ? _ : n[T] = {} : (x = r[T]) != null ? x : r[T] = {} : t;
317
317
  if (!v[l]) {
318
318
  if (h.length === 0 && (v[l] = p), h.length === 1) {
319
319
  const [m] = h;
@@ -324,26 +324,26 @@ class ai extends re {
324
324
  m === "Mixin" && e.contentType === P && (v[l] = p), (e.stickType === m || m === "Any") && (e.contentType === P || P === "Any") && (v[l] = p);
325
325
  }
326
326
  if (h.length === 3) {
327
- const [m = "Any", P, X] = h;
327
+ const [m = "Any", P, q] = h;
328
328
  if (P === "Audio" && e.contentType === "Audio") {
329
- const x = e;
330
- (x.stickType === m || m === "Any") && x.data.appearance === X && (v[l] = p);
329
+ const R = e;
330
+ (R.stickType === m || m === "Any") && R.data.appearance === q && (v[l] = p);
331
331
  }
332
332
  }
333
333
  }
334
334
  });
335
- const f = (F = e.initialConfig) != null ? F : {}, c = y({}, ee, this.config.globalConfig, ...Object.values(t)), g = y({}, c, f), k = {}, G = Object.values(fe.Mode);
336
- J(n).forEach(([u, p]) => {
337
- G.forEach((l) => {
338
- (u === "PanoramaLike" && A(l) || u === "ModelLike" && H(l)) && (k[l] = y({}, c, ...Object.values(p), f, { _isMerged: !0 }));
335
+ const f = (V = (F = e.initialConfig) != null ? F : e.config) != null ? V : {}, c = y({}, ie, this.config.globalConfig, ...Object.values(t)), g = y({}, c, f), k = {}, X = Object.values(ae.Mode);
336
+ U(n).forEach(([u, p]) => {
337
+ X.forEach((l) => {
338
+ (u === "PanoramaLike" && A(l) || u === "ModelLike" && J(l)) && (k[l] = y({}, c, ...Object.values(p), f, { _isMerged: !0 }));
339
339
  });
340
- }), J(r).forEach(([u, p]) => {
340
+ }), U(r).forEach(([u, p]) => {
341
341
  k[u] = y({}, c, ...Object.values(p), f, { _isMerged: !0 });
342
342
  });
343
- const b = B(M({}, g), { configWithFiveMode: k });
344
- return z(b, e), Object.values(k).forEach((u) => z(u, e)), b._isMerged = !0, b;
343
+ const b = N(M({}, g), { configWithFiveMode: k });
344
+ return H(b), Object.values(k).forEach((u) => H(u)), b._isMerged = !0, b;
345
345
  }
346
346
  }
347
347
  export {
348
- ai as TagUtil
348
+ ci as TagUtil
349
349
  };
@@ -1,2 +1,2 @@
1
- import type { Tag, TagConfig } from '../..';
2
- export default function adaptConfig(config: TagConfig, tag?: Tag): TagConfig<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown">;
1
+ import type { TagConfig } from '../..';
2
+ export default function adaptConfig(config: TagConfig): TagConfig<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown">;
@@ -1,9 +1,9 @@
1
- function v(e, l) {
2
- var d, f, o, s, b;
3
- typeof e.visibleConfig == "object" && (e.visibleConfig.visibleFiveMode = (o = (f = e.visibleConfig.visibleFiveMode) != null ? f : (d = l == null ? void 0 : l.fiveState) == null ? void 0 : d.mode) != null ? o : "Panorama", e.visibleConfig.keep && (e.visibleConfig.keep === "visible" ? e.visibleConfig = { keep: e.visibleConfig.keep, visibleFiveMode: (s = e.visibleConfig) == null ? void 0 : s.visibleFiveMode } : e.visibleConfig.keep === "hidden" && (e.visibleConfig = { keep: e.visibleConfig.keep }))), typeof e.unfoldedConfig == "object" && (e.unfoldedConfig.disableFold && (e.unfoldedConfig = { keep: "unfolded" }), e.unfoldedConfig.disableUnfold && (e.unfoldedConfig = { keep: "folded" }), e.unfoldedConfig.keep && (e.unfoldedConfig = { keep: e.unfoldedConfig.keep }));
4
- const i = (b = e.initialState) != null ? b : {};
1
+ function f(e) {
2
+ var l, d;
3
+ typeof e.visibleConfig == "object" && e.visibleConfig.keep && (e.visibleConfig.keep === "visible" ? e.visibleConfig = { keep: e.visibleConfig.keep, visibleFiveMode: (l = e.visibleConfig) == null ? void 0 : l.visibleFiveMode } : e.visibleConfig.keep === "hidden" && (e.visibleConfig = { keep: e.visibleConfig.keep })), typeof e.unfoldedConfig == "object" && (e.unfoldedConfig.disableFold && (e.unfoldedConfig = { keep: "unfolded" }), e.unfoldedConfig.disableUnfold && (e.unfoldedConfig = { keep: "folded" }), e.unfoldedConfig.keep && (e.unfoldedConfig = { keep: e.unfoldedConfig.keep }));
4
+ const i = (d = e.initialState) != null ? d : {};
5
5
  return typeof e.unfoldedConfig == "object" && (e.unfoldedConfig.keep === "unfolded" ? i.unfolded = !0 : e.unfoldedConfig.keep === "folded" && (i.unfolded = !1)), typeof e.visibleConfig == "object" && (e.visibleConfig.keep === "visible" ? i.visible = !0 : e.visibleConfig.keep === "hidden" && (i.visible = !1)), e.initialState = i, e;
6
6
  }
7
7
  export {
8
- v as default
8
+ f as default
9
9
  };
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.8.3-dev.4");
17
+ i(this, "VERSION", "3.8.4-dev.0");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子