@realsee/dnalogel 3.73.0 → 3.73.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (509) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +9 -1
  3. package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +4 -0
  4. package/dist/index.cjs.js +49 -49
  5. package/dist/index.js +3462 -3384
  6. package/dist/index.umd.js +68 -68
  7. package/dist/shared-utils/five/getFloorMesh.d.ts +3 -0
  8. package/libs/CruisePlugin/Move.js +3 -2
  9. package/libs/CruisePlugin/Work.js +3 -2
  10. package/libs/CruisePlugin/index.js +7 -6
  11. package/libs/GuideLinePlugin/Controller.js +5 -4
  12. package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
  13. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
  14. package/libs/GuideLinePlugin/index.js +7 -6
  15. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +230 -230
  16. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +9 -1
  17. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +179 -131
  18. package/libs/PanoTagPlugin/controller/index.js +6 -5
  19. package/libs/PanoTagPlugin/index.js +12 -11
  20. package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +4 -0
  21. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +85 -71
  22. package/libs/base/BasePlugin.js +1 -1
  23. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +44 -44
  24. package/libs/index.js +149 -148
  25. package/libs/shared-utils/five/getFloorMesh.d.ts +3 -0
  26. package/libs/shared-utils/five/getFloorMesh.js +11 -0
  27. package/libs/shared-utils/logger.js +1 -1
  28. package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +151 -139
  29. package/package.json +2 -2
  30. package/docs/.nojekyll +0 -1
  31. package/docs/assets/custom.css +0 -0
  32. package/docs/assets/highlight.css +0 -127
  33. package/docs/assets/icons.js +0 -18
  34. package/docs/assets/icons.svg +0 -1
  35. package/docs/assets/main.js +0 -60
  36. package/docs/assets/navigation.js +0 -1
  37. package/docs/assets/search.js +0 -1
  38. package/docs/assets/style.css +0 -1493
  39. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +0 -59
  40. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +0 -71
  41. package/docs/classes/CSS3DRender.html +0 -100
  42. package/docs/classes/GuideLineItem.GuideLineItem.html +0 -21
  43. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -70
  44. package/docs/classes/ModelMakerPluginInstance.html +0 -116
  45. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +0 -52
  46. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +0 -52
  47. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +0 -53
  48. package/docs/classes/ModelRoomLabelController.html +0 -19
  49. package/docs/classes/MoveController.html +0 -45
  50. package/docs/classes/Object3DHelperController.html +0 -45
  51. package/docs/classes/PaintBrush.html +0 -15
  52. package/docs/classes/PanoMeasurePluginLine.html +0 -24
  53. package/docs/classes/PanoMeasurePluginModel.html +0 -23
  54. package/docs/classes/PanoMeasurePluginPoint.html +0 -7
  55. package/docs/classes/PanoMeasurePluginPolyline.html +0 -27
  56. package/docs/classes/PanoTagPluginController.html +0 -111
  57. package/docs/classes/Sculpt.html +0 -77
  58. package/docs/classes/Util.BetterTween.html +0 -6
  59. package/docs/classes/Util.FiveDomEvents.html +0 -13
  60. package/docs/classes/Util.FivePuppet.html +0 -20
  61. package/docs/classes/Util.Interval.html +0 -11
  62. package/docs/classes/Util.LegacyPointHelper.html +0 -7
  63. package/docs/classes/Util.LightTag.html +0 -47
  64. package/docs/classes/Util.LineSegments.html +0 -4
  65. package/docs/classes/Util.Magnifier.html +0 -26
  66. package/docs/classes/Util.Object3D.html +0 -8
  67. package/docs/classes/Util.PointDomHelper.html +0 -8
  68. package/docs/classes/Util.PointHelper.html +0 -10
  69. package/docs/classes/Util.PointSelector.html +0 -66
  70. package/docs/classes/Util.PointSelectorHelper.html +0 -14
  71. package/docs/classes/Util.Rectangle.html +0 -12
  72. package/docs/classes/Util.sculpt.BaseEditor.html +0 -17
  73. package/docs/classes/Util.sculpt.BoxMesh.html +0 -48
  74. package/docs/classes/Util.sculpt.BoxMeshEditor.html +0 -18
  75. package/docs/classes/Util.sculpt.CircleMesh.html +0 -26
  76. package/docs/classes/Util.sculpt.CircleMeshEditor.html +0 -18
  77. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +0 -26
  78. package/docs/classes/Util.sculpt.CylinderMesh.html +0 -25
  79. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +0 -18
  80. package/docs/classes/Util.sculpt.LineMesh.html +0 -34
  81. package/docs/classes/Util.sculpt.PointMesh.html +0 -24
  82. package/docs/classes/Util.sculpt.PolygonMesh.html +0 -40
  83. package/docs/classes/Util.sculpt.PrismMesh.html +0 -48
  84. package/docs/classes/Util.sculpt.PrismMeshEditor.html +0 -18
  85. package/docs/classes/Util.sculpt.RectangleMesh.html +0 -41
  86. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +0 -18
  87. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +0 -44
  88. package/docs/classes/WalkController.html +0 -42
  89. package/docs/enums/CameraMovementEffect.html +0 -4
  90. package/docs/enums/ContentType.html +0 -34
  91. package/docs/enums/DIRECTION.html +0 -5
  92. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -5
  93. package/docs/enums/DimensionType.html +0 -4
  94. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -4
  95. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -5
  96. package/docs/enums/PaintBrushTypeEnum.html +0 -4
  97. package/docs/enums/PointType.html +0 -4
  98. package/docs/enums/Rotation.html +0 -5
  99. package/docs/functions/AreaMakerPlugin.html +0 -1
  100. package/docs/functions/CSS3DRenderPlugin.html +0 -1
  101. package/docs/functions/CameraMovementPlugin.html +0 -2
  102. package/docs/functions/CruisePlugin.html +0 -1
  103. package/docs/functions/CurrentPanoImagePlugin.html +0 -1
  104. package/docs/functions/FloorplanGuidePlugin.html +0 -1
  105. package/docs/functions/GuideLinePlugin.html +0 -1
  106. package/docs/functions/ItemLabelPlugin.html +0 -1
  107. package/docs/functions/MapviewFloorplanPlugin.html +0 -1
  108. package/docs/functions/MeasurePlugin.html +0 -1
  109. package/docs/functions/ModelChassisCompassPlugin.html +0 -2
  110. package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -2
  111. package/docs/functions/ModelFloorplanPlugin.html +0 -1
  112. package/docs/functions/ModelItemLabelPlugin.html +0 -1
  113. package/docs/functions/ModelMakerPlugin.html +0 -1
  114. package/docs/functions/ModelRoomLabelPlugin.html +0 -1
  115. package/docs/functions/ModelTVVideoPlugin.html +0 -1
  116. package/docs/functions/ModelViewPlugin.html +0 -2
  117. package/docs/functions/MovePlugin.html +0 -1
  118. package/docs/functions/Object3DHelperPlugin.html +0 -1
  119. package/docs/functions/PanoCompassPlugin.html +0 -1
  120. package/docs/functions/PanoCursorRaycasterPlugin.html +0 -2
  121. package/docs/functions/PanoDoorLabelPlugin.html +0 -1
  122. package/docs/functions/PanoFloorplanRadarPlugin.html +0 -1
  123. package/docs/functions/PanoMeasurePlugin.html +0 -1
  124. package/docs/functions/PanoRulerPlugin.html +0 -2
  125. package/docs/functions/PanoRulerProPlugin.html +0 -2
  126. package/docs/functions/PanoSpatialTagPlugin.html +0 -2
  127. package/docs/functions/PanoTagPlugin.html +0 -1
  128. package/docs/functions/PanoVideoPlugin.html +0 -10
  129. package/docs/functions/PipelinePlugin.html +0 -1
  130. package/docs/functions/SculptPlugin.html +0 -2
  131. package/docs/functions/SculptPluginForFive.html +0 -2
  132. package/docs/functions/TopviewFloorplanPlugin.html +0 -1
  133. package/docs/functions/Util.awaitNextFrame.html +0 -1
  134. package/docs/functions/Util.blink.html +0 -13
  135. package/docs/functions/Util.blinkWithPreset.html +0 -6
  136. package/docs/functions/Util.bounding.html +0 -1
  137. package/docs/functions/Util.boundingBox.html +0 -1
  138. package/docs/functions/Util.boundingSphere.html +0 -1
  139. package/docs/functions/Util.boxVertex.html +0 -7
  140. package/docs/functions/Util.boxVertexes.html +0 -1
  141. package/docs/functions/Util.checkFiveModelLoaded.html +0 -2
  142. package/docs/functions/Util.cleanup.html +0 -3
  143. package/docs/functions/Util.convexHull.html +0 -2
  144. package/docs/functions/Util.equal.html +0 -5
  145. package/docs/functions/Util.fiveModelIsLoaded.html +0 -2
  146. package/docs/functions/Util.getCoordsFromClient.html +0 -1
  147. package/docs/functions/Util.getCoordsFromElement.html +0 -1
  148. package/docs/functions/Util.getFrameTime.html +0 -3
  149. package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -1
  150. package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -1
  151. package/docs/functions/Util.initialCSS3DRender.html +0 -1
  152. package/docs/functions/Util.inside.html +0 -1
  153. package/docs/functions/Util.isModelLike.html +0 -1
  154. package/docs/functions/Util.isNil.html +0 -2
  155. package/docs/functions/Util.isPanoramaLike.html +0 -1
  156. package/docs/functions/Util.lookObject.html +0 -7
  157. package/docs/functions/Util.lookPoint.html +0 -5
  158. package/docs/functions/Util.nextFrame.html +0 -1
  159. package/docs/functions/Util.notNil.html +0 -2
  160. package/docs/functions/Util.reblink.html +0 -13
  161. package/docs/functions/Util.replaceStaticPrefix.html +0 -8
  162. package/docs/functions/Util.requestAnimationFrameInterval.html +0 -5
  163. package/docs/functions/Util.sculpt.createBox.html +0 -1
  164. package/docs/functions/Util.sculpt.createCircle.html +0 -1
  165. package/docs/functions/Util.sculpt.createCylinder.html +0 -1
  166. package/docs/functions/Util.sculpt.createLine.html +0 -2
  167. package/docs/functions/Util.sculpt.createPoint.html +0 -1
  168. package/docs/functions/Util.sculpt.createPolygon.html +0 -1
  169. package/docs/functions/Util.sculpt.createPrism.html +0 -1
  170. package/docs/functions/Util.sculpt.createRectangle.html +0 -2
  171. package/docs/functions/Util.tag.html +0 -1
  172. package/docs/functions/Util.tweenProgress.html +0 -1
  173. package/docs/functions/Util.uuid.html +0 -2
  174. package/docs/functions/Util.waitFiveModelLoaded.html +0 -2
  175. package/docs/functions/Util.worldBounding.html +0 -1
  176. package/docs/functions/Util.worldBoundingBox.html +0 -1
  177. package/docs/functions/Util.worldBoundingSphere.html +0 -1
  178. package/docs/functions/createPolyline.html +0 -2
  179. package/docs/functions/pluginFlag.html +0 -1
  180. package/docs/hierarchy.html +0 -1
  181. package/docs/index.html +0 -70
  182. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +0 -4
  183. package/docs/interfaces/AreaMakerPluginType.Config.html +0 -8
  184. package/docs/interfaces/AreaMakerPluginType.EventMap.html +0 -25
  185. package/docs/interfaces/AreaMakerPluginType.Params.html +0 -4
  186. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +0 -20
  187. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +0 -13
  188. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +0 -9
  189. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +0 -3
  190. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +0 -3
  191. package/docs/interfaces/AreaMakerPluginType.State.html +0 -8
  192. package/docs/interfaces/BoxAnimationConfig.html +0 -6
  193. package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -9
  194. package/docs/interfaces/CSS3DRenderPluginState.html +0 -7
  195. package/docs/interfaces/CameraMovementPluginExportType.html +0 -11
  196. package/docs/interfaces/ContentTypeMapInterface.html +0 -73
  197. package/docs/interfaces/CruisePluginTypes.Config.html +0 -7
  198. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -8
  199. package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -33
  200. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +0 -6
  201. package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -16
  202. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -19
  203. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -20
  204. package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -8
  205. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -2
  206. package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -15
  207. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +0 -13
  208. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +0 -15
  209. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +0 -4
  210. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +0 -3
  211. package/docs/interfaces/CurrentPanoImagePluginType.State.html +0 -7
  212. package/docs/interfaces/FloorplanBounding.html +0 -9
  213. package/docs/interfaces/FloorplanData.html +0 -7
  214. package/docs/interfaces/FloorplanEntrance.html +0 -14
  215. package/docs/interfaces/FloorplanExtraObject.html +0 -9
  216. package/docs/interfaces/FloorplanExtraObject3D.html +0 -5
  217. package/docs/interfaces/FloorplanFloorData.html +0 -9
  218. package/docs/interfaces/FloorplanImagePosition.html +0 -4
  219. package/docs/interfaces/FloorplanObserver.html +0 -8
  220. package/docs/interfaces/FloorplanOutlineItem.html +0 -6
  221. package/docs/interfaces/FloorplanPosition.html +0 -4
  222. package/docs/interfaces/FloorplanRoomItem.html +0 -24
  223. package/docs/interfaces/FloorplanRoomLabelItem.html +0 -6
  224. package/docs/interfaces/FloorplanServerBounding.html +0 -9
  225. package/docs/interfaces/FloorplanServerComputedData.html +0 -6
  226. package/docs/interfaces/FloorplanServerData.html +0 -4
  227. package/docs/interfaces/FloorplanServerDoorItem.html +0 -6
  228. package/docs/interfaces/FloorplanServerDoorPosition.html +0 -4
  229. package/docs/interfaces/FloorplanServerEntrance.html +0 -14
  230. package/docs/interfaces/FloorplanServerFloorData.html +0 -8
  231. package/docs/interfaces/FloorplanServerImagePosition.html +0 -4
  232. package/docs/interfaces/FloorplanServerObserver.html +0 -8
  233. package/docs/interfaces/FloorplanServerOutlineItem.html +0 -6
  234. package/docs/interfaces/FloorplanServerPosition.html +0 -4
  235. package/docs/interfaces/FloorplanServerRoomItem.html +0 -27
  236. package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -6
  237. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -4
  238. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -7
  239. package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -13
  240. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +0 -5
  241. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -8
  242. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -2
  243. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -32
  244. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +0 -4
  245. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -5
  246. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -42
  247. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -3
  248. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -57
  249. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -1
  250. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -2
  251. package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -7
  252. package/docs/interfaces/GuideLinePluginType.Route.html +0 -13
  253. package/docs/interfaces/HelperOffset.html +0 -4
  254. package/docs/interfaces/ImagePlaneGroup.html +0 -3
  255. package/docs/interfaces/ItemLabelPluginData.html +0 -2
  256. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -7
  257. package/docs/interfaces/ItemLabelPluginParametersType.html +0 -5
  258. package/docs/interfaces/MinMax.html +0 -3
  259. package/docs/interfaces/ModelChassisCompassPluginData.html +0 -3
  260. package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -4
  261. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -3
  262. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -4
  263. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -4
  264. package/docs/interfaces/ModelItemLabelPluginData.html +0 -2
  265. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -7
  266. package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -3
  267. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +0 -17
  268. package/docs/interfaces/ModelMakerPluginType.EventMap.html +0 -18
  269. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +0 -23
  270. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +0 -11
  271. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +0 -10
  272. package/docs/interfaces/ModelMakerPluginType.ServerData.html +0 -3
  273. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +0 -10
  274. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +0 -10
  275. package/docs/interfaces/ModelMakerPluginType.State.html +0 -8
  276. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +0 -11
  277. package/docs/interfaces/ModelRoomLabelPluginData.html +0 -2
  278. package/docs/interfaces/ModelTVVideoPluginData.html +0 -5
  279. package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -4
  280. package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -2
  281. package/docs/interfaces/ModelViewPluginExportType.html +0 -8
  282. package/docs/interfaces/Object3DHelperState.html +0 -4
  283. package/docs/interfaces/ObjectHelperControllers.html +0 -5
  284. package/docs/interfaces/PaintBrushAction.html +0 -14
  285. package/docs/interfaces/PaintBrushConfigs.html +0 -8
  286. package/docs/interfaces/PaintBrushState.html +0 -6
  287. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -16
  288. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -1
  289. package/docs/interfaces/PanoMeasureParameterType.html +0 -20
  290. package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -4
  291. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -4
  292. package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -3
  293. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -7
  294. package/docs/interfaces/PanoRulerPluginExportType.html +0 -6
  295. package/docs/interfaces/PanoRulerPluginOptions.html +0 -3
  296. package/docs/interfaces/PanoRulerPluginParameterType.html +0 -4
  297. package/docs/interfaces/PanoRulerProPluginExportType.html +0 -5
  298. package/docs/interfaces/PanoRulerProPluginOptions.html +0 -3
  299. package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -3
  300. package/docs/interfaces/PanoRulerProPluginState.html +0 -4
  301. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -1
  302. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -1
  303. package/docs/interfaces/PanoSpatialTagPluginData.html +0 -7
  304. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -6
  305. package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -9
  306. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -6
  307. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -9
  308. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -7
  309. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -6
  310. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -3
  311. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -8
  312. package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -2
  313. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -15
  314. package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -2
  315. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -14
  316. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -13
  317. package/docs/interfaces/PluginEventMap.html +0 -16
  318. package/docs/interfaces/Point.html +0 -4
  319. package/docs/interfaces/Room.html +0 -5
  320. package/docs/interfaces/RoomInfo.html +0 -3
  321. package/docs/interfaces/RoomLabel.html +0 -16
  322. package/docs/interfaces/RoomRules.html +0 -1
  323. package/docs/interfaces/Rooms.html +0 -1
  324. package/docs/interfaces/Scissor.html +0 -13
  325. package/docs/interfaces/SculptConfig.html +0 -14
  326. package/docs/interfaces/State.html +0 -7
  327. package/docs/interfaces/TagCacheInterface.html +0 -9
  328. package/docs/interfaces/TagConfig.html +0 -164
  329. package/docs/interfaces/TagGLTFObjectGroup.html +0 -3
  330. package/docs/interfaces/TagIconAnimationConfig.html +0 -7
  331. package/docs/interfaces/TagIconUrl.html +0 -20
  332. package/docs/interfaces/TagObjectGroup.html +0 -3
  333. package/docs/interfaces/TagState.html +0 -3
  334. package/docs/interfaces/TagStyle.html +0 -5
  335. package/docs/interfaces/Tags.html +0 -8
  336. package/docs/interfaces/TemporaryState.html +0 -2
  337. package/docs/interfaces/Util.AnimeInstance.html +0 -14
  338. package/docs/interfaces/Util.BlinkAnimeOptions.html +0 -21
  339. package/docs/interfaces/Util.EventHandlerConfig.html +0 -21
  340. package/docs/interfaces/Util.FiveDomEvent.html +0 -7
  341. package/docs/interfaces/Util.FiveDomEventMap.html +0 -20
  342. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +0 -4
  343. package/docs/interfaces/Util.MagnifierParameter.html +0 -13
  344. package/docs/interfaces/Util.MouseGroupParameter.html +0 -4
  345. package/docs/interfaces/Util.ObjectInitialState.html +0 -9
  346. package/docs/interfaces/Util.PointIntersection.html +0 -21
  347. package/docs/interfaces/Util.PointSelectorHelperConfig.html +0 -6
  348. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +0 -27
  349. package/docs/modules/AreaMakerPluginType.html +0 -17
  350. package/docs/modules/CruisePluginTypes.html +0 -14
  351. package/docs/modules/CurrentPanoImagePluginType.html +0 -6
  352. package/docs/modules/GuideLineItem.html +0 -2
  353. package/docs/modules/GuideLineModeItem.html +0 -3
  354. package/docs/modules/GuideLinePluginType.html +0 -25
  355. package/docs/modules/ModelMakerPluginType.html +0 -19
  356. package/docs/modules/PanoVideoPluginType.html +0 -8
  357. package/docs/modules/SculptData.html +0 -9
  358. package/docs/modules/SculptType.html +0 -2
  359. package/docs/modules/Util.html +0 -86
  360. package/docs/modules/Util.sculpt.html +0 -25
  361. package/docs/modules.html +0 -279
  362. package/docs/types/AddObject3DHelperConfig.html +0 -19
  363. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +0 -7
  364. package/docs/types/AreaMakerPluginType.ItemRenderer.html +0 -1
  365. package/docs/types/AreaMakerPluginType.PluginData.html +0 -2
  366. package/docs/types/AreaMakerPluginType.ServerData.html +0 -2
  367. package/docs/types/ArrayPosition.html +0 -1
  368. package/docs/types/AudioAppearance.html +0 -1
  369. package/docs/types/CSS3DRenderExportType.html +0 -1
  370. package/docs/types/CSS3DRenderPluginExportType.html +0 -1
  371. package/docs/types/CSS3DRenderPluginParameterType.html +0 -1
  372. package/docs/types/ClassFunctionParameters.html +0 -1
  373. package/docs/types/Color.html +0 -1
  374. package/docs/types/ContentTypeConfigKey.html +0 -1
  375. package/docs/types/ContentTypeConfigKeySplit.html +0 -1
  376. package/docs/types/ContentTypeMap.html +0 -1
  377. package/docs/types/Create3DDomContainerReturnType.html +0 -1
  378. package/docs/types/Create3DElementReturnType.html +0 -1
  379. package/docs/types/CruisePluginExportType.html +0 -1
  380. package/docs/types/CruisePluginTypes.CruiseData.html +0 -5
  381. package/docs/types/CruisePluginTypes.MoveEffect.html +0 -1
  382. package/docs/types/CurrentPanoImagePluginExportType.html +0 -1
  383. package/docs/types/DeprecatedMediaPlaneProperty.html +0 -3
  384. package/docs/types/DeprecatedTagProperty.html +0 -3
  385. package/docs/types/Direction-1.html +0 -1
  386. package/docs/types/Direction4.html +0 -1
  387. package/docs/types/ElementRenderer.html +0 -2
  388. package/docs/types/FloorplanGuidePluginParameterType.html +0 -1
  389. package/docs/types/FloorplanGuidePluginReturnType.html +0 -1
  390. package/docs/types/FloorplanRuleLabels.html +0 -2
  391. package/docs/types/FloorplanServerRuleLabels.html +0 -1
  392. package/docs/types/GuideLinePluginExportType.html +0 -1
  393. package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -2
  394. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -1
  395. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -1
  396. package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -2
  397. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -2
  398. package/docs/types/GuideLinePluginType.PathItem.html +0 -2
  399. package/docs/types/GuideLinePluginType.PluginData.html +0 -2
  400. package/docs/types/GuideLinePluginType.RouteConfig.html +0 -4
  401. package/docs/types/HelperEventMap.html +0 -1
  402. package/docs/types/InternalHelperEventMap.html +0 -1
  403. package/docs/types/MapviewFloorplanPluginParameterType.html +0 -1
  404. package/docs/types/MapviewFloorplanPluginReturnType.html +0 -1
  405. package/docs/types/MeasureEndReason.html +0 -1
  406. package/docs/types/MeasurePluginConfig.html +0 -5
  407. package/docs/types/MediaData.html +0 -2
  408. package/docs/types/MediaStore.html +0 -1
  409. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -1
  410. package/docs/types/ModelFloorplanPluginParameterType.html +0 -1
  411. package/docs/types/ModelFloorplanPluginReturnType.html +0 -1
  412. package/docs/types/ModelId.html +0 -1
  413. package/docs/types/ModelMakerPluginType.ElementRenderer.html +0 -1
  414. package/docs/types/ModelMakerPluginType.ItemType.html +0 -2
  415. package/docs/types/ModelMakerPluginType.MarkerItem.html +0 -1
  416. package/docs/types/ModelMakerPluginType.ServerItem.html +0 -2
  417. package/docs/types/ModelRoomLabelPluginParameters.html +0 -1
  418. package/docs/types/ModelRoomLabelPluginReturnType.html +0 -1
  419. package/docs/types/MoveArgs.html +0 -2
  420. package/docs/types/MoveOpts.html +0 -2
  421. package/docs/types/Object3DHelperEventMap.html +0 -1
  422. package/docs/types/ObjectFit.html +0 -1
  423. package/docs/types/PaintBrushEventMap.html +0 -1
  424. package/docs/types/PanoCompassPluginData.html +0 -1
  425. package/docs/types/PanoCompassPluginExportType.html +0 -1
  426. package/docs/types/PanoCompassPluginParameterType.html +0 -1
  427. package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -1
  428. package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -1
  429. package/docs/types/PanoIndex.html +0 -1
  430. package/docs/types/PanoMeasurePluginEvent.html +0 -1
  431. package/docs/types/PanoMeasureReturnType.html +0 -1
  432. package/docs/types/PanoSpatialTagPluginId.html +0 -1
  433. package/docs/types/PanoTagPluginExportInterface.html +0 -1
  434. package/docs/types/PanoTagPluginParamsInterface.html +0 -1
  435. package/docs/types/PanoVideoPluginParameterType.html +0 -1
  436. package/docs/types/PanoVideoPluginReturnType.html +0 -1
  437. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -2
  438. package/docs/types/PipelinePluginParameterType.html +0 -1
  439. package/docs/types/PipelinePluginReturnType.html +0 -1
  440. package/docs/types/PlaneTag.html +0 -2
  441. package/docs/types/Point2DTag.html +0 -2
  442. package/docs/types/Point3DTag.html +0 -2
  443. package/docs/types/PointTagInstance.html +0 -1
  444. package/docs/types/Position.html +0 -1
  445. package/docs/types/PositionFrom.html +0 -1
  446. package/docs/types/RotateArgs.html +0 -2
  447. package/docs/types/RotateOpts.html +0 -2
  448. package/docs/types/RuleLabelsKey.html +0 -1
  449. package/docs/types/RuleLabelsValue.html +0 -1
  450. package/docs/types/ScaleCallback.html +0 -1
  451. package/docs/types/ScalePosition.html +0 -3
  452. package/docs/types/SculptData.BoxData.html +0 -1
  453. package/docs/types/SculptData.CircleData.html +0 -1
  454. package/docs/types/SculptData.CylinderData.html +0 -1
  455. package/docs/types/SculptData.PointData.html +0 -1
  456. package/docs/types/SculptData.PolygonData.html +0 -1
  457. package/docs/types/SculptData.PolylineData.html +0 -1
  458. package/docs/types/SculptData.PrismData.html +0 -1
  459. package/docs/types/SculptData.RectangleData.html +0 -1
  460. package/docs/types/SculptType.Theme.html +0 -10
  461. package/docs/types/StickType.html +0 -1
  462. package/docs/types/Tag.html +0 -17
  463. package/docs/types/Tag2D.html +0 -2
  464. package/docs/types/Tag3D.html +0 -2
  465. package/docs/types/TagClickParams.html +0 -1
  466. package/docs/types/TagConfigByKey.html +0 -1
  467. package/docs/types/TagContentType.html +0 -1
  468. package/docs/types/TagContentTypeMapping.html +0 -1
  469. package/docs/types/TagDimensionType.html +0 -1
  470. package/docs/types/TagElement.html +0 -2
  471. package/docs/types/TagEvents.html +0 -1
  472. package/docs/types/TagGLTFObject.html +0 -1
  473. package/docs/types/TagHooks.html +0 -1
  474. package/docs/types/TagId.html +0 -1
  475. package/docs/types/TagInstance.html +0 -1
  476. package/docs/types/TagPlacement.html +0 -5
  477. package/docs/types/TagPointType.html +0 -2
  478. package/docs/types/TagRendererMap.html +0 -1
  479. package/docs/types/TopviewFloorplanPluginParameterType.html +0 -1
  480. package/docs/types/TopviewFloorplanPluginReturnType.html +0 -1
  481. package/docs/types/Util.ActionIfNoIntersection.html +0 -1
  482. package/docs/types/Util.AdherePoint.html +0 -2
  483. package/docs/types/Util.PointSelectorConfig.html +0 -1
  484. package/docs/types/Util.SupportedTarget.html +0 -2
  485. package/docs/types/Util.Target.html +0 -2
  486. package/docs/types/Util.ThreeObject.html +0 -2
  487. package/docs/types/WorkCode.html +0 -1
  488. package/docs/variables/FLOOR_TYPE_MAP.html +0 -2
  489. package/docs/variables/PLUGIN.html +0 -1
  490. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -2
  491. package/docs/variables/ROOM_TYPE_MAP.html +0 -2
  492. package/docs/variables/Util.ANIME_PRESETS.html +0 -2
  493. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +0 -2
  494. package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +0 -2
  495. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +0 -2
  496. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +0 -2
  497. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +0 -2
  498. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +0 -2
  499. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +0 -2
  500. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +0 -2
  501. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +0 -2
  502. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +0 -2
  503. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +0 -2
  504. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +0 -2
  505. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +0 -2
  506. package/docs/variables/defaultGlobalConfig.html +0 -1
  507. package/docs/variables/itemLabelPluginServerParams.html +0 -1
  508. package/docs/variables/modelItemLabelPluginServerParams.html +0 -1
  509. package/docs/variables/modelRoomLabelPluginServerParams.html +0 -1
