@realsee/dnalogel 2.27.4-2 → 2.27.4

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 (350) hide show
  1. package/dist/AreaMakerPlugin/index.d.ts +3 -3
  2. package/dist/floorplan/utils/correctFiveState.d.ts +0 -2
  3. package/dist/index.cjs.js +49 -49
  4. package/dist/index.js +2005 -2009
  5. package/dist/index.umd.js +41 -41
  6. package/dist/shared-utils/three/loadVideoTexture.d.ts +1 -1
  7. package/libs/AreaMakerPlugin/index.d.ts +3 -3
  8. package/libs/AreaMakerPlugin/index.js +1 -1
  9. package/libs/base/BasePlugin.js +1 -1
  10. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +48 -49
  11. package/libs/floorplan/utils/correctFiveState.d.ts +0 -2
  12. package/libs/floorplan/utils/correctFiveState.js +28 -28
  13. package/libs/index.js +6 -6
  14. package/libs/shared-utils/device.js +0 -1
  15. package/libs/shared-utils/five/changeMode.js +29 -32
  16. package/libs/shared-utils/logger.js +1 -1
  17. package/libs/shared-utils/three/loadVideoTexture.d.ts +1 -1
  18. package/libs/shared-utils/three/loadVideoTexture.js +6 -6
  19. package/package.json +1 -1
  20. package/docs/.nojekyll +0 -1
  21. package/docs/assets/highlight.css +0 -120
  22. package/docs/assets/main.js +0 -58
  23. package/docs/assets/search.js +0 -1
  24. package/docs/assets/style.css +0 -1367
  25. package/docs/classes/AreaMakerPluginPluginType.AreaMakerController.html +0 -711
  26. package/docs/classes/AreaMakerPluginPluginType.AreaMakerItem.html +0 -671
  27. package/docs/classes/CSS3DRender.html +0 -769
  28. package/docs/classes/CruisePluginController.html +0 -668
  29. package/docs/classes/GuideLineItem.GuideLineItem.html +0 -487
  30. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -788
  31. package/docs/classes/Magnifier.html +0 -476
  32. package/docs/classes/ModelRoomLabelController.html +0 -394
  33. package/docs/classes/Object3DHelperController.html +0 -636
  34. package/docs/classes/PaintBrush.html +0 -498
  35. package/docs/classes/PanoMeasurePluginLine.html +0 -518
  36. package/docs/classes/PanoMeasurePluginModel.html +0 -567
  37. package/docs/classes/PanoMeasurePluginPoint.html +0 -358
  38. package/docs/classes/PanoMeasurePluginPolyline.html +0 -563
  39. package/docs/classes/PanoTagPluginController.html +0 -1086
  40. package/docs/classes/Util.BetterTween.html +0 -411
  41. package/docs/classes/Util.Interval.html +0 -427
  42. package/docs/classes/Util.LineSegments.html +0 -379
  43. package/docs/classes/Util.Magnifier.html +0 -498
  44. package/docs/classes/Util.Object3D.html +0 -401
  45. package/docs/classes/Util.PointDomHelper.html +0 -402
  46. package/docs/classes/Util.PointHelper.html +0 -393
  47. package/docs/classes/Util.PointSelectorHelper.html +0 -449
  48. package/docs/classes/Util.Rectangle.html +0 -450
  49. package/docs/enums/CameraMovementEffect.html +0 -306
  50. package/docs/enums/ContentType.html +0 -442
  51. package/docs/enums/DIRECTION.html +0 -316
  52. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -316
  53. package/docs/enums/DimensionType.html +0 -306
  54. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -309
  55. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -316
  56. package/docs/enums/PaintBrushTypeEnum.html +0 -309
  57. package/docs/enums/PointType.html +0 -306
  58. package/docs/enums/Rotation.html +0 -313
  59. package/docs/functions/AreaMakerPluginPlugin.html +0 -284
  60. package/docs/functions/CSS3DRenderPlugin.html +0 -284
  61. package/docs/functions/CameraMovementPlugin.html +0 -289
  62. package/docs/functions/CruisePlugin.html +0 -286
  63. package/docs/functions/GuideLinePlugin.html +0 -286
  64. package/docs/functions/ItemLabelPlugin.html +0 -286
  65. package/docs/functions/MapviewFloorplanPlugin.html +0 -286
  66. package/docs/functions/ModelChassisCompassPlugin.html +0 -289
  67. package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -289
  68. package/docs/functions/ModelFloorplanPlugin.html +0 -286
  69. package/docs/functions/ModelItemLabelPlugin.html +0 -286
  70. package/docs/functions/ModelRoomLabelPlugin.html +0 -284
  71. package/docs/functions/ModelTVVideoPlugin.html +0 -286
  72. package/docs/functions/ModelViewPlugin.html +0 -289
  73. package/docs/functions/Object3DHelperPlugin.html +0 -284
  74. package/docs/functions/PanoCompassPlugin.html +0 -286
  75. package/docs/functions/PanoCursorRaycasterPlugin.html +0 -290
  76. package/docs/functions/PanoDoorLabelPlugin.html +0 -286
  77. package/docs/functions/PanoFloorplanRadarPlugin.html +0 -286
  78. package/docs/functions/PanoMeasurePlugin.html +0 -286
  79. package/docs/functions/PanoRulerPlugin.html +0 -289
  80. package/docs/functions/PanoRulerProPlugin.html +0 -289
  81. package/docs/functions/PanoSpatialTagPlugin.html +0 -289
  82. package/docs/functions/PanoTagPlugin.html +0 -291
  83. package/docs/functions/PanoVideoPlugin.html +0 -295
  84. package/docs/functions/PipelinePlugin.html +0 -284
  85. package/docs/functions/TopviewFloorplanPlugin.html +0 -286
  86. package/docs/functions/Util.absoluteUrl.html +0 -321
  87. package/docs/functions/Util.equal.html +0 -333
  88. package/docs/functions/Util.getCoordsFromClient.html +0 -323
  89. package/docs/functions/Util.getCoordsFromElement.html +0 -323
  90. package/docs/functions/Util.getFrameTime.html +0 -315
  91. package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -323
  92. package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -323
  93. package/docs/functions/Util.isAbsoluteURL.html +0 -316
  94. package/docs/functions/Util.isModelLike.html +0 -316
  95. package/docs/functions/Util.isNil.html +0 -324
  96. package/docs/functions/Util.isPanoramaLike.html +0 -316
  97. package/docs/functions/Util.nextFrame.html +0 -329
  98. package/docs/functions/Util.notNil.html +0 -324
  99. package/docs/functions/Util.requestAnimationFrameInterval.html +0 -345
  100. package/docs/functions/Util.tweenProgress.html +0 -318
  101. package/docs/functions/Util.uuid.html +0 -314
  102. package/docs/functions/pluginFlag.html +0 -284
  103. package/docs/index.html +0 -350
  104. package/docs/interfaces/AddTagConfig.html +0 -299
  105. package/docs/interfaces/AreaMakerPluginPluginType.AnimeOptions.html +0 -325
  106. package/docs/interfaces/AreaMakerPluginPluginType.Config.html +0 -330
  107. package/docs/interfaces/AreaMakerPluginPluginType.EventMap.html +0 -616
  108. package/docs/interfaces/AreaMakerPluginPluginType.Params.html +0 -329
  109. package/docs/interfaces/AreaMakerPluginPluginType.ServerAreaMakerItem.html +0 -379
  110. package/docs/interfaces/AreaMakerPluginPluginType.ServerAreaMakerItemV1.html +0 -364
  111. package/docs/interfaces/AreaMakerPluginPluginType.ServerDataV1.html +0 -329
  112. package/docs/interfaces/AreaMakerPluginPluginType.ServerDataV2.html +0 -322
  113. package/docs/interfaces/AreaMakerPluginPluginType.ShowHideOptions.html +0 -321
  114. package/docs/interfaces/AreaMakerPluginPluginType.State.html +0 -350
  115. package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -445
  116. package/docs/interfaces/CSS3DRenderPluginState.html +0 -321
  117. package/docs/interfaces/CameraMovementPluginExportType.html +0 -354
  118. package/docs/interfaces/CruisePluginTypes.Config.html +0 -355
  119. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -357
  120. package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -692
  121. package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -381
  122. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -417
  123. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -407
  124. package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -347
  125. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -315
  126. package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -404
  127. package/docs/interfaces/EventMap.html +0 -538
  128. package/docs/interfaces/FloorplanBounding.html +0 -328
  129. package/docs/interfaces/FloorplanData.html +0 -331
  130. package/docs/interfaces/FloorplanEntrance.html +0 -356
  131. package/docs/interfaces/FloorplanExtraObject.html +0 -346
  132. package/docs/interfaces/FloorplanExtraObject3D.html +0 -335
  133. package/docs/interfaces/FloorplanFloorData.html +0 -324
  134. package/docs/interfaces/FloorplanImagePosition.html +0 -310
  135. package/docs/interfaces/FloorplanObserver.html +0 -328
  136. package/docs/interfaces/FloorplanOutlineItem.html +0 -324
  137. package/docs/interfaces/FloorplanPosition.html +0 -310
  138. package/docs/interfaces/FloorplanRoomItem.html +0 -375
  139. package/docs/interfaces/FloorplanRoomLabelItem.html +0 -316
  140. package/docs/interfaces/FloorplanServerBounding.html +0 -328
  141. package/docs/interfaces/FloorplanServerComputedData.html +0 -327
  142. package/docs/interfaces/FloorplanServerData.html +0 -310
  143. package/docs/interfaces/FloorplanServerDoorItem.html +0 -327
  144. package/docs/interfaces/FloorplanServerDoorPosition.html +0 -313
  145. package/docs/interfaces/FloorplanServerEntrance.html +0 -356
  146. package/docs/interfaces/FloorplanServerFloorData.html +0 -324
  147. package/docs/interfaces/FloorplanServerImagePosition.html +0 -310
  148. package/docs/interfaces/FloorplanServerObserver.html +0 -328
  149. package/docs/interfaces/FloorplanServerOutlineItem.html +0 -324
  150. package/docs/interfaces/FloorplanServerPosition.html +0 -310
  151. package/docs/interfaces/FloorplanServerRoomItem.html +0 -387
  152. package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -316
  153. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -319
  154. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -357
  155. package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -521
  156. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -352
  157. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -343
  158. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -410
  159. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -342
  160. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -467
  161. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -339
  162. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -467
  163. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -304
  164. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -325
  165. package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -350
  166. package/docs/interfaces/GuideLinePluginType.Route.html +0 -366
  167. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -348
  168. package/docs/interfaces/HelperOffset.html +0 -328
  169. package/docs/interfaces/ImagePlaneGroup.html +0 -302
  170. package/docs/interfaces/ItemLabelPluginData.html +0 -299
  171. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -384
  172. package/docs/interfaces/ItemLabelPluginParametersType.html +0 -320
  173. package/docs/interfaces/MinMax.html +0 -306
  174. package/docs/interfaces/ModelChassisCompassPluginData.html +0 -306
  175. package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -342
  176. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -306
  177. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -313
  178. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -350
  179. package/docs/interfaces/ModelItemLabelPluginData.html +0 -299
  180. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -384
  181. package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -306
  182. package/docs/interfaces/ModelRoomLabelPluginData.html +0 -299
  183. package/docs/interfaces/ModelTVVideoPluginData.html +0 -320
  184. package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -344
  185. package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -299
  186. package/docs/interfaces/ModelViewPluginExportType.html +0 -412
  187. package/docs/interfaces/Object3DHelperState.html +0 -313
  188. package/docs/interfaces/ObjectHelperControllers.html +0 -320
  189. package/docs/interfaces/PaintBrushAction.html +0 -359
  190. package/docs/interfaces/PaintBrushConfigs.html +0 -357
  191. package/docs/interfaces/PaintBrushState.html +0 -341
  192. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -421
  193. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -278
  194. package/docs/interfaces/PanoMeasureParameterType.html +0 -445
  195. package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -313
  196. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -310
  197. package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -306
  198. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -316
  199. package/docs/interfaces/PanoRulerPluginExportType.html +0 -373
  200. package/docs/interfaces/PanoRulerPluginOptions.html +0 -322
  201. package/docs/interfaces/PanoRulerPluginParameterType.html +0 -313
  202. package/docs/interfaces/PanoRulerProPluginExportType.html +0 -349
  203. package/docs/interfaces/PanoRulerProPluginOptions.html +0 -319
  204. package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -306
  205. package/docs/interfaces/PanoRulerProPluginState.html +0 -313
  206. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -292
  207. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -281
  208. package/docs/interfaces/PanoSpatialTagPluginData.html +0 -349
  209. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -331
  210. package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -427
  211. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -327
  212. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -348
  213. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -334
  214. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -327
  215. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -319
  216. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -337
  217. package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -310
  218. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -416
  219. package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -310
  220. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -345
  221. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -364
  222. package/docs/interfaces/Point.html +0 -313
  223. package/docs/interfaces/Room.html +0 -320
  224. package/docs/interfaces/RoomInfo.html +0 -306
  225. package/docs/interfaces/RoomLabel.html +0 -382
  226. package/docs/interfaces/RoomRules.html +0 -281
  227. package/docs/interfaces/Rooms.html +0 -281
  228. package/docs/interfaces/Scissor.html +0 -340
  229. package/docs/interfaces/State.html +0 -327
  230. package/docs/interfaces/TagCacheInterface.html +0 -351
  231. package/docs/interfaces/TagConfig.html +0 -541
  232. package/docs/interfaces/TagGLTFObjectGroup.html +0 -302
  233. package/docs/interfaces/TagIconUrl.html +0 -359
  234. package/docs/interfaces/TagObjectGroup.html +0 -302
  235. package/docs/interfaces/TagStyle.html +0 -312
  236. package/docs/interfaces/Tags.html +0 -542
  237. package/docs/interfaces/TemporaryState.html +0 -299
  238. package/docs/interfaces/Util.MagnifierParameter.html +0 -386
  239. package/docs/interfaces/Util.MouseGroupParameter.html +0 -345
  240. package/docs/interfaces/Util.PointIntersection.html +0 -360
  241. package/docs/modules/AreaMakerPluginPluginType.html +0 -319
  242. package/docs/modules/CruisePluginTypes.html +0 -324
  243. package/docs/modules/GuideLineItem.html +0 -285
  244. package/docs/modules/GuideLineModeItem.html +0 -290
  245. package/docs/modules/GuideLinePluginType.html +0 -344
  246. package/docs/modules/PanoVideoPluginType.html +0 -297
  247. package/docs/modules/Util.html +0 -345
  248. package/docs/modules.html +0 -532
  249. package/docs/types/AreaMakerPluginPluginType.AreaMakerItemEventMap.html +0 -327
  250. package/docs/types/AreaMakerPluginPluginType.PluginData.html +0 -297
  251. package/docs/types/AreaMakerPluginPluginType.ServerData.html +0 -297
  252. package/docs/types/ArrayPosition.html +0 -275
  253. package/docs/types/AudioAppearance.html +0 -275
  254. package/docs/types/AudioTagTypeConfigKey.html +0 -275
  255. package/docs/types/CSS3DRenderExportType.html +0 -275
  256. package/docs/types/CSS3DRenderPluginExportType.html +0 -275
  257. package/docs/types/CSS3DRenderPluginParameterType.html +0 -275
  258. package/docs/types/ClassFunctionParameters.html +0 -282
  259. package/docs/types/Color.html +0 -275
  260. package/docs/types/ContentTypeConfigKey.html +0 -275
  261. package/docs/types/ContentTypeConfigKeySplit.html +0 -275
  262. package/docs/types/ContentTypeMap.html +0 -275
  263. package/docs/types/Create3DDomContainerReturnType.html +0 -275
  264. package/docs/types/Create3DElementReturnType.html +0 -275
  265. package/docs/types/CruisePluginExportType.html +0 -275
  266. package/docs/types/CruisePluginTypes.CruiseData.html +0 -314
  267. package/docs/types/CruisePluginTypes.MoveEffect.html +0 -291
  268. package/docs/types/DeprecatedMediaPlaneProperty.html +0 -287
  269. package/docs/types/DeprecatedTagProperty.html +0 -290
  270. package/docs/types/Direction-1.html +0 -275
  271. package/docs/types/Direction4.html +0 -275
  272. package/docs/types/ElementRenderer.html +0 -299
  273. package/docs/types/FloorplanRuleLabels.html +0 -278
  274. package/docs/types/FloorplanServerRuleLabels.html +0 -275
  275. package/docs/types/GuideLinePluginExportType.html +0 -275
  276. package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -347
  277. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -368
  278. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -301
  279. package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -304
  280. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -304
  281. package/docs/types/GuideLinePluginType.PathItem.html +0 -304
  282. package/docs/types/GuideLinePluginType.PluginData.html +0 -313
  283. package/docs/types/HelperEventMap.html +0 -513
  284. package/docs/types/LoadTagConfig.html +0 -275
  285. package/docs/types/MapviewFloorplanPluginParameterType.html +0 -275
  286. package/docs/types/MapviewFloorplanPluginReturnType.html +0 -275
  287. package/docs/types/MediaData.html +0 -291
  288. package/docs/types/MediaStore.html +0 -280
  289. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -282
  290. package/docs/types/ModelFloorplanPluginParameterType.html +0 -275
  291. package/docs/types/ModelFloorplanPluginReturnType.html +0 -275
  292. package/docs/types/ModelRoomLabelPluginParameters.html +0 -275
  293. package/docs/types/ModelRoomLabelPluginReturnType.html +0 -275
  294. package/docs/types/MoveArgs.html +0 -285
  295. package/docs/types/MoveOpts.html +0 -283
  296. package/docs/types/Object3DHelperEventMap.html +0 -368
  297. package/docs/types/ObjectFit.html +0 -275
  298. package/docs/types/PaintBrushEventMap.html +0 -306
  299. package/docs/types/PanoCompassPluginData.html +0 -275
  300. package/docs/types/PanoCompassPluginExportType.html +0 -275
  301. package/docs/types/PanoCompassPluginParameterType.html +0 -275
  302. package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -275
  303. package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -275
  304. package/docs/types/PanoIndex.html +0 -275
  305. package/docs/types/PanoMeasurePluginEvent.html +0 -275
  306. package/docs/types/PanoMeasureReturnType.html +0 -275
  307. package/docs/types/PanoSpatialTagPluginId.html +0 -275
  308. package/docs/types/PanoTagPluginExportInterface.html +0 -275
  309. package/docs/types/PanoTagPluginParamsInterface.html +0 -275
  310. package/docs/types/PanoVideoPluginParameterType.html +0 -275
  311. package/docs/types/PanoVideoPluginReturnType.html +0 -275
  312. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -283
  313. package/docs/types/PipelinePluginParameterType.html +0 -275
  314. package/docs/types/PipelinePluginReturnType.html +0 -275
  315. package/docs/types/PlaneTag.html +0 -283
  316. package/docs/types/Point2DTag.html +0 -283
  317. package/docs/types/Point3DTag.html +0 -283
  318. package/docs/types/PointTag.html +0 -280
  319. package/docs/types/PointTagInstance.html +0 -280
  320. package/docs/types/Position.html +0 -275
  321. package/docs/types/RotateArgs.html +0 -287
  322. package/docs/types/RotateOpts.html +0 -283
  323. package/docs/types/RuleLabelsKey.html +0 -275
  324. package/docs/types/RuleLabelsValue.html +0 -275
  325. package/docs/types/StickType.html +0 -275
  326. package/docs/types/Tag.html +0 -341
  327. package/docs/types/Tag2D.html +0 -283
  328. package/docs/types/Tag3D.html +0 -283
  329. package/docs/types/TagConfigByKey.html +0 -280
  330. package/docs/types/TagContentType.html +0 -275
  331. package/docs/types/TagDimensionType.html +0 -277
  332. package/docs/types/TagElement.html +0 -285
  333. package/docs/types/TagEvents.html +0 -328
  334. package/docs/types/TagGLTFObject.html +0 -298
  335. package/docs/types/TagHooks.html +0 -275
  336. package/docs/types/TagId.html +0 -275
  337. package/docs/types/TagInstance.html +0 -347
  338. package/docs/types/TagPointType.html +0 -278
  339. package/docs/types/TagRendererMap.html +0 -280
  340. package/docs/types/TopviewFloorplanPluginParameterType.html +0 -275
  341. package/docs/types/TopviewFloorplanPluginReturnType.html +0 -275
  342. package/docs/types/WorkCode.html +0 -275
  343. package/docs/variables/FLOOR_TYPE_MAP.html +0 -285
  344. package/docs/variables/PLUGIN.html +0 -275
  345. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -278
  346. package/docs/variables/ROOM_TYPE_MAP.html +0 -285
  347. package/docs/variables/defaultGlobalConfig.html +0 -275
  348. package/docs/variables/itemLabelPluginServerParams.html +0 -282
  349. package/docs/variables/modelItemLabelPluginServerParams.html +0 -282
  350. package/docs/variables/modelRoomLabelPluginServerParams.html +0 -282
