@realsee/dnalogel 2.28.1-1 → 2.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (345) hide show
  1. package/dist/AreaMakerPlugin/index.d.ts +1 -1
  2. package/dist/AreaMakerPlugin/utils/Item.d.ts +0 -2
  3. package/dist/index.cjs.js +4 -4
  4. package/dist/index.js +10 -12
  5. package/dist/index.umd.js +4 -4
  6. package/libs/AreaMakerPlugin/Controller.js +2 -2
  7. package/libs/AreaMakerPlugin/index.d.ts +1 -1
  8. package/libs/AreaMakerPlugin/index.js +3 -3
  9. package/libs/AreaMakerPlugin/utils/Item.d.ts +0 -2
  10. package/libs/AreaMakerPlugin/utils/Item.js +6 -10
  11. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +70 -68
  12. package/libs/base/BasePlugin.js +1 -1
  13. package/libs/shared-utils/logger.js +1 -1
  14. package/package.json +1 -1
  15. package/docs/.nojekyll +0 -1
  16. package/docs/assets/highlight.css +0 -120
  17. package/docs/assets/main.js +0 -58
  18. package/docs/assets/search.js +0 -1
  19. package/docs/assets/style.css +0 -1367
  20. package/docs/classes/AreaMakerPluginPluginType.AreaMakerController.html +0 -711
  21. package/docs/classes/AreaMakerPluginPluginType.AreaMakerItem.html +0 -671
  22. package/docs/classes/CSS3DRender.html +0 -769
  23. package/docs/classes/CruisePluginController.html +0 -668
  24. package/docs/classes/GuideLineItem.GuideLineItem.html +0 -487
  25. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -788
  26. package/docs/classes/Magnifier.html +0 -476
  27. package/docs/classes/ModelRoomLabelController.html +0 -394
  28. package/docs/classes/Object3DHelperController.html +0 -636
  29. package/docs/classes/PaintBrush.html +0 -498
  30. package/docs/classes/PanoMeasurePluginLine.html +0 -518
  31. package/docs/classes/PanoMeasurePluginModel.html +0 -567
  32. package/docs/classes/PanoMeasurePluginPoint.html +0 -358
  33. package/docs/classes/PanoMeasurePluginPolyline.html +0 -563
  34. package/docs/classes/PanoTagPluginController.html +0 -1086
  35. package/docs/classes/Util.BetterTween.html +0 -411
  36. package/docs/classes/Util.Interval.html +0 -427
  37. package/docs/classes/Util.LineSegments.html +0 -379
  38. package/docs/classes/Util.Magnifier.html +0 -498
  39. package/docs/classes/Util.Object3D.html +0 -401
  40. package/docs/classes/Util.PointDomHelper.html +0 -402
  41. package/docs/classes/Util.PointHelper.html +0 -393
  42. package/docs/classes/Util.PointSelectorHelper.html +0 -449
  43. package/docs/classes/Util.Rectangle.html +0 -450
  44. package/docs/enums/CameraMovementEffect.html +0 -306
  45. package/docs/enums/ContentType.html +0 -442
  46. package/docs/enums/DIRECTION.html +0 -316
  47. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -316
  48. package/docs/enums/DimensionType.html +0 -306
  49. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -309
  50. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -316
  51. package/docs/enums/PaintBrushTypeEnum.html +0 -309
  52. package/docs/enums/PointType.html +0 -306
  53. package/docs/enums/Rotation.html +0 -313
  54. package/docs/functions/AreaMakerPluginPlugin.html +0 -284
  55. package/docs/functions/CSS3DRenderPlugin.html +0 -284
  56. package/docs/functions/CameraMovementPlugin.html +0 -289
  57. package/docs/functions/CruisePlugin.html +0 -286
  58. package/docs/functions/GuideLinePlugin.html +0 -286
  59. package/docs/functions/ItemLabelPlugin.html +0 -286
  60. package/docs/functions/MapviewFloorplanPlugin.html +0 -286
  61. package/docs/functions/ModelChassisCompassPlugin.html +0 -289
  62. package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -289
  63. package/docs/functions/ModelFloorplanPlugin.html +0 -286
  64. package/docs/functions/ModelItemLabelPlugin.html +0 -286
  65. package/docs/functions/ModelRoomLabelPlugin.html +0 -284
  66. package/docs/functions/ModelTVVideoPlugin.html +0 -286
  67. package/docs/functions/ModelViewPlugin.html +0 -289
  68. package/docs/functions/Object3DHelperPlugin.html +0 -284
  69. package/docs/functions/PanoCompassPlugin.html +0 -286
  70. package/docs/functions/PanoCursorRaycasterPlugin.html +0 -290
  71. package/docs/functions/PanoDoorLabelPlugin.html +0 -286
  72. package/docs/functions/PanoFloorplanRadarPlugin.html +0 -286
  73. package/docs/functions/PanoMeasurePlugin.html +0 -286
  74. package/docs/functions/PanoRulerPlugin.html +0 -289
  75. package/docs/functions/PanoRulerProPlugin.html +0 -289
  76. package/docs/functions/PanoSpatialTagPlugin.html +0 -289
  77. package/docs/functions/PanoTagPlugin.html +0 -291
  78. package/docs/functions/PanoVideoPlugin.html +0 -295
  79. package/docs/functions/PipelinePlugin.html +0 -284
  80. package/docs/functions/TopviewFloorplanPlugin.html +0 -286
  81. package/docs/functions/Util.absoluteUrl.html +0 -321
  82. package/docs/functions/Util.equal.html +0 -333
  83. package/docs/functions/Util.getCoordsFromClient.html +0 -323
  84. package/docs/functions/Util.getCoordsFromElement.html +0 -323
  85. package/docs/functions/Util.getFrameTime.html +0 -315
  86. package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -323
  87. package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -323
  88. package/docs/functions/Util.isAbsoluteURL.html +0 -316
  89. package/docs/functions/Util.isModelLike.html +0 -316
  90. package/docs/functions/Util.isNil.html +0 -324
  91. package/docs/functions/Util.isPanoramaLike.html +0 -316
  92. package/docs/functions/Util.nextFrame.html +0 -329
  93. package/docs/functions/Util.notNil.html +0 -324
  94. package/docs/functions/Util.requestAnimationFrameInterval.html +0 -345
  95. package/docs/functions/Util.tweenProgress.html +0 -318
  96. package/docs/functions/Util.uuid.html +0 -314
  97. package/docs/functions/pluginFlag.html +0 -284
  98. package/docs/index.html +0 -350
  99. package/docs/interfaces/AddTagConfig.html +0 -299
  100. package/docs/interfaces/AreaMakerPluginPluginType.AnimeOptions.html +0 -325
  101. package/docs/interfaces/AreaMakerPluginPluginType.Config.html +0 -330
  102. package/docs/interfaces/AreaMakerPluginPluginType.EventMap.html +0 -616
  103. package/docs/interfaces/AreaMakerPluginPluginType.Params.html +0 -329
  104. package/docs/interfaces/AreaMakerPluginPluginType.ServerAreaMakerItem.html +0 -379
  105. package/docs/interfaces/AreaMakerPluginPluginType.ServerAreaMakerItemV1.html +0 -364
  106. package/docs/interfaces/AreaMakerPluginPluginType.ServerDataV1.html +0 -329
  107. package/docs/interfaces/AreaMakerPluginPluginType.ServerDataV2.html +0 -322
  108. package/docs/interfaces/AreaMakerPluginPluginType.ShowHideOptions.html +0 -321
  109. package/docs/interfaces/AreaMakerPluginPluginType.State.html +0 -350
  110. package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -445
  111. package/docs/interfaces/CSS3DRenderPluginState.html +0 -321
  112. package/docs/interfaces/CameraMovementPluginExportType.html +0 -354
  113. package/docs/interfaces/CruisePluginTypes.Config.html +0 -355
  114. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -357
  115. package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -692
  116. package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -381
  117. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -417
  118. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -407
  119. package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -347
  120. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -315
  121. package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -404
  122. package/docs/interfaces/EventMap.html +0 -538
  123. package/docs/interfaces/FloorplanBounding.html +0 -328
  124. package/docs/interfaces/FloorplanData.html +0 -331
  125. package/docs/interfaces/FloorplanEntrance.html +0 -356
  126. package/docs/interfaces/FloorplanExtraObject.html +0 -346
  127. package/docs/interfaces/FloorplanExtraObject3D.html +0 -335
  128. package/docs/interfaces/FloorplanFloorData.html +0 -324
  129. package/docs/interfaces/FloorplanImagePosition.html +0 -310
  130. package/docs/interfaces/FloorplanObserver.html +0 -328
  131. package/docs/interfaces/FloorplanOutlineItem.html +0 -324
  132. package/docs/interfaces/FloorplanPosition.html +0 -310
  133. package/docs/interfaces/FloorplanRoomItem.html +0 -375
  134. package/docs/interfaces/FloorplanRoomLabelItem.html +0 -316
  135. package/docs/interfaces/FloorplanServerBounding.html +0 -328
  136. package/docs/interfaces/FloorplanServerComputedData.html +0 -327
  137. package/docs/interfaces/FloorplanServerData.html +0 -310
  138. package/docs/interfaces/FloorplanServerDoorItem.html +0 -327
  139. package/docs/interfaces/FloorplanServerDoorPosition.html +0 -313
  140. package/docs/interfaces/FloorplanServerEntrance.html +0 -356
  141. package/docs/interfaces/FloorplanServerFloorData.html +0 -324
  142. package/docs/interfaces/FloorplanServerImagePosition.html +0 -310
  143. package/docs/interfaces/FloorplanServerObserver.html +0 -328
  144. package/docs/interfaces/FloorplanServerOutlineItem.html +0 -324
  145. package/docs/interfaces/FloorplanServerPosition.html +0 -310
  146. package/docs/interfaces/FloorplanServerRoomItem.html +0 -387
  147. package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -316
  148. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -319
  149. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -357
  150. package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -521
  151. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -352
  152. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -343
  153. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -410
  154. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -342
  155. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -467
  156. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -339
  157. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -467
  158. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -304
  159. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -325
  160. package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -350
  161. package/docs/interfaces/GuideLinePluginType.Route.html +0 -366
  162. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -348
  163. package/docs/interfaces/HelperOffset.html +0 -328
  164. package/docs/interfaces/ImagePlaneGroup.html +0 -302
  165. package/docs/interfaces/ItemLabelPluginData.html +0 -299
  166. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -384
  167. package/docs/interfaces/ItemLabelPluginParametersType.html +0 -320
  168. package/docs/interfaces/MinMax.html +0 -306
  169. package/docs/interfaces/ModelChassisCompassPluginData.html +0 -306
  170. package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -342
  171. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -306
  172. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -313
  173. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -350
  174. package/docs/interfaces/ModelItemLabelPluginData.html +0 -299
  175. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -384
  176. package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -306
  177. package/docs/interfaces/ModelRoomLabelPluginData.html +0 -299
  178. package/docs/interfaces/ModelTVVideoPluginData.html +0 -320
  179. package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -344
  180. package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -299
  181. package/docs/interfaces/ModelViewPluginExportType.html +0 -412
  182. package/docs/interfaces/Object3DHelperState.html +0 -313
  183. package/docs/interfaces/ObjectHelperControllers.html +0 -320
  184. package/docs/interfaces/PaintBrushAction.html +0 -359
  185. package/docs/interfaces/PaintBrushConfigs.html +0 -357
  186. package/docs/interfaces/PaintBrushState.html +0 -341
  187. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -421
  188. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -278
  189. package/docs/interfaces/PanoMeasureParameterType.html +0 -445
  190. package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -313
  191. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -310
  192. package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -306
  193. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -316
  194. package/docs/interfaces/PanoRulerPluginExportType.html +0 -373
  195. package/docs/interfaces/PanoRulerPluginOptions.html +0 -322
  196. package/docs/interfaces/PanoRulerPluginParameterType.html +0 -313
  197. package/docs/interfaces/PanoRulerProPluginExportType.html +0 -349
  198. package/docs/interfaces/PanoRulerProPluginOptions.html +0 -319
  199. package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -306
  200. package/docs/interfaces/PanoRulerProPluginState.html +0 -313
  201. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -292
  202. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -281
  203. package/docs/interfaces/PanoSpatialTagPluginData.html +0 -349
  204. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -331
  205. package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -427
  206. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -327
  207. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -348
  208. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -334
  209. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -327
  210. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -319
  211. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -337
  212. package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -310
  213. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -416
  214. package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -310
  215. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -345
  216. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -364
  217. package/docs/interfaces/Point.html +0 -313
  218. package/docs/interfaces/Room.html +0 -320
  219. package/docs/interfaces/RoomInfo.html +0 -306
  220. package/docs/interfaces/RoomLabel.html +0 -382
  221. package/docs/interfaces/RoomRules.html +0 -281
  222. package/docs/interfaces/Rooms.html +0 -281
  223. package/docs/interfaces/Scissor.html +0 -340
  224. package/docs/interfaces/State.html +0 -327
  225. package/docs/interfaces/TagCacheInterface.html +0 -351
  226. package/docs/interfaces/TagConfig.html +0 -541
  227. package/docs/interfaces/TagGLTFObjectGroup.html +0 -302
  228. package/docs/interfaces/TagIconUrl.html +0 -359
  229. package/docs/interfaces/TagObjectGroup.html +0 -302
  230. package/docs/interfaces/TagStyle.html +0 -312
  231. package/docs/interfaces/Tags.html +0 -542
  232. package/docs/interfaces/TemporaryState.html +0 -299
  233. package/docs/interfaces/Util.MagnifierParameter.html +0 -386
  234. package/docs/interfaces/Util.MouseGroupParameter.html +0 -345
  235. package/docs/interfaces/Util.PointIntersection.html +0 -360
  236. package/docs/modules/AreaMakerPluginPluginType.html +0 -319
  237. package/docs/modules/CruisePluginTypes.html +0 -324
  238. package/docs/modules/GuideLineItem.html +0 -285
  239. package/docs/modules/GuideLineModeItem.html +0 -290
  240. package/docs/modules/GuideLinePluginType.html +0 -344
  241. package/docs/modules/PanoVideoPluginType.html +0 -297
  242. package/docs/modules/Util.html +0 -345
  243. package/docs/modules.html +0 -532
  244. package/docs/types/AreaMakerPluginPluginType.AreaMakerItemEventMap.html +0 -327
  245. package/docs/types/AreaMakerPluginPluginType.PluginData.html +0 -297
  246. package/docs/types/AreaMakerPluginPluginType.ServerData.html +0 -297
  247. package/docs/types/ArrayPosition.html +0 -275
  248. package/docs/types/AudioAppearance.html +0 -275
  249. package/docs/types/AudioTagTypeConfigKey.html +0 -275
  250. package/docs/types/CSS3DRenderExportType.html +0 -275
  251. package/docs/types/CSS3DRenderPluginExportType.html +0 -275
  252. package/docs/types/CSS3DRenderPluginParameterType.html +0 -275
  253. package/docs/types/ClassFunctionParameters.html +0 -282
  254. package/docs/types/Color.html +0 -275
  255. package/docs/types/ContentTypeConfigKey.html +0 -275
  256. package/docs/types/ContentTypeConfigKeySplit.html +0 -275
  257. package/docs/types/ContentTypeMap.html +0 -275
  258. package/docs/types/Create3DDomContainerReturnType.html +0 -275
  259. package/docs/types/Create3DElementReturnType.html +0 -275
  260. package/docs/types/CruisePluginExportType.html +0 -275
  261. package/docs/types/CruisePluginTypes.CruiseData.html +0 -314
  262. package/docs/types/CruisePluginTypes.MoveEffect.html +0 -291
  263. package/docs/types/DeprecatedMediaPlaneProperty.html +0 -287
  264. package/docs/types/DeprecatedTagProperty.html +0 -290
  265. package/docs/types/Direction-1.html +0 -275
  266. package/docs/types/Direction4.html +0 -275
  267. package/docs/types/ElementRenderer.html +0 -299
  268. package/docs/types/FloorplanRuleLabels.html +0 -278
  269. package/docs/types/FloorplanServerRuleLabels.html +0 -275
  270. package/docs/types/GuideLinePluginExportType.html +0 -275
  271. package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -347
  272. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -368
  273. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -301
  274. package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -304
  275. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -304
  276. package/docs/types/GuideLinePluginType.PathItem.html +0 -304
  277. package/docs/types/GuideLinePluginType.PluginData.html +0 -313
  278. package/docs/types/HelperEventMap.html +0 -513
  279. package/docs/types/LoadTagConfig.html +0 -275
  280. package/docs/types/MapviewFloorplanPluginParameterType.html +0 -275
  281. package/docs/types/MapviewFloorplanPluginReturnType.html +0 -275
  282. package/docs/types/MediaData.html +0 -291
  283. package/docs/types/MediaStore.html +0 -280
  284. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -282
  285. package/docs/types/ModelFloorplanPluginParameterType.html +0 -275
  286. package/docs/types/ModelFloorplanPluginReturnType.html +0 -275
  287. package/docs/types/ModelRoomLabelPluginParameters.html +0 -275
  288. package/docs/types/ModelRoomLabelPluginReturnType.html +0 -275
  289. package/docs/types/MoveArgs.html +0 -285
  290. package/docs/types/MoveOpts.html +0 -283
  291. package/docs/types/Object3DHelperEventMap.html +0 -368
  292. package/docs/types/ObjectFit.html +0 -275
  293. package/docs/types/PaintBrushEventMap.html +0 -306
  294. package/docs/types/PanoCompassPluginData.html +0 -275
  295. package/docs/types/PanoCompassPluginExportType.html +0 -275
  296. package/docs/types/PanoCompassPluginParameterType.html +0 -275
  297. package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -275
  298. package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -275
  299. package/docs/types/PanoIndex.html +0 -275
  300. package/docs/types/PanoMeasurePluginEvent.html +0 -275
  301. package/docs/types/PanoMeasureReturnType.html +0 -275
  302. package/docs/types/PanoSpatialTagPluginId.html +0 -275
  303. package/docs/types/PanoTagPluginExportInterface.html +0 -275
  304. package/docs/types/PanoTagPluginParamsInterface.html +0 -275
  305. package/docs/types/PanoVideoPluginParameterType.html +0 -275
  306. package/docs/types/PanoVideoPluginReturnType.html +0 -275
  307. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -283
  308. package/docs/types/PipelinePluginParameterType.html +0 -275
  309. package/docs/types/PipelinePluginReturnType.html +0 -275
  310. package/docs/types/PlaneTag.html +0 -283
  311. package/docs/types/Point2DTag.html +0 -283
  312. package/docs/types/Point3DTag.html +0 -283
  313. package/docs/types/PointTag.html +0 -280
  314. package/docs/types/PointTagInstance.html +0 -280
  315. package/docs/types/Position.html +0 -275
  316. package/docs/types/RotateArgs.html +0 -287
  317. package/docs/types/RotateOpts.html +0 -283
  318. package/docs/types/RuleLabelsKey.html +0 -275
  319. package/docs/types/RuleLabelsValue.html +0 -275
  320. package/docs/types/StickType.html +0 -275
  321. package/docs/types/Tag.html +0 -341
  322. package/docs/types/Tag2D.html +0 -283
  323. package/docs/types/Tag3D.html +0 -283
  324. package/docs/types/TagConfigByKey.html +0 -280
  325. package/docs/types/TagContentType.html +0 -275
  326. package/docs/types/TagDimensionType.html +0 -277
  327. package/docs/types/TagElement.html +0 -285
  328. package/docs/types/TagEvents.html +0 -328
  329. package/docs/types/TagGLTFObject.html +0 -298
  330. package/docs/types/TagHooks.html +0 -275
  331. package/docs/types/TagId.html +0 -275
  332. package/docs/types/TagInstance.html +0 -347
  333. package/docs/types/TagPointType.html +0 -278
  334. package/docs/types/TagRendererMap.html +0 -280
  335. package/docs/types/TopviewFloorplanPluginParameterType.html +0 -275
  336. package/docs/types/TopviewFloorplanPluginReturnType.html +0 -275
  337. package/docs/types/WorkCode.html +0 -275
  338. package/docs/variables/FLOOR_TYPE_MAP.html +0 -285
  339. package/docs/variables/PLUGIN.html +0 -275
  340. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -278
  341. package/docs/variables/ROOM_TYPE_MAP.html +0 -285
  342. package/docs/variables/defaultGlobalConfig.html +0 -275
  343. package/docs/variables/itemLabelPluginServerParams.html +0 -282
  344. package/docs/variables/modelItemLabelPluginServerParams.html +0 -282
  345. package/docs/variables/modelRoomLabelPluginServerParams.html +0 -282
