@realsee/dnalogel 2.27.4-1 → 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 (346) hide show
  1. package/dist/floorplan/utils/correctFiveState.d.ts +0 -2
  2. package/dist/index.cjs.js +49 -49
  3. package/dist/index.js +2005 -2009
  4. package/dist/index.umd.js +41 -41
  5. package/dist/shared-utils/three/loadVideoTexture.d.ts +1 -1
  6. package/libs/base/BasePlugin.js +1 -1
  7. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +48 -49
  8. package/libs/floorplan/utils/correctFiveState.d.ts +0 -2
  9. package/libs/floorplan/utils/correctFiveState.js +28 -28
  10. package/libs/shared-utils/device.js +0 -1
  11. package/libs/shared-utils/five/changeMode.js +29 -32
  12. package/libs/shared-utils/logger.js +1 -1
  13. package/libs/shared-utils/three/loadVideoTexture.d.ts +1 -1
  14. package/libs/shared-utils/three/loadVideoTexture.js +6 -6
  15. package/package.json +1 -1
  16. package/docs/.nojekyll +0 -1
  17. package/docs/assets/highlight.css +0 -120
  18. package/docs/assets/main.js +0 -58
  19. package/docs/assets/search.js +0 -1
  20. package/docs/assets/style.css +0 -1367
  21. package/docs/classes/AreaMakerPluginPluginType.AreaMakerController.html +0 -711
  22. package/docs/classes/AreaMakerPluginPluginType.AreaMakerItem.html +0 -671
  23. package/docs/classes/CSS3DRender.html +0 -769
  24. package/docs/classes/CruisePluginController.html +0 -668
  25. package/docs/classes/GuideLineItem.GuideLineItem.html +0 -487
  26. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -788
  27. package/docs/classes/Magnifier.html +0 -476
  28. package/docs/classes/ModelRoomLabelController.html +0 -394
  29. package/docs/classes/Object3DHelperController.html +0 -636
  30. package/docs/classes/PaintBrush.html +0 -498
  31. package/docs/classes/PanoMeasurePluginLine.html +0 -518
  32. package/docs/classes/PanoMeasurePluginModel.html +0 -567
  33. package/docs/classes/PanoMeasurePluginPoint.html +0 -358
  34. package/docs/classes/PanoMeasurePluginPolyline.html +0 -563
  35. package/docs/classes/PanoTagPluginController.html +0 -1086
  36. package/docs/classes/Util.BetterTween.html +0 -411
  37. package/docs/classes/Util.Interval.html +0 -427
  38. package/docs/classes/Util.LineSegments.html +0 -379
  39. package/docs/classes/Util.Magnifier.html +0 -498
  40. package/docs/classes/Util.Object3D.html +0 -401
  41. package/docs/classes/Util.PointDomHelper.html +0 -402
  42. package/docs/classes/Util.PointHelper.html +0 -393
  43. package/docs/classes/Util.PointSelectorHelper.html +0 -449
  44. package/docs/classes/Util.Rectangle.html +0 -450
  45. package/docs/enums/CameraMovementEffect.html +0 -306
  46. package/docs/enums/ContentType.html +0 -442
  47. package/docs/enums/DIRECTION.html +0 -316
  48. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -316
  49. package/docs/enums/DimensionType.html +0 -306
  50. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -309
  51. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -316
  52. package/docs/enums/PaintBrushTypeEnum.html +0 -309
  53. package/docs/enums/PointType.html +0 -306
  54. package/docs/enums/Rotation.html +0 -313
  55. package/docs/functions/AreaMakerPluginPlugin.html +0 -284
  56. package/docs/functions/CSS3DRenderPlugin.html +0 -284
  57. package/docs/functions/CameraMovementPlugin.html +0 -289
  58. package/docs/functions/CruisePlugin.html +0 -286
  59. package/docs/functions/GuideLinePlugin.html +0 -286
  60. package/docs/functions/ItemLabelPlugin.html +0 -286
  61. package/docs/functions/MapviewFloorplanPlugin.html +0 -286
  62. package/docs/functions/ModelChassisCompassPlugin.html +0 -289
  63. package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -289
  64. package/docs/functions/ModelFloorplanPlugin.html +0 -286
  65. package/docs/functions/ModelItemLabelPlugin.html +0 -286
  66. package/docs/functions/ModelRoomLabelPlugin.html +0 -284
  67. package/docs/functions/ModelTVVideoPlugin.html +0 -286
  68. package/docs/functions/ModelViewPlugin.html +0 -289
  69. package/docs/functions/Object3DHelperPlugin.html +0 -284
  70. package/docs/functions/PanoCompassPlugin.html +0 -286
  71. package/docs/functions/PanoCursorRaycasterPlugin.html +0 -290
  72. package/docs/functions/PanoDoorLabelPlugin.html +0 -286
  73. package/docs/functions/PanoFloorplanRadarPlugin.html +0 -286
  74. package/docs/functions/PanoMeasurePlugin.html +0 -286
  75. package/docs/functions/PanoRulerPlugin.html +0 -289
  76. package/docs/functions/PanoRulerProPlugin.html +0 -289
  77. package/docs/functions/PanoSpatialTagPlugin.html +0 -289
  78. package/docs/functions/PanoTagPlugin.html +0 -291
  79. package/docs/functions/PanoVideoPlugin.html +0 -295
  80. package/docs/functions/PipelinePlugin.html +0 -284
  81. package/docs/functions/TopviewFloorplanPlugin.html +0 -286
  82. package/docs/functions/Util.absoluteUrl.html +0 -321
  83. package/docs/functions/Util.equal.html +0 -333
  84. package/docs/functions/Util.getCoordsFromClient.html +0 -323
  85. package/docs/functions/Util.getCoordsFromElement.html +0 -323
  86. package/docs/functions/Util.getFrameTime.html +0 -315
  87. package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -323
  88. package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -323
  89. package/docs/functions/Util.isAbsoluteURL.html +0 -316
  90. package/docs/functions/Util.isModelLike.html +0 -316
  91. package/docs/functions/Util.isNil.html +0 -324
  92. package/docs/functions/Util.isPanoramaLike.html +0 -316
  93. package/docs/functions/Util.nextFrame.html +0 -329
  94. package/docs/functions/Util.notNil.html +0 -324
  95. package/docs/functions/Util.requestAnimationFrameInterval.html +0 -345
  96. package/docs/functions/Util.tweenProgress.html +0 -318
  97. package/docs/functions/Util.uuid.html +0 -314
  98. package/docs/functions/pluginFlag.html +0 -284
  99. package/docs/index.html +0 -350
  100. package/docs/interfaces/AddTagConfig.html +0 -299
  101. package/docs/interfaces/AreaMakerPluginPluginType.AnimeOptions.html +0 -325
  102. package/docs/interfaces/AreaMakerPluginPluginType.Config.html +0 -330
  103. package/docs/interfaces/AreaMakerPluginPluginType.EventMap.html +0 -616
  104. package/docs/interfaces/AreaMakerPluginPluginType.Params.html +0 -329
  105. package/docs/interfaces/AreaMakerPluginPluginType.ServerAreaMakerItem.html +0 -379
  106. package/docs/interfaces/AreaMakerPluginPluginType.ServerAreaMakerItemV1.html +0 -364
  107. package/docs/interfaces/AreaMakerPluginPluginType.ServerDataV1.html +0 -329
  108. package/docs/interfaces/AreaMakerPluginPluginType.ServerDataV2.html +0 -322
  109. package/docs/interfaces/AreaMakerPluginPluginType.ShowHideOptions.html +0 -321
  110. package/docs/interfaces/AreaMakerPluginPluginType.State.html +0 -350
  111. package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -445
  112. package/docs/interfaces/CSS3DRenderPluginState.html +0 -321
  113. package/docs/interfaces/CameraMovementPluginExportType.html +0 -354
  114. package/docs/interfaces/CruisePluginTypes.Config.html +0 -355
  115. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -357
  116. package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -692
  117. package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -381
  118. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -417
  119. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -407
  120. package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -347
  121. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -315
  122. package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -404
  123. package/docs/interfaces/EventMap.html +0 -538
  124. package/docs/interfaces/FloorplanBounding.html +0 -328
  125. package/docs/interfaces/FloorplanData.html +0 -331
  126. package/docs/interfaces/FloorplanEntrance.html +0 -356
  127. package/docs/interfaces/FloorplanExtraObject.html +0 -346
  128. package/docs/interfaces/FloorplanExtraObject3D.html +0 -335
  129. package/docs/interfaces/FloorplanFloorData.html +0 -324
  130. package/docs/interfaces/FloorplanImagePosition.html +0 -310
  131. package/docs/interfaces/FloorplanObserver.html +0 -328
  132. package/docs/interfaces/FloorplanOutlineItem.html +0 -324
  133. package/docs/interfaces/FloorplanPosition.html +0 -310
  134. package/docs/interfaces/FloorplanRoomItem.html +0 -375
  135. package/docs/interfaces/FloorplanRoomLabelItem.html +0 -316
  136. package/docs/interfaces/FloorplanServerBounding.html +0 -328
  137. package/docs/interfaces/FloorplanServerComputedData.html +0 -327
  138. package/docs/interfaces/FloorplanServerData.html +0 -310
  139. package/docs/interfaces/FloorplanServerDoorItem.html +0 -327
  140. package/docs/interfaces/FloorplanServerDoorPosition.html +0 -313
  141. package/docs/interfaces/FloorplanServerEntrance.html +0 -356
  142. package/docs/interfaces/FloorplanServerFloorData.html +0 -324
  143. package/docs/interfaces/FloorplanServerImagePosition.html +0 -310
  144. package/docs/interfaces/FloorplanServerObserver.html +0 -328
  145. package/docs/interfaces/FloorplanServerOutlineItem.html +0 -324
  146. package/docs/interfaces/FloorplanServerPosition.html +0 -310
  147. package/docs/interfaces/FloorplanServerRoomItem.html +0 -387
  148. package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -316
  149. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -319
  150. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -357
  151. package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -521
  152. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -352
  153. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -343
  154. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -410
  155. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -342
  156. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -467
  157. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -339
  158. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -467
  159. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -304
  160. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -325
  161. package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -350
  162. package/docs/interfaces/GuideLinePluginType.Route.html +0 -366
  163. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -348
  164. package/docs/interfaces/HelperOffset.html +0 -328
  165. package/docs/interfaces/ImagePlaneGroup.html +0 -302
  166. package/docs/interfaces/ItemLabelPluginData.html +0 -299
  167. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -384
  168. package/docs/interfaces/ItemLabelPluginParametersType.html +0 -320
  169. package/docs/interfaces/MinMax.html +0 -306
  170. package/docs/interfaces/ModelChassisCompassPluginData.html +0 -306
  171. package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -342
  172. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -306
  173. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -313
  174. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -350
  175. package/docs/interfaces/ModelItemLabelPluginData.html +0 -299
  176. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -384
  177. package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -306
  178. package/docs/interfaces/ModelRoomLabelPluginData.html +0 -299
  179. package/docs/interfaces/ModelTVVideoPluginData.html +0 -320
  180. package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -344
  181. package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -299
  182. package/docs/interfaces/ModelViewPluginExportType.html +0 -412
  183. package/docs/interfaces/Object3DHelperState.html +0 -313
  184. package/docs/interfaces/ObjectHelperControllers.html +0 -320
  185. package/docs/interfaces/PaintBrushAction.html +0 -359
  186. package/docs/interfaces/PaintBrushConfigs.html +0 -357
  187. package/docs/interfaces/PaintBrushState.html +0 -341
  188. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -421
  189. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -278
  190. package/docs/interfaces/PanoMeasureParameterType.html +0 -445
  191. package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -313
  192. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -310
  193. package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -306
  194. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -316
  195. package/docs/interfaces/PanoRulerPluginExportType.html +0 -373
  196. package/docs/interfaces/PanoRulerPluginOptions.html +0 -322
  197. package/docs/interfaces/PanoRulerPluginParameterType.html +0 -313
  198. package/docs/interfaces/PanoRulerProPluginExportType.html +0 -349
  199. package/docs/interfaces/PanoRulerProPluginOptions.html +0 -319
  200. package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -306
  201. package/docs/interfaces/PanoRulerProPluginState.html +0 -313
  202. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -292
  203. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -281
  204. package/docs/interfaces/PanoSpatialTagPluginData.html +0 -349
  205. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -331
  206. package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -427
  207. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -327
  208. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -348
  209. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -334
  210. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -327
  211. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -319
  212. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -337
  213. package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -310
  214. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -416
  215. package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -310
  216. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -345
  217. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -364
  218. package/docs/interfaces/Point.html +0 -313
  219. package/docs/interfaces/Room.html +0 -320
  220. package/docs/interfaces/RoomInfo.html +0 -306
  221. package/docs/interfaces/RoomLabel.html +0 -382
  222. package/docs/interfaces/RoomRules.html +0 -281
  223. package/docs/interfaces/Rooms.html +0 -281
  224. package/docs/interfaces/Scissor.html +0 -340
  225. package/docs/interfaces/State.html +0 -327
  226. package/docs/interfaces/TagCacheInterface.html +0 -351
  227. package/docs/interfaces/TagConfig.html +0 -541
  228. package/docs/interfaces/TagGLTFObjectGroup.html +0 -302
  229. package/docs/interfaces/TagIconUrl.html +0 -359
  230. package/docs/interfaces/TagObjectGroup.html +0 -302
  231. package/docs/interfaces/TagStyle.html +0 -312
  232. package/docs/interfaces/Tags.html +0 -542
  233. package/docs/interfaces/TemporaryState.html +0 -299
  234. package/docs/interfaces/Util.MagnifierParameter.html +0 -386
  235. package/docs/interfaces/Util.MouseGroupParameter.html +0 -345
  236. package/docs/interfaces/Util.PointIntersection.html +0 -360
  237. package/docs/modules/AreaMakerPluginPluginType.html +0 -319
  238. package/docs/modules/CruisePluginTypes.html +0 -324
  239. package/docs/modules/GuideLineItem.html +0 -285
  240. package/docs/modules/GuideLineModeItem.html +0 -290
  241. package/docs/modules/GuideLinePluginType.html +0 -344
  242. package/docs/modules/PanoVideoPluginType.html +0 -297
  243. package/docs/modules/Util.html +0 -345
  244. package/docs/modules.html +0 -532
  245. package/docs/types/AreaMakerPluginPluginType.AreaMakerItemEventMap.html +0 -327
  246. package/docs/types/AreaMakerPluginPluginType.PluginData.html +0 -297
  247. package/docs/types/AreaMakerPluginPluginType.ServerData.html +0 -297
  248. package/docs/types/ArrayPosition.html +0 -275
  249. package/docs/types/AudioAppearance.html +0 -275
  250. package/docs/types/AudioTagTypeConfigKey.html +0 -275
  251. package/docs/types/CSS3DRenderExportType.html +0 -275
  252. package/docs/types/CSS3DRenderPluginExportType.html +0 -275
  253. package/docs/types/CSS3DRenderPluginParameterType.html +0 -275
  254. package/docs/types/ClassFunctionParameters.html +0 -282
  255. package/docs/types/Color.html +0 -275
  256. package/docs/types/ContentTypeConfigKey.html +0 -275
  257. package/docs/types/ContentTypeConfigKeySplit.html +0 -275
  258. package/docs/types/ContentTypeMap.html +0 -275
  259. package/docs/types/Create3DDomContainerReturnType.html +0 -275
  260. package/docs/types/Create3DElementReturnType.html +0 -275
  261. package/docs/types/CruisePluginExportType.html +0 -275
  262. package/docs/types/CruisePluginTypes.CruiseData.html +0 -314
  263. package/docs/types/CruisePluginTypes.MoveEffect.html +0 -291
  264. package/docs/types/DeprecatedMediaPlaneProperty.html +0 -287
  265. package/docs/types/DeprecatedTagProperty.html +0 -290
  266. package/docs/types/Direction-1.html +0 -275
  267. package/docs/types/Direction4.html +0 -275
  268. package/docs/types/ElementRenderer.html +0 -299
  269. package/docs/types/FloorplanRuleLabels.html +0 -278
  270. package/docs/types/FloorplanServerRuleLabels.html +0 -275
  271. package/docs/types/GuideLinePluginExportType.html +0 -275
  272. package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -347
  273. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -368
  274. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -301
  275. package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -304
  276. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -304
  277. package/docs/types/GuideLinePluginType.PathItem.html +0 -304
  278. package/docs/types/GuideLinePluginType.PluginData.html +0 -313
  279. package/docs/types/HelperEventMap.html +0 -513
  280. package/docs/types/LoadTagConfig.html +0 -275
  281. package/docs/types/MapviewFloorplanPluginParameterType.html +0 -275
  282. package/docs/types/MapviewFloorplanPluginReturnType.html +0 -275
  283. package/docs/types/MediaData.html +0 -291
  284. package/docs/types/MediaStore.html +0 -280
  285. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -282
  286. package/docs/types/ModelFloorplanPluginParameterType.html +0 -275
  287. package/docs/types/ModelFloorplanPluginReturnType.html +0 -275
  288. package/docs/types/ModelRoomLabelPluginParameters.html +0 -275
  289. package/docs/types/ModelRoomLabelPluginReturnType.html +0 -275
  290. package/docs/types/MoveArgs.html +0 -285
  291. package/docs/types/MoveOpts.html +0 -283
  292. package/docs/types/Object3DHelperEventMap.html +0 -368
  293. package/docs/types/ObjectFit.html +0 -275
  294. package/docs/types/PaintBrushEventMap.html +0 -306
  295. package/docs/types/PanoCompassPluginData.html +0 -275
  296. package/docs/types/PanoCompassPluginExportType.html +0 -275
  297. package/docs/types/PanoCompassPluginParameterType.html +0 -275
  298. package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -275
  299. package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -275
  300. package/docs/types/PanoIndex.html +0 -275
  301. package/docs/types/PanoMeasurePluginEvent.html +0 -275
  302. package/docs/types/PanoMeasureReturnType.html +0 -275
  303. package/docs/types/PanoSpatialTagPluginId.html +0 -275
  304. package/docs/types/PanoTagPluginExportInterface.html +0 -275
  305. package/docs/types/PanoTagPluginParamsInterface.html +0 -275
  306. package/docs/types/PanoVideoPluginParameterType.html +0 -275
  307. package/docs/types/PanoVideoPluginReturnType.html +0 -275
  308. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -283
  309. package/docs/types/PipelinePluginParameterType.html +0 -275
  310. package/docs/types/PipelinePluginReturnType.html +0 -275
  311. package/docs/types/PlaneTag.html +0 -283
  312. package/docs/types/Point2DTag.html +0 -283
  313. package/docs/types/Point3DTag.html +0 -283
  314. package/docs/types/PointTag.html +0 -280
  315. package/docs/types/PointTagInstance.html +0 -280
  316. package/docs/types/Position.html +0 -275
  317. package/docs/types/RotateArgs.html +0 -287
  318. package/docs/types/RotateOpts.html +0 -283
  319. package/docs/types/RuleLabelsKey.html +0 -275
  320. package/docs/types/RuleLabelsValue.html +0 -275
  321. package/docs/types/StickType.html +0 -275
  322. package/docs/types/Tag.html +0 -341
  323. package/docs/types/Tag2D.html +0 -283
  324. package/docs/types/Tag3D.html +0 -283
  325. package/docs/types/TagConfigByKey.html +0 -280
  326. package/docs/types/TagContentType.html +0 -275
  327. package/docs/types/TagDimensionType.html +0 -277
  328. package/docs/types/TagElement.html +0 -285
  329. package/docs/types/TagEvents.html +0 -328
  330. package/docs/types/TagGLTFObject.html +0 -298
  331. package/docs/types/TagHooks.html +0 -275
  332. package/docs/types/TagId.html +0 -275
  333. package/docs/types/TagInstance.html +0 -347
  334. package/docs/types/TagPointType.html +0 -278
  335. package/docs/types/TagRendererMap.html +0 -280
  336. package/docs/types/TopviewFloorplanPluginParameterType.html +0 -275
  337. package/docs/types/TopviewFloorplanPluginReturnType.html +0 -275
  338. package/docs/types/WorkCode.html +0 -275
  339. package/docs/variables/FLOOR_TYPE_MAP.html +0 -285
  340. package/docs/variables/PLUGIN.html +0 -275
  341. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -278
  342. package/docs/variables/ROOM_TYPE_MAP.html +0 -285
  343. package/docs/variables/defaultGlobalConfig.html +0 -275
  344. package/docs/variables/itemLabelPluginServerParams.html +0 -282
  345. package/docs/variables/modelItemLabelPluginServerParams.html +0 -282
  346. 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
  }>>;
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "2.27.4-1");
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
  };
