@realsee/dnalogel 3.3.0-dev.2 → 3.3.0-dev.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 (353) hide show
  1. package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +4 -1
  2. package/dist/index.cjs.js +43 -43
  3. package/dist/index.js +1907 -1898
  4. package/dist/index.umd.js +41 -41
  5. package/dist/shared-utils/three/getIntersect.d.ts +2 -3
  6. package/dist/shared-utils/three/loadTexture.d.ts +5 -1
  7. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
  8. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
  9. package/docs/classes/CSS3DRender.html +30 -30
  10. package/docs/classes/CruisePluginController.html +25 -25
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +18 -18
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +40 -40
  13. package/docs/classes/Magnifier.html +19 -19
  14. package/docs/classes/ModelRoomLabelController.html +10 -10
  15. package/docs/classes/Object3DHelperController.html +24 -24
  16. package/docs/classes/PaintBrush.html +14 -14
  17. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  18. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  19. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  20. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  21. package/docs/classes/PanoTagPluginController.html +46 -46
  22. package/docs/classes/Util.BetterTween.html +8 -8
  23. package/docs/classes/Util.Interval.html +11 -11
  24. package/docs/classes/Util.LineSegments.html +7 -7
  25. package/docs/classes/Util.Magnifier.html +19 -19
  26. package/docs/classes/Util.Object3D.html +7 -7
  27. package/docs/classes/Util.PointDomHelper.html +10 -10
  28. package/docs/classes/Util.PointHelper.html +10 -10
  29. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  30. package/docs/classes/Util.Rectangle.html +12 -12
  31. package/docs/enums/CameraMovementEffect.html +6 -6
  32. package/docs/enums/ContentType.html +19 -19
  33. package/docs/enums/DIRECTION.html +8 -8
  34. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  35. package/docs/enums/DimensionType.html +6 -6
  36. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  37. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  38. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  39. package/docs/enums/PointType.html +6 -6
  40. package/docs/enums/Rotation.html +7 -7
  41. package/docs/functions/AreaMakerPlugin.html +4 -4
  42. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  43. package/docs/functions/CameraMovementPlugin.html +4 -4
  44. package/docs/functions/CruisePlugin.html +4 -4
  45. package/docs/functions/CurrentPanoImagePlugin.html +4 -4
  46. package/docs/functions/GuideLinePlugin.html +4 -4
  47. package/docs/functions/ItemLabelPlugin.html +4 -4
  48. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  49. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  50. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  51. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  52. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  53. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  54. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  55. package/docs/functions/ModelViewPlugin.html +4 -4
  56. package/docs/functions/Object3DHelperPlugin.html +4 -4
  57. package/docs/functions/PanoCompassPlugin.html +4 -4
  58. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  59. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  60. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  61. package/docs/functions/PanoMeasurePlugin.html +4 -4
  62. package/docs/functions/PanoRulerPlugin.html +4 -4
  63. package/docs/functions/PanoRulerProPlugin.html +4 -4
  64. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  65. package/docs/functions/PanoTagPlugin.html +4 -4
  66. package/docs/functions/PanoVideoPlugin.html +4 -4
  67. package/docs/functions/PipelinePlugin.html +4 -4
  68. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  69. package/docs/functions/Util.absoluteUrl.html +4 -4
  70. package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
  71. package/docs/functions/Util.equal.html +4 -4
  72. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  73. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  74. package/docs/functions/Util.getFrameTime.html +4 -4
  75. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  76. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  77. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  78. package/docs/functions/Util.isModelLike.html +4 -4
  79. package/docs/functions/Util.isNil.html +4 -4
  80. package/docs/functions/Util.isPanoramaLike.html +4 -4
  81. package/docs/functions/Util.nextFrame.html +4 -4
  82. package/docs/functions/Util.notNil.html +4 -4
  83. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  84. package/docs/functions/Util.tweenProgress.html +4 -4
  85. package/docs/functions/Util.uuid.html +4 -4
  86. package/docs/functions/pluginFlag.html +4 -4
  87. package/docs/index.html +4 -4
  88. package/docs/interfaces/AddTagConfig.html +5 -5
  89. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
  90. package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
  91. package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
  92. package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
  93. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
  94. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
  95. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
  96. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
  97. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
  98. package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
  99. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  100. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  101. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  102. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  103. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  104. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  105. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  106. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  107. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  108. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  109. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
  110. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  111. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
  112. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
  113. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
  114. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
  115. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
  116. package/docs/interfaces/EventMap.html +14 -14
  117. package/docs/interfaces/FloorplanBounding.html +7 -7
  118. package/docs/interfaces/FloorplanData.html +9 -9
  119. package/docs/interfaces/FloorplanEntrance.html +10 -10
  120. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  121. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  122. package/docs/interfaces/FloorplanFloorData.html +8 -8
  123. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  124. package/docs/interfaces/FloorplanObserver.html +8 -8
  125. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  126. package/docs/interfaces/FloorplanPosition.html +6 -6
  127. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  128. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  129. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  130. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  131. package/docs/interfaces/FloorplanServerData.html +6 -6
  132. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  133. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  134. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  135. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  136. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  137. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  138. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  139. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  140. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  141. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  142. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  143. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  144. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  145. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  146. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  147. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  148. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +5 -5
  149. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  150. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +18 -18
  151. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  152. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +18 -18
  153. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  154. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
  155. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  156. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  157. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  158. package/docs/interfaces/HelperOffset.html +7 -7
  159. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  160. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  161. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  162. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  163. package/docs/interfaces/MinMax.html +6 -6
  164. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  165. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  166. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  167. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  168. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  169. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  170. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  171. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  172. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  173. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  174. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  175. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  176. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  177. package/docs/interfaces/Object3DHelperState.html +7 -7
  178. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  179. package/docs/interfaces/PaintBrushAction.html +11 -11
  180. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  181. package/docs/interfaces/PaintBrushState.html +9 -9
  182. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  183. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  184. package/docs/interfaces/PanoMeasureParameterType.html +15 -15
  185. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  186. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  187. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  188. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  189. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  190. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  191. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  192. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  193. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  194. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  195. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  196. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  197. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  198. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  199. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  200. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  201. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  202. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  203. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  204. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  205. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  206. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  207. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  208. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  209. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  210. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  211. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  212. package/docs/interfaces/Point.html +7 -7
  213. package/docs/interfaces/Room.html +8 -8
  214. package/docs/interfaces/RoomInfo.html +6 -6
  215. package/docs/interfaces/RoomLabel.html +13 -13
  216. package/docs/interfaces/RoomRules.html +4 -4
  217. package/docs/interfaces/Rooms.html +4 -4
  218. package/docs/interfaces/Scissor.html +8 -8
  219. package/docs/interfaces/State.html +7 -7
  220. package/docs/interfaces/TagCacheInterface.html +11 -11
  221. package/docs/interfaces/TagConfig.html +13 -13
  222. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  223. package/docs/interfaces/TagIconUrl.html +11 -11
  224. package/docs/interfaces/TagObjectGroup.html +5 -5
  225. package/docs/interfaces/TagStyle.html +5 -5
  226. package/docs/interfaces/Tags.html +8 -8
  227. package/docs/interfaces/TemporaryState.html +5 -5
  228. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  229. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  230. package/docs/interfaces/Util.PointIntersection.html +7 -7
  231. package/docs/modules/AreaMakerPluginType.html +4 -4
  232. package/docs/modules/CruisePluginTypes.html +4 -4
  233. package/docs/modules/CurrentPanoImagePluginType.html +4 -4
  234. package/docs/modules/GuideLineItem.html +4 -4
  235. package/docs/modules/GuideLineModeItem.html +4 -4
  236. package/docs/modules/GuideLinePluginType.html +4 -4
  237. package/docs/modules/PanoVideoPluginType.html +4 -4
  238. package/docs/modules/Util.html +4 -4
  239. package/docs/modules.html +4 -4
  240. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
  241. package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
  242. package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
  243. package/docs/types/ArrayPosition.html +4 -4
  244. package/docs/types/AudioAppearance.html +4 -4
  245. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  246. package/docs/types/CSS3DRenderExportType.html +4 -4
  247. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  248. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  249. package/docs/types/ClassFunctionParameters.html +4 -4
  250. package/docs/types/Color.html +4 -4
  251. package/docs/types/ContentTypeConfigKey.html +4 -4
  252. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  253. package/docs/types/ContentTypeMap.html +4 -4
  254. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  255. package/docs/types/Create3DElementReturnType.html +4 -4
  256. package/docs/types/CruisePluginExportType.html +4 -4
  257. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  258. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  259. package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
  260. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  261. package/docs/types/DeprecatedTagProperty.html +4 -4
  262. package/docs/types/Direction-1.html +4 -4
  263. package/docs/types/Direction4.html +4 -4
  264. package/docs/types/ElementRenderer.html +4 -4
  265. package/docs/types/FloorplanRuleLabels.html +4 -4
  266. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  267. package/docs/types/GuideLinePluginExportType.html +4 -4
  268. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  269. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  270. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  271. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  272. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  273. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  274. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  275. package/docs/types/HelperEventMap.html +4 -4
  276. package/docs/types/LoadTagConfig.html +4 -4
  277. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  278. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  279. package/docs/types/MediaData.html +4 -4
  280. package/docs/types/MediaStore.html +4 -4
  281. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  282. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  283. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  284. package/docs/types/ModelId.html +4 -4
  285. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  286. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  287. package/docs/types/MoveArgs.html +4 -4
  288. package/docs/types/MoveOpts.html +4 -4
  289. package/docs/types/Object3DHelperEventMap.html +4 -4
  290. package/docs/types/ObjectFit.html +4 -4
  291. package/docs/types/PaintBrushEventMap.html +4 -4
  292. package/docs/types/PanoCompassPluginData.html +4 -4
  293. package/docs/types/PanoCompassPluginExportType.html +4 -4
  294. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  295. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  296. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  297. package/docs/types/PanoIndex.html +4 -4
  298. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  299. package/docs/types/PanoMeasureReturnType.html +4 -4
  300. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  301. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  302. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  303. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  304. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  305. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  306. package/docs/types/PipelinePluginParameterType.html +4 -4
  307. package/docs/types/PipelinePluginReturnType.html +4 -4
  308. package/docs/types/PlaneTag.html +4 -4
  309. package/docs/types/Point2DTag.html +4 -4
  310. package/docs/types/Point3DTag.html +4 -4
  311. package/docs/types/PointTag.html +4 -4
  312. package/docs/types/PointTagInstance.html +4 -4
  313. package/docs/types/Position.html +4 -4
  314. package/docs/types/RotateArgs.html +4 -4
  315. package/docs/types/RotateOpts.html +4 -4
  316. package/docs/types/RuleLabelsKey.html +4 -4
  317. package/docs/types/RuleLabelsValue.html +4 -4
  318. package/docs/types/StickType.html +4 -4
  319. package/docs/types/Tag.html +4 -4
  320. package/docs/types/Tag2D.html +4 -4
  321. package/docs/types/Tag3D.html +4 -4
  322. package/docs/types/TagConfigByKey.html +4 -4
  323. package/docs/types/TagContentType.html +4 -4
  324. package/docs/types/TagDimensionType.html +4 -4
  325. package/docs/types/TagElement.html +4 -4
  326. package/docs/types/TagEvents.html +4 -4
  327. package/docs/types/TagGLTFObject.html +4 -4
  328. package/docs/types/TagHooks.html +4 -4
  329. package/docs/types/TagId.html +4 -4
  330. package/docs/types/TagInstance.html +4 -4
  331. package/docs/types/TagPointType.html +4 -4
  332. package/docs/types/TagRendererMap.html +4 -4
  333. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  334. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  335. package/docs/types/WorkCode.html +4 -4
  336. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  337. package/docs/variables/PLUGIN.html +4 -4
  338. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  339. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  340. package/docs/variables/defaultGlobalConfig.html +4 -4
  341. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  342. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  343. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  344. package/libs/PanoTagPlugin/controller/index.js +1 -1
  345. package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +4 -1
  346. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +52 -57
  347. package/libs/PanoVideoPlugin/utils/shader.js +9 -3
  348. package/libs/base/BasePlugin.js +1 -1
  349. package/libs/shared-utils/logger.js +1 -1
  350. package/libs/shared-utils/three/getIntersect.d.ts +2 -3
  351. package/libs/shared-utils/three/loadTexture.d.ts +5 -1
  352. package/libs/shared-utils/three/loadTexture.js +28 -19
  353. package/package.json +2 -2