@@ -1,5 +1,5 @@
1
1
  import * as THREE from 'three';
2
- import { type Overwrite } from '../../typings/utils.type';
2
+ import type { Overwrite } from '../../typings/utils.type';
3
3
  export default function loadVideoTexture(src: string, videoElement?: HTMLVideoElement): Promise<Overwrite<THREE.VideoTexture, {
4
4
  image: HTMLVideoElement;
5
5
  }>>;
@@ -1,4 +1,4 @@
1
1
  import type { Five } from '@realsee/five';
2
- import type * as AreaMakerPluginType from './typing';
3
- export declare const AreaMakerPlugin: (five: Five) => AreaMakerPluginType.AreaMakerController;
4
- export type { AreaMakerPluginType };
2
+ import type * as AreaMakerPluginPluginType from './typing';
3
+ export declare const AreaMakerPluginPlugin: (five: Five) => AreaMakerPluginPluginType.AreaMakerController;
4
+ export type { AreaMakerPluginPluginType };
@@ -33,5 +33,5 @@ import "../components/AreaLabel/Assets/roomLabelBg.js";
33
33
  import "../shared-utils/math/planimetry.js";
34
34
  const H = (r) => new o(r);
35
35
  export {
36
- H as AreaMakerPlugin
36
+ H as AreaMakerPluginPlugin
37
37
  };
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "2.27.4-2");
17
+ i(this, "VERSION", "2.27.4");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
@@ -1,18 +1,18 @@
1
- var A = Object.defineProperty, P = Object.defineProperties;
2
- var E = Object.getOwnPropertyDescriptors;
3
- var g = Object.getOwnPropertySymbols;
4
- var C = Object.prototype.hasOwnProperty, I = Object.prototype.propertyIsEnumerable;
5
- var m = (d, r, t) => r in d ? A(d, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[r] = t, c = (d, r) => {
6
- for (var t in r || (r = {}))
7
- C.call(r, t) && m(d, t, r[t]);
8
- if (g)
9
- for (var t of g(r))
10
- I.call(r, t) && m(d, t, r[t]);
1
+ var S = Object.defineProperty, A = Object.defineProperties;
2
+ var P = Object.getOwnPropertyDescriptors;
3
+ var w = Object.getOwnPropertySymbols;
4
+ var E = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
5
+ var m = (d, n, t) => n in d ? S(d, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[n] = t, c = (d, n) => {
6
+ for (var t in n || (n = {}))
7
+ E.call(n, t) && m(d, t, n[t]);
8
+ if (w)
9
+ for (var t of w(n))
10
+ C.call(n, t) && m(d, t, n[t]);
11
11
  return d;
12
- }, v = (d, r) => P(d, E(r));
13
- var o = (d, r, t) => (m(d, typeof r != "symbol" ? r + "" : r, t), t);
14
- var u = (d, r, t) => new Promise((e, i) => {
15
- var n = (a) => {
12
+ }, v = (d, n) => A(d, P(n));
13
+ var o = (d, n, t) => (m(d, typeof n != "symbol" ? n + "" : n, t), t);
14
+ var u = (d, n, t) => new Promise((e, i) => {
15
+ var r = (a) => {
16
16
  try {
17
17
  s(t.next(a));
18
18
  } catch (l) {
@@ -24,21 +24,21 @@ var u = (d, r, t) => new Promise((e, i) => {
24
24
  } catch (l) {
25
25
  i(l);
26
26
  }
27
- }, s = (a) => a.done ? e(a.value) : Promise.resolve(a.value).then(n, h);
28
- s((t = t.apply(d, r)).next());
27
+ }, s = (a) => a.done ? e(a.value) : Promise.resolve(a.value).then(r, h);
28
+ s((t = t.apply(d, n)).next());
29
29
  });
30
- import * as w from "three";
30
+ import * as I from "three";
31
31
  import { to as y } from "../../shared-utils/to.js";
32
32
  import { equal as F } from "../../shared-utils/equal.js";
33
33
  import { Main as x } from "../Components/Main.js";
34
- import { formatData as b } from "../utils/formatData.js";
34
+ import { formatData as g } from "../utils/formatData.js";
35
35
  import { CAMERA_IMAGE as M } from "../Assets/camera.js";
36
36
  import { omit as _ } from "../../shared-utils/filter.js";
37
37
  import { FLOOR_PLAN_ATTACHED_TO as L } from "../constant.js";
38
38
  import { Controller as O } from "../../base/BasePluginWithData.js";
39
39
  import { getPxmm as D, getAttachedY as T } from "../../shared-utils/getPxmm.js";
40
40
  import { checkShowState as k, correctFiveState as H } from "../utils/correctFiveState.js";
41
- import { changeModelCanvasOpacity as S } from "../../shared-utils/changeModelCanvasOpacity.js";
41
+ import { changeModelCanvasOpacity as b } from "../../shared-utils/changeModelCanvasOpacity.js";
42
42
  import { FloorplanErrorType as f, SHOW_ANIME_DURATION as R } from "../utils/constant.js";
43
43
  import "../../shared-utils/isTruelyObject.js";
44
44
  import "../../vendor/svelte/internal/index.js";
@@ -90,11 +90,11 @@ import "../../shared-utils/absoluteUrl.js";
90
90
  import "../../shared-utils/nearlyEqual.js";
91
91
  import "../../shared-utils/five/changeMode.js";
92
92
  function G(d) {
93
- const { latitude: r, longitude: t } = d, e = Math.abs(r - Math.PI / 2) > 5 * Math.PI / 180, i = t > 5 * (Math.PI / 180) && t < 355 * (Math.PI / 180);
93
+ const { latitude: n, longitude: t } = d, e = Math.abs(n - Math.PI / 2) > 5 * Math.PI / 180, i = t > 5 * (Math.PI / 180) && t < 355 * (Math.PI / 180);
94
94
  return e || i;
95
95
  }
96
96
  function W(d) {
97
- const { latitude: r, longitude: t } = d, e = Math.abs(r - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
97
+ const { latitude: n, longitude: t } = d, e = Math.abs(n - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
98
98
  return e && i;
99
99
  }
100
100
  class Jt extends O {
@@ -160,7 +160,7 @@ class Jt extends O {
160
160
  o(this, "updateSize", () => {
161
161
  if (!this.data || !k(this.five, this.showState) || !this.container || !this.wrapper)
162
162
  return;
163
- const { min: t, max: e } = this.data.bounding, i = e.x - t.x, n = e.y - t.y, h = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, s = D(this.five, this.wrapper, this.floorIndex, h), a = Math.ceil(i * s), l = Math.ceil(n * s);
163
+ const { min: t, max: e } = this.data.bounding, i = e.x - t.x, r = e.y - t.y, h = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, s = D(this.five, this.wrapper, this.floorIndex, h), a = Math.ceil(i * s), l = Math.ceil(r * s);
164
164
  this.size.width === a && this.size.height === l || (this.container.style.width = a + "px", this.container.style.height = l + "px", this.size = { width: a, height: l });
165
165
  });
166
166
  o(this, "highlight", (t) => {
@@ -170,9 +170,9 @@ class Jt extends O {
170
170
  this.highlightData = {}, this.render();
171
171
  });
172
172
  o(this, "_disable", (t) => {
173
- var i, n, h;
173
+ var i, r, h;
174
174
  const { userAction: e } = t;
175
- this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, f.BreakOffByDisable), this.showPromise = void 0, (n = this.app) == null || n.$destroy(), this.app = void 0, (h = this.container) == null || h.remove(), this.removeEventListener();
175
+ this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, f.BreakOffByDisable), this.showPromise = void 0, (r = this.app) == null || r.$destroy(), this.app = void 0, (h = this.container) == null || h.remove(), this.removeEventListener();
176
176
  });
177
177
  o(this, "_enable", (t) => {
178
178
  const { userAction: e } = t;
@@ -194,7 +194,7 @@ class Jt extends O {
194
194
  immediately: !1,
195
195
  isAutoShow: !1,
196
196
  userAction: !0
197
- }, i = c(c({}, e), t), n = () => u(this, null, function* () {
197
+ }, i = c(c({}, e), t), r = () => u(this, null, function* () {
198
198
  this.hooks.emit("show", { userAction: i.userAction, auto: i.isAutoShow });
199
199
  let s = !1, a;
200
200
  this.showRejection = (p) => {
@@ -207,10 +207,10 @@ class Jt extends O {
207
207
  throw a ? new Error(a) : new Error(f.UnknownError);
208
208
  this.updateSize(), this.updatePosition(), this.floorIndex = i.floorIndex, this.five.model.show(this.floorIndex);
209
209
  });
210
- return this.isHiddenByHideFunc = !1, this.showPromise = n().then(() => {
210
+ return this.isHiddenByHideFunc = !1, this.showPromise = r().then(() => {
211
211
  this.showPromise = void 0, this.showRejection = void 0;
212
212
  const s = i.modelOpacity, a = i.immediately ? 0 : R;
213
- S(this.five, s, a), this.render(a), this.hooks.emit("showAnimationEnded", {
213
+ b(this.five, s, a), this.render(a), this.hooks.emit("showAnimationEnded", {
214
214
  auto: i.isAutoShow,
215
215
  userAction: i.userAction
216
216
  });
@@ -220,13 +220,13 @@ class Jt extends O {
220
220
  }), this.showPromise;
221
221
  }));
222
222
  o(this, "_hide", (t) => {
223
- var n;
224
- (n = this.showRejection) == null || n.call(this, f.BreakOffByHide), this.showPromise = void 0;
223
+ var r;
224
+ (r = this.showRejection) == null || r.call(this, f.BreakOffByHide), this.showPromise = void 0;
225
225
  const i = c(c({}, {
226
226
  userAction: !0,
227
227
  isAutoHide: !1
228
228
  }), t);
229
- S(this.five, 1, 0), this.hooks.emit("hide", { auto: i.isAutoHide, userAction: i.userAction }), this.render();
229
+ b(this.five, 1, 0), this.hooks.emit("hide", { auto: i.isAutoHide, userAction: i.userAction }), this.render();
230
230
  });
231
231
  o(this, "handleClick", () => {
232
232
  if (!this.state.visible)
@@ -236,13 +236,12 @@ class Jt extends O {
236
236
  });
237
237
  /** modelLoaded 之后自动执行 append container 操作 */
238
238
  o(this, "onFiveModelLoaded", () => {
239
- const e = this.five.model.bounding.getCenter(new w.Vector3());
240
- if (this.showState.offset = e, this.state.enabled === !1 || this.wrapper || !this.selector)
239
+ if (this.state.enabled === !1 || this.wrapper || !this.selector)
241
240
  return;
242
- const i = this.selector instanceof Element ? this.selector : document.querySelector(this.selector);
243
- if (!i)
241
+ const t = this.selector instanceof Element ? this.selector : document.querySelector(this.selector);
242
+ if (!t)
244
243
  throw new Error("不正确的父容器选择器");
245
- this.wrapper = i, i.append(this.container);
244
+ this.wrapper = t, t.append(this.container);
246
245
  });
247
246
  /** 更改模型时,自动隐藏户型图 */
248
247
  o(this, "onFiveModeChange", (t) => {
@@ -293,7 +292,7 @@ class Jt extends O {
293
292
  mode: "Mapview",
294
293
  longitude: 0,
295
294
  latitude: Math.PI / 2,
296
- fov: 80
295
+ fov: 90
297
296
  };
298
297
  const i = {
299
298
  northDesc: "北",
@@ -313,7 +312,7 @@ class Jt extends O {
313
312
  adaptiveRoomLabelVisibleEnable: !0,
314
313
  getRoomAreaText: (s) => (s / 1e6).toFixed(1) + "㎡",
315
314
  getRuleDistanceText: (s) => s.toString()
316
- }, n = e ? _(e, ["selector", "scale"]) : {}, h = c(c({}, i), n);
315
+ }, r = e ? _(e, ["selector", "scale"]) : {}, h = c(c({}, i), r);
317
316
  this.state = {
318
317
  enabled: !0,
319
318
  visible: !1,
@@ -322,13 +321,13 @@ class Jt extends O {
322
321
  }
323
322
  load(t, e, i = !0) {
324
323
  return u(this, null, function* () {
325
- function n(p) {
324
+ function r(p) {
326
325
  return Object.prototype.hasOwnProperty.apply(p, ["version"]);
327
326
  }
328
327
  const h = t;
329
328
  h && !h.version && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
330
- const s = JSON.parse(JSON.stringify(t)), a = n(s) ? s.data : s, l = this.data;
331
- this.data = yield b(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, l), e && this.updateState(e, i), this.render();
329
+ const s = JSON.parse(JSON.stringify(t)), a = r(s) ? s.data : s, l = this.data;
330
+ this.data = yield g(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, l), e && this.updateState(e, i), this.render();
332
331
  });
333
332
  }
334
333
  /** 把插件的渲染DOM插入到对应的容器中去 */
@@ -352,9 +351,9 @@ class Jt extends O {
352
351
  }
353
352
  /** 更改插件 State */
354
353
  setState(t, e = {}) {
355
- const i = this.state, n = e.userAction !== void 0 ? e.userAction : !0;
356
- if (this.updateState(t, n), t.enabled !== void 0 && i.enabled !== t.enabled && (t.enabled ? this._enable({ userAction: n }) : this._disable({ userAction: n })), t.visible !== void 0 && i.visible !== t.visible) {
357
- const h = { userAction: n };
354
+ const i = this.state, r = e.userAction !== void 0 ? e.userAction : !0;
355
+ if (this.updateState(t, r), t.enabled !== void 0 && i.enabled !== t.enabled && (t.enabled ? this._enable({ userAction: r }) : this._disable({ userAction: r })), t.visible !== void 0 && i.visible !== t.visible) {
356
+ const h = { userAction: r };
358
357
  t.visible ? this._show(h) : this._hide(h);
359
358
  }
360
359
  }
@@ -364,20 +363,20 @@ class Jt extends O {
364
363
  /** 更新户型图位置 */
365
364
  updatePosition() {
366
365
  var s;
367
- const t = T(this.five, this.floorIndex, this.state.config.attachedTo), e = (s = this.five.model) == null ? void 0 : s.bounding.getCenter(new w.Vector3()).setY(t);
366
+ const t = T(this.five, this.floorIndex, this.state.config.attachedTo), e = (s = this.five.model) == null ? void 0 : s.bounding.getCenter(new I.Vector3()).setY(t);
368
367
  if (!e)
369
368
  return;
370
- const i = e.clone().project(this.five.camera), n = (i.x + 1) / 2, h = -(i.y - 1) / 2;
371
- this.container.style.left = n * 100 + "%", this.container.style.top = h * 100 + "%";
369
+ const i = e.clone().project(this.five.camera), r = (i.x + 1) / 2, h = -(i.y - 1) / 2;
370
+ this.container.style.left = r * 100 + "%", this.container.style.top = h * 100 + "%";
372
371
  }
373
372
  formatData(t) {
374
373
  return u(this, null, function* () {
375
- return yield b(t.data);
374
+ return yield g(t.data);
376
375
  });
377
376
  }
378
377
  updateState(t, e) {
379
- const i = this.state, n = t.config ? c(c({}, i.config), t.config) : i.config;
380
- this.state = v(c(c({}, this.state), t), { config: n }), !F(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
378
+ const i = this.state, r = t.config ? c(c({}, i.config), t.config) : i.config;
379
+ this.state = v(c(c({}, this.state), t), { config: r }), !F(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
381
380
  }
382
381
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
383
382
  *
@@ -1,11 +1,9 @@
1
- import type * as THREE from 'three';
2
1
  import type { Five, Mode } from '@realsee/five';
3
2
  export interface ShowState {
4
3
  latitude: number;
5
4
  longitude: number;
6
5
  fov: number;
7
6
  mode: Mode;
8
- offset?: THREE.Vector3;
9
7
  }
10
8
  /** 判断当前状态是否可以展示户型图 */
11
9
  export declare function checkShowState(five: Five, showState: ShowState): boolean;
@@ -1,41 +1,41 @@
1
- var c = (e, r, o) => new Promise((d, a) => {
2
- var i = (t) => {
1
+ var m = (t, r, e) => new Promise((d, a) => {
2
+ var i = (o) => {
3
3
  try {
4
- u(o.next(t));
5
- } catch (f) {
6
- a(f);
4
+ u(e.next(o));
5
+ } catch (c) {
6
+ a(c);
7
7
  }
8
- }, n = (t) => {
8
+ }, n = (o) => {
9
9
  try {
10
- u(o.throw(t));
11
- } catch (f) {
12
- a(f);
10
+ u(e.throw(o));
11
+ } catch (c) {
12
+ a(c);
13
13
  }
14
- }, u = (t) => t.done ? d(t.value) : Promise.resolve(t.value).then(i, n);
15
- u((o = o.apply(e, r)).next());
14
+ }, u = (o) => o.done ? d(o.value) : Promise.resolve(o.value).then(i, n);
15
+ u((e = e.apply(t, r)).next());
16
16
  });
17
- import { to as l } from "../../shared-utils/to.js";
18
- import { FloorplanErrorType as m } from "./constant.js";
17
+ import { to as f } from "../../shared-utils/to.js";
18
+ import { FloorplanErrorType as l } from "./constant.js";
19
19
  import { nearlyEqual as s } from "../../shared-utils/nearlyEqual.js";
20
20
  import { changeMode as p } from "../../shared-utils/five/changeMode.js";
21
- function g(e, r) {
22
- if (e.currentMode !== r.mode)
21
+ function g(t, r) {
22
+ if (t.currentMode !== r.mode)
23
23
  return !1;
24
- const { latitude: o, longitude: d, fov: a, offset: i } = r, { latitude: n, longitude: u, offset: t } = e.getCurrentState(), f = e.camera.fov;
25
- return !(!s(o, n, 2) || !s(d, u, 2) || i !== void 0 && i.distanceTo(t) > 0.01 || a !== f);
24
+ const { latitude: e, longitude: d, fov: a } = r, { latitude: i, longitude: n } = t.getCurrentState(), u = t.camera.fov;
25
+ return !(!s(e, i, 2) || !s(d, n, 2) || a !== u);
26
26
  }
27
- function y(e, r, o = !0) {
28
- return c(this, null, function* () {
29
- if (g(e, r) === !0)
27
+ function F(t, r, e = !0) {
28
+ return m(this, null, function* () {
29
+ if (g(t, r) === !0)
30
30
  return;
31
- const a = e.getCurrentState();
31
+ const a = t.getCurrentState();
32
32
  if (a.mode !== r.mode) {
33
- const [M] = yield l(p(e, [r.mode, r, void 0, o]));
33
+ const [M] = yield f(p(t, [r.mode, r, void 0, e]));
34
34
  if (M)
35
- throw new Error(m.ChangeModeError);
35
+ throw new Error(l.ChangeModeError);
36
36
  return;
37
37
  }
38
- const { latitude: i, longitude: n, fov: u } = a, t = Math.min(
38
+ const { latitude: i, longitude: n, fov: u } = a, o = Math.min(
39
39
  1e3,
40
40
  Math.max(
41
41
  200,
@@ -43,12 +43,12 @@ function y(e, r, o = !0) {
43
43
  (n > Math.PI ? 2 * Math.PI - n : n) * 500,
44
44
  Math.abs(u - r.fov) * 10
45
45
  )
46
- ), [f] = yield l(e.updateCamera(r, t, o));
47
- if (f)
48
- throw new Error(m.UpdateCameraError);
46
+ ), [c] = yield f(t.updateCamera(r, o, e));
47
+ if (c)
48
+ throw new Error(l.UpdateCameraError);
49
49
  });
50
50
  }
51
51
  export {
52
52
  g as checkShowState,
53
- y as correctFiveState
53
+ F as correctFiveState
54
54
  };
package/libs/index.js CHANGED
@@ -14,7 +14,7 @@ import { PanoFloorplanRadarPlugin as te } from "./floorplan/PanoFloorplanRadarPl
14
14
  import { FLOOR_TYPE_MAP as me, ROOM_FETILE_TYPE_MAP as pe, ROOM_TYPE_MAP as ee } from "./floorplan/typings/floorplanServerData.js";
15
15
  import { ModelChassisCompassPlugin as le } from "./ModelChassisCompassPlugin/Plugin.js";
16
16
  import { ModelEntryDoorGuidePlugin as Pe } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
- import { CameraMovementPlugin as ue } from "./CameraMovementPlugin/CameraMovementPlugin.js";
17
+ import { CameraMovementPlugin as fe } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
18
  import { CameraMovementEffect as ge, Rotation as se } from "./CameraMovementPlugin/typing.js";
19
19
  import { PanoRulerPlugin as Me } from "./PanoRulerPlugin/Plugin.js";
20
20
  import { PanoRulerProPlugin as Le } from "./PanoRulerProPlugin/index.js";
@@ -32,7 +32,7 @@ import { PanoTagPlugin as He } from "./PanoTagPlugin/index.js";
32
32
  import { Object3DHelperPlugin as je } from "./Object3DHelperPlugin/index.js";
33
33
  import { PanoVideoPlugin as ke } from "./PanoVideoPlugin/index.js";
34
34
  import { PipelinePlugin as ze } from "./PipelinePlugin/index.js";
35
- import { AreaMakerPlugin as Ke } from "./AreaMakerPlugin/index.js";
35
+ import { AreaMakerPluginPlugin as Ke } from "./AreaMakerPlugin/index.js";
36
36
  import { index as We } from "./shared-utils/index.js";
37
37
  import { CSS3DRender as Ze } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
38
38
  import { Model as rn } from "./PanoMeasurePlugin/Model/index.js";
@@ -40,7 +40,7 @@ import { default as mn } from "./PanoMeasurePlugin/Model/point.js";
40
40
  import { default as en } from "./PanoMeasurePlugin/Model/line.js";
41
41
  import { Polyline as ln } from "./PanoMeasurePlugin/Model/polyline.js";
42
42
  import { default as Pn } from "./PanoMeasurePlugin/Modules/Magnifier.js";
43
- import { DISPLAY_STRATEGY_TYPE as un } from "./ModelItemLabelPlugin/typings.js";
43
+ import { DISPLAY_STRATEGY_TYPE as fn } from "./ModelItemLabelPlugin/typings.js";
44
44
  import { ModelItemLabelPlugin as gn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
45
45
  import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as dn } from "./ItemLabelPlugin/typings.js";
46
46
  import { Plugin as Tn } from "./ItemLabelPlugin/Plugin.js";
@@ -408,17 +408,17 @@ import "./shared-utils/three/getRaycaster.js";
408
408
  r();
409
409
  o();
410
410
  export {
411
- Ke as AreaMakerPlugin,
411
+ Ke as AreaMakerPluginPlugin,
412
412
  Ze as CSS3DRender,
413
413
  Hp as CSS3DRenderPlugin,
414
414
  ge as CameraMovementEffect,
415
- ue as CameraMovementPlugin,
415
+ fe as CameraMovementPlugin,
416
416
  Yn as ContentType,
417
417
  we as CruisePlugin,
418
418
  In as CruisePluginController,
419
419
  yn as CruisePluginTypes,
420
420
  be as DIRECTION,
421
- un as DISPLAY_STRATEGY_TYPE,
421
+ fn as DISPLAY_STRATEGY_TYPE,
422
422
  vn as DimensionType,
423
423
  Jp as FLOOR_PLAN_ATTACHED_TO,
424
424
  me as FLOOR_TYPE_MAP,
@@ -2,7 +2,6 @@ const e = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1;
2
2
  navigator.userAgent.toLowerCase().indexOf("android");
3
3
  const o = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, n = e && o;
4
4
  export {
5
- e as isIOS,
6
5
  n as isIOSWX,
7
6
  o as isWX
8
7
  };
@@ -1,51 +1,48 @@
1
- var f = (t, c, n) => new Promise((e, r) => {
1
+ var m = (e, c, t) => new Promise((r, n) => {
2
2
  var a = (o) => {
3
3
  try {
4
- u(n.next(o));
5
- } catch (s) {
6
- r(s);
4
+ s(t.next(o));
5
+ } catch (u) {
6
+ n(u);
7
7
  }
8
8
  }, i = (o) => {
9
9
  try {
10
- u(n.throw(o));
11
- } catch (s) {
12
- r(s);
10
+ s(t.throw(o));
11
+ } catch (u) {
12
+ n(u);
13
13
  }
14
- }, u = (o) => o.done ? e(o.value) : Promise.resolve(o.value).then(a, i);
15
- u((n = n.apply(t, c)).next());
14
+ }, s = (o) => o.done ? r(o.value) : Promise.resolve(o.value).then(a, i);
15
+ s((t = t.apply(e, c)).next());
16
16
  });
17
- import { nearlyEqual as d } from "../nearlyEqual.js";
18
- import { to as l } from "../to.js";
19
- function h(t) {
20
- return Object.prototype.toString.call(t) === "[object Object]";
21
- }
22
- function m(t) {
23
- return h(t) && !!t.isVector3;
24
- }
25
- function g(t, c) {
26
- return f(this, null, function* () {
27
- const [n] = yield l(t.changeMode(...c));
28
- if (n)
17
+ import { nearlyEqual as f } from "../nearlyEqual.js";
18
+ import { to as h } from "../to.js";
19
+ function y(e, c) {
20
+ return m(this, null, function* () {
21
+ const [t] = yield h(e.changeMode(...c));
22
+ if (t)
29
23
  throw new Error("change mode canceled");
30
24
  yield new Promise((i) => {
31
- t.once("initAnimationWillStart", () => {
32
- t.once("initAnimationEnded", () => i());
25
+ e.once("initAnimationWillStart", () => {
26
+ e.once("initAnimationEnded", () => i());
33
27
  });
34
28
  });
35
- const e = c[1];
36
- if (!e)
29
+ const r = c[1];
30
+ if (!r)
37
31
  return !0;
38
- const r = t.getCurrentState();
39
- if (!w(e, r))
32
+ const n = e.getCurrentState();
33
+ if (!w(r, n))
40
34
  throw new Error("pose 与预期不符");
41
35
  });
42
36
  }
43
- function w(t, c) {
44
- return Object.keys(t).every((n) => {
45
- const e = c[n], r = t[n];
46
- return e === void 0 || r === void 0 ? !0 : typeof e == "number" && typeof r == "number" ? d(e, r, 2) : m(r) && m(e) ? r.distanceTo(e) < 0.01 : e === r;
37
+ function w(e, c) {
38
+ return Object.keys(e).every((t) => {
39
+ const r = c[t];
40
+ if (r === void 0)
41
+ return !0;
42
+ const n = e[t];
43
+ return typeof r == "number" && typeof n == "number" ? f(r, n, 2) : r === n;
47
44
  });
48
45
  }
49
46
  export {
50
- g as changeMode
47
+ y as changeMode
51
48
  };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv2.27.4-2",
3
+ "%c %c@realsee/dnalogel %cv2.27.4",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
@@ -1,5 +1,5 @@
1
1
  import * as THREE from 'three';
2
- import { type Overwrite } from '../../typings/utils.type';
2
+ import type { Overwrite } from '../../typings/utils.type';
3
3
  export default function loadVideoTexture(src: string, videoElement?: HTMLVideoElement): Promise<Overwrite<THREE.VideoTexture, {
4
4
  image: HTMLVideoElement;
5
5
  }>>;
@@ -1,18 +1,18 @@
1
1
  import * as a from "three";
2
- import { isWX as d, isIOS as s } from "../device.js";
3
- function m(u, r) {
2
+ import { isWX as d } from "../device.js";
3
+ function c(i, r) {
4
4
  let n = !d;
5
5
  const e = r != null ? r : document.createElement("video");
6
6
  e.preload = "metadata", e.crossOrigin = "anonymous", e.muted = !0, e.loop = !0, e.playsInline = !0, e.autoplay = !0;
7
7
  const t = new a.VideoTexture(e);
8
- t.minFilter = a.LinearFilter, t.magFilter = a.LinearFilter, t.encoding = a.sRGBEncoding, t.metadataLoaded = !1, e.src = u;
8
+ t.minFilter = a.LinearFilter, t.magFilter = a.LinearFilter, t.encoding = a.sRGBEncoding, t.metadataLoaded = !1, e.src = i;
9
9
  const o = () => {
10
10
  t.metadataLoaded || (t.dispatchEvent({ type: "videoLoaded" }), t.metadataLoaded = !0);
11
11
  };
12
12
  if (d || (e.onloadedmetadata = () => {
13
13
  o();
14
14
  }), d) {
15
- const i = () => {
15
+ const u = () => {
16
16
  if (!n) {
17
17
  if (!e.paused) {
18
18
  o();
@@ -23,10 +23,10 @@ function m(u, r) {
23
23
  });
24
24
  }
25
25
  };
26
- document.addEventListener("click", i, { once: !0 }), s && document.addEventListener("touchstart", i, { once: !0 });
26
+ document.addEventListener("click", u, { once: !0 }), document.addEventListener("touchend", u, { once: !0 });
27
27
  }
28
28
  return t;
29
29
  }
30
30
  export {
31
- m as getVideoTexture
31
+ c as getVideoTexture
32
32
  };
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "2.27.4-2",
10
+ "version": "2.27.4",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
12
  "scripts": {
13
13
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
package/docs/.nojekyll DELETED
@@ -1 +0,0 @@
1
- TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.