@realsee/dnalogel 2.16.1 → 2.17.0-alpha.3

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 (309) hide show
  1. package/dist/PanoTagPlugin/Archive/deprecated.d.ts +22 -0
  2. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +3 -3
  3. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +2 -1
  4. package/dist/PanoTagPlugin/controller/index.d.ts +2 -2
  5. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -1
  6. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +7 -8
  7. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +6 -1
  8. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +25 -25
  9. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +4 -0
  10. package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +15 -25
  11. package/dist/index.cjs.js +42 -42
  12. package/dist/index.js +1967 -1918
  13. package/dist/index.umd.js +42 -42
  14. package/dist/shared-utils/five/FiveDomEvents.d.ts +6 -0
  15. package/dist/shared-utils/five/getFloorIndex.d.ts +10 -0
  16. package/dist/shared-utils/three/FragmentTransparencyMaterial.d.ts +17 -0
  17. package/dist/shared-utils/three/loadVideoTexture.d.ts +6 -1
  18. package/dist/typings/utils.type.d.ts +2 -0
  19. package/docs/assets/search.js +1 -1
  20. package/docs/classes/CSS3DRender.html +31 -31
  21. package/docs/classes/CruisePluginController.html +25 -25
  22. package/docs/classes/Magnifier.html +20 -20
  23. package/docs/classes/ModelRoomLabelController.html +11 -11
  24. package/docs/classes/Object3DHelperController.html +24 -24
  25. package/docs/classes/PaintBrush.html +15 -15
  26. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  27. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  28. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  29. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  30. package/docs/classes/PanoTagPluginController.html +81 -369
  31. package/docs/classes/Util.BetterTween.html +8 -8
  32. package/docs/classes/Util.FivePointSelector.html +12 -12
  33. package/docs/classes/Util.Interval.html +12 -12
  34. package/docs/classes/Util.Magnifier.html +17 -17
  35. package/docs/classes/Util.PointDomHelper.html +11 -11
  36. package/docs/classes/Util.PointHelper.html +11 -11
  37. package/docs/classes/Util.Rectangle.html +13 -13
  38. package/docs/enums/CameraMovementEffect.html +7 -7
  39. package/docs/enums/ContentType.html +19 -19
  40. package/docs/enums/DIRECTION.html +9 -9
  41. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  42. package/docs/enums/DimensionType.html +7 -7
  43. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  44. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  45. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  46. package/docs/enums/Rotation.html +8 -8
  47. package/docs/functions/CSS3DRenderPlugin.html +6 -5
  48. package/docs/functions/CameraMovementPlugin.html +6 -5
  49. package/docs/functions/CruisePlugin.html +6 -5
  50. package/docs/functions/GuideLinePlugin.html +6 -5
  51. package/docs/functions/ItemLabelPlugin.html +6 -5
  52. package/docs/functions/MapviewFloorplanPlugin.html +6 -5
  53. package/docs/functions/ModelChassisCompassPlugin.html +6 -5
  54. package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -5
  55. package/docs/functions/ModelFloorplanPlugin.html +6 -5
  56. package/docs/functions/ModelItemLabelPlugin.html +6 -5
  57. package/docs/functions/ModelRoomLabelPlugin.html +6 -5
  58. package/docs/functions/ModelTVVideoPlugin.html +6 -5
  59. package/docs/functions/ModelViewPlugin.html +6 -5
  60. package/docs/functions/Object3DHelperPlugin.html +6 -5
  61. package/docs/functions/PanoCompassPlugin.html +6 -5
  62. package/docs/functions/PanoCursorRaycasterPlugin.html +6 -5
  63. package/docs/functions/PanoDoorLabelPlugin.html +6 -5
  64. package/docs/functions/PanoFloorplanRadarPlugin.html +6 -5
  65. package/docs/functions/PanoMeasurePlugin.html +6 -5
  66. package/docs/functions/PanoRulerPlugin.html +6 -5
  67. package/docs/functions/PanoRulerProPlugin.html +6 -5
  68. package/docs/functions/PanoSpatialTagPlugin.html +6 -5
  69. package/docs/functions/PanoTagPlugin.html +6 -5
  70. package/docs/functions/PanoVideoPlugin.html +6 -5
  71. package/docs/functions/TopviewFloorplanPlugin.html +6 -5
  72. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  73. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  74. package/docs/functions/Util.getFrameTime.html +5 -5
  75. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  76. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  77. package/docs/functions/Util.isNil.html +5 -5
  78. package/docs/functions/Util.nextFrame.html +5 -5
  79. package/docs/functions/Util.notNil.html +5 -5
  80. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  81. package/docs/functions/Util.tweenProgress.html +5 -5
  82. package/docs/functions/pluginFlag.html +6 -5
  83. package/docs/index.html +5 -4
  84. package/docs/interfaces/AddTagConfig.html +6 -6
  85. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  86. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  87. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  88. package/docs/interfaces/EventMap.html +19 -19
  89. package/docs/interfaces/FloorplanBounding.html +8 -8
  90. package/docs/interfaces/FloorplanData.html +10 -10
  91. package/docs/interfaces/FloorplanEntrance.html +11 -11
  92. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  93. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  94. package/docs/interfaces/FloorplanFloorData.html +9 -9
  95. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  96. package/docs/interfaces/FloorplanObserver.html +9 -9
  97. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  98. package/docs/interfaces/FloorplanPosition.html +7 -7
  99. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  100. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  101. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  102. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  103. package/docs/interfaces/FloorplanServerData.html +7 -7
  104. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  105. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  106. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  107. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  108. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  109. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  110. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  111. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  112. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  113. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  114. package/docs/interfaces/HelperOffset.html +8 -8
  115. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  116. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  117. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  118. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  119. package/docs/interfaces/MinMax.html +7 -7
  120. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  121. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  122. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  123. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  124. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  125. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  126. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  127. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  128. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  129. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  130. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  131. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  132. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  133. package/docs/interfaces/Object3DHelperState.html +8 -8
  134. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  135. package/docs/interfaces/PaintBrushAction.html +12 -12
  136. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  137. package/docs/interfaces/PaintBrushState.html +10 -10
  138. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  139. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
  140. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  141. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  142. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  143. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  144. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  145. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  146. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  147. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  148. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  149. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  150. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  151. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  152. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
  153. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
  154. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  155. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  156. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  157. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  158. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  159. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  160. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  161. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  162. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  163. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  164. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  165. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  166. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  167. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  168. package/docs/interfaces/Point.html +8 -8
  169. package/docs/interfaces/Room.html +9 -9
  170. package/docs/interfaces/RoomInfo.html +7 -7
  171. package/docs/interfaces/RoomLabel.html +14 -14
  172. package/docs/interfaces/RoomRules.html +6 -5
  173. package/docs/interfaces/Rooms.html +6 -5
  174. package/docs/interfaces/Scissor.html +9 -9
  175. package/docs/interfaces/State.html +8 -8
  176. package/docs/interfaces/TagCacheInterface.html +12 -12
  177. package/docs/interfaces/TagConfig.html +19 -12
  178. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  179. package/docs/interfaces/TagIconUrl.html +11 -11
  180. package/docs/interfaces/TagObjectGroup.html +6 -6
  181. package/docs/interfaces/TagStyle.html +6 -6
  182. package/docs/interfaces/Tags.html +214 -13
  183. package/docs/interfaces/TemporaryState.html +6 -6
  184. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  185. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  186. package/docs/modules/PanoVideoPluginType.html +5 -5
  187. package/docs/modules/Util.html +5 -5
  188. package/docs/modules.html +6 -4
  189. package/docs/types/ArrayPosition.html +6 -5
  190. package/docs/types/AudioAppearance.html +6 -5
  191. package/docs/types/AudioTagTypeConfigKey.html +6 -5
  192. package/docs/types/CSS3DRenderExportType.html +6 -5
  193. package/docs/types/CSS3DRenderPluginExportType.html +6 -5
  194. package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
  195. package/docs/types/ClassFunctionParameters.html +6 -5
  196. package/docs/types/Color.html +6 -5
  197. package/docs/types/ContentTypeConfigKey.html +6 -5
  198. package/docs/types/ContentTypeConfigKeySplit.html +6 -5
  199. package/docs/types/ContentTypeMap.html +7 -6
  200. package/docs/types/Create3DDomContainerReturnType.html +6 -5
  201. package/docs/types/Create3DElementReturnType.html +6 -5
  202. package/docs/types/CruisePluginExportType.html +6 -5
  203. package/docs/types/Direction-1.html +6 -5
  204. package/docs/types/Direction4.html +6 -5
  205. package/docs/types/ElementRenderer.html +6 -5
  206. package/docs/types/FloorplanRuleLabels.html +6 -5
  207. package/docs/types/FloorplanServerRuleLabels.html +6 -5
  208. package/docs/types/GuideLinePluginExportType.html +6 -5
  209. package/docs/types/HelperEventMap.html +6 -5
  210. package/docs/types/LoadTagConfig.html +6 -5
  211. package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
  212. package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
  213. package/docs/types/MediaData.html +6 -5
  214. package/docs/types/MediaStore.html +6 -5
  215. package/docs/types/ModelElement.html +6 -5
  216. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
  217. package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
  218. package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
  219. package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
  220. package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
  221. package/docs/types/MoveArgs.html +6 -5
  222. package/docs/types/MoveOpts.html +6 -5
  223. package/docs/types/Object3DHelperEventMap.html +6 -5
  224. package/docs/types/ObjectFit.html +6 -5
  225. package/docs/types/PaintBrushEventMap.html +6 -5
  226. package/docs/types/PanoCompassPluginData.html +6 -5
  227. package/docs/types/PanoCompassPluginExportType.html +6 -5
  228. package/docs/types/PanoCompassPluginParameterType.html +6 -5
  229. package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
  230. package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
  231. package/docs/types/PanoIndex.html +6 -5
  232. package/docs/types/PanoMeasurePluginEvent.html +6 -5
  233. package/docs/types/PanoMeasureReturnType.html +6 -5
  234. package/docs/types/PanoSpatialTagPluginId.html +6 -5
  235. package/docs/types/PanoTagPluginExportInterface.html +6 -5
  236. package/docs/types/PanoTagPluginParamsInterface.html +6 -5
  237. package/docs/types/PanoVideoPluginParameterType.html +6 -5
  238. package/docs/types/PanoVideoPluginReturnType.html +6 -5
  239. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +275 -0
  240. package/docs/types/PlaneTag.html +6 -5
  241. package/docs/types/PlaneTagElement.html +6 -5
  242. package/docs/types/Point2DElement.html +6 -5
  243. package/docs/types/Point2DTag.html +6 -5
  244. package/docs/types/Point3DElement.html +6 -5
  245. package/docs/types/Point3DTag.html +6 -5
  246. package/docs/types/PointTag.html +6 -5
  247. package/docs/types/PointTagElement.html +6 -5
  248. package/docs/types/Position.html +6 -5
  249. package/docs/types/RotateArgs.html +6 -5
  250. package/docs/types/RotateOpts.html +6 -5
  251. package/docs/types/RuleLabelsKey.html +6 -5
  252. package/docs/types/RuleLabelsValue.html +6 -5
  253. package/docs/types/StickType.html +6 -5
  254. package/docs/types/Tag.html +7 -6
  255. package/docs/types/Tag2D.html +6 -5
  256. package/docs/types/Tag3D.html +6 -5
  257. package/docs/types/TagContentType.html +6 -5
  258. package/docs/types/TagDimensionType.html +6 -5
  259. package/docs/types/TagElement.html +6 -5
  260. package/docs/types/TagEvents.html +6 -5
  261. package/docs/types/TagGLTFObject.html +6 -5
  262. package/docs/types/TagHooks.html +6 -5
  263. package/docs/types/TagIconSize.html +6 -5
  264. package/docs/types/TagId.html +6 -5
  265. package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
  266. package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
  267. package/docs/types/WorkCode.html +6 -5
  268. package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
  269. package/docs/variables/PLUGIN.html +6 -5
  270. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
  271. package/docs/variables/ROOM_TYPE_MAP.html +6 -5
  272. package/docs/variables/itemLabelPluginServerParams.html +6 -5
  273. package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
  274. package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
  275. package/libs/PanoTagPlugin/Archive/deprecated.d.ts +15 -0
  276. package/libs/PanoTagPlugin/Components/Common/Media.js +14 -10
  277. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -1
  278. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +3 -3
  279. package/libs/PanoTagPlugin/controller/TagComputer.js +141 -139
  280. package/libs/PanoTagPlugin/controller/TagRender.js +59 -52
  281. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +2 -1
  282. package/libs/PanoTagPlugin/controller/TagUtil.js +24 -19
  283. package/libs/PanoTagPlugin/controller/index.d.ts +2 -2
  284. package/libs/PanoTagPlugin/controller/index.js +49 -42
  285. package/libs/PanoTagPlugin/index.js +12 -10
  286. package/libs/PanoTagPlugin/tag.config.js +7 -0
  287. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -1
  288. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +7 -8
  289. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +6 -1
  290. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +25 -25
  291. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +4 -0
  292. package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +15 -25
  293. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +130 -158
  294. package/libs/base/BasePlugin.js +3 -3
  295. package/libs/index.js +104 -102
  296. package/libs/shared-utils/five/FiveDomEvents.d.ts +6 -0
  297. package/libs/shared-utils/five/FiveDomEvents.js +48 -38
  298. package/libs/shared-utils/five/getFloorIndex.d.ts +10 -0
  299. package/libs/shared-utils/five/getFloorIndex.js +18 -0
  300. package/libs/shared-utils/logger.js +1 -1
  301. package/libs/shared-utils/three/FragmentTransparencyMaterial.d.ts +17 -0
  302. package/libs/shared-utils/three/FragmentTransparencyMaterial.js +36 -0
  303. package/libs/shared-utils/three/loadVideoTexture.d.ts +6 -1
  304. package/libs/shared-utils/three/loadVideoTexture.js +8 -10
  305. package/libs/typings/utils.type.d.ts +2 -0
  306. package/libs/typings/utils.type.js +1 -0
  307. package/package.json +2 -2
  308. package/libs/PanoTagPlugin/Archive/index.d.ts +0 -1
  309. package/libs/PanoTagPlugin/Archive/index.js +0 -4
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.16.1</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.16.1"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.17.0-alpha.3</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.17.0-alpha.3"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,13 +6,13 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.16.1</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.17.0-alpha.3</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-8 col-content">
13
13
  <div class="tsd-page-title">