@@ -46,7 +46,10 @@ declare class VideoPlane extends MediaPlane {
46
46
  videoCoverSrc?: string;
47
47
  objectFit?: ObjectFit;
48
48
  videoTextureMap?: Map<Src, VideoTexture>;
49
- ImageTextureMap?: Map<Src, ImageTexture>;
49
+ ImageTextureMap?: Map<Src, {
50
+ texture: ImageTexture;
51
+ transparent: boolean;
52
+ }>;
50
53
  domEvents?: FiveDomEvents;
51
54
  });
52
55
  play(muted?: boolean): Promise<void>;
@@ -1,35 +1,35 @@
1
- var C = Object.defineProperty;
2
- var B = (c, d, e) => d in c ? C(c, d, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[d] = e;
3
- var r = (c, d, e) => (B(c, typeof d != "symbol" ? d + "" : d, e), e);
4
- var v = (c, d, e) => new Promise((i, t) => {
1
+ var F = Object.defineProperty;
2
+ var B = (c, h, e) => h in c ? F(c, h, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[h] = e;
3
+ var r = (c, h, e) => (B(c, typeof h != "symbol" ? h + "" : h, e), e);
4
+ var v = (c, h, e) => new Promise((i, t) => {
5
5
  var n = (s) => {
6
6
  try {
7
7
  o(e.next(s));
8
- } catch (a) {
9
- t(a);
8
+ } catch (u) {
9
+ t(u);
10
10
  }
11
- }, h = (s) => {
11
+ }, a = (s) => {
12
12
  try {
13
13
  o(e.throw(s));
14
- } catch (a) {
15
- t(a);
14
+ } catch (u) {
15
+ t(u);
16
16
  }
17
- }, o = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(n, h);
18
- o((e = e.apply(c, d)).next());
17
+ }, o = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(n, a);
18
+ o((e = e.apply(c, h)).next());
19
19
  });
20
- import * as p from "three";
21
- import { Vector3 as I } from "three";
22
- import { centerPoint as T } from "../../../shared-utils/three/centerPoint.js";
23
- import { loadTexture as b } from "../../../shared-utils/three/loadTexture.js";
24
- import { QuadrangleGeometry as L, QuadrangleMesh as w } from "../../../shared-utils/three/Quadrangle.js";
25
- import { getVideoTexture as V } from "../../../shared-utils/three/loadVideoTexture.js";
26
- import { Image_Play_Icon_With_Text as H, Image_Play_Icon as P } from "../../Assets/Icon.js";
27
- import { getPositionsByObjectFit as f } from "../../../shared-utils/three/getPositionsByObjectFit.js";
20
+ import * as I from "three";
21
+ import { Vector3 as w } from "three";
22
+ import { centerPoint as b } from "../../../shared-utils/three/centerPoint.js";
23
+ import { loadPicture as x } from "../../../shared-utils/three/loadTexture.js";
24
+ import { QuadrangleGeometry as V, QuadrangleMesh as P } from "../../../shared-utils/three/Quadrangle.js";
25
+ import { getVideoTexture as H } from "../../../shared-utils/three/loadVideoTexture.js";
26
+ import { Image_Play_Icon_With_Text as L, Image_Play_Icon as T } from "../../Assets/Icon.js";
27
+ import { getPositionsByObjectFit as g } from "../../../shared-utils/three/getPositionsByObjectFit.js";
28
28
  import { FragmentTransparencyMaterial as R } from "../../../shared-utils/three/FragmentTransparencyMaterial.js";
29
- import { getNormal as x } from "../../../shared-utils/three/getNormal.js";
29
+ import { getNormal as E } from "../../../shared-utils/three/getNormal.js";
30
30
  import "../../../shared-utils/math/pointIsRectangle.js";
31
31
  import "../../../shared-utils/device.js";
32
- class E extends p.Mesh {
32
+ class C extends I.Mesh {
33
33
  constructor() {
34
34
  super(...arguments);
35
35
  r(this, "name", "MediaPlane");
@@ -50,44 +50,42 @@ class E extends p.Mesh {
50
50
  });
51
51
  }
52
52
  }
53
- class $ extends E {
53
+ class $ extends C {
54
54
  constructor(e, i, t) {
55
55
  var o;
56
56
  super();
57
57
  r(this, "name", "PanoTagPluginImagePlane");
58
58
  this.src = e;
59
59
  const n = (o = t == null ? void 0 : t.resolveZFighting) != null ? o : !0;
60
- let h = i;
60
+ let a = i;
61
61
  if (n) {
62
- const s = x(i, 5e-4);
63
- h = i.map((a) => a.clone().add(s));
62
+ const s = E(i, 5e-4);
63
+ a = i.map((u) => u.clone().add(s));
64
64
  }
65
- b(e).then((s) => {
66
- var g;
67
- const a = new URL(e, location.href).pathname.toLowerCase().endsWith(".png");
68
- a && (s.minFilter = p.NearestFilter, s.magFilter = p.NearestFilter);
69
- const u = new p.MeshBasicMaterial({ map: s, transparent: a }), M = f(
70
- (g = t == null ? void 0 : t.objectFit) != null ? g : "contain",
71
- h,
65
+ x(e).then(({ texture: s, transparent: u }) => {
66
+ var p;
67
+ const M = new I.MeshBasicMaterial({ map: s, transparent: u }), d = g(
68
+ (p = t == null ? void 0 : t.objectFit) != null ? p : "contain",
69
+ a,
72
70
  s.image.width / s.image.height
73
- ), l = T(...M), m = M.map((F) => F.clone().sub(l)), y = new L(m);
74
- this.position.copy(l), this.geometry = y, this.material = u;
71
+ ), l = b(...d), m = d.map((y) => y.clone().sub(l)), f = new V(m);
72
+ this.position.copy(l), this.geometry = f, this.material = M;
75
73
  }).catch((s) => {
76
74
  console.error(`Imageplane error ${s == null ? void 0 : s.message}`);
77
75
  });
78
76
  }
79
77
  }
80
- class q extends E {
78
+ class q extends C {
81
79
  // eslint-disable-next-line max-params
82
80
  constructor(e, i, t) {
83
81
  const {
84
82
  videoCoverSrc: n,
85
- objectFit: h = "contain",
83
+ objectFit: a = "contain",
86
84
  playButton: o = "withText",
87
85
  paused: s = !0,
88
- videoTextureMap: a,
89
- ImageTextureMap: u,
90
- domEvents: M
86
+ videoTextureMap: u,
87
+ ImageTextureMap: M,
88
+ domEvents: d
91
89
  } = t != null ? t : {};
92
90
  super();
93
91
  r(this, "isVideoPlane", !0);
@@ -105,7 +103,7 @@ class q extends E {
105
103
  r(this, "buttonMesh");
106
104
  r(this, "videoTextureMap");
107
105
  r(this, "ImageTextureMap");
108
- this.cornerPoints = i, this.src = e, this.buttonSrc = (() => o === "withText" ? H : o === "withoutText" ? P : typeof o == "string" ? o : P)(), this.videoCoverSrc = n, this.objectFit = h, this.videoTextureMap = a, this.ImageTextureMap = u, this.domEvents = M, this.position.copy(T(...i)), this.videoCoverSrc && s ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
106
+ this.cornerPoints = i, this.src = e, this.buttonSrc = (() => o === "withText" ? L : o === "withoutText" ? T : typeof o == "string" ? o : T)(), this.videoCoverSrc = n, this.objectFit = a, this.videoTextureMap = u, this.ImageTextureMap = M, this.domEvents = d, this.position.copy(b(...i)), this.videoCoverSrc && s ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
109
107
  s ? this.addButtonMesh() : this.play(!0);
110
108
  }), this.addEventListener("removed", () => {
111
109
  this.remove(...this.children);
@@ -152,11 +150,8 @@ class q extends E {
152
150
  return this.coverMesh;
153
151
  if (!this.videoCoverSrc)
154
152
  return;
155
- const i = yield this.getImageTexture(this.videoCoverSrc);
156
- if (!i)
157
- return;
158
- const t = new p.MeshBasicMaterial({ transparent: !1, map: i }), n = f(this.objectFit, this.cornerPoints, i.image.width / i.image.height), h = new w(n, t);
159
- return h.position.copy(new I(0, 0, 0)), h.name = "videoCoverMesh", h;
153
+ const { texture: i, transparent: t } = yield this.getImageTexture(this.videoCoverSrc), n = new I.MeshBasicMaterial({ transparent: !1, map: i }), a = g(this.objectFit, this.cornerPoints, i.image.width / i.image.height), o = new P(a, n);
154
+ return o.position.copy(new w(0, 0, 0)), o.name = "videoCoverMesh", o;
160
155
  }))();
161
156
  return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
162
157
  });
@@ -170,13 +165,13 @@ class q extends E {
170
165
  return this.videoMesh;
171
166
  if (!this.src)
172
167
  return;
173
- const t = this.getVideoTexture(this.src), n = new p.MeshBasicMaterial({ transparent: !1, map: t }), h = yield new Promise((s) => {
174
- t.metadataLoaded ? s(f(this.objectFit, this.cornerPoints, t.image.videoWidth / t.image.videoHeight)) : t.addEventListener(
168
+ const t = this.getVideoTexture(this.src), n = new I.MeshBasicMaterial({ transparent: !1, map: t }), a = yield new Promise((s) => {
169
+ t.metadataLoaded ? s(g(this.objectFit, this.cornerPoints, t.image.videoWidth / t.image.videoHeight)) : t.addEventListener(
175
170
  "videoLoaded",
176
- () => s(f(this.objectFit, this.cornerPoints, t.image.videoWidth / t.image.videoHeight))
171
+ () => s(g(this.objectFit, this.cornerPoints, t.image.videoWidth / t.image.videoHeight))
177
172
  );
178
- }), o = new w(h, n);
179
- return o.name = "videoMesh", o.position.copy(new I(0, 0, 0)), o;
173
+ }), o = new P(a, n);
174
+ return o.name = "videoMesh", o.position.copy(new w(0, 0, 0)), o;
180
175
  }))();
181
176
  if (!e)
182
177
  return;
@@ -196,15 +191,15 @@ class q extends E {
196
191
  if (this.children.includes(this.buttonMesh))
197
192
  return;
198
193
  const e = yield (() => v(this, null, function* () {
199
- var l, m, y, g;
194
+ var m, f, p, y;
200
195
  if (this.buttonMesh)
201
196
  return this.buttonMesh;
202
- const i = (m = (l = this.videoMesh) == null ? void 0 : l.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? m : 1 / 0, t = (g = (y = this.coverMesh) == null ? void 0 : y.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? g : 1 / 0, n = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), o = Math.min(i, t, n) / n * 0.3, s = yield this.getImageTexture(this.buttonSrc), a = f("contain", this.cornerPoints, s.image.width / s.image.height), u = new w(a, new R(s));
203
- u.position.copy(new I(0, 0, 0)), u.name = "buttonMesh", u.scale.set(o, o, o), this.domEvents.addAutoBindEventListener(u, "click", () => {
197
+ const i = (f = (m = this.videoMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? f : 1 / 0, t = (y = (p = this.coverMesh) == null ? void 0 : p.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? y : 1 / 0, n = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), o = Math.min(i, t, n) / n * 0.3, { texture: s, transparent: u } = yield this.getImageTexture(this.buttonSrc), M = g("contain", this.cornerPoints, s.image.width / s.image.height), d = new P(M, new R(s));
198
+ d.position.copy(new w(0, 0, 0)), d.name = "buttonMesh", d.scale.set(o, o, o), this.domEvents.addAutoBindEventListener(d, "click", () => {
204
199
  this.play();
205
200
  });
206
- const M = x(a, 5e-4);
207
- return u.position.add(M), u;
201
+ const l = E(M, 5e-4);
202
+ return d.position.add(l), d;
208
203
  }))();
209
204
  return this.children.includes(this.buttonMesh) || (this.add(e), this.buttonMesh = e), e;
210
205
  });
@@ -214,7 +209,7 @@ class q extends E {
214
209
  var t, n;
215
210
  if ((t = this.ImageTextureMap) != null && t.has(e))
216
211
  return this.ImageTextureMap.get(e);
217
- const i = yield b(e);
212
+ const i = yield x(e);
218
213
  return (n = this.ImageTextureMap) == null || n.set(e, i), i;
219
214
  });
220
215
  }
@@ -222,7 +217,7 @@ class q extends E {
222
217
  var t, n;
223
218
  if ((t = this.videoTextureMap) != null && t.has(e))
224
219
  return this.videoTextureMap.get(e);
225
- const i = V(e);
220
+ const i = H(e);
226
221
  return (n = this.videoTextureMap) == null || n.set(e, i), i;
227
222
  }
228
223
  }
@@ -1,11 +1,16 @@
1
- const v = `
1
+ const v = (
2
+ /* glsl */
3
+ `
2
4
  varying vec2 vUv;
3
5
  void main() {
4
6
  vUv = uv;
5
7
  vec4 mvPosition = modelViewMatrix * vec4(position, 1);
6
8
  gl_Position = projectionMatrix * mvPosition;
7
9
  }
8
- `, a = `
10
+ `
11
+ ), a = (
12
+ /* glsl */
13
+ `
9
14
  uniform sampler2D map;
10
15
  uniform vec4 size;
11
16
  varying vec2 vUv;
@@ -18,7 +23,8 @@ void main() {
18
23
  float match = (1.0 - step(0.5, abs(uv.x - 0.5))) * (1.0 - step(0.5, abs(uv.y - 0.5))) * (transX < transY ? transX : transY);
19
24
  gl_FragColor = vec4(texture2D(map, uv).xyz, match);
20
25
  }
21
- `;
26
+ `
27
+ );
22
28
  export {
23
29
  a as fragmentShader,
24
30
  v as vertexShader
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.3.0-dev.2");
17
+ i(this, "VERSION", "3.3.0-dev.4");
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 %cv3.3.0-dev.2",
3
+ "%c %c@realsee/dnalogel %cv3.3.0-dev.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,6 +1,5 @@
1
- import * as THREE from 'three';
2
- import type { Five } from '@realsee/five';
1
+ import type { Five, Intersection } from '@realsee/five';
3
2
  export declare function getIntersectFromRelativePosition(five: Five, position: {
4
3
  x: number;
5
4
  y: number;
6
- }): THREE.Intersection;
5
+ }): Intersection;
@@ -1,2 +1,6 @@
1
1
  import * as THREE from 'three';
2
- export declare function loadTexture(url: string): Promise<THREE.Texture>;
2
+ export declare function loadTexture(uri: string): Promise<THREE.Texture>;
3
+ export declare function loadPicture(uri: string): Promise<{
4
+ texture: THREE.Texture;
5
+ transparent: boolean;
6
+ }>;
@@ -1,28 +1,37 @@
1
- var i = (r, n, o) => new Promise((s, a) => {
2
- var u = (e) => {
1
+ var s = (t, e, n) => new Promise((d, c) => {
2
+ var l = (r) => {
3
3
  try {
4
- t(o.next(e));
5
- } catch (d) {
6
- a(d);
4
+ o(n.next(r));
5
+ } catch (i) {
6
+ c(i);
7
7
  }
8
- }, m = (e) => {
8
+ }, h = (r) => {
9
9
  try {
10
- t(o.throw(e));
11
- } catch (d) {
12
- a(d);
10
+ o(n.throw(r));
11
+ } catch (i) {
12
+ c(i);
13
13
  }
14
- }, t = (e) => e.done ? s(e.value) : Promise.resolve(e.value).then(u, m);
15
- t((o = o.apply(r, n)).next());
14
+ }, o = (r) => r.done ? d(r.value) : Promise.resolve(r.value).then(l, h);
15
+ o((n = n.apply(t, e)).next());
16
16
  });
17
- import * as c from "three";
18
- const x = new c.TextureLoader();
19
- function T(r) {
20
- return i(this, null, function* () {
21
- return new Promise((n, o) => {
22
- x.load(r, n, void 0, o);
23
- }).then((n) => (n.encoding = c.sRGBEncoding, n));
17
+ import * as a from "three";
18
+ const m = new a.TextureLoader();
19
+ function p(t) {
20
+ return s(this, null, function* () {
21
+ return new Promise((e, n) => {
22
+ m.load(t, e, void 0, n);
23
+ }).then((e) => (e.encoding = a.sRGBEncoding, e));
24
+ });
25
+ }
26
+ function g(t) {
27
+ return s(this, null, function* () {
28
+ return p(t).then((e) => {
29
+ const n = t.startsWith("data:") ? t.includes("png") : new URL(t, location.href).pathname.toLowerCase().endsWith(".png");
30
+ return n && (e.minFilter = a.NearestFilter, e.magFilter = a.NearestFilter), { texture: e, transparent: n };
31
+ });
24
32
  });
25
33
  }
26
34
  export {
27
- T as loadTexture
35
+ g as loadPicture,
36
+ p as loadTexture
28
37
  };
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": "3.3.0-dev.2",
10
+ "version": "3.3.0-dev.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*",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "devDependencies": {
38
38
  "@babel/core": "^7.22.9",
39
- "@realsee/five": "6.0.0-alpha.24",
39
+ "@realsee/five": "6.0.0-alpha.34",
40
40
  "@sveltejs/vite-plugin-svelte": "^2.4.2",
41
41
  "@tsconfig/svelte": "^4.0.1",
42
42
  "@tweenjs/tween.js": "^20.0.3",