@@ -1,33 +1,33 @@
1
1
  var _ = Object.defineProperty;
2
2
  var G = (p, l, e) => l in p ? _(p, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[l] = e;
3
3
  var r = (p, l, e) => (G(p, typeof l != "symbol" ? l + "" : l, e), e);
4
- var d = (p, l, e) => new Promise((t, s) => {
5
- var i = (o) => {
4
+ var d = (p, l, e) => new Promise((t, i) => {
5
+ var s = (o) => {
6
6
  try {
7
7
  n(e.next(o));
8
8
  } catch (a) {
9
- s(a);
9
+ i(a);
10
10
  }
11
11
  }, h = (o) => {
12
12
  try {
13
13
  n(e.throw(o));
14
14
  } catch (a) {
15
- s(a);
15
+ i(a);
16
16
  }
17
- }, n = (o) => o.done ? t(o.value) : Promise.resolve(o.value).then(i, h);
17
+ }, n = (o) => o.done ? t(o.value) : Promise.resolve(o.value).then(s, h);
18
18
  n((e = e.apply(p, l)).next());
19
19
  });
20
20
  import * as y from "three";
21
- import { Vector3 as T } from "three";
21
+ import { Vector3 as b } from "three";
22
22
  import { centerPoint as I } from "../../../shared-utils/three/centerPoint.js";
23
23
  import { loadPicture as E } from "../../../shared-utils/three/loadTexture.js";
24
24
  import { QuadrangleGeometry as F, QuadrangleMesh as x } from "../../../shared-utils/three/Quadrangle.js";
25
- import { getVideoTexture as j } from "../../../shared-utils/three/loadVideoTexture.js";
26
- import { Image_Play_Icon_With_Text as V, Image_Play_Icon as S } from "../../Assets/Icon.js";
25
+ import { getVideoTexture as V } from "../../../shared-utils/three/loadVideoTexture.js";
26
+ import { Image_Play_Icon_With_Text as B, Image_Play_Icon as S } from "../../Assets/Icon.js";
27
27
  import { getPositionsByObjectFit as M } from "../../../shared-utils/three/getPositionsByObjectFit.js";
28
- import { FragmentTransparencyMaterial as B } from "../../../shared-utils/three/FragmentTransparencyMaterial.js";
28
+ import { FragmentTransparencyMaterial as j } from "../../../shared-utils/three/FragmentTransparencyMaterial.js";
29
29
  import { getNormal as P } from "../../../shared-utils/three/getNormal.js";
30
- import { CONST as b } from "../../../shared-utils/constants.js";
30
+ import { CONST as T } from "../../../shared-utils/constants.js";
31
31
  import "../../../shared-utils/math/pointsIsRectangle.js";
32
32
  import "../../../shared-utils/device.js";
33
33
  class H extends y.Mesh {
@@ -37,6 +37,20 @@ class H extends y.Mesh {
37
37
  r(this, "src");
38
38
  r(this, "objectFit");
39
39
  }
40
+ /** 获取透明度 */
41
+ get opacity() {
42
+ var e, t;
43
+ return (t = (e = this.material) == null ? void 0 : e.opacity) != null ? t : 1;
44
+ }
45
+ /** 设置透明度 (0-1) */
46
+ set opacity(e) {
47
+ this.material && (this.material.opacity = e, this.material.transparent = e < 1, this.material.needsUpdate = !0), this.traverse((t) => {
48
+ if (t.isMesh && t !== this) {
49
+ const i = t;
50
+ i.material && (i.material.opacity = e, i.material.transparent = e < 1, i.material.needsUpdate = !0);
51
+ }
52
+ });
53
+ }
40
54
  removeFromParent() {
41
55
  const e = this.parent;
42
56
  return e !== null && e.remove(this), this;
@@ -45,60 +59,60 @@ class H extends y.Mesh {
45
59
  this.traverse((e) => {
46
60
  if (e.isMesh) {
47
61
  const t = e;
48
- t.geometry.dispose(), (t.material instanceof Array ? t.material : [t.material]).forEach((i) => {
49
- i.dispose();
62
+ t.geometry.dispose(), (t.material instanceof Array ? t.material : [t.material]).forEach((s) => {
63
+ s.dispose();
50
64
  });
51
65
  }
52
66
  });
53
67
  }
54
68
  }
55
69
  class z extends H {
56
- constructor(e, t, s) {
70
+ constructor(e, t, i) {
57
71
  var n;
58
72
  super();
59
73
  r(this, "name", "PanoTagPluginImagePlane");
60
74
  r(this, "originRatio");
61
75
  this.src = e;
62
- const i = (n = s == null ? void 0 : s.resolveZFighting) != null ? n : !0;
76
+ const s = (n = i == null ? void 0 : i.resolveZFighting) != null ? n : !0;
63
77
  let h = t;
64
- if (i) {
65
- const o = P(t).multiplyScalar(b.Z_FIGHTING_OFFSET);
78
+ if (s) {
79
+ const o = P(t).multiplyScalar(T.Z_FIGHTING_OFFSET);
66
80
  h = t.map((a) => a.clone().add(o));
67
81
  }
68
82
  E(e).then(({ texture: o, transparent: a }) => {
69
83
  var g;
70
84
  const v = new y.MeshBasicMaterial({ map: o, transparent: a, side: y.DoubleSide });
71
- this.originRatio = o.image.width / o.image.height, this.objectFit = (g = s == null ? void 0 : s.objectFit) != null ? g : "contain";
72
- const c = M(this.objectFit, h, o.image.width / o.image.height), u = I(...c), m = c.map((w) => w.clone().sub(u)), f = new F(m);
73
- this.position.copy(u), this.geometry = f, this.material = v;
85
+ this.originRatio = o.image.width / o.image.height, this.objectFit = (g = i == null ? void 0 : i.objectFit) != null ? g : "contain";
86
+ const c = M(this.objectFit, h, o.image.width / o.image.height), m = I(...c), u = c.map((w) => w.clone().sub(m)), f = new F(u);
87
+ this.position.copy(m), this.geometry = f, this.material = v;
74
88
  }).catch((o) => {
75
89
  console.error(`Imageplane error: ${o == null ? void 0 : o.message}`);
76
90
  });
77
91
  }
78
92
  changePointsOrParams(e) {
79
- const { cornerPoints: t, params: s = {} } = e, { objectFit: i = this.objectFit } = s;
93
+ const { cornerPoints: t, params: i = {} } = e, { objectFit: s = this.objectFit } = i;
80
94
  let h = t;
81
- const { resolveZFighting: n } = s != null ? s : {};
95
+ const { resolveZFighting: n } = i != null ? i : {};
82
96
  if (n) {
83
- const u = P(t).multiplyScalar(b.Z_FIGHTING_OFFSET);
84
- h = t.map((m) => m.clone().add(u));
97
+ const m = P(t).multiplyScalar(T.Z_FIGHTING_OFFSET);
98
+ h = t.map((u) => u.clone().add(m));
85
99
  }
86
- const o = M(i != null ? i : "contain", h, this.originRatio), a = I(...o), v = o.map((u) => u.clone().sub(a)), c = new F(v);
87
- this.objectFit = i != null ? i : "contain", this.position.copy(a), this.geometry = c;
100
+ const o = M(s != null ? s : "contain", h, this.originRatio), a = I(...o), v = o.map((m) => m.clone().sub(a)), c = new F(v);
101
+ this.objectFit = s != null ? s : "contain", this.position.copy(a), this.geometry = c;
88
102
  }
89
103
  }
90
104
  class J extends H {
91
105
  // eslint-disable-next-line max-params
92
- constructor(e, t, s) {
106
+ constructor(e, t, i) {
93
107
  const {
94
- videoCoverSrc: i,
108
+ videoCoverSrc: s,
95
109
  objectFit: h = "contain",
96
110
  playButton: n = "withText",
97
111
  paused: o = !0,
98
112
  videoTextureMap: a,
99
113
  ImageTextureMap: v,
100
114
  domEvents: c
101
- } = s != null ? s : {};
115
+ } = i != null ? i : {};
102
116
  super();
103
117
  r(this, "isVideoPlane", !0);
104
118
  r(this, "name", "PanoTagPluginImagePlane");
@@ -114,13 +128,13 @@ class J extends H {
114
128
  r(this, "buttonMesh");
115
129
  r(this, "videoTextureMap");
116
130
  r(this, "ImageTextureMap");
117
- this.cornerPoints = t, this.src = e, this.buttonSrc = (() => n === "withText" ? V : n === "withoutText" ? S : typeof n == "string" ? n : S)(), this.videoCoverSrc = i, this.objectFit = h, this.videoTextureMap = a, this.ImageTextureMap = v, this.domEvents = c, this.position.copy(I(...t)), this.videoCoverSrc && o ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
131
+ this.cornerPoints = t, this.src = e, this.buttonSrc = (() => n === "withText" ? B : n === "withoutText" ? S : typeof n == "string" ? n : S)(), this.videoCoverSrc = s, this.objectFit = h, this.videoTextureMap = a, this.ImageTextureMap = v, this.domEvents = c, this.position.copy(I(...t)), this.videoCoverSrc && o ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
118
132
  o ? this.addButtonMesh() : this.play(!0);
119
133
  }), this.addEventListener("removed", () => {
120
134
  this.remove(...this.children);
121
135
  }), this.addEventListener("dispose", () => {
122
- var u;
123
- (u = this.disposers) == null || u.forEach((m) => m == null ? void 0 : m());
136
+ var m;
137
+ (m = this.disposers) == null || m.forEach((u) => u == null ? void 0 : u());
124
138
  });
125
139
  }
126
140
  play(e = !1) {
@@ -134,11 +148,11 @@ class J extends H {
134
148
  this.videoInstance && (this.videoInstance.pause(), this.showPauseUI().then(() => this.render()));
135
149
  }
136
150
  initialRenderHooks(e) {
137
- const s = e(() => {
138
- var i;
139
- this.videoMesh && ((i = this.videoInstance) == null ? void 0 : i.paused) === !1 && (this.videoMesh.needsRender = !0);
151
+ const i = e(() => {
152
+ var s;
153
+ this.videoMesh && ((s = this.videoInstance) == null ? void 0 : s.paused) === !1 && (this.videoMesh.needsRender = !0);
140
154
  });
141
- this.disposers.push(() => s);
155
+ this.disposers.push(() => i);
142
156
  }
143
157
  showPlayUI() {
144
158
  this.coverMesh && (this.coverMesh.visible = !1), this.remove(this.buttonMesh), this.videoMesh.visible = !0;
@@ -161,9 +175,9 @@ class J extends H {
161
175
  return this.coverMesh;
162
176
  if (!this.videoCoverSrc)
163
177
  return;
164
- const { texture: t, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), i = new y.MeshBasicMaterial({ transparent: !1, map: t, side: y.DoubleSide }), h = M(this.objectFit, this.cornerPoints, t.image.width / t.image.height), n = new x(h, i);
165
- n.position.copy(new T(0, 0, 0)), n.name = "videoCoverMesh";
166
- const o = P(h).multiplyScalar(b.Z_FIGHTING_OFFSET);
178
+ const { texture: t, transparent: i } = yield this.getImageTexture(this.videoCoverSrc), s = new y.MeshBasicMaterial({ transparent: !1, map: t, side: y.DoubleSide }), h = M(this.objectFit, this.cornerPoints, t.image.width / t.image.height), n = new x(h, s);
179
+ n.position.copy(new b(0, 0, 0)), n.name = "videoCoverMesh";
180
+ const o = P(h).multiplyScalar(T.Z_FIGHTING_OFFSET);
167
181
  return n.position.add(o), n;
168
182
  }))();
169
183
  return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
@@ -171,7 +185,7 @@ class J extends H {
171
185
  }
172
186
  addVideoMesh() {
173
187
  return d(this, null, function* () {
174
- var s;
188
+ var i;
175
189
  if (this.children.includes(this.videoMesh))
176
190
  return;
177
191
  const e = yield (() => d(this, null, function* () {
@@ -179,14 +193,14 @@ class J extends H {
179
193
  return this.videoMesh;
180
194
  if (!this.src)
181
195
  return;
182
- const i = this.getVideoTexture(this.src), h = new y.MeshBasicMaterial({ transparent: !1, map: i, side: y.DoubleSide }), n = yield new Promise((v) => {
183
- i.metadataLoaded ? v(M(this.objectFit, this.cornerPoints, i.image.videoWidth / i.image.videoHeight)) : i.addEventListener(
196
+ const s = this.getVideoTexture(this.src), h = new y.MeshBasicMaterial({ transparent: !1, map: s, side: y.DoubleSide }), n = yield new Promise((v) => {
197
+ s.metadataLoaded ? v(M(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight)) : s.addEventListener(
184
198
  "videoLoaded",
185
- () => v(M(this.objectFit, this.cornerPoints, i.image.videoWidth / i.image.videoHeight))
199
+ () => v(M(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight))
186
200
  );
187
201
  }), o = new x(n, h);
188
- o.name = "videoMesh", o.position.copy(new T(0, 0, 0));
189
- const a = P(n).multiplyScalar(b.Z_FIGHTING_OFFSET);
202
+ o.name = "videoMesh", o.position.copy(new b(0, 0, 0));
203
+ const a = P(n).multiplyScalar(T.Z_FIGHTING_OFFSET);
190
204
  return o.position.add(a), o;
191
205
  }))();
192
206
  if (!e)
@@ -195,13 +209,13 @@ class J extends H {
195
209
  e,
196
210
  "click",
197
211
  () => {
198
- var i;
199
- !this.videoInstance.paused && ((i = this.videoInstance) != null && i.muted) ? this.videoInstance.muted = !1 : this.pause();
212
+ var s;
213
+ !this.videoInstance.paused && ((s = this.videoInstance) != null && s.muted) ? this.videoInstance.muted = !1 : this.pause();
200
214
  },
201
215
  { noEmitWhenHide: !0 }
202
216
  );
203
217
  const t = e.material.map.image;
204
- return (s = this.onVideoReady) == null || s.call(this, t), t.addEventListener("playing", () => {
218
+ return (i = this.onVideoReady) == null || i.call(this, t), t.addEventListener("playing", () => {
205
219
  this.coverMesh || this.remove(this.buttonMesh), this.render();
206
220
  }), t.addEventListener("pause", () => {
207
221
  this.videoInstance.paused && (this.showPauseUI(), this.render());
@@ -213,11 +227,11 @@ class J extends H {
213
227
  if (this.children.includes(this.buttonMesh))
214
228
  return;
215
229
  const e = yield (() => d(this, null, function* () {
216
- var m, f, g, w;
230
+ var u, f, g, w;
217
231
  if (this.buttonMesh)
218
232
  return this.buttonMesh;
219
- const t = (f = (m = this.videoMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? f : 1 / 0, s = (w = (g = this.coverMesh) == null ? void 0 : g.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? w : 1 / 0, i = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), n = Math.min(t, s, i) / i * 0.3, { texture: o, transparent: a } = yield this.getImageTexture(this.buttonSrc), v = M("contain", this.cornerPoints, o.image.width / o.image.height), c = new x(v, new B(o));
220
- c.position.copy(new T(0, 0, 0)), c.name = "buttonMesh", c.scale.set(n, n, n), c.material.side = y.DoubleSide, this.domEvents.addAutoBindEventListener(
233
+ const t = (f = (u = this.videoMesh) == null ? void 0 : u.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? f : 1 / 0, i = (w = (g = this.coverMesh) == null ? void 0 : g.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? w : 1 / 0, s = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), n = Math.min(t, i, s) / s * 0.3, { texture: o, transparent: a } = yield this.getImageTexture(this.buttonSrc), v = M("contain", this.cornerPoints, o.image.width / o.image.height), c = new x(v, new j(o));
234
+ c.position.copy(new b(0, 0, 0)), c.name = "buttonMesh", c.scale.set(n, n, n), c.material.side = y.DoubleSide, this.domEvents.addAutoBindEventListener(
221
235
  c,
222
236
  "click",
223
237
  () => {
@@ -225,32 +239,32 @@ class J extends H {
225
239
  },
226
240
  { noEmitWhenHide: !0 }
227
241
  );
228
- const u = P(v).multiplyScalar(b.Z_FIGHTING_OFFSET * 2);
229
- return c.position.add(u), c;
242
+ const m = P(v).multiplyScalar(T.Z_FIGHTING_OFFSET * 2);
243
+ return c.position.add(m), c;
230
244
  }))();
231
245
  return this.children.includes(this.buttonMesh) || (this.add(e), this.buttonMesh = e), e;
232
246
  });
233
247
  }
234
248
  getImageTexture(e) {
235
249
  return d(this, null, function* () {
236
- var s, i;
237
- if ((s = this.ImageTextureMap) != null && s.has(e))
250
+ var i, s;
251
+ if ((i = this.ImageTextureMap) != null && i.has(e))
238
252
  return this.ImageTextureMap.get(e);
239
253
  const t = yield E(e);
240
- return (i = this.ImageTextureMap) == null || i.set(e, t), t;
254
+ return (s = this.ImageTextureMap) == null || s.set(e, t), t;
241
255
  });
242
256
  }
243
257
  getVideoTexture(e) {
244
- var s, i;
245
- if ((s = this.videoTextureMap) != null && s.has(e))
258
+ var i, s;
259
+ if ((i = this.videoTextureMap) != null && i.has(e))
246
260
  return this.videoTextureMap.get(e);
247
- const t = j(e);
248
- return (i = this.videoTextureMap) == null || i.set(e, t), t;
261
+ const t = V(e);
262
+ return (s = this.videoTextureMap) == null || s.set(e, t), t;
249
263
  }
250
264
  changePointsOrParams(e) {
251
265
  return d(this, null, function* () {
252
- const { cornerPoints: t, params: s } = e;
253
- t && (this.cornerPoints = t, this.position.copy(I(...t))), s != null && s.objectFit && (this.objectFit = s.objectFit), yield this.updateAllMeshes();
266
+ const { cornerPoints: t, params: i } = e;
267
+ t && (this.cornerPoints = t, this.position.copy(I(...t))), i != null && i.objectFit && (this.objectFit = i.objectFit), yield this.updateAllMeshes();
254
268
  });
255
269
  }
256
270
  updateAllMeshes() {
@@ -267,9 +281,9 @@ class J extends H {
267
281
  "videoLoaded",
268
282
  () => o(M(this.objectFit, this.cornerPoints, e.image.videoWidth / e.image.videoHeight))
269
283
  );
270
- }), s = I(...t), i = t.map((o) => o.clone().sub(s)), h = new F(i);
271
- this.videoMesh.geometry.dispose(), this.videoMesh.geometry = h, this.videoMesh.position.copy(new T(0, 0, 0));
272
- const n = P(t).multiplyScalar(b.Z_FIGHTING_OFFSET);
284
+ }), i = I(...t), s = t.map((o) => o.clone().sub(i)), h = new F(s);
285
+ this.videoMesh.geometry.dispose(), this.videoMesh.geometry = h, this.videoMesh.position.copy(new b(0, 0, 0));
286
+ const n = P(t).multiplyScalar(T.Z_FIGHTING_OFFSET);
273
287
  this.videoMesh.position.add(n);
274
288
  });
275
289
  }
@@ -277,19 +291,19 @@ class J extends H {
277
291
  return d(this, null, function* () {
278
292
  if (!this.coverMesh || !this.videoCoverSrc)
279
293
  return;
280
- const { texture: e } = yield this.getImageTexture(this.videoCoverSrc), t = M(this.objectFit, this.cornerPoints, e.image.width / e.image.height), s = I(...t), i = t.map((n) => n.clone().sub(s)), h = new F(i);
281
- this.coverMesh.geometry.dispose(), this.coverMesh.geometry = h, this.coverMesh.position.copy(new T(0, 0, 0));
294
+ const { texture: e } = yield this.getImageTexture(this.videoCoverSrc), t = M(this.objectFit, this.cornerPoints, e.image.width / e.image.height), i = I(...t), s = t.map((n) => n.clone().sub(i)), h = new F(s);
295
+ this.coverMesh.geometry.dispose(), this.coverMesh.geometry = h, this.coverMesh.position.copy(new b(0, 0, 0));
282
296
  });
283
297
  }
284
298
  updateButtonMesh() {
285
299
  return d(this, null, function* () {
286
- var m, f, g, w;
300
+ var u, f, g, w;
287
301
  if (!this.buttonMesh)
288
302
  return;
289
- const { texture: e } = yield this.getImageTexture(this.buttonSrc), t = M("contain", this.cornerPoints, e.image.width / e.image.height), s = I(...t), i = t.map((C) => C.clone().sub(s)), h = new F(i), n = (f = (m = this.videoMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? f : 1 / 0, o = (w = (g = this.coverMesh) == null ? void 0 : g.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? w : 1 / 0, a = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), c = Math.min(n, o, a) / a * 0.3;
290
- this.buttonMesh.geometry.dispose(), this.buttonMesh.geometry = h, this.buttonMesh.position.copy(new T(0, 0, 0)), this.buttonMesh.scale.set(c, c, c);
291
- const u = P(t).multiplyScalar(b.Z_FIGHTING_OFFSET * 2);
292
- this.buttonMesh.position.add(u);
303
+ const { texture: e } = yield this.getImageTexture(this.buttonSrc), t = M("contain", this.cornerPoints, e.image.width / e.image.height), i = I(...t), s = t.map((C) => C.clone().sub(i)), h = new F(s), n = (f = (u = this.videoMesh) == null ? void 0 : u.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? f : 1 / 0, o = (w = (g = this.coverMesh) == null ? void 0 : g.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? w : 1 / 0, a = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), c = Math.min(n, o, a) / a * 0.3;
304
+ this.buttonMesh.geometry.dispose(), this.buttonMesh.geometry = h, this.buttonMesh.position.copy(new b(0, 0, 0)), this.buttonMesh.scale.set(c, c, c);
305
+ const m = P(t).multiplyScalar(T.Z_FIGHTING_OFFSET * 2);
306
+ this.buttonMesh.position.add(m);
293
307
  });
294
308
  }
295
309
  }
@@ -22,7 +22,7 @@ let A = class {
22
22
  /**
23
23
  * @realsee/dnalogel 版本号
24
24
  */
25
- r(this, "VERSION", "3.73.0");
25
+ r(this, "VERSION", "3.73.1-alpha.1");
26
26
  r(this, "NAME");
27
27
  r(this, "five");
28
28
  r(this, "workUtil");
@@ -1,35 +1,35 @@
1
1
  var O = Object.defineProperty, D = Object.defineProperties;
2
2
  var T = Object.getOwnPropertyDescriptors;
3
3
  var b = Object.getOwnPropertySymbols;
4
- var H = Object.prototype.hasOwnProperty, R = Object.prototype.propertyIsEnumerable;
4
+ var k = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
5
5
  var v = (l, h, t) => h in l ? O(l, h, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[h] = t, m = (l, h) => {
6
6
  for (var t in h || (h = {}))
7
- H.call(h, t) && v(l, t, h[t]);
7
+ k.call(h, t) && v(l, t, h[t]);
8
8
  if (b)
9
9
  for (var t of b(h))
10
- R.call(h, t) && v(l, t, h[t]);
10
+ H.call(h, t) && v(l, t, h[t]);
11
11
  return l;
12
12
  }, g = (l, h) => D(l, T(h));
13
13
  var o = (l, h, t) => (v(l, typeof h != "symbol" ? h + "" : h, t), t);
14
14
  var f = (l, h, t) => new Promise((e, i) => {
15
- var s = (n) => {
15
+ var s = (a) => {
16
16
  try {
17
- r(t.next(n));
17
+ r(t.next(a));
18
18
  } catch (d) {
19
19
  i(d);
20
20
  }
21
- }, a = (n) => {
21
+ }, n = (a) => {
22
22
  try {
23
- r(t.throw(n));
23
+ r(t.throw(a));
24
24
  } catch (d) {
25
25
  i(d);
26
26
  }
27
- }, r = (n) => n.done ? e(n.value) : Promise.resolve(n.value).then(s, a);
27
+ }, r = (a) => a.done ? e(a.value) : Promise.resolve(a.value).then(s, n);
28
28
  r((t = t.apply(l, h)).next());
29
29
  });
30
30
  import S from "./items.js";
31
31
  import * as C from "three";
32
- import { to as k } from "../../shared-utils/to.js";
32
+ import { to as R } from "../../shared-utils/to.js";
33
33
  import { equal as U } from "../../shared-utils/equal.js";
34
34
  import { Main as N } from "../Components/Main.js";
35
35
  import { formatData as A } from "../utils/formatData.js";
@@ -156,7 +156,7 @@ function Q(l) {
156
156
  }
157
157
  class li extends G {
158
158
  constructor(t, e) {
159
- var n, d;
159
+ var a, d;
160
160
  super(t);
161
161
  // =============== public properties =================
162
162
  o(this, "name", "modelFloorplanPlugin");
@@ -221,8 +221,8 @@ class li extends G {
221
221
  o(this, "updateSize", () => {
222
222
  if (!this.data || !this.container || !this.wrapper)
223
223
  return !1;
224
- const { min: t, max: e } = this.data.bounding, i = e.x - t.x, s = e.y - t.y, a = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, r = B(this.five, this.wrapper, this.floorIndex, a), n = Math.ceil(i * r), d = Math.ceil(s * r);
225
- return this.size.width === n && this.size.height === d || (this.container.style.width = n + "px", this.container.style.height = d + "px", this.size = { width: n, height: d }), !0;
224
+ const { min: t, max: e } = this.data.bounding, i = e.x - t.x, s = e.y - t.y, n = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, r = B(this.five, this.wrapper, this.floorIndex, n), a = Math.ceil(i * r), d = Math.ceil(s * r);
225
+ return this.size.width === a && this.size.height === d || (this.container.style.width = a + "px", this.container.style.height = d + "px", this.size = { width: a, height: d }), !0;
226
226
  });
227
227
  o(this, "highlight", (t) => {
228
228
  this.state.config.highlightEnable && (this.highlightData = t, this.render());
@@ -231,19 +231,19 @@ class li extends G {
231
231
  this.highlightData = {}, this.render();
232
232
  });
233
233
  o(this, "_disable", (t) => {
234
- var i, s, a;
234
+ var i, s, n;
235
235
  const { userAction: e } = t;
236
- this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, c.BreakOffByDisable), this.showPromise = void 0, (s = this.app) == null || s.$destroy(), this.app = void 0, (a = this.container) == null || a.remove(), this.removeEventListener();
236
+ this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, c.BreakOffByDisable), this.showPromise = void 0, (s = this.app) == null || s.$destroy(), this.app = void 0, (n = this.container) == null || n.remove(), this.removeEventListener();
237
237
  });
238
238
  o(this, "_enable", (t) => {
239
239
  const { userAction: e } = t;
240
240
  this.addEventListener(), this.wrapper && (this.wrapper.append(this.container), this.hooks.emit("enable", { userAction: e }), this.state.visible && this._show({ userAction: e }));
241
241
  });
242
242
  o(this, "_show", (t) => f(this, null, function* () {
243
- var a;
243
+ var n;
244
244
  if (!this.state.enabled)
245
245
  return;
246
- if (!((a = this.fiveUtil.model) != null && a.loaded))
246
+ if (!((n = this.fiveUtil.model) != null && n.loaded))
247
247
  throw new Error(c.ModelNotLoaded);
248
248
  if (!this.data)
249
249
  throw new Error(c.DataNotLoaded);
@@ -257,23 +257,23 @@ class li extends G {
257
257
  userAction: !0
258
258
  }, i = m(m({}, e), t), s = () => f(this, null, function* () {
259
259
  this.hooks.emit("show", { userAction: i.userAction, auto: i.isAutoShow });
260
- let r = !1, n;
260
+ let r = !1, a;
261
261
  this.showRejection = (u) => {
262
- r = !0, n = u;
262
+ r = !0, a = u;
263
263
  };
264
- const [d] = yield k(V(this.five, this.showState, i.userAction));
264
+ const [d] = yield R(V(this.five, this.showState, i.userAction));
265
265
  if (d)
266
266
  throw d;
267
267
  if (r)
268
- throw n ? new Error(n) : new Error(c.UnknownError);
268
+ throw a ? new Error(a) : new Error(c.UnknownError);
269
269
  if (!this.updateSize())
270
270
  throw new Error(c.UpdateSizeError);
271
271
  this.updatePosition(), this.floorIndex = i.floorIndex, this.fiveUtil.model.show(this.floorIndex);
272
272
  });
273
273
  return this.isHiddenByHideFunc = !1, this.showPromise = s().then(() => {
274
274
  this.showPromise = void 0, this.showRejection = void 0;
275
- const r = i.modelOpacity, n = i.immediately ? 0 : $;
276
- E(this.five, r, n), this.render(n), this.hooks.emit("showAnimationEnded", {
275
+ const r = i.modelOpacity, a = i.immediately ? 0 : $;
276
+ E(this.five, r, a), this.render(a), this.hooks.emit("showAnimationEnded", {
277
277
  auto: i.isAutoShow,
278
278
  userAction: i.userAction
279
279
  });
@@ -299,13 +299,13 @@ class li extends G {
299
299
  });
300
300
  /** modelLoaded 之后自动执行 append container 操作 */
301
301
  o(this, "onFiveModelLoaded", () => {
302
- const e = this.five.model.bounding.getCenter(new C.Vector3());
303
- if (this.showState.offset = e, this.state.enabled === !1 || this.wrapper || !this.selector)
302
+ const i = this.five.models.find((n) => n.name === this.five.state.workCode).bounding.getCenter(new C.Vector3());
303
+ if (this.showState.offset = i, this.state.enabled === !1 || this.wrapper || !this.selector)
304
304
  return;
305
- const i = this.selector instanceof Element ? this.selector : document.querySelector(this.selector);
306
- if (!i)
305
+ const s = this.selector instanceof Element ? this.selector : document.querySelector(this.selector);
306
+ if (!s)
307
307
  throw new Error("不正确的父容器选择器");
308
- this.wrapper = i, i.append(this.container);
308
+ this.wrapper = s, s.append(this.container);
309
309
  });
310
310
  /** 更改模型时,自动隐藏户型图 */
311
311
  o(this, "onFiveModeChange", (t) => {
@@ -360,7 +360,7 @@ class li extends G {
360
360
  imageURL: X(e == null ? void 0 : e.staticPrefix, J),
361
361
  imageWidth: 200,
362
362
  imageHeight: 120,
363
- text: (d = (n = e.i18n) == null ? void 0 : n.call(e, "暂无平面图")) != null ? d : "暂无平面图",
363
+ text: (d = (a = e.i18n) == null ? void 0 : a.call(e, "暂无平面图")) != null ? d : "暂无平面图",
364
364
  textFontSize: 14
365
365
  };
366
366
  const i = {
@@ -386,7 +386,7 @@ class li extends G {
386
386
  getRoomAreaText: (p) => (p / 1e6).toFixed(1) + "㎡",
387
387
  getRoomDimensionText: (p, u) => (p / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
388
388
  getRuleDistanceText: (p) => p.toString()
389
- }, s = e ? F(e, ["selector", "scale"]) : {}, a = m(m({}, i.missingFloorConfig), s.missingFloorConfig), r = g(m(m({}, i), s), { missingFloorConfig: a });
389
+ }, s = e ? F(e, ["selector", "scale"]) : {}, n = m(m({}, i.missingFloorConfig), s.missingFloorConfig), r = g(m(m({}, i), s), { missingFloorConfig: n });
390
390
  this.state = { enabled: !0, visible: !1, config: r }, this.panoIndex = t.getCurrentState().panoIndex, this.initContainer(), Y(t).then(this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
391
391
  }
392
392
  load(t, e, i = !0) {
@@ -394,22 +394,22 @@ class li extends G {
394
394
  function s(p) {
395
395
  return Object.prototype.hasOwnProperty.apply(p, ["version"]);
396
396
  }
397
- const a = t;
398
- a && q(a.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
399
- const r = JSON.parse(JSON.stringify(t)), n = s(r) ? r.data : r, d = this.data;
400
- this.data = yield A(n), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, d), e && this.updateState(e, i), this.render();
397
+ const n = t;
398
+ n && q(n.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
399
+ const r = JSON.parse(JSON.stringify(t)), a = s(r) ? r.data : r, d = this.data;
400
+ this.data = yield A(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, d), e && this.updateState(e, i), this.render();
401
401
  });
402
402
  }
403
403
  loadItems(t) {
404
- const { min: e, max: i } = this.data.bounding, s = i.x - e.x, a = i.y - e.y;
405
- this.data.floorDatas.forEach((r, n) => {
406
- r.items = t[n].filter((d) => d.displayName === "Item-SimpleItem").map((d) => {
404
+ const { min: e, max: i } = this.data.bounding, s = i.x - e.x, n = i.y - e.y;
405
+ this.data.floorDatas.forEach((r, a) => {
406
+ r.items = t[a].filter((d) => d.displayName === "Item-SimpleItem").map((d) => {
407
407
  const { x: p, y: u, width: P, height: x, notes: y, type: w, id: I, rotateX: M, rotateY: L, rotateZ: _ = 0 } = d;
408
408
  return {
409
409
  id: I,
410
- positionInImage: { x: (p - e.x) / s, y: (i.y - u) / a },
410
+ positionInImage: { x: (p - e.x) / s, y: (i.y - u) / n },
411
411
  width: P / s,
412
- height: x / a,
412
+ height: x / n,
413
413
  src: Z + S[w].href.replace(/\{\{\stheme\s\}\}/, "realsee"),
414
414
  notes: y || S[w].description,
415
415
  rotateX: M,
@@ -442,8 +442,8 @@ class li extends G {
442
442
  setState(t, e = {}) {
443
443
  const i = this.state, s = e.userAction !== void 0 ? e.userAction : !0;
444
444
  if (this.updateState(t, s), t.enabled !== void 0 && i.enabled !== t.enabled && (t.enabled ? this._enable({ userAction: s }) : this._disable({ userAction: s })), t.visible !== void 0 && i.visible !== t.visible) {
445
- const a = { userAction: s };
446
- t.visible ? this._show(a) : this._hide(a);
445
+ const n = { userAction: s };
446
+ t.visible ? this._show(n) : this._hide(n);
447
447
  }
448
448
  }
449
449
  changeConfigs(t, e = !0) {
@@ -455,8 +455,8 @@ class li extends G {
455
455
  const t = j(this.five, this.floorIndex, this.state.config.attachedTo), e = (r = this.fiveUtil.model) == null ? void 0 : r.bounding.getCenter(new C.Vector3()).setY(t);
456
456
  if (!e)
457
457
  return;
458
- const i = e.clone().project(this.five.camera), s = (i.x + 1) / 2, a = -(i.y - 1) / 2;
459
- this.container.style.left = s * 100 + "%", this.container.style.top = a * 100 + "%";
458
+ const i = e.clone().project(this.five.camera), s = (i.x + 1) / 2, n = -(i.y - 1) / 2;
459
+ this.container.style.left = s * 100 + "%", this.container.style.top = n * 100 + "%";
460
460
  }
461
461
  formatData(t) {
462
462
  return f(this, null, function* () {
@@ -465,8 +465,8 @@ class li extends G {
465
465
  }
466
466
  updateState(t, e) {
467
467
  var r;
468
- const i = this.state, s = (r = t.config) != null && r.missingFloorConfig ? m(m({}, i.config.missingFloorConfig), t.config.missingFloorConfig) : i.config.missingFloorConfig, a = t.config ? g(m(m({}, i.config), t.config), { missingFloorConfig: s }) : i.config;
469
- this.state = g(m(m({}, this.state), t), { config: a }), !U(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
468
+ const i = this.state, s = (r = t.config) != null && r.missingFloorConfig ? m(m({}, i.config.missingFloorConfig), t.config.missingFloorConfig) : i.config.missingFloorConfig, n = t.config ? g(m(m({}, i.config), t.config), { missingFloorConfig: s }) : i.config;
469
+ this.state = g(m(m({}, this.state), t), { config: n }), !U(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
470
470
  }
471
471
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
472
472
  *