14
14
  <ul class="tsd-breadcrumb">
15
- <li><a href="../modules.html">如视看房插件合集 - v2.16.1</a></li>
15
+ <li><a href="../modules.html">如视看房插件合集 - v2.17.0-alpha.3</a></li>
16
16
  <li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul>
17
17
  <h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
18
18
  <div class="tsd-signature">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
@@ -24,7 +24,7 @@
24
24
  <li class="tsd-parameter">
25
25
  <h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
26
26
  <ul>
27
- <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/02c0f30/plugins/src/ModelRoomLabelPlugin/index.ts#L9">plugins/src/ModelRoomLabelPlugin/index.ts:9</a></li></ul></aside></div>
27
+ <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/72fca50/plugins/src/ModelRoomLabelPlugin/index.ts#L9">plugins/src/ModelRoomLabelPlugin/index.ts:9</a></li></ul></aside></div>
28
28
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
29
29
  <div class="tsd-navigation settings">
30
30
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -41,7 +41,7 @@
41
41
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
42
42
  <div class="tsd-accordion-details">
43
43
  <ul>
44
- <li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.16.1</a>
44
+ <li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.17.0-<wbr/>alpha.3</a>
45
45
  <ul>
46
46
  <li class="tsd-kind-namespace"><a href="../modules/PanoVideoPluginType.html">Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</a></li>