@@ -315,10 +315,10 @@ class ot extends k {
315
315
  this.state = d(d({}, this.state), t), this.hooks.emit("stateChange", { state: this.state, prevState: e, userAction: i });
316
316
  }
317
317
  _enable(t) {
318
- this.hooks.emit("enable", { userAction: t.userAction }), this.five.scene.add(this.modelGroup), this.updateChildrenMountedState(), this.five.needsRender = !0, this.five.on("wantsTapGesture", this.onWantsFiveTapGesture), this.five.on("initAnimationWillStart", this.onFiveInitAnimationWillStart), this.five.on("initAnimationEnded", this.onFiveInitAnimationEnded), this.five.on("modeChange", this.onFiveModeChange), this.five.on("cameraUpdate", this.onFiveCameraUpdate);
318
+ this.hooks.emit("enable", { userAction: t.userAction }), this.five.scene.add(this.modelGroup), this.five.needsRender = !0, this.five.on("wantsTapGesture", this.onWantsFiveTapGesture), this.five.on("initAnimationWillStart", this.onFiveInitAnimationWillStart), this.five.on("initAnimationEnded", this.onFiveInitAnimationEnded), this.five.on("modeChange", this.onFiveModeChange), this.five.on("cameraUpdate", this.onFiveCameraUpdate);
319
319
  }