@@ -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-1",
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-1",
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.
@@ -1,120 +0,0 @@
1
- :root {
2
- --light-hl-0: #795E26;
3
- --dark-hl-0: #DCDCAA;
4
- --light-hl-1: #000000;
5
- --dark-hl-1: #D4D4D4;
6
- --light-hl-2: #A31515;
7
- --dark-hl-2: #CE9178;
8
- --light-hl-3: #AF00DB;
9
- --dark-hl-3: #C586C0;
10
- --light-hl-4: #001080;
11
- --dark-hl-4: #9CDCFE;
12
- --light-hl-5: #0000FF;
13
- --dark-hl-5: #569CD6;
14
- --light-hl-6: #0070C1;
15
- --dark-hl-6: #4FC1FF;
16
- --light-hl-7: #008000;
17
- --dark-hl-7: #6A9955;
18
- --light-hl-8: #000000;
19
- --dark-hl-8: #C8C8C8;
20
- --light-hl-9: #811F3F;
21
- --dark-hl-9: #D16969;
22
- --light-hl-10: #EE0000;
23
- --dark-hl-10: #D7BA7D;
24
- --light-hl-11: #000000;
25
- --dark-hl-11: #D7BA7D;
26
- --light-hl-12: #EE0000;
27
- --dark-hl-12: #DCDCAA;
28
- --light-hl-13: #267F99;
29
- --dark-hl-13: #4EC9B0;
30
- --light-code-background: #FFFFFF;
31
- --dark-code-background: #1E1E1E;
32
- }
33
-
34
- @media (prefers-color-scheme: light) { :root {
35
- --hl-0: var(--light-hl-0);
36
- --hl-1: var(--light-hl-1);
37
- --hl-2: var(--light-hl-2);
38
- --hl-3: var(--light-hl-3);
39
- --hl-4: var(--light-hl-4);
40
- --hl-5: var(--light-hl-5);
41
- --hl-6: var(--light-hl-6);
42
- --hl-7: var(--light-hl-7);
43
- --hl-8: var(--light-hl-8);
44
- --hl-9: var(--light-hl-9);
45
- --hl-10: var(--light-hl-10);
46
- --hl-11: var(--light-hl-11);
47
- --hl-12: var(--light-hl-12);
48
- --hl-13: var(--light-hl-13);
49
- --code-background: var(--light-code-background);
50
- } }
51
-
52
- @media (prefers-color-scheme: dark) { :root {
53
- --hl-0: var(--dark-hl-0);
54
- --hl-1: var(--dark-hl-1);
55
- --hl-2: var(--dark-hl-2);
56
- --hl-3: var(--dark-hl-3);
57
- --hl-4: var(--dark-hl-4);
58
- --hl-5: var(--dark-hl-5);
59
- --hl-6: var(--dark-hl-6);
60
- --hl-7: var(--dark-hl-7);
61
- --hl-8: var(--dark-hl-8);
62
- --hl-9: var(--dark-hl-9);
63
- --hl-10: var(--dark-hl-10);
64
- --hl-11: var(--dark-hl-11);
65
- --hl-12: var(--dark-hl-12);
66
- --hl-13: var(--dark-hl-13);
67
- --code-background: var(--dark-code-background);
68
- } }
69
-
70
- :root[data-theme='light'] {
71
- --hl-0: var(--light-hl-0);
72
- --hl-1: var(--light-hl-1);
73
- --hl-2: var(--light-hl-2);
74
- --hl-3: var(--light-hl-3);
75
- --hl-4: var(--light-hl-4);
76
- --hl-5: var(--light-hl-5);
77
- --hl-6: var(--light-hl-6);
78
- --hl-7: var(--light-hl-7);
79
- --hl-8: var(--light-hl-8);
80
- --hl-9: var(--light-hl-9);
81
- --hl-10: var(--light-hl-10);
82
- --hl-11: var(--light-hl-11);
83
- --hl-12: var(--light-hl-12);
84
- --hl-13: var(--light-hl-13);
85
- --code-background: var(--light-code-background);
86
- }
87
-
88
- :root[data-theme='dark'] {
89
- --hl-0: var(--dark-hl-0);
90
- --hl-1: var(--dark-hl-1);
91
- --hl-2: var(--dark-hl-2);
92
- --hl-3: var(--dark-hl-3);
93
- --hl-4: var(--dark-hl-4);
94
- --hl-5: var(--dark-hl-5);
95
- --hl-6: var(--dark-hl-6);
96
- --hl-7: var(--dark-hl-7);
97
- --hl-8: var(--dark-hl-8);
98
- --hl-9: var(--dark-hl-9);
99
- --hl-10: var(--dark-hl-10);
100
- --hl-11: var(--dark-hl-11);
101
- --hl-12: var(--dark-hl-12);
102
- --hl-13: var(--dark-hl-13);
103
- --code-background: var(--dark-code-background);
104
- }
105
-
106
- .hl-0 { color: var(--hl-0); }
107
- .hl-1 { color: var(--hl-1); }
108
- .hl-2 { color: var(--hl-2); }
109
- .hl-3 { color: var(--hl-3); }
110
- .hl-4 { color: var(--hl-4); }
111
- .hl-5 { color: var(--hl-5); }
112
- .hl-6 { color: var(--hl-6); }
113
- .hl-7 { color: var(--hl-7); }
114
- .hl-8 { color: var(--hl-8); }
115
- .hl-9 { color: var(--hl-9); }
116
- .hl-10 { color: var(--hl-10); }
117
- .hl-11 { color: var(--hl-11); }
118
- .hl-12 { color: var(--hl-12); }
119
- .hl-13 { color: var(--hl-13); }
120
- pre, code { background: var(--code-background); }