47
47
  <li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
@@ -210,6 +210,7 @@
210
210
  <li class="tsd-kind-type-alias"><a href="../types/PanoTagPluginParamsInterface.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Pano<wbr/>Tag<wbr/>Plugin<wbr/>Params<wbr/>Interface</a></li>
211
211
  <li class="tsd-kind-type-alias"><a href="../types/PanoVideoPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Pano<wbr/>Video<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
212
212
  <li class="tsd-kind-type-alias"><a href="../types/PanoVideoPluginReturnType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Pano<wbr/>Video<wbr/>Plugin<wbr/>Return<wbr/>Type</a></li>
213
+ <li class="tsd-kind-type-alias"><a href="../types/PickTagContentTypeInContentTypeConfigKey.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Pick<wbr/>Tag<wbr/>Content<wbr/>Type<wbr/>In<wbr/>Content<wbr/>Type<wbr/>Config<wbr/>Key</a></li>
213
214
  <li class="tsd-kind-type-alias"><a href="../types/PlaneTag.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Plane<wbr/>Tag</a></li>
214
215
  <li class="tsd-kind-type-alias"><a href="../types/PlaneTagElement.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Plane<wbr/>Tag<wbr/>Element</a></li>
215
216
  <li class="tsd-kind-type-alias"><a href="../types/Point2DElement.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Point2DElement</a></li>
@@ -5,3 +5,18 @@ export declare enum PointType {
5
5
  }
6
6
  /** @deprecated 改用 stickType */
7
7
  export declare type TagPointType = keyof typeof PointType;
8
+ /** @deprecated */
9
+ export declare type DeprecatedTagProperty = {
10
+ /** @deprecated 2维/3维类型,已废弃,使用 stickType 代替 */
11
+ dimensionType?: '2D' | '3D';
12
+ /** @deprecated 一个点的标签/4个点的标签,已废弃,使用 stickType 代替 */
13
+ pointType?: 'PlaneTag' | 'PointTag';
14
+ };
15
+ /** @deprecated */
16
+ export declare type DeprecatedMediaPlaneProperty = {
17
+ /**
18
+ * @description stretch: 拉伸适配, proportional: 等比适配,默认值 'proportional'
19
+ * @deprecated replaced by objectFit
20
+ */
21
+ adaptationMode?: 'stretch' | 'proportional';
22
+ };
@@ -265,24 +265,28 @@ function ye(t) {
265
265
  };
266
266
  }