320
320
  _disable(t) {
321
- this.hooks.emit("disable", { userAction: t.userAction }), this.five.scene.remove(this.modelGroup), this.updateChildrenMountedState(), this.five.needsRender = !0, this.five.off("wantsTapGesture", this.onWantsFiveTapGesture), this.five.off("initAnimationWillStart", this.onFiveInitAnimationWillStart), this.five.off("initAnimationEnded", this.onFiveInitAnimationEnded), this.five.off("modeChange", this.onFiveModeChange), this.five.off("cameraUpdate", this.onFiveCameraUpdate);
321
+ this.hooks.emit("disable", { userAction: t.userAction }), this.five.scene.remove(this.modelGroup), this.five.needsRender = !0, this.five.off("wantsTapGesture", this.onWantsFiveTapGesture), this.five.off("initAnimationWillStart", this.onFiveInitAnimationWillStart), this.five.off("initAnimationEnded", this.onFiveInitAnimationEnded), this.five.off("modeChange", this.onFiveModeChange), this.five.off("cameraUpdate", this.onFiveCameraUpdate);
322
322
  }
323
323
  _show(t) {
324
324
  return u(this, null, function* () {
@@ -1,4 +1,4 @@
1
1
  import type { Five } from '@realsee/five';
2
2
  import type * as AreaMakerPluginType from './typing';
3
- export declare const AreaMakerPlugin: (five: Five, params?: AreaMakerPluginType.Params) => AreaMakerPluginType.AreaMakerController;
3
+ export declare const AreaMakerPlugin: (five: Five) => AreaMakerPluginType.AreaMakerController;
4
4
  export type { AreaMakerPluginType };
@@ -1,4 +1,4 @@
1
- import { Controller as t } from "./Controller.js";
1
+ import { Controller as o } from "./Controller.js";
2
2
  import "three";
3
3
  import "../base/BasePluginWithData.js";
4
4
  import "../base/BasePlugin.js";
@@ -31,7 +31,7 @@ import "../components/AreaLabel/LabelItem.js";
31
31
  import "../vendor/svelte/internal/index.js";
32
32
  import "../components/AreaLabel/Assets/roomLabelBg.js";
33
33
  import "../shared-utils/math/planimetry.js";
34
- const I = (r, o) => new t(r, o);
34
+ const H = (r) => new o(r);
35
35
  export {
36
- I as AreaMakerPlugin
36
+ H as AreaMakerPlugin
37
37
  };
@@ -94,8 +94,6 @@ export declare class AreaMakerItem {
94
94
  private doOpacityAnime;
95
95
  /** 插件 Config 变化时更新自身 depthTest */
96
96
  private onPluginConfigChange;
97
- /** 插件整体可见性变化时,需要更新自身可见性 */
98
- private onPluginStateChange;
99
97
  /** 更新标注可见性 */
100
98
  private updateVisible;
101
99
  /** 检测标注是否可见 */
@@ -10,8 +10,8 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
10
10
  import { Object3D as b } from "../../shared-utils/three/core/Object3D.js";
11
11
  import { LineSegments as k } from "../../shared-utils/three/objects/LineSegments.js";
12
12
  import { BetterTween as y } from "../../shared-utils/animationFrame/BetterTween.js";
13
- import { LabelItem as T } from "../../components/AreaLabel/LabelItem.js";
14
- import { getCenterPointOfPoints as O } from "../../shared-utils/math/planimetry.js";
13
+ import { LabelItem as O } from "../../components/AreaLabel/LabelItem.js";
14
+ import { getCenterPointOfPoints as T } from "../../shared-utils/math/planimetry.js";
15
15
  import { Subscribe as C } from "../../shared-utils/Subscribe.js";
16
16
  import "../../shared-utils/positionToVector3.js";
17
17
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
@@ -129,10 +129,6 @@ class q {
129
129
  i(this, "onPluginConfigChange", (t) => {
130
130
  this.makerObject.material.depthTest = t.config.modelDepthTest, this.outline.material.depthTest = t.config.modelDepthTest, this.plugin.five.needsRender = !0;
131
131
  });
132
- /** 插件整体可见性变化时,需要更新自身可见性 */
133
- i(this, "onPluginStateChange", () => {
134
- this.updateVisible(), this.updateTagVisible();
135
- });
136
132
  /** 更新标注可见性 */
137
133
  i(this, "updateVisible", () => {
138
134
  const { result: t, msg: e } = this.checkVisible();
@@ -198,14 +194,14 @@ class q {
198
194
  transform: `translate(${this.tagTransform.left}px, ${this.tagTransform.top}px)`,
199
195
  onClick: (o) => this.hooks.emit("tagClick", { target: this, nativeEvent: o })
200
196
  };
201
- this.tagApp = new T({ target: e, props: s }), this.updateTag();
197
+ this.tagApp = new O({ target: e, props: s }), this.updateTag();
202
198
  }
203
- this.plugin.five.needsRender = !0, this.plugin.hooks.on("stateChange", this.onPluginStateChange), this.plugin.hooks.on("configChange", this.onPluginConfigChange), this.plugin.five.on("modeChange", this.updateVisible), this.plugin.five.on("modelShownFloorChange", this.updateVisible), this.plugin.five.on("cameraUpdate", this.onFiveCameraUpdate);
199
+ this.plugin.five.needsRender = !0, this.plugin.hooks.on("configChange", this.onPluginConfigChange), this.plugin.hooks.on("stateChange", this.updateVisible), this.plugin.five.on("modeChange", this.updateVisible), this.plugin.five.on("modelShownFloorChange", this.updateVisible), this.plugin.five.on("cameraUpdate", this.onFiveCameraUpdate);
204
200
  }
205
201
  /** 卸载标注 */
206
202
  unmount() {
207
203
  var t;
208
- this.mounted = !1, this.modelGroup.remove(...this.modelGroup.children), (t = this.tagApp) == null || t.$destroy(), this.tagApp = null, this.plugin.hooks.off("stateChange", this.onPluginStateChange), this.plugin.hooks.off("configChange", this.onPluginConfigChange), this.plugin.five.off("modeChange", this.updateVisible), this.plugin.five.off("modelShownFloorChange", this.updateVisible), this.plugin.five.off("cameraUpdate", this.onFiveCameraUpdate);
204
+ this.mounted = !1, this.modelGroup.remove(...this.modelGroup.children), (t = this.tagApp) == null || t.$destroy(), this.tagApp = null, this.plugin.hooks.off("configChange", this.onPluginConfigChange), this.plugin.hooks.off("stateChange", this.updateVisible), this.plugin.five.off("modeChange", this.updateVisible), this.plugin.five.off("modelShownFloorChange", this.updateVisible), this.plugin.five.off("cameraUpdate", this.onFiveCameraUpdate);
209
205
  }
210
206
  /** 更改标注透明度
211
207
  * @param opacity 标注透明度,范围:0-1
@@ -229,7 +225,7 @@ class q {
229
225
  if (t <= 0)
230
226
  throw new Error("高度必须大于 0");
231
227
  this.height = t, this.makerObject.geometry = u(this.shape, t), this.outline.geometry = new a.EdgesGeometry(this.makerObject.geometry);
232
- const e = this.shape.extractPoints(10).shape.slice(0, -1), s = O(e), o = new a.Vector3(s.x, s.y, t);
228
+ const e = this.shape.extractPoints(10).shape.slice(0, -1), s = T(e), o = new a.Vector3(s.x, s.y, t);
233
229
  g(o, this.bottomY), this.tagPosition.copy(o), this.updateTag(), this.plugin.five.needsRender = !0;
234
230
  }
235
231
  /** 更改标注标签的显示层级
@@ -1,34 +1,34 @@
1
1
  var E = Object.defineProperty;
2
- var C = (c, d, e) => d in c ? E(c, d, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[d] = e;
3
- var r = (c, d, e) => (C(c, typeof d != "symbol" ? d + "" : d, e), e);
4
- var v = (c, d, e) => new Promise((t, s) => {
5
- var o = (i) => {
2
+ var F = (u, d, e) => d in u ? E(u, d, { enumerable: !0, configurable: !0, writable: !0, value: e }) : u[d] = e;
3
+ var r = (u, d, e) => (F(u, typeof d != "symbol" ? d + "" : d, e), e);
4
+ var l = (u, d, e) => new Promise((t, i) => {
5
+ var o = (s) => {
6
6
  try {
7
- n(e.next(i));
7
+ n(e.next(s));
8
8
  } catch (h) {
9
- s(h);
9
+ i(h);
10
10
  }
11
- }, a = (i) => {
11
+ }, a = (s) => {
12
12
  try {
13
- n(e.throw(i));
13
+ n(e.throw(s));
14
14
  } catch (h) {
15
- s(h);
15
+ i(h);
16
16
  }
17
- }, n = (i) => i.done ? t(i.value) : Promise.resolve(i.value).then(o, a);
18
- n((e = e.apply(c, d)).next());
17
+ }, n = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(o, a);
18
+ n((e = e.apply(u, d)).next());
19
19
  });
20
- import * as l from "three";
21
- import { Vector3 as w } from "three";
22
- import { centerPoint as x } from "../../../shared-utils/three/centerPoint.js";
23
- import { loadTexture as T } from "../../../shared-utils/three/loadTexture.js";
24
- import { QuadrangleGeometry as F, QuadrangleMesh as I } from "../../../shared-utils/three/Quadrangle.js";
20
+ import * as c from "three";
21
+ import { Vector3 as y } from "three";
22
+ import { centerPoint as T } from "../../../shared-utils/three/centerPoint.js";
23
+ import { loadTexture as x } from "../../../shared-utils/three/loadTexture.js";
24
+ import { QuadrangleGeometry as C, QuadrangleMesh as I } from "../../../shared-utils/three/Quadrangle.js";
25
25
  import { getVideoTexture as B } from "../../../shared-utils/three/loadVideoTexture.js";
26
26
  import { Image_Play_Icon_With_Text as L, Image_Play_Icon as b } from "../../Assets/Icon.js";
27
27
  import { getPositionsByObjectFit as f } from "../../../shared-utils/three/getPositionsByObjectFit.js";
28
28
  import { FragmentTransparencyMaterial as H } from "../../../shared-utils/three/FragmentTransparencyMaterial.js";
29
29
  import "../../../shared-utils/math/pointIsRectangle.js";
30
30
  import "../../../shared-utils/device.js";
31
- class P extends l.Mesh {
31
+ class P extends c.Mesh {
32
32
  constructor() {
33
33
  super(...arguments);
34
34
  r(this, "name", "MediaPlane");
@@ -49,46 +49,48 @@ class P extends l.Mesh {
49
49
  });
50
50
  }
51
51
  }
52
- class G extends P {
53
- constructor(e, t, s) {
52
+ class Z extends P {
53
+ constructor(e, t, i) {
54
54
  var n;
55
55
  super();
56
56
  r(this, "name", "PanoTagPluginImagePlane");
57
57
  this.src = e;
58
- const o = (n = s == null ? void 0 : s.resolveZFighting) != null ? n : !0;
58
+ const o = (n = i == null ? void 0 : i.resolveZFighting) != null ? n : !0;
59
59
  let a = t;
60
60
  if (o) {
61
- const i = new l.Vector3().crossVectors(
62
- new l.Vector3().subVectors(t[0], t[1]),
63
- new l.Vector3().subVectors(t[0], t[3])
61
+ const s = new c.Vector3().crossVectors(
62
+ new c.Vector3().subVectors(t[0], t[1]),
63
+ new c.Vector3().subVectors(t[0], t[3])
64
64
  ).normalize().multiplyScalar(5e-4);
65
- a = t.map((h) => h.clone().add(i));
65
+ a = t.map((h) => h.clone().add(s));
66
66
  }
67
- T(e).then((i) => {
67
+ x(e).then((s) => {
68
68
  var g;
69
- const h = new URL(e, location.href).pathname.endsWith(".png"), u = new l.MeshBasicMaterial({ map: i, transparent: h }), p = f(
70
- (g = s == null ? void 0 : s.objectFit) != null ? g : "contain",
69
+ const h = new URL(e, location.href).pathname.toLowerCase().endsWith(".png");
70
+ h && (s.minFilter = c.NearestFilter, s.magFilter = c.NearestFilter);
71
+ const v = new c.MeshBasicMaterial({ map: s, transparent: h }), p = f(
72
+ (g = i == null ? void 0 : i.objectFit) != null ? g : "contain",
71
73
  a,
72
- i.image.width / i.image.height
73
- ), m = x(...p), M = p.map((V) => V.clone().sub(m)), y = new F(M);
74
- this.position.copy(m), this.geometry = y, this.material = u;
75
- }).catch((i) => {
76
- console.error(`Imageplane error ${i == null ? void 0 : i.message}`);
74
+ s.image.width / s.image.height
75
+ ), m = T(...p), M = p.map((V) => V.clone().sub(m)), w = new C(M);
76
+ this.position.copy(m), this.geometry = w, this.material = v;
77
+ }).catch((s) => {
78
+ console.error(`Imageplane error ${s == null ? void 0 : s.message}`);
77
79
  });
78
80
  }
79
81
  }
80
- class O extends P {
82
+ class G extends P {
81
83
  // eslint-disable-next-line max-params
82
- constructor(e, t, s) {
84
+ constructor(e, t, i) {
83
85
  const {
84
86
  videoCoverSrc: o,
85
87
  objectFit: a = "contain",
86
88
  playButton: n = "withText",
87
- paused: i = !0,
89
+ paused: s = !0,
88
90
  videoTextureMap: h,
89
- ImageTextureMap: u,
91
+ ImageTextureMap: v,
90
92
  domEvents: p
91
- } = s != null ? s : {};
93
+ } = i != null ? i : {};
92
94
  super();
93
95
  r(this, "isVideoPlane", !0);
94
96
  r(this, "name", "PanoTagPluginImagePlane");
@@ -105,8 +107,8 @@ class O extends P {
105
107
  r(this, "buttonMesh");
106
108
  r(this, "videoTextureMap");
107
109
  r(this, "ImageTextureMap");
108
- this.cornerPoints = t, this.src = e, this.buttonSrc = (() => n === "withText" ? L : n === "withoutText" ? b : typeof n == "string" ? n : b)(), this.videoCoverSrc = o, this.objectFit = a, this.videoTextureMap = h, this.ImageTextureMap = u, this.domEvents = p, this.position.copy(x(...t)), this.videoCoverSrc && i ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
109
- i ? this.addButtonMesh() : this.play(!0);
110
+ this.cornerPoints = t, this.src = e, this.buttonSrc = (() => n === "withText" ? L : n === "withoutText" ? b : typeof n == "string" ? n : b)(), this.videoCoverSrc = o, this.objectFit = a, this.videoTextureMap = h, this.ImageTextureMap = v, this.domEvents = p, this.position.copy(T(...t)), this.videoCoverSrc && s ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
111
+ s ? this.addButtonMesh() : this.play(!0);
110
112
  }), this.addEventListener("removed", () => {
111
113
  this.remove(...this.children);
112
114
  }), this.addEventListener("dispose", () => {
@@ -115,7 +117,7 @@ class O extends P {
115
117
  });
116
118
  }
117
119
  play(e = !1) {
118
- return v(this, null, function* () {
120
+ return l(this, null, function* () {
119
121
  this.videoMesh || (yield this.addVideoMesh()), this.showPlayUI(), this.videoInstance.paused && this.videoInstance.play().then(() => this.showPlayUI()).catch((t) => {
120
122
  this.pause(), console.error("play error", t);
121
123
  }), this.videoInstance.muted = e, this.render();
@@ -125,17 +127,17 @@ class O extends P {
125
127
  this.videoInstance && (this.videoInstance.pause(), this.showPauseUI().then(() => this.render()));
126
128
  }
127
129
  initialRenderHooks(e) {
128
- const s = e(() => {
130
+ const i = e(() => {
129
131
  var o;
130
132
  this.videoMesh && ((o = this.videoInstance) == null ? void 0 : o.paused) === !1 && (this.videoMesh.needsRender = !0);
131
133
  });
132
- this.disposers.push(() => s);
134
+ this.disposers.push(() => i);
133
135
  }
134
136
  showPlayUI() {
135
137
  this.coverMesh && (this.coverMesh.visible = !1), this.remove(this.buttonMesh), this.videoMesh.visible = !0;
136
138
  }
137
139
  showPauseUI() {
138
- return v(this, null, function* () {
140
+ return l(this, null, function* () {
139
141
  this.coverMesh ? (this.coverMesh.visible = !0, this.videoMesh && (this.videoMesh.visible = !1)) : (yield this.addCoverMesh(), this.coverMesh && (this.videoMesh.visible = !1)), this.addButtonMesh().then(() => this.render());
140
142
  });
141
143
  }
@@ -144,10 +146,10 @@ class O extends P {
144
146
  this.videoMesh && (this.videoMesh.needsRender = !0), this.coverMesh && (this.coverMesh.needsRender = !0), this.buttonMesh && (this.buttonMesh.needsRender = !0), this.videoMesh && ((e = this.videoInstance) == null ? void 0 : e.paused) === !1 && (this.videoMesh.needsRender = !0);
145
147
  }
146
148
  addCoverMesh() {
147
- return v(this, null, function* () {
149
+ return l(this, null, function* () {
148
150
  if (this.children.includes(this.coverMesh))
149
151
  return;
150
- const e = yield (() => v(this, null, function* () {
152
+ const e = yield (() => l(this, null, function* () {
151
153
  if (this.coverMesh)
152
154
  return this.coverMesh;
153
155
  if (!this.videoCoverSrc)
@@ -155,28 +157,28 @@ class O extends P {
155
157
  const t = yield this.getImageTexture(this.videoCoverSrc);
156
158
  if (!t)
157
159
  return;
158
- const s = new l.MeshBasicMaterial({ transparent: !1, map: t }), o = f(this.objectFit, this.cornerPoints, t.image.width / t.image.height), a = new I(o, s);
159
- return a.position.copy(new w(0, 0, 0)), a.name = "videoCoverMesh", a;
160
+ const i = new c.MeshBasicMaterial({ transparent: !1, map: t }), o = f(this.objectFit, this.cornerPoints, t.image.width / t.image.height), a = new I(o, i);
161
+ return a.position.copy(new y(0, 0, 0)), a.name = "videoCoverMesh", a;
160
162
  }))();
161
163
  return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
162
164
  });
163
165
  }
164
166
  addVideoMesh() {
165
- return v(this, null, function* () {
167
+ return l(this, null, function* () {
166
168
  if (this.children.includes(this.videoMesh))
167
169
  return;
168
- const e = yield (() => v(this, null, function* () {
170
+ const e = yield (() => l(this, null, function* () {
169
171
  if (this.videoMesh)
170
172
  return this.videoMesh;
171
173
  if (!this.src)
172
174
  return;
173
- const s = this.getVideoTexture(this.src), o = new l.MeshBasicMaterial({ transparent: !1, map: s }), a = yield new Promise((i) => {
174
- s.metadataLoaded ? i(f(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight)) : s.addEventListener(
175
+ const i = this.getVideoTexture(this.src), o = new c.MeshBasicMaterial({ transparent: !1, map: i }), a = yield new Promise((s) => {
176
+ i.metadataLoaded ? s(f(this.objectFit, this.cornerPoints, i.image.videoWidth / i.image.videoHeight)) : i.addEventListener(
175
177
  "videoLoaded",
176
- () => i(f(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight))
178
+ () => s(f(this.objectFit, this.cornerPoints, i.image.videoWidth / i.image.videoHeight))
177
179
  );
178
180
  }), n = new I(a, o);
179
- return n.name = "videoMesh", n.position.copy(new w(0, 0, 0)), n;
181
+ return n.name = "videoMesh", n.position.copy(new y(0, 0, 0)), n;
180
182
  }))();
181
183
  if (!e)
182
184
  return;
@@ -192,39 +194,39 @@ class O extends P {
192
194
  });
193
195
  }
194
196
  addButtonMesh() {
195
- return v(this, null, function* () {
197
+ return l(this, null, function* () {
196
198
  if (this.children.includes(this.buttonMesh))
197
199
  return;
198
- const e = yield (() => v(this, null, function* () {
199
- var m, M, y, g;
200
+ const e = yield (() => l(this, null, function* () {
201
+ var m, M, w, g;
200
202
  if (this.buttonMesh)
201
203
  return this.buttonMesh;
202
- const t = (M = (m = this.videoMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? M : 1 / 0, s = (g = (y = this.coverMesh) == null ? void 0 : y.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? g : 1 / 0, o = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), n = Math.min(t, s, o) / o * 0.3, i = yield this.getImageTexture(this.buttonSrc), h = f("contain", this.cornerPoints, i.image.width / i.image.height), u = new I(h, new H(i));
203
- u.position.copy(new w(0, 0, 0)), u.name = "buttonMesh", u.scale.set(n, n, n), this.domEvents.addAutoBindEventListener(u, "click", () => this.play());
204
- const p = new l.Vector3().crossVectors(new l.Vector3().subVectors(h[0], h[1]), new l.Vector3().subVectors(h[0], h[3])).normalize().multiplyScalar(1e-4);
205
- return u.position.add(p), u;
204
+ const t = (M = (m = this.videoMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? M : 1 / 0, i = (g = (w = this.coverMesh) == null ? void 0 : w.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? g : 1 / 0, o = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), n = Math.min(t, i, o) / o * 0.3, s = yield this.getImageTexture(this.buttonSrc), h = f("contain", this.cornerPoints, s.image.width / s.image.height), v = new I(h, new H(s));
205
+ v.position.copy(new y(0, 0, 0)), v.name = "buttonMesh", v.scale.set(n, n, n), this.domEvents.addAutoBindEventListener(v, "click", () => this.play());
206
+ const p = new c.Vector3().crossVectors(new c.Vector3().subVectors(h[0], h[1]), new c.Vector3().subVectors(h[0], h[3])).normalize().multiplyScalar(1e-4);
207
+ return v.position.add(p), v;
206
208
  }))();
207
209
  return this.children.includes(this.buttonMesh) || (this.add(e), this.buttonMesh = e), e;
208
210
  });
209
211
  }
210
212
  getImageTexture(e) {
211
- return v(this, null, function* () {
212
- var s, o;
213
- if ((s = this.ImageTextureMap) != null && s.has(e))
213
+ return l(this, null, function* () {
214
+ var i, o;
215
+ if ((i = this.ImageTextureMap) != null && i.has(e))
214
216
  return this.ImageTextureMap.get(e);
215
- const t = yield T(e);
217
+ const t = yield x(e);
216
218
  return (o = this.ImageTextureMap) == null || o.set(e, t), t;
217
219
  });
218
220
  }
219
221
  getVideoTexture(e) {
220
- var s, o;
221
- if ((s = this.videoTextureMap) != null && s.has(e))
222
+ var i, o;
223
+ if ((i = this.videoTextureMap) != null && i.has(e))
222
224
  return this.videoTextureMap.get(e);
223
225
  const t = B(e);
224
226
  return (o = this.videoTextureMap) == null || o.set(e, t), t;
225
227
  }
226
228
  }
227
229
  export {
228
- G as ImagePlane,
229
- O as VideoPlane
230
+ Z as ImagePlane,
231
+ G as VideoPlane
230
232
  };
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "2.28.1-1");
17
+ i(this, "VERSION", "2.28.1");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv2.28.1-1",
3
+ "%c %c@realsee/dnalogel %cv2.28.1",
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",
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.28.1-1",
10
+ "version": "2.28.1",
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); }