267
267
  function ke(t, i, l) {
268
- let n, e, s, r, { tag: a } = i, { mediaData: o } = i, { inDelay: u = 0 } = i, { outDelay: I = 0 } = i, { duration: f = 0 } = i, { unfolded: _ = !0 } = i, { animation: b = !0 } = i, { mediaItemConfig: L } = i, { enableCarousel: k = !0 } = i, { autoplayConfig: C = { autoplay: !0, autoplayVideo: !1 } } = i, g = [], v = 0, h, B = null;
269
- const O = F("hooks"), T = F("mediaStore");
270
- function V() {
268
+ let n, e, s, r, { tag: a } = i, { mediaData: o } = i, { inDelay: u = 0 } = i, { outDelay: I = 0 } = i, { duration: f = 0 } = i, { unfolded: _ = !0 } = i, { animation: b = !0 } = i, { mediaItemConfig: L } = i, { enableCarousel: k = !0 } = i, { autoplayConfig: C = {
269
+ autoplayVideo: !1,
270
+ autoplayCarousel: !0,
271
+ autoplayVideoInCarousel: !1
272
+ } } = i, g = [], v = 0, h, V = null;
273
+ const B = F("hooks"), O = F("mediaStore");
274
+ function T() {
271
275
  const m = g[v], d = m == null ? void 0 : m.videoInstance;
272
276
  !d || (d.paused ? (d.muted = !1, d.play()) : d.pause());
273
277
  }
274
278
  me(() => {
275
- O.on("click", (m) => {
279
+ B.on("click", (m) => {
276
280
  var d, z, A;
277
- !((A = (z = (d = a.tag3DContentSvelte) == null ? void 0 : d.css3DInstance) == null ? void 0 : z.css3DObject) != null && A.opacityMesh) || m.tag.id === a.id && V();
278
- }), B = setInterval(
281
+ !((A = (z = (d = a.tag3DContentSvelte) == null ? void 0 : d.css3DInstance) == null ? void 0 : z.css3DObject) != null && A.opacityMesh) || m.tag.id === a.id && T();
282
+ }), V = setInterval(
279
283
  () => {
280
284
  r && (h == null || h.goToNext());
281
285
  },
282
286
  3e3
283
287
  );
284
288
  }), se(() => {
285
- clearInterval(B), O.off("click", V);
289
+ clearInterval(V), B.off("click", T);
286
290
  });
287
291
  function ee(m, d) {
288
292
  t.$$.not_equal(g[d], m) && (g[d] = m, l(8, g));
@@ -293,7 +297,7 @@ function ke(t, i, l) {
293
297
  });
294
298
  }
295
299
  const ie = (m) => {
296
- n || T.set({ currentMediaElement: null }), l(11, v = m.detail);
300
+ n || O.set({ currentMediaElement: null }), l(11, v = m.detail);
297
301
  };
298
302
  function ne(m) {
299
303
  t.$$.not_equal(g[0], m) && (g[0] = m, l(8, g));
@@ -301,7 +305,7 @@ function ke(t, i, l) {
301
305
  return t.$$set = (m) => {
302
306
  "tag" in m && l(0, a = m.tag), "mediaData" in m && l(1, o = m.mediaData), "inDelay" in m && l(2, u = m.inDelay), "outDelay" in m && l(3, I = m.outDelay), "duration" in m && l(4, f = m.duration), "unfolded" in m && l(5, _ = m.unfolded), "animation" in m && l(6, b = m.animation), "mediaItemConfig" in m && l(7, L = m.mediaItemConfig), "enableCarousel" in m && l(15, k = m.enableCarousel), "autoplayConfig" in m && l(16, C = m.autoplayConfig);
303
307
  }, t.$$.update = () => {
304
- t.$$.dirty & 256 && l(9, n = g.every((m) => m.paused)), t.$$.dirty & 32770 && l(13, e = k && (o == null ? void 0 : o.length) > 1), t.$$.dirty & 2 && l(10, s = o), t.$$.dirty & 67072 && (r = s.length > 1 && C.autoplay && n);
308
+ t.$$.dirty & 256 && l(9, n = g.every((m) => m.paused)), t.$$.dirty & 32770 && l(13, e = k && (o == null ? void 0 : o.length) > 1), t.$$.dirty & 2 && l(10, s = o), t.$$.dirty & 67072 && (r = s.length > 1 && C.autoplayCarousel && n);
305
309
  }, [
306
310
  a,
307
311
  o,
@@ -317,7 +321,7 @@ function ke(t, i, l) {
317
321
  v,
318
322
  h,
319
323
  e,
320
- T,
324
+ O,
321
325
  k,
322
326
  C,
323
327
  ee,
@@ -152,7 +152,7 @@ function P(m) {
152
152
  let r, o, e;
153
153
  return o = new H({
154
154
  props: {
155
- autoplayConfig: { autoplay: !1 },
155
+ autoplayConfig: { autoplayCarousel: !1 },
156
156
  unfolded: m[3],
157
157
  mediaData: m[1],
158
158
  tag: m[0],
@@ -10,9 +10,7 @@ export declare abstract class TagComputer extends TagUtil {
10
10
  * @description: 获取是否可见
11
11
  */
12
12
  getVisibleByPanoIndex(tag: Tag<any, any>, panoIndex?: number): boolean;
13
- getVisibleByFiveMode(tag: Tag<any, any>, mode: Mode): boolean;
14
- /** 检测是否匹配当前楼层 */
15
- getVisibleByFloorIndex(tag: TagElement<any, any>): boolean;
13
+ getVisibleByFiveMode(tag: TagElement<any, any>, mode?: Mode): boolean;
16
14
  /**
17
15
  * @description 获取标签当前状态
18
16
  * @return (this.state.visible && tag.state.visible) ?? true
@@ -52,4 +50,6 @@ export declare abstract class TagComputer extends TagUtil {
52
50
  };
53
51
  /** 获取点位看向标签的射线 */
54
52
  protected getRaycasterFromPanoIndex(tag: Tag, panoIndex: number): THREE.Raycaster;
53
+ /** 检测是否匹配当前楼层 */
54
+ private getVisibleByFloorIndex;
55
55
  }
@@ -1,20 +1,20 @@
1
1
  var B = Object.defineProperty, U = Object.defineProperties;
2
2
  var M = Object.getOwnPropertyDescriptors;
3
- var x = Object.getOwnPropertySymbols;
4
- var R = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
5
- var y = (d, f, e) => f in d ? B(d, f, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[f] = e, I = (d, f) => {
6
- for (var e in f || (f = {}))
7
- R.call(f, e) && y(d, e, f[e]);
8
- if (x)
9
- for (var e of x(f))
10
- D.call(f, e) && y(d, e, f[e]);
11
- return d;
12
- }, P = (d, f) => U(d, M(f));
13
- var T = (d, f, e) => (y(d, typeof f != "symbol" ? f + "" : f, e), e);
14
- import * as C from "three";
15
- import { isMediaModelTag as h, is3DTag as j } from "../utils/tag/tagCheck.js";
3
+ var P = Object.getOwnPropertySymbols;
4
+ var R = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
5
+ var y = (c, l, e) => l in c ? B(c, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[l] = e, x = (c, l) => {
6
+ for (var e in l || (l = {}))
7
+ R.call(l, e) && y(c, e, l[e]);
8
+ if (P)
9
+ for (var e of P(l))
10
+ C.call(l, e) && y(c, e, l[e]);
11
+ return c;
12
+ }, I = (c, l) => U(c, M(l));
13
+ var T = (c, l, e) => (y(c, typeof l != "symbol" ? l + "" : l, e), e);
14
+ import * as D from "three";
15
+ import { isMediaModelTag as g, is3DTag as j } from "../utils/tag/tagCheck.js";
16
16
  import { tagPosition as V } from "../utils/tagPosition.js";
17
- import { checkRange as g } from "../utils/checkRange.js";
17
+ import { checkRange as h } from "../utils/checkRange.js";
18
18
  import "hammerjs";
19
19
  import "@realsee/five";
20
20
  import "@tweenjs/tween.js";
@@ -23,6 +23,7 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
23
  import { notNil as k } from "../../shared-utils/isNil.js";
24
24
  import "../../shared-utils/animationFrame/BetterTween.js";
25
25
  import { TagUtil as S } from "./TagUtil.js";
26
+ import { getFloorIndex as $ } from "../../shared-utils/five/getFloorIndex.js";
26
27
  import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
27
28
  import "../../shared-utils/three/centerPoint.js";
28
29
  import "@realsee/five/gltf-loader";
@@ -62,141 +63,134 @@ import "../../shared-utils/math/pointIsRectangle.js";
62
63
  import "../../shared-utils/three/loadVideoTexture.js";
63
64
  import "../Assets/Icon.js";
64
65
  import "../../shared-utils/three/getPositionsByObjectFit.js";
66
+ import "../../shared-utils/three/FragmentTransparencyMaterial.js";
65
67
  import "../../shared-utils/five/FiveDomEvents.js";
66
- class ke extends S {
68
+ class _e extends S {
67
69
  constructor(e) {
68
70
  super(e);
69
- T(this, "raycaster", new C.Raycaster());
71
+ T(this, "raycaster", new D.Raycaster());
70
72
  }
71
73
  getVisibleByPanoIndex(e, i) {
72
- var t;
73
- const n = this.getCache({ panoIndex: i, id: e.id }), s = (t = this.five.panoIndex) != null ? t : i;
74
- if (h(e))
74
+ const s = this.getCache({ panoIndex: i, id: e.id }), n = i != null ? i : this.five.getCurrentState().panoIndex;
75
+ if (g(e))
75
76
  return !0;
76
- if (n.visible !== void 0)
77
- return n.visible;
77
+ if (s.visible !== void 0)
78
+ return s.visible;
78
79
  {
79
- const l = (() => {
80
- var p, m, a;
81
- const r = (p = this.getTagConfig(e).visibleConfig) != null ? p : {}, u = this.getDistance(e);
82
- if (typeof r == "function")
83
- return { value: r(this.five, { tag: e, distance: u }), reason: "config function result" };
84
- if (r.keep === "hidden")
80
+ const t = (() => {
81
+ var d, u, p;
82
+ const o = (d = this.getTagConfig(e).visibleConfig) != null ? d : {}, f = this.getDistance(e);
83
+ if (typeof o == "function")
84
+ return { value: o(this.five, { tag: e, distance: f }), reason: "config function result" };
85
+ if (o.keep === "hidden")
85
86
  return { value: !1, reason: "config.keep is hidden" };
86
- if (r.keep === "visible")
87
+ if (o.keep === "visible")
87
88
  return { value: !0, reason: "config.keep is visible" };
88
- if (r.visiblePanoIndex !== void 0 && r.visiblePanoIndex !== "all" && s !== void 0) {
89
- if (Array.isArray(r.visiblePanoIndex) && !r.visiblePanoIndex.includes(s))
89
+ if (o.visiblePanoIndex !== void 0 && o.visiblePanoIndex !== "all" && n !== void 0) {
90
+ if (Array.isArray(o.visiblePanoIndex) && !o.visiblePanoIndex.includes(n))
90
91
  return {
91
92
  value: !1,
92
- reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${s}, visiblePanoIndex: ${r.visiblePanoIndex}`
93
+ reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${n}, visiblePanoIndex: ${o.visiblePanoIndex}`
93
94
  };
94
- if (r.visiblePanoIndex === "current" && s !== ((m = e.fiveState) == null ? void 0 : m.panoIndex))
95
+ if (o.visiblePanoIndex === "current" && n !== ((u = e.fiveState) == null ? void 0 : u.panoIndex))
95
96
  return {
96
97
  value: !1,
97
- reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${s}, tag.panoIndex: ${(a = e.fiveState) == null ? void 0 : a.panoIndex}`
98
+ reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${n}, tag.panoIndex: ${(p = e.fiveState) == null ? void 0 : p.panoIndex}`
98
99
  };
99
100
  }
100
- if (r.visibleDistance !== void 0 && r.visibleDistance !== "unLimited" && g(u, r.visibleDistance) === !1)
101
+ if (o.visibleDistance !== void 0 && o.visibleDistance !== "unLimited" && h(f, o.visibleDistance) === !1)
101
102
  return {
102
103
  value: !1,
103
- reason: `distance is not in visibleDistance. distance: ${u}, visibleDistance: ${r.visibleDistance}`
104
+ reason: `distance is not in visibleDistance. distance: ${f}, visibleDistance: ${o.visibleDistance}`
104
105
  };
105
- if (r.intersectRaycaster !== !1 && (typeof r.intersectRaycaster != "object" || r.intersectRaycaster.enabled !== !1)) {
106
- if (s === void 0)
106
+ if (o.intersectRaycaster !== !1 && (typeof o.intersectRaycaster != "object" || o.intersectRaycaster.enabled !== !1)) {
107
+ if (n === void 0)
107
108
  return {
108
109
  value: !1,
109
- reason: `intersectRaycaster check failed: fivePanoIndex is ${s}`
110
+ reason: `intersectRaycaster check failed: fivePanoIndex is ${n}`
110
111
  };
111
- const o = this.getRaycasterFromPanoIndex(e, s);
112
- if (!o)
113
- return { value: !1, reason: `intersectRaycaster check failed: raycaster is ${o}` };
114
- const c = this.getTagEnableByIntersect(e, o);
115
- if (c.value === !1)
116
- return c;
112
+ const r = this.getRaycasterFromPanoIndex(e, n);
113
+ if (!r)
114
+ return { value: !1, reason: `intersectRaycaster check failed: raycaster is ${r}` };
115
+ const a = this.getTagEnableByIntersect(e, r);
116
+ if (a.value === !1)
117
+ return a;
117
118
  }
118
- if (r.angleRange && j(e)) {
119
- const o = this.getAngle(e);
120
- if (g(o, r.angleRange) === !1)
121
- return { value: !1, reason: `angle is not in angleRange. angle: ${o}, angleRange: ${r.angleRange}` };
119
+ if (o.angleRange && j(e)) {
120
+ const r = this.getAngle(e);
121
+ if (h(r, o.angleRange) === !1)
122
+ return { value: !1, reason: `angle is not in angleRange. angle: ${r}, angleRange: ${o.angleRange}` };
122
123
  }
123
124
  return {
124
125
  value: !0,
125
126
  reason: "all check passed"
126
127
  };
127
128
  })();
128
- return n.visible = l.value, n.__debug_visible_reason__ = l, n.visible;
129
+ return s.visible = t.value, s.__debug_visible_reason__ = t, s.visible;
129
130
  }
130
131
  }
131
132
  getVisibleByFiveMode(e, i) {
132
- var t;
133
- const n = (t = this.getTagConfig(e).visibleConfig) != null ? t : {};
133
+ const s = i != null ? i : this.five.getCurrentState().mode, n = this.getTagConfig(e).visibleConfig;
134
+ if (typeof n == "object") {
135
+ const t = n == null ? void 0 : n.visibleFiveMode;
136
+ return t ? t != null && t.includes(s) ? n.followModelVisibility !== !1 && (s === "Floorplan" || s === "Mapview") ? this.getVisibleByFloorIndex(e) : !0 : !1 : s === "Panorama";
137
+ }
134
138
  if (typeof n == "function")
135
139
  return i === "Panorama";
136
- const s = n == null ? void 0 : n.visibleFiveMode;
137
- return s ? s.includes(i) : i === "Panorama";
138
- }
139
- getVisibleByFloorIndex(e) {
140
- var l;
141
- const i = e.fiveState;
142
- if (!i)
143
- return !0;
144
- const n = i.panoIndex, s = (l = this.five.work.observers[n]) == null ? void 0 : l.floorIndex, t = this.five.model.shownFloor;
145
- return t === null || t === s;
146
140
  }
147
141
  getCurrentVisibleState(e) {
148
142
  var i;
149
143
  return (i = this.state.visible && e.state.visible) != null ? i : !0;
150
144
  }
151
145
  getVisible(e) {
152
- const i = this.five.getCurrentState(), n = this.getVisibleByFiveMode(e, i.mode), s = h(e) ? this.getVisibleByFloorIndex(e) : !0, t = i.mode === "Panorama" ? this.getVisibleByPanoIndex(e, i.panoIndex) : !0;
153
- return n && t && s;
146
+ const i = this.five.getCurrentState(), s = this.getVisibleByFiveMode(e), n = i.mode === "Panorama" ? this.getVisibleByPanoIndex(e, i.panoIndex) : !0;
147
+ return s && n;
154
148
  }
155
149
  getModelMedialVisibleByPanoIndex(e) {
156
150
  if (!this.getCurrentVisibleState(e))
157
151
  return !1;
158
- const i = this.five.getCurrentState().panoIndex, n = this.getCache({ panoIndex: i, id: e.id });
159
- if (n.modelMedialVisible !== void 0)
160
- return n.modelMedialVisible;
161
- const s = this.getRaycasterFromPanoIndex(e, i);
162
- if (!s)
152
+ const i = this.five.getCurrentState().panoIndex, s = this.getCache({ panoIndex: i, id: e.id });
153
+ if (s.modelMedialVisible !== void 0)
154
+ return s.modelMedialVisible;
155
+ const n = this.getRaycasterFromPanoIndex(e, i);
156
+ if (!n)
163
157
  return !1;
164
- const t = this.getTagEnableByIntersect(e, s);
165
- return n.modelMedialVisible = t.value, n.__debug_visible_reason__ = t, t.value !== !1;
158
+ const t = this.getTagEnableByIntersect(e, n);
159
+ return s.modelMedialVisible = t.value, s.__debug_visible_reason__ = t, t.value !== !1;
166
160
  }
167
161
  getUnfoldedByPanoIndex(e, i) {
168
162
  if (!this.getVisibleByPanoIndex(e))
169
163
  return;
170
- const s = this.getCache({ panoIndex: i, id: e.id });
171
- if (s.unfolded !== void 0)
172
- return s.unfolded;
164
+ const n = this.getCache({ panoIndex: i, id: e.id });
165
+ if (n.unfolded !== void 0)
166
+ return n.unfolded;
173
167
  {
174
168
  const t = this.getTagConfig(e).unfoldedConfig;
175
169
  if (!t)
176
170
  return;
177
- const l = (() => {
178
- const u = this.getDistance(e);
171
+ const o = (() => {
172
+ const d = this.getDistance(e);
179
173
  if (typeof t == "function")
180
- return t(this.five, { tag: e, distance: u });
174
+ return t(this.five, { tag: e, distance: d });
181
175
  if (t.keep === "folded")
182
176
  return !1;
183
177
  if (t.keep === "unfolded")
184
178
  return !0;
185
- if (t.unfoldDistance && g(u, t.unfoldDistance) === !1)
179
+ if (t.unfoldDistance && h(d, t.unfoldDistance) === !1)
186
180
  return !1;
187
181
  })();
188
- s.unfolded = l;
189
- const r = this.getUnfoldedByCamera(e);
190
- return r !== void 0 ? r : s.unfolded;
182
+ n.unfolded = o;
183
+ const f = this.getUnfoldedByCamera(e);
184
+ return f !== void 0 ? f : n.unfolded;
191
185
  }
192
186
  }
193
187
  getUnfoldedByCamera(e) {
194
188
  return this.getVisibleByPanoIndex(e) ? (() => {
195
- var l;
196
- const s = this.getDistance(e), t = this.getTagConfig(e).unfoldedConfig;
189
+ var o;
190
+ const n = this.getDistance(e), t = this.getTagConfig(e).unfoldedConfig;
197
191
  if (!!t) {
198
192
  if (typeof t == "function")
199
- return t(this.five, { tag: e, distance: s });
193
+ return t(this.five, { tag: e, distance: n });
200
194
  if (t.keep === "folded")
201
195
  return !1;
202
196
  if (t.keep === "unfolded")
@@ -204,25 +198,25 @@ class ke extends S {
204
198
  if (t.autoUnfold === void 0 || t.autoUnfold === !1 || t.autoUnfold.enable === !1 || !t.autoUnfold.strategy)
205
199
  return;
206
200
  if (t.autoUnfold.strategy === "ScreenPostion") {
207
- const r = this.getTagProject(e);
208
- if (r && g(r.x, t.autoUnfold.autoUnfoldProjectX) === !1)
201
+ const f = this.getTagProject(e);
202
+ if (f && h(f.x, t.autoUnfold.autoUnfoldProjectX) === !1)
209
203
  return !1;
210
204
  }
211
205
  if (t.autoUnfold.strategy === "MinimumDistance") {
212
- const p = this.filterPointTag.filter((a) => this.getVisibleByPanoIndex(a)).filter((a) => {
213
- const o = this.getTagProject(a);
214
- if (!o)
206
+ const u = this.filterPointTag.filter((r) => this.getVisibleByPanoIndex(r)).filter((r) => {
207
+ const a = this.getTagProject(r);
208
+ if (!a)
215
209
  return !1;
216
- const { x: c, y: v, z: b } = o;
217
- return !(Math.abs(b) > 1 || Math.abs(c) > 1 || Math.abs(v) > 1);
218
- }).map((a) => ({ tag: a, id: a.id, tagConfig: this.getTagConfig(a).unfoldedConfig })).filter(({ tag: a, tagConfig: o }) => {
219
- var c, v;
220
- return !(typeof o != "object" || o.keep || o.autoUnfold === !1 || ((c = o.autoUnfold) == null ? void 0 : c.enable) === !1 || ((v = o.autoUnfold) == null ? void 0 : v.strategy) !== "MinimumDistance");
221
- }).map((a) => P(I({}, a), { distance: this.getDistance(a.tag) })).filter(({ distance: a, tagConfig: o }) => {
222
- var c, v;
223
- return !(a === void 0 || typeof o != "object" || o.autoUnfold === !1 || ((c = o.autoUnfold) == null ? void 0 : c.enable) === !1 || ((v = o.autoUnfold) == null ? void 0 : v.strategy) !== "MinimumDistance" || o.autoUnfold.distance && g(a, o.autoUnfold.distance) === !1);
224
- }).sort((a, o) => a.distance - o.distance).findIndex((a) => a.id === e.id);
225
- if (p === -1 || p <= ((l = t.autoUnfold.maxNumber) != null ? l : 1) - 1 === !1)
210
+ const { x: m, y: v, z: b } = a;
211
+ return !(Math.abs(b) > 1 || Math.abs(m) > 1 || Math.abs(v) > 1);
212
+ }).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: a }) => {
213
+ var m, v;
214
+ return !(typeof a != "object" || a.keep || a.autoUnfold === !1 || ((m = a.autoUnfold) == null ? void 0 : m.enable) === !1 || ((v = a.autoUnfold) == null ? void 0 : v.strategy) !== "MinimumDistance");
215
+ }).map((r) => I(x({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: a }) => {
216
+ var m, v;
217
+ return !(r === void 0 || typeof a != "object" || a.autoUnfold === !1 || ((m = a.autoUnfold) == null ? void 0 : m.enable) === !1 || ((v = a.autoUnfold) == null ? void 0 : v.strategy) !== "MinimumDistance" || a.autoUnfold.distance && h(r, a.autoUnfold.distance) === !1);
218
+ }).sort((r, a) => r.distance - a.distance).findIndex((r) => r.id === e.id);
219
+ if (u === -1 || u <= ((o = t.autoUnfold.maxNumber) != null ? o : 1) - 1 === !1)
226
220
  return !1;
227
221
  }
228
222
  return !0;
@@ -230,25 +224,25 @@ class ke extends S {
230
224
  })() : void 0;
231
225
  }
232
226
  sort(e) {
233
- return e.sort((i, n) => {
234
- const s = this.getDistance(i), t = this.getDistance(n);
235
- return s === void 0 || t === void 0 ? 0 : t - s;
227
+ return e.sort((i, s) => {
228
+ const n = this.getDistance(i), t = this.getDistance(s);
229
+ return n === void 0 || t === void 0 ? 0 : t - n;
236
230
  });
237
231
  }
238
232
  setPointTagPosition() {
239
233
  const e = this.filterPointTag;
240
234
  e.length !== 0 && e.forEach((i) => {
241
- var s;
242
- if (!((s = i.state) != null && s.visible)) {
235
+ var n;
236
+ if (!((n = i.state) != null && n.visible)) {
243
237
  i.pointTagStyle = null;
244
238
  return;
245
239
  }
246
- const n = this.getTagProject(i);
247
- if (!n) {
240
+ const s = this.getTagProject(i);
241
+ if (!s) {
248
242
  i.pointTagStyle = null;
249
243
  return;
250
244
  }
251
- i.pointTagStyle = { leftPercent: (n.x + 1) / 2 * 100, topPercent: (-n.y + 1) / 2 * 100 };
245
+ i.pointTagStyle = { leftPercent: (s.x + 1) / 2 * 100, topPercent: (-s.y + 1) / 2 * 100 };
252
246
  });
253
247
  }
254
248
  setVisibleByPanoIndex() {
@@ -260,68 +254,76 @@ class ke extends S {
260
254
  setModelMedialVisible() {
261
255
  const e = this.five.getCurrentState().mode;
262
256
  this.tags.forEach((i) => {
263
- var s;
264
- if (!h(i))
257
+ var n;
258
+ if (!g(i))
265
259
  return;
266
- if (!((s = i.model) != null && s.object)) {
260
+ if (!((n = i.model) != null && n.object)) {
267
261
  i.mediaVisible = !1;
268
262
  return;
269
263
  }
270
- const n = e === "Panorama" ? this.getModelMedialVisibleByPanoIndex(i) : !0;
271
- i.mediaVisible = n;
264
+ const s = e === "Panorama" ? this.getModelMedialVisibleByPanoIndex(i) : !0;
265
+ i.mediaVisible = s;
272
266
  });
273
267
  }
274
268
  setUnfoldedByPanoIndex() {
275
269
  this.tags.forEach((e) => {
276
270
  const i = this.getUnfoldedByPanoIndex(e);
277
271
  if (!!e.state && (i !== void 0 && (e.state.unfolded = i), i && !e.state.visible)) {
278
- const n = this.getTagConfig(e);
279
- typeof n.unfoldedConfig == "object" && n.unfoldedConfig.autoUnfoldWhenHide !== !1 && (e.state.unfolded = !1);
272
+ const s = this.getTagConfig(e);
273
+ typeof s.unfoldedConfig == "object" && s.unfoldedConfig.autoUnfoldWhenHide !== !1 && (e.state.unfolded = !1);
280
274
  }
281
275
  });
282
276
  }
283
277
  getTagProject(e) {
284
278
  if (!this.getVisibleByPanoIndex(e))
285
279
  return;
286
- const n = V(e.position);
287
- if (!n)
280
+ const s = V(e.position);
281
+ if (!s)
288
282
  return;
289
- const { x: s, y: t, z: l } = n.project(this.five.camera);
290
- if (!(l > 1))
291
- return { x: s, y: t, z: l };
283
+ const { x: n, y: t, z: o } = s.project(this.five.camera);
284
+ if (!(o > 1))
285
+ return { x: n, y: t, z: o };
292
286
  }
293
287
  getTagEnableByIntersect(e, i) {
294
- var p, m, a;
295
- const n = (p = this.getTagConfig(e).visibleConfig) != null ? p : {}, s = this.getDistance(e), [t] = this.five.model.intersectRaycaster(i), l = (() => {
296
- if (!h(e))
288
+ var u, p, r;
289
+ const s = (u = this.getTagConfig(e).visibleConfig) != null ? u : {}, n = this.getDistance(e), [t] = this.five.model.intersectRaycaster(i), o = (() => {
290
+ if (!g(e))
297
291
  return;
298
- const o = this.tags.filter(h).map((v) => {
292
+ const a = this.tags.filter(g).map((v) => {
299
293
  var b;
300
294
  return (b = v.model) == null ? void 0 : b.object;
301
295
  }).filter(k);
302
- return i.intersectObjects(o, !0)[0];
303
- })(), r = (() => {
304
- var o;
305
- return typeof n == "object" && typeof n.intersectRaycaster == "object" && (o = n.intersectRaycaster.distanceAccuracy) != null ? o : 0.01;
306
- })(), u = Math.min((m = t == null ? void 0 : t.distance) != null ? m : 1 / 0, (a = l == null ? void 0 : l.distance) != null ? a : 1 / 0);
307
- return u + r < s ? {
296
+ return i.intersectObjects(a, !0)[0];
297
+ })(), f = (() => {
298
+ var a;
299
+ return typeof s == "object" && typeof s.intersectRaycaster == "object" && (a = s.intersectRaycaster.distanceAccuracy) != null ? a : 0.01;
300
+ })(), d = Math.min((p = t == null ? void 0 : t.distance) != null ? p : 1 / 0, (r = o == null ? void 0 : o.distance) != null ? r : 1 / 0);
301
+ return d + f < n ? {
308
302
  value: !1,
309
- reason: `intersectRaycaster check failed: distance is ${s}, intersection.distance is ${t == null ? void 0 : t.distance}, intersection.point is ${t == null ? void 0 : t.point.toArray()},
310
- customModelIntersection.point is ${l == null ? void 0 : l.point.toArray()}, minIntersectionDistance is ${u}`
303
+ reason: `intersectRaycaster check failed: distance is ${n}, intersection.distance is ${t == null ? void 0 : t.distance}, intersection.point is ${t == null ? void 0 : t.point.toArray()},
304
+ customModelIntersection.point is ${o == null ? void 0 : o.point.toArray()}, minIntersectionDistance is ${d}`
311
305
  } : { value: !0, reason: "" };
312
306
  }
313
307
  getRaycasterFromPanoIndex(e, i) {
314
- var l;
315
- const n = (l = this.five.work.observers[i]) == null ? void 0 : l.position;
316
- if (n === void 0)
317
- throw new Error(`getVisible(): observerPosition is ${n}`);
318
- const s = V(e.position);
319
- if (!s)
308
+ var o;
309
+ const s = (o = this.five.work.observers[i]) == null ? void 0 : o.position;
310
+ if (s === void 0)
311
+ throw new Error(`getVisible(): observerPosition is ${s}`);
312
+ const n = V(e.position);
313
+ if (!n)
320
314
  return;
321
- const t = s.sub(n).normalize();
322
- return this.raycaster.set(n, t), this.raycaster;
315
+ const t = n.sub(s).normalize();
316
+ return this.raycaster.set(s, t), this.raycaster;
317
+ }
318
+ getVisibleByFloorIndex(e) {
319
+ var t, o, f, d, u, p;
320
+ let i = 0;
321
+ const s = (t = e.fiveState) == null ? void 0 : t.panoIndex;
322
+ s !== void 0 ? i = (o = this.five.work.observers[s]) == null ? void 0 : o.floorIndex : i = $(this.five.work.observers, (p = (d = (f = e.model) == null ? void 0 : f.object) == null ? void 0 : d.position) != null ? p : (u = e.mediaPlane) == null ? void 0 : u.position);
323
+ const n = this.five.model.shownFloor;
324
+ return n === null || n === i;
323
325
  }
324
326
  }
325
327
  export {
326
- ke as TagComputer
328
+ _e as TagComputer
327
329
  };